From ab44af0a359082ccf100f41e4cd4ad2b3dce6a04 Mon Sep 17 00:00:00 2001 From: Pranav Mathad Date: Sun, 29 Nov 2026 00:45:28 +0100 Subject: [PATCH 1/2] Replace the split figure in the spec with the measured one and keep 10 evidence lines per cell --- spec.md | 2 +- src/codexray/settings/report.yaml | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/spec.md b/spec.md index 7fa860dc..7d6acd6f 100644 --- a/spec.md +++ b/spec.md @@ -857,7 +857,7 @@ A two-point comparison at March 2025 is confounded. In Artemis, three planned re "Drift isn't automatically bad", so every structural change gets a label and its evidence: -1. **Same code, old layout.** Re-measure the newer snapshot using the older snapshot's module map. If most of the change disappears, it was a reorganisation. On Artemis's May 2026 split, exceptions per 1,000 lines rose 59% under the new layout and 5% under the old one. +1. **Same code, old layout.** Re-measure the newer snapshot using the older snapshot's module map, on two measures: exceptions per 1,000 lines and links between modules. If at least half of the change in one of them disappears, it was a reorganisation. From 2026-04-01 to 2026-07-01 Artemis went from 48 to 66 modules; links between modules went from 12,140 to 14,103 under the new layout (+16.2%) and to 12,677 under the old one (+4.4%), so 73% of that change disappears and the split counts as a reorganisation. Exceptions per 1,000 lines moved little under either layout: 0.153 to 0.141 under the new one (-8.3%) and 0.142 under the old one (-7.1%). 2. **Restructuring commits** flagged in Stage 1. 3. **Dated decision documents** that announce the change. Shopware has 59 written since March 2025. 4. **The stated goal of the pull request or issue** behind the change (R10). Job B reads it and says whether the structural change is a step toward that goal; the answer is labelled as AI and cites the pull request. diff --git a/src/codexray/settings/report.yaml b/src/codexray/settings/report.yaml index a68b9d55..8c6e9d61 100644 --- a/src/codexray/settings/report.yaml +++ b/src/codexray/settings/report.yaml @@ -42,9 +42,10 @@ titles: bundle: # Evidence lines kept per grid cell (one module using another). Every cited file is - # copied into the bundle, so this bounds its size. 3, as for a link change below: the - # count stays exact, and 10 cost 3.2, 1.1 and 3.1 MB more on Artemis, Shopware, Graylog. - max_refs_per_cell: 3 + # copied into the bundle, so this bounds its size. 10 against 3 cost 3.2, 1.1 and 3.1 + # MB more on Artemis, Shopware and Graylog, accepted so a reader sees more example + # lines per cell. + max_refs_per_cell: 10 # Evidence roles that mark a line as going against a decision, by their first word. offending_role_prefix: "offending" # Finding types whose offending lines count as exceptions in the node numbers. From ea9be5c2c564e2789ab34bd2c1e11eaf18b8a736 Mon Sep 17 00:00:00 2001 From: Pranav Mathad Date: Sun, 29 Nov 2026 01:19:03 +0100 Subject: [PATCH 2/2] Refresh the results and web bundles with 10 evidence lines per cell --- README.md | 6 +- results/artemis/findings.json | 438 +- results/artemis/manifest.json | 4 +- results/graylog/findings.json | 378 +- results/graylog/manifest.json | 4 +- results/shopware/findings.json | 358 +- results/shopware/manifest.json | 4 +- ...c77ef416526d5a5dedcb924e9b1784ad0fb70.json | 7 + ...444e656d2dbb021976ccd3d816faa8ef4f588.json | 7 + ...131323826882fdcde8033f32e52fcd5aa1825.json | 7 + ...56cee7bc55af9fd5dce07904f2e2dc86d912f.json | 7 + ...4a5b1d8e0676c953d23e70eefdc99493ccfda.json | 7 + ...77ed472f7bba98b9e71b4172681f6bac8a2d1.json | 7 + ...bfc69ffd07564bca432a4d648980e5622b754.json | 7 + ...a4f03e6bb414c7e13fe1e17aff8469886d0e1.json | 7 + ...21b5b3d754ce8a80129cf2d3788867a1e9e4f.json | 7 + ...a1dbed31d17a46ac2b1a01294a723814ba53e.json | 7 + ...b43c953811913d67407140b3c3349d602a41c.json | 7 + ...ffc8371ad628a345c6d9c1dffba72761a29a6.json | 7 + ...729d04e20aabe8fc0f9814626a6a2f2d6ed17.json | 7 + ...60341a913ba2203886f60ece995de70fadfb3.json | 7 + ...4acbccda83bb4dc5be01978ff6bc3abf2e32e.json | 7 + ...8c293c32e13ee94e1b593c232b723f41a7bd9.json | 7 + ...38d99e21f0805c67cb6ba5d9db875f03b0ca2.json | 7 + ...071cdc151f06e913c0190a9ef839ec875a8e5.json | 7 + ...df0cb3df8382f116da5cbe5962b34fdef9e85.json | 7 + ...7ff0b196ba8a1f59e5e088eb2aab4e4dedffb.json | 7 + ...e5837be09029e550c9cb5de80e0619e744c88.json | 7 + ...914ac92f86b3b485e34c179909f493de8393d.json | 7 + ...ad41b79c3876753a490fe61022a0a4ccb3d43.json | 7 + ...e320c9020fb98d2f6de65f86294973af86209.json | 7 + ...20d9986160193d762f51c050f778d95b0c7d6.json | 7 + ...70da5c39f8e92b41e2a60f217df4474a83969.json | 7 + ...a4bd8fb8a3846df2f4ac3867b12c670894c8a.json | 7 + ...e4f93958849b1edf05122b6778e2b0dda5b57.json | 7 + ...508ff4996bd9bf91f65d6ab377e76f96af031.json | 7 + ...3527b903ba4ef134c66b44caa96b2e2530e01.json | 7 + ...117dec606487dd73b74a6fbfd0b2b882afe61.json | 7 + ...7cbb1e3355799faa95d3ebc61f4ec47742dd5.json | 7 + ...ecac1c7b75606e36791c7b7b502235deef5b4.json | 7 + ...4e9774ae6bca268feb1f2bf17f666a4188203.json | 7 + ...f9a935331133ba7d367059b0ca98debf77dbb.json | 7 + ...27c9236b084ebbe2f5f3613372e742b08804b.json | 7 + ...35bae7eedd8d309130746bb3073acb6387bc6.json | 7 + ...60fc828cb476610557bdf3aae589495010501.json | 7 + ...a368ecbad5d54a4b4a8c8c488d85190c7dd01.json | 7 + ...161d2bf6c0ebb1ece56b65f29c7d35701c307.json | 7 + ...6807903307714867169251f9ead27f26d4ab4.json | 7 + ...aafc9791e2cc10754da2682e93587d865ec57.json | 7 + ...87c9629e0374771e9edd0db6fb24c2793fe27.json | 7 + ...a46952fba7608dda06b7f51131969b388c7df.json | 7 + ...d2620fa5496fe517f20ebf180d47593aaa4a9.json | 7 + ...7287490faaaf3df8407af58e31f4d69181f49.json | 7 + ...7dbced36afd845a30d79d8064ff1d20033daf.json | 7 + ...f76d31580e9c2a0188b6e00c8358bd0de9274.json | 7 + ...a20ba9a16b30bd936c4e38d8e676bf40db19d.json | 7 + ...496dd290bc0a78f0c1e184e58cff80b11014a.json | 7 + ...daf4cef2e43e3a3e5f6f0b70d06ab8dddf999.json | 7 + ...3c0ffc13f7ad7c74b1d6fda5908a83abebd7e.json | 7 + ...425b528f6c19b57eb22bf94e85f0adfee8c0b.json | 7 + ...9b5583e6a14cfb549eef1c917480690824214.json | 7 + ...00902b586f714eab4744f5f4c86c39260c20a.json | 7 + ...817b2533f1d315ba74cf1e82615d52f502070.json | 7 + ...84fc38c51387a82af74aff429ebe5ef3ed8c8.json | 7 + ...cfd6b91a710c9de3469feb68427a6405d263b.json | 7 + ...011697364f743e47227410195b63d2d892a31.json | 7 + ...45565153e69f7234e89ac604f6c3ee7c746ac.json | 7 + ...be7893b0c13d01e362ddcfc93ae2be60750ac.json | 7 + ...84f2aa424b9e76d274a01d6818d081201264b.json | 7 + ...53d4d986892d51ba4eab3837601e9193c33a3.json | 7 + ...ed6b7c0df626be045d8909a1a0ab255eabeca.json | 7 + ...f471dc03c60440957a96ae62610186418b4e7.json | 7 + ...8862b7cafbbdfe979eb7262be9f63454277d1.json | 7 + ...8d36209f2c1210aa45df737101eabef489e95.json | 7 + ...8f3e0c922d8e0e801f3b81780fd37ba7b9a33.json | 7 + ...40a6925a95cfe6fcdfd15c55b527140b4988d.json | 7 + ...ce22311608b4d1754208624fb7b10c7177f05.json | 7 + ...cf4f768f5bbe943ec2767dc5cbfc4bf482d66.json | 7 + ...35e779fb9845ec3c2a1f6dee186a284f19d2b.json | 7 + ...ecfe7679becc74defcea23b3af9bfd48ebe93.json | 7 + ...cbfe023a296578ae1c9dd6195b276dabf960b.json | 7 + ...4ad63f5ebf4429000f58bab4d824b194446c0.json | 7 + ...18ed65a2bca7d54945c92f11873a7f70fa23e.json | 7 + ...9d9a51fb1c821255e6f7e84ac7d0845f1637b.json | 7 + ...4863431831beea1753647f0ac026e18dab26c.json | 7 + ...984485b1a2358ab250a9c8c96c11c6ebf06f9.json | 7 + ...835acd24b4fefed7af6fd26e7906676136f5a.json | 7 + ...3353a809d778e59b5b59748d01098be332f1a.json | 7 + ...9c3f9c78f3075cab7919f8e77314d8fc10d92.json | 7 + ...7aac38b7d4953c35d80aa45c7268057a5621b.json | 7 + ...74047cfd0a4351d084408c4792d7561bd9170.json | 7 + ...1ce179b8d3e17d27b18ceef4595bbf518c15d.json | 7 + ...3fe4cc47e1d1eeaaf56c2296f52964ffdfc6b.json | 7 + ...fc80c1199aefb6a7eb16622fe377c2990b451.json | 7 + ...a4e698e0874ae5e3dc65bfb015b3c38ebdc9b.json | 7 + ...a753a97eb724e16694c90c0554c29fc1e9ec9.json | 7 + ...7aa97fdbe6744f90d890ed347f3be999a57e3.json | 7 + ...5184ae62bb7274e6012898b63c8071646ff81.json | 7 + ...49aa118295befbf17de810906cff8dfa156e4.json | 7 + ...e9cf9b64e111d5eed9fa83460583e1368d43f.json | 7 + ...bd59fe07e8973e3589e81b9c9b299ee081af3.json | 7 + ...f2f2b53925c97dd0ae20e92bf805c367c0c59.json | 7 + ...7367cd5ee1363f3daca536083880c4004a4a1.json | 7 + ...a3c1206d8e398d49a2f27fef71865846e6687.json | 7 + ...c9a3276324c073a4f7d558dc59c73461b143f.json | 7 + ...ec34da029c7d2cba62c3029aec7ba626a46d3.json | 7 + ...9ef34ee96b545d32dbdab364d5ad5e632c9c5.json | 7 + ...e887c47c9d830af677af11e3812176431a127.json | 7 + ...2ff14a5ed2b86ad5920e32b027cfe6c31a977.json | 7 + ...ac62eb859c3dd1db562e33c1b00889cb8b70e.json | 7 + ...98a227494a373853e53bcd4cead48cc983581.json | 7 + ...b8f2791d7aecf206527f2ae7fbc3035ceb0b7.json | 7 + ...cb5ce2de2f7f4403b41021fd1c38ef0ba4927.json | 7 + ...a8a86eeb25427f13bf98a17ec39c54f6bc0d0.json | 7 + ...68f8d206abc9d79d628139846ebfa5e2f6c35.json | 7 + ...d7b4ee914ee500080fcfc418ec83aceab7e6d.json | 7 + ...40703cb6a0df4e382c179be4cdd60c9655db4.json | 7 + ...b5bff49f8475e7ece884aa8e3d107a3654c4f.json | 7 + ...6e5ff740c05e979d4e7d44bcc513e9de80c21.json | 7 + ...053f26470f3537a68a86e6f59c3944e678a9a.json | 7 + ...0bc4522a2ef8f4f0cf8c841d98b7d4c0b84af.json | 7 + ...e1b03c43503455fd4efc7531bd2f6c562a4d4.json | 7 + ...587f99e306079ef194d9c17f7ce9da6651e0a.json | 7 + ...6e9e4ebf27c3eaac011b87b1d5649a45b999d.json | 7 + ...1db87aab40183c03048fbc0e8f4fd5f1b26fa.json | 7 + ...399b6172210dceb5d6fc5aac6045eb22e0b3c.json | 7 + ...e1885cad9c3bd0ad65f169d8a18d3e3bd5789.json | 7 + ...a38eac1d15c46b46ff069b181d02283b18e22.json | 7 + ...e4f434056ceed29f9a9124ff9f6d40da06563.json | 7 + ...6179152fc9184511a43bb07d67b9e183fe036.json | 7 + ...bdbb9ecb7fc569325c09206100b0fd9061dbe.json | 7 + ...13e5ac2538e30b1f5aae66dd623350d75c0ce.json | 7 + ...ecaa7ef13b0a2004a9c3adc6ca5f646a00bf0.json | 7 + ...79fd56b9b01d94a6d96fb0975df614a6eafb9.json | 7 + ...e17008fb10cf3b4ff4fde9ca78cb40b9d8aae.json | 7 + ...d26f9d14fd086505f0a6fb38aaa49d5790586.json | 7 + ...39f0ba0cc81552fe09569182614ad23c4772c.json | 7 + ...e94d168fceb2fe8ab2b8f4601b7cc0fb15ec5.json | 7 + ...edde689e043f8dc79b769d66e59d0a74cae34.json | 7 + ...3a7552d5cacb0ff88c54deba4e949e6ba2a2b.json | 7 + ...95fedcbc60c1e245c88155bdb17080d566b7b.json | 7 + ...ec32cb61dfa748427bbb8fe53c279c742dca6.json | 7 + ...0a60ff25db1ff163966216e8ee82e97d9640f.json | 7 + ...f9ce4774c692152e49c24161ddee50b10fb1d.json | 7 + ...73be8d77aeaf1396c617052b4704e658b2b3c.json | 7 + ...2e6d4f43951232bb9bfc4452f385fa070b5a8.json | 7 + ...5f53f2b8d457064a459472810fd8ef32be232.json | 7 + ...f924c245450536ca725081d6ab2a36d9c6a2b.json | 7 + ...bd008c8a2704e329e983f195250f346a53443.json | 7 + ...e3d417159ac32b6a7fcd10c14b77dc152f56f.json | 7 + ...9a6fbbe515ddd6fa1e8592372a425ad8d3de8.json | 7 + ...3fed0a8bd47d58f2120c701683399f32856ce.json | 7 + ...124811ac8f7b17229179f23d7236f8013301d.json | 7 + ...5861bb05acfd4aac4b5ae7a85a3a809c6ad4c.json | 7 + ...d72001958ce890ef3c983996cb1e1f48df341.json | 7 + ...8dca04ea1d7f1d45e887637dd0bb086df6c1c.json | 7 + ...fd7b1919ddce59ff00a6000d4a3394b500dbc.json | 7 + ...1f77ae4efa832e7ba79412d0d493ddd1347fc.json | 7 + ...db7bba72db30a2c367e20c3339fa8abcc40b1.json | 7 + ...0ef14dff642ac1ce88449604465856d30b259.json | 7 + ...840638381e321ac507fd939e5abcc4d8e6ca4.json | 7 + ...18d6296c76db480a4782aadc6a7d11fd5f200.json | 7 + ...2149d11e73b9621dae614ec781530569d9bcf.json | 7 + ...a3f1596f0cb219836c9556e970cec6d834170.json | 7 + ...b0b921af0f6af7ee80e5e797b41416f319f61.json | 7 + ...a380dfd85835621c6bfd70c417a4d34b7209d.json | 7 + ...e9f76938fff1efbe27d1e1889dace0afd5787.json | 7 + ...fb57ab98ca0b6cf53714a96698d27c57d2ff3.json | 7 + ...b4d42d44d51cb3996d14ff85dac5801169007.json | 7 + ...b24f56e5e50a8af01ee2561f82d5be55992b7.json | 7 + ...a2833c2c2280d2dc13b97ca91ea57b5e245b3.json | 7 + ...35cbce54d26b4db9e8c38ca0959e960cd61e4.json | 7 + ...f834712e40414d28bd5465f48b866d4cd61c5.json | 7 + ...b69a607559f8a3f061ea9e8a63bf14c949f51.json | 7 + ...6fe0ec6bb471eaae29915f8021a45450978ca.json | 7 + ...c908a735084e57fcf7706dc865cf7884c7c14.json | 7 + ...ee5b230e4a41f69e6511e497e907afe361d54.json | 7 + ...3a462e0e1d23260512891690d91dd28d7ec3c.json | 7 + ...c781ad97e57b02fd2efe4f33d0e5801bc760e.json | 7 + ...efc22ca8f3cf5d1946463f269b78622dcdcd4.json | 7 + ...efa5ca9bec1a819268ec8c8d320cc352feecb.json | 7 + ...02d406e2788aa8abbfb20f7368dd6867f4ebe.json | 7 + ...6a5f939c428bb5ae0784e313d2f63dec431f2.json | 7 + ...b39666a9c9478b97066fc58685fc288f8c340.json | 7 + ...2526a72a44cce9726d8cc9059fbccd9e0a8ae.json | 7 + ...c8320ae6c568a71c9d6ef84ec3cfa76bc3f2b.json | 7 + ...11250eb5c6938a1bd6313ec553b2f15bea7c5.json | 7 + ...fd5ca6f0c3b791262cf78af97adb83df4742d.json | 7 + ...28fd72db9526a0be75ed343c331ef0e152346.json | 7 + ...d07d77012db8a22c7aa1922fa5c045f14a998.json | 7 + ...fd6706d29951a065b50a92d907272b91c4d1c.json | 7 + ...5f1e9b57a2787cba7074d1329954ee74b8a6c.json | 7 + ...d0634eb061cf1f216b245906a1708788cbb9f.json | 7 + ...cf778d263bd992bf91f1ca305314c97601c93.json | 7 + ...70529422681993a67319c85f4356618cfc389.json | 7 + ...ecc49e852222a23773b9ed90cb6d39578e1b9.json | 7 + ...6f85ed30db8543bd0e151d452801cd8cfe4a8.json | 7 + ...b0b0958b5af06f1f692697fa9654ade80a639.json | 7 + ...abcfcf412208aa77cce4e4496a30fe11edafa.json | 7 + ...935332b4f5b0fce29119f024fb959fe31f9e1.json | 7 + ...8cfb857c671389389c3fc84b732b4d6bd105f.json | 7 + ...08dd284c76e0884a2a87b7c67655059c6f18a.json | 7 + ...c5299b306fba631e13515f5bcba34bf001eb8.json | 7 + ...00067bbbfeed59b609794144640eb2f98c944.json | 7 + ...7d0d34c6effb7ec2f380c3311e98cd417d3e9.json | 7 + ...1b93f9777e867405c741f9ac41bbc9ff9bc04.json | 7 + ...685c36db0c05d6c9ba4b8f7f155bf72808f6a.json | 7 + ...ac0f18473d95a1fe48e37cf24ab53227ad40d.json | 7 + ...20b59a7572bd217ea818c735bc97c46f5f233.json | 7 + ...3e43612563e49556a686f38fb718cbf8abd44.json | 7 + ...c3a95115652566ae5cd6b2f13294aadcb3da1.json | 7 + ...d3fc016010e4d0105fa8ae499e363cb9d69de.json | 7 + ...e31f89f0f336ef3719a7d0abcb80d3a8ebdba.json | 7 + ...99604909c5c135620aaf4c348536f92bd6899.json | 7 + ...2f9b97708e6ada577b000317ddec7d568bb31.json | 7 + ...6e28e6c8463df86e171dc125c3f253376d49a.json | 7 + ...b4b5c79b3ee22d2904f073a4668c948bd514a.json | 7 + ...8da7c1eba363622644a5f9642ec38043ae53f.json | 7 + ...0da78d8b0ca70613b0ea505b1ac9860719baa.json | 7 + ...29e1bc491fee78a9b68ab858415f7b90c8fa0.json | 7 + ...41d79b0339893b4e53f9af18bdd2f2f85c768.json | 7 + ...48e075b0d61de462a94e18d1a5ffb7a67d538.json | 7 + ...153e4b7ad9358945a8a5fb39a934a36ce4737.json | 7 + ...34ae4db31dfbd9f7142682125c251186ca2d2.json | 7 + ...5953927763cf389e85233abcdc1aca884fa58.json | 7 + ...d034c38be013a3de9f996dd362533f361a523.json | 7 + ...229f57fd4eb2e4393df8abefa985e9c220b2d.json | 7 + ...ca5e3b98e041719a2490237f1b2906bef4937.json | 7 + ...e255a87fb968e4c02d017f8b14eeec49130da.json | 7 + ...2e9e157e1f8c59e9edc4ec3d18bc68fc0412c.json | 7 + ...e4b745e3a2d0f25e37b20647b869fef8c04b7.json | 7 + ...f726752c5c0cd9885105e1b4e2b0010a7b8fb.json | 7 + ...12eeb5f9243784c618d1a9740b47a399a7f0e.json | 7 + ...af7ffd8d48905b019e1bb2f68a7e68dd87a70.json | 7 + ...8641ac53008df7d18fb4d504363ff3730d5ff.json | 7 + ...476d5c1edc66a768ed4e6665ae5a4b8a65afc.json | 7 + ...72cecad016b1cd1b4d1024f24201f67b85193.json | 7 + ...2455e9701cf28530618525001f9468e075e81.json | 7 + ...f7a29932605eab6f0f902421c056887a6726e.json | 7 + ...97ba14f1d9571caf70e6ad917c2686d1ab7ef.json | 7 + ...0929cb984af35fc99c15c1f71d8cb0be40499.json | 7 + ...0ee990e19ce5113452c2d7f3c9e7306b5c1e3.json | 7 + ...4118657a4b52e0b162f5c61b8dde9b2dc0879.json | 7 + ...aa4d44e8988352f2f3fd85919c67692d08238.json | 7 + ...127fe081102c406c734e7f761b357c78010b5.json | 7 + ...f3152191d41a393adedfd760b452d84ce9bf2.json | 7 + ...3972ea005b0969ceba37dc2a710e94250169c.json | 7 + ...62dcd08c45086300ae95d0812dbf315230fb9.json | 7 + ...959c32e32fd8f77e5b21e654f0c8312924dc7.json | 7 + ...496226a4fd922bd173ea51bee3fdaaac32a3f.json | 7 + ...84a21acbba585a8345fa8c00b160957078515.json | 7 + ...6ccf7a5a682bf00d1c1ca51ef42dd84928659.json | 7 + ...d60b6c3dcaf31e652c3d11784310efa65af2f.json | 7 + ...59dfdd0a598af7718ba2761f98b91f0d957c3.json | 7 + ...dffacdc090a6f16a714a850b7d050be5339ae.json | 7 + ...72996793c667df0ca1e5f9f4dc6a1d2166899.json | 7 + ...f07c876682f9ada0382be8400dd0346366749.json | 7 + ...645139793d1c1358af8150144179f7f928ef1.json | 7 + ...9cda407d56927f9c64f2d4e33ad37c2baffe9.json | 7 + ...527ed8e10bde1520ab8255b8a043a49bf34ea.json | 7 + ...645c9f831f92ea0e1afce40e263807d77660f.json | 7 + ...f9dd291fd6749199209ba149e3029a03183be.json | 7 + ...ef8277f4ef7c3bbc3f26bad89b54f699cd70e.json | 7 + ...18e910752f81eee5753b491527a43d026b0a1.json | 7 + ...f57573b1fcb021b491c5f40820e2c09c2151f.json | 7 + ...25a386381ce31a38e6dbe4d7878db87a59702.json | 7 + ...bf527a160fee149595b7ed86808259c759f3c.json | 7 + ...c83eaf20b35ff119060a0ca49c00f28662f5d.json | 7 + ...c4f9d3e38bc1ef7ea7aa1a3173c7b3844508a.json | 7 + ...22f8fa6723177dbf0e5e39af046fc3535f41c.json | 7 + ...6f43918ec723ae0056a9fd7e78db7a573fc65.json | 7 + ...b66d31337bdebc658368ff961767860d175b7.json | 7 + ...66f1b8064940e2ff3406d795018e4e57a1008.json | 7 + ...6fbfe1b5a7a3c55b599e465e6ee10a156f4dc.json | 7 + ...a1d74db28661f2246605185ecdb3016899ddf.json | 7 + ...4922c7ea7f86c4a509cec8e8dbdc41912cb74.json | 7 + ...d23de97c855ca6a191293a211a365a0747a84.json | 7 + ...58443b29ca7b48a4b6b5b84b0636cbed328e0.json | 7 + ...0cd3311d43a1242065a468cee3c3f7e7e0dc3.json | 7 + ...018bb668b789c8020b8d2c8a09b0b3e8f3c39.json | 7 + ...cbe66bedb2c74849ff6dbbd4226012bfc91b3.json | 7 + ...73e83f97d0b826d861ce5215def800b3076a2.json | 7 + ...5a93da9440da35d921450675d2c2ec8b99cd6.json | 7 + ...87850756d814eab564d202c13f51cfdc97984.json | 7 + ...75a419b3fb6d2db428d201c0fb2edb9062c4d.json | 7 + ...968b529c80d86b9e1f92f44ba7dfad4b0192e.json | 7 + ...e51d18087139d3c0beea319ea7139bfef0342.json | 7 + ...d36b771c9a646bfa42afc10c1110246d15bc4.json | 7 + ...f68367ebfb80391cc39a578f9eb1e17602cf3.json | 7 + ...483c2e50ffbf4ab13602cdd465b4d38578844.json | 7 + ...943323f2117e239709509d75a0b145157bccd.json | 7 + ...cc329040728b9f1e9e1f3e1a64ca094c0e13b.json | 7 + ...9b9e2701c61a4cff5d5ddce9d87d75951484e.json | 7 + ...7c0796f7a04d0726eb03155cc60c288d79d0e.json | 7 + ...67a62eb9e5e6cf8a44b6611f597f451ac46dc.json | 7 + ...f5fd13d7db3769d264bf97e13d365ef01d68a.json | 7 + ...0620232f18e60bc3a1487e733d512cb8eaaa6.json | 7 + ...0e47bf87dfc347434e285906d28ef52a5ac23.json | 7 + ...779dc8d0e952d5883754c4b66df098fcd0438.json | 7 + ...2b09fa3ed89d18afea98a0beecd8b0ff2d935.json | 7 + ...d69fb058cf2bd70ee90b7945e0273a9d6337a.json | 7 + ...6f33143f7c8eefee8f704546614d36e42c8e3.json | 7 + ...cdeddc4e7ff86c9b3352ef16415fcd91d31b7.json | 7 + ...ac5c2524d22eb32560015e8712e5fbacf4deb.json | 7 + ...06408b3ecf8ca9820d54d24704794d041f2b8.json | 7 + ...056d204949a5ca7232b3f05ab0c6da330d88a.json | 7 + ...d4c2bbd9a4ed2cffc9936a488f7217d8c0556.json | 7 + ...4f1e34620da2ba3c33ed1a1c2c3d937f9cccb.json | 7 + ...17e35d0c6c744e203a36660c553bc3c066abe.json | 7 + ...1f8892112ee0fe6ce574157e89e3f2164e3d5.json | 7 + ...d14d0c36c3d8739966b96acb7af1de7ae8125.json | 7 + ...0d614512e3947adcad753d32cbcf3e8b3cae4.json | 7 + ...0aabffde20b56b2527affa36aaf23741faf77.json | 7 + ...297bb639dd5d8fc2690fce3354067c482b5a0.json | 7 + ...9c67c0d1cadfda83cad05e076c864b9f73b35.json | 7 + ...be1ec00d5e121656ace58fc4f910244aeb297.json | 7 + ...c9c2e7ee9beb8508d8813f6e29674bf05e44c.json | 7 + ...cf4c447d2aa5710ebaa67fedfc56c137f012f.json | 7 + ...63add6daf0c7ca5365c51649b50b0c3f1a6d2.json | 7 + ...de7799ab9844fe08c7b7ab1eb37e9f23ec3c2.json | 7 + ...f59cbb7bde6f3c5a923489a51c93a70141b63.json | 7 + ...331ea6caa0d379561a5b683cbdeb3fe8f5ce1.json | 7 + ...0d906c3a1c719f8cb6e9c5dfd0b3ba01a2d51.json | 7 + ...bd1d35a0763a2a07c094ecf3607c5703d515d.json | 7 + ...a5c7aa605b9ecfbc2541b0a47a508b1092db3.json | 7 + ...d2de71dea039371e0c5b7d5280561300113dc.json | 7 + ...5e9f95eccb7632b431807953c17750b65e139.json | 7 + ...65ef296e3e3839ba0746fe4d107c3a10423d8.json | 7 + ...9ddc435f7831a07e2d0e8f30ee5a19a8de0a0.json | 7 + ...b4d896cbed9e9fbcb51a40ce10bf3fcc52fbe.json | 7 + ...083e1b0a8135ff529ac448c10e4596d65a6ee.json | 7 + ...9f983dcaad12550526d0b47490ee2238a96d3.json | 7 + ...9b75e55a974e604b3673b464733e19cc46bef.json | 7 + ...f64505c0b63725753fd213f139eca397604cb.json | 7 + ...5e457abd07d87b1f25c15a962860e87ff3fad.json | 7 + ...966452fef1da9517e6cb5aff8f66aeca8b065.json | 7 + ...27d0b96dd0b7681a2c484eb19dea6c05b8049.json | 7 + ...7f35a842949f4d3992c3d0c9e67d7783eebf7.json | 7 + ...6d72cf721b8fce5806b6db17044efbaf15db5.json | 7 + ...62a37b1507df654b5d14da12560b6e1bb5744.json | 7 + ...c1d801843d03b67d81823e24ef11fbadc693c.json | 7 + ...ab9ddbc601b5d9af7db702921cc6230f73c7c.json | 7 + ...09cef7ef0144d86b2cd034dccd9a566851075.json | 7 + ...0a356539fa0d4a11c66be12aae77e602ed9a5.json | 7 + ...eeee76cf5a9a9fe1ad696e53c9a49c6f05a08.json | 7 + ...38aa65e70c89e9ff0b28068f9876ccd12ac16.json | 7 + ...6ca7637023dcb542cbf18c9ed4fa3ba2a5b9c.json | 7 + ...a8e10cbb05ed9e1a79982e491ecfa0eb5816d.json | 7 + ...cb05185ae15c5656bdc4a65e67f4e42ac51a7.json | 7 + ...8eec837797c5f82717c96a536fe57a4614f98.json | 7 + ...b3dd95a4039d4db2cb777e3f9953222d5f367.json | 7 + ...008b726b0323c0a830de3d9cf798e43d32d6f.json | 7 + ...5a0d5080cddad71d021be32ffc0b1e42216b4.json | 7 + ...f9f24289b5e343afba8e92ad5c25071794ffe.json | 7 + ...c5901e85f7295fdd6166b6e87144546a6e1cd.json | 7 + ...d7112c6cd74dd249ad98817a5e9686598f3fd.json | 7 + ...7ee4ca7cace6c531eb40d2778b59be8acae69.json | 7 + ...df2d7ceedb62029127f61d66339bfe9f6a244.json | 7 + ...3db981ecf471365de85b3d09c9659b2d3e1ba.json | 7 + ...39a40cc4ab29fc8222fcc0b6d1c3f4e6d88d8.json | 7 + ...ff1376d5a09f32664fe863ecbccba4153b5ea.json | 7 + ...089d4cb99968b3a8a8555b61d57182bc8be1c.json | 7 + ...f51239fca8224a521fcb466c6ac10ffc05bc3.json | 7 + ...0af4b1d50a83ddf5d185cdbe46ad1e4303585.json | 7 + ...1ee2b6e4a853d07909b1226526bbcd66638b9.json | 7 + ...0ee493df9059e97edf709aad88e296e329876.json | 7 + ...6ecd97067517465d49c97bac023df8e486f11.json | 7 + ...a6d7140fff6d1214f688bf866dcfe6259956c.json | 7 + ...c5713d8807c6c7d9a07f7ca8f63fb046ae8c2.json | 7 + ...fe0651727d41ad9785c3f22c7f6403c146735.json | 7 + ...4b7eb060caed988b92a8e1727b769955e7a18.json | 7 + ...f106ccd864dcfd059eb61bce3193499668534.json | 7 + ...2ec43fa4387eaff1c86e43c3a2e5541cf535c.json | 7 + ...e956c5649189a2683818eccbe7e6e612c55bf.json | 7 + ...8830a914020a10e7d12cffcdd8bd79dfb0269.json | 7 + ...f6d2d5c1b8d2dfe5842b7c61510fc007c2e2e.json | 7 + ...54975a4e3046297f312cd4df6de3baf7284f5.json | 7 + ...de3c4d552dbb37971efcc0e3b805b12da5516.json | 7 + ...45640f76f33b497cb3ff08035f9a7446a66ee.json | 7 + ...b9cdedfd60cf07559a17192841684837dbfb3.json | 7 + ...9378ccfad5f5e754b70417dd9cafd4b525afa.json | 7 + ...ef576e4d6525c7526af10f58721ff770f5517.json | 7 + ...1b6ce3cb6175f043723a76ae96586c3871ee7.json | 7 + ...d216672369656f7dd2e61d379affd68d349a7.json | 7 + ...d84c6f17014c6b7924b7b53af39e29cda7083.json | 7 + ...758d9428b96a143763fbdb1f689ab73efffce.json | 7 + ...8311d1f7194b735a5d8d33819148fc785ceda.json | 7 + ...7ed0b269352ed25af25cb8841d126676da4fc.json | 7 + ...95ae7eff0211bbd4206e4fe40c5b35f57c1f2.json | 7 + ...034f80559ea7c60d65f3a729cfd3b5b17e456.json | 7 + ...9950700854ea7d12123db589eeb5d557e1c48.json | 7 + ...2e23101350411836128529a80afecc500ac7e.json | 7 + ...172ad943ac1e7f4e6429b461c70577dba1a55.json | 7 + ...d72fc125fc4807cff3055be89ed39d9049162.json | 7 + ...d0a36ffe1fb09918b2fcf4452601e9a991664.json | 7 + ...b88452df2d7bd06c5f26f0ac8ede53d944c2b.json | 7 + ...c8f73bc2d0100ea81db6fc1477b0097d2d8e3.json | 7 + ...63c01aea566a798d5914e40be0b7d679fb8d5.json | 7 + ...5da7cf63d3b97a4ea0d6d2d73292c618a4444.json | 7 + ...5e05bbc929f1cc51334f46efdb3905cfeb9b2.json | 7 + ...6e889f03b29731320109a046cf2340be83025.json | 7 + ...ecbd6cbbbc4f9dfefa7cb118d354c0f8e5ee3.json | 7 + ...a93fc1597983d86e2ea8ce59fa3281603b589.json | 7 + ...ad4f8db1f5c917081250982aa3786e9b6328b.json | 7 + ...6b51bbe5edb789668779e6b9cfc08517a5a02.json | 7 + ...8f3b0a1bf292848d9a9743ef408ed3a1ba53c.json | 7 + ...2632632c837092756a8f2b0aeade12187d05d.json | 7 + ...c3021bd3ea1efc18d8c0d0bd487cc4760d3ae.json | 7 + ...a12ff802f1bb64733e825cc90b8a80beeafc8.json | 7 + ...a93ffee10eb294a281e19f98201833297227e.json | 7 + ...e4f95536aa3bc05a7a9b00cca2c1705497cb5.json | 7 + ...3789ecec643cb48eb2b65a044a08300bf26b7.json | 7 + ...adf3120a26cde141258b9fd2c5bfb57f2e8f6.json | 7 + ...e5576c374517b1a0e89bde305d9f02b07f270.json | 7 + ...4e766faaf0e4184269dd899bb61488706e63c.json | 7 + ...bed2f24b883852e598941cdf38aab0457a875.json | 7 + ...861932c4fe2df4b3d1b9bd3789e9983fd5c10.json | 7 + ...335504d4649bd0e8802f3948194c158acce36.json | 7 + ...9d6c2aa16cc7b86e72a15e25e8da7669e25a0.json | 7 + ...ca0e526dbd8612f51f1b1e08796463d503b30.json | 7 + ...0eec674c1e22b5f6a124fc36b58b65860a836.json | 7 + ...a16d5cb8765a809438c08728c8144935da68c.json | 7 + ...3a9255b8b462cb8f1e8009b250372805d1837.json | 7 + ...b20e93251f6903de3201363b7944b17287ab3.json | 7 + ...255465fa0dee3dcecae97e263a83c25cb7050.json | 7 + ...239735a4fdbe271a64b096c2c47f52b90e27f.json | 7 + ...2ddc967a502f0ae921bdf3a7bbf70f02fac57.json | 7 + ...5f33343754f6b980979476ced32d9fc7f6f77.json | 7 + ...717fb94e05e7bb0af4ced323282e3f0936be9.json | 7 + ...2f994644b8c9197ddd136246da0ebff41866a.json | 7 + ...dfce4dd51608627eb7f551ef62e6c1c62e9a8.json | 7 + ...e7d244272035480f6f470f23920898b8b053e.json | 7 + ...8c963fa2338f380d3b20adf91bd24d06ff82e.json | 7 + ...91d61da5681f6df067bea92623a86edd978b2.json | 7 + ...f120195733bca01cd1671ae9c756fa223008e.json | 7 + ...f1c9d28f8a1f4cb2da25fd27e834760f5ea6c.json | 7 + ...0774a6e0f1683fadc38218b47d332e8912d9e.json | 7 + ...9ea67b4f7893a3aef41198a062f884c7a3318.json | 7 + ...fbbd30379d3bf238baeb05798dfa282fc584b.json | 7 + ...61b6e279652254afa2d4aa93b4fef781a11e2.json | 7 + ...10c7b2e389771e18bb1d0eedf3fb39649591c.json | 7 + ...579a6291263d569f889dce352d2f887524f23.json | 7 + ...3e164a0ae92c23cf278b794388850a53df8cf.json | 7 + ...c01de9075907037b0a29bb698749075c544c1.json | 7 + ...11703df466f41402de35e7eddff62a0c0238b.json | 7 + ...82390c2584330f53d0b9d0a959dde8c643dfc.json | 7 + ...e61d8a8bf5dc2ffb105507ad24f2145b3fc1d.json | 7 + ...d7d20b465e1144df078b4ff8c45bbd23bed9b.json | 7 + ...17affd1048355b4638ccb94143f4e28c86985.json | 7 + ...fb1844bd7204170a086a39d46c8958a985680.json | 7 + ...7f64f3feb64f7b8cc38716af026b3b8591ed7.json | 7 + ...c96b589e09283b83d6231850aad0cd5ce7a47.json | 7 + ...6ffbf44a62bd7aa5bb4f9553e0dbaedd07555.json | 7 + ...adabfcf6be5198f9c88302aa544a170831e2b.json | 7 + ...2862a35e5029562e6a44108ad506d38cd5ee5.json | 7 + ...12a91278f1d0952d2b9abfe07658126f02a38.json | 7 + ...35ca4158198a48ade5b4f2f68aae5fa80b351.json | 7 + ...4e0eab0423ff54cc27881d048be96aed8b96a.json | 7 + ...1ce342d7e105ce35676eee565cc21612965a7.json | 7 + ...3967bf83a411a5438e95652e712d0e522dc63.json | 7 + ...b101542c1966a026665bbabc12f4d11b38649.json | 7 + ...594146d4319a8f24ee4628d3cbe9e7578668d.json | 7 + ...0f1d442e9cb7bfc60c27e0ab3ffc8b5b9da8e.json | 7 + ...d5875f8ce59e1cb46f2bd340ab876e79da6a3.json | 7 + ...22cbaa486b8e429219864b7dc6ed3ffbb513b.json | 7 + ...0a4cf122e47e0d1b0c28fa0a24995fc1867ea.json | 7 + ...c89e04ea8c4ecad172b700ab56076065141e6.json | 7 + ...9ce4c1ebb82c004de48c366cb54e12ba6393c.json | 7 + ...26fd719a147999e5dd669fe6901d448dbdcb0.json | 7 + ...3cd75032c9bc110bbd06478a7ed8c4a52d070.json | 7 + ...7ffca59e3d592e01b0eab0ac7c540fc2291cf.json | 7 + ...6a422b456cf18f55ce6c08b925f6883e3505c.json | 7 + ...b713edd8418b90271c889441f8a10da0dd0af.json | 7 + ...4d9fe7886a0f1bf7a623e8145b4126eb7f1bf.json | 7 + ...0759898534978c345f4ef08f3bcf8b82df5a2.json | 7 + ...f82155d1d5567ebcb456975ed315cddaeb71c.json | 7 + ...a1b845ab99c52b2be268803e245cac32716cf.json | 7 + ...f12cfd57bd63573dd49628e5d347d96d2bb3a.json | 7 + ...4b565352d3524273a4ef845b331eccff46d45.json | 7 + ...25b736dfcfc2b295cad9f80234246e6f3ffcf.json | 7 + ...811f88c01615e3274cfa609d167163077edba.json | 7 + ...2711150c2263a93d128da7e5aba84a4b3fe32.json | 7 + ...6e771f9fadccec45dd037e70c9f8eb0c7c34f.json | 7 + ...17e47bdb81e66fd3628bcaecd0c6c3686ef87.json | 7 + ...dbb144e1c62dfb9713863911e466ae3fd49bf.json | 7 + ...4365feed5058d25d5406ae7133262deeb6baa.json | 7 + ...33d6fa2e7b9ca6a69d3688ab87c10f79640f5.json | 7 + ...837536d23ec552cb1ab9ad85f796305927e77.json | 7 + ...dd73fd3508e482e8e354e53daa1d2cdf06999.json | 7 + ...f37d788b3ef6af622e0c2a685a82fdea5c6f9.json | 7 + ...b0f35e67dda4362c770e21d1524bfc5b0e7ff.json | 7 + ...bf9d8e41e497ef1f80e1a9cb18eaa5e9f7906.json | 7 + ...7c026e08b869b1fa2dba8eac080692c465283.json | 7 + ...ca45ecdc7081640d67f6bcf0bea0b2f1c1138.json | 7 + ...792ccf769a5e8d86d16ee60602c0be914be3a.json | 7 + web/public/bundles/artemis/findings.json | 438 +- web/public/bundles/artemis/index.json | 2 +- web/public/bundles/artemis/map.json | 51426 ++++++++++--- ...4e4b166e5ad8e3eb15e246fd739717378620e.json | 7 + ...af4e7c7f6a66c939961ed3b3cf6f93bb3a876.json | 7 + ...0256d8c4d7cf11087f1112b24b72f247029f3.json | 7 + ...9651c700d78092545c67624bfae1879f5c35f.json | 7 + ...c60d6991d068fe51b0ae832ed1b9e939affd6.json | 7 + ...80687ede09fbd84b3fe75e867beaf0a4a0779.json | 7 + ...a058ca75d491c6615723b846e29d1c0113cf2.json | 7 + ...c1f378cb7f9a1bafb01da629153a4cec46435.json | 7 + ...4bd1e86a4017aa6e82cd7f0d1f73e502c8a0a.json | 7 + ...3197b85d02af5ea0b9b4ea29b4ad4b42ac2a1.json | 7 + ...cd8ed2c6c55ee91bcd3d28986eeeb32c6cd85.json | 7 + ...b60dd646ec90d0f12a8ed8b4c2cc85ecb3598.json | 7 + ...b6f69c584ca895c414bed332b23d8b8e8f4ba.json | 7 + ...5bec5a9d1fbab8754728f78d41a3e096aaf53.json | 7 + ...c6e0fdaf657fcc14789d8065084535e3ebf49.json | 7 + ...52767dff3c27716b7c18d4100b46986728b27.json | 7 + ...b89028a5d9df63dae38e14873dc27b61a5424.json | 7 + ...7d2615545476a86b0ad5c99e36e6cd541a772.json | 7 + ...3588167831a3fde5e1aa53c3e2e3ec1d33927.json | 7 + ...56840d0af9634e3319640acc8d0916c1d94ca.json | 7 + ...cf8d04733ad1036e2771e91a7712ad34407b3.json | 7 + ...33c770d5b92ef4c2dd9585accbd1ddfce8e2f.json | 7 + ...3d45386e82f99645ac1a365e5faa153a02c01.json | 7 + ...3d566dcc2727dfae546f21e13db072e64c97c.json | 7 + ...dece89a6b1c61737b57d46b78415f1546d777.json | 7 + ...ebec65e2ff48bf224e13374e5746fa2d22d36.json | 7 + ...948367d0421734fb28ea871e8add7ce9dae36.json | 7 + ...4eaabf826e6d20b74261c000278f0c89814ae.json | 7 + ...f4de5bb6d37a64f6f908249c977767194d5ff.json | 7 + ...e6f4c00a91b72281b03c8d2df75c040efda32.json | 7 + ...bd18b556b30772f559cbbc20d99a20df844b9.json | 7 + ...e56f8704dced6b33802ec2ae0451585b0a432.json | 7 + ...23f366c5424789d9cb84e7c9261f7e24ab3ae.json | 7 + ...3c707fd9a82bf92fabea1aed37a9ad28200b9.json | 7 + ...b2040844dfe7802bc2acce8ed6baecd4736f6.json | 7 + ...5a50fde4361ad94da278a5509dc7099171a92.json | 7 + ...08c04ceeb180b5b6164b3e9e93cec84817e08.json | 7 + ...f90cf9bd39d1383b12160e0c0b8959488be03.json | 7 + ...8bc0c1fbd3648c0f851ea8cf4fd4449cd5356.json | 7 + ...a573914ff2d783b5e34272a2ebef19318b66e.json | 7 + ...68956540f2c93ae0cdeec491c18a9e2d99f13.json | 7 + ...e50bc8aabbaa840f9beba2b66071c9c8257c1.json | 7 + ...5795a2743f25b2195f23e0bf9c9669d0b07f7.json | 7 + ...8967aacfa9246e803a1e74c8c5e72c6b5ffcc.json | 7 + ...3904b5a3baaa86a45977bd211c0d218e988ad.json | 7 + ...9fba38dd81a2d756ededdd6efef882dc600d8.json | 7 + ...4ac17219c51fbf0f85d2b4a8fe0fb1b471f9c.json | 7 + ...15bc73b5cd824fef5562f41a5a74c40f4c9b4.json | 7 + ...a2d4a664ee7cec7d9cba1f391d7bea9aee009.json | 7 + ...98eb646dd992ddc108e8a8d9aa62489e31a13.json | 7 + ...29d947ebd549ec84d7a00f326bb02e5725d9e.json | 7 + ...73aeb81c253272b90956dd6fb124b60a4045d.json | 7 + ...79957c1fed8c6f164e28f2fde4b5492e7a20e.json | 7 + ...d9ffdafdb976d9b615c50f7862d63aa16a817.json | 7 + ...558806be3647521cb8d6f09410c149ff647c0.json | 7 + ...7dd43a6d013ba6a6c5181bf16b3b5d5301f5b.json | 7 + ...a9baa19763dcd1ef7566200e83675cdb340bd.json | 7 + ...a1a79004c879b222b77bcf912d761349697cf.json | 7 + ...617d488aaa6097b7f10a41f48ffc4db618446.json | 7 + ...0ed25aafafe4e3b24e969faae5b3040a1ecbc.json | 7 + ...7ea3f09bb5fa717f31d7c86b66ed47fe42646.json | 7 + ...36abfeab84012eb574b3e4638c462b0cdaf18.json | 7 + ...daca02a07b085118c51ce7a2c080922feec3a.json | 7 + ...8cf5c9e59720b11ebc1316abad954c84fb721.json | 7 + ...5e87fa90b6852c529d40ab0da6ff9998722ad.json | 7 + ...8e1cebe17487db01214ed755e57c5bf9b271b.json | 7 + ...3002ee6604b2157e69aa1b3894c259d0b9bf1.json | 7 + ...200c6cd5389f967cbbb16552537abbb059891.json | 7 + ...3411eeb88488f567ab3b66b2e4d925a1b5a3a.json | 7 + ...83ab5c9307d79d153889cb49b92fc1fd91a06.json | 7 + ...672a02c947e832dfa4319c0e7be894c7f05c2.json | 7 + ...549f869d376084c48f3a72fb86f57796cfd76.json | 7 + ...dad36d5e15181a7accfe7eb5c92bd7476ab8c.json | 7 + ...064c973303bf310bcd4f21475aca7ed53ae79.json | 7 + ...043c39cc68f41c9e3cd881ce5412f8079363b.json | 7 + ...3e3050a20efc33af776010ff55208dd3ac974.json | 7 + ...858be3411ad3f0f3311c53093224b095ce8ac.json | 7 + ...cba5755aefd371474f3fcdc8099ca537edc45.json | 7 + ...35c3556454bb40567676731d15bca30377093.json | 7 + ...c76e59697d870c36f2a1b7fe6f6795e084673.json | 7 + ...d470b11fc2664f74bdfadf872bfd52b2c4fd1.json | 7 + ...5c7e636d2d6a77dc4a97b4091b0efd3b1b73d.json | 7 + ...433709302a038b55e64843f691ef04398122e.json | 7 + ...f87fb2296d3f9e95aef2405a920fc2ceb3063.json | 7 + ...4eefd4ccb82ea9f023304864669f53b5490a9.json | 7 + ...68cac42f6e391f056c7c12282a8775af96fc9.json | 7 + ...802158eb4f8d8ddaf766685957f33b0a417b1.json | 7 + ...196b4f6ac82a365cea78e3d9cf9ae89062f81.json | 7 + ...c3eeb771a155c508158ca06af18878f324fcf.json | 7 + ...f0b2f6ec3fd45d4c6f251839a07e74c8d42be.json | 7 + ...8dbddfc28e632b5e0f8f8111bd53632995a42.json | 7 + ...63f8df087b77adc9a3b986bc222c862b25c7d.json | 7 + ...fcf02b65c84d0f78224d8a09df8998ca7fa27.json | 7 + ...474cf85e2ea0483ba8937c9018c4488bbb5c7.json | 7 + ...ab7deec4ade6e97155af63e14f919a78cd8f7.json | 7 + ...8eb3a4443e41952686a73a00a47886279a150.json | 7 + ...0f94b9524cb8bad5d99a04d24159160aad30e.json | 7 + ...d5fcadb6944f6fa2852f3d24619c4b7e8abdf.json | 7 + ...c4b0371e2055cc7c0c6b3d5b28e14e8f7bb67.json | 7 + ...5752a04675c3c304dce90cd19f101f50e34c3.json | 7 + ...02cc998f4ccd14e35491135a2166765cdd3c0.json | 7 + ...ecb3fd092f1b5706fe31aac7f52368347f476.json | 7 + ...3abacf3ec26aee34c461fc190494684a7114f.json | 7 + ...48971516fcb40ef4548cd6afb330da6fb80fe.json | 7 + ...c96b824f61752de935ffe0dfd009627d2555a.json | 7 + ...daa0f9dd32d1cdd8b8c16455a5425fc426dae.json | 7 + ...b38598937155ca8b57e40f6f3f347df812cdf.json | 7 + ...9904ce19c4b573d564b84f4f0466b9fa85e64.json | 7 + ...816fe8a0227b3b8eb8251ddf3808596dbbb5b.json | 7 + ...c82ee7fa360fd20c733015bc54c1e2dfecc32.json | 7 + ...b78c0bc1b62394da91cc291202bcdf7952a68.json | 7 + ...99de4fe72da5e99a2653e44ab7568f23231f0.json | 7 + ...f65a268efcda58b4882ae10a1b48d10b2d585.json | 7 + ...92a6a73fc484c8396b0ee8944a9a4643ee437.json | 7 + ...0961b2a6ede3c29a15a3bf286826562dc1af6.json | 7 + ...2bd977d1f75d247b255bfa1539164f5662274.json | 7 + ...e5e0b9f1278c7f582a143b7faad6fcf57785a.json | 7 + ...bef275744231acc358be133f1d3c8c2114b02.json | 7 + ...a816575c044abd852e1dce8445a70b8581d34.json | 7 + ...9df5771f88b4bc7fd1cbd0f9164d6d0dd14c7.json | 7 + ...08c95eefcac44cf382b638d7eb69eadf59d13.json | 7 + ...4f2453e79d377f4dc82676939bca9a91df1da.json | 7 + ...c16d29a1f05d9e722731138f8d5b294831d13.json | 7 + ...76bbc7a14ff8314014f8503767a13264dc549.json | 7 + ...235ce7467af716f4099987bfb2e94c2c054cc.json | 7 + ...d7b549adf63d600f344c19e201fa0c46980a3.json | 7 + ...7af46bb95fec743b77736c3478497e6769f81.json | 7 + ...7d0ff635c026203e14ad43e5d69080d65e6f6.json | 7 + ...ee6ffa2d33d949218671c151ba5c75fbaf9f6.json | 7 + ...1afeffe0f8c66190037f6a1ea31752780dd22.json | 7 + ...2c390840e7f3e8f273a10ad57abceb32d5ecd.json | 7 + ...f0644a558a293530c51c116aacb720abc2d50.json | 7 + ...024669bd045ec1c6a7da76a649dfc65121d8d.json | 7 + ...ed7c9b3f0381131b15e7cb3e737b68efc8c3d.json | 7 + ...f7a27d440c9f0b5fe8487edc72c177555b902.json | 7 + ...0dac8aaacb805c975a89e533ddd3949a175c6.json | 7 + ...dc49d3a2a8109e509111b3c0fe0602b553e4b.json | 7 + ...a27f0061d71a77ea5873a7b17f762e1434935.json | 7 + ...c3ceef724d262c65f77540ffaf564e0265207.json | 7 + ...a1d2d25d7ce2ebba5fda4801a31113b4cea1d.json | 7 + ...2513cdba82fe9e59fb6d48f0d1f34be2c053d.json | 7 + ...721f6ae26d7623251803b01df4298f8b3201c.json | 7 + ...70fe31419d4d88007f6f85c541a6142bb8ff9.json | 7 + ...8f175f10bf9100892369beac26ad8b5c93756.json | 7 + ...98db082db37f33f6472aa083c2f24ea404f6d.json | 7 + ...3470404bfef2d9ceb06a50105dc9c02d14674.json | 7 + ...2ceaf5c17eed438a05463084ef12e08f19373.json | 7 + ...67eb65cfbd86d042fcbe9be6d2a20a3c13d31.json | 7 + ...8221d691c24e439051ce41ceb7c773ddd1d88.json | 7 + ...8da84e3df722b3cb175c3ba02912a7d22c73a.json | 7 + ...27c68fa81d191dbc26cad894e61f1103c46aa.json | 7 + ...eac6b77e81bdcc14af641a05f32fce4a139bd.json | 7 + ...32a7f221db4484b7b9062a7336352ee7da0a2.json | 7 + ...80428023bac146dd6026629c0931435bd192b.json | 7 + ...a45020a61d15ee88cfc374bfd2fe0cf5730c7.json | 7 + ...bec7dd5522c932b62272892ced92275611e1b.json | 7 + ...308d1dc6b994e19b54f0475fd748a9c1dfa20.json | 7 + ...65eb69d22a56d30b66ca60140448ec56de14b.json | 7 + ...0839b780aa36cba9c7832f2afd3b4f17cd451.json | 7 + ...cb0a1e98390ea82b58c7c2a434a810203df79.json | 7 + ...50719840bb8d4f7e12f5ab00c01f3a78a8e8e.json | 7 + ...0c8189603c0f17785a467223e80acbb9ae247.json | 7 + ...ed0c9862006976d18f8151a1fcbb847103485.json | 7 + ...8d4530e1c1061c286005f5383bb37e9664e82.json | 7 + ...5ec5c9724e51162af333bfee898c07ec1e11b.json | 7 + ...9ee5ea0dcf0428d3666dbfa3468869f8503d6.json | 7 + ...ad96e94525b6b627b2ac45fc104851d1f2f04.json | 7 + ...54528cd5dffed04f9020e0225a251a0d949b8.json | 7 + ...1c87c44e5fabee5aa93b43a5ba24711c99d0b.json | 7 + ...2b62061fa9dbae79644401d72985f9cf9421b.json | 7 + ...c5bdb6433fbd303b506fae29fc9e189c28ab2.json | 7 + ...5897e21d2cabfc6d3a68a3358f7b329e625e0.json | 7 + ...6d6f1726b9309b7c1a82140027d66ee0110a6.json | 7 + ...6e5a3fe6155dd4df252cbc4ddcf471bdf6ecd.json | 7 + ...efaa788007e9d8e1b9dbe6c98c8ecf3417fa3.json | 7 + ...c32dade83a6779e33ccedf2ad5190eeb567ca.json | 7 + ...79616c9696519d67ab9ff231cec3a0e9d7a51.json | 7 + ...a5962ba38dc15324e665aae8ce2c906de2d75.json | 7 + ...120347c578a637f5e49db08feb03207f9eea5.json | 7 + ...6a4780c23068b090ef7326b56cd185c4288bb.json | 7 + ...4bbb58a330bad7dd4b1a4f3e77b09babd9874.json | 7 + ...01d0440fdb61f0b44fd73c1a722094c50dd4f.json | 7 + ...3ee363c7b86acc312e83bb2b0820e06f391c2.json | 7 + ...0c790cf751a87fd05e6d357a4452aaebec9f6.json | 7 + ...fe084b4175ac2924f539d6601dd7ac93c2ddf.json | 7 + ...d73feed18d53573841d99e1b37e85ff2be934.json | 7 + ...5cd58a39569bde2883a28501f67900a6ebc57.json | 7 + ...adc1b27612b09f69daf228ddf5b95a35f7fe9.json | 7 + ...73c17c30dad0fda809cb7bfe1c939f6eeada5.json | 7 + ...699f3c2924cb26465cf91695f73b56d088d23.json | 7 + ...5be8be62abd5f15a348a98b00bf2c198c669f.json | 7 + ...03e40f083f3574d852c7b8bd22cecfc0a24a1.json | 7 + ...9c59f1c4bb37ac096fd17cd856f4a0b0dbbff.json | 7 + ...46016907f24a0fde076ac9d17c5fdbe7f07ae.json | 7 + ...086d9126ed39844ca3a9857c435a6834f714f.json | 7 + ...e8aaf5a3ef4e4f27bd9055367f2462e201748.json | 7 + ...1ba0aec86d118ecd9351dd446949c422f6fc3.json | 7 + ...88bd39e0a5a29d52df0fa82a0eee57ccd4251.json | 7 + ...96b32fbdb0fa7c5f23b303825f2c7e51aba43.json | 7 + ...1156808cda3ff43158a5bfb06ec0a3507a32a.json | 7 + ...bbaf29195f91462647222b5a7830a420e71c8.json | 7 + ...64545232d055b4c264f438f0da7948fb5baf7.json | 7 + ...d06d7732cc1c2533c93b9f97970b530896ea6.json | 7 + ...a7c9e410155ea0efcb3df382cee6032a4216c.json | 7 + ...dae394c207bc0038a2a5473225fafa8e6e505.json | 7 + ...febb4725dfed08c29e6fd962269d19d732323.json | 7 + ...8133c0eee41ce442ae4207f34b880a4c5c0c2.json | 7 + ...6c2d1e0af98b8f2895db99d2d3f6a79a14fd1.json | 7 + ...7168296dd16b8bd7a68367993121f3feb9a66.json | 7 + ...ea84060cbd45616a3faf1d831887baf4bc9d2.json | 7 + ...4998e4b14e0d5997ea16919fc648fc8a841e9.json | 7 + ...68562ae44eaac3a0c323c6dbd9973a3efa4a4.json | 7 + ...64c9a114d3b947b8a7c7b2889a62d5ec493a8.json | 7 + ...cc81318400b4d3353ae11a11297f0ec8e01a1.json | 7 + ...f9840bb8a4cd3a47a8cff54b72869f150a5e4.json | 7 + ...8578e3caf14cfb10392e2be2fe28b3e1caa38.json | 7 + ...03e4723d1d5961a8435d446a42999d09abb36.json | 7 + ...063c0518e4831415014f3d84064bb76e995e8.json | 7 + ...e4cd32bfbad40f14c319e6307fd78f868473f.json | 7 + ...50ebeab73cdb61ec8d8b6c596367388cd7484.json | 7 + ...bb2fdc411f906290b93d7a41c9688f17ea4e2.json | 7 + ...f7fcef869fbf8cf5539e26b792ad946ce6925.json | 7 + ...b351d829d08ec6125bf549444af920d2850d9.json | 7 + ...62c286370dd5747f6b7e75fbce331fa017a35.json | 7 + ...781c6deb6a18de5ff05c0d24e89c611a992db.json | 7 + ...82996e3decdc4a5413a3d67809a7ffac1719d.json | 7 + ...bf7c83cccc2deac5897670e95096ce964771d.json | 7 + ...af9075a723a4676118919f7e46fda4857e3cb.json | 7 + ...9f9dd93e8ed7a0076652971fb3e69268e8219.json | 7 + ...2bc03e5a1730b259ab505071b43c5216b72fe.json | 7 + ...f16e89253d1fad52aa5aa02cd6cea42f03638.json | 7 + ...13a6023a0e6aef1504a64f9bcb8482d399cb0.json | 7 + ...ec303ae5201f9d42bc0d983b288c708872506.json | 7 + ...63be5ed670445137d94591a162ba49d7f9adb.json | 7 + ...2c3ed62b69beb99349d2da31ad720554f69fb.json | 7 + ...dbd1ce24ec89bcf9a7246ea72215a18948a86.json | 7 + ...0f49214ef1f4f0b3944481eb3d94803fbce91.json | 7 + ...a23a985ed0da7e2ba4cd12173ad96c2e9e21c.json | 7 + ...78afcd59807d956f01d93d1457f14f6ae6fdd.json | 7 + ...e5c44c426a36bdb667d76aa8e02230580c8d6.json | 7 + ...ad165064bf0f5e87230211d109167c0a37102.json | 7 + ...a4bb5933bb611d171eec8f26c1c317d2bd2a1.json | 7 + ...9755adc69b991fd1eb160e6c8aa50472ab777.json | 7 + ...ea25cb1d8761372c11b143ad77a4426f6b620.json | 7 + ...fddfcd81d41cd6e2b26f789d9602798d03dea.json | 7 + ...5e9f6ae8da8b8b81b931f0cb54562bfd4d423.json | 7 + ...e5969b0b3c4189ff6dc77533bab8cf4a5544c.json | 7 + ...82457e01f88fe346148ce31d6535231882cb1.json | 7 + ...1d02607c8d75003a7f79a22759d59c0a5a128.json | 7 + ...971254805186f842bf8fbdb9d1b3fc1a6dda2.json | 7 + ...d3c7f302319304e88f0f7b320927ebdd87903.json | 7 + ...e608d76423b38d6c77699b23db8bbddb9e1df.json | 7 + ...d74653ba3f9818e6a23e686ac4a534fc5b7de.json | 7 + ...6680172971b036bd72b1c8262b8457e344470.json | 7 + ...e2e2226f362f62d086ef95559b1ff5818348c.json | 7 + ...57b3506f6d9ade36403c875a8c80d81f8985c.json | 7 + ...41dc4e6376f3cdbe2638c0e234fed5649b274.json | 7 + ...95215bd9ba37cdbabb11e2f9d209d85708c9c.json | 7 + ...39e204af37cd411fb1ff713c80b9c1a295803.json | 7 + ...07b686aedea26d38b33f869f95ca295a62424.json | 7 + ...c376699a2424a7719f6498de12290bc4204a9.json | 7 + ...35dceb404064f7428f4d71c562d9bc9bcbfcc.json | 7 + ...7bb93c6e0223c02234e482cad74363763a7be.json | 7 + ...a5c6d9cdb6569f81b301d9d14e4f516b8e6c8.json | 7 + ...0a4868c3e2abc07a6d484b6730dfafc5efed1.json | 7 + ...2415f58fda7613ad779eeb4e3bd4f3eb80ee2.json | 7 + ...7327e124e7d3a8e8fbcd241c203e36a64157f.json | 7 + ...5605401966fdf0fe6f22ffd769c0c950175f7.json | 7 + ...7733ab3cd82f965cd1e043c5368ca3ca3e1d4.json | 7 + ...ff0b26149e70e8239938f17fcf314de5febd0.json | 7 + ...37a17435fe87c312be8af8a58cb76d6555b8a.json | 7 + ...85746d62cd8cc791a488b025ef816aa26954f.json | 7 + ...5be67c8a7df86c140df69e64e45bdad818016.json | 7 + ...ceee6c3f82cf225fbbebefe6b67bda968b76e.json | 7 + ...d1de23dacb3b8f9bc3d25f3c3028b202eb3e6.json | 7 + ...4d6e5227ba1d4591310c3d605b9581dd296f2.json | 7 + ...8bea748f3a823d4e5370771ca0d8a36c196d7.json | 7 + ...e71ca839bdd4fa86b10bb6b7a253c67de1778.json | 7 + ...72a0bbee17e732cd155b5c67c86f307b478ed.json | 7 + ...1f007abed56321c8600fedfdab465831c1873.json | 7 + ...596de83eafe4847efe1f5acf1245ac82b4a5b.json | 7 + ...b2f9a8e3cd838d6892a4847a74e1642caaff5.json | 7 + ...bbb9935c884e4e5b54ec405aae15f5c8792d8.json | 7 + ...d53264e584ecbcbf6b1e3eb81ba7407fc407a.json | 7 + ...fe466fe5014bf5994a3ff3dba2fb6be63f34f.json | 7 + ...bdbffee3419d93edbbcc5bba8a26fbbf614d4.json | 7 + ...c783fc3cc0396f8f9594ec9a4600fbfb72cbe.json | 7 + ...aeb1fba8f560ca9aa35bdf1e4b8462931ed7a.json | 7 + ...0430258f8ec453a9a295c29d31831331d3188.json | 7 + ...b7af8cee8dbb6ca031f3a197b44c100f6122d.json | 7 + ...de93176a4c9d23d7b239a0571cac40b18d3b9.json | 7 + ...0990428874b724dec2ca85e91aa3b800cc2d2.json | 7 + ...eabf2681a44a7860f19e0ce020c1c3c41d5c9.json | 7 + ...8d36dc9a3aa8f5777182ceb3eaf92309eec0b.json | 7 + ...650731e8180415798d90c65532073cc41e2ac.json | 7 + ...ce5ed78af64b76eb37a0d6cdca8a9183d37fa.json | 7 + ...86ac055819304f4088d5efc792e4198d89e01.json | 7 + ...506e664f34e53512ce334d70ee7267beda65d.json | 7 + ...9b81d5877ba79221b8ffa91e229093495d713.json | 7 + ...6953e68f05c021b08c493766699002b443f25.json | 7 + ...3251bf8c3f33c79033c877dd597dcf76da0af.json | 7 + ...71a5fda4212fc5b76cdf0896291e3f15e2c99.json | 7 + ...a59ccd88431ec894c423d6449250d2a77311a.json | 7 + ...0a68546595e520abead56ad8052fa6c148b38.json | 7 + ...e0bcecdb69d5eae78cf432157b837ff752748.json | 7 + ...16ae0c0ef2af8900221873a3ac4a554f7d250.json | 7 + ...143dec157ed75ababc98ab99a6b57cc11ac0d.json | 7 + ...811e3aac19e5864e8ff1b85469ed06eec393b.json | 7 + ...3d29172df2e9e7b7feb96c37172deea2a26d7.json | 7 + ...ae712b9e865a7e6a48d9f388ecfa4a9482400.json | 7 + ...61fbc13baa5552bc8815e99c2b047d6069d59.json | 7 + ...9c401fa4978a73538c52c1d5eb6a41426834b.json | 7 + ...388f413813ad93c1659260239c7fd1a3dc205.json | 7 + ...bafdb70fa29cdf51bfd74005a4e83488f0491.json | 7 + ...2436373823473694665ba6b325a3959e52ac0.json | 7 + ...675a1a11e639bec0c8b47810640d55312427d.json | 7 + ...a51f71fe4b76d1391d1eafc24c9be6bc29a5e.json | 7 + ...8dc4dfbdaff04f34adb366f8142d1b0016baa.json | 7 + ...052e82fd5ee6850dc13920970d2eba4e6ba41.json | 7 + ...6a34e53d9faea7550b8f6d5a01b420b287e2b.json | 7 + ...b40939f30715ac8d704ce43bdeb5be4663471.json | 7 + ...afd462ce0f24a22d6e6f4792b105fbfe361ce.json | 7 + ...02ae7a9a0266e1a9f19737fde8cfc911974b3.json | 7 + ...2dece338f8551f4e5204bdc66ec70957a1722.json | 7 + ...b2c90be9197581306fd66609e41ccf7cb3ae3.json | 7 + ...210a4e492bf7703efc3072d35cde13cea311d.json | 7 + ...f742bb0f7c5d83c15b64c5cb49fa617c9141f.json | 7 + ...199bd97fd16f4a8967fe02cf334ac3c9a89fb.json | 7 + ...277525532aa1e3f36e43f5ab9d9558d3398f6.json | 7 + ...82f67fc7966e740f5ec44eb08dd24cebf054b.json | 7 + ...0fc56d9345fb477c08e7f76acd4ccb99d5141.json | 7 + ...f6aea3b21ad7ca28a5afba6b40db351dcce58.json | 7 + ...e17aa25b9239bfebe03ff798332a94021644a.json | 7 + ...bc0eee472c64085c5bb4f928b3c7fa354595f.json | 7 + ...abd9044369ba49e83bced70692fef7776b21d.json | 7 + ...81626d4b4ecd21d86053c5eec5ccac8488708.json | 7 + ...f3e326c64c2390cf17f54bd361d70d63dd6e8.json | 7 + ...97938676b9736d79a3d88076d6a3ad809ccb4.json | 7 + ...9ad8a0ac58958d3ba2277ad8dd6a47cc422c4.json | 7 + ...6167b0659b9755edf5390033b2b2ce4e6cee8.json | 7 + ...52c86b546c400d2e52cf87774917fae2baca7.json | 7 + ...5d36ccdc3c423f133f039356f3c1312fa47c9.json | 7 + ...100dc81f4a357a61872a4aac3a76cb7f8c176.json | 7 + ...c091b8f79d9f45dddd335092a4ddf59485aff.json | 7 + ...2e925845be501e0d52d8f6db7a77f188c9f93.json | 7 + ...e5110ab6aede494aca0c388645c195e1afdfa.json | 7 + ...bb47e8be25228f86edb45278486ec9966f3b2.json | 7 + ...9a126bc1e610f7f2f9d9dda971bdd67e1a50b.json | 7 + ...af5474f0b25442f5fde364963950ea69bf329.json | 7 + ...fb490d84806ea748620450fd3fb13799275ae.json | 7 + ...cd99fd7f5670e36a58db68d886974f6b142ae.json | 7 + ...d95ef8979868fcaeede5d3a2b8f56cbf85934.json | 7 + ...69c24d0606961c8ca8de9dd6ba5f6b7625435.json | 7 + ...c942aa30e53e69e1064beedc3748b5244f7d7.json | 7 + ...8fde724d2acd451f4b649b22b43b1ee3cf5ea.json | 7 + ...fd3148f8b9c4c3044ffe3461a82a8d9369611.json | 7 + ...be62b99f970ffad27275eaf1b77eaf6395cf3.json | 7 + ...91d096649b23a90a4bff37d9e319fc0ef30b4.json | 7 + ...3dfae17a754d5a4c552a85720f87b6eeda2b4.json | 7 + ...99b4108b2ec1f1021c7fbb7181b1521e0045b.json | 7 + ...f329fd7913810376ec87af2852b5af4a73d06.json | 7 + ...e9aa5aba9ab1e7929bbec0552fff73969062c.json | 7 + ...8a5d43a1e1f6b792ed8c2ba84bf814507ca28.json | 7 + ...b3dcaf2b41f2ce4f718106d8544be105f7338.json | 7 + ...5d873dda4ebf3b9a57cd713dfdd93e7af3de6.json | 7 + ...ac2b5768f3da77157ade733c3116ca482a277.json | 7 + ...5b18ef44e61b523d192efa4ced619ec1a1538.json | 7 + ...44a6aed5738ef570d91798de469acc299486c.json | 7 + ...0ef29e03ccfc08e35a4025260f8f64eaf3697.json | 7 + ...db29a392f0ea4bd00bb275679a6973720e553.json | 7 + ...fd3aa483902245c289ab6fa525e250ea86d54.json | 7 + ...4a469624acae4edc9c122d9c8d249c1ea9323.json | 7 + ...316dfedc7146695390ffe1d65eb969543c31b.json | 7 + ...a685952b0957f1d0f34a4ec91fe5749ffed15.json | 7 + ...3630a1dc6ca69ae07adf95ef97ff2bed14771.json | 7 + ...d8d1fc6d0dbe11adb6b4db7c8e4a0cd318c64.json | 7 + ...8706a34625a980e61f7af0ac82282245a37e8.json | 7 + ...58e1d771d93eda326ee528a149859b77752dc.json | 7 + ...75e45cfb14dfcc36fe7128a032cc294b683be.json | 7 + ...e87d93276a4a95a4d79b136e4e0e0c9ac578d.json | 7 + ...84056153908933450e76db2711b92a709262f.json | 7 + ...b06f574199491f88e42990d2983484edbf6a1.json | 7 + ...edcb2a80598314ccef7dace205785adc13393.json | 7 + ...4a63888fae93f7d9afb7146336672fedc4ed7.json | 7 + ...80ad9024c785b42a0bc18812711e9d28bbada.json | 7 + ...9afc53b2d61ad4655a33efe09ea83da453cfa.json | 7 + ...188b5bb1e2c5ab11dd35a8770c73f98c212bc.json | 7 + ...2c9661e56edc94247b5a45ec1b3b893d17e48.json | 7 + ...355b674213de825cd30278218ae8a10ea37e2.json | 7 + ...aa946dd247c6396d87db38ca8311cc442789f.json | 7 + ...fe1281b334eae55070910e75bcd43791b121c.json | 7 + ...d0ef9c9360d4120a2451ff3884fb41e415b86.json | 7 + ...4fb1b6a96fdc52359226f0e1a84894ee9c9b5.json | 7 + ...c41fa0aa07d82612ce929ac44eaad4a4b997b.json | 7 + ...56e041c4eae68188e69385abe772e4ab5cd36.json | 7 + ...5dcb52151c2f400814a95739e086f1aa42702.json | 7 + ...b736f8d31511fbbe2730f29149abdaa37b9d5.json | 7 + ...36c7c9fe47f03171910921d55969c484bd76e.json | 7 + ...f4e5f810ecb22ff370ccd54d7f5117ddf9a95.json | 7 + ...32d25460e2451f58a9b52747b61e4afb992e0.json | 7 + ...3a3fef9f0f0e731bd5f57a0130926b16d6cd2.json | 7 + ...b55993544fb32b7d0584a76607c35f2a8d44b.json | 7 + ...3a272073a1ea3b276740255ad18689de8a60f.json | 7 + ...f970ae135122aae6cc0f00140ee086b1cf8dd.json | 7 + ...392c2a37d5aff71e0f9f5d1d3de72d0e870f0.json | 7 + ...b226c4b7c54e4d0634d829672f66c715dd835.json | 7 + ...b7d94ad4db1ea073ccfee758a8bd6bdda3dc8.json | 7 + ...cb91ce027816bb7c1b0a790963119b169f24d.json | 7 + ...6453b6584f762857be517677ba8567094a960.json | 7 + ...591aa5c59deb796975e268e60f6a380253b4d.json | 7 + ...e2f5180551b9c8d075a412b5d80817d7abe09.json | 7 + ...2828cd3b7c29bad9707e780d2a93cb71afae5.json | 7 + ...b3919fd37b6edebd033accee801b24756f518.json | 7 + ...43c90d0fc003ec10e809d1bd52bf5d2c0a3c4.json | 7 + ...b6bef5bbea46a9f5d24cb4da2402f441ca0ed.json | 7 + ...306937fbfd9b251c2200976724c125348c37a.json | 7 + ...003849c2aa8ecf41ea80490e8aa423896601e.json | 7 + ...f237c52cbf39d54c9eb6035f475ded8c30e7a.json | 7 + ...2357166226dbb75bb100316f90b56b2f6db85.json | 7 + ...4b8ae5d213648cd543420bdcfabbd4bdc92c4.json | 7 + ...49bb9d48bcdef64cef18441d6c83e8bd4ab71.json | 7 + ...1269b22dcc031c4955b21d0bd628ada6412af.json | 7 + ...986e2121e73cd56bbdc39bf69cd8ebd34eb79.json | 7 + ...c704e3606eceb1cacb12443ef6e6d5db5cba5.json | 7 + ...984fce89a63eacdcb10a1cab4e56a0b706e0e.json | 7 + ...666740381d7c9e5c485cb1b51cfcf51dcf224.json | 7 + ...8f3c4380e975d041628a4db57f5e37e72a8c2.json | 7 + ...44117eb9a877cea2de46ef1fffa9430d9fe10.json | 7 + ...7cd6120d671f150e1c137ad6c0eb4203d6c96.json | 7 + ...d98cea0c76af2a4a1eac2d1875561a3c17b2f.json | 7 + ...7eab13c44717a53aa0ba1a3d541a3ac65c79b.json | 7 + ...f1de2c0d04afd07d8516842125a45ffc56c92.json | 7 + ...ff337fec289155a485942132928076fe50a78.json | 7 + ...be99fbb8abf3cd024ce8a3897b47c53e73f4a.json | 7 + ...74818df45c53567ee12a3769bd6832690e2f4.json | 7 + ...0e3fecc30ef49ccfa9031fe8732c704881edb.json | 7 + ...72c6768f846484607812467e610c7aa865962.json | 7 + ...343153acb4fc4e9fc3b6bb8608371614c991e.json | 7 + ...41d1d5ee87c9f0e759b28125398ff59a7ca22.json | 7 + ...d4cced0f39b292e246ca91d1cbb479e1b8642.json | 7 + ...d4827cf8b66890fc64044554ee028c461224f.json | 7 + ...a2f11bc51d7d5c50a7eca9f0019fa7bfc6f4c.json | 7 + ...ce9172463f6914845ad4d45a4dfccae61977e.json | 7 + ...656b822f8d23eaf9b5cb28e4dc649b044a04a.json | 7 + ...e6f24a5b081d76b615c95e61de8b1fd2840b8.json | 7 + ...dfce7b387e269faf834771124b9a3f2c08fbf.json | 7 + ...65600ca96f97a83aeb39483683a21f15b56d9.json | 7 + ...3578ddb3c5b1e2d283743d05581bfbf8c21b4.json | 7 + ...e5307954b58fcbdb48cb3b9361ae1e3993279.json | 7 + ...9393073864a31764c613d162b23b5e782bcb9.json | 7 + ...82420f5ebe0e2fe2e001b668fe9df18f58a1d.json | 7 + ...76e3bac9f50810c838cf6992ce8679e1b4034.json | 7 + ...31a26ac41e0a45daaefe7ac9e789beb769bb4.json | 7 + ...1f1ac70b08bd9dee6ff444e74d7f98e7dea1c.json | 7 + ...79e5f166a05459d05223226035640b5c5e4ed.json | 7 + ...8557705482720cf6914bd5a8733caa85a39ec.json | 7 + ...b670ec3f823ab151f0d9e8dfc8e7875dd62a7.json | 7 + ...4c11650fc566db8e81e7b3cdaadc7f7311b8b.json | 7 + ...94761ff73cc2d0415557dfa995123b77d1410.json | 7 + ...f0b6e3c60d7c26878d49e60d312b7971a22ca.json | 7 + ...cc6ebbc1e910e2d18eb93591b49c73bb8b205.json | 7 + ...17e845a0b3e2383baf4e98a4ca80b335a3044.json | 7 + ...5234797663addb3c1a773795a552e2968ad9b.json | 7 + ...011bb1e93ae8810c8e279227534396fd2a8d9.json | 7 + ...42483300845ccf82a386497c2b96a1f3197bd.json | 7 + ...0ae4716059920f35e75704781d86454203da8.json | 7 + ...1d9b05283c8d99b7a05d75fbefa7f5a389582.json | 7 + ...b00dc77f8853c6605d70b448a4855d3f2fb16.json | 7 + ...8ff5f8b72b385fd14c861e92ddee3edb5944d.json | 7 + ...05793e09f31dff79bab5bf15daba12aae861b.json | 7 + ...a0db0ffb8c05593148229b18442e4561ef9bf.json | 7 + ...47d74a04e54fd49e7e3e2296712ac19392e4d.json | 7 + ...93fabf570f8859cba4fd877c9bba9165218b1.json | 7 + ...ecdd4afc5c57dbe31f77fb3f673605efc7777.json | 7 + ...5cd540c84db7886c28ddbef2a980510ad7f36.json | 7 + ...5da57b5c68900cb21cc69b8629c1aca772b83.json | 7 + ...0a1b542c7261f99ced3c034c009e2efc82b9c.json | 7 + ...d2137c254d2eb5f5ea42f039bb25fa46fa0d3.json | 7 + ...8604e1a0a77a3de8d0889b7e4cd28e5dcd21f.json | 7 + ...d907b14b6b5d62970488ff49b80c36a2630fb.json | 7 + ...2f6dda073bb22ab41bfff6caf8faf464bcaa2.json | 7 + ...695275349642db3f3c996dcb1f99cb419c056.json | 7 + ...b088287a49324862b3914e34f9fbd01fa5b32.json | 7 + ...ef33eca6191e80cc0a14b30ebd47d7b162a81.json | 7 + ...2a435a8f131f36e0cebc1c4da0ff80b941234.json | 7 + ...326426dc98bd945e4d416b92209a4b7bf8d97.json | 7 + ...fab00ad141e19c2c5831b6ae544a136cbd829.json | 7 + web/public/bundles/graylog/findings.json | 378 +- web/public/bundles/graylog/index.json | 2 +- web/public/bundles/graylog/map.json | 61116 ++++++++++++---- ...eee7ec05effc8f4e72e58b9acac779897ac1a.json | 7 + ...d0a052446f98ba32efe1d3b636b3111957f98.json | 7 + ...04c9d4e6afa2404f41cfa93e2e1b9c3347f2f.json | 7 + ...3bb968dd53a9f7d732fefd680dcb0de1d4292.json | 7 + ...9f9a52daa5045743f0dd039c29eb0f93b8180.json | 7 + ...1e4ea30c5a83c890208230a7207c8657ea81a.json | 7 + ...816e3e105e2985e44112453f69a8147d94860.json | 7 + ...6b4259830b61719af0abe448a3d1bd3ae3133.json | 7 + ...c523a43bf8cb43ba8fca180f0a508014500f4.json | 7 + ...642c8ccebb12e74e1648538e7eec63e2550cc.json | 7 + ...de5be53458bc60cbe48a5931c3897526a9879.json | 7 + ...8bb514a2e816b2ebbc23e88a79b2310ac9040.json | 7 + ...b2e747c975037f8308bd079aa07dbfa407e0f.json | 7 + ...00f806afa542050a3f1a27b2f4b4c1baefaca.json | 7 + ...401bc2cec600c7c40710fc24f82fd925d5521.json | 7 + ...95c8fcea3c462692db8c093a85ad00fff4039.json | 7 + ...59e8f0ec0a6fe92d00b4db3316f7422dccbaf.json | 7 + ...9a6f4de84f78145aefcb315d5cf55f6ac0d21.json | 7 + ...fb44955029f6f7a801b602b62a5f6635a8299.json | 7 + ...fa9656a7c898a8d7d7636688dcd99e5da4b82.json | 7 + ...a8e9e2a1eeef24c24392233e31568ad1ddd26.json | 7 + ...6a23a28c20ed6e0c00d465d9a5ee64614ce3b.json | 7 + ...952fbf8427ea78502a81d6c1c0a4d3d611a68.json | 7 + ...91401e84d51a6bf5be13b8637df7ffb1ff62a.json | 7 + ...3ce061ed1c359f71cf6b64cc4972854602eb1.json | 7 + ...2a13aab786713940bf5be4806e229dee5d5b0.json | 7 + ...35aff33f5f873c43be57aa70a37ecb7b87c34.json | 7 + ...553d7bfefca03dcdafeb905ecb47fbd4039c5.json | 7 + ...24d74448ec3f91cfac80d006233b0fffbed2f.json | 7 + ...d58b74f4f00e466727ea6e857449cca72d4cb.json | 7 + ...67872712f2fbc7b143a84fa2b3fb69062b6bb.json | 7 + ...1f2e84b38ca82ead7a253a4a122f48c47d816.json | 7 + ...c4b3bb7e09cd5b5d0e16b589e3e9146f8c47a.json | 7 + ...949d75ccd653e5bf4d6f3306ed606286502fb.json | 7 + ...9cc60371cd9dbefcfbd38668ea55970132733.json | 7 + ...387647f37e6aee9eb1e2e1e34e27728424c1c.json | 7 + ...f444c0bc3accd5a02b7953a7c82cb602d522a.json | 7 + ...ed024e888f86f1061958d5e6a83db06f35e7c.json | 7 + ...705adbeb60351d827d70a0349a17b56b64cae.json | 7 + ...9ebdfa03ce6da964991f8ceba920f3574a117.json | 7 + ...acf1b7811f49777ccf80d0d681c443d102782.json | 7 + ...651f13aadf9c27d7c4e39cf73a643edf93247.json | 7 + ...1e7e13f1bdcfd47ef2fdd42cc144db5a6d79c.json | 7 + ...db2bb81780fe9605e35b6c5e0fd04d620b8a3.json | 7 + ...5083958061cf5d2616cca9309e9366a4c0221.json | 7 + ...896d09c684397a7cce4b4dacb29d9d42462c0.json | 7 + ...4e3434373781f516a8483c13d2bb7bc878ff8.json | 7 + ...219d3710f25af84b45669b1606ef561b5b472.json | 7 + ...9b23b7a2a7bf567d18fe9037ab6ec8f252c54.json | 7 + ...b9d2d8dbde246d0fef13d827706e9a765f378.json | 7 + ...6feb4d1d9c55f52ffac457fbf2540362daf37.json | 7 + ...d03a90067671f3eb771b25eba15d98f7d6de9.json | 7 + ...9e0d6a0bce28cdf1f27bb89267166840b3f6f.json | 7 + ...4ddae35f5c92aa3035c198daa77e5f63c7923.json | 7 + ...c3349d502a8ba304dc506e441a3d106329f97.json | 7 + ...5c52704df1d8d5a2ed82d8af037719e319579.json | 7 + ...85459579f6be2fa21eb3fb832fae933850b41.json | 7 + ...40ed02c822f755ff7f2291acbc94508982dba.json | 7 + ...dcce0749761662473c1720cae76bc8dbeeef1.json | 7 + ...a7ea223394a30b5b57e71e1ef2e442aac8251.json | 7 + ...6f7511e4f7864bc7e6a25c7e814b3a710b87f.json | 7 + ...972d702886279d90180b4d9320c0498e4b351.json | 7 + ...2761df1efbaf912eddbdb372b21e4b034c3f0.json | 7 + ...9e67109aa9e233cd6088be2f9937b805300fd.json | 7 + ...768d867a5aed2d525136193ef9c9ccf1e30dd.json | 7 + ...ddd41ce3a1f0875dc28cc95bac25fb5d9c69b.json | 7 + ...89d59dd625981af531fca14361514d6e310f5.json | 7 + ...d98aa58f23a58f7457354b008e237edb86294.json | 7 + ...e1e5f451d8fa5641bffcedd6305b2e72242a2.json | 7 + ...e5f19cc2fc44cb46f72cb73d50673fda2b32d.json | 7 + ...1e0b9f8787c699c9d3fa126f605382bdb7c55.json | 7 + ...fdef4ace098a4013a434c0e524b9892a67dd7.json | 7 + ...cf16c4edcf3899b1c3d29c6155e33514a45fd.json | 7 + ...4df2be19c78533b23618f5c578a9740f9c8fb.json | 7 + ...b267b596062176432f42cf94e06a62ef9e8f4.json | 7 + ...e37fe63ef8242f8b8d94a85e27a497a5285f4.json | 7 + ...e8fd98e89e77aa71549da5b6739e62d8a795d.json | 7 + ...01db07df2eb57a2d2998b46de45a38e3c0500.json | 7 + ...b37acf2ceec59ca852297fee422b1a1e34824.json | 7 + ...1003c2b4db1ed17a61aa4a65de7bba9f32de5.json | 7 + ...abf2b4d4d8db322ba45a0e81b889623634d6b.json | 7 + ...d1b2da2970d0ef145c45444c2d79cde9268d5.json | 7 + ...57fce0ccaec09aa15d6200d6f0b9b6686ab7a.json | 7 + ...763d2a03ca13b61d3e14f2955efe832b9bc57.json | 7 + ...eabf1029c7bfb5cd6711964a37dece4ea56c9.json | 7 + ...22833fedf98439cdd36d31c54995716301b57.json | 7 + ...c987353b3f86e9ef93cec2c2b9fd36f5d6e24.json | 7 + ...ed9e2713b9166bbe8a40030ebafd638508fd7.json | 7 + ...46f066aef9c7310eb7233f40f7a40c92ed7af.json | 7 + ...a50d099e1a2f6db5fadee05e50fbe37f4bb24.json | 7 + ...bd5691c025ddf8178151ffd4b668d8aff4ac3.json | 7 + ...46e33aca0340e87f9c53360992278735794d3.json | 7 + ...0f5274bc9eca1cd6b5344d9ce27d6ef22fd74.json | 7 + ...d8b857bfc43f3e79ed1227480be59218e8aca.json | 7 + ...7725e644b0434396c352e2f3e0a702de4af33.json | 7 + ...439697e3071b3224250bf9d7bea909f47a212.json | 7 + ...a6ee418d082e367d284631b590f4ab8262cfe.json | 7 + ...304b04dfb94fa8fd43c83a80f0a946e3cbc44.json | 7 + ...d046f9fc04ae5fdded1a209431b3dac13d612.json | 7 + ...a16dc5c62880f52f46847dbb04e38fd156321.json | 7 + ...d6998c1f78cc004c6584b67ef3f280ab9b426.json | 7 + ...4c1763033926c0d64db25221f1d0413078884.json | 7 + ...7c66ec26fe242fad697e35139869b5c4d3e2f.json | 7 + ...ce460f6ce44f038e6093bd284e8d4ef095d56.json | 7 + ...45ffdefe7c23435fee83985074068f0e1cf46.json | 7 + ...4775ed58a2727974a9cd7414a36d030af421e.json | 7 + ...a315fcab94aa0704119c4fe4a5e1b64a92adc.json | 7 + ...34b15df3f22daba6d38cb2df57ce8a8fc1a54.json | 7 + ...2ccb0c4dbb24cefb9282108005c326fb3876f.json | 7 + ...b62bae7caac4e33545c6a6742d952fdb3f716.json | 7 + ...61c61d5d22e50089f7845f061fa3de96ee6cd.json | 7 + ...e30860ba2fb071b637d1378036f3c6e247ce6.json | 7 + ...3b6e6bfda05e1bcc18f5eedce322721fd0f11.json | 7 + ...8f7fe82e0784a7eaf7439674a2ce5d721f5d1.json | 7 + ...9e0b9e7fc4a9829d74246c73ee687003f55c4.json | 7 + ...6f985aeb93b9e3d56e7482c43bfec8af727c0.json | 7 + ...9df338ceeb01f13fcb332101d18d4b92d9aaa.json | 7 + ...32d7bbb4050e6abcad34a2ed86fe22115d7e4.json | 7 + ...b829737b7518eaa35af0f464a1c30b1d8188c.json | 7 + ...db579884ba2040c888a147998c37009b640c0.json | 7 + ...2133f2e9dfc9c370b5cf06960cebf554f89bc.json | 7 + ...c9f27b3dbc7146b8b05b44ef0a44c19d3d791.json | 7 + ...f416af19b6c58f366f5f192433405a55c73fd.json | 7 + ...2953a46bdb3d53ef397da2ace64651fe06b9b.json | 7 + ...f215417a0c02476e9c1dfd02b0ca7c8eb7dfa.json | 7 + ...5e1c656b210245026cc1158d8f150bba7d1cb.json | 7 + ...e2f954d91e3fcf598530e15c9339b4c958ceb.json | 7 + ...8bfb4b31342373a60bb8105806e09fedeb1c4.json | 7 + ...1645f6da7fd84f8406dbd23c831869801a6a8.json | 7 + ...dbba21121bac9e9d7b9753bd9236d541ac919.json | 7 + ...21427c3c4b64872b6cd6024f2888e90421880.json | 7 + ...d5e8ab535863d11610258a4afa0538e9b4a13.json | 7 + ...1aeb585959a9e50bf40621ec25a8bfa0c0e90.json | 7 + ...f91d99107bf7af640f524e5bf742df00b832e.json | 7 + ...ef24751630828f3ba6b2b5b4eceff0311332c.json | 7 + ...a9b375f038af93144e72927af83eede46ebd2.json | 7 + ...e47ac7f935070eb5d2d265a1b891f4197c788.json | 7 + ...5d9594ae7f819552f46cc759a9b5e8c52a03c.json | 7 + ...54633694cc63323d04be3e9e77ef600183888.json | 7 + ...0d50ae06bf0359b63ac17c3f15175991e7b59.json | 7 + ...b506d6fdc7cfa8ff1cc727602993b2f74fa51.json | 7 + ...6ea9963fc372988e9d633d18f6a271a329975.json | 7 + ...58c1ac6d857d10cac0dbe5d50caddcbcc220d.json | 7 + ...e3019b7a74a80f1cac6a9674e3b8cb7f5bf88.json | 7 + ...5f3e3265408c064e0afbba727637a2374c80c.json | 7 + ...af4cb469fef8d5f03cf24e71f23adc4a6a2aa.json | 7 + ...414f670374bcb89333dcbecccfcfdf726d39b.json | 7 + ...c078c91934e293859b8ba9d1ef1712b454fc1.json | 7 + ...7a16e2bd9de0268265a1256a7afd5b2385bea.json | 7 + ...c62a2d31f68ee8531bae59362bed66a2f9a7a.json | 7 + ...e875bda1242a3850e679f271b83b1e40d1695.json | 7 + ...7a7423f88b7927fd8e35d2fce5d726a57852b.json | 7 + ...33404b4081144f90273afa77f9a5897c74aa0.json | 7 + ...7c9c4836e51a2812d8a933a7e7014340d0b64.json | 7 + ...8c9b514b37807a5eba5800832d2fbd58bd013.json | 7 + ...e6d68673dccc95e40a29dafbb63815bc8ef04.json | 7 + ...ba5cabe21d8ab4daf26f23f45409e0336833b.json | 7 + ...1f26421ba6803c0c6bf0df1e517581e6e34a3.json | 7 + ...15ffab9e98833aa25d3a0e49a1278249b6043.json | 7 + ...939dca05733bdc9b4040b791b9e37eee3d370.json | 7 + ...52c3cb6e55916486fe917452296e90e61412f.json | 7 + ...89c09c4af5ef53448711ee21a6acee3d884a1.json | 7 + ...603739dfdd6938784a4a18cd3117bfc578ea4.json | 7 + ...ef743b320bec016912f286745e47631e2a639.json | 7 + ...bc63403eca433a01c6d95c885641c85b64a76.json | 7 + ...9dc3448bd2957d841f4fb12e1f09e25967f05.json | 7 + ...e9703c821daa8d76a784ef4219f321400a7b1.json | 7 + ...a4e13aca3699ab169cddb3c2538cb0bc8f920.json | 7 + ...1eff20822360a9c42dab5b8b246b69c401abe.json | 7 + ...f854f13a4b4055a7b06c23bb1c7c1d17202bb.json | 7 + ...ead56bbd23297dac302f672416eea897cd780.json | 7 + ...14d63926283be709a989caa0708700248833d.json | 7 + ...97c621108f7d2b8b361e899e421ad60dc39fa.json | 7 + ...930fc698231b7bde5eac79746a39aa01a0df2.json | 7 + ...f4d0945199d8775ec92790be25a640c85198f.json | 7 + ...606fa79ab16c1be706e97565a40637b59c30e.json | 7 + ...f96767c0bda484c6882d9e792efa122745fe7.json | 7 + ...82eb30d5bc2cd1b967ddbee53abcc5115be5f.json | 7 + ...60993de53ea2c0bfc068a3dc1d8305843a6cd.json | 7 + ...dbac4128f85d9db83a90781cf82622ee5406a.json | 7 + ...a3b9f4c06c09ca8222a9b1ef3e1a233d07159.json | 7 + ...569273d7cddfc248a64a52987ad5acd1f2b69.json | 7 + ...fce04013247c72facdc725bdaf51da4f21f42.json | 7 + web/public/bundles/shopware/findings.json | 358 +- web/public/bundles/shopware/index.json | 2 +- web/public/bundles/shopware/map.json | 21960 ++++-- 1174 files changed, 113989 insertions(+), 30991 deletions(-) create mode 100644 web/public/bundles/artemis/code/00dc77ef416526d5a5dedcb924e9b1784ad0fb70.json create mode 100644 web/public/bundles/artemis/code/00e444e656d2dbb021976ccd3d816faa8ef4f588.json create mode 100644 web/public/bundles/artemis/code/01a131323826882fdcde8033f32e52fcd5aa1825.json create mode 100644 web/public/bundles/artemis/code/02a56cee7bc55af9fd5dce07904f2e2dc86d912f.json create mode 100644 web/public/bundles/artemis/code/0484a5b1d8e0676c953d23e70eefdc99493ccfda.json create mode 100644 web/public/bundles/artemis/code/05377ed472f7bba98b9e71b4172681f6bac8a2d1.json create mode 100644 web/public/bundles/artemis/code/067bfc69ffd07564bca432a4d648980e5622b754.json create mode 100644 web/public/bundles/artemis/code/072a4f03e6bb414c7e13fe1e17aff8469886d0e1.json create mode 100644 web/public/bundles/artemis/code/09521b5b3d754ce8a80129cf2d3788867a1e9e4f.json create mode 100644 web/public/bundles/artemis/code/0aba1dbed31d17a46ac2b1a01294a723814ba53e.json create mode 100644 web/public/bundles/artemis/code/0b3b43c953811913d67407140b3c3349d602a41c.json create mode 100644 web/public/bundles/artemis/code/0b8ffc8371ad628a345c6d9c1dffba72761a29a6.json create mode 100644 web/public/bundles/artemis/code/0b9729d04e20aabe8fc0f9814626a6a2f2d6ed17.json create mode 100644 web/public/bundles/artemis/code/0c660341a913ba2203886f60ece995de70fadfb3.json create mode 100644 web/public/bundles/artemis/code/0ca4acbccda83bb4dc5be01978ff6bc3abf2e32e.json create mode 100644 web/public/bundles/artemis/code/0de8c293c32e13ee94e1b593c232b723f41a7bd9.json create mode 100644 web/public/bundles/artemis/code/0e738d99e21f0805c67cb6ba5d9db875f03b0ca2.json create mode 100644 web/public/bundles/artemis/code/0ed071cdc151f06e913c0190a9ef839ec875a8e5.json create mode 100644 web/public/bundles/artemis/code/0f3df0cb3df8382f116da5cbe5962b34fdef9e85.json create mode 100644 web/public/bundles/artemis/code/0f77ff0b196ba8a1f59e5e088eb2aab4e4dedffb.json create mode 100644 web/public/bundles/artemis/code/116e5837be09029e550c9cb5de80e0619e744c88.json create mode 100644 web/public/bundles/artemis/code/117914ac92f86b3b485e34c179909f493de8393d.json create mode 100644 web/public/bundles/artemis/code/11aad41b79c3876753a490fe61022a0a4ccb3d43.json create mode 100644 web/public/bundles/artemis/code/120e320c9020fb98d2f6de65f86294973af86209.json create mode 100644 web/public/bundles/artemis/code/12120d9986160193d762f51c050f778d95b0c7d6.json create mode 100644 web/public/bundles/artemis/code/12f70da5c39f8e92b41e2a60f217df4474a83969.json create mode 100644 web/public/bundles/artemis/code/137a4bd8fb8a3846df2f4ac3867b12c670894c8a.json create mode 100644 web/public/bundles/artemis/code/138e4f93958849b1edf05122b6778e2b0dda5b57.json create mode 100644 web/public/bundles/artemis/code/13b508ff4996bd9bf91f65d6ab377e76f96af031.json create mode 100644 web/public/bundles/artemis/code/13d3527b903ba4ef134c66b44caa96b2e2530e01.json create mode 100644 web/public/bundles/artemis/code/149117dec606487dd73b74a6fbfd0b2b882afe61.json create mode 100644 web/public/bundles/artemis/code/14c7cbb1e3355799faa95d3ebc61f4ec47742dd5.json create mode 100644 web/public/bundles/artemis/code/14fecac1c7b75606e36791c7b7b502235deef5b4.json create mode 100644 web/public/bundles/artemis/code/1504e9774ae6bca268feb1f2bf17f666a4188203.json create mode 100644 web/public/bundles/artemis/code/157f9a935331133ba7d367059b0ca98debf77dbb.json create mode 100644 web/public/bundles/artemis/code/15f27c9236b084ebbe2f5f3613372e742b08804b.json create mode 100644 web/public/bundles/artemis/code/16335bae7eedd8d309130746bb3073acb6387bc6.json create mode 100644 web/public/bundles/artemis/code/16b60fc828cb476610557bdf3aae589495010501.json create mode 100644 web/public/bundles/artemis/code/174a368ecbad5d54a4b4a8c8c488d85190c7dd01.json create mode 100644 web/public/bundles/artemis/code/189161d2bf6c0ebb1ece56b65f29c7d35701c307.json create mode 100644 web/public/bundles/artemis/code/1966807903307714867169251f9ead27f26d4ab4.json create mode 100644 web/public/bundles/artemis/code/19daafc9791e2cc10754da2682e93587d865ec57.json create mode 100644 web/public/bundles/artemis/code/1a787c9629e0374771e9edd0db6fb24c2793fe27.json create mode 100644 web/public/bundles/artemis/code/1a9a46952fba7608dda06b7f51131969b388c7df.json create mode 100644 web/public/bundles/artemis/code/1aad2620fa5496fe517f20ebf180d47593aaa4a9.json create mode 100644 web/public/bundles/artemis/code/1b67287490faaaf3df8407af58e31f4d69181f49.json create mode 100644 web/public/bundles/artemis/code/1bb7dbced36afd845a30d79d8064ff1d20033daf.json create mode 100644 web/public/bundles/artemis/code/1c3f76d31580e9c2a0188b6e00c8358bd0de9274.json create mode 100644 web/public/bundles/artemis/code/1c4a20ba9a16b30bd936c4e38d8e676bf40db19d.json create mode 100644 web/public/bundles/artemis/code/1c6496dd290bc0a78f0c1e184e58cff80b11014a.json create mode 100644 web/public/bundles/artemis/code/1c9daf4cef2e43e3a3e5f6f0b70d06ab8dddf999.json create mode 100644 web/public/bundles/artemis/code/1ca3c0ffc13f7ad7c74b1d6fda5908a83abebd7e.json create mode 100644 web/public/bundles/artemis/code/1d0425b528f6c19b57eb22bf94e85f0adfee8c0b.json create mode 100644 web/public/bundles/artemis/code/1da9b5583e6a14cfb549eef1c917480690824214.json create mode 100644 web/public/bundles/artemis/code/1f800902b586f714eab4744f5f4c86c39260c20a.json create mode 100644 web/public/bundles/artemis/code/1f9817b2533f1d315ba74cf1e82615d52f502070.json create mode 100644 web/public/bundles/artemis/code/1fb84fc38c51387a82af74aff429ebe5ef3ed8c8.json create mode 100644 web/public/bundles/artemis/code/21dcfd6b91a710c9de3469feb68427a6405d263b.json create mode 100644 web/public/bundles/artemis/code/22b011697364f743e47227410195b63d2d892a31.json create mode 100644 web/public/bundles/artemis/code/22e45565153e69f7234e89ac604f6c3ee7c746ac.json create mode 100644 web/public/bundles/artemis/code/239be7893b0c13d01e362ddcfc93ae2be60750ac.json create mode 100644 web/public/bundles/artemis/code/23a84f2aa424b9e76d274a01d6818d081201264b.json create mode 100644 web/public/bundles/artemis/code/24d53d4d986892d51ba4eab3837601e9193c33a3.json create mode 100644 web/public/bundles/artemis/code/24ded6b7c0df626be045d8909a1a0ab255eabeca.json create mode 100644 web/public/bundles/artemis/code/251f471dc03c60440957a96ae62610186418b4e7.json create mode 100644 web/public/bundles/artemis/code/2538862b7cafbbdfe979eb7262be9f63454277d1.json create mode 100644 web/public/bundles/artemis/code/25c8d36209f2c1210aa45df737101eabef489e95.json create mode 100644 web/public/bundles/artemis/code/26d8f3e0c922d8e0e801f3b81780fd37ba7b9a33.json create mode 100644 web/public/bundles/artemis/code/2a040a6925a95cfe6fcdfd15c55b527140b4988d.json create mode 100644 web/public/bundles/artemis/code/2a3ce22311608b4d1754208624fb7b10c7177f05.json create mode 100644 web/public/bundles/artemis/code/2a7cf4f768f5bbe943ec2767dc5cbfc4bf482d66.json create mode 100644 web/public/bundles/artemis/code/2ac35e779fb9845ec3c2a1f6dee186a284f19d2b.json create mode 100644 web/public/bundles/artemis/code/2adecfe7679becc74defcea23b3af9bfd48ebe93.json create mode 100644 web/public/bundles/artemis/code/2afcbfe023a296578ae1c9dd6195b276dabf960b.json create mode 100644 web/public/bundles/artemis/code/2b24ad63f5ebf4429000f58bab4d824b194446c0.json create mode 100644 web/public/bundles/artemis/code/2b918ed65a2bca7d54945c92f11873a7f70fa23e.json create mode 100644 web/public/bundles/artemis/code/2bc9d9a51fb1c821255e6f7e84ac7d0845f1637b.json create mode 100644 web/public/bundles/artemis/code/2c44863431831beea1753647f0ac026e18dab26c.json create mode 100644 web/public/bundles/artemis/code/2cf984485b1a2358ab250a9c8c96c11c6ebf06f9.json create mode 100644 web/public/bundles/artemis/code/2da835acd24b4fefed7af6fd26e7906676136f5a.json create mode 100644 web/public/bundles/artemis/code/2e53353a809d778e59b5b59748d01098be332f1a.json create mode 100644 web/public/bundles/artemis/code/2ee9c3f9c78f3075cab7919f8e77314d8fc10d92.json create mode 100644 web/public/bundles/artemis/code/2fd7aac38b7d4953c35d80aa45c7268057a5621b.json create mode 100644 web/public/bundles/artemis/code/2fe74047cfd0a4351d084408c4792d7561bd9170.json create mode 100644 web/public/bundles/artemis/code/3021ce179b8d3e17d27b18ceef4595bbf518c15d.json create mode 100644 web/public/bundles/artemis/code/3023fe4cc47e1d1eeaaf56c2296f52964ffdfc6b.json create mode 100644 web/public/bundles/artemis/code/302fc80c1199aefb6a7eb16622fe377c2990b451.json create mode 100644 web/public/bundles/artemis/code/305a4e698e0874ae5e3dc65bfb015b3c38ebdc9b.json create mode 100644 web/public/bundles/artemis/code/30da753a97eb724e16694c90c0554c29fc1e9ec9.json create mode 100644 web/public/bundles/artemis/code/3177aa97fdbe6744f90d890ed347f3be999a57e3.json create mode 100644 web/public/bundles/artemis/code/3215184ae62bb7274e6012898b63c8071646ff81.json create mode 100644 web/public/bundles/artemis/code/32449aa118295befbf17de810906cff8dfa156e4.json create mode 100644 web/public/bundles/artemis/code/337e9cf9b64e111d5eed9fa83460583e1368d43f.json create mode 100644 web/public/bundles/artemis/code/339bd59fe07e8973e3589e81b9c9b299ee081af3.json create mode 100644 web/public/bundles/artemis/code/33cf2f2b53925c97dd0ae20e92bf805c367c0c59.json create mode 100644 web/public/bundles/artemis/code/3507367cd5ee1363f3daca536083880c4004a4a1.json create mode 100644 web/public/bundles/artemis/code/351a3c1206d8e398d49a2f27fef71865846e6687.json create mode 100644 web/public/bundles/artemis/code/355c9a3276324c073a4f7d558dc59c73461b143f.json create mode 100644 web/public/bundles/artemis/code/356ec34da029c7d2cba62c3029aec7ba626a46d3.json create mode 100644 web/public/bundles/artemis/code/35b9ef34ee96b545d32dbdab364d5ad5e632c9c5.json create mode 100644 web/public/bundles/artemis/code/35ce887c47c9d830af677af11e3812176431a127.json create mode 100644 web/public/bundles/artemis/code/3682ff14a5ed2b86ad5920e32b027cfe6c31a977.json create mode 100644 web/public/bundles/artemis/code/369ac62eb859c3dd1db562e33c1b00889cb8b70e.json create mode 100644 web/public/bundles/artemis/code/37598a227494a373853e53bcd4cead48cc983581.json create mode 100644 web/public/bundles/artemis/code/37ab8f2791d7aecf206527f2ae7fbc3035ceb0b7.json create mode 100644 web/public/bundles/artemis/code/385cb5ce2de2f7f4403b41021fd1c38ef0ba4927.json create mode 100644 web/public/bundles/artemis/code/38ca8a86eeb25427f13bf98a17ec39c54f6bc0d0.json create mode 100644 web/public/bundles/artemis/code/39c68f8d206abc9d79d628139846ebfa5e2f6c35.json create mode 100644 web/public/bundles/artemis/code/3b0d7b4ee914ee500080fcfc418ec83aceab7e6d.json create mode 100644 web/public/bundles/artemis/code/3be40703cb6a0df4e382c179be4cdd60c9655db4.json create mode 100644 web/public/bundles/artemis/code/3c2b5bff49f8475e7ece884aa8e3d107a3654c4f.json create mode 100644 web/public/bundles/artemis/code/3d96e5ff740c05e979d4e7d44bcc513e9de80c21.json create mode 100644 web/public/bundles/artemis/code/3f9053f26470f3537a68a86e6f59c3944e678a9a.json create mode 100644 web/public/bundles/artemis/code/4050bc4522a2ef8f4f0cf8c841d98b7d4c0b84af.json create mode 100644 web/public/bundles/artemis/code/406e1b03c43503455fd4efc7531bd2f6c562a4d4.json create mode 100644 web/public/bundles/artemis/code/409587f99e306079ef194d9c17f7ce9da6651e0a.json create mode 100644 web/public/bundles/artemis/code/4106e9e4ebf27c3eaac011b87b1d5649a45b999d.json create mode 100644 web/public/bundles/artemis/code/4161db87aab40183c03048fbc0e8f4fd5f1b26fa.json create mode 100644 web/public/bundles/artemis/code/41a399b6172210dceb5d6fc5aac6045eb22e0b3c.json create mode 100644 web/public/bundles/artemis/code/41ee1885cad9c3bd0ad65f169d8a18d3e3bd5789.json create mode 100644 web/public/bundles/artemis/code/425a38eac1d15c46b46ff069b181d02283b18e22.json create mode 100644 web/public/bundles/artemis/code/42ce4f434056ceed29f9a9124ff9f6d40da06563.json create mode 100644 web/public/bundles/artemis/code/43a6179152fc9184511a43bb07d67b9e183fe036.json create mode 100644 web/public/bundles/artemis/code/43fbdbb9ecb7fc569325c09206100b0fd9061dbe.json create mode 100644 web/public/bundles/artemis/code/44013e5ac2538e30b1f5aae66dd623350d75c0ce.json create mode 100644 web/public/bundles/artemis/code/441ecaa7ef13b0a2004a9c3adc6ca5f646a00bf0.json create mode 100644 web/public/bundles/artemis/code/44a79fd56b9b01d94a6d96fb0975df614a6eafb9.json create mode 100644 web/public/bundles/artemis/code/44fe17008fb10cf3b4ff4fde9ca78cb40b9d8aae.json create mode 100644 web/public/bundles/artemis/code/462d26f9d14fd086505f0a6fb38aaa49d5790586.json create mode 100644 web/public/bundles/artemis/code/46739f0ba0cc81552fe09569182614ad23c4772c.json create mode 100644 web/public/bundles/artemis/code/471e94d168fceb2fe8ab2b8f4601b7cc0fb15ec5.json create mode 100644 web/public/bundles/artemis/code/479edde689e043f8dc79b769d66e59d0a74cae34.json create mode 100644 web/public/bundles/artemis/code/4983a7552d5cacb0ff88c54deba4e949e6ba2a2b.json create mode 100644 web/public/bundles/artemis/code/49b95fedcbc60c1e245c88155bdb17080d566b7b.json create mode 100644 web/public/bundles/artemis/code/49bec32cb61dfa748427bbb8fe53c279c742dca6.json create mode 100644 web/public/bundles/artemis/code/49d0a60ff25db1ff163966216e8ee82e97d9640f.json create mode 100644 web/public/bundles/artemis/code/49df9ce4774c692152e49c24161ddee50b10fb1d.json create mode 100644 web/public/bundles/artemis/code/4a073be8d77aeaf1396c617052b4704e658b2b3c.json create mode 100644 web/public/bundles/artemis/code/4a52e6d4f43951232bb9bfc4452f385fa070b5a8.json create mode 100644 web/public/bundles/artemis/code/4c95f53f2b8d457064a459472810fd8ef32be232.json create mode 100644 web/public/bundles/artemis/code/4ccf924c245450536ca725081d6ab2a36d9c6a2b.json create mode 100644 web/public/bundles/artemis/code/4cebd008c8a2704e329e983f195250f346a53443.json create mode 100644 web/public/bundles/artemis/code/4d3e3d417159ac32b6a7fcd10c14b77dc152f56f.json create mode 100644 web/public/bundles/artemis/code/4ee9a6fbbe515ddd6fa1e8592372a425ad8d3de8.json create mode 100644 web/public/bundles/artemis/code/4f23fed0a8bd47d58f2120c701683399f32856ce.json create mode 100644 web/public/bundles/artemis/code/4f7124811ac8f7b17229179f23d7236f8013301d.json create mode 100644 web/public/bundles/artemis/code/4f95861bb05acfd4aac4b5ae7a85a3a809c6ad4c.json create mode 100644 web/public/bundles/artemis/code/4fcd72001958ce890ef3c983996cb1e1f48df341.json create mode 100644 web/public/bundles/artemis/code/5108dca04ea1d7f1d45e887637dd0bb086df6c1c.json create mode 100644 web/public/bundles/artemis/code/517fd7b1919ddce59ff00a6000d4a3394b500dbc.json create mode 100644 web/public/bundles/artemis/code/51f1f77ae4efa832e7ba79412d0d493ddd1347fc.json create mode 100644 web/public/bundles/artemis/code/524db7bba72db30a2c367e20c3339fa8abcc40b1.json create mode 100644 web/public/bundles/artemis/code/5450ef14dff642ac1ce88449604465856d30b259.json create mode 100644 web/public/bundles/artemis/code/54d840638381e321ac507fd939e5abcc4d8e6ca4.json create mode 100644 web/public/bundles/artemis/code/55318d6296c76db480a4782aadc6a7d11fd5f200.json create mode 100644 web/public/bundles/artemis/code/55a2149d11e73b9621dae614ec781530569d9bcf.json create mode 100644 web/public/bundles/artemis/code/56aa3f1596f0cb219836c9556e970cec6d834170.json create mode 100644 web/public/bundles/artemis/code/574b0b921af0f6af7ee80e5e797b41416f319f61.json create mode 100644 web/public/bundles/artemis/code/579a380dfd85835621c6bfd70c417a4d34b7209d.json create mode 100644 web/public/bundles/artemis/code/586e9f76938fff1efbe27d1e1889dace0afd5787.json create mode 100644 web/public/bundles/artemis/code/58bfb57ab98ca0b6cf53714a96698d27c57d2ff3.json create mode 100644 web/public/bundles/artemis/code/596b4d42d44d51cb3996d14ff85dac5801169007.json create mode 100644 web/public/bundles/artemis/code/5a2b24f56e5e50a8af01ee2561f82d5be55992b7.json create mode 100644 web/public/bundles/artemis/code/5a3a2833c2c2280d2dc13b97ca91ea57b5e245b3.json create mode 100644 web/public/bundles/artemis/code/5aa35cbce54d26b4db9e8c38ca0959e960cd61e4.json create mode 100644 web/public/bundles/artemis/code/5b2f834712e40414d28bd5465f48b866d4cd61c5.json create mode 100644 web/public/bundles/artemis/code/5b5b69a607559f8a3f061ea9e8a63bf14c949f51.json create mode 100644 web/public/bundles/artemis/code/5b76fe0ec6bb471eaae29915f8021a45450978ca.json create mode 100644 web/public/bundles/artemis/code/5c4c908a735084e57fcf7706dc865cf7884c7c14.json create mode 100644 web/public/bundles/artemis/code/5c6ee5b230e4a41f69e6511e497e907afe361d54.json create mode 100644 web/public/bundles/artemis/code/5c93a462e0e1d23260512891690d91dd28d7ec3c.json create mode 100644 web/public/bundles/artemis/code/5cec781ad97e57b02fd2efe4f33d0e5801bc760e.json create mode 100644 web/public/bundles/artemis/code/5d0efc22ca8f3cf5d1946463f269b78622dcdcd4.json create mode 100644 web/public/bundles/artemis/code/5deefa5ca9bec1a819268ec8c8d320cc352feecb.json create mode 100644 web/public/bundles/artemis/code/5f402d406e2788aa8abbfb20f7368dd6867f4ebe.json create mode 100644 web/public/bundles/artemis/code/5f66a5f939c428bb5ae0784e313d2f63dec431f2.json create mode 100644 web/public/bundles/artemis/code/5fbb39666a9c9478b97066fc58685fc288f8c340.json create mode 100644 web/public/bundles/artemis/code/5fc2526a72a44cce9726d8cc9059fbccd9e0a8ae.json create mode 100644 web/public/bundles/artemis/code/601c8320ae6c568a71c9d6ef84ec3cfa76bc3f2b.json create mode 100644 web/public/bundles/artemis/code/60211250eb5c6938a1bd6313ec553b2f15bea7c5.json create mode 100644 web/public/bundles/artemis/code/60ffd5ca6f0c3b791262cf78af97adb83df4742d.json create mode 100644 web/public/bundles/artemis/code/61928fd72db9526a0be75ed343c331ef0e152346.json create mode 100644 web/public/bundles/artemis/code/61ed07d77012db8a22c7aa1922fa5c045f14a998.json create mode 100644 web/public/bundles/artemis/code/631fd6706d29951a065b50a92d907272b91c4d1c.json create mode 100644 web/public/bundles/artemis/code/6335f1e9b57a2787cba7074d1329954ee74b8a6c.json create mode 100644 web/public/bundles/artemis/code/638d0634eb061cf1f216b245906a1708788cbb9f.json create mode 100644 web/public/bundles/artemis/code/63ccf778d263bd992bf91f1ca305314c97601c93.json create mode 100644 web/public/bundles/artemis/code/64670529422681993a67319c85f4356618cfc389.json create mode 100644 web/public/bundles/artemis/code/658ecc49e852222a23773b9ed90cb6d39578e1b9.json create mode 100644 web/public/bundles/artemis/code/65a6f85ed30db8543bd0e151d452801cd8cfe4a8.json create mode 100644 web/public/bundles/artemis/code/65db0b0958b5af06f1f692697fa9654ade80a639.json create mode 100644 web/public/bundles/artemis/code/65fabcfcf412208aa77cce4e4496a30fe11edafa.json create mode 100644 web/public/bundles/artemis/code/660935332b4f5b0fce29119f024fb959fe31f9e1.json create mode 100644 web/public/bundles/artemis/code/6648cfb857c671389389c3fc84b732b4d6bd105f.json create mode 100644 web/public/bundles/artemis/code/66508dd284c76e0884a2a87b7c67655059c6f18a.json create mode 100644 web/public/bundles/artemis/code/681c5299b306fba631e13515f5bcba34bf001eb8.json create mode 100644 web/public/bundles/artemis/code/68f00067bbbfeed59b609794144640eb2f98c944.json create mode 100644 web/public/bundles/artemis/code/6917d0d34c6effb7ec2f380c3311e98cd417d3e9.json create mode 100644 web/public/bundles/artemis/code/69d1b93f9777e867405c741f9ac41bbc9ff9bc04.json create mode 100644 web/public/bundles/artemis/code/6a2685c36db0c05d6c9ba4b8f7f155bf72808f6a.json create mode 100644 web/public/bundles/artemis/code/6a5ac0f18473d95a1fe48e37cf24ab53227ad40d.json create mode 100644 web/public/bundles/artemis/code/6a720b59a7572bd217ea818c735bc97c46f5f233.json create mode 100644 web/public/bundles/artemis/code/6ab3e43612563e49556a686f38fb718cbf8abd44.json create mode 100644 web/public/bundles/artemis/code/6abc3a95115652566ae5cd6b2f13294aadcb3da1.json create mode 100644 web/public/bundles/artemis/code/6abd3fc016010e4d0105fa8ae499e363cb9d69de.json create mode 100644 web/public/bundles/artemis/code/6ade31f89f0f336ef3719a7d0abcb80d3a8ebdba.json create mode 100644 web/public/bundles/artemis/code/6ba99604909c5c135620aaf4c348536f92bd6899.json create mode 100644 web/public/bundles/artemis/code/6bd2f9b97708e6ada577b000317ddec7d568bb31.json create mode 100644 web/public/bundles/artemis/code/6c66e28e6c8463df86e171dc125c3f253376d49a.json create mode 100644 web/public/bundles/artemis/code/6cfb4b5c79b3ee22d2904f073a4668c948bd514a.json create mode 100644 web/public/bundles/artemis/code/6d18da7c1eba363622644a5f9642ec38043ae53f.json create mode 100644 web/public/bundles/artemis/code/6d90da78d8b0ca70613b0ea505b1ac9860719baa.json create mode 100644 web/public/bundles/artemis/code/6db29e1bc491fee78a9b68ab858415f7b90c8fa0.json create mode 100644 web/public/bundles/artemis/code/6de41d79b0339893b4e53f9af18bdd2f2f85c768.json create mode 100644 web/public/bundles/artemis/code/6df48e075b0d61de462a94e18d1a5ffb7a67d538.json create mode 100644 web/public/bundles/artemis/code/6e3153e4b7ad9358945a8a5fb39a934a36ce4737.json create mode 100644 web/public/bundles/artemis/code/6e734ae4db31dfbd9f7142682125c251186ca2d2.json create mode 100644 web/public/bundles/artemis/code/6fc5953927763cf389e85233abcdc1aca884fa58.json create mode 100644 web/public/bundles/artemis/code/6fcd034c38be013a3de9f996dd362533f361a523.json create mode 100644 web/public/bundles/artemis/code/705229f57fd4eb2e4393df8abefa985e9c220b2d.json create mode 100644 web/public/bundles/artemis/code/70aca5e3b98e041719a2490237f1b2906bef4937.json create mode 100644 web/public/bundles/artemis/code/70fe255a87fb968e4c02d017f8b14eeec49130da.json create mode 100644 web/public/bundles/artemis/code/7102e9e157e1f8c59e9edc4ec3d18bc68fc0412c.json create mode 100644 web/public/bundles/artemis/code/72ae4b745e3a2d0f25e37b20647b869fef8c04b7.json create mode 100644 web/public/bundles/artemis/code/72cf726752c5c0cd9885105e1b4e2b0010a7b8fb.json create mode 100644 web/public/bundles/artemis/code/73612eeb5f9243784c618d1a9740b47a399a7f0e.json create mode 100644 web/public/bundles/artemis/code/737af7ffd8d48905b019e1bb2f68a7e68dd87a70.json create mode 100644 web/public/bundles/artemis/code/7448641ac53008df7d18fb4d504363ff3730d5ff.json create mode 100644 web/public/bundles/artemis/code/75b476d5c1edc66a768ed4e6665ae5a4b8a65afc.json create mode 100644 web/public/bundles/artemis/code/77572cecad016b1cd1b4d1024f24201f67b85193.json create mode 100644 web/public/bundles/artemis/code/77c2455e9701cf28530618525001f9468e075e81.json create mode 100644 web/public/bundles/artemis/code/784f7a29932605eab6f0f902421c056887a6726e.json create mode 100644 web/public/bundles/artemis/code/79197ba14f1d9571caf70e6ad917c2686d1ab7ef.json create mode 100644 web/public/bundles/artemis/code/7960929cb984af35fc99c15c1f71d8cb0be40499.json create mode 100644 web/public/bundles/artemis/code/7970ee990e19ce5113452c2d7f3c9e7306b5c1e3.json create mode 100644 web/public/bundles/artemis/code/7a14118657a4b52e0b162f5c61b8dde9b2dc0879.json create mode 100644 web/public/bundles/artemis/code/7a1aa4d44e8988352f2f3fd85919c67692d08238.json create mode 100644 web/public/bundles/artemis/code/7ad127fe081102c406c734e7f761b357c78010b5.json create mode 100644 web/public/bundles/artemis/code/7b9f3152191d41a393adedfd760b452d84ce9bf2.json create mode 100644 web/public/bundles/artemis/code/7cf3972ea005b0969ceba37dc2a710e94250169c.json create mode 100644 web/public/bundles/artemis/code/7d062dcd08c45086300ae95d0812dbf315230fb9.json create mode 100644 web/public/bundles/artemis/code/7d9959c32e32fd8f77e5b21e654f0c8312924dc7.json create mode 100644 web/public/bundles/artemis/code/7ed496226a4fd922bd173ea51bee3fdaaac32a3f.json create mode 100644 web/public/bundles/artemis/code/7f184a21acbba585a8345fa8c00b160957078515.json create mode 100644 web/public/bundles/artemis/code/7f96ccf7a5a682bf00d1c1ca51ef42dd84928659.json create mode 100644 web/public/bundles/artemis/code/7f9d60b6c3dcaf31e652c3d11784310efa65af2f.json create mode 100644 web/public/bundles/artemis/code/81f59dfdd0a598af7718ba2761f98b91f0d957c3.json create mode 100644 web/public/bundles/artemis/code/820dffacdc090a6f16a714a850b7d050be5339ae.json create mode 100644 web/public/bundles/artemis/code/82372996793c667df0ca1e5f9f4dc6a1d2166899.json create mode 100644 web/public/bundles/artemis/code/823f07c876682f9ada0382be8400dd0346366749.json create mode 100644 web/public/bundles/artemis/code/834645139793d1c1358af8150144179f7f928ef1.json create mode 100644 web/public/bundles/artemis/code/83c9cda407d56927f9c64f2d4e33ad37c2baffe9.json create mode 100644 web/public/bundles/artemis/code/84b527ed8e10bde1520ab8255b8a043a49bf34ea.json create mode 100644 web/public/bundles/artemis/code/857645c9f831f92ea0e1afce40e263807d77660f.json create mode 100644 web/public/bundles/artemis/code/881f9dd291fd6749199209ba149e3029a03183be.json create mode 100644 web/public/bundles/artemis/code/883ef8277f4ef7c3bbc3f26bad89b54f699cd70e.json create mode 100644 web/public/bundles/artemis/code/8a418e910752f81eee5753b491527a43d026b0a1.json create mode 100644 web/public/bundles/artemis/code/8a5f57573b1fcb021b491c5f40820e2c09c2151f.json create mode 100644 web/public/bundles/artemis/code/8cb25a386381ce31a38e6dbe4d7878db87a59702.json create mode 100644 web/public/bundles/artemis/code/8dbbf527a160fee149595b7ed86808259c759f3c.json create mode 100644 web/public/bundles/artemis/code/8f0c83eaf20b35ff119060a0ca49c00f28662f5d.json create mode 100644 web/public/bundles/artemis/code/8f3c4f9d3e38bc1ef7ea7aa1a3173c7b3844508a.json create mode 100644 web/public/bundles/artemis/code/8f422f8fa6723177dbf0e5e39af046fc3535f41c.json create mode 100644 web/public/bundles/artemis/code/90a6f43918ec723ae0056a9fd7e78db7a573fc65.json create mode 100644 web/public/bundles/artemis/code/929b66d31337bdebc658368ff961767860d175b7.json create mode 100644 web/public/bundles/artemis/code/93c66f1b8064940e2ff3406d795018e4e57a1008.json create mode 100644 web/public/bundles/artemis/code/9436fbfe1b5a7a3c55b599e465e6ee10a156f4dc.json create mode 100644 web/public/bundles/artemis/code/943a1d74db28661f2246605185ecdb3016899ddf.json create mode 100644 web/public/bundles/artemis/code/94b4922c7ea7f86c4a509cec8e8dbdc41912cb74.json create mode 100644 web/public/bundles/artemis/code/953d23de97c855ca6a191293a211a365a0747a84.json create mode 100644 web/public/bundles/artemis/code/95758443b29ca7b48a4b6b5b84b0636cbed328e0.json create mode 100644 web/public/bundles/artemis/code/95e0cd3311d43a1242065a468cee3c3f7e7e0dc3.json create mode 100644 web/public/bundles/artemis/code/964018bb668b789c8020b8d2c8a09b0b3e8f3c39.json create mode 100644 web/public/bundles/artemis/code/967cbe66bedb2c74849ff6dbbd4226012bfc91b3.json create mode 100644 web/public/bundles/artemis/code/97073e83f97d0b826d861ce5215def800b3076a2.json create mode 100644 web/public/bundles/artemis/code/9795a93da9440da35d921450675d2c2ec8b99cd6.json create mode 100644 web/public/bundles/artemis/code/98187850756d814eab564d202c13f51cfdc97984.json create mode 100644 web/public/bundles/artemis/code/98475a419b3fb6d2db428d201c0fb2edb9062c4d.json create mode 100644 web/public/bundles/artemis/code/987968b529c80d86b9e1f92f44ba7dfad4b0192e.json create mode 100644 web/public/bundles/artemis/code/998e51d18087139d3c0beea319ea7139bfef0342.json create mode 100644 web/public/bundles/artemis/code/99ad36b771c9a646bfa42afc10c1110246d15bc4.json create mode 100644 web/public/bundles/artemis/code/99cf68367ebfb80391cc39a578f9eb1e17602cf3.json create mode 100644 web/public/bundles/artemis/code/9a3483c2e50ffbf4ab13602cdd465b4d38578844.json create mode 100644 web/public/bundles/artemis/code/9a4943323f2117e239709509d75a0b145157bccd.json create mode 100644 web/public/bundles/artemis/code/9afcc329040728b9f1e9e1f3e1a64ca094c0e13b.json create mode 100644 web/public/bundles/artemis/code/9d49b9e2701c61a4cff5d5ddce9d87d75951484e.json create mode 100644 web/public/bundles/artemis/code/9db7c0796f7a04d0726eb03155cc60c288d79d0e.json create mode 100644 web/public/bundles/artemis/code/9dd67a62eb9e5e6cf8a44b6611f597f451ac46dc.json create mode 100644 web/public/bundles/artemis/code/9e3f5fd13d7db3769d264bf97e13d365ef01d68a.json create mode 100644 web/public/bundles/artemis/code/9e40620232f18e60bc3a1487e733d512cb8eaaa6.json create mode 100644 web/public/bundles/artemis/code/9e40e47bf87dfc347434e285906d28ef52a5ac23.json create mode 100644 web/public/bundles/artemis/code/9e6779dc8d0e952d5883754c4b66df098fcd0438.json create mode 100644 web/public/bundles/artemis/code/9e82b09fa3ed89d18afea98a0beecd8b0ff2d935.json create mode 100644 web/public/bundles/artemis/code/9f0d69fb058cf2bd70ee90b7945e0273a9d6337a.json create mode 100644 web/public/bundles/artemis/code/a0c6f33143f7c8eefee8f704546614d36e42c8e3.json create mode 100644 web/public/bundles/artemis/code/a0dcdeddc4e7ff86c9b3352ef16415fcd91d31b7.json create mode 100644 web/public/bundles/artemis/code/a14ac5c2524d22eb32560015e8712e5fbacf4deb.json create mode 100644 web/public/bundles/artemis/code/a1506408b3ecf8ca9820d54d24704794d041f2b8.json create mode 100644 web/public/bundles/artemis/code/a22056d204949a5ca7232b3f05ab0c6da330d88a.json create mode 100644 web/public/bundles/artemis/code/a2ad4c2bbd9a4ed2cffc9936a488f7217d8c0556.json create mode 100644 web/public/bundles/artemis/code/a354f1e34620da2ba3c33ed1a1c2c3d937f9cccb.json create mode 100644 web/public/bundles/artemis/code/a4017e35d0c6c744e203a36660c553bc3c066abe.json create mode 100644 web/public/bundles/artemis/code/a561f8892112ee0fe6ce574157e89e3f2164e3d5.json create mode 100644 web/public/bundles/artemis/code/a56d14d0c36c3d8739966b96acb7af1de7ae8125.json create mode 100644 web/public/bundles/artemis/code/a640d614512e3947adcad753d32cbcf3e8b3cae4.json create mode 100644 web/public/bundles/artemis/code/a730aabffde20b56b2527affa36aaf23741faf77.json create mode 100644 web/public/bundles/artemis/code/a78297bb639dd5d8fc2690fce3354067c482b5a0.json create mode 100644 web/public/bundles/artemis/code/a829c67c0d1cadfda83cad05e076c864b9f73b35.json create mode 100644 web/public/bundles/artemis/code/a8abe1ec00d5e121656ace58fc4f910244aeb297.json create mode 100644 web/public/bundles/artemis/code/a8dc9c2e7ee9beb8508d8813f6e29674bf05e44c.json create mode 100644 web/public/bundles/artemis/code/a9ccf4c447d2aa5710ebaa67fedfc56c137f012f.json create mode 100644 web/public/bundles/artemis/code/ad063add6daf0c7ca5365c51649b50b0c3f1a6d2.json create mode 100644 web/public/bundles/artemis/code/ad7de7799ab9844fe08c7b7ab1eb37e9f23ec3c2.json create mode 100644 web/public/bundles/artemis/code/ae1f59cbb7bde6f3c5a923489a51c93a70141b63.json create mode 100644 web/public/bundles/artemis/code/ae4331ea6caa0d379561a5b683cbdeb3fe8f5ce1.json create mode 100644 web/public/bundles/artemis/code/aec0d906c3a1c719f8cb6e9c5dfd0b3ba01a2d51.json create mode 100644 web/public/bundles/artemis/code/b05bd1d35a0763a2a07c094ecf3607c5703d515d.json create mode 100644 web/public/bundles/artemis/code/b18a5c7aa605b9ecfbc2541b0a47a508b1092db3.json create mode 100644 web/public/bundles/artemis/code/b19d2de71dea039371e0c5b7d5280561300113dc.json create mode 100644 web/public/bundles/artemis/code/b1e5e9f95eccb7632b431807953c17750b65e139.json create mode 100644 web/public/bundles/artemis/code/b2d65ef296e3e3839ba0746fe4d107c3a10423d8.json create mode 100644 web/public/bundles/artemis/code/b2e9ddc435f7831a07e2d0e8f30ee5a19a8de0a0.json create mode 100644 web/public/bundles/artemis/code/b30b4d896cbed9e9fbcb51a40ce10bf3fcc52fbe.json create mode 100644 web/public/bundles/artemis/code/b34083e1b0a8135ff529ac448c10e4596d65a6ee.json create mode 100644 web/public/bundles/artemis/code/b349f983dcaad12550526d0b47490ee2238a96d3.json create mode 100644 web/public/bundles/artemis/code/b529b75e55a974e604b3673b464733e19cc46bef.json create mode 100644 web/public/bundles/artemis/code/b63f64505c0b63725753fd213f139eca397604cb.json create mode 100644 web/public/bundles/artemis/code/b845e457abd07d87b1f25c15a962860e87ff3fad.json create mode 100644 web/public/bundles/artemis/code/bb6966452fef1da9517e6cb5aff8f66aeca8b065.json create mode 100644 web/public/bundles/artemis/code/bb727d0b96dd0b7681a2c484eb19dea6c05b8049.json create mode 100644 web/public/bundles/artemis/code/bb87f35a842949f4d3992c3d0c9e67d7783eebf7.json create mode 100644 web/public/bundles/artemis/code/bbc6d72cf721b8fce5806b6db17044efbaf15db5.json create mode 100644 web/public/bundles/artemis/code/bc262a37b1507df654b5d14da12560b6e1bb5744.json create mode 100644 web/public/bundles/artemis/code/bc2c1d801843d03b67d81823e24ef11fbadc693c.json create mode 100644 web/public/bundles/artemis/code/bc4ab9ddbc601b5d9af7db702921cc6230f73c7c.json create mode 100644 web/public/bundles/artemis/code/bc909cef7ef0144d86b2cd034dccd9a566851075.json create mode 100644 web/public/bundles/artemis/code/bdf0a356539fa0d4a11c66be12aae77e602ed9a5.json create mode 100644 web/public/bundles/artemis/code/be2eeee76cf5a9a9fe1ad696e53c9a49c6f05a08.json create mode 100644 web/public/bundles/artemis/code/bec38aa65e70c89e9ff0b28068f9876ccd12ac16.json create mode 100644 web/public/bundles/artemis/code/bf36ca7637023dcb542cbf18c9ed4fa3ba2a5b9c.json create mode 100644 web/public/bundles/artemis/code/bf5a8e10cbb05ed9e1a79982e491ecfa0eb5816d.json create mode 100644 web/public/bundles/artemis/code/bfccb05185ae15c5656bdc4a65e67f4e42ac51a7.json create mode 100644 web/public/bundles/artemis/code/bfd8eec837797c5f82717c96a536fe57a4614f98.json create mode 100644 web/public/bundles/artemis/code/c04b3dd95a4039d4db2cb777e3f9953222d5f367.json create mode 100644 web/public/bundles/artemis/code/c13008b726b0323c0a830de3d9cf798e43d32d6f.json create mode 100644 web/public/bundles/artemis/code/c155a0d5080cddad71d021be32ffc0b1e42216b4.json create mode 100644 web/public/bundles/artemis/code/c15f9f24289b5e343afba8e92ad5c25071794ffe.json create mode 100644 web/public/bundles/artemis/code/c1ac5901e85f7295fdd6166b6e87144546a6e1cd.json create mode 100644 web/public/bundles/artemis/code/c1ad7112c6cd74dd249ad98817a5e9686598f3fd.json create mode 100644 web/public/bundles/artemis/code/c277ee4ca7cace6c531eb40d2778b59be8acae69.json create mode 100644 web/public/bundles/artemis/code/c33df2d7ceedb62029127f61d66339bfe9f6a244.json create mode 100644 web/public/bundles/artemis/code/c393db981ecf471365de85b3d09c9659b2d3e1ba.json create mode 100644 web/public/bundles/artemis/code/c3c39a40cc4ab29fc8222fcc0b6d1c3f4e6d88d8.json create mode 100644 web/public/bundles/artemis/code/c42ff1376d5a09f32664fe863ecbccba4153b5ea.json create mode 100644 web/public/bundles/artemis/code/c46089d4cb99968b3a8a8555b61d57182bc8be1c.json create mode 100644 web/public/bundles/artemis/code/c49f51239fca8224a521fcb466c6ac10ffc05bc3.json create mode 100644 web/public/bundles/artemis/code/c4b0af4b1d50a83ddf5d185cdbe46ad1e4303585.json create mode 100644 web/public/bundles/artemis/code/c4b1ee2b6e4a853d07909b1226526bbcd66638b9.json create mode 100644 web/public/bundles/artemis/code/c4c0ee493df9059e97edf709aad88e296e329876.json create mode 100644 web/public/bundles/artemis/code/c5c6ecd97067517465d49c97bac023df8e486f11.json create mode 100644 web/public/bundles/artemis/code/c6ba6d7140fff6d1214f688bf866dcfe6259956c.json create mode 100644 web/public/bundles/artemis/code/c83c5713d8807c6c7d9a07f7ca8f63fb046ae8c2.json create mode 100644 web/public/bundles/artemis/code/c85fe0651727d41ad9785c3f22c7f6403c146735.json create mode 100644 web/public/bundles/artemis/code/c894b7eb060caed988b92a8e1727b769955e7a18.json create mode 100644 web/public/bundles/artemis/code/ca2f106ccd864dcfd059eb61bce3193499668534.json create mode 100644 web/public/bundles/artemis/code/cad2ec43fa4387eaff1c86e43c3a2e5541cf535c.json create mode 100644 web/public/bundles/artemis/code/cbbe956c5649189a2683818eccbe7e6e612c55bf.json create mode 100644 web/public/bundles/artemis/code/cbe8830a914020a10e7d12cffcdd8bd79dfb0269.json create mode 100644 web/public/bundles/artemis/code/cc3f6d2d5c1b8d2dfe5842b7c61510fc007c2e2e.json create mode 100644 web/public/bundles/artemis/code/ccb54975a4e3046297f312cd4df6de3baf7284f5.json create mode 100644 web/public/bundles/artemis/code/ccede3c4d552dbb37971efcc0e3b805b12da5516.json create mode 100644 web/public/bundles/artemis/code/cec45640f76f33b497cb3ff08035f9a7446a66ee.json create mode 100644 web/public/bundles/artemis/code/cecb9cdedfd60cf07559a17192841684837dbfb3.json create mode 100644 web/public/bundles/artemis/code/cfc9378ccfad5f5e754b70417dd9cafd4b525afa.json create mode 100644 web/public/bundles/artemis/code/cfcef576e4d6525c7526af10f58721ff770f5517.json create mode 100644 web/public/bundles/artemis/code/d011b6ce3cb6175f043723a76ae96586c3871ee7.json create mode 100644 web/public/bundles/artemis/code/d02d216672369656f7dd2e61d379affd68d349a7.json create mode 100644 web/public/bundles/artemis/code/d05d84c6f17014c6b7924b7b53af39e29cda7083.json create mode 100644 web/public/bundles/artemis/code/d07758d9428b96a143763fbdb1f689ab73efffce.json create mode 100644 web/public/bundles/artemis/code/d078311d1f7194b735a5d8d33819148fc785ceda.json create mode 100644 web/public/bundles/artemis/code/d0b7ed0b269352ed25af25cb8841d126676da4fc.json create mode 100644 web/public/bundles/artemis/code/d0c95ae7eff0211bbd4206e4fe40c5b35f57c1f2.json create mode 100644 web/public/bundles/artemis/code/d2b034f80559ea7c60d65f3a729cfd3b5b17e456.json create mode 100644 web/public/bundles/artemis/code/d2c9950700854ea7d12123db589eeb5d557e1c48.json create mode 100644 web/public/bundles/artemis/code/d2d2e23101350411836128529a80afecc500ac7e.json create mode 100644 web/public/bundles/artemis/code/d34172ad943ac1e7f4e6429b461c70577dba1a55.json create mode 100644 web/public/bundles/artemis/code/d3bd72fc125fc4807cff3055be89ed39d9049162.json create mode 100644 web/public/bundles/artemis/code/d3ed0a36ffe1fb09918b2fcf4452601e9a991664.json create mode 100644 web/public/bundles/artemis/code/d55b88452df2d7bd06c5f26f0ac8ede53d944c2b.json create mode 100644 web/public/bundles/artemis/code/d57c8f73bc2d0100ea81db6fc1477b0097d2d8e3.json create mode 100644 web/public/bundles/artemis/code/d6363c01aea566a798d5914e40be0b7d679fb8d5.json create mode 100644 web/public/bundles/artemis/code/d665da7cf63d3b97a4ea0d6d2d73292c618a4444.json create mode 100644 web/public/bundles/artemis/code/d665e05bbc929f1cc51334f46efdb3905cfeb9b2.json create mode 100644 web/public/bundles/artemis/code/d666e889f03b29731320109a046cf2340be83025.json create mode 100644 web/public/bundles/artemis/code/d68ecbd6cbbbc4f9dfefa7cb118d354c0f8e5ee3.json create mode 100644 web/public/bundles/artemis/code/d6ca93fc1597983d86e2ea8ce59fa3281603b589.json create mode 100644 web/public/bundles/artemis/code/d6cad4f8db1f5c917081250982aa3786e9b6328b.json create mode 100644 web/public/bundles/artemis/code/d6d6b51bbe5edb789668779e6b9cfc08517a5a02.json create mode 100644 web/public/bundles/artemis/code/d6e8f3b0a1bf292848d9a9743ef408ed3a1ba53c.json create mode 100644 web/public/bundles/artemis/code/d7d2632632c837092756a8f2b0aeade12187d05d.json create mode 100644 web/public/bundles/artemis/code/d7dc3021bd3ea1efc18d8c0d0bd487cc4760d3ae.json create mode 100644 web/public/bundles/artemis/code/d7ea12ff802f1bb64733e825cc90b8a80beeafc8.json create mode 100644 web/public/bundles/artemis/code/d82a93ffee10eb294a281e19f98201833297227e.json create mode 100644 web/public/bundles/artemis/code/d96e4f95536aa3bc05a7a9b00cca2c1705497cb5.json create mode 100644 web/public/bundles/artemis/code/d973789ecec643cb48eb2b65a044a08300bf26b7.json create mode 100644 web/public/bundles/artemis/code/d9aadf3120a26cde141258b9fd2c5bfb57f2e8f6.json create mode 100644 web/public/bundles/artemis/code/d9ae5576c374517b1a0e89bde305d9f02b07f270.json create mode 100644 web/public/bundles/artemis/code/d9d4e766faaf0e4184269dd899bb61488706e63c.json create mode 100644 web/public/bundles/artemis/code/d9dbed2f24b883852e598941cdf38aab0457a875.json create mode 100644 web/public/bundles/artemis/code/db2861932c4fe2df4b3d1b9bd3789e9983fd5c10.json create mode 100644 web/public/bundles/artemis/code/dbb335504d4649bd0e8802f3948194c158acce36.json create mode 100644 web/public/bundles/artemis/code/dc69d6c2aa16cc7b86e72a15e25e8da7669e25a0.json create mode 100644 web/public/bundles/artemis/code/dc8ca0e526dbd8612f51f1b1e08796463d503b30.json create mode 100644 web/public/bundles/artemis/code/dd10eec674c1e22b5f6a124fc36b58b65860a836.json create mode 100644 web/public/bundles/artemis/code/ddaa16d5cb8765a809438c08728c8144935da68c.json create mode 100644 web/public/bundles/artemis/code/ddd3a9255b8b462cb8f1e8009b250372805d1837.json create mode 100644 web/public/bundles/artemis/code/dddb20e93251f6903de3201363b7944b17287ab3.json create mode 100644 web/public/bundles/artemis/code/de7255465fa0dee3dcecae97e263a83c25cb7050.json create mode 100644 web/public/bundles/artemis/code/df8239735a4fdbe271a64b096c2c47f52b90e27f.json create mode 100644 web/public/bundles/artemis/code/dfa2ddc967a502f0ae921bdf3a7bbf70f02fac57.json create mode 100644 web/public/bundles/artemis/code/e005f33343754f6b980979476ced32d9fc7f6f77.json create mode 100644 web/public/bundles/artemis/code/e02717fb94e05e7bb0af4ced323282e3f0936be9.json create mode 100644 web/public/bundles/artemis/code/e1e2f994644b8c9197ddd136246da0ebff41866a.json create mode 100644 web/public/bundles/artemis/code/e23dfce4dd51608627eb7f551ef62e6c1c62e9a8.json create mode 100644 web/public/bundles/artemis/code/e32e7d244272035480f6f470f23920898b8b053e.json create mode 100644 web/public/bundles/artemis/code/e338c963fa2338f380d3b20adf91bd24d06ff82e.json create mode 100644 web/public/bundles/artemis/code/e3991d61da5681f6df067bea92623a86edd978b2.json create mode 100644 web/public/bundles/artemis/code/e3cf120195733bca01cd1671ae9c756fa223008e.json create mode 100644 web/public/bundles/artemis/code/e4bf1c9d28f8a1f4cb2da25fd27e834760f5ea6c.json create mode 100644 web/public/bundles/artemis/code/e4c0774a6e0f1683fadc38218b47d332e8912d9e.json create mode 100644 web/public/bundles/artemis/code/e529ea67b4f7893a3aef41198a062f884c7a3318.json create mode 100644 web/public/bundles/artemis/code/e67fbbd30379d3bf238baeb05798dfa282fc584b.json create mode 100644 web/public/bundles/artemis/code/e6b61b6e279652254afa2d4aa93b4fef781a11e2.json create mode 100644 web/public/bundles/artemis/code/e6f10c7b2e389771e18bb1d0eedf3fb39649591c.json create mode 100644 web/public/bundles/artemis/code/e77579a6291263d569f889dce352d2f887524f23.json create mode 100644 web/public/bundles/artemis/code/e783e164a0ae92c23cf278b794388850a53df8cf.json create mode 100644 web/public/bundles/artemis/code/e79c01de9075907037b0a29bb698749075c544c1.json create mode 100644 web/public/bundles/artemis/code/e7b11703df466f41402de35e7eddff62a0c0238b.json create mode 100644 web/public/bundles/artemis/code/e7c82390c2584330f53d0b9d0a959dde8c643dfc.json create mode 100644 web/public/bundles/artemis/code/e8de61d8a8bf5dc2ffb105507ad24f2145b3fc1d.json create mode 100644 web/public/bundles/artemis/code/e8fd7d20b465e1144df078b4ff8c45bbd23bed9b.json create mode 100644 web/public/bundles/artemis/code/e9117affd1048355b4638ccb94143f4e28c86985.json create mode 100644 web/public/bundles/artemis/code/e9ffb1844bd7204170a086a39d46c8958a985680.json create mode 100644 web/public/bundles/artemis/code/ea37f64f3feb64f7b8cc38716af026b3b8591ed7.json create mode 100644 web/public/bundles/artemis/code/eaec96b589e09283b83d6231850aad0cd5ce7a47.json create mode 100644 web/public/bundles/artemis/code/eb16ffbf44a62bd7aa5bb4f9553e0dbaedd07555.json create mode 100644 web/public/bundles/artemis/code/eb4adabfcf6be5198f9c88302aa544a170831e2b.json create mode 100644 web/public/bundles/artemis/code/ec12862a35e5029562e6a44108ad506d38cd5ee5.json create mode 100644 web/public/bundles/artemis/code/ed312a91278f1d0952d2b9abfe07658126f02a38.json create mode 100644 web/public/bundles/artemis/code/edf35ca4158198a48ade5b4f2f68aae5fa80b351.json create mode 100644 web/public/bundles/artemis/code/eea4e0eab0423ff54cc27881d048be96aed8b96a.json create mode 100644 web/public/bundles/artemis/code/ef11ce342d7e105ce35676eee565cc21612965a7.json create mode 100644 web/public/bundles/artemis/code/ef13967bf83a411a5438e95652e712d0e522dc63.json create mode 100644 web/public/bundles/artemis/code/ef4b101542c1966a026665bbabc12f4d11b38649.json create mode 100644 web/public/bundles/artemis/code/efa594146d4319a8f24ee4628d3cbe9e7578668d.json create mode 100644 web/public/bundles/artemis/code/f030f1d442e9cb7bfc60c27e0ab3ffc8b5b9da8e.json create mode 100644 web/public/bundles/artemis/code/f03d5875f8ce59e1cb46f2bd340ab876e79da6a3.json create mode 100644 web/public/bundles/artemis/code/f0422cbaa486b8e429219864b7dc6ed3ffbb513b.json create mode 100644 web/public/bundles/artemis/code/f050a4cf122e47e0d1b0c28fa0a24995fc1867ea.json create mode 100644 web/public/bundles/artemis/code/f05c89e04ea8c4ecad172b700ab56076065141e6.json create mode 100644 web/public/bundles/artemis/code/f089ce4c1ebb82c004de48c366cb54e12ba6393c.json create mode 100644 web/public/bundles/artemis/code/f1026fd719a147999e5dd669fe6901d448dbdcb0.json create mode 100644 web/public/bundles/artemis/code/f143cd75032c9bc110bbd06478a7ed8c4a52d070.json create mode 100644 web/public/bundles/artemis/code/f2e7ffca59e3d592e01b0eab0ac7c540fc2291cf.json create mode 100644 web/public/bundles/artemis/code/f406a422b456cf18f55ce6c08b925f6883e3505c.json create mode 100644 web/public/bundles/artemis/code/f4bb713edd8418b90271c889441f8a10da0dd0af.json create mode 100644 web/public/bundles/artemis/code/f554d9fe7886a0f1bf7a623e8145b4126eb7f1bf.json create mode 100644 web/public/bundles/artemis/code/f610759898534978c345f4ef08f3bcf8b82df5a2.json create mode 100644 web/public/bundles/artemis/code/f67f82155d1d5567ebcb456975ed315cddaeb71c.json create mode 100644 web/public/bundles/artemis/code/f72a1b845ab99c52b2be268803e245cac32716cf.json create mode 100644 web/public/bundles/artemis/code/f83f12cfd57bd63573dd49628e5d347d96d2bb3a.json create mode 100644 web/public/bundles/artemis/code/f884b565352d3524273a4ef845b331eccff46d45.json create mode 100644 web/public/bundles/artemis/code/f8c25b736dfcfc2b295cad9f80234246e6f3ffcf.json create mode 100644 web/public/bundles/artemis/code/f91811f88c01615e3274cfa609d167163077edba.json create mode 100644 web/public/bundles/artemis/code/f962711150c2263a93d128da7e5aba84a4b3fe32.json create mode 100644 web/public/bundles/artemis/code/f976e771f9fadccec45dd037e70c9f8eb0c7c34f.json create mode 100644 web/public/bundles/artemis/code/f9b17e47bdb81e66fd3628bcaecd0c6c3686ef87.json create mode 100644 web/public/bundles/artemis/code/f9fdbb144e1c62dfb9713863911e466ae3fd49bf.json create mode 100644 web/public/bundles/artemis/code/fae4365feed5058d25d5406ae7133262deeb6baa.json create mode 100644 web/public/bundles/artemis/code/fc733d6fa2e7b9ca6a69d3688ab87c10f79640f5.json create mode 100644 web/public/bundles/artemis/code/fcb837536d23ec552cb1ab9ad85f796305927e77.json create mode 100644 web/public/bundles/artemis/code/fcbdd73fd3508e482e8e354e53daa1d2cdf06999.json create mode 100644 web/public/bundles/artemis/code/fdbf37d788b3ef6af622e0c2a685a82fdea5c6f9.json create mode 100644 web/public/bundles/artemis/code/fe3b0f35e67dda4362c770e21d1524bfc5b0e7ff.json create mode 100644 web/public/bundles/artemis/code/fecbf9d8e41e497ef1f80e1a9cb18eaa5e9f7906.json create mode 100644 web/public/bundles/artemis/code/ff17c026e08b869b1fa2dba8eac080692c465283.json create mode 100644 web/public/bundles/artemis/code/ff8ca45ecdc7081640d67f6bcf0bea0b2f1c1138.json create mode 100644 web/public/bundles/artemis/code/ffe792ccf769a5e8d86d16ee60602c0be914be3a.json create mode 100644 web/public/bundles/graylog/code/0004e4b166e5ad8e3eb15e246fd739717378620e.json create mode 100644 web/public/bundles/graylog/code/002af4e7c7f6a66c939961ed3b3cf6f93bb3a876.json create mode 100644 web/public/bundles/graylog/code/0120256d8c4d7cf11087f1112b24b72f247029f3.json create mode 100644 web/public/bundles/graylog/code/0179651c700d78092545c67624bfae1879f5c35f.json create mode 100644 web/public/bundles/graylog/code/023c60d6991d068fe51b0ae832ed1b9e939affd6.json create mode 100644 web/public/bundles/graylog/code/02c80687ede09fbd84b3fe75e867beaf0a4a0779.json create mode 100644 web/public/bundles/graylog/code/02ca058ca75d491c6615723b846e29d1c0113cf2.json create mode 100644 web/public/bundles/graylog/code/02ec1f378cb7f9a1bafb01da629153a4cec46435.json create mode 100644 web/public/bundles/graylog/code/0314bd1e86a4017aa6e82cd7f0d1f73e502c8a0a.json create mode 100644 web/public/bundles/graylog/code/0323197b85d02af5ea0b9b4ea29b4ad4b42ac2a1.json create mode 100644 web/public/bundles/graylog/code/042cd8ed2c6c55ee91bcd3d28986eeeb32c6cd85.json create mode 100644 web/public/bundles/graylog/code/044b60dd646ec90d0f12a8ed8b4c2cc85ecb3598.json create mode 100644 web/public/bundles/graylog/code/04ab6f69c584ca895c414bed332b23d8b8e8f4ba.json create mode 100644 web/public/bundles/graylog/code/05c5bec5a9d1fbab8754728f78d41a3e096aaf53.json create mode 100644 web/public/bundles/graylog/code/060c6e0fdaf657fcc14789d8065084535e3ebf49.json create mode 100644 web/public/bundles/graylog/code/06552767dff3c27716b7c18d4100b46986728b27.json create mode 100644 web/public/bundles/graylog/code/065b89028a5d9df63dae38e14873dc27b61a5424.json create mode 100644 web/public/bundles/graylog/code/0707d2615545476a86b0ad5c99e36e6cd541a772.json create mode 100644 web/public/bundles/graylog/code/0743588167831a3fde5e1aa53c3e2e3ec1d33927.json create mode 100644 web/public/bundles/graylog/code/07656840d0af9634e3319640acc8d0916c1d94ca.json create mode 100644 web/public/bundles/graylog/code/082cf8d04733ad1036e2771e91a7712ad34407b3.json create mode 100644 web/public/bundles/graylog/code/08333c770d5b92ef4c2dd9585accbd1ddfce8e2f.json create mode 100644 web/public/bundles/graylog/code/0843d45386e82f99645ac1a365e5faa153a02c01.json create mode 100644 web/public/bundles/graylog/code/0863d566dcc2727dfae546f21e13db072e64c97c.json create mode 100644 web/public/bundles/graylog/code/094dece89a6b1c61737b57d46b78415f1546d777.json create mode 100644 web/public/bundles/graylog/code/0a4ebec65e2ff48bf224e13374e5746fa2d22d36.json create mode 100644 web/public/bundles/graylog/code/0a8948367d0421734fb28ea871e8add7ce9dae36.json create mode 100644 web/public/bundles/graylog/code/0aa4eaabf826e6d20b74261c000278f0c89814ae.json create mode 100644 web/public/bundles/graylog/code/0b1f4de5bb6d37a64f6f908249c977767194d5ff.json create mode 100644 web/public/bundles/graylog/code/0bae6f4c00a91b72281b03c8d2df75c040efda32.json create mode 100644 web/public/bundles/graylog/code/0c0bd18b556b30772f559cbbc20d99a20df844b9.json create mode 100644 web/public/bundles/graylog/code/0c1e56f8704dced6b33802ec2ae0451585b0a432.json create mode 100644 web/public/bundles/graylog/code/0cb23f366c5424789d9cb84e7c9261f7e24ab3ae.json create mode 100644 web/public/bundles/graylog/code/0d73c707fd9a82bf92fabea1aed37a9ad28200b9.json create mode 100644 web/public/bundles/graylog/code/0f6b2040844dfe7802bc2acce8ed6baecd4736f6.json create mode 100644 web/public/bundles/graylog/code/1035a50fde4361ad94da278a5509dc7099171a92.json create mode 100644 web/public/bundles/graylog/code/11d08c04ceeb180b5b6164b3e9e93cec84817e08.json create mode 100644 web/public/bundles/graylog/code/122f90cf9bd39d1383b12160e0c0b8959488be03.json create mode 100644 web/public/bundles/graylog/code/1278bc0c1fbd3648c0f851ea8cf4fd4449cd5356.json create mode 100644 web/public/bundles/graylog/code/134a573914ff2d783b5e34272a2ebef19318b66e.json create mode 100644 web/public/bundles/graylog/code/13c68956540f2c93ae0cdeec491c18a9e2d99f13.json create mode 100644 web/public/bundles/graylog/code/140e50bc8aabbaa840f9beba2b66071c9c8257c1.json create mode 100644 web/public/bundles/graylog/code/1465795a2743f25b2195f23e0bf9c9669d0b07f7.json create mode 100644 web/public/bundles/graylog/code/1488967aacfa9246e803a1e74c8c5e72c6b5ffcc.json create mode 100644 web/public/bundles/graylog/code/1513904b5a3baaa86a45977bd211c0d218e988ad.json create mode 100644 web/public/bundles/graylog/code/1569fba38dd81a2d756ededdd6efef882dc600d8.json create mode 100644 web/public/bundles/graylog/code/15a4ac17219c51fbf0f85d2b4a8fe0fb1b471f9c.json create mode 100644 web/public/bundles/graylog/code/15c15bc73b5cd824fef5562f41a5a74c40f4c9b4.json create mode 100644 web/public/bundles/graylog/code/15da2d4a664ee7cec7d9cba1f391d7bea9aee009.json create mode 100644 web/public/bundles/graylog/code/16398eb646dd992ddc108e8a8d9aa62489e31a13.json create mode 100644 web/public/bundles/graylog/code/16529d947ebd549ec84d7a00f326bb02e5725d9e.json create mode 100644 web/public/bundles/graylog/code/18273aeb81c253272b90956dd6fb124b60a4045d.json create mode 100644 web/public/bundles/graylog/code/19179957c1fed8c6f164e28f2fde4b5492e7a20e.json create mode 100644 web/public/bundles/graylog/code/19fd9ffdafdb976d9b615c50f7862d63aa16a817.json create mode 100644 web/public/bundles/graylog/code/1a2558806be3647521cb8d6f09410c149ff647c0.json create mode 100644 web/public/bundles/graylog/code/1aa7dd43a6d013ba6a6c5181bf16b3b5d5301f5b.json create mode 100644 web/public/bundles/graylog/code/1aca9baa19763dcd1ef7566200e83675cdb340bd.json create mode 100644 web/public/bundles/graylog/code/1b0a1a79004c879b222b77bcf912d761349697cf.json create mode 100644 web/public/bundles/graylog/code/1b5617d488aaa6097b7f10a41f48ffc4db618446.json create mode 100644 web/public/bundles/graylog/code/1bc0ed25aafafe4e3b24e969faae5b3040a1ecbc.json create mode 100644 web/public/bundles/graylog/code/1c17ea3f09bb5fa717f31d7c86b66ed47fe42646.json create mode 100644 web/public/bundles/graylog/code/1c236abfeab84012eb574b3e4638c462b0cdaf18.json create mode 100644 web/public/bundles/graylog/code/1dcdaca02a07b085118c51ce7a2c080922feec3a.json create mode 100644 web/public/bundles/graylog/code/1fc8cf5c9e59720b11ebc1316abad954c84fb721.json create mode 100644 web/public/bundles/graylog/code/1ff5e87fa90b6852c529d40ab0da6ff9998722ad.json create mode 100644 web/public/bundles/graylog/code/2088e1cebe17487db01214ed755e57c5bf9b271b.json create mode 100644 web/public/bundles/graylog/code/20c3002ee6604b2157e69aa1b3894c259d0b9bf1.json create mode 100644 web/public/bundles/graylog/code/212200c6cd5389f967cbbb16552537abbb059891.json create mode 100644 web/public/bundles/graylog/code/2153411eeb88488f567ab3b66b2e4d925a1b5a3a.json create mode 100644 web/public/bundles/graylog/code/21783ab5c9307d79d153889cb49b92fc1fd91a06.json create mode 100644 web/public/bundles/graylog/code/218672a02c947e832dfa4319c0e7be894c7f05c2.json create mode 100644 web/public/bundles/graylog/code/223549f869d376084c48f3a72fb86f57796cfd76.json create mode 100644 web/public/bundles/graylog/code/223dad36d5e15181a7accfe7eb5c92bd7476ab8c.json create mode 100644 web/public/bundles/graylog/code/226064c973303bf310bcd4f21475aca7ed53ae79.json create mode 100644 web/public/bundles/graylog/code/22c043c39cc68f41c9e3cd881ce5412f8079363b.json create mode 100644 web/public/bundles/graylog/code/23c3e3050a20efc33af776010ff55208dd3ac974.json create mode 100644 web/public/bundles/graylog/code/23f858be3411ad3f0f3311c53093224b095ce8ac.json create mode 100644 web/public/bundles/graylog/code/249cba5755aefd371474f3fcdc8099ca537edc45.json create mode 100644 web/public/bundles/graylog/code/24c35c3556454bb40567676731d15bca30377093.json create mode 100644 web/public/bundles/graylog/code/254c76e59697d870c36f2a1b7fe6f6795e084673.json create mode 100644 web/public/bundles/graylog/code/25ad470b11fc2664f74bdfadf872bfd52b2c4fd1.json create mode 100644 web/public/bundles/graylog/code/2635c7e636d2d6a77dc4a97b4091b0efd3b1b73d.json create mode 100644 web/public/bundles/graylog/code/265433709302a038b55e64843f691ef04398122e.json create mode 100644 web/public/bundles/graylog/code/266f87fb2296d3f9e95aef2405a920fc2ceb3063.json create mode 100644 web/public/bundles/graylog/code/2754eefd4ccb82ea9f023304864669f53b5490a9.json create mode 100644 web/public/bundles/graylog/code/27a68cac42f6e391f056c7c12282a8775af96fc9.json create mode 100644 web/public/bundles/graylog/code/292802158eb4f8d8ddaf766685957f33b0a417b1.json create mode 100644 web/public/bundles/graylog/code/299196b4f6ac82a365cea78e3d9cf9ae89062f81.json create mode 100644 web/public/bundles/graylog/code/299c3eeb771a155c508158ca06af18878f324fcf.json create mode 100644 web/public/bundles/graylog/code/29af0b2f6ec3fd45d4c6f251839a07e74c8d42be.json create mode 100644 web/public/bundles/graylog/code/2af8dbddfc28e632b5e0f8f8111bd53632995a42.json create mode 100644 web/public/bundles/graylog/code/2b163f8df087b77adc9a3b986bc222c862b25c7d.json create mode 100644 web/public/bundles/graylog/code/2befcf02b65c84d0f78224d8a09df8998ca7fa27.json create mode 100644 web/public/bundles/graylog/code/2ce474cf85e2ea0483ba8937c9018c4488bbb5c7.json create mode 100644 web/public/bundles/graylog/code/2dbab7deec4ade6e97155af63e14f919a78cd8f7.json create mode 100644 web/public/bundles/graylog/code/2ec8eb3a4443e41952686a73a00a47886279a150.json create mode 100644 web/public/bundles/graylog/code/3000f94b9524cb8bad5d99a04d24159160aad30e.json create mode 100644 web/public/bundles/graylog/code/306d5fcadb6944f6fa2852f3d24619c4b7e8abdf.json create mode 100644 web/public/bundles/graylog/code/30bc4b0371e2055cc7c0c6b3d5b28e14e8f7bb67.json create mode 100644 web/public/bundles/graylog/code/3115752a04675c3c304dce90cd19f101f50e34c3.json create mode 100644 web/public/bundles/graylog/code/31602cc998f4ccd14e35491135a2166765cdd3c0.json create mode 100644 web/public/bundles/graylog/code/324ecb3fd092f1b5706fe31aac7f52368347f476.json create mode 100644 web/public/bundles/graylog/code/3433abacf3ec26aee34c461fc190494684a7114f.json create mode 100644 web/public/bundles/graylog/code/34548971516fcb40ef4548cd6afb330da6fb80fe.json create mode 100644 web/public/bundles/graylog/code/355c96b824f61752de935ffe0dfd009627d2555a.json create mode 100644 web/public/bundles/graylog/code/361daa0f9dd32d1cdd8b8c16455a5425fc426dae.json create mode 100644 web/public/bundles/graylog/code/363b38598937155ca8b57e40f6f3f347df812cdf.json create mode 100644 web/public/bundles/graylog/code/3659904ce19c4b573d564b84f4f0466b9fa85e64.json create mode 100644 web/public/bundles/graylog/code/36d816fe8a0227b3b8eb8251ddf3808596dbbb5b.json create mode 100644 web/public/bundles/graylog/code/37ec82ee7fa360fd20c733015bc54c1e2dfecc32.json create mode 100644 web/public/bundles/graylog/code/381b78c0bc1b62394da91cc291202bcdf7952a68.json create mode 100644 web/public/bundles/graylog/code/38d99de4fe72da5e99a2653e44ab7568f23231f0.json create mode 100644 web/public/bundles/graylog/code/38ff65a268efcda58b4882ae10a1b48d10b2d585.json create mode 100644 web/public/bundles/graylog/code/39492a6a73fc484c8396b0ee8944a9a4643ee437.json create mode 100644 web/public/bundles/graylog/code/3970961b2a6ede3c29a15a3bf286826562dc1af6.json create mode 100644 web/public/bundles/graylog/code/3a52bd977d1f75d247b255bfa1539164f5662274.json create mode 100644 web/public/bundles/graylog/code/3aee5e0b9f1278c7f582a143b7faad6fcf57785a.json create mode 100644 web/public/bundles/graylog/code/3afbef275744231acc358be133f1d3c8c2114b02.json create mode 100644 web/public/bundles/graylog/code/3b5a816575c044abd852e1dce8445a70b8581d34.json create mode 100644 web/public/bundles/graylog/code/3cb9df5771f88b4bc7fd1cbd0f9164d6d0dd14c7.json create mode 100644 web/public/bundles/graylog/code/3d308c95eefcac44cf382b638d7eb69eadf59d13.json create mode 100644 web/public/bundles/graylog/code/3e14f2453e79d377f4dc82676939bca9a91df1da.json create mode 100644 web/public/bundles/graylog/code/3e2c16d29a1f05d9e722731138f8d5b294831d13.json create mode 100644 web/public/bundles/graylog/code/3e676bbc7a14ff8314014f8503767a13264dc549.json create mode 100644 web/public/bundles/graylog/code/3e9235ce7467af716f4099987bfb2e94c2c054cc.json create mode 100644 web/public/bundles/graylog/code/3ead7b549adf63d600f344c19e201fa0c46980a3.json create mode 100644 web/public/bundles/graylog/code/3ef7af46bb95fec743b77736c3478497e6769f81.json create mode 100644 web/public/bundles/graylog/code/3f07d0ff635c026203e14ad43e5d69080d65e6f6.json create mode 100644 web/public/bundles/graylog/code/3faee6ffa2d33d949218671c151ba5c75fbaf9f6.json create mode 100644 web/public/bundles/graylog/code/3fb1afeffe0f8c66190037f6a1ea31752780dd22.json create mode 100644 web/public/bundles/graylog/code/4042c390840e7f3e8f273a10ad57abceb32d5ecd.json create mode 100644 web/public/bundles/graylog/code/412f0644a558a293530c51c116aacb720abc2d50.json create mode 100644 web/public/bundles/graylog/code/413024669bd045ec1c6a7da76a649dfc65121d8d.json create mode 100644 web/public/bundles/graylog/code/414ed7c9b3f0381131b15e7cb3e737b68efc8c3d.json create mode 100644 web/public/bundles/graylog/code/429f7a27d440c9f0b5fe8487edc72c177555b902.json create mode 100644 web/public/bundles/graylog/code/4340dac8aaacb805c975a89e533ddd3949a175c6.json create mode 100644 web/public/bundles/graylog/code/434dc49d3a2a8109e509111b3c0fe0602b553e4b.json create mode 100644 web/public/bundles/graylog/code/43aa27f0061d71a77ea5873a7b17f762e1434935.json create mode 100644 web/public/bundles/graylog/code/440c3ceef724d262c65f77540ffaf564e0265207.json create mode 100644 web/public/bundles/graylog/code/445a1d2d25d7ce2ebba5fda4801a31113b4cea1d.json create mode 100644 web/public/bundles/graylog/code/44c2513cdba82fe9e59fb6d48f0d1f34be2c053d.json create mode 100644 web/public/bundles/graylog/code/457721f6ae26d7623251803b01df4298f8b3201c.json create mode 100644 web/public/bundles/graylog/code/45b70fe31419d4d88007f6f85c541a6142bb8ff9.json create mode 100644 web/public/bundles/graylog/code/45d8f175f10bf9100892369beac26ad8b5c93756.json create mode 100644 web/public/bundles/graylog/code/45e98db082db37f33f6472aa083c2f24ea404f6d.json create mode 100644 web/public/bundles/graylog/code/4613470404bfef2d9ceb06a50105dc9c02d14674.json create mode 100644 web/public/bundles/graylog/code/4662ceaf5c17eed438a05463084ef12e08f19373.json create mode 100644 web/public/bundles/graylog/code/46a67eb65cfbd86d042fcbe9be6d2a20a3c13d31.json create mode 100644 web/public/bundles/graylog/code/46a8221d691c24e439051ce41ceb7c773ddd1d88.json create mode 100644 web/public/bundles/graylog/code/46a8da84e3df722b3cb175c3ba02912a7d22c73a.json create mode 100644 web/public/bundles/graylog/code/47227c68fa81d191dbc26cad894e61f1103c46aa.json create mode 100644 web/public/bundles/graylog/code/475eac6b77e81bdcc14af641a05f32fce4a139bd.json create mode 100644 web/public/bundles/graylog/code/47c32a7f221db4484b7b9062a7336352ee7da0a2.json create mode 100644 web/public/bundles/graylog/code/47d80428023bac146dd6026629c0931435bd192b.json create mode 100644 web/public/bundles/graylog/code/486a45020a61d15ee88cfc374bfd2fe0cf5730c7.json create mode 100644 web/public/bundles/graylog/code/487bec7dd5522c932b62272892ced92275611e1b.json create mode 100644 web/public/bundles/graylog/code/49c308d1dc6b994e19b54f0475fd748a9c1dfa20.json create mode 100644 web/public/bundles/graylog/code/49f65eb69d22a56d30b66ca60140448ec56de14b.json create mode 100644 web/public/bundles/graylog/code/4af0839b780aa36cba9c7832f2afd3b4f17cd451.json create mode 100644 web/public/bundles/graylog/code/4b3cb0a1e98390ea82b58c7c2a434a810203df79.json create mode 100644 web/public/bundles/graylog/code/4bb50719840bb8d4f7e12f5ab00c01f3a78a8e8e.json create mode 100644 web/public/bundles/graylog/code/4c90c8189603c0f17785a467223e80acbb9ae247.json create mode 100644 web/public/bundles/graylog/code/4d0ed0c9862006976d18f8151a1fcbb847103485.json create mode 100644 web/public/bundles/graylog/code/4d18d4530e1c1061c286005f5383bb37e9664e82.json create mode 100644 web/public/bundles/graylog/code/4d25ec5c9724e51162af333bfee898c07ec1e11b.json create mode 100644 web/public/bundles/graylog/code/5139ee5ea0dcf0428d3666dbfa3468869f8503d6.json create mode 100644 web/public/bundles/graylog/code/513ad96e94525b6b627b2ac45fc104851d1f2f04.json create mode 100644 web/public/bundles/graylog/code/51e54528cd5dffed04f9020e0225a251a0d949b8.json create mode 100644 web/public/bundles/graylog/code/5271c87c44e5fabee5aa93b43a5ba24711c99d0b.json create mode 100644 web/public/bundles/graylog/code/53a2b62061fa9dbae79644401d72985f9cf9421b.json create mode 100644 web/public/bundles/graylog/code/54fc5bdb6433fbd303b506fae29fc9e189c28ab2.json create mode 100644 web/public/bundles/graylog/code/56c5897e21d2cabfc6d3a68a3358f7b329e625e0.json create mode 100644 web/public/bundles/graylog/code/56e6d6f1726b9309b7c1a82140027d66ee0110a6.json create mode 100644 web/public/bundles/graylog/code/5756e5a3fe6155dd4df252cbc4ddcf471bdf6ecd.json create mode 100644 web/public/bundles/graylog/code/57eefaa788007e9d8e1b9dbe6c98c8ecf3417fa3.json create mode 100644 web/public/bundles/graylog/code/581c32dade83a6779e33ccedf2ad5190eeb567ca.json create mode 100644 web/public/bundles/graylog/code/58879616c9696519d67ab9ff231cec3a0e9d7a51.json create mode 100644 web/public/bundles/graylog/code/589a5962ba38dc15324e665aae8ce2c906de2d75.json create mode 100644 web/public/bundles/graylog/code/592120347c578a637f5e49db08feb03207f9eea5.json create mode 100644 web/public/bundles/graylog/code/59a6a4780c23068b090ef7326b56cd185c4288bb.json create mode 100644 web/public/bundles/graylog/code/5a14bbb58a330bad7dd4b1a4f3e77b09babd9874.json create mode 100644 web/public/bundles/graylog/code/5a301d0440fdb61f0b44fd73c1a722094c50dd4f.json create mode 100644 web/public/bundles/graylog/code/5b23ee363c7b86acc312e83bb2b0820e06f391c2.json create mode 100644 web/public/bundles/graylog/code/5d10c790cf751a87fd05e6d357a4452aaebec9f6.json create mode 100644 web/public/bundles/graylog/code/5ddfe084b4175ac2924f539d6601dd7ac93c2ddf.json create mode 100644 web/public/bundles/graylog/code/5e7d73feed18d53573841d99e1b37e85ff2be934.json create mode 100644 web/public/bundles/graylog/code/5f75cd58a39569bde2883a28501f67900a6ebc57.json create mode 100644 web/public/bundles/graylog/code/607adc1b27612b09f69daf228ddf5b95a35f7fe9.json create mode 100644 web/public/bundles/graylog/code/61473c17c30dad0fda809cb7bfe1c939f6eeada5.json create mode 100644 web/public/bundles/graylog/code/618699f3c2924cb26465cf91695f73b56d088d23.json create mode 100644 web/public/bundles/graylog/code/61c5be8be62abd5f15a348a98b00bf2c198c669f.json create mode 100644 web/public/bundles/graylog/code/61f03e40f083f3574d852c7b8bd22cecfc0a24a1.json create mode 100644 web/public/bundles/graylog/code/6359c59f1c4bb37ac096fd17cd856f4a0b0dbbff.json create mode 100644 web/public/bundles/graylog/code/63d46016907f24a0fde076ac9d17c5fdbe7f07ae.json create mode 100644 web/public/bundles/graylog/code/63f086d9126ed39844ca3a9857c435a6834f714f.json create mode 100644 web/public/bundles/graylog/code/647e8aaf5a3ef4e4f27bd9055367f2462e201748.json create mode 100644 web/public/bundles/graylog/code/6501ba0aec86d118ecd9351dd446949c422f6fc3.json create mode 100644 web/public/bundles/graylog/code/65e88bd39e0a5a29d52df0fa82a0eee57ccd4251.json create mode 100644 web/public/bundles/graylog/code/66596b32fbdb0fa7c5f23b303825f2c7e51aba43.json create mode 100644 web/public/bundles/graylog/code/67b1156808cda3ff43158a5bfb06ec0a3507a32a.json create mode 100644 web/public/bundles/graylog/code/67ebbaf29195f91462647222b5a7830a420e71c8.json create mode 100644 web/public/bundles/graylog/code/68b64545232d055b4c264f438f0da7948fb5baf7.json create mode 100644 web/public/bundles/graylog/code/68fd06d7732cc1c2533c93b9f97970b530896ea6.json create mode 100644 web/public/bundles/graylog/code/6aea7c9e410155ea0efcb3df382cee6032a4216c.json create mode 100644 web/public/bundles/graylog/code/6afdae394c207bc0038a2a5473225fafa8e6e505.json create mode 100644 web/public/bundles/graylog/code/6c9febb4725dfed08c29e6fd962269d19d732323.json create mode 100644 web/public/bundles/graylog/code/6ce8133c0eee41ce442ae4207f34b880a4c5c0c2.json create mode 100644 web/public/bundles/graylog/code/6d36c2d1e0af98b8f2895db99d2d3f6a79a14fd1.json create mode 100644 web/public/bundles/graylog/code/6d37168296dd16b8bd7a68367993121f3feb9a66.json create mode 100644 web/public/bundles/graylog/code/6d4ea84060cbd45616a3faf1d831887baf4bc9d2.json create mode 100644 web/public/bundles/graylog/code/6db4998e4b14e0d5997ea16919fc648fc8a841e9.json create mode 100644 web/public/bundles/graylog/code/6dd68562ae44eaac3a0c323c6dbd9973a3efa4a4.json create mode 100644 web/public/bundles/graylog/code/6e764c9a114d3b947b8a7c7b2889a62d5ec493a8.json create mode 100644 web/public/bundles/graylog/code/6e8cc81318400b4d3353ae11a11297f0ec8e01a1.json create mode 100644 web/public/bundles/graylog/code/6f3f9840bb8a4cd3a47a8cff54b72869f150a5e4.json create mode 100644 web/public/bundles/graylog/code/6f78578e3caf14cfb10392e2be2fe28b3e1caa38.json create mode 100644 web/public/bundles/graylog/code/6fa03e4723d1d5961a8435d446a42999d09abb36.json create mode 100644 web/public/bundles/graylog/code/6ff063c0518e4831415014f3d84064bb76e995e8.json create mode 100644 web/public/bundles/graylog/code/701e4cd32bfbad40f14c319e6307fd78f868473f.json create mode 100644 web/public/bundles/graylog/code/71e50ebeab73cdb61ec8d8b6c596367388cd7484.json create mode 100644 web/public/bundles/graylog/code/72dbb2fdc411f906290b93d7a41c9688f17ea4e2.json create mode 100644 web/public/bundles/graylog/code/72df7fcef869fbf8cf5539e26b792ad946ce6925.json create mode 100644 web/public/bundles/graylog/code/730b351d829d08ec6125bf549444af920d2850d9.json create mode 100644 web/public/bundles/graylog/code/73a62c286370dd5747f6b7e75fbce331fa017a35.json create mode 100644 web/public/bundles/graylog/code/73f781c6deb6a18de5ff05c0d24e89c611a992db.json create mode 100644 web/public/bundles/graylog/code/74682996e3decdc4a5413a3d67809a7ffac1719d.json create mode 100644 web/public/bundles/graylog/code/74fbf7c83cccc2deac5897670e95096ce964771d.json create mode 100644 web/public/bundles/graylog/code/76aaf9075a723a4676118919f7e46fda4857e3cb.json create mode 100644 web/public/bundles/graylog/code/76e9f9dd93e8ed7a0076652971fb3e69268e8219.json create mode 100644 web/public/bundles/graylog/code/7702bc03e5a1730b259ab505071b43c5216b72fe.json create mode 100644 web/public/bundles/graylog/code/772f16e89253d1fad52aa5aa02cd6cea42f03638.json create mode 100644 web/public/bundles/graylog/code/77a13a6023a0e6aef1504a64f9bcb8482d399cb0.json create mode 100644 web/public/bundles/graylog/code/77aec303ae5201f9d42bc0d983b288c708872506.json create mode 100644 web/public/bundles/graylog/code/78363be5ed670445137d94591a162ba49d7f9adb.json create mode 100644 web/public/bundles/graylog/code/7882c3ed62b69beb99349d2da31ad720554f69fb.json create mode 100644 web/public/bundles/graylog/code/793dbd1ce24ec89bcf9a7246ea72215a18948a86.json create mode 100644 web/public/bundles/graylog/code/7950f49214ef1f4f0b3944481eb3d94803fbce91.json create mode 100644 web/public/bundles/graylog/code/79da23a985ed0da7e2ba4cd12173ad96c2e9e21c.json create mode 100644 web/public/bundles/graylog/code/7a078afcd59807d956f01d93d1457f14f6ae6fdd.json create mode 100644 web/public/bundles/graylog/code/7a1e5c44c426a36bdb667d76aa8e02230580c8d6.json create mode 100644 web/public/bundles/graylog/code/7a7ad165064bf0f5e87230211d109167c0a37102.json create mode 100644 web/public/bundles/graylog/code/7aca4bb5933bb611d171eec8f26c1c317d2bd2a1.json create mode 100644 web/public/bundles/graylog/code/7c29755adc69b991fd1eb160e6c8aa50472ab777.json create mode 100644 web/public/bundles/graylog/code/7c7ea25cb1d8761372c11b143ad77a4426f6b620.json create mode 100644 web/public/bundles/graylog/code/7c8fddfcd81d41cd6e2b26f789d9602798d03dea.json create mode 100644 web/public/bundles/graylog/code/7d75e9f6ae8da8b8b81b931f0cb54562bfd4d423.json create mode 100644 web/public/bundles/graylog/code/7e5e5969b0b3c4189ff6dc77533bab8cf4a5544c.json create mode 100644 web/public/bundles/graylog/code/7e882457e01f88fe346148ce31d6535231882cb1.json create mode 100644 web/public/bundles/graylog/code/8071d02607c8d75003a7f79a22759d59c0a5a128.json create mode 100644 web/public/bundles/graylog/code/810971254805186f842bf8fbdb9d1b3fc1a6dda2.json create mode 100644 web/public/bundles/graylog/code/816d3c7f302319304e88f0f7b320927ebdd87903.json create mode 100644 web/public/bundles/graylog/code/816e608d76423b38d6c77699b23db8bbddb9e1df.json create mode 100644 web/public/bundles/graylog/code/823d74653ba3f9818e6a23e686ac4a534fc5b7de.json create mode 100644 web/public/bundles/graylog/code/8246680172971b036bd72b1c8262b8457e344470.json create mode 100644 web/public/bundles/graylog/code/824e2e2226f362f62d086ef95559b1ff5818348c.json create mode 100644 web/public/bundles/graylog/code/82f57b3506f6d9ade36403c875a8c80d81f8985c.json create mode 100644 web/public/bundles/graylog/code/83141dc4e6376f3cdbe2638c0e234fed5649b274.json create mode 100644 web/public/bundles/graylog/code/83995215bd9ba37cdbabb11e2f9d209d85708c9c.json create mode 100644 web/public/bundles/graylog/code/83b39e204af37cd411fb1ff713c80b9c1a295803.json create mode 100644 web/public/bundles/graylog/code/84107b686aedea26d38b33f869f95ca295a62424.json create mode 100644 web/public/bundles/graylog/code/845c376699a2424a7719f6498de12290bc4204a9.json create mode 100644 web/public/bundles/graylog/code/84b35dceb404064f7428f4d71c562d9bc9bcbfcc.json create mode 100644 web/public/bundles/graylog/code/84d7bb93c6e0223c02234e482cad74363763a7be.json create mode 100644 web/public/bundles/graylog/code/853a5c6d9cdb6569f81b301d9d14e4f516b8e6c8.json create mode 100644 web/public/bundles/graylog/code/8560a4868c3e2abc07a6d484b6730dfafc5efed1.json create mode 100644 web/public/bundles/graylog/code/85e2415f58fda7613ad779eeb4e3bd4f3eb80ee2.json create mode 100644 web/public/bundles/graylog/code/8727327e124e7d3a8e8fbcd241c203e36a64157f.json create mode 100644 web/public/bundles/graylog/code/8845605401966fdf0fe6f22ffd769c0c950175f7.json create mode 100644 web/public/bundles/graylog/code/8a17733ab3cd82f965cd1e043c5368ca3ca3e1d4.json create mode 100644 web/public/bundles/graylog/code/8adff0b26149e70e8239938f17fcf314de5febd0.json create mode 100644 web/public/bundles/graylog/code/8b237a17435fe87c312be8af8a58cb76d6555b8a.json create mode 100644 web/public/bundles/graylog/code/8b285746d62cd8cc791a488b025ef816aa26954f.json create mode 100644 web/public/bundles/graylog/code/8bd5be67c8a7df86c140df69e64e45bdad818016.json create mode 100644 web/public/bundles/graylog/code/8c6ceee6c3f82cf225fbbebefe6b67bda968b76e.json create mode 100644 web/public/bundles/graylog/code/8c8d1de23dacb3b8f9bc3d25f3c3028b202eb3e6.json create mode 100644 web/public/bundles/graylog/code/8c94d6e5227ba1d4591310c3d605b9581dd296f2.json create mode 100644 web/public/bundles/graylog/code/8cc8bea748f3a823d4e5370771ca0d8a36c196d7.json create mode 100644 web/public/bundles/graylog/code/8cee71ca839bdd4fa86b10bb6b7a253c67de1778.json create mode 100644 web/public/bundles/graylog/code/8e472a0bbee17e732cd155b5c67c86f307b478ed.json create mode 100644 web/public/bundles/graylog/code/8ed1f007abed56321c8600fedfdab465831c1873.json create mode 100644 web/public/bundles/graylog/code/903596de83eafe4847efe1f5acf1245ac82b4a5b.json create mode 100644 web/public/bundles/graylog/code/90eb2f9a8e3cd838d6892a4847a74e1642caaff5.json create mode 100644 web/public/bundles/graylog/code/912bbb9935c884e4e5b54ec405aae15f5c8792d8.json create mode 100644 web/public/bundles/graylog/code/913d53264e584ecbcbf6b1e3eb81ba7407fc407a.json create mode 100644 web/public/bundles/graylog/code/919fe466fe5014bf5994a3ff3dba2fb6be63f34f.json create mode 100644 web/public/bundles/graylog/code/927bdbffee3419d93edbbcc5bba8a26fbbf614d4.json create mode 100644 web/public/bundles/graylog/code/933c783fc3cc0396f8f9594ec9a4600fbfb72cbe.json create mode 100644 web/public/bundles/graylog/code/93eaeb1fba8f560ca9aa35bdf1e4b8462931ed7a.json create mode 100644 web/public/bundles/graylog/code/94d0430258f8ec453a9a295c29d31831331d3188.json create mode 100644 web/public/bundles/graylog/code/962b7af8cee8dbb6ca031f3a197b44c100f6122d.json create mode 100644 web/public/bundles/graylog/code/96cde93176a4c9d23d7b239a0571cac40b18d3b9.json create mode 100644 web/public/bundles/graylog/code/9790990428874b724dec2ca85e91aa3b800cc2d2.json create mode 100644 web/public/bundles/graylog/code/97feabf2681a44a7860f19e0ce020c1c3c41d5c9.json create mode 100644 web/public/bundles/graylog/code/98d8d36dc9a3aa8f5777182ceb3eaf92309eec0b.json create mode 100644 web/public/bundles/graylog/code/9a6650731e8180415798d90c65532073cc41e2ac.json create mode 100644 web/public/bundles/graylog/code/9aace5ed78af64b76eb37a0d6cdca8a9183d37fa.json create mode 100644 web/public/bundles/graylog/code/9b286ac055819304f4088d5efc792e4198d89e01.json create mode 100644 web/public/bundles/graylog/code/9b4506e664f34e53512ce334d70ee7267beda65d.json create mode 100644 web/public/bundles/graylog/code/9cc9b81d5877ba79221b8ffa91e229093495d713.json create mode 100644 web/public/bundles/graylog/code/9ce6953e68f05c021b08c493766699002b443f25.json create mode 100644 web/public/bundles/graylog/code/9fe3251bf8c3f33c79033c877dd597dcf76da0af.json create mode 100644 web/public/bundles/graylog/code/a0371a5fda4212fc5b76cdf0896291e3f15e2c99.json create mode 100644 web/public/bundles/graylog/code/a07a59ccd88431ec894c423d6449250d2a77311a.json create mode 100644 web/public/bundles/graylog/code/a100a68546595e520abead56ad8052fa6c148b38.json create mode 100644 web/public/bundles/graylog/code/a17e0bcecdb69d5eae78cf432157b837ff752748.json create mode 100644 web/public/bundles/graylog/code/a2316ae0c0ef2af8900221873a3ac4a554f7d250.json create mode 100644 web/public/bundles/graylog/code/a39143dec157ed75ababc98ab99a6b57cc11ac0d.json create mode 100644 web/public/bundles/graylog/code/a3c811e3aac19e5864e8ff1b85469ed06eec393b.json create mode 100644 web/public/bundles/graylog/code/a4c3d29172df2e9e7b7feb96c37172deea2a26d7.json create mode 100644 web/public/bundles/graylog/code/a54ae712b9e865a7e6a48d9f388ecfa4a9482400.json create mode 100644 web/public/bundles/graylog/code/a5561fbc13baa5552bc8815e99c2b047d6069d59.json create mode 100644 web/public/bundles/graylog/code/a559c401fa4978a73538c52c1d5eb6a41426834b.json create mode 100644 web/public/bundles/graylog/code/a56388f413813ad93c1659260239c7fd1a3dc205.json create mode 100644 web/public/bundles/graylog/code/a5cbafdb70fa29cdf51bfd74005a4e83488f0491.json create mode 100644 web/public/bundles/graylog/code/a612436373823473694665ba6b325a3959e52ac0.json create mode 100644 web/public/bundles/graylog/code/a69675a1a11e639bec0c8b47810640d55312427d.json create mode 100644 web/public/bundles/graylog/code/a6ea51f71fe4b76d1391d1eafc24c9be6bc29a5e.json create mode 100644 web/public/bundles/graylog/code/a8c8dc4dfbdaff04f34adb366f8142d1b0016baa.json create mode 100644 web/public/bundles/graylog/code/a98052e82fd5ee6850dc13920970d2eba4e6ba41.json create mode 100644 web/public/bundles/graylog/code/a986a34e53d9faea7550b8f6d5a01b420b287e2b.json create mode 100644 web/public/bundles/graylog/code/aadb40939f30715ac8d704ce43bdeb5be4663471.json create mode 100644 web/public/bundles/graylog/code/ad5afd462ce0f24a22d6e6f4792b105fbfe361ce.json create mode 100644 web/public/bundles/graylog/code/ae902ae7a9a0266e1a9f19737fde8cfc911974b3.json create mode 100644 web/public/bundles/graylog/code/af22dece338f8551f4e5204bdc66ec70957a1722.json create mode 100644 web/public/bundles/graylog/code/af2b2c90be9197581306fd66609e41ccf7cb3ae3.json create mode 100644 web/public/bundles/graylog/code/af8210a4e492bf7703efc3072d35cde13cea311d.json create mode 100644 web/public/bundles/graylog/code/b03f742bb0f7c5d83c15b64c5cb49fa617c9141f.json create mode 100644 web/public/bundles/graylog/code/b09199bd97fd16f4a8967fe02cf334ac3c9a89fb.json create mode 100644 web/public/bundles/graylog/code/b0a277525532aa1e3f36e43f5ab9d9558d3398f6.json create mode 100644 web/public/bundles/graylog/code/b0d82f67fc7966e740f5ec44eb08dd24cebf054b.json create mode 100644 web/public/bundles/graylog/code/b160fc56d9345fb477c08e7f76acd4ccb99d5141.json create mode 100644 web/public/bundles/graylog/code/b40f6aea3b21ad7ca28a5afba6b40db351dcce58.json create mode 100644 web/public/bundles/graylog/code/b44e17aa25b9239bfebe03ff798332a94021644a.json create mode 100644 web/public/bundles/graylog/code/b4abc0eee472c64085c5bb4f928b3c7fa354595f.json create mode 100644 web/public/bundles/graylog/code/b4fabd9044369ba49e83bced70692fef7776b21d.json create mode 100644 web/public/bundles/graylog/code/b5c81626d4b4ecd21d86053c5eec5ccac8488708.json create mode 100644 web/public/bundles/graylog/code/b5ff3e326c64c2390cf17f54bd361d70d63dd6e8.json create mode 100644 web/public/bundles/graylog/code/b6097938676b9736d79a3d88076d6a3ad809ccb4.json create mode 100644 web/public/bundles/graylog/code/b699ad8a0ac58958d3ba2277ad8dd6a47cc422c4.json create mode 100644 web/public/bundles/graylog/code/b6c6167b0659b9755edf5390033b2b2ce4e6cee8.json create mode 100644 web/public/bundles/graylog/code/b6e52c86b546c400d2e52cf87774917fae2baca7.json create mode 100644 web/public/bundles/graylog/code/b725d36ccdc3c423f133f039356f3c1312fa47c9.json create mode 100644 web/public/bundles/graylog/code/b83100dc81f4a357a61872a4aac3a76cb7f8c176.json create mode 100644 web/public/bundles/graylog/code/b83c091b8f79d9f45dddd335092a4ddf59485aff.json create mode 100644 web/public/bundles/graylog/code/b8d2e925845be501e0d52d8f6db7a77f188c9f93.json create mode 100644 web/public/bundles/graylog/code/b8fe5110ab6aede494aca0c388645c195e1afdfa.json create mode 100644 web/public/bundles/graylog/code/b91bb47e8be25228f86edb45278486ec9966f3b2.json create mode 100644 web/public/bundles/graylog/code/b979a126bc1e610f7f2f9d9dda971bdd67e1a50b.json create mode 100644 web/public/bundles/graylog/code/b9aaf5474f0b25442f5fde364963950ea69bf329.json create mode 100644 web/public/bundles/graylog/code/b9cfb490d84806ea748620450fd3fb13799275ae.json create mode 100644 web/public/bundles/graylog/code/ba3cd99fd7f5670e36a58db68d886974f6b142ae.json create mode 100644 web/public/bundles/graylog/code/ba9d95ef8979868fcaeede5d3a2b8f56cbf85934.json create mode 100644 web/public/bundles/graylog/code/bac69c24d0606961c8ca8de9dd6ba5f6b7625435.json create mode 100644 web/public/bundles/graylog/code/bb2c942aa30e53e69e1064beedc3748b5244f7d7.json create mode 100644 web/public/bundles/graylog/code/bbb8fde724d2acd451f4b649b22b43b1ee3cf5ea.json create mode 100644 web/public/bundles/graylog/code/bc1fd3148f8b9c4c3044ffe3461a82a8d9369611.json create mode 100644 web/public/bundles/graylog/code/bc3be62b99f970ffad27275eaf1b77eaf6395cf3.json create mode 100644 web/public/bundles/graylog/code/bce91d096649b23a90a4bff37d9e319fc0ef30b4.json create mode 100644 web/public/bundles/graylog/code/bcf3dfae17a754d5a4c552a85720f87b6eeda2b4.json create mode 100644 web/public/bundles/graylog/code/bd099b4108b2ec1f1021c7fbb7181b1521e0045b.json create mode 100644 web/public/bundles/graylog/code/bdcf329fd7913810376ec87af2852b5af4a73d06.json create mode 100644 web/public/bundles/graylog/code/bebe9aa5aba9ab1e7929bbec0552fff73969062c.json create mode 100644 web/public/bundles/graylog/code/c028a5d43a1e1f6b792ed8c2ba84bf814507ca28.json create mode 100644 web/public/bundles/graylog/code/c02b3dcaf2b41f2ce4f718106d8544be105f7338.json create mode 100644 web/public/bundles/graylog/code/c095d873dda4ebf3b9a57cd713dfdd93e7af3de6.json create mode 100644 web/public/bundles/graylog/code/c10ac2b5768f3da77157ade733c3116ca482a277.json create mode 100644 web/public/bundles/graylog/code/c175b18ef44e61b523d192efa4ced619ec1a1538.json create mode 100644 web/public/bundles/graylog/code/c1e44a6aed5738ef570d91798de469acc299486c.json create mode 100644 web/public/bundles/graylog/code/c410ef29e03ccfc08e35a4025260f8f64eaf3697.json create mode 100644 web/public/bundles/graylog/code/c43db29a392f0ea4bd00bb275679a6973720e553.json create mode 100644 web/public/bundles/graylog/code/c45fd3aa483902245c289ab6fa525e250ea86d54.json create mode 100644 web/public/bundles/graylog/code/c7c4a469624acae4edc9c122d9c8d249c1ea9323.json create mode 100644 web/public/bundles/graylog/code/c84316dfedc7146695390ffe1d65eb969543c31b.json create mode 100644 web/public/bundles/graylog/code/c84a685952b0957f1d0f34a4ec91fe5749ffed15.json create mode 100644 web/public/bundles/graylog/code/c873630a1dc6ca69ae07adf95ef97ff2bed14771.json create mode 100644 web/public/bundles/graylog/code/c8cd8d1fc6d0dbe11adb6b4db7c8e4a0cd318c64.json create mode 100644 web/public/bundles/graylog/code/c918706a34625a980e61f7af0ac82282245a37e8.json create mode 100644 web/public/bundles/graylog/code/ca858e1d771d93eda326ee528a149859b77752dc.json create mode 100644 web/public/bundles/graylog/code/cb275e45cfb14dfcc36fe7128a032cc294b683be.json create mode 100644 web/public/bundles/graylog/code/cbfe87d93276a4a95a4d79b136e4e0e0c9ac578d.json create mode 100644 web/public/bundles/graylog/code/ccd84056153908933450e76db2711b92a709262f.json create mode 100644 web/public/bundles/graylog/code/cd5b06f574199491f88e42990d2983484edbf6a1.json create mode 100644 web/public/bundles/graylog/code/cd5edcb2a80598314ccef7dace205785adc13393.json create mode 100644 web/public/bundles/graylog/code/cdf4a63888fae93f7d9afb7146336672fedc4ed7.json create mode 100644 web/public/bundles/graylog/code/ce580ad9024c785b42a0bc18812711e9d28bbada.json create mode 100644 web/public/bundles/graylog/code/cf69afc53b2d61ad4655a33efe09ea83da453cfa.json create mode 100644 web/public/bundles/graylog/code/d03188b5bb1e2c5ab11dd35a8770c73f98c212bc.json create mode 100644 web/public/bundles/graylog/code/d052c9661e56edc94247b5a45ec1b3b893d17e48.json create mode 100644 web/public/bundles/graylog/code/d0c355b674213de825cd30278218ae8a10ea37e2.json create mode 100644 web/public/bundles/graylog/code/d10aa946dd247c6396d87db38ca8311cc442789f.json create mode 100644 web/public/bundles/graylog/code/d13fe1281b334eae55070910e75bcd43791b121c.json create mode 100644 web/public/bundles/graylog/code/d1dd0ef9c9360d4120a2451ff3884fb41e415b86.json create mode 100644 web/public/bundles/graylog/code/d1f4fb1b6a96fdc52359226f0e1a84894ee9c9b5.json create mode 100644 web/public/bundles/graylog/code/d23c41fa0aa07d82612ce929ac44eaad4a4b997b.json create mode 100644 web/public/bundles/graylog/code/d2b56e041c4eae68188e69385abe772e4ab5cd36.json create mode 100644 web/public/bundles/graylog/code/d2b5dcb52151c2f400814a95739e086f1aa42702.json create mode 100644 web/public/bundles/graylog/code/d36b736f8d31511fbbe2730f29149abdaa37b9d5.json create mode 100644 web/public/bundles/graylog/code/d3d36c7c9fe47f03171910921d55969c484bd76e.json create mode 100644 web/public/bundles/graylog/code/d43f4e5f810ecb22ff370ccd54d7f5117ddf9a95.json create mode 100644 web/public/bundles/graylog/code/d4632d25460e2451f58a9b52747b61e4afb992e0.json create mode 100644 web/public/bundles/graylog/code/d5f3a3fef9f0f0e731bd5f57a0130926b16d6cd2.json create mode 100644 web/public/bundles/graylog/code/d60b55993544fb32b7d0584a76607c35f2a8d44b.json create mode 100644 web/public/bundles/graylog/code/d683a272073a1ea3b276740255ad18689de8a60f.json create mode 100644 web/public/bundles/graylog/code/d6df970ae135122aae6cc0f00140ee086b1cf8dd.json create mode 100644 web/public/bundles/graylog/code/d7e392c2a37d5aff71e0f9f5d1d3de72d0e870f0.json create mode 100644 web/public/bundles/graylog/code/d81b226c4b7c54e4d0634d829672f66c715dd835.json create mode 100644 web/public/bundles/graylog/code/d8cb7d94ad4db1ea073ccfee758a8bd6bdda3dc8.json create mode 100644 web/public/bundles/graylog/code/d8ecb91ce027816bb7c1b0a790963119b169f24d.json create mode 100644 web/public/bundles/graylog/code/d8f6453b6584f762857be517677ba8567094a960.json create mode 100644 web/public/bundles/graylog/code/d9d591aa5c59deb796975e268e60f6a380253b4d.json create mode 100644 web/public/bundles/graylog/code/da0e2f5180551b9c8d075a412b5d80817d7abe09.json create mode 100644 web/public/bundles/graylog/code/da12828cd3b7c29bad9707e780d2a93cb71afae5.json create mode 100644 web/public/bundles/graylog/code/da8b3919fd37b6edebd033accee801b24756f518.json create mode 100644 web/public/bundles/graylog/code/db243c90d0fc003ec10e809d1bd52bf5d2c0a3c4.json create mode 100644 web/public/bundles/graylog/code/db9b6bef5bbea46a9f5d24cb4da2402f441ca0ed.json create mode 100644 web/public/bundles/graylog/code/dbf306937fbfd9b251c2200976724c125348c37a.json create mode 100644 web/public/bundles/graylog/code/dc5003849c2aa8ecf41ea80490e8aa423896601e.json create mode 100644 web/public/bundles/graylog/code/dd4f237c52cbf39d54c9eb6035f475ded8c30e7a.json create mode 100644 web/public/bundles/graylog/code/dd82357166226dbb75bb100316f90b56b2f6db85.json create mode 100644 web/public/bundles/graylog/code/dde4b8ae5d213648cd543420bdcfabbd4bdc92c4.json create mode 100644 web/public/bundles/graylog/code/de049bb9d48bcdef64cef18441d6c83e8bd4ab71.json create mode 100644 web/public/bundles/graylog/code/de71269b22dcc031c4955b21d0bd628ada6412af.json create mode 100644 web/public/bundles/graylog/code/ded986e2121e73cd56bbdc39bf69cd8ebd34eb79.json create mode 100644 web/public/bundles/graylog/code/dedc704e3606eceb1cacb12443ef6e6d5db5cba5.json create mode 100644 web/public/bundles/graylog/code/df3984fce89a63eacdcb10a1cab4e56a0b706e0e.json create mode 100644 web/public/bundles/graylog/code/df4666740381d7c9e5c485cb1b51cfcf51dcf224.json create mode 100644 web/public/bundles/graylog/code/e168f3c4380e975d041628a4db57f5e37e72a8c2.json create mode 100644 web/public/bundles/graylog/code/e1f44117eb9a877cea2de46ef1fffa9430d9fe10.json create mode 100644 web/public/bundles/graylog/code/e207cd6120d671f150e1c137ad6c0eb4203d6c96.json create mode 100644 web/public/bundles/graylog/code/e21d98cea0c76af2a4a1eac2d1875561a3c17b2f.json create mode 100644 web/public/bundles/graylog/code/e327eab13c44717a53aa0ba1a3d541a3ac65c79b.json create mode 100644 web/public/bundles/graylog/code/e3df1de2c0d04afd07d8516842125a45ffc56c92.json create mode 100644 web/public/bundles/graylog/code/e3eff337fec289155a485942132928076fe50a78.json create mode 100644 web/public/bundles/graylog/code/e40be99fbb8abf3cd024ce8a3897b47c53e73f4a.json create mode 100644 web/public/bundles/graylog/code/e4874818df45c53567ee12a3769bd6832690e2f4.json create mode 100644 web/public/bundles/graylog/code/e530e3fecc30ef49ccfa9031fe8732c704881edb.json create mode 100644 web/public/bundles/graylog/code/e5572c6768f846484607812467e610c7aa865962.json create mode 100644 web/public/bundles/graylog/code/e5e343153acb4fc4e9fc3b6bb8608371614c991e.json create mode 100644 web/public/bundles/graylog/code/e6141d1d5ee87c9f0e759b28125398ff59a7ca22.json create mode 100644 web/public/bundles/graylog/code/e61d4cced0f39b292e246ca91d1cbb479e1b8642.json create mode 100644 web/public/bundles/graylog/code/e64d4827cf8b66890fc64044554ee028c461224f.json create mode 100644 web/public/bundles/graylog/code/e68a2f11bc51d7d5c50a7eca9f0019fa7bfc6f4c.json create mode 100644 web/public/bundles/graylog/code/e69ce9172463f6914845ad4d45a4dfccae61977e.json create mode 100644 web/public/bundles/graylog/code/e74656b822f8d23eaf9b5cb28e4dc649b044a04a.json create mode 100644 web/public/bundles/graylog/code/e80e6f24a5b081d76b615c95e61de8b1fd2840b8.json create mode 100644 web/public/bundles/graylog/code/e83dfce7b387e269faf834771124b9a3f2c08fbf.json create mode 100644 web/public/bundles/graylog/code/e8c65600ca96f97a83aeb39483683a21f15b56d9.json create mode 100644 web/public/bundles/graylog/code/e9e3578ddb3c5b1e2d283743d05581bfbf8c21b4.json create mode 100644 web/public/bundles/graylog/code/e9ee5307954b58fcbdb48cb3b9361ae1e3993279.json create mode 100644 web/public/bundles/graylog/code/e9f9393073864a31764c613d162b23b5e782bcb9.json create mode 100644 web/public/bundles/graylog/code/eae82420f5ebe0e2fe2e001b668fe9df18f58a1d.json create mode 100644 web/public/bundles/graylog/code/eaf76e3bac9f50810c838cf6992ce8679e1b4034.json create mode 100644 web/public/bundles/graylog/code/ecb31a26ac41e0a45daaefe7ac9e789beb769bb4.json create mode 100644 web/public/bundles/graylog/code/edb1f1ac70b08bd9dee6ff444e74d7f98e7dea1c.json create mode 100644 web/public/bundles/graylog/code/ee579e5f166a05459d05223226035640b5c5e4ed.json create mode 100644 web/public/bundles/graylog/code/f018557705482720cf6914bd5a8733caa85a39ec.json create mode 100644 web/public/bundles/graylog/code/f01b670ec3f823ab151f0d9e8dfc8e7875dd62a7.json create mode 100644 web/public/bundles/graylog/code/f0a4c11650fc566db8e81e7b3cdaadc7f7311b8b.json create mode 100644 web/public/bundles/graylog/code/f1194761ff73cc2d0415557dfa995123b77d1410.json create mode 100644 web/public/bundles/graylog/code/f11f0b6e3c60d7c26878d49e60d312b7971a22ca.json create mode 100644 web/public/bundles/graylog/code/f14cc6ebbc1e910e2d18eb93591b49c73bb8b205.json create mode 100644 web/public/bundles/graylog/code/f1817e845a0b3e2383baf4e98a4ca80b335a3044.json create mode 100644 web/public/bundles/graylog/code/f1a5234797663addb3c1a773795a552e2968ad9b.json create mode 100644 web/public/bundles/graylog/code/f1e011bb1e93ae8810c8e279227534396fd2a8d9.json create mode 100644 web/public/bundles/graylog/code/f1f42483300845ccf82a386497c2b96a1f3197bd.json create mode 100644 web/public/bundles/graylog/code/f290ae4716059920f35e75704781d86454203da8.json create mode 100644 web/public/bundles/graylog/code/f381d9b05283c8d99b7a05d75fbefa7f5a389582.json create mode 100644 web/public/bundles/graylog/code/f4fb00dc77f8853c6605d70b448a4855d3f2fb16.json create mode 100644 web/public/bundles/graylog/code/f5e8ff5f8b72b385fd14c861e92ddee3edb5944d.json create mode 100644 web/public/bundles/graylog/code/f6005793e09f31dff79bab5bf15daba12aae861b.json create mode 100644 web/public/bundles/graylog/code/f65a0db0ffb8c05593148229b18442e4561ef9bf.json create mode 100644 web/public/bundles/graylog/code/f7547d74a04e54fd49e7e3e2296712ac19392e4d.json create mode 100644 web/public/bundles/graylog/code/f7f93fabf570f8859cba4fd877c9bba9165218b1.json create mode 100644 web/public/bundles/graylog/code/f90ecdd4afc5c57dbe31f77fb3f673605efc7777.json create mode 100644 web/public/bundles/graylog/code/f945cd540c84db7886c28ddbef2a980510ad7f36.json create mode 100644 web/public/bundles/graylog/code/fa45da57b5c68900cb21cc69b8629c1aca772b83.json create mode 100644 web/public/bundles/graylog/code/fa60a1b542c7261f99ced3c034c009e2efc82b9c.json create mode 100644 web/public/bundles/graylog/code/fadd2137c254d2eb5f5ea42f039bb25fa46fa0d3.json create mode 100644 web/public/bundles/graylog/code/fb68604e1a0a77a3de8d0889b7e4cd28e5dcd21f.json create mode 100644 web/public/bundles/graylog/code/fbfd907b14b6b5d62970488ff49b80c36a2630fb.json create mode 100644 web/public/bundles/graylog/code/fc32f6dda073bb22ab41bfff6caf8faf464bcaa2.json create mode 100644 web/public/bundles/graylog/code/fc4695275349642db3f3c996dcb1f99cb419c056.json create mode 100644 web/public/bundles/graylog/code/fc7b088287a49324862b3914e34f9fbd01fa5b32.json create mode 100644 web/public/bundles/graylog/code/fd0ef33eca6191e80cc0a14b30ebd47d7b162a81.json create mode 100644 web/public/bundles/graylog/code/fd92a435a8f131f36e0cebc1c4da0ff80b941234.json create mode 100644 web/public/bundles/graylog/code/fde326426dc98bd945e4d416b92209a4b7bf8d97.json create mode 100644 web/public/bundles/graylog/code/ffefab00ad141e19c2c5831b6ae544a136cbd829.json create mode 100644 web/public/bundles/shopware/code/004eee7ec05effc8f4e72e58b9acac779897ac1a.json create mode 100644 web/public/bundles/shopware/code/012d0a052446f98ba32efe1d3b636b3111957f98.json create mode 100644 web/public/bundles/shopware/code/02304c9d4e6afa2404f41cfa93e2e1b9c3347f2f.json create mode 100644 web/public/bundles/shopware/code/0233bb968dd53a9f7d732fefd680dcb0de1d4292.json create mode 100644 web/public/bundles/shopware/code/0329f9a52daa5045743f0dd039c29eb0f93b8180.json create mode 100644 web/public/bundles/shopware/code/0531e4ea30c5a83c890208230a7207c8657ea81a.json create mode 100644 web/public/bundles/shopware/code/071816e3e105e2985e44112453f69a8147d94860.json create mode 100644 web/public/bundles/shopware/code/07c6b4259830b61719af0abe448a3d1bd3ae3133.json create mode 100644 web/public/bundles/shopware/code/07ec523a43bf8cb43ba8fca180f0a508014500f4.json create mode 100644 web/public/bundles/shopware/code/08b642c8ccebb12e74e1648538e7eec63e2550cc.json create mode 100644 web/public/bundles/shopware/code/0a5de5be53458bc60cbe48a5931c3897526a9879.json create mode 100644 web/public/bundles/shopware/code/0a98bb514a2e816b2ebbc23e88a79b2310ac9040.json create mode 100644 web/public/bundles/shopware/code/0abb2e747c975037f8308bd079aa07dbfa407e0f.json create mode 100644 web/public/bundles/shopware/code/0c600f806afa542050a3f1a27b2f4b4c1baefaca.json create mode 100644 web/public/bundles/shopware/code/0ca401bc2cec600c7c40710fc24f82fd925d5521.json create mode 100644 web/public/bundles/shopware/code/0ce95c8fcea3c462692db8c093a85ad00fff4039.json create mode 100644 web/public/bundles/shopware/code/0cf59e8f0ec0a6fe92d00b4db3316f7422dccbaf.json create mode 100644 web/public/bundles/shopware/code/0de9a6f4de84f78145aefcb315d5cf55f6ac0d21.json create mode 100644 web/public/bundles/shopware/code/0e1fb44955029f6f7a801b602b62a5f6635a8299.json create mode 100644 web/public/bundles/shopware/code/0e4fa9656a7c898a8d7d7636688dcd99e5da4b82.json create mode 100644 web/public/bundles/shopware/code/0fea8e9e2a1eeef24c24392233e31568ad1ddd26.json create mode 100644 web/public/bundles/shopware/code/1036a23a28c20ed6e0c00d465d9a5ee64614ce3b.json create mode 100644 web/public/bundles/shopware/code/11a952fbf8427ea78502a81d6c1c0a4d3d611a68.json create mode 100644 web/public/bundles/shopware/code/12e91401e84d51a6bf5be13b8637df7ffb1ff62a.json create mode 100644 web/public/bundles/shopware/code/1343ce061ed1c359f71cf6b64cc4972854602eb1.json create mode 100644 web/public/bundles/shopware/code/1392a13aab786713940bf5be4806e229dee5d5b0.json create mode 100644 web/public/bundles/shopware/code/13c35aff33f5f873c43be57aa70a37ecb7b87c34.json create mode 100644 web/public/bundles/shopware/code/178553d7bfefca03dcdafeb905ecb47fbd4039c5.json create mode 100644 web/public/bundles/shopware/code/17d24d74448ec3f91cfac80d006233b0fffbed2f.json create mode 100644 web/public/bundles/shopware/code/19ed58b74f4f00e466727ea6e857449cca72d4cb.json create mode 100644 web/public/bundles/shopware/code/1a867872712f2fbc7b143a84fa2b3fb69062b6bb.json create mode 100644 web/public/bundles/shopware/code/1f71f2e84b38ca82ead7a253a4a122f48c47d816.json create mode 100644 web/public/bundles/shopware/code/1fbc4b3bb7e09cd5b5d0e16b589e3e9146f8c47a.json create mode 100644 web/public/bundles/shopware/code/223949d75ccd653e5bf4d6f3306ed606286502fb.json create mode 100644 web/public/bundles/shopware/code/2479cc60371cd9dbefcfbd38668ea55970132733.json create mode 100644 web/public/bundles/shopware/code/24b387647f37e6aee9eb1e2e1e34e27728424c1c.json create mode 100644 web/public/bundles/shopware/code/265f444c0bc3accd5a02b7953a7c82cb602d522a.json create mode 100644 web/public/bundles/shopware/code/27ded024e888f86f1061958d5e6a83db06f35e7c.json create mode 100644 web/public/bundles/shopware/code/2d4705adbeb60351d827d70a0349a17b56b64cae.json create mode 100644 web/public/bundles/shopware/code/2f69ebdfa03ce6da964991f8ceba920f3574a117.json create mode 100644 web/public/bundles/shopware/code/2ffacf1b7811f49777ccf80d0d681c443d102782.json create mode 100644 web/public/bundles/shopware/code/305651f13aadf9c27d7c4e39cf73a643edf93247.json create mode 100644 web/public/bundles/shopware/code/31f1e7e13f1bdcfd47ef2fdd42cc144db5a6d79c.json create mode 100644 web/public/bundles/shopware/code/31fdb2bb81780fe9605e35b6c5e0fd04d620b8a3.json create mode 100644 web/public/bundles/shopware/code/3205083958061cf5d2616cca9309e9366a4c0221.json create mode 100644 web/public/bundles/shopware/code/350896d09c684397a7cce4b4dacb29d9d42462c0.json create mode 100644 web/public/bundles/shopware/code/3544e3434373781f516a8483c13d2bb7bc878ff8.json create mode 100644 web/public/bundles/shopware/code/355219d3710f25af84b45669b1606ef561b5b472.json create mode 100644 web/public/bundles/shopware/code/3869b23b7a2a7bf567d18fe9037ab6ec8f252c54.json create mode 100644 web/public/bundles/shopware/code/3aab9d2d8dbde246d0fef13d827706e9a765f378.json create mode 100644 web/public/bundles/shopware/code/3bc6feb4d1d9c55f52ffac457fbf2540362daf37.json create mode 100644 web/public/bundles/shopware/code/3c8d03a90067671f3eb771b25eba15d98f7d6de9.json create mode 100644 web/public/bundles/shopware/code/3cf9e0d6a0bce28cdf1f27bb89267166840b3f6f.json create mode 100644 web/public/bundles/shopware/code/3eb4ddae35f5c92aa3035c198daa77e5f63c7923.json create mode 100644 web/public/bundles/shopware/code/3f7c3349d502a8ba304dc506e441a3d106329f97.json create mode 100644 web/public/bundles/shopware/code/41c5c52704df1d8d5a2ed82d8af037719e319579.json create mode 100644 web/public/bundles/shopware/code/42785459579f6be2fa21eb3fb832fae933850b41.json create mode 100644 web/public/bundles/shopware/code/45640ed02c822f755ff7f2291acbc94508982dba.json create mode 100644 web/public/bundles/shopware/code/45fdcce0749761662473c1720cae76bc8dbeeef1.json create mode 100644 web/public/bundles/shopware/code/4a1a7ea223394a30b5b57e71e1ef2e442aac8251.json create mode 100644 web/public/bundles/shopware/code/4ae6f7511e4f7864bc7e6a25c7e814b3a710b87f.json create mode 100644 web/public/bundles/shopware/code/4bc972d702886279d90180b4d9320c0498e4b351.json create mode 100644 web/public/bundles/shopware/code/4bd2761df1efbaf912eddbdb372b21e4b034c3f0.json create mode 100644 web/public/bundles/shopware/code/4c29e67109aa9e233cd6088be2f9937b805300fd.json create mode 100644 web/public/bundles/shopware/code/4e0768d867a5aed2d525136193ef9c9ccf1e30dd.json create mode 100644 web/public/bundles/shopware/code/50addd41ce3a1f0875dc28cc95bac25fb5d9c69b.json create mode 100644 web/public/bundles/shopware/code/52889d59dd625981af531fca14361514d6e310f5.json create mode 100644 web/public/bundles/shopware/code/52cd98aa58f23a58f7457354b008e237edb86294.json create mode 100644 web/public/bundles/shopware/code/532e1e5f451d8fa5641bffcedd6305b2e72242a2.json create mode 100644 web/public/bundles/shopware/code/576e5f19cc2fc44cb46f72cb73d50673fda2b32d.json create mode 100644 web/public/bundles/shopware/code/57a1e0b9f8787c699c9d3fa126f605382bdb7c55.json create mode 100644 web/public/bundles/shopware/code/586fdef4ace098a4013a434c0e524b9892a67dd7.json create mode 100644 web/public/bundles/shopware/code/587cf16c4edcf3899b1c3d29c6155e33514a45fd.json create mode 100644 web/public/bundles/shopware/code/5954df2be19c78533b23618f5c578a9740f9c8fb.json create mode 100644 web/public/bundles/shopware/code/596b267b596062176432f42cf94e06a62ef9e8f4.json create mode 100644 web/public/bundles/shopware/code/5b5e37fe63ef8242f8b8d94a85e27a497a5285f4.json create mode 100644 web/public/bundles/shopware/code/5fbe8fd98e89e77aa71549da5b6739e62d8a795d.json create mode 100644 web/public/bundles/shopware/code/60101db07df2eb57a2d2998b46de45a38e3c0500.json create mode 100644 web/public/bundles/shopware/code/60eb37acf2ceec59ca852297fee422b1a1e34824.json create mode 100644 web/public/bundles/shopware/code/60f1003c2b4db1ed17a61aa4a65de7bba9f32de5.json create mode 100644 web/public/bundles/shopware/code/61aabf2b4d4d8db322ba45a0e81b889623634d6b.json create mode 100644 web/public/bundles/shopware/code/634d1b2da2970d0ef145c45444c2d79cde9268d5.json create mode 100644 web/public/bundles/shopware/code/66357fce0ccaec09aa15d6200d6f0b9b6686ab7a.json create mode 100644 web/public/bundles/shopware/code/68b763d2a03ca13b61d3e14f2955efe832b9bc57.json create mode 100644 web/public/bundles/shopware/code/694eabf1029c7bfb5cd6711964a37dece4ea56c9.json create mode 100644 web/public/bundles/shopware/code/6ae22833fedf98439cdd36d31c54995716301b57.json create mode 100644 web/public/bundles/shopware/code/6c0c987353b3f86e9ef93cec2c2b9fd36f5d6e24.json create mode 100644 web/public/bundles/shopware/code/6cced9e2713b9166bbe8a40030ebafd638508fd7.json create mode 100644 web/public/bundles/shopware/code/6ef46f066aef9c7310eb7233f40f7a40c92ed7af.json create mode 100644 web/public/bundles/shopware/code/744a50d099e1a2f6db5fadee05e50fbe37f4bb24.json create mode 100644 web/public/bundles/shopware/code/746bd5691c025ddf8178151ffd4b668d8aff4ac3.json create mode 100644 web/public/bundles/shopware/code/76c46e33aca0340e87f9c53360992278735794d3.json create mode 100644 web/public/bundles/shopware/code/77a0f5274bc9eca1cd6b5344d9ce27d6ef22fd74.json create mode 100644 web/public/bundles/shopware/code/7b6d8b857bfc43f3e79ed1227480be59218e8aca.json create mode 100644 web/public/bundles/shopware/code/7c17725e644b0434396c352e2f3e0a702de4af33.json create mode 100644 web/public/bundles/shopware/code/7ce439697e3071b3224250bf9d7bea909f47a212.json create mode 100644 web/public/bundles/shopware/code/7e8a6ee418d082e367d284631b590f4ab8262cfe.json create mode 100644 web/public/bundles/shopware/code/82c304b04dfb94fa8fd43c83a80f0a946e3cbc44.json create mode 100644 web/public/bundles/shopware/code/889d046f9fc04ae5fdded1a209431b3dac13d612.json create mode 100644 web/public/bundles/shopware/code/892a16dc5c62880f52f46847dbb04e38fd156321.json create mode 100644 web/public/bundles/shopware/code/8a5d6998c1f78cc004c6584b67ef3f280ab9b426.json create mode 100644 web/public/bundles/shopware/code/8b94c1763033926c0d64db25221f1d0413078884.json create mode 100644 web/public/bundles/shopware/code/8bb7c66ec26fe242fad697e35139869b5c4d3e2f.json create mode 100644 web/public/bundles/shopware/code/8ddce460f6ce44f038e6093bd284e8d4ef095d56.json create mode 100644 web/public/bundles/shopware/code/8eb45ffdefe7c23435fee83985074068f0e1cf46.json create mode 100644 web/public/bundles/shopware/code/8f84775ed58a2727974a9cd7414a36d030af421e.json create mode 100644 web/public/bundles/shopware/code/8faa315fcab94aa0704119c4fe4a5e1b64a92adc.json create mode 100644 web/public/bundles/shopware/code/91634b15df3f22daba6d38cb2df57ce8a8fc1a54.json create mode 100644 web/public/bundles/shopware/code/91d2ccb0c4dbb24cefb9282108005c326fb3876f.json create mode 100644 web/public/bundles/shopware/code/92ab62bae7caac4e33545c6a6742d952fdb3f716.json create mode 100644 web/public/bundles/shopware/code/93b61c61d5d22e50089f7845f061fa3de96ee6cd.json create mode 100644 web/public/bundles/shopware/code/946e30860ba2fb071b637d1378036f3c6e247ce6.json create mode 100644 web/public/bundles/shopware/code/94f3b6e6bfda05e1bcc18f5eedce322721fd0f11.json create mode 100644 web/public/bundles/shopware/code/95b8f7fe82e0784a7eaf7439674a2ce5d721f5d1.json create mode 100644 web/public/bundles/shopware/code/96a9e0b9e7fc4a9829d74246c73ee687003f55c4.json create mode 100644 web/public/bundles/shopware/code/98b6f985aeb93b9e3d56e7482c43bfec8af727c0.json create mode 100644 web/public/bundles/shopware/code/9db9df338ceeb01f13fcb332101d18d4b92d9aaa.json create mode 100644 web/public/bundles/shopware/code/9fd32d7bbb4050e6abcad34a2ed86fe22115d7e4.json create mode 100644 web/public/bundles/shopware/code/9ffb829737b7518eaa35af0f464a1c30b1d8188c.json create mode 100644 web/public/bundles/shopware/code/a2ddb579884ba2040c888a147998c37009b640c0.json create mode 100644 web/public/bundles/shopware/code/a2e2133f2e9dfc9c370b5cf06960cebf554f89bc.json create mode 100644 web/public/bundles/shopware/code/a3ac9f27b3dbc7146b8b05b44ef0a44c19d3d791.json create mode 100644 web/public/bundles/shopware/code/a3bf416af19b6c58f366f5f192433405a55c73fd.json create mode 100644 web/public/bundles/shopware/code/a3c2953a46bdb3d53ef397da2ace64651fe06b9b.json create mode 100644 web/public/bundles/shopware/code/a3df215417a0c02476e9c1dfd02b0ca7c8eb7dfa.json create mode 100644 web/public/bundles/shopware/code/a575e1c656b210245026cc1158d8f150bba7d1cb.json create mode 100644 web/public/bundles/shopware/code/a66e2f954d91e3fcf598530e15c9339b4c958ceb.json create mode 100644 web/public/bundles/shopware/code/a8d8bfb4b31342373a60bb8105806e09fedeb1c4.json create mode 100644 web/public/bundles/shopware/code/a991645f6da7fd84f8406dbd23c831869801a6a8.json create mode 100644 web/public/bundles/shopware/code/ad7dbba21121bac9e9d7b9753bd9236d541ac919.json create mode 100644 web/public/bundles/shopware/code/af621427c3c4b64872b6cd6024f2888e90421880.json create mode 100644 web/public/bundles/shopware/code/b16d5e8ab535863d11610258a4afa0538e9b4a13.json create mode 100644 web/public/bundles/shopware/code/b1c1aeb585959a9e50bf40621ec25a8bfa0c0e90.json create mode 100644 web/public/bundles/shopware/code/b23f91d99107bf7af640f524e5bf742df00b832e.json create mode 100644 web/public/bundles/shopware/code/b2def24751630828f3ba6b2b5b4eceff0311332c.json create mode 100644 web/public/bundles/shopware/code/b3da9b375f038af93144e72927af83eede46ebd2.json create mode 100644 web/public/bundles/shopware/code/b58e47ac7f935070eb5d2d265a1b891f4197c788.json create mode 100644 web/public/bundles/shopware/code/b845d9594ae7f819552f46cc759a9b5e8c52a03c.json create mode 100644 web/public/bundles/shopware/code/be154633694cc63323d04be3e9e77ef600183888.json create mode 100644 web/public/bundles/shopware/code/bef0d50ae06bf0359b63ac17c3f15175991e7b59.json create mode 100644 web/public/bundles/shopware/code/bfbb506d6fdc7cfa8ff1cc727602993b2f74fa51.json create mode 100644 web/public/bundles/shopware/code/c1b6ea9963fc372988e9d633d18f6a271a329975.json create mode 100644 web/public/bundles/shopware/code/c2b58c1ac6d857d10cac0dbe5d50caddcbcc220d.json create mode 100644 web/public/bundles/shopware/code/c36e3019b7a74a80f1cac6a9674e3b8cb7f5bf88.json create mode 100644 web/public/bundles/shopware/code/c3b5f3e3265408c064e0afbba727637a2374c80c.json create mode 100644 web/public/bundles/shopware/code/c72af4cb469fef8d5f03cf24e71f23adc4a6a2aa.json create mode 100644 web/public/bundles/shopware/code/c76414f670374bcb89333dcbecccfcfdf726d39b.json create mode 100644 web/public/bundles/shopware/code/c96c078c91934e293859b8ba9d1ef1712b454fc1.json create mode 100644 web/public/bundles/shopware/code/ce67a16e2bd9de0268265a1256a7afd5b2385bea.json create mode 100644 web/public/bundles/shopware/code/d07c62a2d31f68ee8531bae59362bed66a2f9a7a.json create mode 100644 web/public/bundles/shopware/code/d47e875bda1242a3850e679f271b83b1e40d1695.json create mode 100644 web/public/bundles/shopware/code/d507a7423f88b7927fd8e35d2fce5d726a57852b.json create mode 100644 web/public/bundles/shopware/code/d5633404b4081144f90273afa77f9a5897c74aa0.json create mode 100644 web/public/bundles/shopware/code/d707c9c4836e51a2812d8a933a7e7014340d0b64.json create mode 100644 web/public/bundles/shopware/code/d768c9b514b37807a5eba5800832d2fbd58bd013.json create mode 100644 web/public/bundles/shopware/code/d95e6d68673dccc95e40a29dafbb63815bc8ef04.json create mode 100644 web/public/bundles/shopware/code/db8ba5cabe21d8ab4daf26f23f45409e0336833b.json create mode 100644 web/public/bundles/shopware/code/dd91f26421ba6803c0c6bf0df1e517581e6e34a3.json create mode 100644 web/public/bundles/shopware/code/dfc15ffab9e98833aa25d3a0e49a1278249b6043.json create mode 100644 web/public/bundles/shopware/code/dfe939dca05733bdc9b4040b791b9e37eee3d370.json create mode 100644 web/public/bundles/shopware/code/e4a52c3cb6e55916486fe917452296e90e61412f.json create mode 100644 web/public/bundles/shopware/code/e5689c09c4af5ef53448711ee21a6acee3d884a1.json create mode 100644 web/public/bundles/shopware/code/e6a603739dfdd6938784a4a18cd3117bfc578ea4.json create mode 100644 web/public/bundles/shopware/code/e6fef743b320bec016912f286745e47631e2a639.json create mode 100644 web/public/bundles/shopware/code/ea8bc63403eca433a01c6d95c885641c85b64a76.json create mode 100644 web/public/bundles/shopware/code/eac9dc3448bd2957d841f4fb12e1f09e25967f05.json create mode 100644 web/public/bundles/shopware/code/ecde9703c821daa8d76a784ef4219f321400a7b1.json create mode 100644 web/public/bundles/shopware/code/ed6a4e13aca3699ab169cddb3c2538cb0bc8f920.json create mode 100644 web/public/bundles/shopware/code/f181eff20822360a9c42dab5b8b246b69c401abe.json create mode 100644 web/public/bundles/shopware/code/f2ef854f13a4b4055a7b06c23bb1c7c1d17202bb.json create mode 100644 web/public/bundles/shopware/code/f31ead56bbd23297dac302f672416eea897cd780.json create mode 100644 web/public/bundles/shopware/code/f4714d63926283be709a989caa0708700248833d.json create mode 100644 web/public/bundles/shopware/code/f4a97c621108f7d2b8b361e899e421ad60dc39fa.json create mode 100644 web/public/bundles/shopware/code/f62930fc698231b7bde5eac79746a39aa01a0df2.json create mode 100644 web/public/bundles/shopware/code/f75f4d0945199d8775ec92790be25a640c85198f.json create mode 100644 web/public/bundles/shopware/code/f84606fa79ab16c1be706e97565a40637b59c30e.json create mode 100644 web/public/bundles/shopware/code/f91f96767c0bda484c6882d9e792efa122745fe7.json create mode 100644 web/public/bundles/shopware/code/fb682eb30d5bc2cd1b967ddbee53abcc5115be5f.json create mode 100644 web/public/bundles/shopware/code/fbb60993de53ea2c0bfc068a3dc1d8305843a6cd.json create mode 100644 web/public/bundles/shopware/code/fc5dbac4128f85d9db83a90781cf82622ee5406a.json create mode 100644 web/public/bundles/shopware/code/fd8a3b9f4c06c09ca8222a9b1ef3e1a233d07159.json create mode 100644 web/public/bundles/shopware/code/fe6569273d7cddfc248a64a52987ad5acd1f2b69.json create mode 100644 web/public/bundles/shopware/code/ff5fce04013247c72facdc725bdaf51da4f21f42.json diff --git a/README.md b/README.md index 82e68baf..be429851 100644 --- a/README.md +++ b/README.md @@ -88,9 +88,9 @@ The other two take the same commands with their own URL and id: | Repository | Pinned commit | Whole run | Findings at END | Decisions | Bundle on disk | |---|---|---|---|---|---| -| ls1intum/Artemis | `d8fc451` | 4.7 min | 219 | 16 | 37 MB | -| shopware/shopware | `ec8b714` | 9.2 min | 179 | 1 | 31 MB | -| Graylog2/graylog2-server | `4912933` | 4.7 min | 189 | 1 | 27 MB | +| ls1intum/Artemis | `d8fc451` | 4.7 min | 219 | 16 | 42 MB | +| shopware/shopware | `ec8b714` | 9.2 min | 179 | 1 | 32 MB | +| Graylog2/graylog2-server | `4912933` | 4.7 min | 189 | 1 | 31 MB | Each repository has 10 findings in the list to fix first. diff --git a/results/artemis/findings.json b/results/artemis/findings.json index d3c51aa9..5cfeb66f 100644 --- a/results/artemis/findings.json +++ b/results/artemis/findings.json @@ -746,7 +746,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -1541,7 +1541,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -2334,7 +2334,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -2564,7 +2564,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -2779,7 +2779,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -2979,7 +2979,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -3179,7 +3179,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -3394,7 +3394,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -3610,7 +3610,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -3790,7 +3790,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -4591,7 +4591,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -5399,7 +5399,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -6187,7 +6187,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -6967,7 +6967,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -7754,7 +7754,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -8542,7 +8542,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -9322,7 +9322,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -9537,7 +9537,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -10325,7 +10325,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -11122,7 +11122,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -11921,7 +11921,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -12134,7 +12134,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -12337,7 +12337,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -13130,7 +13130,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -13306,7 +13306,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -14095,7 +14095,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -14887,7 +14887,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -15683,7 +15683,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -16477,7 +16477,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -17264,7 +17264,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -17463,7 +17463,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -17641,7 +17641,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -17844,7 +17844,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -18059,7 +18059,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -18262,7 +18262,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -18440,7 +18440,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -18622,7 +18622,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -18858,7 +18858,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -19075,7 +19075,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -19278,7 +19278,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -19507,7 +19507,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -19743,7 +19743,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -20526,7 +20526,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -21313,7 +21313,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -21945,7 +21945,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -22123,7 +22123,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -22340,7 +22340,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -22559,7 +22559,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -23345,7 +23345,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -23642,7 +23642,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -23842,7 +23842,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -24061,7 +24061,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -24278,7 +24278,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -24480,7 +24480,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -25060,7 +25060,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -25459,7 +25459,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -25658,7 +25658,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -25860,7 +25860,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -26062,7 +26062,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -26264,7 +26264,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -26500,7 +26500,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -26703,7 +26703,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -26902,7 +26902,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -27674,7 +27674,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -28275,7 +28275,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -28910,7 +28910,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -29142,7 +29142,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -29358,7 +29358,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -29560,7 +29560,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -29780,7 +29780,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -29983,7 +29983,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -30610,7 +30610,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -31259,7 +31259,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -31471,7 +31471,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -31707,7 +31707,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -31909,7 +31909,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -32124,7 +32124,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -32341,7 +32341,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -32544,7 +32544,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -32997,7 +32997,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -33175,7 +33175,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -33372,7 +33372,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -33608,7 +33608,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -34308,7 +34308,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -34486,7 +34486,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -34705,7 +34705,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -34908,7 +34908,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -35409,7 +35409,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -35621,7 +35621,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -35823,7 +35823,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -36040,7 +36040,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -36262,7 +36262,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -36816,7 +36816,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -37045,7 +37045,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -37247,7 +37247,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -37466,7 +37466,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -37668,7 +37668,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -37870,7 +37870,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -38400,7 +38400,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -38926,7 +38926,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -39441,7 +39441,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -39637,7 +39637,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -39856,7 +39856,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -40056,7 +40056,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -40259,7 +40259,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -40788,7 +40788,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -41218,7 +41218,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -41655,7 +41655,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -42256,7 +42256,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -42453,7 +42453,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -42656,7 +42656,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -42855,7 +42855,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -43031,7 +43031,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -43367,7 +43367,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -43586,7 +43586,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -43805,7 +43805,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -44019,7 +44019,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -44222,7 +44222,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -44440,7 +44440,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -44650,7 +44650,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -44872,7 +44872,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -45347,7 +45347,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -45562,7 +45562,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -45778,7 +45778,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -45994,7 +45994,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -46454,7 +46454,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -46683,7 +46683,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -47018,7 +47018,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -47474,7 +47474,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -47676,7 +47676,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -47895,7 +47895,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -48110,7 +48110,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -48324,7 +48324,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -48529,7 +48529,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -48747,7 +48747,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -49175,7 +49175,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -49583,7 +49583,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -50018,7 +50018,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -50196,7 +50196,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -51211,7 +51211,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -51837,7 +51837,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -52605,7 +52605,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -52827,7 +52827,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -53249,7 +53249,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -53463,7 +53463,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -53668,7 +53668,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -53867,7 +53867,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -54085,7 +54085,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -54480,7 +54480,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -54743,7 +54743,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -54945,7 +54945,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -55147,7 +55147,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -55361,7 +55361,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -55583,7 +55583,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -55801,7 +55801,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -56019,7 +56019,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -56477,7 +56477,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -56884,7 +56884,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -57528,7 +57528,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -57730,7 +57730,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -57932,7 +57932,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -58135,7 +58135,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -58542,7 +58542,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -58788,7 +58788,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -58985,7 +58985,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -59201,7 +59201,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -59403,7 +59403,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -59617,7 +59617,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -59850,7 +59850,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -60081,7 +60081,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -60283,7 +60283,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -60485,7 +60485,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -60699,7 +60699,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -60921,7 +60921,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -61139,7 +61139,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -61375,7 +61375,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -61557,7 +61557,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -61759,7 +61759,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -61961,7 +61961,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -62183,7 +62183,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -62401,7 +62401,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -62781,7 +62781,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -63193,7 +63193,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -63392,7 +63392,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -63654,7 +63654,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -63856,7 +63856,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -64059,7 +64059,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -64258,7 +64258,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -64656,7 +64656,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -64834,7 +64834,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -65016,7 +65016,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -65230,7 +65230,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -65452,7 +65452,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -65736,7 +65736,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -65950,7 +65950,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -66327,7 +66327,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -66520,7 +66520,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -66722,7 +66722,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -66938,7 +66938,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -67160,7 +67160,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -67378,7 +67378,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -67573,7 +67573,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -67775,7 +67775,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -67997,7 +67997,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -68175,7 +68175,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -68357,7 +68357,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -68549,7 +68549,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -68771,7 +68771,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -68961,7 +68961,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -69183,7 +69183,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -69376,7 +69376,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -69579,7 +69579,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -69797,7 +69797,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -69996,7 +69996,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -70214,7 +70214,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -70432,7 +70432,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -70631,7 +70631,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -70849,7 +70849,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -71048,7 +71048,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, diff --git a/results/artemis/manifest.json b/results/artemis/manifest.json index 80cd7859..b1db244b 100644 --- a/results/artemis/manifest.json +++ b/results/artemis/manifest.json @@ -803,7 +803,7 @@ "Model: A file's id is its path at END. A file deleted before END keeps the path it had at the snapshot, so its id changes if it was renamed before it was deleted.", "Model: Classes and functions are nodes directly under their file. Calls between functions are not established, so the map has no function-level links." ], - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "repo": "ls1intum/Artemis", "repo_id": "artemis", "repo_url": "https://github.com/ls1intum/Artemis.git", @@ -1982,7 +1982,7 @@ "cheap_loop", "foundation_on_features" ], - "max_refs_per_cell": 3, + "max_refs_per_cell": 10, "offending_role_prefix": "offending", "yardstick_units": { "against_grain_links": "links", diff --git a/results/graylog/findings.json b/results/graylog/findings.json index 5bac0945..42d7c422 100644 --- a/results/graylog/findings.json +++ b/results/graylog/findings.json @@ -716,7 +716,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -1493,7 +1493,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -2267,7 +2267,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -2480,7 +2480,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -2992,7 +2992,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -3210,7 +3210,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -3444,7 +3444,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -3661,7 +3661,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -3888,7 +3888,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -4105,7 +4105,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -4898,7 +4898,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -5097,7 +5097,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -5874,7 +5874,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -6104,7 +6104,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -6892,7 +6892,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -7671,7 +7671,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -8447,7 +8447,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -9231,7 +9231,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -10004,7 +10004,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -10236,7 +10236,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -11014,7 +11014,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -11788,7 +11788,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -12564,7 +12564,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -12785,7 +12785,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -13565,7 +13565,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -14340,7 +14340,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -14539,7 +14539,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -15054,7 +15054,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -15269,7 +15269,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -15647,7 +15647,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -15852,7 +15852,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -16599,7 +16599,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -16814,7 +16814,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -17124,7 +17124,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -17343,7 +17343,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -17738,7 +17738,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -18516,7 +18516,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -18729,7 +18729,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -19508,7 +19508,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -19740,7 +19740,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -20511,7 +20511,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -20715,7 +20715,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -21110,7 +21110,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -21747,7 +21747,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -22464,7 +22464,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -22821,7 +22821,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -23043,7 +23043,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -23265,7 +23265,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -23468,7 +23468,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -23706,7 +23706,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -24084,7 +24084,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -24830,7 +24830,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -25031,7 +25031,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -25232,7 +25232,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -25433,7 +25433,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -25944,7 +25944,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -26148,7 +26148,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -26356,7 +26356,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -26559,7 +26559,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -27227,7 +27227,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -27808,7 +27808,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -28114,7 +28114,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -28339,7 +28339,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -28964,7 +28964,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -29179,7 +29179,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -29379,7 +29379,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -29581,7 +29581,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -29840,7 +29840,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -30060,7 +30060,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -30644,7 +30644,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -30950,7 +30950,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -31153,7 +31153,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -31352,7 +31352,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -31567,7 +31567,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -31945,7 +31945,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -32187,7 +32187,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -32390,7 +32390,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -33043,7 +33043,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -33258,7 +33258,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -33466,7 +33466,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -33674,7 +33674,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -33896,7 +33896,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -34335,7 +34335,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -34550,7 +34550,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -34758,7 +34758,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -34974,7 +34974,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -35487,7 +35487,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -35749,7 +35749,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -35968,7 +35968,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -36186,7 +36186,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -36389,7 +36389,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -36852,7 +36852,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -37050,7 +37050,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -37326,7 +37326,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -37544,7 +37544,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -38071,7 +38071,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -38267,7 +38267,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -38486,7 +38486,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -38694,7 +38694,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -39004,7 +39004,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -39297,7 +39297,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -39502,7 +39502,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -39701,7 +39701,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -39914,7 +39914,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -40207,7 +40207,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -40423,7 +40423,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -40639,7 +40639,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -41212,7 +41212,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -41411,7 +41411,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -41607,7 +41607,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -41809,7 +41809,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -42011,7 +42011,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -42213,7 +42213,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -42415,7 +42415,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -42618,7 +42618,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -43106,7 +43106,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -43304,7 +43304,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -43523,7 +43523,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -43714,7 +43714,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -43919,7 +43919,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -44137,7 +44137,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -44576,7 +44576,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -45085,7 +45085,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -45272,7 +45272,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -45463,7 +45463,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -45680,7 +45680,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -45902,7 +45902,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -46375,7 +46375,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -46562,7 +46562,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -46779,7 +46779,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -46982,7 +46982,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -47200,7 +47200,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -47398,7 +47398,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -47620,7 +47620,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -47838,7 +47838,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -48056,7 +48056,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -48410,7 +48410,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -48908,7 +48908,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -49333,7 +49333,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -49531,7 +49531,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -49733,7 +49733,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -49936,7 +49936,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -50135,7 +50135,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -50353,7 +50353,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -50858,7 +50858,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -51331,7 +51331,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -51529,7 +51529,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -51731,7 +51731,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -51933,7 +51933,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -52155,7 +52155,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -52520,7 +52520,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -52718,7 +52718,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -52909,7 +52909,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -53131,7 +53131,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -53496,7 +53496,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -53694,7 +53694,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -53909,7 +53909,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -54123,7 +54123,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -54345,7 +54345,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -54563,7 +54563,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -54750,7 +54750,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -54953,7 +54953,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -55306,7 +55306,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -55524,7 +55524,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -55742,7 +55742,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -55940,7 +55940,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -56162,7 +56162,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -56380,7 +56380,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -56598,7 +56598,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -56963,7 +56963,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -57173,7 +57173,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -57376,7 +57376,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -57575,7 +57575,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -57928,7 +57928,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -58115,7 +58115,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -58306,7 +58306,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -58509,7 +58509,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -58708,7 +58708,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -58926,7 +58926,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -59144,7 +59144,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -59509,7 +59509,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -59687,7 +59687,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -59909,7 +59909,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -60096,7 +60096,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -60287,7 +60287,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -60509,7 +60509,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -60727,7 +60727,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -60945,7 +60945,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -61163,7 +61163,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, diff --git a/results/graylog/manifest.json b/results/graylog/manifest.json index 63f4a13a..7b027f12 100644 --- a/results/graylog/manifest.json +++ b/results/graylog/manifest.json @@ -765,7 +765,7 @@ "Model: A file's id is its path at END. A file deleted before END keeps the path it had at the snapshot, so its id changes if it was renamed before it was deleted.", "Model: Classes and functions are nodes directly under their file. Calls between functions are not established, so the map has no function-level links." ], - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "repo": "Graylog2/graylog2-server", "repo_id": "graylog", "repo_url": "https://github.com/Graylog2/graylog2-server.git", @@ -1944,7 +1944,7 @@ "cheap_loop", "foundation_on_features" ], - "max_refs_per_cell": 3, + "max_refs_per_cell": 10, "offending_role_prefix": "offending", "yardstick_units": { "against_grain_links": "links", diff --git a/results/shopware/findings.json b/results/shopware/findings.json index 523a4631..64b6ed2b 100644 --- a/results/shopware/findings.json +++ b/results/shopware/findings.json @@ -703,7 +703,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -1490,7 +1490,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -2268,7 +2268,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -2482,7 +2482,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -2704,7 +2704,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -2964,7 +2964,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -3181,7 +3181,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -3445,7 +3445,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -3667,7 +3667,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -3863,7 +3863,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -4645,7 +4645,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -5654,7 +5654,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -6442,7 +6442,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -7217,7 +7217,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -7992,7 +7992,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -8766,7 +8766,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -9544,7 +9544,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -10318,7 +10318,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -11093,7 +11093,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -11875,7 +11875,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -12650,7 +12650,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -13424,7 +13424,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -14202,7 +14202,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -14401,7 +14401,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -15175,7 +15175,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -15952,7 +15952,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -16731,7 +16731,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -17506,7 +17506,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -18280,7 +18280,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -18928,7 +18928,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -19703,7 +19703,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -19902,7 +19902,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -20541,7 +20541,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -21317,7 +21317,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -22093,7 +22093,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -22869,7 +22869,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -23336,7 +23336,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -23535,7 +23535,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -24310,7 +24310,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -24858,7 +24858,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -25575,7 +25575,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -26267,7 +26267,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -26466,7 +26466,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -27013,7 +27013,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -27554,7 +27554,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -28065,7 +28065,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -28590,7 +28590,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -29032,7 +29032,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -29231,7 +29231,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -29430,7 +29430,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -30099,7 +30099,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -30707,7 +30707,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -31277,7 +31277,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -31495,7 +31495,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -32023,7 +32023,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -32221,7 +32221,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -32424,7 +32424,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -32623,7 +32623,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -32822,7 +32822,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -33369,7 +33369,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -33906,7 +33906,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -34138,7 +34138,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -34341,7 +34341,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -34711,7 +34711,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -35210,7 +35210,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -35720,7 +35720,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -36254,7 +36254,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -36694,7 +36694,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -37085,7 +37085,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -37284,7 +37284,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -37483,7 +37483,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -37933,7 +37933,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -38196,7 +38196,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -38399,7 +38399,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -38598,7 +38598,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -38816,7 +38816,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -39034,7 +39034,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -39252,7 +39252,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -39451,7 +39451,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -39669,7 +39669,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -40109,7 +40109,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -40538,7 +40538,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -41036,7 +41036,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -41498,7 +41498,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -41929,7 +41929,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -42127,7 +42127,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -42349,7 +42349,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -42567,7 +42567,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -43031,7 +43031,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -43229,7 +43229,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -43683,7 +43683,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -44207,7 +44207,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -44429,7 +44429,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -44692,7 +44692,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -44914,7 +44914,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -45522,7 +45522,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -45855,7 +45855,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -46224,7 +46224,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -46555,7 +46555,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -46751,7 +46751,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -46953,7 +46953,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -47156,7 +47156,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -47374,7 +47374,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -47592,7 +47592,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -47949,7 +47949,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -48185,7 +48185,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -48382,7 +48382,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -48604,7 +48604,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -48822,7 +48822,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -49167,7 +49167,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -49526,7 +49526,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -49725,7 +49725,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -50075,7 +50075,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -50409,7 +50409,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -50885,7 +50885,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -51088,7 +51088,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -51287,7 +51287,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -51505,7 +51505,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -52072,7 +52072,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -52305,7 +52305,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -52569,7 +52569,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -52785,7 +52785,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -52988,7 +52988,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -53206,7 +53206,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -53424,7 +53424,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -53802,7 +53802,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -54135,7 +54135,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -54526,7 +54526,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -54755,7 +54755,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -54977,7 +54977,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -55307,7 +55307,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -55758,7 +55758,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -56088,7 +56088,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -56466,7 +56466,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -56684,7 +56684,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -56902,7 +56902,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -57120,7 +57120,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -57475,7 +57475,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -57830,7 +57830,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -58008,7 +58008,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -58341,7 +58341,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -58563,7 +58563,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -58989,7 +58989,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -59188,7 +59188,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -59406,7 +59406,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -59624,7 +59624,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -59841,7 +59841,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -60044,7 +60044,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -60243,7 +60243,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -60442,7 +60442,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -60660,7 +60660,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -60872,7 +60872,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -61094,7 +61094,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -61312,7 +61312,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -61530,7 +61530,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -61748,7 +61748,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -62078,7 +62078,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -62273,7 +62273,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -62476,7 +62476,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -62694,7 +62694,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -62912,7 +62912,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -63130,7 +63130,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -63348,7 +63348,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -63566,7 +63566,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -63784,7 +63784,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -64114,7 +64114,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -64292,7 +64292,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -64491,7 +64491,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -64713,7 +64713,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -64931,7 +64931,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -65107,7 +65107,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -65301,7 +65301,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -65493,7 +65493,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -65685,7 +65685,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -65877,7 +65877,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -66076,7 +66076,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -66258,7 +66258,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -66480,7 +66480,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -66698,7 +66698,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, diff --git a/results/shopware/manifest.json b/results/shopware/manifest.json index 9b4aa344..9560bf5b 100644 --- a/results/shopware/manifest.json +++ b/results/shopware/manifest.json @@ -817,7 +817,7 @@ "Model: A file's id is its path at END. A file deleted before END keeps the path it had at the snapshot, so its id changes if it was renamed before it was deleted.", "Model: Classes and functions are nodes directly under their file. Calls between functions are not established, so the map has no function-level links." ], - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "repo": "shopware/shopware", "repo_id": "shopware", "repo_url": "https://github.com/shopware/shopware.git", @@ -1996,7 +1996,7 @@ "cheap_loop", "foundation_on_features" ], - "max_refs_per_cell": 3, + "max_refs_per_cell": 10, "offending_role_prefix": "offending", "yardstick_units": { "against_grain_links": "links", diff --git a/web/public/bundles/artemis/code/00dc77ef416526d5a5dedcb924e9b1784ad0fb70.json b/web/public/bundles/artemis/code/00dc77ef416526d5a5dedcb924e9b1784ad0fb70.json new file mode 100644 index 00000000..26398d26 --- /dev/null +++ b/web/public/bundles/artemis/code/00dc77ef416526d5a5dedcb924e9b1784ad0fb70.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "00dc77ef416526d5a5dedcb924e9b1784ad0fb70", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/videosource/repository/GocastCourseBindingRepository.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.videosource.repository;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\n\nimport java.time.Instant;\nimport java.util.Optional;\n\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.data.jpa.repository.Modifying;\nimport org.springframework.data.jpa.repository.Query;\nimport org.springframework.data.repository.query.Param;\nimport org.springframework.stereotype.Repository;\nimport org.springframework.transaction.annotation.Transactional;\n\nimport de.tum.cit.aet.artemis.core.repository.base.ArtemisJpaRepository;\nimport de.tum.cit.aet.artemis.videosource.domain.GocastCourseBinding;\n\n@Profile(PROFILE_CORE)\n@Lazy\n@Repository\npublic interface GocastCourseBindingRepository extends ArtemisJpaRepository {\n\n @Query(\"SELECT b FROM GocastCourseBinding b WHERE b.courseId = :courseId AND b.status <> de.tum.cit.aet.artemis.videosource.domain.GocastBindingStatus.PENDING\")\n Optional findByCourseId(@Param(\"courseId\") long courseId);\n\n @Query(\"SELECT b FROM GocastCourseBinding b WHERE b.courseId = :courseId\")\n Optional findConnectionRowByCourseId(@Param(\"courseId\") long courseId);\n\n @Query(\"SELECT b FROM GocastCourseBinding b WHERE b.courseId = :courseId AND b.status = de.tum.cit.aet.artemis.videosource.domain.GocastBindingStatus.PENDING\")\n Optional findPendingByCourseId(@Param(\"courseId\") long courseId);\n\n @Query(\"SELECT b FROM GocastCourseBinding b WHERE b.stateHash = :stateHash AND b.status = de.tum.cit.aet.artemis.videosource.domain.GocastBindingStatus.PENDING\")\n Optional findPendingByStateHash(@Param(\"stateHash\") String stateHash);\n\n Optional findByGocastCourseId(long gocastCourseId);\n\n /**\n * Replaces a pending or revoked connection atomically, never an active connection.\n *\n * @param courseId the Artemis course\n * @param stateHash the new state hash\n * @param integrationId the authenticated integration\n * @param expiresAt the approval expiry\n * @return the number of replaced rows\n */\n @Transactional // ok because of modifying query\n @Modifying(clearAutomatically = true, flushAutomatically = true)\n @Query(\"\"\"\n UPDATE GocastCourseBinding b\n SET b.status = de.tum.cit.aet.artemis.videosource.domain.GocastBindingStatus.PENDING,\n b.stateHash = :stateHash, b.expiresAt = :expiresAt, b.integrationId = :integrationId,\n b.gocastCourseId = NULL, b.gocastGrantId = NULL, b.courseSlug = NULL, b.courseName = NULL,\n b.visibility = NULL, b.version = b.version + 1\n WHERE b.courseId = :courseId AND b.status <> de.tum.cit.aet.artemis.videosource.domain.GocastBindingStatus.ACTIVE\n \"\"\")\n int replacePending(@Param(\"courseId\") long courseId, @Param(\"stateHash\") String stateHash, @Param(\"integrationId\") long integrationId, @Param(\"expiresAt\") Instant expiresAt);\n\n /**\n * Completes only the exact usable approval. The unique remote-course constraint prevents duplicate connections.\n *\n * @param stateHash the state hash\n * @param integrationId the verified integration\n * @param now the current time\n * @param remoteCourseId the verified course\n * @param grantId the verified grant\n * @param slug the course slug\n * @param name the course name\n * @param visibility the course visibility\n * @return the number of completed rows\n */\n @Transactional // ok because of modifying query\n @Modifying(clearAutomatically = true, flushAutomatically = true)\n @Query(\"\"\"\n UPDATE GocastCourseBinding b\n SET b.status = de.tum.cit.aet.artemis.videosource.domain.GocastBindingStatus.ACTIVE,\n b.gocastCourseId = :remoteCourseId, b.gocastGrantId = :grantId,\n b.courseSlug = :slug, b.courseName = :name, b.visibility = :visibility,\n b.stateHash = NULL, b.expiresAt = NULL, b.version = b.version + 1\n WHERE b.status = de.tum.cit.aet.artemis.videosource.domain.GocastBindingStatus.PENDING\n AND b.stateHash = :stateHash AND b.integrationId = :integrationId AND b.expiresAt > :now\n \"\"\")\n int completePending(@Param(\"stateHash\") String stateHash, @Param(\"integrationId\") long integrationId, @Param(\"now\") Instant now, @Param(\"remoteCourseId\") long remoteCourseId,\n @Param(\"grantId\") long grantId, @Param(\"slug\") String slug, @Param(\"name\") String name, @Param(\"visibility\") String visibility);\n\n @Transactional // ok because of delete\n @Modifying(clearAutomatically = true, flushAutomatically = true)\n @Query(\"DELETE FROM GocastCourseBinding b WHERE b.courseId = :courseId AND b.status = de.tum.cit.aet.artemis.videosource.domain.GocastBindingStatus.PENDING\")\n int deletePendingByCourseId(@Param(\"courseId\") long courseId);\n\n @Transactional // ok because of delete\n @Modifying(clearAutomatically = true, flushAutomatically = true)\n @Query(\"DELETE FROM GocastCourseBinding b WHERE b.stateHash = :stateHash AND b.status = de.tum.cit.aet.artemis.videosource.domain.GocastBindingStatus.PENDING\")\n int deletePendingByStateHash(@Param(\"stateHash\") String stateHash);\n\n @Transactional // ok because of delete\n @Modifying(clearAutomatically = true, flushAutomatically = true)\n @Query(\"\"\"\n DELETE FROM GocastCourseBinding b\n WHERE b.courseId = :courseId AND b.integrationId = :integrationId AND b.gocastCourseId = :remoteCourseId AND b.gocastGrantId = :grantId\n \"\"\")\n int deleteExactGrant(@Param(\"courseId\") long courseId, @Param(\"integrationId\") long integrationId, @Param(\"remoteCourseId\") long remoteCourseId,\n @Param(\"grantId\") long grantId);\n\n @Transactional // ok because of modifying query\n @Modifying(clearAutomatically = true, flushAutomatically = true)\n @Query(\"\"\"\n UPDATE GocastCourseBinding b SET b.courseSlug = :slug, b.courseName = :name, b.visibility = :visibility, b.version = b.version + 1\n WHERE b.courseId = :courseId AND b.integrationId = :integrationId AND b.gocastCourseId = :remoteCourseId AND b.gocastGrantId = :grantId\n AND b.version = :version AND b.status = de.tum.cit.aet.artemis.videosource.domain.GocastBindingStatus.ACTIVE\n \"\"\")\n int updateExactGrantMetadata(@Param(\"courseId\") long courseId, @Param(\"integrationId\") long integrationId, @Param(\"remoteCourseId\") long remoteCourseId,\n @Param(\"grantId\") long grantId, @Param(\"version\") long version, @Param(\"slug\") String slug, @Param(\"name\") String name, @Param(\"visibility\") String visibility);\n\n @Transactional // ok because of modifying query\n @Modifying(clearAutomatically = true, flushAutomatically = true)\n @Query(\"\"\"\n UPDATE GocastCourseBinding b SET b.status = de.tum.cit.aet.artemis.videosource.domain.GocastBindingStatus.REVOKED, b.version = b.version + 1\n WHERE b.courseId = :courseId AND b.integrationId = :integrationId AND b.gocastCourseId = :remoteCourseId AND b.gocastGrantId = :grantId AND b.version = :version\n \"\"\")\n int markExactGrantRevoked(@Param(\"courseId\") long courseId, @Param(\"integrationId\") long integrationId, @Param(\"remoteCourseId\") long remoteCourseId,\n @Param(\"grantId\") long grantId, @Param(\"version\") long version);\n}\n" +} diff --git a/web/public/bundles/artemis/code/00e444e656d2dbb021976ccd3d816faa8ef4f588.json b/web/public/bundles/artemis/code/00e444e656d2dbb021976ccd3d816faa8ef4f588.json new file mode 100644 index 00000000..d9aae1c2 --- /dev/null +++ b/web/public/bundles/artemis/code/00e444e656d2dbb021976ccd3d816faa8ef4f588.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "00e444e656d2dbb021976ccd3d816faa8ef4f588", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/domain/GlobalNotificationSetting.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.notification.domain;\n\nimport jakarta.persistence.Column;\nimport jakarta.persistence.Entity;\nimport jakarta.persistence.EnumType;\nimport jakarta.persistence.Enumerated;\nimport jakarta.persistence.Table;\nimport jakarta.persistence.UniqueConstraint;\n\nimport org.jspecify.annotations.NonNull;\n\nimport de.tum.cit.aet.artemis.core.domain.DomainObject;\nimport de.tum.cit.aet.artemis.core.domain.Parent;\n\n@Entity\n@Table(name = \"global_notification_setting\", uniqueConstraints = @UniqueConstraint(columnNames = { \"user_id\", \"global_notification_type\" }))\npublic class GlobalNotificationSetting extends DomainObject {\n\n @NonNull\n @Column(name = \"user_id\", nullable = false)\n @Parent\n private Long userId;\n\n @Enumerated(EnumType.STRING)\n @NonNull\n @Column(name = \"global_notification_type\", nullable = false, columnDefinition = \"varchar(32)\")\n private GlobalNotificationType notificationType;\n\n @NonNull\n @Column(name = \"enabled\", nullable = false)\n private boolean enabled;\n\n public Long getUserId() {\n return userId;\n }\n\n public void setUserId(Long userId) {\n this.userId = userId;\n }\n\n public GlobalNotificationType getNotificationType() {\n return notificationType;\n }\n\n public void setNotificationType(GlobalNotificationType notificationType) {\n this.notificationType = notificationType;\n }\n\n public boolean getEnabled() {\n return enabled;\n }\n\n public void setEnabled(boolean enabled) {\n this.enabled = enabled;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/01a131323826882fdcde8033f32e52fcd5aa1825.json b/web/public/bundles/artemis/code/01a131323826882fdcde8033f32e52fcd5aa1825.json new file mode 100644 index 00000000..03313e7f --- /dev/null +++ b/web/public/bundles/artemis/code/01a131323826882fdcde8033f32e52fcd5aa1825.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "01a131323826882fdcde8033f32e52fcd5aa1825", + "language": "typescript", + "path": "src/main/webapp/app/lecture/manage/pdf-preview/pdf-preview-thumbnail-grid/pdf-preview-thumbnail-grid.component.ts", + "schema": "codexray.code/1", + "text": "import { TumAetUiButtonDirective } from '@tumaet/ui-angular/button';\nimport { TumAetUiCheckboxComponent } from '@tumaet/ui-angular/checkbox';\nimport { TumAetUiPopoverComponent } from '@tumaet/ui-angular/popover';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { Component, DestroyRef, ElementRef, Renderer2, effect, inject, input, output, signal, untracked, viewChild } from '@angular/core';\nimport { PdfEngineService } from 'app/core/pdf/pdf-engine.service';\nimport { CdkDragDrop, DragDropModule, moveItemInArray } from '@angular/cdk/drag-drop';\n\nimport { onError } from 'app/foundation/util/global.utils';\nimport { AlertService } from 'app/foundation/service/alert.service';\nimport { PdfPreviewEnlargedCanvasComponent } from 'app/lecture/manage/pdf-preview/pdf-preview-enlarged-canvas/pdf-preview-enlarged-canvas.component';\nimport { faEye, faEyeSlash, faGripLines } from '@fortawesome/free-solid-svg-icons';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { PdfPreviewDateBoxComponent } from 'app/lecture/manage/pdf-preview/pdf-preview-date-box/pdf-preview-date-box.component';\nimport dayjs from 'dayjs/esm';\nimport { HiddenPage, HiddenPageMap, OrderedPage } from 'app/lecture/manage/pdf-preview/pdf-preview.component';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { deepClone } from 'app/foundation/util/deep-clone.util';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\n\n@Component({\n selector: 'jhi-pdf-preview-thumbnail-grid-component',\n templateUrl: './pdf-preview-thumbnail-grid.component.html',\n styleUrls: ['./pdf-preview-thumbnail-grid.component.css'],\n imports: [\n TumAetUiButtonDirective,\n TumAetUiCheckboxComponent,\n TumAetUiPopoverComponent,\n NgTemplateOutlet,\n PdfPreviewEnlargedCanvasComponent,\n FaIconComponent,\n PdfPreviewDateBoxComponent,\n TranslateDirective,\n DragDropModule,\n ArtemisTranslatePipe,\n ],\n})\nexport class PdfPreviewThumbnailGridComponent {\n // Injected services\n private readonly destroyRef = inject(DestroyRef);\n private readonly alertService = inject(AlertService);\n private readonly renderer = inject(Renderer2);\n private readonly pdfEngineService = inject(PdfEngineService);\n\n pdfContainer = viewChild.required>('pdfContainer');\n\n FOREVER = dayjs('9999-12-31');\n\n // Inputs\n courseId = input();\n currentPdfUrl = input();\n isAppendingFile = input();\n hiddenPages = input({});\n isAttachmentVideoUnit = input();\n updatedSelectedPages = input>(new Set());\n orderedPages = input([]);\n\n // Signals\n isEnlargedView = signal(false);\n loadedPages = signal>(new Set());\n selectedPages = signal>(new Set());\n originalCanvas = signal(undefined);\n initialPageNumber = signal(0);\n activeButtonPage = signal(undefined);\n isPopoverOpen = signal(false);\n dragSlideId = signal(undefined);\n isDragging = signal(false);\n reordering = signal(false);\n\n // Outputs\n selectedPagesOutput = output>();\n hiddenPagesOutput = output();\n pageOrderOutput = output();\n\n protected readonly faEye = faEye;\n protected readonly faEyeSlash = faEyeSlash;\n protected readonly faGripLines = faGripLines;\n\n private renderGeneration = 0;\n\n constructor() {\n // Replaces the ngOnChanges 'orderedPages' branch: re-render the thumbnails whenever the ordered pages\n // change, unless the change originated from a local drag-and-drop reorder (the DOM is already in the new\n // order, so re-rendering would be redundant). The render side effect and the read/write of `reordering`\n // run inside untracked() so only orderedPages() retriggers this effect.\n effect(() => {\n this.orderedPages();\n untracked(() => {\n if (!this.reordering()) {\n void this.renderPages();\n }\n this.reordering.set(false);\n });\n });\n\n // Replaces the ngOnChanges 'updatedSelectedPages' branch: mirror the externally selected pages into local\n // state and sync the checkbox DOM. The writes run untracked so only updatedSelectedPages() retriggers it.\n effect(() => {\n const updatedSelectedPages = this.updatedSelectedPages();\n untracked(() => {\n this.selectedPages.set(new Set(updatedSelectedPages));\n this.updateCheckboxStates();\n });\n });\n }\n\n /**\n * Renders PDF pages using the page proxies from the ordered pages\n */\n async renderPages(): Promise {\n const pages = this.orderedPages();\n const generation = ++this.renderGeneration;\n const isCurrentRender = () => generation === this.renderGeneration && !this.destroyRef.destroyed;\n try {\n const engine = await this.pdfEngineService.getEngine();\n if (!isCurrentRender()) {\n return;\n }\n const containerEl = this.pdfContainer().nativeElement;\n const canvases = containerEl.querySelectorAll('.pdf-canvas-container canvas');\n canvases.forEach((canvas: HTMLCanvasElement) => {\n if (canvas.parentNode) {\n this.renderer.removeChild(canvas.parentNode, canvas);\n }\n });\n\n this.loadedPages.set(new Set());\n\n for (let i = 0; i < pages.length; i++) {\n const page = pages[i];\n const sourcePage = page.sourceDoc.pages[page.sourceIndex];\n if (sourcePage) {\n const imageData = await engine.renderPageRaw(page.sourceDoc, sourcePage, { scaleFactor: 1 }).toPromise();\n // A newer page list may already have cleared and redrawn these containers.\n if (!isCurrentRender()) {\n return;\n }\n const canvas = this.createCanvas(imageData.width, imageData.height);\n const context = canvas.getContext('2d')!;\n context.putImageData(new ImageData(imageData.data, imageData.width, imageData.height), 0, 0);\n\n const container = this.pdfContainer().nativeElement.querySelector(`#pdf-page-${page.slideId}`);\n if (container) {\n this.renderer.appendChild(container, canvas);\n this.loadedPages.update((loadedPages) => {\n const newLoadedPages = new Set(loadedPages);\n newLoadedPages.add(page.order);\n return newLoadedPages;\n });\n }\n }\n }\n\n if (this.isAppendingFile()) {\n this.scrollToBottom();\n }\n } catch (error) {\n if (isCurrentRender()) {\n onError(this.alertService, error);\n }\n }\n }\n\n /**\n * Scrolls the PDF container to the bottom after appending new pages.\n */\n scrollToBottom(): void {\n const scrollOptions: ScrollToOptions = {\n top: this.pdfContainer().nativeElement.scrollHeight,\n left: 0,\n behavior: 'smooth',\n };\n this.pdfContainer().nativeElement.scrollTo(scrollOptions);\n }\n\n /**\n * Creates a canvas for an individual PDF page, sized to the rendered bitmap.\n * @param width The rendered page width in pixels.\n * @param height The rendered page height in pixels.\n * @returns A new HTMLCanvasElement configured for the PDF page.\n */\n createCanvas(width: number, height: number): HTMLCanvasElement {\n const canvas = document.createElement('canvas');\n canvas.width = width;\n canvas.height = height;\n canvas.style.display = 'block';\n canvas.style.width = '100%';\n canvas.style.height = '100%';\n return canvas;\n }\n\n /**\n * Toggles the visibility state of a page by showing the date selection\n * @param slideId The ID of the slide whose visibility is being toggled.\n * @param event The event object triggered by the click action.\n */\n toggleVisibility(slideId: string, event: Event): void {\n const page = this.findPageBySlideId(slideId);\n if (page) {\n this.activeButtonPage.set(page);\n const button = (event.target as HTMLElement).closest('button');\n if (button) {\n this.renderer.setStyle(button, 'opacity', '1');\n }\n }\n event.stopPropagation();\n }\n\n /**\n * Toggles the selection state of a page by adding or removing it from the selected pages set.\n * @param slideId The ID of the slide whose selection state is being toggled.\n * @param event The change event triggered by the checkbox interaction.\n */\n togglePagePopover(slideId: string, event: Event, popover: TumAetUiPopoverComponent): void {\n this.toggleVisibility(slideId, event);\n if (event.currentTarget instanceof HTMLElement) {\n popover.toggle(event.currentTarget);\n }\n }\n\n isPageSelected(slideId: string): boolean {\n return Array.from(this.selectedPages()).some((page) => page.slideId === slideId);\n }\n\n togglePageSelection(slideId: string, event: Event): void {\n const checkbox = event.target as HTMLInputElement;\n const page = this.findPageBySlideId(slideId);\n\n if (page) {\n const newSelection = new Set(this.selectedPages());\n\n if (checkbox.checked) {\n newSelection.add(page);\n } else {\n newSelection.forEach((selectedPage) => {\n if (selectedPage.slideId === slideId) {\n newSelection.delete(selectedPage);\n }\n });\n }\n\n this.selectedPages.set(newSelection);\n this.selectedPagesOutput.emit(newSelection);\n }\n }\n\n /**\n * Updates hidden pages information based on data from the date box component\n * @param hiddenPageData Data for one or more hidden pages\n */\n onHiddenPagesReceived(hiddenPageData: HiddenPage | HiddenPage[]): void {\n const pages = Array.isArray(hiddenPageData) ? hiddenPageData : [hiddenPageData];\n const updatedHiddenPages = deepClone(this.hiddenPages());\n\n pages.forEach((page) => {\n updatedHiddenPages[page.slideId] = {\n date: dayjs(page.date),\n exerciseId: page.exerciseId ?? undefined,\n };\n });\n\n this.hiddenPagesOutput.emit(updatedHiddenPages);\n }\n\n /**\n * Displays the selected PDF page in an enlarged view for detailed examination.\n * @param pageOrder - The order of PDF page to be enlarged.\n * @param slideId - The ID of the slide\n * */\n displayEnlargedCanvas(pageOrder: number, slideId: string): void {\n const canvas = this.pdfContainer().nativeElement.querySelector(`#pdf-page-${slideId} canvas`) as HTMLCanvasElement;\n this.originalCanvas.set(canvas);\n this.isEnlargedView.set(true);\n this.initialPageNumber.set(pageOrder);\n }\n\n /**\n * Removes a page from the hidden pages and hides the associated action button.\n *\n * @param slideId - The ID of the slide to be made visible.\n */\n showPage(slideId: string): void {\n const updatedHiddenPages = deepClone(this.hiddenPages());\n delete updatedHiddenPages[slideId];\n this.hiddenPagesOutput.emit(updatedHiddenPages);\n this.hideActionButton(slideId);\n }\n\n /**\n * Hides the action button associated with a specified slide by setting its opacity to 0.\n *\n * @param slideId - The ID of the slide whose action button should be hidden.\n */\n hideActionButton(slideId: string): void {\n const container = this.pdfContainer().nativeElement;\n const button = container.querySelector(`#hide-show-button-${slideId}`);\n if (button) {\n this.renderer.setStyle(button, 'opacity', '0');\n }\n }\n\n /**\n * Updates checkbox states to match the current selection model\n */\n private updateCheckboxStates(): void {\n const checkboxes = this.pdfContainer()?.nativeElement.querySelectorAll('input[type=\"checkbox\"]');\n\n checkboxes.forEach((checkbox: HTMLInputElement) => {\n const match = checkbox.id.match(/checkbox-(.+)/);\n if (match) {\n const slideId = match[1];\n checkbox.checked = Array.from(this.selectedPages()).some((page) => page.slideId === slideId);\n }\n });\n }\n\n /**\n * Handles the drop event from Angular CDK drag-drop\n * Updates the page order when an item is dropped in a new position\n * @param event The CDK drop event containing source and target indices\n */\n onPageDrop(event: CdkDragDrop): void {\n if (event.previousIndex === event.currentIndex) {\n return;\n }\n\n this.reordering.set(true);\n this.isDragging.set(false);\n\n const pages = [...this.orderedPages()];\n\n moveItemInArray(pages, event.previousIndex, event.currentIndex);\n\n pages.forEach((page, index) => {\n page.order = index + 1;\n });\n\n this.pageOrderOutput.emit(pages);\n }\n\n /**\n * Gets the display order (position + 1) of a slide for the UI\n * @param slideId The ID of the slide\n * @returns The display order (1-based)\n */\n getPageOrder(slideId: string): number {\n const index = this.orderedPages().findIndex((page) => page.slideId === slideId);\n return index !== -1 ? index + 1 : -1;\n }\n\n /**\n * Find a page by its slide ID\n * @param slideId The slide ID to search for\n */\n findPageBySlideId(slideId: string): OrderedPage | undefined {\n return this.orderedPages().find((page) => page.slideId === slideId);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/02a56cee7bc55af9fd5dce07904f2e2dc86d912f.json b/web/public/bundles/artemis/code/02a56cee7bc55af9fd5dce07904f2e2dc86d912f.json new file mode 100644 index 00000000..84678ac4 --- /dev/null +++ b/web/public/bundles/artemis/code/02a56cee7bc55af9fd5dce07904f2e2dc86d912f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "02a56cee7bc55af9fd5dce07904f2e2dc86d912f", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/searchableentity/PostSearchableEntityDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.globalsearch.dto.searchableentity;\n\nimport java.util.HashMap;\nimport java.util.Map;\n\nimport jakarta.validation.constraints.NotNull;\n\nimport org.jspecify.annotations.Nullable;\n\nimport de.tum.cit.aet.artemis.communication.domain.Post;\nimport de.tum.cit.aet.artemis.communication.domain.conversation.Channel;\nimport de.tum.cit.aet.artemis.globalsearch.config.schema.entityschemas.SearchableEntitySchema;\n\n/**\n * Snapshot of the data needed to upsert a post (message) into the unified {@code SearchableEntities}\n * Weaviate collection. Only posts from public channels are indexed. The post content is stored in the\n * {@code description} field for BM25 search; the optional title goes into {@code title}.\n */\npublic record PostSearchableEntityDTO(@NotNull Long postId, @NotNull Long courseId, @NotNull Long channelId, @Nullable String title, @Nullable String content) {\n\n /**\n * Extracts all required data from a {@link Post} entity that belongs to a {@link Channel}.\n *\n * @param post the post entity (must have conversation relationship loaded)\n * @param channel the channel the post belongs to (must have course relationship loaded)\n * @return the extracted data safe to use in an async context\n */\n public static PostSearchableEntityDTO fromPost(Post post, Channel channel) {\n return new PostSearchableEntityDTO(post.getId(), channel.getCourse().getId(), channel.getId(), post.getTitle(), post.getContent());\n }\n\n /**\n * Returns {@code true} iff the post is eligible for indexing: it must belong to a public,\n * non-archived channel.\n *\n * @param channel the channel to test\n * @return whether the post should be synchronized to Weaviate\n */\n public static boolean isIndexable(Channel channel) {\n return !channel.getIsArchived() && channel.getIsPublic();\n }\n\n /**\n * Produces the Weaviate property map for this post row.\n *\n * @return the property map keyed by {@link SearchableEntitySchema.Properties}\n */\n public Map toPropertyMap() {\n Map properties = new HashMap<>();\n properties.put(SearchableEntitySchema.Properties.TYPE, SearchableEntitySchema.TypeValues.POST);\n properties.put(SearchableEntitySchema.Properties.ENTITY_ID, postId);\n properties.put(SearchableEntitySchema.Properties.COURSE_ID, courseId);\n properties.put(SearchableEntitySchema.Properties.CHANNEL_ID, channelId);\n if (title != null) {\n properties.put(SearchableEntitySchema.Properties.TITLE, title);\n }\n if (content != null) {\n properties.put(SearchableEntitySchema.Properties.DESCRIPTION, content);\n }\n return properties;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/0484a5b1d8e0676c953d23e70eefdc99493ccfda.json b/web/public/bundles/artemis/code/0484a5b1d8e0676c953d23e70eefdc99493ccfda.json new file mode 100644 index 00000000..94dc1116 --- /dev/null +++ b/web/public/bundles/artemis/code/0484a5b1d8e0676c953d23e70eefdc99493ccfda.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0484a5b1d8e0676c953d23e70eefdc99493ccfda", + "language": "typescript", + "path": "src/main/webapp/app/hyperion/quiz/quiz-ai-question-refinement-panel/quiz-ai-question-refinement-panel.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, DestroyRef, computed, effect, inject, input, output, signal } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { FormsModule } from '@angular/forms';\nimport { TumAetUiButtonDirective } from '@tumaet/ui-angular/button';\nimport { TumAetUiInputDirective } from '@tumaet/ui-angular/input';\nimport { TumAetUiTooltipDirective } from '@tumaet/ui-angular/tooltip';\nimport { faCircleNotch, faPaperPlane, faRotateLeft, faWandMagicSparkles, faXmark } from '@fortawesome/free-solid-svg-icons';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { AlertService } from 'app/foundation/service/alert.service';\nimport { ProfileService } from 'app/core/layouts/profiles/shared/profile.service';\nimport { MODULE_FEATURE_HYPERION } from 'app/app.constants';\nimport { QuizQuestion } from 'app/quiz/shared/entities/quiz-question.model';\nimport { MultipleChoiceQuestion } from 'app/quiz/shared/entities/multiple-choice-question.model';\nimport { QuizAiGenerationService } from 'app/hyperion/quiz/quiz-ai-generation-modal/quiz-ai-generation.service';\nimport { deepClone, hydrate } from 'app/foundation/util/deep-clone.util';\nimport { TranslateService } from '@ngx-translate/core';\nimport { Subject, Subscription } from 'rxjs';\nimport { debounceTime, finalize } from 'rxjs/operators';\n\n@Component({\n selector: 'jhi-quiz-ai-question-refinement-panel',\n templateUrl: './quiz-ai-question-refinement-panel.component.html',\n imports: [FormsModule, TumAetUiButtonDirective, TumAetUiInputDirective, TumAetUiTooltipDirective, TranslateDirective, FaIconComponent, ArtemisTranslatePipe],\n})\nexport class QuizAiQuestionRefinementPanelComponent {\n private alertService = inject(AlertService);\n private quizAiGenerationService = inject(QuizAiGenerationService);\n private profileService = inject(ProfileService);\n private translateService = inject(TranslateService);\n private destroyRef = inject(DestroyRef);\n\n protected readonly faCircleNotch = faCircleNotch;\n protected readonly faPaperPlane = faPaperPlane;\n protected readonly faWandMagicSparkles = faWandMagicSparkles;\n protected readonly faCloseMark = faXmark;\n protected readonly faRotateLeft = faRotateLeft;\n readonly hyperionEnabled: boolean = this.profileService.isModuleFeatureActive(MODULE_FEATURE_HYPERION);\n\n question = input.required();\n courseId = input.required();\n isOpen = input(false);\n isRefinementPanelCollapsed = input(false);\n /** Reasoning text provided by the parent after a global bulk refinement; shown in place of the per-question reasoning. */\n externalReasoning = input(undefined);\n /** Snapshot of this question before the last global bulk refinement, provided by the parent. */\n externalPreviousQuestion = input(undefined);\n\n questionRefined = output();\n /** Emitted when the user dismisses an externally-provided reasoning card (or restores a previous version). */\n reasoningDismissed = output();\n\n refinePrompt = signal('');\n isRefining = signal(false);\n refinementExplanation = signal(undefined);\n /** Snapshot of this question taken just before the last per-question refinement. */\n previousQuestion = signal(undefined);\n restorable = computed(() => this.previousQuestion() ?? this.externalPreviousQuestion());\n promptPlaceholder = signal(this.translateService.instant('artemisApp.quizExercise.aiGeneration.refinement.promptPlaceholder'));\n\n private refineSubscription?: Subscription;\n private submitSubject = new Subject();\n\n constructor() {\n this.translateService.onLangChange.pipe(takeUntilDestroyed()).subscribe(() => {\n this.promptPlaceholder.set(this.translateService.instant('artemisApp.quizExercise.aiGeneration.refinement.promptPlaceholder'));\n });\n\n this.submitSubject.pipe(debounceTime(150), takeUntilDestroyed()).subscribe(() => this.executeRefinement());\n\n effect(() => {\n if (!this.isOpen()) {\n this.refinePrompt.set('');\n this.refinementExplanation.set(undefined);\n this.previousQuestion.set(undefined);\n this.refineSubscription?.unsubscribe();\n this.isRefining.set(false);\n }\n });\n }\n\n /** Clears the local reasoning or notifies the parent to remove the external reasoning for this question. */\n dismissReasoning(): void {\n if (this.refinementExplanation() !== undefined) {\n this.refinementExplanation.set(undefined);\n this.previousQuestion.set(undefined);\n } else {\n this.reasoningDismissed.emit();\n }\n }\n\n /** Reverts the question to the state it was in before the last refinement. */\n restorePreviousQuestion(): void {\n const prev = this.restorable();\n if (!prev) {\n return;\n }\n const currentQuestion = this.question() as MultipleChoiceQuestion;\n hydrate(currentQuestion, deepClone(prev));\n this.questionRefined.emit(currentQuestion);\n this.refinementExplanation.set(undefined);\n this.previousQuestion.set(undefined);\n this.reasoningDismissed.emit();\n }\n\n onEnterKey(event: Event): void {\n if (!(event as KeyboardEvent).shiftKey) {\n event.preventDefault();\n this.submitRefinement();\n }\n }\n\n submitRefinement(): void {\n const prompt = this.refinePrompt().trim();\n if (!prompt || this.isRefining()) {\n return;\n }\n this.submitSubject.next();\n }\n\n private executeRefinement(): void {\n const prompt = this.refinePrompt().trim();\n if (!prompt || this.isRefining()) {\n return;\n }\n\n this.isRefining.set(true);\n this.refineSubscription = this.quizAiGenerationService\n .refineMultipleChoiceQuestion(this.courseId(), this.question() as MultipleChoiceQuestion, prompt)\n .pipe(\n takeUntilDestroyed(this.destroyRef),\n finalize(() => this.isRefining.set(false)),\n )\n .subscribe({\n next: (result) => {\n this.reasoningDismissed.emit();\n this.previousQuestion.set(result.previousQuestion);\n const reasoning = result.reasoning?.trim() || this.translateService.instant('artemisApp.quizExercise.aiGeneration.refinement.defaultReasoning');\n this.refinementExplanation.set(reasoning);\n this.refinePrompt.set('');\n this.questionRefined.emit(result.refinedQuestion);\n },\n error: () => {\n this.alertService.error('artemisApp.quizExercise.aiGeneration.refinement.errors.failed');\n },\n });\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/05377ed472f7bba98b9e71b4172681f6bac8a2d1.json b/web/public/bundles/artemis/code/05377ed472f7bba98b9e71b4172681f6bac8a2d1.json new file mode 100644 index 00000000..fff54bc3 --- /dev/null +++ b/web/public/bundles/artemis/code/05377ed472f7bba98b9e71b4172681f6bac8a2d1.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "05377ed472f7bba98b9e71b4172681f6bac8a2d1", + "language": "typescript", + "path": "src/main/webapp/app/exercise/example-submission/example-submission-import/example-submission-import.component.ts", + "schema": "codexray.code/1", + "text": "import { TumAetUiButtonDirective } from '@tumaet/ui-angular/button';\nimport { TumAetUiInputDirective } from '@tumaet/ui-angular/input';\nimport { TumAetUiPaginatorComponent } from '@tumaet/ui-angular/paginator';\nimport { TumAetUiTableDirective, TumAetUiTableSortableColumnComponent } from '@tumaet/ui-angular/table-directive';\nimport { TumAetUiTableLayoutComponent } from '@tumaet/ui-angular/table-layout';\nimport { TumAetUiTooltipDirective } from '@tumaet/ui-angular/tooltip';\n\nimport { Component, inject, input } from '@angular/core';\nimport { faQuestionCircle } from '@fortawesome/free-solid-svg-icons';\nimport { Exercise, ExerciseType } from 'app/exercise/shared/entities/exercise/exercise.model';\nimport { Submission } from 'app/exercise/shared/entities/submission/submission.model';\nimport { Result } from 'app/exercise/shared/entities/result/result.model';\nimport { getLatestResultOfStudentParticipation } from 'app/exercise/participation/participation.utils';\nimport { ExampleSubmissionService } from 'app/assessment/shared/services/example-submission.service';\nimport { ImportComponent } from 'app/shared-ui/import/import.component';\nimport { FormsModule } from '@angular/forms';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\n\nimport { ResultComponent } from '../../result/result.component';\nimport { ArtemisDatePipe } from 'app/foundation/pipes/artemis-date.pipe';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { ExampleSubmissionImportPagingService } from 'app/exercise/example-submission/example-submission-import/example-submission-import-paging.service';\n\n@Component({\n selector: 'jhi-example-submission-import',\n templateUrl: './example-submission-import.component.html',\n imports: [\n TumAetUiButtonDirective,\n TumAetUiTooltipDirective,\n TumAetUiPaginatorComponent,\n TumAetUiInputDirective,\n TumAetUiTableDirective,\n FormsModule,\n TranslateDirective,\n TumAetUiTableLayoutComponent,\n TumAetUiTableSortableColumnComponent,\n FaIconComponent,\n ResultComponent,\n ArtemisDatePipe,\n ArtemisTranslatePipe,\n ],\n})\nexport class ExampleSubmissionImportComponent extends ImportComponent {\n private exampleSubmissionService = inject(ExampleSubmissionService);\n\n readonly exercise = input.required();\n\n readonly faQuestionCircle = faQuestionCircle;\n readonly ExerciseType = ExerciseType;\n\n constructor() {\n const pagingService = inject(ExampleSubmissionImportPagingService);\n super(pagingService);\n }\n\n get searchTermEntered() {\n return !!(this.state?.searchTerm?.length && this.state.searchTerm.length > 0);\n }\n\n /**\n * Resolve the result to display for a submission's participation. ResultComponent is presentational and no longer\n * picks a result itself, so callers that only have a participation resolve it here via the shared helper.\n */\n getLatestResult(submission: Submission): Result | undefined {\n return getLatestResultOfStudentParticipation(submission.participation, false);\n }\n\n protected override onSearchResult() {\n const exercise = this.exercise();\n this.content()?.resultsOnPage?.forEach((submission) => {\n submission.submissionSize = this.exampleSubmissionService.getSubmissionSize(submission, exercise);\n // the result badge routes to result.submission, which the list payload does not repeat on each result\n submission.participation?.submissions?.forEach((sibling) => sibling.results?.forEach((result) => (result.submission ??= sibling)));\n });\n }\n\n protected override createOptions(): object | undefined {\n return { exerciseId: this.exercise().id! };\n }\n\n /**\n * Dismisses the modal dialog without any action.\n */\n dismiss(): void {\n this.dialogRef?.close();\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/067bfc69ffd07564bca432a4d648980e5622b754.json b/web/public/bundles/artemis/code/067bfc69ffd07564bca432a4d648980e5622b754.json new file mode 100644 index 00000000..af093f0a --- /dev/null +++ b/web/public/bundles/artemis/code/067bfc69ffd07564bca432a4d648980e5622b754.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "067bfc69ffd07564bca432a4d648980e5622b754", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/CorrectionRoundResultDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exercise.dto;\n\nimport java.time.ZonedDateTime;\n\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.assessment.domain.AssessmentType;\n\n/**\n * One manual result of a submission together with the correction round it belongs to.\n *

\n * The participation page renders one set of assessment actions per correction round, and it needs to know, per round,\n * whether that round has a result, whether it is finished and whether it has a complaint. Everything else about the\n * result is already covered by the flat fields of {@link ParticipationManagementDTO}, which describe the newest result.\n *\n * @param submissionId the submission the result belongs to\n * @param resultId the result\n * @param correctionRound the round the result belongs to, null for a result that is not a correction round\n * @param assessmentType how the result was produced\n * @param completionDate when the assessment was finished, null while it is still a draft\n * @param hasComplaint whether the student complained about this result\n * @param score the score of the result in percent, null while the assessment is still a draft\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record CorrectionRoundResultDTO(long submissionId, long resultId, @Nullable Integer correctionRound, @Nullable AssessmentType assessmentType,\n @Nullable ZonedDateTime completionDate, @Nullable Boolean hasComplaint, @Nullable Double score) {\n}\n" +} diff --git a/web/public/bundles/artemis/code/072a4f03e6bb414c7e13fe1e17aff8469886d0e1.json b/web/public/bundles/artemis/code/072a4f03e6bb414c7e13fe1e17aff8469886d0e1.json new file mode 100644 index 00000000..fcf27320 --- /dev/null +++ b/web/public/bundles/artemis/code/072a4f03e6bb414c7e13fe1e17aff8469886d0e1.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "072a4f03e6bb414c7e13fe1e17aff8469886d0e1", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/dto/LearningPathNavigationObjectDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.atlas.dto;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.atlas.domain.LearningObject;\nimport de.tum.cit.aet.artemis.atlas.domain.competency.CourseCompetency;\nimport de.tum.cit.aet.artemis.exercise.domain.Exercise;\nimport de.tum.cit.aet.artemis.lecture.domain.LectureUnit;\n\n/**\n * DTO for a learning navigation object.\n *\n * @param id the id of the learning object\n * @param completed whether the learning object is completed\n * @param name the name of the learning object\n * @param type the type of the learning object\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record LearningPathNavigationObjectDTO(long id, boolean completed, String name, long competencyId, LearningObjectType type, boolean repeatedTest, boolean unreleased) {\n\n /**\n * Create a navigation object DTO from a learning object.\n *\n * @param learningObject the learning object\n * @param completed whether the learning object is completed by the user\n * @return the navigation object DTO\n */\n public static LearningPathNavigationObjectDTO of(LearningObject learningObject, boolean repeatedTest, boolean completed, long competencyId) {\n long id = learningObject.getId();\n String name;\n LearningObjectType type;\n boolean unreleased = !learningObject.isVisibleToStudents();\n\n switch (learningObject) {\n case LectureUnit lectureUnit -> {\n name = lectureUnit.getName();\n type = LearningObjectType.LECTURE;\n }\n case Exercise exercise -> {\n name = exercise.getTitle();\n type = LearningObjectType.EXERCISE;\n }\n default -> throw new IllegalArgumentException(\"Learning object must be either LectureUnit or Exercise\");\n }\n\n name = unreleased ? \"\" : name;\n\n return new LearningPathNavigationObjectDTO(id, completed, name, competencyId, type, repeatedTest, unreleased);\n }\n\n public enum LearningObjectType {\n LECTURE, EXERCISE\n }\n\n /**\n * Check if the learning object represented by this dto is equal to the given learning object in the competency.\n *\n * @param learningObject the learning object to compare to\n * @param competency the competency to compare to\n * @return whether the learning object is equal\n */\n public boolean equalsLearningObject(LearningObject learningObject, CourseCompetency competency) {\n if (learningObject == null || id != learningObject.getId() || competencyId != competency.getId()) {\n return false;\n }\n\n return switch (learningObject) {\n case LectureUnit ignored -> type == LearningObjectType.LECTURE;\n case Exercise ignored -> type == LearningObjectType.EXERCISE;\n default -> false;\n };\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/09521b5b3d754ce8a80129cf2d3788867a1e9e4f.json b/web/public/bundles/artemis/code/09521b5b3d754ce8a80129cf2d3788867a1e9e4f.json new file mode 100644 index 00000000..696e6f7c --- /dev/null +++ b/web/public/bundles/artemis/code/09521b5b3d754ce8a80129cf2d3788867a1e9e4f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "09521b5b3d754ce8a80129cf2d3788867a1e9e4f", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/CompetencyExerciseLinkService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exercise.service;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\n\nimport java.util.Collection;\nimport java.util.HashSet;\nimport java.util.Objects;\nimport java.util.Optional;\nimport java.util.Set;\nimport java.util.function.Function;\nimport java.util.stream.Collectors;\n\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.atlas.api.CompetencyRelationApi;\nimport de.tum.cit.aet.artemis.atlas.api.CompetencyRepositoryApi;\nimport de.tum.cit.aet.artemis.atlas.domain.competency.Competency;\nimport de.tum.cit.aet.artemis.atlas.domain.competency.CompetencyExerciseLink;\nimport de.tum.cit.aet.artemis.atlas.domain.competency.CourseCompetency;\nimport de.tum.cit.aet.artemis.core.exception.BadRequestAlertException;\nimport de.tum.cit.aet.artemis.exercise.domain.Exercise;\nimport de.tum.cit.aet.artemis.exercise.dto.CompetencyLinksHolderDTO;\n\n/**\n * Service for managing competency-exercise links during exercise creation, update, and import.\n */\n@Profile(PROFILE_CORE)\n@Lazy\n@Service\npublic class CompetencyExerciseLinkService {\n\n private final Optional competencyRepositoryApi;\n\n private final Optional competencyRelationApi;\n\n public CompetencyExerciseLinkService(Optional competencyRepositoryApi, Optional competencyRelationApi) {\n this.competencyRepositoryApi = competencyRepositoryApi;\n this.competencyRelationApi = competencyRelationApi;\n }\n\n /**\n * Builds unmanaged references for creation and import; later service validation checks course ownership.\n *\n * @param dto submitted competency links\n * @param exercise owner of the new links\n * @param entityName entity name used in request validation errors\n * @return new links referencing the submitted competency identifiers\n */\n public static Set toTransientLinks(CompetencyLinksHolderDTO dto, Exercise exercise, String entityName) {\n Set links = new HashSet<>();\n if (dto.competencyLinks() != null) {\n for (var link : dto.competencyLinks()) {\n if (link == null || link.competency() == null) {\n throw new BadRequestAlertException(\"Each competency link must include a competency.\", entityName, \"competencyIdMissing\");\n }\n Competency reference = new Competency();\n reference.setId(link.competency().id());\n links.add(new CompetencyExerciseLink(reference, exercise, link.weight()));\n }\n }\n return links;\n }\n\n /**\n * Saves the given competency exercise links directly via the API layer,\n * without re-saving the parent exercise entity.\n *\n * @param links the competency exercise links to save\n */\n public void saveAll(Collection links) {\n competencyRelationApi.ifPresent(api -> api.saveAllExerciseLinks(links));\n }\n\n /**\n * Updates the competency links of an exercise based on the DTO values.\n * Reuses existing managed links where possible, creates new ones for new competencies,\n * and removes links that are no longer present.\n *\n * @param dto the DTO containing the new competency link state\n * @param entity the exercise entity to update\n */\n public void updateCompetencyLinks(CompetencyLinksHolderDTO dto, Exercise entity) {\n updateCompetencyLinks(dto, entity, Set.of());\n }\n\n /**\n * Updates competency links and marks new links selected through Hyperion as AI-generated in the same persistence operation.\n * Existing links keep their recorded origin: AI provenance is never cleared, and Hyperion IDs never relabel an existing link.\n *\n * @param dto the DTO containing the new competency link state\n * @param entity the exercise entity to update\n * @param hyperionGeneratedCompetencyIds IDs of links inferred through Hyperion's checklist\n */\n public void updateCompetencyLinks(CompetencyLinksHolderDTO dto, Exercise entity, Set hyperionGeneratedCompetencyIds) {\n if (competencyRepositoryApi.isEmpty()) {\n return;\n }\n if (dto.competencyLinks() == null) {\n if (!hyperionGeneratedCompetencyIds.isEmpty()) {\n throw new BadRequestAlertException(\"Hyperion-generated competency IDs must refer to submitted links\", \"exercise\", \"competencyLinkMissing\");\n }\n // null means \"not provided\" — do not change existing links (PATCH semantics)\n return;\n }\n if (dto.competencyLinks().isEmpty()) {\n if (!hyperionGeneratedCompetencyIds.isEmpty()) {\n throw new BadRequestAlertException(\"Hyperion-generated competency IDs must refer to submitted links\", \"exercise\", \"competencyLinkMissing\");\n }\n // empty set means \"remove all\" — clear existing links\n entity.getCompetencyLinks().clear();\n }\n else {\n Set submittedCompetencyIds = dto.competencyLinks().stream().map(dtoLink -> {\n if (dtoLink == null || dtoLink.competency() == null) {\n throw new BadRequestAlertException(\"Competency link and its competency must not be null\", \"exercise\", \"competencyLinkNull\");\n }\n return dtoLink.competency().id();\n }).collect(Collectors.toSet());\n if (!submittedCompetencyIds.containsAll(hyperionGeneratedCompetencyIds)) {\n throw new BadRequestAlertException(\"Hyperion-generated competency IDs must refer to submitted links\", \"exercise\", \"competencyLinkMissing\");\n }\n\n final var existingLinksByCompetencyId = entity.getCompetencyLinks().stream().collect(Collectors.toMap(link -> link.getCompetency().getId(), Function.identity()));\n\n Set updatedLinks = new HashSet<>();\n\n for (var dtoLink : dto.competencyLinks()) {\n if (dtoLink == null || dtoLink.competency() == null) {\n throw new BadRequestAlertException(\"Competency link and its competency must not be null\", \"exercise\", \"competencyLinkNull\");\n }\n long competencyId = dtoLink.competency().id();\n double weight = dtoLink.weight();\n\n var existingLink = existingLinksByCompetencyId.get(competencyId);\n if (existingLink != null) {\n // An edit keeps the recorded origin, so a Hyperion ID cannot relabel an instructor's link.\n existingLink.setWeight(weight);\n updatedLinks.add(existingLink);\n }\n else {\n var competency = competencyRepositoryApi.get().findCompetencyOrPrerequisiteByIdElseThrow(competencyId);\n // Validate that the competency belongs to the same course as the exercise\n Long exerciseCourseId = entity.getCourseViaExerciseGroupOrCourseMember() != null ? entity.getCourseViaExerciseGroupOrCourseMember().getId() : null;\n Long competencyCourseId = competency.getCourse() != null ? competency.getCourse().getId() : null;\n if (exerciseCourseId != null && competencyCourseId != null && !Objects.equals(exerciseCourseId, competencyCourseId)) {\n throw new BadRequestAlertException(\"The competency does not belong to the exercise's course.\", \"exercise\", \"wrongCourse\");\n }\n var newLink = new CompetencyExerciseLink(competency, entity, weight);\n newLink.setGeneratedByAi(hyperionGeneratedCompetencyIds.contains(competencyId));\n updatedLinks.add(newLink);\n }\n }\n\n entity.getCompetencyLinks().clear();\n entity.getCompetencyLinks().addAll(updatedLinks);\n }\n }\n\n /**\n * Extracts competency links from a new exercise before its first save.\n * The links are cleared from the exercise so it can be saved without them\n * (since they need the exercise ID which doesn't exist yet).\n *\n * @param exercise the new exercise (not yet saved) from which to extract competency links\n * @return the extracted competency links (may be empty)\n */\n public Set extractCompetencyLinksForCreation(Exercise exercise) {\n Set competencyLinks = new HashSet<>(exercise.getCompetencyLinks());\n exercise.getCompetencyLinks().clear();\n return competencyLinks;\n }\n\n /**\n * Restores competency links to a saved exercise and persists them.\n *

\n * This method must be called AFTER the exercise has been saved and has an ID.\n * It sets the proper exercise reference on each link (required for @MapsId) and\n * adds them to the exercise. The caller must save the exercise again after this call\n * to persist the links via cascade.\n *\n * @param exercise the saved exercise (must have an ID)\n * @param competencyLinks the links previously extracted via extractCompetencyLinksForCreation\n */\n public void addCompetencyLinksForCreation(Exercise exercise, Set competencyLinks) {\n if (competencyLinks == null || competencyLinks.isEmpty()) {\n return;\n }\n if (competencyRepositoryApi.isEmpty()) {\n return;\n }\n exercise.setCompetencyLinks(resolveCompetencyLinksForCreation(exercise, competencyLinks));\n }\n\n /**\n * Resolves all selected competency identifiers before a new exercise is persisted, keeping only links from its course.\n * Missing competencies fail even when they belonged to another course; existing ones from another course are skipped.\n * The returned links must be rebound to the saved exercise before they are persisted.\n *\n * @param exercise the new exercise whose course determines which links to keep\n * @param competencyLinks the submitted links to resolve\n * @return resolved links, preserving their weights and origin\n */\n public Set resolveCompetencyLinksForCreation(Exercise exercise, Set competencyLinks) {\n if (competencyLinks == null || competencyLinks.isEmpty() || competencyRepositoryApi.isEmpty()) {\n return new HashSet<>();\n }\n // Load each competency individually as a managed entity. Using findAllById on the\n // abstract CourseCompetency (SINGLE_TABLE inheritance) can return empty results\n // under Hibernate 6.6+ due to polymorphic query issues.\n Set resolvedLinks = new HashSet<>();\n Long exerciseCourseId = exercise.getCourseViaExerciseGroupOrCourseMember() != null ? exercise.getCourseViaExerciseGroupOrCourseMember().getId() : null;\n for (CompetencyExerciseLink link : competencyLinks) {\n long competencyId = link.getCompetency().getId();\n CourseCompetency managedCompetency = competencyRepositoryApi.get().findCompetencyOrPrerequisiteByIdElseThrow(competencyId);\n // Skip competencies that belong to a different course (can happen during cross-course import)\n Long competencyCourseId = managedCompetency.getCourse() != null ? managedCompetency.getCourse().getId() : null;\n if (exerciseCourseId != null && competencyCourseId != null && !Objects.equals(exerciseCourseId, competencyCourseId)) {\n continue;\n }\n CompetencyExerciseLink resolvedLink = new CompetencyExerciseLink(managedCompetency, exercise, link.getWeight());\n resolvedLink.setGeneratedByAi(link.isGeneratedByAi());\n resolvedLinks.add(resolvedLink);\n }\n return resolvedLinks;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/0aba1dbed31d17a46ac2b1a01294a723814ba53e.json b/web/public/bundles/artemis/code/0aba1dbed31d17a46ac2b1a01294a723814ba53e.json new file mode 100644 index 00000000..4b60aa0f --- /dev/null +++ b/web/public/bundles/artemis/code/0aba1dbed31d17a46ac2b1a01294a723814ba53e.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0aba1dbed31d17a46ac2b1a01294a723814ba53e", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/JenkinsTriggerService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.jenkins.service;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_JENKINS;\n\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.jenkins.service.build_plan.JenkinsBuildPlanService;\nimport de.tum.cit.aet.artemis.localci.service.ci.ContinuousIntegrationTriggerService;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingExerciseParticipation;\n\n// REMOVE_IN_ARTEMIS_11 (Jenkins): Jenkins support is removed in Artemis 11, delete with the whole jenkins module\n@Profile(PROFILE_JENKINS)\n@Lazy\n@Service\npublic class JenkinsTriggerService implements ContinuousIntegrationTriggerService {\n\n private final JenkinsBuildPlanService jenkinsBuildPlanService;\n\n public JenkinsTriggerService(JenkinsBuildPlanService jenkinsBuildPlanService) {\n this.jenkinsBuildPlanService = jenkinsBuildPlanService;\n }\n\n @Override\n public void triggerBuild(ProgrammingExerciseParticipation participation, boolean triggerAll) {\n final var projectKey = participation.getProgrammingExerciseElseThrow().getProjectKey();\n final var planKey = participation.getBuildPlanId();\n jenkinsBuildPlanService.triggerBuild(projectKey, planKey);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/0b3b43c953811913d67407140b3c3349d602a41c.json b/web/public/bundles/artemis/code/0b3b43c953811913d67407140b3c3349d602a41c.json new file mode 100644 index 00000000..49ba2f48 --- /dev/null +++ b/web/public/bundles/artemis/code/0b3b43c953811913d67407140b3c3349d602a41c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0b3b43c953811913d67407140b3c3349d602a41c", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseWithOrganizationsDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.course.dto;\n\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\nimport org.hibernate.Hibernate;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.account.dto.OrganizationDTO;\nimport de.tum.cit.aet.artemis.course.domain.Course;\n\n/**\n * A course management response with its explicitly requested organizations.\n *\n * @param course the scalar course management data\n * @param organizations the initialized organization summaries\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record CourseWithOrganizationsDTO(CourseManagementDTO course, Set organizations) {\n\n /**\n * Maps a course and its already initialized organizations without traversing organization back-references.\n *\n * @param course the course to map\n * @return the course and organization response\n */\n public static CourseWithOrganizationsDTO of(Course course) {\n Set organizations = Hibernate.isInitialized(course.getOrganizations())\n ? course.getOrganizations().stream().map(OrganizationDTO::of).collect(Collectors.toUnmodifiableSet())\n : Set.of();\n return new CourseWithOrganizationsDTO(CourseManagementDTO.of(course), organizations);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/0b8ffc8371ad628a345c6d9c1dffba72761a29a6.json b/web/public/bundles/artemis/code/0b8ffc8371ad628a345c6d9c1dffba72761a29a6.json new file mode 100644 index 00000000..9b623404 --- /dev/null +++ b/web/public/bundles/artemis/code/0b8ffc8371ad628a345c6d9c1dffba72761a29a6.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0b8ffc8371ad628a345c6d9c1dffba72761a29a6", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/PyrisWebhookService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.iris.service.pyris;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.ARTEMIS_FILE_PATH_PREFIX;\n\nimport java.io.IOException;\nimport java.nio.file.Files;\nimport java.nio.file.Path;\nimport java.util.ArrayList;\nimport java.util.Base64;\nimport java.util.List;\nimport java.util.Optional;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.beans.factory.annotation.Value;\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.communication.domain.Faq;\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.iris.config.IrisEnabled;\nimport de.tum.cit.aet.artemis.iris.domain.settings.IrisSupportLevel;\nimport de.tum.cit.aet.artemis.iris.dto.IngestionState;\nimport de.tum.cit.aet.artemis.iris.exception.IrisInternalPyrisErrorException;\nimport de.tum.cit.aet.artemis.iris.exception.IrisVideoSourceUnavailableException;\nimport de.tum.cit.aet.artemis.iris.service.pyris.dto.PyrisPipelineExecutionSettingsDTO;\nimport de.tum.cit.aet.artemis.iris.service.pyris.dto.faqingestionwebhook.PyrisFaqWebhookDTO;\nimport de.tum.cit.aet.artemis.iris.service.pyris.dto.faqingestionwebhook.PyrisWebhookFaqDeletionExecutionDTO;\nimport de.tum.cit.aet.artemis.iris.service.pyris.dto.faqingestionwebhook.PyrisWebhookFaqIngestionExecutionDTO;\nimport de.tum.cit.aet.artemis.iris.service.pyris.dto.lectureingestionwebhook.PyrisLectureTranscriptionDTO;\nimport de.tum.cit.aet.artemis.iris.service.pyris.dto.lectureingestionwebhook.PyrisLectureUnitWebhookDTO;\nimport de.tum.cit.aet.artemis.iris.service.pyris.dto.lectureingestionwebhook.PyrisPreparedLectureIngestionJobDTO;\nimport de.tum.cit.aet.artemis.iris.service.pyris.dto.lectureingestionwebhook.PyrisWebhookLectureDeletionExecutionDTO;\nimport de.tum.cit.aet.artemis.iris.service.pyris.dto.lectureingestionwebhook.PyrisWebhookLectureIngestionExecutionDTO;\nimport de.tum.cit.aet.artemis.iris.service.settings.IrisSettingsService;\nimport de.tum.cit.aet.artemis.lecture.api.LectureRepositoryApi;\nimport de.tum.cit.aet.artemis.lecture.api.LectureTranscriptionsRepositoryApi;\nimport de.tum.cit.aet.artemis.lecture.config.LectureApiNotPresentException;\nimport de.tum.cit.aet.artemis.lecture.domain.AttachmentVideoUnit;\nimport de.tum.cit.aet.artemis.lecture.domain.Lecture;\nimport de.tum.cit.aet.artemis.lecture.domain.LectureTranscription;\nimport de.tum.cit.aet.artemis.lecture.domain.TranscriptionStatus;\nimport de.tum.cit.aet.artemis.lecture.dto.IngestionJobIdentityDTO;\nimport de.tum.cit.aet.artemis.videosource.service.ResolvedVideo;\nimport de.tum.cit.aet.artemis.videosource.service.VideoSourceResolverService;\n\n@Lazy\n@Service\n@Conditional(IrisEnabled.class)\npublic class PyrisWebhookService {\n\n private static final Logger log = LoggerFactory.getLogger(PyrisWebhookService.class);\n\n private final PyrisConnectorService pyrisConnectorService;\n\n private final PyrisJobService pyrisJobService;\n\n private final PyrisCallbackTokenService callbackTokenService;\n\n private final IrisSettingsService irisSettingsService;\n\n private final Optional lectureRepositoryApi;\n\n private final Optional lectureTranscriptionsRepositoryApi;\n\n private final VideoSourceResolverService videoSourceResolver;\n\n @Value(\"${server.url}\")\n private String artemisBaseUrl;\n\n public PyrisWebhookService(PyrisConnectorService pyrisConnectorService, PyrisJobService pyrisJobService, PyrisCallbackTokenService callbackTokenService,\n IrisSettingsService irisSettingsService, Optional lectureRepositoryApi,\n Optional lectureTranscriptionsRepositoryApi, VideoSourceResolverService videoSourceResolver) {\n this.pyrisConnectorService = pyrisConnectorService;\n this.pyrisJobService = pyrisJobService;\n this.callbackTokenService = callbackTokenService;\n this.irisSettingsService = irisSettingsService;\n this.lectureRepositoryApi = lectureRepositoryApi;\n this.lectureTranscriptionsRepositoryApi = lectureTranscriptionsRepositoryApi;\n this.videoSourceResolver = videoSourceResolver;\n }\n\n private String attachmentToBase64(AttachmentVideoUnit attachmentVideoUnit) {\n // An attachment that links to a document hosted elsewhere has nothing here to ingest. Resolving the link would read whichever unrelated file shares its last segment\n // and hand that to Pyris as this unit's content.\n Path path = attachmentVideoUnit.getAttachment().fileLocation().orElseThrow(() -> new IrisInternalPyrisErrorException(\n \"Attachment video unit \" + attachmentVideoUnit.getId() + \" links to a document this application does not store, so it cannot be ingested\")).path();\n try {\n byte[] fileBytes = Files.readAllBytes(path);\n return Base64.getEncoder().encodeToString(fileBytes);\n }\n catch (IOException e) {\n throw new IrisInternalPyrisErrorException(e.getMessage());\n }\n }\n\n private PyrisLectureUnitWebhookDTO processAttachmentVideoUnitForUpdate(AttachmentVideoUnit attachmentVideoUnit, String contentFingerprint, String fingerprintWithoutVideo,\n boolean forceReingest) {\n Lecture lecture = attachmentVideoUnit.getLecture();\n Course course = attachmentVideoUnit.getLecture().getCourse();\n\n Long lectureUnitId = attachmentVideoUnit.getId();\n String lectureUnitName = attachmentVideoUnit.getName();\n\n Long lectureId = lecture.getId();\n String lectureTitle = lecture.getTitle();\n Long courseId = course.getId();\n String courseTitle = course.getTitle();\n String courseDescription = course.getDescription() == null ? \"\" : course.getDescription();\n // The course's declared language of instruction (en/de), sent so Iris can use it as the\n // authoritative language instead of guessing from slide content. Null when the course has none.\n String courseLanguage = course.getLanguage() != null ? course.getLanguage().getShortName() : null;\n String base64EncodedPdf;\n String lectureUnitLink;\n if (attachmentVideoUnit.getAttachment() != null) {\n // Only a stored PDF is page content; any other attachment (no file, an external link, another file type) is sent like a unit without one, so a\n // video next to it is still ingested instead of the whole unit failing preparation on every claim.\n base64EncodedPdf = PyrisLectureUnitEligibility.hasPdf(attachmentVideoUnit) ? attachmentToBase64(attachmentVideoUnit) : \"\";\n lectureUnitLink = attachmentVideoUnit.getAttachment().getLink() != null ? artemisBaseUrl + ARTEMIS_FILE_PATH_PREFIX + attachmentVideoUnit.getAttachment().getLink()\n : \"\";\n }\n else {\n base64EncodedPdf = \"\";\n lectureUnitLink = \"\";\n }\n\n LectureTranscriptionsRepositoryApi transcriptionsRepositoryApi = lectureTranscriptionsRepositoryApi\n .orElseThrow(() -> new LectureApiNotPresentException(LectureTranscriptionsRepositoryApi.class));\n Optional lectureTranscription = transcriptionsRepositoryApi.findByLectureUnit_Id(attachmentVideoUnit.getId());\n\n // Resolve TUM Live watch page URLs to HLS playlist URLs for Iris/FFmpeg, and tag video source type.\n // If the type is null (unsupported source), pass null URL so Pyris doesn't try to process it.\n ResolvedVideo resolved = resolveVideoUrl(attachmentVideoUnit.getVideoSource(), course.getId());\n String videoUrl = resolved.type() != null ? resolved.url() : null;\n String sentFingerprint = contentFingerprint;\n if (resolved.type() == null && videoSourceResolver.isSupportedSource(attachmentVideoUnit.getVideoSource())) {\n // A supported source that cannot be resolved right now: a TUM Live stream that is not public or has no recording yet, or TUM Live is down.\n boolean hasCompletedTranscription = lectureTranscription.isPresent() && lectureTranscription.get().getTranscriptionStatus() == TranscriptionStatus.COMPLETED;\n if (!hasCompletedTranscription && !PyrisLectureUnitEligibility.hasPdf(attachmentVideoUnit)) {\n // Nothing else to ingest: sent without the video, Iris would find no content and fail the unit for good. Retry later instead.\n throw new IrisVideoSourceUnavailableException(attachmentVideoUnit.getId());\n }\n // Ingest what is here now: the PDF, and the stored transcript, which is sent whenever it exists, so Iris keeps it. A completed transcript\n // already holds everything the video adds, so the unit counts as complete (full fingerprint). Otherwise the run is stamped with the\n // fingerprint of its content without the video, which tells the reconcile to try the video again later.\n if (!hasCompletedTranscription) {\n sentFingerprint = fingerprintWithoutVideo;\n }\n log.info(\"Ingesting lecture unit {} without its video, which cannot be resolved right now\", attachmentVideoUnit.getId());\n }\n\n if (lectureTranscription.isPresent()) {\n LectureTranscription transcription = lectureTranscription.get();\n\n return new PyrisLectureUnitWebhookDTO(base64EncodedPdf, attachmentVideoUnit.getAttachment() != null ? attachmentVideoUnit.getAttachment().getVersion() : -1,\n PyrisLectureTranscriptionDTO.of(transcription), lectureUnitId, lectureUnitName, lectureId, lectureTitle, courseId, courseTitle, courseDescription,\n lectureUnitLink, videoUrl, resolved.type(), sentFingerprint, forceReingest, courseLanguage);\n }\n\n return new PyrisLectureUnitWebhookDTO(base64EncodedPdf, attachmentVideoUnit.getAttachment() != null ? attachmentVideoUnit.getAttachment().getVersion() : -1, null,\n lectureUnitId, lectureUnitName, lectureId, lectureTitle, courseId, courseTitle, courseDescription, lectureUnitLink, videoUrl, resolved.type(), sentFingerprint,\n forceReingest, courseLanguage);\n }\n\n /**\n * Resolve a video URL, converting TUM Live watch page URLs to HLS playlist URLs if TumLiveApi is available.\n * Falls back to the original URL if resolution fails or TumLiveApi is not present.\n *\n * @param videoSource the raw video URL (may be a TUM Live watch page URL)\n * @param courseId the course of the lecture unit, whose TUM.Live connection may hand out a lecture that is not public\n * @return the resolved HLS playlist URL, or the original URL if resolution is not applicable\n */\n ResolvedVideo resolveVideoUrl(String videoSource, long courseId) {\n return videoSourceResolver.resolve(videoSource, courseId);\n }\n\n /**\n * Processes an {@link AttachmentVideoUnit} for deletion by creating a dummy DTO with only the necessary IDs.\n * This method returns a {@link PyrisLectureUnitWebhookDTO} where most fields are empty or have default values,\n * as only the IDs are required by Pyris to identify and delete the lecture unit from its database.\n *\n * @param attachmentVideoUnit The lecture unit to be processed for deletion.\n * @return A {@link PyrisLectureUnitWebhookDTO} with IDs for deletion and empty/default values for other fields.\n */\n private PyrisLectureUnitWebhookDTO processAttachmentVideoUnitForDeletion(AttachmentVideoUnit attachmentVideoUnit) {\n Long lectureUnitId = attachmentVideoUnit.getId();\n Long lectureId = attachmentVideoUnit.getLecture().getId();\n Long courseId = attachmentVideoUnit.getLecture().getCourse().getId();\n return new PyrisLectureUnitWebhookDTO(\"\", 0, null, lectureUnitId, \"\", lectureId, \"\", courseId, \"\", \"\", \"\", \"\", null, null);\n }\n\n /**\n * delete the lectures from the vector database on pyris\n *\n * @param attachmentVideoUnits The attachmentVideoUnit that got Updated / erased\n * @return the run id if the job was created\n */\n public String deleteLectureFromPyrisDB(List attachmentVideoUnits) {\n List toUpdateAttachmentVideoUnits = new ArrayList<>();\n attachmentVideoUnits.forEach(unit -> {\n toUpdateAttachmentVideoUnits.add(processAttachmentVideoUnitForDeletion(unit));\n });\n if (!toUpdateAttachmentVideoUnits.isEmpty()) {\n return executeLectureDeletionWebhook(toUpdateAttachmentVideoUnits);\n }\n return null;\n }\n\n /**\n * Whether an ingestion job for this unit would actually be prepared: the unit's content is eligible. The reconciler uses\n * this to decide whether a SKIPPED unit is worth requeueing.\n *

\n * The course's Iris setting plays no role: it switches off the Iris chat and the other interactive Iris features of a\n * course, while global search searches the lecture content of every course, so the content is ingested regardless.\n *\n * @param attachmentVideoUnit the unit to check\n * @return true if {@link #prepareLectureUnitIngestion} would prepare a job for this unit\n */\n public boolean isLectureUnitProcessableForPyris(AttachmentVideoUnit attachmentVideoUnit) {\n return PyrisLectureUnitEligibility.isProcessable(attachmentVideoUnit, videoSourceResolver);\n }\n\n /**\n * Delete lecture units from the Pyris vector database by their identity alone.\n *

\n * Used for orphan cleanup: the ingestion census can report units whose rows still exist in the\n * vector store although the lecture unit itself is gone from the database, so there is no entity\n * left to build a regular deletion DTO from.\n *\n * @param identities course, lecture, and unit ids of the orphaned rows to delete\n */\n public void deleteLectureUnitsByIdentity(List identities) {\n List deletionDTOs = identities.stream().map(\n identity -> new PyrisLectureUnitWebhookDTO(\"\", 0, null, identity.lectureUnitId(), \"\", identity.lectureId(), \"\", identity.courseId(), \"\", \"\", \"\", \"\", null, null))\n .toList();\n if (!deletionDTOs.isEmpty()) {\n executeLectureDeletionWebhook(deletionDTOs);\n }\n }\n\n /**\n * executes executeLectureWebhook add or delete lectures from to the vector database on pyris\n *\n * @param toUpdateAttachmentVideoUnits The attachmentVideoUnit that are goin to be deleted\n * @return the run id of the job\n */\n private String executeLectureDeletionWebhook(List toUpdateAttachmentVideoUnits) {\n String runId = pyrisJobService.addLectureIngestionWebhookJob(0, 0, 0);\n PyrisPipelineExecutionSettingsDTO settingsDTO = settingsFor(runId, \"default\", IrisSupportLevel.MODERATE.jsonValue());\n PyrisWebhookLectureDeletionExecutionDTO executionDTO = new PyrisWebhookLectureDeletionExecutionDTO(toUpdateAttachmentVideoUnits, settingsDTO);\n pyrisConnectorService.executeLectureDeletionWebhook(executionDTO);\n return runId;\n }\n\n // Settings for a run registered moments ago, with the token its callbacks authenticate with.\n private PyrisPipelineExecutionSettingsDTO settingsFor(String runId, String variant, String supportLevel) {\n return new PyrisPipelineExecutionSettingsDTO(runId, callbackTokenService.issue(pyrisJobService.getJob(runId)), null, artemisBaseUrl, variant, supportLevel);\n }\n\n /**\n * Prepare a lecture ingestion job for a pulling Pyris worker: register the job and assemble the\n * execution payload, which the worker claim returns to Pyris.\n *\n * @param attachmentVideoUnit the attachment video unit to ingest\n * @param contentFingerprint fingerprint of the unit's source content, stamped into the vector store\n * @param fingerprintWithoutVideo fingerprint of the same content without the video, stamped instead when the video cannot be resolved right now\n * @param forceReingest true for quality re-ingestions bypassing Iris's structural skip checks\n * @return the prepared job, or {@code null} when the unit is not processable (tutorial lecture or no supported content); the payload carries the\n * fingerprint actually sent\n * @throws IrisVideoSourceUnavailableException if the unit's only content is a video that cannot be resolved right now\n */\n public PyrisPreparedLectureIngestionJobDTO prepareLectureUnitIngestion(AttachmentVideoUnit attachmentVideoUnit, String contentFingerprint, String fingerprintWithoutVideo,\n boolean forceReingest) {\n if (!isLectureUnitProcessableForPyris(attachmentVideoUnit)) {\n return null;\n }\n return prepareLectureAdditionJob(processAttachmentVideoUnitForUpdate(attachmentVideoUnit, contentFingerprint, fingerprintWithoutVideo, forceReingest),\n attachmentVideoUnit.getLecture().getCourse());\n }\n\n /**\n * Release a job registered by {@link #prepareLectureUnitIngestion} whose claim lapsed before it\n * could be activated: the worker never received it, so nothing will report on it, and leaving it in\n * the job map would just hold an unusable entry until {@code ingestionJobTimeout} expires.\n *\n * @param runId the run to release, from {@link PyrisPreparedLectureIngestionJobDTO#runId()}\n */\n public void revokePreparedIngestionJob(String runId) {\n pyrisJobService.removeJobByRunId(runId);\n }\n\n private PyrisPreparedLectureIngestionJobDTO prepareLectureAdditionJob(PyrisLectureUnitWebhookDTO toUpdateAttachmentVideoUnit, Course course) {\n String runId = pyrisJobService.addLectureIngestionWebhookJob(toUpdateAttachmentVideoUnit.courseId(), toUpdateAttachmentVideoUnit.lectureId(),\n toUpdateAttachmentVideoUnit.lectureUnitId());\n try {\n var settings = irisSettingsService.getSettingsForCourse(course);\n PyrisPipelineExecutionSettingsDTO settingsDTO = settingsFor(runId, settings.variant().jsonValue(), settings.supportLevel().jsonValue());\n PyrisWebhookLectureIngestionExecutionDTO executionDTO = new PyrisWebhookLectureIngestionExecutionDTO(toUpdateAttachmentVideoUnit,\n toUpdateAttachmentVideoUnit.lectureUnitId(), settingsDTO);\n return new PyrisPreparedLectureIngestionJobDTO(runId, executionDTO);\n }\n catch (RuntimeException e) {\n // Everything after the job registration can throw without having created anything else\n // to clean up (course settings resolution, token issuing, DTO assembly); only the job needs releasing,\n // or it would sit unusable in the job map until ingestionJobTimeout expires on its own.\n pyrisJobService.removeJobByRunId(runId);\n throw e;\n }\n }\n\n /**\n * adds the faq to Pyris.\n *\n * @param faq The faq that will be added to pyris\n * @return the run id if the job was created else null\n */\n public String addFaq(Faq faq) {\n if (irisSettingsService.isEnabledForCourse(faq.getCourse())) {\n return executeFaqAdditionWebhook(new PyrisFaqWebhookDTO(faq.getId(), faq.getQuestionTitle(), faq.getQuestionAnswer(), faq.getCourse().getId(),\n faq.getCourse().getTitle(), faq.getCourse().getDescription(), faq.computeContentFingerprint()));\n }\n return null;\n }\n\n /**\n * executes the faq addition webhook to add faq to the vector database on pyris\n *\n * @param toUpdateFaq The faq that got Updated as webhook DTO\n * @return the run id of the job\n */\n\n private String executeFaqAdditionWebhook(PyrisFaqWebhookDTO toUpdateFaq) {\n String runId = pyrisJobService.addFaqIngestionWebhookJob(toUpdateFaq.courseId(), toUpdateFaq.faqId());\n // FAQ ingestion has its own pipeline, which supports only the default variant. The course variant selects the chat pipeline.\n PyrisPipelineExecutionSettingsDTO settingsDTO = settingsFor(runId, \"default\", IrisSupportLevel.MODERATE.jsonValue());\n PyrisWebhookFaqIngestionExecutionDTO executionDTO = new PyrisWebhookFaqIngestionExecutionDTO(toUpdateFaq, settingsDTO);\n pyrisConnectorService.executeFaqAdditionWebhook(toUpdateFaq, executionDTO);\n return runId;\n\n }\n\n /**\n * Delete an FAQ from Pyris by its ids alone, for an FAQ that no longer exists in Artemis or is not accepted anymore.\n *\n * @param faqId the FAQ to delete\n * @param courseId its course\n * @return the run id of the deletion job\n */\n public String deleteFaq(long faqId, long courseId) {\n return executeFaqDeletionWebhook(new PyrisFaqWebhookDTO(faqId, null, null, courseId, null, null, null));\n }\n\n /**\n * executes the faq deletion webhook to delete faq from the vector database on pyris\n *\n * @param toUpdateFaqs The faq that got Updated as webhook DTO\n * @return the run id of the job\n */\n private String executeFaqDeletionWebhook(PyrisFaqWebhookDTO toUpdateFaqs) {\n String runId = pyrisJobService.addFaqIngestionWebhookJob(0, 0);\n PyrisPipelineExecutionSettingsDTO settingsDTO = settingsFor(runId, \"default\", IrisSupportLevel.MODERATE.jsonValue());\n PyrisWebhookFaqDeletionExecutionDTO executionDTO = new PyrisWebhookFaqDeletionExecutionDTO(toUpdateFaqs, settingsDTO);\n pyrisConnectorService.executeFaqDeletionWebhook(executionDTO);\n return runId;\n }\n\n public IngestionState getFaqIngestionState(long courseId, long faqId) {\n return pyrisConnectorService.getFaqIngestionState(courseId, faqId);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/0b9729d04e20aabe8fc0f9814626a6a2f2d6ed17.json b/web/public/bundles/artemis/code/0b9729d04e20aabe8fc0f9814626a6a2f2d6ed17.json new file mode 100644 index 00000000..c8685616 --- /dev/null +++ b/web/public/bundles/artemis/code/0b9729d04e20aabe8fc0f9814626a6a2f2d6ed17.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0b9729d04e20aabe8fc0f9814626a6a2f2d6ed17", + "language": "typescript", + "path": "src/main/webapp/app/communication/course-conversations-components/layout/conversation-thread-sidebar/conversation-thread-sidebar.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, ElementRef, effect, inject, input, output, signal, untracked, viewChild } from '@angular/core';\nimport { Posting } from 'app/communication/shared/entities/posting.model';\nimport { Post } from 'app/communication/shared/entities/post.model';\nimport { faArrowLeft, faChevronLeft, faCompress, faExpand, faXmark } from '@fortawesome/free-solid-svg-icons';\nimport { AnswerPost } from 'app/communication/shared/entities/answer-post.model';\nimport { Conversation, ConversationDTO } from 'app/communication/shared/entities/conversation/conversation.model';\nimport { getAsChannelDTO } from 'app/communication/shared/entities/conversation/channel.model';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { TumAetUiTooltipDirective } from '@tumaet/ui-angular/tooltip';\nimport { MessageReplyInlineInputComponent } from 'app/communication/message/message-reply-inline-input/message-reply-inline-input.component';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { NgClass } from '@angular/common';\nimport { PostComponent } from 'app/communication/post/post.component';\nimport { TutorSuggestionComponent } from 'app/communication/course-conversations/tutor-suggestion/tutor-suggestion.component';\nimport { Course } from 'app/course/shared/entities/course.model';\nimport { ConversationSelectionState } from 'app/communication/shared/course-conversations/course-conversation-selection.state';\nimport { ResizableConstraints, ResizableDirective } from 'app/shared-ui/directives/resizable.directive';\n\n@Component({\n selector: 'jhi-conversation-thread-sidebar',\n templateUrl: './conversation-thread-sidebar.component.html',\n styleUrls: ['./conversation-thread-sidebar.component.css'],\n imports: [\n FaIconComponent,\n TranslateDirective,\n TumAetUiTooltipDirective,\n PostComponent,\n MessageReplyInlineInputComponent,\n ArtemisTranslatePipe,\n NgClass,\n TutorSuggestionComponent,\n ResizableDirective,\n ],\n})\nexport class ConversationThreadSidebarComponent {\n private readonly conversationSelectionState = inject(ConversationSelectionState);\n\n readonly scrollBody = viewChild>('scrollBody');\n threadContainer = viewChild('threadContainer');\n\n readonly readOnlyMode = input(false);\n readonly activeConversation = input();\n readonly activePost = input();\n\n course = input();\n\n readonly closePostThread = output();\n readonly onNavigateToPost = output();\n\n constructor() {\n effect(() => {\n const conversation = this.activeConversation();\n untracked(() => {\n if (conversation) {\n this.conversation.set(conversation);\n this.hasChannelModerationRights.set(getAsChannelDTO(this.conversation())?.hasChannelModerationRights ?? false);\n }\n });\n });\n effect(() => {\n const activePost = this.activePost();\n untracked(() => {\n if (activePost) {\n this.post.set(activePost);\n const replyBeingWritten = this.createdAnswerPost();\n if (replyBeingWritten && replyBeingWritten.post?.id === activePost.id) {\n // The post of the open thread was updated, for example because a reply arrived. Replacing the reply input would reset\n // the editor and move the cursor of a user who is typing to the start, so only point it to the updated post.\n replyBeingWritten.post = activePost;\n } else {\n this.createdAnswerPost.set(this.createEmptyAnswerPost());\n }\n // After the DOM renders the new post, pin the current pixel width\n // so that removing or replacing content (e.g. rejecting / editing an\n // Iris reply) never changes the sidebar width mid-session.\n setTimeout(() => this.lockWidth(), 0);\n }\n });\n });\n }\n\n readonly post = signal(undefined);\n readonly createdAnswerPost = signal(undefined!);\n readonly conversation = signal(undefined!);\n readonly hasChannelModerationRights = signal(false);\n\n // Icons\n faXmark = faXmark;\n faChevronLeft = faChevronLeft;\n faArrowLeft = faArrowLeft;\n readonly faExpand = faExpand;\n readonly faCompress = faCompress;\n\n readonly isExpanded = signal(false);\n\n /**\n * creates empty default answer post that is needed on initialization of a newly opened modal to edit or create an answer post, with accordingly set resolvesPost flag\n * @return AnswerPost created empty default answer post\n */\n createEmptyAnswerPost(): AnswerPost {\n const answerPost = new AnswerPost();\n answerPost.content = '';\n answerPost.post = this.post();\n return answerPost;\n }\n\n /**\n * Toggles the expanded state of the thread view.\n * If expanded, resets the container width and collapses it;\n * if collapsed, expands the thread view to allow resizing.\n */\n toggleExpand(): void {\n const el = this.threadContainer()?.nativeElement;\n if (el) {\n el.style.width = '';\n }\n this.isExpanded.update((expanded) => !expanded);\n if (!this.isExpanded()) {\n // After collapsing, re-pin the sidebar width once the DOM has settled.\n setTimeout(() => this.lockWidth(), 0);\n }\n }\n\n /**\n * Emits the close post thread and resets the open post variable\n */\n closeThread() {\n const el = this.threadContainer()?.nativeElement;\n if (el) {\n el.style.width = '';\n }\n this.closePostThread.emit();\n this.conversationSelectionState.setOpenPostId(undefined);\n }\n\n private lockWidth(): void {\n const el = this.threadContainer()?.nativeElement;\n if (!el || el.style.width) {\n // Already pinned by a previous lock or a user drag — nothing to do.\n return;\n }\n const w = el.getBoundingClientRect().width;\n if (w > 0) {\n // Set an explicit pixel width exactly as interact.js does after a manual resize.\n // This stops flex from shrinking the sidebar when thread content changes\n // (e.g. an Iris reply is rejected or switched into edit mode).\n el.style.width = w + 'px';\n }\n }\n\n /**\n * Width constraints for the resizable thread section, based on the viewport width when the sidebar opens.\n * Mirrors the previous interact.js restrictSize modifier (min 30% of the window width, max full width). Held in\n * a signal with a stable reference (instead of a getter returning a fresh object every change-detection cycle),\n * which avoided the layout thrash that made the sidebar open jankily.\n */\n readonly resizableConstraints = signal({ minWidth: window.innerWidth * 0.3, maxWidth: window.innerWidth }).asReadonly();\n\n scrollEditorIntoView(): void {\n this.scrollBody()?.nativeElement?.scrollTo({\n top: this.scrollBody()?.nativeElement.scrollHeight,\n behavior: 'instant',\n });\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/0c660341a913ba2203886f60ece995de70fadfb3.json b/web/public/bundles/artemis/code/0c660341a913ba2203886f60ece995de70fadfb3.json new file mode 100644 index 00000000..426bd251 --- /dev/null +++ b/web/public/bundles/artemis/code/0c660341a913ba2203886f60ece995de70fadfb3.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0c660341a913ba2203886f60ece995de70fadfb3", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/core/dto/CourseRoleMemberDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.core.dto;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\n\n/**\n * A DTO representing a single row in a course's paginated member list (students/tutors/editors/instructors).\n *\n * @param visibleRegistrationNumber the member's registration number as stored, or empty if the member has none\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record CourseRoleMemberDTO(Long id, String login, String name, String email, String visibleRegistrationNumber, String imageUrl) {\n\n /**\n * Creates the member row for the given user.\n *\n * @param user the user to convert\n * @return the member row\n */\n public static CourseRoleMemberDTO of(User user) {\n return new CourseRoleMemberDTO(user.getId(), user.getLogin(), user.getName(), user.getEmail(), user.getRegistrationNumber(), user.getImageUrl());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/0ca4acbccda83bb4dc5be01978ff6bc3abf2e32e.json b/web/public/bundles/artemis/code/0ca4acbccda83bb4dc5be01978ff6bc3abf2e32e.json new file mode 100644 index 00000000..681cbbb2 --- /dev/null +++ b/web/public/bundles/artemis/code/0ca4acbccda83bb4dc5be01978ff6bc3abf2e32e.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0ca4acbccda83bb4dc5be01978ff6bc3abf2e32e", + "language": "typescript", + "path": "src/main/webapp/app/lecture/shared/entities/lecture-unit/exerciseUnit.model.ts", + "schema": "codexray.code/1", + "text": "import { LectureUnit, LectureUnitType } from 'app/lecture/shared/entities/lecture-unit/lectureUnit.model';\nimport { Exercise } from 'app/exercise/shared/entities/exercise/exercise.model';\n\nexport class ExerciseUnit extends LectureUnit {\n public exercise?: Exercise;\n\n constructor() {\n super(LectureUnitType.EXERCISE);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/0de8c293c32e13ee94e1b593c232b723f41a7bd9.json b/web/public/bundles/artemis/code/0de8c293c32e13ee94e1b593c232b723f41a7bd9.json new file mode 100644 index 00000000..975db1aa --- /dev/null +++ b/web/public/bundles/artemis/code/0de8c293c32e13ee94e1b593c232b723f41a7bd9.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0de8c293c32e13ee94e1b593c232b723f41a7bd9", + "language": "typescript", + "path": "src/main/webapp/app/communication/course-conversations-components/dialogs/conversation-add-users-dialog/add-users-form/conversation-add-users-form.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, OnInit, inject, input, output, signal } from '@angular/core';\nimport { UserPublicInfoDTO } from 'app/account/user/user.model';\nimport { FormBuilder, FormGroup, FormsModule, ReactiveFormsModule, Validators } from '@angular/forms';\nimport { ConversationDTO } from 'app/communication/shared/entities/conversation/conversation.model';\nimport { getAsChannelDTO } from 'app/communication/shared/entities/conversation/channel.model';\nimport { faSpinner } from '@fortawesome/free-solid-svg-icons';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { CourseUsersSelectorComponent } from 'app/communication/course-users-selector/course-users-selector.component';\nimport { deepClone } from 'app/foundation/util/deep-clone.util';\nimport { TranslateService } from '@ngx-translate/core';\nimport { TumAetUiButtonDirective } from '@tumaet/ui-angular/button';\nimport { TumAetUiCheckboxComponent } from '@tumaet/ui-angular/checkbox';\nimport { TumAetUiMessageComponent } from '@tumaet/ui-angular/message';\nimport { TumAetUiSelectButtonComponent } from '@tumaet/ui-angular/select-button';\n\nexport interface AddUsersFormData {\n selectedUsers?: UserPublicInfoDTO[];\n addAllStudents: boolean;\n // all tutors also includes editors\n addAllTutors: boolean;\n addAllInstructors: boolean;\n}\n\n@Component({\n selector: 'jhi-conversation-add-users-form',\n templateUrl: './conversation-add-users-form.component.html',\n imports: [\n TranslateDirective,\n FormsModule,\n ReactiveFormsModule,\n CourseUsersSelectorComponent,\n FaIconComponent,\n ArtemisTranslatePipe,\n TumAetUiButtonDirective,\n TumAetUiCheckboxComponent,\n TumAetUiMessageComponent,\n TumAetUiSelectButtonComponent,\n ],\n})\nexport class ConversationAddUsersFormComponent implements OnInit {\n private fb = inject(FormBuilder);\n private translateService = inject(TranslateService);\n\n readonly formSubmitted = output();\n\n readonly courseId = input.required();\n readonly maxSelectable = input(undefined);\n readonly activeConversation = input.required();\n\n isLoading = input(false);\n\n form!: FormGroup; // set in initializeForm() from ngOnInit()\n\n // Icons\n protected readonly faSpinner = faSpinner;\n\n getAsChannel = getAsChannelDTO;\n\n mode: 'individual' | 'group' = 'individual';\n readonly modeOptions = signal<{ label: string; value: 'individual' | 'group' }[]>([]);\n\n get selectedUsersControl() {\n return this.form.get('selectedUsers');\n }\n\n get isSubmitPossible() {\n return (\n !this.isLoading() &&\n ((this.mode === 'individual' && !this.form.invalid) ||\n (this.mode === 'group' && (this.form.value?.addAllStudents || this.form.value?.addAllTutors || this.form.value?.addAllInstructors)))\n );\n }\n\n ngOnInit(): void {\n this.modeOptions.set([\n { label: this.translateService.instant('artemisApp.dialogs.addUsers.addUsersForm.addIndividualUsers'), value: 'individual' },\n { label: this.translateService.instant('artemisApp.dialogs.addUsers.addUsersForm.addWholeGroups'), value: 'group' },\n ]);\n this.initializeForm();\n }\n\n private initializeForm() {\n if (this.form) {\n return;\n }\n const maxSel = this.maxSelectable();\n const validators = maxSel ? [Validators.required, Validators.maxLength(maxSel)] : [Validators.required];\n\n this.form = this.fb.group({\n selectedUsers: [[], validators],\n addAllStudents: [false],\n addAllTutors: [false],\n addAllInstructors: [false],\n });\n }\n\n submitForm() {\n this.formSubmitted.emit(deepClone(this.form.value));\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/0e738d99e21f0805c67cb6ba5d9db875f03b0ca2.json b/web/public/bundles/artemis/code/0e738d99e21f0805c67cb6ba5d9db875f03b0ca2.json new file mode 100644 index 00000000..a0cf0fe8 --- /dev/null +++ b/web/public/bundles/artemis/code/0e738d99e21f0805c67cb6ba5d9db875f03b0ca2.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0e738d99e21f0805c67cb6ba5d9db875f03b0ca2", + "language": "typescript", + "path": "src/main/webapp/app/course/manage/detail/course-detail-doughnut-chart.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, computed, effect, inject, input, signal, untracked } from '@angular/core';\nimport { roundValueSpecifiedByCourseSettings } from 'app/foundation/util/utils';\nimport { DoughnutChartType } from './course-detail.component';\nimport { Router, RouterLink } from '@angular/router';\nimport { Course } from 'app/course/shared/entities/course.model';\nimport { faSpinner } from '@fortawesome/free-solid-svg-icons';\nimport { ChartSeriesEntry } from 'app/shared-ui/chart/chart-data.model';\nimport { singleSeriesChart } from 'app/shared-ui/chart/tum-aet-ui-chart-adapters';\nimport { TumAetUiDoughnutChartComponent, TumAetUiDoughnutChartConfig } from '@tumaet/ui-angular/chart';\nimport { GraphColors } from 'app/exercise/shared/entities/statistics.model';\nimport { NgClass } from '@angular/common';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\n\nconst PIE_CHART_NA_FALLBACK_VALUE = [0, 0, 1];\n\n@Component({\n selector: 'jhi-course-detail-doughnut-chart',\n templateUrl: './course-detail-doughnut-chart.component.html',\n styleUrls: ['./course-detail-doughnut-chart.component.css'],\n imports: [RouterLink, NgClass, FaIconComponent, TumAetUiDoughnutChartComponent, ArtemisTranslatePipe, TranslateDirective],\n})\nexport class CourseDetailDoughnutChartComponent {\n private router = inject(Router);\n\n readonly contentType = input.required();\n readonly currentPercentage = input();\n readonly currentAbsolute = input();\n readonly currentMax = input();\n readonly course = input.required();\n readonly showText = input();\n /** Requests excluded from the USD total because no USD cost was reported or configured. */\n readonly unpricedRequests = input(0);\n\n readonly receivedStats = signal(false);\n readonly stats = signal([]);\n readonly chartEntries = signal([\n { name: 'Done', value: 0 },\n { name: 'Not done', value: 0 },\n { name: 'N/A', value: 0 }, // fallback to display grey circle if there is no maxValue\n ]);\n\n // Icons\n faSpinner = faSpinner;\n\n readonly chartData = computed(() => singleSeriesChart(this.chartEntries(), [GraphColors.GREEN, GraphColors.RED, GraphColors.LIGHT_GREY]));\n readonly chartConfig = computed(() => ({\n legend: false,\n tooltip: this.contentType() === DoughnutChartType.CURRENT_LLM_COST ? false : { label: (item) => `${this.valueFormatting({ value: item.value })}` },\n }));\n\n // Computed values for title and link based on contentType\n readonly doughnutChartTitle = computed(() => {\n switch (this.contentType()) {\n case DoughnutChartType.ASSESSMENT:\n return 'assessments';\n case DoughnutChartType.COMPLAINTS:\n return 'complaints';\n case DoughnutChartType.FEEDBACK:\n return 'moreFeedback';\n case DoughnutChartType.AVERAGE_COURSE_SCORE:\n return 'averageStudentScore';\n case DoughnutChartType.CURRENT_LLM_COST:\n return 'currentTotalLLMCost';\n default:\n return '';\n }\n });\n\n readonly titleLink = computed(() => {\n switch (this.contentType()) {\n case DoughnutChartType.ASSESSMENT:\n return 'assessment-dashboard';\n case DoughnutChartType.COMPLAINTS:\n return 'complaints';\n case DoughnutChartType.FEEDBACK:\n return 'more-feedback-requests';\n case DoughnutChartType.AVERAGE_COURSE_SCORE:\n if (this.course().isAtLeastInstructor) {\n return 'scores';\n }\n return undefined;\n case DoughnutChartType.CURRENT_LLM_COST:\n return undefined;\n default:\n return undefined;\n }\n });\n\n constructor() {\n // Effect to handle ngOnChanges logic for input changes\n effect(() => {\n const currentAbsolute = this.currentAbsolute();\n const currentMax = this.currentMax();\n const showText = this.showText();\n const course = this.course();\n\n untracked(() => {\n // [0, 0, 0] will lead to the chart not being displayed,\n // assigning [0, 0, 1] (PIE_CHART_NA_FALLBACK_VALUE) works around this issue and displays 0 %, 0 / 0 with a grey circle\n if (currentAbsolute == undefined && !this.receivedStats() && !showText) {\n this.updatePieChartData(PIE_CHART_NA_FALLBACK_VALUE);\n } else {\n this.receivedStats.set(true);\n const remaining = roundValueSpecifiedByCourseSettings(currentMax! - currentAbsolute!, course);\n this.stats.set([currentAbsolute!, remaining, 0]); // done, not done, na\n if (currentMax === 0) {\n this.updatePieChartData(PIE_CHART_NA_FALLBACK_VALUE);\n } else {\n this.updatePieChartData(this.stats());\n }\n }\n });\n });\n\n // Effect to handle contentType initialization (for AVERAGE_COURSE_SCORE name change)\n effect(() => {\n const contentType = this.contentType();\n untracked(() => {\n if (contentType === DoughnutChartType.AVERAGE_COURSE_SCORE) {\n const currentData = this.chartEntries();\n currentData[0].name = 'Average score';\n this.chartEntries.set([...currentData]);\n }\n });\n });\n }\n\n /**\n * handles clicks onto the graph, which then redirects the user to the corresponding page, e.g. complaints page for the complaints chart\n */\n openCorrespondingPage() {\n const course = this.course();\n const titleLink = this.titleLink();\n if (course.id && titleLink) {\n void this.router.navigate(['/course-management', course.id, titleLink]);\n }\n }\n\n /**\n * Assigns a given array of numbers to the chart entries\n * @param values the values that should be displayed by the chart\n */\n private updatePieChartData(values: number[]): void {\n const currentData = this.chartEntries();\n currentData.forEach((entry: ChartSeriesEntry, index: number) => (entry.value = values[index]));\n this.chartEntries.set([...currentData]);\n }\n\n /**\n * Modifies the tooltip content of the chart.\n * Returns absolute value represented by doughnut piece or 0 if the currentMax is 0.\n * This is necessary in order to compensate the workaround for\n * displaying a chart even if no values are there to display (i.e. currentMax is 0)\n * @param data the default tooltip content that has to be replaced\n * returns string representing custom tooltip content\n */\n valueFormatting(data: { value: number }): string {\n return this.currentMax() === 0 ? '0' : `${data.value}`;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/0ed071cdc151f06e913c0190a9ef839ec875a8e5.json b/web/public/bundles/artemis/code/0ed071cdc151f06e913c0190a9ef839ec875a8e5.json new file mode 100644 index 00000000..6442b4e1 --- /dev/null +++ b/web/public/bundles/artemis/code/0ed071cdc151f06e913c0190a9ef839ec875a8e5.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0ed071cdc151f06e913c0190a9ef839ec875a8e5", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseRequestRequesterDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.course.dto;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\n\n/**\n * A lightweight DTO containing only the requester fields needed for course request display.\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record CourseRequestRequesterDTO(Long id, String login, String name, String email) {\n\n public CourseRequestRequesterDTO(User user) {\n this(user.getId(), user.getLogin(), user.getName(), user.getEmail());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/0f3df0cb3df8382f116da5cbe5962b34fdef9e85.json b/web/public/bundles/artemis/code/0f3df0cb3df8382f116da5cbe5962b34fdef9e85.json new file mode 100644 index 00000000..3743a7d7 --- /dev/null +++ b/web/public/bundles/artemis/code/0f3df0cb3df8382f116da5cbe5962b34fdef9e85.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0f3df0cb3df8382f116da5cbe5962b34fdef9e85", + "language": "typescript", + "path": "src/main/webapp/app/core/notification/system-notification/system-notification.service.ts", + "schema": "codexray.code/1", + "text": "import { HttpClient, HttpResponse } from '@angular/common/http';\nimport { Service, inject } from '@angular/core';\nimport { SystemNotification } from 'app/admin/system-notification-management/system-notification.model';\nimport { createRequestOption } from 'app/foundation/util/request.util';\nimport { convertDateFromClient, convertDateFromServer } from 'app/foundation/util/date.utils';\nimport { Observable } from 'rxjs';\nimport { map } from 'rxjs/operators';\nimport { cloneWith } from 'app/foundation/util/deep-clone.util';\n\ntype EntityResponseType = HttpResponse;\ntype EntityArrayResponseType = HttpResponse;\n\n/** Request options for a paged/sorted query, matching what {@link createRequestOption} consumes. */\ntype SystemNotificationQueryOptions = { sort?: string[] } & Record;\n\n@Service()\nexport class SystemNotificationService {\n private http = inject(HttpClient);\n\n public resourceUrl = 'api/notification/admin/system-notifications';\n public publicResourceUrl = 'api/notification/public/system-notifications';\n\n /**\n * Find a notification on the server using a GET request.\n * @param systemNotificationId The id of the notification to get.\n */\n find(systemNotificationId: number): Observable {\n return this.http\n .get(`${this.resourceUrl}/${systemNotificationId}`, { observe: 'response' })\n .pipe(map((res: EntityResponseType) => this.convertSystemNotificationResponseDatesFromServer(res)));\n }\n\n query(req?: SystemNotificationQueryOptions): Observable {\n const options = createRequestOption(req);\n return this.http\n .get(this.resourceUrl, { params: options, observe: 'response' })\n .pipe(map((res: EntityArrayResponseType) => this.convertSystemNotificationArrayResponseDatesFromServer(res)));\n }\n\n /**\n * Fetch active and future notifications from the server.\n */\n getActiveNotifications(): Observable {\n return this.http\n .get(`${this.publicResourceUrl}/active`, { observe: 'response' })\n .pipe(map((res: EntityArrayResponseType) => this.convertSystemNotificationArrayResponseDatesFromServer(res)))\n .pipe(map((res) => res.body || []));\n }\n\n /**\n * Convert notification dates from client format to ISO format.\n * @param {SystemNotification} notification The notification to format.\n * @return {SystemNotification} A copy of notification with formatted dates.\n */\n convertSystemNotificationDatesFromClient(notification: SystemNotification): SystemNotification {\n return cloneWith(notification, {\n notificationDate: convertDateFromClient(notification.notificationDate),\n expireDate: convertDateFromClient(notification.expireDate),\n });\n }\n\n /**\n * Convert server response dates from server format to ISO format.\n * @param {EntityResponseType} res The server response to format.\n * @return {EntityResponseType} The server response with formatted dates.\n */\n convertSystemNotificationResponseDatesFromServer(res: EntityResponseType): EntityResponseType {\n if (res.body) {\n res.body.notificationDate = convertDateFromServer(res.body.notificationDate);\n res.body.expireDate = convertDateFromServer(res.body.expireDate);\n }\n return res;\n }\n\n /**\n * Convert server response dates from server format to ISO format for an array of responses.\n * @param {EntityResponseType} res The array of server responses to format.\n * @return {EntityResponseType} The array of server responses with formatted dates.\n */\n convertSystemNotificationArrayResponseDatesFromServer(res: EntityArrayResponseType): EntityArrayResponseType {\n if (res.body) {\n res.body.forEach((notification: SystemNotification) => {\n notification.notificationDate = convertDateFromServer(notification.notificationDate);\n notification.expireDate = convertDateFromServer(notification.expireDate);\n });\n }\n return res;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/0f77ff0b196ba8a1f59e5e088eb2aab4e4dedffb.json b/web/public/bundles/artemis/code/0f77ff0b196ba8a1f59e5e088eb2aab4e4dedffb.json new file mode 100644 index 00000000..26663cfe --- /dev/null +++ b/web/public/bundles/artemis/code/0f77ff0b196ba8a1f59e5e088eb2aab4e4dedffb.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0f77ff0b196ba8a1f59e5e088eb2aab4e4dedffb", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizStatisticsService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.quiz.service;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\nimport static de.tum.cit.aet.artemis.quiz.web.QuizWebsocketTopics.QUIZ_STATISTICS;\n\nimport java.time.Duration;\nimport java.time.Instant;\nimport java.util.HashMap;\nimport java.util.HashSet;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Set;\nimport java.util.UUID;\n\nimport org.springframework.beans.factory.annotation.Qualifier;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.scheduling.TaskScheduler;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.communication.service.WebsocketMessagingService;\nimport de.tum.cit.aet.artemis.core.exception.EntityNotFoundException;\nimport de.tum.cit.aet.artemis.core.service.distributed.api.DistributedDataProvider;\nimport de.tum.cit.aet.artemis.core.service.distributed.api.map.DistributedMap;\nimport de.tum.cit.aet.artemis.quiz.domain.AnswerOption;\nimport de.tum.cit.aet.artemis.quiz.domain.DragAndDropMapping;\nimport de.tum.cit.aet.artemis.quiz.domain.DragAndDropMappingSelection;\nimport de.tum.cit.aet.artemis.quiz.domain.DragAndDropQuestion;\nimport de.tum.cit.aet.artemis.quiz.domain.DragAndDropSubmittedAnswerSelection;\nimport de.tum.cit.aet.artemis.quiz.domain.DropLocation;\nimport de.tum.cit.aet.artemis.quiz.domain.MultipleChoiceQuestion;\nimport de.tum.cit.aet.artemis.quiz.domain.MultipleChoiceSubmittedAnswerSelection;\nimport de.tum.cit.aet.artemis.quiz.domain.QuizExercise;\nimport de.tum.cit.aet.artemis.quiz.domain.QuizQuestion;\nimport de.tum.cit.aet.artemis.quiz.domain.ShortAnswerQuestion;\nimport de.tum.cit.aet.artemis.quiz.domain.ShortAnswerSpot;\nimport de.tum.cit.aet.artemis.quiz.domain.ShortAnswerSubmittedAnswerSelection;\nimport de.tum.cit.aet.artemis.quiz.domain.ShortAnswerTextSelection;\nimport de.tum.cit.aet.artemis.quiz.dto.QuizPointStatisticDTO;\nimport de.tum.cit.aet.artemis.quiz.dto.QuizPointStatisticsDTO;\nimport de.tum.cit.aet.artemis.quiz.dto.QuizQuestionStatisticDTO;\nimport de.tum.cit.aet.artemis.quiz.dto.QuizQuestionStatisticResponseDTO;\nimport de.tum.cit.aet.artemis.quiz.dto.QuizStatisticCounterDTO;\nimport de.tum.cit.aet.artemis.quiz.dto.QuizStatisticsOverviewDTO;\nimport de.tum.cit.aet.artemis.quiz.repository.QuizStatisticProjections.RatedSelection;\nimport de.tum.cit.aet.artemis.quiz.repository.QuizStatisticsRepository;\n\n/**\n * Calculates quiz statistics on demand from results and submitted-answer selections.\n */\n@Profile(PROFILE_CORE)\n@Lazy\n@Service\npublic class QuizStatisticsService {\n\n private static final Duration NOTIFICATION_DEBOUNCE = Duration.ofSeconds(1);\n\n private static final String NOTIFICATION_DEBOUNCE_MAP = \"quiz-statistics-notification-debounce\";\n\n private final QuizStatisticsRepository quizStatisticsRepository;\n\n private final WebsocketMessagingService websocketMessagingService;\n\n private final TaskScheduler taskScheduler;\n\n private final DistributedMap pendingNotifications;\n\n public QuizStatisticsService(QuizStatisticsRepository quizStatisticsRepository, WebsocketMessagingService websocketMessagingService,\n @Qualifier(\"taskScheduler\") TaskScheduler taskScheduler, DistributedDataProvider distributedDataProvider) {\n this.quizStatisticsRepository = quizStatisticsRepository;\n this.websocketMessagingService = websocketMessagingService;\n this.taskScheduler = taskScheduler;\n this.pendingNotifications = distributedDataProvider.getExpiringMap(NOTIFICATION_DEBOUNCE_MAP, NOTIFICATION_DEBOUNCE);\n }\n\n /**\n * Calculates the participant and fully-correct counters for every question.\n *\n * @param quizExercise the loaded quiz exercise\n * @return the quiz exercise with overview statistics\n */\n public QuizStatisticsOverviewDTO getOverview(QuizExercise quizExercise) {\n long quizExerciseId = quizExercise.getId();\n CounterPair participantCounts = new CounterPair();\n quizStatisticsRepository.findPointStatistic(quizExerciseId).forEach(bucket -> participantCounts.add(bucket.getRated(), bucket.getParticipantCount()));\n Map countersByQuestion = new HashMap<>();\n for (QuizQuestion question : quizExercise.getQuizQuestions()) {\n countersByQuestion.put(question.getId(), new QuestionCounters());\n }\n quizStatisticsRepository.findQuestionAggregatesForQuiz(quizExerciseId).forEach(aggregate -> {\n QuestionCounters counters = countersByQuestion.get(aggregate.getQuestionId());\n if (counters != null) {\n counters.set(aggregate.getRated(), aggregate.getParticipantCount(), aggregate.getCorrectCount());\n }\n });\n\n Map statisticsByQuestion = new HashMap<>();\n for (QuizQuestion question : quizExercise.getQuizQuestions()) {\n statisticsByQuestion.put(question.getId(), countersByQuestion.get(question.getId()).toDto(question, null));\n }\n return QuizStatisticsOverviewDTO.of(quizExercise, statisticsByQuestion, participantCounts.rated, participantCounts.unrated);\n }\n\n /**\n * Calculates the quiz's integer point-bucket histogram.\n *\n * @param quizExercise the loaded quiz exercise\n * @return the quiz exercise with point statistics\n */\n public QuizPointStatisticsDTO getPointStatistic(QuizExercise quizExercise) {\n long quizExerciseId = quizExercise.getId();\n double overallPoints = quizExercise.getOverallQuizPoints();\n long roundedOverallPoints = Math.round(overallPoints);\n Map countersByPoints = new HashMap<>();\n for (long points = 0; points <= roundedOverallPoints; points++) {\n countersByPoints.put((double) points, new CounterPair());\n }\n\n CounterPair resultCounts = new CounterPair();\n for (var bucket : quizStatisticsRepository.findPointStatistic(quizExerciseId)) {\n double points = Math.round(overallPoints * bucket.getScore() / 100);\n countersByPoints.computeIfAbsent(points, ignored -> new CounterPair()).add(bucket.getRated(), bucket.getParticipantCount());\n resultCounts.add(bucket.getRated(), bucket.getParticipantCount());\n }\n\n Map counterDTOsByPoints = new HashMap<>();\n countersByPoints.forEach((points, counters) -> counterDTOsByPoints.put(points, counters.toDto()));\n QuizPointStatisticDTO pointStatistic = QuizPointStatisticDTO.of(counterDTOsByPoints, resultCounts.rated, resultCounts.unrated);\n return QuizPointStatisticsDTO.of(quizExercise, pointStatistic);\n }\n\n /**\n * Calculates all counters for one question.\n *\n * @param quizExercise the loaded quiz exercise\n * @param questionId the id of the question\n * @return the quiz exercise with the requested question statistic\n */\n public QuizQuestionStatisticResponseDTO getQuestionStatistic(QuizExercise quizExercise, long questionId) {\n long quizExerciseId = quizExercise.getId();\n QuizQuestion question = quizExercise.getQuizQuestions().stream().filter(candidate -> candidate.getId() != null && candidate.getId() == questionId).findFirst()\n .orElseThrow(() -> new EntityNotFoundException(\"QuizQuestion with id \" + questionId + \" not found in quiz exercise \" + quizExerciseId));\n List selections = quizStatisticsRepository.findSelectionsForQuestion(questionId);\n QuestionCounters counters = questionAggregate(selections, question.getPoints());\n Map componentCounters = switch (question) {\n case MultipleChoiceQuestion multipleChoiceQuestion -> multipleChoiceCounters(multipleChoiceQuestion, selections);\n case DragAndDropQuestion dragAndDropQuestion -> dragAndDropCounters(dragAndDropQuestion, selections);\n case ShortAnswerQuestion shortAnswerQuestion -> shortAnswerCounters(shortAnswerQuestion, selections);\n default -> throw new IllegalArgumentException(\"Unsupported quiz question type \" + question.getClass().getName());\n };\n QuizQuestionStatisticDTO statistic = counters.toDto(question, toCounterDTOs(componentCounters));\n return QuizQuestionStatisticResponseDTO.of(quizExercise, question, statistic);\n }\n\n /**\n * Notifies open statistics pages that their on-demand data changed. The payload is intentionally only the exercise id;\n * each page reloads its own endpoint.\n *\n * @param quizExerciseId the id of the changed quiz exercise\n */\n public void notifyStatisticsChanged(long quizExerciseId) {\n String claim = UUID.randomUUID().toString();\n if (pendingNotifications.putIfAbsent(quizExerciseId, claim) != null) {\n return;\n }\n try {\n taskScheduler.schedule(() -> {\n pendingNotifications.remove(quizExerciseId, claim);\n websocketMessagingService.sendMessage(QUIZ_STATISTICS.at(quizExerciseId), quizExerciseId);\n }, Instant.now().plus(NOTIFICATION_DEBOUNCE));\n }\n catch (RuntimeException exception) {\n pendingNotifications.remove(quizExerciseId, claim);\n throw exception;\n }\n }\n\n private static QuestionCounters questionAggregate(List selections, double questionPoints) {\n QuestionCounters counters = new QuestionCounters();\n for (RatedSelection selection : selections) {\n Double scoreInPoints = selection.getScoreInPoints();\n counters.increment(selection.getRated(), scoreInPoints != null && scoreInPoints >= questionPoints);\n }\n return counters;\n }\n\n private static Map multipleChoiceCounters(MultipleChoiceQuestion question, List selections) {\n Map countersByAnswer = new HashMap<>();\n for (AnswerOption answerOption : question.getAnswerOptions()) {\n countersByAnswer.put(answerOption.getId(), new CounterPair());\n }\n selections.forEach(row -> {\n if (!(row.getSelection() instanceof MultipleChoiceSubmittedAnswerSelection selection)) {\n return;\n }\n Set countedAnswerOptions = new HashSet<>();\n for (Long answerOptionId : selection.getSelectedOptionIds()) {\n if (!countedAnswerOptions.add(answerOptionId)) {\n continue;\n }\n CounterPair counters = countersByAnswer.get(answerOptionId);\n if (counters != null) {\n counters.increment(row.getRated());\n }\n }\n });\n return countersByAnswer;\n }\n\n private static Map dragAndDropCounters(DragAndDropQuestion question, List selections) {\n Map> correctDragItemsByDropLocation = new HashMap<>();\n Map countersByDropLocation = new HashMap<>();\n for (DropLocation dropLocation : question.getDropLocations()) {\n correctDragItemsByDropLocation.put(dropLocation.getId(), new HashSet<>());\n countersByDropLocation.put(dropLocation.getId(), new CounterPair());\n }\n for (DragAndDropMapping mapping : question.getCorrectMappings()) {\n Set correctDragItems = correctDragItemsByDropLocation.get(mapping.getDropLocation().getId());\n if (correctDragItems != null) {\n correctDragItems.add(mapping.getDragItem().getId());\n }\n }\n selections.forEach(row -> {\n if (!(row.getSelection() instanceof DragAndDropSubmittedAnswerSelection selection)) {\n return;\n }\n Map submittedDragItemByDropLocation = new HashMap<>();\n for (DragAndDropMappingSelection mapping : selection.getMappings()) {\n submittedDragItemByDropLocation.putIfAbsent(mapping.dropLocationId(), mapping.dragItemId());\n }\n countersByDropLocation.forEach((dropLocationId, counters) -> {\n Set correctDragItems = correctDragItemsByDropLocation.getOrDefault(dropLocationId, Set.of());\n Long submittedDragItem = submittedDragItemByDropLocation.get(dropLocationId);\n boolean correct = (correctDragItems.isEmpty() && submittedDragItem == null) || (submittedDragItem != null && correctDragItems.contains(submittedDragItem));\n if (correct) {\n counters.increment(row.getRated());\n }\n });\n });\n return countersByDropLocation;\n }\n\n private static Map shortAnswerCounters(ShortAnswerQuestion question, List selections) {\n Map countersBySpot = new HashMap<>();\n for (ShortAnswerSpot spot : question.getSpots()) {\n countersBySpot.put(spot.getId(), new CounterPair());\n }\n selections.forEach(row -> {\n if (!(row.getSelection() instanceof ShortAnswerSubmittedAnswerSelection selection)) {\n return;\n }\n Set countedSpots = new HashSet<>();\n for (ShortAnswerTextSelection submittedText : selection.getSubmittedTexts()) {\n if (!countedSpots.add(submittedText.getSpotId())) {\n continue;\n }\n CounterPair counters = countersBySpot.get(submittedText.getSpotId());\n if (counters != null && Boolean.TRUE.equals(submittedText.getIsCorrect())) {\n counters.increment(row.getRated());\n }\n }\n });\n return countersBySpot;\n }\n\n private static Map toCounterDTOs(Map countersByComponent) {\n Map counterDTOs = HashMap.newHashMap(countersByComponent.size());\n countersByComponent.forEach((id, counters) -> counterDTOs.put(id, counters.toDto()));\n return counterDTOs;\n }\n\n private static final class CounterPair {\n\n private long rated;\n\n private long unrated;\n\n private void add(boolean ratedBucket, long value) {\n if (ratedBucket) {\n rated += value;\n }\n else {\n unrated += value;\n }\n }\n\n private void increment(boolean ratedBucket) {\n add(ratedBucket, 1);\n }\n\n private QuizStatisticCounterDTO toDto() {\n return QuizStatisticCounterDTO.of(rated, unrated);\n }\n }\n\n private static final class QuestionCounters {\n\n private long ratedParticipants;\n\n private long unratedParticipants;\n\n private long ratedCorrect;\n\n private long unratedCorrect;\n\n private void set(boolean ratedBucket, long participantCount, long correctCount) {\n if (ratedBucket) {\n ratedParticipants = participantCount;\n ratedCorrect = correctCount;\n }\n else {\n unratedParticipants = participantCount;\n unratedCorrect = correctCount;\n }\n }\n\n private void increment(boolean ratedBucket, boolean correct) {\n if (ratedBucket) {\n ratedParticipants++;\n if (correct) {\n ratedCorrect++;\n }\n }\n else {\n unratedParticipants++;\n if (correct) {\n unratedCorrect++;\n }\n }\n }\n\n private QuizQuestionStatisticDTO toDto(QuizQuestion question, Map componentStatistics) {\n return QuizQuestionStatisticDTO.of(question, ratedParticipants, unratedParticipants, ratedCorrect, unratedCorrect, componentStatistics);\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/116e5837be09029e550c9cb5de80e0619e744c88.json b/web/public/bundles/artemis/code/116e5837be09029e550c9cb5de80e0619e744c88.json new file mode 100644 index 00000000..06ac6d38 --- /dev/null +++ b/web/public/bundles/artemis/code/116e5837be09029e550c9cb5de80e0619e744c88.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "116e5837be09029e550c9cb5de80e0619e744c88", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/core/config/TheiaConfiguration.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.core.config;\n\nimport java.util.Map;\n\nimport org.springframework.boot.context.properties.ConfigurationProperties;\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Configuration;\nimport org.springframework.context.annotation.Lazy;\n\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingLanguage;\nimport de.tum.cit.aet.artemis.programming.theia.TheiaEnabled;\n\n@Conditional(TheiaEnabled.class)\n@Configuration\n@Lazy\n@ConfigurationProperties(prefix = \"artemis.theia\")\npublic class TheiaConfiguration {\n\n private Map> images;\n\n public void setImages(final Map> images) {\n this.images = images;\n }\n\n /**\n * Get the images for all languages\n *\n * @return a map of language -> [flavor/name -> image-link]\n */\n public Map> getImagesForAllLanguages() {\n return images;\n }\n\n /**\n * Get the images for a specific language\n *\n * @param language the language for which the images should be retrieved\n * @return a map of flavor/name -> image-link\n */\n public Map getImagesForLanguage(ProgrammingLanguage language) {\n return images.get(language);\n }\n\n}\n" +} diff --git a/web/public/bundles/artemis/code/117914ac92f86b3b485e34c179909f493de8393d.json b/web/public/bundles/artemis/code/117914ac92f86b3b485e34c179909f493de8393d.json new file mode 100644 index 00000000..0fdcda54 --- /dev/null +++ b/web/public/bundles/artemis/code/117914ac92f86b3b485e34c179909f493de8393d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "117914ac92f86b3b485e34c179909f493de8393d", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/text/dto/ExampleSubmissionDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.text.dto;\n\nimport java.io.Serializable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.assessment.domain.ExampleSubmission;\nimport de.tum.cit.aet.artemis.text.domain.TextSubmission;\n\n/**\n * Read DTO for an {@link ExampleSubmission} of a text exercise, as exposed on the single text-exercise detail endpoint.\n * Carries the example submission with its (example) results so the management UI can render and manage example submissions.\n *\n * @param id the example submission id\n * @param usedForTutorial whether this example submission is used for the tutorial\n * @param submission the example text submission (with its results)\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record ExampleSubmissionDTO(Long id, boolean usedForTutorial, TextSubmissionResponseDTO submission) implements Serializable {\n\n /**\n * Converts an {@link ExampleSubmission} into an {@link ExampleSubmissionDTO}.\n *\n * @param exampleSubmission the example submission to convert (may be {@code null})\n * @return the converted DTO, or {@code null} if the input was {@code null}\n */\n public static ExampleSubmissionDTO of(ExampleSubmission exampleSubmission) {\n if (exampleSubmission == null) {\n return null;\n }\n TextSubmissionResponseDTO submission = exampleSubmission.getSubmission() instanceof TextSubmission textSubmission ? TextSubmissionResponseDTO.of(textSubmission) : null;\n return new ExampleSubmissionDTO(exampleSubmission.getId(), exampleSubmission.isUsedForTutorial(), submission);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/11aad41b79c3876753a490fe61022a0a4ccb3d43.json b/web/public/bundles/artemis/code/11aad41b79c3876753a490fe61022a0a4ccb3d43.json new file mode 100644 index 00000000..caf33e7a --- /dev/null +++ b/web/public/bundles/artemis/code/11aad41b79c3876753a490fe61022a0a4ccb3d43.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "11aad41b79c3876753a490fe61022a0a4ccb3d43", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/buildagent/service/BuildAgentInformationService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.buildagent.service;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_BUILDAGENT;\n\nimport java.time.Duration;\nimport java.time.ZonedDateTime;\nimport java.util.List;\nimport java.util.Objects;\nimport java.util.function.UnaryOperator;\n\nimport jakarta.annotation.PreDestroy;\n\nimport org.slf4j.Logger;\nimport org.springframework.beans.factory.annotation.Value;\nimport org.springframework.boot.info.GitProperties;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.scheduling.annotation.Scheduled;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.buildagent.BuildAgentConfiguration;\nimport de.tum.cit.aet.artemis.buildagent.dto.BuildAgentDTO;\nimport de.tum.cit.aet.artemis.buildagent.dto.BuildAgentDetailsDTO;\nimport de.tum.cit.aet.artemis.buildagent.dto.BuildAgentInformation;\nimport de.tum.cit.aet.artemis.buildagent.dto.BuildAgentStatus;\nimport de.tum.cit.aet.artemis.buildagent.dto.BuildJobQueueItem;\nimport de.tum.cit.aet.artemis.buildagent.service.runner.BuildJobRunner;\nimport de.tum.cit.aet.artemis.buildagent.service.runner.BuildRunnerType;\nimport de.tum.cit.aet.artemis.localci.service.DistributedDataAccessService;\nimport de.tum.cit.aet.artemis.programming.domain.build.BuildStatus;\n\n@Profile(PROFILE_BUILDAGENT)\n@Lazy(false)\n@Service\npublic class BuildAgentInformationService {\n\n private static final Logger log = org.slf4j.LoggerFactory.getLogger(BuildAgentInformationService.class);\n\n private static final int DEFAULT_CONSECUTIVE_FAILURES = 0;\n\n private final BuildAgentConfiguration buildAgentConfiguration;\n\n /**\n * The Docker version running on this build agent.\n * Updated periodically by {@link #updateBuildRunnerStatus()} and included in build agent details.\n * Marked as volatile to ensure visibility across threads since it's updated by the scheduler\n * and read by request handling threads.\n */\n private volatile String dockerVersion;\n\n private volatile String buildRunnerVersion;\n\n private volatile boolean buildRunnerAvailable;\n\n private final BuildJobRunner buildJobRunner;\n\n private final BuildAgentSshKeyService buildAgentSSHKeyService;\n\n private final GitProperties gitProperties;\n\n private final DistributedDataAccessService distributedDataAccessService;\n\n @Value(\"${artemis.continuous-integration.build-agent.short-name}\")\n private String buildAgentShortName;\n\n @Value(\"${artemis.continuous-integration.build-agent.display-name:}\")\n private String buildAgentDisplayName;\n\n public BuildAgentInformationService(BuildAgentConfiguration buildAgentConfiguration, BuildAgentSshKeyService buildAgentSSHKeyService,\n DistributedDataAccessService distributedDataAccessService, GitProperties gitProperties, BuildJobRunner buildJobRunner) {\n this.buildAgentConfiguration = buildAgentConfiguration;\n this.buildAgentSSHKeyService = buildAgentSSHKeyService;\n this.gitProperties = gitProperties;\n this.distributedDataAccessService = distributedDataAccessService;\n this.buildJobRunner = buildJobRunner;\n }\n\n /**\n * Periodically checks whether the configured build runner is reachable and retrieves its version.\n *

\n * This method is scheduled to run:\n *

    \n *
  • 10 seconds after application startup (to avoid blocking startup)
  • \n *
  • Every 60 seconds thereafter (using fixedDelay to prevent overlap if the runner is slow to answer)
  • \n *
\n *

\n * For the Docker runner, availability is additionally published through {@link BuildAgentConfiguration#setDockerAvailable(boolean)}, which the rest of the agent uses to\n * decide whether it may accept builds. State transitions (available → unavailable and vice versa) are logged at WARN/INFO level; repeated failures log at DEBUG.\n * A refresh never changes the pause state of the agent: it republishes the pause state and consecutive failure count that are currently in the distributed map.\n */\n @Scheduled(initialDelayString = \"10000\", fixedDelayString = \"60000\")\n public void updateBuildRunnerStatus() {\n var status = buildJobRunner.status();\n boolean stateChanged = status.available() != buildRunnerAvailable;\n boolean versionChanged = status.available() && !Objects.equals(status.version(), buildRunnerVersion);\n\n if (buildJobRunner.type() == BuildRunnerType.DOCKER) {\n buildAgentConfiguration.setDockerAvailable(status.available());\n }\n\n if (status.available()) {\n if (stateChanged || versionChanged) {\n log.info(\"{} build runner is available (version: {})\", buildJobRunner.type().displayName(), status.version());\n }\n buildRunnerVersion = status.version();\n if (buildJobRunner.type() == BuildRunnerType.DOCKER) {\n dockerVersion = status.version();\n }\n }\n else if (buildRunnerAvailable) {\n log.warn(\"{} build runner is no longer available: {}\", buildJobRunner.type().displayName(), status.message());\n }\n else {\n log.debug(\"{} build runner is unavailable: {}\", buildJobRunner.type().displayName(), status.message());\n }\n buildRunnerAvailable = status.available();\n if (stateChanged || versionChanged) {\n // Read and republish the pause state under the same key lock as pause/resume updates. Otherwise a\n // refresh that read an active agent could overwrite a self-pause published before its later write.\n updateLocalBuildAgentInformation(currentInformation -> {\n boolean isPausedDueToFailures = currentInformation != null && currentInformation.status() == BuildAgentStatus.SELF_PAUSED;\n boolean isPaused = isPausedDueToFailures || (currentInformation != null && currentInformation.status() == BuildAgentStatus.PAUSED);\n int consecutiveFailures = currentInformation != null && currentInformation.buildAgentDetails() != null\n ? currentInformation.buildAgentDetails().consecutiveBuildFailures()\n : DEFAULT_CONSECUTIVE_FAILURES;\n return getUpdatedLocalBuildAgentInformation(currentInformation, null, isPaused, isPausedDueToFailures, consecutiveFailures);\n });\n }\n }\n\n /**\n * Returns the cached Docker version.\n * This version is periodically updated by {@link #updateBuildRunnerStatus()}.\n *\n * @return the Docker version string, or null if not yet retrieved or retrieval failed\n */\n public String getDockerVersion() {\n return dockerVersion;\n }\n\n public String getBuildRunnerVersion() {\n return buildRunnerVersion;\n }\n\n /**\n * Removes the build agent from the distributed map when the service is being destroyed.\n * This ensures proper cleanup when the build agent shuts down gracefully.\n */\n @PreDestroy\n public void removeLocalBuildAgentInformationOnShutdown() {\n try {\n if (distributedDataAccessService.isInstanceRunning()) {\n log.info(\"Build agent '{}' is shutting down. Removing from distributed build agent information map.\", buildAgentShortName);\n distributedDataAccessService.getDistributedBuildAgentInformation().remove(buildAgentShortName);\n log.info(\"Successfully removed build agent '{}' from distributed map.\", buildAgentShortName);\n }\n }\n catch (Exception e) {\n log.warn(\"Error while removing build agent information for '{}' during shutdown: {}\", buildAgentShortName, e.getMessage());\n }\n }\n\n public void updateLocalBuildAgentInformation(boolean isPaused) {\n updateLocalBuildAgentInformationWithRecentJob(null, isPaused, false, DEFAULT_CONSECUTIVE_FAILURES);\n }\n\n public void updateLocalBuildAgentInformation(boolean isPaused, boolean isPausedDueToFailures, int consecutiveFailures) {\n updateLocalBuildAgentInformationWithRecentJob(null, isPaused, isPausedDueToFailures, consecutiveFailures);\n }\n\n /**\n * Updates the local build agent information with the most recent build job.\n * Uses the build agent's short name as the map key for stable identification,\n * since the Hazelcast member address may change after initial client connection.\n *\n * @param recentBuildJob the most recent build job\n * @param isPaused whether the build agent is paused\n * @param isPausedDueToFailures whether the build agent is paused due to consecutive failures\n * @param consecutiveFailures number of consecutive build failures on the build agent\n */\n public void updateLocalBuildAgentInformationWithRecentJob(BuildJobQueueItem recentBuildJob, boolean isPaused, boolean isPausedDueToFailures, int consecutiveFailures) {\n updateLocalBuildAgentInformation(agent -> getUpdatedLocalBuildAgentInformation(agent, recentBuildJob, isPaused, isPausedDueToFailures, consecutiveFailures));\n }\n\n /** Applies an update to the current agent record while holding its distributed key lock. */\n private void updateLocalBuildAgentInformation(UnaryOperator update) {\n // Skip if not connected to cluster (happens when build agent starts before core nodes)\n if (!distributedDataAccessService.isConnectedToCluster()) {\n log.debug(\"Not connected to the distributed data provider yet. Skipping build agent information update.\");\n return;\n }\n\n // Guard against missing/blank buildAgentShortName to prevent key collisions or exceptions\n if (buildAgentShortName == null || buildAgentShortName.isBlank()) {\n log.error(\"Build agent short name is not configured. Cannot update build agent information.\");\n return;\n }\n\n // Use buildAgentShortName as the stable key - memberAddress can change after Hazelcast client connects\n String agentKey = buildAgentShortName;\n try {\n // Acquire lock before inner try block to ensure unlock() in finally only runs if lock() succeeded\n distributedDataAccessService.getDistributedBuildAgentInformation().lock(agentKey);\n try {\n // Add/update\n BuildAgentInformation info = update.apply(distributedDataAccessService.getDistributedBuildAgentInformation().get(agentKey));\n\n log.debug(\"Updating build agent info: key='{}', name='{}', memberAddress='{}', displayName='{}'\", agentKey, info.buildAgent().name(),\n info.buildAgent().memberAddress(), info.buildAgent().displayName());\n\n // Use the agent's short name as key for stable identification\n distributedDataAccessService.getDistributedBuildAgentInformation().put(agentKey, info);\n log.debug(\"Successfully stored build agent info with key '{}'. Current map size: {}\", agentKey,\n distributedDataAccessService.getDistributedBuildAgentInformation().size());\n }\n catch (Exception e) {\n log.error(\"Error while updating build agent information for agent {}\", agentKey, e);\n }\n finally {\n distributedDataAccessService.getDistributedBuildAgentInformation().unlock(agentKey);\n }\n }\n catch (Exception e) {\n // Lock acquisition failed (e.g., cluster disconnected) - log and continue\n log.error(\"Failed to acquire lock for build agent information update for agent {}\", agentKey, e);\n }\n }\n\n private BuildAgentInformation getUpdatedLocalBuildAgentInformation(BuildAgentInformation agent, BuildJobQueueItem recentBuildJob, boolean isPaused,\n boolean isPausedDueToFailures, int consecutiveFailures) {\n String memberAddress = distributedDataAccessService.getLocalMemberAddress();\n // Use buildAgentShortName for filtering instead of memberAddress, because Hazelcast client connections\n // use ephemeral ports that can change, causing memberAddress filtering to fail\n List processingJobsOfMember = getProcessingJobsOfNode(buildAgentShortName);\n int numberOfCurrentBuildJobs = processingJobsOfMember.size();\n int maxNumberOfConcurrentBuilds = buildAgentConfiguration.getBuildExecutor() != null ? buildAgentConfiguration.getBuildExecutor().getMaximumPoolSize()\n : buildAgentConfiguration.getThreadPoolSize();\n boolean hasJobs = numberOfCurrentBuildJobs > 0;\n BuildAgentStatus status;\n if (isPaused) {\n boolean isAlreadySelfPaused = agent != null && agent.status() == BuildAgentStatus.SELF_PAUSED;\n status = (isPausedDueToFailures || isAlreadySelfPaused) ? BuildAgentStatus.SELF_PAUSED : BuildAgentStatus.PAUSED;\n }\n else {\n status = hasJobs ? BuildAgentStatus.ACTIVE : BuildAgentStatus.IDLE;\n }\n String publicSshKey = buildAgentSSHKeyService.getPublicKeyAsString();\n\n BuildAgentDTO agentInfo = new BuildAgentDTO(buildAgentShortName, memberAddress, buildAgentDisplayName);\n\n BuildAgentDetailsDTO agentDetails = getBuildAgentDetails(agent, recentBuildJob, consecutiveFailures);\n\n int pauseAfterConsecutiveFailedJobs = buildAgentConfiguration.getPauseAfterConsecutiveFailedJobs();\n return new BuildAgentInformation(agentInfo, maxNumberOfConcurrentBuilds, numberOfCurrentBuildJobs, processingJobsOfMember, status, publicSshKey, agentDetails,\n pauseAfterConsecutiveFailedJobs);\n }\n\n private BuildAgentDetailsDTO getBuildAgentDetails(BuildAgentInformation agent, BuildJobQueueItem recentBuildJob, int consecutiveFailures) {\n var gitRevision = gitProperties.getShortCommitId();\n var lastBuildDate = getLastBuildDate(agent, recentBuildJob);\n var startDate = getStartDate(agent);\n var currentBuildDuration = getCurrentBuildDuration(recentBuildJob);\n var averageBuildDuration = getAverageBuildDuration(agent, currentBuildDuration);\n var totalsBuilds = getTotalBuilds(agent, recentBuildJob);\n var successfulBuilds = getSuccessfulBuilds(agent, recentBuildJob);\n var failedBuilds = getFailedBuilds(agent, recentBuildJob);\n var cancelledBuilds = getCancelledBuilds(agent, recentBuildJob);\n var timedOutBuilds = getTimedOutBuilds(agent, recentBuildJob);\n\n return new BuildAgentDetailsDTO(averageBuildDuration, successfulBuilds, failedBuilds, cancelledBuilds, timedOutBuilds, totalsBuilds, lastBuildDate, startDate, gitRevision,\n consecutiveFailures, dockerVersion, buildJobRunner.type().displayName(), buildRunnerVersion);\n }\n\n private ZonedDateTime getLastBuildDate(BuildAgentInformation agent, BuildJobQueueItem recentBuildJob) {\n return recentBuildJob != null ? recentBuildJob.jobTimingInfo().buildStartDate()\n : (agent != null && agent.buildAgentDetails() != null ? agent.buildAgentDetails().lastBuildDate() : null);\n }\n\n private ZonedDateTime getStartDate(BuildAgentInformation agent) {\n return agent != null && agent.buildAgentDetails() != null ? agent.buildAgentDetails().startDate() : ZonedDateTime.now();\n }\n\n private long getCurrentBuildDuration(BuildJobQueueItem recentBuildJob) {\n return recentBuildJob != null ? Duration.between(recentBuildJob.jobTimingInfo().buildStartDate(), recentBuildJob.jobTimingInfo().buildCompletionDate()).toSeconds() : 0;\n }\n\n private long getAverageBuildDuration(BuildAgentInformation agent, long currentBuildDuration) {\n if (agent == null || agent.buildAgentDetails() == null) {\n return currentBuildDuration;\n }\n else if (currentBuildDuration == 0) {\n return agent.buildAgentDetails().averageBuildDuration();\n }\n return (agent.buildAgentDetails().averageBuildDuration() * agent.buildAgentDetails().totalBuilds() + currentBuildDuration) / (agent.buildAgentDetails().totalBuilds() + 1);\n }\n\n private long getTotalBuilds(BuildAgentInformation agent, BuildJobQueueItem recentBuildJob) {\n return (agent != null && agent.buildAgentDetails() != null ? agent.buildAgentDetails().totalBuilds() : 0) + (recentBuildJob != null ? 1 : 0);\n }\n\n private long getSuccessfulBuilds(BuildAgentInformation agent, BuildJobQueueItem recentBuildJob) {\n return (agent != null && agent.buildAgentDetails() != null ? agent.buildAgentDetails().successfulBuilds() : 0)\n + (recentBuildJob != null && recentBuildJob.status() == BuildStatus.SUCCESSFUL ? 1 : 0);\n }\n\n private long getFailedBuilds(BuildAgentInformation agent, BuildJobQueueItem recentBuildJob) {\n return (agent != null && agent.buildAgentDetails() != null ? agent.buildAgentDetails().failedBuilds() : 0)\n + (recentBuildJob != null && recentBuildJob.status() == BuildStatus.FAILED ? 1 : 0);\n }\n\n private long getCancelledBuilds(BuildAgentInformation agent, BuildJobQueueItem recentBuildJob) {\n return (agent != null && agent.buildAgentDetails() != null ? agent.buildAgentDetails().cancelledBuilds() : 0)\n + (recentBuildJob != null && recentBuildJob.status() == BuildStatus.CANCELLED ? 1 : 0);\n }\n\n private long getTimedOutBuilds(BuildAgentInformation agent, BuildJobQueueItem recentBuildJob) {\n return (agent != null && agent.buildAgentDetails() != null ? agent.buildAgentDetails().timedOutBuild() : 0)\n + (recentBuildJob != null && recentBuildJob.status() == BuildStatus.TIMEOUT ? 1 : 0);\n }\n\n /**\n * Gets the processing jobs assigned to a specific build agent by its name.\n * Uses the agent's name (short-name) for filtering instead of memberAddress,\n * because Hazelcast client connections use ephemeral ports that can change.\n *\n * @param agentName the build agent's short name (stable identifier)\n * @return list of build jobs currently being processed by this agent\n */\n private List getProcessingJobsOfNode(String agentName) {\n return distributedDataAccessService.getProcessingJobs().stream().filter(job -> job.buildAgent() != null && Objects.equals(job.buildAgent().name(), agentName)).toList();\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/120e320c9020fb98d2f6de65f86294973af86209.json b/web/public/bundles/artemis/code/120e320c9020fb98d2f6de65f86294973af86209.json new file mode 100644 index 00000000..714ff81e --- /dev/null +++ b/web/public/bundles/artemis/code/120e320c9020fb98d2f6de65f86294973af86209.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "120e320c9020fb98d2f6de65f86294973af86209", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/dto/exercise/QuizExerciseForSearchDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.quiz.dto.exercise;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.exam.domain.Exam;\nimport de.tum.cit.aet.artemis.quiz.domain.QuizExercise;\n\n/**\n * DTO returned by the paged quiz exercise search backing the exercise import table.\n *

\n * Structure-preserving on the wire: exposes {@code id}, {@code title}, the polymorphic {@code type} discriminator\n * (\"quiz\", matching {@code Exercise}'s {@code @JsonTypeInfo}), and a nested course-title holder reachable via either\n * {@code course.title} (course exercises) or {@code exerciseGroup.exam.course.title} (exam exercises), matching what\n * the shared exercise import renderer consumes. It deliberately avoids any {@code @Entity} references and only carries\n * {@link Long}/{@link String} plus minimal nested DTO record holders.\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record QuizExerciseForSearchDTO(String type, Long id, String title, QuizSearchCourseDTO course, QuizSearchExerciseGroupDTO exerciseGroup) {\n\n /**\n * Polymorphic type discriminator matching {@code @JsonSubTypes} name for {@link QuizExercise} on {@code Exercise}.\n */\n private static final String TYPE = \"quiz\";\n\n /**\n * Maps a {@link QuizExercise} to a structure-preserving search DTO that exposes only the id, title and the\n * resolvable course title.\n *\n * @param quizExercise the quiz exercise to map\n * @return the corresponding search DTO\n */\n public static QuizExerciseForSearchDTO of(QuizExercise quizExercise) {\n if (quizExercise.isExamExercise()) {\n Exam exam = quizExercise.getExerciseGroup() != null ? quizExercise.getExerciseGroup().getExam() : null;\n Course course = exam != null ? exam.getCourse() : null;\n QuizSearchCourseDTO courseDTO = course != null ? new QuizSearchCourseDTO(course.getTitle()) : null;\n return new QuizExerciseForSearchDTO(TYPE, quizExercise.getId(), quizExercise.getTitle(), null,\n new QuizSearchExerciseGroupDTO(new QuizSearchExamDTO(exam != null ? exam.getTitle() : null, courseDTO)));\n }\n Course course = quizExercise.getCourseViaExerciseGroupOrCourseMember();\n return new QuizExerciseForSearchDTO(TYPE, quizExercise.getId(), quizExercise.getTitle(), course != null ? new QuizSearchCourseDTO(course.getTitle()) : null, null);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/12120d9986160193d762f51c050f778d95b0c7d6.json b/web/public/bundles/artemis/code/12120d9986160193d762f51c050f778d95b0c7d6.json new file mode 100644 index 00000000..ce07464d --- /dev/null +++ b/web/public/bundles/artemis/code/12120d9986160193d762f51c050f778d95b0c7d6.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "12120d9986160193d762f51c050f778d95b0c7d6", + "language": "typescript", + "path": "src/main/webapp/app/admin/lti-configuration/lti-configuration.route.ts", + "schema": "codexray.code/1", + "text": "import { Routes } from '@angular/router';\n\nimport { IS_AT_LEAST_ADMIN } from 'app/foundation/constants/authority.constants';\nimport { UserRouteAccessService } from 'app/core/auth/user-route-access-service';\n\nexport const ltiConfigurationRoute: Routes = [\n {\n path: 'lti-configuration',\n loadComponent: () => import('app/admin/lti-configuration/lti-configuration.component').then((m) => m.LtiConfigurationComponent),\n data: {\n pageTitle: 'global.menu.admin.lti',\n defaultSort: 'id,desc',\n usesModuleBackground: false,\n },\n },\n {\n path: 'lti-configuration',\n data: {\n pageTitle: 'global.menu.admin.lti',\n usesModuleBackground: false,\n },\n children: [\n {\n path: 'new',\n loadComponent: () => import('app/admin/lti-configuration/edit/edit-lti-configuration.component').then((m) => m.EditLtiConfigurationComponent),\n data: {\n authorities: IS_AT_LEAST_ADMIN,\n pageTitle: 'artemisApp.lti.addLtiPlatform',\n },\n canActivate: [UserRouteAccessService],\n },\n {\n path: ':platformId',\n data: {\n breadcrumbLabelVariable: 'platform.id',\n },\n children: [\n {\n path: 'edit',\n loadComponent: () => import('app/admin/lti-configuration/edit/edit-lti-configuration.component').then((m) => m.EditLtiConfigurationComponent),\n data: {\n authorities: IS_AT_LEAST_ADMIN,\n pageTitle: 'artemisApp.lti.editLtiPlatform',\n },\n canActivate: [UserRouteAccessService],\n },\n ],\n },\n ],\n },\n];\n" +} diff --git a/web/public/bundles/artemis/code/12f70da5c39f8e92b41e2a60f217df4474a83969.json b/web/public/bundles/artemis/code/12f70da5c39f8e92b41e2a60f217df4474a83969.json new file mode 100644 index 00000000..0b3115fd --- /dev/null +++ b/web/public/bundles/artemis/code/12f70da5c39f8e92b41e2a60f217df4474a83969.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "12f70da5c39f8e92b41e2a60f217df4474a83969", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/repository/UserSshPublicKeyRepository.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.programming.repository;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\n\nimport java.time.ZonedDateTime;\nimport java.util.List;\nimport java.util.Optional;\n\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.data.jpa.repository.Modifying;\nimport org.springframework.stereotype.Repository;\nimport org.springframework.transaction.annotation.Transactional;\n\nimport de.tum.cit.aet.artemis.account.repository.UserCreationLockRepository;\nimport de.tum.cit.aet.artemis.core.exception.BadRequestAlertException;\nimport de.tum.cit.aet.artemis.core.repository.base.ArtemisJpaRepository;\nimport de.tum.cit.aet.artemis.programming.domain.UserSshPublicKey;\n\n@Profile(PROFILE_CORE)\n@Lazy\n@Repository\npublic interface UserSshPublicKeyRepository extends ArtemisJpaRepository, UserCreationLockRepository {\n\n List findAllByUserId(Long userId);\n\n long countByUserId(Long userId);\n\n Optional findByKeyHash(String keyHash);\n\n Optional findByIdAndUserId(Long keyId, Long userId);\n\n List findByExpiryDateBetween(ZonedDateTime from, ZonedDateTime to);\n\n boolean existsByIdAndUserId(Long id, Long userId);\n\n /**\n * Counts and inserts under the user's row lock so concurrent requests on any node share the same limit.\n *\n * @param key the new SSH public key\n * @param maximumKeys the maximum number of keys for the user\n * @return the persisted key\n */\n @Transactional\n default UserSshPublicKey saveWithUserLimit(UserSshPublicKey key, int maximumKeys) {\n lockUserForCreation(key.getUserId());\n if (countByUserId(key.getUserId()) >= maximumKeys) {\n throw new BadRequestAlertException(\"The maximum number of \" + maximumKeys + \" keys is reached\", \"SSH key\", \"tooManyKeys\", true);\n }\n return save(key);\n }\n\n @Transactional // ok because of delete\n @Modifying\n void deleteAllByUserId(Long userId);\n}\n" +} diff --git a/web/public/bundles/artemis/code/137a4bd8fb8a3846df2f4ac3867b12c670894c8a.json b/web/public/bundles/artemis/code/137a4bd8fb8a3846df2f4ac3867b12c670894c8a.json new file mode 100644 index 00000000..8a72d601 --- /dev/null +++ b/web/public/bundles/artemis/code/137a4bd8fb8a3846df2f4ac3867b12c670894c8a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "137a4bd8fb8a3846df2f4ac3867b12c670894c8a", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/dto/CompetencyDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.lecture.dto;\n\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.atlas.domain.competency.CourseCompetency;\n\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\n@JsonIgnoreProperties(ignoreUnknown = true)\npublic record CompetencyDTO(long id, String title) {\n\n public static CompetencyDTO of(CourseCompetency competency) {\n return new CompetencyDTO(competency.getId(), competency.getTitle());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/138e4f93958849b1edf05122b6778e2b0dda5b57.json b/web/public/bundles/artemis/code/138e4f93958849b1edf05122b6778e2b0dda5b57.json new file mode 100644 index 00000000..ce14ae67 --- /dev/null +++ b/web/public/bundles/artemis/code/138e4f93958849b1edf05122b6778e2b0dda5b57.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "138e4f93958849b1edf05122b6778e2b0dda5b57", + "language": "typescript", + "path": "src/main/webapp/app/lecture/manage/services/lecture.service.ts", + "schema": "codexray.code/1", + "text": "import { Service, inject } from '@angular/core';\nimport { Observable } from 'rxjs';\nimport { map, tap } from 'rxjs/operators';\nimport { Lecture } from 'app/lecture/shared/entities/lecture.model';\nimport { LectureForOverview } from 'app/lecture/shared/entities/lecture-for-overview.model';\nimport { AccountService } from 'app/core/auth/account.service';\nimport { EntityTitleService, EntityType } from 'app/core/navbar/entity-title.service';\nimport { LectureApi } from 'app/openapi/api/lecture-api';\nimport type { SimpleLecture } from 'app/openapi/model/simple-lecture';\nimport type { GetLectures } from 'app/openapi/model/get-lectures';\nimport { toLecture, toLectureForOverview, toSimpleLectureRequest } from 'app/lecture/shared/util/generated-lecture.util';\n\n@Service()\nexport class LectureService {\n private readonly lectureApi = inject(LectureApi);\n private accountService = inject(AccountService);\n private entityTitleService = inject(EntityTitleService);\n\n currentTutorialLectureId: number | undefined = undefined;\n\n create(lecture: Lecture): Observable {\n return this.lectureApi.createLecture(toSimpleLectureRequest(lecture)).pipe(map(toLecture));\n }\n\n update(lecture: Lecture): Observable {\n return this.lectureApi.updateLecture(toSimpleLectureRequest(lecture)).pipe(\n map(toLecture),\n // The editor stays open after saving, so the breadcrumb and the page title have to show a new title right away.\n tap((updated) => this.sendTitlesToEntityTitleService(updated)),\n );\n }\n\n find(lectureId: number): Observable {\n return this.lectureApi.getLecture(lectureId).pipe(\n map(toLecture),\n tap((lecture) => this.setAccessRightsAndTitle(lecture)),\n );\n }\n\n findWithDetails(lectureId: number): Observable {\n return this.lectureApi.getLectureWithDetails(lectureId).pipe(\n map((details) => {\n const lecture = toLecture(details);\n // insert an empty list to avoid additional calls in case the list is empty on the server (because then it would be undefined in the client)\n lecture.posts ??= [];\n return lecture;\n }),\n tap((lecture) => this.setAccessRightsAndTitle(lecture)),\n );\n }\n\n findAllByCourseId(courseId: number): Observable {\n return this.lectureApi.getLecturesForCourse(courseId).pipe(map((lectures) => this.toLecturesWithAccessRightsAndTitles(lectures)));\n }\n\n /**\n * Fetches the lectures of a course for the student course overview: the sidebar fields only, without attachments\n * or lecture units, which are loaded when a single lecture is opened.\n * These used to arrive as part of the course itself, which made every course visit pay for them.\n * @param courseId the course to fetch the lectures for\n */\n findAllByCourseIdForOverview(courseId: number): Observable {\n return this.lectureApi.getLecturesForCourseOverview(courseId).pipe(\n map((lectures) => lectures.map(toLectureForOverview)),\n tap((lectures) => lectures.forEach((lecture) => this.entityTitleService.setTitle(EntityType.LECTURE, [lecture.id], lecture.title))),\n );\n }\n\n findAllTutorialLecturesByCourseId(courseId: number): Observable {\n return this.lectureApi.getTutorialLecturesForCourse(courseId).pipe(map((lectures) => this.toLecturesWithAccessRightsAndTitles(lectures)));\n }\n\n // only loads attachment units, no other units\n findAllByCourseIdWithSlides(courseId: number): Observable {\n return this.lectureApi.getLecturesWithSlidesForCourse(courseId).pipe(map((lectures) => this.toLecturesWithAccessRightsAndTitles(lectures)));\n }\n\n /**\n * Clones and imports the lecture to the course\n *\n * @param courseId Course to import the lecture into\n * @param lectureId Lecture to be cloned and imported\n */\n import(courseId: number, lectureId: number): Observable {\n return this.lectureApi.importLecture(lectureId, courseId).pipe(\n map(toLecture),\n tap((lecture) => this.setAccessRightsAndTitle(lecture)),\n );\n }\n\n private toLecturesWithAccessRightsAndTitles(generatedLectures: (SimpleLecture | GetLectures)[]): Lecture[] {\n const lectures = generatedLectures.map(toLecture);\n lectures.forEach((lecture) => this.setAccessRightsAndTitle(lecture));\n return lectures;\n }\n\n private setAccessRightsAndTitle(lecture: Lecture) {\n this.setAccessRightsLecture(lecture);\n this.sendTitlesToEntityTitleService(lecture);\n }\n\n /**\n * Besides the within the lecture included variables for access rights the access rights of the\n * respective course are set as well.\n *\n * @param lecture for which the access rights shall be set\n */\n private setAccessRightsLecture(lecture: Lecture) {\n if (lecture.course) {\n this.accountService.setAccessRightsForCourse(lecture.course);\n lecture.isAtLeastEditor = lecture.course.isAtLeastEditor;\n lecture.isAtLeastInstructor = lecture.course.isAtLeastInstructor;\n }\n }\n\n private sendTitlesToEntityTitleService(lecture: Lecture) {\n this.entityTitleService.setTitle(EntityType.LECTURE, [lecture.id], lecture.title);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/13b508ff4996bd9bf91f65d6ab377e76f96af031.json b/web/public/bundles/artemis/code/13b508ff4996bd9bf91f65d6ab377e76f96af031.json new file mode 100644 index 00000000..76cbb99e --- /dev/null +++ b/web/public/bundles/artemis/code/13b508ff4996bd9bf91f65d6ab377e76f96af031.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "13b508ff4996bd9bf91f65d6ab377e76f96af031", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/domain/ModelingExercise.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.modeling.domain;\n\nimport static de.tum.cit.aet.artemis.exercise.domain.ExerciseType.MODELING;\n\nimport jakarta.persistence.Column;\nimport jakarta.persistence.DiscriminatorValue;\nimport jakarta.persistence.Entity;\nimport jakarta.persistence.EnumType;\nimport jakarta.persistence.Enumerated;\nimport jakarta.persistence.SecondaryTable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.exercise.domain.Exercise;\nimport de.tum.cit.aet.artemis.exercise.domain.ExerciseType;\n\n/**\n * A ModelingExercise.\n */\n@Entity\n@DiscriminatorValue(value = \"M\")\n@SecondaryTable(name = \"model_exercise_details\")\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic class ModelingExercise extends Exercise {\n\n // used to distinguish the type when used in collections (e.g. SearchResultPageDTO --> resultsOnPage)\n @Override\n public String getType() {\n return \"modeling\";\n }\n\n // TODO: move to secondary table\n @Enumerated(EnumType.STRING)\n @Column(name = \"diagram_type\")\n private DiagramType diagramType;\n\n // TODO: move to secondary table\n @Column(name = \"example_solution_model\")\n private String exampleSolutionModel;\n\n // TODO: move to secondary table\n @Column(name = \"example_solution_explanation\")\n private String exampleSolutionExplanation;\n\n public DiagramType getDiagramType() {\n return diagramType;\n }\n\n public void setDiagramType(DiagramType diagramType) {\n this.diagramType = diagramType;\n }\n\n public String getExampleSolutionModel() {\n return exampleSolutionModel;\n }\n\n public void setExampleSolutionModel(String exampleSolutionModel) {\n this.exampleSolutionModel = exampleSolutionModel;\n }\n\n public String getExampleSolutionExplanation() {\n return exampleSolutionExplanation;\n }\n\n public void setExampleSolutionExplanation(String exampleSolutionExplanation) {\n this.exampleSolutionExplanation = exampleSolutionExplanation;\n }\n\n /**\n * set all sensitive information to null, so no info with respect to the solution gets leaked to students through json\n */\n @Override\n public void filterSensitiveInformation() {\n if (!isExampleSolutionPublished()) {\n setExampleSolutionModel(null);\n setExampleSolutionExplanation(null);\n }\n super.filterSensitiveInformation();\n }\n\n @Override\n public ExerciseType getExerciseType() {\n return MODELING;\n }\n\n @Override\n public String toString() {\n return \"ModelingExercise{\" + \"id=\" + getId() + \", maxPoints='\" + getMaxPoints() + \"'\" + \", diagramType='\" + getDiagramType() + \"'\" + \", exampleSolutionModel='\"\n + getExampleSolutionModel() + \"'\" + \", exampleSolutionExplanation='\" + getExampleSolutionExplanation() + \"'\" + \"}\";\n }\n\n}\n" +} diff --git a/web/public/bundles/artemis/code/13d3527b903ba4ef134c66b44caa96b2e2530e01.json b/web/public/bundles/artemis/code/13d3527b903ba4ef134c66b44caa96b2e2530e01.json new file mode 100644 index 00000000..8401b546 --- /dev/null +++ b/web/public/bundles/artemis/code/13d3527b903ba4ef134c66b44caa96b2e2530e01.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "13d3527b903ba4ef134c66b44caa96b2e2530e01", + "language": "typescript", + "path": "src/main/webapp/app/core/navbar/global-search/services/global-search-filter.service.ts", + "schema": "codexray.code/1", + "text": "import { DestroyRef, Injectable, Signal, WritableSignal, computed, effect, inject, signal } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { take } from 'rxjs/operators';\nimport { TranslateService } from '@ngx-translate/core';\nimport { CourseStorageService } from 'app/course/manage/services/course-storage.service';\nimport { FilterChipView, FilterMenuOption } from '../models/search-menu.model';\nimport { MenuCourse, buildFilterMenuOptions, toChipView } from '../models/search-menu.util';\nimport { SearchCourseOptionsService } from './search-course-options.service';\nimport { SearchEntityType } from '../models/searchable-entity.model';\nimport { FilterToken, TypeFacetValue } from '../models/search-token.model';\nimport { TYPE_FACETS, TYPE_FACET_ORDER } from '../models/facet-catalog';\nimport {\n addOrToggleToken,\n dropIncompatibleTokens,\n excludedCourseIds,\n excludedTypeTokens,\n expandTypeTokens,\n hasContentTypeToken,\n removeTokenAt,\n selectedCourseIds,\n} from '../models/search-token.util';\nimport { IrisSearchAvailabilityService } from './iris-search-availability.service';\nimport { appendOperator, parseOperator, stripOperator } from '../models/search-operator.util';\n\n/**\n * Side-effect callbacks the host component wires into the filter store so the store can stay free of the\n * search pipeline and DOM: {@link FilterSideEffects.applyTokens} commits a new token set through the\n * component's search pipeline (loading skeleton + debounced request), {@link FilterSideEffects.requestFocus}\n * returns focus to the search input, and {@link FilterSideEffects.exitFilterMenu} leaves the filter surface\n * altogether once there is no level left to step back to.\n */\nexport interface FilterSideEffects {\n applyTokens: (tokens: FilterToken[]) => void;\n requestFocus: () => void;\n /**\n * Leaves the filter surface entirely. Only the host knows what sits behind the menu, so it decides\n * whether to reveal the pane underneath or close the overlay when the menu was the home screen.\n */\n exitFilterMenu: () => void;\n /** Re-runs the search for the current text without changing the filters (used when a literal search is accepted). */\n refreshSearch: () => void;\n}\n\n/**\n * Owns the global-search filter composition: the active filter tokens (chips), the typed `facet:` value menu,\n * the guided picker, and the chip-edit flow. Extracted from {@link GlobalSearchModalComponent} so the component\n * stays a thin view over the search pipeline, keyboard navigation, results, and overlay lifecycle.\n *

\n * The store never runs a search or touches the DOM itself; it calls back into the host via {@link FilterSideEffects}\n * at the exact points the component previously inlined those effects, so behaviour is unchanged. Provided at the\n * component level (one store per modal instance).\n */\n@Injectable()\nexport class GlobalSearchFilterService {\n private readonly courseStorageService = inject(CourseStorageService);\n private readonly courseOptionsService = inject(SearchCourseOptionsService);\n private readonly translateService = inject(TranslateService);\n private readonly destroyRef = inject(DestroyRef);\n private readonly availability = inject(IrisSearchAvailabilityService);\n\n /** The courses the server says this user can filter by, once read. Empty until a course menu is first opened. */\n private readonly fetchedCourses: WritableSignal = signal([]);\n /** Whether that read is in flight, so an empty menu can say \"loading\" rather than \"you have no courses\". */\n private readonly coursesLoading: WritableSignal = signal(false);\n private courseFetchStarted = false;\n /** The user generation the cached list was read for, so it can be dropped when the user changes. */\n private loadedCourseGeneration = 0;\n\n /** The current text in the search input (may be a `facet:` operator being typed). */\n readonly searchQuery: WritableSignal = signal('');\n /** Single source of truth for the active filters. Each token is one chip. */\n readonly tokens: WritableSignal = signal([]);\n /** Keyboard-selected chip index (-1 = none selected). */\n readonly selectedChip: WritableSignal = signal(-1);\n /** Highlighted option in the value menu. */\n readonly menuActiveIndex: WritableSignal = signal(0);\n /** Guided filter picker (Cmd/Ctrl+F): open when the user requests the facet chooser without typing an operator. */\n readonly filterPickerOpen: WritableSignal = signal(false);\n /** Index of the chip currently being re-picked (tapped to change its value), or -1 when not editing. */\n readonly editingChip: WritableSignal = signal(-1);\n /** Whether the guided picker is showing its exclude level. Held as state, not as a \"-\" typed into the input. */\n readonly excludeMode: WritableSignal = signal(false);\n /**\n * Input text the user accepted as a literal search from the dead-end row. While the input still starts\n * with it, the trailing `facet:` is read as ordinary text rather than as an operator, so typing on past\n * the accepted point does not reopen the menu.\n */\n private readonly literalFrom: WritableSignal = signal(undefined);\n\n // Query params derived from the tokens and sent to the server.\n readonly typesParam: Signal = computed(() => expandTypeTokens(this.tokens()));\n /** Types the user chose to hide, sent under their own name rather than folded into {@link typesParam}. */\n readonly excludeTypesParam: Signal = computed(() => excludedTypeTokens(this.tokens()));\n readonly courseIdsParam: Signal = computed(() => selectedCourseIds(this.tokens()));\n readonly excludeCourseIdsParam: Signal = computed(() => excludedCourseIds(this.tokens()));\n // Server types for the currently included type facets (drives the navigation view's active cards).\n readonly activeFilters: Signal = computed(() => [\n ...new Set(\n this.tokens()\n .filter((token) => token.facet === 'type' && !token.negate)\n .flatMap((token) => TYPE_FACETS[token.value as TypeFacetValue]?.serverTypes ?? []),\n ),\n ]);\n /**\n * True while the slides and videos filter is active. That filter reads the Iris slide and transcript\n * collections, so the host sends the search there instead of to the metadata endpoint.\n */\n readonly contentSearchActive: Signal = computed(() => hasContentTypeToken(this.tokens()));\n // Fully-resolved chip view-models handed to the search-input for rendering.\n readonly chips: Signal = computed(() =>\n this.tokens().map((token, index) =>\n toChipView(\n token,\n index,\n this.selectedChip(),\n (key, params) => this.translateService.instant(key, params),\n // The menu offers courses from the fetched list, so a chip picked by name there must be\n // nameable here too. The store stays as a second source: it can hold a course the dropdown\n // read does not return, and dropping it would trade one numeric fallback for another.\n (id) => this.availableCourses().find((course) => course.id === id)?.title ?? this.courseStorageService.getCourse(id)?.title,\n ),\n ),\n );\n /** True while the input still holds a `facet:` the user explicitly chose to search for verbatim. */\n readonly literalAccepted: Signal = computed(() => {\n const from = this.literalFrom();\n return from !== undefined && this.searchQuery().startsWith(from);\n });\n // The `facet:` operator being typed (drives the value menu + operator colouring), if any. One inside text the\n // user accepted as a literal search is text, which is what closes the menu on that choice; one opened after\n // the accepted text (a chip click, or a freshly typed `facet:`) is live, so a literal can still be filtered.\n readonly operator = computed(() => {\n const op = parseOperator(this.searchQuery());\n const literalLength = this.literalAccepted() ? (this.literalFrom()?.length ?? 0) : 0;\n return op && op.start >= literalLength ? op : undefined;\n });\n /**\n * The text sent to the server: everything before a trailing operator, or the whole input. Because it is\n * independent of the operator, the results for the query keep updating behind an open filter menu.\n */\n readonly searchText: Signal = computed(() => {\n const op = this.operator();\n return (op ? op.text : this.searchQuery()).trim();\n });\n // Options for the value menu, derived from the current operator + its query.\n readonly menuOptions: Signal = computed(() =>\n buildFilterMenuOptions({\n operator: this.operator(),\n pickerOpen: this.filterPickerOpen(),\n excludeMode: this.excludeMode(),\n searchQuery: this.searchQuery(),\n tokens: this.tokens(),\n editingChip: this.editingChip(),\n courses: () => this.availableCourses(),\n contentSearchAvailable: this.availability.contentSearchAvailable(),\n translate: (key, params) => this.translateService.instant(key, params),\n }),\n );\n /**\n * Why the menu is empty, when it is, or undefined when it has something to show.\n *

\n * An empty list is only ever reached through a case the menu decided on purpose: nothing left to offer, or a\n * refusal. Rendering all of them as a bare \"No matches\" made a deliberate decision indistinguishable from a\n * failure, which is exactly how the missing course list read.\n */\n readonly emptyMenuReasonKey: Signal = computed(() => {\n const op = this.operator();\n if (!op || this.menuOptions().length > 0) {\n return undefined;\n }\n if (op.facet === 'course') {\n if (this.coursesLoading()) {\n return 'global.search.loadingCourses';\n }\n return this.availableCourses().length === 0 ? 'global.search.noCoursesToFilter' : 'global.search.allCoursesFiltered';\n }\n // Excluding the last remaining type is refused rather than offered, so that empty list has its own reason.\n return op.negate ? 'global.search.cannotExcludeEveryType' : 'global.search.allTypesFiltered';\n });\n // True when the typed operator value exactly matches a known type / course, so the value text is\n // coloured as a confirmed filter (e.g. `type:course` turns blue once \"course\" is complete).\n readonly operatorValueValid: Signal = computed(() => {\n const op = this.operator();\n const value = op?.query.trim().toLowerCase();\n if (!op || !value) {\n return false;\n }\n if (op.facet === 'type') {\n return TYPE_FACET_ORDER.some((facetValue) => facetValue === value || this.translateService.instant(TYPE_FACETS[facetValue].labelKey).toLowerCase() === value);\n }\n // Read both sources for the same reason the chip label does: the fetched list can omit a course the\n // page already stored, and the store can omit one only the fetched list knows. Checking one alone\n // rejects a title the course menu itself just offered.\n const matchesTitle = (title: string | undefined) => (title ?? '').toLowerCase() === value;\n return this.availableCourses().some((course) => matchesTitle(course.title)) || this.courseStorageService.getCourses().some((course) => matchesTitle(course.title));\n });\n // Whether the menu panel (value menu or filter picker) should be shown.\n readonly filterMenuOpen: Signal = computed(() => !!this.operator() || this.filterPickerOpen());\n /**\n * A typed value that matches no known value: the menu collapses to the single literal-search row. This is\n * not the same as an exhausted list (every value already applied), which keeps its way back.\n */\n readonly deadEnd: Signal = computed(() => this.menuOptions().some((option) => option.action.kind === 'literal'));\n /** Message replacing the menu header at a dead end, naming what the user typed. */\n readonly deadEndMessage: Signal<{ key: string; value: string } | undefined> = computed(() => {\n const op = this.operator();\n if (!op || !this.deadEnd()) {\n return undefined;\n }\n // \"not one of your courses\" rather than \"not a course\": a course by that name may well exist and\n // simply not be visible to this user, and the flatter phrasing would be a small lie.\n return { key: op.facet === 'type' ? 'global.search.notAType' : 'global.search.notYourCourse', value: op.query.trim() };\n });\n /**\n * Whether the menu can step back a level: from a value menu to the level it was opened from, or from the\n * exclude level to the root. Deliberately not conditional on the picker having been opened: the root picker\n * is the home screen, so it is always a valid place for a value menu to return to, including one the user\n * typed by hand. Without that, Escape on a hand-typed operator with nothing behind it closed the whole\n * palette mid-composition. A dead end has no level behind it, so it offers the literal search instead.\n */\n readonly canGoBack: Signal = computed(() => (!!this.operator() || this.excludeMode()) && !this.deadEnd());\n\n constructor() {\n // Read the course list the first time a course value menu is actually opened, rather than when the palette is\n // constructed: a session that never filters by course never pays for the request. The list belongs to the user\n // it was read for, so a change of account discards it before the next open rather than offering the previous\n // user's courses.\n effect(() => {\n const generation = this.courseOptionsService.generation();\n if (generation !== this.loadedCourseGeneration) {\n this.loadedCourseGeneration = generation;\n this.courseFetchStarted = false;\n this.fetchedCourses.set([]);\n }\n if (this.operator()?.facet === 'course') {\n this.loadCoursesOnce();\n }\n });\n }\n\n /**\n * The courses the value menu offers: the server's list once it has arrived, otherwise whatever the client course\n * store already holds. Falling back rather than waiting keeps the menu no emptier than it was before, so the first\n * open on the student dashboard is served from the store while the request is still in flight.\n */\n private availableCourses(): MenuCourse[] {\n const fetched = this.fetchedCourses();\n return fetched.length > 0 ? fetched : this.courseStorageService.getCourses();\n }\n\n /** Issues the course read at most once per palette; the service behind it shares one request per session. */\n private loadCoursesOnce(): void {\n if (this.courseFetchStarted) {\n return;\n }\n this.courseFetchStarted = true;\n const generation = this.courseOptionsService.generation();\n this.coursesLoading.set(true);\n this.courseOptionsService\n .getCourses()\n .pipe(take(1), takeUntilDestroyed(this.destroyRef))\n .subscribe({\n // The service degrades a failed read to an empty list, so both arms only have to release the flag.\n next: (courses) => {\n // A response that outlived the user it was requested for must not repopulate the menu for\n // whoever signed in next; that arrival would otherwise undo the reset above.\n if (generation !== this.courseOptionsService.generation()) {\n return;\n }\n this.fetchedCourses.set(courses);\n this.coursesLoading.set(false);\n },\n error: () => this.coursesLoading.set(false),\n });\n }\n\n private sideEffects: FilterSideEffects = {\n applyTokens: () => {},\n requestFocus: () => {},\n exitFilterMenu: () => {},\n refreshSearch: () => {},\n };\n\n /** Wires the host component's search-pipeline, focus, and menu-exit side-effects. Called once, from the component constructor. */\n configure(sideEffects: FilterSideEffects): void {\n this.sideEffects = sideEffects;\n }\n\n /** Resets all filter composition state (called when the modal closes). Does not run a search. */\n reset(): void {\n this.searchQuery.set('');\n this.tokens.set([]);\n this.selectedChip.set(-1);\n this.filterPickerOpen.set(false);\n this.editingChip.set(-1);\n this.menuActiveIndex.set(0);\n this.excludeMode.set(false);\n this.literalFrom.set(undefined);\n }\n\n /** Applies the chosen menu option: a picker action injects an operator; a value adds / replaces a filter. */\n onOptionSelected(index: number): void {\n const option = this.menuOptions()[index];\n if (!option) {\n return;\n }\n if (option.action.kind === 'excludeStep') {\n // Step into the exclude level without touching the input; the picker stays open.\n this.excludeMode.set(true);\n this.menuActiveIndex.set(0);\n this.sideEffects.requestFocus();\n return;\n }\n if (option.action.kind === 'operator') {\n // Guided picker: append the operator prefix and open the value menu. The picker stays \"open\" through\n // the flow so the value menu can offer a step back to the previous level.\n this.appendPrefix(option.action.prefix);\n return;\n }\n if (option.action.kind === 'literal') {\n this.acceptLiteral();\n return;\n }\n if (option.action.kind === 'clearValue') {\n // Keep the facet, drop the value that matched nothing, so the full list comes back.\n const active = this.operator();\n if (active) {\n this.searchQuery.set(this.searchQuery().slice(0, active.start + active.prefix.length));\n }\n this.menuActiveIndex.set(0);\n this.sideEffects.requestFocus();\n return;\n }\n const op = this.operator();\n if (!op) {\n return;\n }\n const newToken: FilterToken = { facet: op.facet, value: option.action.value, negate: op.negate };\n const editing = this.editingChip();\n this.editingChip.set(-1);\n // Only the operator leaves the input; whatever the user was searching for stays exactly as typed.\n this.searchQuery.set(this.withoutOperator());\n this.filterPickerOpen.set(false);\n this.excludeMode.set(false);\n this.sideEffects.requestFocus();\n if (editing >= 0) {\n // Re-picking a chip: replace it in place so it keeps its position (the edit menu never offers a\n // value already applied elsewhere, so this can't create a duplicate). The compatibility rule still\n // applies: editing a type chip into the slides and videos one (or back) drops the chips it rules out,\n // which would otherwise stay visible next to a search that ignores them.\n const replaced = this.tokens().map((token, index) => (index === editing ? newToken : token));\n this.sideEffects.applyTokens(dropIncompatibleTokens(replaced, newToken));\n return;\n }\n this.sideEffects.applyTokens(addOrToggleToken(this.tokens(), newToken));\n }\n\n onOptionHovered(index: number): void {\n this.menuActiveIndex.set(index);\n }\n\n /** Steps one level back: an exclude value menu returns to the exclude chooser, everything else to the root. */\n back(): void {\n const op = this.operator();\n this.searchQuery.set(this.withoutOperator());\n this.excludeMode.set(!!op?.negate);\n this.filterPickerOpen.set(true);\n this.editingChip.set(-1);\n this.menuActiveIndex.set(0);\n this.sideEffects.requestFocus();\n }\n\n /**\n * Abandons the operator reading of the input and searches for the raw text instead. Chosen from the\n * dead-end row, or by pressing Escape there, where \"cancel\" cannot mean deleting text the user typed.\n */\n private acceptLiteral(): void {\n this.rememberLiteral();\n this.filterPickerOpen.set(false);\n this.excludeMode.set(false);\n this.editingChip.set(-1);\n this.menuActiveIndex.set(0);\n this.sideEffects.requestFocus();\n this.sideEffects.refreshSearch();\n }\n\n /**\n * Clears the way for a level change without destroying anything the user typed. A half-typed operator is\n * text they can retype from the menu, so it goes; a value that matches nothing is not an operator at all,\n * so it is kept and reinterpreted as literal search text rather than silently deleted.\n */\n private dropOperatorWithoutLosingText(): void {\n if (this.deadEnd()) {\n this.rememberLiteral();\n this.sideEffects.refreshSearch();\n return;\n }\n this.searchQuery.set(this.withoutOperator());\n }\n\n /**\n * Marks the current input as accepted literal text. Trailing whitespace is left out of the marker, because\n * appending an operator trims it off the input and the marker would otherwise stop matching.\n */\n private rememberLiteral(): void {\n this.literalFrom.set(this.searchQuery().replace(/\\s+$/, ''));\n }\n\n /**\n * The input without the live operator. Only the operator the store recognises is removed: the raw input may\n * also end in a `facet:` that belongs to an accepted literal, and that one is text.\n */\n private withoutOperator(): string {\n return this.operator() ? stripOperator(this.searchQuery()) : this.searchQuery();\n }\n\n /**\n * Replaces whatever operator is pending with the given prefix, keeping the search text in front of it. Only\n * one operator can be pending, so a second is never stacked behind the first: stacking them turned every\n * earlier operator into search text. A value that matches nothing is not an operator and stays as text.\n *

\n * Whether the pending value is a dead end depends on which chip is being edited, because the menu offers\n * that chip's own value. Callers that move the edited chip therefore call this first and move the chip after.\n */\n private appendPrefix(prefix: string): void {\n this.dropOperatorWithoutLosingText();\n this.searchQuery.set(appendOperator(this.searchQuery(), prefix));\n this.excludeMode.set(false);\n this.menuActiveIndex.set(0);\n this.sideEffects.requestFocus();\n }\n\n /** Handles keyboard navigation while the value menu is open. */\n handleMenuKey(event: KeyboardEvent): void {\n const count = this.menuOptions().length;\n switch (event.key) {\n case 'ArrowDown':\n event.preventDefault();\n if (count) {\n this.menuActiveIndex.update((i) => Math.min(i + 1, count - 1));\n }\n break;\n case 'ArrowUp':\n event.preventDefault();\n if (count) {\n this.menuActiveIndex.update((i) => Math.max(i - 1, 0));\n }\n break;\n case 'Enter':\n case 'Tab':\n event.preventDefault();\n if (count) {\n this.onOptionSelected(this.menuActiveIndex());\n }\n break;\n case 'Escape':\n event.preventDefault();\n if (this.deadEnd()) {\n // Not a filter, so there is no level to step back to, and cancel must not eat text the user\n // typed as a search term. Escape means the same as the literal row here.\n this.acceptLiteral();\n break;\n }\n if (this.canGoBack()) {\n // In a value menu or the exclude level: step back one level instead of leaving the menu.\n this.back();\n break;\n }\n // Nothing left to step back to: drop the operator and the picker, then let the host leave the\n // filter surface. It never closes the menu onto an empty pane, because the picker is the home\n // screen and nothing may render behind it there.\n this.leaveFilterMenu();\n this.sideEffects.exitFilterMenu();\n break;\n }\n }\n\n /**\n * Shows the guided filter picker at its root (used by the Filter button and Cmd/Ctrl+F). From a value menu\n * it steps back to the root; at the root it only returns focus to the input. The search text is never\n * touched, which is the whole point: composing a filter must not cost the user what they were looking for.\n */\n openFilterPicker(): void {\n // Settled before the edited chip is released, for the reason given on appendPrefix.\n this.dropOperatorWithoutLosingText();\n this.editingChip.set(-1);\n this.selectedChip.set(-1);\n this.excludeMode.set(false);\n this.filterPickerOpen.set(true);\n this.menuActiveIndex.set(0);\n this.sideEffects.requestFocus();\n }\n\n /** Closes the filter surface, dropping a half-typed operator but keeping the search text. */\n leaveFilterMenu(): void {\n this.dropOperatorWithoutLosingText();\n this.filterPickerOpen.set(false);\n this.excludeMode.set(false);\n this.editingChip.set(-1);\n this.menuActiveIndex.set(0);\n }\n\n /** Taps a chip to re-pick its value: reopens that facet's menu; choosing a value replaces the chip. */\n onChipSelected(index: number): void {\n const token = this.tokens()[index];\n if (!token) {\n return;\n }\n this.selectedChip.set(-1);\n this.filterPickerOpen.set(false);\n // Settled before this chip takes over from the one the pending operator was opened for (see appendPrefix).\n this.appendPrefix(token.negate ? `-${token.facet}:` : `${token.facet}:`);\n this.editingChip.set(index);\n }\n\n /** Removes the chip at the given index (its remove button was clicked). */\n onChipRemoved(index: number): void {\n this.selectedChip.set(-1);\n this.sideEffects.applyTokens(removeTokenAt(this.tokens(), index));\n }\n\n /**\n * Backspace with the cursor at the start of the input selects the last chip instead of removing it, so a filter\n * never disappears from one stray keystroke; a second Backspace removes the selected chip through the modal's\n * chip-navigation keydown handler. A held key selects as well, so holding Backspace clears the text, then selects\n * and removes the chips one after another, as in Gmail. Marks the event as handled so that same handler does not\n * remove the chip it just selected.\n *\n * @returns whether a chip was selected\n */\n selectLastChipOnBackspace(event: KeyboardEvent): boolean {\n const tokenCount = this.tokens().length;\n if (tokenCount === 0 || this.selectedChip() >= 0 || this.filterMenuOpen()) {\n return false;\n }\n event.preventDefault();\n this.selectedChip.set(tokenCount - 1);\n return true;\n }\n\n /**\n * Derives the course token implied by a course-scoped URL (student `/courses/:id` or instructor\n * `/course-management/:id`). Returns undefined when the URL is not course-scoped, so the caller leaves the filters\n * untouched.\n *\n * The current tab (for example `exercises`) adds no type token: a search started from the exercises tab is often\n * about a lecture or a post, and a type chip would hide those results until the user removed it.\n */\n deriveContextTokens(url: string): FilterToken[] | undefined {\n const match = url.match(GlobalSearchFilterService.COURSE_URL_PATTERN);\n if (!match) {\n return undefined;\n }\n return [{ facet: 'course', value: match[1] }];\n }\n\n /**\n * Matches course URLs in both student view (`/courses/:courseId`) and instructor view (`/course-management/:courseId`).\n */\n private static readonly COURSE_URL_PATTERN = /\\/(?:courses|course-management)\\/(\\d+)/;\n}\n" +} diff --git a/web/public/bundles/artemis/code/149117dec606487dd73b74a6fbfd0b2b882afe61.json b/web/public/bundles/artemis/code/149117dec606487dd73b74a6fbfd0b2b882afe61.json new file mode 100644 index 00000000..3fe52773 --- /dev/null +++ b/web/public/bundles/artemis/code/149117dec606487dd73b74a6fbfd0b2b882afe61.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "149117dec606487dd73b74a6fbfd0b2b882afe61", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/config/CourseHomeInfoContributor.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.course.config;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\n\nimport org.springframework.boot.actuate.info.Info;\nimport org.springframework.boot.actuate.info.InfoContributor;\nimport org.springframework.boot.context.properties.bind.Binder;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.core.env.Environment;\nimport org.springframework.stereotype.Component;\n\n/** Exposes consent options without constructing the optional model client or exposing provider credentials. */\n@Component\n@Lazy\n@Profile(PROFILE_CORE)\npublic class CourseHomeInfoContributor implements InfoContributor {\n\n private final Environment environment;\n\n public CourseHomeInfoContributor(Environment environment) {\n this.environment = environment;\n }\n\n /**\n * Advertises whether Home can use a configured provider and where inference takes place.\n *\n * @param builder the installation metadata builder\n */\n @Override\n public void contribute(Info.Builder builder) {\n var configuration = Binder.get(environment).bind(\"artemis.course-home.ai\", CourseHomeAiProperties.class).orElseGet(() -> new CourseHomeAiProperties(false, null, null));\n boolean available = configuration.isConfigured();\n builder.withDetail(\"courseHomeAiAvailable\", available);\n if (available) {\n builder.withDetail(\"courseHomeAiLocation\", configuration.providerLocation());\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/14c7cbb1e3355799faa95d3ebc61f4ec47742dd5.json b/web/public/bundles/artemis/code/14c7cbb1e3355799faa95d3ebc61f4ec47742dd5.json new file mode 100644 index 00000000..58e18de9 --- /dev/null +++ b/web/public/bundles/artemis/code/14c7cbb1e3355799faa95d3ebc61f4ec47742dd5.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "14c7cbb1e3355799faa95d3ebc61f4ec47742dd5", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/domain/PresentationAssessmentInstance.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.assessment.domain;\n\nimport java.time.ZonedDateTime;\n\nimport jakarta.persistence.Column;\nimport jakarta.persistence.Entity;\nimport jakarta.persistence.EnumType;\nimport jakarta.persistence.Enumerated;\nimport jakarta.persistence.FetchType;\nimport jakarta.persistence.JoinColumn;\nimport jakarta.persistence.ManyToOne;\nimport jakarta.persistence.Table;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.core.domain.DomainObject;\nimport de.tum.cit.aet.artemis.core.domain.Parent;\n\n/**\n * A scheduled and graded occurrence of a presentation assessment.\n */\n@Entity\n@Table(name = \"presentation_assessment_instance\")\npublic class PresentationAssessmentInstance extends DomainObject {\n\n public static final String ENTITY_NAME = \"presentationAssessmentInstance\";\n\n @ManyToOne(fetch = FetchType.LAZY, optional = false)\n @Parent\n private PresentationAssessment presentationAssessment;\n\n @Column(name = \"presentation_date\", nullable = false)\n private ZonedDateTime presentationDate;\n\n @Column(name = \"result_points\")\n private Double resultPoints;\n\n @Column(name = \"passed\")\n private Boolean passed;\n\n @Column(name = \"rubric_score\")\n private Double rubricScore;\n\n @Column(name = \"language\", nullable = false, length = 10)\n private String language;\n\n @Enumerated(EnumType.STRING)\n @Column(name = \"presentation_mode\", nullable = false, length = 20)\n private PresentationAssessmentMode mode;\n\n @Column(name = \"location\")\n private String location;\n\n @Column(name = \"meeting_link\", length = 1000)\n private String meetingLink;\n\n @Column(name = \"remark\", length = 1000)\n private String remark;\n\n @ManyToOne(fetch = FetchType.LAZY, optional = false)\n @JoinColumn(name = \"student_id\", nullable = false)\n private User student;\n\n public PresentationAssessment getPresentationAssessment() {\n return presentationAssessment;\n }\n\n public void setPresentationAssessment(PresentationAssessment presentationAssessment) {\n this.presentationAssessment = presentationAssessment;\n }\n\n public ZonedDateTime getPresentationDate() {\n return presentationDate;\n }\n\n public void setPresentationDate(ZonedDateTime presentationDate) {\n this.presentationDate = presentationDate;\n }\n\n public Double getResultPoints() {\n return resultPoints;\n }\n\n public void setResultPoints(Double resultPoints) {\n this.resultPoints = resultPoints;\n }\n\n public Boolean getPassed() {\n return passed;\n }\n\n public void setPassed(Boolean passed) {\n this.passed = passed;\n }\n\n public Double getRubricScore() {\n return rubricScore;\n }\n\n public void setRubricScore(Double rubricScore) {\n this.rubricScore = rubricScore;\n }\n\n public String getLanguage() {\n return language;\n }\n\n public void setLanguage(String language) {\n this.language = language;\n }\n\n public PresentationAssessmentMode getMode() {\n return mode;\n }\n\n public void setMode(PresentationAssessmentMode mode) {\n this.mode = mode;\n }\n\n public String getLocation() {\n return location;\n }\n\n public void setLocation(String location) {\n this.location = location;\n }\n\n public String getMeetingLink() {\n return meetingLink;\n }\n\n public void setMeetingLink(String meetingLink) {\n this.meetingLink = meetingLink;\n }\n\n public String getRemark() {\n return remark;\n }\n\n public void setRemark(String remark) {\n this.remark = remark;\n }\n\n public User getStudent() {\n return student;\n }\n\n public void setStudent(User student) {\n this.student = student;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/14fecac1c7b75606e36791c7b7b502235deef5b4.json b/web/public/bundles/artemis/code/14fecac1c7b75606e36791c7b7b502235deef5b4.json new file mode 100644 index 00000000..51992a51 --- /dev/null +++ b/web/public/bundles/artemis/code/14fecac1c7b75606e36791c7b7b502235deef5b4.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "14fecac1c7b75606e36791c7b7b502235deef5b4", + "language": "typescript", + "path": "src/main/webapp/app/account/password-reset/external/external-user-password-reset-modal.component.ts", + "schema": "codexray.code/1", + "text": "import { ChangeDetectionStrategy, Component, input, model } from '@angular/core';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { TumAetUiButtonComponent } from '@tumaet/ui-angular/button';\nimport { TumAetUiDialogComponent } from '@tumaet/ui-angular/dialog';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\n\n/**\n * Modal dialog shown to external/SSO users who attempt to reset their password.\n * Informs them that password reset must be done through their external identity provider\n * (e.g., university SSO, LDAP) and provides a link to the external reset page if available.\n */\n@Component({\n selector: 'jhi-external-user-password-reset-modal',\n templateUrl: './external-user-password-reset-modal.component.html',\n imports: [TranslateDirective, TumAetUiButtonComponent, TumAetUiDialogComponent, ArtemisTranslatePipe],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ExternalUserPasswordResetModalComponent {\n readonly visible = model(false);\n\n /**\n * Name of the external credential provider (e.g., \"TUM SSO\", \"University LDAP\").\n */\n readonly externalCredentialProvider = input('');\n\n /**\n * URL to the external password reset page, localized to user's language.\n */\n readonly externalPasswordResetLink = input('');\n\n /**\n * Dismisses the modal dialog without any action.\n */\n dismiss(): void {\n this.visible.set(false);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/1504e9774ae6bca268feb1f2bf17f666a4188203.json b/web/public/bundles/artemis/code/1504e9774ae6bca268feb1f2bf17f666a4188203.json new file mode 100644 index 00000000..c95e9b68 --- /dev/null +++ b/web/public/bundles/artemis/code/1504e9774ae6bca268feb1f2bf17f666a4188203.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "1504e9774ae6bca268feb1f2bf17f666a4188203", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/ModelingAssessmentUpdateDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.modeling.dto;\n\nimport java.util.List;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.assessment.dto.FeedbackDTO;\n\n/**\n * Input DTO for updating a modeling assessment after a complaint.\n *

\n * This DTO intentionally does NOT implement {@code AssessmentUpdateBaseDTO}: that interface requires entity-typed\n * {@code List feedbacks()} and {@code ComplaintResponse complaintResponse()}, which are incompatible with the dumb\n * DTO component types ({@link FeedbackDTO} / {@link ComplaintResponseRequestDTO}). The controller adapts these DTOs to the\n * entity types before delegating to the shared assessment-update logic. The {@link ComplaintResponseRequestDTO} mirrors the\n * {@code ComplaintResponse} wire shape the client sends (a nested complaint carrying the accept/reject decision).\n * Bare {@code @JsonInclude} (no explicit value, i.e. Jackson's ALWAYS default) is used rather than {@code NON_EMPTY}: this is a request\n * body and an empty {@code feedbacks} list must stay an empty array on the wire.\n *\n * @param feedbacks the updated feedback items of the assessment\n * @param complaintResponse the response to the complaint carrying the resolution decision\n * @param assessmentNote the optional assessment note attached to the result\n */\n@JsonInclude\npublic record ModelingAssessmentUpdateDTO(List feedbacks, ComplaintResponseRequestDTO complaintResponse, String assessmentNote) {\n}\n" +} diff --git a/web/public/bundles/artemis/code/157f9a935331133ba7d367059b0ca98debf77dbb.json b/web/public/bundles/artemis/code/157f9a935331133ba7d367059b0ca98debf77dbb.json new file mode 100644 index 00000000..7bfb2e84 --- /dev/null +++ b/web/public/bundles/artemis/code/157f9a935331133ba7d367059b0ca98debf77dbb.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "157f9a935331133ba7d367059b0ca98debf77dbb", + "language": "typescript", + "path": "src/main/webapp/app/account/shared/email-allowed.ts", + "schema": "codexray.code/1", + "text": "import { HttpContext } from '@angular/common/http';\nimport { AsyncValidatorFn } from '@angular/forms';\nimport { SKIP_HTTP_ERROR_ALERT } from 'app/core/interceptor/errorhandler.interceptor';\nimport { Observable, map, switchMap, timer } from 'rxjs';\n\n/**\n * The server decides which email addresses are allowed, because it applies the restriction that the administrators configured with the same rules\n * to registration and to the change of an address. The forms only ask it while the address is typed, so that nobody has to send the form to find out.\n * A browser could not decide this itself: the restriction is written for Java, and Java and JavaScript read some expressions differently.\n */\nexport const EMAIL_ALLOWED_URL = 'api/core/public/email-allowed';\n\n/** How long the form waits after the last key press before it asks the server, so that typing does not send a request per letter. */\nexport const EMAIL_ALLOWED_DEBOUNCE_MS = 500;\n\n/** How long the form waits for the answer of the server before it lets the person continue, so that a server that does not answer cannot block the form. */\nexport const EMAIL_ALLOWED_TIMEOUT_MS = 5000;\n\n/**\n * The context of the request to {@link EMAIL_ALLOWED_URL}. A failure of this background check must not show the alert for failed requests: the form simply goes on,\n * because the decision is made again when it is sent.\n *\n * @returns the context that suppresses the global alert of the error interceptor\n */\nexport function emailAllowedRequestContext(): HttpContext {\n return new HttpContext().set(SKIP_HTTP_ERROR_ALERT, true);\n}\n\n/** The answer of the server to {@link EMAIL_ALLOWED_URL}. */\nexport interface EmailAllowedResponse {\n allowed: boolean;\n}\n\n/**\n * Validator for a reactive form control that asks the server after a pause in typing whether the address is allowed. It runs only after the other validators\n * (required, length) passed, and a newer value cancels the request of an older one.\n *\n * @param isAllowed asks the server whether the address is allowed. It has to answer {@code true} when the server cannot answer, because the decision is made\n * again when the form is sent, so a server that is busy or a limit on requests must not block the form.\n * @param debounceMs the pause after the last change before the server is asked\n * @returns the error {@code emailNotAllowed} if the server refuses the address, otherwise no error\n */\nexport function emailAllowedValidator(isAllowed: (email: string) => Observable, debounceMs = EMAIL_ALLOWED_DEBOUNCE_MS): AsyncValidatorFn {\n return (control) =>\n timer(debounceMs).pipe(\n switchMap(() => isAllowed(control.value)),\n map((allowed) => (allowed ? null : { emailNotAllowed: true })),\n );\n}\n" +} diff --git a/web/public/bundles/artemis/code/15f27c9236b084ebbe2f5f3613372e742b08804b.json b/web/public/bundles/artemis/code/15f27c9236b084ebbe2f5f3613372e742b08804b.json new file mode 100644 index 00000000..68c0ada9 --- /dev/null +++ b/web/public/bundles/artemis/code/15f27c9236b084ebbe2f5f3613372e742b08804b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "15f27c9236b084ebbe2f5f3613372e742b08804b", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/domain/competency/CompetencyProgress.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.atlas.domain.competency;\n\nimport java.io.Serial;\nimport java.io.Serializable;\nimport java.time.Instant;\nimport java.util.Objects;\n\nimport jakarta.persistence.Column;\nimport jakarta.persistence.Embeddable;\nimport jakarta.persistence.EmbeddedId;\nimport jakarta.persistence.Entity;\nimport jakarta.persistence.EntityListeners;\nimport jakarta.persistence.EnumType;\nimport jakarta.persistence.Enumerated;\nimport jakarta.persistence.ManyToOne;\nimport jakarta.persistence.MapsId;\nimport jakarta.persistence.Table;\n\nimport org.springframework.data.annotation.LastModifiedDate;\nimport org.springframework.data.jpa.domain.support.AuditingEntityListener;\n\nimport com.fasterxml.jackson.annotation.JsonIgnore;\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.atlas.domain.CompetencyProgressConfidenceReason;\nimport de.tum.cit.aet.artemis.core.domain.Parent;\n\n/**\n * This class models the 'progress' association between a user and a competency.\n */\n@Entity\n@Table(name = \"competency_user\")\n@EntityListeners(AuditingEntityListener.class)\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic class CompetencyProgress implements Serializable {\n\n /**\n * The primary key of the association, composited through {@link CompetencyUserId}.\n */\n @EmbeddedId\n @JsonIgnore\n private CompetencyUserId id = new CompetencyUserId();\n\n @ManyToOne\n @MapsId(\"userId\")\n @JsonIgnore\n @Parent\n private User user;\n\n @ManyToOne\n @MapsId(\"competencyId\")\n @JsonIgnore\n @Parent\n private CourseCompetency competency;\n\n @Column(name = \"progress\")\n private Double progress;\n\n @Column(name = \"confidence\")\n private Double confidence;\n\n @Enumerated(EnumType.STRING)\n @Column(name = \"confidence_reason\", columnDefinition = \"varchar(30) default 'NO_REASON'\")\n private CompetencyProgressConfidenceReason confidenceReason = CompetencyProgressConfidenceReason.NO_REASON;\n\n @LastModifiedDate\n @Column(name = \"last_modified_date\")\n @JsonIgnore\n private Instant lastModifiedDate;\n\n public CompetencyUserId getId() {\n return id;\n }\n\n public User getUser() {\n return user;\n }\n\n public void setUser(User user) {\n this.user = user;\n }\n\n public CourseCompetency getCompetency() {\n return competency;\n }\n\n public void setCompetency(CourseCompetency competency) {\n this.competency = competency;\n }\n\n public Double getProgress() {\n return progress;\n }\n\n public void setProgress(Double progress) {\n this.progress = progress;\n }\n\n public Double getConfidence() {\n return confidence;\n }\n\n public void setConfidence(Double confidence) {\n this.confidence = confidence;\n }\n\n public CompetencyProgressConfidenceReason getConfidenceReason() {\n return confidenceReason;\n }\n\n public void setConfidenceReason(CompetencyProgressConfidenceReason confidenceReason) {\n this.confidenceReason = confidenceReason;\n }\n\n public Instant getLastModifiedDate() {\n return lastModifiedDate;\n }\n\n @Override\n public boolean equals(Object obj) {\n if (this == obj) {\n return true;\n }\n if (obj == null || getClass() != obj.getClass()) {\n return false;\n }\n CompetencyProgress that = (CompetencyProgress) obj;\n return getId().equals(that.getId());\n }\n\n @Override\n public int hashCode() {\n return Objects.hashCode(getId());\n }\n\n @Override\n public String toString() {\n return \"CompetencyProgress{\" + \"id=\" + id + \", user=\" + user + \", competency=\" + competency + \", progress=\" + progress + \", confidence=\" + confidence + '}';\n }\n\n /**\n * This class is used to create a composite primary key (user_id, competency_id).\n * See also ...\n */\n @Embeddable\n public static class CompetencyUserId implements Serializable {\n\n @Serial\n private static final long serialVersionUID = 1L;\n\n private Long userId;\n\n private Long competencyId;\n\n public CompetencyUserId() {\n // Empty constructor for Spring\n }\n\n public CompetencyUserId(Long userId, Long competencyId) {\n this.userId = userId;\n this.competencyId = competencyId;\n }\n\n @Override\n public boolean equals(Object obj) {\n if (this == obj) {\n return true;\n }\n if (obj == null || getClass() != obj.getClass()) {\n return false;\n }\n CompetencyUserId that = (CompetencyUserId) obj;\n if (userId == null || that.userId == null) {\n return false;\n }\n return userId.equals(that.userId) && competencyId.equals(that.competencyId);\n }\n\n @Override\n public int hashCode() {\n return Objects.hash(userId, competencyId);\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/16335bae7eedd8d309130746bb3073acb6387bc6.json b/web/public/bundles/artemis/code/16335bae7eedd8d309130746bb3073acb6387bc6.json new file mode 100644 index 00000000..793aa2c0 --- /dev/null +++ b/web/public/bundles/artemis/code/16335bae7eedd8d309130746bb3073acb6387bc6.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "16335bae7eedd8d309130746bb3073acb6387bc6", + "language": "typescript", + "path": "src/main/webapp/app/tutorialgroup/manage/tutorial-groups-management/tutorial-group-row-buttons/tutorial-group-row-buttons.component.ts", + "schema": "codexray.code/1", + "text": "import { ChangeDetectionStrategy, Component, DestroyRef, inject, input, output } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { RouterLink } from '@angular/router';\nimport { HttpErrorResponse } from '@angular/common/http';\nimport { Subject } from 'rxjs';\nimport { faTrash, faUsers, faWrench } from '@fortawesome/free-solid-svg-icons';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { TumAetUiButtonDirective } from '@tumaet/ui-angular/button';\nimport { TutorialGroup } from 'app/tutorialgroup/shared/entities/tutorial-group.model';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { DeleteButtonDirective } from 'app/shared-ui/delete-dialog/directive/delete-button.directive';\nimport { TutorialGroupApi } from 'app/openapi/api/tutorial-group-api';\n\n@Component({\n selector: 'jhi-tutorial-group-row-buttons',\n templateUrl: './tutorial-group-row-buttons.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [FaIconComponent, TranslateDirective, RouterLink, DeleteButtonDirective, TumAetUiButtonDirective],\n})\nexport class TutorialGroupRowButtonsComponent {\n private readonly tutorialGroupApiService = inject(TutorialGroupApi);\n private readonly destroyRef = inject(DestroyRef);\n\n readonly isAtLeastInstructor = input(false);\n readonly courseId = input.required();\n readonly tutorialGroup = input.required();\n\n readonly tutorialGroupDeleted = output();\n\n private readonly dialogErrorSource = new Subject();\n readonly dialogError$ = this.dialogErrorSource.asObservable();\n\n protected readonly faWrench = faWrench;\n protected readonly faUsers = faUsers;\n protected readonly faTrash = faTrash;\n\n constructor() {\n // complete() ends the stream for whoever is still subscribed; unsubscribe() would close the subject so that\n // any later next() throws ObjectUnsubscribedError instead.\n this.destroyRef.onDestroy(() => this.dialogErrorSource.complete());\n }\n\n /** Deletes the group and, on success, closes the delete dialog by clearing its error stream. */\n deleteTutorialGroup(): void {\n const tutorialGroupId = this.tutorialGroup().id;\n if (tutorialGroupId === undefined) {\n return;\n }\n this.tutorialGroupApiService\n .deleteTutorialGroup(this.courseId(), tutorialGroupId)\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe({\n next: () => {\n this.dialogErrorSource.next('');\n this.tutorialGroupDeleted.emit();\n },\n error: (error: HttpErrorResponse) => this.dialogErrorSource.next(error.message),\n });\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/16b60fc828cb476610557bdf3aae589495010501.json b/web/public/bundles/artemis/code/16b60fc828cb476610557bdf3aae589495010501.json new file mode 100644 index 00000000..800d9e90 --- /dev/null +++ b/web/public/bundles/artemis/code/16b60fc828cb476610557bdf3aae589495010501.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "16b60fc828cb476610557bdf3aae589495010501", + "language": "typescript", + "path": "src/main/webapp/app/shared-ui/form/form-footer/form-footer.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, computed, inject, input, output } from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\nimport { TumAetUiButtonDirective } from '@tumaet/ui-angular/button';\nimport { TumAetUiTagComponent } from '@tumaet/ui-angular/tag';\nimport { TumAetUiTooltipDirective } from '@tumaet/ui-angular/tooltip';\nimport { ValidationReason } from 'app/exercise/shared/entities/exercise/exercise.model';\nimport { translateValidationReasons } from 'app/exercise/util/exercise-validation.util';\nimport { getCurrentLocaleSignal } from 'app/foundation/util/global.utils';\nimport { faBan, faSave, faSpinner } from '@fortawesome/free-solid-svg-icons';\nimport { ButtonSize } from 'app/shared-ui/components/buttons/button/button.component';\nimport { SwitchEditModeButtonComponent } from 'app/programming/manage/update/switch-edit-mode-button/switch-edit-mode-button.component';\nimport { HelpIconComponent } from 'app/shared-ui/components/help-icon/help-icon.component';\nimport { ExerciseUpdateNotificationComponent } from 'app/exercise/exercise-update-notification/exercise-update-notification.component';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\n\n@Component({\n selector: 'jhi-form-footer',\n templateUrl: 'form-footer.component.html',\n styleUrls: ['form-footer.component.css'],\n imports: [\n TumAetUiTagComponent,\n SwitchEditModeButtonComponent,\n HelpIconComponent,\n ExerciseUpdateNotificationComponent,\n TranslateDirective,\n FaIconComponent,\n TumAetUiButtonDirective,\n TumAetUiTooltipDirective,\n ArtemisTranslatePipe,\n ],\n})\nexport class FormFooterComponent {\n private readonly translateService = inject(TranslateService);\n private readonly currentLocale = getCurrentLocaleSignal(this.translateService);\n\n protected readonly ButtonSize = ButtonSize;\n protected readonly faSave = faSave;\n protected readonly faBan = faBan;\n protected readonly faSpinner = faSpinner;\n\n isSaving = input(false);\n isDisabled = input(false);\n invalidReasons = input([]);\n /**\n * Reads the reasons from the current state of the form. The displayed {@link invalidReasons} come from the last change\n * detection pass and can lag behind a form that mutates through template-driven fields (for instance while a date\n * picker still processes a blur and a selection), so a click that they block is checked against the form again.\n */\n revalidate = input<(() => ValidationReason[]) | undefined>();\n notificationText = input();\n switchEditMode = input<(() => void) | undefined>();\n isImport = input();\n isCreation = input();\n isSimpleMode = input();\n areAuxiliaryRepositoriesValid = input(true);\n\n notificationTextChange = output();\n save = output();\n onCancel = output();\n\n saveTitle = computed(() => (this.isImport() ? 'entity.action.import' : this.isCreation() ? 'entity.action.generate' : 'entity.action.save'));\n\n isSubmitDisabled = computed(() => !!this.invalidReasons().length || this.isDisabled() || this.isSaving());\n\n /** Target of the submit buttons' aria-describedby; the reason list is rendered under this id. */\n protected readonly invalidReasonsId = 'form-footer-invalid-reasons';\n\n protected readonly invalidReasonTexts = computed(() => {\n this.currentLocale();\n return translateValidationReasons(this.invalidReasons(), this.translateService);\n });\n\n onSwitchEditMode() {\n this.switchEditMode()?.();\n }\n\n // The submit buttons are aria-disabled rather than disabled, so they stay focusable and can explain\n // themselves. That leaves them clickable, hence the guards.\n onSave() {\n if (!this.isBlocked()) {\n this.save.emit();\n }\n }\n\n /**\n * Whether a click on a submit button is held back. Reasons that block it are confirmed against the form first, so that a\n * valid form can always be submitted. Everything else that blocks it (a running save, a disabled footer) is not\n * something a fresh read of the form could change.\n */\n private isBlocked(): boolean {\n if (this.isDisabled() || this.isSaving()) {\n return true;\n }\n if (!this.invalidReasons().length) {\n return false;\n }\n const freshReasons = this.revalidate()?.();\n return freshReasons === undefined || freshReasons.length > 0;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/174a368ecbad5d54a4b4a8c8c488d85190c7dd01.json b/web/public/bundles/artemis/code/174a368ecbad5d54a4b4a8c8c488d85190c7dd01.json new file mode 100644 index 00000000..f3d28cf1 --- /dev/null +++ b/web/public/bundles/artemis/code/174a368ecbad5d54a4b4a8c8c488d85190c7dd01.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "174a368ecbad5d54a4b4a8c8c488d85190c7dd01", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/dto/PlagiarismPostCreationDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.plagiarism.dto;\n\nimport jakarta.validation.constraints.NotBlank;\nimport jakarta.validation.constraints.NotNull;\n\nimport org.jspecify.annotations.NonNull;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.communication.domain.Post;\nimport de.tum.cit.aet.artemis.core.exception.BadRequestAlertException;\nimport de.tum.cit.aet.artemis.plagiarism.domain.PlagiarismCase;\n\n/**\n * DTO for creating a PlagiarismPost with only the necessary fields.\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record PlagiarismPostCreationDTO(@NotBlank(message = \"The post must have contents.\") String content, @NotBlank(message = \"The post must have a title.\") String title,\n @NotNull Boolean visibleForStudents, @NotNull Boolean hasForwardedMessages,\n @NotNull(message = \"The post must be associated with a plagiarism case.\") Long plagiarismCaseId) {\n\n public static final String PLAGIARISM_POST_ENTITY_NAME = \"PlagiarismPost\";\n\n /**\n * Converts this DTO to a PlagiarismPost entity.\n *\n *

\n * For creation requests, {@code id} can be {@code null}. The\n * {@code createPost()} service method will reject entities with a non-null id.\n *

\n *\n * @return a new Post entity with the data from this DTO\n */\n public Post toEntity() {\n Post post = new Post();\n post.setContent(content);\n post.setTitle(title);\n post.setVisibleForStudents(visibleForStudents);\n post.setHasForwardedMessages(hasForwardedMessages);\n PlagiarismCase plagiarismCase = new PlagiarismCase();\n plagiarismCase.setId(plagiarismCaseId);\n post.setPlagiarismCase(plagiarismCase);\n return post;\n }\n\n /**\n * Creates a {@link PlagiarismPostCreationDTO} from a {@link Post} entity.\n *\n * @param post the post-entity\n * @return a DTO containing the data required to create a plagiarism post\n */\n public static PlagiarismPostCreationDTO of(@NonNull Post post) {\n if (post.getPlagiarismCase() == null || post.getPlagiarismCase().getId() == null) {\n throw new BadRequestAlertException(\"The post must be associated with a plagiarism case.\", PLAGIARISM_POST_ENTITY_NAME, \"plagiarismCaseMissing\");\n }\n return new PlagiarismPostCreationDTO(post.getContent(), post.getTitle(), post.isVisibleForStudents(), post.getHasForwardedMessages(), post.getPlagiarismCase().getId());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/189161d2bf6c0ebb1ece56b65f29c7d35701c307.json b/web/public/bundles/artemis/code/189161d2bf6c0ebb1ece56b65f29c7d35701c307.json new file mode 100644 index 00000000..165c5852 --- /dev/null +++ b/web/public/bundles/artemis/code/189161d2bf6c0ebb1ece56b65f29c7d35701c307.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "189161d2bf6c0ebb1ece56b65f29c7d35701c307", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/domain/LearningObject.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.atlas.domain;\n\nimport java.time.ZonedDateTime;\nimport java.util.Optional;\nimport java.util.Set;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.atlas.domain.competency.CompetencyLearningObjectLink;\n\npublic interface LearningObject {\n\n /**\n * Get the date when the object has been completed by the participant\n *\n * @param user the user to retrieve the date for\n * @return The datetime when the object was first completed or null\n */\n Optional getCompletionDate(User user);\n\n Long getId();\n\n Set getCompetencyLinks();\n\n boolean isVisibleToStudents();\n}\n" +} diff --git a/web/public/bundles/artemis/code/1966807903307714867169251f9ead27f26d4ab4.json b/web/public/bundles/artemis/code/1966807903307714867169251f9ead27f26d4ab4.json new file mode 100644 index 00000000..709d4002 --- /dev/null +++ b/web/public/bundles/artemis/code/1966807903307714867169251f9ead27f26d4ab4.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "1966807903307714867169251f9ead27f26d4ab4", + "language": "typescript", + "path": "src/main/webapp/app/admin/science/admin-science.service.ts", + "schema": "codexray.code/1", + "text": "import { HttpClient } from '@angular/common/http';\nimport { Service, inject } from '@angular/core';\nimport { Observable } from 'rxjs';\nimport { ScienceEnabledCourse, ScienceResearchExportAudit, ScienceResearchExportRequest } from 'app/admin/science/admin-science.model';\nimport { CourseForRoleAssignment } from 'app/account/user/shared/user-course-role.model';\n\n@Service()\nexport class AdminScienceService {\n private readonly http = inject(HttpClient);\n private readonly resourceUrl = 'api/atlas/admin/science';\n\n searchSelectableCourses(searchTerm: string, size = 10): Observable {\n return this.http.get(`${this.resourceUrl}/selectable-courses`, { params: { searchTerm, size } });\n }\n\n getCourses(): Observable {\n return this.http.get(`${this.resourceUrl}/courses`);\n }\n\n enableCourse(courseId: number): Observable {\n return this.http.put(`${this.resourceUrl}/courses/${courseId}`, {});\n }\n\n disableCourse(courseId: number): Observable {\n return this.http.delete(`${this.resourceUrl}/courses/${courseId}`);\n }\n\n getExportAudits(): Observable {\n return this.http.get(`${this.resourceUrl}/export-audits`);\n }\n\n createExport(request: ScienceResearchExportRequest): Observable {\n return this.http.post(`${this.resourceUrl}/exports`, request, { responseType: 'blob' });\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/19daafc9791e2cc10754da2682e93587d865ec57.json b/web/public/bundles/artemis/code/19daafc9791e2cc10754da2682e93587d865ec57.json new file mode 100644 index 00000000..36f2d3d2 --- /dev/null +++ b/web/public/bundles/artemis/code/19daafc9791e2cc10754da2682e93587d865ec57.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "19daafc9791e2cc10754da2682e93587d865ec57", + "language": "typescript", + "path": "src/main/webapp/app/communication/course-conversations-components/dialogs/conversation-detail-dialog/tabs/conversation-settings/conversation-settings.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, OnDestroy, OnInit, inject, input, output, signal } from '@angular/core';\nimport { ChannelDTO, getAsChannelDTO, isChannelDTO } from 'app/communication/shared/entities/conversation/channel.model';\nimport { ConversationDTO } from 'app/communication/shared/entities/conversation/conversation.model';\nimport { Course } from 'app/course/shared/entities/course.model';\nimport { TumAetUiButtonDirective } from '@tumaet/ui-angular/button';\nimport { TumAetUiDialogService } from '@tumaet/ui-angular/dialog';\nimport type { TumAetUiDialogRef } from '@tumaet/ui-angular/dialog';\nimport { GenericConfirmationDialogComponent } from 'app/communication/course-conversations-components/generic-confirmation-dialog/generic-confirmation-dialog.component';\nimport { onError } from 'app/foundation/util/global.utils';\nimport { Subject, takeUntil } from 'rxjs';\nimport { TranslateService } from '@ngx-translate/core';\nimport { HttpErrorResponse } from '@angular/common/http';\nimport { AlertService } from 'app/foundation/service/alert.service';\nimport { faBoxArchive, faBoxOpen, faHashtag, faLock, faTrash } from '@fortawesome/free-solid-svg-icons';\nimport { isGroupChatDTO } from 'app/communication/shared/entities/conversation/group-chat.model';\nimport { defaultSecondLayerDialogOptions } from 'app/communication/course-conversations-components/other/conversation.util';\nimport { filter } from 'rxjs/operators';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { DeleteButtonDirective } from 'app/shared-ui/delete-dialog/directive/delete-button.directive';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { ChannelService } from 'app/communication/conversations/service/channel.service';\nimport { GroupChatService } from 'app/communication/conversations/service/group-chat.service';\nimport {\n canChangeChannelArchivalState,\n canChangeChannelPrivacyState,\n canDeleteChannel,\n canLeaveConversation,\n} from 'app/communication/conversations/conversation-permissions.utils';\nimport { cloneWith } from 'app/foundation/util/deep-clone.util';\n\n@Component({\n selector: 'jhi-conversation-settings',\n templateUrl: './conversation-settings.component.html',\n imports: [TranslateDirective, DeleteButtonDirective, FaIconComponent, TumAetUiButtonDirective],\n})\nexport class ConversationSettingsComponent implements OnInit, OnDestroy {\n private dialogService = inject(TumAetUiDialogService);\n private translateService = inject(TranslateService);\n private channelService = inject(ChannelService);\n private groupChatService = inject(GroupChatService);\n private alertService = inject(AlertService);\n\n private ngUnsubscribe = new Subject();\n\n activeConversation = input.required();\n course = input.required();\n\n channelArchivalChange = output();\n channelPrivacyChange = output();\n channelDeleted = output();\n conversationLeave = output();\n\n private dialogErrorSource = new Subject();\n dialogError$ = this.dialogErrorSource.asObservable();\n\n readonly faTrash = faTrash;\n readonly faBoxArchive = faBoxArchive;\n readonly faBoxOpen = faBoxOpen;\n readonly faHashtag = faHashtag;\n readonly faLock = faLock;\n\n readonly conversationAsChannel = signal(undefined);\n readonly canLeaveConversation = signal(undefined!);\n readonly canChangeChannelArchivalState = signal(undefined!);\n readonly canChangeChannelPrivacyState = signal(undefined!);\n readonly canDeleteChannel = signal(undefined!);\n\n ngOnInit(): void {\n const conversation = this.activeConversation();\n if (!conversation) {\n return;\n }\n this.canLeaveConversation.set(canLeaveConversation(conversation));\n const channel = getAsChannelDTO(conversation);\n this.conversationAsChannel.set(channel);\n this.canChangeChannelArchivalState.set(channel ? canChangeChannelArchivalState(channel) : false);\n this.canChangeChannelPrivacyState.set(channel ? canChangeChannelPrivacyState(channel) : false);\n this.canDeleteChannel.set(channel ? canDeleteChannel(this.course(), channel) : false);\n }\n\n leaveConversation($event: MouseEvent) {\n $event.stopPropagation();\n if (isGroupChatDTO(this.activeConversation())) {\n this.groupChatService\n .removeUsersFromGroupChat(this.course().id!, this.activeConversation().id!)\n .pipe(takeUntil(this.ngUnsubscribe))\n .subscribe(() => {\n this.conversationLeave.emit();\n });\n return;\n } else if (isChannelDTO(this.activeConversation())) {\n this.channelService\n .deregisterUsersFromChannel(this.course().id!, this.activeConversation().id!)\n .pipe(takeUntil(this.ngUnsubscribe))\n .subscribe(() => {\n this.conversationLeave.emit();\n });\n return;\n }\n throw new Error('The conversation type is not supported');\n }\n\n toggleChannelArchivalState(event: Event): void {\n const channel = getAsChannelDTO(this.activeConversation());\n if (!channel) {\n return;\n }\n if (channel.isArchived) {\n this.openUnArchivalModal(channel);\n } else {\n this.openArchivalModal(channel);\n }\n }\n\n ngOnDestroy() {\n this.ngUnsubscribe.next();\n this.ngUnsubscribe.complete();\n }\n\n openArchivalModal(channel: ChannelDTO) {\n const keys = {\n titleKey: 'artemisApp.dialogs.archiveChannel.title',\n questionKey: 'artemisApp.dialogs.archiveChannel.question',\n descriptionKey: 'artemisApp.dialogs.archiveChannel.description',\n confirmButtonKey: 'artemisApp.dialogs.archiveChannel.confirmButton',\n };\n\n const modalRef = this.createModal(channel, keys);\n\n this.openModal(modalRef, () => {\n this.channelService.archive(this.course().id!, channel.id!).subscribe({\n next: () => {\n this.channelArchivalChange.emit();\n },\n error: (errorResponse: HttpErrorResponse) => onError(this.alertService, errorResponse),\n });\n });\n }\n\n openUnArchivalModal(channel: ChannelDTO) {\n const keys = {\n titleKey: 'artemisApp.dialogs.unArchiveChannel.title',\n questionKey: 'artemisApp.dialogs.unArchiveChannel.question',\n descriptionKey: 'artemisApp.dialogs.unArchiveChannel.description',\n confirmButtonKey: 'artemisApp.dialogs.unArchiveChannel.confirmButton',\n };\n const modalRef = this.createModal(channel, keys);\n\n this.openModal(modalRef, () => {\n this.channelService\n .unarchive(this.course().id!, channel.id!)\n .pipe(takeUntil(this.ngUnsubscribe))\n .subscribe({\n next: () => {\n this.channelArchivalChange.emit();\n },\n error: (errorResponse: HttpErrorResponse) => onError(this.alertService, errorResponse),\n });\n });\n }\n\n private openModal(ref: TumAetUiDialogRef, callback: () => void) {\n ref.onClose\n .pipe(\n filter((result) => !!result),\n takeUntil(this.ngUnsubscribe),\n )\n .subscribe(callback);\n }\n\n private createModal(channel: ChannelDTO, keys: { titleKey: string; questionKey: string; descriptionKey: string; confirmButtonKey: string }) {\n return this.dialogService.open(\n GenericConfirmationDialogComponent,\n cloneWith(defaultSecondLayerDialogOptions, {\n ariaLabel: this.translateService.instant(keys.titleKey, { channelName: channel.name }),\n autoFocus: 'first-tabbable',\n data: {\n translationParameters: { channelName: channel.name },\n translationKeys: keys,\n canBeUndone: true,\n },\n }),\n );\n }\n\n deleteChannel() {\n const channel = getAsChannelDTO(this.activeConversation());\n if (!channel) {\n return;\n }\n this.channelService\n .delete(this.course().id!, channel.id!)\n .pipe(takeUntil(this.ngUnsubscribe))\n .subscribe({\n next: () => {\n this.dialogErrorSource.next('');\n this.channelDeleted.emit();\n },\n error: (errorResponse: HttpErrorResponse) => this.dialogErrorSource.next(errorResponse.message),\n });\n }\n\n openPublicChannelModal(channel: ChannelDTO) {\n const keys = {\n titleKey: 'artemisApp.dialogs.publicChannel.title',\n questionKey: 'artemisApp.dialogs.publicChannel.question',\n descriptionKey: 'artemisApp.dialogs.publicChannel.description',\n confirmButtonKey: 'artemisApp.dialogs.publicChannel.confirmButton',\n };\n this.openPrivacyChangeModal(channel, keys);\n }\n\n openPrivateChannelModal(channel: ChannelDTO) {\n const keys = {\n titleKey: 'artemisApp.dialogs.privateChannel.title',\n questionKey: 'artemisApp.dialogs.privateChannel.question',\n descriptionKey: 'artemisApp.dialogs.privateChannel.description',\n confirmButtonKey: 'artemisApp.dialogs.privateChannel.confirmButton',\n };\n this.openPrivacyChangeModal(channel, keys);\n }\n\n private openPrivacyChangeModal(channel: ChannelDTO, keys: { titleKey: string; questionKey: string; descriptionKey: string; confirmButtonKey: string }) {\n const ref = this.createModal(channel, keys);\n this.openModal(ref, () => {\n this.channelService\n .toggleChannelPrivacy(this.course().id!, channel.id!)\n .pipe(takeUntil(this.ngUnsubscribe))\n .subscribe({\n next: (res) => {\n const updatedChannel = res.body;\n if (updatedChannel) {\n this.conversationAsChannel.set(updatedChannel);\n this.channelPrivacyChange.emit();\n }\n },\n error: (errorResponse: HttpErrorResponse) => onError(this.alertService, errorResponse),\n });\n });\n }\n\n toggleChannelPrivacy() {\n const channel = getAsChannelDTO(this.activeConversation());\n if (!channel) {\n return;\n }\n\n if (!channel.isPublic) {\n this.openPublicChannelModal(channel);\n } else {\n this.openPrivateChannelModal(channel);\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/1a787c9629e0374771e9edd0db6fb24c2793fe27.json b/web/public/bundles/artemis/code/1a787c9629e0374771e9edd0db6fb24c2793fe27.json new file mode 100644 index 00000000..602cef44 --- /dev/null +++ b/web/public/bundles/artemis/code/1a787c9629e0374771e9edd0db6fb24c2793fe27.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "1a787c9629e0374771e9edd0db6fb24c2793fe27", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/core/dto/UserPublicInfoDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.core.dto;\n\nimport java.util.Objects;\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.core.domain.CourseRole;\nimport de.tum.cit.aet.artemis.core.domain.UserCourseRole;\nimport de.tum.cit.aet.artemis.course.domain.Course;\n\n/**\n * A DTO representing a user with the minimal information allowed to be seen by other users in a course\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic class UserPublicInfoDTO {\n\n @SuppressWarnings(\"PMD.ShortVariable\")\n private Long id;\n\n // we need this to differentiate between users with the same name\n private String login;\n\n private String name;\n\n private String firstName;\n\n private String lastName;\n\n private String imageUrl;\n\n private Boolean isInstructor;\n\n private Boolean isEditor;\n\n private Boolean isTeachingAssistant;\n\n private Boolean isStudent;\n\n public UserPublicInfoDTO() {\n // Empty constructor needed for Jackson.\n }\n\n public UserPublicInfoDTO(User user) {\n this.id = user.getId();\n this.login = user.getLogin();\n this.name = user.getName();\n this.firstName = user.getFirstName();\n this.lastName = user.getLastName();\n this.imageUrl = user.getImageUrl();\n }\n\n /**\n * Assigns the transient fields isInstructor, isEditor, isTeachingAssistant and isStudent based on the given course and user\n *\n * @param course the course to check the roles for\n * @param user the user to check the roles for\n * @param userPublicInfoDTO the DTO to assign the roles to\n */\n public static void assignRoleProperties(Course course, User user, UserPublicInfoDTO userPublicInfoDTO) {\n Long courseId = course.getId();\n Set roles = user.getCourseRoles().stream().filter(r -> courseId.equals(r.getCourse().getId())).map(UserCourseRole::getRole).collect(Collectors.toSet());\n userPublicInfoDTO.setIsStudent(roles.contains(CourseRole.STUDENT));\n userPublicInfoDTO.setIsTeachingAssistant(roles.contains(CourseRole.TEACHING_ASSISTANT));\n userPublicInfoDTO.setIsEditor(roles.contains(CourseRole.EDITOR));\n userPublicInfoDTO.setIsInstructor(roles.contains(CourseRole.INSTRUCTOR));\n }\n\n @SuppressWarnings(\"PMD.ShortVariable\")\n public Long getId() {\n return id;\n }\n\n @SuppressWarnings(\"PMD.ShortVariable\")\n public void setId(Long id) {\n this.id = id;\n }\n\n public String getLogin() {\n return login;\n }\n\n public void setLogin(String login) {\n this.login = login;\n }\n\n public String getName() {\n return name;\n }\n\n public void setName(String name) {\n this.name = name;\n }\n\n public String getFirstName() {\n return firstName;\n }\n\n public void setFirstName(String firstName) {\n this.firstName = firstName;\n }\n\n public String getLastName() {\n return lastName;\n }\n\n public void setLastName(String lastName) {\n this.lastName = lastName;\n }\n\n public String getImageUrl() {\n return imageUrl;\n }\n\n public void setImageUrl(String imageUrl) {\n this.imageUrl = imageUrl;\n }\n\n public Boolean getIsInstructor() {\n return isInstructor;\n }\n\n public void setIsInstructor(Boolean instructor) {\n isInstructor = instructor;\n }\n\n public Boolean getIsEditor() {\n return isEditor;\n }\n\n public void setIsEditor(Boolean editor) {\n isEditor = editor;\n }\n\n public Boolean getIsTeachingAssistant() {\n return isTeachingAssistant;\n }\n\n public void setIsTeachingAssistant(Boolean teachingAssistant) {\n isTeachingAssistant = teachingAssistant;\n }\n\n public Boolean getIsStudent() {\n return isStudent;\n }\n\n public void setIsStudent(Boolean student) {\n isStudent = student;\n }\n\n @Override\n public boolean equals(Object object) {\n if (this == object) {\n return true;\n }\n if (!(object instanceof UserPublicInfoDTO that)) {\n return false;\n }\n return id.equals(that.id);\n }\n\n @Override\n public int hashCode() {\n return Objects.hash(id);\n }\n\n @Override\n public String toString() {\n return \"UserPublicInfoDTO{\" + \"id=\" + id + \", login='\" + login + '\\'' + \", name='\" + name + '\\'' + \", firstName='\" + firstName + '\\'' + \", lastName='\" + lastName + '\\''\n + \", imageUrl='\" + imageUrl + '\\'' + \", isInstructor=\" + isInstructor + \", isEditor=\" + isEditor + \", isTeachingAssistant=\" + isTeachingAssistant + \", isStudent=\"\n + isStudent + '}';\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/1a9a46952fba7608dda06b7f51131969b388c7df.json b/web/public/bundles/artemis/code/1a9a46952fba7608dda06b7f51131969b388c7df.json new file mode 100644 index 00000000..a15e81c8 --- /dev/null +++ b/web/public/bundles/artemis/code/1a9a46952fba7608dda06b7f51131969b388c7df.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "1a9a46952fba7608dda06b7f51131969b388c7df", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/service/TextPlagiarismDetectionService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.plagiarism.service;\n\nimport static de.tum.cit.aet.artemis.plagiarism.service.PlagiarismService.hasMinimumScore;\n\nimport java.io.IOException;\nimport java.nio.file.Path;\nimport java.util.HashSet;\nimport java.util.List;\nimport java.util.Optional;\nimport java.util.Set;\nimport java.util.concurrent.atomic.AtomicInteger;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.stereotype.Service;\nimport org.springframework.util.FileSystemUtils;\n\nimport de.jplag.JPlag;\nimport de.jplag.JPlagResult;\nimport de.jplag.Language;\nimport de.jplag.clustering.ClusteringOptions;\nimport de.jplag.options.JPlagOptions;\nimport de.jplag.text.NaturalLanguage;\nimport de.tum.cit.aet.artemis.core.exception.BadRequestAlertException;\nimport de.tum.cit.aet.artemis.core.util.TimeLogUtil;\nimport de.tum.cit.aet.artemis.exercise.domain.participation.Participation;\nimport de.tum.cit.aet.artemis.exercise.domain.participation.StudentParticipation;\nimport de.tum.cit.aet.artemis.plagiarism.config.PlagiarismEnabled;\nimport de.tum.cit.aet.artemis.plagiarism.domain.PlagiarismCheckState;\nimport de.tum.cit.aet.artemis.plagiarism.domain.PlagiarismResult;\nimport de.tum.cit.aet.artemis.plagiarism.service.cache.PlagiarismCacheService;\nimport de.tum.cit.aet.artemis.text.api.TextSubmissionExportApi;\nimport de.tum.cit.aet.artemis.text.config.TextApiNotPresentException;\nimport de.tum.cit.aet.artemis.text.domain.TextExercise;\nimport de.tum.cit.aet.artemis.text.domain.TextSubmission;\n\n@Conditional(PlagiarismEnabled.class)\n@Lazy\n@Service\npublic class TextPlagiarismDetectionService {\n\n private static final Logger log = LoggerFactory.getLogger(TextPlagiarismDetectionService.class);\n\n private final Optional textSubmissionExportApi;\n\n private final PlagiarismWebsocketService plagiarismWebsocketService;\n\n private final PlagiarismCacheService plagiarismCacheService;\n\n private final PlagiarismService plagiarismService;\n\n public TextPlagiarismDetectionService(Optional textSubmissionExportApi, PlagiarismWebsocketService plagiarismWebsocketService,\n PlagiarismCacheService plagiarismCacheService, PlagiarismService plagiarismService) {\n this.textSubmissionExportApi = textSubmissionExportApi;\n this.plagiarismWebsocketService = plagiarismWebsocketService;\n this.plagiarismCacheService = plagiarismCacheService;\n this.plagiarismService = plagiarismService;\n }\n\n /**\n * Reduce a TextExercise Object to a list of latest text submissions. Filters the empty ones because they do not need to be compared\n *\n * @param exerciseWithParticipationsAndSubmissions TextExercise with fetched participations and submissions\n * @param minimumScore consider only submissions whose score is greater or equal to this value\n * @param minimumSize consider only submissions whose number of words is greater or equal to this value\n * @return List containing the latest text submission for every participation\n */\n public List textSubmissionsForComparison(TextExercise exerciseWithParticipationsAndSubmissions, int minimumScore, int minimumSize) {\n var textSubmissions = exerciseWithParticipationsAndSubmissions.getStudentParticipations().parallelStream().filter(plagiarismService.filterForStudents())\n .map(Participation::findLatestSubmission).filter(Optional::isPresent).map(Optional::get).filter(submission -> submission instanceof TextSubmission)\n .map(submission -> (TextSubmission) submission).filter(submission -> minimumSize == 0 || submission.getText() != null && submission.countWords() >= minimumSize)\n .filter(submission -> hasMinimumScore(submission, minimumScore)).toList();\n\n log.info(\"Found {} text submissions in exercise {}\", textSubmissions.size(), exerciseWithParticipationsAndSubmissions.getId());\n\n return textSubmissions.parallelStream().filter(textSubmission -> !textSubmission.isEmpty()).toList();\n }\n\n /**\n * Download all submissions of the exercise, run JPlag, and return the result\n *\n * @param textExercise to detect plagiarism for\n * @param similarityThreshold ignore comparisons whose similarity is below this threshold (in % between 0 and 100)\n * @param minimumScore consider only submissions whose score is greater or equal to this value\n * @param minimumSize consider only submissions whose size is greater or equal to this value\n * @return a zip file that can be returned to the client\n */\n public PlagiarismResult checkPlagiarism(TextExercise textExercise, float similarityThreshold, int minimumScore, int minimumSize) {\n // Decide whether there is anything to compare before claiming the course: a request that cannot run must not\n // occupy the course for the instructor who could have started a real check instead.\n final List textSubmissions = textSubmissionsForComparison(textExercise, minimumScore, minimumSize);\n if (textSubmissions.size() < 2) {\n log.info(\"Insufficient amount of submissions for plagiarism detection. Inform the client with a bad request response.\");\n throw new BadRequestAlertException(\"Insufficient amount of valid and long enough submissions available for comparison\", \"Plagiarism Check\", \"notEnoughSubmissions\");\n }\n\n // Only one plagiarism check per course allowed. Claiming happens before the try block because the finally below\n // releases the course, and a caller that was refused must not release the check somebody else is running.\n var courseId = textExercise.getCourseViaExerciseGroupOrCourseMemberElseThrow().getId();\n if (!plagiarismCacheService.tryStartPlagiarismCheck(courseId)) {\n throw new BadRequestAlertException(\"Only one active plagiarism check per course allowed\", \"PlagiarismCheck\", \"oneActivePlagiarismCheck\");\n }\n\n try {\n long start = System.nanoTime();\n var topic = plagiarismWebsocketService.getTextExercisePlagiarismCheckTopic(textExercise.getId());\n\n // TODO: why do we have such a strange folder name?\n final var submissionsFolderName = \"./tmp/submissions\";\n final var submissionFolderFile = Path.of(submissionsFolderName).toFile();\n submissionFolderFile.mkdirs();\n\n final var submissionsSize = textSubmissions.size();\n log.info(\"Save text submissions for JPlag text comparison with {} submissions\", submissionsSize);\n\n AtomicInteger processedSubmissionCount = new AtomicInteger(1);\n textSubmissions.forEach(submission -> {\n var progressMessage = \"Getting submission: \" + processedSubmissionCount + \"/\" + textSubmissions.size();\n plagiarismWebsocketService.notifyInstructorAboutPlagiarismState(topic, PlagiarismCheckState.RUNNING, List.of(progressMessage));\n submission.setResults(new HashSet<>());\n\n StudentParticipation participation = (StudentParticipation) submission.getParticipation();\n participation.setExercise(null);\n participation.setSubmissions(null);\n\n String participantIdentifier = participation.getParticipantIdentifier();\n if (participantIdentifier == null) {\n participantIdentifier = \"unknown\";\n }\n\n try {\n textSubmissionExportApi.orElseThrow(() -> new TextApiNotPresentException(TextSubmissionExportApi.class)).saveSubmissionToFile(submission, participantIdentifier,\n submissionsFolderName);\n }\n catch (IOException e) {\n log.error(e.getMessage());\n }\n\n processedSubmissionCount.getAndIncrement();\n });\n\n log.info(\"Saving text submissions done\");\n\n // Important: for large courses with more than 1000 students, we might get more than one million results and 10 million files in the file system due to many 0% results,\n // therefore we limit the results to at least 50% or 0.5 similarity, the passed threshold is between 0 and 100%\n Language language = new NaturalLanguage();\n JPlagOptions options = new JPlagOptions(language, Set.of(submissionFolderFile), Set.of())\n // JPlag expects a value between 0.0 and 1.0\n .withSimilarityThreshold(similarityThreshold / 100.0).withClusteringOptions(new ClusteringOptions().withEnabled(false));\n\n log.info(\"Start JPlag Text comparison\");\n JPlagResult jPlagResult = JPlag.run(options);\n log.info(\"JPlag Text comparison finished with {} comparisons. Will limit the number of comparisons to 500\", jPlagResult.getAllComparisons().size());\n\n log.info(\"Delete submission folder\");\n if (submissionFolderFile.exists()) {\n FileSystemUtils.deleteRecursively(submissionFolderFile);\n }\n\n PlagiarismResult textPlagiarismResult = new PlagiarismResult();\n textPlagiarismResult.convertJPlagResult(jPlagResult, textExercise);\n\n log.info(\"JPlag text comparison for {} submissions done in {}\", submissionsSize, TimeLogUtil.formatDurationFrom(start));\n plagiarismWebsocketService.notifyInstructorAboutPlagiarismState(topic, PlagiarismCheckState.COMPLETED, List.of());\n return textPlagiarismResult;\n }\n catch (Exception ex) {\n log.warn(\"Text plagiarism detection NOT successful\", ex);\n throw new BadRequestAlertException(ex.getMessage(), \"Plagiarism Check\", \"jplagException\");\n }\n finally {\n plagiarismCacheService.finishPlagiarismCheck(courseId);\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/1aad2620fa5496fe517f20ebf180d47593aaa4a9.json b/web/public/bundles/artemis/code/1aad2620fa5496fe517f20ebf180d47593aaa4a9.json new file mode 100644 index 00000000..3347455b --- /dev/null +++ b/web/public/bundles/artemis/code/1aad2620fa5496fe517f20ebf180d47593aaa4a9.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "1aad2620fa5496fe517f20ebf180d47593aaa4a9", + "language": "typescript", + "path": "src/main/webapp/app/account/user/settings/exercises/ide-preferences/ide-settings.component.ts", + "schema": "codexray.code/1", + "text": "import { ChangeDetectionStrategy, Component, OnInit, WritableSignal, inject, signal } from '@angular/core';\nimport { firstValueFrom } from 'rxjs';\nimport { faPlus, faSpinner, faTrash } from '@fortawesome/free-solid-svg-icons';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { TumAetUiButtonComponent, TumAetUiButtonDirective } from '@tumaet/ui-angular/button';\nimport { TumAetUiListComponent, TumAetUiListItemDirective } from '@tumaet/ui-angular/list';\nimport { TumAetUiMenuComponent, TumAetUiMenuItemDirective, TumAetUiMenuTriggerDirective } from '@tumaet/ui-angular/menu';\nimport { TumAetUiSelectButtonComponent } from '@tumaet/ui-angular/select-button';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { HelpIconComponent } from 'app/shared-ui/components/help-icon/help-icon.component';\nimport { ProgrammingLanguage } from 'app/programming/shared/entities/programming-exercise.model';\nimport { IdeSettingsService } from 'app/account/user/settings/exercises/ide-preferences/ide-settings.service';\nimport { Ide } from 'app/account/user/settings/exercises/ide-preferences/ide.model';\n\n@Component({\n selector: 'jhi-ide-preferences',\n templateUrl: './ide-settings.component.html',\n styleUrls: ['./ide-settings.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n TranslateDirective,\n HelpIconComponent,\n NgTemplateOutlet,\n FaIconComponent,\n FormsModule,\n TumAetUiButtonComponent,\n TumAetUiButtonDirective,\n TumAetUiListComponent,\n TumAetUiListItemDirective,\n TumAetUiMenuComponent,\n TumAetUiMenuItemDirective,\n TumAetUiMenuTriggerDirective,\n TumAetUiSelectButtonComponent,\n ArtemisTranslatePipe,\n ],\n})\nexport class IdeSettingsComponent implements OnInit {\n private ideSettingsService = inject(IdeSettingsService);\n\n protected readonly ProgrammingLanguage = ProgrammingLanguage;\n protected readonly faPlus = faPlus;\n protected readonly faTrash = faTrash;\n protected readonly faSpinner = faSpinner;\n // Hides the IDE button rows until the predefined IDEs and the saved preferences have loaded, so the\n // selection is not first rendered on the VS Code default and then jumped to the actually saved IDE.\n readonly isLoading = signal(true);\n readonly PREDEFINED_IDE = signal([{ name: 'VS Code', deepLink: 'vscode://vscode.git/clone?url={cloneUrl}' }]);\n\n programmingLanguageToIde: WritableSignal> = signal(new Map([[ProgrammingLanguage.EMPTY, this.PREDEFINED_IDE()[0]]]));\n\n readonly assignedProgrammingLanguages = signal([]);\n // languages that have no IDE assigned yet\n readonly remainingProgrammingLanguages = signal(Object.values(ProgrammingLanguage).filter((x) => x !== ProgrammingLanguage.EMPTY));\n\n ngOnInit() {\n void this.initializeIdeSettingsComponent();\n }\n\n private async initializeIdeSettingsComponent(): Promise {\n try {\n // Load the predefined IDEs and the saved preferences together and only then render, so the\n // selection is shown correctly from the start instead of flashing on the VS Code default.\n const [predefinedIdes, programmingLanguageToIdeMap] = await Promise.all([\n firstValueFrom(this.ideSettingsService.loadPredefinedIdes()),\n this.ideSettingsService.loadIdePreferences(true),\n ]);\n\n this.PREDEFINED_IDE.set(predefinedIdes);\n\n if (!programmingLanguageToIdeMap.has(ProgrammingLanguage.EMPTY)) {\n programmingLanguageToIdeMap.set(ProgrammingLanguage.EMPTY, predefinedIdes[0]);\n }\n\n this.programmingLanguageToIde.set(programmingLanguageToIdeMap);\n\n // initialize assigned programming languages\n const assignedProgrammingLanguages: ProgrammingLanguage[] = Array.from(programmingLanguageToIdeMap.keys()).filter(\n (x: ProgrammingLanguage) => x !== ProgrammingLanguage.EMPTY,\n );\n this.assignedProgrammingLanguages.set(assignedProgrammingLanguages);\n\n // initialize remaining programming languages\n this.remainingProgrammingLanguages.set(\n Array.from(Object.values(ProgrammingLanguage).filter((x) => !assignedProgrammingLanguages.includes(x) && x !== ProgrammingLanguage.EMPTY)),\n );\n } finally {\n this.isLoading.set(false);\n }\n }\n\n addProgrammingLanguage(programmingLanguage: ProgrammingLanguage) {\n this.ideSettingsService.saveIdePreference(programmingLanguage, this.PREDEFINED_IDE()[0]).subscribe((ide) => {\n this.programmingLanguageToIde.update((map) => new Map(map.set(programmingLanguage, ide)));\n\n this.assignedProgrammingLanguages.update((languages) => [...languages, programmingLanguage]);\n this.remainingProgrammingLanguages.update((languages) => languages.filter((x) => x !== programmingLanguage));\n });\n }\n\n changeIde(programmingLanguage: ProgrammingLanguage, ide: Ide) {\n this.ideSettingsService.saveIdePreference(programmingLanguage, ide).subscribe({\n next: (savedIde) => {\n this.programmingLanguageToIde.update((map) => new Map(map.set(programmingLanguage, savedIde)));\n },\n // The control holds the option the user clicked, and a one-way binding only writes back when the\n // bound value changes. Republish the map so the selection snaps back to what is actually saved.\n error: () => this.programmingLanguageToIde.update((map) => new Map(map)),\n });\n }\n\n removeProgrammingLanguage(programmingLanguage: ProgrammingLanguage) {\n this.ideSettingsService.deleteIdePreference(programmingLanguage).subscribe(() => {\n const programmingLanguageToIdeMap: Map = new Map(this.programmingLanguageToIde());\n programmingLanguageToIdeMap.delete(programmingLanguage);\n\n this.programmingLanguageToIde.set(programmingLanguageToIdeMap);\n\n this.remainingProgrammingLanguages.update((languages) => [...languages, programmingLanguage]);\n this.assignedProgrammingLanguages.update((languages) => languages.filter((x) => x !== programmingLanguage));\n });\n }\n\n /**\n * Applies a selection made by deep link, which is what the option list writes: two `Ide` objects for the\n * same IDE are separate instances, so they are matched on their deep link rather than by identity.\n */\n changeIdeByDeepLink(programmingLanguage: ProgrammingLanguage, deepLink: unknown) {\n const ide = this.PREDEFINED_IDE().find((candidate) => candidate.deepLink === deepLink);\n if (ide) {\n this.changeIde(programmingLanguage, ide);\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/1b67287490faaaf3df8407af58e31f4d69181f49.json b/web/public/bundles/artemis/code/1b67287490faaaf3df8407af58e31f4d69181f49.json new file mode 100644 index 00000000..ea1adc9a --- /dev/null +++ b/web/public/bundles/artemis/code/1b67287490faaaf3df8407af58e31f4d69181f49.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "1b67287490faaaf3df8407af58e31f4d69181f49", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/VulnerabilityScanScheduleService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.admin.service;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.beans.factory.annotation.Value;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.scheduling.annotation.Scheduled;\nimport org.springframework.stereotype.Service;\nimport org.springframework.util.StringUtils;\n\nimport de.tum.cit.aet.artemis.admin.dto.ComponentVulnerabilitiesDTO;\nimport de.tum.cit.aet.artemis.core.dto.ArtemisVersionDTO;\nimport de.tum.cit.aet.artemis.core.service.ArtemisVersionService;\nimport de.tum.cit.aet.artemis.core.service.ProfileService;\nimport de.tum.cit.aet.artemis.notification.dto.MailRecipientDTO;\nimport de.tum.cit.aet.artemis.notification.service.notifications.MailService;\n\n/**\n * Service responsible for scheduling weekly vulnerability scans and sending email notifications to administrators.\n *

\n * This service runs a cron job once per week to fetch security vulnerabilities from the OSV API\n * and sends a summary email to the configured admin email address. If critical or high severity vulnerabilities\n * are found and a new Artemis release is available, the email includes a recommendation to upgrade.\n *

\n * The scheduled cron job only runs on nodes with the scheduling profile to prevent duplicate emails in a multi-node setup.\n * The email can also be triggered manually via REST API from any node.\n *

\n * The email is only sent on production servers, not on test servers or development environments.\n */\n@Lazy\n@Service\n@Profile(PROFILE_CORE)\npublic class VulnerabilityScanScheduleService {\n\n private static final Logger log = LoggerFactory.getLogger(VulnerabilityScanScheduleService.class);\n\n @Value(\"${info.contact:}\")\n private String adminEmail;\n\n @Value(\"${info.testServer:false}\")\n private boolean isTestServer;\n\n private final VulnerabilityService vulnerabilityService;\n\n private final ArtemisVersionService artemisVersionService;\n\n private final MailService mailService;\n\n private final ProfileService profileService;\n\n private final SbomService sbomService;\n\n /**\n * Creates a new VulnerabilityScanScheduleService with the required dependencies.\n *\n * @param vulnerabilityService the service for fetching vulnerability data\n * @param artemisVersionService the service for checking Artemis version information\n * @param mailService the service for sending emails\n * @param profileService the service for checking active profiles\n * @param sbomService the service used to check whether SBOM resources are present in this build\n */\n public VulnerabilityScanScheduleService(VulnerabilityService vulnerabilityService, ArtemisVersionService artemisVersionService, MailService mailService,\n ProfileService profileService, SbomService sbomService) {\n this.vulnerabilityService = vulnerabilityService;\n this.artemisVersionService = artemisVersionService;\n this.mailService = mailService;\n this.profileService = profileService;\n this.sbomService = sbomService;\n }\n\n /**\n * Scheduled task that runs weekly to scan for vulnerabilities and send email notifications.\n *

\n * The job runs every Monday at 8:00 AM by default. It can be configured via the\n * {@code artemis.scheduling.vulnerability-scan-time} property.\n *

\n * The email notification includes:\n *

    \n *
  • A summary of vulnerabilities by severity (critical, high, medium, low)
  • \n *
  • The timestamp of the last vulnerability check
  • \n *
  • A recommendation to upgrade if there are high/critical vulnerabilities AND a new release is available
  • \n *
\n *

\n * The scan is skipped on:\n *

    \n *
  • Nodes without the scheduling profile (to prevent duplicate emails in multi-node deployments)
  • \n *
  • Development environments
  • \n *
  • Test servers
  • \n *
\n */\n @Scheduled(cron = \"${artemis.scheduling.vulnerability-scan-time:0 0 8 * * MON}\")\n public void scanVulnerabilitiesAndNotifyAdmin() {\n if (!profileService.isSchedulingActive()) {\n // Only run on nodes with the scheduling profile to prevent duplicate emails\n return;\n }\n\n if (profileService.isDevActive()) {\n // Do not execute this in a development environment\n // NOTE: if you want to test this locally, please comment it out, but do not commit the changes\n return;\n }\n\n if (isTestServer) {\n // Do not send vulnerability emails on test servers\n log.debug(\"Skipping vulnerability scan email on test server\");\n return;\n }\n\n sendVulnerabilityScanEmail();\n }\n\n /**\n * Sends a vulnerability scan email to the configured admin address.\n * This method can be called manually to trigger an email on demand.\n *\n * @return true if the email was sent successfully, false if admin email is not configured or sending failed\n */\n public boolean sendVulnerabilityScanEmail() {\n log.info(\"Starting vulnerability scan email\");\n\n // The WAR may have been built without an SBOM (PR / feature-branch CI builds skip\n // generation; only release-eligible CI runs include it). Without an SBOM there are\n // no components to scan, so refreshVulnerabilities would return an empty result.\n // Skip the run entirely to avoid emailing administrators an empty \"0 vulnerabilities\"\n // report every Monday on staging-style deployments.\n if (!sbomService.isSbomAvailable()) {\n log.info(\"Skipping vulnerability scan email: no SBOM is bundled with this build\");\n return false;\n }\n\n // Check if admin email is configured\n if (!StringUtils.hasText(adminEmail)) {\n log.warn(\"Admin email (info.contact) is not configured. Cannot send vulnerability scan notification email.\");\n return false;\n }\n\n try {\n // Refresh vulnerability data from OSV API\n ComponentVulnerabilitiesDTO vulnerabilities = vulnerabilityService.refreshVulnerabilities();\n\n // Get version information to check if an update is available\n ArtemisVersionDTO versionInfo = artemisVersionService.getVersionInfo();\n\n // Determine if we should recommend an upgrade\n boolean hasHighOrCriticalVulnerabilities = vulnerabilities.criticalCount() > 0 || vulnerabilities.highCount() > 0;\n boolean shouldRecommendUpgrade = hasHighOrCriticalVulnerabilities && versionInfo.updateAvailable();\n\n MailRecipientDTO recipient = MailRecipientDTO.forAdministrator(adminEmail, \"vulnerability-scan-recipient\");\n mailService.sendVulnerabilityScanResultEmail(recipient, vulnerabilities, versionInfo, shouldRecommendUpgrade);\n\n log.info(\"Vulnerability scan completed. Found {} total vulnerabilities ({} critical, {} high, {} medium, {} low). Email sent to {}.\",\n vulnerabilities.totalVulnerabilities(), vulnerabilities.criticalCount(), vulnerabilities.highCount(), vulnerabilities.mediumCount(), vulnerabilities.lowCount(),\n adminEmail);\n return true;\n }\n catch (Exception e) {\n log.error(\"Failed to complete vulnerability scan or send notification email\", e);\n return false;\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/1bb7dbced36afd845a30d79d8064ff1d20033daf.json b/web/public/bundles/artemis/code/1bb7dbced36afd845a30d79d8064ff1d20033daf.json new file mode 100644 index 00000000..2ccb59fb --- /dev/null +++ b/web/public/bundles/artemis/code/1bb7dbced36afd845a30d79d8064ff1d20033daf.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "1bb7dbced36afd845a30d79d8064ff1d20033daf", + "language": "typescript", + "path": "src/main/webapp/app/lti/shared/lti.route.ts", + "schema": "codexray.code/1", + "text": "import { Routes } from '@angular/router';\n\nimport { IS_AT_LEAST_ADMIN, IS_AT_LEAST_INSTRUCTOR } from 'app/foundation/constants/authority.constants';\nimport { UserRouteAccessService } from 'app/core/auth/user-route-access-service';\n\nexport const ltiLaunchRoutes: Routes = [\n {\n path: 'launch',\n loadComponent: () => import('app/lti/overview/lti13-exercise-launch/lti13-exercise-launch.component').then((m) => m.Lti13ExerciseLaunchComponent),\n data: {\n pageTitle: 'artemisApp.lti13.launch.title',\n },\n },\n {\n path: 'dynamic-registration',\n loadComponent: () => import('app/lti/overview/lti13-dynamic-registration/lti13-dynamic-registration.component').then((m) => m.Lti13DynamicRegistrationComponent),\n data: {\n authorities: IS_AT_LEAST_ADMIN,\n pageTitle: 'artemisApp.lti13.dynamicRegistration.title',\n },\n canActivate: [UserRouteAccessService],\n },\n {\n path: 'select-content',\n loadComponent: () => import('app/lti/overview/lti13-select-content/lti13-select-content.component').then((m) => m.Lti13SelectContentComponent),\n data: {\n pageTitle: 'artemisApp.lti13.deepLinking.title',\n },\n },\n {\n path: 'select-course',\n loadComponent: () => import('app/lti/manage/lti13-select-course/lti13-select-course.component').then((m) => m.LtiCoursesComponent),\n data: {\n authorities: IS_AT_LEAST_INSTRUCTOR,\n pageTitle: 'artemisApp.lti13.selectCourse',\n },\n canActivate: [UserRouteAccessService],\n },\n {\n path: 'exercises/:courseId',\n loadComponent: () => import('app/lti/manage/lti13-deep-linking/lti13-deep-linking.component').then((m) => m.Lti13DeepLinkingComponent),\n data: {\n authorities: IS_AT_LEAST_INSTRUCTOR,\n pageTitle: 'artemisApp.lti13.deepLinking.title',\n },\n canActivate: [UserRouteAccessService],\n },\n];\n" +} diff --git a/web/public/bundles/artemis/code/1c3f76d31580e9c2a0188b6e00c8358bd0de9274.json b/web/public/bundles/artemis/code/1c3f76d31580e9c2a0188b6e00c8358bd0de9274.json new file mode 100644 index 00000000..e95f0ed7 --- /dev/null +++ b/web/public/bundles/artemis/code/1c3f76d31580e9c2a0188b6e00c8358bd0de9274.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "1c3f76d31580e9c2a0188b6e00c8358bd0de9274", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/LocalCIMissingJobService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.localci.service;\n\nimport java.time.ZonedDateTime;\nimport java.util.List;\nimport java.util.concurrent.TimeUnit;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.beans.factory.annotation.Value;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.data.domain.PageRequest;\nimport org.springframework.data.domain.Pageable;\nimport org.springframework.data.domain.Slice;\nimport org.springframework.scheduling.annotation.Scheduled;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.buildagent.dto.BuildJobQueueItem;\nimport de.tum.cit.aet.artemis.exercise.repository.ParticipationRepository;\nimport de.tum.cit.aet.artemis.localci.domain.BuildJob;\nimport de.tum.cit.aet.artemis.localci.repository.BuildJobRepository;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingExerciseParticipation;\nimport de.tum.cit.aet.artemis.programming.domain.build.BuildStatus;\n\n/**\n * Schedule service for detecting and retrying missing build jobs in the LocalCI system\n */\n@Lazy\n@Service\n@Profile(\"localci & scheduling\")\npublic class LocalCIMissingJobService {\n\n private static final Logger log = LoggerFactory.getLogger(LocalCIMissingJobService.class);\n\n private final BuildJobRepository buildJobRepository;\n\n private final LocalCITriggerService localCITriggerService;\n\n private final ParticipationRepository participationRepository;\n\n private final DistributedDataAccessService distributedDataAccessService;\n\n @Value(\"${artemis.continuous-integration.max-missing-job-retries:3}\")\n private int maxMissingJobRetries;\n\n public LocalCIMissingJobService(BuildJobRepository buildJobRepository, LocalCITriggerService localCITriggerService, ParticipationRepository participationRepository,\n DistributedDataAccessService distributedDataAccessService) {\n this.buildJobRepository = buildJobRepository;\n this.localCITriggerService = localCITriggerService;\n this.participationRepository = participationRepository;\n this.distributedDataAccessService = distributedDataAccessService;\n }\n\n /**\n * Periodically checks the status of pending build jobs and updates their status if they are missing.\n *

\n * This scheduled task ensures that build jobs which are stuck in the QUEUED or BUILDING state for too long\n * are detected and marked as MISSING if their status cannot be verified. This helps prevent indefinite\n * waiting states due to external failures or inconsistencies in the CI system.\n *

\n *

\n * This mechanism is necessary because build jobs are managed externally, and various failure scenarios\n * can lead to jobs being lost without Artemis being notified:\n *

\n *
    \n *
  • Application crashes or restarts while build job was queued
  • \n *
  • network issues leading to Hazelcast data loss
  • \n *
  • Build agent crashes or is disconnected
  • \n *
\n */\n @Scheduled(fixedRateString = \"${artemis.continuous-integration.check-job-status-interval-seconds:300}\", initialDelayString = \"${artemis.continuous-integration.check-job-status-delay-seconds:60}\", timeUnit = TimeUnit.SECONDS)\n public void checkPendingBuildJobsStatus() {\n log.debug(\"Checking pending build jobs status\");\n List pendingBuildJobs = buildJobRepository.findAllByBuildStatusIn(List.of(BuildStatus.QUEUED, BuildStatus.BUILDING));\n ZonedDateTime now = ZonedDateTime.now();\n final int buildJobExpirationInMinutes = 5; // If a build job is older than 5 minutes, and it's status can't be determined, set it to missing\n\n var queuedJobs = distributedDataAccessService.getQueuedJobs();\n var processingJobs = distributedDataAccessService.getProcessingJobIds();\n\n for (BuildJob buildJob : pendingBuildJobs) {\n var submissionDate = buildJob.getBuildSubmissionDate();\n if (submissionDate == null || submissionDate.isAfter(now.minusMinutes(buildJobExpirationInMinutes))) {\n log.debug(\"Build job with id {} is too recent to check\", buildJob.getBuildJobId());\n continue;\n }\n if (buildJob.getBuildStatus() == BuildStatus.QUEUED && checkIfBuildJobIsStillQueued(queuedJobs, buildJob.getBuildJobId())) {\n log.debug(\"Build job with id {} is still queued\", buildJob.getBuildJobId());\n continue;\n }\n if (checkIfBuildJobIsStillBuilding(processingJobs, buildJob.getBuildJobId())) {\n log.debug(\"Build job with id {} is still building\", buildJob.getBuildJobId());\n continue;\n }\n log.error(\"Build job with id {} is in an unknown state\", buildJob.getBuildJobId());\n // If the build job is in an unknown state, set it to missing and update the build start date\n buildJobRepository.updateBuildJobStatus(buildJob.getBuildJobId(), BuildStatus.MISSING);\n }\n }\n\n /**\n * Periodically retries missing build jobs: Retrieves a slice of missing build jobs from the last hour and attempts to retry them.\n * If a build job has reached the maximum number of retries, it will not be retried again.\n */\n @Scheduled(fixedRateString = \"${artemis.continuous-integration.retry-missing-jobs-interval-seconds:300}\", initialDelayString = \"${artemis.continuous-integration.retry-missing-jobs-delay-seconds:120}\", timeUnit = TimeUnit.SECONDS)\n public void retryMissingJobs() {\n log.debug(\"Checking for missing build jobs to retry\");\n\n Slice missingJobsSlice = getMissingJobsToRetrySliceOfLastHour(50);\n List missingJobs = missingJobsSlice.getContent();\n log.debug(\"Processing {} missing build jobs to retry\", missingJobs.size());\n\n for (BuildJob buildJob : missingJobs) {\n if (buildJob.getRetryCount() >= maxMissingJobRetries) {\n log.warn(\"Build job with id {} for participation {} has reached the maximum number of {} retries and will not be retried.\", buildJob.getBuildJobId(),\n buildJob.getParticipationId(), maxMissingJobRetries);\n continue;\n }\n try {\n localCITriggerService.retryBuildJob(buildJob, (ProgrammingExerciseParticipation) participationRepository.findByIdElseThrow(buildJob.getParticipationId()));\n buildJobRepository.incrementRetryCount(buildJob.getBuildJobId());\n }\n catch (Exception e) {\n log.error(\"Failed to retry build job with id {} for participation {}\", buildJob.getBuildJobId(), buildJob.getParticipationId(), e);\n }\n }\n\n if (missingJobsSlice.hasNext()) {\n log.debug(\"There are more missing jobs to process in the next scheduled run.\");\n }\n }\n\n private boolean checkIfBuildJobIsStillBuilding(List processingJobIds, String buildJobId) {\n return processingJobIds.contains(buildJobId);\n }\n\n private boolean checkIfBuildJobIsStillQueued(List queuedJobs, String buildJobId) {\n return queuedJobs.stream().anyMatch(job -> job.id().equals(buildJobId));\n }\n\n /**\n * Retrieves a slice of missing build jobs submitted within the last hour that do not have a newer job for the same participation.\n *\n * @param maxResults the maximum number of results to retrieve\n * @return a slice of missing build jobs\n */\n private Slice getMissingJobsToRetrySliceOfLastHour(int maxResults) {\n Pageable pageable = PageRequest.of(0, maxResults);\n ZonedDateTime now = ZonedDateTime.now();\n ZonedDateTime oneHourAgo = now.minusHours(1);\n return buildJobRepository.findMissingJobsToRetryInTimeRange(oneHourAgo, now, pageable);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/1c4a20ba9a16b30bd936c4e38d8e676bf40db19d.json b/web/public/bundles/artemis/code/1c4a20ba9a16b30bd936c4e38d8e676bf40db19d.json new file mode 100644 index 00000000..3a46a01e --- /dev/null +++ b/web/public/bundles/artemis/code/1c4a20ba9a16b30bd936c4e38d8e676bf40db19d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "1c4a20ba9a16b30bd936c4e38d8e676bf40db19d", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/exercisegeneration/persistence/GenerationGrading.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.hyperion.service.exercisegeneration.persistence;\n\nimport java.io.Serializable;\nimport java.util.ArrayList;\nimport java.util.LinkedHashMap;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Objects;\nimport java.util.stream.Collectors;\n\nimport org.jspecify.annotations.Nullable;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport de.tum.cit.aet.artemis.assessment.domain.Visibility;\nimport de.tum.cit.aet.artemis.core.service.distributed.api.map.CanonicalMaps;\nimport de.tum.cit.aet.artemis.hyperion.runtime.verification.GeneratedTestPlan;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingExercise;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingExerciseTestCase;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingExerciseTestCaseType;\nimport de.tum.cit.aet.artemis.programming.repository.ProgrammingExerciseTestCaseRepository;\nimport de.tum.cit.aet.artemis.programming.service.ProgrammingExerciseCreationScheduleService;\n\n/** Applies verified grading plans and restores only the grading fields Hyperion changes. */\npublic final class GenerationGrading {\n\n private static final Logger log = LoggerFactory.getLogger(GenerationGrading.class);\n\n private final ProgrammingExerciseTestCaseRepository testCaseRepository;\n\n private final ProgrammingExerciseCreationScheduleService programmingExerciseCreationScheduleService;\n\n GenerationGrading(ProgrammingExerciseTestCaseRepository testCaseRepository, ProgrammingExerciseCreationScheduleService scheduleService) {\n this.testCaseRepository = testCaseRepository;\n this.programmingExerciseCreationScheduleService = scheduleService;\n }\n\n /** Immutable grading values, detached from the entities modified during generation. */\n public record Snapshot(Map tests) implements Serializable {\n\n public static final Snapshot EMPTY = new Snapshot(Map.of());\n\n public Snapshot {\n // Keep detached grading snapshots deterministic across encoding round trips.\n tests = CanonicalMaps.copyOf(tests);\n }\n }\n\n /** Grading values captured for guarded restoration. */\n public record Grading(@Nullable Double weight, @Nullable Visibility visibility, @Nullable Double bonusPoints) implements Serializable {\n\n static Grading of(ProgrammingExerciseTestCase test) {\n return new Grading(test.getWeight(), test.getVisibility(), test.getBonusPoints());\n }\n }\n\n Snapshot capture(long exerciseId) {\n Map tests = new LinkedHashMap<>();\n for (ProgrammingExerciseTestCase test : testCaseRepository.findByExerciseId(exerciseId)) {\n tests.put(test.getTestName(), Grading.of(test));\n }\n return new Snapshot(tests);\n }\n\n boolean canRestore(long exerciseId, Snapshot previous, Snapshot saved) {\n if (previous == null || saved == null) {\n return false;\n }\n Map current = capture(exerciseId).tests();\n return current.keySet().containsAll(previous.tests().keySet()) && saved.tests().entrySet().stream().allMatch(\n entry -> Objects.equals(current.get(entry.getKey()), entry.getValue()) || Objects.equals(current.get(entry.getKey()), previous.tests().get(entry.getKey())));\n }\n\n void restore(long exerciseId, Snapshot previous, Snapshot saved) {\n if (!canRestore(exerciseId, previous, saved)) {\n throw new IllegalStateException(\"Test grading changed after generation; refusing to overwrite instructor edits\");\n }\n List changed = new ArrayList<>();\n for (ProgrammingExerciseTestCase test : testCaseRepository.findByExerciseId(exerciseId)) {\n Grading target = previous.tests().get(test.getTestName());\n if (target != null && !target.equals(Grading.of(test))) {\n test.setWeight(target.weight());\n test.setVisibility(target.visibility());\n test.setBonusPoints(target.bonusPoints());\n changed.add(test);\n }\n }\n if (!changed.isEmpty()) {\n testCaseRepository.saveAll(changed);\n }\n if (!previous.equals(saved)) {\n programmingExerciseCreationScheduleService.scheduleOperations(exerciseId);\n }\n }\n\n static @Nullable GeneratedTestPlan validatePlan(ProgrammingExercise exercise, @Nullable String testPlanJson) {\n if (testPlanJson == null || testPlanJson.isBlank()) {\n return null;\n }\n GeneratedTestPlan plan = GeneratedTestPlan.parse(testPlanJson);\n if (!plan.hiddenEntries().isEmpty() && exercise.getDueDate() == null) {\n throw new IllegalStateException(\"The verified test plan contains AFTER_DUE_DATE tests, but exercise \" + exercise.getId() + \" has no due date\");\n }\n return plan;\n }\n\n void apply(ProgrammingExercise exercise, @Nullable String testPlanJson, Runnable beforeDurableMutation) {\n GeneratedTestPlan plan = validatePlan(exercise, testPlanJson);\n if (plan == null) {\n return;\n }\n // Build synchronization retains replaced tests as inactive rows. Only the active suite must match the verified plan.\n Map byName = testCaseRepository.findByExerciseId(exercise.getId()).stream()\n .filter(testCase -> Boolean.TRUE.equals(testCase.isActive()))\n .collect(Collectors.toMap(ProgrammingExerciseTestCase::getTestName, testCase -> testCase, (first, second) -> first));\n List plannedStructuralNames = plan.tests().stream().map(GeneratedTestPlan.Entry::name).filter(byName::containsKey)\n .filter(name -> byName.get(name).getType() == ProgrammingExerciseTestCaseType.STRUCTURAL).sorted().toList();\n if (!plannedStructuralNames.isEmpty()) {\n throw new IllegalStateException(\"The verified test plan contains server-classified structural tests, which cannot carry grading decisions: \" + plannedStructuralNames);\n }\n List unresolvedNames = plan.tests().stream().map(GeneratedTestPlan.Entry::name).filter(name -> !byName.containsKey(name)).sorted().toList();\n List unplannedNames = byName.values().stream().filter(testCase -> testCase.getType() != ProgrammingExerciseTestCaseType.STRUCTURAL)\n .map(ProgrammingExerciseTestCase::getTestName).filter(name -> plan.tests().stream().noneMatch(entry -> entry.name().equals(name))).sorted().toList();\n if (!unresolvedNames.isEmpty() || !unplannedNames.isEmpty()) {\n throw new IllegalStateException(\n \"The synchronized test cases no longer match the verified test plan. Missing saved tests: \" + unresolvedNames + \"; unplanned saved tests: \" + unplannedNames);\n }\n List changed = new ArrayList<>();\n Map effectiveWeights = plan.effectiveWeightsByName();\n for (GeneratedTestPlan.Entry entry : plan.tests()) {\n ProgrammingExerciseTestCase testCase = byName.get(entry.name());\n Double weight = effectiveWeights.get(entry.name());\n Visibility visibility = \"AFTER_DUE_DATE\".equals(entry.visibility()) ? Visibility.AFTER_DUE_DATE : Visibility.ALWAYS;\n Double bonusPoints = entry.purpose() == GeneratedTestPlan.Purpose.PRESERVATION ? 0.0 : testCase.getBonusPoints();\n if (!Objects.equals(testCase.getWeight(), weight) || testCase.getVisibility() != visibility || !Objects.equals(testCase.getBonusPoints(), bonusPoints)) {\n testCase.setWeight(weight);\n testCase.setVisibility(visibility);\n testCase.setBonusPoints(bonusPoints);\n changed.add(testCase);\n }\n }\n byName.values().stream().filter(testCase -> testCase.getType() == ProgrammingExerciseTestCaseType.STRUCTURAL).forEach(testCase -> {\n if (!Objects.equals(testCase.getWeight(), 0.0) || testCase.getVisibility() != Visibility.ALWAYS) {\n testCase.setWeight(0.0);\n testCase.setVisibility(Visibility.ALWAYS);\n changed.add(testCase);\n }\n });\n if (!changed.isEmpty()) {\n beforeDurableMutation.run();\n testCaseRepository.saveAll(changed);\n }\n boolean scheduleDueDateRecalculation = !plan.hiddenEntries().isEmpty();\n log.info(\"Applied generated test plan to exercise {}: updated grading for {} tests; plan contains {} tests hidden until the due date\", exercise.getId(), changed.size(),\n plan.hiddenEntries().size());\n if (scheduleDueDateRecalculation) {\n programmingExerciseCreationScheduleService.scheduleOperations(exercise.getId());\n }\n }\n\n}\n" +} diff --git a/web/public/bundles/artemis/code/1c6496dd290bc0a78f0c1e184e58cff80b11014a.json b/web/public/bundles/artemis/code/1c6496dd290bc0a78f0c1e184e58cff80b11014a.json new file mode 100644 index 00000000..6093a45d --- /dev/null +++ b/web/public/bundles/artemis/code/1c6496dd290bc0a78f0c1e184e58cff80b11014a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "1c6496dd290bc0a78f0c1e184e58cff80b11014a", + "language": "typescript", + "path": "src/main/webapp/app/editor/monaco-editor/model/actions/attachment.action.ts", + "schema": "codexray.code/1", + "text": "import { faImage } from '@fortawesome/free-solid-svg-icons';\nimport { TextEditorAction } from 'app/editor/monaco-editor/model/actions/text-editor-action.model';\nimport { TextEditor } from 'app/editor/monaco-editor/model/actions/adapter/text-editor.interface';\nimport { sanitizeStringForMarkdownEditor } from 'app/foundation/util/markdown.util';\nimport { Disposable } from 'app/editor/monaco-editor/model/actions/monaco-editor.util';\nimport { TranslateService } from '@ngx-translate/core';\n\ninterface AttachmentArguments {\n text: string;\n url: string;\n}\n\n/**\n * Action to insert an attachment into the editor. They follow the format ![text](url).\n */\nexport class AttachmentAction extends TextEditorAction {\n static readonly ID = 'attachment.action';\n static readonly DEFAULT_INSERT_TEXT = '![](https://)';\n\n private disposablePasteListener?: Disposable;\n private uploadCallback?: (files: File[]) => void;\n private openFileDialogCallback?: () => void;\n\n constructor(private canExecute: () => boolean = () => true) {\n super(AttachmentAction.ID, 'artemisApp.multipleChoiceQuestion.editor.imageUpload', faImage, undefined);\n }\n\n setExecutionGuard(canExecute: () => boolean): void {\n this.canExecute = canExecute;\n }\n\n /**\n * Sets the callback to be called when files are pasted into the editor. The callback will be reset to undefined when the action is disposed.\n * @param callback The callback to call when files are pasted into the editor.\n */\n setUploadCallback(callback?: (files: File[]) => void) {\n this.uploadCallback = callback;\n }\n\n /**\n * Sets the callback to be called when the attachment action is triggered without arguments and no text is selected.\n * This allows opening a file dialog for manual file selection. The callback will be reset to undefined when the action is disposed.\n * @param callback The callback to call when a file dialog should be opened.\n */\n setOpenFileDialogCallback(callback?: () => void) {\n this.openFileDialogCallback = callback;\n }\n\n override register(editor: TextEditor, translateService: TranslateService) {\n super.register(editor, translateService);\n this.disposablePasteListener = editor.addPasteListener(async (insertedText: string) => {\n // We do not read from the clipboard if the user pasted text. This prevents an unnecessary prompt on Firefox.\n if (!this.canExecute() || !this.uploadCallback || insertedText) {\n return;\n }\n const clipboardItems = await navigator.clipboard.read();\n const files: File[] = [];\n for (const clipboardItem of clipboardItems) {\n for (const type of clipboardItem.types) {\n if (type.startsWith('image/')) {\n // Map image type to extension.\n const extension = type.replace('image/', '');\n const blob = await clipboardItem.getType(type);\n files.push(new File([blob], `image.${extension}`, { type }));\n break;\n }\n }\n }\n if (this.canExecute()) {\n this.uploadCallback?.(files);\n }\n });\n }\n\n override dispose() {\n super.dispose();\n this.disposablePasteListener?.dispose();\n this.uploadCallback = undefined;\n this.openFileDialogCallback = undefined;\n }\n\n /**\n * Executes the action in the current editor with the given arguments (url and text).\n * @param args The text and url of the attachment to insert. If one or both are not provided, checks for selected text to wrap.\n */\n override executeInCurrentEditor(args?: AttachmentArguments): void {\n if (this.canExecute()) {\n super.executeInCurrentEditor(args);\n }\n }\n\n /**\n * Inserts, at the current selection, the attachment markdown with the given text and url if they were provided.\n * If no arguments are provided:\n * - If there is selected text, wraps it with ![selectedText](https://)\n * - If there is no selected text and a file dialog callback is configured, opens the file dialog\n * - Otherwise, inserts the default text\n * @param editor The editor in which to insert the attachment.\n * @param args The text and url of the attachment to insert. If one or both are not provided, checks for selected text or opens file dialog.\n */\n run(editor: TextEditor, args?: AttachmentArguments): void {\n const selectedText = this.getSelectedText(editor);\n if (!args?.text || !args?.url) {\n if (selectedText !== undefined && selectedText.length > 0) {\n this.wrapSelectionOrInsertDefault(editor, (text) => `![${sanitizeStringForMarkdownEditor(text)}](https://)`, AttachmentAction.DEFAULT_INSERT_TEXT);\n } else if (this.openFileDialogCallback) {\n this.openFileDialogCallback();\n } else {\n this.wrapSelectionOrInsertDefault(editor, () => AttachmentAction.DEFAULT_INSERT_TEXT, AttachmentAction.DEFAULT_INSERT_TEXT);\n }\n } else {\n this.replaceTextAtCurrentSelection(editor, `![${sanitizeStringForMarkdownEditor(args.text)}](${args.url})`);\n }\n editor.focus();\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/1c9daf4cef2e43e3a3e5f6f0b70d06ab8dddf999.json b/web/public/bundles/artemis/code/1c9daf4cef2e43e3a3e5f6f0b70d06ab8dddf999.json new file mode 100644 index 00000000..3ce19aa7 --- /dev/null +++ b/web/public/bundles/artemis/code/1c9daf4cef2e43e3a3e5f6f0b70d06ab8dddf999.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "1c9daf4cef2e43e3a3e5f6f0b70d06ab8dddf999", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/text/web/TextAssessmentEventResource.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.text.web;\n\nimport java.net.URI;\nimport java.net.URISyntaxException;\nimport java.util.Optional;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.beans.factory.annotation.Value;\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.http.ResponseEntity;\nimport org.springframework.web.bind.annotation.GetMapping;\nimport org.springframework.web.bind.annotation.PathVariable;\nimport org.springframework.web.bind.annotation.PostMapping;\nimport org.springframework.web.bind.annotation.RequestBody;\nimport org.springframework.web.bind.annotation.RequestMapping;\nimport org.springframework.web.bind.annotation.RestController;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.account.repository.UserRepository;\nimport de.tum.cit.aet.artemis.assessment.repository.TextAssessmentEventRepository;\nimport de.tum.cit.aet.artemis.core.security.annotations.EnforceAtLeastStudent;\nimport de.tum.cit.aet.artemis.core.security.annotations.ManualConfig;\nimport de.tum.cit.aet.artemis.core.security.annotations.enforceRoleInCourse.EnforceAtLeastInstructorInCourse;\nimport de.tum.cit.aet.artemis.core.service.AuthorizationCheckService;\nimport de.tum.cit.aet.artemis.core.service.featureusage.FeatureUsage;\nimport de.tum.cit.aet.artemis.core.service.featureusage.UserFeature;\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.course.repository.CourseRepository;\nimport de.tum.cit.aet.artemis.exercise.domain.Exercise;\nimport de.tum.cit.aet.artemis.text.config.TextEnabled;\nimport de.tum.cit.aet.artemis.text.domain.TextAssessmentEvent;\nimport de.tum.cit.aet.artemis.text.domain.TextSubmission;\nimport de.tum.cit.aet.artemis.text.dto.TextAssessmentEventInputDTO;\nimport de.tum.cit.aet.artemis.text.repository.TextSubmissionRepository;\n\n/**\n * REST controller for managing TextAssessmentEventResource.\n */\n@Conditional(TextEnabled.class)\n@Lazy\n@FeatureUsage(UserFeature.TUTOR_EFFORT)\n@RestController\n@RequestMapping(\"api/text/\")\npublic class TextAssessmentEventResource {\n\n private static final Logger log = LoggerFactory.getLogger(TextAssessmentEventResource.class);\n\n private final TextAssessmentEventRepository textAssessmentEventRepository;\n\n private final AuthorizationCheckService authCheckService;\n\n private final UserRepository userRepository;\n\n private final CourseRepository courseRepository;\n\n private final TextSubmissionRepository textSubmissionRepository;\n\n @Value(\"${info.textAssessmentAnalyticsEnabled}\")\n private Optional textAssessmentAnalyticsEnabled;\n\n public TextAssessmentEventResource(TextAssessmentEventRepository textAssessmentEventRepository, AuthorizationCheckService authCheckService, UserRepository userRepository,\n CourseRepository courseRepository, TextSubmissionRepository textSubmissionRepository) {\n this.textAssessmentEventRepository = textAssessmentEventRepository;\n this.authCheckService = authCheckService;\n this.userRepository = userRepository;\n this.courseRepository = courseRepository;\n this.textSubmissionRepository = textSubmissionRepository;\n }\n\n /**\n * The text assessment analytics are enabled when the configuration info.textAssessmentAnalyticsEnabled is set to true.\n * A non-existing entry or false mean that the text assessment analytics is not enabled\n *\n * @return whether the text assessment analytics are enabled or not\n */\n private boolean isTextAssessmentAnalyticsEnabled() {\n return textAssessmentAnalyticsEnabled.isPresent() && Boolean.TRUE.equals(textAssessmentAnalyticsEnabled.get());\n }\n\n /**\n * POST event-insights/text-assessment/events : Adds an assessment event into the text_assessment_event table.\n *\n * @param dto the DTO containing the event data to be added\n * @return the status of the finished request\n */\n @PostMapping(\"event-insights/text-assessment/events\")\n @EnforceAtLeastStudent\n @ManualConfig\n public ResponseEntity addAssessmentEvent(@RequestBody TextAssessmentEventInputDTO dto) throws URISyntaxException {\n log.debug(\"REST request to save assessmentEvent : {}\", dto);\n\n TextAssessmentEvent event = dto.toEntity();\n // Check if the text assessment analytics feature is enabled\n // Save the event if it is valid. All other requests are considered bad requests.\n if (isTextAssessmentAnalyticsEnabled() && validateEvent(event)) {\n textAssessmentEventRepository.save(event);\n return ResponseEntity.created(new URI(\"/api/text/admin/event-insights/text-assessment/events?courseId=\" + event.getCourseId())).build();\n }\n // TODO: this is not really nice, because the reason for the bad request is not given\n return ResponseEntity.badRequest().build();\n }\n\n /**\n * GET event-insights/text-assessment/courses/{courseId}/text-exercises/{exerciseId}/tutors-involved : get the number of the tutors involved in the list of events\n *\n * @param courseId the id of the course to query events for\n * @param exerciseId the id of the exercise to query events for\n * @return an integer representing the number of tutors involved for the respective course and exercise\n */\n @GetMapping(\"event-insights/text-assessment/courses/{courseId}/text-exercises/{exerciseId}/tutors-involved\")\n @EnforceAtLeastInstructorInCourse\n public ResponseEntity getNumberOfTutorsInvolved(@PathVariable Long courseId, @PathVariable Long exerciseId) {\n Integer numberOfTutors = textAssessmentEventRepository.getNumberOfTutorsInvolvedInAssessingByExerciseAndCourseId(courseId, exerciseId);\n log.debug(\"REST request to get number of tutors involved : {}\", numberOfTutors);\n return ResponseEntity.ok().body(numberOfTutors);\n }\n\n /**\n * This method checks that the event parameter is valid.\n * - The user id received should match the logged-in users id.\n * - The user should be at least tutor of the course\n * - The course id received should exist\n * - The exercise id received should be an exercise of the course.\n *\n * @param event the event to be validated\n * @return whether the event is valid or not\n */\n private boolean validateEvent(TextAssessmentEvent event) {\n // avoid access from tutor if they are not part of the course\n User user = userRepository.getUserWithAuthorities();\n\n // The ID check is defense-in-depth: the DTO doesn't have an ID field, so client-specified IDs\n // are silently ignored during JSON deserialization. This check guards against future changes.\n // Also reject if the logged-in user id and received event user id do not match,\n // or if the event submission id is null.\n if (event.getId() != null || !user.getId().equals(event.getUserId()) || event.getSubmissionId() == null) {\n return false;\n }\n\n // check if user has enough roles to access the course\n if (!isUserInCourseWithId(user, event.getCourseId())) {\n return false;\n }\n\n // check if the received event submission data is valid\n return isEventSubmissionValid(event);\n }\n\n /**\n * Checks if the given user is at least a tutor in the course with the given id\n *\n * @param user the user to be checked\n * @param courseId the id of the course that the user should be at least tutor of\n * @return whether the user is or isn't in the course specified\n */\n private boolean isUserInCourseWithId(User user, Long courseId) {\n Course course = courseRepository.findByIdElseThrow(courseId);\n return authCheckService.isAtLeastTeachingAssistantInCourse(course, user);\n }\n\n /**\n * Checks if the data corresponding to the submission in the given TextAssessmentEvent corresponds to an actual\n * non-example submission that exists in the database. In case such a submission doesn't exist in the database it should be ignored.\n *\n * @param event the event to be checked against the database\n * @return whether the event is valid or not\n */\n private boolean isEventSubmissionValid(TextAssessmentEvent event) {\n // Fetch the text submission by the received event submission id\n Optional textSubmission = textSubmissionRepository.findById(event.getSubmissionId());\n if (textSubmission.isEmpty()) {\n return false;\n }\n TextSubmission submission = textSubmission.get();\n // Ignore events for example submissions\n if (submission.isExampleSubmission() != null && submission.isExampleSubmission()) {\n return false;\n }\n\n // fetch all the relevant id's to be checked\n Long fetchedParticipationId = textSubmission.get().getParticipation().getId();\n Exercise fetchedExercise = textSubmission.get().getParticipation().getExercise();\n Long fetchedExerciseId = fetchedExercise.getId();\n Long fetchedCourseId = fetchedExercise.getCourseViaExerciseGroupOrCourseMember().getId();\n // check if ids of the event ids match with the actual datas id in the repository.\n return fetchedCourseId.equals(event.getCourseId()) && fetchedExerciseId.equals(event.getTextExerciseId()) && fetchedParticipationId.equals(event.getParticipationId());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/1ca3c0ffc13f7ad7c74b1d6fda5908a83abebd7e.json b/web/public/bundles/artemis/code/1ca3c0ffc13f7ad7c74b1d6fda5908a83abebd7e.json new file mode 100644 index 00000000..b25422e4 --- /dev/null +++ b/web/public/bundles/artemis/code/1ca3c0ffc13f7ad7c74b1d6fda5908a83abebd7e.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "1ca3c0ffc13f7ad7c74b1d6fda5908a83abebd7e", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/config/IrisDashboardProperties.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.iris.config;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\n\nimport java.util.ArrayList;\nimport java.util.List;\n\nimport jakarta.annotation.PostConstruct;\n\nimport org.springframework.boot.context.properties.ConfigurationProperties;\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Configuration;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\n\n@Configuration\n@Lazy(false)\n@Profile(PROFILE_CORE)\n@Conditional(IrisEnabled.class)\n@ConfigurationProperties(prefix = \"artemis.iris.dashboard\")\npublic class IrisDashboardProperties {\n\n private int maxQueryWindowDays = 90;\n\n private int staleThresholdMinutes = 5;\n\n private final Digest digest = new Digest();\n\n private final Alert alert = new Alert();\n\n /**\n * Validates that the configured property values are within acceptable ranges.\n */\n @PostConstruct\n public void validate() {\n if (maxQueryWindowDays <= 0) {\n throw new IllegalArgumentException(\"artemis.iris.dashboard.max-query-window-days must be > 0\");\n }\n if (staleThresholdMinutes <= 0) {\n throw new IllegalArgumentException(\"artemis.iris.dashboard.stale-threshold-minutes must be > 0\");\n }\n }\n\n public int getMaxQueryWindowDays() {\n return maxQueryWindowDays;\n }\n\n public void setMaxQueryWindowDays(int maxQueryWindowDays) {\n this.maxQueryWindowDays = maxQueryWindowDays;\n }\n\n public int getStaleThresholdMinutes() {\n return staleThresholdMinutes;\n }\n\n public void setStaleThresholdMinutes(int staleThresholdMinutes) {\n this.staleThresholdMinutes = staleThresholdMinutes;\n }\n\n public Digest getDigest() {\n return digest;\n }\n\n public Alert getAlert() {\n return alert;\n }\n\n public static class Digest {\n\n private boolean enabled = false;\n\n private String cron = \"0 0 7 * * *\";\n\n private List recipients = new ArrayList<>();\n\n public boolean isEnabled() {\n return enabled;\n }\n\n public void setEnabled(boolean enabled) {\n this.enabled = enabled;\n }\n\n public String getCron() {\n return cron;\n }\n\n public void setCron(String cron) {\n this.cron = cron;\n }\n\n public List getRecipients() {\n return recipients;\n }\n\n public void setRecipients(List recipients) {\n this.recipients = recipients;\n }\n }\n\n public static class Alert {\n\n private boolean enabled = false;\n\n private double noResponseRateThreshold = 10;\n\n private int checkIntervalMinutes = 30;\n\n private int cooldownMinutes = 360;\n\n private int lookbackMinutes = 60;\n\n private int minimumEligibleSessions = 10;\n\n private int minimumUserMessages = 20;\n\n private List recipients = new ArrayList<>();\n\n public boolean isEnabled() {\n return enabled;\n }\n\n public void setEnabled(boolean enabled) {\n this.enabled = enabled;\n }\n\n public double getNoResponseRateThreshold() {\n return noResponseRateThreshold;\n }\n\n public void setNoResponseRateThreshold(double noResponseRateThreshold) {\n this.noResponseRateThreshold = noResponseRateThreshold;\n }\n\n public int getCheckIntervalMinutes() {\n return checkIntervalMinutes;\n }\n\n public void setCheckIntervalMinutes(int checkIntervalMinutes) {\n this.checkIntervalMinutes = checkIntervalMinutes;\n }\n\n public int getCooldownMinutes() {\n return cooldownMinutes;\n }\n\n public void setCooldownMinutes(int cooldownMinutes) {\n this.cooldownMinutes = cooldownMinutes;\n }\n\n public int getLookbackMinutes() {\n return lookbackMinutes;\n }\n\n public void setLookbackMinutes(int lookbackMinutes) {\n this.lookbackMinutes = lookbackMinutes;\n }\n\n public int getMinimumEligibleSessions() {\n return minimumEligibleSessions;\n }\n\n public void setMinimumEligibleSessions(int minimumEligibleSessions) {\n this.minimumEligibleSessions = minimumEligibleSessions;\n }\n\n public int getMinimumUserMessages() {\n return minimumUserMessages;\n }\n\n public void setMinimumUserMessages(int minimumUserMessages) {\n this.minimumUserMessages = minimumUserMessages;\n }\n\n public List getRecipients() {\n return recipients;\n }\n\n public void setRecipients(List recipients) {\n this.recipients = recipients;\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/1d0425b528f6c19b57eb22bf94e85f0adfee8c0b.json b/web/public/bundles/artemis/code/1d0425b528f6c19b57eb22bf94e85f0adfee8c0b.json new file mode 100644 index 00000000..40e62b4d --- /dev/null +++ b/web/public/bundles/artemis/code/1d0425b528f6c19b57eb22bf94e85f0adfee8c0b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "1d0425b528f6c19b57eb22bf94e85f0adfee8c0b", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamDateApi.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exam.api;\n\nimport java.time.ZonedDateTime;\n\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.stereotype.Controller;\n\nimport de.tum.cit.aet.artemis.exam.config.ExamEnabled;\nimport de.tum.cit.aet.artemis.exam.domain.Exam;\nimport de.tum.cit.aet.artemis.exam.service.ExamDateService;\nimport de.tum.cit.aet.artemis.exercise.domain.participation.StudentParticipation;\n\n@Conditional(ExamEnabled.class)\n@Controller\n@Lazy\npublic class ExamDateApi extends AbstractExamApi {\n\n private final ExamDateService examDateService;\n\n public ExamDateApi(ExamDateService examDateService) {\n this.examDateService = examDateService;\n }\n\n public boolean isExamWithGracePeriodOver(Exam exam) {\n return examDateService.isExamWithGracePeriodOver(exam);\n }\n\n public boolean isIndividualExerciseWorkingPeriodOver(Exam exam, StudentParticipation studentParticipation) {\n return examDateService.isIndividualExerciseWorkingPeriodOver(exam, studentParticipation);\n }\n\n /**\n * Whether the student's working period is over, for a caller that holds only the exam's id.\n *\n * @param examId the exam the exercise belongs to\n * @param studentParticipation the participation to check\n * @return true if the working period is over\n */\n public boolean isIndividualExerciseWorkingPeriodOver(long examId, StudentParticipation studentParticipation) {\n return examDateService.isIndividualExerciseWorkingPeriodOver(examId, studentParticipation);\n }\n\n /**\n * Whether the exam is over including its grace period, for a caller that holds only the exam's id.\n *\n * @param examId the exam to check\n * @return true if the exam is over\n */\n public boolean isExamWithGracePeriodOver(long examId) {\n return examDateService.isExamWithGracePeriodOver(examId);\n }\n\n /**\n * Whether the student's working period for an exam exercise is over, for a caller holding a projection.\n *\n * @param exam the exam the exercise belongs to\n * @param testRun whether the participation is an instructor test run\n * @param participantId the id of the student the participation belongs to\n * @param participationId the id of the participation\n * @return true if the working period is over, false otherwise\n */\n public boolean isIndividualExerciseWorkingPeriodOver(Exam exam, boolean testRun, long participantId, long participationId) {\n return examDateService.isIndividualExerciseWorkingPeriodOver(exam, testRun, participantId, participationId);\n }\n\n public ZonedDateTime getLatestIndividualExamEndDate(Long examId) {\n return examDateService.getLatestIndividualExamEndDate(examId);\n }\n\n public ZonedDateTime getLatestIndividualExamEndDate(Exam exam) {\n return examDateService.getLatestIndividualExamEndDate(exam);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/1da9b5583e6a14cfb549eef1c917480690824214.json b/web/public/bundles/artemis/code/1da9b5583e6a14cfb549eef1c917480690824214.json new file mode 100644 index 00000000..692bd76a --- /dev/null +++ b/web/public/bundles/artemis/code/1da9b5583e6a14cfb549eef1c917480690824214.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "1da9b5583e6a14cfb549eef1c917480690824214", + "language": "typescript", + "path": "src/main/webapp/app/notification/course-notification/course-notification-preset-picker/course-notification-preset-picker.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, computed, input, output, signal } from '@angular/core';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { IconDefinition } from '@fortawesome/fontawesome-svg-core';\nimport { faBell, faBellSlash, faBullhorn, faChevronDown, faSliders } from '@fortawesome/free-solid-svg-icons';\nimport { CourseNotificationSettingPreset } from 'app/notification/shared/entities/course-notification/course-notification-setting-preset';\nimport { TumAetUiButtonDirective } from '@tumaet/ui-angular/button';\nimport { TumAetUiMenuComponent, TumAetUiMenuItemDirective, TumAetUiMenuTriggerDirective } from '@tumaet/ui-angular/menu';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\n\n/**\n * Component for selecting notification setting presets.\n * Displays a dropdown with available presets and handles selection events.\n */\n@Component({\n selector: 'jhi-course-notification-preset-picker',\n imports: [TranslateDirective, FaIconComponent, ArtemisTranslatePipe, TumAetUiButtonDirective, TumAetUiMenuComponent, TumAetUiMenuItemDirective, TumAetUiMenuTriggerDirective],\n templateUrl: './course-notification-preset-picker.component.html',\n})\nexport class CourseNotificationPresetPickerComponent {\n readonly availableCourseSettingPresets = input.required();\n readonly selectedCourseSettingPreset = input.required();\n readonly isSmallButton = input(false);\n\n readonly onPresetSelected = output();\n\n protected readonly faChevronDown = faChevronDown;\n\n // Custom preset (no `identifier`) falls back to the sliders icon; unknown identifiers use the default bell.\n private static readonly presetIcons: Record = {\n defaultUserCourseNotificationSettingPreset: faBell,\n allActivityUserCourseNotificationSettingPreset: faBullhorn,\n ignoreUserCourseNotificationSettingPreset: faBellSlash,\n customUserCourseNotificationSettingPreset: faSliders,\n };\n\n private recentlySelectedTimeout?: NodeJS.Timeout;\n // `isRecentlySelected` is flipped back to false inside a setTimeout callback, and the lang key derives\n // from a signal input; both are read in the template, so they must be reactive under zoneless.\n protected readonly isRecentlySelected = signal(false);\n protected readonly selectedPresetLangKey = computed(() => {\n const identifier = this.selectedCourseSettingPreset()?.identifier ?? 'customUserCourseNotificationSettingPreset';\n return 'artemisApp.courseNotification.preset.' + identifier + '.title';\n });\n\n /**\n * The icon shown on the toggle button, reflecting the currently selected preset\n * (or the custom preset when none is selected).\n */\n protected readonly selectedPresetIcon = computed(() => this.getPresetIcon(this.selectedCourseSettingPreset()?.identifier));\n\n /**\n * Returns the dedicated icon for a preset identifier so each option is visually distinguishable.\n *\n * @param identifier - The preset identifier, or undefined for the custom preset\n * @returns The FontAwesome icon representing the preset\n */\n protected getPresetIcon(identifier: string | undefined): IconDefinition {\n return CourseNotificationPresetPickerComponent.presetIcons[identifier ?? 'customUserCourseNotificationSettingPreset'] ?? faBell;\n }\n\n /**\n * Handles preset selection from the dropdown.\n * Emits the selected preset's type ID to the parent component.\n *\n * @param presetTypeId - The type ID of the selected preset\n */\n protected presetSelected(presetTypeId: number) {\n this.isRecentlySelected.set(true);\n if (this.recentlySelectedTimeout) {\n clearTimeout(this.recentlySelectedTimeout);\n }\n\n this.recentlySelectedTimeout = setTimeout(() => {\n this.isRecentlySelected.set(false);\n }, 5000);\n\n this.onPresetSelected.emit(presetTypeId);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/1f800902b586f714eab4744f5f4c86c39260c20a.json b/web/public/bundles/artemis/code/1f800902b586f714eab4744f5f4c86c39260c20a.json new file mode 100644 index 00000000..78f1fdd4 --- /dev/null +++ b/web/public/bundles/artemis/code/1f800902b586f714eab4744f5f4c86c39260c20a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "1f800902b586f714eab4744f5f4c86c39260c20a", + "language": "typescript", + "path": "src/main/webapp/app/programming/manage/status/programming-exercise-instructor-status.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, OnDestroy, computed, effect, inject, input, signal } from '@angular/core';\nimport { Subscription } from 'rxjs';\nimport { filter } from 'rxjs/operators';\nimport { ParticipationWebsocketService } from 'app/course/shared/services/participation-websocket.service';\nimport { Result } from 'app/exercise/shared/entities/result/result.model';\nimport { Participation } from 'app/exercise/shared/entities/participation/participation.model';\nimport { ProgrammingExercise } from 'app/programming/shared/entities/programming-exercise.model';\nimport { ProgrammingExerciseParticipationType } from 'app/programming/shared/entities/programming-exercise-participation.model';\nimport { findLatestResult } from 'app/foundation/util/utils';\nimport { SolutionProgrammingExerciseParticipation } from 'app/exercise/shared/entities/participation/solution-programming-exercise-participation.model';\nimport { TemplateProgrammingExerciseParticipation } from 'app/exercise/shared/entities/participation/template-programming-exercise-participation.model';\nimport { faExclamationTriangle } from '@fortawesome/free-solid-svg-icons';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { TumAetUiTooltipDirective } from '@tumaet/ui-angular/tooltip';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { getAllResultsOfAllSubmissions } from 'app/exercise/shared/entities/submission/submission.model';\nimport { programmingExerciseResultWarning } from './programming-exercise-result-warning.util';\n\n@Component({\n selector: 'jhi-programming-exercise-instructor-status',\n templateUrl: './programming-exercise-instructor-status.component.html',\n imports: [FaIconComponent, TumAetUiTooltipDirective, ArtemisTranslatePipe],\n})\nexport class ProgrammingExerciseInstructorStatusComponent implements OnDestroy {\n private participationWebsocketService = inject(ParticipationWebsocketService);\n\n ProgrammingExerciseParticipationType = ProgrammingExerciseParticipationType;\n\n readonly participationType = input();\n readonly participation = input();\n readonly exercise = input();\n\n protected readonly latestResult = signal(undefined);\n protected readonly warning = computed(() => programmingExerciseResultWarning(this.latestResult(), this.participationType()));\n resultSubscription?: Subscription;\n\n // Tracks the id of the participation the current subscription belongs to, so that the\n // subscription is only re-created when the participation actually changes (mirrors the\n // previous hasParticipationChanged guard, which also reacted to the first undefined -> value change).\n private subscribedParticipationId?: number;\n\n // Icons\n faExclamationTriangle = faExclamationTriangle;\n\n constructor() {\n // When the participation changes, get the latestResult from it and setup the result subscription for new results.\n effect(() => {\n const participation = this.participation();\n this.latestResult.set(findLatestResult(getAllResultsOfAllSubmissions(participation?.submissions)));\n if (this.subscribedParticipationId === participation?.id) {\n return;\n }\n this.subscribedParticipationId = participation?.id;\n this.resultSubscription?.unsubscribe();\n if (participation?.id !== undefined) {\n this.updateResultSubscription();\n }\n });\n }\n\n /**\n * If there is an existing subscription, unsubscribe.\n * Create a new subscription for the provided participation.\n */\n updateResultSubscription() {\n if (this.resultSubscription) {\n this.resultSubscription.unsubscribe();\n }\n\n this.resultSubscription = this.participationWebsocketService\n .subscribeForLatestResultOfParticipation(this.participation()!.id!, false, this.exercise()?.id)\n .pipe(filter((result) => !!result))\n .subscribe((result) => this.latestResult.set(result));\n }\n\n /**\n * If there is an existing subscription, unsubscribe.\n */\n ngOnDestroy(): void {\n if (this.resultSubscription) {\n this.resultSubscription.unsubscribe();\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/1f9817b2533f1d315ba74cf1e82615d52f502070.json b/web/public/bundles/artemis/code/1f9817b2533f1d315ba74cf1e82615d52f502070.json new file mode 100644 index 00000000..836de2de --- /dev/null +++ b/web/public/bundles/artemis/code/1f9817b2533f1d315ba74cf1e82615d52f502070.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "1f9817b2533f1d315ba74cf1e82615d52f502070", + "language": "typescript", + "path": "src/main/webapp/app/core/legal/legal-document.service.ts", + "schema": "codexray.code/1", + "text": "import { HttpClient, HttpParams } from '@angular/common/http';\nimport { Service, inject } from '@angular/core';\nimport { PrivacyStatement } from 'app/admin/legal/privacy-statement.model';\nimport { Observable } from 'rxjs';\nimport { LegalDocument, LegalDocumentLanguage, LegalDocumentType } from 'app/admin/legal/legal-document.model';\nimport { Imprint } from 'app/admin/legal/imprint.model';\n\n@Service()\nexport class LegalDocumentService {\n private http = inject(HttpClient);\n\n private resourceUrlPublicPrivacyStatement = 'api/core/public/privacy-statement';\n private resourceUrlPublicImprint = 'api/core/public/imprint';\n private resourceUrlImprintForUpdate = 'api/admin/imprint-for-update';\n private resourceUrlPrivacyStatementForUpdate = 'api/admin/privacy-statement-for-update';\n private resourceUrlImprintUpdate = 'api/admin/imprint';\n private resourceUrlPrivacyStatementUpdate = 'api/admin/privacy-statement';\n\n getPrivacyStatement(language: LegalDocumentLanguage): Observable {\n return this.getRequestToResource(language, LegalDocumentType.PRIVACY_STATEMENT);\n }\n\n getPrivacyStatementForUpdate(language: LegalDocumentLanguage): Observable {\n return this.getRequestForUpdateToResource(language, LegalDocumentType.PRIVACY_STATEMENT);\n }\n\n updatePrivacyStatement(privacyStatement: PrivacyStatement): Observable {\n return this.putRequestToResource(privacyStatement, LegalDocumentType.PRIVACY_STATEMENT);\n }\n\n getImprint(language: LegalDocumentLanguage): Observable {\n return this.getRequestToResource(language, LegalDocumentType.IMPRINT);\n }\n\n getImprintForUpdate(language: LegalDocumentLanguage): Observable {\n return this.getRequestForUpdateToResource(language, LegalDocumentType.IMPRINT);\n }\n\n updateImprint(imprint: Imprint): Observable {\n return this.putRequestToResource(imprint, LegalDocumentType.IMPRINT);\n }\n\n private getRequestToResource(language: LegalDocumentLanguage, type: LegalDocumentType): Observable {\n let resourceUrl = this.resourceUrlPublicPrivacyStatement;\n if (type === LegalDocumentType.IMPRINT) {\n resourceUrl = this.resourceUrlPublicImprint;\n }\n return this.http.get(resourceUrl, {\n params: new HttpParams().set('language', language),\n });\n }\n\n private getRequestForUpdateToResource(language: LegalDocumentLanguage, type: LegalDocumentType): Observable {\n let resourceUrl = this.resourceUrlPrivacyStatementForUpdate;\n if (type === LegalDocumentType.IMPRINT) {\n resourceUrl = this.resourceUrlImprintForUpdate;\n }\n return this.http.get(resourceUrl, {\n params: new HttpParams().set('language', language),\n });\n }\n\n private putRequestToResource(legalDocument: LegalDocument, type: LegalDocumentType): Observable {\n let resourceUrl = this.resourceUrlPrivacyStatementUpdate;\n if (type === LegalDocumentType.IMPRINT) {\n resourceUrl = this.resourceUrlImprintUpdate;\n }\n return this.http.put(resourceUrl, legalDocument);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/1fb84fc38c51387a82af74aff429ebe5ef3ed8c8.json b/web/public/bundles/artemis/code/1fb84fc38c51387a82af74aff429ebe5ef3ed8c8.json new file mode 100644 index 00000000..6e696314 --- /dev/null +++ b/web/public/bundles/artemis/code/1fb84fc38c51387a82af74aff429ebe5ef3ed8c8.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "1fb84fc38c51387a82af74aff429ebe5ef3ed8c8", + "language": "typescript", + "path": "src/main/webapp/app/lecture/manage/lecture-period/lecture-timeline.component.ts", + "schema": "codexray.code/1", + "text": "import { ChangeDetectionStrategy, Component, computed, effect, model, output, signal } from '@angular/core';\nimport { TumAetUiDatePickerComponent } from '@tumaet/ui-angular/date-picker';\nimport { TumAetUiMessageComponent } from '@tumaet/ui-angular/message';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { Dayjs } from 'dayjs/esm';\n\n/** Start and end of a lecture. Both are optional; when both are set, the end has to come after the start. */\n@Component({\n selector: 'jhi-lecture-timeline',\n templateUrl: './lecture-timeline.component.html',\n styleUrl: './lecture-timeline.component.css',\n imports: [TranslateDirective, ArtemisTranslatePipe, TumAetUiDatePickerComponent, TumAetUiMessageComponent],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class LectureTimelineComponent {\n readonly startDate = model();\n readonly endDate = model();\n /** Whether each field holds a date or nothing, and the end comes after the start. */\n readonly periodValidChange = output();\n readonly datesChanged = output();\n\n /** The picker keeps its last valid value while the typed text is not a date yet, so that text is tracked separately. */\n protected readonly isStartTextValid = signal(true);\n protected readonly isEndTextValid = signal(true);\n\n readonly isEndBeforeStart = computed(() => {\n const startDate = this.startDate();\n const endDate = this.endDate();\n return !!startDate?.isValid() && !!endDate?.isValid() && !endDate.isAfter(startDate);\n });\n\n readonly isValid = computed(() => this.isStartTextValid() && this.isEndTextValid() && !this.isEndBeforeStart());\n\n constructor() {\n effect(() => {\n this.startDate();\n this.endDate();\n this.datesChanged.emit();\n });\n\n effect(() => this.periodValidChange.emit(this.isValid()));\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/21dcfd6b91a710c9de3469feb68427a6405d263b.json b/web/public/bundles/artemis/code/21dcfd6b91a710c9de3469feb68427a6405d263b.json new file mode 100644 index 00000000..5b699c1f --- /dev/null +++ b/web/public/bundles/artemis/code/21dcfd6b91a710c9de3469feb68427a6405d263b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "21dcfd6b91a710c9de3469feb68427a6405d263b", + "language": "typescript", + "path": "src/main/webapp/app/exercise/exercise-action-bar/exercise-action-bar.component.ts", + "schema": "codexray.code/1", + "text": "import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n DestroyRef,\n ElementRef,\n afterNextRender,\n afterRenderEffect,\n computed,\n effect,\n inject,\n input,\n output,\n signal,\n viewChild,\n viewChildren,\n} from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { RouterLink } from '@angular/router';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { faEllipsis } from '@fortawesome/free-solid-svg-icons';\nimport { TranslateService } from '@ngx-translate/core';\nimport { TumAetUiButtonDirective } from '@tumaet/ui-angular/button';\nimport { TumAetUiPopoverComponent, TumAetUiPopoverTriggerDirective } from '@tumaet/ui-angular/popover';\nimport { TumAetUiTooltipDirective } from '@tumaet/ui-angular/tooltip';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { DeleteButtonDirective } from 'app/shared-ui/delete-dialog/directive/delete-button.directive';\nimport { ActionItem } from 'app/exercise/exercise-action-bar/exercise-action-bar.model';\nimport { ActionType } from 'app/shared-ui/delete-dialog/delete-dialog.model';\n\n// Flex gap (gap-1 = 0.25rem) between items, the fixed ellipsis-trigger width (see CSS `.action-more`), and a small\n// safety margin so a button is always collapsed slightly before it would be clipped — never shown partially.\nconst GAP_PX = 4;\nconst ELLIPSIS_WIDTH_PX = 34;\nconst SAFETY_MARGIN_PX = 8;\nconst EXTRA_ACTION_PRIORITY = 1000;\nconst COLLAPSE_FIRST_PRIORITY = 2000;\n\nlet nextBarId = 0;\n\n/**\n * Element width in fractional CSS pixels. Unlike `offsetWidth`/`clientWidth`, `getBoundingClientRect` keeps the\n * fraction, so summing many button widths stays exact at non-100% zoom and never understates the total enough to clip\n * the leftmost button.\n */\nfunction widthOf(element: HTMLElement): number {\n return element.getBoundingClientRect().width;\n}\n\n/**\n * Owned, data-driven action row: renders the {@link inlineIds} actions as icon buttons, at most {@link maxInline} of\n * them, and every other {@link ActionItem} in a trailing ellipsis menu. Once the menu shows, Delete goes into it\n * ({@link collapseFirstIds}); buttons that don't fit the row's available width fold into it too, Edit/Participations/Edit\n * in editor last ({@link keepPriorityIds}), based on measured button widths.\n *\n * Both exercise row-action components render through this bar — `ExerciseActionsComponent` (course exercises) and\n * `ExamExerciseRowButtonsComponent` (exam exercises) — so they look and collapse identically; only the `ActionItem[]`\n * each builds (its routes, role gates, and delete wiring) differs.\n *\n * An optional `[actionBarReserved]`-projected prefix (e.g. quiz lifecycle buttons, an exam test-run warning icon)\n * stays always visible; its measured width is reserved up front and reported via {@link columnMinWidthChange} so a\n * shared table column can floor its width at the widest row's reserved content, exactly like the collapsible items.\n */\n@Component({\n selector: 'jhi-exercise-action-bar',\n templateUrl: './exercise-action-bar.component.html',\n styleUrl: './exercise-action-bar.component.css',\n imports: [\n RouterLink,\n NgTemplateOutlet,\n FaIconComponent,\n TumAetUiButtonDirective,\n TumAetUiPopoverComponent,\n TumAetUiPopoverTriggerDirective,\n TumAetUiTooltipDirective,\n ArtemisTranslatePipe,\n TranslateDirective,\n DeleteButtonDirective,\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ExerciseActionBarComponent {\n private readonly destroyRef = inject(DestroyRef);\n private readonly changeDetectorRef = inject(ChangeDetectorRef);\n private readonly translateService = inject(TranslateService);\n\n readonly items = input.required();\n /** Whether the `[actionBarReserved]`-projected prefix renders anything, so the separator next to it only shows when needed. */\n readonly hasReservedContent = input(false);\n /**\n * Ids kept inline longest when the row runs out of width (in priority order); any id not listed shares the next\n * priority tier, in original display order (the collapse sort is stable).\n */\n readonly keepPriorityIds = input(['edit', 'participations', 'edit-in-editor']);\n /**\n * Ids folded into the ellipsis menu before any other action (in this order). Delete, the last trailing action, goes\n * first, so the ellipsis trigger, as wide as a button, takes its place and the remaining trailing actions stay in line\n * with the other rows.\n */\n readonly collapseFirstIds = input(['delete']);\n /** Ids that may show as buttons; every other action always sits in the ellipsis menu. */\n readonly inlineIds = input(['start-quiz', 'set-visible', 'end-quiz', 'edit-in-editor', 'participations', 'edit', 'delete']);\n /** Ids whose buttons show only their icon; every other button shows its label next to the icon. */\n readonly iconOnlyIds = input(['edit', 'delete']);\n /**\n * Most buttons shown inline. A row with more actions shows the ellipsis, the {@link collapseFirstIds} ones always go\n * into it, and at most this many of the rest stay inline (in keep-priority order).\n */\n readonly maxInline = input(3);\n /**\n * Ids rendered last, in this order, after all other actions. Every row then ends in the same buttons, so they line up\n * across the rows of a table.\n */\n readonly trailingIds = input(['participations', 'edit', 'delete']);\n /**\n * Width (px) the actions column must reserve to keep this row's always-visible reserved content plus the ellipsis\n * trigger on screen; 0 when there is no reserved content. A shared table column floors itself at the max reported\n * across its rows, so the column collapses the main buttons before scrolling, never clipping reserved content.\n */\n readonly columnMinWidthChange = output();\n /**\n * Width (px) this row needs to show every action inline, including its reserved content; 0 until all buttons are\n * measured. A shared table column sizes itself to the max reported across its rows, so it takes no more room than the\n * widest row needs and the leftover width goes to the other columns.\n */\n readonly naturalWidthChange = output();\n\n protected readonly faEllipsis = faEllipsis;\n protected readonly ActionType = ActionType;\n\n /** Makes the ids of the disabled-reason descriptions unique across the rows of a table. */\n private readonly barId = nextBarId++;\n\n private readonly menu = viewChild('menu');\n /** The full-width action row; its width minus the reserved content is the budget for the collapsible main buttons. */\n private readonly actionsRow = viewChild>('actionsRow');\n /** The always-visible projected prefix; its width is reserved up front. */\n private readonly reservedGroup = viewChild>('reservedGroup');\n /** The inline main-button wrappers, read once per distinct button to learn its natural width. */\n private readonly inlineItems = viewChildren>('inlineItem');\n\n /** Full row width (updated by a ResizeObserver) and the reserved width of the always-visible prefix content. */\n private readonly rowWidth = signal(0);\n private readonly reservedWidth = signal(0);\n /** Width available for the collapsible main buttons: the row minus the reserved prefix content. */\n private readonly availableWidth = computed(() => this.rowWidth() - this.reservedWidth());\n /** Natural width per button, keyed by a signature (id + label) so changing labels re-measure. */\n private readonly buttonWidths = signal>(new Map());\n /** Bumped on a language change so the (signal-unaware) translated measurements recompute. */\n private readonly languageVersion = signal(0);\n\n /** Watches the inline buttons so {@link buttonWidths} tracks their real rendered width (see the constructor). */\n private readonly buttonObserver = new ResizeObserver((entries) => this.onButtonsResized(entries));\n\n /**\n * Set once the view is gone. `disconnect()` stops new notifications, but one already queued before destruction\n * still runs its callback, and `detectChanges()` on a destroyed view throws.\n */\n private destroyed = false;\n\n /** The actions in display order: the other actions first, then the {@link trailingIds} ones in that order. */\n private readonly orderedItems = computed(() => {\n const trailingIds = this.trailingIds();\n const items = this.items();\n const trailing = trailingIds.map((id) => items.find((action) => action.id === id)).filter((action) => action !== undefined);\n return items.filter((action) => !trailingIds.includes(action.id)).concat(trailing);\n });\n\n private readonly keepPriorityOf = (action: ActionItem): number => {\n const index = this.keepPriorityIds().indexOf(action.id);\n if (index !== -1) {\n return index;\n }\n // Reversed, so the first id of collapseFirstIds gets the lowest priority and folds first.\n const collapseIndex = this.collapseFirstIds().indexOf(action.id);\n return collapseIndex === -1 ? EXTRA_ACTION_PRIORITY : COLLAPSE_FIRST_PRIORITY - collapseIndex;\n };\n\n /** Signature that determines a button's rendered width: same signature ⇒ same width. Uses the translated label so a\n * language switch or a changed label re-measures. */\n protected signatureOf(action: ActionItem): string {\n return `${action.id}|${this.translateService.instant(action.labelKey)}`;\n }\n\n /**\n * Ids of the actions that do not fit and are collapsed into the ellipsis menu. Computed from the cached button\n * widths and the available width — the DOM stays stable, only the buttons' `display` toggles, so resizing never\n * recreates button elements. Collapses in ascending keep-priority order so the highest-priority ids stay visible\n * longest.\n */\n readonly hiddenIds = computed>(() => {\n const countHidden = this.countHiddenIds();\n const actions = this.orderedItems().filter((action) => !countHidden.has(action.id));\n const widths = this.buttonWidths();\n const available = this.availableWidth() - SAFETY_MARGIN_PX;\n // Not yet measured (or sized): show everything within the limit until widths/width are known.\n if (available <= 0 || actions.some((action) => !widths.has(this.signatureOf(action)))) {\n return countHidden;\n }\n const widthOfAction = (action: ActionItem) => widths.get(this.signatureOf(action)) ?? 0;\n // N buttons laid out with N-1 gaps between them.\n const widthForCount = (count: number) => (count <= 0 ? 0 : (count - 1) * GAP_PX);\n const ellipsisWidth = ELLIPSIS_WIDTH_PX + GAP_PX;\n\n // Everything within the limit fits inline (next to the ellipsis, if the limit already needs it).\n const totalAll = actions.reduce((sum, action) => sum + widthOfAction(action), 0) + widthForCount(actions.length);\n if (totalAll + (countHidden.size > 0 ? ellipsisWidth : 0) <= available) {\n return countHidden;\n }\n\n // Collapsing: reserve the ellipsis (plus the gap before it) and keep buttons in priority order, stopping at\n // the first that no longer fits. The template still renders the kept buttons in their original display order\n // (only their `display` toggles).\n const budget = available - ellipsisWidth;\n const byPriority = [...actions].sort((a, b) => this.keepPriorityOf(a) - this.keepPriorityOf(b));\n const keptIds = new Set();\n let used = 0;\n for (const action of byPriority) {\n const addition = widthOfAction(action) + (keptIds.size > 0 ? GAP_PX : 0);\n if (used + addition <= budget) {\n used += addition;\n keptIds.add(action.id);\n } else {\n break;\n }\n }\n return new Set(\n this.orderedItems()\n .filter((action) => !keptIds.has(action.id))\n .map((action) => action.id),\n );\n });\n\n /**\n * Ids in the ellipsis menu whatever the width: the actions outside {@link inlineIds}, and once the menu shows, the\n * {@link collapseFirstIds} ones and any beyond the {@link maxInline} limit (lowest keep-priority first). A menu with\n * a single entry is not worth the extra click, so that action shows as a button instead.\n */\n private readonly countHiddenIds = computed>(() => {\n const actions = this.orderedItems();\n const inlineIds = this.inlineIds();\n const hidden = new Set(actions.filter((action) => !inlineIds.includes(action.id)).map((action) => action.id));\n let inline = actions.filter((action) => !hidden.has(action.id));\n if (hidden.size === 0 && inline.length <= this.maxInline()) {\n return hidden;\n }\n // The ellipsis shows, so Delete goes into it, keeping the other buttons in line with rows that end in Delete.\n const collapseFirstIds = this.collapseFirstIds();\n inline.filter((action) => collapseFirstIds.includes(action.id)).forEach((action) => hidden.add(action.id));\n inline = inline.filter((action) => !hidden.has(action.id));\n const byPriority = [...inline].sort((a, b) => this.keepPriorityOf(a) - this.keepPriorityOf(b));\n byPriority.slice(this.maxInline()).forEach((action) => hidden.add(action.id));\n return hidden.size === 1 ? new Set() : hidden;\n });\n\n /**\n * The inline main buttons with their per-item render state precomputed, so the template reads plain fields instead of\n * calling `signatureOf(...)`, `hiddenIds().has(...)` or translating the tooltip on every change-detection cycle.\n * `context` is built here too so the `ngTemplateOutlet` binding keeps a stable object identity across cycles.\n */\n protected readonly inlineActions = computed(() => {\n // The signature embeds a translated label, so re-derive it on a language switch.\n this.languageVersion();\n const hidden = this.hiddenIds();\n const items = this.orderedItems();\n const firstTrailing = items.findIndex((action) => this.trailingIds().includes(action.id));\n return items.map((action, index) => ({\n action,\n signature: this.signatureOf(action),\n hidden: hidden.has(action.id),\n // A wider gap sets the trailing actions apart from the others before them.\n groupStart: index > 0 && index === firstTrailing,\n context: this.contextOf(action, false),\n }));\n });\n\n readonly hasOverflow = computed(() => this.hiddenIds().size > 0);\n\n /** Natural width of the buttons outside the menu, plus the ellipsis when the menu shows; undefined until they are measured. */\n private readonly buttonsWidth = computed(() => {\n const countHidden = this.countHiddenIds();\n const actions = this.orderedItems().filter((action) => !countHidden.has(action.id));\n const widths = this.buttonWidths();\n if (actions.length === 0 || actions.some((action) => !widths.has(this.signatureOf(action)))) {\n return undefined;\n }\n const buttons = actions.reduce((sum, action) => sum + (widths.get(this.signatureOf(action)) ?? 0), 0) + (actions.length - 1) * GAP_PX;\n return buttons + (countHidden.size > 0 ? GAP_PX + ELLIPSIS_WIDTH_PX : 0);\n });\n\n /** The collapsed actions, shown in the ellipsis menu in display order. */\n readonly hiddenActions = computed(() => this.orderedItems().filter((action) => this.hiddenIds().has(action.id)));\n\n /** Template contexts for the menu entries, precomputed for the same reason as {@link inlineActions}. */\n protected readonly menuActions = computed(() => {\n this.languageVersion();\n return this.hiddenActions().map((action) => this.contextOf(action, true));\n });\n\n constructor() {\n this.destroyRef.onDestroy(() => {\n this.destroyed = true;\n this.buttonObserver.disconnect();\n });\n\n // Measurements use TranslateService.instant (not a signal), so on a language change drop the cached widths to\n // re-measure and bump the version the width effects watch.\n this.translateService.onLangChange.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(() => {\n this.buttonWidths.set(new Map());\n this.languageVersion.update((version) => version + 1);\n });\n\n // Observe (not read once) the row width and the reserved-content width: reserved content (e.g. lazily-styled\n // PrimeNG buttons) can render unstyled and too narrow on the first pass, and the observer also tracks the\n // reserved group appearing/disappearing and label-width changes. Change detection is flushed synchronously in\n // the callback (after layout, before paint) so the show/hide lands on the same frame.\n afterNextRender(() => {\n const rowEl = this.actionsRow()?.nativeElement;\n const reservedEl = this.reservedGroup()?.nativeElement;\n const measure = () => {\n if (rowEl) {\n this.rowWidth.set(widthOf(rowEl));\n }\n this.reservedWidth.set(reservedEl ? widthOf(reservedEl) : 0);\n };\n\n const observer = new ResizeObserver(() => {\n if (this.destroyed) {\n return;\n }\n measure();\n this.changeDetectorRef.detectChanges();\n });\n if (rowEl) {\n observer.observe(rowEl);\n }\n if (reservedEl) {\n observer.observe(reservedEl);\n }\n this.destroyRef.onDestroy(() => observer.disconnect());\n measure();\n });\n\n // Keep each distinct button's natural width up to date: a web font, a longer label, or lazily-injected CSS can\n // change a width after the first layout, so a one-shot measurement would cache a too-narrow width and the\n // overflow calculation would keep a button inline that then gets clipped.\n afterRenderEffect(() => {\n // Re-observe whenever the items or their labels change. Observing always emits an initial callback, so this\n // also seeds a brand-new signature after a language switch. The elements persist across a collapse (only\n // their `display` toggles), so this does not re-run on every resize.\n this.languageVersion();\n this.orderedItems();\n const elements = this.inlineItems();\n this.buttonObserver.disconnect();\n for (const ref of elements) {\n this.buttonObserver.observe(ref.nativeElement);\n }\n });\n\n // Report the width this row's actions column must reserve: the reserved content (its measured width already\n // includes its own trailing separator) plus the gap, the ellipsis trigger, and a safety margin against\n // sub-pixel clipping. Reserved-content width doesn't depend on the column width, so this never feeds back.\n // Rows without reserved content report 0.\n effect(() => {\n const reserved = this.reservedWidth();\n this.columnMinWidthChange.emit(reserved > 0 ? reserved + GAP_PX + ELLIPSIS_WIDTH_PX + SAFETY_MARGIN_PX : 0);\n });\n\n // Report the width that shows every button: the measured buttons (collapsed ones keep their last width), their\n // gaps and the reserved content. None of these depend on the column width, so this never feeds back either.\n effect(() => {\n const buttons = this.buttonsWidth();\n const reserved = this.reservedWidth();\n if (buttons === undefined) {\n this.naturalWidthChange.emit(0);\n return;\n }\n // Rounded up: measured widths are fractional, and a column a fraction too narrow would fold a button.\n this.naturalWidthChange.emit(Math.ceil(buttons + (reserved > 0 ? reserved + GAP_PX : 0)) + SAFETY_MARGIN_PX);\n });\n }\n\n /**\n * Caches the measured width of every button that is currently laid out. Collapsed buttons are `display: none` and\n * measure 0 — their last known width is kept, since that is exactly the width the overflow calculation needs in\n * order to decide whether they could be shown again. Writes only on a real change, so toggling a button's\n * visibility settles instead of feeding back into itself.\n */\n private onButtonsResized(entries: ResizeObserverEntry[]): void {\n if (this.destroyed) {\n return;\n }\n const current = this.buttonWidths();\n let next: Map | undefined;\n for (const entry of entries) {\n const element = entry.target as HTMLElement;\n const signature = element.getAttribute('data-signature');\n const width = widthOf(element);\n if (signature && width > 0 && current.get(signature) !== width) {\n next ??= new Map(current);\n next.set(signature, width);\n }\n }\n if (next) {\n this.buttonWidths.set(next);\n // Land the show/hide on this frame (the callback runs after layout, before paint), as the row observer does.\n this.changeDetectorRef.detectChanges();\n }\n }\n\n /**\n * The template context of an action. A disabled action with a reason gets the id of a permanent, visually hidden\n * description: its tooltip only exists while shown, and a disabled control never receives focus to show it.\n */\n private contextOf(action: ActionItem, inMenu: boolean) {\n const reasonId = action.disabled && action.disabledTooltip ? `exercise-action-reason-${this.barId}-${action.id}-${inMenu ? 'menu' : 'inline'}` : undefined;\n const iconOnly = !inMenu && this.iconOnlyIds().includes(action.id);\n return { $implicit: action, inMenu, iconOnly, tooltip: this.tooltipOf(action, iconOnly), reasonId };\n }\n\n /** An icon-only button's tooltip names it; a disabled action, wherever it shows, explains why instead. */\n private tooltipOf(action: ActionItem, iconOnly: boolean): string {\n if (action.disabled && action.disabledTooltip) {\n return this.translateService.instant(action.disabledTooltip);\n }\n return iconOnly ? this.translateService.instant(action.labelKey) : '';\n }\n\n protected runAction(item: ActionItem): void {\n item.onClick?.();\n this.menu()?.close();\n }\n\n protected closeMenuIfOpen(inMenu: boolean): void {\n if (inMenu) {\n this.menu()?.close();\n }\n }\n\n protected onDelete(action: ActionItem, event: { [key: string]: boolean }): void {\n action.delete?.onDelete(event);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/22b011697364f743e47227410195b63d2d892a31.json b/web/public/bundles/artemis/code/22b011697364f743e47227410195b63d2d892a31.json new file mode 100644 index 00000000..2a91f7a6 --- /dev/null +++ b/web/public/bundles/artemis/code/22b011697364f743e47227410195b63d2d892a31.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "22b011697364f743e47227410195b63d2d892a31", + "language": "typescript", + "path": "src/main/webapp/app/admin/passkey-management/admin-passkey-management.service.ts", + "schema": "codexray.code/1", + "text": "import { Service } from '@angular/core';\nimport { AdminPasskeyDTO } from './admin-passkey.dto';\nimport { PasskeyDTO } from 'app/account/user/settings/credentials/passkey-settings/dto/passkey.dto';\nimport { BaseApiHttpService } from 'app/foundation/service/base-api-http.service';\n\n@Service()\nexport class AdminPasskeyManagementService extends BaseApiHttpService {\n private resourceUrl = 'account/passkeys';\n\n /**\n * Get all passkeys with user information for super admin management\n */\n async getAllPasskeys(): Promise {\n return await this.get(`${this.resourceUrl}/admin`);\n }\n\n /**\n * Update the super admin approval status of a passkey\n * @param credentialId The credential ID of the passkey\n * @param isSuperAdminApproved The new approval status\n */\n async updatePasskeyApproval(credentialId: string, isSuperAdminApproved: boolean): Promise {\n return await this.put(`${this.resourceUrl}/${credentialId}/approval`, isSuperAdminApproved);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/22e45565153e69f7234e89ac604f6c3ee7c746ac.json b/web/public/bundles/artemis/code/22e45565153e69f7234e89ac604f6c3ee7c746ac.json new file mode 100644 index 00000000..956f182f --- /dev/null +++ b/web/public/bundles/artemis/code/22e45565153e69f7234e89ac604f6c3ee7c746ac.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "22e45565153e69f7234e89ac604f6c3ee7c746ac", + "language": "typescript", + "path": "src/main/webapp/app/account/user/settings/exercises/ide-preferences/ide.model.ts", + "schema": "codexray.code/1", + "text": "import { ProgrammingLanguage } from 'app/programming/shared/entities/programming-exercise.model';\n\nexport interface Ide {\n name: string;\n deepLink: string;\n}\n\nexport function ideEquals(a: Ide | undefined, b: Ide | undefined): boolean {\n if (!a || !b) {\n return false;\n }\n return a.deepLink == b.deepLink;\n}\n\nexport interface IdeMappingDTO {\n programmingLanguage: ProgrammingLanguage;\n ide: Ide;\n}\n" +} diff --git a/web/public/bundles/artemis/code/239be7893b0c13d01e362ddcfc93ae2be60750ac.json b/web/public/bundles/artemis/code/239be7893b0c13d01e362ddcfc93ae2be60750ac.json new file mode 100644 index 00000000..4993fcfe --- /dev/null +++ b/web/public/bundles/artemis/code/239be7893b0c13d01e362ddcfc93ae2be60750ac.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "239be7893b0c13d01e362ddcfc93ae2be60750ac", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseConfigurationService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exercise.service;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\n\nimport org.jspecify.annotations.Nullable;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.exercise.domain.Exercise;\nimport de.tum.cit.aet.artemis.exercise.domain.TeamAssignmentConfig;\nimport de.tum.cit.aet.artemis.exercise.repository.PlagiarismDetectionConfigRepository;\nimport de.tum.cit.aet.artemis.exercise.repository.TeamAssignmentConfigRepository;\nimport de.tum.cit.aet.artemis.plagiarism.domain.PlagiarismDetectionConfig;\n\n/**\n * Gives every newly stored exercise its permanent configuration rows.\n *

\n * An exercise owns exactly one team assignment configuration and one plagiarism detection configuration, whatever its type\n * and whether or not it is a team exercise. Both hold the key to the exercise, so they can only be inserted once the exercise\n * is stored, and every path that stores a new exercise (creation, every kind of import, copies) calls {@link #initialize}\n * right after it. Later changes only update the rows in place; nothing here is called when a setting changes.\n *

\n * No transaction spans the calls: each is one simple repository statement, and the inserts are idempotent so that a path\n * which ran them already is not an error.\n */\n@Profile(PROFILE_CORE)\n@Lazy\n@Service\npublic class ExerciseConfigurationService {\n\n private final TeamAssignmentConfigRepository teamAssignmentConfigRepository;\n\n private final PlagiarismDetectionConfigRepository plagiarismDetectionConfigRepository;\n\n public ExerciseConfigurationService(TeamAssignmentConfigRepository teamAssignmentConfigRepository, PlagiarismDetectionConfigRepository plagiarismDetectionConfigRepository) {\n this.teamAssignmentConfigRepository = teamAssignmentConfigRepository;\n this.plagiarismDetectionConfigRepository = plagiarismDetectionConfigRepository;\n }\n\n /**\n * Creates the default configuration rows of a newly stored exercise and leaves them on the exercise's slots.\n *\n * @param stored the exercise that was just stored\n */\n public void initialize(Exercise stored) {\n initialize(stored, null, null);\n }\n\n /**\n * Creates the default configuration rows of a newly stored exercise, applies the settings the creating request carried to\n * them in place, and leaves the stored rows on the exercise's slots.\n *\n * @param stored the exercise that was just stored\n * @param requestedTeam the team settings the request carried, or null for the defaults\n * @param requestedPlagiarism the plagiarism detection settings the request carried, or null for the defaults\n */\n public void initialize(Exercise stored, @Nullable TeamAssignmentConfig requestedTeam, @Nullable PlagiarismDetectionConfig requestedPlagiarism) {\n teamAssignmentConfigRepository.initializeFor(stored, requestedTeam);\n plagiarismDetectionConfigRepository.initializeFor(stored, requestedPlagiarism);\n }\n\n /**\n * Hands the stored settings on the slots of one instance of an exercise to another instance of the same exercise, for the\n * case that a second save returned a merged copy, which does not carry them.\n *\n * @param from the instance that carries the stored settings\n * @param to the instance of the same exercise that should carry them too\n */\n public void carryOver(Exercise from, Exercise to) {\n to.setTeamAssignmentConfig(from.getStoredTeamAssignmentConfig());\n to.setPlagiarismDetectionConfig(from.getPlagiarismDetectionConfig());\n }\n\n /**\n * Reads the stored team settings of an exercise onto its slot; the exercise is left without them if it has none.\n *\n * @param exercise the exercise, which does not carry its settings after being loaded\n */\n public void attachTeamAssignmentConfig(Exercise exercise) {\n teamAssignmentConfigRepository.attachTo(exercise);\n }\n\n /**\n * Reads the stored plagiarism detection settings of an exercise onto its slot; the exercise is left without them if it\n * has none.\n *\n * @param exercise the exercise, which does not carry its settings after being loaded\n */\n public void attachPlagiarismDetectionConfig(Exercise exercise) {\n plagiarismDetectionConfigRepository.attachTo(exercise);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/23a84f2aa424b9e76d274a01d6818d081201264b.json b/web/public/bundles/artemis/code/23a84f2aa424b9e76d274a01d6818d081201264b.json new file mode 100644 index 00000000..f3f7cc54 --- /dev/null +++ b/web/public/bundles/artemis/code/23a84f2aa424b9e76d274a01d6818d081201264b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "23a84f2aa424b9e76d274a01d6818d081201264b", + "language": "typescript", + "path": "src/main/webapp/app/text/manage/tutor-effort/tutor-effort-statistics.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, OnInit, computed, inject, signal } from '@angular/core';\nimport { TutorEffort } from 'app/openapi/model/tutor-effort';\nimport { TutorEffortApi } from 'app/openapi/api/tutor-effort-api';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { TextAssessmentService } from 'app/text/manage/assess/service/text-assessment.service';\nimport { faSync } from '@fortawesome/free-solid-svg-icons';\nimport { TranslateService } from '@ngx-translate/core';\nimport { median } from 'app/foundation/util/statistics.util';\nimport { GraphColors } from 'app/exercise/shared/entities/statistics.model';\nimport { round } from 'app/foundation/util/utils';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { HelpIconComponent } from 'app/shared-ui/components/help-icon/help-icon.component';\nimport { singleSeriesChart } from 'app/shared-ui/chart/tum-aet-ui-chart-adapters';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { PlagiarismAndTutorEffortDirective } from 'app/plagiarism/manage/plagiarism-run-details/plagiarism-and-tutor-effort.directive';\nimport { TumAetUiButtonDirective } from '@tumaet/ui-angular/button';\nimport { TumAetUiBarChartComponent, TumAetUiBarChartConfig } from '@tumaet/ui-angular/chart';\nimport { TumAetUiTableDirective } from '@tumaet/ui-angular/table-directive';\n\ninterface TutorEffortRange {\n minimumTimeSpent: number;\n maximumTimeSpent?: number;\n}\n\n@Component({\n selector: 'jhi-text-exercise-tutor-effort-statistics',\n templateUrl: './tutor-effort-statistics.component.html',\n styleUrls: ['./tutor-effort-statistics.component.css'],\n imports: [TranslateDirective, FaIconComponent, HelpIconComponent, TumAetUiBarChartComponent, TumAetUiTableDirective, ArtemisTranslatePipe, TumAetUiButtonDirective],\n})\nexport class TutorEffortStatisticsComponent extends PlagiarismAndTutorEffortDirective implements OnInit {\n private route = inject(ActivatedRoute);\n private router = inject(Router);\n private tutorEffortApi = inject(TutorEffortApi);\n private textAssessmentService = inject(TextAssessmentService);\n private translateService = inject(TranslateService);\n\n readonly tutorEfforts = signal([]);\n readonly numberOfSubmissions = signal(undefined!);\n readonly totalTimeSpent = signal(undefined!);\n readonly averageTimeSpent = signal(undefined!);\n currentExerciseId!: number; // set in ngOnInit() from the route params before loadTutorEfforts() reads it\n currentCourseId!: number; // set in ngOnInit() from the route params before loadTutorEfforts() reads it\n readonly numberOfTutorsInvolvedInCourse = signal(undefined!);\n effortDistribution: number[] = [];\n readonly yScaleMax = signal(10);\n readonly medianValue = signal(undefined!);\n\n readonly showMedianLegend = signal(false);\n\n // Distance value representing step difference between chartLabel entries, i.e:. 1-10, 10-20\n readonly bucketSize = 10;\n\n readonly xAxisLabel = signal('');\n readonly yAxisLabel = signal('');\n\n // Icons\n faSync = faSync;\n\n private readonly resolvedColors = computed(() => this.chartColors());\n\n readonly chartData = computed(() => singleSeriesChart(this.chartEntries(), this.resolvedColors()));\n readonly chartConfig = computed(() => ({\n xAxis: { label: this.xAxisLabel() },\n yAxis: { label: this.yAxisLabel(), max: this.yScaleMax(), tickFormatter: this.yAxisTickFormatting },\n tooltip: {\n title: (items) => {\n const item = items[0];\n if (!item) {\n return '';\n }\n const amount = item.value;\n const tutorsKey = amount !== 1 ? 'artemisApp.textExercise.tutorEffortStatistics.multipleTutors' : 'artemisApp.textExercise.tutorEffortStatistics.singleTutor';\n return `${amount} ${this.translateService.instant(tutorsKey)}`;\n },\n label: (item) => {\n const label = item.label;\n return [\n this.translateService.instant('artemisApp.textExercise.tutorEffortStatistics.forMinutes', { interval: label }),\n this.translateService.instant('artemisApp.textExercise.tutorEffortStatistics.medianOfSubmissions', {\n median: this.getMedianAmountOfAssessedSubmissions(label),\n }),\n ];\n },\n },\n }));\n\n constructor() {\n super();\n this.translateService.onLangChange.subscribe(() => {\n this.translateLabels();\n });\n }\n\n ngOnInit(): void {\n this.translateLabels();\n this.chartLabels = ['[0-10)', '[10-20)', '[20-30)', '[30-40)', '[40-50)', '[50-60)', '[60-70)', '[70-80)', '[80-90)', '[90-100)', '[100-110)', '[110-120)', '120+'];\n this.chartColors.set(Array(13).fill(GraphColors.LIGHT_BLUE));\n this.route.params.subscribe((params) => {\n this.currentExerciseId = Number(params['exerciseId']);\n this.currentCourseId = Number(params['courseId']);\n });\n this.loadTutorEfforts();\n }\n\n loadTutorEfforts() {\n this.tutorEffortApi.calculateTutorEfforts(this.currentCourseId, this.currentExerciseId).subscribe((tutorEfforts) => {\n this.handleTutorEffortResponse(tutorEfforts);\n });\n this.loadNumberOfTutorsInvolved();\n }\n\n /**\n * Handler function to handle input data coming from service call.\n * Separation enables better testing\n * @param tutorEffortData - data to handle\n */\n handleTutorEffortResponse(tutorEffortData: TutorEffort[]) {\n this.tutorEfforts.set(tutorEffortData);\n if (!tutorEffortData) {\n return;\n }\n const numberOfSubmissions = tutorEffortData.reduce((n, { numberOfSubmissionsAssessed }) => n + (numberOfSubmissionsAssessed ?? 0), 0);\n this.numberOfSubmissions.set(numberOfSubmissions);\n const totalTime = tutorEffortData.reduce((n, { totalTimeSpentMinutes }) => n + (totalTimeSpentMinutes ?? 0), 0);\n const totalTimeSpent = Math.round(totalTime * 10) / 10;\n this.totalTimeSpent.set(totalTimeSpent);\n const avgTemp = totalTimeSpent === 0 ? 0 : numberOfSubmissions / totalTimeSpent;\n this.averageTimeSpent.set(avgTemp ? Math.round((avgTemp + Number.EPSILON) * 100) / 100 : 0);\n this.distributeEffortToSets();\n this.chartEntries.set(this.effortDistribution.map((effort, index) => ({ name: this.chartLabels[index], value: effort })));\n this.determineMaxChartHeight(this.effortDistribution);\n const medianValue = this.computeEffortMedian();\n this.medianValue.set(medianValue);\n this.highlightMedian(medianValue);\n }\n\n loadNumberOfTutorsInvolved() {\n this.textAssessmentService.getNumberOfTutorsInvolvedInAssessment(this.currentCourseId, this.currentExerciseId).subscribe((response: number) => {\n this.numberOfTutorsInvolvedInCourse.set(response);\n });\n }\n\n /**\n * Tutor Effort is distributed among the effortDistribution entries with each entry representing\n * a corresponding index in the chartLables field.\n * chartLabels.[\"0-10\"] - corresponds to effortDistribution[0]\n * chartLabels.[\"10-20\"] - corresponds to effortDistribution[1]\n * and so on. chartlabels is divided in steps of length 10, which is why division/10 and floor function is used.\n */\n distributeEffortToSets() {\n this.effortDistribution = new Array(this.chartLabels.length).fill(0);\n this.tutorEfforts().forEach((effort) => {\n const BUCKET_INDEX = this.determineIndex(effort.totalTimeSpentMinutes ?? 0);\n this.effortDistribution[BUCKET_INDEX]++;\n });\n }\n\n /**\n * Handles the click of a user on an arbitrary chart bar.\n * Delegates the user to the assessment dashboard\n */\n onSelect() {\n void this.router.navigate(['/course-management', this.currentCourseId, 'assessment-dashboard', this.currentExerciseId]);\n }\n\n /**\n * Auxiliary method used for tooltip generation\n * @param label the label of the chart bar\n * @returns the median assessed submissions for a bar\n */\n getMedianAmountOfAssessedSubmissions(label: string): number {\n const index = this.chartLabels.indexOf(label);\n const range = this.identifyMinimumAndMaximumTimesSpent(index);\n\n return this.computeMedianAmountOfAssessedSubmissions(range);\n }\n\n /**\n * Determines the upper limit for the y-axis\n * @param data the data that should be displayed\n */\n private determineMaxChartHeight(data: number[]): void {\n this.yScaleMax.set(Math.max(10, ...data));\n }\n\n /**\n * Auxiliary method that ensures that the chart is instantly translation sensitive\n */\n private translateLabels() {\n this.xAxisLabel.set(this.translateService.instant('artemisApp.textExercise.tutorEffortStatistics.minutes'));\n this.yAxisLabel.set(this.translateService.instant('artemisApp.textExercise.tutorEffortStatistics.tutors'));\n }\n\n /**\n * Auxiliary method that computes and sets the effort median\n */\n private computeEffortMedian(): number {\n const tutorEfforts = this.tutorEfforts();\n if (tutorEfforts.length === 0) {\n return 0;\n }\n const timeSpent = tutorEfforts.map((effort) => effort.totalTimeSpentMinutes ?? 0);\n return median(timeSpent);\n }\n\n /**\n * Auxiliary method that determines the Index a tutor effort should be inserted to for statistic calculation\n * @param timeSpent the time the tutor spent\n */\n private determineIndex(timeSpent: number): number {\n const BUCKET_LAST_INDEX = this.chartLabels.length - 1;\n const BUCKET_POSITION = timeSpent / this.bucketSize;\n // the element will either be distributed in one of first 12 elements (chartLabels.length)\n // or the last element if the time passed is larger than 120 (i.e.: chartLabels[12] = 120+)\n return Math.min(Math.floor(BUCKET_POSITION), BUCKET_LAST_INDEX);\n }\n\n /**\n * Sets the color of the bar representing the median to a dark blue in order to highlight it\n * @param medianValue the median amount of time spent for correcting this exercise\n */\n private highlightMedian(medianValue: number) {\n const index = this.determineIndex(medianValue);\n const colors: string[] = Array(this.chartLabels.length).fill(GraphColors.LIGHT_BLUE);\n if (this.chartEntries()[index].value > 0) {\n colors[index] = GraphColors.BLUE;\n this.showMedianLegend.set(true);\n } else {\n this.showMedianLegend.set(false);\n }\n this.chartColors.set(colors);\n }\n\n /**\n * Auxiliary method that computes the median assessed submissions for a bucket\n * @param range TutorEffortRange representing the borders for the interval of occupation\n * @returns the median rounded to two decimals\n */\n private computeMedianAmountOfAssessedSubmissions(range: TutorEffortRange): number {\n let filterFunction;\n if (range.maximumTimeSpent) {\n filterFunction = (effort: TutorEffort) =>\n (effort.totalTimeSpentMinutes ?? 0) >= range.minimumTimeSpent && (effort.totalTimeSpentMinutes ?? 0) < range.maximumTimeSpent!;\n } else {\n filterFunction = (effort: TutorEffort) => (effort.totalTimeSpentMinutes ?? 0) >= range.minimumTimeSpent;\n }\n const filteredEfforts = this.tutorEfforts().filter(filterFunction);\n\n return round(median(filteredEfforts.map((effort) => effort.numberOfSubmissionsAssessed ?? 0)), 2);\n }\n\n /**\n * Auxiliary method identifying the range of a tutor effort interval\n * @param index computed index based on the position of the bar in the chart\n * @returns TutorEffortRange representing the minimum and maximum border of the interval\n */\n private identifyMinimumAndMaximumTimesSpent(index: number): TutorEffortRange {\n const minimumTimesSpentArray = [0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120];\n const minimumTimeSpent = minimumTimesSpentArray[index];\n const maximumTimeSpent = minimumTimeSpent !== 120 ? minimumTimeSpent + 10 : undefined;\n\n return { minimumTimeSpent, maximumTimeSpent };\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/24d53d4d986892d51ba4eab3837601e9193c33a3.json b/web/public/bundles/artemis/code/24d53d4d986892d51ba4eab3837601e9193c33a3.json new file mode 100644 index 00000000..3622ec6f --- /dev/null +++ b/web/public/bundles/artemis/code/24d53d4d986892d51ba4eab3837601e9193c33a3.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "24d53d4d986892d51ba4eab3837601e9193c33a3", + "language": "typescript", + "path": "src/main/webapp/app/localci/shared/build-job-search.component.ts", + "schema": "codexray.code/1", + "text": "import { ChangeDetectionStrategy, Component, model, output } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { TumAetUiButtonComponent } from '@tumaet/ui-angular/button';\nimport { TumAetUiInputDirective } from '@tumaet/ui-angular/input';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { HelpIconComponent } from 'app/shared-ui/components/help-icon/help-icon.component';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\n\n@Component({\n selector: 'div[jhi-build-job-search]',\n imports: [FormsModule, TumAetUiButtonComponent, TumAetUiInputDirective, ArtemisTranslatePipe, HelpIconComponent, TranslateDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: `\n \n \n \n \n \n `,\n})\nexport class BuildJobSearchComponent {\n readonly searchTerm = model();\n readonly searchRequested = output();\n}\n" +} diff --git a/web/public/bundles/artemis/code/24ded6b7c0df626be045d8909a1a0ab255eabeca.json b/web/public/bundles/artemis/code/24ded6b7c0df626be045d8909a1a0ab255eabeca.json new file mode 100644 index 00000000..24466d8b --- /dev/null +++ b/web/public/bundles/artemis/code/24ded6b7c0df626be045d8909a1a0ab255eabeca.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "24ded6b7c0df626be045d8909a1a0ab255eabeca", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/conduction/QuizExerciseForConductionDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exam.dto.conduction;\n\nimport java.util.List;\n\nimport org.hibernate.Hibernate;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport tools.jackson.databind.annotation.JsonDeserialize;\n\nimport de.tum.cit.aet.artemis.quiz.domain.QuizExercise;\nimport de.tum.cit.aet.artemis.quiz.domain.QuizMode;\nimport de.tum.cit.aet.artemis.quiz.dto.question.QuizQuestionForExamDTO;\nimport de.tum.cit.aet.artemis.quiz.dto.question.QuizQuestionWithSolutionDTO;\nimport de.tum.cit.aet.artemis.quiz.dto.question.QuizQuestionWithoutSolutionDTO;\n\n/**\n * Quiz-exercise-specific fields carried in the conduction / summary payload (unwrapped into the exercise object).\n *

\n * On the conduction path (and on the summary path before results are published) the quiz questions are projected to\n * their solution-hidden shape ({@link QuizQuestionWithoutSolutionDTO}), matching the masked entity wire: answerable ids\n * are kept, correct answers / mappings / solutions are not. Once the student exam's results are published, the summary\n * factory passes {@code includeSolutions = true} so the questions are projected with their full solutions\n * ({@link QuizQuestionWithSolutionDTO}: {@code isCorrect}, {@code explanation}, correct drag-and-drop / short-answer\n * mappings), which the post-publish quiz summary UI renders. The publish decision is made by the caller\n * ({@code StudentExamForSummaryDTO.of} via {@code StudentExam#areResultsPublishedYet}); this factory never re-adds a\n * solution the caller did not ask for.\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record QuizExerciseForConductionDTO(Integer allowedNumberOfAttempts, Integer duration, boolean quizStarted, boolean quizEnded, QuizMode quizMode,\n Boolean randomizeQuestionOrder, @JsonDeserialize(contentAs = QuizQuestionWithSolutionDTO.class) List quizQuestions) {\n\n /**\n * Extracts the quiz-specific fields, guarding against uninitialized lazy quiz-question collections.\n *\n * @param quizExercise the quiz exercise to convert\n * @param includeSolutions whether the quiz questions should carry their full solutions ({@code true} only once the\n * student exam's results are published, decided by the summary caller)\n * @return the quiz-specific fields\n */\n public static QuizExerciseForConductionDTO of(QuizExercise quizExercise, boolean includeSolutions) {\n var entityQuestions = quizExercise.getQuizQuestions();\n List quizQuestions = (entityQuestions == null || !Hibernate.isInitialized(entityQuestions)) ? null\n : entityQuestions.stream()\n .map(question -> includeSolutions ? QuizQuestionWithSolutionDTO.of(question) : QuizQuestionWithoutSolutionDTO.of(question))\n .toList();\n return new QuizExerciseForConductionDTO(quizExercise.getAllowedNumberOfAttempts(), quizExercise.getDuration(), quizExercise.isQuizStarted(), quizExercise.isQuizEnded(),\n quizExercise.getQuizMode(), quizExercise.isRandomizeQuestionOrder(), quizQuestions);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/251f471dc03c60440957a96ae62610186418b4e7.json b/web/public/bundles/artemis/code/251f471dc03c60440957a96ae62610186418b4e7.json new file mode 100644 index 00000000..fc10e7fc --- /dev/null +++ b/web/public/bundles/artemis/code/251f471dc03c60440957a96ae62610186418b4e7.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "251f471dc03c60440957a96ae62610186418b4e7", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/config/IrisDashboardAiSelection.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.iris.config;\n\nimport de.tum.cit.aet.artemis.core.domain.AiSelectionDecision;\n\n/**\n * Restricts the Iris admin dashboard to users by their AI selection.\n *

\n * Artemis stores the selection per user only, not per session or message, so the filter uses each user's current\n * selection. A user who switched later is counted under the current choice for all of their past activity. Sessions and messages\n * belong to the session's user, token costs to the user of the usage trace.\n */\npublic enum IrisDashboardAiSelection {\n\n /** No restriction: every user, including users without a recorded selection. */\n ALL(null),\n /** Users whose current selection is {@link AiSelectionDecision#CLOUD_AI}. */\n CLOUD(AiSelectionDecision.CLOUD_AI),\n /** Users whose current selection is {@link AiSelectionDecision#LOCAL_AI}. */\n LOCAL(AiSelectionDecision.LOCAL_AI);\n\n /**\n * The value the dashboard queries compare against. They skip the filter for this value. It is never null, because\n * PostgreSQL cannot determine the type of a parameter that is only compared with {@code IS NULL}.\n */\n private static final String NO_FILTER = \"ALL\";\n\n private final AiSelectionDecision decision;\n\n IrisDashboardAiSelection(AiSelectionDecision decision) {\n this.decision = decision;\n }\n\n /**\n * @return the value to bind to the {@code aiSelection} parameter of the dashboard queries\n */\n public String queryValue() {\n return decision == null ? NO_FILTER : decision.name();\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/2538862b7cafbbdfe979eb7262be9f63454277d1.json b/web/public/bundles/artemis/code/2538862b7cafbbdfe979eb7262be9f63454277d1.json new file mode 100644 index 00000000..b234317f --- /dev/null +++ b/web/public/bundles/artemis/code/2538862b7cafbbdfe979eb7262be9f63454277d1.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "2538862b7cafbbdfe979eb7262be9f63454277d1", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/service/ModelingExerciseService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.modeling.service;\n\nimport java.util.List;\n\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.data.domain.Page;\nimport org.springframework.data.jpa.domain.Specification;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.core.dto.SearchResultPageDTO;\nimport de.tum.cit.aet.artemis.core.dto.pageablesearch.SearchTermPageableSearchDTO;\nimport de.tum.cit.aet.artemis.core.util.PageUtil;\nimport de.tum.cit.aet.artemis.exercise.service.ExerciseSpecificationService;\nimport de.tum.cit.aet.artemis.modeling.config.ModelingEnabled;\nimport de.tum.cit.aet.artemis.modeling.domain.ModelingExercise;\nimport de.tum.cit.aet.artemis.modeling.repository.ModelingExerciseRepository;\n\n@Conditional(ModelingEnabled.class)\n@Lazy\n@Service\npublic class ModelingExerciseService {\n\n private final ModelingExerciseRepository modelingExerciseRepository;\n\n private final ExerciseSpecificationService exerciseSpecificationService;\n\n public ModelingExerciseService(ModelingExerciseRepository modelingExerciseRepository, ExerciseSpecificationService exerciseSpecificationService) {\n this.modelingExerciseRepository = modelingExerciseRepository;\n this.exerciseSpecificationService = exerciseSpecificationService;\n }\n\n /**\n * Search for all modeling exercises fitting a {@link SearchTermPageableSearchDTO search query}. The result is paged,\n * meaning that there is only a predefined portion of the result returned to the user, so that the server doesn't\n * have to send hundreds/thousands of exercises if there are that many in Artemis.\n *\n * @param search The search query defining the search term and the size of the returned page\n * @param isCourseFilter Whether to search in the courses for exercises\n * @param isExamFilter Whether to search in the groups for exercises\n * @param user The user for whom to fetch all available exercises\n * @return A wrapper object containing a list of all found exercises and the total number of pages\n */\n public SearchResultPageDTO getAllOnPageWithSize(final SearchTermPageableSearchDTO search, final boolean isCourseFilter, final boolean isExamFilter,\n final User user) {\n if (!isCourseFilter && !isExamFilter) {\n return new SearchResultPageDTO<>(List.of(), 0);\n }\n final var pageable = PageUtil.createDefaultPageRequest(search, PageUtil.ColumnMapping.EXERCISE);\n final var searchTerm = search.getSearchTerm();\n Specification specification = exerciseSpecificationService.getExerciseSearchSpecification(searchTerm, isCourseFilter, isExamFilter, user, pageable);\n Page exercisePage = modelingExerciseRepository.findAll(specification, pageable);\n return new SearchResultPageDTO<>(exercisePage.getContent(), exercisePage.getTotalPages());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/25c8d36209f2c1210aa45df737101eabef489e95.json b/web/public/bundles/artemis/code/25c8d36209f2c1210aa45df737101eabef489e95.json new file mode 100644 index 00000000..903350dc --- /dev/null +++ b/web/public/bundles/artemis/code/25c8d36209f2c1210aa45df737101eabef489e95.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "25c8d36209f2c1210aa45df737101eabef489e95", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/repository/PlagiarismDetectionConfigRepository.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exercise.repository;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\n\nimport java.util.Collection;\nimport java.util.HashMap;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Optional;\n\nimport org.jspecify.annotations.Nullable;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.dao.DataIntegrityViolationException;\nimport org.springframework.data.jpa.repository.Modifying;\nimport org.springframework.data.jpa.repository.Query;\nimport org.springframework.data.repository.query.Param;\nimport org.springframework.stereotype.Repository;\nimport org.springframework.transaction.annotation.Transactional;\n\nimport de.tum.cit.aet.artemis.core.exception.EntityNotFoundException;\nimport de.tum.cit.aet.artemis.core.repository.base.ArtemisJpaRepository;\nimport de.tum.cit.aet.artemis.exercise.domain.Exercise;\nimport de.tum.cit.aet.artemis.plagiarism.domain.PlagiarismDetectionConfig;\n\n/**\n * Spring Data JPA repository for the {@link PlagiarismDetectionConfig} entity. The configuration holds the key to its\n * exercise and the exercise carries no mapped association to it, so loading an exercise never reads the configuration. A\n * flow that needs it reads it here and may attach it to the exercise it already holds with {@link #attachTo(Exercise)} or\n * {@link #attachTo(Collection)}. Every exercise owns exactly one row, created together with the exercise by\n * {@link #insertDefaultsFor(long)}; a flow that changes the settings updates that row in place with\n * {@link #applyTo(Exercise, PlagiarismDetectionConfig)}.\n */\n@Profile(PROFILE_CORE)\n@Lazy\n@Repository\npublic interface PlagiarismDetectionConfigRepository extends ArtemisJpaRepository {\n\n /** The number of exercises whose configurations are read by one query when attaching them in bulk. */\n int ATTACH_BATCH_SIZE = 1000;\n\n /**\n * Finds the plagiarism detection configuration of the given exercise, if one exists.\n *\n * @param exerciseId the id of the exercise\n * @return the configuration, or empty when the exercise has none\n */\n @Query(\"\"\"\n SELECT configuration\n FROM PlagiarismDetectionConfig configuration\n WHERE configuration.exercise.id = :exerciseId\n \"\"\")\n Optional findByExerciseId(@Param(\"exerciseId\") long exerciseId);\n\n /**\n * Reads the configurations of several exercises in one query.\n *\n * @param exerciseIds the ids of the exercises\n * @return the configurations that exist; an exercise without one has no entry, and\n * {@link PlagiarismDetectionConfig#getExerciseId()} says which exercise each one belongs to\n */\n @Query(\"\"\"\n SELECT configuration\n FROM PlagiarismDetectionConfig configuration\n WHERE configuration.exercise.id IN :exerciseIds\n \"\"\")\n List findAllByExerciseIdIn(@Param(\"exerciseIds\") Collection exerciseIds);\n\n /**\n * Creates the plagiarism detection settings of a newly stored exercise with the defaults. A plain insert: callers check\n * {@link #existsByExerciseId(long)} first, so no statement ever locks an index range. The settings are permanent: they exist for every exercise and are only ever updated\n * afterwards.\n *\n * @param exerciseId the id of the exercise\n */\n @Modifying\n @Transactional // ok because of the insert\n @Query(value = \"\"\"\n INSERT INTO plagiarism_detection_config (exercise_id, continuous_plagiarism_control_enabled, continuous_plagiarism_control_post_due_date_checks_enabled,\n continuous_plagiarism_control_case_student_response_period, similarity_threshold, minimum_score, minimum_size)\n VALUES (:exerciseId, FALSE, FALSE, 7, 90, 0, 50)\n \"\"\", nativeQuery = true)\n void insertDefaultsFor(@Param(\"exerciseId\") long exerciseId);\n\n /**\n * Whether the exercise already has its permanent settings row. A plain read: it takes no lock.\n *\n * @param exerciseId the id of the exercise\n * @return true if the row exists\n */\n boolean existsByExerciseId(long exerciseId);\n\n /**\n * Changes an exercise's permanent plagiarism detection settings in place.\n *\n * @param exerciseId the id of the exercise\n * @param controlEnabled whether continuous plagiarism control is enabled\n * @param postDueDateChecksEnabled whether continuous plagiarism control also checks after the due date\n * @param studentResponsePeriod the days a student has to respond to a plagiarism case\n * @param similarityThreshold the similarity from which submissions are reported\n * @param minimumScore the score a submission needs to be considered\n * @param minimumSize the size a submission needs to be considered\n * @return the number of updated rows: 1, or 0 if the exercise has no settings row\n */\n @Modifying\n @Transactional // ok because of the update\n @Query(\"\"\"\n UPDATE PlagiarismDetectionConfig configuration\n SET configuration.continuousPlagiarismControlEnabled = :controlEnabled,\n configuration.continuousPlagiarismControlPostDueDateChecksEnabled = :postDueDateChecksEnabled,\n configuration.continuousPlagiarismControlPlagiarismCaseStudentResponsePeriod = :studentResponsePeriod,\n configuration.similarityThreshold = :similarityThreshold, configuration.minimumScore = :minimumScore, configuration.minimumSize = :minimumSize\n WHERE configuration.exercise.id = :exerciseId\n \"\"\")\n int updateSettings(@Param(\"exerciseId\") long exerciseId, @Param(\"controlEnabled\") boolean controlEnabled, @Param(\"postDueDateChecksEnabled\") boolean postDueDateChecksEnabled,\n @Param(\"studentResponsePeriod\") int studentResponsePeriod, @Param(\"similarityThreshold\") int similarityThreshold, @Param(\"minimumScore\") int minimumScore,\n @Param(\"minimumSize\") int minimumSize);\n\n /**\n * Puts the configuration of an exercise onto it, for a flow that reads or maps it through the exercise. An exercise\n * without a configuration is left empty, which reads as \"no plagiarism detection configuration\".\n *\n * @param exercise the exercise; one that is not persisted yet has no stored configuration and is left untouched\n */\n default void attachTo(Exercise exercise) {\n if (exercise.getId() != null) {\n exercise.setPlagiarismDetectionConfig(findByExerciseId(exercise.getId()).orElse(null));\n }\n }\n\n /**\n * Puts the configurations of several exercises onto them with one query per {@value #ATTACH_BATCH_SIZE} exercises,\n * so that a list of exercises does not read one configuration per exercise.\n *\n * @param exercises the exercises to attach the configurations to\n */\n default void attachTo(Collection exercises) {\n Map exercisesById = new HashMap<>();\n exercises.stream().filter(exercise -> exercise.getId() != null).forEach(exercise -> exercisesById.put(exercise.getId(), exercise));\n exercisesById.values().forEach(exercise -> exercise.setPlagiarismDetectionConfig(null));\n List exerciseIds = List.copyOf(exercisesById.keySet());\n for (int from = 0; from < exerciseIds.size(); from += ATTACH_BATCH_SIZE) {\n List batch = exerciseIds.subList(from, Math.min(from + ATTACH_BATCH_SIZE, exerciseIds.size()));\n findAllByExerciseIdIn(batch).forEach(configuration -> exercisesById.get(configuration.getExerciseId()).setPlagiarismDetectionConfig(configuration));\n }\n }\n\n /**\n * Adds the default settings row of an exercise that has none, which is what a creation that failed after storing the\n * exercise leaves behind. Every save of the exercise calls this, so the exercise repairs itself on its next save.\n *

\n * It takes no lock and needs no transaction: a missing row is found by a plain read and added by a plain insert. If two\n * saves repair the same exercise at the same moment, the unique key lets one insert win and the other finds the row\n * already there. An existing row is never replaced.\n *\n * @param exerciseId the id of the stored exercise\n */\n default void ensureExistsFor(long exerciseId) {\n if (existsByExerciseId(exerciseId)) {\n return;\n }\n try {\n insertDefaultsFor(exerciseId);\n }\n catch (DataIntegrityViolationException e) {\n // a concurrent save adding the same row first is what was wanted; any other violation is a real failure\n if (!existsByExerciseId(exerciseId)) {\n throw e;\n }\n }\n }\n\n /**\n * Gives a newly stored exercise its permanent plagiarism detection row and applies the requested settings to it. Calling\n * this again for the same exercise is safe.\n *\n * @param exercise the exercise that was just stored\n * @param requested the settings the creating request carried, or null for the defaults\n * @return the stored settings\n */\n default PlagiarismDetectionConfig initializeFor(Exercise exercise, @Nullable PlagiarismDetectionConfig requested) {\n return applyTo(exercise, requested);\n }\n\n /**\n * Applies the requested plagiarism detection settings to a saved exercise's permanent row and leaves the stored settings\n * on the exercise's slot. The row is updated in place and never replaced; requesting nothing keeps what is stored.\n *\n * @param exercise the saved exercise\n * @param requested the settings the exercise should have afterwards, or null to keep the stored ones\n * @return the stored settings\n * @throws EntityNotFoundException if the exercise does not exist\n */\n default PlagiarismDetectionConfig applyTo(Exercise exercise, @Nullable PlagiarismDetectionConfig requested) {\n ensureExistsFor(exercise.getId());\n if (requested != null && updateSettings(exercise.getId(), requested.isContinuousPlagiarismControlEnabled(),\n requested.isContinuousPlagiarismControlPostDueDateChecksEnabled(), requested.getContinuousPlagiarismControlPlagiarismCaseStudentResponsePeriod(),\n requested.getSimilarityThreshold(), requested.getMinimumScore(), requested.getMinimumSize()) != 1) {\n throw new EntityNotFoundException(\"PlagiarismDetectionConfig\", exercise.getId());\n }\n attachTo(exercise);\n PlagiarismDetectionConfig stored = exercise.getPlagiarismDetectionConfig();\n if (stored == null) {\n throw new EntityNotFoundException(\"PlagiarismDetectionConfig\", exercise.getId());\n }\n return stored;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/26d8f3e0c922d8e0e801f3b81780fd37ba7b9a33.json b/web/public/bundles/artemis/code/26d8f3e0c922d8e0e801f3b81780fd37ba7b9a33.json new file mode 100644 index 00000000..cfe3d3d2 --- /dev/null +++ b/web/public/bundles/artemis/code/26d8f3e0c922d8e0e801f3b81780fd37ba7b9a33.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "26d8f3e0c922d8e0e801f3b81780fd37ba7b9a33", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/domain/session/IrisTutorSuggestionSession.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.iris.domain.session;\n\nimport jakarta.persistence.DiscriminatorValue;\nimport jakarta.persistence.Entity;\n\nimport com.fasterxml.jackson.annotation.JsonIgnore;\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\n\n/**\n * An IrisTutorSuggestionSession represents a conversation between a user and an LLM in the context of a tutor suggestion.\n * This is used for tutors receiving assistance from Iris for answering student questions.\n */\n@Entity\n@DiscriminatorValue(\"TUTOR_SUGGESTION\")\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic class IrisTutorSuggestionSession extends IrisSession {\n\n @JsonIgnore\n private Long postId;\n\n public IrisTutorSuggestionSession(Long postId, User user) {\n setUserId(user.getId());\n this.postId = postId;\n }\n\n public IrisTutorSuggestionSession() {\n }\n\n public Long getPostId() {\n return postId;\n }\n\n public void setPostId(Long postId) {\n this.postId = postId;\n }\n\n @Override\n public String toString() {\n return \"IrisTutorSuggestionSession{\" + \"userId=\" + getUserId() + \",\" + \"postId=\" + postId + '}';\n }\n\n @Override\n public boolean shouldSelectLLMUsage() {\n return false;\n }\n\n @Override\n public Long getEntityId() {\n return postId;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/2a040a6925a95cfe6fcdfd15c55b527140b4988d.json b/web/public/bundles/artemis/code/2a040a6925a95cfe6fcdfd15c55b527140b4988d.json new file mode 100644 index 00000000..5f947d73 --- /dev/null +++ b/web/public/bundles/artemis/code/2a040a6925a95cfe6fcdfd15c55b527140b4988d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "2a040a6925a95cfe6fcdfd15c55b527140b4988d", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/exception/VersionControlException.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.programming.exception;\n\n/*\n * TODO our exception handling is awful in some places. An example with this exception: I just created this wrapper for now so that we don't have 'throws Exception' after some of\n * our methods in the VersionControlService interface. If we extend from a RuntimeException, this should not be declared in a \"throws\" statement in the first place since they are\n * by definition\n * unchecked exceptions. But, by declaring \"throws Exception\" in the interface, we now have lots of methods calling this interface and just passing the generic exceptions by\n * declaring \"throws Exception\" themselves (Although in the end, we just throw an unchecked RuntimeException).\n */\n\nimport de.tum.cit.aet.artemis.localvc.service.vcs.VersionControlService;\n\n/**\n * Generic exception thrown if there are any errors while communicating with the {@link VersionControlService VersionControlService}\n */\npublic class VersionControlException extends RuntimeException {\n\n public VersionControlException() {\n }\n\n public VersionControlException(String message) {\n super(message);\n }\n\n public VersionControlException(Throwable cause) {\n super(cause);\n }\n\n public VersionControlException(String message, Throwable cause) {\n super(message, cause);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/2a3ce22311608b4d1754208624fb7b10c7177f05.json b/web/public/bundles/artemis/code/2a3ce22311608b4d1754208624fb7b10c7177f05.json new file mode 100644 index 00000000..e800a7e1 --- /dev/null +++ b/web/public/bundles/artemis/code/2a3ce22311608b4d1754208624fb7b10c7177f05.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "2a3ce22311608b4d1754208624fb7b10c7177f05", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/service/SearchableEntityResolver.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.globalsearch.service;\n\nimport java.util.HashMap;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Optional;\n\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.communication.repository.FaqRepository;\nimport de.tum.cit.aet.artemis.communication.repository.conversation.ChannelRepository;\nimport de.tum.cit.aet.artemis.course.repository.CourseRepository;\nimport de.tum.cit.aet.artemis.exam.api.ExamRepositoryApi;\nimport de.tum.cit.aet.artemis.globalsearch.config.WeaviateEnabled;\nimport de.tum.cit.aet.artemis.globalsearch.config.schema.entityschemas.SearchableEntitySchema;\nimport de.tum.cit.aet.artemis.globalsearch.dto.searchableentity.AnswerPostSearchableEntityDTO;\nimport de.tum.cit.aet.artemis.globalsearch.dto.searchableentity.ChannelSearchableEntityDTO;\nimport de.tum.cit.aet.artemis.globalsearch.dto.searchableentity.CourseSearchableEntityDTO;\nimport de.tum.cit.aet.artemis.globalsearch.dto.searchableentity.ExamSearchableEntityDTO;\nimport de.tum.cit.aet.artemis.globalsearch.dto.searchableentity.ExerciseSearchableEntityDTO;\nimport de.tum.cit.aet.artemis.globalsearch.dto.searchableentity.FaqSearchableEntityDTO;\nimport de.tum.cit.aet.artemis.globalsearch.dto.searchableentity.LectureSearchableEntityDTO;\nimport de.tum.cit.aet.artemis.globalsearch.dto.searchableentity.LectureUnitSearchableEntityDTO;\nimport de.tum.cit.aet.artemis.globalsearch.dto.searchableentity.PostSearchableEntityDTO;\nimport de.tum.cit.aet.artemis.globalsearch.repository.SearchableEntityPostRepository;\nimport de.tum.cit.aet.artemis.globalsearch.service.embedding.SearchableEntityChunker;\nimport de.tum.cit.aet.artemis.lecture.api.LectureRepositoryApi;\nimport de.tum.cit.aet.artemis.lecture.api.LectureUnitRepositoryApi;\n\n/**\n * Re-derives the current desired Weaviate state of a single entity from the database (the source of truth) at\n * dispatch time.\n *

\n * The outbox stores only the identity {@code (type, entityId)} of a change, never a content snapshot. When the\n * dispatcher applies an upsert it calls {@link #resolve(String, long)}, which loads the entity from Postgres and\n * rebuilds its property map exactly as the enqueue-time call site would:\n *

    \n *
  • a present, indexable entity resolves to its current property map (the dispatcher upserts it);
  • \n *
  • an entity that has since been deleted, or has become non-indexable (for example a post whose channel was\n * archived or made private), resolves to {@link Optional#empty()} (the dispatcher deletes its row instead).
  • \n *
\n * Because every apply reflects current truth rather than a captured intent, a backed-off or reordered upsert can\n * never resurrect a deleted or hidden entity, and content never goes stale. All the associations the DTOs read\n * (course, lecture, channel, exam) are eager {@code @ManyToOne}s, so a plain {@code findById} materializes them\n * without a fetch join or an open-session-in-view. Post and answer post are the exception: their {@code findById}\n * also drags in unrelated {@code FetchType.EAGER} collections (reactions, and for a post its answers), so those two\n * go through {@link SearchableEntityPostRepository}'s scalar projections instead of {@code findById}.\n */\n@Lazy\n@Service\n@Conditional(WeaviateEnabled.class)\npublic class SearchableEntityResolver {\n\n private final CourseRepository courseRepository;\n\n private final FaqRepository faqRepository;\n\n private final SearchableEntityPostRepository searchableEntityPostRepository;\n\n private final ChannelRepository channelRepository;\n\n private final ExerciseSearchableEntityLoadService exerciseLoadService;\n\n private final Optional examRepositoryApi;\n\n private final Optional lectureRepositoryApi;\n\n private final Optional lectureUnitRepositoryApi;\n\n public SearchableEntityResolver(CourseRepository courseRepository, FaqRepository faqRepository, SearchableEntityPostRepository searchableEntityPostRepository,\n ChannelRepository channelRepository, ExerciseSearchableEntityLoadService exerciseLoadService, Optional examRepositoryApi,\n Optional lectureRepositoryApi, Optional lectureUnitRepositoryApi) {\n this.courseRepository = courseRepository;\n this.faqRepository = faqRepository;\n this.searchableEntityPostRepository = searchableEntityPostRepository;\n this.channelRepository = channelRepository;\n this.exerciseLoadService = exerciseLoadService;\n this.examRepositoryApi = examRepositoryApi;\n this.lectureRepositoryApi = lectureRepositoryApi;\n this.lectureUnitRepositoryApi = lectureUnitRepositoryApi;\n }\n\n /**\n * The channel of an exercise or exam, whose row carries the date from which students may see it and therefore has\n * to be written again when that date changes.\n *\n * @param type {@code exercise} or {@code exam}\n * @param entityId the exercise or exam id\n * @return the channel id, or empty if the item has no channel or another type was given\n */\n public Optional findChannelIdOf(String type, long entityId) {\n return Optional.ofNullable(switch (type) {\n case SearchableEntitySchema.TypeValues.EXERCISE -> channelRepository.findChannelIdByExerciseId(entityId);\n case SearchableEntitySchema.TypeValues.EXAM -> channelRepository.findChannelIdByExamId(entityId);\n default -> null;\n });\n }\n\n /**\n * Resolves the current property map an entity should have in the {@code SearchableEntities} collection.\n *\n * @param type the {@code SearchableEntitySchema.TypeValues} discriminator\n * @param entityId the database id of the entity\n * @return the current property map if the entity exists and is indexable, otherwise {@link Optional#empty()}\n */\n public Optional> resolve(String type, long entityId) {\n return resolveEntity(type, entityId).map(SearchableEntityResolver::withChunkMetadata);\n }\n\n /**\n * Adds the hashes of the entity's embedding inputs and the chunker version. Every write and every drift check goes\n * through {@link #resolve(String, long)}, so both always see the same chunk metadata and therefore the same hash.\n */\n private static Map withChunkMetadata(Map properties) {\n Map withMetadata = new HashMap<>(properties);\n withMetadata.put(SearchableEntitySchema.Properties.CHUNK_HASHES, SearchableEntityChunker.chunk(properties).stream().map(SearchableEntityChunker::hash).toList());\n withMetadata.put(SearchableEntitySchema.Properties.CHUNKER_VERSION, SearchableEntityChunker.CHUNKER_VERSION);\n return withMetadata;\n }\n\n private Optional> resolveEntity(String type, long entityId) {\n return switch (type) {\n case SearchableEntitySchema.TypeValues.COURSE -> courseRepository.findById(entityId).map(course -> CourseSearchableEntityDTO.fromCourse(course).toPropertyMap());\n case SearchableEntitySchema.TypeValues.EXERCISE -> exerciseLoadService.loadExerciseDtoForResolve(entityId).map(ExerciseSearchableEntityDTO::toPropertyMap);\n case SearchableEntitySchema.TypeValues.LECTURE ->\n requireModule(lectureRepositoryApi, \"lecture\", type, entityId).findById(entityId).map(lecture -> LectureSearchableEntityDTO.fromLecture(lecture).toPropertyMap());\n case SearchableEntitySchema.TypeValues.LECTURE_UNIT -> requireModule(lectureUnitRepositoryApi, \"lecture\", type, entityId).findAllByIdsWithLecture(List.of(entityId))\n .stream().findFirst().filter(LectureUnitSearchableEntityDTO::isIndexable).map(unit -> LectureUnitSearchableEntityDTO.fromLectureUnit(unit).toPropertyMap());\n case SearchableEntitySchema.TypeValues.EXAM ->\n requireModule(examRepositoryApi, \"exam\", type, entityId).findById(entityId).map(exam -> ExamSearchableEntityDTO.fromExam(exam).toPropertyMap());\n case SearchableEntitySchema.TypeValues.FAQ -> faqRepository.findById(entityId).map(faq -> FaqSearchableEntityDTO.fromFaq(faq).toPropertyMap());\n case SearchableEntitySchema.TypeValues.CHANNEL -> channelRepository.findById(entityId).filter(ChannelSearchableEntityDTO::isIndexable)\n .map(channel -> ChannelSearchableEntityDTO.fromChannel(channel).toPropertyMap());\n case SearchableEntitySchema.TypeValues.POST -> searchableEntityPostRepository.findIndexablePostProjection(entityId).map(PostSearchableEntityDTO::toPropertyMap);\n case SearchableEntitySchema.TypeValues.ANSWER_POST ->\n searchableEntityPostRepository.findIndexableAnswerPostProjection(entityId).map(AnswerPostSearchableEntityDTO::toPropertyMap);\n default -> throw new IllegalStateException(\"Unknown searchable entity type for re-derivation: \" + type);\n };\n }\n\n /**\n * An absent module is not a deleted entity. Answering {@link Optional#empty()} here would make the dispatcher\n * remove the row and acknowledge the outbox entry, so a scheduling node running without the module would erase\n * valid index data. Failing instead leaves the entry to be retried with backoff until a node that has the module\n * picks it up.\n */\n private static A requireModule(Optional api, String module, String type, long entityId) {\n return api.orElseThrow(() -> new IllegalStateException(\"Cannot re-derive \" + type + \" \" + entityId + \": the \" + module + \" module is not available on this node\"));\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/2a7cf4f768f5bbe943ec2767dc5cbfc4bf482d66.json b/web/public/bundles/artemis/code/2a7cf4f768f5bbe943ec2767dc5cbfc4bf482d66.json new file mode 100644 index 00000000..82f43871 --- /dev/null +++ b/web/public/bundles/artemis/code/2a7cf4f768f5bbe943ec2767dc5cbfc4bf482d66.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "2a7cf4f768f5bbe943ec2767dc5cbfc4bf482d66", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportCompetencyProgressService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.admin.service.export;\n\nimport static de.tum.cit.aet.artemis.admin.service.export.DataExportExerciseCreationService.CSV_FILE_EXTENSION;\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\n\nimport java.io.IOException;\nimport java.nio.file.Files;\nimport java.nio.file.Path;\nimport java.time.ZoneId;\nimport java.time.format.DateTimeFormatter;\nimport java.util.List;\nimport java.util.Optional;\n\nimport org.apache.commons.csv.CSVFormat;\nimport org.apache.commons.csv.CSVPrinter;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.atlas.api.CompetencyProgressApi;\nimport de.tum.cit.aet.artemis.atlas.dto.export.UserCompetencyProgressExportDTO;\n\n/**\n * Service for creating competency progress data exports for GDPR compliance.\n *

\n * This service exports all competency progress records for a user, including\n * their progress and confidence values for each competency across all courses.\n */\n@Profile(PROFILE_CORE)\n@Lazy\n@Service\npublic class DataExportCompetencyProgressService {\n\n private static final Logger log = LoggerFactory.getLogger(DataExportCompetencyProgressService.class);\n\n private static final DateTimeFormatter DATE_FORMATTER = DateTimeFormatter.ofPattern(\"yyyy-MM-dd HH:mm:ss\");\n\n private final Optional competencyProgressApi;\n\n public DataExportCompetencyProgressService(Optional competencyProgressApi) {\n this.competencyProgressApi = competencyProgressApi;\n }\n\n /**\n * Creates the competency progress data export containing all competency progress for the user.\n * If the Atlas module is not enabled, this method does nothing.\n *\n * @param userId the ID of the user for which the data should be exported\n * @param workingDirectory the directory where the export file should be created\n * @throws IOException if the file cannot be created\n */\n public void createCompetencyProgressExport(long userId, Path workingDirectory) throws IOException {\n if (competencyProgressApi.isEmpty()) {\n log.debug(\"Atlas module is not enabled, skipping competency progress data export for user {}\", userId);\n return;\n }\n\n var progressRecords = competencyProgressApi.get().findAllForExportByUserId(userId);\n createCompetencyProgressExportFile(workingDirectory, progressRecords);\n }\n\n /**\n * Creates a CSV file containing all competency progress records for the user.\n *\n * @param workingDirectory the directory where the export file should be created\n * @param progressRecords the list of progress records to be exported\n * @throws IOException if the file cannot be created\n */\n private void createCompetencyProgressExportFile(Path workingDirectory, List progressRecords) throws IOException {\n if (progressRecords == null || progressRecords.isEmpty()) {\n return;\n }\n\n String[] header = { \"course_id\", \"course_title\", \"competency_id\", \"competency_title\", \"progress\", \"confidence\", \"last_modified\" };\n CSVFormat csvFormat = CSVFormat.DEFAULT.builder().setHeader(header).get();\n\n try (final CSVPrinter printer = new CSVPrinter(Files.newBufferedWriter(workingDirectory.resolve(\"competency_progress\" + CSV_FILE_EXTENSION)), csvFormat)) {\n for (var progress : progressRecords) {\n String lastModified = progress.lastModifiedDate() != null ? DATE_FORMATTER.format(progress.lastModifiedDate().atZone(ZoneId.systemDefault())) : \"\";\n printer.printRecord(progress.courseId(), progress.courseTitle(), progress.competencyId(), progress.competencyTitle(), progress.progress(), progress.confidence(),\n lastModified);\n }\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/2ac35e779fb9845ec3c2a1f6dee186a284f19d2b.json b/web/public/bundles/artemis/code/2ac35e779fb9845ec3c2a1f6dee186a284f19d2b.json new file mode 100644 index 00000000..16605bc8 --- /dev/null +++ b/web/public/bundles/artemis/code/2ac35e779fb9845ec3c2a1f6dee186a284f19d2b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "2ac35e779fb9845ec3c2a1f6dee186a284f19d2b", + "language": "typescript", + "path": "src/main/webapp/app/shared-ui/export/row-builder/export-row-builder.ts", + "schema": "codexray.code/1", + "text": "import { ExerciseType } from 'app/exercise/shared/entities/exercise/exercise.model';\nimport { EMAIL_KEY, NAME_KEY, POINTS_KEY, REGISTRATION_NUMBER_KEY, SCORE_KEY, USERNAME_KEY } from 'app/shared-ui/export/export-constants';\n\n// A row is consumed by two mutually incompatible sinks: `downloadCsv` requires primitive CsvCellValue\n// values, while the Excel builder stores CommonSpreadsheetCellObject cells. No single non-`any` type is\n// both a supertype of the Excel cell (needed to store it) and a subtype of CsvCellValue (needed to pass it\n// to downloadCsv), so the shared alias stays `any` until the two export paths use distinct row types.\n// eslint-disable-next-line @typescript-eslint/no-explicit-any -- see comment above; CSV vs. Excel sinks need incompatible value types\nexport type ExportRow = any;\n\n/**\n * Builds rows for exporting student scores.\n */\nexport abstract class ExportRowBuilder {\n private exportRow: { [key: string]: unknown } = {};\n\n readonly accuracyOfScores: number;\n\n /**\n * Creates a new row builder.\n * @param accuracyOfScores The accuracy of fraction digits that should be used for numbers.\n */\n protected constructor(accuracyOfScores = 1) {\n this.accuracyOfScores = accuracyOfScores;\n }\n\n /**\n * Constructs and returns the actual row data.\n */\n build(): ExportRow {\n return this.exportRow;\n }\n\n /**\n * Stores the given value under the key in the row.\n * @param key Which should be associated with the given value.\n * @param value That should be placed in the row. Replaced by the empty string if undefined.\n */\n set(key: string, value: T) {\n this.exportRow[key] = value ?? '';\n }\n\n /**\n * Stores the given points under the key in the row after converting it to the localized format.\n * @param key Which should be associated with the given points.\n * @param points That should be placed in the row.\n */\n abstract setPoints(key: string, points: number | undefined): void;\n\n /**\n * Stores the given score under the key in the row after converting it to the localized percentage format.\n * @param key Which should be associated with the given score.\n * @param score That should be placed in the row.\n */\n abstract setScore(key: string, score: number | undefined): void;\n\n /**\n * Adds information about the student user to the row.\n * @param name The name of the student that should be saved.\n * @param username The username of the student that should be saved.\n * @param email The email of the student that should be saved.\n * @param registrationNumber The registration number of the student that should be saved.\n */\n setUserInformation(name?: string, username?: string, email?: string, registrationNumber?: string) {\n this.set(NAME_KEY, name?.trim());\n this.set(USERNAME_KEY, username?.trim());\n this.set(EMAIL_KEY, email?.trim());\n this.set(REGISTRATION_NUMBER_KEY, registrationNumber?.trim());\n }\n\n /**\n * Adds the points for the given exercise type to the row.\n * @param exerciseType The type of the exercise.\n * @param points The number of points for this exercise type, alternatively already converted to its localized format.\n */\n setExerciseTypePoints(exerciseType: ExerciseType, points: number | string) {\n const key = ExportRowBuilder.getExerciseTypeKey(exerciseType, POINTS_KEY);\n if (typeof points === 'number') {\n this.setPoints(key, points);\n } else {\n this.set(key, points);\n }\n }\n\n /**\n * Adds the score for the given exercise type to the row.\n * @param exerciseType The type of the exercise.\n * @param score The score for this exercise type, alternatively already converted to its localized percentage format.\n */\n setExerciseTypeScore(exerciseType: ExerciseType, score: number | string) {\n const key = ExportRowBuilder.getExerciseTypeKey(exerciseType, SCORE_KEY);\n if (typeof score === 'number') {\n this.setScore(key, score);\n } else {\n this.set(key, score);\n }\n }\n\n /**\n * Generates the proper key under which information related to the exercise type should be stored.\n * @param exerciseType The exercise type.\n * @param suffix A suffix that should be appended to the key.\n */\n static getExerciseTypeKey(exerciseType: ExerciseType, suffix: string): string {\n const exerciseTypeName = ExportRowBuilder.capitalizeFirstLetter(exerciseType);\n return `${exerciseTypeName} ${suffix}`;\n }\n\n private static capitalizeFirstLetter(string: string): string {\n return string.charAt(0).toUpperCase() + string.slice(1);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/2adecfe7679becc74defcea23b3af9bfd48ebe93.json b/web/public/bundles/artemis/code/2adecfe7679becc74defcea23b3af9bfd48ebe93.json new file mode 100644 index 00000000..40896157 --- /dev/null +++ b/web/public/bundles/artemis/code/2adecfe7679becc74defcea23b3af9bfd48ebe93.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "2adecfe7679becc74defcea23b3af9bfd48ebe93", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/domain/CleanupJobExecution.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.admin.domain;\n\nimport java.time.ZonedDateTime;\n\nimport jakarta.persistence.Column;\nimport jakarta.persistence.Entity;\nimport jakarta.persistence.EnumType;\nimport jakarta.persistence.Enumerated;\nimport jakarta.persistence.Table;\n\nimport org.jspecify.annotations.NonNull;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.core.domain.AggregateRoot;\nimport de.tum.cit.aet.artemis.core.domain.DomainObject;\n\n@Entity\n@Table(name = \"cleanup_job_execution\")\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\n@AggregateRoot(\"Operational log.\")\npublic class CleanupJobExecution extends DomainObject {\n\n @Column(name = \"delete_from\")\n private ZonedDateTime deleteFrom;\n\n @Column(name = \"delete_to\")\n private ZonedDateTime deleteTo;\n\n @Column(name = \"deleted_at\")\n @NonNull\n private ZonedDateTime deletionTimestamp;\n\n @Enumerated(EnumType.STRING)\n @Column(name = \"operation_type\")\n private CleanupJobType cleanupJobType;\n\n public CleanupJobExecution() {\n }\n\n public ZonedDateTime getDeleteFrom() {\n return deleteFrom;\n }\n\n public void setDeleteFrom(ZonedDateTime deleteFrom) {\n this.deleteFrom = deleteFrom;\n }\n\n public ZonedDateTime getDeleteTo() {\n return deleteTo;\n }\n\n public void setDeleteTo(ZonedDateTime deleteTo) {\n this.deleteTo = deleteTo;\n }\n\n public ZonedDateTime getDeletionTimestamp() {\n return deletionTimestamp;\n }\n\n public void setDeletionTimestamp(ZonedDateTime deletionTimestamp) {\n this.deletionTimestamp = deletionTimestamp;\n }\n\n public CleanupJobType getCleanupJobType() {\n return cleanupJobType;\n }\n\n public void setCleanupJobType(CleanupJobType cleanupJobType) {\n this.cleanupJobType = cleanupJobType;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/2afcbfe023a296578ae1c9dd6195b276dabf960b.json b/web/public/bundles/artemis/code/2afcbfe023a296578ae1c9dd6195b276dabf960b.json new file mode 100644 index 00000000..a43b7fea --- /dev/null +++ b/web/public/bundles/artemis/code/2afcbfe023a296578ae1c9dd6195b276dabf960b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "2afcbfe023a296578ae1c9dd6195b276dabf960b", + "language": "typescript", + "path": "src/main/webapp/app/text/overview/service/text-editor.service.ts", + "schema": "codexray.code/1", + "text": "import { EditorViewingPurpose } from 'app/exercise/shared/exercise-submission.interface';\nimport { Service, inject } from '@angular/core';\nimport { HttpClient } from '@angular/common/http';\nimport { Observable, tap } from 'rxjs';\nimport { Language } from 'app/course/shared/entities/course.model';\nimport { StudentParticipation } from 'app/exercise/shared/entities/participation/student-participation.model';\nimport { ExerciseService } from 'app/exercise/services/exercise.service';\n\n/**\n * Common English function words for the lightweight English-vs-German language heuristic in\n * {@link TextEditorService.predictLanguage}. Words shared with German (e.g. \"an\", \"in\") appear in\n * both sets so they cancel out in the comparison.\n */\nconst ENGLISH_STOP_WORDS = new Set([\n 'the',\n 'a',\n 'an',\n 'and',\n 'or',\n 'is',\n 'are',\n 'was',\n 'were',\n 'be',\n 'been',\n 'to',\n 'of',\n 'in',\n 'on',\n 'at',\n 'for',\n 'with',\n 'as',\n 'by',\n 'from',\n 'that',\n 'this',\n 'these',\n 'those',\n 'it',\n 'he',\n 'she',\n 'they',\n 'we',\n 'you',\n 'i',\n 'his',\n 'her',\n 'their',\n 'its',\n 'not',\n 'but',\n 'also',\n 'which',\n 'who',\n 'what',\n 'when',\n 'where',\n 'there',\n 'here',\n 'about',\n 'into',\n 'over',\n 'after',\n 'before',\n // Greetings, courtesy and other high-frequency words so short submissions (e.g. \"Thanks\",\n // \"Best regards\") still get classified even when they contain no other function word.\n 'thanks',\n 'thank',\n 'please',\n 'hello',\n 'hi',\n 'yes',\n 'good',\n 'best',\n 'regards',\n 'kind',\n 'have',\n 'has',\n 'had',\n 'will',\n 'would',\n 'can',\n 'could',\n 'should',\n 'my',\n 'your',\n 'our',\n 'more',\n 'much',\n 'very',\n]);\n\n/** Common German function words for the same heuristic. */\nconst GERMAN_STOP_WORDS = new Set([\n 'der',\n 'die',\n 'das',\n 'dass',\n 'ein',\n 'eine',\n 'einer',\n 'eines',\n 'einem',\n 'einen',\n 'und',\n 'oder',\n 'ist',\n 'sind',\n 'war',\n 'waren',\n 'ich',\n 'du',\n 'er',\n 'sie',\n 'wir',\n 'ihr',\n 'nicht',\n 'sich',\n 'mit',\n 'auch',\n 'für',\n 'an',\n 'am',\n 'den',\n 'dem',\n 'des',\n 'von',\n 'vom',\n 'zu',\n 'zum',\n 'zur',\n 'im',\n 'in',\n 'auf',\n 'als',\n 'aus',\n 'bei',\n 'nach',\n 'über',\n 'unter',\n 'durch',\n 'um',\n 'noch',\n 'nur',\n 'sehr',\n 'schon',\n 'wie',\n 'wenn',\n 'weil',\n 'aber',\n 'sowie',\n 'zudem',\n // Greetings, courtesy and other high-frequency words so short submissions (e.g. \"Vielen Dank\",\n // \"Viele Grüße\") still get classified even when they contain no other function word.\n 'danke',\n 'dank',\n 'vielen',\n 'viele',\n 'grüße',\n 'grüßen',\n 'freundlichen',\n 'hallo',\n 'bitte',\n 'gerne',\n 'ja',\n 'nein',\n 'gut',\n 'kein',\n 'keine',\n 'mehr',\n 'hier',\n 'haben',\n 'hat',\n 'hatte',\n 'wird',\n 'werden',\n 'kann',\n 'können',\n 'muss',\n 'soll',\n 'wurde',\n 'wurden',\n 'mein',\n 'meine',\n 'sein',\n 'seine',\n]);\n\n@Service()\nexport class TextEditorService {\n private http = inject(HttpClient);\n\n /**\n * Retrieves the participation data for the text editor.\n * @param participationId - The ID of the participation\n * @param resultId - Optional ID of a specific result to retrieve; if not provided, returns the latest result\n * @returns Observable of the student participation with exercise data\n */\n get(participationId: number, resultId?: number, purpose: EditorViewingPurpose = 'owner'): Observable {\n const params = resultId ? { resultId: resultId.toString() } : undefined;\n return this.http\n .get(`api/text/participations/${participationId}/text-editor${purpose === 'staff-preview' ? '/for-staff' : ''}`, { params })\n .pipe(tap((participation: StudentParticipation) => ExerciseService.convertExerciseDatesFromServer(participation.exercise)));\n }\n\n /**\n * Predicts whether the given text is English or German using a lightweight function-word\n * (stop-word) vote. This is an advisory, non-blocking hint used to pre-fill a submission's\n * language; it is not a general-purpose language detector. Returns undefined when the text is\n * neither clearly English nor German (e.g. another language, or no decisive signal).\n * @param {string} text\n *\n * @returns {Language | undefined} predicted language of the text, or undefined\n */\n predictLanguage(text: string): Language | undefined {\n const words = text.toLowerCase().match(/\\p{L}+/gu);\n if (!words) {\n return undefined;\n }\n\n let englishScore = 0;\n let germanScore = 0;\n for (const word of words) {\n if (ENGLISH_STOP_WORDS.has(word)) {\n englishScore++;\n }\n if (GERMAN_STOP_WORDS.has(word)) {\n germanScore++;\n }\n }\n\n if (germanScore > englishScore) {\n return Language.GERMAN;\n }\n if (englishScore > germanScore) {\n return Language.ENGLISH;\n }\n // On a tie (including no stop-word matches), German-specific characters are a strong German\n // signal for short phrases that contain no function word (e.g. \"Schöne Grüße\").\n if (/[äöüß]/i.test(text)) {\n return Language.GERMAN;\n }\n return undefined;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/2b24ad63f5ebf4429000f58bab4d824b194446c0.json b/web/public/bundles/artemis/code/2b24ad63f5ebf4429000f58bab4d824b194446c0.json new file mode 100644 index 00000000..309bc12a --- /dev/null +++ b/web/public/bundles/artemis/code/2b24ad63f5ebf4429000f58bab4d824b194446c0.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "2b24ad63f5ebf4429000f58bab4d824b194446c0", + "language": "typescript", + "path": "src/main/webapp/app/communication/course-conversations-components/dialogs/conversation-add-users-dialog/conversation-add-users-dialog.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, OnDestroy, inject, signal } from '@angular/core';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { faXmark } from '@fortawesome/free-solid-svg-icons';\nimport { TumAetUiButtonDirective } from '@tumaet/ui-angular/button';\nimport { AlertService } from 'app/foundation/service/alert.service';\nimport { UserPublicInfoDTO } from 'app/account/user/user.model';\nimport { Course } from 'app/course/shared/entities/course.model';\nimport { ConversationDTO } from 'app/communication/shared/entities/conversation/conversation.model';\nimport { HttpErrorResponse } from '@angular/common/http';\nimport { onError } from 'app/foundation/util/global.utils';\nimport { getAsChannelDTO, isChannelDTO } from 'app/communication/shared/entities/conversation/channel.model';\nimport { getAsGroupChatDTO, isGroupChatDTO } from 'app/communication/shared/entities/conversation/group-chat.model';\nimport { Subject, takeUntil } from 'rxjs';\nimport { AbstractDialogComponent } from 'app/communication/course-conversations-components/abstract-dialog.component';\nimport { finalize } from 'rxjs/operators';\nimport { ChannelIconComponent } from 'app/communication/course-conversations-components/other/channel-icon/channel-icon.component';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { AddUsersFormData, ConversationAddUsersFormComponent } from './add-users-form/conversation-add-users-form.component';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { ChannelService } from 'app/communication/conversations/service/channel.service';\nimport { ConversationService } from 'app/communication/conversations/service/conversation.service';\nimport { GroupChatService } from 'app/communication/conversations/service/group-chat.service';\nimport { MAX_GROUP_CHAT_PARTICIPANTS } from 'app/communication/conversations/conversation-settings';\n\n@Component({\n selector: 'jhi-conversation-add-users-dialog',\n templateUrl: './conversation-add-users-dialog.component.html',\n imports: [ChannelIconComponent, TranslateDirective, ConversationAddUsersFormComponent, ArtemisTranslatePipe, FaIconComponent, TumAetUiButtonDirective],\n})\nexport class ConversationAddUsersDialogComponent extends AbstractDialogComponent implements OnDestroy {\n private alertService = inject(AlertService);\n channelService = inject(ChannelService);\n conversationService = inject(ConversationService);\n groupChatService = inject(GroupChatService);\n\n protected readonly faXmark = faXmark;\n\n private ngUnsubscribe = new Subject();\n\n course = signal(undefined);\n activeConversation = signal(undefined);\n\n override isInitialized = false;\n readonly maxSelectable = signal(undefined);\n protected readonly isLoading = signal(false);\n\n override initialize() {\n super.initialize(['course', 'activeConversation']);\n if (this.isInitialized) {\n const activeConversation = this.activeConversation()!;\n if (isGroupChatDTO(activeConversation)) {\n this.maxSelectable.set(MAX_GROUP_CHAT_PARTICIPANTS - (activeConversation?.numberOfMembers ?? 0));\n }\n }\n }\n\n ngOnDestroy() {\n this.ngUnsubscribe.next();\n this.ngUnsubscribe.complete();\n }\n\n onFormSubmitted({ selectedUsers, addAllStudents, addAllTutors, addAllInstructors }: AddUsersFormData) {\n this.addUsers(selectedUsers ?? [], addAllStudents, addAllTutors, addAllInstructors);\n }\n\n getAsChannel = getAsChannelDTO;\n getAsGroupChat = getAsGroupChatDTO;\n\n private addUsers(usersToAdd: UserPublicInfoDTO[], addAllStudents: boolean, addAllTutors: boolean, addAllInstructors: boolean) {\n const userLogins = usersToAdd.map((user) => user.login!);\n\n this.isLoading.set(true);\n\n const activeConversation = this.activeConversation()!;\n if (isChannelDTO(activeConversation)) {\n this.channelService\n .registerUsersToChannel(this.course()!.id!, activeConversation.id!, addAllStudents, addAllTutors, addAllInstructors, userLogins)\n .pipe(\n finalize(() => {\n this.isLoading.set(false);\n }),\n takeUntil(this.ngUnsubscribe),\n )\n .subscribe({\n next: () => {\n this.close(true);\n },\n error: (errorResponse: HttpErrorResponse) => {\n onError(this.alertService, errorResponse);\n },\n });\n } else if (isGroupChatDTO(activeConversation)) {\n this.groupChatService\n .addUsersToGroupChat(this.course()!.id!, activeConversation.id!, userLogins)\n .pipe(\n finalize(() => {\n this.isLoading.set(false);\n }),\n takeUntil(this.ngUnsubscribe),\n )\n .subscribe({\n next: () => {\n this.close(true);\n },\n error: (errorResponse: HttpErrorResponse) => {\n onError(this.alertService, errorResponse);\n },\n });\n } else {\n throw new Error('Conversation type not supported');\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/2b918ed65a2bca7d54945c92f11873a7f70fa23e.json b/web/public/bundles/artemis/code/2b918ed65a2bca7d54945c92f11873a7f70fa23e.json new file mode 100644 index 00000000..e226d89c --- /dev/null +++ b/web/public/bundles/artemis/code/2b918ed65a2bca7d54945c92f11873a7f70fa23e.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "2b918ed65a2bca7d54945c92f11873a7f70fa23e", + "language": "typescript", + "path": "src/main/webapp/app/course/shared/entities/course-management-response.dto.ts", + "schema": "codexray.code/1", + "text": "import { User } from 'app/account/user/user.model';\nimport type { CompetencyTaxonomy, CourseCompetencyType } from 'app/atlas/shared/entities/competency.model';\nimport { Prerequisite } from 'app/atlas/shared/entities/prerequisite.model';\nimport { Organization } from 'app/admin/organization-management/organization.model';\nimport { Course, CourseInformationSharingConfiguration, Language } from 'app/course/shared/entities/course.model';\nimport type { InitialCommitAuthor } from 'app/course/shared/entities/course-configuration.model';\nimport { convertDateStringFromServer } from 'app/foundation/util/date.utils';\nimport { TutorialGroupsConfiguration } from 'app/tutorialgroup/shared/entities/tutorial-groups-configuration.model';\nimport { hydrate } from 'app/foundation/util/deep-clone.util';\nimport { Exercise, ExerciseType } from 'app/exercise/shared/entities/exercise/exercise.model';\nimport type { ProgrammingLanguage } from 'app/programming/shared/entities/programming-exercise.model';\n\nclass CourseQuizSelectionExercise extends Exercise {\n constructor() {\n super(ExerciseType.QUIZ);\n }\n}\n\nexport interface CoursePrerequisiteDTO {\n id: number;\n title: string;\n description?: string;\n taxonomy?: CompetencyTaxonomy;\n softDueDate?: string;\n masteryThreshold: number;\n optional: boolean;\n type: CourseCompetencyType;\n}\n\nexport interface CourseForEnrollmentDTO {\n id: number;\n title: string;\n description?: string;\n semester?: string;\n enrollmentConfirmationMessage?: string;\n prerequisites?: CoursePrerequisiteDTO[];\n}\n\nexport interface CourseMemberDTO {\n id: number;\n login?: string;\n name?: string;\n firstName?: string;\n lastName?: string;\n email?: string;\n visibleRegistrationNumber?: string;\n imageUrl?: string;\n activated: boolean;\n internal: boolean;\n}\n\nexport interface CourseConfigurationResponseDTO {\n studentWelcomeContext?: string;\n id: number;\n gradeRelevant: boolean;\n dataRetentionHold: boolean;\n autoOrchestratorEnabled: boolean;\n debounceWindowSecondsOverride?: number;\n maxDailyOrchestrationOverride?: number;\n initialCommitAuthor?: InitialCommitAuthor;\n}\n\nexport interface LtiPlatformConfigurationResponseDTO {\n id: number;\n registrationId: string;\n clientId: string;\n authorizationUri: string;\n jwkSetUri: string;\n tokenUri: string;\n originalUrl?: string;\n customName?: string;\n}\n\nexport interface OnlineCourseConfigurationResponseDTO {\n id?: number;\n userPrefix: string;\n requireExistingUser: boolean;\n ltiPlatformConfiguration?: LtiPlatformConfigurationResponseDTO;\n}\n\nexport interface TutorialGroupsConfigurationResponseDTO {\n id: number;\n tutorialPeriodStartInclusive: string;\n tutorialPeriodEndInclusive: string;\n useTutorialGroupChannels: boolean;\n usePublicTutorialGroupChannels: boolean;\n}\n\nexport interface CourseManagementDTO {\n id: number;\n title: string;\n shortName: string;\n description?: string;\n semester?: string;\n startDate?: string;\n endDate?: string;\n enrollmentStartDate?: string;\n enrollmentEndDate?: string;\n unenrollmentEndDate?: string;\n testCourse: boolean;\n language?: Language;\n defaultProgrammingLanguage?: ProgrammingLanguage;\n timeZone?: string;\n color?: string;\n courseIcon?: string;\n enrollmentEnabled?: boolean;\n unenrollmentEnabled: boolean;\n enrollmentConfirmationMessage?: string;\n onboardingDone: boolean;\n onlineCourse: boolean;\n courseInformationSharingConfiguration?: CourseInformationSharingConfiguration;\n courseInformationSharingMessagingCodeOfConduct?: string;\n maxComplaints?: number;\n maxTeamComplaints?: number;\n maxComplaintTimeDays: number;\n maxRequestMoreFeedbackTimeDays: number;\n maxComplaintTextLimit: number;\n maxComplaintResponseTextLimit: number;\n presentationScore?: number;\n maxPoints?: number;\n accuracyOfScores?: number;\n complaintsEnabled: boolean;\n requestMoreFeedbackEnabled: boolean;\n athenaGradingFeedbackEnabled: boolean;\n athenaFormativeFeedbackEnabled: boolean;\n learningPathsEnabled: boolean;\n presentationAssessmentsEnabled: boolean;\n trainingEnabled: boolean;\n numberOfStudents?: number;\n numberOfTeachingAssistants?: number;\n numberOfEditors?: number;\n numberOfInstructors?: number;\n onlineCourseConfiguration?: OnlineCourseConfigurationResponseDTO;\n tutorialGroupsConfiguration?: TutorialGroupsConfigurationResponseDTO;\n courseConfiguration?: CourseConfigurationResponseDTO;\n courseArchivePath?: string;\n}\n\nexport interface CourseManagementOverviewDTO {\n id: number;\n title: string;\n shortName: string;\n description?: string;\n startDate?: string;\n endDate?: string;\n semester?: string;\n testCourse: boolean;\n color?: string;\n courseIcon?: string;\n timeZone?: string;\n courseInformationSharingConfiguration?: CourseInformationSharingConfiguration;\n}\n\nexport interface CourseQuizExerciseReferenceDTO {\n id: number;\n title: string;\n shortName?: string;\n}\n\nexport interface CourseForQuizSelectionDTO {\n id: number;\n title: string;\n exercises?: CourseQuizExerciseReferenceDTO[];\n}\n\nexport interface OrganizationDTO {\n id: number;\n name: string;\n shortName: string;\n url?: string;\n description?: string;\n emailPattern: string;\n logoUrl?: string;\n numberOfUsers?: number;\n numberOfCourses?: number;\n}\n\nexport interface CourseWithOrganizationsDTO {\n course: CourseManagementDTO;\n organizations?: OrganizationDTO[];\n}\n\nexport interface CourseWithIdDTO {\n id: number;\n}\n\nexport function courseFromManagementDTO(dto: CourseManagementDTO): Course {\n const course: Course = hydrate(new Course(), dto);\n course.startDate = convertDateStringFromServer(dto.startDate);\n course.endDate = convertDateStringFromServer(dto.endDate);\n course.enrollmentStartDate = convertDateStringFromServer(dto.enrollmentStartDate);\n course.enrollmentEndDate = convertDateStringFromServer(dto.enrollmentEndDate);\n course.unenrollmentEndDate = convertDateStringFromServer(dto.unenrollmentEndDate);\n course.tutorialGroupsConfiguration = tutorialGroupsConfigurationFromDTO(dto.tutorialGroupsConfiguration);\n return course;\n}\n\nfunction tutorialGroupsConfigurationFromDTO(dto?: TutorialGroupsConfigurationResponseDTO): TutorialGroupsConfiguration | undefined {\n if (!dto) {\n return undefined;\n }\n return hydrate(new TutorialGroupsConfiguration(), dto, {\n tutorialPeriodStartInclusive: convertDateStringFromServer(dto.tutorialPeriodStartInclusive),\n tutorialPeriodEndInclusive: convertDateStringFromServer(dto.tutorialPeriodEndInclusive),\n });\n}\n\nexport function courseFromEnrollmentDTO(dto: CourseForEnrollmentDTO): Course {\n const course: Course = hydrate(new Course(), dto);\n course.prerequisites = (dto.prerequisites ?? []).map((prerequisiteDTO) => {\n const prerequisite: Prerequisite = hydrate(new Prerequisite(), prerequisiteDTO);\n prerequisite.softDueDate = convertDateStringFromServer(prerequisiteDTO.softDueDate);\n return prerequisite;\n });\n return course;\n}\n\nexport function courseFromQuizSelectionDTO(dto: CourseForQuizSelectionDTO): Course {\n const course: Course = hydrate(new Course(), dto);\n course.exercises = (dto.exercises ?? []).map((exerciseDTO) => hydrate(new CourseQuizSelectionExercise(), exerciseDTO));\n return course;\n}\n\nexport function courseFromManagementOverviewDTO(dto: CourseManagementOverviewDTO): Course {\n const course: Course = hydrate(new Course(), dto);\n course.startDate = convertDateStringFromServer(dto.startDate);\n course.endDate = convertDateStringFromServer(dto.endDate);\n return course;\n}\n\nexport function courseFromOrganizationsDTO(dto: CourseWithOrganizationsDTO): Course {\n const course = courseFromManagementDTO(dto.course);\n course.organizations = (dto.organizations ?? []).map((organizationDTO) => hydrate(new Organization(), organizationDTO));\n return course;\n}\n\nexport function courseMemberFromDTO(dto: CourseMemberDTO): User {\n return hydrate(new User(), dto);\n}\n\nexport function courseWithIdFromDTO(dto: CourseWithIdDTO): Course {\n return hydrate(new Course(), dto);\n}\n" +} diff --git a/web/public/bundles/artemis/code/2bc9d9a51fb1c821255e6f7e84ac7d0845f1637b.json b/web/public/bundles/artemis/code/2bc9d9a51fb1c821255e6f7e84ac7d0845f1637b.json new file mode 100644 index 00000000..5d275af3 --- /dev/null +++ b/web/public/bundles/artemis/code/2bc9d9a51fb1c821255e6f7e84ac7d0845f1637b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "2bc9d9a51fb1c821255e6f7e84ac7d0845f1637b", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/dto/struggle/PyrisStruggleInterventionStatusUpdateDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.iris.service.pyris.dto.struggle;\n\nimport java.util.List;\n\nimport org.jspecify.annotations.NonNull;\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\nimport com.fasterxml.jackson.annotation.JsonProperty;\n\nimport de.tum.cit.aet.artemis.admin.domain.LLMRequest;\nimport de.tum.cit.aet.artemis.iris.service.pyris.dto.status.PyrisRunState;\nimport de.tum.cit.aet.artemis.iris.service.pyris.dto.status.PyrisStatusErrorDTO;\n\n/**\n * Result of a struggle-intervention run, posted back by Pyris. Flat fields per the house style.\n * {@code action} is null on non-decision callbacks; the handler keys idempotency on {@code action != null}.\n * {@code result}/{@code confidence} are null when {@code action == \"silent\"} and on the trailing duplicate\n * callback.\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record PyrisStruggleInterventionStatusUpdateDTO(@Nullable String result, @Nullable String action, @Nullable Double confidence, @Nullable String rationale,\n @Nullable PyrisRunState runState, @Nullable PyrisStatusErrorDTO error, @NonNull List tokens, @JsonProperty(\"anchor_file\") @Nullable String anchorFile,\n @JsonProperty(\"anchor_line\") @Nullable Integer anchorLine, @JsonProperty(\"inline_hint\") @Nullable String inlineHint, @Nullable Boolean resolved,\n @JsonProperty(\"closing_sentence\") @Nullable String closingSentence, @JsonProperty(\"episode_label\") @Nullable String episodeLabel) {\n\n public PyrisStruggleInterventionStatusUpdateDTO {\n tokens = tokens != null ? tokens : List.of();\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/2c44863431831beea1753647f0ac026e18dab26c.json b/web/public/bundles/artemis/code/2c44863431831beea1753647f0ac026e18dab26c.json new file mode 100644 index 00000000..14be1f16 --- /dev/null +++ b/web/public/bundles/artemis/code/2c44863431831beea1753647f0ac026e18dab26c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "2c44863431831beea1753647f0ac026e18dab26c", + "language": "typescript", + "path": "src/main/webapp/app/quiz/shared/entities/quiz-configuration.model.ts", + "schema": "codexray.code/1", + "text": "import { QuizQuestion } from 'app/quiz/shared/entities/quiz-question.model';\nimport { IncludedInOverallScore } from 'app/exercise/shared/entities/exercise/exercise.model';\nimport { ExerciseGroup } from 'app/exam/shared/entities/exercise-group.model';\n\nexport interface QuizConfiguration {\n id?: number;\n exerciseGroup?: ExerciseGroup;\n quizQuestions?: QuizQuestion[];\n randomizeQuestionOrder?: boolean;\n title?: string;\n maxPoints?: number;\n includedInOverallScore?: IncludedInOverallScore;\n}\n" +} diff --git a/web/public/bundles/artemis/code/2cf984485b1a2358ab250a9c8c96c11c6ebf06f9.json b/web/public/bundles/artemis/code/2cf984485b1a2358ab250a9c8c96c11c6ebf06f9.json new file mode 100644 index 00000000..b46df38e --- /dev/null +++ b/web/public/bundles/artemis/code/2cf984485b1a2358ab250a9c8c96c11c6ebf06f9.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "2cf984485b1a2358ab250a9c8c96c11c6ebf06f9", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/aiworker/config/AiWorkerMessagingConfiguration.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.aiworker.config;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_AIWORKER;\n\nimport org.springframework.boot.context.properties.EnableConfigurationProperties;\nimport org.springframework.context.annotation.Bean;\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Configuration;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\n\nimport de.tum.cit.aet.artemis.aiworker.api.WorkerMessageCodecApi;\nimport de.tum.cit.aet.artemis.aiworker.service.messaging.WorkerTransport;\nimport de.tum.cit.aet.artemis.core.service.distributed.api.DistributedDataProvider;\n\n/** Registers the shared provider transport on eligible core nodes. */\n@Lazy\n@Configuration(proxyBeanMethods = false)\n@Conditional(AiWorkerEnabled.class)\n@EnableConfigurationProperties(AiWorkerProperties.class)\n@Profile(\"!\" + PROFILE_AIWORKER)\npublic class AiWorkerMessagingConfiguration {\n\n @Bean\n public WorkerMessageCodecApi aiWorkerMessageCodecApi() {\n return new WorkerMessageCodecApi();\n }\n\n @Bean\n public WorkerTransport aiWorkerTransport(DistributedDataProvider provider, WorkerMessageCodecApi codec) {\n return new WorkerTransport(provider, codec);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/2da835acd24b4fefed7af6fd26e7906676136f5a.json b/web/public/bundles/artemis/code/2da835acd24b4fefed7af6fd26e7906676136f5a.json new file mode 100644 index 00000000..c762e11f --- /dev/null +++ b/web/public/bundles/artemis/code/2da835acd24b4fefed7af6fd26e7906676136f5a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "2da835acd24b4fefed7af6fd26e7906676136f5a", + "language": "typescript", + "path": "src/main/webapp/app/iris/shared/entities/iris-session-context.model.ts", + "schema": "codexray.code/1", + "text": "import { ExerciseType } from 'app/exercise/shared/entities/exercise/exercise.model';\n\nexport enum ChatServiceMode {\n TEXT_EXERCISE = 'TEXT_EXERCISE_CHAT',\n PROGRAMMING_EXERCISE = 'PROGRAMMING_EXERCISE_CHAT',\n COURSE = 'COURSE_CHAT',\n LECTURE = 'LECTURE_CHAT',\n TUTOR_SUGGESTION = 'TUTOR_SUGGESTION',\n}\n\n/** The exercise types that have an Iris chat, and the chat mode each of them opens. To add Iris support for a new exercise type, add a single entry here. */\nexport const EXERCISE_TYPE_TO_CHAT_MODE: Record = {\n [ExerciseType.TEXT]: ChatServiceMode.TEXT_EXERCISE,\n [ExerciseType.PROGRAMMING]: ChatServiceMode.PROGRAMMING_EXERCISE,\n};\n\nexport interface SessionContext {\n mode: ChatServiceMode;\n entityId: number;\n entityName?: string;\n}\n\n/**\n * Structural equality for session contexts. Ignores `entityName` so a route-derived context\n * (no name) and a dropdown-picked context (with name) compare equal when they target the\n * same `mode + entityId`.\n */\nexport function sameSessionContext(a: SessionContext | undefined, b: SessionContext | undefined): boolean {\n if (a === b) return true;\n if (!a || !b) return false;\n return a.mode === b.mode && a.entityId === b.entityId;\n}\n" +} diff --git a/web/public/bundles/artemis/code/2e53353a809d778e59b5b59748d01098be332f1a.json b/web/public/bundles/artemis/code/2e53353a809d778e59b5b59748d01098be332f1a.json new file mode 100644 index 00000000..e47af7ad --- /dev/null +++ b/web/public/bundles/artemis/code/2e53353a809d778e59b5b59748d01098be332f1a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "2e53353a809d778e59b5b59748d01098be332f1a", + "language": "typescript", + "path": "src/main/webapp/app/communication/emoji/emoji-picker.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, computed, inject, input, output } from '@angular/core';\nimport { Theme, ThemeService } from 'app/core/theme/shared/theme.service';\nimport { EmojiData, EmojiEvent } from '@ctrl/ngx-emoji-mart/ngx-emoji';\nimport { PickerModule } from '@ctrl/ngx-emoji-mart';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { EmojiUtils } from 'app/communication/emoji/emoji.utils';\n\n@Component({\n selector: 'jhi-emoji-picker',\n templateUrl: './emoji-picker.component.html',\n imports: [PickerModule, ArtemisTranslatePipe],\n})\nexport class EmojiPickerComponent {\n private themeService = inject(ThemeService);\n\n recent = input();\n emojiSelect = output();\n emojisToShowFilter = input<(emoji: string | EmojiData) => boolean>();\n categoriesIcons = input<{ [key: string]: string }>({});\n\n utils = EmojiUtils;\n dark = computed(() => this.themeService.currentTheme() === Theme.DARK);\n singleImageFunction = computed(() => (this.dark() ? EmojiUtils.singleDarkModeEmojiUrlFn : () => ''));\n\n onEmojiSelect(event: EmojiEvent) {\n this.emojiSelect.emit(event);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/2ee9c3f9c78f3075cab7919f8e77314d8fc10d92.json b/web/public/bundles/artemis/code/2ee9c3f9c78f3075cab7919f8e77314d8fc10d92.json new file mode 100644 index 00000000..c02ba229 --- /dev/null +++ b/web/public/bundles/artemis/code/2ee9c3f9c78f3075cab7919f8e77314d8fc10d92.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "2ee9c3f9c78f3075cab7919f8e77314d8fc10d92", + "language": "typescript", + "path": "src/main/webapp/app/admin/iris-dashboard/iris-kpi-card/iris-kpi-card.component.ts", + "schema": "codexray.code/1", + "text": "import { ChangeDetectionStrategy, Component, input } from '@angular/core';\nimport { TumAetUiCardComponent } from '@tumaet/ui-angular/card';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { HelpIconComponent } from 'app/shared-ui/components/help-icon/help-icon.component';\n\n@Component({\n selector: 'jhi-iris-kpi-card',\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [TumAetUiCardComponent, TranslateDirective, HelpIconComponent],\n templateUrl: './iris-kpi-card.component.html',\n styleUrls: ['./iris-kpi-card.component.css'],\n})\nexport class IrisKpiCardComponent {\n /** i18n key for the card title. */\n readonly titleKey = input.required();\n\n /** i18n key for the help tooltip explaining the metric. */\n readonly helpKey = input.required();\n}\n" +} diff --git a/web/public/bundles/artemis/code/2fd7aac38b7d4953c35d80aa45c7268057a5621b.json b/web/public/bundles/artemis/code/2fd7aac38b7d4953c35d80aa45c7268057a5621b.json new file mode 100644 index 00000000..b40ba517 --- /dev/null +++ b/web/public/bundles/artemis/code/2fd7aac38b7d4953c35d80aa45c7268057a5621b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "2fd7aac38b7d4953c35d80aa45c7268057a5621b", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ConsistencyCheckService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.programming.service;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\n\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.Optional;\n\nimport org.jspecify.annotations.Nullable;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.localci.service.ci.ContinuousIntegrationService;\nimport de.tum.cit.aet.artemis.localvc.service.LocalVCRepositoryUri;\nimport de.tum.cit.aet.artemis.localvc.service.vcs.VersionControlService;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingExercise;\nimport de.tum.cit.aet.artemis.programming.dto.ConsistencyErrorDTO;\nimport de.tum.cit.aet.artemis.programming.repository.ProgrammingExerciseRepository;\n\n/**\n * Service Implementation for consistency checks\n * of programming exercises\n */\n@Profile(PROFILE_CORE)\n@Lazy\n@Service\npublic class ConsistencyCheckService {\n\n private final Optional versionControlService;\n\n private final Optional continuousIntegrationService;\n\n private final ProgrammingExerciseRepository programmingExerciseRepository;\n\n public ConsistencyCheckService(Optional versionControlService, Optional continuousIntegrationService,\n ProgrammingExerciseRepository programmingExerciseRepository) {\n this.versionControlService = versionControlService;\n this.continuousIntegrationService = continuousIntegrationService;\n this.programmingExerciseRepository = programmingExerciseRepository;\n }\n\n /**\n * Overloaded method for consistency checks, which retrieves the programming exercise before calling\n * the consistency checks method\n *\n * @param exerciseId of the programming exercise to check\n * @return List containing the resulting errors, if any.\n */\n public List checkConsistencyOfProgrammingExercise(long exerciseId) {\n ProgrammingExercise programmingExercise = programmingExerciseRepository.findByIdWithTemplateAndSolutionParticipationAndAuxiliaryRepositoriesElseThrow(exerciseId);\n return checkConsistencyOfProgrammingExercise(programmingExercise);\n }\n\n /**\n * Performs multiple checks for a given programming exercise and returns a list\n * of the resulting errors, if any.\n *

\n * Make sure to load Template and Solution participations along with the programming exercise.\n *

\n * Checks:\n * - Existence of VCS repositories and project\n * - Existence of CI build plans\n *\n * @param programmingExercise of the programming exercise to check\n * @return List containing the resulting errors, if any.\n */\n public List checkConsistencyOfProgrammingExercise(ProgrammingExercise programmingExercise) {\n List result = new ArrayList<>();\n result.addAll(checkVCSConsistency(programmingExercise));\n result.addAll(checkCIConsistency(programmingExercise));\n return result;\n }\n\n /**\n * Checks if a project and its repositories (TEMPLATE, TEST, SOLUTION) exists in the VCS\n * for a given programming exercise.\n *\n * @param programmingExercise to check\n * @return List containing the resulting errors, if any.\n */\n private List checkVCSConsistency(ProgrammingExercise programmingExercise) {\n List result = new ArrayList<>();\n var exerciseSummary = ConsistencyErrorDTO.ProgrammingExerciseSummaryDTO.of(programmingExercise);\n\n VersionControlService versionControl = versionControlService.orElseThrow();\n if (!versionControl.checkIfProjectExists(programmingExercise.getProjectKey(), programmingExercise.getProjectName())) {\n result.add(new ConsistencyErrorDTO(exerciseSummary, ConsistencyErrorDTO.ErrorType.VCS_PROJECT_MISSING));\n }\n else {\n if (!hasValidRepository(programmingExercise.getVcsTemplateRepositoryUri())) {\n result.add(new ConsistencyErrorDTO(exerciseSummary, ConsistencyErrorDTO.ErrorType.TEMPLATE_REPO_MISSING));\n }\n if (!hasValidRepository(programmingExercise.getVcsTestRepositoryUri())) {\n result.add(new ConsistencyErrorDTO(exerciseSummary, ConsistencyErrorDTO.ErrorType.TEST_REPO_MISSING));\n }\n if (!hasValidRepository(programmingExercise.getVcsSolutionRepositoryUri())) {\n result.add(new ConsistencyErrorDTO(exerciseSummary, ConsistencyErrorDTO.ErrorType.SOLUTION_REPO_MISSING));\n }\n for (var auxiliaryRepository : programmingExercise.getAuxiliaryRepositories()) {\n if (!hasValidRepository(auxiliaryRepository.getVcsRepositoryUri())) {\n result.add(new ConsistencyErrorDTO(exerciseSummary, ConsistencyErrorDTO.ErrorType.AUXILIARY_REPO_MISSING));\n }\n }\n }\n return result;\n }\n\n /**\n * Checks if a valid repository exists behind the given URI. This requires that the URI is not null (a null URI typically means the stored URI could not be parsed),\n * that it is syntactically valid, and that a valid git repository exists for it in the VCS. The repository check is required because a syntactically valid URI can\n * still point to a repository that is missing or corrupt, which breaks operations such as starting the exercise (see issue #12840).\n *\n * @param repositoryUri the repository URI to check, may be null\n * @return true if a valid repository exists, false otherwise\n */\n private boolean hasValidRepository(@Nullable LocalVCRepositoryUri repositoryUri) {\n VersionControlService versionControl = versionControlService.orElseThrow();\n return versionControl.repositoryUriIsValid(repositoryUri) && versionControl.isValidGitRepository(repositoryUri);\n }\n\n /**\n * Checks if build plans (TEMPLATE, SOLUTION) exist in the CI for a given\n * programming exercise.\n *\n * @param programmingExercise to check\n * @return List containing the resulting errors, if any.\n */\n private List checkCIConsistency(ProgrammingExercise programmingExercise) {\n List result = new ArrayList<>();\n var exerciseSummary = ConsistencyErrorDTO.ProgrammingExerciseSummaryDTO.of(programmingExercise);\n\n ContinuousIntegrationService continuousIntegration = continuousIntegrationService.orElseThrow();\n if (!continuousIntegration.checkIfBuildPlanExists(programmingExercise.getProjectKey(), programmingExercise.getTemplateBuildPlanId())) {\n result.add(new ConsistencyErrorDTO(exerciseSummary, ConsistencyErrorDTO.ErrorType.TEMPLATE_BUILD_PLAN_MISSING));\n }\n if (!continuousIntegration.checkIfBuildPlanExists(programmingExercise.getProjectKey(), programmingExercise.getSolutionBuildPlanId())) {\n result.add(new ConsistencyErrorDTO(exerciseSummary, ConsistencyErrorDTO.ErrorType.SOLUTION_BUILD_PLAN_MISSING));\n }\n\n return result;\n }\n\n}\n" +} diff --git a/web/public/bundles/artemis/code/2fe74047cfd0a4351d084408c4792d7561bd9170.json b/web/public/bundles/artemis/code/2fe74047cfd0a4351d084408c4792d7561bd9170.json new file mode 100644 index 00000000..a414f869 --- /dev/null +++ b/web/public/bundles/artemis/code/2fe74047cfd0a4351d084408c4792d7561bd9170.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "2fe74047cfd0a4351d084408c4792d7561bd9170", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/BuildAgentAddressRegistryService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.localci.service;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_LOCALCI;\n\nimport java.time.ZonedDateTime;\nimport java.util.HashMap;\nimport java.util.HashSet;\nimport java.util.Map;\nimport java.util.Optional;\nimport java.util.Set;\nimport java.util.concurrent.ConcurrentHashMap;\nimport java.util.concurrent.TimeUnit;\nimport java.util.concurrent.atomic.AtomicReference;\nimport java.util.concurrent.locks.ReentrantLock;\n\nimport jakarta.annotation.PostConstruct;\n\nimport org.jspecify.annotations.Nullable;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.scheduling.annotation.Scheduled;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.buildagent.dto.BuildAgentAddressInfo;\nimport de.tum.cit.aet.artemis.core.config.BuildAgentNetworkPolicy;\nimport de.tum.cit.aet.artemis.core.util.IpAddresses;\n\n/**\n * Records which network addresses each build agent connects to the cluster from, so that the git authorization paths\n * can require a build agent's clone to come from an address that agent is actually connected from.\n *

\n * The addresses are observed by the middleware on the agent's own cluster connection, never reported by the\n * agent. That is the point: {@code BuildAgentDTO.memberAddress} is the agent's view of its local socket, which is\n * pre-NAT and which a hostile agent can set to anything, whereas an observed address is where the connection actually\n * came from. Writing the observation into a distributed map lets any core node authorize a git request from its own\n * local snapshot, without a provider-specific call on the hot path and without caring which node the agent is\n * attached to.\n *

\n * The name the addresses are keyed by is not authenticated. It is the middleware's client name, which the client\n * chooses for itself in both providers (the Hazelcast instance name, or {@code CLIENT SETNAME} under Redis), so a node\n * that has joined the cluster could register its address under another agent's name. That costs nothing extra: such a\n * node can already read every build job's clone token straight out of the queue. This registry raises the bar for\n * everyone who is not a cluster member, and the cluster password, transport security and the configured build\n * agent networks are what keep them out. See {@link BuildJobCloneTokenService} for the same boundary stated from the\n * token's side.\n *

\n * Every core node reconciles. The write is idempotent and taken under the per-key lock the map already offers, so\n * concurrent reconciliation is harmless and no leader election is needed.\n *

\n * Whether an agent can be constrained at all is decided per agent rather than globally, because it depends on the\n * agent. One that shares a JVM with a core node opens no client connection to the middleware and so has no observable\n * origin; the same holds for every agent under a provider that cannot report client addresses. Those are ordinary\n * topologies rather than attacks, and refusing them would break every single-node installation, so an agent with no\n * observed address is left unconstrained while one that is observed is held to the addresses it was observed at.\n *\n * @see BuildAgentNetworkPolicy\n */\n@Service\n@Profile(PROFILE_LOCALCI)\n@Lazy(false)\npublic class BuildAgentAddressRegistryService {\n\n private static final Logger log = LoggerFactory.getLogger(BuildAgentAddressRegistryService.class);\n\n /**\n * How often the observed addresses are reconciled into the distributed map. Short enough that an agent which\n * reconnects from a new address can clone again quickly, long enough not to matter next to the git traffic.\n */\n private static final long REFRESH_INTERVAL_MS = 30_000;\n\n /**\n * How long a request waits for a reconcile that another request is already performing. Generous relative to the\n * providers' own timeouts, so that reaching it means the middleware is not answering at all rather than merely\n * being busy - which is why the caller then refuses instead of falling back to the not-observable exemption.\n */\n private static final long REFRESH_ON_MISS_WAIT_MS = 5_000;\n\n private final DistributedDataAccessService distributedDataAccessService;\n\n private final BuildAgentNetworkPolicy buildAgentNetworkPolicy;\n\n /**\n * Local snapshot of the registered addresses, consulted per git request. Reading the distributed map on every\n * fetch would put a network round trip in front of every clone during an exam peak.\n *

\n * Held in an atomic reference and replaced wholesale rather than mutated, so readers always see a complete generation.\n */\n private final AtomicReference>> addressesByAgentName = new AtomicReference<>(Map.of());\n\n /**\n * Whether the middleware has ever answered a request for the connected clients on this node, an empty list included.\n *

\n * Not merely diagnostic. {@link #isRegisteredAddressOfAgent} uses it to tell a deployment that can never report\n * client addresses from one that normally can and has just failed, because the provider reports both as \"no answer\"\n * and only the former makes a missing entry mean \"not observable\". It stays false for the whole life of an\n * installation whose provider does not support the query, and flips to true on the first answer otherwise.\n *

\n * Deliberately not used as a global gate on the binding: whether an agent can be observed depends on the agent, not\n * on the node - an agent sharing a JVM with a core node opens no client connection even where the query works\n * perfectly - and gating globally on this once refused every clone on every single-node installation.\n */\n private volatile boolean addressObservationAvailable = false;\n\n /**\n * What the last logged observability state was, so the transition is announced once instead of every 30 seconds.\n *

\n * Null until the first reconcile round has concluded either way. This is the only user-visible signal that the\n * origin binding is not constraining anything on this installation - the per-request decision logs at debug, and a\n * deployment that expected the binding to be active would otherwise have no way to tell it is not.\n */\n private volatile Boolean loggedAddressObservability = null;\n\n /**\n * The agents this node has itself observed connecting, at any point since it started.\n *

\n * Needed because the middleware answers \"who is connected\" per node: Hazelcast's\n * {@code ClientService.getConnectedClients()} returns the clients of the member it is asked, not of the cluster. So\n * an agent absent from this node's answer has two meanings - it disconnected, or it simply never attached to this\n * particular member - and only the first may clear its addresses, because clearing them denies its clones on every\n * node. A node that has just joined has seen nobody yet and would otherwise blank the whole registry on its first\n * round.\n *

\n * Only ever added to. An agent that leaves and returns is re-observed, and the entry a node declines to clear stays\n * at the addresses that node last saw, which is the safe direction: the agent remains bound to real addresses\n * rather than becoming unbound.\n */\n private final Set agentsObservedByThisNode = ConcurrentHashMap.newKeySet();\n\n /**\n * Serialises the refreshes triggered by a lookup miss, so that a request which does not perform the refresh waits\n * for the one in flight instead of deciding on the snapshot that refresh is about to replace.\n *

\n * A lock rather than an atomic timestamp because the requests that do not refresh still need the result. Debouncing\n * with a compare-and-set let the losers proceed immediately on the stale snapshot, and a stale snapshot with no\n * entry for an agent is indistinguishable from an agent whose origin cannot be observed - so a request could be\n * granted the not-observable exemption during the very refresh that was about to register the agent's real address.\n * Fair, so a burst of misses is served in arrival order rather than one thread starving behind the others.\n */\n private final ReentrantLock refreshOnMissLock = new ReentrantLock(true);\n\n /**\n * When the last reconcile performed for a decision completed, on {@link System#nanoTime}'s monotonic clock so that\n * a wall-clock adjustment cannot make a stale observation look recent.\n *

\n * Compared against the arrival of each request rather than against \"how long ago\": see {@link #reconcileForDecision}.\n *

\n * Initialised to the clock at construction rather than to a sentinel such as {@code Long.MIN_VALUE}. The comparison\n * there is an overflow-safe subtraction, which is only valid while the two values lie within a single nanoTime\n * period of each other; a sentinel breaks that and made the very first request read as \"already observed\", taking\n * the initial outcome below and refusing every build until the first scheduled reconcile. A timestamp from before\n * any request can arrive is both truthful - nothing has been observed for a decision yet - and safe to subtract.\n */\n private volatile long lastDecisionObservationAt = System.nanoTime();\n\n /**\n * What that reconcile established, so a request which waited for someone else's reconcile learns its outcome\n * instead of assuming it succeeded.\n */\n private volatile ObservationOutcome lastDecisionOutcome = ObservationOutcome.FAILED;\n\n public BuildAgentAddressRegistryService(DistributedDataAccessService distributedDataAccessService, BuildAgentNetworkPolicy buildAgentNetworkPolicy) {\n this.distributedDataAccessService = distributedDataAccessService;\n this.buildAgentNetworkPolicy = buildAgentNetworkPolicy;\n }\n\n /**\n * Reconciles once this node is connected, and again whenever a build agent disconnects so that its addresses stop\n * authorizing clones immediately.\n *

\n * There is deliberately no connect-side listener: the middleware reports client disconnections but not connections\n * ({@code ClientListener.clientConnected} is not surfaced by the provider). An agent that reconnects is therefore\n * picked up either by the scheduled reconcile or, sooner, by the refresh that\n * {@link #isRegisteredAddressOfAgent} performs when it finds no matching address.\n */\n @PostConstruct\n public void registerListeners() {\n distributedDataAccessService.addConnectionStateListener(_ -> refreshRegisteredAddresses());\n distributedDataAccessService.addClientDisconnectionListener(_ -> refreshRegisteredAddresses());\n }\n\n /**\n * Reconciles the observed client addresses into the distributed map and refreshes the local snapshot.\n *

\n * Runs on every core node. An agent that is no longer connected loses its addresses, so a stale address cannot keep\n * authorizing clones after the agent it belonged to has gone, and its entry is kept until the agent can no longer\n * authenticate anything - see the reasoning at the removal loop below.\n */\n @Scheduled(initialDelay = 10_000, fixedDelay = REFRESH_INTERVAL_MS)\n public void refreshRegisteredAddresses() {\n reconcileObservedAddresses();\n }\n\n /**\n * What one reconcile round established. Three states rather than a boolean, because the two ways of ending without\n * a fresh snapshot mean opposite things for authorization: a provider that cannot report client addresses is a\n * supported deployment whose agents must stay unconstrained, whereas a round that simply failed establishes nothing\n * and must not be used to exempt anybody.\n */\n private enum ObservationOutcome {\n\n /** A provider answer was obtained and reconciled into the snapshot. */\n OBSERVED,\n\n /** The provider cannot report client addresses at all, so no agent's origin can be constrained on this node. */\n UNOBSERVABLE,\n\n /** This node is not in the cluster, or the round threw. Nothing was established either way. */\n FAILED\n }\n\n /**\n * Reconciles once and reports whether it managed to observe anything.\n *

\n * The distinction is load bearing for {@link #isRegisteredAddressOfAgent}: an agent with no entry may only be\n * granted the not-observable exemption on the strength of a reconcile that actually completed against a provider\n * answer. A round that returned early - this node not in the cluster, or the middleware unable to report client\n * addresses - proves nothing about the agent and must not be mistaken for one that found it absent.\n *\n * @return what this round established\n */\n private ObservationOutcome reconcileObservedAddresses() {\n if (!distributedDataAccessService.isConnectedToCluster()) {\n return ObservationOutcome.FAILED;\n }\n\n try {\n if (!distributedDataAccessService.clientsConnectDirectlyToCoreNodes()) {\n // The middleware can say where a client connected from, but not where it will clone from: its clients\n // connect to it rather than to a core node, so the two are different network paths and comparing them\n // would refuse every legitimate agent. Nothing is observed here - but the agents report the address a\n // core node measured for them, so the snapshot is still refreshed and an agent that has reported one is\n // still bound to it. Only agents that have reported nothing are unconstrained.\n logAddressObservability(false);\n refreshLocalSnapshot();\n return ObservationOutcome.UNOBSERVABLE;\n }\n\n // Empty means the middleware could not answer: an unsupported provider, or a query that failed or timed\n // out. Keep the previous snapshot in that case rather than concluding that every agent disconnected, which\n // would reject every clone in the cluster until the next successful round.\n Optional>> observedAddresses = distributedDataAccessService.getConnectedClientAddresses();\n if (observedAddresses.isEmpty()) {\n log.debug(\"The middleware cannot report connected client addresses right now, keeping the previously registered ones\");\n logAddressObservability(false);\n // Refreshed even so. Nothing is written, so the registered addresses of the last good round survive\n // untouched, and any agent that has reported one meanwhile is picked up rather than waiting for the\n // middleware to recover.\n refreshLocalSnapshot();\n return ObservationOutcome.UNOBSERVABLE;\n }\n Map> observed = toBuildAgentNames(observedAddresses.get());\n addressObservationAvailable = true;\n logAddressObservability(true);\n\n var registeredAddresses = distributedDataAccessService.getDistributedBuildAgentAddresses();\n ZonedDateTime observedAt = ZonedDateTime.now();\n\n agentsObservedByThisNode.addAll(observed.keySet());\n\n for (var entry : observed.entrySet()) {\n String agentName = entry.getKey();\n Set addresses = Set.copyOf(entry.getValue());\n boolean withinAllowlist = addresses.stream().allMatch(buildAgentNetworkPolicy::isWithinAllowedRanges);\n\n registeredAddresses.lock(agentName);\n try {\n BuildAgentAddressInfo previous = registeredAddresses.get(agentName);\n registeredAddresses.put(agentName, new BuildAgentAddressInfo(agentName, addresses, observedAt, withinAllowlist));\n if (previous == null || previous.withinAllowlist() != withinAllowlist) {\n logAllowlistOutcome(agentName, addresses, withinAllowlist);\n }\n }\n finally {\n registeredAddresses.unlock(agentName);\n }\n }\n\n // The middleware answered, so an agent missing from the answer really is disconnected rather than merely\n // unobservable. That distinction is the whole reason the provider returns an Optional.\n //\n // Disconnected is not the same as gone, and deleting the entry outright would be a security hole rather\n // than mere cleanup: an absent entry means \"origin not observable\" to isRegisteredAddressOfAgent, which\n // then permits any address. The agent's identity in buildAgentInformation and its orphaned jobs in the\n // processing list are cleaned by different listeners, so between this removal and theirs a leaked key or\n // token would still name a known agent, still match a listed job, and no longer be bound to any address -\n // and if that cleanup fails, the window stays open. So an agent that can still be named or still holds jobs\n // keeps an entry with no addresses: known, observable, and matching nothing, which denies rather than\n // exempts. The entry is dropped only once the agent can no longer authenticate anything anyway.\n for (String registeredAgent : Set.copyOf(registeredAddresses.keySet())) {\n if (observed.containsKey(registeredAgent)) {\n continue;\n }\n if (canStillAuthenticate(registeredAgent)) {\n if (!agentsObservedByThisNode.contains(registeredAgent)) {\n // This node has never seen that agent, so its absence here says nothing: the agent's client may\n // simply be attached to other members. Clearing on that basis would deny its clones cluster\n // wide, and a node that has just joined would do it to every agent at once.\n log.debug(\"Build agent {} is not among this node's clients and never has been, so its registered addresses are left to the nodes that observe it\",\n registeredAgent);\n continue;\n }\n registeredAddresses.lock(registeredAgent);\n try {\n BuildAgentAddressInfo previous = registeredAddresses.get(registeredAgent);\n if (previous != null && !previous.addresses().isEmpty()) {\n registeredAddresses.put(registeredAgent, new BuildAgentAddressInfo(registeredAgent, Set.of(), observedAt, previous.withinAllowlist()));\n log.info(\"Build agent {} is no longer connected. Its addresses are cleared, and it may not clone until its registration and jobs are cleaned up.\",\n registeredAgent);\n }\n }\n finally {\n registeredAddresses.unlock(registeredAgent);\n }\n }\n else {\n registeredAddresses.remove(registeredAgent);\n log.debug(\"Removed network addresses of build agent {}, which is no longer connected and no longer registered\", registeredAgent);\n }\n }\n\n refreshLocalSnapshot();\n return ObservationOutcome.OBSERVED;\n }\n catch (Exception e) {\n // Never let a reconciliation failure propagate into the scheduler: the previous snapshot stays in place\n // and the next run retries. Failing here must not stop builds.\n log.error(\"Could not refresh the registered build agent addresses\", e);\n return ObservationOutcome.FAILED;\n }\n }\n\n /**\n * Announces whether this node can observe where build agents connect from, once per change rather than once per\n * round.\n *\n * @param observable whether the middleware answered the query for connected client addresses\n */\n private void logAddressObservability(boolean observable) {\n if (loggedAddressObservability != null && loggedAddressObservability == observable) {\n return;\n }\n loggedAddressObservability = observable;\n if (observable) {\n log.info(\"This node can observe where cluster clients connect from, so a build agent that connects as one may only clone from an address it is observed at. An agent \"\n + \"that shares a JVM with a core node opens no client connection and is therefore not bound to any address, which is the normal single node topology.\");\n }\n else {\n log.warn(\"Build agent clones are not bound to an agent's own address on this node: the distributed data provider either cannot report where its clients connect \"\n + \"from, or its clients connect to the middleware rather than to a core node, in which case the address it observed is not the one a clone arrives from. \"\n + \"The build agent networks and the per-build-job scoping still apply, and both are checked against the address of the request itself. An agent that \"\n + \"shares a JVM with a core node opens no client connection at all and is likewise unbound, which is expected on a single node installation.\");\n }\n }\n\n /**\n * Translates the middleware's view of who is connected into build agent short names, dropping every client that is\n * not a build agent.\n *

\n * The two providers name the same agent differently, and getting this wrong is silent: the registry would simply\n * never hold an entry for any agent, every agent would take the not-observable exemption, and the origin binding\n * would be off with nothing saying so.\n *

    \n *
  • Hazelcast names a client by its instance name, which the agent sets to its own short name, so the\n * observed key already is the short name.
  • \n *
  • Redis has no member/client split. A node's client name is its node identity, which is unique per node\n * and therefore cannot be the agent short name on a node that is both core node and build agent. The agent\n * publishes that identity as its {@code memberAddress}, so it is what maps the two together.
  • \n *
\n * A client matching no build agent is left out rather than registered under its own name: it is another core node,\n * and an entry for it would only be a row in the admin view for something that never clones.\n *

\n * The {@code memberAddress} side is self-reported, so a cluster member could claim another agent's identity and\n * inherit its observed addresses. That is the boundary this registry already documents - such a member can read\n * every build job's clone token straight out of the queue - and it is the cluster password and the configured\n * build agent networks that keep non-members out.\n *\n * @param observedByClientName the middleware's client name to the addresses it is observed at\n * @return the same addresses keyed by build agent short name, without the clients that are not build agents\n */\n private Map> toBuildAgentNames(Map> observedByClientName) {\n var buildAgents = distributedDataAccessService.getDistributedBuildAgentInformation();\n Map> observedByAgentName = new HashMap<>();\n Map agentNameByMemberAddress = null;\n\n for (var entry : observedByClientName.entrySet()) {\n String clientName = entry.getKey();\n if (buildAgents.get(clientName) != null) {\n // Hazelcast: the client name is the agent short name\n observedByAgentName.merge(clientName, new HashSet<>(entry.getValue()), (existing, added) -> {\n existing.addAll(added);\n return existing;\n });\n continue;\n }\n if (agentNameByMemberAddress == null) {\n // Built once per round and only when a client did not resolve directly, so the Hazelcast path never\n // pays for it\n agentNameByMemberAddress = new HashMap<>();\n for (var agent : buildAgents.values()) {\n if (agent != null && agent.buildAgent() != null && agent.buildAgent().memberAddress() != null) {\n agentNameByMemberAddress.put(agent.buildAgent().memberAddress(), agent.buildAgent().name());\n }\n }\n }\n String agentName = agentNameByMemberAddress.get(clientName);\n if (agentName != null) {\n // Redis: the client name is the node identity the agent published as its member address\n observedByAgentName.merge(agentName, new HashSet<>(entry.getValue()), (existing, added) -> {\n existing.addAll(added);\n return existing;\n });\n }\n }\n return observedByAgentName;\n }\n\n private void logAllowlistOutcome(String agentName, Set addresses, boolean withinAllowlist) {\n if (withinAllowlist) {\n log.info(\"Build agent {} is connected from {}\", agentName, addresses);\n }\n else {\n log.warn(\"Build agent {} is connected from {}, which is outside the configured build agent networks {}. It will not be allowed to clone repositories.\", agentName,\n addresses, buildAgentNetworkPolicy.getAllowedRanges());\n }\n }\n\n /**\n * Rebuilds the snapshot the git paths are answered from.\n *

\n * Every observed agent enters it, including one connected from outside the allowlist. Filtering those out here\n * looks like defence in depth and is the opposite: {@link #isRegisteredAddressOfAgent} reads the absence of an\n * entry as \"this agent's origin cannot be observed\" and permits any address, so excluding an agent would turn the\n * one flagged as suspicious into the only one with no origin binding at all - its credential would then be usable\n * from any address that happens to sit inside the allowed ranges. The allowlist is applied to the address of the\n * request instead, by {@link BuildAgentNetworkPolicy#isWithinAllowedRanges} at each call site, which is where it\n * constrains rather than exempts. {@code withinAllowlist} stays on the entry for the admin UI and the startup log.\n */\n private void refreshLocalSnapshot() {\n Map> snapshot = new HashMap<>();\n // The union of both sources. An agent is bound to every address either one knows about, which is what makes the\n // two complementary rather than competing: where a core node can observe the agent it does, where it cannot the\n // agent's own measurement stands in, and where both exist and disagree - a load balancer on the git path but\n // not on the cluster path - the agent is authorized from either, which is correct because it really does reach\n // core nodes from both.\n addAddresses(snapshot, distributedDataAccessService.getBuildAgentAddressMap());\n addAddresses(snapshot, distributedDataAccessService.getBuildAgentReportedAddressMap());\n addressesByAgentName.set(Map.copyOf(snapshot));\n }\n\n /**\n * Merges one source of addresses into the snapshot under construction.\n *\n * @param snapshot the snapshot being built\n * @param source agent short name to the addresses that source knows about\n */\n private static void addAddresses(Map> snapshot, Map source) {\n for (var entry : source.entrySet()) {\n BuildAgentAddressInfo info = entry.getValue();\n if (info != null) {\n // An entry with no addresses is a tombstone for a disconnected agent and has to keep its key: presence\n // with nothing in it denies, whereas absence would grant the not-observable exemption.\n snapshot.computeIfAbsent(entry.getKey(), _ -> new HashSet<>()).addAll(info.addresses());\n }\n }\n }\n\n /**\n * Checks whether a git request may be treated as coming from the named build agent.\n *

\n * Answered from the local snapshot, so this costs a map lookup and no network traffic.\n *\n * @param agentName the build agent short name the request claims to come from\n * @param ipAddress the address the request actually came from, resolved without trusting client-set headers\n * @return whether that agent may be treated as calling from that address: {@code true} when it is observed there,\n * and also {@code true} when no address is known for it at all, since an agent whose cluster connection\n * cannot be observed - one co-located with a core node, or any agent under a provider that cannot report\n * client addresses - has no origin to check and must not be refused for it\n */\n public boolean isRegisteredAddressOfAgent(String agentName, String ipAddress) {\n if (agentName == null || ipAddress == null) {\n return false;\n }\n // Stamped before anything that can block, because this is what the reconcile below has to be newer than.\n long arrivedAt = System.nanoTime();\n if (matchesRegisteredAddress(agentName, ipAddress)) {\n return true;\n }\n\n // An agent that reconnects re-registers itself and starts pulling jobs immediately, while its observed address\n // is only picked up by the next scheduled reconcile. Without this, every agent restart would fail builds for up\n // to the refresh interval, and fail them in a way that looks like a configuration problem. Refreshing on a miss\n // closes that window; the coordination inside bounds how much work a wrong address can cause.\n log.debug(\"No registered address matches {} for build agent {}, reconciling the registry before deciding\", ipAddress, agentName);\n ObservationOutcome outcome = reconcileForDecision(arrivedAt);\n if (outcome == ObservationOutcome.FAILED) {\n // Nothing was established, so there is nothing to grant an exemption on the strength of. Denying costs\n // nothing extra here: reaching this means the middleware is not answering, and the token and job-scope\n // checks that follow read the processing list from that same middleware, so the request was going to fail\n // anyway. Deliberately not the same as UNOBSERVABLE, handled below, which can be a working deployment.\n log.warn(\"Could not reconcile the build agent addresses while deciding whether {} may act as build agent {}, so the request is refused\", ipAddress, agentName);\n return false;\n }\n if (matchesRegisteredAddress(agentName, ipAddress)) {\n return true;\n }\n\n // Everything below turns on whether \"this agent has no entry\" is informative. It is what grants the exemption,\n // so it may only do so when a reconcile could actually have entered the agent and did not.\n //\n // The exemption itself is not optional. An agent with no entry is normally one whose origin this node cannot\n // observe - one sharing a JVM with a core node opens no client connection to the middleware at all - and refusing\n // those would break every single-node installation. An agent that *is* observed is held to the addresses it was\n // observed at.\n boolean absenceIsInformative;\n if (outcome == ObservationOutcome.OBSERVED) {\n // A reconcile newer than this request answered, so absence means the provider did not report this agent.\n absenceIsInformative = true;\n }\n else {\n // The provider returned no answer at all, and that has two meanings which must not be conflated: a\n // deployment that can never report client addresses, and one that normally can but just failed or timed out.\n // Only the first makes absence informative. Told apart by whether this node has ever obtained an answer,\n // because a deployment where the query works will have answered at least once since startup - so a first-ever\n // failure is treated as the permanent case, which is the safe direction for availability, and every\n // subsequent one as transient.\n absenceIsInformative = !addressObservationAvailable;\n if (!absenceIsInformative) {\n // The preserved snapshot from the last good reconcile is still enforced above, which is the point: a\n // provider hiccup must not lift an origin binding that has already been established for this agent.\n log.warn(\"Client addresses could not be observed while deciding whether {} may act as build agent {}. The addresses from the last successful observation still \"\n + \"apply, and an agent that is not among them is refused.\", ipAddress, agentName);\n }\n }\n\n if (!hasRegisteredAddresses(agentName) && absenceIsInformative) {\n log.debug(\"Build agent {} has no observed cluster connection, so its origin cannot be constrained\", agentName);\n return true;\n }\n return false;\n }\n\n /**\n * Brings the snapshot up to date for a decision that missed, coordinating with any reconcile already in flight.\n *

\n * The condition is that a reconcile completed after this request arrived, not that one completed recently.\n * \"Recently\" cannot speak for a particular agent: there is no connect-side callback, so an agent may connect and\n * publish its identity immediately after a reconcile finishes, and a request using its credential would then find no\n * entry and be handed the not-observable exemption on the strength of an observation taken before the agent existed.\n * Arrival ordering rules that out, because in both the legitimate and the stolen-credential case the agent connected\n * before the request could be made: a reconcile that finishes after the request arrived therefore also saw whatever\n * connection the agent had.\n *

\n * That criterion coalesces rather than multiplies work. A burst of requests all arriving before one reconcile\n * completes is satisfied by that single reconcile, and the fair lock keeps at most one running, so the cost is\n * bounded by reconcile duration rather than by request count. It has no minimum interval on purpose: an interval\n * would mean answering some requests from an observation older than they are, which is the defect above. What limits\n * who can trigger this at all is upstream - a request only reaches here after the caller has established that the\n * name belongs to a registered build agent, by a single-key lookup over https or by a key match over ssh.\n *\n * @param arrivedAt when the deciding request arrived, on {@link System#nanoTime}'s clock\n * @return what the reconcile backing this decision established, whether this call performed it or waited for it\n */\n private ObservationOutcome reconcileForDecision(long arrivedAt) {\n try {\n if (!refreshOnMissLock.tryLock(REFRESH_ON_MISS_WAIT_MS, TimeUnit.MILLISECONDS)) {\n return ObservationOutcome.FAILED;\n }\n }\n catch (InterruptedException e) {\n Thread.currentThread().interrupt();\n return ObservationOutcome.FAILED;\n }\n try {\n if (lastDecisionObservationAt - arrivedAt > 0) {\n // Subtraction rather than a plain comparison, so this stays correct across a nanoTime overflow. A\n // reconcile finished while this request was waiting for the lock, so its observation covers this\n // request and repeating it would establish nothing new.\n return lastDecisionOutcome;\n }\n ObservationOutcome outcome = reconcileObservedAddresses();\n lastDecisionOutcome = outcome;\n lastDecisionObservationAt = System.nanoTime();\n return outcome;\n }\n finally {\n refreshOnMissLock.unlock();\n }\n }\n\n /**\n * Decides whether an agent that is no longer connected could still authenticate a git request, and therefore still\n * needs its origin constrained.\n *\n * @param agentName the build agent that disappeared from the observed connections\n * @return whether the agent can still be named as a build agent or still holds a job whose token would match\n */\n private boolean canStillAuthenticate(String agentName) {\n if (distributedDataAccessService.getDistributedBuildAgentInformation().get(agentName) != null) {\n return true;\n }\n return !distributedDataAccessService.getProcessingJobsForAgentByName(agentName).isEmpty();\n }\n\n /**\n * @param agentName the build agent to look up\n * @return whether this node has an entry for that agent, whether or not it currently holds addresses. An entry with\n * no addresses is a disconnected agent that has not been cleaned up yet, and it must deny rather than fall\n * through to the not-observable exemption, so presence is the question here and not emptiness.\n */\n private boolean hasRegisteredAddresses(String agentName) {\n return addressesByAgentName.get().containsKey(agentName);\n }\n\n private boolean matchesRegisteredAddress(String agentName, String ipAddress) {\n Set addresses = addressesByAgentName.get().get(agentName);\n if (addresses == null) {\n return false;\n }\n if (addresses.contains(ipAddress)) {\n return true;\n }\n // Compare the parsed addresses too, because the two sides are formatted independently: the middleware reports\n // whatever InetAddress or Redis produced, while the request side comes from the servlet container. The same\n // address can therefore appear as ::1 and 0:0:0:0:0:0:0:1, or as ::ffff:10.0.0.5 and 10.0.0.5. The second of\n // those needs a conversion that neither string equality nor IPAddress.equals performs, which is why this goes\n // through IpAddresses rather than comparing parsed values directly.\n return addresses.stream().anyMatch(address -> IpAddresses.sameHost(address, ipAddress));\n }\n\n /**\n * Checks whether an address belongs to some build agent this cluster has observed connecting from it.\n *

\n * This is the automatic counterpart of listing an address in {@code artemis.rate-limiting.exempt-addresses}: build\n * agents drive far more git traffic from one address than any person does - several concurrent jobs, each cloning\n * an assignment, test, solution and auxiliary repository - so a per-address limit sized for people would throttle\n * them, and the operator would have to maintain a static list of agent addresses by hand and keep it correct as\n * agents move. Registering happens when the agent connects, so the exemption follows the agents by itself.\n *

\n * Deliberately answered from the local snapshot with no reconcile: this decides whether to skip a rate\n * limit, so a miss costs a limited request rather than a refused one, and it must stay cheap enough to run ahead of\n * the limiter it guards.\n *

\n * Unlike {@link #isRegisteredAddressOfAgent} this does not ask which agent, because it grants nothing: it\n * decides only whether to count a request against a quota. Authorization always names the agent.\n *\n * @param ipAddress the address a request came from, resolved without trusting client-set headers\n * @return whether any build agent is currently registered at that address\n */\n public boolean isRegisteredBuildAgentAddress(@Nullable String ipAddress) {\n if (ipAddress == null) {\n return false;\n }\n for (Set addresses : addressesByAgentName.get().values()) {\n if (addresses.contains(ipAddress) || addresses.stream().anyMatch(address -> IpAddresses.sameHost(address, ipAddress))) {\n return true;\n }\n }\n return false;\n }\n\n /**\n * @return whether the middleware has reported any client connection on this node. Diagnostics only; see the field.\n */\n public boolean isAddressObservationAvailable() {\n return addressObservationAvailable;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/3021ce179b8d3e17d27b18ceef4595bbf518c15d.json b/web/public/bundles/artemis/code/3021ce179b8d3e17d27b18ceef4595bbf518c15d.json new file mode 100644 index 00000000..1864f48a --- /dev/null +++ b/web/public/bundles/artemis/code/3021ce179b8d3e17d27b18ceef4595bbf518c15d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "3021ce179b8d3e17d27b18ceef4595bbf518c15d", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/dto/VariantPlacementDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.hyperion.dto;\n\nimport java.io.Serializable;\n\nimport jakarta.validation.Valid;\n\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.exercise.dto.CreateExerciseVariantGroupDTO;\n\n/**\n * Placement choice for the generated variant — applied server-side in FINALIZING; the client only refreshes.\n *\n * @param type the placement kind\n * @param existingGroupId required iff type == EXISTING_GROUP\n * @param newGroup required iff type == NEW_GROUP — the same payload as the group-creation endpoint\n * (title, maxPoints, shared timeline dates), so the wizard's new-group form maps 1:1 and\n * the finalizer can delegate to the existing group-creation service path without mapping.\n * Deliberately NOT annotated {@code @Nullable}: springdoc pushes a $ref property's null\n * type into the shared component schema, corrupting CreateExerciseVariantGroup to\n * {@code type: 'null'} in the generated spec. Optionality is expressed via the missing\n * {@code required} entry instead; the resource validates presence per placement type.\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record VariantPlacementDTO(PlacementType type, @Nullable Long existingGroupId, @Valid CreateExerciseVariantGroupDTO newGroup) implements Serializable {\n\n /**\n * EXISTING_GROUP(groupId) | NEW_GROUP(fields) | STANDALONE | SAME_EXAM_GROUP (implicit/forced for exam\n * exercises — the wizard skips the placement step).\n */\n public enum PlacementType {\n EXISTING_GROUP, NEW_GROUP, STANDALONE, SAME_EXAM_GROUP\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/3023fe4cc47e1d1eeaaf56c2296f52964ffdfc6b.json b/web/public/bundles/artemis/code/3023fe4cc47e1d1eeaaf56c2296f52964ffdfc6b.json new file mode 100644 index 00000000..b59b7aad --- /dev/null +++ b/web/public/bundles/artemis/code/3023fe4cc47e1d1eeaaf56c2296f52964ffdfc6b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "3023fe4cc47e1d1eeaaf56c2296f52964ffdfc6b", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/web/LtiResource.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.lti.web;\n\nimport java.text.ParseException;\nimport java.util.Objects;\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\nimport jakarta.validation.Valid;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.http.ResponseEntity;\nimport org.springframework.security.oauth2.core.oidc.OidcIdToken;\nimport org.springframework.web.bind.annotation.GetMapping;\nimport org.springframework.web.bind.annotation.PathVariable;\nimport org.springframework.web.bind.annotation.PostMapping;\nimport org.springframework.web.bind.annotation.PutMapping;\nimport org.springframework.web.bind.annotation.RequestBody;\nimport org.springframework.web.bind.annotation.RequestMapping;\nimport org.springframework.web.bind.annotation.RequestParam;\nimport org.springframework.web.bind.annotation.RestController;\n\nimport com.nimbusds.jwt.SignedJWT;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.account.repository.UserRepository;\nimport de.tum.cit.aet.artemis.core.exception.BadRequestAlertException;\nimport de.tum.cit.aet.artemis.core.exception.EntityNotFoundException;\nimport de.tum.cit.aet.artemis.core.security.annotations.EnforceAtLeastStudent;\nimport de.tum.cit.aet.artemis.core.security.annotations.ManualConfig;\nimport de.tum.cit.aet.artemis.core.security.annotations.enforceRoleInCourse.EnforceAtLeastInstructorInCourse;\nimport de.tum.cit.aet.artemis.core.service.featureusage.FeatureUsage;\nimport de.tum.cit.aet.artemis.core.service.featureusage.UserFeature;\nimport de.tum.cit.aet.artemis.core.util.JsonObjectMapper;\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.course.dto.OnlineCourseDTO;\nimport de.tum.cit.aet.artemis.course.repository.CourseRepository;\nimport de.tum.cit.aet.artemis.course.service.CourseService;\nimport de.tum.cit.aet.artemis.lti.config.LtiEnabled;\nimport de.tum.cit.aet.artemis.lti.domain.OnlineCourseConfiguration;\nimport de.tum.cit.aet.artemis.lti.dto.OnlineCourseConfigurationDTO;\nimport de.tum.cit.aet.artemis.lti.repository.LtiPlatformConfigurationRepository;\nimport de.tum.cit.aet.artemis.lti.repository.OnlineCourseConfigurationRepository;\nimport de.tum.cit.aet.artemis.lti.service.DeepLinkingType;\nimport de.tum.cit.aet.artemis.lti.service.LtiDeepLinkingService;\nimport de.tum.cit.aet.artemis.lti.service.OnlineCourseConfigurationService;\n\n/**\n * REST controller to handle LTI13 launches.\n */\n@Conditional(LtiEnabled.class)\n@Lazy\n@FeatureUsage(UserFeature.LTI)\n@RestController\n@RequestMapping(\"api/lti/\")\npublic class LtiResource {\n\n private static final Logger log = LoggerFactory.getLogger(LtiResource.class);\n\n private final LtiDeepLinkingService ltiDeepLinkingService;\n\n private final OnlineCourseConfigurationService onlineCourseConfigurationService;\n\n private final CourseRepository courseRepository;\n\n private final LtiPlatformConfigurationRepository ltiPlatformConfigurationRepository;\n\n private final OnlineCourseConfigurationRepository onlineCourseConfigurationRepository;\n\n private final UserRepository userRepository;\n\n private final CourseService courseService;\n\n /**\n * Constructor for LtiResource.\n *\n * @param courseRepository Repository for course data access.\n * @param ltiDeepLinkingService Service for LTI deep linking.\n * @param onlineCourseConfigurationService Service for online course configuration.\n * @param ltiPlatformConfigurationRepository Repository for LTI platform configuration.\n * @param onlineCourseConfigurationRepository Repository for the online course configuration of a course.\n * @param userRepository Repository for user data access.\n * @param courseService Service for course operations.\n */\n public LtiResource(CourseRepository courseRepository, LtiDeepLinkingService ltiDeepLinkingService, OnlineCourseConfigurationService onlineCourseConfigurationService,\n LtiPlatformConfigurationRepository ltiPlatformConfigurationRepository, OnlineCourseConfigurationRepository onlineCourseConfigurationRepository,\n UserRepository userRepository, CourseService courseService) {\n this.courseRepository = courseRepository;\n this.ltiDeepLinkingService = ltiDeepLinkingService;\n this.onlineCourseConfigurationService = onlineCourseConfigurationService;\n this.ltiPlatformConfigurationRepository = ltiPlatformConfigurationRepository;\n this.onlineCourseConfigurationRepository = onlineCourseConfigurationRepository;\n this.userRepository = userRepository;\n this.courseService = courseService;\n }\n\n /**\n * PUT courses/:courseId/online-course-configuration : Updates the onlineCourseConfiguration for the given course.\n *\n * @param courseId the id of the course to update\n * @param onlineCourseConfigurationDTO the online course configuration to update\n * @return the ResponseEntity with status 200 (OK) and with body the updated online course configuration\n */\n @PutMapping(\"courses/{courseId}/online-course-configuration\")\n @EnforceAtLeastInstructorInCourse\n public ResponseEntity updateOnlineCourseConfiguration(@PathVariable Long courseId,\n @Valid @RequestBody OnlineCourseConfigurationDTO onlineCourseConfigurationDTO) {\n log.debug(\"REST request to update the online course configuration for Course : {}\", courseId);\n\n Course course = courseRepository.findByIdElseThrow(courseId);\n\n OnlineCourseConfiguration onlineCourseConfiguration = OnlineCourseConfigurationDTO.from(onlineCourseConfigurationDTO);\n if (onlineCourseConfigurationDTO.ltiPlatformConfiguration() != null) {\n Long platformId = onlineCourseConfigurationDTO.ltiPlatformConfiguration().id();\n if (platformId == null) {\n throw new BadRequestAlertException(\"LTI platform id must not be null\", OnlineCourseConfiguration.ENTITY_NAME, \"invalidRegistrationId\");\n }\n onlineCourseConfiguration.setLtiPlatformConfiguration(ltiPlatformConfigurationRepository.findByIdElseThrow(platformId));\n }\n\n if (!course.isOnlineCourse()) {\n throw new BadRequestAlertException(\"Course must be online course\", Course.ENTITY_NAME, \"courseMustBeOnline\");\n }\n\n OnlineCourseConfiguration existingConfiguration = onlineCourseConfigurationRepository.findByCourseId(courseId).orElse(null);\n if (existingConfiguration == null || !Objects.equals(existingConfiguration.getId(), onlineCourseConfiguration.getId())) {\n throw new BadRequestAlertException(\"The onlineCourseConfigurationId does not match the id of the course's onlineCourseConfiguration\",\n OnlineCourseConfiguration.ENTITY_NAME, \"idMismatch\");\n }\n\n onlineCourseConfigurationService.validateOnlineCourseConfiguration(onlineCourseConfiguration);\n if (onlineCourseConfigurationRepository.updateSettings(courseId, existingConfiguration.getId(), onlineCourseConfiguration.getUserPrefix(),\n onlineCourseConfiguration.isRequireExistingUser(), onlineCourseConfiguration.getLtiPlatformConfiguration()) != 1) {\n throw new EntityNotFoundException(OnlineCourseConfiguration.ENTITY_NAME, existingConfiguration.getId());\n }\n\n // Answer with what was just stored rather than reading it again: the row keeps its id, and a course switched offline in the\n // meantime would no longer be found by the read, although the update succeeded.\n return ResponseEntity.ok(OnlineCourseConfigurationDTO.of(onlineCourseConfiguration));\n }\n\n /**\n * Handles the HTTP POST request for LTI 1.3 Deep Linking. This endpoint enables deep linking of LTI links\n * for various course-related resources, such as exercises, lectures, competencies, learning paths, and IRIS integrations.\n * The method processes the provided course and resource identifiers, validates LTI configurations,\n * and constructs a deep linking response based on the specified resource type. The resulting deep link target URI\n * is returned in a JSON object.\n *\n * @param courseId The identifier of the course for which deep linking is being performed.\n * @param resourceType The type of resource being linked. Valid values are defined in the {@link DeepLinkingType} enum.\n * @param contentIds A set of content identifiers (e.g., exercise IDs or lecture IDs) to be included in the deep linking response.\n * This parameter is required for resource types that support multiple content items (e.g., EXERCISE, LECTURE).\n * @param ltiIdToken The token containing the deep linking information.\n * @param clientRegistrationId The identifier of the course's online configuration.\n * @return A ResponseEntity containing a JSON object with the 'targetLinkUri' property set to the deep linking response target link.\n * @throws ParseException If the LTI ID token cannot be parsed.\n * @throws BadRequestAlertException If LTI is not configured for the course, if no valid deep linking type is provided,\n * or if content IDs are required but not provided for the specified resource type.\n */\n @PostMapping(\"lti13/courses/{courseId}/deep-linking\")\n @EnforceAtLeastInstructorInCourse\n public ResponseEntity lti13DeepLinking(@PathVariable Long courseId, @RequestParam(name = \"resourceType\") DeepLinkingType resourceType,\n @RequestParam(name = \"contentIds\", required = false) Set contentIds, @RequestParam(name = \"ltiIdToken\") String ltiIdToken,\n @RequestParam(name = \"clientRegistrationId\") String clientRegistrationId) throws ParseException {\n\n log.info(\"LTI 1.3 Deep Linking request received for course {} with resourceType: {}, contentIds: {}\", courseId, resourceType, contentIds);\n\n Course course = courseRepository.findByIdElseThrow(courseId);\n\n if (!course.isOnlineCourse() || onlineCourseConfigurationRepository.findByCourseId(courseId).isEmpty()) {\n throw new BadRequestAlertException(\"LTI is not configured for this course\", \"LTI\", \"ltiNotConfigured\");\n }\n\n OidcIdToken idToken = new OidcIdToken(ltiIdToken, null, null, SignedJWT.parse(ltiIdToken).getJWTClaimsSet().getClaims());\n\n String targetLink = switch (resourceType) {\n case EXERCISE, LECTURE, GROUPED_EXERCISE, GROUPED_LECTURE -> {\n if (contentIds == null || contentIds.isEmpty()) {\n throw new BadRequestAlertException(\"Content IDs are required for resource type: \" + resourceType, \"LTI\", \"contentIdsRequired\");\n }\n yield ltiDeepLinkingService.performDeepLinking(idToken, clientRegistrationId, courseId, contentIds, resourceType);\n }\n case COMPETENCY, LEARNING_PATH, IRIS -> ltiDeepLinkingService.performDeepLinking(idToken, clientRegistrationId, courseId, null, resourceType);\n };\n\n return ResponseEntity.ok(JsonObjectMapper.get().writeValueAsString(new DeepLinkingTargetDTO(targetLink)));\n }\n\n /**\n * The JSON object that the deep linking endpoint returns.\n * It is deliberately not annotated with {@code @JsonInclude}: the property is always written, as it always was.\n *\n * @param targetLinkUri the deep linking response target link\n */\n private record DeepLinkingTargetDTO(String targetLinkUri) {\n }\n\n /**\n * GET courses/for-lti-dashboard : Retrieves a list of online courses for a specific LTI dashboard based on the client ID.\n *\n * @param clientId the client ID of the LTI platform used to filter the courses.\n * @return a {@link ResponseEntity} containing a list of {@link OnlineCourseDTO} for the courses the user has access to.\n */\n @GetMapping(\"courses/for-lti-dashboard\")\n @EnforceAtLeastStudent\n @ManualConfig\n public ResponseEntity> findAllOnlineCoursesForLtiDashboard(@RequestParam(\"clientId\") String clientId) {\n if (clientId == null || clientId.isBlank()) {\n throw new BadRequestAlertException(\"clientId must not be blank\", \"LTI\", \"clientIdBlank\");\n }\n String registrationId = clientId.trim();\n // Pre-load the current user's course roles so the per-course isInstructorInCourse check inside\n // findAllOnlineCoursesForPlatformForUser resolves in memory instead of one EXISTS query per online course.\n User user = userRepository.getUserWithCourseRolesAndAuthorities();\n log.debug(\"REST request to get all online courses the user {} has access to\", user.getLogin());\n\n Set courses = courseService.findAllOnlineCoursesForPlatformForUser(registrationId, user);\n\n Set onlineCourseDTOS = courses.stream().map(course -> OnlineCourseDTO.from(course, registrationId)).collect(Collectors.toSet());\n\n return ResponseEntity.ok(onlineCourseDTOS);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/302fc80c1199aefb6a7eb16622fe377c2990b451.json b/web/public/bundles/artemis/code/302fc80c1199aefb6a7eb16622fe377c2990b451.json new file mode 100644 index 00000000..64962663 --- /dev/null +++ b/web/public/bundles/artemis/code/302fc80c1199aefb6a7eb16622fe377c2990b451.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "302fc80c1199aefb6a7eb16622fe377c2990b451", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/domain/Bonus.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.assessment.domain;\n\nimport jakarta.persistence.Column;\nimport jakarta.persistence.Entity;\nimport jakarta.persistence.JoinColumn;\nimport jakarta.persistence.ManyToOne;\nimport jakarta.persistence.Table;\nimport jakarta.persistence.Transient;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\nimport com.fasterxml.jackson.annotation.JsonProperty;\n\nimport de.tum.cit.aet.artemis.core.domain.DomainObject;\nimport de.tum.cit.aet.artemis.core.domain.Parent;\n\n/**\n * A bonus source for an exam that maps bonus from another course or exam to the target exam\n */\n@Entity\n@Table(name = \"bonus\")\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic class Bonus extends DomainObject {\n\n /**\n * Can be either +1 or -1 to add or subtract bonus.\n */\n @Column(name = \"weight\")\n private double weight;\n\n @ManyToOne(optional = false)\n @JoinColumn(name = \"source_grading_scale_id\", referencedColumnName = \"id\")\n private GradingScale sourceGradingScale;\n\n @ManyToOne(optional = false)\n @JoinColumn(name = \"bonus_to_grading_scale_id\", referencedColumnName = \"id\")\n @JsonProperty(access = JsonProperty.Access.READ_ONLY)\n @Parent\n private GradingScale bonusToGradingScale;\n\n /**\n * This field is persisted at {@see bonusToGradingScale}, it is defined here for transferring the value from client.\n */\n @Transient\n private BonusStrategy bonusStrategyTransient;\n\n public GradingScale getSourceGradingScale() {\n return sourceGradingScale;\n }\n\n public void setSourceGradingScale(GradingScale sourceGradingScale) {\n this.sourceGradingScale = sourceGradingScale;\n }\n\n public GradingScale getBonusToGradingScale() {\n return bonusToGradingScale;\n }\n\n public void setBonusToGradingScale(GradingScale gradingScale) {\n this.bonusToGradingScale = gradingScale;\n }\n\n /**\n * @return -1 or 1\n * @see #setWeight\n */\n public double getWeight() {\n return weight;\n }\n\n /**\n * Currently weight is used for indicating calculation direction (i.e. add or subtract), in the future weight\n * can also serve as a multiplier to amplify or reduce the effect of a given source.\n *\n * @param weight a non-zero number that will be stored as -1 if negative and 1 if positive.\n */\n public void setWeight(double weight) {\n this.weight = Math.signum(weight);\n }\n\n public BonusStrategy getBonusStrategy() {\n return bonusStrategyTransient;\n }\n\n public void setBonusStrategy(BonusStrategy bonusStrategy) {\n this.bonusStrategyTransient = bonusStrategy;\n }\n\n @Override\n public String toString() {\n return \"Bonus{\" + \"weight=\" + weight + \", sourceGradingScale=\" + sourceGradingScale + \", bonusToGradingScale=\" + bonusToGradingScale + \", bonusStrategy=\"\n + bonusStrategyTransient + '}';\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/305a4e698e0874ae5e3dc65bfb015b3c38ebdc9b.json b/web/public/bundles/artemis/code/305a4e698e0874ae5e3dc65bfb015b3c38ebdc9b.json new file mode 100644 index 00000000..a1a7e8c3 --- /dev/null +++ b/web/public/bundles/artemis/code/305a4e698e0874ae5e3dc65bfb015b3c38ebdc9b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "305a4e698e0874ae5e3dc65bfb015b3c38ebdc9b", + "language": "typescript", + "path": "src/main/webapp/app/hyperion/shared/hyperion-guard.service.ts", + "schema": "codexray.code/1", + "text": "import { Service, inject } from '@angular/core';\nimport { CanActivate, Router, UrlTree } from '@angular/router';\nimport { ProfileService } from 'app/core/layouts/profiles/shared/profile.service';\nimport { MODULE_FEATURE_HYPERION } from 'app/app.constants';\n\n@Service()\nexport class HyperionGuard implements CanActivate {\n private readonly profileService = inject(ProfileService);\n private readonly router = inject(Router);\n\n /**\n * Check if the client can activate a route.\n * @return true if Hyperion is enabled for this instance, otherwise a redirect to the start page\n */\n canActivate(): true | UrlTree {\n if (!this.profileService.isModuleFeatureActive(MODULE_FEATURE_HYPERION)) {\n return this.router.createUrlTree(['/']);\n }\n return true;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/30da753a97eb724e16694c90c0554c29fc1e9ec9.json b/web/public/bundles/artemis/code/30da753a97eb724e16694c90c0554c29fc1e9ec9.json new file mode 100644 index 00000000..2652ccf6 --- /dev/null +++ b/web/public/bundles/artemis/code/30da753a97eb724e16694c90c0554c29fc1e9ec9.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "30da753a97eb724e16694c90c0554c29fc1e9ec9", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/config/ModelingApiNotPresentException.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.modeling.config;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.MODELING_ENABLED_PROPERTY_NAME;\n\nimport de.tum.cit.aet.artemis.core.api.AbstractApi;\nimport de.tum.cit.aet.artemis.core.exception.ApiConditionNotPresentException;\n\n/**\n * Exception that an optionally autowired API is not present.\n */\npublic class ModelingApiNotPresentException extends ApiConditionNotPresentException {\n\n /**\n * @param api the api class that should be present\n */\n public ModelingApiNotPresentException(Class api) {\n super(api, MODELING_ENABLED_PROPERTY_NAME);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/3177aa97fdbe6744f90d890ed347f3be999a57e3.json b/web/public/bundles/artemis/code/3177aa97fdbe6744f90d890ed347f3be999a57e3.json new file mode 100644 index 00000000..3324130f --- /dev/null +++ b/web/public/bundles/artemis/code/3177aa97fdbe6744f90d890ed347f3be999a57e3.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "3177aa97fdbe6744f90d890ed347f3be999a57e3", + "language": "typescript", + "path": "src/main/webapp/app/account/user/settings/exercises/ide-preferences/ide-settings.service.ts", + "schema": "codexray.code/1", + "text": "import { Service, inject } from '@angular/core';\nimport { map } from 'rxjs/operators';\nimport { Observable, lastValueFrom } from 'rxjs';\nimport { HttpClient, HttpParams, HttpResponse } from '@angular/common/http';\nimport { ProgrammingLanguage } from 'app/programming/shared/entities/programming-exercise.model';\nimport { Ide, IdeMappingDTO } from 'app/account/user/settings/exercises/ide-preferences/ide.model';\n\n@Service()\nexport class IdeSettingsService {\n private http = inject(HttpClient);\n\n public readonly ideSettingsUrl = 'api/programming/ide-settings';\n\n // cached value of the ide preferences to avoid unnecessary requests to the server\n private idePreferences?: Map;\n\n /**\n * GET call to the server to receive the stored ide preferences of the current user\n * @return the saved ide preference which were found in the database or error\n */\n public loadPredefinedIdes(): Observable {\n return this.http.get(this.ideSettingsUrl + '/predefined');\n }\n\n private ongoingRequest: Promise> | undefined = undefined;\n private cacheTimestamp: number | undefined = undefined; // To store the timestamp when the preferences were loaded\n private readonly cacheDuration = 60 * 1000; // 1 minute in milliseconds\n\n /**\n * GET call to the server to receive the stored ide preferences of the current user\n * Prevent concurrent requests by caching the ongoing request and the timestamp when the preferences were loaded\n * Load the settings again after 1min in case they have changed\n * @param force if true, the cache will be ignored and a new request will be made\n * @return the saved ide preference which were found in the database or error\n */\n public loadIdePreferences(force?: boolean): Promise> {\n const currentTime = new Date().getTime();\n\n // If preferences are already loaded and the cache is valid, return them immediately\n if (this.idePreferences && !force && this.cacheTimestamp && currentTime - this.cacheTimestamp < this.cacheDuration) {\n return Promise.resolve(this.idePreferences);\n }\n\n // If there's already an ongoing request, return that promise to prevent multiple calls\n if (this.ongoingRequest) {\n return this.ongoingRequest;\n }\n\n // Make the REST call and cache the ongoing request\n this.ongoingRequest = lastValueFrom(\n this.http.get(this.ideSettingsUrl).pipe(\n map((data) => {\n this.idePreferences = new Map(data.map((x) => [x.programmingLanguage, x.ide]));\n this.cacheTimestamp = new Date().getTime(); // Update the timestamp when the data is cached\n return this.idePreferences;\n }),\n ),\n ).finally(() => {\n // Clear the ongoingRequest once the promise resolves\n this.ongoingRequest = undefined;\n });\n\n return this.ongoingRequest;\n }\n\n /**\n * PUT call to the server to update a stored ide preferences of the current user\n * @param programmingLanguage the programming language for which the ide preference should be updated\n * @param ide the new ide preference\n * @return the newly saved ide preference or error\n */\n public saveIdePreference(programmingLanguage: ProgrammingLanguage, ide: Ide): Observable {\n const params = new HttpParams().set('programmingLanguage', programmingLanguage);\n return this.http.put(this.ideSettingsUrl, ide, { params }).pipe(\n map((res) => {\n return res.ide;\n }),\n );\n }\n\n /**\n * DELETE call to the server to delete an ide preference of the current user\n * @param programmingLanguage the programming language for which the ide preference should be deleted\n * @return the deleted ide preference or error\n */\n public deleteIdePreference(programmingLanguage: ProgrammingLanguage): Observable> {\n const params = new HttpParams().set('programmingLanguage', programmingLanguage);\n return this.http.delete(this.ideSettingsUrl, { params, observe: 'response' });\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/3215184ae62bb7274e6012898b63c8071646ff81.json b/web/public/bundles/artemis/code/3215184ae62bb7274e6012898b63c8071646ff81.json new file mode 100644 index 00000000..1d0ac88f --- /dev/null +++ b/web/public/bundles/artemis/code/3215184ae62bb7274e6012898b63c8071646ff81.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "3215184ae62bb7274e6012898b63c8071646ff81", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingTestCaseChangedUserNotificationService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.programming.service;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\nimport static de.tum.cit.aet.artemis.programming.web.ProgrammingWebsocketTopics.TEST_CASES_CHANGED;\n\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.communication.service.WebsocketMessagingService;\nimport de.tum.cit.aet.artemis.notification.service.notifications.GroupNotificationService;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingExercise;\n\n@Profile(PROFILE_CORE)\n@Lazy\n@Service\npublic class ProgrammingTestCaseChangedUserNotificationService {\n\n private final GroupNotificationService groupNotificationService;\n\n private final WebsocketMessagingService websocketMessagingService;\n\n // The GroupNotificationService has many dependencies. We cannot refactor it to avoid that. Therefore, we lazily inject it here, so it's only instantiated when needed, or our\n // DeferredEagerInitialization kicks, but not on startup.\n public ProgrammingTestCaseChangedUserNotificationService(GroupNotificationService groupNotificationService, WebsocketMessagingService websocketMessagingService) {\n this.groupNotificationService = groupNotificationService;\n this.websocketMessagingService = websocketMessagingService;\n }\n\n /**\n * Notifies editors and instructors about test case changes for the updated programming exercise\n *\n * @param testCasesChanged whether tests have been changed or not\n * @param updatedProgrammingExercise the programming exercise for which tests have been changed\n */\n public void notifyUserAboutTestCaseChanged(boolean testCasesChanged, ProgrammingExercise updatedProgrammingExercise) {\n websocketMessagingService.sendMessage(TEST_CASES_CHANGED.at(updatedProgrammingExercise.getId()), testCasesChanged);\n // Send a notification to the client to inform the instructor about the test case update.\n if (testCasesChanged) {\n groupNotificationService.notifyEditorAndInstructorGroupsAboutChangedTestCasesForProgrammingExercise(updatedProgrammingExercise);\n }\n else {\n groupNotificationService.notifyEditorAndInstructorGroupAboutExerciseUpdate(updatedProgrammingExercise);\n }\n }\n\n}\n" +} diff --git a/web/public/bundles/artemis/code/32449aa118295befbf17de810906cff8dfa156e4.json b/web/public/bundles/artemis/code/32449aa118295befbf17de810906cff8dfa156e4.json new file mode 100644 index 00000000..e4d6550c --- /dev/null +++ b/web/public/bundles/artemis/code/32449aa118295befbf17de810906cff8dfa156e4.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "32449aa118295befbf17de810906cff8dfa156e4", + "language": "typescript", + "path": "src/main/webapp/app/localci/build-queue/build-overview.component.ts", + "schema": "codexray.code/1", + "text": "import { FinishedBuildsToolbarComponent } from 'app/localci/shared/finished-builds-toolbar.component';\nimport { subscribeToFinishedBuildJobSearch, subscribeToFinishedBuildJobs } from 'app/localci/build-queue/finished-build-job-loading';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, OnDestroy, OnInit, computed, inject, signal, viewChild } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { BuildJob, FinishedBuildJob } from 'app/localci/shared/entities/build-job.model';\nimport { faTimes } from '@fortawesome/free-solid-svg-icons';\nimport { WebsocketService } from 'app/foundation/service/websocket.service';\nimport { BuildOverviewService } from 'app/localci/build-queue/build-overview.service';\nimport { ITEMS_PER_PAGE } from 'app/foundation/constants/pagination.constants';\nimport { SortingOrder } from 'app/foundation/pagination/pageable-table';\nimport { onError } from 'app/foundation/util/global.utils';\nimport { HttpErrorResponse, HttpHeaders } from '@angular/common/http';\nimport { AlertService } from 'app/foundation/service/alert.service';\nimport dayjs from 'dayjs/esm';\nimport { TumAetUiButtonComponent } from '@tumaet/ui-angular/button';\nimport { TumAetUiButtonGroupComponent } from '@tumaet/ui-angular/button-group';\nimport { TumAetUiDialogComponent } from '@tumaet/ui-angular/dialog';\nimport { TumAetUiTableLayoutComponent } from '@tumaet/ui-angular/table-layout';\nimport { TumAetUiTagComponent } from '@tumaet/ui-angular/tag';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { BuildJobStatisticsComponent } from 'app/localci/build-job-statistics/build-job-statistics.component';\nimport { downloadFile } from 'app/foundation/util/download.util';\nimport { Subject, Subscription } from 'rxjs';\nimport { FinishedBuildJobFilter, FinishedBuildsFilterModalComponent } from 'app/localci/build-queue/finished-builds-filter-modal/finished-builds-filter-modal.component';\nimport { PageChangeEvent, PaginationConfig, SliceNavigatorComponent } from 'app/shared-ui/components/slice-navigator/slice-navigator.component';\nimport { AdminTitleBarTitleDirective } from 'app/admin/shared/admin-title-bar-title.directive';\nimport { AdminTitleBarActionsDirective } from 'app/admin/shared/admin-title-bar-actions.directive';\nimport { BuildAgentsService } from 'app/localci/build-agents.service';\nimport { BuildAgentInformation, BuildAgentStatus } from 'app/localci/shared/entities/build-agent-information.model';\nimport { RunningJobsTableComponent } from './tables/running-jobs-table/running-jobs-table.component';\nimport { QueuedJobsTableComponent } from './tables/queued-jobs-table/queued-jobs-table.component';\nimport { FinishedJobsTableComponent } from './tables/finished-jobs-table/finished-jobs-table.component';\nimport { cloneWith, deepClone } from 'app/foundation/util/deep-clone.util';\n\n/**\n * Component that provides an overview of the build queue system.\n * Displays three sections: queued build jobs, running build jobs, and finished build jobs.\n * Supports real-time updates via WebSocket for queue and running jobs.\n * Provides filtering, sorting, and pagination for finished build jobs.\n *\n * Can operate in two modes:\n * - Admin mode: Shows all build jobs across all courses (when courseId is 0)\n * - Course mode: Shows only build jobs for a specific course (when courseId > 0)\n *\n * Uses OnPush change detection for optimal performance.\n */\n@Component({\n selector: 'jhi-build-overview',\n templateUrl: './build-overview.component.html',\n styleUrl: './build-overview.component.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n TumAetUiTableLayoutComponent,\n FinishedBuildsToolbarComponent,\n NgTemplateOutlet,\n TranslateDirective,\n FaIconComponent,\n BuildJobStatisticsComponent,\n SliceNavigatorComponent,\n AdminTitleBarTitleDirective,\n AdminTitleBarActionsDirective,\n RunningJobsTableComponent,\n QueuedJobsTableComponent,\n FinishedJobsTableComponent,\n FinishedBuildsFilterModalComponent,\n TumAetUiDialogComponent,\n TumAetUiButtonComponent,\n TumAetUiButtonGroupComponent,\n TumAetUiTagComponent,\n ],\n})\nexport class BuildOverviewComponent implements OnInit, OnDestroy {\n private route = inject(ActivatedRoute);\n private router = inject(Router);\n private websocketService = inject(WebsocketService);\n private buildQueueService = inject(BuildOverviewService);\n private buildAgentsService = inject(BuildAgentsService);\n private alertService = inject(AlertService);\n\n /** Reference to the statistics component for real-time updates */\n statisticsComponent = viewChild('statisticsComponent');\n\n /** List of all build agents for capacity calculation */\n buildAgents = signal([]);\n\n /** Computed signal for total build capacity across all active agents */\n buildCapacity = computed(() =>\n this.buildAgents()\n .filter((agent) => agent.status !== BuildAgentStatus.PAUSED && agent.status !== BuildAgentStatus.SELF_PAUSED)\n .reduce((total, agent) => total + (agent.maxNumberOfConcurrentBuildJobs || 0), 0),\n );\n\n /** Computed signal for current number of running builds */\n currentBuilds = computed(() => this.buildAgents().reduce((total, agent) => total + (agent.numberOfCurrentBuildJobs || 0), 0));\n\n /** Computed signal for number of online build agents */\n onlineAgents = computed(() => this.buildAgents().length);\n\n /** List of build jobs waiting in the queue to be processed */\n queuedBuildJobs = signal([]);\n\n /** List of build jobs currently being executed by build agents */\n runningBuildJobs = signal([]);\n\n /** List of completed build jobs with pagination support */\n finishedBuildJobs = signal([]);\n\n /** Active WebSocket subscriptions for cleanup on destroy */\n websocketSubscriptions: Subscription[] = [];\n\n // Font Awesome icons for the UI\n readonly faTimes = faTimes;\n\n /** Signal indicating if more finished build jobs are available for pagination */\n hasMore = signal(true);\n\n /** Number of items to display per page */\n itemsPerPage = ITEMS_PER_PAGE;\n\n /** Current page number for pagination (1-indexed) */\n currentPage = signal(1);\n\n /** Column to sort finished build jobs by */\n predicate = 'buildSubmissionDate';\n\n /** Sort direction: false = descending, true = ascending */\n ascending = false;\n\n /** Interval timer for updating running build job durations every second */\n buildDurationInterval!: ReturnType; // set in ngOnInit() before any read\n\n /** Subscription for debounced search input handling */\n searchSubscription!: Subscription; // set in ngOnInit()\n\n /** Subject for triggering debounced search requests for finished build jobs */\n finishedJobsSearchTrigger = new Subject();\n\n /** Flag indicating if finished build jobs are currently being loaded */\n isLoading = signal(false);\n\n /** Signal indicating whether the component is in administration view */\n isAdministrationView = signal(false);\n\n /** Current search term for filtering finished build jobs */\n searchTerm?: string = undefined;\n\n /** Filter configuration for finished build jobs */\n readonly finishedBuildJobFilter = signal(new FinishedBuildJobFilter());\n\n /** Number of applied finished-build-job filters, or 0 when the filter is unset. */\n readonly appliedFilterCount = computed(() => this.finishedBuildJobFilter()?.numberOfAppliedFilters ?? 0);\n\n /**\n * Course ID from route params. When 0, operates in admin mode showing all courses.\n * When > 0, filters to show only build jobs for that specific course.\n */\n readonly courseId = signal(0);\n\n /** Configuration for the pagination component */\n paginationConfig: PaginationConfig = {\n pageSize: ITEMS_PER_PAGE,\n initialPage: 1,\n };\n\n /** ID of the build job whose logs are currently displayed in the modal */\n readonly displayedBuildJobId = signal(undefined);\n\n /** Raw build log content as a string for display and download */\n readonly rawBuildLogsString = signal('');\n\n /** Controls the visibility of the inline build logs dialog */\n buildLogsModalVisible = signal(false);\n\n /** Controls the visibility of the finished-build-jobs filter dialog */\n readonly filterModalVisible = signal(false);\n\n private readonly finishedBuildLoading = {\n loading: this.isLoading,\n apply: (jobs: FinishedBuildJob[], headers: HttpHeaders) => this.onSuccess(jobs, headers),\n error: (error: unknown) => onError(this.alertService, error),\n };\n\n ngOnInit() {\n this.courseId.set(Number(this.route.snapshot.paramMap.get('courseId')));\n // NOTE: in the server administration, courseId will be parsed as 0, while in course management, it should be a positive integer\n this.isAdministrationView.set(this.courseId() === 0);\n this.loadQueue();\n // Only load build agents in admin view - they are not visible in course management view\n if (this.isAdministrationView()) {\n this.loadBuildAgents();\n }\n this.buildDurationInterval = setInterval(() => {\n this.runningBuildJobs.set(this.updateBuildJobDuration(this.runningBuildJobs()));\n // Also trigger update for queued jobs to refresh waiting times\n this.queuedBuildJobs.set([...this.queuedBuildJobs()]);\n }, 1000); // 1 second\n this.loadFinishedBuildJobs();\n this.initWebsocketSubscription();\n // Set up debounced search for finished build jobs to avoid excessive API calls\n this.searchSubscription = subscribeToFinishedBuildJobSearch(this.finishedJobsSearchTrigger, () => this.fetchFinishedBuildJobs(), this.finishedBuildLoading);\n }\n\n /**\n * This method is used to unsubscribe from the websocket channels when the component is destroyed.\n */\n ngOnDestroy() {\n this.websocketSubscriptions.forEach((subscription) => subscription.unsubscribe());\n this.websocketSubscriptions = [];\n clearInterval(this.buildDurationInterval);\n if (this.searchSubscription) {\n this.searchSubscription.unsubscribe();\n }\n }\n\n /**\n * Initializes WebSocket subscriptions for real-time build job updates.\n * Subscribes to channels based on context:\n * - Course mode: course-specific queued, running, and finished job channels\n * - Admin mode: global admin channels for all courses\n */\n initWebsocketSubscription() {\n // Clean up any existing subscriptions before creating new ones\n this.websocketSubscriptions.forEach((subscription) => subscription.unsubscribe());\n this.websocketSubscriptions = [];\n\n const courseId = this.courseId();\n if (courseId) {\n // Course-specific mode: subscribe to course-scoped channels\n const queuedJobsTopic = `/topic/courses/${courseId}/queued-jobs`;\n const runningJobsTopic = `/topic/courses/${courseId}/running-jobs`;\n const finishedJobsTopic = `/topic/courses/${courseId}/finished-jobs`;\n this.websocketSubscriptions.push(\n this.websocketService.subscribe(queuedJobsTopic).subscribe((queuedBuildJobs: BuildJob[]) => {\n this.queuedBuildJobs.set(queuedBuildJobs);\n }),\n );\n this.websocketSubscriptions.push(\n this.websocketService.subscribe(runningJobsTopic).subscribe((runningBuildJobs: BuildJob[]) => {\n this.runningBuildJobs.set(this.updateBuildJobDuration(runningBuildJobs));\n }),\n );\n this.websocketSubscriptions.push(\n this.websocketService.subscribe(finishedJobsTopic).subscribe((finishedBuildJob: FinishedBuildJob) => {\n this.handleFinishedBuildJobUpdate(finishedBuildJob);\n }),\n );\n } else {\n // Admin mode: subscribe to global admin channels for all courses\n this.websocketSubscriptions.push(\n this.websocketService.subscribe(`/topic/admin/queued-jobs`).subscribe((queuedBuildJobs: BuildJob[]) => {\n this.queuedBuildJobs.set(queuedBuildJobs);\n }),\n );\n this.websocketSubscriptions.push(\n this.websocketService.subscribe(`/topic/admin/running-jobs`).subscribe((runningBuildJobs: BuildJob[]) => {\n this.runningBuildJobs.set(this.updateBuildJobDuration(runningBuildJobs));\n }),\n );\n this.websocketSubscriptions.push(\n this.websocketService.subscribe(`/topic/admin/finished-jobs`).subscribe((finishedBuildJob: FinishedBuildJob) => {\n this.handleFinishedBuildJobUpdate(finishedBuildJob);\n }),\n );\n // Subscribe to build agents updates for capacity information (admin view only)\n this.websocketSubscriptions.push(\n this.websocketService.subscribe(`/topic/admin/build-agents`).subscribe((agents: BuildAgentInformation[]) => {\n this.buildAgents.set(agents);\n }),\n );\n }\n }\n\n /**\n * Handles a finished build job update received via WebSocket.\n * Updates statistics and optionally adds the job to the list if no filters are applied.\n *\n * @param finishedBuildJob the finished build job received via WebSocket\n */\n private handleFinishedBuildJobUpdate(finishedBuildJob: FinishedBuildJob) {\n // Always update statistics regardless of filters or pagination\n this.statisticsComponent()?.incrementStatisticsByStatus(finishedBuildJob.status);\n\n // Only update the list if no filters are applied\n if (this.hasActiveFilters()) {\n return;\n }\n\n // Only update if we're on the first page (sorted by submission date descending)\n if (this.currentPage() !== 1) {\n return;\n }\n\n // Calculate the duration for the new job\n const jobWithDuration = this.calculateFinishedBuildJobDuration(finishedBuildJob);\n\n // Add the new job at the beginning and limit to page size\n const currentJobs = this.finishedBuildJobs();\n const updatedJobs = [jobWithDuration, ...currentJobs.filter((job) => job.id !== finishedBuildJob.id)];\n\n // Maintain the page size by removing excess items\n if (updatedJobs.length > this.itemsPerPage) {\n updatedJobs.splice(this.itemsPerPage);\n }\n\n this.finishedBuildJobs.set(updatedJobs);\n }\n\n /**\n * Checks if any filters are currently applied to the finished build jobs list.\n * @returns true if search term or any filter is applied\n */\n private hasActiveFilters(): boolean {\n return !!(this.searchTerm && this.searchTerm.length > 0) || (this.finishedBuildJobFilter()?.numberOfAppliedFilters ?? 0) > 0;\n }\n\n /**\n * Calculate the duration for a single finished build job\n * @param buildJob the finished build job\n * @returns the job with calculated duration\n */\n private calculateFinishedBuildJobDuration(buildJob: FinishedBuildJob): FinishedBuildJob {\n if (buildJob.buildStartDate && buildJob.buildCompletionDate) {\n const start = dayjs(buildJob.buildStartDate);\n const end = dayjs(buildJob.buildCompletionDate);\n const durationSeconds = end.diff(start, 'milliseconds') / 1000;\n return cloneWith(buildJob, { buildDuration: this.formatFinishedDuration(durationSeconds) });\n }\n return buildJob;\n }\n\n /**\n * Formats duration for finished builds:\n * - If >= 60s: show as \"Xm Ys\" (e.g., \"1m 3s\")\n * - If < 60s: show with one decimal (e.g., \"45.3s\")\n */\n formatFinishedDuration(seconds: number): string {\n if (seconds >= 60) {\n const minutes = Math.floor(seconds / 60);\n const remainingSeconds = Math.round(seconds % 60);\n return `${minutes}m ${remainingSeconds}s`;\n }\n return `${seconds.toFixed(1)}s`;\n }\n\n /**\n * Loads the list of build agents to display capacity information.\n */\n loadBuildAgents() {\n this.buildAgentsService.getBuildAgentSummary().subscribe((agents) => {\n this.buildAgents.set(agents);\n });\n }\n\n /**\n * Loads initial queue data from the REST API.\n * This provides immediate data display while WebSocket connections are being established,\n * ensuring the table shows data immediately on page load/refresh.\n */\n loadQueue() {\n const courseId = this.courseId();\n if (courseId) {\n // Course mode: fetch only jobs for this specific course\n this.buildQueueService.getQueuedBuildJobsByCourseId(courseId).subscribe((queuedBuildJobs) => {\n this.queuedBuildJobs.set(queuedBuildJobs);\n });\n this.buildQueueService.getRunningBuildJobsByCourseId(courseId).subscribe((runningBuildJobs) => {\n this.runningBuildJobs.set(this.updateBuildJobDuration(runningBuildJobs));\n });\n } else {\n // Admin mode: fetch all jobs across all courses\n this.buildQueueService.getQueuedBuildJobs().subscribe((queuedBuildJobs) => {\n this.queuedBuildJobs.set(queuedBuildJobs);\n });\n this.buildQueueService.getRunningBuildJobs().subscribe((runningBuildJobs) => {\n this.runningBuildJobs.set(this.updateBuildJobDuration(runningBuildJobs));\n });\n }\n }\n\n /**\n * Cancel a specific build job associated with the build job id\n * @param buildJobId the id of the build job to cancel\n */\n cancelBuildJob(buildJobId: string) {\n const courseId = this.courseId();\n if (courseId) {\n this.buildQueueService.cancelBuildJobInCourse(courseId, buildJobId).subscribe();\n } else {\n this.buildQueueService.cancelBuildJob(buildJobId).subscribe();\n }\n }\n\n /**\n * Cancel all queued build jobs\n */\n cancelAllQueuedBuildJobs() {\n const courseId = this.courseId();\n if (courseId) {\n this.buildQueueService.cancelAllQueuedBuildJobsInCourse(courseId).subscribe();\n } else {\n this.buildQueueService.cancelAllQueuedBuildJobs().subscribe();\n }\n }\n\n /**\n * Cancel all running build jobs\n */\n cancelAllRunningBuildJobs() {\n const courseId = this.courseId();\n if (courseId) {\n this.buildQueueService.cancelAllRunningBuildJobsInCourse(courseId).subscribe();\n } else {\n this.buildQueueService.cancelAllRunningBuildJobs().subscribe();\n }\n }\n\n /**\n * Creates an observable for fetching finished build jobs with current pagination and filter settings.\n * Automatically uses the appropriate API endpoint based on course/admin mode.\n * @returns Observable that emits the HTTP response containing finished build jobs\n */\n fetchFinishedBuildJobs() {\n const paginationOptions = {\n page: this.currentPage(),\n pageSize: this.itemsPerPage,\n sortingOrder: this.ascending ? SortingOrder.ASCENDING : SortingOrder.DESCENDING,\n sortedColumn: this.predicate,\n searchTerm: this.searchTerm || '',\n };\n\n const courseId = this.courseId();\n if (courseId) {\n // Course mode: fetch finished jobs for this specific course\n return this.buildQueueService.getFinishedBuildJobsByCourseId(courseId, paginationOptions, this.finishedBuildJobFilter());\n } else {\n // Admin mode: fetch all finished jobs across all courses\n return this.buildQueueService.getFinishedBuildJobs(paginationOptions, this.finishedBuildJobFilter());\n }\n }\n\n /**\n * Fetches finished build jobs from the server and updates the view.\n * Called on initial load and when pagination/filters change.\n */\n loadFinishedBuildJobs() {\n subscribeToFinishedBuildJobs(this.fetchFinishedBuildJobs(), this.finishedBuildLoading);\n }\n\n /**\n * Triggers a debounced reload of finished build jobs.\n * Only triggers if search term is empty or has at least 3 characters (to avoid excessive API calls).\n */\n triggerLoadFinishedJobs() {\n // Require minimum 3 characters for search to reduce unnecessary API calls\n if (!this.searchTerm || this.searchTerm.length >= 3) {\n this.finishedJobsSearchTrigger.next();\n }\n }\n\n /**\n * Callback function when the finished build jobs are successfully loaded\n * @param finishedBuildJobs The list of finished build jobs\n * @param headers The headers of the response\n * @private\n */\n private onSuccess(finishedBuildJobs: FinishedBuildJob[], headers: HttpHeaders) {\n this.hasMore.set(headers.get('x-has-next') === 'true');\n this.finishedBuildJobs.set(this.calculateFinishedBuildJobsDuration(finishedBuildJobs));\n }\n\n /**\n * View the build logs of a specific build job\n * @param buildJobId The id of the build job\n */\n viewBuildLogs(buildJobId: string | undefined): void {\n this.rawBuildLogsString.set('');\n this.displayedBuildJobId.set(undefined);\n if (buildJobId) {\n this.buildLogsModalVisible.set(true);\n this.displayedBuildJobId.set(buildJobId);\n this.buildQueueService.getBuildJobLogs(buildJobId).subscribe({\n next: (buildLogs: string) => {\n this.rawBuildLogsString.set(buildLogs);\n },\n error: (res: HttpErrorResponse) => {\n onError(this.alertService, res, false);\n },\n });\n }\n }\n /**\n * Download the build logs of a specific build job\n */\n downloadBuildLogs(): void {\n const rawBuildLogsString = this.rawBuildLogsString();\n const displayedBuildJobId = this.displayedBuildJobId();\n if (displayedBuildJobId && rawBuildLogsString) {\n const blob = new Blob([rawBuildLogsString], { type: 'text/plain' });\n try {\n downloadFile(blob, `${displayedBuildJobId}.log`);\n } catch (error) {\n this.alertService.error('artemisApp.buildQueue.logs.downloadError');\n }\n }\n }\n\n /**\n * Calculate the duration of the finished build jobs\n * @param finishedBuildJobs The list of finished build jobs\n * @returns A new list with calculated build durations\n */\n private calculateFinishedBuildJobsDuration(finishedBuildJobs: FinishedBuildJob[]): FinishedBuildJob[] {\n return finishedBuildJobs.map((buildJob) => this.calculateFinishedBuildJobDuration(buildJob));\n }\n\n /**\n * Callback function when the user navigates through the page results\n *\n * @param event\n */\n onPageChange(event: PageChangeEvent) {\n this.currentPage.set(event.page);\n this.loadFinishedBuildJobs();\n }\n\n /**\n * Update the build jobs duration\n * @param buildJobs The list of build jobs\n * @returns The updated list of build jobs with the duration\n */\n updateBuildJobDuration(buildJobs: BuildJob[]): BuildJob[] {\n // iterate over all build jobs and calculate the duration\n return buildJobs.map((buildJob) => {\n if (buildJob.jobTimingInfo && buildJob.jobTimingInfo.buildStartDate) {\n const start = dayjs(buildJob.jobTimingInfo.buildStartDate);\n const now = dayjs();\n buildJob.jobTimingInfo.buildDuration = now.diff(start, 'seconds');\n }\n // This is necessary to update the view when the build job duration is updated\n return deepClone(buildJob);\n });\n }\n\n openFilterModal() {\n this.filterModalVisible.set(true);\n }\n\n /**\n * Applies the filter edited in the filter modal and reloads the finished build jobs.\n * @param result the edited filter returned by the modal\n */\n onFilterConfirmed(result: FinishedBuildJobFilter) {\n this.finishedBuildJobFilter.set(result);\n this.loadFinishedBuildJobs();\n }\n\n /**\n * Scrolls to a specific section on the page.\n * @param elementId The ID of the element to scroll to\n */\n scrollToSection(elementId: string) {\n const element = document.getElementById(elementId);\n if (element) {\n element.scrollIntoView({ behavior: 'smooth', block: 'start' });\n }\n }\n\n /**\n * Navigate to the build job detail page\n * @param jobId The ID of the build job\n */\n navigateToJobDetail(jobId: string | undefined) {\n if (!jobId) return;\n const courseId = this.courseId();\n if (courseId) {\n void this.router.navigate(['/course-management', courseId, 'build-overview', jobId, 'job-details']);\n } else {\n void this.router.navigate(['/admin', 'build-overview', jobId, 'job-details']);\n }\n }\n\n /**\n * Calculate the waiting time since submission for a queued job\n * @param submissionDate The submission date of the build job\n * @returns A formatted string showing the waiting time\n */\n calculateWaitingTime(submissionDate: dayjs.Dayjs | undefined): string {\n if (!submissionDate) {\n return '-';\n }\n const now = dayjs();\n const diffSeconds = now.diff(submissionDate, 'seconds');\n\n if (diffSeconds < 60) {\n return `${diffSeconds}s`;\n } else if (diffSeconds < 3600) {\n const minutes = Math.floor(diffSeconds / 60);\n const seconds = diffSeconds % 60;\n return `${minutes}m ${seconds}s`;\n } else {\n const hours = Math.floor(diffSeconds / 3600);\n const minutes = Math.floor((diffSeconds % 3600) / 60);\n return `${hours}h ${minutes}m`;\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/337e9cf9b64e111d5eed9fa83460583e1368d43f.json b/web/public/bundles/artemis/code/337e9cf9b64e111d5eed9fa83460583e1368d43f.json new file mode 100644 index 00000000..ae9c69da --- /dev/null +++ b/web/public/bundles/artemis/code/337e9cf9b64e111d5eed9fa83460583e1368d43f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "337e9cf9b64e111d5eed9fa83460583e1368d43f", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamLiveEventsApi.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exam.api;\n\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.stereotype.Controller;\n\nimport de.tum.cit.aet.artemis.exam.config.ExamEnabled;\nimport de.tum.cit.aet.artemis.exam.service.ExamLiveEventsService;\nimport de.tum.cit.aet.artemis.exercise.domain.Exercise;\n\n@Conditional(ExamEnabled.class)\n@Controller\n@Lazy\npublic class ExamLiveEventsApi extends AbstractExamApi {\n\n private final ExamLiveEventsService examLiveEventsService;\n\n public ExamLiveEventsApi(ExamLiveEventsService examLiveEventsService) {\n this.examLiveEventsService = examLiveEventsService;\n }\n\n public void createAndSendProblemStatementUpdateEvent(Exercise exercise, String message) {\n examLiveEventsService.createAndSendProblemStatementUpdateEvent(exercise, message);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/339bd59fe07e8973e3589e81b9c9b299ee081af3.json b/web/public/bundles/artemis/code/339bd59fe07e8973e3589e81b9c9b299ee081af3.json new file mode 100644 index 00000000..734e0124 --- /dev/null +++ b/web/public/bundles/artemis/code/339bd59fe07e8973e3589e81b9c9b299ee081af3.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "339bd59fe07e8973e3589e81b9c9b299ee081af3", + "language": "typescript", + "path": "src/main/webapp/app/presentation/manage/presentation-rubric-grading.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, computed, input } from '@angular/core';\nimport { toObservable, toSignal } from '@angular/core/rxjs-interop';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { startWith, switchMap } from 'rxjs';\n\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { faCircleInfo } from '@fortawesome/free-solid-svg-icons';\nimport { TumAetUiInputDirective } from '@tumaet/ui-angular/input';\nimport { TumAetUiMessageComponent } from '@tumaet/ui-angular/message';\nimport { TumAetUiRadioButtonComponent } from '@tumaet/ui-angular/radio-button';\n\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { roundValueSpecifiedByCourseSettings } from 'app/foundation/util/utils';\nimport { Course } from 'app/course/shared/entities/course.model';\nimport { PresentationRubricCriterion } from 'app/presentation/shared/entities/presentation-assessment.model';\nimport { rubricLevelKey } from 'app/presentation/shared/presentation-rubric.util';\nimport { levelPositionsHighestFirst } from 'app/presentation/shared/presentation.util';\nimport { RatingForm, RatingsForm, rubricPreviewScore } from 'app/presentation/manage/presentation-rubric-rating-form';\nimport { PresentationLabelDirective } from 'app/presentation/manage/presentation-label.directive';\n\n@Component({\n selector: 'jhi-presentation-rubric-grading',\n templateUrl: './presentation-rubric-grading.component.html',\n imports: [\n FormsModule,\n ReactiveFormsModule,\n TranslateDirective,\n ArtemisTranslatePipe,\n FaIconComponent,\n TumAetUiInputDirective,\n TumAetUiMessageComponent,\n TumAetUiRadioButtonComponent,\n PresentationLabelDirective,\n ],\n})\nexport class PresentationRubricGradingComponent {\n readonly criteria = input.required();\n /** The ratings, one per criterion; the enclosing dialog owns them to check their validity and read them when saving. */\n readonly form = input.required();\n /** The course, whose settings round the overall result. */\n readonly course = input();\n\n protected readonly faCircleInfo = faCircleInfo;\n\n /** Each criterion with its level positions highest first and the translation key of each level, in the order of the rubric. */\n protected readonly criterionViews = computed(() =>\n this.criteria().map((criterion) => ({\n criterion,\n positionsHighestFirst: levelPositionsHighestFirst(criterion.levels.length),\n levelKeys: criterion.levels.map((_, position) => rubricLevelKey(criterion.scale, position)),\n })),\n );\n /** Emits on every change of the ratings, so that the overall result follows the form. */\n private readonly formChange = toSignal(toObservable(this.form).pipe(switchMap((form) => form.events.pipe(startWith(undefined)))));\n\n protected readonly overallResult = computed(() => {\n this.formChange();\n const score = rubricPreviewScore(this.criteria(), this.form());\n return score === undefined ? undefined : roundValueSpecifiedByCourseSettings(score, this.course());\n });\n\n /** Selects a level of a criterion as its radio does, which leaves the rating dirty like any input of the user. */\n protected selectLevel(rating: RatingForm, levelId: number | undefined): void {\n rating.controls.levelId.setValue(levelId);\n rating.markAsDirty();\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/33cf2f2b53925c97dd0ae20e92bf805c367c0c59.json b/web/public/bundles/artemis/code/33cf2f2b53925c97dd0ae20e92bf805c367c0c59.json new file mode 100644 index 00000000..0609b9f6 --- /dev/null +++ b/web/public/bundles/artemis/code/33cf2f2b53925c97dd0ae20e92bf805c367c0c59.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "33cf2f2b53925c97dd0ae20e92bf805c367c0c59", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/aiworker/config/DockerConfiguration.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.aiworker.config;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_AIWORKER;\n\nimport java.time.Duration;\n\nimport org.springframework.context.annotation.Bean;\nimport org.springframework.context.annotation.Configuration;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\n\nimport com.github.dockerjava.api.DockerClient;\nimport com.github.dockerjava.core.DefaultDockerClientConfig;\nimport com.github.dockerjava.core.DockerClientImpl;\nimport com.github.dockerjava.zerodep.ZerodepDockerHttpClient;\n\nimport de.tum.cit.aet.artemis.aiworker.dto.WorkerCapacityDTO;\n\n/** Docker credentials remain on the supervisor and are never added to a sandbox environment. */\n@Configuration(proxyBeanMethods = false)\n@Profile(PROFILE_AIWORKER)\n@Lazy\npublic class DockerConfiguration {\n\n /**\n * Creates a bounded local Docker connection pool with explicit connection and response deadlines.\n *\n * @return the supervisor-only Docker client\n */\n @Bean(destroyMethod = \"close\")\n public DockerClient dockerClient() {\n return createDockerClient(DefaultDockerClientConfig.createDefaultConfigBuilder().build());\n }\n\n static DockerClient createDockerClient(DefaultDockerClientConfig config) {\n requireSecureTransport(config);\n // One attached command can hold a connection per slot. Keep control requests, including cancellation, runnable at full capacity.\n var transport = new ZerodepDockerHttpClient.Builder().dockerHost(config.getDockerHost()).sslConfig(config.getSSLConfig()).maxConnections(WorkerCapacityDTO.MAX_SLOTS + 2)\n .connectionTimeout(Duration.ofSeconds(10)).responseTimeout(Duration.ofMinutes(3)).build();\n return DockerClientImpl.getInstance(config, transport);\n }\n\n static void requireSecureTransport(DefaultDockerClientConfig config) {\n String scheme = config.getDockerHost().getScheme();\n if (!\"unix\".equals(scheme) && !\"npipe\".equals(scheme) && config.getSSLConfig() == null) {\n throw new IllegalArgumentException(\"Remote Docker connections require TLS; use a local socket or configure Docker TLS verification\");\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/3507367cd5ee1363f3daca536083880c4004a4a1.json b/web/public/bundles/artemis/code/3507367cd5ee1363f3daca536083880c4004a4a1.json new file mode 100644 index 00000000..4f04c75a --- /dev/null +++ b/web/public/bundles/artemis/code/3507367cd5ee1363f3daca536083880c4004a4a1.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "3507367cd5ee1363f3daca536083880c4004a4a1", + "language": "typescript", + "path": "src/main/webapp/app/exam/manage/exercise-groups/file-upload-exercise-cell/file-upload-exercise-group-cell.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, input } from '@angular/core';\nimport { ExerciseType } from 'app/exercise/shared/entities/exercise/exercise.model';\nimport { FileUploadExercise } from 'app/fileupload/shared/entities/file-upload-exercise.model';\n\n@Component({\n selector: 'jhi-file-upload-exercise-group-cell',\n templateUrl: './file-upload-exercise-group-cell.component.html',\n styles: [':host{display: contents}'],\n})\nexport class FileUploadExerciseGroupCellComponent {\n exerciseType = ExerciseType;\n exercise = input.required();\n}\n" +} diff --git a/web/public/bundles/artemis/code/351a3c1206d8e398d49a2f27fef71865846e6687.json b/web/public/bundles/artemis/code/351a3c1206d8e398d49a2f27fef71865846e6687.json new file mode 100644 index 00000000..f231164b --- /dev/null +++ b/web/public/bundles/artemis/code/351a3c1206d8e398d49a2f27fef71865846e6687.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "351a3c1206d8e398d49a2f27fef71865846e6687", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/dto/PlagiarismCaseUserDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.plagiarism.dto;\n\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\n\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record PlagiarismCaseUserDTO(Long id, @Nullable String login, @Nullable String name, @Nullable String visibleRegistrationNumber) {\n\n public static @Nullable PlagiarismCaseUserDTO fromUser(@Nullable User user) {\n if (user == null) {\n return null;\n }\n return new PlagiarismCaseUserDTO(user.getId(), user.getLogin(), user.getName(), user.getVisibleRegistrationNumber());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/355c9a3276324c073a4f7d558dc59c73461b143f.json b/web/public/bundles/artemis/code/355c9a3276324c073a4f7d558dc59c73461b143f.json new file mode 100644 index 00000000..63738123 --- /dev/null +++ b/web/public/bundles/artemis/code/355c9a3276324c073a4f7d558dc59c73461b143f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "355c9a3276324c073a4f7d558dc59c73461b143f", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/ExerciseResponseContextDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exercise.dto;\n\nimport java.time.ZonedDateTime;\nimport java.util.function.Function;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.course.dto.CourseForQuizExerciseDTO;\nimport de.tum.cit.aet.artemis.exam.domain.Exam;\nimport de.tum.cit.aet.artemis.exam.domain.ExerciseGroup;\nimport de.tum.cit.aet.artemis.exercise.domain.Exercise;\n\n/** Course or exam context shared by exercise detail responses, retaining their existing nested group projections. */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record ExerciseResponseContextDTO(Long courseId, Double courseAccuracyOfScores, CourseForQuizExerciseDTO course, Long exerciseGroupId, Long examId,\n ZonedDateTime examPublishResultsDate, G exerciseGroup) {\n\n /**\n * Maps exam context only for exam exercises, and direct course context otherwise.\n *\n * @param nested group projection type used by the endpoint\n * @param exercise exercise to map\n * @param groupMapper endpoint-specific exercise group projection\n * @return the mutually exclusive course or exam context\n */\n public static ExerciseResponseContextDTO of(Exercise exercise, Function groupMapper) {\n if (exercise.isExamExercise()) {\n ExerciseGroup group = exercise.getExerciseGroup();\n Exam exam = exercise.getExam();\n return new ExerciseResponseContextDTO<>(null, null, null, group != null ? group.getId() : null, exam != null ? exam.getId() : null,\n exam != null ? exam.getPublishResultsDate() : null, groupMapper.apply(group));\n }\n Course course = exercise.getCourseViaExerciseGroupOrCourseMember();\n return new ExerciseResponseContextDTO<>(course != null ? course.getId() : null,\n course != null && course.getAccuracyOfScores() != null ? course.getAccuracyOfScores().doubleValue() : null, CourseForQuizExerciseDTO.of(course), null, null, null,\n null);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/356ec34da029c7d2cba62c3029aec7ba626a46d3.json b/web/public/bundles/artemis/code/356ec34da029c7d2cba62c3029aec7ba626a46d3.json new file mode 100644 index 00000000..daaf6db5 --- /dev/null +++ b/web/public/bundles/artemis/code/356ec34da029c7d2cba62c3029aec7ba626a46d3.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "356ec34da029c7d2cba62c3029aec7ba626a46d3", + "language": "typescript", + "path": "src/main/webapp/app/exercise/import/import-from-file-navigation.ts", + "schema": "codexray.code/1", + "text": "import { NavigationExtras, Router } from '@angular/router';\nimport { Course } from 'app/course/shared/entities/course.model';\nimport { ExerciseGroup } from 'app/exam/shared/entities/exercise-group.model';\nimport { Exercise, ExerciseType } from 'app/exercise/shared/entities/exercise/exercise.model';\n\n/** The navigation state key under which the editors of the non-programming exercise types receive an exercise read from a file. */\nexport const EXERCISE_FOR_IMPORT_FROM_FILE = 'exerciseForImportFromFile';\n\n/**\n * The route segments, below a course or an exercise group route, and the navigation state that open the editor of an exercise read\n * from a file. Programming exercises have their own import route, which also uploads the repositories; the other types open the\n * editor of a new exercise filled with the settings from the file.\n *\n * @param exercise the exercise read from the file\n */\nexport function importFromFileNavigation(exercise: Exercise): { segments: string[]; extras: NavigationExtras } {\n if (exercise.type === ExerciseType.PROGRAMMING) {\n return { segments: ['programming-exercises', 'import-from-file'], extras: { state: { programmingExerciseForImportFromFile: exercise } } };\n }\n return { segments: [`${exercise.type}-exercises`, 'new'], extras: { state: { [EXERCISE_FOR_IMPORT_FROM_FILE]: exercise } } };\n}\n\n/**\n * Returns the exercise read from a file that the running navigation carries, placed into the given course or exercise group, or\n * undefined when the navigation opens the editor of an empty new exercise. Resolvers call it while the navigation runs.\n *\n * @param router the router of the running navigation\n * @param course the course of a course exercise\n * @param exerciseGroup the exercise group of an exam exercise\n */\nexport function exerciseForImportFromFile(router: Router, course: Course | undefined, exerciseGroup: ExerciseGroup | undefined): T | undefined {\n const exercise = router.currentNavigation()?.extras.state?.[EXERCISE_FOR_IMPORT_FROM_FILE] as T | undefined;\n if (exercise) {\n // The file still names the course or exam of the source; the server would attach the copy to whichever is set.\n exercise.course = course;\n exercise.exerciseGroup = exerciseGroup;\n }\n return exercise;\n}\n" +} diff --git a/web/public/bundles/artemis/code/35b9ef34ee96b545d32dbdab364d5ad5e632c9c5.json b/web/public/bundles/artemis/code/35b9ef34ee96b545d32dbdab364d5ad5e632c9c5.json new file mode 100644 index 00000000..b1296933 --- /dev/null +++ b/web/public/bundles/artemis/code/35b9ef34ee96b545d32dbdab364d5ad5e632c9c5.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "35b9ef34ee96b545d32dbdab364d5ad5e632c9c5", + "language": "typescript", + "path": "src/main/webapp/app/foundation/util/navigate-back.util.ts", + "schema": "codexray.code/1", + "text": "import { Location } from '@angular/common';\nimport { Router } from '@angular/router';\nimport { StudentParticipation } from 'app/exercise/shared/entities/participation/student-participation.model';\nimport { Exercise, getCourseFromExercise } from 'app/exercise/shared/entities/exercise/exercise.model';\nimport { Submission } from 'app/exercise/shared/entities/submission/submission.model';\n\nfunction teamIdOf(submission: Submission): number | undefined {\n // The participation of a submission is optional\n return (submission.participation as StudentParticipation)?.team?.id;\n}\n\n/**\n * Navigate from Assessment Editor to Dashboard:\n * 1. For Team Exercises: Navigate to Team Dashboard with all Submissions of the Team\n * 2. For Regular Exercises: Navigate to the Exercise Assessment Dashboard\n * Fallback: If we do not know the exercise, we navigate back in the browser's history.\n *\n * @param location: Angular wrapper for interacting with Browser URL and History\n * @param router: Angular router to navigate to URL\n * @param exercise: Exercise currently assessed\n * @param submission: Submission currently assessed\n * @param isTestRun: flag to determine if it is an exam test run\n */\nexport function assessmentNavigateBack(location: Location, router: Router, exercise?: Exercise, submission?: Submission, isTestRun = false) {\n if (exercise) {\n const course = getCourseFromExercise(exercise);\n\n if (isTestRun) {\n const exam = exercise.exerciseGroup!.exam!;\n void router.navigateByUrl(`/course-management/${course?.id}/exams/${exam.id}/test-assessment-dashboard/${exercise.id}`);\n } else {\n if (exercise.exerciseGroup) {\n const exam = exercise.exerciseGroup.exam!;\n void router.navigateByUrl(`/course-management/${course?.id}/exams/${exam.id}/assessment-dashboard/${exercise.id}`);\n } else if (exercise.teamMode && submission && teamIdOf(submission) !== undefined) {\n // Without a loaded team the link would end in `/teams/undefined`, so the assessment dashboard is used then.\n void router.navigateByUrl(`/courses/${course?.id}/exercises/${exercise.id}/teams/${teamIdOf(submission)}`);\n } else {\n void router.navigateByUrl(`/course-management/${course?.id}/assessment-dashboard/${exercise.id}`);\n }\n }\n } else {\n location.back();\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/35ce887c47c9d830af677af11e3812176431a127.json b/web/public/bundles/artemis/code/35ce887c47c9d830af677af11e3812176431a127.json new file mode 100644 index 00000000..d90bdb3d --- /dev/null +++ b/web/public/bundles/artemis/code/35ce887c47c9d830af677af11e3812176431a127.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "35ce887c47c9d830af677af11e3812176431a127", + "language": "typescript", + "path": "src/main/webapp/app/exercise/shared/entities/submission/submission-sync-payload.model.ts", + "schema": "codexray.code/1", + "text": "import { User } from 'app/account/user/user.model';\nimport { Submission } from 'app/exercise/shared/entities/submission/submission.model';\n\n/** Instantiated and/or deserialized from server data; fields are populated after construction, hence the definite-assignment (!) markers. */\nexport class SubmissionSyncPayload {\n public submission!: Submission;\n public sender!: User;\n}\n\nexport function isSubmissionSyncPayload(arg: unknown): arg is SubmissionSyncPayload {\n return typeof arg === 'object' && arg !== null && (arg as SubmissionSyncPayload).submission !== undefined && (arg as SubmissionSyncPayload).sender !== undefined;\n}\n" +} diff --git a/web/public/bundles/artemis/code/3682ff14a5ed2b86ad5920e32b027cfe6c31a977.json b/web/public/bundles/artemis/code/3682ff14a5ed2b86ad5920e32b027cfe6c31a977.json new file mode 100644 index 00000000..11754d56 --- /dev/null +++ b/web/public/bundles/artemis/code/3682ff14a5ed2b86ad5920e32b027cfe6c31a977.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "3682ff14a5ed2b86ad5920e32b027cfe6c31a977", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/buildagent/service/BuildJobContainerService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.buildagent.service;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.LOCAL_CI_DOCKER_CONTAINER_WORKING_DIRECTORY;\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_BUILDAGENT;\n\nimport java.io.BufferedInputStream;\nimport java.io.BufferedOutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.nio.file.Files;\nimport java.nio.file.LinkOption;\nimport java.nio.file.Path;\nimport java.nio.file.attribute.BasicFileAttributes;\nimport java.time.ZonedDateTime;\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.Objects;\nimport java.util.Optional;\nimport java.util.concurrent.CancellationException;\nimport java.util.concurrent.CompletableFuture;\nimport java.util.concurrent.CompletionException;\nimport java.util.concurrent.CountDownLatch;\nimport java.util.concurrent.ExecutorService;\nimport java.util.concurrent.Executors;\nimport java.util.concurrent.TimeUnit;\nimport java.util.concurrent.atomic.AtomicReference;\nimport java.util.regex.Pattern;\nimport java.util.stream.Stream;\n\nimport org.apache.commons.compress.archivers.tar.TarArchiveEntry;\nimport org.apache.commons.compress.archivers.tar.TarArchiveInputStream;\nimport org.apache.commons.compress.archivers.tar.TarArchiveOutputStream;\nimport org.apache.commons.compress.archivers.tar.TarConstants;\nimport org.apache.commons.io.FileUtils;\nimport org.apache.commons.lang3.StringUtils;\nimport org.jspecify.annotations.NonNull;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.beans.factory.annotation.Value;\nimport org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;\nimport org.springframework.boot.context.properties.bind.Bindable;\nimport org.springframework.boot.context.properties.bind.Binder;\nimport org.springframework.context.EnvironmentAware;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.core.env.Environment;\nimport org.springframework.stereotype.Service;\n\nimport com.github.dockerjava.api.DockerClient;\nimport com.github.dockerjava.api.async.ResultCallback;\nimport com.github.dockerjava.api.command.CreateContainerResponse;\nimport com.github.dockerjava.api.command.ExecCreateCmdResponse;\nimport com.github.dockerjava.api.command.InspectExecResponse;\nimport com.github.dockerjava.api.exception.ConflictException;\nimport com.github.dockerjava.api.exception.NotFoundException;\nimport com.github.dockerjava.api.exception.NotModifiedException;\nimport com.github.dockerjava.api.model.Container;\nimport com.github.dockerjava.api.model.Frame;\nimport com.github.dockerjava.api.model.HostConfig;\n\nimport de.tum.cit.aet.artemis.buildagent.BuildAgentConfiguration;\nimport de.tum.cit.aet.artemis.buildagent.dto.BuildLogDTO;\nimport de.tum.cit.aet.artemis.buildagent.dto.DockerRunConfig;\nimport de.tum.cit.aet.artemis.core.service.TempFileUtilService;\nimport de.tum.cit.aet.artemis.localci.exception.ContainerNetworkNotAllowedException;\nimport de.tum.cit.aet.artemis.localci.exception.LocalCIException;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingLanguage;\nimport de.tum.cit.aet.artemis.programming.service.RepositoryCheckoutService.RepositoryCheckoutPath;\n\n/**\n * Service responsible for managing Docker container lifecycle and file operations during build job execution.\n *

\n * This service handles all Docker container interactions for the local CI system, including:\n *

    \n *
  • Creating and configuring containers with appropriate resource limits and environment variables
  • \n *
  • Starting containers and executing build scripts within them
  • \n *
  • Copying repository files into containers (via tar archives)
  • \n *
  • Retrieving build results from containers
  • \n *
  • Stopping and cleaning up containers (gracefully or forcefully)
  • \n *
\n *

\n * Architecture: This service works in conjunction with:\n *

    \n *
  • {@link BuildJobExecutionService} - orchestrates the overall build job flow and calls this service for container operations
  • \n *
  • {@link BuildAgentConfiguration} - provides Docker client and host configuration
  • \n *
  • {@link BuildLogsMap} - stores build logs that are captured from container output
  • \n *
\n *

\n * Container Lifecycle:\n *

    \n *
  1. {@link #configureContainer} - creates container with resource limits and build script
  2. \n *
  3. {@link #startContainer} - starts the container
  4. \n *
  5. {@link #populateBuildJobContainer} - copies repositories into container
  6. \n *
  7. {@link #runScriptInContainer} - executes the build script
  8. \n *
  9. {@link #getArchiveFromContainer} - retrieves build results
  10. \n *
  11. {@link #stopContainer} or {@link #stopUnresponsiveContainer} - stops and removes container
  12. \n *
\n *

\n * Retry Logic: File operations (tar creation, archive retrieval) include retry logic with exponential\n * backoff to handle transient failures. See {@link #executeWithRetry} for details.\n *\n * @see BuildJobExecutionService\n * @see BuildAgentConfiguration\n */\n@Lazy(false)\n@Service\n@Profile(PROFILE_BUILDAGENT)\n@ConditionalOnProperty(prefix = \"artemis.continuous-integration\", name = \"build-runner\", havingValue = \"docker\", matchIfMissing = true)\npublic class BuildJobContainerService implements EnvironmentAware {\n\n private static final Logger log = LoggerFactory.getLogger(BuildJobContainerService.class);\n\n /** The characters a path inside a build container may consist of. */\n private static final Pattern SAFE_CONTAINER_PATH = Pattern.compile(\"[a-zA-Z0-9_*./-]+\");\n\n /**\n * Timeout in minutes for Docker exec setup commands (mkdir, chmod, cp, etc.).\n * If a setup command does not complete within this time, an exception is thrown.\n */\n private static final int DOCKER_SETUP_TIMEOUT_MINUTES = 5;\n\n /**\n * Timeout in minutes for the build script execution. This is intentionally longer than setup commands\n * because build scripts may legitimately run for extended periods. The actual build timeout is enforced\n * by the outer {@code future.get(buildJobTimeoutSeconds, ...)} in {@link BuildJobManagementService};\n * this timeout serves only as a safety net to prevent permanently stuck threads if the outer timeout\n * mechanism fails.\n */\n private static final int DOCKER_BUILD_SCRIPT_TIMEOUT_MINUTES = 20;\n\n /**\n * Subdirectory within the container's working directory where repositories are placed during build setup.\n */\n private static final String TESTING_DIR = \"testing-dir\";\n\n /**\n * Maximum number of retry attempts for tar archive operations (creation and retrieval).\n * Operations will be retried with exponential backoff before failing permanently.\n */\n private static final int MAX_TAR_OPERATION_RETRIES = 3;\n\n /**\n * Base delay in milliseconds for retry backoff. Actual delays are: 100ms, 200ms, 400ms (exponential).\n */\n private static final int TAR_RETRY_BASE_DELAY_MS = 100;\n\n private final BuildAgentConfiguration buildAgentConfiguration;\n\n private final BuildLogsMap buildLogsMap;\n\n private final TempFileUtilService tempFileUtilService;\n\n @Value(\"${artemis.continuous-integration.proxies.use-system-proxy:false}\")\n private boolean useSystemProxy;\n\n @Value(\"${artemis.continuous-integration.proxies.default.http-proxy:}\")\n private String httpProxy;\n\n @Value(\"${artemis.continuous-integration.proxies.default.https-proxy:}\")\n private String httpsProxy;\n\n @Value(\"${artemis.continuous-integration.proxies.default.no-proxy:}\")\n private String noProxy;\n\n @Value(\"${artemis.continuous-integration.container-flags-limit.max-cpu-count:0}\")\n private int maxCpuCount;\n\n @Value(\"${artemis.continuous-integration.container-flags-limit.max-memory:0}\")\n private int maxMemory;\n\n @Value(\"${artemis.continuous-integration.container-flags-limit.max-memory-swap:0}\")\n private int maxMemorySwap;\n\n /** The network that Docker uses for a container that requests none. */\n private static final String DEFAULT_DOCKER_NETWORK = \"bridge\";\n\n private static final String ALLOWED_NETWORKS_PROPERTY = \"artemis.continuous-integration.container-flags-limit.allowed-custom-networks\";\n\n /**\n * The networks that a build on this agent may use, as configured on the agent. Empty if the agent does not configure the list, in which case the agent does not check the\n * network and relies on the check of the core node.\n */\n private List allowedCustomNetworks = List.of();\n\n @Override\n public void setEnvironment(@NonNull Environment environment) {\n List configured = Binder.get(environment).bind(ALLOWED_NETWORKS_PROPERTY, Bindable.listOf(String.class)).orElse(List.of());\n allowedCustomNetworks = configured.stream().filter(Objects::nonNull).map(String::trim).filter(entry -> !entry.isEmpty()).toList();\n if (!configured.isEmpty() && allowedCustomNetworks.isEmpty()) {\n // a list that is set, but names no network, is a mistake: it must neither switch the check off nor refuse every network without a hint\n throw new LocalCIException(\"The property \" + ALLOWED_NETWORKS_PROPERTY + \" is set but names no network. Remove it or list at least one network.\");\n }\n if (allowedCustomNetworks.isEmpty()) {\n log.info(\"The build agent does not configure the allowed container networks and does not check the network of a build\");\n }\n else {\n log.info(\"The build agent only runs builds on the container networks {} (and none)\", allowedCustomNetworks);\n }\n }\n\n public BuildJobContainerService(BuildAgentConfiguration buildAgentConfiguration, BuildLogsMap buildLogsMap, TempFileUtilService tempFileUtilService) {\n this.buildAgentConfiguration = buildAgentConfiguration;\n this.buildLogsMap = buildLogsMap;\n this.tempFileUtilService = tempFileUtilService;\n }\n\n /**\n * Configure a container with the Docker image, the container name, optional proxy config variables, and set the command that runs when the container starts.\n *

\n * This method first removes any existing container with the same name to handle cases where:\n *

    \n *
  • A previous build job was interrupted and the container wasn't cleaned up
  • \n *
  • A re-queued job (after agent disconnect) is picked up by the same or different agent
  • \n *
\n *\n * @param containerName the name of the container to be created\n * @param image the Docker image to use for the container\n * @param buildScript the build script to be executed in the container\n * @param runConfig the run config container the docker flags\n * @return {@link CreateContainerResponse} that can be used to start the container\n */\n public CreateContainerResponse configureContainer(String containerName, String image, String buildScript, DockerRunConfig runConfig) {\n if (!buildAgentConfiguration.isDockerAvailable()) {\n throw new LocalCIException(\"Docker is not available. Cannot configure container \" + containerName);\n }\n // Remove any existing container with the same name to avoid ConflictException.\n // This can happen when a job is re-queued after agent disconnect (same job ID = same container name).\n removeExistingContainer(containerName);\n // get all record fields here because we need them more than once\n List exerciseEnvVars = runConfig.env();\n String network = StringUtils.trimToNull(runConfig.network());\n String effectiveNetwork = network == null ? DEFAULT_DOCKER_NETWORK : network;\n int cpuCount = runConfig.cpuCount();\n int memory = runConfig.memory();\n int memorySwap = runConfig.memorySwap();\n // The named networks are limited to the allowed list when the exercise is saved and when the job is created on the server. The agent additionally refuses the values\n // that do not give the build a network of its own.\n if (DockerRunConfig.sharesNetworkNamespace(network)) {\n throw new ContainerNetworkNotAllowedException(\"The container network '\" + effectiveNetwork + \"' is not allowed\");\n }\n if (!isNetworkAllowedOnThisAgent(network)) {\n throw new ContainerNetworkNotAllowedException(\"The container network '\" + effectiveNetwork + \"' is not allowed on this build agent\");\n }\n\n List envVars = new ArrayList<>();\n if (useSystemProxy) {\n envVars.add(\"HTTP_PROXY=\" + httpProxy);\n envVars.add(\"HTTPS_PROXY=\" + httpsProxy);\n envVars.add(\"NO_PROXY=\" + noProxy);\n }\n envVars.add(\"SCRIPT=\" + buildScript);\n if (exerciseEnvVars != null && !exerciseEnvVars.isEmpty()) {\n envVars.addAll(exerciseEnvVars);\n }\n\n HostConfig defaultHostConfig = buildAgentConfiguration.hostConfig();\n HostConfig customHostConfig = defaultHostConfig;\n if (network != null || cpuCount > 0 || memory > 0 || memorySwap > 0) {\n // Use provided values if they are greater than 0 and less than the maximum values, otherwise use either the maximum values or the default values from the host config.\n long adjustedCpuCount = (cpuCount > 0) ? ((maxCpuCount > 0) ? Math.min(cpuCount, maxCpuCount) : cpuCount)\n : (defaultHostConfig.getCpuQuota() / defaultHostConfig.getCpuPeriod());\n\n long adjustedMemory = (memory > 0)\n ? ((maxMemory > 0) ? Math.min(convertMemoryFromMBToBytes(memory), convertMemoryFromMBToBytes(maxMemory)) : convertMemoryFromMBToBytes(memory))\n : defaultHostConfig.getMemory();\n\n long adjustedMemorySwap = (memorySwap > 0)\n ? ((maxMemorySwap > 0) ? Math.min(convertMemoryFromMBToBytes(memorySwap), convertMemoryFromMBToBytes(maxMemorySwap)) : convertMemoryFromMBToBytes(memorySwap))\n : defaultHostConfig.getMemorySwap();\n\n customHostConfig = copyAndAdjustHostConfig(defaultHostConfig, network, adjustedCpuCount, adjustedMemory, adjustedMemorySwap);\n }\n\n log.debug(\"Set docker network to {}\", customHostConfig.getNetworkMode());\n\n try (final var createCommand = buildAgentConfiguration.getDockerClient().createContainerCmd(image)) {\n return createCommand.withName(containerName).withHostConfig(customHostConfig).withEnv(envVars)\n // Command to run when the container starts. This is the command that will be executed in the container's main process, which runs in the foreground and blocks\n // the\n // container from exiting until it finishes.\n // It waits until the script that is running the tests (see below execCreateCmdResponse) is completed, and until the result files are extracted which is\n // indicated\n // by the creation of a file \"stop_container.txt\" in the container's root directory.\n .withEntrypoint().withCmd(\"sh\", \"-c\", \"while [ ! -f \" + LOCAL_CI_DOCKER_CONTAINER_WORKING_DIRECTORY + \"/stop_container.txt ]; do sleep 0.5; done\")\n // .withCmd(\"tail\", \"-f\", \"/dev/null\") // Activate for debugging purposes instead of the above command to get a running container that you can peek into using\n // \"docker exec -it /bin/bash\".\n .exec();\n }\n }\n\n /**\n * Whether the network of a build is in the list of allowed networks of this agent. Nothing is refused if the agent does not configure the list. A build without a network\n * (none) is always allowed. A build that requests no network runs on the default network of Docker, which is named bridge, so it is allowed only if the list names that\n * network.\n */\n private boolean isNetworkAllowedOnThisAgent(String network) {\n if (allowedCustomNetworks.isEmpty()) {\n return true;\n }\n String effectiveNetwork = network == null || network.isBlank() ? DEFAULT_DOCKER_NETWORK : network.trim();\n return \"none\".equals(effectiveNetwork) || allowedCustomNetworks.contains(effectiveNetwork);\n }\n\n private HostConfig copyAndAdjustHostConfig(HostConfig defaultHostConfig, String network, long cpuCount, long memory, long memorySwap) {\n long cpuPeriod = defaultHostConfig.getCpuPeriod();\n HostConfig host = HostConfig.newHostConfig().withCpuQuota(cpuCount * cpuPeriod).withCpuPeriod(cpuPeriod).withMemory(memory).withMemorySwap(memorySwap)\n .withPidsLimit(defaultHostConfig.getPidsLimit()).withAutoRemove(true);\n if (network != null && !network.trim().isBlank()) {\n host.withNetworkMode(network);\n }\n return buildAgentConfiguration.applyStorageLimit(BuildAgentConfiguration.restrictPrivileges(host, buildAgentConfiguration.isPrivilegeEscalationAllowed()));\n }\n\n private long convertMemoryFromMBToBytes(long memory) {\n return memory * 1024L * 1024L;\n }\n\n /**\n * Start the container with the given ID.\n *\n * @param containerId the ID of the container to be started\n */\n public void startContainer(String containerId) {\n if (!buildAgentConfiguration.isDockerAvailable()) {\n throw new LocalCIException(\"Docker is not available. Cannot start container \" + containerId);\n }\n try (final var startCommand = buildAgentConfiguration.getDockerClient().startContainerCmd(containerId)) {\n startCommand.exec();\n }\n }\n\n /**\n * Run the script in the container and wait for it to finish before returning.\n *\n * @param containerId the id of the container in which the script should be run\n * @param buildJobId the id of the build job that is currently being executed\n * @return the exit code of the build script (0 = success, non-zero = failure)\n */\n public int runScriptInContainer(String containerId, String buildJobId) {\n log.info(\"Started running the build script for build job in container with id {}\", containerId);\n // The build script is executed as an additional process inside the container (docker exec), independent of the container's main process.\n // The call blocks until the script finishes, so it is safe to extract results after it returns.\n // forceRoot=false: the build script runs as the container's default user (not root) for security.\n return executeDockerCommand(containerId, buildJobId, false, DOCKER_BUILD_SCRIPT_TIMEOUT_MINUTES, \"bash\", LOCAL_CI_DOCKER_CONTAINER_WORKING_DIRECTORY + \"/script.sh\");\n }\n\n /**\n * Moves the generated result files to a specified directory so it can easily be retrieved\n *\n * @param containerId the id of the container which generated the files\n * @param sourcePaths the list of paths in the container where the generated files can be found\n * @param destinationPath the path of the directory where the files shall be moved\n */\n public void moveResultsToSpecifiedDirectory(String containerId, List sourcePaths, String destinationPath) {\n checkPath(destinationPath);\n String command = \"shopt -s globstar && mkdir -p \" + destinationPath;\n executeDockerCommand(containerId, null, true, \"bash\", \"-c\", command);\n\n for (String sourcePath : sourcePaths) {\n checkPath(sourcePath);\n command = \"shopt -s globstar && mv \" + sourcePath + \" \" + destinationPath;\n executeDockerCommand(containerId, null, true, \"bash\", \"-c\", command);\n }\n }\n\n /**\n * Retrieve an archive from a running Docker container with retry logic.\n *\n * @param containerId the id of the container.\n * @param path the path to the file or directory to be retrieved.\n * @param buildJobId the build job ID for logging purposes (can be null).\n * @return a {@link TarArchiveInputStream} that can be used to read the archive.\n * @throws NotFoundException if the path does not exist in the container after all retries.\n */\n public TarArchiveInputStream getArchiveFromContainer(String containerId, String path, String buildJobId) throws NotFoundException {\n log.debug(\"Retrieving archive from container {} at path {}\", containerId, path);\n\n try {\n return executeWithRetry(() -> {\n try (final var copyArchiveCommand = buildAgentConfiguration.getDockerClient().copyArchiveFromContainerCmd(containerId, path)) {\n InputStream archiveStream = copyArchiveCommand.exec();\n if (archiveStream == null) {\n throw new IOException(\"Failed to retrieve archive from container \" + containerId + \" at path \" + path + \": exec() returned null InputStream\");\n }\n TarArchiveInputStream result;\n try {\n result = new TarArchiveInputStream(archiveStream);\n }\n catch (Exception e) {\n // Ensure archiveStream is closed if TarArchiveInputStream constructor fails\n try {\n archiveStream.close();\n }\n catch (IOException closeException) {\n e.addSuppressed(closeException);\n }\n throw e;\n }\n log.debug(\"Successfully retrieved archive from container {} at path {}\", containerId, path);\n return result;\n }\n catch (NotFoundException e) {\n // Don't retry NotFoundException - the path genuinely doesn't exist\n throw e;\n }\n catch (RuntimeException e) {\n // Wrap runtime exceptions (e.g., Docker connectivity issues) for retry handling\n throw new IOException(\"Failed to retrieve archive from container: \" + e.getMessage(), e);\n }\n }, \"Retrieve archive from container \" + containerId, buildJobId);\n }\n catch (NotFoundException e) {\n // Re-throw NotFoundException as-is (not wrapped in retry)\n throw e;\n }\n catch (IOException e) {\n // Check if the underlying cause was NotFoundException\n if (e.getCause() instanceof NotFoundException nfe) {\n throw nfe;\n }\n String errorMessage = \"Could not retrieve archive from container \" + containerId + \" at path \" + path + \" after \" + MAX_TAR_OPERATION_RETRIES + \" attempts\";\n if (DockerUtil.isDockerNotAvailable(e)) {\n log.warn(\"Docker is not available. {}: {}\", errorMessage, e.getMessage());\n }\n else {\n log.error(errorMessage, e);\n }\n if (buildJobId != null) {\n buildLogsMap.appendBuildLogEntry(buildJobId,\n \"Failed to retrieve build results after multiple attempts. This is an infrastructure issue, not a problem with your code. Please try rerunning your build.\");\n }\n throw new LocalCIException(errorMessage, e);\n }\n }\n\n /**\n * Stops the container with the given name by creating a file \"stop_container.txt\" in its root directory.\n * The container must be created in such a way that it waits for this file to appear and then stops running, causing it to be removed at the same time.\n * In case the container is not responding, we can force remove it using {@link DockerClient#removeContainerCmd(String)}.\n * This takes significantly longer than using the approach with the file because of increased overhead for the removeContainerCmd() method.\n *\n * @param containerName The name of the container to stop. Cannot use the container ID, because this method might have to be called from the main thread (not the thread started\n * for the build job) where the container ID is not available.\n */\n public void stopContainer(String containerName) {\n // List all containers, including the non-running ones.\n Container container = getContainerForName(containerName);\n\n // Check if the container exists. Return if it does not.\n if (container == null) {\n return;\n }\n\n // Check if the container is running. Return if it's not.\n boolean isContainerRunning = \"running\".equals(container.getState());\n if (!isContainerRunning) {\n return;\n }\n\n // Get the container ID.\n String containerId = container.getId();\n\n log.info(\"Stopping container with id {}\", containerId);\n\n // Create a file \"stop_container.txt\" in the root directory of the container to indicate that the test results have been extracted or that the container should be stopped\n // for some other reason.\n // The container's main process is waiting for this file to appear and then stops the main process, thus stopping and removing the container.\n try {\n executeDockerCommandWithoutAwaitingResponse(containerId, \"touch\", LOCAL_CI_DOCKER_CONTAINER_WORKING_DIRECTORY + \"/stop_container.txt\");\n }\n catch (Exception e) {\n // The container may have been stopped/removed between the state check and this exec (TOCTOU race).\n // This is expected in concurrent scenarios and not an error.\n log.warn(\"Could not send stop signal to container {}, it may have already stopped: {}\", containerId, e.getMessage());\n }\n }\n\n /**\n * Stops, kills or removes a container in case a build job has failed or the container is unresponsive.\n * Adding a file \"stop_container.txt\" like in {@link #stopContainer(String)} might not work for unresponsive containers, thus we use\n * {@link DockerClient#stopContainerCmd(String)}, {@link DockerClient#killContainerCmd(String)} and {@link DockerClient#removeContainerCmd(String)} to stop, kill or remove the\n * container.\n *

\n * Runs to the end even when the calling thread has been interrupted, because it is reached during cancellation and\n * stopping the container is exactly the work that still has to happen.\n *\n * @param containerId The ID of the container to stop or kill.\n */\n public void stopUnresponsiveContainer(String containerId) {\n boolean interrupted = Thread.interrupted();\n try {\n final var executor = Executors.newSingleThreadExecutor();\n try {\n // Attempt to stop the container. It should stop the container and auto-remove it.\n // {@link DockerClient#stopContainerCmd(String)} first sends a SIGTERM command to the container to gracefully stop it,\n // and if it does not stop within the timeout, it sends a SIGKILL command to kill the container.\n log.warn(\"Stopping unresponsive container with id {}\", containerId);\n\n // Submit Docker stop command to executor service\n CompletableFuture future = CompletableFuture.runAsync(() -> {\n try (final var stopCommand = buildAgentConfiguration.getDockerClient().stopContainerCmd(containerId)) {\n stopCommand.withTimeout(15).exec();\n }\n }, executor);\n\n // join preserves interruption while cleanup finishes. Time out a copy so queued cleanup still runs.\n future.copy().orTimeout(20, TimeUnit.SECONDS).join();\n }\n catch (Exception e) {\n Throwable cause = e.getCause();\n // CompletionException wraps failures from the submitted Docker command.\n // We are interested in the underlying cause in this case\n if (e instanceof CompletionException && (cause instanceof NotFoundException || cause instanceof NotModifiedException)) {\n log.warn(\"Container with id {} is already stopped. Attempting to remove container.\", containerId, cause);\n // this can also happen for containers that are stuck in \"Ready\" state so they can not be stopped or killed\n // try to remove the container so it won't show up in the next cleanup again\n removeContainer(containerId, executor);\n }\n else {\n log.error(\"Failed to stop container with id {}. Attempting to kill container.\", containerId, e);\n\n // Attempt to kill the container if stop fails\n killContainer(containerId, executor);\n }\n }\n finally {\n // Keep queued fallback commands even when cancellation interrupts the caller while the executor drains.\n executor.shutdown();\n boolean terminated = false;\n while (!terminated) {\n try {\n terminated = executor.awaitTermination(1, TimeUnit.DAYS);\n }\n catch (InterruptedException e) {\n interrupted = true;\n }\n }\n }\n }\n finally {\n if (interrupted) {\n Thread.currentThread().interrupt();\n }\n }\n }\n\n /**\n * Removes an existing container with the given name if it exists.\n * This is used to clean up leftover containers before creating a new one with the same name,\n * which can happen when a job is re-queued after agent disconnect (the job ID and thus container\n * name remain the same).\n *\n * @param containerName The name of the container to remove if it exists.\n */\n private void removeExistingContainer(String containerName) {\n Container existingContainer = getContainerForName(containerName);\n if (existingContainer != null) {\n String containerId = existingContainer.getId();\n log.warn(\"Found existing container with name '{}' (id: {}). Removing it before creating new container.\", containerName, containerId);\n stopUnresponsiveContainer(containerId);\n }\n }\n\n /**\n * Kills a Docker container asynchronously using the given container ID and executor.\n * Waits up to 10 seconds for completion. Logs an error if the operation fails.\n *\n * @param containerId The ID of the container to kill.\n * @param executor The ExecutorService for running the command.\n */\n private void killContainer(String containerId, ExecutorService executor) {\n try {\n CompletableFuture killFuture = CompletableFuture.runAsync(() -> {\n try (final var killCommand = buildAgentConfiguration.getDockerClient().killContainerCmd(containerId)) {\n killCommand.exec();\n }\n }, executor);\n killFuture.copy().orTimeout(10, TimeUnit.SECONDS).join();\n }\n catch (Exception e) {\n log.error(\"Failed to kill container with id {}.\", containerId, e);\n }\n }\n\n /**\n * Removes a Docker container asynchronously using the given container ID and executor.\n * Waits up to 10 seconds for completion. Logs an error if the operation fails.\n *\n * @param containerId The ID of the container to remove.\n * @param executor The ExecutorService for running the command.\n */\n private void removeContainer(String containerId, ExecutorService executor) {\n try {\n CompletableFuture removeFuture = CompletableFuture.runAsync(() -> {\n try (final var removeCommand = buildAgentConfiguration.getDockerClient().removeContainerCmd(containerId)) {\n removeCommand.exec();\n }\n }, executor);\n removeFuture.copy().orTimeout(10, TimeUnit.SECONDS).join();\n }\n catch (Exception e) {\n log.error(\"Failed to remove container with id {}\", containerId, e);\n }\n }\n\n /**\n * Get the ID of a container by its name.\n *\n * @param containerName The name of the container.\n * @return The ID of the container or null if no container with the given name was found.\n */\n public String getIDOfRunningContainer(String containerName) {\n Container container = getContainerForName(containerName);\n // Return id if container not null\n return Optional.ofNullable(container).map(Container::getId).orElse(null);\n }\n\n /**\n * Prepares a Docker container for a build job by setting up the required directories and repositories within the container.\n * This includes setting up directories for assignment, tests, solutions, and any auxiliary repositories provided.\n * Directories are created and permissions are set to ensure they are fully accessible.\n *

\n * Steps involved:\n * 1. Ensures the existence of a working directory within the container.\n * 2. Sets directory permissions to be fully accessible (chmod 777).\n * 3. Adds and prepares directories for the test, assignment, and optionally the solution repositories based on their respective paths.\n * 4. Processes auxiliary repositories, if any, by setting up their specified directories.\n * 5. Converts DOS-style line endings to Unix style to ensure file compatibility within the container.\n * 6. Creates a script file for further processing or setup within the container.\n *\n * @param buildJobContainerId The identifier for the Docker container being prepared.\n * @param buildJobId The identifier for the build job, used for logging purposes.\n * @param assignmentRepositoryPath The filesystem path to the assignment repository.\n * @param testRepositoryPath The filesystem path to the test repository.\n * @param solutionRepositoryPath The optional filesystem path to the solution repository; can be null if not applicable.\n * @param auxiliaryRepositoriesPaths An array of paths for auxiliary repositories to be included in the build process.\n * @param auxiliaryRepositoryCheckoutDirectories An array of directory names within the container where each auxiliary repository should be checked out.\n * @param programmingLanguage The programming language of the repositories, which influences directory naming conventions.\n * @param assignmentCheckoutPath The directory within the container where the assignment repository should be checked out; can be null if not applicable,\n * default would be used.\n * @param testCheckoutPath The directory within the container where the test repository should be checked out; can be null if not applicable, default\n * would be used.\n * @param solutionCheckoutPath The directory within the container where the solution repository should be checked out; can be null if not applicable, default\n * would be used.\n */\n public void populateBuildJobContainer(String buildJobContainerId, String buildJobId, Path assignmentRepositoryPath, Path testRepositoryPath, Path solutionRepositoryPath,\n Path[] auxiliaryRepositoriesPaths, String[] auxiliaryRepositoryCheckoutDirectories, ProgrammingLanguage programmingLanguage, String assignmentCheckoutPath,\n String testCheckoutPath, String solutionCheckoutPath) {\n\n log.debug(\"Populating build job container {} for build job {} with repositories: assignment={}, test={}, solution={}\", buildJobContainerId, buildJobId,\n assignmentRepositoryPath, testRepositoryPath, solutionRepositoryPath);\n\n assignmentCheckoutPath = (!StringUtils.isBlank(assignmentCheckoutPath)) ? assignmentCheckoutPath\n : RepositoryCheckoutPath.ASSIGNMENT.forProgrammingLanguage(programmingLanguage);\n\n String defaultTestCheckoutPath = RepositoryCheckoutPath.TEST.forProgrammingLanguage(programmingLanguage);\n testCheckoutPath = (!StringUtils.isBlank(testCheckoutPath)) ? testCheckoutPath : defaultTestCheckoutPath;\n\n // Create the testing directory inside the container's working directory.\n // This must always be created so that the subsequent chmod and repository copy operations have a valid target.\n addDirectory(buildJobContainerId, LOCAL_CI_DOCKER_CONTAINER_WORKING_DIRECTORY + \"/\" + TESTING_DIR, true);\n // Make sure the working directory and all subdirectories are accessible\n executeDockerCommand(buildJobContainerId, null, true, \"chmod\", \"-R\", \"777\", LOCAL_CI_DOCKER_CONTAINER_WORKING_DIRECTORY + \"/\" + TESTING_DIR);\n\n // Copy the test repository to the container and move it to the test checkout path (may be the working directory)\n addAndPrepareDirectoryAndReplaceContent(buildJobContainerId, testRepositoryPath, LOCAL_CI_DOCKER_CONTAINER_WORKING_DIRECTORY + \"/\" + TESTING_DIR + \"/\" + testCheckoutPath,\n buildJobId);\n // Copy the assignment repository to the container and move it to the assignment checkout path\n addAndPrepareDirectoryAndReplaceContent(buildJobContainerId, assignmentRepositoryPath,\n LOCAL_CI_DOCKER_CONTAINER_WORKING_DIRECTORY + \"/\" + TESTING_DIR + \"/\" + assignmentCheckoutPath, buildJobId);\n if (solutionRepositoryPath != null) {\n solutionCheckoutPath = (!StringUtils.isBlank(solutionCheckoutPath)) ? solutionCheckoutPath\n : RepositoryCheckoutPath.SOLUTION.forProgrammingLanguage(programmingLanguage);\n addAndPrepareDirectoryAndReplaceContent(buildJobContainerId, solutionRepositoryPath,\n LOCAL_CI_DOCKER_CONTAINER_WORKING_DIRECTORY + \"/\" + TESTING_DIR + \"/\" + solutionCheckoutPath, buildJobId);\n }\n for (int i = 0; i < auxiliaryRepositoriesPaths.length; i++) {\n addAndPrepareDirectoryAndReplaceContent(buildJobContainerId, auxiliaryRepositoriesPaths[i],\n LOCAL_CI_DOCKER_CONTAINER_WORKING_DIRECTORY + \"/\" + TESTING_DIR + \"/\" + auxiliaryRepositoryCheckoutDirectories[i], buildJobId);\n }\n\n createScriptFile(buildJobContainerId);\n log.debug(\"Successfully populated build job container {} for build job {}\", buildJobContainerId, buildJobId);\n }\n\n private void createScriptFile(String buildJobContainerId) {\n executeDockerCommand(buildJobContainerId, null, true, \"bash\", \"-c\", \"echo \\\"$SCRIPT\\\" > \" + LOCAL_CI_DOCKER_CONTAINER_WORKING_DIRECTORY + \"/script.sh\");\n executeDockerCommand(buildJobContainerId, null, true, \"bash\", \"-c\", \"chmod +x \" + LOCAL_CI_DOCKER_CONTAINER_WORKING_DIRECTORY + \"/script.sh\");\n }\n\n /**\n * Copies a repository into the container and moves its contents to the specified directory.\n *

\n * This method performs three steps:\n *

    \n *
  1. Copies the repository as a tar archive to the container's working directory
  2. \n *
  3. Creates the target directory structure
  4. \n *
  5. Moves repository contents from the temporary location to the target directory
  6. \n *
\n *\n * @param containerId the Docker container ID\n * @param repositoryPath the local filesystem path to the repository to copy\n * @param newDirectoryName the target directory path inside the container\n * @param buildJobId the build job ID for logging purposes\n */\n private void addAndPrepareDirectoryAndReplaceContent(String containerId, Path repositoryPath, String newDirectoryName, String buildJobId) {\n copyToContainer(repositoryPath, containerId, buildJobId);\n addDirectory(containerId, newDirectoryName, true);\n insertRepositoryFiles(containerId, LOCAL_CI_DOCKER_CONTAINER_WORKING_DIRECTORY + \"/\" + repositoryPath.getFileName().toString(), newDirectoryName);\n }\n\n /**\n * Copies all files from a source directory to a destination directory inside the container.\n * Uses {@code cp -r source/. destination} to copy contents without creating a nested directory.\n *\n * @param containerId the Docker container ID\n * @param oldName the source directory path inside the container\n * @param newName the destination directory path inside the container\n */\n private void insertRepositoryFiles(String containerId, String oldName, String newName) {\n executeDockerCommand(containerId, null, true, \"cp\", \"-r\", oldName + (oldName.endsWith(\"/\") ? \".\" : \"/.\"), newName);\n }\n\n /**\n * Creates a directory inside the container.\n *\n * @param containerId the Docker container ID\n * @param directoryName the path of the directory to create\n * @param createParentsIfNecessary if true, creates parent directories as needed (mkdir -p); otherwise fails if parent doesn't exist\n */\n private void addDirectory(String containerId, String directoryName, boolean createParentsIfNecessary) {\n String[] command = createParentsIfNecessary ? new String[] { \"mkdir\", \"-p\", directoryName } : new String[] { \"mkdir\", directoryName };\n executeDockerCommand(containerId, null, true, command);\n }\n\n /**\n * Functional interface for operations that can throw IOException and need retry logic.\n *\n * @param the return type of the operation\n */\n @FunctionalInterface\n private interface IOOperation {\n\n T execute() throws IOException;\n }\n\n /**\n * Executes an IO operation with retry logic and exponential backoff.\n * This method will retry the operation up to MAX_TAR_OPERATION_RETRIES times with delays of 100ms, 200ms, 400ms.\n *\n * @param the return type of the operation\n * @param operation the operation to execute\n * @param operationName a descriptive name for the operation (used in logging)\n * @param buildJobId the build job ID for logging to build logs (can be null)\n * @return the result of the operation\n * @throws IOException if all retry attempts fail\n */\n private T executeWithRetry(IOOperation operation, String operationName, String buildJobId) throws IOException {\n IOException lastException = null;\n\n for (int attempt = 1; attempt <= MAX_TAR_OPERATION_RETRIES; attempt++) {\n // The build is cancelled by interrupting its thread, and its container is stopped. Another attempt would only fail on the stopped container.\n throwIfCancelled(operationName);\n try {\n T result = operation.execute();\n if (attempt > 1) {\n log.info(\"{} succeeded on attempt {} of {}\", operationName, attempt, MAX_TAR_OPERATION_RETRIES);\n if (buildJobId != null) {\n buildLogsMap.appendBuildLogEntry(buildJobId, operationName + \" succeeded after \" + attempt + \" attempt(s).\");\n }\n }\n return result;\n }\n catch (IOException e) {\n // The failure comes from the container being stopped by the cancellation, so it is not an infrastructure problem\n throwIfCancelled(operationName);\n lastException = e;\n log.warn(\"{} failed on attempt {} of {}: {} - {}\", operationName, attempt, MAX_TAR_OPERATION_RETRIES, e.getClass().getSimpleName(), e.getMessage());\n\n if (attempt < MAX_TAR_OPERATION_RETRIES) {\n int delayMs = TAR_RETRY_BASE_DELAY_MS * (1 << (attempt - 1)); // Exponential backoff: 100, 200, 400\n log.debug(\"Retrying {} in {}ms...\", operationName, delayMs);\n if (buildJobId != null) {\n buildLogsMap.appendBuildLogEntry(buildJobId, \"Retrying \" + operationName + \" (attempt \" + (attempt + 1) + \" of \" + MAX_TAR_OPERATION_RETRIES + \")...\");\n }\n try {\n Thread.sleep(delayMs);\n }\n catch (InterruptedException ie) {\n Thread.currentThread().interrupt();\n throw new CancellationException(operationName + \" was cancelled while waiting to retry\");\n }\n }\n }\n }\n\n // All retries exhausted — callers handle Docker-unavailability vs. generic error logging\n throw lastException;\n }\n\n /**\n * Stops an operation of a build that has been cancelled, for example because it timed out. The cancellation interrupts the thread of the build, and\n * the container is stopped at the same time, so the operation fails for a reason that neither needs a retry nor says anything about the infrastructure.\n *\n * @param operationName the operation that would continue\n * @throws CancellationException if the current thread has been interrupted\n */\n private static void throwIfCancelled(String operationName) {\n if (Thread.currentThread().isInterrupted()) {\n throw new CancellationException(operationName + \" was cancelled\");\n }\n }\n\n /**\n * Copies a local directory to the Docker container as a tar archive.\n *

\n * This method creates a tar archive of the source path and uploads it to the container's\n * working directory. The operation includes retry logic to handle transient failures\n * (e.g., file system race conditions, Docker connectivity issues).\n *

\n * Important: The source path should be a directory containing repository files.\n * The entire directory is archived and uploaded, preserving the directory structure.\n *\n * @param sourcePath the local filesystem path to copy (typically a repository directory)\n * @param containerId the Docker container ID to copy files into\n * @param buildJobId the build job ID for logging purposes (can be null)\n * @throws LocalCIException if the copy operation fails after all retry attempts\n */\n private void copyToContainer(Path sourcePath, String containerId, String buildJobId) {\n log.debug(\"Copying source path {} to container {}\", sourcePath.toAbsolutePath(), containerId);\n\n try {\n // Use retry mechanism for the entire copy operation (tar creation + upload)\n executeWithRetry(() -> {\n // The archive is written to a temporary file instead of being held in memory, as the repository was changed by the code of the student and can be large\n Path tarArchive = createTarArchiveWithRetry(sourcePath);\n try {\n log.debug(\"Created tar archive of size {} bytes for source path {} to upload to container {}\", Files.size(tarArchive), sourcePath.toAbsolutePath(),\n containerId);\n\n try (final var uploadStream = new BufferedInputStream(Files.newInputStream(tarArchive));\n final var copyToContainerCommand = buildAgentConfiguration.getDockerClient().copyArchiveToContainerCmd(containerId)\n .withRemotePath(LOCAL_CI_DOCKER_CONTAINER_WORKING_DIRECTORY).withTarInputStream(uploadStream)) {\n copyToContainerCommand.exec();\n log.debug(\"Successfully copied tar archive to container {}\", containerId);\n }\n catch (RuntimeException e) {\n // Wrap runtime exceptions (e.g., Docker connectivity issues) for retry handling\n throw new IOException(\"Failed to copy archive to container: \" + e.getMessage(), e);\n }\n }\n finally {\n FileUtils.deleteQuietly(tarArchive.toFile());\n }\n return null;\n }, \"Copy to container \" + containerId, buildJobId);\n }\n catch (IOException e) {\n String errorMessage = \"Could not copy to container \" + containerId + \" from source path \" + sourcePath.toAbsolutePath() + \" after \" + MAX_TAR_OPERATION_RETRIES\n + \" attempts\";\n if (DockerUtil.isDockerNotAvailable(e)) {\n log.warn(\"Docker is not available. {}: {}\", errorMessage, e.getMessage());\n }\n else {\n log.error(errorMessage, e);\n }\n if (buildJobId != null) {\n buildLogsMap.appendBuildLogEntry(buildJobId,\n \"Failed to copy files to build container after multiple attempts. This is an infrastructure issue, not a problem with your code. Please try rerunning your build.\");\n }\n throw new LocalCIException(errorMessage, e);\n }\n }\n\n /**\n * Creates a tar archive with retry-compatible exception handling.\n *

\n * This is a wrapper around {@link #createTarArchive} that converts {@link LocalCIException}\n * to {@link IOException} to enable the retry mechanism in {@link #executeWithRetry}.\n *\n * @param sourcePath the path to archive\n * @return the temporary file containing the tar archive, which the caller has to delete\n * @throws IOException if archive creation fails (enables retry handling)\n */\n private Path createTarArchiveWithRetry(Path sourcePath) throws IOException {\n try {\n return createTarArchive(sourcePath);\n }\n catch (LocalCIException e) {\n // Extract the underlying IOException for retry handling\n if (e.getCause() instanceof IOException ioException) {\n throw ioException;\n }\n throw new IOException(e.getMessage(), e);\n }\n }\n\n /**\n * Creates a tar archive from a filesystem path in a temporary file.\n *

\n * The archive is written to disk so that the size of the repository does not determine the memory the build agent needs.\n * Uses POSIX long file mode to support files with long names.\n *\n * @param sourcePath the path to archive (can be a file or directory)\n * @return the temporary file containing the complete tar archive, which the caller has to delete\n * @throws LocalCIException if any IO error occurs during archive creation\n */\n private Path createTarArchive(Path sourcePath) {\n\n Path tarFile;\n try {\n tarFile = tempFileUtilService.createTempFile(\"artemis-build-copy-\", \".tar\");\n }\n catch (IOException e) {\n throw new LocalCIException(\"Could not create a temporary file for the tar archive of source path: \" + sourcePath.toAbsolutePath(), e);\n }\n\n boolean created = false;\n try {\n try (TarArchiveOutputStream tarArchiveOutputStream = new TarArchiveOutputStream(new BufferedOutputStream(Files.newOutputStream(tarFile)))) {\n // Enable POSIX long file mode to support files with names > 100 characters\n tarArchiveOutputStream.setLongFileMode(TarArchiveOutputStream.LONGFILE_POSIX);\n\n addFileToTar(tarArchiveOutputStream, sourcePath.toAbsolutePath().normalize(), sourcePath, \"\");\n tarArchiveOutputStream.finish();\n }\n created = true;\n }\n catch (IOException e) {\n // Only log to application logs here - user-facing messages are logged by the caller after all retries fail\n String errorMessage = \"Could not create tar archive for source path: \" + sourcePath.toAbsolutePath() + \" (Exception: \" + e.getClass().getSimpleName() + \" - \"\n + e.getMessage() + \")\";\n log.warn(errorMessage, e);\n throw new LocalCIException(errorMessage, e);\n }\n finally {\n if (!created) {\n // Also covers unchecked failures while listing directories and a failing close, so that failed attempts do not accumulate partial archives\n FileUtils.deleteQuietly(tarFile.toFile());\n }\n }\n return tarFile;\n }\n\n /**\n * Recursively adds a file or directory to a tar archive.\n *

\n * For regular files: reads the file content and writes it to the archive.\n * For directories: creates a directory entry and recursively processes all children.\n * Symbolic links are never followed: a link whose target lies inside the source root is added as a link entry, any other link is skipped.\n *

\n * Note: This method can fail with {@link java.nio.file.NoSuchFileException} if files\n * are deleted during traversal (e.g., by concurrent cleanup operations). The caller should\n * handle such failures with retry logic.\n *\n * @param tarArchiveOutputStream the tar output stream to write to\n * @param sourceRoot the normalized absolute root of the archived source, which links must not leave\n * @param path the file or directory to add\n * @param parent the parent path prefix for the archive entry name\n * @throws IOException if reading files or listing directories fails\n */\n private void addFileToTar(TarArchiveOutputStream tarArchiveOutputStream, Path sourceRoot, Path path, String parent) throws IOException {\n try {\n BasicFileAttributes attributes = Files.readAttributes(path, BasicFileAttributes.class, LinkOption.NOFOLLOW_LINKS);\n String entryName = parent + path.getFileName();\n if (attributes.isSymbolicLink()) {\n addSymbolicLinkToTar(tarArchiveOutputStream, sourceRoot, path, entryName);\n return;\n }\n TarArchiveEntry tarEntry = new TarArchiveEntry(path, entryName, LinkOption.NOFOLLOW_LINKS);\n tarArchiveOutputStream.putArchiveEntry(tarEntry);\n\n if (attributes.isRegularFile()) {\n // For regular files: read content and write to archive\n try (InputStream is = Files.newInputStream(path, LinkOption.NOFOLLOW_LINKS)) {\n byte[] buffer = new byte[8192];\n int count;\n while ((count = is.read(buffer)) != -1) {\n tarArchiveOutputStream.write(buffer, 0, count);\n }\n }\n tarArchiveOutputStream.closeArchiveEntry();\n }\n else {\n // For directories: close the directory entry and recursively process children\n tarArchiveOutputStream.closeArchiveEntry();\n if (attributes.isDirectory()) {\n try (Stream children = Files.list(path)) {\n for (Path child : children.toList()) {\n addFileToTar(tarArchiveOutputStream, sourceRoot, child, parent + path.getFileName() + \"/\");\n }\n }\n }\n }\n }\n catch (IOException e) {\n String operation = Files.isRegularFile(path, LinkOption.NOFOLLOW_LINKS) ? \"reading file\" : \"listing directory\";\n throw new IOException(\"Failed \" + operation + \" while adding to tar archive: \" + path.toAbsolutePath(), e);\n }\n }\n\n private void addSymbolicLinkToTar(TarArchiveOutputStream tarArchiveOutputStream, Path sourceRoot, Path link, String entryName) throws IOException {\n Path linkTarget = Files.readSymbolicLink(link);\n Path parentDirectory = link.toAbsolutePath().getParent();\n Path resolvedTarget = (parentDirectory == null ? linkTarget.toAbsolutePath() : parentDirectory.resolve(linkTarget)).normalize();\n if (!resolvedTarget.startsWith(sourceRoot)) {\n log.warn(\"Skipping symbolic link {} because its target {} points outside the repository\", link, linkTarget);\n return;\n }\n TarArchiveEntry entry = new TarArchiveEntry(entryName, TarConstants.LF_SYMLINK);\n // An absolute target is a path on this host. It is written relative to the directory of the link, so that it still leads to the copied file in the container.\n Path archivedTarget = linkTarget.isAbsolute() && parentDirectory != null ? parentDirectory.relativize(resolvedTarget) : linkTarget;\n String linkName = archivedTarget.toString().replace(link.getFileSystem().getSeparator(), \"/\");\n entry.setLinkName(linkName.isEmpty() ? \".\" : linkName);\n entry.setMode(0777);\n tarArchiveOutputStream.putArchiveEntry(entry);\n tarArchiveOutputStream.closeArchiveEntry();\n }\n\n /**\n * Executes a command in a Docker container without waiting for it to complete (fire-and-forget).\n *

\n * This is used for commands where we don't need the result, such as creating the stop signal file.\n * The command is executed in detached mode.\n *\n * @param containerId the Docker container ID\n * @param command the command and arguments to execute\n */\n private void executeDockerCommandWithoutAwaitingResponse(String containerId, String... command) {\n DockerClient dockerClient = buildAgentConfiguration.getDockerClient();\n try (final var createCommand = dockerClient.execCreateCmd(containerId).withCmd(command)) {\n final var createCommandResponse = createCommand.exec();\n dockerClient.execStartCmd(createCommandResponse.getId()).withDetach(true).exec(new ResultCallback.Adapter<>());\n }\n }\n\n /**\n * Executes a command in a Docker container and waits for it to complete.\n *

\n * This method is the core Docker command execution mechanism. It always attaches to stdout/stderr\n * and runs synchronously (non-detached), ensuring each command completes before control returns.\n * This prevents race conditions where subsequent commands or the build script could start before\n * container setup operations (mkdir, cp, chmod) have finished.\n *

\n * If {@code buildJobId} is provided, command output is captured and stored in the build logs\n * via {@link BuildLogsMap}.\n *\n * @param containerId the Docker container ID\n * @param buildJobId the build job ID for logging (can be null if output capture not needed)\n * @param forceRoot if true, execute the command as root user\n * @param command the command and arguments to execute\n * @return the exit code of the command (0 = success, non-zero = failure)\n * @throws LocalCIException if the command execution fails or is interrupted\n */\n private int executeDockerCommand(String containerId, String buildJobId, boolean forceRoot, String... command) {\n return executeDockerCommand(containerId, buildJobId, forceRoot, DOCKER_SETUP_TIMEOUT_MINUTES, command);\n }\n\n private int executeDockerCommand(String containerId, String buildJobId, boolean forceRoot, int timeoutMinutes, String... command) {\n DockerClient dockerClient = buildAgentConfiguration.getDockerClient();\n try (var execCreateCommandTemp = dockerClient.execCreateCmd(containerId).withAttachStdout(true).withAttachStderr(true).withCmd(command)) {\n final var execCreateCommand = forceRoot ? execCreateCommandTemp.withUser(\"root\") : execCreateCommandTemp;\n ExecCreateCmdResponse execCreateCmdResponse = execCreateCommand.exec();\n final String execId = execCreateCmdResponse.getId();\n final CountDownLatch latch = new CountDownLatch(1);\n final AtomicReference errorRef = new AtomicReference<>();\n try {\n // IMPORTANT: withDetach(false) is critical here. It ensures the Docker daemon keeps the HTTP response stream open\n // until the exec process finishes inside the container, so onComplete/onError fires only after the command has\n // actually completed. Without this (i.e. withDetach(true)), the call returns immediately while the process may still\n // be running in the container, causing race conditions where subsequent commands (e.g. the build script) start before\n // setup commands (mkdir, chmod, cp) have finished.\n dockerClient.execStartCmd(execId).withDetach(false).exec(new ResultCallback.Adapter<>() {\n\n @Override\n public void onNext(Frame item) {\n String payload = new String(item.getPayload());\n String[] logLines = splitBehindNewLines(payload);\n ZonedDateTime now = ZonedDateTime.now();\n\n if (buildJobId == null) {\n return;\n }\n for (String line : logLines) {\n if (line.isEmpty()) {\n continue;\n }\n BuildLogDTO buildLogEntry = new BuildLogDTO(now, line);\n buildLogsMap.appendBuildLogEntry(buildJobId, buildLogEntry);\n }\n }\n\n @Override\n public void onComplete() {\n latch.countDown();\n }\n\n @Override\n public void onError(Throwable throwable) {\n log.error(\"Error while executing Docker command: {} on container {}\", String.join(\" \", command), containerId, throwable);\n errorRef.set(throwable);\n latch.countDown();\n }\n });\n }\n catch (ConflictException e) {\n throw new LocalCIException(\"Could not execute Docker command: \" + String.join(\" \", command), e);\n }\n\n try {\n boolean completed = latch.await(timeoutMinutes, TimeUnit.MINUTES);\n if (!completed) {\n throw new LocalCIException(\"Docker command timed out after \" + timeoutMinutes + \" minutes: \" + String.join(\" \", command));\n }\n }\n catch (InterruptedException e) {\n Thread.currentThread().interrupt();\n throw new LocalCIException(\"Interrupted while executing Docker command: \" + String.join(\" \", command), e);\n }\n\n Throwable execError = errorRef.get();\n if (execError != null) {\n throw new LocalCIException(\"Docker command failed: \" + String.join(\" \", command), execError);\n }\n\n try (var inspectCmd = dockerClient.inspectExecCmd(execId)) {\n InspectExecResponse inspectResponse = inspectCmd.exec();\n Long exitCode = inspectResponse.getExitCodeLong();\n return (exitCode != null) ? exitCode.intValue() : -1;\n }\n }\n }\n\n /**\n * Validates a file path to prevent path traversal attacks and injection.\n *

\n * Rejects paths that:\n *

    \n *
  • Are null
  • \n *
  • Contain \"..\" (parent directory traversal)
  • \n *
  • Contain characters outside the allowed set (alphanumeric, underscore, asterisk, dot, slash, hyphen)
  • \n *
\n *\n * @param path the path to validate\n * @throws LocalCIException if the path is invalid or potentially malicious\n */\n private void checkPath(String path) {\n if (path == null || path.contains(\"..\") || !SAFE_CONTAINER_PATH.matcher(path).matches()) {\n throw new LocalCIException(\"Invalid path: \" + path);\n }\n }\n\n /**\n * Finds a Docker container by its name.\n *

\n * Docker container names are prefixed with \"/\" internally, so this method handles that.\n * Returns null if the container is not found or if Docker is not available.\n *\n * @param containerName the container name (without the \"/\" prefix)\n * @return the Container object if found, null otherwise\n */\n private Container getContainerForName(String containerName) {\n // When Docker is temporarily unavailable, we skip the container lookup and return null.\n // Any containers left behind will be cleaned up by the scheduled cleanUpContainers() task\n // in BuildAgentDockerService once Docker becomes available again.\n if (!buildAgentConfiguration.isDockerAvailable()) {\n log.debug(\"Docker is not available. Cannot get container for name {}\", containerName);\n return null;\n }\n try (final var listContainerCommand = buildAgentConfiguration.getDockerClient().listContainersCmd().withShowAll(true)) {\n List containers = listContainerCommand.exec();\n String expectedName = \"/\" + containerName;\n return containers.stream().filter(container -> container.getNames() != null && container.getNames().length > 0 && expectedName.equals(container.getNames()[0]))\n .findFirst().orElse(null);\n }\n catch (Exception ex) {\n if (DockerUtil.isDockerNotAvailable(ex)) {\n log.debug(\"Docker is not available: {}\", ex.getMessage());\n }\n else {\n log.error(\"Failed to get container for name {}: {}\", containerName, ex.getMessage());\n }\n return null;\n }\n }\n\n /**\n * Splits a string by newlines while preserving the newline characters at the end of each segment.\n *

\n * Uses a look-behind regex pattern to split after (not before) newline characters.\n * This preserves the newlines in the output, which is useful for log formatting.\n *\n * @param input the string to split\n * @return an array of strings, each potentially ending with a newline character\n */\n private String[] splitBehindNewLines(String input) {\n String newlineLookBehindPattern = \"(?<=\\\\R)\";\n return input.split(newlineLookBehindPattern);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/369ac62eb859c3dd1db562e33c1b00889cb8b70e.json b/web/public/bundles/artemis/code/369ac62eb859c3dd1db562e33c1b00889cb8b70e.json new file mode 100644 index 00000000..538ab10e --- /dev/null +++ b/web/public/bundles/artemis/code/369ac62eb859c3dd1db562e33c1b00889cb8b70e.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "369ac62eb859c3dd1db562e33c1b00889cb8b70e", + "language": "typescript", + "path": "src/main/webapp/app/tutorialgroup/manage/service/tutorial-group-management-course-resolver.service.ts", + "schema": "codexray.code/1", + "text": "import { Service, inject } from '@angular/core';\nimport { ActivatedRouteSnapshot, RedirectCommand, Resolve, Router, RouterStateSnapshot } from '@angular/router';\nimport { Course } from 'app/course/shared/entities/course.model';\nimport { CourseManagementService } from 'app/course/manage/services/course-management.service';\nimport { Observable, combineLatest, filter, map, throwError } from 'rxjs';\nimport { HttpErrorResponse, HttpResponse, HttpStatusCode } from '@angular/common/http';\nimport { catchError } from 'rxjs/operators';\nimport { AlertService } from 'app/foundation/service/alert.service';\nimport { TutorialGroupsConfigurationService } from 'app/tutorialgroup/manage/service/tutorial-groups-configuration.service';\nimport { tutorialGroupsConfigurationEntityFromDto } from 'app/tutorialgroup/shared/entities/tutorial-groups-configuration-dto.model';\nimport { TutorialGroupConfiguration } from 'app/openapi/model/tutorial-group-configuration';\n\n@Service()\nexport class TutorialGroupManagementCourseResolver implements Resolve {\n private courseManagementService = inject(CourseManagementService);\n private tutorialGroupsConfigurationService = inject(TutorialGroupsConfigurationService);\n private router = inject(Router);\n private alertService = inject(AlertService);\n\n resolve(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable {\n const courseId = route.params['courseId'];\n const course$ = this.courseManagementService.findForManagement(courseId).pipe(\n filter((response: HttpResponse) => response.ok),\n map((response: HttpResponse) => response.body ?? undefined),\n filter((course: Course | undefined): course is Course => course !== undefined),\n );\n const configuration$ = this.tutorialGroupsConfigurationService.getOneOfCourse(courseId);\n\n return combineLatest([course$, configuration$]).pipe(\n map(([course, configuration]: [Course, TutorialGroupConfiguration | undefined]) => {\n if (configuration) {\n course.tutorialGroupsConfiguration = tutorialGroupsConfigurationEntityFromDto(configuration);\n }\n return course;\n }),\n // Every redirect is a thrown RedirectCommand: the router cancels this navigation and redirects instead,\n // so the tutorial group route never activates. It passes through the catchError below unchanged,\n // because that only handles HTTP errors.\n map((course: Course) => {\n if (!course.isAtLeastTutor) {\n this.alertService.error('artemisApp.pages.tutorialGroupsManagement.notAuthorized');\n throw this.redirectTo(['/courses']);\n }\n if (course.tutorialGroupsConfiguration) {\n const editUrl = '/course-management/' + course.id + '/tutorial-groups/configuration/' + course.tutorialGroupsConfiguration.id + '/edit';\n if (state.url === editUrl) {\n return course;\n }\n }\n if (!course.tutorialGroupsConfiguration || !course.timeZone) {\n if (course.isAtLeastInstructor) {\n throw this.redirectTo(['/course-management', course.id, 'tutorial-groups-checklist']);\n }\n this.alertService.warning('artemisApp.pages.tutorialGroupsManagement.configurationRequiredForTutor');\n throw this.redirectTo(['/courses']);\n }\n return course;\n }),\n // Both endpoints require at least student in the course, so a user below that gets a 403 and the\n // isAtLeastTutor check above is never reached. Without this the navigation just fails and drops the\n // user on the base URL with no explanation.\n catchError((error: unknown) => {\n if (error instanceof HttpErrorResponse && error.status === HttpStatusCode.Forbidden) {\n this.alertService.error('artemisApp.pages.tutorialGroupsManagement.notAuthorized');\n return throwError(() => this.redirectTo(['/courses']));\n }\n return throwError(() => error);\n }),\n );\n }\n\n /** A redirect the router performs instead of activating the tutorial group route. */\n private redirectTo(commands: readonly unknown[]): RedirectCommand {\n return new RedirectCommand(this.router.createUrlTree(commands));\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/37598a227494a373853e53bcd4cead48cc983581.json b/web/public/bundles/artemis/code/37598a227494a373853e53bcd4cead48cc983581.json new file mode 100644 index 00000000..ddf5583a --- /dev/null +++ b/web/public/bundles/artemis/code/37598a227494a373853e53bcd4cead48cc983581.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "37598a227494a373853e53bcd4cead48cc983581", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/LectureRepositoryApi.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.lecture.api;\n\nimport java.util.Collection;\nimport java.util.List;\nimport java.util.Optional;\nimport java.util.Set;\n\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.data.domain.PageRequest;\nimport org.springframework.stereotype.Controller;\n\nimport de.tum.cit.aet.artemis.core.dto.CourseEntityIdDTO;\nimport de.tum.cit.aet.artemis.core.exception.NoUniqueQueryException;\nimport de.tum.cit.aet.artemis.lecture.config.LectureEnabled;\nimport de.tum.cit.aet.artemis.lecture.domain.Lecture;\nimport de.tum.cit.aet.artemis.lecture.repository.LectureRepository;\n\n/**\n * API for managing lectures.\n */\n@Conditional(LectureEnabled.class)\n@Controller\n@Lazy\npublic class LectureRepositoryApi extends AbstractLectureApi {\n\n private final LectureRepository lectureRepository;\n\n public LectureRepositoryApi(LectureRepository lectureRepository) {\n this.lectureRepository = lectureRepository;\n }\n\n /**\n * Checks which of the given ids exists, for the pass that removes index rows with no backing entity.\n *\n * @param entityIds the ids to check\n * @return the subset that exists\n */\n public Set findExistingLectureIds(Collection entityIds) {\n return lectureRepository.findExistingLectureIds(entityIds);\n }\n\n /**\n * Walks the ids expected to be indexed, one page at a time, for the reconcile passes.\n *\n * @param afterId the id the previous page stopped at\n * @param limit the page size\n * @return the next lecture ids in ascending order\n */\n public List findLectureIdsAfter(long afterId, int limit) {\n return lectureRepository.findLectureIdsAfter(afterId, PageRequest.ofSize(limit));\n }\n\n public Optional findById(Long lectureId) {\n return lectureRepository.findById(lectureId);\n }\n\n public Lecture findByIdElseThrow(long lectureId) {\n return lectureRepository.findByIdElseThrow(lectureId);\n }\n\n public List findAllById(Iterable lectureIds) {\n return lectureRepository.findAllById(lectureIds);\n }\n\n public Set findAllByCourseId(long courseId) {\n return lectureRepository.findAllByCourseId(courseId);\n }\n\n public Lecture findByIdWithLectureUnitsElseThrow(Long lectureId) {\n return lectureRepository.findByIdWithLectureUnitsElseThrow(lectureId);\n }\n\n public Optional findUniqueByTitleAndCourseIdWithLectureUnitsElseThrow(String title, long courseId) throws NoUniqueQueryException {\n return lectureRepository.findUniqueByTitleAndCourseIdWithLectureUnitsElseThrow(title, courseId);\n }\n\n public long countByCourseId(long courseId) {\n return lectureRepository.countByCourse_Id(courseId);\n }\n\n public String getLectureTitle(long lectureId) {\n return lectureRepository.getLectureTitle(lectureId);\n }\n\n public void saveAll(Collection lectures) {\n lectureRepository.saveAll(lectures);\n }\n\n public Set findAllByCourseIdWithEagerLectureUnits(long courseId) {\n return lectureRepository.findAllByCourseIdWithEagerLectureUnits(courseId);\n }\n\n public Set findAllByCourseIdWithAttachmentsAndLectureUnits(long courseId) {\n return lectureRepository.findAllByCourseIdWithAttachmentsAndLectureUnits(courseId);\n }\n\n public List findLectureIdCourseIdPairsForCourses(Collection courseIds) {\n return lectureRepository.findLectureIdCourseIdPairsForCourses(courseIds);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/37ab8f2791d7aecf206527f2ae7fbc3035ceb0b7.json b/web/public/bundles/artemis/code/37ab8f2791d7aecf206527f2ae7fbc3035ceb0b7.json new file mode 100644 index 00000000..3b613dd3 --- /dev/null +++ b/web/public/bundles/artemis/code/37ab8f2791d7aecf206527f2ae7fbc3035ceb0b7.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "37ab8f2791d7aecf206527f2ae7fbc3035ceb0b7", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/ProgrammingSubmissionForTutorAssessmentDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.programming.dto;\n\nimport java.io.Serializable;\nimport java.time.ZonedDateTime;\nimport java.util.Collection;\nimport java.util.List;\nimport java.util.Objects;\n\nimport org.hibernate.Hibernate;\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.assessment.domain.AssessmentType;\nimport de.tum.cit.aet.artemis.assessment.domain.Result;\nimport de.tum.cit.aet.artemis.assessment.dto.GradingCriterionDTO;\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.exam.domain.Exam;\nimport de.tum.cit.aet.artemis.exercise.domain.IncludedInOverallScore;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingExercise;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingExerciseStudentParticipation;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingLanguage;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingSubmission;\nimport de.tum.cit.aet.artemis.programming.domain.ProjectType;\n\n/**\n * The programming submission a tutor opens for assessment, with exactly what the tutor assessment page reads from it.\n *

\n * It deliberately is not {@link ProgrammingSubmissionForAssessmentDTO}, whose nested exercise is the full exercise\n * record of the management pages: with the problem statement, the template and solution participations, the build\n * and plagiarism configuration and, for an exam exercise, every text of the exam and the whole course. The page reads\n * none of that, and the response is requested for every submission a tutor opens. The participant is left out as well:\n * the page never shows it, and a tutor must not see it in a double-blind assessment.\n *

\n * The results stay at the top level of the submission, as the page reads them there, and an empty list has to arrive\n * as {@code []}, which is why this record uses the bare {@code @JsonInclude()}. The nested records drop their empty\n * members.\n *\n * @param id the submission id\n * @param submissionExerciseType the constant discriminator {@code \"programming\"}\n * @param submissionDate when the submission was created, which the assessment dashboard shows for the next submission\n * @param commitHash the git commit hash of the submission, which the feedback dialog shows and resolves code references against\n * @param buildFailed whether the build for this submission failed\n * @param participation the participation of the submission with the exercise the page needs\n * @param results the results relevant for the requested correction round\n */\n@JsonInclude()\npublic record ProgrammingSubmissionForTutorAssessmentDTO(Long id, String submissionExerciseType, ZonedDateTime submissionDate, String commitHash, Boolean buildFailed,\n ParticipationDTO participation, List results) implements Serializable {\n\n /**\n * The participation without its participant. The team is reduced to its id, which the page needs to link back to the\n * team of a team exercise.\n *\n * @param id the participation id\n * @param type the constant discriminator {@code \"programming\"}\n * @param testRun whether this is an instructor test run of an exam\n * @param team the id of the team, for a team participation\n * @param exercise the exercise of the participation\n */\n @JsonInclude(JsonInclude.Include.NON_EMPTY)\n public record ParticipationDTO(Long id, String type, Boolean testRun, TeamReferenceDTO team, ExerciseDTO exercise) implements Serializable {\n }\n\n /**\n * @param id the team id\n */\n @JsonInclude(JsonInclude.Include.NON_EMPTY)\n public record TeamReferenceDTO(Long id) implements Serializable {\n }\n\n /**\n * The exercise as the tutor assessment page reads it: its identity, the points and dates the assessment is judged\n * by, the instructions the tutor assesses against and what the feedback dialog states about the tests.\n *

\n * A course exercise carries its {@code course}, an exam exercise the same course below {@code exerciseGroup.exam},\n * which is where the client looks for it.\n *\n * @param id the exercise id\n * @param type the constant discriminator {@code \"programming\"}\n * @param title the exercise title\n * @param problemStatement the problem statement (markdown) the instructions pane renders\n * @param gradingInstructions the unstructured grading instructions\n * @param gradingCriteria the structured grading criteria\n * @param maxPoints the achievable points\n * @param bonusPoints the achievable bonus points\n * @param includedInOverallScore how the exercise counts towards the course score\n * @param teamMode whether the exercise is a team exercise\n * @param assessmentType automatic, semi-automatic or manual assessment\n * @param assessmentDueDate when the assessment is due\n * @param dueDate when the exercise is due\n * @param buildAndTestStudentSubmissionsAfterDueDate when student submissions are built and tested after the due date\n * @param allowComplaintsForAutomaticAssessments whether complaints are allowed for automatic assessments\n * @param programmingLanguage the programming language, which the build output is annotated by\n * @param projectType the project type, which the build output is annotated by\n * @param staticCodeAnalysisEnabled whether static code analysis is enabled\n * @param maxStaticCodeAnalysisPenalty the maximum static code analysis penalty\n * @param showTestNamesToStudents whether test names are shown to students\n * @param solutionParticipation the solution repository, for the link to the example solution\n * @param course the course of a course exercise\n * @param exerciseGroup the exercise group of an exam exercise\n */\n @JsonInclude(JsonInclude.Include.NON_EMPTY)\n public record ExerciseDTO(Long id, String type, String title, String problemStatement, String gradingInstructions, List gradingCriteria, Double maxPoints,\n Double bonusPoints, IncludedInOverallScore includedInOverallScore, Boolean teamMode, AssessmentType assessmentType, ZonedDateTime assessmentDueDate,\n ZonedDateTime dueDate, ZonedDateTime buildAndTestStudentSubmissionsAfterDueDate, Boolean allowComplaintsForAutomaticAssessments,\n ProgrammingLanguage programmingLanguage, ProjectType projectType, Boolean staticCodeAnalysisEnabled, Integer maxStaticCodeAnalysisPenalty,\n Boolean showTestNamesToStudents, SolutionParticipationDTO solutionParticipation, CourseDTO course, ExerciseGroupDTO exerciseGroup) implements Serializable {\n\n /**\n * Every lazy slot is guarded, so a relation that is not loaded is left out instead of being fetched.\n *\n * @param exercise the exercise to convert\n * @return the exercise as the page reads it\n */\n static ExerciseDTO of(ProgrammingExercise exercise) {\n List gradingCriteria = null;\n var criteria = exercise.getGradingCriteria();\n if (criteria != null && Hibernate.isInitialized(criteria)) {\n gradingCriteria = GradingCriterionDTO.ofAll(criteria);\n }\n var solution = exercise.getSolutionParticipation();\n var solutionParticipation = solution != null && Hibernate.isInitialized(solution)\n ? new SolutionParticipationDTO(TemplateSolutionParticipationDTO.TYPE_SOLUTION, solution.getRepositoryUri())\n : null;\n\n CourseDTO course = null;\n ExerciseGroupDTO exerciseGroup = null;\n if (exercise.isExamExercise()) {\n // the client looks the course of an exam exercise up below the exam\n var group = exercise.getExerciseGroup();\n Exam exam = group != null && Hibernate.isInitialized(group) ? group.getExam() : null;\n if (exam != null && Hibernate.isInitialized(exam)) {\n var examCourse = exam.getCourse();\n exerciseGroup = new ExerciseGroupDTO(new ExamDTO(exam.getId(), examCourse != null && Hibernate.isInitialized(examCourse) ? CourseDTO.of(examCourse) : null));\n }\n }\n else {\n var courseEntity = exercise.getCourseViaExerciseGroupOrCourseMember();\n course = courseEntity != null && Hibernate.isInitialized(courseEntity) ? CourseDTO.of(courseEntity) : null;\n }\n\n return new ExerciseDTO(exercise.getId(), ProgrammingExerciseResponseDTO.TYPE, exercise.getTitle(), exercise.getProblemStatement(), exercise.getGradingInstructions(),\n gradingCriteria, exercise.getMaxPoints(), exercise.getBonusPoints(), exercise.getIncludedInOverallScore(), exercise.isTeamMode(), exercise.getAssessmentType(),\n exercise.getAssessmentDueDate(), exercise.getDueDate(), exercise.getBuildAndTestStudentSubmissionsAfterDueDate(),\n exercise.getAllowComplaintsForAutomaticAssessments(), exercise.getProgrammingLanguage(), exercise.getProjectType(), exercise.isStaticCodeAnalysisEnabled(),\n exercise.getMaxStaticCodeAnalysisPenalty(), exercise.getShowTestNamesToStudents(), solutionParticipation, course, exerciseGroup);\n }\n }\n\n /**\n * @param type the constant discriminator {@code \"solution\"}, without which the participation cannot be read back as an entity\n * @param repositoryUri the URI of the solution repository\n */\n @JsonInclude(JsonInclude.Include.NON_EMPTY)\n public record SolutionParticipationDTO(String type, String repositoryUri) implements Serializable {\n }\n\n /**\n * The settings of the course the tutor assessment page reads: the rounding of scores, the Athena banner and the\n * length of a complaint response.\n *\n * @param id the course id, which the access rights of the user are checked against\n * @param accuracyOfScores the number of decimals scores are rounded to\n * @param athenaGradingFeedbackEnabled whether feedback suggestions are enabled\n * @param maxComplaintResponseTextLimit the maximum length of a complaint response\n */\n @JsonInclude(JsonInclude.Include.NON_EMPTY)\n public record CourseDTO(Long id, Integer accuracyOfScores, boolean athenaGradingFeedbackEnabled, int maxComplaintResponseTextLimit) implements Serializable {\n\n static CourseDTO of(Course course) {\n return new CourseDTO(course.getId(), course.getAccuracyOfScores(), course.isAthenaGradingFeedbackEnabled(), course.getMaxComplaintResponseTextLimit());\n }\n }\n\n /**\n * @param exam the exam the exercise belongs to\n */\n @JsonInclude(JsonInclude.Include.NON_EMPTY)\n public record ExerciseGroupDTO(ExamDTO exam) implements Serializable {\n }\n\n /**\n * @param id the exam id\n * @param course the course the exam belongs to\n */\n @JsonInclude(JsonInclude.Include.NON_EMPTY)\n public record ExamDTO(Long id, CourseDTO course) implements Serializable {\n }\n\n /**\n * Converts a submission together with the exercise it belongs to and the results that should be shown.\n *\n * @param submission the submission to convert\n * @param exercise the exercise of the submission\n * @param results the results to nest under the submission; null elements are skipped\n * @return the converted DTO, or {@code null} if the submission was {@code null}\n */\n public static ProgrammingSubmissionForTutorAssessmentDTO of(@Nullable ProgrammingSubmission submission, ProgrammingExercise exercise, Collection results) {\n if (submission == null) {\n return null;\n }\n ParticipationDTO participation = null;\n if (submission.getParticipation() instanceof ProgrammingExerciseStudentParticipation studentParticipation) {\n var team = studentParticipation.getTeam().filter(Hibernate::isInitialized).map(candidate -> new TeamReferenceDTO(candidate.getId())).orElse(null);\n participation = new ParticipationDTO(studentParticipation.getId(), ProgrammingExerciseStudentParticipationDTO.TYPE, studentParticipation.isTestRun(), team,\n ExerciseDTO.of(exercise));\n }\n var resultDTOs = results == null ? null : results.stream().filter(Objects::nonNull).map(ProgrammingAssessmentResultDTO::of).toList();\n return new ProgrammingSubmissionForTutorAssessmentDTO(submission.getId(), ProgrammingSubmissionForAssessmentDTO.SUBMISSION_EXERCISE_TYPE, submission.getSubmissionDate(),\n submission.getCommitHash(), submission.isBuildFailed(), participation, resultDTOs);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/385cb5ce2de2f7f4403b41021fd1c38ef0ba4927.json b/web/public/bundles/artemis/code/385cb5ce2de2f7f4403b41021fd1c38ef0ba4927.json new file mode 100644 index 00000000..5dfd8254 --- /dev/null +++ b/web/public/bundles/artemis/code/385cb5ce2de2f7f4403b41021fd1c38ef0ba4927.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "385cb5ce2de2f7f4403b41021fd1c38ef0ba4927", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/conduction/ParticipationBaseForConductionDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exam.dto.conduction;\n\nimport java.time.ZonedDateTime;\nimport java.util.List;\n\nimport org.hibernate.Hibernate;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.core.dto.UserNameDTO;\nimport de.tum.cit.aet.artemis.exercise.domain.InitializationState;\nimport de.tum.cit.aet.artemis.exercise.domain.participation.StudentParticipation;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingExerciseStudentParticipation;\n\n/**\n * Common fields shared by every student-participation subtype in the conduction payload. The {@code type} discriminator\n * mirrors the {@code @JsonTypeInfo} property on the participation entity hierarchy ({@code student} vs\n * {@code programming}), so the (unchanged) client model and the byte-compat oracle tests deserialize each participation\n * into the correct concrete subtype.\n *

\n * Programming participations do not carry submissions in the conduction payload (they are driven by the repository, not\n * by the hand-in), matching the masked entity wire.\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record ParticipationBaseForConductionDTO(String type, long id, InitializationState initializationState, ZonedDateTime initializationDate, boolean testRun, int attempt,\n String participantIdentifier, String participantName, UserNameDTO student, Integer submissionCount, List submissions) {\n\n /**\n * Extracts the common participation fields from a student participation.\n *\n * @param participation the participation to convert\n * @return the common participation fields\n */\n public static ParticipationBaseForConductionDTO of(StudentParticipation participation) {\n boolean isProgramming = participation instanceof ProgrammingExerciseStudentParticipation;\n String type = isProgramming ? \"programming\" : \"student\";\n // Map submissions faithfully for every participation type: a fresh conduction leaves programming participations\n // submission-less (dropped by NON_EMPTY), but once submitted/assessed they carry the submission with its results.\n var entitySubmissions = participation.getSubmissions();\n List submissions = (entitySubmissions == null || !Hibernate.isInitialized(entitySubmissions) || entitySubmissions.isEmpty()) ? null\n : entitySubmissions.stream().map(SubmissionForConductionDTO::of).toList();\n UserNameDTO student = participation.getStudent().map(UserNameDTO::of).orElse(null);\n return new ParticipationBaseForConductionDTO(type, participation.getId(), participation.getInitializationState(), participation.getInitializationDate(),\n participation.isTestRun(), participation.getAttempt(), participation.getParticipantIdentifier(), participation.getParticipantName(), student,\n participation.getSubmissionCount(), submissions);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/38ca8a86eeb25427f13bf98a17ec39c54f6bc0d0.json b/web/public/bundles/artemis/code/38ca8a86eeb25427f13bf98a17ec39c54f6bc0d0.json new file mode 100644 index 00000000..2bd49b84 --- /dev/null +++ b/web/public/bundles/artemis/code/38ca8a86eeb25427f13bf98a17ec39c54f6bc0d0.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "38ca8a86eeb25427f13bf98a17ec39c54f6bc0d0", + "language": "typescript", + "path": "src/main/webapp/app/exam/manage/exercise-groups/programming-exercise-cell/programming-exercise-group-cell.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, effect, inject, input, signal } from '@angular/core';\nimport { ProgrammingExercise } from 'app/programming/shared/entities/programming-exercise.model';\nimport { ProgrammingExerciseParticipationType } from 'app/programming/shared/entities/programming-exercise-participation.model';\nimport { createBuildPlanUrl } from 'app/programming/shared/utils/programming-exercise.utils';\nimport { faDownload } from '@fortawesome/free-solid-svg-icons';\nimport { MODULE_FEATURE_THEIA, PROFILE_LOCALCI } from 'app/app.constants';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { RepositoryType } from 'app/programming/shared/code-editor/model/code-editor.model';\nimport { ProfileService } from 'app/core/layouts/profiles/shared/profile.service';\nimport { getAllResultsOfAllSubmissions } from 'app/exercise/shared/entities/submission/submission.model';\n\n@Component({\n selector: 'jhi-programming-exercise-group-cell',\n templateUrl: './programming-exercise-group-cell.component.html',\n styles: [':host{display: contents}'],\n imports: [TranslateDirective],\n})\nexport class ProgrammingExerciseGroupCellComponent {\n private profileService = inject(ProfileService);\n\n participationType = ProgrammingExerciseParticipationType;\n\n protected readonly RepositoryType = RepositoryType;\n\n localCIEnabled = signal(true);\n onlineIdeEnabled = signal(false);\n\n displayShortName = input(false);\n displayTemplateUrls = input(false);\n displayEditorMode = input(false);\n exercise = input.required();\n numberOfResultsOfTemplateParticipation = signal(0);\n numberOfResultsOfSolutionParticipation = signal(0);\n\n faDownload = faDownload;\n\n constructor() {\n effect(() => {\n this.localCIEnabled.set(this.profileService.isProfileActive(PROFILE_LOCALCI));\n this.onlineIdeEnabled.set(this.profileService.isModuleFeatureActive(MODULE_FEATURE_THEIA));\n\n const projectKey = this.exercise()?.projectKey;\n if (projectKey && !this.localCIEnabled()) {\n // buildPlanURLTemplate is only available on Artemis instances without LocalCI (e.g. using Jenkins)\n const buildPlanURLTemplate = this.profileService.getProfileInfo().buildPlanURLTemplate;\n const solutionParticipation = this.exercise()?.solutionParticipation;\n this.numberOfResultsOfSolutionParticipation.set(getAllResultsOfAllSubmissions(solutionParticipation?.submissions).length);\n if (solutionParticipation?.buildPlanId && buildPlanURLTemplate) {\n solutionParticipation.buildPlanUrl = createBuildPlanUrl(buildPlanURLTemplate, projectKey, solutionParticipation.buildPlanId);\n }\n\n const templateParticipation = this.exercise()?.templateParticipation;\n this.numberOfResultsOfTemplateParticipation.set(getAllResultsOfAllSubmissions(templateParticipation?.submissions).length);\n if (templateParticipation?.buildPlanId && buildPlanURLTemplate) {\n templateParticipation.buildPlanUrl = createBuildPlanUrl(buildPlanURLTemplate, projectKey, templateParticipation.buildPlanId);\n }\n }\n });\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/39c68f8d206abc9d79d628139846ebfa5e2f6c35.json b/web/public/bundles/artemis/code/39c68f8d206abc9d79d628139846ebfa5e2f6c35.json new file mode 100644 index 00000000..f25594d5 --- /dev/null +++ b/web/public/bundles/artemis/code/39c68f8d206abc9d79d628139846ebfa5e2f6c35.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "39c68f8d206abc9d79d628139846ebfa5e2f6c35", + "language": "typescript", + "path": "src/main/webapp/app/presentation/manage/presentation-instance-actions.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, input, output } from '@angular/core';\nimport { faPencilAlt, faTrash } from '@fortawesome/free-solid-svg-icons';\nimport { TumAetUiButtonComponent } from '@tumaet/ui-angular/button';\n\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { DeleteButtonDirective } from 'app/shared-ui/delete-dialog/directive/delete-button.directive';\nimport { ActionType } from 'app/shared-ui/delete-dialog/delete-dialog.model';\n\n/** Edit and delete buttons of an assigned student; only editors may delete. */\n@Component({\n selector: 'jhi-presentation-instance-actions',\n templateUrl: './presentation-instance-actions.component.html',\n imports: [TumAetUiButtonComponent, DeleteButtonDirective, ArtemisTranslatePipe],\n})\nexport class PresentationInstanceActionsComponent {\n protected readonly faPencilAlt = faPencilAlt;\n protected readonly faTrash = faTrash;\n protected readonly ActionType = ActionType;\n\n readonly canDelete = input(false);\n\n readonly editRequested = output();\n /** Emitted once the deletion is confirmed in the dialog. */\n readonly deleteRequested = output();\n}\n" +} diff --git a/web/public/bundles/artemis/code/3b0d7b4ee914ee500080fcfc418ec83aceab7e6d.json b/web/public/bundles/artemis/code/3b0d7b4ee914ee500080fcfc418ec83aceab7e6d.json new file mode 100644 index 00000000..11616729 --- /dev/null +++ b/web/public/bundles/artemis/code/3b0d7b4ee914ee500080fcfc418ec83aceab7e6d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "3b0d7b4ee914ee500080fcfc418ec83aceab7e6d", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/RepositoryAccessService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.programming.service;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\n\nimport java.time.Instant;\nimport java.time.ZonedDateTime;\nimport java.util.Optional;\n\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.core.exception.AccessForbiddenException;\nimport de.tum.cit.aet.artemis.core.service.AuthorizationCheckService;\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.exercise.domain.participation.Participation;\nimport de.tum.cit.aet.artemis.exercise.domain.participation.StudentParticipation;\nimport de.tum.cit.aet.artemis.exercise.service.ExerciseDateService;\nimport de.tum.cit.aet.artemis.exercise.service.ParticipationAuthorizationCheckService;\nimport de.tum.cit.aet.artemis.plagiarism.api.PlagiarismAccessApi;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingExercise;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingExerciseParticipation;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingExerciseStudentParticipation;\nimport de.tum.cit.aet.artemis.programming.domain.RepositoryType;\nimport de.tum.cit.aet.artemis.programming.dto.GitRepositoryAccessDTO;\nimport de.tum.cit.aet.artemis.programming.web.repository.RepositoryActionType;\n\n/**\n * Service for checking if a user has access to a repository.\n */\n@Profile(PROFILE_CORE)\n@Lazy\n@Service\npublic class RepositoryAccessService {\n\n private final Optional plagiarismAccessApi;\n\n private final AuthorizationCheckService authorizationCheckService;\n\n private final ExerciseDateService exerciseDateService;\n\n private final ParticipationAuthorizationCheckService participationAuthorizationCheckService;\n\n public RepositoryAccessService(Optional plagiarismAccessApi, AuthorizationCheckService authorizationCheckService, ExerciseDateService exerciseDateService,\n ParticipationAuthorizationCheckService participationAuthorizationCheckService) {\n this.plagiarismAccessApi = plagiarismAccessApi;\n this.authorizationCheckService = authorizationCheckService;\n this.exerciseDateService = exerciseDateService;\n this.participationAuthorizationCheckService = participationAuthorizationCheckService;\n }\n\n /**\n * Resolves the course of the exercise. The course cannot be resolved from a masked exam graph, in which case the\n * access check fails closed instead of dereferencing null.\n *\n * @param exercise the exercise whose course is needed\n * @return the course of the exercise\n * @throws AccessForbiddenException if the course cannot be resolved\n */\n private static Course getCourseOrThrow(ProgrammingExercise exercise) {\n Course course = exercise == null ? null : exercise.getCourseViaExerciseGroupOrCourseMember();\n if (course == null) {\n throw new AccessForbiddenException(\"The course of this programming exercise could not be resolved.\");\n }\n return course;\n }\n\n /**\n * Checks if the user has access to the repository of the given participation.\n * Throws an {@link AccessForbiddenException} otherwise.\n *\n * @param programmingParticipation The participation for which the repository should be accessed.\n * @param user The user who wants to access the repository.\n * @param programmingExercise The programming exercise of the participation with the submission policy set.\n * @param repositoryActionType The type of action that the user wants to perform on the repository (i.e. WRITE, READ or RESET).\n * @throws AccessForbiddenException If the user is not allowed to access the repository.\n */\n public void checkAccessRepositoryElseThrow(ProgrammingExerciseParticipation programmingParticipation, User user, ProgrammingExercise programmingExercise,\n RepositoryActionType repositoryActionType) throws AccessForbiddenException {\n Course course = getCourseOrThrow(programmingExercise);\n // Each of these resolves in memory when the user was loaded with its course roles, and costs a query otherwise, so\n // none of them is evaluated before its answer is actually needed. A student, the overwhelmingly common caller on\n // this path, reaches only isAtLeastStudentInCourse.\n if (authorizationCheckService.isAtLeastEditorInCourse(course, user)) {\n return;\n }\n boolean isTeachingAssistant = authorizationCheckService.isTeachingAssistantInCourse(course, user);\n // Tutors may read other student repositories during the support window; exercise repositories remain readable for assessment.\n if (isTeachingAssistant && repositoryActionType == RepositoryActionType.READ\n && (!(programmingParticipation instanceof ProgrammingExerciseStudentParticipation) || !exerciseDateService.isAssessmentAnonymizationActive(programmingExercise))) {\n return;\n }\n\n // The user has to be at least a student in the course to access the repository.\n // We also check if the user is the owner of the participation and if it's a student participation.\n if (programmingParticipation instanceof ProgrammingExerciseStudentParticipation programmingStudentParticipation\n && authorizationCheckService.isAtLeastStudentInCourse(course, user)) {\n boolean ownerOfParticipation = authorizationCheckService.isOwnerOfParticipation(programmingStudentParticipation, user);\n if (ownerOfParticipation) {\n if (hasAccessToOwnStudentParticipation(programmingExercise, repositoryActionType, programmingStudentParticipation, isTeachingAssistant)) {\n return;\n }\n }\n }\n\n throw new AccessForbiddenException(\"You are not allowed to access the repository of this programming exercise.\");\n }\n\n /**\n * Checks whether the user may access the repository of the given participation, for a caller holding a projection\n * of the exercise rather than the entity.\n *

\n * The git request path resolves its exercise on every clone, fetch and push, so it reads\n * {@link GitRepositoryAccessDTO} instead of the exercise and its course. The decision is the same one the entity\n * overload makes, expressed against those values.\n *\n * @param programmingParticipation the participation whose repository is being accessed\n * @param user the user who wants to access the repository\n * @param exercise the projected exercise behind the repository\n * @param repositoryActionType what the user wants to do with the repository\n * @throws AccessForbiddenException if the user may not do it\n */\n public void checkAccessRepositoryElseThrow(ProgrammingExerciseParticipation programmingParticipation, User user, GitRepositoryAccessDTO exercise,\n RepositoryActionType repositoryActionType) throws AccessForbiddenException {\n long courseId = exercise.courseId();\n // Each of these resolves in memory when the user was loaded with its course roles, and costs a query otherwise, so\n // none of them is evaluated before its answer is actually needed. A student, the overwhelmingly common caller on\n // this path, reaches only isAtLeastStudentInCourse.\n if (authorizationCheckService.isAtLeastEditorInCourse(courseId, user)) {\n return;\n }\n boolean isTeachingAssistant = authorizationCheckService.isTeachingAssistantInCourse(courseId, user);\n if (isTeachingAssistant && repositoryActionType == RepositoryActionType.READ\n && (!(programmingParticipation instanceof ProgrammingExerciseStudentParticipation) || !exerciseDateService.isAssessmentAnonymizationActive(exercise))) {\n return;\n }\n\n if (programmingParticipation instanceof ProgrammingExerciseStudentParticipation programmingStudentParticipation\n && authorizationCheckService.isAtLeastStudentInCourse(courseId, user) && authorizationCheckService.isOwnerOfParticipation(programmingStudentParticipation, user)\n && hasAccessToOwnStudentParticipation(exercise, repositoryActionType, programmingStudentParticipation, isTeachingAssistant)) {\n return;\n }\n\n throw new AccessForbiddenException(\"You are not allowed to access the repository of this programming exercise.\");\n }\n\n /**\n * Allows reading anonymous code snapshots during assessment even when direct repository access is closed.\n * This does not authorize live repository access, Git history, cloning, writing or resetting.\n *\n * @param participation the participation whose submitted code is read\n * @param user the requesting user\n * @param exercise the exercise being assessed\n */\n public void checkAccessRepositoryForAssessmentElseThrow(ProgrammingExerciseParticipation participation, User user, ProgrammingExercise exercise) {\n if (authorizationCheckService.isAtLeastTeachingAssistantInCourse(getCourseOrThrow(exercise), user)) {\n return;\n }\n checkAccessRepositoryElseThrow(participation, user, exercise, RepositoryActionType.READ);\n }\n\n /**\n * The projection counterpart of\n * {@link #hasAccessToOwnStudentParticipation(ProgrammingExercise, RepositoryActionType, ProgrammingExerciseStudentParticipation, boolean)}.\n *\n * @param exercise the projected exercise\n * @param repositoryActionType what the user wants to do with the repository\n * @param studentParticipation the student's participation\n * @param isTeachingAssistant whether the user is a teaching assistant in the course\n * @return true if the user may access their own participation's repository\n */\n private boolean hasAccessToOwnStudentParticipation(GitRepositoryAccessDTO exercise, RepositoryActionType repositoryActionType,\n ProgrammingExerciseStudentParticipation studentParticipation, boolean isTeachingAssistant) {\n ZonedDateTime participationStart = exercise.participationStartDate();\n boolean hasStarted = participationStart == null || participationStart.isBefore(ZonedDateTime.now());\n\n if (!hasStarted) {\n // Only teaching assistants have access to the repository before the exercise has started.\n return isTeachingAssistant;\n }\n\n // The user always has read permissions after the exercise has started.\n if (repositoryActionType == RepositoryActionType.READ) {\n return true;\n }\n\n // An unlocked participation may be written to, with no further date check: isLocked answers false either\n // because the participation is in practice mode, which is allowed regardless of the due date, or because the\n // due date it evaluated first has not passed. Asking again would only repeat that evaluation - and for an\n // exam exercise it is a repeated read of the exam and its eager course, which is what this path avoids.\n return !participationAuthorizationCheckService.isLocked(studentParticipation, exercise);\n }\n\n /**\n * Checks whether the user may use git outside the online editor, for a caller holding a projection.\n *\n * @param exercise the projected exercise\n * @param user the user who wants to access the repository\n * @throws AccessForbiddenException if offline use is forbidden for this user\n */\n public void checkHasAccessToOfflineIDEElseThrow(GitRepositoryAccessDTO exercise, User user) throws AccessForbiddenException {\n if (exercise.offlineIdeForbidden() && authorizationCheckService.isOnlyStudentInCourse(exercise.courseId(), user)) {\n throw new AccessForbiddenException();\n }\n }\n\n /**\n * Helper method to check if the student or teaching assistant has access to their own student participation.\n *\n * @param programmingExercise The programming exercise.\n * @param repositoryActionType The type of action that the user wants to perform on the repository (i.e. WRITE, READ or RESET).\n * @param studentParticipation The student participation.\n * @param isTeachingAssistant True if the user is a teaching assistant, false otherwise.\n * @return True if the user has access to the repository, false otherwise.\n */\n private boolean hasAccessToOwnStudentParticipation(ProgrammingExercise programmingExercise, RepositoryActionType repositoryActionType,\n ProgrammingExerciseStudentParticipation studentParticipation, boolean isTeachingAssistant) {\n boolean hasStarted = exerciseDateService.hasExerciseStarted(programmingExercise);\n\n if (!hasStarted) {\n // Only teaching assistants have access to the repository before the exercise has started.\n return isTeachingAssistant;\n }\n\n // The user always has read permissions after the exercise has started.\n if (repositoryActionType == RepositoryActionType.READ) {\n return true;\n }\n\n if (participationAuthorizationCheckService.isLocked(studentParticipation, programmingExercise)) {\n // The user does not have write or reset permissions if the participation is locked.\n return false;\n }\n\n // Check if the user has write or reset permissions.\n return hasWriteOrResetPermissionsForUnlockedParticipation(studentParticipation);\n }\n\n /**\n * Helper method that checks if the student or teaching assistant has write or reset permissions\n * for the given programming participation.\n *\n * @param studentParticipation The student participation.\n * @return True if the user has write or reset permissions, false otherwise.\n */\n private boolean hasWriteOrResetPermissionsForUnlockedParticipation(StudentParticipation studentParticipation) {\n boolean beforeDueDate = exerciseDateService.isBeforeDueDate(studentParticipation);\n boolean isPracticeMode = studentParticipation.isPracticeMode();\n\n // The user has write or reset permissions if the due date has not passed yet.\n if (beforeDueDate) {\n return true;\n }\n\n // The user has write or reset permissions if due date has passed, but the participation is in practice mode.\n return isPracticeMode;\n }\n\n /**\n * Checks if the user has access to the test repository of the given programming exercise.\n * Throws an {@link AccessForbiddenException} otherwise.\n *\n * @param atLeastEditor if true, the user needs at least editor permissions, otherwise only teaching assistant permissions are required.\n * @param exercise the programming exercise the test repository belongs to.\n * @param user the user that wants to access the test repository.\n * @param repositoryType the type of the repository.\n */\n public void checkAccessTestOrAuxRepositoryElseThrow(boolean atLeastEditor, ProgrammingExercise exercise, User user, String repositoryType) {\n if (atLeastEditor) {\n if (!authorizationCheckService.isAtLeastEditorInCourse(getCourseOrThrow(exercise), user)) {\n throw new AccessForbiddenException(\"You are not allowed to push to the \" + repositoryType + \" repository of this programming exercise.\");\n }\n }\n else {\n if (!authorizationCheckService.isAtLeastTeachingAssistantInCourse(getCourseOrThrow(exercise), user)) {\n throw new AccessForbiddenException(\"You are not allowed to access the \" + repositoryType + \" repository of this programming exercise.\");\n }\n }\n }\n\n /**\n * Checks access to the repository shown by the plagiarism view. Staff must also have live repository read access and are shown the live repository;\n * users who were notified about a case are shown the compared state. Anonymous assessment reads use the separately authorized submitted-commit endpoints.\n *\n * @param programmingParticipation The participation for which the plagiarism submission should be accessed.\n * @param user The user who wants to access the plagiarism submission.\n * @param repositoryActionType The type of action that the user wants to perform on the plagiarism submission (i.e. READ, WRITE or RESET).\n * @return true if the user is staff who reads the live repository, false if the user is shown the compared state\n * @throws AccessForbiddenException If the user is not allowed to access the plagiarism submission.\n */\n public boolean checkHasAccessToPlagiarismSubmission(ProgrammingExerciseParticipation programmingParticipation, User user, RepositoryActionType repositoryActionType)\n throws AccessForbiddenException {\n if (repositoryActionType == RepositoryActionType.READ) {\n boolean isAtLeastTeachingAssistant = authorizationCheckService.isAtLeastTeachingAssistantInCourse(getCourseOrThrow(programmingParticipation.getProgrammingExercise()),\n user);\n if (isAtLeastTeachingAssistant) {\n checkAccessRepositoryElseThrow(programmingParticipation, user, programmingParticipation.getProgrammingExercise(), RepositoryActionType.READ);\n return true;\n }\n boolean isAtLeastStudent = authorizationCheckService.isAtLeastStudentInCourse(getCourseOrThrow(programmingParticipation.getProgrammingExercise()), user);\n if (isAtLeastStudent && plagiarismAccessApi.isPresent() && plagiarismAccessApi.get().hasAccessToSubmission(programmingParticipation.getProgrammingExercise().getId(),\n programmingParticipation.getId(), user.getLogin(), (Participation) programmingParticipation)) {\n return false;\n }\n }\n throw new AccessForbiddenException(\"You are not allowed to access the plagiarism result of this programming exercise.\");\n }\n\n /**\n * Finds the commit that the plagiarism check stored for the participation.\n *\n * @param programmingParticipation the participation whose compared commit is requested\n * @return the hash of the compared commit, empty if none was stored (e.g. results created before hashes were stored)\n */\n public Optional findStoredComparedCommitHash(ProgrammingExerciseParticipation programmingParticipation) {\n return plagiarismAccessApi.flatMap(api -> api.findComparedCommitHash(programmingParticipation.getProgrammingExercise().getId(), programmingParticipation.getId()));\n }\n\n /**\n * Finds when the most recent plagiarism check that compared the participation was created.\n *\n * @param programmingParticipation the participation that was compared\n * @return the creation date of the most recent result, empty if the participation was not compared\n */\n public Optional findComparisonCreatedDate(ProgrammingExerciseParticipation programmingParticipation) {\n return plagiarismAccessApi.flatMap(api -> api.findComparisonCreatedDate(programmingParticipation.getProgrammingExercise().getId(), programmingParticipation.getId()));\n }\n\n public void checkHasAccessToOfflineIDEElseThrow(ProgrammingExercise exercise, User user) throws AccessForbiddenException {\n if (Boolean.FALSE.equals(exercise.isAllowOfflineIde()) && authorizationCheckService.isOnlyStudentInCourse(getCourseOrThrow(exercise), user)) {\n throw new AccessForbiddenException();\n }\n }\n\n public boolean checkHasAccessToForcePush(ProgrammingExercise exercise, User user, String repositoryTypeOrUserName) {\n boolean isAllowedRepository = repositoryTypeOrUserName.equals(RepositoryType.TEMPLATE.toString()) || repositoryTypeOrUserName.equals(RepositoryType.SOLUTION.toString())\n || repositoryTypeOrUserName.equals(RepositoryType.TESTS.toString());\n\n return isAllowedRepository && authorizationCheckService.isAtLeastEditorInCourse(getCourseOrThrow(exercise), user);\n }\n\n}\n" +} diff --git a/web/public/bundles/artemis/code/3be40703cb6a0df4e382c179be4cdd60c9655db4.json b/web/public/bundles/artemis/code/3be40703cb6a0df4e382c179be4cdd60c9655db4.json new file mode 100644 index 00000000..8ae4ee1d --- /dev/null +++ b/web/public/bundles/artemis/code/3be40703cb6a0df4e382c179be4cdd60c9655db4.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "3be40703cb6a0df4e382c179be4cdd60c9655db4", + "language": "typescript", + "path": "src/main/webapp/app/tutorialgroup/manage/tutorial-groups-management.route.ts", + "schema": "codexray.code/1", + "text": "/**\n * parent 'course-management/:courseId/tutorial-groups'\n */\nimport { IS_AT_LEAST_EDITOR, IS_AT_LEAST_INSTRUCTOR, IS_AT_LEAST_TUTOR } from 'app/foundation/constants/authority.constants';\nimport { UserRouteAccessService } from 'app/core/auth/user-route-access-service';\nimport { Routes } from '@angular/router';\n\nexport const tutorialGroupManagementRoutes: Routes = [\n {\n path: '',\n loadComponent: () => import('app/tutorialgroup/manage/tutorial-groups-management/tutorial-groups-management.component').then((m) => m.TutorialGroupsManagementComponent),\n data: {\n authorities: IS_AT_LEAST_TUTOR,\n pageTitle: 'artemisApp.pages.tutorialGroupsManagement.title',\n },\n canActivate: [UserRouteAccessService],\n },\n {\n path: 'configuration',\n children: [\n {\n path: ':tutorialGroupsConfigurationId',\n children: [\n {\n path: 'edit',\n loadComponent: () =>\n import('app/tutorialgroup/manage/tutorial-groups-configuration/crud/edit-tutorial-groups-configuration/edit-tutorial-groups-configuration.component').then(\n (m) => m.EditTutorialGroupsConfigurationComponent,\n ),\n data: {\n authorities: IS_AT_LEAST_INSTRUCTOR,\n pageTitle: 'artemisApp.pages.editTutorialGroupsConfiguration.title',\n },\n canActivate: [UserRouteAccessService],\n },\n {\n path: 'tutorial-free-days',\n loadComponent: () => import('app/tutorialgroup/manage/holidays/tutorial-group-holidays.component').then((m) => m.TutorialGroupHolidaysComponent),\n data: {\n authorities: IS_AT_LEAST_EDITOR,\n pageTitle: 'artemisApp.pages.tutorialFreePeriodsManagement.title',\n },\n canActivate: [UserRouteAccessService],\n },\n ],\n },\n ],\n },\n {\n path: 'create',\n loadComponent: () => import('app/tutorialgroup/manage/tutorial-create-container/tutorial-create-container.component').then((m) => m.TutorialCreateContainerComponent),\n data: {\n authorities: IS_AT_LEAST_EDITOR,\n pageTitle: 'artemisApp.pages.createOrEditTutorialGroup.title.create',\n },\n canActivate: [UserRouteAccessService],\n },\n {\n path: ':tutorialGroupId',\n children: [\n {\n path: '',\n loadComponent: () =>\n import('app/tutorialgroup/manage/management-tutorial-group-detail-container/management-tutorial-group-detail-container.component').then(\n (m) => m.ManagementTutorialGroupDetailContainerComponent,\n ),\n data: {\n authorities: IS_AT_LEAST_TUTOR,\n pageTitle: 'artemisApp.pages.tutorialGroupDetail.title',\n },\n canActivate: [UserRouteAccessService],\n },\n {\n path: 'edit',\n loadComponent: () => import('app/tutorialgroup/manage/tutorial-edit-container/tutorial-edit-container.component').then((m) => m.TutorialEditContainerComponent),\n data: {\n authorities: IS_AT_LEAST_EDITOR,\n pageTitle: 'artemisApp.pages.createOrEditTutorialGroup.title.edit',\n },\n canActivate: [UserRouteAccessService],\n },\n {\n path: 'registrations',\n loadComponent: () =>\n import('app/tutorialgroup/manage/tutorial-registrations-container/tutorial-registrations-container.component').then(\n (m) => m.TutorialRegistrationsContainerComponent,\n ),\n data: {\n authorities: IS_AT_LEAST_TUTOR,\n pageTitle: 'artemisApp.pages.tutorialGroupRegistrations.title',\n },\n canActivate: [UserRouteAccessService],\n },\n ],\n },\n];\n" +} diff --git a/web/public/bundles/artemis/code/3c2b5bff49f8475e7ece884aa8e3d107a3654c4f.json b/web/public/bundles/artemis/code/3c2b5bff49f8475e7ece884aa8e3d107a3654c4f.json new file mode 100644 index 00000000..678fd713 --- /dev/null +++ b/web/public/bundles/artemis/code/3c2b5bff49f8475e7ece884aa8e3d107a3654c4f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "3c2b5bff49f8475e7ece884aa8e3d107a3654c4f", + "language": "typescript", + "path": "src/main/webapp/app/hyperion/variants/exercise-variant-ai-modal.utils.ts", + "schema": "codexray.code/1", + "text": "import { generationCapabilityBlocker, hasSupportedProgrammingConfiguration } from 'app/hyperion/exercise-generation/hyperion-generation-capabilities';\nimport { ExerciseGenerationCapabilities } from 'app/openapi/model/exercise-generation-capabilities';\nimport { ProgrammingExercise, ProgrammingLanguage } from 'app/programming/shared/entities/programming-exercise.model';\nimport { supportsHyperionExerciseGeneration } from 'app/hyperion/exercise-generation/hyperion-generation-support';\nimport { TumAetUiTagSeverity } from '@tumaet/ui-angular/tag';\nimport { DifficultyLevel, Exercise, ExerciseType } from 'app/exercise/shared/entities/exercise/exercise.model';\nimport { QuizExercise } from 'app/quiz/shared/entities/quiz-exercise.model';\nimport { QuizQuestionType } from 'app/quiz/shared/entities/quiz-question.model';\nimport { VariantGenerationRequest } from 'app/openapi/model/variant-generation-request';\n\nexport type PlacementChoice = 'existing-group' | 'new-group' | 'standalone';\n\n/** Quiz keeps its existing support rule; programming uses the isolated authoring configuration. */\nexport function supportsAiVariantGeneration(exercise: Exercise | undefined): boolean {\n if (!exercise) {\n return false;\n }\n switch (exercise.type) {\n case ExerciseType.PROGRAMMING:\n return hasSupportedProgrammingConfiguration(exercise);\n case ExerciseType.QUIZ:\n return !quizHasDragAndDropQuestions(exercise);\n default:\n return false;\n }\n}\n\n/** Variants create a new exercise, so release dates and existing participations do not block them. */\nexport function variantGenerationBlocker(exercise: Exercise | undefined, capabilities: ExerciseGenerationCapabilities | undefined, loading = false): string | undefined {\n const prefix = 'artemisApp.hyperion.generation.blocker.';\n if (!exercise?.id) return prefix + 'saveBeforeVariant';\n if (!exercise.isAtLeastEditor) return prefix + 'requiresEditor';\n if (exercise.type !== ExerciseType.PROGRAMMING) return supportsAiVariantGeneration(exercise) ? undefined : prefix + 'variantUnavailable';\n const programming = exercise as ProgrammingExercise;\n if (programming.exerciseGroup) return prefix + 'examExercise';\n if (programming.programmingLanguage !== ProgrammingLanguage.JAVA) return prefix + 'unsupportedLanguage';\n if (!supportsHyperionExerciseGeneration(programming.programmingLanguage, programming.projectType)) return prefix + 'unsupportedProjectType';\n if (programming.staticCodeAnalysisEnabled) return prefix + 'staticCodeAnalysis';\n if (programming.buildConfig?.sequentialTestRuns) return prefix + 'sequentialTestRuns';\n if (programming.auxiliaryRepositories?.length) return prefix + 'auxiliaryRepositories';\n if (loading) return prefix + 'capabilitiesLoading';\n if (!capabilities) return prefix + 'capabilitiesUnavailable';\n if (capabilities.canCreateVariant) return undefined;\n switch (capabilities.restriction) {\n case 'generationHarnessUnsupported':\n case 'generationHarnessUnavailable':\n return generationCapabilityBlocker(capabilities) ?? prefix + 'variantUnavailable';\n default:\n return prefix + 'variantUnavailable';\n }\n}\n\n/**\n * List endpoints ship `hasDragAndDropQuestions` without the question graph; views that load full quizzes (the exam\n * exercise groups) only have `quizQuestions`. Prefer the explicit flag and fall back to the loaded questions.\n */\nfunction quizHasDragAndDropQuestions(quiz: QuizExercise): boolean {\n if (quiz.hasDragAndDropQuestions !== undefined) {\n return quiz.hasDragAndDropQuestions;\n }\n return (quiz.quizQuestions ?? []).some((question) => question.type === QuizQuestionType.DRAG_AND_DROP);\n}\n\n/** Longest custom instruction rendered in a chip before it is elided — the tray card is narrow. */\nconst CUSTOM_CHIP_MAX_LENGTH = 80;\n\n/** Translation key of a difficulty level — reuses the shared exercise translations. */\nexport function difficultyTranslationKey(d: DifficultyLevel): string {\n return `artemisApp.exercise.${d.toLowerCase()}`;\n}\n\n/** Translation key of a narrative style's label, e.g. CREATIVE → …wizard.narrative.CREATIVE. */\nexport function narrativeStyleTranslationKey(style: string): string {\n return `artemisApp.exerciseVariantGeneration.wizard.narrative.${style}`;\n}\n\n/**\n * Resolves a translation key with optional interpolation parameters. Passed in by the calling component rather\n * than resolved here, so these helpers stay pure functions (same pattern as `buildCourseExerciseCards`).\n */\nexport type TranslateFn = (key: string, params?: Record) => string;\n\n/** \"What is being adapted\" chips derived from a generation request — shared by the wizard modal and the tray cards. */\nexport function adaptationChips(request: VariantGenerationRequest | undefined, translate: TranslateFn): string[] {\n if (!request) {\n return [];\n }\n const chip = (name: string, value: string) => translate(`artemisApp.exerciseVariantGeneration.chip.${name}`, { value });\n const items: string[] = [];\n if (request.targetDifficulty) {\n items.push(chip('difficulty', translate(difficultyTranslationKey(request.targetDifficulty as DifficultyLevel))));\n }\n if (request.domainText) {\n items.push(chip('domain', request.domainText));\n }\n if (request.narrativeStyle) {\n items.push(chip('story', translate(narrativeStyleTranslationKey(request.narrativeStyle))));\n }\n if (request.additionalInstructions) {\n const instructions = request.additionalInstructions;\n items.push(chip('custom', instructions.length > CUSTOM_CHIP_MAX_LENGTH ? `${instructions.slice(0, CUSTOM_CHIP_MAX_LENGTH)}…` : instructions));\n }\n return items;\n}\n\n/** Severity of the `tumaet-ui-tag` showing an exercise's difficulty. */\nexport function difficultySeverity(d: DifficultyLevel | undefined): TumAetUiTagSeverity {\n switch (d) {\n case DifficultyLevel.EASY:\n return 'success';\n case DifficultyLevel.MEDIUM:\n return 'warn';\n case DifficultyLevel.HARD:\n return 'danger';\n default:\n return 'secondary';\n }\n}\n\nexport function durationDays(exercise: Exercise): number {\n if (exercise.releaseDate && exercise.dueDate) {\n return Math.max(1, exercise.dueDate.diff(exercise.releaseDate, 'day'));\n }\n return 7;\n}\n" +} diff --git a/web/public/bundles/artemis/code/3d96e5ff740c05e979d4e7d44bcc513e9de80c21.json b/web/public/bundles/artemis/code/3d96e5ff740c05e979d4e7d44bcc513e9de80c21.json new file mode 100644 index 00000000..f6cc0104 --- /dev/null +++ b/web/public/bundles/artemis/code/3d96e5ff740c05e979d4e7d44bcc513e9de80c21.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "3d96e5ff740c05e979d4e7d44bcc513e9de80c21", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/api/PyrisFaqApi.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.iris.api;\n\nimport org.jspecify.annotations.Nullable;\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.stereotype.Controller;\n\nimport de.tum.cit.aet.artemis.communication.domain.Faq;\nimport de.tum.cit.aet.artemis.communication.dto.FaqCensusDTO;\nimport de.tum.cit.aet.artemis.iris.config.IrisEnabled;\nimport de.tum.cit.aet.artemis.iris.service.pyris.PyrisConnectorService;\nimport de.tum.cit.aet.artemis.iris.service.pyris.PyrisWebhookService;\n\n@Conditional(IrisEnabled.class)\n@Controller\n@Lazy\npublic class PyrisFaqApi extends AbstractIrisApi {\n\n private final PyrisWebhookService pyrisWebhookService;\n\n private final PyrisConnectorService pyrisConnectorService;\n\n public PyrisFaqApi(PyrisWebhookService pyrisWebhookService, PyrisConnectorService pyrisConnectorService) {\n this.pyrisWebhookService = pyrisWebhookService;\n this.pyrisConnectorService = pyrisConnectorService;\n }\n\n public void addFaq(Faq faq) {\n pyrisWebhookService.addFaq(faq);\n }\n\n /**\n * Delete an FAQ from Pyris by its ids alone, for an FAQ that no longer exists in Artemis or is not accepted anymore.\n *\n * @param faqId the FAQ to delete\n * @param courseId its course\n */\n public void deleteFaq(long faqId, long courseId) {\n pyrisWebhookService.deleteFaq(faqId, courseId);\n }\n\n /**\n * Fetch the FAQ census of this Artemis instance from Pyris.\n *\n * @return the census, or {@code null} when it is unavailable\n */\n @Nullable\n public FaqCensusDTO getFaqCensus() {\n return pyrisConnectorService.getFaqCensus();\n }\n\n}\n" +} diff --git a/web/public/bundles/artemis/code/3f9053f26470f3537a68a86e6f59c3944e678a9a.json b/web/public/bundles/artemis/code/3f9053f26470f3537a68a86e6f59c3944e678a9a.json new file mode 100644 index 00000000..ac88d96e --- /dev/null +++ b/web/public/bundles/artemis/code/3f9053f26470f3537a68a86e6f59c3944e678a9a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "3f9053f26470f3537a68a86e6f59c3944e678a9a", + "language": "typescript", + "path": "src/main/webapp/app/modeling/overview/modeling-submission.route.ts", + "schema": "codexray.code/1", + "text": "import { Routes } from '@angular/router';\nimport { UserRouteAccessService } from 'app/core/auth/user-route-access-service';\nimport { IS_AT_LEAST_STUDENT } from 'app/foundation/constants/authority.constants';\nimport { PendingChangesGuard } from 'app/foundation/guard/pending-changes.guard';\n\n/** Both entry points expose the same editor states; only the surrounding page title differs. */\nexport function modelingSubmissionRoutes(pageTitle: string): Routes {\n return ['participate/:participationId', 'participate/:participationId/submission/:submissionId', 'participate/:participationId/submission/:submissionId/result/:resultId'].map(\n (path) => ({\n path,\n loadComponent: () => import('./modeling-submission/modeling-submission.component').then((m) => m.ModelingSubmissionComponent),\n data: { authorities: IS_AT_LEAST_STUDENT, pageTitle },\n canActivate: [UserRouteAccessService],\n canDeactivate: [PendingChangesGuard],\n }),\n );\n}\n" +} diff --git a/web/public/bundles/artemis/code/4050bc4522a2ef8f4f0cf8c841d98b7d4c0b84af.json b/web/public/bundles/artemis/code/4050bc4522a2ef8f4f0cf8c841d98b7d4c0b84af.json new file mode 100644 index 00000000..538d4e67 --- /dev/null +++ b/web/public/bundles/artemis/code/4050bc4522a2ef8f4f0cf8c841d98b7d4c0b84af.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "4050bc4522a2ef8f4f0cf8c841d98b7d4c0b84af", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/ExerciseDateValidator.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exercise.domain;\n\nimport de.tum.cit.aet.artemis.core.exception.BadRequestAlertException;\n\n/**\n * The date ordering rules shared by every exercise type, kept out of {@link Exercise} to keep that class small.\n */\npublic final class ExerciseDateValidator {\n\n private ExerciseDateValidator() {\n }\n\n /**\n * Validates the date ordering shared by every exercise type.\n *\n * @param exercise the exercise to validate\n * @throws BadRequestAlertException if an exam exercise has dates or the dates are not in a valid order\n */\n public static void validate(Exercise exercise) {\n // All fields are optional, so there is no error if none of them is set\n if (exercise.getReleaseDate() == null && exercise.getStartDate() == null && exercise.getDueDate() == null && exercise.getAssessmentDueDate() == null\n && exercise.getExampleSolutionPublicationDate() == null) {\n return;\n }\n if (exercise.isExamExercise()) {\n throw new BadRequestAlertException(\"An exam exercise may not have any dates set!\", exercise.getTitle(), \"invalidDatesForExamExercise\");\n }\n\n if (!exercise.hasValidTimelineDates()) {\n throw new BadRequestAlertException(\"The exercise dates are not valid\", exercise.getTitle(), \"noValidDates\");\n }\n }\n\n}\n" +} diff --git a/web/public/bundles/artemis/code/406e1b03c43503455fd4efc7531bd2f6c562a4d4.json b/web/public/bundles/artemis/code/406e1b03c43503455fd4efc7531bd2f6c562a4d4.json new file mode 100644 index 00000000..d24d7675 --- /dev/null +++ b/web/public/bundles/artemis/code/406e1b03c43503455fd4efc7531bd2f6c562a4d4.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "406e1b03c43503455fd4efc7531bd2f6c562a4d4", + "language": "typescript", + "path": "src/main/webapp/app/localci/build-queue/tables/finished-jobs-table/finished-jobs-table.component.ts", + "schema": "codexray.code/1", + "text": "import { ChangeDetectionStrategy, Component, computed, input, model, output } from '@angular/core';\nimport { FinishedBuildJob } from 'app/localci/shared/entities/build-job.model';\nimport { faCircleCheck, faExclamationCircle, faExclamationTriangle } from '@fortawesome/free-solid-svg-icons';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { NgClass, SlicePipe } from '@angular/common';\nimport { RouterLink } from '@angular/router';\nimport { ResultComponent } from 'app/exercise/result/result.component';\nimport { ArtemisDatePipe } from 'app/foundation/pipes/artemis-date.pipe';\nimport { BuildAgentInformation } from 'app/localci/shared/entities/build-agent-information.model';\nimport { createAddressToAgentInfoMap, getAgentInfoByAddress } from 'app/localci/shared/build-agent-address.utils';\nimport { TumAetUiButtonComponent } from '@tumaet/ui-angular/button';\nimport { TumAetUiTableDirective, TumAetUiTableSortEvent, TumAetUiTableSortableColumnComponent } from '@tumaet/ui-angular/table-directive';\nimport { TumAetUiTagComponent } from '@tumaet/ui-angular/tag';\nimport { TumAetUiTooltipDirective } from '@tumaet/ui-angular/tooltip';\n@Component({\n selector: 'jhi-finished-jobs-table',\n templateUrl: './finished-jobs-table.component.html',\n styleUrls: ['../build-jobs-table.css', './finished-jobs-table.component.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n TranslateDirective,\n FaIconComponent,\n NgClass,\n RouterLink,\n ResultComponent,\n ArtemisDatePipe,\n SlicePipe,\n TumAetUiTableDirective,\n TumAetUiTableSortableColumnComponent,\n TumAetUiTagComponent,\n TumAetUiButtonComponent,\n TumAetUiTooltipDirective,\n ],\n})\nexport class FinishedJobsTableComponent {\n // Inputs\n buildJobs = input([]);\n showCourseId = input(false);\n isAdminView = input(false);\n /** Course ID for building navigation routes (undefined for admin view) */\n courseId = input(undefined);\n /** List of online build agents for address-to-name mapping */\n buildAgents = input([]);\n\n /**\n * Computed mapping from build agent host to agent info (name and displayName).\n * Uses host-only matching to handle Hazelcast ephemeral ports.\n */\n addressToAgentInfoMap = computed(() => createAddressToAgentInfoMap(this.buildAgents()));\n\n // Two-way bindings\n predicate = model('buildCompletionDate');\n ascending = model(false);\n\n // Outputs\n jobClick = output();\n viewLogs = output();\n sortChange = output();\n\n // Font Awesome icons\n readonly faCircleCheck = faCircleCheck;\n readonly faExclamationCircle = faExclamationCircle;\n readonly faExclamationTriangle = faExclamationTriangle;\n\n /**\n * Handles row click to navigate to job details\n * @param jobId The ID of the build job\n */\n onJobClick(jobId: string | undefined): void {\n if (jobId) {\n this.jobClick.emit(jobId);\n }\n }\n\n /**\n * Handles build logs link click\n * @param event The click event\n * @param jobId The ID of the build job\n */\n onViewLogs(event: Event, jobId: string | undefined): void {\n event.stopPropagation();\n if (jobId) {\n this.viewLogs.emit(jobId);\n }\n }\n\n /**\n * Handles the table sort event emitted by the tumaet-ui sortable column.\n * Maps the event onto the two-way `predicate`/`ascending` models and triggers a (server-side)\n * reload via `onSortChange`. Guarded to ignore no-op events, which would otherwise cause redundant reloads.\n * @param event The tumaet-ui table sort event ({ field, order }, order 1 = ascending, -1 = descending)\n */\n onTableSort(event: TumAetUiTableSortEvent): void {\n const field = event.field ?? this.predicate();\n const ascending = (event.order ?? 1) === 1;\n if (field === this.predicate() && ascending === this.ascending()) {\n return;\n }\n this.predicate.set(field);\n this.ascending.set(ascending);\n this.onSortChange();\n }\n\n /**\n * Handles sort change event\n */\n onSortChange(): void {\n this.sortChange.emit();\n }\n\n /**\n * Builds the router link array for navigating to job details.\n * Uses course-specific route when courseId is provided, otherwise admin route.\n * @param jobId The ID of the build job\n */\n getJobDetailRoute(jobId: string | undefined): string[] {\n if (!jobId) {\n return [];\n }\n const courseId = this.courseId();\n if (courseId) {\n return ['/course-management', String(courseId), 'build-overview', jobId, 'job-details'];\n }\n return ['/admin', 'build-overview', jobId, 'job-details'];\n }\n\n /**\n * Gets the display name for a build agent.\n * Returns the agent's displayName if online, otherwise returns the address.\n */\n getAgentDisplayName(address: string | undefined): string {\n const agentInfo = getAgentInfoByAddress(address, this.addressToAgentInfoMap());\n return agentInfo?.displayName ?? address ?? '';\n }\n\n /**\n * Gets the query parameter value for navigating to build agent details.\n * Returns the agent's short name (stable identifier) if available.\n */\n getAgentLinkParam(address: string | undefined): string {\n const agentInfo = getAgentInfoByAddress(address, this.addressToAgentInfoMap());\n return agentInfo?.name ?? address ?? '';\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/409587f99e306079ef194d9c17f7ce9da6651e0a.json b/web/public/bundles/artemis/code/409587f99e306079ef194d9c17f7ce9da6651e0a.json new file mode 100644 index 00000000..2f6454ea --- /dev/null +++ b/web/public/bundles/artemis/code/409587f99e306079ef194d9c17f7ce9da6651e0a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "409587f99e306079ef194d9c17f7ce9da6651e0a", + "language": "typescript", + "path": "src/main/webapp/app/iris/overview/iris-onboarding-modal/iris-onboarding-modal.component.ts", + "schema": "codexray.code/1", + "text": "import { ChangeDetectionStrategy, Component, DestroyRef, ElementRef, afterRenderEffect, computed, effect, inject, signal, untracked, viewChild } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { IrisOnboardingRef } from './iris-onboarding-ref';\nimport { cloneWith } from 'app/foundation/util/deep-clone.util';\nimport { captureException } from 'app/core/error-reporting/capture-exception';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { IrisLogoComponent, IrisLogoSize } from 'app/iris/overview/iris-logo/iris-logo.component';\nimport { TumAetUiButtonComponent, TumAetUiButtonDirective } from '@tumaet/ui-angular/button';\nimport { TumAetUiDialogComponent } from '@tumaet/ui-angular/dialog';\nimport { TumAetUiTooltipDirective } from '@tumaet/ui-angular/tooltip';\nimport { faXmark } from '@fortawesome/free-solid-svg-icons';\nimport { StepperComponent } from './stepper/stepper.component';\nimport { IrisOnboardingService, OnboardingResult } from './iris-onboarding.service';\n\n// Data-attribute selectors for onboarding tooltip anchor elements.\n// These elements live inside the Iris chat UI (iris-base-chatbot component).\nconst ONBOARDING_TARGETS = {\n suggestionChips: '[data-onboarding-target=\"suggestion-chips\"]',\n contextSelector: '[data-onboarding-target=\"context-selector\"]',\n infoIcon: '[data-onboarding-target=\"info-icon\"]',\n} as const;\n\n// Spotlight padding around the highlighted UI element, in pixels. Keeps the cut-out\n// from clipping the target's own border / focus ring.\nconst SPOTLIGHT_HIGHLIGHT_MARGIN_PX = 8;\n// Half-size of the centred coach mark dot, used to offset its top/left so the dot is\n// centred over the spotlight rather than anchored at its top-left corner.\nconst COACH_MARK_HALF_SIZE_PX = 6;\n// Estimated card dimensions for the first render. Once rendered, its actual size is used to keep\n// translated text and package button sizes inside the viewport.\nconst TOOLTIP_WIDTH_PX = 280;\nconst TOOLTIP_HEIGHT_PX = 180;\n// Distance between the spotlight edge and the tooltip card.\nconst TOOLTIP_GAP_PX = 16;\n// Smaller gap used directly above/below the spotlight (for `up`/`down`)\n// so the arrow visually touches the highlighted element without overlap.\nconst TOOLTIP_VERTICAL_OFFSET_PX = 8;\n// Minimum padding kept between the tooltip card and the viewport edges.\nconst TOOLTIP_VIEWPORT_PADDING_PX = 12;\n\n// Position-resolution retry budget. The target element may not be in the DOM yet\n// (e.g. an overlay still mounting, animation in progress); poll until it appears\n// or we've waited long enough to assume something is wrong and bail out silently.\n// 20 retries × 200 ms ≈ 4 s — generous enough for slow CI / animations, short enough\n// that a genuinely broken selector still gets reported within one tour session.\nconst POSITION_RESOLUTION_MAX_RETRIES = 20;\nconst POSITION_RESOLUTION_RETRY_DELAY_MS = 200;\n\n// Number of user-visible tour steps shown in the stepper indicator. The welcome\n// screen (`step` = 0) is a separate intro and is not counted here.\nconst TOTAL_TOUR_STEPS = 3;\n// Step value reserved for the initial welcome screen, before the tour starts.\nconst WELCOME_STEP = 0;\n\ntype ArrowDirection = 'up' | 'down' | 'right';\n\ntype TooltipConfig = {\n spotlight: { top: number; left: number; width: number; height: number };\n coachMarkPosition: { top: number; left: number };\n tooltipPosition: { top: number; left: number };\n titleTranslationKey: string;\n descriptionTranslationKey: string;\n arrowDirection: ArrowDirection;\n currentStep: 1 | 2 | 3;\n};\n\n@Component({\n selector: 'jhi-iris-onboarding-modal',\n standalone: true,\n templateUrl: './iris-onboarding-modal.component.html',\n styleUrls: ['./iris-onboarding-modal.component.css'],\n imports: [\n TranslateDirective,\n ArtemisTranslatePipe,\n IrisLogoComponent,\n TumAetUiButtonComponent,\n TumAetUiButtonDirective,\n TumAetUiDialogComponent,\n TumAetUiTooltipDirective,\n StepperComponent,\n ],\n // The tour is mounted without a dialog shell (see IrisOnboardingTourHost), so it handles Escape itself.\n host: { '(document:keydown.escape)': 'onEscapeKey()' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class IrisOnboardingModalComponent {\n private dialogRef = inject(IrisOnboardingRef);\n private destroyRef = inject(DestroyRef);\n private onboardingService = inject(IrisOnboardingService);\n\n protected readonly IrisLogoSize = IrisLogoSize;\n protected readonly faXmark = faXmark;\n\n // Timer cleanup\n private readonly pendingTimers = new Set>();\n private readonly pendingRafs = new Set();\n private isDestroyed = false;\n\n // Step management. `step` = WELCOME_STEP (0) is the welcome screen; `step` = 1..TOTAL_TOUR_STEPS\n // are the numbered tour stops shown in the stepper. Exposed for the template.\n readonly step = signal(WELCOME_STEP);\n readonly totalTourSteps = TOTAL_TOUR_STEPS;\n readonly isWelcomeStep = computed(() => this.step() === WELCOME_STEP);\n\n // Tooltip positioning\n readonly tooltipConfig = signal(undefined);\n private readonly tooltipElement = viewChild>('tourTooltip');\n readonly isStepPositionReady = signal(false);\n readonly isInteractiveStep = computed(() => this.step() >= 1 && this.step() <= 3);\n\n constructor() {\n afterRenderEffect(() => {\n const element = this.tooltipElement()?.nativeElement;\n const config = this.tooltipConfig();\n if (!element || !config || !element.offsetHeight || !element.offsetWidth) {\n return;\n }\n // Use layout dimensions rather than the animated bounding rect. The entrance animation scales and moves it.\n const { spotlight, arrowDirection } = config;\n const height = element.offsetHeight;\n const width = element.offsetWidth;\n let top: number;\n let left: number;\n switch (arrowDirection) {\n case 'up':\n top = spotlight.top + spotlight.height + TOOLTIP_VERTICAL_OFFSET_PX;\n left = spotlight.left + spotlight.width / 2 - width / 2;\n break;\n case 'down':\n top = spotlight.top - height - TOOLTIP_VERTICAL_OFFSET_PX;\n left = spotlight.left + spotlight.width / 2 - width / 2;\n break;\n case 'right':\n top = spotlight.top + spotlight.height / 2 - height / 2;\n left = spotlight.left - width - TOOLTIP_GAP_PX;\n break;\n }\n top = Math.max(TOOLTIP_VIEWPORT_PADDING_PX, Math.min(top, window.innerHeight - height - TOOLTIP_VIEWPORT_PADDING_PX));\n left = Math.max(TOOLTIP_VIEWPORT_PADDING_PX, Math.min(left, window.innerWidth - width - TOOLTIP_VIEWPORT_PADDING_PX));\n if (top !== config.tooltipPosition.top || left !== config.tooltipPosition.left) {\n untracked(() => this.tooltipConfig.set(cloneWith(config, { tooltipPosition: { top, left } })));\n }\n });\n\n this.destroyRef.onDestroy(() => {\n this.isDestroyed = true;\n for (const timer of this.pendingTimers) {\n clearTimeout(timer);\n }\n this.pendingTimers.clear();\n for (const rafId of this.pendingRafs) {\n window.cancelAnimationFrame(rafId);\n }\n this.pendingRafs.clear();\n document.body.removeAttribute('data-onboarding-active-step');\n });\n\n this.onboardingService.onboardingEvent$.pipe(takeUntilDestroyed()).subscribe((event) => {\n switch (event.type) {\n case 'contextChanged':\n if (this.step() === 1) this.next();\n break;\n case 'chipClicked':\n if (this.step() === 2 && event.translationKey === 'artemisApp.iris.chat.suggestions.quiz') {\n this.next();\n }\n break;\n case 'aboutIrisOpened':\n if (this.step() === 3) this.finish();\n break;\n }\n });\n\n effect(() => {\n const step = this.step();\n if (step >= 1 && step <= 3) {\n document.body.setAttribute('data-onboarding-active-step', String(step));\n } else {\n document.body.removeAttribute('data-onboarding-active-step');\n }\n });\n }\n\n private safeTimeout(callback: () => void, delay?: number): void {\n if (this.isDestroyed) {\n return;\n }\n const timer = setTimeout(() => {\n this.pendingTimers.delete(timer);\n if (this.isDestroyed) {\n return;\n }\n callback();\n }, delay);\n this.pendingTimers.add(timer);\n }\n\n private safeRequestAnimationFrame(callback: FrameRequestCallback): void {\n if (this.isDestroyed) {\n return;\n }\n const rafId = window.requestAnimationFrame((time) => {\n this.pendingRafs.delete(rafId);\n if (this.isDestroyed) {\n return;\n }\n callback(time);\n });\n this.pendingRafs.add(rafId);\n }\n\n onEscapeKey(): void {\n // CDK owns dismissal while the welcome dialog is open. The numbered steps are non-modal.\n if (!this.isWelcomeStep()) {\n this.close();\n }\n }\n\n onWelcomeVisibleChange(visible: boolean): void {\n if (!visible && this.isWelcomeStep()) {\n this.close();\n }\n }\n\n private setStep(newStep: number): void {\n this.isStepPositionReady.set(false);\n this.tooltipConfig.set(undefined);\n this.step.set(newStep);\n this.onboardingService.currentStep.set(newStep);\n }\n\n /**\n * Moves to the next step or closes the modal if on the last step.\n */\n next(): void {\n const nextStep = this.step() + 1;\n if (nextStep <= TOTAL_TOUR_STEPS) {\n this.setStep(nextStep);\n this.schedulePositionCalculation(nextStep as 1 | 2 | 3);\n } else {\n this.finish();\n }\n }\n\n /**\n * Starts the tour from step 1 (skips welcome).\n */\n onStartTour(): void {\n this.setStep(1);\n this.schedulePositionCalculation(1);\n }\n\n /**\n * Finishes the onboarding and closes the modal.\n */\n finish(): void {\n document.body.removeAttribute('data-onboarding-active-step');\n this.dialogRef.close({ action: 'finish' } satisfies OnboardingResult);\n }\n\n /**\n * Closes the modal without completing.\n */\n close(): void {\n document.body.removeAttribute('data-onboarding-active-step');\n this.dialogRef.close();\n }\n\n /**\n * Calculates the step card's position for a given step based on the target element's position.\n */\n private calculateStepPosition(step: 1 | 2 | 3): boolean {\n const config = this.getStepConfig(step);\n const target = this.findVisibleElement(config.selector);\n if (!target) {\n return false;\n }\n\n const rect = target.getBoundingClientRect();\n const spotlight = {\n top: Math.max(0, rect.top - SPOTLIGHT_HIGHLIGHT_MARGIN_PX),\n left: Math.max(0, rect.left - SPOTLIGHT_HIGHLIGHT_MARGIN_PX),\n width: Math.max(0, Math.min(window.innerWidth, rect.right + SPOTLIGHT_HIGHLIGHT_MARGIN_PX) - Math.max(0, rect.left - SPOTLIGHT_HIGHLIGHT_MARGIN_PX)),\n height: Math.max(0, Math.min(window.innerHeight, rect.bottom + SPOTLIGHT_HIGHLIGHT_MARGIN_PX) - Math.max(0, rect.top - SPOTLIGHT_HIGHLIGHT_MARGIN_PX)),\n };\n\n let tooltipPos: { top: number; left: number };\n\n switch (config.arrowDirection) {\n case 'up': {\n // Tooltip below target, arrow pointing up\n const preferredTop = spotlight.top + spotlight.height + TOOLTIP_VERTICAL_OFFSET_PX;\n const preferredLeft = spotlight.left + spotlight.width / 2 - TOOLTIP_WIDTH_PX / 2;\n tooltipPos = {\n top: Math.max(TOOLTIP_VIEWPORT_PADDING_PX, Math.min(preferredTop, window.innerHeight - TOOLTIP_HEIGHT_PX - TOOLTIP_VIEWPORT_PADDING_PX)),\n left: Math.max(TOOLTIP_VIEWPORT_PADDING_PX, Math.min(preferredLeft, window.innerWidth - TOOLTIP_WIDTH_PX - TOOLTIP_VIEWPORT_PADDING_PX)),\n };\n break;\n }\n case 'down': {\n // Tooltip above target, arrow pointing down\n const preferredTop = spotlight.top - TOOLTIP_HEIGHT_PX - TOOLTIP_VERTICAL_OFFSET_PX;\n const preferredLeft = spotlight.left + spotlight.width / 2 - TOOLTIP_WIDTH_PX / 2;\n tooltipPos = {\n top: Math.max(TOOLTIP_VIEWPORT_PADDING_PX, preferredTop),\n left: Math.max(TOOLTIP_VIEWPORT_PADDING_PX, Math.min(preferredLeft, window.innerWidth - TOOLTIP_WIDTH_PX - TOOLTIP_VIEWPORT_PADDING_PX)),\n };\n break;\n }\n case 'right': {\n // Tooltip to the left of target, arrow pointing right from the tooltip's right edge.\n const preferredTop = spotlight.top + spotlight.height / 2 - TOOLTIP_HEIGHT_PX / 2;\n const preferredLeft = spotlight.left - TOOLTIP_WIDTH_PX - TOOLTIP_GAP_PX;\n tooltipPos = {\n top: Math.max(TOOLTIP_VIEWPORT_PADDING_PX, Math.min(preferredTop, window.innerHeight - TOOLTIP_HEIGHT_PX - TOOLTIP_VIEWPORT_PADDING_PX)),\n left: Math.max(TOOLTIP_VIEWPORT_PADDING_PX, preferredLeft),\n };\n break;\n }\n }\n\n const coachMarkPos = {\n top: spotlight.top + spotlight.height / 2 - COACH_MARK_HALF_SIZE_PX,\n left: spotlight.left + spotlight.width / 2 - COACH_MARK_HALF_SIZE_PX,\n };\n\n this.tooltipConfig.set({\n spotlight,\n coachMarkPosition: coachMarkPos,\n tooltipPosition: tooltipPos,\n titleTranslationKey: config.titleKey,\n descriptionTranslationKey: config.descriptionKey,\n arrowDirection: config.arrowDirection,\n currentStep: step,\n });\n\n return true;\n }\n\n private getStepConfig(step: 1 | 2 | 3): { selector: string; arrowDirection: ArrowDirection; titleKey: string; descriptionKey: string } {\n switch (step) {\n case 1:\n return {\n selector: ONBOARDING_TARGETS.contextSelector,\n arrowDirection: 'right',\n titleKey: 'artemisApp.iris.onboarding.step1.title',\n descriptionKey: 'artemisApp.iris.onboarding.step1.description',\n };\n case 2:\n return {\n selector: ONBOARDING_TARGETS.suggestionChips,\n arrowDirection: 'up',\n titleKey: 'artemisApp.iris.onboarding.step2.title',\n descriptionKey: 'artemisApp.iris.onboarding.step2.description',\n };\n case 3:\n return {\n selector: ONBOARDING_TARGETS.infoIcon,\n arrowDirection: 'down',\n titleKey: 'artemisApp.iris.onboarding.step3.title',\n descriptionKey: 'artemisApp.iris.onboarding.step3.description',\n };\n default: {\n const exhaustive: never = step;\n throw new Error(`Unhandled onboarding step: ${String(exhaustive)}`);\n }\n }\n }\n\n /**\n * Finds the first visible element matching the selector.\n * Multiple elements may match (e.g., info icon in collapsed vs expanded sidebar),\n * so we pick the one that is actually rendered on screen. Returns undefined if\n * none are visible — callers must handle that and keep the step hidden.\n *\n * Visibility check uses `getClientRects().length > 0` rather than `offsetParent`:\n * `offsetParent` returns null for any descendant of a `position: fixed` ancestor\n * (even when the element is on screen), which would falsely hide targets if the\n * onboarding tour were ever extended to the fixed-position chat widget layout.\n * `getClientRects` reflects \"is the element rendered with a non-empty box\" and\n * works regardless of positioning context.\n */\n private findVisibleElement(selector: string): HTMLElement | undefined {\n const elements = document.querySelectorAll(selector);\n for (const el of Array.from(elements)) {\n if (el instanceof HTMLElement && el.getClientRects().length > 0) {\n return el;\n }\n }\n return undefined;\n }\n\n private schedulePositionCalculation(step: 1 | 2 | 3): void {\n if (this.isDestroyed) {\n return;\n }\n const resolve = () => this.resolveStepPosition(step, () => this.calculateStepPosition(step), POSITION_RESOLUTION_MAX_RETRIES, POSITION_RESOLUTION_RETRY_DELAY_MS);\n if (typeof window !== 'undefined' && typeof window.requestAnimationFrame === 'function') {\n this.safeRequestAnimationFrame(resolve);\n return;\n }\n this.safeTimeout(resolve, 0);\n }\n\n private resolveStepPosition(expectedStep: 1 | 2 | 3, calculatePosition: () => boolean, retries: number, retryDelayMs: number): void {\n if (this.isDestroyed || this.step() !== expectedStep) {\n return;\n }\n\n if (calculatePosition()) {\n this.isStepPositionReady.set(true);\n return;\n }\n\n if (retries > 0) {\n this.safeTimeout(() => this.resolveStepPosition(expectedStep, calculatePosition, retries - 1, retryDelayMs), retryDelayMs);\n return;\n }\n\n // Target never appeared. Don't surface anything to the user — a missing tour highlight\n // is recoverable — but report it so we notice quickly when the anchor selectors\n // drift out of sync with the chat UI (e.g. after a refactor of iris-base-chatbot).\n const config = this.getStepConfig(expectedStep);\n captureException(new Error(`Iris onboarding: target element never appeared for step ${expectedStep}`), {\n extra: {\n step: expectedStep,\n selector: config.selector,\n retries: POSITION_RESOLUTION_MAX_RETRIES,\n retryDelayMs: POSITION_RESOLUTION_RETRY_DELAY_MS,\n },\n tags: { category: 'Iris' },\n });\n this.tooltipConfig.set(undefined);\n this.isStepPositionReady.set(false);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/4106e9e4ebf27c3eaac011b87b1d5649a45b999d.json b/web/public/bundles/artemis/code/4106e9e4ebf27c3eaac011b87b1d5649a45b999d.json new file mode 100644 index 00000000..c1029311 --- /dev/null +++ b/web/public/bundles/artemis/code/4106e9e4ebf27c3eaac011b87b1d5649a45b999d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "4106e9e4ebf27c3eaac011b87b1d5649a45b999d", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/config/WeaviateConfigurationProperties.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.globalsearch.config;\n\nimport static de.tum.cit.aet.artemis.core.config.ConfigurationValidator.HTTPS_SCHEME;\n\nimport org.springframework.boot.context.properties.ConfigurationProperties;\nimport org.springframework.boot.context.properties.bind.DefaultValue;\n\n/**\n * Configuration properties for Weaviate integration.\n * Uses a Java record for immutable configuration.\n *

\n * When Weaviate is enabled, all properties must be explicitly configured.\n * Validation is performed in {@link WeaviateClientConfiguration} and {@link de.tum.cit.aet.artemis.core.config.ConfigurationValidator#validateWeaviateConfiguration}.\n *\n * @param enabled whether Weaviate integration is enabled\n * @param httpHost the Weaviate server HTTP host\n * @param httpPort the Weaviate HTTP port\n * @param grpcPort the Weaviate gRPC port\n * @param scheme the HTTP scheme (http/https) - determines secure connection type\n * @param collectionPrefix prefix prepended to all Weaviate collection names to avoid naming conflicts (e.g. with Pyris collections)\n * @param vectorizerModule the embedding mode (see {@link SupportedVectorizer}): \"none\" for keyword search only, \"text2vec-openai\" for hybrid search with\n * vectors that Artemis computes through an OpenAI-compatible embedding API (e.g. Logos or Ollama)\n * @param embeddingLlmPreset the LLM preset with {@code api: embeddings} that computes the vectors, required when using text2vec-openai; changing its\n * model rebuilds the index\n * @param apiKey the API key for authenticating against the Weaviate server itself (optional; when set, anonymous access should be disabled on the server)\n * @param openAiQueryInstruction text Artemis puts in front of every search query before embedding it (optional; some embedding models, such as\n * Qwen3-Embedding, expect a task instruction on the query side only)\n */\n@ConfigurationProperties(prefix = \"artemis.weaviate\")\npublic record WeaviateConfigurationProperties(boolean enabled, String httpHost, @DefaultValue(DEFAULT_HTTP_PORT) int httpPort, @DefaultValue(DEFAULT_GRPC_PORT) int grpcPort,\n String scheme, @DefaultValue(DEFAULT_COLLECTION_PREFIX) String collectionPrefix, @DefaultValue(DEFAULT_VECTORIZER_MODULE) String vectorizerModule,\n String embeddingLlmPreset, String apiKey, String openAiQueryInstruction) {\n\n public static final String DEFAULT_HTTP_PORT = \"8001\";\n\n public static final String DEFAULT_GRPC_PORT = \"50051\";\n\n public static final String DEFAULT_COLLECTION_PREFIX = \"\";\n\n /**\n * Compile-time constant for {@link DefaultValue}. Must match {@link SupportedVectorizer#NONE}.\n */\n public static final String DEFAULT_VECTORIZER_MODULE = \"none\";\n\n static {\n assert DEFAULT_VECTORIZER_MODULE.equals(SupportedVectorizer.NONE.configValue()) : \"DEFAULT_VECTORIZER_MODULE must match SupportedVectorizer.NONE.configValue()\";\n }\n\n /**\n * Returns whether secure connections should be used based on the scheme.\n *\n * @return true if scheme is \"https\", false otherwise\n */\n public boolean secure() {\n return HTTPS_SCHEME.equals(scheme);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/4161db87aab40183c03048fbc0e8f4fd5f1b26fa.json b/web/public/bundles/artemis/code/4161db87aab40183c03048fbc0e8f4fd5f1b26fa.json new file mode 100644 index 00000000..d272ef10 --- /dev/null +++ b/web/public/bundles/artemis/code/4161db87aab40183c03048fbc0e8f4fd5f1b26fa.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "4161db87aab40183c03048fbc0e8f4fd5f1b26fa", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/dto/PlagiarismCasePostSummaryDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.plagiarism.dto;\n\nimport java.time.ZonedDateTime;\n\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.communication.domain.Post;\n\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record PlagiarismCasePostSummaryDTO(Long id, ZonedDateTime creationDate) {\n\n /**\n * Maps a communication post entity to the plagiarism case post summary DTO.\n *\n * @param post the post entity\n * @return the DTO representation\n */\n public static @Nullable PlagiarismCasePostSummaryDTO fromPost(@Nullable Post post) {\n if (post == null) {\n return null;\n }\n return new PlagiarismCasePostSummaryDTO(post.getId(), post.getCreationDate());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/41a399b6172210dceb5d6fc5aac6045eb22e0b3c.json b/web/public/bundles/artemis/code/41a399b6172210dceb5d6fc5aac6045eb22e0b3c.json new file mode 100644 index 00000000..621f6220 --- /dev/null +++ b/web/public/bundles/artemis/code/41a399b6172210dceb5d6fc5aac6045eb22e0b3c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "41a399b6172210dceb5d6fc5aac6045eb22e0b3c", + "language": "typescript", + "path": "src/main/webapp/app/quiz/overview/course-training/course-training-quiz/leaderboard/leaderboard.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, computed, input } from '@angular/core';\nimport { TumAetUiTableDirective } from '@tumaet/ui-angular/table-directive';\nimport { TumAetUiTableLayoutComponent } from '@tumaet/ui-angular/table-layout';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\nimport { LeaderboardEntry } from 'app/openapi/model/leaderboard-entry';\nimport { ProfilePictureComponent } from 'app/shared-ui/profile-picture/profile-picture.component';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { addPublicFilePrefix } from 'app/app.constants';\n\n@Component({\n selector: 'jhi-leaderboard',\n imports: [FontAwesomeModule, ProfilePictureComponent, TranslateDirective, TumAetUiTableDirective, TumAetUiTableLayoutComponent],\n templateUrl: './leaderboard.component.html',\n styleUrl: './leaderboard.component.css',\n})\nexport class LeaderboardComponent {\n currentUserId = input();\n leaderboardName = input('');\n leaderboard = input([]);\n\n isUserInLeaderboard = computed(() => {\n const entries = this.leaderboard();\n if (!entries || entries.length === 0) {\n return false;\n }\n return this.leaderboard().some((entry) => entry.userId === this.currentUserId());\n });\n\n currentUser = computed(() => {\n const userId = this.currentUserId();\n return this.leaderboard().find((entry) => entry.userId === userId);\n });\n\n // Computed properties for the highlight box\n currentUserRank = computed(() => {\n const user = this.currentUser();\n return user?.rank || 0;\n });\n\n currentUserScore = computed(() => {\n const user = this.currentUser();\n return user?.score || 0;\n });\n\n currentUserPictureUrl = computed(() => {\n const user = this.currentUser();\n return user?.imageURL || '';\n });\n\n protected readonly addPublicFilePrefix = addPublicFilePrefix;\n}\n" +} diff --git a/web/public/bundles/artemis/code/41ee1885cad9c3bd0ad65f169d8a18d3e3bd5789.json b/web/public/bundles/artemis/code/41ee1885cad9c3bd0ad65f169d8a18d3e3bd5789.json new file mode 100644 index 00000000..966b9307 --- /dev/null +++ b/web/public/bundles/artemis/code/41ee1885cad9c3bd0ad65f169d8a18d3e3bd5789.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "41ee1885cad9c3bd0ad65f169d8a18d3e3bd5789", + "language": "typescript", + "path": "src/main/webapp/app/core/legal/data-export/type-ahead-search-field/type-ahead-user-search-field.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, inject, model, signal } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { Observable, OperatorFunction, Subject, catchError, map, of, switchMap, tap } from 'rxjs';\nimport { UserService } from 'app/account/user/shared/user.service';\nimport { faCircleNotch } from '@fortawesome/free-solid-svg-icons';\nimport { User } from 'app/account/user/user.model';\nimport { FormsModule } from '@angular/forms';\nimport { TumAetUiAutoCompleteComponent, TumAetUiAutoCompleteOptionEvent, TumAetUiAutoCompleteSearchEvent } from '@tumaet/ui-angular/autocomplete';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\n\n@Component({\n selector: 'jhi-type-ahead-user-search-field',\n templateUrl: './type-ahead-user-search-field.component.html',\n imports: [TranslateDirective, FormsModule, TumAetUiAutoCompleteComponent, FaIconComponent, ArtemisTranslatePipe],\n})\nexport class TypeAheadUserSearchFieldComponent {\n private readonly userService = inject(UserService);\n\n readonly loginOrName = model('');\n\n readonly searching = signal(false);\n readonly searchFailed = signal(false);\n readonly searchNoResults = signal(false);\n readonly searchQueryTooShort = signal(true);\n\n readonly suggestions = signal([]);\n\n protected readonly faCircleNotch = faCircleNotch;\n protected readonly MIN_SEARCH_QUERY_LENGTH = 3;\n\n /** Drives the search pipeline from the autocomplete (searchRequested) event. */\n private readonly query$ = new Subject();\n\n constructor() {\n this.search(this.query$)\n .pipe(takeUntilDestroyed())\n .subscribe((users) => this.suggestions.set(users));\n }\n\n search: OperatorFunction = (login: Observable) => {\n return login.pipe(\n tap(() => {\n // Reset all status flags at the beginning before any branching\n this.searchFailed.set(false);\n this.searchNoResults.set(false);\n this.searchQueryTooShort.set(false);\n }),\n switchMap((loginOrName: string) => {\n if (loginOrName.length < this.MIN_SEARCH_QUERY_LENGTH) {\n this.searchQueryTooShort.set(true);\n this.searching.set(false);\n return of([]);\n }\n this.searching.set(true);\n\n return this.userService.search(loginOrName).pipe(\n map((usersResponse) => usersResponse.body ?? []),\n tap((users) => {\n this.searching.set(false);\n this.searchNoResults.set(users.length === 0);\n }),\n catchError(() => {\n this.searching.set(false);\n this.searchFailed.set(true);\n return of([]);\n }),\n );\n }),\n );\n };\n\n onComplete(event: TumAetUiAutoCompleteSearchEvent): void {\n this.query$.next(event.query);\n }\n\n /** The autocomplete reports the typed text, a selected user, or undefined once the input is empty. */\n onValueChange(value: string | User | undefined): void {\n this.loginOrName.set(value ?? '');\n this.onChange();\n }\n\n onSelectUser(event: TumAetUiAutoCompleteOptionEvent): void {\n this.loginOrName.set(event.value as User);\n this.onChange();\n }\n\n onChange(): void {\n const currentValue = this.loginOrName();\n // When user selects from typeahead, currentValue is a User object\n // We extract the login string for the parent component\n const user = typeof currentValue === 'string' ? undefined : currentValue;\n // Compute normalized string value for validation (handles User without login)\n const normalizedValue = typeof currentValue === 'string' ? currentValue : (currentValue.login ?? '');\n\n if (user?.login) {\n this.loginOrName.set(user.login);\n }\n const tooShort = normalizedValue.length < this.MIN_SEARCH_QUERY_LENGTH;\n this.searchQueryTooShort.set(tooShort);\n if (tooShort) {\n // Below minLength the autocomplete stops firing (searchRequested), so route the short value through the pipeline\n // ourselves: switchMap then cancels any in-flight search and clears the now-stale suggestions.\n this.query$.next(normalizedValue);\n }\n }\n\n resultFormatter = (result: User): string => (result.name ?? '') + ' (' + (result.login ?? '') + ')';\n}\n" +} diff --git a/web/public/bundles/artemis/code/425a38eac1d15c46b46ff069b181d02283b18e22.json b/web/public/bundles/artemis/code/425a38eac1d15c46b46ff069b181d02283b18e22.json new file mode 100644 index 00000000..87aeefa4 --- /dev/null +++ b/web/public/bundles/artemis/code/425a38eac1d15c46b46ff069b181d02283b18e22.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "425a38eac1d15c46b46ff069b181d02283b18e22", + "language": "typescript", + "path": "src/main/webapp/app/shared-ui/user-import/util/read-users-from-csv.ts", + "schema": "codexray.code/1", + "text": "import { parse } from 'papaparse';\nimport { cleanString } from 'app/foundation/util/utils';\nimport { StudentDTO } from 'app/core/shared/entities/student-dto.model';\nimport { ExamUserDTO } from 'app/exam/shared/entities/exam-user-dto.model';\n\nexport type StudentParsingResult = { ok: true; students: StudentDTO[] } | { ok: false; invalidRowIndices: number[] };\nexport type ExamUserParsingResult = { ok: true; examUsers: ExamUserDTO[] } | { ok: false; invalidRowIndices: number[] };\ninterface CsvUser {\n [key: string]: string;\n}\n\ntype CsvUserParsingResult = { ok: true; users: CsvUser[]; header: (aliases: string[]) => string } | { ok: false; invalidRowIndices: number[] };\n\nconst POSSIBLE_REGISTRATION_NUMBER_HEADERS = ['registrationnumber', 'matriculationnumber', 'matrikelnummer', 'number'];\nconst POSSIBLE_LOGIN_HEADERS = ['login', 'user', 'username', 'benutzer', 'benutzername'];\nconst POSSIBLE_EMAIL_HEADERS = ['email', 'e-mail', 'mail'];\nconst POSSIBLE_FIRST_NAME_HEADERS = ['firstname', 'firstnameofstudent', 'givenname', 'forename', 'vorname'];\nconst POSSIBLE_LAST_NAME_HEADERS = ['familyname', 'lastname', 'familynameofstudent', 'surname', 'nachname', 'familienname', 'name'];\nconst POSSIBLE_ROOM_HEADERS = ['actualroom', 'actualRoom', 'raum', 'room', 'Room'];\nconst POSSIBLE_SEAT_HEADERS = ['actualseat', 'actualSeat', 'sitzplatz', 'sitz', 'seat', 'Seat'];\n// Deliberately not the bare 'test', which would collide with unrelated columns.\nconst POSSIBLE_IS_TEST_USER_HEADERS = ['istestuser', 'testuser', 'testaccount'];\nconst TRUTHY_CELL_VALUES = ['true', '1', 'yes', 'x', 'ja', 'wahr'];\n\nfunction parseBooleanCell(value?: string): boolean {\n return value !== undefined && TRUTHY_CELL_VALUES.includes(value.trim().toLowerCase());\n}\n\nexport async function readStudentDTOsFromCSVFile(csvFile: File): Promise {\n const parsed = await readValidatedCsvUsers(csvFile);\n if (!parsed.ok) {\n return parsed;\n }\n const readIdentity = csvUserIdentityReader(parsed.header);\n const testUserHeader = parsed.header(POSSIBLE_IS_TEST_USER_HEADERS);\n const students = parsed.users.map((user) => {\n const student = readIdentity(user);\n // An absent column must not change an existing user's flag during import.\n student.isTestUser = testUserHeader ? parseBooleanCell(user[testUserHeader]) : undefined;\n return student;\n });\n return {\n ok: true,\n students: students,\n };\n}\n\nexport async function readExamUserDTOsFromCSVFile(csvFile: File): Promise {\n const parsed = await readValidatedCsvUsers(csvFile);\n if (!parsed.ok) {\n return parsed;\n }\n const readIdentity = csvUserIdentityReader(parsed.header);\n const roomHeader = parsed.header(POSSIBLE_ROOM_HEADERS);\n const seatHeader = parsed.header(POSSIBLE_SEAT_HEADERS);\n const students = parsed.users.map((user) => {\n const examUser: ExamUserDTO = readIdentity(user);\n examUser.room = user[roomHeader]?.trim() || '';\n examUser.seat = user[seatHeader]?.trim() || '';\n return examUser;\n });\n return {\n ok: true,\n examUsers: students,\n };\n}\n\nasync function readValidatedCsvUsers(csvFile: File): Promise {\n const users = await parseCsvUserFromFile(csvFile);\n const invalidRowIndices = computeInvalidRowIndices(users);\n if (invalidRowIndices.length) {\n return { ok: false, invalidRowIndices };\n }\n const headers = Object.keys(users.first() || []);\n return { ok: true, users, header: (aliases) => headers.find((name) => aliases.includes(name)) || '' };\n}\n\nfunction csvUserIdentityReader(header: (aliases: string[]) => string): (user: CsvUser) => StudentDTO {\n const registrationNumber = header(POSSIBLE_REGISTRATION_NUMBER_HEADERS);\n const login = header(POSSIBLE_LOGIN_HEADERS);\n const email = header(POSSIBLE_EMAIL_HEADERS);\n const firstName = header(POSSIBLE_FIRST_NAME_HEADERS);\n const lastName = header(POSSIBLE_LAST_NAME_HEADERS);\n return (user) => ({\n registrationNumber: user[registrationNumber]?.trim() || '',\n login: user[login]?.trim() || '',\n email: user[email]?.trim() || '',\n firstName: user[firstName]?.trim() || '',\n lastName: user[lastName]?.trim() || '',\n });\n}\n\nfunction parseCsvUserFromFile(csvFile: File): Promise {\n return new Promise((resolve, reject) => {\n parse(csvFile, {\n header: true,\n transformHeader: (header: string) => cleanString(header),\n transform: (value: string) => value.trim(),\n skipEmptyLines: true,\n complete: (results) => resolve(results.data),\n error: (error) => reject(error),\n });\n });\n}\n\nfunction computeInvalidRowIndices(csvUsers: CsvUser[]): number[] {\n const invalidList: number[] = [];\n for (const [i, user] of csvUsers.entries()) {\n const hasLogin = checkIfEntryContainsKey(user, POSSIBLE_LOGIN_HEADERS);\n const hasRegistrationNumber = checkIfEntryContainsKey(user, POSSIBLE_REGISTRATION_NUMBER_HEADERS);\n const hasEmail = checkIfEntryContainsKey(user, POSSIBLE_EMAIL_HEADERS);\n\n if (!hasLogin && !hasRegistrationNumber && !hasEmail) {\n // '+ 2' instead of '+ 1' due to the header column in the csv file\n invalidList.push(i + 2);\n }\n }\n return invalidList;\n}\n\nfunction checkIfEntryContainsKey(entry: CsvUser, keys: string[]): boolean {\n return keys.some((key) => entry[key] !== undefined && entry[key] !== '');\n}\n" +} diff --git a/web/public/bundles/artemis/code/42ce4f434056ceed29f9a9124ff9f6d40da06563.json b/web/public/bundles/artemis/code/42ce4f434056ceed29f9a9124ff9f6d40da06563.json new file mode 100644 index 00000000..05c854a0 --- /dev/null +++ b/web/public/bundles/artemis/code/42ce4f434056ceed29f9a9124ff9f6d40da06563.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "42ce4f434056ceed29f9a9124ff9f6d40da06563", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/ProgrammingExerciseBuildConfig.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.programming.domain;\n\nimport java.util.Objects;\nimport java.util.UUID;\n\nimport jakarta.persistence.Column;\nimport jakarta.persistence.Entity;\nimport jakarta.persistence.EnumType;\nimport jakarta.persistence.Enumerated;\nimport jakarta.persistence.FetchType;\nimport jakarta.persistence.JoinColumn;\nimport jakarta.persistence.OneToOne;\nimport jakarta.persistence.Table;\nimport jakarta.validation.constraints.Size;\n\nimport org.hibernate.annotations.JdbcTypeCode;\nimport org.hibernate.type.SqlTypes;\nimport org.jspecify.annotations.Nullable;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport com.fasterxml.jackson.annotation.JsonIgnore;\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\nimport com.fasterxml.jackson.annotation.JsonInclude;\nimport com.fasterxml.jackson.annotation.JsonProperty;\n\nimport de.tum.cit.aet.artemis.core.domain.DomainObject;\nimport de.tum.cit.aet.artemis.core.domain.Parent;\n\n@Entity\n@Table(name = \"programming_exercise_build_config\")\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\n// We dont want to expose the programming exercise in the build config\n@JsonIgnoreProperties(value = { \"programmingExercise\" })\npublic class ProgrammingExerciseBuildConfig extends DomainObject {\n\n private static final Logger log = LoggerFactory.getLogger(ProgrammingExerciseBuildConfig.class);\n\n @Column(name = \"sequential_test_runs\")\n private Boolean sequentialTestRuns;\n\n @Column(name = \"branch\")\n private String branch;\n\n @Column(name = \"build_plan_configuration\", columnDefinition = \"longtext\")\n private String buildPlanConfiguration;\n\n private transient String buildScript;\n\n /**\n * This boolean flag determines whether the solution repository should be checked out during the build (additional to the student's submission).\n * This is currently only supported for HASKELL and OCAML, thus the default value is false.\n */\n @Column(name = \"checkout_solution_repository\", columnDefinition = \"boolean default false\")\n private boolean checkoutSolutionRepository = false;\n\n @Column(name = \"checkout_path\")\n private String testCheckoutPath;\n\n @Column(name = \"assignment_checkout_path\")\n private String assignmentCheckoutPath;\n\n @Column(name = \"solution_checkout_path\")\n private String solutionCheckoutPath;\n\n @Column(name = \"timeout_seconds\")\n private int timeoutSeconds;\n\n @Column(name = \"docker_flags\", columnDefinition = \"longtext\")\n private String dockerFlags;\n\n @OneToOne(fetch = FetchType.LAZY, optional = false)\n @JoinColumn(name = \"exercise_id\", nullable = false, unique = true)\n @JsonIgnore\n @Parent\n private ProgrammingExercise programmingExercise;\n\n @Nullable\n @Column(name = \"theia_image\")\n private String theiaImage;\n\n @Nullable\n @Enumerated(EnumType.STRING)\n @Column(name = \"online_ide_experience_level\", length = 16)\n private OnlineIdeExperienceLevel onlineIdeExperienceLevel;\n\n /**\n * Rarely used settings (branching, build time window) as one JSON document, NULL if none deviates from the default.\n * The legacy columns {@code allow_branching} and {@code branch_regex} are no longer mapped, see the changelog that introduced this column.\n *

\n * TODO: Drop the columns {@code allow_branching} and {@code branch_regex} from the database with a changelog (contract step) in a later release, once no application\n * version that maps them can be rolled back to anymore, and then remove this note. They are not mapped in Java anymore, so there is nothing to remove in this class.\n */\n @Nullable\n @JdbcTypeCode(SqlTypes.JSON)\n @Column(name = \"advanced_settings\", columnDefinition = \"json\")\n private BuildConfigAdvancedSettings advancedSettings;\n\n @Size(max = 36)\n @Nullable\n @Column(name = \"build_plan_access_secret\", length = 36)\n private String buildPlanAccessSecret;\n\n public ProgrammingExerciseBuildConfig() {\n }\n\n public ProgrammingExerciseBuildConfig(ProgrammingExerciseBuildConfig originalBuildConfig) {\n this.setBranch(originalBuildConfig.getBranch());\n this.setBuildPlanConfiguration(originalBuildConfig.getBuildPlanConfiguration());\n this.setTestCheckoutPath(originalBuildConfig.getTestCheckoutPath());\n this.setAssignmentCheckoutPath(originalBuildConfig.getAssignmentCheckoutPath());\n this.setSolutionCheckoutPath(originalBuildConfig.getSolutionCheckoutPath());\n this.setCheckoutSolutionRepository(originalBuildConfig.getCheckoutSolutionRepository());\n this.setDockerFlags(originalBuildConfig.getDockerFlags());\n this.setSequentialTestRuns(originalBuildConfig.hasSequentialTestRuns());\n this.setBuildScript(originalBuildConfig.getBuildScript());\n this.setTimeoutSeconds(originalBuildConfig.getTimeoutSeconds());\n this.setTheiaImage(originalBuildConfig.getTheiaImage());\n this.setOnlineIdeExperienceLevel(originalBuildConfig.getOnlineIdeExperienceLevel());\n // the settings are an immutable record, so sharing the instance is safe\n this.setAdvancedSettings(originalBuildConfig.getAdvancedSettings());\n this.setProgrammingExercise(null);\n this.buildPlanAccessSecret = null;\n }\n\n @JsonProperty(\"sequentialTestRuns\")\n public boolean hasSequentialTestRuns() {\n return Objects.requireNonNullElse(sequentialTestRuns, false);\n }\n\n public void setSequentialTestRuns(Boolean sequentialTestRuns) {\n this.sequentialTestRuns = sequentialTestRuns;\n }\n\n /**\n *\n * @return the name of the default branch or null if not yet stored in Artemis\n */\n public String getBranch() {\n return branch;\n }\n\n public void setBranch(String branch) {\n this.branch = branch;\n }\n\n /**\n * Returns the JSON encoded custom build plan configuration\n *\n * @return the JSON encoded custom build plan configuration or null if the default one should be used\n */\n public String getBuildPlanConfiguration() {\n return buildPlanConfiguration;\n }\n\n /**\n * Sets the JSON encoded custom build plan configuration\n *\n * @param buildPlanConfiguration the JSON encoded custom build plan configuration\n */\n public void setBuildPlanConfiguration(String buildPlanConfiguration) {\n this.buildPlanConfiguration = buildPlanConfiguration;\n }\n\n /**\n * Legacy build script for imported exercises using the old LocalCI build plan format.\n *\n * @return the build script or null if the build script does not exist\n */\n public String getBuildScript() {\n return buildScript;\n }\n\n /**\n * Update the legacy build script.\n *\n * @param buildScript the new build script for the programming exercise\n */\n public void setBuildScript(String buildScript) {\n this.buildScript = buildScript;\n }\n\n public boolean getCheckoutSolutionRepository() {\n return checkoutSolutionRepository;\n }\n\n public void setCheckoutSolutionRepository(boolean checkoutSolutionRepository) {\n this.checkoutSolutionRepository = checkoutSolutionRepository;\n }\n\n public String getTestCheckoutPath() {\n return testCheckoutPath;\n }\n\n public void setTestCheckoutPath(String testCheckoutPath) {\n this.testCheckoutPath = testCheckoutPath;\n }\n\n public int getTimeoutSeconds() {\n return timeoutSeconds;\n }\n\n public void setTimeoutSeconds(int timeoutSeconds) {\n this.timeoutSeconds = timeoutSeconds;\n }\n\n public String getDockerFlags() {\n return dockerFlags;\n }\n\n public void setDockerFlags(String dockerFlags) {\n this.dockerFlags = dockerFlags;\n }\n\n @Nullable\n public String getTheiaImage() {\n return theiaImage;\n }\n\n public void setTheiaImage(@Nullable String theiaImage) {\n this.theiaImage = theiaImage;\n }\n\n @Nullable\n public OnlineIdeExperienceLevel getOnlineIdeExperienceLevel() {\n return onlineIdeExperienceLevel;\n }\n\n public void setOnlineIdeExperienceLevel(@Nullable OnlineIdeExperienceLevel onlineIdeExperienceLevel) {\n this.onlineIdeExperienceLevel = onlineIdeExperienceLevel;\n }\n\n /**\n * A regex defining which branches are allowed to be created.\n *\n *

\n * Should only be considered if branching is allowed ({@link #isAllowBranching()}).\n * Otherwise, only the default branch for the exercise should be allowed regardless of this regex.\n *\n * @return The branch name regex pattern.\n */\n @Nullable\n public String getBranchRegex() {\n BranchingSettings branching = getBranchingSettings();\n return branching != null && branching.regex() != null ? branching.regex() : BranchingSettings.DEFAULT_REGEX;\n }\n\n public void setBranchRegex(@Nullable String branchRegex) {\n setBranchingSettings(new BranchingSettings(isAllowBranching(), Objects.requireNonNullElse(branchRegex, BranchingSettings.DEFAULT_REGEX)));\n }\n\n public boolean isAllowBranching() {\n BranchingSettings branching = getBranchingSettings();\n return branching != null && branching.allowed();\n }\n\n public void setAllowBranching(boolean allowBranching) {\n setBranchingSettings(new BranchingSettings(allowBranching, getBranchRegex()));\n }\n\n /**\n * The rarely used settings of this build configuration. Not part of the entity's JSON representation: the DTOs carry the individual settings.\n *\n * @return the settings, or null if all of them have their default value\n */\n @Nullable\n @JsonIgnore\n public BuildConfigAdvancedSettings getAdvancedSettings() {\n return advancedSettings;\n }\n\n /**\n * Replaces the rarely used settings, bringing them into their canonical form (defaults are stored as NULL).\n *\n * @param advancedSettings the new settings, may be null\n */\n @JsonIgnore\n public void setAdvancedSettings(@Nullable BuildConfigAdvancedSettings advancedSettings) {\n this.advancedSettings = BuildConfigAdvancedSettings.normalized(advancedSettings);\n }\n\n /**\n * The period in which pushes to student repositories are built.\n *\n * @return the window, or null if pushes are always built\n */\n @Nullable\n @JsonIgnore\n public BuildTimeWindow getBuildTimeWindow() {\n return advancedSettings != null ? advancedSettings.buildTimeWindow() : null;\n }\n\n /**\n * Sets or removes the period in which pushes to student repositories are built, keeping the other advanced settings.\n *\n * @param buildTimeWindow the window, or null if pushes should always be built\n */\n @JsonIgnore\n public void setBuildTimeWindow(@Nullable BuildTimeWindow buildTimeWindow) {\n setAdvancedSettings(new BuildConfigAdvancedSettings(getBranchingSettings(), buildTimeWindow));\n }\n\n @Nullable\n private BranchingSettings getBranchingSettings() {\n return advancedSettings != null ? advancedSettings.branching() : null;\n }\n\n private void setBranchingSettings(@Nullable BranchingSettings branching) {\n setAdvancedSettings(new BuildConfigAdvancedSettings(branching, getBuildTimeWindow()));\n }\n\n public ProgrammingExercise getProgrammingExercise() {\n return programmingExercise;\n }\n\n public void setProgrammingExercise(ProgrammingExercise programmingExercise) {\n this.programmingExercise = programmingExercise;\n }\n\n public boolean hasBuildPlanAccessSecretSet() {\n return buildPlanAccessSecret != null && !buildPlanAccessSecret.isEmpty();\n }\n\n /**\n * The value is only used by the server to build and check build plan access addresses, so it is not part of the JSON representation.\n *\n * @return the build plan access value, null if none was generated\n */\n @JsonIgnore\n @Nullable\n public String getBuildPlanAccessSecret() {\n return buildPlanAccessSecret;\n }\n\n public void generateAndSetBuildPlanAccessSecret() {\n buildPlanAccessSecret = UUID.randomUUID().toString();\n }\n\n public String getAssignmentCheckoutPath() {\n return assignmentCheckoutPath;\n }\n\n public void setAssignmentCheckoutPath(String assignmentCheckoutPath) {\n this.assignmentCheckoutPath = assignmentCheckoutPath;\n }\n\n public String getSolutionCheckoutPath() {\n return solutionCheckoutPath;\n }\n\n public void setSolutionCheckoutPath(String solutionCheckoutPath) {\n this.solutionCheckoutPath = solutionCheckoutPath;\n }\n\n @Override\n public String toString() {\n return \"BuildJobConfig{\" + \"id=\" + getId() + \", sequentialTestRuns=\" + sequentialTestRuns + \", branch='\" + branch + '\\'' + \", buildPlanConfiguration='\"\n + buildPlanConfiguration + '\\'' + \", buildScript='\" + buildScript + '\\'' + \", checkoutSolutionRepository=\" + checkoutSolutionRepository + \", checkoutPath='\"\n + testCheckoutPath + '\\'' + \", timeoutSeconds=\" + timeoutSeconds + \", dockerFlags='\" + dockerFlags + '\\'' + \", theiaImage='\" + theiaImage + '\\''\n + \", onlineIdeExperienceLevel=\" + onlineIdeExperienceLevel + \", advancedSettings=\" + advancedSettings + '}';\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/43a6179152fc9184511a43bb07d67b9e183fe036.json b/web/public/bundles/artemis/code/43a6179152fc9184511a43bb07d67b9e183fe036.json new file mode 100644 index 00000000..16640800 --- /dev/null +++ b/web/public/bundles/artemis/code/43a6179152fc9184511a43bb07d67b9e183fe036.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "43a6179152fc9184511a43bb07d67b9e183fe036", + "language": "typescript", + "path": "src/main/webapp/app/localci/build-queue/tables/build-jobs-header.component.ts", + "schema": "codexray.code/1", + "text": "import { ChangeDetectionStrategy, Component, ViewEncapsulation, input } from '@angular/core';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { HelpIconComponent } from 'app/shared-ui/components/help-icon/help-icon.component';\n\n@Component({\n selector: 'tr[jhi-build-jobs-header]',\n templateUrl: './build-jobs-header.component.html',\n styleUrls: ['./build-jobs-table.css'],\n encapsulation: ViewEncapsulation.None,\n imports: [TranslateDirective, HelpIconComponent],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BuildJobsHeaderComponent {\n readonly running = input(false);\n readonly showCourseId = input(false);\n}\n" +} diff --git a/web/public/bundles/artemis/code/43fbdbb9ecb7fc569325c09206100b0fd9061dbe.json b/web/public/bundles/artemis/code/43fbdbb9ecb7fc569325c09206100b0fd9061dbe.json new file mode 100644 index 00000000..f3866570 --- /dev/null +++ b/web/public/bundles/artemis/code/43fbdbb9ecb7fc569325c09206100b0fd9061dbe.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "43fbdbb9ecb7fc569325c09206100b0fd9061dbe", + "language": "typescript", + "path": "src/main/webapp/app/modeling/manage/modeling-exercise.route.ts", + "schema": "codexray.code/1", + "text": "import { modelingExerciseUpdateRoute } from 'app/modeling/manage/modeling-exercise-update.route';\nimport { Routes } from '@angular/router';\nimport { UserRouteAccessService } from 'app/core/auth/user-route-access-service';\n\nimport { IS_AT_LEAST_EDITOR, IS_AT_LEAST_TUTOR } from 'app/foundation/constants/authority.constants';\n\nimport { ModelingExerciseResolver } from 'app/modeling/manage/services/modeling-exercise-resolver.service';\n\nexport const routes: Routes = [\n modelingExerciseUpdateRoute('modeling-exercises/new'),\n modelingExerciseUpdateRoute('modeling-exercises/:exerciseId/edit'),\n modelingExerciseUpdateRoute('modeling-exercises/:exerciseId/import', 'artemisApp.modelingExercise.home.importLabel'),\n {\n path: 'modeling-exercises/:exerciseId',\n loadComponent: () => import('./detail/modeling-exercise-detail.component').then((m) => m.ModelingExerciseDetailComponent),\n data: {\n authorities: IS_AT_LEAST_TUTOR,\n pageTitle: 'artemisApp.modelingExercise.home.title',\n },\n canActivate: [UserRouteAccessService],\n },\n {\n path: 'modeling-exercises/:exerciseId/example-submissions',\n loadComponent: () => import('app/exercise/example-submission/example-submissions.component').then((m) => m.ExampleSubmissionsComponent),\n resolve: {\n exercise: ModelingExerciseResolver,\n },\n data: {\n authorities: IS_AT_LEAST_EDITOR,\n pageTitle: 'artemisApp.exampleSubmission.home.title',\n },\n canActivate: [UserRouteAccessService],\n },\n {\n path: 'modeling-exercises/:exerciseId/exercise-statistics',\n loadComponent: () => import('app/exercise/statistics/exercise-statistics.component').then((m) => m.ExerciseStatisticsComponent),\n resolve: {\n exercise: ModelingExerciseResolver,\n },\n data: {\n authorities: IS_AT_LEAST_TUTOR,\n pageTitle: 'exercise-statistics.title',\n },\n canActivate: [UserRouteAccessService],\n },\n {\n path: 'modeling-exercises/:exerciseId/example-submissions/:exampleSubmissionId',\n loadComponent: () => import('app/modeling/manage/example-modeling/example-modeling-submission.component').then((m) => m.ExampleModelingSubmissionComponent),\n data: {\n authorities: IS_AT_LEAST_TUTOR,\n pageTitle: 'artemisApp.exampleSubmission.home.editor',\n },\n canActivate: [UserRouteAccessService],\n },\n {\n path: 'modeling-exercises/:exerciseId/submissions/:submissionId',\n loadChildren: () => import('app/modeling/manage/assess/modeling-assessment-editor/modeling-assessment-editor.route').then((m) => m.routes),\n },\n];\n" +} diff --git a/web/public/bundles/artemis/code/44013e5ac2538e30b1f5aae66dd623350d75c0ce.json b/web/public/bundles/artemis/code/44013e5ac2538e30b1f5aae66dd623350d75c0ce.json new file mode 100644 index 00000000..177974f2 --- /dev/null +++ b/web/public/bundles/artemis/code/44013e5ac2538e30b1f5aae66dd623350d75c0ce.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "44013e5ac2538e30b1f5aae66dd623350d75c0ce", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/detail/UserForDetailDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exam.dto.detail;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\n\n/**\n * Projection of the examined {@link User} as nested inside the instructor-facing student-exam detail payload\n * (the {@code studentExam} field of {@code StudentExamWithGradeDTO}).\n *

\n * Unlike the student-facing conduction / summary projections (which slim the user down to {@code UserNameDTO} because\n * the student only ever sees their own id / name), the instructor detail table identifies the examined student by\n * name, login, e-mail and matriculation number, so those fields are preserved here. {@code visibleRegistrationNumber}\n * is the transient the server populates via {@code User#setVisibleRegistrationNumber()} for instructor callers; it is\n * simply omitted (NON_EMPTY) when not set.\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record UserForDetailDTO(Long id, String login, String name, String email, String visibleRegistrationNumber) {\n\n /**\n * Converts a User into a UserForDetailDTO.\n *\n * @param user the user to convert\n * @return the converted DTO, or null if the user is null\n */\n public static UserForDetailDTO of(User user) {\n if (user == null) {\n return null;\n }\n return new UserForDetailDTO(user.getId(), user.getLogin(), user.getName(), user.getEmail(), user.getVisibleRegistrationNumber());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/441ecaa7ef13b0a2004a9c3adc6ca5f646a00bf0.json b/web/public/bundles/artemis/code/441ecaa7ef13b0a2004a9c3adc6ca5f646a00bf0.json new file mode 100644 index 00000000..dacdc8e3 --- /dev/null +++ b/web/public/bundles/artemis/code/441ecaa7ef13b0a2004a9c3adc6ca5f646a00bf0.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "441ecaa7ef13b0a2004a9c3adc6ca5f646a00bf0", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/videosource/config/TumLiveEnabled.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.videosource.config;\n\nimport org.springframework.context.annotation.Condition;\nimport org.springframework.context.annotation.ConditionContext;\nimport org.springframework.core.type.AnnotatedTypeMetadata;\n\nimport de.tum.cit.aet.artemis.core.config.Constants;\n\n/**\n * Condition to check if the TUM Live integration is enabled.\n * The integration is considered enabled when the API base URL property is set to a non-blank value.\n * Worker-only nodes do not load this integration.\n * Based on this condition, Spring components concerning TUM Live functionality can be enabled or disabled.\n */\npublic class TumLiveEnabled implements Condition {\n\n private static final String TUM_LIVE_API_BASE_URL_PROPERTY = \"artemis.tum-live.api-base-url\";\n\n @Override\n public boolean matches(ConditionContext context, AnnotatedTypeMetadata metadata) {\n if (context.getEnvironment().matchesProfiles(Constants.PROFILE_AIWORKER + \" & !\" + Constants.PROFILE_CORE)) {\n return false;\n }\n String url = context.getEnvironment().getProperty(TUM_LIVE_API_BASE_URL_PROPERTY);\n return url != null && !url.isBlank();\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/44a79fd56b9b01d94a6d96fb0975df614a6eafb9.json b/web/public/bundles/artemis/code/44a79fd56b9b01d94a6d96fb0975df614a6eafb9.json new file mode 100644 index 00000000..0f7075f0 --- /dev/null +++ b/web/public/bundles/artemis/code/44a79fd56b9b01d94a6d96fb0975df614a6eafb9.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "44a79fd56b9b01d94a6d96fb0975df614a6eafb9", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/web/PlagiarismResource.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.plagiarism.web;\n\nimport java.util.Objects;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.http.ResponseEntity;\nimport org.springframework.web.bind.annotation.DeleteMapping;\nimport org.springframework.web.bind.annotation.GetMapping;\nimport org.springframework.web.bind.annotation.PathVariable;\nimport org.springframework.web.bind.annotation.PutMapping;\nimport org.springframework.web.bind.annotation.RequestBody;\nimport org.springframework.web.bind.annotation.RequestMapping;\nimport org.springframework.web.bind.annotation.RequestParam;\nimport org.springframework.web.bind.annotation.RestController;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.account.repository.UserRepository;\nimport de.tum.cit.aet.artemis.core.exception.AccessForbiddenException;\nimport de.tum.cit.aet.artemis.core.exception.BadRequestAlertException;\nimport de.tum.cit.aet.artemis.core.exception.ConflictException;\nimport de.tum.cit.aet.artemis.core.security.Role;\nimport de.tum.cit.aet.artemis.core.security.annotations.EnforceAtLeastStudent;\nimport de.tum.cit.aet.artemis.core.security.annotations.enforceRoleInCourse.EnforceAtLeastEditorInCourse;\nimport de.tum.cit.aet.artemis.core.security.annotations.enforceRoleInExercise.EnforceAtLeastInstructorInExercise;\nimport de.tum.cit.aet.artemis.core.service.AuthorizationCheckService;\nimport de.tum.cit.aet.artemis.core.service.featureusage.FeatureUsage;\nimport de.tum.cit.aet.artemis.core.service.featureusage.UserFeature;\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.course.repository.CourseRepository;\nimport de.tum.cit.aet.artemis.plagiarism.config.PlagiarismEnabled;\nimport de.tum.cit.aet.artemis.plagiarism.domain.PlagiarismComparisonSide;\nimport de.tum.cit.aet.artemis.plagiarism.domain.PlagiarismStatus;\nimport de.tum.cit.aet.artemis.plagiarism.domain.PlagiarismSubmission;\nimport de.tum.cit.aet.artemis.plagiarism.dto.PlagiarismComparisonDTO;\nimport de.tum.cit.aet.artemis.plagiarism.dto.PlagiarismComparisonStatusDTO;\nimport de.tum.cit.aet.artemis.plagiarism.repository.PlagiarismCaseRepository;\nimport de.tum.cit.aet.artemis.plagiarism.repository.PlagiarismComparisonRepository;\nimport de.tum.cit.aet.artemis.plagiarism.repository.PlagiarismResultRepository;\nimport de.tum.cit.aet.artemis.plagiarism.repository.PlagiarismSubmissionRepository;\nimport de.tum.cit.aet.artemis.plagiarism.service.PlagiarismService;\n\n/**\n * REST controller for managing Plagiarism Cases.\n */\n@Conditional(PlagiarismEnabled.class)\n@Lazy\n@FeatureUsage(UserFeature.PLAGIARISM_CHECKS)\n@RestController\n@RequestMapping(\"api/plagiarism/\")\npublic class PlagiarismResource {\n\n private final CourseRepository courseRepository;\n\n private final AuthorizationCheckService authCheckService;\n\n private final UserRepository userRepository;\n\n private static final Logger log = LoggerFactory.getLogger(PlagiarismResource.class);\n\n private final PlagiarismComparisonRepository plagiarismComparisonRepository;\n\n private final PlagiarismSubmissionRepository plagiarismSubmissionRepository;\n\n private final PlagiarismService plagiarismService;\n\n private final PlagiarismResultRepository plagiarismResultRepository;\n\n private final PlagiarismCaseRepository plagiarismCaseRepository;\n\n // correspond to the translation files (suffix) used in the client\n private static final String YOUR_SUBMISSION = \"Your submission\";\n\n private static final String OTHER_SUBMISSION = \"Other submission\";\n\n public PlagiarismResource(PlagiarismComparisonRepository plagiarismComparisonRepository, PlagiarismSubmissionRepository plagiarismSubmissionRepository,\n CourseRepository courseRepository, AuthorizationCheckService authCheckService, UserRepository userRepository, PlagiarismService plagiarismService,\n PlagiarismResultRepository plagiarismResultRepository, PlagiarismCaseRepository plagiarismCaseRepository) {\n this.plagiarismComparisonRepository = plagiarismComparisonRepository;\n this.plagiarismSubmissionRepository = plagiarismSubmissionRepository;\n this.courseRepository = courseRepository;\n this.authCheckService = authCheckService;\n this.userRepository = userRepository;\n this.plagiarismService = plagiarismService;\n this.plagiarismResultRepository = plagiarismResultRepository;\n this.plagiarismCaseRepository = plagiarismCaseRepository;\n }\n\n /**\n * Update the status of the plagiarism comparison with the given ID.\n * I.e. An editor or instructor sees a possible plagiarism case for the first time and decides if it should be further examined, or if it is not a plagiarism.\n *\n * @param comparisonId of the plagiarism comparison to update the status of\n * @param courseId the id of the course\n * @param statusDTO new status for the given comparison\n * @return the ResponseEntity with status 200 (Ok) or with status 400 (Bad Request) if the parameters are invalid\n */\n @PutMapping(\"courses/{courseId}/plagiarism-comparisons/{comparisonId}/status\")\n @EnforceAtLeastEditorInCourse\n public ResponseEntity updatePlagiarismComparisonStatus(@PathVariable(\"courseId\") long courseId, @PathVariable(\"comparisonId\") long comparisonId,\n @RequestBody PlagiarismComparisonStatusDTO statusDTO) {\n log.info(\"REST request to update the status {} of the plagiarism comparison with id: {}\", statusDTO.status(), comparisonId);\n var comparison = plagiarismComparisonRepository.findByIdWithSubmissionsStudentsElseThrow(comparisonId);\n var exercise = comparison.getPlagiarismResult().getExercise();\n var comparisonCourseId = plagiarismComparisonRepository.findCourseIdByIdElseThrow(comparisonId);\n if (!Objects.equals(comparisonCourseId, courseId)) {\n throw new BadRequestAlertException(\"The courseId does not belong to the given comparisonId\", \"PlagiarismComparison\", \"idMismatch\");\n }\n\n if (exercise.isTeamMode()) {\n throw new BadRequestAlertException(\"Updating the plagiarism status is not allowed for team exercises.\", \"PlagiarismComparison\", \"noTeamExercise\");\n }\n\n plagiarismService.updatePlagiarismComparisonStatus(comparisonId, statusDTO.status());\n log.info(\"Finished updating the status {} of the plagiarism comparison with id: {}\", statusDTO.status(), comparisonId);\n return ResponseEntity.ok().build();\n }\n\n /**\n * Retrieves the plagiarismComparison specified by its ID.\n * If a studentLogin is passed the comparison is anonymized\n *\n * @param courseId the id of the course\n * @param comparisonId the id of the PlagiarismComparison\n * @return the PlagiarismComparison\n * @throws AccessForbiddenException if the requesting user is not affected by the plagiarism case.\n */\n @GetMapping(\"courses/{courseId}/plagiarism-comparisons/{comparisonId}/for-split-view\")\n @EnforceAtLeastStudent\n public ResponseEntity getPlagiarismComparisonForSplitView(@PathVariable(\"courseId\") long courseId, @PathVariable(\"comparisonId\") Long comparisonId) {\n Course course = courseRepository.findByIdElseThrow(courseId);\n User user = userRepository.getUserWithAuthorities();\n authCheckService.checkHasAtLeastRoleInCourseElseThrow(Role.STUDENT, course, user);\n\n var comparison = plagiarismComparisonRepository.findByIdWithSubmissionsStudentsElseThrow(comparisonId);\n // Read one side at a time: both element lists are bags, and a single query cannot fetch two of those.\n var submissionA = plagiarismSubmissionRepository.findWithElementsByComparisonIdAndSide(comparisonId, PlagiarismComparisonSide.FIRST).orElse(null);\n var submissionB = plagiarismSubmissionRepository.findWithElementsByComparisonIdAndSide(comparisonId, PlagiarismComparisonSide.SECOND).orElse(null);\n\n var comparisonCourseId = plagiarismComparisonRepository.findCourseIdByIdElseThrow(comparisonId);\n if (!Objects.equals(comparisonCourseId, courseId)) {\n throw new BadRequestAlertException(\"The courseId does not belong to the given comparisonId\", \"PlagiarismComparison\", \"idMismatch\");\n }\n\n if (authCheckService.isOnlyStudentInCourse(course, user)) {\n // Note: this calls also checks that the student is allowed to see the complaint, and throws otherwise\n checkStudentAccess(submissionA, submissionB, user.getLogin());\n // the comparison is only shown once the instructors have communicated the case to the student\n if (!plagiarismCaseRepository.existsCommunicatedCaseForComparisonAndUser(comparisonId, user.getLogin())) {\n throw new AccessForbiddenException(\"This plagiarism comparison has not been communicated to the requesting user.\");\n }\n }\n\n return ResponseEntity.ok(PlagiarismComparisonDTO.fromComparison(comparison, submissionA, submissionB));\n }\n\n /**\n * Check if the passed userLogin is related to the plagiarism comparison. If this is not the case, the user is not allowed to access.\n * Also anonymizes the comparison for the student view.\n * A student should not have sensitive information (e.g. the userLogin of the other student)\n *\n * @param submissionA the first submission in the comparison\n * @param submissionB the second submission in the comparison\n * @param userLogin of the student asking to see their plagiarism comparison.\n */\n private void checkStudentAccess(PlagiarismSubmission submissionA, PlagiarismSubmission submissionB, String userLogin) {\n if (Objects.equals(submissionA.getStudentLogin(), userLogin)) {\n submissionA.setStudentLogin(YOUR_SUBMISSION);\n submissionB.setStudentLogin(OTHER_SUBMISSION);\n }\n else if (Objects.equals(submissionB.getStudentLogin(), userLogin)) {\n submissionA.setStudentLogin(OTHER_SUBMISSION);\n submissionB.setStudentLogin(YOUR_SUBMISSION);\n }\n else {\n throw new AccessForbiddenException(\"This plagiarism comparison is not related to the requesting user.\");\n }\n }\n\n /**\n * Cleans up plagiarism results and comparisons\n * If deleteAll is set to true, all plagiarism results belonging to the exercise are deleted, otherwise only plagiarism comparisons or with status DENIED or CONFIRMED are\n * deleted and old results are deleted as well.\n *\n * @param exerciseId the id of the exercise\n * @param plagiarismResultId the id of plagiarism result\n * @param deleteAll optional parameter whether all plagiarism results belonging to the exercise and all dependent data should be deleted\n * @return the ResponseEntity with status 200 (Ok) or with status 400 (Bad Request) if the parameters are invalid\n */\n @DeleteMapping(\"exercises/{exerciseId}/plagiarism-results/{plagiarismResultId}/plagiarism-comparisons\")\n @EnforceAtLeastInstructorInExercise\n public ResponseEntity deletePlagiarismComparisons(@PathVariable(\"exerciseId\") long exerciseId, @PathVariable(\"plagiarismResultId\") long plagiarismResultId,\n @RequestParam() boolean deleteAll) {\n log.info(\"REST request to clean up plagiarism comparisons for exercise with id: {}\", exerciseId);\n if (deleteAll) {\n // delete all elements for the given exercise\n plagiarismResultRepository.deletePlagiarismResultsByExerciseId(exerciseId);\n }\n else {\n if (!plagiarismResultRepository.existsByIdAndExerciseId(plagiarismResultId, exerciseId)) {\n throw new ConflictException(\"The plagiarism result does not belong to the exercise\", \"PlagiarismResult\", \"exerciseMismatch\");\n }\n // delete all plagiarism comparisons which are not approved or denied\n plagiarismComparisonRepository.deletePlagiarismComparisonsByPlagiarismResultIdAndStatus(plagiarismResultId, PlagiarismStatus.NONE);\n // also clean up any old and unused plagiarism results\n plagiarismResultRepository.deletePlagiarismResultsByIdNotAndExerciseId(plagiarismResultId, exerciseId);\n }\n return ResponseEntity.ok().build();\n }\n\n /**\n * GET /exercises/:exerciseId/potential-plagiarism-count : get the number of potential plagiarism cases for the given exercise\n * This endpoint returns the number of plagiarism submissions for the given exercise excluding submissions of deleted users.\n *\n * @param exerciseId the id of the exercise\n * @return the ResponseEntity with status 200 (OK) and with body the number of plagiarism results\n */\n @GetMapping(\"exercises/{exerciseId}/potential-plagiarism-count\")\n @EnforceAtLeastInstructorInExercise\n public ResponseEntity getNumberOfPotentialPlagiarismCasesForExercise(@PathVariable(\"exerciseId\") long exerciseId) {\n return ResponseEntity.ok(plagiarismService.getNumberOfPotentialPlagiarismCasesForExercise(exerciseId));\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/44fe17008fb10cf3b4ff4fde9ca78cb40b9d8aae.json b/web/public/bundles/artemis/code/44fe17008fb10cf3b4ff4fde9ca78cb40b9d8aae.json new file mode 100644 index 00000000..d155cf57 --- /dev/null +++ b/web/public/bundles/artemis/code/44fe17008fb10cf3b4ff4fde9ca78cb40b9d8aae.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "44fe17008fb10cf3b4ff4fde9ca78cb40b9d8aae", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/domain/Reaction.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.communication.domain;\n\nimport java.time.ZonedDateTime;\n\nimport jakarta.persistence.Column;\nimport jakarta.persistence.Entity;\nimport jakarta.persistence.JoinColumn;\nimport jakarta.persistence.ManyToOne;\nimport jakarta.persistence.Table;\nimport jakarta.persistence.UniqueConstraint;\n\nimport org.springframework.data.annotation.CreatedDate;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\nimport com.fasterxml.jackson.annotation.JsonIncludeProperties;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.core.domain.DomainObject;\nimport de.tum.cit.aet.artemis.core.domain.Parent;\n\n/**\n * A Reaction on a Posting.\n * A reaction has to be unique with regard to user_id emoji_id and id of the posting it belongs to,\n * i.e. every user can only react once on a posting with a certain emoji.\n */\n@Entity\n@ReactionConstraints\n@Table(name = \"reaction\", uniqueConstraints = { @UniqueConstraint(columnNames = { \"emoji_id\", \"user_id\", \"post_id\" }),\n @UniqueConstraint(columnNames = { \"emoji_id\", \"user_id\", \"answer_post_id\" }) })\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic class Reaction extends DomainObject {\n\n @ManyToOne\n // Avoid to leak too much information, only the name (for display) and the id (for comparison) is needed)\n @JsonIncludeProperties({ \"id\", \"name\" })\n @JoinColumn(nullable = false)\n private User user;\n\n @CreatedDate\n @Column(name = \"creation_date\", updatable = false)\n private ZonedDateTime creationDate = ZonedDateTime.now();\n\n /**\n * Unique, identifying name of the emoji, such as \"smiley\"\n */\n @Column(name = \"emoji_id\")\n private String emojiId;\n\n @ManyToOne\n @JsonIncludeProperties({ \"id\" })\n @Parent(enforcedBy = \"CHECK_REACTION_POST_OR_ANSWER\")\n private Post post;\n\n @ManyToOne\n @JsonIncludeProperties({ \"id\" })\n @Parent(enforcedBy = \"CHECK_REACTION_POST_OR_ANSWER\")\n private AnswerPost answerPost;\n\n public User getUser() {\n return user;\n }\n\n public void setUser(User user) {\n this.user = user;\n }\n\n public ZonedDateTime getCreationDate() {\n return creationDate;\n }\n\n public void setCreationDate(ZonedDateTime creationDate) {\n this.creationDate = creationDate;\n }\n\n public String getEmojiId() {\n return emojiId;\n }\n\n public void setEmojiId(String content) {\n this.emojiId = content;\n }\n\n public Post getPost() {\n return post;\n }\n\n public void setPost(Post post) {\n this.post = post;\n }\n\n public AnswerPost getAnswerPost() {\n return answerPost;\n }\n\n public void setAnswerPost(AnswerPost answerPost) {\n this.answerPost = answerPost;\n }\n\n @Override\n public String toString() {\n return \"Reaction{\" + \"id=\" + getId() + \", emojiId='\" + getEmojiId() + \"'\" + \", creationDate='\" + getCreationDate() + \"'\" + \"'\" + \"}\";\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/462d26f9d14fd086505f0a6fb38aaa49d5790586.json b/web/public/bundles/artemis/code/462d26f9d14fd086505f0a6fb38aaa49d5790586.json new file mode 100644 index 00000000..3e2b7966 --- /dev/null +++ b/web/public/bundles/artemis/code/462d26f9d14fd086505f0a6fb38aaa49d5790586.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "462d26f9d14fd086505f0a6fb38aaa49d5790586", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/text/dto/TextAssessmentDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.text.dto;\n\nimport java.io.Serializable;\nimport java.util.List;\nimport java.util.Set;\n\nimport de.tum.cit.aet.artemis.assessment.dto.FeedbackDTO;\n\n/**\n * Input DTO for submitting a text assessment.\n *

\n * The controller maps {@link FeedbackDTO} to {@code Feedback} and {@link TextBlockDTO} to {@code TextBlock} before persisting.\n * No {@code @JsonInclude(NON_EMPTY)} here on purpose: this is a request body and an empty {@code feedbacks} list must stay an\n * empty array on the wire (the submit path streams it unguarded, mirroring the previous behavior where the list was never null).\n */\npublic record TextAssessmentDTO(List feedbacks, Set textBlocks, String assessmentNote) implements Serializable {\n}\n" +} diff --git a/web/public/bundles/artemis/code/46739f0ba0cc81552fe09569182614ad23c4772c.json b/web/public/bundles/artemis/code/46739f0ba0cc81552fe09569182614ad23c4772c.json new file mode 100644 index 00000000..f82174e3 --- /dev/null +++ b/web/public/bundles/artemis/code/46739f0ba0cc81552fe09569182614ad23c4772c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "46739f0ba0cc81552fe09569182614ad23c4772c", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/core/util/RoundingUtil.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.core.util;\n\nimport java.math.BigDecimal;\nimport java.math.RoundingMode;\n\nimport org.jspecify.annotations.NonNull;\n\nimport de.tum.cit.aet.artemis.course.domain.Course;\n\npublic class RoundingUtil {\n\n /**\n * Rounds a double to one decimal place after the decimal symbol\n *

\n * 1.26 -> 1.3\n * 1.25 -> 1.3\n * 1.24 -> 1.2\n *\n * @param number number to round to one decimal place\n * @return number rounded to one decimal place\n */\n public static double round(double number) {\n return roundToNDecimalPlaces(number, 1);\n }\n\n /**\n * Rounds a score to the specified amount of decimal places after the decimal symbol\n *\n * @param score The score to round\n * @param course The course that specifies the amount of decimal places in the attribute {@link Course#getAccuracyOfScores()}\n * @return The rounded number\n */\n public static double roundScoreSpecifiedByCourseSettings(double score, @NonNull Course course) {\n return roundToNDecimalPlaces(score, course.getAccuracyOfScores());\n }\n\n /**\n * Rounds a float to one decimal place after the comma\n *

\n * 1.26 -> 1.3\n * 1.25 -> 1.3\n * 1.24 -> 1.2\n *\n * @param number number to round to one decimal place\n * @return number rounded to one decimal place\n */\n public static float round(float number) {\n return (float) roundToNDecimalPlaces(number, 1);\n }\n\n /**\n * Rounds a number to the specified number of decimal places after the decimal symbol\n *\n * @param number The number to round\n * @param numberOfDecimalPlaces The number of decimal places to round to\n * @return The rounded number\n */\n public static double roundToNDecimalPlaces(double number, int numberOfDecimalPlaces) {\n return new BigDecimal(String.valueOf(number)).setScale(numberOfDecimalPlaces, RoundingMode.HALF_UP).doubleValue();\n }\n\n /**\n * Checks whether two doubles are equal within a given tolerance.\n *

\n * Returns {@code true} if the values are exactly equal (including identical infinities) or differ by at most\n * {@code epsilon}. This mirrors the semantics of {@code Precision.equals(a, b, epsilon)} for the finite,\n * non-NaN score values used across Artemis.\n *\n * @param a the first value\n * @param b the second value\n * @param epsilon the maximum allowed absolute difference (inclusive)\n * @return {@code true} if the values are equal within the tolerance\n */\n public static boolean equalsWithinEpsilon(double a, double b, double epsilon) {\n return a == b || Math.abs(a - b) <= epsilon;\n }\n\n}\n" +} diff --git a/web/public/bundles/artemis/code/471e94d168fceb2fe8ab2b8f4601b7cc0fb15ec5.json b/web/public/bundles/artemis/code/471e94d168fceb2fe8ab2b8f4601b7cc0fb15ec5.json new file mode 100644 index 00000000..8377c01a --- /dev/null +++ b/web/public/bundles/artemis/code/471e94d168fceb2fe8ab2b8f4601b7cc0fb15ec5.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "471e94d168fceb2fe8ab2b8f4601b7cc0fb15ec5", + "language": "typescript", + "path": "src/main/webapp/app/programming/manage/grading/tasks/programming-exercise-task.service.ts", + "schema": "codexray.code/1", + "text": "import { HttpClient, HttpErrorResponse } from '@angular/common/http';\nimport { Injectable, inject } from '@angular/core';\nimport { ProgrammingExerciseServerSideTask } from 'app/programming/shared/entities/programming-exercise-task.model';\nimport { Observable, catchError, of, tap } from 'rxjs';\nimport { Exercise } from 'app/exercise/shared/entities/exercise/exercise.model';\nimport { ProgrammingExerciseTask } from 'app/programming/manage/grading/tasks/programming-exercise-task';\nimport { ProgrammingExercise } from 'app/programming/shared/entities/programming-exercise.model';\nimport { Course } from 'app/course/shared/entities/course.model';\nimport { roundValueSpecifiedByCourseSettings } from 'app/foundation/util/utils';\nimport { ProgrammingExerciseGradingStatistics, TestCaseStats } from 'app/programming/shared/entities/programming-exercise-test-case-statistics.model';\nimport { ProgrammingExerciseTestCase } from 'app/programming/shared/entities/programming-exercise-test-case.model';\nimport { ProgrammingExerciseGradingService, ProgrammingExerciseTestCaseUpdate } from 'app/programming/manage/services/programming-exercise-grading.service';\nimport { AlertService } from 'app/foundation/service/alert.service';\nimport { parseJson } from 'app/foundation/util/json.util';\nimport { map, mergeMap } from 'rxjs/operators';\nimport { cloneWith } from 'app/foundation/util/deep-clone.util';\n\n@Injectable()\nexport class ProgrammingExerciseTaskService {\n private http = inject(HttpClient);\n private alertService = inject(AlertService);\n private gradingService = inject(ProgrammingExerciseGradingService);\n\n exercise!: ProgrammingExercise; // set in configure() before any other method is called\n course!: Course; // set in configure() before any other method is called\n gradingStatistics!: ProgrammingExerciseGradingStatistics; // set in configure() before any other method is called\n\n maxPoints!: number; // set in configure() before any other method is called\n\n currentTasks!: ProgrammingExerciseTask[]; // populated by initializeTasks() during configure(); hasUnsavedChanges() guards against unconfigured access\n tasks!: ProgrammingExerciseTask[]; // populated by initializeTasks() during configure(); hasUnsavedChanges() guards against unconfigured access\n\n ignoreInactive = true;\n\n public resourceUrl = 'api/programming/programming-exercises';\n\n get totalWeights() {\n return sum(this.testCases.map(({ weight }) => weight ?? 0));\n }\n\n get testCases(): ProgrammingExerciseTestCase[] {\n return this.currentTasks.flatMap((task) => task.testCases);\n }\n\n public hasUnsavedChanges(): boolean {\n // service has not been configured yet\n if (!this.tasks || !this.currentTasks) {\n return false;\n }\n\n return this.testCases.some(({ changed }) => changed);\n }\n\n /**\n * Updates all resulting task points\n */\n public updateTasks(): ProgrammingExerciseTask[] {\n this.updateAllTaskPoints();\n return this.currentTasks;\n }\n\n /**\n * Toggles whether inactive test cases are shown and handled\n */\n public toggleIgnoreInactive() {\n this.ignoreInactive = !this.ignoreInactive;\n\n this.setCurrentTasks();\n this.updateAllTaskPoints();\n }\n\n /**\n * Configures the task service with the required models and returns the initial list of tasks\n * @param exercise for point calculation\n * @param course for correct rounding\n * @param gradingStatistics corresponding to the test cases\n */\n public configure(exercise: ProgrammingExercise, course: Course, gradingStatistics: ProgrammingExerciseGradingStatistics): Observable {\n this.exercise = exercise;\n this.course = course;\n this.gradingStatistics = gradingStatistics;\n\n this.maxPoints = this.exercise.maxPoints ?? 0;\n\n return this.getTasksByExercise(this.exercise).pipe(map(this.initializeTasks));\n }\n\n /**\n * Save the test case configuration contained in each task\n */\n public saveTestCases(): Observable {\n const testCasesToUpdate = this.currentTasks\n .map((task) => task.testCases)\n .flatMap((testcase) => testcase)\n .filter((test) => test.changed);\n\n const testCaseUpdates = testCasesToUpdate.map((testCase) => ProgrammingExerciseTestCaseUpdate.from(testCase));\n const testCaseUpdatesWeightSum = sum(testCasesToUpdate.map((test) => test.weight));\n\n if (testCaseUpdatesWeightSum < 0) {\n this.alertService.error(`artemisApp.programmingExercise.configureGrading.testCases.weightSumError`);\n return of(undefined);\n }\n\n return this.gradingService.updateTestCase(this.exercise.id!, testCaseUpdates).pipe(\n tap((updatedTestCases: ProgrammingExerciseTestCase[]) => {\n // Update changed flag for test cases\n const updatedTestCaseIDs = updatedTestCases.map((updatedTest) => updatedTest.id);\n this.testCases\n .filter((test) => updatedTestCaseIDs.includes(test.id))\n .forEach((test) => {\n test.changed = false;\n });\n this.gradingService.notifyTestCases(this.exercise.id!, this.testCases);\n\n // Find out if there are test cases that were not updated, show an error.\n const notUpdatedTestCases = this.testCases.filter((test) => test.changed);\n if (notUpdatedTestCases.length) {\n this.alertService.error(`artemisApp.programmingExercise.configureGrading.testCases.couldNotBeUpdated`, { testCases: notUpdatedTestCases });\n } else {\n this.alertService.success(`artemisApp.programmingExercise.configureGrading.testCases.updated`);\n }\n }),\n catchError((error: HttpErrorResponse) => {\n if (error.status === 400 && error.error?.errorKey) {\n this.alertService.error(`artemisApp.programmingExercise.configureGrading.testCases.` + error.error.errorKey, error.error);\n } else {\n this.alertService.error(`artemisApp.programmingExercise.configureGrading.testCases.couldNotBeUpdated`, { testCases: testCasesToUpdate });\n }\n return of(null);\n }),\n );\n }\n\n /**\n * Reset all test cases.\n */\n public resetTestCases(): Observable {\n return this.gradingService.resetTestCases(this.exercise.id!).pipe(\n tap((testCases: ProgrammingExerciseTestCase[]) => {\n this.alertService.success(`artemisApp.programmingExercise.configureGrading.testCases.resetSuccessful`);\n this.gradingService.notifyTestCases(this.exercise.id!, testCases);\n }),\n catchError(() => {\n this.alertService.error(`artemisApp.programmingExercise.configureGrading.testCases.resetFailed`);\n return of(undefined);\n }),\n mergeMap(() => {\n return this.getTasksByExercise(this.exercise).pipe(map(this.initializeTasks));\n }),\n );\n }\n\n /**\n * Remove duplicate test cases from the tasks array if instructor has added the same test case to multiple tasks\n * Test cases contained in multiple tasks get attributed to the first task they are found in\n */\n private removeDuplicateTestCasesFromTasks() {\n const testCaseSet = new Set(); // Assuming 'id' is a unique identifier for ProgrammingExerciseTestCase\n\n for (const task of this.tasks) {\n const uniqueTestCases: ProgrammingExerciseTestCase[] = [];\n for (const testCase of task.testCases) {\n if (!testCaseSet.has(testCase.id!)) {\n testCaseSet.add(testCase.id!);\n uniqueTestCases.push(testCase);\n }\n }\n task.testCases = uniqueTestCases;\n }\n\n // Remove empty test cases\n this.tasks = this.tasks.filter((tasks) => tasks.testCases.length > 0);\n }\n\n private initializeTasks = (serverSideTasks: ProgrammingExerciseServerSideTask[]): ProgrammingExerciseTask[] => {\n this.tasks = serverSideTasks.map((task) => task as ProgrammingExerciseTask);\n\n this.tasks = this.tasks // configureTestCases needs tasks to be set be to be able to use the testCases getter\n .map((task) => cloneWith(task, { testCases: task.testCases ?? [] }))\n .map(this.addGradingStats);\n\n this.removeDuplicateTestCasesFromTasks();\n this.setCurrentTasks();\n this.updateAllTaskPoints();\n\n return this.currentTasks;\n };\n\n /*\n * Set the tasks currently displayed. Used for showing of active/inactive test cases\n */\n private setCurrentTasks = () => {\n const tasksCopy = parseJson(JSON.stringify(this.tasks));\n if (this.ignoreInactive) {\n this.currentTasks = tasksCopy.filter((task) => {\n task.testCases = task.testCases.filter((test) => test.active);\n return task.testCases.length;\n });\n } else {\n this.currentTasks = tasksCopy;\n }\n\n // Initialize tasks after filtering/showing of inactive test cases\n this.currentTasks.forEach(this.initializeTask);\n };\n\n private getTasksByExercise = (exercise: Exercise): Observable => {\n return this.http.get(`${this.resourceUrl}/${exercise.id}/tasks-with-unassigned-test-cases`);\n };\n\n private addGradingStats = (task: ProgrammingExerciseTask): ProgrammingExerciseTask => {\n task.stats = new TestCaseStats();\n const testCaseStatsMap = this.gradingStatistics?.testCaseStatsMap;\n if (!testCaseStatsMap) {\n return task;\n }\n\n for (const testCase of task.testCases) {\n const testStats = testCaseStatsMap[testCase.testName!];\n if (!testStats) {\n continue;\n }\n\n testCase.testCaseStats = testStats;\n task.stats.numPassed += testStats.numPassed;\n task.stats.numFailed += testStats.numFailed;\n }\n\n return task;\n };\n\n /**\n * Initialized task values according to the values of its test cases\n * @param task to be initialized\n */\n public initializeTask = (task: ProgrammingExerciseTask): ProgrammingExerciseTask => {\n task.weight = sum(task.testCases.map((testCase) => testCase.weight ?? 0));\n task.bonusMultiplier = getSingleValue(task.testCases.map((testCase) => testCase.bonusMultiplier));\n task.bonusPoints = sum(task.testCases.map((testCase) => testCase.bonusPoints ?? 0));\n task.visibility = getSingleValue(task.testCases.map((testCase) => testCase.visibility));\n task.type = getSingleValue(task.testCases.map((testCase) => testCase.type)) ?? 'MIXED';\n\n return task;\n };\n\n private updateAllTaskPoints = () => {\n this.currentTasks.forEach(this.updateTaskPoints);\n };\n\n private updateTaskPoints = (task: ProgrammingExerciseTask) => {\n const [resultingPoints, resultingPointsPercent] = this.calculatePoints(task);\n\n task.resultingPoints = resultingPoints;\n task.resultingPointsPercent = resultingPointsPercent;\n task.testCases.forEach((test) => {\n const [resultingPoints, resultingPointsPercent] = this.calculatePoints(test);\n test.resultingPoints = resultingPoints;\n test.resultingPointsPercent = resultingPointsPercent;\n });\n return task;\n };\n\n private calculatePoints = (item: Pick): [number, number] => {\n const weight = Number(item.weight ?? 0);\n const multiplier = Number(item.bonusMultiplier ?? 1);\n const bonusPoints = Number(item.bonusPoints ?? 0);\n\n const points = ((weight * multiplier) / this.totalWeights) * this.maxPoints + bonusPoints;\n const resultingPoints = roundValueSpecifiedByCourseSettings(points, this.course);\n\n const relativePoints = (points / this.maxPoints) * 100;\n const resultingPointsPercent = roundValueSpecifiedByCourseSettings(relativePoints, this.course);\n\n return [resultingPoints, resultingPointsPercent];\n };\n}\n\n/**\n * Gets a single value from a list if there is only one unique value. otherwise returns undefined\n * @param values\n */\nconst getSingleValue = (values: T[]): T | undefined => {\n const set = new Set(values);\n if (set.size == 1) {\n return set.values().next().value;\n }\n return undefined;\n};\n\nconst sum = (values: (number | undefined)[]): number => {\n return (values ?? []).reduce((a, b) => Number(a) + Number(b), 0);\n};\n" +} diff --git a/web/public/bundles/artemis/code/479edde689e043f8dc79b769d66e59d0a74cae34.json b/web/public/bundles/artemis/code/479edde689e043f8dc79b769d66e59d0a74cae34.json new file mode 100644 index 00000000..f172877c --- /dev/null +++ b/web/public/bundles/artemis/code/479edde689e043f8dc79b769d66e59d0a74cae34.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "479edde689e043f8dc79b769d66e59d0a74cae34", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/build_plan/JenkinsPipelineScriptCreator.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.jenkins.service.build_plan;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\n\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.nio.charset.Charset;\nimport java.nio.file.Path;\nimport java.util.HashMap;\nimport java.util.Locale;\nimport java.util.Map;\nimport java.util.Optional;\n\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.core.io.Resource;\nimport org.springframework.stereotype.Component;\n\nimport de.tum.cit.aet.artemis.core.config.ProgrammingLanguageConfiguration;\nimport de.tum.cit.aet.artemis.core.service.ResourceLoaderService;\nimport de.tum.cit.aet.artemis.jenkins.exception.JenkinsException;\nimport de.tum.cit.aet.artemis.localci.service.ci.AbstractBuildPlanCreator;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingExercise;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingLanguage;\nimport de.tum.cit.aet.artemis.programming.domain.ProjectType;\nimport de.tum.cit.aet.artemis.programming.repository.BuildPlanRepository;\nimport de.tum.cit.aet.artemis.programming.repository.ProgrammingExerciseBuildConfigRepository;\n\n// REMOVE_IN_ARTEMIS_11 (Jenkins): Jenkins support is removed in Artemis 11, delete with the whole jenkins module\n@Profile(PROFILE_CORE)\n@Component\n@Lazy\npublic class JenkinsPipelineScriptCreator extends AbstractBuildPlanCreator {\n\n private static final String REPLACE_DOCKER_IMAGE_NAME = \"#dockerImage\";\n\n private static final String REPLACE_DOCKER_ARGS = \"#dockerArgs\";\n\n private static final String REPLACE_IS_STATIC_CODE_ANALYSIS_ENABLED = \"#isStaticCodeAnalysisEnabled\";\n\n private final ResourceLoaderService resourceLoaderService;\n\n private final ProgrammingLanguageConfiguration programmingLanguageConfiguration;\n\n public JenkinsPipelineScriptCreator(final BuildPlanRepository buildPlanRepository, final ProgrammingExerciseBuildConfigRepository programmingExerciseBuildConfigRepository,\n final ResourceLoaderService resourceLoaderService, final ProgrammingLanguageConfiguration programmingLanguageConfiguration) {\n super(buildPlanRepository, programmingExerciseBuildConfigRepository);\n\n this.resourceLoaderService = resourceLoaderService;\n this.programmingLanguageConfiguration = programmingLanguageConfiguration;\n }\n\n @Override\n protected String generateDefaultBuildPlan(final ProgrammingExercise exercise) {\n final ProgrammingLanguage programmingLanguage = exercise.getProgrammingLanguage();\n final Optional projectType = Optional.ofNullable(exercise.getProjectType());\n\n final String pipelineScript = loadPipelineScript(exercise, projectType);\n\n final boolean isStaticCodeAnalysisEnabled = exercise.isStaticCodeAnalysisEnabled();\n final var replacements = getReplacements(programmingLanguage, projectType, isStaticCodeAnalysisEnabled);\n\n return replaceVariablesInBuildPlanTemplate(replacements, pipelineScript);\n }\n\n /**\n * Loads the template for the {@code pipeline.groovy} script.\n *\n * @param exercise The exercise for which a pipeline should be loaded.\n * @param projectType The project type of the exercise.\n * @return The template for a {@code pipeline.groovy} script.\n */\n private String loadPipelineScript(final ProgrammingExercise exercise, final Optional projectType) {\n final ProgrammingLanguage programmingLanguage = exercise.getProgrammingLanguage();\n final boolean isSequentialTestRuns = programmingExerciseBuildConfigRepository.getProgrammingExerciseBuildConfigElseThrow(exercise.getId()).hasSequentialTestRuns();\n\n final Path pipelinePath = buildResourcePath(programmingLanguage, projectType, isSequentialTestRuns);\n final Resource resource = resourceLoaderService.getResource(pipelinePath);\n\n try (InputStream inputStream = resource.getInputStream()) {\n return new String(inputStream.readAllBytes(), Charset.defaultCharset());\n }\n catch (IOException e) {\n throw new JenkinsException(\"Could not load pipeline script definition.\", e);\n }\n }\n\n private Map getReplacements(final ProgrammingLanguage programmingLanguage, final Optional projectType, final boolean isStaticCodeAnalysisEnabled) {\n final Map replacements = new HashMap<>();\n\n replacements.put(REPLACE_IS_STATIC_CODE_ANALYSIS_ENABLED, String.valueOf(isStaticCodeAnalysisEnabled));\n replacements.put(REPLACE_DOCKER_IMAGE_NAME, programmingLanguageConfiguration.getImage(programmingLanguage, projectType));\n replacements.put(REPLACE_DOCKER_ARGS, String.join(\" \", programmingLanguageConfiguration.getDefaultDockerFlags()));\n\n return replacements;\n }\n\n private Path buildResourcePath(final ProgrammingLanguage programmingLanguage, final Optional projectType, final boolean isSequentialRuns) {\n if (programmingLanguage == null) {\n throw new IllegalArgumentException(\"ProgrammingLanguage should not be null\");\n }\n\n final var pipelineScriptFilename = \"pipeline.groovy\";\n final var regularOrSequentialDir = isSequentialRuns ? \"sequentialRuns\" : \"regularRuns\";\n final var programmingLanguageName = programmingLanguage.name().toLowerCase(Locale.ROOT);\n final Optional projectTypeName = getProjectTypeName(programmingLanguage, projectType);\n\n Path resourcePath = Path.of(\"templates\", \"jenkins\", programmingLanguageName);\n if (projectTypeName.isPresent()) {\n resourcePath = resourcePath.resolve(projectTypeName.get());\n }\n\n return resourcePath.resolve(regularOrSequentialDir).resolve(pipelineScriptFilename);\n }\n\n private Optional getProjectTypeName(final ProgrammingLanguage programmingLanguage, final Optional projectType) {\n // Set a project type name in case the chosen Jenkinsfile also depend on the project type\n if (projectType.isPresent() && ProgrammingLanguage.C.equals(programmingLanguage)) {\n return Optional.of(projectType.get().name().toLowerCase(Locale.ROOT));\n }\n else if (projectType.isPresent() && projectType.get().isGradle()) {\n return Optional.of(\"gradle\");\n }\n else if (projectType.isPresent() && projectType.get().equals(ProjectType.MAVEN_BLACKBOX)) {\n return Optional.of(\"blackbox\");\n }\n // Maven is also the project type for all other Java exercises (also if the project type is not present)\n else if (ProgrammingLanguage.JAVA.equals(programmingLanguage)) {\n return Optional.of(\"maven\");\n }\n else {\n return Optional.empty();\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/4983a7552d5cacb0ff88c54deba4e949e6ba2a2b.json b/web/public/bundles/artemis/code/4983a7552d5cacb0ff88c54deba4e949e6ba2a2b.json new file mode 100644 index 00000000..3f9120ab --- /dev/null +++ b/web/public/bundles/artemis/code/4983a7552d5cacb0ff88c54deba4e949e6ba2a2b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "4983a7552d5cacb0ff88c54deba4e949e6ba2a2b", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/dto/lectureingestionwebhook/PyrisLectureUnitWebhookDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.iris.service.pyris.dto.lectureingestionwebhook;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.videosource.domain.VideoSourceType;\n\n/**\n * Represents a webhook data transfer object for lecture units in the Pyris system.\n * This DTO is used to encapsulate the information related to updates of lecture units,\n * providing necessary details such as lecture and course identifiers, names, and descriptions.\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record PyrisLectureUnitWebhookDTO(String pdfFile, int attachmentVersion, PyrisLectureTranscriptionDTO transcription, long lectureUnitId, String lectureUnitName,\n long lectureId, String lectureName, long courseId, String courseName, String courseDescription, String lectureUnitLink, String videoLink, VideoSourceType videoSourceType,\n String contentFingerprint, boolean forceReingest, String courseLanguage) {\n\n /**\n * Compatibility constructor for callers that do not request a forced re-ingestion\n * (deletions and regular ingestion dispatches).\n *\n * @param pdfFile base64 encoded PDF\n * @param attachmentVersion version of the attachment\n * @param transcription existing transcription, if any\n * @param lectureUnitId id of the lecture unit\n * @param lectureUnitName name of the lecture unit\n * @param lectureId id of the lecture\n * @param lectureName name of the lecture\n * @param courseId id of the course\n * @param courseName name of the course\n * @param courseDescription description of the course\n * @param lectureUnitLink link to the lecture unit\n * @param videoLink link to the video\n * @param videoSourceType type of the video source\n * @param contentFingerprint fingerprint of the unit's source content\n */\n public PyrisLectureUnitWebhookDTO(String pdfFile, int attachmentVersion, PyrisLectureTranscriptionDTO transcription, long lectureUnitId, String lectureUnitName, long lectureId,\n String lectureName, long courseId, String courseName, String courseDescription, String lectureUnitLink, String videoLink, VideoSourceType videoSourceType,\n String contentFingerprint) {\n this(pdfFile, attachmentVersion, transcription, lectureUnitId, lectureUnitName, lectureId, lectureName, courseId, courseName, courseDescription, lectureUnitLink, videoLink,\n videoSourceType, contentFingerprint, false, null);\n }\n\n /**\n * A TUM Live video link is a signed playlist that works as a credential for seven hours, and the PDF can be large, so neither is written to log output.\n */\n @Override\n public String toString() {\n return \"PyrisLectureUnitWebhookDTO[pdfFile=\" + (pdfFile == null ? null : \"[\" + pdfFile.length() + \" chars]\") + \", attachmentVersion=\" + attachmentVersion\n + \", transcription=\" + transcription + \", lectureUnitId=\" + lectureUnitId + \", lectureUnitName=\" + lectureUnitName + \", lectureId=\" + lectureId + \", lectureName=\"\n + lectureName + \", courseId=\" + courseId + \", courseName=\" + courseName + \", courseDescription=\" + courseDescription + \", lectureUnitLink=\" + lectureUnitLink\n + \", videoLink=\" + (videoLink == null ? null : \"[REDACTED]\") + \", videoSourceType=\" + videoSourceType + \", contentFingerprint=\" + contentFingerprint\n + \", forceReingest=\" + forceReingest + \", courseLanguage=\" + courseLanguage + \"]\";\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/49b95fedcbc60c1e245c88155bdb17080d566b7b.json b/web/public/bundles/artemis/code/49b95fedcbc60c1e245c88155bdb17080d566b7b.json new file mode 100644 index 00000000..14129aee --- /dev/null +++ b/web/public/bundles/artemis/code/49b95fedcbc60c1e245c88155bdb17080d566b7b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "49b95fedcbc60c1e245c88155bdb17080d566b7b", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/dto/LectureUnitForCompetencyDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.atlas.dto;\n\nimport java.time.ZonedDateTime;\n\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.lecture.domain.AttachmentVideoUnit;\nimport de.tum.cit.aet.artemis.lecture.domain.LectureUnit;\nimport de.tum.cit.aet.artemis.lecture.domain.OnlineUnit;\nimport de.tum.cit.aet.artemis.lecture.domain.TextUnit;\n\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record LectureUnitForCompetencyDTO(Long id, LectureReferenceDTO lecture, String name, @Nullable ZonedDateTime releaseDate, Boolean completed, Boolean visibleToStudents,\n String type, @Nullable String description, @Nullable String source, @Nullable String content, @Nullable AttachmentForCompetencyDTO attachment,\n @Nullable String videoSource) {\n\n /**\n * Maps a lecture unit to a competency lecture unit DTO.\n *\n * @param lectureUnit the lecture unit to map\n * @return the DTO or null if the lecture unit is null\n */\n @Nullable\n public static LectureUnitForCompetencyDTO of(@Nullable LectureUnit lectureUnit) {\n if (lectureUnit == null) {\n return null;\n }\n\n String description = null;\n String source = null;\n String content = null;\n AttachmentForCompetencyDTO attachment = null;\n String videoSource = null;\n\n if (lectureUnit instanceof AttachmentVideoUnit attachmentVideoUnit) {\n description = attachmentVideoUnit.getDescription();\n attachment = AttachmentForCompetencyDTO.of(attachmentVideoUnit.getAttachment());\n videoSource = attachmentVideoUnit.getVideoSource();\n }\n else if (lectureUnit instanceof OnlineUnit onlineUnit) {\n description = onlineUnit.getDescription();\n source = onlineUnit.getSource();\n }\n else if (lectureUnit instanceof TextUnit textUnit) {\n content = textUnit.getContent();\n }\n\n return new LectureUnitForCompetencyDTO(lectureUnit.getId(), LectureReferenceDTO.of(lectureUnit.getLecture()), lectureUnit.getName(), lectureUnit.getReleaseDate(),\n lectureUnit.isCompleted(), lectureUnit.isVisibleToStudents(), lectureUnit.getType(), description, source, content, attachment, videoSource);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/49bec32cb61dfa748427bbb8fe53c279c742dca6.json b/web/public/bundles/artemis/code/49bec32cb61dfa748427bbb8fe53c279c742dca6.json new file mode 100644 index 00000000..b4404699 --- /dev/null +++ b/web/public/bundles/artemis/code/49bec32cb61dfa748427bbb8fe53c279c742dca6.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "49bec32cb61dfa748427bbb8fe53c279c742dca6", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/domain/PlagiarismComparison.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.plagiarism.domain;\n\nimport java.io.File;\nimport java.util.HashSet;\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\nimport jakarta.persistence.CascadeType;\nimport jakarta.persistence.CollectionTable;\nimport jakarta.persistence.Column;\nimport jakarta.persistence.ElementCollection;\nimport jakarta.persistence.Entity;\nimport jakarta.persistence.FetchType;\nimport jakarta.persistence.JoinColumn;\nimport jakarta.persistence.ManyToOne;\nimport jakarta.persistence.OneToMany;\nimport jakarta.persistence.Table;\n\nimport org.jspecify.annotations.NonNull;\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonIgnore;\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.jplag.JPlagComparison;\nimport de.tum.cit.aet.artemis.core.domain.DomainObject;\nimport de.tum.cit.aet.artemis.core.domain.Parent;\nimport de.tum.cit.aet.artemis.exercise.domain.Exercise;\n\n/**\n * Pair of compared student submissions whose similarity is above a certain threshold.\n */\n@Entity\n@Table(name = \"plagiarism_comparison\")\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic class PlagiarismComparison extends DomainObject implements Comparable {\n\n /**\n * The result this comparison belongs to.\n */\n @ManyToOne(targetEntity = PlagiarismResult.class)\n @JoinColumn(nullable = false)\n @Parent\n private PlagiarismResult plagiarismResult;\n\n /**\n * The two submissions compared, each naming this comparison and the side it is on.\n *

\n * The comparison used to name them instead, through {@code submission_a_id} and {@code submission_b_id}. That put\n * the only pointer to a submission on the other row, so a submission whose comparison stopped naming it was\n * reachable from nowhere, and it made the two tables reference each other, which every deletion had to unpick by\n * clearing one side first.\n *

\n * {@code CascadeType.ALL} is fine because a single comparison is never deleted on its own: comparisons are always\n * deleted all at once, so deletion can cascade.\n */\n @JsonIgnoreProperties(value = \"plagiarismComparison\", allowSetters = true)\n @OneToMany(mappedBy = \"plagiarismComparison\", cascade = CascadeType.ALL, orphanRemoval = true, fetch = FetchType.LAZY)\n private Set submissions = new HashSet<>();\n\n /**\n * List of matches between both submissions involved in this comparison.\n */\n @CollectionTable(name = \"plagiarism_comparison_matches\", joinColumns = @JoinColumn(name = \"plagiarism_comparison_id\"))\n @ElementCollection(fetch = FetchType.EAGER)\n protected Set matches;\n\n /**\n * Similarity of the compared submissions in percentage (between 0 and 100).\n */\n @Column(name = \"similarity\")\n private double similarity;\n\n /**\n * Status of this submission comparison.\n */\n @Column(name = \"status\")\n private PlagiarismStatus status = PlagiarismStatus.NONE;\n\n /**\n * Create a new PlagiarismComparison instance from an existing JPlagComparison object.\n *\n * @param jplagComparison JPlag comparison to map to the new PlagiarismComparison instance\n * @param exercise the exercise to which the comparison belongs, either Text or Programming\n * @param submissionDirectory the directory to which all student submissions have been downloaded / stored\n * @return a new instance with the content of the JPlagComparison\n */\n public static PlagiarismComparison fromJPlagComparison(JPlagComparison jplagComparison, Exercise exercise, File submissionDirectory) {\n PlagiarismComparison comparison = new PlagiarismComparison();\n\n comparison.setSubmissionA(PlagiarismSubmission.fromJPlagSubmission(jplagComparison.firstSubmission(), exercise, submissionDirectory));\n comparison.setSubmissionB(PlagiarismSubmission.fromJPlagSubmission(jplagComparison.secondSubmission(), exercise, submissionDirectory));\n comparison.setMatches(jplagComparison.matches().stream().map(PlagiarismMatch::fromJPlagMatch).collect(Collectors.toSet()));\n // Note: JPlag returns a value between 0 and 1, we assume and store a value between 0 and 100 (percentage) in the database\n comparison.setSimilarity(jplagComparison.similarity() * 100);\n comparison.setStatus(PlagiarismStatus.NONE);\n\n return comparison;\n }\n\n /**\n * Puts a submission on the first side of this comparison, replacing whatever was there.\n *\n * @param submissionA the submission to compare, or null to leave the side empty\n */\n public void setSubmissionA(PlagiarismSubmission submissionA) {\n setSubmission(PlagiarismComparisonSide.FIRST, submissionA);\n }\n\n /**\n * Puts a submission on the second side of this comparison, replacing whatever was there.\n *\n * @param submissionB the submission to compare, or null to leave the side empty\n */\n public void setSubmissionB(PlagiarismSubmission submissionB) {\n setSubmission(PlagiarismComparisonSide.SECOND, submissionB);\n }\n\n @Nullable\n @JsonIgnore\n public PlagiarismSubmission getSubmissionA() {\n return submissionOf(PlagiarismComparisonSide.FIRST);\n }\n\n @Nullable\n @JsonIgnore\n public PlagiarismSubmission getSubmissionB() {\n return submissionOf(PlagiarismComparisonSide.SECOND);\n }\n\n /**\n * Gets the submission on the first side of this comparison.\n *\n * @return the submission on the first side\n * @throws IllegalStateException if the first side is empty\n */\n @JsonIgnore\n public PlagiarismSubmission getSubmissionAElseThrow() {\n var submission = getSubmissionA();\n if (submission == null) {\n throw new IllegalStateException(\"Plagiarism comparison \" + getId() + \" has no submission on the first side\");\n }\n return submission;\n }\n\n /**\n * Gets the submission on the second side of this comparison.\n *\n * @return the submission on the second side\n * @throws IllegalStateException if the second side is empty\n */\n @JsonIgnore\n public PlagiarismSubmission getSubmissionBElseThrow() {\n var submission = getSubmissionB();\n if (submission == null) {\n throw new IllegalStateException(\"Plagiarism comparison \" + getId() + \" has no submission on the second side\");\n }\n return submission;\n }\n\n public Set getSubmissions() {\n return submissions;\n }\n\n private void setSubmission(PlagiarismComparisonSide side, PlagiarismSubmission submission) {\n submissions.removeIf(existing -> existing.getSide() == side);\n if (submission != null) {\n submission.setSide(side);\n submission.setPlagiarismComparison(this);\n submissions.add(submission);\n }\n }\n\n @Nullable\n private PlagiarismSubmission submissionOf(PlagiarismComparisonSide side) {\n return submissions.stream().filter(submission -> submission.getSide() == side).findFirst().orElse(null);\n }\n\n public PlagiarismResult getPlagiarismResult() {\n return plagiarismResult;\n }\n\n public void setPlagiarismResult(PlagiarismResult plagiarismResult) {\n this.plagiarismResult = plagiarismResult;\n }\n\n public Set getMatches() {\n return matches;\n }\n\n public void setMatches(Set matches) {\n this.matches = matches;\n }\n\n public double getSimilarity() {\n return similarity;\n }\n\n public void setSimilarity(double similarity) {\n this.similarity = similarity;\n }\n\n public PlagiarismStatus getStatus() {\n return status;\n }\n\n public void setStatus(PlagiarismStatus status) {\n this.status = status;\n }\n\n @Override\n public int compareTo(@NonNull PlagiarismComparison otherComparison) {\n return Double.compare(similarity, otherComparison.similarity);\n }\n\n @Override\n public String toString() {\n return \"PlagiarismComparison{\" + \"similarity=\" + similarity + \", status=\" + status + '}';\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/49d0a60ff25db1ff163966216e8ee82e97d9640f.json b/web/public/bundles/artemis/code/49d0a60ff25db1ff163966216e8ee82e97d9640f.json new file mode 100644 index 00000000..509514b3 --- /dev/null +++ b/web/public/bundles/artemis/code/49d0a60ff25db1ff163966216e8ee82e97d9640f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "49d0a60ff25db1ff163966216e8ee82e97d9640f", + "language": "typescript", + "path": "src/main/webapp/app/tutorialgroup/manage/tutorial-groups-configuration/crud/create-tutorial-groups-configuration/create-tutorial-groups-configuration.component.ts", + "schema": "codexray.code/1", + "text": "import { ChangeDetectionStrategy, Component, OnDestroy, OnInit, inject, signal } from '@angular/core';\nimport { AlertService } from 'app/foundation/service/alert.service';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { onError } from 'app/foundation/util/global.utils';\nimport { finalize, switchMap, take, takeUntil } from 'rxjs/operators';\nimport { HttpErrorResponse } from '@angular/common/http';\nimport { CourseManagementService } from 'app/course/manage/services/course-management.service';\nimport { Course } from 'app/course/shared/entities/course.model';\nimport { Subject } from 'rxjs';\nimport { CourseStorageService } from 'app/course/manage/services/course-storage.service';\nimport { LoadingIndicatorContainerComponent } from 'app/shared-ui/loading-indicator-container/loading-indicator-container.component';\nimport { TutorialGroupsConfigurationFormComponent } from '../tutorial-groups-configuration-form/tutorial-groups-configuration-form.component';\nimport { TutorialGroupsConfigurationService, TutorialGroupsConfigurationSettings } from 'app/tutorialgroup/manage/service/tutorial-groups-configuration.service';\nimport { tutorialGroupsConfigurationSaveObserver } from '../tutorial-groups-configuration-save.util';\n\n@Component({\n selector: 'jhi-create-tutorial-groups-configuration',\n templateUrl: './create-tutorial-groups-configuration.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [LoadingIndicatorContainerComponent, TutorialGroupsConfigurationFormComponent],\n})\nexport class CreateTutorialGroupsConfigurationComponent implements OnInit, OnDestroy {\n private activatedRoute = inject(ActivatedRoute);\n private router = inject(Router);\n private tutorialGroupsConfigurationService = inject(TutorialGroupsConfigurationService);\n private courseManagementService = inject(CourseManagementService);\n private alertService = inject(AlertService);\n private courseStorageService = inject(CourseStorageService);\n\n ngUnsubscribe = new Subject();\n\n readonly isLoading = signal(false);\n readonly course = signal(undefined!);\n\n ngOnInit(): void {\n this.isLoading.set(true);\n this.activatedRoute.paramMap\n .pipe(\n take(1),\n switchMap((params) => {\n const courseId = Number(params.get('courseId'));\n return this.courseManagementService.findForInstructor(courseId);\n }),\n finalize(() => this.isLoading.set(false)),\n takeUntil(this.ngUnsubscribe),\n )\n .subscribe({\n next: (courseResult) => {\n if (courseResult.body) {\n this.course.set(courseResult.body);\n }\n },\n error: (res: HttpErrorResponse) => onError(this.alertService, res),\n });\n }\n\n createTutorialsGroupConfiguration(formData: TutorialGroupsConfigurationSettings) {\n this.isLoading.set(true);\n this.tutorialGroupsConfigurationService\n .create(this.course().id!, formData)\n .pipe(\n finalize(() => {\n this.isLoading.set(false);\n }),\n takeUntil(this.ngUnsubscribe),\n )\n .subscribe(tutorialGroupsConfigurationSaveObserver(this.course, this.courseStorageService, this.router, this.alertService, 'tutorial-groups-checklist'));\n }\n\n ngOnDestroy(): void {\n this.ngUnsubscribe.next();\n this.ngUnsubscribe.complete();\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/49df9ce4774c692152e49c24161ddee50b10fb1d.json b/web/public/bundles/artemis/code/49df9ce4774c692152e49c24161ddee50b10fb1d.json new file mode 100644 index 00000000..c022166d --- /dev/null +++ b/web/public/bundles/artemis/code/49df9ce4774c692152e49c24161ddee50b10fb1d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "49df9ce4774c692152e49c24161ddee50b10fb1d", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamImportProgressNotifier.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exam.service;\n\nimport static de.tum.cit.aet.artemis.exam.web.ExamWebsocketTopics.IMPORT_PROGRESS;\n\nimport java.util.List;\n\nimport de.tum.cit.aet.artemis.communication.service.WebsocketMessagingService;\nimport de.tum.cit.aet.artemis.core.security.websocket.WebsocketUserDestination;\nimport de.tum.cit.aet.artemis.exam.domain.ExamImportProgressState;\nimport de.tum.cit.aet.artemis.exam.domain.ExerciseImportStatus;\nimport de.tum.cit.aet.artemis.exam.dto.ExamImportProgressDTO;\n\n/**\n * Emits live progress of a single exam (or exercise-group) import to the importing user over a websocket.\n *

\n * One instance is created per import request. It is intentionally a no-op when no {@code importId} or user login is\n * available (e.g. the internal {@link ExamImportService#importExamWithExercises(de.tum.cit.aet.artemis.exam.domain.Exam, long)}\n * path used by course-material import), so the import behaves exactly as before when nobody is listening for progress.\n *

\n * Sending is best-effort: {@link WebsocketMessagingService#sendMessageToUser} never throws, so a websocket problem can\n * never interrupt the actual import.\n */\nclass ExamImportProgressNotifier {\n\n private final WebsocketMessagingService websocketMessagingService;\n\n private final String userLogin;\n\n private final WebsocketUserDestination topic;\n\n private final boolean active;\n\n private int totalExercises;\n\n private int processedExercises;\n\n ExamImportProgressNotifier(WebsocketMessagingService websocketMessagingService, String userLogin, String importId) {\n this.websocketMessagingService = websocketMessagingService;\n this.userLogin = userLogin;\n this.topic = importId == null ? null : IMPORT_PROGRESS.at(importId);\n this.active = userLogin != null && importId != null;\n }\n\n /**\n * Announces the start of the import and the total number of exercises to process.\n *\n * @param totalExercises the total number of exercises that will be imported\n */\n void start(int totalExercises) {\n this.totalExercises = totalExercises;\n this.processedExercises = 0;\n sendRunning(null, null);\n }\n\n /**\n * Signals that the given exercise is now being imported (not yet counted as processed).\n *\n * @param exerciseTitle the title of the exercise being imported\n */\n void importing(String exerciseTitle) {\n sendRunning(exerciseTitle, ExerciseImportStatus.IMPORTING);\n }\n\n /**\n * Signals that the given exercise was imported successfully.\n *\n * @param exerciseTitle the title of the imported exercise\n */\n void imported(String exerciseTitle) {\n processedExercises++;\n sendRunning(exerciseTitle, ExerciseImportStatus.IMPORTED);\n }\n\n /**\n * Signals that the given exercise was cleanly skipped (nothing persisted).\n *\n * @param exerciseTitle the title of the skipped exercise\n */\n void skipped(String exerciseTitle) {\n processedExercises++;\n sendRunning(exerciseTitle, ExerciseImportStatus.SKIPPED);\n }\n\n /**\n * Signals that the given exercise failed partway and may be incomplete.\n *\n * @param exerciseTitle the title of the incomplete exercise\n */\n void incomplete(String exerciseTitle) {\n processedExercises++;\n sendRunning(exerciseTitle, ExerciseImportStatus.INCOMPLETE);\n }\n\n /**\n * Announces that the import finished, reporting the full set of skipped and incomplete exercises.\n *\n * @param skippedExercises titles of exercises that were cleanly skipped\n * @param incompleteExercises titles of exercises that failed partway and may be incomplete\n */\n void finished(List skippedExercises, List incompleteExercises) {\n if (!active) {\n return;\n }\n ExamImportProgressState state = skippedExercises.isEmpty() && incompleteExercises.isEmpty() ? ExamImportProgressState.COMPLETED\n : ExamImportProgressState.COMPLETED_WITH_ISSUES;\n websocketMessagingService.sendMessageToUser(userLogin, topic,\n new ExamImportProgressDTO(state, totalExercises, processedExercises, null, null, skippedExercises, incompleteExercises));\n }\n\n private void sendRunning(String exerciseTitle, ExerciseImportStatus status) {\n if (!active) {\n return;\n }\n websocketMessagingService.sendMessageToUser(userLogin, topic,\n new ExamImportProgressDTO(ExamImportProgressState.RUNNING, totalExercises, processedExercises, exerciseTitle, status, List.of(), List.of()));\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/4a073be8d77aeaf1396c617052b4704e658b2b3c.json b/web/public/bundles/artemis/code/4a073be8d77aeaf1396c617052b4704e658b2b3c.json new file mode 100644 index 00000000..bd6ca753 --- /dev/null +++ b/web/public/bundles/artemis/code/4a073be8d77aeaf1396c617052b4704e658b2b3c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "4a073be8d77aeaf1396c617052b4704e658b2b3c", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/text/dto/TextAssessmentEventDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.text.dto;\n\nimport java.io.Serializable;\nimport java.time.Instant;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.assessment.domain.FeedbackType;\nimport de.tum.cit.aet.artemis.text.domain.TextAssessmentEvent;\nimport de.tum.cit.aet.artemis.text.domain.TextBlockType;\n\n/**\n * DTO containing {@link TextAssessmentEvent} information.\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record TextAssessmentEventDTO(Long id, Long userId, Instant timestamp, TextAssessmentEventType eventType, FeedbackType feedbackType, TextBlockType segmentType,\n Long courseId, Long textExerciseId, Long participationId, Long submissionId) implements Serializable {\n\n /**\n * Converts a {@link TextAssessmentEvent} into a {@link TextAssessmentEventDTO}.\n *\n * @param event the event to convert\n * @return the converted DTO, or {@code null} if the event is {@code null}\n */\n public static TextAssessmentEventDTO of(TextAssessmentEvent event) {\n if (event == null) {\n return null;\n }\n return new TextAssessmentEventDTO(event.getId(), event.getUserId(), event.getTimestamp(), event.getEventType(), event.getFeedbackType(), event.getSegmentType(),\n event.getCourseId(), event.getTextExerciseId(), event.getParticipationId(), event.getSubmissionId());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/4a52e6d4f43951232bb9bfc4452f385fa070b5a8.json b/web/public/bundles/artemis/code/4a52e6d4f43951232bb9bfc4452f385fa070b5a8.json new file mode 100644 index 00000000..dc245e86 --- /dev/null +++ b/web/public/bundles/artemis/code/4a52e6d4f43951232bb9bfc4452f385fa070b5a8.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "4a52e6d4f43951232bb9bfc4452f385fa070b5a8", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/text/service/TextExerciseService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.text.service;\n\nimport java.util.List;\n\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.data.domain.Page;\nimport org.springframework.data.jpa.domain.Specification;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.core.dto.SearchResultPageDTO;\nimport de.tum.cit.aet.artemis.core.dto.pageablesearch.SearchTermPageableSearchDTO;\nimport de.tum.cit.aet.artemis.core.service.messaging.InstanceMessageSendService;\nimport de.tum.cit.aet.artemis.core.util.PageUtil;\nimport de.tum.cit.aet.artemis.exercise.service.ExerciseSpecificationService;\nimport de.tum.cit.aet.artemis.text.config.TextEnabled;\nimport de.tum.cit.aet.artemis.text.domain.TextExercise;\nimport de.tum.cit.aet.artemis.text.repository.TextExerciseRepository;\n\n@Conditional(TextEnabled.class)\n@Lazy\n@Service\npublic class TextExerciseService {\n\n private final TextExerciseRepository textExerciseRepository;\n\n private final ExerciseSpecificationService exerciseSpecificationService;\n\n private final InstanceMessageSendService instanceMessageSendService;\n\n public TextExerciseService(TextExerciseRepository textExerciseRepository, ExerciseSpecificationService exerciseSpecificationService,\n InstanceMessageSendService instanceMessageSendService) {\n this.textExerciseRepository = textExerciseRepository;\n this.exerciseSpecificationService = exerciseSpecificationService;\n this.instanceMessageSendService = instanceMessageSendService;\n }\n\n /**\n * Search for all text exercises fitting a {@link SearchTermPageableSearchDTO search query}. The result is paged,\n * meaning that there is only a predefined portion of the result returned to the user, so that the server doesn't\n * have to send hundreds/thousands of exercises if there are that many in Artemis.\n *\n * @param search The search query defining the search term and the size of the returned page\n * @param isCourseFilter Whether to search in the courses for exercises\n * @param isExamFilter Whether to search in the groups for exercises\n * @param user The user for whom to fetch all available exercises\n * @return A wrapper object containing a list of all found exercises and the total number of pages\n */\n public SearchResultPageDTO getAllOnPageWithSize(final SearchTermPageableSearchDTO search, final boolean isCourseFilter, final boolean isExamFilter,\n final User user) {\n if (!isCourseFilter && !isExamFilter) {\n return new SearchResultPageDTO<>(List.of(), 0);\n }\n final var pageable = PageUtil.createDefaultPageRequest(search, PageUtil.ColumnMapping.EXERCISE);\n final var searchTerm = search.getSearchTerm();\n Specification specification = exerciseSpecificationService.getExerciseSearchSpecification(searchTerm, isCourseFilter, isExamFilter, user, pageable);\n Page exercisePage = textExerciseRepository.findAll(specification, pageable);\n return new SearchResultPageDTO<>(exercisePage.getContent(), exercisePage.getTotalPages());\n }\n\n public void cancelScheduledOperations(long exerciseId) {\n instanceMessageSendService.sendTextExerciseScheduleCancel(exerciseId);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/4c95f53f2b8d457064a459472810fd8ef32be232.json b/web/public/bundles/artemis/code/4c95f53f2b8d457064a459472810fd8ef32be232.json new file mode 100644 index 00000000..2e3ffa36 --- /dev/null +++ b/web/public/bundles/artemis/code/4c95f53f2b8d457064a459472810fd8ef32be232.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "4c95f53f2b8d457064a459472810fd8ef32be232", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/dto/CourseNotificationRecipientDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.notification.dto;\n\nimport com.fasterxml.jackson.annotation.JsonIgnore;\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\n\n/**\n * DTO carrying the recipient fields needed to deliver a course notification across the broadcast channels\n * (web app, email, push). It decouples the broadcast pipeline from the JPA {@code User} entity: the\n * {@code CourseNotificationService} dispatcher converts the recipients once and passes this DTO down to the channels.\n *

\n * Used as the {@code recipient} context variable in the course-notification mail templates, so {@link #getName()}\n * must stay aligned with the {@code recipient.getName()} access in those templates.\n *

\n * The {@code testUser} flag is not part of the notification payload. The mail channel needs it, because a test user that\n * has not opted in to e-mail must not be sent one, which the mail layer can only decide if the flag reaches it.\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record CourseNotificationRecipientDTO(Long id, String login, String email, String langKey, String firstName, String lastName, @JsonIgnore boolean testUser) {\n\n /**\n * Returns the recipient's display name in the format used by the mail templates, falling back to the login when the account\n * has no name (see {@link User#displayName}).\n */\n public String getName() {\n return User.displayName(firstName, lastName, login);\n }\n\n public static CourseNotificationRecipientDTO from(User user) {\n return new CourseNotificationRecipientDTO(user.getId(), user.getLogin(), user.getEmail(), user.getLangKey(), user.getFirstName(), user.getLastName(), user.isTestUser());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/4ccf924c245450536ca725081d6ab2a36d9c6a2b.json b/web/public/bundles/artemis/code/4ccf924c245450536ca725081d6ab2a36d9c6a2b.json new file mode 100644 index 00000000..c36e0e94 --- /dev/null +++ b/web/public/bundles/artemis/code/4ccf924c245450536ca725081d6ab2a36d9c6a2b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "4ccf924c245450536ca725081d6ab2a36d9c6a2b", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/dto/chat/PyrisChatStatusUpdateDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.iris.service.pyris.dto.chat;\n\nimport java.util.List;\n\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\nimport com.fasterxml.jackson.annotation.JsonProperty;\n\nimport de.tum.cit.aet.artemis.admin.domain.LLMRequest;\nimport de.tum.cit.aet.artemis.iris.service.pyris.dto.status.PyrisActivityDTO;\nimport de.tum.cit.aet.artemis.iris.service.pyris.dto.status.PyrisRunState;\nimport de.tum.cit.aet.artemis.iris.service.pyris.dto.status.PyrisStatusErrorDTO;\n\n/**\n * A status update Pyris sends while a chat run is in progress.\n *

\n * {@code activities} is the snapshot of every step of the run, for the live view. {@code messageActivities} holds the steps that ran since the previous assistant\n * message of the run; it comes with an assistant message (interim or final), which stores exactly these steps, so each message shows its own. Pyris versions\n * without it leave it {@code null}, and the final message then stores the whole run.\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record PyrisChatStatusUpdateDTO(@Nullable String result, PyrisRunState runState, @Nullable PyrisStatusErrorDTO error, @Nullable String sessionTitle,\n @Nullable List suggestions, @Nullable List tokens, @Nullable String partialResult, @Nullable Integer partialSeq,\n @Nullable List activities, @Nullable Integer activitySeq, @JsonProperty(\"final\") @Nullable Boolean finalResult,\n @Nullable PyrisSuggestedContextDTO suggestedContext, @Nullable PyrisCompactionDTO compaction, @Nullable List messageActivities) {\n\n public PyrisChatStatusUpdateDTO(@Nullable String result, PyrisRunState runState, @Nullable PyrisStatusErrorDTO error, @Nullable String sessionTitle,\n @Nullable List suggestions, @Nullable List tokens, @Nullable String partialResult, @Nullable Integer partialSeq,\n @Nullable List activities, @Nullable Integer activitySeq, @Nullable Boolean finalResult, @Nullable PyrisSuggestedContextDTO suggestedContext,\n @Nullable PyrisCompactionDTO compaction) {\n this(result, runState, error, sessionTitle, suggestions, tokens, partialResult, partialSeq, activities, activitySeq, finalResult, suggestedContext, compaction, null);\n }\n\n public PyrisChatStatusUpdateDTO(@Nullable String result, PyrisRunState runState, @Nullable PyrisStatusErrorDTO error, @Nullable String sessionTitle,\n @Nullable List suggestions, @Nullable List tokens, @Nullable String partialResult, @Nullable Integer partialSeq,\n @Nullable List activities, @Nullable Integer activitySeq, @Nullable Boolean finalResult) {\n this(result, runState, error, sessionTitle, suggestions, tokens, partialResult, partialSeq, activities, activitySeq, finalResult, null, null, null);\n }\n\n public PyrisChatStatusUpdateDTO(@Nullable String result, PyrisRunState runState, @Nullable PyrisStatusErrorDTO error, @Nullable String sessionTitle,\n @Nullable List suggestions, @Nullable List tokens, @Nullable String partialResult, @Nullable Integer partialSeq,\n @Nullable List activities, @Nullable Integer activitySeq) {\n this(result, runState, error, sessionTitle, suggestions, tokens, partialResult, partialSeq, activities, activitySeq, null, null, null, null);\n }\n\n public PyrisChatStatusUpdateDTO(@Nullable String result, PyrisRunState runState, @Nullable PyrisStatusErrorDTO error, @Nullable String sessionTitle,\n @Nullable List suggestions, @Nullable List tokens) {\n this(result, runState, error, sessionTitle, suggestions, tokens, null, null, null, null, null, null, null, null);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/4cebd008c8a2704e329e983f195250f346a53443.json b/web/public/bundles/artemis/code/4cebd008c8a2704e329e983f195250f346a53443.json new file mode 100644 index 00000000..7558558f --- /dev/null +++ b/web/public/bundles/artemis/code/4cebd008c8a2704e329e983f195250f346a53443.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "4cebd008c8a2704e329e983f195250f346a53443", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/TumLiveUploadService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.lecture.service;\n\nimport java.io.InputStream;\nimport java.security.SecureRandom;\nimport java.time.Duration;\nimport java.time.ZonedDateTime;\nimport java.util.Base64;\nimport java.util.Collection;\nimport java.util.HashSet;\nimport java.util.List;\nimport java.util.Optional;\nimport java.util.Set;\nimport java.util.concurrent.atomic.AtomicReference;\nimport java.util.stream.Collectors;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.beans.factory.annotation.Value;\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.event.EventListener;\nimport org.springframework.http.HttpStatus;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.core.exception.ConflictException;\nimport de.tum.cit.aet.artemis.core.service.distributed.api.DistributedDataProvider;\nimport de.tum.cit.aet.artemis.core.service.distributed.api.map.DistributedMap;\nimport de.tum.cit.aet.artemis.lecture.config.LectureEnabled;\nimport de.tum.cit.aet.artemis.lecture.domain.AttachmentVideoUnit;\nimport de.tum.cit.aet.artemis.lecture.domain.TumLiveRecordingCleanup;\nimport de.tum.cit.aet.artemis.lecture.domain.TumLiveUnitUpload;\nimport de.tum.cit.aet.artemis.lecture.dto.TumLiveUploadStateDTO;\nimport de.tum.cit.aet.artemis.lecture.repository.AttachmentVideoUnitRepository;\nimport de.tum.cit.aet.artemis.lecture.repository.TumLiveRecordingCleanupRepository;\nimport de.tum.cit.aet.artemis.lecture.repository.TumLiveUnitUploadRepository;\nimport de.tum.cit.aet.artemis.videosource.api.GocastBindingApi;\nimport de.tum.cit.aet.artemis.videosource.domain.event.GocastGrantRevokingEvent;\nimport de.tum.cit.aet.artemis.videosource.dto.GocastRecordingDTO;\nimport de.tum.cit.aet.artemis.videosource.dto.GocastUploadConnectionDTO;\nimport de.tum.cit.aet.artemis.videosource.dto.GocastUploadTargetDTO;\nimport de.tum.cit.aet.artemis.videosource.service.GocastIntegrationException;\n\n/**\n * Uploads the video of an attachment video unit to the connected TUM.Live course. Artemis streams the file to TUM.Live and attaches the\n * converted recording in the background (see {@link TumLiveUploadScheduler}), so nothing depends on the page staying open. Each upload goes into a new\n * TUM.Live lecture; a replaced, failed or discarded one is deleted there through the cleanup queue.\n */\n@Conditional(LectureEnabled.class)\n@Lazy\n@Service\npublic class TumLiveUploadService {\n\n private static final Logger log = LoggerFactory.getLogger(TumLiveUploadService.class);\n\n private static final String ENTITY_NAME = \"tumLiveUpload\";\n\n private static final String NOT_CONNECTED_ERROR = \"tumLiveNotConnected\";\n\n private static final Duration BLOCKED_RETRY = Duration.ofDays(1);\n\n /** When a deletion is tried again after TUM.Live could not be reached, so a failing entry does not keep the entries after it from being tried. */\n private static final Duration UNAVAILABLE_RETRY = Duration.ofMinutes(5);\n\n private static final String STILL_SHOWN = \"A lecture unit still shows this video.\";\n\n private static final SecureRandom RANDOM = new SecureRandom();\n\n private final TumLiveUnitUploadRepository uploadRepository;\n\n private final TumLiveRecordingCleanupRepository cleanupRepository;\n\n private final AttachmentVideoUnitRepository attachmentVideoUnitRepository;\n\n private final Optional gocastBindingApi;\n\n private final Optional contentProcessingService;\n\n private final Duration maxAge;\n\n private final DistributedMap activeTransfers;\n\n /** The rows of deleted units that the previous cleanup run found; see {@link #purgeRowsOfDeletedUnits()}. */\n private final AtomicReference> rowsOfDeletedUnitsFoundBefore = new AtomicReference<>(Set.of());\n\n public TumLiveUploadService(TumLiveUnitUploadRepository uploadRepository, TumLiveRecordingCleanupRepository cleanupRepository,\n AttachmentVideoUnitRepository attachmentVideoUnitRepository, Optional gocastBindingApi,\n Optional contentProcessingService, DistributedDataProvider distributedDataProvider,\n @Value(\"${artemis.tum-live.upload-max-age:PT6H}\") Duration maxAge) {\n this.uploadRepository = uploadRepository;\n this.cleanupRepository = cleanupRepository;\n this.attachmentVideoUnitRepository = attachmentVideoUnitRepository;\n this.gocastBindingApi = gocastBindingApi;\n this.contentProcessingService = contentProcessingService;\n this.maxAge = maxAge;\n this.activeTransfers = distributedDataProvider.getExpiringMap(\"tum-live-active-transfers\", maxAge);\n }\n\n /**\n * Reserves an upload reference for the unit so the browser can cancel the transfer while it is running.\n *\n * @param unit the unit, with its lecture and course\n * @return the pending upload's reference\n */\n public String start(AttachmentVideoUnit unit) {\n GocastBindingApi api = gocastBindingApi.orElseThrow(() -> notConnected());\n GocastUploadConnectionDTO connection = api.findUploadConnection(unit.getLecture().getCourse().getId()).orElseThrow(TumLiveUploadService::notConnected);\n String ref = newReference();\n TumLiveUnitUpload upload = uploadRepository.startPending(unit.getId(), connection.integrationId(), connection.grantId(), connection.courseSlug(), ref, ZonedDateTime.now());\n if (!ref.equals(upload.getPendingRef())) {\n throw uploadInProgress();\n }\n return ref;\n }\n\n /**\n * Sends the body directly to TUM.Live for the unit's exact pending reference.\n *\n * @param unit the attachment video unit\n * @param ref the upload's reference\n * @param file the incoming file stream\n */\n public void transfer(AttachmentVideoUnit unit, String ref, InputStream file) {\n long unitId = unit.getId();\n TumLiveUnitUpload upload = uploadRepository.findByLectureUnitId(unitId).filter(pending -> ref.equals(pending.getPendingRef()))\n .orElseThrow(TumLiveUploadService::uploadNoLongerPending);\n if (upload.getPendingStreamId() != null) {\n throw uploadInProgress();\n }\n // Creating a new ticket invalidates an unused one in TUM.Live. Only one request may issue and spend a ticket for this reference at a time.\n String owner = newReference();\n if (activeTransfers.putIfAbsent(ref, owner) != null) {\n throw uploadInProgress();\n }\n try {\n GocastBindingApi api = gocastBindingApi.orElseThrow(TumLiveUploadService::notConnected);\n GocastUploadTargetDTO target = createUploadTarget(api, upload, unit, ref);\n if (!uploadRepository.recordPendingStream(unitId, ref, target.streamId())) {\n throw uploadNoLongerPending();\n }\n api.transferUpload(target, file);\n uploadRepository.markTransferAccepted(unitId, ref);\n }\n catch (RuntimeException exception) {\n // An ownership conflict leaves the pending upload with its current owner.\n if (!(exception instanceof ConflictException conflict) || NOT_CONNECTED_ERROR.equals(conflict.getErrorKey())) {\n try {\n uploadRepository.discardPending(unitId, ref, \"The video transfer to TUM.Live failed.\", ZonedDateTime.now());\n }\n catch (RuntimeException cleanupFailure) {\n exception.addSuppressed(cleanupFailure);\n }\n }\n throw exception;\n }\n finally {\n activeTransfers.remove(ref, owner);\n }\n }\n\n private static GocastUploadTargetDTO createUploadTarget(GocastBindingApi api, TumLiveUnitUpload upload, AttachmentVideoUnit unit, String ref) {\n try {\n return api.createUpload(upload.getPendingGrantId(), ref, title(unit));\n }\n catch (GocastIntegrationException exception) {\n if (exception.getUpstreamStatus().isSameCodeAs(HttpStatus.CONFLICT)) {\n throw uploadInProgress();\n }\n if (exception.getUpstreamStatus().isSameCodeAs(HttpStatus.NOT_FOUND)) {\n throw notConnected();\n }\n throw exception;\n }\n }\n\n private static ConflictException uploadInProgress() {\n return new ConflictException(\"The pending upload is already being transferred or converted.\", ENTITY_NAME, \"tumLiveUploadInProgress\");\n }\n\n private static ConflictException uploadNoLongerPending() {\n return new ConflictException(\"This upload is no longer pending.\", ENTITY_NAME, \"tumLiveUploadNoLongerPending\");\n }\n\n /**\n * Whether a course has an active connection that can be used for an upload.\n *\n * @param courseId the Artemis course\n * @return whether editors of the course can start an upload\n */\n public boolean isUploadAvailable(long courseId) {\n return gocastBindingApi.flatMap(api -> api.findUploadConnection(courseId)).isPresent();\n }\n\n /**\n * The upload state of a unit for its editors, with the conversion progress of a pending upload read from TUM.Live.\n *\n * @param unit the unit, with its lecture and course\n * @return the state\n */\n public TumLiveUploadStateDTO getState(AttachmentVideoUnit unit) {\n boolean connected = isUploadAvailable(unit.getLecture().getCourse().getId());\n Optional upload = uploadRepository.findByLectureUnitId(unit.getId());\n if (upload.isEmpty()) {\n return new TumLiveUploadStateDTO(connected, null, null, false, false, 0, null, null);\n }\n TumLiveUnitUpload state = upload.get();\n Optional pending = Optional.empty();\n if (state.getPendingStreamId() != null && gocastBindingApi.isPresent()) {\n try {\n pending = Optional.of(gocastBindingApi.get().getRecording(state.getPendingGrantId(), state.getPendingStreamId()));\n }\n catch (GocastIntegrationException exception) {\n log.info(\"Could not read the conversion state of unit {}: {}\", unit.getId(), exception.getUpstreamStatus());\n }\n }\n boolean accepted = state.isPendingTransferAccepted() || pending.map(GocastRecordingDTO::ready).orElse(false);\n // TUM.Live can create the conversion progress row before its runner has received the file.\n boolean converting = pending.map(GocastRecordingDTO::converting).orElse(false) && (accepted || !activeTransfers.containsKey(state.getPendingRef()));\n return new TumLiveUploadStateDTO(connected, state.getPendingRef(), state.getPendingSince(), accepted, converting,\n converting ? pending.map(GocastRecordingDTO::progress).orElse(0) : 0, state.getCurrentRef(), state.getLastError());\n }\n\n /**\n * Cancels the unit's exact pending upload at an editor's request.\n *\n * @param unit the unit\n * @param ref the upload's reference\n */\n public void discard(AttachmentVideoUnit unit, String ref) {\n uploadRepository.discardPending(unit.getId(), ref, null, ZonedDateTime.now());\n }\n\n /**\n * Forgets the attached upload of a unit after an editor changed its video link to another video. The recording stays in TUM.Live.\n *\n * @param lectureUnitId the unit\n * @param newVideoSource the unit's video link now\n */\n public void forgetUploadUnlessShown(long lectureUnitId, String newVideoSource) {\n // Without the TUM.Live connection the link cannot be read; the upload is then forgotten, which at worst keeps a recording in TUM.Live.\n Long shownStreamId = gocastBindingApi.flatMap(api -> api.findStreamId(newVideoSource)).orElse(null);\n uploadRepository.forgetCurrentUnlessShown(lectureUnitId, newVideoSource, shownStreamId);\n }\n\n /**\n * Prepares units for deletion: their pending uploads are deleted in TUM.Live, their attached recordings only if the instructor chose so.\n *\n * @param lectureUnitIds the units about to be deleted\n * @param deleteRecordings whether to delete the attached TUM.Live recordings too\n */\n public void releaseForDeletion(Collection lectureUnitIds, boolean deleteRecordings) {\n ZonedDateTime now = ZonedDateTime.now();\n lectureUnitIds.forEach(id -> uploadRepository.releaseForDeletion(id, deleteRecordings, now));\n }\n\n /**\n * Attaches converted uploads, and gives up failed and overdue ones.\n */\n public void processPendingUploads() {\n if (gocastBindingApi.isEmpty()) {\n return;\n }\n for (TumLiveUnitUpload upload : uploadRepository.findTop50ByPendingRefIsNotNullOrderByPendingCheckedAtAsc()) {\n try {\n processPendingUpload(gocastBindingApi.get(), upload);\n }\n catch (RuntimeException exception) {\n log.warn(\"Could not process the TUM.Live upload of unit {}\", upload.getLectureUnitId(), exception);\n }\n }\n }\n\n private void processPendingUpload(GocastBindingApi api, TumLiveUnitUpload upload) {\n long unitId = upload.getLectureUnitId();\n String ref = upload.getPendingRef();\n ZonedDateTime now = ZonedDateTime.now();\n // A recording that is ready is attached even after the maximum age, which also counts the time the browser took to send the file.\n boolean overdue = upload.getPendingSince().plus(maxAge).isBefore(now);\n uploadRepository.markPendingChecked(upload.getId(), ref, now);\n if (!upload.isPendingTransferAccepted() && activeTransfers.containsKey(ref)) {\n // The transfer still owns this recording until it saves the acknowledgement or discards the upload.\n return;\n }\n if (upload.getPendingStreamId() == null) {\n // Starting it did not finish.\n giveUpIfOverdue(unitId, ref, overdue, now);\n return;\n }\n GocastRecordingDTO recording;\n try {\n recording = api.getRecording(upload.getPendingGrantId(), upload.getPendingStreamId());\n }\n catch (GocastIntegrationException exception) {\n if (exception.getUpstreamStatus().isSameCodeAs(HttpStatus.NOT_FOUND)) {\n uploadRepository.discardPending(unitId, ref, \"The lecture in TUM.Live no longer exists.\", now);\n }\n // Otherwise TUM.Live could not be asked: the recording may be ready, so the upload waits for the next run also when it is overdue.\n return;\n }\n if (recording.failed()) {\n uploadRepository.discardPending(unitId, ref, \"TUM.Live could not convert the video: \" + recording.error(), now);\n return;\n }\n if (!recording.ready()) {\n giveUpIfOverdue(unitId, ref, overdue, now);\n return;\n }\n // The slug of the connection the upload was made through: the course may be connected to another TUM.Live course by now.\n String watchUrl = api.watchUrl(upload.getPendingCourseSlug(), upload.getPendingStreamId());\n if (uploadRepository.attachPending(unitId, ref, watchUrl, now)) {\n // Read again: the processing compares the stored video URL, which the attachment just changed.\n attachmentVideoUnitRepository.findWithLectureAndCourseAndAttachmentById(unitId)\n .ifPresent(attached -> contentProcessingService.ifPresent(service -> service.triggerProcessing(attached)));\n }\n }\n\n private void giveUpIfOverdue(long unitId, String ref, boolean overdue, ZonedDateTime now) {\n if (overdue) {\n uploadRepository.discardPending(unitId, ref, \"The upload did not finish in time.\", now);\n }\n }\n\n /**\n * Deletes uploaded lectures Artemis no longer uses in TUM.Live. An entry stays until TUM.Live confirms; a refused one is kept with the reason and retried daily.\n * When the grant it was uploaded through is revoked, the course's current grant of the same integration deletes it, if the course was connected again. A\n * lecture a unit still shows, for example one imported into another lecture, stays and is checked again daily.\n */\n public void processCleanups() {\n if (gocastBindingApi.isEmpty()) {\n return;\n }\n GocastBindingApi api = gocastBindingApi.get();\n ZonedDateTime now = ZonedDateTime.now();\n List due = cleanupRepository.findTop50ByNextAttemptAtLessThanEqualOrderByNextAttemptAtAsc(now);\n Set shown = shownLectures(api, due);\n for (TumLiveRecordingCleanup cleanup : due) {\n try {\n if (cleanup.getStreamId() != null && shown.contains(cleanup.getStreamId())) {\n cleanupRepository.postpone(cleanup.getId(), now.plus(BLOCKED_RETRY), STILL_SHOWN);\n continue;\n }\n deleteUpload(api, cleanup);\n cleanupRepository.deleteConfirmed(cleanup.getId());\n }\n catch (GocastIntegrationException exception) {\n HttpStatus status = HttpStatus.resolve(exception.getUpstreamStatus().value());\n if (status == HttpStatus.NOT_FOUND || status == HttpStatus.CONFLICT) {\n log.warn(\"TUM.Live refused to delete the uploaded lecture {} of grant {}: {}; retrying daily\", cleanup.getExternalRef(), cleanup.getGrantId(), status);\n cleanupRepository.postpone(cleanup.getId(), now.plus(BLOCKED_RETRY), \"TUM.Live answered \" + status);\n }\n else {\n // TUM.Live is unavailable: try again soon, after the entries that come next.\n cleanupRepository.postpone(cleanup.getId(), now.plus(UNAVAILABLE_RETRY), cleanup.getBlockedReason());\n }\n }\n catch (RuntimeException exception) {\n // For example the course's connection could not be read: the entry must not hold up the ones after it.\n log.warn(\"Could not delete the uploaded lecture {} of grant {}; retrying soon\", cleanup.getExternalRef(), cleanup.getGrantId(), exception);\n cleanupRepository.postpone(cleanup.getId(), now.plus(UNAVAILABLE_RETRY), cleanup.getBlockedReason());\n }\n }\n purgeRowsOfDeletedUnits();\n }\n\n /**\n * Removes the rows of deleted units, but only those this node also found in its previous run: a unit's deletion releases its row right after the unit is\n * gone, and removing the row before would lose the instructor's choice to delete the recording in TUM.Live.\n */\n private void purgeRowsOfDeletedUnits() {\n Set found = new HashSet<>(uploadRepository.findIdsWithoutUnitAndPendingUpload());\n Set foundBefore = found.stream().filter(rowsOfDeletedUnitsFoundBefore.get()::contains).collect(Collectors.toSet());\n if (!foundBefore.isEmpty()) {\n uploadRepository.deleteWithoutUnitAndPendingUploadByIdIn(foundBefore);\n }\n found.removeAll(foundBefore);\n rowsOfDeletedUnitsFoundBefore.set(Set.copyOf(found));\n }\n\n /**\n * The TUM.Live lectures lecture units still show, read once for the given queued entries: an imported unit copies the video link, so a recording can outlive\n * the unit it was uploaded for.\n */\n private Set shownLectures(GocastBindingApi api, Collection cleanups) {\n if (cleanups.stream().allMatch(cleanup -> cleanup.getStreamId() == null)) {\n return Set.of();\n }\n return attachmentVideoUnitRepository.findAllLectureUnitSources().stream().map(api::findStreamId).flatMap(Optional::stream).collect(Collectors.toSet());\n }\n\n private void deleteUpload(GocastBindingApi api, TumLiveRecordingCleanup cleanup) {\n try {\n api.deleteUpload(cleanup.getGrantId(), cleanup.getExternalRef());\n }\n catch (GocastIntegrationException exception) {\n Optional currentGrant = api.findUploadConnection(cleanup.getCourseId())\n .filter(connection -> connection.integrationId() == cleanup.getIntegrationId() && connection.grantId() != cleanup.getGrantId())\n .map(GocastUploadConnectionDTO::grantId);\n if (currentGrant.isEmpty() || !exception.getUpstreamStatus().isSameCodeAs(HttpStatus.NOT_FOUND)) {\n throw exception;\n }\n api.deleteUpload(currentGrant.get(), cleanup.getExternalRef());\n }\n }\n\n /**\n * Before a course is disconnected from TUM.Live, deletes there what its uploads through this grant left unattached, while the grant still works: pending\n * uploads and all queued deletions, in batches of 50. Each takes one request to TUM.Live, so a long queue delays the disconnection; an unavailable TUM.Live\n * ends it early. Attached recordings stay, and so do queued ones a unit still shows. A failure is logged and does not stop the disconnection; the queue keeps what is left.\n *\n * @param event the grant about to be revoked\n */\n @EventListener\n public void deleteUnattachedUploadsBeforeRevocation(GocastGrantRevokingEvent event) {\n if (gocastBindingApi.isEmpty()) {\n return;\n }\n try {\n ZonedDateTime now = ZonedDateTime.now();\n for (TumLiveUnitUpload upload : uploadRepository.findByCourseIdAndPendingGrantId(event.courseId(), event.grantId())) {\n uploadRepository.discardPending(upload.getLectureUnitId(), upload.getPendingRef(), \"The course was disconnected from TUM.Live.\", now);\n }\n long lastId = 0;\n List batch;\n // Read once, when the first entry with a known lecture comes up.\n Set shown = null;\n do {\n batch = cleanupRepository.findTop50ByGrantIdAndIdGreaterThanOrderByIdAsc(event.grantId(), lastId);\n if (shown == null && batch.stream().anyMatch(cleanup -> cleanup.getStreamId() != null)) {\n shown = shownLectures(gocastBindingApi.get(), batch);\n }\n for (TumLiveRecordingCleanup cleanup : batch) {\n lastId = cleanup.getId();\n if (shown != null && cleanup.getStreamId() != null && shown.contains(cleanup.getStreamId())) {\n // Stays queued; the regular cleanup checks it again.\n continue;\n }\n if (!deleteBeforeRevocation(event.grantId(), cleanup)) {\n // TUM.Live is unavailable: the disconnection should not wait for every remaining entry to time out.\n return;\n }\n }\n }\n while (!batch.isEmpty());\n }\n catch (RuntimeException exception) {\n log.warn(\"Could not delete the unattached TUM.Live uploads of course {} before disconnecting it\", event.courseId(), exception);\n }\n }\n\n /**\n * Deletes a queued upload through the grant that is about to be revoked.\n *\n * @return false if TUM.Live is unavailable, so the remaining entries are not tried\n */\n private boolean deleteBeforeRevocation(long grantId, TumLiveRecordingCleanup cleanup) {\n try {\n gocastBindingApi.orElseThrow().deleteUpload(grantId, cleanup.getExternalRef());\n cleanupRepository.deleteConfirmed(cleanup.getId());\n return true;\n }\n catch (GocastIntegrationException exception) {\n log.warn(\"Could not delete the uploaded lecture {} before the TUM.Live grant {} is revoked: {}\", cleanup.getExternalRef(), grantId, exception.getUpstreamStatus());\n HttpStatus status = HttpStatus.resolve(exception.getUpstreamStatus().value());\n return status == HttpStatus.NOT_FOUND || status == HttpStatus.CONFLICT;\n }\n }\n\n private static String newReference() {\n byte[] bytes = new byte[32];\n RANDOM.nextBytes(bytes);\n return Base64.getUrlEncoder().withoutPadding().encodeToString(bytes);\n }\n\n private static String title(AttachmentVideoUnit unit) {\n String unitName = unit.getName() != null && !unit.getName().isBlank() ? unit.getName() : \"Unit \" + unit.getId();\n String lectureTitle = unit.getLecture().getTitle();\n String title = lectureTitle != null && !lectureTitle.isBlank() ? lectureTitle + \": \" + unitName : unitName;\n return title.codePointCount(0, title.length()) > 255 ? title.substring(0, title.offsetByCodePoints(0, 255)) : title;\n }\n\n private static ConflictException notConnected() {\n return new ConflictException(\"The course is not connected to TUM.Live\", ENTITY_NAME, NOT_CONNECTED_ERROR);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/4d3e3d417159ac32b6a7fcd10c14b77dc152f56f.json b/web/public/bundles/artemis/code/4d3e3d417159ac32b6a7fcd10c14b77dc152f56f.json new file mode 100644 index 00000000..abf0e039 --- /dev/null +++ b/web/public/bundles/artemis/code/4d3e3d417159ac32b6a7fcd10c14b77dc152f56f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "4d3e3d417159ac32b6a7fcd10c14b77dc152f56f", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/buildagent/service/BuildAgentSshKeyService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.buildagent.service;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_BUILDAGENT;\n\nimport java.io.ByteArrayOutputStream;\nimport java.io.IOException;\nimport java.io.OutputStream;\nimport java.nio.file.FileSystems;\nimport java.nio.file.Files;\nimport java.nio.file.Path;\nimport java.nio.file.attribute.PosixFilePermissions;\nimport java.security.GeneralSecurityException;\nimport java.security.KeyPair;\nimport java.security.KeyPairGenerator;\nimport java.security.NoSuchAlgorithmException;\nimport java.util.Optional;\n\nimport jakarta.annotation.PostConstruct;\n\nimport org.apache.sshd.common.config.keys.writer.openssh.OpenSSHKeyEncryptionContext;\nimport org.apache.sshd.common.config.keys.writer.openssh.OpenSSHKeyPairResourceWriter;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.beans.factory.annotation.Value;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.stereotype.Service;\n\n@Lazy(false)\n@Service\n@Profile(PROFILE_BUILDAGENT)\npublic class BuildAgentSshKeyService {\n\n private static final Logger log = LoggerFactory.getLogger(BuildAgentSshKeyService.class);\n\n private KeyPair keyPair;\n\n @Value(\"${artemis.version-control.ssh-private-key-folder-path:#{null}}\")\n private Optional gitSshPrivateKeyPath;\n\n @Value(\"${artemis.version-control.build-agent-use-ssh:false}\")\n private boolean useSshForBuildAgent;\n\n /**\n * Generates the SSH key pair and writes the private key when the application is started and the build agents should use SSH for their git operations.\n * EventListener cannot be used here, as the bean is lazy\n * Spring Docs\n */\n @PostConstruct\n public void applicationReady() throws IOException {\n if (!useSshForBuildAgent) {\n return;\n }\n\n log.info(\"Using SSH for build agent authentication.\");\n\n if (gitSshPrivateKeyPath.isEmpty()) {\n throw new RuntimeException(\"No SSH private key folder was set but should use SSH for build agent authentication.\");\n }\n\n if (!Files.exists(gitSshPrivateKeyPath.get())) {\n Files.createDirectories(gitSshPrivateKeyPath.get());\n }\n\n try {\n generateKeyPair();\n writePrivateKey();\n }\n catch (IOException | GeneralSecurityException e) {\n throw new RuntimeException(e);\n }\n }\n\n private void generateKeyPair() throws NoSuchAlgorithmException {\n KeyPairGenerator keyGen = KeyPairGenerator.getInstance(\"RSA\");\n keyGen.initialize(4096);\n keyPair = keyGen.generateKeyPair();\n }\n\n private void writePrivateKey() throws IOException, GeneralSecurityException {\n Path privateKeyPath = gitSshPrivateKeyPath.orElseThrow().resolve(\"id_rsa\");\n OpenSSHKeyPairResourceWriter writer = new OpenSSHKeyPairResourceWriter();\n\n try (OutputStream outputStream = Files.newOutputStream(privateKeyPath)) {\n writer.writePrivateKey(keyPair, null, new OpenSSHKeyEncryptionContext(), outputStream);\n }\n\n // Avoid an UnsupportedOperationException on Windows\n boolean posixSupported = FileSystems.getDefault().supportedFileAttributeViews().contains(\"posix\");\n if (posixSupported) {\n Files.setPosixFilePermissions(privateKeyPath, PosixFilePermissions.fromString(\"rw-------\"));\n }\n }\n\n /**\n * Returns the formated SSH public key.\n * If SSH is not used for the build agent, it returns {@code null}.\n *\n * @return the public key\n */\n public String getPublicKeyAsString() {\n if (!useSshForBuildAgent) {\n return null;\n }\n\n OpenSSHKeyPairResourceWriter writer = new OpenSSHKeyPairResourceWriter();\n try (ByteArrayOutputStream outputStream = new ByteArrayOutputStream()) {\n writer.writePublicKey(keyPair, null, outputStream);\n return outputStream.toString();\n }\n catch (IOException | GeneralSecurityException e) {\n throw new RuntimeException(e);\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/4ee9a6fbbe515ddd6fa1e8592372a425ad8d3de8.json b/web/public/bundles/artemis/code/4ee9a6fbbe515ddd6fa1e8592372a425ad8d3de8.json new file mode 100644 index 00000000..28b46a76 --- /dev/null +++ b/web/public/bundles/artemis/code/4ee9a6fbbe515ddd6fa1e8592372a425ad8d3de8.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "4ee9a6fbbe515ddd6fa1e8592372a425ad8d3de8", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/dto/data/PyrisProgrammingExerciseDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.iris.service.pyris.dto.data;\n\nimport java.time.Instant;\nimport java.util.Map;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingLanguage;\n\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record PyrisProgrammingExerciseDTO(long id, String title, ProgrammingLanguage programmingLanguage, Map templateRepository,\n Map solutionRepository, Map testRepository, String problemStatement, Instant startDate, Instant endDate) {\n\n}\n" +} diff --git a/web/public/bundles/artemis/code/4f23fed0a8bd47d58f2120c701683399f32856ce.json b/web/public/bundles/artemis/code/4f23fed0a8bd47d58f2120c701683399f32856ce.json new file mode 100644 index 00000000..f1fd0b61 --- /dev/null +++ b/web/public/bundles/artemis/code/4f23fed0a8bd47d58f2120c701683399f32856ce.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "4f23fed0a8bd47d58f2120c701683399f32856ce", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/exception/LocalCIException.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.localci.exception;\n\nimport de.tum.cit.aet.artemis.programming.exception.ContinuousIntegrationException;\n\n/**\n * Exception thrown when something goes wrong with the local CI system.\n * This is an unchecked exception and should only be used, if the error is not recoverable.\n */\npublic class LocalCIException extends ContinuousIntegrationException {\n\n public LocalCIException(String message) {\n super(message);\n }\n\n public LocalCIException(String message, Throwable cause) {\n super(message, cause);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/4f7124811ac8f7b17229179f23d7236f8013301d.json b/web/public/bundles/artemis/code/4f7124811ac8f7b17229179f23d7236f8013301d.json new file mode 100644 index 00000000..53fb1ac3 --- /dev/null +++ b/web/public/bundles/artemis/code/4f7124811ac8f7b17229179f23d7236f8013301d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "4f7124811ac8f7b17229179f23d7236f8013301d", + "language": "typescript", + "path": "src/main/webapp/app/localci/build-agent-summary/build-agent-clear-distributed-data/build-agent-clear-distributed-data.component.ts", + "schema": "codexray.code/1", + "text": "import { ChangeDetectionStrategy, Component, computed, effect, model, output, untracked } from '@angular/core';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { faTimes, faTrash } from '@fortawesome/free-solid-svg-icons';\nimport { FormsModule } from '@angular/forms';\nimport { TumAetUiButtonComponent } from '@tumaet/ui-angular/button';\nimport { TumAetUiDialogComponent } from '@tumaet/ui-angular/dialog';\nimport { TumAetUiInputDirective } from '@tumaet/ui-angular/input';\n/**\n * Modal component for confirming the action to clear all distributed data.\n * Requires the user to type a specific confirmation text (\"CLEAR DATA\") to enable the confirm button.\n * This additional safety measure prevents accidental data deletion.\n *\n * Uses signals for reactive state management:\n * - `confirmationText`: Two-way bound model for the user's input\n * - `buttonEnabled`: Computed signal that enables the button only when confirmation text matches\n *\n * Uses OnPush change detection for optimal performance.\n */\n@Component({\n selector: 'jhi-build-agent-clear-distributed-data',\n imports: [FaIconComponent, TranslateDirective, ArtemisTranslatePipe, FormsModule, TumAetUiDialogComponent, TumAetUiButtonComponent, TumAetUiInputDirective],\n templateUrl: './build-agent-clear-distributed-data.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BuildAgentClearDistributedDataComponent {\n /** Two-way visibility of the dialog, driven by the parent. */\n readonly visible = model(false);\n\n /** Emitted when the user confirms clearing the distributed data. */\n readonly confirmed = output();\n\n /** Two-way bound model for the confirmation text input field */\n confirmationText = model('');\n\n // Font Awesome icons for the UI\n protected readonly faTimes = faTimes;\n protected readonly faTrash = faTrash;\n\n /** The exact text the user must type to enable the confirm button */\n private readonly expectedConfirmationText = 'CLEAR DATA';\n\n /**\n * Computed signal that enables the confirm button only when the user\n * has typed the expected confirmation text exactly.\n */\n buttonEnabled = computed(() => this.confirmationText() === this.expectedConfirmationText);\n\n constructor() {\n // This modal instance persists across opens (its host is always in the parent's DOM), so reset the\n // confirmation text whenever the dialog is (re)opened to avoid a pre-filled, already-enabled confirm button.\n effect(() => {\n if (this.visible()) {\n untracked(() => this.confirmationText.set(''));\n }\n });\n }\n\n /**\n * Closes the modal without confirming the action.\n */\n cancel() {\n this.visible.set(false);\n }\n\n /**\n * Confirms the clear data action and closes the modal.\n */\n confirm() {\n this.confirmed.emit();\n this.visible.set(false);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/4f95861bb05acfd4aac4b5ae7a85a3a809c6ad4c.json b/web/public/bundles/artemis/code/4f95861bb05acfd4aac4b5ae7a85a3a809c6ad4c.json new file mode 100644 index 00000000..745fe34a --- /dev/null +++ b/web/public/bundles/artemis/code/4f95861bb05acfd4aac4b5ae7a85a3a809c6ad4c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "4f95861bb05acfd4aac4b5ae7a85a3a809c6ad4c", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/service/IngestionBrowserService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.globalsearch.service;\n\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.globalsearch.config.WeaviateEnabled;\nimport de.tum.cit.aet.artemis.globalsearch.config.schema.entityschemas.SearchableEntitySchema;\nimport de.tum.cit.aet.artemis.globalsearch.dto.CourseBrowserDataDTO;\nimport de.tum.cit.aet.artemis.globalsearch.dto.IndexedContentPresenceDTO;\nimport de.tum.cit.aet.artemis.globalsearch.dto.IndexedEntityDTO;\nimport de.tum.cit.aet.artemis.globalsearch.service.IngestionCoverageSetLoader.ExpectedSets;\nimport de.tum.cit.aet.artemis.globalsearch.service.IngestionCoverageSetLoader.PresentSets;\n\n/**\n * Assembles everything the content browser needs to open a course.\n *

\n * The point of this class is that the two id-sets are loaded exactly once. Every part of the response derives from\n * them, so serving the parts from separate endpoints meant each one reloaded the same sets: opening a single course\n * previously cost around nineteen Weaviate round trips and twenty database queries, roughly half of them repeats of\n * work another part of the same page load had already done.\n *

\n * Content presence in particular now costs nothing extra. {@link PresentSets} already carries the distinct present-unit\n * set for each Iris collection, because the coverage matrix needs the same numbers, so the browser reads it from there\n * rather than asking Weaviate again.\n */\n@Lazy\n@Service\n@Conditional(WeaviateEnabled.class)\npublic class IngestionBrowserService {\n\n private final IngestionCoverageSetLoader setLoader;\n\n private final IngestionBrowserWeaviateReadService browserReadService;\n\n private final IngestionBrowserGapService gapService;\n\n private final CoverageRecomputeService coverageRecomputeService;\n\n public IngestionBrowserService(IngestionCoverageSetLoader setLoader, IngestionBrowserWeaviateReadService browserReadService, IngestionBrowserGapService gapService,\n CoverageRecomputeService coverageRecomputeService) {\n this.setLoader = setLoader;\n this.browserReadService = browserReadService;\n this.gapService = gapService;\n this.coverageRecomputeService = coverageRecomputeService;\n }\n\n /**\n * Loads the stored entities, the content presence, and both gap lists for one course, and stores the course's\n * coverage row from the same sets, so the matrix shows these numbers once the browser closes.\n *\n * @param course the course to inspect\n * @return everything the browser renders when it opens\n */\n public CourseBrowserDataDTO loadCourseBrowserData(Course course) {\n long courseId = course.getId();\n List courseIds = List.of(courseId);\n ExpectedSets expected = setLoader.loadExpected(courseIds);\n PresentSets present = setLoader.loadPresent(courseIds);\n coverageRecomputeService.storeCourseCoverage(course, expected, present);\n\n List entities = browserReadService.listIndexedEntitiesForCourse(courseId).stream().map(entity -> new IndexedEntityDTO(entity.type(), entity.entityId(),\n entity.title(), entity.lectureId(), entity.ingestedAt(), isExpectedMetadataEntity(courseId, entity, expected))).toList();\n return new CourseBrowserDataDTO(entities, contentPresence(courseId, expected, present), gapService.missingEntities(courseId, expected, present),\n gapService.contentGaps(courseId, expected, present), CoverageRecomputeService.typeCountsForCourse(courseId, expected, present));\n }\n\n private static boolean isExpectedMetadataEntity(long courseId, IndexedEntityDTO entity, ExpectedSets expected) {\n return switch (entity.type()) {\n case SearchableEntitySchema.TypeValues.EXERCISE -> expected.exercises().getOrDefault(courseId, Set.of()).contains(entity.entityId());\n case SearchableEntitySchema.TypeValues.LECTURE -> expected.lectures().getOrDefault(courseId, Set.of()).contains(entity.entityId());\n case SearchableEntitySchema.TypeValues.LECTURE_UNIT -> expected.lectureUnits().getOrDefault(courseId, Set.of()).contains(entity.entityId());\n case SearchableEntitySchema.TypeValues.EXAM -> expected.exams().getOrDefault(courseId, Set.of()).contains(entity.entityId());\n case SearchableEntitySchema.TypeValues.FAQ -> expected.faqs().getOrDefault(courseId, Set.of()).contains(entity.entityId());\n case SearchableEntitySchema.TypeValues.CHANNEL -> expected.channels().getOrDefault(courseId, Set.of()).contains(entity.entityId());\n case SearchableEntitySchema.TypeValues.COURSE -> entity.entityId() == courseId;\n default -> false;\n };\n }\n\n /**\n * Reshapes the present-unit sets already loaded for the coverage diff into the per-collection form the tree draws\n * from, keeping the browser's own content keys out of the shared loader. Collections holding nothing for the course\n * are left out, so a unit only ever gets a node for a collection that has something in it.\n */\n private static List contentPresence(long courseId, ExpectedSets expected, PresentSets present) {\n Map>> byKey = Map.of(IngestionBrowserWeaviateReadService.KEY_SLIDES, present.slides(), IngestionBrowserWeaviateReadService.KEY_TRANSCRIPT,\n present.transcript(), IngestionBrowserWeaviateReadService.KEY_UNIT_SUMMARY, present.unitSummaries(), IngestionBrowserWeaviateReadService.KEY_SEGMENTS,\n present.segmentSummaries());\n Map>> expectedByKey = Map.of(IngestionBrowserWeaviateReadService.KEY_SLIDES, expected.pdfUnits(),\n IngestionBrowserWeaviateReadService.KEY_TRANSCRIPT, expected.videoUnits(), IngestionBrowserWeaviateReadService.KEY_UNIT_SUMMARY, expected.lectureUnits(),\n IngestionBrowserWeaviateReadService.KEY_SEGMENTS, expected.lectureUnits());\n\n List presence = new ArrayList<>();\n for (String key : IngestionBrowserWeaviateReadService.contentKeys()) {\n Set unitIds = byKey.get(key).get(courseId);\n if (unitIds != null && !unitIds.isEmpty()) {\n Set expectedUnitIds = expectedByKey.get(key).getOrDefault(courseId, Set.of());\n Set orphanedUnitIds = unitIds.stream().filter(unitId -> !expectedUnitIds.contains(unitId)).collect(Collectors.toUnmodifiableSet());\n presence.add(new IndexedContentPresenceDTO(key, unitIds, orphanedUnitIds));\n }\n }\n return presence;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/4fcd72001958ce890ef3c983996cb1e1f48df341.json b/web/public/bundles/artemis/code/4fcd72001958ce890ef3c983996cb1e1f48df341.json new file mode 100644 index 00000000..048d7f3e --- /dev/null +++ b/web/public/bundles/artemis/code/4fcd72001958ce890ef3c983996cb1e1f48df341.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "4fcd72001958ce890ef3c983996cb1e1f48df341", + "language": "typescript", + "path": "src/main/webapp/app/hyperion/variants/create-variant-with-ai-button.component.ts", + "schema": "codexray.code/1", + "text": "import { injectGenerationCapabilities } from 'app/hyperion/exercise-generation/hyperion-generation-capabilities';\nimport { ChangeDetectionStrategy, Component, computed, inject, input, signal } from '@angular/core';\nimport { TumAetUiButtonComponent } from '@tumaet/ui-angular/button';\nimport { faCodeBranch } from '@fortawesome/free-solid-svg-icons';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { Exercise, ExerciseType } from 'app/exercise/shared/entities/exercise/exercise.model';\nimport { ExerciseVariantAiModalWizardComponent } from 'app/hyperion/variants/exercise-variant-ai-modal-wizard.component';\nimport { supportsAiVariantGeneration, variantGenerationBlocker } from 'app/hyperion/variants/exercise-variant-ai-modal.utils';\nimport { MODULE_FEATURE_HYPERION, MODULE_FEATURE_HYPERION_EXERCISE_GENERATION } from 'app/app.constants';\nimport { ProfileService } from 'app/core/layouts/profiles/shared/profile.service';\n\n/** Keeps the variant action visible while the server checks whether the saved source can be copied. */\n@Component({\n selector: 'jhi-create-variant-with-ai-button',\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [TumAetUiButtonComponent, TranslateDirective, ArtemisTranslatePipe, ExerciseVariantAiModalWizardComponent],\n styles: `\n :host {\n display: contents;\n }\n\n jhi-exercise-variant-ai-modal-wizard {\n display: none;\n }\n `,\n template: `\n @if (supported()) {\n \n \n \n \n \n \n @if (canRetry()) {\n \n \n \n }\n \n \n }\n `,\n})\nexport class CreateVariantWithAiButtonComponent {\n private readonly profiles = inject(ProfileService);\n private readonly hyperionEnabled = this.profiles.isModuleFeatureActive(MODULE_FEATURE_HYPERION);\n private readonly programmingEnabled = this.profiles.isModuleFeatureActive(MODULE_FEATURE_HYPERION_EXERCISE_GENERATION);\n readonly exercise = input.required();\n\n /** Spacing utilities from the surrounding button row. */\n readonly styleClass = input('');\n\n /** A caller can require its unsaved edits to be saved before the server copies the source. */\n readonly disabledReason = input(undefined);\n\n /** Only editors may generate variants, and only for exercise types the generator supports. */\n readonly generationCapabilities = injectGenerationCapabilities(\n this.exercise,\n computed(() => this.hyperionEnabled && this.programmingEnabled && (this.exercise().isAtLeastEditor ?? false)),\n );\n\n readonly supported = computed(\n () =>\n this.hyperionEnabled &&\n (this.exercise().isAtLeastEditor ?? false) &&\n !!this.exercise().id &&\n (this.exercise().type === ExerciseType.PROGRAMMING ? this.programmingEnabled && !this.exercise().exerciseGroup : supportsAiVariantGeneration(this.exercise())),\n );\n\n readonly blocker = computed(\n () => this.disabledReason() ?? variantGenerationBlocker(this.exercise(), this.generationCapabilities.value(), this.generationCapabilities.isLoading()),\n );\n readonly canRetry = computed(\n () =>\n this.exercise().type === ExerciseType.PROGRAMMING &&\n this.blocker() === 'artemisApp.hyperion.generation.blocker.capabilitiesUnavailable' &&\n !this.generationCapabilities.isLoading(),\n );\n\n openWizard(): void {\n if (this.supported() && !this.blocker()) this.modalVisible.set(true);\n }\n\n readonly isExamExercise = computed(() => !!this.exercise().exerciseGroup);\n\n /** Detail payloads carry the course either directly or through the exercise group's exam. */\n readonly resolvedCourseId = computed(() => this.exercise().course?.id ?? this.exercise().exerciseGroup?.exam?.course?.id);\n\n protected readonly modalVisible = signal(false);\n protected readonly faCodeBranch = faCodeBranch;\n}\n" +} diff --git a/web/public/bundles/artemis/code/5108dca04ea1d7f1d45e887637dd0bb086df6c1c.json b/web/public/bundles/artemis/code/5108dca04ea1d7f1d45e887637dd0bb086df6c1c.json new file mode 100644 index 00000000..8331077a --- /dev/null +++ b/web/public/bundles/artemis/code/5108dca04ea1d7f1d45e887637dd0bb086df6c1c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "5108dca04ea1d7f1d45e887637dd0bb086df6c1c", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/domain/PlagiarismMatch.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.plagiarism.domain;\n\nimport java.util.Objects;\n\nimport jakarta.persistence.Column;\nimport jakarta.persistence.Embeddable;\n\nimport de.jplag.Match;\nimport de.tum.cit.aet.artemis.core.domain.DomainObject;\n\n/**\n * A `PlagiarismMatch` is a sequence of identical elements of both submissions.\n */\n@Embeddable\npublic class PlagiarismMatch {\n\n /**\n * Index of the first element of submission A that is part of this match.\n */\n @Column(name = \"start_a\")\n private int startA;\n\n /**\n * Index of the first element of submission B that is part of this match.\n */\n @Column(name = \"start_b\")\n private int startB;\n\n /**\n * Length of the sequence of identical elements, beginning at startA and startB, respectively.\n */\n private int length;\n\n /**\n * Create a new PlagiarismMatch instance from an existing JPlag Match\n *\n * @param jplagMatch the JPlag Match to create the PlagiarismMatch from\n * @return a new PlagiarismMatch instance\n */\n public static PlagiarismMatch fromJPlagMatch(Match jplagMatch) {\n PlagiarismMatch match = new PlagiarismMatch();\n match.setStartA(jplagMatch.startOfFirst());\n match.setStartB(jplagMatch.startOfSecond());\n match.setLength(jplagMatch.minimumLength());\n return match;\n }\n\n public int getStartA() {\n return startA;\n }\n\n public void setStartA(int startA) {\n this.startA = startA;\n }\n\n public int getStartB() {\n return startB;\n }\n\n public void setStartB(int startB) {\n this.startB = startB;\n }\n\n public int getLength() {\n return length;\n }\n\n public void setLength(int length) {\n this.length = length;\n }\n\n /**\n * Overrides the equals method to ensure proper equality checks to not rely on the default object instance equality.\n *\n *

\n * This is important to ensure uniqueness, e.g. when loading objects from the database into a\n * {@link java.util.Set}.\n *\n *

\n * Note:\n * This is required here since unlike other domain classes this one does not extend\n * {@link DomainObject} since it only represents an {@link Embeddable} part of another\n * entity.\n * Therefore, it does inherit neither the database ID attribute nor the matching\n * {@link DomainObject#equals(Object)} implementation.\n * Instead, we have to compare all relevant attributes here.\n *\n * @param other Some other object.\n * @return True, if this and the other object are equal.\n */\n @Override\n public boolean equals(Object other) {\n if (this == other) {\n return true;\n }\n\n if (other instanceof PlagiarismMatch that) {\n return startA == that.startA && startB == that.startB && length == that.length;\n }\n\n return false;\n }\n\n @Override\n public int hashCode() {\n return Objects.hash(startA, startB, length);\n }\n\n @Override\n public String toString() {\n return \"PlagiarismMatch{\" + \"startA=\" + startA + \", startB=\" + startB + \", length=\" + length + '}';\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/517fd7b1919ddce59ff00a6000d4a3394b500dbc.json b/web/public/bundles/artemis/code/517fd7b1919ddce59ff00a6000d4a3394b500dbc.json new file mode 100644 index 00000000..fb4f2623 --- /dev/null +++ b/web/public/bundles/artemis/code/517fd7b1919ddce59ff00a6000d4a3394b500dbc.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "517fd7b1919ddce59ff00a6000d4a3394b500dbc", + "language": "typescript", + "path": "src/main/webapp/app/foundation/service/alert.service.ts", + "schema": "codexray.code/1", + "text": "import { SecurityContext, Service, inject, signal } from '@angular/core';\nimport { HttpErrorResponse } from '@angular/common/http';\nimport { DomSanitizer } from '@angular/platform-browser';\nimport { TranslateService } from '@ngx-translate/core';\nimport { translationNotFoundMessage } from 'app/core/config/translation.config';\nimport { EventManager, EventWithContent } from 'app/foundation/service/event-manager.service';\nimport { AlertError } from 'app/core/alert/alert-error.model';\nimport { Subscription } from 'rxjs';\nimport { captureException } from 'app/core/error-reporting/capture-exception';\nimport { IconDefinition, faCheckCircle, faExclamationCircle, faExclamationTriangle, faInfoCircle } from '@fortawesome/free-solid-svg-icons';\nimport type { HttpErrorEvent } from 'app/core/interceptor/errorhandler.interceptor';\nimport dayjs from 'dayjs/esm';\nimport { cloneWith } from 'app/foundation/util/deep-clone.util';\n\n/** PrimeNG `p-button` severities used by alert action buttons. */\nexport type AlertButtonSeverity = 'success' | 'danger' | 'warn' | 'info';\n\nexport class AlertType {\n public static readonly SUCCESS = new AlertType(faCheckCircle, 'success', 'success');\n public static readonly DANGER = new AlertType(faExclamationCircle, 'danger', 'danger');\n public static readonly WARNING = new AlertType(faExclamationTriangle, 'warning', 'warn');\n public static readonly INFO = new AlertType(faInfoCircle, 'info', 'info');\n\n private constructor(icon: IconDefinition, containerClassName: string, buttonSeverity: AlertButtonSeverity) {\n this.icon = icon;\n this.containerClassName = containerClassName;\n this.buttonSeverity = buttonSeverity;\n }\n\n public readonly icon: IconDefinition;\n public readonly containerClassName: string;\n public readonly buttonSeverity: AlertButtonSeverity;\n}\n\ninterface AlertBase {\n type: AlertType;\n message?: string;\n timeout?: number;\n action?: { readonly label: string; readonly callback: (alert: Alert) => void };\n onClose?: (alert: Alert) => void;\n dismissible?: boolean;\n}\n\nexport interface AlertCreationProperties extends AlertBase {\n translationKey?: string;\n translationParams?: { [key: string]: unknown };\n disableTranslation?: boolean;\n}\n\ninterface AlertInternal extends AlertBase {\n close: () => void;\n isOpen: boolean;\n openedAt?: dayjs.Dayjs;\n}\n\nexport type Alert = Readonly;\n\nconst DEFAULT_TIMEOUT = 15000;\nconst DEFAULT_DISMISSIBLE = true;\n\n@Service()\nexport class AlertService {\n private sanitizer = inject(DomSanitizer);\n private translateService = inject(TranslateService);\n\n // Signal-backed so the alert overlay re-renders under zoneless change detection when alerts are\n // added or auto-dismissed (e.g. from the setTimeout below or async HTTP error handlers).\n readonly alerts = signal([]);\n\n errorListener: Subscription;\n httpErrorListener: Subscription;\n\n readonly conflictErrorKeysToSkip: string[] = ['cannotRegisterStaff'];\n readonly badRequestErrorKeysToSkip: string[] = ['courseShortNameExists', 'courseRequestShortNameExists'];\n\n constructor() {\n const eventManager = inject(EventManager);\n\n this.errorListener = eventManager.subscribe('artemisApp.error', (response: EventWithContent | string) => {\n const errorResponse = (response as EventWithContent).content;\n this.addErrorAlert(errorResponse.message, errorResponse.translationKey, errorResponse.translationParams);\n });\n\n this.httpErrorListener = eventManager.subscribe('artemisApp.httpError', (response: EventWithContent | string) => {\n const event = response as HttpErrorEvent;\n const httpErrorResponse = event.content;\n if (httpErrorResponse.error?.skipAlert) {\n return;\n }\n switch (httpErrorResponse.status) {\n // connection refused, server not reachable\n case 0:\n // The translations come from the same server, so they may be missing as well. The key is in the part that the landing page loads, so only a client that\n // could not load any translation falls back to English. That is no mistake of the key, so a missing translation is not reported.\n this.addAlert({\n type: AlertType.DANGER,\n message: this.translateIfKnown('global.generic.serverNotReachable') ?? 'Server not reachable',\n disableTranslation: true,\n });\n break;\n\n case 400:\n const arr = httpErrorResponse.headers.keys();\n let errorHeader = null;\n let entityKey = null;\n arr.forEach((entry: string) => {\n if (entry.toLowerCase().endsWith('app-error')) {\n errorHeader = httpErrorResponse.headers.get(entry);\n } else if (entry.toLowerCase().endsWith('app-params')) {\n entityKey = httpErrorResponse.headers.get(entry);\n }\n });\n if (errorHeader && !this.translateService.instant(errorHeader).startsWith(translationNotFoundMessage)) {\n const entityName = this.translateService.instant('global.menu.entities.' + entityKey);\n this.addErrorAlert(errorHeader, errorHeader, cloneWith({ entityName }, httpErrorResponse.error?.params ?? {}));\n } else if (httpErrorResponse.error && httpErrorResponse.error.fieldErrors) {\n const fieldErrors = httpErrorResponse.error.fieldErrors;\n for (const fieldError of fieldErrors) {\n // This is most likely related to server side field validations and gentrifies the error message\n // to only tell the user that the size is wrong instead of the specific field\n if (['Min', 'Max', 'DecimalMin', 'DecimalMax'].includes(fieldError.message)) {\n fieldError.message = 'size';\n }\n // convert 'something[14].other[4].id' to 'something[].other[].id' so translations can be written to it\n const convertedField = fieldError.field.replace(/\\[\\d*\\]/g, '[]');\n const fieldName = this.translateService.instant('artemisApp.' + fieldError.objectName + '.' + convertedField);\n this.addErrorAlert('Error on field \"' + fieldName + '\"', 'error.' + fieldError.message, { fieldName });\n }\n } else if (httpErrorResponse.error && httpErrorResponse.error.title) {\n if (!this.badRequestErrorKeysToSkip.includes(httpErrorResponse.error.errorKey)) {\n this.addErrorAlert(httpErrorResponse.error.title, httpErrorResponse.error.message, httpErrorResponse.error.params);\n }\n }\n break;\n\n case 403: {\n // Some callers explain a denied action locally; preserve their suppression.\n if (this.conflictErrorKeysToSkip.includes(httpErrorResponse.error?.errorKey)) {\n break;\n }\n const messageKey = httpErrorResponse.error?.message;\n const translatedMessage = typeof messageKey === 'string' && messageKey ? this.translateService.instant(messageKey, httpErrorResponse.error?.params) : undefined;\n const hasSpecificTranslation =\n messageKey !== 'error.http.403' &&\n typeof translatedMessage === 'string' &&\n translatedMessage !== messageKey &&\n !translatedMessage.startsWith(translationNotFoundMessage);\n if (hasSpecificTranslation) {\n this.addErrorAlert('Access denied', messageKey, httpErrorResponse.error.params);\n } else {\n // A refused background request does not mean the current page itself is forbidden.\n const fallbackKey = !event.requestMethod\n ? 'error.http.403'\n : ['GET', 'HEAD', 'OPTIONS'].includes(event.requestMethod)\n ? 'error.http.403Read'\n : 'error.http.403Action';\n this.addErrorAlert('You do not have permission to access this content or perform this action.', fallbackKey);\n }\n break;\n }\n\n case 404:\n // Disabled\n break;\n\n case 429: {\n const seconds = Math.ceil(Number(httpErrorResponse.headers?.get('Retry-After')));\n if (Number.isFinite(seconds) && seconds > 0) {\n this.addErrorAlert('Too many requests. Please try again in a few seconds.', 'error.http.429Wait', { seconds });\n } else {\n this.addErrorAlert('Too many requests. Please try again later.', 'error.http.429');\n }\n break;\n }\n\n default:\n if (httpErrorResponse.error && httpErrorResponse.error.title) {\n this.addErrorAlert(httpErrorResponse.error.title, httpErrorResponse.error.message, httpErrorResponse.error.params);\n }\n }\n });\n }\n\n /**\n * Whether the handling of `artemisApp.httpError` shows an alert for the given rejected request. A caller that reports a rejection itself uses this\n * to avoid showing the same failure twice. It decides like the listener in the constructor, branch by branch, so change both together.\n */\n showsHttpErrorAlert(httpErrorResponse: HttpErrorResponse): boolean {\n if (httpErrorResponse.error?.skipAlert) {\n return false;\n }\n switch (httpErrorResponse.status) {\n case 0:\n return true;\n case 400: {\n let errorHeader: string | null = null;\n for (const entry of httpErrorResponse.headers?.keys() ?? []) {\n if (entry.toLowerCase().endsWith('app-error')) {\n errorHeader = httpErrorResponse.headers.get(entry);\n }\n }\n if (errorHeader && !this.translateService.instant(errorHeader).startsWith(translationNotFoundMessage)) {\n return true;\n }\n if (httpErrorResponse.error?.fieldErrors) {\n // One alert per field error, so none for an empty list.\n return Array.isArray(httpErrorResponse.error.fieldErrors) && httpErrorResponse.error.fieldErrors.length > 0;\n }\n if (httpErrorResponse.error?.title) {\n return !this.badRequestErrorKeysToSkip.includes(httpErrorResponse.error.errorKey);\n }\n return false;\n }\n case 403:\n return !this.conflictErrorKeysToSkip.includes(httpErrorResponse.error?.errorKey);\n case 404:\n return false;\n case 429:\n return true;\n default:\n return !!httpErrorResponse.error?.title;\n }\n }\n\n closeAll(): void {\n [...this.alerts()].forEach((alert) => alert.close());\n }\n\n get(): Alert[] {\n return this.alerts();\n }\n\n /**\n * Adds alert to alerts array and returns added alert.\n * @param alert Alert specification to add. If `timeout` or `dismissible` is missing then applying default value.\n * Set timeout to zero to disable timeout\n * @returns Added alert\n */\n addAlert(alert: AlertCreationProperties): Alert {\n // Defensive copy to prevent overwrites\n const alertInternal: AlertInternal = {\n type: alert.type,\n message: alert.message,\n timeout: alert.timeout,\n action: alert.action,\n onClose: alert.onClose,\n dismissible: alert.dismissible,\n isOpen: false,\n close: () => {\n alertInternal.isOpen = false;\n if (this.alerts().includes(alertInternal)) {\n this.alerts.update((alerts) => alerts.filter((existingAlert) => existingAlert !== alertInternal));\n if (alertInternal.onClose) {\n alertInternal.onClose(alertInternal);\n }\n }\n },\n };\n\n // Callers may forward a server or error field typed `any`, which is not necessarily a string. ngx-translate throws on a key that is not a string.\n // in case a translation key is defined, we use it to create the message\n // Note: in most cases, our code passes the translation key as message\n const translationKey: unknown = alert.translationKey || alert.message;\n if (!alert.disableTranslation && translationKey) {\n if (typeof translationKey !== 'string') {\n alertInternal.message = String(alert.message ?? '');\n } else {\n const translatedMessage = this.translateService.instant(translationKey, alert.translationParams);\n\n const translationFound = !translatedMessage.startsWith(translationNotFoundMessage);\n if (translationFound) {\n alertInternal.message = translatedMessage;\n } else {\n // Report the unknown translation key. A text with whitespace cannot be a key: some callers pass an English text or the message of a failed\n // request as `message`, which is shown as it is and is no missing translation.\n if (!/\\s/.test(translationKey)) {\n captureException(new Error('Unknown translation key: ' + translationKey));\n }\n\n // Fallback to displaying the translation key\n // Keeping the original message if it exists in case the message field is supplied with a default english version, and\n // the translationKey field is used for translations\n if (!alert.message) {\n alertInternal.message = translationKey;\n }\n }\n }\n }\n\n alertInternal.message = this.sanitizer.sanitize(SecurityContext.HTML, alertInternal.message ?? '') ?? '';\n alertInternal.timeout = alertInternal.timeout ?? DEFAULT_TIMEOUT;\n alertInternal.dismissible = alertInternal.dismissible ?? DEFAULT_DISMISSIBLE;\n if (alertInternal.action) {\n alertInternal.action = {\n label: this.sanitizer.sanitize(SecurityContext.HTML, this.translateService.instant(alertInternal.action.label) ?? '') ?? '',\n callback: alertInternal.action.callback,\n };\n }\n\n if (alert.message) {\n alertInternal.isOpen = true;\n alertInternal.openedAt = dayjs();\n\n // Due to duplicate alerts spawned by the global http error interceptor and some components,\n // we prevent more than one alert with the same content to be spawned within 50 milliseconds.\n // If such an alert already exists, we return the old one instead.\n const olderAlertWithIdenticalContent: AlertInternal | undefined = this.alerts().find(\n (otherAlert) => alertInternal.message === otherAlert.message && Math.abs(alertInternal.openedAt!.diff(otherAlert.openedAt, 'ms')) <= 50,\n );\n if (olderAlertWithIdenticalContent) {\n return olderAlertWithIdenticalContent;\n }\n\n this.alerts.update((alerts) => [alertInternal, ...alerts]);\n\n if (alertInternal.timeout > 0) {\n setTimeout(() => {\n alertInternal.close();\n }, alertInternal.timeout);\n }\n }\n\n return alertInternal;\n }\n\n success(message: string, translationParams?: { [key: string]: unknown }): Alert {\n return this.addAlert({\n type: AlertType.SUCCESS,\n message,\n translationParams,\n });\n }\n\n error(message: string, translationParams?: { [key: string]: unknown }): Alert {\n return this.addAlert({\n type: AlertType.DANGER,\n message,\n translationParams,\n });\n }\n\n warning(message: string, translationParams?: { [key: string]: unknown }): Alert {\n return this.addAlert({\n type: AlertType.WARNING,\n message,\n translationParams,\n });\n }\n\n info(message: string, translationParams?: { [key: string]: unknown }): Alert {\n return this.addAlert({\n type: AlertType.INFO,\n message,\n translationParams,\n });\n }\n\n /** The translation of the key, or undefined if the translations do not contain it, for example because they have not been loaded. */\n private translateIfKnown(translationKey: string): string | undefined {\n const translated = this.translateService.instant(translationKey);\n return translated.startsWith(translationNotFoundMessage) ? undefined : translated;\n }\n\n addErrorAlert(message?: string, translationKey?: string, translationParams?: { [key: string]: unknown }): void {\n // Some callers forward a server error field that is typed `any`, so it may not actually be a string at\n // runtime; coerce defensively before display.\n if (message && typeof message !== 'string') {\n message = String(message);\n }\n this.addAlert({ type: AlertType.DANGER, message, translationKey, translationParams });\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/51f1f77ae4efa832e7ba79412d0d493ddd1347fc.json b/web/public/bundles/artemis/code/51f1f77ae4efa832e7ba79412d0d493ddd1347fc.json new file mode 100644 index 00000000..dac0ed98 --- /dev/null +++ b/web/public/bundles/artemis/code/51f1f77ae4efa832e7ba79412d0d493ddd1347fc.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "51f1f77ae4efa832e7ba79412d0d493ddd1347fc", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/dto/exercise/QuizExerciseForCourseDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.quiz.dto.exercise;\n\nimport java.time.ZonedDateTime;\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\nimport jakarta.validation.constraints.NotEmpty;\nimport jakarta.validation.constraints.NotNull;\n\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.exercise.domain.IncludedInOverallScore;\nimport de.tum.cit.aet.artemis.quiz.domain.QuizBatch;\nimport de.tum.cit.aet.artemis.quiz.domain.QuizExercise;\nimport de.tum.cit.aet.artemis.quiz.domain.QuizMode;\n\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record QuizExerciseForCourseDTO(long id, @NotEmpty String title, boolean quizStarted, boolean quizEnded, boolean isEditable, int duration, double maxPoints,\n ZonedDateTime releaseDate, ZonedDateTime startDate, ZonedDateTime dueDate, @NotNull IncludedInOverallScore includedInOverallScore,\n @Nullable Set quizBatches, @NotNull QuizMode quizMode, Set categories, boolean hasDragAndDropQuestions) {\n\n /**\n * Converts a QuizExercise to a QuizExerciseForCourseDTO using the default quizEnded value.\n *\n * @param quizExercise The quiz exercise to convert\n * @param isEditable Whether the quiz exercise is editable\n * @param hasDragAndDropQuestions Whether the quiz contains at least one drag-and-drop question\n * @return The converted QuizExerciseForCourseDTO\n */\n public static QuizExerciseForCourseDTO of(QuizExercise quizExercise, boolean isEditable, boolean hasDragAndDropQuestions) {\n return of(quizExercise, isEditable, quizExercise.isQuizEnded(), hasDragAndDropQuestions);\n }\n\n /**\n * Converts a QuizExercise to a QuizExerciseForCourseDTO with a custom quizEnded value.\n * This is useful for exam exercises where the effective end date differs from the due date.\n *\n * @param quizExercise The quiz exercise to convert\n * @param isEditable Whether the quiz exercise is editable\n * @param effectiveQuizEnded Whether the quiz has effectively ended\n * @param hasDragAndDropQuestions Whether the quiz contains at least one drag-and-drop question\n * @return The converted QuizExerciseForCourseDTO\n */\n public static QuizExerciseForCourseDTO of(QuizExercise quizExercise, boolean isEditable, boolean effectiveQuizEnded, boolean hasDragAndDropQuestions) {\n Set batches = null;\n if (quizExercise.getQuizBatches() != null && !quizExercise.getQuizBatches().isEmpty()) {\n batches = quizExercise.getQuizBatches().stream().map(QuizBatchForCourseDTO::of).collect(Collectors.toSet());\n }\n return new QuizExerciseForCourseDTO(quizExercise.getId(), quizExercise.getTitle(), quizExercise.isQuizStarted(), effectiveQuizEnded, isEditable, quizExercise.getDuration(),\n quizExercise.getMaxPoints(), quizExercise.getReleaseDate(), quizExercise.getStartDate(), quizExercise.getDueDate(), quizExercise.getIncludedInOverallScore(),\n batches, quizExercise.getQuizMode(), quizExercise.getCategories(), hasDragAndDropQuestions);\n }\n}\n\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\nrecord QuizBatchForCourseDTO(long id, String password, boolean started, boolean ended, ZonedDateTime startTime) {\n\n public static QuizBatchForCourseDTO of(QuizBatch quizBatch) {\n return new QuizBatchForCourseDTO(quizBatch.getId(), quizBatch.getPassword(), quizBatch.isStarted(), quizBatch.isEnded(), quizBatch.getStartTime());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/524db7bba72db30a2c367e20c3339fa8abcc40b1.json b/web/public/bundles/artemis/code/524db7bba72db30a2c367e20c3339fa8abcc40b1.json new file mode 100644 index 00000000..a8f0e9d2 --- /dev/null +++ b/web/public/bundles/artemis/code/524db7bba72db30a2c367e20c3339fa8abcc40b1.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "524db7bba72db30a2c367e20c3339fa8abcc40b1", + "language": "typescript", + "path": "src/main/webapp/app/quiz/shared/entities/quiz-exercise.model.ts", + "schema": "codexray.code/1", + "text": "import dayjs from 'dayjs/esm';\nimport { Exercise, ExerciseType, resetForImport } from 'app/exercise/shared/entities/exercise/exercise.model';\nimport { QuizQuestion, resetQuizQuestionForImport } from 'app/quiz/shared/entities/quiz-question.model';\nimport { Course } from 'app/course/shared/entities/course.model';\nimport { ExerciseGroup } from 'app/exam/shared/entities/exercise-group.model';\nimport { QuizConfiguration } from 'app/quiz/shared/entities/quiz-configuration.model';\nimport { QuizParticipation } from 'app/quiz/shared/entities/quiz-participation.model';\n\nexport enum QuizStatus {\n OPEN_FOR_PRACTICE,\n ACTIVE,\n VISIBLE,\n INVISIBLE,\n}\n\nexport enum QuizMode {\n SYNCHRONIZED = 'SYNCHRONIZED',\n BATCHED = 'BATCHED',\n INDIVIDUAL = 'INDIVIDUAL',\n}\n\nexport enum LiveQuizParticipationStatus {\n NOT_STARTED = 'NOT_STARTED',\n PARTICIPATING = 'PARTICIPATING',\n SUBMITTED = 'SUBMITTED',\n MISSED = 'MISSED',\n}\n\nexport class QuizBatch {\n id?: number;\n startTime?: dayjs.Dayjs;\n started?: boolean;\n ended?: boolean;\n submissionAllowed?: boolean;\n password?: string;\n\n // local helpers\n startTimeError?: boolean;\n}\n\nexport class QuizExercise extends Exercise implements QuizConfiguration, QuizParticipation {\n public visibleToStudents?: boolean; // (computed by server)\n public allowedNumberOfAttempts?: number;\n public remainingNumberOfAttempts?: number;\n public randomizeQuestionOrder?: boolean;\n public duration?: number;\n public quizQuestions?: QuizQuestion[];\n public status?: QuizStatus;\n public quizMode?: QuizMode = QuizMode.INDIVIDUAL; // default value\n public quizBatches?: QuizBatch[];\n /**\n * Set by the exercise-list endpoints, which do not ship the question graph. Lets a list view tell whether the\n * quiz has drag-and-drop questions (they rule out AI variant generation) without loading every question.\n */\n public hasDragAndDropQuestions?: boolean;\n\n // helper attributes\n public quizEnded?: boolean;\n public quizStarted?: boolean;\n\n public isActiveQuiz?: boolean;\n public isPracticeModeAvailable?: boolean;\n public isEditable?: boolean;\n /** Set by the server on the instructor detail view: whether the evaluate action is accepted right now. */\n public canBeEvaluated?: boolean;\n\n constructor(course: Course | undefined, exerciseGroup: ExerciseGroup | undefined) {\n super(ExerciseType.QUIZ);\n this.course = course;\n this.exerciseGroup = exerciseGroup;\n this.randomizeQuestionOrder = true; // default value (set by server)\n this.isActiveQuiz = false; // default value (set by client, might need to be computed before evaluated)\n this.isPracticeModeAvailable = true; // default value (set by client, might need to be computed before evaluated)\n this.isEditable = false; // default value (set by client, might need to be computed before evaluated)\n }\n}\n\nexport function resetQuizForExam(exercise: QuizExercise) {\n resetForImport(exercise);\n\n exercise.quizBatches = [];\n exercise.isEditable = true;\n}\n\nexport function resetQuizForImport(exercise: QuizExercise) {\n resetQuizForExam(exercise);\n exercise.course = undefined;\n exercise.exerciseGroup = undefined;\n exercise.id = undefined;\n for (const question of exercise.quizQuestions || []) {\n resetQuizQuestionForImport(question);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/5450ef14dff642ac1ce88449604465856d30b259.json b/web/public/bundles/artemis/code/5450ef14dff642ac1ce88449604465856d30b259.json new file mode 100644 index 00000000..c6195503 --- /dev/null +++ b/web/public/bundles/artemis/code/5450ef14dff642ac1ce88449604465856d30b259.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "5450ef14dff642ac1ce88449604465856d30b259", + "language": "typescript", + "path": "src/main/webapp/app/plagiarism/manage/plagiarism-split-view/plagiarism-split-view.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, OnDestroy, OnInit, computed, effect, inject, input, signal, untracked } from '@angular/core';\nimport { PlagiarismComparison, PlagiarismComparisonSummary } from 'app/plagiarism/shared/entities/PlagiarismComparison';\nimport { FromToElement } from 'app/plagiarism/shared/entities/PlagiarismSubmissionElement';\nimport { Subject } from 'rxjs';\nimport { Exercise, ExerciseType, getCourseId } from 'app/exercise/shared/entities/exercise/exercise.model';\nimport { PlagiarismSubmission } from 'app/plagiarism/shared/entities/PlagiarismSubmission';\nimport { PlagiarismCasesService } from 'app/plagiarism/shared/services/plagiarism-cases.service';\nimport { HttpResponse } from '@angular/common/http';\nimport { SimpleMatch } from 'app/plagiarism/shared/entities/PlagiarismMatch';\nimport dayjs from 'dayjs/esm';\nimport { PlagiarismFileElement } from 'app/plagiarism/shared/entities/PlagiarismFileElement';\nimport { IconDefinition, faLock, faUnlock } from '@fortawesome/free-solid-svg-icons';\nimport { TextSubmissionViewerComponent } from './text-submission-viewer/text-submission-viewer.component';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { TumAetUiButtonDirective } from '@tumaet/ui-angular/button';\nimport { TumAetUiSplitterComponent } from '@tumaet/ui-angular/splitter';\nimport { TumAetUiTooltipDirective } from '@tumaet/ui-angular/tooltip';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { PlagiarismCaseExercise } from 'app/plagiarism/shared/entities/PlagiarismCase';\n\n/** Smallest size (in percent) a pane keeps while both panes are shown. */\nconst MIN_PANE_SIZE = 10;\n\n@Component({\n selector: 'jhi-plagiarism-split-view',\n styleUrls: ['./plagiarism-split-view.component.css'],\n templateUrl: './plagiarism-split-view.component.html',\n imports: [TumAetUiSplitterComponent, TextSubmissionViewerComponent, FaIconComponent, TumAetUiButtonDirective, TumAetUiTooltipDirective, ArtemisTranslatePipe],\n})\nexport class PlagiarismSplitViewComponent implements OnInit, OnDestroy {\n private plagiarismCasesService = inject(PlagiarismCasesService);\n\n readonly comparison = input(undefined);\n readonly exercise = input();\n readonly splitControlSubject = input>();\n readonly sortByStudentLogin = input();\n readonly forStudent = input();\n\n readonly plagiarismComparison = signal(undefined);\n fileSelectedSubject = new Subject();\n showFilesSubject = new Subject();\n dropdownHoverSubject = new Subject();\n\n /**\n * Initial sizes (in percent) of the two splitter panels. Bound to the splitter via [panelSizes]; the splitter applies a\n * new value whenever this signal is set, also when it holds the same numbers as before, which discards the size the\n * user dragged to.\n */\n readonly panelSizes = signal([50, 50]);\n\n /**\n * Which pane the \"show only left/right\" controls have fully collapsed, or undefined when both are shown.\n * A collapsed pane has size 0 and the splitter minimum of both panes is lifted to 0, since the splitter does not let a\n * pane shrink below its minimum.\n */\n readonly collapsedSide = signal<'left' | 'right' | undefined>(undefined);\n\n /**\n * Minimum size (in percent) of each pane, which is 0 while a pane is collapsed.\n */\n readonly minSizes = computed(() => (this.collapsedSide() ? [0, 0] : [MIN_PANE_SIZE, MIN_PANE_SIZE]));\n\n /**\n * Size (in percent) of the first pane as the user last set it. The lock-files button is positioned from it, so that it\n * stays on the divider while dragging.\n */\n readonly splitPercent = signal(50);\n\n /** Splitter gutter width (px); single source of truth, bound to the template's [gutterSize] and used to centre the lock button. */\n protected readonly gutterSize = 6;\n\n /**\n * Horizontal position of the gutter centre: the first pane takes its share of the width without the gutter, and the\n * gutter then adds half its own width.\n */\n readonly lockButtonLeft = computed(() => `calc((100% - ${this.gutterSize}px) * ${this.splitPercent() / 100} + ${this.gutterSize / 2}px)`);\n\n // Replaces the ngOnChanges 'exercise' branch: pure derived state, recomputed whenever the exercise input changes.\n readonly isProgrammingOrTextExercise = computed(() => {\n const exercise = this.exercise();\n return exercise?.type === ExerciseType.PROGRAMMING || exercise?.type === ExerciseType.TEXT;\n });\n\n /** Course of the exercise under review, undefined until the exercise input is bound. Derived so the comparison fetch can track it. */\n readonly courseId = computed(() => {\n const exercise = this.exercise();\n if (!exercise) {\n return undefined;\n }\n if ('courseId' in exercise && exercise.courseId !== undefined) {\n return exercise.courseId;\n }\n return getCourseId(exercise as Exercise);\n });\n\n readonly matchesA = signal | undefined>(undefined);\n readonly matchesB = signal | undefined>(undefined);\n readonly isLockFilesEnabled = signal(false);\n\n readonly dayjs = dayjs;\n protected readonly faLock: IconDefinition = faLock;\n protected readonly faUnlock: IconDefinition = faUnlock;\n\n constructor() {\n // Both inputs are tracked, because the parent may bind them in either order. Reading the course id inside untracked() would mean that an exercise arriving\n // after the comparison never retriggers the fetch, which is what the replaced ngOnChanges did handle.\n effect(() => {\n const comparison = this.comparison();\n const courseId = this.courseId();\n if (!comparison || courseId === undefined) {\n return;\n }\n untracked(() => {\n this.plagiarismCasesService.getPlagiarismComparisonForSplitView(courseId, comparison.id).subscribe((resp: HttpResponse) => {\n const plagiarismComparison = resp.body!;\n const sortByStudentLogin = this.sortByStudentLogin();\n if (sortByStudentLogin && sortByStudentLogin === plagiarismComparison.submissionB.studentLogin) {\n this.swapSubmissions(plagiarismComparison);\n }\n this.plagiarismComparison.set(plagiarismComparison);\n if (this.isProgrammingOrTextExercise()) {\n this.parseTextMatches(plagiarismComparison);\n }\n });\n });\n });\n }\n\n ngOnInit(): void {\n this.splitControlSubject()?.subscribe((pane: string) => this.handleSplitControl(pane));\n }\n\n ngOnDestroy() {\n this.fileSelectedSubject.complete();\n this.showFilesSubject.complete();\n this.dropdownHoverSubject.complete();\n }\n\n /**\n * Swaps fields of A with fields of B in-place.\n * More specifically, swaps submissionA with submissionB and startA with startB in matches.\n * @param plagiarismComparison plagiarism comparison that will be modified in-place\n */\n private swapSubmissions(plagiarismComparison: PlagiarismComparison) {\n const temp = plagiarismComparison.submissionA;\n plagiarismComparison.submissionA = plagiarismComparison.submissionB;\n plagiarismComparison.submissionB = temp;\n\n if (plagiarismComparison?.matches) {\n plagiarismComparison.matches.forEach((match) => {\n const tempStart = match.startA;\n match.startA = match.startB;\n match.startB = tempStart;\n });\n }\n }\n\n parseTextMatches(plagComparison: PlagiarismComparison) {\n if (plagComparison.matches) {\n const matchesA = plagComparison.matches.map((match) => new SimpleMatch(match.startA, match.length)).sort((m1, m2) => m1.start - m2.start);\n const matchesB = plagComparison.matches.map((match) => new SimpleMatch(match.startB, match.length)).sort((m1, m2) => m1.start - m2.start);\n\n this.matchesA.set(this.mapMatchesToElements(matchesA, plagComparison.submissionA));\n this.matchesB.set(this.mapMatchesToElements(matchesB, plagComparison.submissionB));\n } else {\n // empty map in case no matches are available\n this.matchesA.set(new Map());\n this.matchesB.set(new Map());\n }\n }\n\n /**\n * Create a map of file names to matches elements.\n * @param matches list of objects containing the index and length of matched elements\n * @param submission the submission to map the elements of\n */\n mapMatchesToElements(matches: SimpleMatch[], submission: PlagiarismSubmission) {\n // sort submission elements so that from and to indexes from matches reference correct elements\n const elements = submission.elements?.sort((a, b) => a.id - b.id);\n const filesToMatchedElements = new Map();\n\n matches.forEach((match) => {\n // skip empty jplag (whitespace) matches\n if (match.length === 0) {\n return;\n }\n const file = elements![match.start]?.file || 'none';\n\n if (!filesToMatchedElements.has(file)) {\n filesToMatchedElements.set(file, []);\n }\n\n const fileMatches = filesToMatchedElements.get(file)!;\n\n fileMatches.push(new FromToElement(elements![match.start], elements![match.start + match.length - 1]));\n });\n\n return filesToMatchedElements;\n }\n\n getTextSubmissionA() {\n return this.plagiarismComparison()!.submissionA;\n }\n\n getTextSubmissionB() {\n return this.plagiarismComparison()!.submissionB;\n }\n\n handleSplitControl(pane: string) {\n switch (pane) {\n case 'left': {\n // show only the left pane: fully collapse the right one\n this.collapsedSide.set('right');\n this.panelSizes.set([100, 0]);\n return;\n }\n case 'right': {\n // show only the right pane: fully collapse the left one\n this.collapsedSide.set('left');\n this.panelSizes.set([0, 100]);\n return;\n }\n case 'even': {\n this.collapsedSide.set(undefined);\n this.panelSizes.set([50, 50]);\n this.splitPercent.set(50);\n }\n }\n }\n\n /**\n * Follows the divider while the user drags it or moves it with the keyboard.\n * @param sizes the sizes (in percent) of the two panes\n */\n onSizesChange(sizes: number[]) {\n this.splitPercent.set(sizes[0]);\n }\n\n /**\n * Leaves the collapsed state when the user moves the divider that remains at the edge of the collapsed pane.\n * @param sizes the sizes (in percent) of the two panes\n */\n onResizeEnd(sizes: number[]) {\n if (!this.collapsedSide()) {\n return;\n }\n const first = Math.min(100 - MIN_PANE_SIZE, Math.max(MIN_PANE_SIZE, sizes[0]));\n this.collapsedSide.set(undefined);\n this.panelSizes.set([first, 100 - first]);\n this.splitPercent.set(first);\n }\n\n /**\n * Toggles the state of file locking and emits the new state to the parent component.\n */\n toggleLockFiles() {\n this.isLockFilesEnabled.update((enabled) => !enabled);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/54d840638381e321ac507fd939e5abcc4d8e6ca4.json b/web/public/bundles/artemis/code/54d840638381e321ac507fd939e5abcc4d8e6ca4.json new file mode 100644 index 00000000..f5faac9a --- /dev/null +++ b/web/public/bundles/artemis/code/54d840638381e321ac507fd939e5abcc4d8e6ca4.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "54d840638381e321ac507fd939e5abcc4d8e6ca4", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExerciseGroupDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exam.dto;\n\nimport java.time.ZonedDateTime;\nimport java.util.List;\n\nimport org.hibernate.Hibernate;\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.exam.domain.Exam;\nimport de.tum.cit.aet.artemis.exam.domain.ExamMode;\nimport de.tum.cit.aet.artemis.exam.domain.ExerciseGroup;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingLanguage;\n\n/**\n * DTO wire representation of an {@link ExerciseGroup}.\n *

\n * The same record serves several endpoints; the two nullable components differ per endpoint:\n *

    \n *
  • single-group responses (create / update / get-by-id) carry the nested {@link ExamForExerciseGroupDTO} (which the\n * exercise editors read to rebuild course / exam references) and omit the (previously never serialized, lazy)\n * exercises list;
  • \n *
  • list / import responses carry the embedded {@link ExerciseForExerciseGroupDTO} summaries and omit the exam. The\n * import response never serialized the exam back-reference; the list endpoint previously did, but no consumer reads it\n * (the web client does not call the list endpoint at all), so it is deliberately dropped for data economy.
  • \n *
\n *\n * @param id the id of the exercise group\n * @param title the title of the exercise group\n * @param isMandatory whether the exercise group must be included when generating student exams\n * @param exam the (slim) exam the group belongs to; only populated on single-group responses\n * @param exercises the (slim) exercises of the group; only populated on list / import responses\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record ExerciseGroupDTO(long id, @Nullable String title, @Nullable Boolean isMandatory, @Nullable ExamForExerciseGroupDTO exam,\n @Nullable List exercises) {\n\n /**\n * Slim exam projection embedded in a single-group response. Carries only the fields the exam-exercise editors read\n * off {@code exerciseGroup.exam} (the exam mode, the example-solution publication date the programming-exercise\n * editor uses to gate the \"release tests with example solution\" checkbox, and the nested course used to rebuild\n * request references).\n *\n * @param id the id of the exam\n * @param examMode the mode of the exam\n * @param exampleSolutionPublicationDate the exam's example-solution publication date (gates the programming-exercise\n * editor's \"release tests with example solution\" checkbox)\n * @param course the (slim) course of the exam\n */\n @JsonInclude(JsonInclude.Include.NON_EMPTY)\n public record ExamForExerciseGroupDTO(long id, ExamMode examMode, @Nullable ZonedDateTime exampleSolutionPublicationDate, @Nullable CourseForExerciseGroupDTO course) {\n\n /**\n * Builds the slim exam projection from an exam entity.\n *\n * @param exam the exam (with its eager course loaded)\n * @return the slim exam DTO\n */\n public static ExamForExerciseGroupDTO of(Exam exam) {\n CourseForExerciseGroupDTO courseDTO = exam.getCourse() == null ? null : CourseForExerciseGroupDTO.of(exam.getCourse());\n return new ExamForExerciseGroupDTO(exam.getId(), exam.getExamMode(), exam.getExampleSolutionPublicationDate(), courseDTO);\n }\n }\n\n /**\n * Slim course projection embedded in {@link ExamForExerciseGroupDTO}. Carries only the id and the default\n * programming language, which the programming-exercise editor reads to preselect the language for a new exam\n * programming exercise.\n *\n * @param id the id of the course\n * @param defaultProgrammingLanguage the course's default programming language\n */\n @JsonInclude(JsonInclude.Include.NON_EMPTY)\n public record CourseForExerciseGroupDTO(long id, @Nullable ProgrammingLanguage defaultProgrammingLanguage) {\n\n /**\n * Builds the slim course projection from a course entity.\n *\n * @param course the course\n * @return the slim course DTO\n */\n public static CourseForExerciseGroupDTO of(Course course) {\n return new CourseForExerciseGroupDTO(course.getId(), course.getDefaultProgrammingLanguage());\n }\n }\n\n /**\n * Builds a single-group response DTO: the nested exam is populated (when present) and the exercises list is omitted.\n * Used by the create, update and get-by-id endpoints, none of which serialized the (lazy) exercises today.\n *\n * @param exerciseGroup the exercise group (with its eager exam / course loaded)\n * @return the DTO with the nested exam and no exercises\n */\n public static ExerciseGroupDTO of(ExerciseGroup exerciseGroup) {\n ExamForExerciseGroupDTO examDTO = exerciseGroup.getExam() == null ? null : ExamForExerciseGroupDTO.of(exerciseGroup.getExam());\n return new ExerciseGroupDTO(exerciseGroup.getId(), exerciseGroup.getTitle(), exerciseGroup.getIsMandatory(), examDTO, null);\n }\n\n /**\n * Builds a list / import response DTO: the embedded exercise summaries are populated (when the collection was\n * hydrated) and the exam is omitted. The exercises are mapped via {@link java.util.stream.Stream#toList()} only when\n * initialized, never exposing a live Hibernate collection, matching today's wire where an uninitialized collection\n * did not serialize.\n *\n * @param exerciseGroup the exercise group (with its exercises loaded)\n * @return the DTO with the embedded exercise summaries and no exam\n */\n public static ExerciseGroupDTO ofWithExercises(ExerciseGroup exerciseGroup) {\n List exerciseDTOs = null;\n var exercises = exerciseGroup.getExercises();\n if (Hibernate.isInitialized(exercises) && exercises != null && !exercises.isEmpty()) {\n exerciseDTOs = exercises.stream().map(ExerciseForExerciseGroupDTO::of).toList();\n }\n return new ExerciseGroupDTO(exerciseGroup.getId(), exerciseGroup.getTitle(), exerciseGroup.getIsMandatory(), null, exerciseDTOs);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/55318d6296c76db480a4782aadc6a7d11fd5f200.json b/web/public/bundles/artemis/code/55318d6296c76db480a4782aadc6a7d11fd5f200.json new file mode 100644 index 00000000..1683b397 --- /dev/null +++ b/web/public/bundles/artemis/code/55318d6296c76db480a4782aadc6a7d11fd5f200.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "55318d6296c76db480a4782aadc6a7d11fd5f200", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseSettingsDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.course.dto;\n\nimport java.time.ZonedDateTime;\n\nimport de.tum.cit.aet.artemis.core.domain.Language;\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.course.domain.CourseInformationSharingConfiguration;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingLanguage;\n\n/** Scalar settings carried by both course creation and update requests. */\npublic interface CourseSettingsDTO {\n\n String title();\n\n String shortName();\n\n String description();\n\n String semester();\n\n ZonedDateTime startDate();\n\n ZonedDateTime endDate();\n\n ZonedDateTime enrollmentStartDate();\n\n ZonedDateTime enrollmentEndDate();\n\n ZonedDateTime unenrollmentEndDate();\n\n boolean testCourse();\n\n Boolean onlineCourse();\n\n Language language();\n\n ProgrammingLanguage defaultProgrammingLanguage();\n\n Integer maxComplaints();\n\n Integer maxTeamComplaints();\n\n int maxComplaintTimeDays();\n\n int maxRequestMoreFeedbackTimeDays();\n\n int maxComplaintTextLimit();\n\n int maxComplaintResponseTextLimit();\n\n String color();\n\n Boolean enrollmentEnabled();\n\n String enrollmentConfirmationMessage();\n\n boolean unenrollmentEnabled();\n\n boolean learningPathsEnabled();\n\n Integer presentationScore();\n\n Integer maxPoints();\n\n Integer accuracyOfScores();\n\n String timeZone();\n\n CourseInformationSharingConfiguration courseInformationSharingConfiguration();\n\n /**\n * Applies basic information, dates, complaint limits and color.\n *\n * @param course course to update\n */\n default void applyBasicSettingsTo(Course course) {\n course.setTitle(title());\n course.setShortName(shortName());\n course.setDescription(description());\n course.setSemester(semester());\n course.setStartDate(startDate());\n course.setEndDate(endDate());\n course.setEnrollmentStartDate(enrollmentStartDate());\n course.setEnrollmentEndDate(enrollmentEndDate());\n course.setUnenrollmentEndDate(unenrollmentEndDate());\n course.setTestCourse(testCourse());\n course.setOnlineCourse(onlineCourse() != null && onlineCourse());\n course.setLanguage(language());\n course.setDefaultProgrammingLanguage(defaultProgrammingLanguage());\n course.setMaxComplaints(maxComplaints());\n course.setMaxTeamComplaints(maxTeamComplaints());\n course.setMaxComplaintTimeDays(maxComplaintTimeDays());\n course.setMaxRequestMoreFeedbackTimeDays(maxRequestMoreFeedbackTimeDays());\n course.setMaxComplaintTextLimit(maxComplaintTextLimit());\n course.setMaxComplaintResponseTextLimit(maxComplaintResponseTextLimit());\n course.setColor(color());\n }\n\n /**\n * Applies enrollment and unenrollment settings.\n *\n * @param course course to update\n */\n default void applyEnrollmentSettingsTo(Course course) {\n course.setEnrollmentEnabled(enrollmentEnabled());\n course.setEnrollmentConfirmationMessage(enrollmentConfirmationMessage());\n course.setUnenrollmentEnabled(unenrollmentEnabled());\n }\n\n /**\n * Applies shared feature, scoring and regional settings.\n *\n * @param course course to update\n */\n default void applyFeatureSettingsTo(Course course) {\n course.setLearningPathsEnabled(learningPathsEnabled());\n course.setPresentationScore(presentationScore());\n course.setMaxPoints(maxPoints());\n course.setAccuracyOfScores(accuracyOfScores());\n course.setTimeZone(timeZone());\n course.setCourseInformationSharingConfiguration(courseInformationSharingConfiguration());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/55a2149d11e73b9621dae614ec781530569d9bcf.json b/web/public/bundles/artemis/code/55a2149d11e73b9621dae614ec781530569d9bcf.json new file mode 100644 index 00000000..5d45ca84 --- /dev/null +++ b/web/public/bundles/artemis/code/55a2149d11e73b9621dae614ec781530569d9bcf.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "55a2149d11e73b9621dae614ec781530569d9bcf", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/repository/CourseRequestRepository.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.course.repository;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\nimport static org.springframework.data.jpa.repository.EntityGraph.EntityGraphType.LOAD;\n\nimport java.util.List;\nimport java.util.Optional;\n\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.data.domain.Page;\nimport org.springframework.data.domain.Pageable;\nimport org.springframework.data.jpa.repository.EntityGraph;\nimport org.springframework.data.jpa.repository.Modifying;\nimport org.springframework.data.jpa.repository.Query;\nimport org.springframework.data.repository.query.Param;\nimport org.springframework.stereotype.Repository;\nimport org.springframework.transaction.annotation.Transactional;\n\nimport de.tum.cit.aet.artemis.account.repository.UserCreationLockRepository;\nimport de.tum.cit.aet.artemis.core.exception.BadRequestAlertException;\nimport de.tum.cit.aet.artemis.core.repository.base.ArtemisJpaRepository;\nimport de.tum.cit.aet.artemis.course.domain.CourseRequest;\nimport de.tum.cit.aet.artemis.course.domain.CourseRequestStatus;\n\n@Profile(PROFILE_CORE)\n@Lazy\n@Repository\npublic interface CourseRequestRepository extends ArtemisJpaRepository, UserCreationLockRepository {\n\n @EntityGraph(type = LOAD, attributePaths = { \"requester\" })\n Optional findOneWithEagerRelationshipsById(long id);\n\n Optional findOneByShortNameIgnoreCase(String shortName);\n\n long countByRequesterIdAndStatus(long requesterId, CourseRequestStatus status);\n\n /**\n * Inserts a request only while the requester has room for another pending request. The parent-row lock also\n * serializes creation when the requester has no pending requests yet.\n *\n * @param courseRequest the new pending request\n * @param maximumPendingRequests the pending request limit\n * @return the persisted request\n */\n @Transactional\n default CourseRequest saveWithPendingLimit(CourseRequest courseRequest, int maximumPendingRequests) {\n long requesterId = courseRequest.getRequester().getId();\n lockUserForCreation(requesterId);\n if (countByRequesterIdAndStatus(requesterId, CourseRequestStatus.PENDING) >= maximumPendingRequests) {\n throw new BadRequestAlertException(\"There are too many course requests waiting for a decision, please wait for a decision before you send another one\",\n CourseRequest.ENTITY_NAME, \"courseRequestTooManyPending\");\n }\n return save(courseRequest);\n }\n\n @Transactional // ok because of delete\n @Modifying\n void deleteAllByCreatedCourseId(long courseId);\n\n /**\n * Finds all course requests with the given status, ordered by creation date descending.\n * The requester is eagerly loaded.\n *\n * @param status the status to filter by\n * @return list of course requests with the given status\n */\n @EntityGraph(type = LOAD, attributePaths = { \"requester\" })\n List findAllByStatusOrderByCreatedDateDesc(CourseRequestStatus status);\n\n /**\n * Finds all decided (non-pending) course requests with pagination, ordered by processed date descending.\n *\n * @param status the status to exclude (PENDING)\n * @param pageable pagination information\n * @return page of decided course requests with requester eagerly loaded\n */\n @Query(\"\"\"\n SELECT cr FROM CourseRequest cr\n LEFT JOIN FETCH cr.requester\n WHERE cr.status <> :status\n ORDER BY cr.processedDate DESC\n \"\"\")\n Page findAllByStatusNotOrderByProcessedDateDesc(@Param(\"status\") CourseRequestStatus status, Pageable pageable);\n}\n" +} diff --git a/web/public/bundles/artemis/code/56aa3f1596f0cb219836c9556e970cec6d834170.json b/web/public/bundles/artemis/code/56aa3f1596f0cb219836c9556e970cec6d834170.json new file mode 100644 index 00000000..d9cfa8c5 --- /dev/null +++ b/web/public/bundles/artemis/code/56aa3f1596f0cb219836c9556e970cec6d834170.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "56aa3f1596f0cb219836c9556e970cec6d834170", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/config/HyperionLlmPresets.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.hyperion.config;\n\nimport java.util.LinkedHashMap;\nimport java.util.List;\nimport java.util.Map;\n\nimport org.jspecify.annotations.Nullable;\nimport org.springframework.boot.context.properties.ConfigurationProperties;\nimport org.springframework.boot.context.properties.bind.Name;\n\nimport de.tum.cit.aet.artemis.core.config.llm.LlmPresetAssignment;\nimport de.tum.cit.aet.artemis.core.config.llm.LlmPresetAssignments;\n\n/**\n * The LLM presets of Hyperion's authoring features, under {@code artemis.hyperion.llm-presets}. A task without its own key uses {@code default}.\n * Exercise generation, the quiz question pool and its effort profiles assign their presets in their own blocks.\n *\n * @param defaultPreset the preset of every task without its own key\n * @param problemStatement generating and refining problem statements\n * @param problemStatementRewrite rewriting problem statements\n * @param consistencyCheck the consistency check of programming exercises\n * @param checklist the quality checklist\n * @param assessmentCriteria generating assessment criteria\n * @param quizGeneration generating quiz questions\n * @param codeGeneration generating solution, template and test repositories\n * @param variants exercise and quiz variants\n * @param faqRewrite rewriting FAQs\n * @param metadataSuggestion suggesting exercise metadata\n * @param competencyContext summarizing the competency context of a course\n */\n@ConfigurationProperties(prefix = \"artemis.hyperion.llm-presets\", ignoreUnknownFields = false)\npublic record HyperionLlmPresets(@Name(\"default\") @Nullable String defaultPreset, @Nullable String problemStatement, @Nullable String problemStatementRewrite,\n @Nullable String consistencyCheck, @Nullable String checklist, @Nullable String assessmentCriteria, @Nullable String quizGeneration, @Nullable String codeGeneration,\n @Nullable String variants, @Nullable String faqRewrite, @Nullable String metadataSuggestion, @Nullable String competencyContext) implements LlmPresetAssignments {\n\n static final String KEY = \"artemis.hyperion.llm-presets\";\n\n /**\n * A Hyperion task that calls an LLM, with its key in {@code artemis.hyperion.llm-presets}.\n */\n public enum Task {\n\n PROBLEM_STATEMENT(\"problem-statement\"), PROBLEM_STATEMENT_REWRITE(\"problem-statement-rewrite\"), CONSISTENCY_CHECK(\"consistency-check\"), CHECKLIST(\"checklist\"),\n ASSESSMENT_CRITERIA(\"assessment-criteria\"), QUIZ_GENERATION(\"quiz-generation\"), CODE_GENERATION(\"code-generation\"), VARIANTS(\"variants\"), FAQ_REWRITE(\"faq-rewrite\"),\n METADATA_SUGGESTION(\"metadata-suggestion\"), COMPETENCY_CONTEXT(\"competency-context\");\n\n private final String key;\n\n Task(String key) {\n this.key = key;\n }\n\n /** @return the key of the task in {@code artemis.hyperion.llm-presets} */\n public String key() {\n return key;\n }\n }\n\n @Override\n public List llmPresetAssignments() {\n Map tasks = new LinkedHashMap<>();\n for (Task task : Task.values()) {\n tasks.put(task.key(), configured(task));\n }\n return LlmPresetAssignment.ofMap(KEY, defaultPreset, tasks);\n }\n\n /**\n * @param task a Hyperion task\n * @return the preset of the task: its own key, otherwise {@code default}; validated at startup\n */\n public String presetFor(Task task) {\n String preset = LlmPresetAssignment.ofMap(KEY, task.key(), configured(task), defaultPreset).preset();\n if (preset == null) {\n throw new IllegalStateException(\"No LLM preset for \" + KEY + \".\" + task.key());\n }\n return preset;\n }\n\n private @Nullable String configured(Task task) {\n return switch (task) {\n case PROBLEM_STATEMENT -> problemStatement;\n case PROBLEM_STATEMENT_REWRITE -> problemStatementRewrite;\n case CONSISTENCY_CHECK -> consistencyCheck;\n case CHECKLIST -> checklist;\n case ASSESSMENT_CRITERIA -> assessmentCriteria;\n case QUIZ_GENERATION -> quizGeneration;\n case CODE_GENERATION -> codeGeneration;\n case VARIANTS -> variants;\n case FAQ_REWRITE -> faqRewrite;\n case METADATA_SUGGESTION -> metadataSuggestion;\n case COMPETENCY_CONTEXT -> competencyContext;\n };\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/574b0b921af0f6af7ee80e5e797b41416f319f61.json b/web/public/bundles/artemis/code/574b0b921af0f6af7ee80e5e797b41416f319f61.json new file mode 100644 index 00000000..372205cc --- /dev/null +++ b/web/public/bundles/artemis/code/574b0b921af0f6af7ee80e5e797b41416f319f61.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "574b0b921af0f6af7ee80e5e797b41416f319f61", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/dto/metrics/CompetencyExerciseMasteryCalculationDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.atlas.dto.metrics;\n\nimport java.time.Instant;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.exercise.domain.DifficultyLevel;\n\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record CompetencyExerciseMasteryCalculationDTO(long exerciseId, double maxPoints, DifficultyLevel difficulty, boolean isProgrammingExercise, double competencyLinkWeight,\n Double lastScore, Double lastPoints, Instant lastModifiedDate, long submissionCount) {\n}\n" +} diff --git a/web/public/bundles/artemis/code/579a380dfd85835621c6bfd70c417a4d34b7209d.json b/web/public/bundles/artemis/code/579a380dfd85835621c6bfd70c417a4d34b7209d.json new file mode 100644 index 00000000..32b57d5e --- /dev/null +++ b/web/public/bundles/artemis/code/579a380dfd85835621c6bfd70c417a4d34b7209d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "579a380dfd85835621c6bfd70c417a4d34b7209d", + "language": "typescript", + "path": "src/main/webapp/app/hyperion/problem-statement/problem-statement-ai-operations.helper.ts", + "schema": "codexray.code/1", + "text": "import { DestroyRef, Injector, Signal, afterNextRender, computed, signal } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { Subscription } from 'rxjs';\nimport { cloneWith } from 'app/foundation/util/deep-clone.util';\nimport { AlertService } from 'app/foundation/service/alert.service';\nimport { ProfileService } from 'app/core/layouts/profiles/shared/profile.service';\nimport { ArtemisIntelligenceService } from 'app/hyperion/editor/artemis-intelligence/artemis-intelligence.service';\nimport { ProblemStatementService } from 'app/hyperion/problem-statement/problem-statement.service';\nimport { ProgrammingExercise } from 'app/programming/shared/entities/programming-exercise.model';\nimport { ProgrammingExerciseEditableInstructionComponent } from 'app/programming/manage/instructions-editor/programming-exercise-editable-instruction.component';\nimport {\n InlineRefinementEvent,\n MAX_USER_PROMPT_LENGTH,\n PROMPT_LENGTH_WARNING_THRESHOLD,\n deriveDraftMetadataPrefill,\n isTemplateOrEmpty,\n} from 'app/hyperion/problem-statement/problem-statement.utils';\nimport { LineChange } from 'app/programming/shared/utils/diff.utils';\nimport { MODULE_FEATURE_HYPERION, MODULE_FEATURE_HYPERION_EXERCISE_GENERATION } from 'app/app.constants';\n\n/**\n * Callback interface that consumers implement to propagate state changes\n * when a problem statement is generated, refined, or reverted.\n *\n * This decouples the shared AI operation logic from the specific\n * component lifecycle (outputs vs. base-class methods, etc.).\n */\nexport interface ProblemStatementChangeHandler {\n /** Called when the problem statement content changes (generation, refinement accept, revert). */\n onContentChanged(content: string, exercise: ProgrammingExercise): void;\n}\n\n/**\n * Shared helper that encapsulates all AI-powered problem statement operations:\n * generation, global refinement, targeted (inline) refinement, diff management,\n * template loading, and cancellation.\n *\n * Both `ProgrammingExerciseProblemComponent` and `CodeEditorInstructorAndEditorContainerComponent`\n * delegate to an instance of this helper to eliminate code duplication.\n */\nexport class ProblemStatementAiOperationsHelper {\n /** User's prompt text (generation or refinement instruction). */\n readonly userPrompt = signal('');\n\n /** Original requirements used to create the current AI draft, retained after the prompt field is cleared. */\n readonly generationBrief = signal('');\n\n /** Whether a generation or refinement HTTP call is in flight. */\n readonly isGeneratingOrRefining = signal(false);\n\n /** Whether the prompt length is near the maximum. */\n readonly isPromptNearLimit = computed(() => (this.userPrompt()?.length ?? 0) >= MAX_USER_PROMPT_LENGTH * PROMPT_LENGTH_WARNING_THRESHOLD);\n\n /** Whether any AI operation (refinement, generation, or rewriting) is active. */\n readonly isAiApplying: Signal;\n\n /** Whether the diff view is open. */\n readonly showDiff = signal(false);\n\n /** Whether side-by-side diff layout is allowed. */\n readonly allowSplitView = signal(true);\n\n /** Number of added lines in the current diff. */\n readonly addedLineCount = signal(0);\n\n /** Number of removed lines in the current diff. */\n readonly removedLineCount = signal(0);\n\n /** The loaded template problem statement for comparison. */\n readonly templateProblemStatement = signal('');\n\n /** Whether the template has been loaded. */\n readonly templateLoaded = signal(false);\n\n /** Tracks the current problem statement content for shouldShowGenerateButton. */\n readonly currentProblemStatement = signal('');\n\n /** Whether the Hyperion module feature is active. Gates the non-CI features (problem-statement drafting/refinement/consistency), which work with any CI system. */\n readonly hyperionEnabled: boolean;\n\n /**\n * Whether the agentic whole-exercise generation/adaptation affordances may be offered. These need the integrated LocalCI/LocalVC lifecycle, so the server disables the\n * generation endpoints unless the `localci` profile is active; the client mirrors that by requiring both Hyperion and LocalCI. This gates ONLY whole-exercise generation, never\n * the plain problem-statement AI features which keep running under Jenkins.\n */\n readonly hyperionGenerationSupported: boolean;\n\n /** Whether to show the \"Generate\" button (true) or the \"Refine\" button (false). */\n readonly shouldShowGenerateButton: Signal;\n\n private currentAiOperationSubscription: Subscription | undefined;\n private refinementRequestId = 0;\n private changeHandler?: ProblemStatementChangeHandler;\n\n constructor(\n private readonly problemStatementService: ProblemStatementService,\n private readonly alertService: AlertService,\n private readonly artemisIntelligenceService: ArtemisIntelligenceService,\n profileService: ProfileService,\n private readonly destroyRef: DestroyRef,\n private readonly injector: Injector,\n ) {\n this.hyperionEnabled = profileService.isModuleFeatureActive(MODULE_FEATURE_HYPERION);\n this.hyperionGenerationSupported = profileService.isModuleFeatureActive(MODULE_FEATURE_HYPERION_EXERCISE_GENERATION);\n this.isAiApplying = computed(() => this.isGeneratingOrRefining() || this.artemisIntelligenceService.isLoading());\n this.shouldShowGenerateButton = computed(() => isTemplateOrEmpty(this.currentProblemStatement(), this.templateProblemStatement(), this.templateLoaded()));\n }\n\n /** Sets the callback that receives content changes from AI operations. */\n setChangeHandler(handler: ProblemStatementChangeHandler): void {\n this.changeHandler = handler;\n }\n\n /**\n * Loads the template problem statement for the given exercise.\n * Call this during component initialization (ngOnInit / loadExercise).\n */\n loadTemplate(exercise: ProgrammingExercise | undefined): void {\n this.problemStatementService\n .loadTemplate(exercise)\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe((result) => {\n this.templateProblemStatement.set(result.template);\n this.templateLoaded.set(result.loaded);\n });\n }\n\n /**\n * Generates a draft problem statement using the current user prompt.\n *\n * @param exercise The programming exercise.\n * @param editableInstructions Reference to the editable instruction editor.\n */\n generateProblemStatement(exercise: ProgrammingExercise | undefined, editableInstructions: ProgrammingExerciseEditableInstructionComponent | undefined): void {\n if (!exercise) {\n return;\n }\n const prompt = this.userPrompt();\n if (!prompt?.trim()) {\n return;\n }\n\n this.currentAiOperationSubscription?.unsubscribe();\n this.currentAiOperationSubscription = this.problemStatementService\n .generateProblemStatement(exercise, prompt, (v) => this.isGeneratingOrRefining.set(v))\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe({\n next: (result) => {\n if (result.success && result.content) {\n const draftContent = result.content;\n\n editableInstructions?.applyGeneratedText(draftContent);\n exercise.problemStatement = draftContent;\n this.generationBrief.set(prompt.trim());\n const metadataPrefill = deriveDraftMetadataPrefill(exercise, draftContent);\n const updatedExercise = metadataPrefill ? cloneWith(exercise, metadataPrefill) : exercise;\n this.currentProblemStatement.set(draftContent);\n this.userPrompt.set('');\n this.changeHandler?.onContentChanged(draftContent, updatedExercise);\n } else if (!result.errorHandled) {\n this.alertService.error('artemisApp.programmingExercise.problemStatement.generationError');\n }\n },\n error: () => {\n this.alertService.error('artemisApp.programmingExercise.problemStatement.generationError');\n this.isGeneratingOrRefining.set(false);\n this.currentAiOperationSubscription = undefined;\n },\n });\n }\n\n /**\n * Refines an existing problem statement globally using the current user prompt.\n * Opens the diff view to show what changed.\n *\n * @param exercise The programming exercise.\n * @param editableInstructions Reference to the editable instruction editor.\n */\n refineProblemStatement(exercise: ProgrammingExercise | undefined, editableInstructions: ProgrammingExerciseEditableInstructionComponent | undefined): void {\n const currentContent = editableInstructions?.getCurrentContent() ?? exercise?.problemStatement;\n const prompt = this.userPrompt();\n\n if (!exercise || !prompt?.trim()) {\n return;\n }\n\n if (!currentContent?.trim()) {\n this.alertService.error('artemisApp.programmingExercise.problemStatement.cannotRefineEmpty');\n return;\n }\n\n this.currentAiOperationSubscription?.unsubscribe();\n this.currentAiOperationSubscription = this.problemStatementService\n .refineGlobally(exercise, currentContent, prompt, (v) => this.isGeneratingOrRefining.set(v))\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe({\n next: (result) => {\n if (result.success && result.content) {\n this.showDiff.set(true);\n this.userPrompt.set('');\n const expectedContent = result.content;\n const requestId = ++this.refinementRequestId;\n afterNextRender(\n () => {\n if (requestId === this.refinementRequestId && this.showDiff()) {\n editableInstructions?.applyRefinedContent(expectedContent);\n }\n },\n { injector: this.injector },\n );\n } else if (!result.errorHandled) {\n this.alertService.error('artemisApp.programmingExercise.problemStatement.refinementError');\n }\n },\n error: () => {\n this.alertService.error('artemisApp.programmingExercise.problemStatement.refinementError');\n this.isGeneratingOrRefining.set(false);\n this.currentAiOperationSubscription = undefined;\n },\n });\n }\n\n /**\n * Handles an inline refinement request from editor selection.\n * Calls the Hyperion API with the selected text and instruction, then applies changes in diff view.\n *\n * @param exercise The programming exercise.\n * @param editableInstructions Reference to the editable instruction editor.\n * @param event The inline refinement event with selection coordinates and instruction.\n */\n onInlineRefinement(\n exercise: ProgrammingExercise | undefined,\n editableInstructions: ProgrammingExerciseEditableInstructionComponent | undefined,\n event: InlineRefinementEvent,\n ): void {\n const currentContent = editableInstructions?.getCurrentContent() ?? exercise?.problemStatement;\n\n if (!currentContent?.trim()) {\n this.alertService.error('artemisApp.programmingExercise.problemStatement.inlineRefinement.emptyStatementError');\n return;\n }\n\n this.currentAiOperationSubscription?.unsubscribe();\n const requestId = ++this.refinementRequestId;\n this.currentAiOperationSubscription = this.problemStatementService\n .refineTargeted(exercise, currentContent, event, (v) => this.isGeneratingOrRefining.set(v))\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe({\n next: (result) => {\n if (result.success && result.content) {\n this.showDiff.set(true);\n const refinedContent = result.content;\n afterNextRender(\n () => {\n if (requestId === this.refinementRequestId && this.showDiff()) {\n editableInstructions?.applyRefinedContent(refinedContent);\n }\n },\n { injector: this.injector },\n );\n } else if (!result.errorHandled) {\n this.alertService.error('artemisApp.programmingExercise.problemStatement.inlineRefinement.error');\n }\n this.currentAiOperationSubscription = undefined;\n },\n error: () => {\n this.alertService.error('artemisApp.programmingExercise.problemStatement.inlineRefinement.error');\n this.isGeneratingOrRefining.set(false);\n this.currentAiOperationSubscription = undefined;\n },\n });\n }\n\n /**\n * Dispatches to either generation or global refinement based on the current state.\n *\n * @param exercise The programming exercise.\n * @param editableInstructions Reference to the editable instruction editor.\n */\n handleProblemStatementAction(exercise: ProgrammingExercise | undefined, editableInstructions: ProgrammingExerciseEditableInstructionComponent | undefined): void {\n if (this.shouldShowGenerateButton()) {\n this.generateProblemStatement(exercise, editableInstructions);\n } else {\n this.refineProblemStatement(exercise, editableInstructions);\n }\n }\n\n /**\n * Cancels the ongoing AI operation.\n * Preserves the user's prompt so they can retry or modify it.\n */\n cancelAiOperation(): void {\n this.currentAiOperationSubscription?.unsubscribe();\n this.currentAiOperationSubscription = undefined;\n this.isGeneratingOrRefining.set(false);\n }\n\n /**\n * Closes the diff view. Syncs the current editor content to the exercise model.\n *\n * @param exercise The programming exercise.\n * @param editableInstructions Reference to the editable instruction editor.\n */\n closeDiffView(exercise: ProgrammingExercise | undefined, editableInstructions: ProgrammingExerciseEditableInstructionComponent | undefined): void {\n const currentContent = editableInstructions?.getCurrentContent();\n if (exercise && currentContent != null) {\n exercise.problemStatement = currentContent;\n this.currentProblemStatement.set(currentContent);\n this.changeHandler?.onContentChanged(currentContent, exercise);\n }\n this.showDiff.set(false);\n }\n\n /**\n * Reverts all changes and closes the diff view.\n *\n * @param exercise The programming exercise.\n * @param editableInstructions Reference to the editable instruction editor.\n */\n revertAllChanges(exercise: ProgrammingExercise | undefined, editableInstructions: ProgrammingExerciseEditableInstructionComponent | undefined): void {\n editableInstructions?.revertAll();\n this.closeDiffView(exercise, editableInstructions);\n }\n\n /**\n * Updates diff line count signals from the editable instructions diff output.\n */\n onDiffLineChange(event: { ready: boolean; lineChange: LineChange }): void {\n this.addedLineCount.set(event.lineChange.addedLineCount);\n this.removedLineCount.set(event.lineChange.removedLineCount);\n }\n\n /**\n * Applies a proposed problem statement from a checklist AI action by switching\n * into diff review mode and loading the content into the editor.\n *\n * @param proposedContent The updated problem statement markdown proposed by the checklist action.\n * @param editableInstructions Reference to the editable instruction editor.\n */\n applyChecklistActionDiff(proposedContent: string, editableInstructions: ProgrammingExerciseEditableInstructionComponent | undefined): void {\n this.showDiff.set(true);\n const requestId = ++this.refinementRequestId;\n afterNextRender(\n () => {\n if (requestId === this.refinementRequestId && this.showDiff()) {\n editableInstructions?.applyRefinedContent(proposedContent);\n }\n },\n { injector: this.injector },\n );\n }\n\n /**\n * Cleans up subscriptions. Call from the host component's ngOnDestroy.\n */\n destroy(): void {\n this.currentAiOperationSubscription?.unsubscribe();\n this.currentAiOperationSubscription = undefined;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/586e9f76938fff1efbe27d1e1889dace0afd5787.json b/web/public/bundles/artemis/code/586e9f76938fff1efbe27d1e1889dace0afd5787.json new file mode 100644 index 00000000..52da2312 --- /dev/null +++ b/web/public/bundles/artemis/code/586e9f76938fff1efbe27d1e1889dace0afd5787.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "586e9f76938fff1efbe27d1e1889dace0afd5787", + "language": "typescript", + "path": "src/main/webapp/app/programming/manage/code-editor/file-browser/delete/code-editor-file-browser-delete.ts", + "schema": "codexray.code/1", + "text": "import { Component, inject, input, model, output, signal } from '@angular/core';\nimport { captureException } from 'app/core/error-reporting/capture-exception';\nimport { faBan, faTrashAlt } from '@fortawesome/free-solid-svg-icons';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { CodeEditorRepositoryFileService } from 'app/programming/shared/code-editor/services/code-editor-repository.service';\nimport { DeleteFileChange, FileChange, FileType } from 'app/programming/shared/code-editor/model/code-editor.model';\nimport { TumAetUiButtonDirective } from '@tumaet/ui-angular/button';\nimport { TumAetUiDialogComponent } from '@tumaet/ui-angular/dialog';\n\n/**\n * Dialog that asks for confirmation before a file or folder of the repository is deleted.\n */\n@Component({\n selector: 'jhi-code-editor-file-browser-delete',\n templateUrl: './code-editor-file-browser-delete.component.html',\n providers: [CodeEditorRepositoryFileService],\n imports: [TranslateDirective, FaIconComponent, ArtemisTranslatePipe, TumAetUiDialogComponent, TumAetUiButtonDirective],\n})\nexport class CodeEditorFileBrowserDeleteComponent {\n private repositoryFileService = inject(CodeEditorRepositoryFileService);\n\n readonly visible = model(false);\n readonly fileNameToDelete = input();\n readonly fileType = input();\n /** Emits the change after the file or folder was deleted in the repository. */\n readonly fileDeleted = output();\n\n readonly isLoading = signal(false);\n\n protected readonly FileType = FileType;\n\n // Icons\n faBan = faBan;\n faTrashAlt = faTrashAlt;\n\n /**\n * Deletes the file or folder in the repository and reports the change. The dialog closes afterwards, unless it\n * shows the confirmation for another file by then.\n */\n deleteFile() {\n // Guard against PROBLEM_STATEMENT deletion - it's a pseudo-file, not a real repository file\n if (this.fileType() === FileType.PROBLEM_STATEMENT) {\n this.closeModal();\n return;\n }\n const fileName = this.fileNameToDelete();\n const fileType = this.fileType();\n if (!fileName || !fileType) {\n return;\n }\n this.isLoading.set(true);\n this.repositoryFileService.deleteFile(fileName).subscribe({\n next: () => {\n this.isLoading.set(false);\n // The user may have cancelled this confirmation and opened one for another file while the request\n // was running. Only the confirmation that started the request is closed.\n if (this.fileNameToDelete() === fileName) {\n this.closeModal();\n }\n this.fileDeleted.emit(new DeleteFileChange(fileType, fileName));\n },\n error: (err) => {\n this.isLoading.set(false);\n captureException(err);\n // TODO: show the error to the user\n },\n });\n }\n\n /**\n * Closes the dialog without deleting anything.\n */\n closeModal() {\n this.visible.set(false);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/58bfb57ab98ca0b6cf53714a96698d27c57d2ff3.json b/web/public/bundles/artemis/code/58bfb57ab98ca0b6cf53714a96698d27c57d2ff3.json new file mode 100644 index 00000000..6bc66e0e --- /dev/null +++ b/web/public/bundles/artemis/code/58bfb57ab98ca0b6cf53714a96698d27c57d2ff3.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "58bfb57ab98ca0b6cf53714a96698d27c57d2ff3", + "language": "typescript", + "path": "src/main/webapp/app/exercise/shared/entities/participation/student-participation.model.ts", + "schema": "codexray.code/1", + "text": "import { User } from 'app/account/user/user.model';\nimport { Team } from 'app/exercise/shared/entities/team/team.model';\nimport { Participation, ParticipationType } from 'app/exercise/shared/entities/participation/participation.model';\n\nexport class StudentParticipation extends Participation {\n public student?: User;\n public team?: Team;\n public testRun?: boolean;\n /** Own submission status from the overview, including submissions withheld until assessment. */\n public hasSubmitted?: boolean;\n\n constructor(type?: ParticipationType) {\n super(type ?? ParticipationType.STUDENT);\n }\n}\n\n/**\n * Checks if the participation is used for practicing in a course exercise. This is the case if testRun is set to true\n * @param studentParticipation the participation to check\n */\nexport function isPracticeMode(studentParticipation: StudentParticipation | undefined): boolean | undefined {\n return studentParticipation?.testRun;\n}\n\n/**\n * Stores whether the participation is used for practicing in a course exercise.\n * @param studentParticipation the participation that should store if it is used for practicing\n * @param practiceMode true, if it is used for practicing\n */\nexport function setPracticeMode(studentParticipation: StudentParticipation | undefined, practiceMode: boolean) {\n if (studentParticipation) {\n studentParticipation.testRun = practiceMode;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/596b4d42d44d51cb3996d14ff85dac5801169007.json b/web/public/bundles/artemis/code/596b4d42d44d51cb3996d14ff85dac5801169007.json new file mode 100644 index 00000000..81529050 --- /dev/null +++ b/web/public/bundles/artemis/code/596b4d42d44d51cb3996d14ff85dac5801169007.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "596b4d42d44d51cb3996d14ff85dac5801169007", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/domain/conversation/GroupChat.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.communication.domain.conversation;\n\nimport static de.tum.cit.aet.artemis.communication.ConversationSettings.MAX_GROUP_CHAT_PARTICIPANTS;\n\nimport java.time.ZonedDateTime;\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\nimport jakarta.persistence.Column;\nimport jakarta.persistence.DiscriminatorValue;\nimport jakarta.persistence.Entity;\nimport jakarta.validation.constraints.Size;\n\nimport org.apache.commons.lang3.StringUtils;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.communication.domain.ConversationParticipant;\nimport de.tum.cit.aet.artemis.communication.domain.Post;\nimport de.tum.cit.aet.artemis.core.config.Constants;\nimport de.tum.cit.aet.artemis.course.domain.Course;\n\n@Entity\n@DiscriminatorValue(\"G\")\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic class GroupChat extends Conversation {\n\n /**\n * The name of the group chat. Does not have to be unique in the course.\n */\n @Column(name = \"name\")\n @Size(min = 1, max = 20)\n private String name;\n\n public GroupChat(Long id, User creator, Set conversationParticipants, Set posts, Course course, ZonedDateTime creationDate,\n ZonedDateTime lastMessageDate, String name) {\n super(id, creator, conversationParticipants, posts, course, creationDate, lastMessageDate);\n this.name = StringUtils.isBlank(name) ? generateName() : name;\n }\n\n public GroupChat() {\n }\n\n /**\n * Generates a name for the group chat.\n *\n * @return the generated name\n */\n public String generateName() {\n String generatedName = getConversationParticipants().stream().map((participant) -> participant.getUser().getName()).collect(Collectors.joining(\", \"));\n\n // The name should be human-readable, so we limit it for very long lists and add \"…\" to hint that the string is not complete.\n if (generatedName.length() >= Constants.GROUP_CONVERSATION_HUMAN_READABLE_NAME_LIMIT) {\n generatedName = generatedName.substring(0, Constants.GROUP_CONVERSATION_HUMAN_READABLE_NAME_LIMIT) + \"…\";\n }\n return generatedName;\n }\n\n @Override\n public void setConversationParticipants(Set conversationParticipant) {\n if (conversationParticipant.size() > MAX_GROUP_CHAT_PARTICIPANTS) {\n throw new IllegalArgumentException(\"Group chats can only have max 10 participants\");\n }\n super.setConversationParticipants(conversationParticipant);\n }\n\n public String getName() {\n return name;\n }\n\n public void setName(String name) {\n this.name = name;\n }\n\n @Override\n public String getHumanReadableNameForReceiver(User sender) {\n String name = getName();\n if (name == null || name.isBlank()) {\n return generateName();\n }\n return name;\n }\n\n @Override\n public Conversation copy() {\n return new GroupChat(getId(), getCreator(), getConversationParticipants(), getPosts(), getCourse(), getCreationDate(), getLastMessageDate(), getName());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/5a2b24f56e5e50a8af01ee2561f82d5be55992b7.json b/web/public/bundles/artemis/code/5a2b24f56e5e50a8af01ee2561f82d5be55992b7.json new file mode 100644 index 00000000..349db8db --- /dev/null +++ b/web/public/bundles/artemis/code/5a2b24f56e5e50a8af01ee2561f82d5be55992b7.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "5a2b24f56e5e50a8af01ee2561f82d5be55992b7", + "language": "typescript", + "path": "src/main/webapp/app/quiz/shared/questions/drag-and-drop-question/drag-item/drag-item.component.ts", + "schema": "codexray.code/1", + "text": "import { BreakpointObserver } from '@angular/cdk/layout';\nimport { Component, ViewEncapsulation, inject, input } from '@angular/core';\nimport { DragItem } from 'app/quiz/shared/entities/drag-item.model';\nimport { NgClass } from '@angular/common';\nimport { CdkDrag, CdkDragPlaceholder, CdkDragPreview } from '@angular/cdk/drag-drop';\nimport { ImageComponent } from 'app/shared-ui/image/image.component';\nimport { FitTextDirective } from 'app/quiz/shared/fit-text/fit-text.directive';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { addPublicFilePrefix } from 'app/app.constants';\nimport { dragItemPicturePath } from 'app/quiz/shared/util/drag-and-drop-file-url.util';\nimport { getIsMobileSignal } from 'app/foundation/util/global.utils';\n\n@Component({\n selector: 'jhi-drag-item',\n templateUrl: './drag-item.component.html',\n styleUrls: ['./drag-item.component.css'],\n encapsulation: ViewEncapsulation.None,\n imports: [NgClass, CdkDrag, ImageComponent, CdkDragPlaceholder, FitTextDirective, CdkDragPreview, TranslateDirective],\n})\nexport class DragItemComponent {\n private breakpointObserver = inject(BreakpointObserver);\n readonly isMobile = getIsMobileSignal(this.breakpointObserver);\n\n minWidth = input();\n dragItem = input.required();\n clickDisabled = input();\n invalid = input();\n filePreviewPaths = input>(new Map());\n // The owning drag-and-drop question id, needed to build the (question-scoped) drag item image URL. Drag item ids are only unique within their question.\n questionId = input();\n\n protected readonly addPublicFilePrefix = addPublicFilePrefix;\n\n /**\n * Builds the image source for the drag item. A locally uploaded, not-yet-saved image is shown from its client-side preview (a data URL) if present; otherwise the saved picture is\n * served via the question-scoped file URL {@code files/drag-and-drop/questions/{questionId}/drag-items/{dragItemId}/{filename}}.\n *\n * `pictureFilePath` already carries that path on a current response; the rebuild is what keeps a value that does not carry it reachable, since a drag item id is only unique\n * within its question. {@link dragItemPicturePath} owns that template and explains when such a value still turns up.\n */\n protected imageSrc(): string | undefined {\n const picturePath = this.dragItem().pictureFilePath;\n if (!picturePath) {\n return undefined;\n }\n const preview = this.filePreviewPaths().get(picturePath);\n if (preview) {\n return addPublicFilePrefix(preview);\n }\n const questionId = this.questionId();\n const dragItemId = this.dragItem().id;\n if (questionId !== undefined && dragItemId !== undefined) {\n return addPublicFilePrefix(dragItemPicturePath(questionId, dragItemId, picturePath));\n }\n return addPublicFilePrefix(picturePath);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/5a3a2833c2c2280d2dc13b97ca91ea57b5e245b3.json b/web/public/bundles/artemis/code/5a3a2833c2c2280d2dc13b97ca91ea57b5e245b3.json new file mode 100644 index 00000000..cc0aa866 --- /dev/null +++ b/web/public/bundles/artemis/code/5a3a2833c2c2280d2dc13b97ca91ea57b5e245b3.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "5a3a2833c2c2280d2dc13b97ca91ea57b5e245b3", + "language": "typescript", + "path": "src/main/webapp/app/assessment/shared/entities/complaint.model.ts", + "schema": "codexray.code/1", + "text": "import dayjs from 'dayjs/esm';\nimport { User } from 'app/account/user/user.model';\nimport { BaseEntity } from 'app/foundation/model/base-entity';\nimport { Result } from 'app/exercise/shared/entities/result/result.model';\nimport { Team } from 'app/exercise/shared/entities/team/team.model';\nimport { ComplaintResponse } from 'app/assessment/shared/entities/complaint-response.model';\n\nexport enum ComplaintType {\n COMPLAINT = 'COMPLAINT',\n MORE_FEEDBACK = 'MORE_FEEDBACK',\n}\n\nexport class Complaint implements BaseEntity {\n public id?: number;\n\n public complaintText?: string;\n public accepted?: boolean;\n public submittedTime?: dayjs.Dayjs;\n public result?: Result;\n public student?: User;\n public team?: Team;\n public complaintType?: ComplaintType;\n public complaintResponse?: ComplaintResponse;\n /** Privacy-safe stable assessor id for tutor All-scope filtering (not login). */\n public assessorKey?: string;\n /** Privacy-safe assessor display name (first/last only; no login). */\n public assessorLabel?: string;\n}\n" +} diff --git a/web/public/bundles/artemis/code/5aa35cbce54d26b4db9e8c38ca0959e960cd61e4.json b/web/public/bundles/artemis/code/5aa35cbce54d26b4db9e8c38ca0959e960cd61e4.json new file mode 100644 index 00000000..d97e26a7 --- /dev/null +++ b/web/public/bundles/artemis/code/5aa35cbce54d26b4db9e8c38ca0959e960cd61e4.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "5aa35cbce54d26b4db9e8c38ca0959e960cd61e4", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/FeatureUsageDigestScheduleService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.admin.service;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\n\nimport java.util.List;\nimport java.util.concurrent.Executor;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.beans.factory.annotation.Qualifier;\nimport org.springframework.beans.factory.annotation.Value;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.scheduling.annotation.Scheduled;\nimport org.springframework.stereotype.Service;\nimport org.springframework.util.StringUtils;\n\nimport de.tum.cit.aet.artemis.admin.dto.FeatureUsageDigestDTO;\nimport de.tum.cit.aet.artemis.core.config.FeatureUsageProperties;\nimport de.tum.cit.aet.artemis.core.service.ProfileService;\nimport de.tum.cit.aet.artemis.notification.dto.MailRecipientDTO;\nimport de.tum.cit.aet.artemis.notification.service.notifications.MailService;\n\n/**\n * Sends the weekly feature usage summary to the administrators.\n *

\n * Modelled on the weekly vulnerability report: a cron job on the scheduling node only, skipped in development and on test\n * servers, and only actually sent when an administrator address is configured. The point of the mail is not to replace the\n * admin page but to make someone open it, so it carries a per-module roll-up and a link.\n *

\n * Single execution across the cluster comes from the scheduling profile, which is how every other cron job in Artemis\n * avoids duplicates. The mail can also be triggered manually from any node, which is how an administrator checks that\n * delivery works without waiting a week.\n */\n@Lazy\n@Service\n@Profile(PROFILE_CORE)\npublic class FeatureUsageDigestScheduleService {\n\n private static final Logger log = LoggerFactory.getLogger(FeatureUsageDigestScheduleService.class);\n\n /** Emails are only written in English elsewhere in the admin flows, and administrators are a known small audience. */\n private static final String RECIPIENT_LANGUAGE = \"en\";\n\n @Value(\"${info.contact:}\")\n private String adminEmail;\n\n @Value(\"${info.testServer:false}\")\n private boolean isTestServer;\n\n private final FeatureUsageDigestService featureUsageDigestService;\n\n private final FeatureUsageProperties properties;\n\n private final MailService mailService;\n\n private final ProfileService profileService;\n\n /**\n * The weekly send is handed to this rather than performed on the scheduler thread.\n *

\n * The digest sends synchronously so the manual trigger on the admin page can report whether the mail actually went\n * out. Every {@code @Scheduled} job in Artemis shares a pool of a few threads, so doing the same on the weekly path\n * would let a slow or hung mail server hold one of them for the duration of the send and delay unrelated jobs.\n */\n private final Executor mailTaskExecutor;\n\n public FeatureUsageDigestScheduleService(FeatureUsageDigestService featureUsageDigestService, FeatureUsageProperties properties, MailService mailService,\n ProfileService profileService, @Qualifier(\"mailTaskExecutor\") Executor mailTaskExecutor) {\n this.featureUsageDigestService = featureUsageDigestService;\n this.properties = properties;\n this.mailService = mailService;\n this.profileService = profileService;\n this.mailTaskExecutor = mailTaskExecutor;\n }\n\n /**\n * Sends the weekly digest, by default every Monday at 9:00, an hour after the vulnerability report so the two do not\n * arrive at once. Configurable through {@code artemis.scheduling.feature-usage-digest-time}.\n *

\n * Skipped on nodes without the scheduling profile (otherwise every node would send its own copy), in development, and\n * on test servers.\n */\n @Scheduled(cron = \"${artemis.scheduling.feature-usage-digest-time:0 0 9 * * MON}\")\n public void sendWeeklyDigest() {\n if (!profileService.isSchedulingActive()) {\n return;\n }\n if (profileService.isDevActive()) {\n // NOTE: if you want to test this locally, trigger it through the admin page instead of changing this\n return;\n }\n if (isTestServer) {\n log.debug(\"Skipping the feature usage digest email on a test server\");\n return;\n }\n // Not sent on the scheduler thread; see the field.\n mailTaskExecutor.execute(this::sendDigestEmail);\n }\n\n /**\n * Builds and sends the digest to every configured recipient. Also used by the manual trigger on the admin page.\n *\n * @return true if the mail was sent to at least one recipient, false if it is switched off, has no recipients, or\n * building or sending failed\n */\n public boolean sendDigestEmail() {\n if (!properties.enabled()) {\n log.info(\"Skipping the feature usage digest email: usage tracking is disabled, so there would be nothing to report\");\n return false;\n }\n if (!properties.digest().enabled()) {\n log.info(\"Skipping the feature usage digest email: the digest is disabled\");\n return false;\n }\n List recipients = resolveRecipients();\n if (recipients.isEmpty()) {\n log.warn(\"Cannot send the feature usage digest email: neither artemis.feature-usage.digest.recipients nor info.contact is configured\");\n return false;\n }\n\n try {\n FeatureUsageDigestDTO digest = featureUsageDigestService.buildWeeklyDigest();\n boolean everyRecipientReached = true;\n for (String recipient : recipients) {\n boolean sent = mailService.sendFeatureUsageDigestEmail(\n new MailRecipientDTO(recipient, RECIPIENT_LANGUAGE, \"feature-usage-digest-recipient\", \"Administrator\", null, null, null), digest);\n if (!sent) {\n log.warn(\"The feature usage digest could not be sent to one of its recipients\");\n everyRecipientReached = false;\n }\n }\n if (!everyRecipientReached) {\n // The manual trigger exists so an administrator can find out whether the weekly mail will arrive.\n // Reporting success when a send did not reach the transport answers the opposite of that question.\n return false;\n }\n log.info(\"Feature usage digest for {} to {} sent to {} recipients: {} uses across {} active areas, {} features offered but unused\", digest.from(), digest.to(),\n recipients.size(), digest.useCount(), digest.activeAreas().size(), digest.unusedFeatures());\n return true;\n }\n catch (Exception e) {\n log.error(\"Failed to build or send the feature usage digest email\", e);\n return false;\n }\n }\n\n /**\n * Explicit recipients if configured, otherwise the general administrator contact, which is where the other\n * administrative mails already go.\n */\n private List resolveRecipients() {\n List configured = properties.digest().recipients().stream().filter(StringUtils::hasText).map(String::trim).toList();\n if (!configured.isEmpty()) {\n return configured;\n }\n return StringUtils.hasText(adminEmail) ? List.of(adminEmail.trim()) : List.of();\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/5b2f834712e40414d28bd5465f48b866d4cd61c5.json b/web/public/bundles/artemis/code/5b2f834712e40414d28bd5465f48b866d4cd61c5.json new file mode 100644 index 00000000..fad7b006 --- /dev/null +++ b/web/public/bundles/artemis/code/5b2f834712e40414d28bd5465f48b866d4cd61c5.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "5b2f834712e40414d28bd5465f48b866d4cd61c5", + "language": "typescript", + "path": "src/main/webapp/app/modeling/shared/entities/modeling-exercise.model.ts", + "schema": "codexray.code/1", + "text": "import { Exercise, ExerciseType } from 'app/exercise/shared/entities/exercise/exercise.model';\nimport { Course } from 'app/course/shared/entities/course.model';\nimport { AssessmentType } from 'app/assessment/shared/entities/assessment-type.model';\nimport { ExerciseGroup } from 'app/exam/shared/entities/exercise-group.model';\nimport type { UMLDiagramType } from '@tumaet/apollon';\n\nexport class ModelingExercise extends Exercise {\n public diagramType?: UMLDiagramType;\n public exampleSolutionModel?: string;\n public exampleSolutionExplanation?: string;\n\n constructor(diagramType: UMLDiagramType, course: Course | undefined, exerciseGroup: ExerciseGroup | undefined) {\n super(ExerciseType.MODELING);\n this.course = course;\n this.exerciseGroup = exerciseGroup;\n this.diagramType = diagramType;\n // default value\n this.assessmentType = AssessmentType.MANUAL;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/5b5b69a607559f8a3f061ea9e8a63bf14c949f51.json b/web/public/bundles/artemis/code/5b5b69a607559f8a3f061ea9e8a63bf14c949f51.json new file mode 100644 index 00000000..ded5ff93 --- /dev/null +++ b/web/public/bundles/artemis/code/5b5b69a607559f8a3f061ea9e8a63bf14c949f51.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "5b5b69a607559f8a3f061ea9e8a63bf14c949f51", + "language": "typescript", + "path": "src/main/webapp/app/exam/manage/exercise-groups/modeling-exercise-cell/modeling-exercise-group-cell.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, input } from '@angular/core';\nimport { ExerciseType } from 'app/exercise/shared/entities/exercise/exercise.model';\nimport { ModelingExercise } from 'app/modeling/shared/entities/modeling-exercise.model';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\n\n@Component({\n selector: 'jhi-modeling-exercise-group-cell',\n templateUrl: './modeling-exercise-group-cell.component.html',\n styles: [':host{display: contents}'],\n imports: [ArtemisTranslatePipe],\n})\nexport class ModelingExerciseGroupCellComponent {\n exerciseType = ExerciseType;\n exercise = input.required();\n}\n" +} diff --git a/web/public/bundles/artemis/code/5b76fe0ec6bb471eaae29915f8021a45450978ca.json b/web/public/bundles/artemis/code/5b76fe0ec6bb471eaae29915f8021a45450978ca.json new file mode 100644 index 00000000..7c7172ed --- /dev/null +++ b/web/public/bundles/artemis/code/5b76fe0ec6bb471eaae29915f8021a45450978ca.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "5b76fe0ec6bb471eaae29915f8021a45450978ca", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/dto/PlagiarismCaseOverviewDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.plagiarism.dto;\n\nimport java.time.ZonedDateTime;\n\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.plagiarism.domain.PlagiarismVerdict;\n\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record PlagiarismCaseOverviewDTO(Long id, PlagiarismCaseExerciseDTO exercise, @Nullable PlagiarismCaseUserDTO student, @Nullable PlagiarismCasePostSummaryDTO post,\n @Nullable PlagiarismVerdict verdict, @Nullable ZonedDateTime verdictDate, @Nullable PlagiarismCaseUserDTO verdictBy, int plagiarismSubmissionCount,\n boolean createdByContinuousPlagiarismControl, boolean hasStudentAnswer) {\n\n /**\n * JPQL constructor for overview projections. It keeps optional nested DTOs absent when the joined entity is absent.\n *\n * @param id the plagiarism case id\n * @param exercise the exercise DTO\n * @param studentId the affected student id\n * @param studentLogin the affected student login\n * @param studentFirstName the affected student's first name\n * @param studentLastName the affected student's last name\n * @param postId the post id\n * @param postCreationDate the post creation date\n * @param hasStudentAnswer whether the affected student answered the notification post\n * @param verdict the plagiarism verdict\n * @param verdictDate the verdict date\n * @param verdictById the verdict author id\n * @param verdictByLogin the verdict author login\n * @param verdictByFirstName the verdict author's first name\n * @param verdictByLastName the verdict author's last name\n * @param plagiarismSubmissionCount the number of submissions attached to the plagiarism case\n * @param createdByContinuousPlagiarismControl whether the case was created by continuous plagiarism control\n */\n public PlagiarismCaseOverviewDTO(Long id, PlagiarismCaseExerciseDTO exercise, @Nullable Long studentId, @Nullable String studentLogin, @Nullable String studentFirstName,\n @Nullable String studentLastName, @Nullable Long postId, @Nullable ZonedDateTime postCreationDate, boolean hasStudentAnswer, @Nullable PlagiarismVerdict verdict,\n @Nullable ZonedDateTime verdictDate, @Nullable Long verdictById, @Nullable String verdictByLogin, @Nullable String verdictByFirstName,\n @Nullable String verdictByLastName, long plagiarismSubmissionCount, boolean createdByContinuousPlagiarismControl) {\n this(id, exercise, userOrNull(studentId, studentLogin, User.displayName(studentFirstName, studentLastName, studentLogin), null), postOrNull(postId, postCreationDate),\n verdict, verdictDate, userOrNull(verdictById, verdictByLogin, User.displayName(verdictByFirstName, verdictByLastName, verdictByLogin), null),\n toBoundedInt(plagiarismSubmissionCount), createdByContinuousPlagiarismControl, hasStudentAnswer);\n }\n\n private static @Nullable PlagiarismCaseUserDTO userOrNull(@Nullable Long id, @Nullable String login, @Nullable String name, @Nullable String visibleRegistrationNumber) {\n if (id == null) {\n return null;\n }\n return new PlagiarismCaseUserDTO(id, login, name, visibleRegistrationNumber);\n }\n\n private static int toBoundedInt(long value) {\n if (value > Integer.MAX_VALUE) {\n return Integer.MAX_VALUE;\n }\n return Math.toIntExact(value);\n }\n\n private static @Nullable PlagiarismCasePostSummaryDTO postOrNull(@Nullable Long id, @Nullable ZonedDateTime creationDate) {\n if (id == null) {\n return null;\n }\n return new PlagiarismCasePostSummaryDTO(id, creationDate);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/5c4c908a735084e57fcf7706dc865cf7884c7c14.json b/web/public/bundles/artemis/code/5c4c908a735084e57fcf7706dc865cf7884c7c14.json new file mode 100644 index 00000000..dd2558d4 --- /dev/null +++ b/web/public/bundles/artemis/code/5c4c908a735084e57fcf7706dc865cf7884c7c14.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "5c4c908a735084e57fcf7706dc865cf7884c7c14", + "language": "typescript", + "path": "src/main/webapp/app/lti/shared/entities/online-course-configuration.model.ts", + "schema": "codexray.code/1", + "text": "import { BaseEntity } from 'app/foundation/model/base-entity';\nimport { Course } from 'app/course/shared/entities/course.model';\nimport { LtiPlatformConfiguration } from 'app/lti/shared/entities/lti-configuration.model';\nexport class OnlineCourseConfiguration implements BaseEntity {\n public id?: number;\n public course?: Course;\n public userPrefix?: string;\n public requireExistingUser?: boolean;\n public ltiPlatformConfiguration?: LtiPlatformConfiguration;\n}\n" +} diff --git a/web/public/bundles/artemis/code/5c6ee5b230e4a41f69e6511e497e907afe361d54.json b/web/public/bundles/artemis/code/5c6ee5b230e4a41f69e6511e497e907afe361d54.json new file mode 100644 index 00000000..6846c83d --- /dev/null +++ b/web/public/bundles/artemis/code/5c6ee5b230e4a41f69e6511e497e907afe361d54.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "5c6ee5b230e4a41f69e6511e497e907afe361d54", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/websocket/HyperionWebsocketService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.hyperion.service.websocket;\n\nimport static de.tum.cit.aet.artemis.hyperion.web.HyperionWebsocketTopics.EXERCISE_GENERATION_STATE;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.event.EventListener;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.communication.service.WebsocketMessagingService;\nimport de.tum.cit.aet.artemis.core.security.websocket.WebsocketUserDestination;\nimport de.tum.cit.aet.artemis.hyperion.config.HyperionEnabled;\nimport de.tum.cit.aet.artemis.hyperion.service.exercisegeneration.orchestration.ExerciseGenerationStateChangedEvent;\n\n@Lazy\n@Service\n@Conditional(HyperionEnabled.class)\npublic class HyperionWebsocketService {\n\n private static final Logger log = LoggerFactory.getLogger(HyperionWebsocketService.class);\n\n private final WebsocketMessagingService websocketMessagingService;\n\n public HyperionWebsocketService(WebsocketMessagingService websocketMessagingService) {\n this.websocketMessagingService = websocketMessagingService;\n }\n\n /**\n * Notifies editors when a generation acquires or releases an exercise's mutation slot.\n *\n * @param event the new exercise state\n */\n @EventListener\n public void sendExerciseState(ExerciseGenerationStateChangedEvent event) {\n var state = event.state();\n websocketMessagingService.sendMessage(EXERCISE_GENERATION_STATE.at(state.exerciseId()), state);\n }\n\n /**\n * Sends a websocket message to a specific user under the Hyperion namespace.\n *

\n * The message is handed off and this method returns right away; a delivery failure is only logged. It must not wait for\n * the send to finish: {@link WebsocketMessagingService} runs every send on the shared {@code taskExecutor}, and that is\n * also the pool the {@code @Async} code generation jobs calling this method run on. A job thread waiting for a send that\n * is queued behind the running jobs only gets it once another pool thread frees up, and once every pool thread waits\n * like that the pool is deadlocked until the server restarts. {@code IrisWebsocketService#send} hands off the same way.\n *

\n * Each message is its own task, so this method makes no promise about the order in which the messages of one job\n * reach the client. Both Hyperion clients finish on the terminal event and refresh their state from the server then,\n * so an event that overtakes a neighbour costs at most a stale label.\n *\n * @param userLogin the receiver's login\n * @param destination a destination of one of the {@link de.tum.cit.aet.artemis.hyperion.web.HyperionWebsocketTopics}\n * @param payload the payload to send\n */\n public void send(String userLogin, WebsocketUserDestination destination, Object payload) {\n websocketMessagingService.sendMessageToUser(userLogin, destination, payload).whenComplete((ignored, throwable) -> {\n if (throwable != null) {\n log.error(\"Error sending Hyperion message to {} on topic {}: {}\", userLogin, destination, payload, throwable);\n }\n else {\n log.debug(\"Sent Hyperion message to {} on topic {}: {}\", userLogin, destination, payload);\n }\n });\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/5c93a462e0e1d23260512891690d91dd28d7ec3c.json b/web/public/bundles/artemis/code/5c93a462e0e1d23260512891690d91dd28d7ec3c.json new file mode 100644 index 00000000..61800b0b --- /dev/null +++ b/web/public/bundles/artemis/code/5c93a462e0e1d23260512891690d91dd28d7ec3c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "5c93a462e0e1d23260512891690d91dd28d7ec3c", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/repository/cleanup/PlagiarismComparisonCleanupRepository.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.assessment.repository.cleanup;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\n\nimport java.time.ZonedDateTime;\nimport java.util.Collection;\nimport java.util.Set;\n\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.data.jpa.repository.Modifying;\nimport org.springframework.data.jpa.repository.Query;\nimport org.springframework.data.repository.query.Param;\nimport org.springframework.stereotype.Repository;\nimport org.springframework.transaction.annotation.Transactional;\n\nimport de.tum.cit.aet.artemis.core.repository.base.ArtemisJpaRepository;\nimport de.tum.cit.aet.artemis.plagiarism.domain.PlagiarismComparison;\n\n/**\n * Spring Data JPA repository for cleaning up old plagiarism comparison entries.\n * THE FOLLOWING METHODS ARE USED FOR CLEANUP PURPOSES AND SHOULD NOT BE USED IN OTHER CASES\n */\n@Profile(PROFILE_CORE)\n@Lazy\n@Repository\npublic interface PlagiarismComparisonCleanupRepository extends ArtemisJpaRepository {\n\n @Modifying\n @Transactional // ok because of delete\n @Query(\"\"\"\n DELETE\n FROM PlagiarismComparison pc\n WHERE pc.id IN :plagiarismComparisonIds\n \"\"\")\n int deleteByIdsIn(@Param(\"plagiarismComparisonIds\") Collection plagiarismComparisonIds);\n\n @Modifying\n @Transactional // ok because of delete\n @Query(\"\"\"\n DELETE\n FROM PlagiarismSubmissionElement e\n WHERE e.plagiarismSubmission.plagiarismComparison.id IN :plagiarismComparisonIds\n \"\"\")\n int deletePlagiarismSubmissionElementsByComparisonIdsIn(@Param(\"plagiarismComparisonIds\") Collection plagiarismComparisonIds);\n\n @Query(\"\"\"\n SELECT COUNT(e)\n FROM PlagiarismSubmissionElement e\n WHERE e.plagiarismSubmission.plagiarismComparison.id IN :plagiarismComparisonIds\n \"\"\")\n int countPlagiarismSubmissionElementsByComparisonIdsIn(@Param(\"plagiarismComparisonIds\") Collection plagiarismComparisonIds);\n\n @Modifying\n @Transactional // ok because of delete\n @Query(\"\"\"\n DELETE\n FROM PlagiarismSubmission s\n WHERE s.plagiarismComparison.id IN :plagiarismComparisonIds\n \"\"\")\n int deletePlagiarismSubmissionsByComparisonIdsIn(@Param(\"plagiarismComparisonIds\") Collection plagiarismComparisonIds);\n\n @Query(\"\"\"\n SELECT COUNT(s)\n FROM PlagiarismSubmission s\n WHERE s.plagiarismComparison.id IN :plagiarismComparisonIds\n \"\"\")\n int countPlagiarismSubmissionsByComparisonIdsIn(@Param(\"plagiarismComparisonIds\") Collection plagiarismComparisonIds);\n\n @Modifying\n @Transactional // ok because of delete\n @Query(nativeQuery = true, value = \"\"\"\n DELETE\n FROM plagiarism_comparison_matches m\n WHERE m.plagiarism_comparison_id IN :plagiarismComparisonIds\n \"\"\")\n int deletePlagiarismComparisonMatchesByComparisonIdsIn(@Param(\"plagiarismComparisonIds\") Collection plagiarismComparisonIds);\n\n @Query(nativeQuery = true, value = \"\"\"\n SELECT COUNT(*)\n FROM plagiarism_comparison_matches m\n WHERE m.plagiarism_comparison_id IN :plagiarismComparisonIds\n \"\"\")\n int countPlagiarismComparisonMatchesByComparisonIdsIn(@Param(\"plagiarismComparisonIds\") Collection plagiarismComparisonIds);\n\n /**\n * Retrieves a list of unnecessary plagiarism comparison IDs based on the associated course's date range.\n * A plagiarism comparison is considered unnecessary if its status is 'NONE' and the related course's\n * start and end dates fall within the provided range. Also deletes orphan objects.\n *\n * @param deleteFrom The start of the date range for filtering unnecessary plagiarism comparisons.\n * @param deleteTo The end of the date range for filtering unnecessary plagiarism comparisons.\n * @return A list of Long values representing the IDs of unnecessary plagiarism comparisons.\n */\n @Query(\"\"\"\n SELECT pc.id\n FROM PlagiarismComparison pc\n LEFT JOIN pc.plagiarismResult pr\n LEFT JOIN pr.exercise ex\n LEFT JOIN ex.course c\n WHERE pc.status = de.tum.cit.aet.artemis.plagiarism.domain.PlagiarismStatus.NONE\n AND c.endDate < :deleteTo\n AND c.startDate > :deleteFrom\n \"\"\")\n Set findPlagiarismComparisonIdWithStatusNoneThatBelongToCourseWithDates(@Param(\"deleteFrom\") ZonedDateTime deleteFrom, @Param(\"deleteTo\") ZonedDateTime deleteTo);\n}\n" +} diff --git a/web/public/bundles/artemis/code/5cec781ad97e57b02fd2efe4f33d0e5801bc760e.json b/web/public/bundles/artemis/code/5cec781ad97e57b02fd2efe4f33d0e5801bc760e.json new file mode 100644 index 00000000..02c515e8 --- /dev/null +++ b/web/public/bundles/artemis/code/5cec781ad97e57b02fd2efe4f33d0e5801bc760e.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "5cec781ad97e57b02fd2efe4f33d0e5801bc760e", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/account/domain/Authority.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.account.domain;\n\nimport java.io.Serial;\nimport java.io.Serializable;\nimport java.util.Objects;\n\nimport jakarta.persistence.Column;\nimport jakarta.persistence.Entity;\nimport jakarta.persistence.Id;\nimport jakarta.persistence.Table;\nimport jakarta.validation.constraints.Size;\n\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.core.domain.AggregateRoot;\nimport de.tum.cit.aet.artemis.core.security.Role;\n\n/**\n * An authority (a security role) used by Spring Security.\n */\n@Entity\n@Table(name = \"jhi_authority\")\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\n@AggregateRoot(\"Reference data.\")\npublic class Authority implements Serializable {\n\n @Serial\n private static final long serialVersionUID = 1L;\n\n public static final Authority SUPER_ADMIN_AUTHORITY = new Authority(Role.SUPER_ADMIN.getAuthority());\n\n public static final Authority ADMIN_AUTHORITY = new Authority(Role.ADMIN.getAuthority());\n\n public static final Authority USER_AUTHORITY = new Authority(Role.STUDENT.getAuthority());\n\n @Size(max = 50)\n @Id\n @Column(length = 50)\n private String name;\n\n public Authority() {\n // empty constructor would not be available otherwise\n }\n\n /**\n * Builds an authority from its name alone, which is how a {@code UserDTO} carries a set of authorities: as a set\n * of plain strings rather than objects.\n *

\n * The mode has to be spelled out. Jackson 2 treated a lone String constructor as delegating by default; Jackson 3\n * reads the parameter name and would bind {@code \"ROLE_USER\"} as a property named {@code name} instead, so\n * deserializing {@code [\"ROLE_USER\"]} would fail with \"no String-argument constructor/factory method\".\n *\n * @param name the authority name, for example {@code ROLE_USER}\n */\n @JsonCreator(mode = JsonCreator.Mode.DELEGATING)\n public Authority(String name) {\n setName(name);\n }\n\n public String getName() {\n return name;\n }\n\n public void setName(String name) {\n this.name = name;\n }\n\n @Override\n public boolean equals(Object obj) {\n if (this == obj) {\n return true;\n }\n if (obj == null || getClass() != obj.getClass()) {\n return false;\n }\n\n Authority authority = (Authority) obj;\n\n return Objects.equals(name, authority.name);\n }\n\n @Override\n public int hashCode() {\n return name != null ? name.hashCode() : 0;\n }\n\n @Override\n public String toString() {\n return \"Authority{\" + \"name='\" + name + '\\'' + \"}\";\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/5d0efc22ca8f3cf5d1946463f269b78622dcdcd4.json b/web/public/bundles/artemis/code/5d0efc22ca8f3cf5d1946463f269b78622dcdcd4.json new file mode 100644 index 00000000..867957d1 --- /dev/null +++ b/web/public/bundles/artemis/code/5d0efc22ca8f3cf5d1946463f269b78622dcdcd4.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "5d0efc22ca8f3cf5d1946463f269b78622dcdcd4", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizBatchService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.quiz.service;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\n\nimport java.security.SecureRandom;\nimport java.time.ZonedDateTime;\nimport java.util.Optional;\nimport java.util.Set;\n\nimport org.apache.commons.lang3.RandomStringUtils;\nimport org.hibernate.Hibernate;\nimport org.jspecify.annotations.Nullable;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.core.config.Constants;\nimport de.tum.cit.aet.artemis.quiz.domain.QuizBatch;\nimport de.tum.cit.aet.artemis.quiz.domain.QuizExercise;\nimport de.tum.cit.aet.artemis.quiz.domain.QuizMode;\nimport de.tum.cit.aet.artemis.quiz.domain.QuizSubmission;\nimport de.tum.cit.aet.artemis.quiz.exception.QuizJoinException;\nimport de.tum.cit.aet.artemis.quiz.repository.QuizBatchRepository;\nimport de.tum.cit.aet.artemis.quiz.repository.QuizSubmissionRepository;\n\n@Profile(PROFILE_CORE)\n@Lazy\n@Service\npublic class QuizBatchService {\n\n // copied from tech.jhipster.security.RandomUtil\n private static final SecureRandom SECURE_RANDOM;\n\n static {\n SECURE_RANDOM = new SecureRandom();\n SECURE_RANDOM.nextBytes(new byte[64]);\n }\n\n private static final Logger log = LoggerFactory.getLogger(QuizBatchService.class);\n\n private final QuizBatchRepository quizBatchRepository;\n\n private final QuizSubmissionRepository quizSubmissionRepository;\n\n public QuizBatchService(QuizBatchRepository quizBatchRepository, QuizSubmissionRepository quizSubmissionRepository) {\n this.quizBatchRepository = quizBatchRepository;\n this.quizSubmissionRepository = quizSubmissionRepository;\n }\n\n /**\n * Save the given quizBatch to the database\n *\n * @param quizBatch the quiz batch to save\n * @return the saved quiz batch\n */\n public QuizBatch save(QuizBatch quizBatch) {\n return quizBatchRepository.saveAndFlush(quizBatch);\n }\n\n /**\n * Get or create the batch for synchronized quiz exercises. If it was created it will not have been saved to the database yet.\n * Only valid to call for synchronized quiz exercises\n *\n * @param quizExercise the quiz for which to get the batch\n * @return the single batch of the exercise\n */\n public QuizBatch getOrCreateSynchronizedQuizBatch(QuizExercise quizExercise) {\n if (quizExercise.getQuizMode() != QuizMode.SYNCHRONIZED) {\n throw new IllegalStateException();\n }\n\n if (quizExercise.getQuizBatches() == null || !Hibernate.isInitialized(quizExercise.getQuizBatches())) {\n var quizBatch = quizBatchRepository.findFirstByQuizExercise(quizExercise);\n if (quizBatch.isPresent()) {\n return quizBatch.get();\n }\n }\n else if (!quizExercise.getQuizBatches().isEmpty()) {\n return quizExercise.getQuizBatches().iterator().next();\n }\n\n var quizBatch = new QuizBatch();\n quizBatch.setQuizExercise(quizExercise);\n // Reassigning the PersistentSet on a managed QuizExercise looks dangerous (orphanRemoval=true on quizBatches\n // would normally trigger DELETE + INSERT through Hibernate's collection-replace handling), but it is safe in\n // the existing call shape because (a) the REST handler is not @Transactional and OSIV is off, so the managed\n // quizExercise reference does not survive past the next repository call boundary and the dirty reassignment is\n // never flushed, and (b) the pre-replacement set is empty, so no orphan rows would be removed even if a flush\n // happened. Callers that introduce a method-level @Transactional around this flow must persist the new batch\n // explicitly (e.g. via quizBatchRepository.save(batch)) instead of relying on the cascade.\n quizExercise.setQuizBatches(Set.of(quizBatch));\n return quizBatch;\n }\n\n /**\n * join a student to a batch\n * does not check of the user is already part of a batch\n * does not apply to quizzes in SYNCHRONIZED mode\n *\n * @param quizExercise the quiz of the batch to join\n * @param user the user to join\n * @param password the password of the batch to join; unused for INDIVIDUAL mode\n * @return the batch that was joined, or empty if the batch could not be found\n */\n public QuizBatch joinBatch(QuizExercise quizExercise, User user, @Nullable String password) throws QuizJoinException {\n QuizBatch quizBatch = switch (quizExercise.getQuizMode()) {\n case SYNCHRONIZED -> throw new QuizJoinException(\"quizBatchJoinSynchronized\", \"Cannot join batch in synchronized quiz\");\n case BATCHED ->\n quizBatchRepository.findByQuizExerciseAndPassword(quizExercise, password).orElseThrow(() -> new QuizJoinException(\"quizBatchNotFound\", \"Batch does not exist\"));\n case INDIVIDUAL -> createIndividualBatch(quizExercise, user);\n };\n Optional existingBatch = quizBatchRepository.findByQuizExerciseAndStudentLogin(quizExercise, user.getLogin());\n if (quizBatch.isEnded()) {\n throw new QuizJoinException(\"quizBatchExpired\", \"Batch has expired\");\n }\n else if (existingBatch.isPresent()) {\n throw new QuizJoinException(\"quizBatchAlreadyJoined\", \"User is already part of a batch\");\n }\n\n QuizSubmission quizSubmission = quizSubmissionRepository.findByExerciseIdAndStudentLogin(quizExercise.getId(), user.getLogin()).orElseThrow();\n quizSubmission.setQuizBatch(quizBatch.getId());\n\n quizSubmissionRepository.save(quizSubmission);\n\n return quizBatch;\n }\n\n /**\n * create a password for a new batch that was not yet used by another batch\n *\n * @param quizExercise the quiz where the password should not already be in use\n * @return a new unused password\n */\n public String createBatchPassword(QuizExercise quizExercise) {\n for (int i = 0; i < 1000; i++) {\n var password = RandomStringUtils.random(8, 0, 0, false, true, null, SECURE_RANDOM);\n if (quizExercise.getQuizBatches().stream().noneMatch(batch -> password.equals(batch.getPassword()))) {\n return password;\n }\n }\n // this should never happen if there are a reasonable number of batches\n log.error(\"Unable to create unused batch password; {} batches exist\", quizExercise.getQuizBatches().size());\n throw new IllegalStateException(\"failed to generate a new batch password\");\n }\n\n /**\n * create and save a batch a batched run with a new random password\n *\n * @param quizExercise the quiz where a new batch should be created\n * @param user the user that created the batch\n * @return the newly created batch\n */\n public QuizBatch createBatch(QuizExercise quizExercise, User user) {\n var batch = new QuizBatch();\n batch.setCreator(user.getId());\n batch.setQuizExercise(quizExercise);\n batch.setPassword(createBatchPassword(quizExercise));\n return save(batch);\n }\n\n /**\n * create and save a batch an individual run\n *\n * @param quizExercise the quiz where a new batch should be created\n * @param user the user that created the batch\n * @return the newly created batch\n */\n public QuizBatch createIndividualBatch(QuizExercise quizExercise, User user) {\n var batch = new QuizBatch();\n batch.setCreator(user.getId());\n batch.setQuizExercise(quizExercise);\n batch.setStartTime(quizBatchStartDate(quizExercise, ZonedDateTime.now()));\n return save(batch);\n }\n\n /**\n * Returns the start time for a batch, given some target start date, that ensures that the batch does not overrun the quiz due date.\n *\n * @param quizExercise the quiz exercise to which the batch belongs\n * @param targetTime the time when the batch should start if possible\n * @return the minimum of targetTime and the last moment a batch can be started to not overrun the quiz due date; null iff targetTime is null\n */\n public ZonedDateTime quizBatchStartDate(QuizExercise quizExercise, ZonedDateTime targetTime) {\n if (quizExercise.getDueDate() == null || targetTime == null) {\n return targetTime;\n }\n var lastStart = quizExercise.getDueDate().minusSeconds((long) quizExercise.getDuration() + Constants.QUIZ_GRACE_PERIOD_IN_SECONDS);\n if (lastStart.isBefore(targetTime)) {\n return lastStart;\n }\n return targetTime;\n }\n\n /**\n * Return the batch that a user the currently participating in for a given quiz exercise\n * Note: This method will definitely include a database read query\n *\n * @param quizExercise the quiz for that the batch should be look up for\n * @param login the login of the user that the batch should be looked up for\n * @return the batch that the user currently takes part in or empty\n */\n public Optional getQuizBatchForStudentByLogin(QuizExercise quizExercise, String login) {\n Optional optionalQuizBatch = quizBatchRepository.findByQuizExerciseAndStudentLogin(quizExercise, login);\n if (optionalQuizBatch.isEmpty() && quizExercise.getQuizMode() == QuizMode.SYNCHRONIZED) {\n return Optional.of(getOrCreateSynchronizedQuizBatch(quizExercise));\n }\n return optionalQuizBatch;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/5deefa5ca9bec1a819268ec8c8d320cc352feecb.json b/web/public/bundles/artemis/code/5deefa5ca9bec1a819268ec8c8d320cc352feecb.json new file mode 100644 index 00000000..b18ee99d --- /dev/null +++ b/web/public/bundles/artemis/code/5deefa5ca9bec1a819268ec8c8d320cc352feecb.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "5deefa5ca9bec1a819268ec8c8d320cc352feecb", + "language": "typescript", + "path": "src/main/webapp/app/modeling/shared/modeling-editor/modeling-editor-help.component.ts", + "schema": "codexray.code/1", + "text": "import { NgOptimizedImage } from '@angular/common';\nimport { Component, computed, inject, model } from '@angular/core';\nimport { APOLLON_SHORTCUTS, type ApollonShortcutCombo, type ApollonShortcutId, shortcutKeyName } from '@tumaet/apollon';\nimport { TumAetUiDialogComponent } from '@tumaet/ui-angular/dialog';\nimport { TumAetUiTabComponent, TumAetUiTabListComponent, TumAetUiTabPanelComponent, TumAetUiTabPanelsComponent, TumAetUiTabsComponent } from '@tumaet/ui-angular/tabs';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { OsDetectorService } from 'app/core/navbar/global-search/services/os-detector.service';\nimport { TranslateService } from '@ngx-translate/core';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { Theme, ThemeService } from 'app/core/theme/shared/theme.service';\nimport { cloneWith } from 'app/foundation/util/deep-clone.util';\n\ntype ShortcutGroup = 'editing' | 'selection' | 'view';\n\nconst SHORTCUT_GROUPS: Record = {\n 'select-all': 'selection',\n 'clear-selection': 'selection',\n delete: 'editing',\n copy: 'editing',\n cut: 'editing',\n paste: 'editing',\n duplicate: 'editing',\n 'move-selection': 'selection',\n undo: 'editing',\n redo: 'editing',\n 'zoom-in': 'view',\n 'zoom-out': 'view',\n 'reset-zoom': 'view',\n 'fit-view': 'view',\n 'zoom-to-selection': 'view',\n};\n\ninterface HelpWalkthrough {\n readonly topic: 'createElement' | 'createRelationship' | 'updateElement' | 'moveElement' | 'resizeElement' | 'reconnectRelationship';\n readonly imageName: string;\n readonly width: number;\n readonly height: number;\n}\n\nconst WALKTHROUGHS: readonly HelpWalkthrough[] = [\n { topic: 'createElement', imageName: 'create-element', width: 1120, height: 596 },\n { topic: 'createRelationship', imageName: 'create-relationship', width: 1120, height: 480 },\n { topic: 'updateElement', imageName: 'update-element', width: 1080, height: 1080 },\n { topic: 'moveElement', imageName: 'move-element', width: 800, height: 560 },\n { topic: 'resizeElement', imageName: 'resize-element', width: 800, height: 500 },\n { topic: 'reconnectRelationship', imageName: 'reconnect-relationship', width: 1480, height: 680 },\n];\n\n@Component({\n selector: 'jhi-modeling-editor-help',\n templateUrl: './modeling-editor-help.component.html',\n styleUrls: ['./modeling-editor-help.component.css'],\n imports: [\n NgOptimizedImage,\n TumAetUiDialogComponent,\n TumAetUiTabsComponent,\n TumAetUiTabListComponent,\n TumAetUiTabComponent,\n TumAetUiTabPanelsComponent,\n TumAetUiTabPanelComponent,\n TranslateDirective,\n ArtemisTranslatePipe,\n ],\n})\nexport class ModelingEditorHelpComponent {\n private readonly osDetector = inject(OsDetectorService);\n private readonly translateService = inject(TranslateService);\n private readonly themeService = inject(ThemeService);\n\n visible = model(false);\n\n protected readonly walkthroughs = computed(() => {\n const theme = this.themeService.currentTheme() === Theme.DARK ? 'dark' : 'light';\n return WALKTHROUGHS.map((walkthrough) => cloneWith(walkthrough, { image: `/content/images/modeling-help/${walkthrough.imageName}-${theme}.png` }));\n });\n protected readonly additionalTopics = ['select', 'duplicate', 'deleteElement', 'undo'] as const;\n protected readonly shortcuts = APOLLON_SHORTCUTS;\n protected readonly actionKeyLabel = this.osDetector.actionKeyLabel;\n protected readonly shortcutLabelPrefix = 'artemisApp.modelingEditor.helpModal.shortcuts.actions.';\n\n protected readonly shortcutGroups = [\n {\n label: 'artemisApp.modelingEditor.helpModal.shortcuts.groups.editing',\n shortcuts: this.shortcuts.filter(({ id }) => SHORTCUT_GROUPS[id] === 'editing'),\n },\n {\n label: 'artemisApp.modelingEditor.helpModal.shortcuts.groups.selection',\n shortcuts: this.shortcuts.filter(({ id }) => SHORTCUT_GROUPS[id] === 'selection'),\n },\n {\n label: 'artemisApp.modelingEditor.helpModal.shortcuts.groups.view',\n shortcuts: this.shortcuts.filter(({ id }) => SHORTCUT_GROUPS[id] === 'view'),\n },\n ] as const;\n\n protected formatCombo(combo: ApollonShortcutCombo): readonly string[] {\n const keys: string[] = [];\n if (combo.alt) {\n keys.push(this.osDetector.isMac() ? '⌥' : 'Alt');\n }\n if (combo.shift) {\n keys.push(this.osDetector.isMac() ? '⇧' : 'Shift');\n }\n if (combo.mod) {\n keys.push(this.actionKeyLabel());\n }\n keys.push(this.formatKey(shortcutKeyName(combo)));\n return keys;\n }\n\n protected displayCombos(id: ApollonShortcutId, combos: readonly ApollonShortcutCombo[]): readonly ApollonShortcutCombo[] {\n if (id === 'delete' || id === 'redo' || id === 'move-selection') {\n return combos;\n }\n return combos.slice(0, 1);\n }\n\n protected shortcutTranslationKey(id: ApollonShortcutId): string {\n return `${this.shortcutLabelPrefix}${id}`;\n }\n\n private formatKey(key: string): string {\n const keyNames: Record = {\n ArrowUp: '↑',\n ArrowDown: '↓',\n ArrowLeft: '←',\n ArrowRight: '→',\n Escape: 'Esc',\n Delete: this.translateService.instant('artemisApp.modelingEditor.helpModal.shortcuts.keys.delete'),\n Backspace: this.translateService.instant('artemisApp.modelingEditor.helpModal.shortcuts.keys.backspace'),\n };\n return keyNames[key] ?? key.toUpperCase();\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/5f402d406e2788aa8abbfb20f7368dd6867f4ebe.json b/web/public/bundles/artemis/code/5f402d406e2788aa8abbfb20f7368dd6867f4ebe.json new file mode 100644 index 00000000..b32f3944 --- /dev/null +++ b/web/public/bundles/artemis/code/5f402d406e2788aa8abbfb20f7368dd6867f4ebe.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "5f402d406e2788aa8abbfb20f7368dd6867f4ebe", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizTrainingLeaderboardService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.quiz.service;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\n\nimport java.time.LocalDate;\nimport java.time.ZonedDateTime;\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.Optional;\n\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.dao.DataIntegrityViolationException;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.account.repository.UserRepository;\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.course.repository.CourseRepository;\nimport de.tum.cit.aet.artemis.quiz.api.QuizQuestionApi;\nimport de.tum.cit.aet.artemis.quiz.domain.QuizQuestionProgressData;\nimport de.tum.cit.aet.artemis.quiz.domain.QuizTrainingLeaderboard;\nimport de.tum.cit.aet.artemis.quiz.dto.LeaderboardEntryDTO;\nimport de.tum.cit.aet.artemis.quiz.dto.LeaderboardWithCurrentUserEntryDTO;\nimport de.tum.cit.aet.artemis.quiz.repository.QuizQuestionProgressRepository;\nimport de.tum.cit.aet.artemis.quiz.repository.QuizTrainingLeaderboardRepository;\n\n@Profile(PROFILE_CORE)\n@Lazy\n@Service\npublic class QuizTrainingLeaderboardService {\n\n private final QuizTrainingLeaderboardRepository quizTrainingLeaderboardRepository;\n\n private final CourseRepository courseRepository;\n\n private final UserRepository userRepository;\n\n private final QuizQuestionProgressRepository quizQuestionProgressRepository;\n\n private final QuizQuestionApi quizQuestionApi;\n\n private static final int BRONZE_LEAGUE = 5;\n\n private static final int DEFAULT_LEAGUE = 0; // Default league value used for the current user entry that is just used for the scorecard not the leaderboard itself\n\n public QuizTrainingLeaderboardService(QuizTrainingLeaderboardRepository quizTrainingLeaderboardRepository, CourseRepository courseRepository, UserRepository userRepository,\n QuizQuestionProgressRepository quizQuestionProgressRepository, QuizQuestionApi quizQuestionApi) {\n this.quizTrainingLeaderboardRepository = quizTrainingLeaderboardRepository;\n this.courseRepository = courseRepository;\n this.userRepository = userRepository;\n this.quizQuestionProgressRepository = quizQuestionProgressRepository;\n this.quizQuestionApi = quizQuestionApi;\n }\n\n /**\n * Retrieves the leaderboard entries for a given user and course.\n *\n * @param userId the id of the user\n * @param courseId the id of the course\n * @return a list of leaderboard entry DTOs\n */\n public LeaderboardWithCurrentUserEntryDTO getLeaderboard(long userId, long courseId) {\n long totalQuestions = quizQuestionApi.countAllQuizQuestionsByCourseIdAvailableForPractice(courseId);\n int league;\n league = quizTrainingLeaderboardRepository.findByUserIdAndCourseId(userId, courseId).map(QuizTrainingLeaderboard::getLeague).orElse(BRONZE_LEAGUE);\n\n var userLeaderboardEntryForCurrentCourse = quizTrainingLeaderboardRepository.findByUserIdAndCourseId(userId, courseId);\n boolean hasUserSetSettings = quizTrainingLeaderboardRepository.existsQuizTrainingLeaderboardByUser_Id(userId);\n\n userLeaderboardEntryForCurrentCourse = initializeLeaderboardEntry(userId, courseId, userLeaderboardEntryForCurrentCourse, hasUserSetSettings);\n\n QuizTrainingLeaderboard currentUserEntry = userLeaderboardEntryForCurrentCourse.orElseThrow();\n ZonedDateTime currentTime = ZonedDateTime.now();\n\n List leaderboardEntries = quizTrainingLeaderboardRepository.findByLeagueAndCourseIdAndShowInLeaderboardTrueOrderByScoreDescUserAscId(league,\n courseId);\n List leaderboardEntryDTOs = getLeaderboardEntryDTOS(leaderboardEntries, league, totalQuestions);\n return new LeaderboardWithCurrentUserEntryDTO(leaderboardEntryDTOs, hasUserSetSettings, LeaderboardEntryDTO.of(currentUserEntry, DEFAULT_LEAGUE, league, totalQuestions),\n currentTime);\n }\n\n private Optional initializeLeaderboardEntry(long userId, long courseId, Optional userLeaderboardEntryForCurrentCourse,\n boolean hasUserSetSettings) {\n try {\n if (userLeaderboardEntryForCurrentCourse.isEmpty()) {\n if (hasUserSetSettings) {\n boolean showInLeaderboard = quizTrainingLeaderboardRepository.findFirstByUser_Id(userId)\n .orElseThrow(() -> new IllegalStateException(\"Entry should exist but was not found\")).isShowInLeaderboard();\n setInitialLeaderboardEntry(userId, courseId, showInLeaderboard);\n }\n else {\n setInitialLeaderboardEntry(userId, courseId, false);\n }\n userLeaderboardEntryForCurrentCourse = quizTrainingLeaderboardRepository.findByUserIdAndCourseId(userId, courseId);\n }\n }\n catch (DataIntegrityViolationException e) {\n userLeaderboardEntryForCurrentCourse = quizTrainingLeaderboardRepository.findByUserIdAndCourseId(userId, courseId);\n }\n return userLeaderboardEntryForCurrentCourse;\n }\n\n /**\n * Converts a list of leaderboard entities to DTOs, including rank and league information.\n *\n * @param leaderboardEntries the list of leaderboard entities\n * @param league the league ID to use for the entries\n * @param totalQuestions the number of total questions available for practice\n * @return a list of leaderboard entry DTOs\n */\n private static List getLeaderboardEntryDTOS(List leaderboardEntries, int league, long totalQuestions) {\n List leaderboard = new ArrayList<>();\n int rank = 1;\n for (QuizTrainingLeaderboard leaderboardEntry : leaderboardEntries) {\n leaderboard.add(LeaderboardEntryDTO.of(leaderboardEntry, rank++, league, totalQuestions));\n }\n return leaderboard;\n }\n\n /**\n * Creates and saves a new leaderboard entry for the specified user and course.\n *\n *

\n * Initializes a new QuizTrainingLeaderboard entry with default values (score, league, streak, etc.)\n * and sets the visibility in the leaderboard according to the provided parameter.\n *

\n *\n * @param userId the ID of the user for whom the leaderboard entry is created\n * @param courseId the ID of the course for which the leaderboard entry is created\n * @param showInLeaderboard whether the user should be shown in the leaderboard\n */\n public void setInitialLeaderboardEntry(long userId, long courseId, boolean showInLeaderboard) {\n Course course = courseRepository.findByIdElseThrow(courseId);\n User user = userRepository.findByIdElseThrow(userId);\n QuizTrainingLeaderboard leaderboardEntry = new QuizTrainingLeaderboard();\n leaderboardEntry.setUser(user);\n leaderboardEntry.setCourse(course);\n leaderboardEntry.setLeague(BRONZE_LEAGUE);\n leaderboardEntry.setScore(0);\n leaderboardEntry.setAnsweredCorrectly(0);\n leaderboardEntry.setAnsweredWrong(0);\n leaderboardEntry.setDueDate(ZonedDateTime.now());\n leaderboardEntry.setStreak(0);\n leaderboardEntry.setShowInLeaderboard(showInLeaderboard);\n quizTrainingLeaderboardRepository.save(leaderboardEntry);\n }\n\n /**\n * Updates the leaderboard score for a user in a course based on answered questions.\n *\n * @param userId the id of the user\n * @param courseId the id of the course\n * @param answeredQuestion the set of answered question progress data\n * @throws IllegalArgumentException if the user or course is not found\n */\n public void updateLeaderboardScore(long userId, long courseId, QuizQuestionProgressData answeredQuestion) {\n int scoreDelta = calculateScoreDelta(answeredQuestion);\n int correctAnswers = answeredQuestion.getLastScore() == 1.0 ? 1 : 0;\n int wrongAnswers = answeredQuestion.getLastScore() < 1.0 ? 1 : 0;\n\n ZonedDateTime dueDate = findEarliestDueDate(userId, courseId);\n\n quizTrainingLeaderboardRepository.updateLeaderboardEntry(userId, courseId, scoreDelta, correctAnswers, wrongAnswers, dueDate);\n }\n\n /**\n * Finds the earliest due date from a set of quiz question progress data.\n * If no due dates are available, return the current time.\n *\n * @return the earliest due date found or the current time if none exists\n */\n private ZonedDateTime findEarliestDueDate(long userId, long courseId) {\n long totalQuestionCount = quizQuestionApi.countAllQuizQuestionsByCourseIdAvailableForPractice(courseId);\n long progressCount = quizQuestionProgressRepository.countByUserIdAndCourseId(userId, courseId);\n\n boolean hasUnansweredNewQuestions = totalQuestionCount > progressCount;\n if (hasUnansweredNewQuestions) {\n return ZonedDateTime.now().minusDays(1);\n }\n Optional dueDate = quizQuestionProgressRepository.getDueDate(userId, courseId);\n return dueDate.orElse(ZonedDateTime.now());\n }\n\n /**\n * Calculates the score delta based on the answered question.\n *\n * @param answeredQuestion the answered question progress data\n * @return the calculated score delta\n */\n private int calculateScoreDelta(QuizQuestionProgressData answeredQuestion) {\n int delta = 0;\n double lastScore = answeredQuestion.getLastScore();\n int box = answeredQuestion.getBox();\n\n boolean hadFailedAttemptToday = getHadFailedAttemptToday(answeredQuestion);\n\n double questionDelta = Math.pow(2, box - 1.0) * lastScore;\n\n boolean hasAnsweredCorrect = lastScore == 1.0;\n if (hadFailedAttemptToday && hasAnsweredCorrect) {\n questionDelta = 0;\n }\n\n delta += (int) Math.round(questionDelta);\n return delta;\n }\n\n private boolean getHadFailedAttemptToday(QuizQuestionProgressData answeredQuestion) {\n boolean hadFailedAttemptToday = false;\n List attempts = answeredQuestion.getAttempts();\n\n if (attempts != null && attempts.size() > 1) {\n QuizQuestionProgressData.Attempt currentAttempt = attempts.getLast();\n LocalDate currentDate = currentAttempt.getAnsweredAt().toLocalDate();\n\n QuizQuestionProgressData.Attempt previousAttempt = attempts.get(attempts.size() - 2);\n if (previousAttempt.getAnsweredAt().toLocalDate().equals(currentDate) && previousAttempt.getScore() < 1.0) {\n hadFailedAttemptToday = true;\n }\n }\n return hadFailedAttemptToday;\n }\n\n public void updateShowInLeaderboard(long userId, boolean showInLeaderboard) {\n quizTrainingLeaderboardRepository.updateShowInLeaderboard(userId, showInLeaderboard);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/5f66a5f939c428bb5ae0784e313d2f63dec431f2.json b/web/public/bundles/artemis/code/5f66a5f939c428bb5ae0784e313d2f63dec431f2.json new file mode 100644 index 00000000..2d5b9fc4 --- /dev/null +++ b/web/public/bundles/artemis/code/5f66a5f939c428bb5ae0784e313d2f63dec431f2.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "5f66a5f939c428bb5ae0784e313d2f63dec431f2", + "language": "typescript", + "path": "src/main/webapp/app/hyperion/exercise-generation/hyperion-exercise-generation.service.ts", + "schema": "codexray.code/1", + "text": "import { Service, inject } from '@angular/core';\nimport { Observable } from 'rxjs';\nimport { WebsocketService } from 'app/foundation/service/websocket.service';\nimport { HyperionAuthoringRunApi } from 'app/openapi/api/hyperion-authoring-run-api';\nimport { AuthoringRunPage } from 'app/openapi/model/authoring-run-page';\nimport { HyperionExerciseGenerationApi } from 'app/openapi/api/hyperion-exercise-generation-api';\nimport {\n ExerciseGenerationRevertResult,\n HyperionExerciseGenerationState,\n HyperionGenerationJobStart,\n HyperionGenerationMessage,\n HyperionGenerationRequest,\n HyperionGenerationStatus,\n HyperionMetadataSuggestion,\n} from 'app/hyperion/exercise-generation/hyperion-generation-stream.model';\nimport { ProjectType } from 'app/programming/shared/entities/programming-exercise.model';\n\n/** Client boundary for whole-exercise generation and adaptation. */\n@Service()\nexport class HyperionExerciseGenerationService {\n private readonly api = inject(HyperionExerciseGenerationApi);\n private readonly history = inject(HyperionAuthoringRunApi);\n private readonly websocketService = inject(WebsocketService);\n\n generate(exerciseId: number, request: HyperionGenerationRequest): Observable {\n return this.api.generateExercise(exerciseId, request);\n }\n\n /**\n * Asks for the metadata of the exercise a brief describes. The server answers with usable values even when the model does not, while transport and server-side lookup failures still propagate.\n */\n suggestMetadata(courseId: number, prompt: string, projectType: ProjectType): Observable {\n return this.api.suggestGenerationMetadata(courseId, { prompt, projectType });\n }\n\n getStatus(exerciseId: number): Observable {\n return this.api.getExerciseGenerationStatus(exerciseId);\n }\n\n getRuns(beforeId?: number): Observable {\n return this.history.getAuthoringRuns(beforeId);\n }\n\n getRunAccess(jobIds: string[]): Observable {\n return this.history.checkAuthoringRunAccess(jobIds);\n }\n\n getRunStatus(exerciseId: number, runId: string): Observable {\n return this.history.getAuthoringRunStatus(exerciseId, runId);\n }\n\n cancel(exerciseId: number, jobId: string): Observable {\n return this.api.cancelExerciseGeneration(exerciseId, jobId);\n }\n\n revertExerciseGeneration(exerciseId: number, runId: string): Observable {\n return this.api.revertExerciseGeneration(exerciseId, runId);\n }\n\n subscribeToStream(jobId: string): Observable {\n return this.websocketService.subscribe(`/user/topic/hyperion/exercise-generation/jobs/${jobId}`);\n }\n\n /** Subscribes to the shared lock state for one exercise. Generation details remain on the owner-only job topic. */\n subscribeToExerciseState(exerciseId: number): Observable {\n return this.websocketService.subscribe(`/topic/hyperion/exercise-generation/exercises/${exerciseId}/state`);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/5fbb39666a9c9478b97066fc58685fc288f8c340.json b/web/public/bundles/artemis/code/5fbb39666a9c9478b97066fc58685fc288f8c340.json new file mode 100644 index 00000000..74e40aa5 --- /dev/null +++ b/web/public/bundles/artemis/code/5fbb39666a9c9478b97066fc58685fc288f8c340.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "5fbb39666a9c9478b97066fc58685fc288f8c340", + "language": "typescript", + "path": "src/main/webapp/app/assessment/shared/entities/assessment-note.model.ts", + "schema": "codexray.code/1", + "text": "import { BaseEntity } from 'app/foundation/model/base-entity';\nimport { User } from 'app/account/user/user.model';\n\nexport class AssessmentNote implements BaseEntity {\n public id?: number;\n\n public creator?: User;\n public createdDate?: Date;\n public lastUpdatedDate?: Date;\n public note?: string;\n}\n" +} diff --git a/web/public/bundles/artemis/code/5fc2526a72a44cce9726d8cc9059fbccd9e0a8ae.json b/web/public/bundles/artemis/code/5fc2526a72a44cce9726d8cc9059fbccd9e0a8ae.json new file mode 100644 index 00000000..a1409b88 --- /dev/null +++ b/web/public/bundles/artemis/code/5fc2526a72a44cce9726d8cc9059fbccd9e0a8ae.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "5fc2526a72a44cce9726d8cc9059fbccd9e0a8ae", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/service/reconcile/SearchableEntityIdEnumerator.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.globalsearch.service.reconcile;\n\nimport java.util.Collection;\nimport java.util.List;\nimport java.util.Optional;\nimport java.util.Set;\n\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.data.domain.PageRequest;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.exam.api.ExamRepositoryApi;\nimport de.tum.cit.aet.artemis.globalsearch.config.WeaviateEnabled;\nimport de.tum.cit.aet.artemis.globalsearch.config.schema.entityschemas.SearchableEntitySchema;\nimport de.tum.cit.aet.artemis.globalsearch.repository.SearchableEntityIdRepository;\nimport de.tum.cit.aet.artemis.lecture.api.LectureRepositoryApi;\nimport de.tum.cit.aet.artemis.lecture.api.LectureUnitRepositoryApi;\n\n/**\n * Walks the ids the database expects to be indexed, one bounded page per call, for any entity type.\n *

\n * The counterpart to {@code SearchableEntityResolver}: that one answers what a single entity should look like,\n * this one answers which entities exist at all. A pass needs both, and neither should have to know where a given\n * type's rows live.\n *

\n * Types owned by optional modules return {@link Optional#empty()} when that module is disabled. That case must\n * stay distinguishable from an empty page, because they mean opposite things: an empty page means the type is\n * fully walked, while a disabled module means nothing at all is known about it. Treating the second as the first\n * would let a pass conclude that every lecture is missing from the index, or that every indexed lecture is an\n * orphan.\n */\n@Lazy\n@Service\n@Conditional(WeaviateEnabled.class)\npublic class SearchableEntityIdEnumerator {\n\n private final SearchableEntityIdRepository idRepository;\n\n private final Optional lectureRepositoryApi;\n\n private final Optional lectureUnitRepositoryApi;\n\n private final Optional examRepositoryApi;\n\n public SearchableEntityIdEnumerator(SearchableEntityIdRepository idRepository, Optional lectureRepositoryApi,\n Optional lectureUnitRepositoryApi, Optional examRepositoryApi) {\n this.idRepository = idRepository;\n this.lectureRepositoryApi = lectureRepositoryApi;\n this.lectureUnitRepositoryApi = lectureUnitRepositoryApi;\n this.examRepositoryApi = examRepositoryApi;\n }\n\n /**\n * Of the given ids, which ones should be indexed right now.\n *

\n * Answers both halves of what makes an index row an orphan: the entity being gone, and the entity still\n * existing but having stopped being indexable, such as a channel that was archived. Both are judged by the same\n * rule the write path applies, so a row this reports as absent is genuinely one that should not be there.\n *\n * @param entityType the {@code SearchableEntitySchema.TypeValues} discriminator\n * @param entityIds the ids to check\n * @return the subset that should be indexed, or {@link Optional#empty()} if the module owning this type is\n * disabled and nothing can be concluded\n */\n public Optional> indexableIdsAmong(String entityType, Collection entityIds) {\n if (entityIds.isEmpty()) {\n return Optional.of(Set.of());\n }\n return switch (entityType) {\n case SearchableEntitySchema.TypeValues.COURSE -> Optional.of(idRepository.findExistingCourseIds(entityIds));\n case SearchableEntitySchema.TypeValues.EXERCISE -> Optional.of(idRepository.findExistingExerciseIds(entityIds));\n case SearchableEntitySchema.TypeValues.FAQ -> Optional.of(idRepository.findExistingFaqIds(entityIds));\n case SearchableEntitySchema.TypeValues.CHANNEL -> Optional.of(idRepository.findIndexableChannelIds(entityIds));\n case SearchableEntitySchema.TypeValues.POST -> Optional.of(idRepository.findIndexablePostIds(entityIds));\n case SearchableEntitySchema.TypeValues.ANSWER_POST -> Optional.of(idRepository.findIndexableAnswerPostIds(entityIds));\n case SearchableEntitySchema.TypeValues.LECTURE -> lectureRepositoryApi.map(api -> api.findExistingLectureIds(entityIds));\n case SearchableEntitySchema.TypeValues.LECTURE_UNIT -> lectureUnitRepositoryApi.map(api -> api.findIndexableUnitIds(entityIds));\n case SearchableEntitySchema.TypeValues.EXAM -> examRepositoryApi.map(api -> api.findExistingExamIds(entityIds));\n default -> throw new IllegalStateException(\"Unknown searchable entity type for reconcile enumeration: \" + entityType);\n };\n }\n\n /**\n * Whether anything is known about a type at all, meaning the module owning it is present.\n *

\n * A pass must check this before reading a resolver result as meaningful. When a module is disabled, resolving\n * any of its entities yields nothing, which is indistinguishable from the entity having been deleted. Acting on\n * that would queue a delete for every indexed row of the type.\n *\n * @param entityType the {@code SearchableEntitySchema.TypeValues} discriminator\n * @return true if the module owning this type is present\n */\n public boolean isTypeAvailable(String entityType) {\n return switch (entityType) {\n case SearchableEntitySchema.TypeValues.LECTURE -> lectureRepositoryApi.isPresent();\n case SearchableEntitySchema.TypeValues.LECTURE_UNIT -> lectureUnitRepositoryApi.isPresent();\n case SearchableEntitySchema.TypeValues.EXAM -> examRepositoryApi.isPresent();\n default -> true;\n };\n }\n\n /**\n * Reads the next page of ids that should be indexed for a type.\n *\n * @param entityType the {@code SearchableEntitySchema.TypeValues} discriminator\n * @param afterId the id the previous page stopped at; pass 0 to start from the beginning\n * @param limit the page size\n * @return the next ids in ascending order, empty list once the type is fully walked, or\n * {@link Optional#empty()} if the module owning this type is disabled\n */\n public Optional> nextIndexableIds(String entityType, long afterId, int limit) {\n return switch (entityType) {\n case SearchableEntitySchema.TypeValues.COURSE -> Optional.of(idRepository.findCourseIdsAfter(afterId, PageRequest.ofSize(limit)));\n case SearchableEntitySchema.TypeValues.EXERCISE -> Optional.of(idRepository.findExerciseIdsAfter(afterId, PageRequest.ofSize(limit)));\n case SearchableEntitySchema.TypeValues.FAQ -> Optional.of(idRepository.findFaqIdsAfter(afterId, PageRequest.ofSize(limit)));\n case SearchableEntitySchema.TypeValues.CHANNEL -> Optional.of(idRepository.findIndexableChannelIdsAfter(afterId, PageRequest.ofSize(limit)));\n case SearchableEntitySchema.TypeValues.POST -> Optional.of(idRepository.findIndexablePostIdsAfter(afterId, PageRequest.ofSize(limit)));\n case SearchableEntitySchema.TypeValues.ANSWER_POST -> Optional.of(idRepository.findIndexableAnswerPostIdsAfter(afterId, PageRequest.ofSize(limit)));\n case SearchableEntitySchema.TypeValues.LECTURE -> lectureRepositoryApi.map(api -> api.findLectureIdsAfter(afterId, limit));\n case SearchableEntitySchema.TypeValues.LECTURE_UNIT -> lectureUnitRepositoryApi.map(api -> api.findIndexableUnitIdsAfter(afterId, limit));\n case SearchableEntitySchema.TypeValues.EXAM -> examRepositoryApi.map(api -> api.findExamIdsAfter(afterId, limit));\n default -> throw new IllegalStateException(\"Unknown searchable entity type for reconcile enumeration: \" + entityType);\n };\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/601c8320ae6c568a71c9d6ef84ec3cfa76bc3f2b.json b/web/public/bundles/artemis/code/601c8320ae6c568a71c9d6ef84ec3cfa76bc3f2b.json new file mode 100644 index 00000000..53bf378f --- /dev/null +++ b/web/public/bundles/artemis/code/601c8320ae6c568a71c9d6ef84ec3cfa76bc3f2b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "601c8320ae6c568a71c9d6ef84ec3cfa76bc3f2b", + "language": "typescript", + "path": "src/main/webapp/app/lecture/shared/lecture-guard.service.ts", + "schema": "codexray.code/1", + "text": "import { Service, inject } from '@angular/core';\nimport { CanActivate, Router, UrlTree } from '@angular/router';\n\nimport { ProfileService } from 'app/core/layouts/profiles/shared/profile.service';\nimport { MODULE_FEATURE_LECTURE } from 'app/app.constants';\n\n@Service()\nexport class LectureGuard implements CanActivate {\n private profileService = inject(ProfileService);\n private router = inject(Router);\n\n /**\n * Check if the client can activate a route.\n * @return true if Lecture module is enabled for this instance, otherwise a redirect to the start page\n */\n canActivate(): true | UrlTree {\n if (!this.profileService.isModuleFeatureActive(MODULE_FEATURE_LECTURE)) {\n return this.router.createUrlTree(['/']);\n }\n return true;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/60211250eb5c6938a1bd6313ec553b2f15bea7c5.json b/web/public/bundles/artemis/code/60211250eb5c6938a1bd6313ec553b2f15bea7c5.json new file mode 100644 index 00000000..9b2e9f56 --- /dev/null +++ b/web/public/bundles/artemis/code/60211250eb5c6938a1bd6313ec553b2f15bea7c5.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "60211250eb5c6938a1bd6313ec553b2f15bea7c5", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/service/learningpath/LearningPathRecommendationService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.atlas.service.learningpath;\n\nimport static de.tum.cit.aet.artemis.exercise.domain.IncludedInOverallScore.INCLUDED_AS_BONUS;\nimport static de.tum.cit.aet.artemis.exercise.domain.IncludedInOverallScore.INCLUDED_COMPLETELY;\n\nimport java.time.Instant;\nimport java.time.ZonedDateTime;\nimport java.time.temporal.ChronoUnit;\nimport java.util.ArrayList;\nimport java.util.Comparator;\nimport java.util.HashMap;\nimport java.util.HashSet;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Objects;\nimport java.util.Optional;\nimport java.util.Set;\nimport java.util.function.Function;\nimport java.util.stream.Collectors;\nimport java.util.stream.Stream;\n\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.assessment.service.ParticipantScoreService;\nimport de.tum.cit.aet.artemis.atlas.config.AtlasEnabled;\nimport de.tum.cit.aet.artemis.atlas.domain.LearningObject;\nimport de.tum.cit.aet.artemis.atlas.domain.competency.CompetencyExerciseLink;\nimport de.tum.cit.aet.artemis.atlas.domain.competency.CompetencyLectureUnitLink;\nimport de.tum.cit.aet.artemis.atlas.domain.competency.CompetencyProgress;\nimport de.tum.cit.aet.artemis.atlas.domain.competency.CourseCompetency;\nimport de.tum.cit.aet.artemis.atlas.domain.competency.LearningPath;\nimport de.tum.cit.aet.artemis.atlas.domain.competency.Prerequisite;\nimport de.tum.cit.aet.artemis.atlas.domain.competency.RelationType;\nimport de.tum.cit.aet.artemis.atlas.domain.profile.CourseLearnerProfile;\nimport de.tum.cit.aet.artemis.atlas.domain.profile.PreferenceScale;\nimport de.tum.cit.aet.artemis.atlas.dto.LearningPathNavigationObjectDTO;\nimport de.tum.cit.aet.artemis.atlas.repository.CompetencyProgressRepository;\nimport de.tum.cit.aet.artemis.atlas.repository.CompetencyRelationRepository;\nimport de.tum.cit.aet.artemis.atlas.repository.CourseCompetencyRepository;\nimport de.tum.cit.aet.artemis.atlas.repository.CourseLearnerProfileRepository;\nimport de.tum.cit.aet.artemis.atlas.service.LearningObjectService;\nimport de.tum.cit.aet.artemis.atlas.service.competency.CompetencyProgressService;\nimport de.tum.cit.aet.artemis.exercise.domain.BaseExercise;\nimport de.tum.cit.aet.artemis.exercise.domain.DifficultyLevel;\nimport de.tum.cit.aet.artemis.exercise.domain.Exercise;\nimport de.tum.cit.aet.artemis.exercise.domain.IncludedInOverallScore;\nimport de.tum.cit.aet.artemis.lecture.domain.LectureUnit;\n\n/**\n * Service Implementation for the recommendation of competencies and learning objects in learning paths.\n */\n@Conditional(AtlasEnabled.class)\n@Lazy\n@Service\npublic class LearningPathRecommendationService {\n\n private final CompetencyRelationRepository competencyRelationRepository;\n\n private final LearningObjectService learningObjectService;\n\n private final ParticipantScoreService participantScoreService;\n\n private final CompetencyProgressRepository competencyProgressRepository;\n\n private final CourseCompetencyRepository courseCompetencyRepository;\n\n private final CourseLearnerProfileRepository courseLearnerProfileRepository;\n\n /**\n * Base utility that is used to calculate a competencies' utility with respect to the earliest due date of the competency.\n */\n private static final double DUE_DATE_UTILITY = 10;\n\n /**\n * Base utility that is used to calculate a competencies' utility with respect to the number of mastered prior competencies.\n */\n private static final double PRIOR_UTILITY = 150;\n\n /**\n * Base utility and ratios that are used to calculate a competencies' utility with respect to the number of competencies that this competency extends or assumes.\n *

\n * Ratios donate the importance of the relation compared to the other.\n * Important: EXTENDS_UTILITY_RATIO should be smaller than ASSUMES_UTILITY_RATIO to prefer extends-relation to assumes-relations.\n */\n private static final double EXTENDS_UTILITY_RATIO = 1;\n\n private static final double ASSUMES_UTILITY_RATIO = 2;\n\n private static final double EXTENDS_OR_ASSUMES_UTILITY = 100;\n\n /**\n * Base utility that is used to calculate a competencies' utility with respect to the mastery level.\n */\n private static final double MASTERY_PROGRESS_UTILITY = 1;\n\n private static final double PREREQUISITE_UTILITY = 200;\n\n /**\n * Lookup table containing the distribution of exercises by difficulty level that should be recommended.\n *

\n * Values can be reproduced by computing the cumulative normal distribution function (cdf) for the general normal distribution f(x|mean=[0.00...1.00], std_dev=0.35): {easy:\n * cdf(0.40), medium: cdf(0.85) - cdf(0.40), hard: 1 - cdf(0.85)}.\n * Each array corresponds to the mean=idx/#distributions.\n */\n private static final double[][] EXERCISE_DIFFICULTY_DISTRIBUTION_LUT = new double[][] { { 0.87, 0.12, 0.01 }, { 0.80, 0.18, 0.02 }, { 0.72, 0.25, 0.03 }, { 0.61, 0.33, 0.06 },\n { 0.50, 0.40, 0.10 }, { 0.39, 0.45, 0.16 }, { 0.28, 0.48, 0.24 }, { 0.20, 0.47, 0.33 }, { 0.13, 0.43, 0.44 }, { 0.08, 0.37, 0.55 }, { 0.04, 0.29, 0.67 }, };\n\n private static final double COMPETENCY_LINK_WEIGHT_TO_GRADE_AIM_RATIO = 2;\n\n private static final int MIN_DAYS_BETWEEN_REPETITION = 7;\n\n protected LearningPathRecommendationService(CompetencyRelationRepository competencyRelationRepository, LearningObjectService learningObjectService,\n ParticipantScoreService participantScoreService, CompetencyProgressRepository competencyProgressRepository, CourseCompetencyRepository courseCompetencyRepository,\n CourseLearnerProfileRepository courseLearnerProfileRepository) {\n this.competencyRelationRepository = competencyRelationRepository;\n this.learningObjectService = learningObjectService;\n this.participantScoreService = participantScoreService;\n this.competencyProgressRepository = competencyProgressRepository;\n this.courseCompetencyRepository = courseCompetencyRepository;\n this.courseLearnerProfileRepository = courseLearnerProfileRepository;\n }\n\n /**\n * Analyzes the current progress within the learning path and generates a recommended ordering of the not yet mastered competencies.\n *\n * @param learningPath the learning path that should be analyzed\n * @return the state of the simulation including the recommended ordering of competencies\n */\n public RecommendationState getRecommendedOrderOfNotMasteredCompetencies(LearningPath learningPath) {\n RecommendationState state = generateInitialRecommendationState(learningPath);\n var pendingCompetencies = getPendingCompetencies(learningPath.getCompetencies(), state);\n simulateProgression(pendingCompetencies, state);\n return state;\n }\n\n /**\n * Analyzes the current progress within the learning path and generates a recommended ordering of all competencies. The mastered competencies are at the start of the list.\n *\n * @param learningPath the learning path that should be analyzed\n * @return the state of the simulation including the recommended ordering of competencies\n */\n public RecommendationState getRecommendedOrderOfAllCompetencies(LearningPath learningPath) {\n RecommendationState state = generateInitialRecommendationState(learningPath);\n var masteredCompetencies = state.masteredCompetencies.stream().map(state.competencyIdMap::get).collect(Collectors.toSet());\n simulateProgression(masteredCompetencies, state);\n var pendingCompetencies = getPendingCompetencies(learningPath.getCompetencies(), state);\n simulateProgression(pendingCompetencies, state);\n return state;\n }\n\n /**\n * Determines the competencies that should be repeated by the user based on the course learner profile.\n *\n * @param recommendationState the current state of the recommendation system\n * @param courseLearnerProfile the course learner profile of the user\n * @return the competencies that should be repeated\n */\n public List determineCompetenciesForRepeatedTests(RecommendationState recommendationState, CourseLearnerProfile courseLearnerProfile) {\n return recommendationState.competencyIdMap.values().stream().filter(competency -> {\n Optional progress = competency.getUserProgress().stream().findAny();\n if (progress.isEmpty()) {\n return false;\n }\n\n int repetitionThresholdDays;\n if (competency.getSoftDueDate() != null) {\n int daysSinceSoftDueDate = (int) ((ZonedDateTime.now().toEpochSecond() - competency.getSoftDueDate().toEpochSecond()) / (24 * 60 * 60));\n repetitionThresholdDays = Math.max(MIN_DAYS_BETWEEN_REPETITION, daysSinceSoftDueDate / (courseLearnerProfile.getTimeInvestment() + 1));\n }\n else {\n repetitionThresholdDays = MIN_DAYS_BETWEEN_REPETITION;\n }\n Instant repetitionThreshold = Instant.now().minus(repetitionThresholdDays, ChronoUnit.DAYS);\n\n return progress.get().getLastModifiedDate().isBefore(repetitionThreshold);\n }).sorted(Comparator.comparing(competency -> competency.getUserProgress().stream().findAny().orElseThrow().getLastModifiedDate())).toList();\n }\n\n /**\n * Finds the next learning object in the learning path. If a current learning object is present, the next learning object must come after it.\n *\n * @param user the user that should get the recommendation\n * @param courseLearnerProfile the profile the user keeps for the course, read once for the whole navigation\n * @param recommendationState the current state of the recommendation system\n * @param competenciesForRepeatedTests the competencies that should be repeated\n * @param currentLearningObject the current learning object or null if the first learning object should be recommended\n * @return the recommended learning object\n */\n public LearningPathNavigationObjectDTO findLearningObject(User user, CourseLearnerProfile courseLearnerProfile, RecommendationState recommendationState,\n List competenciesForRepeatedTests, LearningPathNavigationObjectDTO currentLearningObject) {\n Long firstCompetencyId = recommendationState.recommendedOrderOfCompetencies().getFirst();\n\n // We only need the completed learning objects if we look for the next learning object after a completed learning object\n Function> getLearningObjects;\n if (currentLearningObject == null || !currentLearningObject.completed()) {\n getLearningObjects = competency -> getRecommendedOrderOfLearningObjects(user, courseLearnerProfile, competency, recommendationState, false);\n }\n else {\n getLearningObjects = competency -> getOrderOfLearningObjectsForCompetency(competency, user, courseLearnerProfile, currentLearningObject.repeatedTest());\n }\n\n // Finished learning path or finished last competency -> try to find a competency for repetition\n if (firstCompetencyId == null) {\n return findLearningObjectInCompetencies(user, competenciesForRepeatedTests, true, currentLearningObject, getLearningObjects);\n }\n else if (recommendationState.competencyMastery().get(firstCompetencyId) == 0) {\n var learningObject = findLearningObjectInCompetencies(user, competenciesForRepeatedTests, true, currentLearningObject, getLearningObjects);\n if (learningObject != null) {\n return learningObject;\n }\n }\n\n List competencies = recommendationState.recommendedOrderOfCompetencies().stream().map(recommendationState.competencyIdMap()::get).toList();\n return findLearningObjectInCompetencies(user, competencies, false, currentLearningObject, getLearningObjects);\n }\n\n /**\n * Finds the next learning object in the provided competencies. If the current learning object is provided, next learning object must come after it.\n *\n * @param user the user that should get the recommendation\n * @param competencies the competencies that should be considered\n * @param repeatedTest whether the learning object should be repeated\n * @param currentLearningObject the current learning object or null if the first learning object should be recommended\n * @param getLearningObjects function to get the learning objects of a competency\n * @return the recommended learning object\n */\n private LearningPathNavigationObjectDTO findLearningObjectInCompetencies(User user, List competencies, boolean repeatedTest,\n LearningPathNavigationObjectDTO currentLearningObject, Function> getLearningObjects) {\n boolean foundCurrentLearningObject = currentLearningObject == null;\n for (CourseCompetency competency : competencies) {\n List learningObjects = getLearningObjects.apply(competency);\n for (LearningObject learningObject : learningObjects) {\n if (currentLearningObject != null && currentLearningObject.equalsLearningObject(learningObject, competency)) {\n foundCurrentLearningObject = true;\n continue;\n }\n else if (!foundCurrentLearningObject) {\n continue;\n }\n\n return LearningPathNavigationObjectDTO.of(learningObject, repeatedTest, learningObjectService.isCompletedByUser(learningObject, user), competency.getId());\n }\n }\n return null;\n }\n\n /**\n * Finds the previous learning object.\n *\n * @param learningPath the learning path that should be analyzed\n * @param courseLearnerProfile the profile the user keeps for the course, read once for the whole navigation\n * @param recommendationState the current state of the recommendation system\n * @param currentLearningObject the current learning object the navigation should be relative to\n * @return the previously recommended learning object\n */\n public LearningPathNavigationObjectDTO findPreviousLearningObject(LearningPath learningPath, CourseLearnerProfile courseLearnerProfile, RecommendationState recommendationState,\n LearningPathNavigationObjectDTO currentLearningObject) {\n if (currentLearningObject != null && !currentLearningObject.repeatedTest()) {\n CourseCompetency currentCompetency = recommendationState.competencyIdMap().get(currentLearningObject.competencyId());\n List learnObjectsOfCurrentCompetency = getOrderOfLearningObjectsForCompetency(currentCompetency, learningPath.getUser(), courseLearnerProfile, false);\n LearningPathNavigationObjectDTO previousLearningObject = getPreviousLearningObjectInCompetency(learningPath, currentLearningObject, currentCompetency,\n learnObjectsOfCurrentCompetency);\n if (previousLearningObject != null) {\n return previousLearningObject;\n }\n }\n\n RecommendationState recommendationStateWithAllCompetencies = getRecommendedOrderOfAllCompetencies(learningPath);\n int indexToSearch = getCompetencyIndexOfCurrentLearningObject(recommendationState, currentLearningObject, recommendationStateWithAllCompetencies);\n\n for (int i = indexToSearch; i >= 0; i--) {\n CourseCompetency competency = recommendationStateWithAllCompetencies.competencyIdMap()\n .get(recommendationStateWithAllCompetencies.recommendedOrderOfCompetencies().get(i));\n\n boolean repeatedTests = currentLearningObject != null && currentLearningObject.repeatedTest();\n List learningObjects = getOrderOfLearningObjectsForCompetency(competency, learningPath.getUser(), courseLearnerProfile, repeatedTests);\n if (learningObjects.isEmpty()) {\n continue;\n }\n\n // If we have a current learning object and it is not a repeated test, we need to find the previous learning object in the same competency\n if (i == indexToSearch && currentLearningObject != null && !currentLearningObject.repeatedTest()) {\n LearningPathNavigationObjectDTO previousLearningObject = getPreviousLearningObjectInCompetency(learningPath, currentLearningObject, competency, learningObjects);\n if (previousLearningObject != null) {\n return previousLearningObject;\n }\n }\n // Otherwise get the last learning object of the competency\n else {\n LearningObject lastLearningObject = learningObjects.getLast();\n return LearningPathNavigationObjectDTO.of(lastLearningObject, false, learningObjectService.isCompletedByUser(lastLearningObject, learningPath.getUser()),\n competency.getId());\n }\n }\n return null;\n }\n\n private int getCompetencyIndexOfCurrentLearningObject(RecommendationState recommendationState, LearningPathNavigationObjectDTO currentLearningObject,\n RecommendationState recommendationStateWithAllCompetencies) {\n if (currentLearningObject == null || currentLearningObject.repeatedTest()) {\n Optional firstNonMasteredCompetency = recommendationStateWithAllCompetencies.recommendedOrderOfCompetencies().stream()\n .map(recommendationState.competencyIdMap::get)\n .filter(competency -> recommendationState.competencyMastery().get(competency.getId()) >= competency.getMasteryThreshold()).findFirst();\n CourseCompetency competencyToSearch = firstNonMasteredCompetency\n .orElse(recommendationState.competencyIdMap().get(recommendationState.recommendedOrderOfCompetencies().getLast()));\n return recommendationStateWithAllCompetencies.recommendedOrderOfCompetencies().indexOf(competencyToSearch.getId());\n }\n else {\n return recommendationStateWithAllCompetencies.recommendedOrderOfCompetencies().indexOf(currentLearningObject.competencyId());\n }\n }\n\n /**\n * Finds the previous learning object.\n *\n * @param learningPath the learning path that should be analyzed\n * @param currentLearningObject the current learning object the navigation should be relative to\n * @param competency the competency to look for the previous learning object\n * @param learningObjects the learning objects of the competency\n * @return the previously recommended learning object\n */\n private LearningPathNavigationObjectDTO getPreviousLearningObjectInCompetency(LearningPath learningPath, LearningPathNavigationObjectDTO currentLearningObject,\n CourseCompetency competency, List learningObjects) {\n for (int j = 1; j < learningObjects.size(); j++) {\n if (currentLearningObject.equalsLearningObject(learningObjects.get(j), competency)) {\n LearningObject previousLearningObject = learningObjects.get(j - 1);\n return LearningPathNavigationObjectDTO.of(previousLearningObject, false, learningObjectService.isCompletedByUser(previousLearningObject, learningPath.getUser()),\n competency.getId());\n }\n }\n return null;\n }\n\n /**\n * Generates the initial state of the recommendation containing all necessary information for the prediction.\n *\n * @param learningPath the learning path that should be analyzed\n * @return the initial RecommendationState\n * @see RecommendationState\n */\n private RecommendationState generateInitialRecommendationState(LearningPath learningPath) {\n Map competencyIdMap = learningPath.getCompetencies().stream().collect(Collectors.toMap(CourseCompetency::getId, Function.identity()));\n Map> matchingClusters = getMatchingCompetencyClusters(learningPath.getCompetencies());\n Map> priorsCompetencies = getPriorCompetencyMapping(learningPath.getCompetencies(), matchingClusters);\n Map extendsCompetencies = getExtendsCompetencyMapping(learningPath.getCompetencies(), matchingClusters, priorsCompetencies);\n Map assumesCompetencies = getAssumesCompetencyMapping(learningPath.getCompetencies(), matchingClusters, priorsCompetencies);\n Set masteredCompetencies = new HashSet<>();\n // map of non-mastered competencies to their normalized mastery score with respect to the associated threshold\n Map competencyMastery = new HashMap<>();\n learningPath.getCompetencies().forEach(competency -> {\n // fetched learning path only contains data of the associated user\n final var progress = competency.getUserProgress().stream().findFirst();\n if (progress.isEmpty()) {\n competencyMastery.put(competency.getId(), 0d);\n }\n else {\n if (CompetencyProgressService.isMastered(progress.get())) {\n masteredCompetencies.add(competency.getId());\n }\n competencyMastery.put(competency.getId(), CompetencyProgressService.getMasteryProgress(progress.get()));\n }\n });\n return new RecommendationState(competencyIdMap, new ArrayList<>(), masteredCompetencies, competencyMastery, matchingClusters, priorsCompetencies, extendsCompetencies,\n assumesCompetencies);\n }\n\n /**\n * Gets a map from competency ids to a set of all other competency ids that are connected via matching relations (transitive closure, including the competency itself).\n *\n * @param competencies the competencies for which the mapping should be generated\n * @return map representing the matching clusters\n */\n private Map> getMatchingCompetencyClusters(Set competencies) {\n final Map> matchingClusters = new HashMap<>();\n for (var competency : competencies) {\n if (!matchingClusters.containsKey(competency.getId())) {\n final var matchingCompetencies = competencyRelationRepository.getMatchingCompetenciesByCompetencyId(competency.getId());\n // add for each in cluster to reduce database calls (once per cluster)\n matchingCompetencies.forEach(id -> matchingClusters.put(id, matchingCompetencies));\n }\n }\n return matchingClusters;\n }\n\n /**\n * Gets a map from competency ids to a set of all other competency ids that are connected via a non-matching relation.\n *\n * @param competencies the competencies for which the mapping should be generated\n * @param matchingClusters the map representing the corresponding matching clusters\n * @return map to retrieve prior competencies\n */\n private Map> getPriorCompetencyMapping(Set competencies, Map> matchingClusters) {\n Map> priorsMap = new HashMap<>();\n for (var competency : competencies) {\n if (!priorsMap.containsKey(competency.getId())) {\n final var priors = competencyRelationRepository.getPriorCompetenciesByCompetencyIds(matchingClusters.get(competency.getId()));\n // add for each in cluster to reduce database calls (once per cluster)\n matchingClusters.get(competency.getId()).forEach(id -> priorsMap.put(id, priors));\n }\n }\n return priorsMap;\n }\n\n /**\n * Gets a map from competency ids to number of competencies that the corresponding competency extends.\n *\n * @param competencies the competencies for which the mapping should be generated\n * @param matchingClusters the map representing the corresponding matching clusters\n * @param priorCompetencies the map to retrieve corresponding prior competencies\n * @return map to retrieve the number of competencies a competency extends\n */\n private Map getExtendsCompetencyMapping(Set competencies, Map> matchingClusters, Map> priorCompetencies) {\n return getRelationsOfTypeCompetencyMapping(competencies, matchingClusters, priorCompetencies, RelationType.EXTENDS);\n }\n\n /**\n * Gets a map from competency ids to number of competencies that the corresponding competency assumes.\n *\n * @param competencies the competencies for which the mapping should be generated\n * @param matchingClusters the map representing the corresponding matching clusters\n * @param priorCompetencies the map to retrieve corresponding prior competencies\n * @return map to retrieve the number of competencies a competency assumes\n */\n private Map getAssumesCompetencyMapping(Set competencies, Map> matchingClusters, Map> priorCompetencies) {\n return getRelationsOfTypeCompetencyMapping(competencies, matchingClusters, priorCompetencies, RelationType.ASSUMES);\n }\n\n /**\n * Gets a map from competency ids to number of competencies that the corresponding competency relates to with the specified type.\n *\n * @param competencies the competencies for which the mapping should be generated\n * @param matchingClusters the map representing the corresponding matching clusters\n * @param priorCompetencies the map to retrieve corresponding prior competencies\n * @param type the relation type that should be counted\n * @return map to retrieve the number of competencies a competency extends\n */\n private Map getRelationsOfTypeCompetencyMapping(Set competencies, Map> matchingClusters, Map> priorCompetencies,\n RelationType type) {\n Map map = new HashMap<>();\n for (var competency : competencies) {\n if (!map.containsKey(competency.getId())) {\n long numberOfRelations = competencyRelationRepository.countRelationsOfTypeBetweenCompetencyGroups(matchingClusters.get(competency.getId()), type,\n priorCompetencies.get(competency.getId()));\n // add for each in cluster to reduce database calls (once per cluster)\n matchingClusters.get(competency.getId()).forEach(id -> map.put(id, numberOfRelations));\n }\n }\n return map;\n }\n\n /**\n * Gets the set of competencies that are themselves not mastered and no matching competency is mastered.\n *\n * @param competencies the set of competencies that should be filtered\n * @param state the current state of the recommendation system\n * @return set of pending competencies\n */\n private Set getPendingCompetencies(Set competencies, RecommendationState state) {\n return competencies.stream().filter(competency -> !state.masteredCompetencies.contains(competency.getId())\n || state.matchingClusters.get(competency.getId()).stream().noneMatch(state.masteredCompetencies::contains)).collect(Collectors.toSet());\n }\n\n /**\n * Generates a recommended ordering of competencies.\n *\n * @param pendingCompetencies the set of pending competencies\n * @param state the current state of the recommendation system\n */\n private void simulateProgression(Set pendingCompetencies, RecommendationState state) {\n while (!pendingCompetencies.isEmpty()) {\n Map utilities = computeUtilities(pendingCompetencies, state);\n var maxEntry = utilities.entrySet().stream().max(Comparator.comparingDouble(Map.Entry::getValue));\n // is present since outstandingCompetencies is not empty\n Long competencyId = maxEntry.get().getKey();\n\n // add competency to recommended order\n state.recommendedOrderOfCompetencies.add(competencyId);\n\n // simulate completion of competency\n state.masteredCompetencies.add(competencyId);\n pendingCompetencies\n .removeIf(competency -> competency.getId().equals(competencyId) || state.matchingClusters.get(competency.getId()).stream().anyMatch(competencyId::equals));\n }\n }\n\n /**\n * Generates a mapping from competency ids to their corresponding utility in the current state.\n *\n * @param competencies the set of competencies for which the mapping should be generated\n * @param state the current state of the recommendation system\n * @return map to retrieve the utility of a competency\n */\n private Map computeUtilities(Set competencies, RecommendationState state) {\n Map utilities = new HashMap<>();\n for (var competency : competencies) {\n utilities.put(competency.getId(), computeUtilityOfCompetency(competency, state));\n }\n return utilities;\n }\n\n /**\n * Gets the utility of a competency in the current state.\n *\n * @param competency the competency for which the utility should be computed\n * @param state the current state of the recommendation system\n * @return the utility of the given competency\n */\n private double computeUtilityOfCompetency(CourseCompetency competency, RecommendationState state) {\n double utility = 0;\n utility += computeDueDateUtility(competency);\n utility += computePriorUtility(competency, state);\n utility += computeExtendsOrAssumesUtility(competency, state);\n utility += computeMasteryUtility(competency, state);\n utility += computePrerequisiteUtility(competency);\n return utility;\n }\n\n /**\n * Gets the utility of the competency with respect to the earliest due date of the competency.\n *\n * @param competency the competency for which the utility should be computed\n * @return due date utility of the competency\n */\n private static double computeDueDateUtility(CourseCompetency competency) {\n final var earliestDueDate = getEarliestDueDate(competency);\n if (earliestDueDate.isEmpty()) {\n return 0;\n }\n double timeDelta = ChronoUnit.DAYS.between(ZonedDateTime.now(), earliestDueDate.get());\n\n if (timeDelta < 0) {\n // deadline has passed\n return (-timeDelta) * DUE_DATE_UTILITY;\n }\n else if (timeDelta > 0) {\n // deadline not passed yet\n return (1 / timeDelta) * DUE_DATE_UTILITY;\n }\n else {\n return DUE_DATE_UTILITY;\n }\n }\n\n /**\n * Gets the earliest due date of any learning object attached to the competency or the competency itself.\n *\n * @param competency the competency for which the earliest due date should be retrieved\n * @return earliest due date of the competency\n */\n private static Optional getEarliestDueDate(CourseCompetency competency) {\n final var lectureDueDates = competency.getLectureUnitLinks().stream().map(lectureUnitLink -> lectureUnitLink.getLectureUnit().getLecture().getEndDate());\n final var exerciseDueDates = competency.getExerciseLinks().stream().map(exerciseLink -> exerciseLink.getExercise().getDueDate());\n return Stream.concat(Stream.concat(Stream.of(competency.getSoftDueDate()), lectureDueDates), exerciseDueDates).filter(Objects::nonNull).min(Comparator.naturalOrder());\n }\n\n /**\n * Gets the utility of the competency with respect to prior competencies.\n *\n * @param competency the competency for which the utility should be computed\n * @param state the current state of the recommendation system\n * @return prior utility of the competency\n */\n private static double computePriorUtility(CourseCompetency competency, RecommendationState state) {\n // return max utility if no prior competencies are present\n if (state.priorCompetencies.get(competency.getId()).isEmpty()) {\n return PRIOR_UTILITY;\n }\n final double masteredPriorCompetencies = state.priorCompetencies.get(competency.getId()).stream()\n .filter(id -> state.masteredCompetencies.contains(id) || state.matchingClusters.get(id).stream().anyMatch(state.masteredCompetencies::contains)).count();\n final double weight = masteredPriorCompetencies / state.priorCompetencies.get(competency.getId()).size();\n return weight * PRIOR_UTILITY;\n }\n\n /**\n * Gets the utility of the competency with respect to prior competencies that are extended or assumed by this competency.\n *\n * @param competency the competency for which the utility should be computed\n * @param state the current state of the recommendation system\n * @return extends or assumes utility of the competency\n */\n private static double computeExtendsOrAssumesUtility(CourseCompetency competency, RecommendationState state) {\n final double weight = state.extendsCompetencies.get(competency.getId()) * EXTENDS_UTILITY_RATIO + state.assumesCompetencies.get(competency.getId()) * ASSUMES_UTILITY_RATIO;\n // return max utility if competency does not extend or assume other competencies\n if (weight == 0) {\n return EXTENDS_OR_ASSUMES_UTILITY;\n }\n return (1 / weight) * EXTENDS_OR_ASSUMES_UTILITY;\n\n }\n\n /**\n * Gets the utility of the competency with respect to users mastery progress within the competency.\n *\n * @param competency the competency for which the utility should be computed\n * @param state the current state of the recommendation system\n * @return mastery utility of the competency\n */\n private static double computeMasteryUtility(CourseCompetency competency, RecommendationState state) {\n return state.competencyMastery.get(competency.getId()) * MASTERY_PROGRESS_UTILITY;\n }\n\n /**\n * Gets the utility of the competency with respect to it being a prerequisite or not.\n *\n * @param competency the competency for which the utility should be computed\n * @return prerequisite utility of the competency\n */\n private static double computePrerequisiteUtility(CourseCompetency competency) {\n return competency instanceof Prerequisite ? PREREQUISITE_UTILITY : 0;\n }\n\n /**\n * Analyzes the current progress within the learning path and generates a recommended ordering of uncompleted learning objects in a competency.\n *\n * @param user the user that should be analyzed\n * @param courseLearnerProfile the profile the user keeps for the course of the competency\n * @param competency the competency\n * @param state the current state of the recommendation\n * @param repeatedTests whether the learning object is meant as a repeated test\n * @return the recommended ordering of learning objects\n */\n public List getRecommendedOrderOfLearningObjects(User user, CourseLearnerProfile courseLearnerProfile, CourseCompetency competency, RecommendationState state,\n boolean repeatedTests) {\n final var combinedPriorConfidence = computeCombinedPriorConfidence(competency, state);\n return getRecommendedOrderOfLearningObjects(user, courseLearnerProfile, competency, combinedPriorConfidence, repeatedTests);\n }\n\n /**\n * Analyzes the current progress within the learning path and generates a recommended ordering of uncompleted learning objects in a competency.\n * The ordering is based on the competency link weights in decreasing order\n *\n * @param user the user that should be analyzed\n * @param courseLearnerProfile the profile the user keeps for the course of the competency\n * @param competency the competency\n * @param combinedPriorConfidence the combined confidence of the user for the prior competencies\n * @param repeatedTests whether the learning object is meant as a repeated test\n * @return the recommended ordering of learning objects\n */\n public List getRecommendedOrderOfLearningObjects(User user, CourseLearnerProfile courseLearnerProfile, CourseCompetency competency,\n double combinedPriorConfidence, boolean repeatedTests) {\n var pendingLectureUnits = competency.getLectureUnitLinks().stream().sorted(Comparator.comparingDouble(CompetencyLectureUnitLink::getWeight).reversed())\n .map(CompetencyLectureUnitLink::getLectureUnit).filter(lectureUnit -> !lectureUnit.isCompletedFor(user)).toList();\n List recommendedOrder = new ArrayList<>(pendingLectureUnits);\n\n // early return if competency can be trivially mastered\n if (CompetencyProgressService.canBeMasteredWithoutExercises(competency)) {\n return recommendedOrder;\n }\n\n final var optionalCompetencyProgress = competency.getUserProgress().stream().findAny();\n final double weightedConfidence = computeWeightedConfidence(combinedPriorConfidence, optionalCompetencyProgress);\n\n var numberOfRequiredExercisePointsToMaster = calculateNumberOfExercisePointsRequiredToMaster(user, competency, weightedConfidence);\n if (repeatedTests) {\n numberOfRequiredExercisePointsToMaster *= 1 + courseLearnerProfile.getRepetitionIntensity() / 10.0;\n }\n\n final var pendingExercises = competency.getExerciseLinks().stream().filter(link -> !learningObjectService.isCompletedByUser(link.getExercise(), user))\n .sorted(getExerciseOrderComparator(courseLearnerProfile.getAimForGradeOrBonus())).map(CompetencyExerciseLink::getExercise).toList();\n\n final var pendingExercisePoints = pendingExercises.stream().mapToDouble(BaseExercise::getMaxPoints).sum();\n\n Map> difficultyLevelMap = generateDifficultyLevelMap(pendingExercises);\n if (numberOfRequiredExercisePointsToMaster >= pendingExercisePoints) {\n scheduleAllExercises(recommendedOrder, difficultyLevelMap);\n return recommendedOrder;\n }\n final var recommendedExerciseDistribution = getRecommendedExercisePointDistribution(numberOfRequiredExercisePointsToMaster, weightedConfidence);\n\n distributeExercisesByDistribution(recommendedOrder, recommendedExerciseDistribution, difficultyLevelMap, courseLearnerProfile);\n return recommendedOrder;\n }\n\n /**\n * Adds all exercises of the given difficulty map to the recommended order of learning objects.\n *\n * @param recommendedOrder the list storing the recommended order of learning objects\n * @param difficultyLevelMap a map from difficulty level to a set of corresponding exercises\n */\n private void scheduleAllExercises(List recommendedOrder, Map> difficultyLevelMap) {\n for (var difficulty : DifficultyLevel.values()) {\n recommendedOrder.addAll(difficultyLevelMap.get(difficulty));\n }\n }\n\n /**\n * Adds exercises to the recommended order of learning objects according to the given distribution.\n *\n * @param recommendedOrder the list storing the recommended order of learning objects\n * @param recommendedExercisePointDistribution an array containing the number of exercise points that should be scheduled per difficulty (easy to hard)\n * @param difficultyMap a map from difficulty level to a set of corresponding exercises\n */\n private void distributeExercisesByDistribution(List recommendedOrder, double[] recommendedExercisePointDistribution,\n Map> difficultyMap, CourseLearnerProfile courseLearnerProfile) {\n final var easyExercises = new ArrayList();\n final var mediumExercises = new ArrayList();\n final var hardExercises = new ArrayList();\n\n // choose as many exercises from the correct difficulty level as possible\n final var missingEasy = selectExercisesWithDifficulty(difficultyMap, DifficultyLevel.EASY, recommendedExercisePointDistribution[0], easyExercises, courseLearnerProfile);\n final var missingHard = selectExercisesWithDifficulty(difficultyMap, DifficultyLevel.HARD, recommendedExercisePointDistribution[2], hardExercises, courseLearnerProfile);\n\n // if there are not sufficiently many exercises per difficulty level, prefer medium difficulty\n // case 1: no medium exercises available/medium exercises missing: continue to fill with easy/hard exercises\n // case 2: medium exercises available: no medium exercises missing -> missing exercises must be easy/hard -> in both scenarios medium is the closest difficulty level\n double mediumExercisePoints = recommendedExercisePointDistribution[1] + missingEasy + missingHard;\n double numberOfMissingExercisePoints = selectExercisesWithDifficulty(difficultyMap, DifficultyLevel.MEDIUM, mediumExercisePoints, mediumExercises, courseLearnerProfile);\n\n // if there are still not sufficiently many medium exercises, choose easy difficulty\n // prefer easy to hard exercises to avoid student overload\n if (numberOfMissingExercisePoints > 0 && !difficultyMap.get(DifficultyLevel.EASY).isEmpty()) {\n numberOfMissingExercisePoints = selectExercisesWithDifficulty(difficultyMap, DifficultyLevel.EASY, numberOfMissingExercisePoints, easyExercises, courseLearnerProfile);\n }\n\n // fill remaining slots with hard difficulty\n if (numberOfMissingExercisePoints > 0 && !difficultyMap.get(DifficultyLevel.HARD).isEmpty()) {\n selectExercisesWithDifficulty(difficultyMap, DifficultyLevel.HARD, numberOfMissingExercisePoints, hardExercises, courseLearnerProfile);\n }\n\n recommendedOrder.addAll(easyExercises);\n recommendedOrder.addAll(mediumExercises);\n recommendedOrder.addAll(hardExercises);\n }\n\n /**\n * Selects exercises of a given difficulty until the target points are met.\n * If the target cannot be met, it returns the remaining (positive) points.\n * If we overshoot, it returns a negative remainder.\n *

\n * Selection stops at the first exercise that is neither needed to reach the target\n * nor allowed by the learner's preference (HIGH/MEDIUM_HIGH \"bonus\" rules).\n *

\n * Side effects:\n * - Appends selected exercises to {@code selectedExercises}\n * - Removes the same exercises from {@code exercisesByDifficulty[difficulty]}\n */\n private static double selectExercisesWithDifficulty(Map> exercisesByDifficulty, DifficultyLevel difficulty,\n double targetPointsForThisDifficulty, List selectedExercises, CourseLearnerProfile learnerProfile) {\n\n // Always operate on the list for the requested difficulty (may be empty).\n final List availableAtThisDifficulty = exercisesByDifficulty.getOrDefault(difficulty, List.of());\n\n // Convert stored int to enum (falls back to MEDIUM if an unknown value appears).\n final PreferenceScale preference = toPreferenceScale(learnerProfile.getAimForGradeOrBonus());\n\n // Running remainder of points we still aim to schedule for this difficulty.\n double remainingPointsToSchedule = targetPointsForThisDifficulty;\n\n // We accumulate here, and only mutate the source list after selection completes.\n final List picked = new ArrayList<>();\n\n for (Exercise exercise : availableAtThisDifficulty) {\n final double pointsBeforeThisExercise = remainingPointsToSchedule;\n remainingPointsToSchedule -= exercise.getMaxPoints();\n\n final boolean neededToReachTarget = pointsBeforeThisExercise >= 0;\n final boolean allowedByPreference = isEligibleByPreference(preference, exercise);\n\n if (neededToReachTarget || allowedByPreference) {\n picked.add(exercise);\n }\n else {\n // stop at the first \"not needed and not allowed\".\n break;\n }\n }\n\n // Apply side effects in a single step (avoids concurrent modification).\n selectedExercises.addAll(picked);\n // Remove from the *original* modifiable list if present.\n exercisesByDifficulty.getOrDefault(difficulty, new ArrayList<>()).removeAll(picked);\n\n return remainingPointsToSchedule; // positive = missing, negative = overshoot\n }\n\n /** Maps an int value from the profile to the enum, defaulting to MEDIUM if unknown. */\n private static PreferenceScale toPreferenceScale(int value) {\n for (PreferenceScale scale : PreferenceScale.values()) {\n if (scale.getValue() == value) {\n return scale;\n }\n }\n return PreferenceScale.MEDIUM;\n }\n\n /**\n * Preference-based \"bonus acceptance\" rule:\n * - HIGH: accept COMPLETELY and BONUS exercises even when the target is already exceeded\n * - MEDIUM_HIGH: accept COMPLETELY exercises even when the target is already exceeded\n * - Others: no extra acceptance (only accept while still needed)\n */\n private static boolean isEligibleByPreference(PreferenceScale preference, Exercise exercise) {\n return switch (preference) {\n case HIGH -> exercise.getIncludedInOverallScore() == INCLUDED_COMPLETELY || exercise.getIncludedInOverallScore() == INCLUDED_AS_BONUS;\n case MEDIUM_HIGH -> exercise.getIncludedInOverallScore() == INCLUDED_COMPLETELY;\n default -> false;\n };\n }\n\n private static int getIncludeInOverallScoreWeight(IncludedInOverallScore includedInOverallScore) {\n return switch (includedInOverallScore) {\n case INCLUDED_COMPLETELY -> 0;\n case INCLUDED_AS_BONUS -> 1;\n case NOT_INCLUDED -> 2;\n };\n }\n\n /**\n * Creates a comparator that orders exercises based on the aim for grade or bonus, the link weight for the current competency and as a tiebreaker the lexicographic order of\n * the exercise title. The higher the aim for the grade bonus is, the higher this metric is weighted compared to the link weight.\n *\n * @param aimForGradeOrBonus the aim for grade or bonus\n * @return the comparator that orders the exercise based on the preference\n */\n private static Comparator getExerciseOrderComparator(int aimForGradeOrBonus) {\n Comparator exerciseComparator = Comparator.comparingDouble(exerciseLink -> (COMPETENCY_LINK_WEIGHT_TO_GRADE_AIM_RATIO * exerciseLink.getWeight())\n + aimForGradeOrBonus * getIncludeInOverallScoreWeight(exerciseLink.getExercise().getIncludedInOverallScore()));\n exerciseComparator = exerciseComparator.reversed();\n\n exerciseComparator = exerciseComparator.thenComparing(exerciseLink -> exerciseLink.getExercise().getTitle());\n return exerciseComparator;\n }\n\n /**\n * Computes the average confidence of all prior competencies.\n *\n * @param competency the competency for which the average prior confidence should be computed\n * @param state the current state of the recommendation (containing the mapping for prior competencies)\n * @return the average confidence of all prior competencies\n */\n private static double computeCombinedPriorConfidence(CourseCompetency competency, RecommendationState state) {\n return state.priorCompetencies.get(competency.getId()).stream().map(state.competencyIdMap::get).flatMap(c -> c.getUserProgress().stream())\n .mapToDouble(CompetencyProgress::getConfidence).sorted().average().orElse(1);\n }\n\n /**\n * Predicts the additionally needed exercise points required to master the given competency based on prior performance and current progress.\n *

\n * The following formulas are used predict the number of exercises required to master the competency:\n *

    \n *
  • Mastery >= MasteryThreshold
  • \n *
  • Mastery = Progress * Confidence {@link CompetencyProgressService#getMastery}
  • \n *
  • Progress = (#Exercises / # LearningObjects) * (AchievedPoints / TotalPoints) + #LectureUnits / #LearningObjects {@link CompetencyProgressService#calculateProgress}
  • \n *
  • Confidence ≈ 0.9 * weightedConfidence
  • \n *
  • RequiredPoints = AchievedPoints - CurrentScore
  • \n *
\n * The formulas are substituted and solved for RequiredScore.\n *\n * @param user the user for which the prediction should be computed\n * @param competency the competency for which the prediction should be computed\n * @param weightedConfidence the weighted confidence of the current and prior competencies\n * @return the predicted number of exercise points required to master the given competency\n */\n private double calculateNumberOfExercisePointsRequiredToMaster(User user, CourseCompetency competency, double weightedConfidence) {\n // we assume that the student may perform slightly worse than previously and dampen the confidence for the prediction process\n weightedConfidence *= 0.9;\n Set exercises = competency.getExerciseLinks().stream().map(CompetencyExerciseLink::getExercise).collect(Collectors.toSet());\n double currentPoints = participantScoreService.getStudentAndTeamParticipationPointsAsDoubleStream(user, exercises).sum();\n double maxPoints = exercises.stream().mapToDouble(Exercise::getMaxPoints).sum();\n double lectureUnits = competency.getLectureUnitLinks().size();\n double learningObjects = lectureUnits + exercises.size();\n double masteryThreshold = competency.getMasteryThreshold();\n\n double neededProgress = masteryThreshold / weightedConfidence;\n double maxLectureUnitProgress = lectureUnits / learningObjects * 100;\n double exerciseWeight = exercises.size() / learningObjects;\n double neededTotalExercisePoints = (neededProgress - maxLectureUnitProgress) / exerciseWeight * (maxPoints / 100);\n\n double neededExercisePoints = neededTotalExercisePoints - currentPoints;\n // numerical edge case, can't happen for valid competencies\n return Math.max(neededExercisePoints, 0);\n }\n\n /**\n * Generates a map from difficulty level to a set of corresponding exercises.\n *\n * @param exercises the exercises that should be contained in the map\n * @return a map from difficulty level to a set of corresponding exercises\n */\n private static Map> generateDifficultyLevelMap(List exercises) {\n Map> difficultyLevelMap = new HashMap<>();\n for (var difficulty : DifficultyLevel.values()) {\n difficultyLevelMap.put(difficulty, new ArrayList<>());\n }\n\n exercises.forEach(exercise -> {\n var difficulty = exercise.getDifficulty();\n // if no difficulty is set, assume medium difficulty level\n if (difficulty == null) {\n difficulty = DifficultyLevel.MEDIUM;\n }\n difficultyLevelMap.get(difficulty).add(exercise);\n });\n\n return difficultyLevelMap;\n }\n\n /**\n * Computes the recommended amount of exercises per difficulty level.\n *\n * @param numberOfExercisePointsRequiredToMaster the minimum amount of exercise points that should be recommended\n * @param weightedConfidence the weighted confidence of the current and prior competencies\n * @return array containing the recommended number of exercises per difficulty level (easy to hard)\n */\n private static double[] getRecommendedExercisePointDistribution(double numberOfExercisePointsRequiredToMaster, double weightedConfidence) {\n final var distribution = getExerciseDifficultyDistribution(weightedConfidence);\n final var numberOfExercisePoints = new double[DifficultyLevel.values().length];\n for (int i = 0; i < numberOfExercisePoints.length; i++) {\n numberOfExercisePoints[i] = distribution[i] * numberOfExercisePointsRequiredToMaster;\n }\n return numberOfExercisePoints;\n }\n\n /**\n * Retrieves the corresponding distribution from the lookup table.\n *\n * @param weightedConfidence the weighted confidence of the current and prior competencies\n * @return array containing the distribution in percent per difficulty level (easy to hard)\n */\n private static double[] getExerciseDifficultyDistribution(double weightedConfidence) {\n int distributionIndex = (int) Math.round(weightedConfidence * (EXERCISE_DIFFICULTY_DISTRIBUTION_LUT.length - 1));\n return EXERCISE_DIFFICULTY_DISTRIBUTION_LUT[Math.clamp(distributionIndex, 0, EXERCISE_DIFFICULTY_DISTRIBUTION_LUT.length - 1)];\n }\n\n public record RecommendationState(Map competencyIdMap, List recommendedOrderOfCompetencies, Set masteredCompetencies,\n Map competencyMastery, Map> matchingClusters, Map> priorCompetencies, Map extendsCompetencies,\n Map assumesCompetencies) {\n }\n\n /**\n * Gets the recommended order of learning objects for a competency. The finished lecture units and exercises are at the beginning of the list.\n * After that all pending lecture units and exercises needed to master the competency are added.\n *\n * @param competencyId the id of the competency\n * @param user the user for which the recommendation should be generated\n * @return the recommended order of learning objects\n */\n public List getOrderOfLearningObjectsForCompetency(long competencyId, User user) {\n CourseCompetency competency = courseCompetencyRepository.findByIdWithExercisesAndLectureUnitsElseThrow(competencyId);\n return getOrderOfLearningObjectsForCompetency(competency, user, courseLearnerProfileOf(user, competency), false);\n }\n\n /**\n * Reads the profile the user keeps for the course of a competency, defaulting to a neutral one where the user has\n * none yet.\n *

\n * Read here rather than through the account: hanging the profile off {@link User} made every account load fetch\n * one that almost no caller wants. A caller that examines several competencies reads it once and passes it in,\n * since the competencies of one navigation all belong to the same course.\n *\n * @param user the user for which the recommendation should be generated\n * @param competency the competency whose course the profile belongs to\n * @return the profile that shapes the recommendation\n */\n private CourseLearnerProfile courseLearnerProfileOf(User user, CourseCompetency competency) {\n return courseLearnerProfileRepository.findByUserIdAndCourseId(user.getId(), competency.getCourse().getId()).orElseGet(CourseLearnerProfile::new);\n }\n\n /**\n * Gets the recommended order of learning objects for a competency. The finished lecture units and exercises are at the beginning of the list.\n * After that all pending lecture units and exercises needed to master the competency are added.\n *\n * @param competency the competency for which the recommendation should be generated\n * @param user the user for which the recommendation should be generated\n * @param courseLearnerProfile the profile the user keeps for the course of the competency\n * @param repeatedTests whether the learning object is meant as a repeated test\n * @return the recommended order of learning objects\n */\n public List getOrderOfLearningObjectsForCompetency(CourseCompetency competency, User user, CourseLearnerProfile courseLearnerProfile, boolean repeatedTests) {\n Optional optionalCompetencyProgress = competencyProgressRepository.findByCompetencyIdAndUserId(competency.getId(), user.getId());\n competency.setUserProgress(optionalCompetencyProgress.map(Set::of).orElse(Set.of()));\n Set lectureUnits = competency.getLectureUnitLinks().stream().map(CompetencyLectureUnitLink::getLectureUnit).collect(Collectors.toSet());\n learningObjectService.setLectureUnitCompletions(lectureUnits, user);\n\n Set priorCompetencyProgresses = competencyProgressRepository.findAllPriorByCompetencyId(competency, user);\n double combinedPriorConfidence = priorCompetencyProgresses.stream().mapToDouble(CompetencyProgress::getConfidence).average().orElse(0);\n double weightedConfidence = computeWeightedConfidence(combinedPriorConfidence, optionalCompetencyProgress);\n Stream completedLectureUnits = lectureUnits.stream().filter(lectureUnit -> lectureUnit.isCompletedFor(user));\n Stream completedExercises = competency.getExerciseLinks().stream().map(CompetencyExerciseLink::getExercise)\n .filter(exercise -> learningObjectService.isCompletedByUser(exercise, user));\n Stream pendingLearningObjects = getRecommendedOrderOfLearningObjects(user, courseLearnerProfile, competency, weightedConfidence, repeatedTests).stream();\n\n return Stream.concat(completedLectureUnits, Stream.concat(completedExercises, pendingLearningObjects)).toList();\n }\n\n /**\n * Computes the weighted confidence of a competency based on the progress of the user and the confidence of the prior competencies.\n * With a higher progress in the current competency, the confidence of the prior competencies is weighted less.\n *\n * @param combinedPriorConfidence the average confidence of all prior competencies\n * @param optionalCompetencyProgress the progress of the user within the competency\n * @return the weighted confidence of the competency\n */\n private double computeWeightedConfidence(double combinedPriorConfidence, Optional optionalCompetencyProgress) {\n if (optionalCompetencyProgress.isPresent()) {\n final var competencyProgress = optionalCompetencyProgress.get();\n return (competencyProgress.getProgress() * competencyProgress.getConfidence()) + (1 - competencyProgress.getProgress()) * combinedPriorConfidence;\n }\n else {\n return combinedPriorConfidence;\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/60ffd5ca6f0c3b791262cf78af97adb83df4742d.json b/web/public/bundles/artemis/code/60ffd5ca6f0c3b791262cf78af97adb83df4742d.json new file mode 100644 index 00000000..378d872d --- /dev/null +++ b/web/public/bundles/artemis/code/60ffd5ca6f0c3b791262cf78af97adb83df4742d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "60ffd5ca6f0c3b791262cf78af97adb83df4742d", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/domain/PlagiarismResult.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.plagiarism.domain;\n\nimport static java.util.Comparator.comparingInt;\nimport static java.util.Comparator.reverseOrder;\n\nimport java.util.HashMap;\nimport java.util.HashSet;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Map.Entry;\nimport java.util.Set;\nimport java.util.stream.Collectors;\nimport java.util.stream.Stream;\n\nimport jakarta.persistence.CascadeType;\nimport jakarta.persistence.CollectionTable;\nimport jakarta.persistence.Column;\nimport jakarta.persistence.ElementCollection;\nimport jakarta.persistence.Entity;\nimport jakarta.persistence.FetchType;\nimport jakarta.persistence.JoinColumn;\nimport jakarta.persistence.ManyToOne;\nimport jakarta.persistence.MapKeyColumn;\nimport jakarta.persistence.OneToMany;\nimport jakarta.persistence.Table;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.jplag.JPlagResult;\nimport de.tum.cit.aet.artemis.core.domain.AbstractAuditingEntity;\nimport de.tum.cit.aet.artemis.core.domain.Parent;\nimport de.tum.cit.aet.artemis.exercise.domain.Exercise;\n\n/**\n * Base result of any automatic plagiarism detection.\n */\n@Entity\n@Table(name = \"plagiarism_result\")\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic class PlagiarismResult extends AbstractAuditingEntity {\n\n private static final int ORIGINAL_SIZE = 100;\n\n private static final int REDUCED_SIZE = 10;\n\n /**\n * List of detected comparisons whose similarity is above the specified threshold.\n */\n @OneToMany(mappedBy = \"plagiarismResult\", cascade = CascadeType.ALL, orphanRemoval = true)\n protected Set comparisons = new HashSet<>();\n\n /**\n * Duration of the plagiarism detection run in milliseconds.\n */\n @Column(name = \"duration\")\n protected long duration;\n\n /**\n * Exercise for which plagiarism was detected.\n */\n @ManyToOne\n @JoinColumn(nullable = false)\n @Parent\n protected Exercise exercise;\n\n /**\n * List of 10 elements representing the similarity distribution of the detected comparisons.\n *

\n * Each entry represents the absolute frequency of comparisons whose similarity lies within the\n * respective interval.\n *

\n * Intervals: 0: [0% - 10%), 1: [10% - 20%), 2: [20% - 30%), ..., 9: [90% - 100%]\n */\n @CollectionTable(name = \"plagiarism_result_similarity_distribution\", joinColumns = @JoinColumn(name = \"plagiarism_result_id\"))\n @MapKeyColumn(name = \"idx\")\n @Column(name = \"frequency\")\n @ElementCollection(fetch = FetchType.EAGER)\n protected Map similarityDistribution;\n\n public Set getComparisons() {\n return comparisons;\n }\n\n public void setComparisons(Set comparisons) {\n this.comparisons = comparisons;\n }\n\n public long getDuration() {\n return duration;\n }\n\n public void setDuration(long duration) {\n this.duration = duration;\n }\n\n public Exercise getExercise() {\n return exercise;\n }\n\n public void setExercise(Exercise exercise) {\n this.exercise = exercise;\n }\n\n /**\n * @return an unmodifiable list of the similar distribution, or null if no distribution has been initialized yet\n */\n public List getSimilarityDistribution() {\n if (this.similarityDistribution == null) {\n return null;\n }\n return this.similarityDistribution.entrySet().stream().sorted(comparingInt(Entry::getKey)).map(Entry::getValue).toList();\n }\n\n /**\n * Because @ElementCollection requires us to use List instead of int[], we map the\n * given similarityDistribution argument to a list.\n *\n * @param similarityDistribution 10-element integer array\n */\n public void setSimilarityDistribution(int[] similarityDistribution) {\n this.similarityDistribution = new HashMap<>();\n\n for (int i = 0; i < similarityDistribution.length; i++) {\n this.similarityDistribution.put(i, similarityDistribution[i]);\n }\n }\n\n /**\n * sort after the comparisons with the highest similarity and limit the number of comparisons to size to prevent too many plagiarism results\n *\n * @param size the size to which the comparisons should be limited, e.g. 500\n */\n public void sortAndLimit(int size) {\n // we have to use an intermediate variable here, otherwise the compiler complaints due to generics and type erasing\n Stream stream = getComparisons().stream().sorted(reverseOrder()).limit(size);\n this.comparisons = stream.collect(Collectors.toSet());\n }\n\n @Override\n public String toString() {\n return \"PlagiarismResult{\" + \"comparisons=\" + comparisons + \", duration=\" + duration + \", similarityDistribution=\" + similarityDistribution + '}';\n }\n\n /**\n * converts the given JPlagResult into a PlagiarismResult, only uses the 500 most interesting comparisons based on the highest similarity\n *\n * @param result the JPlagResult contains comparisons\n * @param exercise the exercise to which the result should belong, either Text or Programming\n */\n public void convertJPlagResult(JPlagResult result, Exercise exercise) {\n // sort and limit the number of comparisons to 500\n var comparisons = result.getComparisons(500);\n // only convert those 500 comparisons to save memory and cpu power\n for (var jPlagComparison : comparisons) {\n var comparison = PlagiarismComparison.fromJPlagComparison(jPlagComparison, exercise, result.getOptions().submissionDirectories().iterator().next());\n comparison.setPlagiarismResult(this);\n this.comparisons.add(comparison);\n }\n this.duration = result.getDuration();\n\n // Convert JPlag Similarity Distribution from int[100] to int[10]\n int[] tenthPercentileSimilarityDistribution = new int[REDUCED_SIZE];\n for (int i = 0; i < ORIGINAL_SIZE; i++) {\n tenthPercentileSimilarityDistribution[i / REDUCED_SIZE] += result.getSimilarityDistribution()[i];\n }\n\n this.setSimilarityDistribution(tenthPercentileSimilarityDistribution);\n this.setExercise(exercise);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/61928fd72db9526a0be75ed343c331ef0e152346.json b/web/public/bundles/artemis/code/61928fd72db9526a0be75ed343c331ef0e152346.json new file mode 100644 index 00000000..5a502bb2 --- /dev/null +++ b/web/public/bundles/artemis/code/61928fd72db9526a0be75ed343c331ef0e152346.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "61928fd72db9526a0be75ed343c331ef0e152346", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/variants/QuizVariantTools.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.hyperion.service.variants;\n\nimport java.util.HashMap;\nimport java.util.HashSet;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Objects;\nimport java.util.Set;\nimport java.util.concurrent.ConcurrentHashMap;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.ai.tool.ToolCallback;\nimport org.springframework.ai.tool.annotation.Tool;\nimport org.springframework.ai.tool.annotation.ToolParam;\nimport org.springframework.ai.tool.method.MethodToolCallbackProvider;\n\nimport com.fasterxml.jackson.annotation.JsonPropertyDescription;\n\nimport tools.jackson.core.type.TypeReference;\nimport tools.jackson.databind.json.JsonMapper;\n\nimport de.tum.cit.aet.artemis.quiz.domain.DragAndDropQuestion;\nimport de.tum.cit.aet.artemis.quiz.domain.DragItem;\nimport de.tum.cit.aet.artemis.quiz.domain.QuizExercise;\nimport de.tum.cit.aet.artemis.quiz.domain.QuizQuestion;\nimport de.tum.cit.aet.artemis.quiz.domain.ShortAnswerMapping;\nimport de.tum.cit.aet.artemis.quiz.domain.ShortAnswerQuestion;\nimport de.tum.cit.aet.artemis.quiz.domain.ShortAnswerSolution;\nimport de.tum.cit.aet.artemis.quiz.domain.ShortAnswerSpot;\nimport de.tum.cit.aet.artemis.quiz.repository.QuizExerciseRepository;\nimport de.tum.cit.aet.artemis.quiz.service.QuizExerciseService;\n\n/**\n * The quiz-exercise toolset for one agent round. One instance is created per round by\n * {@link QuizVariantAdapterService#createTools}; it is NOT a Spring bean.\n *\n * Questions are exchanged as the domain's own polymorphic JSON (the same format the quiz editor REST API\n * uses, discriminated by {@code \"type\": \"multiple-choice\" | \"drag-and-drop\" | \"short-answer\"}), so edits are\n * schema-checked simply by deserializing into the domain model. Validation errors are returned TO THE MODEL\n * as the tool result. DnD background/item images are carried over unchanged — image paths must not be added\n * or altered.\n *\n * Cancellation: once the cancel flag is set, every tool short-circuits with an instruction to stop and the\n * round's internal tool loop ends after that result; the pipeline performs the actual abort at the next round\n * boundary.\n */\nclass QuizVariantTools implements VariantToolset {\n\n private static final Logger log = LoggerFactory.getLogger(QuizVariantTools.class);\n\n /** Per-round tool-call budget (see {@link VariantRoundBudget}); lower than the programming budget — no repository work. */\n private static final int TOOL_CALL_BUDGET = 25;\n\n private final long quizExerciseId;\n\n private final String jobId;\n\n private final ExerciseVariantJobService jobService;\n\n private final QuizExerciseRepository quizExerciseRepository;\n\n private final QuizExerciseService quizExerciseService;\n\n private final JsonMapper objectMapper;\n\n private volatile String finishSummary;\n\n private final ConcurrentHashMap toolCallStats = new ConcurrentHashMap<>();\n\n private final VariantRoundBudget budget;\n\n QuizVariantTools(long quizExerciseId, String jobId, ExerciseVariantJobService jobService, QuizExerciseRepository quizExerciseRepository,\n QuizExerciseService quizExerciseService, JsonMapper objectMapper) {\n this.quizExerciseId = quizExerciseId;\n this.jobId = jobId;\n this.jobService = jobService;\n this.quizExerciseRepository = quizExerciseRepository;\n this.quizExerciseService = quizExerciseService;\n this.objectMapper = objectMapper;\n this.budget = new VariantRoundBudget(TOOL_CALL_BUDGET, jobId, jobService);\n }\n\n @Override\n public List toolCallbacks() {\n return VariantToolset.withTiming(MethodToolCallbackProvider.builder().toolObjects(this).build().getToolCallbacks(), toolCallStats, budget::roundOver);\n }\n\n @Override\n public Map toolCallStats() {\n return Map.copyOf(toolCallStats);\n }\n\n @Override\n public String finishSummary() {\n return finishSummary;\n }\n\n @Tool(description = \"Get all questions of the variant quiz as a JSON array (the quiz editor format, discriminated by \\\"type\\\"). \"\n + \"Array order is the question order; use the array index with updateQuestion. Preserve the ids of elements you keep.\")\n public String getQuestions() {\n String stop = stopNotice();\n if (stop != null) {\n return stop;\n }\n try {\n QuizExercise quiz = quizExerciseRepository.findByIdWithQuestionsElseThrow(quizExerciseId);\n return serializeQuestions(objectMapper, quiz.getQuizQuestions());\n }\n catch (Exception e) {\n return \"Error: could not read the quiz questions: \" + e.getMessage();\n }\n }\n\n @Tool(description = \"Replace one question of the variant quiz with the given question JSON (same format as getQuestions returns, \"\n + \"including the \\\"type\\\" discriminator). The question type must stay the same. Keep the ids of all elements you do not remove. \"\n + \"For drag-and-drop questions, image paths (background and drag item pictures) must remain exactly as they are — only text and mappings may change.\")\n public String updateQuestion(@ToolParam(description = \"the 0-based index of the question to replace (order of getQuestions)\") Integer index,\n @ToolParam(description = \"the full new question as JSON, in the same format getQuestions returns\") String questionJson) {\n String stop = stopNotice();\n if (stop != null) {\n return stop;\n }\n // Boxed parameter on purpose: with a primitive int, a model omitting \"index\" crashes argument\n // unboxing inside Spring AI and kills the whole round; a null must go back to the model instead.\n if (index == null) {\n return \"Error: the \\\"index\\\" argument is required — pass the 0-based question index from getQuestions.\";\n }\n if (questionJson == null || questionJson.isBlank()) {\n return \"Error: the \\\"questionJson\\\" argument is required — pass the full question JSON.\";\n }\n try {\n // Categories and batches MUST be fetched eagerly: QuizExerciseService.save walks both, and a lazy\n // proxy on this detached instance would throw a LazyInitializationException on save.\n QuizExercise quiz = quizExerciseRepository.findByIdWithQuestionsAndCategoriesAndBatchesElseThrow(quizExerciseId);\n String error = replaceQuestion(quiz, index, questionJson);\n if (error != null) {\n return \"Error: \" + error;\n }\n quizExerciseService.save(quiz);\n log.debug(\"Variant job {}: replaced quiz question {} of exercise {}\", jobId, index, quizExerciseId);\n return \"Question \" + index + \" updated. \" + (quiz.isValid() ? \"The quiz is currently valid.\" : \"The quiz is NOT valid yet — use validateQuiz for details.\");\n }\n catch (Exception e) {\n return \"Error: could not update question \" + index + \": \" + e.getMessage();\n }\n }\n\n /** One question replacement for the batch {@link #updateQuestions} tool: the target index and its new JSON. */\n public record QuestionEdit(@JsonPropertyDescription(\"the 0-based index of the question to replace (order of getQuestions)\") Integer index,\n @JsonPropertyDescription(\"the full new question as JSON, in the same format getQuestions returns, including the \\\"type\\\" discriminator\") String questionJson) {\n }\n\n @Tool(description = \"Replace MULTIPLE questions of the variant quiz in a SINGLE call. Strongly prefer this over several updateQuestion calls when re-theming more than one \"\n + \"question: pass all the { index, questionJson } edits at once. Edits are applied in order and each is reported independently as updated or with a precise error; \"\n + \"a failed edit never blocks the others, and only the successful edits are persisted (once, at the end). Same rules as updateQuestion: keep each question's type and \"\n + \"element ids, and keep drag-and-drop image paths exactly as they are.\")\n public String updateQuestions(@ToolParam(description = \"the question replacements to apply; each has index and questionJson\") List edits) {\n String stop = stopNotice();\n if (stop != null) {\n return stop;\n }\n if (edits == null || edits.isEmpty()) {\n return \"Error: no question edits were provided. Pass at least one { index, questionJson } edit.\";\n }\n try {\n // Categories and batches MUST be fetched eagerly (see updateQuestion).\n QuizExercise quiz = quizExerciseRepository.findByIdWithQuestionsAndCategoriesAndBatchesElseThrow(quizExerciseId);\n StringBuilder report = new StringBuilder();\n int appliedCount = 0;\n for (int position = 0; position < edits.size(); position++) {\n QuestionEdit edit = edits.get(position);\n report.append(\"Edit \").append(position + 1);\n if (edit == null || edit.index() == null) {\n report.append(\": Error: the \\\"index\\\" argument is required — pass the 0-based question index from getQuestions.\\n\");\n continue;\n }\n report.append(\" (question \").append(edit.index()).append(\"): \");\n if (edit.questionJson() == null || edit.questionJson().isBlank()) {\n report.append(\"Error: the \\\"questionJson\\\" argument is required — pass the full question JSON.\\n\");\n continue;\n }\n String error = replaceQuestion(quiz, edit.index(), edit.questionJson());\n if (error != null) {\n report.append(\"Error: \").append(error).append('\\n');\n continue;\n }\n appliedCount++;\n report.append(\"updated.\\n\");\n }\n if (appliedCount > 0) {\n quizExerciseService.save(quiz);\n log.debug(\"Variant job {}: replaced {} quiz question(s) of exercise {}\", jobId, appliedCount, quizExerciseId);\n }\n report.append(appliedCount).append(\" of \").append(edits.size()).append(\" question(s) updated. \")\n .append(quiz.isValid() ? \"The quiz is currently valid.\" : \"The quiz is NOT valid yet — use validateQuiz for details.\");\n return report.toString();\n }\n catch (Exception e) {\n return \"Error: could not update the questions: \" + e.getMessage();\n }\n }\n\n /**\n * Replaces the question at {@code index} of {@code quiz} in memory with the deserialized {@code questionJson}\n * (id and child back-references restored). Shared by the single {@link #updateQuestion} and the\n * batch {@link #updateQuestions} tools so the validation and reconnection rules are defined once; the caller\n * saves the quiz. Returns a precise, model-facing reason (WITHOUT an \"Error: \" prefix) on rejection, or\n * {@code null} when the replacement was applied.\n */\n private String replaceQuestion(QuizExercise quiz, int index, String questionJson) {\n List questions = quiz.getQuizQuestions();\n if (index < 0 || index >= questions.size()) {\n return \"question index \" + index + \" is out of range — the quiz has \" + questions.size() + \" question(s) (indices 0-\" + (questions.size() - 1) + \").\";\n }\n QuizQuestion existing = questions.get(index);\n if (existing == null) {\n return \"there is no question at index \" + index + \" (the question list has a gap at this position).\";\n }\n QuizQuestion updated;\n try {\n updated = objectMapper.readValue(questionJson, QuizQuestion.class);\n }\n catch (Exception parseError) {\n // Schema violations go back to the model as the tool result.\n return \"the question JSON is invalid: \" + parseError.getMessage() + \" Use exactly the format getQuestions returns, including the \\\"type\\\" field.\";\n }\n if (!existing.getClass().equals(updated.getClass())) {\n return \"the question type must not change (existing question \" + index + \" is of type '\" + existing.getClass().getSimpleName() + \"').\";\n }\n String imageError = checkImagesUnchanged(existing, updated);\n if (imageError != null) {\n return imageError;\n }\n updated.setId(existing.getId());\n // Grading metadata is invariant across a variant: the plan and the prompt both declare it, but a\n // replacement that changes points or scoring type still deserializes and still passes isValid(), and\n // QuizExerciseService.save recomputes the quiz maximum from the question points. Restore both from the\n // source question rather than trusting the model to have left them alone.\n updated.setPoints(existing.getPoints());\n updated.setScoringType(existing.getScoringType());\n if (!updated.isValid()) {\n return \"the updated question is not valid (check: non-empty title/text, at least one correct multiple-choice option, \"\n + \"consistent drag-and-drop/short-answer mappings, valid scoring type). Fix the question and try again.\";\n }\n questions.set(index, updated);\n // The child side owns the FK here (question -> exercise), and that back-reference is @JsonIgnore'd, so it\n // is null on the deserialized instance. Saving without restoring it writes a NULL FK: the question row is\n // orphaned and the @OrderColumn list comes back with a null gap (observed as an NPE in VERIFYING).\n reconnectReplacedQuestion(quiz, updated);\n return null;\n }\n\n @Tool(description = \"Validate the variant quiz: overall validity and a per-question report. Fix all reported problems before you finish.\")\n public String validateQuiz() {\n String stop = stopNotice();\n if (stop != null) {\n return stop;\n }\n try {\n QuizExercise quiz = quizExerciseRepository.findByIdWithQuestionsElseThrow(quizExerciseId);\n return renderValidationReport(quiz);\n }\n catch (Exception e) {\n return \"Error: could not validate the quiz: \" + e.getMessage();\n }\n }\n\n // returnDirect ends the internal tool loop immediately — no extra LLM round after the model finishes,\n // and the \"budget exhausted, call finish\" directive has a guaranteed exit.\n @Tool(returnDirect = true, description = \"Signal that you are done with this round and provide a short summary of what you changed and verified.\")\n public String finish(@ToolParam(description = \"a short summary of the changes made in this round\") String summary) {\n this.finishSummary = summary;\n return \"Summary recorded. You are done with this round.\";\n }\n\n /**\n * Serializes questions with the DECLARED {@code List} type: {@code writeValueAsString}'s\n * erased runtime type makes Jackson skip the {@code @JsonTypeInfo} discriminator, so the emitted JSON\n * would lack exactly the {@code \"type\"} field {@link #updateQuestion} requires the model to echo back.\n */\n static String serializeQuestions(JsonMapper objectMapper, List questions) {\n return objectMapper.writerWithDefaultPrettyPrinter().forType(new TypeReference>() {\n }).writeValueAsString(questions);\n }\n\n /**\n * Renders the same per-question validity report the verifier uses, so the agent can self-check with\n * exactly the signal it will be gated on.\n */\n static String renderValidationReport(QuizExercise quiz) {\n StringBuilder report = new StringBuilder();\n List questions = quiz.getQuizQuestions();\n for (int i = 0; i < questions.size(); i++) {\n QuizQuestion question = questions.get(i);\n if (question == null) {\n // A null element means the @OrderColumn list has a gap (a question row lost its exercise FK).\n report.append(\"Question \").append(i).append(\": MISSING — the question list has a gap at this position.\\n\");\n continue;\n }\n report.append(\"Question \").append(i).append(\" (\").append(question.getClass().getSimpleName()).append(\", \\\"\").append(question.getTitle()).append(\"\\\"): \")\n .append(question.isValid() ? \"valid\" : \"INVALID\").append('\\n');\n }\n report.append(quiz.isValid() ? \"The quiz is valid.\" : \"The quiz is NOT valid overall (every question must be valid; title and duration must be set).\");\n return report.toString();\n }\n\n /**\n * Enforces the image non-goal: the DnD background path must not change, and every drag item must keep the\n * picture path it was carried over with. An item may be dropped along with its picture, but a picture must\n * never be added, repointed, or moved to another item — the files belong to the source exercise.\n */\n private static String checkImagesUnchanged(QuizQuestion existing, QuizQuestion updated) {\n if (!(existing instanceof DragAndDropQuestion existingDnd) || !(updated instanceof DragAndDropQuestion updatedDnd)) {\n return null;\n }\n if (!Objects.equals(existingDnd.getBackgroundFilePath(), updatedDnd.getBackgroundFilePath())) {\n return \"the background image path of a drag-and-drop question must not change (keep \\\"\" + existingDnd.getBackgroundFilePath() + \"\\\").\";\n }\n Map existingPathsByItemId = picturePathsByItemId(existingDnd);\n for (DragItem updatedItem : updatedDnd.getDragItems() == null ? List.of() : updatedDnd.getDragItems()) {\n if (updatedItem == null) {\n return \"the drag item list must not contain null entries — send every drag item you keep as a full object.\";\n }\n // Identity, not membership: a path that merely still EXISTS somewhere may have been moved to another\n // item or attached to a newly invented one. A retained item that drops its path to null is the same\n // kind of change — removal is only permitted together with the item itself.\n if (!Objects.equals(existingPathsByItemId.get(updatedItem.getId()), updatedItem.getPictureFilePath())) {\n return \"each drag item must keep its own image path — images must not be added, changed, moved between items, or removed from an item you keep. \"\n + \"Only text and mappings may be edited. Existing picture paths per drag item id: \" + existingPathsByItemId;\n }\n }\n return null;\n }\n\n private static Map picturePathsByItemId(DragAndDropQuestion question) {\n if (question.getDragItems() == null) {\n return Map.of();\n }\n Map pathsByItemId = new HashMap<>();\n question.getDragItems().stream().filter(item -> item.getId() != null && item.getPictureFilePath() != null)\n .forEach(item -> pathsByItemId.put(item.getId(), item.getPictureFilePath()));\n return pathsByItemId;\n }\n\n /**\n * Restores the @JsonIgnore'd child-to-parent pointer of one deserialized question so it is written correctly on\n * save. Answer options / drop locations / drag items / correct mappings / spots / solutions no longer carry a\n * back-reference (they are stored id-based inside the question's {@code content} JSON column, see\n * {@code QuizConfiguration.reconnectJSONIgnoreAttributes}); only the parent exercise still needs reconnecting.\n */\n private static void reconnectReplacedQuestion(QuizExercise quiz, QuizQuestion question) {\n question.setExercise(quiz);\n switch (question) {\n case ShortAnswerQuestion saQuestion -> reconnectShortAnswerMappings(saQuestion);\n default -> {\n }\n }\n }\n\n /**\n * Rebuilds the correct mappings of a replaced short-answer question the way the quiz editor does.\n *

\n * Two things are wrong with the mappings as they arrive from the model, and both break the save:\n *

    \n *
  • Each mapping carries the id it was serialized with. The editor's supported path\n * ({@code ShortAnswerQuestionFromEditorDTO.toDomainObject}) never round-trips a mapping id — it always\n * builds {@code new ShortAnswerMapping()} and lets {@code orphanRemoval} delete the superseded rows.\n * Saving a mapping that has an id hands Hibernate a detached entity (\"Detached entity passed to\n * persist\", and once the row has moved on, an optimistic-lock failure).
  • \n *
  • The mapping's spot and solution arrive nested, so Jackson deserializes each as a separate\n * instance rather than the one held in the question's own spots/solutions collections.
  • \n *
\n * Spot and solution ids are kept, exactly as the editor keeps them; only the mapping is recreated.\n *

\n * A mapping whose spot or solution cannot be resolved is dropped rather than persisted: the quiz then\n * fails {@code isValid()} with \"spot has no mapped solution\", which routes the problem back to the\n * agent as repair feedback instead of aborting the save. The editor rejects the whole request there,\n * but here the agent is mid-repair and a specific, recoverable complaint is worth more than a 400.\n */\n private static void reconnectShortAnswerMappings(ShortAnswerQuestion question) {\n if (question.getCorrectMappings() == null || question.getCorrectMappings().isEmpty()) {\n return;\n }\n List spots = question.getSpots() == null ? List.of() : question.getSpots();\n List solutions = question.getSolutions() == null ? List.of() : question.getSolutions();\n\n Set rebuilt = new HashSet<>();\n for (ShortAnswerMapping incoming : question.getCorrectMappings()) {\n ShortAnswerSpot spot = findSpot(spots, incoming.getSpot());\n ShortAnswerSolution solution = findSolution(solutions, incoming.getSolution());\n if (spot == null || solution == null) {\n log.debug(\"Dropping a short-answer mapping whose spot or solution is not part of the replaced question\");\n continue;\n }\n // A fresh instance, never the incoming one: carrying the model-echoed id over is exactly what\n // makes the save fail. orphanRemoval deletes the superseded rows.\n ShortAnswerMapping mapping = new ShortAnswerMapping();\n mapping.setSpot(spot);\n mapping.setSolution(solution);\n mapping.setInvalid(incoming.isInvalid());\n rebuilt.add(mapping);\n }\n question.setCorrectMappings(rebuilt);\n }\n\n /** Matches by spot number first — the model may drop ids, but a spot without a number is meaningless. */\n private static ShortAnswerSpot findSpot(List spots, ShortAnswerSpot target) {\n if (target == null) {\n return null;\n }\n return spots.stream().filter(spot -> Objects.equals(spot.getSpotNr(), target.getSpotNr())).findFirst()\n .or(() -> spots.stream().filter(spot -> target.getId() != null && Objects.equals(spot.getId(), target.getId())).findFirst()).orElse(null);\n }\n\n /** Matches by id first, falling back to text for a solution the model added without one. */\n private static ShortAnswerSolution findSolution(List solutions, ShortAnswerSolution target) {\n if (target == null) {\n return null;\n }\n return solutions.stream().filter(solution -> target.getId() != null && Objects.equals(solution.getId(), target.getId())).findFirst()\n .or(() -> solutions.stream().filter(solution -> Objects.equals(solution.getText(), target.getText())).findFirst()).orElse(null);\n }\n\n /** Cancellation / tool-budget check every tool except finish short-circuits on; see {@link VariantRoundBudget}. */\n private String stopNotice() {\n return budget.stopNotice();\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/61ed07d77012db8a22c7aa1922fa5c045f14a998.json b/web/public/bundles/artemis/code/61ed07d77012db8a22c7aa1922fa5c045f14a998.json new file mode 100644 index 00000000..cc153c8a --- /dev/null +++ b/web/public/bundles/artemis/code/61ed07d77012db8a22c7aa1922fa5c045f14a998.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "61ed07d77012db8a22c7aa1922fa5c045f14a998", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/dto/data/PyrisCompetencyDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.iris.service.pyris.dto.data;\n\nimport static de.tum.cit.aet.artemis.core.util.TimeUtil.toInstant;\n\nimport java.time.Instant;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.atlas.domain.competency.Competency;\nimport de.tum.cit.aet.artemis.atlas.domain.competency.CompetencyTaxonomy;\n\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record PyrisCompetencyDTO(long id, String title, String description, CompetencyTaxonomy taxonomy, Instant softDueDate, boolean optional) {\n\n public static PyrisCompetencyDTO of(Competency competency) {\n return new PyrisCompetencyDTO(competency.getId(), competency.getTitle(), competency.getDescription(), competency.getTaxonomy(), toInstant(competency.getSoftDueDate()),\n competency.isOptional());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/631fd6706d29951a065b50a92d907272b91c4d1c.json b/web/public/bundles/artemis/code/631fd6706d29951a065b50a92d907272b91c4d1c.json new file mode 100644 index 00000000..6d6c79e6 --- /dev/null +++ b/web/public/bundles/artemis/code/631fd6706d29951a065b50a92d907272b91c4d1c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "631fd6706d29951a065b50a92d907272b91c4d1c", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/service/TutorialGroupImportService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.tutorialgroup.service;\n\nimport java.util.ArrayList;\nimport java.util.HashSet;\nimport java.util.List;\nimport java.util.Set;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.tutorialgroup.config.TutorialGroupEnabled;\nimport de.tum.cit.aet.artemis.tutorialgroup.domain.TutorialGroup;\nimport de.tum.cit.aet.artemis.tutorialgroup.domain.TutorialGroupSchedule;\nimport de.tum.cit.aet.artemis.tutorialgroup.repository.TutorialGroupRepository;\nimport de.tum.cit.aet.artemis.tutorialgroup.repository.TutorialGroupScheduleRepository;\n\n/**\n * Service for importing tutorial group configurations from one course to another.\n * Note: This imports the tutorial group structure (title, schedule, capacity, etc.)\n * but NOT student registrations.\n */\n@Conditional(TutorialGroupEnabled.class)\n@Lazy\n@Service\npublic class TutorialGroupImportService {\n\n private static final Logger log = LoggerFactory.getLogger(TutorialGroupImportService.class);\n\n private final TutorialGroupRepository tutorialGroupRepository;\n\n private final TutorialGroupScheduleRepository tutorialGroupScheduleRepository;\n\n private final TutorialGroupChannelManagementService tutorialGroupChannelManagementService;\n\n public TutorialGroupImportService(TutorialGroupRepository tutorialGroupRepository, TutorialGroupScheduleRepository tutorialGroupScheduleRepository,\n TutorialGroupChannelManagementService tutorialGroupChannelManagementService) {\n this.tutorialGroupRepository = tutorialGroupRepository;\n this.tutorialGroupScheduleRepository = tutorialGroupScheduleRepository;\n this.tutorialGroupChannelManagementService = tutorialGroupChannelManagementService;\n }\n\n /**\n * Import all tutorial group configurations from the source course to the target course.\n * This copies the tutorial group structure (title, schedule, capacity, etc.) but NOT student registrations.\n *\n * @param sourceCourseId the ID of the course to import from\n * @param targetCourse the course to import to\n * @param requestingUser the user requesting the import (will be set as default teaching assistant)\n * @return the list of imported tutorial groups\n */\n public List importTutorialGroups(long sourceCourseId, Course targetCourse, User requestingUser) {\n log.debug(\"Importing tutorial groups from course {} to course {}\", sourceCourseId, targetCourse.getId());\n\n Set sourceTutorialGroups = tutorialGroupRepository.findAllByCourseIdWithTeachingAssistantRegistrationsAndSchedule(sourceCourseId);\n List importedGroups = new ArrayList<>();\n\n for (TutorialGroup source : sourceTutorialGroups) {\n TutorialGroup newGroup = createTutorialGroupCopy(source, targetCourse, requestingUser);\n TutorialGroup savedGroup = tutorialGroupRepository.save(newGroup);\n\n // Copy schedule if exists\n if (source.getTutorialGroupSchedule() != null) {\n TutorialGroupSchedule newSchedule = copySchedule(source.getTutorialGroupSchedule(), savedGroup);\n tutorialGroupScheduleRepository.save(newSchedule);\n savedGroup.setTutorialGroupSchedule(newSchedule);\n }\n\n // Create channel for the tutorial group\n tutorialGroupChannelManagementService.createChannelForTutorialGroup(savedGroup);\n\n importedGroups.add(savedGroup);\n }\n\n log.debug(\"Imported {} tutorial groups to course {}\", importedGroups.size(), targetCourse.getId());\n return importedGroups;\n }\n\n /**\n * Creates a copy of the tutorial group with the new course and without registrations.\n *\n * @param source the source tutorial group\n * @param targetCourse the target course\n * @param requestingUser the user to set as teaching assistant\n * @return a new tutorial group with copied properties\n */\n private TutorialGroup createTutorialGroupCopy(TutorialGroup source, Course targetCourse, User requestingUser) {\n TutorialGroup newGroup = new TutorialGroup();\n newGroup.setTitle(source.getTitle());\n newGroup.setCampus(source.getCampus());\n newGroup.setLanguage(source.getLanguage());\n newGroup.setCapacity(source.getCapacity());\n newGroup.setIsOnline(source.getIsOnline());\n newGroup.setAdditionalInformation(source.getAdditionalInformation());\n newGroup.setCourse(targetCourse);\n newGroup.setTeachingAssistant(requestingUser);\n // No registrations - empty set\n newGroup.setRegistrations(new HashSet<>());\n return newGroup;\n }\n\n /**\n * Creates a copy of the tutorial group schedule.\n *\n * @param sourceSchedule the source schedule\n * @param newTutorialGroup the new tutorial group to attach the schedule to\n * @return a new schedule with copied properties\n */\n private TutorialGroupSchedule copySchedule(TutorialGroupSchedule sourceSchedule, TutorialGroup newTutorialGroup) {\n TutorialGroupSchedule newSchedule = new TutorialGroupSchedule();\n newSchedule.setTutorialGroup(newTutorialGroup);\n newSchedule.setDayOfWeek(sourceSchedule.getDayOfWeek());\n newSchedule.setStartTime(sourceSchedule.getStartTime());\n newSchedule.setEndTime(sourceSchedule.getEndTime());\n newSchedule.setRepetitionFrequency(sourceSchedule.getRepetitionFrequency());\n newSchedule.setValidFromInclusive(sourceSchedule.getValidFromInclusive());\n newSchedule.setValidToInclusive(sourceSchedule.getValidToInclusive());\n newSchedule.setLocation(sourceSchedule.getLocation());\n return newSchedule;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/6335f1e9b57a2787cba7074d1329954ee74b8a6c.json b/web/public/bundles/artemis/code/6335f1e9b57a2787cba7074d1329954ee74b8a6c.json new file mode 100644 index 00000000..4db20505 --- /dev/null +++ b/web/public/bundles/artemis/code/6335f1e9b57a2787cba7074d1329954ee74b8a6c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6335f1e9b57a2787cba7074d1329954ee74b8a6c", + "language": "typescript", + "path": "src/main/webapp/app/exercise/exercise-categories/exercise-categories.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, input } from '@angular/core';\nimport { NgClass } from '@angular/common';\nimport { Exercise, IncludedInOverallScore } from 'app/exercise/shared/entities/exercise/exercise.model';\nimport dayjs from 'dayjs/esm';\nimport { QuizExercise } from 'app/quiz/shared/entities/quiz-exercise.model';\nimport { RouterLink } from '@angular/router';\nimport { IncludedInScoreBadgeComponent } from '../exercise-headers/included-in-score-badge/included-in-score-badge.component';\nimport { DifficultyBadgeComponent } from '../exercise-headers/difficulty-badge/difficulty-badge.component';\nimport { TruncatePipe } from 'app/foundation/pipes/truncate.pipe';\nimport { NotReleasedTagComponent } from 'app/shared-ui/components/not-released-tag/not-released-tag.component';\nimport { getReadableTextColor } from 'app/foundation/util/color.utils';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\n\ninterface ShowTagsConfig {\n notReleased?: boolean;\n quizLive?: boolean;\n difficulty?: boolean;\n difficultyIfNoLevel?: boolean;\n includedInScore?: boolean;\n}\n\n@Component({\n selector: 'jhi-exercise-categories',\n templateUrl: './exercise-categories.component.html',\n imports: [NgClass, RouterLink, NotReleasedTagComponent, TranslateDirective, IncludedInScoreBadgeComponent, DifficultyBadgeComponent, TruncatePipe],\n})\nexport class ExerciseCategoriesComponent {\n readonly IncludedInOverallScore = IncludedInOverallScore;\n readonly dayjs = dayjs;\n\n readonly exercise = input.required();\n readonly isSmall = input(false);\n readonly showTags = input({\n notReleased: false,\n quizLive: false,\n difficulty: false,\n difficultyIfNoLevel: false,\n includedInScore: false,\n });\n\n /** Picks black or white text so the category name stays readable on dark and light category colors; undefined keeps the inherited color. */\n categoryTextColor(color: string | undefined): string | undefined {\n return getReadableTextColor(color);\n }\n\n asQuizExercise(exercise: Exercise): QuizExercise {\n return exercise;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/638d0634eb061cf1f216b245906a1708788cbb9f.json b/web/public/bundles/artemis/code/638d0634eb061cf1f216b245906a1708788cbb9f.json new file mode 100644 index 00000000..04c7b377 --- /dev/null +++ b/web/public/bundles/artemis/code/638d0634eb061cf1f216b245906a1708788cbb9f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "638d0634eb061cf1f216b245906a1708788cbb9f", + "language": "typescript", + "path": "src/main/webapp/app/text/manage/example-text-submission/example-text-submission.route.ts", + "schema": "codexray.code/1", + "text": "import { Routes } from '@angular/router';\nimport { UserRouteAccessService } from 'app/core/auth/user-route-access-service';\n\nimport { IS_AT_LEAST_TUTOR } from 'app/foundation/constants/authority.constants';\n\nexport const exampleTextSubmissionRoute: Routes = [\n {\n path: '',\n loadComponent: () => import('./example-text-submission.component').then((m) => m.ExampleTextSubmissionComponent),\n data: {\n authorities: IS_AT_LEAST_TUTOR,\n pageTitle: 'artemisApp.exampleSubmission.home.editor',\n },\n canActivate: [UserRouteAccessService],\n },\n];\n" +} diff --git a/web/public/bundles/artemis/code/63ccf778d263bd992bf91f1ca305314c97601c93.json b/web/public/bundles/artemis/code/63ccf778d263bd992bf91f1ca305314c97601c93.json new file mode 100644 index 00000000..25158561 --- /dev/null +++ b/web/public/bundles/artemis/code/63ccf778d263bd992bf91f1ca305314c97601c93.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "63ccf778d263bd992bf91f1ca305314c97601c93", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/CourseNotificationSettingService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.notification.service;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\n\nimport java.util.ArrayList;\nimport java.util.HashMap;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Objects;\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.notification.domain.NotificationChannelOption;\nimport de.tum.cit.aet.artemis.notification.domain.UserCourseNotificationSettingPreset;\nimport de.tum.cit.aet.artemis.notification.domain.UserCourseNotificationSettingSpecification;\nimport de.tum.cit.aet.artemis.notification.domain.course_notifications.CourseNotification;\nimport de.tum.cit.aet.artemis.notification.domain.setting_presets.DefaultUserCourseNotificationSettingPreset;\nimport de.tum.cit.aet.artemis.notification.dto.CourseNotificationRecipientDTO;\nimport de.tum.cit.aet.artemis.notification.dto.CourseNotificationSettingInfoDTO;\nimport de.tum.cit.aet.artemis.notification.dto.UserCourseNotificationSettingPresetEntryDTO;\nimport de.tum.cit.aet.artemis.notification.dto.UserCourseNotificationSettingSpecificationEntryDTO;\nimport de.tum.cit.aet.artemis.notification.repository.UserCourseNotificationSettingPresetRepository;\nimport de.tum.cit.aet.artemis.notification.repository.UserCourseNotificationSettingSpecificationRepository;\n\n/**\n * Service responsible for handling course notification settings and filtering recipients based on their preferences.\n * This class manages the application of notification preferences on a per-user, per-course basis.\n */\n@Profile(PROFILE_CORE)\n@Lazy\n@Service\npublic class CourseNotificationSettingService {\n\n /**\n * The preset id that means \"the user described their channels themselves\", so their specification rows apply.\n */\n private static final short CUSTOM_PRESET_ID = 0;\n\n /**\n * The preset a user is treated as being on when they have never chosen one.\n */\n private static final short DEFAULT_PRESET_ID = 1;\n\n private final CourseNotificationRegistryService courseNotificationRegistryService;\n\n private final UserCourseNotificationSettingSpecificationRepository userCourseNotificationSettingSpecificationRepository;\n\n private final UserCourseNotificationSettingPresetRepository userCourseNotificationSettingPresetRepository;\n\n private final CourseNotificationSettingPresetRegistryService courseNotificationSettingPresetRegistryService;\n\n public CourseNotificationSettingService(CourseNotificationRegistryService courseNotificationRegistryService,\n UserCourseNotificationSettingSpecificationRepository userCourseNotificationSettingSpecificationRepository,\n UserCourseNotificationSettingPresetRepository userCourseNotificationSettingPresetRepository,\n CourseNotificationSettingPresetRegistryService courseNotificationSettingPresetRegistryService) {\n this.courseNotificationRegistryService = courseNotificationRegistryService;\n this.userCourseNotificationSettingSpecificationRepository = userCourseNotificationSettingSpecificationRepository;\n this.userCourseNotificationSettingPresetRepository = userCourseNotificationSettingPresetRepository;\n this.courseNotificationSettingPresetRegistryService = courseNotificationSettingPresetRegistryService;\n }\n\n /**\n * Applies a notification setting preset to a user's course settings.\n *\n *

\n * This method changes the user's notification preferences for a specific course according to the selected preset.\n * If the selected preset ID is the same as the current one, no action is taken.\n *

\n *\n *

\n * When the preset ID is 0 (representing \"Custom\" settings), the method copies the current notification settings\n * as individual specifications to allow for future customization. For any other preset ID, existing custom\n * specifications are removed since they will be dynamically determined by the preset.\n *

\n *\n *

\n * A test account that has not chosen a preset yet (see {@link TestAccountEmailService}) is shown, and treated as being on, the\n * default preset without e-mail. Choosing a preset, including the default one, is what switches e-mail on for it, and\n * customizing starts from \"no e-mail\" instead of copying the e-mail of the default preset.\n *

\n *\n * @param selectedPresetId the ID of the notification preset to apply\n * @param userId the ID of the user whose settings are being updated\n * @param testUser whether the user is a test user\n * @param courseId the ID of the course for which notification settings are being updated\n */\n public void applyPreset(short selectedPresetId, long userId, boolean testUser, long courseId) {\n // The entity, not the cached preset value: this path writes the row back, so it needs its identity.\n var currentPresetEntity = userCourseNotificationSettingPresetRepository.findUserCourseNotificationSettingPresetByUserIdAndCourseId(userId, courseId);\n\n var course = new Course();\n course.setId(courseId);\n var user = new User(userId);\n\n boolean testAccountWithoutChoice = currentPresetEntity == null && testUser;\n if (currentPresetEntity == null) {\n currentPresetEntity = new UserCourseNotificationSettingPreset(user, course,\n courseNotificationSettingPresetRegistryService.getPresetId(DefaultUserCourseNotificationSettingPreset.class).shortValue());\n }\n\n if (Objects.equals(selectedPresetId, currentPresetEntity.getSettingPreset()) && !testAccountWithoutChoice) {\n return;\n }\n\n var currentPreset = courseNotificationSettingPresetRegistryService.getPresetById(currentPresetEntity.getSettingPreset());\n\n currentPresetEntity.setSettingPreset(selectedPresetId);\n userCourseNotificationSettingPresetRepository.save(currentPresetEntity);\n\n // Preset id 0 means \"Custom\" and we need to \"copy\" the settings from the current preset\n if (selectedPresetId == 0) {\n List specifications = new ArrayList<>();\n\n currentPreset.getPresetMap().forEach((key, value) -> {\n var notificationTypeId = courseNotificationRegistryService.getNotificationIdentifier(key);\n boolean email = !testAccountWithoutChoice && value.get(NotificationChannelOption.EMAIL);\n\n specifications.add(new UserCourseNotificationSettingSpecification(user, course, notificationTypeId, email, value.get(NotificationChannelOption.PUSH),\n value.get(NotificationChannelOption.WEBAPP), false));\n });\n\n userCourseNotificationSettingSpecificationRepository.saveAll(specifications);\n }\n else {\n var specifications = userCourseNotificationSettingSpecificationRepository.findAllEntitiesByUserIdAndCourseId(userId, courseId);\n\n userCourseNotificationSettingSpecificationRepository.deleteAll(specifications);\n }\n\n }\n\n /**\n * Applies notification specifications for a user in a specific course.\n *\n *

\n * This method first applies the default \"custom\" preset (id=0) for the user and course,\n * then creates or updates notification specifications for each specified notification type.\n * For new specifications, the notification channels are set based on the provided channel option.\n *

\n *\n * @param notificationTypeChannels A list of notification type IDs matched to a specific channel option\n * @param userId The ID of the user for whom the specification will be applied\n * @param testUser Whether the user is a test user\n * @param courseId The ID of the course for which the specification will be applied\n */\n public void applySpecification(Map> notificationTypeChannels, long userId, boolean testUser, long courseId) {\n // First we apply the \"custom\" setting preset\n applyPreset((short) 0, userId, testUser, courseId);\n\n var specifications = userCourseNotificationSettingSpecificationRepository.findAllByUserIdAndCourseIdAndCourseNotificationTypeIn(userId, courseId,\n notificationTypeChannels.keySet().stream().toList());\n var specificationEntities = new ArrayList();\n\n notificationTypeChannels.forEach((notificationTypeId, channel) -> {\n if (courseNotificationRegistryService.getNotificationClass(notificationTypeId) == null) {\n return;\n }\n\n var specificationOptional = specifications.stream().filter((spec) -> Objects.equals(spec.getCourseNotificationType(), notificationTypeId)).findFirst();\n UserCourseNotificationSettingSpecification specification;\n\n if (specificationOptional.isEmpty()) {\n var course = new Course();\n course.setId(courseId);\n var user = new User(userId);\n specification = new UserCourseNotificationSettingSpecification(user, course, notificationTypeId, channel.getOrDefault(NotificationChannelOption.EMAIL, false),\n channel.getOrDefault(NotificationChannelOption.PUSH, false), channel.getOrDefault(NotificationChannelOption.WEBAPP, false), false);\n }\n else {\n specification = specificationOptional.get();\n\n if (channel.get(NotificationChannelOption.EMAIL) != null) {\n specification.setEmail(channel.get(NotificationChannelOption.EMAIL));\n }\n\n if (channel.get(NotificationChannelOption.PUSH) != null) {\n specification.setPush(channel.get(NotificationChannelOption.PUSH));\n }\n\n if (channel.get(NotificationChannelOption.WEBAPP) != null) {\n specification.setWebapp(channel.get(NotificationChannelOption.WEBAPP));\n }\n }\n\n specificationEntities.add(specification);\n });\n\n userCourseNotificationSettingSpecificationRepository.saveAll(specificationEntities);\n }\n\n /**\n * Retrieves the notification setting information for a specific user in a specific course.\n *\n *

\n * This method fetches the user's current notification setting preset for the given course.\n * If no preset exists, it creates a default one using the DefaultUserCourseNotificationSettingPreset.\n * The method then transforms the notification settings from the preset into a map of\n * notification type identifiers to channel options.\n *

\n *\n *

\n * For custom presets (indicated by settingPreset == 0), the method applies any user-specific\n * notification setting overrides from the database.\n *

\n *\n *

\n * Where the user has not chosen anything, the settings shown are the ones that apply. For a test account (see\n * {@link TestAccountEmailService}) that is the default preset without e-mail, which no preset describes, so the account is\n * reported as having the custom preset (id 0) with exactly these channels until it chooses a preset or customizes.\n *

\n *\n * @param userId The ID of the user whose notification settings are being retrieved\n * @param testUser Whether the user is a test user\n * @param courseId The ID of the course for which to retrieve notification settings\n * @return A CourseNotificationSettingInfoDTO containing the preset ID and a map of\n * notification type identifiers to their channel configurations\n */\n public CourseNotificationSettingInfoDTO getSettingInfo(long userId, boolean testUser, long courseId) {\n short defaultPresetId = courseNotificationSettingPresetRegistryService.getPresetId(DefaultUserCourseNotificationSettingPreset.class).shortValue();\n Short selectedPreset = userCourseNotificationSettingPresetRepository.findSettingPresetByUserIdAndCourseId(userId, courseId);\n // A test account that chose nothing gets no e-mail from the default preset, so none of the presets describes what applies to it: it\n // is reported as \"Custom\" with the channels that apply. The client renders these channels for a custom preset, where it would\n // render the e-mail of the shared default preset for the default one, and customizing then starts from what is shown.\n boolean testAccountWithoutChoice = selectedPreset == null && testUser;\n short presetId = testAccountWithoutChoice ? CUSTOM_PRESET_ID : selectedPreset != null ? selectedPreset : defaultPresetId;\n // Preset id 0 means \"Custom\", which has no channels of its own: the defaults are the base the specifications\n // below are applied on top of.\n short presetToReadChannelsFrom = presetId == CUSTOM_PRESET_ID ? defaultPresetId : presetId;\n // Only the base that nobody chose is the default that a test account does not get e-mail from. A preset it chose is shown as it is.\n boolean withoutEmail = presetId == CUSTOM_PRESET_ID && testUser;\n\n var currentPreset = courseNotificationSettingPresetRegistryService.getPresetById(presetToReadChannelsFrom);\n\n Map> notificationTypeChannels = new HashMap<>();\n\n for (var entry : currentPreset.getPresetMap().entrySet()) {\n Map channels = entry.getValue();\n if (withoutEmail) {\n channels = new HashMap<>(channels);\n channels.put(NotificationChannelOption.EMAIL, false);\n }\n notificationTypeChannels.put(courseNotificationRegistryService.getNotificationIdentifier(entry.getKey()), channels);\n }\n\n if (presetId == CUSTOM_PRESET_ID && !testAccountWithoutChoice) {\n var specifications = userCourseNotificationSettingSpecificationRepository.findAllByUserIdAndCourseId(userId, courseId);\n\n // If custom is specified, we want to overwrite the settings that are present in the database. Note that not all may be present.\n specifications.forEach(specification -> notificationTypeChannels.put(specification.courseNotificationType(), Map.of(NotificationChannelOption.EMAIL,\n specification.email(), NotificationChannelOption.PUSH, specification.push(), NotificationChannelOption.WEBAPP, specification.webapp())));\n }\n\n return new CourseNotificationSettingInfoDTO(presetId, notificationTypeChannels);\n }\n\n /**\n * The notification settings of a set of recipients in one course, read in advance so that filtering them does not\n * have to query per user.\n *\n * @param presets the selected preset per user, absent for users who have none\n * @param specifications the specifications per user, only populated for users on a custom preset\n */\n protected record RecipientSettings(Map presets, Map> specifications) {\n }\n\n /**\n * Reads the notification settings of a whole set of recipients in one go.\n *

\n * Sending a notification filters its recipients once per delivery channel, and filtering used to ask for each\n * recipient's settings individually: a course-wide announcement to 3000 students across three channels issued 9000\n * lookups. This reads the cohort instead, so the cost is one query - two if anybody is on a custom preset, since\n * only those users have specifications worth reading.\n *\n * @param courseId the course the notification belongs to\n * @param recipients the users the notification may go to\n * @return their settings, for {@link #filterRecipientsBy} to apply\n */\n protected RecipientSettings loadSettingsFor(long courseId, List recipients) {\n Set userIds = recipients.stream().map(CourseNotificationRecipientDTO::id).filter(Objects::nonNull).collect(Collectors.toSet());\n if (userIds.isEmpty()) {\n return new RecipientSettings(Map.of(), Map.of());\n }\n\n Map presets = userCourseNotificationSettingPresetRepository.findSettingPresetsByUserIdsAndCourseId(userIds, courseId).stream()\n .collect(Collectors.toMap(UserCourseNotificationSettingPresetEntryDTO::userId, UserCourseNotificationSettingPresetEntryDTO::settingPreset));\n\n // Only a custom preset - the zero one - is described by specification rows, so nobody else needs reading.\n Set customPresetUserIds = presets.entrySet().stream().filter(entry -> entry.getValue() == CUSTOM_PRESET_ID).map(Map.Entry::getKey).collect(Collectors.toSet());\n if (customPresetUserIds.isEmpty()) {\n return new RecipientSettings(presets, Map.of());\n }\n\n Map> specifications = userCourseNotificationSettingSpecificationRepository\n .findAllByUserIdsAndCourseId(customPresetUserIds, courseId).stream().collect(Collectors.groupingBy(UserCourseNotificationSettingSpecificationEntryDTO::userId));\n\n return new RecipientSettings(presets, specifications);\n }\n\n /**\n * Private helper method that performs the actual filtering of recipients based on notification type.\n * This method checks user presets first. If a user has custom settings (preset 0), it looks up their\n * specific notification preferences. Otherwise, it uses the preset registry.\n *\n * @param notification The course notification to be sent\n * @param recipients List of potential recipients\n * @param filterFor The notification channel to filter for (WEBAPP, PUSH, or EMAIL)\n * @param settings The recipients' settings, read once by {@link #loadSettingsFor}\n * @return Filtered list of users who have enabled notifications for the specified channel\n */\n protected List filterRecipientsBy(CourseNotification notification, List recipients,\n NotificationChannelOption filterFor, RecipientSettings settings) {\n Short notificationType = this.courseNotificationRegistryService.getNotificationIdentifier(notification.getClass());\n return recipients.stream().filter(recipient -> {\n Short preset = settings.presets().get(recipient.id());\n\n if (preset == null) {\n // Run query on default preset if none are present\n return isEnabledByDefault(recipient, notification, filterFor);\n }\n else if (preset == CUSTOM_PRESET_ID) {\n var specification = settings.specifications().getOrDefault(recipient.id(), List.of()).stream()\n .filter(spec -> Objects.equals(spec.courseNotificationType(), notificationType)).findFirst();\n\n return specification.map(switch (filterFor) {\n case WEBAPP -> UserCourseNotificationSettingSpecificationEntryDTO::webapp;\n case PUSH -> UserCourseNotificationSettingSpecificationEntryDTO::push;\n case EMAIL -> UserCourseNotificationSettingSpecificationEntryDTO::email;\n // Custom presets created before a notification type was introduced have no specification row for it.\n // Fall back to the default preset value instead of silently disabling delivery for those users.\n }).orElseGet(() -> isEnabledByDefault(recipient, notification, filterFor));\n }\n else {\n return this.courseNotificationSettingPresetRegistryService.isPresetSettingEnabled(preset, notification.getClass(), filterFor);\n }\n }).toList();\n }\n\n /**\n * Whether the default preset delivers the notification on the channel to a user who did not choose a setting for it. A test\n * user (see {@link TestAccountEmailService}) gets no e-mail from what nobody configured; its other channels keep the default.\n */\n private boolean isEnabledByDefault(CourseNotificationRecipientDTO recipient, CourseNotification notification, NotificationChannelOption channel) {\n if (channel == NotificationChannelOption.EMAIL && recipient.testUser()) {\n return false;\n }\n return courseNotificationSettingPresetRegistryService.isPresetSettingEnabled(DEFAULT_PRESET_ID, notification.getClass(), channel);\n }\n\n /**\n * Deletes all presets and specifications for a given user id.\n *\n * @param userId the user to delete for.\n */\n public void deleteAllForUser(long userId) {\n var presets = userCourseNotificationSettingPresetRepository.findAllByUserId(userId);\n var specifications = userCourseNotificationSettingSpecificationRepository.findAllByUserId(userId);\n\n userCourseNotificationSettingPresetRepository.deleteAll(presets);\n userCourseNotificationSettingSpecificationRepository.deleteAll(specifications);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/64670529422681993a67319c85f4356618cfc389.json b/web/public/bundles/artemis/code/64670529422681993a67319c85f4356618cfc389.json new file mode 100644 index 00000000..85b5af1c --- /dev/null +++ b/web/public/bundles/artemis/code/64670529422681993a67319c85f4356618cfc389.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "64670529422681993a67319c85f4356618cfc389", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/text/dto/ComplaintResponseRequestDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.text.dto;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.assessment.dto.ComplaintResponseInputDTO;\n\n/**\n * Input DTO mirroring the {@code ComplaintResponse} wire shape the client sends when updating a text assessment after a\n * complaint. Only the fields the server needs are captured (the lock id, the response text and the complaint resolution\n * decision); the controller reconstructs a transient {@code ComplaintResponse} from these for the shared\n * assessment-update logic.\n *\n * @param id the id of the (locked) complaint response\n * @param responseText the tutor's response text\n * @param complaint the complaint carrying the accept/reject decision\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record ComplaintResponseRequestDTO(Long id, String responseText, ComplaintRequestDTO complaint) implements ComplaintResponseInputDTO {\n\n /**\n * The nested complaint shape carrying the resolution decision.\n *\n * @param id the complaint id\n * @param accepted whether the complaint was accepted\n */\n @JsonInclude(JsonInclude.Include.NON_EMPTY)\n public record ComplaintRequestDTO(Long id, Boolean accepted) implements ComplaintInputDTO {\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/658ecc49e852222a23773b9ed90cb6d39578e1b9.json b/web/public/bundles/artemis/code/658ecc49e852222a23773b9ed90cb6d39578e1b9.json new file mode 100644 index 00000000..94763a9f --- /dev/null +++ b/web/public/bundles/artemis/code/658ecc49e852222a23773b9ed90cb6d39578e1b9.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "658ecc49e852222a23773b9ed90cb6d39578e1b9", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/IrisAccessContextService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.iris.service;\n\nimport java.time.ZonedDateTime;\nimport java.util.ArrayList;\nimport java.util.List;\n\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.core.service.AuthorizationCheckService;\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.course.repository.CourseRepository;\nimport de.tum.cit.aet.artemis.iris.config.IrisEnabled;\nimport de.tum.cit.aet.artemis.iris.service.pyris.dto.search.PyrisAccessContextDTO;\n\n/**\n * Resolves the {@link PyrisAccessContextDTO} for a user: the course IDs they can access, grouped by role, so Pyris can apply them as opaque access filters during global search.\n *

\n * An administrator receives a present context with {@code unrestricted = true} (Pyris skips course scoping and visibility filtering for them) instead of a {@code null} context,\n * which now means \"apply the safe-default visibility filter\". Everyone else receives their role-grouped course IDs with {@code unrestricted = false}.\n */\n@Lazy\n@Service\n@Conditional(IrisEnabled.class)\npublic class IrisAccessContextService {\n\n private final CourseRepository courseRepository;\n\n private final AuthorizationCheckService authCheckService;\n\n public IrisAccessContextService(CourseRepository courseRepository, AuthorizationCheckService authCheckService) {\n this.courseRepository = courseRepository;\n this.authCheckService = authCheckService;\n }\n\n /**\n * Resolves the courses the given user can access, grouped by role, into an access context for Pyris.\n *\n * @param user the requesting user (loaded with authorities, see {@code UserRepository#getUserWithAuthorities})\n * @return an access context with role-based course ID sets; an elevated administrator gets a present context with {@code unrestricted = true}\n */\n public PyrisAccessContextDTO resolveAccessContext(User user) {\n // Request-bound elevation rather than account classification: an unrestricted context lets Pyris search every\n // course, which is the global administrator override, and an administrator only holds that while their request\n // satisfies the configured passkey requirement. Every caller passes the current user, so this decides for them.\n if (authCheckService.isCurrentUserAdminAccessEnabled()) {\n // Present context with unrestricted=true (NOT null; a null context now means the safe-default filter).\n return new PyrisAccessContextDTO(List.of(), List.of(), List.of(), List.of(), List.of(), ZonedDateTime.now(), true);\n }\n var courses = courseRepository.findAllAccessibleCoursesForUser(user.getId(), false);\n var editorIds = new ArrayList();\n var taIds = new ArrayList();\n var studentIds = new ArrayList();\n for (Course course : courses) {\n if (authCheckService.isAtLeastEditorInCourse(course, user)) {\n editorIds.add(course.getId());\n }\n else if (authCheckService.isAtLeastTeachingAssistantInCourse(course, user)) {\n taIds.add(course.getId());\n }\n else {\n studentIds.add(course.getId());\n }\n }\n var staffIds = new ArrayList(editorIds.size() + taIds.size());\n staffIds.addAll(editorIds);\n staffIds.addAll(taIds);\n var allIds = courses.stream().map(Course::getId).toList();\n return new PyrisAccessContextDTO(allIds, editorIds, taIds, studentIds, staffIds, ZonedDateTime.now(), false);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/65a6f85ed30db8543bd0e151d452801cd8cfe4a8.json b/web/public/bundles/artemis/code/65a6f85ed30db8543bd0e151d452801cd8cfe4a8.json new file mode 100644 index 00000000..5bf905fc --- /dev/null +++ b/web/public/bundles/artemis/code/65a6f85ed30db8543bd0e151d452801cd8cfe4a8.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "65a6f85ed30db8543bd0e151d452801cd8cfe4a8", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/config/OneToOneChatCreationDeserializer.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.communication.config;\n\nimport tools.jackson.core.JsonParser;\nimport tools.jackson.core.JsonToken;\nimport tools.jackson.databind.DeserializationContext;\nimport tools.jackson.databind.ValueDeserializer;\n\nimport de.tum.cit.aet.artemis.communication.dto.OneToOneChatCreationDTO;\nimport de.tum.cit.aet.artemis.core.config.StrictLongDeserializer;\nimport de.tum.cit.aet.artemis.core.config.StrictStringDeserializer;\n\n/** Reads object requests and legacy single-login arrays, preserving strict integer-id validation. */\npublic class OneToOneChatCreationDeserializer extends ValueDeserializer {\n\n private static final StrictLongDeserializer STRICT_LONG = new StrictLongDeserializer();\n\n private static final StrictStringDeserializer STRICT_STRING = new StrictStringDeserializer();\n\n @Override\n public OneToOneChatCreationDTO deserialize(JsonParser parser, DeserializationContext context) {\n if (parser.isExpectedStartArrayToken()) {\n if (parser.nextToken() != JsonToken.VALUE_STRING) {\n return context.reportInputMismatch(OneToOneChatCreationDTO.class, \"A one-to-one chat must specify exactly one partner login\");\n }\n String login = parser.getString();\n if (parser.nextToken() != JsonToken.END_ARRAY) {\n return context.reportInputMismatch(OneToOneChatCreationDTO.class, \"A one-to-one chat must specify exactly one partner login\");\n }\n return new OneToOneChatCreationDTO(null, login);\n }\n if (!parser.isExpectedStartObjectToken()) {\n return context.reportInputMismatch(OneToOneChatCreationDTO.class, \"Expected a one-to-one chat object or an array with one login\");\n }\n Long userId = null;\n String login = null;\n while (parser.nextToken() != JsonToken.END_OBJECT) {\n String field = parser.currentName();\n parser.nextToken();\n switch (field) {\n case \"userId\" -> userId = parser.currentToken() == JsonToken.VALUE_NULL ? null : STRICT_LONG.deserialize(parser, context);\n case \"login\" -> login = parser.currentToken() == JsonToken.VALUE_NULL ? null : STRICT_STRING.deserialize(parser, context);\n default -> parser.skipChildren();\n }\n }\n return new OneToOneChatCreationDTO(userId, login);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/65db0b0958b5af06f1f692697fa9654ade80a639.json b/web/public/bundles/artemis/code/65db0b0958b5af06f1f692697fa9654ade80a639.json new file mode 100644 index 00000000..5aa9a99c --- /dev/null +++ b/web/public/bundles/artemis/code/65db0b0958b5af06f1f692697fa9654ade80a639.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "65db0b0958b5af06f1f692697fa9654ade80a639", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportScienceEventService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.admin.service.export;\n\nimport static de.tum.cit.aet.artemis.admin.service.export.DataExportExerciseCreationService.CSV_FILE_EXTENSION;\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\n\nimport java.io.IOException;\nimport java.nio.file.Files;\nimport java.nio.file.Path;\nimport java.util.Optional;\nimport java.util.Set;\n\nimport org.apache.commons.csv.CSVFormat;\nimport org.apache.commons.csv.CSVPrinter;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.atlas.api.ScienceEventApi;\nimport de.tum.cit.aet.artemis.atlas.config.AtlasNotPresentException;\nimport de.tum.cit.aet.artemis.atlas.domain.science.ScienceEvent;\n\n/**\n * A Service to create the science event export data for users.\n * This includes the timestamps for every lecture, lecture unit and exercise opened.\n * All science event data is exported into a single CSV file.\n */\n@Profile(PROFILE_CORE)\n@Lazy\n@Service\npublic class DataExportScienceEventService {\n\n private final Optional scienceEventApi;\n\n public DataExportScienceEventService(Optional scienceEventApi) {\n this.scienceEventApi = scienceEventApi;\n }\n\n /**\n * Creates the science event data export containing timestamps for every lecture, lecture unit and exercise opened.\n *\n * @param login the login of the user for which the science event data should be exported\n * @param workingDirectory the directory where the export file should be created\n * @throws IOException if the file cannot be created\n */\n public void createScienceEventExport(String login, Path workingDirectory) throws IOException {\n var api = scienceEventApi.orElseThrow(() -> new AtlasNotPresentException(ScienceEventApi.class));\n var scienceEvents = api.findAllByIdentity(login);\n createScienceEventExportFile(workingDirectory, scienceEvents);\n }\n\n /**\n * Creates a CSV file containing the science event data from a given set of science events.\n *\n * @param workingDirectory the directory where the export file should be created\n * @param scienceEvents the set of science events to be exported\n * @throws IOException if the file cannot be created\n */\n private void createScienceEventExportFile(Path workingDirectory, Set scienceEvents) throws IOException {\n\n if (scienceEvents == null || scienceEvents.isEmpty()) {\n return;\n }\n\n String[] header = { \"timestamp\", \"event_type\", \"course_id\", \"resource_id\" };\n CSVFormat csvFormat = CSVFormat.DEFAULT.builder().setHeader(header).get();\n\n try (final CSVPrinter printer = new CSVPrinter(Files.newBufferedWriter(workingDirectory.resolve(\"science_events\" + CSV_FILE_EXTENSION)), csvFormat)) {\n for (var scienceEvent : scienceEvents) {\n printer.printRecord(scienceEvent.getTimestamp(), scienceEvent.getType(), scienceEvent.getCourseId(), scienceEvent.getResourceId());\n }\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/65fabcfcf412208aa77cce4e4496a30fe11edafa.json b/web/public/bundles/artemis/code/65fabcfcf412208aa77cce4e4496a30fe11edafa.json new file mode 100644 index 00000000..c3a321c7 --- /dev/null +++ b/web/public/bundles/artemis/code/65fabcfcf412208aa77cce4e4496a30fe11edafa.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "65fabcfcf412208aa77cce4e4496a30fe11edafa", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/deimos/service/DefaultDeimosLlmClient.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.deimos.service;\n\nimport java.io.IOException;\nimport java.net.SocketTimeoutException;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.IdentityHashMap;\nimport java.util.LinkedHashSet;\nimport java.util.List;\nimport java.util.Locale;\nimport java.util.Optional;\nimport java.util.OptionalInt;\nimport java.util.Set;\nimport java.util.concurrent.TimeoutException;\nimport java.util.regex.Matcher;\nimport java.util.regex.Pattern;\nimport java.util.stream.Collectors;\nimport java.util.stream.Stream;\n\nimport org.jspecify.annotations.Nullable;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.ai.chat.client.ChatClient;\nimport org.springframework.ai.chat.metadata.FinishReasonCategory;\nimport org.springframework.ai.chat.model.ChatResponse;\nimport org.springframework.ai.chat.model.Generation;\nimport org.springframework.beans.factory.annotation.Value;\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.http.HttpStatus;\nimport org.springframework.stereotype.Service;\n\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\nimport com.openai.errors.OpenAIServiceException;\n\nimport tools.jackson.core.StreamReadFeature;\nimport tools.jackson.databind.DeserializationFeature;\nimport tools.jackson.databind.ObjectMapper;\nimport tools.jackson.databind.cfg.CoercionAction;\nimport tools.jackson.databind.cfg.CoercionInputShape;\nimport tools.jackson.databind.json.JsonMapper;\nimport tools.jackson.databind.type.LogicalType;\n\nimport de.tum.cit.aet.artemis.core.service.llm.LlmClientService;\nimport de.tum.cit.aet.artemis.deimos.config.DeimosEnabled;\nimport de.tum.cit.aet.artemis.deimos.config.DeimosLlmConfiguration;\nimport de.tum.cit.aet.artemis.deimos.dto.DeimosFailureType;\nimport de.tum.cit.aet.artemis.deimos.dto.DeimosLlmRequest;\nimport de.tum.cit.aet.artemis.deimos.dto.DeimosLlmResponse;\nimport de.tum.cit.aet.artemis.deimos.exception.DeimosLlmException;\n\n/**\n * Calls the {@link ChatClient} of the Deimos LLM preset and turns its answer into a {@link DeimosLlmResponse}.\n *

\n * The raw assistant text is parsed here rather than through Spring AI's {@code responseEntity(...)} converter. Reasoning\n * models routinely wrap their answer in a preamble or a fenced block, and the strict converter throws on anything that\n * is not bare JSON, which turns a cosmetic formatting difference into a failed participation. Parsing the text directly\n * lets those responses be recovered while still rejecting genuinely unusable ones.\n *

\n * No retry is implemented here. Transport retries are configured once via {@code max-retries} of the preset or its\n * endpoint and performed by the OpenAI SDK; layering a second retry on top would multiply attempts and stall a large\n * batch.\n */\n@Conditional(DeimosEnabled.class)\n@Lazy\n@Service\npublic class DefaultDeimosLlmClient implements DeimosLlmClient {\n\n private static final Logger log = LoggerFactory.getLogger(DefaultDeimosLlmClient.class);\n\n private static final Pattern FENCED_BLOCK_PATTERN = Pattern.compile(\"```(?:json)?\\\\s*+(.*?)```\", Pattern.DOTALL | Pattern.CASE_INSENSITIVE);\n\n private static final String MALICIOUS_FIELD = \"malicious\";\n\n /**\n * How often an opening brace that is never closed is treated as prose and the text after it scanned again. Each\n * recovery is one linear pass, so this bounds the work a response full of unmatched braces can cause.\n */\n private static final int MAX_UNMATCHED_BRACE_RECOVERIES = 8;\n\n /**\n * A classification stated anywhere in the response, also where no object can be recovered: prose with an unmatched\n * brace or quote derails the balanced-object scan, and must not hide a later contradicting verdict. Each character of\n * the key may be written literally or as a JSON Unicode escape.\n */\n private static final Pattern CLASSIFICATION_PATTERN = Pattern\n .compile(\"\\\"\" + MALICIOUS_FIELD.chars().mapToObj(character -> \"(?:%c|\\\\\\\\u(?i:%04x))\".formatted(character, character)).collect(Collectors.joining())\n + \"\\\"\\\\s*+:\\\\s*+(true|false)\\\\b\");\n\n private static final String CREDENTIALS_REJECTED_MESSAGE = \"LLM endpoint rejected the credentials (HTTP %d): API key missing or wrong, or not authorised for this endpoint or model\";\n\n /**\n * Upper bound on the causes inspected when classifying a failure. Real chains are a handful of wrappers deep.\n */\n private static final int MAX_CAUSE_DEPTH = 32;\n\n // Trailing tokens are rejected so a response containing an early guess followed by a corrected verdict is not\n // silently resolved to the first object; such a response falls through to the fenced and balanced candidates.\n // Nothing is coerced: \"true\", 1 or an empty string in place of the classification, or a number or boolean in place\n // of the rationale, is not a verdict the model actually gave.\n // A repeated key is rejected as well, even with the same shape: an object stating its rationale twice is no\n // unambiguous answer, and binding would silently keep only one of them.\n private static final ObjectMapper OBJECT_MAPPER = JsonMapper.builder().enable(StreamReadFeature.STRICT_DUPLICATE_DETECTION)\n .enable(DeserializationFeature.FAIL_ON_TRAILING_TOKENS)\n .withCoercionConfig(LogicalType.Boolean,\n config -> config.setCoercion(CoercionInputShape.String, CoercionAction.Fail).setCoercion(CoercionInputShape.EmptyString, CoercionAction.Fail)\n .setCoercion(CoercionInputShape.Integer, CoercionAction.Fail).setCoercion(CoercionInputShape.Float, CoercionAction.Fail))\n .withCoercionConfig(LogicalType.Textual, config -> config.setCoercion(CoercionInputShape.Integer, CoercionAction.Fail)\n .setCoercion(CoercionInputShape.Float, CoercionAction.Fail).setCoercion(CoercionInputShape.Boolean, CoercionAction.Fail))\n .build();\n\n private final ChatClient chatClient;\n\n public DefaultDeimosLlmClient(LlmClientService llmClientService, @Value(\"${\" + DeimosLlmConfiguration.KEY + \"}\") String preset) {\n this.chatClient = llmClientService.chatClient(preset.strip());\n }\n\n @Override\n public DeimosLlmResponse analyze(DeimosLlmRequest request) {\n ChatResponse chatResponse;\n try {\n chatResponse = chatClient.prompt().system(request.systemPrompt()).user(request.userPrompt()).call().chatResponse();\n }\n catch (Exception ex) {\n OptionalInt rejectedStatus = credentialRejectionStatus(ex);\n if (rejectedStatus.isPresent()) {\n // Fixed text and no cause: the SDK exception can carry the rejected request, and a cause attached here\n // would be printed in full wherever this exception is logged.\n throw new DeimosLlmException(DeimosFailureType.LLM_AUTHENTICATION_FAILED, String.format(Locale.ROOT, CREDENTIALS_REJECTED_MESSAGE, rejectedStatus.getAsInt()));\n }\n throw new DeimosLlmException(classifyCallFailure(ex), \"LLM call failed for participation \" + request.participationId() + \": \" + ex.getMessage(), ex);\n }\n\n Generation generation = chatResponse != null ? chatResponse.getResult() : null;\n // A verdict object can be complete although the provider stopped generating at the output limit, and the text cut\n // off after it could have revised the classification. Such a response is not a finished answer.\n if (generation != null && generation.getMetadata().getFinishReasonCategory() == FinishReasonCategory.TRUNCATED) {\n throw new DeimosLlmException(DeimosFailureType.LLM_UNPARSEABLE, \"LLM response for participation \" + request.participationId() + \" was cut off at the output limit\");\n }\n String content = generation != null ? generation.getOutput().getText() : null;\n if (content == null || content.isBlank()) {\n throw new DeimosLlmException(DeimosFailureType.LLM_UNPARSEABLE, \"LLM returned an empty response for participation \" + request.participationId());\n }\n\n return parseVerdict(content).orElseThrow(() -> new DeimosLlmException(DeimosFailureType.LLM_UNPARSEABLE,\n \"LLM response for participation \" + request.participationId() + \" contained no valid verdict object\"));\n }\n\n /**\n * Extracts the verdict from a raw assistant response.\n *

\n * Candidates are grouped into tiers of decreasing confidence: the whole trimmed response, then the contents of any\n * fenced block, then any balanced JSON object found in the text. The first tier that yields a verdict decides, so a\n * model may refine its rationale inside a fence. Fences are not stripped indiscriminately, because the required JSON\n * is frequently the fenced content itself.\n *

\n * Within a tier, identical verdicts are collapsed, since the same object is usually recovered by more than one\n * candidate. Two differing verdicts in the same tier are rejected instead of resolved by position: nothing\n * in a bare sequence of objects says which one is the final answer, and taking the first would report a malicious\n * participation as benign. Verdicts with differing classifications are rejected across tiers as well, because a\n * fence does not mark the final answer either: a fenced object may be a quoted example followed by the actual\n * answer. Classifications stated outside a recoverable object count as well. The response is then counted as\n * {@code LLM_UNPARSEABLE} and can be re-run, rather than silently resolved in the dangerous direction. So is a\n * response whose balanced objects could not all be found, since a differing verdict could hide among the rest.\n *\n * @param content the raw assistant response\n * @return the parsed verdict, or empty if no tier yielded exactly one valid verdict or the classifications differ\n */\n static Optional parseVerdict(String content) {\n List balancedObjects = balancedJsonObjects(content);\n if (balancedObjects == null) {\n log.warn(\"LLM response contained more than {} unmatched opening braces, rejecting it as unparseable\", MAX_UNMATCHED_BRACE_RECOVERIES);\n return Optional.empty();\n }\n List> verdictsPerTier = new ArrayList<>();\n for (List tier : candidateTiers(content, balancedObjects)) {\n var distinctVerdicts = new LinkedHashSet();\n for (String candidate : tier) {\n tryParse(candidate).ifPresent(distinctVerdicts::add);\n }\n verdictsPerTier.add(distinctVerdicts);\n }\n Stream parsedClassifications = verdictsPerTier.stream().flatMap(Set::stream).map(DeimosLlmResponse::malicious);\n Stream statedClassifications = CLASSIFICATION_PATTERN.matcher(content).results().map(match -> Boolean.parseBoolean(match.group(1)));\n if (Stream.concat(parsedClassifications, statedClassifications).distinct().count() > 1) {\n log.warn(\"LLM response contained verdicts with differing classifications, rejecting it as ambiguous\");\n return Optional.empty();\n }\n for (Set distinctVerdicts : verdictsPerTier) {\n if (distinctVerdicts.size() == 1) {\n return Optional.of(distinctVerdicts.iterator().next());\n }\n if (distinctVerdicts.size() > 1) {\n log.warn(\"LLM response contained {} differing verdicts at the same confidence level, rejecting it as ambiguous\", distinctVerdicts.size());\n return Optional.empty();\n }\n }\n return Optional.empty();\n }\n\n private static List> candidateTiers(String content, List balancedObjects) {\n List fencedBlocks = new ArrayList<>();\n Matcher fencedMatcher = FENCED_BLOCK_PATTERN.matcher(content);\n while (fencedMatcher.find()) {\n fencedBlocks.add(fencedMatcher.group(1).strip());\n }\n\n return List.of(List.of(content.strip()), fencedBlocks, balancedObjects);\n }\n\n /**\n * Finds balanced top-level JSON objects in arbitrary text.\n *

\n * String- and escape-aware: braces inside a string value (a rationale quoting the student's code, for instance)\n * must not change the nesting depth, otherwise the scanner would cut the object short. Quotes only delimit strings\n * inside an object, so a stray quote in the prose around it cannot swallow the rest of the text.\n *

\n * An opening brace that is never closed is prose as well, for example in a sentence before the answer. Its object is\n * dropped and the text after the brace is scanned again, keeping the objects found before it, so a later verdict is\n * still found.\n *\n * @param text the text to scan\n * @return every balanced top-level object found, in order of appearance, or {@code null} if the text contains more\n * than {@link #MAX_UNMATCHED_BRACE_RECOVERIES} unmatched opening braces, so not all objects could be found\n */\n private static @Nullable List balancedJsonObjects(String text) {\n List objects = new ArrayList<>();\n int from = 0;\n for (int recoveries = 0; recoveries <= MAX_UNMATCHED_BRACE_RECOVERIES; recoveries++) {\n int unmatchedBrace = collectBalancedJsonObjects(text, from, objects);\n if (unmatchedBrace < 0) {\n return objects;\n }\n from = unmatchedBrace + 1;\n }\n return null;\n }\n\n /**\n * Scans the text from the given index once, adding every balanced top-level object to {@code objects}.\n *\n * @param text the text to scan\n * @param from the index to start at\n * @param objects receives the balanced objects, in order of appearance\n * @return the index of the opening brace of an object that is never closed, or {@code -1} if there is none\n */\n private static int collectBalancedJsonObjects(String text, int from, List objects) {\n int depth = 0;\n int start = -1;\n int i = from;\n while (i < text.length()) {\n char currentChar = text.charAt(i);\n if (currentChar == '\"' && depth > 0) {\n i = endOfString(text, i);\n }\n else if (currentChar == '{') {\n if (depth == 0) {\n start = i;\n }\n depth++;\n }\n else if (currentChar == '}' && depth > 0) {\n depth--;\n if (depth == 0) {\n objects.add(text.substring(start, i + 1));\n }\n }\n i++;\n }\n return depth > 0 ? start : -1;\n }\n\n /**\n * Finds the quote closing a JSON string, skipping escaped characters.\n *\n * @param text the text to scan\n * @param openingQuote the index of the opening quote\n * @return the index of the closing quote, or the length of the text if the string is never closed\n */\n private static int endOfString(String text, int openingQuote) {\n int i = openingQuote + 1;\n while (i < text.length()) {\n char currentChar = text.charAt(i);\n if (currentChar == '\"') {\n return i;\n }\n // A backslash escapes the character after it, which therefore cannot close the string.\n i += currentChar == '\\\\' ? 2 : 1;\n }\n return text.length();\n }\n\n /**\n * Parses one candidate, requiring both fields to be present and correctly typed.\n *

\n * Deliberately does not bind straight onto the {@code boolean} component of {@link DeimosLlmResponse}: a response\n * missing {@code malicious} would silently deserialise to {@code false}, i.e. a security tool would report \"benign\"\n * for an answer it never actually understood. {@link VerdictCandidate} keeps a missing field recognisable. A missing\n * or blank {@code rationale} is rejected for the same reason: the rationale is the only thing an instructor can\n * review, and a verdict without one is not usable evidence. A field stated twice is rejected, whatever its shapes:\n * binding would keep only one occurrence, so such an object is not an unambiguous answer.\n *\n * @param candidate the candidate text\n * @return the verdict, or empty if the candidate is not a valid verdict object\n */\n private static Optional tryParse(String candidate) {\n if (candidate.isBlank()) {\n return Optional.empty();\n }\n try {\n VerdictCandidate verdict = OBJECT_MAPPER.readValue(candidate, VerdictCandidate.class);\n if (verdict == null || verdict.malicious() == null || verdict.rationale() == null || verdict.rationale().isBlank()) {\n return Optional.empty();\n }\n return Optional.of(new DeimosLlmResponse(verdict.malicious(), verdict.rationale()));\n }\n catch (Exception ex) {\n log.debug(\"Deimos verdict candidate could not be parsed as JSON\", ex);\n return Optional.empty();\n }\n }\n\n /**\n * The two fields of a verdict as the model wrote them, boxed so that a missing field stays {@code null} instead of\n * turning into {@code false}. Any other field is ignored.\n *\n * @param malicious the classification, or {@code null} if absent\n * @param rationale the rationale, or {@code null} if absent\n */\n @JsonIgnoreProperties(ignoreUnknown = true)\n private record VerdictCandidate(@Nullable Boolean malicious, @Nullable String rationale) {\n }\n\n /**\n * Finds an HTTP 401 or 403 answer of the LLM endpoint anywhere in the cause chain.\n *

\n * Checked over the whole chain before any of the heuristics in {@link #classifyCallFailure}, so a wrapper whose\n * message happens to mention a timeout, or an outer {@link IOException}, cannot hide that the credentials were\n * rejected.\n *\n * @param exception the exception thrown by the chat client\n * @return the rejecting HTTP status, or empty if the credentials were not rejected\n */\n static OptionalInt credentialRejectionStatus(Throwable exception) {\n for (Throwable current : causeChain(exception)) {\n if (current instanceof OpenAIServiceException serviceException) {\n int status = serviceException.statusCode();\n if (status == HttpStatus.UNAUTHORIZED.value() || status == HttpStatus.FORBIDDEN.value()) {\n return OptionalInt.of(status);\n }\n }\n }\n return OptionalInt.empty();\n }\n\n /**\n * Returns the cause chain of an exception, bounded in length and stopping at the first repeated element, so a cyclic\n * chain cannot loop forever.\n *\n * @param exception the outermost exception\n * @return the exception followed by its causes\n */\n private static List causeChain(Throwable exception) {\n List chain = new ArrayList<>();\n Set visited = Collections.newSetFromMap(new IdentityHashMap<>());\n for (Throwable current = exception; current != null && chain.size() < MAX_CAUSE_DEPTH && visited.add(current); current = current.getCause()) {\n chain.add(current);\n }\n return chain;\n }\n\n /**\n * Maps a failure surviving the SDK's transport retries onto a reportable failure type.\n *\n * @param exception the exception thrown by the chat client\n * @return the matching failure type\n */\n private static DeimosFailureType classifyCallFailure(Exception exception) {\n for (Throwable current : causeChain(exception)) {\n if (current instanceof SocketTimeoutException || current instanceof TimeoutException) {\n return DeimosFailureType.LLM_TIMEOUT;\n }\n DeimosFailureType classifiedByMessage = classifyByMessage(current.getMessage());\n if (classifiedByMessage != null) {\n return classifiedByMessage;\n }\n if (current instanceof IOException) {\n return DeimosFailureType.LLM_ERROR;\n }\n }\n return DeimosFailureType.LLM_ERROR;\n }\n\n private static @Nullable DeimosFailureType classifyByMessage(@Nullable String message) {\n if (message == null) {\n return null;\n }\n String lowerCaseMessage = message.toLowerCase(Locale.ROOT);\n if (lowerCaseMessage.contains(\"429\") || lowerCaseMessage.contains(\"rate limit\") || lowerCaseMessage.contains(\"too many requests\")) {\n return DeimosFailureType.LLM_RATE_LIMITED;\n }\n if (lowerCaseMessage.contains(\"timeout\") || lowerCaseMessage.contains(\"timed out\")) {\n return DeimosFailureType.LLM_TIMEOUT;\n }\n return null;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/660935332b4f5b0fce29119f024fb959fe31f9e1.json b/web/public/bundles/artemis/code/660935332b4f5b0fce29119f024fb959fe31f9e1.json new file mode 100644 index 00000000..bd8c7199 --- /dev/null +++ b/web/public/bundles/artemis/code/660935332b4f5b0fce29119f024fb959fe31f9e1.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "660935332b4f5b0fce29119f024fb959fe31f9e1", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionExerciseMetadataParser.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.hyperion.service;\n\nimport java.util.Locale;\nimport java.util.regex.Matcher;\nimport java.util.regex.Pattern;\n\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport tools.jackson.core.JsonParser;\nimport tools.jackson.core.JsonToken;\nimport tools.jackson.databind.DeserializationContext;\nimport tools.jackson.databind.ValueDeserializer;\nimport tools.jackson.databind.annotation.JsonDeserialize;\nimport tools.jackson.databind.json.JsonMapper;\n\nimport de.tum.cit.aet.artemis.core.util.JsonObjectMapper;\nimport de.tum.cit.aet.artemis.exercise.domain.DifficultyLevel;\n\n/**\n * Reads the two things a model is asked for — a title and a difficulty — out of whatever it actually answered.\n *

\n * The prompt asks for one small JSON object, and most answers are one. The rest are the usual: a fenced code block, a sentence before the object, or plain prose with no object at\n * all. None of those may cost the instructor their suggestion, so parsing is layered: the JSON object if there is one, the first line if there is not, and the difficulty read\n * from whichever text is available. Anything unrecognised leaves {@link DifficultyLevel#MEDIUM}, which is the difficulty the dialog used to default to silently.\n */\nfinal class HyperionExerciseMetadataParser {\n\n private static final JsonMapper MAPPER = JsonObjectMapper.get();\n\n /** Matches the difficulty wherever it is stated, in a JSON value ({@code \"EASY\"}) as well as in prose ({@code \"Difficulty: easy.\"}). */\n private static final Pattern DIFFICULTY_WORD = Pattern.compile(\"\\\\b(easy|medium|hard)\\\\b\", Pattern.CASE_INSENSITIVE);\n\n /**\n * An explicit statement of difficulty in an instructor's brief, in either order: \"Difficulty: easy\" and \"an easy difficulty\" both count, \"easy to test\" does not, because the\n * word has to be tied to the noun to be a statement about the exercise rather than about something in it.\n */\n private static final Pattern DIFFICULTY_IN_BRIEF = Pattern.compile(\"difficulty\\\\s*+(?:level)?\\\\s*+[:=-]?\\\\s*+(easy|medium|hard)|\\\\b(easy|medium|hard)\\\\s++difficulty\",\n Pattern.CASE_INSENSITIVE);\n\n private static final Pattern CODE_FENCE = Pattern.compile(\"(?:^```[a-zA-Z]*)|(?:```$)\");\n\n private HyperionExerciseMetadataParser() {\n }\n\n /**\n * What the model said, before any of it is checked against what Artemis accepts.\n *\n * @param title the raw title text, empty when the answer carried none\n * @param difficulty the difficulty the answer stated, null when it stated none this parser recognises\n */\n record ModelAnswer(String title, @Nullable DifficultyLevel difficulty) {\n }\n\n /**\n * Parses a model answer into a title and a difficulty.\n *\n * @param rawAnswer the model's answer, possibly null, fenced, prefixed with prose, or not JSON at all\n * @return what could be read out of it; the title is raw and still has to be sanitised by the caller\n */\n static ModelAnswer parse(@Nullable String rawAnswer) {\n if (rawAnswer == null || rawAnswer.isBlank()) {\n return new ModelAnswer(\"\", null);\n }\n String answer = CODE_FENCE.matcher(rawAnswer.strip()).replaceAll(\"\").strip();\n AnswerObject object = readJsonObject(answer);\n if (object != null) {\n String title = textOf(object.title());\n DifficultyLevel difficulty = parseDifficulty(textOf(object.difficulty()));\n if (!title.isBlank()) {\n return new ModelAnswer(title, difficulty);\n }\n // An object without a usable title is no better than prose, so the prose path still gets its turn at naming the exercise.\n return new ModelAnswer(firstLine(answer), difficulty);\n }\n return new ModelAnswer(firstLine(answer), parseDifficulty(answer));\n }\n\n /**\n * Reads a difficulty an instructor stated in their own words, used when the model reported none. A brief that says how hard the exercise is has already answered the question,\n * and honouring it means a suggestion is still right when there is no model at all.\n *\n * @param brief the instructor's brief\n * @return the difficulty the brief states, or null when it states none\n */\n @Nullable\n static DifficultyLevel difficultyStatedInBrief(String brief) {\n Matcher matcher = DIFFICULTY_IN_BRIEF.matcher(brief);\n if (!matcher.find()) {\n return null;\n }\n String word = matcher.group(1) != null ? matcher.group(1) : matcher.group(2);\n return parseDifficulty(word);\n }\n\n /** The first non-blank line, which is where a model that ignores \"JSON only\" puts the title before explaining itself. */\n private static String firstLine(String answer) {\n return answer.lines().map(String::strip).filter(line -> !line.isEmpty()).findFirst().orElse(\"\");\n }\n\n /** Null unless the answer contains something that parses as a JSON object; a model may put a sentence in front of it, so the braces are located rather than assumed. */\n @Nullable\n private static AnswerObject readJsonObject(String answer) {\n int start = answer.indexOf('{');\n int end = answer.lastIndexOf('}');\n if (start < 0 || end <= start) {\n return null;\n }\n try {\n return MAPPER.readValue(answer.substring(start, end + 1), AnswerObject.class);\n }\n catch (Exception e) {\n return null;\n }\n }\n\n /** The text of a value the model gave as a JSON string, and the empty text for a missing value or one of any other type. */\n private static String textOf(@Nullable String value) {\n return value == null ? \"\" : value.strip();\n }\n\n /**\n * The two fields read out of the JSON object a model answered with; any other field is ignored.\n *\n * @param title the title, absent when it is missing or not a JSON string\n * @param difficulty the difficulty word, absent when it is missing or not a JSON string\n */\n @JsonInclude(JsonInclude.Include.NON_EMPTY)\n @JsonIgnoreProperties(ignoreUnknown = true)\n private record AnswerObject(@Nullable @JsonDeserialize(using = StringOnlyDeserializer.class) String title,\n @Nullable @JsonDeserialize(using = StringOnlyDeserializer.class) String difficulty) {\n }\n\n /** Reads a JSON string as it is and skips a value of any other type, which is then absent, because a model may answer with a number or an object where text was asked for. */\n static final class StringOnlyDeserializer extends ValueDeserializer {\n\n @Override\n public String deserialize(JsonParser parser, DeserializationContext context) {\n if (parser.currentToken() == JsonToken.VALUE_STRING) {\n return parser.getString();\n }\n parser.skipChildren();\n return null;\n }\n }\n\n /** Null rather than {@link DifficultyLevel#MEDIUM} for an unrecognised value, so the caller can still try the brief before settling for the default. */\n @Nullable\n private static DifficultyLevel parseDifficulty(String text) {\n Matcher matcher = DIFFICULTY_WORD.matcher(text);\n if (!matcher.find()) {\n return null;\n }\n return switch (matcher.group(1).toLowerCase(Locale.ROOT)) {\n case \"easy\" -> DifficultyLevel.EASY;\n case \"hard\" -> DifficultyLevel.HARD;\n default -> DifficultyLevel.MEDIUM;\n };\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/6648cfb857c671389389c3fc84b732b4d6bd105f.json b/web/public/bundles/artemis/code/6648cfb857c671389389c3fc84b732b4d6bd105f.json new file mode 100644 index 00000000..07532616 --- /dev/null +++ b/web/public/bundles/artemis/code/6648cfb857c671389389c3fc84b732b4d6bd105f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6648cfb857c671389389c3fc84b732b4d6bd105f", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/web/CommunicationWebsocketTopics.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.communication.web;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\n\nimport java.util.Optional;\n\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.stereotype.Component;\n\nimport de.tum.cit.aet.artemis.core.security.websocket.WebsocketSubscription;\nimport de.tum.cit.aet.artemis.core.security.websocket.WebsocketTopic;\nimport de.tum.cit.aet.artemis.core.security.websocket.WebsocketTopicAccess;\nimport de.tum.cit.aet.artemis.core.security.websocket.WebsocketTopicProvider;\nimport de.tum.cit.aet.artemis.core.security.websocket.WebsocketUserTopic;\nimport de.tum.cit.aet.artemis.plagiarism.api.PlagiarismCaseApi;\n\n/**\n * The websocket topics of the communication module.\n */\n@Profile(PROFILE_CORE)\n@Lazy\n@Component\npublic class CommunicationWebsocketTopics implements WebsocketTopicProvider {\n\n /**\n * Posts, answers and reactions in the course-wide channels of a course that students can see.\n */\n public static final WebsocketTopic COURSE_WIDE_POSTS = WebsocketTopic.of(\"/topic/communication/courses/{courseId}\", WebsocketTopicAccess.atLeastStudentInCourse(\"courseId\"));\n\n /**\n * Posts, answers and reactions for one user: direct messages, group chats, non-course-wide channels, and posts that are only visible to some members, such as posts\n * with a pending Iris reply or posts in channels students cannot see yet.\n */\n public static final WebsocketTopic USER_CONVERSATION_POSTS = WebsocketTopic.of(\"/topic/user/{userId}/notifications/conversations\", WebsocketTopicAccess.ownUser(\"userId\"));\n\n /**\n * The discussion of a plagiarism case between the instructors and the student or team the case is about.\n */\n public static final WebsocketTopic PLAGIARISM_CASE_POSTS = WebsocketTopic.of(\"/topic/communication/plagiarismCase/{plagiarismCaseId}\",\n WebsocketTopicAccess.custom(CommunicationWebsocketTopics.class, CommunicationWebsocketTopics::isPartyOfPlagiarismCase));\n\n /**\n * Changes to the conversations a user is a member of, computed per user.\n */\n public static final WebsocketUserTopic CONVERSATION_MEMBERSHIP = WebsocketUserTopic.of(\"/topic/communication/courses/{courseId}/conversations/user/{userId}\");\n\n private final Optional plagiarismCaseApi;\n\n public CommunicationWebsocketTopics(Optional plagiarismCaseApi) {\n this.plagiarismCaseApi = plagiarismCaseApi;\n }\n\n private boolean isPartyOfPlagiarismCase(WebsocketSubscription subscription) {\n long plagiarismCaseId = subscription.id(\"plagiarismCaseId\");\n return plagiarismCaseApi.map(api -> api.isStudentOrInstructorOfPlagiarismCase(plagiarismCaseId, subscription.login())).orElse(false)\n || subscription.hasAdministratorAccess();\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/66508dd284c76e0884a2a87b7c67655059c6f18a.json b/web/public/bundles/artemis/code/66508dd284c76e0884a2a87b7c67655059c6f18a.json new file mode 100644 index 00000000..0f519cda --- /dev/null +++ b/web/public/bundles/artemis/code/66508dd284c76e0884a2a87b7c67655059c6f18a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "66508dd284c76e0884a2a87b7c67655059c6f18a", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/domain/TutorialGroupSchedule.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.tutorialgroup.domain;\n\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.Objects;\n\nimport jakarta.persistence.CascadeType;\nimport jakarta.persistence.Column;\nimport jakarta.persistence.Entity;\nimport jakarta.persistence.FetchType;\nimport jakarta.persistence.JoinColumn;\nimport jakarta.persistence.OneToMany;\nimport jakarta.persistence.OneToOne;\nimport jakarta.persistence.Table;\nimport jakarta.validation.constraints.Size;\n\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.core.domain.DomainObject;\nimport de.tum.cit.aet.artemis.core.domain.Parent;\n\n/**\n * A {@link TutorialGroupSchedule} is a schedule for a {@link TutorialGroup}. It represents a recurrence pattern for {@link TutorialGroupSession}s.\n * Think of it like a recurring calendar event in your calendar app. E.g. a tutorial group might meet every Monday at 10:00 to 12:00 from 2021-01-01 to 2021-06-30.\n *

\n * The individual {@link TutorialGroupSession}s are generated from this schedule and stored in the {@link TutorialGroupSession} table.\n *

\n * IMPORTANT NOTE TO DEVELOPERS: When you add a new property to this class please update the methods {@link #sameSchedule(TutorialGroupSchedule)} and\n * {@link #onlyLocationChanged(TutorialGroupSchedule)}\n */\n@Entity\n@Table(name = \"tutorial_group_schedule\")\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic class TutorialGroupSchedule extends DomainObject {\n\n @OneToOne\n @JoinColumn(name = \"tutorial_group_id\", nullable = false)\n @Parent\n private TutorialGroup tutorialGroup;\n\n /**\n * The day of the week on which the tutorial group meets. 1 = Monday, 2 = Tuesday, ..., 7 = Sunday\n */\n @Column(name = \"day_of_week\")\n private Integer dayOfWeek;\n\n /**\n * The time of day at which the tutorial group meets on the {@link #dayOfWeek}.\n *

\n * The time is in ISO 8601 format.\n *

\n * Note: String to prevent Hibernate from converting it to UTC\n */\n @Column(name = \"start_time\")\n private String startTime;\n\n /**\n * The time of day at which the tutorial group meeting ends on the {@link #dayOfWeek}.\n *

\n * The time is in ISO 8601 format.\n *

\n * Note: String to prevent Hibernate from converting it to UTC\n */\n @Column(name = \"end_time\")\n private String endTime;\n\n /**\n * Currently represents weekly recurrence, so 1 means every week, 2 means every other week, etc.\n *

\n * E.g. if the tutorial group meets every Monday then the value is 1.\n */\n @Column(name = \"repetition_frequency\")\n private Integer repetitionFrequency;\n\n /**\n * The date from which this recurrence pattern starts.\n *

\n * For example, if the tutorial group meets every Monday from 2021-01-01 to 2021-06-30, then the value is 2021-01-01.\n * The first session will be on 2021-01-04 (Monday) and the last session will be on 2021-06-28 (Monday).\n *

\n * The date is in ISO 8601 format.\n *

\n * Note: String to prevent Hibernate from converting it to UTC\n */\n @Column(name = \"valid_from_inclusive\")\n private String validFromInclusive;\n\n /**\n * The date until which this recurrence pattern is valid.\n *

\n * For example, if the tutorial group meets every Monday from 2021-01-01 to 2021-06-30, then the value is 2021-06-30.\n * The first session will be on 2021-01-04 (Monday) and the last session will be on 2021-06-28 (Monday).\n *

\n * The date is in ISO 8601 format.\n *

\n * Note: String to prevent Hibernate from converting it to UTC\n */\n @Column(name = \"valid_to_inclusive\")\n private String validToInclusive;\n\n /**\n * The location where the tutorial group meets. Can either be a physical location or a link to a video conference.\n */\n @Column(name = \"location\")\n @Size(max = 2000)\n private String location;\n\n /**\n * The sessions that were generated from this schedule, i.e. the sessions that follow this recurrence pattern.\n * Do NOT use orphanRemoval = true, as it will delete the sessions when they are disconnected from the schedule.\n */\n @OneToMany(mappedBy = \"tutorialGroupSchedule\", cascade = CascadeType.REMOVE, fetch = FetchType.LAZY)\n @JsonIgnoreProperties(value = \"tutorialGroupSchedule\", allowSetters = true)\n private List tutorialGroupSessions = new ArrayList<>();\n\n public boolean sameSchedule(TutorialGroupSchedule other) {\n return Objects.equals(this.dayOfWeek, other.dayOfWeek) && Objects.equals(this.startTime, other.startTime) && Objects.equals(this.endTime, other.endTime)\n && Objects.equals(this.repetitionFrequency, other.repetitionFrequency) && Objects.equals(this.validFromInclusive, other.validFromInclusive)\n && Objects.equals(this.validToInclusive, other.validToInclusive) && Objects.equals(this.location, other.location);\n }\n\n public boolean onlyLocationChanged(TutorialGroupSchedule other) {\n return Objects.equals(this.dayOfWeek, other.dayOfWeek) && Objects.equals(this.startTime, other.startTime) && Objects.equals(this.endTime, other.endTime)\n && Objects.equals(this.repetitionFrequency, other.repetitionFrequency) && Objects.equals(this.validFromInclusive, other.validFromInclusive)\n && Objects.equals(this.validToInclusive, other.validToInclusive) && !Objects.equals(this.location, other.location);\n }\n\n public List getTutorialGroupSessions() {\n return tutorialGroupSessions;\n }\n\n public void setTutorialGroupSessions(List tutorialGroupSessions) {\n this.tutorialGroupSessions = tutorialGroupSessions;\n }\n\n public TutorialGroup getTutorialGroup() {\n return tutorialGroup;\n }\n\n public void setTutorialGroup(TutorialGroup tutorialGroup) {\n this.tutorialGroup = tutorialGroup;\n }\n\n public Integer getDayOfWeek() {\n return dayOfWeek;\n }\n\n public void setDayOfWeek(Integer dayOfWeek) {\n this.dayOfWeek = dayOfWeek;\n }\n\n /**\n * Get the start time of the schedule. The time is in ISO 8601 format.\n *

\n * Note: In the time zone of the course.\n *\n * @return the start time of a session created from this schedule\n */\n public String getStartTime() {\n return startTime;\n }\n\n /**\n * Set the start time of the schedule. The time must be in ISO 8601 format.\n *

\n * Note: In the time zone of the course.\n *\n * @param startTime the start time of a session created from this schedule\n */\n public void setStartTime(String startTime) {\n this.startTime = startTime;\n }\n\n /**\n * Get the end time of the schedule. The time is in ISO 8601 format.\n *

\n * Note: In the time zone of the course.\n *\n * @return the end time of a session created from this schedule\n */\n public String getEndTime() {\n return endTime;\n }\n\n /**\n * Set the end time of the schedule. The time must be in ISO 8601 format.\n *

\n * Note: In the time zone of the course.\n *\n * @param endTime the end time of a session created from this schedule\n */\n public void setEndTime(String endTime) {\n this.endTime = endTime;\n }\n\n public Integer getRepetitionFrequency() {\n return repetitionFrequency;\n }\n\n public void setRepetitionFrequency(Integer repetitionFrequency) {\n this.repetitionFrequency = repetitionFrequency;\n }\n\n public String getValidFromInclusive() {\n return validFromInclusive;\n }\n\n /**\n * Sets the start date of the schedule validity. The date must be in ISO 8601 format.\n *\n * @param validFromInclusive start date of the schedule validity\n */\n public void setValidFromInclusive(String validFromInclusive) {\n this.validFromInclusive = validFromInclusive;\n }\n\n public String getValidToInclusive() {\n return validToInclusive;\n }\n\n /**\n * Sets the start end of the schedule validity. The date must be in ISO 8601 format.\n *\n * @param validToInclusive end date of the schedule validity\n */\n public void setValidToInclusive(String validToInclusive) {\n this.validToInclusive = validToInclusive;\n }\n\n public String getLocation() {\n return location;\n }\n\n public void setLocation(String location) {\n this.location = location;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/681c5299b306fba631e13515f5bcba34bf001eb8.json b/web/public/bundles/artemis/code/681c5299b306fba631e13515f5bcba34bf001eb8.json new file mode 100644 index 00000000..d615a7a2 --- /dev/null +++ b/web/public/bundles/artemis/code/681c5299b306fba631e13515f5bcba34bf001eb8.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "681c5299b306fba631e13515f5bcba34bf001eb8", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/dto/BuildPlanDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.localci.dto;\n\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.programming.domain.build.BuildPlan;\n\n/**\n * Build plan script of a programming exercise as shown in the build plan editor.\n *\n * @param id the id of the build plan\n * @param buildPlan the build plan script\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record BuildPlanDTO(@Nullable Long id, @Nullable String buildPlan) {\n\n /**\n * Maps the build plan entity to the DTO.\n *\n * @param buildPlan the entity\n * @return the DTO with id and script\n */\n public static BuildPlanDTO of(BuildPlan buildPlan) {\n return new BuildPlanDTO(buildPlan.getId(), buildPlan.getBuildPlan());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/68f00067bbbfeed59b609794144640eb2f98c944.json b/web/public/bundles/artemis/code/68f00067bbbfeed59b609794144640eb2f98c944.json new file mode 100644 index 00000000..56c3aa09 --- /dev/null +++ b/web/public/bundles/artemis/code/68f00067bbbfeed59b609794144640eb2f98c944.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "68f00067bbbfeed59b609794144640eb2f98c944", + "language": "typescript", + "path": "src/main/webapp/app/plagiarism/manage/plagiarism-details/plagiarism-details.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, input } from '@angular/core';\nimport { Subject } from 'rxjs';\nimport { PlagiarismComparison } from 'app/plagiarism/shared/entities/PlagiarismComparison';\nimport { Exercise } from 'app/exercise/shared/entities/exercise/exercise.model';\nimport { PlagiarismHeaderComponent } from '../plagiarism-header/plagiarism-header.component';\nimport { PlagiarismSplitViewComponent } from '../plagiarism-split-view/plagiarism-split-view.component';\n\n@Component({\n selector: 'jhi-plagiarism-details',\n styleUrls: ['./plagiarism-details.component.css'],\n templateUrl: './plagiarism-details.component.html',\n imports: [PlagiarismHeaderComponent, PlagiarismSplitViewComponent],\n})\nexport class PlagiarismDetailsComponent {\n readonly comparison = input();\n readonly exercise = input.required();\n\n /**\n * Subject to be passed into PlagiarismSplitViewComponent to control the split view.\n */\n splitControlSubject: Subject = new Subject();\n}\n" +} diff --git a/web/public/bundles/artemis/code/6917d0d34c6effb7ec2f380c3311e98cd417d3e9.json b/web/public/bundles/artemis/code/6917d0d34c6effb7ec2f380c3311e98cd417d3e9.json new file mode 100644 index 00000000..b8edda87 --- /dev/null +++ b/web/public/bundles/artemis/code/6917d0d34c6effb7ec2f380c3311e98cd417d3e9.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6917d0d34c6effb7ec2f380c3311e98cd417d3e9", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/dto/CompetencyLinkDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.lecture.dto;\n\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\nimport org.hibernate.Hibernate;\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\nimport com.fasterxml.jackson.annotation.JsonInclude;\nimport com.fasterxml.jackson.annotation.JsonProperty;\n\nimport de.tum.cit.aet.artemis.atlas.domain.competency.CompetencyLearningObjectLink;\n\n@JsonIgnoreProperties(ignoreUnknown = true)\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record CompetencyLinkDTO(CompetencyDTO competency, double weight, @JsonProperty(access = JsonProperty.Access.READ_ONLY) boolean generatedByAi) {\n\n public CompetencyLinkDTO(CompetencyDTO competency, double weight) {\n this(competency, weight, false);\n }\n\n /**\n * Maps update-request links only when already loaded, preserving the distinction between absent and empty links.\n *\n * @param links links from the learning object\n * @return the mapped links, or null when absent or not initialized\n */\n public static @Nullable Set ofAllIfInitialized(@Nullable Set links) {\n if (links == null || !Hibernate.isInitialized(links)) {\n return null;\n }\n return links.isEmpty() ? Set.of() : links.stream().map(CompetencyLinkDTO::of).collect(Collectors.toSet());\n }\n\n public static CompetencyLinkDTO of(CompetencyLearningObjectLink link) {\n return new CompetencyLinkDTO(CompetencyDTO.of(link.getCompetency()), link.getWeight(), link.isGeneratedByAi());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/69d1b93f9777e867405c741f9ac41bbc9ff9bc04.json b/web/public/bundles/artemis/code/69d1b93f9777e867405c741f9ac41bbc9ff9bc04.json new file mode 100644 index 00000000..3552ba6b --- /dev/null +++ b/web/public/bundles/artemis/code/69d1b93f9777e867405c741f9ac41bbc9ff9bc04.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "69d1b93f9777e867405c741f9ac41bbc9ff9bc04", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/domain/TutorialGroupsConfiguration.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.tutorialgroup.domain;\n\nimport java.util.HashSet;\nimport java.util.Set;\n\nimport jakarta.persistence.CascadeType;\nimport jakarta.persistence.Column;\nimport jakarta.persistence.Entity;\nimport jakarta.persistence.FetchType;\nimport jakarta.persistence.JoinColumn;\nimport jakarta.persistence.OneToMany;\nimport jakarta.persistence.OneToOne;\nimport jakarta.persistence.Table;\n\nimport org.jspecify.annotations.NonNull;\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonIgnore;\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.core.domain.DomainObject;\nimport de.tum.cit.aet.artemis.core.domain.Parent;\nimport de.tum.cit.aet.artemis.course.domain.Course;\n\n@Entity\n@Table(name = \"tutorial_groups_configuration\")\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic class TutorialGroupsConfiguration extends DomainObject {\n\n /**\n * The course this configuration belongs to. The key lives here rather than on the course: the course carries no\n * association to its configuration, so loading a course can never pull this row in, and the configuration cannot\n * outlive the course. Read the configuration through {@code TutorialGroupsConfigurationRepository} where it is needed.\n */\n @OneToOne(fetch = FetchType.LAZY, optional = false)\n @JoinColumn(name = \"course_id\", nullable = false, unique = true)\n @JsonIgnore\n @Parent\n private Course course;\n\n /**\n * Note: String to prevent Hibernate from converting it to UTC\n */\n @Column(name = \"tutorial_period_start_inclusive\")\n @Nullable\n private String tutorialPeriodStartInclusive;\n\n /**\n * Note: String to prevent Hibernate from converting it to UTC\n */\n @Column(name = \"tutorial_period_end_inclusive\")\n @Nullable\n private String tutorialPeriodEndInclusive;\n\n /**\n * If true, tutorial groups channel will be created for each tutorial group. If false, they will not be created.\n */\n @Column(name = \"use_tutorial_group_channels\")\n @NonNull\n private Boolean useTutorialGroupChannels;\n\n /**\n * If true, the created tutorial group channels will be public. If false, they will be private.\n */\n @Column(name = \"use_public_tutorial_group_channels\")\n @NonNull\n private Boolean usePublicTutorialGroupChannels;\n\n @OneToMany(mappedBy = \"tutorialGroupsConfiguration\", fetch = FetchType.LAZY, cascade = CascadeType.REMOVE, orphanRemoval = true)\n @JsonIgnoreProperties(value = \"tutorialGroupsConfiguration\", allowSetters = true)\n private Set tutorialGroupFreePeriods = new HashSet<>();\n\n public Course getCourse() {\n return course;\n }\n\n public void setCourse(Course course) {\n this.course = course;\n }\n\n /**\n * Gets the start date time of the tutorial period of the course in ISO 8601 format\n *\n * @return the start date time of the tutorial period of the course\n */\n public String getTutorialPeriodStartInclusive() {\n return tutorialPeriodStartInclusive;\n }\n\n /**\n * Set the start date time of the tutorial period. The parameter must be a valid ISO 8601 date string.\n *\n * @param tutorialPeriodStartInclusive the start date of the tutorial period of the course\n */\n public void setTutorialPeriodStartInclusive(String tutorialPeriodStartInclusive) {\n this.tutorialPeriodStartInclusive = tutorialPeriodStartInclusive;\n }\n\n /**\n * Gets the end date time of the tutorial period of the course in ISO 8601 format\n *\n * @return the end date time of the tutorial period of the course\n */\n public String getTutorialPeriodEndInclusive() {\n return tutorialPeriodEndInclusive;\n }\n\n /**\n * Set the end date time of the tutorial period. The parameter must be a valid ISO 8601 date string.\n *\n * @param tutorialPeriodEndInclusive the end date of the tutorial period of the course\n */\n public void setTutorialPeriodEndInclusive(String tutorialPeriodEndInclusive) {\n this.tutorialPeriodEndInclusive = tutorialPeriodEndInclusive;\n }\n\n public Set getTutorialGroupFreePeriods() {\n return tutorialGroupFreePeriods;\n }\n\n public void setTutorialGroupFreePeriods(Set tutorialGroupFreePeriods) {\n this.tutorialGroupFreePeriods = tutorialGroupFreePeriods;\n }\n\n public Boolean getUseTutorialGroupChannels() {\n return useTutorialGroupChannels;\n }\n\n public void setUseTutorialGroupChannels(Boolean useTutorialGroupChannels) {\n this.useTutorialGroupChannels = useTutorialGroupChannels;\n }\n\n public Boolean getUsePublicTutorialGroupChannels() {\n return usePublicTutorialGroupChannels;\n }\n\n public void setUsePublicTutorialGroupChannels(Boolean tutorialGroupChannelsPublic) {\n this.usePublicTutorialGroupChannels = tutorialGroupChannelsPublic;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/6a2685c36db0c05d6c9ba4b8f7f155bf72808f6a.json b/web/public/bundles/artemis/code/6a2685c36db0c05d6c9ba4b8f7f155bf72808f6a.json new file mode 100644 index 00000000..ad1b67e2 --- /dev/null +++ b/web/public/bundles/artemis/code/6a2685c36db0c05d6c9ba4b8f7f155bf72808f6a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6a2685c36db0c05d6c9ba4b8f7f155bf72808f6a", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/ExerciseGroupWithIdAndExamDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exercise.dto;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.exam.dto.ExamWithIdAndCourseDTO;\n\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record ExerciseGroupWithIdAndExamDTO(long id, ExamWithIdAndCourseDTO exam) {\n}\n" +} diff --git a/web/public/bundles/artemis/code/6a5ac0f18473d95a1fe48e37cf24ab53227ad40d.json b/web/public/bundles/artemis/code/6a5ac0f18473d95a1fe48e37cf24ab53227ad40d.json new file mode 100644 index 00000000..401286c8 --- /dev/null +++ b/web/public/bundles/artemis/code/6a5ac0f18473d95a1fe48e37cf24ab53227ad40d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6a5ac0f18473d95a1fe48e37cf24ab53227ad40d", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamUserApi.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exam.api;\n\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.stereotype.Controller;\n\nimport de.tum.cit.aet.artemis.core.exception.EntityNotFoundException;\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.exam.config.ExamEnabled;\nimport de.tum.cit.aet.artemis.exam.domain.ExamUser;\nimport de.tum.cit.aet.artemis.exam.repository.ExamUserRepository;\nimport de.tum.cit.aet.artemis.exam.service.ExamUserService;\n\n@Conditional(ExamEnabled.class)\n@Controller\n@Lazy\npublic class ExamUserApi extends AbstractExamApi {\n\n private final ExamUserRepository examUserRepository;\n\n private final ExamUserService examUserService;\n\n public ExamUserApi(ExamUserRepository examUserRepository, ExamUserService examUserService) {\n this.examUserRepository = examUserRepository;\n this.examUserService = examUserService;\n }\n\n /**\n * Loads an exam user.\n *\n * @param examUserId the id of the exam user\n * @return the exam user\n * @throws EntityNotFoundException if the exam user does not exist\n */\n public ExamUser findByIdElseThrow(long examUserId) {\n return examUserRepository.findByIdElseThrow(examUserId);\n }\n\n /**\n * Loads the course of the exam an exam user is registered for.\n *\n * @param examUserId the id of the exam user\n * @return the course of the exam\n * @throws EntityNotFoundException if the exam user does not exist\n */\n public Course findCourseByExamUserIdElseThrow(long examUserId) {\n return examUserRepository.findCourseByExamUserId(examUserId).orElseThrow(() -> new EntityNotFoundException(\"ExamUser\", examUserId));\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/6a720b59a7572bd217ea818c735bc97c46f5f233.json b/web/public/bundles/artemis/code/6a720b59a7572bd217ea818c735bc97c46f5f233.json new file mode 100644 index 00000000..32b3966c --- /dev/null +++ b/web/public/bundles/artemis/code/6a720b59a7572bd217ea818c735bc97c46f5f233.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6a720b59a7572bd217ea818c735bc97c46f5f233", + "language": "typescript", + "path": "src/main/webapp/app/lecture/manage/lecture.route.ts", + "schema": "codexray.code/1", + "text": "import { Routes } from '@angular/router';\nimport { UserRouteAccessService } from 'app/core/auth/user-route-access-service';\n\nimport { IS_AT_LEAST_EDITOR } from 'app/foundation/constants/authority.constants';\nimport { lectureUnitRoute } from 'app/lecture/manage/lecture-units/lecture-unit-management.route';\nimport { CourseManagementResolve } from 'app/course/manage/services/course-management-resolve.service';\nimport { hasLectureUnsavedChangesGuard } from './hasLectureUnsavedChanges.guard';\nimport { LectureResolve } from 'app/lecture/manage/services/lecture-resolve.service';\nimport { LectureGuard } from 'app/lecture/shared/lecture-guard.service';\n\nexport const lectureRoutes: Routes = [\n {\n path: '',\n loadComponent: () => import('./lecture/lecture.component').then((m) => m.LectureComponent),\n data: {\n authorities: IS_AT_LEAST_EDITOR,\n pageTitle: 'artemisApp.lecture.home.title',\n },\n canActivate: [UserRouteAccessService, LectureGuard],\n },\n {\n // Create a new path without a component defined to prevent the LectureComponent from being always rendered\n path: '',\n canActivate: [LectureGuard],\n children: [\n {\n path: 'new',\n loadComponent: () => import('./lecture-update/lecture-update.component').then((m) => m.LectureUpdateComponent),\n resolve: {\n course: CourseManagementResolve,\n },\n data: {\n authorities: IS_AT_LEAST_EDITOR,\n pageTitle: 'global.generic.create',\n },\n canActivate: [UserRouteAccessService],\n canDeactivate: [hasLectureUnsavedChangesGuard],\n },\n {\n path: ':lectureId',\n loadComponent: () => import('./lecture-detail/lecture-detail.component').then((m) => m.LectureDetailComponent),\n resolve: {\n lecture: LectureResolve,\n },\n data: {\n authorities: IS_AT_LEAST_EDITOR,\n pageTitle: 'artemisApp.lecture.home.title',\n },\n canActivate: [UserRouteAccessService],\n },\n {\n path: ':lectureId',\n children: [\n {\n path: 'edit',\n loadComponent: () => import('./lecture-update/lecture-update.component').then((m) => m.LectureUpdateComponent),\n resolve: {\n course: CourseManagementResolve,\n lecture: LectureResolve,\n },\n data: {\n authorities: IS_AT_LEAST_EDITOR,\n pageTitle: 'global.generic.edit',\n },\n canActivate: [UserRouteAccessService],\n canDeactivate: [hasLectureUnsavedChangesGuard],\n },\n ...lectureUnitRoute,\n ],\n },\n ],\n },\n];\n" +} diff --git a/web/public/bundles/artemis/code/6ab3e43612563e49556a686f38fb718cbf8abd44.json b/web/public/bundles/artemis/code/6ab3e43612563e49556a686f38fb718cbf8abd44.json new file mode 100644 index 00000000..52c2f1a4 --- /dev/null +++ b/web/public/bundles/artemis/code/6ab3e43612563e49556a686f38fb718cbf8abd44.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6ab3e43612563e49556a686f38fb718cbf8abd44", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/buildagent/service/BuildAgentDockerService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.buildagent.service;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_BUILDAGENT;\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\n\nimport java.io.IOException;\nimport java.nio.file.Files;\nimport java.nio.file.Path;\nimport java.time.Duration;\nimport java.time.Instant;\nimport java.time.ZonedDateTime;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.HashSet;\nimport java.util.IdentityHashMap;\nimport java.util.LinkedHashSet;\nimport java.util.List;\nimport java.util.Locale;\nimport java.util.Map;\nimport java.util.Objects;\nimport java.util.Set;\nimport java.util.concurrent.ConcurrentHashMap;\nimport java.util.concurrent.CountDownLatch;\nimport java.util.concurrent.TimeUnit;\nimport java.util.concurrent.atomic.AtomicLong;\nimport java.util.concurrent.locks.ReentrantLock;\nimport java.util.stream.Collectors;\n\nimport jakarta.annotation.PostConstruct;\n\nimport org.jspecify.annotations.NonNull;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.beans.factory.annotation.Qualifier;\nimport org.springframework.beans.factory.annotation.Value;\nimport org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;\nimport org.springframework.boot.context.properties.bind.Bindable;\nimport org.springframework.boot.context.properties.bind.Binder;\nimport org.springframework.context.EnvironmentAware;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.core.env.Environment;\nimport org.springframework.core.env.Profiles;\nimport org.springframework.scheduling.TaskScheduler;\nimport org.springframework.scheduling.annotation.Scheduled;\nimport org.springframework.stereotype.Service;\n\nimport com.github.dockerjava.api.DockerClient;\nimport com.github.dockerjava.api.command.InspectImageResponse;\nimport com.github.dockerjava.api.command.PullImageResultCallback;\nimport com.github.dockerjava.api.exception.BadRequestException;\nimport com.github.dockerjava.api.exception.NotFoundException;\nimport com.github.dockerjava.api.model.Container;\nimport com.github.dockerjava.api.model.Image;\nimport com.github.dockerjava.api.model.PullResponseItem;\n\nimport de.tum.cit.aet.artemis.buildagent.BuildAgentConfiguration;\nimport de.tum.cit.aet.artemis.buildagent.dto.BuildAgentStatus;\nimport de.tum.cit.aet.artemis.buildagent.dto.BuildJobQueueItem;\nimport de.tum.cit.aet.artemis.buildagent.dto.DockerRunConfig;\nimport de.tum.cit.aet.artemis.core.util.TimeLogUtil;\nimport de.tum.cit.aet.artemis.localci.exception.LocalCIException;\nimport de.tum.cit.aet.artemis.localci.service.DistributedDataAccessService;\n\n/**\n * Service for Docker-related operations in the local CI build agent.\n *

\n * This service manages Docker image lifecycle and container cleanup for the build agent, including:\n *

    \n *
  • Image Management: Pulling Docker images for build jobs with proper architecture handling
  • \n *
  • Container Cleanup: Removing dangling or stuck build containers
  • \n *
  • Disk Space Management: Automatic cleanup of old images when disk space is low
  • \n *
\n *

\n * Architecture Support:\n * The service supports both AMD64 and ARM64 architectures. On macOS ARM systems, it can\n * automatically fall back to AMD64 images via Rosetta 2 emulation when ARM images are unavailable.\n *

\n * Scheduled Tasks:\n *

    \n *
  • Container cleanup runs periodically (default: every 60 minutes) to remove stuck containers
  • \n *
  • Image cleanup runs daily (default: 3:00 AM) to remove unused images older than the expiry threshold
  • \n *
  • Disk space check runs periodically to trigger cleanup when space falls below threshold
  • \n *
\n *

\n * Concurrency:\n * Docker image pulls are protected by a {@link ReentrantLock} to prevent multiple concurrent pulls\n * of the same image, which could waste bandwidth and disk space.\n *\n * @see BuildAgentConfiguration\n * @see BuildJobContainerService\n */\n@Lazy(false)\n@Service\n@Profile(PROFILE_BUILDAGENT)\n@ConditionalOnProperty(prefix = \"artemis.continuous-integration\", name = \"build-runner\", havingValue = \"docker\", matchIfMissing = true)\npublic class BuildAgentDockerService implements EnvironmentAware {\n\n /**\n * Lock to serialize Docker image pull operations.\n * Prevents multiple concurrent pulls of the same image.\n */\n private final ReentrantLock lock = new ReentrantLock();\n\n private static final Logger log = LoggerFactory.getLogger(BuildAgentDockerService.class);\n\n /**\n * How often a running pull is re-examined while waiting, short enough to notice a stall promptly and long enough to\n * keep the polling overhead negligible over a multi-minute pull. Not final so tests can shorten it.\n */\n private long pullProgressPollIntervalMillis = TimeUnit.SECONDS.toMillis(5);\n\n private final BuildAgentConfiguration buildAgentConfiguration;\n\n private final DistributedDataAccessService distributedDataAccessService;\n\n private final BuildJobContainerService buildJobContainerService;\n\n private final TaskScheduler taskScheduler;\n\n private boolean isFirstCleanup = true;\n\n @Value(\"${artemis.continuous-integration.image-cleanup.enabled:false}\")\n private Boolean imageCleanupEnabled;\n\n @Value(\"${artemis.continuous-integration.image-cleanup.expiry-days:2}\")\n private int imageExpiryDays;\n\n @Value(\"${artemis.continuous-integration.image-cleanup.disk-space-threshold-mb:2000}\")\n private int imageCleanupDiskSpaceThresholdMb;\n\n @Value(\"${artemis.continuous-integration.build-container-prefix:local-ci-}\")\n private String buildContainerPrefix;\n\n // with the default value, containers running for longer than 5 minutes when the cleanup starts\n @Value(\"${artemis.continuous-integration.container-cleanup.expiry-minutes:5}\")\n private int containerExpiryMinutes;\n\n // With the default value, the cleanup is triggered every 60 minutes\n @Value(\"${artemis.continuous-integration.container-cleanup.cleanup-schedule-minutes:60}\")\n private int containerCleanupScheduleMinutes;\n\n // The image architecture that is supported by the build agent\n // amd64 is the default value, as this is the architecture of Intel and AMD CPUs, which most systems still use\n @Value(\"${artemis.continuous-integration.image-architecture:amd64}\")\n private String imageArchitecture;\n\n @Value(\"${artemis.continuous-integration.build-agent.short-name}\")\n private String buildAgentShortName;\n\n /**\n * Maximum time a single Docker image pull may take before it is aborted.\n *

\n * This bounds the image pull independently of the per-exercise build timeout: how long a pull takes depends on the image size and on the registry and network,\n * not on the exercise, so a slow registry must not eat into the time budget a student's build gets. Without this, a pull that never makes progress would block\n * the build thread indefinitely.\n */\n @Value(\"${artemis.continuous-integration.image-pull-timeout-seconds:300}\")\n private int imagePullTimeoutSeconds;\n\n /**\n * Maximum time a Docker image pull may report no progress at all before it is aborted.\n *

\n * This separates the two ways a pull goes wrong. A large image over a slow link keeps emitting progress and is\n * allowed to run until {@link #imagePullTimeoutSeconds}. A pull that is not getting through at all, because the\n * registry is unreachable or a firewall silently drops the packets rather than refusing the connection, emits\n * nothing, and there is no reason to hold a build thread and an agent slot for the full budget waiting for it.\n */\n @Value(\"${artemis.continuous-integration.image-pull-stall-timeout-seconds:60}\")\n private int imagePullStallTimeoutSeconds;\n\n @Value(\"${artemis.continuous-integration.network-isolation-check.enabled:true}\")\n private boolean networkIsolationCheckEnabled;\n\n @Value(\"${artemis.continuous-integration.network-isolation-check.image:busybox:1.37.0}\")\n private String networkIsolationCheckImage;\n\n /** Read through the environment, so that a YAML list and a comma separated value both work. */\n private Environment environment;\n\n private static final String NETWORK_ISOLATION_CHECK_TARGETS_PROPERTY = \"artemis.continuous-integration.network-isolation-check.targets\";\n\n @Value(\"${artemis.continuous-integration.container-defaults.network:}\")\n private String defaultBuildNetwork;\n\n @Value(\"${artemis.continuous-integration.container-flags-limit.allowed-custom-networks:none}\")\n private List allowedCustomNetworks;\n\n @Value(\"${spring.data.redis.host:}\")\n private String redisHost;\n\n @Value(\"${spring.data.redis.port:6379}\")\n private int redisPort;\n\n @Value(\"${spring.hazelcast.interface:}\")\n private String hazelcastInterface;\n\n @Value(\"${spring.hazelcast.port:5701}\")\n private int hazelcastPort;\n\n /**\n * IDs of the build jobs that are currently pulling a Docker image, with the time the pull started.\n *

\n * A job is registered here for the whole time it spends in {@link #pullDockerImage}, which includes waiting for {@link #lock} while another job pulls. During\n * that window the job legitimately has no Docker container yet, so {@link SharedQueueProcessingService} must not treat it as stale.\n */\n private final Map ongoingImagePulls = new ConcurrentHashMap<>();\n\n private static final String AMD64_ARCHITECTURE = \"amd64\";\n\n private static final String ARM64_ARCHITECTURE = \"arm64\";\n\n public BuildAgentDockerService(BuildAgentConfiguration buildAgentConfiguration, DistributedDataAccessService distributedDataAccessService,\n BuildJobContainerService buildJobContainerService, @Qualifier(\"taskScheduler\") TaskScheduler taskScheduler) {\n this.buildAgentConfiguration = buildAgentConfiguration;\n this.distributedDataAccessService = distributedDataAccessService;\n this.buildJobContainerService = buildJobContainerService;\n this.taskScheduler = taskScheduler;\n }\n\n @Override\n public void setEnvironment(@NonNull Environment environment) {\n this.environment = environment;\n }\n\n /**\n * Validates the image pull configuration and schedules the periodic cleanup of dangling build containers.\n *

\n * EventListener cannot be used here, as the bean is lazy, see the\n * Spring docs.\n *\n * @throws IllegalArgumentException if the configured image pull timeout is not positive\n */\n @PostConstruct\n public void applicationReady() {\n // A non-positive timeout would make awaitCompletion return immediately, so every image pull would be reported as timed out and no build could ever run. Fail fast\n // at startup instead of turning every build into a confusing pull failure.\n if (imagePullTimeoutSeconds <= 0) {\n String errorMessage = \"The Docker image pull timeout must be a positive number of seconds, but was \" + imagePullTimeoutSeconds\n + \". It should be changed in the application properties under 'artemis.continuous-integration.image-pull-timeout-seconds'.\";\n log.error(errorMessage);\n throw new IllegalArgumentException(errorMessage);\n }\n if (imagePullStallTimeoutSeconds <= 0) {\n String errorMessage = \"The Docker image pull stall timeout must be a positive number of seconds, but was \" + imagePullStallTimeoutSeconds\n + \". It should be changed in the application properties under 'artemis.continuous-integration.image-pull-stall-timeout-seconds'.\";\n log.error(errorMessage);\n throw new IllegalArgumentException(errorMessage);\n }\n\n // Schedule the cleanup of dangling build containers once 10 seconds after the application has started and then every containerCleanupScheduleMinutes minutes\n taskScheduler.scheduleAtFixedRate(this::cleanUpContainers, Instant.now().plusSeconds(10), Duration.ofMinutes(containerCleanupScheduleMinutes));\n if (networkIsolationCheckEnabled) {\n taskScheduler.schedule(this::checkNetworkIsolation, Instant.now().plusSeconds(60));\n }\n }\n\n /**\n * Checks from a container on the default build network that the queue store, the cluster port and the configured services cannot be reached, and logs the outcome.\n * A failure of the check itself never affects the agent.\n */\n void checkNetworkIsolation() {\n try {\n if (dockerClientNotAvailable(\"Cannot check the network isolation of build containers.\")) {\n return;\n }\n // Services that build containers must not reach, as host:port: the ones in the configuration, the queue store, and the cluster port of this node when it is a member\n // of the cluster. A node without the core profile is a client of the cluster and listens on no cluster port.\n List entries = new ArrayList<>(Binder.get(environment).bind(NETWORK_ISOLATION_CHECK_TARGETS_PROPERTY, Bindable.listOf(String.class)).orElse(List.of()));\n if (redisHost != null && !redisHost.isBlank()) {\n entries.add(redisHost + \":\" + redisPort);\n }\n if (hazelcastInterface != null && !hazelcastInterface.isBlank() && environment.acceptsProfiles(Profiles.of(PROFILE_CORE))) {\n entries.add(hazelcastInterface + \":\" + hazelcastPort);\n }\n BuildContainerIsolationProbe probe = new BuildContainerIsolationProbe(buildAgentConfiguration.getDockerClient(), networkIsolationCheckImage);\n List targets = BuildContainerIsolationProbe.parseTargets(entries);\n // Every network a build can run on: the default one and the ones instructors may select. A container without a network cannot connect anywhere.\n Set networks = new LinkedHashSet<>();\n networks.add(defaultBuildNetwork == null ? \"\" : defaultBuildNetwork.trim());\n allowedCustomNetworks.stream().filter(Objects::nonNull).map(String::trim).filter(network -> !network.isEmpty()).forEach(networks::add);\n // A network that shares the namespace of the host or of another container is never used for a build, and \"none\" cannot connect anywhere\n networks.removeIf(network -> network.equals(\"none\") || DockerRunConfig.sharesNetworkNamespace(network));\n log.info(\"Checking from build containers on the networks {} that {} cannot be reached\",\n networks.stream().map(network -> network.isEmpty() ? \"default\" : network).toList(), targets);\n for (String network : networks) {\n probe.run(network, targets);\n }\n }\n catch (Exception e) {\n log.warn(\"The build container network check failed: {}\", e.getMessage());\n }\n }\n\n /**\n * Cleans up dangling build containers from the system. This method differentiates between the initial cleanup\n * and subsequent cleanups to handle containers differently based on their age and status.\n *

\n * For the initial cleanup, it removes all containers that match the build container prefix, assuming these containers\n * are left from before the application started. For subsequent cleanups, it only removes containers that are older\n * than a specified age threshold (defaulted to 5 minutes), targeting containers likely stuck or inactive.\n *

\n * Detailed steps include:\n * - Logging the start of the cleanup process.\n * - Determining whether it's the initial or a subsequent cleanup.\n * - Listing all containers, filtering them based on name prefix and, for subsequent cleanups, their age.\n * - Forcibly removing the identified dangling containers.\n * - Logging the results and completion of the cleanup process.\n *\n * @implNote The method uses Docker commands to list and remove containers. It handles state changes using a flag\n * (`isFirstCleanup`) to toggle the cleanup logic between the initial and subsequent runs.\n */\n public void cleanUpContainers() {\n List danglingBuildContainers;\n log.info(\"Start cleanup dangling build containers\");\n\n if (dockerClientNotAvailable(\"Cannot clean up dangling build containers.\")) {\n return;\n }\n\n DockerClient dockerClient = buildAgentConfiguration.getDockerClient();\n if (isFirstCleanup) {\n // Cleanup all dangling build containers after the application has started\n try {\n danglingBuildContainers = dockerClient.listContainersCmd().withShowAll(true).exec().stream()\n .filter(container -> container.getNames() != null && container.getNames().length > 0 && container.getNames()[0].startsWith(\"/\" + buildContainerPrefix))\n .toList();\n }\n catch (Exception ex) {\n if (DockerUtil.isDockerNotAvailable(ex)) {\n log.debug(\"Docker is not available. Skipping container cleanup: {}\", ex.getMessage());\n return;\n }\n log.error(\"Error while listing containers for cleanup: {}\", ex.getMessage(), ex);\n return;\n }\n finally {\n isFirstCleanup = false;\n }\n }\n else {\n // Cleanup all containers that are older than 5 minutes (or ageThreshold) for all subsequent cleanups\n // Get current time in seconds\n long now = Instant.now().getEpochSecond();\n\n // Threshold for \"stuck\" containers in seconds\n long ageThreshold = containerExpiryMinutes * 60L;\n\n try {\n danglingBuildContainers = dockerClient.listContainersCmd().withShowAll(true).exec().stream()\n .filter(container -> container.getNames() != null && container.getNames().length > 0 && container.getNames()[0].startsWith(\"/\" + buildContainerPrefix))\n .filter(container -> (now - container.getCreated()) > ageThreshold).toList();\n }\n catch (Exception ex) {\n if (DockerUtil.isDockerNotAvailable(ex)) {\n log.debug(\"Docker is not available. Skipping container cleanup: {}\", ex.getMessage());\n return;\n }\n log.error(\"Error while listing containers for cleanup: {}\", ex.getMessage(), ex);\n return;\n }\n }\n\n if (!danglingBuildContainers.isEmpty()) {\n log.info(\"Found {} dangling build containers\", danglingBuildContainers.size());\n danglingBuildContainers.forEach(container -> buildJobContainerService.stopUnresponsiveContainer(container.getId()));\n }\n log.info(\"Cleanup dangling build containers done\");\n }\n\n /**\n * Callback that allows us to provide more information about the docker pull operation results\n */\n public static class MyPullImageResultCallback extends PullImageResultCallback {\n\n /**\n * How many updates the daemon has reported for this pull. Written from the docker-java callback thread and\n * read by the waiting build thread, hence atomic.\n *

\n * A counter rather than a timestamp: the caller owns the clock, so \"no progress yet\" is measured from when\n * the wait started rather than from when this object happened to be constructed.\n */\n private final AtomicLong progressCount = new AtomicLong();\n\n /**\n * Signals that the pull has finished, whether it completed or failed. Counted down from {@link #close()}, which\n * docker-java invokes on both {@code onComplete} and {@code onError}.\n *

\n * The build thread waits on this rather than on {@link #awaitCompletion(long, java.util.concurrent.TimeUnit)}.\n * That method is meant to be called once, after the pull has finished: on every call it runs {@code throwFirstError()}\n * and closes the pull stream in its {@code finally} block. Calling it in a polling loop therefore both aborts a\n * healthy pull after the first timed-out slice and, because a pull still in progress has no success response yet,\n * throws {@code \"Could not pull image\"} the moment a slice elapses. This latch lets the wait be sliced for stall\n * detection without triggering either.\n */\n private final CountDownLatch pullFinished = new CountDownLatch(1);\n\n /**\n * How many updates the daemon has reported so far.\n *\n * @return the number of progress updates received for this pull\n */\n public long progressCount() {\n return progressCount.get();\n }\n\n @Override\n public void onNext(PullResponseItem item) {\n progressCount.incrementAndGet();\n String msg = \"~~~~~~~~~~~~~~~~~~~~ Pull image progress: \" + item.getStatus() + \" ~~~~~~~~~~~~~~~~~~~~\";\n log.debug(msg);\n super.onNext(item);\n }\n\n @Override\n public void onComplete() {\n String msg = \"~~~~~~~~~~~~~~~~~~~~ Pull image complete ~~~~~~~~~~~~~~~~~~~~\";\n log.debug(msg);\n super.onComplete();\n }\n\n @Override\n public void close() throws IOException {\n try {\n super.close();\n }\n finally {\n pullFinished.countDown();\n }\n }\n\n /**\n * Waits up to the given time for the pull to finish, returning {@code true} once it has and {@code false} if the\n * time elapsed first. Unlike {@link #awaitCompletion(long, java.util.concurrent.TimeUnit)} it never closes the\n * pull stream, so it is safe to call repeatedly while the pull is still running.\n *\n * Public so that the shared docker mock in {@code DockerClientTestService} (a different package) can stub it.\n *\n * @param timeout the maximum time to wait\n * @param unit the unit of {@code timeout}\n * @return {@code true} if the pull finished within the given time\n * @throws InterruptedException if interrupted while waiting\n */\n public boolean awaitFinished(long timeout, TimeUnit unit) throws InterruptedException {\n return pullFinished.await(timeout, unit);\n }\n\n /**\n * Re-throws a pull failure once the pull has finished, mirroring what\n * {@link #awaitCompletion(long, java.util.concurrent.TimeUnit)} did through {@code throwFirstError()}: a pull that\n * reported an error, or whose final response does not indicate success, fails the build rather than being treated\n * as a successful pull. Must only be called after {@link #awaitFinished(long, java.util.concurrent.TimeUnit)}\n * reported completion, so the final response is available.\n */\n void throwIfPullFailed() {\n throwFirstError();\n }\n }\n\n /**\n * Attempts to pull a specified Docker image associated with a build job if it is not already present on the local system.\n * This method uses a locking mechanism to ensure that the Docker image is not concurrently pulled by multiple threads.\n *

\n * The process includes:\n * - Checking if the Docker image is already available locally.\n * - If not available, acquiring a lock to prevent concurrent pulls.\n * - Checking for usable disk space and triggering image cleanup if the threshold is exceeded.\n * - Re-inspecting the image to confirm its absence after acquiring the lock.\n * - Pulling the image if both checks confirm its absence.\n * - Logging the operations and their outcomes to build logs for user visibility.\n *

\n * This method handles specific exceptions that might occur during the Docker operations, such as NotFoundException or BadRequestException,\n * by attempting to pull the image within a locked section. Other exceptions, including interruptions during the pull process,\n * are caught and rethrown as a LocalCIException with appropriate messages.\n *\n * @param buildJob the build job that includes the configuration with the name of the Docker image.\n * @param buildLogsMap a map for appending log entries related to the build process, facilitating real-time logging for end users.\n * @throws LocalCIException if the image pull is interrupted or fails due to other exceptions.\n */\n public void pullDockerImage(BuildJobQueueItem buildJob, BuildLogsMap buildLogsMap) {\n // Register the job for the whole pull phase, including the time spent waiting for the lock, so that the stale build job detection does not cancel a job that is\n // simply waiting for its image.\n ongoingImagePulls.put(buildJob.id(), Instant.now());\n try {\n doPullDockerImage(buildJob, buildLogsMap);\n }\n finally {\n ongoingImagePulls.remove(buildJob.id());\n }\n }\n\n /**\n * Returns whether the given build job is currently pulling its Docker image.\n *\n * @param buildJobId the ID of the build job\n * @return true if an image pull is in progress for this build job\n */\n public boolean isImagePullInProgress(String buildJobId) {\n return ongoingImagePulls.containsKey(buildJobId);\n }\n\n private void doPullDockerImage(BuildJobQueueItem buildJob, BuildLogsMap buildLogsMap) {\n final String imageName = buildJob.buildConfig().dockerImage();\n if (dockerClientNotAvailable(\"Cannot pull Docker image.\")) {\n throw new LocalCIException(\"Docker is not available. Cannot pull image \" + imageName);\n }\n DockerClient dockerClient = buildAgentConfiguration.getDockerClient();\n try (var inspectImageCommand = dockerClient.inspectImageCmd(imageName)) {\n // First check if the image is already available\n String msg = \"~~~~~~~~~~~~~~~~~~~~ Inspecting docker image \" + imageName + \" ~~~~~~~~~~~~~~~~~~~~\";\n log.info(msg);\n buildLogsMap.appendBuildLogEntry(buildJob.id(), msg);\n var inspectImageResponse = inspectImageCommand.exec();\n checkImageArchitecture(imageName, inspectImageResponse, buildJob, buildLogsMap);\n }\n catch (NotFoundException | BadRequestException e) {\n lock.lock();\n\n // Check again if image was pulled in the meantime\n try {\n String msg = \"~~~~~~~~~~~~~~~~~~~~ Inspecting docker image \" + imageName + \" again with a lock due to error \" + e.getMessage() + \" ~~~~~~~~~~~~~~~~~~~~\";\n log.info(msg);\n buildLogsMap.appendBuildLogEntry(buildJob.id(), msg);\n var inspectImageResponse = dockerClient.inspectImageCmd(imageName).exec();\n checkImageArchitecture(imageName, inspectImageResponse, buildJob, buildLogsMap);\n }\n catch (NotFoundException | BadRequestException e2) {\n checkUsableDiskSpaceThenCleanUp();\n\n long start = System.nanoTime();\n String msg = \"~~~~~~~~~~~~~~~~~~~~ Pulling docker image \" + imageName + \" with a lock after error \" + e.getMessage() + \" ~~~~~~~~~~~~~~~~~~~~\";\n log.info(msg);\n buildLogsMap.appendBuildLogEntry(buildJob.id(), msg);\n\n try {\n // Only pull the image if the inspect command failed\n var command = dockerClient.pullImageCmd(imageName).withPlatform(imageArchitecture);\n var exec = command.exec(new MyPullImageResultCallback());\n awaitPullCompletion(exec, imageName, buildJob, buildLogsMap);\n\n // Check if the image is compatible with the current architecture\n var inspectImageResponse = dockerClient.inspectImageCmd(imageName).exec();\n checkImageArchitecture(imageName, inspectImageResponse, buildJob, buildLogsMap);\n }\n catch (InterruptedException ie) {\n // Wrapping in another exception type loses the interruption, so restore it for whoever catches\n // LocalCIException: a build agent thread that keeps running after a shutdown request is the failure\n // this guards against.\n Thread.currentThread().interrupt();\n throw new LocalCIException(\"Interrupted while pulling docker image \" + imageName, ie);\n }\n catch (Exception ex) {\n // On macOS ARM, if the ARM image is not available, fall back to amd64 (Rosetta emulation)\n if (isMacOS() && ARM64_ARCHITECTURE.equals(imageArchitecture) && isNoMatchingManifestError(ex)) {\n String fallbackMsg = \"~~~~~~~~~~~~~~~~~~~~ No ARM image available for \" + imageName + \", falling back to amd64 (Rosetta emulation) ~~~~~~~~~~~~~~~~~~~~\";\n log.warn(fallbackMsg);\n buildLogsMap.appendBuildLogEntry(buildJob.id(), fallbackMsg);\n\n try {\n var fallbackCommand = dockerClient.pullImageCmd(imageName).withPlatform(AMD64_ARCHITECTURE);\n var fallbackExec = fallbackCommand.exec(new MyPullImageResultCallback());\n awaitPullCompletion(fallbackExec, imageName, buildJob, buildLogsMap);\n\n // Verify the fallback image was pulled successfully\n var inspectImageResponse = dockerClient.inspectImageCmd(imageName).exec();\n checkImageArchitecture(imageName, inspectImageResponse, buildJob, buildLogsMap);\n }\n catch (InterruptedException ie) {\n // See the primary pull above: the wrapper does not carry the interrupt status.\n Thread.currentThread().interrupt();\n throw new LocalCIException(\"Interrupted while pulling docker image \" + imageName + \" with amd64 fallback\", ie);\n }\n catch (Exception fallbackEx) {\n throw new LocalCIException(\"Error while pulling docker image \" + imageName + \" with amd64 fallback\", fallbackEx);\n }\n }\n else {\n throw new LocalCIException(\"Error while pulling docker image \" + imageName, ex);\n }\n }\n String msg2 = \"~~~~~~~~~~~~~~~~~~~~ Pulling docker image \" + imageName + \" done after \" + TimeLogUtil.formatDurationFrom(start) + \" ~~~~~~~~~~~~~~~~~~~~\";\n log.info(msg2);\n buildLogsMap.appendBuildLogEntry(buildJob.id(), msg2);\n }\n catch (Exception ex) {\n if (DockerUtil.isDockerNotAvailable(ex)) {\n log.warn(\"Docker is not available. Error while inspecting image {}: {}\", imageName, ex.getMessage());\n throw new LocalCIException(\"Docker is not available. Cannot pull image \" + imageName, ex);\n }\n throw new LocalCIException(\"Error while inspecting image \" + imageName, ex);\n }\n finally {\n lock.unlock();\n }\n }\n }\n\n /**\n * Waits for a Docker image pull to finish, aborting it once {@code artemis.continuous-integration.image-pull-timeout-seconds} has elapsed.\n *

\n * Without a timeout a pull that stops making progress, for example because a configured registry mirror silently drops packets, blocks the build thread forever.\n *

\n * The wait must not be sliced with docker-java's {@code awaitCompletion(timeout, unit)}: that method is built to be called once, after the pull has finished, and on\n * every call it runs {@code throwFirstError()} and closes the pull stream in its {@code finally} block. Used in a loop it aborts a healthy pull after the first\n * timed-out slice and throws {@code \"Could not pull image\"} as soon as a slice elapses, because a pull still in progress has no success response yet. The wait is\n * therefore sliced on the callback's own completion signal instead, and {@link MyPullImageResultCallback#throwIfPullFailed()} surfaces a genuine pull failure once the\n * pull has actually finished, exactly as {@code awaitCompletion} used to.\n *\n * @param callback the callback of the running pull command\n * @param imageName the name of the Docker image being pulled\n * @param buildJob the build job the pull belongs to\n * @param buildLogsMap a map for appending log entries related to the build process\n * @throws InterruptedException if the current thread is interrupted while waiting\n * @throws LocalCIException if the pull does not finish within the configured timeout\n */\n private void awaitPullCompletion(MyPullImageResultCallback callback, String imageName, BuildJobQueueItem buildJob, BuildLogsMap buildLogsMap) throws InterruptedException {\n final long pollIntervalNanos = TimeUnit.MILLISECONDS.toNanos(pullProgressPollIntervalMillis);\n final long deadlineNanos = System.nanoTime() + TimeUnit.SECONDS.toNanos(imagePullTimeoutSeconds);\n final long stallNanos = TimeUnit.SECONDS.toNanos(imagePullStallTimeoutSeconds);\n long lastProgressAtNanos = System.nanoTime();\n long lastProgressCount = callback.progressCount();\n\n while (true) {\n // Wait in slices rather than one long wait, so the pull can also be judged on whether it is still moving. A slice never reaches beyond the next deadline, so a\n // timeout shorter than the poll interval is honoured just as precisely as a longer one.\n long nowNanos = System.nanoTime();\n long sliceNanos = Math.max(0, Math.min(pollIntervalNanos, Math.min(lastProgressAtNanos + stallNanos - nowNanos, deadlineNanos - nowNanos)));\n try {\n if (callback.awaitFinished(sliceNanos, TimeUnit.NANOSECONDS)) {\n callback.throwIfPullFailed();\n return;\n }\n }\n catch (InterruptedException e) {\n try {\n callback.close();\n }\n catch (IOException closeException) {\n log.warn(\"Could not close the callback of the interrupted pull of docker image {}\", imageName, closeException);\n }\n Thread.currentThread().interrupt();\n throw e;\n }\n long progressCount = callback.progressCount();\n if (progressCount != lastProgressCount) {\n lastProgressCount = progressCount;\n lastProgressAtNanos = System.nanoTime();\n }\n if (System.nanoTime() - lastProgressAtNanos >= stallNanos) {\n abortPull(callback, imageName, buildJob, buildLogsMap,\n \"reported no progress for \" + imagePullStallTimeoutSeconds + \" seconds. The registry is most likely unreachable from this agent, for example \"\n + \"because a firewall drops the packets instead of refusing the connection\");\n }\n if (System.nanoTime() - deadlineNanos >= 0) {\n abortPull(callback, imageName, buildJob, buildLogsMap, \"did not finish within \" + imagePullTimeoutSeconds + \" seconds\");\n }\n }\n }\n\n /**\n * Closes the callback so the pull is really abandoned rather than left running in the background, then fails the build job.\n *\n * @param callback the callback of the running pull command\n * @param imageName the name of the Docker image being pulled\n * @param buildJob the build job the pull belongs to\n * @param buildLogsMap a map for appending log entries related to the build process\n * @param reason what went wrong, phrased to continue \"Pulling docker image ...\"\n */\n private static void abortPull(MyPullImageResultCallback callback, String imageName, BuildJobQueueItem buildJob, BuildLogsMap buildLogsMap, String reason) {\n try {\n callback.close();\n }\n catch (IOException e) {\n log.warn(\"Could not close the callback of the aborted pull of docker image {}\", imageName, e);\n }\n String msg = \"~~~~~~~~~~~~~~~~~~~~ Pulling docker image \" + imageName + \" \" + reason + \" ~~~~~~~~~~~~~~~~~~~~\";\n log.error(msg);\n buildLogsMap.appendBuildLogEntry(buildJob.id(), msg);\n throw new LocalCIException(\"Pulling docker image \" + imageName + \" \" + reason);\n }\n\n /**\n * Checks if the architecture of the Docker image is compatible with the current system.\n * On macOS ARM, amd64 images are allowed as they can run via Rosetta 2 emulation.\n *\n * @param imageName the name of the Docker image\n * @param inspectImageResponse the response from the inspect image command\n * @param buildJob the build job that includes the configuration with the name of the Docker image\n * @param buildLogsMap a map for appending log entries related to the build process\n */\n private void checkImageArchitecture(String imageName, InspectImageResponse inspectImageResponse, BuildJobQueueItem buildJob, BuildLogsMap buildLogsMap) {\n String actualArch = inspectImageResponse.getArch();\n // Skip check if the image doesn't report its architecture (empty or null)\n // This can happen with some multi-arch images or when architecture metadata is missing\n if (actualArch == null || actualArch.isEmpty()) {\n log.warn(\"Docker image {} does not report its architecture, skipping architecture check\", imageName);\n return;\n }\n\n // Allow amd64 images on macOS ARM via Rosetta 2 emulation\n if (isMacOS() && ARM64_ARCHITECTURE.equals(imageArchitecture) && AMD64_ARCHITECTURE.equals(actualArch)) {\n log.info(\"Docker image {} is amd64, running on macOS ARM via Rosetta 2 emulation\", imageName);\n return;\n }\n\n if (!imageArchitecture.equals(actualArch)) {\n var msg = \"Docker image \" + imageName + \" is not compatible with the current architecture. Needed 'linux/\" + imageArchitecture + \"', but got '\" + actualArch + \"'\";\n log.error(msg);\n buildLogsMap.appendBuildLogEntry(buildJob.id(), msg);\n throw new LocalCIException(msg);\n }\n }\n\n /**\n * Schedules the deletion of Docker images that have not been used within a specified number of days, determined by {@link #imageExpiryDays}.\n * The default schedule for this cleanup task is daily at 3:00 AM, configurable via the 'cleanup-schedule-time' property in the application settings.\n *

\n * The process involves:\n * - Checking if image cleanup is enabled; if disabled, the operation is aborted.\n * - Retrieving a map of Docker images and their last usage dates.\n * - Getting a set of image names that are not associated with any running containers.\n * - Removing images that have exceeded the configured expiry days and are not associated with any running containers.\n *

\n * Exception handling includes catching NotFoundException for cases where images are already deleted or not found during the cleanup process.\n *\n * @implNote This method relies on Docker commands to list images and containers, and uses Hazelcast for managing image usage data.\n * @throws NotFoundException if an attempt is made to delete an image that no longer exists on the Docker host.\n */\n\n @Scheduled(cron = \"${artemis.continuous-integration.image-cleanup.cleanup-schedule-time:0 0 3 * * *}\")\n public void deleteOldDockerImages() {\n if (!imageCleanupEnabled) {\n log.info(\"Docker image cleanup is disabled\");\n return;\n }\n\n if (dockerClientNotAvailable(\"Cannot delete old Docker images.\")) {\n return;\n }\n\n Set imageNames = getUnusedDockerImages();\n\n // Get map of docker images and their last build dates\n Map dockerImageCleanupInfo = distributedDataAccessService.getDockerImageCleanupInfoMap();\n\n // Delete images that have not been used for more than imageExpiryDays days\n for (String dockerImage : dockerImageCleanupInfo.keySet()) {\n if (imageNames.contains(dockerImage)) {\n if (dockerImageCleanupInfo.get(dockerImage).isBefore(ZonedDateTime.now().minusDays(imageExpiryDays))) {\n log.info(\"Remove docker image {} because it was not used for at least {} days\", dockerImage, imageExpiryDays);\n try (final var removeCommand = buildAgentConfiguration.getDockerClient().removeImageCmd(dockerImage)) {\n removeCommand.exec();\n }\n catch (NotFoundException e) {\n log.warn(\"Docker image {} not found during cleaning up old docker images\", dockerImage);\n }\n }\n }\n }\n }\n\n /**\n * Checks for available disk space and triggers the cleanup of old Docker images if the available space falls below\n * {@link BuildAgentDockerService#imageCleanupDiskSpaceThresholdMb}.\n *\n * @implNote - We use the Docker root directory to check disk space availability. This is in case the Docker images are stored on a separate partition.\n * - We need to iterate over the map entries since don't remove the oldest image from the map.\n */\n\n @Scheduled(fixedRateString = \"${artemis.continuous-integration.image-cleanup.disk-space-check-interval-minutes:60}\", initialDelayString = \"${artemis.continuous-integration.image-cleanup.disk-space-check-interval-minutes:60}\", timeUnit = TimeUnit.MINUTES)\n public void checkUsableDiskSpaceThenCleanUp() {\n if (!imageCleanupEnabled || dockerClientNotAvailable(\"Cannot check disk space for Docker image cleanup.\")) {\n return;\n }\n\n DockerClient dockerClient = buildAgentConfiguration.getDockerClient();\n try {\n // Get the Docker root directory to check disk space.\n Path dockerRootDirectory = Path.of(Objects.requireNonNullElse(dockerClient.infoCmd().exec().getDockerRootDir(), \"/\"));\n long usableSpace = Files.getFileStore(dockerRootDirectory).getUsableSpace();\n\n long threshold = convertMegabytesToBytes(imageCleanupDiskSpaceThresholdMb);\n\n if (usableSpace >= threshold) {\n return;\n }\n\n // Get map of docker images and their last build dates\n Map dockerImageCleanupInfo = distributedDataAccessService.getDockerImageCleanupInfoMap();\n\n // Get unused images\n Set unusedImages = getUnusedDockerImages();\n\n // Get a sorted list of images by last build date\n // We cast to ArrayList since we need the list to be mutable\n List> sortedImagesByLastBuildDate = dockerImageCleanupInfo.entrySet().stream().sorted(Map.Entry.comparingByValue()).toList();\n List> mutableSortedImagesByLastBuildDate = new java.util.ArrayList<>(sortedImagesByLastBuildDate);\n\n if (mutableSortedImagesByLastBuildDate.isEmpty()) {\n return;\n }\n\n int deleteAttempts = 5;\n int totalAttempts = mutableSortedImagesByLastBuildDate.size(); // We limit the total number of attempts to avoid infinite loops\n Map.Entry oldestImage = mutableSortedImagesByLastBuildDate.getFirst();\n while (oldestImage != null && usableSpace < threshold && deleteAttempts > 0 && totalAttempts > 0) {\n if (unusedImages.contains(oldestImage.getKey())) {\n log.info(\"Remove oldest docker image {} to cleanup disk space to avoid filling up the hard disk\", oldestImage.getKey());\n try {\n dockerClient.removeImageCmd(oldestImage.getKey()).exec();\n usableSpace = Files.getFileStore(dockerRootDirectory).getUsableSpace();\n deleteAttempts--;\n }\n catch (NotFoundException e) {\n log.warn(\"Docker image {} not found during disk cleanup\", oldestImage.getKey());\n }\n }\n mutableSortedImagesByLastBuildDate.remove(oldestImage);\n oldestImage = mutableSortedImagesByLastBuildDate.isEmpty() ? null : mutableSortedImagesByLastBuildDate.getFirst();\n totalAttempts--;\n }\n }\n catch (Exception e) {\n log.error(\"Error while checking disk space for Docker image cleanup: {}\", e.getMessage(), e);\n }\n }\n\n /**\n * Gets a set of Docker image names that are not associated with any running containers.\n *\n * @return a set of image names that are not associated with any running containers.\n */\n private Set getUnusedDockerImages() {\n // Callers (deleteOldDockerImages, checkUsableDiskSpaceThenCleanUp) already check dockerClientNotAvailable()\n DockerClient dockerClient = buildAgentConfiguration.getDockerClient();\n\n // Get list of all running containers\n List containers = dockerClient.listContainersCmd().exec();\n\n // Create a set of image IDs of containers in use\n Set imageIdsInUse = containers.stream().map(Container::getImageId).collect(Collectors.toSet());\n\n // Get list of all images\n List allImages = dockerClient.listImagesCmd().exec();\n\n // Filter out images that are in use\n List unusedImages = allImages.stream().filter(image -> !imageIdsInUse.contains(image.getId())).toList();\n\n Set imageNames = new HashSet<>();\n for (Image image : unusedImages) {\n String[] imageRepoTags = image.getRepoTags();\n if (imageRepoTags != null) {\n Collections.addAll(imageNames, imageRepoTags);\n }\n }\n return imageNames;\n }\n\n private long convertMegabytesToBytes(int mb) {\n long byteConversionRate = 1024L;\n return mb * byteConversionRate * byteConversionRate;\n }\n\n private boolean dockerClientNotAvailable(String additionalLogInfo) {\n DockerClient dockerClient = buildAgentConfiguration.getDockerClient();\n if (dockerClient == null) {\n BuildAgentStatus status = distributedDataAccessService.getBuildAgentStatus(buildAgentShortName);\n if ((status == BuildAgentStatus.PAUSED || status == BuildAgentStatus.SELF_PAUSED)) {\n log.info(\"Docker client is not available because the build agent is paused. {} This is expected behavior.\", additionalLogInfo);\n return true;\n }\n log.error(\"Docker client is not available. {}\", additionalLogInfo);\n return true;\n }\n if (!buildAgentConfiguration.isDockerAvailable()) {\n log.debug(\"Docker is not available. {}\", additionalLogInfo);\n return true;\n }\n return false;\n }\n\n /**\n * Checks if the current operating system is macOS.\n * macOS can run amd64 Docker images on ARM hardware via Rosetta 2 emulation.\n *\n * @return true if running on macOS, false otherwise\n */\n private boolean isMacOS() {\n String osName = System.getProperty(\"os.name\");\n return osName != null && osName.toLowerCase(Locale.ROOT).contains(\"mac\");\n }\n\n /**\n * Checks if the exception indicates that no matching manifest was found for the requested platform.\n * This typically occurs when trying to pull an ARM image that only has an AMD64 variant available.\n *\n * @param ex the exception to check\n * @return true if the exception indicates a missing platform manifest, false otherwise\n */\n private boolean isNoMatchingManifestError(Exception ex) {\n Set visited = Collections.newSetFromMap(new IdentityHashMap<>());\n Throwable cause = ex;\n while (cause != null && visited.add(cause)) {\n String message = cause.getMessage();\n if (message != null && message.contains(\"no matching manifest\")) {\n return true;\n }\n cause = cause.getCause();\n }\n return false;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/6abc3a95115652566ae5cd6b2f13294aadcb3da1.json b/web/public/bundles/artemis/code/6abc3a95115652566ae5cd6b2f13294aadcb3da1.json new file mode 100644 index 00000000..eb5128ff --- /dev/null +++ b/web/public/bundles/artemis/code/6abc3a95115652566ae5cd6b2f13294aadcb3da1.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6abc3a95115652566ae5cd6b2f13294aadcb3da1", + "language": "typescript", + "path": "src/main/webapp/app/hyperion/exercise-generation/hyperion-generation-support.ts", + "schema": "codexray.code/1", + "text": "import { ProgrammingExercise, ProgrammingLanguage, ProjectType } from 'app/programming/shared/entities/programming-exercise.model';\n\n/**\n * The sandbox verifies each exercise with its own build: Gradle for the two Gradle types and Maven for the two Maven types. The\n * dependency variants only differ in whether the sample template ships a third-party dependency. The server stays the authority.\n */\nconst SUPPORTED_PROJECT_TYPES: ReadonlySet = new Set([ProjectType.PLAIN_GRADLE, ProjectType.GRADLE_GRADLE, ProjectType.PLAIN_MAVEN, ProjectType.MAVEN_MAVEN]);\n\nexport function supportsHyperionExerciseGeneration(language: ProgrammingLanguage | undefined, projectType: ProjectType | null | undefined): boolean {\n return language === ProgrammingLanguage.JAVA && !!projectType && SUPPORTED_PROJECT_TYPES.has(projectType);\n}\n\n/** Both authoring pages must use the same document protocol for the same exercise. */\nexport function usesCanonicalProblemStatementSync(exercise: ProgrammingExercise | undefined, generationEnabled: boolean): boolean {\n return (\n generationEnabled &&\n !!exercise?.id &&\n !!exercise.isAtLeastEditor &&\n !exercise.exerciseGroup &&\n supportsHyperionExerciseGeneration(exercise.programmingLanguage, exercise.projectType)\n );\n}\n\n/**\n * The first reason an exercise cannot be generated or adapted, in the order an instructor can act on them: what the\n * exercise is comes before what has happened to it. Each value is a suffix of {@link HYPERION_GENERATION_BLOCKER_KEY}.\n */\nexport type HyperionGenerationBlocker =\n | 'unsupportedLanguage'\n | 'unsupportedProjectType'\n | 'examExercise'\n | 'staticCodeAnalysis'\n | 'sequentialTestRuns'\n | 'auxiliaryRepositories'\n | 'released'\n | 'studentParticipations';\n\nexport const HYPERION_GENERATION_BLOCKER_KEY = 'artemisApp.hyperion.generation.blocker.';\n\n/**\n * Client-side preflight only; the server rechecks permissions, participation state, and repository configuration.\n * An exercise without a release date is a draft still being authored, so only a release date that has passed counts\n * as released.\n *\n * @returns the blocker, or `undefined` when the exercise is an eligible draft\n */\nexport function hyperionGenerationBlocker(exercise: ProgrammingExercise, now: number): HyperionGenerationBlocker | undefined {\n if (exercise.programmingLanguage !== ProgrammingLanguage.JAVA) {\n return 'unsupportedLanguage';\n }\n if (!supportsHyperionExerciseGeneration(exercise.programmingLanguage, exercise.projectType)) {\n return 'unsupportedProjectType';\n }\n if (exercise.exerciseGroup) {\n return 'examExercise';\n }\n if (exercise.staticCodeAnalysisEnabled) {\n return 'staticCodeAnalysis';\n }\n if (exercise.buildConfig?.sequentialTestRuns) {\n return 'sequentialTestRuns';\n }\n if (exercise.auxiliaryRepositories?.length) {\n return 'auxiliaryRepositories';\n }\n if (exercise.releaseDate && exercise.releaseDate.valueOf() <= now) {\n return 'released';\n }\n if (exercise.studentParticipations?.length || exercise.numberOfParticipations) {\n return 'studentParticipations';\n }\n return undefined;\n}\n\nexport function isHyperionGenerationDraft(exercise: ProgrammingExercise | undefined, now: number): boolean {\n return !!exercise && hyperionGenerationBlocker(exercise, now) === undefined;\n}\n" +} diff --git a/web/public/bundles/artemis/code/6abd3fc016010e4d0105fa8ae499e363cb9d69de.json b/web/public/bundles/artemis/code/6abd3fc016010e4d0105fa8ae499e363cb9d69de.json new file mode 100644 index 00000000..b0a57255 --- /dev/null +++ b/web/public/bundles/artemis/code/6abd3fc016010e4d0105fa8ae499e363cb9d69de.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6abd3fc016010e4d0105fa8ae499e363cb9d69de", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionCourseSettingsService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.hyperion.service;\n\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.course.repository.CourseRepository;\nimport de.tum.cit.aet.artemis.hyperion.config.HyperionEnabled;\nimport de.tum.cit.aet.artemis.hyperion.domain.HyperionCourseSettings;\nimport de.tum.cit.aet.artemis.hyperion.domain.HyperionCourseSettingsEntity;\nimport de.tum.cit.aet.artemis.hyperion.repository.HyperionCourseSettingsRepository;\n\n/**\n * Reads and writes the Hyperion settings of a course.\n *

\n * Every course owns one settings row from its creation. A course whose row is missing reads as the defaults, and an update adds the\n * missing row before it writes.\n */\n@Service\n@Lazy\n@Conditional(HyperionEnabled.class)\npublic class HyperionCourseSettingsService {\n\n private final HyperionCourseSettingsRepository settingsRepository;\n\n private final CourseRepository courseRepository;\n\n public HyperionCourseSettingsService(HyperionCourseSettingsRepository settingsRepository, CourseRepository courseRepository) {\n this.settingsRepository = settingsRepository;\n this.courseRepository = courseRepository;\n }\n\n /**\n * Returns the settings of a course, or the defaults when the course has no settings row.\n *\n * @param courseId the course\n * @return the settings\n */\n public HyperionCourseSettings getSettings(long courseId) {\n return settingsRepository.findByCourseId(courseId).map(HyperionCourseSettingsEntity::getSettings).orElseGet(HyperionCourseSettings::defaultSettings);\n }\n\n /**\n * Replaces the settings of a course in place. A course whose settings row is missing receives its default rows first.\n *\n * @param courseId the course\n * @param settings the settings to store\n * @return the stored settings\n */\n public HyperionCourseSettings updateSettings(long courseId, HyperionCourseSettings settings) {\n if (settingsRepository.updateSettings(courseId, settings) == 0) {\n courseRepository.ensureDefaultConfigurations(courseId);\n settingsRepository.updateSettings(courseId, settings);\n }\n return settings;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/6ade31f89f0f336ef3719a7d0abcb80d3a8ebdba.json b/web/public/bundles/artemis/code/6ade31f89f0f336ef3719a7d0abcb80d3a8ebdba.json new file mode 100644 index 00000000..89dfa22b --- /dev/null +++ b/web/public/bundles/artemis/code/6ade31f89f0f336ef3719a7d0abcb80d3a8ebdba.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6ade31f89f0f336ef3719a7d0abcb80d3a8ebdba", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/service/FaqService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.communication.service;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\n\nimport java.util.Optional;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.scheduling.annotation.Async;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.communication.domain.FaqState;\nimport de.tum.cit.aet.artemis.communication.repository.FaqRepository;\nimport de.tum.cit.aet.artemis.iris.api.PyrisFaqApi;\n\n@Profile(PROFILE_CORE)\n@Lazy\n@Service\npublic class FaqService {\n\n private static final Logger log = LoggerFactory.getLogger(FaqService.class);\n\n private final Optional pyrisFaqApi;\n\n private final FaqRepository faqRepository;\n\n public FaqService(FaqRepository faqRepository, Optional pyrisFaqApi) {\n this.pyrisFaqApi = pyrisFaqApi;\n this.faqRepository = faqRepository;\n }\n\n /**\n * Remove a deleted FAQ from Iris without delaying the request. Only ids cross the async boundary, so this also works\n * after the local FAQ has been deleted. Reconciliation retries failures.\n *\n * @param faqId the deleted FAQ\n * @param courseId its course\n */\n @Async(\"faqTaskExecutor\")\n public void deleteFaqInPyris(long faqId, long courseId) {\n if (pyrisFaqApi.isEmpty()) {\n return;\n }\n try {\n pyrisFaqApi.get().deleteFaq(faqId, courseId);\n }\n catch (RuntimeException e) {\n log.warn(\"Could not delete FAQ {} of course {} from Iris; reconciliation will retry\", faqId, courseId, e);\n }\n }\n\n /**\n * Synchronize a saved FAQ with Iris in the background. Read the current persisted state on the worker instead of passing\n * a managed entity between threads or sending an older edit that waited in the queue. An FAQ that is no longer accepted\n * is removed from Iris. Reconciliation retries failures.\n *\n * @param faqId the saved FAQ\n */\n @Async(\"faqTaskExecutor\")\n public void autoIngestFaqIntoPyris(long faqId) {\n if (pyrisFaqApi.isEmpty()) {\n return;\n }\n try {\n faqRepository.findById(faqId).ifPresent(faq -> {\n if (faq.getFaqState() == FaqState.ACCEPTED) {\n pyrisFaqApi.get().addFaq(faq);\n }\n else {\n pyrisFaqApi.get().deleteFaq(faq.getId(), faq.getCourse().getId());\n }\n });\n }\n catch (RuntimeException e) {\n log.warn(\"Could not synchronize FAQ {} with Iris; reconciliation will retry\", faqId, e);\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/6ba99604909c5c135620aaf4c348536f92bd6899.json b/web/public/bundles/artemis/code/6ba99604909c5c135620aaf4c348536f92bd6899.json new file mode 100644 index 00000000..a81244ed --- /dev/null +++ b/web/public/bundles/artemis/code/6ba99604909c5c135620aaf4c348536f92bd6899.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6ba99604909c5c135620aaf4c348536f92bd6899", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/TutorialGroupsConfigurationResponseDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.course.dto;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.tutorialgroup.domain.TutorialGroupsConfiguration;\n\n/**\n * Tutorial-group period and channel settings exposed with an authorized course response.\n *\n * @param id the configuration identifier\n * @param tutorialPeriodStartInclusive the inclusive tutorial-period start in ISO-8601 format\n * @param tutorialPeriodEndInclusive the inclusive tutorial-period end in ISO-8601 format\n * @param useTutorialGroupChannels whether tutorial-group channels are created\n * @param usePublicTutorialGroupChannels whether those channels are public\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record TutorialGroupsConfigurationResponseDTO(long id, String tutorialPeriodStartInclusive, String tutorialPeriodEndInclusive, boolean useTutorialGroupChannels,\n boolean usePublicTutorialGroupChannels) {\n\n /**\n * Maps tutorial-group settings without free periods or the course back-reference.\n *\n * @param configuration the tutorial-group configuration\n * @return the tutorial-group configuration response\n */\n public static TutorialGroupsConfigurationResponseDTO of(TutorialGroupsConfiguration configuration) {\n return new TutorialGroupsConfigurationResponseDTO(configuration.getId(), configuration.getTutorialPeriodStartInclusive(), configuration.getTutorialPeriodEndInclusive(),\n configuration.getUseTutorialGroupChannels(), configuration.getUsePublicTutorialGroupChannels());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/6bd2f9b97708e6ada577b000317ddec7d568bb31.json b/web/public/bundles/artemis/code/6bd2f9b97708e6ada577b000317ddec7d568bb31.json new file mode 100644 index 00000000..64fb49bf --- /dev/null +++ b/web/public/bundles/artemis/code/6bd2f9b97708e6ada577b000317ddec7d568bb31.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6bd2f9b97708e6ada577b000317ddec7d568bb31", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/domain/SavedPost.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.communication.domain;\n\nimport java.time.ZonedDateTime;\n\nimport jakarta.persistence.Column;\nimport jakarta.persistence.Entity;\nimport jakarta.persistence.EnumType;\nimport jakarta.persistence.Enumerated;\nimport jakarta.persistence.JoinColumn;\nimport jakarta.persistence.ManyToOne;\nimport jakarta.persistence.Table;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.core.domain.DomainObject;\nimport de.tum.cit.aet.artemis.core.domain.Parent;\n\n@Entity\n@Table(name = \"saved_post\")\npublic class SavedPost extends DomainObject {\n\n @ManyToOne\n @JoinColumn(name = \"user_id\", nullable = false)\n @Parent\n private User user;\n\n @Column(name = \"post_id\", nullable = false)\n private Long postId;\n\n @Enumerated(EnumType.STRING)\n @Column(name = \"post_type\", nullable = false)\n private PostingType postType;\n\n @Enumerated(EnumType.STRING)\n @Column(name = \"status\", nullable = false)\n private SavedPostStatus status;\n\n @Column(name = \"completed_at\")\n private ZonedDateTime completedAt;\n\n public SavedPost() {\n }\n\n public SavedPost(User user, Long postId, PostingType postType, SavedPostStatus status, ZonedDateTime completedAt) {\n this.user = user;\n this.postId = postId;\n this.postType = postType;\n this.status = status;\n this.completedAt = completedAt;\n }\n\n public Long getPostId() {\n return postId;\n }\n\n public void setPostId(Long postId) {\n this.postId = postId;\n }\n\n public void setStatus(SavedPostStatus status) {\n this.status = status;\n }\n\n public User getUser() {\n return user;\n }\n\n public SavedPostStatus getStatus() {\n return status;\n }\n\n public void setCompletedAt(ZonedDateTime completedAt) {\n this.completedAt = completedAt;\n }\n\n public void setPostType(PostingType postType) {\n this.postType = postType;\n }\n\n public PostingType getPostType() {\n return postType;\n }\n\n public ZonedDateTime getCompletedAt() {\n return completedAt;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/6c66e28e6c8463df86e171dc125c3f253376d49a.json b/web/public/bundles/artemis/code/6c66e28e6c8463df86e171dc125c3f253376d49a.json new file mode 100644 index 00000000..65ae24b5 --- /dev/null +++ b/web/public/bundles/artemis/code/6c66e28e6c8463df86e171dc125c3f253376d49a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6c66e28e6c8463df86e171dc125c3f253376d49a", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/TeamImportDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exercise.dto;\n\nimport java.util.HashSet;\nimport java.util.Set;\n\nimport jakarta.validation.constraints.NotNull;\nimport jakarta.validation.constraints.Size;\n\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.exercise.domain.Team;\n\n/**\n * DTO for importing teams from a list.\n * Students are identified by login or registration number (not database IDs).\n *\n * @param name the name of the team\n * @param shortName the short name of the team\n * @param image the image URL of the team\n * @param students the set of student identifiers (login or registration number)\n */\n@JsonIgnoreProperties(ignoreUnknown = true)\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record TeamImportDTO(@NotNull @Size(max = 250) String name, @NotNull @Size(max = 10) String shortName, @Nullable @Size(max = 500) String image,\n @Nullable Set students) {\n\n /**\n * Returns the students, defaulting to an empty set if null.\n */\n public Set studentsOrEmpty() {\n return students != null ? students : new HashSet<>();\n }\n\n /**\n * DTO for identifying a student by login or registration number.\n *\n * @param login the login of the student\n * @param visibleRegistrationNumber the visible registration number of the student\n */\n @JsonInclude(JsonInclude.Include.NON_EMPTY)\n public record StudentIdentifierDTO(@Nullable String login, @Nullable String visibleRegistrationNumber) {\n\n /**\n * Converts this identifier to a User object for lookup.\n *\n * @return a User with login or registration number set\n */\n public User toUser() {\n User user = new User();\n user.setLogin(login);\n user.setVisibleRegistrationNumber(visibleRegistrationNumber);\n return user;\n }\n }\n\n /**\n * Converts this DTO to a Team entity.\n * Note: The resulting team has students with only login/registration numbers set,\n * which need to be resolved to actual users later.\n *\n * @return a new Team entity\n */\n public Team toTeam() {\n Team team = new Team();\n team.setName(name);\n team.setShortName(shortName);\n team.setImage(image);\n\n Set studentUsers = new HashSet<>();\n for (StudentIdentifierDTO studentId : studentsOrEmpty()) {\n studentUsers.add(studentId.toUser());\n }\n team.setStudents(studentUsers);\n\n return team;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/6cfb4b5c79b3ee22d2904f073a4668c948bd514a.json b/web/public/bundles/artemis/code/6cfb4b5c79b3ee22d2904f073a4668c948bd514a.json new file mode 100644 index 00000000..dc877cb5 --- /dev/null +++ b/web/public/bundles/artemis/code/6cfb4b5c79b3ee22d2904f073a4668c948bd514a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6cfb4b5c79b3ee22d2904f073a4668c948bd514a", + "language": "typescript", + "path": "src/main/webapp/app/fileupload/shared/entities/file-upload-submission.model.ts", + "schema": "codexray.code/1", + "text": "import { Submission } from 'app/exercise/shared/entities/submission/submission.model';\nimport { SubmissionType } from 'app/exercise/shared/entities/submission/submission-type.model';\nimport { SubmissionExerciseType } from 'app/exercise/shared/entities/submission/submission-exercise-type.model';\nimport { addPublicFilePrefix } from 'app/app.constants';\nimport { StudentParticipation } from 'app/exercise/shared/entities/participation/student-participation.model';\nimport { Result } from 'app/exercise/shared/entities/result/result.model';\nimport dayjs from 'dayjs/esm';\nimport { InitializationState, ParticipationType } from 'app/exercise/shared/entities/participation/participation.model';\nimport { AssessmentType } from 'app/assessment/shared/entities/assessment-type.model';\nimport { ExerciseType } from 'app/exercise/shared/entities/exercise/exercise.model';\nimport { GradingCriterionDTO } from 'app/exercise/shared/exercise-update-shared-dto.model';\n\nexport interface FileUploadSubmissionInputDTO {\n id?: number;\n submitted: boolean;\n exerciseId?: number;\n}\n\nexport interface FileUploadCourseContextDTO {\n id?: number;\n title?: string;\n shortName?: string;\n accuracyOfScores?: number;\n maxComplaints?: number;\n maxTeamComplaints?: number;\n maxComplaintTimeDays?: number;\n maxRequestMoreFeedbackTimeDays?: number;\n maxComplaintTextLimit?: number;\n maxComplaintResponseTextLimit?: number;\n complaintsEnabled?: boolean;\n requestMoreFeedbackEnabled?: boolean;\n}\n\nexport interface FileUploadExamContextDTO {\n id?: number;\n course?: FileUploadCourseContextDTO;\n}\n\nexport interface FileUploadExerciseGroupContextDTO {\n id?: number;\n exam?: FileUploadExamContextDTO;\n}\n\nexport interface FileUploadExerciseContextDTO {\n id?: number;\n title?: string;\n problemStatement?: string;\n gradingInstructions?: string;\n exampleSolution?: string;\n releaseDate?: dayjs.Dayjs;\n startDate?: dayjs.Dayjs;\n dueDate?: dayjs.Dayjs;\n assessmentDueDate?: dayjs.Dayjs;\n maxPoints?: number;\n bonusPoints?: number;\n assessmentType?: AssessmentType;\n allowComplaintsForAutomaticAssessments?: boolean;\n allowFeedbackRequests?: boolean;\n type?: ExerciseType;\n filePattern?: string;\n teamMode?: boolean;\n isAtLeastTutor?: boolean;\n isAtLeastEditor?: boolean;\n isAtLeastInstructor?: boolean;\n course?: FileUploadCourseContextDTO;\n exerciseGroup?: FileUploadExerciseGroupContextDTO;\n gradingCriteria?: GradingCriterionDTO[];\n}\n\nexport interface FileUploadParticipationDTO {\n id?: number;\n initializationState?: InitializationState;\n initializationDate?: dayjs.Dayjs;\n individualDueDate?: dayjs.Dayjs;\n presentationScore?: number;\n submissionCount?: number;\n type?: ParticipationType;\n testRun?: boolean;\n participantName?: string;\n participantIdentifier?: string;\n isOwner?: boolean;\n exercise?: FileUploadExerciseContextDTO;\n}\n\nexport interface FileUploadSubmissionDTO {\n id?: number;\n submitted?: boolean;\n submissionDate?: dayjs.Dayjs;\n type?: SubmissionType;\n exampleSubmission?: boolean;\n submissionExerciseType?: SubmissionExerciseType;\n durationInMinutes?: number;\n filePath?: string;\n participation?: FileUploadParticipationDTO;\n results?: Result[];\n}\n\nexport class FileUploadParticipation extends StudentParticipation {\n public isOwner?: boolean;\n}\n\nexport class FileUploadSubmission extends Submission {\n public filePath?: string;\n public filePathUrl?: string;\n\n constructor() {\n super(SubmissionExerciseType.FILE_UPLOAD);\n this.filePathUrl = addPublicFilePrefix(this.filePath);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/6d18da7c1eba363622644a5f9642ec38043ae53f.json b/web/public/bundles/artemis/code/6d18da7c1eba363622644a5f9642ec38043ae53f.json new file mode 100644 index 00000000..a332b186 --- /dev/null +++ b/web/public/bundles/artemis/code/6d18da7c1eba363622644a5f9642ec38043ae53f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6d18da7c1eba363622644a5f9642ec38043ae53f", + "language": "typescript", + "path": "src/main/webapp/app/plagiarism/manage/plagiarism-header/plagiarism-header.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, inject, input, signal } from '@angular/core';\nimport { Subject } from 'rxjs';\nimport { PlagiarismStatus } from 'app/plagiarism/shared/entities/PlagiarismStatus';\nimport { PlagiarismCasesService } from 'app/plagiarism/shared/services/plagiarism-cases.service';\nimport { TranslateService } from '@ngx-translate/core';\nimport { TumAetUiButtonDirective } from '@tumaet/ui-angular/button';\nimport { TumAetUiConfirmDialogComponent, TumAetUiConfirmationService } from '@tumaet/ui-angular/confirm-dialog';\nimport { Exercise, getCourseId } from 'app/exercise/shared/entities/exercise/exercise.model';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { RouterModule } from '@angular/router';\nimport { faCircleInfo } from '@fortawesome/free-solid-svg-icons';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { AlertService } from 'app/foundation/service/alert.service';\nimport { PlagiarismComparison } from 'app/plagiarism/shared/entities/PlagiarismComparison';\n\n@Component({\n selector: 'jhi-plagiarism-header',\n styleUrls: ['./plagiarism-header.component.css'],\n templateUrl: './plagiarism-header.component.html',\n imports: [TranslateDirective, ArtemisTranslatePipe, RouterModule, FaIconComponent, TumAetUiButtonDirective, TumAetUiConfirmDialogComponent],\n providers: [TumAetUiConfirmationService],\n})\nexport class PlagiarismHeaderComponent {\n private plagiarismCasesService = inject(PlagiarismCasesService);\n private confirmationService = inject(TumAetUiConfirmationService);\n private translateService = inject(TranslateService);\n private alertService = inject(AlertService);\n\n readonly comparison = input();\n readonly exercise = input.required();\n readonly splitControlSubject = input.required>();\n\n readonly plagiarismStatus = PlagiarismStatus;\n readonly isLoading = signal(false);\n\n /**\n * Set the status of the currently selected comparison to CONFIRMED.\n */\n confirmPlagiarism() {\n this.updatePlagiarismStatus(PlagiarismStatus.CONFIRMED);\n }\n\n /**\n * Set the status of the currently selected comparison to DENIED.\n */\n denyPlagiarism() {\n if (this.comparison()?.status === PlagiarismStatus.CONFIRMED) {\n this.askForConfirmationOfDenying(() => this.updatePlagiarismStatus(PlagiarismStatus.DENIED));\n } else {\n this.updatePlagiarismStatus(PlagiarismStatus.DENIED);\n }\n }\n\n private askForConfirmationOfDenying(onConfirm: () => void) {\n this.isLoading.set(true);\n\n this.confirmationService.confirm({\n header: this.translateService.instant('artemisApp.plagiarism.denyAfterConfirmModalTitle'),\n message: this.translateService.instant('artemisApp.plagiarism.denyAfterConfirmModalText'),\n acceptLabel: this.translateService.instant('global.form.confirm'),\n acceptSeverity: 'danger',\n rejectLabel: this.translateService.instant('global.form.cancel'),\n accept: onConfirm,\n reject: () => this.isLoading.set(false),\n });\n }\n\n /**\n * Update the status of the currently selected comparison.\n * @param status the new status of the comparison\n */\n updatePlagiarismStatus(status: PlagiarismStatus) {\n this.isLoading.set(true);\n // store comparison in variable in case comparison changes while request is made\n const comparison = this.comparison();\n if (comparison && comparison.id) {\n const courseId = getCourseId(this.exercise());\n if (courseId === undefined) {\n this.alertService.error('error.courseIdUndefined');\n this.isLoading.set(false);\n return;\n }\n this.plagiarismCasesService.updatePlagiarismComparisonStatus(courseId, comparison.id, status).subscribe(() => {\n comparison.status = status;\n this.isLoading.set(false);\n });\n }\n }\n\n expandSplitPane(pane: 'left' | 'right') {\n this.splitControlSubject()?.next(pane);\n }\n\n resetSplitPanes() {\n this.splitControlSubject()?.next('even');\n }\n\n protected readonly faCircleInfo = faCircleInfo;\n}\n" +} diff --git a/web/public/bundles/artemis/code/6d90da78d8b0ca70613b0ea505b1ac9860719baa.json b/web/public/bundles/artemis/code/6d90da78d8b0ca70613b0ea505b1ac9860719baa.json new file mode 100644 index 00000000..e4039254 --- /dev/null +++ b/web/public/bundles/artemis/code/6d90da78d8b0ca70613b0ea505b1ac9860719baa.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6d90da78d8b0ca70613b0ea505b1ac9860719baa", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/domain/message/IrisMessage.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.iris.domain.message;\n\nimport java.time.ZonedDateTime;\nimport java.util.ArrayList;\nimport java.util.List;\n\nimport jakarta.persistence.CascadeType;\nimport jakarta.persistence.Column;\nimport jakarta.persistence.Convert;\nimport jakarta.persistence.Entity;\nimport jakarta.persistence.EnumType;\nimport jakarta.persistence.Enumerated;\nimport jakarta.persistence.FetchType;\nimport jakarta.persistence.JoinColumn;\nimport jakarta.persistence.ManyToOne;\nimport jakarta.persistence.OneToMany;\nimport jakarta.persistence.OrderColumn;\nimport jakarta.persistence.Table;\nimport jakarta.persistence.Transient;\n\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonIgnore;\nimport com.fasterxml.jackson.annotation.JsonInclude;\nimport com.fasterxml.jackson.annotation.JsonProperty;\n\nimport de.tum.cit.aet.artemis.core.domain.DomainObject;\nimport de.tum.cit.aet.artemis.core.domain.Parent;\nimport de.tum.cit.aet.artemis.core.util.ArtemisApp;\nimport de.tum.cit.aet.artemis.iris.domain.session.IrisSession;\nimport de.tum.cit.aet.artemis.iris.service.pyris.dto.status.PyrisActivityDTO;\n\n/**\n * An IrisMessage represents a single message in an IrisSession.\n * The message may contain multiple pieces of content with different types.\n */\n@Entity\n@Table(name = \"iris_message\")\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic class IrisMessage extends DomainObject {\n\n @ManyToOne(optional = false)\n @JoinColumn(name = \"session_id\")\n @JsonIgnore\n @Parent\n private IrisSession session;\n\n @Nullable\n @Column(name = \"sent_at\")\n private ZonedDateTime sentAt = ZonedDateTime.now();\n\n @Nullable\n @Column(name = \"helpful\")\n private Boolean helpful;\n\n @Column(name = \"sender\")\n @Enumerated(EnumType.STRING)\n private IrisMessageSender sender;\n\n /**\n * The Artemis app a user message was sent from (iOS/Android), resolved from the request {@code User-Agent}.\n * {@code null} for messages sent from a web browser, from an unrecognized client, or for non-user messages.\n */\n @Nullable\n @Column(name = \"sender_origin\")\n @Enumerated(EnumType.STRING)\n private ArtemisApp senderOrigin;\n\n @Nullable\n @Enumerated(EnumType.STRING)\n @Column(name = \"origin\")\n private IrisMessageOrigin origin;\n\n @Nullable\n @Enumerated(EnumType.STRING)\n @Column(name = \"proactive_outcome\")\n private IrisProactiveOutcome proactiveOutcome;\n\n @Nullable\n @Column(name = \"proactive_episode_id\")\n private String proactiveEpisodeId;\n\n /**\n * The exercise the proactive message was decided for, stamped at insert time. Deliberately NOT derived from\n * {@code session.entityId}: a session is born a COURSE_CHAT and its mode/entityId change on every context switch,\n * so the session is not a durable record of which exercise a row belongs to. Episode lookups scope by this column\n * so an episode id reused across two exercises cannot make one exercise's outcome terminal for the other.\n */\n @Nullable\n @Column(name = \"proactive_exercise_id\")\n private Long proactiveExerciseId;\n\n @OrderColumn(name = \"iris_message_content_order\")\n @OneToMany(mappedBy = \"message\", fetch = FetchType.EAGER, cascade = CascadeType.ALL, orphanRemoval = true)\n private List content = new ArrayList<>();\n\n /**\n * Deliberately not annotated {@code @Lob}. The column is plain text on both databases - Liquibase {@code clob}\n * becomes {@code longtext} on MySQL and {@code text} on PostgreSQL - whereas a CLOB on PostgreSQL is a large\n * object: Hibernate binds and extracts the column as an {@code oid}, so reading a row whose {@code tool_activity}\n * holds the converted JSON fails with \"Bad value for type long\". Without the annotation the converted JSON is\n * bound and extracted as a string, which round-trips on both databases.\n */\n @Nullable\n @Convert(converter = IrisMessageToolActivityConverter.class)\n @Column(name = \"tool_activity\")\n private List toolActivity;\n\n @Nullable\n @Column(name = \"intermediate\")\n private Boolean intermediate;\n\n @Transient\n private Integer messageDifferentiator; // is supposed to be only a part of the dto and helps the client application to differentiate messages it should add to the message store\n\n public IrisSession getSession() {\n return session;\n }\n\n public void setSession(IrisSession session) {\n this.session = session;\n }\n\n @Nullable\n public ZonedDateTime getSentAt() {\n return sentAt;\n }\n\n public void setSentAt(@Nullable ZonedDateTime sentAt) {\n this.sentAt = sentAt;\n }\n\n @Nullable\n public Boolean getHelpful() {\n return helpful;\n }\n\n public void setHelpful(@Nullable Boolean helpful) {\n this.helpful = helpful;\n }\n\n public IrisMessageSender getSender() {\n return sender;\n }\n\n public void setSender(IrisMessageSender sender) {\n this.sender = sender;\n }\n\n @Nullable\n public ArtemisApp getSenderOrigin() {\n return senderOrigin;\n }\n\n public void setSenderOrigin(@Nullable ArtemisApp senderOrigin) {\n this.senderOrigin = senderOrigin;\n }\n\n @Nullable\n public IrisMessageOrigin getOrigin() {\n return origin;\n }\n\n public void setOrigin(@Nullable IrisMessageOrigin origin) {\n this.origin = origin;\n }\n\n @Nullable\n public IrisProactiveOutcome getProactiveOutcome() {\n return proactiveOutcome;\n }\n\n public void setProactiveOutcome(@Nullable IrisProactiveOutcome proactiveOutcome) {\n this.proactiveOutcome = proactiveOutcome;\n }\n\n @Nullable\n public String getProactiveEpisodeId() {\n return proactiveEpisodeId;\n }\n\n public void setProactiveEpisodeId(@Nullable String proactiveEpisodeId) {\n this.proactiveEpisodeId = proactiveEpisodeId;\n }\n\n @Nullable\n public Long getProactiveExerciseId() {\n return proactiveExerciseId;\n }\n\n public void setProactiveExerciseId(@Nullable Long proactiveExerciseId) {\n this.proactiveExerciseId = proactiveExerciseId;\n }\n\n public List getContent() {\n return content;\n }\n\n public void setContent(List content) {\n this.content = content;\n }\n\n public void addContent(IrisMessageContent... content) {\n for (IrisMessageContent messageContent : content) {\n messageContent.setMessage(this);\n this.content.add(messageContent);\n }\n }\n\n @Nullable\n public List getToolActivity() {\n return toolActivity;\n }\n\n public void setToolActivity(@Nullable List toolActivity) {\n this.toolActivity = toolActivity;\n }\n\n @Nullable\n public Boolean getIntermediate() {\n return intermediate;\n }\n\n public void setIntermediate(@Nullable Boolean intermediate) {\n this.intermediate = intermediate;\n }\n\n @JsonProperty\n public Integer getMessageDifferentiator() {\n return messageDifferentiator;\n }\n\n @JsonProperty\n public void setMessageDifferentiator(Integer messageDifferentiator) {\n this.messageDifferentiator = messageDifferentiator;\n }\n\n @Override\n public String toString() {\n return \"IrisMessage{\" + \"id=\" + getId() + \", session=\" + session + \", sentAt=\" + sentAt + \", helpful=\" + helpful + \", sender=\" + sender + \", content=\" + content\n + \", toolActivity=\" + toolActivity + \", intermediate=\" + intermediate + \", messageDifferentiator=\" + messageDifferentiator + '}';\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/6db29e1bc491fee78a9b68ab858415f7b90c8fa0.json b/web/public/bundles/artemis/code/6db29e1bc491fee78a9b68ab858415f7b90c8fa0.json new file mode 100644 index 00000000..1cfd872d --- /dev/null +++ b/web/public/bundles/artemis/code/6db29e1bc491fee78a9b68ab858415f7b90c8fa0.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6db29e1bc491fee78a9b68ab858415f7b90c8fa0", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/repository/TutorialGroupRepository.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.tutorialgroup.repository;\n\nimport java.util.Optional;\nimport java.util.Set;\n\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.data.jpa.repository.Query;\nimport org.springframework.data.repository.query.Param;\nimport org.springframework.stereotype.Repository;\n\nimport de.tum.cit.aet.artemis.communication.domain.conversation.Channel;\nimport de.tum.cit.aet.artemis.core.repository.base.ArtemisJpaRepository;\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.tutorialgroup.config.TutorialGroupEnabled;\nimport de.tum.cit.aet.artemis.tutorialgroup.domain.TutorialGroup;\nimport de.tum.cit.aet.artemis.tutorialgroup.dto.TutorialGroupStudentDTO;\nimport de.tum.cit.aet.artemis.tutorialgroup.util.RawTutorialGroupDTO;\n\n@Conditional(TutorialGroupEnabled.class)\n@Lazy\n@Repository\npublic interface TutorialGroupRepository extends ArtemisJpaRepository {\n\n /**\n * @param courseIds the courses\n * @return the number of tutorial groups of these courses\n */\n long countByCourseIdIn(Set courseIds);\n\n @Query(\"\"\"\n SELECT tutorialGroup\n FROM TutorialGroup tutorialGroup\n LEFT JOIN FETCH tutorialGroup.tutorialGroupChannel\n WHERE tutorialGroup.id = :tutorialGroupId\n \"\"\")\n Optional getTutorialGroupWithChannel(@Param(\"tutorialGroupId\") Long tutorialGroupId);\n\n @Query(\"\"\"\n SELECT tutorialGroup.title\n FROM TutorialGroup tutorialGroup\n WHERE tutorialGroup.id = :tutorialGroupId\n \"\"\")\n Optional getTutorialGroupTitle(@Param(\"tutorialGroupId\") Long tutorialGroupId);\n\n @Query(\"\"\"\n SELECT DISTINCT tutorialGroup.language\n FROM TutorialGroup tutorialGroup\n WHERE tutorialGroup.course.id = :courseId\n AND tutorialGroup.language IS NOT NULL\n \"\"\")\n Set findAllUniqueLanguageValuesByCourseId(@Param(\"courseId\") Long courseId);\n\n @Query(\"\"\"\n SELECT tutorialGroup\n FROM TutorialGroup tutorialGroup\n WHERE tutorialGroup.course.id = :courseId\n ORDER BY tutorialGroup.title\n \"\"\")\n Set findAllByCourseId(@Param(\"courseId\") Long courseId);\n\n @Query(\"\"\"\n SELECT DISTINCT tutorialGroup.id\n FROM TutorialGroup tutorialGroup\n JOIN tutorialGroup.course course\n LEFT JOIN tutorialGroup.registrations registration\n LEFT JOIN registration.student student\n LEFT JOIN tutorialGroup.teachingAssistant teachingAssistant\n WHERE (student.id = :userId OR teachingAssistant.id = :userId) AND (course.id = :courseId)\n \"\"\")\n Set findTutorialGroupIdsWhereUserParticipatesForCourseId(@Param(\"courseId\") long courseId, @Param(\"userId\") long userId);\n\n @Query(\"\"\"\n SELECT tutorialGroup\n FROM TutorialGroup tutorialGroup\n LEFT JOIN FETCH tutorialGroup.tutorialGroupChannel\n WHERE tutorialGroup.course.id = :courseId\n ORDER BY tutorialGroup.title\n \"\"\")\n Set findAllByCourseIdWithChannel(@Param(\"courseId\") Long courseId);\n\n boolean existsByTitleAndCourse(String title, Course course);\n\n boolean existsByIdAndCourse_Id(Long id, Long courseId);\n\n @Query(\"\"\"\n SELECT tutorialGroup\n FROM TutorialGroup tutorialGroup\n LEFT JOIN FETCH tutorialGroup.teachingAssistant\n LEFT JOIN FETCH tutorialGroup.registrations\n LEFT JOIN FETCH tutorialGroup.tutorialGroupSessions\n LEFT JOIN FETCH tutorialGroup.tutorialGroupSchedule\n LEFT JOIN FETCH tutorialGroup.tutorialGroupChannel\n WHERE tutorialGroup.course.id = :courseId\n ORDER BY tutorialGroup.title\n \"\"\")\n Set findAllByCourseIdWithTeachingAssistantRegistrationsAndSchedule(@Param(\"courseId\") Long courseId);\n\n @Query(\"\"\"\n SELECT tutorialGroup\n FROM TutorialGroup tutorialGroup\n LEFT JOIN FETCH tutorialGroup.teachingAssistant\n LEFT JOIN FETCH tutorialGroup.registrations\n LEFT JOIN FETCH tutorialGroup.tutorialGroupSessions\n LEFT JOIN FETCH tutorialGroup.tutorialGroupSchedule\n LEFT JOIN FETCH tutorialGroup.tutorialGroupChannel\n WHERE tutorialGroup.id = :tutorialGroupId\n \"\"\")\n Optional findByIdWithTeachingAssistantAndRegistrationsAndSessions(@Param(\"tutorialGroupId\") long tutorialGroupId);\n\n @Query(\"\"\"\n SELECT tutorialGroup\n FROM TutorialGroup tutorialGroup\n LEFT JOIN FETCH tutorialGroup.teachingAssistant\n LEFT JOIN FETCH tutorialGroup.course\n WHERE tutorialGroup.id = :tutorialGroupId\n \"\"\")\n Optional findByIdWithTeachingAssistantAndCourse(@Param(\"tutorialGroupId\") long tutorialGroupId);\n\n Optional findByTutorialGroupChannelId(Long channelId);\n\n @Query(\"\"\"\n SELECT tutorialGroup\n FROM TutorialGroup tutorialGroup\n LEFT JOIN FETCH tutorialGroup.tutorialGroupSessions\n LEFT JOIN FETCH tutorialGroup.tutorialGroupSchedule\n WHERE tutorialGroup.id = :tutorialGroupId\n \"\"\")\n Optional findByIdWithSessionsAndSchedule(@Param(\"tutorialGroupId\") long tutorialGroupId);\n\n @Query(\"\"\"\n SELECT new de.tum.cit.aet.artemis.tutorialgroup.util.RawTutorialGroupDTO(\n tutorialGroup.id,\n tutorialGroup.title,\n tutorialGroup.language,\n tutorialGroup.isOnline,\n tutorialGroup.capacity,\n tutorialGroup.campus,\n CONCAT(tutorialGroup.teachingAssistant.firstName, CONCAT(' ', tutorialGroup.teachingAssistant.lastName)),\n tutorialGroup.teachingAssistant.login,\n tutorialGroup.teachingAssistant.id,\n tutorialGroup.teachingAssistant.imageUrl,\n tutorialGroup.additionalInformation,\n channel.id,\n schedule.dayOfWeek,\n schedule.startTime,\n schedule.endTime,\n schedule.location\n )\n FROM TutorialGroup tutorialGroup\n LEFT JOIN tutorialGroup.tutorialGroupChannel channel\n LEFT JOIN tutorialGroup.tutorialGroupSchedule schedule\n WHERE tutorialGroup.id = :tutorialGroupId AND tutorialGroup.course.id = :courseId\n \"\"\")\n Optional getRawTutorialGroupDTO(@Param(\"tutorialGroupId\") long tutorialGroupId, @Param(\"courseId\") long courseId);\n\n @Query(\"\"\"\n SELECT new de.tum.cit.aet.artemis.tutorialgroup.dto.TutorialGroupStudentDTO(\n student.id,\n TRIM(CONCAT(COALESCE(student.firstName, ''), ' ', COALESCE(student.lastName, ''))),\n student.imageUrl,\n student.login,\n student.email,\n student.registrationNumber\n )\n FROM TutorialGroup tutorialGroup\n JOIN tutorialGroup.registrations registration\n JOIN registration.student student\n WHERE tutorialGroup.id = :tutorialGroupId\n \"\"\")\n Set getRegisteredStudentsOfTutorialGroup(@Param(\"tutorialGroupId\") long tutorialGroupId);\n\n @Query(\"\"\"\n SELECT COUNT(tutorialGroup) > 0\n FROM TutorialGroup tutorialGroup\n WHERE tutorialGroup.teachingAssistant.id = :userId AND tutorialGroup.id = :tutorialGroupId AND tutorialGroup.course.id = :courseId\n \"\"\")\n boolean isTutorInTutorialGroup(@Param(\"userId\") long userId, @Param(\"tutorialGroupId\") long tutorialGroupId, @Param(\"courseId\") long courseId);\n\n default TutorialGroup findByIdWithSessionsAndScheduleElseThrow(long tutorialGroupId) {\n return getValueElseThrow(findByIdWithSessionsAndSchedule(tutorialGroupId), tutorialGroupId);\n }\n\n default TutorialGroup findByIdWithTeachingAssistantAndCourseElseThrow(long tutorialGroupId) {\n return getValueElseThrow(findByIdWithTeachingAssistantAndCourse(tutorialGroupId), tutorialGroupId);\n }\n\n default TutorialGroup findByIdWithTeachingAssistantAndRegistrationsElseThrow(long tutorialGroupId) {\n return getValueElseThrow(findByIdWithTeachingAssistantAndRegistrationsAndSessions(tutorialGroupId), tutorialGroupId);\n }\n\n default TutorialGroup findByIdWithTeachingAssistantAndRegistrationsAndSessionsElseThrow(long tutorialGroupId) {\n return getValueElseThrow(findByIdWithTeachingAssistantAndRegistrationsAndSessions(tutorialGroupId), tutorialGroupId);\n }\n\n default Optional getTutorialGroupChannel(Long tutorialGroupId) {\n return getTutorialGroupWithChannel(tutorialGroupId).map(TutorialGroup::getTutorialGroupChannel);\n }\n\n Long countByCourseId(long courseId);\n}\n" +} diff --git a/web/public/bundles/artemis/code/6de41d79b0339893b4e53f9af18bdd2f2f85c768.json b/web/public/bundles/artemis/code/6de41d79b0339893b4e53f9af18bdd2f2f85c768.json new file mode 100644 index 00000000..dc1cd379 --- /dev/null +++ b/web/public/bundles/artemis/code/6de41d79b0339893b4e53f9af18bdd2f2f85c768.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6de41d79b0339893b4e53f9af18bdd2f2f85c768", + "language": "typescript", + "path": "src/main/webapp/app/fileupload/shared/entities/file-upload-exercise.model.ts", + "schema": "codexray.code/1", + "text": "import { Exercise, ExerciseType } from 'app/exercise/shared/entities/exercise/exercise.model';\nimport { Course } from 'app/course/shared/entities/course.model';\nimport { ExerciseGroup } from 'app/exam/shared/entities/exercise-group.model';\nimport { AssessmentType } from 'app/assessment/shared/entities/assessment-type.model';\n\nexport class FileUploadExercise extends Exercise {\n public filePattern?: string;\n public exampleSolution?: string;\n\n constructor(course: Course | undefined, exerciseGroup: ExerciseGroup | undefined) {\n super(ExerciseType.FILE_UPLOAD);\n this.course = course;\n this.exerciseGroup = exerciseGroup;\n // Set default value\n this.assessmentType = AssessmentType.MANUAL;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/6df48e075b0d61de462a94e18d1a5ffb7a67d538.json b/web/public/bundles/artemis/code/6df48e075b0d61de462a94e18d1a5ffb7a67d538.json new file mode 100644 index 00000000..fb310a64 --- /dev/null +++ b/web/public/bundles/artemis/code/6df48e075b0d61de462a94e18d1a5ffb7a67d538.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6df48e075b0d61de462a94e18d1a5ffb7a67d538", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/ExerciseCourseDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exercise.dto;\n\nimport java.time.ZonedDateTime;\n\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.core.domain.Language;\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.course.domain.CourseInformationSharingConfiguration;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingLanguage;\n\n/**\n * The course context the exercise views read off {@code exercise.course}.\n *

\n * The exercise pages themselves only evaluate a handful of these: the id the client derives its access rights and every\n * management link from, the title it renders, the score precision the header and the result components round with, the\n * complaint and feedback-request settings the complaint forms gate on, the two Athena switches the assessment dashboard\n * reads, and the communication configuration the exercise pages use to decide whether to offer a channel.\n *

\n * The remaining components exist because {@code GET exercises/{exerciseId}} is also reachable with a SCORPIO tool token\n * from a client that cannot be audited in this tree. That route used to hand out the {@code Course} entity, so every\n * scalar the entity serialized is repeated here, the same superset {@link de.tum.cit.aet.artemis.programming.dto.ProgrammingExerciseCourseDTO}\n * already keeps for the SCORPIO latest-result route. The set was read off the entity rather than off a fixture dump,\n * because {@code NON_EMPTY} hides every property a fixture leaves at its default. What the entity serialized here and\n * this record deliberately does not carry is only:\n *

    \n *
  • the associations - {@code exercises}, {@code lectures}, {@code exams}, {@code competencies},\n * {@code prerequisites}, {@code learningPaths}, {@code tutorialGroups}, {@code tutorialGroupsConfiguration},\n * {@code organizations}, {@code exerciseVariantGroups}, {@code onlineCourseConfiguration} and\n * {@code courseConfiguration}. None of them is initialized by an exercise fetch graph, so the entity dropped them here\n * as well; re-emitting one would cost a select per response or re-enter the exercise cycle.
  • \n *
  • the {@code @Transient} counters an instructor dashboard fills in ({@code numberOfStudents},\n * {@code numberOfTeachingAssistants}, {@code numberOfEditors}, {@code numberOfInstructors},\n * {@code numberOfTutorialGroups}, {@code numberOfCompetencies}, {@code numberOfPrerequisites},\n * {@code numberOfAcceptedFaqs}) and the two orchestration overrides {@code debounceWindowSecondsOverride} and\n * {@code maxDailyOrchestrationOverride}. All of them read {@code null} on a course reached through an exercise, so\n * {@code NON_EMPTY} left them off the entity wire here too.
  • \n *
\n * {@code gradeRelevant}, {@code dataRetentionHold} and {@code autoOrchestratorEnabled} are carried even though they are\n * read off the lazy {@code CourseConfiguration}: their getters return a constant while it is uninitialized, so they cost\n * nothing, and being primitives {@code NON_EMPTY} put them on the entity wire at exactly those constants.\n *\n * @param id the id of the course\n * @param title the title of the course\n * @param description the description of the course\n * @param shortName the short name of the course\n * @param startDate the start date of the course\n * @param endDate the end date of the course\n * @param enrollmentStartDate the date enrollment opens\n * @param enrollmentEndDate the date enrollment closes\n * @param unenrollmentEndDate the date unenrollment closes\n * @param semester the semester the course runs in\n * @param testCourse whether the course is a test course\n * @param language the language of the course\n * @param defaultProgrammingLanguage the programming language new programming exercises default to\n * @param onlineCourse whether the course is an online (LTI) course\n * @param accuracyOfScores the number of decimal places scores are rounded to\n * @param maxComplaints the number of complaints a student may file per course\n * @param maxTeamComplaints the number of complaints a team may file per course\n * @param maxComplaintTimeDays the number of days a complaint may be filed after the result\n * @param maxComplaintTextLimit the character limit of a complaint text\n * @param maxComplaintResponseTextLimit the character limit of a complaint response text\n * @param complaintsEnabled whether complaints are enabled in the course\n * @param requestMoreFeedbackEnabled whether more-feedback requests are enabled in the course\n * @param maxRequestMoreFeedbackTimeDays the number of days a more-feedback request may be filed after the result\n * @param presentationScore the number of presentations counted towards the course score\n * @param maxPoints the maximum number of points reachable in the course\n * @param timeZone the time zone dates are displayed in\n * @param color the colour the course is rendered in\n * @param courseIcon the icon of the course\n * @param enrollmentEnabled whether students may enroll themselves\n * @param enrollmentConfirmationMessage the message shown on enrollment\n * @param unenrollmentEnabled whether students may unenroll themselves\n * @param onboardingDone whether the course onboarding was completed\n * @param learningPathsEnabled whether learning paths are enabled in the course\n * @param presentationAssessmentsEnabled whether presentation assessments are enabled in the course\n * @param gradeRelevant whether the course counts towards a grade\n * @param dataRetentionHold whether the course data is held back from the retention job\n * @param autoOrchestratorEnabled whether auto-orchestration is enabled for the course\n * @param trainingEnabled whether training is enabled in the course\n * @param courseArchivePath the path of the course archive\n * @param athenaGradingFeedbackEnabled whether Athena grading feedback is enabled in the course\n * @param athenaFormativeFeedbackEnabled whether Athena formative feedback is enabled in the course\n * @param courseInformationSharingConfiguration the communication and messaging configuration of the course\n * @param courseInformationSharingMessagingCodeOfConduct the code of conduct shown before messaging\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record ExerciseCourseDTO(long id, @Nullable String title, @Nullable String description, @Nullable String shortName, @Nullable ZonedDateTime startDate,\n @Nullable ZonedDateTime endDate, @Nullable ZonedDateTime enrollmentStartDate, @Nullable ZonedDateTime enrollmentEndDate, @Nullable ZonedDateTime unenrollmentEndDate,\n @Nullable String semester, boolean testCourse, @Nullable Language language, @Nullable ProgrammingLanguage defaultProgrammingLanguage, boolean onlineCourse,\n @Nullable Integer accuracyOfScores, @Nullable Integer maxComplaints, @Nullable Integer maxTeamComplaints, int maxComplaintTimeDays, int maxComplaintTextLimit,\n int maxComplaintResponseTextLimit, boolean complaintsEnabled, boolean requestMoreFeedbackEnabled, int maxRequestMoreFeedbackTimeDays, @Nullable Integer presentationScore,\n @Nullable Integer maxPoints, @Nullable String timeZone, @Nullable String color, @Nullable String courseIcon, @Nullable Boolean enrollmentEnabled,\n @Nullable String enrollmentConfirmationMessage, boolean unenrollmentEnabled, boolean onboardingDone, boolean learningPathsEnabled, boolean presentationAssessmentsEnabled,\n boolean gradeRelevant, boolean dataRetentionHold, boolean autoOrchestratorEnabled, boolean trainingEnabled, @Nullable String courseArchivePath,\n boolean athenaGradingFeedbackEnabled, boolean athenaFormativeFeedbackEnabled, @Nullable CourseInformationSharingConfiguration courseInformationSharingConfiguration,\n @Nullable String courseInformationSharingMessagingCodeOfConduct) {\n\n /**\n * Maps a course to the context the exercise views need, without touching any of its associations.\n *\n * @param course the course, may be {@code null} for an exercise whose course is not loaded\n * @return the course context, or {@code null} when no course was given\n */\n public static @Nullable ExerciseCourseDTO of(@Nullable Course course) {\n if (course == null) {\n return null;\n }\n return new ExerciseCourseDTO(course.getId(), course.getTitle(), course.getDescription(), course.getShortName(), course.getStartDate(), course.getEndDate(),\n course.getEnrollmentStartDate(), course.getEnrollmentEndDate(), course.getUnenrollmentEndDate(), course.getSemester(), course.isTestCourse(), course.getLanguage(),\n course.getDefaultProgrammingLanguage(), course.isOnlineCourse(), course.getAccuracyOfScores(), course.getMaxComplaints(), course.getMaxTeamComplaints(),\n course.getMaxComplaintTimeDays(), course.getMaxComplaintTextLimit(), course.getMaxComplaintResponseTextLimit(), course.getComplaintsEnabled(),\n course.getRequestMoreFeedbackEnabled(), course.getMaxRequestMoreFeedbackTimeDays(), course.getPresentationScore(), course.getMaxPoints(), course.getTimeZone(),\n course.getColor(), course.getCourseIcon(), course.isEnrollmentEnabled(), course.getEnrollmentConfirmationMessage(), course.isUnenrollmentEnabled(),\n course.isOnboardingDone(), course.getLearningPathsEnabled(), course.getPresentationAssessmentsEnabled(), course.isGradeRelevant(), course.isDataRetentionHold(),\n course.getAutoOrchestratorEnabled(), course.isTrainingEnabled(), course.getCourseArchivePath(), course.isAthenaGradingFeedbackEnabled(),\n course.isAthenaFormativeFeedbackEnabled(), course.getCourseInformationSharingConfiguration(), course.getCourseInformationSharingMessagingCodeOfConduct());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/6e3153e4b7ad9358945a8a5fb39a934a36ce4737.json b/web/public/bundles/artemis/code/6e3153e4b7ad9358945a8a5fb39a934a36ce4737.json new file mode 100644 index 00000000..f17c21ba --- /dev/null +++ b/web/public/bundles/artemis/code/6e3153e4b7ad9358945a8a5fb39a934a36ce4737.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6e3153e4b7ad9358945a8a5fb39a934a36ce4737", + "language": "typescript", + "path": "src/main/webapp/app/shared-ui/image-cropper/component/image-cropper.component.ts", + "schema": "codexray.code/1", + "text": "import { ChangeDetectionStrategy, Component, ElementRef, OnInit, effect, inject, input, output, signal, untracked, viewChild } from '@angular/core';\nimport { CropperOptions, OutputFormat } from '../interfaces/cropper-options.interface';\nimport { CropperSettings } from '../interfaces/cropper.settings';\nimport { MoveStart, MoveTypes } from '../interfaces/move-start.interface';\nimport { CropService } from '../services/crop.service';\nimport { CropperPositionService } from '../services/cropper-position.service';\nimport { LoadImageService } from '../services/load-image.service';\nimport { getEventForKey, getInvertedPositionForKey, getPositionForKey } from '../utils/keyboard.utils';\nimport { LoadedImage } from 'app/shared-ui/image-cropper/interfaces/loaded-image.interface';\nimport { Dimensions } from 'app/shared-ui/image-cropper/interfaces/dimensions.interface';\nimport { ImageTransform } from 'app/shared-ui/image-cropper/interfaces/image-transform.interface';\nimport { CropperPosition } from 'app/shared-ui/image-cropper/interfaces/cropper-position.interface';\nimport { ImageCroppedEvent } from 'app/shared-ui/image-cropper/interfaces/image-cropped-event.interface';\nimport { captureException } from 'app/core/error-reporting/capture-exception';\nimport { cloneWith, deepClone } from 'app/foundation/util/deep-clone.util';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\n\n// Note: this component and all files in the image-cropper folder were taken from https://github.com/Mawi137/ngx-image-cropper because the framework was not maintained anymore\n// Note: Partially adapted to fit Artemis needs\n\nconst defaultCropperPosition = (): CropperPosition => ({ x1: -100, y1: -100, x2: 10000, y2: 10000 });\nconst defaultSettings = new CropperSettings();\n\n@Component({\n selector: 'image-cropper',\n imports: [ArtemisTranslatePipe],\n templateUrl: './image-cropper.component.html',\n styleUrls: ['./image-cropper.component.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[style.text-align]': 'alignImage()',\n '[class.disabled]': 'disabled()',\n '(window:resize)': 'onResize()',\n '(document:mousemove)': 'moveImg($event)',\n '(document:touchmove)': 'moveImg($event)',\n '(document:mouseup)': 'moveStop()',\n '(document:touchend)': 'moveStop()',\n },\n})\nexport class ImageCropperComponent implements OnInit {\n private cropService = inject(CropService);\n private cropperPositionService = inject(CropperPositionService);\n private loadImageService = inject(LoadImageService);\n\n settings = new CropperSettings();\n setImageMaxSizeRetries = 0;\n moveStart!: MoveStart; // set in constructor via reset()\n loadedImage?: LoadedImage;\n\n // Plain strings are enough: Angular does not sanitize style bindings, and it accepts the PNG data URL that the canvas produces.\n readonly imageDataUrl = signal('');\n readonly transformStyle = signal('');\n readonly marginLeft = signal('0px');\n // Backed by a signal because the template reads it; the getter/setter facade keeps the existing in-place\n // mutations (and pass-by-reference into services) working. Call commitMaxSize() after in-place mutations in\n // async paths so the template re-renders.\n private readonly _maxSize = signal(undefined!);\n get maxSize(): Dimensions {\n return this._maxSize();\n }\n set maxSize(value: Dimensions) {\n this._maxSize.set(value);\n }\n private commitMaxSize(): void {\n this._maxSize.set(deepClone(this._maxSize()));\n }\n moveTypes = MoveTypes;\n readonly imageVisible = signal(false);\n\n /**\n * Mutable internal cropper position. Synced from the {@link cropperInput} whenever it changes (constructor effect).\n * Backed by a signal (template reads it); the getter/setter facade preserves in-place mutation and the\n * pass-by-reference contract with the cropper services. Call commitCropper() after in-place mutations in\n * async paths so the template re-renders.\n */\n private readonly _cropper = signal(defaultCropperPosition());\n get cropper(): CropperPosition {\n return this._cropper();\n }\n set cropper(value: CropperPosition) {\n this._cropper.set(value);\n }\n private commitCropper(): void {\n this._cropper.set(deepClone(this._cropper()));\n }\n\n readonly wrapper = viewChild.required>('wrapper');\n readonly sourceImage = viewChild>('sourceImage');\n\n readonly imageChangedEvent = input();\n readonly imageURL = input();\n readonly imageBase64 = input();\n readonly imageFile = input();\n\n readonly format = input(defaultSettings.format);\n readonly transform = input({});\n readonly maintainAspectRatio = input(defaultSettings.maintainAspectRatio);\n readonly aspectRatio = input(defaultSettings.aspectRatio);\n readonly resizeToWidth = input(defaultSettings.resizeToWidth);\n readonly resizeToHeight = input(defaultSettings.resizeToHeight);\n readonly cropperMinWidth = input(defaultSettings.cropperMinWidth);\n readonly cropperMinHeight = input(defaultSettings.cropperMinHeight);\n readonly cropperMaxHeight = input(defaultSettings.cropperMaxHeight);\n readonly cropperMaxWidth = input(defaultSettings.cropperMaxWidth);\n readonly cropperStaticWidth = input(defaultSettings.cropperStaticWidth);\n readonly cropperStaticHeight = input(defaultSettings.cropperStaticHeight);\n readonly canvasRotation = input(defaultSettings.canvasRotation);\n readonly initialStepSize = input(defaultSettings.initialStepSize);\n readonly roundCropper = input(defaultSettings.roundCropper);\n readonly onlyScaleDown = input(defaultSettings.onlyScaleDown);\n readonly imageQuality = input(defaultSettings.imageQuality);\n readonly autoCrop = input(defaultSettings.autoCrop);\n readonly backgroundColor = input(defaultSettings.backgroundColor);\n readonly containWithinAspectRatio = input(defaultSettings.containWithinAspectRatio);\n readonly hideResizeSquares = input(defaultSettings.hideResizeSquares);\n readonly cropperInput = input(defaultCropperPosition(), { alias: 'cropper' }); // eslint-disable-line @angular-eslint/no-input-rename\n readonly alignImage = input<'left' | 'center'>(defaultSettings.alignImage);\n readonly disabled = input(false);\n\n readonly imageCropped = output();\n readonly startCropImage = output();\n readonly imageLoaded = output();\n readonly cropperReady = output();\n readonly loadImageFailed = output();\n\n // Snapshot of the inputs whose *change* (not just current value) drives a side effect — replaces the\n // SimpleChanges-keyed branching of the former ngOnChanges. Seeded with the current input defaults so the first\n // effect run treats only explicitly-bound, non-default inputs as \"changed\". (Settings are applied in full each\n // run, which is idempotent, so they need no snapshot.)\n private previousCropperInputs = {\n cropperInput: this.cropperInput(),\n maintainAspectRatio: this.maintainAspectRatio(),\n aspectRatio: this.aspectRatio(),\n transform: this.transform(),\n containWithinAspectRatio: this.containWithinAspectRatio(),\n canvasRotation: this.canvasRotation(),\n imageChangedEvent: this.imageChangedEvent(),\n imageURL: this.imageURL(),\n imageBase64: this.imageBase64(),\n imageFile: this.imageFile(),\n };\n\n constructor() {\n this.reset();\n\n // Replaces ngOnChanges using the established previousInputs-diff idiom (see code-editor-monaco.component): the\n // cropper settings are re-applied in full every run (idempotent), while the cropper-sync, image-load, transform\n // and aspect-ratio/rotation branches act only on the inputs that actually changed — exactly as the former\n // SimpleChanges-keyed hook did. All reads happen in the tracked head; the side effects run untracked.\n effect(() => {\n // Tracked: read every reactive input so the effect re-runs on any change.\n const cropperInput = this.cropperInput();\n const transform = this.transform();\n const maintainAspectRatio = this.maintainAspectRatio();\n const aspectRatio = this.aspectRatio();\n const containWithinAspectRatio = this.containWithinAspectRatio();\n const canvasRotation = this.canvasRotation();\n const imageChangedEvent = this.imageChangedEvent();\n const imageURL = this.imageURL();\n const imageBase64 = this.imageBase64();\n const imageFile = this.imageFile();\n const settingsOptions: Partial = {\n format: this.format(),\n maintainAspectRatio,\n transform,\n aspectRatio,\n resizeToWidth: this.resizeToWidth(),\n resizeToHeight: this.resizeToHeight(),\n cropperMinWidth: this.cropperMinWidth(),\n cropperMinHeight: this.cropperMinHeight(),\n cropperMaxHeight: this.cropperMaxHeight(),\n cropperMaxWidth: this.cropperMaxWidth(),\n cropperStaticWidth: this.cropperStaticWidth(),\n cropperStaticHeight: this.cropperStaticHeight(),\n canvasRotation,\n initialStepSize: this.initialStepSize(),\n roundCropper: this.roundCropper(),\n onlyScaleDown: this.onlyScaleDown(),\n imageQuality: this.imageQuality(),\n autoCrop: this.autoCrop(),\n backgroundColor: this.backgroundColor(),\n containWithinAspectRatio,\n hideResizeSquares: this.hideResizeSquares(),\n alignImage: this.alignImage(),\n };\n\n untracked(() => {\n const prev = this.previousCropperInputs;\n const cropperInputChanged = cropperInput !== prev.cropperInput;\n const maintainAspectRatioChanged = maintainAspectRatio !== prev.maintainAspectRatio;\n const aspectRatioChanged = aspectRatio !== prev.aspectRatio;\n const transformChanged = transform !== prev.transform;\n const containWithinAspectRatioChanged = containWithinAspectRatio !== prev.containWithinAspectRatio;\n const canvasRotationChanged = canvasRotation !== prev.canvasRotation;\n const imageChangedEventChanged = imageChangedEvent !== prev.imageChangedEvent;\n const imageURLChanged = imageURL !== prev.imageURL;\n const imageBase64Changed = imageBase64 !== prev.imageBase64;\n const imageFileChanged = imageFile !== prev.imageFile;\n this.previousCropperInputs = {\n cropperInput,\n maintainAspectRatio,\n aspectRatio,\n transform,\n containWithinAspectRatio,\n canvasRotation,\n imageChangedEvent,\n imageURL,\n imageBase64,\n imageFile,\n };\n\n // Keep the internal mutable cropper in sync with the input.\n if (cropperInputChanged) {\n this.cropper = deepClone(cropperInput);\n }\n\n // Apply the cropper settings (idempotent — replaces settings.setOptionsFromChanges(); settings.cropper\n // was written by the old code but is never read, so it is intentionally omitted here).\n this.settings.setOptions(settingsOptions);\n if (this.settings.cropperStaticHeight && this.settings.cropperStaticWidth) {\n this.settings.setOptions({\n hideResizeSquares: true,\n cropperMinWidth: this.settings.cropperStaticWidth,\n cropperMinHeight: this.settings.cropperStaticHeight,\n cropperMaxHeight: this.settings.cropperStaticHeight,\n cropperMaxWidth: this.settings.cropperStaticWidth,\n maintainAspectRatio: false,\n });\n }\n\n // Image source changes (replaces onChangesInputImage()).\n if (imageChangedEventChanged || imageURLChanged || imageBase64Changed || imageFileChanged) {\n this.reset();\n }\n if (imageChangedEventChanged && this.isValidImageChangedEvent()) {\n const element = imageChangedEvent?.currentTarget as HTMLInputElement;\n if (element.files) {\n this.loadImageFile(element.files[0]);\n }\n }\n if (imageURLChanged && imageURL) {\n this.loadImageFromURL(imageURL);\n }\n if (imageBase64Changed && imageBase64) {\n this.loadBase64Image(imageBase64);\n }\n if (imageFileChanged && imageFile) {\n this.loadImageFile(imageFile);\n }\n\n if (this.loadedImage?.original.image.complete && (containWithinAspectRatioChanged || canvasRotationChanged)) {\n this.loadImageService\n .transformLoadedImage(this.loadedImage, this.settings)\n .then((res) => this.setLoadedImage(res))\n .catch((err: Error) => this.loadImageError(err));\n }\n if (cropperInputChanged || maintainAspectRatioChanged || aspectRatioChanged) {\n this.setMaxSize();\n this.setCropperScaledMinSize();\n this.setCropperScaledMaxSize();\n if (this.maintainAspectRatio() && (maintainAspectRatioChanged || aspectRatioChanged)) {\n this.resetCropperPosition();\n } else if (cropperInputChanged) {\n this.checkCropperPosition(false);\n this.doAutoCrop();\n }\n }\n if (transformChanged) {\n this.setCssTransform();\n this.doAutoCrop();\n }\n });\n });\n }\n\n ngOnInit(): void {\n this.settings.stepSize = this.initialStepSize();\n }\n\n private isValidImageChangedEvent(): boolean {\n const event = this.imageChangedEvent();\n if (!event?.currentTarget) {\n return false;\n }\n const element = event.currentTarget as HTMLInputElement;\n return !!element.files?.length;\n }\n\n private setCssTransform() {\n // Defend against parents binding `[transform]=\"undefined\"`, which overrides the input default.\n const transform = this.transform() ?? {};\n this.transformStyle.set(\n 'scaleX(' +\n (transform.scale || 1) * (transform.flipH ? -1 : 1) +\n ')' +\n 'scaleY(' +\n (transform.scale || 1) * (transform.flipV ? -1 : 1) +\n ')' +\n 'rotate(' +\n (transform.rotate || 0) +\n 'deg)',\n );\n }\n\n private reset(): void {\n this.imageVisible.set(false);\n this.loadedImage = undefined;\n this.imageDataUrl.set('data:image/png;base64,iVBORw0KGg' + 'oAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAU' + 'AAarVyFEAAAAASUVORK5CYII=');\n this.moveStart = {\n active: false,\n type: undefined,\n position: undefined,\n x1: 0,\n y1: 0,\n x2: 0,\n y2: 0,\n clientX: 0,\n clientY: 0,\n };\n this.maxSize = {\n width: 0,\n height: 0,\n };\n // Assigned rather than Object.assign'd into the existing object: `cropper` is a getter over a signal, so an\n // in-place mutation would not notify it, and reset() replaces moveStart and maxSize wholesale anyway.\n this.cropper = defaultCropperPosition();\n }\n\n private loadImageFile(file: File): void {\n this.loadImageService\n .loadImageFile(file, this.settings)\n .then((res) => this.setLoadedImage(res))\n .catch((err) => this.loadImageError(err));\n }\n\n private loadBase64Image(imageBase64: string): void {\n this.loadImageService\n .loadBase64Image(imageBase64, this.settings)\n .then((res) => this.setLoadedImage(res))\n .catch((err) => this.loadImageError(err));\n }\n\n private loadImageFromURL(url: string): void {\n this.loadImageService\n .loadImageFromURL(url, this.settings)\n .then((res) => this.setLoadedImage(res))\n .catch((err) => this.loadImageError(err));\n }\n\n private setLoadedImage(loadedImage: LoadedImage): void {\n this.loadedImage = loadedImage;\n this.imageDataUrl.set(loadedImage.transformed!.base64);\n }\n\n private loadImageError(error: Error): void {\n this.loadImageFailed.emit();\n captureException(error);\n }\n\n imageLoadedInView(): void {\n if (this.loadedImage != undefined) {\n this.imageLoaded.emit(this.loadedImage);\n this.setImageMaxSizeRetries = 0;\n setTimeout(() => this.checkImageMaxSizeRecursively());\n }\n }\n\n private checkImageMaxSizeRecursively(): void {\n if (this.setImageMaxSizeRetries > 40) {\n this.loadImageFailed.emit();\n } else if (this.sourceImageLoaded()) {\n this.setMaxSize();\n this.setCropperScaledMinSize();\n this.setCropperScaledMaxSize();\n this.resetCropperPosition();\n // Reached from a setTimeout (see imageLoadedInView), so the in-place mutations above schedule no\n // change detection on their own. Commit both signals to re-render the template.\n this.commitMaxSize();\n this.commitCropper();\n this.cropperReady.emit(deepClone(this.maxSize));\n } else {\n this.setImageMaxSizeRetries++;\n setTimeout(() => this.checkImageMaxSizeRecursively(), 50);\n }\n }\n\n private sourceImageLoaded(): boolean {\n const sourceImage = this.sourceImage();\n return (sourceImage?.nativeElement?.offsetWidth ?? 0) > 0;\n }\n\n onResize(): void {\n if (!this.loadedImage) {\n return;\n }\n this.resizeCropperPosition();\n this.setMaxSize();\n this.setCropperScaledMinSize();\n this.setCropperScaledMaxSize();\n }\n\n private resizeCropperPosition(): void {\n const sourceImage = this.sourceImage();\n if (!sourceImage) {\n return;\n }\n const sourceImageElement = sourceImage.nativeElement;\n if (this.maxSize.width !== sourceImageElement.offsetWidth || this.maxSize.height !== sourceImageElement.offsetHeight) {\n this.cropper.x1 = (this.cropper.x1 * sourceImageElement.offsetWidth) / this.maxSize.width;\n this.cropper.x2 = (this.cropper.x2 * sourceImageElement.offsetWidth) / this.maxSize.width;\n this.cropper.y1 = (this.cropper.y1 * sourceImageElement.offsetHeight) / this.maxSize.height;\n this.cropper.y2 = (this.cropper.y2 * sourceImageElement.offsetHeight) / this.maxSize.height;\n }\n }\n\n resetCropperPosition(): void {\n const sourceImage = this.sourceImage();\n if (sourceImage) {\n this.cropperPositionService.resetCropperPosition(sourceImage, this.cropper, this.settings);\n }\n this.doAutoCrop();\n this.imageVisible.set(true);\n }\n\n keyboardAccess(event: KeyboardEvent) {\n this.changeKeyboardStepSize(event);\n this.keyboardMoveCropper(event);\n }\n\n private changeKeyboardStepSize(event: KeyboardEvent): void {\n const key = +event.key;\n if (key >= 1 && key <= 9) {\n this.settings.stepSize = key;\n }\n }\n\n private keyboardMoveCropper(event: KeyboardEvent) {\n const keyboardWhiteList: string[] = ['ArrowUp', 'ArrowDown', 'ArrowRight', 'ArrowLeft'];\n if (!keyboardWhiteList.includes(event.key)) {\n return;\n }\n const moveType = event.shiftKey ? MoveTypes.Resize : MoveTypes.Move;\n const position = event.altKey ? getInvertedPositionForKey(event.key) : getPositionForKey(event.key);\n const moveEvent = getEventForKey(event.key, this.settings.stepSize);\n event.preventDefault();\n event.stopPropagation();\n this.startMove(new MouseEvent('mousemove', { clientX: 0, clientY: 0 }), moveType, position);\n this.moveImg(moveEvent);\n this.moveStop();\n }\n\n startMove(event: MouseEvent | TouchEvent, moveType: MoveTypes, position?: string): void {\n if (this.moveStart?.active && this.moveStart?.type === MoveTypes.Pinch) {\n return;\n }\n if (event.preventDefault) {\n event.preventDefault();\n }\n this.moveStart = cloneWith(this.cropper, {\n active: true,\n type: moveType,\n position,\n clientX: this.cropperPositionService.getClientX(event),\n clientY: this.cropperPositionService.getClientY(event),\n });\n }\n\n moveImg(event: MouseEvent | TouchEvent): void {\n if (this.moveStart.active) {\n if (event.stopPropagation) {\n event.stopPropagation();\n }\n if (event.preventDefault) {\n event.preventDefault();\n }\n if (this.moveStart.type === MoveTypes.Move) {\n this.cropperPositionService.move(event, this.moveStart, this.cropper);\n this.checkCropperPosition(true);\n } else if (this.moveStart.type === MoveTypes.Resize) {\n if (!this.cropperStaticWidth() && !this.cropperStaticHeight()) {\n this.cropperPositionService.resize(event, this.moveStart, this.cropper, this.maxSize, this.settings);\n }\n this.checkCropperPosition(false);\n }\n }\n }\n\n private setMaxSize(): void {\n const sourceImage = this.sourceImage();\n if (sourceImage) {\n const sourceImageElement = sourceImage.nativeElement;\n this.maxSize.width = sourceImageElement.offsetWidth;\n this.maxSize.height = sourceImageElement.offsetHeight;\n this.marginLeft.set('calc(50% - ' + this.maxSize.width / 2 + 'px)');\n }\n }\n\n private setCropperScaledMinSize(): void {\n if (this.loadedImage?.transformed?.image) {\n this.setCropperScaledMinWidth();\n this.setCropperScaledMinHeight();\n } else {\n this.settings.cropperScaledMinWidth = 20;\n this.settings.cropperScaledMinHeight = 20;\n }\n }\n\n private setCropperScaledMinWidth(): void {\n const cropperMinWidth = this.cropperMinWidth();\n this.settings.cropperScaledMinWidth = cropperMinWidth > 0 ? Math.max(20, (cropperMinWidth / this.loadedImage!.transformed!.image.width) * this.maxSize.width) : 20;\n }\n\n private setCropperScaledMinHeight(): void {\n const cropperMinHeight = this.cropperMinHeight();\n if (this.maintainAspectRatio()) {\n this.settings.cropperScaledMinHeight = Math.max(20, this.settings.cropperScaledMinWidth / this.aspectRatio());\n } else if (cropperMinHeight > 0) {\n this.settings.cropperScaledMinHeight = Math.max(20, (cropperMinHeight / this.loadedImage!.transformed!.image.height) * this.maxSize.height);\n } else {\n this.settings.cropperScaledMinHeight = 20;\n }\n }\n\n private setCropperScaledMaxSize(): void {\n if (this.loadedImage?.transformed?.image) {\n const ratio = this.loadedImage.transformed.size.width / this.maxSize.width;\n const cropperMaxWidth = this.cropperMaxWidth();\n const cropperMaxHeight = this.cropperMaxHeight();\n this.settings.cropperScaledMaxWidth = cropperMaxWidth > 20 ? cropperMaxWidth / ratio : this.maxSize.width;\n this.settings.cropperScaledMaxHeight = cropperMaxHeight > 20 ? cropperMaxHeight / ratio : this.maxSize.height;\n if (this.maintainAspectRatio()) {\n const aspectRatio = this.aspectRatio();\n if (this.settings.cropperScaledMaxWidth > this.settings.cropperScaledMaxHeight * aspectRatio) {\n this.settings.cropperScaledMaxWidth = this.settings.cropperScaledMaxHeight * aspectRatio;\n } else if (this.settings.cropperScaledMaxWidth < this.settings.cropperScaledMaxHeight * aspectRatio) {\n this.settings.cropperScaledMaxHeight = this.settings.cropperScaledMaxWidth / aspectRatio;\n }\n }\n } else {\n this.settings.cropperScaledMaxWidth = this.maxSize.width;\n this.settings.cropperScaledMaxHeight = this.maxSize.height;\n }\n }\n\n private checkCropperPosition(maintainSize = false): void {\n if (this.cropper.x1 < 0) {\n this.cropper.x2 -= maintainSize ? this.cropper.x1 : 0;\n this.cropper.x1 = 0;\n }\n if (this.cropper.y1 < 0) {\n this.cropper.y2 -= maintainSize ? this.cropper.y1 : 0;\n this.cropper.y1 = 0;\n }\n if (this.cropper.x2 > this.maxSize.width) {\n this.cropper.x1 -= maintainSize ? this.cropper.x2 - this.maxSize.width : 0;\n this.cropper.x2 = this.maxSize.width;\n }\n if (this.cropper.y2 > this.maxSize.height) {\n this.cropper.y1 -= maintainSize ? this.cropper.y2 - this.maxSize.height : 0;\n this.cropper.y2 = this.maxSize.height;\n }\n }\n\n moveStop(): void {\n if (this.moveStart.active) {\n this.moveStart.active = false;\n this.doAutoCrop();\n }\n }\n\n private doAutoCrop(): void {\n if (this.autoCrop()) {\n this.crop();\n }\n }\n\n crop(): ImageCroppedEvent | undefined {\n if (this.loadedImage?.transformed?.image == undefined) {\n return undefined;\n }\n // Match the original behaviour: emit `startCropImage` whenever the loaded image is ready,\n // even if the source image element has not yet been attached to the DOM.\n this.startCropImage.emit();\n const sourceImage = this.sourceImage();\n if (!sourceImage) {\n return undefined;\n }\n const output = this.cropService.crop(sourceImage, this.loadedImage, this.cropper, this.settings);\n if (output != undefined) {\n this.imageCropped.emit(output);\n }\n return output;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/6e734ae4db31dfbd9f7142682125c251186ca2d2.json b/web/public/bundles/artemis/code/6e734ae4db31dfbd9f7142682125c251186ca2d2.json new file mode 100644 index 00000000..490a056c --- /dev/null +++ b/web/public/bundles/artemis/code/6e734ae4db31dfbd9f7142682125c251186ca2d2.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6e734ae4db31dfbd9f7142682125c251186ca2d2", + "language": "typescript", + "path": "src/main/webapp/app/app.main.ts", + "schema": "codexray.code/1", + "text": "import { bootstrapApplication } from '@angular/platform-browser';\nimport { appConfig } from 'app/app.config';\nimport { MonacoConfig } from 'app/core/config/monaco.config';\nimport { ProdConfig } from 'app/core/config/prod.config';\nimport { AppComponent } from './app.component';\nimport { captureException } from 'app/core/error-reporting/capture-exception';\nimport { FaIconLibrary } from '@fortawesome/angular-fontawesome';\nimport { registerLocaleData } from '@angular/common';\nimport locale from '@angular/common/locales/en';\nimport { artemisIconPack } from 'app/foundation/icons/icons';\n\nProdConfig();\nMonacoConfig();\n\nbootstrapApplication(AppComponent, appConfig)\n .then((app) => {\n // TODO: potentially move this code into AppComponent\n const library = app.injector.get(FaIconLibrary);\n library.addIconPacks(artemisIconPack);\n\n // Perform initialization logic\n registerLocaleData(locale);\n })\n .catch((err) => {\n // This is the last-resort handler for a failed application bootstrap. The application is not running, so there is no\n // error handler and the user sees nothing: the console is the channel that surfaces a startup failure to a developer, and the\n // report is the one that reaches an operator. Reporting does not depend on the application, it only needs `fetch`.\n // eslint-disable-next-line no-console, no-undef -- bootstrap failure handler\n console.error('Failed to bootstrap the Angular application', err);\n captureException(err, { severity: 'CRITICAL' });\n });\n" +} diff --git a/web/public/bundles/artemis/code/6fc5953927763cf389e85233abcdc1aca884fa58.json b/web/public/bundles/artemis/code/6fc5953927763cf389e85233abcdc1aca884fa58.json new file mode 100644 index 00000000..414952b9 --- /dev/null +++ b/web/public/bundles/artemis/code/6fc5953927763cf389e85233abcdc1aca884fa58.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6fc5953927763cf389e85233abcdc1aca884fa58", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/config/FeedbackConfiguration.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.assessment.config;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\n\nimport jakarta.annotation.PostConstruct;\n\nimport org.springframework.beans.factory.annotation.Value;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.stereotype.Component;\n\n/**\n * Configuration for feedback-related settings.\n * This class provides both instance-based and static access to the max feedback length configuration.\n * The static access is needed for use in entity classes like {@link de.tum.cit.aet.artemis.assessment.domain.Feedback}\n * which cannot have Spring dependencies injected.\n */\n@Profile(PROFILE_CORE)\n@Component\n@Lazy(false)\npublic class FeedbackConfiguration {\n\n private static int maxFeedbackLengthStatic = 20_000;\n\n /**\n * Upper bound for persisted long feedback text of a single test case / assertion.\n *

\n * In practice, feedback is short (typically < 1k chars). Very large feedback texts\n * are almost always caused by runaway output (e.g. infinite loops, excessive logging,\n * repeated stack traces) and do not provide additional value to students.\n *

\n * Build logs are stored separately; this limit protects the database from\n * accidental storage explosions while keeping enough context for debugging.\n */\n @Value(\"${artemis.feedback.max-feedback-length:20000}\")\n private int maxFeedbackLength;\n\n @PostConstruct\n void init() {\n maxFeedbackLengthStatic = maxFeedbackLength;\n }\n\n /**\n * Gets the maximum length for long feedback text.\n * This is the instance method for use in Spring-managed beans.\n *\n * @return the configured maximum length for long feedback\n */\n public int getMaxFeedbackLength() {\n return maxFeedbackLength;\n }\n\n /**\n * Gets the maximum length for long feedback text.\n * This static method is for use in non-Spring-managed classes like entities.\n * Falls back to the default value of 20,000 if Spring context is not initialized.\n *\n * @return the configured maximum length for long feedback\n */\n public static int getMaxFeedbackLengthStatic() {\n return maxFeedbackLengthStatic;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/6fcd034c38be013a3de9f996dd362533f361a523.json b/web/public/bundles/artemis/code/6fcd034c38be013a3de9f996dd362533f361a523.json new file mode 100644 index 00000000..9901ff2a --- /dev/null +++ b/web/public/bundles/artemis/code/6fcd034c38be013a3de9f996dd362533f361a523.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6fcd034c38be013a3de9f996dd362533f361a523", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/web/GlobalSearchResource.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.globalsearch.web;\n\nimport java.time.ZonedDateTime;\nimport java.util.ArrayList;\nimport java.util.HashMap;\nimport java.util.HashSet;\nimport java.util.LinkedHashSet;\nimport java.util.List;\nimport java.util.Locale;\nimport java.util.Map;\nimport java.util.Set;\nimport java.util.stream.Stream;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.http.ResponseEntity;\nimport org.springframework.web.bind.annotation.GetMapping;\nimport org.springframework.web.bind.annotation.RequestMapping;\nimport org.springframework.web.bind.annotation.RequestParam;\nimport org.springframework.web.bind.annotation.RestController;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.account.repository.UserRepository;\nimport de.tum.cit.aet.artemis.core.security.annotations.EnforceAtLeastStudent;\nimport de.tum.cit.aet.artemis.core.service.featureusage.FeatureUsage;\nimport de.tum.cit.aet.artemis.core.service.featureusage.UserFeature;\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.course.dto.CourseForSearchFilterDTO;\nimport de.tum.cit.aet.artemis.course.repository.CourseRepository;\nimport de.tum.cit.aet.artemis.exercise.repository.ExerciseRepository;\nimport de.tum.cit.aet.artemis.globalsearch.config.WeaviateEnabled;\nimport de.tum.cit.aet.artemis.globalsearch.config.schema.entityschemas.SearchableEntitySchema;\nimport de.tum.cit.aet.artemis.globalsearch.dto.GlobalSearchResultDTO;\nimport de.tum.cit.aet.artemis.globalsearch.service.GlobalSearchResultRanker;\nimport de.tum.cit.aet.artemis.globalsearch.service.SearchableEntityAccessFilterService;\nimport de.tum.cit.aet.artemis.globalsearch.service.SearchableEntityWeaviateService;\nimport io.swagger.v3.oas.annotations.Operation;\nimport io.swagger.v3.oas.annotations.Parameter;\nimport io.swagger.v3.oas.annotations.responses.ApiResponse;\nimport io.swagger.v3.oas.annotations.tags.Tag;\n\n/**\n * REST controller for the unified global search endpoint backed by Weaviate.\n *

\n * Invokes {@link SearchableEntityWeaviateService#searchSearchableEntities(String, Filter, int)} exactly\n * once per request with a compound access filter built from the user's per-course roles. Per-type\n * access rules are enforced via {@code OR}-of-{@code AND}s disjuncts gated by the row's {@code type}\n * discriminator, which is why a single request can safely cover every indexable entity type.\n */\n@Lazy\n@Conditional(WeaviateEnabled.class)\n@FeatureUsage(UserFeature.GLOBAL_SEARCH)\n@RestController\n@RequestMapping(\"api/\")\n@Tag(name = \"Global Search Resource\", description = \"Weaviate-based semantic search across courses, exercises, lectures, lecture units, exams, FAQs, and communication channels\")\npublic class GlobalSearchResource {\n\n private static final Logger log = LoggerFactory.getLogger(GlobalSearchResource.class);\n\n /**\n * Every discriminator the collection holds, which is what {@code types} and {@code excludeTypes} accept. Posts and answer\n * posts are among them but are not searchable (see {@link SearchableEntityAccessFilterService#SEARCHABLE_TYPES}): naming\n * them matches nothing instead of failing the request, so a client built while they were searchable, which still sends\n * them alongside {@code channel}, keeps getting its channels rather than a 400.\n */\n private static final Set VALID_TYPES = Set.of(SearchableEntitySchema.TypeValues.EXERCISE, SearchableEntitySchema.TypeValues.LECTURE,\n SearchableEntitySchema.TypeValues.LECTURE_UNIT, SearchableEntitySchema.TypeValues.EXAM, SearchableEntitySchema.TypeValues.FAQ,\n SearchableEntitySchema.TypeValues.CHANNEL, SearchableEntitySchema.TypeValues.COURSE, SearchableEntitySchema.TypeValues.POST,\n SearchableEntitySchema.TypeValues.ANSWER_POST);\n\n /**\n * Upper bound on the number of course ids honoured per {@code courseIds} / {@code excludeCourseIds} list. It bounds the\n * {@code findAllById} and the Weaviate {@code containsAny} on the admin paths, and sits far above any realistic filter\n * set, so only a crafted request can reach it.\n */\n private static final int MAX_COURSE_ID_FILTERS = 100;\n\n /** How many rows are read from Weaviate per requested result, so ranking and de-duplication still fill the limit. */\n private static final int CANDIDATE_FACTOR = 4;\n\n /** Upper bound on the rows read from Weaviate for one search. */\n private static final int MAX_CANDIDATES = 100;\n\n private final SearchableEntityWeaviateService searchableEntityWeaviateService;\n\n private final SearchableEntityAccessFilterService accessFilterService;\n\n private final CourseRepository courseRepository;\n\n private final UserRepository userRepository;\n\n private final ExerciseRepository exerciseRepository;\n\n public GlobalSearchResource(SearchableEntityWeaviateService searchableEntityWeaviateService, SearchableEntityAccessFilterService accessFilterService,\n CourseRepository courseRepository, UserRepository userRepository, ExerciseRepository exerciseRepository) {\n this.searchableEntityWeaviateService = searchableEntityWeaviateService;\n this.accessFilterService = accessFilterService;\n this.courseRepository = courseRepository;\n this.userRepository = userRepository;\n this.exerciseRepository = exerciseRepository;\n }\n\n /**\n * GET /api/search : unified global search across all indexable entity types.\n *

\n * Executes exactly one Weaviate request per invocation. Per-type access rules are encoded as a\n * compound {@code OR}-of-{@code AND}s filter so access control cannot leak across types.\n *\n * @param query the search query (may be empty to browse recent items)\n * @param types optional comma-separated list of types to include ({@code exercise,lecture,lecture_unit,exam,faq,channel,course}\n * or {@code all}; default {@code all}); {@code post} and {@code answer_post} are accepted but match nothing\n * @param excludeTypes optional comma-separated list of types to hide; a row whose type is listed is dropped\n * regardless of {@code types}\n * @param courseIds optional course ids to scope the search to one or more courses (OR); inaccessible or unknown ids are ignored\n * @param excludeCourseIds optional course ids to hide from the results (OR); inaccessible or unknown ids are ignored\n * @param limit maximum number of results (default 10, max 25)\n * @param courseId deprecated single course id sent by clients that predate {@code courseIds}; merged into {@code courseIds}\n * @return status 200 with a list of unified search results; empty list if the user has no access\n * or all requested types are invalid\n */\n @GetMapping(\"search\")\n @EnforceAtLeastStudent\n @Operation(summary = \"Perform a unified semantic search across entity types\", description = \"\"\"\n Searches across multiple entity types (exercises, lectures, lecture units, exams, FAQs, channels, courses)\n with a consistent response format. Messages and replies are not searchable; the types post and answer_post are\n accepted for compatibility but match nothing. When courseIds is not specified, the search is performed\n globally across all courses the authenticated user has access to. Per-type access rules are\n enforced server-side via compound Weaviate filters.\"\"\")\n @ApiResponse(responseCode = \"200\", description = \"Search results matching the query\")\n @ApiResponse(responseCode = \"400\", description = \"Unsupported entity type requested, or more course IDs than the endpoint accepts\")\n public ResponseEntity> globalSearch(@RequestParam(\"q\") @Parameter(description = \"Search query; can be empty to retrieve recent items\") String query,\n @RequestParam(value = \"types\", required = false) @Parameter(description = \"Comma-separated entity type filter (exercise, lecture, lecture_unit, exam, faq, channel, course) or 'all'; default 'all'. post and answer_post are accepted but match nothing\") String types,\n @RequestParam(value = \"excludeTypes\", required = false) @Parameter(description = \"Comma-separated entity types to hide from the results; applied after 'types'\") String excludeTypes,\n @RequestParam(value = \"courseIds\", required = false) @Parameter(description = \"Course IDs to restrict the search to one or more courses (OR); inaccessible IDs are ignored\") List courseIds,\n @RequestParam(value = \"excludeCourseIds\", required = false) @Parameter(description = \"Course IDs to exclude from the search; results in these courses are hidden\") List excludeCourseIds,\n @RequestParam(value = \"limit\", defaultValue = \"10\") @Parameter(description = \"Maximum number of results (1–25, default 10)\") int limit,\n @RequestParam(value = \"courseId\", required = false) @Parameter(description = \"Deprecated, use courseIds. A single course ID, still honored for clients that predate courseIds\", deprecated = true) Long courseId) {\n log.debug(\"REST request for global search with query: '{}', types: {}, courseIds: {}, excludeCourseIds: {}, limit: {}\", query, types, courseIds, excludeCourseIds, limit);\n\n Set requestedTypes = parseTypes(types);\n if (requestedTypes == null) {\n return ResponseEntity.badRequest().build();\n }\n // Exclusions are carried as their own parameter rather than folded into `types` by the client. A complement\n // computed client-side arrives looking exactly like a deliberate narrow request, which is indistinguishable\n // from one: \"everything except exercises\" and \"only exams\" are the same list, and the exam-exercise expansion\n // below would fire for both. Naming the exclusion keeps the two apart.\n Set hiddenTypes = parseExcludedTypes(excludeTypes);\n if (hiddenTypes == null) {\n return ResponseEntity.badRequest().build();\n }\n requestedTypes.removeAll(hiddenTypes);\n if (requestedTypes.isEmpty()) {\n return ResponseEntity.ok(List.of());\n }\n\n int effectiveLimit = Math.clamp(limit, 1, 25);\n // The course roles come along, so the per-course role checks below read them from memory instead of running one\n // existence query per course and role.\n User user = userRepository.getUserWithCourseRolesAndAuthorities();\n\n List includedCourseIds = withLegacyCourseId(courseIds, courseId);\n // An over-long list is refused rather than truncated: dropping excess ids silently under-returns for `courseIds`\n // and, worse, shows content the caller asked to hide for `excludeCourseIds`. Unknown and inaccessible ids stay\n // lenient; only the bound itself is enforced.\n if (exceedsCourseIdLimit(includedCourseIds) || exceedsCourseIdLimit(excludeCourseIds)) {\n return ResponseEntity.badRequest().build();\n }\n\n // rejectInaccessibleCourseIds=false: an OR across several courses must never fail outright on\n // one stale or inaccessible id — inaccessible/unknown ids are silently dropped instead (see the\n // shared service's javadoc for the contrast with the throwing caller). The service takes a\n // non-null excludeCourseIds (its other caller always guarantees one); this request parameter is\n // optional, so a missing one is normalized to empty here rather than pushed onto the service.\n List excludedCourseIds = excludeCourseIds == null ? List.of() : excludeCourseIds;\n SearchableEntityAccessFilterService.FilterBuildResult filterResult = accessFilterService.buildSearchableItemFilter(user, includedCourseIds, excludedCourseIds,\n requestedTypes, hiddenTypes, false);\n if (!filterResult.hasAccess()) {\n return ResponseEntity.ok(List.of());\n }\n\n // A search is over-fetched, because the ranking below moves rows of running courses up and drops older semester\n // copies of an item; the limit applies after that. A browse without a query is returned in Weaviate's order.\n boolean hasQuery = query != null && !query.isBlank();\n int candidateLimit = hasQuery ? Math.min(MAX_CANDIDATES, effectiveLimit * CANDIDATE_FACTOR) : effectiveLimit;\n List> rawResults = searchableEntityWeaviateService.searchSearchableEntities(query, filterResult.filter(), candidateLimit);\n\n Map coursesById;\n Set staffCourseIds;\n Set editorCourseIds;\n if (filterResult.accessibleCoursesById() != null) {\n // Non-admin (or admin with courseIds): reuse courses already fetched during filter building\n coursesById = filterResult.accessibleCoursesById();\n staffCourseIds = filterResult.staffCourseIds();\n editorCourseIds = filterResult.editorCourseIds();\n }\n else {\n // Admin global search: result courses unknown until after query, fetch now\n coursesById = resolveCoursesById(rawResults);\n staffCourseIds = coursesById.keySet();\n editorCourseIds = coursesById.keySet();\n }\n Map courseNameById = new HashMap<>();\n coursesById.forEach((id, course) -> courseNameById.put(id, course.getTitle()));\n // A channel is found only by its name: a match by meaning alone, such as the channel of a lecture whose description\n // fits the query, confuses more than it helps.\n List> rankedResults = GlobalSearchResultRanker.rank(GlobalSearchResultRanker.withoutChannelsNotNamedBy(rawResults, query), hasQuery, coursesById,\n ZonedDateTime.now());\n if (hasQuery && rankedResults.size() < effectiveLimit && rawResults.size() == candidateLimit && candidateLimit < MAX_CANDIDATES) {\n // Merging semester copies or dropping channels shrank a cut-off candidate set below the limit, so more distinct\n // matches may lie beyond it. Reading the larger set keeps a short result list meaning \"no more matches\", which is\n // what the client relies on to offer more results.\n rawResults = searchableEntityWeaviateService.searchSearchableEntities(query, filterResult.filter(), MAX_CANDIDATES);\n if (filterResult.accessibleCoursesById() == null) {\n coursesById = resolveCoursesById(rawResults);\n courseNameById.clear();\n coursesById.forEach((id, course) -> courseNameById.put(id, course.getTitle()));\n staffCourseIds = coursesById.keySet();\n editorCourseIds = coursesById.keySet();\n }\n rankedResults = GlobalSearchResultRanker.rank(GlobalSearchResultRanker.withoutChannelsNotNamedBy(rawResults, query), hasQuery, coursesById, ZonedDateTime.now());\n }\n rawResults = rankedResults.subList(0, Math.min(rankedResults.size(), effectiveLimit));\n\n Map exerciseGroupIdByExerciseId = resolveExerciseGroupIds(rawResults);\n List resultDTOs = new ArrayList<>();\n for (Map properties : rawResults) {\n GlobalSearchResultDTO dto = GlobalSearchResultDTO.fromSearchableItemProperties(properties, courseNameById, exerciseGroupIdByExerciseId, staffCourseIds,\n editorCourseIds);\n if (dto != null) {\n resultDTOs.add(dto);\n }\n }\n return ResponseEntity.ok(resultDTOs);\n }\n\n /**\n * GET /api/search/course-options : the courses the user can scope a global search to.\n *

\n * Lists every course an unscoped search covers, past courses included, so the {@code course:} filter can narrow to\n * any of them. The client ranks the active ones first.\n *\n * @return status 200 with the user's accessible courses and whether each is still active\n */\n @GetMapping(\"search/course-options\")\n @EnforceAtLeastStudent\n @Operation(summary = \"List the courses a global search can be scoped to\", description = \"Returns every course the user has access to, active and past, with an active flag.\")\n @ApiResponse(responseCode = \"200\", description = \"The courses the user can filter the global search by\")\n public ResponseEntity> getCourseFilterOptions() {\n return ResponseEntity.ok(accessFilterService.findCourseFilterOptions(userRepository.getUserIdElseThrow()));\n }\n\n /**\n * Parses the types to hide. Unlike {@link #parseTypes}, a blank value means \"hide nothing\" rather than \"all\".\n *\n * @param excludeTypes the comma-separated parameter value, possibly null\n * @return the types to hide, or null if any entry is not a known type\n */\n private static Set parseExcludedTypes(String excludeTypes) {\n if (excludeTypes == null || excludeTypes.isBlank()) {\n return Set.of();\n }\n Set result = new LinkedHashSet<>();\n for (String token : excludeTypes.split(\",\")) {\n String normalized = token.trim().toLowerCase(Locale.ROOT);\n if (normalized.isEmpty()) {\n continue;\n }\n if (!VALID_TYPES.contains(normalized)) {\n return null;\n }\n result.add(normalized);\n }\n return result;\n }\n\n /**\n * Parses the raw {@code types} query parameter into a set of valid type discriminators.\n *\n * @param types the raw query parameter value\n * @return the parsed set, or {@code null} if any requested token is invalid\n */\n private static Set parseTypes(String types) {\n if (types == null || types.isBlank() || \"all\".equalsIgnoreCase(types.trim())) {\n return new LinkedHashSet<>(SearchableEntityAccessFilterService.SEARCHABLE_TYPES);\n }\n Set result = new LinkedHashSet<>();\n for (String token : types.split(\",\")) {\n String normalized = token.trim().toLowerCase(Locale.ROOT);\n if (normalized.isEmpty()) {\n continue;\n }\n if (!VALID_TYPES.contains(normalized)) {\n return null;\n }\n result.add(normalized);\n }\n return result.isEmpty() ? null : result;\n }\n\n /** Whether the course-id list carries more ids than {@link #MAX_COURSE_ID_FILTERS}, which the endpoint refuses. */\n private static boolean exceedsCourseIdLimit(List courseIds) {\n return courseIds != null && courseIds.size() > MAX_COURSE_ID_FILTERS;\n }\n\n /**\n * Folds the deprecated single {@code courseId} parameter into {@code courseIds}. Clients released before multi-course\n * filtering still send it, and ignoring it would silently widen their course-scoped search to every accessible course.\n */\n private static List withLegacyCourseId(List courseIds, Long courseId) {\n if (courseId == null) {\n return courseIds;\n }\n if (courseIds == null) {\n return List.of(courseId);\n }\n return Stream.concat(courseIds.stream(), Stream.of(courseId)).toList();\n }\n\n /**\n * Resolves one {@link Course} per distinct {@code course_id} appearing in the Weaviate results.\n * Only used as fallback for admin-global searches where accessible courses are not pre-fetched\n * during filter building (the result courses are unknown until after the Weaviate query).\n */\n private Map resolveCoursesById(List> rawResults) {\n Set courseIds = new HashSet<>();\n for (Map properties : rawResults) {\n Object raw = properties.get(SearchableEntitySchema.Properties.COURSE_ID);\n if (raw instanceof Number number) {\n courseIds.add(number.longValue());\n }\n }\n if (courseIds.isEmpty()) {\n return Map.of();\n }\n Map result = new HashMap<>();\n courseRepository.findAllById(courseIds).forEach(course -> result.put(course.getId(), course));\n return result;\n }\n\n /**\n * Resolves the exercise group IDs for all exam exercises appearing in the Weaviate results.\n * This is needed to build the correct course-management routing URL for exam exercise results.\n */\n private Map resolveExerciseGroupIds(List> rawResults) {\n Set examExerciseIds = new HashSet<>();\n for (Map properties : rawResults) {\n Object type = properties.get(SearchableEntitySchema.Properties.TYPE);\n if (!SearchableEntitySchema.TypeValues.EXERCISE.equals(type)) {\n continue;\n }\n Object examId = properties.get(SearchableEntitySchema.Properties.EXAM_ID);\n if (examId == null) {\n continue;\n }\n Object rawId = properties.get(SearchableEntitySchema.Properties.ENTITY_ID);\n if (rawId instanceof Number number) {\n examExerciseIds.add(number.longValue());\n }\n }\n if (examExerciseIds.isEmpty()) {\n return Map.of();\n }\n Map result = new HashMap<>();\n for (var dto : exerciseRepository.findExerciseAndGroupIdsByExerciseIds(examExerciseIds)) {\n result.put(dto.exerciseId(), dto.exerciseGroupId());\n }\n return result;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/705229f57fd4eb2e4393df8abefa985e9c220b2d.json b/web/public/bundles/artemis/code/705229f57fd4eb2e4393df8abefa985e9c220b2d.json new file mode 100644 index 00000000..148471bc --- /dev/null +++ b/web/public/bundles/artemis/code/705229f57fd4eb2e4393df8abefa985e9c220b2d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "705229f57fd4eb2e4393df8abefa985e9c220b2d", + "language": "typescript", + "path": "src/main/webapp/app/course/overview/setup-passkey-modal/setup-passkey-modal.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, DestroyRef, OnInit, inject, signal } from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { faBolt, faFingerprint, faKey, faLock, faShieldHalved } from '@fortawesome/free-solid-svg-icons';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\nimport { AlertService } from 'app/foundation/service/alert.service';\nimport { AccountService } from 'app/core/auth/account.service';\nimport { EARLIEST_SETUP_PASSKEY_REMINDER_DATE_LOCAL_STORAGE_KEY, LocalStorageService } from 'app/foundation/service/local-storage.service';\nimport { WebauthnService } from 'app/account/user/settings/credentials/passkey-settings/webauthn.service';\nimport { ProfileService } from 'app/core/layouts/profiles/shared/profile.service';\nimport { MODULE_FEATURE_PASSKEY } from 'app/app.constants';\nimport { TumAetUiButtonComponent } from '@tumaet/ui-angular/button';\nimport { TumAetUiDialogComponent } from '@tumaet/ui-angular/dialog';\n\n@Component({\n selector: 'jhi-setup-passkey-modal',\n imports: [TranslateDirective, FontAwesomeModule, TumAetUiDialogComponent, TumAetUiButtonComponent, TranslatePipe],\n templateUrl: './setup-passkey-modal.component.html',\n})\nexport class SetupPasskeyModalComponent implements OnInit {\n private readonly webauthnService = inject(WebauthnService);\n private readonly alertService = inject(AlertService);\n private readonly accountService = inject(AccountService);\n private readonly localStorageService = inject(LocalStorageService);\n private readonly profileService = inject(ProfileService);\n private readonly destroyRef = inject(DestroyRef);\n\n protected readonly faKey = faKey;\n protected readonly faShieldHalved = faShieldHalved;\n protected readonly faFingerprint = faFingerprint;\n protected readonly faBolt = faBolt;\n protected readonly faLock = faLock;\n\n readonly visible = signal(false);\n\n /**\n * Set once the user dismisses the prompt during the current session (e.g. via \"Set up later\").\n * The modal is a singleton in the app shell, so this prevents it from reopening when the\n * authentication state re-emits (e.g. after changing the AI experience). Reset on a full reload.\n */\n private dismissedForCurrentSession = false;\n\n ngOnInit(): void {\n if (!this.profileService.isModuleFeatureActive(MODULE_FEATURE_PASSKEY)) {\n return;\n }\n\n this.accountService\n .getAuthenticationState()\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe((user) => {\n if (user) {\n this.openIfNeeded();\n }\n });\n }\n\n /**\n *

\n * We want users to use passkey authentication over password authentication.\n *

\n *

\n * If the passkey feature is enabled and no passkeys are set up yet, we display a modal that informs the user about passkeys and forwards to the setup page.\n *

\n */\n private openIfNeeded(): void {\n if (this.dismissedForCurrentSession) {\n return;\n }\n\n const earliestReminderDate = this.localStorageService.retrieveDate(EARLIEST_SETUP_PASSKEY_REMINDER_DATE_LOCAL_STORAGE_KEY);\n const userDisabledReminderForCurrentTimeframe = earliestReminderDate && new Date() < earliestReminderDate;\n if (userDisabledReminderForCurrentTimeframe) {\n return;\n }\n\n if (!this.accountService.userIdentity()?.askToSetupPasskey) {\n return;\n }\n\n this.visible.set(true);\n }\n\n async setupPasskey() {\n await this.webauthnService.addNewPasskey(this.accountService.userIdentity());\n this.alertService.success('artemisApp.userSettings.passkeySettingsPage.success.registration');\n this.closeModal();\n }\n\n remindMeIn30Days() {\n const currentDate = new Date();\n const futureDate = new Date(currentDate.setDate(currentDate.getDate() + 30));\n this.localStorageService.store(EARLIEST_SETUP_PASSKEY_REMINDER_DATE_LOCAL_STORAGE_KEY, futureDate);\n this.closeModal();\n }\n\n closeModal(): void {\n this.dismissedForCurrentSession = true;\n this.visible.set(false);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/70aca5e3b98e041719a2490237f1b2906bef4937.json b/web/public/bundles/artemis/code/70aca5e3b98e041719a2490237f1b2906bef4937.json new file mode 100644 index 00000000..a5772b18 --- /dev/null +++ b/web/public/bundles/artemis/code/70aca5e3b98e041719a2490237f1b2906bef4937.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "70aca5e3b98e041719a2490237f1b2906bef4937", + "language": "typescript", + "path": "src/main/webapp/app/communication/course-conversations-components/dialogs/channels-create-dialog/channels-create-dialog.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, signal } from '@angular/core';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { faXmark } from '@fortawesome/free-solid-svg-icons';\nimport { TumAetUiButtonDirective } from '@tumaet/ui-angular/button';\nimport { ChannelFormData, ChannelType } from 'app/communication/course-conversations-components/dialogs/channels-create-dialog/channel-form/channel-form.component';\nimport { Course } from 'app/course/shared/entities/course.model';\nimport { ChannelDTO } from 'app/communication/shared/entities/conversation/channel.model';\nimport { AbstractDialogComponent } from 'app/communication/course-conversations-components/abstract-dialog.component';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { ChannelFormComponent } from 'app/communication/course-conversations-components/dialogs/channels-create-dialog/channel-form/channel-form.component';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\n\n@Component({\n selector: 'jhi-channels-create-dialog',\n templateUrl: './channels-create-dialog.component.html',\n imports: [TranslateDirective, ChannelFormComponent, ArtemisTranslatePipe, FaIconComponent, TumAetUiButtonDirective],\n})\nexport class ChannelsCreateDialogComponent extends AbstractDialogComponent {\n protected readonly faXmark = faXmark;\n\n course = signal(undefined);\n\n override initialize() {\n super.initialize(['course']);\n }\n\n channelToCreate: ChannelDTO = new ChannelDTO();\n readonly isPublicChannel = signal(true);\n readonly isAnnouncementChannel = signal(false);\n readonly isCourseWideChannel = signal(false);\n\n onChannelTypeChanged($event: ChannelType) {\n this.isPublicChannel.set($event === 'PUBLIC');\n }\n\n onIsAnnouncementChannelChanged($event: boolean) {\n this.isAnnouncementChannel.set($event);\n }\n\n onIsCourseWideChannelChanged($event: boolean) {\n this.isCourseWideChannel.set($event);\n }\n\n onFormSubmitted($event: ChannelFormData) {\n this.createChannel($event);\n }\n\n createChannel(formData: ChannelFormData) {\n const { name, description, isPublic, isAnnouncementChannel, isCourseWideChannel } = formData;\n this.channelToCreate.name = name ? name.trim() : undefined;\n this.channelToCreate.description = description ? description.trim() : undefined;\n this.channelToCreate.isPublic = isPublic ?? false;\n this.channelToCreate.isAnnouncementChannel = isAnnouncementChannel ?? false;\n this.channelToCreate.isCourseWide = isCourseWideChannel ?? false;\n this.close(this.channelToCreate);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/70fe255a87fb968e4c02d017f8b14eeec49130da.json b/web/public/bundles/artemis/code/70fe255a87fb968e4c02d017f8b14eeec49130da.json new file mode 100644 index 00000000..bb1430a5 --- /dev/null +++ b/web/public/bundles/artemis/code/70fe255a87fb968e4c02d017f8b14eeec49130da.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "70fe255a87fb968e4c02d017f8b14eeec49130da", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/videosource/domain/GocastCourseBinding.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.videosource.domain;\n\nimport java.time.Instant;\n\nimport jakarta.persistence.Column;\nimport jakarta.persistence.Entity;\nimport jakarta.persistence.EnumType;\nimport jakarta.persistence.Enumerated;\nimport jakarta.persistence.Table;\nimport jakarta.persistence.Version;\n\nimport de.tum.cit.aet.artemis.core.domain.DomainObject;\nimport de.tum.cit.aet.artemis.core.domain.Parent;\n\n@Entity\n@Table(name = \"gocast_course_binding\")\npublic class GocastCourseBinding extends DomainObject {\n\n @Column(name = \"course_id\", nullable = false, unique = true)\n @Parent\n private long courseId;\n\n @Column(name = \"gocast_course_id\", unique = true)\n private Long gocastCourseId;\n\n @Column(name = \"gocast_integration_id\", nullable = false)\n private long integrationId;\n\n @Column(name = \"gocast_grant_id\")\n private Long gocastGrantId;\n\n @Column(name = \"course_slug\")\n private String courseSlug;\n\n @Column(name = \"course_name\")\n private String courseName;\n\n @Column(name = \"visibility\", length = 32)\n private String visibility;\n\n @Enumerated(EnumType.STRING)\n @Column(name = \"status\", nullable = false, length = 16)\n private GocastBindingStatus status;\n\n @Version\n @Column(name = \"version\", nullable = false)\n private Long version;\n\n @Column(name = \"state_hash\", unique = true, length = 64)\n private String stateHash;\n\n @Column(name = \"expires_at\")\n private Instant expiresAt;\n\n public long getCourseId() {\n return courseId;\n }\n\n public void setCourseId(long courseId) {\n this.courseId = courseId;\n }\n\n public Long getGocastCourseId() {\n return gocastCourseId;\n }\n\n public void setGocastCourseId(long gocastCourseId) {\n this.gocastCourseId = gocastCourseId;\n }\n\n public long getIntegrationId() {\n return integrationId;\n }\n\n public void setIntegrationId(long integrationId) {\n this.integrationId = integrationId;\n }\n\n public Long getGocastGrantId() {\n return gocastGrantId;\n }\n\n public void setGocastGrantId(long gocastGrantId) {\n this.gocastGrantId = gocastGrantId;\n }\n\n public String getCourseSlug() {\n return courseSlug;\n }\n\n public void setCourseSlug(String courseSlug) {\n this.courseSlug = courseSlug;\n }\n\n public String getCourseName() {\n return courseName;\n }\n\n public void setCourseName(String courseName) {\n this.courseName = courseName;\n }\n\n public String getVisibility() {\n return visibility;\n }\n\n public void setVisibility(String visibility) {\n this.visibility = visibility;\n }\n\n public GocastBindingStatus getStatus() {\n return status;\n }\n\n public void setStatus(GocastBindingStatus status) {\n this.status = status;\n }\n\n public Long getVersion() {\n return version;\n }\n\n public String getStateHash() {\n return stateHash;\n }\n\n public void setStateHash(String stateHash) {\n this.stateHash = stateHash;\n }\n\n public Instant getExpiresAt() {\n return expiresAt;\n }\n\n public void setExpiresAt(Instant expiresAt) {\n this.expiresAt = expiresAt;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/7102e9e157e1f8c59e9edc4ec3d18bc68fc0412c.json b/web/public/bundles/artemis/code/7102e9e157e1f8c59e9edc4ec3d18bc68fc0412c.json new file mode 100644 index 00000000..ce2c6bc2 --- /dev/null +++ b/web/public/bundles/artemis/code/7102e9e157e1f8c59e9edc4ec3d18bc68fc0412c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "7102e9e157e1f8c59e9edc4ec3d18bc68fc0412c", + "language": "typescript", + "path": "src/main/webapp/app/lecture/overview/course-lectures/lecture-unit/lecture-unit.component.ts", + "schema": "codexray.code/1", + "text": "import { TumAetUiButtonDirective, TumAetUiButtonSeverity } from '@tumaet/ui-angular/button';\nimport { TumAetUiTagComponent } from '@tumaet/ui-angular/tag';\nimport { TumAetUiTooltipDirective } from '@tumaet/ui-angular/tooltip';\nimport { Component, ElementRef, Injector, OnDestroy, afterNextRender, computed, effect, inject, input, output, signal, untracked } from '@angular/core';\nimport { IconDefinition, faCheckCircle, faCircle, faDownload, faExpand, faExternalLinkAlt } from '@fortawesome/free-solid-svg-icons';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport { LectureUnit } from 'app/lecture/shared/entities/lecture-unit/lectureUnit.model';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { ArtemisDatePipe } from 'app/foundation/pipes/artemis-date.pipe';\nimport { CommonModule } from '@angular/common';\nimport { Router } from '@angular/router';\nimport { CompetencyContributionComponent } from 'app/atlas/shared/competency-contribution/competency-contribution.component';\nimport { LectureDeepLink } from 'app/lecture/overview/course-lectures/lecture-deep-link.model';\n\n@Component({\n selector: 'jhi-lecture-unit-card',\n imports: [\n TumAetUiTagComponent,\n TumAetUiButtonDirective,\n TumAetUiTooltipDirective,\n FontAwesomeModule,\n TranslateDirective,\n ArtemisTranslatePipe,\n ArtemisDatePipe,\n CommonModule,\n CompetencyContributionComponent,\n ],\n templateUrl: './lecture-unit.component.html',\n styleUrl: './lecture-unit.component.css',\n})\nexport class LectureUnitComponent implements OnDestroy {\n private static readonly SCROLL_INTO_VIEW_DELAY_MS = 500;\n\n private router = inject(Router);\n private elementRef = inject(ElementRef);\n private injector = inject(Injector);\n private scrollTimeoutId: ReturnType | undefined;\n private scrollGeneration = 0;\n\n protected faDownload = faDownload;\n protected faCheckCircle = faCheckCircle;\n protected faCircle = faCircle;\n protected faExpand = faExpand;\n\n courseId = input.required();\n\n lectureUnit = input.required();\n icon = input.required();\n\n showViewIsolatedButton = input(false);\n viewIsolatedButtonLabel = input('artemisApp.textUnit.isolated');\n viewIsolatedButtonSeverity = input('secondary');\n viewIsolatedButtonIcon = input(faExternalLinkAlt);\n isPresentationMode = input.required();\n readonly deepLink = input(undefined);\n\n readonly showOriginalVersionButton = input(false);\n readonly onShowOriginalVersion = output();\n\n /** Controls visibility of the fullscreen action button in the lecture unit header. */\n readonly showFullscreenButton = input(false);\n /** Emitted when the fullscreen action button is activated. */\n readonly onFullscreen = output();\n\n readonly onShowIsolated = output();\n readonly onCollapse = output();\n readonly onCompletion = output();\n\n readonly isCollapsed = signal(true);\n\n readonly isVisibleToStudents = computed(() => this.lectureUnit().visibleToStudents);\n readonly isStudentPath = computed(() => this.router.url.startsWith('/courses'));\n\n constructor() {\n effect(\n (onCleanup) => {\n const deepLink = this.deepLink();\n if (!deepLink) {\n return;\n }\n\n const scrollGeneration = ++this.scrollGeneration;\n\n untracked(() => {\n if (this.isCollapsed()) {\n this.isCollapsed.set(false);\n this.onCollapse.emit(false);\n }\n\n this.scheduleScroll('start', LectureUnitComponent.SCROLL_INTO_VIEW_DELAY_MS, deepLink, scrollGeneration);\n });\n\n onCleanup(() => {\n this.scrollGeneration++;\n this.clearScrollTimeout();\n });\n },\n { injector: this.injector },\n );\n }\n\n ngOnDestroy(): void {\n this.scrollGeneration++;\n this.clearScrollTimeout();\n }\n\n toggleCompletion(event: Event) {\n event.stopPropagation();\n this.onCompletion.emit(!this.lectureUnit().completed!);\n }\n\n toggleCollapse() {\n this.isCollapsed.update((isCollapsed) => !isCollapsed);\n this.onCollapse.emit(this.isCollapsed());\n\n if (!this.isCollapsed()) {\n this.scheduleScroll('nearest');\n }\n }\n\n handleIsolatedView(event: Event) {\n event.stopPropagation();\n this.onShowIsolated.emit();\n }\n\n handleOriginalVersionView(event: Event) {\n event.stopPropagation();\n this.onShowOriginalVersion.emit();\n }\n\n /** Handles fullscreen action clicks without collapsing/expanding the card. */\n handleFullscreen(event: Event): void {\n event.stopPropagation();\n this.onFullscreen.emit();\n }\n\n private scheduleScroll(block: ScrollLogicalPosition, delayMs = 0, deepLink?: LectureDeepLink, scrollGeneration?: number): void {\n afterNextRender(\n () => {\n if (scrollGeneration !== undefined && scrollGeneration !== this.scrollGeneration) {\n return;\n }\n\n const doScroll = () => {\n if (scrollGeneration !== undefined && scrollGeneration !== this.scrollGeneration) {\n return;\n }\n\n const timestamp = deepLink?.timestamp;\n const page = deepLink?.page;\n\n // Scroll to video player if timestamp is provided (deeplinking)\n if (timestamp !== undefined) {\n const videoPlayer = this.elementRef.nativeElement.querySelector('jhi-video-player') ?? this.elementRef.nativeElement.querySelector('jhi-youtube-player');\n if (videoPlayer) {\n videoPlayer.scrollIntoView({ behavior: 'smooth', block: 'start' });\n return;\n }\n }\n\n // Scroll to PDF viewer if page is provided (deeplinking)\n if (page !== undefined) {\n const pdfViewer = this.elementRef.nativeElement.querySelector('jhi-pdf-viewer');\n if (pdfViewer) {\n pdfViewer.scrollIntoView({ behavior: 'smooth', block: 'start' });\n return;\n }\n }\n\n // Default: scroll to unit card\n this.elementRef.nativeElement.scrollIntoView?.({ behavior: 'smooth', block });\n };\n if (delayMs > 0) {\n this.scrollTimeoutId = setTimeout(doScroll, delayMs);\n } else {\n doScroll();\n }\n },\n { injector: this.injector },\n );\n }\n\n private clearScrollTimeout(): void {\n if (this.scrollTimeoutId !== undefined) {\n clearTimeout(this.scrollTimeoutId);\n this.scrollTimeoutId = undefined;\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/72ae4b745e3a2d0f25e37b20647b869fef8c04b7.json b/web/public/bundles/artemis/code/72ae4b745e3a2d0f25e37b20647b869fef8c04b7.json new file mode 100644 index 00000000..b7ab00da --- /dev/null +++ b/web/public/bundles/artemis/code/72ae4b745e3a2d0f25e37b20647b869fef8c04b7.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "72ae4b745e3a2d0f25e37b20647b869fef8c04b7", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/repository/TextAssessmentEventRepository.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.assessment.repository;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\nimport static java.util.stream.Collectors.toMap;\n\nimport java.util.List;\nimport java.util.Map;\n\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.data.jpa.repository.Query;\nimport org.springframework.data.repository.query.Param;\nimport org.springframework.stereotype.Repository;\n\nimport de.tum.cit.aet.artemis.core.repository.base.ArtemisJpaRepository;\nimport de.tum.cit.aet.artemis.text.domain.TextAssessmentEvent;\n\n/**\n * Spring Data repository for the TextAssessmentEvent entity.\n */\n@Profile(PROFILE_CORE)\n@Lazy\n@Repository\npublic interface TextAssessmentEventRepository extends ArtemisJpaRepository {\n\n List findAllByCourseId(long courseId);\n\n @Query(\"\"\"\n SELECT COUNT(DISTINCT textAssessmentEvent.userId)\n FROM TextAssessmentEvent textAssessmentEvent\n WHERE textAssessmentEvent.courseId = :courseId\n AND textAssessmentEvent.textExerciseId = :exerciseId\n \"\"\")\n Integer getNumberOfTutorsInvolvedInAssessingByExerciseAndCourseId(@Param(\"courseId\") long courseId, @Param(\"exerciseId\") long exerciseId);\n\n /**\n * Query and find all events which do not have the respective fields empty. These fields are specifically needed non-empty\n * for the tutor effort estimation process\n *\n * @param courseId the id of the course to check for\n * @param textExerciseId the id of the text exercise to check for\n * @return a list of text assessment events\n */\n @Query(\"\"\"\n SELECT textAssessmentEvent\n FROM TextAssessmentEvent textAssessmentEvent\n WHERE textAssessmentEvent.userId IS NOT NULL\n AND textAssessmentEvent.submissionId IS NOT NULL\n AND textAssessmentEvent.participationId IS NOT NULL\n AND textAssessmentEvent.timestamp IS NOT NULL\n AND textAssessmentEvent.courseId = :courseId\n AND textAssessmentEvent.textExerciseId = :textExerciseId\n \"\"\")\n List findAllNonEmptyEvents(@Param(\"courseId\") long courseId, @Param(\"textExerciseId\") long textExerciseId);\n\n /**\n * Finds the number of submissions assessed for each tutor listed in the assessment event list\n *\n * @param courseId the id of the course to check for\n * @param textExerciseId the id of the text exercise to check for\n * @return a TutorAssessedSubmissionsCount interface representing user id and number of submissions involved\n */\n @Query(\"\"\"\n SELECT textAssessmentEvent.userId AS tutorId,\n COUNT(DISTINCT textAssessmentEvent.submissionId) AS submissionsInvolved\n FROM TextAssessmentEvent textAssessmentEvent\n WHERE textAssessmentEvent.userId IS NOT NULL\n AND textAssessmentEvent.submissionId IS NOT NULL\n AND textAssessmentEvent.participationId IS NOT NULL\n AND textAssessmentEvent.courseId = :courseId\n AND textAssessmentEvent.textExerciseId = :textExerciseId\n GROUP BY textAssessmentEvent.userId\n \"\"\")\n List findNumberOfSubmissionsAssessedForTutor(@Param(\"courseId\") long courseId, @Param(\"textExerciseId\") long textExerciseId);\n\n /**\n * An interface representing an intermediate form fitting the JPA query syntax.\n * It is used to make converting to a Map easier through the `getAssessedSubmissionCountPerTutor` function\n */\n interface TutorAssessedSubmissionsCount {\n\n long getTutorId();\n\n int getSubmissionsInvolved();\n }\n\n /**\n * Calculates number of submissions each tutor is involved with\n *\n * @param courseId course to check\n * @param textExerciseId text exercise id to check\n * @return Map containing user id and respective number of submissions affected\n */\n default Map getAssessedSubmissionCountPerTutor(long courseId, long textExerciseId) {\n return findNumberOfSubmissionsAssessedForTutor(courseId, textExerciseId).stream()\n .collect(toMap(TutorAssessedSubmissionsCount::getTutorId, TutorAssessedSubmissionsCount::getSubmissionsInvolved));\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/72cf726752c5c0cd9885105e1b4e2b0010a7b8fb.json b/web/public/bundles/artemis/code/72cf726752c5c0cd9885105e1b4e2b0010a7b8fb.json new file mode 100644 index 00000000..e1a619e9 --- /dev/null +++ b/web/public/bundles/artemis/code/72cf726752c5c0cd9885105e1b4e2b0010a7b8fb.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "72cf726752c5c0cd9885105e1b4e2b0010a7b8fb", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/domain/conversation/OneToOneChat.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.communication.domain.conversation;\n\nimport static de.tum.cit.aet.artemis.communication.ConversationSettings.MAX_ONE_TO_ONE_CHAT_PARTICIPANTS;\n\nimport java.time.ZonedDateTime;\nimport java.util.Set;\n\nimport jakarta.persistence.Column;\nimport jakarta.persistence.DiscriminatorValue;\nimport jakarta.persistence.Entity;\n\nimport com.fasterxml.jackson.annotation.JsonIgnore;\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.communication.domain.ConversationParticipant;\nimport de.tum.cit.aet.artemis.communication.domain.Post;\nimport de.tum.cit.aet.artemis.course.domain.Course;\n\n@Entity\n@DiscriminatorValue(\"O\")\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic class OneToOneChat extends Conversation {\n\n /**\n * Identifies the pair of users of the chat, see {@link #pairKeyOf(long, long)}. Together with the course it is unique, so the database refuses a second chat of the same\n * pair, however many requests start one at the same time. It is null for a chat whose other user was deleted.\n */\n @Column(name = \"participant_pair_key\", length = 40)\n @JsonIgnore\n private String participantPairKey;\n\n public OneToOneChat(Long id, User creator, Set conversationParticipants, Set posts, Course course, ZonedDateTime creationDate,\n ZonedDateTime lastMessageDate) {\n super(id, creator, conversationParticipants, posts, course, creationDate, lastMessageDate);\n }\n\n public OneToOneChat() {\n }\n\n /**\n * Builds the key of the pair of two users. It is the same whichever user comes first.\n *\n * @param userIdA the id of the first user\n * @param userIdB the id of the second user\n * @return the lower user id and the higher user id, separated by a dash\n */\n public static String pairKeyOf(long userIdA, long userIdB) {\n return Math.min(userIdA, userIdB) + \"-\" + Math.max(userIdA, userIdB);\n }\n\n public String getParticipantPairKey() {\n return participantPairKey;\n }\n\n public void setParticipantPairKey(String participantPairKey) {\n this.participantPairKey = participantPairKey;\n }\n\n @Override\n public void setConversationParticipants(Set conversationParticipant) {\n if (conversationParticipant.size() > MAX_ONE_TO_ONE_CHAT_PARTICIPANTS) {\n throw new IllegalArgumentException(\"OneToOneChat can only have max two participants\");\n }\n super.setConversationParticipants(conversationParticipant);\n }\n\n @Override\n public String getHumanReadableNameForReceiver(User sender) {\n return sender.getName();\n }\n\n @Override\n public Conversation copy() {\n return new OneToOneChat(getId(), getCreator(), getConversationParticipants(), getPosts(), getCourse(), getCreationDate(), getLastMessageDate());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/73612eeb5f9243784c618d1a9740b47a399a7f0e.json b/web/public/bundles/artemis/code/73612eeb5f9243784c618d1a9740b47a399a7f0e.json new file mode 100644 index 00000000..79d542c6 --- /dev/null +++ b/web/public/bundles/artemis/code/73612eeb5f9243784c618d1a9740b47a399a7f0e.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "73612eeb5f9243784c618d1a9740b47a399a7f0e", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/buildagent/dto/BuildJobDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.buildagent.dto;\n\nimport org.jspecify.annotations.Nullable;\n\nimport de.tum.cit.aet.artemis.programming.domain.build.BuildStatus;\n\n/**\n * Common interface for build job DTOs, providing access to fields shared between\n * active jobs ({@link BuildJobQueueItem}) and finished jobs ({@link FinishedBuildJobDTO}).\n *

\n * This interface enables type-safe handling of build jobs in REST endpoints that\n * may return either type depending on the job's state.\n */\npublic interface BuildJobDTO {\n\n /**\n * @return the unique identifier of the build job\n */\n String id();\n\n /**\n * @return the name/description of the build job\n */\n String name();\n\n /**\n * @return the ID of the participation this build job belongs to\n */\n long participationId();\n\n /**\n * @return the ID of the course this build job belongs to\n */\n long courseId();\n\n /**\n * @return the ID of the exercise this build job belongs to\n */\n long exerciseId();\n\n /**\n * @return the current status of the build job, or null if not yet determined\n */\n @Nullable\n BuildStatus status();\n}\n" +} diff --git a/web/public/bundles/artemis/code/737af7ffd8d48905b019e1bb2f68a7e68dd87a70.json b/web/public/bundles/artemis/code/737af7ffd8d48905b019e1bb2f68a7e68dd87a70.json new file mode 100644 index 00000000..e0639757 --- /dev/null +++ b/web/public/bundles/artemis/code/737af7ffd8d48905b019e1bb2f68a7e68dd87a70.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "737af7ffd8d48905b019e1bb2f68a7e68dd87a70", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/GitService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.localvc.service;\n\nimport static de.tum.cit.aet.artemis.core.config.BinaryFileExtensionConfiguration.isBinaryFile;\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\n\nimport java.io.IOException;\nimport java.io.UncheckedIOException;\nimport java.net.URI;\nimport java.net.URISyntaxException;\nimport java.nio.file.FileSystems;\nimport java.nio.file.FileVisitResult;\nimport java.nio.file.Files;\nimport java.nio.file.InvalidPathException;\nimport java.nio.file.Path;\nimport java.nio.file.SimpleFileVisitor;\nimport java.nio.file.attribute.BasicFileAttributes;\nimport java.util.Collection;\nimport java.util.HashMap;\nimport java.util.Map;\nimport java.util.Objects;\nimport java.util.Optional;\nimport java.util.regex.Pattern;\n\nimport org.apache.commons.io.FileUtils;\nimport org.apache.commons.lang3.StringUtils;\nimport org.eclipse.jgit.api.CloneCommand;\nimport org.eclipse.jgit.api.CommitCommand;\nimport org.eclipse.jgit.api.FetchCommand;\nimport org.eclipse.jgit.api.Git;\nimport org.eclipse.jgit.api.LsRemoteCommand;\nimport org.eclipse.jgit.api.PullCommand;\nimport org.eclipse.jgit.api.PushCommand;\nimport org.eclipse.jgit.api.ResetCommand;\nimport org.eclipse.jgit.api.errors.GitAPIException;\nimport org.eclipse.jgit.api.errors.InvalidRefNameException;\nimport org.eclipse.jgit.api.errors.JGitInternalException;\nimport org.eclipse.jgit.api.errors.NoHeadException;\nimport org.eclipse.jgit.api.errors.TransportException;\nimport org.eclipse.jgit.api.errors.WrongRepositoryStateException;\nimport org.eclipse.jgit.lib.ConfigConstants;\nimport org.eclipse.jgit.lib.Constants;\nimport org.eclipse.jgit.lib.PersonIdent;\nimport org.eclipse.jgit.lib.Ref;\nimport org.eclipse.jgit.lib.RefUpdate;\nimport org.eclipse.jgit.revwalk.RevCommit;\nimport org.eclipse.jgit.transport.PushResult;\nimport org.eclipse.jgit.transport.RefLeaseSpec;\nimport org.eclipse.jgit.transport.RefSpec;\nimport org.eclipse.jgit.transport.RemoteConfig;\nimport org.jspecify.annotations.NonNull;\nimport org.jspecify.annotations.Nullable;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.beans.factory.annotation.Value;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.core.exception.EntityNotFoundException;\nimport de.tum.cit.aet.artemis.programming.domain.File;\nimport de.tum.cit.aet.artemis.programming.domain.FileType;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingExercise;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingExerciseParticipation;\nimport de.tum.cit.aet.artemis.programming.domain.Repository;\nimport de.tum.cit.aet.artemis.programming.domain.VcsRepositoryUri;\nimport de.tum.cit.aet.artemis.programming.exception.GitException;\n\n@Profile(PROFILE_CORE)\n@Lazy\n@Service\npublic class GitService extends AbstractGitService {\n\n private static final Logger log = LoggerFactory.getLogger(GitService.class);\n\n /** The exercise name inside a repository folder name, which a JPlag checkout replaces with the participation id. */\n private static final Pattern EXERCISE_NAME_IN_FOLDER_NAME = Pattern.compile(\"/[a-zA-Z0-9]*-\");\n\n @Value(\"${artemis.version-control.local-vcs-repo-path}\")\n private Path localVCBasePath;\n\n @Value(\"${artemis.repo-clone-path}\")\n private Path repoClonePath;\n\n /**\n * Get the URI for a {@link LocalVCRepositoryUri}. This either retrieves the SSH URI, if SSH is used, the HTTP(S) URI, or the path to the repository's folder if the local VCS\n * is\n * used.\n * This method is for internal use (getting the URI for cloning the repository into the Artemis file system).\n * For the local VCS however, the repository is cloned from the folder defined in the environment variable \"artemis.version-control.local-vcs-repo-path\".\n *\n * @param vcsRepositoryUri the {@link LocalVCRepositoryUri} for which to get the URI\n * @return the URI (SSH, HTTP(S), or local path)\n */\n @Override\n protected URI getGitUri(@NonNull LocalVCRepositoryUri vcsRepositoryUri) {\n return vcsRepositoryUri.getLocalRepositoryPath(localVCBasePath).toUri();\n }\n\n /**\n * Get the local repository for a given participation. If the local repo does not exist yet, it will be checked out.\n * Saves the local repo in the default path.\n *\n * @param participation Participation the remote repository belongs to.\n * @param writeAccess whether we want to write to the repository\n * @return the repository if it could be checked out\n * @throws GitAPIException if the repository could not be checked out.\n */\n public Repository getOrCheckoutRepository(ProgrammingExerciseParticipation participation, boolean writeAccess) throws GitAPIException {\n return getOrCheckoutRepository(participation, repoClonePath, writeAccess);\n }\n\n /**\n * Get the local repository for a given participation. If the local repo does not exist yet, it will be checked out.\n * Saves the local repo in the default path.\n *\n * @param participation Participation the remote repository belongs to.\n * @param targetPath path where the repo is located on disk\n * @param writeAccess whether we want to write to the repository\n * @return the repository if it could be checked out\n * @throws GitAPIException if the repository could not be checked out.\n * @throws GitException if the same repository is attempted to be cloned multiple times.\n */\n public Repository getOrCheckoutRepository(ProgrammingExerciseParticipation participation, Path targetPath, boolean writeAccess) throws GitAPIException, GitException {\n var repoUri = participation.getVcsRepositoryUri();\n Repository repository = getOrCheckoutRepositoryWithTargetPath(repoUri, targetPath, true, writeAccess);\n repository.setParticipation(participation);\n return repository;\n }\n\n /**\n * Get the local repository for a given participation.\n * If the local repo does not exist yet, it will be checked out.\n *

\n * This method will include the participation ID in the local path of the repository so\n * JPlag can refer back to the correct participation.\n *\n * @param participation Participation the remote repository belongs to.\n * @param targetPath path where the repo is located on disk\n * @return the repository if it could be checked out\n * @throws GitAPIException if the repository could not be checked out.\n * @throws GitException if the participation has no repository URI.\n * @throws InvalidPathException if the repository could not be checked out Because it contains unmappable characters.\n * @throws IllegalArgumentException if the folder of the repository does not lie below the target path.\n */\n public Repository getOrCheckoutRepositoryForJPlag(@NonNull ProgrammingExerciseParticipation participation, Path targetPath) throws GitAPIException, InvalidPathException {\n var repoUri = participation.getVcsRepositoryUri();\n if (repoUri == null) {\n throw new GitException(\"Participation \" + participation.getId() + \" has no repository URI and cannot be checked out for JPlag\");\n }\n String repoFolderName = repoUri.folderNameForRepositoryUri();\n\n // Replace the exercise name in the repository folder name with the participation ID.\n // This is necessary to be able to refer back to the correct participation after the JPlag detection run.\n String updatedRepoFolderName = EXERCISE_NAME_IN_FOLDER_NAME.matcher(repoFolderName).replaceAll(\"/\" + participation.getId() + \"-\");\n // the repo-folder name might start with a separator, e.g. \"/studentOriginRepo1234567890 which is treated as absolute path which is wrong\n if (updatedRepoFolderName.startsWith(FileSystems.getDefault().getSeparator())) {\n updatedRepoFolderName = updatedRepoFolderName.substring(1);\n }\n Path localPath = VcsRepositoryUri.resolveBelow(targetPath, updatedRepoFolderName);\n\n Repository repository = getOrCheckoutRepositoryWithLocalPath(repoUri, localPath, true, false);\n repository.setParticipation(participation);\n\n return repository;\n }\n\n /**\n * Get the local repository for a given remote repository URI. If the local repo does not exist yet, it will be checked out.\n * Saves the repo in the default path\n *\n * @param repoUri The remote repository.\n * @param pullOnGet Pull from the remote on the checked out repository, if it does not need to be cloned.\n * @param writeAccess Whether we want to write to the repository\n * @return the repository if it could be checked out.\n * @throws GitAPIException if the repository could not be checked out.\n */\n public Repository getOrCheckoutRepository(LocalVCRepositoryUri repoUri, boolean pullOnGet, boolean writeAccess) throws GitAPIException {\n return getOrCheckoutRepositoryWithTargetPath(repoUri, repoClonePath, pullOnGet, writeAccess);\n }\n\n /**\n * Get the local repository for a given remote repository URI. If the local repo does not exist yet, it will be checked out.\n *\n * @param repoUri The remote repository.\n * @param targetPath path where the repo is located on disk\n * @param pullOnGet Pull from the remote on the checked out repository, if it does not need to be cloned.\n * @param writeAccess whether we want to write to the repository\n * @return the repository if it could be checked out.\n * @throws GitAPIException if the repository could not be checked out.\n * @throws GitException if the same repository is attempted to be cloned multiple times.\n */\n public Repository getOrCheckoutRepositoryWithTargetPath(LocalVCRepositoryUri repoUri, Path targetPath, boolean pullOnGet, boolean writeAccess)\n throws GitAPIException, GitException {\n Path localPath = getLocalPathOfRepo(targetPath, repoUri);\n return getOrCheckoutRepositoryWithLocalPath(repoUri, localPath, pullOnGet, writeAccess);\n }\n\n /**\n * Get the local repository for a given remote repository URI. If the local repo does not exist yet, it will be checked out.\n *\n * @param repoUri The remote repository.\n * @param pullOnGet Pull from the remote on the checked out repository, if it does not need to be cloned.\n * @param defaultBranch The default branch of the target repository.\n * @param writeAccess whether we want to write to the repository\n * @return the repository if it could be checked out.\n * @throws GitAPIException if the repository could not be checked out.\n * @throws GitException if the same repository is attempted to be cloned multiple times.\n */\n public Repository getOrCheckoutRepository(LocalVCRepositoryUri repoUri, boolean pullOnGet, String defaultBranch, boolean writeAccess) throws GitAPIException, GitException {\n Path localPath = getLocalPathOfRepo(repoClonePath, repoUri);\n return getOrCheckoutRepository(repoUri, repoUri, localPath, pullOnGet, defaultBranch, writeAccess);\n }\n\n /**\n * Get the local repository for a given remote repository URI. If the local repo does not exist yet, it will be checked out.\n *\n * @param repoUri The source and target remote repository.\n * @param localPath The local path to clone the repository to.\n * @param pullOnGet Pull from the remote on the checked out repository, if it does not need to be cloned.\n * @param writeAccess whether we want to write to the repository\n * @return the repository if it could be checked out.\n * @throws GitAPIException if the repository could not be checked out.\n * @throws GitException if the same repository is attempted to be cloned multiple times.\n * @throws InvalidPathException if the repository could not be checked out Because it contains unmappable characters.\n */\n public Repository getOrCheckoutRepositoryWithLocalPath(LocalVCRepositoryUri repoUri, Path localPath, boolean pullOnGet, boolean writeAccess)\n throws GitAPIException, GitException, InvalidPathException {\n return getOrCheckoutRepository(repoUri, repoUri, localPath, pullOnGet, defaultBranch, writeAccess);\n }\n\n /**\n * Get the local repository for a given remote repository URI. If the local repo does not exist yet, it will be checked out.\n *\n * @param sourceRepoUri The source remote repository.\n * @param targetRepoUri The target remote repository.\n * @param localPath The local path to clone the repository to.\n * @param pullOnGet Pull from the remote on the checked out repository, if it does not need to be cloned.\n * @param defaultBranch The default branch of the target repository\n * @param writeAccess whether we want to write to the repository\n * @return the repository if it could be checked out.\n * @throws GitAPIException if the repository could not be checked out.\n * @throws GitException if the same repository is attempted to be cloned multiple times.\n * @throws InvalidPathException if the repository could not be checked out Because it contains unmappable characters.\n */\n public Repository getOrCheckoutRepository(LocalVCRepositoryUri sourceRepoUri, LocalVCRepositoryUri targetRepoUri, Path localPath, boolean pullOnGet, String defaultBranch,\n boolean writeAccess) throws GitAPIException, GitException, InvalidPathException {\n return checkoutRepository(sourceRepoUri, targetRepoUri, localPath, pullOnGet, defaultBranch, writeAccess, false);\n }\n\n /**\n * Prepares an authoring checkout whose first clone must use the selected branch, never a fallback to remote HEAD.\n *\n * @param repoUri the repository to clone\n * @param localPath caller-owned working directory\n * @param branch selected exercise branch\n * @return the checkout on the requested branch\n * @throws GitAPIException when checkout or pulling fails\n */\n public Repository getOrCheckoutRepositoryOnBranch(LocalVCRepositoryUri repoUri, Path localPath, String branch) throws GitAPIException {\n return checkoutRepository(repoUri, repoUri, localPath, true, branch, false, true);\n }\n\n private Repository checkoutRepository(LocalVCRepositoryUri sourceRepoUri, LocalVCRepositoryUri targetRepoUri, Path localPath, boolean pullOnGet, String defaultBranch,\n boolean writeAccess, boolean selectCloneBranch) throws GitAPIException {\n return workingCopyLocks.withLock(localPath,\n () -> checkoutRepositoryLocked(sourceRepoUri, targetRepoUri, localPath, pullOnGet, defaultBranch, writeAccess, selectCloneBranch));\n }\n\n private Repository checkoutRepositoryLocked(LocalVCRepositoryUri sourceRepoUri, LocalVCRepositoryUri targetRepoUri, Path localPath, boolean pullOnGet, String defaultBranch,\n boolean writeAccess, boolean selectCloneBranch) throws GitAPIException {\n // First try to just retrieve the git repository from our server, as it might already be checked out.\n // If the sourceRepoUri differs from the targetRepoUri, we attempt to clone the source repo into the target directory\n deleteIncompleteWorkingCopy(localPath);\n Repository repository = getExistingCheckedOutRepositoryByLocalPath(localPath, targetRepoUri, defaultBranch, writeAccess);\n\n // Note: in case the actual git repository in the file system is corrupt (e.g. by accident), we will get an exception here\n // the exception will then delete the folder, so that the next attempt would be successful.\n if (repository != null) {\n if (pullOnGet) {\n try {\n pull(repository);\n }\n catch (JGitInternalException | NoHeadException | TransportException e) {\n // E.g., LockFailedException\n // The repository must be closed before deleting its directory: open pack file handles prevent the\n // deletion on network file systems (NFS), which would leave a corrupt working copy behind that breaks\n // every subsequent access. Same pattern as AbstractGitService.deleteLocalRepository.\n repository.closeBeforeDelete();\n // cleanup the folder to avoid problems in the future.\n // 'deleteQuietly' is the same as 'deleteDirectory' but is not throwing an exception, thus we avoid another try-catch block.\n // 'deleteQuietly' also returns false when there was nothing to delete, so only report an error if the directory is actually left behind.\n if (!FileUtils.deleteQuietly(localPath.toFile()) && Files.exists(localPath)) {\n log.error(\"Could not delete directory after failed pull: {}\", localPath.toAbsolutePath());\n }\n throw new GitException(e);\n }\n }\n return repository;\n }\n // If the git repository can't be found on our server, clone it from the remote.\n else {\n // Clone repository.\n try {\n var gitUriAsString = getGitUriAsString(sourceRepoUri);\n log.debug(\"Cloning from {} to {}\", gitUriAsString, localPath);\n // make sure the directory to copy into is empty\n FileUtils.deleteDirectory(localPath.toFile());\n CloneCommand clone = cloneCommand().setURI(gitUriAsString).setDirectory(localPath.toFile()).setTransportConfigCallback(_ -> {\n // The first fetch must finish GC before callers can copy or delete this checkout.\n try (Git initializedCheckout = Git.open(localPath.toFile())) {\n var config = initializedCheckout.getRepository().getConfig();\n config.setBoolean(ConfigConstants.CONFIG_GC_SECTION, null, ConfigConstants.CONFIG_KEY_AUTODETACH, false);\n config.save();\n }\n catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n });\n if (selectCloneBranch) {\n clone.setBranch(defaultBranch);\n }\n cloneWithoutSymbolicLinks(clone);\n }\n catch (IOException | UncheckedIOException | URISyntaxException | GitAPIException | InvalidPathException e) {\n // cleanup the folder to avoid problems in the future.\n // 'deleteQuietly' is the same as 'deleteDirectory' but is not throwing an exception, thus we avoid another try-catch block.\n // 'deleteQuietly' also returns false when there was nothing to delete (JGit's CloneCommand already cleans up\n // its own directory on failure), so only report an error if the directory is actually left behind.\n if (!FileUtils.deleteQuietly(localPath.toFile()) && Files.exists(localPath)) {\n log.error(\"Could not delete directory after failed clone: {}\", localPath.toAbsolutePath());\n }\n throw new GitException(e);\n }\n return getExistingCheckedOutRepositoryByLocalPath(localPath, targetRepoUri, defaultBranch, writeAccess);\n }\n }\n\n public Path getDefaultLocalCheckOutPathOfRepo(LocalVCRepositoryUri targetUrl) {\n return getLocalPathOfRepo(repoClonePath, targetUrl);\n }\n\n /**\n * Creates a local path by specifying a target path and the target url, this is typically used to resolve the check out path for local repositories\n *\n * @param targetPath target directory\n * @param targetUrl url of the repository\n * @return path of the local file system\n * @throws EntityNotFoundException if targetUrl is null, i.e. the repository does not exist (e.g. because it was never created for the participation)\n * @throws IllegalArgumentException if the folder of the repository is the target path itself or does not lie below it\n */\n public Path getLocalPathOfRepo(Path targetPath, LocalVCRepositoryUri targetUrl) {\n if (targetUrl == null) {\n throw new EntityNotFoundException(\"Cannot resolve the local repository path because the repository URI is null. The repository most likely does not exist.\");\n }\n return targetUrl.resolveFolderBelow(targetPath);\n }\n\n /**\n * Deletes a working copy whose git directory has no HEAD or no config, so that it is cloned again. A clone always writes both, but a deletion that failed half-way\n * (e.g. on a network file system, where files that are still open cannot be removed) can leave such a directory behind. It still opens as a repository, yet every\n * git operation on it fails, e.g. with \"Cannot check out from unborn branch\".\n *\n * @param localPath the path of the working copy\n */\n private void deleteIncompleteWorkingCopy(Path localPath) {\n Path gitDirectory = localPath.resolve(\".git\");\n if (Files.isDirectory(gitDirectory) && (Files.notExists(gitDirectory.resolve(Constants.HEAD)) || Files.notExists(gitDirectory.resolve(Constants.CONFIG)))) {\n log.warn(\"Deleting the incomplete working copy {} so that it is cloned again\", localPath);\n if (!FileUtils.deleteQuietly(localPath.toFile()) && Files.exists(localPath)) {\n log.error(\"Could not delete the incomplete working copy {}\", localPath.toAbsolutePath());\n }\n }\n }\n\n /**\n * Get an existing git repository that is checked out on the server. Returns immediately null if the localPath does not exist.\n *\n * @param localPath to git repo on server.\n * @param remoteRepositoryUri the remote repository uri for the git repository, will be added to the Repository object for later use, can be null\n * @return the git repository in the localPath or **null** if it does not exist on the server.\n */\n @Nullable\n public Repository getExistingCheckedOutRepositoryByLocalPath(@NonNull Path localPath, LocalVCRepositoryUri remoteRepositoryUri) {\n return getExistingCheckedOutRepositoryByLocalPath(localPath, remoteRepositoryUri, defaultBranch, false);\n }\n\n /**\n * Get an existing git repository that is checked out on the server. Returns immediately null if the localPath does not exist.\n *\n * @param localPath to git repo on server.\n * @param remoteRepositoryUri the remote repository uri for the git repository, will be added to the Repository object for later use, can be null\n * @param defaultBranch the name of the branch that should be used as default branch\n * @param writeAccess whether the repository should be opened with write access\n * @return the git repository in the localPath or **null** if it does not exist on the server.\n */\n @Nullable\n public Repository getExistingCheckedOutRepositoryByLocalPath(@NonNull Path localPath, LocalVCRepositoryUri remoteRepositoryUri, String defaultBranch, boolean writeAccess) {\n try {\n if (!Files.exists(localPath)) {\n return null;\n }\n // Try to retrieve the git repository from our server.\n return linkRepositoryForExistingGit(localPath, remoteRepositoryUri, defaultBranch, false, writeAccess);\n }\n catch (IOException | InvalidRefNameException ex) {\n log.warn(\"Cannot get existing checkout out repository by local path: {}\", ex.getMessage());\n return null;\n }\n }\n\n /**\n * Commits with the given message into the repository.\n *\n * @param repo Local Repository Object.\n * @param message Commit Message\n * @throws GitAPIException if the commit failed.\n */\n public void commit(Repository repo, String message) throws GitAPIException {\n workingCopyLocks.withLock(workingCopyPath(repo), () -> {\n try (Git git = new Git(repo)) {\n GitService.commit(git).setMessage(message).setAllowEmpty(true).setCommitter(artemisGitName, artemisGitEmail).call();\n }\n return null;\n });\n }\n\n /**\n * Creates a CommitCommand and sets signing to false. Egit uses the local git configuration and if signing of\n * commits is enabled, tests will fail because it will not be able to actually sign the commit.\n * This method makes sure that signing is disabled and commits work on systems regardless of the local git configuration.\n *

\n * Hook verification is also disabled, as Artemis does not use git hooks.\n *\n * @param git Git Repository Object.\n * @return CommitCommand with signing and hook verification disabled.\n */\n public static CommitCommand commit(Git git) {\n return git.commit().setSign(false).setNoVerify(true);\n }\n\n /**\n * Commits with the given message into the repository and pushes it to the remote.\n *\n * @param repo Local Repository Object.\n * @param message Commit Message\n * @param emptyCommit whether the git service should also produce an empty commit\n * @param user The user who should initiate the commit. If the user is null, the artemis user will be used\n * @return the id of the commit that was created\n * @throws GitAPIException if the commit failed.\n */\n public String commitAndPush(Repository repo, String message, boolean emptyCommit, @Nullable User user) throws GitAPIException {\n return commitAndPushAs(repo, message, emptyCommit, user != null ? new PersonIdent(user.getName(), user.getEmail()) : getPlaceholderIdentity());\n }\n\n /**\n * Commits as the given identity, at the time of the commit, and pushes it to the remote.\n *\n * @param repo Local Repository Object.\n * @param message Commit Message\n * @param emptyCommit whether the git service should also produce an empty commit\n * @param identity The identity that commits and authors\n * @return the id of the commit that was created\n */\n public String commitAndPushAs(Repository repo, String message, boolean emptyCommit, PersonIdent identity) throws GitAPIException {\n return workingCopyLocks.withLock(workingCopyPath(repo), () -> {\n try (Git git = new Git(repo)) {\n RevCommit commit = GitService.commit(git).setMessage(message).setAllowEmpty(emptyCommit).setCommitter(identity.getName(), identity.getEmailAddress()).call();\n log.debug(\"commitAndPush -> Push {}\", repo.getLocalPath());\n setRemoteUrl(repo);\n pushCommand(git).call();\n // Returned rather than discarded so callers can identify the commit they just created. Reading the repository head\n // afterwards is not equivalent: the online editor shares one working copy per repository, so a concurrent commit\n // to the same repository can move the head between the commit and the read.\n return commit.getName();\n }\n });\n }\n\n /**\n * Creates a commit from the staged changes without pushing it.\n *\n * @param repo the repository containing the staged changes\n * @param message the commit message\n * @param user the commit author, or {@code null} for the Artemis service user\n * @return the created commit hash\n * @throws GitAPIException if the commit fails\n */\n public String commitStagedChanges(Repository repo, String message, @Nullable User user) throws GitAPIException {\n return workingCopyLocks.withLock(workingCopyPath(repo), () -> {\n String name = user != null ? user.getName() : artemisGitName;\n String email = user != null ? user.getEmail() : artemisGitEmail;\n try (Git git = new Git(repo)) {\n RevCommit commit = GitService.commit(git).setMessage(message).setCommitter(name, email).call();\n return commit.getName();\n }\n });\n }\n\n /**\n * Pushes {@code commitHash} only if {@code branch} still points at {@code expectedRemoteHead}.\n *\n * @param repo the repository containing the commit\n * @param commitHash the commit to push\n * @param branch the target branch\n * @param expectedRemoteHead the required current remote head\n * @throws GitAPIException if the push fails or the lease is rejected\n */\n public void pushCommitWithLease(Repository repo, String commitHash, String branch, String expectedRemoteHead) throws GitAPIException {\n if (StringUtils.isBlank(expectedRemoteHead)) {\n throw new TransportException(\"Refusing to push \" + branch + \" without an expected remote HEAD lease\");\n }\n try (Git git = new Git(repo)) {\n setRemoteUrl(repo);\n String remoteRef = \"refs/heads/\" + branch;\n Iterable pushResults = pushCommand(git).setRefSpecs(new RefSpec(commitHash + \":\" + remoteRef))\n .setRefLeaseSpecs(new RefLeaseSpec(remoteRef, expectedRemoteHead)).call();\n assertPushAccepted(pushResults, remoteRef);\n }\n }\n\n /**\n * Hard-resets the working copy to a previous commit hash and force-pushes that state onto the given branch only if the remote branch still points at the expected current\n * commit. This is the compensation primitive for Hyperion's multi-repository persist and adaptation revert paths.\n *

\n * A force push is required because moving a branch back to an ancestor commit is a non-fast-forward update. The ref lease is the repository-level compare-and-swap guard: if\n * another editor pushed to the branch after the caller captured {@code expectedCurrentHash}, the remote rejects the update instead of clobbering that work.\n *\n * @param repo the local repository whose default branch is reverted\n * @param commitHash the pre-persist/pre-adaptation commit hash to reset the branch back to\n * @param expectedCurrentHash the commit hash the remote branch must still point at before the force push is accepted\n * @param branch the short name of the branch to force-push (the default branch)\n * @throws GitAPIException if resetting or force-pushing fails\n */\n public void resetToCommitAndForcePush(Repository repo, String commitHash, String expectedCurrentHash, String branch) throws GitAPIException {\n workingCopyLocks.withLock(workingCopyPath(repo), () -> {\n if (StringUtils.isBlank(expectedCurrentHash)) {\n throw new TransportException(\"Refusing to force-push \" + branch + \" without an expected remote HEAD lease\");\n }\n boolean pushed = false;\n try (Git git = new Git(repo)) {\n setRemoteUrl(repo);\n git.reset().setMode(ResetCommand.ResetType.HARD).setRef(commitHash).call();\n String remoteRef = \"refs/heads/\" + branch;\n log.debug(\"resetToCommitAndForcePush -> Force-push {} back to {} on branch {} if remote still is {}\", repo.getLocalPath(), commitHash, branch, expectedCurrentHash);\n Iterable pushResults = pushCommand(git).setForce(true).setRefSpecs(new RefSpec(\"HEAD:\" + remoteRef))\n .setRefLeaseSpecs(new RefLeaseSpec(remoteRef, expectedCurrentHash)).call();\n assertPushAccepted(pushResults, remoteRef);\n pushed = true;\n }\n finally {\n if (!pushed) {\n resetToOriginHead(repo);\n }\n }\n\n return null;\n });\n }\n\n /**\n * Resets local repository to ref.\n *\n * @param repo Local Repository Object.\n * @param ref the ref to reset to, e.g. \"origin/main\"\n * @throws GitAPIException if the reset failed.\n */\n public void reset(Repository repo, String ref) throws GitAPIException {\n workingCopyLocks.withLock(workingCopyPath(repo), () -> {\n try (Git git = new Git(repo)) {\n setRemoteUrl(repo);\n git.reset().setMode(ResetCommand.ResetType.HARD).setRef(ref).call();\n }\n return null;\n });\n }\n\n /**\n * git fetch\n *\n * @param repo Local Repository Object.\n * @throws GitAPIException if the fetch failed.\n */\n public void fetchAll(Repository repo) throws GitAPIException {\n try (Git git = new Git(repo)) {\n log.debug(\"Fetch {}\", repo.getLocalPath());\n setRemoteUrl(repo);\n fetchCommand(git).setForceUpdate(true).setRemoveDeletedRefs(true).call();\n }\n }\n\n /**\n * Updates the remote URL of a repository to match the currently configured authentication mechanism.\n *

\n * This method ensures that the \"origin\" remote URL is synchronized with the repository's\n * configured remote URI. This is necessary because the authentication mechanism (SSH vs HTTPS)\n * may change during runtime, and the local repository configuration needs to reflect this change\n * for subsequent git operations (fetch, pull, push) to work correctly.\n *

\n *\n * @param repo the git repository for which the remote URL should be updated; if null or without\n * a remote URI configured, the method returns without making changes\n */\n public void setRemoteUrl(Repository repo) {\n if (repo == null || repo.getRemoteRepositoryUri() == null) {\n log.warn(\"Cannot set remoteUrl because it is null!\");\n return;\n }\n try {\n var existingRemoteUrl = repo.getConfig().getString(ConfigConstants.CONFIG_REMOTE_SECTION, REMOTE_NAME, \"url\");\n var newRemoteUrl = getGitUriAsString(repo.getRemoteRepositoryUri());\n // Only update if the URL has actually changed (e.g., switched from HTTPS to SSH or vice versa)\n if (!Objects.equals(newRemoteUrl, existingRemoteUrl)) {\n log.info(\"Replace existing remote url {} with new remote url {}\", existingRemoteUrl, newRemoteUrl);\n repo.getConfig().setString(ConfigConstants.CONFIG_REMOTE_SECTION, REMOTE_NAME, \"url\", newRemoteUrl);\n log.info(\"New remote url: {}\", repo.getConfig().getString(ConfigConstants.CONFIG_REMOTE_SECTION, REMOTE_NAME, \"url\"));\n }\n }\n catch (Exception e) {\n log.warn(\"Cannot set the remote url\", e);\n }\n }\n\n /**\n * Pulls from remote repository. Does not throw any exceptions when pulling, e.g. CheckoutConflictException or WrongRepositoryStateException.\n *\n * @param repo Local Repository Object.\n */\n public void pullIgnoreConflicts(Repository repo) {\n try {\n // The pull changes the index, so it takes the lock that the commit of the online editor holds while it stages, checks and commits\n workingCopyLocks.withLock(workingCopyPath(repo), () -> {\n try (Git git = new Git(repo)) {\n log.debug(\"Pull ignore conflicts {}\", repo.getLocalPath());\n setRemoteUrl(repo);\n pullCommand(git).call();\n }\n return null;\n });\n }\n catch (WrongRepositoryStateException ex) {\n // A merge that stopped on conflicts leaves the repository in MERGING or MERGING_RESOLVED until the repository is reset, e.g. via the code editor.\n // Pulling cannot succeed before then and every further attempt fails the same way, so this is reported as the repository's state, not as an unexpected error.\n log.warn(\"Cannot pull the repo {}: {}\", repo.getLocalPath(), ex.getMessage());\n }\n catch (GitAPIException ex) {\n log.error(\"Cannot pull the repo {}\", repo.getLocalPath(), ex);\n // TODO: we should send this error to the client and let the user handle it there, e.g. by choosing to reset the repository\n }\n }\n\n /**\n * Pulls from remote repository.\n *\n * @param repo Local Repository Object.\n * @throws GitAPIException if the pull failed.\n */\n private void pull(Repository repo) throws GitAPIException {\n workingCopyLocks.withLock(workingCopyPath(repo), () -> {\n try (Git git = new Git(repo)) {\n log.info(\"Pull {}\", repo.getLocalPath());\n setRemoteUrl(repo);\n pullCommand(git).call();\n }\n return null;\n });\n }\n\n /**\n * Get branch that origin/HEAD points to, useful to handle default branches that are not main\n *\n * @param repo Local Repository Object.\n * @return name of the origin/HEAD branch, e.g. 'main' or 'course/main' or null if there is no HEAD\n */\n private String getOriginHead(Repository repo) throws GitAPIException {\n Ref originHeadRef;\n try (Git git = new Git(repo)) {\n originHeadRef = lsRemoteCommand(git).callAsMap().get(Constants.HEAD);\n }\n\n // Empty Git repos don't have HEAD\n if (originHeadRef == null) {\n return null;\n }\n\n String fullName = originHeadRef.getTarget().getName();\n return fullName.startsWith(Constants.R_HEADS) ? fullName.substring(Constants.R_HEADS.length()) : fullName;\n }\n\n /**\n * Hard reset local repository to origin/HEAD.\n *\n * @param repo Local Repository Object.\n */\n public void resetToOriginHead(Repository repo) {\n try {\n resetToOriginHeadOrThrow(repo);\n }\n catch (GitAPIException | JGitInternalException ex) {\n log.error(\"Cannot fetch/hard reset the repo {} with url {} to origin/HEAD due to the following exception\", repo.getLocalPath(), repo.getRemoteRepositoryUri(), ex);\n }\n }\n\n private void resetToOriginHeadOrThrow(Repository repo) throws GitAPIException {\n workingCopyLocks.withLock(workingCopyPath(repo), () -> {\n fetchAll(repo);\n var originHead = getOriginHead(repo);\n\n if (originHead == null) {\n log.error(\"Cannot hard reset the repo {} to origin/HEAD because it is empty.\", repo.getLocalPath());\n return null;\n }\n\n reset(repo, \"origin/\" + originHead);\n return null;\n });\n }\n\n /**\n * Get the local repository like {@link #getOrCheckoutRepository(LocalVCRepositoryUri, boolean, boolean)} with a pull, but for a caller that is about to replace the\n * content of the repository: the working copy is hard reset to the remote instead of merging it. A merge fails with a checkout conflict if the working copy holds an\n * uncommitted edit of a file that the remote changed meanwhile, and every later pull would fail the same way.\n *\n * @param repoUri The remote repository.\n * @param writeAccess Whether we want to write to the repository\n * @return the repository, equal to the head of the remote repository.\n * @throws GitAPIException if the repository could not be checked out or reset.\n */\n public Repository getOrCheckoutRepositoryDiscardingLocalChanges(LocalVCRepositoryUri repoUri, boolean writeAccess) throws GitAPIException {\n Path localPath = getLocalPathOfRepo(repoClonePath, repoUri);\n return workingCopyLocks.withLock(localPath, () -> {\n Repository repository = checkoutRepositoryLocked(repoUri, repoUri, localPath, false, defaultBranch, writeAccess, false);\n resetToOriginHeadOrThrow(repository);\n return repository;\n });\n }\n\n /**\n * Replaces the content of the working copy like {@link #getOrCheckoutRepositoryDiscardingLocalChanges(LocalVCRepositoryUri, boolean)}, but keeps the lock of the\n * working copy until the replacement is done, so two replacements cannot interleave.\n *\n * @param repoUri the remote repository\n * @param replacement the change of the working copy, which is run with the repository equal to the head of the remote repository\n * @throws GitAPIException if the repository could not be checked out or reset, or if the replacement fails with it\n * @throws IOException if the replacement fails with it\n */\n public void replaceWorkingCopyContent(LocalVCRepositoryUri repoUri, WorkingCopyReplacement replacement) throws GitAPIException, IOException {\n Path localPath = getLocalPathOfRepo(repoClonePath, repoUri);\n try {\n workingCopyLocks.withLock(localPath, () -> {\n try {\n replacement.replace(getOrCheckoutRepositoryDiscardingLocalChanges(repoUri, true));\n }\n catch (IOException exception) {\n throw new UncheckedIOException(exception);\n }\n return null;\n });\n }\n catch (UncheckedIOException exception) {\n throw exception.getCause();\n }\n }\n\n /**\n * Removes all remote configurations and their associated tracking branches from a Git repository.\n *

\n * This method performs a complete cleanup of remote-related data by:\n *

    \n *
  1. Removing each remote configuration (e.g., \"origin\") from the repository
  2. \n *
  3. Deleting all remote tracking branches (refs under \"refs/remotes/\") for each remote
  4. \n *
\n * This is particularly useful when anonymizing repositories for export, as remote URLs\n * may contain sensitive information about the repository's origin or student identity.\n *

\n *

\n * Note: JGit's {@code remoteRemove()} does not automatically clean up remote tracking branches,\n * so this method manually deletes them to ensure complete removal.\n *

\n *\n * @param repository the JGit Git instance wrapping the repository to clean\n * @throws IOException if an I/O error occurs when accessing the ref database\n * @throws GitAPIException if a JGit operation fails while listing or removing remotes\n */\n public void removeRemotes(Git repository) throws IOException, GitAPIException {\n for (RemoteConfig remote : repository.remoteList().call()) {\n // Remove the remote configuration (e.g., [remote \"origin\"] section in .git/config)\n repository.remoteRemove().setRemoteName(remote.getName()).call();\n\n // JGit does not automatically delete remote tracking branches when removing a remote,\n // so we must manually find and delete all refs under refs/remotes//\n for (Ref ref : repository.getRepository().getRefDatabase().getRefs()) {\n if (ref.getName().startsWith(\"refs/remotes/\" + remote.getName())) {\n RefUpdate update = repository.getRepository().updateRef(ref.getName());\n update.setForceUpdate(true);\n update.delete();\n }\n }\n }\n }\n\n /**\n * Convenience method that removes all remotes from a repository and handles resource cleanup.\n *

\n * This is a wrapper around {@link #removeRemotes(Git)} that:\n *

    \n *
  • Creates a Git instance from the repository
  • \n *
  • Removes all remotes and their tracking branches
  • \n *
  • Handles exceptions gracefully (logs warnings instead of throwing)
  • \n *
  • Ensures the repository is properly closed afterward
  • \n *
\n *

\n *\n * @param repository the repository from which to remove all remotes\n * @see #removeRemotes(Git)\n */\n public void removeRemotesFromRepository(Repository repository) {\n try (Git gitRepo = new Git(repository)) {\n removeRemotes(gitRepo);\n }\n catch (EntityNotFoundException | GitAPIException | JGitInternalException | IOException ex) {\n log.warn(\"Cannot remove the remotes of the repo {} due to the following exception: {}\", repository.getLocalPath(), ex.getMessage());\n }\n finally {\n repository.close();\n }\n }\n\n /**\n * Returns all files and directories within the working copy of the given repository in a map, excluding symbolic links.\n * This method performs a file scan and filters out symbolic links.\n * It only supports checked-out repositories (not bare ones)\n *\n * @param repo The repository to scan for files and directories.\n * @param omitBinaries do not include binaries to reduce payload size\n * @return A {@link Map} where each key is a {@link File} object representing a file or directory, and each value is\n * the corresponding {@link FileType} (FILE or FOLDER). The map excludes symbolic links.\n */\n public Map listFilesAndFolders(Repository repo, boolean omitBinaries) {\n Map files = new HashMap<>();\n Path workingTree = repo.getLocalPath();\n if (workingTree == null) {\n log.warn(\"Working tree path of repository {} is not available\", repo.getRemoteRepositoryUri());\n return files;\n }\n if (!Files.exists(workingTree)) {\n log.warn(\"Working tree {} does not exist for repository {}\", workingTree, repo.getRemoteRepositoryUri());\n return files;\n }\n\n try {\n Files.walkFileTree(workingTree, new SimpleFileVisitor<>() {\n\n @Override\n public @NonNull FileVisitResult preVisitDirectory(@NonNull Path dir, @NonNull BasicFileAttributes attrs) {\n if (dir.equals(workingTree)) {\n return FileVisitResult.CONTINUE;\n }\n if (\".git\".equals(dir.getFileName().toString())) {\n return FileVisitResult.SKIP_SUBTREE;\n }\n if (Files.isSymbolicLink(dir)) {\n log.warn(\"Found a symlink {} in the git repository {}. Do not allow access!\", dir, repo);\n return FileVisitResult.SKIP_SUBTREE;\n }\n files.put(new File(dir.toFile(), repo), FileType.FOLDER);\n return FileVisitResult.CONTINUE;\n }\n\n @Override\n public @NonNull FileVisitResult visitFile(@NonNull Path path, @NonNull BasicFileAttributes attrs) {\n if (Files.isSymbolicLink(path)) {\n log.warn(\"Found a symlink {} in the git repository {}. Do not allow access!\", path, repo);\n return FileVisitResult.CONTINUE;\n }\n if (omitBinaries && isBinaryFile(path.getFileName().toString())) {\n log.debug(\"Omitting binary file: {}\", path);\n return FileVisitResult.CONTINUE;\n }\n files.put(new File(path.toFile(), repo), FileType.FILE);\n return FileVisitResult.CONTINUE;\n }\n });\n }\n catch (IOException exception) {\n log.error(\"Failed to list files for repository {}: {}\", repo.getRemoteRepositoryUri(), exception.getMessage());\n }\n\n return files;\n }\n\n public Map listFilesAndFolders(Repository repo) {\n return listFilesAndFolders(repo, false);\n }\n\n /**\n * List all files in the repository. In an empty git repo, this method returns en empty list.\n *\n * @param repo Local Repository Object.\n * @return Collection of File objects\n */\n @NonNull\n public Collection getFiles(Repository repo) {\n return listFilesAndFolders(repo, false).entrySet().stream().filter(entry -> entry.getValue() == FileType.FILE).map(Map.Entry::getKey).toList();\n }\n\n /**\n * Get a specific file by name. Makes sure the file is actually part of the repository.\n *\n * @param repo Local Repository Object.\n * @param filename String of the filename (including path)\n * @return The File object\n */\n public Optional getFileByName(Repository repo, String filename) {\n // Makes sure the requested file is part of the scanned list of files.\n // Ensures that it is not possible to do bad things like filename=\"../../passwd\"\n\n for (File file : listFilesAndFolders(repo).keySet()) {\n if (file.toString().equals(filename)) {\n return Optional.of(file);\n }\n }\n return Optional.empty();\n }\n\n /**\n * Deletes a local repository folder for a repoUri.\n *\n * @param repoUri url of the repository.\n */\n public void deleteLocalRepository(LocalVCRepositoryUri repoUri) {\n try {\n if (repoUri != null && checkedOutRepositoryAlreadyExists(repoUri)) {\n // We need to close the possibly still open repository otherwise an IOException will be thrown on Windows\n Path localPath = getLocalPathOfRepo(repoClonePath, repoUri);\n Repository repo = getExistingCheckedOutRepositoryByLocalPath(localPath, repoUri);\n if (repo != null) {\n deleteLocalRepository(repo);\n }\n }\n }\n catch (IOException e) {\n log.error(\"Error while deleting local repository\", e);\n }\n }\n\n /**\n * delete the folder in the file system that contains all repositories for the given programming exercise\n *\n * @param programmingExercise contains the project key which is used as the folder name\n */\n public void deleteLocalProgrammingExerciseReposFolder(ProgrammingExercise programmingExercise) {\n var folderPath = repoClonePath.resolve(programmingExercise.getProjectKey());\n try {\n FileUtils.deleteDirectory(folderPath.toFile());\n }\n catch (IOException ex) {\n log.error(\"Exception during deleteLocalProgrammingExerciseReposFolder\", ex);\n // cleanup the folder to avoid problems in the future.\n // 'deleteQuietly' is the same as 'deleteDirectory' but is not throwing an exception, thus we avoid a try-catch block.\n FileUtils.deleteQuietly(folderPath.toFile());\n }\n }\n\n /**\n * Checks if repo was already checked out and is present on disk\n *\n * @param repoUri URL of the remote repository.\n * @return True if repo exists on disk\n */\n private boolean checkedOutRepositoryAlreadyExists(LocalVCRepositoryUri repoUri) {\n Path localCheckedOutRepoPath = getDefaultLocalCheckOutPathOfRepo(repoUri);\n return Files.exists(localCheckedOutRepoPath);\n }\n\n private PullCommand pullCommand(Git git) {\n return git.pull();\n }\n\n private PushCommand pushCommand(Git git) {\n return git.push();\n }\n\n private FetchCommand fetchCommand(Git git) {\n return git.fetch();\n }\n\n protected LsRemoteCommand lsRemoteCommand(Git git) {\n return git.lsRemote();\n }\n\n @Override\n protected LsRemoteCommand lsRemoteCommand() {\n return Git.lsRemoteRepository();\n }\n\n protected CloneCommand cloneCommand() {\n return Git.cloneRepository();\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/7448641ac53008df7d18fb4d504363ff3730d5ff.json b/web/public/bundles/artemis/code/7448641ac53008df7d18fb4d504363ff3730d5ff.json new file mode 100644 index 00000000..bede9f2e --- /dev/null +++ b/web/public/bundles/artemis/code/7448641ac53008df7d18fb4d504363ff3730d5ff.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "7448641ac53008df7d18fb4d504363ff3730d5ff", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/versioning/TextExerciseSnapshotDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exercise.dto.versioning;\n\nimport java.io.Serializable;\n\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.text.domain.TextExercise;\n\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\n@JsonIgnoreProperties(ignoreUnknown = true)\npublic record TextExerciseSnapshotDTO(String exampleSolution) implements Serializable {\n\n public static TextExerciseSnapshotDTO of(TextExercise exercise) {\n return new TextExerciseSnapshotDTO(exercise.getExampleSolution());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/75b476d5c1edc66a768ed4e6665ae5a4b8a65afc.json b/web/public/bundles/artemis/code/75b476d5c1edc66a768ed4e6665ae5a4b8a65afc.json new file mode 100644 index 00000000..cbb577af --- /dev/null +++ b/web/public/bundles/artemis/code/75b476d5c1edc66a768ed4e6665ae5a4b8a65afc.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "75b476d5c1edc66a768ed4e6665ae5a4b8a65afc", + "language": "typescript", + "path": "src/main/webapp/app/exercise/shared/entities/participation/tutor-participation.model.ts", + "schema": "codexray.code/1", + "text": "import { User } from 'app/account/user/user.model';\nimport { BaseEntity } from 'app/foundation/model/base-entity';\nimport { Exercise } from 'app/exercise/shared/entities/exercise/exercise.model';\nimport { ExampleSubmission } from 'app/assessment/shared/entities/example-submission.model';\n\nexport const enum TutorParticipationStatus {\n NOT_PARTICIPATED = 'NOT_PARTICIPATED',\n REVIEWED_INSTRUCTIONS = 'REVIEWED_INSTRUCTIONS',\n TRAINED = 'TRAINED',\n COMPLETED = 'COMPLETED',\n}\n\nexport class TutorParticipation implements BaseEntity {\n public id?: number;\n\n public status?: TutorParticipationStatus;\n public assessedExercise?: Exercise;\n public tutor?: User;\n public trainedExampleSubmissions?: ExampleSubmission[];\n}\n" +} diff --git a/web/public/bundles/artemis/code/77572cecad016b1cd1b4d1024f24201f67b85193.json b/web/public/bundles/artemis/code/77572cecad016b1cd1b4d1024f24201f67b85193.json new file mode 100644 index 00000000..b15a77c2 --- /dev/null +++ b/web/public/bundles/artemis/code/77572cecad016b1cd1b4d1024f24201f67b85193.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "77572cecad016b1cd1b4d1024f24201f67b85193", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/api/IrisLectureSearchApi.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.iris.api;\n\nimport java.time.ZonedDateTime;\nimport java.util.List;\n\nimport org.jspecify.annotations.Nullable;\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.stereotype.Controller;\n\nimport de.tum.cit.aet.artemis.account.repository.UserRepository;\nimport de.tum.cit.aet.artemis.iris.config.IrisEnabled;\nimport de.tum.cit.aet.artemis.iris.dto.IrisLectureSnippetDTO;\nimport de.tum.cit.aet.artemis.iris.service.IrisAccessContextService;\nimport de.tum.cit.aet.artemis.iris.service.pyris.PyrisConnectorService;\nimport de.tum.cit.aet.artemis.iris.service.pyris.dto.search.PyrisAccessContextDTO;\n\n@Conditional(IrisEnabled.class)\n@Controller\n@Lazy\npublic class IrisLectureSearchApi extends AbstractIrisApi {\n\n private final PyrisConnectorService pyrisConnectorService;\n\n private final UserRepository userRepository;\n\n private final IrisAccessContextService irisAccessContextService;\n\n public IrisLectureSearchApi(PyrisConnectorService pyrisConnectorService, UserRepository userRepository, IrisAccessContextService irisAccessContextService) {\n this.pyrisConnectorService = pyrisConnectorService;\n this.userRepository = userRepository;\n this.irisAccessContextService = irisAccessContextService;\n }\n\n /**\n * Performs a semantic lecture search via Pyris on behalf of the current user, optionally scoped to a set of courses.\n *

\n * The requesting user's role-grouped course access is resolved and forwarded to Pyris so unreleased lecture content stays visible exactly where the user may see it (staff or\n * admin of a course), matching the Artemis UI. Forwarding a resolved context is mandatory here: an absent context makes Pyris apply the safe-default visibility filter\n * (released\n * content only), which would hide unreleased units even from authorized staff callers such as Hyperion's editor-only generation flow.\n *\n * @param query the search query\n * @param limit maximum number of results to return\n * @param courseIds optional list of course IDs to restrict the search to; {@code null} means search all ingested courses the user can access\n * @return list of matching lecture snippets\n */\n public List searchLectures(String query, int limit, @Nullable List courseIds) {\n var user = userRepository.getUserWithCourseRolesAndAuthorities();\n var accessContext = irisAccessContextService.resolveAccessContext(user);\n return pyrisConnectorService.searchLectures(query, limit, courseIds, null, accessContext).stream()\n .map(r -> new IrisLectureSnippetDTO(r.lecture().name(), r.lectureUnit().name(), r.snippet())).toList();\n }\n\n /**\n * Searches indexed material for an already-authorized course-maintenance invocation, including unreleased material.\n * The caller must authorize maintenance before invoking this internal API and supply the course from server-owned\n * context, never from model arguments. Both the query filter and visibility context are restricted to that course.\n * Unlike user-oriented search, this path also supports scheduled maintenance without a persisted user principal.\n *\n * @param query semantic search query\n * @param limit maximum number of snippets\n * @param courseId course whose maintenance was authorized by the caller\n * @return matching lecture snippets in relevance order\n */\n public List searchLecturesForCourseMaintenance(String query, int limit, long courseId) {\n if (courseId <= 0) {\n throw new IllegalArgumentException(\"A positive maintenance course id is required.\");\n }\n List courseIds = List.of(courseId);\n var accessContext = new PyrisAccessContextDTO(courseIds, courseIds, List.of(), List.of(), courseIds, ZonedDateTime.now(), false);\n return pyrisConnectorService.searchLectures(query, limit, courseIds, null, accessContext).stream()\n .map(result -> new IrisLectureSnippetDTO(result.lecture().name(), result.lectureUnit().name(), result.snippet())).toList();\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/77c2455e9701cf28530618525001f9468e075e81.json b/web/public/bundles/artemis/code/77c2455e9701cf28530618525001f9468e075e81.json new file mode 100644 index 00000000..54aa7f1d --- /dev/null +++ b/web/public/bundles/artemis/code/77c2455e9701cf28530618525001f9468e075e81.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "77c2455e9701cf28530618525001f9468e075e81", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/review/ExerciseReviewService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exercise.service.review;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\n\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.EnumMap;\nimport java.util.HashSet;\nimport java.util.LinkedHashSet;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Optional;\nimport java.util.Set;\n\nimport org.eclipse.jgit.lib.Repository;\nimport org.jspecify.annotations.Nullable;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.account.repository.UserRepository;\nimport de.tum.cit.aet.artemis.core.exception.BadRequestAlertException;\nimport de.tum.cit.aet.artemis.core.exception.EntityNotFoundException;\nimport de.tum.cit.aet.artemis.exercise.domain.Exercise;\nimport de.tum.cit.aet.artemis.exercise.domain.ExerciseVersion;\nimport de.tum.cit.aet.artemis.exercise.domain.review.Comment;\nimport de.tum.cit.aet.artemis.exercise.domain.review.CommentThread;\nimport de.tum.cit.aet.artemis.exercise.domain.review.CommentThreadGroup;\nimport de.tum.cit.aet.artemis.exercise.domain.review.CommentThreadLocationType;\nimport de.tum.cit.aet.artemis.exercise.domain.review.CommentType;\nimport de.tum.cit.aet.artemis.exercise.dto.review.ConsistencyIssueCommentContentDTO;\nimport de.tum.cit.aet.artemis.exercise.dto.review.CreateCommentThreadDTO;\nimport de.tum.cit.aet.artemis.exercise.dto.review.CreateCommentThreadGroupDTO;\nimport de.tum.cit.aet.artemis.exercise.dto.review.InlineCodeChangeDTO;\nimport de.tum.cit.aet.artemis.exercise.dto.review.UpdateThreadResolvedStateDTO;\nimport de.tum.cit.aet.artemis.exercise.dto.review.UserCommentContentDTO;\nimport de.tum.cit.aet.artemis.exercise.repository.ExerciseRepository;\nimport de.tum.cit.aet.artemis.exercise.repository.ExerciseVersionRepository;\nimport de.tum.cit.aet.artemis.exercise.repository.review.CommentRepository;\nimport de.tum.cit.aet.artemis.exercise.repository.review.CommentThreadGroupRepository;\nimport de.tum.cit.aet.artemis.exercise.repository.review.CommentThreadRepository;\nimport de.tum.cit.aet.artemis.exercise.service.review.ExerciseReviewRepositoryService.ConsistencyTargetRepositoryUris;\nimport de.tum.cit.aet.artemis.exercise.service.review.validation.ExerciseReviewValidationUtil;\nimport de.tum.cit.aet.artemis.hyperion.dto.ArtifactLocationDTO;\nimport de.tum.cit.aet.artemis.hyperion.dto.ConsistencyIssueDTO;\nimport de.tum.cit.aet.artemis.localvc.service.BareGitRepositoryService;\nimport de.tum.cit.aet.artemis.localvc.service.LocalVCRepositoryUri;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingExercise;\nimport de.tum.cit.aet.artemis.programming.domain.RepositoryType;\nimport de.tum.cit.aet.artemis.programming.service.RepositoryService;\n\n@Profile(PROFILE_CORE)\n@Lazy\n@Service\npublic class ExerciseReviewService {\n\n private static final Logger log = LoggerFactory.getLogger(ExerciseReviewService.class);\n\n private static final String COMMENT_ENTITY_NAME = \"exerciseReviewComment\";\n\n private static final String THREAD_ENTITY_NAME = \"exerciseReviewCommentThread\";\n\n private static final String THREAD_GROUP_ENTITY_NAME = \"exerciseReviewCommentThreadGroup\";\n\n private final CommentThreadGroupRepository commentThreadGroupRepository;\n\n private final CommentThreadRepository commentThreadRepository;\n\n private final CommentRepository commentRepository;\n\n private final ExerciseRepository exerciseRepository;\n\n private final ExerciseVersionRepository exerciseVersionRepository;\n\n private final UserRepository userRepository;\n\n private final BareGitRepositoryService bareGitRepositoryService;\n\n private final ExerciseReviewRepositoryService exerciseReviewRepositoryService;\n\n private final RepositoryService repositoryService;\n\n public ExerciseReviewService(CommentThreadGroupRepository commentThreadGroupRepository, CommentThreadRepository commentThreadRepository, CommentRepository commentRepository,\n ExerciseRepository exerciseRepository, ExerciseVersionRepository exerciseVersionRepository, UserRepository userRepository,\n BareGitRepositoryService bareGitRepositoryService, ExerciseReviewRepositoryService exerciseReviewRepositoryService, RepositoryService repositoryService) {\n this.commentThreadGroupRepository = commentThreadGroupRepository;\n this.commentThreadRepository = commentThreadRepository;\n this.commentRepository = commentRepository;\n this.exerciseRepository = exerciseRepository;\n this.exerciseVersionRepository = exerciseVersionRepository;\n this.userRepository = userRepository;\n this.bareGitRepositoryService = bareGitRepositoryService;\n this.exerciseReviewRepositoryService = exerciseReviewRepositoryService;\n this.repositoryService = repositoryService;\n }\n\n /**\n * Retrieve all comment threads for an exercise with their comments loaded.\n *\n * @param exerciseId the exercise id\n * @return list of comment threads with comments\n */\n public Set findThreadsWithCommentsByExerciseId(long exerciseId) {\n return commentThreadRepository.findWithCommentsByExerciseId(exerciseId);\n }\n\n /**\n * Create a new comment thread for an exercise.\n *\n * @param exerciseId the exercise id\n * @param dto the thread creation payload\n * @return the created thread and its initial comment\n * @throws BadRequestAlertException if validation fails\n * @throws EntityNotFoundException if the exercise does not exist\n */\n public ThreadCreationResult createThread(long exerciseId, CreateCommentThreadDTO dto) {\n ExerciseReviewValidationUtil.validateThreadPayload(dto, THREAD_ENTITY_NAME);\n\n Exercise exercise = exerciseRepository.findById(exerciseId).orElseThrow(() -> new EntityNotFoundException(\"Exercise\", exerciseId));\n ExerciseVersion initialVersion = resolveInitialVersion(dto.targetType(), exerciseId);\n String initialCommitSha = resolveLatestCommitSha(dto.targetType(), dto.auxiliaryRepositoryId(), exerciseId);\n CommentThread thread = dto.toEntity(initialVersion, initialCommitSha);\n thread.setExercise(exercise);\n Comment comment = buildUserComment(thread, dto.initialComment());\n\n thread.getComments().add(comment);\n thread = commentThreadRepository.save(thread);\n return new ThreadCreationResult(thread, comment);\n }\n\n /**\n * Persists newly detected consistency-check issues as review comment threads.\n * Existing consistency-check threads are kept untouched.\n * For each consistency issue, all related locations with existing repository files are persisted as threads.\n * A thread group is created only when an issue has multiple persisted locations.\n * Invalid issues are ignored to keep consistency-check processing resilient.\n * The returned list contains only persisted threads with non-null ids so callers can safely treat them as created entities.\n *\n * @param exerciseId the programming exercise id that owns the review comments\n * @param issues the newly detected consistency issues to persist as review comments\n * @return the persisted consistency-check threads created from the given issues\n */\n public List createConsistencyCheckThreads(long exerciseId, List issues) {\n return createConsistencyCheckThreads(exerciseId, issues, userRepository.getUser());\n }\n\n /**\n * Persists consistency-check issues with an explicit author for callers that run outside a request security context.\n *\n * @param exerciseId the programming exercise id\n * @param issues the consistency issues to persist\n * @param author the review-comment author\n * @return the persisted consistency-check threads\n */\n public List createConsistencyCheckThreads(long exerciseId, List issues, User author) {\n return createConsistencyCheckThreadsInternal(exerciseId, issues, author, null, Map.of());\n }\n\n /**\n * Persists consistency-check issues against an exact exercise version and caller-captured repository commits.\n *\n * @param exerciseId the programming exercise id\n * @param issues the consistency issues to persist\n * @param author the review-comment author\n * @param initialVersionId exact version for problem-statement locations\n * @param repositoryCommitIds exact commits for repository-backed locations; missing entries are resolved from the current repositories\n * @return the persisted consistency-check threads\n */\n public List createConsistencyCheckThreads(long exerciseId, List issues, User author, long initialVersionId,\n Map repositoryCommitIds) {\n return createConsistencyCheckThreadsInternal(exerciseId, issues, author, initialVersionId, repositoryCommitIds);\n }\n\n private List createConsistencyCheckThreadsInternal(long exerciseId, List issues, User author, @Nullable Long initialVersionId,\n Map repositoryCommitIds) {\n Exercise exercise = exerciseRepository.findById(exerciseId).orElseThrow(() -> new EntityNotFoundException(\"Exercise\", exerciseId));\n if (!(exercise instanceof ProgrammingExercise)) {\n throw new BadRequestAlertException(\"Exercise is not a programming exercise\", THREAD_ENTITY_NAME, \"exerciseNotProgramming\");\n }\n\n if (issues == null || issues.isEmpty()) {\n return List.of();\n }\n\n ConsistencyTargetRepositoryUris repositoryUrisByTarget = exerciseReviewRepositoryService.resolveTargetRepositoryUris(exerciseId);\n Map capturedCommitShasByTarget = new EnumMap<>(CommentThreadLocationType.class);\n repositoryCommitIds.forEach((repositoryType, commitId) -> capturedCommitShasByTarget.put(toLocationType(repositoryType), commitId));\n Map initialCommitShasByTarget = new EnumMap<>(CommentThreadLocationType.class);\n initialCommitShasByTarget.putAll(exerciseReviewRepositoryService.resolveTargetCommitShas(repositoryUrisByTarget));\n initialCommitShasByTarget.putAll(capturedCommitShasByTarget);\n ExerciseVersion problemStatementVersion = initialVersionId == null ? exerciseVersionRepository.findTopByExerciseIdOrderByCreatedDateDesc(exerciseId).orElse(null)\n : exerciseVersionRepository.findById(initialVersionId).filter(version -> version.getExerciseId() == exerciseId)\n .orElseThrow(() -> new EntityNotFoundException(\"ExerciseVersion\", initialVersionId));\n\n List threadsToPersist = new ArrayList<>();\n List groupsToPersist = new ArrayList<>();\n List createdThreads = new ArrayList<>();\n for (ConsistencyIssueDTO issue : issues) {\n Optional validationError = ExerciseReviewValidationUtil.validateConsistencyIssue(issue);\n if (validationError.isPresent()) {\n log.warn(\"Skipping invalid consistency issue for exercise {}: {}\", exerciseId, validationError.get());\n continue;\n }\n\n List locations = mapConsistencyIssueLocations(issue, exerciseId, repositoryUrisByTarget, capturedCommitShasByTarget);\n if (locations.isEmpty()) {\n log.warn(\"Skipping consistency issue for exercise {} because no related repository location exists\", exerciseId);\n continue;\n }\n\n if (locations.size() > 1) {\n CommentThreadGroup group = createConsistencyCheckGroup(exercise);\n Set groupedThreads = new HashSet<>();\n for (ConsistencyThreadLocation location : locations) {\n CommentThread thread = buildConsistencyCheckThread(exercise, location, initialCommitShasByTarget, problemStatementVersion);\n thread.setGroup(group);\n Comment comment = buildConsistencyCheckComment(thread, issue, location, exercise, repositoryUrisByTarget, exerciseId, author);\n thread.getComments().add(comment);\n groupedThreads.add(thread);\n }\n group.setThreads(groupedThreads);\n groupsToPersist.add(group);\n createdThreads.addAll(groupedThreads);\n continue;\n }\n\n for (ConsistencyThreadLocation location : locations) {\n CommentThread thread = buildConsistencyCheckThread(exercise, location, initialCommitShasByTarget, problemStatementVersion);\n Comment comment = buildConsistencyCheckComment(thread, issue, location, exercise, repositoryUrisByTarget, exerciseId, author);\n thread.getComments().add(comment);\n threadsToPersist.add(thread);\n createdThreads.add(thread);\n }\n }\n\n if (!groupsToPersist.isEmpty()) {\n commentThreadGroupRepository.saveAll(groupsToPersist);\n }\n\n if (!threadsToPersist.isEmpty()) {\n // Persist only ungrouped (single-location) consistency threads.\n // Grouped threads are persisted via CommentThreadGroup save with cascade.\n commentThreadRepository.saveAll(threadsToPersist);\n }\n List persistedThreads = createdThreads.stream().filter(thread -> thread.getId() != null).toList();\n if (persistedThreads.size() != createdThreads.size()) {\n log.warn(\"Skipping {} consistency-check threads without ids after persistence for exercise {}\", createdThreads.size() - persistedThreads.size(), exerciseId);\n }\n return persistedThreads;\n }\n\n private static CommentThreadLocationType toLocationType(RepositoryType repositoryType) {\n return switch (repositoryType) {\n case TEMPLATE -> CommentThreadLocationType.TEMPLATE_REPO;\n case SOLUTION -> CommentThreadLocationType.SOLUTION_REPO;\n case TESTS -> CommentThreadLocationType.TEST_REPO;\n case AUXILIARY -> CommentThreadLocationType.AUXILIARY_REPO;\n case USER -> throw new IllegalArgumentException(\"Student repository commits cannot anchor exercise review threads\");\n };\n }\n\n /**\n * Create a new comment within a thread.\n *\n * @param exerciseId the exercise id from the request path\n * @param threadId the thread id\n * @param dto the comment content to create\n * @return the persisted comment\n * @throws EntityNotFoundException if the thread does not exist\n * @throws BadRequestAlertException if validation fails or the thread exercise does not match the request exercise\n */\n public Comment createUserComment(long exerciseId, long threadId, UserCommentContentDTO dto) {\n ExerciseReviewValidationUtil.validateUserCommentPayload(dto, COMMENT_ENTITY_NAME);\n CommentThread thread = findThreadByIdElseThrow(threadId);\n ExerciseReviewValidationUtil.validateExerciseIdMatchesRequest(exerciseId, thread.getExercise().getId(), THREAD_ENTITY_NAME);\n\n Comment comment = buildUserComment(thread, dto);\n return commentRepository.save(comment);\n }\n\n /**\n * Delete a comment by id with cascade cleanup.\n * If the deleted comment was the last one in its thread, the thread is removed.\n * If that thread was the last in its group, the group is removed as well.\n *\n * @param exerciseId the exercise id from the request path\n * @param commentId the comment id\n * @throws EntityNotFoundException if the comment does not exist\n * @throws BadRequestAlertException if the comment exercise does not match the request exercise\n */\n public void deleteComment(long exerciseId, long commentId) {\n Comment comment = commentRepository.findWithThreadById(commentId).orElseThrow(() -> new EntityNotFoundException(\"Comment\", commentId));\n ExerciseReviewValidationUtil.validateExerciseIdMatchesRequest(exerciseId, comment.getThread().getExercise().getId(), COMMENT_ENTITY_NAME);\n\n long threadId = comment.getThread().getId();\n Long groupId = comment.getThread().getGroup() != null ? comment.getThread().getGroup().getId() : null;\n\n commentRepository.deleteById(comment.getId());\n\n if (commentRepository.countByThreadId(threadId) == 0) {\n commentThreadRepository.deleteById(threadId);\n if (groupId != null && commentThreadRepository.countByGroupId(groupId) == 0) {\n commentThreadGroupRepository.deleteById(groupId);\n }\n }\n }\n\n /**\n * Update the resolved flag of a thread.\n *\n * @param exerciseId the exercise id from the request path\n * @param threadId the thread id\n * @param dto whether the thread is resolved\n * @return the updated thread\n * @throws EntityNotFoundException if the thread does not exist\n * @throws BadRequestAlertException if validation fails or the thread exercise does not match the request exercise\n */\n public CommentThread updateThreadResolvedState(long exerciseId, long threadId, UpdateThreadResolvedStateDTO dto) {\n ExerciseReviewValidationUtil.validateResolvedStatePayload(dto, THREAD_ENTITY_NAME);\n CommentThread thread = findThreadByIdElseThrow(threadId);\n ExerciseReviewValidationUtil.validateExerciseIdMatchesRequest(exerciseId, thread.getExercise().getId(), THREAD_ENTITY_NAME);\n thread.setResolved(dto.resolved());\n CommentThread saved = commentThreadRepository.save(thread);\n return commentThreadRepository.findWithCommentsById(saved.getId()).orElse(saved);\n }\n\n /**\n * Update the resolved flag of all threads in a thread group.\n *\n * @param exerciseId the exercise id from the request path\n * @param groupId the thread group id\n * @param dto whether the group threads are resolved\n * @return updated group threads with comments\n * @throws EntityNotFoundException if the group does not exist\n * @throws BadRequestAlertException if validation fails or the group exercise does not match the request exercise\n */\n public List updateGroupResolvedState(long exerciseId, long groupId, UpdateThreadResolvedStateDTO dto) {\n ExerciseReviewValidationUtil.validateResolvedStatePayload(dto, THREAD_GROUP_ENTITY_NAME);\n CommentThreadGroup group = commentThreadGroupRepository.findById(groupId).orElseThrow(() -> new EntityNotFoundException(\"CommentThreadGroup\", groupId));\n ExerciseReviewValidationUtil.validateExerciseIdMatchesRequest(exerciseId, group.getExercise().getId(), THREAD_GROUP_ENTITY_NAME);\n\n List threads = List.copyOf(new LinkedHashSet<>(commentThreadRepository.findWithCommentsByGroupId(groupId)));\n if (threads.isEmpty()) {\n return List.of();\n }\n\n boolean desiredResolvedState = dto.resolved();\n boolean modified = false;\n for (CommentThread thread : threads) {\n if (thread.isResolved() != desiredResolvedState) {\n thread.setResolved(desiredResolvedState);\n modified = true;\n }\n }\n if (modified) {\n commentThreadRepository.saveAll(threads);\n }\n\n return threads;\n }\n\n /**\n * Update the content of a comment.\n *\n * @param exerciseId the exercise id from the request path\n * @param commentId the comment id\n * @param dto the new comment content\n * @return the updated comment\n * @throws EntityNotFoundException if the comment does not exist\n * @throws BadRequestAlertException if validation fails or the comment exercise does not match the request exercise\n */\n public Comment updateUserCommentContent(long exerciseId, long commentId, UserCommentContentDTO dto) {\n ExerciseReviewValidationUtil.validateUserCommentPayload(dto, COMMENT_ENTITY_NAME);\n Comment comment = commentRepository.findWithThreadById(commentId).orElseThrow(() -> new EntityNotFoundException(\"Comment\", commentId));\n ExerciseReviewValidationUtil.validateExerciseIdMatchesRequest(exerciseId, comment.getThread().getExercise().getId(), COMMENT_ENTITY_NAME);\n ExerciseReviewValidationUtil.validateContentMatchesType(comment.getType(), dto, COMMENT_ENTITY_NAME);\n comment.setContent(dto);\n Comment saved = commentRepository.save(comment);\n return commentRepository.findWithThreadById(saved.getId()).orElse(saved);\n }\n\n /**\n * Marks an inline suggested fix of a consistency-check comment as applied.\n * This operation is intentionally limited to toggling the {@code applied} flag only.\n *\n * @param exerciseId the exercise id from the request path\n * @param commentId the comment id\n * @return the updated comment\n * @throws EntityNotFoundException if the comment does not exist\n * @throws BadRequestAlertException if validation fails or the comment exercise does not match the request exercise\n */\n public Comment markConsistencyInlineFixApplied(long exerciseId, long commentId) {\n Comment comment = commentRepository.findWithThreadById(commentId).orElseThrow(() -> new EntityNotFoundException(\"Comment\", commentId));\n ExerciseReviewValidationUtil.validateExerciseIdMatchesRequest(exerciseId, comment.getThread().getExercise().getId(), COMMENT_ENTITY_NAME);\n\n if (comment.getType() != CommentType.CONSISTENCY_CHECK) {\n throw new BadRequestAlertException(\"Only consistency-check comments support inline-fix apply updates\", COMMENT_ENTITY_NAME, \"inlineFixNotSupported\");\n }\n if (!(comment.getContent() instanceof ConsistencyIssueCommentContentDTO consistencyContent)) {\n throw new BadRequestAlertException(\"Comment content does not match type\", COMMENT_ENTITY_NAME, \"contentTypeMismatch\");\n }\n\n InlineCodeChangeDTO inlineFix = consistencyContent.suggestedFix();\n if (inlineFix == null) {\n throw new BadRequestAlertException(\"Comment has no inline fix to apply\", COMMENT_ENTITY_NAME, \"inlineFixMissing\");\n }\n if (Boolean.TRUE.equals(inlineFix.applied())) {\n return comment;\n }\n\n comment.setContent(new ConsistencyIssueCommentContentDTO(consistencyContent.severity(), consistencyContent.category(), consistencyContent.text(),\n new InlineCodeChangeDTO(inlineFix.startLine(), inlineFix.endLine(), inlineFix.expectedCode(), inlineFix.replacementCode(), true)));\n return commentRepository.save(comment);\n }\n\n /**\n * Create a new comment thread group for an exercise.\n *\n * @param exerciseId the exercise id\n * @param dto the group creation payload\n * @return the persisted group\n * @throws EntityNotFoundException if the exercise does not exist\n * @throws BadRequestAlertException if validation fails\n */\n public CommentThreadGroup createGroup(long exerciseId, CreateCommentThreadGroupDTO dto) {\n List threadIds = ExerciseReviewValidationUtil.validateGroupPayload(dto, THREAD_GROUP_ENTITY_NAME);\n Exercise exercise = exerciseRepository.findById(exerciseId).orElseThrow(() -> new EntityNotFoundException(\"Exercise\", exerciseId));\n\n List threads = commentThreadRepository.findAllById(threadIds);\n ExerciseReviewValidationUtil.validateGroupThreads(threads, threadIds.size(), exerciseId, THREAD_ENTITY_NAME);\n\n CommentThreadGroup group = new CommentThreadGroup();\n group.setExercise(exercise);\n CommentThreadGroup saved = commentThreadGroupRepository.save(group);\n for (CommentThread thread : threads) {\n thread.setGroup(saved);\n }\n commentThreadRepository.saveAll(threads);\n saved.setThreads(new java.util.HashSet<>(threads));\n return saved;\n }\n\n /**\n * Delete a comment thread group by id.\n *\n * @param exerciseId the exercise id from the request path\n * @param groupId the group id\n * @return ids of threads that were detached from the deleted group\n * @throws EntityNotFoundException if the group does not exist\n * @throws BadRequestAlertException if the group exercise does not match the request exercise\n */\n public List deleteGroup(long exerciseId, long groupId) {\n CommentThreadGroup group = commentThreadGroupRepository.findById(groupId).orElseThrow(() -> new EntityNotFoundException(\"CommentThreadGroup\", groupId));\n\n ExerciseReviewValidationUtil.validateExerciseIdMatchesRequest(exerciseId, group.getExercise().getId(), THREAD_GROUP_ENTITY_NAME);\n\n List threads = commentThreadRepository.findByGroupId(groupId);\n List threadIds = new ArrayList<>();\n if (!threads.isEmpty()) {\n for (CommentThread thread : threads) {\n thread.setGroup(null);\n threadIds.add(thread.getId());\n }\n commentThreadRepository.saveAll(threads);\n }\n\n commentThreadGroupRepository.delete(group);\n return List.copyOf(threadIds);\n }\n\n /**\n * Finds a comment thread by id or throws an {@link EntityNotFoundException}.\n *\n * @param threadId the thread id\n * @return the found thread\n */\n private CommentThread findThreadByIdElseThrow(long threadId) {\n return commentThreadRepository.findById(threadId).orElseThrow(() -> new EntityNotFoundException(\"CommentThread\", threadId));\n }\n\n /**\n * Resolves the latest exercise version for problem-statement threads.\n *\n * @param thread the comment thread\n * @return the latest version for problem-statement threads, otherwise {@code null}\n */\n private ExerciseVersion resolveLatestVersion(CommentThread thread) {\n if (thread.getTargetType() != CommentThreadLocationType.PROBLEM_STATEMENT) {\n return null;\n }\n return exerciseVersionRepository.findTopByExerciseIdOrderByCreatedDateDesc(thread.getExercise().getId()).orElse(null);\n }\n\n /**\n * Resolves the initial exercise version for a newly created problem-statement thread.\n *\n * @param targetType the thread target type\n * @param exerciseId the exercise id\n * @return the initial exercise version, or {@code null} for repository-based threads\n * @throws BadRequestAlertException if no exercise version exists for the problem statement\n */\n public ExerciseVersion resolveInitialVersion(CommentThreadLocationType targetType, long exerciseId) {\n if (targetType != CommentThreadLocationType.PROBLEM_STATEMENT) {\n return null;\n }\n return exerciseVersionRepository.findTopByExerciseIdOrderByCreatedDateDesc(exerciseId)\n .orElseThrow(() -> new BadRequestAlertException(\"No exercise version available for problem statement thread\", THREAD_ENTITY_NAME, \"initialVersionMissing\"));\n }\n\n /**\n * Resolves the latest commit SHA for the repository associated with a review thread target.\n *\n * @param targetType the thread target type (repository-based only)\n * @param auxiliaryRepositoryId the auxiliary repository id when {@code targetType} is {@code AUXILIARY_REPO}\n * @param exerciseId the exercise id\n * @return the latest commit SHA, or {@code null} for problem-statement threads or missing repository URIs\n * @throws BadRequestAlertException if the exercise is not a programming exercise\n */\n public String resolveLatestCommitSha(CommentThreadLocationType targetType, Long auxiliaryRepositoryId, long exerciseId) {\n String commitSha = exerciseReviewRepositoryService.resolveLatestCommitSha(targetType, auxiliaryRepositoryId, exerciseId);\n if (commitSha == null && targetType != CommentThreadLocationType.PROBLEM_STATEMENT) {\n log.warn(\"Repository URI missing for thread target {} in exercise {}\", targetType, exerciseId);\n }\n return commitSha;\n }\n\n /**\n * Builds a persisted consistency-check thread from a mapped issue location.\n * Problem statement threads intentionally do not store a file path.\n * Problem-statement threads store the latest exercise version at creation time when available.\n * Repository-based threads store the initial commit SHA at creation time.\n *\n * @param exercise the exercise owning the thread\n * @param location the mapped consistency issue location\n * @param initialCommitShasByTarget pre-resolved latest commit SHAs by repository-backed target type\n * @param latestProblemStatementVersion the cached latest exercise version for problem-statement targets\n * @return a new consistency-check thread entity\n */\n private CommentThread buildConsistencyCheckThread(Exercise exercise, ConsistencyThreadLocation location, Map initialCommitShasByTarget,\n @Nullable ExerciseVersion latestProblemStatementVersion) {\n CommentThread thread = new CommentThread();\n thread.setExercise(exercise);\n thread.setTargetType(location.targetType());\n thread.setInitialFilePath(location.filePath());\n thread.setFilePath(location.filePath());\n thread.setInitialVersion(resolveConsistencyInitialVersion(location.targetType(), latestProblemStatementVersion));\n thread.setInitialCommitSha(resolveConsistencyInitialCommitSha(location.targetType(), initialCommitShasByTarget));\n thread.setInitialLineNumber(location.lineNumber());\n thread.setLineNumber(location.lineNumber());\n thread.setOutdated(false);\n thread.setResolved(false);\n return thread;\n }\n\n /**\n * Resolves the initial version for a consistency-check thread from the pre-resolved problem-statement version.\n *\n * @param targetType thread target type\n * @param latestProblemStatementVersion cached latest exercise version for problem-statement targets\n * @return the cached version for problem-statement targets, otherwise {@code null}\n */\n private ExerciseVersion resolveConsistencyInitialVersion(CommentThreadLocationType targetType, @Nullable ExerciseVersion latestProblemStatementVersion) {\n if (targetType != CommentThreadLocationType.PROBLEM_STATEMENT) {\n return null;\n }\n return latestProblemStatementVersion;\n }\n\n /**\n * Resolves the initial commit SHA for a consistency-check thread location from pre-resolved target SHAs.\n *\n * @param targetType thread target type\n * @param initialCommitShasByTarget latest commit SHA lookup by target type\n * @return the resolved initial commit SHA, or {@code null} for problem-statement threads and unavailable repository SHAs\n */\n private String resolveConsistencyInitialCommitSha(CommentThreadLocationType targetType, Map initialCommitShasByTarget) {\n if (targetType == CommentThreadLocationType.PROBLEM_STATEMENT) {\n return null;\n }\n return initialCommitShasByTarget.get(targetType);\n }\n\n /**\n * Creates the initial consistency-check comment for a generated thread.\n *\n * @param thread the target thread\n * @param issue the consistency issue source data\n * @param location the mapped location this thread represents\n * @param exercise the owning exercise\n * @param repositoryUrisByTarget pre-resolved repository URIs by target\n * @param exerciseId exercise id used for logging context\n * @param author the comment author\n * @return the initialized consistency-check comment\n */\n private Comment buildConsistencyCheckComment(CommentThread thread, ConsistencyIssueDTO issue, ConsistencyThreadLocation location, Exercise exercise,\n ConsistencyTargetRepositoryUris repositoryUrisByTarget, long exerciseId, User author) {\n Comment comment = new Comment();\n comment.setType(CommentType.CONSISTENCY_CHECK);\n comment.setContent(new ConsistencyIssueCommentContentDTO(issue.severity(), issue.category(), buildConsistencyIssueText(issue),\n buildInlineSuggestedFix(thread, location, exercise, repositoryUrisByTarget, exerciseId)));\n comment.setAuthor(author);\n comment.setThread(thread);\n return comment;\n }\n\n /**\n * Builds the rendered consistency issue text saved in the comment content.\n *\n * @param issue the consistency issue source data\n * @return the rendered issue text with optional suggested fix\n */\n private String buildConsistencyIssueText(ConsistencyIssueDTO issue) {\n String description = issue.description();\n String suggestedFix = issue.suggestedFix();\n // Defensive fallback: render description-only if suggestedFix is absent or blank.\n if (suggestedFix == null || suggestedFix.isBlank()) {\n return description;\n }\n return description + \"\\n\\nSuggested fix: \" + suggestedFix;\n }\n\n /**\n * Builds an inline code change from one mapped consistency location when a simple inline replacement is available.\n * Returns {@code null} when no per-location inline replacement should be persisted.\n *\n * @param thread persisted thread metadata\n * @param location mapped consistency location\n * @param exercise owning exercise\n * @param repositoryUrisByTarget resolved repository URIs by target\n * @param exerciseId exercise id used for logging context\n * @return inline change DTO or {@code null}\n */\n @Nullable\n private InlineCodeChangeDTO buildInlineSuggestedFix(CommentThread thread, ConsistencyThreadLocation location, Exercise exercise,\n ConsistencyTargetRepositoryUris repositoryUrisByTarget, long exerciseId) {\n String replacementCode = location.suggestedInlineFix();\n if (replacementCode == null) {\n return null;\n }\n\n String expectedCode = resolveExpectedCodeForLocation(thread, location, exercise, repositoryUrisByTarget, exerciseId);\n if (expectedCode == null) {\n log.warn(\"Skipping inline suggested fix for exercise {} at {}:{} because expected code could not be resolved\", exerciseId, thread.getTargetType(),\n thread.getLineNumber());\n return null;\n }\n\n return new InlineCodeChangeDTO(location.startLine(), location.endLine(), expectedCode, replacementCode, false);\n }\n\n @Nullable\n private String resolveExpectedCodeForLocation(CommentThread thread, ConsistencyThreadLocation location, Exercise exercise,\n ConsistencyTargetRepositoryUris repositoryUrisByTarget, long exerciseId) {\n return switch (thread.getTargetType()) {\n case PROBLEM_STATEMENT -> extractLineRange(exercise.getProblemStatement(), location.startLine(), location.endLine());\n case TEMPLATE_REPO, SOLUTION_REPO, TEST_REPO, AUXILIARY_REPO -> {\n String filePath = thread.getFilePath();\n String commitSha = thread.getInitialCommitSha();\n if (filePath == null || filePath.isBlank() || commitSha == null || commitSha.isBlank()) {\n yield null;\n }\n LocalVCRepositoryUri repositoryUri = resolveRepositoryUri(thread.getTargetType(), thread.getAuxiliaryRepositoryId(), repositoryUrisByTarget);\n if (repositoryUri == null) {\n yield null;\n }\n String fileContent = readFileContentAtCommit(repositoryUri, commitSha, filePath, exerciseId, thread.getTargetType());\n yield extractLineRange(fileContent, location.startLine(), location.endLine());\n }\n };\n }\n\n @Nullable\n private LocalVCRepositoryUri resolveRepositoryUri(CommentThreadLocationType targetType, @Nullable Long auxiliaryRepositoryId,\n ConsistencyTargetRepositoryUris repositoryUrisByTarget) {\n return switch (targetType) {\n case TEMPLATE_REPO, SOLUTION_REPO, TEST_REPO -> repositoryUrisByTarget.repositoryUrisByTargetType().get(targetType);\n case AUXILIARY_REPO -> auxiliaryRepositoryId == null ? null : repositoryUrisByTarget.auxiliaryRepositoryUrisById().get(auxiliaryRepositoryId);\n case PROBLEM_STATEMENT -> null;\n };\n }\n\n @Nullable\n private String readFileContentAtCommit(LocalVCRepositoryUri repositoryUri, String commitSha, String filePath, long exerciseId, CommentThreadLocationType targetType) {\n try (Repository repository = bareGitRepositoryService.getBareRepository(repositoryUri, false)) {\n return repositoryService.getFileContentFromBareRepository(repository, commitSha, filePath).orElse(null);\n }\n catch (Exception ex) {\n log.warn(\"Failed to read expected code for exercise {} (target {}, file {}) at commit {}\", exerciseId, targetType, filePath, commitSha, ex);\n return null;\n }\n }\n\n @Nullable\n private String extractLineRange(@Nullable String content, int startLine, int endLine) {\n if (content == null || startLine < 1 || endLine < startLine) {\n return null;\n }\n String[] lines = content.split(\"\\\\R\", -1);\n if (endLine > lines.length) {\n return null;\n }\n return String.join(\"\\n\", Arrays.copyOfRange(lines, startLine - 1, endLine));\n }\n\n /**\n * Creates a new thread group for one consistency issue.\n *\n * @param exercise the owning exercise\n * @return the new unsaved thread group\n */\n private CommentThreadGroup createConsistencyCheckGroup(Exercise exercise) {\n CommentThreadGroup group = new CommentThreadGroup();\n group.setExercise(exercise);\n return group;\n }\n\n /**\n * Maps a consistency issue to one or more review-thread locations.\n * Assumes the issue and all locations were validated beforehand.\n *\n * @param issue the consistency issue\n * @param exerciseId exercise id used for logging context\n * @param repositoryUrisByTarget repository URI lookups for consistency-check targets\n * @param capturedCommitShasByTarget caller-captured commits used for exact-revision validation\n * @return normalized list of thread locations\n */\n private List mapConsistencyIssueLocations(ConsistencyIssueDTO issue, long exerciseId, ConsistencyTargetRepositoryUris repositoryUrisByTarget,\n Map capturedCommitShasByTarget) {\n return issue.relatedLocations().stream().map(location -> mapConsistencyIssueLocation(location, exerciseId, repositoryUrisByTarget, capturedCommitShasByTarget))\n .flatMap(Optional::stream).distinct().toList();\n }\n\n /**\n * Maps a single artifact location to an internal thread location.\n *\n * @param location the artifact location from Hyperion output\n * @param exerciseId exercise id used for logging context\n * @param repositoryUrisByTarget repository URI lookups for consistency-check targets\n * @param capturedCommitShasByTarget caller-captured commits used for exact-revision validation\n * @return normalized thread location\n */\n private Optional mapConsistencyIssueLocation(ArtifactLocationDTO location, long exerciseId, ConsistencyTargetRepositoryUris repositoryUrisByTarget,\n Map capturedCommitShasByTarget) {\n int lineNumber = location.endLine();\n return switch (location.type()) {\n case PROBLEM_STATEMENT -> Optional.of(new ConsistencyThreadLocation(CommentThreadLocationType.PROBLEM_STATEMENT, null, lineNumber, location.startLine(),\n location.endLine(), location.suggestedInlineFix()));\n case TEMPLATE_REPOSITORY -> mapRepositoryConsistencyIssueLocation(CommentThreadLocationType.TEMPLATE_REPO, null, location.filePath(), lineNumber, location.startLine(),\n location.endLine(), location.suggestedInlineFix(), exerciseId, repositoryUrisByTarget, capturedCommitShasByTarget);\n case SOLUTION_REPOSITORY -> mapRepositoryConsistencyIssueLocation(CommentThreadLocationType.SOLUTION_REPO, null, location.filePath(), lineNumber, location.startLine(),\n location.endLine(), location.suggestedInlineFix(), exerciseId, repositoryUrisByTarget, capturedCommitShasByTarget);\n case TESTS_REPOSITORY -> mapRepositoryConsistencyIssueLocation(CommentThreadLocationType.TEST_REPO, null, location.filePath(), lineNumber, location.startLine(),\n location.endLine(), location.suggestedInlineFix(), exerciseId, repositoryUrisByTarget, capturedCommitShasByTarget);\n };\n }\n\n /**\n * Maps one repository-based consistency location if the referenced file exists in the target repository.\n *\n * @param targetType repository-backed thread target type\n * @param auxiliaryRepositoryId auxiliary repository id when {@code targetType} is {@code AUXILIARY_REPO}\n * @param filePath repository-relative file path\n * @param lineNumber 1-based line number\n * @param exerciseId exercise id for logging context\n * @param repositoryUrisByTarget repository URI lookups for consistency-check targets\n * @param capturedCommitShasByTarget caller-captured commits used for exact-revision validation\n * @return mapped location, or empty if the file does not exist in the repository\n */\n private Optional mapRepositoryConsistencyIssueLocation(CommentThreadLocationType targetType, @Nullable Long auxiliaryRepositoryId, String filePath,\n int lineNumber, int startLine, int endLine, @Nullable String suggestedInlineFix, long exerciseId, ConsistencyTargetRepositoryUris repositoryUrisByTarget,\n Map capturedCommitShasByTarget) {\n Optional validationError = exerciseReviewRepositoryService.validateFileExists(targetType, auxiliaryRepositoryId, filePath, repositoryUrisByTarget,\n capturedCommitShasByTarget.get(targetType));\n if (validationError.isPresent()) {\n log.warn(\"Skipping consistency issue location for exercise {} because {}\", exerciseId, validationError.get());\n return Optional.empty();\n }\n return Optional.of(new ConsistencyThreadLocation(targetType, filePath, lineNumber, startLine, endLine, suggestedInlineFix));\n }\n\n /**\n * Builds a user-authored comment entity for a thread.\n *\n * @param thread the target thread\n * @param dto the user comment content\n * @return the initialized user comment\n */\n private Comment buildUserComment(CommentThread thread, UserCommentContentDTO dto) {\n User author = userRepository.getUser();\n Comment comment = new Comment();\n comment.setType(CommentType.USER);\n comment.setContent(dto);\n comment.setAuthor(author);\n comment.setInitialVersion(resolveLatestVersion(thread));\n comment.setInitialCommitSha(resolveLatestCommitSha(thread.getTargetType(), thread.getAuxiliaryRepositoryId(), thread.getExercise().getId()));\n comment.setThread(thread);\n return comment;\n }\n\n /**\n * Internal normalized representation of a consistency issue location used to create review threads.\n *\n * @param targetType target location type for the thread\n * @param filePath repository-relative file path; {@code null} for problem statement\n * @param lineNumber 1-based line number anchor\n * @param startLine first line in the location range\n * @param endLine last line in the location range\n * @param suggestedInlineFix optional per-location inline replacement\n */\n private record ConsistencyThreadLocation(CommentThreadLocationType targetType, @Nullable String filePath, int lineNumber, int startLine, int endLine,\n @Nullable String suggestedInlineFix) {\n }\n\n /**\n * Container for a newly created thread and its initial comment.\n *\n * @param thread the created thread\n * @param comment the created initial comment\n */\n public record ThreadCreationResult(CommentThread thread, Comment comment) {\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/784f7a29932605eab6f0f902421c056887a6726e.json b/web/public/bundles/artemis/code/784f7a29932605eab6f0f902421c056887a6726e.json new file mode 100644 index 00000000..f8113852 --- /dev/null +++ b/web/public/bundles/artemis/code/784f7a29932605eab6f0f902421c056887a6726e.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "784f7a29932605eab6f0f902421c056887a6726e", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/buildagent/dto/BuildJobResultCountDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.buildagent.dto;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.programming.domain.build.BuildStatus;\n\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record BuildJobResultCountDTO(BuildStatus status, long count) {\n}\n" +} diff --git a/web/public/bundles/artemis/code/79197ba14f1d9571caf70e6ad917c2686d1ab7ef.json b/web/public/bundles/artemis/code/79197ba14f1d9571caf70e6ad917c2686d1ab7ef.json new file mode 100644 index 00000000..fdfdba8c --- /dev/null +++ b/web/public/bundles/artemis/code/79197ba14f1d9571caf70e6ad917c2686d1ab7ef.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "79197ba14f1d9571caf70e6ad917c2686d1ab7ef", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/dto/UserNameAndLoginDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.assessment.dto;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\n\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record UserNameAndLoginDTO(String name, String login) {\n\n public static UserNameAndLoginDTO of(User user) {\n return new UserNameAndLoginDTO(user.getName(), user.getLogin());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/7960929cb984af35fc99c15c1f71d8cb0be40499.json b/web/public/bundles/artemis/code/7960929cb984af35fc99c15c1f71d8cb0be40499.json new file mode 100644 index 00000000..1d4083e4 --- /dev/null +++ b/web/public/bundles/artemis/code/7960929cb984af35fc99c15c1f71d8cb0be40499.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "7960929cb984af35fc99c15c1f71d8cb0be40499", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/dto/data/PyrisCourseDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.iris.service.pyris.dto.data;\n\nimport static de.tum.cit.aet.artemis.core.util.TimeUtil.toInstant;\n\nimport java.time.Instant;\nimport java.util.List;\n\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.lecture.domain.Lecture;\nimport de.tum.cit.aet.artemis.lecture.domain.LectureUnit;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingLanguage;\n\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record PyrisCourseDTO(long id, String name, String description, @Nullable Instant startTime, @Nullable Instant endTime,\n @Nullable ProgrammingLanguage defaultProgrammingLanguage, @Nullable Integer maxComplaints, @Nullable Integer maxTeamComplaints, @Nullable Integer maxComplaintTimeDays,\n @Nullable Integer maxRequestMoreFeedbackTimeDays, @Nullable Integer maxPoints, @Nullable Integer presentationScore,\n @Nullable List exercises, @Nullable List exams, @Nullable List competencies,\n @Nullable List lectures) {\n\n /**\n * Create a basic PyrisCourseDTO with only id, name, and description.\n *\n * @param course The course\n */\n public PyrisCourseDTO(Course course) {\n this(course.getId(), course.getTitle(), course.getDescription(), null, null, null, null, null, null, null, null, null, null, null, null, null);\n }\n\n /**\n * Create a fully populated PyrisCourseDTO with all extended fields.\n * Requires the course to have exercises, exams, lectures with lecture units, and competencies loaded.\n *\n * @param course The course with all associations loaded\n * @return The fully populated DTO\n */\n public static PyrisCourseDTO of(Course course) {\n List exercises = course.getExercises().stream().map(PyrisExerciseWithStudentSubmissionsDTO::of).toList();\n List exams = course.getExams().stream().map(PyrisExamDTO::of).toList();\n List competencies = course.getCompetencies().stream().map(PyrisCompetencyDTO::of).toList();\n List lectures = course.getLectures().stream().map(lecture -> toLectureDTO(lecture, course.getId())).toList();\n\n return new PyrisCourseDTO(course.getId(), course.getTitle(), course.getDescription(), toInstant(course.getStartDate()), toInstant(course.getEndDate()),\n course.getDefaultProgrammingLanguage(), course.getMaxComplaints(), course.getMaxTeamComplaints(), course.getMaxComplaintTimeDays(),\n course.getMaxRequestMoreFeedbackTimeDays(), course.getMaxPoints(), course.getPresentationScore(), exercises, exams, competencies, lectures);\n }\n\n private static PyrisLectureDTO toLectureDTO(Lecture lecture, long courseId) {\n // A lecture without released units stays in the list: it remains a valid context switch target,\n // only the names of unreleased units must not reach the student through the agent.\n List visibleUnits = lecture.getLectureUnits().stream().filter(LectureUnit::isVisibleToStudents)\n .map(unit -> new PyrisLectureUnitDTO(unit.getId(), courseId, lecture.getId(), toInstant(unit.getReleaseDate()), unit.getName(), null)).toList();\n return new PyrisLectureDTO(lecture.getId(), lecture.getTitle(), lecture.getDescription(), lecture.getStartDate(), lecture.getEndDate(), visibleUnits);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/7970ee990e19ce5113452c2d7f3c9e7306b5c1e3.json b/web/public/bundles/artemis/code/7970ee990e19ce5113452c2d7f3c9e7306b5c1e3.json new file mode 100644 index 00000000..b3033b4e --- /dev/null +++ b/web/public/bundles/artemis/code/7970ee990e19ce5113452c2d7f3c9e7306b5c1e3.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "7970ee990e19ce5113452c2d7f3c9e7306b5c1e3", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/LectureUnitService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.lecture.service;\n\nimport java.time.ZonedDateTime;\nimport java.util.ArrayList;\nimport java.util.HashSet;\nimport java.util.List;\nimport java.util.Optional;\nimport java.util.Set;\nimport java.util.function.Function;\nimport java.util.stream.Collectors;\n\nimport org.hibernate.Hibernate;\nimport org.jspecify.annotations.NonNull;\nimport org.springframework.context.ApplicationEventPublisher;\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.dao.DataIntegrityViolationException;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.atlas.api.CompetencyProgressApi;\nimport de.tum.cit.aet.artemis.atlas.api.CompetencyRelationApi;\nimport de.tum.cit.aet.artemis.atlas.api.CompetencyRepositoryApi;\nimport de.tum.cit.aet.artemis.atlas.api.CourseCompetencyApi;\nimport de.tum.cit.aet.artemis.atlas.domain.competency.CompetencyLectureUnitLink;\nimport de.tum.cit.aet.artemis.atlas.domain.competency.CourseCompetency;\nimport de.tum.cit.aet.artemis.core.exception.BadRequestAlertException;\nimport de.tum.cit.aet.artemis.core.service.FileService;\nimport de.tum.cit.aet.artemis.exercise.dto.CompetencyLinksHolderDTO;\nimport de.tum.cit.aet.artemis.lecture.api.LectureContentProcessingApi;\nimport de.tum.cit.aet.artemis.lecture.config.LectureEnabled;\nimport de.tum.cit.aet.artemis.lecture.domain.AttachmentVideoUnit;\nimport de.tum.cit.aet.artemis.lecture.domain.ExerciseUnit;\nimport de.tum.cit.aet.artemis.lecture.domain.Lecture;\nimport de.tum.cit.aet.artemis.lecture.domain.LectureUnit;\nimport de.tum.cit.aet.artemis.lecture.domain.LectureUnitCompletion;\nimport de.tum.cit.aet.artemis.lecture.domain.event.LectureUnitContentChangedEvent;\nimport de.tum.cit.aet.artemis.lecture.repository.LectureRepository;\nimport de.tum.cit.aet.artemis.lecture.repository.LectureUnitCompletionRepository;\nimport de.tum.cit.aet.artemis.lecture.repository.LectureUnitRepository;\n\n@Conditional(LectureEnabled.class)\n@Lazy\n@Service\npublic class LectureUnitService {\n\n private final LectureUnitRepository lectureUnitRepository;\n\n private final LectureRepository lectureRepository;\n\n private final LectureUnitCompletionRepository lectureUnitCompletionRepository;\n\n private final FileService fileService;\n\n private final Optional competencyProgressApi;\n\n private final Optional courseCompetencyApi;\n\n private final Optional competencyRepositoryApi;\n\n private final Optional competencyRelationApi;\n\n private final Optional contentProcessingApi;\n\n private final ApplicationEventPublisher applicationEventPublisher;\n\n public LectureUnitService(LectureUnitRepository lectureUnitRepository, LectureRepository lectureRepository, LectureUnitCompletionRepository lectureUnitCompletionRepository,\n FileService fileService, Optional competencyProgressApi, Optional courseCompetencyApi,\n Optional competencyRepositoryApi, Optional competencyRelationApi,\n Optional contentProcessingApi, ApplicationEventPublisher applicationEventPublisher) {\n this.lectureUnitRepository = lectureUnitRepository;\n this.lectureRepository = lectureRepository;\n this.lectureUnitCompletionRepository = lectureUnitCompletionRepository;\n this.fileService = fileService;\n this.courseCompetencyApi = courseCompetencyApi;\n this.competencyProgressApi = competencyProgressApi;\n this.competencyRepositoryApi = competencyRepositoryApi;\n this.competencyRelationApi = competencyRelationApi;\n this.contentProcessingApi = contentProcessingApi;\n this.applicationEventPublisher = applicationEventPublisher;\n }\n\n /**\n * Publishes an event after learning-relevant lecture unit content has changed.\n *\n * @param lectureUnit the created or updated lecture unit\n */\n public void publishContentChangedEvent(LectureUnit lectureUnit) {\n applicationEventPublisher.publishEvent(new LectureUnitContentChangedEvent(lectureUnit));\n }\n\n /**\n * Set the completion status of the lecture unit for the give user\n * If the user completed the unit and completion status already exists, nothing happens\n *\n * @param lectureUnit The lecture unit for which set the completion flag\n * @param user The user that completed/uncompleted the lecture unit\n * @param completed True if the lecture unit was completed, false otherwise\n */\n public void setLectureUnitCompletion(@NonNull LectureUnit lectureUnit, @NonNull User user, boolean completed) {\n Optional existingCompletion = lectureUnitCompletionRepository.findByLectureUnitIdAndUserId(lectureUnit.getId(), user.getId());\n if (completed) {\n if (existingCompletion.isEmpty()) {\n LectureUnitCompletion completion = createLectureUnitCompletion(lectureUnit, user);\n try {\n // Flush, so that the asynchronous mastery calculation uses the correct completion status\n lectureUnitCompletionRepository.saveAndFlush(completion);\n }\n catch (DataIntegrityViolationException e) {\n // In rare instances the completion status might already exist if this method runs in parallel.\n // This fails the SQL unique constraint and throws an exception. We can safely ignore it.\n }\n }\n }\n else {\n existingCompletion.ifPresent(lectureUnitCompletionRepository::delete);\n }\n }\n\n /**\n * Set the completion status of all passed lecture units for the give user\n * If the user completed the unit and completion status already exists, nothing happens\n *\n * @param The type of the concrete lecture unit\n * @param lectureUnits List of all lecture units for which to set the completion flag\n * @param user The user that completed/uncompleted the lecture unit\n * @param completed True if the lecture unit was completed, false otherwise\n */\n public void setCompletedForAllLectureUnits(List lectureUnits, @NonNull User user, boolean completed) {\n var existingCompletion = lectureUnitCompletionRepository.findByLectureUnitsAndUserId(lectureUnits, user.getId());\n if (!completed) {\n lectureUnitCompletionRepository.deleteAll(existingCompletion);\n return;\n }\n // make lectureUnits modifiable\n List completedLectureUnits = new ArrayList<>(lectureUnits);\n\n // remove existing completions\n if (!existingCompletion.isEmpty()) {\n for (var completion : existingCompletion) {\n completedLectureUnits.remove(completion.getLectureUnit());\n }\n }\n\n var completions = completedLectureUnits.stream().map(unit -> createLectureUnitCompletion(unit, user)).toList();\n\n try {\n lectureUnitCompletionRepository.saveAll(completions);\n }\n catch (DataIntegrityViolationException e) {\n // In rare instances the completion status might already exist if this method runs in parallel.\n // This fails the SQL unique constraint and throws an exception. We can safely ignore it.\n }\n }\n\n private static LectureUnitCompletion createLectureUnitCompletion(LectureUnit lectureUnit, User user) {\n // Create a completion status for this lecture unit (only if it does not exist)\n LectureUnitCompletion completion = new LectureUnitCompletion();\n completion.setLectureUnit(lectureUnit);\n completion.setUser(user);\n completion.setCompletedAt(ZonedDateTime.now());\n return completion;\n }\n\n /**\n * Deletes a lecture unit correctly in the database.\n * Also cancels any ongoing content processing jobs (Pyris ingestion).\n *

\n * Note: The processing state is automatically deleted by database CASCADE DELETE\n * when the lecture unit is deleted.\n *\n * @param lectureUnit lecture unit to delete\n */\n public void removeLectureUnit(@NonNull LectureUnit lectureUnit) {\n LectureUnit lectureUnitToDelete = lectureUnitRepository.findByIdWithCompetenciesAndSlidesElseThrow(lectureUnit.getId());\n\n if (lectureUnitToDelete instanceof AttachmentVideoUnit attachmentVideoUnit) {\n // Cancel ongoing processing and delete from Pyris vector database\n // Processing state deletion is handled by DB cascade when lecture unit is deleted\n contentProcessingApi.ifPresent(api -> api.handleUnitDeletion(attachmentVideoUnit));\n\n if (attachmentVideoUnit.getAttachment() != null) {\n // Empty for an attachment that links to a document hosted elsewhere: there is nothing of ours to delete, and the filename such a link ends in may well be one\n // an unrelated attachment stores.\n attachmentVideoUnit.getAttachment().fileLocation().ifPresent(location -> fileService.schedulePathForDeletion(location.path(), 5));\n }\n }\n\n Lecture lecture = lectureRepository.findByIdWithLectureUnitsElseThrow(lectureUnitToDelete.getLecture().getId());\n // Creating a new list of lecture units without the one we want to remove\n lecture.removeLectureUnitById(lectureUnit.getId());\n lectureRepository.save(lecture);\n\n if (!(lectureUnitToDelete instanceof ExerciseUnit)) {\n // update associated competency progress objects\n competencyProgressApi.ifPresent(api -> api.updateProgressForUpdatedLearningObjectAsync(lectureUnitToDelete, Optional.empty()));\n }\n }\n\n /**\n * Link the competency to a set of lecture units.\n * Note: Since we use CascadeType.REMOVE only (not PERSIST), links must be saved explicitly.\n *\n * @param competency The competency to be linked\n * @param lectureUnitLinks New set of lecture unit links to associate with the competency\n */\n public void linkLectureUnitsToCompetency(CourseCompetency competency, Set lectureUnitLinks) {\n if (competencyRelationApi.isEmpty()) {\n return;\n }\n lectureUnitLinks.forEach(link -> link.setCompetency(competency));\n // Save links explicitly since cascade does not include PERSIST\n competencyRelationApi.get().saveAllLectureUnitLinks(lectureUnitLinks);\n }\n\n /**\n * Disconnects the competency exercise links from the exercise before the cycle is broken by the deserialization.\n * NOTE: this is a workaround for a Jackson/Hibernate issue with bidirectional relationships and lazy loading.\n * Ideally, we convert entities to DTOs before sending them to the client.\n *\n * @param lectureUnit The lecture unit to disconnect the competency links\n */\n public void disconnectCompetencyLectureUnitLinks(LectureUnit lectureUnit) {\n if (lectureUnit.getCompetencyLinks() != null && Hibernate.isInitialized(lectureUnit.getCompetencyLinks())) {\n lectureUnit.getCompetencyLinks().forEach(link -> {\n // avoid circular references\n link.setLectureUnit(null);\n link.getCompetency().setLectureUnitLinks(null);\n });\n }\n }\n\n /**\n * Reconnects the competency exercise links to the exercise after the cycle was broken by the deserialization.\n *\n * @param lectureUnit The lecture unit to reconnect the competency links\n */\n public void reconnectCompetencyLectureUnitLinks(LectureUnit lectureUnit) {\n lectureUnit.getCompetencyLinks().forEach(link -> link.setLectureUnit(lectureUnit));\n }\n\n /**\n * Saves the exercise and links it to the competencies.\n *\n * @param lectureUnit the lecture unit to save\n * @param saveFunction function to save the exercise\n * @param type of the lecture unit\n * @return saved exercise\n */\n public T saveWithCompetencyLinks(T lectureUnit, Function saveFunction) {\n // persist lecture Unit before linking it to the competency\n Set links = lectureUnit.getCompetencyLinks();\n lectureUnit.setCompetencyLinks(new HashSet<>());\n\n T savedLectureUnit = saveFunction.apply(lectureUnit);\n\n if (Hibernate.isInitialized(links) && links != null && !links.isEmpty()) {\n savedLectureUnit.setCompetencyLinks(links);\n reconnectCompetencyLectureUnitLinks(savedLectureUnit);\n competencyRelationApi.ifPresent(api -> savedLectureUnit.setCompetencyLinks(new HashSet<>(api.saveAllLectureUnitLinks(links))));\n }\n\n return savedLectureUnit;\n }\n\n /**\n * Update the competency links of an existing text unit based on the provided DTO.\n * Supports removing links, updating weights of existing ones, and adding new links.\n * This method ensures that the managed entity's collection is updated correctly to avoid JPA issues and unnecessary database operations.\n * It makes sure to be Hibernate compliant by modifying the existing collection rather than replacing it.\n *\n * Competencies can only be linked if they belong to the course of the lecture unit.\n *\n * @param dto the DTO (from the client) containing the new state of competency links (new, existing or removed ones)\n * @param entity the existing DB entity to update\n * @param courseId the id of the course of the lecture unit\n * @throws BadRequestAlertException if a linked competency belongs to another course\n */\n // TODO: duplicated code, try to unify with ExerciseService.updateCompetencyLinks\n public void updateCompetencyLinks(CompetencyLinksHolderDTO dto, LectureUnit entity, long courseId) {\n if (competencyRepositoryApi.isEmpty()) {\n return;\n }\n if (dto.competencyLinks() == null) {\n // null means \"not provided\" — do not change existing links (PATCH semantics)\n // This is consistent with ExerciseService.updateCompetencyLinks\n return;\n }\n if (dto.competencyLinks().isEmpty()) {\n // empty set means \"remove all\" — clear existing links\n entity.getCompetencyLinks().clear();\n }\n else {\n // 1) Existing links indexed by competency id\n final var existingLinksByCompetencyId = entity.getCompetencyLinks().stream().collect(Collectors.toMap(link -> link.getCompetency().getId(), Function.identity()));\n\n // 2) New state of links (reusing existing ones where possible)\n Set updatedLinks = new HashSet<>();\n\n // TODO: think about optimizing this by loading all new competencies in a single query\n for (var dtoLink : dto.competencyLinks()) {\n long competencyId = dtoLink.competency().id();\n double weight = dtoLink.weight();\n\n var existingLink = existingLinksByCompetencyId.get(competencyId);\n if (existingLink != null) {\n // reuse managed entity, just update the weight\n existingLink.setWeight(weight);\n updatedLinks.add(existingLink);\n }\n else {\n // no existing link → create a new one\n var competency = competencyRepositoryApi.get().findCompetencyOrPrerequisiteByIdElseThrow(competencyId);\n if (competency.getCourse() == null || competency.getCourse().getId() != courseId) {\n throw new BadRequestAlertException(\"The competency does not belong to the course of the lecture unit\", \"lectureUnit\", \"competencyCourseMismatch\");\n }\n var newLink = new CompetencyLectureUnitLink(competency, entity, weight);\n\n updatedLinks.add(newLink);\n }\n }\n\n // 3) Replace the contents of the managed collection, NOT the collection itself\n entity.getCompetencyLinks().clear();\n entity.getCompetencyLinks().addAll(updatedLinks);\n }\n }\n\n}\n" +} diff --git a/web/public/bundles/artemis/code/7a14118657a4b52e0b162f5c61b8dde9b2dc0879.json b/web/public/bundles/artemis/code/7a14118657a4b52e0b162f5c61b8dde9b2dc0879.json new file mode 100644 index 00000000..9add24aa --- /dev/null +++ b/web/public/bundles/artemis/code/7a14118657a4b52e0b162f5c61b8dde9b2dc0879.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "7a14118657a4b52e0b162f5c61b8dde9b2dc0879", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionReviewCommentContextRendererService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.hyperion.service;\n\nimport java.util.ArrayList;\nimport java.util.Collection;\nimport java.util.Comparator;\nimport java.util.LinkedHashMap;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Objects;\nimport java.util.Set;\nimport java.util.function.Predicate;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.stereotype.Service;\n\nimport tools.jackson.core.JacksonException;\nimport tools.jackson.databind.json.JsonMapper;\n\nimport de.tum.cit.aet.artemis.exercise.domain.review.Comment;\nimport de.tum.cit.aet.artemis.exercise.domain.review.CommentThread;\nimport de.tum.cit.aet.artemis.exercise.domain.review.CommentThreadGroup;\nimport de.tum.cit.aet.artemis.exercise.domain.review.CommentThreadLocationType;\nimport de.tum.cit.aet.artemis.exercise.domain.review.CommentType;\nimport de.tum.cit.aet.artemis.exercise.dto.review.CommentContentDTO;\nimport de.tum.cit.aet.artemis.exercise.dto.review.ConsistencyIssueCommentContentDTO;\nimport de.tum.cit.aet.artemis.exercise.dto.review.UserCommentContentDTO;\nimport de.tum.cit.aet.artemis.exercise.repository.review.CommentThreadRepository;\nimport de.tum.cit.aet.artemis.hyperion.config.HyperionEnabled;\nimport de.tum.cit.aet.artemis.hyperion.dto.ExerciseGenerationFeedbackDTO;\nimport de.tum.cit.aet.artemis.programming.domain.RepositoryType;\n\n/**\n * Renders review threads into JSON for Hyperion prompts.\n *

\n * The output is deterministic for a given database state: every ordering is total and every limit is fixed, so the same exercise renders the same context twice and a prompt change\n * is the only thing that can move a result.\n */\n@Service\n@Lazy\n@Conditional(HyperionEnabled.class)\npublic class HyperionReviewCommentContextRendererService {\n\n private static final Comparator CHRONOLOGICAL_COMMENT_ORDER = Comparator.comparing(Comment::getCreatedDate, Comparator.nullsLast(Comparator.naturalOrder()))\n .thenComparing(Comment::getId, Comparator.nullsLast(Comparator.naturalOrder()));\n\n private static final Comparator NEWEST_FIRST_COMMENT_ORDER = Comparator.comparing(Comment::getCreatedDate, Comparator.nullsLast(Comparator.reverseOrder()))\n .thenComparing(Comment::getId, Comparator.nullsLast(Comparator.reverseOrder()));\n\n private static final Logger log = LoggerFactory.getLogger(HyperionReviewCommentContextRendererService.class);\n\n private static final int MAX_COMMENT_TEXT_LENGTH = 500;\n\n private static final int MAX_SERIALIZED_COMMENTS = 100;\n\n private static final int MAX_SELECTED_FEEDBACK_THREADS = 25;\n\n private static final String TRUNCATED_SUFFIX = \"... (truncated)\";\n\n private static final class RemainingSerializedComments {\n\n private int remainingComments;\n\n private RemainingSerializedComments(int remainingComments) {\n this.remainingComments = remainingComments;\n }\n\n private boolean exhausted() {\n return remainingComments <= 0;\n }\n\n private int remainingComments() {\n return remainingComments;\n }\n\n private void consume(int consumedComments) {\n remainingComments -= consumedComments;\n }\n }\n\n private final CommentThreadRepository commentThreadRepository;\n\n private final JsonMapper objectMapper;\n\n public HyperionReviewCommentContextRendererService(CommentThreadRepository commentThreadRepository, JsonMapper objectMapper) {\n this.commentThreadRepository = commentThreadRepository;\n this.objectMapper = objectMapper;\n }\n\n /**\n * Serializes the exercise's earlier consistency-check findings so a new check can avoid repeating them.\n *

\n * A thread counts as a finding only when its first comment is a consistency-check comment; the instructor's replies to it are the discussion, not the finding, and are\n * left out. Newest threads are serialized first so that the budget, when it runs out, drops the oldest findings.\n *\n * @param exerciseId the exercise whose threads to serialize\n * @return a JSON object with a {@code threads} array, empty when there is nothing to report\n */\n public String renderReviewThreads(long exerciseId) {\n Set threads = commentThreadRepository.findWithCommentsAndGroupByExerciseId(exerciseId);\n if (threads.isEmpty()) {\n return \"{\\\"threads\\\":[]}\";\n }\n List> serializedThreads = new ArrayList<>();\n List sortedThreads = threads.stream().sorted(Comparator.comparing(CommentThread::getId, Comparator.nullsLast(Comparator.reverseOrder()))).toList();\n int serializedCommentCount = 0;\n for (CommentThread thread : sortedThreads) {\n if (serializedCommentCount >= MAX_SERIALIZED_COMMENTS) {\n break;\n }\n\n Set comments = thread.getComments();\n if (comments == null || comments.isEmpty()) {\n continue;\n }\n Comment firstComment = comments.stream().min(CHRONOLOGICAL_COMMENT_ORDER).orElse(null);\n if (firstComment == null) {\n continue;\n }\n if (firstComment.getType() != CommentType.CONSISTENCY_CHECK) {\n continue;\n }\n\n Map serializedThread = new LinkedHashMap<>();\n serializedThread.put(\"targetType\", thread.getTargetType() != null ? thread.getTargetType().name() : null);\n serializedThread.put(\"filePath\", thread.getFilePath() != null ? thread.getFilePath() : thread.getInitialFilePath());\n serializedThread.put(\"lineNumber\", thread.getLineNumber() != null ? thread.getLineNumber() : thread.getInitialLineNumber());\n serializedThread.put(\"resolved\", thread.isResolved());\n serializedThread.put(\"outdated\", thread.isOutdated());\n CommentThreadGroup group = thread.getGroup();\n serializedThread.put(\"groupId\", group != null ? group.getId() : null);\n\n List> serializedComments = new ArrayList<>(1);\n Map serializedComment = new LinkedHashMap<>();\n serializedComment.put(\"type\", firstComment.getType().name());\n serializedComment.put(\"text\", extractCommentText(firstComment.getContent()));\n serializedComments.add(serializedComment);\n serializedCommentCount++;\n serializedThread.put(\"comments\", serializedComments);\n serializedThreads.add(serializedThread);\n }\n\n Map payload = new LinkedHashMap<>();\n payload.put(\"threads\", serializedThreads);\n try {\n return objectMapper.writeValueAsString(payload);\n }\n catch (JacksonException e) {\n log.warn(\"Failed to serialize existing review threads for exercise {}\", exerciseId, e);\n return \"{\\\"threads\\\":[]}\";\n }\n }\n\n /**\n * Serializes the instructor-selected feedback that applies to one repository, dropping threads that point at a different repository or have already been resolved.\n *\n * @param exerciseId the exercise the threads belong to\n * @param repositoryType the repository currently being generated\n * @param threadIds the thread ids the instructor selected\n * @return a JSON object naming the repository and its selected threads\n */\n public String renderCodeGenerationSelectedFeedback(long exerciseId, RepositoryType repositoryType, Collection threadIds) {\n Map payload = new LinkedHashMap<>();\n payload.put(\"repositoryType\", repositoryType != null ? repositoryType.name() : null);\n\n if (repositoryType == null || threadIds == null || threadIds.isEmpty()) {\n payload.put(\"threads\", List.of());\n return serializePayload(payload, exerciseId);\n }\n\n CommentThreadLocationType targetType = mapRepositoryTypeToThreadLocationType(repositoryType);\n if (targetType == null) {\n payload.put(\"threads\", List.of());\n return serializePayload(payload, exerciseId);\n }\n\n payload.put(\"threads\", serializeSelectedThreads(exerciseId, threadIds, thread -> thread.getTargetType() == targetType && !thread.isResolved() && !thread.isOutdated()));\n return serializePayload(payload, exerciseId);\n }\n\n /**\n * Serializes the selected threads the {@code activeFilter} admits, in the order the instructor selected them, until the comment budget runs out. Selection order is preserved\n * through the database round-trip, which returns them in its own order, so the instructor's priority survives the budget cut-off.\n */\n private List> serializeSelectedThreads(long exerciseId, Collection threadIds, Predicate activeFilter) {\n List orderedThreadIds = threadIds.stream().filter(Objects::nonNull).distinct().limit(MAX_SELECTED_FEEDBACK_THREADS).toList();\n if (orderedThreadIds.isEmpty()) {\n return List.of();\n }\n Map threadOrder = new LinkedHashMap<>();\n for (int index = 0; index < orderedThreadIds.size(); index++) {\n threadOrder.put(orderedThreadIds.get(index), index);\n }\n RemainingSerializedComments remainingSerializedComments = new RemainingSerializedComments(MAX_SERIALIZED_COMMENTS);\n List> serializedThreads = new ArrayList<>();\n List selectedThreads = commentThreadRepository.findWithCommentsByExerciseIdAndIdIn(exerciseId, orderedThreadIds).stream().filter(activeFilter)\n .sorted(Comparator.comparing(thread -> threadOrder.getOrDefault(thread.getId(), Integer.MAX_VALUE))).toList();\n for (CommentThread thread : selectedThreads) {\n if (remainingSerializedComments.exhausted()) {\n break;\n }\n Map serializedThread = serializeSelectedFeedbackThread(thread, remainingSerializedComments);\n if (serializedThread != null) {\n serializedThreads.add(serializedThread);\n }\n }\n return serializedThreads;\n }\n\n /**\n * Renders the instructor-selected feedback across all repositories of the exercise as an instruction block for an adaptation run.\n *\n * @param exerciseId the exercise the threads belong to\n * @param threadIds the thread ids the instructor selected\n * @return the worker instruction block and the same bounded feedback snapshot for owner-only replay\n */\n public SelectedFeedback captureWholeExerciseSelectedFeedback(long exerciseId, Collection threadIds) {\n if (threadIds == null || threadIds.isEmpty()) {\n return new SelectedFeedback(\"\", List.of());\n }\n List> threads = serializeSelectedThreads(exerciseId, threadIds, thread -> !thread.isResolved() && !thread.isOutdated());\n if (threads.isEmpty()) {\n return new SelectedFeedback(\"\", List.of());\n }\n String prompt = \"Address the following selected instructor review feedback (each thread points at a file/line in one of the repositories). Apply the requested change for every \"\n + \"thread while keeping the rest of the exercise intact:\\n\" + serializePayload(Map.of(\"threads\", threads), exerciseId);\n List feedback = threads.stream().map(thread -> {\n List texts = new ArrayList<>();\n if (thread.get(\"comments\") instanceof List comments) {\n for (Object entry : comments) {\n if (entry instanceof Map comment && comment.get(\"text\") instanceof String text) {\n texts.add(text);\n }\n }\n }\n return new ExerciseGenerationFeedbackDTO((String) thread.get(\"targetType\"), (String) thread.get(\"filePath\"), (Integer) thread.get(\"lineNumber\"), texts);\n }).toList();\n return new SelectedFeedback(prompt, feedback);\n }\n\n /** The model instruction and its owner-visible review snapshot. */\n public record SelectedFeedback(String prompt, List feedback) {\n }\n\n private String extractCommentText(CommentContentDTO content) {\n if (content == null) {\n return \"\";\n }\n if (content instanceof UserCommentContentDTO userContent) {\n return truncateText(sanitizeAndNormalizeText(userContent.text()));\n }\n if (content instanceof ConsistencyIssueCommentContentDTO consistencyContent) {\n String severity = consistencyContent.severity() != null ? consistencyContent.severity().name() : \"UNKNOWN\";\n String category = consistencyContent.category() != null ? consistencyContent.category().name() : \"UNKNOWN\";\n String prefix = \"[\" + severity + \"/\" + category + \"] \";\n return truncateText(prefix + sanitizeAndNormalizeText(consistencyContent.text()));\n }\n return truncateText(sanitizeAndNormalizeText(content.toString()));\n }\n\n /** Returns {@code null} rather than an empty payload for a thread that contributes no comments, so the caller can leave it out of the array entirely. */\n private Map serializeSelectedFeedbackThread(CommentThread thread, RemainingSerializedComments remainingSerializedComments) {\n if (!hasSerializableComments(thread, remainingSerializedComments)) {\n return null;\n }\n\n List> serializedComments = serializeThreadComments(thread, remainingSerializedComments.remainingComments());\n if (serializedComments.isEmpty()) {\n return null;\n }\n remainingSerializedComments.consume(serializedComments.size());\n\n return createSerializedThreadPayload(thread, serializedComments);\n }\n\n private boolean hasSerializableComments(CommentThread thread, RemainingSerializedComments remainingSerializedComments) {\n return thread != null && remainingSerializedComments != null && !remainingSerializedComments.exhausted() && thread.getComments() != null && !thread.getComments().isEmpty();\n }\n\n /** Newest comments win the budget, but the survivors are handed over in the order they were written, because a discussion only reads correctly forwards. */\n private List> serializeThreadComments(CommentThread thread, int remainingCommentBudget) {\n return thread.getComments().stream().sorted(NEWEST_FIRST_COMMENT_ORDER).limit(remainingCommentBudget).sorted(CHRONOLOGICAL_COMMENT_ORDER)\n .map(this::createSerializedCommentPayload).toList();\n }\n\n private Map createSerializedCommentPayload(Comment comment) {\n Map serializedComment = new LinkedHashMap<>();\n serializedComment.put(\"type\", comment.getType() != null ? comment.getType().name() : null);\n serializedComment.put(\"text\", extractCommentText(comment.getContent()));\n return serializedComment;\n }\n\n private Map createSerializedThreadPayload(CommentThread thread, List> serializedComments) {\n Map serializedThread = new LinkedHashMap<>();\n serializedThread.put(\"id\", thread.getId());\n serializedThread.put(\"targetType\", thread.getTargetType() != null ? thread.getTargetType().name() : null);\n serializedThread.put(\"filePath\", thread.getFilePath() != null ? thread.getFilePath() : thread.getInitialFilePath());\n serializedThread.put(\"lineNumber\", thread.getLineNumber() != null ? thread.getLineNumber() : thread.getInitialLineNumber());\n serializedThread.put(\"comments\", serializedComments);\n return serializedThread;\n }\n\n /** Returns {@code null} for a repository that review threads cannot point at, which means no selected thread can apply to it. */\n private CommentThreadLocationType mapRepositoryTypeToThreadLocationType(RepositoryType repositoryType) {\n return switch (repositoryType) {\n case TEMPLATE -> CommentThreadLocationType.TEMPLATE_REPO;\n case SOLUTION -> CommentThreadLocationType.SOLUTION_REPO;\n case TESTS -> CommentThreadLocationType.TEST_REPO;\n default -> null;\n };\n }\n\n /** Falls back to an empty thread list: prompt context is an optimisation, and failing to render it must not fail the generation or check that asked for it. */\n private String serializePayload(Map payload, long exerciseId) {\n try {\n return objectMapper.writeValueAsString(payload);\n }\n catch (JacksonException e) {\n log.warn(\"Failed to serialize review-thread prompt context for exercise {}\", exerciseId, e);\n return \"{\\\"threads\\\":[]}\";\n }\n }\n\n private String sanitizeAndNormalizeText(String text) {\n return normalizeWhitespace(HyperionUtils.sanitizeInput(text));\n }\n\n /**\n * Normalizes line endings and trims. Line breaks are kept as they are: the JSON serializer escapes them for the model payload, and the owner-visible snapshot\n * renders them as the instructor wrote them. Escaping them here would show a literal backslash-n in both.\n */\n private String normalizeWhitespace(String text) {\n if (text == null || text.isBlank()) {\n return \"\";\n }\n return text.replace(\"\\r\\n\", \"\\n\").replace('\\r', '\\n').trim();\n }\n\n private String truncateText(String text) {\n if (text == null || text.isEmpty()) {\n return \"\";\n }\n if (text.length() <= MAX_COMMENT_TEXT_LENGTH) {\n return text;\n }\n int maxPrefixLength = MAX_COMMENT_TEXT_LENGTH - TRUNCATED_SUFFIX.length();\n return text.substring(0, maxPrefixLength) + TRUNCATED_SUFFIX;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/7a1aa4d44e8988352f2f3fd85919c67692d08238.json b/web/public/bundles/artemis/code/7a1aa4d44e8988352f2f3fd85919c67692d08238.json new file mode 100644 index 00000000..a44b9bfd --- /dev/null +++ b/web/public/bundles/artemis/code/7a1aa4d44e8988352f2f3fd85919c67692d08238.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "7a1aa4d44e8988352f2f3fd85919c67692d08238", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/api/IrisLectureUnitSyncApi.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.iris.api;\n\nimport java.util.List;\n\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.stereotype.Controller;\n\nimport de.tum.cit.aet.artemis.iris.api.dtos.LectureUnitSyncOutcome;\nimport de.tum.cit.aet.artemis.iris.config.IrisEnabled;\nimport de.tum.cit.aet.artemis.iris.service.pyris.PyrisLectureUnitSyncService;\nimport de.tum.cit.aet.artemis.lecture.domain.AttachmentVideoUnit;\nimport de.tum.cit.aet.artemis.lecture.domain.Slide;\n\n@Conditional(IrisEnabled.class)\n@Controller\n@Lazy\npublic class IrisLectureUnitSyncApi extends AbstractIrisApi {\n\n private final PyrisLectureUnitSyncService pyrisLectureUnitSyncService;\n\n public IrisLectureUnitSyncApi(PyrisLectureUnitSyncService pyrisLectureUnitSyncService) {\n this.pyrisLectureUnitSyncService = pyrisLectureUnitSyncService;\n }\n\n /**\n * Updates lightweight lecture unit metadata in Pyris without sending PDF or transcription payloads.\n *\n * @param attachmentVideoUnit the attachment video unit whose metadata changed\n * @return what became of the update\n */\n public LectureUnitSyncOutcome updateLectureUnitMetadataInPyris(AttachmentVideoUnit attachmentVideoUnit) {\n return pyrisLectureUnitSyncService.updateLectureUnitMetadataInPyris(attachmentVideoUnit);\n }\n\n /**\n * Updates lightweight lecture unit visibility in Pyris without sending PDF or transcription payloads.\n *\n * @param attachmentVideoUnit the attachment video unit whose visibility changed\n * @param slides all slides belonging to the lecture unit\n * @return what became of the update\n */\n public LectureUnitSyncOutcome updateLectureUnitVisibilityInPyris(AttachmentVideoUnit attachmentVideoUnit, List slides) {\n return pyrisLectureUnitSyncService.updateLectureUnitVisibilityInPyris(attachmentVideoUnit, slides);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/7ad127fe081102c406c734e7f761b357c78010b5.json b/web/public/bundles/artemis/code/7ad127fe081102c406c734e7f761b357c78010b5.json new file mode 100644 index 00000000..ecd24e01 --- /dev/null +++ b/web/public/bundles/artemis/code/7ad127fe081102c406c734e7f761b357c78010b5.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "7ad127fe081102c406c734e7f761b357c78010b5", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/ParticipationBuildTriggerDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.programming.dto;\n\nimport java.time.ZonedDateTime;\n\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.exercise.domain.InitializationState;\nimport de.tum.cit.aet.artemis.exercise.domain.SubmissionType;\nimport de.tum.cit.aet.artemis.exercise.domain.Team;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingExercise;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingExerciseStudentParticipation;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingSubmission;\n\n/**\n * Everything a build trigger reads off a student participation and its newest submission, and nothing else.\n *

\n * Loading the participation entities instead makes the database resolve their eager associations: one full user row per\n * participation, including the password hash and the VCS access token, none of which a build trigger looks at. For an\n * exercise with a thousand participations that is a thousand extra round trips on top of the one that fetched the\n * participations. This projection is a single query and about a third of the bytes.\n *\n * @param participationId the participation to build\n * @param repositoryUri the assignment repository to check out\n * @param buildPlanId the build plan of the participation, null if the exercise was never initialized for it\n * @param branch the branch of the assignment repository\n * @param initializationState how far the participation was initialized, which decides whether it has to be resumed\n * @param individualDueDate the participation's own due date, null when only the exercise-wide one applies\n * @param testRun whether the participation belongs to an exam test run or to practice mode\n * @param studentId the owning student, null for a team participation\n * @param studentLogin the login of the owning student, used to address the websocket message\n * @param teamId the owning team, null for an individual participation\n * @param submissionId the newest submission of the participation\n * @param submissionType how the newest submission came to be\n * @param submissionDate when the newest submission was made\n * @param commitHash the commit the newest submission points at\n * @param submitted whether the newest submission was submitted\n * @param buildFailed whether the build of the newest submission failed\n * @param exampleSubmission whether the newest submission is an example submission\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record ParticipationBuildTriggerDTO(long participationId, @Nullable String repositoryUri, @Nullable String buildPlanId, @Nullable String branch,\n @Nullable InitializationState initializationState, @Nullable ZonedDateTime individualDueDate, @Nullable Boolean testRun, @Nullable Long studentId,\n @Nullable String studentLogin, @Nullable Long teamId, long submissionId, @Nullable SubmissionType submissionType, @Nullable ZonedDateTime submissionDate,\n @Nullable String commitHash, @Nullable Boolean submitted, @Nullable Boolean buildFailed, @Nullable Boolean exampleSubmission) {\n\n /**\n * Whether the participation has to be resumed before its build can be triggered, which is the case when the\n * exercise was never initialized for it or its build plan was cleaned up in the meantime.\n *\n * @return true if the participation needs to be resumed first\n */\n public boolean needsResume() {\n return buildPlanId == null || initializationState == null || !initializationState.hasCompletedState(InitializationState.INITIALIZED);\n }\n\n /**\n * Builds the detached participation the build trigger works on, carrying its newest submission and the exercise the\n * caller loaded once for the whole batch.\n *

\n * Only the fields the trigger path reads are set, which is the point of the projection: the participation's own\n * columns, the login of the owning student, the id of the owning team, and the newest submission. A team is set\n * with its id alone because the notification reloads it with its students, which is what the entity based path did\n * as well.\n *

\n * The result is never passed to a repository. A participation that has to be resumed is written back to the\n * database, and {@link #needsResume()} identifies those so that the caller can load the real entity for them\n * instead.\n *\n * @param exercise the exercise of the participation, loaded with the associations the trigger reads off it\n * @return a detached participation holding the trigger inputs of this projection\n */\n public ProgrammingExerciseStudentParticipation toDetachedParticipation(ProgrammingExercise exercise) {\n var participation = new ProgrammingExerciseStudentParticipation();\n participation.setId(participationId);\n participation.setRepositoryUri(repositoryUri);\n participation.setBuildPlanId(buildPlanId);\n participation.setBranch(branch);\n participation.setInitializationState(initializationState);\n participation.setIndividualDueDate(individualDueDate);\n participation.setTestRun(testRun != null && testRun);\n participation.setProgrammingExercise(exercise);\n if (studentId != null) {\n var student = new User();\n student.setId(studentId);\n student.setLogin(studentLogin);\n participation.setParticipant(student);\n }\n else if (teamId != null) {\n var team = new Team();\n team.setId(teamId);\n participation.setParticipant(team);\n }\n participation.addSubmission(toDetachedSubmission());\n return participation;\n }\n\n private ProgrammingSubmission toDetachedSubmission() {\n var submission = new ProgrammingSubmission();\n submission.setId(submissionId);\n submission.setType(submissionType);\n submission.setSubmissionDate(submissionDate);\n submission.setCommitHash(commitHash);\n // Nullable in the database and nullable on the entity, so they are passed through rather than coerced: the\n // websocket payload omits them when they are null and would otherwise start carrying false.\n submission.setSubmitted(submitted);\n submission.setExampleSubmission(exampleSubmission);\n submission.setBuildFailed(buildFailed != null && buildFailed);\n // Participation.addSubmission sets the back reference.\n return submission;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/7b9f3152191d41a393adedfd760b452d84ce9bf2.json b/web/public/bundles/artemis/code/7b9f3152191d41a393adedfd760b452d84ce9bf2.json new file mode 100644 index 00000000..cd79da2a --- /dev/null +++ b/web/public/bundles/artemis/code/7b9f3152191d41a393adedfd760b452d84ce9bf2.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "7b9f3152191d41a393adedfd760b452d84ce9bf2", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/IExerciseLifecycle.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exercise.domain;\n\nimport java.time.ZonedDateTime;\n\nimport de.tum.cit.aet.artemis.quiz.domain.QuizBatch;\nimport de.tum.cit.aet.artemis.quiz.domain.QuizExercise;\n\npublic interface IExerciseLifecycle {\n\n ZonedDateTime getDateFromExercise(Exercise exercise);\n\n ZonedDateTime getDateFromQuizBatch(QuizBatch quizBatch, QuizExercise quizExercise);\n}\n" +} diff --git a/web/public/bundles/artemis/code/7cf3972ea005b0969ceba37dc2a710e94250169c.json b/web/public/bundles/artemis/code/7cf3972ea005b0969ceba37dc2a710e94250169c.json new file mode 100644 index 00000000..1a73212c --- /dev/null +++ b/web/public/bundles/artemis/code/7cf3972ea005b0969ceba37dc2a710e94250169c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "7cf3972ea005b0969ceba37dc2a710e94250169c", + "language": "typescript", + "path": "src/main/webapp/app/calendar/shared/calendar-event-detail-popover-component/calendar-event-detail-popover.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, computed, signal, viewChild } from '@angular/core';\nimport { CalendarEventTypeEnum } from 'app/openapi/model/calendar-event';\nimport { TumAetUiButtonDirective } from '@tumaet/ui-angular/button';\nimport { TumAetUiPopoverComponent } from '@tumaet/ui-angular/popover';\nimport { IconProp } from '@fortawesome/fontawesome-svg-core';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { faClock, faLocationDot, faUser, faXmark } from '@fortawesome/free-solid-svg-icons';\nimport * as utils from 'app/calendar/shared/util/calendar-util';\nimport { IdentifiableCalendarEvent } from 'app/calendar/shared/entities/calendar-event.model';\n\ninterface EventData {\n title: string;\n icon: IconProp;\n eventTypeNameKey: string;\n time: string;\n location?: string;\n facilitator?: string;\n}\n\n@Component({\n selector: 'jhi-calendar-event-detail-popover-component',\n imports: [TumAetUiButtonDirective, TumAetUiPopoverComponent, TranslateDirective, ArtemisTranslatePipe, FaIconComponent],\n templateUrl: './calendar-event-detail-popover.component.html',\n})\nexport class CalendarEventDetailPopoverComponent {\n private static EVENT_TYPE_NAME_KEY_MAP: Record = {\n ['LECTURE']: 'artemisApp.calendar.eventTypeName.lecture',\n ['TUTORIAL']: 'artemisApp.calendar.eventTypeName.tutorial',\n ['EXAM']: 'artemisApp.calendar.eventTypeName.exam',\n ['QUIZ_EXERCISE']: 'artemisApp.calendar.eventTypeName.quiz',\n ['TEXT_EXERCISE']: 'artemisApp.calendar.eventTypeName.text',\n ['MODELING_EXERCISE']: 'artemisApp.calendar.eventTypeName.modeling',\n ['PROGRAMMING_EXERCISE']: 'artemisApp.calendar.eventTypeName.programming',\n ['FILE_UPLOAD_EXERCISE']: 'artemisApp.calendar.eventTypeName.fileUpload',\n };\n\n readonly faXmark = faXmark;\n readonly faClock = faClock;\n readonly faUser = faUser;\n readonly faLocationDot = faLocationDot;\n\n event = signal(undefined);\n eventData = computed(() => this.computeEventData());\n popover = viewChild('popover');\n isOpen = signal(false);\n\n open(mouseEvent: MouseEvent, event: IdentifiableCalendarEvent) {\n const popover = this.popover();\n const origin = mouseEvent.currentTarget;\n if (popover && origin instanceof HTMLElement && !this.isOpen()) {\n this.event.set(event);\n popover.open(origin);\n }\n }\n\n close() {\n this.popover()?.close();\n }\n\n onOpenChange(isOpen: boolean) {\n this.isOpen.set(isOpen);\n if (!isOpen) {\n this.event.set(undefined);\n }\n }\n\n private computeEventData(): EventData | undefined {\n const event = this.event();\n if (!event) {\n return undefined;\n }\n return {\n title: event.title,\n icon: utils.getIconForEventType(event.type),\n eventTypeNameKey: CalendarEventDetailPopoverComponent.EVENT_TYPE_NAME_KEY_MAP[event.type],\n time: event.endDate ? `${event.startDate.format('HH:mm')}-${event.endDate.format('HH:mm')}` : String(event.startDate.format('HH:mm')),\n location: event.location,\n facilitator: event.facilitator,\n };\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/7d062dcd08c45086300ae95d0812dbf315230fb9.json b/web/public/bundles/artemis/code/7d062dcd08c45086300ae95d0812dbf315230fb9.json new file mode 100644 index 00000000..a95cfb54 --- /dev/null +++ b/web/public/bundles/artemis/code/7d062dcd08c45086300ae95d0812dbf315230fb9.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "7d062dcd08c45086300ae95d0812dbf315230fb9", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/config/AthenaHealthIndicator.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.athena.config;\n\nimport java.util.HashMap;\nimport java.util.Map;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.beans.factory.annotation.Qualifier;\nimport org.springframework.beans.factory.annotation.Value;\nimport org.springframework.boot.health.contributor.Health;\nimport org.springframework.boot.health.contributor.HealthIndicator;\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.stereotype.Component;\nimport org.springframework.web.client.RestClient;\n\nimport tools.jackson.databind.json.JsonMapper;\n\nimport de.tum.cit.aet.artemis.core.service.connectors.ConnectorHealth;\n\n/**\n * Service determining the health of the Athena service and its assessment modules.\n */\n@Component\n@Lazy\n@Conditional(AthenaEnabled.class)\npublic class AthenaHealthIndicator implements HealthIndicator {\n\n private static final Logger log = LoggerFactory.getLogger(AthenaHealthIndicator.class);\n\n private static final String GREEN_CIRCLE = \"\\uD83D\\uDFE2\"; // unicode green circle 🟢\n\n private static final String RED_CIRCLE = \"\\uD83D\\uDD34\"; // unicode red circle 🔴\n\n private static final String ATHENA_URL_KEY = \"url\";\n\n private static final String ATHENA_ASSESSMENT_MODULE_MANAGER_KEY = \"assessment module manager\";\n\n private final RestClient shortTimeoutRestClient;\n\n private final JsonMapper objectMapper;\n\n @Value(\"${artemis.athena.url}\")\n private String athenaUrl;\n\n public AthenaHealthIndicator(@Qualifier(\"shortTimeoutAthenaRestClient\") RestClient shortTimeoutRestClient, JsonMapper objectMapper) {\n this.shortTimeoutRestClient = shortTimeoutRestClient;\n this.objectMapper = objectMapper;\n }\n\n private record AthenaModuleHealth(String exerciseType, boolean healthy, String url) {\n }\n\n private static String moduleHealthToString(AthenaModuleHealth moduleHealth) {\n var healthString = moduleHealth.healthy ? GREEN_CIRCLE : RED_CIRCLE;\n healthString += \" \" + moduleHealth.url + \" (\" + moduleHealth.exerciseType + \")\";\n return healthString;\n }\n\n /**\n * Ping Athena at /health and check if the service is available.\n */\n @Override\n public Health health() {\n var additionalInfo = new HashMap();\n additionalInfo.put(ATHENA_URL_KEY, athenaUrl);\n ConnectorHealth health;\n try {\n // The response is read as a String and deserialized here with the injected mapper, which does not depend on the converters of the client.\n final var responseBody = shortTimeoutRestClient.get().uri(athenaUrl + \"/health\").retrieve().body(String.class);\n final var healthResponse = responseBody != null ? objectMapper.readValue(responseBody, AthenaHealthResponse.class) : null;\n final var athenaStatus = healthResponse != null ? healthResponse.status() : null;\n\n if (athenaStatus != null) {\n additionalInfo.put(ATHENA_ASSESSMENT_MODULE_MANAGER_KEY, athenaStatus);\n additionalInfo.putAll(getAdditionalInfoForModules(healthResponse));\n }\n else {\n additionalInfo.put(ATHENA_ASSESSMENT_MODULE_MANAGER_KEY, \"not available\");\n }\n health = new ConnectorHealth(\"ok\".equals(athenaStatus), additionalInfo);\n }\n catch (Exception ex) {\n log.warn(\"Failed to check Athena health\", ex);\n health = new ConnectorHealth(false, additionalInfo, ex);\n }\n\n return health.asOptionalActuatorHealth();\n }\n\n /**\n * Get additional information about the health of the assessment modules.\n */\n private Map getAdditionalInfoForModules(AthenaHealthResponse athenaHealthResponse) {\n var additionalModuleInfo = new HashMap();\n var modules = athenaHealthResponse.modules();\n modules.forEach((moduleName, descriptionMap) -> {\n var moduleHealth = new AthenaModuleHealth(descriptionMap.type(), descriptionMap.healthy(), descriptionMap.url());\n additionalModuleInfo.put(moduleName, moduleHealthToString(moduleHealth));\n });\n return additionalModuleInfo;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/7d9959c32e32fd8f77e5b21e654f0c8312924dc7.json b/web/public/bundles/artemis/code/7d9959c32e32fd8f77e5b21e654f0c8312924dc7.json new file mode 100644 index 00000000..00784b8e --- /dev/null +++ b/web/public/bundles/artemis/code/7d9959c32e32fd8f77e5b21e654f0c8312924dc7.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "7d9959c32e32fd8f77e5b21e654f0c8312924dc7", + "language": "typescript", + "path": "src/main/webapp/app/fileupload/overview/file-upload-participation.route.ts", + "schema": "codexray.code/1", + "text": "import { Routes } from '@angular/router';\nimport { UserRouteAccessService } from 'app/core/auth/user-route-access-service';\nimport { IS_AT_LEAST_STUDENT } from 'app/foundation/constants/authority.constants';\nimport { PendingChangesGuard } from 'app/foundation/guard/pending-changes.guard';\n\nexport const fileUploadParticipationRoute: Routes = [\n {\n path: 'participate/:participationId',\n loadComponent: () => import('./file-upload-submission/file-upload-submission.component').then((m) => m.FileUploadSubmissionComponent),\n data: {\n authorities: IS_AT_LEAST_STUDENT,\n pageTitle: 'overview.exercises',\n },\n canActivate: [UserRouteAccessService],\n canDeactivate: [PendingChangesGuard],\n },\n];\n" +} diff --git a/web/public/bundles/artemis/code/7ed496226a4fd922bd173ea51bee3fdaaac32a3f.json b/web/public/bundles/artemis/code/7ed496226a4fd922bd173ea51bee3fdaaac32a3f.json new file mode 100644 index 00000000..96852985 --- /dev/null +++ b/web/public/bundles/artemis/code/7ed496226a4fd922bd173ea51bee3fdaaac32a3f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "7ed496226a4fd922bd173ea51bee3fdaaac32a3f", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/dto/TutorSuggestionStatusUpdateDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.iris.service.pyris.dto;\n\nimport java.util.List;\n\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.admin.domain.LLMRequest;\nimport de.tum.cit.aet.artemis.iris.service.pyris.dto.status.PyrisRunState;\nimport de.tum.cit.aet.artemis.iris.service.pyris.dto.status.PyrisStatusErrorDTO;\n\n/***\n * This class represents the status update of a tutor suggestion.\n *\n * @param artifact Generated tutor suggestion\n * @param result Possible chat answer\n * @param runState current pipeline run state\n * @param error optional error details\n * @param tokens tokens used for the suggestion\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record TutorSuggestionStatusUpdateDTO(String artifact, String result, PyrisRunState runState, @Nullable PyrisStatusErrorDTO error, List tokens) {\n}\n" +} diff --git a/web/public/bundles/artemis/code/7f184a21acbba585a8345fa8c00b160957078515.json b/web/public/bundles/artemis/code/7f184a21acbba585a8345fa8c00b160957078515.json new file mode 100644 index 00000000..7c753738 --- /dev/null +++ b/web/public/bundles/artemis/code/7f184a21acbba585a8345fa8c00b160957078515.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "7f184a21acbba585a8345fa8c00b160957078515", + "language": "typescript", + "path": "src/main/webapp/app/lecture/manage/services/lecture-paging.service.ts", + "schema": "codexray.code/1", + "text": "import { Service, inject } from '@angular/core';\nimport { Lecture } from 'app/lecture/shared/entities/lecture.model';\nimport { PagingService } from 'app/exercise/services/paging.service';\nimport { SearchResult, SearchTermPageableSearch } from 'app/foundation/pagination/pageable-table';\nimport { Observable, map } from 'rxjs';\nimport { LectureApi } from 'app/openapi/api/lecture-api';\nimport { toLecture } from 'app/lecture/shared/util/generated-lecture.util';\n\n@Service()\nexport class LecturePagingService extends PagingService {\n private readonly lectureApi = inject(LectureApi);\n\n override search(pageable: SearchTermPageableSearch): Observable> {\n return this.lectureApi.getAllLecturesOnPage(pageable.page, pageable.pageSize, pageable.sortingOrder, pageable.sortedColumn, pageable.searchTerm).pipe(\n map((page) => ({\n resultsOnPage: (page.resultsOnPage ?? []).map(toLecture),\n numberOfPages: page.numberOfPages ?? 0,\n })),\n );\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/7f96ccf7a5a682bf00d1c1ca51ef42dd84928659.json b/web/public/bundles/artemis/code/7f96ccf7a5a682bf00d1c1ca51ef42dd84928659.json new file mode 100644 index 00000000..2b87392a --- /dev/null +++ b/web/public/bundles/artemis/code/7f96ccf7a5a682bf00d1c1ca51ef42dd84928659.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "7f96ccf7a5a682bf00d1c1ca51ef42dd84928659", + "language": "typescript", + "path": "src/main/webapp/app/programming/manage/code-editor/code-editor-management-routes.ts", + "schema": "codexray.code/1", + "text": "import { Routes } from '@angular/router';\n\nimport { UserRouteAccessService } from 'app/core/auth/user-route-access-service';\nimport { IS_AT_LEAST_EDITOR } from 'app/foundation/constants/authority.constants';\n\nexport const codeEditorManagementRoutes: Routes = [\n {\n path: 'ide/test',\n loadComponent: () =>\n import('app/programming/manage/code-editor/instructor-and-editor-container/code-editor-instructor-and-editor-container.component').then(\n (m) => m.CodeEditorInstructorAndEditorContainerComponent,\n ),\n data: {\n authorities: IS_AT_LEAST_EDITOR,\n pageTitle: 'artemisApp.editor.home.title',\n },\n canActivate: [UserRouteAccessService],\n },\n {\n path: 'ide/:repositoryId',\n loadComponent: () =>\n import('app/programming/manage/code-editor/instructor-and-editor-container/code-editor-instructor-and-editor-container.component').then(\n (m) => m.CodeEditorInstructorAndEditorContainerComponent,\n ),\n data: {\n authorities: IS_AT_LEAST_EDITOR,\n pageTitle: 'artemisApp.editor.home.title',\n },\n canActivate: [UserRouteAccessService],\n },\n {\n // The editable code of the participation of a student, opened from the participations page. It has to precede the route below,\n // which would take \"participations\" for a repository type. The editor of the exercise page cannot show it, as that page always\n // shows the participation of the viewer. `fullPageEditor` makes the editor bring the instructions that page shows next to it.\n path: 'participations/:participationId',\n loadComponent: () =>\n import('app/programming/overview/code-editor-student-container/code-editor-student-container.component').then((m) => m.CodeEditorStudentContainerComponent),\n data: {\n authorities: IS_AT_LEAST_EDITOR,\n pageTitle: 'artemisApp.editor.home.title',\n fullPageEditor: true,\n },\n canActivate: [UserRouteAccessService],\n },\n {\n path: ':repositoryType/:repositoryId',\n loadComponent: () =>\n import('app/programming/manage/code-editor/instructor-and-editor-container/code-editor-instructor-and-editor-container.component').then(\n (m) => m.CodeEditorInstructorAndEditorContainerComponent,\n ),\n data: {\n authorities: IS_AT_LEAST_EDITOR,\n pageTitle: 'artemisApp.editor.home.title',\n },\n canActivate: [UserRouteAccessService],\n },\n];\n" +} diff --git a/web/public/bundles/artemis/code/7f9d60b6c3dcaf31e652c3d11784310efa65af2f.json b/web/public/bundles/artemis/code/7f9d60b6c3dcaf31e652c3d11784310efa65af2f.json new file mode 100644 index 00000000..4c317604 --- /dev/null +++ b/web/public/bundles/artemis/code/7f9d60b6c3dcaf31e652c3d11784310efa65af2f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "7f9d60b6c3dcaf31e652c3d11784310efa65af2f", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/LocalVCAgentTokenService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.localvc.service;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PERSONAL_ACCESS_TOKEN_PREFIX;\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_LOCALVC;\n\nimport java.util.Optional;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.account.service.PersonalAccessTokenService;\nimport de.tum.cit.aet.artemis.core.security.allowedScopes.AgentScope;\nimport de.tum.cit.aet.artemis.core.security.allowedScopes.PersonalAccessTokenAuthentication;\nimport de.tum.cit.aet.artemis.core.service.AuthorizationCheckService;\nimport de.tum.cit.aet.artemis.localvc.exception.LocalVCAuthException;\nimport de.tum.cit.aet.artemis.localvc.exception.LocalVCForbiddenException;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingExercise;\nimport de.tum.cit.aet.artemis.programming.domain.RepositoryType;\nimport de.tum.cit.aet.artemis.programming.dto.GitRepositoryAccessDTO;\nimport de.tum.cit.aet.artemis.programming.service.AuxiliaryRepositoryService;\nimport de.tum.cit.aet.artemis.programming.service.ProgrammingExerciseDraftGuardService;\nimport de.tum.cit.aet.artemis.programming.web.repository.RepositoryActionType;\n\n/**\n * Lets a coding agent use git with a personal access token, within the limits that every other use of a token has.\n *

\n * The token is the password of the HTTPS credentials, and the user name is the login of its owner, so that git clients need nothing but their\n * standard credential handling. What the token opens is narrower than what its owner may open:\n *

    \n *
  • only if it holds the scope {@code programming:repositories}
  • \n *
  • only the template, solution, tests and auxiliary repositories, never the repository of a student
  • \n *
  • never those of an exam exercise, which are confidential until the exam starts
  • \n *
  • a push only while the exercise is a draft without participations, the rule that applies to changing the exercise through the REST API
  • \n *
  • the owner is at least an editor in the course of the exercise, for reading as well, because only editors and instructors may hold a token
  • \n *
\n * The roles of the owner still apply on top: they are checked by the usual authorization of the repository afterwards.\n */\n@Profile(PROFILE_LOCALVC)\n@Lazy\n@Service\npublic class LocalVCAgentTokenService {\n\n /** The logger of the audit trail of token requests, shared with the REST API so that an operator routes both together. */\n private static final Logger log = LoggerFactory.getLogger(\"de.tum.cit.aet.artemis.agentaccess.audit\");\n\n private static final String REJECTED_MESSAGE = \"The token is unknown, expired or revoked, its owner may not use tokens, or it does not belong to the user name. Use the login of the owner of the token as the user name.\";\n\n /** Present only when agent access is enabled. */\n private final Optional personalAccessTokenService;\n\n private final AuxiliaryRepositoryService auxiliaryRepositoryService;\n\n private final ProgrammingExerciseDraftGuardService programmingExerciseDraftGuardService;\n\n private final AuthorizationCheckService authorizationCheckService;\n\n public LocalVCAgentTokenService(Optional personalAccessTokenService, AuxiliaryRepositoryService auxiliaryRepositoryService,\n ProgrammingExerciseDraftGuardService programmingExerciseDraftGuardService, AuthorizationCheckService authorizationCheckService) {\n this.personalAccessTokenService = personalAccessTokenService;\n this.auxiliaryRepositoryService = auxiliaryRepositoryService;\n this.programmingExerciseDraftGuardService = programmingExerciseDraftGuardService;\n this.authorizationCheckService = authorizationCheckService;\n }\n\n /**\n * Whether the password of a git request is a personal access token rather than a password or a VCS access token.\n *\n * @param passwordOrToken the password of the credentials\n * @return true if it has the prefix of personal access tokens\n */\n public static boolean isAgentToken(String passwordOrToken) {\n return passwordOrToken.startsWith(PERSONAL_ACCESS_TOKEN_PREFIX);\n }\n\n /**\n * Authenticates a git request that presented a personal access token as its password. Such a secret is never tried as a password, so that a\n * wrong token cannot lead to a login attempt.\n *\n * @param user the user named in the credentials\n * @param secret the token\n * @return the authentication of the token, with its id and scopes\n * @throws LocalVCAuthException if the token is unknown, expired or revoked, its owner may not use tokens, or it belongs to another user; the message is the same for each\n */\n public PersonalAccessTokenAuthentication authenticate(User user, String secret) throws LocalVCAuthException {\n Optional authentication = personalAccessTokenService.flatMap(service -> service.authenticate(secret));\n // One answer for every reason, so that a caller cannot tell a token that exists but belongs to someone else from one that does not exist.\n if (authentication.isEmpty() || !authentication.get().getName().equals(user.getLogin())) {\n log.info(\"user={} git authentication with a personal access token was rejected\", user.getLogin());\n throw new LocalVCAuthException(REJECTED_MESSAGE);\n }\n return authentication.get();\n }\n\n /**\n * Decides whether a token may reach a repository, and writes the decision to the audit log.\n *\n * @param token the authenticated token\n * @param user the owner of the token\n * @param exercise the projected exercise the repository belongs to\n * @param repositoryUri the repository the request is for\n * @param repositoryAction whether the request reads or writes\n * @throws LocalVCForbiddenException if the token may not do this\n */\n public void authorize(PersonalAccessTokenAuthentication token, User user, GitRepositoryAccessDTO exercise, LocalVCRepositoryUri repositoryUri,\n RepositoryActionType repositoryAction) throws LocalVCForbiddenException {\n String repositoryTypeOrUserName = repositoryUri.getRepositoryTypeOrUserName();\n try {\n requireAllowed(token, user, exercise, repositoryUri, repositoryAction);\n }\n catch (LocalVCForbiddenException e) {\n log.info(\"token={} user={} git {} exercise={} repository={} -> refused by the token rules: {}\", token.getTokenId(), token.getName(), repositoryAction,\n exercise.exerciseId(), repositoryTypeOrUserName, e.getMessage());\n throw e;\n }\n log.info(\"token={} user={} git {} exercise={} repository={} -> passed the token rules, the roles of the owner are checked next\", token.getTokenId(), token.getName(),\n repositoryAction, exercise.exerciseId(), repositoryTypeOrUserName);\n }\n\n private void requireAllowed(PersonalAccessTokenAuthentication token, User user, GitRepositoryAccessDTO exercise, LocalVCRepositoryUri repositoryUri,\n RepositoryActionType repositoryAction) throws LocalVCForbiddenException {\n if (!token.getScopes().contains(AgentScope.PROGRAMMING_REPOSITORIES)) {\n throw new LocalVCForbiddenException(\"The token does not have the scope \" + AgentScope.PROGRAMMING_REPOSITORIES.getValue() + \".\");\n }\n if (!authorizationCheckService.isAtLeastEditorInCourse(exercise.courseId(), user)) {\n throw new LocalVCForbiddenException(\"A personal access token opens repositories only in courses where its owner is at least an editor.\");\n }\n if (exercise.examId() != null) {\n throw new LocalVCForbiddenException(\"Exam exercises cannot be accessed with a personal access token.\");\n }\n // The name that the URI yields leaves out a \"practice-\" marker and digits after the project key, which would let the repository of a student whose login is\n // \"tests\" pass for the tests repository. The slug has to be exactly the project key and the name.\n if (!repositoryUri.isSlugCanonical() || !isStaffRepository(exercise, repositoryUri.getRepositoryTypeOrUserName())) {\n throw new LocalVCForbiddenException(\n \"A personal access token opens only the template, solution, tests and auxiliary repositories of an exercise, not those of students.\");\n }\n if (repositoryAction == RepositoryActionType.WRITE) {\n Optional blocked = programmingExerciseDraftGuardService.repositoryPushBlockedReason(exercise.exerciseId(), exercise.releaseDate(), exercise.startDate());\n if (blocked.isPresent()) {\n throw new LocalVCForbiddenException(blocked.get());\n }\n }\n }\n\n /**\n * Tells why a token may not push any more, for the check that runs when the push has been received. A push can take long to arrive, and the exercise may have been released\n * or may have got a participation in the meantime, which the check before the push could not see.\n *\n * @param exercise the exercise the repository belongs to, as stored now\n * @return the reason, or empty if the push may go on\n */\n public Optional pushBlockedReason(ProgrammingExercise exercise) {\n return programmingExerciseDraftGuardService.repositoryPushBlockedReason(exercise.getId(), exercise.getReleaseDate(), exercise.getStartDate());\n }\n\n /**\n * Writes a push that passed all checks to the audit log, because a push to the tests or an auxiliary repository belongs to no participation and so leaves no entry in the\n * access log.\n *\n * @param user the owner of the token\n * @param exerciseId the exercise the repository belongs to\n * @param repository the slug of the repository\n * @param ref the ref that is updated\n * @param newCommit the commit that the ref is moved to\n */\n public void auditAcceptedPush(User user, long exerciseId, String repository, String ref, String newCommit) {\n log.info(\"user={} git push exercise={} repository={} ref={} commit={} -> passed the push checks of the token rules\", user.getLogin(), exerciseId, repository, ref,\n newCommit);\n }\n\n private boolean isStaffRepository(GitRepositoryAccessDTO exercise, String repositoryTypeOrUserName) {\n return repositoryTypeOrUserName.equals(RepositoryType.TEMPLATE.toString()) || repositoryTypeOrUserName.equals(RepositoryType.SOLUTION.toString())\n || repositoryTypeOrUserName.equals(RepositoryType.TESTS.toString())\n || auxiliaryRepositoryService.isAuxiliaryRepositoryOfExercise(repositoryTypeOrUserName, exercise.exerciseId());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/81f59dfdd0a598af7718ba2761f98b91f0d957c3.json b/web/public/bundles/artemis/code/81f59dfdd0a598af7718ba2761f98b91f0d957c3.json new file mode 100644 index 00000000..52c0ba08 --- /dev/null +++ b/web/public/bundles/artemis/code/81f59dfdd0a598af7718ba2761f98b91f0d957c3.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "81f59dfdd0a598af7718ba2761f98b91f0d957c3", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/service/GlobalSearchResultRanker.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.globalsearch.service;\n\nimport java.time.ZonedDateTime;\nimport java.util.ArrayList;\nimport java.util.Comparator;\nimport java.util.HashMap;\nimport java.util.List;\nimport java.util.Locale;\nimport java.util.Map;\nimport java.util.Objects;\nimport java.util.regex.Pattern;\n\nimport org.jspecify.annotations.Nullable;\n\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.globalsearch.config.schema.entityschemas.SearchableEntitySchema;\n\n/**\n * Orders global search rows so that a student finds the current version of what they look for first.\n *

\n * Weaviate ranks by text relevance alone, so the same exercise from five past semesters ranks as high as the one in the\n * running course. This class re-ranks the rows Weaviate returned:\n *

    \n *
  • With a query, each row keeps a score from its Weaviate rank, scaled down when its course has ended. Rows of a\n * running course keep their full score, so a much better match from a past course still wins.
  • \n *
  • Without a query (browsing a filter), the rows are returned in Weaviate's order, unchanged.
  • \n *
  • The same item in several semesters of a course (same type and title in courses whose titles only differ in the\n * semester) is shown once, from the best-ranked course. Lecture units are never merged: their names, such as \"Slides\",\n * repeat across lectures, and a row does not name its lecture.
  • \n *
  • With a query, the channel Artemis creates for an exercise, lecture or exam is placed directly behind that item.
  • \n *
\n * Before ranking, {@link #withoutChannelsNotNamedBy} drops the channels whose name does not contain every part of the query.\n */\npublic final class GlobalSearchResultRanker {\n\n /** Smooths the rank-based score, so the first few ranks do not dominate everything after them. */\n private static final int RANK_OFFSET = 5;\n\n /** Score factor for a row of a course that ended within the last year. */\n static final double RECENTLY_ENDED_FACTOR = 0.75;\n\n /** Score factor for a row of a course that ended more than a year ago. */\n static final double LONG_ENDED_FACTOR = 0.5;\n\n /** Semester markers in course titles, such as \"WS23/24\", \"SS 2024\", \"WiSe 2023/24\" or \"Summer 2024\", and bare years. */\n private static final Pattern SEMESTER = Pattern.compile(\n \"\\\\b(?:ws|ss|wise|sose|winter(?:semester)?|summer(?:semester)?|sommer(?:semester)?)\\\\s*\\\\d{2,4}(?:\\\\s*/\\\\s*\\\\d{2,4})?\\\\b|\\\\b(?:19|20)\\\\d{2}(?:\\\\s*/\\\\s*\\\\d{2,4})?\\\\b\");\n\n private static final Pattern NON_ALPHANUMERIC = Pattern.compile(\"[^\\\\p{L}\\\\p{N}]+\");\n\n /** Channel names hold only lowercase ASCII letters, digits and separators; Artemis replaces every other character. */\n private static final Pattern NOT_IN_CHANNEL_NAMES = Pattern.compile(\"[^a-z0-9]+\");\n\n /** Item types for which Artemis creates a channel named after the item. */\n private static final List DEFAULT_CHANNEL_TYPES = List.of(SearchableEntitySchema.TypeValues.EXERCISE, SearchableEntitySchema.TypeValues.LECTURE,\n SearchableEntitySchema.TypeValues.EXAM);\n\n /** A shorter channel name is too unspecific to tie the channel to one item. */\n private static final int MIN_DEFAULT_CHANNEL_TITLE_LENGTH = 3;\n\n private GlobalSearchResultRanker() {\n // utility class\n }\n\n /**\n * Drops the channel rows whose name does not contain the query. Weaviate also finds a row by meaning, so a query that\n * only fits the description of a lecture found the lecture's channel, although the reader typed nothing of its name.\n *

\n * The query is split into parts the way Artemis turns a title into a channel name, and every part must occur in the\n * name. A query without any ASCII letter or digit has no parts and keeps no channel. Without a query (browsing a\n * filter), every row stays.\n *\n * @param rows the rows Weaviate returned\n * @param query the search query, may be null or blank\n * @return the rows in the same order, without the channels the query does not name\n */\n public static List> withoutChannelsNotNamedBy(List> rows, @Nullable String query) {\n if (query == null || query.isBlank()) {\n return rows;\n }\n List queryParts = NOT_IN_CHANNEL_NAMES.splitAsStream(normalizeCase(query)).filter(part -> !part.isEmpty()).toList();\n return rows.stream().filter(\n row -> !SearchableEntitySchema.TypeValues.CHANNEL.equals(row.get(SearchableEntitySchema.Properties.TYPE)) || isNamedBy(normalizeCase(titleOf(row)), queryParts))\n .toList();\n }\n\n private static boolean isNamedBy(String channelName, List queryParts) {\n return !queryParts.isEmpty() && queryParts.stream().allMatch(channelName::contains);\n }\n\n /**\n * Re-ranks the rows Weaviate returned, in Weaviate's order, and drops the older semester copies of an item.\n *\n * @param rows the rows in Weaviate's order (relevance order when there is a query)\n * @param hasQuery whether the search had a query; without one the rows are returned unchanged\n * @param coursesById the courses the rows belong to, as far as they are known\n * @param now the current time\n * @return the rows in their new order, without older semester copies\n */\n public static List> rank(List> rows, boolean hasQuery, Map coursesById, ZonedDateTime now) {\n if (!hasQuery) {\n // A browse has no relevance order to adjust, and Weaviate cannot order this collection by course or title\n // before it cuts the list, so sorting the returned subset would only pretend to an order it cannot keep.\n return rows;\n }\n List ranked = new ArrayList<>(rows.size());\n // Semester copies of one item usually have the same text, so Weaviate gives them the same relevance and orders\n // them at random. A run of adjacent copies therefore shares the rank of its first row, and only the course factor\n // decides between them: otherwise the copy of the running course loses to an ended one just for coming last.\n String previousTwinKey = null;\n int sharedRank = 0;\n for (int index = 0; index < rows.size(); index++) {\n Map row = rows.get(index);\n Course course = coursesById.get(courseId(row));\n String twinKey = twinKey(row, course);\n if (twinKey == null || !twinKey.equals(previousTwinKey)) {\n sharedRank = index;\n }\n previousTwinKey = twinKey;\n ranked.add(new Ranked(row, course, (1.0 / (RANK_OFFSET + sharedRank)) * courseFactor(course, now), index));\n }\n ranked.sort(Comparator.comparingDouble(Ranked::score).reversed().thenComparingInt(Ranked::position));\n\n // Sorting put the best copy first; keep only that one. It is the copy with the best score, which is what the reader\n // wants: the current semester unless an old one matched much better. Only copies in other courses are dropped: two\n // rows with the same key in one course are different items, such as two units named \"Slides\" in two lectures.\n Map courseOfKeptCopy = new HashMap<>();\n List> result = new ArrayList<>(ranked.size());\n for (Ranked entry : ranked) {\n String twinKey = twinKey(entry.row(), entry.course());\n if (twinKey != null) {\n long courseId = entry.course().getId();\n Long keptCourseId = courseOfKeptCopy.putIfAbsent(twinKey, courseId);\n if (keptCourseId != null && keptCourseId != courseId) {\n continue;\n }\n }\n result.add(entry.row());\n }\n return placeDefaultChannelsAfterTheirItem(result);\n }\n\n /**\n * Moves the channel Artemis creates for an exercise, lecture or exam (named \"exercise-\", \"lecture-\" or \"exam-\" and\n * the start of the item's title) directly behind that item when both are in the list. The channel name repeats the\n * title, so it matches as well as the item itself and would otherwise often come first, although the reader looks\n * for the item.\n */\n private static List> placeDefaultChannelsAfterTheirItem(List> rows) {\n List> result = new ArrayList<>(rows);\n for (Map channel : rows) {\n Map item = defaultChannelItem(channel, result);\n if (item == null || result.indexOf(channel) == result.indexOf(item) + 1) {\n continue;\n }\n result.remove(channel);\n result.add(result.indexOf(item) + 1, channel);\n }\n return result;\n }\n\n /**\n * The exercise, lecture or exam a default channel row belongs to, or null. A name that fits several items of the\n * course is left alone: the channel name holds only the start of the title, which cannot tell such items apart.\n */\n private static @Nullable Map defaultChannelItem(Map channel, List> rows) {\n if (!SearchableEntitySchema.TypeValues.CHANNEL.equals(channel.get(SearchableEntitySchema.Properties.TYPE))) {\n return null;\n }\n String name = normalizeCase(titleOf(channel));\n for (String type : DEFAULT_CHANNEL_TYPES) {\n String prefix = type + \"-\";\n String titleStart = name.startsWith(prefix) ? compact(name.substring(prefix.length())) : \"\";\n if (titleStart.length() < MIN_DEFAULT_CHANNEL_TITLE_LENGTH) {\n continue;\n }\n List> matches = rows.stream().filter(row -> type.equals(row.get(SearchableEntitySchema.Properties.TYPE))\n && Objects.equals(courseId(row), courseId(channel)) && compact(normalizeCase(titleOf(row))).startsWith(titleStart)).toList();\n return matches.size() == 1 ? matches.getFirst() : null;\n }\n return null;\n }\n\n /** Keeps only the characters a channel name can hold, so a title such as \"Einführung\" matches its channel \"einf-hrung\". */\n private static String compact(String text) {\n return NOT_IN_CHANNEL_NAMES.matcher(text).replaceAll(\"\");\n }\n\n /**\n * Score factor of a row's course: full for a running course or an unknown one, lower the longer ago the course ended.\n */\n static double courseFactor(@Nullable Course course, ZonedDateTime now) {\n if (isRunning(course, now)) {\n return 1.0;\n }\n return course.getEndDate().isAfter(now.minusYears(1)) ? RECENTLY_ENDED_FACTOR : LONG_ENDED_FACTOR;\n }\n\n private static boolean isRunning(@Nullable Course course, ZonedDateTime now) {\n return course == null || course.getEndDate() == null || !course.getEndDate().isBefore(now);\n }\n\n /**\n * The key under which semester copies of an item collapse, or null when the row is never merged: a row without a\n * course, a course row (each course is its own result) and a lecture unit row (see the class description).\n */\n private static @Nullable String twinKey(Map row, @Nullable Course course) {\n String type = row.get(SearchableEntitySchema.Properties.TYPE) instanceof String value ? value : null;\n if (course == null || type == null || SearchableEntitySchema.TypeValues.COURSE.equals(type) || SearchableEntitySchema.TypeValues.LECTURE_UNIT.equals(type)) {\n return null;\n }\n String courseTitle = normalize(SEMESTER.matcher(normalizeCase(course.getTitle())).replaceAll(\" \"));\n String title = normalize(normalizeCase(titleOf(row)));\n if (courseTitle.isEmpty() || title.isEmpty()) {\n return null;\n }\n return type + '\\u0000' + courseTitle + '\\u0000' + title;\n }\n\n private static String normalizeCase(@Nullable String text) {\n return text == null ? \"\" : text.toLowerCase(Locale.ROOT);\n }\n\n private static String normalize(String text) {\n return NON_ALPHANUMERIC.matcher(text).replaceAll(\" \").trim();\n }\n\n private static String titleOf(Map row) {\n return row.get(SearchableEntitySchema.Properties.TITLE) instanceof String title ? title : \"\";\n }\n\n private static @Nullable Long courseId(Map row) {\n return row.get(SearchableEntitySchema.Properties.COURSE_ID) instanceof Number number ? number.longValue() : null;\n }\n\n private record Ranked(Map row, @Nullable Course course, double score, int position) {\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/820dffacdc090a6f16a714a850b7d050be5339ae.json b/web/public/bundles/artemis/code/820dffacdc090a6f16a714a850b7d050be5339ae.json new file mode 100644 index 00000000..6fa16ae1 --- /dev/null +++ b/web/public/bundles/artemis/code/820dffacdc090a6f16a714a850b7d050be5339ae.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "820dffacdc090a6f16a714a850b7d050be5339ae", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/IrisAdminDashboardService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.iris.service;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\n\nimport java.sql.Timestamp;\nimport java.time.Duration;\nimport java.time.Instant;\nimport java.time.LocalDate;\nimport java.time.LocalDateTime;\nimport java.time.OffsetDateTime;\nimport java.time.ZoneOffset;\nimport java.util.ArrayList;\nimport java.util.HashMap;\nimport java.util.LinkedHashMap;\nimport java.util.List;\nimport java.util.Locale;\nimport java.util.Map;\nimport java.util.Set;\n\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.core.exception.BadRequestAlertException;\nimport de.tum.cit.aet.artemis.core.util.TimeUtil;\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.course.repository.CourseRepository;\nimport de.tum.cit.aet.artemis.iris.config.IrisDashboardAiSelection;\nimport de.tum.cit.aet.artemis.iris.config.IrisDashboardBreakdownDimension;\nimport de.tum.cit.aet.artemis.iris.config.IrisDashboardMetric;\nimport de.tum.cit.aet.artemis.iris.config.IrisDashboardProperties;\nimport de.tum.cit.aet.artemis.iris.config.IrisEnabled;\nimport de.tum.cit.aet.artemis.iris.domain.message.IrisMessageSender;\nimport de.tum.cit.aet.artemis.iris.dto.IrisDashboardBreakdownEntryDTO;\nimport de.tum.cit.aet.artemis.iris.dto.IrisDashboardConfigDTO;\nimport de.tum.cit.aet.artemis.iris.dto.IrisDashboardDigestChatModeDTO;\nimport de.tum.cit.aet.artemis.iris.dto.IrisDashboardDigestCourseDTO;\nimport de.tum.cit.aet.artemis.iris.dto.IrisDashboardDigestDTO;\nimport de.tum.cit.aet.artemis.iris.dto.IrisDashboardOverviewDTO;\nimport de.tum.cit.aet.artemis.iris.dto.IrisDashboardTimeSeriesDTO;\nimport de.tum.cit.aet.artemis.iris.dto.IrisDashboardTimeSeriesEntryDTO;\nimport de.tum.cit.aet.artemis.iris.dto.IrisDashboardUserMessageResultDTO;\nimport de.tum.cit.aet.artemis.iris.repository.IrisAdminDashboardRepository;\n\n/**\n * Service for computing Iris admin dashboard metrics: overview KPIs, time-series, and breakdowns.\n */\n@Service\n@Lazy\n@Profile(PROFILE_CORE)\n@Conditional(IrisEnabled.class)\npublic class IrisAdminDashboardService {\n\n private static final String ENTITY_NAME = \"irisDashboard\";\n\n private final IrisAdminDashboardRepository dashboardRepository;\n\n private final IrisDashboardProperties properties;\n\n private final CourseRepository courseRepository;\n\n public IrisAdminDashboardService(IrisAdminDashboardRepository dashboardRepository, IrisDashboardProperties properties, CourseRepository courseRepository) {\n this.dashboardRepository = dashboardRepository;\n this.properties = properties;\n this.courseRepository = courseRepository;\n }\n\n // -- Overview ---------------------------------------------------------------\n\n /**\n * Computes all overview KPIs for the given time range.\n *\n * @param from start of the range (inclusive)\n * @param to end of the range (exclusive)\n * @param aiSelection restricts the KPIs to users with this AI selection\n * @return the overview DTO\n */\n public IrisDashboardOverviewDTO computeOverview(Instant from, Instant to, IrisDashboardAiSelection aiSelection) {\n return computeOverview(from, to, computeStaleBefore(to, TimeUtil.now().toInstant()), aiSelection.queryValue());\n }\n\n private IrisDashboardOverviewDTO computeOverview(Instant from, Instant to, Instant staleBefore, String aiSelection) {\n long totalSessions = dashboardRepository.countTotalSessions(from, to, aiSelection);\n long activeSessions = dashboardRepository.countActiveSessions(from, to, aiSelection);\n double engagementRate = totalSessions > 0 ? (double) activeSessions / totalSessions * 100.0 : 0.0;\n\n long totalMessages = dashboardRepository.countTotalMessages(from, to, aiSelection);\n long uniqueUsers = dashboardRepository.countUniqueUsers(from, to, aiSelection);\n\n // Single fetch of user messages for both no-response and response-time computation\n List allUserMessages = mapResults(dashboardRepository.findUserMessagesWithNextMessageFullRange(from, to, aiSelection));\n\n // No-response: only consider messages before staleBefore\n long noResponseMessageCount = 0;\n long eligibleMessages = 0;\n Set noResponseSessionIds = new java.util.HashSet<>();\n List responseTimes = new ArrayList<>();\n for (IrisDashboardUserMessageResultDTO msg : allUserMessages) {\n if (msg.sentAt().isBefore(staleBefore)) {\n eligibleMessages++;\n if (!msg.hasAssistantResponse()) {\n noResponseMessageCount++;\n noResponseSessionIds.add(msg.sessionId());\n }\n }\n if (msg.nextSender() != null && msg.nextSender() == IrisMessageSender.LLM && msg.nextSentAt() != null) {\n Duration responseTime = Duration.between(msg.sentAt(), msg.nextSentAt());\n if (!responseTime.isNegative()) {\n responseTimes.add(responseTime);\n }\n }\n }\n double noResponseRate = eligibleMessages > 0 ? (double) noResponseMessageCount / eligibleMessages * 100.0 : 0.0;\n\n // Thumbs up/down\n long thumbsUp = dashboardRepository.countThumbsUp(from, to, aiSelection);\n long thumbsDown = dashboardRepository.countThumbsDown(from, to, aiSelection);\n long totalLlmMessages = dashboardRepository.countTotalLlmMessages(from, to, aiSelection);\n double thumbsUpRatio = totalLlmMessages > 0 ? (double) thumbsUp / totalLlmMessages * 100.0 : 0.0;\n double thumbsDownRatio = totalLlmMessages > 0 ? (double) thumbsDown / totalLlmMessages * 100.0 : 0.0;\n\n long sessionsWithThumbsUp = dashboardRepository.countSessionsWithThumbsUp(from, to, aiSelection);\n long sessionsWithThumbsDown = dashboardRepository.countSessionsWithThumbsDown(from, to, aiSelection);\n double thumbsUpAbsoluteRate = totalSessions > 0 ? (double) sessionsWithThumbsUp / totalSessions * 100.0 : 0.0;\n double thumbsDownAbsoluteRate = totalSessions > 0 ? (double) sessionsWithThumbsDown / totalSessions * 100.0 : 0.0;\n\n // Response time\n responseTimes.sort(Duration::compareTo);\n double avgResponseTime = responseTimes.isEmpty() ? 0.0 : responseTimes.stream().mapToDouble(Duration::toMillis).average().orElse(0.0) / 1000.0;\n double p50ResponseTime = percentile(responseTimes, 0.5);\n double p95ResponseTime = percentile(responseTimes, 0.95);\n\n // Token cost\n double totalTokenCostUsd = 0.0;\n long unpricedTokenCostRequests = 0;\n List costRows = dashboardRepository.computeTokenCost(from, to, aiSelection);\n for (Object[] row : costRows) {\n totalTokenCostUsd += ((Number) row[1]).doubleValue();\n unpricedTokenCostRequests += ((Number) row[2]).longValue();\n }\n\n return new IrisDashboardOverviewDTO(totalSessions, activeSessions, engagementRate, totalMessages, uniqueUsers, noResponseRate, noResponseMessageCount,\n noResponseSessionIds.size(), thumbsUpRatio, thumbsDownRatio, thumbsUpAbsoluteRate, thumbsDownAbsoluteRate, sessionsWithThumbsUp, sessionsWithThumbsDown, thumbsUp,\n thumbsDown, avgResponseTime, p50ResponseTime, p95ResponseTime, totalTokenCostUsd, unpricedTokenCostRequests);\n }\n\n // -- Digest -----------------------------------------------------------------\n\n /**\n * Computes the full digest data for the given time window.\n *

\n * Combines overview KPIs with a per-chat-mode breakdown and a top-5 course list.\n *\n * @param from start of the window (inclusive)\n * @param to end of the window (exclusive)\n * @param staleBefore cutoff for no-response computation (messages after this may still receive a response)\n * @return the digest DTO containing all overview fields, chat-mode breakdown, and top courses\n */\n public IrisDashboardDigestDTO computeDigestData(Instant from, Instant to, Instant staleBefore) {\n String allUsers = IrisDashboardAiSelection.ALL.queryValue();\n IrisDashboardOverviewDTO overview = computeOverview(from, to, staleBefore, allUsers);\n\n // Chat-mode breakdown: group sessions by mode, zero out per-mode message/rating counts\n List sessionRows = dashboardRepository.findSessionsWithMode(from, to, allUsers);\n Map sessionsByMode = new HashMap<>();\n for (Object[] row : sessionRows) {\n String mode = row[2] != null ? row[2].toString() : \"UNKNOWN\";\n sessionsByMode.merge(mode, 1L, Long::sum);\n }\n List chatModeBreakdown = new ArrayList<>();\n for (Map.Entry entry : sessionsByMode.entrySet()) {\n chatModeBreakdown.add(new IrisDashboardDigestChatModeDTO(entry.getKey(), entry.getValue(), 0L, 0.0, 0L, 0L));\n }\n\n // Top-5 courses by session count\n List courseRows = dashboardRepository.findTopCoursesBySessionCount(from, to, allUsers, 5);\n List courseIds = courseRows.stream().map(row -> ((Number) row[0]).longValue()).toList();\n Map courseNames = resolveCourseNames(courseIds);\n List topCourses = new ArrayList<>();\n for (Object[] row : courseRows) {\n long courseId = ((Number) row[0]).longValue();\n long sessionCount = ((Number) row[1]).longValue();\n String courseName = courseNames.getOrDefault(courseId, \"Course #\" + courseId);\n topCourses.add(new IrisDashboardDigestCourseDTO(courseName, sessionCount, 0L, 0.0, 0.0));\n }\n\n return new IrisDashboardDigestDTO(from, to, staleBefore, overview.totalSessions(), overview.activeSessions(), overview.engagementRate(), overview.totalMessages(),\n overview.uniqueUsers(), overview.noResponseRate(), overview.noResponseMessageCount(), overview.noResponseSessionCount(), overview.thumbsUpRatio(),\n overview.thumbsDownRatio(), overview.thumbsUpAbsoluteRate(), overview.thumbsDownAbsoluteRate(), overview.thumbsUpCount(), overview.thumbsDownCount(),\n overview.sessionsWithThumbsUp(), overview.sessionsWithThumbsDown(), overview.avgResponseTimeSeconds(), overview.p50ResponseTimeSeconds(),\n overview.p95ResponseTimeSeconds(), overview.totalTokenCostUsd(), overview.unpricedTokenCostRequests(), chatModeBreakdown, topCourses, \"/admin/iris-dashboard\");\n }\n\n // -- Config -----------------------------------------------------------------\n\n /**\n * Returns the current dashboard configuration as a DTO.\n *\n * @return the config DTO\n */\n public IrisDashboardConfigDTO getConfig() {\n var alert = properties.getAlert();\n var digest = properties.getDigest();\n return new IrisDashboardConfigDTO(properties.getMaxQueryWindowDays(), properties.getStaleThresholdMinutes(), digest.isEnabled(), digest.getCron(), alert.isEnabled(),\n alert.getNoResponseRateThreshold(), alert.getCheckIntervalMinutes(), alert.getCooldownMinutes(), alert.getLookbackMinutes(), alert.getMinimumEligibleSessions(),\n alert.getMinimumUserMessages());\n }\n\n // -- Stale-before computation -----------------------------------------------\n\n /**\n * Computes the stale-before cutoff: messages sent after this timestamp may still receive a response.\n *\n * @param to the end of the query range\n * @param now the current instant\n * @return min(to, now - staleThreshold)\n */\n public Instant computeStaleBefore(Instant to, Instant now) {\n Instant staleLimit = now.minus(Duration.ofMinutes(properties.getStaleThresholdMinutes()));\n return to.isBefore(staleLimit) ? to : staleLimit;\n }\n\n // -- Percentile -------------------------------------------------------------\n\n /**\n * Computes the p-th percentile of a sorted list of durations using linear interpolation.\n *\n * @param sorted the sorted list of durations\n * @param p the percentile (0.0 to 1.0)\n * @return the percentile value in seconds, or 0.0 for an empty list\n */\n public static double percentile(List sorted, double p) {\n if (sorted.isEmpty()) {\n return 0.0;\n }\n if (sorted.size() == 1) {\n return sorted.getFirst().toMillis() / 1000.0;\n }\n double index = p * (sorted.size() - 1);\n int lower = (int) Math.floor(index);\n int upper = (int) Math.ceil(index);\n if (lower == upper) {\n return sorted.get(lower).toMillis() / 1000.0;\n }\n double fraction = index - lower;\n double lowerVal = sorted.get(lower).toMillis() / 1000.0;\n double upperVal = sorted.get(upper).toMillis() / 1000.0;\n return lowerVal + fraction * (upperVal - lowerVal);\n }\n\n // -- Map native query results -----------------------------------------------\n\n /**\n * Maps native query result rows to {@link IrisDashboardUserMessageResultDTO}.\n * Date columns are normalized to {@link Instant} via {@link #toInstant(Object)}, which handles the differing JDBC\n * temporal types returned by PostgreSQL and MySQL (cross-DBMS compatibility).\n *\n * @param rows the raw rows from the native query\n * @return the mapped DTOs\n */\n public List mapResults(List rows) {\n List results = new ArrayList<>();\n for (Object[] row : rows) {\n long userMsgId = ((Number) row[0]).longValue();\n long sessionId = ((Number) row[1]).longValue();\n Instant sentAt = toInstant(row[2]);\n IrisMessageSender nextSender = row[3] != null ? IrisMessageSender.valueOf(row[3].toString()) : null;\n Instant nextSentAt = row[4] != null ? toInstant(row[4]) : null;\n String modeLabel = row[5] != null ? row[5].toString() : null;\n boolean hasAssistantResponse = row[6] != null && ((Number) row[6]).intValue() == 1;\n results.add(new IrisDashboardUserMessageResultDTO(userMsgId, sessionId, sentAt, nextSender, nextSentAt, modeLabel, hasAssistantResponse));\n }\n return results;\n }\n\n /**\n * Converts a temporal value returned by a native query to an {@link Instant}, normalizing to UTC.\n *

\n * Native queries bypass JPA type conversion and return raw JDBC types, which differ per DBMS: PostgreSQL maps a\n * {@code timestamp without time zone} column to {@link LocalDateTime} (and {@code timestamptz} to {@link OffsetDateTime}),\n * while MySQL returns {@link Timestamp}; some setups yield {@link Instant} directly. Artemis persists these columns in UTC,\n * so a {@link LocalDateTime} is interpreted as UTC. Handling all of these keeps the dashboard queries working on both\n * supported databases.\n *\n * @param value the temporal value from a native query row (must not be {@code null})\n * @return the corresponding instant\n */\n private static Instant toInstant(Object value) {\n return switch (value) {\n case Instant instant -> instant;\n case Timestamp timestamp -> timestamp.toInstant();\n case LocalDateTime localDateTime -> localDateTime.toInstant(ZoneOffset.UTC);\n case OffsetDateTime offsetDateTime -> offsetDateTime.toInstant();\n case null -> throw new IllegalArgumentException(\"Cannot convert null to Instant\");\n default -> throw new IllegalArgumentException(\"Cannot convert to Instant: \" + value.getClass().getName());\n };\n }\n\n // -- Time Series ------------------------------------------------------------\n\n /**\n * Computes a time-series for the given metric, bucketed by the specified span.\n *\n * @param from start of the range (inclusive)\n * @param to end of the range (exclusive)\n * @param span one of DAY, WEEK, MONTH, QUARTER, YEAR\n * @param metric the metric to compute\n * @param aiSelection restricts the series to users with this AI selection\n * @return the time-series DTO\n */\n public IrisDashboardTimeSeriesDTO computeTimeSeries(Instant from, Instant to, String span, IrisDashboardMetric metric, IrisDashboardAiSelection aiSelection) {\n List buckets = generateBuckets(from, to, span);\n String selection = aiSelection.queryValue();\n List entries = switch (metric) {\n case SESSIONS -> computeSessionsTimeSeries(from, to, buckets, selection);\n case MESSAGES -> computeMessagesTimeSeries(from, to, buckets, selection);\n case NO_RESPONSE_RATE -> computeNoResponseRateTimeSeries(from, to, buckets, selection);\n case RESPONSE_TIME -> computeResponseTimeTimeSeries(from, to, buckets, selection);\n case RATINGS -> computeRatingsTimeSeries(from, to, buckets, selection);\n case TOKEN_COST -> computeTokenCostTimeSeries(from, to, buckets, selection);\n case ENGAGEMENT -> computeEngagementTimeSeries(from, to, buckets, selection);\n };\n return new IrisDashboardTimeSeriesDTO(metric, entries);\n }\n\n /**\n * Generates bucket start instants for the given range and span.\n *\n * @param from start of the range (inclusive)\n * @param to end of the range (exclusive)\n * @param span one of DAY, WEEK, MONTH, QUARTER, YEAR\n * @return ordered list of bucket start instants\n */\n public List generateBuckets(Instant from, Instant to, String span) {\n List buckets = new ArrayList<>();\n LocalDate current = from.atZone(ZoneOffset.UTC).toLocalDate();\n LocalDate endDate = to.atZone(ZoneOffset.UTC).toLocalDate();\n LocalDate endExclusive = to.equals(endDate.atStartOfDay(ZoneOffset.UTC).toInstant()) ? endDate : endDate.plusDays(1);\n\n while (current.isBefore(endExclusive)) {\n buckets.add(current.atStartOfDay(ZoneOffset.UTC).toInstant());\n current = switch (span.toUpperCase(Locale.ROOT)) {\n case \"DAY\" -> current.plusDays(1);\n case \"WEEK\" -> current.plusWeeks(1);\n case \"MONTH\" -> current.plusMonths(1);\n case \"QUARTER\" -> current.plusMonths(3);\n case \"YEAR\" -> current.plusYears(1);\n default -> throw new BadRequestAlertException(\"Unknown time span: \" + span, ENTITY_NAME, \"unknownSpan\");\n };\n }\n return buckets;\n }\n\n private Instant nextBucketStart(Instant bucketStart, List buckets, int index, Instant rangeTo) {\n return index + 1 < buckets.size() ? buckets.get(index + 1) : rangeTo;\n }\n\n // -- Sessions time-series ---------------------------------------------------\n\n private record SessionCounts(long total, long active) {\n }\n\n private SessionCounts countSessions(List rows, Instant bucketStart, Instant bucketEnd) {\n long total = 0;\n long active = 0;\n for (Object[] row : rows) {\n Instant creationDate = toInstant(row[1]);\n if (!creationDate.isBefore(bucketStart) && creationDate.isBefore(bucketEnd)) {\n total++;\n if (((Number) row[3]).intValue() == 1) {\n active++;\n }\n }\n }\n return new SessionCounts(total, active);\n }\n\n private List computeSessionsTimeSeries(Instant from, Instant to, List buckets, String aiSelection) {\n List rows = dashboardRepository.findSessionsWithMode(from, to, aiSelection);\n List entries = new ArrayList<>();\n\n for (int i = 0; i < buckets.size(); i++) {\n Instant bucketStart = buckets.get(i);\n Instant bucketEnd = nextBucketStart(bucketStart, buckets, i, to);\n SessionCounts counts = countSessions(rows, bucketStart, bucketEnd);\n Map series = new LinkedHashMap<>();\n series.put(\"total\", (double) counts.total());\n series.put(\"active\", (double) counts.active());\n entries.add(new IrisDashboardTimeSeriesEntryDTO(bucketStart, series));\n }\n return entries;\n }\n\n // -- Messages time-series ---------------------------------------------------\n\n private List computeMessagesTimeSeries(Instant from, Instant to, List buckets, String aiSelection) {\n List rows = dashboardRepository.findMessagesInRange(from, to, aiSelection);\n List entries = new ArrayList<>();\n\n for (int i = 0; i < buckets.size(); i++) {\n Instant bucketStart = buckets.get(i);\n Instant bucketEnd = nextBucketStart(bucketStart, buckets, i, to);\n long user = 0;\n long llm = 0;\n for (Object[] row : rows) {\n Instant sentAt = toInstant(row[1]);\n if (!sentAt.isBefore(bucketStart) && sentAt.isBefore(bucketEnd)) {\n String sender = row[2].toString();\n if (\"USER\".equals(sender)) {\n user++;\n }\n else if (\"LLM\".equals(sender)) {\n llm++;\n }\n }\n }\n Map series = new LinkedHashMap<>();\n series.put(\"user\", (double) user);\n series.put(\"llm\", (double) llm);\n series.put(\"total\", (double) (user + llm));\n entries.add(new IrisDashboardTimeSeriesEntryDTO(bucketStart, series));\n }\n return entries;\n }\n\n // -- No-response rate time-series -------------------------------------------\n\n private List computeNoResponseRateTimeSeries(Instant from, Instant to, List buckets, String aiSelection) {\n Instant staleBefore = computeStaleBefore(to, TimeUtil.now().toInstant());\n List messages = mapResults(dashboardRepository.findUserMessagesWithNextMessageFullRange(from, staleBefore, aiSelection));\n List entries = new ArrayList<>();\n\n for (int i = 0; i < buckets.size(); i++) {\n Instant bucketStart = buckets.get(i);\n Instant bucketEnd = nextBucketStart(bucketStart, buckets, i, staleBefore);\n long eligible = 0;\n long noResponse = 0;\n for (IrisDashboardUserMessageResultDTO msg : messages) {\n if (!msg.sentAt().isBefore(bucketStart) && msg.sentAt().isBefore(bucketEnd)) {\n eligible++;\n if (!msg.hasAssistantResponse()) {\n noResponse++;\n }\n }\n }\n double rate = eligible > 0 ? (double) noResponse / eligible * 100.0 : 0.0;\n Map series = new LinkedHashMap<>();\n series.put(\"rate\", rate);\n series.put(\"count\", (double) noResponse);\n entries.add(new IrisDashboardTimeSeriesEntryDTO(bucketStart, series));\n }\n return entries;\n }\n\n // -- Response time time-series ----------------------------------------------\n\n private List computeResponseTimeTimeSeries(Instant from, Instant to, List buckets, String aiSelection) {\n List messages = mapResults(dashboardRepository.findUserMessagesWithNextMessageFullRange(from, to, aiSelection));\n List entries = new ArrayList<>();\n\n for (int i = 0; i < buckets.size(); i++) {\n Instant bucketStart = buckets.get(i);\n Instant bucketEnd = nextBucketStart(bucketStart, buckets, i, to);\n List bucketTimes = new ArrayList<>();\n for (IrisDashboardUserMessageResultDTO msg : messages) {\n if (!msg.sentAt().isBefore(bucketStart) && msg.sentAt().isBefore(bucketEnd) && msg.nextSender() == IrisMessageSender.LLM && msg.nextSentAt() != null) {\n Duration d = Duration.between(msg.sentAt(), msg.nextSentAt());\n if (!d.isNegative()) {\n bucketTimes.add(d);\n }\n }\n }\n bucketTimes.sort(Duration::compareTo);\n double avg = bucketTimes.isEmpty() ? 0.0 : bucketTimes.stream().mapToDouble(Duration::toMillis).average().orElse(0.0) / 1000.0;\n Map series = new LinkedHashMap<>();\n series.put(\"avg\", avg);\n series.put(\"p50\", percentile(bucketTimes, 0.5));\n series.put(\"p95\", percentile(bucketTimes, 0.95));\n entries.add(new IrisDashboardTimeSeriesEntryDTO(bucketStart, series));\n }\n return entries;\n }\n\n // -- Ratings time-series ----------------------------------------------------\n\n private List computeRatingsTimeSeries(Instant from, Instant to, List buckets, String aiSelection) {\n List rows = dashboardRepository.findLlmMessagesWithRatings(from, to, aiSelection);\n List entries = new ArrayList<>();\n\n for (int i = 0; i < buckets.size(); i++) {\n Instant bucketStart = buckets.get(i);\n Instant bucketEnd = nextBucketStart(bucketStart, buckets, i, to);\n long thumbsUpCount = 0;\n long thumbsDownCount = 0;\n long total = 0;\n for (Object[] row : rows) {\n Instant sentAt = toInstant(row[1]);\n if (!sentAt.isBefore(bucketStart) && sentAt.isBefore(bucketEnd)) {\n total++;\n Boolean helpful = row[2] != null ? (Boolean) row[2] : null;\n if (Boolean.TRUE.equals(helpful)) {\n thumbsUpCount++;\n }\n else if (Boolean.FALSE.equals(helpful)) {\n thumbsDownCount++;\n }\n }\n }\n Map series = new LinkedHashMap<>();\n series.put(\"thumbsUp\", (double) thumbsUpCount);\n series.put(\"thumbsDown\", (double) thumbsDownCount);\n series.put(\"total\", (double) total);\n entries.add(new IrisDashboardTimeSeriesEntryDTO(bucketStart, series));\n }\n return entries;\n }\n\n // -- Token cost time-series -------------------------------------------------\n\n private List computeTokenCostTimeSeries(Instant from, Instant to, List buckets, String aiSelection) {\n List rows = dashboardRepository.findTokenCostWithTimestamps(from, to, aiSelection);\n List entries = new ArrayList<>();\n\n for (int i = 0; i < buckets.size(); i++) {\n Instant bucketStart = buckets.get(i);\n Instant bucketEnd = nextBucketStart(bucketStart, buckets, i, to);\n double chatCost = 0.0;\n double otherCost = 0.0;\n double unpricedRequests = 0;\n for (Object[] row : rows) {\n Instant traceTime = toInstant(row[0]);\n if (!traceTime.isBefore(bucketStart) && traceTime.isBefore(bucketEnd)) {\n int chatAttributed = ((Number) row[1]).intValue();\n double costUsd = ((Number) row[2]).doubleValue();\n unpricedRequests += ((Number) row[3]).doubleValue();\n if (chatAttributed == 1) {\n chatCost += costUsd;\n }\n else {\n otherCost += costUsd;\n }\n }\n }\n Map series = new LinkedHashMap<>();\n series.put(\"chat\", chatCost);\n series.put(\"other\", otherCost);\n series.put(\"total\", chatCost + otherCost);\n series.put(\"unpricedRequests\", unpricedRequests);\n entries.add(new IrisDashboardTimeSeriesEntryDTO(bucketStart, series));\n }\n return entries;\n }\n\n // -- Engagement time-series -------------------------------------------------\n\n private List computeEngagementTimeSeries(Instant from, Instant to, List buckets, String aiSelection) {\n List rows = dashboardRepository.findSessionsWithMode(from, to, aiSelection);\n List entries = new ArrayList<>();\n\n for (int i = 0; i < buckets.size(); i++) {\n Instant bucketStart = buckets.get(i);\n Instant bucketEnd = nextBucketStart(bucketStart, buckets, i, to);\n SessionCounts counts = countSessions(rows, bucketStart, bucketEnd);\n double rate = counts.total() > 0 ? (double) counts.active() / counts.total() * 100.0 : 0.0;\n Map series = new LinkedHashMap<>();\n series.put(\"rate\", rate);\n series.put(\"activeSessions\", (double) counts.active());\n series.put(\"totalSessions\", (double) counts.total());\n entries.add(new IrisDashboardTimeSeriesEntryDTO(bucketStart, series));\n }\n return entries;\n }\n\n // -- Breakdowns -------------------------------------------------------------\n\n /**\n * Computes a breakdown by the given dimension.\n *\n * @param from start of the range (inclusive)\n * @param to end of the range (exclusive)\n * @param dimension the breakdown dimension\n * @param aiSelection restricts the breakdown to users with this AI selection\n * @return the breakdown entries\n */\n public List computeBreakdown(Instant from, Instant to, IrisDashboardBreakdownDimension dimension, IrisDashboardAiSelection aiSelection) {\n String selection = aiSelection.queryValue();\n return switch (dimension) {\n case CHAT_MODE -> computeChatModeBreakdown(from, to, selection);\n case COURSE -> computeCourseBreakdown(from, to, selection);\n case MODEL -> computeModelBreakdown(from, to, selection);\n };\n }\n\n private List computeChatModeBreakdown(Instant from, Instant to, String aiSelection) {\n Instant staleBefore = computeStaleBefore(to, TimeUtil.now().toInstant());\n List sessionRows = dashboardRepository.findSessionsWithMode(from, to, aiSelection);\n List userMessages = mapResults(dashboardRepository.findUserMessagesWithNextMessageFullRange(from, staleBefore, aiSelection));\n\n // Group sessions by mode\n Map sessionsByMode = new HashMap<>();\n Map activeSessionsByMode = new HashMap<>();\n for (Object[] row : sessionRows) {\n String mode = row[2] != null ? row[2].toString() : \"UNKNOWN\";\n sessionsByMode.merge(mode, 1L, Long::sum);\n int hasUserMessage = ((Number) row[3]).intValue();\n if (hasUserMessage == 1) {\n activeSessionsByMode.merge(mode, 1L, Long::sum);\n }\n }\n\n // Group user messages by mode for no-response rate\n Map eligibleByMode = new HashMap<>();\n Map noResponseByMode = new HashMap<>();\n for (IrisDashboardUserMessageResultDTO msg : userMessages) {\n String mode = msg.modeLabel() != null ? msg.modeLabel() : \"UNKNOWN\";\n eligibleByMode.merge(mode, 1L, Long::sum);\n if (!msg.hasAssistantResponse()) {\n noResponseByMode.merge(mode, 1L, Long::sum);\n }\n }\n\n List entries = new ArrayList<>();\n for (String mode : sessionsByMode.keySet()) {\n long sessions = sessionsByMode.getOrDefault(mode, 0L);\n long active = activeSessionsByMode.getOrDefault(mode, 0L);\n long eligible = eligibleByMode.getOrDefault(mode, 0L);\n long noResp = noResponseByMode.getOrDefault(mode, 0L);\n double noRespRate = eligible > 0 ? (double) noResp / eligible * 100.0 : 0.0;\n Map values = new LinkedHashMap<>();\n values.put(\"sessions\", (double) sessions);\n values.put(\"activeSessions\", (double) active);\n values.put(\"messages\", (double) eligible);\n values.put(\"noResponseRate\", noRespRate);\n entries.add(new IrisDashboardBreakdownEntryDTO(mode, values));\n }\n return entries;\n }\n\n private List computeCourseBreakdown(Instant from, Instant to, String aiSelection) {\n List rows = dashboardRepository.findTopCoursesBySessionCount(from, to, aiSelection, 10);\n List courseIds = rows.stream().map(row -> ((Number) row[0]).longValue()).toList();\n Map courseNameMap = resolveCourseNames(courseIds);\n List entries = new ArrayList<>();\n\n for (Object[] row : rows) {\n long courseId = ((Number) row[0]).longValue();\n long sessionCount = ((Number) row[1]).longValue();\n String courseName = courseNameMap.getOrDefault(courseId, \"Unknown Course #\" + courseId);\n Map values = new LinkedHashMap<>();\n values.put(\"sessions\", (double) sessionCount);\n entries.add(new IrisDashboardBreakdownEntryDTO(courseName, values));\n }\n return entries;\n }\n\n private Map resolveCourseNames(List courseIds) {\n Map nameMap = new HashMap<>();\n for (Course course : courseRepository.findAllById(courseIds)) {\n nameMap.put(course.getId(), course.getTitle());\n }\n return nameMap;\n }\n\n private List computeModelBreakdown(Instant from, Instant to, String aiSelection) {\n List rows = dashboardRepository.computeTokenCostByModel(from, to, aiSelection);\n List entries = new ArrayList<>();\n\n for (Object[] row : rows) {\n String model = row[0] != null ? row[0].toString() : \"unknown\";\n long totalTokens = ((Number) row[1]).longValue();\n double costUsd = ((Number) row[2]).doubleValue();\n Map values = new LinkedHashMap<>();\n values.put(\"totalTokens\", (double) totalTokens);\n values.put(\"costUsd\", costUsd);\n values.put(\"unpricedRequests\", ((Number) row[3]).doubleValue());\n entries.add(new IrisDashboardBreakdownEntryDTO(model, values));\n }\n return entries;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/82372996793c667df0ca1e5f9f4dc6a1d2166899.json b/web/public/bundles/artemis/code/82372996793c667df0ca1e5f9f4dc6a1d2166899.json new file mode 100644 index 00000000..094d7afc --- /dev/null +++ b/web/public/bundles/artemis/code/82372996793c667df0ca1e5f9f4dc6a1d2166899.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "82372996793c667df0ca1e5f9f4dc6a1d2166899", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/ExerciseTimeline.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exercise.domain;\n\nimport static de.tum.cit.aet.artemis.core.util.DateUtil.validateStrictDateSequence;\n\nimport java.time.ZonedDateTime;\nimport java.util.Arrays;\nimport java.util.Collections;\nimport java.util.List;\n\nimport jakarta.persistence.Column;\nimport jakarta.persistence.MappedSuperclass;\n\nimport org.jspecify.annotations.Nullable;\n\nimport de.tum.cit.aet.artemis.core.domain.DomainObject;\n\n/** The common timeline of an exercise and the variant group whose dates its members adopt. */\n@MappedSuperclass\npublic abstract class ExerciseTimeline extends DomainObject {\n\n @Column(name = \"release_date\")\n @Nullable\n private ZonedDateTime releaseDate;\n\n @Column(name = \"start_date\")\n @Nullable\n private ZonedDateTime startDate;\n\n @Column(name = \"due_date\")\n @Nullable\n private ZonedDateTime dueDate;\n\n @Column(name = \"assessment_due_date\")\n @Nullable\n private ZonedDateTime assessmentDueDate;\n\n @Column(name = \"example_solution_publication_date\")\n @Nullable\n private ZonedDateTime exampleSolutionPublicationDate;\n\n @Nullable\n public ZonedDateTime getReleaseDate() {\n return releaseDate;\n }\n\n public void setReleaseDate(@Nullable ZonedDateTime releaseDate) {\n this.releaseDate = releaseDate;\n }\n\n @Nullable\n public ZonedDateTime getStartDate() {\n return startDate;\n }\n\n public void setStartDate(@Nullable ZonedDateTime startDate) {\n this.startDate = startDate;\n }\n\n @Nullable\n public ZonedDateTime getDueDate() {\n return dueDate;\n }\n\n public void setDueDate(@Nullable ZonedDateTime dueDate) {\n this.dueDate = dueDate;\n }\n\n @Nullable\n public ZonedDateTime getAssessmentDueDate() {\n return assessmentDueDate;\n }\n\n public void setAssessmentDueDate(@Nullable ZonedDateTime assessmentDueDate) {\n this.assessmentDueDate = assessmentDueDate;\n }\n\n @Nullable\n public ZonedDateTime getExampleSolutionPublicationDate() {\n return exampleSolutionPublicationDate;\n }\n\n public void setExampleSolutionPublicationDate(@Nullable ZonedDateTime exampleSolutionPublicationDate) {\n this.exampleSolutionPublicationDate = exampleSolutionPublicationDate;\n }\n\n /** Shared strict ordering; exercise-specific exam restrictions and error responses stay with the callers. */\n boolean hasValidTimelineDates() {\n boolean releaseDateValid = validateStrictDateSequence(List.of(), getReleaseDate(),\n Arrays.asList(getStartDate(), getDueDate(), getAssessmentDueDate(), getExampleSolutionPublicationDate()));\n boolean startDateValid = validateStrictDateSequence(Collections.singletonList(getReleaseDate()), getStartDate(),\n Arrays.asList(getDueDate(), getAssessmentDueDate(), getExampleSolutionPublicationDate()));\n boolean dueDateValid = validateStrictDateSequence(Arrays.asList(getReleaseDate(), getStartDate()), getDueDate(),\n Arrays.asList(getAssessmentDueDate(), getExampleSolutionPublicationDate()));\n boolean assessmentDueDateValid = validateAssessmentDueDate();\n boolean exampleSolutionPublicationDateValid = validateStrictDateSequence(Arrays.asList(getReleaseDate(), getStartDate(), getDueDate(), getAssessmentDueDate()),\n getExampleSolutionPublicationDate(), List.of());\n\n return releaseDateValid && startDateValid && dueDateValid && assessmentDueDateValid && exampleSolutionPublicationDateValid;\n }\n\n private boolean validateAssessmentDueDate() {\n if (getAssessmentDueDate() == null) {\n return true;\n }\n if (getDueDate() == null) {\n return false;\n }\n return validateStrictDateSequence(Arrays.asList(getReleaseDate(), getStartDate(), getDueDate()), getAssessmentDueDate(),\n Collections.singletonList(getExampleSolutionPublicationDate()));\n }\n\n}\n" +} diff --git a/web/public/bundles/artemis/code/823f07c876682f9ada0382be8400dd0346366749.json b/web/public/bundles/artemis/code/823f07c876682f9ada0382be8400dd0346366749.json new file mode 100644 index 00000000..e01e5814 --- /dev/null +++ b/web/public/bundles/artemis/code/823f07c876682f9ada0382be8400dd0346366749.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "823f07c876682f9ada0382be8400dd0346366749", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/ModelingAssessmentDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.modeling.dto;\n\nimport java.util.List;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.assessment.dto.FeedbackDTO;\n\n/**\n * Input DTO for saving or submitting a modeling assessment.\n *

\n * The controller maps {@link FeedbackDTO} to {@code Feedback} before persisting. {@code @JsonInclude(ALWAYS)} is explicit\n * (matching Jackson's default) rather than {@code NON_EMPTY}: this is a request body and an empty {@code feedbacks} list\n * must stay an empty array on the wire (the save path clears the existing feedback when an empty list is sent, mirroring\n * the previous behavior where the list was never null).\n *\n * @param feedbacks the feedback items of the assessment\n * @param assessmentNote the optional assessment note attached to the result\n */\n@JsonInclude\npublic record ModelingAssessmentDTO(List feedbacks, String assessmentNote) {\n}\n" +} diff --git a/web/public/bundles/artemis/code/834645139793d1c1358af8150144179f7f928ef1.json b/web/public/bundles/artemis/code/834645139793d1c1358af8150144179f7f928ef1.json new file mode 100644 index 00000000..a084e061 --- /dev/null +++ b/web/public/bundles/artemis/code/834645139793d1c1358af8150144179f7f928ef1.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "834645139793d1c1358af8150144179f7f928ef1", + "language": "typescript", + "path": "src/main/webapp/app/hyperion/exercise-generation/run/hyperion-run-link.component.ts", + "schema": "codexray.code/1", + "text": "import { HyperionStatusState } from 'app/hyperion/shared/status/hyperion-status.component';\nimport { HyperionStatusComponent } from 'app/hyperion/shared/status/hyperion-status.component';\nimport { ChangeDetectionStrategy, Component, computed, inject, input } from '@angular/core';\nimport { toObservable, toSignal } from '@angular/core/rxjs-interop';\nimport { RouterLink } from '@angular/router';\nimport { catchError, exhaustMap, merge, of, startWith, switchMap, timer } from 'rxjs';\nimport { TumAetUiButtonDirective } from '@tumaet/ui-angular/button';\nimport { MODULE_FEATURE_HYPERION_EXERCISE_GENERATION } from 'app/app.constants';\nimport { ProfileService } from 'app/core/layouts/profiles/shared/profile.service';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { ProgrammingExercise } from 'app/programming/shared/entities/programming-exercise.model';\nimport { HyperionExerciseGenerationService } from '../hyperion-exercise-generation.service';\nimport { supportsHyperionExerciseGeneration } from '../hyperion-generation-support';\n\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { runOutcome } from '../model/hyperion-generation-stages';\n\n/** Re-entry from exercise details, visible only while the server still has a run or result. */\n@Component({\n selector: 'jhi-hyperion-run-link',\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [RouterLink, TumAetUiButtonDirective, HyperionStatusComponent, TranslateDirective, ArtemisTranslatePipe],\n template: `\n @if (status()?.jobId) {\n \n \n \n \n }\n `,\n})\nexport class HyperionRunLinkComponent {\n private readonly service = inject(HyperionExerciseGenerationService);\n private readonly profile = inject(ProfileService);\n readonly exercise = input.required();\n private readonly exerciseId = computed(() => {\n const exercise = this.exercise();\n return exercise.isAtLeastEditor &&\n this.profile.isModuleFeatureActive(MODULE_FEATURE_HYPERION_EXERCISE_GENERATION) &&\n supportsHyperionExerciseGeneration(exercise.programmingLanguage, exercise.projectType)\n ? exercise.id\n : undefined;\n });\n protected readonly status = toSignal(\n toObservable(this.exerciseId).pipe(\n switchMap((id) =>\n id === undefined\n ? of(undefined)\n : merge(timer(30_000, 30_000), this.service.subscribeToExerciseState(id)).pipe(\n startWith(undefined),\n exhaustMap(() => this.service.getStatus(id).pipe(catchError(() => of(undefined)))),\n startWith(undefined),\n ),\n ),\n ),\n );\n protected readonly inspectorReference = computed(() => `authoring:${this.exercise().id}:${this.status()?.ownedByCaller ? this.status()?.jobId : 'latest'}`);\n protected readonly runStatus = computed(() => (this.status()?.running ? 'running' : (runOutcome(this.status()?.events ?? []) ?? 'unknown')));\n protected readonly dotState = computed(() => {\n switch (this.runStatus()) {\n case 'running':\n return 'running';\n case 'saved':\n return 'success';\n case 'needsReview':\n case 'partial':\n return 'warning';\n case 'failed':\n return 'danger';\n default:\n return 'neutral';\n }\n });\n protected readonly statusLabelKey = computed(() => 'artemisApp.hyperion.generation.status.' + this.runStatus());\n protected readonly labelKey = computed(() => `artemisApp.hyperion.generation.actions.${this.status()?.running ? 'viewRun' : 'viewResults'}`);\n}\n" +} diff --git a/web/public/bundles/artemis/code/83c9cda407d56927f9c64f2d4e33ad37c2baffe9.json b/web/public/bundles/artemis/code/83c9cda407d56927f9c64f2d4e33ad37c2baffe9.json new file mode 100644 index 00000000..3d136ee8 --- /dev/null +++ b/web/public/bundles/artemis/code/83c9cda407d56927f9c64f2d4e33ad37c2baffe9.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "83c9cda407d56927f9c64f2d4e33ad37c2baffe9", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/SlideLifecycleServiceApi.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.lecture.api;\n\nimport java.time.ZonedDateTime;\nimport java.util.concurrent.ScheduledFuture;\n\nimport de.tum.cit.aet.artemis.core.api.AbstractApi;\nimport de.tum.cit.aet.artemis.lecture.domain.Slide;\nimport de.tum.cit.aet.artemis.lecture.domain.SlideLifecycle;\n\n/**\n * Service API for scheduling tasks at specific points in the lifecycle of a slide.\n */\npublic interface SlideLifecycleServiceApi extends AbstractApi {\n\n /**\n * Schedule a {@code Runnable} task in the lifecycle of a slide.\n *\n * @param slide The slide for which the task is scheduled\n * @param lifecycleDate The date at which the task should be executed\n * @param lifecycle The lifecycle event that triggers the task\n * @param task The task to be executed\n * @return The {@code ScheduledFuture} allows to later cancel the task\n */\n ScheduledFuture scheduleTask(Slide slide, ZonedDateTime lifecycleDate, SlideLifecycle lifecycle, Runnable task);\n\n /**\n * Schedule a {@code Runnable} task in the lifecycle of a slide.\n *\n * @param slide The slide for which the task is scheduled\n * @param lifecycle The lifecycle event that triggers the task\n * @param task The task to be executed\n * @return The {@code ScheduledFuture} allows to later cancel the task\n */\n ScheduledFuture scheduleTask(Slide slide, SlideLifecycle lifecycle, Runnable task);\n}\n" +} diff --git a/web/public/bundles/artemis/code/84b527ed8e10bde1520ab8255b8a043a49bf34ea.json b/web/public/bundles/artemis/code/84b527ed8e10bde1520ab8255b8a043a49bf34ea.json new file mode 100644 index 00000000..fd1f389b --- /dev/null +++ b/web/public/bundles/artemis/code/84b527ed8e10bde1520ab8255b8a043a49bf34ea.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "84b527ed8e10bde1520ab8255b8a043a49bf34ea", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/domain/ConversationNotificationRecipientSummary.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.communication.domain;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\n\n/**\n * Stores the user of a conversation participant, who is supposed to receive a websocket message and stores whether\n * the corresponding conversation is hidden by the user.\n *\n * @param userId the id of the user who is a member of the conversation\n * @param userLogin the login of the user who is a member of the conversation\n * @param firstName the first name of the user\n * @param lastName the last name of the user\n * @param userLangKey the language key of the user\n * @param userEmail the email address of the user\n * @param isTestUser whether the user is a test user, which gets no e-mail it did not ask for and must therefore stay recognizable where\n * the user is rebuilt from this summary\n * @param isConversationMuted whether the user muted the conversation\n * @param isConversationHidden whether the user hid the conversation\n * @param isAtLeastTutorInCourse true if the user is at least a tutor in the course\n */\npublic record ConversationNotificationRecipientSummary(long userId, String userLogin, String firstName, String lastName, String userLangKey, String userEmail, boolean isTestUser,\n boolean isConversationMuted, boolean isConversationHidden, boolean isAtLeastTutorInCourse) {\n\n public ConversationNotificationRecipientSummary(User user, boolean isConversationMuted, boolean isConversationHidden, boolean isAtLeastTutorInCourse) {\n this(user.getId(), user.getLogin(), user.getFirstName(), user.getLastName(), user.getLangKey(), user.getEmail(), user.isTestUser(), isConversationMuted,\n isConversationHidden, isAtLeastTutorInCourse);\n }\n\n public boolean shouldNotifyRecipient() {\n return !isConversationMuted && !isConversationHidden;\n }\n\n /**\n * Rebuilds a light {@link User} from this summary, for the code that only has the summary and has to hand a user to the notifications. It carries\n * everything the notifications read, including the test user flag that decides whether an e-mail is sent.\n *\n * @return a user with the id, the login, the name, the language, the e-mail address and the test user flag of the recipient\n */\n public User toUser() {\n var user = new User(userId, userLogin, firstName, lastName, userLangKey, userEmail);\n user.setTestUser(isTestUser);\n return user;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/857645c9f831f92ea0e1afce40e263807d77660f.json b/web/public/bundles/artemis/code/857645c9f831f92ea0e1afce40e263807d77660f.json new file mode 100644 index 00000000..889c229c --- /dev/null +++ b/web/public/bundles/artemis/code/857645c9f831f92ea0e1afce40e263807d77660f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "857645c9f831f92ea0e1afce40e263807d77660f", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/LocalVCAccessLogRecorderService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.localvc.service;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PERSONAL_ACCESS_TOKEN_PREFIX;\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_LOCALVC;\nimport static de.tum.cit.aet.artemis.localvc.service.LocalVCCredentials.extractUsernameAndPassword;\nimport static de.tum.cit.aet.artemis.localvc.service.LocalVCCredentials.secretMatches;\nimport static de.tum.cit.aet.artemis.localvc.service.LocalVCPersonalAccessTokenManagementService.TOKEN_PREFIX;\n\nimport java.time.ZoneId;\nimport java.time.ZonedDateTime;\nimport java.util.Objects;\nimport java.util.Optional;\n\nimport jakarta.servlet.http.HttpServletRequest;\n\nimport org.apache.sshd.server.session.ServerSession;\nimport org.eclipse.jgit.http.server.ServletUtils;\nimport org.eclipse.jgit.lib.Repository;\nimport org.jspecify.annotations.Nullable;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.http.HttpHeaders;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.account.repository.UserRepository;\nimport de.tum.cit.aet.artemis.core.exception.EntityNotFoundException;\nimport de.tum.cit.aet.artemis.localvc.exception.LocalVCAuthException;\nimport de.tum.cit.aet.artemis.localvc.service.LocalVCCredentials.UsernameAndPassword;\nimport de.tum.cit.aet.artemis.localvc.service.ssh.SshConstants;\nimport de.tum.cit.aet.artemis.programming.domain.AuthenticationMechanism;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingExerciseParticipation;\nimport de.tum.cit.aet.artemis.programming.repository.RepositoryVCSAccessTokenRepository;\nimport de.tum.cit.aet.artemis.programming.service.ProgrammingExerciseParticipationService;\nimport de.tum.cit.aet.artemis.programming.web.repository.RepositoryActionType;\n\n/**\n * Writes the VCS access log entries of git operations that are served, over HTTPS and over SSH, and works out how a request authenticated.\n *

\n * An operation is written once, as one entry, when it is over and everything about it is known. Git over HTTPS is several requests that nothing links, so no step looks for\n * the entry of another one, and no entry is ever changed. The hooks of the request or command fill a {@link GitOperationAudit} while it runs, and the filter of the request or\n * the SSH command hands it over afterwards:\n *

    \n *
  • A fetch that sent data is a clone if the client offered nothing and a pull otherwise.
  • \n *
  • A push that brought commands is a push with the pushed commit if the repository accepted it, and a failed push with the commit the repository had before if it did not.
  • \n *
  • Over SSH a command that moves no data, a fetch that is up to date or a push with nothing new, is an access of its own and is written as a read or a write.
  • \n *
  • Over HTTPS the request that advertises the references is written as a read or a write, because it is all there is of an operation that is up to date. When data follows,\n * the operation is a clone, pull or push, and the log shows that instead: the advertisement and the transfer cannot be linked here, so they are joined when the log is read, by\n * {@code VcsAccessLogOperations}. A request that only negotiates, or the check before a large push, leaves no entry.
  • \n *
  • An attempt that was rejected is a failed clone or push, whether the credentials or the authorization did not hold.
  • \n *
\n */\n@Lazy\n@Service\n@Profile(PROFILE_LOCALVC)\npublic class LocalVCAccessLogRecorderService {\n\n private static final Logger log = LoggerFactory.getLogger(LocalVCAccessLogRecorderService.class);\n\n /** The {@link AccessLogSubject} the authorization stored on an HTTPS request, absent if the repository has no participation. */\n private static final String SUBJECT_ATTRIBUTE = LocalVCAccessLogRecorderService.class.getName() + \".subject\";\n\n /** The {@link GitOperationAudit} of an HTTPS request. */\n private static final String AUDIT_ATTRIBUTE = LocalVCAccessLogRecorderService.class.getName() + \".audit\";\n\n // Optional until LocalVC is the only supported version control, like the same field of LocalVCServletService\n private final Optional vcsAccessLogService;\n\n private final UserRepository userRepository;\n\n private final UserVcsAccessTokenService userVcsAccessTokenService;\n\n private final RepositoryVCSAccessTokenRepository repositoryVCSAccessTokenRepository;\n\n private final ProgrammingExerciseParticipationService programmingExerciseParticipationService;\n\n /**\n * Creates the recorder.\n *\n * @param vcsAccessLogService writes the entries, absent on an installation without LocalVC\n * @param userRepository finds the user of a rejected request\n * @param userVcsAccessTokenService tells whether a credential is the personal access token of a user\n * @param repositoryVCSAccessTokenRepository tells whether a credential is the token of a user for one repository\n * @param programmingExerciseParticipationService finds the participation a rejected attempt is written for\n */\n public LocalVCAccessLogRecorderService(Optional vcsAccessLogService, UserRepository userRepository, UserVcsAccessTokenService userVcsAccessTokenService,\n RepositoryVCSAccessTokenRepository repositoryVCSAccessTokenRepository, ProgrammingExerciseParticipationService programmingExerciseParticipationService) {\n this.vcsAccessLogService = vcsAccessLogService;\n this.userRepository = userRepository;\n this.userVcsAccessTokenService = userVcsAccessTokenService;\n this.repositoryVCSAccessTokenRepository = repositoryVCSAccessTokenRepository;\n this.programmingExerciseParticipationService = programmingExerciseParticipationService;\n }\n\n /**\n * Remembers who an authorized HTTPS request is for, so that the entry of its operation can be written when the operation is over. Nothing is written yet.\n *\n * @param request the authorized request\n * @param user the authenticated user\n * @param optionalParticipation the participation that owns the repository, if any\n * @param authenticationMechanism the credential used by this request\n */\n public void rememberSubjectHTTPS(HttpServletRequest request, User user, Optional optionalParticipation,\n AuthenticationMechanism authenticationMechanism) {\n request.removeAttribute(SUBJECT_ATTRIBUTE);\n optionalParticipation.ifPresent(\n participation -> request.setAttribute(SUBJECT_ATTRIBUTE, new AccessLogSubject(user, participation.getId(), authenticationMechanism, request.getRemoteAddr())));\n }\n\n /**\n * Gives the audit of an HTTPS request, which the hooks fill and the filter reads afterwards. It is created on first use.\n *\n * @param request the request\n * @return the audit of this request\n */\n public GitOperationAudit auditOf(HttpServletRequest request) {\n if (request.getAttribute(AUDIT_ATTRIBUTE) instanceof GitOperationAudit audit) {\n return audit;\n }\n var audit = new GitOperationAudit();\n request.setAttribute(AUDIT_ATTRIBUTE, audit);\n return audit;\n }\n\n /**\n * Writes the entry of the fetch that an HTTPS request was, if it was one. Called when the request is over.\n *\n * @param request the request\n */\n public void recordFetchHTTPS(HttpServletRequest request) {\n var subject = subjectOf(request);\n var audit = auditOf(request);\n if (subject != null && !audit.isPackSent() && audit.isAccessed()) {\n write(subject, RepositoryActionType.READ, audit.getCommitHashWhenAccessed(), audit.getAccessedAt());\n return;\n }\n recordFetch(subject, audit);\n }\n\n /**\n * Writes the entry of the push that an HTTPS request was, if it was one. Called when the request is over.\n *\n * @param request the request\n */\n public void recordPushHTTPS(HttpServletRequest request) {\n var subject = subjectOf(request);\n var audit = auditOf(request);\n if (subject != null && !audit.isPushReceived() && audit.isAccessed()) {\n write(subject, RepositoryActionType.WRITE, audit.getCommitHashWhenAccessed(), audit.getAccessedAt());\n return;\n }\n recordPush(subject, audit);\n }\n\n /**\n * Gives the newest commit of the repository that an HTTPS request is for.\n *\n * @param request a request that the git servlet has resolved a repository for\n * @return the hash of the newest commit, null if there is none or the repository is not known\n */\n static @Nullable String headCommitOf(HttpServletRequest request) {\n try {\n return LocalVCFetchPreUploadHook.headCommitOf(ServletUtils.getRepository(request));\n }\n catch (RuntimeException e) {\n log.debug(\"Could not read the newest commit of the repository of {}\", request.getRequestURI(), e);\n return null;\n }\n }\n\n private static @Nullable AccessLogSubject subjectOf(HttpServletRequest request) {\n return request.getAttribute(SUBJECT_ATTRIBUTE) instanceof AccessLogSubject subject ? subject : null;\n }\n\n /**\n * Writes the entry of a fetch that sent data: a clone if the client offered nothing, otherwise a pull. A fetch that sent nothing is not an operation.\n *\n * @param subject who fetched from which repository, null if that is unknown, for example for a build agent, which has entries of its own\n * @param audit what the hooks learned about the fetch\n */\n public void recordFetch(@Nullable AccessLogSubject subject, GitOperationAudit audit) {\n if (subject == null || !audit.isPackSent()) {\n return;\n }\n var action = audit.getObjectsOffered() == 0 ? RepositoryActionType.CLONE : RepositoryActionType.PULL;\n write(subject, action, audit.getCommitHashWhenSent());\n }\n\n /**\n * Writes the entry of a push that brought commands: a push with the pushed commit if the repository accepted it, a failed push with the commit from before otherwise.\n * A push without commands is not an operation.\n *\n * @param subject who pushed to which repository, null if that is unknown\n * @param audit what the hooks learned about the push\n */\n public void recordPush(@Nullable AccessLogSubject subject, GitOperationAudit audit) {\n if (subject == null || !audit.isPushReceived()) {\n return;\n }\n var pushedCommitHash = audit.getPushedCommitHash();\n if (pushedCommitHash != null) {\n write(subject, RepositoryActionType.PUSH, pushedCommitHash);\n }\n else {\n write(subject, RepositoryActionType.PUSH_FAIL, audit.getCommitHashBeforePush());\n }\n }\n\n /**\n * Writes the entry of an SSH command that fetched: a clone or pull if data was sent, otherwise a read. Over SSH one command is one operation, so a fetch that moves no\n * data, because the client is up to date, or that only lists the references, is still an access and is written.\n *\n * @param subject who fetched from which repository, null if that is unknown\n * @param audit what the hooks learned about the fetch\n * @param repository the repository of the command, which says what the newest commit was\n */\n public void recordFetchSSH(@Nullable AccessLogSubject subject, GitOperationAudit audit, Repository repository) {\n if (subject != null && !audit.isPackSent()) {\n write(subject, RepositoryActionType.READ, LocalVCFetchPreUploadHook.headCommitOf(repository));\n return;\n }\n recordFetch(subject, audit);\n }\n\n /**\n * Writes the entry of an SSH command that pushed: a push or failed push if it brought commands, otherwise a write. A push that has nothing new is still an access.\n *\n * @param subject who pushed to which repository, null if that is unknown\n * @param audit what the hooks learned about the push\n * @param repository the repository of the command, which says what the newest commit is\n */\n public void recordPushSSH(@Nullable AccessLogSubject subject, GitOperationAudit audit, Repository repository) {\n if (subject != null && !audit.isPushReceived()) {\n write(subject, RepositoryActionType.WRITE, LocalVCFetchPreUploadHook.headCommitOf(repository));\n return;\n }\n recordPush(subject, audit);\n }\n\n private void write(AccessLogSubject subject, RepositoryActionType action, @Nullable String commitHash) {\n write(subject, action, commitHash, null);\n }\n\n /**\n * Writes an entry. The entry of an advertisement carries the time of its request: it is written after the response was sent, and the next request of the same operation can be\n * written before it, which the log reads by the times of the entries.\n */\n private void write(AccessLogSubject subject, RepositoryActionType action, @Nullable String commitHash, @Nullable ZonedDateTime accessedAt) {\n if (vcsAccessLogService.isEmpty()) {\n return;\n }\n // An SSH session is closed as soon as the client has its answer, which is before the entry of the command is written, and closing it interrupts the thread of the command.\n // An interrupted thread cannot wait for a database connection, so the entry is written as if there was no interrupt, and the interrupt is passed on afterwards. If it\n // arrives while the entry is written, the entry is written once more.\n boolean interrupted = Thread.interrupted();\n // The time of the access stays the same if the entry is written once more, as the entries of an operation are joined by their times\n ZonedDateTime firstAttemptAt = ZonedDateTime.now(ZoneId.systemDefault());\n try {\n for (int attempt = 1; attempt <= 2; attempt++) {\n try {\n store(subject, action, commitHash, attempt == 1 ? accessedAt : Objects.requireNonNullElse(accessedAt, firstAttemptAt));\n return;\n }\n catch (RuntimeException e) {\n boolean cancelled = isCausedByInterruption(e);\n interrupted |= cancelled;\n if (cancelled && attempt == 1) {\n Thread.interrupted();\n continue;\n }\n // The operation has happened and its response must not change for it, so a failure to describe it is only reported.\n log.warn(\"Could not write the VCS access log entry ({}) of user {} to participation {}\", action, subject.user().getLogin(), subject.participationId(), e);\n return;\n }\n }\n }\n finally {\n if (interrupted) {\n Thread.currentThread().interrupt();\n }\n }\n }\n\n private void store(AccessLogSubject subject, RepositoryActionType action, @Nullable String commitHash, @Nullable ZonedDateTime accessedAt) {\n if (accessedAt == null) {\n vcsAccessLogService.get().createAccessLog(subject.user(), subject.participationId(), action, subject.mechanism(), Objects.requireNonNullElse(commitHash, \"\"),\n subject.ipAddress());\n }\n else {\n vcsAccessLogService.get().createAccessLog(subject.user(), subject.participationId(), action, subject.mechanism(), Objects.requireNonNullElse(commitHash, \"\"),\n subject.ipAddress(), accessedAt);\n }\n }\n\n private static boolean isCausedByInterruption(Throwable failure) {\n int depth = 0;\n for (Throwable cause = failure; cause != null && depth < 10; cause = cause.getCause(), depth++) {\n if (cause instanceof InterruptedException) {\n return true;\n }\n }\n return false;\n }\n\n /**\n * Determines the authentication mechanism based on the provided session or request.\n *\n *

\n * If a {@link ServerSession} is present, the authentication mechanism is assumed to be SSH.\n *

\n *

\n * If an {@link HttpServletRequest} is present, the method attempts to resolve the authentication\n * mechanism using the authorization header. If an exception occurs, HTTPS authentication is assumed by default.\n *

\n *

\n * If neither a session nor a request is available, the authentication mechanism defaults to OTHER.\n *

\n *\n * @param context the Authentication context\n * @param user the user for whom authentication is being determined\n * @param localVCRepositoryUri the URI of the repository the user tried to access (used to recognize repository-scoped tokens)\n * @return the resolved {@link AuthenticationMechanism}\n */\n public AuthenticationMechanism resolveAuthenticationMechanismFromSessionOrRequest(AuthenticationContext context, User user, LocalVCRepositoryUri localVCRepositoryUri) {\n switch (context) {\n case AuthenticationContext.Session _ -> {\n return AuthenticationMechanism.SSH;\n }\n case AuthenticationContext.Request(HttpServletRequest httpRequest) -> {\n try {\n return resolveHTTPSAuthenticationMechanism(httpRequest.getHeader(HttpHeaders.AUTHORIZATION), user, localVCRepositoryUri);\n }\n catch (LocalVCAuthException _) {\n return AuthenticationMechanism.AUTH_HEADER_MISSING;\n }\n }\n }\n }\n\n /**\n * Resolves the user's authentication mechanism for the repository\n *\n * @param authorizationHeader the request's authorizationHeader, containing the token or password\n * @param user the user\n * @return the authentication type\n * @throws LocalVCAuthException if extracting the token or password from the authorizationHeader fails\n */\n private AuthenticationMechanism resolveHTTPSAuthenticationMechanism(String authorizationHeader, User user, LocalVCRepositoryUri localVCRepositoryUri)\n throws LocalVCAuthException {\n UsernameAndPassword usernameAndPassword = extractUsernameAndPassword(authorizationHeader);\n\n String password = usernameAndPassword.password();\n if (password.startsWith(PERSONAL_ACCESS_TOKEN_PREFIX)) {\n return AuthenticationMechanism.AGENT_ACCESS_TOKEN;\n }\n if (!password.startsWith(TOKEN_PREFIX)) {\n return AuthenticationMechanism.PASSWORD;\n }\n if (secretMatches(userVcsAccessTokenService.findToken(user.getId()), password)) {\n return AuthenticationMechanism.USER_VCS_ACCESS_TOKEN;\n }\n if (localVCRepositoryUri != null) {\n var repositoryToken = repositoryVCSAccessTokenRepository.findByUserIdAndRepositoryUri(user.getId(), localVCRepositoryUri.toString());\n if (repositoryToken.isPresent() && secretMatches(repositoryToken.get().getVcsAccessToken(), password)) {\n return AuthenticationMechanism.REPOSITORY_VCS_ACCESS_TOKEN;\n }\n }\n return AuthenticationMechanism.PARTICIPATION_VCS_ACCESS_TOKEN;\n }\n\n /**\n * Remembers who an SSH command is for, so that the entry of its operation can be written when the operation is over. Nothing is written yet.\n *

\n * The state of the command that ran before is dropped first. A connection can carry several commands one after another, and a command whose repository has no participation\n * (an auxiliary repository, say) would otherwise be handled with the participation of the previous one. The command itself reads the subject from the session when it\n * starts, before the next command can replace it.\n *\n * @param user the user accessing the repository\n * @param optionalParticipation the participation associated with the repository\n * @param authenticationMechanism the mechanism used for authentication\n * @param ipAddress the IP address of the user accessing the repository\n * @param serverSession the SSH serverSession, where the data gets stored\n */\n public void cacheAttributesInSshSession(User user, Optional optionalParticipation, AuthenticationMechanism authenticationMechanism,\n String ipAddress, ServerSession serverSession) {\n serverSession.removeAttribute(SshConstants.ACCESS_LOG_SUBJECT_KEY);\n serverSession.removeAttribute(SshConstants.PARTICIPATION_KEY);\n if (optionalParticipation.isEmpty()) {\n return;\n }\n ProgrammingExerciseParticipation participation = optionalParticipation.get();\n serverSession.setAttribute(SshConstants.PARTICIPATION_KEY, participation);\n serverSession.setAttribute(SshConstants.ACCESS_LOG_SUBJECT_KEY, new AccessLogSubject(user, participation.getId(), authenticationMechanism, ipAddress));\n }\n\n /**\n * Adds a failed HTTPS attempt, whose credentials did not hold, to the log as a failed clone or push.\n *

\n * The attempt can only be attributed if the credentials name an existing user and the repository belongs to a participation. The first request of every operation carries no\n * credentials at all, because git waits to be asked, so that case is not an attempt and is not passed here. The write never fails the request that is being rejected.\n *

\n * The entry carries no commit, because the repository was not reached. That is what tells a failed push written here from one that the repository refused after its references\n * were advertised: {@code VcsAccessLogOperations} joins only the latter to the advertisement.\n *\n * @param request the request, which carries the credentials\n * @param localVCRepositoryUri the repository the request was for\n * @param repositoryAction WRITE for a push, READ for a fetch\n */\n public void recordFailedAuthenticationHTTPS(HttpServletRequest request, LocalVCRepositoryUri localVCRepositoryUri, RepositoryActionType repositoryAction) {\n try {\n String authorizationHeader = request.getHeader(HttpHeaders.AUTHORIZATION);\n UsernameAndPassword usernameAndPassword = extractUsernameAndPassword(authorizationHeader);\n User user = userRepository.findOneByLogin(usernameAndPassword.username()).orElseThrow(LocalVCAuthException::new);\n AuthenticationMechanism mechanism = resolveHTTPSAuthenticationMechanism(authorizationHeader, user, localVCRepositoryUri);\n // One id, no entity: the entry only references the participation.\n var participation = programmingExerciseParticipationService.getParticipationReferenceForRepository(localVCRepositoryUri.getRepositoryTypeOrUserName(),\n localVCRepositoryUri.toString(), localVCRepositoryUri.getProjectKey());\n if (participation.isEmpty()) {\n return;\n }\n long participationId = participation.get().getId();\n var action = repositoryAction == RepositoryActionType.WRITE ? RepositoryActionType.PUSH_FAIL : RepositoryActionType.CLONE_FAIL;\n vcsAccessLogService.ifPresent(service -> service.saveAccessLog(user, participationId, action, mechanism, \"\", request.getRemoteAddr()));\n }\n catch (LocalVCAuthException | EntityNotFoundException _) {\n // Caught when: 1) no user, or 2) no exercise or participation was found. In none of these cases is there anybody to attribute an entry to\n }\n catch (RuntimeException e) {\n // This runs while a failed authentication is being answered, so nothing that happens here may replace the response the caller is about to send.\n log.warn(\"Could not write the VCS access log for a failed authentication on {}\", request.getRequestURI(), e);\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/881f9dd291fd6749199209ba149e3029a03183be.json b/web/public/bundles/artemis/code/881f9dd291fd6749199209ba149e3029a03183be.json new file mode 100644 index 00000000..858de388 --- /dev/null +++ b/web/public/bundles/artemis/code/881f9dd291fd6749199209ba149e3029a03183be.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "881f9dd291fd6749199209ba149e3029a03183be", + "language": "typescript", + "path": "src/main/webapp/app/exercise/statistics-graph/score-distribution-graph/statistics-score-distribution-graph.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, OnInit, computed, inject, input, signal } from '@angular/core';\nimport { round } from 'app/foundation/util/utils';\nimport { GraphColors } from 'app/exercise/shared/entities/statistics.model';\nimport { axisTickFormattingWithPercentageSign } from 'app/exercise/statistics-graph/util/statistics-graph.utils';\nimport { ExerciseType } from 'app/exercise/shared/entities/exercise/exercise.model';\nimport { ChartSeriesEntry } from 'app/shared-ui/chart/chart-data.model';\nimport { singleSeriesChart } from 'app/shared-ui/chart/tum-aet-ui-chart-adapters';\nimport { ArtemisNavigationUtilService } from 'app/foundation/util/navigation.utils';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { TumAetUiBarChartComponent, TumAetUiBarChartConfig, TumAetUiChartSelectEvent } from '@tumaet/ui-angular/chart';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { ExerciseGroup } from 'app/exam/shared/entities/exercise-group.model';\n\n@Component({\n selector: 'jhi-statistics-score-distribution-graph',\n templateUrl: './statistics-score-distribution-graph.component.html',\n imports: [TranslateDirective, TumAetUiBarChartComponent, ArtemisTranslatePipe],\n})\nexport class StatisticsScoreDistributionGraphComponent implements OnInit {\n private navigationService = inject(ArtemisNavigationUtilService);\n\n readonly averageScoreOfExercise = input();\n readonly scoreDistribution = input();\n readonly numberOfExerciseScores = input();\n readonly exerciseType = input.required();\n readonly courseId = input.required();\n readonly exerciseId = input.required();\n readonly exerciseGroup = input();\n\n readonly chartEntries = signal([]);\n\n readonly chartData = computed(() => singleSeriesChart(this.chartEntries(), [GraphColors.DARK_BLUE]));\n readonly chartConfig = computed(() => ({\n yAxis: { max: 100, tickFormatter: (value) => axisTickFormattingWithPercentageSign(String(value)) },\n tooltip: {\n label: (item) => `${this.lookUpAbsoluteValue(item.label)}`,\n },\n dataLabels: { formatter: (value) => `${value}` },\n }));\n\n // Data\n barChartLabels: string[] = [];\n relativeChartData: number[] = [];\n\n ngOnInit(): void {\n this.initializeChart();\n }\n\n private initializeChart(): void {\n this.barChartLabels = ['[0, 10)', '[10, 20)', '[20, 30)', '[30, 40)', '[40, 50)', '[50, 60)', '[60, 70)', '[70, 80)', '[80, 90)', '[90, 100]'];\n const numberOfExerciseScores = this.numberOfExerciseScores();\n if (numberOfExerciseScores && numberOfExerciseScores > 0) {\n this.relativeChartData = [];\n for (const value of this.scoreDistribution() ?? []) {\n this.relativeChartData.push(round((value * 100) / numberOfExerciseScores));\n }\n } else {\n this.relativeChartData = new Array(10).fill(0);\n }\n this.chartEntries.set(this.relativeChartData.map((data, index) => ({ name: this.barChartLabels[index], value: data })));\n }\n\n /**\n * Finds given the distribution bucket the corresponding absolute value\n * @param bucket the distribution bucket to determine the absolute Value for\n * @returns amount of submissions that achieved a score in the buckets range\n */\n lookUpAbsoluteValue(bucket: string) {\n const index = this.barChartLabels.indexOf(bucket);\n return this.scoreDistribution()?.[index];\n }\n\n /**\n * Handles the event if a user clicks on a certain chart bar\n * @param event identifies the clicked bar\n */\n selectChartBar(event: TumAetUiChartSelectEvent): void {\n const group = this.exerciseGroup();\n const examPath = group?.exam ? `/exams/${group.exam.id}/exercise-groups/${group.id}` : '';\n const route = [`/course-management/${this.courseId()}${examPath}/${this.exerciseType()}-exercises/${this.exerciseId()}/participations`];\n this.navigationService.routeInNewTab(route, { queryParams: { scoreRangeFilter: event.index } });\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/883ef8277f4ef7c3bbc3f26bad89b54f699cd70e.json b/web/public/bundles/artemis/code/883ef8277f4ef7c3bbc3f26bad89b54f699cd70e.json new file mode 100644 index 00000000..42fb184e --- /dev/null +++ b/web/public/bundles/artemis/code/883ef8277f4ef7c3bbc3f26bad89b54f699cd70e.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "883ef8277f4ef7c3bbc3f26bad89b54f699cd70e", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/config/Lti13LaunchFilter.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.lti.config;\n\nimport java.io.IOException;\nimport java.io.PrintWriter;\n\nimport jakarta.servlet.FilterChain;\nimport jakarta.servlet.ServletException;\nimport jakarta.servlet.http.HttpServletRequest;\nimport jakarta.servlet.http.HttpServletResponse;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.security.authentication.InternalAuthenticationServiceException;\nimport org.springframework.security.oauth2.core.OAuth2AuthenticationException;\nimport org.springframework.security.oauth2.core.oidc.OidcIdToken;\nimport org.springframework.security.oauth2.core.oidc.user.OidcUser;\nimport org.springframework.security.oauth2.jwt.JwtException;\nimport org.springframework.security.web.servlet.util.matcher.PathPatternRequestMatcher;\nimport org.springframework.web.client.HttpClientErrorException;\nimport org.springframework.web.filter.OncePerRequestFilter;\nimport org.springframework.web.util.UriComponentsBuilder;\n\nimport de.tum.cit.aet.artemis.core.exception.HttpStatusException;\nimport de.tum.cit.aet.artemis.core.exception.LtiEmailAlreadyInUseException;\nimport de.tum.cit.aet.artemis.core.security.SecurityUtils;\nimport de.tum.cit.aet.artemis.core.util.JsonObjectMapper;\nimport de.tum.cit.aet.artemis.lti.dto.Claims;\nimport de.tum.cit.aet.artemis.lti.dto.Lti13AuthenticationResponse;\nimport de.tum.cit.aet.artemis.lti.service.Lti13Service;\nimport uk.ac.ox.ctl.lti13.security.oauth2.client.lti.authentication.OidcAuthenticationToken;\nimport uk.ac.ox.ctl.lti13.security.oauth2.client.lti.web.OAuth2LoginAuthenticationFilter;\n\n/**\n * Filter for processing an LTI 1.3 Authorization Request response.\n * It listens for LTI login attempts {@see CustomLti13Configurer#LTI13_LOGIN_PATH} and processes them.\n * Step 3. of OpenID Connect Third Party Initiated Login is handled solely by spring-security-lti13\n * OAuth2LoginAuthenticationFilter.\n */\n@Conditional(LtiEnabled.class)\npublic class Lti13LaunchFilter extends OncePerRequestFilter {\n\n private final OAuth2LoginAuthenticationFilter defaultFilter;\n\n private final Lti13Service lti13Service;\n\n private final PathPatternRequestMatcher requestMatcher;\n\n private static final Logger log = LoggerFactory.getLogger(Lti13LaunchFilter.class);\n\n public Lti13LaunchFilter(OAuth2LoginAuthenticationFilter defaultFilter, String filterProcessingUrl, Lti13Service lti13Service) {\n this.defaultFilter = defaultFilter;\n this.lti13Service = lti13Service;\n this.requestMatcher = PathPatternRequestMatcher.withDefaults().matcher(filterProcessingUrl);\n }\n\n @Override\n protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain filterChain) throws ServletException, IOException {\n if (!this.requestMatcher.matches(request)) {\n filterChain.doFilter(request, response);\n return;\n }\n log.info(\"LTI 1.3 Launch request received for url {}\", request.getRequestURL().toString());\n\n try {\n // Login using the distributed authorization request repository\n OidcAuthenticationToken authToken = finishOidcFlow(request, response);\n OidcIdToken ltiIdToken = ((OidcUser) authToken.getPrincipal()).getIdToken();\n // Normalize legacy Iris deep links (issued as /courses/{id}/dashboard before the dashboard removal) so the\n // client redirect lands on the current Iris page instead of the removed dashboard route. The claim can be\n // absent (e.g. deep-linking requests), so read it null-safely instead of calling toString() on it.\n String targetLink = lti13Service.normalizeLegacyIrisTargetLink(ltiIdToken.getClaim(Claims.TARGET_LINK_URI));\n\n try {\n // here we need to check if this is a deep-linking request or a launch request\n if (CustomLti13Configurer.LTI13_DEEPLINK_MESSAGE_REQUEST.equals(ltiIdToken.getClaim(Claims.MESSAGE_TYPE))) {\n // Manually setting the deep linking path is required due to Moodle and edX's inconsistent deep linking implementation.\n // Unlike standard GET request-based methods, these platforms do not guarantee a uniform approach, necessitating\n // manual configuration to ensure reliable navigation and resource access compatibility.\n targetLink = CustomLti13Configurer.LTI13_DEEPLINK_SELECT_COURSE_PATH;\n lti13Service.startDeepLinking(ltiIdToken, authToken.getAuthorizedClientRegistrationId());\n }\n else {\n lti13Service.performLaunch(ltiIdToken, authToken.getAuthorizedClientRegistrationId());\n }\n }\n catch (LtiEmailAlreadyInUseException ex) {\n // LtiEmailAlreadyInUseException is thrown in case of user who has email address in use is not authenticated after targetLink is set\n // We need targetLink to redirect user on the client-side after successful authentication\n log.error(\"LTI 1.3 launch failed due to email already in use: {}\", ex.getMessage(), ex);\n handleLtiEmailAlreadyInUseException(response, ltiIdToken);\n }\n\n writeResponse(targetLink, ltiIdToken, authToken.getAuthorizedClientRegistrationId(), response);\n }\n catch (HttpStatusException ex) {\n // BadRequestAlertException and other Artemis HttpStatusException subclasses carry their own HTTP status\n // (e.g. 400 for \"Course not found\"). Without this catch they escape the filter as raw RuntimeExceptions\n // since DispatcherServlet's HandlerExceptionResolver does not run for exceptions thrown inside filters.\n log.error(\"LTI 1.3 launch request failed with status {}: {}\", ex.getStatusCode().value(), ex.getMessage(), ex);\n response.sendError(ex.getStatusCode().value(), \"LTI 1.3 Launch failed\");\n }\n catch (InternalAuthenticationServiceException ex) {\n // The launch cannot be tied to an account: it has no email address, or the course requires an existing account that has this address\n log.warn(\"LTI 1.3 launch was refused: {}\", ex.getMessage());\n response.sendError(HttpServletResponse.SC_FORBIDDEN, \"LTI 1.3 Launch failed\");\n }\n catch (HttpClientErrorException | OAuth2AuthenticationException | IllegalStateException | IllegalArgumentException ex) {\n // IllegalArgumentException is thrown by Lti13Service.launchRequestFrom when an id_token claim cannot be\n // mapped to a Lti13LaunchRequest — same servlet-filter escape concern as the JwtException and\n // HttpStatusException branches above.\n log.error(\"Error during LTI 1.3 launch request: {}\", ex.getMessage(), ex);\n response.sendError(HttpServletResponse.SC_INTERNAL_SERVER_ERROR, \"LTI 1.3 Launch failed\");\n }\n }\n\n private void handleLtiEmailAlreadyInUseException(HttpServletResponse response, OidcIdToken ltiIdToken) {\n this.lti13Service.buildLtiEmailInUseResponse(response, ltiIdToken);\n response.setStatus(HttpServletResponse.SC_UNAUTHORIZED);\n }\n\n private OidcAuthenticationToken finishOidcFlow(HttpServletRequest request, HttpServletResponse response) {\n OidcAuthenticationToken ltiAuthToken;\n try {\n // call spring-security-lti13 authentication filter to finish the OpenID Connect Third Party Initiated Login\n ltiAuthToken = (OidcAuthenticationToken) defaultFilter.attemptAuthentication(request, response);\n if (ltiAuthToken == null) {\n throw new IllegalStateException(\"No authentication was returned\");\n }\n }\n catch (OAuth2AuthenticationException | JwtException | IllegalStateException | IOException | ServletException ex) {\n // JwtException covers the JWT signature/expiry rejection branches inside NimbusJwtDecoder\n // (BadJwtException for invalid signatures, JwtValidationException for expired/not-yet-valid tokens).\n // Without this catch they would escape the filter as raw servlet exceptions instead of being mapped\n // to the 500 response handled by doFilterInternal.\n throw new IllegalStateException(\"Failed to attempt LTI 1.3 login authentication: \" + ex.getMessage(), ex);\n }\n\n return ltiAuthToken;\n }\n\n private void writeResponse(String targetLinkUri, OidcIdToken ltiIdToken, String clientRegistrationId, HttpServletResponse response) throws IOException {\n PrintWriter writer = response.getWriter();\n\n UriComponentsBuilder uriBuilder = UriComponentsBuilder.fromUriString(targetLinkUri);\n if (SecurityUtils.isAuthenticated()) {\n log.info(\"User is authenticated, building LTI response\");\n lti13Service.buildLtiResponse(uriBuilder, response);\n }\n Lti13AuthenticationResponse jsonResponse = new Lti13AuthenticationResponse(uriBuilder.build().toUriString(), ltiIdToken.getTokenValue(), clientRegistrationId);\n\n response.setContentType(\"application/json\");\n response.setCharacterEncoding(\"UTF-8\");\n writer.print(JsonObjectMapper.get().writeValueAsString(jsonResponse));\n writer.flush();\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/8a418e910752f81eee5753b491527a43d026b0a1.json b/web/public/bundles/artemis/code/8a418e910752f81eee5753b491527a43d026b0a1.json new file mode 100644 index 00000000..165a6c40 --- /dev/null +++ b/web/public/bundles/artemis/code/8a418e910752f81eee5753b491527a43d026b0a1.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "8a418e910752f81eee5753b491527a43d026b0a1", + "language": "typescript", + "path": "src/main/webapp/app/shared-ui/user-registration-modal/user-registration-modal.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, DestroyRef, ElementRef, TemplateRef, computed, effect, inject, input, output, signal, viewChild } from '@angular/core';\nimport { Observable } from 'rxjs';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { faCircleCheck, faEye, faSearch, faUsers } from '@fortawesome/free-solid-svg-icons';\nimport { TumAetUiButtonDirective } from '@tumaet/ui-angular/button';\nimport { TumAetUiDialogComponent } from '@tumaet/ui-angular/dialog';\nimport { TumAetUiMessageComponent } from '@tumaet/ui-angular/message';\nimport { buildDbQueryFromLazyEvent } from 'app/shared-ui/table-view/request-builder';\nimport { TableViewLazyLoadEvent } from 'app/shared-ui/table-view/table-view-query';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { AlertService } from 'app/foundation/service/alert.service';\nimport { addPublicFilePrefix } from 'app/app.constants';\nimport { CellRendererParams, ColumnDef, TableViewComponent, TableViewOptions } from 'app/shared-ui/table-view/table-view';\nimport { SearchFilterComponent } from 'app/shared-ui/search-filter/search-filter.component';\nimport { HighlightMatchPipe } from 'app/foundation/pipes/highlight-match.pipe';\nimport { ProfilePictureComponent } from 'app/shared-ui/profile-picture/profile-picture.component';\nimport { UserForRegistration, UserSearchResult } from 'app/shared-ui/user-registration-modal/user-for-registration.model';\n\n@Component({\n selector: 'jhi-user-registration-modal',\n imports: [\n FaIconComponent,\n TumAetUiDialogComponent,\n TumAetUiButtonDirective,\n TumAetUiMessageComponent,\n TranslateDirective,\n ArtemisTranslatePipe,\n TableViewComponent,\n SearchFilterComponent,\n HighlightMatchPipe,\n ProfilePictureComponent,\n ],\n templateUrl: './user-registration-modal.component.html',\n})\nexport class UserRegistrationModalComponent {\n private static readonly SEARCH_DEBOUNCE_MS = 300;\n private readonly alertService = inject(AlertService);\n\n protected readonly addPublicFilePrefix = addPublicFilePrefix;\n protected readonly faUsers = faUsers;\n protected readonly faSearch = faSearch;\n protected readonly faEye = faEye;\n protected readonly faCircleCheck = faCircleCheck;\n\n private debounceTimer: ReturnType | undefined;\n\n constructor() {\n inject(DestroyRef).onDestroy(() => clearTimeout(this.debounceTimer));\n // The kit dialog focuses its first tabbable element, which is the close button of the header, but the reason to open this dialog is the\n // search field, as it was with the PrimeNG dialog. The CDK focus trap prefers an element marked cdkFocusInitial. The search field of the\n // kit has no input for that, so the native input is marked once the dialog has rendered it.\n effect(() => {\n this.searchFilterElement()?.nativeElement.querySelector('input')?.setAttribute('cdkFocusInitial', '');\n });\n }\n\n readonly titleKey = input.required();\n readonly searchFn = input.required<(searchTerm: string, page: number, size: number) => Observable>();\n readonly registerFn = input.required<(users: UserForRegistration[]) => Observable>();\n\n readonly registered = output();\n\n readonly tableViewRef = viewChild(TableViewComponent);\n readonly searchFilterRef = viewChild(SearchFilterComponent);\n private readonly searchFilterElement = viewChild(SearchFilterComponent, { read: ElementRef });\n\n readonly profilePicTemplate = viewChild }>>('profilePicTemplate');\n readonly nameLoginTemplate = viewChild }>>('nameLoginTemplate');\n readonly matriculationTemplate = viewChild }>>('matriculationTemplate');\n readonly emailTemplate = viewChild }>>('emailTemplate');\n\n readonly isOpen = signal(false);\n readonly isLoading = signal(false);\n readonly searchTerm = signal('');\n readonly hasSearched = signal(false);\n readonly searchResults = signal([]);\n readonly totalSearchResults = signal(0);\n readonly selectedUsers = signal([]);\n readonly isViewingSelected = signal(false);\n private requestId = 0;\n private modalSession = 0;\n\n readonly selectedCount = computed(() => this.selectedUsers().length);\n readonly searchPlaceholderKey = computed(() => (this.isViewingSelected() ? 'userRegistrationModal.viewingSelectedPlaceholder' : 'userRegistrationModal.searchPlaceholder'));\n readonly isRegisterDisabled = computed(() => this.selectedCount() === 0 || this.isLoading());\n readonly showTable = computed(() => this.isViewingSelected() || (this.hasSearched() && (this.isLoading() || this.searchResults().length > 0)));\n readonly noResults = computed(() => this.hasSearched() && !this.isLoading() && this.searchResults().length === 0 && !this.isViewingSelected());\n\n readonly tableValues = computed(() => (this.isViewingSelected() ? this.selectedUsers() : this.searchResults()));\n readonly tableTotalRows = computed(() => (this.isViewingSelected() ? this.selectedCount() : this.totalSearchResults()));\n\n readonly selectedInCurrentResults = computed(() => {\n if (this.isViewingSelected()) {\n return this.selectedUsers();\n }\n const selectedIds = new Set(this.selectedUsers().map((u) => u.id));\n return this.searchResults().filter((u) => selectedIds.has(u.id));\n });\n\n readonly tableOptions = computed(() => ({\n lazy: !this.isViewingSelected(),\n paginated: !this.isViewingSelected(),\n showSearch: false,\n selectionMode: 'multiple',\n fill: true,\n pageSize: 10,\n hidePageSizeOptions: true,\n tableStyle: { 'min-width': '40rem' },\n }));\n\n readonly columns = computed[]>(() => [\n { field: 'profilePictureUrl', width: '3.5rem', templateRef: this.profilePicTemplate() },\n { field: 'name', headerKey: 'userRegistrationModal.columns.nameLogin', width: '12rem', templateRef: this.nameLoginTemplate() },\n { field: 'registrationNumber', headerKey: 'userRegistrationModal.columns.matriculationNumber', width: '10rem', templateRef: this.matriculationTemplate() },\n { field: 'email', headerKey: 'userRegistrationModal.columns.email', width: '12rem', templateRef: this.emailTemplate() },\n ]);\n\n readonly isRowDisabledFn = (row: UserForRegistration): boolean => row.isRegistered;\n\n open(): void {\n this.isOpen.set(true);\n }\n\n close(): void {\n this.resetState();\n this.isOpen.set(false);\n }\n\n /** Dismissing the dialog with the close button or the backdrop closes it like cancel, so no selection or pending search survives. */\n onVisibleChange(visible: boolean): void {\n if (visible) {\n this.isOpen.set(true);\n } else {\n this.close();\n }\n }\n\n onSearch(searchTerm: string): void {\n const trimmed = searchTerm.trim();\n this.searchTerm.set(trimmed);\n this.cancelPendingSearch();\n // Drop the previous term's rows and ignore its pending response right away, not only when the debounce fires.\n // Otherwise those rows stay selectable while typing and would be registered for a search the user no longer sees.\n this.requestId++;\n this.searchResults.set([]);\n this.totalSearchResults.set(0);\n\n if (!trimmed) {\n this.hasSearched.set(false);\n this.isLoading.set(false);\n return;\n }\n\n this.isLoading.set(true);\n this.debounceTimer = setTimeout(() => {\n this.debounceTimer = undefined;\n this.hasSearched.set(true);\n // A new search term always starts from page 0 — reload() defaults to the current page, which would be wrong here.\n this.tableViewRef()?.reload({ page: 0 });\n }, UserRegistrationModalComponent.SEARCH_DEBOUNCE_MS);\n }\n\n onTableLazyLoad(event: TableViewLazyLoadEvent): void {\n const searchTerm = this.searchTerm();\n // A table that mounts while the debounce is pending loads on init; the debounce loads the term once it fires.\n if (!searchTerm || this.debounceTimer !== undefined) return;\n\n const { page, pageSize } = buildDbQueryFromLazyEvent(event, { pageSize: 10 });\n const currentRequestId = ++this.requestId;\n\n this.isLoading.set(true);\n this.searchFn()(searchTerm, page, pageSize).subscribe({\n next: (result) => {\n if (currentRequestId !== this.requestId) return;\n this.searchResults.set(result.content);\n this.totalSearchResults.set(result.totalElements);\n this.isLoading.set(false);\n },\n error: () => {\n if (currentRequestId !== this.requestId) return;\n this.alertService.error('userRegistrationModal.searchError');\n this.searchResults.set([]);\n this.totalSearchResults.set(0);\n this.isLoading.set(false);\n },\n });\n }\n\n handleSelectionChange(selection: UserForRegistration | UserForRegistration[] | undefined): void {\n if (!Array.isArray(selection)) return;\n\n const updatedSelection = selection.filter((u) => !u.isRegistered);\n if (this.isViewingSelected()) {\n // In view mode the table data IS selectedUsers(), so the emitted selection\n // is already the full updated list — just apply it directly.\n this.selectedUsers.set(updatedSelection);\n if (updatedSelection.length === 0) {\n this.isViewingSelected.set(false);\n }\n } else {\n // In search mode: keep users selected in previous searches that are not in\n // the current result page, then merge with this page's selection.\n const currentResultIds = new Set(this.searchResults().map((u) => u.id));\n const keptFromPreviousSearches = this.selectedUsers().filter((u) => !currentResultIds.has(u.id));\n this.selectedUsers.set([...keptFromPreviousSearches, ...updatedSelection]);\n }\n }\n\n toggleViewSelected(): void {\n if (!this.isViewingSelected()) {\n this.searchFilterRef()?.resetSearchValue(); // clears input + emits onSearch('') → resets searchTerm/hasSearched/searchResults\n }\n this.isViewingSelected.set(!this.isViewingSelected());\n }\n\n clearSelection(): void {\n this.selectedUsers.set([]);\n this.tableViewRef()?.clearSelection();\n if (this.isViewingSelected()) {\n this.isViewingSelected.set(false);\n }\n }\n\n register(): void {\n const users = this.selectedUsers();\n if (!users.length) return;\n\n const session = this.modalSession;\n this.isLoading.set(true);\n // The registration still completes if the modal is dismissed meanwhile, so the parent is notified either way,\n // but a reopened modal keeps its own state.\n this.registerFn()(users).subscribe({\n next: () => {\n this.registered.emit();\n if (session === this.modalSession) {\n this.close();\n }\n },\n error: () => {\n this.alertService.error('userRegistrationModal.registerError');\n if (session === this.modalSession) {\n this.isLoading.set(false);\n }\n },\n });\n }\n\n private resetState(): void {\n this.cancelPendingSearch();\n this.modalSession++;\n this.requestId++;\n this.isLoading.set(false);\n this.searchTerm.set('');\n this.hasSearched.set(false);\n this.searchResults.set([]);\n this.totalSearchResults.set(0);\n this.selectedUsers.set([]);\n this.isViewingSelected.set(false);\n this.searchFilterRef()?.resetSearchValue();\n }\n\n private cancelPendingSearch(): void {\n clearTimeout(this.debounceTimer);\n this.debounceTimer = undefined;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/8a5f57573b1fcb021b491c5f40820e2c09c2151f.json b/web/public/bundles/artemis/code/8a5f57573b1fcb021b491c5f40820e2c09c2151f.json new file mode 100644 index 00000000..1a33e37c --- /dev/null +++ b/web/public/bundles/artemis/code/8a5f57573b1fcb021b491c5f40820e2c09c2151f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "8a5f57573b1fcb021b491c5f40820e2c09c2151f", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/text/domain/TextExercise.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.text.domain;\n\nimport static de.tum.cit.aet.artemis.exercise.domain.ExerciseType.TEXT;\n\nimport jakarta.persistence.DiscriminatorValue;\nimport jakarta.persistence.Entity;\nimport jakarta.persistence.SecondaryTable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.exercise.domain.ExerciseType;\nimport de.tum.cit.aet.artemis.exercise.domain.ExerciseWithExampleSolution;\n\n/**\n * A TextExercise.\n */\n@Entity\n@DiscriminatorValue(value = \"T\")\n@SecondaryTable(name = \"text_exercise_details\")\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic class TextExercise extends ExerciseWithExampleSolution {\n\n // used to distinguish the type when used in collections (e.g. SearchResultPageDTO --> resultsOnPage)\n @Override\n public String getType() {\n return \"text\";\n }\n\n @Override\n public ExerciseType getExerciseType() {\n return TEXT;\n }\n\n @Override\n public String toString() {\n return \"TextExercise{\" + \"id=\" + getId() + \", exampleSolution='\" + getExampleSolution() + \"'\" + \"}\";\n }\n\n}\n" +} diff --git a/web/public/bundles/artemis/code/8cb25a386381ce31a38e6dbe4d7878db87a59702.json b/web/public/bundles/artemis/code/8cb25a386381ce31a38e6dbe4d7878db87a59702.json new file mode 100644 index 00000000..d1bc5dd0 --- /dev/null +++ b/web/public/bundles/artemis/code/8cb25a386381ce31a38e6dbe4d7878db87a59702.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "8cb25a386381ce31a38e6dbe4d7878db87a59702", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/dto/LectureReferenceDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.atlas.dto;\n\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.lecture.domain.Lecture;\n\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record LectureReferenceDTO(Long id) {\n\n @Nullable\n public static LectureReferenceDTO of(@Nullable Lecture lecture) {\n if (lecture == null) {\n return null;\n }\n return new LectureReferenceDTO(lecture.getId());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/8dbbf527a160fee149595b7ed86808259c759f3c.json b/web/public/bundles/artemis/code/8dbbf527a160fee149595b7ed86808259c759f3c.json new file mode 100644 index 00000000..e9768834 --- /dev/null +++ b/web/public/bundles/artemis/code/8dbbf527a160fee149595b7ed86808259c759f3c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "8dbbf527a160fee149595b7ed86808259c759f3c", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/ProcessingStateRecoveryService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.lecture.service;\n\nimport static de.tum.cit.aet.artemis.lecture.web.LectureWebsocketTopics.UNIT_PROCESSING_STATE;\n\nimport java.time.ZonedDateTime;\nimport java.util.List;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.communication.service.WebsocketMessagingService;\nimport de.tum.cit.aet.artemis.lecture.config.LectureWithIrisEnabled;\nimport de.tum.cit.aet.artemis.lecture.domain.LectureTranscription;\nimport de.tum.cit.aet.artemis.lecture.domain.LectureUnit;\nimport de.tum.cit.aet.artemis.lecture.domain.LectureUnitProcessingState;\nimport de.tum.cit.aet.artemis.lecture.domain.ProcessingPhase;\nimport de.tum.cit.aet.artemis.lecture.domain.TranscriptionStatus;\nimport de.tum.cit.aet.artemis.lecture.dto.LectureUnitCombinedStatusDTO;\nimport de.tum.cit.aet.artemis.lecture.repository.LectureTranscriptionRepository;\nimport de.tum.cit.aet.artemis.lecture.repository.LectureUnitProcessingStateRecoveryRepository;\nimport de.tum.cit.aet.artemis.lecture.repository.LectureUnitProcessingStateRepository;\n\n/**\n * Handles lightweight recovery of lecture processing states after infrastructure-level Iris restarts.\n *

\n * This service intentionally does not depend on the dispatch pipeline or Iris APIs. It is used by the\n * Pyris restart watch during health checks and must stay lightweight.\n */\n@Conditional(LectureWithIrisEnabled.class)\n@Service\n@Lazy\npublic class ProcessingStateRecoveryService {\n\n private static final Logger log = LoggerFactory.getLogger(ProcessingStateRecoveryService.class);\n\n private final LectureUnitProcessingStateRepository processingStateRepository;\n\n private final LectureUnitProcessingStateRecoveryRepository recoveryRepository;\n\n private final LectureTranscriptionRepository transcriptionRepository;\n\n private final WebsocketMessagingService websocketMessagingService;\n\n public ProcessingStateRecoveryService(LectureUnitProcessingStateRepository processingStateRepository, LectureUnitProcessingStateRecoveryRepository recoveryRepository,\n LectureTranscriptionRepository transcriptionRepository, WebsocketMessagingService websocketMessagingService) {\n this.processingStateRepository = processingStateRepository;\n this.recoveryRepository = recoveryRepository;\n this.transcriptionRepository = transcriptionRepository;\n this.websocketMessagingService = websocketMessagingService;\n }\n\n /**\n * Handle an Iris restart notification.\n *

\n * The restarted process lost its in-flight jobs, so every run whose lease the departed process held is reset to IDLE for the next claim,\n * as is a run without an owner that an Artemis version that still pushed jobs started before an upgrade. Runs a worker of the new process\n * already claimed are not touched.\n *\n * @param departedBootId the boot id of the process that restarted\n * @return the number of jobs that were reset\n */\n public int handleIrisReset(String departedBootId) {\n List activeStates = processingStateRepository.findByPhaseIn(List.of(ProcessingPhase.TRANSCRIBING, ProcessingPhase.INGESTING));\n\n if (activeStates.isEmpty()) {\n log.info(\"Iris reset: no active processing jobs to recover\");\n return 0;\n }\n\n log.warn(\"Iris reset: recovering {} in-flight jobs\", activeStates.size());\n\n // Do NOT treat an Iris restart as content-processing failure. The job was lost by infrastructure, so retry budget must be preserved across rollouts/restarts.\n int resetCount = 0;\n RuntimeException firstFailure = null;\n for (LectureUnitProcessingState state : activeStates) {\n try {\n if (resetToIdleForRecovery(state, departedBootId)) {\n resetCount++;\n }\n }\n catch (RuntimeException e) {\n log.error(\"Failed to recover processing state {} after Iris restart\", state.getId(), e);\n if (firstFailure == null) {\n firstFailure = e;\n }\n }\n }\n if (firstFailure != null) {\n throw new IllegalStateException(\"Failed to recover all in-flight jobs after Iris restart\", firstFailure);\n }\n return resetCount;\n }\n\n /**\n * Reclaim one lapsed-lease run, atomically: see {@link LectureUnitProcessingStateRepository#reclaimLapsedLease}\n * for why this cannot be a re-fetch-then-save like {@link #resetToIdleForRecovery}. Re-fetches only on\n * success, purely to notify with the row the write actually produced.\n *\n * @param id the processing state to reclaim\n * @param token the job token observed at batch-read time\n * @param phases the in-flight phases eligible for reclaim\n * @param cutoff the lease cutoff: a heartbeat at or after this time cancels the reclaim\n * @return true when reclaimed, false when the run is no longer lapsed under this token\n */\n public boolean reclaimLapsedLease(long id, String token, List phases, ZonedDateTime cutoff) {\n if (processingStateRepository.reclaimLapsedLease(id, token, phases, cutoff, ZonedDateTime.now()) == 0) {\n return false;\n }\n processingStateRepository.findById(id).ifPresent(state -> {\n LectureUnit lectureUnit = state.getLectureUnit();\n if (lectureUnit == null) {\n return;\n }\n TranscriptionStatus transcriptionStatus = transcriptionRepository.findByLectureUnit_Id(lectureUnit.getId()).map(LectureTranscription::getTranscriptionStatus)\n .orElse(null);\n notifyProcessingStateChange(state, transcriptionStatus);\n });\n return true;\n }\n\n boolean resetToIdleForRecovery(LectureUnitProcessingState state, String departedBootId) {\n LectureUnit lectureUnit = state.getLectureUnit();\n if (lectureUnit == null) {\n log.warn(\"Skipping recovery for processing state {} because its lecture unit is missing\", state.getId());\n return false;\n }\n TranscriptionStatus transcriptionStatus = transcriptionRepository.findByLectureUnit_Id(lectureUnit.getId()).map(LectureTranscription::getTranscriptionStatus).orElse(null);\n log.info(\"Recovering interrupted unit {} (was {}) - resetting to IDLE, retry budget preserved\", lectureUnit.getId(), state.getPhase());\n // Bound to the run that was read: a terminal callback landing between the batch read and this write would\n // otherwise be reverted here and the completed work re-ingested.\n if (recoveryRepository.resetToIdleIfStillLiveAndOwnedBy(state.getId(), state.getPhase(), state.getIngestionJobToken(), departedBootId, ZonedDateTime.now()) == 0) {\n log.info(\"Not recovering unit {}: its run completed, moved on since the batch read, or belongs to a worker of another Iris process\", lectureUnit.getId());\n return false;\n }\n state.setPhase(ProcessingPhase.IDLE);\n state.setIngestionJobToken(null);\n state.setStartedAt(null);\n state.setRetryEligibleAt(null);\n state.setLastUpdated(ZonedDateTime.now());\n state.clearStageProgress();\n\n notifyProcessingStateChange(state, transcriptionStatus);\n return true;\n }\n\n private void notifyProcessingStateChange(LectureUnitProcessingState state, TranscriptionStatus transcriptionStatus) {\n LectureUnit unit = state.getLectureUnit();\n if (unit == null || unit.getLecture() == null) {\n return;\n }\n long lectureId = unit.getLecture().getId();\n var dto = LectureUnitCombinedStatusDTO.of(unit.getId(), state, transcriptionStatus);\n var topic = UNIT_PROCESSING_STATE.at(lectureId);\n websocketMessagingService.sendMessage(topic, dto);\n log.debug(\"Sent processing state WebSocket update for unit {} on topic {}\", unit.getId(), topic);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/8f0c83eaf20b35ff119060a0ca49c00f28662f5d.json b/web/public/bundles/artemis/code/8f0c83eaf20b35ff119060a0ca49c00f28662f5d.json new file mode 100644 index 00000000..9e148c2e --- /dev/null +++ b/web/public/bundles/artemis/code/8f0c83eaf20b35ff119060a0ca49c00f28662f5d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "8f0c83eaf20b35ff119060a0ca49c00f28662f5d", + "language": "typescript", + "path": "src/main/webapp/app/lecture/shared/entities/lecture-unit/lectureUnit.model.ts", + "schema": "codexray.code/1", + "text": "import { BaseEntity } from 'app/foundation/model/base-entity';\nimport dayjs from 'dayjs/esm';\nimport { Lecture } from 'app/lecture/shared/entities/lecture.model';\nimport { CompetencyLectureUnitLink } from 'app/atlas/shared/entities/competency.model';\nimport { IconProp } from '@fortawesome/fontawesome-svg-core';\nimport { faDownload, faLink, faQuestion, faScroll } from '@fortawesome/free-solid-svg-icons';\n\n// IMPORTANT NOTICE: The following strings have to be consistent with\n// the ones defined in LectureUnit.java\nexport enum LectureUnitType {\n ATTACHMENT_VIDEO = 'attachment',\n EXERCISE = 'exercise',\n TEXT = 'text',\n ONLINE = 'online',\n}\n\nexport const lectureUnitIcons = {\n [LectureUnitType.ATTACHMENT_VIDEO]: faDownload,\n [LectureUnitType.EXERCISE]: faQuestion,\n [LectureUnitType.TEXT]: faScroll,\n [LectureUnitType.ONLINE]: faLink,\n};\n\nexport const lectureUnitTooltips = {\n [LectureUnitType.ATTACHMENT_VIDEO]: 'artemisApp.attachmentVideoUnit.tooltip',\n [LectureUnitType.EXERCISE]: '',\n [LectureUnitType.TEXT]: 'artemisApp.textUnit.tooltip',\n [LectureUnitType.ONLINE]: 'artemisApp.onlineUnit.tooltip',\n};\n\nexport abstract class LectureUnit implements BaseEntity {\n public id?: number;\n public name?: string;\n public releaseDate?: dayjs.Dayjs;\n public lecture?: Lecture;\n public competencyLinks?: CompetencyLectureUnitLink[];\n public type?: LectureUnitType;\n // calculated property\n public visibleToStudents?: boolean;\n public completed?: boolean;\n\n protected constructor(type: LectureUnitType) {\n this.type = type;\n }\n}\n\nexport function getIcon(lectureUnitType: LectureUnitType): IconProp {\n if (!lectureUnitType) {\n return faQuestion;\n }\n return lectureUnitIcons[lectureUnitType];\n}\n\nexport function getIconTooltip(lectureUnitType: LectureUnitType) {\n if (!lectureUnitType) {\n return '';\n }\n return lectureUnitTooltips[lectureUnitType];\n}\n" +} diff --git a/web/public/bundles/artemis/code/8f3c4f9d3e38bc1ef7ea7aa1a3173c7b3844508a.json b/web/public/bundles/artemis/code/8f3c4f9d3e38bc1ef7ea7aa1a3173c7b3844508a.json new file mode 100644 index 00000000..9277a616 --- /dev/null +++ b/web/public/bundles/artemis/code/8f3c4f9d3e38bc1ef7ea7aa1a3173c7b3844508a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "8f3c4f9d3e38bc1ef7ea7aa1a3173c7b3844508a", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseMemberDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.course.dto;\n\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\n\n/**\n * A privacy-safe course member response.\n *\n * @param id the user identifier\n * @param login the optional login\n * @param name the optional display name\n * @param firstName the optional first name\n * @param lastName the optional last name\n * @param email the optional email address\n * @param visibleRegistrationNumber the optional registration number approved for this response\n * @param imageUrl the optional profile image URL\n * @param activated whether the account is activated\n * @param internal whether the account is managed internally\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record CourseMemberDTO(long id, @Nullable String login, @Nullable String name, @Nullable String firstName, @Nullable String lastName, @Nullable String email,\n @Nullable String visibleRegistrationNumber, @Nullable String imageUrl, boolean activated, boolean internal) {\n\n /**\n * Maps a user to the reduced response for member search: identity and display data only, without e-mail address and registration number.\n *\n * @param user the sanitized user\n * @return the course member response without contact and registration data\n */\n public static CourseMemberDTO ofNameAndLogin(User user) {\n return new CourseMemberDTO(user.getId(), user.getLogin(), user.getName(), user.getFirstName(), user.getLastName(), null, null, user.getImageUrl(), user.getActivated(),\n user.isInternal());\n }\n\n /**\n * Maps a user after the existing course-member sanitization has been applied.\n *\n * @param user the sanitized user\n * @return the course member response\n */\n public static CourseMemberDTO of(User user) {\n return new CourseMemberDTO(user.getId(), user.getLogin(), user.getName(), user.getFirstName(), user.getLastName(), user.getEmail(), user.getVisibleRegistrationNumber(),\n user.getImageUrl(), user.getActivated(), user.isInternal());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/8f422f8fa6723177dbf0e5e39af046fc3535f41c.json b/web/public/bundles/artemis/code/8f422f8fa6723177dbf0e5e39af046fc3535f41c.json new file mode 100644 index 00000000..092dc46f --- /dev/null +++ b/web/public/bundles/artemis/code/8f422f8fa6723177dbf0e5e39af046fc3535f41c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "8f422f8fa6723177dbf0e5e39af046fc3535f41c", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/web/TutorialGroupResource.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.tutorialgroup.web;\n\nimport java.io.IOException;\nimport java.nio.charset.StandardCharsets;\nimport java.time.ZoneId;\nimport java.util.Comparator;\nimport java.util.List;\nimport java.util.Objects;\nimport java.util.Optional;\nimport java.util.Set;\n\nimport jakarta.validation.Valid;\nimport jakarta.ws.rs.BadRequestException;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.data.domain.PageRequest;\nimport org.springframework.http.HttpHeaders;\nimport org.springframework.http.MediaType;\nimport org.springframework.http.ResponseEntity;\nimport org.springframework.web.bind.annotation.DeleteMapping;\nimport org.springframework.web.bind.annotation.GetMapping;\nimport org.springframework.web.bind.annotation.PathVariable;\nimport org.springframework.web.bind.annotation.PostMapping;\nimport org.springframework.web.bind.annotation.PutMapping;\nimport org.springframework.web.bind.annotation.RequestBody;\nimport org.springframework.web.bind.annotation.RequestMapping;\nimport org.springframework.web.bind.annotation.RequestParam;\nimport org.springframework.web.bind.annotation.RestController;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.account.repository.UserRepository;\nimport de.tum.cit.aet.artemis.core.config.Constants;\nimport de.tum.cit.aet.artemis.core.domain.FeatureInteraction;\nimport de.tum.cit.aet.artemis.core.exception.AccessForbiddenException;\nimport de.tum.cit.aet.artemis.core.exception.BadRequestAlertException;\nimport de.tum.cit.aet.artemis.core.exception.EntityNotFoundException;\nimport de.tum.cit.aet.artemis.core.exception.InternalServerErrorException;\nimport de.tum.cit.aet.artemis.core.security.annotations.EnforceAtLeastStudent;\nimport de.tum.cit.aet.artemis.core.security.annotations.ManualConfig;\nimport de.tum.cit.aet.artemis.core.security.annotations.enforceRoleInCourse.EnforceAtLeastEditorInCourse;\nimport de.tum.cit.aet.artemis.core.security.annotations.enforceRoleInCourse.EnforceAtLeastInstructorInCourse;\nimport de.tum.cit.aet.artemis.core.security.annotations.enforceRoleInCourse.EnforceAtLeastStudentInCourse;\nimport de.tum.cit.aet.artemis.core.security.annotations.enforceRoleInCourse.EnforceAtLeastTutorInCourse;\nimport de.tum.cit.aet.artemis.core.service.AuthorizationCheckService;\nimport de.tum.cit.aet.artemis.core.service.featureusage.FeatureUsage;\nimport de.tum.cit.aet.artemis.core.service.featureusage.UsageInteraction;\nimport de.tum.cit.aet.artemis.core.service.featureusage.UserFeature;\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.course.repository.CourseRepository;\nimport de.tum.cit.aet.artemis.notification.domain.course_notifications.TutorialGroupAssignedNotification;\nimport de.tum.cit.aet.artemis.notification.domain.course_notifications.TutorialGroupDeletedNotification;\nimport de.tum.cit.aet.artemis.notification.domain.course_notifications.TutorialGroupUnassignedNotification;\nimport de.tum.cit.aet.artemis.notification.service.CourseNotificationService;\nimport de.tum.cit.aet.artemis.tutorialgroup.config.TutorialGroupEnabled;\nimport de.tum.cit.aet.artemis.tutorialgroup.domain.TutorialGroup;\nimport de.tum.cit.aet.artemis.tutorialgroup.domain.TutorialGroupRegistrationType;\nimport de.tum.cit.aet.artemis.tutorialgroup.domain.TutorialGroupSchedule;\nimport de.tum.cit.aet.artemis.tutorialgroup.domain.TutorialGroupsConfiguration;\nimport de.tum.cit.aet.artemis.tutorialgroup.dto.CreateOrUpdateTutorialGroupRequestDTO;\nimport de.tum.cit.aet.artemis.tutorialgroup.dto.TutorialGroupDetailDataDTO;\nimport de.tum.cit.aet.artemis.tutorialgroup.dto.TutorialGroupExportDataDTO;\nimport de.tum.cit.aet.artemis.tutorialgroup.dto.TutorialGroupImportDataDTO;\nimport de.tum.cit.aet.artemis.tutorialgroup.dto.TutorialGroupScheduleDTO;\nimport de.tum.cit.aet.artemis.tutorialgroup.dto.TutorialGroupStudentDTO;\nimport de.tum.cit.aet.artemis.tutorialgroup.dto.TutorialGroupStudentImportDataDTO;\nimport de.tum.cit.aet.artemis.tutorialgroup.dto.TutorialGroupSummaryDTO;\nimport de.tum.cit.aet.artemis.tutorialgroup.repository.TutorialGroupRegistrationRepository;\nimport de.tum.cit.aet.artemis.tutorialgroup.repository.TutorialGroupRepository;\nimport de.tum.cit.aet.artemis.tutorialgroup.repository.TutorialGroupScheduleRepository;\nimport de.tum.cit.aet.artemis.tutorialgroup.repository.TutorialGroupsConfigurationRepository;\nimport de.tum.cit.aet.artemis.tutorialgroup.service.TutorialGroupChannelManagementService;\nimport de.tum.cit.aet.artemis.tutorialgroup.service.TutorialGroupScheduleService;\nimport de.tum.cit.aet.artemis.tutorialgroup.service.TutorialGroupService;\n\n@Conditional(TutorialGroupEnabled.class)\n@Lazy\n@FeatureUsage(UserFeature.TUTORIAL_GROUP_MANAGEMENT)\n@RestController\n@RequestMapping(\"api/tutorialgroup/\")\npublic class TutorialGroupResource {\n\n public static final String ENTITY_NAME = \"tutorialGroup\";\n\n private static final Logger log = LoggerFactory.getLogger(TutorialGroupResource.class);\n\n private final TutorialGroupService tutorialGroupService;\n\n private final TutorialGroupRepository tutorialGroupRepository;\n\n private final CourseRepository courseRepository;\n\n private final UserRepository userRepository;\n\n private final AuthorizationCheckService authorizationCheckService;\n\n private final TutorialGroupsConfigurationRepository tutorialGroupsConfigurationRepository;\n\n private final TutorialGroupScheduleService tutorialGroupScheduleService;\n\n private final TutorialGroupChannelManagementService tutorialGroupChannelManagementService;\n\n private final CourseNotificationService courseNotificationService;\n\n private final TutorialGroupRegistrationRepository tutorialGroupRegistrationRepository;\n\n private final TutorialGroupScheduleRepository tutorialGroupScheduleRepository;\n\n public TutorialGroupResource(AuthorizationCheckService authorizationCheckService, UserRepository userRepository, CourseRepository courseRepository,\n TutorialGroupService tutorialGroupService, TutorialGroupRepository tutorialGroupRepository, TutorialGroupsConfigurationRepository tutorialGroupsConfigurationRepository,\n TutorialGroupScheduleService tutorialGroupScheduleService, TutorialGroupChannelManagementService tutorialGroupChannelManagementService,\n CourseNotificationService courseNotificationService, TutorialGroupRegistrationRepository tutorialGroupRegistrationRepository,\n TutorialGroupScheduleRepository tutorialGroupScheduleRepository) {\n this.tutorialGroupService = tutorialGroupService;\n this.courseRepository = courseRepository;\n this.userRepository = userRepository;\n this.authorizationCheckService = authorizationCheckService;\n this.tutorialGroupRepository = tutorialGroupRepository;\n this.tutorialGroupsConfigurationRepository = tutorialGroupsConfigurationRepository;\n this.tutorialGroupScheduleService = tutorialGroupScheduleService;\n this.tutorialGroupChannelManagementService = tutorialGroupChannelManagementService;\n this.courseNotificationService = courseNotificationService;\n this.tutorialGroupRegistrationRepository = tutorialGroupRegistrationRepository;\n this.tutorialGroupScheduleRepository = tutorialGroupScheduleRepository;\n }\n\n /**\n * GET /tutorial-groups/:tutorialGroupId/title : Returns the title of the tutorial-group with the given id\n *

\n * NOTE: Used by entity-title service in the client to resolve the title of a tutorial group for breadcrumbs\n *\n * @param tutorialGroupId the id of the tutorial group\n * @return ResponseEntity with status 200 (OK) and with body containing the title of the tutorial group\n */\n @FeatureUsage(UserFeature.TUTORIAL_GROUPS)\n @UsageInteraction(FeatureInteraction.AUTOMATIC)\n @GetMapping(value = \"tutorial-groups/{tutorialGroupId}/title\", produces = MediaType.TEXT_PLAIN_VALUE)\n @EnforceAtLeastStudent\n public ResponseEntity getTitle(@PathVariable Long tutorialGroupId) {\n log.debug(\"REST request to get title of TutorialGroup : {}\", tutorialGroupId);\n return tutorialGroupRepository.getTutorialGroupTitle(tutorialGroupId).map(ResponseEntity::ok)\n .orElseThrow(() -> new EntityNotFoundException(\"TutorialGroup\", tutorialGroupId));\n }\n\n /**\n * GET /courses/:courseId/tutorial-groups/language-values : gets the unique language values used for tutorial groups in the specified course\n * Note: Used for autocomplete in the client tutorial form\n *\n * @param courseId the id of the course to which the tutorial groups belong to\n * @return ResponseEntity with status 200 (OK) and with body containing the unique language values of tutorial groups in the course\n */\n @GetMapping(\"courses/{courseId}/tutorial-groups/language-values\")\n @EnforceAtLeastEditorInCourse\n public ResponseEntity> getUniqueLanguageValues(@PathVariable Long courseId) {\n log.debug(\"REST request to get unique language values used for tutorial groups in course : {}\", courseId);\n return ResponseEntity.ok(tutorialGroupRepository.findAllUniqueLanguageValuesByCourseId(courseId));\n }\n\n /**\n * GET /courses/:courseId/tutorial-groups: gets the tutorial groups of the specified course.\n *\n * @param courseId the id of the course to which the tutorial groups belong to\n * @return the ResponseEntity with status 200 (OK) and with body containing the tutorial groups of the course\n */\n @FeatureUsage(UserFeature.TUTORIAL_GROUPS)\n @GetMapping(\"courses/{courseId}/tutorial-groups\")\n @EnforceAtLeastStudentInCourse\n public ResponseEntity> getTutorialGroupsForCourse(@PathVariable Long courseId) {\n return ResponseEntity.ok(loadTutorialGroupsForCourse(courseId, false, false));\n }\n\n /**\n * Returns the tutor overview, keeping private fields only for the current tutor's assigned groups.\n *\n * @param courseId the course containing the tutorial groups\n * @return the fixed tutor projection\n */\n @FeatureUsage(UserFeature.TUTORIAL_GROUPS)\n @GetMapping(\"courses/{courseId}/tutorial-groups/for-tutor\")\n @EnforceAtLeastTutorInCourse\n public ResponseEntity> getTutorialGroupsForCourseForTutor(@PathVariable Long courseId) {\n return ResponseEntity.ok(loadTutorialGroupsForCourse(courseId, false, true));\n }\n\n /**\n * Returns the instructor overview with private fields for every tutorial group.\n *\n * @param courseId the course containing the tutorial groups\n * @return the fixed instructor projection\n */\n @FeatureUsage(UserFeature.TUTORIAL_GROUPS)\n @GetMapping(\"courses/{courseId}/tutorial-groups/for-instructor\")\n @EnforceAtLeastInstructorInCourse\n public ResponseEntity> getTutorialGroupsForCourseForInstructor(@PathVariable Long courseId) {\n return ResponseEntity.ok(loadTutorialGroupsForCourse(courseId, true, true));\n }\n\n private List loadTutorialGroupsForCourse(Long courseId, boolean instructorProjection, boolean staffOverview) {\n var course = courseRepository.findByIdElseThrow(courseId);\n var user = userRepository.getUserWithAuthorities();\n return tutorialGroupService.findAllForCourse(course, user, instructorProjection, staffOverview).stream().map(TutorialGroupSummaryDTO::from).toList();\n }\n\n /**\n * GET /courses/{courseId}/tutorial-groups/{tutorialGroupId} : Retrieves a DTO needed to display information in the course-tutorial-group-detail.component.ts\n *\n * @param courseId the ID of the course containing the tutorial group\n * @param tutorialGroupId the ID of the tutorial group to retrieve\n * @return {@link ResponseEntity} with status 200 (OK) containing the DTO\n * @throws EntityNotFoundException {@code 404 (Not Found)} if no course exists for courseId\n * @throws EntityNotFoundException {@code 404 (Not Found)} if no tutorial group exists for tutorialGroupId\n * @throws AccessForbiddenException {@code 403 (Forbidden)} if the requesting user is not part of the course\n * @throws InternalServerErrorException {@code 500 (Internal Server Error)} if no time zone is set for the course\n */\n @FeatureUsage(UserFeature.TUTORIAL_GROUPS)\n @GetMapping(\"courses/{courseId}/tutorial-groups/{tutorialGroupId}\")\n @EnforceAtLeastStudentInCourse\n public ResponseEntity getTutorialGroup(@PathVariable long courseId, @PathVariable long tutorialGroupId) {\n log.debug(\"REST request to get tutorial group: {} of course: {}\", tutorialGroupId, courseId);\n Optional timeZoneString = courseRepository.getTimeZoneOfCourseById(courseId);\n if (timeZoneString.isEmpty()) {\n throw new InternalServerErrorException(\"The course of the tutorial group has an invalid timezone value. This should never happen when tutorial groups exist.\");\n }\n if (!tutorialGroupRepository.existsByIdAndCourse_Id(tutorialGroupId, courseId)) {\n throw new EntityNotFoundException(\"There exists no tutorial group with the given tutorialGroupId for the course with the given courseId.\");\n }\n ZoneId timeZone = ZoneId.of(timeZoneString.get());\n TutorialGroupDetailDataDTO tutorialGroupDetailDataDTO = tutorialGroupService.getTutorialGroupDTO(tutorialGroupId, courseId, timeZone);\n return ResponseEntity.ok().body(tutorialGroupDetailDataDTO);\n }\n\n /**\n * GET /courses/:courseId/tutorial-groups/:tutorialGroupId/schedule : get the schedule of a tutorial group.\n *\n * @param courseId the id of the course to which the tutorial group belongs\n * @param tutorialGroupId the id of the tutorial group\n * @return the {@link ResponseEntity} with the tutorial group schedule, or 204 if no schedule exists\n */\n @GetMapping(\"courses/{courseId}/tutorial-groups/{tutorialGroupId}/schedule\")\n @EnforceAtLeastEditorInCourse\n public ResponseEntity getTutorialGroupSchedule(@PathVariable long courseId, @PathVariable long tutorialGroupId) {\n log.debug(\"REST request to get tutorial group schedule: {} of course: {}\", tutorialGroupId, courseId);\n if (!tutorialGroupRepository.existsByIdAndCourse_Id(tutorialGroupId, courseId)) {\n throw new EntityNotFoundException(\"There exists no tutorial group with the given tutorialGroupId for the course with the given courseId.\");\n }\n Optional scheduleOptional = tutorialGroupScheduleRepository.findByTutorialGroup_Id(tutorialGroupId);\n return scheduleOptional.map(schedule -> ResponseEntity.ok(TutorialGroupScheduleDTO.toTutorialGroupScheduleDTO((schedule)))).orElse(ResponseEntity.noContent().build());\n }\n\n /**\n * POST /courses/:courseId/tutorial-groups : create a tutorial group for a course.\n *\n * @param courseId the id of the course to which the tutorial group belongs\n * @param createTutorialGroupRequestDTO the data used to create the tutorial group\n * @return the {@link ResponseEntity} with the id of the created tutorial group\n */\n @PostMapping(\"courses/{courseId}/tutorial-groups\")\n @EnforceAtLeastEditorInCourse\n public ResponseEntity createTutorialGroup(@PathVariable Long courseId, @RequestBody @Valid CreateOrUpdateTutorialGroupRequestDTO createTutorialGroupRequestDTO) {\n TutorialGroupScheduleDTO tutorialGroupScheduleDTO = createTutorialGroupRequestDTO.tutorialGroupSchedule();\n if (tutorialGroupScheduleDTO != null) {\n tutorialGroupScheduleDTO.validateMaximumTutorialPeriodLength();\n }\n log.debug(\"REST request to create TutorialGroup: {} in course: {}\", createTutorialGroupRequestDTO, courseId);\n\n var course = courseRepository.findByIdElseThrow(courseId);\n var user = userRepository.getUserWithAuthorities();\n\n if (tutorialGroupRepository.existsByTitleAndCourse(createTutorialGroupRequestDTO.title(), course)) {\n throw new BadRequestException(\"A tutorial group with this title already exists in the course.\");\n }\n\n TutorialGroupsConfiguration configuration = tutorialGroupsConfigurationRepository.findByCourseIdWithEagerTutorialGroupFreePeriods(courseId)\n .orElseThrow(() -> new BadRequestException(\"The course has no tutorial groups configuration\"));\n\n if (configuration.getCourse().getTimeZone() == null) {\n throw new BadRequestException(\"The course has no time zone\");\n }\n\n User teachingAssistant = userRepository.findByIdElseThrow(createTutorialGroupRequestDTO.tutorId());\n\n TutorialGroup tutorialGroup = new TutorialGroup();\n tutorialGroup.setCourse(course);\n tutorialGroup.setTitle(createTutorialGroupRequestDTO.title());\n tutorialGroup.setTeachingAssistant(teachingAssistant);\n tutorialGroup.setLanguage(createTutorialGroupRequestDTO.language());\n tutorialGroup.setIsOnline(createTutorialGroupRequestDTO.isOnline());\n tutorialGroup.setCampus(createTutorialGroupRequestDTO.campus());\n tutorialGroup.setCapacity(createTutorialGroupRequestDTO.capacity());\n tutorialGroup.setAdditionalInformation(createTutorialGroupRequestDTO.additionalInformation());\n tutorialGroup = tutorialGroupRepository.save(tutorialGroup);\n\n if (tutorialGroupScheduleDTO != null) {\n TutorialGroupSchedule schedule = TutorialGroupScheduleDTO.toTutorialGroupSchedule(tutorialGroupScheduleDTO);\n tutorialGroupScheduleService.saveScheduleAndGenerateScheduledSessions(course, tutorialGroup, schedule);\n tutorialGroup.setTutorialGroupSchedule(schedule);\n }\n\n if (configuration.getUseTutorialGroupChannels()) {\n tutorialGroupChannelManagementService.createChannelForTutorialGroup(tutorialGroup);\n }\n\n if (!user.equals(teachingAssistant)) {\n var tutorialGroupAssignedNotification = new TutorialGroupAssignedNotification(course.getId(), course.getTitle(), course.getCourseIcon(), tutorialGroup.getTitle(),\n tutorialGroup.getId(), user.getName());\n courseNotificationService.sendCourseNotification(tutorialGroupAssignedNotification, List.of(teachingAssistant));\n }\n\n return ResponseEntity.ok().body(tutorialGroup.getId());\n }\n\n /**\n * PUT /courses/:courseId/tutorial-groups/:tutorialGroupId : update an existing tutorial group.\n *\n * @param courseId the id of the course to which the tutorial group belongs\n * @param tutorialGroupId the id of the tutorial group to update\n * @param updateTutorialGroupRequestDTO the data used to update the tutorial group\n * @return the {@link ResponseEntity} with status 204 (NO_CONTENT)\n */\n @PutMapping(\"courses/{courseId}/tutorial-groups/{tutorialGroupId}\")\n @EnforceAtLeastEditorInCourse\n public ResponseEntity updateTutorialGroup(@PathVariable long courseId, @PathVariable long tutorialGroupId,\n @RequestBody @Valid CreateOrUpdateTutorialGroupRequestDTO updateTutorialGroupRequestDTO) {\n TutorialGroupScheduleDTO tutorialGroupScheduleDTO = updateTutorialGroupRequestDTO.tutorialGroupSchedule();\n if (tutorialGroupScheduleDTO != null) {\n tutorialGroupScheduleDTO.validateMaximumTutorialPeriodLength();\n }\n log.debug(\"REST request to update TutorialGroup : {}\", updateTutorialGroupRequestDTO);\n\n TutorialGroup tutorialGroup = this.tutorialGroupRepository.findByIdWithTeachingAssistantAndRegistrationsElseThrow(tutorialGroupId);\n checkIfGroupMatchesPathIds(tutorialGroup, Optional.of(courseId), Optional.of(tutorialGroupId));\n\n Course course = tutorialGroup.getCourse();\n User user = userRepository.getUserWithAuthorities();\n User oldTutor = tutorialGroup.getTeachingAssistant();\n User newTutor = userRepository.findByIdElseThrow(updateTutorialGroupRequestDTO.tutorId());\n\n TutorialGroupsConfiguration configuration = tutorialGroupsConfigurationRepository.findByCourseIdWithEagerTutorialGroupFreePeriods(courseId)\n .orElseThrow(() -> new BadRequestException(\"The course has no tutorial groups configuration\"));\n\n if (course.getTimeZone() == null) {\n throw new BadRequestException(\"The course has no time zone\");\n }\n\n String updatedTitle = updateTutorialGroupRequestDTO.title().trim();\n boolean titleChanges = !tutorialGroup.getTitle().equals(updatedTitle);\n if (titleChanges && tutorialGroupRepository.existsByTitleAndCourse(updatedTitle, course)) {\n throw new BadRequestException(\"A tutorial group with this title already exists in the course.\");\n }\n\n // Reject a schedule change that would make a retained session overlap an individual session before any group write or side effect,\n // so the group's title, tutor, notifications and channel stay untouched when the schedule change is rejected.\n tutorialGroupScheduleService.validateScheduleUpdateDoesNotOverlapIndividualSessions(course, tutorialGroup, tutorialGroupScheduleDTO);\n\n boolean newTutorDoesNotEqualOldTutor = !newTutor.equals(oldTutor);\n if (newTutorDoesNotEqualOldTutor) {\n boolean newTutorIsNotLoggedInUser = !newTutor.equals(user);\n if (newTutorIsNotLoggedInUser) {\n var tutorialGroupAssignedNotification = new TutorialGroupAssignedNotification(course.getId(), course.getTitle(), course.getCourseIcon(),\n updateTutorialGroupRequestDTO.title(), tutorialGroupId, user.getName());\n courseNotificationService.sendCourseNotification(tutorialGroupAssignedNotification, List.of(newTutor));\n }\n boolean oldTutorIsNotLoggedInUser = !oldTutor.equals(user);\n if (oldTutorIsNotLoggedInUser) {\n var tutorialGroupUnassignedNotification = new TutorialGroupUnassignedNotification(course.getId(), course.getTitle(), course.getCourseIcon(),\n tutorialGroup.getTitle(), tutorialGroupId, user.getName());\n courseNotificationService.sendCourseNotification(tutorialGroupUnassignedNotification, List.of(oldTutor));\n }\n if (configuration.getUseTutorialGroupChannels()) {\n tutorialGroupChannelManagementService.addUsersToTutorialGroupChannel(tutorialGroup, Set.of(newTutor));\n tutorialGroupChannelManagementService.grantUsersModeratorRoleToTutorialGroupChannel(tutorialGroup, Set.of(newTutor));\n tutorialGroupChannelManagementService.removeUsersFromTutorialGroupChannel(tutorialGroup, Set.of(oldTutor));\n }\n }\n\n tutorialGroup.setTitle(updatedTitle);\n tutorialGroup.setTeachingAssistant(newTutor);\n tutorialGroup.setAdditionalInformation(updateTutorialGroupRequestDTO.additionalInformation());\n tutorialGroup.setCapacity(updateTutorialGroupRequestDTO.capacity());\n tutorialGroup.setIsOnline(updateTutorialGroupRequestDTO.isOnline());\n tutorialGroup.setLanguage(updateTutorialGroupRequestDTO.language());\n tutorialGroup.setCampus(updateTutorialGroupRequestDTO.campus());\n tutorialGroup = tutorialGroupRepository.save(tutorialGroup);\n\n TutorialGroupSchedule oldSchedule = tutorialGroup.getTutorialGroupSchedule();\n TutorialGroupSchedule newSchedule = TutorialGroupScheduleDTO.toTutorialGroupSchedule(tutorialGroupScheduleDTO);\n tutorialGroupScheduleService.updateScheduleAndSessionsIfChanged(course, tutorialGroup, Optional.ofNullable(oldSchedule), Optional.ofNullable(newSchedule));\n\n if (titleChanges) {\n tutorialGroupChannelManagementService.updateNameOfTutorialGroupChannelIfItExists(tutorialGroup);\n }\n\n return ResponseEntity.noContent().build();\n }\n\n /**\n * DELETE /courses/:courseId/tutorial-groups/:tutorialGroupId : delete a tutorial group.\n *\n * @param courseId the id of the course to which the tutorial group belongs to\n * @param tutorialGroupId the id of the tutorial group to delete\n * @return the ResponseEntity with status 204 (NO_CONTENT)\n */\n @DeleteMapping(\"courses/{courseId}/tutorial-groups/{tutorialGroupId}\")\n @EnforceAtLeastInstructorInCourse\n public ResponseEntity deleteTutorialGroup(@PathVariable Long courseId, @PathVariable Long tutorialGroupId) {\n log.info(\"REST request to delete a TutorialGroup: {} of course: {}\", tutorialGroupId, courseId);\n var tutorialGroup = this.tutorialGroupRepository.findByIdWithTeachingAssistantAndRegistrationsElseThrow(tutorialGroupId);\n checkIfGroupMatchesPathIds(tutorialGroup, Optional.of(courseId), Optional.of(tutorialGroupId));\n\n tutorialGroupChannelManagementService.deleteTutorialGroupChannel(tutorialGroup.getId());\n tutorialGroupRepository.deleteById(tutorialGroup.getId());\n\n var course = tutorialGroup.getCourse();\n var currentUser = userRepository.getUser();\n var tutorialGroupDeletedNotification = new TutorialGroupDeletedNotification(course.getId(), course.getTitle(), course.getCourseIcon(), tutorialGroup.getTitle(),\n tutorialGroup.getId(), currentUser.getName());\n courseNotificationService.sendCourseNotification(tutorialGroupDeletedNotification,\n tutorialGroupService.findUsersToNotify(tutorialGroup).stream().filter((user -> !Objects.equals(currentUser.getId(), user.getId()))).toList());\n\n return ResponseEntity.noContent().build();\n }\n\n /**\n * POST /courses/:courseId/tutorial-groups/:tutorialGroupId/batch-register : register multiple students to a tutorial group using their logins.\n *\n * @param courseId the id of the course to which the tutorial group belongs\n * @param tutorialGroupId the id of the tutorial group\n * @param logins the logins of the students to register\n * @return the {@link ResponseEntity} with status 204 (NO_CONTENT)\n */\n @PostMapping(\"courses/{courseId}/tutorial-groups/{tutorialGroupId}/batch-register\")\n @EnforceAtLeastStudent\n @ManualConfig\n public ResponseEntity batchRegisterStudents(@PathVariable long courseId, @PathVariable long tutorialGroupId, @RequestBody List logins) {\n log.debug(\"REST request to register {} to tutorial group {}\", logins, tutorialGroupId);\n var tutorialGroup = this.tutorialGroupRepository.findByIdElseThrow(tutorialGroupId);\n checkIfGroupMatchesPathIds(tutorialGroup, Optional.of(courseId), Optional.of(tutorialGroupId));\n\n User user = userRepository.getUserWithAuthorities();\n boolean userIsTutorOfGroup = tutorialGroup.getTeachingAssistant().equals(user) && authorizationCheckService.isAtLeastTeachingAssistantInCourse(courseId, user);\n boolean userIsAtLeastEditorInCourse = authorizationCheckService.isAtLeastEditorInCourse(user.getLogin(), courseId);\n if (!userIsTutorOfGroup && !userIsAtLeastEditorInCourse) {\n throw new AccessForbiddenException(\"Only the tutor of a tutorial group or a user that is at least editor in the course can register students.\");\n }\n\n tutorialGroupService.registerMultipleStudentsViaLogin(tutorialGroup, logins, TutorialGroupRegistrationType.INSTRUCTOR_REGISTRATION, user);\n return ResponseEntity.noContent().build();\n }\n\n /**\n * DELETE /courses/:courseId/tutorial-groups/:tutorialGroupId/deregister/:studentLogin : deregister a student from a tutorial group.\n *\n * @param courseId the id of the course to which the tutorial group belongs to\n * @param tutorialGroupId the id of the tutorial group\n * @param studentLogin the login of the student to deregister\n * @return the ResponseEntity with status 204 (NO_CONTENT)\n */\n @DeleteMapping(\"courses/{courseId}/tutorial-groups/{tutorialGroupId}/deregister/{studentLogin:\" + Constants.LOGIN_REGEX + \"}\")\n @EnforceAtLeastStudent\n @ManualConfig\n public ResponseEntity deregisterStudent(@PathVariable Long courseId, @PathVariable Long tutorialGroupId, @PathVariable String studentLogin) {\n log.debug(\"REST request to deregister {} student from tutorial group : {}\", studentLogin, tutorialGroupId);\n var tutorialGroup = this.tutorialGroupRepository.findByIdElseThrow(tutorialGroupId);\n checkIfGroupMatchesPathIds(tutorialGroup, Optional.of(courseId), Optional.of(tutorialGroupId));\n\n User user = userRepository.getUserWithAuthorities();\n boolean userIsTutorOfGroup = tutorialGroup.getTeachingAssistant().equals(user) && authorizationCheckService.isAtLeastTeachingAssistantInCourse(courseId, user);\n boolean userIsAtLeastEditorInCourse = authorizationCheckService.isAtLeastEditorInCourse(user.getLogin(), courseId);\n if (!userIsTutorOfGroup && !userIsAtLeastEditorInCourse) {\n throw new AccessForbiddenException(\"Only the tutor of a tutorial group or a user that is at least editor in the course can deregister a student.\");\n }\n\n User studentToDeregister = userRepository.getUserWithAuthorities(studentLogin);\n tutorialGroupService.deregisterStudent(studentToDeregister, tutorialGroup, TutorialGroupRegistrationType.INSTRUCTOR_REGISTRATION, user);\n return ResponseEntity.noContent().build();\n }\n\n /**\n * GET /courses/:courseId/tutorial-groups/:tutorialGroupId/unregistered-students : search students of the course that are not registered in the tutorial group yet.\n *\n * @param courseId the id of the course to which the tutorial group belongs\n * @param tutorialGroupId the id of the tutorial group\n * @param loginOrName the search string matched against login or name\n * @param pageIndex the zero-based page index\n * @param pageSize the number of results per page\n * @return the {@link ResponseEntity} with the matching unregistered students\n */\n @GetMapping(\"courses/{courseId}/tutorial-groups/{tutorialGroupId}/unregistered-students\")\n @EnforceAtLeastStudent\n @ManualConfig\n public ResponseEntity> searchUnregisteredStudents(@PathVariable long courseId, @PathVariable long tutorialGroupId,\n @RequestParam String loginOrName, @RequestParam int pageIndex, @RequestParam int pageSize) {\n if (!tutorialGroupRepository.existsByIdAndCourse_Id(tutorialGroupId, courseId)) {\n throw new EntityNotFoundException(\"There exists no tutorial group with the given tutorialGroupId for the course with the given courseId.\");\n }\n\n User user = userRepository.getUserWithAuthorities();\n var isUserTutorInTutorialGroup = tutorialGroupRepository.isTutorInTutorialGroup(user.getId(), tutorialGroupId, courseId)\n && authorizationCheckService.isAtLeastTeachingAssistantInCourse(courseId, user);\n var isUserAtLeastEditorInCourse = authorizationCheckService.isAtLeastEditorInCourse(user.getLogin(), courseId);\n if (!isUserTutorInTutorialGroup && !isUserAtLeastEditorInCourse) {\n throw new AccessForbiddenException(\"Only the tutor of the group, editors and instructors are allowed to access unregistered students of a tutorial group.\");\n }\n\n List foundStudents = tutorialGroupRegistrationRepository.searchUnregisteredStudents(tutorialGroupId, courseId, loginOrName,\n PageRequest.of(pageIndex, pageSize));\n\n return ResponseEntity.ok().body(foundStudents);\n }\n\n /**\n * GET /courses/:courseId/tutorial-groups/:tutorialGroupId/registered-students : get all registered students of a tutorial group.\n *\n * @param courseId the id of the course to which the tutorial group belongs\n * @param tutorialGroupId the id of the tutorial group\n * @return the {@link ResponseEntity} with the registered students of the tutorial group\n */\n @GetMapping(\"courses/{courseId}/tutorial-groups/{tutorialGroupId}/registered-students\")\n @EnforceAtLeastTutorInCourse\n public ResponseEntity> getRegisteredStudents(@PathVariable long courseId, @PathVariable long tutorialGroupId) {\n if (!tutorialGroupRepository.existsByIdAndCourse_Id(tutorialGroupId, courseId)) {\n throw new EntityNotFoundException(\"There exists no tutorial group with the given tutorialGroupId for the course with the given courseId.\");\n }\n\n var registerStudentDTOs = tutorialGroupRepository.getRegisteredStudentsOfTutorialGroup(tutorialGroupId);\n return ResponseEntity.ok().body(registerStudentDTOs);\n }\n\n /**\n * POST /courses/:courseId/tutorial-groups/:tutorialGroupId/import-registrations : register multiple students to a tutorial group using registration data.\n *\n * @param courseId the id of the course to which the tutorial group belongs\n * @param tutorialGroupId the id of the tutorial group\n * @param studentImportDTOs DTOs containing login or registration number of the students that should be registered\n * @return the students that could not be found and therefore were not registered\n */\n @PostMapping(\"courses/{courseId}/tutorial-groups/{tutorialGroupId}/import-registrations\")\n @EnforceAtLeastInstructorInCourse\n public ResponseEntity> importRegistrations(@PathVariable long courseId, @PathVariable long tutorialGroupId,\n @RequestBody List studentImportDTOs) {\n log.debug(\"REST request to register {} to tutorial group {}\", studentImportDTOs, tutorialGroupId);\n var tutorialGroup = this.tutorialGroupRepository.findByIdElseThrow(tutorialGroupId);\n checkIfGroupMatchesPathIds(tutorialGroup, Optional.of(courseId), Optional.of(tutorialGroupId));\n User user = userRepository.getUser();\n\n List notFoundStudentDtos = tutorialGroupService.registerMultipleStudentsViaLoginOrRegistrationNumber(tutorialGroup, studentImportDTOs,\n TutorialGroupRegistrationType.INSTRUCTOR_REGISTRATION, user);\n return ResponseEntity.ok().body(notFoundStudentDtos);\n }\n\n /**\n * POST /courses/:courseId/tutorial-groups/import: Import tutorial groups and student registrations\n *\n * @param courseId the id of the course to which the tutorial groups belong\n * @param importDTOs the list registration import DTOsd\n * @return the list of registrations with information about the success of the import sorted by tutorial group title\n */\n @PostMapping(\"courses/{courseId}/tutorial-groups/import\")\n @EnforceAtLeastEditorInCourse\n public ResponseEntity> importTutorialGroupsWithRegistrations(@PathVariable Long courseId,\n @RequestBody @Valid Set importDTOs) {\n log.debug(\"REST request to import registrations {} to course {}\", importDTOs, courseId);\n var courseFromDatabase = this.courseRepository.findByIdElseThrow(courseId);\n\n var registrations = tutorialGroupService.importRegistrations(courseFromDatabase, importDTOs);\n var sortedRegistrations = registrations.stream().sorted(Comparator.comparing(TutorialGroupImportDataDTO::title)).toList();\n return ResponseEntity.ok().body(sortedRegistrations);\n }\n\n /**\n * GET /courses/:courseId/tutorial-groups/export : Export tutorial groups for a specific course to a CSV file.\n *\n * @param courseId the id of the course for which the tutorial groups should be exported\n * @param fields the list of fields to include in the CSV export\n * @return the ResponseEntity with status 200 (OK) and the CSV file containing the tutorial groups\n */\n @GetMapping(value = \"courses/{courseId}/tutorial-groups/export/csv\", produces = \"text/csv\")\n @EnforceAtLeastInstructorInCourse\n public ResponseEntity exportTutorialGroupsToCSV(@PathVariable Long courseId, @RequestParam List fields) {\n log.debug(\"REST request to export TutorialGroups to CSV for course: {}\", courseId);\n var course = courseRepository.findByIdElseThrow(courseId);\n var user = userRepository.getUserWithAuthorities();\n boolean isAdminOrInstructor = authorizationCheckService.isAtLeastInstructorInCourse(course, user);\n String csvContent;\n try {\n csvContent = tutorialGroupService.exportTutorialGroupsToCSV(course, user, isAdminOrInstructor, fields);\n }\n catch (IOException e) {\n throw new BadRequestException(\"Error occurred while exporting tutorial groups\", e);\n }\n byte[] bytes = csvContent.getBytes(StandardCharsets.UTF_8);\n\n HttpHeaders headers = new HttpHeaders();\n headers.setContentType(new MediaType(\"text\", \"csv\"));\n headers.setContentDispositionFormData(\"attachment\", \"tutorial-groups.csv\");\n headers.setContentLength(bytes.length);\n\n return ResponseEntity.ok().headers(headers).body(bytes);\n }\n\n /**\n * GET /courses/:courseId/tutorial-groups/export/json : Export tutorial groups to JSON.\n *\n * @param courseId the id of the course to which the tutorial groups belong to\n * @param fields the fields to be included in the export\n * @return ResponseEntity with the JSON data of the tutorial groups\n */\n @GetMapping(value = \"courses/{courseId}/tutorial-groups/export/json\", produces = MediaType.APPLICATION_JSON_VALUE)\n @EnforceAtLeastInstructorInCourse\n public ResponseEntity> exportTutorialGroupsToJSON(@PathVariable Long courseId, @RequestParam List fields) {\n log.debug(\"REST request to export TutorialGroups to JSON for course: {}\", courseId);\n var exportInformation = tutorialGroupService.exportTutorialGroupInformation(courseId, fields);\n return ResponseEntity.ok().body(exportInformation);\n }\n\n private void checkIfGroupMatchesPathIds(TutorialGroup tutorialGroup, Optional courseId, Optional tutorialGroupId) {\n courseId.ifPresent(courseIdValue -> {\n if (!tutorialGroup.getCourse().getId().equals(courseIdValue)) {\n throw new BadRequestAlertException(\"The courseId in the path does not match the courseId in the tutorial group\", ENTITY_NAME, \"courseIdMismatch\");\n }\n });\n tutorialGroupId.ifPresent(tutorialGroupIdValue -> {\n if (!tutorialGroup.getId().equals(tutorialGroupIdValue)) {\n throw new BadRequestAlertException(\"The tutorialGroupId in the path does not match the id in the tutorial group\", ENTITY_NAME, \"tutorialGroupIdMismatch\");\n }\n });\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/90a6f43918ec723ae0056a9fd7e78db7a573fc65.json b/web/public/bundles/artemis/code/90a6f43918ec723ae0056a9fd7e78db7a573fc65.json new file mode 100644 index 00000000..a400da2e --- /dev/null +++ b/web/public/bundles/artemis/code/90a6f43918ec723ae0056a9fd7e78db7a573fc65.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "90a6f43918ec723ae0056a9fd7e78db7a573fc65", + "language": "typescript", + "path": "src/main/webapp/app/lecture/manage/lecture-units/tum-live-upload/tum-live-creation.ts", + "schema": "codexray.code/1", + "text": "import { Location } from '@angular/common';\nimport { HttpErrorResponse } from '@angular/common/http';\nimport { DestroyRef, Signal, computed, inject } from '@angular/core';\nimport { takeUntilDestroyed, toObservable, toSignal } from '@angular/core/rxjs-interop';\nimport { NavigationBehaviorOptions, NavigationCancel, NavigationEnd, NavigationError, Router } from '@angular/router';\nimport { TranslateService } from '@ngx-translate/core';\nimport { TumAetUiConfirmationRequest, TumAetUiConfirmationService } from '@tumaet/ui-angular/confirm-dialog';\nimport { AttachmentVideoUnit } from 'app/lecture/shared/entities/lecture-unit/attachmentVideoUnit.model';\nimport { AccountService } from 'app/core/auth/account.service';\nimport { TumLiveUploadService } from 'app/lecture/manage/lecture-units/services/tum-live-upload.service';\nimport { Observable, catchError, distinctUntilChanged, filter, of, startWith, switchMap } from 'rxjs';\n\nconst CHECKPOINT = 'tumLiveRecordingCheckpoint';\nconst PENDING_SAVE = 'tumLiveRecordingSavePending';\n\nexport interface RecordingSaveScope {\n readonly courseId: number;\n readonly lectureId?: number;\n}\n\nexport interface RecordingTarget extends RecordingSaveScope {\n lectureId: number;\n unitId?: number;\n}\n\n/** Angular navigation info is scoped to one navigation and stays in memory, unlike history state. */\nexport class RecordingNavigation {\n constructor(\n readonly target: RecordingTarget,\n private file?: File,\n readonly unit?: AttachmentVideoUnit,\n readonly fromCreate = false,\n ) {}\n\n takeFile(): File | undefined {\n const file = this.file;\n this.file = undefined;\n return file;\n }\n}\n\nexport function recordingNavigation(info: unknown, courseId: number | undefined, lectureId: number | undefined): RecordingNavigation | undefined {\n return info instanceof RecordingNavigation && info.target.courseId === courseId && info.target.lectureId === lectureId ? info : undefined;\n}\n\nexport function lectureEditorCommands(target: RecordingTarget): (string | number)[] {\n return ['/course-management', target.courseId, 'lectures', target.lectureId, 'edit'];\n}\n\nexport function unitEditorCommands(target: RecordingTarget): (string | number)[] {\n return ['/course-management', target.courseId, 'lectures', target.lectureId, 'unit-management', 'attachment-video-units', target.unitId!, 'edit'];\n}\n\n/** The source form remembers acknowledged IDs and an unresolved save in history. The file stays in memory. */\nexport class RecordingRedirect {\n private readonly router = inject(Router);\n private readonly location = inject(Location);\n private readonly destroyRef = inject(DestroyRef);\n private next?: { url: string; info: RecordingNavigation };\n private sourceEntry?: { path: string; target?: RecordingTarget; pending?: RecordingSaveScope };\n\n constructor() {\n // Angular replaces history state on rollback and on navigation to the current URL.\n this.router.events\n .pipe(\n filter((event) => event instanceof NavigationCancel || event instanceof NavigationError || event instanceof NavigationEnd),\n takeUntilDestroyed(this.destroyRef),\n )\n .subscribe(() => {\n if (this.sourceEntry?.path === this.location.path()) {\n this.writeCheckpoint();\n }\n });\n }\n\n checkpoint(target?: RecordingTarget): void {\n this.sourceEntry = target ? { path: this.location.path(), target } : undefined;\n this.writeCheckpoint();\n }\n\n checkpointPendingSave(scope: RecordingSaveScope): void {\n this.sourceEntry = { path: this.location.path(), pending: scope };\n this.writeCheckpoint();\n }\n\n private writeCheckpoint(): void {\n const state = (this.location.getState() ?? {}) as Record;\n delete state[CHECKPOINT];\n delete state[PENDING_SAVE];\n const entry = this.sourceEntry;\n if (entry?.target) {\n state[CHECKPOINT] = entry.target;\n }\n if (entry?.pending) {\n state[PENDING_SAVE] = entry.pending;\n }\n this.location.replaceState(this.location.path(), '', state);\n }\n\n recoverPendingSave(courseId: number, lectureId?: number): RecordingSaveScope | undefined {\n const state = this.location.getState() as Record;\n const scope = state?.[PENDING_SAVE] as RecordingSaveScope | undefined;\n if (\n scope?.courseId === courseId &&\n (scope.lectureId === undefined || Number.isSafeInteger(scope.lectureId)) &&\n (lectureId === undefined || scope.lectureId === lectureId)\n ) {\n const pending = { courseId, lectureId: scope.lectureId };\n this.sourceEntry = { path: this.location.path(), pending };\n return pending;\n }\n return undefined;\n }\n\n recover(courseId: number, lectureId?: number): RecordingTarget | undefined {\n const state = this.location.getState() as Record;\n const target = state?.[CHECKPOINT] as RecordingTarget | undefined;\n if (target?.courseId === courseId && Number.isSafeInteger(target.lectureId) && (lectureId === undefined || target.lectureId === lectureId)) {\n this.sourceEntry = { path: this.location.path(), target };\n return target;\n }\n return undefined;\n }\n\n allows(nextUrl: string | undefined): boolean {\n return !!this.next && this.next.url === nextUrl && this.router.currentNavigation()?.extras.info === this.next.info;\n }\n\n async open(target: RecordingTarget, standalone: boolean, file?: File, unit?: AttachmentVideoUnit, state?: NavigationBehaviorOptions['state']): Promise {\n if (this.next) {\n return false;\n }\n const url = this.router.createUrlTree(standalone ? unitEditorCommands(target) : lectureEditorCommands(target));\n const info = new RecordingNavigation(target, file, unit, true);\n const next = { url: this.router.serializeUrl(url), info };\n const source = this.location.path();\n this.next = next;\n let opened = false;\n try {\n opened = await this.router.navigateByUrl(url, { replaceUrl: true, info, state });\n return opened;\n } catch {\n return false;\n } finally {\n if (this.next === next) {\n this.next = undefined;\n // Router rollback can restore the previous navigation's state, which has no checkpoint.\n if (!opened && !this.destroyRef.destroyed && this.location.path() === source) {\n this.checkpoint(target);\n }\n }\n }\n }\n}\n\nexport function injectRecordingAvailability(courseId: Signal): Signal {\n const account = inject(AccountService);\n const service = inject(TumLiveUploadService);\n const eligibleCourse = computed(() => {\n const id = courseId();\n return id && account.isAtLeastEditorInCourseWithId(id) ? id : undefined;\n });\n return toSignal(\n toObservable(eligibleCourse).pipe(\n distinctUntilChanged(),\n switchMap((id) =>\n id === undefined\n ? of(false)\n : service.isAvailable(id).pipe(\n catchError(() => of(false)),\n startWith(false),\n ),\n ),\n ),\n { initialValue: false },\n );\n}\n\n/** Only known pre-write rejection statuses allow an immediate retry of a non-idempotent creation request. */\nexport function createOutcomeIsUnknown(error: unknown): boolean {\n if (!(error instanceof HttpErrorResponse)) {\n return true;\n }\n const message: unknown = error.error?.message;\n const preWriteErrors = [\n 'error.idexists',\n 'error.idExists',\n 'error.courseMissing',\n 'error.invalidDateRange',\n 'error.attachmentLinkRequired',\n 'error.invalidVideoSourceScheme',\n 'error.invalidYouTubeUrl',\n 'error.invalidPdf',\n ];\n const rejected =\n [401, 403, 404, 413, 415].includes(error.status) ||\n (error.status === 400 && (Array.isArray(error.error?.fieldErrors) || (typeof message === 'string' && preWriteErrors.includes(message))));\n return !rejected;\n}\n\nexport function unknownCreateDetail(error: unknown): string | undefined {\n if (!(error instanceof HttpErrorResponse) || error.status !== 400) {\n return undefined;\n }\n const detail: unknown = error.error?.detail ?? error.error?.title;\n return typeof detail === 'string' ? detail : undefined;\n}\n\nconst UPLOAD_TRANSLATION = 'artemisApp.tumLiveUpload.';\n\nexport function confirmRecordingLeave(service: TumAetUiConfirmationService, translate: TranslateService, phase: 'saving' | 'sending' | 'sent'): Observable {\n return confirmRecordingAction(\n service,\n translate,\n phase === 'saving' ? 'savingTitle' : 'leaveTitle',\n phase === 'saving' ? 'savingMessage' : phase === 'sent' ? 'leaveSentMessage' : 'leaveMessage',\n phase === 'saving' ? 'leave' : 'leaveUpload',\n );\n}\n\nexport function confirmReplacingRecording(service: TumAetUiConfirmationService, translate: TranslateService): Observable {\n return confirmRecordingAction(service, translate, 'replacePendingLinkTitle', 'replacePendingLink', 'replacePendingLinkConfirm');\n}\n\nfunction confirmRecordingAction(service: TumAetUiConfirmationService, translate: TranslateService, header: string, message: string, acceptLabel: string): Observable {\n return new Observable((subscriber) => {\n const decide = (value: boolean) => {\n subscriber.next(value);\n subscriber.complete();\n };\n const request: TumAetUiConfirmationRequest = {\n header: translate.instant(UPLOAD_TRANSLATION + header),\n message: translate.instant(UPLOAD_TRANSLATION + message),\n acceptLabel: translate.instant(UPLOAD_TRANSLATION + acceptLabel),\n rejectLabel: translate.instant(UPLOAD_TRANSLATION + 'stay'),\n acceptSeverity: 'danger',\n rejectSeverity: 'primary',\n accept: () => decide(true),\n reject: () => decide(false),\n };\n service.confirm(request);\n return () => {\n if (service.request(undefined) === request) {\n service.close(undefined);\n }\n };\n });\n}\n\nexport interface RecordingLeaveComponent {\n confirmRecordingLeave(nextUrl?: string): Observable | boolean;\n}\n" +} diff --git a/web/public/bundles/artemis/code/929b66d31337bdebc658368ff961767860d175b7.json b/web/public/bundles/artemis/code/929b66d31337bdebc658368ff961767860d175b7.json new file mode 100644 index 00000000..d44a05d6 --- /dev/null +++ b/web/public/bundles/artemis/code/929b66d31337bdebc658368ff961767860d175b7.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "929b66d31337bdebc658368ff961767860d175b7", + "language": "typescript", + "path": "src/main/webapp/app/calendar/mobile/overview/calendar-mobile-overview.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, computed, inject, signal } from '@angular/core';\nimport dayjs, { Dayjs } from 'dayjs/esm';\nimport * as utils from 'app/calendar/shared/util/calendar-util';\nimport { CalendarViewStateService } from 'app/calendar/shared/service/calendar-view-state.service';\nimport { CalendarMobileMonthPresentationComponent } from 'app/calendar/mobile/month-presentation/calendar-mobile-month-presentation.component';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { CalendarMobileDayPresentationComponent } from 'app/calendar/mobile/day-presentation/calendar-mobile-day-presentation.component';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { faArrowRotateRight, faArrowUpFromBracket, faFilter } from '@fortawesome/free-solid-svg-icons';\nimport { CalendarSubscriptionPopoverComponent } from 'app/calendar/shared/calendar-subscription-popover/calendar-subscription-popover.component';\nimport { CalendarOverviewComponent } from 'app/calendar/shared/calendar-overview/calendar-overview-component.directive';\nimport { CalendarEventFilterOption } from 'app/calendar/shared/util/calendar-util';\nimport { FormsModule } from '@angular/forms';\nimport { TumAetUiButtonDirective } from '@tumaet/ui-angular/button';\nimport { TumAetUiCheckboxComponent } from '@tumaet/ui-angular/checkbox';\nimport { TumAetUiPopoverComponent, TumAetUiPopoverTriggerDirective } from '@tumaet/ui-angular/popover';\nimport { TumAetUiProgressSpinnerComponent } from '@tumaet/ui-angular/progress-spinner';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\n\n@Component({\n selector: 'jhi-calendar-mobile-overview',\n imports: [\n CalendarMobileMonthPresentationComponent,\n CalendarMobileDayPresentationComponent,\n TranslateDirective,\n FaIconComponent,\n CalendarSubscriptionPopoverComponent,\n FormsModule,\n TumAetUiButtonDirective,\n TumAetUiCheckboxComponent,\n TumAetUiPopoverComponent,\n TumAetUiPopoverTriggerDirective,\n TumAetUiProgressSpinnerComponent,\n ArtemisTranslatePipe,\n ],\n templateUrl: './calendar-mobile-overview.component.html',\n styleUrl: './calendar-mobile-overview.component.css',\n})\nexport class CalendarMobileOverviewComponent extends CalendarOverviewComponent {\n private readonly viewState = inject(CalendarViewStateService);\n\n readonly faArrowUpFromBracket = faArrowUpFromBracket;\n readonly faArrowRotateRight = faArrowRotateRight;\n readonly faFilter = faFilter;\n readonly CalendarEventFilterOption = CalendarEventFilterOption;\n\n /* Shared with the desktop overview, so a resize past the breakpoint keeps showing the same month. */\n firstDateOfCurrentMonth = this.viewState.firstDateOfDisplayedMonth;\n selectedDate = signal(undefined);\n weekdayNameKeys = utils.getWeekdayNameKeys();\n monthDescription = computed(() => this.firstDateOfCurrentMonth().locale(this.locale()).format('MMMM YYYY'));\n lectureFilterOptionSelected = computed(() => this.calendarService.includedEventFilterOptions().includes(CalendarEventFilterOption.LectureEvents));\n exerciseFilterOptionSelected = computed(() => this.calendarService.includedEventFilterOptions().includes(CalendarEventFilterOption.ExerciseEvents));\n tutorialFilterOptionSelected = computed(() => this.calendarService.includedEventFilterOptions().includes(CalendarEventFilterOption.TutorialEvents));\n examFilterOptionSelected = computed(() => this.calendarService.includedEventFilterOptions().includes(CalendarEventFilterOption.ExamEvents));\n\n toggleFilterOption(option: CalendarEventFilterOption) {\n if (this.calendarService.includedEventFilterOptions().includes(option)) {\n this.calendarService.includedEventFilterOptions.update((oldOptions) => oldOptions.filter((otherOption) => otherOption !== option));\n } else {\n this.calendarService.includedEventFilterOptions.update((oldOptions) => [...oldOptions, option]);\n }\n }\n\n onDateSelected(date: Dayjs): void {\n this.selectedDate.set(date);\n }\n\n unselectDate() {\n this.selectedDate.set(undefined);\n }\n\n goToPrevious(): void {\n if (this.selectedDate()) {\n this.selectedDate.update((oldDate) => oldDate!.subtract(1, 'day'));\n if (!this.selectedDate()!.isSame(this.firstDateOfCurrentMonth(), 'month')) {\n this.firstDateOfCurrentMonth.update((oldDate) => oldDate.subtract(1, 'month'));\n }\n } else {\n this.firstDateOfCurrentMonth.update((oldDate) => oldDate.subtract(1, 'month'));\n }\n this.loadEventsForCurrentMonth();\n }\n\n goToNext(): void {\n if (this.selectedDate()) {\n this.selectedDate.update((oldDate) => oldDate!.add(1, 'day'));\n if (!this.selectedDate()!.isSame(this.firstDateOfCurrentMonth(), 'month')) {\n this.firstDateOfCurrentMonth.update((oldDate) => oldDate.add(1, 'month'));\n }\n } else {\n this.firstDateOfCurrentMonth.update((oldDate) => oldDate.add(1, 'month'));\n }\n this.loadEventsForCurrentMonth();\n }\n\n goToToday(): void {\n const today = dayjs();\n if (this.selectedDate()) {\n this.selectedDate.set(today);\n this.firstDateOfCurrentMonth.set(today.startOf('month'));\n } else {\n this.firstDateOfCurrentMonth.set(today.startOf('month'));\n }\n this.loadEventsForCurrentMonth();\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/93c66f1b8064940e2ff3406d795018e4e57a1008.json b/web/public/bundles/artemis/code/93c66f1b8064940e2ff3406d795018e4e57a1008.json new file mode 100644 index 00000000..a861658e --- /dev/null +++ b/web/public/bundles/artemis/code/93c66f1b8064940e2ff3406d795018e4e57a1008.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "93c66f1b8064940e2ff3406d795018e4e57a1008", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/service/LearningObjectService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.atlas.service;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.MIN_SCORE_GREEN;\n\nimport java.util.Objects;\nimport java.util.Optional;\nimport java.util.Set;\n\nimport org.jspecify.annotations.NonNull;\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.assessment.domain.AssessmentType;\nimport de.tum.cit.aet.artemis.assessment.service.ParticipantScoreService;\nimport de.tum.cit.aet.artemis.atlas.config.AtlasEnabled;\nimport de.tum.cit.aet.artemis.atlas.domain.LearningObject;\nimport de.tum.cit.aet.artemis.exercise.domain.Exercise;\nimport de.tum.cit.aet.artemis.exercise.repository.SubmissionRepository;\nimport de.tum.cit.aet.artemis.lecture.api.LectureUnitRepositoryApi;\nimport de.tum.cit.aet.artemis.lecture.domain.LectureUnit;\nimport de.tum.cit.aet.artemis.lecture.domain.LectureUnitCompletion;\n\n/**\n * Service implementation for interactions with learning objects.\n *

\n * The interface {@code LearningObject} is implemented by all {@code LectureUnit}s and {@code Exercise}s.\n *\n * @see LearningObject\n * @see LectureUnit\n * @see Exercise\n */\n@Conditional(AtlasEnabled.class)\n@Lazy\n@Service\npublic class LearningObjectService {\n\n private final ParticipantScoreService participantScoreService;\n\n private final Optional lectureUnitRepositoryApi;\n\n private final SubmissionRepository submissionRepository;\n\n public LearningObjectService(ParticipantScoreService participantScoreService, Optional lectureUnitRepositoryApi,\n SubmissionRepository submissionRepository) {\n this.participantScoreService = participantScoreService;\n this.lectureUnitRepositoryApi = lectureUnitRepositoryApi;\n this.submissionRepository = submissionRepository;\n }\n\n /**\n * Checks if the user has completed the learning object.\n *\n * @param learningObject the lecture unit or exercise\n * @param user the user for which to check the completion status\n * @return true if the user completed the lecture unit or has at least one result for the exercise, false otherwise\n */\n public boolean isCompletedByUser(@NonNull LearningObject learningObject, @NonNull User user) {\n return switch (learningObject) {\n case LectureUnit lectureUnit -> lectureUnit.isCompletedFor(user);\n case Exercise exercise -> isCompletedByUser(exercise, user);\n default -> throw new IllegalArgumentException(\"Learning object must be either LectureUnit or Exercise\");\n };\n }\n\n /**\n * Checks if the user has completed the exercise.\n * For manually assessed exercises the user cannot get more feedback usually, so we have to assume all submissions as completed for now\n * For other exercises the user can get more assessments and achieve high enough scores to surpass the {@link MIN_SCORE_GREEN} threshold\n *\n * @param exercise the exercise\n * @param user the user for which to check the completion status\n * @return true if the user has completed the exercise\n */\n private boolean isCompletedByUser(Exercise exercise, User user) {\n if (exercise.getAssessmentType() == AssessmentType.MANUAL) {\n return submissionRepository.existsByExerciseIdAndParticipantIdAndSubmitted(exercise.getId(), user.getId());\n }\n else {\n return participantScoreService.getStudentAndTeamParticipations(user, Set.of(exercise)).anyMatch(score -> score.getLastScore() >= MIN_SCORE_GREEN);\n }\n }\n\n /**\n * Set the lecture unit completions for the given lecture units and user.\n *\n * @param lectureUnits the lecture units for which to set the completions\n * @param user the user for which to set the completions\n */\n public void setLectureUnitCompletions(Set lectureUnits, User user) {\n if (lectureUnitRepositoryApi.isEmpty()) {\n return;\n }\n\n Set lectureUnitCompletions = lectureUnitRepositoryApi.get().findByLectureUnitsAndUserId(lectureUnits, user.getId());\n lectureUnits.forEach(lectureUnit -> {\n var optionalCompletion = lectureUnitCompletions.stream().filter(completion -> Objects.equals(completion.getLectureUnit().getId(), lectureUnit.getId())).findFirst();\n lectureUnit.setCompletedUsers(optionalCompletion.map(Set::of).orElse(Set.of()));\n });\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/9436fbfe1b5a7a3c55b599e465e6ee10a156f4dc.json b/web/public/bundles/artemis/code/9436fbfe1b5a7a3c55b599e465e6ee10a156f4dc.json new file mode 100644 index 00000000..ea0e1b4a --- /dev/null +++ b/web/public/bundles/artemis/code/9436fbfe1b5a7a3c55b599e465e6ee10a156f4dc.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "9436fbfe1b5a7a3c55b599e465e6ee10a156f4dc", + "language": "typescript", + "path": "src/main/webapp/app/atlas/shared/dag-graph/dag-graph.component.ts", + "schema": "codexray.code/1", + "text": "import { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, ElementRef, OnDestroy, TemplateRef, computed, contentChild, inject, input, signal } from '@angular/core';\nimport { Graph, layout as dagreLayout } from '@dagrejs/dagre';\nimport { curveBundle, line } from 'd3-shape';\nimport { DagGraphEdge, DagGraphLayout, DagGraphLayoutEdge, DagGraphLayoutNode, DagGraphNode, GraphNodeDimension, GraphPosition } from 'app/atlas/shared/dag-graph/dag-graph.model';\nimport { captureException } from 'app/core/error-reporting/capture-exception';\n\ninterface PanState {\n pointerX: number;\n pointerY: number;\n panX: number;\n panY: number;\n}\n\n/**\n * Renders a directed graph laid out left-to-right with dagre, as a pannable/zoomable SVG.\n *\n * It replaces the small slice of `@swimlane/ngx-graph` that Artemis used for competency graphs.\n * The layout is delegated to the framework-agnostic `@dagrejs/dagre`; everything else (rendering,\n * pan, zoom, minimap) is plain Angular SVG with no zone.js or RxJS coupling.\n *\n * Node, edge, and defs content are projected via ng-templates referenced as\n * `#nodeTemplate`, `#linkTemplate`, and `#defsTemplate`. Templates receive the corresponding\n * {@link DagGraphLayoutNode} / {@link DagGraphLayoutEdge} as their implicit context, so click\n * handlers and styling stay in the consumer.\n *\n * Nodes without a measured dimension are laid out with default sizes and the graph stays invisible\n * (`visibility: hidden`, so contents remain measurable) until every node has reported its size —\n * consumers update the node objects' `dimension` and pass a new array to trigger the final layout.\n *\n * Although named \"DAG\", the component does not require acyclic input: dagre lays cycles out by\n * temporarily reversing back-edges, so cyclic or self-referential data is tolerated rather than rejected.\n *\n * Accessibility: interaction is pointer/wheel only; there is no keyboard navigation. The root SVG\n * exposes `role=\"group\"` and an optional {@link ariaLabel}; consumers that need accessible selection\n * should provide an alternative (e.g. a list) alongside the graph.\n */\n@Component({\n selector: 'jhi-dag-graph',\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [NgTemplateOutlet],\n templateUrl: './dag-graph.component.html',\n styleUrl: './dag-graph.component.css',\n})\nexport class DagGraphComponent implements OnDestroy {\n private static readonly DEFAULT_NODE_WIDTH = 100;\n private static readonly DEFAULT_NODE_HEIGHT = 45.59;\n private static readonly MIN_ZOOM = 0.1;\n private static readonly MAX_ZOOM = 4;\n private static readonly ZOOM_WHEEL_SENSITIVITY = 1.01;\n private static readonly MINIMAP_MARGIN = 10;\n private readonly element = inject(ElementRef);\n\n /** Graph nodes. A node becomes part of the layout once its `dimension` is set (see class docs). */\n readonly nodes = input.required();\n /** Graph edges. Edges whose `source`/`target` do not match a node id are skipped. */\n readonly edges = input.required();\n /** Whether dragging the background pans the graph. */\n readonly enablePan = input(true);\n /** Whether the mouse wheel zooms the graph; when false the wheel keeps scrolling the page. */\n readonly enableZoom = input(true);\n /** Whether to render the static minimap (with a viewport indicator) in the top-right corner. */\n readonly showMiniMap = input(true);\n /** Maximum minimap width in px; the minimap is scaled down to fit within this. Must be positive. */\n readonly miniMapMaxWidth = input(200);\n /** Maximum minimap height in px; the minimap is scaled down to fit within this. Must be positive. */\n readonly miniMapMaxHeight = input(150);\n /** Optional accessible label for the root SVG (`aria-label`). Pass a translated string. */\n readonly ariaLabel = input();\n\n /** Optional `` content (e.g. arrow markers), projected via `#defsTemplate`. */\n readonly defsTemplate = contentChild>('defsTemplate');\n /** Required node renderer, projected via `#nodeTemplate`; receives a {@link DagGraphLayoutNode} as `$implicit`. */\n readonly nodeTemplate = contentChild.required>('nodeTemplate');\n /** Optional edge renderer, projected via `#linkTemplate`; receives a {@link DagGraphLayoutEdge} as `$implicit`. Falls back to a plain arrowed path. */\n readonly edgeTemplate = contentChild>('linkTemplate');\n\n readonly layout = computed(() => this.computeLayout(this.nodes(), this.edges()));\n /** True once every node has reported a measured dimension; the graph is hidden until then. */\n readonly allMeasured = computed(() => this.nodes().every((node) => node.dimension !== undefined));\n\n private readonly panX = signal(0);\n private readonly panY = signal(0);\n private readonly zoomLevel = signal(1);\n protected readonly contentTransform = computed(() => `translate(${this.panX()}, ${this.panY()}) scale(${this.zoomLevel()})`);\n\n private readonly hostSize = signal({ width: 0, height: 0 });\n private panState?: PanState;\n\n protected readonly minimapScale = computed(() => {\n const { width, height } = this.layout();\n // guard the divisors: a 0 max-dimension would make the scale Infinity and collapse the minimap\n return Math.max(width / Math.max(this.miniMapMaxWidth(), 1), height / Math.max(this.miniMapMaxHeight(), 1), 1);\n });\n protected readonly minimapTransform = computed(() => {\n const scale = this.minimapScale();\n const x = Math.max(this.hostSize().width - this.layout().width / scale - DagGraphComponent.MINIMAP_MARGIN, 0);\n return `translate(${x}, ${DagGraphComponent.MINIMAP_MARGIN}) scale(${1 / scale})`;\n });\n /**\n * Currently visible region of the graph in graph coordinates, for the minimap viewport indicator.\n * Clamped to the graph extent so the indicator never spills outside the minimap box at extreme pan/zoom.\n */\n protected readonly minimapViewport = computed(() => {\n const zoom = this.zoomLevel();\n const { width: graphWidth, height: graphHeight } = this.layout();\n const left = -this.panX() / zoom;\n const top = -this.panY() / zoom;\n const right = left + this.hostSize().width / zoom;\n const bottom = top + this.hostSize().height / zoom;\n const x = Math.max(left, 0);\n const y = Math.max(top, 0);\n return {\n x,\n y,\n width: Math.max(Math.min(right, graphWidth) - x, 0),\n height: Math.max(Math.min(bottom, graphHeight) - y, 0),\n };\n });\n\n private resizeObserver?: ResizeObserver;\n\n constructor() {\n if (typeof ResizeObserver !== 'undefined') {\n this.resizeObserver = new ResizeObserver((entries) => {\n const contentRect = entries[0]?.contentRect;\n if (contentRect) {\n this.hostSize.set({ width: contentRect.width, height: contentRect.height });\n }\n });\n this.resizeObserver.observe(this.element.nativeElement);\n }\n }\n\n ngOnDestroy(): void {\n this.resizeObserver?.disconnect();\n }\n\n /**\n * Zooms towards/away from the cursor on wheel, keeping the graph point under the cursor fixed.\n * No-op (and the page keeps scrolling) when zooming is disabled. The zoom is clamped to [MIN_ZOOM, MAX_ZOOM].\n */\n protected onWheel(event: WheelEvent): void {\n if (!this.enableZoom()) {\n return;\n }\n event.preventDefault();\n const factor = Math.pow(DagGraphComponent.ZOOM_WHEEL_SENSITIVITY, -event.deltaY);\n const newZoom = Math.min(Math.max(this.zoomLevel() * factor, DagGraphComponent.MIN_ZOOM), DagGraphComponent.MAX_ZOOM);\n const appliedFactor = newZoom / this.zoomLevel();\n // anchor the zoom at the cursor: keep the graph point under the cursor fixed\n const hostRect = this.element.nativeElement.getBoundingClientRect();\n const cursorX = event.clientX - hostRect.left;\n const cursorY = event.clientY - hostRect.top;\n this.panX.set(cursorX - (cursorX - this.panX()) * appliedFactor);\n this.panY.set(cursorY - (cursorY - this.panY()) * appliedFactor);\n this.zoomLevel.set(newZoom);\n }\n\n /**\n * Starts a pan gesture. Restricted to the background `.panning-rect` so clicks on projected\n * nodes and edges keep working; uses pointer capture so the drag continues outside the element.\n */\n protected onPointerDown(event: PointerEvent): void {\n // pan only via the background rect so node and edge clicks keep working\n if (!this.enablePan() || event.button !== 0 || !(event.target instanceof Element) || !event.target.classList.contains('panning-rect')) {\n return;\n }\n this.panState = { pointerX: event.clientX, pointerY: event.clientY, panX: this.panX(), panY: this.panY() };\n event.target.setPointerCapture?.(event.pointerId);\n }\n\n /** Translates the graph by the pointer delta while a pan gesture is active. */\n protected onPointerMove(event: PointerEvent): void {\n if (!this.panState) {\n return;\n }\n this.panX.set(this.panState.panX + event.clientX - this.panState.pointerX);\n this.panY.set(this.panState.panY + event.clientY - this.panState.pointerY);\n }\n\n /** Ends the current pan gesture (pointer up or cancel). */\n protected onPointerUp(): void {\n this.panState = undefined;\n }\n\n /**\n * Lays the graph out left-to-right with dagre and derives the SVG geometry: node transforms,\n * edge paths (a `curveBundle` through the dagre points) and, for right-to-left edges, a reversed\n * path so labels read left-to-right. Edges with an unknown source/target are dropped before layout\n * (graphlib would otherwise create ghost nodes); self-loops are kept and laid out by dagre.\n */\n private computeLayout(nodes: DagGraphNode[], edges: DagGraphEdge[]): DagGraphLayout {\n const graph = new Graph({ multigraph: true });\n // same settings ngx-graph's dagre layouts used, for visual continuity\n graph.setGraph({ rankdir: 'LR', marginx: 20, marginy: 20, nodesep: 50, ranksep: 100, edgesep: 100 });\n const nodeIds = new Set(nodes.map((node) => node.id));\n for (const node of nodes) {\n graph.setNode(node.id, {\n width: node.dimension?.width || DagGraphComponent.DEFAULT_NODE_WIDTH,\n height: node.dimension?.height || DagGraphComponent.DEFAULT_NODE_HEIGHT,\n });\n }\n // skip edges with missing endpoints — graphlib would silently create ghost nodes for them\n const validEdges = edges.filter((edge) => nodeIds.has(edge.source) && nodeIds.has(edge.target));\n for (const edge of validEdges) {\n graph.setEdge(edge.source, edge.target, {}, edge.id);\n }\n try {\n dagreLayout(graph);\n } catch (error) {\n // dagre can throw (e.g. stack overflow on pathologically deep chains); degrade to an empty\n // graph instead of breaking change detection. Realistic competency graphs never hit this.\n captureException(new Error('DagGraphComponent: dagre layout failed, rendering an empty graph', { cause: error }));\n return { nodes: [], edges: [], width: 0, height: 0 };\n }\n\n const layoutNodes = nodes.map((node): DagGraphLayoutNode => {\n const { x, y, width, height } = graph.node(node.id);\n return {\n node,\n dimension: { width, height },\n position: { x, y },\n transform: `translate(${x - width / 2}, ${y - height / 2})`,\n };\n });\n\n const lineGenerator = line()\n .x((point) => point.x)\n .y((point) => point.y)\n .curve(curveBundle.beta(1));\n const layoutEdges = validEdges.map((edge): DagGraphLayoutEdge => {\n const points: GraphPosition[] = graph.edge(edge.source, edge.target, edge.id)?.points ?? [];\n const path = lineGenerator(points) ?? '';\n // for edges running right-to-left, attach labels to a reversed path so they read left-to-right\n const reversed = points.length > 1 && points[0].x > points[points.length - 1].x;\n return {\n edge,\n points,\n path,\n textPath: reversed ? (lineGenerator([...points].reverse()) ?? '') : path,\n dominantBaseline: reversed ? 'text-before-edge' : 'text-after-edge',\n };\n });\n\n const graphLabel = graph.graph();\n return {\n nodes: layoutNodes,\n edges: layoutEdges,\n width: Number.isFinite(graphLabel.width) ? graphLabel.width! : 0,\n height: Number.isFinite(graphLabel.height) ? graphLabel.height! : 0,\n };\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/943a1d74db28661f2246605185ecdb3016899ddf.json b/web/public/bundles/artemis/code/943a1d74db28661f2246605185ecdb3016899ddf.json new file mode 100644 index 00000000..34a85281 --- /dev/null +++ b/web/public/bundles/artemis/code/943a1d74db28661f2246605185ecdb3016899ddf.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "943a1d74db28661f2246605185ecdb3016899ddf", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseManagementQuizExerciseDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.course.dto;\n\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\nimport com.fasterxml.jackson.annotation.JsonUnwrapped;\n\nimport de.tum.cit.aet.artemis.exercise.dto.ExerciseVariantGroupReferenceDTO;\nimport de.tum.cit.aet.artemis.quiz.domain.QuizExercise;\nimport de.tum.cit.aet.artemis.quiz.dto.exercise.QuizExerciseWithoutQuestionsDTO;\n\n/**\n * Course-management adapter for the quiz exercise response. The adapter keeps the existing flat JSON shape without making the shared quiz DTO polymorphic, as that DTO is also\n * embedded with {@link JsonUnwrapped} in quiz-module responses.\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record CourseManagementQuizExerciseDTO(@JsonUnwrapped QuizExerciseWithoutQuestionsDTO quizExercise) implements CourseManagementExerciseDTO {\n\n /**\n * Maps a course-management list entry. The course is dropped: it is the enclosing object in that list, so a\n * per-exercise copy would be a redundant back-reference.\n *\n * @param exercise the course exercise to map\n * @return the lean course-list response DTO\n */\n public static CourseManagementQuizExerciseDTO of(QuizExercise exercise) {\n return new CourseManagementQuizExerciseDTO(QuizExerciseWithoutQuestionsDTO.of(exercise).withoutCourse());\n }\n\n @Override\n public Long id() {\n return quizExercise.id();\n }\n\n @Override\n public String title() {\n return quizExercise.title();\n }\n\n @Override\n public String type() {\n return quizExercise.type();\n }\n\n @Override\n @Nullable\n public ExerciseVariantGroupReferenceDTO exerciseVariantGroup() {\n return quizExercise.exerciseVariantGroup();\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/94b4922c7ea7f86c4a509cec8e8dbdc41912cb74.json b/web/public/bundles/artemis/code/94b4922c7ea7f86c4a509cec8e8dbdc41912cb74.json new file mode 100644 index 00000000..8de7ed91 --- /dev/null +++ b/web/public/bundles/artemis/code/94b4922c7ea7f86c4a509cec8e8dbdc41912cb74.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "94b4922c7ea7f86c4a509cec8e8dbdc41912cb74", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/dto/autonomoustutor/PyrisAutonomousTutorPipelineStatusUpdateDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.iris.service.pyris.dto.autonomoustutor;\n\nimport java.util.List;\n\nimport org.jspecify.annotations.NonNull;\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.admin.domain.LLMRequest;\nimport de.tum.cit.aet.artemis.iris.service.pyris.dto.status.PyrisRunState;\nimport de.tum.cit.aet.artemis.iris.service.pyris.dto.status.PyrisStatusErrorDTO;\n\n/**\n * Status update DTO sent from Pyris with the generated response for the autonomous tutor pipeline.\n *\n * @param result the generated response to the student's post\n * @param shouldPostDirectly whether the response should be posted directly to the student\n * @param confidence confidence score (0.0 to 1.0) indicating how confident the model is in the response\n * @param runState current pipeline run state\n * @param error optional error details\n * @param tokens tokens used for generating the response\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record PyrisAutonomousTutorPipelineStatusUpdateDTO(@Nullable String result, boolean shouldPostDirectly, @Nullable Double confidence, PyrisRunState runState,\n @Nullable PyrisStatusErrorDTO error, @NonNull List tokens) {\n\n public PyrisAutonomousTutorPipelineStatusUpdateDTO {\n tokens = tokens != null ? tokens : List.of();\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/953d23de97c855ca6a191293a211a365a0747a84.json b/web/public/bundles/artemis/code/953d23de97c855ca6a191293a211a365a0747a84.json new file mode 100644 index 00000000..57d8687d --- /dev/null +++ b/web/public/bundles/artemis/code/953d23de97c855ca6a191293a211a365a0747a84.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "953d23de97c855ca6a191293a211a365a0747a84", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/domain/CourseNotificationParameter.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.notification.domain;\n\nimport java.io.Serializable;\nimport java.util.Objects;\n\nimport jakarta.persistence.Column;\nimport jakarta.persistence.Entity;\nimport jakarta.persistence.FetchType;\nimport jakarta.persistence.Id;\nimport jakarta.persistence.IdClass;\nimport jakarta.persistence.JoinColumn;\nimport jakarta.persistence.ManyToOne;\nimport jakarta.persistence.Table;\n\nimport com.fasterxml.jackson.annotation.JsonIgnore;\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.core.domain.Parent;\n\n/**\n * Entity class for Course Notification Parameters.\n */\n@Entity\n@Table(name = \"course_notification_parameter\")\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\n@IdClass(CourseNotificationParameter.CourseNotificationParameterId.class)\npublic class CourseNotificationParameter extends AssignedIdNotificationEntity {\n\n @Id\n @ManyToOne(fetch = FetchType.LAZY)\n @JoinColumn(name = \"course_notification_id\", nullable = false)\n @Parent\n private CourseNotification courseNotification;\n\n @Id\n @Column(name = \"param_key\", length = 20, nullable = false)\n private String paramKey;\n\n @Column(name = \"param_value\", length = 100, nullable = false)\n private String paramValue;\n\n /**\n * Default constructor.\n */\n public CourseNotificationParameter() {\n }\n\n /**\n * Constructor with all fields except id.\n *\n * @param courseNotification the course notification this parameter belongs to\n * @param key the parameter key\n * @param value the parameter value\n */\n public CourseNotificationParameter(CourseNotification courseNotification, String key, String value) {\n this.courseNotification = courseNotification;\n this.paramKey = key;\n this.paramValue = value;\n }\n\n /**\n * Gets the course notification this parameter belongs to.\n *\n * @return the course notification\n */\n public CourseNotification getCourseNotification() {\n return courseNotification;\n }\n\n /**\n * Sets the course notification this parameter belongs to.\n *\n * @param courseNotification the course notification to set\n */\n public void setCourseNotification(CourseNotification courseNotification) {\n this.courseNotification = courseNotification;\n }\n\n /**\n * Gets the parameter key.\n *\n * @return the key\n */\n public String getKey() {\n return paramKey;\n }\n\n /**\n * Sets the parameter key.\n *\n * @param key the key to set\n */\n public void setKey(String key) {\n this.paramKey = key;\n }\n\n /**\n * Gets the parameter value.\n *\n * @return the value\n */\n public String getValue() {\n return paramValue;\n }\n\n /**\n * Sets the parameter value.\n *\n * @param value the value to set\n */\n public void setValue(String value) {\n this.paramValue = value;\n }\n\n @Override\n @JsonIgnore\n public CourseNotificationParameterId getId() {\n return new CourseNotificationParameterId(courseNotification.getId(), paramKey);\n }\n\n /**\n * Checks if this parameter is equal to another object.\n * Two parameters are considered equal if they have the same course notification ID and key.\n *\n * @param other the object to compare with\n * @return true if the objects are equal, false otherwise\n */\n @Override\n public boolean equals(Object other) {\n if (this == other) {\n return true;\n }\n if (other == null || getClass() != other.getClass()) {\n return false;\n }\n CourseNotificationParameter that = (CourseNotificationParameter) other;\n return Objects.equals(courseNotification.getId(), that.courseNotification.getId()) && Objects.equals(paramKey, that.paramKey);\n }\n\n /**\n * Generates a hash code for this parameter.\n * The hash code is based on the course notification ID and key.\n *\n * @return the hash code\n */\n @Override\n public int hashCode() {\n int somePrimeNumber = 43;\n int result = 29;\n result = somePrimeNumber * result + (courseNotification != null ? Objects.hash(courseNotification.getId()) : 0);\n result = somePrimeNumber * result + Objects.hash(paramKey);\n return result;\n }\n\n /**\n * Returns a string representation of this parameter.\n *\n * @return a string representation\n */\n @Override\n public String toString() {\n return \"CourseNotificationParameter{\" + \"courseNotificationId=\" + (courseNotification != null ? courseNotification.getId() : null) + \", key='\" + paramKey + '\\''\n + \", value='\" + paramValue + '\\'' + '}';\n }\n\n /**\n * Class representing the composite primary key for CourseNotificationParameter.\n * This class combines courseNotification ID and key to form a composite key.\n */\n public static class CourseNotificationParameterId implements Serializable {\n\n private Long courseNotification;\n\n private String paramKey;\n\n /**\n * Default constructor required by JPA.\n */\n public CourseNotificationParameterId() {\n }\n\n /**\n * Constructs a composite key with the specified course notification ID and key.\n *\n * @param courseNotification the course notification ID\n * @param key the parameter key\n */\n public CourseNotificationParameterId(Long courseNotification, String key) {\n this.courseNotification = courseNotification;\n this.paramKey = key;\n }\n\n /**\n * Checks if this composite key is equal to another object.\n * Two keys are considered equal if they have the same course notification ID and key.\n *\n * @param other the object to compare with\n * @return true if the objects are equal, false otherwise\n */\n @Override\n public boolean equals(Object other) {\n if (this == other) {\n return true;\n }\n if (other == null || getClass() != other.getClass()) {\n return false;\n }\n CourseNotificationParameterId that = (CourseNotificationParameterId) other;\n return Objects.equals(courseNotification, that.courseNotification) && Objects.equals(paramKey, that.paramKey);\n }\n\n /**\n * Generates a hash code for this composite key.\n * The hash code is based on the course notification ID and key.\n *\n * @return the hash code\n */\n @Override\n public int hashCode() {\n int somePrimeNumber = 43;\n int result = 29;\n result = somePrimeNumber * result + (courseNotification != null ? Objects.hash(courseNotification) : 0);\n result = somePrimeNumber * result + Objects.hash(paramKey);\n return result;\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/95758443b29ca7b48a4b6b5b84b0636cbed328e0.json b/web/public/bundles/artemis/code/95758443b29ca7b48a4b6b5b84b0636cbed328e0.json new file mode 100644 index 00000000..6c4f52fb --- /dev/null +++ b/web/public/bundles/artemis/code/95758443b29ca7b48a4b6b5b84b0636cbed328e0.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "95758443b29ca7b48a4b6b5b84b0636cbed328e0", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/config/ExamApiNotPresentException.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exam.config;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.EXAM_ENABLED_PROPERTY_NAME;\n\nimport de.tum.cit.aet.artemis.core.api.AbstractApi;\nimport de.tum.cit.aet.artemis.core.exception.ApiConditionNotPresentException;\n\n/**\n * Exception to be thrown when the exam API is not present.\n */\npublic class ExamApiNotPresentException extends ApiConditionNotPresentException {\n\n /**\n * @param api the api class that should be present\n */\n public ExamApiNotPresentException(Class api) {\n super(api, EXAM_ENABLED_PROPERTY_NAME);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/95e0cd3311d43a1242065a468cee3c3f7e7e0dc3.json b/web/public/bundles/artemis/code/95e0cd3311d43a1242065a468cee3c3f7e7e0dc3.json new file mode 100644 index 00000000..5c57253d --- /dev/null +++ b/web/public/bundles/artemis/code/95e0cd3311d43a1242065a468cee3c3f7e7e0dc3.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "95e0cd3311d43a1242065a468cee3c3f7e7e0dc3", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/dto/CourseHomeCommunicationDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.communication.dto;\n\nimport java.util.List;\n\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.course.dto.home.CourseHomeDTO;\n\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record CourseHomeCommunicationDTO(CourseHomeQuestionsDTO questions, CourseHomeDTO.@Nullable ItemDTO announcement, List faqs) {\n}\n" +} diff --git a/web/public/bundles/artemis/code/964018bb668b789c8020b8d2c8a09b0b3e8f3c39.json b/web/public/bundles/artemis/code/964018bb668b789c8020b8d2c8a09b0b3e8f3c39.json new file mode 100644 index 00000000..e80caebc --- /dev/null +++ b/web/public/bundles/artemis/code/964018bb668b789c8020b8d2c8a09b0b3e8f3c39.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "964018bb668b789c8020b8d2c8a09b0b3e8f3c39", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/config/AtlasLlmPresets.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.atlas.config;\n\nimport java.util.LinkedHashMap;\nimport java.util.List;\nimport java.util.Map;\n\nimport org.jspecify.annotations.Nullable;\nimport org.springframework.boot.context.properties.ConfigurationProperties;\nimport org.springframework.boot.context.properties.bind.Name;\n\nimport de.tum.cit.aet.artemis.core.config.llm.LlmPresetAssignment;\nimport de.tum.cit.aet.artemis.core.config.llm.LlmPresetAssignments;\n\n/**\n * The LLM presets of the LLM-backed part of Atlas, under {@code artemis.atlas.atlasllm.llm-presets}. A task without its own key uses {@code default}.\n *\n * @param defaultPreset the preset of every task without its own key\n * @param chat the interactive chat agent for instructors\n * @param orchestrator the autonomous competency orchestrator\n * @param worker the stateless workers the orchestrator delegates to\n * @param flavorStrip the removal of narrative text from exercises before extraction\n */\n@ConfigurationProperties(prefix = \"artemis.atlas.atlasllm.llm-presets\", ignoreUnknownFields = false)\npublic record AtlasLlmPresets(@Name(\"default\") @Nullable String defaultPreset, @Nullable String chat, @Nullable String orchestrator, @Nullable String worker,\n @Nullable String flavorStrip) implements LlmPresetAssignments {\n\n static final String KEY = \"artemis.atlas.atlasllm.llm-presets\";\n\n @Override\n public List llmPresetAssignments() {\n Map tasks = new LinkedHashMap<>();\n tasks.put(\"chat\", chat);\n tasks.put(\"orchestrator\", orchestrator);\n tasks.put(\"worker\", worker);\n tasks.put(\"flavor-strip\", flavorStrip);\n return LlmPresetAssignment.ofMap(KEY, defaultPreset, tasks);\n }\n\n /** @return the preset of the chat agent; validated at startup */\n public String chatPreset() {\n return resolve(\"chat\", chat);\n }\n\n /** @return the preset of the orchestrator; validated at startup */\n public String orchestratorPreset() {\n return resolve(\"orchestrator\", orchestrator);\n }\n\n /** @return the preset of the workers; validated at startup */\n public String workerPreset() {\n return resolve(\"worker\", worker);\n }\n\n /** @return the preset of flavor stripping; validated at startup */\n public String flavorStripPreset() {\n return resolve(\"flavor-strip\", flavorStrip);\n }\n\n private String resolve(String task, @Nullable String taskPreset) {\n String preset = LlmPresetAssignment.ofMap(KEY, task, taskPreset, defaultPreset).preset();\n if (preset == null) {\n throw new IllegalStateException(\"No LLM preset for \" + KEY + \".\" + task);\n }\n return preset;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/967cbe66bedb2c74849ff6dbbd4226012bfc91b3.json b/web/public/bundles/artemis/code/967cbe66bedb2c74849ff6dbbd4226012bfc91b3.json new file mode 100644 index 00000000..3933bc27 --- /dev/null +++ b/web/public/bundles/artemis/code/967cbe66bedb2c74849ff6dbbd4226012bfc91b3.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "967cbe66bedb2c74849ff6dbbd4226012bfc91b3", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/text/domain/TextBlock.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.text.domain;\n\nimport static org.apache.commons.codec.digest.DigestUtils.sha1Hex;\n\nimport java.io.Serial;\nimport java.io.Serializable;\nimport java.util.Objects;\n\nimport jakarta.persistence.Column;\nimport jakarta.persistence.Entity;\nimport jakarta.persistence.EnumType;\nimport jakarta.persistence.Enumerated;\nimport jakarta.persistence.Id;\nimport jakarta.persistence.JoinColumn;\nimport jakarta.persistence.ManyToOne;\nimport jakarta.persistence.OneToOne;\nimport jakarta.persistence.Table;\nimport jakarta.validation.constraints.Size;\n\nimport com.fasterxml.jackson.annotation.JsonIgnore;\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.assessment.domain.Feedback;\nimport de.tum.cit.aet.artemis.core.domain.Parent;\n\n/**\n * A TextBlock.\n */\n@Entity\n@Table(name = \"text_block\")\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic class TextBlock implements Serializable {\n\n @Serial\n private static final long serialVersionUID = 1L;\n\n @Id\n @Size(min = 40, max = 40)\n @Column(name = \"id\", unique = true, columnDefinition = \"CHAR(40)\", length = 40)\n private String id;\n\n @Column(name = \"text\", nullable = false)\n private String text;\n\n @Column(name = \"start_index\", nullable = false)\n private int startIndex;\n\n @Column(name = \"end_index\", nullable = false)\n private int endIndex;\n\n /**\n * Indicate if block was generated by Segmentation Algorithm or by Assessor\n * Manual Blocks can be deleted, if not associated with feedback.\n * Automatic Blocks should be persisted regardless.\n */\n @Enumerated(EnumType.STRING)\n @Column(name = \"type\")\n private TextBlockType type = TextBlockType.MANUAL;\n\n // There is a foreign key on delete set null\n @OneToOne\n @JsonIgnore\n private Feedback feedback;\n\n @ManyToOne\n @JsonIgnore\n @JoinColumn(nullable = false)\n @Parent\n private TextSubmission submission;\n\n public String getId() {\n return id;\n }\n\n public void setId(String id) {\n this.id = id;\n }\n\n /**\n * Identical with src/main/webapp/app/entities/text-block/text-block.model.ts\n */\n public void computeId() {\n final long submissionId = submission != null ? submission.getId() : 0;\n final String idString = submissionId + \";\" + startIndex + \"-\" + endIndex + \";\" + text;\n // Reviewed false positive (Sonar S4790): the id is a content-derived identifier, not a security control. It must stay identical to the client implementation and to stored\n // ids.\n id = sha1Hex(idString); // NOSONAR // nosemgrep\n }\n\n public TextBlock id(String id) {\n setId(id);\n return this;\n }\n\n public int getStartIndex() {\n return startIndex;\n }\n\n public TextBlock startIndex(int startIndex) {\n this.startIndex = startIndex;\n return this;\n }\n\n public void setStartIndex(int startIndex) {\n this.startIndex = startIndex;\n }\n\n public int getEndIndex() {\n return endIndex;\n }\n\n public TextBlock endIndex(int endIndex) {\n this.endIndex = endIndex;\n return this;\n }\n\n public void setEndIndex(int endIndex) {\n this.endIndex = endIndex;\n }\n\n public String getText() {\n return text;\n }\n\n public TextBlock text(String text) {\n this.text = text;\n return this;\n }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public void setTextFromSubmission() {\n final String submissionText = submission.getText();\n final String blockText = submissionText.substring(startIndex, endIndex);\n setText(blockText);\n }\n\n public TextBlockType getType() {\n return type;\n }\n\n public TextBlock automatic() {\n this.type = TextBlockType.AUTOMATIC;\n return this;\n }\n\n public TextBlock manual() {\n this.type = TextBlockType.MANUAL;\n return this;\n }\n\n public TextSubmission getSubmission() {\n return submission;\n }\n\n public TextBlock submission(TextSubmission textSubmission) {\n this.submission = textSubmission;\n return this;\n }\n\n public Feedback getFeedback() {\n return feedback;\n }\n\n public void setFeedback(Feedback feedback) {\n this.feedback = feedback;\n }\n\n public void setSubmission(TextSubmission textSubmission) {\n this.submission = textSubmission;\n }\n\n @Override\n public boolean equals(Object obj) {\n if (this == obj) {\n return true;\n }\n if (!(obj instanceof TextBlock)) {\n return false;\n }\n return id != null && id.equals(((TextBlock) obj).id);\n }\n\n @Override\n public int hashCode() {\n return Objects.hashCode(getId());\n }\n\n @Override\n public String toString() {\n return \"TextBlock{\" + \"id=\" + getId() + \", text='\" + getText() + \"'\" + \", startIndex='\" + getStartIndex() + \"'\" + \", endIndex='\" + getEndIndex() + \"'\" + \", type='\"\n + getType() + \"'\" + \"}\";\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/97073e83f97d0b826d861ce5215def800b3076a2.json b/web/public/bundles/artemis/code/97073e83f97d0b826d861ce5215def800b3076a2.json new file mode 100644 index 00000000..a9b4360f --- /dev/null +++ b/web/public/bundles/artemis/code/97073e83f97d0b826d861ce5215def800b3076a2.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "97073e83f97d0b826d861ce5215def800b3076a2", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/domain/DragAndDropMapping.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.quiz.domain;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.core.domain.DomainObject;\n\n/**\n * A DragAndDropMapping links a {@link DragItem} to a {@link DropLocation}.\n *

\n * This is the in-memory / wire representation used by the REST DTOs, the raw exam submission/conduction endpoints, the scoring strategies and the client. It carries the drag item\n * and\n * drop location as nested objects (the shape the client expects), plus derived, transient {@code dragItemIndex}/{@code dropLocationIndex} for the editor UI.\n *

\n * It is intentionally not what gets persisted: a question's correct mappings are stored inside {@link DragAndDropQuestionContent} as normalized, id-based\n * {@link DragAndDropCorrectMapping} entries, and a submission's mappings are stored inside {@link DragAndDropSubmittedAnswerSelection} as {@link DragAndDropMappingSelection}\n * entries.\n * {@link DragAndDropQuestion#getCorrectMappings()} and {@link DragAndDropSubmittedAnswer#getMappings()} build these object-based mappings on demand by resolving the stored ids\n * against\n * the owning question, and their setters extract the ids back into the stored form. Formerly a JPA entity backed by {@code drag_and_drop_mapping}; it is now a plain POJO.\n *

\n * It still extends {@link DomainObject} to reuse the {@code id} field and its id-based {@code equals}/{@code hashCode}; the inherited JPA annotations are inert because this class\n * is no\n * longer an {@code @Entity}. For a question's correct mapping the {@code id} is the question-scoped mapping id; for a submission mapping it is {@code null} (submission mappings\n * have no\n * identity of their own).\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic class DragAndDropMapping extends DomainObject {\n\n // Derived, transient: the position of the drag item / drop location within the question's ordered lists. Populated when building the mapping from stored content; never\n // persisted.\n private Integer dragItemIndex;\n\n private Integer dropLocationIndex;\n\n private Boolean invalid = false;\n\n private DragItem dragItem;\n\n private DropLocation dropLocation;\n\n public Integer getDragItemIndex() {\n return dragItemIndex;\n }\n\n public void setDragItemIndex(Integer dragItemIndex) {\n this.dragItemIndex = dragItemIndex;\n }\n\n public Integer getDropLocationIndex() {\n return dropLocationIndex;\n }\n\n public void setDropLocationIndex(Integer dropLocationIndex) {\n this.dropLocationIndex = dropLocationIndex;\n }\n\n public Boolean isInvalid() {\n return invalid != null && invalid;\n }\n\n public void setInvalid(Boolean invalid) {\n this.invalid = invalid;\n }\n\n public DragItem getDragItem() {\n return dragItem;\n }\n\n public void setDragItem(DragItem dragItem) {\n this.dragItem = dragItem;\n }\n\n public DragAndDropMapping dragItem(DragItem dragItem) {\n this.dragItem = dragItem;\n return this;\n }\n\n public DropLocation getDropLocation() {\n return dropLocation;\n }\n\n public void setDropLocation(DropLocation dropLocation) {\n this.dropLocation = dropLocation;\n }\n\n public DragAndDropMapping dropLocation(DropLocation dropLocation) {\n this.dropLocation = dropLocation;\n return this;\n }\n\n @Override\n public String toString() {\n return \"DragAndDropMapping{\" + \"id=\" + getId() + \", dragItemIndex=\" + dragItemIndex + \", dropLocationIndex=\" + dropLocationIndex + \", invalid=\" + isInvalid() + \"}\";\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/9795a93da9440da35d921450675d2c2ec8b99cd6.json b/web/public/bundles/artemis/code/9795a93da9440da35d921450675d2c2ec8b99cd6.json new file mode 100644 index 00000000..4287564b --- /dev/null +++ b/web/public/bundles/artemis/code/9795a93da9440da35d921450675d2c2ec8b99cd6.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "9795a93da9440da35d921450675d2c2ec8b99cd6", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/VcsAccessLogService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.localvc.service;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_LOCALVC;\n\nimport java.time.ZonedDateTime;\nimport java.util.Optional;\n\nimport org.eclipse.jgit.api.Git;\nimport org.eclipse.jgit.api.errors.GitAPIException;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.scheduling.annotation.Async;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.exercise.domain.participation.Participation;\nimport de.tum.cit.aet.artemis.exercise.repository.ParticipationRepository;\nimport de.tum.cit.aet.artemis.programming.domain.AuthenticationMechanism;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingExerciseParticipation;\nimport de.tum.cit.aet.artemis.programming.domain.Repository;\nimport de.tum.cit.aet.artemis.programming.domain.VcsAccessLog;\nimport de.tum.cit.aet.artemis.programming.repository.VcsAccessLogRepository;\nimport de.tum.cit.aet.artemis.programming.web.repository.RepositoryActionType;\n\n@Profile(PROFILE_LOCALVC)\n@Lazy\n@Service\npublic class VcsAccessLogService {\n\n private static final Logger log = LoggerFactory.getLogger(VcsAccessLogService.class);\n\n /** Matches the width of the {@code vcs_access_log.name} column. */\n private static final int ACCESSOR_NAME_MAX_LENGTH = 100;\n\n private final VcsAccessLogRepository vcsAccessLogRepository;\n\n private final ParticipationRepository participationRepository;\n\n VcsAccessLogService(VcsAccessLogRepository vcsAccessLogRepository, ParticipationRepository participationRepository) {\n this.vcsAccessLogRepository = vcsAccessLogRepository;\n this.participationRepository = participationRepository;\n }\n\n /**\n * Creates a vcs access log entry in the background and stores it to the database.\n *

\n * For the record of a rejected attempt, which nothing waits for. The participation is passed by id: the entry only references it, and an entity or a proxy that is\n * handed to another thread cannot be read there, not even to be logged.\n *\n * @param user The user accessing the repository\n * @param participationId The id of the participation which owns the repository\n * @param actionType The action type, for example a failed clone or push\n * @param authenticationMechanism The used authentication mechanism: password, vcs token (user/participation), SSH or code editor\n * @param commitHash The latest commit hash\n * @param ipAddress The ip address of the user accessing the repository\n */\n @Async(\"vcsAccessLogExecutor\")\n public void saveAccessLog(User user, long participationId, RepositoryActionType actionType, AuthenticationMechanism authenticationMechanism, String commitHash,\n String ipAddress) {\n createAccessLog(user, participationId, actionType, authenticationMechanism, commitHash, ipAddress);\n }\n\n /**\n * Creates a vcs access log entry for a build agent cloning a repository for one of its build jobs.\n *

\n * Build agent clones used to leave no trace at all: the old shared-credential shortcut returned before this log was\n * reached, so the most privileged reader in the installation was the only one nobody could audit. There is no user\n * to attribute the access to, because the agent authenticates with the build job's token rather than as a person,\n * so the agent and job identify the access instead.\n *\n * @param participation The participation which owns the repository\n * @param buildAgentName The short name of the build agent that cloned\n * @param buildJobId The id of the build job the clone belongs to\n * @param commitHash The latest commit hash\n * @param ipAddress The address the build agent connected from\n * @param mechanism How the agent authenticated: {@link AuthenticationMechanism#BUILD_JOB_TOKEN} over https,\n * {@link AuthenticationMechanism#SSH} with its key. Both are audited, so which one an\n * installation uses stays visible in the log rather than being inferred from its\n * configuration.\n */\n @Async(\"vcsAccessLogExecutor\")\n public void saveBuildAgentAccessLog(ProgrammingExerciseParticipation participation, String buildAgentName, String buildJobId, String commitHash, String ipAddress,\n AuthenticationMechanism mechanism) {\n log.debug(\"Storing access operation for build agent {} running build job {}\", buildAgentName, buildJobId);\n\n // The name column is NOT NULL and is what identifies the accessor in the audit UI, so it carries both parts.\n // The email column is likewise NOT NULL and has nothing meaningful to hold for an agent.\n String accessor = VcsAccessLog.BUILD_AGENT_ACCESSOR_PREFIX + buildAgentName + \" (build job \" + buildJobId + \")\";\n if (accessor.length() > ACCESSOR_NAME_MAX_LENGTH) {\n // The column is varchar(100); a long agent short name must not turn an audit entry into a failed insert\n accessor = accessor.substring(0, ACCESSOR_NAME_MAX_LENGTH);\n }\n VcsAccessLog accessLogEntry = new VcsAccessLog(null, (Participation) participation, accessor, \"\", RepositoryActionType.PULL, mechanism, commitHash, ipAddress);\n vcsAccessLogRepository.save(accessLogEntry);\n }\n\n /**\n * Creates a vcs access log entry and stores it before returning.\n *

\n * An entry is written once, when the operation is over and everything about it is known, and is never changed afterwards. A failure to write it must not fail the Git\n * operation, so the callers catch it.\n *\n * @param user The user accessing the repository\n * @param participationId The id of the participation which owns the repository\n * @param actionType The action: a clone, pull or push, or a failed one\n * @param authenticationMechanism The used authentication mechanism: password, vcs token (user/participation), SSH or code editor\n * @param commitHash The commit hash that belongs to the action\n * @param ipAddress The ip address of the user accessing the repository\n * @return the stored entry\n */\n public VcsAccessLog createAccessLog(User user, long participationId, RepositoryActionType actionType, AuthenticationMechanism authenticationMechanism, String commitHash,\n String ipAddress) {\n return createAccessLog(user, participationId, actionType, authenticationMechanism, commitHash, ipAddress, ZonedDateTime.now());\n }\n\n /**\n * Stores an entry for an access that happened at the given time. The entry of a request that advertises the references is written after its response was sent, so it carries\n * the time of the request: the next request of the same operation can be answered and written before it, and the log joins the two by their times.\n *\n * @param user The user accessing the repository\n * @param participationId The id of the participation which owns the repository\n * @param actionType The action: a read or a write that moved no data, or a clone, pull or push, or a failed one\n * @param authenticationMechanism The used authentication mechanism: password, vcs token (user/participation), SSH or code editor\n * @param commitHash The commit hash that belongs to the action\n * @param ipAddress The ip address of the user accessing the repository\n * @param timestamp When the access happened\n * @return the stored entry\n */\n public VcsAccessLog createAccessLog(User user, long participationId, RepositoryActionType actionType, AuthenticationMechanism authenticationMechanism, String commitHash,\n String ipAddress, ZonedDateTime timestamp) {\n log.debug(\"Storing access operation for user {}\", user.getLogin());\n\n // The entry only references the participation, so the reference is enough and nothing is loaded.\n Participation participation = participationRepository.getReferenceById(participationId);\n return vcsAccessLogRepository\n .save(new VcsAccessLog(user, participation, user.getName(), user.getEmail(), actionType, authenticationMechanism, commitHash, ipAddress, timestamp));\n }\n\n /**\n * Saves an vcsAccessLog\n *\n * @param vcsAccessLog The vcsAccessLog to save\n */\n @Async(\"vcsAccessLogExecutor\")\n public void saveVcsAccesslog(VcsAccessLog vcsAccessLog) {\n vcsAccessLogRepository.save(vcsAccessLog);\n }\n\n /**\n * Creates a preliminary access log for a push from the code editor, and returns it\n *\n * @param repo The repository to which the push is executed\n * @param user The user submitting the change\n * @param participationId The id of the participation belonging to the repository\n * @return an Optional containing the preliminary VcsAccessLog, if one was created\n * @throws GitAPIException if an error occurs while retrieving the git log\n */\n public Optional createPreliminaryCodeEditorAccessLog(Repository repo, User user, Long participationId) throws GitAPIException {\n try (Git git = new Git(repo)) {\n String lastCommitHash = git.log().setMaxCount(1).call().iterator().next().getName();\n var participation = participationRepository.findById(participationId);\n if (participation.isPresent() && participation.get() instanceof ProgrammingExerciseParticipation programmingParticipation) {\n log.debug(\"Storing access operation for user {}\", user);\n\n return Optional.of(new VcsAccessLog(user, (Participation) programmingParticipation, user.getName(), user.getEmail(), RepositoryActionType.WRITE,\n AuthenticationMechanism.CODE_EDITOR, lastCommitHash, null));\n }\n }\n return Optional.empty();\n }\n\n}\n" +} diff --git a/web/public/bundles/artemis/code/98187850756d814eab564d202c13f51cfdc97984.json b/web/public/bundles/artemis/code/98187850756d814eab564d202c13f51cfdc97984.json new file mode 100644 index 00000000..b2c4846c --- /dev/null +++ b/web/public/bundles/artemis/code/98187850756d814eab564d202c13f51cfdc97984.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "98187850756d814eab564d202c13f51cfdc97984", + "language": "typescript", + "path": "src/main/webapp/app/exercise/statistics/doughnut-chart/doughnut-chart.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, OnInit, computed, effect, inject, input, signal, untracked } from '@angular/core';\nimport { Router, RouterLink } from '@angular/router';\nimport { DoughnutChartType } from 'app/course/manage/detail/course-detail.component';\nimport { roundValueSpecifiedByCourseSettings } from 'app/foundation/util/utils';\nimport { ExerciseType } from 'app/exercise/shared/entities/exercise/exercise.model';\nimport { faSpinner } from '@fortawesome/free-solid-svg-icons';\nimport { Course } from 'app/course/shared/entities/course.model';\nimport { ChartSeriesEntry } from 'app/shared-ui/chart/chart-data.model';\nimport { singleSeriesChart } from 'app/shared-ui/chart/tum-aet-ui-chart-adapters';\nimport { TumAetUiDoughnutChartComponent, TumAetUiDoughnutChartConfig } from '@tumaet/ui-angular/chart';\nimport { GraphColors } from 'app/exercise/shared/entities/statistics.model';\nimport { NgClass } from '@angular/common';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { ExerciseGroup } from 'app/exam/shared/entities/exercise-group.model';\n\nconst PIE_CHART_NA_FALLBACK_VALUE = [0, 0, 1];\n\n@Component({\n selector: 'jhi-doughnut-chart',\n templateUrl: './doughnut-chart.component.html',\n styleUrls: ['./doughnut-chart.component.css'],\n imports: [RouterLink, NgClass, FaIconComponent, TumAetUiDoughnutChartComponent, ArtemisTranslatePipe],\n})\nexport class DoughnutChartComponent implements OnInit {\n private readonly router = inject(Router);\n\n protected readonly faSpinner = faSpinner;\n\n readonly course = input(undefined!);\n readonly contentType = input(undefined!);\n readonly exerciseId = input(undefined!);\n readonly exerciseType = input(undefined!);\n readonly exerciseGroup = input();\n readonly currentPercentage = input();\n readonly currentAbsolute = input();\n readonly currentMax = input();\n\n readonly receivedStats = signal(false);\n readonly doughnutChartTitle = signal(undefined!);\n stats: number[] = [];\n readonly titleLink = signal(undefined);\n\n readonly chartEntries = signal([\n { name: 'Done', value: 0 },\n { name: 'Not done', value: 0 },\n { name: 'N/A', value: 0 }, // fallback to display grey circle if there is no maxValue\n ]);\n\n readonly chartData = computed(() => singleSeriesChart(this.chartEntries(), [GraphColors.GREEN, GraphColors.RED, GraphColors.LIGHT_GREY]));\n readonly chartConfig = computed(() => ({\n legend: false,\n tooltip: { label: (item) => `${this.valueFormatting({ value: item.value })}` },\n }));\n\n constructor() {\n // Recompute the doughnut data whenever the inputs change (replaces ngOnChanges).\n // Track the inputs, but run the chartEntries read+write inside untracked() to avoid a self-triggering loop.\n effect(() => {\n const currentAbsolute = this.currentAbsolute();\n const currentMax = this.currentMax();\n const course = this.course();\n untracked(() => {\n // [0, 0, 0] would hide the chart; PIE_CHART_NA_FALLBACK_VALUE displays 0 %, 0 / 0 with a grey circle.\n if (currentAbsolute == undefined && !this.receivedStats()) {\n this.updatePieChartData(PIE_CHART_NA_FALLBACK_VALUE);\n } else {\n this.receivedStats.set(true);\n const remaining = roundValueSpecifiedByCourseSettings(currentMax! - currentAbsolute!, course);\n this.stats = [currentAbsolute!, remaining, 0]; // done, not done, na\n this.updatePieChartData(currentMax === 0 ? PIE_CHART_NA_FALLBACK_VALUE : this.stats);\n }\n });\n });\n }\n\n /**\n * Depending on the information we want to display in the doughnut chart, we need different titles and links\n */\n ngOnInit(): void {\n switch (this.contentType()) {\n case DoughnutChartType.AVERAGE_EXERCISE_SCORE:\n case DoughnutChartType.PARTICIPATIONS: {\n this.doughnutChartTitle.set(this.contentType() === DoughnutChartType.AVERAGE_EXERCISE_SCORE ? 'averageScore' : 'participationRate');\n const group = this.exerciseGroup();\n const examPath = group?.exam ? `/exams/${group.exam.id}/exercise-groups/${group.id}` : '';\n this.titleLink.set([`/course-management/${this.course().id}${examPath}/${this.exerciseType()}-exercises/${this.exerciseId()}/participations`]);\n break;\n }\n case DoughnutChartType.QUESTIONS:\n this.doughnutChartTitle.set('resolved_posts');\n this.titleLink.set([`/courses/${this.course().id}/exercises/${this.exerciseId()}`]);\n break;\n default:\n this.doughnutChartTitle.set('');\n this.titleLink.set(undefined);\n }\n }\n\n /**\n * handles clicks onto the graph, which then redirects the user to the corresponding page,\n * e.g. participations to the participations page\n */\n openCorrespondingPage() {\n const titleLink = this.titleLink();\n if (this.course().id && this.exerciseId() && titleLink) {\n void this.router.navigate(titleLink);\n }\n }\n\n /**\n * Assigns a given array of numbers to the chart entries\n * @param values the values that should be displayed by the chart\n */\n private updatePieChartData(values: number[]) {\n const currentData = this.chartEntries();\n currentData.forEach((entry: ChartSeriesEntry, index: number) => (entry.value = values[index]));\n this.chartEntries.set([...currentData]);\n }\n\n /**\n * Modifies the tooltip content of the chart.\n * @param data the data point hovered by the user\n * @returns absolute value represented by doughnut piece or 0 if the currentMax is 0.\n * This is necessary in order to compensate the workaround for\n * displaying a chart even if no values are there to display (i.e. currentMax is 0)\n */\n valueFormatting(data: { value: number }): string {\n return this.currentMax() === 0 ? '0' : String(data.value);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/98475a419b3fb6d2db428d201c0fb2edb9062c4d.json b/web/public/bundles/artemis/code/98475a419b3fb6d2db428d201c0fb2edb9062c4d.json new file mode 100644 index 00000000..78b60a9d --- /dev/null +++ b/web/public/bundles/artemis/code/98475a419b3fb6d2db428d201c0fb2edb9062c4d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "98475a419b3fb6d2db428d201c0fb2edb9062c4d", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/LectureIngestionReconcileService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.lecture.service;\n\nimport java.time.Duration;\nimport java.time.ZonedDateTime;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Objects;\nimport java.util.Optional;\nimport java.util.Set;\nimport java.util.concurrent.atomic.AtomicBoolean;\nimport java.util.concurrent.atomic.AtomicInteger;\nimport java.util.concurrent.atomic.AtomicReference;\nimport java.util.function.Function;\nimport java.util.function.IntUnaryOperator;\nimport java.util.stream.Collectors;\nimport java.util.stream.Stream;\n\nimport org.jspecify.annotations.Nullable;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.beans.factory.annotation.Value;\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.iris.api.IrisLectureApi;\nimport de.tum.cit.aet.artemis.lecture.config.LectureWithIrisEnabled;\nimport de.tum.cit.aet.artemis.lecture.domain.AttachmentVideoUnit;\nimport de.tum.cit.aet.artemis.lecture.domain.LectureUnitProcessingState;\nimport de.tum.cit.aet.artemis.lecture.domain.TranscriptionStatus;\nimport de.tum.cit.aet.artemis.lecture.dto.IngestionCensusDTO;\nimport de.tum.cit.aet.artemis.lecture.dto.IngestionCensusUnitDTO;\nimport de.tum.cit.aet.artemis.lecture.dto.IngestionJobIdentityDTO;\nimport de.tum.cit.aet.artemis.lecture.repository.AttachmentVideoUnitRepository;\nimport de.tum.cit.aet.artemis.lecture.repository.LectureTranscriptionRepository;\nimport de.tum.cit.aet.artemis.lecture.repository.LectureUnitProcessingStateReconcileRepository;\nimport de.tum.cit.aet.artemis.lecture.repository.LectureUnitProcessingStateRepository;\n\n/**\n * Converges the Pyris vector index toward what the database says should be ingested.\n *

\n * The event-driven pipeline (dispatch, callbacks, retries, restart recovery) covers the happy and\n * near-happy paths. This service closes the remaining gap by comparing the processing state ledger\n * against two sources of truth and requeueing whatever diverges:\n *

    \n *
  • The current content: a DONE unit whose {@code confirmedFingerprint} is missing (legacy row)\n * or no longer matches the fingerprint of its current sources needs a re-run.
  • \n *
  • The index itself: the Pyris ingestion census reports what the index actually holds, including\n * the fingerprint stamp of each unit row. A DONE unit whose stamp is missing or different lost its data\n * (backup restore, collection recreate, raced delete) and needs a re-run; a censused unit that no longer\n * exists in the database is an orphan and gets deleted, as do the rows of a unit whose lecture is a\n * tutorial lecture.
  • \n *
\n * The reconciler never certifies anything itself: every divergence is resolved by requeueing the unit\n * through the normal pipeline, whose end-of-run audit is the only thing that produces a confirmed\n * fingerprint. Re-runs of genuinely unchanged, complete content are cheap because the Iris pipeline\n * skips the expensive per-page work in that case.\n *

\n * The walk is work-driven. A pass walks all courses, newest first (running courses, then by end date), in steps of a\n * few courses, so recent material is ingested before older material. It starts ingestion work only for courses that\n * are running or ended within {@code artemis.iris.ingestion.course-window} (default two years); older courses are\n * visited only to clean up their index rows. The course's Iris setting plays no role: it switches off the Iris chat\n * and the other interactive features, while global search searches the lecture content of every course. Each step may\n * only add as many units as keep the open background work (queued, running, or waiting for a retry) below a configured\n * bound, so a large backlog drains as fast as Iris finishes it, underneath fresh uploads, instead of flooding the\n * queue or idling while the units it requeued are already done. The cron schedule starts a pass; a short continuation\n * job takes the next step while a pass is active. The position lives in memory: the walker only runs on the\n * scheduling node (one node per installation), and losing it on a restart merely restarts the walk with the newest\n * course, which is idempotent.\n */\n@Conditional(LectureWithIrisEnabled.class)\n@Service\n@Lazy\npublic class LectureIngestionReconcileService {\n\n private static final Logger log = LoggerFactory.getLogger(LectureIngestionReconcileService.class);\n\n private final LectureUnitProcessingStateRepository processingStateRepository;\n\n /** The guarded writes this walk commits; see the repository's own javadoc for why they live apart. */\n private final LectureUnitProcessingStateReconcileRepository reconcileStateRepository;\n\n private final AttachmentVideoUnitRepository attachmentVideoUnitRepository;\n\n private final Optional irisLectureApi;\n\n private final LectureUnitContentFingerprintService contentFingerprintService;\n\n private final LectureContentProcessingService processingService;\n\n private final LectureTranscriptionRepository transcriptionRepository;\n\n /**\n * Dispatch priority of reconcile requeues: behind fresh work (0) and behind nothing else,\n * so draining backlog and healing drift never starves a fresh upload.\n */\n static final int RECONCILE_DISPATCH_PRIORITY = 2;\n\n private final int coursesPerRun;\n\n /**\n * Upper bound on open background units (backfill and reconcile work that is queued, running, or waiting for a retry). A walk step adds\n * at most the difference to this bound, so the walk adds work only as fast as Iris finishes it.\n */\n private final int maxBacklog;\n\n private final double qualityThreshold;\n\n /**\n * How long a unit must sit FAILED before the reconciler revives it for another attempt. This is\n * the long-loop counterpart to the scheduler's short retry loop: the short loop (five attempts,\n * minutes-scale backoff) catches momentary faults, while this catches failures whose cause is\n * slow to clear — a locked resource, an API key that was later restored, a vector store that was\n * down for hours. The cooldown is measured from {@code lastUpdated}, which for a FAILED row is\n * the moment it failed, so no extra state is needed to space revivals per unit.\n */\n private final Duration failedRevivalCooldown;\n\n /**\n * Error keys that are permanent by nature: the content or configuration is the problem, and no\n * amount of waiting fixes it (a private/too-long video, an unreadable attachment, a wrong unit\n * type). These are never revived automatically — they stay FAILED for the manual retry button.\n * Every other failure (the generic {@code processingFailed} that vector-store, audit, timeout,\n * and unknown failures collapse to) is treated as transient and eligible for revival.\n */\n private static final Set PERMANENT_ERROR_KEYS = LectureIngestionFailureClassifier.PERMANENT_ERROR_KEYS;\n\n /**\n * How many times a FAILED unit is revived without an intervening successful completion before it is left\n * FAILED for manual attention. The backstop for a generic (unclassified) error that is really permanent:\n * each revival waits out the cooldown and the next walk visit of its course, so this spans at least ten hours of retrying, longer than\n * any transient outage, and the\n * count resets on a successful DONE, so it never shortens genuine transient recovery.\n */\n private final int maxRevivals;\n\n /**\n * Only courses that are still running or ended within this window get ingestion work from the walk: never-processed units are\n * triggered, skipped ones requeued, failed ones revived and done ones re-ingested only there. Older courses are still visited, but\n * only to clean up their index rows. Uploads and edits are processed through the normal pipeline regardless of the course's age.\n */\n private final Duration courseWindow;\n\n /**\n * How long a unit that was ingested without its video (the video could not be resolved: a TUM Live stream that is not public, has no recording yet,\n * or a TUM Live that was down) waits before the walk tries the video again. Measured from {@code lastUpdated}, which for a DONE row is the end of\n * its last run.\n */\n private final Duration videoPendingRecheck;\n\n /**\n * The window of the outage pause: background intake stops while at least {@link #maxBacklog} units failed in this window for reasons that may\n * mean Iris is down, and no unit was ingested successfully in it. Units that fail for their own reasons (see\n * {@link LectureIngestionFailureClassifier#UNIT_SPECIFIC_ERROR_KEYS}) never count, so they cannot stop the intake of healthy work.\n */\n private final Duration outagePauseWindow;\n\n /**\n * The courses of the active pass, newest first ({@link AttachmentVideoUnitRepository#findReconcileCourseIdsNewestFirst}), read once\n * when the pass starts, or {@code null} between passes. A course created during a pass is visited by the next one.\n */\n private final AtomicReference> passCourseIds = new AtomicReference<>();\n\n /** The position in {@link #passCourseIds} of the next course to visit. */\n private final AtomicInteger passPosition = new AtomicInteger(0);\n\n /**\n * Whether a pass is running: started by the cron schedule, continued step by step, and ended when the walk wraps around after the last\n * course. Separate from {@link #courseResume}, which only marks a pause inside one course.\n */\n private final AtomicBoolean passActive = new AtomicBoolean(false);\n\n /** How many units the active pass requeued or triggered so far, for the log line at its end. */\n private final AtomicInteger passSpent = new AtomicInteger(0);\n\n /**\n * Held from reading the free backlog room until the units it allows are queued, by a walk step and by the backfill alike. Without it,\n * a cron run, a continuation step and the backfill (separate scheduler threads) could each read the same room and together queue more\n * than the bound. In memory is enough: only the scheduling node walks and backfills.\n */\n private final AtomicBoolean spendingBacklog = new AtomicBoolean(false);\n\n /**\n * Where a course the budget ran out in resumes, or {@code null} when the next pass starts at a course boundary. Resuming after the last visited unit, rather than\n * revisiting the course from its start, is what keeps the walk moving: a course with more units that diverge again after every re-ingest than one pass can spend on\n * would otherwise hold the walk on its first units for good and starve every course after it.\n */\n private final AtomicReference courseResume = new AtomicReference<>();\n\n private record CourseResume(long courseId, long afterUnitId) {\n }\n\n /**\n * The outcome of one visit to a course.\n *\n * @param spent how many requeues/triggers the visit spent\n * @param pausedAfterUnitId the last unit visited when the budget ran out with units still ahead, or {@code null} when the visit reached the end of the course\n */\n record CourseVisit(int spent, @Nullable Long pausedAfterUnitId) {\n }\n\n public LectureIngestionReconcileService(LectureUnitProcessingStateRepository processingStateRepository, LectureUnitProcessingStateReconcileRepository reconcileStateRepository,\n AttachmentVideoUnitRepository attachmentVideoUnitRepository, Optional irisLectureApi, LectureUnitContentFingerprintService contentFingerprintService,\n LectureContentProcessingService processingService, @Value(\"${artemis.iris.ingestion.reconcile.courses-per-run:10}\") int coursesPerRun,\n @Value(\"${artemis.iris.ingestion.reconcile.max-backlog:3}\") int maxBacklog, @Value(\"${artemis.iris.ingestion.reconcile.quality-threshold:0.8}\") double qualityThreshold,\n @Value(\"${artemis.iris.ingestion.reconcile.failed-revival-cooldown:PT1H}\") Duration failedRevivalCooldown,\n @Value(\"${artemis.iris.ingestion.reconcile.max-revivals:10}\") int maxRevivals, LectureTranscriptionRepository transcriptionRepository,\n @Value(\"${artemis.iris.ingestion.course-window:P730D}\") Duration courseWindow,\n @Value(\"${artemis.iris.ingestion.reconcile.video-pending-recheck:PT6H}\") Duration videoPendingRecheck,\n @Value(\"${artemis.iris.ingestion.reconcile.outage-pause-window:PT30M}\") Duration outagePauseWindow) {\n this.processingStateRepository = processingStateRepository;\n this.reconcileStateRepository = reconcileStateRepository;\n this.attachmentVideoUnitRepository = attachmentVideoUnitRepository;\n this.irisLectureApi = irisLectureApi;\n this.contentFingerprintService = contentFingerprintService;\n this.processingService = processingService;\n this.coursesPerRun = coursesPerRun;\n this.maxBacklog = maxBacklog;\n this.qualityThreshold = qualityThreshold;\n this.failedRevivalCooldown = failedRevivalCooldown;\n this.maxRevivals = maxRevivals;\n this.transcriptionRepository = transcriptionRepository;\n this.courseWindow = courseWindow;\n this.videoPendingRecheck = videoPendingRecheck;\n this.outagePauseWindow = outagePauseWindow;\n }\n\n /**\n * Start a pass unless one is active, then take its next step. Called by the cron schedule; a tick during an active pass continues it\n * where it stands instead of starting over.\n *\n * @return how many units this step requeued or triggered\n */\n public int startOrContinuePass() {\n if (passActive.compareAndSet(false, true)) {\n passSpent.set(0);\n log.info(\"Ingestion reconcile pass started\");\n }\n return walkNextCourses();\n }\n\n /**\n * Take the next step of the active pass, if there is one. Called by the continuation job, so a pass moves on as soon as the\n * background work it added is done instead of waiting for the next cron tick.\n *\n * @return how many units this step requeued or triggered\n */\n public int continuePass() {\n if (!passActive.get()) {\n return 0;\n }\n return walkNextCourses();\n }\n\n /**\n * How many more background units may be queued now: the configured bound minus the background units still open. Shared by the walk and\n * the backfill, so together they never keep more than the bound in flight.\n *\n * @return the free room, at most the configured bound; zero or less when the backlog is full\n */\n int backlogBudget() {\n return maxBacklog - (int) processingStateRepository.countOpenBackgroundUnits(LectureContentProcessingService.BACKLOG_DISPATCH_PRIORITY, ZonedDateTime.now());\n }\n\n /**\n * Whether Iris looks down: at least {@link #maxBacklog} units failed within {@link #outagePauseWindow} for reasons that are not specific to the unit,\n * and no unit was ingested successfully in that window. Failed units wait for their retry without holding backlog room, so without this pause an\n * outage would let the walk fail its way through every course.\n *\n * @return true if background intake should pause\n */\n boolean isOutagePauseActive() {\n ZonedDateTime cutoff = ZonedDateTime.now().minus(outagePauseWindow);\n if (processingStateRepository.countRecentOutageFailures(cutoff, LectureIngestionFailureClassifier.UNIT_SPECIFIC_ERROR_KEYS) < maxBacklog) {\n return false;\n }\n return processingStateRepository.countRecentSuccessfulIngestions(cutoff) == 0;\n }\n\n /**\n * Queue background work within the free backlog room: reads the room and runs {@code spend} with it while no other walk step or\n * backfill does the same, so together they never queue more than the bound. Does nothing when the room is zero or another caller is\n * spending it right now; the next scheduled run tries again.\n *\n * @param spend queues at most the given number of units and returns how many it queued\n * @return how many units {@code spend} queued, 0 when it did not run\n */\n public int spendBacklog(IntUnaryOperator spend) {\n if (!spendingBacklog.compareAndSet(false, true)) {\n log.debug(\"Background ingestion work skipped: another walk step or backfill is queueing right now\");\n return 0;\n }\n try {\n int budget = backlogBudget();\n if (budget <= 0) {\n log.debug(\"Background ingestion work paused: the backlog of {} open units is full\", maxBacklog);\n return 0;\n }\n if (isOutagePauseActive()) {\n log.info(\"Background ingestion work paused: units keep failing and none succeeded within {}\", outagePauseWindow);\n return 0;\n }\n return spend.applyAsInt(budget);\n }\n finally {\n spendingBacklog.set(false);\n }\n }\n\n /**\n * Take one step of the walk: reconcile the next slice of courses, newest first, spending at most the free backlog room. With no room, it\n * returns before touching the position or the resume point, so the step resumes exactly there once the room frees up. When no course is\n * left, the pass ends and the next one starts again with the newest course.\n *\n * @return how many units were requeued or newly triggered\n */\n int walkNextCourses() {\n if (irisLectureApi.isEmpty()) {\n return 0;\n }\n return spendBacklog(budget -> {\n List passCourses = passCourseIds.updateAndGet(current -> current != null ? current : attachmentVideoUnitRepository.findReconcileCourseIdsNewestFirst());\n int from = passPosition.get();\n if (from >= passCourses.size()) {\n passCourseIds.set(null);\n passPosition.set(0);\n courseResume.set(null);\n if (passActive.getAndSet(false)) {\n log.info(\"Ingestion reconcile pass completed, {} units requeued or triggered\", passSpent.get());\n }\n return 0;\n }\n int spent = walkCourses(passCourses.subList(from, Math.min(passCourses.size(), from + coursesPerRun)), from, budget);\n passSpent.addAndGet(spent);\n return spent;\n });\n }\n\n private int walkCourses(List courseIds, int firstPosition, int budget) {\n CourseResume resume = courseResume.getAndSet(null);\n int spent = 0;\n for (int index = 0; index < courseIds.size(); index++) {\n long courseId = courseIds.get(index);\n CourseVisit visit = new CourseVisit(0, null);\n long afterUnitId = resume != null && resume.courseId() == courseId ? resume.afterUnitId() : 0;\n // Isolate each course so one failing course (e.g. its Iris census call throwing) does not\n // abort the pass before the cursor advances, which would re-hit the same course every run\n // and permanently block reconciliation of every course after it.\n try {\n visit = reconcileCourse(courseId, budget - spent, afterUnitId);\n }\n catch (RuntimeException e) {\n log.error(\"Reconcile: course {} failed this pass and was skipped: {}\", courseId, e.getMessage());\n }\n spent += visit.spent();\n if (visit.spent() > 0) {\n log.info(\"reconcile-course course={} requeued_or_triggered={}\", courseId, visit.spent());\n }\n if (visit.pausedAfterUnitId() != null) {\n // The budget ran out inside this course: the next step comes back to it (the position stays on\n // it) and continues after the last unit visited here instead of skipping the rest.\n passPosition.set(firstPosition + index);\n courseResume.set(new CourseResume(courseId, visit.pausedAfterUnitId()));\n break;\n }\n passPosition.set(firstPosition + index + 1);\n if (spent >= budget) {\n // The budget ran out exactly at the end of this course: the next step starts with the next course.\n break;\n }\n }\n return spent;\n }\n\n /**\n * Reconcile a single course: requeue divergent units, trigger units that never entered the pipeline,\n * and delete orphaned index rows.\n *\n * @param courseId the course to reconcile\n * @param requeueBudget how many requeues/triggers this call may spend\n * @return how many requeues/triggers were spent\n */\n int reconcileCourse(long courseId, int requeueBudget) {\n return reconcileCourse(courseId, requeueBudget, 0).spent();\n }\n\n /**\n * Reconcile a single course starting after the given unit, as {@link #reconcileCourse(long, int)} does from its start.\n *\n * @param courseId the course to reconcile\n * @param requeueBudget how many requeues/triggers this call may spend\n * @param afterUnitId only units with a larger id are visited; 0 visits the whole course\n * @return what the visit spent, and where it paused if the budget ran out with units still ahead\n */\n CourseVisit reconcileCourse(long courseId, int requeueBudget, long afterUnitId) {\n if (requeueBudget <= 0) {\n // Nothing may be spent: pause before the first unit still to visit, so the course is not skipped\n return new CourseVisit(0, afterUnitId);\n }\n IngestionCensusDTO fetchedCensus = irisLectureApi.get().getIngestionCensus(courseId);\n if (fetchedCensus != null && fetchedCensus.truncated()) {\n // The unit-row scan hit its cap, so any unit-row-derived fact (row counts, stamps, lecture ids) may be missing for\n // any unit: no census-based decision is safe for this course.\n log.warn(\"Reconcile: the census of course {} is truncated; skipping every census-based decision for it this pass\", courseId);\n }\n IngestionCensusDTO census = fetchedCensus != null && !fetchedCensus.truncated() ? fetchedCensus : null;\n boolean censusAvailable = census != null;\n Map censusByUnitId = censusAvailable\n ? census.units().stream().collect(Collectors.toMap(IngestionCensusUnitDTO::lectureUnitId, Function.identity(), (first, second) -> first))\n : Map.of();\n Set unitsWithUnindexedTranscript = findUnitsWithUnindexedTranscript(censusByUnitId);\n\n List units = attachmentVideoUnitRepository.findAllWithAttachmentByCourseId(courseId);\n // Outside the window, the walk only cleans up: it starts no ingestion for the course's units (see courseWindow).\n boolean ingestsCourse = units.isEmpty() || isWithinCourseWindow(units.getFirst().getLecture().getCourse());\n Map stateByUnitId = processingStateRepository.findWithLectureUnitByCourseId(courseId).stream()\n .collect(Collectors.toMap(state -> state.getLectureUnit().getId(), Function.identity(), (first, second) -> first));\n\n int spent = 0;\n Long lastVisitedUnitId = null;\n Long pausedAfterUnitId = null;\n // Units come ordered by id, which is what makes resuming after an id skip exactly the units already visited.\n for (AttachmentVideoUnit unit : units) {\n if (unit.getId() <= afterUnitId) {\n continue;\n }\n if (spent >= requeueBudget) {\n pausedAfterUnitId = lastVisitedUnitId;\n break;\n }\n lastVisitedUnitId = unit.getId();\n // Isolate each unit: an unexpected failure on one (a malformed link, a bad census entry)\n // must not abort the course, which would otherwise leave the cursor stuck and starve every\n // later course of reconciliation.\n try {\n LectureUnitProcessingState state = stateByUnitId.get(unit.getId());\n if (!processingService.hasProcessableContent(unit)) {\n // Content removed, or only a link to a video Iris cannot transcribe: an earlier unit with content still records its markers\n // until the removed-content cleanup succeeded, which settles it as nothing indexed. Retry that cleanup here.\n if (state != null && hasRetryableContentCleanup(state) && processingService.retryRemovedContentCleanup(unit, state.getId())) {\n log.info(\"Reconcile: retried the cleanup of removed content for unit {} of course {}\", unit.getId(), courseId);\n spent++;\n }\n continue;\n }\n\n if (!ingestsCourse) {\n continue;\n }\n if (state == null) {\n // Never entered the pipeline: typically a pre-pipeline unit in an inactive or archived\n // course, which the active-course backfill deliberately does not reach.\n log.info(\"Reconcile: triggering processing for unit {} of course {} (no processing state)\", unit.getId(), courseId);\n processingService.triggerProcessingAsBacklog(unit);\n spent++;\n continue;\n }\n spent += switch (state.getPhase()) {\n case DONE -> reconcileDoneUnit(unit, state, census, censusByUnitId.get(unit.getId()), unitsWithUnindexedTranscript.contains(unit.getId()));\n case SKIPPED -> reconcileSkippedUnit(unit, state);\n // A FAILED unit is revived once its transient cause has had time to clear (see\n // reconcileFailedUnit); only permanent content failures stay terminal for the manual button.\n // A truncated entry is no evidence about this unit, so it counts as no census for the revival decision\n case FAILED -> reconcileFailedUnit(state, censusAvailable && !isTruncated(censusByUnitId.get(unit.getId())));\n // IDLE, TRANSCRIBING, and INGESTING are owned by the normal dispatch and stuck-recovery machinery.\n default -> 0;\n };\n }\n catch (RuntimeException e) {\n log.error(\"Reconcile: skipping unit {} of course {} after an unexpected error: {}\", unit.getId(), courseId, e.getMessage());\n }\n }\n\n if (censusAvailable) {\n deleteOrphanedIndexRows(census, units);\n }\n return new CourseVisit(spent, pausedAfterUnitId);\n }\n\n /**\n * Whether the walk still ingests the course's units: the course is running or ended within {@link #courseWindow}.\n */\n private boolean isWithinCourseWindow(Course course) {\n return course.getEndDate() == null || !course.getEndDate().isBefore(ZonedDateTime.now().minus(courseWindow));\n }\n\n /**\n * Reconcile a DONE unit against its current content and the index reality. In this order: a changed video source goes to the content-change path;\n * a mismatch of the confirmed fingerprint is requeued; then the index is checked against the expected fingerprint; and a unit that was ingested\n * without its video gets its video tried again after {@link #videoPendingRecheck}.\n */\n private int reconcileDoneUnit(AttachmentVideoUnit unit, LectureUnitProcessingState state, @Nullable IngestionCensusDTO census, @Nullable IngestionCensusUnitDTO censusEntry,\n boolean transcriptUnindexed) {\n LectureUnitContentFingerprintService.ContentFingerprints fingerprints;\n try {\n fingerprints = contentFingerprintService.computeFingerprints(unit);\n }\n catch (RuntimeException e) {\n // An unreadable attachment surfaces as IllegalStateException; a malformed link surfaces\n // as IllegalArgumentException from URI.create. Either way it is a local problem we cannot\n // fix here, so skip this unit rather than letting the exception abort the walk.\n log.warn(\"Reconcile: cannot compute fingerprint for unit {}, skipping: {}\", unit.getId(), e.getMessage());\n return 0;\n }\n String currentFingerprint = fingerprints.full();\n\n // Snapshot the confirmed fingerprint before any decision so requeueForReconcile can detect a\n // concurrent completion that re-confirmed the unit between the batch read and the write.\n String observedFingerprint = state.getConfirmedFingerprint();\n boolean confirmedAsCurrent = currentFingerprint.equals(observedFingerprint);\n if (handleVideoSourceChange(unit, state, confirmedAsCurrent)) {\n return 1;\n }\n\n boolean videoPending = isVideoPending(unit, observedFingerprint, fingerprints);\n if (!confirmedAsCurrent && !videoPending) {\n if (observedFingerprint == null) {\n // Legacy row that predates verification: the pipeline's skip-check decides whether a re-run has anything to do.\n return requeueForReconcile(state, null, \"no confirmed fingerprint for the current content\", ReconcileIntent.plain()) ? 1 : 0;\n }\n // The content changed without the update path firing. The skip-check compares versions, not content, so only a\n // forced rebuild is certain to replace what the index holds.\n return requeueForReconcile(state, observedFingerprint, \"the content changed since its fingerprint was confirmed\", ReconcileIntent.forcingRebuild()) ? 1 : 0;\n }\n // What the index must be stamped with: the content without the video for a unit ingested without it.\n String expectedFingerprint = videoPending ? fingerprints.withoutVideo() : currentFingerprint;\n // A truncated entry undercounts this unit's rows, so none of the census checks below can be trusted for it.\n if (census != null && (censusEntry == null || !censusEntry.truncated())) {\n if (censusEntry == null || censusEntry.unitRowCount() == 0 || !expectedFingerprint.equals(censusEntry.contentFingerprint())) {\n // The run was confirmed, but the index no longer holds a matching stamp: the data was lost\n // or replaced after the fact (backup restore, collection recreate, raced delete). Force a\n // full re-ingest so the run rewrites the unit instead of the skip-check treating it as done.\n return requeueForReconcile(state, observedFingerprint, \"index stamp missing or different from the confirmed fingerprint\", ReconcileIntent.forcingRebuild()) ? 1 : 0;\n }\n // Re-queue on any structural divergence between what the index holds and what a complete unit\n // must hold. Every signal below is healed by a forced full re-ingest and then reported clean, so\n // the re-queue converges and stops rather than looping: generations counted after excluding inert\n // object-store ghosts (so a ghost-carrying unit is not re-queued forever), rows lost below the\n // certified count, a page-coverage hole against the PDF, a PDF unit left with no chunks, duplicate\n // unit rows, missing slide segments, and legacy null display numbers. A benign single-generation\n // count difference is deliberately not a signal, so a stale expectation alone does not cause churn.\n // The same stored-PDF rule the payload uses: an external .pdf link is ingested as video-only and must not be expected to have page chunks.\n boolean hasPdf = unit.getAttachment() != null && unit.getAttachment().isStoredPdf();\n String divergence = divergenceReason(censusEntry, hasPdf, transcriptUnindexed);\n if (divergence != null) {\n return requeueForReconcile(state, observedFingerprint, divergence, ReconcileIntent.forcingRebuild()) ? 1 : 0;\n }\n if (isQualityRequeueDue(state, census, censusEntry)) {\n // A newer pipeline version can improve this low-quality unit. The versioned edge\n // (at most one quality requeue per pipeline version) is what makes this terminate;\n // the forced re-run keeps the stored generation when it does not score better.\n return requeueForReconcile(state, observedFingerprint,\n \"quality \" + censusEntry.qualityScore() + \" below threshold and pipeline version \" + census.currentPipelineVersion() + \" is available\",\n ReconcileIntent.forQuality(census.currentPipelineVersion())) ? 1 : 0;\n }\n }\n if (videoPending && state.getLastUpdated() != null && state.getLastUpdated().isBefore(ZonedDateTime.now().minus(videoPendingRecheck))) {\n // A plain run: the PDF is unchanged, so Iris skips its pages; if the video resolves now, the run adds it and confirms the full fingerprint.\n return requeueForReconcile(state, observedFingerprint, \"its video could not be resolved when it was ingested, trying the video again\", ReconcileIntent.plain()) ? 1 : 0;\n }\n return 0;\n }\n\n /**\n * Hand a unit whose video source changed to the content-change path, which deletes the transcript of the previous video and cleans up Iris before\n * requeueing. With a recorded marker the marker decides. Without one, a confirmation of the current content including its video proves the source is\n * unchanged, so the missing marker is recorded instead; any other unit with a video and no marker keeps the conservative path, as a changed source.\n *\n * @return true if the unit was handed to the content-change path\n */\n private boolean handleVideoSourceChange(AttachmentVideoUnit unit, LectureUnitProcessingState state, boolean confirmedAsCurrent) {\n boolean markerKnown = state.getVideoSourceHash() != null && !state.getVideoSourceHash().isBlank();\n boolean hasVideo = unit.getVideoSource() != null && !unit.getVideoSource().isBlank();\n if (!markerKnown && hasVideo && confirmedAsCurrent) {\n if (reconcileStateRepository.recordMissingVideoSourceHash(state.getId(), processingService.videoSourceHashOf(unit), state.getConfirmedFingerprint()) > 0) {\n log.info(\"Reconcile: recorded the missing video source marker of unit {}\", unit.getId());\n }\n return false;\n }\n if ((markerKnown || !confirmedAsCurrent) && processingService.hasVideoSourceChanged(unit, state)) {\n // The video changed without the update path firing, so the stored transcript belongs to the previous\n // video. A plain requeue would dispatch straight to INGESTING with it; the content-change path deletes it\n // and cleans up Iris before requeueing, exactly as an edit of the unit would.\n log.info(\"Reconcile: video source of unit {} changed without the update path, handing it to the content-change path\", unit.getId());\n processingService.triggerProcessingAsBacklog(unit);\n return true;\n }\n return false;\n }\n\n /**\n * Whether the unit was ingested without its video because the video could not be resolved: its confirmed fingerprint is the one of its content\n * without the video, while it has a supported video, a stored PDF, and no completed transcript (a completed transcript already holds what the video\n * adds, so such a unit is confirmed with its full fingerprint).\n */\n private boolean isVideoPending(AttachmentVideoUnit unit, @Nullable String observedFingerprint, LectureUnitContentFingerprintService.ContentFingerprints fingerprints) {\n if (observedFingerprint == null || !observedFingerprint.equals(fingerprints.withoutVideo()) || observedFingerprint.equals(fingerprints.full())) {\n return false;\n }\n if (!processingService.hasSupportedVideo(unit) || !(unit.getAttachment() != null && unit.getAttachment().isStoredPdf())) {\n return false;\n }\n return transcriptionRepository.findByLectureUnit_Id(unit.getId()).map(transcription -> transcription.getTranscriptionStatus() != TranscriptionStatus.COMPLETED)\n .orElse(true);\n }\n\n /**\n * The first structural divergence that warrants a forced full re-ingest of a DONE unit, or {@code null}\n * when the unit is structurally complete. Every reason here is resolved deterministically by a re-ingest\n * (which then reports clean), so acting on it converges instead of looping — unlike a signal keyed on the\n * raw, ghost-inflated counts. All counts are the census's object-store-confirmed counts (inert ghost rows\n * excluded), so a ghost-carrying but otherwise healthy unit yields no reason.\n *\n * @param censusEntry the unit's confirmed index state\n * @param hasPdf whether the unit has a PDF attachment (so page chunks and slide segments are expected)\n * @return a human-readable reason, or {@code null} when nothing diverges\n */\n @Nullable\n private static String divergenceReason(IngestionCensusUnitDTO censusEntry, boolean hasPdf, boolean transcriptUnindexed) {\n // Stale generations coexist. Counted after excluding object-store ghosts, so a healed unit with inert\n // ghost rows reports 1 and is left alone; a genuine second real generation is rewritten to one.\n if (censusEntry.generationCount() > 1) {\n return censusEntry.generationCount() + \" ingestion generations coexist\";\n }\n // Duplicate unit rows (a crash between the unit-row write and its purge). Also ghost-excluded.\n if (censusEntry.unitRowCount() > 1) {\n return censusEntry.unitRowCount() + \" unit rows coexist\";\n }\n // A PDF unit that ended DONE with no page chunks: the content was lost or never written. Checked\n // independently of the certified expectation so a legacy/pre-ledger empty unit is still healed.\n if (hasPdf && censusEntry.chunkCount() == 0) {\n return \"a PDF unit has no page chunks\";\n }\n // Rows lost below the count the last certified run recorded.\n if (censusEntry.expectedChunkCount() != null && censusEntry.chunkCount() < censusEntry.expectedChunkCount()) {\n return \"chunk count fell below the certified expectation\";\n }\n // A hole in the page coverage: some page of the source PDF produced no chunk (the pipeline's own\n // skip-check requires every page 1..N to be present, so a gap means an incomplete run).\n if (censusEntry.missingPageCount() > 0) {\n return censusEntry.missingPageCount() + \" page(s) missing from the chunk coverage\";\n }\n // Slides present but their per-slide segment summaries are missing.\n if (hasPdf && censusEntry.chunkCount() > 0 && censusEntry.segmentCount() == 0) {\n return \"slide segments are missing for a unit with page chunks\";\n }\n // A completed, non-empty transcript is stored in Artemis but the index holds none of its rows.\n if (transcriptUnindexed) {\n return \"a completed transcript is not indexed\";\n }\n // Legacy chunks whose display page number was never resolved; a re-ingest repopulates real numbers.\n if (censusEntry.nullDisplayCount() > 0) {\n return censusEntry.nullDisplayCount() + \" chunk(s) have an unresolved display page number\";\n }\n return null;\n }\n\n private boolean isQualityRequeueDue(LectureUnitProcessingState state, IngestionCensusDTO census, IngestionCensusUnitDTO censusEntry) {\n Integer currentVersion = census.currentPipelineVersion();\n return currentVersion != null && censusEntry.qualityScore() != null && censusEntry.qualityScore() < qualityThreshold && censusEntry.pipelineVersion() != null\n && censusEntry.pipelineVersion() < currentVersion && !Objects.equals(state.getLastQualityPipelineVersion(), currentVersion);\n }\n\n /**\n * Requeue a SKIPPED unit once it became processable, e.g. after Iris was enabled for the course.\n * Without this, SKIPPED units would wait for a content change forever.\n */\n private int reconcileSkippedUnit(AttachmentVideoUnit unit, LectureUnitProcessingState state) {\n if (!irisLectureApi.get().isLectureUnitProcessable(unit)) {\n return 0;\n }\n return requeueForReconcile(state, state.getConfirmedFingerprint(), \"unit became processable after being skipped\", ReconcileIntent.plain()) ? 1 : 0;\n }\n\n /**\n * Requeue a divergent unit, guarding against a stale batch read.\n *

\n * The reconcile walk hashes PDFs and calls Iris between reading the state batch and this write,\n * and the entity carries no {@code @Version}, so a blind {@code save()} would merge a stale\n * snapshot over a row that changed underneath it. This re-fetches and only requeues while the row\n * is still in the phase that justified the decision and still carries the confirmed\n * fingerprint observed at batch-read time — so a concurrent completion that re-confirmed the unit\n * (same phase, new fingerprint) is left alone rather than reverted. The branch-specific intent\n * (clear fingerprint, force a re-run, stamp the quality version) is applied to the fresh row only\n * after the guard passes. Mirrors the scheduler's stalled and stuck re-confirmation.\n *\n * @param state the batch-read state that was found divergent\n * @param observedFingerprint the confirmed fingerprint seen at batch-read time (before any mutation)\n * @param reason human-readable reason for the log line\n * @param applyIntent mutates the fresh row with the branch-specific decision before requeue\n */\n /**\n * Revive a FAILED unit for another attempt once its failure has had time to clear — the long-loop\n * retry that complements the scheduler's short one. A unit is revived only when all of the following\n * hold, so genuinely-broken content and a sick store are never re-run pointlessly:\n *

    \n *
  • the failure was transient-class (not a permanent content/config error, see\n * {@link #PERMANENT_ERROR_KEYS}) — a private video is never revived, a store outage always is;
  • \n *
  • it has sat FAILED longer than {@link #failedRevivalCooldown}, measured from {@code lastUpdated},\n * which both proves the cause had time to clear and spaces successive revivals per unit;
  • \n *
  • the vector store answered this run's census, so a revival is not dispatched into a store that is\n * itself still down.
  • \n *
\n * Revivals are bounded, but generously: after {@link #maxRevivals} revivals without an intervening\n * successful completion the unit is left FAILED for the manual retry button instead of being re-attempted\n * forever. This is the backstop for a genuinely-unprocessable unit that reports a generic (unclassified)\n * error and so is not in {@link #PERMANENT_ERROR_KEYS} — without it, such a unit would revive every\n * cooldown indefinitely. The cap does not shorten recovery from a real outage: a store that is down does\n * not answer the census, so those passes neither revive nor count (only revivals dispatched into a\n * healthy store that still fail are counted), and the count resets on a successful DONE, so a transient\n * failure that later succeeds regains a full budget. The revival is committed by {@link #reviveFailedUnit},\n * whose guard pins the exact {@code errorKey}, {@code lastUpdated} and {@code revivalCount} read here — not\n * just the phase and claim {@link #requeueForReconcile} pins — so a unit that fails again for a different\n * reason before the write lands is never wrongly revived.\n *\n * @param state the FAILED processing state from the batch read\n * @param censusAvailable whether the vector store answered the census for this course\n * @return 1 if the unit was revived, 0 otherwise\n */\n private int reconcileFailedUnit(LectureUnitProcessingState state, boolean censusAvailable) {\n if (!censusAvailable) {\n return 0;\n }\n if (state.getErrorKey() != null && PERMANENT_ERROR_KEYS.contains(state.getErrorKey())) {\n return 0;\n }\n if (LectureIngestionFailureClassifier.VIDEO_SOURCE_UNAVAILABLE_KEY.equals(state.getErrorKey())) {\n // The unit's only content is a video that could not be loaded, typically a recording that is not uploaded or released yet. That can take\n // weeks, so the unit is tried again on the slow video recheck interval without a revival limit; its wait holds no backlog room.\n if (state.getLastUpdated() == null || state.getLastUpdated().isAfter(ZonedDateTime.now().minus(videoPendingRecheck))) {\n return 0;\n }\n // Not charged to the revival budget: weeks of waiting for a recording must not use up the budget that later protects the unit's\n // recovery from an Iris outage once the recording is there.\n return reviveFailedUnit(state, \"its video could not be loaded, trying the video again\", false) ? 1 : 0;\n }\n if (state.getRevivalCount() >= maxRevivals) {\n // Exhausted its revival budget without ever succeeding: treat a generic error that keeps\n // recurring as effectively permanent and leave it FAILED for manual attention rather than\n // re-attempting it forever.\n return 0;\n }\n if (state.getLastUpdated() == null || state.getLastUpdated().isAfter(ZonedDateTime.now().minus(failedRevivalCooldown))) {\n return 0;\n }\n return reviveFailedUnit(state, \"transient failure cooled down, reviving for another attempt\", true) ? 1 : 0;\n }\n\n /**\n * @return true if the row still matched the decision and was requeued; false if its state changed\n * since the batch read, in which case nothing was written and the caller's budget must not be\n * charged for this unit\n */\n private boolean requeueForReconcile(LectureUnitProcessingState state, String observedFingerprint, String reason, ReconcileIntent intent) {\n long unitId = state.getLectureUnit().getId();\n int updated = reconcileStateRepository.requeueForReconcileIfUnchanged(state.getId(), state.getPhase(), observedFingerprint,\n intent.clearsConfirmedFingerprint() ? null : observedFingerprint, intent.forceReingest(), intent.qualityPipelineVersion(), RECONCILE_DISPATCH_PRIORITY,\n ZonedDateTime.now());\n if (updated == 0) {\n log.debug(\"Reconcile: skipping requeue of unit {} — its state changed since the batch read\", unitId);\n return false;\n }\n // Mirror the committed outcome onto the batch-read snapshot, field for field with the statement above, so the\n // caller is never left holding a state that describes a row no longer shaped that way.\n if (intent.clearsConfirmedFingerprint()) {\n state.setConfirmedFingerprint(null);\n }\n if (Boolean.TRUE.equals(intent.forceReingest())) {\n state.setForceReingest(true);\n }\n if (intent.qualityPipelineVersion() != null) {\n state.setLastQualityPipelineVersion(intent.qualityPipelineVersion());\n }\n state.resetRetryCount();\n state.requeue();\n state.setDispatchPriority(RECONCILE_DISPATCH_PRIORITY);\n log.info(\"Reconcile: requeued unit {} ({})\", unitId, reason);\n return true;\n }\n\n /**\n * Revive a FAILED unit through the dedicated guard that pins the exact facts {@link #reconcileFailedUnit}\n * decided on, rather than {@link #requeueForReconcile}'s phase-and-fingerprint guard: a revival's decision\n * rests on {@code errorKey}, {@code lastUpdated} and {@code revivalCount}, none of which that guard checks, so\n * a unit that is claimed, dispatched, and fails right back to FAILED for a different reason before this write\n * lands would otherwise still match it and have its newer failure silently erased.\n *\n * @return true if the row still matched the FAILED decision and was revived; false if its state changed\n * since the batch read, in which case nothing was written and the caller's budget must not be\n * charged for this unit\n */\n private boolean reviveFailedUnit(LectureUnitProcessingState state, String reason, boolean chargesRevivalBudget) {\n long unitId = state.getLectureUnit().getId();\n int revivalIncrement = chargesRevivalBudget ? 1 : 0;\n int updated = reconcileStateRepository.reviveFailedIfUnchanged(state.getId(), state.getErrorKey(), state.getLastUpdated(), state.getRevivalCount(), revivalIncrement,\n RECONCILE_DISPATCH_PRIORITY, ZonedDateTime.now());\n if (updated == 0) {\n log.debug(\"Reconcile: skipping revival of unit {} — its state changed since the batch read\", unitId);\n return false;\n }\n // Mirror the committed outcome onto the batch-read snapshot, field for field with the statement above.\n state.setRevivalCount(state.getRevivalCount() + revivalIncrement);\n state.resetRetryCount();\n state.requeue();\n state.setDispatchPriority(RECONCILE_DISPATCH_PRIORITY);\n log.info(\"Reconcile: revived unit {} ({})\", unitId, reason);\n return true;\n }\n\n /**\n * The branch-specific part of a reconcile requeue, applied by the same statement that commits the requeue.\n * Everything a requeue always does (phase, claim, run markers, retry budget, dispatch order) is fixed; this\n * carries only what differs between the reasons a unit is requeued. Revival is not one of these branches: it\n * is guarded by different fields entirely and goes through {@link #reviveFailedUnit} instead.\n *\n * @param clearsConfirmedFingerprint whether the confirmed fingerprint is dropped, which is what makes the next\n * run rewrite the unit instead of the skip-check treating it as complete;\n * otherwise it is left exactly as observed\n * @param forceReingest {@code TRUE} to force a full rewrite, {@code null} to keep the current flag\n * @param qualityPipelineVersion the pipeline version to stamp for a quality requeue, {@code null} to keep\n */\n private record ReconcileIntent(boolean clearsConfirmedFingerprint, Boolean forceReingest, Integer qualityPipelineVersion) {\n\n /** Requeue exactly as the unit stands: no fingerprint change, no forced rewrite. */\n private static ReconcileIntent plain() {\n return new ReconcileIntent(false, null, null);\n }\n\n /**\n * Drop the confirmed fingerprint and force the rewrite. Without forcing, the pipeline's skip-check would\n * treat the unit as complete and skip it, so the requeue would repeat forever without ever rewriting it.\n */\n private static ReconcileIntent forcingRebuild() {\n return new ReconcileIntent(true, true, null);\n }\n\n /** Force a rewrite on the newer pipeline, stamping the version so the unit is requeued at most once for it. */\n private static ReconcileIntent forQuality(int pipelineVersion) {\n return new ReconcileIntent(false, true, pipelineVersion);\n }\n }\n\n /**\n * Units whose census entry reports no transcript rows although Artemis stores a completed, non-empty transcript for them. Only the\n * units the census reports without transcript rows are loaded, so a healthy course costs one empty lookup at most.\n */\n private Set findUnitsWithUnindexedTranscript(Map censusByUnitId) {\n List candidates = censusByUnitId.values().stream().filter(entry -> entry.unitRowCount() > 0 && entry.transcriptionCount() == 0 && !entry.truncated())\n .map(IngestionCensusUnitDTO::lectureUnitId).toList();\n if (candidates.isEmpty()) {\n return Set.of();\n }\n return transcriptionRepository.findAllByLectureUnit_IdInAndTranscriptionStatus(candidates, TranscriptionStatus.COMPLETED).stream()\n .filter(transcription -> transcription.getSegments() != null && !transcription.getSegments().isEmpty()).map(transcription -> transcription.getLectureUnit().getId())\n .collect(Collectors.toSet());\n }\n\n /** Whether the census entry of a unit undercounts it because one of its scans hit the row cap. */\n private static boolean isTruncated(@Nullable IngestionCensusUnitDTO censusEntry) {\n return censusEntry != null && censusEntry.truncated();\n }\n\n /**\n * Whether a unit without processable content still records content markers from a removed-content cleanup that did not finish,\n * in a phase the cleanup claim accepts: at rest, and not waiting for a retry.\n */\n private static boolean hasRetryableContentCleanup(LectureUnitProcessingState state) {\n boolean hasMarkers = (state.getVideoSourceHash() != null && !state.getVideoSourceHash().isBlank()) || state.getAttachmentVersion() != null;\n boolean atRest = switch (state.getPhase()) {\n case DONE, SKIPPED -> true;\n case FAILED -> state.getRetryEligibleAt() == null;\n default -> false;\n };\n return hasMarkers && atRest && state.getIngestionJobToken() == null;\n }\n\n /**\n * Delete index rows whose lecture unit no longer exists in the database, or whose lecture is a tutorial lecture.\n * The census reports a unit as long as ANY collection still holds rows for it, so this is what\n * garbage-collects leftovers from failed deletions and superseded runs, and the rows of units whose\n * lecture was marked as a tutorial lecture after they were ingested, which nothing else removes.\n */\n private void deleteOrphanedIndexRows(IngestionCensusDTO census, List courseUnits) {\n // The course unit list excludes tutorial lectures, so existence is checked against the database\n // rather than against the list: an id that exists at all is not an orphan. One batched query\n // resolves all census ids at once instead of an existsById per row.\n List censusUnitIds = census.units().stream().map(IngestionCensusUnitDTO::lectureUnitId).toList();\n if (censusUnitIds.isEmpty()) {\n return;\n }\n Set existingUnitIds = attachmentVideoUnitRepository.findExistingIds(censusUnitIds);\n List orphanEntries = census.units().stream().filter(entry -> !existingUnitIds.contains(entry.lectureUnitId()) && !entry.truncated()).toList();\n // The Iris deletion matches on the lecture id; without one it would delete nothing while reporting success.\n orphanEntries.stream().filter(entry -> entry.lectureId() == null).forEach(\n entry -> log.warn(\"Reconcile: orphaned unit {} of course {} reports no lecture id, cannot delete its index rows\", entry.lectureUnitId(), census.courseId()));\n List orphans = orphanEntries.stream().filter(entry -> entry.lectureId() != null)\n .map(entry -> new IngestionJobIdentityDTO(census.courseId(), entry.lectureId(), entry.lectureUnitId())).toList();\n // A tutorial lecture unit still exists, so it is never an orphan, and the per-unit loop excludes it.\n List tutorialUnits = attachmentVideoUnitRepository.findTutorialLectureUnitIdentities(censusUnitIds);\n if (orphans.isEmpty() && tutorialUnits.isEmpty()) {\n return;\n }\n log.info(\"Reconcile: deleting index rows for course {} of {} orphaned units {} and {} tutorial lecture units {}\", census.courseId(), orphans.size(),\n orphans.stream().map(IngestionJobIdentityDTO::lectureUnitId).toList(), tutorialUnits.size(),\n tutorialUnits.stream().map(IngestionJobIdentityDTO::lectureUnitId).toList());\n irisLectureApi.get().deleteLectureUnitsByIdentity(Stream.concat(orphans.stream(), tutorialUnits.stream()).toList());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/987968b529c80d86b9e1f92f44ba7dfad4b0192e.json b/web/public/bundles/artemis/code/987968b529c80d86b9e1f92f44ba7dfad4b0192e.json new file mode 100644 index 00000000..290bf367 --- /dev/null +++ b/web/public/bundles/artemis/code/987968b529c80d86b9e1f92f44ba7dfad4b0192e.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "987968b529c80d86b9e1f92f44ba7dfad4b0192e", + "language": "typescript", + "path": "src/main/webapp/app/modeling/manage/assess/modeling-assessment-legend/modeling-assessment-legend.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, input } from '@angular/core';\nimport { IconProp } from '@fortawesome/fontawesome-svg-core';\nimport { faCheck, faCircleInfo, faExclamationTriangle, faTimes } from '@fortawesome/free-solid-svg-icons';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { TumAetUiTooltipDirective } from '@tumaet/ui-angular/tooltip';\n\nexport interface ModelingAssessmentLegendHighlight {\n color: string;\n text: string;\n info?: string;\n}\n\n@Component({\n selector: 'jhi-modeling-assessment-legend',\n templateUrl: './modeling-assessment-legend.component.html',\n styleUrls: ['./modeling-assessment-legend.component.css'],\n imports: [FaIconComponent, TranslateDirective, ArtemisTranslatePipe, TumAetUiTooltipDirective],\n host: { class: 'assessment-legend apollon-glass' },\n})\nexport class ModelingAssessmentLegendComponent {\n readonly highlights = input([]);\n protected readonly faCircleInfo = faCircleInfo;\n\n readonly scoreTones = [\n { text: 'artemisApp.modelingAssessment.legend.positiveScore', icon: faCheck as IconProp, tone: 'positive' },\n { text: 'artemisApp.modelingAssessment.legend.negativeScore', icon: faTimes as IconProp, tone: 'negative' },\n { text: 'artemisApp.modelingAssessment.legend.feedbackWithoutScore', icon: faExclamationTriangle as IconProp, tone: 'zero' },\n ];\n}\n" +} diff --git a/web/public/bundles/artemis/code/998e51d18087139d3c0beea319ea7139bfef0342.json b/web/public/bundles/artemis/code/998e51d18087139d3c0beea319ea7139bfef0342.json new file mode 100644 index 00000000..b21b07ec --- /dev/null +++ b/web/public/bundles/artemis/code/998e51d18087139d3c0beea319ea7139bfef0342.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "998e51d18087139d3c0beea319ea7139bfef0342", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/ParticipantUserDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exercise.dto;\n\nimport java.time.Instant;\n\nimport org.hibernate.Hibernate;\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\n\n/**\n * A user as the participation and result payloads of the exercise details and the participation submissions put it on\n * the wire: the student of an individual participation, the members and owner of a team, and the assessor of a result.\n *

\n * It repeats every scalar the {@code User} entity serialized, because the exercise details route is reachable with a\n * SCORPIO tool token and its consumer cannot be read in this repository. The entity's associations (authorities,\n * organizations, saved posts, tutorial group registrations, learner profile) are never initialized on these routes, so\n * the entity left them off the wire and this record does not carry them.\n *\n * @param id the id of the user\n * @param createdDate when the account was created\n * @param login the login\n * @param participantIdentifier the login again, as the participant identifier\n * @param firstName the first name\n * @param lastName the last name\n * @param name the display name\n * @param email the email address\n * @param imageUrl the profile picture\n * @param activated whether the account is activated\n * @param langKey the preferred language\n * @param visibleRegistrationNumber the registration number, where a caller made it visible\n * @param internal whether the account is managed by Artemis\n * @param testUser whether the account is a test user\n * @param bot whether the account is a bot\n * @param deleted whether the account is a legacy tombstone\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record ParticipantUserDTO(Long id, @Nullable Instant createdDate, String login, String participantIdentifier, @Nullable String firstName, @Nullable String lastName,\n @Nullable String name, @Nullable String email, @Nullable String imageUrl, boolean activated, @Nullable String langKey, @Nullable String visibleRegistrationNumber,\n boolean internal, boolean testUser, boolean bot, boolean deleted) {\n\n /**\n * Maps a user, or nothing when it was not loaded.\n *\n * @param user the user, may be {@code null} or an uninitialized proxy\n * @return the user as the payloads carry it, or {@code null}\n */\n public static @Nullable ParticipantUserDTO of(@Nullable User user) {\n if (user == null || !Hibernate.isInitialized(user)) {\n return null;\n }\n return new ParticipantUserDTO(user.getId(), user.getCreatedDate(), user.getLogin(), user.getParticipantIdentifier(), user.getFirstName(), user.getLastName(),\n user.getName(), user.getEmail(), user.getImageUrl(), user.getActivated(), user.getLangKey(), user.getVisibleRegistrationNumber(), user.isInternal(),\n user.isTestUser(), user.isBot(), user.isDeleted());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/99ad36b771c9a646bfa42afc10c1110246d15bc4.json b/web/public/bundles/artemis/code/99ad36b771c9a646bfa42afc10c1110246d15bc4.json new file mode 100644 index 00000000..c3f86702 --- /dev/null +++ b/web/public/bundles/artemis/code/99ad36b771c9a646bfa42afc10c1110246d15bc4.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "99ad36b771c9a646bfa42afc10c1110246d15bc4", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/config/Lti13TokenRetriever.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.lti.config;\n\nimport java.net.URI;\nimport java.security.KeyPair;\nimport java.time.Instant;\nimport java.util.Date;\nimport java.util.Map;\nimport java.util.UUID;\n\nimport org.jspecify.annotations.NonNull;\nimport org.jspecify.annotations.Nullable;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.beans.factory.annotation.Qualifier;\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.http.MediaType;\nimport org.springframework.http.ResponseEntity;\nimport org.springframework.security.oauth2.client.registration.ClientRegistration;\nimport org.springframework.stereotype.Component;\nimport org.springframework.util.LinkedMultiValueMap;\nimport org.springframework.util.MultiValueMap;\nimport org.springframework.web.client.HttpClientErrorException;\nimport org.springframework.web.client.RestClient;\n\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\nimport com.fasterxml.jackson.annotation.JsonInclude;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.nimbusds.jose.JOSEException;\nimport com.nimbusds.jose.JOSEObjectType;\nimport com.nimbusds.jose.JWSAlgorithm;\nimport com.nimbusds.jose.JWSHeader;\nimport com.nimbusds.jose.crypto.RSASSASigner;\nimport com.nimbusds.jose.jwk.JWK;\nimport com.nimbusds.jwt.JWTClaimsSet;\nimport com.nimbusds.jwt.SignedJWT;\n\nimport tools.jackson.core.JacksonException;\n\nimport de.tum.cit.aet.artemis.core.util.JsonObjectMapper;\nimport de.tum.cit.aet.artemis.lti.service.OAuth2JWKSService;\n\n/**\n * This class is responsible to retrieve access tokens from an LTI 1.3 platform of a specific ClientRegistration.\n */\n@Component\n@Lazy\n@Conditional(LtiEnabled.class)\npublic class Lti13TokenRetriever {\n\n private final OAuth2JWKSService oAuth2JWKSService;\n\n private final RestClient restClient;\n\n private static final Logger log = LoggerFactory.getLogger(Lti13TokenRetriever.class);\n\n public static final int JWT_LIFETIME_SECONDS = 60;\n\n public Lti13TokenRetriever(OAuth2JWKSService keyPairService, @Qualifier(\"ltiRestClient\") RestClient restClient) {\n this.oAuth2JWKSService = keyPairService;\n this.restClient = restClient;\n }\n\n /**\n * Returns an access token for a specific client to be used to authenticate further communication with the related\n * LTI 1.3 platform of that client. The queried access token (if there is any) will be valid for the requested scopes.\n *\n * @param clientRegistration to query a token for\n * @param scopes to ask access for\n * @return the access token to be used to authenticate requests to the client's LTI 1.3 platform, or {@code null} if no token could be obtained: the JWT could not be\n * signed, the platform rejected the request or answered without a body or with a missing or blank {@code access_token}, or its answer was not a valid token response\n */\n @Nullable\n public String getToken(@NonNull ClientRegistration clientRegistration, String... scopes) {\n log.info(\"Trying to retrieve access token for client\");\n\n if (scopes.length == 0) {\n throw new IllegalArgumentException(\"You must supply some scopes to request.\");\n }\n\n SignedJWT signedJWT = createJWT(clientRegistration);\n if (signedJWT == null) {\n return null;\n }\n\n MultiValueMap formData = buildFormData(signedJWT, scopes);\n try {\n URI url = URI.create(clientRegistration.getProviderDetails().getTokenUri());\n ResponseEntity exchange = restClient.post().uri(url).accept(MediaType.APPLICATION_JSON).contentType(MediaType.APPLICATION_FORM_URLENCODED).body(formData)\n .retrieve().toEntity(String.class);\n if (exchange.getBody() == null) {\n return null;\n }\n TokenResponse tokenResponse = JsonObjectMapper.get().readValue(exchange.getBody(), TokenResponse.class);\n String accessToken = tokenResponse == null ? null : tokenResponse.accessToken();\n return accessToken == null || accessToken.isBlank() ? null : accessToken;\n }\n catch (HttpClientErrorException | JacksonException e) {\n log.error(\"Could not retrieve access token for client {}: {}\", clientRegistration.getClientId(), e.getMessage());\n return null;\n }\n }\n\n /**\n * The part of the OAuth 2.0 token response of an LTI 1.3 platform that is used here.\n *\n * @param accessToken the access token for further requests to the platform, absent when the platform did not issue one\n */\n @JsonInclude(JsonInclude.Include.NON_EMPTY)\n @JsonIgnoreProperties(ignoreUnknown = true)\n private record TokenResponse(@Nullable @JsonProperty(\"access_token\") String accessToken) {\n }\n\n /**\n * Creates a signed JWT for LTI Deep Linking using a specific client registration ID and a set of custom claims.\n * The JWT is signed using the RSA algorithm with SHA-256.\n *\n * @param clientRegistrationId The client registration ID associated with the JWK to be used for signing the JWT.\n * @param customClaims A map of custom claims to be included in the JWT. These claims are additional data\n * that the consuming service may require.\n * @return A serialized signed JWT as a String, or {@code null} if the JWT could not be signed.\n * @throws IllegalArgumentException If no JWK could be retrieved for the provided client registration ID.\n */\n @Nullable\n public String createDeepLinkingJWT(String clientRegistrationId, Map customClaims) {\n JWK jwk = oAuth2JWKSService.getJWK(clientRegistrationId);\n\n if (jwk == null) {\n throw new IllegalArgumentException(\"Failed to get JWK for client registration: \" + clientRegistrationId);\n }\n\n try {\n KeyPair keyPair = jwk.toRSAKey().toKeyPair();\n RSASSASigner signer = new RSASSASigner(keyPair.getPrivate());\n\n var claimSetBuilder = new JWTClaimsSet.Builder();\n for (Map.Entry entry : customClaims.entrySet()) {\n claimSetBuilder.claim(entry.getKey(), entry.getValue());\n }\n\n var now = Instant.now();\n JWTClaimsSet claimsSet = claimSetBuilder.issueTime(Date.from(now)).expirationTime(Date.from(now.plusSeconds(JWT_LIFETIME_SECONDS))).build();\n\n JWSHeader jwt = new JWSHeader.Builder(JWSAlgorithm.RS256).type(JOSEObjectType.JWT).keyID(jwk.getKeyID()).build();\n SignedJWT signedJWT = new SignedJWT(jwt, claimsSet);\n signedJWT.sign(signer);\n\n log.debug(\"Created signed token: {}\", signedJWT.serialize());\n return signedJWT.serialize();\n }\n catch (JOSEException e) {\n log.error(\"Could not create keypair for clientRegistrationId {}\", clientRegistrationId);\n return null;\n }\n }\n\n @Nullable\n private SignedJWT createJWT(ClientRegistration clientRegistration) {\n JWK jwk = oAuth2JWKSService.getJWK(clientRegistration.getRegistrationId());\n\n if (jwk == null) {\n throw new IllegalArgumentException(\"Failed to get JWK for client registration: \" + clientRegistration.getRegistrationId());\n }\n\n try {\n KeyPair keyPair = jwk.toRSAKey().toKeyPair();\n RSASSASigner signer = new RSASSASigner(keyPair.getPrivate());\n\n var now = Instant.now();\n JWTClaimsSet claimsSet = new JWTClaimsSet.Builder().issuer(clientRegistration.getClientId()).subject(clientRegistration.getClientId())\n .audience(clientRegistration.getProviderDetails().getTokenUri()).issueTime(Date.from(now)).jwtID(UUID.randomUUID().toString())\n .expirationTime(Date.from(now.plusSeconds(JWT_LIFETIME_SECONDS))).build();\n\n JWSHeader jwt = new JWSHeader.Builder(JWSAlgorithm.RS256).type(JOSEObjectType.JWT).keyID(jwk.getKeyID()).build();\n SignedJWT signedJWT = new SignedJWT(jwt, claimsSet);\n signedJWT.sign(signer);\n\n log.debug(\"Created signed token: {}\", signedJWT.serialize());\n return signedJWT;\n }\n catch (JOSEException e) {\n log.error(\"Could not create keypair for clientRegistrationId {}\", clientRegistration.getRegistrationId());\n return null;\n }\n }\n\n private MultiValueMap buildFormData(SignedJWT signedJWT, String[] scopes) {\n MultiValueMap formData = new LinkedMultiValueMap<>();\n formData.add(\"grant_type\", \"client_credentials\");\n formData.add(\"client_assertion_type\", \"urn:ietf:params:oauth:client-assertion-type:jwt-bearer\");\n formData.add(\"scope\", String.join(\" \", scopes));\n formData.add(\"client_assertion\", signedJWT.serialize());\n return formData;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/99cf68367ebfb80391cc39a578f9eb1e17602cf3.json b/web/public/bundles/artemis/code/99cf68367ebfb80391cc39a578f9eb1e17602cf3.json new file mode 100644 index 00000000..e20caaa2 --- /dev/null +++ b/web/public/bundles/artemis/code/99cf68367ebfb80391cc39a578f9eb1e17602cf3.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "99cf68367ebfb80391cc39a578f9eb1e17602cf3", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/buildagent/dto/BuildJobQueueItem.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.buildagent.dto;\n\nimport java.io.Serial;\nimport java.io.Serializable;\nimport java.time.ZonedDateTime;\n\nimport org.jspecify.annotations.NonNull;\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonIgnore;\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.programming.domain.build.BuildStatus;\nimport de.tum.cit.aet.artemis.programming.dto.ResultDTO;\n\n// NOTE: this data structure is used in shared code between core and build agent nodes. Changing it requires that the shared data structures in Hazelcast (or potentially Redis)\n// in the future are migrated or cleared. Changes should be communicated in release notes as potentially breaking changes.\n@JsonIgnoreProperties(ignoreUnknown = true)\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record BuildJobQueueItem(@NonNull String id, @NonNull String name, @NonNull BuildAgentDTO buildAgent, long participationId, long courseId, long exerciseId, int retryCount,\n int priority, @Nullable BuildStatus status, @NonNull RepositoryInfo repositoryInfo, @NonNull JobTimingInfo jobTimingInfo, @NonNull BuildConfig buildConfig,\n @Nullable ResultDTO submissionResult, @JsonIgnore @Nullable String cloneToken) implements BuildJobDTO, Serializable, Comparable {\n\n @Serial\n private static final long serialVersionUID = 1L;\n\n /**\n * Constructor for a build job that carries no clone token.\n *

\n * A queued job normally gets one from {@code LocalCITriggerService}, which is what lets its build agent clone over\n * https without the shared build-agent credential. This overload covers the cases where there is nothing to\n * authenticate: a job that has already finished, an item rebuilt for display, and test fixtures. Such a job falls\n * back to the deprecated configured credential pair.\n */\n public BuildJobQueueItem(String id, String name, BuildAgentDTO buildAgent, long participationId, long courseId, long exerciseId, int retryCount, int priority,\n @Nullable BuildStatus status, RepositoryInfo repositoryInfo, JobTimingInfo jobTimingInfo, BuildConfig buildConfig, @Nullable ResultDTO submissionResult) {\n this(id, name, buildAgent, participationId, courseId, exerciseId, retryCount, priority, status, repositoryInfo, jobTimingInfo, buildConfig, submissionResult, null);\n }\n\n /**\n * Constructor used to update a finished build job with the build completion date and result\n *\n * @param queueItem The queued build job\n * @param buildCompletionDate The date when the build job was completed\n * @param status The status/result of the build job\n */\n public BuildJobQueueItem(BuildJobQueueItem queueItem, ZonedDateTime buildCompletionDate, BuildStatus status) {\n this(queueItem.id(), queueItem.name(), queueItem.buildAgent(), queueItem.participationId(), queueItem.courseId(), queueItem.exerciseId(), queueItem.retryCount(),\n queueItem.priority(), status, queueItem.repositoryInfo(),\n new JobTimingInfo(queueItem.jobTimingInfo.submissionDate(), queueItem.jobTimingInfo.buildStartDate(), buildCompletionDate,\n queueItem.jobTimingInfo.estimatedCompletionDate(), queueItem.jobTimingInfo.estimatedDuration()),\n // The job has finished, so it is about to leave the processing list and its token stops being accepted.\n // Dropping it here keeps it out of every record of a completed build.\n queueItem.buildConfig(), null, null);\n }\n\n /**\n * Constructor used to create a new processing build job from a queued build job\n *\n * @param queueItem The queued build job\n * @param buildAgent The build agent that will process the build job\n */\n public BuildJobQueueItem(BuildJobQueueItem queueItem, BuildAgentDTO buildAgent, ZonedDateTime estimatedCompletionDate) {\n this(queueItem.id(), queueItem.name(), buildAgent, queueItem.participationId(), queueItem.courseId(), queueItem.exerciseId(), queueItem.retryCount(), queueItem.priority(),\n null, queueItem.repositoryInfo(),\n new JobTimingInfo(queueItem.jobTimingInfo.submissionDate(), ZonedDateTime.now(), null, estimatedCompletionDate, queueItem.jobTimingInfo.estimatedDuration()),\n // Must be carried over: this is the entry that lands in the processing list, and that is where a core\n // node looks the token up when the agent clones.\n queueItem.buildConfig(), null, queueItem.cloneToken());\n }\n\n public BuildJobQueueItem(BuildJobQueueItem queueItem, ResultDTO submissionResult) {\n this(queueItem.id(), queueItem.name(), queueItem.buildAgent(), queueItem.participationId(), queueItem.courseId(), queueItem.exerciseId(), queueItem.retryCount(),\n queueItem.priority(), queueItem.status(), queueItem.repositoryInfo(), queueItem.jobTimingInfo(), queueItem.buildConfig(), submissionResult, queueItem.cloneToken());\n }\n\n public BuildJobQueueItem(BuildJobQueueItem queueItem, BuildAgentDTO buildAgent, int newRetryCount) {\n this(queueItem.id(), queueItem.name(), buildAgent, queueItem.participationId(), queueItem.courseId(), queueItem.exerciseId(), newRetryCount, queueItem.priority(), null,\n queueItem.repositoryInfo(),\n new JobTimingInfo(queueItem.jobTimingInfo.submissionDate(), ZonedDateTime.now(), null, null, queueItem.jobTimingInfo().estimatedDuration()),\n // A retry keeps the same job id, so the same token stays valid once the job is claimed again.\n queueItem.buildConfig(), null, queueItem.cloneToken());\n }\n\n @Override\n public int compareTo(BuildJobQueueItem item2) {\n int priorityComparison = Integer.compare(this.priority(), item2.priority());\n if (priorityComparison == 0) {\n return this.jobTimingInfo().submissionDate().compareTo(item2.jobTimingInfo().submissionDate());\n }\n return priorityComparison;\n }\n\n /**\n * Returns a representation without the clone token.\n *

\n * Overridden because the generated record {@code toString} prints every component, and build jobs are logged whole\n * at info level while they are processed. That would write a live credential into the build agent log, from where\n * it would spread to log aggregation and support bundles. {@code @JsonIgnore} does not help here: it governs the\n * REST and websocket payloads, not logging.\n *\n * @return the build job with the clone token replaced by a placeholder\n */\n @Override\n public String toString() {\n return \"BuildJobQueueItem[id=\" + id + \", name=\" + name + \", buildAgent=\" + buildAgent + \", participationId=\" + participationId + \", courseId=\" + courseId + \", exerciseId=\"\n + exerciseId + \", retryCount=\" + retryCount + \", priority=\" + priority + \", status=\" + status + \", repositoryInfo=\" + repositoryInfo + \", jobTimingInfo=\"\n + jobTimingInfo + \", buildConfig=\" + buildConfig + \", submissionResult=\" + submissionResult + \", cloneToken=\" + (cloneToken == null ? \"null\" : \"***\") + \"]\";\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/9a3483c2e50ffbf4ab13602cdd465b4d38578844.json b/web/public/bundles/artemis/code/9a3483c2e50ffbf4ab13602cdd465b4d38578844.json new file mode 100644 index 00000000..b94e638e --- /dev/null +++ b/web/public/bundles/artemis/code/9a3483c2e50ffbf4ab13602cdd465b4d38578844.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "9a3483c2e50ffbf4ab13602cdd465b4d38578844", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/repository/SearchableEntityPostRepository.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.globalsearch.repository;\n\nimport java.util.Optional;\n\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.data.jpa.repository.Query;\nimport org.springframework.data.repository.query.Param;\nimport org.springframework.stereotype.Repository;\n\nimport de.tum.cit.aet.artemis.communication.domain.Post;\nimport de.tum.cit.aet.artemis.core.repository.base.ArtemisJpaRepository;\nimport de.tum.cit.aet.artemis.globalsearch.config.WeaviateEnabled;\nimport de.tum.cit.aet.artemis.globalsearch.dto.searchableentity.AnswerPostSearchableEntityDTO;\nimport de.tum.cit.aet.artemis.globalsearch.dto.searchableentity.PostSearchableEntityDTO;\n\n/**\n * Projects a single post or answer post straight into its searchable DTO, for {@code SearchableEntityResolver}'s\n * dispatch-time re-derivation.\n *

\n * {@code Post.reactions}, {@code Post.answers}, and {@code AnswerPost.reactions} are mapped\n * {@code FetchType.EAGER} (see {@code FIELDS_ALLOWED_TO_FETCH_EAGERLY}), so a plain {@code findById} on either\n * entity pulls in that whole graph — for a post, every answer post it has and each of those answer posts' own\n * reactions — even though the indexable property map needs none of it. Selecting straight into the DTO below\n * never instantiates the entity, so that graph is never fetched.\n *

\n * These queries live here rather than on {@code PostRepository}/{@code AnswerPostRepository} because they exist\n * only for search re-derivation, following the same consumer-owns-its-queries pattern as\n * {@link SearchableEntityIdRepository}. The indexability condition mirrors\n * {@link SearchableEntityIdRepository#findIndexablePostIds} exactly: it must stay in step with the write path, or\n * a resolve will disagree with the queue that fed it.\n */\n@Conditional(WeaviateEnabled.class)\n@Lazy\n@Repository\npublic interface SearchableEntityPostRepository extends ArtemisJpaRepository {\n\n /**\n * @param postId the post id\n * @return the post's searchable DTO if it exists and belongs to an indexable channel, otherwise empty\n */\n @Query(\"\"\"\n SELECT NEW de.tum.cit.aet.artemis.globalsearch.dto.searchableentity.PostSearchableEntityDTO(\n post.id, channel.course.id, channel.id, post.title, post.content)\n FROM Post post\n JOIN TREAT (post.conversation AS Channel) channel\n WHERE post.id = :postId\n AND channel.isArchived = FALSE\n AND channel.isPublic = TRUE\n \"\"\")\n Optional findIndexablePostProjection(@Param(\"postId\") long postId);\n\n /**\n * @param answerPostId the answer post id\n * @return the answer post's searchable DTO if it exists and its parent post belongs to an indexable channel,\n * otherwise empty\n */\n @Query(\"\"\"\n SELECT NEW de.tum.cit.aet.artemis.globalsearch.dto.searchableentity.AnswerPostSearchableEntityDTO(\n answerPost.id, post.id, channel.course.id, channel.id, answerPost.content)\n FROM AnswerPost answerPost\n JOIN answerPost.post post\n JOIN TREAT (post.conversation AS Channel) channel\n WHERE answerPost.id = :answerPostId\n AND channel.isArchived = FALSE\n AND channel.isPublic = TRUE\n \"\"\")\n Optional findIndexableAnswerPostProjection(@Param(\"answerPostId\") long answerPostId);\n}\n" +} diff --git a/web/public/bundles/artemis/code/9a4943323f2117e239709509d75a0b145157bccd.json b/web/public/bundles/artemis/code/9a4943323f2117e239709509d75a0b145157bccd.json new file mode 100644 index 00000000..f8af0841 --- /dev/null +++ b/web/public/bundles/artemis/code/9a4943323f2117e239709509d75a0b145157bccd.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "9a4943323f2117e239709509d75a0b145157bccd", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/calendar/util/CalendarUtil.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.calendar.util;\n\nimport java.time.DateTimeException;\nimport java.time.LocalDate;\nimport java.time.LocalTime;\nimport java.time.YearMonth;\nimport java.time.ZoneId;\nimport java.time.ZoneOffset;\nimport java.time.ZonedDateTime;\nimport java.time.format.DateTimeParseException;\nimport java.util.HashSet;\nimport java.util.List;\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\nimport jakarta.ws.rs.BadRequestException;\n\nimport de.tum.cit.aet.artemis.calendar.dto.CalendarEventDTO;\nimport de.tum.cit.aet.artemis.core.util.DateUtil;\n\npublic final class CalendarUtil {\n\n private CalendarUtil() {\n }\n\n /**\n * Deserializes a list of month keys into a set of {@link YearMonth} objects.\n *\n * @param monthKeys the list of month strings in YYYY-MM format\n * @return the set of parsed objects\n * @throws BadRequestException if the list is empty or contains invalid format\n */\n public static Set deserializeMonthKeysOrElseThrow(List monthKeys) {\n try {\n Set months = monthKeys.stream().map(YearMonth::parse).collect(Collectors.toSet());\n if (months.isEmpty()) {\n throw new BadRequestException(\"At least one month key must be provided\");\n }\n return months;\n }\n catch (DateTimeParseException exception) {\n throw new BadRequestException(\"Invalid monthKey format. Expected format: YYYY-MM.\");\n }\n }\n\n /**\n * Deserializes a time zone string into a {@link ZoneId}.\n *\n * @param timeZone an IANA time zone ID as string\n * @return the parsed object\n * @throws BadRequestException if the input has a wrong format\n */\n public static ZoneId deserializeZoneIdOrElseThrow(String timeZone) {\n try {\n return ZoneId.of(timeZone);\n }\n catch (DateTimeException exception) {\n throw new BadRequestException(\"Invalid time zone format. Expected IANA time zone ID.\");\n }\n }\n\n /**\n * Filters the given {@link CalendarEventDTO}s to include only those that overlap with the specified {@link YearMonth}.\n *\n * @param eventDTOs the set of calendar events to filter\n * @param months a set of months to check for overlap\n * @param clientTimeZone used to accurately compute month boundaries in the client's timezone when checking for overlaps\n * @return the filtered calendar events\n */\n public static Set filterForEventsOverlappingMonths(Set eventDTOs, Set months, ZoneId clientTimeZone) {\n return eventDTOs.stream().filter(eventDTO -> months.stream().anyMatch(month -> areMonthAndEventOverlapping(month, eventDTO, clientTimeZone))).collect(Collectors.toSet());\n }\n\n private static boolean areMonthAndEventOverlapping(YearMonth month, CalendarEventDTO calendarEventDTO, ZoneId clientZone) {\n ZonedDateTime eventStart = calendarEventDTO.startDate();\n ZonedDateTime eventEnd = calendarEventDTO.endDate();\n ZonedDateTime monthStart = ZonedDateTime.of(month.atDay(1), LocalTime.MIDNIGHT, clientZone).withZoneSameInstant(ZoneOffset.UTC);\n ZonedDateTime monthEnd = ZonedDateTime.of(month.atEndOfMonth(), LocalTime.of(23, 59, 59, 999_000_000), clientZone).withZoneSameInstant(ZoneOffset.UTC);\n\n boolean eventStartFallsIntoMonth = firstIsBeforeOrEqualSecond(monthStart, eventStart) && firstIsBeforeOrEqualSecond(eventStart, monthEnd);\n if (eventEnd == null) {\n return eventStartFallsIntoMonth;\n }\n boolean eventEndFallsIntoMonth = firstIsBeforeOrEqualSecond(monthStart, eventEnd) && firstIsBeforeOrEqualSecond(eventEnd, monthEnd);\n boolean eventWrapsMonth = eventStart.isBefore(monthStart) && monthEnd.isBefore(eventEnd);\n return eventStartFallsIntoMonth || eventEndFallsIntoMonth || eventWrapsMonth;\n }\n\n private static boolean firstIsBeforeOrEqualSecond(ZonedDateTime first, ZonedDateTime second) {\n return first.isBefore(second) || first.isEqual(second);\n }\n\n /**\n * Loops through the given {@link CalendarEventDTO}s and splits events that span multiple days into several events each covering one day.\n *\n * @param eventDTOs the set of calendar events to process\n * @param clientTimeZone the timezone of the client\n * @return a set including all unsplit events and the splitting results\n */\n public static Set splitEventsSpanningMultipleDaysIfNecessary(Set eventDTOs, ZoneId clientTimeZone) {\n return eventDTOs.stream().flatMap(event -> splitEventAcrossDaysIfNecessary(event, clientTimeZone).stream()).collect(Collectors.toSet());\n }\n\n private static Set splitEventAcrossDaysIfNecessary(CalendarEventDTO event, ZoneId clientTimeZone) {\n ZonedDateTime start = event.startDate();\n ZonedDateTime end = event.endDate();\n if (end == null || start.toLocalDate().equals(end.toLocalDate())) {\n return Set.of(event);\n }\n\n start = start.withZoneSameInstant(clientTimeZone);\n end = end.withZoneSameInstant(clientTimeZone);\n\n HashSet splitEvents = new HashSet<>();\n LocalDate currentDay = start.toLocalDate();\n LocalDate endDay = end.toLocalDate();\n\n while (!currentDay.isAfter(endDay)) {\n ZonedDateTime currentStart = currentDay.equals(start.toLocalDate()) ? start : currentDay.atStartOfDay(clientTimeZone);\n\n ZonedDateTime currentEnd = currentDay.equals(end.toLocalDate()) ? end : currentDay.atTime(DateUtil.END_OF_DAY).atZone(clientTimeZone);\n\n splitEvents.add(new CalendarEventDTO(event.id(), event.type(), event.title(), currentStart, currentEnd, event.location(), event.facilitator()));\n\n currentDay = currentDay.plusDays(1);\n }\n\n return splitEvents;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/9afcc329040728b9f1e9e1f3e1a64ca094c0e13b.json b/web/public/bundles/artemis/code/9afcc329040728b9f1e9e1f3e1a64ca094c0e13b.json new file mode 100644 index 00000000..48701930 --- /dev/null +++ b/web/public/bundles/artemis/code/9afcc329040728b9f1e9e1f3e1a64ca094c0e13b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "9afcc329040728b9f1e9e1f3e1a64ca094c0e13b", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/dto/ModelingSubmissionDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.athena.dto;\n\nimport jakarta.validation.constraints.NotNull;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.modeling.domain.ModelingSubmission;\n\n/**\n * A DTO representing a ModelingSubmission, for transferring data to Athena\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record ModelingSubmissionDTO(long id, long exerciseId, String model) implements SubmissionBaseDTO {\n\n /**\n * Creates a new ModelingSubmissionDTO from a ModelingSubmission. The DTO also contains the exerciseId of the exercise the submission belongs to.\n *\n * @param exerciseId The id of the exercise the submission belongs to\n * @param submission The submission to create the DTO from\n * @return The created DTO\n */\n public static ModelingSubmissionDTO of(long exerciseId, @NotNull ModelingSubmission submission) {\n return new ModelingSubmissionDTO(submission.getId(), exerciseId, submission.getModel());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/9d49b9e2701c61a4cff5d5ddce9d87d75951484e.json b/web/public/bundles/artemis/code/9d49b9e2701c61a4cff5d5ddce9d87d75951484e.json new file mode 100644 index 00000000..62287757 --- /dev/null +++ b/web/public/bundles/artemis/code/9d49b9e2701c61a4cff5d5ddce9d87d75951484e.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "9d49b9e2701c61a4cff5d5ddce9d87d75951484e", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseQuizExerciseReferenceDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.course.dto;\n\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.quiz.domain.QuizExercise;\n\n/**\n * Minimal quiz-exercise reference used when selecting a source course.\n *\n * @param id the quiz exercise identifier\n * @param title the quiz exercise title\n * @param shortName the optional exercise short name\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record CourseQuizExerciseReferenceDTO(long id, String title, @Nullable String shortName) {\n\n /**\n * Maps a quiz exercise without questions, batches, grading data, or back-references.\n *\n * @param exercise the quiz exercise to map\n * @return the quiz exercise reference\n */\n public static CourseQuizExerciseReferenceDTO of(QuizExercise exercise) {\n return new CourseQuizExerciseReferenceDTO(exercise.getId(), exercise.getTitle(), exercise.getShortName());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/9db7c0796f7a04d0726eb03155cc60c288d79d0e.json b/web/public/bundles/artemis/code/9db7c0796f7a04d0726eb03155cc60c288d79d0e.json new file mode 100644 index 00000000..59e9ddb9 --- /dev/null +++ b/web/public/bundles/artemis/code/9db7c0796f7a04d0726eb03155cc60c288d79d0e.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "9db7c0796f7a04d0726eb03155cc60c288d79d0e", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/core/security/annotations/LimitRequestsPerMinuteAspect.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.core.security.annotations;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\n\nimport java.lang.reflect.Method;\nimport java.util.Locale;\nimport java.util.Optional;\n\nimport org.aspectj.lang.JoinPoint;\nimport org.aspectj.lang.annotation.Aspect;\nimport org.aspectj.lang.annotation.Before;\nimport org.aspectj.lang.reflect.MethodSignature;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.stereotype.Component;\n\nimport de.tum.cit.aet.artemis.admin.service.RateLimitConfigurationService;\nimport de.tum.cit.aet.artemis.admin.service.RateLimitService;\nimport de.tum.cit.aet.artemis.core.security.SecurityUtils;\nimport inet.ipaddr.IPAddress;\n\n/**\n * Aspect that intercepts methods annotated with {@link LimitRequestsPerMinute} to enforce rate limiting.\n *\n *

\n * This aspect uses {@code @Before} advice to check rate limits before method execution.\n * If the rate limit is exceeded, a {@link de.tum.cit.aet.artemis.core.exception.RateLimitExceededException}\n * is thrown, preventing the method from executing.\n *

\n *\n *

\n * The aspect supports both fixed RPM values and configurable rate limit types,\n * allowing for flexible rate limiting strategies across different endpoint categories.\n *

\n */\n@Profile(PROFILE_CORE)\n@Component\n@Aspect\n@Lazy\npublic class LimitRequestsPerMinuteAspect {\n\n private final RateLimitService rateLimitService;\n\n private final RateLimitConfigurationService configurationService;\n\n public LimitRequestsPerMinuteAspect(RateLimitService rateLimitService, RateLimitConfigurationService configurationService) {\n this.rateLimitService = rateLimitService;\n this.configurationService = configurationService;\n }\n\n /**\n * Intercepts method calls to enforce rate limiting before method execution.\n *\n *

\n * This advice runs before the target method and will throw an exception\n * if the rate limit is exceeded, preventing the method from executing.\n *

\n *\n * @param joinPoint the join point representing the intercepted method call\n * @throws Throwable if rate limit is exceeded or other errors occur\n */\n @Before(\"@annotation(LimitRequestsPerMinute) || @within(LimitRequestsPerMinute)\")\n public void checkRateLimit(JoinPoint joinPoint) throws Throwable {\n Method method = ((MethodSignature) joinPoint.getSignature()).getMethod();\n LimitRequestsPerMinute annotation = method.getAnnotation(LimitRequestsPerMinute.class);\n\n if (annotation == null) {\n annotation = method.getDeclaringClass().getAnnotation(LimitRequestsPerMinute.class);\n }\n\n if (annotation == null) {\n return;\n }\n\n if (annotation.perUser()) {\n Optional login = SecurityUtils.getCurrentUserLogin();\n if (login.isPresent()) {\n // An exempt address is not limited per user either\n if (configurationService.isExempt(rateLimitService.resolveClientId())) {\n return;\n }\n // The login is lower-cased, so that the budget of a user cannot be split over spellings of the login name\n rateLimitService.enforceBudget(\"user:\" + login.get().toLowerCase(Locale.ROOT), annotation.type());\n return;\n }\n }\n\n IPAddress clientId = rateLimitService.resolveClientId();\n\n rateLimitService.enforcePerMinute(clientId, annotation.type());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/9dd67a62eb9e5e6cf8a44b6611f597f451ac46dc.json b/web/public/bundles/artemis/code/9dd67a62eb9e5e6cf8a44b6611f597f451ac46dc.json new file mode 100644 index 00000000..115ae719 --- /dev/null +++ b/web/public/bundles/artemis/code/9dd67a62eb9e5e6cf8a44b6611f597f451ac46dc.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "9dd67a62eb9e5e6cf8a44b6611f597f451ac46dc", + "language": "typescript", + "path": "src/main/webapp/app/quiz/manage/service/quiz-exercise.service.ts", + "schema": "codexray.code/1", + "text": "import { Service, inject } from '@angular/core';\nimport { Observable } from 'rxjs';\nimport { map } from 'rxjs/operators';\nimport { QuizExercise, QuizStatus } from 'app/quiz/shared/entities/quiz-exercise.model';\nimport { ExerciseService } from 'app/exercise/services/exercise.service';\nimport { QuizQuestion, QuizQuestionType } from 'app/quiz/shared/entities/quiz-question.model';\nimport { DragAndDropQuestion } from 'app/quiz/shared/entities/drag-and-drop-question.model';\nimport { downloadFile, downloadZipFromFilePromises } from 'app/foundation/util/download.util';\nimport { ZipBuilder } from 'app/foundation/util/zip.util';\nimport { FileService } from 'app/foundation/service/file.service';\nimport { AccountService } from 'app/core/auth/account.service';\nimport { QuizExerciseRetrievalApi } from 'app/openapi/api/quiz-exercise-retrieval-api';\nimport { QuizStatisticsApi } from 'app/openapi/api/quiz-statistics-api';\nimport {\n toQuizExercise,\n toQuizExerciseFromListRow,\n toQuizPointStatistics,\n toQuizQuestionStatistic,\n toQuizStatisticsOverview,\n} from 'app/quiz/shared/util/generated-quiz-exercise.util';\nimport { toUpdateQuizExercise } from 'app/quiz/shared/util/quiz-exercise-update-request.util';\nimport { toNamedFiles, toQuizExerciseCreate } from 'app/quiz/shared/util/quiz-exercise-creation-request.util';\nimport { QuizExerciseCreationUpdateApi } from 'app/openapi/api/quiz-exercise-creation-update-api';\nimport { QuizExerciseDetails } from 'app/openapi/model/quiz-exercise-details';\nimport { QuizPointStatisticsResponse, QuizQuestionStatisticResponse, QuizStatisticsOverviewResponse } from 'app/quiz/manage/statistics/quiz-statistics-response.model';\n\n@Service()\nexport class QuizExerciseService {\n private exerciseService = inject(ExerciseService);\n private fileService = inject(FileService);\n private accountService = inject(AccountService);\n private quizExerciseRetrievalApi = inject(QuizExerciseRetrievalApi);\n private quizStatisticsApi = inject(QuizStatisticsApi);\n private quizExerciseCreationUpdateApi = inject(QuizExerciseCreationUpdateApi);\n\n /**\n * Create the given quiz exercise\n * @param quizExercise the quiz exercise that should be created\n * @param files the files that should be uploaded, keyed by the file name the questions reference\n */\n create(quizExercise: QuizExercise, files: Map): Observable {\n const exercise = toQuizExerciseCreate(quizExercise);\n const namedFiles = toNamedFiles(files);\n let request: Observable;\n if (quizExercise.exerciseGroup?.id) {\n request = this.quizExerciseCreationUpdateApi.createExamQuizExercise(quizExercise.exerciseGroup.id, exercise, namedFiles);\n } else if (quizExercise.course?.id) {\n request = this.quizExerciseCreationUpdateApi.createCourseQuizExercise(quizExercise.course.id, exercise, namedFiles);\n } else {\n throw new Error('Quiz exercise must belong to a course or an exercise group');\n }\n return request.pipe(map((created) => this.prepareForClient(toQuizExercise(created))));\n }\n\n /**\n * Update the given quiz exercise\n * @param id the id of the quiz exercise that should be updated\n * @param quizExercise the quiz exercise that should be updated\n * @param files the files that should be uploaded, keyed by the file name the questions reference\n * @param notificationText the text students are notified with, if any\n */\n update(id: number, quizExercise: QuizExercise, files: Map, notificationText?: string): Observable {\n return this.quizExerciseCreationUpdateApi\n .updateQuizExercise(id, toUpdateQuizExercise(quizExercise), notificationText, toNamedFiles(files))\n .pipe(map((updated) => this.prepareForClient(toQuizExercise(updated))));\n }\n\n /**\n * Find the quiz exercise with the given id, with the full question graph an instructor edits\n * @param quizExerciseId the id of the quiz exercise that should be found\n */\n find(quizExerciseId: number): Observable {\n return this.quizExerciseRetrievalApi.getQuizExercise(quizExerciseId).pipe(map((exercise) => this.prepareForClient(toQuizExercise(exercise))));\n }\n\n /**\n * Find the management details of an exam quiz exercise, converted like the course details\n * @param quizExerciseId the id of the exam quiz exercise that should be found\n */\n findForExam(quizExerciseId: number): Observable {\n return this.quizExerciseRetrievalApi.getQuizExerciseForExam(quizExerciseId).pipe(map((exercise) => this.prepareForClient(toQuizExercise(exercise))));\n }\n\n /**\n * Loads the calculated overview statistics for a quiz exercise.\n *\n * @param quizExerciseId the ID of the quiz exercise\n * @return the quiz exercise overview and its calculated statistics\n */\n findStatisticsOverview(quizExerciseId: number): Observable {\n return this.quizStatisticsApi.getQuizStatisticsOverview(quizExerciseId).pipe(map((overview) => this.prepareForClient(toQuizStatisticsOverview(overview))));\n }\n\n /**\n * Loads the calculated point distribution for a quiz exercise.\n *\n * @param quizExerciseId the ID of the quiz exercise\n * @return the quiz exercise and its calculated point distribution\n */\n findPointStatistic(quizExerciseId: number): Observable {\n return this.quizStatisticsApi.getQuizPointStatistic(quizExerciseId).pipe(map((pointStatistics) => this.prepareForClient(toQuizPointStatistics(pointStatistics))));\n }\n\n /**\n * Loads the calculated statistic for one question in a quiz exercise.\n *\n * @param quizExerciseId the ID of the quiz exercise\n * @param questionId the ID of the quiz question\n * @return the quiz exercise, question, and calculated question statistic\n */\n findQuestionStatistic(quizExerciseId: number, questionId: number): Observable {\n return this.quizStatisticsApi\n .getQuizQuestionStatistic(quizExerciseId, questionId)\n .pipe(map((questionStatistic) => this.prepareForClient(toQuizQuestionStatistic(questionStatistic))));\n }\n\n /**\n * Note: the exercises in the response do not contain participations, the course or questions, to save network bandwidth\n *\n * @param courseId the course for which the quiz exercises should be returned\n */\n findForCourse(courseId: number): Observable {\n return this.quizExerciseRetrievalApi\n .getQuizExercisesForCourse(courseId)\n .pipe(map((exercises) => exercises.map((exercise) => this.prepareForClient(toQuizExerciseFromListRow(exercise)))));\n }\n\n /**\n * Note: the exercises in the response do not contain participations, the course, the exercise group or questions, to\n * save network bandwidth\n *\n * @param examId the exam for which the quiz exercises should be returned\n */\n findAllForExam(examId: number): Observable {\n return this.quizExerciseRetrievalApi\n .getQuizExercisesForExam(examId)\n .pipe(map((exercises) => exercises.map((exercise) => this.prepareForClient(toQuizExerciseFromListRow(exercise)))));\n }\n\n /**\n * Find the quiz exercise with the given id, with as much of the question graph as the quiz state lets a student see\n * @param quizExerciseId the id of the quiz exercise that should be loaded\n */\n findForStudent(quizExerciseId: number): Observable {\n return this.quizExerciseRetrievalApi.getQuizExerciseForStudent(quizExerciseId).pipe(map((exercise) => this.prepareForClient(toQuizExercise(exercise))));\n }\n\n /**\n * Exports given quiz questions into json file\n * @param quizQuestions Quiz questions we want to export\n * @param exportAll If true exports all questions, else exports only those whose export flag is true\n * @param fileName Name (without ending) of the resulting file, defaults to 'quiz'\n */\n exportQuiz(quizQuestions?: QuizQuestion[], exportAll?: boolean, fileName?: string) {\n // Make list of questions which we need to export,\n const questions: QuizQuestion[] = [];\n\n quizQuestions!.forEach((question) => {\n if (exportAll === true || question.exportQuiz) {\n question.exercise = undefined;\n questions.push(question);\n }\n });\n if (questions.length === 0) {\n return;\n }\n this.exportAssetsFromAllQuestions(questions, fileName ?? 'quiz');\n }\n\n /**\n * Exports assets (images) embedded in the markdown and from drag and drop exercises\n * @param questions list of questions which will be exported\n * @param fileName name of the output zip file\n */\n exportAssetsFromAllQuestions(questions: QuizQuestion[], fileName: string) {\n const zip: ZipBuilder = new ZipBuilder();\n const filePromises: Promise[] = [];\n const quizJson = JSON.stringify(questions);\n const blob = new Blob([quizJson], { type: 'application/json' });\n questions.forEach((question, questionIndex) => {\n if (question.type === QuizQuestionType.DRAG_AND_DROP) {\n if ((question as DragAndDropQuestion).backgroundFilePath) {\n const filePath = (question as DragAndDropQuestion).backgroundFilePath!;\n const fileNameExtension = filePath.split('.').last();\n filePromises.push(this.fetchFilePromise(`q${questionIndex}_background.${fileNameExtension}`, zip, filePath));\n }\n if ((question as DragAndDropQuestion).dragItems) {\n (question as DragAndDropQuestion).dragItems?.forEach((dragItem, drag_index) => {\n if (dragItem.pictureFilePath) {\n const filePath = dragItem.pictureFilePath;\n const fileNameExtension = filePath.split('.').last();\n // A drag item picture is stored under its filename alone, so the question-scoped path it is served under has to be assembled from the two ids.\n const downloadPath =\n question.id !== undefined && dragItem.id !== undefined\n ? `drag-and-drop/questions/${question.id}/drag-items/${dragItem.id}/${filePath.substring(filePath.lastIndexOf('/') + 1)}`\n : filePath;\n filePromises.push(this.fetchFilePromise(`q${questionIndex}_dragItem-${drag_index}.${fileNameExtension}`, zip, downloadPath));\n }\n });\n }\n }\n this.findImagesInMarkdown(JSON.stringify(question)).forEach((embeddedImage) => {\n filePromises.push(this.fetchFilePromise(`q${questionIndex}_${embeddedImage[1]}`, zip, embeddedImage[2]));\n });\n });\n if (filePromises.length === 0) {\n downloadFile(blob, (fileName ?? 'quiz') + '.json');\n return;\n }\n zip.file((fileName ?? 'quiz') + '.json', blob);\n downloadZipFromFilePromises(zip, filePromises, fileName);\n }\n\n findImagesInMarkdown(description: string) {\n // Will return all matches of ![file_name](path), will group file_name and path\n const embeddedImageRegex = /!\\[(.+?)\\]\\((.+?)\\)/g;\n return [...description.matchAll(embeddedImageRegex)];\n }\n\n /**\n * This method fetches a file through the file Service, zips it and pushes it to the provided list of file Promises\n * @param fileName the name of the file to be zipped\n * @param zip a ZipBuilder instance\n * @param filePath the internal path of the file to be fetched\n */\n async fetchFilePromise(fileName: string, zip: ZipBuilder, filePath: string) {\n return this.fileService\n .getFile(filePath)\n .then((fileResult) => {\n zip.file(fileName, fileResult);\n })\n .catch((error) => {\n throw new Error(`File with name: ${fileName} at path: ${filePath} could not be fetched` + error);\n });\n }\n\n /**\n * Evaluates the QuizStatus for a given quiz\n *\n * @param quizExercise the quiz exercise to get the status of\n * @return the status of the quiz\n */\n getStatus(quizExercise: QuizExercise) {\n if (!quizExercise.visibleToStudents) {\n return QuizStatus.INVISIBLE;\n }\n if (quizExercise.quizEnded) {\n return QuizStatus.OPEN_FOR_PRACTICE;\n }\n if (quizExercise.quizBatches && quizExercise.quizBatches.some((batch) => batch.started)) {\n return QuizStatus.ACTIVE;\n }\n return QuizStatus.VISIBLE;\n }\n\n /**\n * Applies the client-side preparation every loaded exercise receives, whatever its type: parsed categories, the\n * current user's access rights, and the title the breadcrumbs show.\n *\n * @param quizExercise the converted exercise\n * @returns the same exercise, prepared\n */\n private prepareForClient>(quizExercise: T): T {\n ExerciseService.parseExerciseCategories(quizExercise);\n this.accountService.setAccessRightsForExerciseAndReferencedCourse(quizExercise);\n this.exerciseService.sendExerciseTitleToTitleService(quizExercise);\n return quizExercise;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/9e3f5fd13d7db3769d264bf97e13d365ef01d68a.json b/web/public/bundles/artemis/code/9e3f5fd13d7db3769d264bf97e13d365ef01d68a.json new file mode 100644 index 00000000..13fbc070 --- /dev/null +++ b/web/public/bundles/artemis/code/9e3f5fd13d7db3769d264bf97e13d365ef01d68a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "9e3f5fd13d7db3769d264bf97e13d365ef01d68a", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/ProgrammingExerciseCourseDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.programming.dto;\n\nimport java.io.Serializable;\nimport java.time.ZonedDateTime;\n\nimport org.hibernate.Hibernate;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.core.domain.Language;\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.course.domain.CourseInformationSharingConfiguration;\nimport de.tum.cit.aet.artemis.course.dto.CourseForQuizExerciseDTO;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingExercise;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingLanguage;\n\n/**\n * Light, cycle-free course projection embedded in programming-exercise responses.\n *

\n * The unchanged Angular client reads {@code exercise.course} for display links, for course-level complaint\n * configuration and, on the programming grading form, for {@code course.presentationScore}. It carries every\n * component of {@link CourseForQuizExerciseDTO} plus {@code presentationScore}, which that shared record does not\n * have and which must not be added to it.\n *

\n * It also carries the course-level flags that the {@link Course} entity put on the wire whenever it was serialized\n * nested under an exercise ({@code enrollmentEnabled}, {@code unenrollmentEnabled}, {@code onboardingDone},\n * {@code athenaGradingFeedbackEnabled}, {@code athenaFormativeFeedbackEnabled}, {@code learningPathsEnabled}, {@code gradeRelevant},\n * {@code dataRetentionHold} and {@code trainingEnabled}). They matter because this record is reached from the\n * {@code @AllowedTools(SCORPIO)} latest-result route, whose out-of-repo IntelliJ client cannot be grepped for\n * readers, so the payload has to stay a superset of the entity payload it replaced.\n *

\n * The component list is therefore the complete set of serializable {@link Course} scalars, taken from the entity\n * rather than from a fixture dump: {@code NON_EMPTY} hides every property a fixture happens to leave at its default,\n * so a wire diff can only prove that a populated key survived, never that an unpopulated one exists. What the entity\n * serialized and this record deliberately does not carry is only:\n *

    \n *
  • the associations — {@code exercises}, {@code lectures}, {@code exams}, {@code competencies},\n * {@code prerequisites}, {@code learningPaths}, {@code tutorialGroups}, {@code tutorialGroupsConfiguration},\n * {@code organizations}, {@code exerciseVariantGroups}, {@code onlineCourseConfiguration} and\n * {@code courseConfiguration}. None of them is initialized by an exercise fetch graph, so the entity dropped them\n * here as well; re-emitting one would either add a query per response or re-enter the exercise cycle.
  • \n *
  • the {@code @Transient} counters an instructor dashboard fills in ({@code numberOfStudents},\n * {@code numberOfTeachingAssistants}, {@code numberOfEditors}, {@code numberOfInstructors},\n * {@code numberOfTutorialGroups}, {@code numberOfCompetencies}, {@code numberOfPrerequisites} and\n * {@code numberOfAcceptedFaqs}). No path that reaches an exercise sets them, so they were {@code null} — and thus\n * absent — on the entity wire too.
  • \n *
\n *\n * @param id the course id\n * @param title the course title\n * @param description the course description\n * @param shortName the course short name used in API paths\n * @param startDate when the course starts\n * @param endDate when the course ends\n * @param enrollmentStartDate when enrollment opens\n * @param enrollmentEndDate when enrollment closes\n * @param unenrollmentEndDate when unenrollment closes\n * @param semester the semester the course belongs to\n * @param testCourse whether this is a test course\n * @param language the course language\n * @param defaultProgrammingLanguage the default programming language of new exercises\n * @param onlineCourse whether this is an online course\n * @param courseInformationSharingConfiguration the communication/messaging configuration\n * @param maxComplaints the maximum number of complaints per student\n * @param maxTeamComplaints the maximum number of complaints per team\n * @param maxComplaintTimeDays the complaint window in days\n * @param maxRequestMoreFeedbackTimeDays the more-feedback-request window in days\n * @param maxComplaintTextLimit the maximum complaint text length\n * @param maxComplaintResponseTextLimit the maximum complaint response text length\n * @param complaintsEnabled whether complaints are enabled\n * @param requestMoreFeedbackEnabled whether more-feedback requests are enabled\n * @param accuracyOfScores the number of decimal places used for scores\n * @param presentationScore the course presentation score (read by the grading form)\n * @param enrollmentEnabled whether students may enroll themselves\n * @param unenrollmentEnabled whether students may unenroll themselves\n * @param onboardingDone whether the course onboarding was completed\n * @param athenaGradingFeedbackEnabled whether Athena grading feedback is enabled for the course\n * @param athenaFormativeFeedbackEnabled whether Athena formative feedback is enabled for the course\n * @param learningPathsEnabled whether learning paths are enabled\n * @param gradeRelevant whether the course counts towards a grade\n * @param dataRetentionHold whether the course data is held back from the retention job\n * @param trainingEnabled whether training is enabled\n * @param color the course colour used by the client headers\n * @param courseIcon the path of the course icon\n * @param enrollmentConfirmationMessage the message shown after a student enrolled\n * @param courseArchivePath the path of the course archive, when one was created\n * @param maxPoints the reachable points of the whole course\n * @param timeZone the course time zone used by the tutorial-group feature\n * @param courseInformationSharingMessagingCodeOfConduct the messaging code of conduct\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record ProgrammingExerciseCourseDTO(Long id, String title, String description, String shortName, ZonedDateTime startDate, ZonedDateTime endDate,\n ZonedDateTime enrollmentStartDate, ZonedDateTime enrollmentEndDate, ZonedDateTime unenrollmentEndDate, String semester, boolean testCourse, Language language,\n ProgrammingLanguage defaultProgrammingLanguage, Boolean onlineCourse, CourseInformationSharingConfiguration courseInformationSharingConfiguration, Integer maxComplaints,\n Integer maxTeamComplaints, int maxComplaintTimeDays, int maxRequestMoreFeedbackTimeDays, int maxComplaintTextLimit, int maxComplaintResponseTextLimit,\n boolean complaintsEnabled, boolean requestMoreFeedbackEnabled, Integer accuracyOfScores, Integer presentationScore, Boolean enrollmentEnabled, boolean unenrollmentEnabled,\n boolean onboardingDone, boolean athenaGradingFeedbackEnabled, boolean athenaFormativeFeedbackEnabled, boolean learningPathsEnabled, boolean gradeRelevant,\n boolean dataRetentionHold, boolean trainingEnabled, String color, String courseIcon, String enrollmentConfirmationMessage, String courseArchivePath, Integer maxPoints,\n String timeZone, String courseInformationSharingMessagingCodeOfConduct) implements Serializable {\n\n /**\n * Creates a {@link ProgrammingExerciseCourseDTO} from a {@link Course}.\n *\n * @param course the course to project (may be {@code null})\n * @return the projected course, or {@code null} if the input was {@code null}\n */\n public static ProgrammingExerciseCourseDTO of(Course course) {\n if (course == null) {\n return null;\n }\n return new ProgrammingExerciseCourseDTO(course.getId(), course.getTitle(), course.getDescription(), course.getShortName(), course.getStartDate(), course.getEndDate(),\n course.getEnrollmentStartDate(), course.getEnrollmentEndDate(), course.getUnenrollmentEndDate(), course.getSemester(), course.isTestCourse(), course.getLanguage(),\n course.getDefaultProgrammingLanguage(), course.isOnlineCourse(), course.getCourseInformationSharingConfiguration(), course.getMaxComplaints(),\n course.getMaxTeamComplaints(), course.getMaxComplaintTimeDays(), course.getMaxRequestMoreFeedbackTimeDays(), course.getMaxComplaintTextLimit(),\n course.getMaxComplaintResponseTextLimit(), course.getComplaintsEnabled(), course.getRequestMoreFeedbackEnabled(), course.getAccuracyOfScores(),\n course.getPresentationScore(), course.isEnrollmentEnabled(), course.isUnenrollmentEnabled(), course.isOnboardingDone(), course.isAthenaGradingFeedbackEnabled(),\n course.isAthenaFormativeFeedbackEnabled(), course.getLearningPathsEnabled(), course.isGradeRelevant(), course.isDataRetentionHold(), course.isTrainingEnabled(),\n course.getColor(), course.getCourseIcon(), course.getEnrollmentConfirmationMessage(), course.getCourseArchivePath(), course.getMaxPoints(), course.getTimeZone(),\n course.getCourseInformationSharingMessagingCodeOfConduct());\n }\n\n /**\n * Resolves the {@code course} slot of an exercise response. An exam exercise carries its course inside the\n * {@code exerciseGroup.exam} chain instead, mirroring the entity, whose {@code course} member is null for exam\n * exercises. Flattening either slot to a bare id breaks access rights and exam navigation, so both response\n * records resolve them through this one method.\n *\n * @param exercise the exercise being mapped\n * @return the nested course, or {@code null} for an exam exercise or an uninitialized course\n */\n public static ProgrammingExerciseCourseDTO ofCourseExercise(ProgrammingExercise exercise) {\n if (!exercise.isCourseExercise()) {\n return null;\n }\n Course courseEntity = exercise.getCourseViaExerciseGroupOrCourseMember();\n if (courseEntity == null || !Hibernate.isInitialized(courseEntity)) {\n return null;\n }\n return of(courseEntity);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/9e40620232f18e60bc3a1487e733d512cb8eaaa6.json b/web/public/bundles/artemis/code/9e40620232f18e60bc3a1487e733d512cb8eaaa6.json new file mode 100644 index 00000000..f4ee3e1c --- /dev/null +++ b/web/public/bundles/artemis/code/9e40620232f18e60bc3a1487e733d512cb8eaaa6.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "9e40620232f18e60bc3a1487e733d512cb8eaaa6", + "language": "typescript", + "path": "src/main/webapp/app/assessment/shared/entities/complaint-response.model.ts", + "schema": "codexray.code/1", + "text": "import dayjs from 'dayjs/esm';\nimport { User } from 'app/account/user/user.model';\nimport { BaseEntity } from 'app/foundation/model/base-entity';\nimport { Complaint } from 'app/assessment/shared/entities/complaint.model';\n\nexport class ComplaintResponse implements BaseEntity {\n public id?: number;\n\n public responseText?: string;\n public submittedTime?: dayjs.Dayjs;\n public complaint?: Complaint;\n public reviewer?: User;\n // transient property that will be calculated on the server\n public isCurrentlyLocked?: boolean;\n // transient property that will be calculated on the server\n public lockEndDate?: dayjs.Dayjs;\n}\n" +} diff --git a/web/public/bundles/artemis/code/9e40e47bf87dfc347434e285906d28ef52a5ac23.json b/web/public/bundles/artemis/code/9e40e47bf87dfc347434e285906d28ef52a5ac23.json new file mode 100644 index 00000000..b1f764f1 --- /dev/null +++ b/web/public/bundles/artemis/code/9e40e47bf87dfc347434e285906d28ef52a5ac23.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "9e40e47bf87dfc347434e285906d28ef52a5ac23", + "language": "typescript", + "path": "src/main/webapp/app/lti/overview/lti13-exercise-launch/lti13-exercise-launch.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, OnInit, inject, signal } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { HttpClient, HttpErrorResponse, HttpHeaders, HttpParams } from '@angular/common/http';\nimport { AccountService } from 'app/core/auth/account.service';\nimport { captureException } from 'app/core/error-reporting/capture-exception';\nimport { LtiService } from 'app/foundation/service/lti.service';\nimport { Theme, ThemeService } from 'app/core/theme/shared/theme.service';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { SessionStorageService } from 'app/foundation/service/session-storage.service';\nimport { LtiLoginContinuationService } from './lti-login-continuation.service';\n\ntype LtiLaunchResponse = {\n targetLinkUri: string;\n ltiIdToken: string;\n clientRegistrationId: string;\n};\n\n/** Body returned by the LTI auth-login endpoint on a 401 that requires an interactive login/redirect. */\ntype LtiLaunchErrorBody = {\n targetLinkUri: string;\n ltiIdToken: string;\n clientRegistrationId: string;\n};\n\n@Component({\n selector: 'jhi-lti-exercise-launch',\n templateUrl: './lti13-exercise-launch.component.html',\n imports: [TranslateDirective],\n})\nexport class Lti13ExerciseLaunchComponent implements OnInit {\n private route = inject(ActivatedRoute);\n private http = inject(HttpClient);\n private accountService = inject(AccountService);\n private router = inject(Router);\n private sessionStorageService = inject(SessionStorageService);\n private ltiService = inject(LtiService);\n private themeService = inject(ThemeService);\n private loginContinuation = inject(LtiLoginContinuationService);\n\n readonly isLaunching = signal(true);\n\n /**\n * perform an LTI launch with state and id_token query parameters\n */\n ngOnInit(): void {\n this.sendRequest();\n }\n\n sendRequest(): void {\n const state = this.route.snapshot.queryParamMap.get('state');\n const idToken = this.route.snapshot.queryParamMap.get('id_token');\n\n if (!state || !idToken) {\n captureException('Required parameter for LTI launch missing');\n this.isLaunching.set(false);\n return;\n }\n\n this.loginContinuation.clearPendingLaunch();\n\n const requestBody = new HttpParams().set('state', state).set('id_token', idToken);\n\n this.http\n .post('api/lti/public/lti13/auth-login', requestBody.toString(), {\n headers: new HttpHeaders().set('Content-Type', 'application/x-www-form-urlencoded'),\n })\n .subscribe({\n next: (data) => {\n this.handleLtiLaunchSuccess(data);\n },\n error: (error) => {\n if (error.status === 401) {\n this.authenticateUserThenRedirect(error);\n } else {\n this.handleLtiLaunchError();\n }\n },\n });\n }\n\n authenticateUserThenRedirect(error: HttpErrorResponse): void {\n const loginName = error.headers.get('ltiSuccessLoginRequired');\n void this.accountService.identity().then((user) => {\n if (user) {\n this.redirectUserToTargetLink(error);\n } else {\n if (loginName) {\n this.accountService.setPrefilledUsername(loginName);\n }\n this.redirectUserToLoginThenTargetLink(error);\n }\n });\n }\n\n redirectUserToTargetLink(data: HttpErrorResponse): void {\n const errorBody = data.error as LtiLaunchErrorBody;\n const ltiIdToken = errorBody['ltiIdToken'];\n const clientRegistrationId = errorBody['clientRegistrationId'];\n\n this.storeLtiSessionData(ltiIdToken, clientRegistrationId);\n\n // Redirect to target link since the user is already logged in\n this.replaceWindowLocationWrapper(errorBody['targetLinkUri'].toString());\n }\n\n redirectUserToLoginThenTargetLink(error: HttpErrorResponse): void {\n const body = error.error as LtiLaunchErrorBody;\n if (!this.loginContinuation.prepare(body.targetLinkUri, body.ltiIdToken, body.clientRegistrationId)) {\n this.handleLtiLaunchError();\n return;\n }\n // Home owns the continuation after authentication, including a full-page identity-provider round trip.\n void this.router.navigate(['/sign-in']);\n }\n\n handleLtiLaunchSuccess(data: LtiLaunchResponse): void {\n const targetLinkUri = data.targetLinkUri;\n const ltiIdToken = data.ltiIdToken;\n const clientRegistrationId = data.clientRegistrationId;\n\n this.sessionStorageService.remove('state');\n this.storeLtiSessionData(ltiIdToken, clientRegistrationId);\n\n if (targetLinkUri) {\n this.replaceWindowLocationWrapper(targetLinkUri);\n } else {\n this.isLaunching.set(false);\n captureException('No LTI targetLinkUri received for a successful launch');\n }\n }\n\n handleLtiLaunchError(): void {\n this.sessionStorageService.remove('state');\n this.isLaunching.set(false);\n }\n\n storeLtiSessionData(ltiIdToken: string, clientRegistrationId: string): void {\n if (!ltiIdToken) {\n captureException(new Error('LTI ID token required to store session data.'));\n return;\n }\n\n if (!clientRegistrationId) {\n captureException(new Error('LTI client registration ID required to store session data.'));\n return;\n }\n\n try {\n this.sessionStorageService.store('ltiIdToken', ltiIdToken);\n this.sessionStorageService.store('clientRegistrationId', clientRegistrationId);\n } catch (error) {\n captureException('Failed to store session data: ' + String(error));\n }\n }\n\n replaceWindowLocationWrapper(url: string): void {\n this.ltiService.setShownViaLti(true);\n this.themeService.applyThemePreference(Theme.LIGHT);\n\n let path;\n const queryParams: { [key: string]: string } = {};\n\n if (url === '/lti/select-course') {\n path = url;\n } else {\n const urlObj = new URL(url);\n if (urlObj.searchParams.get('isMultiLaunch') === 'true') {\n this.ltiService.setMultiLaunch(true);\n }\n\n path = urlObj.pathname;\n urlObj.searchParams.forEach((value, key) => {\n queryParams[key] = value;\n });\n }\n\n void this.router.navigate([path], { queryParams: queryParams, replaceUrl: true });\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/9e6779dc8d0e952d5883754c4b66df098fcd0438.json b/web/public/bundles/artemis/code/9e6779dc8d0e952d5883754c4b66df098fcd0438.json new file mode 100644 index 00000000..eb55597d --- /dev/null +++ b/web/public/bundles/artemis/code/9e6779dc8d0e952d5883754c4b66df098fcd0438.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "9e6779dc8d0e952d5883754c4b66df098fcd0438", + "language": "typescript", + "path": "src/main/webapp/app/quiz/manage/lifecyle-buttons/quiz-exercise-lifecycle-buttons.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, computed, inject, input, output } from '@angular/core';\nimport { HttpErrorResponse } from '@angular/common/http';\nimport { QuizExercise, QuizMode, QuizStatus } from 'app/quiz/shared/entities/quiz-exercise.model';\nimport { QuizExerciseLifecycleService, canEndQuiz, canManageQuizBatches, canSetQuizVisible, canStartQuiz } from 'app/quiz/manage/lifecyle-buttons/quiz-exercise-lifecycle.service';\nimport { ActionType } from 'app/shared-ui/delete-dialog/delete-dialog.model';\nimport { AlertService } from 'app/foundation/service/alert.service';\nimport { faBoxesStacked, faEye, faPlayCircle, faPlus, faStopCircle } from '@fortawesome/free-solid-svg-icons';\nimport { Subject } from 'rxjs';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { DeleteButtonDirective } from 'app/shared-ui/delete-dialog/directive/delete-button.directive';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { TumAetUiButtonDirective } from '@tumaet/ui-angular/button';\nimport { TumAetUiPopoverComponent, TumAetUiPopoverTriggerDirective } from '@tumaet/ui-angular/popover';\nimport { TumAetUiTagComponent } from '@tumaet/ui-angular/tag';\nimport { TumAetUiTooltipDirective } from '@tumaet/ui-angular/tooltip';\nimport { cloneWith, deepClone } from 'app/foundation/util/deep-clone.util';\nimport { QuizExerciseBatchApi } from 'app/openapi/api/quiz-exercise-batch-api';\nimport { toQuizBatch } from 'app/quiz/shared/util/generated-quiz-exercise.util';\n\n@Component({\n selector: 'jhi-quiz-exercise-lifecycle-buttons',\n templateUrl: './quiz-exercise-lifecycle-buttons.component.html',\n // flex-nowrap: keep the lifecycle buttons (e.g. Batches + End) on a single line rather than stacking them when space\n // is tight — they are a related action group, and the exercise-management table measures their inline width to size\n // the actions column (a wrap would mis-measure it).\n host: { class: 'flex flex-nowrap items-center gap-1 [&_button]:whitespace-nowrap' },\n imports: [\n FaIconComponent,\n TranslateDirective,\n DeleteButtonDirective,\n ArtemisTranslatePipe,\n TumAetUiButtonDirective,\n TumAetUiTagComponent,\n TumAetUiTooltipDirective,\n TumAetUiPopoverComponent,\n TumAetUiPopoverTriggerDirective,\n ],\n})\nexport class QuizExerciseLifecycleButtonsComponent {\n private quizExerciseLifecycleService = inject(QuizExerciseLifecycleService);\n private quizExerciseBatchApi = inject(QuizExerciseBatchApi);\n private alertService = inject(AlertService);\n\n protected readonly QuizMode = QuizMode;\n protected readonly QuizStatus = QuizStatus;\n protected readonly ActionType = ActionType;\n\n // Icons\n faBoxesStacked = faBoxesStacked;\n faPlus = faPlus;\n faEye = faEye;\n faPlayCircle = faPlayCircle;\n faStopCircle = faStopCircle;\n\n protected dialogErrorSource = new Subject();\n dialogError$ = this.dialogErrorSource.asObservable();\n\n readonly quizExercise = input.required();\n /** Style of the lifecycle buttons: outlined next to the outlined row actions of the exercise table. */\n readonly variant = input<'solid' | 'outlined'>('solid');\n /** Shows only the batch menu, where the other lifecycle actions are offered elsewhere, such as the exercise table's row actions. */\n readonly batchesOnly = input(false);\n\n readonly loadOne = output();\n readonly handleNewQuizExercise = output();\n\n protected readonly isInVariantGroup = computed(() => !!this.quizExercise().exerciseVariantGroup);\n\n readonly showBatchMenu = computed(() => canManageQuizBatches(this.quizExercise()));\n protected readonly showStartButton = computed(() => !this.batchesOnly() && canStartQuiz(this.quizExercise()));\n protected readonly showEndButton = computed(() => !this.batchesOnly() && canEndQuiz(this.quizExercise()));\n protected readonly showSetVisibleButton = computed(() => !this.batchesOnly() && canSetQuizVisible(this.quizExercise()));\n\n /**\n * Start the given quiz-exercise immediately\n */\n startQuiz() {\n this.quizExerciseLifecycleService.startQuiz(this.quizExercise()).subscribe({\n next: (updatedExercise) => this.handleNewQuizExercise.emit(updatedExercise),\n error: (res: HttpErrorResponse) => {\n this.onError(res);\n },\n });\n }\n\n /**\n * End the given quiz-exercise immediately\n */\n endQuiz() {\n return this.quizExerciseLifecycleService.endQuiz(this.quizExercise()).subscribe({\n next: (updatedExercise) => {\n this.handleNewQuizExercise.emit(updatedExercise);\n this.dialogErrorSource.next('');\n },\n error: (error: HttpErrorResponse) => this.dialogErrorSource.next(error.message),\n });\n }\n\n /**\n * Start the given quiz-batch immediately\n *\n * @param quizBatchId the quiz batch id to start\n */\n startBatch(quizBatchId: number) {\n this.quizExerciseBatchApi.startBatch(quizBatchId).subscribe({\n next: () => {\n const updatedExercise = deepClone(this.quizExercise());\n if (updatedExercise.quizBatches) {\n updatedExercise.quizBatches = updatedExercise.quizBatches.map((batch) => {\n if (batch.id === quizBatchId) {\n return cloneWith(batch, { started: true });\n }\n return batch;\n });\n this.handleNewQuizExercise.emit(updatedExercise);\n }\n },\n error: (res: HttpErrorResponse) => {\n this.onError(res);\n },\n });\n }\n\n /**\n * Adds a new batch to the given quiz\n */\n addBatch() {\n this.quizExerciseBatchApi.addBatch(this.quizExercise().id!).subscribe({\n next: (batch) => {\n const updatedExercise = deepClone(this.quizExercise());\n const newBatch = toQuizBatch(batch);\n\n const currentBatches = updatedExercise.quizBatches ? [...updatedExercise.quizBatches] : [];\n currentBatches.push(newBatch);\n updatedExercise.quizBatches = currentBatches;\n\n this.handleNewQuizExercise.emit(updatedExercise);\n },\n error: (res: HttpErrorResponse) => {\n this.onError(res);\n },\n });\n }\n\n /**\n * Make the given quiz-exercise visible to students\n */\n showQuiz() {\n this.quizExerciseLifecycleService.setVisible(this.quizExercise()).subscribe({\n next: (updatedExercise) => this.handleNewQuizExercise.emit(updatedExercise),\n error: (res: HttpErrorResponse) => {\n this.onError(res);\n },\n });\n }\n\n private onError(error: HttpErrorResponse) {\n this.alertService.error(error.headers.get('X-artemisApp-error')!);\n this.loadOne.emit(this.quizExercise().id!);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/9e82b09fa3ed89d18afea98a0beecd8b0ff2d935.json b/web/public/bundles/artemis/code/9e82b09fa3ed89d18afea98a0beecd8b0ff2d935.json new file mode 100644 index 00000000..5fe1edcf --- /dev/null +++ b/web/public/bundles/artemis/code/9e82b09fa3ed89d18afea98a0beecd8b0ff2d935.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "9e82b09fa3ed89d18afea98a0beecd8b0ff2d935", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/AuthenticationContext.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.localvc.service;\n\nimport java.net.InetSocketAddress;\nimport java.net.SocketAddress;\n\nimport jakarta.servlet.http.HttpServletRequest;\n\nimport org.apache.sshd.server.session.ServerSession;\nimport org.jspecify.annotations.Nullable;\n\nimport de.tum.cit.aet.artemis.core.util.IpAddresses;\n\npublic sealed interface AuthenticationContext {\n\n record Session(ServerSession session) implements AuthenticationContext {\n\n @Override\n public String getIpAddress() {\n return hostAddressOf(session.getClientAddress());\n }\n }\n\n record Request(HttpServletRequest request) implements AuthenticationContext {\n\n @Override\n public String getIpAddress() {\n return request.getRemoteAddr();\n }\n }\n\n String getIpAddress();\n\n /**\n * Extracts the plain address of a socket peer, for the access log and for rate limiting.\n *

\n * Deliberately not {@link SocketAddress#toString()}, which prints {@code hostname/192.0.2.1:52134}: that is not an\n * address, and once a reverse lookup supplies a long hostname it no longer fits the {@code vcs_access_log.ip_address}\n * column, losing the audit entry to a failed insert. A hostname is rejected wherever else it appears for the same\n * reason, and because it is not what the allowlist and the rate limiter compare against.\n *\n * @param address the peer address, already the real client where the proxy protocol is in use\n * @return the numeric address, or null if the peer is not an ip socket or is named by a hostname\n */\n @Nullable\n static String hostAddressOf(@Nullable SocketAddress address) {\n if (!(address instanceof InetSocketAddress inetSocketAddress)) {\n return null;\n }\n if (inetSocketAddress.getAddress() != null) {\n return inetSocketAddress.getAddress().getHostAddress();\n }\n // An unresolved address was never looked up, so its host string is an address only if it was created from one.\n String hostString = inetSocketAddress.getHostString();\n return IpAddresses.canonical(hostString) != null ? hostString : null;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/9f0d69fb058cf2bd70ee90b7945e0273a9d6337a.json b/web/public/bundles/artemis/code/9f0d69fb058cf2bd70ee90b7945e0273a9d6337a.json new file mode 100644 index 00000000..fb0b4d57 --- /dev/null +++ b/web/public/bundles/artemis/code/9f0d69fb058cf2bd70ee90b7945e0273a9d6337a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "9f0d69fb058cf2bd70ee90b7945e0273a9d6337a", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/config/HyperionAgentProperties.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.hyperion.config;\n\nimport java.time.Duration;\nimport java.util.ArrayList;\nimport java.util.LinkedHashMap;\nimport java.util.List;\nimport java.util.Map;\n\nimport org.jspecify.annotations.Nullable;\nimport org.springframework.boot.context.properties.ConfigurationProperties;\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Configuration;\nimport org.springframework.context.annotation.Lazy;\n\nimport de.tum.cit.aet.artemis.core.config.llm.LlmPresetAssignment;\nimport de.tum.cit.aet.artemis.core.config.llm.LlmPresetAssignments;\n\n/** Bound generation defaults and administrator-defined effort profiles under {@code artemis.hyperion.agent}. */\n@Lazy\n@Configuration\n@Conditional(HyperionExerciseGenerationEnabled.class)\n@ConfigurationProperties(prefix = \"artemis.hyperion.agent\")\npublic class HyperionAgentProperties implements LlmPresetAssignments {\n\n static final String KEY = \"artemis.hyperion.agent\";\n\n /** Hard cap on authoring turns shared by all stages and repairs of a run. */\n private int maxTurns = 60;\n\n /**\n * The LLM preset that takes over a stalled repair once per run, for at most one work block. Empty disables the handoff; a profile may set its own. Like {@link #llmPreset},\n * it must exist under {@code artemis.llm.presets} on core and every worker.\n */\n @Nullable\n private String repairLlmPreset;\n\n public @Nullable String getRepairLlmPreset() {\n return repairLlmPreset;\n }\n\n public void setRepairLlmPreset(@Nullable String repairLlmPreset) {\n this.repairLlmPreset = repairLlmPreset;\n }\n\n /**\n * Wall-clock deadline for one run. Also the basis of the budget reservation TTL and the staged authoring budget.\n *

\n * {@code config/application-artemis.yml} restates this default for operator documentation and {@code HyperionAgentPropertiesTest} fails if the two diverge: a node without the\n * {@code artemis} profile binds the value from here, so a divergence would make the {@link #staleJobTimeout} invariant hold on one node and fail startup on another.\n */\n private Duration maxJobDuration = Duration.ofMinutes(45);\n\n /**\n * How long a slot may go without a heartbeat before another node reclaims it. Must be strictly greater than {@link #maxJobDuration} and than the longest duration any\n * configured effort profile can raise it to; validated at startup.\n */\n private Duration staleJobTimeout = Duration.ofMinutes(50);\n\n /** Post-response weighted per-job spend guard. Admission converts this limit to raw tokens using the cached-input-token weight. */\n private long maxTokensPerJob = 3_000_000L;\n\n /**\n * The share of a provider-cached input token that counts against {@link #maxTokensPerJob}, in (0, 1].\n *

\n * Defaults to the discount OpenAI-compatible providers apply to cached input. An agentic run re-sends the same prefix every turn, so most of its input is cache reads;\n * counting those at full weight exhausts the budget long before the run has spent what the budget bounds. Never set this to 0: the budget would then stop bounding a run\n * whose prefix stays warm.\n */\n public static final double DEFAULT_CACHED_INPUT_TOKEN_WEIGHT = 0.5d;\n\n private double cachedInputTokenWeight = DEFAULT_CACHED_INPUT_TOKEN_WEIGHT;\n\n /** Whether Java {@code GENERATE} runs go through the specification -> tests -> statement stage order. */\n private boolean stagedGeneration = true;\n\n /** {@code CONTINUOUS} or {@code FRESH}; validated where it is parsed, so an invalid value fails startup rather than the first run. */\n private String stagedContext = \"CONTINUOUS\";\n\n /** The model's usable context window in tokens; a profile with its own preset may set this too. */\n private int contextWindowTokens = 128_000;\n\n /** Name of the profile used when a request names none. Empty means the top-level values above are used directly. */\n private String defaultProfile = \"\";\n\n /** The LLM preset of runs without a profile and of profiles without their own preset. */\n @Nullable\n private String llmPreset;\n\n /** Selectable effort profiles by name; empty (the shipped default) means the feature is inert and every request runs the top-level configuration. */\n private Map profiles = new LinkedHashMap<>();\n\n @Nullable\n public String getLlmPreset() {\n return llmPreset;\n }\n\n public void setLlmPreset(@Nullable String llmPreset) {\n this.llmPreset = llmPreset;\n }\n\n /**\n * Exercise generation retries and accounts for every provider call on its own, so its presets must not retry in the SDK.\n */\n @Override\n public List llmPresetAssignments() {\n List assignments = new ArrayList<>();\n assignments.add(LlmPresetAssignment.ofSingle(KEY + \".llm-preset\", llmPreset, LlmPresetAssignment.Usage.CHAT).withoutRetries());\n addOptional(assignments, KEY + \".repair-llm-preset\", repairLlmPreset);\n profiles.forEach((name, profile) -> {\n addOptional(assignments, KEY + \".profiles.\" + name + \".llm-preset\", profile.getLlmPreset());\n addOptional(assignments, KEY + \".profiles.\" + name + \".repair-llm-preset\", profile.getRepairLlmPreset());\n });\n return List.copyOf(assignments);\n }\n\n private static void addOptional(List assignments, String key, @Nullable String preset) {\n if (preset != null && !preset.isBlank()) {\n assignments.add(LlmPresetAssignment.ofSingle(key, preset, LlmPresetAssignment.Usage.CHAT).withoutRetries());\n }\n }\n\n public int getMaxTurns() {\n return maxTurns;\n }\n\n public void setMaxTurns(int maxTurns) {\n this.maxTurns = maxTurns;\n }\n\n public Duration getMaxJobDuration() {\n return maxJobDuration;\n }\n\n public void setMaxJobDuration(Duration maxJobDuration) {\n this.maxJobDuration = maxJobDuration;\n }\n\n public Duration getStaleJobTimeout() {\n return staleJobTimeout;\n }\n\n public void setStaleJobTimeout(Duration staleJobTimeout) {\n this.staleJobTimeout = staleJobTimeout;\n }\n\n public long getMaxTokensPerJob() {\n return maxTokensPerJob;\n }\n\n public void setMaxTokensPerJob(long maxTokensPerJob) {\n this.maxTokensPerJob = maxTokensPerJob;\n }\n\n public double getCachedInputTokenWeight() {\n return cachedInputTokenWeight;\n }\n\n public void setCachedInputTokenWeight(double cachedInputTokenWeight) {\n this.cachedInputTokenWeight = cachedInputTokenWeight;\n }\n\n public boolean isStagedGeneration() {\n return stagedGeneration;\n }\n\n public void setStagedGeneration(boolean stagedGeneration) {\n this.stagedGeneration = stagedGeneration;\n }\n\n public String getStagedContext() {\n return stagedContext;\n }\n\n public void setStagedContext(String stagedContext) {\n this.stagedContext = stagedContext;\n }\n\n public int getContextWindowTokens() {\n return contextWindowTokens;\n }\n\n public void setContextWindowTokens(int contextWindowTokens) {\n this.contextWindowTokens = contextWindowTokens;\n }\n\n public String getDefaultProfile() {\n return defaultProfile;\n }\n\n public void setDefaultProfile(String defaultProfile) {\n this.defaultProfile = defaultProfile;\n }\n\n public Map getProfiles() {\n return profiles;\n }\n\n public void setProfiles(Map profiles) {\n this.profiles = profiles == null ? new LinkedHashMap<>() : profiles;\n }\n\n /** Optional overrides for one administrator-defined effort profile. */\n public static class EffortProfileProperties {\n\n /** Instructor-facing name of this profile; the profile key is used when unset. */\n @Nullable\n private String label;\n\n /** The LLM preset of this profile; the agent's {@code llm-preset} applies when unset. */\n @Nullable\n private String llmPreset;\n\n /** The repair LLM preset of this profile; the agent's {@code repair-llm-preset} applies when unset. */\n @Nullable\n private String repairLlmPreset;\n\n public @Nullable String getRepairLlmPreset() {\n return repairLlmPreset;\n }\n\n public void setRepairLlmPreset(@Nullable String repairLlmPreset) {\n this.repairLlmPreset = repairLlmPreset;\n }\n\n @Nullable\n private Integer maxTurns;\n\n @Nullable\n private Duration maxJobDuration;\n\n @Nullable\n private Long maxTokensPerJob;\n\n @Nullable\n private Boolean stagedGeneration;\n\n @Nullable\n private String stagedContext;\n\n @Nullable\n private Integer contextWindowTokens;\n\n @Nullable\n public String getLabel() {\n return label;\n }\n\n public void setLabel(@Nullable String label) {\n this.label = label;\n }\n\n @Nullable\n public String getLlmPreset() {\n return llmPreset;\n }\n\n public void setLlmPreset(@Nullable String llmPreset) {\n this.llmPreset = llmPreset;\n }\n\n @Nullable\n public Integer getMaxTurns() {\n return maxTurns;\n }\n\n public void setMaxTurns(@Nullable Integer maxTurns) {\n this.maxTurns = maxTurns;\n }\n\n @Nullable\n public Duration getMaxJobDuration() {\n return maxJobDuration;\n }\n\n public void setMaxJobDuration(@Nullable Duration maxJobDuration) {\n this.maxJobDuration = maxJobDuration;\n }\n\n @Nullable\n public Long getMaxTokensPerJob() {\n return maxTokensPerJob;\n }\n\n public void setMaxTokensPerJob(@Nullable Long maxTokensPerJob) {\n this.maxTokensPerJob = maxTokensPerJob;\n }\n\n @Nullable\n public Boolean getStagedGeneration() {\n return stagedGeneration;\n }\n\n public void setStagedGeneration(@Nullable Boolean stagedGeneration) {\n this.stagedGeneration = stagedGeneration;\n }\n\n @Nullable\n public String getStagedContext() {\n return stagedContext;\n }\n\n public void setStagedContext(@Nullable String stagedContext) {\n this.stagedContext = stagedContext;\n }\n\n @Nullable\n public Integer getContextWindowTokens() {\n return contextWindowTokens;\n }\n\n public void setContextWindowTokens(@Nullable Integer contextWindowTokens) {\n this.contextWindowTokens = contextWindowTokens;\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/a0c6f33143f7c8eefee8f704546614d36e42c8e3.json b/web/public/bundles/artemis/code/a0c6f33143f7c8eefee8f704546614d36e42c8e3.json new file mode 100644 index 00000000..29e5d2aa --- /dev/null +++ b/web/public/bundles/artemis/code/a0c6f33143f7c8eefee8f704546614d36e42c8e3.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a0c6f33143f7c8eefee8f704546614d36e42c8e3", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/domain/conversation/Conversation.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.communication.domain.conversation;\n\nimport java.time.ZonedDateTime;\nimport java.util.HashSet;\nimport java.util.Set;\n\nimport jakarta.persistence.CascadeType;\nimport jakarta.persistence.Column;\nimport jakarta.persistence.DiscriminatorColumn;\nimport jakarta.persistence.DiscriminatorType;\nimport jakarta.persistence.DiscriminatorValue;\nimport jakarta.persistence.Entity;\nimport jakarta.persistence.FetchType;\nimport jakarta.persistence.Inheritance;\nimport jakarta.persistence.InheritanceType;\nimport jakarta.persistence.JoinColumn;\nimport jakarta.persistence.ManyToOne;\nimport jakarta.persistence.OneToMany;\nimport jakarta.persistence.Table;\n\nimport org.hibernate.annotations.ConcreteProxy;\nimport org.springframework.data.annotation.CreatedDate;\n\nimport com.fasterxml.jackson.annotation.JsonIgnore;\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\nimport com.fasterxml.jackson.annotation.JsonInclude;\nimport com.fasterxml.jackson.annotation.JsonSubTypes;\nimport com.fasterxml.jackson.annotation.JsonTypeInfo;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.communication.domain.ConversationParticipant;\nimport de.tum.cit.aet.artemis.communication.domain.Post;\nimport de.tum.cit.aet.artemis.core.domain.DomainObject;\nimport de.tum.cit.aet.artemis.core.domain.Parent;\nimport de.tum.cit.aet.artemis.course.domain.Course;\n\n@Entity\n@Table(name = \"conversation\")\n@Inheritance(strategy = InheritanceType.SINGLE_TABLE)\n@DiscriminatorColumn(name = \"discriminator\", discriminatorType = DiscriminatorType.STRING)\n@DiscriminatorValue(\"X\")\n@ConcreteProxy\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\n@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = \"type\")\n// @formatter:off\n@JsonSubTypes({\n @JsonSubTypes.Type(value = OneToOneChat.class, name = \"oneToOneChat\"),\n @JsonSubTypes.Type(value = GroupChat.class, name = \"groupChat\"),\n @JsonSubTypes.Type(value = Channel.class, name = \"channel\"),\n})\n// @formatter:on\npublic abstract class Conversation extends DomainObject {\n\n @ManyToOne\n @JoinColumn(name = \"creator_id\")\n // NOTE: Using @JsonIgnoreProperties instead of @JsonIncludeProperties to avoid Jackson deserialization issues\n // with \"No _valueDeserializer assigned\" errors in nested entity hierarchies\n // We basically want: @JsonIncludeProperties({ \"id\", \"name\" })\n @JsonIgnoreProperties(value = { \"password\", \"registrationNumber\", \"activationKey\", \"resetKey\", \"vcsAccessToken\", \"vcsAccessTokenExpiryDate\", \"groups\", \"authorities\",\n \"organizations\", \"tutorialGroupRegistrations\", \"completedLectureUnits\", \"competencyProgresses\", \"learningPaths\", \"examUsers\", \"pushNotificationDeviceConfigurations\",\n \"savedPosts\", \"learnerProfile\" }, allowSetters = true)\n private User creator;\n\n @JsonIgnoreProperties(value = \"conversation\", allowSetters = true)\n @OneToMany(mappedBy = \"conversation\", cascade = CascadeType.REMOVE, fetch = FetchType.LAZY)\n private Set conversationParticipants = new HashSet<>();\n\n @JsonIgnoreProperties(value = \"conversation\", allowSetters = true)\n @OneToMany(mappedBy = \"conversation\", cascade = CascadeType.REMOVE, fetch = FetchType.LAZY)\n private Set posts = new HashSet<>();\n\n @ManyToOne\n @JsonIgnore\n @JoinColumn(nullable = false)\n @Parent\n private Course course;\n\n @CreatedDate\n @Column(name = \"creation_date\", updatable = false)\n private ZonedDateTime creationDate = ZonedDateTime.now();\n\n @Column(name = \"last_message_date\")\n private ZonedDateTime lastMessageDate;\n\n public Conversation(Long id, User creator, Set conversationParticipants, Set posts, Course course, ZonedDateTime creationDate,\n ZonedDateTime lastMessageDate) {\n this.setId(id);\n this.creator = creator;\n this.conversationParticipants = conversationParticipants;\n this.posts = posts;\n this.course = course;\n this.creationDate = creationDate;\n this.lastMessageDate = lastMessageDate;\n }\n\n public Conversation() {\n }\n\n public Set getConversationParticipants() {\n return conversationParticipants;\n }\n\n public void setConversationParticipants(Set conversationParticipant) {\n this.conversationParticipants = conversationParticipant;\n }\n\n public Course getCourse() {\n return course;\n }\n\n public void setCourse(Course course) {\n this.course = course;\n }\n\n public ZonedDateTime getCreationDate() {\n return creationDate;\n }\n\n public void setCreationDate(ZonedDateTime creationDate) {\n this.creationDate = creationDate;\n }\n\n public ZonedDateTime getLastMessageDate() {\n return lastMessageDate;\n }\n\n public void setLastMessageDate(ZonedDateTime lastMessageDate) {\n this.lastMessageDate = lastMessageDate;\n }\n\n public User getCreator() {\n return creator;\n }\n\n public void setCreator(User creator) {\n this.creator = creator;\n }\n\n public Set getPosts() {\n return posts;\n }\n\n public void setPosts(Set posts) {\n this.posts = posts;\n }\n\n public abstract Conversation copy();\n\n /**\n * @param sender the sender of the message\n * @return returns a human-readable name for this conversation, which can be used in notifications or emails.\n */\n public abstract String getHumanReadableNameForReceiver(User sender);\n\n /**\n * hide the details of the object, can be invoked before sending it as payload in a REST response or websocket message\n */\n public void hideDetails() {\n // the following values are sometimes not needed when sending payloads to the client, so we allow to remove them\n setConversationParticipants(new HashSet<>());\n setPosts(new HashSet<>());\n // TODO: this information is still needed in some places, we need to identify those and then set it to null\n // setCourse(null);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/a0dcdeddc4e7ff86c9b3352ef16415fcd91d31b7.json b/web/public/bundles/artemis/code/a0dcdeddc4e7ff86c9b3352ef16415fcd91d31b7.json new file mode 100644 index 00000000..0f82dd26 --- /dev/null +++ b/web/public/bundles/artemis/code/a0dcdeddc4e7ff86c9b3352ef16415fcd91d31b7.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a0dcdeddc4e7ff86c9b3352ef16415fcd91d31b7", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/config/AtlasNotPresentException.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.atlas.config;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.ATLAS_ENABLED_PROPERTY_NAME;\n\nimport de.tum.cit.aet.artemis.core.api.AbstractApi;\nimport de.tum.cit.aet.artemis.core.exception.ApiConditionNotPresentException;\n\n/**\n * Exception that an optionally autowired API is not present.\n * This is caused by a Spring property not being present.\n */\npublic class AtlasNotPresentException extends ApiConditionNotPresentException {\n\n /**\n * @param api the api class that should be present\n */\n public AtlasNotPresentException(Class api) {\n super(api, ATLAS_ENABLED_PROPERTY_NAME);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/a14ac5c2524d22eb32560015e8712e5fbacf4deb.json b/web/public/bundles/artemis/code/a14ac5c2524d22eb32560015e8712e5fbacf4deb.json new file mode 100644 index 00000000..33a64b62 --- /dev/null +++ b/web/public/bundles/artemis/code/a14ac5c2524d22eb32560015e8712e5fbacf4deb.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a14ac5c2524d22eb32560015e8712e5fbacf4deb", + "language": "typescript", + "path": "src/main/webapp/app/core/legal/privacy.component.ts", + "schema": "codexray.code/1", + "text": "import { LegalDocumentFragmentDirective } from './legal-document-fragment.directive';\nimport { Component, DestroyRef, OnInit, inject, signal } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { RouterLink } from '@angular/router';\nimport { JhiLanguageHelper } from 'app/core/language/shared/language.helper';\nimport { AccountService } from 'app/core/auth/account.service';\nimport { LegalDocumentService } from 'app/core/legal/legal-document.service';\nimport { LegalDocumentLanguage } from 'app/admin/legal/legal-document.model';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { MarkdownDirective } from 'app/foundation/directives/markdown.directive';\nimport { switchMap } from 'rxjs';\n\n@Component({\n selector: 'jhi-privacy',\n template: `\n

\n @if (isAuthenticated()) {\n \n }\n `,\n imports: [TranslateDirective, RouterLink, MarkdownDirective],\n})\nexport class PrivacyComponent extends LegalDocumentFragmentDirective implements OnInit {\n private readonly legalDocumentService = inject(LegalDocumentService);\n private readonly languageHelper = inject(JhiLanguageHelper);\n private readonly accountService = inject(AccountService);\n private readonly destroyRef = inject(DestroyRef);\n\n readonly privacyStatement = signal(undefined);\n readonly isAuthenticated = signal(false);\n\n /**\n * On init get the privacy statement file from the Artemis server and set up a subscription to fetch the file again if the language was changed.\n */\n ngOnInit(): void {\n this.isAuthenticated.set(this.accountService.isAuthenticated());\n // Update the view if the language was changed\n this.languageHelper.language\n .pipe(\n switchMap((lang) => this.legalDocumentService.getPrivacyStatement(lang as LegalDocumentLanguage)),\n takeUntilDestroyed(this.destroyRef),\n )\n .subscribe((statement) => this.privacyStatement.set(statement.text));\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/a1506408b3ecf8ca9820d54d24704794d041f2b8.json b/web/public/bundles/artemis/code/a1506408b3ecf8ca9820d54d24704794d041f2b8.json new file mode 100644 index 00000000..e686dd0e --- /dev/null +++ b/web/public/bundles/artemis/code/a1506408b3ecf8ca9820d54d24704794d041f2b8.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a1506408b3ecf8ca9820d54d24704794d041f2b8", + "language": "typescript", + "path": "src/main/webapp/app/tutorialgroup/manage/tutorial-registrations-container/tutorial-registrations-container.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, computed, effect, inject } from '@angular/core';\nimport { getNumericPathVariableSignal } from 'app/foundation/route/getPathVariable';\nimport { ActivatedRoute } from '@angular/router';\nimport { TutorialRegistrationsComponent } from 'app/tutorialgroup/manage/tutorial-registrations/tutorial-registrations.component';\nimport { LoadingIndicatorOverlayComponent } from 'app/shared-ui/loading-indicator-overlay/loading-indicator-overlay.component';\nimport { TutorialGroupRegisteredStudentsService } from 'app/tutorialgroup/manage/service/tutorial-group-registered-students.service';\nimport { TutorialGroupCourseAndGroupService } from 'app/tutorialgroup/shared/service/tutorial-group-course-and-group.service';\nimport { AccountService } from 'app/core/auth/account.service';\n\n@Component({\n selector: 'jhi-tutorial-registrations-container',\n imports: [TutorialRegistrationsComponent, LoadingIndicatorOverlayComponent],\n templateUrl: './tutorial-registrations-container.component.html',\n})\nexport class TutorialRegistrationsContainerComponent {\n private activatedRoute = inject(ActivatedRoute);\n private tutorialGroupCourseAndGroupService = inject(TutorialGroupCourseAndGroupService);\n private accountService = inject(AccountService);\n private tutorialGroupRegisteredStudentsService = inject(TutorialGroupRegisteredStudentsService);\n private tutorialGroup = this.tutorialGroupCourseAndGroupService.tutorialGroup;\n private isTutorialGroupLoading = this.tutorialGroupCourseAndGroupService.isTutorialGroupLoading;\n private course = this.tutorialGroupCourseAndGroupService.course;\n private isCourseLoading = this.tutorialGroupCourseAndGroupService.isCourseLoading;\n\n courseId = getNumericPathVariableSignal(this.activatedRoute, 'courseId');\n tutorialGroupId = getNumericPathVariableSignal(this.activatedRoute, 'tutorialGroupId');\n registeredStudents = this.tutorialGroupRegisteredStudentsService.registeredStudents;\n isRegisteredStudentsLoading = this.tutorialGroupRegisteredStudentsService.isLoading;\n loggedInUserIsAtLeastTutorOfGroup = computed(() => this.computeIfLoggedInUserIsAtLeastTutorOfGroup());\n loggedInUserIsAtLeastInstructorInCourse = computed(() => this.computeIfLoggedInUserIsAtLeastInstructorInCourse());\n isLoading = computed(() => this.isTutorialGroupLoading() || this.isCourseLoading() || this.isRegisteredStudentsLoading());\n\n constructor() {\n effect(() => {\n const courseId = this.courseId();\n const tutorialGroupId = this.tutorialGroupId();\n if (courseId && tutorialGroupId) {\n this.tutorialGroupRegisteredStudentsService.fetchRegisteredStudents(courseId, tutorialGroupId);\n\n const fetchTutorialGroupIsNecessary = this.tutorialGroup() === undefined;\n if (fetchTutorialGroupIsNecessary) {\n this.tutorialGroupCourseAndGroupService.fetchTutorialGroup(courseId, tutorialGroupId);\n }\n }\n });\n\n effect(() => {\n const courseId = this.courseId();\n if (courseId) {\n const fetchCourseIsNecessary = this.course() === undefined;\n if (fetchCourseIsNecessary) {\n this.tutorialGroupCourseAndGroupService.fetchCourse(courseId);\n }\n }\n });\n }\n\n private computeIfLoggedInUserIsAtLeastTutorOfGroup(): boolean | undefined {\n const tutorialGroup = this.tutorialGroup();\n const course = this.course();\n if (!tutorialGroup || !course) return undefined;\n return tutorialGroup.tutorLogin === this.accountService.userIdentity()?.login || this.accountService.isAtLeastEditorInCourse(course);\n }\n\n private computeIfLoggedInUserIsAtLeastInstructorInCourse(): boolean | undefined {\n const course = this.course();\n if (!course) return undefined;\n return this.accountService.isAtLeastInstructorInCourse(course);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/a22056d204949a5ca7232b3f05ab0c6da330d88a.json b/web/public/bundles/artemis/code/a22056d204949a5ca7232b3f05ab0c6da330d88a.json new file mode 100644 index 00000000..e86ce780 --- /dev/null +++ b/web/public/bundles/artemis/code/a22056d204949a5ca7232b3f05ab0c6da330d88a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a22056d204949a5ca7232b3f05ab0c6da330d88a", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/participation/Participant.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exercise.domain.participation;\n\nimport java.util.Set;\n\nimport com.fasterxml.jackson.annotation.JsonIgnore;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\n\npublic interface Participant {\n\n Long getId();\n\n String getName();\n\n String getParticipantIdentifier();\n\n /**\n * convenience method\n *\n * @return either the user itself in a singleton set or all participants of a team\n */\n @JsonIgnore\n Set getParticipants();\n}\n" +} diff --git a/web/public/bundles/artemis/code/a2ad4c2bbd9a4ed2cffc9936a488f7217d8c0556.json b/web/public/bundles/artemis/code/a2ad4c2bbd9a4ed2cffc9936a488f7217d8c0556.json new file mode 100644 index 00000000..a29c8c51 --- /dev/null +++ b/web/public/bundles/artemis/code/a2ad4c2bbd9a4ed2cffc9936a488f7217d8c0556.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a2ad4c2bbd9a4ed2cffc9936a488f7217d8c0556", + "language": "typescript", + "path": "src/main/webapp/app/foundation/service/websocket.service.ts", + "schema": "codexray.code/1", + "text": "import { OnDestroy, Service } from '@angular/core';\nimport { captureException } from 'app/core/error-reporting/capture-exception';\nimport { IWatchParams, ReconnectionTimeMode, RxStomp, RxStompConfig, RxStompState, TickerStrategy } from '@stomp/rx-stomp';\nimport { IMessage } from '@stomp/stompjs';\nimport { parseJson } from 'app/foundation/util/json.util';\nimport { gunzipSync, gzipSync, strFromU8, strToU8 } from 'fflate';\nimport { BehaviorSubject, EMPTY, Observable, Subscription, defer, of, timer } from 'rxjs';\nimport { distinctUntilChanged, map, mergeMap, share, switchMap } from 'rxjs/operators';\n\n/**\n * Name of the STOMP header that indicates whether a message payload is compressed.\n *\n * This header must be consistent with the corresponding server-side implementation\n * (see {@code GzipMessageConverter.java} on the server).\n */\nexport const COMPRESSION_HEADER_KEY = 'X-Compressed';\n\n/**\n * STOMP headers used to mark a message as compressed.\n *\n * When this header is present with value `'true'`, the receiver must treat\n * the message body as a Base64-encoded, GZIP-compressed JSON payload.\n */\nexport const COMPRESSION_HEADER: Record = { [COMPRESSION_HEADER_KEY]: 'true' };\n\n/**\n * Delay in milliseconds before emitting non-OPEN connection states to consumers.\n * This grace period allows brief disconnections to recover without triggering UI warnings.\n */\nexport const CONNECTION_STATE_DELAY_MS = 5000;\n\n/**\n * Builds the absolute URL of the WebSocket endpoint of the server that served the page.\n *\n * The scheme is spelled out as `ws:` or `wss:` matching the protocol of the page. A scheme-relative URL (`//host/...`) is rejected by the\n * `WebSocket` constructor of some browsers, e.g. Safari (\"The string did not match the expected pattern\").\n *\n * NOTE: 'websocket' appears twice to use STOMP without SockJS.\n *\n * @param location the location of the page\n */\nexport function buildWebsocketUrl(location: Pick): string {\n const scheme = location.protocol === 'https:' ? 'wss:' : 'ws:';\n return `${scheme}//${location.host}/websocket/websocket`;\n}\n\n/**\n * Public API for the WebSocket service used in Angular components.\n *\n * This abstraction allows components and services to:\n * - establish and tear down a single shared WebSocket/STOMP connection, and\n * - publish and subscribe to STOMP topics (channels).\n *\n * ## Important usage note regarding subscriptions\n *\n * Whenever a component calls {@link IWebsocketService.subscribe}, it **must**\n * eventually unsubscribe from the returned {@link Observable}:\n *\n * - If using the `async` pipe in an Angular template, make sure that the\n * observable completes or is torn down when the component is destroyed\n * (e.g. by using `takeUntil(this.destroy$)` or similar).\n * - If subscribing manually via `.subscribe(...)`, always hold on to the\n * returned `Subscription` and call `subscription.unsubscribe()` in\n * `ngOnDestroy`.\n *\n * Failing to unsubscribe will keep the underlying STOMP subscription and\n * WebSocket resources alive, even if the component is no longer in use.\n */\nexport interface IWebsocketService {\n /**\n * Set up the WebSocket/STOMP connection.\n *\n * This initializes an {@link RxStomp} client and connects it to the server.\n * If a client instance already exists, it is deactivated first and then\n * re-created with fresh configuration.\n *\n * Typically, the application calls this once during startup (e.g. in a\n * root service or app initializer). Consumers usually do not need to call\n * this directly, because {@link subscribe} will trigger a lazy connection\n * if none exists yet.\n */\n connect(): void;\n\n /**\n * Check whether the WebSocket/STOMP connection is currently established.\n *\n * @returns `true` if the connection is active; otherwise, `false`.\n */\n isConnected(): boolean;\n\n /**\n * Close the WebSocket/STOMP connection.\n *\n * This method:\n * - deactivates the underlying {@link RxStomp} client,\n * - clears the internal reference to it, and\n * - updates the {@link connectionState} to reflect that the connection is\n * intentionally closed.\n *\n * Use this method for explicit disconnects such as user logout, application\n * shutdown, or when you are sure the application should no longer maintain\n * an active WebSocket connection.\n */\n disconnect(): void;\n\n /**\n * Send data through the WebSocket/STOMP connection.\n *\n * The payload is JSON-stringified, and if it exceeds 1 KB, it is compressed\n * using GZIP and then Base64-encoded. A compression header\n * {@link COMPRESSION_HEADER} is set accordingly to indicate that the\n * message body is compressed.\n *\n * @typeParam T Type of the payload being sent (typically a DTO or plain object).\n * @param path STOMP destination (topic or queue) to publish to (e.g. `/topic/example`).\n * @param data Data to send through the WebSocket connection.\n *\n * @remarks\n * If the connection is not currently active (see {@link isConnected}),\n * the method does nothing. It will **not** automatically reconnect.\n */\n send(path: string, data: T): void;\n\n /**\n * Subscribe to a STOMP destination (topic/channel).\n *\n * @typeParam T Expected type of the decoded message payload, after optional decompression and JSON parsing.\n * @param channel STOMP destination to subscribe to (e.g. `/topic/my-channel`).\n * @returns An {@link Observable} that emits messages of type `T` whenever the server sends a message on the given `channel`.\n *\n * @remarks\n * - If `channel` is falsy (empty string, `null`, etc.), {@link EMPTY} is returned.\n * - If there is no active {@link RxStomp} client, {@link connect} is called lazily. If connection setup fails, {@link EMPTY} is returned.\n * - Each subscription to the returned `Observable` creates an underlying STOMP subscription via `RxStomp.watch(...)`. When the observable\n * subscription is **unsubscribed**, the STOMP subscription is cleaned up automatically by `RxStomp`.\n *\n * ## Responsibility to unsubscribe\n *\n * The **caller** (component/service) is responsible for unsubscribing from the `Observable`. Typical patterns include:\n *\n * ```ts\n * // 1. Manual subscription + teardown\n * private subscription?: Subscription;\n *\n * ngOnInit() {\n * this.subscription = this.websocketService\n * .subscribe('/topic/my-channel')\n * .subscribe((message) => { ... });\n * }\n *\n * ngOnDestroy() {\n * this.subscription?.unsubscribe();\n * }\n *\n * // 2. Using takeUntil with a destroy$ subject\n * private readonly destroy$ = new Subject();\n *\n * ngOnInit() {\n * this.websocketService\n * .subscribe('/topic/my-channel')\n * .pipe(takeUntil(this.destroy$))\n * .subscribe((message) => { ... });\n * }\n *\n * ngOnDestroy() {\n * this.destroy$.next();\n * this.destroy$.complete();\n * }\n * ```\n *\n * Failing to unsubscribe keeps the WebSocket/STOMP subscription active and may lead to memory leaks and unnecessary server load.\n */\n subscribe(channel: string): Observable;\n\n /**\n * Observe the current WebSocket connection state.\n *\n * @returns An {@link Observable} of {@link ConnectionState}, emitting whenever the internal connection state changes.\n *\n * @remarks\n * This is useful for components that need to react to connection changes, e.g. showing a \"disconnected\" banner or blocking certain actions until the connection is established.\n */\n get connectionState(): Observable;\n}\n\n/**\n * Immutable representation of the WebSocket/STOMP connection state.\n *\n * Instances of this class are emitted by {@link WebsocketService.connectionState} to allow observers to react to:\n * - whether a connection is currently established,\n * - whether there has ever been a successful connection before, and\n * - whether the current disconnected state is intentional or due to an error.\n */\nexport class ConnectionState {\n /**\n * Indicates whether the WebSocket/STOMP connection is currently active.\n */\n readonly connected: boolean;\n\n /**\n * Indicates whether a successful connection has been established at least once since service initialization or the last intentional disconnect.\n */\n readonly wasEverConnectedBefore: boolean;\n\n /**\n * Create a new {@link ConnectionState} instance.\n *\n * @param connected Whether the WebSocket/STOMP connection is currently active.\n * @param wasEverConnectedBefore Whether a successful connection has been established at least once.\n */\n constructor(connected: boolean, wasEverConnectedBefore: boolean) {\n this.connected = connected;\n this.wasEverConnectedBefore = wasEverConnectedBefore;\n }\n}\n\n/**\n * WebSocket service managing a single shared STOMP connection.\n *\n * Relation overview:\n *\n * - **Server** <1—1> **STOMP** <1—1> **WebsocketService** <1—n·m> **Angular components** × **channel topics**\n *\n * Responsibilities:\n * - Configure and manage a single {@link RxStomp} client instance.\n * - Expose methods to connect, disconnect, send messages, and subscribe to topics.\n * - Handle optional compression/decompression of message payloads.\n *\n * ## Subscription lifecycle and responsibility\n *\n * Each call to {@link subscribe} returns an {@link Observable} bound to an underlying STOMP subscription created by `RxStomp.watch(...)`.\n *\n * - When the consumer **subscribes** to the observable, the STOMP subscription is created (or reused internally by `RxStomp`).\n * - When the consumer **unsubscribes** from the observable subscription, the STOMP subscription is cleaned up by `RxStomp`.\n *\n * Therefore, any component or service that calls `subscribe` **must** call `unsubscribe` on the observable subscription when it is no longer needed,\n * usually in `ngOnDestroy`. This is essential to:\n *\n * - free client-side resources,\n * - properly unsubscribe from server-side topics, and\n * - prevent memory leaks and unnecessary server traffic.\n */\n@Service()\nexport class WebsocketService implements IWebsocketService, OnDestroy {\n /**\n * Underlying RxStomp client instance managing the STOMP/WebSocket connection. This is lazily created in {@link connect} and cleared in {@link disconnect}.\n */\n private rxStomp?: RxStomp;\n\n /**\n * Counter for generating unique subscription IDs.\n * @private\n */\n private subscriptionCounter = 0;\n\n /**\n * One shared, reference-counted observable per STOMP destination.\n *\n * The broker rejects a second subscription to a destination that is already subscribed on the same session, so\n * every destination must be subscribed exactly once no matter how many callers want it. Entries are removed again\n * once the last consumer unsubscribes.\n * @private\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any -- the map is keyed by destination and holds streams of different payload types; the cast back to Observable happens in subscribe()\n private readonly sharedChannelObservables = new Map>();\n\n /**\n * Unique session identifier for this WebSocket connection.\n * @private\n */\n private sessionId = '';\n\n /**\n * Indicates whether a successful connection has ever been established.\n * @private\n */\n private wasConnectedOnce = false;\n\n /**\n * Subscription to the RxStomp connection state observable.\n * @private\n */\n private connectionStateSubscription?: Subscription;\n\n /**\n * Internal {@link BehaviorSubject} holding the current {@link ConnectionState}. Exposed as an observable via {@link connectionState}.\n */\n private readonly connectionStateInternal: BehaviorSubject;\n\n /**\n * Creates a new instance of {@link WebsocketService}.\n *\n * The initial connection state is:\n * - `connected = false`\n * - `wasEverConnectedBefore = false`\n */\n constructor() {\n this.connectionStateInternal = new BehaviorSubject(new ConnectionState(false, false));\n }\n\n /**\n * Observable view of the current WebSocket connection state. Consumers can subscribe to this observable to react to connection changes.\n * The observable never completes as long as the service is alive.\n */\n get connectionState(): Observable {\n return this.connectionStateInternal.asObservable();\n }\n\n /**\n * Set up the WebSocket/STOMP connection.\n *\n * This method:\n * 1. Deactivates any existing {@link RxStomp} instance.\n * 2. Constructs a new `RxStomp` client with:\n * - broker URL based on the current `window.location.host`\n * - configured heartbeats and reconnect behavior\n * - native `WebSocket` usage (no SockJS)\n * 3. Registers a connection callback to update {@link connectionStateInternal} when a connection is established.\n * 4. Activates the client.\n *\n * @remarks\n * This method does **not** return a promise or observable for connection completion. Consumers who need to react to connection changes subscribe to {@link connectionState}.\n */\n connect(): void {\n if (this.rxStomp) {\n void this.rxStomp.deactivate();\n this.connectionStateSubscription?.unsubscribe();\n // The cached streams belong to the client being replaced. Handing one of them to a caller after the\n // reconnect would leave it watching a dead client and silently receiving nothing.\n this.sharedChannelObservables.clear();\n }\n const url = buildWebsocketUrl(window.location);\n const config: RxStompConfig = {\n brokerURL: url,\n connectHeaders: {},\n heartbeatOutgoing: 10000, // should be identical to the server settings\n heartbeatIncoming: 10000, // should be identical to the server settings\n reconnectDelay: 500, // initial value is quite small, will be increased by ReconnectionTimeMode.EXPONENTIAL\n reconnectTimeMode: ReconnectionTimeMode.EXPONENTIAL, // wait longer between reconnection attempts up to maxReconnectDelay\n connectionTimeout: 10000, // abort connection attempt after 10 seconds and try again\n maxReconnectDelay: 10000, // maximum delay between reconnection attempts is 10 seconds\n heartbeatStrategy: TickerStrategy.Worker, // use Web Worker for heartbeats so that browser tabs stay connected when in background\n discardWebsocketOnCommFailure: true,\n debug: () => {},\n webSocketFactory: () => new WebSocket(url, ['v12.stomp']),\n };\n this.sessionId = this.generateSecureSessionId();\n this.rxStomp = new RxStomp();\n this.rxStomp.configure(config);\n this.handleConnectionChanges(this.rxStomp);\n this.rxStomp.activate();\n }\n\n /**\n * Subscribes to the RxStomp connection state and updates {@link connectionStateInternal}.\n *\n * This method implements a debounce strategy for non-OPEN states to prevent UI flickering\n * caused by brief connection interruptions:\n *\n * - **OPEN state**: Emitted immediately so consumers can enable features right away.\n * - **Non-OPEN states** (CLOSED, CONNECTING, etc.): Delayed by {@link CONNECTION_STATE_DELAY_MS} before emission.\n * If the connection recovers within this window, the pending emission is cancelled,\n * and consumers never see the transient disconnected state.\n *\n * This approach avoids showing confusing \"connection lost\" warnings to users during\n * normal reconnection scenarios (e.g., brief network hiccups, server restarts).\n *\n * @param rxStomp The RxStomp client instance to observe for connection state changes.\n *\n * @remarks\n * This method must be called **before** {@link RxStomp.activate} to ensure all state\n * transitions are captured, including the initial connection attempt.\n */\n private handleConnectionChanges = (rxStomp: RxStomp): void => {\n this.connectionStateSubscription = rxStomp.connectionState$\n .pipe(\n // Prevent duplicate emissions when the state hasn't actually changed\n distinctUntilChanged(),\n // Use switchMap to implement the delay with automatic cancellation:\n // When a new state arrives, any pending timer from the previous state is cancelled\n switchMap((state: RxStompState) => {\n if (state === RxStompState.OPEN) {\n // Connection established: emit immediately so the UI can react right away\n return of(state);\n } else {\n // Connection lost or connecting: wait before notifying consumers.\n // If the connection recovers (state becomes OPEN) within this window,\n // switchMap will cancel this timer and emit the OPEN state instead,\n // effectively hiding the transient disconnection from the UI.\n return timer(CONNECTION_STATE_DELAY_MS).pipe(map(() => state));\n }\n }),\n )\n .subscribe((state: RxStompState) => {\n // Update the public connection state observable\n this.connectionStateInternal.next(new ConnectionState(state === RxStompState.OPEN, this.wasConnectedOnce));\n // Track if we've ever had a successful connection (used to distinguish\n // \"never connected\" from \"was connected but lost connection\")\n if (state === RxStompState.OPEN) {\n this.wasConnectedOnce = true;\n }\n });\n };\n\n /**\n * Generates a cryptographically secure 12-character session ID.\n *\n * The ID is derived from 6 random bytes returned by the browser's `crypto` API.\n * Each byte is encoded as two hexadecimal characters, yielding 2^48 (~2.8e14)\n * possible combinations — making accidental collisions practically impossible.\n *\n * @returns {string} A 12-character, hex-encoded secure session ID.\n */\n private generateSecureSessionId(): string {\n // 6 bytes = 48 bits of entropy → 12 hex characters\n const byteArray = window.crypto.getRandomValues(new Uint8Array(6));\n return Array.from(byteArray, (byte) => byte.toString(16).padStart(2, '0')).join('');\n }\n\n /**\n * Create a message handler that processes incoming STOMP messages.\n *\n * The returned function:\n * 1. Checks whether the incoming message is marked as compressed via the {@link COMPRESSION_HEADER_KEY}.\n * 2. If compressed, attempts to decode and decompress the payload.\n * 3. Parses the resulting string as JSON into type `T`.\n *\n * @typeParam T Expected type of the parsed message payload.\n * @returns A function that takes an {@link IMessage} and returns a decoded and parsed payload of type `T`.\n *\n * @internal\n */\n private handleIncomingMessage() {\n return (message: IMessage): T => {\n // this code is invoked if a new websocket message was received from the server, we pass the message to the subscriber (e.g. a component who will be notified and can handle the message)\n const isCompressed = message.headers[COMPRESSION_HEADER_KEY] === 'true';\n let payload = message.body;\n\n if (isCompressed) {\n try {\n payload = WebsocketService.decodeAndDecompress(payload);\n } catch (error) {\n captureException(error, { extra: { mechanism: 'websocket-decompression', message: 'Failed to decompress message' } });\n throw error;\n }\n }\n return WebsocketService.parseJSON(payload);\n };\n }\n\n /**\n * Compresses a given string payload using GZIP and encodes the compressed data into a Base64 string.\n *\n *

This method performs the following steps:\n *

    \n *
  1. Compresses the input string using GZIP.
  2. \n *
  3. Converts the compressed binary data into a Base64-encoded string.
  4. \n *
\n *\n * @param payload The string payload to be compressed and encoded.\n * @returns A Base64-encoded string representing the compressed payload.\n * @throws Error If compression or Base64 encoding fails.\n *\n * @internal\n */\n private static compressAndEncode(payload: string): string {\n const compressedPayload = gzipSync(strToU8(payload));\n // 2. Convert binary data to base64 string\n return window.btoa(\n Array.from(compressedPayload)\n .map((byte) => String.fromCharCode(byte))\n .join(''),\n );\n }\n\n /**\n * Decodes a Base64-encoded string and decompresses the resulting binary data using GZIP.\n *\n *

This method performs the following steps:\n *

    \n *
  1. Decodes the Base64-encoded string into binary data.
  2. \n *
  3. Decompresses the binary data using GZIP.
  4. \n *
\n *\n * @param payload The Base64-encoded string representing compressed data.\n * @returns The decompressed string.\n * @throws Error If decoding or decompression fails.\n *\n * @internal\n */\n private static decodeAndDecompress(payload: string): string {\n // 1. Decode the Base64 string to binary (ArrayBuffer) and convert to Uint8Array\n const binaryData = Uint8Array.from(window.atob(payload), (char) => char.charCodeAt(0));\n // 2. Decompress using fflate\n return strFromU8(gunzipSync(binaryData));\n }\n\n /**\n * Checks whether the WebSocket/STOMP connection is currently established.\n *\n * @returns `true` if the connection is active; otherwise, `false`.\n */\n public isConnected(): boolean {\n return this.rxStomp?.connected() ?? false;\n }\n\n /**\n * Close the WebSocket/STOMP connection.\n *\n * This method:\n * - deactivates the underlying {@link RxStomp} client (if any),\n * - clears the internal `rxStomp` reference, and\n * - updates {@link connectionStateInternal} to reflect an intentional disconnect.\n *\n * @remarks\n * This is typically invoked for use cases such as logout or application teardown. After calling this, any further {@link send} or {@link subscribe}\n * calls will behave as if no connection exists. A subsequent call to {@link connect} or a lazy `subscribe` will create a new connection.\n */\n disconnect(): void {\n if (this.rxStomp) {\n void this.rxStomp.deactivate();\n this.connectionStateSubscription?.unsubscribe();\n this.rxStomp = undefined;\n if (this.connectionStateInternal.getValue().connected) {\n // we do not want to show a disconnected state if the disconnect was intentional\n this.connectionStateInternal.next(new ConnectionState(false, false));\n }\n this.wasConnectedOnce = false;\n this.sessionId = '';\n this.subscriptionCounter = 0;\n // The connection is gone, so the cached per-destination streams belong to a session that no longer\n // exists and must not be handed to a caller that subscribes after a reconnect.\n this.sharedChannelObservables.clear();\n }\n }\n\n /**\n * Send data through the WebSocket connection, potentially compressing the payload.\n *\n * Steps:\n * 1. Convert the data into JSON.\n * 2. Compute the payload size.\n * 3. If the payload is larger than 1 KB:\n * - compress it using GZIP,\n * - convert it to a Base64 string,\n * - send it with {@link COMPRESSION_HEADER}.\n * 4. Otherwise, send the uncompressed JSON payload.\n *\n * @typeParam T Type of the payload being sent.\n * @param path STOMP destination (e.g. `/app/some-endpoint`).\n * @param data Data to send through the WebSocket connection.\n *\n * @remarks\n * - If compression fails, the method reports the error and falls back to sending the uncompressed payload.\n * - If the connection is not active, nothing is sent.\n */\n send(path: string, data: T): void {\n if (this.isConnected()) {\n const jsonPayload = JSON.stringify(data);\n const payloadSize = new Blob([jsonPayload]).size; // Measure payload size\n\n if (payloadSize > 1024) {\n try {\n const base64StringPayload = WebsocketService.compressAndEncode(jsonPayload);\n this.rxStomp!.publish({ destination: path, body: base64StringPayload, headers: COMPRESSION_HEADER });\n } catch (error) {\n captureException(error, { extra: { mechanism: 'websocket-compression', message: 'Failed to compress message' } });\n // Send uncompressed payload if an error occurs\n this.rxStomp!.publish({ destination: path, body: jsonPayload, headers: {} });\n }\n } else {\n // Send uncompressed payload\n this.rxStomp!.publish({ destination: path, body: jsonPayload, headers: {} });\n }\n }\n }\n\n /**\n * Subscribe to a channel and receive decoded message payloads as an observable stream.\n *\n * @typeParam T Expected type of the decoded message payload.\n * @param channel STOMP destination (topic) to subscribe to (e.g. `/topic/example`).\n * @returns An {@link Observable} that emits values of type `T`. Returns\n * {@link EMPTY} if `channel` is falsy or if a connection cannot\n * be established.\n *\n * @remarks\n * - Each subscription to the returned observable uses `RxStomp.watch(...)` with specific {@link IWatchParams}, including unique ids to identify the subscription.\n * - When the observable subscription is **unsubscribed**, `RxStomp` will unsubscribe from the corresponding STOMP topic.\n *\n * ## Caller must unsubscribe\n *\n * Components/services that call `subscribe` must ensure they unsubscribe from the observable when it is no longer needed. This is crucial to:\n *\n * - avoid accumulating STOMP subscriptions on the server,\n * - prevent memory leaks,\n * - prevent messages being delivered to components that no longer exist.\n *\n * See the examples in {@link IWebsocketService.subscribe}.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any -- default kept as `any` (not `unknown`) so callers that omit the type argument and pass a callback with a concrete payload type (e.g. notification/course-notification-websocket) stay assignable under strictFunctionTypes; those call sites live outside this module and cannot be re-typed here\n subscribe(channel: string): Observable {\n if (!channel) {\n return EMPTY;\n }\n if (!this.rxStomp) {\n this.connect();\n }\n if (!this.rxStomp) {\n return EMPTY;\n }\n const existing = this.sharedChannelObservables.get(channel);\n if (existing) {\n return existing as Observable;\n }\n const rxStomp = this.rxStomp;\n const decode = this.handleIncomingMessage();\n // `share` re-subscribes to its source every time a destination gains its first consumer again, and each of those subscriptions is a new STOMP\n // SUBSCRIBE frame. The server handles the frames of one session concurrently, so the UNSUBSCRIBE of the previous subscription can arrive after the\n // SUBSCRIBE of the next one. With an id that is reused, the broker rejects that SUBSCRIBE as a duplicate and closes the connection. Therefore every\n // actual subscription gets a fresh id, taken when the watch is opened and not once per destination.\n const shared = defer(() => rxStomp.watch(this.createWatchParams(channel))).pipe(\n // Drop a frame that cannot be decoded instead of letting it error the stream. All consumers of a\n // destination share one subscription, so an error would disconnect every one of them (and, because\n // `share` resets on error, silently leave them without a subscription) over a single bad message.\n // The failure itself is still reported inside the decoder.\n mergeMap((message) => {\n try {\n return of(decode(message));\n } catch {\n return EMPTY;\n }\n }),\n // One STOMP subscription for all consumers of this destination; it is unsubscribed once the last of\n // them leaves and re-established when a consumer returns.\n share({ resetOnRefCountZero: true }),\n );\n // Kept for the lifetime of the connection rather than dropped when the last consumer leaves. Callers may hold\n // on to the returned observable and resubscribe later (IrisSearchAnswerService does exactly that), and such a\n // resubscription would not put the entry back. A concurrent fresh subscribe() would then open a second watch\n // for a destination that is already subscribed, which is the broker error this cache exists to prevent.\n this.sharedChannelObservables.set(channel, shared);\n return shared;\n }\n\n /**\n * The parameters of one STOMP subscription to a destination, with an id that no other subscription of this connection has used.\n */\n private createWatchParams(channel: string): IWatchParams {\n return { destination: channel, subHeaders: { id: this.sessionId + '-' + this.subscriptionCounter++ } };\n }\n\n /**\n * Lifecycle hook of {@link OnDestroy}.\n *\n * Called by Angular when the service is destroyed (e.g. during application teardown).\n * Delegates to {@link disconnect} to cleanly close the WebSocket/STOMP connection.\n */\n ngOnDestroy(): void {\n this.disconnect();\n }\n\n /**\n * Parses a JSON string into an object of the specified generic type.\n *\n * This method attempts to parse the provided JSON string. If parsing fails,\n * it returns the input string cast to the specified type. This can be useful\n * for handling cases where the response might not always be a valid JSON string.\n *\n * @typeParam T The type of the object to return after parsing.\n * @param response The JSON string to be parsed.\n * @returns The parsed object of the specified type, or the input string cast to the type if parsing fails.\n */\n private static parseJSON(response: string): T {\n try {\n return parseJson(response);\n } catch {\n return response as T;\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/a354f1e34620da2ba3c33ed1a1c2c3d937f9cccb.json b/web/public/bundles/artemis/code/a354f1e34620da2ba3c33ed1a1c2c3d937f9cccb.json new file mode 100644 index 00000000..76d533f0 --- /dev/null +++ b/web/public/bundles/artemis/code/a354f1e34620da2ba3c33ed1a1c2c3d937f9cccb.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a354f1e34620da2ba3c33ed1a1c2c3d937f9cccb", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/domain/ApollonDiagram.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.modeling.domain;\n\nimport jakarta.persistence.Column;\nimport jakarta.persistence.Entity;\nimport jakarta.persistence.EnumType;\nimport jakarta.persistence.Enumerated;\nimport jakarta.persistence.Table;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.core.domain.AggregateRoot;\nimport de.tum.cit.aet.artemis.core.domain.DomainObject;\n\n/**\n * An ApollonDiagram.\n */\n@Entity\n@Table(name = \"apollon_diagram\")\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\n@AggregateRoot(\"Stores a course id as a plain column with no foreign key.\")\npublic class ApollonDiagram extends DomainObject {\n\n @Column(name = \"title\")\n private String title;\n\n @Column(name = \"json_representation\")\n private String jsonRepresentation;\n\n @Enumerated(EnumType.STRING)\n @Column(name = \"diagram_type\")\n private DiagramType diagramType;\n\n @Column(name = \"course_id\")\n private Long courseId;\n\n public String getTitle() {\n return title;\n }\n\n public void setTitle(String title) {\n this.title = title;\n }\n\n public String getJsonRepresentation() {\n return jsonRepresentation;\n }\n\n public void setJsonRepresentation(String jsonRepresentation) {\n this.jsonRepresentation = jsonRepresentation;\n }\n\n public DiagramType getDiagramType() {\n return diagramType;\n }\n\n public void setDiagramType(DiagramType diagramType) {\n this.diagramType = diagramType;\n }\n\n public Long getCourseId() {\n return courseId;\n }\n\n public void setCourseId(Long courseId) {\n this.courseId = courseId;\n }\n\n @Override\n public String toString() {\n return \"ApollonDiagram{\" + \"id=\" + getId() + \", title='\" + getTitle() + \"'\" + \", jsonRepresentation='\" + getJsonRepresentation() + \"'\" + \"}\";\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/a4017e35d0c6c744e203a36660c553bc3c066abe.json b/web/public/bundles/artemis/code/a4017e35d0c6c744e203a36660c553bc3c066abe.json new file mode 100644 index 00000000..d5afa151 --- /dev/null +++ b/web/public/bundles/artemis/code/a4017e35d0c6c744e203a36660c553bc3c066abe.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a4017e35d0c6c744e203a36660c553bc3c066abe", + "language": "typescript", + "path": "src/main/webapp/app/exam/manage/exam-scores/exam-score-dtos.model.ts", + "schema": "codexray.code/1", + "text": "import { ExerciseType } from 'app/exercise/shared/entities/exercise/exercise.model';\nimport { GradeType } from 'app/assessment/shared/entities/grading-scale.model';\nimport { StudentExam } from 'app/exam/shared/entities/student-exam.model';\nimport { BonusResult } from 'app/assessment/shared/entities/bonus.model';\nimport { PlagiarismVerdict } from 'app/plagiarism/shared/entities/PlagiarismVerdict';\n\nexport interface ExamScoreDTO {\n examId: number;\n title: string;\n maxPoints: number;\n averagePointsAchieved: number;\n hasSecondCorrectionAndStarted: boolean;\n exerciseGroups: ExerciseGroup[];\n studentResults: StudentResult[];\n}\n\n/**\n * Instantiated in tests via `new ExerciseGroup()` and populated after construction, hence a class with\n * definite-assignment (!) markers rather than an interface.\n */\nexport class ExerciseGroup {\n public id!: number;\n public title!: string;\n public maxPoints!: number;\n public numberOfParticipants!: number;\n public containedExercises!: ExerciseInfo[];\n}\n\nexport interface ExerciseInfo {\n exerciseId: number;\n title: string;\n maxPoints: number;\n numberOfParticipants: number;\n exerciseType: string;\n}\n\nexport interface StudentResult {\n userId: number;\n name: string;\n login: string;\n email: string;\n registrationNumber: string;\n /** Actual score denominator of this test-exam attempt. Real exams use the exam maximum. */\n maxPoints?: number;\n overallPointsAchieved?: number;\n overallScoreAchieved?: number;\n overallPointsAchievedInFirstCorrection?: number;\n overallGrade?: string;\n overallGradeInFirstCorrection?: string;\n hasPassed?: boolean;\n submitted: boolean;\n gradeWithBonus?: BonusResult;\n exerciseGroupIdToExerciseResult: { [key: number]: ExerciseResult };\n mostSeverePlagiarismVerdict?: PlagiarismVerdict;\n}\n\n/** Instantiated and/or deserialized from server data; fields are populated after construction, hence the definite-assignment (!) markers. */\nexport class StudentExamWithGradeDTO {\n /** Submitted automatic programming exercises whose build result is still pending. */\n public pendingExerciseIds?: number[];\n public maxPoints!: number;\n public maxBonusPoints!: number;\n public gradeType?: GradeType;\n public studentExam?: StudentExam;\n public studentResult!: StudentResult;\n public achievedPointsPerExercise!: { [exerciseId: number]: number };\n}\n\nexport interface ExerciseResult {\n exerciseId: number;\n title: string;\n maxScore: number;\n achievedScore?: number;\n achievedPoints?: number;\n hasNonEmptySubmission: boolean;\n}\n\n/** Instantiated and/or deserialized from server data; fields are populated after construction, hence the definite-assignment (!) markers. */\nexport class AggregatedExamResult {\n public meanPointsPassed?: number;\n public meanPointsRelativePassed?: number;\n public meanPointsSubmitted!: number;\n public meanPointsRelativeSubmitted!: number;\n public meanPointsTotal!: number;\n public meanPointsRelativeTotal!: number;\n public meanPointsNonEmpty!: number;\n public meanScoreNonEmpty!: number;\n public meanPointsSubmittedAndNonEmpty!: number;\n public meanScoreSubmittedAndNonEmpty!: number;\n public meanGradePassed?: string;\n public meanGradeSubmitted?: string;\n public meanGradeTotal?: string;\n public meanGradeNonEmpty?: string;\n public meanGradeSubmittedAndNonEmpty?: string;\n public medianPassed?: number;\n public medianRelativePassed?: number;\n public medianSubmitted!: number;\n public medianRelativeSubmitted!: number;\n public medianTotal!: number;\n public medianRelativeTotal!: number;\n public medianNonEmpty!: number;\n public medianScoreNonEmpty!: number;\n public medianSubmittedAndNonEmpty!: number;\n public medianScoreSubmittedAndNonEmpty!: number;\n public medianGradePassed?: string;\n public medianGradeSubmitted?: string;\n public medianGradeTotal?: string;\n public medianGradeNonEmpty?: string;\n public medianGradeSubmittedAndNonEmpty?: string;\n public standardDeviationPassed?: number;\n public standardDeviationSubmitted!: number;\n public standardDeviationTotal!: number;\n public standardDeviationNonEmpty!: number;\n public standardDeviationSubmittedAndNonEmpty!: number;\n public standardGradeDeviationPassed?: number;\n public standardGradeDeviationSubmitted?: number;\n public standardGradeDeviationTotal?: number;\n public standardGradeDeviationNonEmpty?: number;\n public standardGradeDeviationSubmittedAndNonEmpty?: number;\n public noOfExamsFilteredForPassed = 0;\n public noOfExamsSubmitted = 0;\n public noOfExamsNonEmpty = 0;\n public noOfExamsSubmittedAndNotEmpty = 0;\n public noOfRegisteredUsers = 0;\n\n // same for first correction round\n public meanPointsPassedInFirstCorrection?: number;\n public meanPointsRelativePassedInFirstCorrection?: number;\n public meanPointsInFirstCorrection!: number;\n public meanPointsRelativeInFirstCorrection!: number;\n public meanPointsTotalInFirstCorrection!: number;\n public meanPointsRelativeTotalInFirstCorrection!: number;\n public meanPointsNonEmptyInFirstCorrection!: number;\n public meanScoreNonEmptyInFirstCorrection!: number;\n public meanPointsSubmittedAndNonEmptyInFirstCorrection!: number;\n public meanScoreSubmittedAndNonEmptyInFirstCorrection!: number;\n public meanGradePassedInFirstCorrection?: string;\n public meanGradeInFirstCorrection?: string;\n public meanGradeTotalInFirstCorrection?: string;\n public meanGradeNonEmptyInFirstCorrection?: string;\n public meanGradeSubmittedAndNonEmptyInFirstCorrection?: string;\n public medianPassedInFirstCorrection?: number;\n public medianRelativePassedInFirstCorrection?: number;\n public medianInFirstCorrection!: number;\n public medianRelativeInFirstCorrection!: number;\n public medianTotalInFirstCorrection!: number;\n public medianRelativeTotalInFirstCorrection!: number;\n public medianNonEmptyInFirstCorrection!: number;\n public medianScoreNonEmptyInFirstCorrection!: number;\n public medianSubmittedAndNonEmptyInFirstCorrection!: number;\n public medianScoreSubmittedAndNonEmptyInFirstCorrection!: number;\n public medianGradePassedInFirstCorrection?: string;\n public medianGradeInFirstCorrection?: string;\n public medianGradeTotalInFirstCorrection?: string;\n public medianGradeNonEmptyInFirstCorrection?: string;\n public medianGradeSubmittedAndNonEmptyInFirstCorrection?: string;\n public standardDeviationPassedInFirstCorrection?: number;\n public standardDeviationInFirstCorrection!: number;\n public standardDeviationTotalInFirstCorrection!: number;\n public standardDeviationNonEmptyInFirstCorrection!: number;\n public standardDeviationSubmittedAndNonEmptyInFirstCorrection!: number;\n public standardGradeDeviationPassedInFirstCorrection?: number;\n public standardGradeDeviationInFirstCorrection?: number;\n public standardGradeDeviationTotalInFirstCorrection?: number;\n public standardGradeDeviationNonEmptyInFirstCorrection?: number;\n public standardGradeDeviationSubmittedAndNonEmptyInFirstCorrection?: number;\n}\n\n/** Instantiated and/or deserialized from server data; fields are populated after construction, hence the definite-assignment (!) markers. */\nexport class AggregatedExerciseGroupResult {\n public exerciseGroupId: number;\n public title: string;\n public maxPoints: number;\n public totalParticipants: number;\n public noOfParticipantsWithFilter = 0;\n /** Only completed numeric exercise results contribute to the average denominator. */\n public noOfScoredParticipantsWithFilter = 0;\n public totalPoints = 0;\n public averagePoints?: number;\n public averagePercentage?: number;\n public averageGrade?: string;\n public exerciseResults: AggregatedExerciseResult[] = [];\n\n constructor(exerciseGroupId: number, title: string, maxPoints: number, totalParticipants: number) {\n this.exerciseGroupId = exerciseGroupId;\n this.title = title;\n this.maxPoints = maxPoints;\n this.totalParticipants = totalParticipants;\n }\n}\n\n/** Instantiated and/or deserialized from server data; fields are populated after construction, hence the definite-assignment (!) markers. */\nexport class AggregatedExerciseResult {\n public exerciseId: number;\n public title: string;\n public maxPoints: number;\n public exerciseType: ExerciseType;\n public totalParticipants: number;\n public noOfParticipantsWithFilter = 0;\n /** Only completed numeric exercise results contribute to the average denominator. */\n public noOfScoredParticipantsWithFilter = 0;\n public totalPoints = 0;\n public averagePoints?: number;\n public averagePercentage?: number;\n\n constructor(exerciseId: number, title: string, maxPoints: number, totalParticipants: number, exerciseType: ExerciseType) {\n this.exerciseId = exerciseId;\n this.title = title;\n this.maxPoints = maxPoints;\n this.totalParticipants = totalParticipants;\n this.exerciseType = exerciseType;\n }\n}\n\n/** Instantiated and/or deserialized from server data; fields are populated after construction, hence the definite-assignment (!) markers. */\nexport class TableState {\n relativeAmountOfPassedExams!: string;\n relativeAmountOfSubmittedExams!: string;\n absoluteAmountOfSubmittedExams!: number;\n absoluteAmountOfTotalExams!: number;\n\n averageScoreSubmitted!: string;\n averageScoreTotal!: string;\n averageScoreSubmittedInFirstCorrection!: string;\n averageScoreTotalInFirstCorrection!: string;\n averagePointsSubmitted!: string;\n averagePointsTotal!: string;\n averagePointsSubmittedInFirstCorrection!: string;\n averagePointsTotalInFirstCorrection!: string;\n\n averageGradeSubmitted!: string;\n averageGradeTotal!: string;\n averageGradeSubmittedInFirstCorrection!: string;\n averageGradeTotalInFirstCorrection!: string;\n\n medianScoreSubmitted!: string;\n medianScoreTotal!: string;\n medianScoreSubmittedInFirstCorrection!: string;\n medianScoreTotalInFirstCorrection!: string;\n medianPointsSubmitted!: string;\n medianPointsTotal!: string;\n medianPointsSubmittedInFirstCorrection!: string;\n medianPointsTotalInFirstCorrection!: string;\n\n medianGradeSubmitted!: string;\n medianGradeTotal!: string;\n medianGradeSubmittedInFirstCorrection!: string;\n medianGradeTotalInFirstCorrection!: string;\n\n standardDeviationSubmitted!: string;\n standardDeviationTotal!: string;\n standardDeviationSubmittedInFirstCorrection!: string;\n standardDeviationTotalInFirstCorrection!: string;\n\n standardGradeDeviationSubmitted!: string;\n standardGradeDeviationTotal!: string;\n standardGradeDeviationSubmittedInFirstCorrection!: string;\n standardGradeDeviationTotalInFirstCorrection!: string;\n}\n" +} diff --git a/web/public/bundles/artemis/code/a561f8892112ee0fe6ce574157e89e3f2164e3d5.json b/web/public/bundles/artemis/code/a561f8892112ee0fe6ce574157e89e3f2164e3d5.json new file mode 100644 index 00000000..39608d96 --- /dev/null +++ b/web/public/bundles/artemis/code/a561f8892112ee0fe6ce574157e89e3f2164e3d5.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a561f8892112ee0fe6ce574157e89e3f2164e3d5", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/dto/PresentationAssessmentStudentDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.assessment.dto;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\n\n/** Minimal identity information for an assigned presenter. */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record PresentationAssessmentStudentDTO(String login, String name, String firstName, String lastName, String email) {\n\n public PresentationAssessmentStudentDTO(String login, String firstName, String lastName, String email) {\n this(login, User.displayName(firstName, lastName, login), firstName, lastName, email);\n }\n\n public static PresentationAssessmentStudentDTO of(User student) {\n return new PresentationAssessmentStudentDTO(student.getLogin(), student.getName(), student.getFirstName(), student.getLastName(), student.getEmail());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/a56d14d0c36c3d8739966b96acb7af1de7ae8125.json b/web/public/bundles/artemis/code/a56d14d0c36c3d8739966b96acb7af1de7ae8125.json new file mode 100644 index 00000000..868e4b59 --- /dev/null +++ b/web/public/bundles/artemis/code/a56d14d0c36c3d8739966b96acb7af1de7ae8125.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a56d14d0c36c3d8739966b96acb7af1de7ae8125", + "language": "typescript", + "path": "src/main/webapp/app/assessment/shared/entities/feedback.model.ts", + "schema": "codexray.code/1", + "text": "import { BaseEntity } from 'app/foundation/model/base-entity';\nimport { Result } from 'app/exercise/shared/entities/result/result.model';\nimport { TextBlock } from 'app/text/shared/entities/text-block.model';\nimport { GradingInstruction } from 'app/exercise/structured-grading-criterion/grading-instruction.model';\nimport { convertToHtmlLinebreaks, escapeString } from 'app/foundation/util/text.utils';\nimport { ProgrammingExerciseTestCase, Visibility } from 'app/programming/shared/entities/programming-exercise-test-case.model';\nimport { GradingInstructionDTO } from 'app/exercise/shared/exercise-update-shared-dto.model';\nimport { hydrate } from 'app/foundation/util/deep-clone.util';\n\nexport enum FeedbackHighlightColor {\n RED = 'rgba(219, 53, 69, 0.6)',\n // Apollon paints this behind an element's own white body, so a low alpha washed out to nothing on the canvas.\n CYAN = 'rgba(23, 162, 184, 0.6)',\n BLUE = 'rgba(0, 123, 255, 0.6)',\n YELLOW = 'rgba(255, 193, 7, 0.6)',\n GREEN = 'rgba(40, 167, 69, 0.6)',\n}\n\n/** The bound the server enforces on the points of a feedback the assessor gives. */\nexport const MAX_MANUAL_CREDITS = 100;\n\nexport enum FeedbackType {\n AUTOMATIC = 'AUTOMATIC',\n MANUAL = 'MANUAL',\n MANUAL_UNREFERENCED = 'MANUAL_UNREFERENCED',\n AUTOMATIC_ADAPTED = 'AUTOMATIC_ADAPTED',\n}\n\nexport enum FeedbackSuggestionType {\n NO_SUGGESTION = 'NO_SUGGESTION', // No suggestion at all\n SUGGESTED = 'SUGGESTED', // Suggestion is made, but not accepted yet\n ACCEPTED = 'ACCEPTED', // Suggestion is accepted\n ADAPTED = 'ADAPTED', // Suggestion is accepted and then modified by the assessor\n}\n\n// Prefixes for the feedback text to identify the feedback type more specifically without having to change the database schema:\nexport const STATIC_CODE_ANALYSIS_FEEDBACK_IDENTIFIER = 'SCAFeedbackIdentifier:';\nexport const SUBMISSION_POLICY_FEEDBACK_IDENTIFIER = 'SubPolFeedbackIdentifier:';\nexport const FEEDBACK_SUGGESTION_IDENTIFIER = 'FeedbackSuggestion:';\nexport const FEEDBACK_SUGGESTION_ACCEPTED_IDENTIFIER = 'FeedbackSuggestion:accepted:';\nexport const FEEDBACK_SUGGESTION_ADAPTED_IDENTIFIER = 'FeedbackSuggestion:adapted:';\nexport const NON_GRADED_FEEDBACK_SUGGESTION_IDENTIFIER = 'NonGradedFeedbackSuggestion:';\n\nexport interface DropInfo {\n instruction: GradingInstruction;\n}\n\n/**\n * Possible tutor feedback states upon validation from the server.\n */\nexport enum FeedbackCorrectionErrorType {\n INCORRECT_SCORE = 'INCORRECT_SCORE',\n UNNECESSARY_FEEDBACK = 'UNNECESSARY_FEEDBACK',\n MISSING_GRADING_INSTRUCTION = 'MISSING_GRADING_INSTRUCTION',\n INCORRECT_GRADING_INSTRUCTION = 'INCORRECT_GRADING_INSTRUCTION',\n EMPTY_NEGATIVE_FEEDBACK = 'EMPTY_NEGATIVE_FEEDBACK',\n}\n\n/**\n * Wraps the information returned by the server upon validating tutor feedbacks.\n */\nexport interface FeedbackCorrectionError {\n // Corresponds to `Feedback.reference`. Reference to the assessed element.\n reference: string;\n\n // The correction type of the corresponding feedback.\n type: FeedbackCorrectionErrorType;\n}\n\nexport type FeedbackCorrectionStatus = FeedbackCorrectionErrorType | 'CORRECT';\n\n/** Instantiated and/or deserialized from server data; fields are populated after construction, hence the definite-assignment (!) markers. */\nexport class Feedback implements BaseEntity {\n public id?: number;\n public gradingInstruction?: GradingInstruction;\n public text?: string;\n public detailText?: string;\n public hasLongFeedbackText?: boolean;\n public reference?: string;\n public credits?: number;\n public type?: FeedbackType;\n public result?: Result;\n public positive?: boolean;\n public testCase?: ProgrammingExerciseTestCase;\n\n // Specifies whether the tutor feedback is correct relative to the instructor feedback (during tutor training) or if there is a validation error.\n // Client only property.\n public correctionStatus?: FeedbackCorrectionStatus;\n\n // helper attributes for modeling exercise assessments stored in Feedback\n public referenceType?: string; // this string needs to follow UMLModelElementType in Apollon in typings.d.ts\n public referenceId?: string;\n\n public copiedFeedbackId?: number; // helper attribute, only calculated locally on the client\n\n public isSubsequent?: boolean; // helper attribute to find feedback which is not included in the total score on the client\n\n private static readonly PROGRAMMING_REFERENCE_PREFIX = 'file:';\n private static readonly PROGRAMMING_REFERENCE_LINE_SEPERATOR = '_line:';\n\n constructor() {\n this.credits = 0;\n }\n\n public static isTestCaseFeedback(feedback: Feedback): boolean {\n if (feedback.type !== FeedbackType.AUTOMATIC) {\n return false;\n }\n return !!feedback.testCase;\n }\n\n public static isStaticCodeAnalysisFeedback(that: Feedback): boolean {\n if (!that.text) {\n return false;\n }\n return that.type === FeedbackType.AUTOMATIC && that.text.startsWith(STATIC_CODE_ANALYSIS_FEEDBACK_IDENTIFIER);\n }\n\n public static isSubmissionPolicyFeedback(that: Feedback): boolean {\n if (!that.text) {\n return false;\n }\n return that.type === FeedbackType.AUTOMATIC && that.text.startsWith(SUBMISSION_POLICY_FEEDBACK_IDENTIFIER);\n }\n\n public static isFeedbackSuggestion(that: Feedback | string | undefined): boolean {\n const text = typeof that === 'object' ? that.text : that;\n if (!text) {\n return false;\n }\n return text.startsWith(FEEDBACK_SUGGESTION_IDENTIFIER);\n }\n\n public static isNonGradedFeedbackSuggestion(that: Feedback): boolean {\n if (!that.text) {\n return false;\n }\n return that.text.startsWith(NON_GRADED_FEEDBACK_SUGGESTION_IDENTIFIER);\n }\n\n /**\n * Determine the type of the feedback suggestion. See FeedbackSuggestionType for more details on the meanings.\n * @param that feedback (or its bare `text`) to determine the type of\n */\n public static getFeedbackSuggestionType(that: Feedback | string | undefined): FeedbackSuggestionType {\n if (!Feedback.isFeedbackSuggestion(that)) {\n return FeedbackSuggestionType.NO_SUGGESTION;\n }\n // guaranteed to be defined here because isFeedbackSuggestion returned true, which requires non-empty text\n const text = typeof that === 'object' ? that.text! : that!;\n if (text.startsWith(FEEDBACK_SUGGESTION_ADAPTED_IDENTIFIER)) {\n return FeedbackSuggestionType.ADAPTED;\n }\n if (text.startsWith(FEEDBACK_SUGGESTION_ACCEPTED_IDENTIFIER)) {\n return FeedbackSuggestionType.ACCEPTED;\n }\n return FeedbackSuggestionType.SUGGESTED;\n }\n\n /**\n * Strips the internal `FeedbackSuggestion:(suggested|accepted|adapted):` marker off a feedback's `text`, if\n * present. That marker exists only to tag the suggestion state in the database `text` column without a schema\n * change; it must never reach a tutor or a student as literal text.\n */\n public static stripSuggestionPrefix(text: string): string {\n for (const prefix of [FEEDBACK_SUGGESTION_ADAPTED_IDENTIFIER, FEEDBACK_SUGGESTION_ACCEPTED_IDENTIFIER, FEEDBACK_SUGGESTION_IDENTIFIER]) {\n if (text.startsWith(prefix)) {\n return text.slice(prefix.length);\n }\n }\n return text;\n }\n\n /**\n * Rewrites an accepted feedback suggestion's `text` prefix to adapted, leaving everything else unchanged. A\n * suggestion transitions to adapted the moment it is edited in any way; every other state (already adapted,\n * not a suggestion, or the unreachable bare \"suggested\") is returned as-is. This is a one-way, sticky\n * transition - it never reverts even if the edit is undone later.\n */\n public static markAdaptedIfAcceptedSuggestion(text: string): string {\n if (!text.startsWith(FEEDBACK_SUGGESTION_ACCEPTED_IDENTIFIER)) {\n return text;\n }\n return `${FEEDBACK_SUGGESTION_ADAPTED_IDENTIFIER}${text.slice(FEEDBACK_SUGGESTION_ACCEPTED_IDENTIFIER.length)}`;\n }\n\n public static hasDetailText(that: Feedback): boolean {\n return that.detailText != undefined && that.detailText.length > 0;\n }\n\n public static hasContent(that: Feedback): boolean {\n // if the feedback is associated with the grading instruction, the detail text is optional\n return Feedback.hasDetailText(that) || !!that.gradingInstruction?.feedback;\n }\n\n /**\n * Checks for equality of two feedbacks. Only checking the ids is not enough because they are undefined for inline\n * feedbacks before they are saved.\n * @param f1 The feedback that is compared to f2\n * @param f2 The feedback that is compared to f1\n */\n public static areIdentical(f1: Feedback, f2: Feedback) {\n return f1.id === f2.id && f1.text === f2.text && f1.detailText === f2.detailText;\n }\n\n /**\n * Get the referenced file path for referenced programming feedbacks, or undefined.\n * Typical reference format for programming feedback: `file:src/com/example/package/MyClass.java_line:13`.\n * Example output in this case: `src/com/example/package/MyClass.java`\n */\n public static getReferenceFilePath(feedback: Feedback): string | undefined {\n if (!feedback.reference?.startsWith(this.PROGRAMMING_REFERENCE_PREFIX)) {\n // Find \"file:\" prefix\n // No programming feedback\n return undefined;\n }\n const indexOfLine = feedback.reference?.lastIndexOf(this.PROGRAMMING_REFERENCE_LINE_SEPERATOR);\n return feedback.reference.substring(this.PROGRAMMING_REFERENCE_PREFIX.length, indexOfLine); // Split after \"_line:\"\n }\n\n /**\n * Get the referenced line for referenced programming feedbacks, or undefined.\n * Typical reference format for programming feedback: `file:src/com/example/package/MyClass.java_line:13`.\n * Example output in this case: 13\n */\n public static getReferenceLine(feedback: Feedback): number | undefined {\n return Feedback.getReferenceLineRange(feedback)?.start;\n }\n\n /**\n * Get the referenced line range for referenced programming feedbacks, or undefined.\n * Typical reference format for programming feedback: `file:src/com/example/package/MyClass.java_line:13-15`.\n * Example output in this case: `{ start: 13, end: 15 }`\n *\n * Line 0 is a valid line: the online code editor stores the line of an inline feedback 0-based, so a feedback on the\n * first line of a file has the reference `file:_line:0`.\n */\n public static getReferenceLineRange(feedback: Feedback): { start: number; end: number } | undefined {\n if (!feedback.reference?.startsWith(this.PROGRAMMING_REFERENCE_PREFIX)) {\n // Find \"file:\" prefix\n // No programming feedback\n return undefined;\n }\n const indexOfLine = feedback.reference.lastIndexOf(this.PROGRAMMING_REFERENCE_LINE_SEPERATOR); // Split before \"_line:\"\n const filePath = feedback.reference.substring(this.PROGRAMMING_REFERENCE_PREFIX.length, indexOfLine);\n if (indexOfLine <= this.PROGRAMMING_REFERENCE_PREFIX.length || !filePath.trim()) {\n return undefined;\n }\n // The pattern only admits non-negative integers, so there is no lower bound to check beyond it\n const lineRange = feedback.reference.substring(indexOfLine + this.PROGRAMMING_REFERENCE_LINE_SEPERATOR.length).match(/^(\\d+)(?:-(\\d+))?$/);\n if (!lineRange) {\n return undefined;\n }\n const start = Number(lineRange[1]);\n const end = Number(lineRange[2] ?? lineRange[1]);\n if (end < start) {\n return undefined;\n }\n return { start, end };\n }\n\n /**\n * Feedback is empty if it has 0 credits and the comment is empty.\n * @param that\n */\n public static isEmpty(that: Feedback): boolean {\n return !that.credits && !Feedback.hasContent(that);\n }\n\n /**\n * Feedback is present if it has non 0 credits, a comment, or both.\n * @param that\n */\n public static isPresent(that: Feedback): boolean {\n return !Feedback.isEmpty(that);\n }\n\n public static hasCreditsAndComment(that: Feedback): boolean {\n return that.credits != undefined && Feedback.hasContent(that);\n }\n\n public static haveCredits(that: Feedback[]): boolean {\n return that.filter(Feedback.hasCredits).length > 0 && that.filter(Feedback.hasCredits).length === that.length;\n }\n\n public static hasCredits(that: Feedback): boolean {\n return that.credits != undefined;\n }\n\n public static haveCreditsAndComments(that: Feedback[]): boolean {\n return that.filter(Feedback.hasCreditsAndComment).length > 0 && that.filter(Feedback.hasCreditsAndComment).length === that.length;\n }\n\n /**\n * Checks that every feedback the assessor gives has points the server accepts (Feedback.MAX_MANUAL_CREDITS on the server). A feedback linked to a grading instruction\n * takes the points of the instruction, and an automatic feedback is not given by the assessor, so neither is checked here.\n * @param that the feedback of the assessment\n */\n public static haveCreditsInBounds(that: Feedback[] | undefined): boolean {\n return (that ?? []).every(\n (feedback) =>\n feedback.credits === undefined ||\n feedback.gradingInstruction !== undefined ||\n feedback.type === FeedbackType.AUTOMATIC ||\n (Number.isFinite(feedback.credits) && Math.abs(feedback.credits) <= MAX_MANUAL_CREDITS),\n );\n }\n\n public static forModeling(credits: number, text?: string, referenceId?: string, referenceType?: string, dropInfo?: DropInfo): Feedback {\n const that = new Feedback();\n that.referenceId = referenceId;\n that.referenceType = referenceType;\n that.credits = credits;\n that.text = text;\n // Apollon stores the GradingInstruction flat on dropInfo (not nested under dropInfo.instruction)\n // Support both: dropInfo.instruction.id (expected shape) and dropInfo.id (actual Apollon shape)\n const flatDropInfo = dropInfo as (GradingInstruction & { instruction?: GradingInstruction }) | undefined;\n const instruction = flatDropInfo?.instruction ?? (flatDropInfo?.id ? flatDropInfo : undefined);\n if (instruction?.id) {\n that.gradingInstruction = instruction;\n }\n if (referenceType && referenceId) {\n that.reference = referenceType + ':' + referenceId;\n }\n return that;\n }\n\n public static forText(textBlock: TextBlock, credits = 0, detailText?: string): Feedback {\n const that = new Feedback();\n that.reference = textBlock.id;\n that.credits = credits;\n that.detailText = detailText;\n\n // Delete unused properties\n that.referenceId = undefined;\n that.referenceType = undefined;\n that.text = undefined;\n that.positive = undefined;\n\n return that;\n }\n\n public static fromServerResponse(response: Feedback): Feedback {\n return hydrate(new Feedback(), response);\n }\n}\n\n/**\n * Helper method to build the feedback text for the review. When the feedback has a link with grading instruction\n * it merges the feedback of the grading instruction with the feedback text provided by the assessor. Otherwise,\n * it returns the detailed text and/or text properties of the feedback depending on the submission element.\n *\n * An AI feedback suggestion's `text` is never included: it always holds just the suggestion's short title (tagged\n * with the internal `FeedbackSuggestion:...` marker), which is redundant with the suggestion's own `detailText`.\n * That title is shown separately: in the editable unified feedback editor's own title field, in the \"name · title\"\n * heading of the read-only feedback item, and for modeling exercises in the title of Apollon's assessment box (see\n * `ModelingAssessmentComponent`, which also writes an assessor's description edits into `detailText`). Dropping it\n * here only avoids showing it twice.\n *\n * @param feedback that contains feedback text and grading instruction\n * @param addFeedbackText if the (non-suggestion) text of the feedback should be part of the resulting text.\n * Defaults to true. The detailText of the feedback is always added if present.\n * @returns formatted string representing the feedback text ready to display\n */\nexport const buildFeedbackTextForReview = (feedback: Feedback, addFeedbackText = true): string => {\n const includeText = addFeedbackText && !!feedback.text && !Feedback.isFeedbackSuggestion(feedback);\n let feedbackText = '';\n if (feedback.gradingInstruction?.feedback) {\n feedbackText = feedback.gradingInstruction.feedback;\n if (feedback.detailText) {\n feedbackText = feedbackText + '\\n' + feedback.detailText;\n }\n if (includeText) {\n feedbackText = feedbackText + '\\n' + feedback.text;\n }\n } else if (feedback.detailText) {\n feedbackText = feedback.detailText;\n } else if (includeText) {\n feedbackText = feedback.text!;\n }\n\n // escape special characters like \"<\", \">\", \"&\" to render them correctly\n feedbackText = escapeString(feedbackText);\n return convertToHtmlLinebreaks(feedbackText);\n};\n/**\n * Helper method to find subsequent feedback for the review. When the feedback has a link with grading instruction,\n * it keeps the number of how many times the grading instructions are applied. If the usage limit is exceeded for the\n * grading instruction, it marks the feedback as subsequent.\n *\n * @param feedbacks the list of feedbacks\n */\nexport const checkSubsequentFeedbackInAssessment = (feedbacks: Feedback[]) => {\n const encounteredInstructions = new Map(); // instructionId -> number of encounters\n for (const feedback of feedbacks) {\n if (feedback.gradingInstruction) {\n const instructionId = feedback.gradingInstruction.id!;\n const maxCount = feedback.gradingInstruction.usageCount ?? 0; // 0 means unlimited\n const encounters = encounteredInstructions.get(instructionId) ?? 0;\n\n encounteredInstructions.set(instructionId, encounters + 1);\n\n if (maxCount > 0 && encounters >= maxCount) {\n feedback.isSubsequent = true;\n }\n }\n }\n};\n\n/** Count all applications of each persisted grading instruction across an assessment. */\nexport function instructionCountsOf(feedbacks: Feedback[]): ReadonlyMap {\n const counts = new Map();\n for (const feedback of feedbacks) {\n const instructionId = feedback.gradingInstruction?.id;\n if (instructionId !== undefined) {\n counts.set(instructionId, (counts.get(instructionId) ?? 0) + 1);\n }\n }\n return counts;\n}\n\n/**\n * DTO representing feedback returned by the server.\n */\nexport interface FeedbackDTO {\n id?: number;\n text?: string;\n detailText?: string;\n hasLongFeedbackText?: boolean;\n reference?: string;\n credits?: number;\n positive?: boolean;\n type?: FeedbackType;\n visibility?: Visibility;\n testCaseName?: string;\n gradingInstruction?: GradingInstructionDTO;\n}\n\nexport function convertFeedbackFromServer(dto: FeedbackDTO): Feedback {\n const feedback = new Feedback();\n\n feedback.id = dto.id;\n feedback.text = dto.text;\n feedback.detailText = dto.detailText;\n feedback.hasLongFeedbackText = dto.hasLongFeedbackText;\n feedback.reference = dto.reference;\n feedback.credits = dto.credits;\n feedback.positive = dto.positive;\n feedback.type = dto.type;\n feedback.testCase = dto.testCaseName\n ? {\n testName: dto.testCaseName,\n visibility: dto.visibility,\n }\n : undefined;\n if (dto.reference) {\n const split = dto.reference.split(':');\n if (split.length === 2) {\n feedback.referenceType = split[0];\n feedback.referenceId = split[1];\n }\n }\n if (dto.gradingInstruction) {\n const gradingInstruction: Partial = {\n id: dto.gradingInstruction.id,\n feedback: dto.gradingInstruction.feedback,\n credits: dto.gradingInstruction.credits,\n usageCount: dto.gradingInstruction.usageCount,\n instructionDescription: dto.gradingInstruction.instructionDescription,\n gradingScale: dto.gradingInstruction.gradingScale,\n };\n feedback.gradingInstruction = gradingInstruction as GradingInstruction;\n }\n return feedback;\n}\n\nexport function convertFeedbacksFromServer(dtos?: FeedbackDTO[]): Feedback[] {\n return dtos?.map((dto) => convertFeedbackFromServer(dto)) ?? [];\n}\n" +} diff --git a/web/public/bundles/artemis/code/a640d614512e3947adcad753d32cbcf3e8b3cae4.json b/web/public/bundles/artemis/code/a640d614512e3947adcad753d32cbcf3e8b3cae4.json new file mode 100644 index 00000000..f6d2c9be --- /dev/null +++ b/web/public/bundles/artemis/code/a640d614512e3947adcad753d32cbcf3e8b3cae4.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a640d614512e3947adcad753d32cbcf3e8b3cae4", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/core/service/file/FileUploadService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.core.service.file;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\n\nimport java.nio.file.InvalidPathException;\nimport java.nio.file.Path;\nimport java.util.List;\nimport java.util.Optional;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.communication.api.ConversationFileAccessApi;\nimport de.tum.cit.aet.artemis.core.domain.FileUpload;\nimport de.tum.cit.aet.artemis.core.domain.FileUploadEntityType;\nimport de.tum.cit.aet.artemis.core.exception.AccessForbiddenException;\nimport de.tum.cit.aet.artemis.core.repository.FileUploadRepository;\nimport de.tum.cit.aet.artemis.core.service.FileService;\n\n@Lazy\n@Service\n@Profile(PROFILE_CORE)\npublic class FileUploadService {\n\n private static final Logger log = LoggerFactory.getLogger(FileUploadService.class);\n\n private final FileUploadRepository fileUploadRepository;\n\n private final FileService fileService;\n\n private final ConversationFileAccessApi conversationFileAccessApi;\n\n public FileUploadService(FileUploadRepository fileUploadRepository, FileService fileService, ConversationFileAccessApi conversationFileAccessApi) {\n this.fileUploadRepository = fileUploadRepository;\n this.fileService = fileService;\n this.conversationFileAccessApi = conversationFileAccessApi;\n }\n\n /**\n * Checks that the conversation belongs to the course and that the user takes part in it or that it is a course-wide channel.\n *\n * @param courseId the id of the course in the request path\n * @param conversationId the id of the conversation in the request path\n * @param userId the id of the requesting user\n * @throws AccessForbiddenException if the user is not allowed to use the files of the conversation\n */\n public void checkCanAccessConversationFilesElseThrow(long courseId, long conversationId, long userId) {\n conversationFileAccessApi.checkCanAccessConversationFilesElseThrow(courseId, conversationId, userId);\n }\n\n /**\n * Checks that the user may read a file of a conversation, see {@link ConversationFileAccessApi#checkCanReadConversationFileElseThrow}.\n *\n * @param courseId the id of the course in the request path\n * @param conversationId the id of the conversation in the request path\n * @param filename the name of the file in the request path\n * @param user the requesting user\n * @throws AccessForbiddenException if the user is not allowed to read the file\n */\n public void checkCanReadConversationFileElseThrow(long courseId, long conversationId, String filename, User user) {\n conversationFileAccessApi.checkCanReadConversationFileElseThrow(courseId, conversationId, filename, user);\n }\n\n /**\n * Creates a new file upload entity.\n *\n * @param path Url with which the upload is accessed\n * @param serverFilePath file path on the server, used for deletion\n * @param fileName filename that is returned when downloading it\n * @param entityId the id of the attached entity\n * @param entityType type of the entity, to identify\n */\n public void createFileUpload(String path, String serverFilePath, String fileName, Long entityId, FileUploadEntityType entityType) {\n var fileUpload = new FileUpload(path, serverFilePath, fileName, entityId, entityType);\n\n fileUploadRepository.save(fileUpload);\n }\n\n /**\n * Creates a new file upload entity.\n *\n * @param path public path that the file upload is accessed with\n *\n * @return the file upload if found\n */\n public Optional findByPath(String path) {\n return Optional.ofNullable(fileUploadRepository.findFileUploadByPath(path));\n }\n\n /**\n * Creates a new file upload entity.\n *\n * @param fileUploads deletes all these file uploads from the database and from the storage\n */\n public void deleteFileUploads(List fileUploads) {\n for (var fileUpload : fileUploads) {\n try {\n var path = Path.of(fileUpload.getServerFilePath());\n fileService.schedulePathForDeletion(path, 1);\n }\n catch (InvalidPathException e) {\n log.error(\"Deleting the file {} did not work because it does not exist\", fileUpload.getPath());\n }\n }\n\n fileUploadRepository.deleteAll(fileUploads);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/a730aabffde20b56b2527affa36aaf23741faf77.json b/web/public/bundles/artemis/code/a730aabffde20b56b2527affa36aaf23741faf77.json new file mode 100644 index 00000000..26039afe --- /dev/null +++ b/web/public/bundles/artemis/code/a730aabffde20b56b2527affa36aaf23741faf77.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a730aabffde20b56b2527affa36aaf23741faf77", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/core/domain/CalendarSubscriptionTokenStore.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.core.domain;\n\nimport jakarta.persistence.Column;\nimport jakarta.persistence.Entity;\nimport jakarta.persistence.JoinColumn;\nimport jakarta.persistence.OneToOne;\nimport jakarta.persistence.Table;\n\nimport com.fasterxml.jackson.annotation.JsonIgnore;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\n\n@Entity\n@Table(name = \"calendar_subscription_token_store\")\npublic class CalendarSubscriptionTokenStore extends DomainObject {\n\n @Column(name = \"token\", length = 32, nullable = false, unique = true)\n private String token;\n\n @OneToOne\n @JsonIgnore\n @JoinColumn(name = \"jhi_user_id\", nullable = false, unique = true)\n @Parent\n private User user;\n\n public String getToken() {\n return token;\n }\n\n public void setToken(String token) {\n this.token = token;\n }\n\n public User getUser() {\n return user;\n }\n\n public void setUser(User user) {\n this.user = user;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/a78297bb639dd5d8fc2690fce3354067c482b5a0.json b/web/public/bundles/artemis/code/a78297bb639dd5d8fc2690fce3354067c482b5a0.json new file mode 100644 index 00000000..94f274a3 --- /dev/null +++ b/web/public/bundles/artemis/code/a78297bb639dd5d8fc2690fce3354067c482b5a0.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a78297bb639dd5d8fc2690fce3354067c482b5a0", + "language": "typescript", + "path": "src/main/webapp/app/hyperion/services/exercise-variant-generation.service.ts", + "schema": "codexray.code/1", + "text": "import { Service, effect, inject, signal, untracked } from '@angular/core';\nimport { Observable, Subscription, map, tap } from 'rxjs';\nimport { HyperionExerciseVariantApi } from 'app/openapi/api/hyperion-exercise-variant-api';\nimport { VariantGenerationRequest } from 'app/openapi/model/variant-generation-request';\nimport { VariantJob } from 'app/openapi/model/variant-job';\nimport { VariantJobDetail } from 'app/openapi/model/variant-job-detail';\nimport { ExerciseVariantWebsocketService, VariantGenerationEvent, isTerminalVariantPhase } from 'app/hyperion/services/exercise-variant-websocket.service';\nimport { cloneWith } from 'app/foundation/util/deep-clone.util';\nimport { AccountService } from 'app/core/auth/account.service';\nimport { MODULE_FEATURE_HYPERION } from 'app/app.constants';\nimport { ProfileService } from 'app/core/layouts/profiles/shared/profile.service';\n\n/**\n * Client service for AI exercise-variant generation. Two responsibilities:\n * 1. REST access to the variant endpoints via the generated OpenAPI client.\n * 2. Signal-based job-tray state shared by the navbar tray and the wizard: the `jobs` signal is the\n * client-side copy of the user's job list, kept live by the per-job websocket topics and re-synced from\n * REST on demand (events are fire-and-forget; the server-side job record is authoritative).\n */\n@Service()\nexport class ExerciseVariantGenerationService {\n private readonly api = inject(HyperionExerciseVariantApi);\n private readonly websocketService = inject(ExerciseVariantWebsocketService);\n private readonly accountService = inject(AccountService);\n private readonly profileService = inject(ProfileService);\n\n private readonly jobSubscriptions = new Map();\n\n /** The load triggered by a change of login or access; cancelled on the next change so that a late response cannot restore stale jobs. */\n private accessLoad?: Subscription;\n\n /** Login of the user whose jobs are currently loaded (undefined while none are), used to avoid redundant re-syncs. */\n private loadedForLogin?: string;\n\n private identityRevision = 0;\n\n /** All jobs of the current user (running + retained-finished), authoritative copy of GET /variant-jobs. */\n readonly jobs = signal([]);\n\n constructor() {\n effect(() => {\n const login = this.accountService.userIdentity()?.login;\n untracked(() => {\n // Variant generation is an editor tool: the job endpoint only lists the jobs of the caller, so a user without\n // editor access has none and the tray stays hidden either way; asking would only be a pointless request.\n // Without Hyperion the endpoint is not registered at all, so there is nothing to fetch either.\n const mayLoadJobs = !!login && this.accountService.hasEditorAccess() && this.profileService.isModuleFeatureActive(MODULE_FEATURE_HYPERION);\n // Keyed on the access as well as the login, so that a user who gains editor access later in the same session\n // gets the jobs without a reload\n const loadFor = mayLoadJobs ? login : undefined;\n if (loadFor === this.loadedForLogin) {\n return;\n }\n this.loadedForLogin = loadFor;\n this.accessLoad?.unsubscribe();\n this.clearJobs();\n if (mayLoadJobs) {\n this.accessLoad = this.loadJobs().subscribe({ error: () => {} });\n }\n });\n });\n }\n\n /**\n * Starts a variant-generation job and attaches to its websocket topic.\n *\n * @param exerciseId the source exercise id\n * @param request the wizard request (intents by field presence, placement)\n * @param sourceExerciseTitle shown in the tray until the next REST re-sync delivers the server-side copy\n * @returns the created job id\n */\n startGeneration(exerciseId: number, request: VariantGenerationRequest, sourceExerciseTitle?: string): Observable {\n const login = this.accountService.userIdentity()?.login;\n const revision = this.identityRevision;\n return this.api.generateVariant(exerciseId, request).pipe(\n map((response) => response.jobId!),\n tap((jobId) => {\n if (!this.isCurrentIdentity(login, revision)) return;\n this.upsertJob({ jobId, sourceExerciseId: exerciseId, sourceExerciseTitle, request, phase: 'ANALYZING' });\n this.attachToJob(jobId);\n }),\n );\n }\n\n /**\n * Re-syncs the tray list from REST — called on login, tray open, and websocket reconnect: events are\n * fire-and-forget, so the server-side job record is authoritative.\n */\n loadJobs(): Observable {\n const login = this.accountService.userIdentity()?.login;\n const revision = this.identityRevision;\n return this.api.getJobsOfCurrentUser().pipe(\n tap((jobs) => {\n if (!this.isCurrentIdentity(login, revision)) return;\n this.jobs.set(jobs);\n const stillRunning = new Set(jobs.filter((job) => !isTerminalVariantPhase(job.phase) && job.jobId).map((job) => job.jobId!));\n // REST is authoritative: a job that finished while its terminal event was missed must lose its\n // subscription here, otherwise the topic stays attached for the rest of the session.\n this.jobSubscriptions.forEach((subscription, jobId) => {\n if (!stillRunning.has(jobId)) {\n subscription.unsubscribe();\n this.websocketService.unsubscribeFromJob(jobId);\n this.jobSubscriptions.delete(jobId);\n }\n });\n stillRunning.forEach((jobId) => this.attachToJob(jobId));\n }),\n );\n }\n\n /** Clears the tray state and detaches all websocket subscriptions — called on logout. */\n clearJobs(): void {\n this.identityRevision++;\n this.jobSubscriptions.forEach((subscription, jobId) => {\n subscription.unsubscribe();\n this.websocketService.unsubscribeFromJob(jobId);\n });\n this.jobSubscriptions.clear();\n this.jobs.set([]);\n }\n\n /** Full job detail incl. per-phase step outputs — reopening the modal in monitor mode. */\n getJobDetail(jobId: string): Observable {\n return this.api.getJobDetail(jobId);\n }\n\n /**\n * Requests cooperative cancellation. The entry stays listed; it transitions to CANCELLED when the\n * CANCELLED websocket event arrives (the clone cleanup happens server-side first).\n */\n cancelJob(jobId: string): Observable {\n return this.api.cancelJob(jobId);\n }\n\n /**\n * Per-job event stream for the wizard's step timeline. Also drives this service's tray state internally —\n * subscribing here does not create a second websocket subscription.\n */\n jobEvents(jobId: string): Observable {\n this.attachToJob(jobId);\n return this.websocketService.subscribeToJob(jobId);\n }\n\n private attachToJob(jobId: string): void {\n if (this.jobSubscriptions.has(jobId)) {\n return;\n }\n const subscription = this.websocketService.subscribeToJob(jobId).subscribe((event) => this.handleEvent(jobId, event));\n this.jobSubscriptions.set(jobId, subscription);\n }\n\n private handleEvent(jobId: string, event: VariantGenerationEvent): void {\n const login = this.accountService.userIdentity()?.login;\n const revision = this.identityRevision;\n this.jobs.update((jobs) =>\n jobs.map((job) => {\n if (job.jobId !== jobId) {\n return job;\n }\n return cloneWith(job, {\n phase: event.phase ?? job.phase,\n attempt: event.attempt ?? job.attempt,\n maxAttempts: event.maxAttempts ?? job.maxAttempts,\n variantExerciseId: event.variantExerciseId ?? job.variantExerciseId,\n warnings: event.warnings ?? job.warnings,\n });\n }),\n );\n if (event.type === 'DONE' || event.type === 'FAILED' || event.type === 'CANCELLED') {\n // The terminal event does not carry the final record: CANCELLED has neither a variantExerciseId nor a\n // failureDetail, so the merge above keeps whatever provisioning had cached — a cancellation whose clone\n // cleanup SUCCEEDED would keep offering a link to an exercise that no longer exists. Take the server's\n // copy instead; it is the authority on what survived.\n this.api.getJobDetail(jobId).subscribe({\n next: (detail) => {\n if (detail.job && this.isCurrentIdentity(login, revision)) {\n this.replaceJob(jobId, detail.job);\n }\n },\n // A failed refresh leaves the merged entry in place; the next tray re-sync corrects it.\n error: () => {},\n });\n // This handler is the FIRST subscriber on the shared per-job subject, and detaching completes that\n // subject — done synchronously it would stop later subscribers (the wizard modal) before the\n // subject's next() loop delivers this terminal event to them, freezing the modal in the last live\n // phase. Detaching in a microtask lets every subscriber receive the event first.\n window.queueMicrotask(() => {\n if (this.isCurrentIdentity(login, revision)) this.detachFromJob(jobId);\n });\n }\n }\n\n private isCurrentIdentity(login: string | undefined, revision: number): boolean {\n return this.accountService.userIdentity()?.login === login && this.identityRevision === revision;\n }\n\n private detachFromJob(jobId: string): void {\n this.jobSubscriptions.get(jobId)?.unsubscribe();\n this.jobSubscriptions.delete(jobId);\n this.websocketService.unsubscribeFromJob(jobId);\n }\n\n private upsertJob(job: VariantJob): void {\n this.jobs.update((jobs) => {\n const existingIndex = jobs.findIndex((existing) => existing.jobId === job.jobId);\n if (existingIndex >= 0) {\n const updated = jobs.slice();\n updated[existingIndex] = cloneWith(updated[existingIndex], job);\n return updated;\n }\n return [job].concat(jobs);\n });\n }\n\n /**\n * Replaces a listed job with the server's copy, dropping the fields the event merge had carried over. Unlike\n * {@link upsertJob} this overwrites rather than merges — that is the point, since a value the server no longer\n * reports (a cleaned-up clone's exercise id) has to disappear — and it never re-adds a job that has since left\n * the list.\n */\n private replaceJob(jobId: string, job: VariantJob): void {\n this.jobs.update((jobs) => jobs.map((existing) => (existing.jobId === jobId ? job : existing)));\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/a829c67c0d1cadfda83cad05e076c864b9f73b35.json b/web/public/bundles/artemis/code/a829c67c0d1cadfda83cad05e076c864b9f73b35.json new file mode 100644 index 00000000..345d84d8 --- /dev/null +++ b/web/public/bundles/artemis/code/a829c67c0d1cadfda83cad05e076c864b9f73b35.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a829c67c0d1cadfda83cad05e076c864b9f73b35", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/core/config/migration/MigrationService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.core.config.migration;\n\nimport static de.tum.cit.aet.artemis.core.config.ArtemisConstants.SPRING_PROFILE_TEST;\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE_AND_SCHEDULING;\n\nimport java.time.ZonedDateTime;\nimport java.util.HashSet;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Set;\nimport java.util.SortedMap;\nimport java.util.TreeMap;\nimport java.util.UUID;\nimport java.util.stream.Collectors;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.beans.factory.annotation.Value;\nimport org.springframework.beans.factory.config.AutowireCapableBeanFactory;\nimport org.springframework.boot.context.event.ApplicationReadyEvent;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.core.env.Profiles;\nimport org.springframework.stereotype.Service;\nimport org.springframework.util.StringUtils;\n\nimport de.tum.cit.aet.artemis.admin.domain.MigrationChangelog;\nimport de.tum.cit.aet.artemis.admin.repository.MigrationChangeRepository;\n\n/**\n * This service contains utility functionality that verifies a changelog to prevent corruption and executes a given changelog.\n */\n@Lazy\n@Service\n@Profile(PROFILE_CORE_AND_SCHEDULING)\npublic class MigrationService {\n\n private static final Logger log = LoggerFactory.getLogger(MigrationService.class);\n\n @Value(\"${artemis.version}\")\n private String artemisVersion;\n\n private final MigrationChangeRepository migrationChangeRepository;\n\n private final AutowireCapableBeanFactory beanFactory;\n\n public MigrationService(MigrationChangeRepository migrationChangeRepository, AutowireCapableBeanFactory beanFactory) {\n this.migrationChangeRepository = migrationChangeRepository;\n this.beanFactory = beanFactory;\n }\n\n /**\n * First checks the integrity of the passed changelog, then executes not yet executed entries.\n * After each execution it marks the entry as executed. All entries of one startup run get the same deployment id assigned.\n *

\n * An entry that reports itself incomplete with a {@link MigrationIncompleteException} is not marked as executed, so it is offered again on the next start; see that\n * exception for why that is not the same as failing the start.\n *\n * @param event Specifies when this method gets called and provides the event with all application data\n * @param entryClassMap The changelog to be executed\n */\n public void execute(ApplicationReadyEvent event, SortedMap> entryClassMap) throws MigrationIntegrityException {\n if (event.getApplicationContext().getEnvironment().acceptsProfiles(Profiles.of(SPRING_PROFILE_TEST))) {\n return;\n }\n\n log.debug(\"Starting Artemis migration\");\n\n SortedMap entryMap = instantiateEntryMap(entryClassMap);\n\n if (!checkIntegrity(entryMap)) {\n log.error(\"{} corrupted. Aborting startup.\", getClass().getSimpleName());\n throw new MigrationIntegrityException();\n }\n else {\n log.debug(\"Integrity check passed.\");\n }\n\n Set executedChanges = migrationChangeRepository.findAll().stream().map(MigrationChangelog::getDateString).collect(Collectors.toCollection(HashSet::new));\n\n Map migrationEntryMap = entryMap.entrySet().stream().filter(entry -> !executedChanges.contains(entry.getValue().date()))\n .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue));\n\n if (!migrationEntryMap.isEmpty()) {\n log.info(\"Executing migration entries\");\n // The id only tells which entries ran during the same startup, so it has to be unique, not derived from anything.\n String startupId = UUID.randomUUID().toString().replace(\"-\", \"\");\n for (Map.Entry integerClassEntry : migrationEntryMap.entrySet()) {\n MigrationEntry entry = integerClassEntry.getValue();\n log.debug(\"Executing entry {}\", entry.date());\n try {\n entry.execute();\n }\n catch (MigrationIncompleteException exception) {\n // The entry ran to the end and told us it did not finish. Its changelog row is deliberately not written, so it is offered again on the next start; only an\n // idempotent entry is allowed to report this. Startup continues, because this listener runs inside SpringApplication.run and an exception escaping it would\n // take the node down on every start for as long as the condition lasts. This line is what an operator has to act on.\n log.error(\"Migration entry {} did not complete and will be attempted again on the next start: {}\", entry.date(), exception.getMessage());\n continue;\n }\n MigrationChangelog newChangelog = new MigrationChangelog();\n newChangelog.setAuthor(entry.author());\n newChangelog.setDateExecuted(ZonedDateTime.now());\n newChangelog.setDateString(entry.date());\n newChangelog.setSystemVersion(artemisVersion);\n newChangelog.setDeploymentId(startupId);\n\n migrationChangeRepository.save(newChangelog);\n log.debug(\"Done\");\n }\n log.info(\"Executed {} migration entries\", migrationEntryMap.size());\n }\n else {\n log.debug(\"No migration entries executed\");\n }\n log.debug(\"Ending Artemis migration\");\n }\n\n public SortedMap instantiateEntryMap(SortedMap> entryClassMap) {\n return entryClassMap.entrySet().stream().collect(Collectors.toMap(Map.Entry::getKey, entry -> {\n // We have to manually autowire the components here\n return (MigrationEntry) beanFactory.autowire(entry.getValue(), AutowireCapableBeanFactory.AUTOWIRE_CONSTRUCTOR, true);\n }, (prev, next) -> next, TreeMap::new));\n }\n\n /**\n * Checks the given changelog for integrity. It must have distinct keys, distinct date strings and the date strings must be in order.\n * It is set public to allow an external integrity check without starting the actual application and therefore migration.\n * All occurring errors will be logged but duplicate errors are not logged.\n *\n * @param entryMap A changelog in form of an entryMap that should be checked\n * @return True if the check was successful, otherwise false\n */\n public boolean checkIntegrity(SortedMap entryMap) {\n log.debug(\"Starting migration integrity check\");\n boolean passed = true;\n Map brokenInstances = entryMap.entrySet().stream()\n .filter(entry -> !StringUtils.hasLength(entry.getValue().date()) || !StringUtils.hasLength(entry.getValue().author()))\n .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue));\n if (!brokenInstances.isEmpty()) {\n passed = false;\n log.error(\"{} corrupted. Migration entries not properly set up.\", getClass().getSimpleName());\n brokenInstances.forEach((key, value) -> log.error(\"Entry {} has not all information methods defined.\", value.getClass().getSimpleName()));\n log.info(\"Please refer to the documentation on how to set up migration entries.\");\n }\n List entryList = entryMap.values().stream().toList();\n if (!entryList.isEmpty()) {\n int startIndex = 1;\n MigrationEntry baseEntry = entryList.getFirst();\n // Make sure the base date is not null. If it is, it was already caught and logged above.\n while (!StringUtils.hasLength(baseEntry.date()) && startIndex < entryList.size()) {\n baseEntry = entryList.get(startIndex);\n startIndex++;\n }\n // Go through the list of registered entries and make sure that every date is smaller than the date of its successor.\n for (int i = startIndex; i < entryList.size(); i++) {\n MigrationEntry entry = entryList.get(i);\n if (StringUtils.hasLength(entry.date()) && baseEntry.date().compareTo(entry.date()) >= 0) {\n log.error(\"{} corrupted. Invalid date order detected. {} ({}) should come before {} ({})\", getClass().getSimpleName(), entry.date(),\n entry.getClass().getSimpleName(), baseEntry.date(), baseEntry.getClass().getSimpleName());\n passed = false;\n }\n baseEntry = entry;\n }\n }\n log.debug(\"Ending migration integrity check.\");\n return passed;\n }\n\n}\n" +} diff --git a/web/public/bundles/artemis/code/a8abe1ec00d5e121656ace58fc4f910244aeb297.json b/web/public/bundles/artemis/code/a8abe1ec00d5e121656ace58fc4f910244aeb297.json new file mode 100644 index 00000000..b3f0f352 --- /dev/null +++ b/web/public/bundles/artemis/code/a8abe1ec00d5e121656ace58fc4f910244aeb297.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a8abe1ec00d5e121656ace58fc4f910244aeb297", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseWithContentDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.course.dto;\n\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\nimport com.fasterxml.jackson.annotation.JsonInclude;\nimport com.fasterxml.jackson.annotation.JsonUnwrapped;\n\nimport de.tum.cit.aet.artemis.atlas.dto.CourseCompetencyResponseDTO;\nimport de.tum.cit.aet.artemis.course.domain.Course;\n\n/** Course management data with the content required by LTI content selection. */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record CourseWithContentDTO(@JsonUnwrapped CourseManagementDTO course, @JsonIgnoreProperties(\"course\") Set exercises,\n Set lectures, Set competencies, Set prerequisites) {\n\n /** Maps the explicitly fetched course content graph. */\n public static CourseWithContentDTO of(Course course) {\n return new CourseWithContentDTO(CourseManagementDTO.of(course), course.getExercises().stream().map(CourseManagementExerciseDTO::of).collect(Collectors.toSet()),\n course.getLectures().stream().map(LectureForCourseManagementDTO::of).collect(Collectors.toSet()),\n course.getCompetencies().stream().map(CourseCompetencyResponseDTO::of).collect(Collectors.toSet()),\n course.getPrerequisites().stream().map(CoursePrerequisiteDTO::of).collect(Collectors.toSet()));\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/a8dc9c2e7ee9beb8508d8813f6e29674bf05e44c.json b/web/public/bundles/artemis/code/a8dc9c2e7ee9beb8508d8813f6e29674bf05e44c.json new file mode 100644 index 00000000..9210e24f --- /dev/null +++ b/web/public/bundles/artemis/code/a8dc9c2e7ee9beb8508d8813f6e29674bf05e44c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a8dc9c2e7ee9beb8508d8813f6e29674bf05e44c", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionExerciseIdentifierDeriver.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.hyperion.service;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.MAX_PACKAGE_NAME_LENGTH;\n\nimport java.text.Normalizer;\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.Locale;\nimport java.util.Set;\nimport java.util.regex.Pattern;\n\nimport org.jspecify.annotations.Nullable;\n\nimport de.tum.cit.aet.artemis.programming.domain.ProjectType;\nimport de.tum.cit.aet.artemis.programming.service.ProgrammingExerciseValidationService;\n\n/**\n * Derives the two identifiers Artemis needs for a programming exercise but an instructor gains nothing from inventing: the short name and the Java package name.\n *

\n * Both are derived from the title rather than asked for or guessed by a model, so the same title always produces the same identifiers and the result can be checked against the\n * rules that will judge it: {@link de.tum.cit.aet.artemis.core.config.Constants#SHORT_NAME_PATTERN} for the short name, and the Java/Kotlin package rule of\n * {@link ProgrammingExerciseValidationService} for the package name.\n *

\n * The short name is a repository and project-key component — it appears twice in every student repository URL — so it is kept far shorter than the {@code 36} characters Artemis\n * tolerates, and readable: \"Grade Classification with Enum Outcomes\" becomes {@code gradeclassenum} rather than a timestamp nobody can place. The package name is not derived from\n * that abbreviation and is not abbreviated itself: it has a hundred characters to spend and nothing to gain by spending fewer, so the same title yields\n * {@code de.tum.cit.aet.gradeclassificationenumoutcomes}.\n *

\n * The package conventions are the client's, from {@code deriveProposedPackageName} in {@code problem-statement.utils.ts}: accents folded, title words lower-cased and joined\n * without separators, truncated at a word boundary rather than mid-word, never starting with a digit, {@code exercise} appended to escape a Java keyword, and a bare identifier\n * for {@code MAVEN_BLACKBOX}. The budget deliberately differs. The client caps its proposal at {@code 32} characters because it fills a form field an instructor is expected to\n * read and shorten by hand; this value is generated for them and judged only by\n * {@link de.tum.cit.aet.artemis.core.config.Constants#MAX_PACKAGE_NAME_LENGTH}, so it is budgeted against that rule and stays descriptive.\n */\nfinal class HyperionExerciseIdentifierDeriver {\n\n /** The minimum {@link de.tum.cit.aet.artemis.core.config.Constants#SHORT_NAME_PATTERN} accepts: a letter plus two more alphanumerics. */\n static final int MIN_SHORT_NAME_LENGTH = 3;\n\n /**\n * Well inside the {@code 36} characters Artemis allows, because the short name is concatenated into the project key, the repository slugs, and the build plan ids; the room\n * left\n * over is what a disambiguating suffix is appended into.\n */\n static final int MAX_SHORT_NAME_LENGTH = 18;\n\n /**\n * Each word contributes at most this many characters. Without it a single long word eats the whole budget and the words after it — the ones that say what the exercise is\n * actually about — are dropped: \"Grade Classification with Enum Outcomes\" would become {@code grade} instead of {@code gradeclassenum}.\n */\n private static final int MAX_WORD_LENGTH = 5;\n\n /** Carry no meaning in a title and would crowd out the words that do. Lower-case, because words are lower-cased before this set is consulted. */\n private static final Set STOP_WORDS = Set.of(\"with\", \"and\", \"the\", \"a\", \"an\", \"of\", \"for\", \"to\", \"in\");\n\n /**\n * Appended when a title reduces to too little to be a short name, and used as the last-resort package segment. Chosen because it is a word rather than noise, and because it is\n * not a Java keyword, so it can rescue a keyword collision as well as a length one.\n */\n private static final String FILLER = \"exercise\";\n\n /**\n * The institutional package prefix Artemis already proposes for AI-derived Java packages on the client (see {@code deriveProposedPackageName} in\n * {@code problem-statement.utils.ts}), reused here so a generated exercise reads like every other course exercise. A deployment-specific prefix belongs in server configuration\n * rather than here, and nothing in the course or the programming configuration supplies one today.\n */\n private static final String PACKAGE_PREFIX = \"de.tum.cit.aet\";\n\n private static final Pattern COMBINING_MARK = Pattern.compile(\"\\\\p{M}+\");\n\n private static final Pattern NON_ALPHANUMERIC = Pattern.compile(\"[^A-Za-z0-9]+\");\n\n private static final Pattern LEADING_NON_LETTER = Pattern.compile(\"^[^A-Za-z]+\");\n\n private HyperionExerciseIdentifierDeriver() {\n }\n\n /**\n * Derives a readable short name from an exercise title.\n *\n * @param title the exercise title, already sanitised into something Artemis accepts as a title\n * @return a short name matching {@link de.tum.cit.aet.artemis.core.config.Constants#SHORT_NAME_PATTERN} and at most {@link #MAX_SHORT_NAME_LENGTH} characters long; never blank\n */\n static String deriveShortName(String title) {\n List words = meaningfulWords(title);\n StringBuilder slug = new StringBuilder();\n for (String word : words) {\n String abbreviated = word.length() <= MAX_WORD_LENGTH ? word : word.substring(0, MAX_WORD_LENGTH);\n if (!slug.isEmpty() && slug.length() + abbreviated.length() > MAX_SHORT_NAME_LENGTH) {\n break;\n }\n slug.append(abbreviated);\n }\n // The pattern demands a leading letter, and a title like \"3D Vectors\" does not offer one until its digits are gone.\n String candidate = LEADING_NON_LETTER.matcher(slug.toString()).replaceFirst(\"\");\n if (candidate.length() > MAX_SHORT_NAME_LENGTH) {\n candidate = candidate.substring(0, MAX_SHORT_NAME_LENGTH);\n }\n if (candidate.length() < MIN_SHORT_NAME_LENGTH) {\n // A title of one letter, of digits, or of punctuation still has to yield a name Artemis accepts.\n candidate = (candidate + FILLER).substring(0, Math.min(candidate.length() + FILLER.length(), MAX_SHORT_NAME_LENGTH));\n }\n return candidate;\n }\n\n /**\n * Appends a numeric disambiguation suffix, shortening the short name itself as far as needed to stay within {@link #MAX_SHORT_NAME_LENGTH}.\n *\n * @param shortName an already derived short name\n * @param suffix the disambiguating number\n * @return the suffixed short name, still matching the short-name pattern and still within the length cap\n */\n static String withSuffix(String shortName, long suffix) {\n String appendix = String.valueOf(suffix);\n int room = MAX_SHORT_NAME_LENGTH - appendix.length();\n String base = shortName.length() <= room ? shortName : shortName.substring(0, Math.max(room, 0));\n // The suffix is digits, so the base has to carry the leading letter and enough length on its own.\n if (base.length() < MIN_SHORT_NAME_LENGTH) {\n base = FILLER.substring(0, Math.max(MIN_SHORT_NAME_LENGTH, Math.min(room, FILLER.length())));\n }\n return base + appendix;\n }\n\n /**\n * Derives the Java package name from the exercise title.\n *

\n * Derived from the title rather than from the short name, and from whole words rather than from abbreviations: the short name is cut down to fit a repository slug, and folding\n * that abbreviation into a package puts {@code de.tum.cit.aet.gradeclassenum} in a place with a hundred characters to spend. The conventions are the client's from\n * {@code deriveProposedPackageName}; the budget is this rule's own, for the reason the class javadoc gives.\n *

\n * A title whose words form a Java keyword ({@code enum}, {@code switch}, ...) is a valid title and an invalid package segment, so the segment carries the escape.\n *\n * @param title the exercise title, already sanitised into something Artemis accepts as a title\n * @param projectType the project type the exercise will use; {@code MAVEN_BLACKBOX} takes a single-identifier package, everything else the dotted institutional prefix\n * @return a package name matching the Java/Kotlin package rule and within {@link de.tum.cit.aet.artemis.core.config.Constants#MAX_PACKAGE_NAME_LENGTH}; never blank\n */\n static String derivePackageName(String title, @Nullable ProjectType projectType) {\n // Blackbox exercises are validated against the same Java pattern but conventionally carry a bare identifier rather than a dotted package.\n String prefix = projectType == ProjectType.MAVEN_BLACKBOX ? \"\" : PACKAGE_PREFIX + \".\";\n int budget = MAX_PACKAGE_NAME_LENGTH - prefix.length();\n StringBuilder joined = new StringBuilder();\n // Stop words are dropped for the same reason the short name drops them: they say nothing about the exercise and crowd out the words that do.\n for (String word : meaningfulWords(title)) {\n // Truncate at a word boundary: a mid-word cut produces gibberish like \"…playlistplayba\". A single overlong first word is capped below instead.\n if (!joined.isEmpty() && joined.length() + word.length() > budget) {\n break;\n }\n joined.append(word);\n }\n // The pattern demands a leading letter, and a title like \"2048 Game\" does not offer one until its digits are gone.\n String segment = truncate(LEADING_NON_LETTER.matcher(joined.toString()).replaceFirst(\"\"), budget);\n for (String candidateSegment : List.of(segment, segment + FILLER, FILLER)) {\n String candidate = prefix + candidateSegment;\n if (!candidateSegment.isEmpty() && ProgrammingExerciseValidationService.PACKAGE_NAME_PATTERN_FOR_JAVA_KOTLIN.matcher(candidate).matches()\n && candidate.length() <= MAX_PACKAGE_NAME_LENGTH) {\n return candidate;\n }\n }\n // Unreachable: the loop's last candidate is the prefix plus a non-keyword word that fits by construction.\n return prefix + FILLER;\n }\n\n /** The title's words, lower-cased and stripped of diacritics, with stop words dropped unless dropping them would leave nothing behind. */\n private static List meaningfulWords(String title) {\n String ascii = COMBINING_MARK.matcher(Normalizer.normalize(title, Normalizer.Form.NFKD)).replaceAll(\"\");\n List words = new ArrayList<>();\n for (String word : NON_ALPHANUMERIC.split(ascii)) {\n if (!word.isEmpty()) {\n words.add(word.toLowerCase(Locale.ROOT));\n }\n }\n List meaningful = words.stream().filter(word -> !STOP_WORDS.contains(word)).toList();\n return meaningful.isEmpty() ? words : meaningful;\n }\n\n private static String truncate(String value, int maxLength) {\n return value.length() <= maxLength ? value : value.substring(0, Math.max(maxLength, 0));\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/a9ccf4c447d2aa5710ebaa67fedfc56c137f012f.json b/web/public/bundles/artemis/code/a9ccf4c447d2aa5710ebaa67fedfc56c137f012f.json new file mode 100644 index 00000000..0a0cdfec --- /dev/null +++ b/web/public/bundles/artemis/code/a9ccf4c447d2aa5710ebaa67fedfc56c137f012f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a9ccf4c447d2aa5710ebaa67fedfc56c137f012f", + "language": "typescript", + "path": "src/main/webapp/app/exercise/synchronization/metadata/exercise-metadata-snapshot-shared.mapper.ts", + "schema": "codexray.code/1", + "text": "import { CompetencyExerciseLink, CourseCompetency, MEDIUM_COMPETENCY_LINK_WEIGHT } from 'app/atlas/shared/entities/competency.model';\nimport { ExerciseCategory } from 'app/exercise/shared/entities/exercise/exercise-category.model';\nimport { Exercise } from 'app/exercise/shared/entities/exercise/exercise.model';\nimport { GradingCriterion } from 'app/exercise/structured-grading-criterion/grading-criterion.model';\nimport { GradingInstruction } from 'app/exercise/structured-grading-criterion/grading-instruction.model';\nimport { TeamAssignmentConfig } from 'app/exercise/shared/entities/team/team-assignment-config.model';\nimport { parseJson } from 'app/foundation/util/json.util';\nimport {\n CompetencyExerciseLinkSnapshotDTO,\n GradingCriterionSnapshotDTO,\n GradingInstructionSnapshotDTO,\n TeamAssignmentConfigSnapshot,\n} from 'app/exercise/synchronization/metadata/exercise-metadata-snapshot.dto';\n\nexport const toTeamAssignmentConfig = (snapshot?: TeamAssignmentConfigSnapshot): TeamAssignmentConfig | undefined => {\n if (!snapshot) {\n return undefined;\n }\n const config = new TeamAssignmentConfig();\n config.id = snapshot.id;\n config.minTeamSize = snapshot.minTeamSize;\n config.maxTeamSize = snapshot.maxTeamSize;\n return config;\n};\n\n/**\n * Normalizes a single category entry from various input formats into an ExerciseCategory.\n * Handles JSON-encoded strings, plain text strings, ExerciseCategory instances, and plain objects with {category, color}.\n */\nexport const normalizeCategoryEntry = (value: unknown): ExerciseCategory | undefined => {\n if (!value) {\n return undefined;\n }\n if (value instanceof ExerciseCategory) {\n const category = value.category?.trim();\n return category ? new ExerciseCategory(category, value.color) : undefined;\n }\n if (typeof value === 'string') {\n const trimmed = value.trim();\n if (!trimmed) {\n return undefined;\n }\n try {\n const parsed = parseJson(trimmed);\n if (parsed && typeof parsed === 'object' && 'category' in parsed) {\n const category = (parsed as { category?: string }).category?.trim();\n if (!category) {\n return undefined;\n }\n return new ExerciseCategory(category, (parsed as { color?: string }).color);\n }\n } catch {\n // not JSON-encoded, treat as plain text\n }\n return new ExerciseCategory(trimmed, undefined);\n }\n if (typeof value === 'object' && 'category' in value) {\n const category = (value as { category?: string }).category?.trim();\n if (!category) {\n return undefined;\n }\n return new ExerciseCategory(category, (value as { color?: string }).color);\n }\n return undefined;\n};\n\n/**\n * Normalizes an array of category entries into ExerciseCategory instances.\n */\nexport const normalizeCategoryArray = (values: unknown[]): ExerciseCategory[] => {\n return values.map(normalizeCategoryEntry).filter((entry): entry is ExerciseCategory => entry !== undefined);\n};\n\n/**\n * Maps competency link snapshots onto the current exercise's resolved competencies.\n */\nexport const toCompetencyLinks = (exercise: Exercise, snapshotLinks: CompetencyExerciseLinkSnapshotDTO[] | undefined): CompetencyExerciseLink[] | undefined => {\n if (!snapshotLinks) {\n return undefined;\n }\n const competencyById = new Map();\n const existingLinks = exercise.competencyLinks ?? [];\n for (const link of existingLinks) {\n if (link.competency?.id != undefined) {\n competencyById.set(link.competency.id, link.competency);\n }\n }\n const courseCompetencies = exercise.course?.competencies ?? [];\n const coursePrerequisites = exercise.course?.prerequisites ?? [];\n for (const competency of [...courseCompetencies, ...coursePrerequisites]) {\n if (competency.id != undefined) {\n competencyById.set(competency.id, competency);\n }\n }\n const mapped: CompetencyExerciseLink[] = [];\n for (const link of snapshotLinks) {\n const competencyId = link.competencyId?.competencyId;\n if (competencyId == undefined) {\n continue;\n }\n const competency = competencyById.get(competencyId);\n if (!competency) {\n // Competency not found locally — this can happen if another instructor added\n // a competency that is not yet in the current editor's course data. The link\n // is intentionally dropped from the resolved result; a page refresh will\n // resolve it with the latest course competencies. Note: when the user accepts\n // \"incoming\" during conflict resolution, this dropped link will be missing\n // from the applied value — this is an accepted limitation of the current\n // approach and does not affect the persisted exercise state.\n continue;\n }\n mapped.push(new CompetencyExerciseLink(competency, exercise, link.weight ?? MEDIUM_COMPETENCY_LINK_WEIGHT));\n }\n return mapped;\n};\n\n/**\n * Converts a grading instruction snapshot DTO (plain JSON) into a GradingInstruction class instance.\n */\nconst toGradingInstruction = (dto: GradingInstructionSnapshotDTO): GradingInstruction => {\n const instruction = new GradingInstruction();\n instruction.id = dto.id;\n instruction.credits = dto.credits ?? 0;\n instruction.gradingScale = dto.gradingScale ?? '';\n instruction.instructionDescription = dto.instructionDescription ?? '';\n instruction.feedback = dto.feedback ?? '';\n instruction.usageCount = dto.usageCount;\n return instruction;\n};\n\n/**\n * Converts a grading criterion snapshot DTO (plain JSON) into a GradingCriterion class instance\n * with nested GradingInstruction instances.\n */\nconst toGradingCriterionEntry = (dto: GradingCriterionSnapshotDTO): GradingCriterion => {\n const criterion = new GradingCriterion();\n criterion.id = dto.id;\n criterion.title = dto.title ?? '';\n criterion.structuredGradingInstructions = (dto.structuredGradingInstructions ?? []).map(toGradingInstruction);\n return criterion;\n};\n\n/**\n * Converts grading criteria from snapshot DTO format to proper GradingCriterion class instances.\n * The server sends {@code Set} which arrives as plain JSON objects after\n * deserialization; this mapper creates proper class instances expected by the exercise model.\n */\nexport const toGradingCriteria = (snapshotCriteria: GradingCriterionSnapshotDTO[] | undefined): GradingCriterion[] | undefined => {\n if (!snapshotCriteria) {\n return undefined;\n }\n // Sort by ID for a deterministic order — the server collects criteria into a Set\n // (unordered), so without sorting the incoming side can appear in a different order\n // than the user's local criteria in the conflict modal.\n return snapshotCriteria.map(toGradingCriterionEntry).sort((a, b) => (a.id ?? -1) - (b.id ?? -1));\n};\n" +} diff --git a/web/public/bundles/artemis/code/ad063add6daf0c7ca5365c51649b50b0c3f1a6d2.json b/web/public/bundles/artemis/code/ad063add6daf0c7ca5365c51649b50b0c3f1a6d2.json new file mode 100644 index 00000000..765e28b0 --- /dev/null +++ b/web/public/bundles/artemis/code/ad063add6daf0c7ca5365c51649b50b0c3f1a6d2.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "ad063add6daf0c7ca5365c51649b50b0c3f1a6d2", + "language": "typescript", + "path": "src/main/webapp/app/programming/manage/status/programming-exercise-instructor-exercise-status.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, OnDestroy, computed, effect, inject, input, signal } from '@angular/core';\nimport { Subscription } from 'rxjs';\nimport { filter } from 'rxjs/operators';\nimport { ParticipationWebsocketService } from 'app/course/shared/services/participation-websocket.service';\nimport { Participation } from 'app/exercise/shared/entities/participation/participation.model';\nimport { ProgrammingExercise } from 'app/programming/shared/entities/programming-exercise.model';\nimport { findLatestResult } from 'app/foundation/util/utils';\nimport { faCheckCircle, faExclamationTriangle } from '@fortawesome/free-solid-svg-icons';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { TumAetUiTooltipDirective } from '@tumaet/ui-angular/tooltip';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { getAllResultsOfAllSubmissions } from 'app/exercise/shared/entities/submission/submission.model';\nimport { programmingExerciseResultWarning } from './programming-exercise-result-warning.util';\nimport { Result } from 'app/exercise/shared/entities/result/result.model';\nimport { ProgrammingExerciseParticipationType } from 'app/programming/shared/entities/programming-exercise-participation.model';\n\n/**\n * Describes programming exercise issues\n */\nenum ProgrammingExerciseIssues {\n TEMPLATE_PASSING = 'TEMPLATE_PASSING',\n SOLUTION_FAILING = 'SOLUTION_FAILING',\n}\n\n@Component({\n selector: 'jhi-programming-exercise-instructor-exercise-status',\n templateUrl: './programming-exercise-instructor-exercise-status.component.html',\n imports: [FaIconComponent, TumAetUiTooltipDirective, TranslateDirective],\n})\nexport class ProgrammingExerciseInstructorExerciseStatusComponent implements OnDestroy {\n private participationWebsocketService = inject(ParticipationWebsocketService);\n\n ProgrammingExerciseIssues = ProgrammingExerciseIssues;\n readonly templateParticipation = input();\n readonly solutionParticipation = input();\n readonly exercise = input();\n\n templateParticipationSubscription?: Subscription;\n solutionParticipationSubscription?: Subscription;\n private readonly latestTemplateResult = signal(undefined);\n private readonly latestSolutionResult = signal(undefined);\n protected readonly issues = computed(() =>\n [\n programmingExerciseResultWarning(this.latestTemplateResult(), ProgrammingExerciseParticipationType.TEMPLATE) ? ProgrammingExerciseIssues.TEMPLATE_PASSING : undefined,\n programmingExerciseResultWarning(this.latestSolutionResult(), ProgrammingExerciseParticipationType.SOLUTION) ? ProgrammingExerciseIssues.SOLUTION_FAILING : undefined,\n ].filter((issue): issue is ProgrammingExerciseIssues => issue !== undefined),\n );\n protected readonly buildsSuccessful = computed(\n () =>\n this.latestTemplateResult()?.score === 0 &&\n Number.isFinite(this.latestSolutionResult()?.score) &&\n (this.latestSolutionResult()?.score ?? 0) >= 100 &&\n this.issues().length === 0,\n );\n\n private subscribedTemplateParticipationId?: number;\n private subscribedSolutionParticipationId?: number;\n\n // Icons\n faExclamationTriangle = faExclamationTriangle;\n faCheckCircle = faCheckCircle;\n\n constructor() {\n effect(() => {\n const participation = this.templateParticipation();\n this.latestTemplateResult.set(findLatestResult(getAllResultsOfAllSubmissions(participation?.submissions)));\n if (this.subscribedTemplateParticipationId === participation?.id) {\n return;\n }\n this.subscribedTemplateParticipationId = participation?.id;\n this.templateParticipationSubscription?.unsubscribe();\n if (participation?.id !== undefined) {\n this.templateParticipationSubscription = this.participationWebsocketService\n .subscribeForLatestResultOfParticipation(participation.id, false, this.exercise()?.id)\n .pipe(filter((result) => !!result))\n .subscribe((result) => this.latestTemplateResult.set(result));\n }\n });\n effect(() => {\n const participation = this.solutionParticipation();\n this.latestSolutionResult.set(findLatestResult(getAllResultsOfAllSubmissions(participation?.submissions)));\n if (this.subscribedSolutionParticipationId === participation?.id) {\n return;\n }\n this.subscribedSolutionParticipationId = participation?.id;\n this.solutionParticipationSubscription?.unsubscribe();\n if (participation?.id !== undefined) {\n this.solutionParticipationSubscription = this.participationWebsocketService\n .subscribeForLatestResultOfParticipation(participation.id, false, this.exercise()?.id)\n .pipe(filter((result) => !!result))\n .subscribe((result) => this.latestSolutionResult.set(result));\n }\n });\n }\n\n ngOnDestroy(): void {\n this.templateParticipationSubscription?.unsubscribe();\n this.solutionParticipationSubscription?.unsubscribe();\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/ad7de7799ab9844fe08c7b7ab1eb37e9f23ec3c2.json b/web/public/bundles/artemis/code/ad7de7799ab9844fe08c7b7ab1eb37e9f23ec3c2.json new file mode 100644 index 00000000..87f7f179 --- /dev/null +++ b/web/public/bundles/artemis/code/ad7de7799ab9844fe08c7b7ab1eb37e9f23ec3c2.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "ad7de7799ab9844fe08c7b7ab1eb37e9f23ec3c2", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/web/CourseOverviewResource.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.course.web;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\n\nimport java.time.ZonedDateTime;\nimport java.util.Collection;\nimport java.util.HashSet;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Objects;\nimport java.util.Optional;\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.http.ResponseEntity;\nimport org.springframework.web.bind.annotation.GetMapping;\nimport org.springframework.web.bind.annotation.PathVariable;\nimport org.springframework.web.bind.annotation.RequestMapping;\nimport org.springframework.web.bind.annotation.RequestParam;\nimport org.springframework.web.bind.annotation.ResponseBody;\nimport org.springframework.web.bind.annotation.RestController;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.account.repository.UserRepository;\nimport de.tum.cit.aet.artemis.assessment.service.ComplaintService;\nimport de.tum.cit.aet.artemis.assessment.service.CourseScoreCalculationService;\nimport de.tum.cit.aet.artemis.core.domain.FeatureInteraction;\nimport de.tum.cit.aet.artemis.core.exception.AccessForbiddenAlertException;\nimport de.tum.cit.aet.artemis.core.exception.AccessForbiddenException;\nimport de.tum.cit.aet.artemis.core.exception.BadRequestAlertException;\nimport de.tum.cit.aet.artemis.core.exception.EntityNotFoundException;\nimport de.tum.cit.aet.artemis.core.exception.ErrorConstants;\nimport de.tum.cit.aet.artemis.core.security.Role;\nimport de.tum.cit.aet.artemis.core.security.allowedScopes.AgentScope;\nimport de.tum.cit.aet.artemis.core.security.allowedScopes.AllowedScopes;\nimport de.tum.cit.aet.artemis.core.security.allowedTools.AllowedTools;\nimport de.tum.cit.aet.artemis.core.security.allowedTools.ToolTokenType;\nimport de.tum.cit.aet.artemis.core.security.annotations.EnforceAtLeastStudent;\nimport de.tum.cit.aet.artemis.core.security.annotations.enforceRoleInCourse.EnforceAtLeastInstructorInCourse;\nimport de.tum.cit.aet.artemis.core.security.annotations.enforceRoleInCourse.EnforceAtLeastStudentInCourse;\nimport de.tum.cit.aet.artemis.core.security.annotations.enforceRoleInCourse.EnforceAtLeastTutorInCourse;\nimport de.tum.cit.aet.artemis.core.service.AuthorizationCheckService;\nimport de.tum.cit.aet.artemis.core.service.EnrollmentService;\nimport de.tum.cit.aet.artemis.core.service.featureusage.FeatureUsage;\nimport de.tum.cit.aet.artemis.core.service.featureusage.UsageInteraction;\nimport de.tum.cit.aet.artemis.core.service.featureusage.UserFeature;\nimport de.tum.cit.aet.artemis.core.util.TimeLogUtil;\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.course.dto.ActiveExamForCourseDashboardDTO;\nimport de.tum.cit.aet.artemis.course.dto.CourseAvailableTabsDTO;\nimport de.tum.cit.aet.artemis.course.dto.CourseExercisesForOverviewDTO;\nimport de.tum.cit.aet.artemis.course.dto.CourseForDashboardDTO;\nimport de.tum.cit.aet.artemis.course.dto.CourseForOverviewDTO;\nimport de.tum.cit.aet.artemis.course.dto.CourseManagementDTO;\nimport de.tum.cit.aet.artemis.course.dto.CourseWithIdDTO;\nimport de.tum.cit.aet.artemis.course.dto.CoursesForDashboardDTO;\nimport de.tum.cit.aet.artemis.course.repository.CourseAthenaConfigRepository;\nimport de.tum.cit.aet.artemis.course.repository.CourseConfigurationRepository;\nimport de.tum.cit.aet.artemis.course.repository.CourseRepository;\nimport de.tum.cit.aet.artemis.course.service.CourseAvailableTabsService;\nimport de.tum.cit.aet.artemis.course.service.CourseOverviewExerciseService;\nimport de.tum.cit.aet.artemis.course.service.CourseService;\nimport de.tum.cit.aet.artemis.exam.api.ExamRepositoryApi;\nimport de.tum.cit.aet.artemis.exam.domain.Exam;\nimport de.tum.cit.aet.artemis.exercise.domain.Exercise;\nimport de.tum.cit.aet.artemis.exercise.domain.ExerciseMode;\nimport de.tum.cit.aet.artemis.exercise.domain.Team;\nimport de.tum.cit.aet.artemis.exercise.domain.participation.Participant;\nimport de.tum.cit.aet.artemis.exercise.repository.TeamRepository;\nimport de.tum.cit.aet.artemis.lti.api.LtiApi;\nimport de.tum.cit.aet.artemis.lti.domain.OnlineCourseConfiguration;\nimport de.tum.cit.aet.artemis.notification.repository.UserCourseNotificationStatusRepository;\nimport de.tum.cit.aet.artemis.tutorialgroup.api.TutorialGroupApi;\nimport de.tum.cit.aet.artemis.tutorialgroup.domain.TutorialGroupsConfiguration;\nimport io.swagger.v3.oas.annotations.Operation;\n\n/**\n * REST controller for providing courses in the student view.\n */\n@Profile(PROFILE_CORE)\n@Lazy\n@FeatureUsage(UserFeature.COURSE_OVERVIEW)\n@RestController\n@RequestMapping({ \"api/course/\" })\npublic class CourseOverviewResource {\n\n private static final String ENTITY_NAME = \"course\";\n\n private static final String COMPLAINT_ENTITY_NAME = \"complaint\";\n\n private static final Logger log = LoggerFactory.getLogger(CourseOverviewResource.class);\n\n private final CourseService courseService;\n\n private final AuthorizationCheckService authCheckService;\n\n private final EnrollmentService enrollmentService;\n\n private final CourseScoreCalculationService courseScoreCalculationService;\n\n private final ComplaintService complaintService;\n\n private final Optional examRepositoryApi;\n\n private final UserRepository userRepository;\n\n private final CourseRepository courseRepository;\n\n private final TeamRepository teamRepository;\n\n private final CourseAvailableTabsService courseAvailableTabsService;\n\n private final UserCourseNotificationStatusRepository userCourseNotificationStatusRepository;\n\n private final CourseOverviewExerciseService courseOverviewExerciseService;\n\n private final Optional ltiApi;\n\n private final Optional tutorialGroupApi;\n\n private final CourseAthenaConfigRepository courseAthenaConfigRepository;\n\n private final CourseConfigurationRepository courseConfigurationRepository;\n\n public CourseOverviewResource(UserRepository userRepository, CourseService courseService, CourseRepository courseRepository, AuthorizationCheckService authCheckService,\n EnrollmentService enrollmentService, CourseScoreCalculationService courseScoreCalculationService, Optional examRepositoryApi,\n ComplaintService complaintService, TeamRepository teamRepository, CourseAvailableTabsService courseAvailableTabsService,\n UserCourseNotificationStatusRepository userCourseNotificationStatusRepository, CourseOverviewExerciseService courseOverviewExerciseService, Optional ltiApi,\n Optional tutorialGroupApi, CourseAthenaConfigRepository courseAthenaConfigRepository, CourseConfigurationRepository courseConfigurationRepository) {\n this.courseService = courseService;\n this.courseRepository = courseRepository;\n this.authCheckService = authCheckService;\n this.enrollmentService = enrollmentService;\n this.userRepository = userRepository;\n this.courseScoreCalculationService = courseScoreCalculationService;\n this.examRepositoryApi = examRepositoryApi;\n this.complaintService = complaintService;\n this.teamRepository = teamRepository;\n this.courseAvailableTabsService = courseAvailableTabsService;\n this.userCourseNotificationStatusRepository = userCourseNotificationStatusRepository;\n this.courseOverviewExerciseService = courseOverviewExerciseService;\n this.ltiApi = ltiApi;\n this.tutorialGroupApi = tutorialGroupApi;\n this.courseAthenaConfigRepository = courseAthenaConfigRepository;\n this.courseConfigurationRepository = courseConfigurationRepository;\n }\n\n /**\n * GET /courses/{courseId}/for-overview : returns the course itself, without any of its content.\n *

\n * This is what the course overview container needs: the course record and its notification count. Exercises,\n * lectures, exams, participations and scores are deliberately not included — each tab loads what it needs, and which\n * tabs to offer comes from {@link #getCourseAvailableTabs}. Entering a course therefore no longer pays for content\n * the user may never look at.\n *\n * @param courseId the id of the course\n * @return the course and its notification count\n */\n @GetMapping(\"courses/{courseId}/for-overview\")\n @EnforceAtLeastStudent\n public ResponseEntity getCourseForOverview(@PathVariable long courseId) {\n log.debug(\"REST request to get course {} for the course overview\", courseId);\n // Membership is decided by an indexed EXISTS on the login, so the successful path never materialises the course\n if (!authCheckService.isAtLeastStudentInCourse(courseId)) {\n denyAccessOrOfferEnrollment(courseId);\n }\n long userId = userRepository.getUserIdElseThrow();\n long notificationCount = userCourseNotificationStatusRepository.countUnseenCourseNotificationsForUserInCourse(userId, courseId);\n CourseForOverviewDTO overview = courseRepository.findForOverview(courseId).orElseThrow(() -> new EntityNotFoundException(\"Course\", courseId));\n return ResponseEntity.ok(overview.withNotificationCount(notificationCount));\n }\n\n /**\n * Refuses access to a course, offering enrollment when the user could still enroll in it.\n *

\n * The exceptional path, and the only one that loads the course: the enrollment check needs its organizations and\n * prerequisites. The alert exception is skipAlert so the client can redirect to the enrollment page rather than\n * show a plain access error.\n *\n * @param courseId the course being refused\n */\n private void denyAccessOrOfferEnrollment(long courseId) {\n User user = userRepository.getUserWithAuthoritiesAndOrganizations();\n Course course = courseRepository.findSingleWithOrganizationsAndPrerequisitesElseThrow(courseId);\n if (enrollmentService.isUserAllowedToSelfEnrollInCourse(user, course)) {\n throw new AccessForbiddenAlertException(ErrorConstants.DEFAULT_TYPE, \"You don't have access to this course, but you could enroll in it.\", ENTITY_NAME,\n \"noAccessButCouldEnroll\", true);\n }\n throw new AccessForbiddenException(ENTITY_NAME, courseId);\n }\n\n /**\n * GET /courses/{courseId}/exercises-for-overview : returns the user's exercises for the course, with participations,\n * submissions, results and the derived scores.\n *

\n * Only the exercises tab (and the statistics tab, which reads the same scores) needs this, so it is loaded on demand\n * rather than on every course entry. Exercise, participation, submission, result, and score inputs are projected\n * directly from the database.\n *\n * @param courseId the id of the course\n * @return the exercises and scores for the requesting user\n */\n @GetMapping(\"courses/{courseId}/exercises-for-overview\")\n @EnforceAtLeastStudent\n public ResponseEntity getCourseExercisesForOverview(@PathVariable long courseId) {\n long timeNanoStart = System.nanoTime();\n log.debug(\"REST request to get the exercises of course {} for the course overview\", courseId);\n User user = userRepository.getUserWithCourseRolesAndAuthorities();\n\n Course course = courseRepository.findByIdElseThrow(courseId);\n authCheckService.checkHasAtLeastRoleInCourseElseThrow(Role.STUDENT, course, user);\n CourseExercisesForOverviewDTO overview = courseOverviewExerciseService.getCourseExercisesForOverview(course, user);\n log.info(\"courses/{}/exercises-for-overview finished in {} for {} exercise(s) for user {}\", courseId, TimeLogUtil.formatDurationFrom(timeNanoStart),\n overview.exercises().size(), user.getLogin());\n return ResponseEntity.ok(overview);\n }\n\n /**\n * GET /courses/{courseId}/available-tabs : returns which course overview tabs are available to the requesting user.\n *

\n * This is the single source of truth for tab availability: the client renders the course sidebar from it and decides\n * whether a tab may be opened. It only issues indexed existence/count queries (no exercises, lectures, exams, scores\n * or participations are loaded), so it can run before the course content is fetched.\n *\n * @param courseId the id of the course\n * @return the tabs available to the requesting user\n */\n @GetMapping(\"courses/{courseId}/available-tabs\")\n @EnforceAtLeastStudent\n public ResponseEntity getCourseAvailableTabs(@PathVariable long courseId) {\n log.debug(\"REST request to get the available course tabs for course {}\", courseId);\n User user = userRepository.getUserWithCourseRolesAndAuthorities();\n Course course = courseRepository.findByIdElseThrow(courseId);\n // Refused the same way as for-overview, which the container requests in parallel. A plain access error here\n // would surface as a danger toast next to that request's silent one and bury the enrollment offer, so a user\n // following a shared link to a course they may still join would see \"not authorized\" and an empty page.\n if (!authCheckService.isAtLeastStudentInCourse(course, user)) {\n denyAccessOrOfferEnrollment(courseId);\n }\n return ResponseEntity.ok(courseAvailableTabsService.getAvailableTabs(course, user));\n }\n\n /**\n * GET /courses/for-dropdown\n *\n * @return contains all courses the user has access to with id, title and icon\n */\n @GetMapping(\"courses/for-dropdown\")\n @EnforceAtLeastStudent\n @AllowedScopes(AgentScope.COURSES_READ)\n @Operation(summary = \"List your courses\", description = \"Returns the id, title and icon of every active course the caller belongs to. Use the ids in the paths of the other operations.\")\n public ResponseEntity> getCoursesForDropdown() {\n long start = System.nanoTime();\n User user = userRepository.getUserWithCourseRolesAndAuthorities();\n final var courses = courseService.findAllActiveForUser(user);\n final var response = courses.stream().map(course -> new CourseDropdownDTO(course.getId(), course.getTitle(), course.getCourseIcon())).collect(Collectors.toSet());\n log.info(\"GET /courses/for-dropdown took {} for {} courses for user {}\", TimeLogUtil.formatDurationFrom(start), courses.size(), user.getLogin());\n return ResponseEntity.ok(response);\n }\n\n /**\n * GET /courses/for-dashboard\n *\n * @return the ResponseEntity with status 200 (OK) and with body a DTO containing a list of courses (the user has access to) including all exercises with participation,\n * submission and result, etc. for the user. In addition, the\n * DTO contains the total scores for the course, the scores per exercise\n * type for each exercise, and the participation result for each participation.\n */\n @FeatureUsage(UserFeature.COURSE_DASHBOARD)\n @GetMapping(\"courses/for-dashboard\")\n @EnforceAtLeastStudent\n @AllowedTools(ToolTokenType.SCORPIO)\n public ResponseEntity getCoursesForDashboard() {\n long timeNanoStart = System.nanoTime();\n User user = userRepository.getUserWithCourseRolesAndAuthorities();\n log.debug(\"Request to get all courses user {} has access to with exams, lectures, exercises, participations, submissions and results + calculated scores\", user.getLogin());\n Set courses = courseService.findAllForDashboardWithExercisesForUser(user);\n log.debug(\"courseService.findAllForDashboardWithExercisesForUser done\");\n courseService.fetchParticipationsWithSubmissionsAndResultsForCourses(courses, user, false);\n\n log.debug(\"courseService.fetchParticipationsWithSubmissionsAndResultsForCourses done\");\n\n // we explicitly add 1 hour here to compensate for potential write extensions. Calculating it exactly is not feasible here\n Set activeExams;\n if (examRepositoryApi.isPresent()) {\n activeExams = examRepositoryApi.get().findActiveExams(courses.stream().map(Course::getId).collect(Collectors.toSet()), user.getId(), ZonedDateTime.now(),\n ZonedDateTime.now().plusHours(1));\n }\n else {\n activeExams = Set.of();\n }\n Set coursesForDashboard = new HashSet<>();\n for (Course course : courses) {\n // Passing null here for the grading scale is fine. This only leads to presentation scores not being considered which doesn't matter for the dashboard.\n // Not fetching plagiarism cases before the calculation also affects calculation as plagiarism cases are not considered in the scores, but this is fine for the\n // dashboard.\n // We prefer to have better performance for 99.9% of the users without plagiarism cases over accurate scores for the 0.1% of users with plagiarism cases.\n CourseForDashboardDTO courseForDashboardDTO = courseScoreCalculationService.getScoresAndParticipationResults(course, null, user.getId());\n coursesForDashboard.add(courseForDashboardDTO);\n }\n logDuration(courses, user, timeNanoStart, \"courses/for-dashboard (multiple courses)\");\n final var dto = new CoursesForDashboardDTO(coursesForDashboard, activeExams.stream().map(ActiveExamForCourseDashboardDTO::of).collect(Collectors.toSet()));\n return ResponseEntity.ok(dto);\n }\n\n private void logDuration(Collection courses, User user, long timeNanoStart, String path) {\n if (log.isInfoEnabled()) {\n Set exercises = courses.stream().flatMap(course -> course.getExercises().stream()).collect(Collectors.toSet());\n Map> exercisesGroupedByExerciseMode = exercises.stream().collect(Collectors.groupingBy(Exercise::getMode));\n int noOfIndividualExercises = Objects.requireNonNullElse(exercisesGroupedByExerciseMode.get(ExerciseMode.INDIVIDUAL), List.of()).size();\n int noOfTeamExercises = Objects.requireNonNullElse(exercisesGroupedByExerciseMode.get(ExerciseMode.TEAM), List.of()).size();\n log.info(\"{} finished in {} for {} courses with {} individual exercise(s) and {} team exercise(s) for user {}\", path, TimeLogUtil.formatDurationFrom(timeNanoStart),\n courses.size(), noOfIndividualExercises, noOfTeamExercises, user.getLogin());\n }\n }\n\n /**\n * GET /courses/for-notifications\n *\n * @return the ResponseEntity with status 200 (OK) and with body the set of courses (the user has access to)\n */\n @FeatureUsage(UserFeature.COURSE_NOTIFICATIONS)\n @UsageInteraction(FeatureInteraction.AUTOMATIC)\n @GetMapping(\"courses/for-notifications\")\n @EnforceAtLeastStudent\n public ResponseEntity> getCoursesForNotifications() {\n log.debug(\"REST request to get all Courses the user has access to\");\n User user = userRepository.getUserWithCourseRolesAndAuthorities();\n return ResponseEntity.ok(courseService.findAllActiveForUser(user).stream().map(course -> new CourseWithIdDTO(course.getId())).collect(Collectors.toSet()));\n }\n\n /**\n * GET /courses/:courseId : get the \"id\" course.\n *\n * @param courseId the id of the course to retrieve\n * @return the ResponseEntity with status 200 (OK) and with body the course, or with status 404 (Not Found)\n */\n @GetMapping(\"courses/{courseId}\")\n @EnforceAtLeastStudentInCourse\n public ResponseEntity getCourse(@PathVariable Long courseId) {\n return ResponseEntity.ok(loadCourse(courseId, CourseProjection.STUDENT));\n }\n\n /**\n * Returns the course settings and counts required by tutors and editors.\n *\n * @param courseId the course to retrieve\n * @return the fixed tutor projection\n */\n @GetMapping(\"courses/{courseId}/for-tutor\")\n @EnforceAtLeastTutorInCourse\n public ResponseEntity getCourseForTutor(@PathVariable Long courseId) {\n return ResponseEntity.ok(loadCourse(courseId, CourseProjection.TUTOR));\n }\n\n /**\n * Returns the complete course management settings for instructors.\n *\n * @param courseId the course to retrieve\n * @return the fixed instructor projection\n */\n @GetMapping(\"courses/{courseId}/for-instructor\")\n @EnforceAtLeastInstructorInCourse\n public ResponseEntity getCourseForInstructor(@PathVariable Long courseId) {\n return ResponseEntity.ok(loadCourse(courseId, CourseProjection.INSTRUCTOR));\n }\n\n private enum CourseProjection {\n STUDENT, TUTOR, INSTRUCTOR\n }\n\n private CourseManagementDTO loadCourse(Long courseId, CourseProjection projection) {\n Course course = courseRepository.findByIdElseThrow(courseId);\n // Each configuration owns its course key and is read only by the projection that needs it.\n OnlineCourseConfiguration onlineConfiguration = null;\n TutorialGroupsConfiguration tutorialConfiguration = null;\n boolean presentationAssessmentsEnabled = false;\n if (projection == CourseProjection.INSTRUCTOR) {\n courseAthenaConfigRepository.attachTo(course);\n courseConfigurationRepository.attachTo(course);\n presentationAssessmentsEnabled = course.getPresentationAssessmentsEnabled();\n onlineConfiguration = ltiApi.flatMap(api -> api.findOnlineCourseConfiguration(courseId)).orElse(null);\n }\n else if (projection == CourseProjection.TUTOR) {\n presentationAssessmentsEnabled = courseConfigurationRepository.findPresentationAssessmentsEnabledByCourseId(courseId).orElse(false);\n }\n if (projection != CourseProjection.STUDENT) {\n tutorialConfiguration = tutorialGroupApi.flatMap(api -> api.findConfigurationByCourseId(courseId)).orElse(null);\n userRepository.setUserCountsForCourse(course);\n }\n return CourseManagementDTO.of(course, onlineConfiguration, tutorialConfiguration, presentationAssessmentsEnabled);\n }\n\n @UsageInteraction(FeatureInteraction.AUTOMATIC)\n @GetMapping(\"courses/{courseId}/title\")\n @EnforceAtLeastStudentInCourse\n @ResponseBody\n public ResponseEntity getCourseTitle(@PathVariable Long courseId) {\n final var title = courseRepository.getCourseTitle(courseId);\n return title == null ? ResponseEntity.notFound().build() : ResponseEntity.ok(title);\n }\n\n /**\n * GET courses/{courseId}/allowed-complaints: Get the number of complaints that a student or team is still allowed to submit in the given course.\n * It is determined by the max. complaint limit and the current number of open or rejected complaints of the student or team in the course.\n * Students use their personal complaints for individual exercises and team complaints for team-based exercises, i.e. each student has\n * maxComplaints for personal complaints and additionally maxTeamComplaints for complaints by their team in the course.\n *\n * @param courseId the id of the course for which we want to get the number of allowed complaints\n * @param teamMode whether to return the number of allowed complaints per team (instead of per student)\n * @return the ResponseEntity with status 200 (OK) and the number of still allowed complaints\n */\n @FeatureUsage(UserFeature.COMPLAINTS)\n @GetMapping(\"courses/{courseId}/allowed-complaints\")\n @EnforceAtLeastStudentInCourse\n public ResponseEntity getNumberOfAllowedComplaintsInCourse(@PathVariable Long courseId, @RequestParam(defaultValue = \"false\") Boolean teamMode) {\n log.debug(\"REST request to get the number of unaccepted Complaints associated to the current user in course : {}\", courseId);\n User user = userRepository.getUser();\n Participant participant = user;\n Course course = courseRepository.findByIdElseThrow(courseId);\n if (!course.getComplaintsEnabled()) {\n throw new BadRequestAlertException(\"Complaints are disabled for this course\", COMPLAINT_ENTITY_NAME, \"complaintsDisabled\");\n }\n if (teamMode) {\n Optional team = teamRepository.findAllByCourseIdAndUserIdOrderByIdDesc(course.getId(), user.getId()).stream().findFirst();\n participant = team.orElseThrow(() -> new BadRequestAlertException(\"You do not belong to a team in this course.\", COMPLAINT_ENTITY_NAME, \"noAssignedTeamInCourse\"));\n }\n long unacceptedComplaints = complaintService.countUnacceptedComplaintsByParticipantAndCourseId(participant, courseId);\n return ResponseEntity.ok(Math.max(complaintService.getMaxComplaintsPerParticipant(course, participant) - unacceptedComplaints, 0));\n }\n\n @JsonInclude(JsonInclude.Include.NON_EMPTY)\n public record CourseDropdownDTO(Long id, String title, String courseIcon) {\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/ae1f59cbb7bde6f3c5a923489a51c93a70141b63.json b/web/public/bundles/artemis/code/ae1f59cbb7bde6f3c5a923489a51c93a70141b63.json new file mode 100644 index 00000000..55a39fe9 --- /dev/null +++ b/web/public/bundles/artemis/code/ae1f59cbb7bde6f3c5a923489a51c93a70141b63.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "ae1f59cbb7bde6f3c5a923489a51c93a70141b63", + "language": "typescript", + "path": "src/main/webapp/app/programming/manage/grading/tasks/programming-exercise-grading-tasks-table/programming-exercise-grading-tasks-table.component.ts", + "schema": "codexray.code/1", + "text": "import { TumAetUiButtonDirective } from '@tumaet/ui-angular/button';\nimport { TumAetUiToggleSwitchComponent } from '@tumaet/ui-angular/toggle-switch';\nimport { TumAetUiTooltipDirective } from '@tumaet/ui-angular/tooltip';\nimport { Component, OnInit, inject, input, signal } from '@angular/core';\nimport { ProgrammingExerciseTaskService } from 'app/programming/manage/grading/tasks/programming-exercise-task.service';\nimport { ProgrammingExercise } from 'app/programming/shared/entities/programming-exercise.model';\nimport { Course } from 'app/course/shared/entities/course.model';\nimport { faAngleDown, faAngleRight, faAsterisk, faMedal, faQuestionCircle, faScaleUnbalanced, faSort, faSortDown, faSortUp } from '@fortawesome/free-solid-svg-icons';\nimport { ProgrammingExerciseGradingStatistics } from 'app/programming/shared/entities/programming-exercise-test-case-statistics.model';\nimport { ProgrammingExerciseTask } from '../programming-exercise-task';\nimport { Observable, Subject } from 'rxjs';\nimport { ProgrammingExerciseTestCase } from 'app/programming/shared/entities/programming-exercise-test-case.model';\nimport { isExamExercise } from 'app/foundation/util/utils';\nimport { ProgrammingExerciseServerSideTask } from 'app/programming/shared/entities/programming-exercise-task.model';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { FormsModule } from '@angular/forms';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { ProgrammingExerciseTaskComponent } from '../programming-exercise-task/programming-exercise-task.component';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\n\ntype Sort = {\n by: 'name' | 'weight' | 'multiplier' | 'bonusPoints' | 'visibility' | 'resulting' | 'type';\n descending: boolean;\n};\n\ntype TaskComparator = (a: ProgrammingExerciseTask | ProgrammingExerciseTestCase, b: ProgrammingExerciseTask | ProgrammingExerciseTestCase) => number;\n\n@Component({\n selector: 'jhi-programming-exercise-grading-tasks-table',\n templateUrl: './programming-exercise-grading-tasks-table.component.html',\n styleUrls: ['./programming-exercise-grading-tasks-table.css'],\n imports: [\n TumAetUiButtonDirective,\n TranslateDirective,\n FormsModule,\n TumAetUiTooltipDirective,\n TumAetUiToggleSwitchComponent,\n FaIconComponent,\n ProgrammingExerciseTaskComponent,\n ArtemisTranslatePipe,\n ],\n})\nexport class ProgrammingExerciseGradingTasksTableComponent implements OnInit {\n private taskService = inject(ProgrammingExerciseTaskService);\n\n readonly exercise = input.required();\n readonly course = input.required();\n readonly gradingStatisticsObservable = input.required>();\n\n // Icons\n faAngleDown = faAngleDown;\n faAngleRight = faAngleRight;\n faQuestionCircle = faQuestionCircle;\n faScaleUnbalanced = faScaleUnbalanced;\n faMedal = faMedal;\n faAsterisk = faAsterisk;\n\n readonly isSaving = signal(false);\n readonly tasks = signal([]);\n readonly allTasksExpandedSubject = signal>(undefined!);\n /**\n * Incremented whenever the tasks or their test cases are changed in place: when the points are recalculated and when the test cases are sorted. The task objects keep\n * their identity then, so the OnPush task rows would not notice; passing the revision to every row makes all of them render the new state.\n */\n readonly rowsRevision = signal(0);\n\n currentSort: Sort | undefined;\n\n readonly isExamExercise = signal(false);\n\n get ignoreInactive() {\n return this.taskService.ignoreInactive;\n }\n\n ngOnInit(): void {\n this.allTasksExpandedSubject.set(new Subject());\n this.gradingStatisticsObservable().subscribe((gradingStatistics) => {\n this.taskService.configure(this.exercise(), this.course(), gradingStatistics).subscribe(this.updateTasks);\n });\n\n this.currentSort = {\n by: 'name',\n descending: true,\n };\n\n this.isExamExercise.set(isExamExercise(this.exercise()));\n }\n\n updateTasks = () => {\n this.tasks.set(this.taskService.updateTasks());\n this.rowsRevision.update((revision) => revision + 1);\n };\n\n toggleShowInactiveTestsShown = () => {\n this.taskService.toggleIgnoreInactive();\n this.updateTasks();\n };\n\n saveTestCases = () => {\n this.isSaving.set(true);\n this.taskService.saveTestCases().subscribe(() => this.isSaving.set(false));\n };\n\n resetTestCases = () => {\n this.isSaving.set(true);\n this.taskService.resetTestCases().subscribe(() => {\n this.isSaving.set(false);\n this.updateTasks();\n });\n };\n\n toggleAllTasksExpanded = (value: boolean) => {\n this.allTasksExpandedSubject().next(value);\n };\n\n changeSort = (by: Sort['by']) => {\n if (this.currentSort?.by === by) {\n this.currentSort.descending = !this.currentSort.descending;\n } else {\n this.currentSort = {\n by: by,\n descending: true,\n };\n }\n\n this.sort();\n };\n\n getSortIcon = (by: Sort['by']) => {\n if (this.currentSort?.by !== by) {\n return faSort;\n }\n\n return this.currentSort.descending ? faSortDown : faSortUp;\n };\n\n private sort = () => {\n const comparators = {\n name: this.compareStringForAttribute('taskName'),\n weight: this.compareNumForAttribute('weight'),\n multiplier: this.compareNumForAttribute('bonusMultiplier'),\n bonusPoints: this.compareNumForAttribute('bonusPoints'),\n visibility: this.compareStringForAttribute('visibility'),\n resulting: this.compareNumForAttribute('resultingPoints'),\n type: this.compareStringForAttribute('type'),\n };\n\n let comparator = (a: ProgrammingExerciseTask | ProgrammingExerciseTestCase, b: ProgrammingExerciseTask | ProgrammingExerciseTestCase) => {\n const order = comparators[this.currentSort!['by']](a, b);\n return this.currentSort?.descending ? order : -order;\n };\n\n const sortedTasks = [...this.tasks()].sort(comparator);\n\n // the objects task and test have their name attribute named differently, making this necessary\n if (this.currentSort?.by === 'name') {\n comparator = (a: ProgrammingExerciseTask | ProgrammingExerciseTestCase, b: ProgrammingExerciseTask | ProgrammingExerciseTestCase) => {\n const order = this.compareStringForAttribute('testName')(a, b);\n return this.currentSort?.descending ? order : -order;\n };\n }\n sortedTasks.filter(({ testCases }) => testCases).forEach((task) => task.testCases.sort(comparator));\n this.tasks.set(sortedTasks);\n // the test cases of each task were sorted in place, which no row sees without it\n this.rowsRevision.update((revision) => revision + 1);\n };\n\n private compareNumForAttribute = (attributeKey: keyof T): TaskComparator => {\n return (a: ProgrammingExerciseTask | ProgrammingExerciseTestCase, b: ProgrammingExerciseTask | ProgrammingExerciseTestCase) => {\n return (((a as T)[attributeKey] as number) ?? 0) - (((b as T)[attributeKey] as number) ?? 0);\n };\n };\n\n /**\n * {@link ProgrammingExerciseTask} extends {@link ProgrammingExerciseServerSideTask} which is why we need to explicitly add it here for the type\n * @param attributeKey\n */\n private compareStringForAttribute = (\n attributeKey: keyof T,\n ): TaskComparator => {\n return (a: ProgrammingExerciseTask | ProgrammingExerciseTestCase, b: ProgrammingExerciseTask | ProgrammingExerciseTestCase) => {\n const aType = (a as T)[attributeKey] ?? '';\n const bType = (b as T)[attributeKey] ?? '';\n\n if (aType < bType) return -1;\n if (aType > bType) return 1;\n return 0;\n };\n };\n}\n" +} diff --git a/web/public/bundles/artemis/code/ae4331ea6caa0d379561a5b683cbdeb3fe8f5ce1.json b/web/public/bundles/artemis/code/ae4331ea6caa0d379561a5b683cbdeb3fe8f5ce1.json new file mode 100644 index 00000000..44dedd72 --- /dev/null +++ b/web/public/bundles/artemis/code/ae4331ea6caa0d379561a5b683cbdeb3fe8f5ce1.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "ae4331ea6caa0d379561a5b683cbdeb3fe8f5ce1", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/domain/PlagiarismDetectionConfig.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.plagiarism.domain;\n\nimport java.util.Objects;\n\nimport jakarta.persistence.Column;\nimport jakarta.persistence.Entity;\nimport jakarta.persistence.FetchType;\nimport jakarta.persistence.JoinColumn;\nimport jakarta.persistence.OneToOne;\nimport jakarta.persistence.Table;\nimport jakarta.validation.constraints.Max;\nimport jakarta.validation.constraints.Min;\n\nimport com.fasterxml.jackson.annotation.JsonIgnore;\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.core.domain.DomainObject;\nimport de.tum.cit.aet.artemis.core.domain.Parent;\nimport de.tum.cit.aet.artemis.exercise.domain.Exercise;\n\n/**\n * Stores configuration for manual and continuous plagiarism control.\n */\n@Entity\n@Table(name = \"plagiarism_detection_config\")\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic class PlagiarismDetectionConfig extends DomainObject {\n\n /**\n * The exercise this configuration belongs to. The key lives here rather than on the exercise: the exercise carries no\n * mapped association to its plagiarism detection configuration, so loading an exercise can never pull this row in, and\n * the configuration cannot outlive the exercise. Read it through {@code PlagiarismDetectionConfigRepository} where it is\n * needed.\n */\n @OneToOne(fetch = FetchType.LAZY, optional = false)\n @JoinColumn(name = \"exercise_id\", nullable = false, unique = true)\n @JsonIgnore\n @Parent\n private Exercise exercise;\n\n /**\n * The key of {@link #exercise}, read without touching the lazy association, so that the configurations of many\n * exercises can be matched to their exercises after one query. Written through {@link #exercise} only.\n */\n @JsonIgnore\n @Column(name = \"exercise_id\", insertable = false, updatable = false)\n private Long exerciseId;\n\n public PlagiarismDetectionConfig() {\n }\n\n /**\n * Copies the settings of another configuration. The copy belongs to no exercise yet: the exercise and its key are not\n * taken over, because they identify the source's exercise. The caller attaches the copy to the exercise it is for.\n *\n * @param inputConfig the configuration whose settings are copied\n */\n public PlagiarismDetectionConfig(PlagiarismDetectionConfig inputConfig) {\n this.exercise = null;\n this.exerciseId = null;\n this.continuousPlagiarismControlEnabled = inputConfig.continuousPlagiarismControlEnabled;\n this.continuousPlagiarismControlPostDueDateChecksEnabled = inputConfig.continuousPlagiarismControlPostDueDateChecksEnabled;\n this.continuousPlagiarismControlPlagiarismCaseStudentResponsePeriod = inputConfig.continuousPlagiarismControlPlagiarismCaseStudentResponsePeriod;\n this.similarityThreshold = inputConfig.similarityThreshold;\n this.minimumScore = inputConfig.minimumScore;\n this.minimumSize = inputConfig.minimumSize;\n }\n\n @Column(name = \"continuous_plagiarism_control_enabled\")\n private boolean continuousPlagiarismControlEnabled = false;\n\n @Column(name = \"continuous_plagiarism_control_post_due_date_checks_enabled\")\n private boolean continuousPlagiarismControlPostDueDateChecksEnabled = false;\n\n @Column(name = \"continuous_plagiarism_control_case_student_response_period\")\n private int continuousPlagiarismControlPlagiarismCaseStudentResponsePeriod = 7;\n\n @Column(name = \"similarity_threshold\")\n @Min(0)\n @Max(100)\n private int similarityThreshold;\n\n /**\n * Minimum score of the submission.\n * This is used to filter out submissions that are not successful enough to be considered for plagiarism detection.\n */\n @Column(name = \"minimum_score\")\n @Min(0)\n @Max(100)\n private int minimumScore;\n\n /**\n * Minimum size of the submission in tokens.\n * This is used to filter out submissions that are too small to be considered for plagiarism detection.\n */\n @Column(name = \"minimum_size\")\n @Min(0)\n private int minimumSize;\n\n public Exercise getExercise() {\n return exercise;\n }\n\n public void setExercise(Exercise exercise) {\n this.exercise = exercise;\n }\n\n public Long getExerciseId() {\n return exerciseId;\n }\n\n /**\n * Set all sensitive information to placeholders, so no info about plagiarism checks gets leaked to students through json.\n */\n public void filterSensitiveInformation() {\n continuousPlagiarismControlEnabled = false;\n continuousPlagiarismControlPostDueDateChecksEnabled = false;\n similarityThreshold = -1;\n minimumScore = -1;\n minimumSize = -1;\n }\n\n public boolean isContinuousPlagiarismControlEnabled() {\n return continuousPlagiarismControlEnabled;\n }\n\n public void setContinuousPlagiarismControlEnabled(boolean continuousPlagiarismControlEnabled) {\n this.continuousPlagiarismControlEnabled = continuousPlagiarismControlEnabled;\n }\n\n public boolean isContinuousPlagiarismControlPostDueDateChecksEnabled() {\n return continuousPlagiarismControlPostDueDateChecksEnabled;\n }\n\n public void setContinuousPlagiarismControlPostDueDateChecksEnabled(boolean continuousPlagiarismControlPostDueDateChecksEnabled) {\n this.continuousPlagiarismControlPostDueDateChecksEnabled = continuousPlagiarismControlPostDueDateChecksEnabled;\n }\n\n public int getContinuousPlagiarismControlPlagiarismCaseStudentResponsePeriod() {\n return continuousPlagiarismControlPlagiarismCaseStudentResponsePeriod;\n }\n\n public void setContinuousPlagiarismControlPlagiarismCaseStudentResponsePeriod(int continuousPlagiarismControlPlagiarismCaseStudentResponsePeriod) {\n this.continuousPlagiarismControlPlagiarismCaseStudentResponsePeriod = continuousPlagiarismControlPlagiarismCaseStudentResponsePeriod;\n }\n\n public int getSimilarityThreshold() {\n return similarityThreshold;\n }\n\n public void setSimilarityThreshold(int similarityThreshold) {\n this.similarityThreshold = similarityThreshold;\n }\n\n public int getMinimumScore() {\n return minimumScore;\n }\n\n public void setMinimumScore(int minimumScore) {\n this.minimumScore = minimumScore;\n }\n\n public int getMinimumSize() {\n return minimumSize;\n }\n\n public void setMinimumSize(int minimumSize) {\n this.minimumSize = minimumSize;\n }\n\n /**\n * Creates PlagiarismDetectionConfig with default data\n *\n * @return PlagiarismDetectionConfig with default values\n */\n public static PlagiarismDetectionConfig createDefault() {\n var config = new PlagiarismDetectionConfig();\n config.setContinuousPlagiarismControlEnabled(false);\n config.setContinuousPlagiarismControlPostDueDateChecksEnabled(false);\n config.setContinuousPlagiarismControlPlagiarismCaseStudentResponsePeriod(7);\n config.setSimilarityThreshold(90);\n config.setMinimumScore(0);\n config.setMinimumSize(50);\n return config;\n }\n\n @Override\n public boolean equals(Object o) {\n if (this == o) {\n return true;\n }\n if (o == null || getClass() != o.getClass()) {\n return false;\n }\n if (!super.equals(o)) {\n return false;\n }\n PlagiarismDetectionConfig that = (PlagiarismDetectionConfig) o;\n return continuousPlagiarismControlEnabled == that.continuousPlagiarismControlEnabled\n && continuousPlagiarismControlPostDueDateChecksEnabled == that.continuousPlagiarismControlPostDueDateChecksEnabled\n && continuousPlagiarismControlPlagiarismCaseStudentResponsePeriod == that.continuousPlagiarismControlPlagiarismCaseStudentResponsePeriod\n && similarityThreshold == that.similarityThreshold && minimumScore == that.minimumScore && minimumSize == that.minimumSize;\n }\n\n @Override\n public int hashCode() {\n return Objects.hash(super.hashCode(), continuousPlagiarismControlEnabled, continuousPlagiarismControlPostDueDateChecksEnabled,\n continuousPlagiarismControlPlagiarismCaseStudentResponsePeriod, similarityThreshold, minimumScore, minimumSize);\n }\n\n @Override\n public String toString() {\n return \"PlagiarismDetectionConfig{\" + \"continuousPlagiarismControlEnabled=\" + continuousPlagiarismControlEnabled + \", continuousPlagiarismControlPostDueDateChecksEnabled=\"\n + continuousPlagiarismControlPostDueDateChecksEnabled + \", continuousPlagiarismControlPlagiarismCaseStudentResponsePeriod=\"\n + continuousPlagiarismControlPlagiarismCaseStudentResponsePeriod + \", similarityThreshold=\" + similarityThreshold + \", minimumScore=\" + minimumScore\n + \", minimumSize=\" + minimumSize + '}';\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/aec0d906c3a1c719f8cb6e9c5dfd0b3ba01a2d51.json b/web/public/bundles/artemis/code/aec0d906c3a1c719f8cb6e9c5dfd0b3ba01a2d51.json new file mode 100644 index 00000000..0b6e3879 --- /dev/null +++ b/web/public/bundles/artemis/code/aec0d906c3a1c719f8cb6e9c5dfd0b3ba01a2d51.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "aec0d906c3a1c719f8cb6e9c5dfd0b3ba01a2d51", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/dto/result/ResultAfterEvaluationWithSubmissionDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.quiz.dto.result;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\nimport com.fasterxml.jackson.annotation.JsonUnwrapped;\n\nimport de.tum.cit.aet.artemis.assessment.domain.Result;\nimport de.tum.cit.aet.artemis.exercise.domain.participation.StudentParticipation;\nimport de.tum.cit.aet.artemis.quiz.domain.QuizSubmission;\nimport de.tum.cit.aet.artemis.quiz.dto.participation.StudentQuizParticipationWithSolutionsDTO;\nimport de.tum.cit.aet.artemis.quiz.dto.submission.QuizSubmissionAfterEvaluationDTO;\n\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record ResultAfterEvaluationWithSubmissionDTO(@JsonUnwrapped ResultAfterEvaluationDTO resultAfterEvaluationDTO, QuizSubmissionForResultDTO submission) {\n\n public static ResultAfterEvaluationWithSubmissionDTO of(Result result) {\n return new ResultAfterEvaluationWithSubmissionDTO(ResultAfterEvaluationDTO.of(result), QuizSubmissionForResultDTO.of((QuizSubmission) result.getSubmission()));\n }\n}\n\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\nrecord QuizSubmissionForResultDTO(@JsonUnwrapped QuizSubmissionAfterEvaluationDTO quizSubmissionAfterEvaluationDTO, StudentQuizParticipationWithSolutionsDTO participation) {\n\n public static QuizSubmissionForResultDTO of(QuizSubmission submission) {\n return new QuizSubmissionForResultDTO(QuizSubmissionAfterEvaluationDTO.of(submission),\n StudentQuizParticipationWithSolutionsDTO.of((StudentParticipation) submission.getParticipation()));\n }\n\n}\n" +} diff --git a/web/public/bundles/artemis/code/b05bd1d35a0763a2a07c094ecf3607c5703d515d.json b/web/public/bundles/artemis/code/b05bd1d35a0763a2a07c094ecf3607c5703d515d.json new file mode 100644 index 00000000..a7e34562 --- /dev/null +++ b/web/public/bundles/artemis/code/b05bd1d35a0763a2a07c094ecf3607c5703d515d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b05bd1d35a0763a2a07c094ecf3607c5703d515d", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/dto/exercise/QuizExerciseWithoutQuestionsDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.quiz.dto.exercise;\n\nimport java.time.ZonedDateTime;\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\nimport org.hibernate.Hibernate;\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.course.dto.CourseForQuizExerciseDTO;\nimport de.tum.cit.aet.artemis.exercise.domain.DifficultyLevel;\nimport de.tum.cit.aet.artemis.exercise.domain.ExerciseMode;\nimport de.tum.cit.aet.artemis.exercise.domain.IncludedInOverallScore;\nimport de.tum.cit.aet.artemis.exercise.dto.ExerciseVariantGroupReferenceDTO;\nimport de.tum.cit.aet.artemis.quiz.domain.QuizBatch;\nimport de.tum.cit.aet.artemis.quiz.domain.QuizExercise;\nimport de.tum.cit.aet.artemis.quiz.domain.QuizMode;\nimport de.tum.cit.aet.artemis.quiz.dto.QuizBatchDTO;\n\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record QuizExerciseWithoutQuestionsDTO(Long id, String title, String shortName, ZonedDateTime releaseDate, ZonedDateTime startDate, ZonedDateTime dueDate,\n ZonedDateTime assessmentDueDate, DifficultyLevel difficulty, boolean visibleToStudents, CourseForQuizExerciseDTO course, String type, Boolean randomizeQuestionOrder,\n Integer allowedNumberOfAttempts, Integer remainingNumberOfAttempts, QuizMode quizMode, Integer duration, Set quizBatches, boolean quizStarted,\n boolean quizEnded, IncludedInOverallScore includedInOverallScore, ExerciseMode mode, Double maxPoints, Double bonusPoints,\n @Nullable ExerciseVariantGroupReferenceDTO exerciseVariantGroup) {\n\n /**\n * Creates a QuizExerciseWithoutQuestionsDTO object from a QuizExercise object.\n *\n * @param quizExercise the QuizExercise object\n * @return the created QuizExerciseWithoutQuestionsDTO object\n */\n public static QuizExerciseWithoutQuestionsDTO of(final QuizExercise quizExercise) {\n return of(quizExercise, quizExercise.isQuizEnded());\n }\n\n /**\n * Creates a QuizExerciseWithoutQuestionsDTO object from a QuizExercise object with a custom quizEnded value.\n * This is useful for exam exercises where the effective end date differs from the due date.\n *\n * @param quizExercise the QuizExercise object\n * @param effectiveQuizEnded whether the quiz has effectively ended\n * @return the created QuizExerciseWithoutQuestionsDTO object\n */\n public static QuizExerciseWithoutQuestionsDTO of(final QuizExercise quizExercise, boolean effectiveQuizEnded) {\n Set quizBatches = quizExercise.getQuizBatches();\n Set quizBatchesDTOs = Set.of();\n if (Hibernate.isInitialized(quizBatches) && quizBatches != null) {\n quizBatchesDTOs = quizBatches.stream().map(QuizBatchDTO::of).collect(Collectors.toSet());\n }\n ExerciseVariantGroupReferenceDTO variantGroupRef = ExerciseVariantGroupReferenceDTO.ofNullable(quizExercise.getExerciseVariantGroup());\n return new QuizExerciseWithoutQuestionsDTO(quizExercise.getId(), quizExercise.getTitle(), quizExercise.getShortName(), quizExercise.getReleaseDate(),\n quizExercise.getStartDate(), quizExercise.getDueDate(), quizExercise.getAssessmentDueDate(), quizExercise.getDifficulty(), quizExercise.isVisibleToStudents(),\n CourseForQuizExerciseDTO.of(quizExercise.getCourseViaExerciseGroupOrCourseMember()), quizExercise.getType(), quizExercise.isRandomizeQuestionOrder(),\n quizExercise.getAllowedNumberOfAttempts(), quizExercise.getRemainingNumberOfAttempts(), quizExercise.getQuizMode(), quizExercise.getDuration(), quizBatchesDTOs,\n quizExercise.isQuizStarted(), effectiveQuizEnded, quizExercise.getIncludedInOverallScore(), quizExercise.getMode(), quizExercise.getMaxPoints(),\n quizExercise.getBonusPoints(), variantGroupRef);\n }\n\n /**\n * Returns the same record without the course reference, for the course-management exercise list: the course is\n * the enclosing object there, so a per-exercise copy is a redundant back-reference. {@code @JsonIgnoreProperties}\n * on the containing collection does not reach this field because it arrives through {@code @JsonUnwrapped}.\n *\n * @return the same record with {@code course} set to {@code null}\n */\n public QuizExerciseWithoutQuestionsDTO withoutCourse() {\n return new QuizExerciseWithoutQuestionsDTO(id, title, shortName, releaseDate, startDate, dueDate, assessmentDueDate, difficulty, visibleToStudents, null, type,\n randomizeQuestionOrder, allowedNumberOfAttempts, remainingNumberOfAttempts, quizMode, duration, quizBatches, quizStarted, quizEnded, includedInOverallScore, mode,\n maxPoints, bonusPoints, exerciseVariantGroup);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/b18a5c7aa605b9ecfbc2541b0a47a508b1092db3.json b/web/public/bundles/artemis/code/b18a5c7aa605b9ecfbc2541b0a47a508b1092db3.json new file mode 100644 index 00000000..9d79a8f7 --- /dev/null +++ b/web/public/bundles/artemis/code/b18a5c7aa605b9ecfbc2541b0a47a508b1092db3.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b18a5c7aa605b9ecfbc2541b0a47a508b1092db3", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/repository/TutorialGroupScheduleRepository.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.tutorialgroup.repository;\n\nimport java.util.Optional;\nimport java.util.Set;\n\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.data.jpa.repository.Query;\nimport org.springframework.data.repository.query.Param;\nimport org.springframework.stereotype.Repository;\n\nimport de.tum.cit.aet.artemis.core.repository.base.ArtemisJpaRepository;\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.tutorialgroup.config.TutorialGroupEnabled;\nimport de.tum.cit.aet.artemis.tutorialgroup.domain.TutorialGroupSchedule;\n\n@Conditional(TutorialGroupEnabled.class)\n@Lazy\n@Repository\npublic interface TutorialGroupScheduleRepository extends ArtemisJpaRepository {\n\n @Query(\"\"\"\n SELECT tutorialGroupSchedule\n FROM TutorialGroupSchedule tutorialGroupSchedule\n LEFT JOIN FETCH tutorialGroupSchedule.tutorialGroupSessions\n WHERE tutorialGroupSchedule.id = :tutorialGroupScheduleId\n \"\"\")\n Optional findByIdWithSessions(@Param(\"tutorialGroupScheduleId\") long tutorialGroupScheduleId);\n\n Optional findByTutorialGroup_Id(Long tutorialGroupId);\n\n Set getAllByTutorialGroupCourse(Course course);\n\n default TutorialGroupSchedule findByIdWithSessionsElseThrow(long tutorialGroupScheduleId) {\n return getValueElseThrow(findByIdWithSessions(tutorialGroupScheduleId), tutorialGroupScheduleId);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/b19d2de71dea039371e0c5b7d5280561300113dc.json b/web/public/bundles/artemis/code/b19d2de71dea039371e0c5b7d5280561300113dc.json new file mode 100644 index 00000000..fa0eced2 --- /dev/null +++ b/web/public/bundles/artemis/code/b19d2de71dea039371e0c5b7d5280561300113dc.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b19d2de71dea039371e0c5b7d5280561300113dc", + "language": "typescript", + "path": "src/main/webapp/app/lecture/shared/entities/lecture-unit/slide.model.ts", + "schema": "codexray.code/1", + "text": "import { BaseEntity } from 'app/foundation/model/base-entity';\nimport { Exercise } from 'app/exercise/shared/entities/exercise/exercise.model';\n\nexport class Slide implements BaseEntity {\n public id?: number;\n public slideImagePath?: string;\n public slideNumber?: number;\n public hidden?: Date;\n public exercise?: Exercise;\n}\n" +} diff --git a/web/public/bundles/artemis/code/b1e5e9f95eccb7632b431807953c17750b65e139.json b/web/public/bundles/artemis/code/b1e5e9f95eccb7632b431807953c17750b65e139.json new file mode 100644 index 00000000..f0919abc --- /dev/null +++ b/web/public/bundles/artemis/code/b1e5e9f95eccb7632b431807953c17750b65e139.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b1e5e9f95eccb7632b431807953c17750b65e139", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/dto/HyperionCodeGenerationEventDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.hyperion.dto;\n\nimport java.util.Map;\n\nimport com.fasterxml.jackson.annotation.JsonFormat;\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.programming.domain.RepositoryType;\n\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record HyperionCodeGenerationEventDTO(Type type, String jobId, long exerciseId, Integer iteration, RepositoryType repositoryType, String path, Boolean success,\n CompletionStatus completionStatus, CompletionReason completionReason, Map completionReasonParams, Integer attempts, String message) {\n\n @JsonInclude(JsonInclude.Include.NON_EMPTY)\n @JsonFormat(shape = JsonFormat.Shape.STRING)\n public enum Type {\n STARTED, PROGRESS, FILE_UPDATED, NEW_FILE, FILE_DELETED, DONE, ERROR\n }\n\n @JsonInclude(JsonInclude.Include.NON_EMPTY)\n @JsonFormat(shape = JsonFormat.Shape.STRING)\n public enum CompletionStatus {\n SUCCESS, PARTIAL, ERROR\n }\n\n @JsonInclude(JsonInclude.Include.NON_EMPTY)\n @JsonFormat(shape = JsonFormat.Shape.STRING)\n public enum CompletionReason {\n BUILD_SUCCEEDED, NO_COMMITTED_FILES, BUILD_FAILED, BUILD_TIMED_OUT, PARTICIPATION_NOT_FOUND, CI_TRIGGER_FAILED\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/b2d65ef296e3e3839ba0746fe4d107c3a10423d8.json b/web/public/bundles/artemis/code/b2d65ef296e3e3839ba0746fe4d107c3a10423d8.json new file mode 100644 index 00000000..716988c8 --- /dev/null +++ b/web/public/bundles/artemis/code/b2d65ef296e3e3839ba0746fe4d107c3a10423d8.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b2d65ef296e3e3839ba0746fe4d107c3a10423d8", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/buildagent/service/PublishedFingerprintsFetcher.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.buildagent.service;\n\nimport java.net.URI;\nimport java.net.http.HttpClient;\nimport java.nio.charset.StandardCharsets;\nimport java.time.Duration;\nimport java.util.Objects;\nimport java.util.Set;\nimport java.util.concurrent.ExecutionException;\nimport java.util.concurrent.FutureTask;\nimport java.util.concurrent.TimeUnit;\nimport java.util.concurrent.TimeoutException;\nimport java.util.function.Supplier;\nimport java.util.stream.Collectors;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.http.client.JdkClientHttpRequestFactory;\nimport org.springframework.util.StreamUtils;\nimport org.springframework.web.client.RestClient;\nimport org.springframework.web.util.UriComponentsBuilder;\n\nimport de.tum.cit.aet.artemis.core.util.JsonObjectMapper;\nimport de.tum.cit.aet.artemis.localvc.dto.SshHostKeyFingerprintDTO;\nimport de.tum.cit.aet.artemis.localvc.dto.SshHostKeyFingerprintsDTO;\n\n/**\n * Reads the fingerprints of the SSH host keys that a core node publishes at {@code api/localvc/public/ssh-fingerprints}, below the path of the configured URL.\n * Answers an empty set when the core node cannot be reached, does not publish any, or the configured URL does not use https.\n */\nclass PublishedFingerprintsFetcher implements Supplier> {\n\n private static final Logger log = LoggerFactory.getLogger(PublishedFingerprintsFetcher.class);\n\n private static final Duration REQUEST_TIMEOUT = Duration.ofSeconds(5);\n\n private static final String FINGERPRINTS_PATH = \"api/localvc/public/ssh-fingerprints\";\n\n private final RestClient restClient = RestClient.builder().requestFactory(requestFactory()).build();\n\n private final URI uri;\n\n PublishedFingerprintsFetcher(URI localVCBaseUri) {\n // The path of the base URL stays, as an installation can serve Artemis below a path\n this.uri = UriComponentsBuilder.fromUri(localVCBaseUri).pathSegment(FINGERPRINTS_PATH.split(\"/\")).replaceQuery(null).fragment(null).build(true).toUri();\n }\n\n private static JdkClientHttpRequestFactory requestFactory() {\n var requestFactory = new JdkClientHttpRequestFactory(HttpClient.newBuilder().connectTimeout(REQUEST_TIMEOUT).followRedirects(HttpClient.Redirect.NORMAL).build());\n requestFactory.setReadTimeout(REQUEST_TIMEOUT);\n return requestFactory;\n }\n\n /**\n * The address that the fingerprints are read from.\n *\n * @return the address, below the path of the configured URL\n */\n URI uri() {\n return uri;\n }\n\n @Override\n public Set get() {\n // The fingerprints are what the host key of the core node is compared with, so they must come over a channel that is protected itself\n if (!\"https\".equalsIgnoreCase(uri.getScheme())) {\n log.warn(\"Not reading the SSH fingerprints of the core node from {}: they are only read over https\", uri);\n return Set.of();\n }\n return fetch(REQUEST_TIMEOUT);\n }\n\n /**\n * Requests the fingerprints, the whole exchange including the body must end within the deadline.\n *\n * @param deadline the time that the exchange may take\n * @return the fingerprints, empty when they could not be read in time\n */\n Set fetch(Duration deadline) {\n try {\n return awaitFingerprints(deadline);\n }\n catch (InterruptedException _) {\n Thread.currentThread().interrupt();\n return Set.of();\n }\n catch (ExecutionException e) {\n log.warn(\"Could not read the SSH fingerprints of the core node from {}: {}\", uri, e.getCause() == null ? e.getMessage() : e.getCause().getMessage());\n return Set.of();\n }\n catch (Exception e) {\n log.warn(\"Could not read the SSH fingerprints of the core node from {}: {}\", uri, e.getMessage());\n return Set.of();\n }\n }\n\n /**\n * Asks for the fingerprints and reads the whole answer.\n *\n * @return the fingerprints, empty when the answer is an error or in another shape\n */\n private Set requestFingerprints() {\n return restClient.get().uri(uri).exchange((request, response) -> {\n // The exchange is used, not retrieve(), because every status other than 200 is an empty answer here and not an exception\n if (response.getStatusCode().value() != 200) {\n log.warn(\"Asking {} for the SSH fingerprints of the core node returned {}\", uri, response.getStatusCode().value());\n return Set.of();\n }\n SshHostKeyFingerprintsDTO published = JsonObjectMapper.get().readValue(StreamUtils.copyToString(response.getBody(), StandardCharsets.UTF_8),\n SshHostKeyFingerprintsDTO.class);\n if (published == null || published.hostKeys() == null) {\n return Set.of();\n }\n return published.hostKeys().stream().filter(Objects::nonNull).map(SshHostKeyFingerprintDTO::fingerprint).filter(Objects::nonNull)\n .collect(Collectors.toUnmodifiableSet());\n });\n }\n\n /**\n * Runs the exchange and waits for the whole answer. The read timeout of the request factory ends with the response headers, so the exchange gets its own\n * deadline that also cancels the transfer of the body: the exchange runs on its own thread, which is interrupted when the deadline passes. That closes the stream\n * of the body, and an interrupted wait must not leave the exchange reading a body that does not end.\n */\n private Set awaitFingerprints(Duration deadline) throws InterruptedException, ExecutionException, TimeoutException {\n FutureTask> exchange = new FutureTask<>(this::requestFingerprints);\n Thread.ofVirtual().name(\"ssh-fingerprints-exchange\").start(exchange);\n try {\n return exchange.get(deadline.toMillis(), TimeUnit.MILLISECONDS);\n }\n catch (TimeoutException | InterruptedException e) {\n exchange.cancel(true);\n throw e;\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/b2e9ddc435f7831a07e2d0e8f30ee5a19a8de0a0.json b/web/public/bundles/artemis/code/b2e9ddc435f7831a07e2d0e8f30ee5a19a8de0a0.json new file mode 100644 index 00000000..4e73cb8f --- /dev/null +++ b/web/public/bundles/artemis/code/b2e9ddc435f7831a07e2d0e8f30ee5a19a8de0a0.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b2e9ddc435f7831a07e2d0e8f30ee5a19a8de0a0", + "language": "typescript", + "path": "src/main/webapp/app/course/overview/exercise-details/lti-initializer/lti-initializer.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, DestroyRef, OnInit, inject, signal } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { LtiInitializerModalComponent } from 'app/course/overview/exercise-details/lti-initializer/lti-initializer-modal.component';\nimport { UserService } from 'app/account/user/shared/user.service';\nimport { AlertService } from 'app/foundation/service/alert.service';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { AccountService } from 'app/core/auth/account.service';\n\n@Component({\n selector: 'jhi-lti-initializer',\n template: '',\n imports: [LtiInitializerModalComponent],\n})\nexport class LtiInitializerComponent implements OnInit {\n private userService = inject(UserService);\n private alertService = inject(AlertService);\n private router = inject(Router);\n private activatedRoute = inject(ActivatedRoute);\n private accountService = inject(AccountService);\n private destroyRef = inject(DestroyRef);\n\n showLtiModal = signal(false);\n ltiLoginName = signal('');\n ltiPassword = signal('');\n\n ngOnInit() {\n this.activatedRoute.queryParams.pipe(takeUntilDestroyed(this.destroyRef)).subscribe((queryParams) => {\n if (queryParams['initialize'] !== undefined) {\n this.userService.initializeLTIUser().subscribe((res) => {\n const password = res.body?.password;\n if (!password) {\n this.alertService.info('artemisApp.lti.initializationError');\n void this.router.navigate([], {\n relativeTo: this.activatedRoute,\n queryParams: { initialize: null },\n queryParamsHandling: 'merge',\n });\n return;\n }\n this.ltiLoginName.set(this.accountService.userIdentity()?.login ?? '');\n this.ltiPassword.set(password);\n this.showLtiModal.set(true);\n });\n }\n });\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/b30b4d896cbed9e9fbcb51a40ce10bf3fcc52fbe.json b/web/public/bundles/artemis/code/b30b4d896cbed9e9fbcb51a40ce10bf3fcc52fbe.json new file mode 100644 index 00000000..33414c0a --- /dev/null +++ b/web/public/bundles/artemis/code/b30b4d896cbed9e9fbcb51a40ce10bf3fcc52fbe.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b30b4d896cbed9e9fbcb51a40ce10bf3fcc52fbe", + "language": "typescript", + "path": "src/main/webapp/app/core/notification/system-notification/admin-system-notification.service.ts", + "schema": "codexray.code/1", + "text": "import { Service, inject } from '@angular/core';\nimport { HttpClient, HttpParams, HttpResponse } from '@angular/common/http';\nimport { Observable } from 'rxjs';\nimport { map } from 'rxjs/operators';\nimport { SystemNotification } from 'app/admin/system-notification-management/system-notification.model';\nimport { SystemNotificationService } from 'app/core/notification/system-notification/system-notification.service';\n\ntype EntityResponseType = HttpResponse;\n\n@Service()\nexport class AdminSystemNotificationService {\n private http = inject(HttpClient);\n private systemNotificationService = inject(SystemNotificationService);\n\n public resourceUrl = 'api/notification/admin/system-notifications';\n\n /**\n * Create a notification on the server using a POST request.\n * @param notification The notification to create.\n * @param sendMaintenanceEmail Whether to send maintenance email to instructors of ongoing courses.\n */\n create(notification: SystemNotification, sendMaintenanceEmail = false): Observable {\n const copy = this.systemNotificationService.convertSystemNotificationDatesFromClient(notification);\n let params = new HttpParams();\n if (sendMaintenanceEmail) {\n params = params.set('sendMaintenanceEmail', 'true');\n }\n return this.http\n .post(this.resourceUrl, copy, { observe: 'response', params })\n .pipe(map((res: EntityResponseType) => this.systemNotificationService.convertSystemNotificationResponseDatesFromServer(res)));\n }\n\n /**\n * Get the count of instructors who would receive a maintenance email.\n */\n getMaintenanceRecipientsCount(): Observable {\n return this.http.get(`${this.resourceUrl}/maintenance-recipients-count`);\n }\n\n /**\n * Update a notification on the server using a PUT request.\n * @param notification The notification to update.\n */\n update(notification: SystemNotification): Observable {\n const copy = this.systemNotificationService.convertSystemNotificationDatesFromClient(notification);\n return this.http\n .put(this.resourceUrl, copy, { observe: 'response' })\n .pipe(map((res: EntityResponseType) => this.systemNotificationService.convertSystemNotificationResponseDatesFromServer(res)));\n }\n\n /**\n * Delete a notification on the server using a DELETE request.\n * @param systemNotificationId The id of the notification to delete.\n */\n delete(systemNotificationId: number): Observable> {\n return this.http.delete(`${this.resourceUrl}/${systemNotificationId}`, { observe: 'response' });\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/b34083e1b0a8135ff529ac448c10e4596d65a6ee.json b/web/public/bundles/artemis/code/b34083e1b0a8135ff529ac448c10e4596d65a6ee.json new file mode 100644 index 00000000..56da0d31 --- /dev/null +++ b/web/public/bundles/artemis/code/b34083e1b0a8135ff529ac448c10e4596d65a6ee.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b34083e1b0a8135ff529ac448c10e4596d65a6ee", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/domain/Posting.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.communication.domain;\n\nimport java.time.ZonedDateTime;\nimport java.util.Set;\n\nimport jakarta.persistence.Column;\nimport jakarta.persistence.JoinColumn;\nimport jakarta.persistence.ManyToOne;\nimport jakarta.persistence.MappedSuperclass;\nimport jakarta.persistence.Transient;\nimport jakarta.validation.constraints.Size;\n\nimport org.jspecify.annotations.Nullable;\nimport org.springframework.data.annotation.CreatedDate;\n\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\nimport com.fasterxml.jackson.annotation.JsonInclude;\nimport com.fasterxml.jackson.annotation.JsonIncludeProperties;\nimport com.fasterxml.jackson.annotation.JsonProperty;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.communication.domain.conversation.Conversation;\nimport de.tum.cit.aet.artemis.core.domain.DomainObject;\nimport de.tum.cit.aet.artemis.course.domain.Course;\n\n/**\n * Base class for messages {@link Post} and answer messages {@link AnswerPost} in the communication system.\n */\n@MappedSuperclass\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\n@JsonIgnoreProperties(value = { \"author\" }, allowGetters = true) // author field is not deserialized\npublic abstract class Posting extends DomainObject {\n\n @ManyToOne\n // Avoid to leak too much information, only the name + image (for display) and the id (for comparison) is needed)\n @JsonIncludeProperties({ \"id\", \"name\", \"imageUrl\", \"bot\" })\n @JoinColumn(nullable = false)\n private User author;\n\n @CreatedDate\n @Column(name = \"creation_date\", updatable = false)\n private ZonedDateTime creationDate = ZonedDateTime.now();\n\n /**\n * Holds the time when the content of this posting has been updated the last time, or null if the content has never been updated.\n */\n @Column(name = \"updated_date\")\n private ZonedDateTime updatedDate = null;\n\n // Note: this number should be the same as in posting-create-edit.directive.ts\n @Size(max = 5000)\n @Column(name = \"content\", length = 5000)\n private String content;\n\n @Transient\n private UserRole authorRoleTransient;\n\n @JsonProperty\n public User getAuthor() {\n return author;\n }\n\n public void setAuthor(User author) {\n this.author = author;\n }\n\n public ZonedDateTime getCreationDate() {\n return creationDate;\n }\n\n public ZonedDateTime getUpdatedDate() {\n return updatedDate;\n }\n\n public void setUpdatedDate(ZonedDateTime updatedDate) {\n this.updatedDate = updatedDate;\n }\n\n public void setCreationDate(ZonedDateTime creationDate) {\n this.creationDate = creationDate;\n }\n\n public String getContent() {\n return content;\n }\n\n public void setContent(String content) {\n this.content = content;\n }\n\n public UserRole getAuthorRole() {\n return authorRoleTransient;\n }\n\n public void setAuthorRole(UserRole authorRole) {\n this.authorRoleTransient = authorRole;\n }\n\n public abstract Set getReactions();\n\n public abstract void setReactions(Set reactions);\n\n public void addReaction(Reaction reaction) {\n getReactions().add(reaction);\n }\n\n public void removeReaction(Reaction reaction) {\n getReactions().remove(reaction);\n }\n\n @Transient\n @Nullable\n public abstract Course getCoursePostingBelongsTo();\n\n public abstract Conversation getConversation();\n}\n" +} diff --git a/web/public/bundles/artemis/code/b349f983dcaad12550526d0b47490ee2238a96d3.json b/web/public/bundles/artemis/code/b349f983dcaad12550526d0b47490ee2238a96d3.json new file mode 100644 index 00000000..e3bee7de --- /dev/null +++ b/web/public/bundles/artemis/code/b349f983dcaad12550526d0b47490ee2238a96d3.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b349f983dcaad12550526d0b47490ee2238a96d3", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/core/dto/UserDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.core.dto;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.USERNAME_MAX_LENGTH;\nimport static de.tum.cit.aet.artemis.core.config.Constants.USERNAME_MIN_LENGTH;\n\nimport java.time.ZonedDateTime;\nimport java.util.HashSet;\nimport java.util.List;\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\nimport jakarta.validation.constraints.Email;\nimport jakarta.validation.constraints.NotBlank;\nimport jakarta.validation.constraints.Pattern;\nimport jakarta.validation.constraints.Size;\n\nimport org.hibernate.Hibernate;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\nimport com.fasterxml.jackson.annotation.JsonProperty;\n\nimport de.tum.cit.aet.artemis.account.domain.Authority;\nimport de.tum.cit.aet.artemis.account.domain.Organization;\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.account.dto.OrganizationDTO;\nimport de.tum.cit.aet.artemis.admin.dto.AuditingEntityDTO;\nimport de.tum.cit.aet.artemis.core.config.Constants;\nimport de.tum.cit.aet.artemis.core.domain.AiSelectionDecision;\nimport de.tum.cit.aet.artemis.core.domain.UserCourseRole;\n\n/**\n * A DTO representing a user, with their authorities.\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic class UserDTO extends AuditingEntityDTO {\n\n private static final boolean DEFAULT_IS_LOGGED_IN_WITH_PASSKEY = false;\n\n private static final boolean DEFAULT_IS_SUPER_ADMIN_APPROVED = false;\n\n private Long id;\n\n @NotBlank\n @Pattern(regexp = Constants.LOGIN_REGEX)\n @Size(min = USERNAME_MIN_LENGTH, max = USERNAME_MAX_LENGTH)\n private String login;\n\n @Size(max = 101)\n private String name;\n\n @Size(max = 50)\n private String firstName;\n\n @Size(max = 50)\n private String lastName;\n\n @Email\n @Size(min = 5, max = 100)\n private String email;\n\n private String visibleRegistrationNumber;\n\n @Size(max = 256)\n private String imageUrl;\n\n private boolean activated = false;\n\n @Size(min = 2, max = 6)\n private String langKey;\n\n private boolean internal;\n\n /**\n * Marks accounts used only for testing/load-testing (e.g. QA or synthetic users). These are excluded from usage statistics.\n * The wire name is pinned so that it matches {@link StudentDTO#isTestUser()} used by the user CSV import.\n */\n @JsonProperty(\"isTestUser\")\n private boolean isTestUser;\n\n private Set authorities = new HashSet<>();\n\n private List courseRoles;\n\n private Set organizations;\n\n private ZonedDateTime vcsAccessTokenExpiryDate;\n\n /**\n * True if\n *

    \n *
  • No passkey has been registered for this user yet
  • \n *
  • and the passkey feature is enabled
  • \n *
  • and artemis.user-management.passkey.ask-users-to-setup is set to true
  • \n *
\n */\n private boolean askToSetupPasskey = false;\n\n private ZonedDateTime selectedLLMUsageTimestamp;\n\n private AiSelectionDecision selectedLLMUsage;\n\n private boolean isLoggedInWithPasskey = DEFAULT_IS_LOGGED_IN_WITH_PASSKEY;\n\n private boolean isPasskeySuperAdminApproved = DEFAULT_IS_SUPER_ADMIN_APPROVED;\n\n public UserDTO() {\n // Empty constructor needed for Jackson.\n }\n\n public UserDTO(User user) {\n this.id = user.getId();\n this.login = user.getLogin();\n this.name = user.getName();\n this.firstName = user.getFirstName();\n this.lastName = user.getLastName();\n this.email = user.getEmail();\n this.visibleRegistrationNumber = user.getVisibleRegistrationNumber();\n this.activated = user.getActivated();\n this.imageUrl = user.getImageUrl();\n this.langKey = user.getLangKey();\n this.internal = user.isInternal();\n this.isTestUser = user.isTestUser();\n this.setCreatedBy(user.getCreatedBy());\n this.setCreatedDate(user.getCreatedDate());\n this.setLastModifiedBy(user.getLastModifiedBy());\n this.setLastModifiedDate(user.getLastModifiedDate());\n Set authorities = user.getAuthorities();\n if (authorities != null && Hibernate.isInitialized(authorities)) {\n this.authorities = authorities.stream().map(Authority::getName).collect(Collectors.toSet());\n }\n Set userCourseRoles = user.getCourseRoles();\n // getCourseRoles() returns an unmodifiable wrapper, which is never a PersistentSet and would always report as\n // initialised, so ask the entity about the underlying collection instead.\n if (user.isCourseRolesLoaded()) {\n this.courseRoles = userCourseRoles.stream()\n .collect(Collectors.groupingBy(ucr -> ucr.getCourse().getId(), Collectors.mapping(UserCourseRole::getRole, Collectors.toSet()))).entrySet().stream()\n .map(e -> new CourseAccessRightsDTO(e.getKey(), e.getValue())).toList();\n }\n Set organizations = user.getOrganizations();\n if (organizations != null && Hibernate.isInitialized(organizations)) {\n this.organizations = organizations.stream().map(OrganizationDTO::of).collect(Collectors.toSet());\n }\n // The AI preferences live in user_ai_preference, so they are set by the endpoints that actually surface them\n // rather than read off the user here.\n }\n\n public Long getId() {\n return id;\n }\n\n public void setId(Long id) {\n this.id = id;\n }\n\n public String getLogin() {\n return login;\n }\n\n public void setLogin(String login) {\n this.login = login;\n }\n\n public String getName() {\n return name;\n }\n\n public void setName(String name) {\n this.name = name;\n }\n\n public String getFirstName() {\n return firstName;\n }\n\n public void setFirstName(String firstName) {\n this.firstName = firstName;\n }\n\n public String getLastName() {\n return lastName;\n }\n\n public void setLastName(String lastName) {\n this.lastName = lastName;\n }\n\n public String getEmail() {\n return email;\n }\n\n public void setEmail(String email) {\n this.email = email;\n }\n\n public String getVisibleRegistrationNumber() {\n return visibleRegistrationNumber;\n }\n\n public void setVisibleRegistrationNumber(String visibleRegistrationNumber) {\n this.visibleRegistrationNumber = visibleRegistrationNumber;\n }\n\n public String getImageUrl() {\n return imageUrl;\n }\n\n public void setImageUrl(String imageUrl) {\n this.imageUrl = imageUrl;\n }\n\n public boolean isActivated() {\n return activated;\n }\n\n public void setActivated(boolean activated) {\n this.activated = activated;\n }\n\n public String getLangKey() {\n return langKey;\n }\n\n public void setLangKey(String langKey) {\n this.langKey = langKey;\n }\n\n public Set getAuthorities() {\n return authorities;\n }\n\n public void setAuthorities(Set authorities) {\n this.authorities = authorities;\n }\n\n public List getCourseRoles() {\n return courseRoles;\n }\n\n public void setCourseRoles(List courseRoles) {\n this.courseRoles = courseRoles;\n }\n\n public Set getOrganizations() {\n return organizations;\n }\n\n public void setOrganizations(Set organizations) {\n this.organizations = organizations;\n }\n\n public void setVcsAccessTokenExpiryDate(ZonedDateTime zoneDateTime) {\n this.vcsAccessTokenExpiryDate = zoneDateTime;\n }\n\n public ZonedDateTime getVcsAccessTokenExpiryDate() {\n return vcsAccessTokenExpiryDate;\n }\n\n public void setAskToSetupPasskey(boolean askToSetupPasskey) {\n this.askToSetupPasskey = askToSetupPasskey;\n }\n\n public boolean getAskToSetupPasskey() {\n return askToSetupPasskey;\n }\n\n public boolean isLoggedInWithPasskey() {\n return isLoggedInWithPasskey;\n }\n\n public void setLoggedInWithPasskey(boolean isLoggedInWithPasskey) {\n this.isLoggedInWithPasskey = isLoggedInWithPasskey;\n }\n\n public boolean isPasskeySuperAdminApproved() {\n return isPasskeySuperAdminApproved;\n }\n\n public void setPasskeySuperAdminApproved(boolean isPasskeySuperAdminApproved) {\n this.isPasskeySuperAdminApproved = isPasskeySuperAdminApproved;\n }\n\n public boolean isInternal() {\n return internal;\n }\n\n public void setInternal(boolean internal) {\n this.internal = internal;\n }\n\n public boolean isTestUser() {\n return isTestUser;\n }\n\n public void setTestUser(boolean isTestUser) {\n this.isTestUser = isTestUser;\n }\n\n public AiSelectionDecision getSelectedLLMUsage() {\n return selectedLLMUsage;\n }\n\n public void setSelectedLLMUsage(AiSelectionDecision selectedLLMUsage) {\n this.selectedLLMUsage = selectedLLMUsage;\n }\n\n public ZonedDateTime getSelectedLLMUsageTimestamp() {\n return selectedLLMUsageTimestamp;\n }\n\n public void setSelectedLLMUsageTimestamp(ZonedDateTime selectedLLMUsageTimestamp) {\n this.selectedLLMUsageTimestamp = selectedLLMUsageTimestamp;\n }\n\n @Override\n public String toString() {\n return \"UserDTO{\" + \"login='\" + login + '\\'' + \", firstName='\" + firstName + '\\'' + \", lastName='\" + lastName + '\\'' + \", email='\" + email + '\\'' + \", imageUrl='\"\n + imageUrl + '\\'' + \", activated=\" + activated + \", langKey='\" + langKey + '\\'' + \", createdBy=\" + getCreatedBy() + \", createdDate=\" + getCreatedDate()\n + \", lastModifiedBy='\" + getLastModifiedBy() + '\\'' + \", lastModifiedDate=\" + getLastModifiedDate() + \", isLoggedInWithPasskey=\" + isLoggedInWithPasskey\n + \", authorities=\" + authorities + \", isPasskeySuperAdminApproved=\" + isPasskeySuperAdminApproved + \"}\";\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/b529b75e55a974e604b3673b464733e19cc46bef.json b/web/public/bundles/artemis/code/b529b75e55a974e604b3673b464733e19cc46bef.json new file mode 100644 index 00000000..9d9bad3d --- /dev/null +++ b/web/public/bundles/artemis/code/b529b75e55a974e604b3673b464733e19cc46bef.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b529b75e55a974e604b3673b464733e19cc46bef", + "language": "typescript", + "path": "src/main/webapp/app/course/overview/course-settings/notification-settings/notification-settings.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, OnDestroy, inject, signal } from '@angular/core';\nimport { CourseSettingCategoryDirective } from 'app/course/overview/course-settings/directive/course-setting-category.directive';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { faBell, faSpinner } from '@fortawesome/free-solid-svg-icons';\nimport { CourseNotificationSettingPreset } from 'app/notification/shared/entities/course-notification/course-notification-setting-preset';\nimport { CourseNotificationPresetPickerComponent } from 'app/notification/course-notification/course-notification-preset-picker/course-notification-preset-picker.component';\nimport { CourseNotificationSettingSpecification } from 'app/notification/shared/entities/course-notification/course-notification-setting-specification';\nimport { CourseNotificationSettingSpecificationCardComponent } from 'app/notification/course-notification/course-notification-setting-specification-card/course-notification-setting-specification-card.component';\nimport { CourseNotificationSettingService } from 'app/notification/course-notification/course-notification-setting.service';\nimport { CourseNotificationService } from 'app/notification/course-notification/course-notification.service';\nimport { CourseNotificationInfo } from 'app/notification/shared/entities/course-notification/course-notification-info';\nimport { CourseNotificationSettingInfo } from 'app/notification/shared/entities/course-notification/course-notification-setting-info';\nimport { CourseNotificationSettingsMap } from 'app/notification/shared/entities/course-notification/course-notification-settings-map';\nimport { AccountService } from 'app/core/auth/account.service';\n\n/**\n * Component that manages notification settings for a course.\n * Extends CourseSettingCategoryDirective to integrate with the course settings framework.\n */\n@Component({\n selector: 'jhi-notification-settings',\n imports: [TranslateDirective, FaIconComponent, CourseNotificationPresetPickerComponent, CourseNotificationSettingSpecificationCardComponent],\n templateUrl: './notification-settings.component.html',\n})\nexport class NotificationSettingsComponent extends CourseSettingCategoryDirective implements OnDestroy {\n protected readonly courseNotificationSettingService: CourseNotificationSettingService = inject(CourseNotificationSettingService);\n protected readonly courseNotificationService: CourseNotificationService = inject(CourseNotificationService);\n private readonly accountService = inject(AccountService);\n\n // Icons\n protected readonly faBell = faBell;\n protected readonly faSpinner = faSpinner;\n\n protected readonly selectableSettingPresets = signal(undefined!);\n protected readonly selectedSettingPreset = signal(undefined);\n protected readonly isLoading = signal(true);\n protected settingInfo?: CourseNotificationSettingInfo;\n protected info?: CourseNotificationInfo;\n protected readonly notificationSpecifications = signal([]);\n\n constructor() {\n super();\n }\n\n /**\n * Initializes component values once both settingInfo and info are available.\n * Sets up selectable presets, current preset, and notification specifications.\n */\n initializeValues() {\n this.selectableSettingPresets.set(this.info!.presets);\n\n this.selectedSettingPreset.set(\n this.settingInfo!.selectedPreset === 0 ? undefined : this.selectableSettingPresets().find((preset) => preset.typeId === this.settingInfo!.selectedPreset)!,\n );\n\n if (this.settingInfo!.selectedPreset === 0) {\n this.updateSpecificationArrayByNotificationMap(this.settingInfo!.notificationTypeChannels, this.settingInfo!.notificationTypeChannels[1] === undefined);\n } else if (this.settingInfo!.selectedPreset !== 0) {\n this.updateSpecificationArrayByNotificationMap(this.selectedSettingPreset()!.presetMap, true);\n }\n\n this.isLoading.set(false);\n }\n\n /**\n * Handles selection of a notification preset.\n * Updates UI and schedules settings update to server with debouncing.\n *\n * @param presetTypeId - The ID of the selected preset (0 for custom settings)\n */\n presetSelected(presetTypeId: number) {\n this.selectedSettingPreset.set(presetTypeId === 0 ? undefined : this.selectableSettingPresets().find((preset) => preset.typeId === presetTypeId)!);\n\n this.courseNotificationSettingService.setSettingPreset(this.courseId, presetTypeId, this.selectedSettingPreset());\n }\n\n /**\n * Handles changes to individual notification settings.\n * Resets selected preset to custom and schedules settings update with debouncing.\n *\n * @param specification - The notification specification that was changed\n */\n optionChanged(specification: CourseNotificationSettingSpecification) {\n this.courseNotificationSettingService.setSettingSpecification(this.courseId, specification, this.selectedSettingPreset());\n\n this.selectedSettingPreset.set(undefined);\n }\n\n /**\n * Lifecycle hook from CourseSettingCategoryDirective.\n * Called when the course information becomes available.\n * Empty implementation as initialization is handled in onCourseIdAvailable.\n */\n onCourseAvailable(): void {}\n\n /**\n * Lifecycle hook from CourseSettingCategoryDirective.\n * Called when the course ID becomes available.\n * Fetches notification settings and info from the server.\n */\n onCourseIdAvailable(): void {\n this.courseNotificationSettingService.getSettingInfo(this.courseId, true).subscribe((settingInfo) => {\n if (settingInfo) {\n this.settingInfo = settingInfo;\n\n if (this.info) {\n this.initializeValues();\n }\n }\n });\n\n this.courseNotificationService.getInfo().subscribe((info) => {\n if (info.body) {\n this.info = info.body;\n\n if (this.settingInfo) {\n this.initializeValues();\n }\n }\n });\n }\n\n override ngOnDestroy() {\n super.ngOnDestroy();\n }\n\n /**\n * Creates notification specifications from a notification map.\n * Used to update the UI based on either user selections or preset values.\n * Instructor-only notification types are left out for users below instructor in this course.\n *\n * @param notificationMap - Map of notification types to channel settings\n * @param useValue - Whether to use the value (true) or key (false) as the lookup in the map\n */\n private updateSpecificationArrayByNotificationMap(notificationMap: CourseNotificationSettingsMap, useValue: boolean) {\n const notificationSpecifications: CourseNotificationSettingSpecification[] = [];\n const isInstructor = this.accountService.isAtLeastInstructorInCourseWithId(this.courseId);\n Object.entries(this.info!.notificationTypes).forEach(([key, value]) => {\n if (!isInstructor && CourseNotificationService.INSTRUCTOR_ONLY_NOTIFICATION_TYPES.includes(value)) {\n return;\n }\n notificationSpecifications.push(new CourseNotificationSettingSpecification(value, Number(key), notificationMap[useValue ? value : key]));\n });\n this.notificationSpecifications.set(notificationSpecifications);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/b63f64505c0b63725753fd213f139eca397604cb.json b/web/public/bundles/artemis/code/b63f64505c0b63725753fd213f139eca397604cb.json new file mode 100644 index 00000000..6c58e703 --- /dev/null +++ b/web/public/bundles/artemis/code/b63f64505c0b63725753fd213f139eca397604cb.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b63f64505c0b63725753fd213f139eca397604cb", + "language": "typescript", + "path": "src/main/webapp/app/exam/shared/entities/exam-user.model.ts", + "schema": "codexray.code/1", + "text": "import { User } from 'app/account/user/user.model';\nimport { Exam } from 'app/exam/shared/entities/exam.model';\nimport { BaseEntity } from 'app/foundation/model/base-entity';\n\nexport class ExamUser implements BaseEntity {\n public id?: number;\n public actualRoom?: string;\n public actualSeat?: string;\n public plannedRoom?: string;\n public plannedSeat?: string;\n public signingImagePath?: string;\n public studentImagePath?: string;\n public didCheckImage = false; // default value\n public didCheckName = false; // default value\n public didCheckLogin = false; // default value\n public didCheckRegistrationNumber = false; // default value\n public user?: User;\n public exam?: Exam;\n\n // helper attributes\n public didExamUserAttendExam?: boolean;\n\n constructor() {\n this.didExamUserAttendExam = false;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/b845e457abd07d87b1f25c15a962860e87ff3fad.json b/web/public/bundles/artemis/code/b845e457abd07d87b1f25c15a962860e87ff3fad.json new file mode 100644 index 00000000..cb5c8f99 --- /dev/null +++ b/web/public/bundles/artemis/code/b845e457abd07d87b1f25c15a962860e87ff3fad.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b845e457abd07d87b1f25c15a962860e87ff3fad", + "language": "typescript", + "path": "src/main/webapp/app/tutorialgroup/shared/service/tutorial-group-course-and-group.service.ts", + "schema": "codexray.code/1", + "text": "import { DestroyRef, Service, inject, signal } from '@angular/core';\nimport { TutorialGroupDetailData } from 'app/tutorialgroup/shared/entities/tutorial-group.model';\nimport { TutorialGroupSession } from 'app/tutorialgroup/shared/entities/tutorial-group-session.model';\nimport { map } from 'rxjs/operators';\nimport { Course } from 'app/course/shared/entities/course.model';\nimport { AlertService } from 'app/foundation/service/alert.service';\nimport { CourseManagementService } from 'app/course/manage/services/course-management.service';\nimport { TutorialGroupApi } from 'app/openapi/api/tutorial-group-api';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { Subscription } from 'rxjs';\nimport { EntityTitleService, EntityType } from 'app/core/navbar/entity-title.service';\nimport { cloneWith } from 'app/foundation/util/deep-clone.util';\nimport { AccountService } from 'app/core/auth/account.service';\n\n@Service()\nexport class TutorialGroupCourseAndGroupService {\n private tutorialGroupApiService = inject(TutorialGroupApi);\n private courseManagementService = inject(CourseManagementService);\n private alertService = inject(AlertService);\n private entityTitleService = inject(EntityTitleService);\n private destroyRef = inject(DestroyRef);\n private accountService = inject(AccountService);\n\n private groupRequest?: Subscription;\n private courseRequest?: Subscription;\n\n isTutorialGroupLoading = signal(false);\n tutorialGroup = signal(undefined);\n isCourseLoading = signal(false);\n course = signal(undefined);\n\n constructor() {\n let currentUserId = this.accountService.userIdentity()?.id;\n this.accountService\n .getAuthenticationState()\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe((user) => {\n if (currentUserId === user?.id) return;\n currentUserId = user?.id;\n this.groupRequest?.unsubscribe();\n this.courseRequest?.unsubscribe();\n this.tutorialGroup.set(undefined);\n this.course.set(undefined);\n this.isTutorialGroupLoading.set(false);\n this.isCourseLoading.set(false);\n });\n }\n\n toggleCancellationStatusOfSession(sessionId: number) {\n this.tutorialGroup.update((tutorialGroup) => {\n if (!tutorialGroup) return tutorialGroup;\n return cloneWith(tutorialGroup, {\n sessions: tutorialGroup.sessions.map((session) => (session.id !== sessionId ? session : cloneWith(session, { isCancelled: !session.isCancelled }))),\n });\n });\n }\n\n insertSession(sessionToInsert: TutorialGroupSession) {\n this.tutorialGroup.update((tutorialGroup) => {\n if (!tutorialGroup) return tutorialGroup;\n\n const sessions = [...tutorialGroup.sessions];\n const existingSessionIndex = sessions.findIndex((session) => session.id === sessionToInsert.id);\n\n if (existingSessionIndex !== -1) {\n sessions.splice(existingSessionIndex, 1);\n }\n\n const insertIndex = sessions.findIndex((session) => sessionToInsert.start.isBefore(session.start));\n if (insertIndex === -1) {\n sessions.push(sessionToInsert);\n } else {\n sessions.splice(insertIndex, 0, sessionToInsert);\n }\n\n return cloneWith(tutorialGroup, { sessions });\n });\n }\n\n fetchTutorialGroup(courseId: number, tutorialGroupId: number) {\n this.groupRequest?.unsubscribe();\n this.tutorialGroup.set(undefined);\n this.isTutorialGroupLoading.set(true);\n this.groupRequest = this.tutorialGroupApiService\n .getTutorialGroup(courseId, tutorialGroupId)\n .pipe(\n map((tutorialGroupDetail) => new TutorialGroupDetailData(tutorialGroupDetail)),\n takeUntilDestroyed(this.destroyRef),\n )\n .subscribe({\n next: (dto) => {\n this.tutorialGroup.set(dto);\n this.entityTitleService.setTitle(EntityType.TUTORIAL_GROUP, [dto.id], dto.title);\n this.isTutorialGroupLoading.set(false);\n },\n error: () => {\n this.alertService.addErrorAlert('artemisApp.services.tutorialGroupCourseAndGroupService.networkError.fetchGroup');\n this.isTutorialGroupLoading.set(false);\n },\n });\n }\n\n fetchCourse(courseId: number) {\n this.courseRequest?.unsubscribe();\n this.isCourseLoading.set(true);\n this.courseRequest = this.courseManagementService\n .find(courseId)\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe({\n next: (response) => {\n const course = response.body;\n if (course) {\n this.course.set(course);\n } else {\n this.alertService.addErrorAlert('artemisApp.services.tutorialGroupCourseAndGroupService.networkError.fetchCourse');\n }\n this.isCourseLoading.set(false);\n },\n error: () => {\n this.alertService.addErrorAlert('artemisApp.services.tutorialGroupCourseAndGroupService.networkError.fetchCourse');\n this.isCourseLoading.set(false);\n },\n });\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/bb6966452fef1da9517e6cb5aff8f66aeca8b065.json b/web/public/bundles/artemis/code/bb6966452fef1da9517e6cb5aff8f66aeca8b065.json new file mode 100644 index 00000000..2f4e3ade --- /dev/null +++ b/web/public/bundles/artemis/code/bb6966452fef1da9517e6cb5aff8f66aeca8b065.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "bb6966452fef1da9517e6cb5aff8f66aeca8b065", + "language": "typescript", + "path": "src/main/webapp/app/tutorialgroup/manage/tutorial-groups-configuration/crud/edit-tutorial-groups-configuration/edit-tutorial-groups-configuration.component.ts", + "schema": "codexray.code/1", + "text": "import { ChangeDetectionStrategy, Component, OnDestroy, OnInit, inject, signal } from '@angular/core';\nimport { TutorialGroupsConfigurationFormData } from 'app/tutorialgroup/manage/tutorial-groups-configuration/crud/tutorial-groups-configuration-form/tutorial-groups-configuration-form.component';\nimport { AlertService } from 'app/foundation/service/alert.service';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { onError } from 'app/foundation/util/global.utils';\nimport { Subject, combineLatest } from 'rxjs';\nimport { finalize, switchMap, take, takeUntil } from 'rxjs/operators';\nimport { HttpErrorResponse } from '@angular/common/http';\nimport { Course } from 'app/course/shared/entities/course.model';\nimport { CourseStorageService } from 'app/course/manage/services/course-storage.service';\nimport { LoadingIndicatorContainerComponent } from 'app/shared-ui/loading-indicator-container/loading-indicator-container.component';\nimport { TutorialGroupsConfigurationFormComponent } from '../tutorial-groups-configuration-form/tutorial-groups-configuration-form.component';\nimport { TutorialGroupsConfigurationService, TutorialGroupsConfigurationSettings } from 'app/tutorialgroup/manage/service/tutorial-groups-configuration.service';\nimport { tutorialGroupsConfigurationSaveObserver } from '../tutorial-groups-configuration-save.util';\nimport { TutorialGroupConfiguration } from 'app/openapi/model/tutorial-group-configuration';\nimport dayjs from 'dayjs/esm';\n\n@Component({\n selector: 'jhi-edit-tutorial-groups-configuration',\n templateUrl: './edit-tutorial-groups-configuration.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [LoadingIndicatorContainerComponent, TutorialGroupsConfigurationFormComponent],\n})\nexport class EditTutorialGroupsConfigurationComponent implements OnInit, OnDestroy {\n private activatedRoute = inject(ActivatedRoute);\n private router = inject(Router);\n private tutorialGroupsConfigurationService = inject(TutorialGroupsConfigurationService);\n private courseStorageService = inject(CourseStorageService);\n private alertService = inject(AlertService);\n\n ngUnsubscribe = new Subject();\n\n readonly isLoading = signal(false);\n tutorialGroupsConfiguration!: TutorialGroupConfiguration; // set from the server response in ngOnInit before any user-triggered read\n readonly formData = signal(undefined!);\n readonly course = signal(undefined!);\n tutorialGroupConfigurationId!: number; // set from the route param in ngOnInit before any user-triggered read\n\n ngOnInit(): void {\n this.isLoading.set(true);\n combineLatest([this.activatedRoute.paramMap, this.activatedRoute.data])\n .pipe(\n take(1),\n switchMap(([params, { course }]) => {\n this.tutorialGroupConfigurationId = Number(params.get('tutorialGroupsConfigurationId'));\n this.course.set(course);\n return this.tutorialGroupsConfigurationService.getOneOfCourse(this.course().id!);\n }),\n finalize(() => this.isLoading.set(false)),\n takeUntil(this.ngUnsubscribe),\n )\n .subscribe({\n next: (configuration) => {\n if (configuration) {\n this.tutorialGroupsConfiguration = configuration;\n this.formData.set({\n period: [\n dayjs(this.tutorialGroupsConfiguration.tutorialPeriodStartInclusive).toDate(),\n dayjs(this.tutorialGroupsConfiguration.tutorialPeriodEndInclusive).toDate(),\n ],\n useTutorialGroupChannels: this.tutorialGroupsConfiguration.useTutorialGroupChannels,\n usePublicTutorialGroupChannels: this.tutorialGroupsConfiguration.usePublicTutorialGroupChannels,\n });\n }\n },\n error: (res: HttpErrorResponse) => onError(this.alertService, res),\n });\n }\n\n ngOnDestroy(): void {\n this.ngUnsubscribe.next();\n this.ngUnsubscribe.complete();\n }\n\n updateTutorialGroupsConfiguration(formData: TutorialGroupsConfigurationSettings) {\n this.isLoading.set(true);\n this.tutorialGroupsConfigurationService\n .update(this.course().id!, this.tutorialGroupConfigurationId, this.tutorialGroupsConfiguration.tutorialGroupFreePeriods ?? [], formData)\n .pipe(\n finalize(() => {\n this.isLoading.set(false);\n }),\n takeUntil(this.ngUnsubscribe),\n )\n .subscribe(tutorialGroupsConfigurationSaveObserver(this.course, this.courseStorageService, this.router, this.alertService, 'tutorial-groups'));\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/bb727d0b96dd0b7681a2c484eb19dea6c05b8049.json b/web/public/bundles/artemis/code/bb727d0b96dd0b7681a2c484eb19dea6c05b8049.json new file mode 100644 index 00000000..aab2eca6 --- /dev/null +++ b/web/public/bundles/artemis/code/bb727d0b96dd0b7681a2c484eb19dea6c05b8049.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "bb727d0b96dd0b7681a2c484eb19dea6c05b8049", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/StudentDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exercise.dto;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\n\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record StudentDTO(long id, String login, String firstName, String lastName, String name, String registrationNumber, // null if not provided\n String email) {\n\n public StudentDTO(long id, String login, String firstName, String lastName, String registrationNumber, String email) {\n this(id, login, firstName, lastName, User.displayName(firstName, lastName, login), registrationNumber, email);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/bb87f35a842949f4d3992c3d0c9e67d7783eebf7.json b/web/public/bundles/artemis/code/bb87f35a842949f4d3992c3d0c9e67d7783eebf7.json new file mode 100644 index 00000000..88c30fd4 --- /dev/null +++ b/web/public/bundles/artemis/code/bb87f35a842949f4d3992c3d0c9e67d7783eebf7.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "bb87f35a842949f4d3992c3d0c9e67d7783eebf7", + "language": "typescript", + "path": "src/main/webapp/app/exercise/exercise-action-bar/exercise-action-bar.model.ts", + "schema": "codexray.code/1", + "text": "import { IconProp } from '@fortawesome/fontawesome-svg-core';\nimport { Observable } from 'rxjs';\nimport { ActionType, EntitySummaryCategory } from 'app/shared-ui/delete-dialog/delete-dialog.model';\n\n/** The kit button severities the action buttons use (a subset of `TumAetUiButtonSeverity`). */\nexport type ActionSeverity = 'primary' | 'secondary' | 'success' | 'warn' | 'danger';\n\n/** Everything a `[jhiDeleteButton]` action needs, gathered here so the bar can render it from data alone. */\nexport interface DeleteActionConfig {\n /** What the confirmation dialog confirms; deletion unless set, e.g. ending a quiz now. */\n actionType?: ActionType;\n entityTitle: string;\n deleteQuestion: string;\n deleteConfirmationText: string;\n entitySummaryTitle?: string;\n fetchCategorizedEntitySummary?: Observable;\n translateValues?: { [key: string]: unknown };\n additionalChecks?: { [key: string]: string };\n dialogError: Observable;\n onDelete: (event: { [key: string]: boolean }) => void;\n}\n\n/** A single collapsible action rendered in the {@link ExerciseActionBarComponent}'s row or its ellipsis overflow menu. */\nexport interface ActionItem {\n id: string;\n /** i18n key for the button label, resolved via the `artemisTranslate` pipe. */\n labelKey: string;\n icon: IconProp;\n severity: ActionSeverity;\n kind: 'link' | 'button' | 'delete';\n link?: (string | number)[];\n onClick?: () => void;\n /** When true the action is rendered greyed-out and non-interactive (links become non-navigable, buttons disabled). */\n disabled?: boolean;\n /** i18n key for the tooltip shown on a disabled action. */\n disabledTooltip?: string;\n /** Required when `kind === 'delete'`: everything the `[jhiDeleteButton]` directive needs. */\n delete?: DeleteActionConfig;\n}\n" +} diff --git a/web/public/bundles/artemis/code/bbc6d72cf721b8fce5806b6db17044efbaf15db5.json b/web/public/bundles/artemis/code/bbc6d72cf721b8fce5806b6db17044efbaf15db5.json new file mode 100644 index 00000000..649d68dc --- /dev/null +++ b/web/public/bundles/artemis/code/bbc6d72cf721b8fce5806b6db17044efbaf15db5.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "bbc6d72cf721b8fce5806b6db17044efbaf15db5", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/dto/TextSubmissionDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.athena.dto;\n\nimport java.util.Objects;\n\nimport jakarta.validation.constraints.NotNull;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.text.domain.TextSubmission;\n\n/**\n * A DTO representing a TextSubmission, for transferring data to Athena\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record TextSubmissionDTO(long id, long exerciseId, @JsonInclude String text, String language) implements SubmissionBaseDTO {\n\n /**\n * Creates a new TextSubmissionDTO from a TextSubmission. The DTO also contains the exerciseId of the exercise the submission belongs to.\n *\n * @param exerciseId The id of the exercise the submission belongs to\n * @param submission The submission to create the DTO from\n * @return The created DTO\n */\n public static TextSubmissionDTO of(long exerciseId, @NotNull TextSubmission submission) {\n String language = null;\n if (submission.getLanguage() != null) {\n language = submission.getLanguage().toString();\n }\n return new TextSubmissionDTO(submission.getId(), exerciseId, Objects.requireNonNullElse(submission.getText(), \"\"), language);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/bc262a37b1507df654b5d14da12560b6e1bb5744.json b/web/public/bundles/artemis/code/bc262a37b1507df654b5d14da12560b6e1bb5744.json new file mode 100644 index 00000000..22fbb63c --- /dev/null +++ b/web/public/bundles/artemis/code/bc262a37b1507df654b5d14da12560b6e1bb5744.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "bc262a37b1507df654b5d14da12560b6e1bb5744", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/dto/CourseFinishedBuildJobDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.localci.dto;\n\nimport java.time.ZonedDateTime;\nimport java.util.List;\nimport java.util.regex.Matcher;\nimport java.util.regex.Pattern;\n\nimport org.apache.commons.lang3.StringUtils;\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.buildagent.dto.BuildAgentInformation;\nimport de.tum.cit.aet.artemis.buildagent.dto.BuildJobDTO;\nimport de.tum.cit.aet.artemis.buildagent.dto.FinishedBuildJobDTO;\nimport de.tum.cit.aet.artemis.programming.domain.RepositoryType;\nimport de.tum.cit.aet.artemis.programming.domain.build.BuildStatus;\n\n/**\n * A finished build job as shown to the instructors of a course. Instead of the network address of the build agent it carries the display name of the agent, as recorded when the\n * job finished.\n *\n * @param id the unique identifier of the build job\n * @param name the name of the build job\n * @param buildAgentDisplayName the display name of the build agent that processed the job, null if no name was recorded and the agent is no longer known\n * @param participationId the participation the job belongs to\n * @param courseId the course the job belongs to\n * @param exerciseId the exercise the job belongs to\n * @param status the status of the job\n * @param repositoryType the type of the repository\n * @param repositoryName the name of the repository\n * @param triggeredByPushTo the repository whose push triggered the job\n * @param buildSubmissionDate when the job was submitted\n * @param buildStartDate when the build started\n * @param buildCompletionDate when the build finished\n * @param commitHash the commit that was built\n * @param submissionResult the result of the build\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record CourseFinishedBuildJobDTO(String id, String name, @Nullable String buildAgentDisplayName, long participationId, long courseId, long exerciseId, BuildStatus status,\n RepositoryType repositoryType, String repositoryName, RepositoryType triggeredByPushTo, ZonedDateTime buildSubmissionDate, ZonedDateTime buildStartDate,\n ZonedDateTime buildCompletionDate, String commitHash, FinishedBuildJobDTO.ResultDTO submissionResult) implements BuildJobDTO {\n\n private static final Pattern MEMBER_ADDRESS = Pattern.compile(\"\\\\[(.+)]:\\\\d+\");\n\n /**\n * Converts a finished build job into its course view.\n *\n * @param job the finished build job\n * @param agents the build agents that are currently known, used to resolve names for legacy jobs that have no recorded name\n * @return the DTO without the address of the build agent\n */\n public static CourseFinishedBuildJobDTO of(FinishedBuildJobDTO job, List agents) {\n String host = hostOf(job.buildAgentAddress());\n String displayName = job.buildAgentDisplayName();\n if (StringUtils.isBlank(displayName) && host != null) {\n displayName = agents.stream().filter(agent -> agent.buildAgent() != null && host.equals(hostOf(agent.buildAgent().memberAddress())))\n .map(agent -> StringUtils.defaultIfBlank(agent.buildAgent().displayName(), agent.buildAgent().name())).findFirst().orElse(null);\n }\n return new CourseFinishedBuildJobDTO(job.id(), job.name(), displayName, job.participationId(), job.courseId(), job.exerciseId(), job.status(), job.repositoryType(),\n job.repositoryName(), job.triggeredByPushTo(), job.buildSubmissionDate(), job.buildStartDate(), job.buildCompletionDate(), job.commitHash(),\n job.submissionResult());\n }\n\n /**\n * The port of a member address changes when an agent reconnects, so agents are matched by their host.\n */\n @Nullable\n private static String hostOf(@Nullable String address) {\n if (address == null || address.isBlank()) {\n return null;\n }\n Matcher matcher = MEMBER_ADDRESS.matcher(address);\n if (matcher.matches()) {\n return matcher.group(1);\n }\n int portSeparator = address.lastIndexOf(':');\n return portSeparator > 0 && address.indexOf(':') == portSeparator ? address.substring(0, portSeparator) : address;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/bc2c1d801843d03b67d81823e24ef11fbadc693c.json b/web/public/bundles/artemis/code/bc2c1d801843d03b67d81823e24ef11fbadc693c.json new file mode 100644 index 00000000..bd529b8c --- /dev/null +++ b/web/public/bundles/artemis/code/bc2c1d801843d03b67d81823e24ef11fbadc693c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "bc2c1d801843d03b67d81823e24ef11fbadc693c", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/conduction/FileUploadExerciseForConductionDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exam.dto.conduction;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.fileupload.domain.FileUploadExercise;\n\n/**\n * File-upload-exercise-specific fields carried in the conduction payload (unwrapped into the exercise object). The\n * example solution is already stripped from the entity before this factory runs.\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record FileUploadExerciseForConductionDTO(String filePattern) {\n\n /**\n * Extracts the file-upload-specific fields.\n *\n * @param fileUploadExercise the file upload exercise to convert\n * @return the file-upload-specific fields\n */\n public static FileUploadExerciseForConductionDTO of(FileUploadExercise fileUploadExercise) {\n return new FileUploadExerciseForConductionDTO(fileUploadExercise.getFilePattern());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/bc4ab9ddbc601b5d9af7db702921cc6230f73c7c.json b/web/public/bundles/artemis/code/bc4ab9ddbc601b5d9af7db702921cc6230f73c7c.json new file mode 100644 index 00000000..dcb3aa36 --- /dev/null +++ b/web/public/bundles/artemis/code/bc4ab9ddbc601b5d9af7db702921cc6230f73c7c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "bc4ab9ddbc601b5d9af7db702921cc6230f73c7c", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/config/WeaviateEnqueueExecutorConfiguration.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.globalsearch.config;\n\nimport static de.tum.cit.aet.artemis.core.config.ArtemisConstants.SPRING_PROFILE_TEST;\n\nimport java.util.concurrent.Executor;\nimport java.util.concurrent.RejectedExecutionException;\nimport java.util.concurrent.RejectedExecutionHandler;\nimport java.util.concurrent.ThreadPoolExecutor;\n\nimport org.springframework.context.annotation.Bean;\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Configuration;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.core.env.Environment;\nimport org.springframework.core.env.Profiles;\nimport org.springframework.core.task.SyncTaskExecutor;\nimport org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;\n\n/**\n * The executor on which the search index outbox rows of a request are written.\n *

\n * The rows say that an entity has to be indexed again, which nobody who edits it waits for, so writing them does not belong on the request thread: each costs a\n * round trip, and an exercise or an exam costs two. Every node that serves requests needs the executor, unlike the one that nudges the dispatcher, which only the\n * scheduling node has.\n *

\n * It has one thread so that the rows of one node are written in the order the changes were made. The queue is long enough that it is not expected to fill, and a\n * request that finds it full waits for room, see {@link WaitForRoomPolicy}: running the work on the request thread instead would let it overtake what is queued.\n */\n@Configuration\n@Lazy\n@Conditional(WeaviateEnabled.class)\npublic class WeaviateEnqueueExecutorConfiguration {\n\n /**\n * Bean name of the executor, referenced by {@code SearchableEntityWeaviateService}.\n */\n public static final String EXECUTOR_NAME = \"weaviateOutboxEnqueueExecutor\";\n\n private static final int QUEUE_CAPACITY = 10_000;\n\n private static final int SHUTDOWN_WAIT_SECONDS = 10;\n\n /**\n * Creates the executor. In the {@code test} profile it is a {@link SyncTaskExecutor}, so that a test that changes an entity finds the outbox row it caused before\n * it continues, without awaiting a background thread.\n *\n * @param environment the environment, to recognise the {@code test} profile\n * @return a synchronous executor under the {@code test} profile, otherwise a single threaded pool\n */\n @Bean(EXECUTOR_NAME)\n public Executor weaviateOutboxEnqueueExecutor(Environment environment) {\n if (environment.acceptsProfiles(Profiles.of(SPRING_PROFILE_TEST))) {\n return new SyncTaskExecutor();\n }\n ThreadPoolTaskExecutor executor = new ThreadPoolTaskExecutor();\n executor.setCorePoolSize(1);\n executor.setMaxPoolSize(1);\n executor.setQueueCapacity(QUEUE_CAPACITY);\n executor.setRejectedExecutionHandler(new WaitForRoomPolicy());\n executor.setThreadNamePrefix(\"weaviate-enqueue-\");\n // Rows still waiting at shutdown are written rather than dropped; whatever is lost anyway is repaired by the reconcile passes.\n executor.setWaitForTasksToCompleteOnShutdown(true);\n executor.setAwaitTerminationSeconds(SHUTDOWN_WAIT_SECONDS);\n return executor;\n }\n\n /**\n * What happens to a task when the queue is full: the caller waits until there is room and queues it behind the others.\n *

\n * The task is neither run by the caller nor dropped. A caller that ran it would put it ahead of the tasks that are still queued, and the\n * rows of two changes to the same entity would be written in the opposite order. The wait is the backpressure of an executor that falls\n * behind, and ends with a {@link RejectedExecutionException} when the executor shuts down or the caller is interrupted.\n */\n public static final class WaitForRoomPolicy implements RejectedExecutionHandler {\n\n /**\n * Waits for queue capacity while preserving task order. Rechecks shutdown after insertion so a task cannot\n * remain stranded if the last worker stopped while this caller was waiting.\n *\n * @param task the task that did not fit in the queue\n * @param executor the executor that owns the queue\n * @throws RejectedExecutionException if shutdown or interruption prevents accepting the task\n */\n @Override\n public void rejectedExecution(Runnable task, ThreadPoolExecutor executor) {\n if (executor.isShutdown()) {\n throw new RejectedExecutionException(\"The executor of the search index updates has been shut down\");\n }\n try {\n executor.getQueue().put(task);\n // Shutdown may have drained the queue and stopped the worker while this caller waited.\n if (executor.isShutdown() && executor.remove(task)) {\n throw new RejectedExecutionException(\"The executor of the search index updates has been shut down\");\n }\n }\n catch (InterruptedException e) {\n Thread.currentThread().interrupt();\n throw new RejectedExecutionException(\"Interrupted while waiting for room to queue a search index update\", e);\n }\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/bc909cef7ef0144d86b2cd034dccd9a566851075.json b/web/public/bundles/artemis/code/bc909cef7ef0144d86b2cd034dccd9a566851075.json new file mode 100644 index 00000000..39ffd3ea --- /dev/null +++ b/web/public/bundles/artemis/code/bc909cef7ef0144d86b2cd034dccd9a566851075.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "bc909cef7ef0144d86b2cd034dccd9a566851075", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadExerciseGroupContextDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.fileupload.dto;\n\nimport org.hibernate.Hibernate;\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.exam.domain.Exam;\nimport de.tum.cit.aet.artemis.exam.domain.ExerciseGroup;\n\n/**\n * DTO representing the exercise group context for a file upload exercise in an exam.\n *\n * @param id the ID of the exercise group\n * @param exam the exam context of the exercise group\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record FileUploadExerciseGroupContextDTO(Long id, @Nullable FileUploadExamContextDTO exam) {\n\n /**\n * Factory method to create a {@link FileUploadExerciseGroupContextDTO} from an {@link ExerciseGroup} entity.\n *\n * @param exerciseGroup the exercise group entity to map, can be null\n * @return the mapped DTO, or null if the input was null\n */\n public static @Nullable FileUploadExerciseGroupContextDTO of(@Nullable ExerciseGroup exerciseGroup) {\n if (exerciseGroup == null) {\n return null;\n }\n Exam exam = exerciseGroup.getExam();\n FileUploadExamContextDTO examDTO = exam != null && Hibernate.isInitialized(exam) ? FileUploadExamContextDTO.of(exam) : null;\n return new FileUploadExerciseGroupContextDTO(exerciseGroup.getId(), examDTO);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/bdf0a356539fa0d4a11c66be12aae77e602ed9a5.json b/web/public/bundles/artemis/code/bdf0a356539fa0d4a11c66be12aae77e602ed9a5.json new file mode 100644 index 00000000..4b1f3c69 --- /dev/null +++ b/web/public/bundles/artemis/code/bdf0a356539fa0d4a11c66be12aae77e602ed9a5.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "bdf0a356539fa0d4a11c66be12aae77e602ed9a5", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/dto/competency/PyrisCompetencyStatusUpdateDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.iris.service.pyris.dto.competency;\n\nimport java.util.List;\n\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.admin.domain.LLMRequest;\nimport de.tum.cit.aet.artemis.iris.service.pyris.dto.status.PyrisRunState;\nimport de.tum.cit.aet.artemis.iris.service.pyris.dto.status.PyrisStatusErrorDTO;\n\n/**\n * DTO for the Iris competency generation feature.\n * Pyris sends callback updates back to Artemis during generation of competencies,\n * which Artemis maps to a client-facing websocket payload without token usage details.\n *\n * @param runState current pipeline run state\n * @param error optional error details\n * @param result List of competencies recommendations that have been generated so far\n * @param tokens List of token usages send by Pyris for tracking the token usage and cost\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record PyrisCompetencyStatusUpdateDTO(PyrisRunState runState, @Nullable PyrisStatusErrorDTO error, List result, List tokens) {\n}\n" +} diff --git a/web/public/bundles/artemis/code/be2eeee76cf5a9a9fe1ad696e53c9a49c6f05a08.json b/web/public/bundles/artemis/code/be2eeee76cf5a9a9fe1ad696e53c9a49c6f05a08.json new file mode 100644 index 00000000..9ba9cc3d --- /dev/null +++ b/web/public/bundles/artemis/code/be2eeee76cf5a9a9fe1ad696e53c9a49c6f05a08.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "be2eeee76cf5a9a9fe1ad696e53c9a49c6f05a08", + "language": "typescript", + "path": "src/main/webapp/app/exam/manage/student-exams/student-exam-timeline/student-exam-timeline.component.ts", + "schema": "codexray.code/1", + "text": "import { AfterViewInit, Component, OnDestroy, OnInit, computed, inject, signal, viewChild, viewChildren } from '@angular/core';\nimport { ActivatedRoute } from '@angular/router';\nimport { StudentExam } from 'app/exam/shared/entities/student-exam.model';\nimport { Exercise, ExerciseType } from 'app/exercise/shared/entities/exercise/exercise.model';\nimport { ExamPage } from 'app/exam/shared/entities/exam-page.model';\nimport { ExamSubmissionComponent } from 'app/exam/overview/exercises/exam-submission.component';\nimport { ExamNavigationBarComponent } from 'app/exam/manage/student-exams/student-exam-timeline/exam-navigation-bar/exam-navigation-bar.component';\nimport { ModelingExamSubmissionComponent } from 'app/exam/overview/exercises/modeling/modeling-exam-submission.component';\nimport { QuizExamSubmissionComponent } from 'app/exam/overview/exercises/quiz/quiz-exam-submission.component';\nimport { TextExamSubmissionComponent } from 'app/exam/overview/exercises/text/text-exam-submission.component';\nimport { SubmissionService } from 'app/exercise/submission/submission.service';\nimport dayjs from 'dayjs/esm';\nimport { SubmissionVersion } from 'app/exam/shared/entities/submission-version.model';\nimport { Observable, Subscription, forkJoin, map, mergeMap, toArray } from 'rxjs';\nimport { ProgrammingSubmission } from 'app/programming/shared/entities/programming-submission.model';\nimport { Submission } from 'app/exercise/shared/entities/submission/submission.model';\nimport { FileUploadSubmission } from 'app/fileupload/shared/entities/file-upload-submission.model';\nimport { FileUploadExamSubmissionComponent } from 'app/exam/overview/exercises/file-upload/file-upload-exam-submission.component';\nimport { SubmissionVersionService } from 'app/exercise/submission-version/submission-version.service';\nimport { ProgrammingExerciseExamDiffComponent } from 'app/exam/manage/student-exams/student-exam-timeline/programming-exam-diff/programming-exercise-exam-diff.component';\nimport { ExamPageComponent } from 'app/exam/overview/exercises/exam-page.component';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { toObservable } from '@angular/core/rxjs-interop';\nimport { CourseTitleBarTitleDirective } from 'app/course/shared/directives/course-title-bar-title.directive';\nimport { RepositoryDiffInformation } from 'app/programming/shared/utils/diff.utils';\n\n@Component({\n selector: 'jhi-student-exam-timeline',\n templateUrl: './student-exam-timeline.component.html',\n imports: [\n TranslateDirective,\n ExamNavigationBarComponent,\n QuizExamSubmissionComponent,\n FileUploadExamSubmissionComponent,\n TextExamSubmissionComponent,\n ModelingExamSubmissionComponent,\n ProgrammingExerciseExamDiffComponent,\n CourseTitleBarTitleDirective,\n ],\n})\nexport class StudentExamTimelineComponent implements OnInit, AfterViewInit, OnDestroy {\n private activatedRoute = inject(ActivatedRoute);\n private submissionService = inject(SubmissionService);\n private submissionVersionService = inject(SubmissionVersionService);\n\n readonly ExerciseType = ExerciseType;\n readonly SubmissionVersion = SubmissionVersion;\n\n // stores if a page component has already been visited (true) or not (false)\n // this is an array because the exam-timeline uses a page component for each exercise\n pageComponentVisited = signal([]);\n selectedTimestamp = signal(0);\n timestampIndex = signal(0);\n\n studentExam = signal(undefined!);\n exerciseIndex = signal(0);\n activeExamPage = new ExamPage();\n submissionTimeStamps = signal([]);\n /**\n * Percentage positions (0–100) of each submission timestamp along the slider track, used to render tick markers\n * under the range input, which has no tick marks of its own. Empty for a single submission (no range to mark).\n */\n readonly submissionTickPercentages = computed(() => {\n const count = this.submissionTimeStamps().length;\n if (count <= 1) {\n return [];\n }\n return this.submissionTimeStamps().map((_, index) => (index / (count - 1)) * 100);\n });\n submissionVersions: SubmissionVersion[] = [];\n programmingSubmissions: ProgrammingSubmission[] = [];\n fileUploadSubmissions: FileUploadSubmission[] = [];\n\n currentExercise: Exercise | undefined;\n currentSubmission: SubmissionVersion | ProgrammingSubmission | FileUploadSubmission | undefined;\n changesSubscription?: Subscription;\n cachedDiffInformation = signal>(new Map());\n\n currentPageComponents = viewChildren(ExamSubmissionComponent);\n examNavigationBarComponent = viewChild.required('examNavigationBar');\n\n private activatedRouteSubscription?: Subscription;\n\n ngOnInit(): void {\n this.activatedRouteSubscription = this.activatedRoute.data.subscribe(({ studentExam: studentExamWithGrade }) => {\n this.studentExam.set(studentExamWithGrade.studentExam);\n });\n this.exerciseIndex.set(0);\n this.pageComponentVisited.set(new Array(this.studentExam().exercises!.length).fill(false));\n this.retrieveSubmissionDataAndTimeStamps().subscribe((results) => {\n const allSubmissions = results.flat();\n const submissionTimeStamps: dayjs.Dayjs[] = [];\n allSubmissions.forEach((result) => {\n //workaround because instanceof does not work.\n if (this.isSubmissionVersion(result)) {\n const submissionVersion = result as SubmissionVersion;\n this.submissionVersions.push(submissionVersion);\n submissionTimeStamps.push(submissionVersion.createdDate);\n } else if (this.isFileUploadSubmission(result)) {\n const fileUploadSubmission = result as FileUploadSubmission;\n this.fileUploadSubmissions.push(fileUploadSubmission);\n submissionTimeStamps.push(fileUploadSubmission.submissionDate!);\n } else {\n const programmingSubmission = result as ProgrammingSubmission;\n this.programmingSubmissions.push(programmingSubmission);\n submissionTimeStamps.push(programmingSubmission.submissionDate!);\n }\n });\n this.submissionTimeStamps.set(submissionTimeStamps);\n this.sortTimeStamps();\n this.selectedTimestamp.set(this.submissionTimeStamps()[0]?.toDate().getTime() ?? 0);\n const firstSubmission = this.findFirstSubmission();\n this.currentSubmission = firstSubmission;\n this.exerciseIndex.set(this.findExerciseIndex(firstSubmission!));\n this.examNavigationBarComponent().changePage(this.exerciseIndex(), firstSubmission);\n });\n }\n\n ngAfterViewInit(): void {\n this.changesSubscription = this.currentPageComponentsChanges.subscribe(() => {\n this.updateSubmissionOrSubmissionVersionInView();\n });\n }\n ngOnDestroy(): void {\n this.activatedRouteSubscription?.unsubscribe();\n this.changesSubscription?.unsubscribe();\n }\n\n /**\n * Updates the view for a programming exercise by setting the correct submission for the component\n * This does not really work yet because the programming submission is not updated in the view\n * This will change in the followup PR #7097\n * Programming exercises do not support submission versions and therefore, need to be handled differently.\n */\n private updateProgrammingExerciseView() {\n const activeProgrammingComponent = this.activePageComponent as ProgrammingExerciseExamDiffComponent | undefined;\n if (activeProgrammingComponent) {\n activeProgrammingComponent.studentParticipation.update(() => this.currentExercise!.studentParticipations![0]);\n activeProgrammingComponent.exercise.update(() => this.currentExercise!);\n activeProgrammingComponent.currentSubmission.update(() => this.currentSubmission);\n activeProgrammingComponent.previousSubmission.update(() => this.findPreviousProgrammingSubmission(this.currentExercise!, this.currentSubmission!));\n activeProgrammingComponent.submissions.update(() =>\n this.programmingSubmissions.filter((submission) => submission.participation?.exercise?.id === this.currentExercise?.id),\n );\n activeProgrammingComponent.exerciseIdSubject.update((subject) => {\n subject.next(this.currentExercise!.id!);\n return subject;\n });\n }\n }\n\n findPreviousProgrammingSubmission(currentExercise: Exercise, currentSubmission: ProgrammingSubmission): ProgrammingSubmission | undefined {\n const comparisonTimestamp: dayjs.Dayjs = currentSubmission.submissionDate!;\n let smallestDiff = Infinity;\n let correspondingSubmission: ProgrammingSubmission | undefined;\n for (const programmingSubmission of this.programmingSubmissions) {\n const diff = Math.abs(programmingSubmission.submissionDate!.diff(comparisonTimestamp));\n if (\n programmingSubmission.submissionDate!.isBefore(comparisonTimestamp) &&\n diff < smallestDiff &&\n programmingSubmission.participation?.exercise?.id === currentExercise.id\n ) {\n smallestDiff = diff;\n correspondingSubmission = programmingSubmission;\n }\n }\n return correspondingSubmission;\n }\n\n /**\n * Updates the view for a file upload exercise by setting the correct submission for the component\n * File Upload exercises do not support submission versions and therefore, need to be handled differently.\n */\n private updateFileUploadExerciseView() {\n const fileUploadComponent = this.activePageComponent as FileUploadExamSubmissionComponent;\n if (fileUploadComponent) {\n fileUploadComponent.studentSubmission.update(() => this.currentSubmission as FileUploadSubmission);\n fileUploadComponent.updateViewFromSubmission();\n }\n }\n\n displayCurrentTimestamp(): string {\n return dayjs(this.selectedTimestamp()).format('HH:mm:ss');\n }\n\n /**\n * Checks if the submission is a submission version\n * Instanceof does not work here because it always returns false.\n * @param object the object to check\n */\n isSubmissionVersion(object: SubmissionVersion | Submission | undefined) {\n if (!object) {\n return false;\n }\n const submissionVersion = object as SubmissionVersion;\n // submissionVersion.content is intentionally not checked because it can be undefined if the content is empty\n return submissionVersion.id && submissionVersion.createdDate && submissionVersion.submission;\n }\n\n /**\n * Helper method to check if the object is a file upload submission\n * Instanceof does not work here because we have submission objects that are is only a super class of FileUploadSubmission\n * @param object the object to check\n */\n private isFileUploadSubmission(object: FileUploadSubmission | SubmissionVersion | ProgrammingSubmission | undefined) {\n if (!object) {\n return false;\n }\n const fileUploadSubmission = object as FileUploadSubmission;\n return !!fileUploadSubmission.id && fileUploadSubmission.submissionDate && fileUploadSubmission.filePath;\n }\n\n /**\n * Retrieve all submission versions/submissions for all exercises of the exam\n */\n retrieveSubmissionDataAndTimeStamps() {\n const submissionObservables: Observable[] = [];\n this.studentExam().exercises?.forEach((exercise) => {\n if (exercise.type === ExerciseType.PROGRAMMING) {\n const id = exercise.studentParticipations![0].id!;\n const programmingSubmission = this.submissionService.findAllSubmissionsOfParticipation(id).pipe(map(({ body }) => body!));\n submissionObservables.push(programmingSubmission);\n } else if (exercise.type === ExerciseType.FILE_UPLOAD) {\n const id = exercise.studentParticipations![0].id!;\n submissionObservables.push(this.submissionService.findAllSubmissionsOfParticipation(id).pipe(map(({ body }) => body!)));\n } else {\n submissionObservables.push(\n this.submissionVersionService.findAllSubmissionVersionsOfSubmission(exercise.studentParticipations![0].submissions![0].id!).pipe(\n mergeMap((versions) => versions),\n toArray(),\n ),\n );\n }\n });\n\n return forkJoin([...submissionObservables]);\n }\n\n /**\n * Sorts the time stamps in ascending order\n */\n private sortTimeStamps() {\n this.submissionTimeStamps.set([...this.submissionTimeStamps()].sort((date1, date2) => (date1.isAfter(date2) ? 1 : -1)));\n }\n\n /**\n * This method is called when the user clicks on the next or previous button in the navigation bar or on the slider.\n * @param exerciseChange contains the exercise to which the user wants to navigate to and the submission that should be displayed\n */\n onPageChange(exerciseChange: { exercise?: Exercise; submission?: ProgrammingSubmission | SubmissionVersion | FileUploadSubmission }): void {\n const activeComponent = this.activePageComponent;\n if (activeComponent) {\n activeComponent.onDeactivate();\n }\n\n if (!exerciseChange.submission) {\n // only change the submission if the exercise has changed, prevents unnecessary updates if you press the same button multiple times on the navigation bar\n if (exerciseChange.exercise !== this.currentExercise) {\n exerciseChange.submission = this.findSubmissionForExerciseClosestToCurrentTimeStampForExercise(exerciseChange.exercise!);\n }\n }\n\n if (exerciseChange.submission) {\n if (this.isSubmissionVersion(exerciseChange.submission)) {\n const submissionVersion = exerciseChange.submission as SubmissionVersion;\n this.selectedTimestamp.set(submissionVersion.createdDate.toDate().getTime());\n } else if (this.isFileUploadSubmission(exerciseChange.submission)) {\n const fileUploadSubmission = exerciseChange.submission as FileUploadSubmission;\n this.selectedTimestamp.set(fileUploadSubmission.submissionDate!.toDate().getTime());\n } else {\n const programmingSubmission = exerciseChange.submission as ProgrammingSubmission;\n this.selectedTimestamp.set(programmingSubmission.submissionDate!.toDate().getTime());\n }\n this.currentSubmission = exerciseChange.submission;\n this.initializeExercise(exerciseChange.exercise!, exerciseChange.submission);\n }\n }\n\n /**\n * Finds the first submission of the student exam\n * Used to determine what's the first submission and hence, the first exercise to display.\n */\n\n private findFirstSubmission(): FileUploadSubmission | SubmissionVersion | ProgrammingSubmission | undefined {\n const submissionVersion = this.submissionVersions.find((submission) => submission.createdDate.isSame(this.submissionTimeStamps()[0]));\n if (!submissionVersion) {\n const programmingSubmission = this.programmingSubmissions.find((submission) => submission.submissionDate?.isSame(this.submissionTimeStamps()[0]));\n if (!programmingSubmission) {\n return this.fileUploadSubmissions.find((submission) => submission.submissionDate?.isSame(this.submissionTimeStamps()[0]));\n } else {\n return programmingSubmission;\n }\n }\n return submissionVersion;\n }\n\n initializeExercise(exercise: Exercise, submission: Submission | SubmissionVersion | undefined) {\n this.activeExamPage.exercise = exercise;\n // set current exercise index\n this.exerciseIndex.set(this.studentExam().exercises!.findIndex((exercise1) => exercise1.id === exercise.id));\n this.currentExercise = exercise;\n this.currentSubmission = submission;\n this.activateActiveComponent();\n this.updateSubmissionOrSubmissionVersionInView();\n }\n\n private updateSubmissionOrSubmissionVersionInView() {\n if (this.currentExercise?.type === ExerciseType.PROGRAMMING) {\n this.updateProgrammingExerciseView();\n } else if (this.currentExercise?.type === ExerciseType.FILE_UPLOAD) {\n this.updateFileUploadExerciseView();\n } else {\n const activePageComponent = this.activePageComponent as ExamSubmissionComponent | undefined;\n activePageComponent?.setSubmissionVersion(this.currentSubmission as SubmissionVersion);\n }\n }\n\n private activateActiveComponent() {\n const visited = [...this.pageComponentVisited()];\n visited[this.activePageIndex] = true;\n this.pageComponentVisited.set(visited);\n const activeComponent = this.activePageComponent;\n if (activeComponent) {\n activeComponent.onActivate();\n }\n }\n\n get activePageIndex(): number {\n return this.studentExam().exercises!.findIndex((examExercise) => examExercise.id === this.activeExamPage.exercise?.id);\n }\n\n get activePageComponent(): ExamPageComponent | undefined {\n // we have to find the current component based on the activeExercise because the queryList might not be full yet (e.g. only 2 of 5 components initialized)\n return this.currentPageComponents().find((submissionComponent) => submissionComponent.getExercise().id === this.activeExamPage.exercise?.id);\n }\n\n /**\n * This method is called when the user clicks on the slider\n */\n onSliderInputChange() {\n this.selectedTimestamp.set(this.submissionTimeStamps()[this.timestampIndex()].toDate().getTime());\n const submission = this.findCorrespondingSubmissionForTimestamp(this.selectedTimestamp());\n if (this.isSubmissionVersion(submission)) {\n const submissionVersion = submission as SubmissionVersion;\n this.currentExercise = submissionVersion.submission.participation?.exercise;\n } else if (this.isFileUploadSubmission(submission)) {\n const fileUploadSubmission = submission as FileUploadSubmission;\n this.currentExercise = fileUploadSubmission.participation?.exercise;\n } else {\n const programmingSubmission = submission as ProgrammingSubmission;\n this.currentExercise = programmingSubmission.participation?.exercise;\n }\n const exerciseIndex = this.studentExam().exercises!.findIndex((examExercise) => examExercise.id === this.currentExercise?.id);\n this.exerciseIndex.set(exerciseIndex);\n this.currentSubmission = submission;\n this.examNavigationBarComponent().changePage(exerciseIndex, submission);\n }\n\n /**\n * Finds the submission for the current timestamp.\n * @param timestamp The timestamp for which the submission should be found.\n */\n private findCorrespondingSubmissionForTimestamp(timestamp: number): SubmissionVersion | ProgrammingSubmission | FileUploadSubmission | undefined {\n const comparisonObject = dayjs(timestamp);\n for (const submissionVersion of this.submissionVersions) {\n if (submissionVersion.createdDate.isSame(comparisonObject)) {\n return submissionVersion;\n }\n }\n for (const programmingSubmission of this.programmingSubmissions) {\n if (programmingSubmission.submissionDate?.isSame(comparisonObject)) {\n return programmingSubmission;\n }\n }\n for (const fileUploadSubmission of this.fileUploadSubmissions) {\n if (fileUploadSubmission.submissionDate?.isSame(comparisonObject)) {\n return fileUploadSubmission;\n }\n }\n return undefined;\n }\n\n /**\n * Finds the submission for the exercise with the closest timestamp to the current timestamp.\n * @param exercise The exercise for which the submission should be found.\n */\n private findSubmissionForExerciseClosestToCurrentTimeStampForExercise(exercise: Exercise) {\n const comparisonObject = dayjs(this.selectedTimestamp());\n let smallestDiff = Infinity;\n let timestampWithSmallestDiff = 0;\n if (exercise.type === ExerciseType.PROGRAMMING) {\n timestampWithSmallestDiff = this.findClosestTimestampForExerciseInSubmissionArray(exercise, this.programmingSubmissions);\n } else if (exercise.type === ExerciseType.FILE_UPLOAD) {\n // file upload exercises only have one submission\n return this.fileUploadSubmissions.find((submission) => submission.participation?.exercise?.id === exercise.id);\n } else {\n const numberOfSubmissionsForExercise = this.submissionVersions.filter((submission) => submission.submission?.participation?.exercise?.id === exercise.id).length;\n for (const submissionVersion of this.submissionVersions) {\n if (\n Math.abs(submissionVersion.createdDate.diff(comparisonObject)) < smallestDiff &&\n submissionVersion.submission.participation?.exercise?.id === exercise.id &&\n (!submissionVersion.createdDate.isSame(comparisonObject) || numberOfSubmissionsForExercise === 1)\n ) {\n smallestDiff = Math.abs(submissionVersion.createdDate.diff(comparisonObject));\n timestampWithSmallestDiff = submissionVersion.createdDate.valueOf();\n }\n }\n }\n return this.findCorrespondingSubmissionForTimestamp(timestampWithSmallestDiff);\n }\n\n /**\n * Finds the closest timestamp for a submission of a given exercise in a given submission array\n * @param exercise the exercise for which the submission should be found\n * @param submissions the submissions array in which the submission should be found\n */\n private findClosestTimestampForExerciseInSubmissionArray(exercise: Exercise, submissions: Submission[]): number {\n const comparisonObject = dayjs(this.selectedTimestamp());\n let smallestDiff = Infinity;\n let timestampWithSmallestDiff = 0;\n const numberOfSubmissionsForExercise = submissions.filter(\n (submission: ProgrammingSubmission | FileUploadSubmission) => submission.participation?.exercise?.id === exercise.id,\n ).length;\n for (const submission of submissions) {\n if (\n submission.submissionDate!.diff(comparisonObject) < smallestDiff &&\n submission.participation?.exercise?.id === exercise.id &&\n (!submission.submissionDate?.isSame(comparisonObject) || numberOfSubmissionsForExercise === 1)\n ) {\n smallestDiff = submission.submissionDate!.diff(comparisonObject);\n timestampWithSmallestDiff = submission.submissionDate!.valueOf();\n }\n }\n return timestampWithSmallestDiff;\n }\n\n private findExerciseIndex(firstSubmission: FileUploadSubmission | SubmissionVersion | ProgrammingSubmission) {\n if (this.isSubmissionVersion(firstSubmission)) {\n const submissionVersion = firstSubmission as SubmissionVersion;\n return this.studentExam().exercises!.findIndex((examExercise) => examExercise.id === submissionVersion.submission.participation?.exercise?.id);\n } else {\n const submission = firstSubmission as FileUploadSubmission | ProgrammingSubmission;\n return this.studentExam().exercises!.findIndex((examExercise) => examExercise.id === submission.participation?.exercise?.id);\n }\n }\n\n protected readonly currentPageComponentsChanges = toObservable(this.currentPageComponents);\n}\n" +} diff --git a/web/public/bundles/artemis/code/bec38aa65e70c89e9ff0b28068f9876ccd12ac16.json b/web/public/bundles/artemis/code/bec38aa65e70c89e9ff0b28068f9876ccd12ac16.json new file mode 100644 index 00000000..7c9a4dec --- /dev/null +++ b/web/public/bundles/artemis/code/bec38aa65e70c89e9ff0b28068f9876ccd12ac16.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "bec38aa65e70c89e9ff0b28068f9876ccd12ac16", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/repository/TutorialGroupFreePeriodRepository.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.tutorialgroup.repository;\n\nimport java.time.ZonedDateTime;\nimport java.util.Optional;\nimport java.util.Set;\n\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.data.jpa.repository.Query;\nimport org.springframework.data.repository.query.Param;\nimport org.springframework.stereotype.Repository;\n\nimport de.tum.cit.aet.artemis.core.repository.base.ArtemisJpaRepository;\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.tutorialgroup.config.TutorialGroupEnabled;\nimport de.tum.cit.aet.artemis.tutorialgroup.domain.TutorialGroupFreePeriod;\n\n@Conditional(TutorialGroupEnabled.class)\n@Lazy\n@Repository\npublic interface TutorialGroupFreePeriodRepository extends ArtemisJpaRepository {\n\n @Query(\"\"\"\n SELECT period\n FROM TutorialGroupFreePeriod period\n WHERE period.start <= :toInclusive\n AND period.end >= :fromInclusive\n AND period.tutorialGroupsConfiguration.course = :course\n \"\"\")\n Set findOverlappingInSameCourse(@Param(\"course\") Course course, @Param(\"fromInclusive\") ZonedDateTime fromInclusive,\n @Param(\"toInclusive\") ZonedDateTime toInclusive);\n\n @Query(\"\"\"\n SELECT period\n FROM TutorialGroupFreePeriod period\n WHERE period.start < :toExclusive\n AND period.end > :fromExclusive\n AND period.tutorialGroupsConfiguration.course = :course\n \"\"\")\n Set findOverlappingInSameCourseExclusive(@Param(\"course\") Course course, @Param(\"fromExclusive\") ZonedDateTime fromExclusive,\n @Param(\"toExclusive\") ZonedDateTime toExclusive);\n\n /**\n * Finds the first overlapping tutorial group free period in the same course.\n *\n * @param course The course to check for overlapping periods. * @param fromInclusive The start date and time of the period to check.\n * @param fromInclusive The start date and time of the period to check.\n * @param toInclusive The end date and time of the period to check.\n * @return An Optional containing the first overlapping TutorialGroupFreePeriod, if any.\n */\n default Optional findFirstOverlappingInSameCourse(Course course, ZonedDateTime fromInclusive, ZonedDateTime toInclusive) {\n return findOverlappingInSameCourse(course, fromInclusive, toInclusive).stream().findFirst();\n }\n\n Set findAllByTutorialGroupsConfigurationCourseId(Long courseId);\n\n}\n" +} diff --git a/web/public/bundles/artemis/code/bf36ca7637023dcb542cbf18c9ed4fa3ba2a5b9c.json b/web/public/bundles/artemis/code/bf36ca7637023dcb542cbf18c9ed4fa3ba2a5b9c.json new file mode 100644 index 00000000..fd6d98cf --- /dev/null +++ b/web/public/bundles/artemis/code/bf36ca7637023dcb542cbf18c9ed4fa3ba2a5b9c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "bf36ca7637023dcb542cbf18c9ed4fa3ba2a5b9c", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/DetailedParticipationDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exercise.dto;\n\nimport java.time.ZonedDateTime;\nimport java.util.List;\n\nimport org.hibernate.Hibernate;\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.exercise.domain.InitializationState;\nimport de.tum.cit.aet.artemis.exercise.domain.participation.StudentParticipation;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingExerciseStudentParticipation;\n\n/**\n * A student or team participation, as the exercise details nest it under the exercise and the participation submissions\n * nest it in each submission.\n *

\n * {@code type} is the Jackson discriminator of the {@code Participation} hierarchy, so it is always set. The repository\n * components are set for programming participations only. The entity wrote {@code userIndependentRepositoryUri} even when\n * it was {@code null}; this record leaves the key off then, like\n * {@link de.tum.cit.aet.artemis.programming.dto.ProgrammingParticipationLatestResultDTO} does, and the client reads both\n * the same way.\n *\n * @param type the participation discriminator: {@code student} or {@code programming}\n * @param id the id of the participation\n * @param initializationState the lifecycle state\n * @param initializationDate when the participation was initialized\n * @param individualDueDate the individual due date, if one was granted\n * @param testRun whether it is a test run or practice participation\n * @param attempt the attempt counter\n * @param submissionCount the number of submissions, where a route counted them\n * @param presentationScore the presentation score\n * @param participantIdentifier the login of the student or the short name of the team\n * @param participantName the name of the student or the team\n * @param student the student of an individual participation\n * @param team the team of a team participation\n * @param exercise the exercise, on the participation submissions only\n * @param submissions the submissions with their results, on the exercise details only\n * @param repositoryUri the repository, for programming participations\n * @param buildPlanId the build plan, for programming participations\n * @param branch the branch, for programming participations\n * @param userIndependentRepositoryUri the repository without credentials, for programming participations\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record DetailedParticipationDTO(String type, Long id, @Nullable InitializationState initializationState, @Nullable ZonedDateTime initializationDate,\n @Nullable ZonedDateTime individualDueDate, boolean testRun, int attempt, @Nullable Integer submissionCount, @Nullable Double presentationScore,\n @Nullable String participantIdentifier, @Nullable String participantName, @Nullable ParticipantUserDTO student, @Nullable ParticipantTeamDTO team,\n @Nullable ExerciseResponseDTO exercise, @Nullable List submissions, @Nullable String repositoryUri, @Nullable String buildPlanId,\n @Nullable String branch, @Nullable String userIndependentRepositoryUri) {\n\n /**\n * Maps an already filtered participation with its submissions, for a participation nested under its exercise.\n *\n * @param participation the participation to map\n * @return the participation as the exercise details carry it\n */\n public static DetailedParticipationDTO withSubmissions(StudentParticipation participation) {\n List submissions = Hibernate.isInitialized(participation.getSubmissions())\n ? participation.getSubmissions().stream().map(submission -> DetailedSubmissionDTO.of(submission, null)).toList()\n : null;\n return of(participation, null, submissions);\n }\n\n /**\n * Maps a participation with its exercise, for a participation nested in one of its submissions.\n *\n * @param participation the participation to map\n * @return the participation as the participation submissions carry it\n */\n public static DetailedParticipationDTO withExercise(StudentParticipation participation) {\n ExerciseResponseDTO exercise = participation.getExercise() != null && Hibernate.isInitialized(participation.getExercise())\n ? ExerciseResponseDTO.of(participation.getExercise())\n : null;\n return of(participation, exercise, null);\n }\n\n private static DetailedParticipationDTO of(StudentParticipation participation, @Nullable ExerciseResponseDTO exercise, @Nullable List submissions) {\n String repositoryUri = null;\n String buildPlanId = null;\n String branch = null;\n String userIndependentRepositoryUri = null;\n if (participation instanceof ProgrammingExerciseStudentParticipation programmingParticipation) {\n repositoryUri = programmingParticipation.getRepositoryUri();\n buildPlanId = programmingParticipation.getBuildPlanId();\n branch = programmingParticipation.getBranch();\n userIndependentRepositoryUri = programmingParticipation.getUserIndependentRepositoryUri();\n }\n return new DetailedParticipationDTO(participation.getType(), participation.getId(), participation.getInitializationState(), participation.getInitializationDate(),\n participation.getIndividualDueDate(), participation.isTestRun(), participation.getAttempt(), participation.getSubmissionCount(),\n participation.getPresentationScore(), participation.getParticipantIdentifier(), participation.getParticipantName(),\n ParticipantUserDTO.of(participation.getStudent().orElse(null)), ParticipantTeamDTO.of(participation.getTeam().orElse(null)), exercise, submissions, repositoryUri,\n buildPlanId, branch, userIndependentRepositoryUri);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/bf5a8e10cbb05ed9e1a79982e491ecfa0eb5816d.json b/web/public/bundles/artemis/code/bf5a8e10cbb05ed9e1a79982e491ecfa0eb5816d.json new file mode 100644 index 00000000..e9af4876 --- /dev/null +++ b/web/public/bundles/artemis/code/bf5a8e10cbb05ed9e1a79982e491ecfa0eb5816d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "bf5a8e10cbb05ed9e1a79982e491ecfa0eb5816d", + "language": "typescript", + "path": "src/main/webapp/app/shared-ui/delete-dialog/service/entity-deletion.service.ts", + "schema": "codexray.code/1", + "text": "import { DestroyRef, Service, inject, signal } from '@angular/core';\nimport { HttpClient, HttpContext, HttpErrorResponse, HttpResponse } from '@angular/common/http';\nimport { Observable, ReplaySubject, Subscription, filter, finalize, interval, skip, take, takeUntil } from 'rxjs';\nimport { TumAetUiDialogRef, TumAetUiDialogService } from '@tumaet/ui-angular/dialog';\nimport { TranslateService } from '@ngx-translate/core';\nimport dayjs from 'dayjs/esm';\nimport { WebsocketService } from 'app/foundation/service/websocket.service';\nimport { AlertService } from 'app/foundation/service/alert.service';\nimport { SKIP_HTTP_ERROR_ALERT } from 'app/core/interceptor/errorhandler.interceptor';\nimport {\n EntityDeletionProgress,\n EntityDeletionProgressDialogData,\n EntityDeletionStatus,\n EntityDeletionTarget,\n EntityDeletionType,\n isTerminalDeletionStatus,\n} from 'app/shared-ui/delete-dialog/entity-deletion-progress.model';\nimport { EntityDeletionProgressDialogComponent } from 'app/shared-ui/delete-dialog/component/entity-deletion-progress-dialog.component';\nimport { examDeletionTarget, exerciseGroupDeletionTarget } from 'app/shared-ui/delete-dialog/entity-deletion-target.util';\n\n/** How often the status endpoint is read while a deletion runs, as a fallback for a websocket message that was missed. */\nexport const DELETION_STATUS_POLL_INTERVAL_MS = 5000;\n\n/** Options of a deletion run. */\nexport interface EntityDeletionOptions {\n /**\n * Neither shows the progress dialog nor the success alert. For callers that delete many entities at once and refresh their view when the\n * batch ended; the result observable still tells how each deletion ended. A deletion that fails is reported with an alert by this service\n * itself, so the failure is not lost when the caller is gone by then.\n */\n silent?: boolean;\n}\n\n/** The part of a run that other runs of the same entity and the service need. */\ninterface DeletionRun {\n readonly result$: ReplaySubject;\n listen(): void;\n stop(): void;\n startFallback(): void;\n apply(message: EntityDeletionProgress): void;\n readStatus(): void;\n openDialog(): void;\n /** Opens the dialog again if the instructor sent it to the background. */\n reattach(): void;\n /** Makes the run the one that follows its entity. */\n register(): void;\n}\n\n/**\n * Runs the deletion of an exercise, an exam or an exercise group, which the server executes in the background.\n *

\n * The server answers the DELETE request with 202 Accepted right away and reports progress over a websocket topic. This service\n * subscribes to that topic before it sends the request, shows a progress dialog and tells the caller how the deletion ended, so callers only\n * have to refresh their own state.\n *

\n * The websocket message that ends a deletion can get lost, for example while the connection is re-established. Therefore a running\n * deletion also re-reads the status endpoint when the websocket reconnects and at a regular interval until it ended.\n *

\n * The instructor can dismiss the dialog with \"Continue in background\" while the deletion runs. This only closes the dialog: the deletion\n * keeps running on the server and the run keeps following it, so the success alert is still shown and the result observable still emits\n * when it ended. Callers that react to the end by navigating must only do so while they are still on screen and still show the deleted entity.\n *

\n * There is at most one run per entity: {@link resume} attaches to the run that is already following the entity and reopens its dialog,\n * instead of starting a second one that would poll and alert on its own.\n *

\n * The service never judges a running deletion by the clock of the client. A deletion that stopped reporting is ended by the server, which\n * then reports it as FAILED.\n */\n@Service()\nexport class EntityDeletionService {\n private readonly http = inject(HttpClient);\n private readonly websocketService = inject(WebsocketService);\n private readonly dialogService = inject(TumAetUiDialogService);\n private readonly alertService = inject(AlertService);\n private readonly translateService = inject(TranslateService);\n\n /** The runs that follow a deletion right now, one per entity. */\n private readonly activeRuns = new Map();\n\n /**\n * Sends the delete request and follows the deletion until it ended.\n *\n * @param target the entity that is deleted\n * @param request$ the DELETE request; the server must answer with 202 Accepted\n * @param options see {@link EntityDeletionOptions}\n * @return emits exactly once with the final progress (COMPLETED or FAILED) and completes; errors with the error of the request when\n * the server refuses to start the deletion, in which case no dialog was shown. Unsubscribing does not stop the deletion\n * and does not close the dialog.\n */\n delete(target: EntityDeletionTarget, request$: Observable, options: EntityDeletionOptions = {}): Observable {\n const result$ = new ReplaySubject(1);\n const run = this.createRun(target, result$, options);\n\n // Subscribe first: the deletion may finish before the response of the request arrives.\n run.listen();\n request$.pipe(take(1)).subscribe({\n next: () => {\n run.register();\n if (!options.silent) {\n run.openDialog();\n }\n run.readStatus();\n run.startFallback();\n },\n error: (error: unknown) => {\n run.stop();\n result$.error(error);\n },\n });\n return result$.asObservable();\n }\n\n /**\n * Shows the progress dialog of a deletion that is already running, for example after the page was reloaded or another instructor\n * started it. Does nothing when no deletion is running. When this client already follows the deletion, for example because the instructor\n * sent it to the background and came back, that run is reused and its dialog is shown again.\n *\n * @param target the entity that may be deleted right now\n * @param lifetime lifetime of the caller: the {@link DestroyRef} of the caller, or an observable that emits when the check is no longer wanted,\n * for example because a reused component now shows another entity. The status request is cancelled then, and no dialog is opened afterwards\n * @return emits the final progress when the deletion that was found ended; completes without a value if none was running\n */\n resume(target: EntityDeletionTarget, lifetime: DestroyRef | Observable): Observable {\n const existing = this.activeRuns.get(this.runKey(target));\n if (existing) {\n existing.reattach();\n return existing.result$.asObservable();\n }\n const result$ = new ReplaySubject(1);\n let attached = false;\n const until$ = this.lifetimeEnd(lifetime);\n this.http\n .get(this.statusUrl(target), { observe: 'response', context: this.silentContext() })\n .pipe(takeUntil(until$))\n .subscribe({\n next: (response) => {\n const progress = response.body;\n if (response.status !== 200 || progress?.status !== EntityDeletionStatus.IN_PROGRESS) {\n return;\n }\n if (progress.entityType !== target.entityType || progress.entityId !== target.entityId) {\n // The exam status is shared by the exam and its exercise groups: a deletion of something else must not block this page.\n this.alertService.info('artemisApp.deletionProgress.otherDeletionRunning');\n return;\n }\n attached = true;\n // Another resume may have started following the entity while the status was on its way.\n const meanwhile = this.activeRuns.get(this.runKey(target));\n if (meanwhile) {\n meanwhile.reattach();\n meanwhile.result$.subscribe(result$);\n return;\n }\n const run = this.createRun(target, result$, {});\n run.register();\n run.listen();\n run.openDialog();\n run.apply(progress);\n run.startFallback();\n },\n error: () => result$.complete(),\n // The status is a single response, so without a running deletion to follow there is nothing left to wait for.\n complete: () => {\n if (!attached) {\n result$.complete();\n }\n },\n });\n return result$.asObservable();\n }\n\n /**\n * Shows the progress dialog of a deletion inside an exam that is already running, for a page that lists the exercise groups of the exam.\n *

\n * The exam reports one status for everything that is deleted in it, so the deleted thing is only known from that status: an exercise group\n * of this exam or the exam itself. The titles are looked up by the caller, which knows the loaded groups. Otherwise this behaves like\n * {@link resume}, which it uses to follow the deletion that was found.\n *\n * @param courseId the course of the exam\n * @param examId the exam that may have a running deletion\n * @param titleOf the title of the exercise group or of the exam with the given id, if the caller knows it\n * @param lifetime see {@link resume}\n * @return emits the final progress, whose type and id tell what was deleted, when the deletion that was found ended; completes without a\n * value if none was running\n */\n resumeInExam(\n courseId: number,\n examId: number,\n titleOf: (entityType: EntityDeletionType, entityId: number) => string | undefined,\n lifetime: DestroyRef | Observable,\n ): Observable {\n const result$ = new ReplaySubject(1);\n let following = false;\n this.http\n .get(this.statusUrl(examDeletionTarget(courseId, examId, undefined)), { observe: 'response', context: this.silentContext() })\n .pipe(takeUntil(this.lifetimeEnd(lifetime)))\n .subscribe({\n next: (response) => {\n const progress = response.body;\n if (response.status !== 200 || progress?.status !== EntityDeletionStatus.IN_PROGRESS) {\n return;\n }\n let target: EntityDeletionTarget;\n if (progress.entityType === EntityDeletionType.EXERCISE_GROUP) {\n target = exerciseGroupDeletionTarget(courseId, examId, progress.entityId, titleOf(progress.entityType, progress.entityId));\n } else if (progress.entityType === EntityDeletionType.EXAM && progress.entityId === examId) {\n target = examDeletionTarget(courseId, examId, titleOf(progress.entityType, progress.entityId));\n } else {\n return;\n }\n following = true;\n this.resume(target, lifetime).subscribe(result$);\n },\n error: () => result$.complete(),\n // The status is a single response, so without a running deletion to follow there is nothing left to wait for.\n complete: () => {\n if (!following) {\n result$.complete();\n }\n },\n });\n return result$.asObservable();\n }\n\n /** Emits when the caller no longer wants the result of a check that is on its way: when its owner is destroyed, or when the given observable emits. */\n private lifetimeEnd(lifetime: DestroyRef | Observable): Observable {\n return lifetime instanceof Observable\n ? lifetime\n : new Observable((subscriber) =>\n lifetime.onDestroy(() => {\n subscriber.next();\n subscriber.complete();\n }),\n );\n }\n\n /** Websocket topic that carries the progress of the given deletion. */\n topic(target: EntityDeletionTarget): string {\n switch (target.entityType) {\n case EntityDeletionType.EXERCISE:\n return `/topic/exercises/${target.entityId}/deletion-progress`;\n case EntityDeletionType.EXAM:\n case EntityDeletionType.EXERCISE_GROUP:\n return `/topic/courses/${target.courseId}/exams/${target.examId ?? target.entityId}/deletion-progress`;\n default:\n throw new Error('Unknown entity deletion type');\n }\n }\n\n /** Endpoint that returns the latest known progress of the given deletion. */\n statusUrl(target: EntityDeletionTarget): string {\n switch (target.entityType) {\n case EntityDeletionType.EXERCISE:\n return `api/exercise/exercises/${target.entityId}/deletion-progress`;\n case EntityDeletionType.EXAM:\n case EntityDeletionType.EXERCISE_GROUP:\n return `api/exam/courses/${target.courseId}/exams/${target.examId ?? target.entityId}/deletion-progress`;\n default:\n throw new Error('Unknown entity deletion type');\n }\n }\n\n private runKey(target: EntityDeletionTarget): string {\n return `${target.entityType}:${target.entityId}`;\n }\n\n /** A status read that fails, typically because the entity is already gone, must not pop up an error alert. */\n private silentContext(): HttpContext {\n return new HttpContext().set(SKIP_HTTP_ERROR_ALERT, true);\n }\n\n private createRun(target: EntityDeletionTarget, result$: ReplaySubject, options: EntityDeletionOptions): DeletionRun {\n const progress = signal(undefined);\n let subscription: Subscription | undefined;\n let fallback: Subscription | undefined;\n let dialogRef: TumAetUiDialogRef | undefined;\n let dialogOpen = false;\n let finished = false;\n let continuedInBackground = false;\n\n const matchesTarget = (message: EntityDeletionProgress) => message.entityType === target.entityType && message.entityId === target.entityId;\n\n // At most one status read is in flight per run: when a read takes longer than the polling interval, the next trigger is remembered\n // and runs once the read ended, instead of piling up requests.\n let readInFlight = false;\n let readAgain = false;\n let statusRead: Subscription | undefined;\n\n /** The progress that ends a run on the client side, when the server did not send the terminal message. */\n const endedProgress = (status: EntityDeletionStatus.COMPLETED | EntityDeletionStatus.UNKNOWN): EntityDeletionProgress => {\n const last = progress();\n return {\n entityType: target.entityType,\n entityId: target.entityId,\n status,\n stepsCompleted: last?.totalSteps ?? 0,\n totalSteps: last?.totalSteps ?? 0,\n itemsProcessed: 0,\n totalItems: 0,\n weightedProgressPercent: 100,\n };\n };\n\n const run: DeletionRun = {\n result$,\n register: () => {\n // A run whose terminal message arrived before the response of the request is over; later resumes must check the server instead\n // of replaying its old outcome.\n if (!finished) {\n this.activeRuns.set(this.runKey(target), run);\n }\n },\n listen: () => {\n subscription = this.websocketService.subscribe(this.topic(target)).subscribe((message) => run.apply(message));\n },\n stop: () => {\n subscription?.unsubscribe();\n subscription = undefined;\n fallback?.unsubscribe();\n fallback = undefined;\n readAgain = false;\n statusRead?.unsubscribe();\n statusRead = undefined;\n readInFlight = false;\n if (this.activeRuns.get(this.runKey(target)) === run) {\n this.activeRuns.delete(this.runKey(target));\n }\n },\n /** Re-reads the status when the websocket reconnects and at an interval, in case the message that ended the deletion was missed. */\n startFallback: () => {\n if (finished || fallback) {\n return;\n }\n fallback = interval(DELETION_STATUS_POLL_INTERVAL_MS).subscribe(() => run.readStatus());\n fallback.add(\n this.websocketService.connectionState\n .pipe(\n skip(1),\n filter((state) => state.connected),\n )\n .subscribe(() => run.readStatus()),\n );\n },\n apply: (message: EntityDeletionProgress) => {\n // An exam topic also carries the exercise group deletions of that exam, and a late message must not move a finished run back.\n if (finished || !matchesTarget(message)) {\n return;\n }\n if (message.startedAt) {\n message.startedAt = dayjs(message.startedAt);\n }\n if (message.updatedAt) {\n message.updatedAt = dayjs(message.updatedAt);\n }\n // Messages are sent through an async executor and can overtake each other, so the bar must never move backwards.\n const previousPercent = progress()?.weightedProgressPercent ?? 0;\n if (!isTerminalDeletionStatus(message.status) && message.weightedProgressPercent < previousPercent) {\n message.weightedProgressPercent = previousPercent;\n }\n progress.set(message);\n if (!isTerminalDeletionStatus(message.status)) {\n return;\n }\n finished = true;\n run.stop();\n if (message.status === EntityDeletionStatus.UNKNOWN) {\n // The dialog has nothing to tell about an outcome that is not known; the caller refreshes its view from the server.\n dialogRef?.close();\n } else if (message.status === EntityDeletionStatus.COMPLETED && !options.silent) {\n this.alertService.success(target.successAlertKey, { param: target.title });\n } else if (message.status === EntityDeletionStatus.FAILED && (continuedInBackground || options.silent)) {\n // The dialog that would have shown the failure is gone or was never shown, so the failure must not pass unnoticed.\n this.alertService.error('artemisApp.deletionProgress.failedInBackground', { title: target.title, error: message.errorMessage ?? '' });\n }\n result$.next(message);\n result$.complete();\n },\n readStatus: () => {\n if (finished) {\n return;\n }\n if (readInFlight) {\n readAgain = true;\n return;\n }\n readInFlight = true;\n // Covers messages that were sent before the subscription was established.\n statusRead = this.http\n .get(this.statusUrl(target), { observe: 'response', context: this.silentContext() })\n .pipe(\n finalize(() => {\n readInFlight = false;\n if (readAgain) {\n readAgain = false;\n run.readStatus();\n }\n }),\n )\n .subscribe({\n next: (response: HttpResponse) => {\n const status = response.body;\n if (response.status !== 200 || !status || finished) {\n return;\n }\n if (matchesTarget(status)) {\n run.apply(status);\n return;\n }\n // The exam status is shared by the exam and its exercise groups and only describes the latest operation. A status of\n // another entity means that ours is over, but how it ended is not known any more. The run ends without any alert and\n // reports an UNKNOWN outcome, so the caller refreshes its view from the server, which is the only reliable source.\n run.apply(endedProgress(EntityDeletionStatus.UNKNOWN));\n },\n error: (error: unknown) => {\n // After an accepted delete, an exercise or an exam that cannot be read any more is gone when the status endpoint answers\n // 404: the deletion completed and its terminal message was missed. A 403 is not proof of that, the instructor may have\n // lost access while the entity still exists, so the outcome is unknown. Any other failure must not disturb the running\n // deletion, the websocket stays the source of truth. An exercise group is different for a 404 only: its exam stays, so\n // a 404 does not say that the group is gone. A 403 ends the run for a group as well, otherwise it would poll forever.\n if (!(error instanceof HttpErrorResponse)) {\n return;\n }\n if (error.status === 403) {\n run.apply(endedProgress(EntityDeletionStatus.UNKNOWN));\n } else if (error.status === 404 && target.entityType !== EntityDeletionType.EXERCISE_GROUP) {\n run.apply(endedProgress(EntityDeletionStatus.COMPLETED));\n }\n },\n });\n },\n openDialog: () => {\n const data: EntityDeletionProgressDialogData = {\n target,\n progress: progress.asReadonly(),\n continueInBackground: () => {\n continuedInBackground = true;\n dialogOpen = false;\n },\n };\n dialogOpen = true;\n dialogRef = this.dialogService.open(EntityDeletionProgressDialogComponent, {\n ariaLabel: this.translateService.instant('artemisApp.deletionProgress.progressLabel'),\n size: 'small',\n closable: false,\n closeOnEscape: false,\n dismissableMask: false,\n showHeader: false,\n data,\n });\n },\n reattach: () => {\n if (finished || dialogOpen || options.silent) {\n return;\n }\n // The dialog shows a failure itself again, so the alert for a deletion in the background is not needed any more.\n continuedInBackground = false;\n run.openDialog();\n },\n };\n return run;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/bfccb05185ae15c5656bdc4a65e67f4e42ac51a7.json b/web/public/bundles/artemis/code/bfccb05185ae15c5656bdc4a65e67f4e42ac51a7.json new file mode 100644 index 00000000..57503614 --- /dev/null +++ b/web/public/bundles/artemis/code/bfccb05185ae15c5656bdc4a65e67f4e42ac51a7.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "bfccb05185ae15c5656bdc4a65e67f4e42ac51a7", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/CourseNotificationService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.notification.service;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\n\nimport java.lang.reflect.InvocationTargetException;\nimport java.time.ZonedDateTime;\nimport java.util.ArrayList;\nimport java.util.HashMap;\nimport java.util.HashSet;\nimport java.util.LinkedHashMap;\nimport java.util.List;\nimport java.util.Locale;\nimport java.util.Map;\nimport java.util.Set;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.data.domain.Page;\nimport org.springframework.data.domain.Pageable;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.core.domain.FeatureInteraction;\nimport de.tum.cit.aet.artemis.core.domain.FeatureKind;\nimport de.tum.cit.aet.artemis.core.security.Role;\nimport de.tum.cit.aet.artemis.core.service.featureusage.FeatureUsageCollector;\nimport de.tum.cit.aet.artemis.core.service.featureusage.UserFeature;\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.notification.domain.CourseNotificationParameter;\nimport de.tum.cit.aet.artemis.notification.domain.NotificationChannelOption;\nimport de.tum.cit.aet.artemis.notification.domain.UserCourseNotificationStatusType;\nimport de.tum.cit.aet.artemis.notification.domain.course_notifications.CourseNotification;\nimport de.tum.cit.aet.artemis.notification.dto.CourseNotificationDTO;\nimport de.tum.cit.aet.artemis.notification.dto.CourseNotificationPageableDTO;\nimport de.tum.cit.aet.artemis.notification.dto.CourseNotificationParameterDTO;\nimport de.tum.cit.aet.artemis.notification.dto.CourseNotificationRecipientDTO;\nimport de.tum.cit.aet.artemis.notification.repository.CourseNotificationParameterRepository;\nimport de.tum.cit.aet.artemis.notification.repository.CourseNotificationRepository;\n\n/**\n * Service that handles all course notification logic. Whenever you want to create a new notification use this service\n * to send it to the users.\n */\n@Profile(PROFILE_CORE)\n@Lazy\n@Service\npublic class CourseNotificationService {\n\n private static final Logger log = LoggerFactory.getLogger(CourseNotificationService.class);\n\n private static final String NOTIFICATION_MODULE = \"notification\";\n\n private final CourseNotificationRegistryService courseNotificationRegistryService;\n\n private final CourseNotificationSettingService courseNotificationSettingService;\n\n private final CourseNotificationRepository courseNotificationRepository;\n\n private final CourseNotificationParameterRepository courseNotificationParameterRepository;\n\n private final UserCourseNotificationStatusService userCourseNotificationStatusService;\n\n private final Map serviceMap;\n\n private final FeatureUsageCollector featureUsageCollector;\n\n public CourseNotificationService(CourseNotificationRegistryService courseNotificationRegistryService, CourseNotificationSettingService courseNotificationSettingService,\n CourseNotificationRepository courseNotificationRepository, CourseNotificationParameterRepository courseNotificationParameterRepository,\n UserCourseNotificationStatusService userCourseNotificationStatusService, CourseNotificationWebappService webappService, CourseNotificationPushService pushService,\n CourseNotificationEmailService emailService, FeatureUsageCollector featureUsageCollector) {\n this.courseNotificationRegistryService = courseNotificationRegistryService;\n this.courseNotificationSettingService = courseNotificationSettingService;\n this.courseNotificationRepository = courseNotificationRepository;\n this.courseNotificationParameterRepository = courseNotificationParameterRepository;\n this.userCourseNotificationStatusService = userCourseNotificationStatusService;\n this.serviceMap = Map.of(NotificationChannelOption.WEBAPP, webappService, NotificationChannelOption.PUSH, pushService, NotificationChannelOption.EMAIL, emailService);\n this.featureUsageCollector = featureUsageCollector;\n }\n\n /**\n * Sends a notification on all channels the notification supports (websocket, push, email, ...) to the list of\n * recipients if they have the notification type enabled.\n *\n * @param courseNotification to send.\n * @param recipients list of recipients. Will be filtered by user settings.\n */\n public void sendCourseNotification(CourseNotification courseNotification, List recipients) {\n sendCourseNotificationToRecipients(courseNotification, recipients.stream().map(CourseNotificationRecipientDTO::from).toList());\n }\n\n /**\n * Sends a notification using projected recipient delivery fields, without loading user entities.\n *\n * @param courseNotification the notification to send\n * @param recipients recipient delivery fields, filtered by their notification preferences\n */\n public void sendCourseNotificationToRecipients(CourseNotification courseNotification, List recipients) {\n var supportedChannels = courseNotification.getSupportedChannels();\n var notifiedUserIds = new HashSet();\n\n var courseNotificationEntityId = createCourseNotification(courseNotification);\n\n courseNotification.notificationId = courseNotificationEntityId;\n\n // Read every recipient's settings once rather than per recipient per channel: the filter below runs for each\n // supported channel, and asking per user made a course-wide announcement cost a lookup per student per channel.\n var recipientSettings = courseNotificationSettingService.loadSettingsFor(courseNotification.courseId, recipients);\n var recipientsByChannel = new LinkedHashMap>();\n for (var supportedChannel : supportedChannels) {\n if (!serviceMap.containsKey(supportedChannel)) {\n continue;\n }\n var filteredRecipients = courseNotificationSettingService.filterRecipientsBy(courseNotification, recipients, supportedChannel, recipientSettings);\n recipientsByChannel.put(supportedChannel, filteredRecipients);\n filteredRecipients.forEach(recipient -> notifiedUserIds.add(recipient.id()));\n }\n\n // A client can mark a websocket notification as seen as soon as delivery starts. Commit its status first,\n // otherwise that update affects no row and the later insert makes the notification unseen again.\n userCourseNotificationStatusService.batchCreateStatusForUserIds(notifiedUserIds, courseNotificationEntityId, courseNotification.courseId);\n\n for (var channelRecipients : recipientsByChannel.entrySet()) {\n var supportedChannel = channelRecipients.getKey();\n var service = serviceMap.get(supportedChannel);\n var filteredRecipients = channelRecipients.getValue();\n // One count per notification that actually reached somebody on this channel, which is what answers whether a\n // channel is worth maintaining. Sends that every recipient has switched off are not usage.\n boolean anybodyToDeliverTo = !filteredRecipients.isEmpty();\n String feature = \"course-notification/\" + supportedChannel.name().toLowerCase(Locale.ROOT);\n long startNanos = System.nanoTime();\n try {\n var delivery = service.sendCourseNotification(convertToCourseNotificationDTO(courseNotification, UserCourseNotificationStatusType.UNSEEN), filteredRecipients);\n if (anybodyToDeliverTo) {\n // Recorded when the channel finishes, not when it is handed the work. Two of the three channels are\n // @Async, so at this point nothing has been delivered yet and a failure inside them could never\n // reach this code: every send was reported as a success and the error rate of those two features\n // was zero however badly delivery was going.\n //\n // What \"finishes\" means is not the same for every channel. Webapp and e-mail complete after doing\n // the work, so their error rate is a delivery signal. Push completes on dispatch, because its relay\n // pipeline swallows failures by design, so its count answers \"is push used\" and its error rate\n // answers nothing. The admin documentation says this rather than leaving a zero to be misread.\n delivery.whenComplete((ignored, failure) -> recordChannelUsage(feature, failure != null, elapsedMillis(startNanos)));\n }\n }\n catch (Exception e) {\n // A synchronous channel that throws never completes a future, so it would otherwise go uncounted.\n if (anybodyToDeliverTo) {\n recordChannelUsage(feature, true, elapsedMillis(startNanos));\n }\n throw e;\n }\n }\n }\n\n private void recordChannelUsage(String feature, boolean failed, long durationMs) {\n featureUsageCollector.recordUsage(FeatureKind.BACKGROUND, NOTIFICATION_MODULE, feature, UserFeature.NOTIFICATION_DELIVERY, FeatureInteraction.ACTION, Role.ANONYMOUS,\n failed, durationMs);\n }\n\n private static long elapsedMillis(long startNanos) {\n return (System.nanoTime() - startNanos) / 1_000_000;\n }\n\n /**\n * Retrieves course notifications for a specific user and course.\n *\n *

\n * This method fetches non-archived course notifications from the repository,\n * converts each notification entity to its corresponding DTO using reflection,\n * and returns the results as a paginated list. Results are cached unless empty.\n *

\n *\n *

\n * Since there may be some issues with serializing a Spring Boot {@link Page}, we created a wrapper class\n * {@link CourseNotificationPageableDTO} which lets us cache the paging result without any issues.\n *

\n *\n * @param pageable The pagination information\n * @param courseId The ID of the course\n * @param userId The ID of the user\n * @return A paginated list of {@link CourseNotificationDTO} objects\n */\n public CourseNotificationPageableDTO getCourseNotifications(Pageable pageable, long courseId, long userId) {\n var courseNotificationPage = courseNotificationRepository.findCourseNotificationsByUserIdAndCourseIdAndStatusNotArchived(userId, courseId, pageable);\n\n return CourseNotificationPageableDTO.from(courseNotificationPage.map((courseNotificationDTO) -> {\n var classType = courseNotificationRegistryService.getNotificationClass(courseNotificationDTO.notificationType());\n\n try {\n var parameters = courseNotificationParameterRepository.findByCourseNotificationIdEquals(courseNotificationDTO.notificationId());\n\n CourseNotification courseNotification = classType.getDeclaredConstructor(Long.class, Long.class, ZonedDateTime.class, Map.class)\n .newInstance(courseNotificationDTO.notificationId(), courseNotificationDTO.courseId(), courseNotificationDTO.creationDate(), parametersToMap(parameters));\n\n return convertToCourseNotificationDTO(courseNotification, courseNotificationDTO.status());\n }\n catch (InstantiationException | IllegalAccessException | IllegalArgumentException | ExceptionInInitializerError | InvocationTargetException | SecurityException\n | NoSuchMethodException e) {\n log.error(\"Failed to instantiate notification {}: {} - {}\", classType.getName(), e.getClass(), e.getMessage());\n return null;\n }\n }));\n }\n\n /**\n * Converts a set of {@link CourseNotificationParameterDTO} records to a map of key-value pairs.\n *\n * @param parameterSet The set of CourseNotificationParameterDTO records to convert\n * @return A map containing parameter keys and their corresponding values\n */\n private Map parametersToMap(Set parameterSet) {\n var params = new HashMap();\n\n for (CourseNotificationParameterDTO parameter : parameterSet) {\n params.put(parameter.key(), parameter.value());\n }\n\n return params;\n }\n\n /**\n * Initializes a new {@link CourseNotificationDTO} and returns it. This can be sent to clients.\n *\n * @param notification to be made into a record\n *\n * @return Returns the notification as a DTO.\n */\n private CourseNotificationDTO convertToCourseNotificationDTO(CourseNotification notification, UserCourseNotificationStatusType status) {\n return new CourseNotificationDTO(notification.getReadableNotificationType(), notification.notificationId, notification.courseId, notification.creationDate,\n notification.getCourseNotificationCategory(), notification.courseTitle(), notification.courseIconUrl(), notification.payload(), status,\n notification.getRelativeWebAppUrl());\n }\n\n /**\n * Creates a course notification in the system and persists it to the database.\n *\n *

\n * This method transforms a {@link CourseNotification} object into its entity representation,\n * saves it to the repository, and then stores all associated notification parameters.\n *

\n *\n * @param courseNotification The {@link CourseNotification} object containing notification data\n * including course ID, creation date and parameters\n * @return The ID of the newly created CourseNotification entity\n */\n private long createCourseNotification(CourseNotification courseNotification) {\n Course course = new Course();\n course.setId(courseNotification.courseId);\n\n // Package needed because of overlap in class name\n var courseNotificationEntity = new de.tum.cit.aet.artemis.notification.domain.CourseNotification(course,\n courseNotificationRegistryService.getNotificationIdentifier(courseNotification.getClass()), courseNotification.creationDate,\n courseNotification.creationDate.plus(courseNotification.getCleanupDuration()));\n\n courseNotificationEntity = courseNotificationRepository.save(courseNotificationEntity);\n\n var parameters = courseNotification.getParameters();\n var parameterEntities = new ArrayList();\n\n for (var key : parameters.keySet()) {\n if (parameters.get(key) == null) {\n continue;\n }\n\n String paramValue = parameters.get(key).toString();\n if (paramValue.length() > 500) {\n paramValue = paramValue.substring(0, 499);\n }\n\n parameterEntities.add(new CourseNotificationParameter(courseNotificationEntity, key, paramValue));\n }\n\n if (!parameterEntities.isEmpty()) {\n courseNotificationParameterRepository.saveAll(parameterEntities);\n }\n\n return courseNotificationEntity.getId();\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/bfd8eec837797c5f82717c96a536fe57a4614f98.json b/web/public/bundles/artemis/code/bfd8eec837797c5f82717c96a536fe57a4614f98.json new file mode 100644 index 00000000..00502b10 --- /dev/null +++ b/web/public/bundles/artemis/code/bfd8eec837797c5f82717c96a536fe57a4614f98.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "bfd8eec837797c5f82717c96a536fe57a4614f98", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/domain/AnswerOption.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.quiz.domain;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.core.domain.DomainObject;\n\n/**\n * An AnswerOption of a {@link MultipleChoiceQuestion}.\n *

\n * Formerly a JPA entity backed by the {@code answer_option} table; it is now a plain POJO stored inside the question's {@code content} JSON column (see\n * {@link MultipleChoiceQuestionContent}). It no longer holds a back-reference to the question. Mirrors {@link DropLocation} / {@link DragItem}.\n *

\n * It still extends {@link DomainObject} to reuse the {@code id} field and its id-based {@code equals}/{@code hashCode}; the inherited JPA annotations are inert because this class\n * is no longer an {@code @Entity}. The {@code id} is question-scoped (unique within the owning question, not globally).\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic class AnswerOption extends DomainObject {\n\n private String text;\n\n private String hint;\n\n private String explanation;\n\n private Boolean isCorrect;\n\n private Boolean invalid = false;\n\n public String getText() {\n return text;\n }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AnswerOption text(String text) {\n this.text = text;\n return this;\n }\n\n public String getHint() {\n return hint;\n }\n\n public void setHint(String hint) {\n this.hint = hint;\n }\n\n public AnswerOption hint(String hint) {\n this.hint = hint;\n return this;\n }\n\n public String getExplanation() {\n return explanation;\n }\n\n public void setExplanation(String explanation) {\n this.explanation = explanation;\n }\n\n public AnswerOption explanation(String explanation) {\n this.explanation = explanation;\n return this;\n }\n\n public AnswerOption isInvalid(boolean invalid) {\n this.invalid = invalid;\n return this;\n }\n\n public Boolean isIsCorrect() {\n return isCorrect;\n }\n\n public AnswerOption isCorrect(Boolean isCorrect) {\n this.isCorrect = isCorrect;\n return this;\n }\n\n public void setIsCorrect(Boolean isCorrect) {\n this.isCorrect = isCorrect;\n }\n\n public Boolean isInvalid() {\n return invalid != null && invalid;\n }\n\n public void setInvalid(Boolean invalid) {\n this.invalid = invalid;\n }\n\n @Override\n public String toString() {\n return \"AnswerOption{\" + \"id=\" + getId() + \", text='\" + getText() + \"'\" + \", hint='\" + getHint() + \"'\" + \", explanation='\" + getExplanation() + \"'\" + \", isCorrect='\"\n + isIsCorrect() + \"'\" + \", invalid='\" + isInvalid() + \"'\" + \"}\";\n }\n\n}\n" +} diff --git a/web/public/bundles/artemis/code/c04b3dd95a4039d4db2cb777e3f9953222d5f367.json b/web/public/bundles/artemis/code/c04b3dd95a4039d4db2cb777e3f9953222d5f367.json new file mode 100644 index 00000000..b6f2240b --- /dev/null +++ b/web/public/bundles/artemis/code/c04b3dd95a4039d4db2cb777e3f9953222d5f367.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c04b3dd95a4039d4db2cb777e3f9953222d5f367", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/web/TeamWebsocketService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exercise.web;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\nimport static de.tum.cit.aet.artemis.exercise.web.ExerciseWebsocketTopics.TEAM_ASSIGNMENTS;\n\nimport java.util.HashSet;\nimport java.util.List;\nimport java.util.Optional;\nimport java.util.Set;\n\nimport org.jspecify.annotations.Nullable;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.stereotype.Controller;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.communication.service.WebsocketMessagingService;\nimport de.tum.cit.aet.artemis.exercise.domain.Exercise;\nimport de.tum.cit.aet.artemis.exercise.domain.Team;\nimport de.tum.cit.aet.artemis.exercise.domain.participation.StudentParticipation;\nimport de.tum.cit.aet.artemis.exercise.dto.TeamAssignmentPayloadDTO;\nimport de.tum.cit.aet.artemis.exercise.dto.TeamParticipationDTO;\n\n@Profile(PROFILE_CORE)\n@Controller\n@Lazy\npublic class TeamWebsocketService {\n\n private final WebsocketMessagingService websocketMessagingService;\n\n public TeamWebsocketService(WebsocketMessagingService websocketMessagingService) {\n this.websocketMessagingService = websocketMessagingService;\n }\n\n /**\n * Sends out team assignment information for an exercise to students of a created/updated/deleted team\n *

\n * Cases:\n * 1. Team was created: sendTeamAssignmentUpdate(exercise, null, createdTeam);\n * 2. Team was updated: sendTeamAssignmentUpdate(exercise, existingTeam, updatedTeam);\n * 3. Team was deleted: sendTeamAssignmentUpdate(exercise, deletedTeam, null);\n *\n * @param exercise Exercise for which the team assignment has been made\n * @param existingTeam Team before the update (null when a team was created)\n * @param updatedTeam Team after the update (null when a team was deleted)\n * @param participationsOfUpdatedTeam Student participations of the updated team (with submissions and visible results)\n */\n public void sendTeamAssignmentUpdate(Exercise exercise, @Nullable Team existingTeam, @Nullable Team updatedTeam, List participationsOfUpdatedTeam) {\n // Users in the existing team that are no longer in the updated team were unassigned => inform them\n if (existingTeam != null) {\n TeamAssignmentPayloadDTO payload = new TeamAssignmentPayloadDTO(exercise.getId(), null, List.of());\n Set unassignedUsers = new HashSet<>(existingTeam.getStudents());\n unassignedUsers.removeAll(Optional.ofNullable(updatedTeam).map(Team::getStudents).orElse(Set.of()));\n unassignedUsers.forEach(user -> websocketMessagingService.sendMessageToUser(user.getLogin(), TEAM_ASSIGNMENTS.at(), payload));\n }\n\n // All current members need the updated team and participation, including when only the team name changes.\n if (updatedTeam != null) {\n TeamAssignmentPayloadDTO payload = new TeamAssignmentPayloadDTO(exercise.getId(), updatedTeam.getId(),\n participationsOfUpdatedTeam.stream().map(TeamParticipationDTO::of).toList());\n updatedTeam.getStudents().forEach(user -> websocketMessagingService.sendMessageToUser(user.getLogin(), TEAM_ASSIGNMENTS.at(), payload));\n }\n }\n\n public void sendTeamAssignmentUpdate(Exercise exercise, @Nullable Team existingTeam, @Nullable Team updatedTeam) {\n sendTeamAssignmentUpdate(exercise, existingTeam, updatedTeam, List.of());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/c13008b726b0323c0a830de3d9cf798e43d32d6f.json b/web/public/bundles/artemis/code/c13008b726b0323c0a830de3d9cf798e43d32d6f.json new file mode 100644 index 00000000..a556a484 --- /dev/null +++ b/web/public/bundles/artemis/code/c13008b726b0323c0a830de3d9cf798e43d32d6f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c13008b726b0323c0a830de3d9cf798e43d32d6f", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/domain/push_notification/PushNotificationDeviceConfigurationId.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.notification.domain.push_notification;\n\nimport java.io.Serializable;\nimport java.util.Objects;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\n\n/**\n * The PrimaryKey used for PushNotificationDeviceConfiguration\n */\npublic class PushNotificationDeviceConfigurationId implements Serializable {\n\n private Long owner;\n\n private String token;\n\n private PushNotificationDeviceType deviceType;\n\n public PushNotificationDeviceConfigurationId(User owner, String token, PushNotificationDeviceType deviceType) {\n this.owner = owner.getId();\n this.token = token;\n this.deviceType = deviceType;\n }\n\n public PushNotificationDeviceConfigurationId() {\n // needed for JPA\n }\n\n @Override\n public boolean equals(Object object) {\n if (this == object) {\n return true;\n }\n if (object == null || getClass() != object.getClass()) {\n return false;\n }\n PushNotificationDeviceConfigurationId that = (PushNotificationDeviceConfigurationId) object;\n return owner.equals(that.owner) && token.equals(that.token) && deviceType == that.deviceType;\n }\n\n @Override\n public int hashCode() {\n return Objects.hash(owner, token, deviceType);\n }\n\n public void setDeviceType(PushNotificationDeviceType deviceType) {\n this.deviceType = deviceType;\n }\n\n public Long getOwner() {\n return owner;\n }\n\n public void setOwner(Long owner) {\n this.owner = owner;\n }\n\n public String getToken() {\n return token;\n }\n\n public void setToken(String token) {\n this.token = token;\n }\n\n public PushNotificationDeviceType getDeviceType() {\n return deviceType;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/c155a0d5080cddad71d021be32ffc0b1e42216b4.json b/web/public/bundles/artemis/code/c155a0d5080cddad71d021be32ffc0b1e42216b4.json new file mode 100644 index 00000000..f7e0beca --- /dev/null +++ b/web/public/bundles/artemis/code/c155a0d5080cddad71d021be32ffc0b1e42216b4.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c155a0d5080cddad71d021be32ffc0b1e42216b4", + "language": "typescript", + "path": "src/main/webapp/app/exercise/synchronization/services/exercise-editor-sync.service.ts", + "schema": "codexray.code/1", + "text": "import { Service, inject } from '@angular/core';\nimport { Observable, Subject, Subscription } from 'rxjs';\nimport { concatMap, filter, take, tap } from 'rxjs/operators';\nimport { WebsocketService } from 'app/foundation/service/websocket.service';\nimport { BrowserFingerprintService } from 'app/account/fingerprint/browser-fingerprint.service';\nimport { UserPublicInfoDTO } from 'app/account/user/user.model';\nimport { Comment } from 'app/exercise/shared/entities/review/comment.model';\nimport { CommentThread } from 'app/exercise/shared/entities/review/comment-thread.model';\nimport { ReviewThreadSyncAction } from 'app/exercise/shared/entities/review/review-thread-sync-update.model';\nimport { RepositoryType } from 'app/programming/shared/code-editor/model/code-editor.model';\nimport { cloneWith } from 'app/foundation/util/deep-clone.util';\n\n/**\n * Synchronization targets used to scope editor sync events.\n */\nexport enum ExerciseEditorSyncTarget {\n PROBLEM_STATEMENT = 'PROBLEM_STATEMENT',\n TEMPLATE_REPOSITORY = 'TEMPLATE_REPOSITORY',\n SOLUTION_REPOSITORY = 'SOLUTION_REPOSITORY',\n TESTS_REPOSITORY = 'TESTS_REPOSITORY',\n AUXILIARY_REPOSITORY = 'AUXILIARY_REPOSITORY',\n EXERCISE_METADATA = 'EXERCISE_METADATA',\n REVIEW_COMMENTS = 'REVIEW_COMMENTS',\n}\n\n/**\n * Discriminator for synchronization event payloads.\n */\nexport enum ExerciseEditorSyncEventType {\n PROBLEM_STATEMENT_SYNC_FULL_CONTENT_REQUEST = 'PROBLEM_STATEMENT_SYNC_FULL_CONTENT_REQUEST',\n PROBLEM_STATEMENT_SYNC_FULL_CONTENT_RESPONSE = 'PROBLEM_STATEMENT_SYNC_FULL_CONTENT_RESPONSE',\n PROBLEM_STATEMENT_SYNC_UPDATE = 'PROBLEM_STATEMENT_SYNC_UPDATE',\n PROBLEM_STATEMENT_AWARENESS_UPDATE = 'PROBLEM_STATEMENT_AWARENESS_UPDATE',\n FILE_SYNC_FULL_CONTENT_REQUEST = 'FILE_SYNC_FULL_CONTENT_REQUEST',\n FILE_SYNC_FULL_CONTENT_RESPONSE = 'FILE_SYNC_FULL_CONTENT_RESPONSE',\n FILE_SYNC_UPDATE = 'FILE_SYNC_UPDATE',\n FILE_AWARENESS_UPDATE = 'FILE_AWARENESS_UPDATE',\n FILE_CREATED = 'FILE_CREATED',\n FILE_DELETED = 'FILE_DELETED',\n FILE_RENAMED = 'FILE_RENAMED',\n NEW_COMMIT_ALERT = 'NEW_COMMIT_ALERT',\n NEW_EXERCISE_VERSION_ALERT = 'NEW_EXERCISE_VERSION_ALERT',\n REVIEW_THREAD_UPDATE = 'REVIEW_THREAD_UPDATE',\n}\n\n/**\n * Shared fields for synchronization events received over websocket.\n */\nexport interface ExerciseEditorSyncEventBase {\n eventType: ExerciseEditorSyncEventType;\n target: ExerciseEditorSyncTarget;\n sessionId?: string;\n timestamp?: number;\n}\n\nexport interface ProblemStatementSyncFullContentRequestEvent extends ExerciseEditorSyncEventBase {\n eventType: ExerciseEditorSyncEventType.PROBLEM_STATEMENT_SYNC_FULL_CONTENT_REQUEST;\n requestId: string;\n canonicalBase?: string;\n}\n\nexport interface ProblemStatementSyncFullContentResponseEvent extends ExerciseEditorSyncEventBase {\n eventType: ExerciseEditorSyncEventType.PROBLEM_STATEMENT_SYNC_FULL_CONTENT_RESPONSE;\n responseTo: string;\n yjsUpdate: string;\n leaderTimestamp: number;\n canonicalBase?: string;\n documentEpoch?: string;\n}\n\nexport interface ProblemStatementSyncUpdateEvent extends ExerciseEditorSyncEventBase {\n eventType: ExerciseEditorSyncEventType.PROBLEM_STATEMENT_SYNC_UPDATE;\n yjsUpdate: string;\n documentEpoch?: string;\n}\n\nexport interface ProblemStatementAwarenessUpdateEvent extends ExerciseEditorSyncEventBase {\n eventType: ExerciseEditorSyncEventType.PROBLEM_STATEMENT_AWARENESS_UPDATE;\n awarenessUpdate: string;\n documentEpoch?: string;\n}\n\nexport interface FileSyncFullContentRequestEvent extends ExerciseEditorSyncEventBase {\n eventType: ExerciseEditorSyncEventType.FILE_SYNC_FULL_CONTENT_REQUEST;\n filePath: string;\n requestId: string;\n auxiliaryRepositoryId?: number;\n}\n\nexport interface FileSyncFullContentResponseEvent extends ExerciseEditorSyncEventBase {\n eventType: ExerciseEditorSyncEventType.FILE_SYNC_FULL_CONTENT_RESPONSE;\n filePath: string;\n responseTo: string;\n yjsUpdate: string;\n leaderTimestamp: number;\n auxiliaryRepositoryId?: number;\n}\n\nexport interface FileSyncUpdateEvent extends ExerciseEditorSyncEventBase {\n eventType: ExerciseEditorSyncEventType.FILE_SYNC_UPDATE;\n filePath: string;\n yjsUpdate: string;\n auxiliaryRepositoryId?: number;\n}\n\nexport interface FileAwarenessUpdateEvent extends ExerciseEditorSyncEventBase {\n eventType: ExerciseEditorSyncEventType.FILE_AWARENESS_UPDATE;\n filePath: string;\n awarenessUpdate: string;\n auxiliaryRepositoryId?: number;\n}\n\nexport interface FileCreatedEvent extends ExerciseEditorSyncEventBase {\n eventType: ExerciseEditorSyncEventType.FILE_CREATED;\n filePath: string;\n fileType: 'FILE' | 'FOLDER';\n auxiliaryRepositoryId?: number;\n}\n\nexport interface FileDeletedEvent extends ExerciseEditorSyncEventBase {\n eventType: ExerciseEditorSyncEventType.FILE_DELETED;\n filePath: string;\n fileType: 'FILE' | 'FOLDER';\n auxiliaryRepositoryId?: number;\n}\n\nexport interface FileRenamedEvent extends ExerciseEditorSyncEventBase {\n eventType: ExerciseEditorSyncEventType.FILE_RENAMED;\n oldPath: string;\n newPath: string;\n fileType: 'FILE' | 'FOLDER';\n auxiliaryRepositoryId?: number;\n}\n\n/**\n * Event payload indicating a repository commit was pushed.\n */\nexport interface ExerciseNewCommitAlertEvent extends ExerciseEditorSyncEventBase {\n eventType: ExerciseEditorSyncEventType.NEW_COMMIT_ALERT;\n auxiliaryRepositoryId?: number;\n}\n\n/**\n * Event payload indicating a new exercise version (metadata) was saved.\n */\nexport interface ExerciseNewVersionAlertEvent extends ExerciseEditorSyncEventBase {\n eventType: ExerciseEditorSyncEventType.NEW_EXERCISE_VERSION_ALERT;\n exerciseVersionId: number;\n author: UserPublicInfoDTO;\n changedFields?: string[];\n}\n\n/**\n * Event payload describing an incremental review-thread update.\n */\nexport interface ReviewThreadSyncUpdateEvent extends ExerciseEditorSyncEventBase {\n eventType: ExerciseEditorSyncEventType.REVIEW_THREAD_UPDATE;\n target: ExerciseEditorSyncTarget.REVIEW_COMMENTS;\n action: ReviewThreadSyncAction;\n exerciseId: number;\n thread?: CommentThread;\n comment?: Comment;\n commentId?: number;\n threadIds?: number[];\n groupId?: number;\n}\n\n/**\n * Union of all synchronization events received by the editor.\n */\nexport type ExerciseEditorSyncEvent =\n | ProblemStatementSyncFullContentRequestEvent\n | ProblemStatementSyncFullContentResponseEvent\n | ProblemStatementSyncUpdateEvent\n | ProblemStatementAwarenessUpdateEvent\n | FileSyncFullContentRequestEvent\n | FileSyncFullContentResponseEvent\n | FileSyncUpdateEvent\n | FileAwarenessUpdateEvent\n | FileCreatedEvent\n | FileDeletedEvent\n | FileRenamedEvent\n | ExerciseNewVersionAlertEvent\n | ExerciseNewCommitAlertEvent\n | ReviewThreadSyncUpdateEvent;\n\n/**\n * Maps a RepositoryType to the corresponding ExerciseEditorSyncTarget.\n * Returns `undefined` for repository types that do not support synchronization\n * (e.g. ASSIGNMENT, USER).\n */\nexport function repositoryTypeToSyncTarget(repoType: RepositoryType): ExerciseEditorSyncTarget | undefined {\n switch (repoType) {\n case RepositoryType.TEMPLATE:\n return ExerciseEditorSyncTarget.TEMPLATE_REPOSITORY;\n case RepositoryType.SOLUTION:\n return ExerciseEditorSyncTarget.SOLUTION_REPOSITORY;\n case RepositoryType.TESTS:\n return ExerciseEditorSyncTarget.TESTS_REPOSITORY;\n case RepositoryType.AUXILIARY:\n return ExerciseEditorSyncTarget.AUXILIARY_REPOSITORY;\n default:\n return undefined;\n }\n}\n\n/**\n * Relays exercise editor synchronization messages over WebSocket.\n *\n * This service is provided at the root level (singleton) and supports only one exercise\n * connection at a time. The lifecycle is managed by parent components (exercise edit page\n * or code editor page) via {@link connect} and {@link disconnect}. Consumer services\n * (e.g. ExerciseMetadataSyncService, ProblemStatementSyncService) subscribe to the shared\n * Subject via {@link subscribeToUpdates} but do not control the connection lifecycle.\n *\n * Outgoing messages are buffered until the WebSocket connection is established, ensuring\n * that messages sent during a cold page load (before the STOMP handshake completes) are\n * never silently dropped. Messages are flushed in FIFO order once connected.\n */\n@Service()\nexport class ExerciseEditorSyncService {\n private websocketService = inject(WebsocketService);\n private browserFingerprintService = inject(BrowserFingerprintService);\n\n private exerciseId?: number;\n private subject: Subject | undefined;\n private subscription: Subscription | undefined;\n\n private outgoing$?: Subject<{ topic: string; payload: ExerciseEditorSyncEvent }>;\n private outgoingSubscription?: Subscription;\n\n /**\n * Constructs the STOMP destination topic for a given exercise's synchronization channel.\n *\n * @param exerciseId - the ID of the exercise to build the topic path for\n * @returns the fully-qualified STOMP topic string (e.g. `/topic/exercises/42/synchronization`)\n */\n private getTopic(exerciseId: number): string {\n return `/topic/exercises/${exerciseId}/synchronization`;\n }\n\n /**\n * Constructs the STOMP destination the client sends its synchronization events to. The server relays them to the topic of {@link getTopic}.\n *\n * @param exerciseId - the ID of the exercise\n * @returns the destination (e.g. `/app/exercises/42/synchronization`)\n */\n private getSendDestination(exerciseId: number): string {\n return `/app/exercises/${exerciseId}/synchronization`;\n }\n\n /**\n * The unique session identifier for this browser tab/window.\n *\n * Used to filter out messages that originated from this client so that\n * a user's own edits are not echoed back as remote changes.\n *\n * @returns the browser session ID, or `undefined` if the fingerprint service has not yet initialized\n */\n get sessionId(): string | undefined {\n return this.browserFingerprintService.browserSessionId.value;\n }\n\n /**\n * Establishes the WebSocket connection for synchronizing the given exercise.\n *\n * This method creates the shared Subject, STOMP subscription, and outgoing\n * message buffer. It must be called by the parent component that owns the\n * exercise editing session **before** any consumer services call\n * {@link subscribeToUpdates}.\n *\n * Calling `connect()` for a different exercise will automatically tear down\n * the previous connection first. Calling it for the same exercise is a no-op.\n *\n * @param exerciseId - the ID of the exercise to connect to\n */\n connect(exerciseId: number): void {\n if (this.exerciseId !== undefined && this.exerciseId !== exerciseId) {\n this.disconnect();\n }\n\n if (!this.subject) {\n const topic = this.getTopic(exerciseId);\n this.exerciseId = exerciseId;\n this.subject = new Subject();\n this.outgoing$ = new Subject<{ topic: string; payload: ExerciseEditorSyncEvent }>();\n this.outgoingSubscription = this.outgoing$\n .pipe(\n concatMap((msg) =>\n this.websocketService.connectionState.pipe(\n filter((state) => state.connected),\n take(1),\n tap(() => this.websocketService.send(msg.topic, msg.payload)),\n ),\n ),\n )\n .subscribe();\n this.subscription = this.websocketService\n .subscribe(topic)\n .pipe(\n filter((message: ExerciseEditorSyncEvent) => {\n if (!message.sessionId || !this.sessionId) {\n return true;\n }\n return message.sessionId !== this.sessionId;\n }),\n )\n .subscribe((message: ExerciseEditorSyncEvent) => this.handleIncomingMessage(message));\n }\n }\n\n /**\n * Sends a synchronization event to all other editors of the given exercise.\n *\n * The message is enqueued in an internal buffer and flushed to the WebSocket\n * as soon as the STOMP connection is established. If the connection is already\n * active the message is sent immediately. A `timestamp` (epoch ms) and the\n * current `sessionId` are automatically attached to the outgoing payload.\n *\n * @param exerciseId - must match the exercise that is currently connected to\n * @param message - the synchronization event to broadcast\n * @throws Error if no connection is active, the exercise ID does not match, or\n * the outgoing buffer has not been initialized\n */\n sendSynchronizationUpdate(exerciseId: number, message: ExerciseEditorSyncEvent): void {\n if (!this.subscription) {\n throw new Error('Cannot send synchronization message: not connected to websocket topic');\n }\n if (this.exerciseId !== exerciseId) {\n throw new Error(`Cannot send synchronization message: exerciseId ${exerciseId} does not match connected exerciseId ${this.exerciseId}`);\n }\n if (!this.outgoing$) {\n throw new Error('Cannot send synchronization message: outgoing message buffer not initialized');\n }\n const topic = this.getSendDestination(exerciseId);\n this.outgoing$.next({ topic, payload: cloneWith(message, { timestamp: message.timestamp ?? Date.now(), sessionId: this.sessionId }) });\n }\n\n /**\n * Returns the shared Observable for synchronization events.\n *\n * Consumer services call this method to observe incoming sync events. The\n * connection must already be established via {@link connect} by the parent\n * component. This method does **not** create the connection — it only\n * returns the existing Subject.\n *\n * @returns an Observable that emits {@link ExerciseEditorSyncEvent}s from other\n * connected editors. The Observable completes when {@link disconnect}\n * is called.\n * @throws Error if {@link connect} has not been called yet\n */\n subscribeToUpdates(): Observable {\n if (!this.subject) {\n throw new Error('Cannot subscribe to updates: not connected. Call connect(exerciseId) first.');\n }\n return this.subject;\n }\n\n /**\n * Tears down all synchronization state for the currently connected exercise.\n *\n * This method performs a full cleanup in the following order:\n * 1. **Completes** the `Subject` returned by {@link subscribeToUpdates}, signaling\n * all downstream observers that the stream has ended.\n * 2. **Cancels** the outgoing message buffer — any queued but unsent messages are\n * discarded and in-flight `concatMap` inner observables are unsubscribed.\n * 3. **Unsubscribes** from the STOMP topic, which also removes the server-side\n * subscription so that the client stops receiving messages.\n * 4. **Clears** the stored `exerciseId`, allowing a fresh connection via\n * {@link connect}.\n *\n * Safe to call multiple times; subsequent calls are no-ops.\n * Should be called by the parent component when the exercise editing session\n * ends (e.g. navigating away from the exercise editor).\n */\n disconnect(): void {\n // Complete the Subject to notify all observers that the stream has ended\n if (this.subject) {\n this.subject.complete();\n this.subject = undefined;\n }\n\n // Tear down the outgoing message buffer — unsubscribe first to cancel\n // any in-flight concatMap inner observable, then complete the subject.\n this.outgoingSubscription?.unsubscribe();\n this.outgoingSubscription = undefined;\n if (this.outgoing$) {\n this.outgoing$.complete();\n this.outgoing$ = undefined;\n }\n\n // Unsubscribing the RxJS subscription also tears down the underlying STOMP topic subscription.\n if (this.subscription) {\n this.subscription.unsubscribe();\n this.subscription = undefined;\n }\n this.exerciseId = undefined;\n }\n\n /**\n * Forwards an incoming WebSocket message to the internal Subject so that all\n * observers registered via {@link subscribeToUpdates} receive the event.\n *\n * @param message - the deserialized synchronization event received from the STOMP topic\n */\n private handleIncomingMessage(message: ExerciseEditorSyncEvent) {\n this.subject?.next(message);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/c15f9f24289b5e343afba8e92ad5c25071794ffe.json b/web/public/bundles/artemis/code/c15f9f24289b5e343afba8e92ad5c25071794ffe.json new file mode 100644 index 00000000..552fcce4 --- /dev/null +++ b/web/public/bundles/artemis/code/c15f9f24289b5e343afba8e92ad5c25071794ffe.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c15f9f24289b5e343afba8e92ad5c25071794ffe", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/service/CourseScoreCalculator.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.assessment.service;\n\nimport static de.tum.cit.aet.artemis.core.util.RoundingUtil.roundToNDecimalPlaces;\n\nimport java.time.ZonedDateTime;\nimport java.util.Collection;\nimport java.util.Map;\nimport java.util.Optional;\nimport java.util.Set;\nimport java.util.stream.Collectors;\nimport java.util.stream.Stream;\n\nimport org.jspecify.annotations.Nullable;\n\nimport de.tum.cit.aet.artemis.assessment.domain.AssessmentType;\nimport de.tum.cit.aet.artemis.assessment.dto.CourseScoreContextDTO;\nimport de.tum.cit.aet.artemis.assessment.dto.CourseScoreSettingsDTO;\nimport de.tum.cit.aet.artemis.assessment.dto.ExerciseCourseScoreDTO;\nimport de.tum.cit.aet.artemis.assessment.dto.GradedPresentationConfigDTO;\nimport de.tum.cit.aet.artemis.assessment.dto.MaxAndReachablePointsDTO;\nimport de.tum.cit.aet.artemis.assessment.dto.StudentCourseScoreInputDTO;\nimport de.tum.cit.aet.artemis.assessment.dto.score.StudentScoresDTO;\nimport de.tum.cit.aet.artemis.exercise.domain.ExerciseType;\nimport de.tum.cit.aet.artemis.exercise.domain.IncludedInOverallScore;\nimport de.tum.cit.aet.artemis.exercise.dto.CourseGradeScoreDTO;\nimport de.tum.cit.aet.artemis.plagiarism.api.dtos.PlagiarismCaseScoreDTO;\nimport de.tum.cit.aet.artemis.plagiarism.domain.PlagiarismVerdict;\n\n/**\n * The course score calculation, as a pure function.\n *

\n * Every input is a parameter and every output is a return value: this class holds no state, has no collaborators and\n * reaches neither the database nor the clock. That is deliberate and enforced by construction — it is static, so it\n * cannot be handed a repository. Callers fetch everything up front and pass one calculation time, which\n * makes the cost of scoring a course visible at the call site instead of hidden behind a lazy association or a query per\n * student.\n */\npublic final class CourseScoreCalculator {\n\n private static final double SCORE_NORMALIZATION_VALUE = 0.01;\n\n private CourseScoreCalculator() {\n }\n\n /**\n * Builds the course-level part of a score calculation, which every student in the course shares.\n *\n * @param settings the course settings the calculation rounds and scores by\n * @param presentationConfig the graded presentation configuration, or {@code null} when the course awards no presentation points\n * @param exercises the exercises to score, either all of a course or all of one exercise type\n * @param calculationTime the instant used for all due-date decisions\n * @return the context to hand to {@link #calculateCourseScoreForStudent}\n */\n public static CourseScoreContextDTO createContext(CourseScoreSettingsDTO settings, @Nullable GradedPresentationConfigDTO presentationConfig,\n Set exercises, ZonedDateTime calculationTime) {\n return new CourseScoreContextDTO(settings, presentationConfig, exercises, calculationTime,\n calculateMaxAndReachablePoints(settings, presentationConfig, exercises, calculationTime));\n }\n\n /**\n * Calculates max and reachable max points for the given exercises, plus the reachable presentation points when the\n * course awards them.\n *

\n * Max points are the sum of the points for all included (see {@link #includeIntoScoreCalculation}) exercises whose\n * due date has passed or is unset, or which are automatically assessed with their build-and-test date in the past.\n * Reachable max points only count exercises whose assessment is done (see {@link #isAssessmentDone}). An exercise\n * that is not automatically assessed with a due date in the past but an assessment due date in the future therefore\n * counts towards max points but not towards reachable max points.\n *\n * @param settings the course settings the calculation rounds by\n * @param presentationConfig the graded presentation configuration, or {@code null} to calculate no presentation points\n * @param exercises the exercises which are included into the max points calculation\n * @return the max and reachable max points for the given exercises\n */\n private static MaxAndReachablePointsDTO calculateMaxAndReachablePoints(CourseScoreSettingsDTO settings, @Nullable GradedPresentationConfigDTO presentationConfig,\n Set exercises, ZonedDateTime calculationTime) {\n var completelyIncludedNonVariants = exercises.stream().filter(exercise -> !isExerciseVariant(exercise))\n .filter(exercise -> includeIntoScoreCalculation(exercise, calculationTime))\n .filter(exercise -> exercise.includedInOverallScore() == IncludedInOverallScore.INCLUDED_COMPLETELY).toList();\n\n double maxPoints = completelyIncludedNonVariants.stream().mapToDouble(ExerciseCourseScoreDTO::maxPoints).sum();\n double reachableMaxPoints = completelyIncludedNonVariants.stream().filter(exercise -> isAssessmentDone(exercise, calculationTime))\n .mapToDouble(ExerciseCourseScoreDTO::maxPoints).sum();\n\n // Variant groups each contribute at most their configured maxPoints.\n MaxAndReachablePointsDTO variantGroupPoints = calculateVariantGroupMaxAndReachablePoints(exercises, calculationTime);\n maxPoints += variantGroupPoints.maxPoints();\n reachableMaxPoints += variantGroupPoints.reachablePoints();\n\n double reachablePresentationPoints = calculateReachablePresentationPoints(presentationConfig, reachableMaxPoints, settings.accuracyOfScores());\n maxPoints += reachablePresentationPoints;\n reachableMaxPoints += reachablePresentationPoints;\n\n return new MaxAndReachablePointsDTO(maxPoints, reachableMaxPoints, reachablePresentationPoints);\n }\n\n /**\n * Calculates the max and reachable max points contributed by the exercise variant groups among the given exercises.\n * Each group's variant max points are summed and then capped at the group's configured maxPoints. Non-variant\n * exercises are ignored here (they are summed up separately).\n *\n * @param exercises the exercises which are checked for variant group membership\n * @return the capped max and reachable max points contributed by the variant groups (presentation points are always 0)\n */\n private static MaxAndReachablePointsDTO calculateVariantGroupMaxAndReachablePoints(Set exercises, ZonedDateTime calculationTime) {\n var maxPointsPerGroup = new VariantGroupCappedSum();\n var reachableMaxPointsPerGroup = new VariantGroupCappedSum();\n\n var completelyIncludedVariants = exercises.stream().filter(CourseScoreCalculator::isExerciseVariant)\n .filter(exercise -> includeIntoScoreCalculation(exercise, calculationTime))\n .filter(exercise -> exercise.includedInOverallScore() == IncludedInOverallScore.INCLUDED_COMPLETELY).toList();\n completelyIncludedVariants.forEach(exercise -> maxPointsPerGroup.add(exercise.variantGroupId(), exercise.variantGroupMaxPoints(), exercise.maxPoints()));\n completelyIncludedVariants.stream().filter(exercise -> isAssessmentDone(exercise, calculationTime))\n .forEach(exercise -> reachableMaxPointsPerGroup.add(exercise.variantGroupId(), exercise.variantGroupMaxPoints(), exercise.maxPoints()));\n\n return new MaxAndReachablePointsDTO(maxPointsPerGroup.total(), reachableMaxPointsPerGroup.total(), 0.0);\n }\n\n /**\n * Calculates the presentation score and the relative and absolute points a student achieved in the course, taking\n * the effect of plagiarism verdicts on the grade into account.\n *\n * @param context the course-level part of the calculation, from {@link #createContext}\n * @param studentInput every projected input specific to the student\n * @return the presentation score and the relative and absolute points achieved by the given student\n */\n public static StudentScoresDTO calculateCourseScoreForStudent(CourseScoreContextDTO context, StudentCourseScoreInputDTO studentInput) {\n Map plagiarismCasesForStudent = plagiarismCasesForStudent(studentInput);\n if (studentHasVerdict(plagiarismCasesForStudent.values(), PlagiarismVerdict.PLAGIARISM)) {\n return new StudentScoresDTO(0.0, 0.0, 0.0, 0.0, 0);\n }\n\n CourseScoreSettingsDTO settings = context.settings();\n Map gradeScorePerExercise = ratedGradeScoresPerExercise(studentInput.gradeScores());\n\n // Non-variant exercises are summed individually.\n double pointsAchievedByStudentInCourse = context.exercises().stream().filter(exercise -> !isExerciseVariant(exercise))\n .filter(exercise -> includeIntoScoreCalculation(exercise, context.calculationTime()))\n .flatMapToDouble(exercise -> Optional.ofNullable(gradeScorePerExercise.get(exercise.id())).stream()\n .mapToDouble(gradeScore -> calculatePointsAchievedFromExercise(exercise, gradeScore.score(), plagiarismCasesForStudent.get(exercise.id()), settings)))\n .sum();\n\n // Exercise variants: the points a student earns across a group's variants are capped at the group's configured maxPoints.\n VariantGroupCappedSum variantGroupAchievedPoints = calculateVariantGroupAchievedPoints(context, gradeScorePerExercise, plagiarismCasesForStudent);\n pointsAchievedByStudentInCourse += variantGroupAchievedPoints.total();\n double pointsCappedAwayFromVariantGroups = variantGroupAchievedPoints.uncappedTotal() - variantGroupAchievedPoints.total();\n\n double gradedPresentationScore = calculatePresentationPoints(context.presentationConfig(), context.maxAndReachablePoints().reachablePresentationPoints(),\n studentInput.gradedPresentationScoreSum(), settings.accuracyOfScores());\n double basicPresentationScore = Optional.ofNullable(settings.presentationScore()).filter(requiredScore -> !context.usesGradedPresentations())\n .filter(requiredScore -> requiredScore > 0).map(requiredScore -> (double) studentInput.basicPresentationScoreCount()).orElse(0.0);\n double presentationScore = gradedPresentationScore + basicPresentationScore;\n pointsAchievedByStudentInCourse += gradedPresentationScore;\n\n return buildStudentScores(settings, context.maxAndReachablePoints(), pointsAchievedByStudentInCourse, pointsAchievedByStudentInCourse + pointsCappedAwayFromVariantGroups,\n presentationScore);\n }\n\n /**\n * Calculates the points a student earns from the exercise variant groups among the given exercises. Each group's\n * earned variant points are summed and then capped at the group's configured maxPoints. Non-variant exercises are\n * ignored here (they are summed up separately).\n *\n * @param context the course-level score context\n * @param gradeScorePerExercise the student's achieved scores per exercise id\n * @param plagiarismCasesForStudent the plagiarism cases of the student per exercise id\n * @return the per-group accumulator of the points the student earns from the variant groups (see\n * {@link VariantGroupCappedSum#total()} for the capped and {@link VariantGroupCappedSum#uncappedTotal()} for the uncapped sum)\n */\n private static VariantGroupCappedSum calculateVariantGroupAchievedPoints(CourseScoreContextDTO context, Map gradeScorePerExercise,\n Map plagiarismCasesForStudent) {\n var achievedPointsPerGroup = new VariantGroupCappedSum();\n context.exercises().stream().filter(CourseScoreCalculator::isExerciseVariant).filter(exercise -> includeIntoScoreCalculation(exercise, context.calculationTime()))\n .forEach(exercise -> Optional.ofNullable(gradeScorePerExercise.get(exercise.id()))\n .ifPresent(gradeScore -> achievedPointsPerGroup.add(exercise.variantGroupId(), exercise.variantGroupMaxPoints(),\n calculatePointsAchievedFromExercise(exercise, gradeScore.score(), plagiarismCasesForStudent.get(exercise.id()), context.settings()))));\n return achievedPointsPerGroup;\n }\n\n /**\n * Calculates the plagiarism-adjusted points a student earns per variant group, keyed by group id. Groups with a\n * configured {@code maxPoints} are capped at it; groups without one contribute their raw sum. A course-wide\n * {@link PlagiarismVerdict#PLAGIARISM} verdict zeroes the whole course (empty map).\n *\n * @param context the course-level part of the calculation, from {@link #createContext}\n * @param studentInput every projected input specific to the student\n * @return the plagiarism-adjusted points per variant group id, capped where a cap is configured; empty when no\n * variant group contributes\n */\n public static Map calculateAchievedPointsPerVariantGroup(CourseScoreContextDTO context, StudentCourseScoreInputDTO studentInput) {\n Map plagiarismCasesForStudent = plagiarismCasesForStudent(studentInput);\n if (studentHasVerdict(plagiarismCasesForStudent.values(), PlagiarismVerdict.PLAGIARISM)) {\n return Map.of();\n }\n Map gradeScorePerExercise = ratedGradeScoresPerExercise(studentInput.gradeScores());\n\n var achievedPointsPerGroup = new VariantGroupCappedSum();\n context.exercises().stream().filter(exercise -> exercise.variantGroupId() != null).filter(exercise -> includeIntoScoreCalculation(exercise, context.calculationTime()))\n .forEach(exercise -> Optional.ofNullable(gradeScorePerExercise.get(exercise.id()))\n .ifPresent(gradeScore -> achievedPointsPerGroup.add(exercise.variantGroupId(), exercise.variantGroupMaxPoints(),\n calculatePointsAchievedFromExercise(exercise, gradeScore.score(), plagiarismCasesForStudent.get(exercise.id()), context.settings()))));\n return achievedPointsPerGroup.cappedPointsPerGroup();\n }\n\n private static Map ratedGradeScoresPerExercise(Collection gradeScores) {\n return gradeScores.stream().filter(gradeScore -> Boolean.TRUE.equals(gradeScore.rated()))\n // A student can hold more than one graded participation in one exercise, for instance after moving between\n // individual and team mode. Keeping the higher score matches what the participation-based path credits,\n // and is in any case preferable to Collectors.toMap's default of throwing.\n .collect(Collectors.toMap(CourseGradeScoreDTO::exerciseId, gradeScore -> gradeScore, (first, second) -> first.score() >= second.score() ? first : second));\n }\n\n private static Map plagiarismCasesForStudent(StudentCourseScoreInputDTO studentInput) {\n return studentInput.plagiarismCases().stream().filter(plagiarismCase -> plagiarismCase.studentId() == studentInput.studentId())\n // Match PlagiarismMapping's legacy semantics if inconsistent data contains more than one case for the\n // same student and exercise: the later projection row replaces the earlier one.\n .collect(Collectors.toMap(PlagiarismCaseScoreDTO::exerciseId, plagiarismCase -> plagiarismCase, (previous, replacement) -> replacement));\n }\n\n private static boolean studentHasVerdict(Collection plagiarismCases, PlagiarismVerdict verdict) {\n return plagiarismCases.stream().anyMatch(plagiarismCase -> verdict == plagiarismCase.verdict());\n }\n\n private static StudentScoresDTO buildStudentScores(CourseScoreSettingsDTO settings, MaxAndReachablePointsDTO maxAndReachablePoints, double pointsAchievedByStudentInCourse,\n double pointsAchievedByStudentInCourseUncapped, double presentationScore) {\n int accuracy = settings.accuracyOfScores();\n double absolutePoints = roundToNDecimalPlaces(pointsAchievedByStudentInCourse, accuracy);\n double absolutePointsTotal = roundToNDecimalPlaces(pointsAchievedByStudentInCourseUncapped, accuracy);\n double relativeScore = maxAndReachablePoints.maxPoints() > 0 ? roundToNDecimalPlaces(pointsAchievedByStudentInCourse / maxAndReachablePoints.maxPoints() * 100.0, accuracy)\n : 0.0;\n double currentRelativeScore = maxAndReachablePoints.reachablePoints() > 0\n ? roundToNDecimalPlaces(pointsAchievedByStudentInCourse / maxAndReachablePoints.reachablePoints() * 100.0, accuracy)\n : 0.0;\n\n return new StudentScoresDTO(absolutePoints, absolutePointsTotal, relativeScore, currentRelativeScore, presentationScore);\n }\n\n /**\n * Calculates the points a student earns from a single exercise, after the plagiarism deduction for that exercise.\n *

\n * Note that the result is rounded here, before the caller sums it up. This is necessary so that students arrive at\n * the same overall result when recalculating themselves: a student who achieved 1.05 points in each of 5 exercises\n * sees 1.1 points displayed per exercise and adds them up to 5.5, so the server has to round before summing too.\n *\n * @param exercise the exercise the points are earned in\n * @param score the percentage the student achieved in the exercise\n * @param plagiarismCaseForExercise the student's projected plagiarism case for this exercise, or {@code null} if there is none\n * @param settings the course settings the calculation rounds by\n * @return the rounded, plagiarism-adjusted points earned in the exercise\n */\n public static double calculatePointsAchievedFromExercise(ExerciseCourseScoreDTO exercise, double score, @Nullable PlagiarismCaseScoreDTO plagiarismCaseForExercise,\n CourseScoreSettingsDTO settings) {\n int accuracy = settings.accuracyOfScores();\n double pointsAchievedFromExercise = roundToNDecimalPlaces(score * SCORE_NORMALIZATION_VALUE * exercise.maxPoints(), accuracy);\n double plagiarismPointDeductionPercentage = Optional.ofNullable(plagiarismCaseForExercise).filter(plagiarismCase -> plagiarismCase.pointDeduction() > 0)\n .map(PlagiarismCaseScoreDTO::pointDeduction).orElse(0);\n return roundToNDecimalPlaces(pointsAchievedFromExercise * (100.0 - plagiarismPointDeductionPercentage) / 100.0, accuracy);\n }\n\n /**\n * Calculates the presentation points a student earns from the average of their presentation scores.\n *\n * @param presentationConfig the graded presentation configuration of the course\n * @param reachablePresentationPoints the presentation points reachable in the course\n * @param presentationScoreSum the sum of the student's presentation scores in the course\n * @param accuracyOfScores the number of decimal places to round to\n * @return the presentation points for the student, or 0 when the course or the student has none\n */\n public static double calculatePresentationPoints(@Nullable GradedPresentationConfigDTO presentationConfig, double reachablePresentationPoints, double presentationScoreSum,\n int accuracyOfScores) {\n return Stream.ofNullable(presentationConfig).filter(config -> config.presentationsNumber() > 0).filter(config -> presentationScoreSum > 0.0)\n .mapToDouble(config -> roundToNDecimalPlaces(reachablePresentationPoints * presentationScoreSum / config.presentationsNumber() / 100.0, accuracyOfScores))\n .findFirst().orElse(0.0);\n }\n\n /**\n * Calculates how many of a course's points are reserved for presentations.\n *

\n * The presentations weight is the share of the total points that presentations account for, so the reachable\n * points passed in here are the remaining share and the total is scaled up from them accordingly.\n *\n * @param presentationConfig the graded presentation configuration of the course\n * @param baseReachablePoints the points reachable in the course from exercises alone\n * @param accuracyOfScores the number of decimal places to round to\n * @return the reachable presentation points, or 0 when the course has no graded presentations\n */\n public static double calculateReachablePresentationPoints(@Nullable GradedPresentationConfigDTO presentationConfig, double baseReachablePoints, int accuracyOfScores) {\n return Stream.ofNullable(presentationConfig).filter(config -> config.presentationsWeight() > 0.0).filter(config -> baseReachablePoints > 0.0).mapToDouble(config -> {\n double reachablePointsWithPresentation = -baseReachablePoints / (config.presentationsWeight() - 100.0) * 100.0;\n return roundToNDecimalPlaces(reachablePointsWithPresentation * config.presentationsWeight() / 100.0, accuracyOfScores);\n }).findFirst().orElse(0.0);\n }\n\n /**\n * Determines whether a given exercise will be included into course score calculation.\n *

\n * The requirement that has to be fulfilled for every exercise: it has to be included in the score.\n * The base case: an exercise that is not an automatically assessed programming exercise\n * -> include in maxPointsInCourse after the due date.\n * Edge case 1: an automatically assessed programming exercise without test runs after the due date\n * -> include in maxPointsInCourse directly after release because the student can achieve points immediately.\n * Edge case 2: an automatically assessed programming exercise with test runs after the due date\n * -> include in maxPointsInCourse after the final test run is over, not immediately after release, because\n * the test run after the due date is important for the final course score (hidden tests).\n *\n * @param exercise the exercise whose involvement should be determined\n * @param calculationTime the instant at which the score is calculated\n * @return true if the exercise counts towards the course score\n */\n public static boolean includeIntoScoreCalculation(ExerciseCourseScoreDTO exercise, ZonedDateTime calculationTime) {\n boolean isExerciseIncluded = exercise.includedInOverallScore() != IncludedInOverallScore.NOT_INCLUDED;\n boolean isExerciseFinished = !isAssessedAutomatically(exercise) && (exercise.dueDate() == null || exercise.dueDate().isBefore(calculationTime));\n\n return isExerciseIncluded && (isExerciseFinished || isAutomaticAssessmentDone(exercise, calculationTime));\n }\n\n /**\n * Determines whether the given exercise is a variant of an exercise variant group with a configured points cap.\n * Only such exercises go through the separate, capped variant-group computation; all others are summed up\n * individually.\n *\n * @param exercise the exercise to check\n * @return true if the exercise belongs to a variant group that has a maxPoints cap\n */\n private static boolean isExerciseVariant(ExerciseCourseScoreDTO exercise) {\n return exercise.variantGroupId() != null && exercise.variantGroupMaxPoints() != null;\n }\n\n /**\n * Determines whether the max points of a given exercise should be included in the amount of reachable points of a course.\n *

\n * Base case: points are reachable if the exercise is released and the assessment is over -> it was possible for the student to get points.\n * Addition regarding edge case 1: the exercise score is reachable immediately after release since the student score only depends on the\n * immediate automatic feedback.\n * Addition regarding edge case 2: the exercise score is officially reachable after the final test run\n * (so after the buildAndTestStudentSubmissionsAfterDueDate is over).\n *\n * @param exercise the exercise whose assessment state should be determined\n */\n private static boolean isAssessmentDone(ExerciseCourseScoreDTO exercise, ZonedDateTime calculationTime) {\n boolean isNonAutomaticAssessmentDone = !isAssessedAutomatically(exercise)\n && (exercise.assessmentDueDate() == null || calculationTime.isAfter(exercise.assessmentDueDate()));\n return isNonAutomaticAssessmentDone || isAutomaticAssessmentDone(exercise, calculationTime);\n }\n\n private static boolean isAssessedAutomatically(ExerciseCourseScoreDTO exercise) {\n return exercise.type() == ExerciseType.PROGRAMMING && exercise.assessmentType() == AssessmentType.AUTOMATIC;\n }\n\n private static boolean isAutomaticAssessmentDone(ExerciseCourseScoreDTO exercise, ZonedDateTime calculationTime) {\n boolean finalBuildFinished = Optional.ofNullable(exercise.buildAndTestStudentSubmissionsAfterDueDate()).map(calculationTime::isAfter).orElse(true);\n return isAssessedAutomatically(exercise) && finalBuildFinished;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/c1ac5901e85f7295fdd6166b6e87144546a6e1cd.json b/web/public/bundles/artemis/code/c1ac5901e85f7295fdd6166b6e87144546a6e1cd.json new file mode 100644 index 00000000..642bcaf6 --- /dev/null +++ b/web/public/bundles/artemis/code/c1ac5901e85f7295fdd6166b6e87144546a6e1cd.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c1ac5901e85f7295fdd6166b6e87144546a6e1cd", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/job/FaqIngestionWebhookJob.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.iris.service.pyris.job;\n\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.exercise.domain.Exercise;\n\n/**\n * An implementation of a PyrisJob for Faq Ingestion in Pyris.\n * This job is used to reference the details of then Ingestion when Pyris sends a status update.\n */\npublic record FaqIngestionWebhookJob(String jobId, long courseId, long faqId) implements PyrisJob {\n\n @Override\n public boolean canAccess(Course course) {\n return false;\n }\n\n @Override\n public boolean canAccess(Exercise exercise) {\n return false;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/c1ad7112c6cd74dd249ad98817a5e9686598f3fd.json b/web/public/bundles/artemis/code/c1ad7112c6cd74dd249ad98817a5e9686598f3fd.json new file mode 100644 index 00000000..2274dc28 --- /dev/null +++ b/web/public/bundles/artemis/code/c1ad7112c6cd74dd249ad98817a5e9686598f3fd.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c1ad7112c6cd74dd249ad98817a5e9686598f3fd", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/core/service/ArchivalReportEntry.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.core.service;\n\nimport org.jspecify.annotations.Nullable;\n\nimport de.tum.cit.aet.artemis.exercise.domain.Exercise;\n\npublic class ArchivalReportEntry {\n\n @Nullable\n private final Exercise exercise;\n\n private final String exerciseName;\n\n private final int participants;\n\n private final int successfulExports;\n\n private final int participantsWithoutSubmission;\n\n private final int failedExports;\n\n /**\n * Generates a new entry with the given data\n */\n public ArchivalReportEntry(@Nullable Exercise exercise, String exerciseName, int participants, int successfulExports, int participantsWithoutSubmission, int failedExports) {\n this.exercise = exercise;\n this.exerciseName = exerciseName;\n this.participants = participants;\n this.successfulExports = successfulExports;\n this.participantsWithoutSubmission = participantsWithoutSubmission;\n this.failedExports = failedExports;\n }\n\n /**\n * Shortcut for {@link ArchivalReportEntry} but calculates the amount of fails\n */\n public ArchivalReportEntry(Exercise exercise, String exerciseName, int participants, int successfulExports, int participantsWithoutSubmission) {\n this(exercise, exerciseName, participants, successfulExports, participantsWithoutSubmission, participants - successfulExports - participantsWithoutSubmission);\n }\n\n /**\n * @return a line of a csv file for this entry\n */\n @Override\n public String toString() {\n return (exercise != null ? exercise.getId() + \",\" + exercise.getClass().getSimpleName() : \",\") + \",\" + exerciseName + \",\" + participants + \",\" + successfulExports + \",\"\n + participantsWithoutSubmission + \",\" + failedExports;\n }\n\n /**\n * @return the headline of a csv file containing entries of this class\n */\n public static String getHeadline() {\n return \"id,type,name,participants,successful exports,participants without submission,failed exports\";\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/c277ee4ca7cace6c531eb40d2778b59be8acae69.json b/web/public/bundles/artemis/code/c277ee4ca7cace6c531eb40d2778b59be8acae69.json new file mode 100644 index 00000000..054bf6bf --- /dev/null +++ b/web/public/bundles/artemis/code/c277ee4ca7cace6c531eb40d2778b59be8acae69.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c277ee4ca7cace6c531eb40d2778b59be8acae69", + "language": "typescript", + "path": "src/main/webapp/app/presentation/manage/presentation-student-toggle.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, input, output } from '@angular/core';\n\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { ProfilePictureComponent } from 'app/shared-ui/profile-picture/profile-picture.component';\nimport { PresentationStudentTableRow } from 'app/presentation/manage/presentation-assessment-management.helper';\n\n/** Shows a student with picture, name and email; clicking it shows or hides the details of the row. */\n@Component({\n selector: 'jhi-presentation-student-toggle',\n templateUrl: './presentation-student-toggle.component.html',\n imports: [ProfilePictureComponent, ArtemisTranslatePipe],\n})\nexport class PresentationStudentToggleComponent {\n readonly row = input.required();\n readonly expanded = input.required();\n /** Id of the element that shows the details of the row. */\n readonly detailsId = input.required();\n\n readonly toggled = output();\n}\n" +} diff --git a/web/public/bundles/artemis/code/c33df2d7ceedb62029127f61d66339bfe9f6a244.json b/web/public/bundles/artemis/code/c33df2d7ceedb62029127f61d66339bfe9f6a244.json new file mode 100644 index 00000000..170d02b5 --- /dev/null +++ b/web/public/bundles/artemis/code/c33df2d7ceedb62029127f61d66339bfe9f6a244.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c33df2d7ceedb62029127f61d66339bfe9f6a244", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/repository/MaintenanceEmailRecipientRepository.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.notification.repository;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\n\nimport java.time.ZonedDateTime;\nimport java.util.Set;\n\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.data.jpa.repository.Query;\nimport org.springframework.data.repository.query.Param;\nimport org.springframework.stereotype.Repository;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.core.repository.base.ArtemisJpaRepository;\nimport de.tum.cit.aet.artemis.notification.dto.MaintenanceEmailRecipientDTO;\n\n/**\n * Repository for querying maintenance email recipients.\n * Queries the User entity to find instructors of ongoing courses who should receive maintenance notifications.\n */\n@Profile(PROFILE_CORE)\n@Repository\n@Lazy\npublic interface MaintenanceEmailRecipientRepository extends ArtemisJpaRepository {\n\n // Note: these two queries share identical WHERE logic; keep them in sync when modifying. A test user (see TestAccountEmailService) counts as having the\n // notification switched off until it switched it on, which is why it needs a setting that is enabled where everybody else only needs none that is disabled.\n @Query(\"\"\"\n SELECT DISTINCT new de.tum.cit.aet.artemis.notification.dto.MaintenanceEmailRecipientDTO(\n u.id, u.login, u.email, u.langKey, u.firstName, u.lastName, u.isTestUser)\n FROM User u\n WHERE u.deleted = FALSE\n AND u.activated = TRUE\n AND u.email IS NOT NULL\n AND EXISTS (\n SELECT ucr FROM UserCourseRole ucr\n WHERE ucr.user = u\n AND ucr.role = de.tum.cit.aet.artemis.core.domain.CourseRole.INSTRUCTOR\n AND ucr.course.startDate <= :now\n AND ucr.course.endDate >= :now\n )\n AND NOT EXISTS (\n SELECT 1 FROM GlobalNotificationSetting s\n WHERE s.userId = u.id\n AND s.notificationType = de.tum.cit.aet.artemis.notification.domain.GlobalNotificationType.MAINTENANCE\n AND s.enabled = FALSE\n )\n AND (u.isTestUser = FALSE OR EXISTS (\n SELECT 1 FROM GlobalNotificationSetting e\n WHERE e.userId = u.id\n AND e.notificationType = de.tum.cit.aet.artemis.notification.domain.GlobalNotificationType.MAINTENANCE\n AND e.enabled = TRUE\n ))\n \"\"\")\n Set findInstructorRecipientsForMaintenanceEmail(@Param(\"now\") ZonedDateTime now);\n\n @Query(\"\"\"\n SELECT COUNT(DISTINCT u.id)\n FROM User u\n WHERE u.deleted = FALSE\n AND u.activated = TRUE\n AND u.email IS NOT NULL\n AND EXISTS (\n SELECT ucr FROM UserCourseRole ucr\n WHERE ucr.user = u\n AND ucr.role = de.tum.cit.aet.artemis.core.domain.CourseRole.INSTRUCTOR\n AND ucr.course.startDate <= :now\n AND ucr.course.endDate >= :now\n )\n AND NOT EXISTS (\n SELECT 1 FROM GlobalNotificationSetting s\n WHERE s.userId = u.id\n AND s.notificationType = de.tum.cit.aet.artemis.notification.domain.GlobalNotificationType.MAINTENANCE\n AND s.enabled = FALSE\n )\n AND (u.isTestUser = FALSE OR EXISTS (\n SELECT 1 FROM GlobalNotificationSetting e\n WHERE e.userId = u.id\n AND e.notificationType = de.tum.cit.aet.artemis.notification.domain.GlobalNotificationType.MAINTENANCE\n AND e.enabled = TRUE\n ))\n \"\"\")\n long countInstructorRecipientsForMaintenanceEmail(@Param(\"now\") ZonedDateTime now);\n}\n" +} diff --git a/web/public/bundles/artemis/code/c393db981ecf471365de85b3d09c9659b2d3e1ba.json b/web/public/bundles/artemis/code/c393db981ecf471365de85b3d09c9659b2d3e1ba.json new file mode 100644 index 00000000..7d4dde6b --- /dev/null +++ b/web/public/bundles/artemis/code/c393db981ecf471365de85b3d09c9659b2d3e1ba.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c393db981ecf471365de85b3d09c9659b2d3e1ba", + "language": "typescript", + "path": "src/main/webapp/app/assessment/manage/assessment-instructions/expandable-section/expandable-section.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, OnInit, inject, input, signal } from '@angular/core';\nimport { faAngleDown, faAngleRight } from '@fortawesome/free-solid-svg-icons';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { LocalStorageService } from 'app/foundation/service/local-storage.service';\n\n@Component({\n selector: 'jhi-expandable-section',\n templateUrl: './expandable-section.component.html',\n styleUrls: ['./expandable-section.component.css'],\n imports: [FaIconComponent, ArtemisTranslatePipe],\n})\nexport class ExpandableSectionComponent implements OnInit {\n private localStorageService = inject(LocalStorageService);\n\n readonly headerKey = input.required();\n readonly hasTranslation = input(true);\n readonly isSubHeader = input(false);\n\n readonly isCollapsed = signal(undefined!);\n // Icons\n faAngleRight = faAngleRight;\n faAngleDown = faAngleDown;\n\n readonly PREFIX = 'collapsed.';\n\n ngOnInit(): void {\n this.isCollapsed.set(!!this.localStorageService.retrieve(this.storageKey));\n this.localStorageService.store(this.storageKey, this.isCollapsed());\n }\n\n /**\n * Toggle the state of the instruction block and store the updated state in the local storage.\n */\n toggleCollapsed() {\n this.isCollapsed.update((collapsed) => !collapsed);\n this.localStorageService.store(this.storageKey, this.isCollapsed());\n }\n\n /**\n * Returns the key to identify the value in the local storage\n */\n get storageKey() {\n return this.PREFIX + this.headerKey();\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/c3c39a40cc4ab29fc8222fcc0b6d1c3f4e6d88d8.json b/web/public/bundles/artemis/code/c3c39a40cc4ab29fc8222fcc0b6d1c3f4e6d88d8.json new file mode 100644 index 00000000..ce181839 --- /dev/null +++ b/web/public/bundles/artemis/code/c3c39a40cc4ab29fc8222fcc0b6d1c3f4e6d88d8.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c3c39a40cc4ab29fc8222fcc0b6d1c3f4e6d88d8", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/domain/PlagiarismSubmission.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.plagiarism.domain;\n\nimport java.io.File;\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.Objects;\nimport java.util.stream.Collectors;\n\nimport jakarta.persistence.CascadeType;\nimport jakarta.persistence.Column;\nimport jakarta.persistence.Entity;\nimport jakarta.persistence.EnumType;\nimport jakarta.persistence.Enumerated;\nimport jakarta.persistence.FetchType;\nimport jakarta.persistence.JoinColumn;\nimport jakarta.persistence.ManyToOne;\nimport jakarta.persistence.OneToMany;\nimport jakarta.persistence.Table;\n\nimport org.apache.commons.lang3.Strings;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport com.fasterxml.jackson.annotation.JsonIgnore;\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.jplag.Submission;\nimport de.tum.cit.aet.artemis.core.domain.DomainObject;\nimport de.tum.cit.aet.artemis.core.domain.Parent;\nimport de.tum.cit.aet.artemis.exercise.domain.Exercise;\nimport de.tum.cit.aet.artemis.exercise.domain.ExerciseType;\n\n@Entity\n@Table(name = \"plagiarism_submission\")\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic class PlagiarismSubmission extends DomainObject {\n\n private static final Logger log = LoggerFactory.getLogger(PlagiarismSubmission.class);\n\n /**\n * ID of the wrapped submission object.\n *

\n * We don't use a full relation to `Submission` here to decrease the overhead of creating and\n * fetching `PlagiarismSubmission` objects. We get the submissionId for free, as JPlag\n * uses it as an identifier of each submission during comparison. The ID is used in the client\n * to fetch a submission's contents.\n *

\n * Note: For programming exercises, this field actually references the participation instead of\n * a single submission of a student, since the participation ID is required to properly fetch the\n * corresponding repository's contents.\n */\n @Column(name = \"submission_id\")\n private long submissionId;\n\n /**\n * Hash of the commit that was compared, only set for programming submissions. It lets the comparison view show exactly the compared state.\n * It is only used on the server and not part of the serialized form.\n */\n @JsonIgnore\n @Column(name = \"commit_hash\", length = 64)\n private String commitHash;\n\n /**\n * Login of the student who created the submission.\n */\n @Column(name = \"student_login\")\n private String studentLogin;\n\n /**\n * List of elements the related submission consists of.\n */\n @JsonIgnoreProperties(value = \"plagiarismSubmission\", allowSetters = true)\n @OneToMany(mappedBy = \"plagiarismSubmission\", cascade = CascadeType.ALL, fetch = FetchType.LAZY)\n private List elements;\n\n @ManyToOne\n private PlagiarismCase plagiarismCase;\n\n /**\n * The comparison this submission is one half of. The submission holds the key, so it cannot be left behind when\n * the comparison stops pointing at it.\n */\n @JsonIgnoreProperties(\"submissions\")\n @ManyToOne(optional = false)\n @JoinColumn(name = \"plagiarism_comparison_id\", nullable = false)\n @Parent\n private PlagiarismComparison plagiarismComparison;\n\n /**\n * Which of the two submissions of the comparison this is.\n */\n @Enumerated(EnumType.STRING)\n @Column(name = \"comparison_side\", nullable = false)\n private PlagiarismComparisonSide side;\n\n /**\n * Size of the related submission.\n *

\n * For text and programming submissions, this is the number of words or tokens.\n */\n @Column(name = \"size\")\n private int size;\n\n /**\n * Result score of the related submission.\n */\n @Column(name = \"score\")\n private Double score;\n\n /**\n * Create a new PlagiarismSubmission instance from an existing JPlag Submission\n *\n * @param jplagSubmission the JPlag Submission to create the PlagiarismSubmission from\n * @param exercise the exercise to which the comparison belongs, either Text or Programming\n * @param submissionDirectory the directory to which all student submissions have been downloaded / stored\n * @return a new PlagiarismSubmission instance\n */\n public static PlagiarismSubmission fromJPlagSubmission(Submission jplagSubmission, Exercise exercise, File submissionDirectory) {\n PlagiarismSubmission submission = new PlagiarismSubmission();\n\n // Text exports append .txt; programming submission names are repository directories without an extension.\n String submissionName = exercise.getExerciseType() == ExerciseType.TEXT ? Strings.CS.removeEnd(jplagSubmission.getName(), \".txt\") : jplagSubmission.getName();\n String[] submissionIdAndStudentLogin = submissionName.split(\"-\", 2);\n\n long submissionId = 0;\n String studentLogin = \"unknown\";\n\n if (submissionIdAndStudentLogin.length >= 2) {\n try {\n submissionId = Long.parseLong(submissionIdAndStudentLogin[0]);\n }\n catch (NumberFormatException e) {\n log.error(\"Invalid submissionId: {}\", e.getMessage());\n }\n\n studentLogin = submissionIdAndStudentLogin[1];\n }\n\n submission.setStudentLogin(studentLogin);\n submission.setElements(jplagSubmission.getTokenList().stream().filter(Objects::nonNull)\n .map(token -> PlagiarismSubmissionElement.fromJPlagToken(token, submission, exercise, submissionDirectory)).collect(Collectors.toCollection(ArrayList::new)));\n submission.setSubmissionId(submissionId);\n submission.setSize(jplagSubmission.getNumberOfTokens());\n submission.setScore(null); // TODO\n\n return submission;\n }\n\n public void setCommitHash(String commitHash) {\n this.commitHash = commitHash;\n }\n\n public String getStudentLogin() {\n return studentLogin;\n }\n\n public void setStudentLogin(String studentLogin) {\n this.studentLogin = studentLogin;\n }\n\n public List getElements() {\n return elements;\n }\n\n public void setElements(List elements) {\n this.elements = elements;\n }\n\n public long getSubmissionId() {\n return submissionId;\n }\n\n public void setSubmissionId(long submissionId) {\n this.submissionId = submissionId;\n }\n\n public int getSize() {\n return size;\n }\n\n public void setSize(int size) {\n this.size = size;\n }\n\n public Double getScore() {\n return score;\n }\n\n public void setScore(Double score) {\n this.score = score;\n }\n\n public PlagiarismCase getPlagiarismCase() {\n return plagiarismCase;\n }\n\n public void setPlagiarismCase(PlagiarismCase plagiarismCase) {\n this.plagiarismCase = plagiarismCase;\n }\n\n public PlagiarismComparison getPlagiarismComparison() {\n return plagiarismComparison;\n }\n\n public void setPlagiarismComparison(PlagiarismComparison plagiarismComparison) {\n this.plagiarismComparison = plagiarismComparison;\n }\n\n public PlagiarismComparisonSide getSide() {\n return side;\n }\n\n public void setSide(PlagiarismComparisonSide side) {\n this.side = side;\n }\n\n @Override\n public String toString() {\n return \"PlagiarismSubmission{\" + \"submissionId=\" + submissionId + \", studentLogin='\" + studentLogin + '\\'' + \", size=\" + size + \", score=\" + score + '}';\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/c42ff1376d5a09f32664fe863ecbccba4153b5ea.json b/web/public/bundles/artemis/code/c42ff1376d5a09f32664fe863ecbccba4153b5ea.json new file mode 100644 index 00000000..04c24501 --- /dev/null +++ b/web/public/bundles/artemis/code/c42ff1376d5a09f32664fe863ecbccba4153b5ea.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c42ff1376d5a09f32664fe863ecbccba4153b5ea", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/domain/StudentScore.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.assessment.domain;\n\nimport jakarta.persistence.DiscriminatorValue;\nimport jakarta.persistence.Entity;\nimport jakarta.persistence.FetchType;\nimport jakarta.persistence.JoinColumn;\nimport jakarta.persistence.ManyToOne;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.exercise.domain.participation.Participant;\n\n@Entity\n@DiscriminatorValue(\"SS\")\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic class StudentScore extends ParticipantScore {\n\n @ManyToOne(fetch = FetchType.LAZY)\n @JoinColumn(name = \"user_id\")\n private User user;\n\n public User getUser() {\n return user;\n }\n\n public void setUser(User user) {\n this.user = user;\n }\n\n @Override\n public Participant getParticipant() {\n return getUser();\n }\n\n @Override\n public String toString() {\n Long id = getId();\n Long userId = getUser() != null ? getUser().getId() : null;\n Long exerciseId = getExercise() != null ? getExercise().getId() : null;\n Long lastResultId = getLastResult() != null ? getLastResult().getId() : null;\n Double lastResultScore = getLastScore();\n Long lastRatedResultId = getLastRatedResult() != null ? getLastRatedResult().getId() : null;\n Double lastRatedScore = getLastRatedScore();\n\n return \"StudentScore{\" + \"id=\" + id + \", userId=\" + userId + \", exerciseId=\" + exerciseId + \", lastResultId=\" + lastResultId + \", lastResultScore=\" + lastResultScore\n + \", lastRatedResultId=\" + lastRatedResultId + \", lastRatedResultScore=\" + lastRatedScore + '}';\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/c46089d4cb99968b3a8a8555b61d57182bc8be1c.json b/web/public/bundles/artemis/code/c46089d4cb99968b3a8a8555b61d57182bc8be1c.json new file mode 100644 index 00000000..c25ba4ef --- /dev/null +++ b/web/public/bundles/artemis/code/c46089d4cb99968b3a8a8555b61d57182bc8be1c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c46089d4cb99968b3a8a8555b61d57182bc8be1c", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/BuildResultSubmissionDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.programming.dto;\n\nimport java.time.ZonedDateTime;\n\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.assessment.domain.AssessmentType;\nimport de.tum.cit.aet.artemis.assessment.domain.Result;\nimport de.tum.cit.aet.artemis.exercise.domain.SubmissionType;\nimport de.tum.cit.aet.artemis.exercise.domain.participation.Participation;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingSubmission;\n\n/**\n * The submission a build result belongs to, and its newest result, as the grading code reads them.\n *

\n * Loading the submission as an entity is expensive out of all proportion to what is read off it: a submission eagerly\n * resolves its participation, the participation its exercise, and the exercise its course, so the row carries the\n * exercise's problem statement and the course's code of conduct even though grading looks at a flag and an id.\n *\n * @param submissionId the submission the result belongs to\n * @param buildFailed whether the build of this submission had already been recorded as failed\n * @param commitHash the commit the submission points at\n * @param submissionType how the submission came to be\n * @param submissionDate when the submission was made\n * @param submitted whether the submission was submitted\n * @param exampleSubmission whether the submission is an example submission\n * @param latestResultId the newest result of the submission, null when it has none\n * @param latestResultType the assessment type of that newest result\n * @param latestResultCompletionDate when that newest result was completed\n * @param latestResultCorrectionRound which correction round that newest result belongs to\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record BuildResultSubmissionDTO(long submissionId, boolean buildFailed, @Nullable String commitHash, @Nullable SubmissionType submissionType,\n @Nullable ZonedDateTime submissionDate, @Nullable Boolean submitted, @Nullable Boolean exampleSubmission, @Nullable Long latestResultId,\n @Nullable AssessmentType latestResultType, @Nullable ZonedDateTime latestResultCompletionDate, @Nullable Integer latestResultCorrectionRound) {\n\n /**\n * Builds the detached submission the grading code works on, carrying its newest result and the participation the\n * caller already loaded.\n *

\n * Only the fields that path reads are set. The result of the new build is added to this submission and saved through\n * its own repository, which owns the foreign key, so this object is never passed to a repository itself.\n *\n * @param participation the participation of the submission, already loaded by the caller\n * @return a detached submission holding what grading reads\n */\n public ProgrammingSubmission toDetachedSubmission(Participation participation) {\n var submission = new ProgrammingSubmission();\n submission.setId(submissionId);\n submission.setBuildFailed(buildFailed);\n submission.setCommitHash(commitHash);\n submission.setType(submissionType);\n submission.setSubmissionDate(submissionDate);\n submission.setSubmitted(submitted);\n submission.setExampleSubmission(exampleSubmission);\n submission.setParticipation(participation);\n if (latestResultId != null) {\n var latestResult = new Result();\n latestResult.setId(latestResultId);\n latestResult.setAssessmentType(latestResultType);\n latestResult.setCompletionDate(latestResultCompletionDate);\n latestResult.setCorrectionRound(latestResultCorrectionRound);\n submission.addResult(latestResult);\n }\n return submission;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/c49f51239fca8224a521fcb466c6ac10ffc05bc3.json b/web/public/bundles/artemis/code/c49f51239fca8224a521fcb466c6ac10ffc05bc3.json new file mode 100644 index 00000000..04a07eeb --- /dev/null +++ b/web/public/bundles/artemis/code/c49f51239fca8224a521fcb466c6ac10ffc05bc3.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c49f51239fca8224a521fcb466c6ac10ffc05bc3", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/buildagent/service/BuildJobQueueItemValidator.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.buildagent.service;\n\nimport java.util.List;\nimport java.util.regex.Pattern;\n\nimport org.apache.commons.lang3.StringUtils;\n\nimport de.tum.cit.aet.artemis.buildagent.dto.BuildJobQueueItem;\nimport de.tum.cit.aet.artemis.buildagent.dto.RepositoryInfo;\nimport de.tum.cit.aet.artemis.localci.exception.LocalCIException;\nimport de.tum.cit.aet.artemis.localvc.service.LocalVCRepositoryUri;\n\n/**\n * Checks the fields of a queued build job that the build agent turns into folder names and container paths, before the\n * job starts.\n *\n *

\n * The agent never uses the host of a repository URI from the queue: it rebuilds the clone address from its own\n * configuration, so only the project key and the repository slug of the URI take effect. They have to be plain names,\n * as do the directories the repositories are checked out to. Nothing else is restricted, on purpose: values such as the\n * docker network or the result paths are configured by instructors and administrators in ways the agent cannot judge, so\n * they are checked where they are configured.\n */\nfinal class BuildJobQueueItemValidator {\n\n private static final Pattern PATH_SEPARATOR = Pattern.compile(\"[/\\\\\\\\]\");\n\n private BuildJobQueueItemValidator() {\n }\n\n /**\n * @param buildJob the queued build job about to be executed\n * @throws LocalCIException if a repository URI or a checkout directory of the job is not a plain name\n */\n static void validate(BuildJobQueueItem buildJob) {\n RepositoryInfo repositoryInfo = buildJob.repositoryInfo();\n validateRepositoryUri(repositoryInfo.assignmentRepositoryUri(), true);\n validateRepositoryUri(repositoryInfo.testRepositoryUri(), true);\n validateRepositoryUri(repositoryInfo.solutionRepositoryUri(), false);\n String[] auxiliaryRepositoryUris = repositoryInfo.auxiliaryRepositoryUris();\n if (auxiliaryRepositoryUris != null) {\n for (String auxiliaryRepositoryUri : auxiliaryRepositoryUris) {\n validateRepositoryUri(auxiliaryRepositoryUri, true);\n }\n }\n String[] checkoutDirectories = repositoryInfo.auxiliaryRepositoryCheckoutDirectories();\n int auxiliaryRepositoryCount = auxiliaryRepositoryUris == null ? 0 : auxiliaryRepositoryUris.length;\n int checkoutDirectoryCount = checkoutDirectories == null ? 0 : checkoutDirectories.length;\n if (auxiliaryRepositoryCount != checkoutDirectoryCount) {\n throw new LocalCIException(\"The build job does not contain one checkout directory for each auxiliary repository\");\n }\n if (checkoutDirectories != null) {\n for (String checkoutDirectory : checkoutDirectories) {\n validateCheckoutPath(checkoutDirectory);\n }\n }\n var buildConfig = buildJob.buildConfig();\n for (String checkoutPath : List.of(StringUtils.defaultString(buildConfig.assignmentCheckoutPath()), StringUtils.defaultString(buildConfig.testCheckoutPath()),\n StringUtils.defaultString(buildConfig.solutionCheckoutPath()))) {\n validateCheckoutPath(checkoutPath);\n }\n }\n\n private static void validateRepositoryUri(String repositoryUri, boolean required) {\n if (repositoryUri == null) {\n if (required) {\n throw new LocalCIException(\"The build job does not contain all repository URIs\");\n }\n return;\n }\n LocalVCRepositoryUri parsed;\n try {\n parsed = new LocalVCRepositoryUri(repositoryUri);\n }\n catch (RuntimeException e) {\n throw new LocalCIException(\"A repository URI of the build job is not valid\", e);\n }\n validateName(parsed.getProjectKey());\n validateName(parsed.repositorySlug());\n }\n\n private static void validateName(String name) {\n if (StringUtils.isBlank(name) || name.equals(\".\") || name.equals(\"..\") || PATH_SEPARATOR.matcher(name).find() || containsControlCharacter(name)) {\n throw new LocalCIException(\"A repository name of the build job is not valid\");\n }\n }\n\n /**\n * Checkout paths are relative to the directory the repositories are placed in and may be nested, so only a segment\n * that leaves that directory is refused.\n */\n private static void validateCheckoutPath(String checkoutPath) {\n if (StringUtils.isBlank(checkoutPath)) {\n return;\n }\n if (containsControlCharacter(checkoutPath)) {\n throw new LocalCIException(\"A checkout path of the build job is not valid\");\n }\n for (String segment : PATH_SEPARATOR.split(checkoutPath)) {\n if (segment.equals(\"..\")) {\n throw new LocalCIException(\"A checkout path of the build job is not valid\");\n }\n }\n }\n\n private static boolean containsControlCharacter(String value) {\n return value.chars().anyMatch(Character::isISOControl);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/c4b0af4b1d50a83ddf5d185cdbe46ad1e4303585.json b/web/public/bundles/artemis/code/c4b0af4b1d50a83ddf5d185cdbe46ad1e4303585.json new file mode 100644 index 00000000..41627b08 --- /dev/null +++ b/web/public/bundles/artemis/code/c4b0af4b1d50a83ddf5d185cdbe46ad1e4303585.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c4b0af4b1d50a83ddf5d185cdbe46ad1e4303585", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/ModelingExampleSubmissionDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.modeling.dto;\n\nimport java.io.Serializable;\nimport java.util.List;\n\nimport org.hibernate.Hibernate;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\nimport com.fasterxml.jackson.annotation.JsonProperty;\n\nimport de.tum.cit.aet.artemis.assessment.domain.ExampleSubmission;\nimport de.tum.cit.aet.artemis.assessment.dto.ResultDTO;\nimport de.tum.cit.aet.artemis.modeling.domain.ModelingSubmission;\n\n/**\n * Read DTO for an {@link ExampleSubmission} of a modeling exercise, as exposed on the single modeling-exercise detail\n * endpoint. Carries the example submission with a minimal projection of its (example) submission so the example\n * submission management page can render the diagram size and the \"example assessment created\" marker.\n *

\n * The nested submission projection is intentionally purpose-built and minimal (it does not reference the not-yet-existing\n * {@code ModelingSubmissionResponseDTO}): the management page reads {@code submission.model} (to compute the diagram\n * size) and {@code submission.results[*].exampleResult} (to flag whether an example assessment exists).\n *\n * @param id the example submission id\n * @param usedForTutorial whether this example submission is used for the tutorial\n * @param submission the minimal example modeling-submission projection\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record ModelingExampleSubmissionDTO(Long id, boolean usedForTutorial, ExampleModelingSubmissionDTO submission) implements Serializable {\n\n /**\n * Minimal projection of the example {@link ModelingSubmission} the example-submission management page reads.\n *\n * @param id the submission id\n * @param model the UML model (diagram-size computation on the management page)\n * @param explanationText the explanation text of the submission\n * @param submitted whether the submission was submitted\n * @param results the (example) results; the page reads {@code results[*].exampleResult}\n */\n @JsonInclude(JsonInclude.Include.NON_EMPTY)\n public record ExampleModelingSubmissionDTO(Long id, String model, String explanationText, Boolean submitted, List results) implements Serializable {\n\n /**\n * The example-submission edit page echoes the exercise detail response back into its save PUT, where this\n * projection is deserialized into the abstract {@link de.tum.cit.aet.artemis.exercise.domain.Submission}.\n * That type resolves its subtype from this discriminator, so it must stay on the wire (the entity payload\n * carried it via {@code @JsonTypeInfo}); without it the PUT fails as unreadable.\n *\n * @return the constant submission type discriminator\n */\n @JsonProperty(\"submissionExerciseType\")\n public String submissionExerciseType() {\n return \"modeling\";\n }\n }\n\n /**\n * Converts an {@link ExampleSubmission} into a {@link ModelingExampleSubmissionDTO}.\n *\n * @param exampleSubmission the example submission to convert (may be {@code null})\n * @return the converted DTO, or {@code null} if the input was {@code null}\n */\n public static ModelingExampleSubmissionDTO of(ExampleSubmission exampleSubmission) {\n if (exampleSubmission == null) {\n return null;\n }\n ExampleModelingSubmissionDTO submission = null;\n if (exampleSubmission.getSubmission() instanceof ModelingSubmission modelingSubmission) {\n List results = Hibernate.isInitialized(modelingSubmission.getResults()) && modelingSubmission.getResults() != null\n ? modelingSubmission.getResults().stream().map(ResultDTO::of).toList()\n : null;\n submission = new ExampleModelingSubmissionDTO(modelingSubmission.getId(), modelingSubmission.getModel(), modelingSubmission.getExplanationText(),\n modelingSubmission.isSubmitted(), results);\n }\n return new ModelingExampleSubmissionDTO(exampleSubmission.getId(), exampleSubmission.isUsedForTutorial(), submission);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/c4b1ee2b6e4a853d07909b1226526bbcd66638b9.json b/web/public/bundles/artemis/code/c4b1ee2b6e4a853d07909b1226526bbcd66638b9.json new file mode 100644 index 00000000..a6882d3b --- /dev/null +++ b/web/public/bundles/artemis/code/c4b1ee2b6e4a853d07909b1226526bbcd66638b9.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c4b1ee2b6e4a853d07909b1226526bbcd66638b9", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/JenkinsService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.jenkins.service;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_JENKINS;\n\nimport java.net.URI;\nimport java.util.Map;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.beans.factory.annotation.Qualifier;\nimport org.springframework.beans.factory.annotation.Value;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.stereotype.Service;\nimport org.springframework.web.client.RestClient;\n\nimport tools.jackson.core.JacksonException;\n\nimport de.tum.cit.aet.artemis.core.service.connectors.ConnectorHealth;\nimport de.tum.cit.aet.artemis.jenkins.exception.JenkinsException;\nimport de.tum.cit.aet.artemis.jenkins.service.build_plan.JenkinsBuildPlanService;\nimport de.tum.cit.aet.artemis.jenkins.service.jobs.JenkinsJobService;\nimport de.tum.cit.aet.artemis.localci.service.ci.ContinuousIntegrationService;\nimport de.tum.cit.aet.artemis.localci.service.ci.notification.dto.TestResultsDTO;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingExercise;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingExerciseParticipation;\nimport de.tum.cit.aet.artemis.programming.domain.RepositoryType;\nimport de.tum.cit.aet.artemis.programming.domain.VcsRepositoryUri;\nimport de.tum.cit.aet.artemis.programming.domain.build.BuildPlanType;\nimport de.tum.cit.aet.artemis.programming.exception.ContinuousIntegrationException;\nimport de.tum.cit.aet.artemis.programming.repository.ProgrammingExerciseBuildConfigRepository;\n\n// REMOVE_IN_ARTEMIS_11 (Jenkins): Jenkins support is removed in Artemis 11, delete with the whole jenkins module\n@Profile(PROFILE_JENKINS)\n@Lazy\n@Service\npublic class JenkinsService implements ContinuousIntegrationService {\n\n private static final Logger log = LoggerFactory.getLogger(JenkinsService.class);\n\n @Value(\"${artemis.continuous-integration.url}\")\n private URI jenkinsServerUri;\n\n private final JenkinsBuildPlanService jenkinsBuildPlanService;\n\n private final JenkinsJobService jenkinsJobService;\n\n private final RestClient shortTimeoutRestClient;\n\n private final ProgrammingExerciseBuildConfigRepository programmingExerciseBuildConfigRepository;\n\n public JenkinsService(@Qualifier(\"shortTimeoutJenkinsRestClient\") RestClient shortTimeoutRestClient, JenkinsBuildPlanService jenkinsBuildPlanService,\n JenkinsJobService jenkinsJobService, ProgrammingExerciseBuildConfigRepository programmingExerciseBuildConfigRepository) {\n this.jenkinsBuildPlanService = jenkinsBuildPlanService;\n this.jenkinsJobService = jenkinsJobService;\n this.shortTimeoutRestClient = shortTimeoutRestClient;\n this.programmingExerciseBuildConfigRepository = programmingExerciseBuildConfigRepository;\n }\n\n @Override\n public void createBuildPlanForExercise(ProgrammingExercise exercise, String planKey, VcsRepositoryUri repositoryUri, VcsRepositoryUri testRepositoryUri,\n VcsRepositoryUri solutionRepositoryUri) {\n jenkinsBuildPlanService.createBuildPlanForExercise(exercise, planKey, repositoryUri, false);\n }\n\n @Override\n public void recreateBuildPlansForExercise(ProgrammingExercise exercise) {\n final String projectKey = exercise.getProjectKey();\n\n if (!jenkinsBuildPlanService.projectFolderExists(projectKey)) {\n createProjectForExercise(exercise);\n }\n\n deleteBuildPlan(projectKey, exercise.getTemplateBuildPlanId());\n deleteBuildPlan(projectKey, exercise.getSolutionBuildPlanId());\n\n jenkinsBuildPlanService.createBuildPlanForExercise(exercise, BuildPlanType.TEMPLATE.getName(), exercise.getRepositoryURI(RepositoryType.TEMPLATE), true);\n jenkinsBuildPlanService.createBuildPlanForExercise(exercise, BuildPlanType.SOLUTION.getName(), exercise.getRepositoryURI(RepositoryType.SOLUTION), true);\n }\n\n @Override\n public String copyBuildPlan(ProgrammingExercise sourceExercise, String sourcePlanName, ProgrammingExercise targetExercise, String targetProjectName, String targetPlanName,\n boolean targetProjectExists) {\n return jenkinsBuildPlanService.copyBuildPlan(sourceExercise, sourcePlanName, targetExercise, targetPlanName);\n }\n\n @Override\n public void configureBuildPlan(ProgrammingExerciseParticipation participation) {\n jenkinsBuildPlanService.configureBuildPlanForParticipation(participation);\n }\n\n @Override\n public void updatePlanRepository(String buildProjectKey, String buildPlanKey, String ciRepoName, String repoProjectKey, String newRepoUri, String existingRepoUri,\n String newDefaultBranch) {\n jenkinsBuildPlanService.updateBuildPlanRepositories(buildProjectKey, buildPlanKey, newRepoUri, existingRepoUri);\n }\n\n @Override\n public void deleteProject(String projectKey) {\n jenkinsJobService.deleteFolderJob(projectKey);\n }\n\n @Override\n public void deleteBuildPlan(String projectKey, String planKey) {\n jenkinsJobService.deleteJob(projectKey, planKey);\n }\n\n @Override\n public String getPlanKey(Object requestBody) throws JenkinsException {\n try {\n TestResultsDTO dto = TestResultsDTO.convert(requestBody);\n return jenkinsBuildPlanService.getBuildPlanKeyFromTestResults(dto);\n }\n catch (JacksonException jsonProcessingException) {\n throw new JenkinsException(\"Something went wrong trying to parse the requestBody while getting the PlanKey from Jenkins!\");\n }\n }\n\n @Override\n public BuildStatus getBuildStatus(ProgrammingExerciseParticipation participation) {\n if (participation.getBuildPlanId() == null) {\n // The build plan does not exist, the build status cannot be retrieved\n return null;\n }\n\n var exercise = participation.getProgrammingExercise();\n if (exercise == null) {\n return null;\n }\n final var projectKey = exercise.getProjectKey();\n final var planKey = participation.getBuildPlanId();\n return jenkinsBuildPlanService.getBuildStatusOfPlan(projectKey, planKey);\n }\n\n @Override\n public boolean checkIfBuildPlanExists(String projectKey, String buildPlanId) {\n return jenkinsBuildPlanService.buildPlanExists(projectKey, buildPlanId);\n }\n\n @Override\n public String checkIfProjectExists(String projectKey, String projectName) {\n try {\n final var job = jenkinsJobService.getFolderJob(projectKey);\n if (job == null || job.url() == null || job.url().isEmpty()) {\n // means the project does not exist\n return null;\n }\n else {\n return \"The project \" + projectKey + \" already exists in Jenkins. Please choose a different short name!\";\n }\n }\n catch (Exception emAll) {\n log.warn(emAll.getMessage());\n // in case of an error message, we assume the project exist\n return \"The project already exists on the Continuous Integration Server. Please choose a different title and short name!\";\n }\n }\n\n @Override\n public void enablePlan(String projectKey, String planKey) {\n jenkinsBuildPlanService.enablePlan(projectKey, planKey);\n }\n\n @Override\n public ConnectorHealth health() {\n Map additionalInfo = Map.of(\"url\", jenkinsServerUri);\n try {\n URI uri = JenkinsEndpoints.HEALTH.buildEndpoint(jenkinsServerUri).build(true).toUri();\n // Note: we simply check if the login page is reachable\n shortTimeoutRestClient.get().uri(uri).retrieve().body(String.class);\n return new ConnectorHealth(true, additionalInfo);\n }\n catch (Exception emAll) {\n return new ConnectorHealth(false, additionalInfo, new JenkinsException(\"Jenkins Server is down!\"));\n }\n }\n\n @Override\n public void createProjectForExercise(ProgrammingExercise programmingExercise) throws ContinuousIntegrationException {\n try {\n jenkinsJobService.createFolder(programmingExercise.getProjectKey());\n }\n catch (Exception e) {\n log.error(e.getMessage(), e);\n throw new JenkinsException(\"Error creating folder for exercise \" + programmingExercise, e);\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/c4c0ee493df9059e97edf709aad88e296e329876.json b/web/public/bundles/artemis/code/c4c0ee493df9059e97edf709aad88e296e329876.json new file mode 100644 index 00000000..689186c7 --- /dev/null +++ b/web/public/bundles/artemis/code/c4c0ee493df9059e97edf709aad88e296e329876.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c4c0ee493df9059e97edf709aad88e296e329876", + "language": "typescript", + "path": "src/main/webapp/app/communication/course-conversations-components/one-to-one-chat-create-dialog/one-to-one-chat-create-dialog.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, signal } from '@angular/core';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { faXmark } from '@fortawesome/free-solid-svg-icons';\nimport { TumAetUiButtonDirective } from '@tumaet/ui-angular/button';\nimport { Course } from 'app/course/shared/entities/course.model';\nimport { UserPublicInfoDTO } from 'app/account/user/user.model';\nimport { AbstractDialogComponent } from 'app/communication/course-conversations-components/abstract-dialog.component';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { CourseUsersSelectorComponent } from 'app/communication/course-users-selector/course-users-selector.component';\nimport { FormsModule } from '@angular/forms';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\n\n@Component({\n selector: 'jhi-one-to-one-chat-create-dialog',\n templateUrl: './one-to-one-chat-create-dialog.component.html',\n imports: [TranslateDirective, CourseUsersSelectorComponent, FormsModule, ArtemisTranslatePipe, FaIconComponent, TumAetUiButtonDirective],\n})\nexport class OneToOneChatCreateDialogComponent extends AbstractDialogComponent {\n protected readonly faXmark = faXmark;\n\n course = signal(undefined);\n\n override isInitialized = false;\n readonly selectedUsers = signal([]);\n userToChatWith?: UserPublicInfoDTO;\n\n override initialize() {\n super.initialize(['course']);\n }\n\n clear() {\n this.dismiss();\n }\n\n onUserSelected() {\n this.close(this.userToChatWith);\n }\n\n onSelectedUsersChange(selectedUsers: UserPublicInfoDTO[]) {\n if (selectedUsers && selectedUsers.length > 0) {\n this.selectedUsers.set(selectedUsers);\n this.userToChatWith = this.selectedUsers()[0];\n this.onUserSelected();\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/c5c6ecd97067517465d49c97bac023df8e486f11.json b/web/public/bundles/artemis/code/c5c6ecd97067517465d49c97bac023df8e486f11.json new file mode 100644 index 00000000..c1f8d6a8 --- /dev/null +++ b/web/public/bundles/artemis/code/c5c6ecd97067517465d49c97bac023df8e486f11.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c5c6ecd97067517465d49c97bac023df8e486f11", + "language": "typescript", + "path": "src/main/webapp/app/text/shared/entities/text-exercise.model.ts", + "schema": "codexray.code/1", + "text": "import { Exercise, ExerciseType } from 'app/exercise/shared/entities/exercise/exercise.model';\nimport { Course } from 'app/course/shared/entities/course.model';\nimport { ExerciseGroup } from 'app/exam/shared/entities/exercise-group.model';\nimport { AssessmentType } from 'app/assessment/shared/entities/assessment-type.model';\n\nexport class TextExercise extends Exercise {\n public exampleSolution?: string;\n\n constructor(course: Course | undefined, exerciseGroup: ExerciseGroup | undefined) {\n super(ExerciseType.TEXT);\n this.course = course;\n this.exerciseGroup = exerciseGroup;\n // Set a default value\n this.assessmentType = AssessmentType.MANUAL;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/c6ba6d7140fff6d1214f688bf866dcfe6259956c.json b/web/public/bundles/artemis/code/c6ba6d7140fff6d1214f688bf866dcfe6259956c.json new file mode 100644 index 00000000..41d6dbd5 --- /dev/null +++ b/web/public/bundles/artemis/code/c6ba6d7140fff6d1214f688bf866dcfe6259956c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c6ba6d7140fff6d1214f688bf866dcfe6259956c", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/dto/IrisCourseHomeSessionsDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.iris.dto;\n\nimport java.time.Instant;\nimport java.util.List;\n\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.course.domain.CourseHomeSectionStatus;\n\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record IrisCourseHomeSessionsDTO(CourseHomeSectionStatus status, List items) {\n\n @JsonInclude(JsonInclude.Include.NON_EMPTY)\n public record ItemDTO(long id, @Nullable String title, String mode, long entityId, @Nullable String entityName, Instant lastActivity) {\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/c83c5713d8807c6c7d9a07f7ca8f63fb046ae8c2.json b/web/public/bundles/artemis/code/c83c5713d8807c6c7d9a07f7ca8f63fb046ae8c2.json new file mode 100644 index 00000000..60b65435 --- /dev/null +++ b/web/public/bundles/artemis/code/c83c5713d8807c6c7d9a07f7ca8f63fb046ae8c2.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c83c5713d8807c6c7d9a07f7ca8f63fb046ae8c2", + "language": "typescript", + "path": "src/main/webapp/app/plagiarism/manage/plagiarism-run-details/plagiarism-run-details.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, computed, effect, inject, input, output, untracked } from '@angular/core';\nimport { GraphColors } from 'app/exercise/shared/entities/statistics.model';\nimport { Range, round } from 'app/foundation/util/utils';\nimport { PlagiarismComparison } from 'app/plagiarism/shared/entities/PlagiarismComparison';\nimport { PlagiarismStatus } from 'app/plagiarism/shared/entities/PlagiarismStatus';\nimport { PlagiarismResultStatsDTO } from 'app/plagiarism/shared/entities/PlagiarismResultDTO';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { TranslateService } from '@ngx-translate/core';\nimport { HelpIconComponent } from 'app/shared-ui/components/help-icon/help-icon.component';\nimport { singleSeriesChart } from 'app/shared-ui/chart/tum-aet-ui-chart-adapters';\nimport { DatePipe } from '@angular/common';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { ArtemisDatePipe } from 'app/foundation/pipes/artemis-date.pipe';\nimport { PlagiarismAndTutorEffortDirective } from 'app/plagiarism/manage/plagiarism-run-details/plagiarism-and-tutor-effort.directive';\nimport { PlagiarismInspectorService } from 'app/plagiarism/manage/plagiarism-inspector/plagiarism-inspector.service';\nimport { PlagiarismResult } from 'app/plagiarism/shared/entities/PlagiarismResult';\nimport { TumAetUiBarChartComponent, TumAetUiBarChartConfig, TumAetUiChartSelectEvent } from '@tumaet/ui-angular/chart';\n\ninterface SimilarityRangeComparisonStateDTO {\n confirmed: number;\n denied: number;\n open: number;\n}\n\n@Component({\n selector: 'jhi-plagiarism-run-details',\n styleUrls: ['./plagiarism-run-details.component.css'],\n templateUrl: './plagiarism-run-details.component.html',\n imports: [TranslateDirective, HelpIconComponent, TumAetUiBarChartComponent, DatePipe, ArtemisTranslatePipe, ArtemisDatePipe],\n})\nexport class PlagiarismRunDetailsComponent extends PlagiarismAndTutorEffortDirective {\n private inspectorService = inject(PlagiarismInspectorService);\n private translateService = inject(TranslateService);\n\n /**\n * Result of the automated plagiarism detection\n */\n readonly plagiarismResult = input();\n /**\n * Statistics for the automated plagiarism detection result\n */\n readonly plagiarismResultStats = input();\n readonly similaritySelected = output();\n\n yScaleMax = 5;\n totalDetectedPlagiarisms = 0;\n bucketDTOs: SimilarityRangeComparisonStateDTO[] = [];\n\n readonly round = round;\n\n private readonly resolvedColors = computed(() => this.chartColors());\n\n readonly chartData = computed(() => singleSeriesChart(this.chartEntries(), this.resolvedColors()));\n readonly chartConfig = computed(() => ({\n yAxis: { max: this.yScaleMax, tickFormatter: this.yAxisTickFormatting },\n tooltip: {\n title: (items) => {\n const item = items[0];\n if (!item) {\n return '';\n }\n return this.translateService.instant('artemisApp.plagiarism.numberIdentifiedPairs', { amount: item.value });\n },\n label: (item) => {\n const label = item.label;\n const bucketDTO = this.getBucketDTO(label);\n const percentage = this.totalDetectedPlagiarisms > 0 ? round((item.value * 100) / this.totalDetectedPlagiarisms, 2) : 0;\n return [\n this.translateService.instant('artemisApp.plagiarism.confirmed', { amount: bucketDTO?.confirmed ?? 0 }),\n this.translateService.instant('artemisApp.plagiarism.denied', { amount: bucketDTO?.denied ?? 0 }),\n this.translateService.instant('artemisApp.plagiarism.open', { amount: bucketDTO?.open ?? 0 }),\n this.translateService.instant('artemisApp.plagiarism.withSimilarity', { range: label }),\n this.translateService.instant('artemisApp.plagiarism.portionOfAllCases', { percentage }),\n ];\n },\n },\n dataLabels: { formatter: (value) => `${value}` },\n }));\n\n constructor() {\n super();\n /**\n * The labels of the chart are fixed and represent the 10 intervals we group the similarities into.\n */\n this.chartLabels = ['[0%-10%)', '[10%-20%)', '[20%-30%)', '[30%-40%)', '[40%-50%)', '[50%-60%)', '[60%-70%)', '[70%-80%)', '[80%-90%)', '[90%-100%]'];\n this.chartColors.set([...Array(8).fill(GraphColors.LIGHT_BLUE), ...Array(2).fill(GraphColors.RED)]);\n\n // Replaces ngOnChanges: rebuild the chart buckets and dataset whenever the plagiarism result changes.\n // The writes to bucketDTOs/chartEntries run untracked so only plagiarismResult() retriggers the effect.\n effect(() => {\n const plagiarismResult = this.plagiarismResult();\n if (plagiarismResult) {\n untracked(() => {\n this.setBucketDTOs(plagiarismResult.comparisons || []);\n this.updateChartDataSet(plagiarismResult.similarityDistribution || []);\n });\n }\n });\n }\n\n /**\n * Update the data of the dataset at the given index.\n *\n * @param data - the updated data array\n */\n updateChartDataSet(data: number[]) {\n this.chartEntries.set(data.map((value, position) => ({ name: this.chartLabels[position], value })));\n this.totalDetectedPlagiarisms = data.reduce((number1, number2) => number1 + number2, 0);\n }\n\n /**\n * Auxiliary method that sets the comparison dtos for the different chart buckets. These are used for the chart tooltips\n * to show the number of confirmed, denied and open plagiarism cases\n * @param comparisons the pairs identified by the detection tool\n */\n private setBucketDTOs(comparisons: PlagiarismComparison[]): void {\n this.bucketDTOs = [];\n // we use this array as minimum similarities for the filtering\n const steps = [0, 10, 20, 30, 40, 50, 60, 70, 80, 90];\n let comparisonsWithinRange;\n let additionInformationEntry;\n steps.forEach((minimumSimilarity) => {\n comparisonsWithinRange = this.inspectorService.filterComparisons(new Range(minimumSimilarity, minimumSimilarity + 10), comparisons);\n additionInformationEntry = {\n confirmed: comparisonsWithinRange.filter((comparison) => comparison.status === PlagiarismStatus.CONFIRMED).length,\n denied: comparisonsWithinRange.filter((comparison) => comparison.status === PlagiarismStatus.DENIED).length,\n open: comparisonsWithinRange.filter((comparison) => comparison.status === PlagiarismStatus.NONE).length,\n };\n this.bucketDTOs.push(additionInformationEntry);\n });\n }\n\n /**\n * Returns the DTO for a specific bucket\n * @param label the bar label the DTO should be returned for\n */\n getBucketDTO(label: string): SimilarityRangeComparisonStateDTO {\n const index = this.chartLabels.indexOf(label);\n return this.bucketDTOs[index];\n }\n\n /**\n * Handles the click on a specific chart bar\n * Emits the selected range to {@link PlagiarismInspectorComponent#filterByChart} so that the comparisons shown in the sidebar can be filtered accordingly\n * @param event the event identifying the clicked bar\n */\n onSelect(event: TumAetUiChartSelectEvent): void {\n const interval = event.label;\n if (!interval) {\n return;\n }\n const separatorIndex = interval.indexOf('-');\n const lowerBound = parseInt(interval.slice(1, separatorIndex), 10);\n const upperBound = parseInt(interval.slice(separatorIndex + 1, interval.length - 2), 10);\n\n this.similaritySelected.emit(new Range(lowerBound, upperBound));\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/c85fe0651727d41ad9785c3f22c7f6403c146735.json b/web/public/bundles/artemis/code/c85fe0651727d41ad9785c3f22c7f6403c146735.json new file mode 100644 index 00000000..271d512f --- /dev/null +++ b/web/public/bundles/artemis/code/c85fe0651727d41ad9785c3f22c7f6403c146735.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c85fe0651727d41ad9785c3f22c7f6403c146735", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/config/WeaviateHealthIndicator.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.globalsearch.config;\n\nimport org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;\nimport org.springframework.boot.health.contributor.Health;\nimport org.springframework.boot.health.contributor.HealthIndicator;\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.stereotype.Component;\n\nimport de.tum.cit.aet.artemis.core.service.connectors.ConnectorHealth;\nimport io.weaviate.client6.v1.api.WeaviateClient;\n\n/**\n * Health indicator for the Weaviate vector database used by the global search feature.\n * Only registered when Weaviate is configured to be active (see {@link WeaviateEnabled}).\n */\n@Lazy\n@Conditional(WeaviateEnabled.class)\n@ConditionalOnProperty(name = \"artemis.openapi-docs-generation\", havingValue = \"false\", matchIfMissing = true)\n@Component\npublic class WeaviateHealthIndicator implements HealthIndicator {\n\n private final WeaviateClient client;\n\n private final WeaviateConfigurationProperties properties;\n\n public WeaviateHealthIndicator(WeaviateClient client, WeaviateConfigurationProperties properties) {\n this.client = client;\n this.properties = properties;\n }\n\n @Override\n public Health health() {\n String address = properties.scheme() + \"://\" + properties.httpHost() + \":\" + properties.httpPort();\n try {\n if (client.isReady()) {\n return Health.up().withDetail(\"Address\", address).build();\n }\n return Health.status(ConnectorHealth.DEGRADED).withDetail(\"Address\", address).withDetail(\"ready\", false).build();\n }\n catch (Exception e) {\n return Health.status(ConnectorHealth.DEGRADED).withException(e).withDetail(\"Address\", address).build();\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/c894b7eb060caed988b92a8e1727b769955e7a18.json b/web/public/bundles/artemis/code/c894b7eb060caed988b92a8e1727b769955e7a18.json new file mode 100644 index 00000000..16a6c1fc --- /dev/null +++ b/web/public/bundles/artemis/code/c894b7eb060caed988b92a8e1727b769955e7a18.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c894b7eb060caed988b92a8e1727b769955e7a18", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/repository/SearchableEntityIdRepository.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.globalsearch.repository;\n\nimport java.util.Collection;\nimport java.util.List;\nimport java.util.Set;\n\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.data.domain.Pageable;\nimport org.springframework.data.jpa.repository.Query;\nimport org.springframework.data.repository.query.Param;\nimport org.springframework.stereotype.Repository;\n\nimport de.tum.cit.aet.artemis.core.repository.base.ArtemisJpaRepository;\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.globalsearch.config.WeaviateEnabled;\n\n/**\n * Walks the ids the database expects to be indexed, one page at a time, for the entity types whose modules are\n * always present.\n *

\n * Every query takes the id the last page stopped at and returns the next ones in ascending order, so a pass can\n * stop after a bounded slice and resume exactly where it left off. Only ids are selected: deciding whether an\n * entity is indexed at all never needs the entity itself.\n *

\n * These queries live here rather than in each entity's own repository because they exist only for the reconcile\n * passes, following the same consumer-owns-its-queries pattern as {@code StatisticsRepository}. The bound\n * {@link Course} type is just the subject the methods share; the inherited CRUD operations are unused. Entities\n * from optional modules (lecture, lecture unit, exam) are deliberately absent: those go through their module's\n * {@code api} package so a pass degrades gracefully when the module is disabled.\n *

\n * The indexability conditions below must match the write path exactly, or a pass will queue work forever for\n * entities that are then resolved as not indexable. Note that a channel and its posts do not share a condition:\n * a course-wide but non-public channel is indexed while its posts are not.\n */\n@Conditional(WeaviateEnabled.class)\n@Lazy\n@Repository\npublic interface SearchableEntityIdRepository extends ArtemisJpaRepository {\n\n /**\n * @param afterId the id the previous page stopped at\n * @param pageable the page size\n * @return the next course ids in ascending order\n */\n @Query(\"\"\"\n SELECT course.id\n FROM Course course\n WHERE course.id > :afterId\n ORDER BY course.id ASC\n \"\"\")\n List findCourseIdsAfter(@Param(\"afterId\") long afterId, Pageable pageable);\n\n /**\n * Every exercise is indexed, including exam exercises, which resolve their course through the exercise group.\n *\n * @param afterId the id the previous page stopped at\n * @param pageable the page size\n * @return the next exercise ids in ascending order\n */\n @Query(\"\"\"\n SELECT exercise.id\n FROM Exercise exercise\n WHERE exercise.id > :afterId\n ORDER BY exercise.id ASC\n \"\"\")\n List findExerciseIdsAfter(@Param(\"afterId\") long afterId, Pageable pageable);\n\n /**\n * @param afterId the id the previous page stopped at\n * @param pageable the page size\n * @return the next FAQ ids in ascending order\n */\n @Query(\"\"\"\n SELECT faq.id\n FROM Faq faq\n WHERE faq.id > :afterId\n ORDER BY faq.id ASC\n \"\"\")\n List findFaqIdsAfter(@Param(\"afterId\") long afterId, Pageable pageable);\n\n /**\n * A channel is indexed when it is not archived and is either course-wide or public, matching\n * {@code ChannelSearchableEntityDTO.isIndexable}.\n *\n * @param afterId the id the previous page stopped at\n * @param pageable the page size\n * @return the next indexable channel ids in ascending order\n */\n @Query(\"\"\"\n SELECT channel.id\n FROM Channel channel\n WHERE channel.id > :afterId\n AND channel.isArchived = FALSE\n AND (channel.isCourseWide = TRUE OR channel.isPublic = TRUE)\n ORDER BY channel.id ASC\n \"\"\")\n List findIndexableChannelIdsAfter(@Param(\"afterId\") long afterId, Pageable pageable);\n\n /**\n * A post is indexed when it lives in a channel that is not archived and is public, matching\n * {@code PostSearchableEntityDTO.isIndexable}. Note this is stricter than the channel condition above: posts in\n * a course-wide but non-public channel are not indexed. Conversations that are not channels are never indexed.\n *\n * @param afterId the id the previous page stopped at\n * @param pageable the page size\n * @return the next indexable post ids in ascending order\n */\n @Query(\"\"\"\n SELECT post.id\n FROM Post post\n JOIN TREAT (post.conversation AS Channel) channel\n WHERE post.id > :afterId\n AND channel.isArchived = FALSE\n AND channel.isPublic = TRUE\n ORDER BY post.id ASC\n \"\"\")\n List findIndexablePostIdsAfter(@Param(\"afterId\") long afterId, Pageable pageable);\n\n /**\n * An answer post follows the indexability of its parent post's channel.\n *\n * @param afterId the id the previous page stopped at\n * @param pageable the page size\n * @return the next indexable answer post ids in ascending order\n */\n @Query(\"\"\"\n SELECT answerPost.id\n FROM AnswerPost answerPost\n JOIN answerPost.post post\n JOIN TREAT (post.conversation AS Channel) channel\n WHERE answerPost.id > :afterId\n AND channel.isArchived = FALSE\n AND channel.isPublic = TRUE\n ORDER BY answerPost.id ASC\n \"\"\")\n List findIndexableAnswerPostIdsAfter(@Param(\"afterId\") long afterId, Pageable pageable);\n\n // The lookups below answer the reverse question: of these ids, which should be indexed right now? They repeat\n // the conditions above deliberately, because a row is an orphan when its entity is gone OR when it has stopped\n // being indexable, and both must be judged by the same rule the write path applies.\n\n /**\n * @param entityIds the ids to check\n * @return the subset that exists\n */\n @Query(\"\"\"\n SELECT course.id\n FROM Course course\n WHERE course.id IN :entityIds\n \"\"\")\n Set findExistingCourseIds(@Param(\"entityIds\") Collection entityIds);\n\n /**\n * @param entityIds the ids to check\n * @return the subset that exists\n */\n @Query(\"\"\"\n SELECT exercise.id\n FROM Exercise exercise\n WHERE exercise.id IN :entityIds\n \"\"\")\n Set findExistingExerciseIds(@Param(\"entityIds\") Collection entityIds);\n\n /**\n * @param entityIds the ids to check\n * @return the subset that exists\n */\n @Query(\"\"\"\n SELECT faq.id\n FROM Faq faq\n WHERE faq.id IN :entityIds\n \"\"\")\n Set findExistingFaqIds(@Param(\"entityIds\") Collection entityIds);\n\n /**\n * @param entityIds the ids to check\n * @return the subset that is currently indexable\n */\n @Query(\"\"\"\n SELECT channel.id\n FROM Channel channel\n WHERE channel.id IN :entityIds\n AND channel.isArchived = FALSE\n AND (channel.isCourseWide = TRUE OR channel.isPublic = TRUE)\n \"\"\")\n Set findIndexableChannelIds(@Param(\"entityIds\") Collection entityIds);\n\n /**\n * @param entityIds the ids to check\n * @return the subset that is currently indexable\n */\n @Query(\"\"\"\n SELECT post.id\n FROM Post post\n JOIN TREAT (post.conversation AS Channel) channel\n WHERE post.id IN :entityIds\n AND channel.isArchived = FALSE\n AND channel.isPublic = TRUE\n \"\"\")\n Set findIndexablePostIds(@Param(\"entityIds\") Collection entityIds);\n\n /**\n * @param entityIds the ids to check\n * @return the subset that is currently indexable\n */\n @Query(\"\"\"\n SELECT answerPost.id\n FROM AnswerPost answerPost\n JOIN answerPost.post post\n JOIN TREAT (post.conversation AS Channel) channel\n WHERE answerPost.id IN :entityIds\n AND channel.isArchived = FALSE\n AND channel.isPublic = TRUE\n \"\"\")\n Set findIndexableAnswerPostIds(@Param(\"entityIds\") Collection entityIds);\n}\n" +} diff --git a/web/public/bundles/artemis/code/ca2f106ccd864dcfd059eb61bce3193499668534.json b/web/public/bundles/artemis/code/ca2f106ccd864dcfd059eb61bce3193499668534.json new file mode 100644 index 00000000..3b8f24cb --- /dev/null +++ b/web/public/bundles/artemis/code/ca2f106ccd864dcfd059eb61bce3193499668534.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "ca2f106ccd864dcfd059eb61bce3193499668534", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/CourseForExamDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exam.dto;\n\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.course.domain.Course;\n\n/**\n * Slim course projection embedded in the exam response DTOs ({@link ExamDTO} and {@link ExamWithExerciseGroupsDTO}).\n *

\n * Carries exactly the {@code exam.course} fields the exam management screens read: the id (routing / API links) and\n * title (exam detail) and the {@code testCourse} flag (exam deletion summary). The id is load-bearing: the client\n * computes {@code isAtLeast{Tutor,Editor,Instructor}} from it and the user's course roles in\n * {@code AccountService.setAccessRightsForCourse} (invoked by the exam service's response converter), which gates the\n * edit / add-exercise / reset actions across all exam screens. All other columns of the previously serialized full\n * {@link Course} entity are intentionally omitted for data economy (no exam-response consumer reads them).\n *\n * @param id the id of the course\n * @param title the title of the course\n * @param testCourse whether the course is a test course\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record CourseForExamDTO(long id, @Nullable String title, boolean testCourse) {\n\n /**\n * Builds the slim course projection from a course entity.\n *\n * @param course the course (eagerly loaded on the exam); may be {@code null}\n * @return the slim course DTO, or {@code null} if the course is {@code null}\n */\n @Nullable\n public static CourseForExamDTO of(@Nullable Course course) {\n if (course == null) {\n return null;\n }\n return new CourseForExamDTO(course.getId(), course.getTitle(), course.isTestCourse());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/cad2ec43fa4387eaff1c86e43c3a2e5541cf535c.json b/web/public/bundles/artemis/code/cad2ec43fa4387eaff1c86e43c3a2e5541cf535c.json new file mode 100644 index 00000000..3447e145 --- /dev/null +++ b/web/public/bundles/artemis/code/cad2ec43fa4387eaff1c86e43c3a2e5541cf535c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "cad2ec43fa4387eaff1c86e43c3a2e5541cf535c", + "language": "typescript", + "path": "src/main/webapp/app/core/interceptor/browser-fingerprint.interceptor.service.ts", + "schema": "codexray.code/1", + "text": "import { Injectable, inject } from '@angular/core';\nimport { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';\nimport { Observable } from 'rxjs';\nimport { isRequestToArtemisServer } from './interceptor.util';\nimport { BrowserFingerprintService } from 'app/account/fingerprint/browser-fingerprint.service';\n\n/**\n * HTTP interceptor that adds browser fingerprint, instance ID, and session ID headers to requests.\n * These headers are used by the server for security purposes like detecting\n * suspicious login patterns or session anomalies.\n */\n@Injectable()\nexport class BrowserFingerprintInterceptor implements HttpInterceptor {\n private browserFingerprintService = inject(BrowserFingerprintService);\n\n /** Cached browser fingerprint hash */\n private cachedFingerprint?: string;\n /** Cached browser instance identifier */\n private cachedInstanceId?: string;\n /** Cached browser session identifier */\n private cachedSessionId?: string;\n\n constructor() {\n // Subscribe to fingerprint, instance ID, and session ID updates\n this.browserFingerprintService.browserFingerprint.subscribe((fingerprint) => (this.cachedFingerprint = fingerprint));\n this.browserFingerprintService.browserInstanceId.subscribe((instanceId) => (this.cachedInstanceId = instanceId));\n this.browserFingerprintService.browserSessionId.subscribe((sessionId) => (this.cachedSessionId = sessionId));\n }\n\n /**\n * Intercepts HTTP requests to the Artemis server and adds fingerprint headers.\n * Headers are only added if at least one identifier is available.\n *\n * @param request - The outgoing HTTP request\n * @param next - The next handler in the interceptor chain\n * @returns Observable of the HTTP event stream\n */\n intercept(request: HttpRequest, next: HttpHandler): Observable> {\n if (isRequestToArtemisServer(request) && (this.cachedInstanceId || this.cachedFingerprint || this.cachedSessionId)) {\n request = request.clone({\n setHeaders: {\n 'X-Artemis-Client-Instance-ID': this.cachedInstanceId ?? '',\n 'X-Artemis-Client-Session-ID': this.cachedSessionId ?? '',\n 'X-Artemis-Client-Fingerprint': this.cachedFingerprint ?? '',\n },\n });\n }\n\n return next.handle(request);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/cbbe956c5649189a2683818eccbe7e6e612c55bf.json b/web/public/bundles/artemis/code/cbbe956c5649189a2683818eccbe7e6e612c55bf.json new file mode 100644 index 00000000..0b1718a5 --- /dev/null +++ b/web/public/bundles/artemis/code/cbbe956c5649189a2683818eccbe7e6e612c55bf.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "cbbe956c5649189a2683818eccbe7e6e612c55bf", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/dto/PlagiarismAnswerPostCreateRequestDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.plagiarism.dto;\n\nimport jakarta.validation.Valid;\nimport jakarta.validation.constraints.NotNull;\n\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.communication.dto.ParentPostDTO;\n\n/**\n * Request payload for creating an answer post on a plagiarism case.\n *

\n * Replaces {@code @RequestBody AnswerPost} on {@code PlagiarismAnswerPostResource.createAnswerPost}.\n * Mirrors the wire shape of {@link de.tum.cit.aet.artemis.communication.dto.CreateAnswerPostDTO}\n * (used by the communication answer-post endpoint) so the web client's\n * {@code AnswerPostService.create()} can send the same {@code { content, post: { id } }} payload\n * to both endpoints. The controller resolves the parent post from {@code post.id} (rejected with\n * HTTP 400 if missing) and constructs the answer entity from these fields. {@code resolvesPost}\n * is accepted on the wire for symmetry with {@link PlagiarismAnswerPostUpdateRequestDTO} but is\n * currently ignored on create — the server always persists new answers with\n * {@code resolvesPost=false} per {@code PlagiarismAnswerPostService.createAnswerPost}.\n *\n * @param post the parent post reference (id only); must be non-null\n * @param content the answer content\n * @param resolvesPost reserved; ignored on create\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record PlagiarismAnswerPostCreateRequestDTO(@NotNull @Valid ParentPostDTO post, @Nullable String content, boolean resolvesPost) {\n}\n" +} diff --git a/web/public/bundles/artemis/code/cbe8830a914020a10e7d12cffcdd8bd79dfb0269.json b/web/public/bundles/artemis/code/cbe8830a914020a10e7d12cffcdd8bd79dfb0269.json new file mode 100644 index 00000000..b3bdacc9 --- /dev/null +++ b/web/public/bundles/artemis/code/cbe8830a914020a10e7d12cffcdd8bd79dfb0269.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "cbe8830a914020a10e7d12cffcdd8bd79dfb0269", + "language": "typescript", + "path": "src/main/webapp/app/presentation/shared/entities/presentation-assessment.model.ts", + "schema": "codexray.code/1", + "text": "import dayjs from 'dayjs/esm';\nimport { User } from 'app/account/user/user.model';\n\nexport interface PresentationAssessment {\n id?: number;\n title?: string;\n description?: string;\n gradingMethod?: PresentationGradingMethod;\n maxPoints?: number;\n courseId?: number;\n exerciseId?: number;\n exerciseTitle?: string;\n rubricCriteria?: PresentationRubricCriterion[];\n}\n\nexport interface PresentationAssessmentInstance {\n id?: number;\n presentationDate?: dayjs.Dayjs;\n resultPoints?: number | null;\n passed?: boolean | null;\n rubricScore?: number | null;\n student?: Pick;\n language?: string;\n mode?: PresentationAssessmentMode;\n location?: string;\n meetingLink?: string;\n remark?: string;\n}\n\nexport interface PresentationAssessmentInstanceRequest {\n id?: number;\n presentationDate: dayjs.Dayjs;\n resultPoints?: number | null;\n passed?: boolean | null;\n studentLogin: string;\n language: string;\n mode: PresentationAssessmentMode;\n location?: string;\n meetingLink?: string;\n remark?: string;\n ratings?: PresentationRubricRating[];\n}\n\nexport interface PresentationAssessmentInstancesCreate {\n presentationDate: dayjs.Dayjs;\n resultPoints?: number | null;\n passed?: boolean | null;\n studentLogins: string[];\n language: string;\n mode: PresentationAssessmentMode;\n location?: string;\n meetingLink?: string;\n remark?: string;\n ratings?: PresentationRubricRating[];\n}\n\nexport interface PresentationRubricLevel {\n id?: number;\n description?: string;\n}\n\nexport interface PresentationRubricCriterion {\n id?: number;\n name: string;\n description?: string;\n weight: number;\n scale: PresentationRubricScale;\n levels: PresentationRubricLevel[];\n}\n\nexport interface PresentationRubric {\n criteria: PresentationRubricCriterion[];\n assessedInstanceCount: number;\n}\n\nexport interface PresentationRubricRating {\n criterionId: number;\n levelId: number;\n comment?: string;\n}\n\nexport interface PresentationAssessmentStudentRow {\n presentationAssessment: PresentationAssessment;\n instance: PresentationAssessmentInstance;\n}\n\nexport interface PresentationAssessmentStudentRowsRequest {\n page: number;\n size: number;\n sortField: 'studentLogin' | 'presentationTitle' | 'presentationDate';\n direction: 'ASC' | 'DESC';\n assessmentId?: number;\n assessed?: boolean;\n linkedToExercise?: boolean;\n searchTerm?: string;\n}\n\nexport interface PresentationAssessmentStatistics {\n totalCount: number;\n assessedCount: number;\n}\n\nexport enum PresentationAssessmentMode {\n ONLINE = 'ONLINE',\n IN_PERSON = 'IN_PERSON',\n}\n\nexport enum PresentationGradingMethod {\n PASS_FAIL = 'PASS_FAIL',\n SCORE = 'SCORE',\n RUBRIC = 'RUBRIC',\n}\n\nexport enum PresentationRubricScale {\n THREE_POINT = 'THREE_POINT',\n FIVE_POINT = 'FIVE_POINT',\n}\n" +} diff --git a/web/public/bundles/artemis/code/cc3f6d2d5c1b8d2dfe5842b7c61510fc007c2e2e.json b/web/public/bundles/artemis/code/cc3f6d2d5c1b8d2dfe5842b7c61510fc007c2e2e.json new file mode 100644 index 00000000..22af062c --- /dev/null +++ b/web/public/bundles/artemis/code/cc3f6d2d5c1b8d2dfe5842b7c61510fc007c2e2e.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "cc3f6d2d5c1b8d2dfe5842b7c61510fc007c2e2e", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/service/PlagiarismService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.plagiarism.service;\n\nimport java.util.HashSet;\nimport java.util.Set;\nimport java.util.function.Predicate;\n\nimport org.jspecify.annotations.NonNull;\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.account.repository.UserRepository;\nimport de.tum.cit.aet.artemis.core.service.AuthorizationCheckService;\nimport de.tum.cit.aet.artemis.exercise.domain.Submission;\nimport de.tum.cit.aet.artemis.exercise.domain.participation.StudentParticipation;\nimport de.tum.cit.aet.artemis.exercise.repository.SubmissionRepository;\nimport de.tum.cit.aet.artemis.plagiarism.config.PlagiarismEnabled;\nimport de.tum.cit.aet.artemis.plagiarism.domain.PlagiarismComparison;\nimport de.tum.cit.aet.artemis.plagiarism.domain.PlagiarismStatus;\nimport de.tum.cit.aet.artemis.plagiarism.domain.PlagiarismSubmission;\nimport de.tum.cit.aet.artemis.plagiarism.repository.PlagiarismComparisonRepository;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingExerciseParticipation;\n\n@Conditional(PlagiarismEnabled.class)\n@Lazy\n@Service\npublic class PlagiarismService {\n\n private final PlagiarismComparisonRepository plagiarismComparisonRepository;\n\n private final PlagiarismCaseService plagiarismCaseService;\n\n private final AuthorizationCheckService authCheckService;\n\n private final SubmissionRepository submissionRepository;\n\n private final UserRepository userRepository;\n\n public PlagiarismService(PlagiarismComparisonRepository plagiarismComparisonRepository, PlagiarismCaseService plagiarismCaseService, AuthorizationCheckService authCheckService,\n SubmissionRepository submissionRepository, UserRepository userRepository) {\n this.plagiarismComparisonRepository = plagiarismComparisonRepository;\n this.plagiarismCaseService = plagiarismCaseService;\n this.authCheckService = authCheckService;\n this.submissionRepository = submissionRepository;\n this.userRepository = userRepository;\n }\n\n /**\n * Update the status of the plagiarism comparison.\n *\n * @param plagiarismComparisonId the ID of the plagiarism comparison\n * @param plagiarismStatus the status to be set\n */\n public void updatePlagiarismComparisonStatus(long plagiarismComparisonId, PlagiarismStatus plagiarismStatus) {\n plagiarismComparisonRepository.updatePlagiarismComparisonStatus(plagiarismComparisonId, plagiarismStatus);\n if (plagiarismStatus.equals(PlagiarismStatus.CONFIRMED)) {\n plagiarismCaseService.createOrAddToPlagiarismCasesForComparison(plagiarismComparisonId);\n }\n else if (plagiarismStatus.equals(PlagiarismStatus.DENIED)) {\n plagiarismCaseService.removeSubmissionsInPlagiarismCasesForComparison(plagiarismComparisonId);\n }\n }\n\n /**\n * Retrieves the number of potential plagiarism cases by considering the plagiarism submissions for the exercise\n * Additionally, it filters out cases for deleted user --> deleted = true because we do not delete the user entity entirely.\n *\n * @param exerciseId the exercise id for which the potential plagiarism cases should be retrieved\n * @return the number of potential plagiarism cases\n */\n public long getNumberOfPotentialPlagiarismCasesForExercise(long exerciseId) {\n var comparisons = plagiarismComparisonRepository.findAllByPlagiarismResultExerciseId(exerciseId);\n Set submissionsWithoutDeletedUsers = new HashSet<>();\n for (var comparison : comparisons) {\n addSubmissionsIfUserHasNotBeenDeleted(comparison, submissionsWithoutDeletedUsers);\n }\n return submissionsWithoutDeletedUsers.size();\n }\n\n /**\n * Add each submission of the plagiarism comparison if the corresponding user has not been deleted\n *\n * @param comparison the comparison for which we want check if the user of the submission has been deleted.\n * @param submissionsWithoutDeletedUsers a set of plagiarism submissions for which the user still exists.\n */\n private void addSubmissionsIfUserHasNotBeenDeleted(PlagiarismComparison comparison, Set submissionsWithoutDeletedUsers) {\n for (var plagiarismSubmission : comparison.getSubmissions()) {\n var submission = submissionRepository.findById(plagiarismSubmission.getSubmissionId()).orElseThrow();\n if (!userForSubmissionDeleted(submission)) {\n submissionsWithoutDeletedUsers.add(plagiarismSubmission);\n }\n }\n }\n\n /**\n * Checks if the user the submission belongs to, has not the deleted flag set to true\n *\n * @param submission the submission to check\n * @return true if the user is NOT deleted, false otherwise\n */\n private boolean userForSubmissionDeleted(Submission submission) {\n if (submission.getParticipation() instanceof StudentParticipation studentParticipation) {\n var user = userRepository.findOneByLogin(studentParticipation.getParticipant().getParticipantIdentifier());\n if (user.isPresent()) {\n return user.get().isDeleted();\n }\n }\n return true; // if the user is not found, we assume that the user has been deleted\n }\n\n /**\n * filter a participation based on the last submission and make sure the last result - if available - has a minimum score - in case this is larger than 0\n *\n * @param minimumScore the minimum score\n * @return a predicate that can be used in streams for filtering\n */\n @NonNull\n public static Predicate filterParticipationMinimumScore(int minimumScore) {\n return participation -> {\n Submission submission = participation.findLatestSubmission().orElse(null);\n // filter empty submissions\n if (submission == null) {\n return false;\n }\n return hasMinimumScore(submission, minimumScore);\n };\n }\n\n /**\n * filter a submission so that the last result - if available - has a minimum score - in case this is larger than 0\n *\n * @param submission the submission which latest result should be tested for filtering\n * @param minimumScore the minimum score\n * @return a predicate that can be used in streams for filtering\n */\n public static boolean hasMinimumScore(Submission submission, int minimumScore) {\n return minimumScore == 0\n || submission.getLatestResult() != null && submission.getLatestResult().getScore() != null && submission.getLatestResult().getScore() >= minimumScore;\n }\n\n /**\n * filter a student participation so that it includes a student that is not at least a tutor, in case of team participations no filter is applied\n *\n * @return a predicate that can be used in streams for filtering\n */\n @NonNull\n public Predicate filterForStudents() {\n return participation -> {\n // this filter excludes individual participations that are not from students\n if (participation.getStudent().isPresent()) {\n return !authCheckService.isAtLeastTeachingAssistantForExercise(participation.getExercise(), participation.getStudent().get());\n }\n // however, we make sure that team participations are included (in the unlikely case, neither student and team is defined, we filter)\n else {\n return participation.getTeam().isPresent();\n }\n };\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/ccb54975a4e3046297f312cd4df6de3baf7284f5.json b/web/public/bundles/artemis/code/ccb54975a4e3046297f312cd4df6de3baf7284f5.json new file mode 100644 index 00000000..ed2391db --- /dev/null +++ b/web/public/bundles/artemis/code/ccb54975a4e3046297f312cd4df6de3baf7284f5.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "ccb54975a4e3046297f312cd4df6de3baf7284f5", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/ParticipationDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exercise.dto;\n\nimport java.io.Serializable;\nimport java.time.ZonedDateTime;\nimport java.util.Optional;\n\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.assessment.domain.AssessmentType;\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.exercise.domain.Exercise;\nimport de.tum.cit.aet.artemis.exercise.domain.ExerciseType;\nimport de.tum.cit.aet.artemis.exercise.domain.InitializationState;\nimport de.tum.cit.aet.artemis.exercise.domain.participation.Participation;\n\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record ParticipationDTO(Long id, boolean testRun, String type, InitializationState initializationState, Integer submissionCount, ParticipationExerciseDTO exercise)\n implements Serializable {\n\n public static ParticipationDTO of(Participation participation) {\n return Optional.ofNullable(participation).map(\n p -> new ParticipationDTO(p.getId(), p.isTestRun(), p.getType(), p.getInitializationState(), p.getSubmissionCount(), ParticipationExerciseDTO.of(p.getExercise())))\n .orElse(null);\n }\n\n @JsonInclude(JsonInclude.Include.NON_EMPTY)\n public record ParticipationExerciseDTO(Long id, ExerciseType exerciseType, String type, AssessmentType assessmentType, ZonedDateTime dueDate, ZonedDateTime assessmentDueDate,\n Double maxPoints, @Nullable CourseDTO course) implements Serializable {\n\n /**\n * Maps an {@link Exercise} to a {@link ParticipationExerciseDTO}. An exam exercise whose exam was masked out for\n * a student-facing payload resolves to a {@code null} course.\n *\n * @param exercise the exercise to convert (may be {@code null})\n * @return the corresponding DTO, or {@code null} if the input was {@code null}\n */\n @Nullable\n public static ParticipationExerciseDTO of(Exercise exercise) {\n return Optional.ofNullable(exercise).map(e -> {\n Course course = e.getCourseViaExerciseGroupOrCourseMember();\n return new ParticipationExerciseDTO(e.getId(), e.getExerciseType(), e.getType(), e.getAssessmentType(), e.getDueDate(), e.getAssessmentDueDate(), e.getMaxPoints(),\n CourseDTO.of(course));\n }).orElse(null);\n }\n }\n\n @JsonInclude(JsonInclude.Include.NON_EMPTY)\n public record CourseDTO(Long id, Integer accuracyOfScores) implements Serializable {\n\n @Nullable\n public static CourseDTO of(Course course) {\n return Optional.ofNullable(course).map(c -> new CourseDTO(c.getId(), c.getAccuracyOfScores())).orElse(null);\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/ccede3c4d552dbb37971efcc0e3b805b12da5516.json b/web/public/bundles/artemis/code/ccede3c4d552dbb37971efcc0e3b805b12da5516.json new file mode 100644 index 00000000..97ef3534 --- /dev/null +++ b/web/public/bundles/artemis/code/ccede3c4d552dbb37971efcc0e3b805b12da5516.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "ccede3c4d552dbb37971efcc0e3b805b12da5516", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/deimos/service/DeimosSnapshotReader.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.deimos.service;\n\nimport static de.tum.cit.aet.artemis.core.config.BinaryFileExtensionConfiguration.isBinaryFile;\n\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.nio.charset.StandardCharsets;\nimport java.util.HashMap;\nimport java.util.List;\nimport java.util.Locale;\nimport java.util.Map;\n\nimport org.eclipse.jgit.diff.RawText;\nimport org.eclipse.jgit.lib.Constants;\nimport org.eclipse.jgit.lib.FileMode;\nimport org.eclipse.jgit.lib.ObjectId;\nimport org.eclipse.jgit.lib.ObjectLoader;\nimport org.eclipse.jgit.lib.Repository;\nimport org.eclipse.jgit.revwalk.RevWalk;\nimport org.eclipse.jgit.treewalk.TreeWalk;\nimport org.eclipse.jgit.treewalk.filter.TreeFilter;\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.core.config.BinaryFileExtensionConfiguration;\nimport de.tum.cit.aet.artemis.deimos.config.DeimosEnabled;\n\n/**\n * Reads the files of one commit as evidence for the Deimos analysis.\n *

\n * The repository exports drop files by extension alone, and {@link BinaryFileExtensionConfiguration} counts shell and\n * batch scripts as binary, although they are exactly where an attack on the build infrastructure would be written. This\n * reader therefore leaves a file out only when both its extension and the beginning of its content mark it as binary,\n * and never leaves out a script. All entries it does not return as text are reported with their object id, so that\n * their paths can still be checked and a change to their content can be recognised without loading them.\n */\n@Conditional(DeimosEnabled.class)\n@Lazy\n@Service\npublic class DeimosSnapshotReader {\n\n /**\n * Script types that {@link BinaryFileExtensionConfiguration} counts as binary although they are text. A shell still\n * executes such a script when it contains a NUL byte, so its content must not be classified away.\n */\n private static final List TEXT_SCRIPT_EXTENSIONS = List.of(\".sh\", \".bat\");\n\n /**\n * The largest text file that is read into memory, the same bound as for reading all files of a repository elsewhere.\n */\n static final long MAX_FILE_BYTES = 10L * 1024 * 1024;\n\n /**\n * The most that the text files of one commit add up to.\n */\n static final long MAX_TOTAL_BYTES = 100L * 1024 * 1024;\n\n /**\n * The most entries of one commit that are read.\n */\n static final int MAX_ENTRIES = 100_000;\n\n /**\n * The files of one commit, split into text files and everything else.\n *\n * @param textFiles the text files, repository-relative path to UTF-8 content\n * @param otherFiles all other entries (binary files, symbolic links and submodules), repository-relative path to the\n * id of the object the entry points to\n */\n public record TextSnapshot(Map textFiles, Map otherFiles) {\n }\n\n /**\n * Reads every entry of a commit.\n *

\n * A file without a binary extension is always returned as text. For a file with such an extension only the\n * beginning is read to classify it, so an archive or image is recognised without loading it; a file whose beginning\n * is text is loaded completely, like every other text file.\n *

\n * A commit beyond {@link #MAX_FILE_BYTES}, {@link #MAX_TOTAL_BYTES} or {@link #MAX_ENTRIES} is an error rather than a\n * smaller result. The whole snapshot is held in memory before any payload limit applies, and leaving the excess out\n * instead would hide its content from the marker scan, which a student could use to evade it.\n *\n * @param repository the repository\n * @param commitHash the commit to read\n * @return the text files and the remaining entries of that commit, both empty if the commit cannot be resolved\n * @throws IOException if the repository cannot be read or the commit exceeds a limit\n */\n public TextSnapshot read(Repository repository, String commitHash) throws IOException {\n return read(repository, commitHash, MAX_FILE_BYTES, MAX_TOTAL_BYTES, MAX_ENTRIES);\n }\n\n static TextSnapshot read(Repository repository, String commitHash, long maxFileBytes, long maxTotalBytes, int maxEntries) throws IOException {\n ObjectId commitId = repository.resolve(commitHash + \"^{commit}\");\n if (commitId == null) {\n return new TextSnapshot(Map.of(), Map.of());\n }\n\n Map textFiles = new HashMap<>();\n Map otherFiles = new HashMap<>();\n long totalBytes = 0;\n try (RevWalk revWalk = new RevWalk(repository); TreeWalk treeWalk = new TreeWalk(repository)) {\n treeWalk.addTree(revWalk.parseCommit(commitId).getTree());\n treeWalk.setRecursive(true);\n treeWalk.setFilter(new EntryLimit(maxEntries));\n while (treeWalk.next()) {\n String path = treeWalk.getPathString();\n FileMode fileMode = treeWalk.getFileMode(0);\n ObjectId objectId = treeWalk.getObjectId(0);\n if (fileMode == FileMode.SYMLINK || fileMode.getObjectType() != Constants.OBJ_BLOB) {\n otherFiles.put(path, objectId);\n }\n else {\n ObjectLoader blobLoader = repository.open(objectId);\n if (isBinaryFile(path) && !isTextScript(path) && startsWithBinaryContent(blobLoader)) {\n otherFiles.put(path, objectId);\n }\n else {\n textFiles.put(path, readText(blobLoader, maxFileBytes, maxTotalBytes - totalBytes, maxTotalBytes));\n totalBytes += blobLoader.getSize();\n }\n }\n }\n }\n return new TextSnapshot(textFiles, otherFiles);\n }\n\n /**\n * Loads a text file, failing rather than holding a file or a commit beyond the limits in memory. The path is the\n * student's, so it stays out of the message, which may reach a report.\n */\n private static String readText(ObjectLoader blobLoader, long maxFileBytes, long remainingBytes, long maxTotalBytes) throws IOException {\n long size = blobLoader.getSize();\n if (size > maxFileBytes) {\n throw new IOException(\"A file of the commit is larger than \" + maxFileBytes + \" bytes\");\n }\n if (size > remainingBytes) {\n throw new IOException(\"The text files of the commit add up to more than \" + maxTotalBytes + \" bytes\");\n }\n try (InputStream inputStream = blobLoader.openStream()) {\n return new String(inputStream.readAllBytes(), StandardCharsets.UTF_8);\n }\n }\n\n /**\n * Counts every entry the walk looks at, directories included, before it descends into them. Counting only the files\n * the walk returns would leave a tree that references the same or empty subtrees many times unbounded.\n */\n static final class EntryLimit extends TreeFilter {\n\n private final int maxEntries;\n\n private int visitedEntries;\n\n EntryLimit(int maxEntries) {\n this.maxEntries = maxEntries;\n }\n\n @Override\n public boolean include(TreeWalk walker) throws IOException {\n visitedEntries++;\n if (visitedEntries > maxEntries) {\n throw new IOException(\"The commit has more than \" + maxEntries + \" entries\");\n }\n return true;\n }\n\n @Override\n public boolean shouldBeRecursive() {\n return false;\n }\n\n // NOSONAR below: TreeFilter declares clone() abstract without being Cloneable, so neither removing it nor super.clone() is possible.\n @Override\n public TreeFilter clone() { // NOSONAR\n return new EntryLimit(maxEntries);\n }\n }\n\n private static boolean isTextScript(String path) {\n String lowerCasePath = path.toLowerCase(Locale.ROOT);\n return TEXT_SCRIPT_EXTENSIONS.stream().anyMatch(lowerCasePath::endsWith);\n }\n\n /**\n * Classifies a blob as binary from its beginning alone, without loading the rest of it.\n *\n * @param blobLoader the loader of the blob\n * @return whether the beginning of the blob is binary\n * @throws IOException if the blob cannot be read\n */\n private static boolean startsWithBinaryContent(ObjectLoader blobLoader) throws IOException {\n try (InputStream inputStream = blobLoader.openStream()) {\n return RawText.isBinary(inputStream);\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/cec45640f76f33b497cb3ff08035f9a7446a66ee.json b/web/public/bundles/artemis/code/cec45640f76f33b497cb3ff08035f9a7446a66ee.json new file mode 100644 index 00000000..340af1ca --- /dev/null +++ b/web/public/bundles/artemis/code/cec45640f76f33b497cb3ff08035f9a7446a66ee.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "cec45640f76f33b497cb3ff08035f9a7446a66ee", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/UpcomingExerciseDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exercise.dto;\n\nimport java.time.ZonedDateTime;\n\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.exercise.domain.Exercise;\n\n/**\n * One row of the admin \"upcoming exams and exercises\" table: the exercise icon and title, the course it belongs to and\n * the two dates the table shows. The table links to the exercise and to its course, which is why both ids are reported.\n *

\n * The query behind it only selects course exercises, so the course is always the exercise's own course.\n *\n * @param id the id of the exercise\n * @param type the exercise discriminator the table picks its icon from\n * @param title the title of the exercise\n * @param releaseDate the release date shown in the table\n * @param dueDate the due date shown in the table, which the rows are ordered by\n * @param course the course the exercise belongs to\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record UpcomingExerciseDTO(long id, String type, @Nullable String title, @Nullable ZonedDateTime releaseDate, @Nullable ZonedDateTime dueDate,\n @Nullable UpcomingExerciseCourseDTO course) {\n\n /**\n * The course of an upcoming exercise, reduced to what the table links to and renders.\n *\n * @param id the id of the course\n * @param title the title of the course\n */\n @JsonInclude(JsonInclude.Include.NON_EMPTY)\n public record UpcomingExerciseCourseDTO(long id, @Nullable String title) {\n }\n\n /**\n * Maps an upcoming course exercise and its eagerly loaded course.\n *\n * @param exercise the exercise to map\n * @return the table row\n */\n public static UpcomingExerciseDTO of(Exercise exercise) {\n Course course = exercise.getCourseViaExerciseGroupOrCourseMember();\n UpcomingExerciseCourseDTO courseDTO = course == null ? null : new UpcomingExerciseCourseDTO(course.getId(), course.getTitle());\n return new UpcomingExerciseDTO(exercise.getId(), exercise.getType(), exercise.getTitle(), exercise.getReleaseDate(), exercise.getDueDate(), courseDTO);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/cecb9cdedfd60cf07559a17192841684837dbfb3.json b/web/public/bundles/artemis/code/cecb9cdedfd60cf07559a17192841684837dbfb3.json new file mode 100644 index 00000000..7e1fbb1b --- /dev/null +++ b/web/public/bundles/artemis/code/cecb9cdedfd60cf07559a17192841684837dbfb3.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "cecb9cdedfd60cf07559a17192841684837dbfb3", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/job/ChatJob.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.iris.service.pyris.job;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.exercise.domain.Exercise;\n\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record ChatJob(String jobId, long courseId, long sessionId, Long entityId, Long traceId, Long userMessageId, Long assistantMessageId)\n implements TrackedSessionBasedPyrisJob {\n\n @Override\n public boolean canAccess(Course course) {\n return course.getId().equals(courseId);\n }\n\n @Override\n public boolean canAccess(Exercise exercise) {\n return exercise.getId().equals(entityId);\n }\n\n @Override\n public ChatJob withUserMessageId(long messageId) {\n return new ChatJob(jobId, courseId, sessionId, entityId, traceId, messageId, assistantMessageId);\n }\n\n @Override\n public ChatJob withAssistantMessageId(long messageId) {\n return new ChatJob(jobId, courseId, sessionId, entityId, traceId, userMessageId, messageId);\n }\n\n @Override\n public ChatJob withTraceId(long traceId) {\n return new ChatJob(jobId, courseId, sessionId, entityId, traceId, userMessageId, assistantMessageId);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/cfc9378ccfad5f5e754b70417dd9cafd4b525afa.json b/web/public/bundles/artemis/code/cfc9378ccfad5f5e754b70417dd9cafd4b525afa.json new file mode 100644 index 00000000..6e10f572 --- /dev/null +++ b/web/public/bundles/artemis/code/cfc9378ccfad5f5e754b70417dd9cafd4b525afa.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "cfc9378ccfad5f5e754b70417dd9cafd4b525afa", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/text/config/TextApiNotPresentException.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.text.config;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.TEXT_ENABLED_PROPERTY_NAME;\n\nimport de.tum.cit.aet.artemis.core.api.AbstractApi;\nimport de.tum.cit.aet.artemis.core.exception.ApiConditionNotPresentException;\n\n/**\n * Exception that an optionally autowired API is not present.\n */\npublic class TextApiNotPresentException extends ApiConditionNotPresentException {\n\n /**\n * @param api the api class that should be present\n */\n public TextApiNotPresentException(Class api) {\n super(api, TEXT_ENABLED_PROPERTY_NAME);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/cfcef576e4d6525c7526af10f58721ff770f5517.json b/web/public/bundles/artemis/code/cfcef576e4d6525c7526af10f58721ff770f5517.json new file mode 100644 index 00000000..609a128a --- /dev/null +++ b/web/public/bundles/artemis/code/cfcef576e4d6525c7526af10f58721ff770f5517.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "cfcef576e4d6525c7526af10f58721ff770f5517", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseForQuizExerciseDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.course.dto;\n\nimport java.time.ZonedDateTime;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.core.domain.Language;\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.course.domain.CourseInformationSharingConfiguration;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingLanguage;\n\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\n// TODO: we should reduce the amount of information here, not all fields are needed for the quiz exercise\npublic record CourseForQuizExerciseDTO(Long id, String title, String description, String shortName, ZonedDateTime startDate, ZonedDateTime endDate,\n ZonedDateTime enrollmentStartDate, ZonedDateTime enrollmentEndDate, ZonedDateTime unenrollmentEndDate, String semester, boolean testCourse, Language language,\n ProgrammingLanguage defaultProgrammingLanguage, Boolean onlineCourse, CourseInformationSharingConfiguration courseInformationSharingConfiguration, Integer maxComplaints,\n Integer maxTeamComplaints, int maxComplaintTimeDays, int maxRequestMoreFeedbackTimeDays, int maxComplaintTextLimit, int maxComplaintResponseTextLimit,\n boolean complaintsEnabled, boolean requestMoreFeedbackEnabled, Integer accuracyOfScores, boolean athenaGradingFeedbackEnabled, boolean athenaFormativeFeedbackEnabled) {\n\n /**\n * Create a CourseForQuizExerciseDTO from a Course\n *\n * @param course the course to convert\n * @return the converted CourseForQuizExerciseDTO\n */\n public static CourseForQuizExerciseDTO of(final Course course) {\n if (course == null) {\n return null;\n }\n return new CourseForQuizExerciseDTO(course.getId(), course.getTitle(), course.getDescription(), course.getShortName(), course.getStartDate(), course.getEndDate(),\n course.getEnrollmentStartDate(), course.getEnrollmentEndDate(), course.getUnenrollmentEndDate(), course.getSemester(), course.isTestCourse(), course.getLanguage(),\n course.getDefaultProgrammingLanguage(), course.isOnlineCourse(), course.getCourseInformationSharingConfiguration(), course.getMaxComplaints(),\n course.getMaxTeamComplaints(), course.getMaxComplaintTimeDays(), course.getMaxRequestMoreFeedbackTimeDays(), course.getMaxComplaintTextLimit(),\n course.getMaxComplaintResponseTextLimit(), course.getComplaintsEnabled(), course.getRequestMoreFeedbackEnabled(), course.getAccuracyOfScores(),\n course.isAthenaGradingFeedbackEnabled(), course.isAthenaFormativeFeedbackEnabled());\n }\n\n}\n" +} diff --git a/web/public/bundles/artemis/code/d011b6ce3cb6175f043723a76ae96586c3871ee7.json b/web/public/bundles/artemis/code/d011b6ce3cb6175f043723a76ae96586c3871ee7.json new file mode 100644 index 00000000..bda1fc69 --- /dev/null +++ b/web/public/bundles/artemis/code/d011b6ce3cb6175f043723a76ae96586c3871ee7.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d011b6ce3cb6175f043723a76ae96586c3871ee7", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/IrisLectureMaterialVersionService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.iris.service;\n\nimport java.time.Duration;\nimport java.util.Collection;\nimport java.util.HashSet;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Optional;\nimport java.util.function.Function;\nimport java.util.stream.Collectors;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.beans.factory.annotation.Value;\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.stereotype.Service;\n\nimport tools.jackson.core.type.TypeReference;\nimport tools.jackson.databind.json.JsonMapper;\n\nimport de.tum.cit.aet.artemis.core.service.distributed.api.DistributedDataProvider;\nimport de.tum.cit.aet.artemis.core.service.distributed.api.map.DistributedMap;\nimport de.tum.cit.aet.artemis.iris.config.IrisEnabled;\nimport de.tum.cit.aet.artemis.lecture.api.LectureUnitRepositoryApi;\nimport de.tum.cit.aet.artemis.lecture.dto.LectureUnitIngestedVersionsDTO;\n\n/**\n * Keeps the ingested material versions from before a chat run or a global search answer starts. Versions increase monotonically, so an update\n * during retrieval can make an answer conservatively outdated, but cannot relabel old coordinates as current. A run without such a snapshot is\n * never pinned to versions read later; its citations stay unverified.\n * Pyris must finish replacing its indexed material before ingestion is marked DONE.\n */\n@Lazy\n@Service\n@Conditional(IrisEnabled.class)\npublic class IrisLectureMaterialVersionService {\n\n private static final Logger log = LoggerFactory.getLogger(IrisLectureMaterialVersionService.class);\n\n /**\n * How long the versions of a global search answer are kept, from its capture before retrieval until it is continued in the chat. The job of a running answer is\n * extended on every status update, so its capture must not expire on the job timeout. The answer only exists while the search palette is open, so continuing it\n * in the chat happens well within this time.\n */\n private static final Duration GLOBAL_SEARCH_CITED_VERSIONS_TTL = Duration.ofHours(1);\n\n private final Optional lectureUnitRepositoryApi;\n\n private final DistributedDataProvider distributedDataProvider;\n\n private final JsonMapper objectMapper;\n\n @Value(\"${artemis.iris.jobs.timeout:300}\")\n private int jobTimeout;\n\n public IrisLectureMaterialVersionService(Optional lectureUnitRepositoryApi, DistributedDataProvider distributedDataProvider,\n JsonMapper objectMapper) {\n this.lectureUnitRepositoryApi = lectureUnitRepositoryApi;\n this.distributedDataProvider = distributedDataProvider;\n this.objectMapper = objectMapper;\n }\n\n private DistributedMap snapshots() {\n // JSON keeps the existing distributed ChatJob record and its serialized shape unchanged.\n return distributedDataProvider.getExpiringMap(\"pyris-chat-material-version-map\", Duration.ofSeconds(jobTimeout));\n }\n\n private DistributedMap globalSearchSnapshots() {\n return distributedDataProvider.getExpiringMap(\"pyris-global-search-material-version-map\", GLOBAL_SEARCH_CITED_VERSIONS_TTL);\n }\n\n /** A global search snapshot belongs to the user who asked, so a run id alone never reads another user's snapshot. */\n private static String globalSearchKey(String runId, String userLogin) {\n return userLogin + \":\" + runId;\n }\n\n /**\n * Captures only material in this run's course, before its request is dispatched to Pyris.\n *\n * @param jobId the chat run\n * @param courseId the course whose indexed material may be retrieved\n */\n public void capture(String jobId, long courseId) {\n try {\n var versions = lectureUnitRepositoryApi.map(api -> api.findIngestedVersionsByCourseId(courseId)).orElse(List.of());\n snapshots().put(jobId, objectMapper.writeValueAsString(versions));\n }\n catch (RuntimeException e) {\n log.warn(\"Could not capture material versions for Iris job {}\", jobId, e);\n }\n }\n\n /**\n * Missing, expired or unreadable snapshots yield no verified version, never the latest database revision.\n *\n * @param jobId the chat run\n * @return the immutable launch versions, or an empty map when unavailable\n */\n public Map getSnapshot(String jobId) {\n try {\n String snapshot = snapshots().get(jobId);\n if (snapshot == null) {\n return Map.of();\n }\n List versions = objectMapper.readValue(snapshot, new TypeReference<>() {\n });\n return versions.stream().collect(Collectors.toUnmodifiableMap(LectureUnitIngestedVersionsDTO::lectureUnitId, Function.identity()));\n }\n catch (RuntimeException e) {\n log.warn(\"Could not read material versions for Iris job {}\", jobId, e);\n return Map.of();\n }\n }\n\n /**\n * Extends an existing snapshot with its job, without reading newer versions.\n *\n * @param jobId the chat run\n */\n public void refresh(String jobId) {\n String snapshot = snapshots().get(jobId);\n if (snapshot != null) {\n snapshots().put(jobId, snapshot, Duration.ofSeconds(jobTimeout));\n }\n }\n\n /**\n * Removes the snapshot together with its completed or cancelled job.\n *\n * @param jobId the chat run\n */\n public void remove(String jobId) {\n snapshots().remove(jobId);\n }\n\n /**\n * Captures the material of every course a global search answer may cite, before its request is dispatched to Pyris, like {@link #capture} does for a chat run.\n *\n * @param runId the global search answer run\n * @param userLogin the user who asked\n * @param courseIds the courses the answer is scoped to\n */\n public void captureForGlobalSearch(String runId, String userLogin, Collection courseIds) {\n try {\n globalSearchSnapshots().put(globalSearchKey(runId, userLogin), objectMapper.writeValueAsString(currentVersions(courseIds)));\n }\n catch (RuntimeException e) {\n log.warn(\"Could not capture material versions for global search run {}\", runId, e);\n }\n }\n\n /**\n * Keeps only the versions of the units a finished global search answer cites, for as long as the answer can be continued in the chat. An answer without a\n * snapshot from before its retrieval, such as an unscoped search that had no bounded set of courses to capture, keeps nothing: the material may have changed\n * while it was retrieved, so its citations stay unverified rather than being pinned to versions read now.\n *\n * @param runId the global search answer run\n * @param userLogin the user who asked\n * @param citedUnitIds the lecture units the answer cites\n */\n public void keepCitedForGlobalSearch(String runId, String userLogin, Collection citedUnitIds) {\n var key = globalSearchKey(runId, userLogin);\n try {\n String captured = citedUnitIds.isEmpty() ? null : globalSearchSnapshots().get(key);\n if (captured == null) {\n globalSearchSnapshots().remove(key);\n return;\n }\n var versions = readVersions(captured);\n var cited = new HashSet<>(citedUnitIds);\n var citedVersions = versions.stream().filter(version -> cited.contains(version.lectureUnitId())).toList();\n globalSearchSnapshots().put(key, objectMapper.writeValueAsString(citedVersions), GLOBAL_SEARCH_CITED_VERSIONS_TTL);\n }\n catch (RuntimeException e) {\n log.warn(\"Could not keep the cited material versions for global search run {}\", runId, e);\n }\n }\n\n /**\n * Removes the snapshot of a global search answer that ended without an answer to continue.\n *\n * @param runId the global search answer run\n * @param userLogin the user who asked\n */\n public void removeGlobalSearch(String runId, String userLogin) {\n globalSearchSnapshots().remove(globalSearchKey(runId, userLogin));\n }\n\n /**\n * Missing, expired or unreadable snapshots yield no verified version, never the latest database revision.\n *\n * @param runId the global search answer run\n * @param userLogin the user who asked\n * @return the versions of the answer's cited units, or an empty map when unavailable\n */\n public Map getGlobalSearchSnapshot(String runId, String userLogin) {\n try {\n String snapshot = globalSearchSnapshots().get(globalSearchKey(runId, userLogin));\n return snapshot == null ? Map.of() : toMap(readVersions(snapshot));\n }\n catch (RuntimeException e) {\n log.warn(\"Could not read material versions for global search run {}\", runId, e);\n return Map.of();\n }\n }\n\n private List currentVersions(Collection courseIds) {\n return lectureUnitRepositoryApi.map(api -> courseIds.stream().distinct().flatMap(courseId -> api.findIngestedVersionsByCourseId(courseId).stream()).toList())\n .orElse(List.of());\n }\n\n private List readVersions(String snapshot) {\n return objectMapper.readValue(snapshot, new TypeReference<>() {\n });\n }\n\n private static Map toMap(List versions) {\n return versions.stream().collect(Collectors.toUnmodifiableMap(LectureUnitIngestedVersionsDTO::lectureUnitId, Function.identity(), (first, second) -> first));\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/d02d216672369656f7dd2e61d379affd68d349a7.json b/web/public/bundles/artemis/code/d02d216672369656f7dd2e61d379affd68d349a7.json new file mode 100644 index 00000000..5d32e842 --- /dev/null +++ b/web/public/bundles/artemis/code/d02d216672369656f7dd2e61d379affd68d349a7.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d02d216672369656f7dd2e61d379affd68d349a7", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingExerciseBuildPlanService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.programming.service;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\nimport static de.tum.cit.aet.artemis.programming.domain.build.BuildPlanType.SOLUTION;\nimport static de.tum.cit.aet.artemis.programming.domain.build.BuildPlanType.TEMPLATE;\n\nimport java.util.List;\nimport java.util.Objects;\nimport java.util.Optional;\n\nimport org.jspecify.annotations.Nullable;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.stereotype.Service;\n\nimport tools.jackson.core.JacksonException;\n\nimport de.tum.cit.aet.artemis.core.exception.BadRequestAlertException;\nimport de.tum.cit.aet.artemis.core.service.ProfileService;\nimport de.tum.cit.aet.artemis.localci.service.BuildPhasesTemplateService;\nimport de.tum.cit.aet.artemis.localci.service.ci.ContinuousIntegrationService;\nimport de.tum.cit.aet.artemis.localci.service.ci.ContinuousIntegrationTriggerService;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingExercise;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingExerciseBuildConfig;\nimport de.tum.cit.aet.artemis.programming.dto.BuildPhaseDTO;\nimport de.tum.cit.aet.artemis.programming.dto.BuildPlanPhasesDTO;\nimport de.tum.cit.aet.artemis.programming.dto.UpdateBuildPlanConfigurationDTO;\nimport de.tum.cit.aet.artemis.programming.repository.ProgrammingExerciseBuildConfigRepository;\nimport de.tum.cit.aet.artemis.programming.repository.ProgrammingExerciseStudentParticipationRepository;\n\n@Service\n@Lazy\n@Profile(PROFILE_CORE)\npublic class ProgrammingExerciseBuildPlanService {\n\n private static final Logger log = LoggerFactory.getLogger(ProgrammingExerciseBuildPlanService.class);\n\n private final Optional continuousIntegrationService;\n\n private final Optional continuousIntegrationTriggerService;\n\n private final Optional buildPhasesTemplateService;\n\n private final ProfileService profileService;\n\n private final ProgrammingExerciseBuildConfigRepository programmingExerciseBuildConfigRepository;\n\n private final ProgrammingExerciseStudentParticipationRepository programmingExerciseStudentParticipationRepository;\n\n private final ProgrammingExerciseValidationService programmingExerciseValidationService;\n\n public ProgrammingExerciseBuildPlanService(Optional continuousIntegrationService,\n Optional continuousIntegrationTriggerService, ProgrammingExerciseBuildConfigRepository programmingExerciseBuildConfigRepository,\n Optional buildPhasesTemplateService, ProfileService profileService,\n ProgrammingExerciseStudentParticipationRepository programmingExerciseStudentParticipationRepository,\n ProgrammingExerciseValidationService programmingExerciseValidationService) {\n this.continuousIntegrationService = continuousIntegrationService;\n this.continuousIntegrationTriggerService = continuousIntegrationTriggerService;\n this.programmingExerciseBuildConfigRepository = programmingExerciseBuildConfigRepository;\n this.buildPhasesTemplateService = buildPhasesTemplateService;\n this.profileService = profileService;\n this.programmingExerciseStudentParticipationRepository = programmingExerciseStudentParticipationRepository;\n this.programmingExerciseValidationService = programmingExerciseValidationService;\n }\n\n /**\n * Creates build plans for a new programming exercise.\n * 1. Create the project for the exercise on the CI Server\n * 2. Create template and solution build plan in this project\n * 3. Configure CI permissions\n * 4. Trigger initial build for template and solution build plan (if the exercise is not imported)\n *\n * @param programmingExercise Programming exercise for the build plans should be generated. The programming\n * exercise should contain a fully initialized template and solution participation.\n */\n public void setupBuildPlansForNewExercise(ProgrammingExercise programmingExercise) {\n // Get URLs for repos\n var exerciseRepoUri = programmingExercise.getVcsTemplateRepositoryUri();\n var testsRepoUri = programmingExercise.getVcsTestRepositoryUri();\n var solutionRepoUri = programmingExercise.getVcsSolutionRepositoryUri();\n\n ContinuousIntegrationService continuousIntegration = continuousIntegrationService.orElseThrow();\n continuousIntegration.createProjectForExercise(programmingExercise);\n // template build plan\n continuousIntegration.createBuildPlanForExercise(programmingExercise, TEMPLATE.getName(), exerciseRepoUri, testsRepoUri, solutionRepoUri);\n // solution build plan\n continuousIntegration.createBuildPlanForExercise(programmingExercise, SOLUTION.getName(), solutionRepoUri, testsRepoUri, solutionRepoUri);\n\n // trigger BASE and SOLUTION build plans once here\n continuousIntegrationTriggerService.orElseThrow().triggerBuild(programmingExercise.getTemplateParticipation());\n continuousIntegrationTriggerService.orElseThrow().triggerBuild(programmingExercise.getSolutionParticipation());\n }\n\n /**\n * Adds the default build plan to a programming exercise.\n * This normalization is skipped for Jenkins, which uses its own Jenkinsfile-based approach.\n *\n * @param programmingExercise the programming exercise the configuration belongs to\n * @param buildConfig the build configuration that should be normalized\n */\n public void addDefaultBuildPlanConfigForLocalCI(ProgrammingExercise programmingExercise, ProgrammingExerciseBuildConfig buildConfig) {\n if (!profileService.isLocalCIActive() || buildConfig.getBuildPlanConfiguration() != null) {\n return;\n }\n\n // augment with default template or values\n if (buildPhasesTemplateService.isPresent()) {\n final BuildPhasesTemplateService templateService = buildPhasesTemplateService.orElseThrow();\n List phases = templateService.getDefaultBuildPlanPhasesFor(programmingExercise, buildConfig);\n if (programmingExercise.isExamExercise()) {\n phases = templateService.applyExamDefaults(phases);\n }\n\n final String dockerImage = templateService.getDefaultDockerImageFor(programmingExercise);\n\n final BuildPlanPhasesDTO completePlan = new BuildPlanPhasesDTO(phases, dockerImage);\n buildConfig.setBuildPlanConfiguration(completePlan.toBuildPlanConfiguration());\n }\n else {\n log.warn(\"No build plan phases for the settings of exercise {}\", programmingExercise.getId());\n }\n }\n\n /**\n * This method updates the build plan for the given programming exercise.\n * If LocalCI is not active, it deletes the old build plan and creates a new one if the build plan configuration has changed.\n *\n * @param originalBuildPlanConfiguration the build plan configuration before the update\n * @param updatedProgrammingExercise the changed programming exercise with its new values\n * @param updatedBuildConfig the build configuration the update carries\n */\n public void updateBuildPlanForExercise(@Nullable String originalBuildPlanConfiguration, ProgrammingExercise updatedProgrammingExercise,\n ProgrammingExerciseBuildConfig updatedBuildConfig) {\n if (continuousIntegrationService.isEmpty() || Objects.equals(originalBuildPlanConfiguration, updatedBuildConfig.getBuildPlanConfiguration())) {\n return;\n }\n // we only update the build plan configuration if it has changed and is not null, otherwise we\n // do not have a valid exercise anymore\n if (updatedBuildConfig.getBuildPlanConfiguration() != null) {\n if (!profileService.isLocalCIActive()) {\n continuousIntegrationService.get().deleteProject(updatedProgrammingExercise.getProjectKey());\n continuousIntegrationService.get().createProjectForExercise(updatedProgrammingExercise);\n continuousIntegrationService.get().recreateBuildPlansForExercise(updatedProgrammingExercise);\n resetAllStudentBuildPlanIdsForExercise(updatedProgrammingExercise);\n }\n }\n else {\n // if the user does not change the build plan configuration, we have to set the old one again\n updatedBuildConfig.setBuildPlanConfiguration(originalBuildPlanConfiguration);\n }\n }\n\n /**\n * Updates the build plan configuration (build phases and Docker image), the build timeout, and the Docker flags of an\n * existing programming exercise from the dedicated build plan editor, without re-running the full programming exercise\n * update.\n *

\n * The structured configuration is serialized and stored in the build config. For LocalCI the configuration is\n * interpreted at build time, so persisting it is sufficient; {@link #updateBuildPlanForExercise} recreates the build\n * plans for external CI systems when the configuration changed.\n *\n * @param programmingExercise the programming exercise whose build config should be updated\n * @param buildConfig its build configuration, which is stored separately and read by the caller\n * @param buildPlanConfiguration the new build plan configuration (build phases, Docker image, timeout, and Docker flags)\n * @return the persisted build config\n */\n public ProgrammingExerciseBuildConfig updateBuildPlanConfiguration(ProgrammingExercise programmingExercise, ProgrammingExerciseBuildConfig buildConfig,\n UpdateBuildPlanConfigurationDTO buildPlanConfiguration) {\n // reuse the shared build phase validation so a misconfiguration is rejected with the same error and key as on the\n // full exercise update path\n programmingExerciseValidationService.validateBuildPhases(buildPlanConfiguration.buildPlan().phases());\n validateDockerImage(buildPlanConfiguration.buildPlan().dockerImage());\n programmingExerciseValidationService.validateDockerImageRegistry(buildPlanConfiguration.buildPlan().dockerImage());\n\n final String originalBuildPlanConfiguration = buildConfig.getBuildPlanConfiguration();\n final String serializedBuildPlanConfiguration = buildPlanConfiguration.buildPlan().toBuildPlanConfiguration();\n // parse the serialized configuration back with the same bounded reader used at build time to reject an oversized plan up front\n try {\n BuildPlanPhasesDTO.fromBuildPlanConfiguration(serializedBuildPlanConfiguration);\n }\n catch (JacksonException e) {\n throw new BadRequestAlertException(\"The build plan configuration is too large to be processed\", \"buildConfig\", \"buildPlanConfigurationTooLarge\");\n }\n buildConfig.setBuildPlanConfiguration(serializedBuildPlanConfiguration);\n buildConfig.setBuildScript(null);\n buildConfig.setTimeoutSeconds(buildPlanConfiguration.timeoutSeconds());\n buildConfig.setDockerFlags(buildPlanConfiguration.dockerFlags());\n\n // Validate the Docker flags with the same rules the full programming exercise update applies (malformed JSON,\n // disallowed networks, invalid resource limits), so the build plan editor cannot persist a configuration the\n // regular editing path would reject. This runs before any save, so a rejected payload leaves the config unchanged.\n programmingExerciseValidationService.validateDockerFlags(buildConfig);\n\n // this endpoint is LocalCI-only, so updateBuildPlanForExercise never takes its non-LocalCI delete-and-recreate\n // branch here; it is still called for parity with the shared full exercise update path\n updateBuildPlanForExercise(originalBuildPlanConfiguration, programmingExercise, buildConfig);\n\n return programmingExerciseBuildConfigRepository.saveAndFlush(buildConfig);\n }\n\n /**\n * Validates the Docker image submitted by the build plan editor. A null image is allowed and means that the default\n * image of the exercise is used (see how {@code BuildPlanPhasesDTO#dockerImage()} is consumed when scheduling a\n * build); a blank image, on the other hand, would be persisted verbatim and leave the exercise with an unusable\n * image, so it is rejected. This is validated on the endpoint only, so the default-image semantics of the shared\n * {@code BuildPlanPhasesDTO} are unchanged for its other consumers.\n *\n * @param dockerImage the submitted Docker image, or null to use the exercise default\n */\n private void validateDockerImage(@Nullable String dockerImage) {\n if (dockerImage != null && dockerImage.isBlank()) {\n throw new BadRequestAlertException(\"The Docker image must not be blank\", \"buildConfig\", \"blankDockerImage\");\n }\n }\n\n private void resetAllStudentBuildPlanIdsForExercise(ProgrammingExercise programmingExercise) {\n programmingExerciseStudentParticipationRepository.unsetBuildPlanIdForExercise(programmingExercise.getId());\n }\n\n}\n" +} diff --git a/web/public/bundles/artemis/code/d05d84c6f17014c6b7924b7b53af39e29cda7083.json b/web/public/bundles/artemis/code/d05d84c6f17014c6b7924b7b53af39e29cda7083.json new file mode 100644 index 00000000..14bce5ad --- /dev/null +++ b/web/public/bundles/artemis/code/d05d84c6f17014c6b7924b7b53af39e29cda7083.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d05d84c6f17014c6b7924b7b53af39e29cda7083", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/config/WeaviateDispatcherExecutorConfiguration.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.globalsearch.config;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_SCHEDULING;\n\nimport java.util.concurrent.ThreadPoolExecutor;\n\nimport org.springframework.context.annotation.Bean;\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Configuration;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;\n\n/**\n * Own thread for the outbox dispatcher's enqueue nudge.\n *

\n * The shared {@code taskExecutor} runs a task on the caller's thread when it is saturated, which would let a drain, with\n * its index writes and embedding requests, run on a user's request thread. This executor has one thread and room for\n * one waiting nudge; further nudges are dropped, which loses nothing because a nudge only marks that a drain is pending\n * and the running drain picks that mark up.\n */\n@Configuration\n@Lazy\n@Conditional(WeaviateEnabled.class)\n@Profile(PROFILE_SCHEDULING)\npublic class WeaviateDispatcherExecutorConfiguration {\n\n /**\n * Bean name of the dispatcher's executor, referenced by {@code @Async}.\n */\n public static final String EXECUTOR_NAME = \"weaviateOutboxDispatcherExecutor\";\n\n /**\n * Single-thread executor that discards a nudge when one is already waiting.\n *\n * @return the executor used by {@code WeaviateOutboxDispatcher.onOutboxEnqueued}\n */\n @Bean(EXECUTOR_NAME)\n public ThreadPoolTaskExecutor weaviateOutboxDispatcherExecutor() {\n ThreadPoolTaskExecutor executor = new ThreadPoolTaskExecutor();\n executor.setCorePoolSize(1);\n executor.setMaxPoolSize(1);\n executor.setQueueCapacity(1);\n executor.setRejectedExecutionHandler(new ThreadPoolExecutor.DiscardPolicy());\n executor.setThreadNamePrefix(\"weaviate-outbox-\");\n executor.setWaitForTasksToCompleteOnShutdown(false);\n executor.initialize();\n return executor;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/d07758d9428b96a143763fbdb1f689ab73efffce.json b/web/public/bundles/artemis/code/d07758d9428b96a143763fbdb1f689ab73efffce.json new file mode 100644 index 00000000..64aa528b --- /dev/null +++ b/web/public/bundles/artemis/code/d07758d9428b96a143763fbdb1f689ab73efffce.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d07758d9428b96a143763fbdb1f689ab73efffce", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/domain/StudentExam.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exam.domain;\n\nimport java.time.ZonedDateTime;\nimport java.util.ArrayList;\nimport java.util.HashSet;\nimport java.util.List;\nimport java.util.Objects;\nimport java.util.Set;\n\nimport jakarta.persistence.CascadeType;\nimport jakarta.persistence.Column;\nimport jakarta.persistence.Entity;\nimport jakarta.persistence.FetchType;\nimport jakarta.persistence.JoinColumn;\nimport jakarta.persistence.JoinTable;\nimport jakarta.persistence.ManyToMany;\nimport jakarta.persistence.ManyToOne;\nimport jakarta.persistence.OneToMany;\nimport jakarta.persistence.OrderColumn;\nimport jakarta.persistence.Table;\n\nimport org.jspecify.annotations.NonNull;\n\nimport com.fasterxml.jackson.annotation.JsonIgnore;\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.core.domain.AbstractAuditingEntity;\nimport de.tum.cit.aet.artemis.core.domain.Parent;\nimport de.tum.cit.aet.artemis.exercise.domain.Exercise;\nimport de.tum.cit.aet.artemis.exercise.domain.participation.StudentParticipation;\n\n@Entity\n@Table(name = \"student_exam\")\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic class StudentExam extends AbstractAuditingEntity {\n\n @Column(name = \"submitted\")\n private Boolean submitted;\n\n /**\n * The individual working time per student in seconds\n * The default working time of an exam is stored in exam.workingTime\n */\n @Column(name = \"working_time\")\n private Integer workingTime;\n\n @Column(name = \"started\")\n private Boolean started;\n\n @Column(name = \"started_date\")\n private ZonedDateTime startedDate;\n\n @Column(name = \"submission_date\")\n private ZonedDateTime submissionDate;\n\n @Column(name = \"test_run\")\n private Boolean testRun;\n\n /**\n * When this test-exam attempt reserved its slot against the cross-attempt Athena feedback request cap (see\n * {@link de.tum.cit.aet.artemis.exam.service.StudentExamAthenaFeedbackService}). Null means the attempt has not requested\n * Athena feedback yet.\n */\n @Column(name = \"athena_feedback_requested_date\")\n private ZonedDateTime athenaFeedbackRequestedDate;\n\n @ManyToOne\n @JoinColumn(name = \"exam_id\", nullable = false)\n @Parent\n private Exam exam;\n\n @ManyToOne\n @JoinColumn(name = \"user_id\")\n private User user;\n\n @ManyToMany\n @JoinTable(name = \"student_exam_exercise\", joinColumns = @JoinColumn(name = \"student_exam_id\", referencedColumnName = \"id\"), inverseJoinColumns = @JoinColumn(name = \"exercise_id\", referencedColumnName = \"id\"))\n @OrderColumn(name = \"exercise_order\")\n private List exercises = new ArrayList<>();\n\n @OneToMany(mappedBy = \"studentExam\", cascade = CascadeType.REMOVE, orphanRemoval = true, fetch = FetchType.LAZY)\n @JsonIgnoreProperties(\"studentExam\")\n private Set examSessions = new HashSet<>();\n\n @ManyToMany\n @JoinTable(name = \"student_exam_participation\", joinColumns = @JoinColumn(name = \"student_exam_id\", referencedColumnName = \"id\"), inverseJoinColumns = @JoinColumn(name = \"participation_id\", referencedColumnName = \"id\"))\n @OrderColumn(name = \"participation_order\")\n private List studentParticipations = new ArrayList<>();\n\n public Boolean isSubmitted() {\n return submitted;\n }\n\n public boolean isTestRun() {\n return Boolean.TRUE.equals(testRun);\n }\n\n @JsonIgnore\n public ExamMode getExamMode() {\n return exam.getExamMode();\n }\n\n public void setTestRun(boolean testRun) {\n this.testRun = testRun;\n }\n\n public void setSubmitted(Boolean submitted) {\n this.submitted = submitted;\n }\n\n public Integer getWorkingTime() {\n return workingTime;\n }\n\n public void setWorkingTime(Integer workingTime) {\n this.workingTime = workingTime;\n }\n\n public Boolean isStarted() {\n return started;\n }\n\n /**\n * Sets the started flag to true and sets the startedDate to the current date\n *\n * @param startedDate the date when the exam was started\n */\n public void setStartedAndStartDate(ZonedDateTime startedDate) {\n this.started = true;\n this.startedDate = startedDate;\n }\n\n public ZonedDateTime getStartedDate() {\n return startedDate;\n }\n\n public ZonedDateTime getSubmissionDate() {\n return submissionDate;\n }\n\n public void setSubmissionDate(ZonedDateTime submissionDate) {\n this.submissionDate = submissionDate;\n }\n\n public ZonedDateTime getAthenaFeedbackRequestedDate() {\n return athenaFeedbackRequestedDate;\n }\n\n public void setAthenaFeedbackRequestedDate(ZonedDateTime athenaFeedbackRequestedDate) {\n this.athenaFeedbackRequestedDate = athenaFeedbackRequestedDate;\n }\n\n @NonNull\n public Exam getExam() {\n return exam;\n }\n\n public void setExam(Exam exam) {\n this.exam = exam;\n }\n\n public User getUser() {\n return user;\n }\n\n public void setUser(User user) {\n this.user = user;\n }\n\n public List getExercises() {\n return exercises;\n }\n\n public void setExercises(List exercises) {\n this.exercises = exercises;\n }\n\n public StudentExam addExercise(Exercise exercise) {\n this.exercises.add(exercise);\n return this;\n }\n\n public StudentExam removeExercise(Exercise exercise) {\n this.exercises.remove(exercise);\n return this;\n }\n\n public Set getExamSessions() {\n return examSessions;\n }\n\n public void setExamSessions(Set examSessions) {\n this.examSessions = examSessions;\n }\n\n public List getStudentParticipations() {\n return studentParticipations;\n }\n\n public void setStudentParticipations(List studentParticipations) {\n this.studentParticipations = studentParticipations;\n }\n\n /**\n * Adds the given exam session to the student exam\n *\n * @param examSession the exam session to add\n * @return the student exam with the added exam session\n */\n public StudentExam addExamSession(ExamSession examSession) {\n this.examSessions.add(examSession);\n examSession.setStudentExam(this);\n return this;\n }\n\n /**\n * check if the individual student exam has ended (based on the working time)\n * For test exams, we cannot use exam.startTime, but need to use the student.startedDate. If this is not yet set,\n * the studentExams has not yet started and therefore cannot be ended.\n *\n * @return true if the exam has finished, otherwise false, null if this cannot be determined\n */\n public Boolean isEnded() {\n return isEnded(exam, testRun, started, startedDate, workingTime);\n }\n\n /**\n * Scalar form of {@link #isEnded()} for callers that read those five values as a projection rather than loading the\n * student exam, which drags its eager exam, that exam's course and the course configuration behind it. Shared so\n * the two cannot drift apart.\n *\n * @param exam the exam the student exam belongs to\n * @param testRun whether the student exam is an instructor test run\n * @param started whether the student has started the exam\n * @param startedDate when the student started, only relevant for test exams\n * @param workingTime the working time in seconds\n * @return true if the exam has finished, false if not, null if this cannot be determined\n */\n public static Boolean isEnded(Exam exam, Boolean testRun, Boolean started, ZonedDateTime startedDate, Integer workingTime) {\n if (exam == null || exam.getStartDate() == null || workingTime == null) {\n return null;\n }\n if (Boolean.TRUE.equals(testRun)) {\n return false;\n }\n if (!exam.getExamMode().isReal() && !Boolean.TRUE.equals(started) && startedDate == null) {\n return false;\n }\n return ZonedDateTime.now().isAfter(individualEndDate(exam, startedDate, workingTime));\n }\n\n /**\n * Check if the individual student exam is finished\n * A student exam is finished if it's started and either submitted or the time has passed\n *\n * @return true if the exam is finished, otherwise false\n */\n public boolean isFinished() {\n return Boolean.TRUE.equals(this.isStarted()) && (Boolean.TRUE.equals(this.isEnded()) || Boolean.TRUE.equals(this.isSubmitted()));\n }\n\n /**\n * Returns the individual exam end date taking the working time of this student exam into account.\n * For test exams, the startedDate needs to be defined as this is not equal to exam.startDate\n *\n * @return the ZonedDateTime that marks the exam end for this student (excluding grace period), or null for test exams with undefined startedDate\n */\n @JsonIgnore\n public ZonedDateTime getIndividualEndDate() {\n return individualEndDate(exam, startedDate, workingTime);\n }\n\n /**\n * Returns the individual exam end date for the given exam, start date and working time, without needing a\n * {@link StudentExam} instance. Callers that only read a projection of those three values (rather than loading the\n * whole student exam) share this computation so it cannot drift from {@link #getIndividualEndDate()}.\n *\n * @param exam the exam the student exam belongs to\n * @param startedDate the date the student started the exam, only relevant for test exams\n * @param workingTime the working time of the student exam in seconds\n * @return the ZonedDateTime that marks the exam end for this student (excluding grace period), or null for test exams with undefined startedDate\n */\n public static ZonedDateTime individualEndDate(Exam exam, ZonedDateTime startedDate, int workingTime) {\n return individualEndDate(exam.getExamMode(), exam.getExamMode() == ExamMode.TEST_WITH_SUPERVISED_SESSION ? exam.getSupervisedSessionEndDate() : null, exam.getStartDate(),\n startedDate, workingTime);\n }\n\n /**\n * Scalar form of {@link #individualEndDate(Exam, ZonedDateTime, int)} for callers that read the exam as a\n * projection rather than loading the entity.\n *\n * @param examMode the exam mode\n * @param supervisedSessionEndDate the end of the supervised session\n * @param examStartDate the start date of the exam\n * @param startedDate the date the student started the exam, only relevant for test exams\n * @param workingTime the working time of the student exam in seconds\n * @return the ZonedDateTime that marks the exam end for this student (excluding grace period), or null for test exams with undefined startedDate\n */\n public static ZonedDateTime individualEndDate(ExamMode examMode, ZonedDateTime supervisedSessionEndDate, ZonedDateTime examStartDate, ZonedDateTime startedDate,\n int workingTime) {\n if (examMode == ExamMode.TEST || examMode == ExamMode.TEST_WITH_SUPERVISED_SESSION && startedDate != null && !startedDate.isBefore(supervisedSessionEndDate)) {\n if (startedDate == null) {\n return null;\n }\n return startedDate.plusSeconds(workingTime);\n }\n return examStartDate.plusSeconds(workingTime);\n }\n\n /**\n * Returns the individual exam end date taking the working time of this student exam into account and the grace period set for this exam\n *\n * @return the ZonedDateTime that marks the exam end for this student, including the exam's grace period, or null for test exams with undefined startedDate\n */\n @JsonIgnore\n public ZonedDateTime getIndividualEndDateWithGracePeriod() {\n return individualEndDateWithGracePeriod(exam, startedDate, workingTime);\n }\n\n /**\n * Returns the individual exam end date including the exam's grace period, without needing a {@link StudentExam}\n * instance. See {@link #individualEndDate(Exam, ZonedDateTime, int)} for why this is static.\n *\n * @param exam the exam the student exam belongs to\n * @param startedDate the date the student started the exam, only relevant for test exams\n * @param workingTime the working time of the student exam in seconds\n * @return the ZonedDateTime that marks the exam end for this student including the grace period, or null for test exams with undefined startedDate\n */\n public static ZonedDateTime individualEndDateWithGracePeriod(Exam exam, ZonedDateTime startedDate, int workingTime) {\n return individualEndDateWithGracePeriod(exam.getExamMode(), exam.getExamMode() == ExamMode.TEST_WITH_SUPERVISED_SESSION ? exam.getSupervisedSessionEndDate() : null,\n exam.getStartDate(), exam.getGracePeriod(), startedDate, workingTime);\n }\n\n /**\n * Scalar form of {@link #individualEndDateWithGracePeriod(Exam, ZonedDateTime, int)} for callers that read the exam\n * as a projection rather than loading the entity.\n *\n * @param examMode the exam mode\n * @param supervisedSessionEndDate the end of the supervised session\n * @param examStartDate the start date of the exam\n * @param gracePeriod the grace period of the exam in seconds, may be null\n * @param startedDate the date the student started the exam, only relevant for test exams\n * @param workingTime the working time of the student exam in seconds\n * @return the ZonedDateTime that marks the exam end for this student including the grace period, or null for test exams with undefined startedDate\n */\n public static ZonedDateTime individualEndDateWithGracePeriod(ExamMode examMode, ZonedDateTime supervisedSessionEndDate, ZonedDateTime examStartDate, Integer gracePeriod,\n ZonedDateTime startedDate, int workingTime) {\n int gracePeriodInSeconds = Objects.requireNonNullElse(gracePeriod, 0);\n if (examMode == ExamMode.TEST || examMode == ExamMode.TEST_WITH_SUPERVISED_SESSION && startedDate != null && !startedDate.isBefore(supervisedSessionEndDate)) {\n if (startedDate == null) {\n return null;\n }\n return startedDate.plusSeconds((long) workingTime + gracePeriodInSeconds);\n }\n return examStartDate.plusSeconds((long) workingTime + gracePeriodInSeconds);\n }\n\n /**\n * Determines if the Results of an Exam are already published\n * For a test exam, the Results are automatically published once the studentExam was submitted\n * For real exams, {@link Exam#resultsPublished()} is called\n *\n * @return true the results are published\n */\n @JsonIgnore\n public boolean areResultsPublishedYet() {\n if (!this.exam.getExamMode().isReal()) {\n return (this.submitted != null && this.submitted);\n }\n else {\n return exam.resultsPublished();\n }\n }\n\n /**\n * The single gate for whether quiz solutions may go on the wire for this student exam: test runs are exempt from\n * masking (the instructor testing the exam already knows the solutions), otherwise solutions are revealed only\n * once the results are published (see {@link #areResultsPublishedYet()}).\n *\n * @return true if quiz solutions may be revealed\n */\n @JsonIgnore\n public boolean shouldRevealQuizSolutions() {\n return isTestRun() || areResultsPublishedYet();\n }\n\n}\n" +} diff --git a/web/public/bundles/artemis/code/d078311d1f7194b735a5d8d33819148fc785ceda.json b/web/public/bundles/artemis/code/d078311d1f7194b735a5d8d33819148fc785ceda.json new file mode 100644 index 00000000..4e145653 --- /dev/null +++ b/web/public/bundles/artemis/code/d078311d1f7194b735a5d8d33819148fc785ceda.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d078311d1f7194b735a5d8d33819148fc785ceda", + "language": "typescript", + "path": "src/main/webapp/app/shared-ui/detail-overview-list/components/programming-diff-report-detail/programming-diff-report-detail.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, OnDestroy, computed, inject, input } from '@angular/core';\nimport type { ProgrammingDiffReportDetail } from 'app/shared-ui/detail-overview-list/detail.model';\nimport { FeatureToggle } from 'app/foundation/feature-toggle/feature-toggle.service';\nimport { ButtonComponent, ButtonSize, ButtonType, TooltipPlacement } from 'app/shared-ui/components/buttons/button/button.component';\nimport { faCodeCompare, faSpinner } from '@fortawesome/free-solid-svg-icons';\nimport { GitDiffReportModalComponent, GitDiffReportModalData } from 'app/programming/shared/git-diff-report/git-diff-report-modal/git-diff-report-modal.component';\n\nimport { TumAetUiDialogRef, TumAetUiDialogService } from '@tumaet/ui-angular/dialog';\nimport { TumAetUiTooltipDirective } from '@tumaet/ui-angular/tooltip';\nimport { GitDiffLineStatComponent } from 'app/programming/shared/git-diff-report/git-diff-line-stat/git-diff-line-stat.component';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { TranslateService } from '@ngx-translate/core';\n@Component({\n selector: 'jhi-programming-diff-report-detail',\n templateUrl: 'programming-diff-report-detail.component.html',\n imports: [GitDiffLineStatComponent, ArtemisTranslatePipe, TumAetUiTooltipDirective, ButtonComponent, TranslateDirective, FaIconComponent],\n})\nexport class ProgrammingDiffReportDetailComponent implements OnDestroy {\n private readonly dialogService = inject(TumAetUiDialogService);\n private readonly translateService = inject(TranslateService);\n\n protected readonly FeatureToggle = FeatureToggle;\n protected readonly ButtonSize = ButtonSize;\n protected readonly TooltipPlacement = TooltipPlacement;\n protected readonly WARNING = ButtonType.WARNING;\n\n protected readonly faCodeCompare = faCodeCompare;\n protected readonly faSpinner = faSpinner;\n\n private dialogRef?: TumAetUiDialogRef;\n\n detail = input.required();\n\n private readonly repositoryDiffInformation = computed(() => this.detail().data.repositoryDiffInformation());\n readonly addedLineCount = computed(() => this.repositoryDiffInformation()?.totalLineChange?.addedLineCount ?? 0);\n readonly removedLineCount = computed(() => this.repositoryDiffInformation()?.totalLineChange?.removedLineCount ?? 0);\n readonly lineChangesLoading = computed(() => this.detail().data.lineChangesLoading());\n\n ngOnDestroy() {\n this.dialogRef?.close();\n }\n\n showGitDiff() {\n const repositoryDiffInformation = this.repositoryDiffInformation();\n if (!repositoryDiffInformation) {\n return;\n }\n\n this.dialogRef = this.dialogService.open(GitDiffReportModalComponent, {\n header: this.translateService.instant('artemisApp.programmingExercise.diffReport.title'),\n closable: true,\n closeOnEscape: true,\n dismissableMask: false,\n // Render the comparison wide so side-by-side diffs are readable without horizontal scrolling.\n size: 'full',\n data: {\n repositoryDiffInformation,\n diffForTemplateAndSolution: true,\n },\n });\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/d0b7ed0b269352ed25af25cb8841d126676da4fc.json b/web/public/bundles/artemis/code/d0b7ed0b269352ed25af25cb8841d126676da4fc.json new file mode 100644 index 00000000..cdb39cd2 --- /dev/null +++ b/web/public/bundles/artemis/code/d0b7ed0b269352ed25af25cb8841d126676da4fc.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d0b7ed0b269352ed25af25cb8841d126676da4fc", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/domain/LLMTokenUsageRequest.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.admin.domain;\n\nimport jakarta.persistence.Column;\nimport jakarta.persistence.Entity;\nimport jakarta.persistence.JoinColumn;\nimport jakarta.persistence.ManyToOne;\nimport jakarta.persistence.Table;\n\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.core.domain.DomainObject;\nimport de.tum.cit.aet.artemis.core.domain.Parent;\n\n/**\n * Represents the token usage details of a single LLM request, including model, service pipeline, token counts, and costs.\n */\n@Entity\n@Table(name = \"llm_token_usage_request\")\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic class LLMTokenUsageRequest extends DomainObject {\n\n /**\n * LLM model (e.g. gpt-4o)\n */\n @Column(name = \"model\")\n private String model;\n\n /**\n * pipeline that was called (e.g. IRIS_COURSE_CHAT_PIPELINE)\n */\n @Column(name = \"service_pipeline_id\")\n private String servicePipelineId;\n\n @Column(name = \"num_input_tokens\")\n private int numInputTokens;\n\n @Column(name = \"num_output_tokens\")\n private int numOutputTokens;\n\n /**\n * part of the input tokens the provider read from its prompt cache (included in numInputTokens)\n */\n @Column(name = \"num_cached_input_tokens\")\n private int numCachedInputTokens;\n\n /**\n * part of the input tokens the provider wrote to its prompt cache (included in numInputTokens)\n */\n @Column(name = \"num_cache_write_input_tokens\")\n private int numCacheWriteInputTokens;\n\n /** Complete USD amount reported by the provider or estimated from rates. Null means unpriced in USD. */\n @Nullable\n @Column(name = \"total_cost_usd\")\n private Double totalCostUsd;\n\n @ManyToOne\n @JoinColumn(nullable = false)\n @Parent\n private LLMTokenUsageTrace trace;\n\n public String getModel() {\n return model;\n }\n\n public void setModel(String model) {\n this.model = model;\n }\n\n public String getServicePipelineId() {\n return servicePipelineId;\n }\n\n public void setServicePipelineId(String servicePipelineId) {\n this.servicePipelineId = servicePipelineId;\n }\n\n public int getNumInputTokens() {\n return numInputTokens;\n }\n\n public void setNumInputTokens(int numInputTokens) {\n this.numInputTokens = numInputTokens;\n }\n\n public int getNumOutputTokens() {\n return numOutputTokens;\n }\n\n public void setNumOutputTokens(int numOutputTokens) {\n this.numOutputTokens = numOutputTokens;\n }\n\n public int getNumCachedInputTokens() {\n return numCachedInputTokens;\n }\n\n public void setNumCachedInputTokens(int numCachedInputTokens) {\n this.numCachedInputTokens = numCachedInputTokens;\n }\n\n public int getNumCacheWriteInputTokens() {\n return numCacheWriteInputTokens;\n }\n\n public void setNumCacheWriteInputTokens(int numCacheWriteInputTokens) {\n this.numCacheWriteInputTokens = numCacheWriteInputTokens;\n }\n\n public LLMTokenUsageTrace getTrace() {\n return trace;\n }\n\n @Nullable\n public Double getTotalCostUsd() {\n return totalCostUsd;\n }\n\n public void setTotalCostUsd(@Nullable Double totalCostUsd) {\n this.totalCostUsd = totalCostUsd;\n }\n\n public void setTrace(LLMTokenUsageTrace trace) {\n this.trace = trace;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/d0c95ae7eff0211bbd4206e4fe40c5b35f57c1f2.json b/web/public/bundles/artemis/code/d0c95ae7eff0211bbd4206e4fe40c5b35f57c1f2.json new file mode 100644 index 00000000..8d3f59e0 --- /dev/null +++ b/web/public/bundles/artemis/code/d0c95ae7eff0211bbd4206e4fe40c5b35f57c1f2.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d0c95ae7eff0211bbd4206e4fe40c5b35f57c1f2", + "language": "typescript", + "path": "src/main/webapp/app/exercise/dashboards/tutor-participation-graph/progress-bar/progress-bar.component.ts", + "schema": "codexray.code/1", + "text": "import { TumAetUiProgressBarComponent } from '@tumaet/ui-angular/progress-bar';\nimport { TumAetUiTooltipDirective } from '@tumaet/ui-angular/tooltip';\n\nimport { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { round } from 'app/foundation/util/utils';\n\n@Component({\n selector: 'jhi-progress-bar',\n templateUrl: './progress-bar.component.html',\n styleUrl: './progress-bar.component.css',\n imports: [TumAetUiProgressBarComponent, TumAetUiTooltipDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ProgressBarComponent {\n readonly tooltip = input('');\n readonly percentage = input(0);\n readonly numerator = input(0);\n readonly denominator = input(0);\n\n /** Sanitized percentage: 0 if not a number, or if both numerator and denominator are zero. */\n readonly normalizedPercentage = computed(() => {\n const isInvalid = this.numerator() === 0 && this.denominator() === 0;\n const value = this.percentage();\n if (isNaN(value) || isInvalid) {\n return 0;\n }\n return round(value);\n });\n}\n" +} diff --git a/web/public/bundles/artemis/code/d2b034f80559ea7c60d65f3a729cfd3b5b17e456.json b/web/public/bundles/artemis/code/d2b034f80559ea7c60d65f3a729cfd3b5b17e456.json new file mode 100644 index 00000000..725cdc6e --- /dev/null +++ b/web/public/bundles/artemis/code/d2b034f80559ea7c60d65f3a729cfd3b5b17e456.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d2b034f80559ea7c60d65f3a729cfd3b5b17e456", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/participation/StudentParticipation.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exercise.domain.participation;\n\nimport java.util.Optional;\nimport java.util.Set;\n\nimport jakarta.persistence.Column;\nimport jakarta.persistence.DiscriminatorValue;\nimport jakarta.persistence.Entity;\nimport jakarta.persistence.ManyToOne;\n\nimport com.fasterxml.jackson.annotation.JsonIgnore;\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.exercise.domain.Exercise;\nimport de.tum.cit.aet.artemis.exercise.domain.Team;\n\n@Entity\n@DiscriminatorValue(value = \"SP\")\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic class StudentParticipation extends Participation {\n\n @Column(name = \"presentation_score\")\n private Double presentationScore;\n\n @ManyToOne\n private User student;\n\n @ManyToOne\n private Team team;\n\n public Double getPresentationScore() {\n return presentationScore;\n }\n\n public void setPresentationScore(Double presentationScore) {\n this.presentationScore = presentationScore;\n }\n\n public Optional getStudent() {\n return Optional.ofNullable(student);\n }\n\n public Optional getTeam() {\n return Optional.ofNullable(team);\n }\n\n @JsonIgnore\n public Set getStudents() {\n return getStudent().map(Set::of).orElseGet(() -> team != null ? team.getStudents() : Set.of());\n }\n\n @JsonIgnore\n public Participant getParticipant() {\n return Optional.ofNullable((Participant) student).orElse(team);\n }\n\n /** The discriminator the client reads to tell participation kinds apart. */\n public static final String TYPE = \"student\";\n\n /**\n * A stand-in carrying nothing but the id, for writing a submission's foreign key.\n *

\n * The submit path resolves its participation as a projection and must not load the entity - doing so pulls the\n * exercise, its course and, for an exam exercise, the exercise group with its exam and that exam's course along.\n *

\n * Never read from this and never hand it to anything but a save. What the response reports is mapped from the\n * projection instead, and everything the save needs from the participation is the id.\n *\n * @param id the id of the participation the submission belongs to\n * @return a detached stand-in carrying only that id\n */\n public static StudentParticipation idOnlyReference(long id) {\n StudentParticipation reference = new StudentParticipation();\n reference.setId(id);\n return reference;\n }\n\n @Override\n public String getType() {\n return TYPE;\n }\n\n /**\n * allows to set the participant independent whether it is a team or user\n *\n * @param participant either a team or user\n */\n public void setParticipant(Participant participant) {\n switch (participant) {\n case User user -> this.student = user;\n case Team team1 -> this.team = team1;\n case null -> {\n this.student = null;\n if (this.team != null) {\n this.team.setStudents(null);\n }\n }\n default -> throw new Error(\"Unknown participant type\");\n }\n }\n\n @JsonInclude(JsonInclude.Include.NON_EMPTY)\n public String getParticipantIdentifier() {\n return Optional.ofNullable(getParticipant()).map(Participant::getParticipantIdentifier).orElse(null);\n }\n\n @JsonInclude(JsonInclude.Include.NON_EMPTY)\n public String getParticipantName() {\n return Optional.ofNullable(getParticipant()).map(Participant::getName).orElse(null);\n }\n\n @Override\n public Exercise getExercise() {\n return exercise;\n }\n\n public StudentParticipation exercise(Exercise exercise) {\n this.exercise = exercise;\n return this;\n }\n\n @Override\n public void setExercise(Exercise exercise) {\n this.exercise = exercise;\n }\n\n /**\n * Removes the student or team from the participation, can be invoked to make sure that sensitive information is not sent to the client.\n * E.g. tutors should not see information about the student.\n */\n @Override\n public void filterSensitiveInformation() {\n setParticipant(null);\n }\n\n public boolean isOwnedBy(String userLogin) {\n return getStudent().map(student -> student.getLogin().equals(userLogin)).orElseGet(() -> team.hasStudentWithLogin(userLogin));\n }\n\n public boolean isOwnedBy(User user) {\n return isOwnedBy(user.getLogin());\n }\n\n @Override\n public String toString() {\n String participantString = getStudent().map(student -> \"student=\" + student).orElse(\"team=\" + team);\n return getClass().getSimpleName() + \"{\" + \"id=\" + getId() + \", presentationScore=\" + presentationScore + \", \" + participantString + \"}\";\n }\n\n}\n" +} diff --git a/web/public/bundles/artemis/code/d2c9950700854ea7d12123db589eeb5d557e1c48.json b/web/public/bundles/artemis/code/d2c9950700854ea7d12123db589eeb5d557e1c48.json new file mode 100644 index 00000000..ff7a2366 --- /dev/null +++ b/web/public/bundles/artemis/code/d2c9950700854ea7d12123db589eeb5d557e1c48.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d2c9950700854ea7d12123db589eeb5d557e1c48", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionQuizQuestionPoolMaterialService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.hyperion.service;\n\nimport java.io.IOException;\nimport java.nio.charset.StandardCharsets;\nimport java.nio.file.Path;\nimport java.security.MessageDigest;\nimport java.security.NoSuchAlgorithmException;\nimport java.util.ArrayList;\nimport java.util.Collection;\nimport java.util.HashMap;\nimport java.util.HashSet;\nimport java.util.HexFormat;\nimport java.util.LinkedHashMap;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Optional;\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\nimport org.apache.pdfbox.Loader;\nimport org.apache.pdfbox.pdmodel.PDDocument;\nimport org.apache.pdfbox.text.PDFTextStripper;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.beans.factory.annotation.Value;\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.atlas.api.CompetencyRelationApi;\nimport de.tum.cit.aet.artemis.core.exception.ApiConditionNotPresentException;\nimport de.tum.cit.aet.artemis.hyperion.config.HyperionEnabled;\nimport de.tum.cit.aet.artemis.lecture.api.LectureTranscriptionsRepositoryApi;\nimport de.tum.cit.aet.artemis.lecture.api.LectureUnitApi;\nimport de.tum.cit.aet.artemis.lecture.domain.Attachment;\nimport de.tum.cit.aet.artemis.lecture.domain.AttachmentVideoUnit;\nimport de.tum.cit.aet.artemis.lecture.domain.LectureTranscription;\nimport de.tum.cit.aet.artemis.lecture.domain.LectureTranscriptionSegment;\nimport de.tum.cit.aet.artemis.lecture.domain.LectureUnit;\nimport de.tum.cit.aet.artemis.lecture.domain.TextUnit;\n\n/**\n * Supplies the lecture material that quiz question pool items are grounded in.\n *

\n * A lecture unit is groundable when it carries text this service can read: the content of a text unit, the text of an attachment\n * video unit's stored PDF, or that unit's transcript. {@link #extractText} returns that text cut to\n * {@code artemis.hyperion.quiz-pool.max-material-characters}; a PDF that cannot be read contributes nothing and is logged.\n * {@link #fingerprintOf} identifies the material's version without reading the PDF, so a later build can tell whether it changed.\n */\n@Service\n@Lazy\n@Conditional(HyperionEnabled.class)\npublic class HyperionQuizQuestionPoolMaterialService {\n\n private static final Logger log = LoggerFactory.getLogger(HyperionQuizQuestionPoolMaterialService.class);\n\n private final Optional competencyRelationApi;\n\n private final Optional lectureUnitApi;\n\n private final Optional transcriptionsApi;\n\n private final int maxMaterialCharacters;\n\n public HyperionQuizQuestionPoolMaterialService(Optional competencyRelationApi, Optional lectureUnitApi,\n Optional transcriptionsApi, @Value(\"${artemis.hyperion.quiz-pool.max-material-characters:60000}\") int maxMaterialCharacters) {\n this.competencyRelationApi = competencyRelationApi;\n this.lectureUnitApi = lectureUnitApi;\n this.transcriptionsApi = transcriptionsApi;\n if (maxMaterialCharacters < 1) {\n throw new IllegalArgumentException(\"artemis.hyperion.quiz-pool.max-material-characters must be at least 1, got \" + maxMaterialCharacters);\n }\n this.maxMaterialCharacters = maxMaterialCharacters;\n }\n\n /**\n * Finds the groundable lecture units linked to each competency.\n *\n * @param competencyIds the competencies, in the order they appear in the result\n * @return the groundable units of each competency ordered by id; a competency without one is absent\n */\n public Map> findGroundableUnits(Collection competencyIds) {\n CompetencyRelationApi relationApi = competencyRelationApi.orElseThrow(() -> new ApiConditionNotPresentException(CompetencyRelationApi.class, \"artemis.atlas.enabled\"));\n Map> linkedUnitIds = relationApi.findLectureUnitIdsPerCompetency(new HashSet<>(competencyIds));\n Map> unitIdsByCompetency = new LinkedHashMap<>();\n for (Long competencyId : competencyIds) {\n unitIdsByCompetency.put(competencyId, linkedUnitIds.getOrDefault(competencyId, Set.of()));\n }\n Map units = findUnits(unitIdsByCompetency.values().stream().flatMap(Set::stream).collect(Collectors.toSet()));\n Map> result = new LinkedHashMap<>();\n for (Map.Entry> entry : unitIdsByCompetency.entrySet()) {\n List groundable = entry.getValue().stream().sorted().map(units::get).filter(unit -> unit != null && isGroundable(unit)).toList();\n if (!groundable.isEmpty()) {\n result.put(entry.getKey(), groundable);\n }\n }\n return result;\n }\n\n /**\n * Loads lecture units with their lectures.\n *\n * @param ids the units to load\n * @return the units that exist, by id\n */\n public Map findUnits(Collection ids) {\n if (ids.isEmpty()) {\n return Map.of();\n }\n LectureUnitApi api = lectureUnitApi.orElseThrow(() -> new ApiConditionNotPresentException(LectureUnitApi.class, \"artemis.lecture.enabled\"));\n Map units = new HashMap<>();\n for (LectureUnit unit : api.findAllByIds(ids)) {\n units.put(unit.getId(), unit);\n }\n return units;\n }\n\n /**\n * Returns whether the unit carries material questions can be grounded in.\n *\n * @param unit the unit\n * @return {@code true} for a text unit with content and for an attachment video unit with a stored PDF or a transcript\n */\n public boolean isGroundable(LectureUnit unit) {\n if (unit instanceof TextUnit textUnit) {\n return textUnit.getContent() != null && !textUnit.getContent().isBlank();\n }\n if (unit instanceof AttachmentVideoUnit videoUnit) {\n return hasStoredPdf(videoUnit) || transcript(videoUnit).isPresent();\n }\n return false;\n }\n\n /**\n * Extracts the unit's text.\n *\n * @param unit the unit\n * @return the text cut to the configured budget, or an empty string when the unit has none this service can read\n */\n public String extractText(LectureUnit unit) {\n String text;\n if (unit instanceof TextUnit textUnit) {\n text = textUnit.getContent() == null ? \"\" : textUnit.getContent();\n }\n else if (unit instanceof AttachmentVideoUnit videoUnit) {\n text = videoUnitText(videoUnit);\n }\n else {\n text = \"\";\n }\n return truncate(text.strip(), maxMaterialCharacters);\n }\n\n private String videoUnitText(AttachmentVideoUnit unit) {\n List parts = new ArrayList<>();\n if (hasStoredPdf(unit)) {\n unit.getAttachment().fileLocation().ifPresent(location -> {\n try {\n parts.add(readPdfText(location.path()));\n }\n catch (IOException e) {\n log.warn(\"Cannot read the PDF of lecture unit [{}] for the quiz question pool\", unit.getId(), e);\n }\n });\n }\n transcript(unit).ifPresent(transcription -> parts.add(transcriptText(transcription)));\n return parts.stream().filter(part -> !part.isBlank()).collect(Collectors.joining(\"\\n\\n\"));\n }\n\n private static boolean hasStoredPdf(AttachmentVideoUnit unit) {\n Attachment attachment = unit.getAttachment();\n return attachment != null && attachment.isStoredPdf();\n }\n\n private Optional transcript(AttachmentVideoUnit unit) {\n if (unit.getId() == null) {\n return Optional.empty();\n }\n return transcriptionsApi.flatMap(api -> api.findByLectureUnit_Id(unit.getId()))\n .filter(transcription -> transcription.getSegments() != null && !transcription.getSegments().isEmpty());\n }\n\n private static String transcriptText(LectureTranscription transcription) {\n return transcription.getSegments().stream().map(LectureTranscriptionSegment::text).filter(text -> text != null && !text.isBlank()).collect(Collectors.joining(\"\\n\"));\n }\n\n /**\n * Fingerprints the unit's material: the hash of a text unit's content; for an attachment video unit the attachment's version,\n * upload date and link together with the hash of its transcript. Two builds that see the same fingerprint see the same material.\n *\n * @param unit the unit\n * @return the fingerprint, at most 135 characters\n */\n public String fingerprintOf(LectureUnit unit) {\n if (unit instanceof TextUnit textUnit) {\n return \"text:\" + sha256(textUnit.getContent() == null ? \"\" : textUnit.getContent());\n }\n if (unit instanceof AttachmentVideoUnit videoUnit) {\n Attachment attachment = videoUnit.getAttachment();\n String attachmentPart = attachment == null ? \"none\"\n : attachment.getVersion() + \":\" + (attachment.getUploadDate() == null ? \"\" : attachment.getUploadDate().toInstant()) + \":\" + attachment.getLink();\n String transcriptPart = transcript(videoUnit).map(transcription -> sha256(transcriptText(transcription))).orElse(\"none\");\n return \"video:\" + sha256(attachmentPart) + \":\" + transcriptPart;\n }\n return \"none\";\n }\n\n private static String sha256(String text) {\n try {\n return HexFormat.of().formatHex(MessageDigest.getInstance(\"SHA-256\").digest(text.getBytes(StandardCharsets.UTF_8)));\n }\n catch (NoSuchAlgorithmException e) {\n throw new IllegalStateException(\"SHA-256 is not available\", e);\n }\n }\n\n /**\n * Reads the text of every page of a PDF, in page order.\n *\n * @param file the PDF\n * @return the text\n * @throws IOException when the file cannot be read or is not a PDF\n */\n static String readPdfText(Path file) throws IOException {\n try (PDDocument document = Loader.loadPDF(file.toFile())) {\n return new PDFTextStripper().getText(document);\n }\n }\n\n static String truncate(String text, int maxCharacters) {\n return text.length() <= maxCharacters ? text : text.substring(0, maxCharacters);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/d2d2e23101350411836128529a80afecc500ac7e.json b/web/public/bundles/artemis/code/d2d2e23101350411836128529a80afecc500ac7e.json new file mode 100644 index 00000000..d5f261aa --- /dev/null +++ b/web/public/bundles/artemis/code/d2d2e23101350411836128529a80afecc500ac7e.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d2d2e23101350411836128529a80afecc500ac7e", + "language": "typescript", + "path": "src/main/webapp/app/exercise/external-submission/external-submission.service.ts", + "schema": "codexray.code/1", + "text": "import { Service, inject } from '@angular/core';\nimport { Observable } from 'rxjs';\nimport { HttpClient, HttpContext } from '@angular/common/http';\nimport dayjs from 'dayjs/esm';\nimport { Exercise } from 'app/exercise/shared/entities/exercise/exercise.model';\nimport { Result } from 'app/exercise/shared/entities/result/result.model';\nimport { map } from 'rxjs/operators';\nimport { SKIP_HTTP_ERROR_ALERT } from 'app/core/interceptor/errorhandler.interceptor';\nimport { PageableResult, toPageableResult } from 'app/foundation/pagination/pageable-table';\nimport { ExternalSubmissionCandidate } from 'app/exercise/external-submission/external-submission-candidate.model';\n\n/**\n * Keeps the candidate search on HttpClient: it reads the X-Total-Count header and skips the global error alert, neither of which the generated client exposes.\n */\n@Service()\nexport class ExternalSubmissionService {\n private http = inject(HttpClient);\n\n /**\n * Searches the students of the exercise's course that match the search term, each flagged with the reason they cannot receive an external result, if any.\n * Failures are shown next to the search field, so the request raises no global error alert.\n * @param exercise the exercise the external result is for\n * @param searchTerm part of the login, name, email or registration number\n * @param page zero-based page index\n * @param pageSize number of students per page\n */\n searchCandidates(exercise: Exercise, searchTerm: string, page: number, pageSize: number): Observable> {\n return this.http\n .get(`api/assessment/exercises/${exercise.id}/external-submission-candidates`, {\n params: { searchTerm, page, pageSize },\n observe: 'response',\n context: new HttpContext().set(SKIP_HTTP_ERROR_ALERT, true),\n })\n .pipe(map(toPageableResult));\n }\n\n /**\n * Generates an initial manual result with default values.\n */\n generateInitialManualResult() {\n const newResult = new Result();\n newResult.completionDate = dayjs();\n newResult.successful = true;\n newResult.score = 100;\n newResult.rated = true;\n return newResult;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/d34172ad943ac1e7f4e6429b461c70577dba1a55.json b/web/public/bundles/artemis/code/d34172ad943ac1e7f4e6429b461c70577dba1a55.json new file mode 100644 index 00000000..58006858 --- /dev/null +++ b/web/public/bundles/artemis/code/d34172ad943ac1e7f4e6429b461c70577dba1a55.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d34172ad943ac1e7f4e6429b461c70577dba1a55", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseExerciseDueDateDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.course.dto;\n\nimport java.time.ZonedDateTime;\nimport java.util.Set;\n\nimport org.hibernate.Hibernate;\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.exercise.domain.Exercise;\nimport de.tum.cit.aet.artemis.exercise.domain.ExerciseType;\n\n/** Exercise fields used by the lecture PDF date-box. */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record CourseExerciseDueDateDTO(long id, ExerciseType type, String title, ZonedDateTime dueDate, @Nullable Set categories) {\n\n /** Maps the due-date repository projection. */\n public static CourseExerciseDueDateDTO of(Exercise exercise) {\n Set categories = exercise.getCategories() != null && Hibernate.isInitialized(exercise.getCategories()) ? exercise.getCategories() : Set.of();\n return new CourseExerciseDueDateDTO(exercise.getId(), exercise.getExerciseType(), exercise.getTitle(), exercise.getDueDate(), categories);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/d3bd72fc125fc4807cff3055be89ed39d9049162.json b/web/public/bundles/artemis/code/d3bd72fc125fc4807cff3055be89ed39d9049162.json new file mode 100644 index 00000000..98949fb5 --- /dev/null +++ b/web/public/bundles/artemis/code/d3bd72fc125fc4807cff3055be89ed39d9049162.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d3bd72fc125fc4807cff3055be89ed39d9049162", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/dto/LectureUnitDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.lecture.dto;\n\nimport java.time.ZonedDateTime;\nimport java.util.Set;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.exercise.dto.CompetencyLinksHolderDTO;\nimport de.tum.cit.aet.artemis.lecture.domain.AttachmentVideoUnit;\nimport de.tum.cit.aet.artemis.lecture.domain.ExerciseUnit;\nimport de.tum.cit.aet.artemis.lecture.domain.LectureUnit;\nimport de.tum.cit.aet.artemis.lecture.domain.OnlineUnit;\nimport de.tum.cit.aet.artemis.lecture.domain.TextUnit;\nimport io.swagger.v3.oas.annotations.media.DiscriminatorMapping;\nimport io.swagger.v3.oas.annotations.media.Schema;\n\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\n@Schema(discriminatorProperty = \"type\", discriminatorMapping = { @DiscriminatorMapping(value = \"attachment\", schema = AttachmentVideoUnitDTO.class),\n @DiscriminatorMapping(value = \"exercise\", schema = ExerciseUnitDTO.class), @DiscriminatorMapping(value = \"online\", schema = OnlineUnitDTO.class),\n @DiscriminatorMapping(value = \"text\", schema = TextUnitDTO.class) }, oneOf = { AttachmentVideoUnitDTO.class, ExerciseUnitDTO.class, OnlineUnitDTO.class,\n TextUnitDTO.class })\npublic interface LectureUnitDTO extends CompetencyLinksHolderDTO {\n\n Long id();\n\n ZonedDateTime releaseDate();\n\n Set competencyLinks();\n\n /**\n * Maps a polymorphic {@link LectureUnit} entity to its matching {@link LectureUnitDTO} subtype.\n *\n * @param lectureUnit the lecture unit to map\n * @return the concrete DTO carrying the {@code type} discriminator the client uses to narrow the unit\n */\n static LectureUnitDTO of(LectureUnit lectureUnit) {\n return switch (lectureUnit) {\n case TextUnit textUnit -> TextUnitDTO.of(textUnit);\n case OnlineUnit onlineUnit -> OnlineUnitDTO.of(onlineUnit);\n case ExerciseUnit exerciseUnit -> ExerciseUnitDTO.of(exerciseUnit);\n case AttachmentVideoUnit attachmentVideoUnit -> AttachmentVideoUnitDTO.of(attachmentVideoUnit);\n default -> throw new IllegalArgumentException(\"Unsupported lecture unit type: \" + lectureUnit.getClass().getSimpleName());\n };\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/d3ed0a36ffe1fb09918b2fcf4452601e9a991664.json b/web/public/bundles/artemis/code/d3ed0a36ffe1fb09918b2fcf4452601e9a991664.json new file mode 100644 index 00000000..572f7e53 --- /dev/null +++ b/web/public/bundles/artemis/code/d3ed0a36ffe1fb09918b2fcf4452601e9a991664.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d3ed0a36ffe1fb09918b2fcf4452601e9a991664", + "language": "typescript", + "path": "src/main/webapp/app/communication/course-conversations-components/abstract-dialog.component.ts", + "schema": "codexray.code/1", + "text": "import { Directive, OnInit, WritableSignal, inject, isSignal } from '@angular/core';\nimport { TumAetUiDialogConfig, TumAetUiDialogRef } from '@tumaet/ui-angular/dialog';\nimport { captureException } from 'app/core/error-reporting/capture-exception';\n\nfunction isWritableSignal(value: unknown): value is WritableSignal {\n return isSignal(value) && typeof (value as { set?: unknown }).set === 'function';\n}\n\n@Directive()\nexport abstract class AbstractDialogComponent implements OnInit {\n dialogRef = inject(TumAetUiDialogRef, { optional: true });\n dialogConfig = inject(TumAetUiDialogConfig, { optional: true });\n isInitialized = false;\n\n ngOnInit() {\n this.initialize();\n }\n\n initialize(requiredInputs?: string[]) {\n // Apply data from the dialog config to component properties\n if (this.dialogConfig?.data) {\n // Reflect over the component's own signal inputs / plain properties by key. There is no static type for\n // \"this component's dynamic keys\", so a minimal index-signature view is used instead of `any`.\n const self = this as Record;\n for (const [key, value] of Object.entries(this.dialogConfig.data)) {\n if (!(key in this)) {\n continue;\n }\n const prop = self[key];\n if (isWritableSignal(prop)) {\n prop.set(value);\n } else if (typeof prop !== 'function') {\n self[key] = value;\n } else {\n // Keep callbacks and other non-input data on dialogConfig.data to avoid replacing component methods.\n continue;\n }\n }\n }\n const allInputsSet = (requiredInputs ?? []).every((inputKey) => {\n const prop = (this as Record)[inputKey];\n if (isSignal(prop)) {\n return prop() !== undefined;\n }\n return prop !== undefined;\n });\n if (!allInputsSet) {\n captureException('Error: Dialog not fully configured');\n } else {\n this.isInitialized = true;\n }\n }\n\n dismiss() {\n this.dialogRef?.dismiss();\n }\n\n close(result?: unknown) {\n this.dialogRef?.close(result);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/d55b88452df2d7bd06c5f26f0ac8ede53d944c2b.json b/web/public/bundles/artemis/code/d55b88452df2d7bd06c5f26f0ac8ede53d944c2b.json new file mode 100644 index 00000000..1266e844 --- /dev/null +++ b/web/public/bundles/artemis/code/d55b88452df2d7bd06c5f26f0ac8ede53d944c2b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d55b88452df2d7bd06c5f26f0ac8ede53d944c2b", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/buildagent/service/PublishedHostKeyDatabase.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.buildagent.service;\n\nimport java.net.InetSocketAddress;\nimport java.security.PublicKey;\nimport java.time.Duration;\nimport java.util.List;\nimport java.util.Locale;\nimport java.util.Set;\nimport java.util.concurrent.atomic.AtomicReference;\nimport java.util.function.LongSupplier;\nimport java.util.function.Supplier;\n\nimport org.eclipse.jgit.transport.CredentialsProvider;\nimport org.eclipse.jgit.transport.sshd.ServerKeyDatabase;\nimport org.jspecify.annotations.Nullable;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport de.tum.cit.aet.artemis.localvc.service.ssh.HashUtils;\n\n/**\n * Accepts the SSH host key of a core node only if its fingerprint is one that the core node publishes at {@code api/localvc/public/ssh-fingerprints}.\n *

\n * The published fingerprints are cached for a short time. When a presented key does not match the cached ones, they are fetched again once, so that a host key\n * that was replaced on the core node is accepted without restarting the agent. A fetch that fails is remembered for 30 seconds, so that a core node that cannot be\n * reached costs one request with its timeout per period and not two for every connection, and the warning about it is logged once per period as well.\n */\nclass PublishedHostKeyDatabase implements ServerKeyDatabase {\n\n /**\n * What an agent does when the fingerprints cannot be obtained from the core node.\n */\n enum Mode {\n\n /**\n * The clone fails, because the host key cannot be verified.\n */\n REQUIRED,\n\n /**\n * The clone continues and a warning is logged, which is how agents behaved before the host key was verified.\n */\n IF_AVAILABLE;\n\n static Mode parse(@Nullable String value) {\n if (value == null || value.isBlank()) {\n return IF_AVAILABLE;\n }\n return valueOf(value.trim().toUpperCase(Locale.ROOT).replace('-', '_'));\n }\n }\n\n private static final Logger log = LoggerFactory.getLogger(PublishedHostKeyDatabase.class);\n\n static final Duration CACHE_DURATION = Duration.ofMinutes(5);\n\n /** How long a failed fetch is remembered, during which the core node is not asked again and the warning is not repeated. */\n static final Duration FAILURE_CACHE_DURATION = Duration.ofSeconds(30);\n\n private final Supplier> fingerprintFetcher;\n\n private final Mode mode;\n\n private final LongSupplier nanoClock;\n\n private final AtomicReference> cachedFingerprints = new AtomicReference<>(Set.of());\n\n private volatile long cachedAtNanos;\n\n private volatile boolean lastFetchFailed;\n\n private volatile long lastFailureAtNanos;\n\n /** Guards the warning state on its own, so that deciding whether to warn never waits for a request to the core node. */\n private final Object warningLock = new Object();\n\n private boolean warnedAboutMissingFingerprints;\n\n private long lastWarningAtNanos;\n\n PublishedHostKeyDatabase(Supplier> fingerprintFetcher, Mode mode) {\n this(fingerprintFetcher, mode, System::nanoTime);\n }\n\n PublishedHostKeyDatabase(Supplier> fingerprintFetcher, Mode mode, LongSupplier nanoClock) {\n this.fingerprintFetcher = fingerprintFetcher;\n this.mode = mode;\n this.nanoClock = nanoClock;\n }\n\n @Override\n public List lookup(String connectAddress, InetSocketAddress remoteAddress, Configuration config) {\n // No key is known up front: the fingerprints are compared when a key is presented\n return List.of();\n }\n\n @Override\n public boolean accept(String connectAddress, InetSocketAddress remoteAddress, PublicKey serverKey, Configuration config, @Nullable CredentialsProvider provider) {\n String presented = HashUtils.getSha256Fingerprint(serverKey);\n\n Set published = publishedFingerprints(false, presented);\n if (published.contains(presented)) {\n return true;\n }\n // The key may have been replaced since the fingerprints were cached\n published = publishedFingerprints(true, presented);\n if (published.contains(presented)) {\n return true;\n }\n if (published.isEmpty()) {\n if (Thread.currentThread().isInterrupted()) {\n // The reading was cut short by an interrupt of this connection. That is no answer of the core node, so the key is not taken for one that could not be compared.\n log.debug(\"The SSH host key of {} was not accepted, because the reading of the fingerprints of the core node was interrupted\", connectAddress);\n return false;\n }\n if (mode == Mode.REQUIRED) {\n log.error(\n \"The SSH host key of {} was not accepted: its fingerprint {} could not be compared, because the core node does not publish its fingerprints or they cannot be read over https. \"\n + \"Set artemis.version-control.ssh-host-key-verification to if-available to continue without the comparison.\",\n connectAddress, presented);\n return false;\n }\n if (shouldWarnAboutMissingFingerprints()) {\n log.warn(\n \"The SSH host key of {} with the fingerprint {} was accepted without a comparison, because the core node does not publish its fingerprints or they cannot be read over https.\",\n connectAddress, presented);\n }\n return true;\n }\n log.error(\"The SSH host key of {} was not accepted: its fingerprint {} is none of the fingerprints that the core node publishes ({}). \"\n + \"Check that the build agent connects to the Artemis SSH server and not to another host.\", connectAddress, presented, published);\n return false;\n }\n\n /**\n * Whether the warning about a host key that was accepted without a comparison is due, which is once per period.\n *\n * @return true if the warning is to be logged now\n */\n boolean shouldWarnAboutMissingFingerprints() {\n synchronized (warningLock) {\n long now = nanoClock.getAsLong();\n if (warnedAboutMissingFingerprints && now - lastWarningAtNanos < FAILURE_CACHE_DURATION.toNanos()) {\n return false;\n }\n warnedAboutMissingFingerprints = true;\n lastWarningAtNanos = now;\n return true;\n }\n }\n\n /**\n * The fingerprints that the core node published, from the cache if they are recent enough, and read again otherwise or if a refresh is forced.\n *\n * @param forceRefresh whether the cache is skipped, because the presented key is not in it\n * @param presented the fingerprint of the presented key. A forced refresh that finds it in the cache anyway, because another connection refreshed it in the meantime,\n * does not ask the core node again.\n * @return the published fingerprints, which are the cached ones if the core node cannot be asked\n */\n synchronized Set publishedFingerprints(boolean forceRefresh, String presented) {\n long now = nanoClock.getAsLong();\n boolean cacheIsFresh = !cachedFingerprints.get().isEmpty() && now - cachedAtNanos < CACHE_DURATION.toNanos();\n if (!forceRefresh && cacheIsFresh) {\n return cachedFingerprints.get();\n }\n // Only a recent snapshot is reused for a key that another connection just found, as an old one has to be read again\n if (forceRefresh && cacheIsFresh && cachedFingerprints.get().contains(presented)) {\n return cachedFingerprints.get();\n }\n if (lastFetchFailed && now - lastFailureAtNanos < FAILURE_CACHE_DURATION.toNanos()) {\n // The core node did not answer a moment ago, so it is not asked again for every connection\n return cachedFingerprints.get();\n }\n Set fetched = fingerprintFetcher.get();\n if (fetched.isEmpty()) {\n // A request that an interrupt cut short says nothing about the core node, and the wait for a failure would hold for the connections of others, so it is not remembered\n if (!Thread.currentThread().isInterrupted()) {\n // The cooldown starts when the request has failed, so that a timeout and an immediate failure wait the same time\n lastFetchFailed = true;\n lastFailureAtNanos = nanoClock.getAsLong();\n }\n // A fingerprint that was published before still counts when the core node cannot be asked right now\n return cachedFingerprints.get();\n }\n lastFetchFailed = false;\n cachedFingerprints.set(fetched);\n cachedAtNanos = now;\n return fetched;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/d57c8f73bc2d0100ea81db6fc1477b0097d2d8e3.json b/web/public/bundles/artemis/code/d57c8f73bc2d0100ea81db6fc1477b0097d2d8e3.json new file mode 100644 index 00000000..88898b22 --- /dev/null +++ b/web/public/bundles/artemis/code/d57c8f73bc2d0100ea81db6fc1477b0097d2d8e3.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d57c8f73bc2d0100ea81db6fc1477b0097d2d8e3", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/dto/ProgrammingSubmissionDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.athena.dto;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.ATHENA_PROGRAMMING_EXERCISE_REPOSITORY_API_PATH;\n\nimport jakarta.validation.constraints.NotNull;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingSubmission;\n\n/**\n * A DTO representing a ProgrammingSubmission, for transferring data to Athena\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record ProgrammingSubmissionDTO(long id, long exerciseId, String repositoryUri) implements SubmissionBaseDTO {\n\n /**\n * Creates a new ProgrammingSubmissionDTO from a ProgrammingSubmission. The DTO also contains the exerciseId of the exercise the submission belongs to.\n *\n * @param exerciseId The id of the exercise the submission belongs to\n * @param submission The submission to create the DTO from\n * @return The created DTO\n */\n public static ProgrammingSubmissionDTO of(long exerciseId, @NotNull ProgrammingSubmission submission, String artemisServerUrl) {\n return new ProgrammingSubmissionDTO(submission.getId(), exerciseId,\n artemisServerUrl + ATHENA_PROGRAMMING_EXERCISE_REPOSITORY_API_PATH + exerciseId + \"/submissions/\" + submission.getId() + \"/repository\");\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/d6363c01aea566a798d5914e40be0b7d679fb8d5.json b/web/public/bundles/artemis/code/d6363c01aea566a798d5914e40be0b7d679fb8d5.json new file mode 100644 index 00000000..963199b0 --- /dev/null +++ b/web/public/bundles/artemis/code/d6363c01aea566a798d5914e40be0b7d679fb8d5.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d6363c01aea566a798d5914e40be0b7d679fb8d5", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/core/config/DeferredEagerBeanInitializer.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.core.config;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.HAZELCAST;\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\n\nimport java.util.Arrays;\nimport java.util.List;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.beans.factory.NoSuchBeanDefinitionException;\nimport org.springframework.beans.factory.config.BeanDefinition;\nimport org.springframework.beans.factory.support.DefaultListableBeanFactory;\nimport org.springframework.boot.SpringApplication;\nimport org.springframework.boot.diagnostics.FailureAnalysis;\nimport org.springframework.boot.diagnostics.FailureAnalyzer;\nimport org.springframework.context.ConfigurableApplicationContext;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.core.env.Environment;\nimport org.springframework.stereotype.Component;\nimport org.springframework.util.PlaceholderResolutionException;\n\nimport de.tum.cit.aet.artemis.core.DeferredEagerBeanInitializationCompletedEvent;\nimport de.tum.cit.aet.artemis.globalsearch.exception.failureAnalyzer.WeaviateAuthenticationFailureAnalyzer;\nimport de.tum.cit.aet.artemis.globalsearch.exception.failureAnalyzer.WeaviateConnectionFailureAnalyzer;\n\n/**\n * This component initializes all lazy singleton beans after the application is ready.\n * This allows us to benefit from the lazy initialization of beans during startup, without compromising end user experience as beans are initialized before the first request is\n * made.\n * We currently do not initialize the beans in parallel as it leads to weird issues with the classloader\n * The beans are initialized by accessing them, which triggers their initialization.\n */\n@Component\n@Profile(PROFILE_CORE)\n@Lazy\npublic class DeferredEagerBeanInitializer {\n\n private static final Logger log = LoggerFactory.getLogger(DeferredEagerBeanInitializer.class);\n\n private final ConfigurableApplicationContext context;\n\n private final Environment env;\n\n public DeferredEagerBeanInitializer(ConfigurableApplicationContext context, Environment env) {\n this.context = context;\n this.env = env;\n }\n\n /**\n * Initializes all lazy singleton beans in the application context.\n * This method should be called after the application is fully started to not block the startup process.\n */\n public void initializeDeferredEagerBeans() {\n log.info(\"Start deferred eager initialization of all lazy singleton beans\");\n if (DistributedDataProviderResolver.isProvider(env, HAZELCAST)) {\n try {\n // Force eager initialization of HazelcastClusterManager first, so that connections are established as early as possible.\n context.getBean(HazelcastClusterManager.class);\n log.debug(\"Priority initialization of HazelcastClusterManager completed\");\n }\n catch (Throwable ex) {\n shutdownOnDeferredInitFailure(\"HazelcastClusterManager\", ex);\n }\n }\n\n DefaultListableBeanFactory bf = (DefaultListableBeanFactory) context.getBeanFactory();\n Arrays.stream(bf.getBeanDefinitionNames()).filter(name -> {\n BeanDefinition def = bf.getBeanDefinition(name);\n return def.isSingleton() && def.isLazyInit();\n }).forEach(name -> {\n try {\n // accessing the bean triggers initialization\n context.getBean(name);\n log.debug(\"Deferred eager initialization of bean {} completed\", name);\n }\n catch (Throwable ex) {\n shutdownOnDeferredInitFailure(name, ex);\n }\n });\n context.publishEvent(new DeferredEagerBeanInitializationCompletedEvent());\n log.info(\"Deferred eager initialization of all beans completed\");\n }\n\n private void shutdownOnDeferredInitFailure(String name, Throwable ex) {\n // Try to use failure analyzers for known exception types\n FailureAnalysis analysis = analyzeFailure(ex);\n if (analysis != null) {\n reportFailureAnalysis(analysis);\n }\n else {\n // Fall back to default error handling if no analyzer handles the exception\n Throwable root = ex;\n while (root.getCause() != null && root.getCause() != root) {\n root = root.getCause();\n }\n if (root instanceof PlaceholderResolutionException) {\n log.error(\"Required configuration is missing while initializing bean {}: {}\", name, root.getMessage());\n }\n else if (root instanceof NoSuchBeanDefinitionException) {\n log.error(\"A required dependency for bean {} is missing: {}\", name, root.getMessage());\n }\n log.error(\"Deferred eager initialization of bean {} failed. Shutting down the application.\", name, ex);\n }\n System.exit(SpringApplication.exit(context, () -> 2));\n }\n\n /**\n * Attempts to analyze the failure using registered failure analyzers.\n * Each analyzer is tried in order and the first non-null result is returned.\n *

\n * To add support for a new exception type, add its corresponding failure analyzer to the list.\n *\n * @param failure the exception that occurred\n * @return a FailureAnalysis if an analyzer can handle the exception, null otherwise\n */\n private FailureAnalysis analyzeFailure(Throwable failure) {\n List analyzersToTryOut = List.of(new WeaviateAuthenticationFailureAnalyzer(), new WeaviateConnectionFailureAnalyzer()\n // Add more failure analyzers here, e.g.:\n // new SomeOtherFailureAnalyzer()\n );\n\n for (FailureAnalyzer analyzer : analyzersToTryOut) {\n try {\n FailureAnalysis analysis = analyzer.analyze(failure);\n if (analysis != null) {\n return analysis;\n }\n }\n catch (Exception e) {\n log.debug(\"Failure analyzer {} failed to analyze exception\", analyzer.getClass().getName(), e);\n }\n }\n return null;\n }\n\n /**\n * Reports the failure analysis in a format similar to Spring Boot's default failure reporting.\n *\n * @param analysis the failure analysis to report\n */\n private void reportFailureAnalysis(FailureAnalysis analysis) {\n log.error(\"\"\"\n\n ***************************\n APPLICATION FAILED TO START\n ***************************\n\n Description:\n\n {}\n\n Action:\n\n {}\n \"\"\", analysis.getDescription(), analysis.getAction());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/d665da7cf63d3b97a4ea0d6d2d73292c618a4444.json b/web/public/bundles/artemis/code/d665da7cf63d3b97a4ea0d6d2d73292c618a4444.json new file mode 100644 index 00000000..9875900b --- /dev/null +++ b/web/public/bundles/artemis/code/d665da7cf63d3b97a4ea0d6d2d73292c618a4444.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d665da7cf63d3b97a4ea0d6d2d73292c618a4444", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/repository/CourseConfigurationRepository.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.course.repository;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\n\nimport java.time.ZonedDateTime;\nimport java.util.Collection;\nimport java.util.HashMap;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Optional;\n\nimport org.jspecify.annotations.Nullable;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.data.jpa.repository.Modifying;\nimport org.springframework.data.jpa.repository.Query;\nimport org.springframework.data.repository.query.Param;\nimport org.springframework.stereotype.Repository;\nimport org.springframework.transaction.annotation.Transactional;\n\nimport de.tum.cit.aet.artemis.atlas.dto.CourseAutoOrchestrationConfigDTO;\nimport de.tum.cit.aet.artemis.core.repository.base.ArtemisJpaRepository;\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.course.domain.CourseConfiguration;\nimport de.tum.cit.aet.artemis.course.domain.InitialCommitAuthorMode;\nimport de.tum.cit.aet.artemis.course.dto.InitialCommitAuthorDTO;\n\n/**\n * Spring Data JPA repository for the {@link CourseConfiguration} entity. The configuration holds the key to its course and\n * the course carries no mapped association to it, so loading a course never reads the configuration. A flow that needs\n * it reads it here, e.g. when updating the grade-relevance flag, and may attach it to the course it already holds with\n * {@link #attachTo(Course)} or {@link #attachTo(Collection)}.\n */\n@Profile(PROFILE_CORE)\n@Lazy\n@Repository\npublic interface CourseConfigurationRepository extends ArtemisJpaRepository {\n\n /**\n * Finds the configuration of the given course, if one exists.\n *\n * @param courseId the id of the course\n * @return the permanent course configuration or an empty optional for an unknown course\n */\n @Query(\"\"\"\n SELECT configuration\n FROM CourseConfiguration configuration\n WHERE configuration.course.id = :courseId\n \"\"\")\n Optional findByCourseId(@Param(\"courseId\") long courseId);\n\n /**\n * Reads the presentation-assessment switch without loading the course or the full configuration entity.\n *\n * @param courseId the id of the course\n * @return the switch value, or empty when the course has no configuration\n */\n @Query(\"\"\"\n SELECT configuration.presentationAssessmentsEnabled\n FROM CourseConfiguration configuration\n WHERE configuration.course.id = :courseId\n \"\"\")\n Optional findPresentationAssessmentsEnabledByCourseId(@Param(\"courseId\") long courseId);\n\n /**\n * Lightweight projection of a course's auto-orchestration configuration (kill switch plus the nullable debounce /\n * daily-cap overrides), read on the Atlas accumulator hot path without loading the full entity. Returns empty when the\n * course has no configuration row, in which case callers fall back to the global defaults and treat the pipeline as\n * disabled.\n *\n * @param courseId the course to resolve the configuration for\n * @return the projected configuration, or empty when the course has no configuration row\n */\n @Query(\"\"\"\n SELECT new de.tum.cit.aet.artemis.atlas.dto.CourseAutoOrchestrationConfigDTO(\n configuration.autoOrchestratorEnabled, configuration.debounceWindowSecondsOverride, configuration.maxDailyOrchestrationOverride)\n FROM CourseConfiguration configuration\n WHERE configuration.course.id = :courseId\n \"\"\")\n Optional findAutoOrchestrationConfigByCourseId(@Param(\"courseId\") long courseId);\n\n /**\n * Changes the settings an instructor or administrator edits in the course update, in place. The retention bookkeeping\n * (warning and reset dates) and the retention hold are not touched, so a concurrent cleanup run or hold change survives.\n *\n * @param courseId the id of the course\n * @param gradeRelevant whether the course is grade-relevant\n * @param presentationAssessmentsEnabled whether presentation assessments are enabled\n * @param autoOrchestratorEnabled whether the auto-orchestration pipeline is on\n * @param debounceWindowSecondsOverride the debounce override, or null for the global default\n * @param maxDailyOrchestrationOverride the daily run cap override, or null for the global default\n * @return the number of updated rows: 1, or 0 if the course has no configuration row\n */\n @Modifying\n @Transactional // ok because of the update\n @Query(\"\"\"\n UPDATE CourseConfiguration configuration\n SET configuration.gradeRelevant = :gradeRelevant, configuration.autoOrchestratorEnabled = :autoOrchestratorEnabled,\n configuration.presentationAssessmentsEnabled = :presentationAssessmentsEnabled,\n configuration.debounceWindowSecondsOverride = :debounceWindowSecondsOverride, configuration.maxDailyOrchestrationOverride = :maxDailyOrchestrationOverride\n WHERE configuration.course.id = :courseId\n \"\"\")\n int updateEditableSettings(@Param(\"courseId\") long courseId, @Param(\"gradeRelevant\") boolean gradeRelevant,\n @Param(\"presentationAssessmentsEnabled\") boolean presentationAssessmentsEnabled, @Param(\"autoOrchestratorEnabled\") boolean autoOrchestratorEnabled,\n @Param(\"debounceWindowSecondsOverride\") @Nullable Integer debounceWindowSecondsOverride,\n @Param(\"maxDailyOrchestrationOverride\") @Nullable Integer maxDailyOrchestrationOverride);\n\n /**\n * Changes the data-retention hold of a course in place.\n *\n * @param courseId the id of the course\n * @param dataRetentionHold whether the course is under a retention hold\n * @return the number of updated rows\n */\n @Modifying\n @Transactional // ok because of the update\n @Query(\"\"\"\n UPDATE CourseConfiguration configuration\n SET configuration.dataRetentionHold = :dataRetentionHold\n WHERE configuration.course.id = :courseId\n \"\"\")\n int updateDataRetentionHold(@Param(\"courseId\") long courseId, @Param(\"dataRetentionHold\") boolean dataRetentionHold);\n\n /**\n * Records that the instructors of a course were warned about the upcoming student-data reset. Only a course that has\n * neither been warned nor reset and is not under a retention hold is marked, so a hold or a reset that happened while\n * the archive was written is not overwritten.\n *\n * @param courseId the id of the course\n * @param warnedAt when the warning was sent\n * @return the number of updated rows: 1 if the course was marked, 0 if it left the cleanup in the meantime\n */\n @Modifying\n @Transactional // ok because of the update\n @Query(\"\"\"\n UPDATE CourseConfiguration configuration\n SET configuration.resetWarningSentDate = :warnedAt\n WHERE configuration.course.id = :courseId\n AND configuration.resetWarningSentDate IS NULL\n AND configuration.studentDataResetDate IS NULL\n AND configuration.dataRetentionHold = FALSE\n \"\"\")\n int markResetWarningSent(@Param(\"courseId\") long courseId, @Param(\"warnedAt\") ZonedDateTime warnedAt);\n\n /**\n * Records that the student data of a course was reset.\n *\n * @param courseId the id of the course\n * @param resetAt when the reset happened\n * @return the number of updated rows\n */\n @Modifying\n @Transactional // ok because of the update\n @Query(\"\"\"\n UPDATE CourseConfiguration configuration\n SET configuration.studentDataResetDate = :resetAt\n WHERE configuration.course.id = :courseId\n AND configuration.studentDataResetDate IS NULL\n \"\"\")\n int markStudentDataReset(@Param(\"courseId\") long courseId, @Param(\"resetAt\") ZonedDateTime resetAt);\n\n /**\n * Withdraws the reset warning of a course that has not been reset.\n *\n * @param courseId the id of the course\n * @return the number of updated rows\n */\n @Modifying\n @Transactional // ok because of the update\n @Query(\"\"\"\n UPDATE CourseConfiguration configuration\n SET configuration.resetWarningSentDate = NULL\n WHERE configuration.course.id = :courseId\n AND configuration.studentDataResetDate IS NULL\n \"\"\")\n int clearResetWarning(@Param(\"courseId\") long courseId);\n\n /**\n * Reads the configurations of several courses in one query.\n *\n * @param courseIds the ids of the courses\n * @return the configurations that exist; a course without one has no entry, and {@link CourseConfiguration#getCourseId()}\n * says which course each one belongs to\n */\n @Query(\"\"\"\n SELECT configuration\n FROM CourseConfiguration configuration\n WHERE configuration.course.id IN :courseIds\n \"\"\")\n List findAllByCourseIdIn(@Param(\"courseIds\") Collection courseIds);\n\n /**\n * Puts a course's configuration onto it, for a flow that reads or changes it through the course. A course without a\n * configuration is left empty, which reads as the defaults.\n *\n * @param course the course, may be null\n */\n default void attachTo(Course course) {\n if (course != null) {\n course.setCourseConfiguration(findByCourseId(course.getId()).orElse(null));\n }\n }\n\n /**\n * Puts the configurations of several courses onto them with one query per {@value #ATTACH_BATCH_SIZE} courses, so\n * that a cleanup that looks at many courses does not read one configuration per course.\n *\n * @param courses the courses to attach the configurations to\n */\n default void attachTo(Collection courses) {\n Map coursesById = new HashMap<>();\n courses.forEach(course -> coursesById.put(course.getId(), course));\n List courseIds = List.copyOf(coursesById.keySet());\n courses.forEach(course -> course.setCourseConfiguration(null));\n for (int from = 0; from < courseIds.size(); from += ATTACH_BATCH_SIZE) {\n List batch = courseIds.subList(from, Math.min(from + ATTACH_BATCH_SIZE, courseIds.size()));\n findAllByCourseIdIn(batch).forEach(configuration -> coursesById.get(configuration.getCourseId()).setCourseConfiguration(configuration));\n }\n }\n\n /** The number of courses whose configurations are read by one query when attaching them in bulk. */\n int ATTACH_BATCH_SIZE = 1000;\n\n /**\n * Reads the published learning guidance without loading other course settings.\n *\n * @param courseId the authorized course identifier\n * @return the stored learning guidance, if configured\n */\n @Query(\"SELECT c.studentWelcomeContext FROM CourseConfiguration c WHERE c.course.id = :courseId\")\n Optional findStudentWelcomeContextByCourseId(@Param(\"courseId\") long courseId);\n\n /**\n * Updates an explicitly supplied welcome context on the permanent configuration row.\n *\n * @param courseId the authorized course identifier\n * @param context the nullable instructor-authored learning guidance\n * @return the number of updated configuration rows\n */\n @Modifying\n @Transactional\n @Query(\"UPDATE CourseConfiguration c SET c.studentWelcomeContext = :context WHERE c.course.id = :courseId\")\n int updateStudentWelcomeContext(@Param(\"courseId\") long courseId, @Param(\"context\") @Nullable String context);\n\n /**\n * Changes who authors the first commit of the repositories of new programming exercises of a course.\n *\n * @param courseId the authorized course identifier\n * @param mode the mode\n * @param name the author name of the custom mode, null for every other mode\n * @param email the author email address of the custom mode, null for every other mode\n * @return the number of updated configuration rows\n */\n @Modifying\n @Transactional // ok because of the update\n @Query(\"\"\"\n UPDATE CourseConfiguration configuration\n SET configuration.initialCommitAuthorMode = :mode, configuration.initialCommitAuthorName = :name, configuration.initialCommitAuthorEmail = :email\n WHERE configuration.course.id = :courseId\n \"\"\")\n int updateInitialCommitAuthor(@Param(\"courseId\") long courseId, @Param(\"mode\") InitialCommitAuthorMode mode, @Param(\"name\") @Nullable String name,\n @Param(\"email\") @Nullable String email);\n\n /**\n * Reads who authors the first commit of the repositories of an exercise's course, for the exercise of a course as well as for an exam exercise.\n *\n * @param exerciseId the id of the exercise\n * @return the setting, or empty if the exercise has no course with a configuration\n */\n @Query(\"\"\"\n SELECT new de.tum.cit.aet.artemis.course.dto.InitialCommitAuthorDTO(configuration.initialCommitAuthorMode, configuration.initialCommitAuthorName,\n configuration.initialCommitAuthorEmail)\n FROM Exercise exercise\n LEFT JOIN exercise.course directCourse\n LEFT JOIN exercise.exerciseGroup examGroup\n LEFT JOIN examGroup.exam exam\n LEFT JOIN exam.course examCourse\n JOIN CourseConfiguration configuration ON configuration.course.id = COALESCE(directCourse.id, examCourse.id)\n WHERE exercise.id = :exerciseId\n \"\"\")\n Optional findInitialCommitAuthorByExerciseId(@Param(\"exerciseId\") long exerciseId);\n}\n" +} diff --git a/web/public/bundles/artemis/code/d665e05bbc929f1cc51334f46efdb3905cfeb9b2.json b/web/public/bundles/artemis/code/d665e05bbc929f1cc51334f46efdb3905cfeb9b2.json new file mode 100644 index 00000000..f6e9dc58 --- /dev/null +++ b/web/public/bundles/artemis/code/d665e05bbc929f1cc51334f46efdb3905cfeb9b2.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d665e05bbc929f1cc51334f46efdb3905cfeb9b2", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/web/ExerciseEditorSyncWebsocketController.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exercise.web;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\nimport static de.tum.cit.aet.artemis.core.config.websocket.GzipMessageConverter.COMPRESSION_HEADER_KEY;\nimport static de.tum.cit.aet.artemis.exercise.web.ExerciseWebsocketTopics.EDITOR_SYNCHRONIZATION;\n\nimport java.security.Principal;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.messaging.Message;\nimport org.springframework.messaging.handler.annotation.DestinationVariable;\nimport org.springframework.messaging.handler.annotation.MessageMapping;\nimport org.springframework.messaging.simp.SimpMessageHeaderAccessor;\nimport org.springframework.messaging.simp.SimpMessageType;\nimport org.springframework.messaging.simp.stomp.StompHeaderAccessor;\nimport org.springframework.messaging.simp.user.SimpSession;\nimport org.springframework.messaging.simp.user.SimpUser;\nimport org.springframework.messaging.simp.user.SimpUserRegistry;\nimport org.springframework.messaging.support.MessageBuilder;\nimport org.springframework.stereotype.Controller;\n\nimport de.tum.cit.aet.artemis.communication.service.WebsocketMessagingService;\n\n/**\n * Relays the synchronization events of collaborative exercise editing between the editors of an exercise.\n *

\n * An editor sends its changes to {@code /app/exercises/{exerciseId}/synchronization}, and this controller publishes their payload and compression header to\n * {@link ExerciseWebsocketTopics#EDITOR_SYNCHRONIZATION}. Clients never publish to the topic themselves.\n */\n@Profile(PROFILE_CORE)\n@Lazy\n@Controller\npublic class ExerciseEditorSyncWebsocketController {\n\n private static final Logger log = LoggerFactory.getLogger(ExerciseEditorSyncWebsocketController.class);\n\n private final WebsocketMessagingService websocketMessagingService;\n\n private final SimpUserRegistry simpUserRegistry;\n\n public ExerciseEditorSyncWebsocketController(WebsocketMessagingService websocketMessagingService, SimpUserRegistry simpUserRegistry) {\n this.websocketMessagingService = websocketMessagingService;\n this.simpUserRegistry = simpUserRegistry;\n }\n\n /**\n * Relays a synchronization event to the other editors of the exercise.\n *

\n * Only a session that is subscribed to the synchronization topic of the exercise may publish to it. Its subscription passed the access rule of the topic, so the check\n * needs no database access, although editors send an event for almost every keystroke. An event cannot overtake the subscription of its own session: the client\n * subscribes as soon as the connection is up and sends its queued events only afterwards, and the server registers a subscription in the user registry before it\n * reads the next frame of the same session.\n *\n * @param exerciseId the id of the exercise\n * @param message the event as sent by the client\n * @param principal the user who sends the event\n */\n @MessageMapping(\"/exercises/{exerciseId}/synchronization\")\n public void relaySynchronizationEvent(@DestinationVariable long exerciseId, Message message, Principal principal) {\n var destination = EDITOR_SYNCHRONIZATION.at(exerciseId);\n String sessionId = SimpMessageHeaderAccessor.getSessionId(message.getHeaders());\n if (principal == null || !isSubscribed(principal.getName(), sessionId, destination.value())) {\n log.debug(\"Dropped a synchronization event for exercise {} from a session that is not subscribed to its synchronization topic\", exerciseId);\n return;\n }\n var headers = SimpMessageHeaderAccessor.create(SimpMessageType.MESSAGE);\n String compressed = StompHeaderAccessor.wrap(message).getFirstNativeHeader(COMPRESSION_HEADER_KEY);\n if (compressed != null) {\n headers.setNativeHeader(COMPRESSION_HEADER_KEY, compressed);\n }\n headers.setLeaveMutable(true);\n websocketMessagingService.relayMessage(destination, MessageBuilder.createMessage(message.getPayload(), headers.getMessageHeaders()));\n }\n\n private boolean isSubscribed(String login, String sessionId, String destination) {\n SimpUser user = simpUserRegistry.getUser(login);\n SimpSession session = user != null && sessionId != null ? user.getSession(sessionId) : null;\n return session != null && session.getSubscriptions().stream().anyMatch(subscription -> destination.equals(subscription.getDestination()));\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/d666e889f03b29731320109a046cf2340be83025.json b/web/public/bundles/artemis/code/d666e889f03b29731320109a046cf2340be83025.json new file mode 100644 index 00000000..33b3715b --- /dev/null +++ b/web/public/bundles/artemis/code/d666e889f03b29731320109a046cf2340be83025.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d666e889f03b29731320109a046cf2340be83025", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/ide/UserIdeMapping.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.programming.domain.ide;\n\nimport java.io.Serializable;\nimport java.util.Objects;\n\nimport jakarta.persistence.Column;\nimport jakarta.persistence.Embeddable;\nimport jakarta.persistence.EmbeddedId;\nimport jakarta.persistence.Entity;\nimport jakarta.persistence.EnumType;\nimport jakarta.persistence.Enumerated;\nimport jakarta.persistence.FetchType;\nimport jakarta.persistence.JoinColumn;\nimport jakarta.persistence.ManyToOne;\nimport jakarta.persistence.MapsId;\nimport jakarta.persistence.Table;\n\nimport org.hibernate.annotations.OnDelete;\nimport org.hibernate.annotations.OnDeleteAction;\n\nimport com.fasterxml.jackson.annotation.JsonIgnore;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.core.domain.Parent;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingLanguage;\n\n@Entity\n@Table(name = \"user_ide_mapping\")\npublic class UserIdeMapping {\n\n @EmbeddedId\n private UserIdeMappingId id;\n\n @ManyToOne(fetch = FetchType.LAZY)\n @MapsId(\"userId\")\n @JsonIgnore\n @Parent\n private User user;\n\n @ManyToOne\n @OnDelete(action = OnDeleteAction.CASCADE)\n @JoinColumn(name = \"ide_id\", nullable = false)\n @Parent\n private Ide ide;\n\n public UserIdeMapping() {\n // empty constructor for Jackson\n // public for server tests\n }\n\n public UserIdeMapping(User user, ProgrammingLanguage programmingLanguage, Ide ide) {\n this.id = new UserIdeMappingId(user.getId(), programmingLanguage);\n this.user = user;\n this.ide = ide;\n }\n\n public void setId(UserIdeMappingId id) {\n this.id = id;\n }\n\n public void setIde(Ide ide) {\n this.ide = ide;\n }\n\n public UserIdeMappingId getId() {\n return id;\n }\n\n public User getUser() {\n return user;\n }\n\n public ProgrammingLanguage getProgrammingLanguage() {\n return id.programmingLanguage;\n }\n\n public Ide getIde() {\n return ide;\n }\n\n @Override\n public int hashCode() {\n return Objects.hash(id);\n }\n\n @Override\n public boolean equals(Object obj) {\n if (this == obj) {\n return true;\n }\n if (obj == null || getClass() != obj.getClass()) {\n return false;\n }\n UserIdeMapping that = (UserIdeMapping) obj;\n if (id == null) {\n return false;\n }\n\n return id.equals(that.getId());\n }\n\n @Embeddable\n public static class UserIdeMappingId implements Serializable {\n\n private Long userId;\n\n @Column(name = \"programming_language\", nullable = false)\n @Enumerated(EnumType.STRING)\n private ProgrammingLanguage programmingLanguage;\n\n public UserIdeMappingId() {\n // empty constructor for Jackson\n // public for server tests\n }\n\n public UserIdeMappingId(Long userId, ProgrammingLanguage programmingLanguage) {\n this.userId = userId;\n this.programmingLanguage = programmingLanguage;\n }\n\n public Long getUserId() {\n return userId;\n }\n\n public ProgrammingLanguage getProgrammingLanguage() {\n return programmingLanguage;\n }\n\n public void setProgrammingLanguage(ProgrammingLanguage programmingLanguage) {\n this.programmingLanguage = programmingLanguage;\n }\n\n public void setUserId(Long userId) {\n this.userId = userId;\n }\n\n @Override\n public int hashCode() {\n return Objects.hash(userId, programmingLanguage);\n }\n\n @Override\n public boolean equals(Object obj) {\n if (this == obj) {\n return true;\n }\n if (obj == null || getClass() != obj.getClass()) {\n return false;\n }\n\n UserIdeMappingId that = (UserIdeMappingId) obj;\n if (userId == null || programmingLanguage == null) {\n return false;\n }\n\n return userId.equals(that.userId) && programmingLanguage.equals(that.programmingLanguage);\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/d68ecbd6cbbbc4f9dfefa7cb118d354c0f8e5ee3.json b/web/public/bundles/artemis/code/d68ecbd6cbbbc4f9dfefa7cb118d354c0f8e5ee3.json new file mode 100644 index 00000000..cde7d5f5 --- /dev/null +++ b/web/public/bundles/artemis/code/d68ecbd6cbbbc4f9dfefa7cb118d354c0f8e5ee3.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d68ecbd6cbbbc4f9dfefa7cb118d354c0f8e5ee3", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/deimos/service/DeimosPromptTemplateService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.deimos.service;\n\nimport java.io.IOException;\nimport java.nio.charset.StandardCharsets;\nimport java.util.Map;\nimport java.util.concurrent.ConcurrentHashMap;\nimport java.util.regex.Matcher;\nimport java.util.regex.Pattern;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.core.io.ClassPathResource;\nimport org.springframework.stereotype.Service;\nimport org.springframework.util.StreamUtils;\n\nimport de.tum.cit.aet.artemis.core.exception.InternalServerErrorAlertException;\nimport de.tum.cit.aet.artemis.deimos.config.DeimosEnabled;\n\n@Conditional(DeimosEnabled.class)\n@Lazy\n@Service\npublic class DeimosPromptTemplateService {\n\n private static final Logger log = LoggerFactory.getLogger(DeimosPromptTemplateService.class);\n\n private static final Pattern PLACEHOLDER_PATTERN = Pattern.compile(\"\\\\{\\\\{([^}]+)}}\");\n\n private final ConcurrentHashMap templateCache = new ConcurrentHashMap<>();\n\n public String render(String resourcePath, Map variables) {\n String template = loadTemplate(resourcePath);\n return replacePlaceholders(template, variables, resourcePath);\n }\n\n private String loadTemplate(String resourcePath) {\n return templateCache.computeIfAbsent(resourcePath, path -> {\n try {\n var resource = new ClassPathResource(path);\n return StreamUtils.copyToString(resource.getInputStream(), StandardCharsets.UTF_8);\n }\n catch (IOException e) {\n log.error(\"Failed to load Deimos prompt template {}\", path, e);\n throw new InternalServerErrorAlertException(\"Failed to load prompt template\", \"Deimos\", \"deimos.templateLoadFailed\");\n }\n });\n }\n\n private static String replacePlaceholders(String template, Map variables, String resourcePath) {\n Matcher matcher = PLACEHOLDER_PATTERN.matcher(template);\n StringBuilder result = new StringBuilder();\n while (matcher.find()) {\n String key = matcher.group(1);\n String value = variables.get(key);\n if (value == null) {\n log.warn(\"Template placeholder '{{{}}}' has no matching variable in resource '{}'\", key, resourcePath);\n }\n matcher.appendReplacement(result, Matcher.quoteReplacement(value != null ? value : matcher.group(0)));\n }\n matcher.appendTail(result);\n return result.toString();\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/d6ca93fc1597983d86e2ea8ce59fa3281603b589.json b/web/public/bundles/artemis/code/d6ca93fc1597983d86e2ea8ce59fa3281603b589.json new file mode 100644 index 00000000..2427bfb0 --- /dev/null +++ b/web/public/bundles/artemis/code/d6ca93fc1597983d86e2ea8ce59fa3281603b589.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d6ca93fc1597983d86e2ea8ce59fa3281603b589", + "language": "typescript", + "path": "src/main/webapp/app/assessment/manage/grading/grading-key/grading-key-table.component.ts", + "schema": "codexray.code/1", + "text": "import { TumAetUiTableDirective } from '@tumaet/ui-angular/table-directive';\nimport { Component, OnInit, inject, input, model, signal } from '@angular/core';\nimport { GradingService } from 'app/assessment/manage/grading/grading-service';\nimport { GradeStep, GradeStepsDTO } from 'app/assessment/shared/entities/grade-step.model';\nimport { GradeType, GradingScale } from 'app/assessment/shared/entities/grading-scale.model';\nimport { faChevronLeft } from '@fortawesome/free-solid-svg-icons';\nimport { GradeEditMode } from 'app/assessment/manage/grading/grading.component';\nimport { BonusApi } from 'app/openapi/api/bonus-api';\nimport { toBonus } from 'app/assessment/shared/util/bonus-response.util';\nimport { map } from 'rxjs/operators';\nimport { Observable } from 'rxjs';\nimport { ScoreType } from 'app/foundation/constants/score-type.constants';\nimport { ActivatedRoute } from '@angular/router';\nimport { loadGradingKeyUrlParams } from 'app/assessment/manage/grading/grading-key-overview/grading-key-helper';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { GradeStepBoundsPipe } from 'app/foundation/pipes/grade-step-bounds.pipe';\nimport { SafeHtmlPipe } from 'app/foundation/pipes/safe-html.pipe';\nimport { HelpIconComponent } from 'app/shared-ui/components/help-icon/help-icon.component';\nimport { ScoresStorageService } from 'app/course/manage/course-scores/scores-storage.service';\n\n@Component({\n selector: 'jhi-grade-key-table',\n templateUrl: './grading-key-table.component.html',\n styleUrls: ['../grading-key-overview/grading-key-overview.css'],\n imports: [TranslateDirective, ArtemisTranslatePipe, GradeStepBoundsPipe, SafeHtmlPipe, HelpIconComponent, TumAetUiTableDirective],\n})\nexport class GradingKeyTableComponent implements OnInit {\n private route = inject(ActivatedRoute);\n private gradingService = inject(GradingService);\n private bonusApi = inject(BonusApi);\n private scoresStorageService = inject(ScoresStorageService);\n\n readonly purpose = input<'student' | 'management'>('student');\n\n readonly faChevronLeft = faChevronLeft;\n\n readonly GradeEditMode = GradeEditMode;\n\n studentGradeOrBonusPointsOrGradeBonus = model();\n forBonus = model();\n\n readonly plagiarismGrade = signal(undefined);\n readonly noParticipationGrade = signal(undefined);\n\n isExam = false;\n\n courseId?: number;\n examId?: number;\n\n readonly title = signal(undefined);\n readonly gradeSteps = signal([]);\n readonly isBonus = signal(false);\n\n readonly hasPointsSet = signal(false);\n\n ngOnInit(): void {\n const { courseId, examId, forBonus, isExam, studentGradeOrBonusPointsOrGradeBonus } = loadGradingKeyUrlParams(this.route);\n this.courseId = courseId;\n this.examId = examId;\n this.forBonus.set(this.forBonus() || forBonus);\n this.isExam = isExam;\n this.studentGradeOrBonusPointsOrGradeBonus.set(this.studentGradeOrBonusPointsOrGradeBonus() || studentGradeOrBonusPointsOrGradeBonus);\n\n this.findGradeSteps(this.courseId, this.examId).subscribe((gradeSteps) => {\n if (gradeSteps) {\n this.title.set(gradeSteps.title);\n this.isBonus.set(gradeSteps.gradeType === GradeType.BONUS);\n this.gradeSteps.set(this.gradingService.sortGradeSteps(gradeSteps.gradeSteps));\n this.plagiarismGrade.set(gradeSteps.plagiarismGrade);\n this.noParticipationGrade.set(gradeSteps.noParticipationGrade);\n if (gradeSteps.maxPoints !== undefined) {\n if (!this.isExam) {\n let maxPoints = 0;\n const totalScoresForCourse = this.scoresStorageService.getStoredTotalScores(this.courseId!);\n if (totalScoresForCourse) {\n maxPoints = totalScoresForCourse[ScoreType.REACHABLE_POINTS];\n }\n this.gradingService.setGradePoints(this.gradeSteps(), maxPoints);\n } else {\n // for exams the max points filed should equal the total max points (otherwise exams can't be started)\n this.gradingService.setGradePoints(this.gradeSteps(), gradeSteps.maxPoints);\n }\n }\n this.hasPointsSet.set(this.gradingService.hasPointsSet(this.gradeSteps()));\n } else {\n this.hasPointsSet.set(false);\n }\n });\n }\n\n private findGradeSteps(courseId: number, examId?: number): Observable {\n if (!this.forBonus()) {\n return this.gradingService.findGradeSteps(courseId, examId, this.purpose());\n } else {\n // examId must be present if forBonus is true.\n return this.bonusApi.getBonusForExam(courseId, examId!, true).pipe(\n map((bonusResponse) => {\n const source = toBonus(bonusResponse).sourceGradingScale;\n if (!source) {\n return undefined;\n }\n return {\n title: this.gradingService.getGradingScaleTitle(source)!,\n gradeType: source.gradeType,\n gradeSteps: source.gradeSteps,\n maxPoints: this.gradingService.getGradingScaleMaxPoints(source),\n plagiarismGrade: source.plagiarismGrade || GradingScale.DEFAULT_PLAGIARISM_GRADE,\n noParticipationGrade: source.noParticipationGrade || GradingScale.DEFAULT_NO_PARTICIPATION_GRADE,\n presentationsNumber: source.presentationsNumber,\n presentationsWeight: source.presentationsWeight,\n };\n }),\n );\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/d6cad4f8db1f5c917081250982aa3786e9b6328b.json b/web/public/bundles/artemis/code/d6cad4f8db1f5c917081250982aa3786e9b6328b.json new file mode 100644 index 00000000..82d5576d --- /dev/null +++ b/web/public/bundles/artemis/code/d6cad4f8db1f5c917081250982aa3786e9b6328b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d6cad4f8db1f5c917081250982aa3786e9b6328b", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/repository/LectureUnitCompletionRepository.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.lecture.repository;\n\nimport java.util.Collection;\nimport java.util.Optional;\nimport java.util.Set;\n\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.data.jpa.repository.Query;\nimport org.springframework.data.repository.query.Param;\nimport org.springframework.stereotype.Repository;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.core.repository.base.ArtemisJpaRepository;\nimport de.tum.cit.aet.artemis.lecture.config.LectureEnabled;\nimport de.tum.cit.aet.artemis.lecture.domain.LectureUnit;\nimport de.tum.cit.aet.artemis.lecture.domain.LectureUnitCompletion;\n\n@Conditional(LectureEnabled.class)\n@Lazy\n@Repository\npublic interface LectureUnitCompletionRepository extends ArtemisJpaRepository {\n\n @Query(\"\"\"\n SELECT lectureUnitCompletion\n FROM LectureUnitCompletion lectureUnitCompletion\n LEFT JOIN FETCH lectureUnitCompletion.user\n LEFT JOIN FETCH lectureUnitCompletion.lectureUnit\n WHERE lectureUnitCompletion.lectureUnit.id = :lectureUnitId\n AND lectureUnitCompletion.user.id = :userId\n \"\"\")\n Optional findByLectureUnitIdAndUserId(@Param(\"lectureUnitId\") Long lectureUnitId, @Param(\"userId\") Long userId);\n\n @Query(\"\"\"\n SELECT lectureUnitCompletion\n FROM LectureUnitCompletion lectureUnitCompletion\n LEFT JOIN FETCH lectureUnitCompletion.lectureUnit\n WHERE lectureUnitCompletion.lectureUnit IN :lectureUnits\n AND lectureUnitCompletion.user.id = :userId\n \"\"\")\n Set findByLectureUnitsAndUserId(@Param(\"lectureUnits\") Collection lectureUnits, @Param(\"userId\") Long userId);\n\n @Query(\"\"\"\n SELECT user\n FROM LectureUnitCompletion lectureUnitCompletion\n LEFT JOIN lectureUnitCompletion.user user\n WHERE lectureUnitCompletion.lectureUnit = :lectureUnit\n \"\"\")\n Set findCompletedUsersForLectureUnit(@Param(\"lectureUnit\") LectureUnit lectureUnit);\n}\n" +} diff --git a/web/public/bundles/artemis/code/d6d6b51bbe5edb789668779e6b9cfc08517a5a02.json b/web/public/bundles/artemis/code/d6d6b51bbe5edb789668779e6b9cfc08517a5a02.json new file mode 100644 index 00000000..1a57eb17 --- /dev/null +++ b/web/public/bundles/artemis/code/d6d6b51bbe5edb789668779e6b9cfc08517a5a02.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d6d6b51bbe5edb789668779e6b9cfc08517a5a02", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/buildagent/dto/BuildResult.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.buildagent.dto;\n\nimport java.io.Serializable;\nimport java.time.ZonedDateTime;\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.Objects;\n\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.programming.domain.build.BuildLogEntry;\nimport de.tum.cit.aet.artemis.programming.dto.BuildResultNotification;\nimport de.tum.cit.aet.artemis.programming.dto.StaticCodeAnalysisReportDTO;\n\n/**\n * Represents all the information returned by the local CI system about a build.\n * Note: due to limitations with inheritance, we cannot declare this as a record, but we can use it in a similar way with final fields.\n */\n\n// NOTE: this data structure is used in shared code between core and build agent nodes. Changing it requires that the shared data structures in Hazelcast (or potentially Redis)\n// in the future are migrated or cleared. Changes should be communicated in release notes as potentially breaking changes.\n@JsonIgnoreProperties(ignoreUnknown = true)\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record BuildResult(String assignmentRepoBranchName, String assignmentRepoCommitHash, String testsRepoCommitHash, boolean isBuildSuccessful, ZonedDateTime buildRunDate,\n List jobs, List buildLogEntries, List staticCodeAnalysisReports, boolean hasLogs, Integer buildScriptExitCode)\n implements BuildResultNotification, Serializable {\n\n public BuildResult {\n buildRunDate = Objects.requireNonNullElse(buildRunDate, ZonedDateTime.now());\n jobs = Objects.requireNonNullElse(jobs, new ArrayList<>());\n staticCodeAnalysisReports = Objects.requireNonNullElse(staticCodeAnalysisReports, new ArrayList<>());\n buildLogEntries = Objects.requireNonNullElse(buildLogEntries, new ArrayList<>());\n hasLogs = !buildLogEntries.isEmpty();\n }\n\n public BuildResult(String branch, String assignmentRepoCommitHash, String testsRepoCommitHash, List buildLogs, boolean isBuildSuccessful) {\n this(branch, assignmentRepoCommitHash, testsRepoCommitHash, isBuildSuccessful, null, null, buildLogs, null, buildLogs != null && !buildLogs.isEmpty(), null);\n }\n\n @Override\n public Double buildScore() {\n // the real score is calculated in the grading service\n return 0D;\n }\n\n /**\n * NOTE: Local CI does not support checking for artifacts as of now.\n *\n * @return will always return false because LocalCI does not support checking for artifacts.\n */\n @Override\n public boolean hasArtifact() {\n return false;\n }\n\n @Override\n public List extractBuildLogs() {\n // convert the buildLogEntry DTOs to BuildLogEntry objects\n return buildLogEntries.stream().map(log -> new BuildLogEntry(log.time(), log.log())).toList();\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/d6e8f3b0a1bf292848d9a9743ef408ed3a1ba53c.json b/web/public/bundles/artemis/code/d6e8f3b0a1bf292848d9a9743ef408ed3a1ba53c.json new file mode 100644 index 00000000..e3a3a950 --- /dev/null +++ b/web/public/bundles/artemis/code/d6e8f3b0a1bf292848d9a9743ef408ed3a1ba53c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d6e8f3b0a1bf292848d9a9743ef408ed3a1ba53c", + "language": "typescript", + "path": "src/main/webapp/app/quiz/overview/course-training/course-training.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, computed, effect, inject, signal } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { CourseTabRefreshService } from 'app/course/overview/services/course-tab-refresh.service';\nimport { ButtonComponent } from 'app/shared-ui/components/buttons/button/button.component';\nimport { takeUntilDestroyed, toSignal } from '@angular/core/rxjs-interop';\nimport { EMPTY, firstValueFrom } from 'rxjs';\nimport { QuizTrainingApi } from 'app/openapi/api/quiz-training-api';\nimport { LeaderboardEntry } from 'app/openapi/model/leaderboard-entry';\nimport { LeaderboardComponent } from 'app/quiz/overview/course-training/course-training-quiz/leaderboard/leaderboard.component';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { TumAetUiButtonDirective } from '@tumaet/ui-angular/button';\nimport { faCheck, faClock, faQuestion, faXmark } from '@fortawesome/free-solid-svg-icons';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\nimport { LeagueBadgeComponent } from 'app/quiz/overview/course-training/league-badge/league-badge.component';\nimport dayjs from 'dayjs/esm';\nimport { QuizTrainingDialogComponent } from 'app/quiz/overview/course-training/quiz-training-dialog.component';\nimport { onError } from 'app/foundation/util/global.utils';\nimport { AlertService } from 'app/foundation/service/alert.service';\nimport { CourseTitleBarActionsDirective } from 'app/course/shared/directives/course-title-bar-actions.directive';\n\n@Component({\n selector: 'jhi-course-training',\n imports: [\n CourseTitleBarActionsDirective,\n ButtonComponent,\n LeaderboardComponent,\n TranslateDirective,\n FontAwesomeModule,\n LeagueBadgeComponent,\n TumAetUiButtonDirective,\n QuizTrainingDialogComponent,\n ],\n templateUrl: './course-training.component.html',\n styleUrl: './course-training.component.css',\n})\nexport class CourseTrainingComponent {\n private readonly router = inject(Router);\n private readonly route = inject(ActivatedRoute);\n private readonly courseTabRefreshService = inject(CourseTabRefreshService);\n private readonly quizTrainingApi = inject(QuizTrainingApi);\n private readonly alertService = inject(AlertService);\n\n protected readonly faClock = faClock;\n protected readonly faQuestion = faQuestion;\n protected readonly faXmark = faXmark;\n protected readonly faCheck = faCheck;\n\n protected readonly pointsBronzeLeague = 50;\n protected readonly pointsSilverLeague = 150;\n protected readonly pointsGoldLeague = 300;\n protected readonly pointsDiamondLeague = 500;\n\n paramsSignal = toSignal(this.route.parent?.params ?? EMPTY);\n courseId = computed(() => this.paramsSignal()?.['courseId']);\n isFirstVisit = signal(true);\n leaderboardEntries = signal([]);\n currentUserEntry = signal(undefined);\n isLoading = signal(false);\n isDataLoaded = signal(false);\n currentTime = signal('');\n initialShowInLeaderboard = signal(true);\n\n showDialog = true;\n showInLeaderboard = true;\n displayInfoDialog = false;\n\n league = computed(() => {\n const entry = this.currentUserEntry();\n const league = entry?.selectedLeague ?? 0;\n if (league === 1) {\n return 'Master';\n }\n if (league === 2) {\n return 'Diamond';\n }\n if (league === 3) {\n return 'Gold';\n }\n if (league === 4) {\n return 'Silver';\n }\n if (league === 5) {\n return 'Bronze';\n } else {\n return 'No League';\n }\n });\n\n leaderboardName = computed(() => {\n const entry = this.currentUserEntry();\n return entry?.userName ?? '';\n });\n\n points = computed(() => {\n const entry = this.currentUserEntry();\n return entry?.score ?? 0;\n });\n\n dueDate = computed(() => {\n const entry = this.currentUserEntry();\n return entry?.dueDate ? dayjs(entry.dueDate) : undefined;\n });\n\n dueIn = computed(() => {\n const dueDateDayjs = this.dueDate();\n if (!dueDateDayjs) {\n return { isValid: false, isPast: false, days: 0, hours: 0, minutes: 0 };\n }\n\n const now = dayjs(this.currentTime());\n\n if (now.isAfter(dueDateDayjs)) {\n return { isValid: true, isPast: true, days: 0, hours: 0, minutes: 0 };\n }\n\n const diffDays = dueDateDayjs.diff(now, 'day');\n const diffHours = dueDateDayjs.diff(now, 'hour') % 24;\n const diffMinutes = dueDateDayjs.diff(now, 'minute') % 60;\n\n if (diffDays === 0 && diffHours === 0 && diffMinutes === 0) {\n const diffSeconds = dueDateDayjs.diff(now, 'second');\n if (diffSeconds < 60) {\n return { isValid: true, isPast: true, days: 0, hours: 0, minutes: 0 };\n }\n }\n\n return {\n isValid: true,\n isPast: false,\n days: diffDays,\n hours: diffHours,\n minutes: diffMinutes,\n };\n });\n\n totalQuestions = computed(() => {\n const entry = this.currentUserEntry();\n return entry?.totalQuestions ?? 0;\n });\n\n correctQuestions = computed(() => {\n const entry = this.currentUserEntry();\n return entry?.answeredCorrectly ?? 0;\n });\n\n wrongQuestions = computed(() => {\n const entry = this.currentUserEntry();\n return entry?.answeredWrong ?? 0;\n });\n\n constructor() {\n // Selecting this tab while already on it acts as a refresh\n this.courseTabRefreshService\n .reselections(this.route)\n .pipe(takeUntilDestroyed())\n .subscribe(() => void this.loadLeaderboard(Number(this.courseId())));\n\n effect(() => {\n const id = this.courseId();\n if (id) {\n void this.loadLeaderboard(Number(id));\n }\n });\n }\n\n async loadLeaderboard(courseId: number): Promise {\n this.isLoading.set(true);\n try {\n const leaderboard = await firstValueFrom(this.quizTrainingApi.getQuizTrainingLeaderboard(courseId));\n this.leaderboardEntries.set(leaderboard.leaderboardEntries);\n this.currentUserEntry.set(leaderboard.currentUserEntry);\n this.currentTime.set(leaderboard.currentTime);\n this.isLoading.set(false);\n this.isDataLoaded.set(true);\n\n if (leaderboard.hasUserSetSettings) {\n this.showDialog = false;\n this.isFirstVisit.set(false);\n }\n } catch (error) {\n onError(this.alertService, error);\n this.isLoading.set(false);\n }\n }\n\n public navigateToTraining(): void {\n const courseId = this.courseId();\n if (courseId !== undefined) {\n void this.router.navigate(['courses', courseId, 'training', 'quiz']);\n }\n }\n\n async onSaveDialog(): Promise {\n this.isLoading.set(true);\n try {\n await firstValueFrom(this.quizTrainingApi.updateLeaderboardSettings({ showInLeaderboard: this.showInLeaderboard }));\n this.isFirstVisit.set(false);\n this.isLoading.set(false);\n const courseId = this.courseId();\n if (courseId !== undefined) {\n void this.loadLeaderboard(courseId);\n }\n } catch (error) {\n onError(this.alertService, error);\n this.isLoading.set(false);\n }\n }\n\n async showInfoDialog(): Promise {\n try {\n const settings = await firstValueFrom(this.quizTrainingApi.getLeaderboardSettings());\n if (settings) {\n this.showInLeaderboard = settings.showInLeaderboard ?? true;\n this.initialShowInLeaderboard.set(settings.showInLeaderboard ?? true);\n }\n this.isLoading.set(false);\n this.displayInfoDialog = true;\n } catch (error) {\n onError(this.alertService, error);\n this.isLoading.set(false);\n }\n }\n\n async onSaveInfoDialog(): Promise {\n try {\n await firstValueFrom(this.quizTrainingApi.updateLeaderboardSettings({ showInLeaderboard: this.showInLeaderboard }));\n this.initialShowInLeaderboard.set(this.showInLeaderboard);\n this.displayInfoDialog = false;\n const courseId = this.courseId();\n if (courseId !== undefined) {\n void this.loadLeaderboard(courseId);\n }\n this.isLoading.set(false);\n } catch (error) {\n onError(this.alertService, error);\n this.isLoading.set(false);\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/d7d2632632c837092756a8f2b0aeade12187d05d.json b/web/public/bundles/artemis/code/d7d2632632c837092756a8f2b0aeade12187d05d.json new file mode 100644 index 00000000..863ea951 --- /dev/null +++ b/web/public/bundles/artemis/code/d7d2632632c837092756a8f2b0aeade12187d05d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d7d2632632c837092756a8f2b0aeade12187d05d", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExamUserDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exam.dto;\n\nimport jakarta.validation.constraints.Email;\nimport jakarta.validation.constraints.Size;\n\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\n\n/**\n * Contains the information about an exam user\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\n// @formatter:off\npublic record ExamUserDTO(\n @Size(max = 50) String login,\n @Size(max = 50) String firstName,\n @Size(max = 50) String lastName,\n @Size(max = 10) String registrationNumber,\n @Email @Size(max = 100) String email,\n String studentIdentifier,\n String room,\n String seat,\n boolean didCheckImage,\n boolean didCheckName,\n boolean didCheckRegistrationNumber,\n boolean didCheckLogin,\n @Size(max = 100) String signingImagePath,\n // TODO: Remove everything below here when no longer supporting Exam Checker app version 2.0\n @Nullable Long id,\n @Nullable String actualRoom,\n @Nullable String actualSeat,\n @Nullable String plannedRoom,\n @Nullable String plannedSeat,\n @Nullable String studentImagePath,\n @Nullable ExamUserDetailsDTO user\n) {\n // TODO: Remove this DTO when no longer supporting Exam Checker app version 2.0\n /**\n * Contains the details about an exam user\n */\n @JsonInclude(JsonInclude.Include.NON_EMPTY)\n public record ExamUserDetailsDTO(\n @Size(max = 50) String login,\n @Size(max = 50) String name,\n @Nullable @Size(max = 10) String visibleRegistrationNumber,\n Long id\n ) {\n public static ExamUserDetailsDTO fromUser(User user) {\n return new ExamUserDetailsDTO(user.getLogin(), user.getName(), user.getVisibleRegistrationNumber(), user.getId());\n }\n }\n}\n// @formatter:on\n" +} diff --git a/web/public/bundles/artemis/code/d7dc3021bd3ea1efc18d8c0d0bd487cc4760d3ae.json b/web/public/bundles/artemis/code/d7dc3021bd3ea1efc18d8c0d0bd487cc4760d3ae.json new file mode 100644 index 00000000..92db18f3 --- /dev/null +++ b/web/public/bundles/artemis/code/d7dc3021bd3ea1efc18d8c0d0bd487cc4760d3ae.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d7dc3021bd3ea1efc18d8c0d0bd487cc4760d3ae", + "language": "typescript", + "path": "src/main/webapp/app/admin/system-notification-management/system-notification.model.ts", + "schema": "codexray.code/1", + "text": "import dayjs from 'dayjs/esm';\nimport { User } from 'app/account/user/user.model';\n\nexport const enum SystemNotificationType {\n WARNING = 'WARNING',\n INFO = 'INFO',\n}\n\nexport class SystemNotification {\n public id?: number;\n public title?: string;\n public text?: string;\n public notificationDate?: dayjs.Dayjs;\n public author?: User;\n public expireDate?: dayjs.Dayjs;\n public type?: SystemNotificationType;\n}\n" +} diff --git a/web/public/bundles/artemis/code/d7ea12ff802f1bb64733e825cc90b8a80beeafc8.json b/web/public/bundles/artemis/code/d7ea12ff802f1bb64733e825cc90b8a80beeafc8.json new file mode 100644 index 00000000..fb3fb61a --- /dev/null +++ b/web/public/bundles/artemis/code/d7ea12ff802f1bb64733e825cc90b8a80beeafc8.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d7ea12ff802f1bb64733e825cc90b8a80beeafc8", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/domain/DragAndDropCorrectMapping.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.quiz.domain;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\nimport com.fasterxml.jackson.annotation.JsonProperty;\n\nimport de.tum.cit.aet.artemis.core.domain.DomainObject;\n\n/**\n * The normalized, persisted form of a correct drag-and-drop mapping: it states that the drag item with id {@link #dragItemId} is a correct answer for the drop location with id\n * {@link #dropLocationId}. Stored inside {@link DragAndDropQuestionContent#getCorrectMappings()} in the {@code quiz_question.content} JSON column.\n *

\n * This is an internal storage type (never serialized to the client directly). The object-based {@link DragAndDropMapping} is the wire/in-memory representation;\n * {@link DragAndDropQuestion#getCorrectMappings()} / {@code setCorrectMappings(...)} convert between the two, resolving ids against the question's drag items and drop locations.\n *

\n * It extends {@link DomainObject} to reuse the {@code id} field (the question-scoped mapping id, used by re-evaluation to match mappings across an edit) and its id-based\n * {@code equals}/{@code hashCode}; the inherited JPA annotations are inert because this is a plain JSON-embedded POJO, not an {@code @Entity}.\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic class DragAndDropCorrectMapping extends DomainObject {\n\n @JsonProperty(\"dragItemId\")\n private Long dragItemId;\n\n @JsonProperty(\"dropLocationId\")\n private Long dropLocationId;\n\n @JsonProperty(\"invalid\")\n private Boolean invalid;\n\n public DragAndDropCorrectMapping() {\n }\n\n public DragAndDropCorrectMapping(Long id, Long dragItemId, Long dropLocationId, Boolean invalid) {\n setId(id);\n this.dragItemId = dragItemId;\n this.dropLocationId = dropLocationId;\n this.invalid = invalid;\n }\n\n public Long getDragItemId() {\n return dragItemId;\n }\n\n public void setDragItemId(Long dragItemId) {\n this.dragItemId = dragItemId;\n }\n\n public Long getDropLocationId() {\n return dropLocationId;\n }\n\n public void setDropLocationId(Long dropLocationId) {\n this.dropLocationId = dropLocationId;\n }\n\n public Boolean isInvalid() {\n return invalid != null && invalid;\n }\n\n public void setInvalid(Boolean invalid) {\n this.invalid = invalid;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/d82a93ffee10eb294a281e19f98201833297227e.json b/web/public/bundles/artemis/code/d82a93ffee10eb294a281e19f98201833297227e.json new file mode 100644 index 00000000..50061045 --- /dev/null +++ b/web/public/bundles/artemis/code/d82a93ffee10eb294a281e19f98201833297227e.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d82a93ffee10eb294a281e19f98201833297227e", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/domain/profile/LearnerProfile.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.atlas.domain.profile;\n\nimport java.util.Collection;\nimport java.util.HashSet;\nimport java.util.Set;\n\nimport jakarta.persistence.CascadeType;\nimport jakarta.persistence.Column;\nimport jakarta.persistence.Entity;\nimport jakarta.persistence.FetchType;\nimport jakarta.persistence.JoinColumn;\nimport jakarta.persistence.OneToMany;\nimport jakarta.persistence.OneToOne;\nimport jakarta.persistence.Table;\nimport jakarta.validation.constraints.Max;\nimport jakarta.validation.constraints.Min;\n\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.core.domain.DomainObject;\nimport de.tum.cit.aet.artemis.core.domain.Parent;\n\n@Entity\n@Table(name = \"learner_profile\")\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic class LearnerProfile extends DomainObject {\n\n public static final String ENTITY_NAME = \"learnerProfile\";\n\n /**\n * Minimum value allowed for profile fields.\n */\n public static final int MIN_PROFILE_VALUE = 1;\n\n /**\n * Default value for profile fields representing values representing neutral.\n */\n public static final int DEFAULT_PROFILE_VALUE = 2;\n\n /**\n * Maximum value allowed for profile fields.\n */\n public static final int MAX_PROFILE_VALUE = 3;\n\n /**\n * The account the profile describes. The key lives here rather than on the account so that a profile cannot\n * outlive it: a profile nothing points at holds per-course preferences for a named person and is reachable from\n * nowhere, which puts it outside account deletion and the data privacy cleanup alike.\n */\n @JsonIgnoreProperties(\"learnerProfile\")\n @OneToOne(fetch = FetchType.LAZY, optional = false)\n @JoinColumn(name = \"user_id\", nullable = false, unique = true)\n @Parent\n private User user;\n\n @OneToMany(mappedBy = \"learnerProfile\", cascade = CascadeType.ALL, orphanRemoval = true, fetch = FetchType.LAZY)\n @JsonIgnoreProperties(\"learnerProfile\")\n private Set courseLearnerProfiles = new HashSet<>();\n\n @Column(name = \"feedback_detail\")\n @Min(MIN_PROFILE_VALUE)\n @Max(MAX_PROFILE_VALUE)\n private int feedbackDetail = DEFAULT_PROFILE_VALUE;\n\n @Column(name = \"feedback_formality\")\n @Min(MIN_PROFILE_VALUE)\n @Max(MAX_PROFILE_VALUE)\n private int feedbackFormality = DEFAULT_PROFILE_VALUE;\n\n @Column(name = \"has_setup_feedback_preferences\")\n private boolean hasSetupFeedbackPreferences = false;\n\n public void setUser(User user) {\n this.user = user;\n }\n\n public User getUser() {\n return this.user;\n }\n\n public void setCourseLearnerProfiles(Set courseLearnerProfiles) {\n this.courseLearnerProfiles = courseLearnerProfiles;\n }\n\n public Set getCourseLearnerProfiles() {\n return this.courseLearnerProfiles;\n }\n\n public boolean addCourseLearnerProfile(CourseLearnerProfile courseLearnerProfile) {\n return this.courseLearnerProfiles.add(courseLearnerProfile);\n }\n\n public boolean addAllCourseLearnerProfiles(Collection courseLearnerProfiles) {\n return this.courseLearnerProfiles.addAll(courseLearnerProfiles);\n }\n\n public boolean removeCourseLearnerProfile(CourseLearnerProfile courseLearnerProfile) {\n return this.courseLearnerProfiles.remove(courseLearnerProfile);\n }\n\n public int getFeedbackDetail() {\n return feedbackDetail;\n }\n\n public void setFeedbackDetail(int feedbackDetail) {\n this.feedbackDetail = feedbackDetail;\n }\n\n public int getFeedbackFormality() {\n return feedbackFormality;\n }\n\n public void setFeedbackFormality(int feedbackFormality) {\n this.feedbackFormality = feedbackFormality;\n }\n\n public boolean hasSetupFeedbackPreferences() {\n return hasSetupFeedbackPreferences;\n }\n\n public void setHasSetupFeedbackPreferences(boolean hasSetupFeedbackPreferences) {\n this.hasSetupFeedbackPreferences = hasSetupFeedbackPreferences;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/d96e4f95536aa3bc05a7a9b00cca2c1705497cb5.json b/web/public/bundles/artemis/code/d96e4f95536aa3bc05a7a9b00cca2c1705497cb5.json new file mode 100644 index 00000000..15793d23 --- /dev/null +++ b/web/public/bundles/artemis/code/d96e4f95536aa3bc05a7a9b00cca2c1705497cb5.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d96e4f95536aa3bc05a7a9b00cca2c1705497cb5", + "language": "typescript", + "path": "src/main/webapp/app/presentation/manage/presentation-assessment-instance-details.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, input } from '@angular/core';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { PresentationAssessment, PresentationAssessmentInstance, PresentationAssessmentMode } from 'app/presentation/shared/entities/presentation-assessment.model';\n\n/** Shows how and where a student presents. Given a presentation, its description and exercise are listed first. */\n@Component({\n selector: 'jhi-presentation-assessment-instance-details',\n templateUrl: './presentation-assessment-instance-details.component.html',\n imports: [TranslateDirective, ArtemisTranslatePipe],\n})\nexport class PresentationAssessmentInstanceDetailsComponent {\n protected readonly PresentationAssessmentMode = PresentationAssessmentMode;\n\n readonly instance = input.required();\n readonly presentationAssessment = input();\n}\n" +} diff --git a/web/public/bundles/artemis/code/d973789ecec643cb48eb2b65a044a08300bf26b7.json b/web/public/bundles/artemis/code/d973789ecec643cb48eb2b65a044a08300bf26b7.json new file mode 100644 index 00000000..bef928ea --- /dev/null +++ b/web/public/bundles/artemis/code/d973789ecec643cb48eb2b65a044a08300bf26b7.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d973789ecec643cb48eb2b65a044a08300bf26b7", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/repository/CompetencyProgressRepository.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.atlas.repository;\n\nimport java.time.Instant;\nimport java.util.Collection;\nimport java.util.List;\nimport java.util.Optional;\nimport java.util.Set;\n\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.data.jpa.repository.Modifying;\nimport org.springframework.data.jpa.repository.Query;\nimport org.springframework.data.repository.query.Param;\nimport org.springframework.stereotype.Repository;\nimport org.springframework.transaction.annotation.Transactional;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.atlas.config.AtlasEnabled;\nimport de.tum.cit.aet.artemis.atlas.domain.CompetencyProgressConfidenceReason;\nimport de.tum.cit.aet.artemis.atlas.domain.competency.CompetencyProgress;\nimport de.tum.cit.aet.artemis.atlas.domain.competency.CourseCompetency;\nimport de.tum.cit.aet.artemis.atlas.dto.export.CompetencyProgressExportDTO;\nimport de.tum.cit.aet.artemis.atlas.dto.export.UserCompetencyProgressExportDTO;\nimport de.tum.cit.aet.artemis.core.repository.base.ArtemisJpaRepository;\n\n@Conditional(AtlasEnabled.class)\n@Lazy\n@Repository\npublic interface CompetencyProgressRepository extends ArtemisJpaRepository {\n\n @Transactional // ok because of delete\n @Modifying\n @Query(\"\"\"\n DELETE FROM CompetencyProgress cp\n WHERE cp.competency.id = :competencyId\n \"\"\")\n void deleteAllByCompetencyId(@Param(\"competencyId\") long competencyId);\n\n List findAllByCompetencyId(long competencyId);\n\n @Query(\"\"\"\n SELECT cp\n FROM CompetencyProgress cp\n WHERE cp.competency.id = :competencyId\n AND cp.user.id = :userId\n \"\"\")\n Optional findByCompetencyIdAndUserId(@Param(\"competencyId\") long competencyId, @Param(\"userId\") long userId);\n\n /**\n * Idempotently re-applies a freshly computed progress/confidence onto an existing competency-progress row.\n *

\n * Used on the rare concurrency-conflict reconciliation path in\n * {@link de.tum.cit.aet.artemis.atlas.service.competency.CompetencyProgressService#updateCompetencyProgress}:\n * a single targeted UPDATE that touches the existing (competency, user) row, or affects zero rows if it was\n * concurrently deleted. Unlike a merge/save on a detached entity, it can therefore never resurrect a deleted row.\n *\n * @param competencyId the id of the competency\n * @param userId the id of the user\n * @param progress the recomputed progress value\n * @param confidence the recomputed confidence score\n * @param confidenceReason the recomputed confidence reason\n * @param lastModifiedDate the modification timestamp to record (the bulk UPDATE bypasses {@code @LastModifiedDate}\n * auditing, so it is passed explicitly; an {@link Instant} parameter avoids the\n * {@code CURRENT_TIMESTAMP}-to-{@code Instant} type mismatch and stays DB-portable)\n * @return the number of rows updated (0 if the row no longer exists)\n */\n @Transactional // ok: a single targeted, idempotent UPDATE on the concurrency-conflict reconciliation path\n @Modifying\n @Query(\"\"\"\n UPDATE CompetencyProgress cp\n SET cp.progress = :progress, cp.confidence = :confidence, cp.confidenceReason = :confidenceReason, cp.lastModifiedDate = :lastModifiedDate\n WHERE cp.competency.id = :competencyId\n AND cp.user.id = :userId\n \"\"\")\n int updateProgressAndConfidence(@Param(\"competencyId\") long competencyId, @Param(\"userId\") long userId, @Param(\"progress\") Double progress,\n @Param(\"confidence\") Double confidence, @Param(\"confidenceReason\") CompetencyProgressConfidenceReason confidenceReason,\n @Param(\"lastModifiedDate\") Instant lastModifiedDate);\n\n @Query(\"\"\"\n SELECT cp\n FROM CompetencyProgress cp\n LEFT JOIN cp.competency\n WHERE cp.competency IN :competencies\n AND cp.user.id = :userId\n \"\"\")\n Set findByCompetenciesAndUser(@Param(\"competencies\") Collection competencies, @Param(\"userId\") long userId);\n\n @Query(\"\"\"\n SELECT cp\n FROM CompetencyProgress cp\n LEFT JOIN FETCH cp.user\n LEFT JOIN FETCH cp.competency\n WHERE cp.competency.id = :competencyId\n AND cp.user.id = :userId\n \"\"\")\n Optional findEagerByCompetencyIdAndUserId(@Param(\"competencyId\") long competencyId, @Param(\"userId\") long userId);\n\n @Query(\"\"\"\n SELECT cp\n FROM CompetencyProgress cp\n WHERE cp.competency.id IN :competencyIds\n AND cp.user.id = :userId\n \"\"\")\n Set findAllByCompetencyIdsAndUserId(@Param(\"competencyIds\") Set competencyIds, @Param(\"userId\") long userId);\n\n @Query(\"\"\"\n SELECT COUNT(cp)\n FROM CompetencyProgress cp\n WHERE cp.competency.id = :competencyId\n \"\"\")\n long countByCompetency(@Param(\"competencyId\") long competencyId);\n\n @Query(\"\"\"\n SELECT COUNT(cp)\n FROM CompetencyProgress cp\n WHERE cp.competency.id = :competencyId\n AND cp.progress * cp.confidence >= :masteryThreshold\n \"\"\")\n long countByCompetencyAndMastered(@Param(\"competencyId\") long competencyId, @Param(\"masteryThreshold\") int masteryThreshold);\n\n @Query(\"\"\"\n SELECT cp\n FROM CourseCompetency c\n LEFT JOIN CompetencyRelation cr ON cr.tailCompetency = c\n LEFT JOIN CourseCompetency priorC ON priorC = cr.headCompetency\n LEFT JOIN FETCH CompetencyProgress cp ON cp.competency = priorC\n WHERE cr.type <> de.tum.cit.aet.artemis.atlas.domain.competency.RelationType.MATCHES\n AND cp.user = :user\n AND c = :competency\n \"\"\")\n Set findAllPriorByCompetencyId(@Param(\"competency\") CourseCompetency competency, @Param(\"user\") User userId);\n\n @Query(\"\"\"\n SELECT COALESCE(GREATEST(0.0, LEAST(1.0, AVG(cp.progress * cp.confidence / com.masteryThreshold))), 0.0)\n FROM CompetencyProgress cp\n LEFT JOIN cp.competency com\n LEFT JOIN com.course c\n LEFT JOIN cp.user u\n WHERE com.id = :competencyId\n AND cp.progress > 0\n AND EXISTS (SELECT ucr FROM UserCourseRole ucr WHERE ucr.user.id = u.id AND ucr.course.id = c.id AND ucr.role = de.tum.cit.aet.artemis.core.domain.CourseRole.STUDENT)\n \"\"\")\n double findAverageOfAllNonZeroStudentProgressByCompetencyId(@Param(\"competencyId\") long competencyId);\n\n /**\n * Find all competency progress records for a course for export.\n *\n * @param courseId the id of the course\n * @return list of competency progress export DTOs\n */\n @Query(\"\"\"\n SELECT new de.tum.cit.aet.artemis.atlas.dto.export.CompetencyProgressExportDTO(\n cp.competency.id, cp.competency.title, cp.user.login, cp.progress, cp.confidence, cp.lastModifiedDate)\n FROM CompetencyProgress cp\n WHERE cp.competency.course.id = :courseId\n \"\"\")\n List findAllForExportByCourseId(@Param(\"courseId\") long courseId);\n\n /**\n * Count the number of competency progress records for a course.\n *\n * @param courseId the id of the course\n * @return the count of progress records\n */\n @Query(\"\"\"\n SELECT COUNT(cp)\n FROM CompetencyProgress cp\n WHERE cp.competency.course.id = :courseId\n \"\"\")\n long countByCourseId(@Param(\"courseId\") long courseId);\n\n /**\n * Find all competency progress records for a user for GDPR data export.\n *\n * @param userId the id of the user\n * @return list of user competency progress export DTOs with course information\n */\n @Query(\"\"\"\n SELECT new de.tum.cit.aet.artemis.atlas.dto.export.UserCompetencyProgressExportDTO(\n cp.competency.course.id, cp.competency.course.title, cp.competency.id, cp.competency.title,\n cp.progress, cp.confidence, cp.lastModifiedDate)\n FROM CompetencyProgress cp\n WHERE cp.user.id = :userId\n ORDER BY cp.competency.course.title, cp.competency.title\n \"\"\")\n List findAllForExportByUserId(@Param(\"userId\") long userId);\n}\n" +} diff --git a/web/public/bundles/artemis/code/d9aadf3120a26cde141258b9fd2c5bfb57f2e8f6.json b/web/public/bundles/artemis/code/d9aadf3120a26cde141258b9fd2c5bfb57f2e8f6.json new file mode 100644 index 00000000..a4294300 --- /dev/null +++ b/web/public/bundles/artemis/code/d9aadf3120a26cde141258b9fd2c5bfb57f2e8f6.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d9aadf3120a26cde141258b9fd2c5bfb57f2e8f6", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/dto/AttachmentForCompetencyDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.atlas.dto;\n\nimport java.time.ZonedDateTime;\n\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.lecture.domain.Attachment;\nimport de.tum.cit.aet.artemis.lecture.domain.AttachmentType;\n\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record AttachmentForCompetencyDTO(Long id, String name, String link, @Nullable ZonedDateTime releaseDate, @Nullable ZonedDateTime uploadDate, @Nullable Integer version,\n @Nullable AttachmentType attachmentType, @Nullable String studentVersion) {\n\n /**\n * Maps an attachment to a competency attachment DTO.\n *\n * @param attachment the attachment to map\n * @return the DTO or null if the attachment is null\n */\n @Nullable\n public static AttachmentForCompetencyDTO of(@Nullable Attachment attachment) {\n if (attachment == null) {\n return null;\n }\n return new AttachmentForCompetencyDTO(attachment.getId(), attachment.getName(), attachment.getLink(), attachment.getReleaseDate(), attachment.getUploadDate(),\n attachment.getVersion(), attachment.getAttachmentType(), attachment.getStudentVersion());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/d9ae5576c374517b1a0e89bde305d9f02b07f270.json b/web/public/bundles/artemis/code/d9ae5576c374517b1a0e89bde305d9f02b07f270.json new file mode 100644 index 00000000..823cb4b9 --- /dev/null +++ b/web/public/bundles/artemis/code/d9ae5576c374517b1a0e89bde305d9f02b07f270.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d9ae5576c374517b1a0e89bde305d9f02b07f270", + "language": "typescript", + "path": "src/main/webapp/app/hyperion/quiz/quiz-ai-generation-modal/quiz-ai-generation.types.ts", + "schema": "codexray.code/1", + "text": "import { MultipleChoiceQuestion } from 'app/quiz/shared/entities/multiple-choice-question.model';\nimport { QuizQuestionRefinementSuccess } from 'app/openapi/model/quiz-question-refinement-success';\n\nexport type GenerationLanguage = 'en' | 'de';\n\nexport type GeneratedQuestionType = 'single-choice' | 'multiple-choice' | 'true-false';\n\n/** A successful refinement response, narrowed to guarantee the refined question payload is present. */\nexport type SuccessfulRefinementResponse = QuizQuestionRefinementSuccess & { question: Omit };\n\nexport interface QuizQuestionRefinementResult {\n refinedQuestion: MultipleChoiceQuestion;\n reasoning: string;\n previousQuestion: MultipleChoiceQuestion;\n}\n\nexport interface QuizQuestionBulkRefinementResult {\n results: Map;\n previousSnapshots: Map;\n}\n\nexport interface GeneratedOption {\n text: string;\n correct: boolean;\n hint?: string;\n explanation?: string;\n}\n\nexport interface GeneratedQuestion {\n id: string;\n type: GeneratedQuestionType;\n title: string;\n questionText: string;\n options: GeneratedOption[];\n hint?: string;\n explanation?: string;\n}\n" +} diff --git a/web/public/bundles/artemis/code/d9d4e766faaf0e4184269dd899bb61488706e63c.json b/web/public/bundles/artemis/code/d9d4e766faaf0e4184269dd899bb61488706e63c.json new file mode 100644 index 00000000..fadd15d0 --- /dev/null +++ b/web/public/bundles/artemis/code/d9d4e766faaf0e4184269dd899bb61488706e63c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d9d4e766faaf0e4184269dd899bb61488706e63c", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/ProgrammingExerciseExamGroupDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.programming.dto;\n\nimport java.io.Serializable;\nimport java.time.ZonedDateTime;\n\nimport org.hibernate.Hibernate;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.exam.domain.Exam;\nimport de.tum.cit.aet.artemis.exam.domain.ExamMode;\nimport de.tum.cit.aet.artemis.exam.domain.ExerciseGroup;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingExercise;\n\n/**\n * Exam exercise-group reference carried on exam programming-exercise responses.\n *

\n * Several unchanged Angular views read this nested shape: exam mode is detected from the presence of\n * {@code exercise.exerciseGroup}; the detail page and the navigation utils read\n * {@code exerciseGroup.exam.course.id}; the update form reads {@code exam.course.defaultProgrammingLanguage}; the\n * grading tab reads {@code exerciseGroup.exam.exampleSolutionPublicationDate}; {@code exam.examMode} gates the\n * feedback-suggestion options and {@code exam.numberOfCorrectionRoundsInExam} drives the assessment controls. Flat\n * exam ids are not enough.\n *

\n * This chain is also reached from the {@code @AllowedTools(SCORPIO)} latest-result route, whose out-of-repo IntelliJ\n * client cannot be grepped for readers, so both records carry the complete set of serializable {@link ExerciseGroup}\n * and {@link Exam} scalars rather than the handful the Angular client is known to read. The set was taken from the\n * entities, not from a fixture dump, because {@code NON_EMPTY} hides every property a fixture leaves at its default.\n *\n * @param id the exercise group id\n * @param title the exercise group title, shown in the exam exercise table\n * @param isMandatory whether the group has to be included in every generated student exam\n * @param exam the exam reference the client reads\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record ProgrammingExerciseExamGroupDTO(Long id, String title, Boolean isMandatory, ProgrammingExerciseExamDTO exam) implements Serializable {\n\n /**\n * The exam reference carried under {@code exercise.exerciseGroup.exam}.\n *

\n * The components are every serializable scalar of {@link Exam} plus the nested course. What the entity serialized\n * here and this record deliberately does not carry is only:\n *

    \n *
  • the associations {@code exerciseGroups}, {@code studentExams}, {@code examUsers} and\n * {@code examRoomAssignments}. All four are lazy, none of them is initialized by an exercise fetch graph, and\n * {@code exerciseGroups} would re-enter the very group this exam hangs under.
  • \n *
  • the {@code @Transient} slots {@code numberOfExamUsers}, {@code channelName} and {@code quizExamMaxPoints},\n * which only the exam-management read paths fill in. No path that reaches an exercise sets them, so they were\n * absent from the entity wire here as well.
  • \n *
\n *\n * @param id the exam id\n * @param title the exam title (detail-page exam link)\n * @param examMode the mode of the exam (gates feedback-suggestion options)\n * @param examWithAttendanceCheck whether attendance is checked during the exam\n * @param visibleDate when the exam becomes visible to students\n * @param startDate when students may start working on the exam\n * @param endDate when the exam ends\n * @param publishResultsDate when exam results are published (post-publish behavior)\n * @param examStudentReviewStart when the student review period starts\n * @param examStudentReviewEnd when the student review period ends\n * @param examSummaryPublicationDate when students may see their exam summary\n * @param exampleSolutionPublicationDate when the example solution becomes visible (grading tab)\n * @param gracePeriod the extra seconds students get for their final submission\n * @param workingTime the default working time in seconds\n * @param startText the text shown on the exam start page\n * @param endText the text shown on the exam end page\n * @param confirmationStartText the confirmation text students accept before starting\n * @param confirmationEndText the confirmation text students accept before submitting\n * @param examMaxPoints the reachable points of the exam\n * @param numberOfExercisesInExam how many exercises a generated student exam contains\n * @param numberOfCorrectionRoundsInExam number of correction rounds (assessment controls)\n * @param randomizeExerciseOrder whether the exercise order is randomized per student\n * @param examiner the name of the examiner\n * @param moduleNumber the module number of the exam\n * @param courseName the course name printed on the exam\n * @param examArchivePath the path of the exam archive, when one was created\n * @param course light course projection; {@code null} when the exam's course is not loaded\n */\n @JsonInclude(JsonInclude.Include.NON_EMPTY)\n public record ProgrammingExerciseExamDTO(Long id, String title, ExamMode examMode, boolean examWithAttendanceCheck, ZonedDateTime visibleDate, ZonedDateTime startDate,\n ZonedDateTime endDate, ZonedDateTime publishResultsDate, ZonedDateTime examStudentReviewStart, ZonedDateTime examStudentReviewEnd,\n ZonedDateTime examSummaryPublicationDate, ZonedDateTime exampleSolutionPublicationDate, Integer gracePeriod, int workingTime, String startText, String endText,\n String confirmationStartText, String confirmationEndText, int examMaxPoints, Integer numberOfExercisesInExam, Integer numberOfCorrectionRoundsInExam,\n Boolean randomizeExerciseOrder, String examiner, String moduleNumber, String courseName, String examArchivePath, ProgrammingExerciseCourseDTO course)\n implements Serializable {\n\n /**\n * Converts an {@link Exam} into a {@link ProgrammingExerciseExamDTO}.\n *\n * @param exam the exam to project\n * @param course the already-projected course of the exam (may be {@code null})\n * @return the projected exam\n */\n public static ProgrammingExerciseExamDTO of(Exam exam, ProgrammingExerciseCourseDTO course) {\n return new ProgrammingExerciseExamDTO(exam.getId(), exam.getTitle(), exam.getExamMode(), exam.isExamWithAttendanceCheck(), exam.getVisibleDate(), exam.getStartDate(),\n exam.getEndDate(), exam.getPublishResultsDate(), exam.getExamStudentReviewStart(), exam.getExamStudentReviewEnd(), exam.getExamSummaryPublicationDate(),\n exam.getExampleSolutionPublicationDate(), exam.getGracePeriod(), exam.getWorkingTime(), exam.getStartText(), exam.getEndText(), exam.getConfirmationStartText(),\n exam.getConfirmationEndText(), exam.getExamMaxPoints(), exam.getNumberOfExercisesInExam(), exam.getNumberOfCorrectionRoundsInExam(),\n exam.getRandomizeExerciseOrder(), exam.getExaminer(), exam.getModuleNumber(), exam.getCourseName(), exam.getExamArchivePath(), course);\n }\n }\n\n /**\n * Builds the reference from an {@link ExerciseGroup}. Each of the three levels is guarded separately, so a\n * partially fetched graph degrades to an absent sub-object instead of throwing: an absent or uninitialized group\n * maps to {@code null}, an uninitialized exam to a group with no exam, and an uninitialized course to an exam\n * with no course. Nothing here forces a lazy load.\n *\n * @param exerciseGroup the exercise group (may be {@code null})\n * @return the reference, or {@code null} if the group is {@code null} or not initialized\n */\n public static ProgrammingExerciseExamGroupDTO of(ExerciseGroup exerciseGroup) {\n if (exerciseGroup == null || !Hibernate.isInitialized(exerciseGroup)) {\n return null;\n }\n Exam exam = exerciseGroup.getExam();\n if (exam == null || !Hibernate.isInitialized(exam)) {\n return new ProgrammingExerciseExamGroupDTO(exerciseGroup.getId(), exerciseGroup.getTitle(), exerciseGroup.getIsMandatory(), null);\n }\n // Hibernate.isInitialized(null) is true, so the null check has to stand next to it.\n var courseEntity = exam.getCourse();\n ProgrammingExerciseCourseDTO course = courseEntity != null && Hibernate.isInitialized(courseEntity) ? ProgrammingExerciseCourseDTO.of(courseEntity) : null;\n return new ProgrammingExerciseExamGroupDTO(exerciseGroup.getId(), exerciseGroup.getTitle(), exerciseGroup.getIsMandatory(), ProgrammingExerciseExamDTO.of(exam, course));\n }\n\n /**\n * Resolves the {@code exerciseGroup} slot of an exercise response: populated for an exam exercise, {@code null}\n * for a course exercise, which carries its course in the sibling {@code course} slot instead.\n *\n * @param exercise the exercise being mapped\n * @return the nested exercise group, or {@code null} for a course exercise\n */\n public static ProgrammingExerciseExamGroupDTO ofExamExercise(ProgrammingExercise exercise) {\n return exercise.isExamExercise() ? of(exercise.getExerciseGroup()) : null;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/d9dbed2f24b883852e598941cdf38aab0457a875.json b/web/public/bundles/artemis/code/d9dbed2f24b883852e598941cdf38aab0457a875.json new file mode 100644 index 00000000..34b5b544 --- /dev/null +++ b/web/public/bundles/artemis/code/d9dbed2f24b883852e598941cdf38aab0457a875.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d9dbed2f24b883852e598941cdf38aab0457a875", + "language": "typescript", + "path": "src/main/webapp/app/tutorialgroup/manage/tutorial-groups-checklist/tutorial-groups-checklist.component.ts", + "schema": "codexray.code/1", + "text": "import { ChangeDetectionStrategy, Component, OnDestroy, OnInit, inject, signal } from '@angular/core';\nimport { ActivatedRoute, RouterLink } from '@angular/router';\nimport { CourseManagementService } from 'app/course/manage/services/course-management.service';\nimport { Course } from 'app/course/shared/entities/course.model';\nimport { AlertService } from 'app/foundation/service/alert.service';\nimport { onError } from 'app/foundation/util/global.utils';\nimport { Subject, combineLatest, finalize, switchMap, take } from 'rxjs';\nimport { HttpErrorResponse } from '@angular/common/http';\nimport { faCog, faPlus, faUsers } from '@fortawesome/free-solid-svg-icons';\nimport { takeUntil } from 'rxjs/operators';\nimport { LoadingIndicatorContainerComponent } from 'app/shared-ui/loading-indicator-container/loading-indicator-container.component';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { ChecklistCheckComponent } from 'app/shared-ui/components/checklist-check/checklist-check.component';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { TutorialGroupsConfigurationService } from 'app/tutorialgroup/manage/service/tutorial-groups-configuration.service';\nimport { tutorialGroupsConfigurationEntityFromDto } from 'app/tutorialgroup/shared/entities/tutorial-groups-configuration-dto.model';\nimport { TumAetUiButtonDirective } from '@tumaet/ui-angular/button';\n\n@Component({\n selector: 'jhi-tutorial-groups-checklist',\n templateUrl: './tutorial-groups-checklist.component.html',\n styleUrl: './tutorial-groups-checklist.component.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [TumAetUiButtonDirective, LoadingIndicatorContainerComponent, TranslateDirective, ChecklistCheckComponent, RouterLink, FaIconComponent],\n})\nexport class TutorialGroupsChecklistComponent implements OnInit, OnDestroy {\n private activatedRoute = inject(ActivatedRoute);\n private courseManagementService = inject(CourseManagementService);\n private alertService = inject(AlertService);\n private tutorialGroupsConfigurationService = inject(TutorialGroupsConfigurationService);\n\n readonly isLoading = signal(false);\n readonly course = signal(undefined!);\n readonly isTimeZoneConfigured = signal(false);\n readonly isTutorialGroupConfigurationCreated = signal(false);\n\n protected readonly faCog = faCog;\n protected readonly faPlus = faPlus;\n protected readonly faUsers = faUsers;\n\n ngUnsubscribe = new Subject();\n\n get isFullyConfigured(): boolean {\n return this.isTimeZoneConfigured() && this.isTutorialGroupConfigurationCreated();\n }\n\n ngOnInit(): void {\n this.isLoading.set(true);\n this.activatedRoute.paramMap\n .pipe(\n take(1),\n switchMap((params) => {\n const courseId = Number(params.get('courseId'));\n return combineLatest([this.courseManagementService.findForInstructor(courseId), this.tutorialGroupsConfigurationService.getOneOfCourse(courseId)]);\n }),\n finalize(() => this.isLoading.set(false)),\n takeUntil(this.ngUnsubscribe),\n )\n .subscribe({\n next: ([courseResult, configuration]) => {\n if (courseResult.body) {\n this.course.set(courseResult.body);\n this.isTimeZoneConfigured.set(!!this.course().timeZone);\n }\n if (configuration) {\n this.course().tutorialGroupsConfiguration = tutorialGroupsConfigurationEntityFromDto(configuration);\n this.isTutorialGroupConfigurationCreated.set(!!this.course().tutorialGroupsConfiguration);\n }\n },\n error: (res: HttpErrorResponse) => onError(this.alertService, res),\n });\n }\n\n ngOnDestroy(): void {\n this.ngUnsubscribe.next();\n this.ngUnsubscribe.complete();\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/db2861932c4fe2df4b3d1b9bd3789e9983fd5c10.json b/web/public/bundles/artemis/code/db2861932c4fe2df4b3d1b9bd3789e9983fd5c10.json new file mode 100644 index 00000000..fd9c63a6 --- /dev/null +++ b/web/public/bundles/artemis/code/db2861932c4fe2df4b3d1b9bd3789e9983fd5c10.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "db2861932c4fe2df4b3d1b9bd3789e9983fd5c10", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/home/CourseHomeSectionsService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.course.service.home;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\n\nimport java.time.Instant;\nimport java.util.List;\nimport java.util.Optional;\n\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.dao.DataAccessException;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.communication.dto.CourseHomeCommunicationDTO;\nimport de.tum.cit.aet.artemis.communication.dto.CourseHomeQuestionsDTO;\nimport de.tum.cit.aet.artemis.communication.service.CourseHomeCommunicationService;\nimport de.tum.cit.aet.artemis.course.domain.CourseHomeSectionStatus;\nimport de.tum.cit.aet.artemis.exam.api.ExamCourseHomeApi;\nimport de.tum.cit.aet.artemis.exam.dto.ExamCourseHomeDTO;\nimport de.tum.cit.aet.artemis.iris.api.IrisCourseHomeApi;\nimport de.tum.cit.aet.artemis.iris.dto.IrisCourseHomeSessionsDTO;\nimport de.tum.cit.aet.artemis.lecture.api.LectureCourseHomeApi;\nimport de.tum.cit.aet.artemis.lecture.dto.LectureCourseHomeDTO;\n\n/** Isolates optional section availability from the core Home snapshot assembly. */\n@Service\n@Lazy\n@Profile(PROFILE_CORE)\npublic class CourseHomeSectionsService {\n\n private final CourseHomeCommunicationService communication;\n\n private final Optional lectureApi;\n\n private final Optional examApi;\n\n private final Optional irisApi;\n\n public CourseHomeSectionsService(CourseHomeCommunicationService communication, Optional lectureApi, Optional examApi,\n Optional irisApi) {\n this.communication = communication;\n this.lectureApi = lectureApi;\n this.examApi = examApi;\n this.irisApi = irisApi;\n }\n\n /**\n * Loads bounded lectures metadata, keeping database outages local to this section.\n *\n * @param courseId the authorized course identifier\n * @param user the authenticated student\n * @param now the snapshot timestamp\n * @param since the preserved publication baseline\n * @return the section summary with an explicit availability state\n */\n public LectureCourseHomeDTO lectures(long courseId, User user, Instant now, Instant since) {\n if (lectureApi.isEmpty()) {\n return new LectureCourseHomeDTO(CourseHomeSectionStatus.DISABLED, List.of());\n }\n try {\n return lectureApi.get().load(courseId, user, now, since);\n }\n catch (DataAccessException ex) {\n return new LectureCourseHomeDTO(CourseHomeSectionStatus.UNAVAILABLE, List.of());\n }\n }\n\n /**\n * Loads bounded exams metadata, keeping database outages local to this section.\n *\n * @param courseId the authorized course identifier\n * @param user the authenticated student\n * @param now the snapshot timestamp\n * @param since the preserved publication baseline\n * @return the section summary with an explicit availability state\n */\n public ExamCourseHomeDTO exams(long courseId, User user, Instant now, Instant since) {\n if (examApi.isEmpty()) {\n return new ExamCourseHomeDTO(CourseHomeSectionStatus.DISABLED, List.of());\n }\n try {\n return examApi.get().load(courseId, user, now, since);\n }\n catch (DataAccessException ex) {\n return new ExamCourseHomeDTO(CourseHomeSectionStatus.UNAVAILABLE, List.of());\n }\n }\n\n /**\n * Loads bounded discussions metadata, keeping database outages local to this section.\n *\n * @param courseId the authorized course identifier\n * @param user the authenticated student\n * @param now the snapshot timestamp\n * @param since the preserved publication baseline\n * @return the section summary with an explicit availability state\n */\n public CourseHomeCommunicationDTO discussions(long courseId, User user, Instant now, Instant since) {\n try {\n return communication.load(courseId, user, now, since);\n }\n catch (DataAccessException ex) {\n return new CourseHomeCommunicationDTO(new CourseHomeQuestionsDTO(CourseHomeSectionStatus.UNAVAILABLE, List.of()), null, List.of());\n }\n }\n\n /**\n * Loads bounded chats metadata, keeping database outages local to this section.\n *\n * @param courseId the authorized course identifier\n * @param user the authenticated student\n * @param now the snapshot timestamp\n * @param since the preserved publication baseline\n * @param enabled whether the course exposes Iris\n * @return the section summary with an explicit availability state\n */\n public IrisCourseHomeSessionsDTO chats(long courseId, User user, Instant now, Instant since, boolean enabled) {\n if (irisApi.isEmpty() || !enabled) {\n return new IrisCourseHomeSessionsDTO(CourseHomeSectionStatus.DISABLED, List.of());\n }\n try {\n return irisApi.get().load(courseId, user, now, since);\n }\n catch (DataAccessException ex) {\n return new IrisCourseHomeSessionsDTO(CourseHomeSectionStatus.UNAVAILABLE, List.of());\n }\n }\n\n}\n" +} diff --git a/web/public/bundles/artemis/code/dbb335504d4649bd0e8802f3948194c158acce36.json b/web/public/bundles/artemis/code/dbb335504d4649bd0e8802f3948194c158acce36.json new file mode 100644 index 00000000..0fd0af9b --- /dev/null +++ b/web/public/bundles/artemis/code/dbb335504d4649bd0e8802f3948194c158acce36.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "dbb335504d4649bd0e8802f3948194c158acce36", + "language": "typescript", + "path": "src/main/webapp/app/quiz/shared/questions/drag-and-drop-question/drag-and-drop-question.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, ViewEncapsulation, computed, effect, inject, input, output, signal, viewChild } from '@angular/core';\nimport { ArtemisMarkdownService } from 'app/foundation/service/markdown.service';\nimport { DragAndDropQuestionUtil } from 'app/quiz/shared/service/drag-and-drop-question-util.service';\nimport { ImageComponent } from 'app/shared-ui/image/image.component';\nimport { DragAndDropQuestion } from 'app/quiz/shared/entities/drag-and-drop-question.model';\nimport { DragAndDropMapping } from 'app/quiz/shared/entities/drag-and-drop-mapping.model';\nimport { QuizQuestion, RenderedQuizQuestionMarkDownElement } from 'app/quiz/shared/entities/quiz-question.model';\nimport { DropLocation } from 'app/quiz/shared/entities/drop-location.model';\nimport { faExclamationCircle, faExclamationTriangle, faQuestionCircle, faSpinner } from '@fortawesome/free-solid-svg-icons';\nimport { CdkDragDrop, CdkDropList, CdkDropListGroup } from '@angular/cdk/drag-drop';\nimport { DragItem } from 'app/quiz/shared/entities/drag-item.model';\nimport { NgClass } from '@angular/common';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { TumAetUiButtonComponent } from '@tumaet/ui-angular/button';\nimport { TumAetUiTooltipDirective } from '@tumaet/ui-angular/tooltip';\nimport { QuizScoringInfoStudentModalComponent } from '../quiz-scoring-infostudent-modal/quiz-scoring-info-student-modal.component';\nimport { DragItemComponent } from './drag-item/drag-item.component';\nimport { addPublicFilePrefix } from 'app/app.constants';\n\nenum MappingResult {\n MAPPED_CORRECT,\n MAPPED_INCORRECT,\n NOT_MAPPED,\n}\n@Component({\n selector: 'jhi-drag-and-drop-question',\n templateUrl: './drag-and-drop-question.component.html',\n providers: [DragAndDropQuestionUtil],\n styleUrls: ['./drag-and-drop-question.component.css', '../../../overview/participation/quiz-participation.css'],\n encapsulation: ViewEncapsulation.None,\n imports: [\n NgClass,\n FaIconComponent,\n TranslateDirective,\n TumAetUiTooltipDirective,\n QuizScoringInfoStudentModalComponent,\n CdkDropListGroup,\n ImageComponent,\n CdkDropList,\n DragItemComponent,\n TumAetUiButtonComponent,\n ],\n})\nexport class DragAndDropQuestionComponent {\n private artemisMarkdown = inject(ArtemisMarkdownService);\n private dragAndDropQuestionUtil = inject(DragAndDropQuestionUtil);\n\n protected readonly faSpinner = faSpinner;\n protected readonly faQuestionCircle = faQuestionCircle;\n protected readonly faExclamationTriangle = faExclamationTriangle;\n protected readonly faExclamationCircle = faExclamationCircle;\n\n readonly MappingResult = MappingResult;\n\n // Pixels scrolled per animation frame while dragging near a container edge (CDK default is 2). Kept low so the auto-scroll stays controllable.\n protected readonly dragAutoScrollStep = 5;\n\n protected readonly addPublicFilePrefix = addPublicFilePrefix;\n\n /** needed to trigger a manual reload of the drag and drop background picture */\n readonly secureImageComponent = viewChild.required(ImageComponent);\n\n question = input.required();\n dragAndDropQuestion = computed(() => this.question() as DragAndDropQuestion);\n\n // TODO: Map vs. Array --> consistency\n mappings = input([]);\n _mappings: DragAndDropMapping[] = [];\n clickDisabled = input(false);\n showResult = input(false);\n questionIndex = input(0);\n score = input(0);\n\n forceSampleSolution = input(false);\n\n onMappingUpdate = input<() => void>();\n filePreviewPaths = input>(new Map());\n\n mappingsChange = output();\n\n showingSampleSolution = signal(false);\n readonly renderedQuestion = signal(undefined!);\n sampleSolutionMappings = new Array();\n readonly dropAllowed = signal(false);\n readonly correctAnswer = signal(undefined!);\n readonly incorrectLocationMappings = signal(undefined!);\n readonly mappedLocations = signal(undefined!);\n\n readonly loadingState = signal('loading');\n\n constructor() {\n effect(() => {\n const question = this.dragAndDropQuestion();\n const forced = this.forceSampleSolution();\n\n if (!question) {\n this.hideSampleSolution();\n return;\n }\n\n if (forced) {\n this.showSampleSolution();\n } else {\n this.hideSampleSolution();\n }\n });\n\n effect(() => {\n const question = this.dragAndDropQuestion();\n if (!question) {\n return;\n }\n this.watchCollection();\n });\n\n effect(() => {\n const q = this.dragAndDropQuestion();\n this.mappings();\n if (!q) return;\n\n this.evaluateDropLocations();\n });\n }\n\n watchCollection() {\n // update html for text, hint and explanation for the question\n const renderedQuestion = new RenderedQuizQuestionMarkDownElement();\n renderedQuestion.text = this.artemisMarkdown.safeHtmlForMarkdown(this.dragAndDropQuestion().text);\n renderedQuestion.hint = this.artemisMarkdown.safeHtmlForMarkdown(this.dragAndDropQuestion().hint);\n renderedQuestion.explanation = this.artemisMarkdown.safeHtmlForMarkdown(this.dragAndDropQuestion().explanation);\n this.renderedQuestion.set(renderedQuestion);\n }\n\n /**\n * Handles drag-available UI\n */\n drag() {\n this.dropAllowed.set(true);\n }\n\n /**\n * Handles drag-available UI\n */\n drop() {\n this.dropAllowed.set(false);\n }\n\n /** Sets the view displayed to the user\n * @param value -> loading: background picture for drag and drop question is currently loading\n * success: background picture for drag and drop question was loaded\n * error: an error occurred during background download */\n changeLoading(value: string) {\n this.loadingState.set(value);\n }\n\n /**\n * react to the drop event of a drag item\n *\n * @param dropLocation {object | undefined} the dropLocation that the drag item was dropped on.\n * May be undefined if drag item was dragged back to the unassigned items.\n * @param dropEvent {object} an event containing the drag item that was dropped\n */\n onDragDrop(dropLocation: DropLocation | undefined, dropEvent: CdkDragDrop) {\n this.drop();\n const dragItem = dropEvent.item.data as DragItem;\n\n if (dropLocation) {\n // check if this mapping is new\n if (this.dragAndDropQuestionUtil.isMappedTogether(this.mappings(), dragItem, dropLocation)) {\n // Do nothing\n this._mappings = this.mappings();\n return;\n }\n\n // remove existing mappings that contain the drop location or drag item and save their old partners\n let oldDragItem;\n let oldDropLocation;\n this._mappings = this.mappings().filter((mapping) => {\n if (this.dragAndDropQuestionUtil.isSameEntityWithTempId(dropLocation, mapping.dropLocation)) {\n oldDragItem = mapping.dragItem;\n return false;\n }\n if (this.dragAndDropQuestionUtil.isSameEntityWithTempId(dragItem, mapping.dragItem)) {\n oldDropLocation = mapping.dropLocation;\n return false;\n }\n return true;\n });\n\n // add new mapping\n this._mappings.push(new DragAndDropMapping(dragItem, dropLocation));\n\n // map oldDragItem and oldDropLocation, if they exist\n // this flips positions of drag items when a drag item is dropped on a drop location with an existing drag item\n if (oldDragItem && oldDropLocation) {\n this._mappings.push(new DragAndDropMapping(oldDragItem, oldDropLocation));\n }\n } else {\n const lengthBefore = this.mappings().length;\n // remove existing mapping that contains the drag item\n this._mappings = this.mappings().filter((mapping) => {\n return !this.dragAndDropQuestionUtil.isSameEntityWithTempId(mapping.dragItem, dragItem);\n });\n if (this._mappings.length === lengthBefore) {\n // nothing changed => return here to skip calling this.onMappingUpdate()\n return;\n }\n }\n this.mappingsChange.emit(this._mappings);\n\n /** Only execute the onMappingUpdate function if we received such input **/\n const onMappingUpdateFn = this.onMappingUpdate();\n if (onMappingUpdateFn && typeof onMappingUpdateFn === 'function') {\n onMappingUpdateFn();\n }\n }\n\n /**\n * Get the drag item that was mapped to the given drop location\n *\n * @param dropLocation the drop location that the drag item should be mapped to\n * @return the mapped drag item, or undefined, if no drag item has been mapped to this location\n */\n dragItemForDropLocation(dropLocation: DropLocation) {\n if (this.mappings()) {\n const mapping = this.mappings().find((localMapping) => this.dragAndDropQuestionUtil.isSameEntityWithTempId(localMapping.dropLocation, dropLocation));\n if (mapping) {\n return mapping.dragItem;\n } else {\n return undefined;\n }\n }\n return undefined;\n }\n\n invalidDragItemForDropLocation(dropLocation: DropLocation) {\n const item = this.dragItemForDropLocation(dropLocation);\n return item ? item.invalid : false;\n }\n\n /**\n * Get all drag items that have not been assigned to a drop location yet\n *\n * @returnan array of all unassigned drag items\n */\n getUnassignedDragItems() {\n return this.dragAndDropQuestion().dragItems?.filter((dragItem) => {\n return !this.mappings()?.some((mapping) => {\n return this.dragAndDropQuestionUtil.isSameEntityWithTempId(mapping.dragItem, dragItem);\n }, this);\n }, this);\n }\n\n /**\n * Check if the assigned drag item from the given location is correct\n * (Only possible if this.question.correctMappings is available)\n *\n * @param dropLocation {object} the drop location to check for correctness\n * @return {MappingResult} MAPPED_CORRECT, if the drop location is correct, MAPPED_INCORRECT if not and NOT_MAPPED if the location is correctly left blank\n */\n isLocationCorrect(dropLocation: DropLocation): MappingResult {\n if (!this.dragAndDropQuestion().correctMappings) {\n return MappingResult.MAPPED_INCORRECT;\n }\n const validDragItems = this.dragAndDropQuestion()\n .correctMappings!.filter((mapping) => {\n return this.dragAndDropQuestionUtil.isSameEntityWithTempId(mapping.dropLocation, dropLocation);\n })\n .map(function (mapping) {\n return mapping.dragItem;\n });\n const selectedItem = this.dragItemForDropLocation(dropLocation);\n\n if (!selectedItem) {\n return validDragItems.length === 0 ? MappingResult.NOT_MAPPED : MappingResult.MAPPED_INCORRECT;\n } else {\n return validDragItems.some((dragItem) => {\n return this.dragAndDropQuestionUtil.isSameEntityWithTempId(dragItem, selectedItem);\n })\n ? MappingResult.MAPPED_CORRECT\n : MappingResult.MAPPED_INCORRECT;\n }\n }\n\n /**\n * Check if there is a drag item assigned to the given location in the solution of the question\n * (Only possible if this.question.correctMappings is available)\n *\n * @param dropLocation {object} the drop location to check for mapping\n * @return {boolean} true, if the drop location is part of a mapping, otherwise false.\n */\n\n isAssignedLocation(dropLocation: DropLocation): boolean {\n if (!this.dragAndDropQuestion().correctMappings) {\n return false;\n }\n return this.dragAndDropQuestion().correctMappings!.some((mapping) => this.dragAndDropQuestionUtil.isSameEntityWithTempId(dropLocation, mapping.dropLocation));\n }\n\n /**\n * Display a sample solution instead of the student's answer\n */\n showSampleSolution() {\n this.sampleSolutionMappings = this.dragAndDropQuestionUtil.solve(this.dragAndDropQuestion(), this.mappings());\n this.showingSampleSolution.set(true);\n }\n\n /**\n * Display the student's answer again\n */\n hideSampleSolution() {\n this.showingSampleSolution.set(false);\n }\n\n /**\n * Get the drag item that was mapped to the given drop location in the sample solution\n *\n * @param dropLocation the drop location that the drag item should be mapped to\n * @return the mapped drag item, or undefined, if no drag item has been mapped to this location\n */\n correctDragItemForDropLocation(dropLocation: DropLocation) {\n const dragAndDropQuestionUtil = this.dragAndDropQuestionUtil;\n const mapping = this.sampleSolutionMappings.find(function (solutionMapping) {\n return dragAndDropQuestionUtil.isSameEntityWithTempId(solutionMapping.dropLocation, dropLocation);\n });\n return mapping?.dragItem;\n }\n\n /**\n * Count and assign the amount of right mappings, incorrect mappings and the number of drop locations participating in at least one mapping for a question\n * by using the isLocationCorrect Method and the isAssignedLocation Method\n */\n evaluateDropLocations(): void {\n if (this.dragAndDropQuestion().dropLocations) {\n this.correctAnswer.set(\n this.dragAndDropQuestion().dropLocations!.filter((dropLocation) => this.isLocationCorrect(dropLocation) === MappingResult.MAPPED_CORRECT).length,\n );\n this.incorrectLocationMappings.set(\n this.dragAndDropQuestion().dropLocations!.filter((dropLocation) => this.isLocationCorrect(dropLocation) === MappingResult.MAPPED_INCORRECT).length,\n );\n this.mappedLocations.set(this.dragAndDropQuestion().dropLocations!.filter((dropLocation) => this.isAssignedLocation(dropLocation)).length);\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/dc69d6c2aa16cc7b86e72a15e25e8da7669e25a0.json b/web/public/bundles/artemis/code/dc69d6c2aa16cc7b86e72a15e25e8da7669e25a0.json new file mode 100644 index 00000000..c66153d4 --- /dev/null +++ b/web/public/bundles/artemis/code/dc69d6c2aa16cc7b86e72a15e25e8da7669e25a0.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "dc69d6c2aa16cc7b86e72a15e25e8da7669e25a0", + "language": "typescript", + "path": "src/main/webapp/app/tutorialgroup/manage/tutorial-registrations-import-modal/tutorial-registrations-import-modal.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, computed, inject, input, signal } from '@angular/core';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { getCurrentLocaleSignal } from 'app/foundation/util/global.utils';\nimport { TranslateService } from '@ngx-translate/core';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { faCircleCheck } from '@fortawesome/free-solid-svg-icons';\nimport { TumAetUiButtonDirective } from '@tumaet/ui-angular/button';\nimport { TumAetUiDialogComponent } from '@tumaet/ui-angular/dialog';\nimport { readStudentDTOsFromCSVFile } from 'app/shared-ui/user-import/util/read-users-from-csv';\nimport { AlertService } from 'app/foundation/service/alert.service';\nimport {\n TutorialRegistrationsImportModalTableComponent,\n TutorialRegistrationsImportModalTableRow,\n} from 'app/tutorialgroup/manage/tutorial-registrations-import-modal-table/tutorial-registrations-import-modal-table.component';\nimport { TutorialGroupRegisterStudentRequest } from 'app/tutorialgroup/shared/entities/tutorial-group.model';\nimport { LoadingIndicatorOverlayComponent } from 'app/shared-ui/loading-indicator-overlay/loading-indicator-overlay.component';\nimport { TutorialGroupRegisteredStudentsService } from 'app/tutorialgroup/manage/service/tutorial-group-registered-students.service';\nimport { TutorialGroupApi } from 'app/openapi/api/tutorial-group-api';\nimport { TutorialGroupStudentImportData } from 'app/openapi/model/tutorial-group-student-import-data';\nimport { cloneWith } from 'app/foundation/util/deep-clone.util';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\n\nexport enum ImportFlowStep {\n EXPLANATION = 'EXPLANATION',\n CONFIRMATION = 'CONFIRMATION',\n RESULTS = 'RESULTS',\n}\n\ninterface ImportResult {\n student: TutorialGroupRegisterStudentRequest;\n exists: boolean;\n}\n\n@Component({\n selector: 'jhi-tutorial-registrations-import-modal',\n imports: [\n TumAetUiDialogComponent,\n TumAetUiButtonDirective,\n FaIconComponent,\n TranslateDirective,\n TutorialRegistrationsImportModalTableComponent,\n LoadingIndicatorOverlayComponent,\n ArtemisTranslatePipe,\n ],\n templateUrl: './tutorial-registrations-import-modal.component.html',\n styleUrl: './tutorial-registrations-import-modal.component.css',\n})\nexport class TutorialRegistrationsImportModalComponent {\n private translateService = inject(TranslateService);\n private alertService = inject(AlertService);\n private tutorialGroupApiService = inject(TutorialGroupApi);\n private tutorialGroupRegisteredStudentsService = inject(TutorialGroupRegisteredStudentsService);\n\n protected readonly ImportFlowStep = ImportFlowStep;\n protected readonly faCircleCheck = faCircleCheck;\n\n private currentLocale = getCurrentLocaleSignal(this.translateService);\n private parsedStudents = signal([]);\n private importResults = signal([]);\n\n courseId = input.required();\n tutorialGroupId = input.required();\n isLoading = signal(false);\n isOpen = signal(false);\n flowStep = signal(ImportFlowStep.EXPLANATION);\n header = computed(() => this.computeHeader());\n tableRows = computed(() => this.computeTableRows());\n allStudentsExist = computed(() => this.importResults().every((student) => student.exists));\n noStudentsExist = computed(() => this.importResults().every((student) => !student.exists));\n\n open() {\n this.parsedStudents.set([]);\n this.importResults.set([]);\n this.flowStep.set(ImportFlowStep.EXPLANATION);\n this.isOpen.set(true);\n }\n\n close() {\n this.isOpen.set(false);\n }\n\n openFilePicker(input: HTMLInputElement) {\n input.value = '';\n input.click();\n }\n\n async parseStudents(event: Event) {\n this.isLoading.set(true);\n const input = event.target as HTMLInputElement;\n const file = input.files?.[0];\n\n if (!file) {\n this.isLoading.set(false);\n return;\n }\n\n try {\n const result = await readStudentDTOsFromCSVFile(file);\n if (!result.ok) {\n this.alertService.addErrorAlert('artemisApp.pages.tutorialGroupRegistrations.importModal.invalidFileEntriesAlert');\n return;\n }\n\n const parsedStudents: TutorialGroupRegisterStudentRequest[] = result.students.map((student) => {\n return { login: student.login, registrationNumber: student.registrationNumber };\n });\n if (parsedStudents.length === 0) {\n this.alertService.addErrorAlert('artemisApp.pages.tutorialGroupRegistrations.importModal.noFileEntriesAlert');\n return;\n }\n\n this.parsedStudents.set(parsedStudents);\n this.flowStep.set(ImportFlowStep.CONFIRMATION);\n } catch {\n this.alertService.addErrorAlert('artemisApp.pages.tutorialGroupRegistrations.importModal.importErrorAlert');\n } finally {\n this.isLoading.set(false);\n }\n }\n\n importParsedStudents() {\n this.isLoading.set(true);\n this.tutorialGroupApiService.importRegistrations(this.courseId(), this.tutorialGroupId(), this.parsedStudents()).subscribe({\n next: (response: Array) => {\n const nonExistingStudents = response || [];\n const studentResults: ImportResult[] = this.parsedStudents().map((parsedStudent) => {\n return {\n student: parsedStudent,\n exists: !nonExistingStudents.some((nonExistingStudent) => {\n if (parsedStudent.login && nonExistingStudent.login) {\n return nonExistingStudent.login === parsedStudent.login;\n }\n if (parsedStudent.registrationNumber && nonExistingStudent.registrationNumber) {\n return nonExistingStudent.registrationNumber === parsedStudent.registrationNumber;\n }\n return false;\n }),\n };\n });\n this.importResults.set(studentResults);\n this.flowStep.set(ImportFlowStep.RESULTS);\n const someStudentsRegistered = studentResults.some((student) => student.exists);\n if (someStudentsRegistered) {\n this.tutorialGroupRegisteredStudentsService.fetchRegisteredStudents(this.courseId(), this.tutorialGroupId());\n }\n this.isLoading.set(false);\n },\n error: () => {\n this.alertService.addErrorAlert('artemisApp.pages.tutorialGroupRegistrations.importModal.importErrorAlert');\n this.isLoading.set(false);\n },\n });\n }\n\n goToExplanationStep() {\n this.parsedStudents.set([]);\n this.flowStep.set(ImportFlowStep.EXPLANATION);\n }\n\n private computeHeader(): string {\n this.currentLocale();\n const headerKey = this.getHeaderKeyFor(this.flowStep());\n return this.translateService.instant(headerKey);\n }\n\n private getHeaderKeyFor(flowState: ImportFlowStep): string {\n switch (flowState) {\n case ImportFlowStep.EXPLANATION:\n return 'artemisApp.pages.tutorialGroupRegistrations.importModal.explanationHeader';\n case ImportFlowStep.CONFIRMATION:\n return 'artemisApp.pages.tutorialGroupRegistrations.importModal.confirmImportHeader';\n case ImportFlowStep.RESULTS:\n return 'artemisApp.pages.tutorialGroupRegistrations.importModal.importResultsHeader';\n }\n }\n\n private computeTableRows(): TutorialRegistrationsImportModalTableRow[] {\n switch (this.flowStep()) {\n case ImportFlowStep.EXPLANATION:\n return [\n { login: 'user_1', registrationNumber: undefined, markFilledCells: false },\n { login: undefined, registrationNumber: 'ge86vox', markFilledCells: false },\n ];\n case ImportFlowStep.CONFIRMATION:\n return this.parsedStudents().map((student) => {\n return cloneWith(student, { markFilledCells: false });\n });\n case ImportFlowStep.RESULTS:\n return this.importResults().map((result) => {\n return cloneWith(result.student, { markFilledCells: !result.exists });\n });\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/dc8ca0e526dbd8612f51f1b1e08796463d503b30.json b/web/public/bundles/artemis/code/dc8ca0e526dbd8612f51f1b1e08796463d503b30.json new file mode 100644 index 00000000..25ee55a9 --- /dev/null +++ b/web/public/bundles/artemis/code/dc8ca0e526dbd8612f51f1b1e08796463d503b30.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "dc8ca0e526dbd8612f51f1b1e08796463d503b30", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseExercisesForOverviewDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.course.dto;\n\nimport java.util.Map;\nimport java.util.Set;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.exercise.dto.ExerciseOverviewDTO;\nimport de.tum.cit.aet.artemis.exercise.dto.ParticipationResultDTO;\n\n/**\n * The exercise data of a course overview: the user's exercises with their participations, submissions and results, plus\n * the derived scores.\n *

\n * This is the exercises-tab counterpart of {@link CourseForDashboardDTO}. It deliberately carries no course, lectures,\n * exams or tab counts, so entering a course on any other tab does not pay for loading them.\n *\n * @param exercises the course exercises visible to the user, projected for the overview\n * @param totalScores the total scores for the course (max and reachable points plus the student's absolute and relative scores)\n * @param textScores the scores for just the text exercises\n * @param programmingScores the scores for just the programming exercises\n * @param modelingScores the scores for just the modeling exercises\n * @param fileUploadScores the scores for just the file upload exercises\n * @param quizScores the scores for just the quiz exercises\n * @param participationResults the relevant result for each participation\n * @param achievedPointsPerVariantGroup the points the student earns from each exercise variant group, keyed by group id\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record CourseExercisesForOverviewDTO(Set exercises, CourseScoresDTO totalScores, CourseScoresDTO textScores, CourseScoresDTO programmingScores,\n CourseScoresDTO modelingScores, CourseScoresDTO fileUploadScores, CourseScoresDTO quizScores, Set participationResults,\n Map achievedPointsPerVariantGroup) {\n}\n" +} diff --git a/web/public/bundles/artemis/code/dd10eec674c1e22b5f6a124fc36b58b65860a836.json b/web/public/bundles/artemis/code/dd10eec674c1e22b5f6a124fc36b58b65860a836.json new file mode 100644 index 00000000..d57a7f98 --- /dev/null +++ b/web/public/bundles/artemis/code/dd10eec674c1e22b5f6a124fc36b58b65860a836.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "dd10eec674c1e22b5f6a124fc36b58b65860a836", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/LtiService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.lti.service;\n\nimport java.util.List;\n\nimport jakarta.servlet.http.HttpServletResponse;\n\nimport org.jspecify.annotations.NonNull;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.beans.factory.annotation.Value;\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.dao.DataIntegrityViolationException;\nimport org.springframework.http.HttpHeaders;\nimport org.springframework.http.ResponseCookie;\nimport org.springframework.security.authentication.InternalAuthenticationServiceException;\nimport org.springframework.security.authentication.UsernamePasswordAuthenticationToken;\nimport org.springframework.security.core.Authentication;\nimport org.springframework.security.core.authority.SimpleGrantedAuthority;\nimport org.springframework.security.core.context.SecurityContextHolder;\nimport org.springframework.stereotype.Service;\nimport org.springframework.util.StringUtils;\nimport org.springframework.web.util.UriComponentsBuilder;\n\nimport de.tum.cit.aet.artemis.account.domain.Authority;\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.account.repository.UserRepository;\nimport de.tum.cit.aet.artemis.account.security.ArtemisAuthenticationProvider;\nimport de.tum.cit.aet.artemis.account.security.RandomUtil;\nimport de.tum.cit.aet.artemis.account.service.UserRecoveryKeyService;\nimport de.tum.cit.aet.artemis.account.service.user.UserCreationService;\nimport de.tum.cit.aet.artemis.core.config.Constants;\nimport de.tum.cit.aet.artemis.core.domain.CourseRole;\nimport de.tum.cit.aet.artemis.core.domain.UserCourseRole;\nimport de.tum.cit.aet.artemis.core.exception.LtiAccountNotAcceptedException;\nimport de.tum.cit.aet.artemis.core.exception.LtiEmailAlreadyInUseException;\nimport de.tum.cit.aet.artemis.core.repository.UserCourseRoleRepository;\nimport de.tum.cit.aet.artemis.core.security.Role;\nimport de.tum.cit.aet.artemis.core.security.SecurityUtils;\nimport de.tum.cit.aet.artemis.core.security.jwt.JWTCookieService;\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.exercise.domain.Exercise;\nimport de.tum.cit.aet.artemis.lti.config.LtiEnabled;\nimport de.tum.cit.aet.artemis.lti.domain.UserLti;\nimport de.tum.cit.aet.artemis.lti.repository.UserLtiRepository;\n\n@Lazy\n@Service\n@Conditional(LtiEnabled.class)\npublic class LtiService {\n\n @Value(\"${artemis.lti.trustExternalLTISystems:false}\")\n private boolean trustExternalLTISystems;\n\n protected static final List SIMPLE_USER_LIST_AUTHORITY = List.of(new SimpleGrantedAuthority(Role.STUDENT.getAuthority()));\n\n private static final Logger log = LoggerFactory.getLogger(LtiService.class);\n\n private static final int MAX_LOGIN_SUFFIX = 1000;\n\n private static final int MAX_CREATION_ATTEMPTS = 3;\n\n private final UserCreationService userCreationService;\n\n private final UserRepository userRepository;\n\n private final UserCourseRoleRepository userCourseRoleRepository;\n\n private final ArtemisAuthenticationProvider artemisAuthenticationProvider;\n\n private final JWTCookieService jwtCookieService;\n\n private final UserLtiRepository userLtiRepository;\n\n private final UserRecoveryKeyService userRecoveryKeyService;\n\n public LtiService(UserCreationService userCreationService, UserRepository userRepository, UserCourseRoleRepository userCourseRoleRepository,\n ArtemisAuthenticationProvider artemisAuthenticationProvider, JWTCookieService jwtCookieService, UserLtiRepository userLtiRepository,\n UserRecoveryKeyService userRecoveryKeyService) {\n this.userCreationService = userCreationService;\n this.userLtiRepository = userLtiRepository;\n this.userRecoveryKeyService = userRecoveryKeyService;\n this.userRepository = userRepository;\n this.userCourseRoleRepository = userCourseRoleRepository;\n this.artemisAuthenticationProvider = artemisAuthenticationProvider;\n this.jwtCookieService = jwtCookieService;\n }\n\n /**\n * Signs in the LTI user into the exercise app. If necessary, it will create a user.\n *\n * @param email the user's email\n * @param username the user's username if we create a new user\n * @param firstName the user's firstname if we create a new user\n * @param lastName the user's lastname if we create a new user\n * @param requireExistingUser false if it's not allowed to create new users\n * @throws InternalAuthenticationServiceException if no email is provided, or if no user can be authenticated, this exception will be thrown\n */\n public void authenticateLtiUser(String email, String username, String firstName, String lastName, boolean requireExistingUser) throws InternalAuthenticationServiceException {\n log.info(\"Authenticating LTI user with email: {}, username: {}, firstName: {}, lastName: {}, requireExistingUser: {}\", email, username, firstName, lastName,\n requireExistingUser);\n if (!StringUtils.hasLength(email)) {\n log.warn(\"No email address sent by launch request. Please make sure the user has an accessible email address.\");\n throw new InternalAuthenticationServiceException(\"No email address sent by launch request. Please make sure the user has an accessible email address.\");\n }\n\n if (SecurityUtils.isAuthenticated()) {\n log.info(\"User is already signed in. Checking if email matches the one provided in the launch.\");\n User user = userRepository.getUser();\n if (email.equalsIgnoreCase(user.getEmail())) { // 1. Case: User is already signed in and email matches the one provided in the launch\n log.info(\"User is already signed in and email matches the one provided in the launch. No further action required.\");\n return;\n }\n else {\n log.info(\"User is already signed in but email does not match the one provided in the launch. Signing out user.\");\n SecurityContextHolder.getContext().setAuthentication(null); // User is signed in but email does not match, meaning launch is for a different user\n }\n }\n\n // 2. Case: Lookup user with the LTI email address and make sure it's not in use\n if (artemisAuthenticationProvider.getUsernameForEmail(email).isPresent() || userRepository.findOneByEmailIgnoreCase(email).isPresent()) {\n log.info(\"User with email {} already exists. Email is already in use.\", email);\n\n if (trustExternalLTISystems) {\n log.info(\"Trusting external LTI system. Authenticating user with email: {}\", email);\n User user = userRepository.findOneWithAuthoritiesByEmailIgnoreCase(email).orElseThrow();\n if (!mayBeTrustedFromLaunch(user)) {\n log.warn(\n \"Not authenticating the account with email {} from a launch: only active accounts without administrator authority are accepted from trusted LTI systems\",\n email);\n throw new LtiAccountNotAcceptedException();\n }\n SecurityContextHolder.getContext().setAuthentication(new UsernamePasswordAuthenticationToken(user.getLogin(), user.getPassword(), user.getGrantedAuthorities()));\n return;\n }\n\n throw new LtiEmailAlreadyInUseException();\n }\n\n // 3. Case: Create new user if an existing user is not required\n if (!requireExistingUser) {\n log.info(\"Creating new user from launch request: {}, username: {}, firstName: {}, lastName: {}\", email, username, firstName, lastName);\n SecurityContextHolder.getContext().setAuthentication(createNewUserFromLaunchRequest(email, username, firstName, lastName));\n return;\n }\n\n log.info(\"Could not find existing user or create new LTI user.\");\n throw new InternalAuthenticationServiceException(\"Could not find existing user or create new LTI user.\"); // If user couldn't be authenticated, throw an error\n }\n\n /**\n * Whether the account may be signed in on the word of a trusted platform: not an administrator, and active.\n *\n * @param user the account with its authorities\n * @return true if the platform may sign in as this account\n */\n private boolean mayBeTrustedFromLaunch(User user) {\n boolean administrator = user.getAuthorities().stream().map(Authority::getName)\n .anyMatch(name -> Role.ADMIN.getAuthority().equals(name) || Role.SUPER_ADMIN.getAuthority().equals(name));\n // An inactive account is not accepted. This includes an account that a launch created and that has not been initialised yet: it cannot be told from a deactivated one.\n return !administrator && user.getActivated();\n }\n\n /**\n * Creates the account for a launch and returns its sign-in. The login is derived from names that the platform supplies and is not unique, so an existing account\n * is only reused when it has the email address of the launch. Otherwise a new account is created with a free login.\n *\n * @param email the email address of the launching user, which no account has yet\n * @param login the derived login; a numeric suffix is added if an account already has it\n * @param firstName the first name\n * @param lastName the last name\n * @return the sign-in of the new account\n */\n @NonNull\n public Authentication createNewUserFromLaunchRequest(String email, String login, String firstName, String lastName) {\n final var user = userRepository.findOneByLogin(login).filter(existing -> email.equalsIgnoreCase(existing.getEmail())).orElseGet(() -> {\n var password = RandomUtil.generatePassword();\n final User newUser = createUserWithUnusedLogin(login, password, firstName, lastName, email);\n // Marked in user_lti rather than on the user row, which the lti module does not own. createUser already saved\n // the account, so the id is available and no further save of the user itself is needed.\n userLtiRepository.save(new UserLti(newUser.getId(), true));\n // createUser issues an activation key for every internal account. A launch-provisioned account never receives\n // the activation mail and must not be activatable by that key, so it is dropped again here - the account uses\n // `activated` as its own \"already initialised\" marker instead. See User#activated.\n userRecoveryKeyService.clearActivationKey(newUser.getId());\n\n log.info(\"Created new user {}\", newUser);\n return newUser;\n\n });\n\n log.info(\"createNewUserFromLaunchRequest: {}\", user);\n\n log.info(\"Signing in as {}\", user.getLogin());\n return new UsernamePasswordAuthenticationToken(user.getLogin(), user.getPassword(), SIMPLE_USER_LIST_AUTHORITY);\n }\n\n /**\n * Creates the account under the login or, if an account has it, under the login with the lowest numeric suffix that no account has. Two launches that choose the same\n * free login at the same time collide when the second account is saved, so the allocation is repeated for that case. Other failures are not retried.\n */\n private User createUserWithUnusedLogin(String login, String password, String firstName, String lastName, String email) {\n for (int attempt = 1; attempt <= MAX_CREATION_ATTEMPTS; attempt++) {\n try {\n return userCreationService.createUser(unusedLogin(login), password, firstName, lastName, email, null, null, Constants.DEFAULT_LANGUAGE, true);\n }\n catch (DataIntegrityViolationException e) {\n if (attempt == MAX_CREATION_ATTEMPTS) {\n throw e;\n }\n log.info(\"The login for the launching user was taken in the meantime, choosing another one\");\n }\n }\n throw new InternalAuthenticationServiceException(\"Could not create the account of the launching user.\");\n }\n\n /**\n * Returns the login, or the login with the lowest numeric suffix that no account has. The suffix is part of the login, so the base is shortened to keep the login within its\n * maximum length.\n *\n * @param login the derived login\n * @return a login that no account has\n */\n private String unusedLogin(String login) {\n if (userRepository.findOneByLogin(login).isEmpty()) {\n return login;\n }\n for (int suffix = 2; suffix < MAX_LOGIN_SUFFIX; suffix++) {\n String suffixText = String.valueOf(suffix);\n String candidate = login.substring(0, Math.min(login.length(), Constants.USERNAME_MAX_LENGTH - suffixText.length())) + suffixText;\n if (userRepository.findOneByLogin(candidate).isEmpty()) {\n return candidate;\n }\n }\n throw new InternalAuthenticationServiceException(\"Could not find an unused login for the launching user.\");\n }\n\n /**\n * Handler for successful LTI auth. Enrolls the user as a student in the exercise's course.\n *\n * @param user The user that is authenticated\n * @param exercise Exercise to launch\n */\n public void onSuccessfulLtiAuthentication(User user, Exercise exercise) {\n enrollUserInCourse(user, exercise.getCourseViaExerciseGroupOrCourseMemberElseThrow());\n }\n\n /**\n * Enrolls a user as a student in the given course.\n *\n * @param user the user to enroll\n * @param course the course to enroll the user in\n */\n private void enrollUserInCourse(User user, Course course) {\n if (!userCourseRoleRepository.existsByUser_IdAndCourse_IdAndRole(user.getId(), course.getId(), CourseRole.STUDENT)) {\n userCourseRoleRepository.save(new UserCourseRole(user, course, CourseRole.STUDENT));\n }\n }\n\n /**\n * Build the response for the LTI launch to include the necessary query params and the JWT cookie.\n *\n * @param uriComponentsBuilder the uri builder to add the query params to\n * @param response the response to add the JWT cookie to\n */\n public void buildLtiResponse(UriComponentsBuilder uriComponentsBuilder, HttpServletResponse response) {\n User user = userRepository.getUser();\n\n // Gated on the launch's own marker, not on `activated`: an account an administrator has deactivated is also\n // inactive, and offering it the initialisation dialog only leads to a request the endpoint refuses.\n if (needsInitialization(user)) {\n log.info(\"User has not completed the initialization from its first launch. Adding initialize parameter to query.\");\n uriComponentsBuilder.queryParam(\"initialize\", \"\");\n }\n\n log.info(\"Add/Update JWT cookie so the user will be logged in.\");\n ResponseCookie responseCookie = jwtCookieService.buildLoginCookie(true);\n response.addHeader(HttpHeaders.SET_COOKIE, responseCookie.toString());\n }\n\n /**\n * Whether the account was provisioned by a launch and still has to complete the initialisation that hands it its\n * password.\n *\n * @param user the account\n * @return true if the account still has to be initialised\n */\n public boolean needsInitialization(User user) {\n return user.getId() != null && userLtiRepository.existsByUserIdAndCreatedByLaunchIsTrueAndInitializedIsFalse(user.getId());\n }\n\n /**\n * Claims the one-time initialisation of a launch-provisioned account, so that only the first caller proceeds.\n *\n * @param user the account\n * @return true if this caller claimed it and may hand out a password\n */\n public boolean claimInitialization(User user) {\n return user.getId() != null && userLtiRepository.claimInitialization(user.getId()) == 1;\n }\n\n /**\n * Checks if a user was created as part of an LTI launch.\n *\n * @param user the user to check if\n * @return true if the user was created as part of an LTI launch\n */\n public boolean isLtiCreatedUser(User user) {\n // Null-checked because the marker is a row keyed on the user id, so an account that has not been persisted cannot\n // have one. Callers do pass transient users here, and looking one up by a null id would fail.\n return user.getId() != null && userLtiRepository.existsByUserIdAndCreatedByLaunchIsTrue(user.getId());\n }\n\n /**\n * Include logout JWT cookie to response.\n *\n * @param response the response to add the JWT cookie to\n */\n public void prepareLogoutCookie(HttpServletResponse response) {\n ResponseCookie responseCookie = jwtCookieService.buildLogoutCookie();\n response.addHeader(HttpHeaders.SET_COOKIE, responseCookie.toString());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/ddaa16d5cb8765a809438c08728c8144935da68c.json b/web/public/bundles/artemis/code/ddaa16d5cb8765a809438c08728c8144935da68c.json new file mode 100644 index 00000000..0f7c5dc6 --- /dev/null +++ b/web/public/bundles/artemis/code/ddaa16d5cb8765a809438c08728c8144935da68c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "ddaa16d5cb8765a809438c08728c8144935da68c", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionUtils.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.hyperion.service;\n\nimport java.util.regex.Pattern;\n\nimport de.tum.cit.aet.artemis.account.repository.UserRepository;\nimport de.tum.cit.aet.artemis.core.exception.BadRequestAlertException;\nimport de.tum.cit.aet.artemis.core.security.SecurityUtils;\nimport de.tum.cit.aet.artemis.course.domain.Course;\n\n/**\n * Shared utility class for sanitizing, validating, and post-processing inputs and\n * outputs used in Hyperion prompt templates.\n * Centralizes constants and methods shared across generation and refinement services.\n */\nfinal class HyperionUtils {\n\n /**\n * Maximum allowed length for generated/refined problem statements (50,000 characters).\n * This prevents excessively long responses that could cause performance issues.\n */\n static final int MAX_PROBLEM_STATEMENT_LENGTH = 50_000;\n\n /**\n * Maximum allowed length for user prompts (1,000 characters).\n */\n static final int MAX_USER_PROMPT_LENGTH = 1_000;\n\n /**\n * Maximum allowed length for targeted refinement instructions (500 characters).\n */\n static final int MAX_INSTRUCTION_LENGTH = 500;\n\n /**\n * Default course title when not specified.\n */\n static final String DEFAULT_COURSE_TITLE = \"Programming Course\";\n\n /**\n * Default course description when not specified.\n */\n static final String DEFAULT_COURSE_DESCRIPTION = \"A programming course\";\n\n /** Pattern matching control characters except newline (\\n), carriage return (\\r), and tab (\\t). */\n private static final Pattern CONTROL_CHAR_PATTERN = Pattern.compile(\"[\\\\p{Cc}&&[^\\\\n\\\\r\\\\t]]\");\n\n /**\n * Pattern matching prompt template delimiter lines (e.g. \"--- BEGIN USER REQUIREMENTS ---\").\n * Stripping these prevents users from injecting fake section boundaries that could break out of their designated prompt section.\n */\n private static final Pattern DELIMITER_PATTERN = Pattern.compile(\"^\\\\s*-{3,}\\\\s*(BEGIN|END)\\\\s+.*-{3,}$\", Pattern.MULTILINE | Pattern.CASE_INSENSITIVE);\n\n /**\n * Pattern matching template variable sequences (e.g. \"{{variable}}\").\n * Stripping these prevents users from injecting fake template placeholders that could be expanded by the template engine.\n * Uses a non-greedy match so that inner '}' characters don't leave orphaned braces.\n * Note: regex cannot perfectly handle arbitrarily nested braces, but this non-greedy\n * approach addresses the observed orphaned '}' issue with the previous [^}]* pattern.\n * May match across newlines; use {@link #TEMPLATE_VAR_LINE_PATTERN} when line structure must be preserved.\n */\n private static final Pattern TEMPLATE_VAR_PATTERN = Pattern.compile(\"\\\\{\\\\{[\\\\s\\\\S]*?\\\\}\\\\}\");\n\n /**\n * Line-scoped variant of {@link #TEMPLATE_VAR_PATTERN} that never matches across newlines.\n * Uses a negated-newline class ({@code [^\\n]}) so that embedded newlines inside a\n * multi-line template variable are preserved, keeping line counts stable.\n * Used by {@link #sanitizeInputPreserveLines(String)}.\n */\n private static final Pattern TEMPLATE_VAR_LINE_PATTERN = Pattern.compile(\"\\\\{\\\\{[^\\\\n]*?\\\\}\\\\}\");\n\n /**\n * Pattern matching HTML tags for stripping from rich-text content like course descriptions.\n */\n private static final Pattern HTML_TAG_PATTERN = Pattern.compile(\"<[^>]+>\");\n\n /**\n * Pattern matching wrapper marker lines that the LLM may copy from the prompt template\n * (e.g. {@code \"--- BEGIN PROBLEM STATEMENT ---\"}, {@code \"--- END PROBLEM STATEMENT ---\"}).\n * Matches lines consisting of three or more dashes, optional whitespace, BEGIN/END, any label, and closing dashes.\n */\n private static final Pattern WRAPPER_MARKER_LINE = Pattern.compile(\"^\\\\s*-{3,}\\\\s*(?:BEGIN|END)\\\\s+.*-{3,}\\\\s*$\", Pattern.CASE_INSENSITIVE);\n\n /** Pattern matching a line that starts with a line-number prefix: one or more digits followed by a colon and a space. */\n private static final Pattern LINE_NUMBER_PREFIX = Pattern.compile(\"^\\\\d+: \");\n\n private HyperionUtils() {\n // utility class\n }\n\n /**\n * Validates that the user prompt is not empty and does not exceed the maximum allowed length.\n *\n * @param userPrompt the sanitized user prompt to validate\n * @param errorKeyPrefix prefix for error keys (e.g. \"ProblemStatementRefinement\" or \"ProblemStatementGeneration\")\n * @throws BadRequestAlertException if the prompt is blank or exceeds the maximum length\n */\n static void validateUserPrompt(String userPrompt, String errorKeyPrefix) {\n if (userPrompt == null || userPrompt.isBlank()) {\n throw new BadRequestAlertException(\"User prompt cannot be empty\", \"ProblemStatement\", errorKeyPrefix + \".userPromptEmpty\");\n }\n if (userPrompt.length() > MAX_USER_PROMPT_LENGTH) {\n throw new BadRequestAlertException(\"User prompt exceeds maximum length of \" + MAX_USER_PROMPT_LENGTH + \" characters\", \"ProblemStatement\",\n errorKeyPrefix + \".userPromptTooLong\");\n }\n }\n\n /**\n * Validates that the instruction is not empty and does not exceed the maximum allowed length.\n *\n * @param instruction the sanitized instruction to validate\n * @param errorKeyPrefix prefix for error keys (e.g. \"ProblemStatementRefinement\")\n * @throws BadRequestAlertException if the instruction is blank or exceeds the maximum length\n */\n static void validateInstruction(String instruction, String errorKeyPrefix) {\n if (instruction == null || instruction.isBlank()) {\n throw new BadRequestAlertException(\"Instruction cannot be empty\", \"ProblemStatement\", errorKeyPrefix + \".instructionEmpty\");\n }\n if (instruction.length() > MAX_INSTRUCTION_LENGTH) {\n throw new BadRequestAlertException(\"Instruction exceeds maximum length of \" + MAX_INSTRUCTION_LENGTH + \" characters\", \"ProblemStatement\",\n errorKeyPrefix + \".instructionTooLong\");\n }\n }\n\n /**\n * Sanitizes user input by stripping control characters (except newlines, carriage returns, and tabs)\n * and removing prompt template delimiter lines to prevent prompt injection.\n *\n * @param input the raw input string, may be null\n * @return the sanitized and trimmed string, never null\n */\n static String sanitizeInput(String input) {\n if (input == null) {\n return \"\";\n }\n String sanitized = CONTROL_CHAR_PATTERN.matcher(input).replaceAll(\"\");\n sanitized = DELIMITER_PATTERN.matcher(sanitized).replaceAll(\"\");\n sanitized = TEMPLATE_VAR_PATTERN.matcher(sanitized).replaceAll(\"\");\n return sanitized.trim();\n }\n\n /**\n * Sanitizes exercise-authored content without removing template expressions such as\n * {@code {{variable}}}. These expressions are legitimate content in Angular and\n * Mustache exercises and are safe here because prompt variables are substituted in a\n * single pass. Control characters and prompt delimiter lines are still removed.\n *\n * @param input the raw exercise content, may be null\n * @return the sanitized and trimmed string, never null\n */\n static String sanitizeExerciseContent(String input) {\n if (input == null) {\n return \"\";\n }\n String sanitized = CONTROL_CHAR_PATTERN.matcher(input).replaceAll(\"\");\n sanitized = DELIMITER_PATTERN.matcher(sanitized).replaceAll(\"\");\n return sanitized.trim();\n }\n\n /**\n * Sanitizes user input while preserving line structure (line count and positions).\n * Unlike {@link #sanitizeInput(String)}, this method does not trim the result,\n * ensuring that line numbers from the client remain valid for targeted (line-based) refinement.\n * Delimiter lines are replaced with empty content but their newlines are preserved.\n *\n * @param input the raw input string, may be null\n * @return the sanitized string with preserved line structure, never null\n */\n static String sanitizeInputPreserveLines(String input) {\n if (input == null) {\n return \"\";\n }\n // Apply per-character sanitizations globally (these don't affect line count)\n String sanitized = CONTROL_CHAR_PATTERN.matcher(input).replaceAll(\"\");\n // Use the line-scoped pattern so template vars spanning multiple lines\n // don't collapse embedded newlines and break line numbering.\n sanitized = TEMPLATE_VAR_LINE_PATTERN.matcher(sanitized).replaceAll(\"\");\n // DELIMITER_PATTERN uses MULTILINE so ^ and $ match per-line boundaries.\n // replaceAll(\"\") blanks the content but preserves the newline, keeping line count stable.\n sanitized = DELIMITER_PATTERN.matcher(sanitized).replaceAll(\"\");\n // Intentionally NO trim() — trimming could strip leading newlines, shifting all line numbers.\n return sanitized;\n }\n\n /**\n * Returns the sanitized course title, falling back to {@link #DEFAULT_COURSE_TITLE} if blank.\n */\n static String getSanitizedCourseTitle(Course course) {\n String sanitized = sanitizeInput(course.getTitle());\n return sanitized.isBlank() ? DEFAULT_COURSE_TITLE : sanitized;\n }\n\n /**\n * Returns the sanitized course description, falling back to {@link #DEFAULT_COURSE_DESCRIPTION} if blank.\n */\n static String getSanitizedCourseDescription(Course course) {\n String description = course.getDescription();\n if (description != null) {\n description = HTML_TAG_PATTERN.matcher(description).replaceAll(\"\");\n }\n String sanitized = sanitizeInput(description);\n return sanitized.isBlank() ? DEFAULT_COURSE_DESCRIPTION : sanitized;\n }\n\n /**\n * Resolves the current user's database ID from the security context.\n *\n * @param userRepository the repository used to look up the user ID by login\n * @return the user ID, or {@code null} if the user is not authenticated or not found\n */\n static Long resolveCurrentUserId(UserRepository userRepository) {\n return SecurityUtils.getCurrentUserLogin().flatMap(userRepository::findIdByLogin).orElse(null);\n }\n\n /**\n * Strips sequential line-number prefixes ({@code \"1: \"}, {@code \"2: \"}, …) that\n * the LLM may have copied from the numbered prompt context.\n *

\n * Prefixes are only removed when every non-blank line carries a\n * sequential prefix starting at 1. Blank lines are allowed to appear without\n * a prefix in the response even though the original prompt numbered them\n * (e.g. the LLM may return a bare empty line instead of {@code \"2: \"}); the\n * expected counter is still advanced for each blank line so that the subsequent\n * numbered lines remain in sequence. If any non-blank line is missing a prefix\n * or the sequence is not contiguous the text is returned unchanged, so that\n * legitimate content like numbered lists ({@code \"1. \"}) is never altered.\n *\n * @param text the raw LLM output, never null\n * @return the text with line-number prefixes stripped, or the original text\n */\n static String stripLineNumbers(String text) {\n if (text.isEmpty()) {\n return text;\n }\n\n String[] lines = text.split(\"\\n\", -1);\n\n // Verify every non-blank line has a sequential \"N: \" prefix starting at 1.\n // Blank lines advance the counter even when they appear without a prefix,\n // because addLineNumbers() numbers every line (including blank ones) and the\n // LLM may choose to omit the prefix when echoing a blank line.\n int expectedNumber = 1;\n for (String line : lines) {\n if (line.isBlank()) {\n expectedNumber++;\n continue;\n }\n if (!LINE_NUMBER_PREFIX.matcher(line).find()) {\n return text;\n }\n int colonIndex = line.indexOf(\": \");\n int number;\n try {\n number = Integer.parseInt(line.substring(0, colonIndex));\n }\n catch (NumberFormatException e) {\n return text;\n }\n if (number != expectedNumber) {\n return text;\n }\n expectedNumber++;\n }\n\n // All non-blank lines are sequential — strip the prefixes\n StringBuilder result = new StringBuilder();\n for (int i = 0; i < lines.length; i++) {\n if (lines[i].isBlank()) {\n result.append(lines[i]);\n }\n else {\n result.append(LINE_NUMBER_PREFIX.matcher(lines[i]).replaceFirst(\"\"));\n }\n if (i < lines.length - 1) {\n result.append(\"\\n\");\n }\n }\n return result.toString();\n }\n\n /**\n * Strips wrapper marker lines (e.g. {@code \"--- BEGIN PROBLEM STATEMENT ---\"},\n * {@code \"--- END PROBLEM STATEMENT ---\"}) that an LLM may copy from the prompt\n * template into its response.\n *

\n * Only the first and last non-blank lines are checked, since the LLM typically\n * wraps the entire output. Interior lines that happen to match are left intact\n * to avoid stripping legitimate content.\n *\n * @param text the raw LLM output, never null\n * @return the text with leading/trailing wrapper markers removed, trimmed\n */\n static String stripWrapperMarkers(String text) {\n String[] lines = text.split(\"\\n\", -1);\n\n int start = 0;\n int end = lines.length - 1;\n\n // Skip leading blank lines, then check for a wrapper marker\n while (start <= end && lines[start].isBlank()) {\n start++;\n }\n if (start <= end && WRAPPER_MARKER_LINE.matcher(lines[start]).matches()) {\n start++;\n }\n\n // Skip trailing blank lines, then check for a wrapper marker\n while (end >= start && lines[end].isBlank()) {\n end--;\n }\n if (end >= start && WRAPPER_MARKER_LINE.matcher(lines[end]).matches()) {\n end--;\n }\n\n if (start > end) {\n return \"\";\n }\n\n StringBuilder result = new StringBuilder();\n for (int i = start; i <= end; i++) {\n result.append(lines[i]);\n if (i < end) {\n result.append(\"\\n\");\n }\n }\n return result.toString();\n }\n\n}\n" +} diff --git a/web/public/bundles/artemis/code/ddd3a9255b8b462cb8f1e8009b250372805d1837.json b/web/public/bundles/artemis/code/ddd3a9255b8b462cb8f1e8009b250372805d1837.json new file mode 100644 index 00000000..e88dab5f --- /dev/null +++ b/web/public/bundles/artemis/code/ddd3a9255b8b462cb8f1e8009b250372805d1837.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "ddd3a9255b8b462cb8f1e8009b250372805d1837", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/conduction/ModelingExerciseForConductionDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exam.dto.conduction;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.modeling.domain.DiagramType;\nimport de.tum.cit.aet.artemis.modeling.domain.ModelingExercise;\n\n/**\n * Modeling-exercise-specific fields carried in the conduction payload (unwrapped into the exercise object). The example\n * solution model / explanation are already stripped from the entity before this factory runs.\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record ModelingExerciseForConductionDTO(DiagramType diagramType) {\n\n /**\n * Extracts the modeling-specific fields.\n *\n * @param modelingExercise the modeling exercise to convert\n * @return the modeling-specific fields\n */\n public static ModelingExerciseForConductionDTO of(ModelingExercise modelingExercise) {\n return new ModelingExerciseForConductionDTO(modelingExercise.getDiagramType());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/dddb20e93251f6903de3201363b7944b17287ab3.json b/web/public/bundles/artemis/code/dddb20e93251f6903de3201363b7944b17287ab3.json new file mode 100644 index 00000000..2d75bba0 --- /dev/null +++ b/web/public/bundles/artemis/code/dddb20e93251f6903de3201363b7944b17287ab3.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "dddb20e93251f6903de3201363b7944b17287ab3", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/text/domain/TextSubmission.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.text.domain;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.MAX_SUBMISSION_TEXT_LENGTH;\n\nimport java.util.HashSet;\nimport java.util.Set;\n\nimport jakarta.persistence.CascadeType;\nimport jakarta.persistence.Column;\nimport jakarta.persistence.DiscriminatorValue;\nimport jakarta.persistence.Entity;\nimport jakarta.persistence.EnumType;\nimport jakarta.persistence.Enumerated;\nimport jakarta.persistence.OneToMany;\nimport jakarta.validation.constraints.Size;\n\nimport com.fasterxml.jackson.annotation.JsonIgnore;\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.core.domain.Language;\nimport de.tum.cit.aet.artemis.exercise.domain.Submission;\n\n/**\n * A TextSubmission.\n */\n@Entity\n@DiscriminatorValue(value = \"T\")\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic class TextSubmission extends Submission {\n\n @Override\n public String getSubmissionExerciseType() {\n return \"text\";\n }\n\n private static final int MAX_EXCERPT_LENGTH = 100;\n\n @Column(name = \"text\")\n @Size(max = MAX_SUBMISSION_TEXT_LENGTH, message = \"The text submission is too large.\")\n private String text;\n\n @Enumerated(EnumType.STRING)\n @Column(name = \"language\")\n private Language language;\n\n @OneToMany(mappedBy = \"submission\", cascade = CascadeType.REMOVE)\n @JsonIgnoreProperties(\"submission\")\n private Set blocks = new HashSet<>();\n\n public TextSubmission() {\n }\n\n public TextSubmission(Long id) {\n setId(id);\n }\n\n public String getText() {\n return text;\n }\n\n public Language getLanguage() {\n return language;\n }\n\n public void setLanguage(Language language) {\n this.language = language;\n }\n\n /**\n * Excerpt of Text, used for toString() so log messages do not get too long.\n *\n * @return excerpt of text, maximum String length of 104 characters\n */\n @JsonIgnore()\n public String getExcerpt() {\n if (getText() == null) {\n return \"\";\n }\n if (getText().length() > MAX_EXCERPT_LENGTH) {\n return getText().substring(0, MAX_EXCERPT_LENGTH) + \" ...\";\n }\n else {\n return getText();\n }\n }\n\n public TextSubmission text(String text) {\n this.text = text;\n return this;\n }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public Set getBlocks() {\n return blocks;\n }\n\n public void addBlock(TextBlock textBlock) {\n this.blocks.add(textBlock);\n textBlock.setSubmission(this);\n }\n\n public void setBlocks(Set textBlocks) {\n this.blocks = textBlocks;\n }\n\n @Override\n public boolean isEmpty() {\n return text == null || text.isEmpty();\n }\n\n @Override\n public String toString() {\n return \"TextSubmission{\" + \"id=\" + getId() + \", text='\" + getExcerpt() + \"'\" + \", language='\" + getLanguage() + \"'\" + \"}\";\n }\n\n /**\n * counts the number of words in the text of the text submission in case\n *\n * @return the number of words\n */\n public int countWords() {\n if (text == null || text.isEmpty()) {\n return 0;\n }\n String[] words = text.split(\"\\\\s+\");\n return words.length;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/de7255465fa0dee3dcecae97e263a83c25cb7050.json b/web/public/bundles/artemis/code/de7255465fa0dee3dcecae97e263a83c25cb7050.json new file mode 100644 index 00000000..7cce3d40 --- /dev/null +++ b/web/public/bundles/artemis/code/de7255465fa0dee3dcecae97e263a83c25cb7050.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "de7255465fa0dee3dcecae97e263a83c25cb7050", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/deimos/dto/DeimosExerciseScopeInfoDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.deimos.dto;\n\nimport de.tum.cit.aet.artemis.core.util.ServedFileUrl;\n\npublic record DeimosExerciseScopeInfoDTO(long exerciseId, String exerciseTitle, Long courseId, String courseTitle, String courseIconUrl) {\n\n /**\n * The icon comes out of the column as a filename, so it is turned into the path the client requests it under. The conversion is idempotent.\n */\n public DeimosExerciseScopeInfoDTO {\n courseIconUrl = ServedFileUrl.courseIcon(courseId, courseIconUrl);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/df8239735a4fdbe271a64b096c2c47f52b90e27f.json b/web/public/bundles/artemis/code/df8239735a4fdbe271a64b096c2c47f52b90e27f.json new file mode 100644 index 00000000..c8badf23 --- /dev/null +++ b/web/public/bundles/artemis/code/df8239735a4fdbe271a64b096c2c47f52b90e27f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "df8239735a4fdbe271a64b096c2c47f52b90e27f", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingSubmissionMessagingService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.programming.service;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\nimport static de.tum.cit.aet.artemis.programming.web.ProgrammingWebsocketTopics.EXERCISE_SUBMISSIONS;\nimport static de.tum.cit.aet.artemis.programming.web.ProgrammingWebsocketTopics.NEW_SUBMISSIONS;\n\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.communication.service.WebsocketMessagingService;\nimport de.tum.cit.aet.artemis.exercise.domain.Team;\nimport de.tum.cit.aet.artemis.exercise.domain.participation.Participation;\nimport de.tum.cit.aet.artemis.exercise.domain.participation.StudentParticipation;\nimport de.tum.cit.aet.artemis.exercise.dto.SubmissionDTO;\nimport de.tum.cit.aet.artemis.exercise.repository.TeamRepository;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingSubmission;\nimport de.tum.cit.aet.artemis.programming.exception.BuildTriggerWebsocketError;\n\n@Service\n@Profile(PROFILE_CORE)\n@Lazy\npublic class ProgrammingSubmissionMessagingService {\n\n private final TeamRepository teamRepository;\n\n private final WebsocketMessagingService websocketMessagingService;\n\n public ProgrammingSubmissionMessagingService(TeamRepository teamRepository, WebsocketMessagingService websocketMessagingService) {\n this.teamRepository = teamRepository;\n this.websocketMessagingService = websocketMessagingService;\n }\n\n /**\n * Notify user on a new programming submission.\n *\n * @param submission ProgrammingSubmission\n * @param exerciseId used to build the correct topic\n */\n public void notifyUserAboutSubmission(ProgrammingSubmission submission, Long exerciseId) {\n var submissionDTO = SubmissionDTO.of(submission, false, null, null);\n if (submission.getParticipation() instanceof StudentParticipation studentParticipation) {\n if (studentParticipation.getParticipant() instanceof Team team) {\n // eager load the team with students so their information can be used for the messages below\n studentParticipation.setParticipant(teamRepository.findWithStudentsByIdElseThrow(team.getId()));\n }\n studentParticipation.getStudents().forEach(user -> websocketMessagingService.sendMessageToUser(user.getLogin(), NEW_SUBMISSIONS.at(), submissionDTO));\n }\n\n // Staff track builds of student, template and solution participations on the exercise topic.\n websocketMessagingService.sendMessage(EXERCISE_SUBMISSIONS.at(exerciseId), submissionDTO);\n }\n\n /**\n * Notifies the user (or all users of the team) about a submission error\n *\n * @param participation the participation for which the submission error should be reported\n * @param error the submission error wrapped in an object\n */\n public void notifyUserAboutSubmissionError(Participation participation, BuildTriggerWebsocketError error) {\n if (participation instanceof StudentParticipation studentParticipation) {\n if (studentParticipation.getParticipant() instanceof Team team) {\n // eager load the team with students so their information can be used for the messages below\n studentParticipation.setParticipant(teamRepository.findWithStudentsByIdElseThrow(team.getId()));\n }\n studentParticipation.getStudents().forEach(user -> websocketMessagingService.sendMessageToUser(user.getLogin(), NEW_SUBMISSIONS.at(), error));\n }\n\n if (participation != null && participation.getExercise() != null) {\n websocketMessagingService.sendMessage(EXERCISE_SUBMISSIONS.at(participation.getExercise().getId()), error);\n }\n }\n\n public void notifyUserAboutSubmissionError(ProgrammingSubmission submission, BuildTriggerWebsocketError error) {\n notifyUserAboutSubmissionError(submission.getParticipation(), error);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/dfa2ddc967a502f0ae921bdf3a7bbf70f02fac57.json b/web/public/bundles/artemis/code/dfa2ddc967a502f0ae921bdf3a7bbf70f02fac57.json new file mode 100644 index 00000000..92bcd39d --- /dev/null +++ b/web/public/bundles/artemis/code/dfa2ddc967a502f0ae921bdf3a7bbf70f02fac57.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "dfa2ddc967a502f0ae921bdf3a7bbf70f02fac57", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/StudentParticipationDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exercise.dto;\n\nimport java.time.ZonedDateTime;\nimport java.util.List;\nimport java.util.Objects;\nimport java.util.Set;\n\nimport org.hibernate.Hibernate;\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.core.dto.UserPublicInfoDTO;\nimport de.tum.cit.aet.artemis.exercise.domain.Exercise;\nimport de.tum.cit.aet.artemis.exercise.domain.InitializationState;\nimport de.tum.cit.aet.artemis.exercise.domain.Team;\nimport de.tum.cit.aet.artemis.exercise.domain.participation.Participant;\nimport de.tum.cit.aet.artemis.exercise.domain.participation.StudentParticipation;\nimport de.tum.cit.aet.artemis.exercise.dto.ParticipationDTO.ParticipationExerciseDTO;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingExerciseStudentParticipation;\n\n/**\n * DTO representing the REST response for a student participation.\n *\n * @param id the unique identifier of the participation\n * @param initializationState the current initialization state, if available\n * @param initializationDate the time at which initialization started, if available\n * @param individualDueDate the individual due date, if configured\n * @param presentationScore the presentation score, if assigned\n * @param testRun whether this is an exam test run or course practice participation\n * @param type the polymorphic participation discriminator\n * @param submissionCount the transient number of submissions, if calculated\n * @param participantName the visible participant name, if authorized\n * @param participantIdentifier the visible participant identifier, if authorized\n * @param student safe public student information, if authorized and initialized\n * @param team safe team information, if authorized and initialized\n * @param exercise the minimal exercise context, only on submit-path responses\n * @param submissions initialized lean submissions, or absent when submissions were not loaded\n * @param repositoryUri the programming repository URI, if applicable\n * @param buildPlanId the programming build-plan identifier, if applicable\n * @param branch the programming repository branch, if applicable\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record StudentParticipationDTO(Long id, @Nullable InitializationState initializationState, @Nullable ZonedDateTime initializationDate,\n @Nullable ZonedDateTime individualDueDate, @Nullable Double presentationScore, boolean testRun, String type, @Nullable Integer submissionCount,\n @Nullable String participantName, @Nullable String participantIdentifier, @Nullable UserPublicInfoDTO student, @Nullable TeamDTO team,\n @Nullable ParticipationExerciseDTO exercise, @Nullable List submissions, @Nullable String repositoryUri, @Nullable String buildPlanId,\n @Nullable String branch) {\n\n /**\n * The participant as the response reports it: either both DTO and name/identifier, or nothing at all.\n *\n * @param student safe public student information, if the participant is a visible user\n * @param team safe team information, if the participant is a visible team\n * @param name the visible participant name\n * @param identifier the visible participant identifier\n */\n // A mapping helper, never serialized: the name and the annotation only satisfy ExerciseCodeStyleArchitectureTest.testDTOImplementations,\n // which requires every class in a dto package to be a *DTO record carrying @JsonInclude.\n @JsonInclude(JsonInclude.Include.NON_EMPTY)\n private record ParticipantViewDTO(@Nullable UserPublicInfoDTO student, @Nullable TeamDTO team, @Nullable String name, @Nullable String identifier) {\n\n /** The participant withheld, e.g. from a tutor assessing the participation. */\n static final ParticipantViewDTO HIDDEN = new ParticipantViewDTO(null, null, null, null);\n\n static ParticipantViewDTO of(@Nullable Participant participant) {\n UserPublicInfoDTO student = participant instanceof User user ? new UserPublicInfoDTO(user) : null;\n TeamDTO team = participant instanceof Team participantTeam ? TeamDTO.of(participantTeam) : null;\n if (student == null && team == null) {\n return HIDDEN;\n }\n return new ParticipantViewDTO(student, team, participant.getName(), participant.getParticipantIdentifier());\n }\n }\n\n /**\n * Builds the participation a submit response reports, from the projection the save was made against.\n *

\n * The submit path never loads the participation as an entity - doing so drags the exercise, its course and, for an\n * exam exercise, the exercise group with its exam and that exam's course along - so the response is mapped from the\n * projected columns plus the exercise and participant the caller already holds.\n *\n * @param target the projected participation the submission was saved against\n * @param exercise the exercise the submission belongs to\n * @param participant the student or team the participation belongs to, may be null when it must be withheld\n * @param includeParticipant whether the participant may be reported; a tutor assessing must not see it\n * @return the participation as the response reports it\n */\n public static StudentParticipationDTO of(StudentParticipationSubmitTargetDTO target, Exercise exercise, @Nullable Participant participant, boolean includeParticipant) {\n ParticipantViewDTO participantView = includeParticipant ? ParticipantViewDTO.of(participant) : ParticipantViewDTO.HIDDEN;\n return new StudentParticipationDTO(target.id(), target.initializationState(), target.initializationDate(), target.individualDueDate(), target.presentationScore(),\n target.testRun(), StudentParticipation.TYPE, null, participantView.name(), participantView.identifier(), participantView.student(), participantView.team(),\n ParticipationExerciseDTO.of(exercise), null, null, null, null);\n }\n\n /**\n * Maps a participation for an enclosing response, optionally including its visible participant.\n *\n * @param participation the participation to map\n * @param includeStudent whether initialized participant information should be included\n * @return the participation response, or {@code null} when the input is {@code null}\n */\n public static @Nullable StudentParticipationDTO of(@Nullable StudentParticipation participation, boolean includeStudent) {\n if (participation == null) {\n return null;\n }\n return build(participation, includeStudent ? ParticipantViewDTO.of(initializedParticipant(participation)) : ParticipantViewDTO.HIDDEN,\n ParticipationExerciseDTO.of(participation.getExercise()), null);\n }\n\n /**\n * Maps a newly started participation including its participant and its initialized submissions with subtype content.\n * No exercise is reported: every client uses the exercise it already holds.\n *\n * @param participation the newly started participation\n * @param participant the student or team the participation was started for, loaded for this request\n * @return the participation response\n */\n public static StudentParticipationDTO ofAfterStart(StudentParticipation participation, Participant participant) {\n return build(participation, ParticipantViewDTO.of(participant), null, submissionsOf(participation, true, null));\n }\n\n /**\n * Maps a participation for latest-result polling with initialized lean submissions and results.\n *\n * @param participation the participation loaded with its latest result\n * @return the polling response\n */\n public static StudentParticipationDTO ofWithLatestResult(StudentParticipation participation) {\n return build(participation, ParticipantViewDTO.HIDDEN, null, submissionsOf(participation, false, null));\n }\n\n /**\n * Maps a participation for polling, including only the results whose id is contained in {@code visibleResultIds}. Callers use this to withhold a result a student must not see\n * yet (for example the score of a not-yet-released manual assessment) without mapping it.\n *\n * @param participation the participation loaded with its results\n * @param visibleResultIds the ids of the results that may be returned to the student\n * @return the polling response with the visible results only\n */\n public static StudentParticipationDTO ofWithLatestResult(StudentParticipation participation, Set visibleResultIds) {\n return build(participation, ParticipantViewDTO.HIDDEN, null, submissionsOf(participation, false, visibleResultIds));\n }\n\n /**\n * Maps a resumed participation. The resume route saves the participation first and gets a merged instance back,\n * whose team no longer has its students loaded, so it passes the participant it read before the save. No exercise\n * is reported: every client uses the exercise it already holds.\n *\n * @param participation the resumed participation\n * @param participant the student or team the participation belongs to, read before the save\n * @return the resumed participation response\n */\n public static StudentParticipationDTO ofAfterResume(StudentParticipation participation, @Nullable Participant participant) {\n return build(participation, ParticipantViewDTO.of(participant), null, null);\n }\n\n /**\n * Maps a participation for its current owner. The participant comes from the eagerly loaded student or team; no\n * exercise is reported, because every client uses the exercise it already holds.\n *\n * @param participation the authorized participation\n * @return the current-user participation response\n */\n public static StudentParticipationDTO ofForCurrentUser(StudentParticipation participation) {\n return build(participation, ParticipantViewDTO.of(initializedParticipant(participation)), null, null);\n }\n\n /**\n * Maps a participation after a scalar management update without initializing unrelated associations.\n *\n * @param participation the updated participation\n * @return the lean update response\n */\n public static StudentParticipationDTO ofAfterUpdate(StudentParticipation participation) {\n return build(participation, ParticipantViewDTO.HIDDEN, null, null);\n }\n\n /**\n * The participant of a participation whose student or team was loaded for this request, {@code null} otherwise.\n * Reading {@code getParticipant()} directly would dereference a lazy proxy.\n */\n private static @Nullable Participant initializedParticipant(StudentParticipation participation) {\n User student = participation.getStudent().filter(Hibernate::isInitialized).orElse(null);\n return student != null ? student : participation.getTeam().filter(Hibernate::isInitialized).orElse(null);\n }\n\n private static @Nullable List submissionsOf(StudentParticipation participation, boolean includeContent, @Nullable Set visibleResultIds) {\n if (participation.getSubmissions() == null || !Hibernate.isInitialized(participation.getSubmissions())) {\n return null;\n }\n return participation.getSubmissions().stream().filter(Objects::nonNull).map(submission -> ParticipationSubmissionDTO.of(submission, includeContent, visibleResultIds))\n .toList();\n }\n\n private static StudentParticipationDTO build(StudentParticipation participation, ParticipantViewDTO participant, @Nullable ParticipationExerciseDTO exercise,\n @Nullable List submissions) {\n String repositoryUri = null;\n String buildPlanId = null;\n String branch = null;\n if (participation instanceof ProgrammingExerciseStudentParticipation programmingParticipation) {\n repositoryUri = programmingParticipation.getRepositoryUri();\n buildPlanId = programmingParticipation.getBuildPlanId();\n branch = programmingParticipation.getBranch();\n }\n return new StudentParticipationDTO(participation.getId(), participation.getInitializationState(), participation.getInitializationDate(),\n participation.getIndividualDueDate(), participation.getPresentationScore(), participation.isTestRun(), participation.getType(), participation.getSubmissionCount(),\n participant.name(), participant.identifier(), participant.student(), participant.team(), exercise, submissions, repositoryUri, buildPlanId, branch);\n }\n\n /**\n * Removes participant information, including repository identifiers that contain the student login or team name.\n *\n * @return an anonymous participation response\n */\n public StudentParticipationDTO withoutParticipantInformation() {\n return new StudentParticipationDTO(id, initializationState, initializationDate, individualDueDate, presentationScore, testRun, type, submissionCount, null, null, null,\n null, exercise, submissions, null, null, null);\n }\n\n}\n" +} diff --git a/web/public/bundles/artemis/code/e005f33343754f6b980979476ced32d9fc7f6f77.json b/web/public/bundles/artemis/code/e005f33343754f6b980979476ced32d9fc7f6f77.json new file mode 100644 index 00000000..9e6b5d6b --- /dev/null +++ b/web/public/bundles/artemis/code/e005f33343754f6b980979476ced32d9fc7f6f77.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e005f33343754f6b980979476ced32d9fc7f6f77", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/domain/competency/BaseCompetency.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.atlas.domain.competency;\n\nimport jakarta.persistence.Column;\nimport jakarta.persistence.Convert;\nimport jakarta.persistence.MappedSuperclass;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.core.domain.DomainObject;\n\n/**\n * BaseCompetency is an abstract class that contains basic information shared between all competency types.\n * It is extended by {@link CourseCompetency} and {@link StandardizedCompetency}\n */\n@MappedSuperclass\npublic abstract class BaseCompetency extends DomainObject {\n\n @Column(name = \"title\", nullable = false)\n private String title;\n\n @Column(name = \"description\")\n private String description;\n\n /**\n * The type of competency according to Bloom's revised taxonomy.\n *\n * @see Wikipedia\n */\n @Column(name = \"taxonomy\")\n @Convert(converter = CompetencyTaxonomy.TaxonomyConverter.class)\n @JsonInclude\n private CompetencyTaxonomy taxonomy;\n\n public BaseCompetency(String title, String description, CompetencyTaxonomy taxonomy) {\n this.title = title;\n this.description = description;\n this.taxonomy = taxonomy;\n }\n\n public BaseCompetency() {\n\n }\n\n public String getTitle() {\n return title;\n }\n\n public void setTitle(String title) {\n this.title = title;\n }\n\n public String getDescription() {\n return description;\n }\n\n public void setDescription(String description) {\n this.description = description;\n }\n\n public CompetencyTaxonomy getTaxonomy() {\n return taxonomy;\n }\n\n public void setTaxonomy(CompetencyTaxonomy taxonomy) {\n this.taxonomy = taxonomy;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/e02717fb94e05e7bb0af4ced323282e3f0936be9.json b/web/public/bundles/artemis/code/e02717fb94e05e7bb0af4ced323282e3f0936be9.json new file mode 100644 index 00000000..927b8822 --- /dev/null +++ b/web/public/bundles/artemis/code/e02717fb94e05e7bb0af4ced323282e3f0936be9.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e02717fb94e05e7bb0af4ced323282e3f0936be9", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingExerciseUpdateMappingService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.programming.service;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\n\nimport java.util.HashSet;\nimport java.util.LinkedHashSet;\nimport java.util.List;\nimport java.util.Objects;\nimport java.util.Set;\n\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.assessment.domain.GradingCriterion;\nimport de.tum.cit.aet.artemis.assessment.service.GradingCriteriaMapper;\nimport de.tum.cit.aet.artemis.core.exception.BadRequestAlertException;\nimport de.tum.cit.aet.artemis.core.exception.ConflictException;\nimport de.tum.cit.aet.artemis.core.service.ModuleFeatureService;\nimport de.tum.cit.aet.artemis.course.service.CourseService;\nimport de.tum.cit.aet.artemis.exercise.service.CompetencyExerciseLinkService;\nimport de.tum.cit.aet.artemis.exercise.service.ExerciseVariantGroupService;\nimport de.tum.cit.aet.artemis.plagiarism.domain.PlagiarismDetectionConfigHelper;\nimport de.tum.cit.aet.artemis.programming.domain.AuxiliaryRepository;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingExercise;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingExerciseBuildConfig;\nimport de.tum.cit.aet.artemis.programming.dto.AuxiliaryRepositoryDTO;\nimport de.tum.cit.aet.artemis.programming.dto.UpdateProgrammingExerciseBuildConfigDTO;\nimport de.tum.cit.aet.artemis.programming.dto.UpdateProgrammingExerciseDTO;\n\n/**\n * Applies an update request to a programming exercise and validates the result. The update and the re-evaluation of an exercise share the validation of the settings (the\n * build configuration, the participation modes, the plagiarism detection, the settings that cannot be changed and the course), so that both refuse the same requests for these.\n * Only the ordinary update also checks the stored references of the exercise: its template and solution repositories and build plans. The re-evaluation does not touch\n * them, so it does not require them, see {@code checkReferences} of {@link #validateUpdatedExercise}.\n */\n@Profile(PROFILE_CORE)\n@Lazy\n@Service\npublic class ProgrammingExerciseUpdateMappingService {\n\n private static final String ENTITY_NAME = \"programmingExercise\";\n\n private final ModuleFeatureService moduleFeatureService;\n\n private final CourseService courseService;\n\n private final ProgrammingExerciseValidationService programmingExerciseValidationService;\n\n private final CompetencyExerciseLinkService competencyExerciseLinkService;\n\n private final ExerciseVariantGroupService exerciseVariantGroupService;\n\n public ProgrammingExerciseUpdateMappingService(ModuleFeatureService moduleFeatureService, CourseService courseService,\n ProgrammingExerciseValidationService programmingExerciseValidationService, CompetencyExerciseLinkService competencyExerciseLinkService,\n ExerciseVariantGroupService exerciseVariantGroupService) {\n this.moduleFeatureService = moduleFeatureService;\n this.courseService = courseService;\n this.programmingExerciseValidationService = programmingExerciseValidationService;\n this.competencyExerciseLinkService = competencyExerciseLinkService;\n this.exerciseVariantGroupService = exerciseVariantGroupService;\n }\n\n /**\n * The settings of a programming exercise that cannot be changed by an update, as they were before the update was applied.\n *\n * @param shortName the short name\n * @param staticCodeAnalysis whether static code analysis was enabled\n * @param assignmentCheckoutPath the checkout path of the assignment repository\n * @param solutionCheckoutPath the checkout path of the solution repository\n * @param testCheckoutPath the checkout path of the test repository\n * @param courseId the id of the course of the exercise\n */\n public record OriginalSettings(String shortName, Boolean staticCodeAnalysis, String assignmentCheckoutPath, String solutionCheckoutPath, String testCheckoutPath,\n Long courseId) {\n\n /**\n * Reads the settings of an exercise that an update cannot change.\n *\n * @param exercise the exercise before the update is applied\n * @param buildConfig the build configuration of the exercise before the update is applied\n * @return the settings\n */\n public static OriginalSettings of(ProgrammingExercise exercise, ProgrammingExerciseBuildConfig buildConfig) {\n return new OriginalSettings(exercise.getShortName(), exercise.isStaticCodeAnalysisEnabled(), buildConfig.getAssignmentCheckoutPath(),\n buildConfig.getSolutionCheckoutPath(), buildConfig.getTestCheckoutPath(),\n exercise.getCourseViaExerciseGroupOrCourseMember() != null ? exercise.getCourseViaExerciseGroupOrCourseMember().getId() : null);\n }\n }\n\n /**\n * Validates an exercise after the update was applied to it and before it is saved. Shared by the update and the re-evaluation, so that both refuse invalid exercises and\n * changes of the settings that cannot be changed.\n *\n * @param updateDTO the update that was applied\n * @param updatedProgrammingExercise the exercise with the update applied\n * @param buildConfig the build configuration with the update applied\n * @param original the settings that cannot be changed, as they were before the update\n * @param checkReferences whether the references to the template and solution repositories and build plans are checked as well, which the re-evaluation does not\n * touch\n */\n public void validateUpdatedExercise(UpdateProgrammingExerciseDTO updateDTO, ProgrammingExercise updatedProgrammingExercise, ProgrammingExerciseBuildConfig buildConfig,\n OriginalSettings original, boolean checkReferences) {\n // Validate the updated exercise\n programmingExerciseValidationService.validateBuildConfigSize(buildConfig);\n programmingExerciseValidationService.validateDockerImageRegistry(buildConfig);\n updatedProgrammingExercise.validateGeneralSettings();\n updatedProgrammingExercise.checkCourseAndExerciseGroupExclusivity(ENTITY_NAME);\n programmingExerciseValidationService.validateStaticCodeAnalysisSettings(updatedProgrammingExercise, buildConfig);\n\n // Initialize the course of the entity reloaded under the mutation lease.\n courseService.retrieveCourseOfLoadedExercise(updatedProgrammingExercise);\n\n programmingExerciseValidationService.validateBuildPhaseNames(buildConfig);\n programmingExerciseValidationService.validateAutomaticAssessmentTestWeights(updatedProgrammingExercise);\n if (checkReferences) {\n programmingExerciseValidationService.checkProgrammingExerciseForError(updatedProgrammingExercise, buildConfig);\n }\n // Validate plagiarism detection config\n PlagiarismDetectionConfigHelper.validatePlagiarismDetectionConfigOrThrow(updatedProgrammingExercise, ENTITY_NAME);\n\n // Validate immutable fields haven't changed\n if (!Objects.equals(original.shortName(), updateDTO.shortName())) {\n throw new BadRequestAlertException(\"The programming exercise short name cannot be changed\", ENTITY_NAME, \"shortNameCannotChange\");\n }\n if (!Objects.equals(original.staticCodeAnalysis(), updateDTO.staticCodeAnalysisEnabled())) {\n throw new BadRequestAlertException(\"Static code analysis enabled flag must not be changed\", ENTITY_NAME, \"staticCodeAnalysisCannotChange\");\n }\n validateParticipationModes(updatedProgrammingExercise);\n\n // Verify that the checkout directories have not been changed\n validateCheckoutPathsUnchanged(original, buildConfig);\n\n // Verify that the programming language supports the selected network access option\n programmingExerciseValidationService.validateDockerFlags(buildConfig);\n programmingExerciseValidationService.validateBuildTimeWindow(updatedProgrammingExercise, buildConfig);\n\n // Verify that a theia image is provided when the online IDE is enabled\n if (updatedProgrammingExercise.isAllowOnlineIde() && buildConfig.getTheiaImage() == null) {\n throw new BadRequestAlertException(\"You need to provide a Theia image when the online IDE is enabled\", ENTITY_NAME, \"noTheiaImageProvided\");\n }\n\n // Forbid changing the course the exercise belongs to\n if (!Objects.equals(original.courseId(), updatedProgrammingExercise.getCourseViaExerciseGroupOrCourseMember().getId())) {\n throw new ConflictException(\"Exercise course id does not match the stored course id\", ENTITY_NAME, \"cannotChangeCourseId\");\n }\n }\n\n /**\n * Requires at least one participation mode, the online editor, the offline IDE or, where Theia is enabled, the online IDE. The modes are read from the exercise with the\n * update applied, because a mode that the request leaves out keeps its stored value.\n */\n private void validateParticipationModes(ProgrammingExercise updatedProgrammingExercise) {\n boolean onlineEditorOrOfflineIde = Boolean.TRUE.equals(updatedProgrammingExercise.isAllowOnlineEditor())\n || Boolean.TRUE.equals(updatedProgrammingExercise.isAllowOfflineIde());\n if (moduleFeatureService.isTheiaEnabled()) {\n // Require 1 / 3 participation modes to be enabled\n if (!onlineEditorOrOfflineIde && !updatedProgrammingExercise.isAllowOnlineIde()) {\n throw new BadRequestAlertException(\"You need to allow at least one participation mode, the online editor, the offline IDE, or the online IDE\", ENTITY_NAME,\n \"noParticipationModeAllowed\");\n }\n }\n else if (!onlineEditorOrOfflineIde) {\n // Require 1 / 2 participation modes to be enabled\n throw new BadRequestAlertException(\"You need to allow at least one participation mode, the online editor or the offline IDE\", ENTITY_NAME,\n \"noParticipationModeAllowed\");\n }\n }\n\n private static void validateCheckoutPathsUnchanged(OriginalSettings original, ProgrammingExerciseBuildConfig updatedBuildConfig) {\n String assignmentCheckoutPath = updatedBuildConfig != null ? updatedBuildConfig.getAssignmentCheckoutPath() : null;\n String solutionCheckoutPath = updatedBuildConfig != null ? updatedBuildConfig.getSolutionCheckoutPath() : null;\n String testCheckoutPath = updatedBuildConfig != null ? updatedBuildConfig.getTestCheckoutPath() : null;\n if (!Objects.equals(original.assignmentCheckoutPath(), assignmentCheckoutPath) || !Objects.equals(original.solutionCheckoutPath(), solutionCheckoutPath)\n || !Objects.equals(original.testCheckoutPath(), testCheckoutPath)) {\n throw new BadRequestAlertException(\"The custom checkout paths cannot be changed!\", ENTITY_NAME, \"checkoutDirectoriesChanged\");\n }\n }\n\n /**\n * Refuses a request that names another course or exercise group than the exercise belongs to.\n *\n * @param updateDTO the update request\n * @param programmingExercise the exercise as it is stored\n */\n public void validateCourseAndExerciseGroupUnchanged(UpdateProgrammingExerciseDTO updateDTO, ProgrammingExercise programmingExercise) {\n Long existingCourseId = programmingExercise.isCourseExercise() && programmingExercise.getCourseViaExerciseGroupOrCourseMember() != null\n ? programmingExercise.getCourseViaExerciseGroupOrCourseMember().getId()\n : null;\n Long existingExerciseGroupId = programmingExercise.getExerciseGroup() != null ? programmingExercise.getExerciseGroup().getId() : null;\n if (!Objects.equals(existingCourseId, updateDTO.courseId()) || !Objects.equals(existingExerciseGroupId, updateDTO.exerciseGroupId())) {\n throw new ConflictException(\"The course or exercise group cannot be changed\", ENTITY_NAME, \"courseOrExerciseGroupCannotChange\");\n }\n }\n\n /**\n * Refuses a request that changes the auxiliary repositories of the exercise. Only the ordinary update checks, creates and removes them, so a request that is applied without\n * it must keep the list as it is. A request that repeats the stored list, or leaves the list out, is accepted. This has to run before the request is applied.\n *\n * @param updateDTO the request\n * @param programmingExercise the exercise as it is stored, with its auxiliary repositories\n * @throws BadRequestAlertException if the request adds, removes or edits an auxiliary repository\n */\n public void validateAuxiliaryRepositoriesUnchanged(UpdateProgrammingExerciseDTO updateDTO, ProgrammingExercise programmingExercise) {\n if (updateDTO.auxiliaryRepositories() == null) {\n return;\n }\n Set stored = new HashSet<>();\n if (programmingExercise.getAuxiliaryRepositories() != null) {\n programmingExercise.getAuxiliaryRepositories().forEach(repository -> stored\n .add(new AuxiliaryRepositoryValues(repository.getId(), repository.getName(), repository.getCheckoutDirectory(), repository.getDescription())));\n }\n Set requested = new HashSet<>();\n updateDTO.auxiliaryRepositories()\n .forEach(repository -> requested.add(new AuxiliaryRepositoryValues(repository.id(), repository.name(), repository.checkoutDirectory(), repository.description())));\n // a repeated entry makes the lists differ in length without making the sets differ\n if (updateDTO.auxiliaryRepositories().size() != stored.size() || !stored.equals(requested)) {\n throw new BadRequestAlertException(\"The auxiliary repositories cannot be changed while the results are re-evaluated\", ENTITY_NAME, \"auxiliaryRepositoriesChanged\");\n }\n }\n\n /**\n * The values of an auxiliary repository that the update of the repositories compares, which leaves the address aside as the server sets it.\n */\n private record AuxiliaryRepositoryValues(Long id, String name, String checkoutDirectory, String description) {\n }\n\n /**\n * Updates the existing ProgrammingExercise entity with values from the DTO.\n * This includes updating competency links using the proper mechanism and restoring the timeline of an owning\n * variant group, so every caller persists a member with the group's dates.\n *\n * @param dto the DTO containing updated values\n * @param exercise the existing exercise entity to update\n * @param buildConfig the stored build configuration of that exercise\n * @param hyperionCompetencyIds competency IDs whose new links were suggested by Hyperion\n * @return the updated exercise entity\n */\n public ProgrammingExercise apply(UpdateProgrammingExerciseDTO dto, ProgrammingExercise exercise, ProgrammingExerciseBuildConfig buildConfig, Set hyperionCompetencyIds) {\n if (dto == null) {\n throw new BadRequestAlertException(\"No programming exercise was provided.\", ENTITY_NAME, \"isNull\");\n }\n\n // Update base exercise fields\n exercise.setTitle(dto.title());\n exercise.validateTitle();\n exercise.setShortName(dto.shortName());\n\n // The problem statement is owned by the collaborative (Yjs) editor and its dedicated PATCH endpoint, not by this metadata\n // update. A blank or absent value here means the editor has not finished its initial sync yet (e.g. the user saved a\n // category change on a slow connection before the statement loaded), so we keep the persisted statement instead of wiping\n // it. See issue #13046.\n if (dto.problemStatement() != null && !dto.problemStatement().isBlank()) {\n exercise.setProblemStatement(dto.problemStatement());\n }\n\n dto.applyMetadataTo(exercise);\n exercise.setAssessmentType(dto.assessmentType());\n exercise.setExampleSolutionPublicationDate(dto.exampleSolutionPublicationDate());\n\n // Only set boolean values if they are explicitly provided (not null)\n dto.applyAssessmentFlagsTo(exercise);\n\n exercise.setGradingInstructions(dto.gradingInstructions());\n\n // Update programming exercise specific fields\n if (dto.allowOnlineEditor() != null) {\n exercise.setAllowOnlineEditor(dto.allowOnlineEditor());\n }\n if (dto.allowOfflineIde() != null) {\n exercise.setAllowOfflineIde(dto.allowOfflineIde());\n }\n exercise.setAllowOnlineIde(dto.allowOnlineIde());\n\n if (dto.maxStaticCodeAnalysisPenalty() != null) {\n exercise.setMaxStaticCodeAnalysisPenalty(dto.maxStaticCodeAnalysisPenalty());\n }\n\n exercise.setShowTestNamesToStudents(dto.showTestNamesToStudents());\n exercise.setBuildAndTestStudentSubmissionsAfterDueDate(dto.buildAndTestStudentSubmissionsAfterDueDate());\n if (exercise.isCourseExercise() && exercise.getDueDate() == null) {\n exercise.setBuildAndTestStudentSubmissionsAfterDueDate(null);\n }\n\n if (dto.testCasesChanged() != null) {\n exercise.setTestCasesChanged(dto.testCasesChanged());\n }\n\n // The submission policy is not part of this update. Its dedicated endpoints add, change and remove it, and they also apply the effect of the change to the\n // participations, so a policy that the request omits or alters here stays as it is.\n exercise.setProjectType(dto.projectType());\n exercise.setReleaseTestsWithExampleSolution(dto.releaseTestsWithExampleSolution());\n\n // Update auxiliary repositories. Attached one by one rather than assigned as a collection: a repository\n // carries the key to its exercise, and one deserialized from the request body names none until it is attached,\n // so a flush between here and the auxiliary repository handling below would write that null over the exercise.\n if (dto.auxiliaryRepositories() != null) {\n List auxRepos = dto.auxiliaryRepositories().stream().map(AuxiliaryRepositoryDTO::toEntity).toList();\n exercise.setAuxiliaryRepositories(new LinkedHashSet<>());\n auxRepos.forEach(exercise::addAuxiliaryRepository);\n }\n\n // Update build config\n updateBuildConfig(dto.buildConfig(), buildConfig);\n\n // Update plagiarism detection config\n PlagiarismDetectionConfigHelper.applyToExercise(exercise, dto.plagiarismDetectionConfig());\n\n // Update grading criteria\n updateGradingCriteria(dto, exercise);\n\n // Update competency links using the proper mechanism\n competencyExerciseLinkService.updateCompetencyLinks(dto, exercise, hyperionCompetencyIds);\n\n // A variant group owns its members' shared dates, so pin those back to the group. The build-and-test date stays\n // per exercise and is only re-derived from the shared due date. The dedicated timeline endpoint rejects group\n // members outright instead.\n exerciseVariantGroupService.applyOwningGroupTimeline(exercise);\n\n return exercise;\n }\n\n /**\n * Updates the build config entity with values from the DTO.\n *\n * @param dto the DTO containing updated build config values\n * @param buildConfig the existing build config entity to update\n */\n private void updateBuildConfig(UpdateProgrammingExerciseBuildConfigDTO dto, ProgrammingExerciseBuildConfig buildConfig) {\n if (dto == null || buildConfig == null) {\n return;\n }\n\n if (dto.sequentialTestRuns() != null) {\n buildConfig.setSequentialTestRuns(dto.sequentialTestRuns());\n }\n // Note: branch is preserved from original (immutable during update)\n if (dto.buildPlanConfiguration() != null) {\n buildConfig.setBuildPlanConfiguration(dto.buildPlanConfiguration());\n }\n buildConfig.setBuildScript(null);\n buildConfig.setCheckoutSolutionRepository(dto.checkoutSolutionRepository());\n buildConfig.setTestCheckoutPath(dto.testCheckoutPath());\n buildConfig.setAssignmentCheckoutPath(dto.assignmentCheckoutPath());\n buildConfig.setSolutionCheckoutPath(dto.solutionCheckoutPath());\n buildConfig.setTimeoutSeconds(dto.timeoutSeconds());\n buildConfig.setDockerFlags(dto.dockerFlags());\n buildConfig.setTheiaImage(dto.theiaImage());\n buildConfig.setOnlineIdeExperienceLevel(dto.onlineIdeExperienceLevel());\n buildConfig.setAllowBranching(dto.allowBranching());\n buildConfig.setBranchRegex(dto.branchRegex());\n buildConfig.setBuildTimeWindow(dto.advancedSettings() != null ? dto.advancedSettings().buildTimeWindow() : null);\n }\n\n /**\n * Updates grading criteria from the DTO.\n *\n * @param dto the DTO containing grading criteria\n * @param exercise the exercise to update\n */\n private void updateGradingCriteria(UpdateProgrammingExerciseDTO dto, ProgrammingExercise exercise) {\n if (dto.gradingCriteria() == null || dto.gradingCriteria().isEmpty()) {\n Set criteria = exercise.ensureGradingCriteriaSet();\n criteria.clear();\n return;\n }\n\n GradingCriteriaMapper.replace(dto.gradingCriteria(), exercise);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/e1e2f994644b8c9197ddd136246da0ebff41866a.json b/web/public/bundles/artemis/code/e1e2f994644b8c9197ddd136246da0ebff41866a.json new file mode 100644 index 00000000..079ad21d --- /dev/null +++ b/web/public/bundles/artemis/code/e1e2f994644b8c9197ddd136246da0ebff41866a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e1e2f994644b8c9197ddd136246da0ebff41866a", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/config/HyperionGenerationCapacityHealthIndicator.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.hyperion.config;\n\nimport java.util.concurrent.atomic.AtomicLong;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.boot.health.contributor.Health;\nimport org.springframework.boot.health.contributor.HealthIndicator;\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.stereotype.Component;\n\nimport de.tum.cit.aet.artemis.core.service.connectors.ConnectorHealth;\nimport de.tum.cit.aet.artemis.hyperion.service.exercisegeneration.worker.GenerationWorkerRegistryService;\n\n/** Reports dedicated generation-worker capacity without involving LocalCI build agents. */\n@Lazy\n@Component\n@Conditional(HyperionExerciseGenerationEnabled.class)\npublic class HyperionGenerationCapacityHealthIndicator implements HealthIndicator {\n\n private static final Logger log = LoggerFactory.getLogger(HyperionGenerationCapacityHealthIndicator.class);\n\n private final GenerationWorkerRegistryService workers;\n\n private final AtomicLong lastWarning = new AtomicLong();\n\n public HyperionGenerationCapacityHealthIndicator(GenerationWorkerRegistryService workers) {\n this.workers = workers;\n }\n\n /** Emits a rate-limited capacity diagnostic without logging credentials or job content. */\n public void warnGenerationRejectedForMissingCapacity() {\n long now = System.currentTimeMillis();\n long previous = lastWarning.get();\n if (now - previous > 300_000 && lastWarning.compareAndSet(previous, now)) {\n log.warn(\"Hyperion generation has no available worker. Check the distributed-data provider, worker image and worker readiness.\");\n }\n }\n\n @Override\n public Health health() {\n int reachable = workers.reachableWorkers();\n int available = workers.availableWorkers();\n int capable = workers.capableWorkers();\n return (capable == 0 ? Health.status(ConnectorHealth.DEGRADED) : Health.up()).withDetail(\"reachableWorkers\", reachable).withDetail(\"capableWorkers\", capable)\n .withDetail(\"availableWorkers\", available).build();\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/e23dfce4dd51608627eb7f551ef62e6c1c62e9a8.json b/web/public/bundles/artemis/code/e23dfce4dd51608627eb7f551ef62e6c1c62e9a8.json new file mode 100644 index 00000000..da849db3 --- /dev/null +++ b/web/public/bundles/artemis/code/e23dfce4dd51608627eb7f551ef62e6c1c62e9a8.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e23dfce4dd51608627eb7f551ef62e6c1c62e9a8", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/domain/ConversationParticipant.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.communication.domain;\n\nimport java.time.ZonedDateTime;\n\nimport jakarta.persistence.Column;\nimport jakarta.persistence.Entity;\nimport jakarta.persistence.JoinColumn;\nimport jakarta.persistence.ManyToOne;\nimport jakarta.persistence.Table;\n\nimport org.jspecify.annotations.NonNull;\n\nimport com.fasterxml.jackson.annotation.JsonIgnore;\nimport com.fasterxml.jackson.annotation.JsonInclude;\nimport com.fasterxml.jackson.annotation.JsonIncludeProperties;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.communication.domain.conversation.Conversation;\nimport de.tum.cit.aet.artemis.core.domain.DomainObject;\nimport de.tum.cit.aet.artemis.core.domain.Parent;\n\n@Entity\n@Table(name = \"conversation_participant\")\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic class ConversationParticipant extends DomainObject {\n\n @ManyToOne\n @JsonIgnore\n @JoinColumn(nullable = false)\n @Parent\n private Conversation conversation;\n\n @ManyToOne\n @JsonIncludeProperties({ \"id\", \"firstName\", \"lastName\" })\n @JoinColumn(nullable = false)\n @NonNull\n @Parent\n private User user;\n\n /**\n * Currently only used for {@link de.tum.cit.aet.artemis.communication.domain.conversation.Channel}\n */\n @Column(name = \"is_moderator\")\n private Boolean isModerator;\n\n @Column(name = \"is_favorite\", nullable = false)\n private boolean isFavorite;\n\n @Column(name = \"is_hidden\", nullable = false)\n private boolean isHidden;\n\n @Column(name = \"is_muted\")\n private boolean isMuted;\n\n @Column(name = \"last_read\")\n private ZonedDateTime lastRead;\n\n @Column(name = \"unread_messages_count\")\n private Long unreadMessagesCount;\n\n /**\n * Creates a ConversationParticipant object for the provided user and conversation. The returned participant is not\n * a moderator, hasn't hidden the conversation, hasn't marked the conversation as favorite, has 0 unread messages\n * and a last read date set to 2 years into the past.\n *\n * @param user the user for the participant\n * @param conversation the conversation for the participant\n * @return participant with default value\n */\n public static ConversationParticipant createWithDefaultValues(User user, Conversation conversation) {\n ConversationParticipant participant = new ConversationParticipant();\n participant.setUser(user);\n participant.setConversation(conversation);\n participant.setIsModerator(false);\n participant.setIsFavorite(false);\n participant.setIsHidden(false);\n participant.setIsMuted(false);\n // set the last reading time of a participant in the past when creating conversation for the first time!\n participant.setLastRead(ZonedDateTime.now().minusYears(2));\n participant.setUnreadMessagesCount(0L);\n return participant;\n }\n\n public Long getUnreadMessagesCount() {\n return unreadMessagesCount;\n }\n\n public void setUnreadMessagesCount(Long unreadMessagesCount) {\n this.unreadMessagesCount = unreadMessagesCount;\n }\n\n public Conversation getConversation() {\n return conversation;\n }\n\n public void setConversation(Conversation conversation) {\n this.conversation = conversation;\n }\n\n public User getUser() {\n return user;\n }\n\n public void setUser(User user) {\n this.user = user;\n }\n\n public ZonedDateTime getLastRead() {\n return lastRead;\n }\n\n public void setLastRead(ZonedDateTime lastRead) {\n this.lastRead = lastRead;\n }\n\n public void filterSensitiveInformation() {\n setLastRead(null);\n }\n\n public Boolean getIsModerator() {\n return isModerator;\n }\n\n public void setIsModerator(Boolean isModerator) {\n this.isModerator = isModerator;\n }\n\n public boolean getIsFavorite() {\n return isFavorite;\n }\n\n public void setIsFavorite(boolean favorite) {\n isFavorite = favorite;\n }\n\n public boolean getIsHidden() {\n return isHidden;\n }\n\n public void setIsHidden(boolean hidden) {\n isHidden = hidden;\n }\n\n public boolean getIsMuted() {\n return isMuted;\n }\n\n public void setIsMuted(boolean isMuted) {\n this.isMuted = isMuted;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/e32e7d244272035480f6f470f23920898b8b053e.json b/web/public/bundles/artemis/code/e32e7d244272035480f6f470f23920898b8b053e.json new file mode 100644 index 00000000..d1a62b6f --- /dev/null +++ b/web/public/bundles/artemis/code/e32e7d244272035480f6f470f23920898b8b053e.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e32e7d244272035480f6f470f23920898b8b053e", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingExerciseCreationScheduleService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.programming.service;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\n\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.core.service.messaging.InstanceMessageSendService;\nimport de.tum.cit.aet.artemis.notification.service.notifications.GroupNotificationScheduleService;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingExercise;\n\n@Service\n@Lazy\n@Profile(PROFILE_CORE)\npublic class ProgrammingExerciseCreationScheduleService {\n\n private final GroupNotificationScheduleService groupNotificationScheduleService;\n\n private final InstanceMessageSendService instanceMessageSendService;\n\n public ProgrammingExerciseCreationScheduleService(GroupNotificationScheduleService groupNotificationScheduleService, InstanceMessageSendService instanceMessageSendService) {\n this.groupNotificationScheduleService = groupNotificationScheduleService;\n this.instanceMessageSendService = instanceMessageSendService;\n }\n\n public void performScheduleOperationsAndCheckNotifications(ProgrammingExercise programmingExercise) {\n scheduleOperations(programmingExercise.getId());\n groupNotificationScheduleService.checkNotificationsForNewExerciseAsync(programmingExercise);\n }\n\n public void scheduleOperations(long programmingExerciseId) {\n instanceMessageSendService.sendProgrammingExerciseSchedule(programmingExerciseId);\n }\n\n public void createNotificationsOnUpdate(ProgrammingExercise programmingExerciseBeforeUpdate, ProgrammingExercise savedProgrammingExercise, String notificationText) {\n groupNotificationScheduleService.checkAndCreateAppropriateNotificationsWhenUpdatingExercise(programmingExerciseBeforeUpdate, savedProgrammingExercise, notificationText);\n\n }\n\n}\n" +} diff --git a/web/public/bundles/artemis/code/e338c963fa2338f380d3b20adf91bd24d06ff82e.json b/web/public/bundles/artemis/code/e338c963fa2338f380d3b20adf91bd24d06ff82e.json new file mode 100644 index 00000000..9feb53c4 --- /dev/null +++ b/web/public/bundles/artemis/code/e338c963fa2338f380d3b20adf91bd24d06ff82e.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e338c963fa2338f380d3b20adf91bd24d06ff82e", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/StaticCodeAnalysisDefaultCategory.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.programming.domain;\n\nimport java.util.List;\n\nimport de.tum.cit.aet.artemis.assessment.domain.CategoryState;\n\n/**\n * Read-only POJO for storing static code analysis configurations initialized at start-up of Artemis\n */\npublic record StaticCodeAnalysisDefaultCategory(String name, Double penalty, Double maxPenalty, CategoryState state, List categoryMappings) {\n\n public record CategoryMapping(StaticCodeAnalysisTool tool, String category) {\n }\n\n /**\n * Create a new StaticCodeAnalysisCategory using the provided default settings.\n *\n * @param programmingExercise the programming exercise to link the created category with.\n * @return new StaticCodeAnalysisCategory object initialized with default settings.\n */\n public StaticCodeAnalysisCategory toStaticCodeAnalysisCategory(ProgrammingExercise programmingExercise) {\n StaticCodeAnalysisCategory newCategory = new StaticCodeAnalysisCategory();\n newCategory.setName(name());\n newCategory.setPenalty(penalty());\n newCategory.setMaxPenalty(maxPenalty());\n newCategory.setState(state());\n newCategory.setProgrammingExercise(programmingExercise);\n return newCategory;\n }\n\n @Override\n public String toString() {\n return \"StaticCodeAnalysisDefaultCategory{\" + \"name='\" + name + '\\'' + \", penalty=\" + penalty + \", maxPenalty=\" + maxPenalty + \", state=\" + state + '}';\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/e3991d61da5681f6df067bea92623a86edd978b2.json b/web/public/bundles/artemis/code/e3991d61da5681f6df067bea92623a86edd978b2.json new file mode 100644 index 00000000..7110f9ef --- /dev/null +++ b/web/public/bundles/artemis/code/e3991d61da5681f6df067bea92623a86edd978b2.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e3991d61da5681f6df067bea92623a86edd978b2", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/versioning/FileUploadExerciseSnapshotDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exercise.dto.versioning;\n\nimport java.io.Serializable;\n\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.fileupload.domain.FileUploadExercise;\n\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\n@JsonIgnoreProperties(ignoreUnknown = true)\npublic record FileUploadExerciseSnapshotDTO(String exampleSolution, String filePattern) implements Serializable {\n\n public static FileUploadExerciseSnapshotDTO of(FileUploadExercise exercise) {\n return new FileUploadExerciseSnapshotDTO(exercise.getExampleSolution(), exercise.getFilePattern());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/e3cf120195733bca01cd1671ae9c756fa223008e.json b/web/public/bundles/artemis/code/e3cf120195733bca01cd1671ae9c756fa223008e.json new file mode 100644 index 00000000..e81c2696 --- /dev/null +++ b/web/public/bundles/artemis/code/e3cf120195733bca01cd1671ae9c756fa223008e.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e3cf120195733bca01cd1671ae9c756fa223008e", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/dto/LectureCourseHomeDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.lecture.dto;\n\nimport java.time.Instant;\nimport java.util.List;\n\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.course.domain.CourseHomeSectionStatus;\nimport de.tum.cit.aet.artemis.course.dto.home.CourseHomeDTO;\n\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record LectureCourseHomeDTO(CourseHomeSectionStatus status, List items, @Nullable Instant nextRefreshAt) {\n\n public LectureCourseHomeDTO(CourseHomeSectionStatus status, List items) {\n this(status, items, null);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/e4bf1c9d28f8a1f4cb2da25fd27e834760f5ea6c.json b/web/public/bundles/artemis/code/e4bf1c9d28f8a1f4cb2da25fd27e834760f5ea6c.json new file mode 100644 index 00000000..9eb942aa --- /dev/null +++ b/web/public/bundles/artemis/code/e4bf1c9d28f8a1f4cb2da25fd27e834760f5ea6c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e4bf1c9d28f8a1f4cb2da25fd27e834760f5ea6c", + "language": "typescript", + "path": "src/main/webapp/app/text/manage/assess/service/text-submission-assessment-resolve.service.ts", + "schema": "codexray.code/1", + "text": "import { HttpErrorResponse } from '@angular/common/http';\nimport { Service, inject } from '@angular/core';\nimport { ActivatedRouteSnapshot, Resolve } from '@angular/router';\nimport { TextSubmission } from 'app/text/shared/entities/text-submission.model';\nimport { Observable, of } from 'rxjs';\n\nimport { AssessmentNotPossibleYetState, getAssessmentNotPossibleYetState } from 'app/assessment/shared/util/assessment-availability.util';\nimport { StudentParticipation } from 'app/exercise/shared/entities/participation/student-participation.model';\nimport { TextAssessmentService } from 'app/text/manage/assess/service/text-assessment.service';\nimport { TextSubmissionService } from 'app/text/overview/service/text-submission.service';\nimport { catchError, map } from 'rxjs/operators';\n\nimport { parseCorrectionRound } from 'app/assessment/shared/util/correction-round.util';\n\n/**\n * What the resolvers below hand to the assessment page. Both swallow load errors so that the page can render instead of\n * the navigation failing, so a missing participation alone does not say why: it means either \"there is nothing to\n * assess\" or \"the exam is not over yet\". Only the latter comes with a reason, and the page needs to tell them apart —\n * otherwise it would claim that the submission was not found while it exists and is simply still being worked on.\n */\nexport interface TextAssessmentRouteData {\n participation?: StudentParticipation;\n assessmentNotPossibleYet?: AssessmentNotPossibleYetState;\n\n /**\n * The correction round the participation above was loaded for. The page indexes the results of the submission by the\n * round, so it must use the very round that was requested: deriving it from the URL a second time in the component\n * would be a second fallback rule, and a page that keeps a round the resolver did not load for picks the result of a\n * round that is not there (#13396).\n */\n correctionRound: number;\n}\n\n/**\n * Turns a failed load into the data the assessment page renders: the \"assessment is not possible yet\" 403 becomes the\n * reason it explains, every other error becomes the empty state it already handled before.\n *\n * @param error the failed response of the endpoint that opens the assessment\n * @param correctionRound the round the failed load was for\n * @returns the resolved route data for that error\n */\nfunction routeDataForError(error: HttpErrorResponse, correctionRound: number): Observable {\n return of({ assessmentNotPossibleYet: getAssessmentNotPossibleYetState(error), correctionRound });\n}\n\n@Service()\nexport class NewStudentParticipationResolver implements Resolve {\n private textSubmissionService = inject(TextSubmissionService);\n\n /**\n * Resolves the needed StudentParticipations for the TextSubmissionAssessmentComponent using the TextAssessmentService.\n * @param route\n */\n resolve(route: ActivatedRouteSnapshot): Observable {\n const exerciseId = Number(route.paramMap.get('exerciseId'));\n // The round the page works on is decided here, once, and handed on below. An absent or unusable value must not\n // reach the server as NaN, a fraction or a negative round.\n const correctionRound = parseCorrectionRound(route.queryParamMap.get('correction-round'));\n if (exerciseId) {\n return this.textSubmissionService.getSubmissionWithoutAssessment(exerciseId, 'lock', correctionRound).pipe(\n map((submission?: TextSubmission) => ({ participation: submission?.participation, correctionRound })),\n catchError((error: HttpErrorResponse) => routeDataForError(error, correctionRound)),\n );\n }\n return of({ correctionRound });\n }\n}\n\n@Service()\nexport class StudentParticipationResolver implements Resolve {\n private textAssessmentService = inject(TextAssessmentService);\n\n /**\n * Resolves the needed StudentParticipations for the TextSubmissionAssessmentComponent using the TextAssessmentService.\n * @param route\n */\n resolve(route: ActivatedRouteSnapshot): Observable {\n const submissionId = Number(route.paramMap.get('submissionId'));\n // The round the page works on is decided here, once, and handed on below. An absent or unusable value must not\n // reach the server as NaN, a fraction or a negative round.\n const correctionRound = parseCorrectionRound(route.queryParamMap.get('correction-round'));\n const resultId = Number(route.paramMap.get('resultId'));\n if (resultId) {\n // A named result identifies its round by itself, so the page derives the round from the result it got back\n // rather than from the parameter. The round travels along anyway to keep the route data one shape.\n return this.textAssessmentService.getFeedbackDataForExerciseSubmission(submissionId, undefined, resultId).pipe(\n map((participation) => ({ participation, correctionRound })),\n catchError((error: HttpErrorResponse) => routeDataForError(error, correctionRound)),\n );\n }\n if (submissionId) {\n return this.textAssessmentService.getFeedbackDataForExerciseSubmission(submissionId, correctionRound).pipe(\n map((participation) => ({ participation, correctionRound })),\n catchError((error: HttpErrorResponse) => routeDataForError(error, correctionRound)),\n );\n }\n return of({ correctionRound });\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/e4c0774a6e0f1683fadc38218b47d332e8912d9e.json b/web/public/bundles/artemis/code/e4c0774a6e0f1683fadc38218b47d332e8912d9e.json new file mode 100644 index 00000000..f7fea602 --- /dev/null +++ b/web/public/bundles/artemis/code/e4c0774a6e0f1683fadc38218b47d332e8912d9e.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e4c0774a6e0f1683fadc38218b47d332e8912d9e", + "language": "typescript", + "path": "src/main/webapp/app/hyperion/code-editor/ai-actions/code-editor-ai-actions.component.ts", + "schema": "codexray.code/1", + "text": "import { HyperionStatusComponent } from 'app/hyperion/shared/status/hyperion-status.component';\nimport { ChangeDetectionStrategy, Component, ElementRef, computed, input, model, output, viewChild } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { UrlTree } from '@angular/router';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { faBan, faCheckDouble, faChevronDown, faClone, faListCheck, faPaperPlane, faPen, faSpinner, faTimes, faTriangleExclamation } from '@fortawesome/free-solid-svg-icons';\nimport { TumAetUiButtonDirective } from '@tumaet/ui-angular/button';\nimport { TumAetUiInputDirective } from '@tumaet/ui-angular/input';\nimport { TumAetUiMenuComponent, TumAetUiMenuItemDirective, TumAetUiMenuTriggerDirective } from '@tumaet/ui-angular/menu';\nimport { TumAetUiPopoverComponent } from '@tumaet/ui-angular/popover';\nimport { TumAetUiTagComponent } from '@tumaet/ui-angular/tag';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { facArtemisIntelligence } from 'app/foundation/icons/icons';\nimport { MAX_USER_PROMPT_LENGTH, PROMPT_LENGTH_WARNING_THRESHOLD } from 'app/hyperion/problem-statement/problem-statement.utils';\n\n/**\n * The code editor's AI actions: one **Artemis Intelligence** menu with the run in progress, adaptation, variants, the\n * problem-statement refinement and the consistency check. Nothing here is hidden by state - an action that cannot run\n * right now is disabled with its reason as a tooltip, without adding another control to the editor toolbar.\n *\n * Presentational: the container owns every decision (feature flags, eligibility, run state) and passes the outcome in\n * as a translation key per action; `undefined` means the action is available.\n */\n@Component({\n selector: 'jhi-code-editor-ai-actions',\n templateUrl: './code-editor-ai-actions.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n FormsModule,\n FaIconComponent,\n ArtemisTranslatePipe,\n TranslateDirective,\n TumAetUiButtonDirective,\n TumAetUiMenuComponent,\n TumAetUiMenuItemDirective,\n TumAetUiMenuTriggerDirective,\n TumAetUiPopoverComponent,\n HyperionStatusComponent,\n TumAetUiTagComponent,\n TumAetUiInputDirective,\n ],\n})\nexport class CodeEditorAiActionsComponent {\n /** Whether this deployment offers whole-exercise adaptation for the open exercise. */\n readonly adaptOffered = input(false);\n /**\n * Translation key for why this exercise cannot be adapted at all; `undefined` when the dialog may open. A run in\n * progress is not a reason here: the dialog explains it and links to the run.\n */\n readonly adaptUnavailableReason = input();\n /** Review comments already selected as feedback, shown on the menu trigger so a selection is never invisible. */\n readonly selectedFeedbackCount = input(0);\n /** Link to the run view while a run, or a lost run status, needs the instructor's attention; adds \"View AI progress\" to the menu. */\n readonly progressLink = input();\n readonly progressRunning = input(false);\n readonly variantOffered = input(false);\n readonly variantBlockedReason = input();\n readonly variantRequested = output();\n readonly progressRequested = output();\n /** Whether the problem statement is still the template, which turns \"refine\" into \"generate\". */\n readonly problemStatementEmpty = input(false);\n readonly refineBlockedReason = input();\n readonly consistencyBlockedReason = input();\n /** Open consistency issues, available directly from the toolbar. */\n readonly issueCount = input(0);\n /** Any AI operation in flight, shown as a spinner on the menu trigger. */\n readonly busy = input(false);\n /** A cancellable problem-statement operation is running. */\n readonly cancelAvailable = input(false);\n /** The refinement prompt, kept across popover dismissals so typed text is not lost. */\n readonly prompt = model('');\n\n readonly adaptRequested = output();\n readonly refineSubmitted = output();\n readonly consistencyRequested = output();\n readonly issuesToggled = output();\n readonly cancelRequested = output();\n\n protected readonly MAX_USER_PROMPT_LENGTH = MAX_USER_PROMPT_LENGTH;\n protected readonly facArtemisIntelligence = facArtemisIntelligence;\n protected readonly faBan = faBan;\n protected readonly faCheckDouble = faCheckDouble;\n protected readonly faChevronDown = faChevronDown;\n protected readonly faClone = faClone;\n protected readonly faListCheck = faListCheck;\n protected readonly faPen = faPen;\n protected readonly faPaperPlane = faPaperPlane;\n protected readonly faSpinner = faSpinner;\n protected readonly faTimes = faTimes;\n protected readonly faTriangleExclamation = faTriangleExclamation;\n\n private readonly refinementPopover = viewChild.required('refinementPopover');\n // `tumAetUiButton` is a component, so the reference must be read as the element for the popover to anchor to it.\n private readonly menuTrigger = viewChild.required('menuTrigger', { read: ElementRef });\n\n protected readonly refineLabelKey = computed(() =>\n this.problemStatementEmpty()\n ? 'artemisApp.programmingExercise.problemStatement.generationAssistance'\n : 'artemisApp.programmingExercise.problemStatement.refinementAssistance',\n );\n protected readonly refineSubmitKey = computed(() =>\n this.problemStatementEmpty() ? 'artemisApp.programmingExercise.problemStatement.generate' : 'artemisApp.programmingExercise.problemStatement.refine',\n );\n protected readonly promptNearLimit = computed(() => this.prompt().length >= MAX_USER_PROMPT_LENGTH * PROMPT_LENGTH_WARNING_THRESHOLD);\n protected readonly promptSubmittable = computed(() => this.prompt().trim().length > 0 && !this.refineBlockedReason());\n protected readonly issueCountLabel = computed(() => String(this.issueCount()));\n\n protected requestVariant(): void {\n if (this.variantOffered() && !this.variantBlockedReason()) {\n this.variantRequested.emit();\n }\n }\n\n protected requestAdapt(): void {\n if (this.adaptOffered() && !this.adaptUnavailableReason()) {\n this.adaptRequested.emit();\n }\n }\n\n /** Opens the prompt next to the trigger the menu was opened from, so the popover appears where the instructor was. */\n protected openRefinement(): void {\n this.refinementPopover().open(this.menuTrigger());\n }\n\n protected submitRefinement(): void {\n if (!this.promptSubmittable()) {\n return;\n }\n this.refinementPopover().close();\n this.refineSubmitted.emit();\n }\n\n /** Closes the refinement prompt, e.g. when the exercise changes underneath the editor. The typed text is kept. */\n close(): void {\n this.refinementPopover().close();\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/e529ea67b4f7893a3aef41198a062f884c7a3318.json b/web/public/bundles/artemis/code/e529ea67b4f7893a3aef41198a062f884c7a3318.json new file mode 100644 index 00000000..4b3eea52 --- /dev/null +++ b/web/public/bundles/artemis/code/e529ea67b4f7893a3aef41198a062f884c7a3318.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e529ea67b4f7893a3aef41198a062f884c7a3318", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/domain/Lecture.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.lecture.domain;\n\nimport java.time.ZonedDateTime;\nimport java.util.Comparator;\nimport java.util.LinkedHashSet;\nimport java.util.List;\nimport java.util.Set;\n\nimport jakarta.persistence.CascadeType;\nimport jakarta.persistence.Column;\nimport jakarta.persistence.Entity;\nimport jakarta.persistence.JoinColumn;\nimport jakarta.persistence.ManyToOne;\nimport jakarta.persistence.OneToMany;\nimport jakarta.persistence.OrderBy;\nimport jakarta.persistence.PrePersist;\nimport jakarta.persistence.PreUpdate;\nimport jakarta.persistence.Table;\nimport jakarta.validation.constraints.NotNull;\n\nimport org.hibernate.Hibernate;\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\nimport com.fasterxml.jackson.annotation.JsonInclude;\nimport com.fasterxml.jackson.annotation.JsonProperty;\n\nimport de.tum.cit.aet.artemis.core.domain.DomainObject;\nimport de.tum.cit.aet.artemis.core.domain.Parent;\nimport de.tum.cit.aet.artemis.course.domain.Course;\n\n/**\n * A Lecture can consist of multiple LectureUnits (e.g. Attachment, Text, Video, ExerciseUnit, etc.) that can be linked to competencies.\n * Artemis supports automatic lecture transcription for video lecture units and adds lecture content to Pyris for better AI assistance by Iris.\n * Some features depend on the configuration, consult the documentation for details.\n * See {@link de.tum.cit.aet.artemis.atlas.config.AtlasEnabled} and {@link de.tum.cit.aet.artemis.core.config.Constants} for more information.\n * Tutorial lectures are a special type of lectures that are not shown in the main lecture list, but in the tutorial section.\n */\n@Entity\n@Table(name = \"lecture\")\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic class Lecture extends DomainObject {\n\n @Column(name = \"title\")\n private String title;\n\n @Column(name = \"description\")\n private String description;\n\n @Column(name = \"start_date\")\n private ZonedDateTime startDate;\n\n @Column(name = \"end_date\")\n private ZonedDateTime endDate;\n\n @Column(name = \"is_tutorial_lecture\")\n private boolean isTutorialLecture;\n\n /**\n * The lecture units of this lecture.\n *

\n * Note: We use a Set here to avoid issues with Hibernate and JPA when managing the collection.\n * A list without @OrderColumn is treated as Bag and would lead to issues when fetching data like lecture.lectureUnits.competencyLinks\n * A Set prevents this, a LinkedHashSet is used to maintain insertion order.\n *

\n * Note: We cannot use @OrderColumn here because this leads to issues when saving the lecture (there were ugly workarounds needed in the past) and could potentially lead to\n * null values in the order column which leads to unexpected behavior and unresolvable bugs in the user interface. This has happened in the past, therefore, we decided to\n * NOT rely on @OrderColumn anymore.\n *

\n * Instead, we manage the order manually via the lectureUnitOrder field in LectureUnit, other developers who use lecture and lectureUnit do not need to worry about it as\n * long as they use the provided methods to add/remove/reorder lecture units.\n *\n */\n @OneToMany(mappedBy = \"lecture\", cascade = CascadeType.ALL, orphanRemoval = true)\n @OrderBy(\"lectureUnitOrder ASC\") // DB → Java: always ordered by that column\n @JsonIgnoreProperties(\"lecture\")\n private Set lectureUnits = new LinkedHashSet<>();\n\n @ManyToOne\n @JsonIgnoreProperties(value = { \"lectures\", \"exercises\", \"posts\" }, allowSetters = true)\n @JoinColumn(nullable = false)\n @Parent\n private Course course;\n\n public String getTitle() {\n return title;\n }\n\n public void setTitle(String title) {\n this.title = title;\n }\n\n public String getDescription() {\n return description;\n }\n\n public void setDescription(String description) {\n this.description = description;\n }\n\n public ZonedDateTime getStartDate() {\n return startDate;\n }\n\n public void setStartDate(ZonedDateTime startDate) {\n this.startDate = startDate;\n }\n\n public ZonedDateTime getEndDate() {\n return endDate;\n }\n\n public void setEndDate(ZonedDateTime endDate) {\n this.endDate = endDate;\n }\n\n @JsonProperty(\"isTutorialLecture\")\n public boolean isTutorialLecture() {\n return isTutorialLecture;\n }\n\n public void setIsTutorialLecture(boolean isTutorialLecture) {\n this.isTutorialLecture = isTutorialLecture;\n }\n\n /**\n * Get an unmodifiable list of lecture units when the objects are initialized by Hibernate.\n * This is important so that external code does not modify the list without updating the back-references and order.\n *

\n * Use {@link #addLectureUnit}, {@link #removeLectureUnit}, {@link #setLectureUnits}, or {@link #reorderLectureUnits} to modify the lecture units.\n *\n * @return the lecture units\n */\n public List getLectureUnits() {\n if (Hibernate.isInitialized(lectureUnits)) {\n return List.copyOf(lectureUnits);\n }\n // when not initialized, return an empty list to avoid LazyInitializationExceptions\n return List.of();\n }\n\n /**\n * Reorder the lecture units based on the given list of ordered IDs.\n * Makes sure to update the order after reordering.\n *\n * @param orderedIds the list of lecture unit IDs in the desired order\n */\n public void reorderLectureUnits(@NotNull List orderedIds) {\n List sorted = lectureUnits.stream().sorted(Comparator.comparing(unit -> orderedIds.indexOf(unit.getId()))).toList();\n lectureUnits.clear();\n lectureUnits.addAll(sorted);\n updateLectureUnitOrder();\n }\n\n /**\n * Set the lecture units, replacing any existing ones.\n * Makes sure to update back-references and order.\n *\n * @param lectureUnits the new list of lecture units\n */\n public void setLectureUnits(@Nullable List lectureUnits) {\n // this if statement is important to avoid issues when setting lazy loaded lectureUnits to null or empty which would not work in the else statement\n if (lectureUnits == null || lectureUnits.isEmpty()) {\n this.lectureUnits = new LinkedHashSet<>();\n }\n else {\n this.lectureUnits.clear();\n for (LectureUnit lectureUnit : lectureUnits) {\n addLectureUnit(lectureUnit); // ensures back-reference and collection management\n }\n updateLectureUnitOrder();\n }\n }\n\n /**\n * Add a lecture unit to the end of the list.\n * Makes sure to update back-references and order.\n *\n * @param lectureUnit the lecture unit to add\n */\n public void addLectureUnit(@Nullable LectureUnit lectureUnit) {\n if (lectureUnit == null) {\n return;\n }\n lectureUnits.add(lectureUnit); // order is implicit by position\n lectureUnit.setLecture(this);\n updateLectureUnitOrder();\n }\n\n /**\n * Remove a lecture unit from the list.\n * Makes sure to update back-references and order.\n *\n * @param lectureUnit the lecture unit to remove\n */\n public void removeLectureUnit(@Nullable LectureUnit lectureUnit) {\n if (lectureUnit == null) {\n return;\n }\n lectureUnits.remove(lectureUnit);\n lectureUnit.setLecture(null);\n updateLectureUnitOrder();\n }\n\n /**\n * Remove a lecture unit by its ID.\n * Makes sure to update back-references and order.\n *\n * @param lectureUnitId the ID of the lecture unit to remove\n */\n public void removeLectureUnitById(@Nullable Long lectureUnitId) {\n if (lectureUnitId == null) {\n return;\n }\n\n // find the unit to remove\n LectureUnit toRemove = lectureUnits.stream().filter(unit -> unit != null && lectureUnitId.equals(unit.getId())).findFirst().orElse(null);\n\n removeLectureUnit(toRemove);\n }\n\n /**\n * Update the lectureUnitOrder field of all lecture units based on their current position in the set.\n * This method is called before persisting or updating the Lecture entity to ensure consistency.\n * It can also be called manually after reordering the lecture units or adding/removing some.\n */\n @PrePersist\n @PreUpdate\n public void updateLectureUnitOrder() {\n if (Hibernate.isInitialized(lectureUnits)) {\n int order = 0;\n for (LectureUnit unit : lectureUnits) {\n if (unit == null) {\n continue;\n }\n unit.setLectureUnitOrder(order++);\n }\n }\n }\n\n public Course getCourse() {\n return course;\n }\n\n public void setCourse(Course course) {\n this.course = course;\n }\n\n @Override\n public String toString() {\n return \"Lecture{\" + \"id=\" + getId() + \", title='\" + getTitle() + \"'\" + \", description='\" + getDescription() + \"'\" + \", startDate='\" + getStartDate() + \"'\" + \", endDate='\"\n + getEndDate() + \"'\" + \"}\";\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/e67fbbd30379d3bf238baeb05798dfa282fc584b.json b/web/public/bundles/artemis/code/e67fbbd30379d3bf238baeb05798dfa282fc584b.json new file mode 100644 index 00000000..2d114cd4 --- /dev/null +++ b/web/public/bundles/artemis/code/e67fbbd30379d3bf238baeb05798dfa282fc584b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e67fbbd30379d3bf238baeb05798dfa282fc584b", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/domain/push_notification/PushNotificationDeviceConfiguration.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.notification.domain.push_notification;\n\nimport java.util.Arrays;\nimport java.util.Date;\nimport java.util.Objects;\n\nimport jakarta.persistence.Column;\nimport jakarta.persistence.Entity;\nimport jakarta.persistence.Enumerated;\nimport jakarta.persistence.Id;\nimport jakarta.persistence.IdClass;\nimport jakarta.persistence.JoinColumn;\nimport jakarta.persistence.ManyToOne;\nimport jakarta.persistence.Table;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.core.domain.Parent;\n\n/**\n * Model for saving PushNotification DeviceTokens for native clients\n */\n@Entity\n@Table(name = \"push_notification_device_configuration\")\n@IdClass(PushNotificationDeviceConfigurationId.class)\npublic class PushNotificationDeviceConfiguration {\n\n @Id\n @Column(name = \"token\")\n private String token;\n\n @Id\n @Column(name = \"device_type\")\n private PushNotificationDeviceType deviceType;\n\n @Enumerated\n @Column(name = \"api_type\")\n private PushNotificationApiType apiType;\n\n @Column(name = \"expiration_date\")\n private Date expirationDate;\n\n @Column(name = \"secret_key\")\n private byte[] secretKey;\n\n @Column(name = \"version_code\")\n private String versionCode;\n\n @Id\n @ManyToOne\n @JoinColumn(name = \"user_id\", nullable = false)\n @Parent\n private User owner;\n\n public PushNotificationDeviceConfiguration(String token, PushNotificationDeviceType deviceType, Date expirationDate, byte[] secretKey, User owner) {\n this.token = token;\n this.deviceType = deviceType;\n this.expirationDate = expirationDate;\n this.secretKey = secretKey;\n this.owner = owner;\n }\n\n public PushNotificationDeviceConfiguration(String token, PushNotificationDeviceType deviceType, Date expirationDate, byte[] secretKey, User owner,\n PushNotificationApiType apiType, String versionCode) {\n this.token = token;\n this.deviceType = deviceType;\n this.expirationDate = expirationDate;\n this.secretKey = secretKey;\n this.owner = owner;\n this.apiType = apiType;\n this.versionCode = versionCode;\n }\n\n public PushNotificationDeviceConfiguration() {\n // needed for JPA\n }\n\n public String getToken() {\n return token;\n }\n\n public PushNotificationDeviceType getDeviceType() {\n return deviceType;\n }\n\n public byte[] getSecretKey() {\n return secretKey;\n }\n\n public User getOwner() {\n return owner;\n }\n\n public Date getExpirationDate() {\n return expirationDate;\n }\n\n public void setSecretKey(byte[] secretKey) {\n this.secretKey = secretKey;\n }\n\n public void setToken(String token) {\n this.token = token;\n }\n\n public void setDeviceType(PushNotificationDeviceType deviceType) {\n this.deviceType = deviceType;\n }\n\n public void setExpirationDate(Date expirationDate) {\n this.expirationDate = expirationDate;\n }\n\n public void setOwner(User owner) {\n this.owner = owner;\n }\n\n public PushNotificationApiType getApiType() {\n return apiType;\n }\n\n public String getVersionCode() {\n return versionCode;\n }\n\n @Override\n public boolean equals(Object object) {\n if (this == object) {\n return true;\n }\n if (object == null || getClass() != object.getClass()) {\n return false;\n }\n PushNotificationDeviceConfiguration that = (PushNotificationDeviceConfiguration) object;\n // Use compareTo rather than equals for dates to ensure timestamps and dates with the same time are considered equal\n // This is caused by Java internal design having different classes for Date (java.util) and Timestamp (java.sql)\n return token.equals(that.token) && deviceType == that.deviceType && expirationDate.compareTo(that.expirationDate) == 0 && Arrays.equals(secretKey, that.secretKey)\n && owner.equals(that.owner);\n }\n\n @Override\n public int hashCode() {\n int result = Objects.hash(token, deviceType, expirationDate, owner);\n result = 31 * result + Arrays.hashCode(secretKey);\n return result;\n }\n\n @Override\n public String toString() {\n return \"PushNotificationDeviceConfiguration{\" + \"token='\" + token + '\\'' + \", deviceType=\" + deviceType + \", expirationDate=\" + expirationDate + \", secretKey=\"\n + Arrays.toString(secretKey) + \", owner=\" + owner + '}';\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/e6b61b6e279652254afa2d4aa93b4fef781a11e2.json b/web/public/bundles/artemis/code/e6b61b6e279652254afa2d4aa93b4fef781a11e2.json new file mode 100644 index 00000000..196e85e7 --- /dev/null +++ b/web/public/bundles/artemis/code/e6b61b6e279652254afa2d4aa93b4fef781a11e2.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e6b61b6e279652254afa2d4aa93b4fef781a11e2", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/dto/TutorialGroupSessionDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.tutorialgroup.dto;\n\nimport java.time.LocalTime;\nimport java.time.ZoneId;\nimport java.time.ZonedDateTime;\n\nimport jakarta.validation.constraints.NotNull;\nimport jakarta.validation.constraints.Size;\n\nimport org.hibernate.validator.constraints.Range;\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.tutorialgroup.domain.TutorialGroup;\nimport de.tum.cit.aet.artemis.tutorialgroup.domain.TutorialGroupSchedule;\nimport de.tum.cit.aet.artemis.tutorialgroup.domain.TutorialGroupSession;\nimport de.tum.cit.aet.artemis.tutorialgroup.domain.TutorialGroupSessionStatus;\nimport de.tum.cit.aet.artemis.tutorialgroup.util.RawTutorialGroupDetailSessionDTO;\n\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record TutorialGroupSessionDTO(@NotNull Long id, @NotNull ZonedDateTime start, @NotNull ZonedDateTime end, @NotNull @Size(min = 1, max = 255) String location,\n @NotNull Boolean isCancelled, @NotNull Boolean isCancelledByFreePeriod, @NotNull Boolean locationChanged, @NotNull Boolean timeChanged, @NotNull Boolean dateChanged,\n @Nullable @Range(min = 1, max = 5000) Integer attendanceCount) {\n\n /**\n * Builds a {@link TutorialGroupSessionDTO} for a {@link TutorialGroupSession} of which the {@link TutorialGroup} has a {@link TutorialGroupSchedule}. Uses:\n *

    \n *
  • data representing properties of the session
  • \n *
  • several fields that represent information about the {@link TutorialGroupSchedule}
  • \n *
  • the time zone of the {@link Course} related to the TutorialGroup of the TutorialGroupSession
  • \n *
\n *\n * @param rawDto data representing properties of the session\n * @param scheduleDayOfWeek the schedule's day of week (1 = Monday, …, 7 = Sunday)\n * @param scheduleStart the schedule's start time\n * @param scheduleEnd the schedule's end time\n * @param scheduleLocation the schedule's location\n * @param courseTimeZone the course time zone\n * @return a DTO with session details and flags for deviations\n */\n public static TutorialGroupSessionDTO from(RawTutorialGroupDetailSessionDTO rawDto, int scheduleDayOfWeek, LocalTime scheduleStart, LocalTime scheduleEnd,\n String scheduleLocation, ZoneId courseTimeZone) {\n boolean isCancelled = rawDto.isCancelled();\n boolean isCancelledByFreePeriod = isCancelled && rawDto.isCancelledByFreePeriod();\n boolean sameLocation = rawDto.location().equals(scheduleLocation);\n ZonedDateTime sessionStart = rawDto.start().withZoneSameInstant(courseTimeZone);\n ZonedDateTime sessionEnd = rawDto.end().withZoneSameInstant(courseTimeZone);\n boolean sameTime = sessionStart.toLocalTime().equals(scheduleStart) && sessionEnd.toLocalTime().equals(scheduleEnd);\n boolean sameDay = sessionStart.getDayOfWeek().getValue() == scheduleDayOfWeek;\n return new TutorialGroupSessionDTO(rawDto.id(), rawDto.start(), rawDto.end(), rawDto.location(), isCancelled, isCancelledByFreePeriod, !sameLocation, !sameTime, !sameDay,\n rawDto.attendanceCount());\n }\n\n /**\n * Builds a {@link TutorialGroupSessionDTO} from data representing properties of a {@link TutorialGroupSession}. This method should be used to construct DTOs for\n * sessions of which the {@link TutorialGroup} has no {@link TutorialGroupSchedule}.\n *\n * @param rawDto data representing properties of the session\n * @return a DTO with session details and flags for schedule deviations\n */\n public static TutorialGroupSessionDTO from(RawTutorialGroupDetailSessionDTO rawDto) {\n boolean isCancelled = rawDto.isCancelled();\n boolean isCancelledByFreePeriod = isCancelled && rawDto.isCancelledByFreePeriod();\n return new TutorialGroupSessionDTO(rawDto.id(), rawDto.start(), rawDto.end(), rawDto.location(), isCancelled, isCancelledByFreePeriod, false, false, false,\n rawDto.attendanceCount());\n }\n\n /**\n * Builds a {@link TutorialGroupSessionDTO} from a persisted tutorial group session and its optional schedule.\n *\n * @param session the session entity to convert\n * @param schedule the schedule used to determine deviations, may be {@code null}\n * @return a DTO with session details and flags for schedule deviations\n */\n public static TutorialGroupSessionDTO from(TutorialGroupSession session, TutorialGroupSchedule schedule) {\n boolean isCancelled = session.getStatus() == TutorialGroupSessionStatus.CANCELLED;\n boolean isCancelledByFreePeriod = isCancelled && session.getTutorialGroupFreePeriod() != null;\n boolean sameLocation = true;\n boolean sameTime = true;\n boolean sameDate = true;\n if (schedule != null) {\n LocalTime scheduleStart = LocalTime.parse(schedule.getStartTime());\n LocalTime scheduleEnd = LocalTime.parse(schedule.getEndTime());\n sameLocation = session.getLocation().equals(schedule.getLocation());\n sameTime = session.getStart().toLocalTime().equals(scheduleStart) && session.getEnd().toLocalTime().equals(scheduleEnd);\n sameDate = session.getStart().getDayOfWeek().getValue() == schedule.getDayOfWeek();\n }\n return new TutorialGroupSessionDTO(session.getId(), session.getStart(), session.getEnd(), session.getLocation(), isCancelled, isCancelledByFreePeriod, !sameLocation,\n !sameTime, !sameDate, session.getAttendanceCount());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/e6f10c7b2e389771e18bb1d0eedf3fb39649591c.json b/web/public/bundles/artemis/code/e6f10c7b2e389771e18bb1d0eedf3fb39649591c.json new file mode 100644 index 00000000..d18e6cb7 --- /dev/null +++ b/web/public/bundles/artemis/code/e6f10c7b2e389771e18bb1d0eedf3fb39649591c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e6f10c7b2e389771e18bb1d0eedf3fb39649591c", + "language": "typescript", + "path": "src/main/webapp/app/exercise/submission-version/submission-version.service.ts", + "schema": "codexray.code/1", + "text": "import { Service, inject } from '@angular/core';\nimport { HttpClient, HttpResponse } from '@angular/common/http';\nimport { Observable } from 'rxjs';\nimport { Submission } from 'app/exercise/shared/entities/submission/submission.model';\nimport { map } from 'rxjs/operators';\nimport { convertDateFromServer } from 'app/foundation/util/date.utils';\nimport { SubmissionVersion } from 'app/exam/shared/entities/submission-version.model';\nimport { cloneWith } from 'app/foundation/util/deep-clone.util';\n\nexport type EntityResponseType = HttpResponse;\nexport type EntityArrayResponseType = HttpResponse;\n\n@Service()\nexport class SubmissionVersionService {\n private http = inject(HttpClient);\n\n public resourceUrl = 'api/exercise/submissions';\n\n /**\n * Find all submission versions for a given submission id.\n * This works because every participation has exactly one submission for all exercise types that support submission versions.\n * @param submissionId the id of the submission\n */\n findAllSubmissionVersionsOfSubmission(submissionId: number): Observable {\n return this.http.get(`${this.resourceUrl}/${submissionId}/versions`).pipe(map((res) => this.convertCreatedDatesFromServer(res)));\n }\n private convertCreatedDatesFromServer(res: SubmissionVersion[]): SubmissionVersion[] {\n return res.map((version) => {\n return cloneWith(version, { createdDate: convertDateFromServer(version.createdDate)! });\n });\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/e77579a6291263d569f889dce352d2f887524f23.json b/web/public/bundles/artemis/code/e77579a6291263d569f889dce352d2f887524f23.json new file mode 100644 index 00000000..20b2b5e2 --- /dev/null +++ b/web/public/bundles/artemis/code/e77579a6291263d569f889dce352d2f887524f23.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e77579a6291263d569f889dce352d2f887524f23", + "language": "typescript", + "path": "src/main/webapp/app/exam/manage/student-exams/student-exam-timeline/exam-navigation-bar/exam-navigation-bar.component.ts", + "schema": "codexray.code/1", + "text": "import { AfterViewInit, Component, OnInit, inject, input, output, signal } from '@angular/core';\nimport { Exercise } from 'app/exercise/shared/entities/exercise/exercise.model';\nimport { LayoutService } from 'app/foundation/breakpoints/layout.service';\nimport { CustomBreakpointNames } from 'app/foundation/breakpoints/breakpoints.service';\nimport { faCheck } from '@fortawesome/free-solid-svg-icons';\nimport { ProgrammingSubmission } from 'app/programming/shared/entities/programming-submission.model';\nimport { FileUploadSubmission } from 'app/fileupload/shared/entities/file-upload-submission.model';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { NgClass } from '@angular/common';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { TumAetUiButtonDirective } from '@tumaet/ui-angular/button';\nimport { SubmissionVersion } from 'app/exam/shared/entities/submission-version.model';\n\n/**\n * Exercise navigation for the instructor-facing student exam timeline, where a tutor or instructor replays a\n * student's exam submission by submission.\n *\n * This bar used to double as the student navigation during exam conduction, which is why it once also owned a save\n * button, a hand-in-early button, an exam timer and a live submission sync state. Students moved to the\n * `ExamNavigationSidebarComponent` and the timeline stayed behind as the only consumer, so all of that had become\n * unreachable and was removed. Every submission shown here is already persisted, hence a button's state only\n * expresses which exercise is currently being viewed, never whether something is saved.\n */\n@Component({\n selector: 'jhi-exam-navigation-bar',\n templateUrl: './exam-navigation-bar.component.html',\n styleUrls: ['./exam-navigation-bar.component.css'],\n imports: [TranslateDirective, NgClass, FaIconComponent, TumAetUiButtonDirective],\n})\nexport class ExamNavigationBarComponent implements OnInit, AfterViewInit {\n private layoutService = inject(LayoutService);\n\n readonly exercises = input([]);\n readonly exerciseIndex = input(0);\n readonly onPageChanged = output<{\n exercise: Exercise;\n submission?: ProgrammingSubmission | SubmissionVersion | FileUploadSubmission;\n }>();\n\n static itemsVisiblePerSideDefault = 4;\n readonly itemsVisiblePerSide = signal(ExamNavigationBarComponent.itemsVisiblePerSideDefault);\n\n // Icons\n readonly faCheck = faCheck;\n\n ngOnInit(): void {\n this.layoutService.subscribeToLayoutChanges().subscribe(() => {\n // You will have all matched breakpoints in observerResponse\n if (this.layoutService.isBreakpointActive(CustomBreakpointNames.extraLarge)) {\n this.itemsVisiblePerSide.set(ExamNavigationBarComponent.itemsVisiblePerSideDefault);\n } else if (this.layoutService.isBreakpointActive(CustomBreakpointNames.large)) {\n this.itemsVisiblePerSide.set(3);\n } else if (this.layoutService.isBreakpointActive(CustomBreakpointNames.medium)) {\n this.itemsVisiblePerSide.set(1);\n } else {\n this.itemsVisiblePerSide.set(0);\n }\n });\n }\n\n ngAfterViewInit() {\n // Use setTimeout to ensure the DOM is fully loaded before calculating headerHeight\n setTimeout(() => {\n const headerHeight = (document.querySelector('jhi-navbar') as HTMLElement)?.offsetHeight;\n document.documentElement.style.setProperty('--header-height', `${headerHeight}px`);\n });\n }\n\n /**\n * Switch the timeline to another exercise.\n *\n * @param exerciseIndex index of the exercise to switch to; an out-of-range index is ignored\n * @param submission the submission to be viewed, if a specific one should be shown\n */\n changePage(exerciseIndex: number, submission?: SubmissionVersion | ProgrammingSubmission | FileUploadSubmission): void {\n if (exerciseIndex > this.exercises().length - 1 || exerciseIndex < 0) {\n return;\n }\n this.onPageChanged.emit({ exercise: this.exercises()[exerciseIndex], submission });\n }\n\n /**\n * The CSS class for an exercise button. Every submission in the timeline is already saved, so the only\n * distinction left is whether the exercise is the one currently being viewed. There is deliberately no\n * \"not synced\" state here: an unsaved-changes indicator would be meaningless for a submission an instructor\n * is replaying after the fact.\n *\n * @param exerciseIndex index of the exercise the button belongs to\n */\n getExerciseButtonStatus(exerciseIndex: number): 'synced' | 'synced active' {\n return this.exerciseIndex() === exerciseIndex ? 'synced active' : 'synced';\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/e783e164a0ae92c23cf278b794388850a53df8cf.json b/web/public/bundles/artemis/code/e783e164a0ae92c23cf278b794388850a53df8cf.json new file mode 100644 index 00000000..307e9cc3 --- /dev/null +++ b/web/public/bundles/artemis/code/e783e164a0ae92c23cf278b794388850a53df8cf.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e783e164a0ae92c23cf278b794388850a53df8cf", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/dto/TutorialGroupSummaryDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.tutorialgroup.dto;\n\nimport java.time.ZonedDateTime;\nimport java.util.List;\n\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.communication.dto.ChannelDTO;\nimport de.tum.cit.aet.artemis.tutorialgroup.domain.TutorialGroup;\nimport de.tum.cit.aet.artemis.tutorialgroup.domain.TutorialGroupSchedule;\nimport de.tum.cit.aet.artemis.tutorialgroup.domain.TutorialGroupSession;\nimport de.tum.cit.aet.artemis.tutorialgroup.domain.TutorialGroupSessionStatus;\n\n/**\n * REST response payload for the tutorial group overview list of a course.\n *

\n * Contains the public attributes of a tutorial group plus flattened transient fields populated by\n * {@code TutorialGroupService.setTransientPropertiesForUser}. Privacy-sensitive fields are cleared\n * by {@code TutorialGroup.hidePrivacySensitiveInformation} for users who do not have managing\n * rights for the tutorial group. Course staff keep the tutor name and the number of registered users\n * of such groups, which the management overview needs to tell the groups apart and to show their capacity.\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record TutorialGroupSummaryDTO(Long id, String title, @Nullable Integer capacity, @Nullable String campus, @Nullable String language, @Nullable String additionalInformation,\n Boolean isOnline, @Nullable TutorialGroupSummaryScheduleDTO tutorialGroupSchedule, @Nullable List tutorialGroupSessions,\n @Nullable ChannelDTO channel, @Nullable Boolean isUserRegistered, @Nullable Boolean isUserTutor, @Nullable Integer numberOfRegisteredUsers,\n @Nullable Boolean capacityReached, @Nullable String teachingAssistantName, @Nullable Long teachingAssistantId, @Nullable String teachingAssistantImageUrl,\n @Nullable String courseTitle, @Nullable TutorialGroupSummarySessionDTO nextSession, @Nullable Integer averageAttendance) {\n\n /**\n * Builds a {@link TutorialGroupSummaryDTO} from a tutorial group entity enriched with summary information.\n *\n * @param tutorialGroup the tutorial group entity to convert\n * @return the converted tutorial group summary DTO\n */\n public static TutorialGroupSummaryDTO from(TutorialGroup tutorialGroup) {\n return new TutorialGroupSummaryDTO(tutorialGroup.getId(), tutorialGroup.getTitle(), tutorialGroup.getCapacity(), tutorialGroup.getCampus(), tutorialGroup.getLanguage(),\n tutorialGroup.getAdditionalInformation(), tutorialGroup.getIsOnline(), TutorialGroupSummaryScheduleDTO.from(tutorialGroup.getTutorialGroupSchedule()), null,\n tutorialGroup.getChannel(), tutorialGroup.getIsUserRegistered(), tutorialGroup.getIsUserTutor(), tutorialGroup.getNumberOfRegisteredUsers(),\n tutorialGroup.getCapacityReached(), tutorialGroup.getTeachingAssistantName(), tutorialGroup.getTeachingAssistantId(), tutorialGroup.getTeachingAssistantImageUrl(),\n tutorialGroup.getCourseTitle(), TutorialGroupSummarySessionDTO.from(tutorialGroup.getNextSession()), tutorialGroup.getAverageAttendance());\n }\n\n /**\n * The recurring schedule a tutorial group's sessions are generated from.\n */\n @JsonInclude(JsonInclude.Include.NON_EMPTY)\n public record TutorialGroupSummaryScheduleDTO(Long id, @Nullable Integer dayOfWeek, @Nullable String startTime, @Nullable String endTime, @Nullable Integer repetitionFrequency,\n @Nullable String location, @Nullable String validFromInclusive, @Nullable String validToInclusive) {\n\n /**\n * Builds a {@link TutorialGroupSummaryScheduleDTO} from a persisted tutorial group schedule.\n *\n * @param schedule the schedule entity to convert, may be {@code null}\n * @return the converted schedule DTO, or {@code null} when no schedule is present\n */\n public static TutorialGroupSummaryScheduleDTO from(TutorialGroupSchedule schedule) {\n if (schedule == null) {\n return null;\n }\n return new TutorialGroupSummaryScheduleDTO(schedule.getId(), schedule.getDayOfWeek(), schedule.getStartTime(), schedule.getEndTime(), schedule.getRepetitionFrequency(),\n schedule.getLocation(), schedule.getValidFromInclusive(), schedule.getValidToInclusive());\n }\n }\n\n /**\n * A single tutorial group session as exposed in the overview list, optionally annotated with the\n * free period that cancelled it.\n */\n @JsonInclude(JsonInclude.Include.NON_EMPTY)\n public record TutorialGroupSummarySessionDTO(Long id, @Nullable ZonedDateTime start, @Nullable ZonedDateTime end, @Nullable TutorialGroupSessionStatus status,\n @Nullable String statusExplanation, @Nullable String location, @Nullable TutorialGroupFreePeriodDTO tutorialGroupFreePeriod, @Nullable Integer attendanceCount) {\n\n /**\n * Builds a {@link TutorialGroupSummarySessionDTO} from a persisted tutorial group session.\n *\n * @param session the session entity to convert, may be {@code null}\n * @return the converted session DTO, or {@code null} when no session is present\n */\n public static TutorialGroupSummarySessionDTO from(TutorialGroupSession session) {\n if (session == null) {\n return null;\n }\n return new TutorialGroupSummarySessionDTO(session.getId(), session.getStart(), session.getEnd(), session.getStatus(), session.getStatusExplanation(),\n session.getLocation(), TutorialGroupFreePeriodDTO.from(session.getTutorialGroupFreePeriod()), session.getAttendanceCount());\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/e79c01de9075907037b0a29bb698749075c544c1.json b/web/public/bundles/artemis/code/e79c01de9075907037b0a29bb698749075c544c1.json new file mode 100644 index 00000000..ba305642 --- /dev/null +++ b/web/public/bundles/artemis/code/e79c01de9075907037b0a29bb698749075c544c1.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e79c01de9075907037b0a29bb698749075c544c1", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/dto/PlagiarismPostCreationResponseDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.plagiarism.dto;\n\nimport java.time.ZonedDateTime;\n\nimport jakarta.validation.constraints.NotNull;\n\nimport org.jspecify.annotations.NonNull;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.communication.domain.DisplayPriority;\nimport de.tum.cit.aet.artemis.communication.domain.Post;\nimport de.tum.cit.aet.artemis.communication.domain.UserRole;\nimport de.tum.cit.aet.artemis.communication.dto.AuthorDTO;\n\n/**\n * DTO for posts created in the plagiarism context.\n * Exposes only the fields relevant for plagiarism workflows.\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record PlagiarismPostCreationResponseDTO(@NotNull(message = \"The post must have an id.\") Long id, @NotNull(message = \"The post must have contents.\") String content,\n @NotNull(message = \"The post must have a title.\") String title, Boolean visibleForStudents, @NotNull ZonedDateTime creationDate, @NotNull AuthorDTO author,\n @NotNull UserRole authorRole, boolean resolved, DisplayPriority displayPriority,\n @NotNull(message = \"The post must be associated with a plagiarism case.\") PlagiarismCaseDTO plagiarismCase) {\n\n /**\n * Creates a {@link PlagiarismPostCreationResponseDTO} from a {@link Post} entity.\n *\n * @param post the persisted post-entity\n * @return a DTO containing the relevant plagiarism-related post-data\n */\n public static PlagiarismPostCreationResponseDTO of(@NonNull Post post) {\n return new PlagiarismPostCreationResponseDTO(post.getId(), post.getContent(), post.getTitle(), post.isVisibleForStudents(), post.getCreationDate(),\n AuthorDTO.fromUser(post.getAuthor()), post.getAuthorRole(), post.isResolved(), post.getDisplayPriority(), PlagiarismCaseDTO.of(post.getPlagiarismCase()));\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/e7b11703df466f41402de35e7eddff62a0c0238b.json b/web/public/bundles/artemis/code/e7b11703df466f41402de35e7eddff62a0c0238b.json new file mode 100644 index 00000000..c4e22c8f --- /dev/null +++ b/web/public/bundles/artemis/code/e7b11703df466f41402de35e7eddff62a0c0238b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e7b11703df466f41402de35e7eddff62a0c0238b", + "language": "typescript", + "path": "src/main/webapp/app/text/manage/assess/text-submission-assessment.route.ts", + "schema": "codexray.code/1", + "text": "import { Routes } from '@angular/router';\nimport { UserRouteAccessService } from 'app/core/auth/user-route-access-service';\nimport { IS_AT_LEAST_INSTRUCTOR, IS_AT_LEAST_TUTOR } from 'app/foundation/constants/authority.constants';\nimport { NewStudentParticipationResolver, StudentParticipationResolver } from 'app/text/manage/assess/service/text-submission-assessment-resolve.service';\n\nexport const NEW_ASSESSMENT_PATH = 'submissions/new/assessment';\nexport const textSubmissionAssessmentRoutes: Routes = [\n {\n path: '',\n loadComponent: () => import('app/text/manage/detail/text-exercise-detail.component').then((m) => m.TextExerciseDetailComponent),\n data: {\n authorities: IS_AT_LEAST_TUTOR,\n pageTitle: 'artemisApp.textExercise.home.title',\n },\n canActivate: [UserRouteAccessService],\n },\n {\n path: NEW_ASSESSMENT_PATH,\n loadComponent: () => import('./submission-assessment/text-submission-assessment.component').then((m) => m.TextSubmissionAssessmentComponent),\n data: {\n authorities: IS_AT_LEAST_TUTOR,\n pageTitle: 'artemisApp.textAssessment.title',\n },\n resolve: {\n textAssessmentData: NewStudentParticipationResolver,\n },\n runGuardsAndResolvers: 'always',\n canActivate: [UserRouteAccessService],\n },\n {\n path: 'submissions/:submissionId/assessment',\n loadComponent: () => import('./submission-assessment/text-submission-assessment.component').then((m) => m.TextSubmissionAssessmentComponent),\n data: {\n authorities: IS_AT_LEAST_TUTOR,\n pageTitle: 'artemisApp.textAssessment.title',\n },\n resolve: {\n textAssessmentData: StudentParticipationResolver,\n },\n // The correction round is a query parameter, and the resolver loads the participation of that round, so a round\n // that changes in the URL has to load again. With `paramsChange` the resolver only re-runs for the submission id,\n // which left the page showing the round it was opened with (#13396).\n runGuardsAndResolvers: 'paramsOrQueryParamsChange',\n canActivate: [UserRouteAccessService],\n },\n {\n path: 'submissions/:submissionId/assessments/:resultId',\n loadComponent: () => import('./submission-assessment/text-submission-assessment.component').then((m) => m.TextSubmissionAssessmentComponent),\n data: {\n authorities: IS_AT_LEAST_INSTRUCTOR,\n pageTitle: 'artemisApp.textAssessment.title',\n },\n resolve: {\n textAssessmentData: StudentParticipationResolver,\n },\n // A named result identifies its own round, so this route resolves by the result id and ignores the query\n // parameter. Only a different result has to load again.\n runGuardsAndResolvers: 'paramsChange',\n canActivate: [UserRouteAccessService],\n },\n];\n" +} diff --git a/web/public/bundles/artemis/code/e7c82390c2584330f53d0b9d0a959dde8c643dfc.json b/web/public/bundles/artemis/code/e7c82390c2584330f53d0b9d0a959dde8c643dfc.json new file mode 100644 index 00000000..7dfd8da1 --- /dev/null +++ b/web/public/bundles/artemis/code/e7c82390c2584330f53d0b9d0a959dde8c643dfc.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e7c82390c2584330f53d0b9d0a959dde8c643dfc", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/searchableentity/FaqSearchableEntityDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.globalsearch.dto.searchableentity;\n\nimport java.util.HashMap;\nimport java.util.Map;\n\nimport de.tum.cit.aet.artemis.communication.domain.Faq;\nimport de.tum.cit.aet.artemis.globalsearch.config.schema.entityschemas.SearchableEntitySchema;\n\n/**\n * Snapshot of the data needed to upsert an FAQ into the unified {@code SearchableEntities} Weaviate\n * collection. The {@code faqState} is stored as a filterable text property so students (who may only\n * see {@code ACCEPTED} entries) can be filtered out from staff-visible entries in a single query.\n */\npublic record FaqSearchableEntityDTO(Long faqId, Long courseId, String questionTitle, String questionAnswer, String faqState) {\n\n /**\n * Extracts all required data from a {@link Faq} entity.\n *\n * @param faq the FAQ entity (must have course relationship loaded)\n * @return the extracted data safe to use in an async context\n * @throws org.hibernate.LazyInitializationException if required relationships are not loaded\n */\n public static FaqSearchableEntityDTO fromFaq(Faq faq) {\n return new FaqSearchableEntityDTO(faq.getId(), faq.getCourse().getId(), faq.getQuestionTitle(), faq.getQuestionAnswer(),\n faq.getFaqState() != null ? faq.getFaqState().name() : null);\n }\n\n /**\n * Produces the Weaviate property map for this FAQ row.\n *\n * @return the property map keyed by {@link SearchableEntitySchema.Properties}\n */\n public Map toPropertyMap() {\n Map properties = new HashMap<>();\n properties.put(SearchableEntitySchema.Properties.TYPE, SearchableEntitySchema.TypeValues.FAQ);\n properties.put(SearchableEntitySchema.Properties.ENTITY_ID, faqId);\n properties.put(SearchableEntitySchema.Properties.COURSE_ID, courseId);\n properties.put(SearchableEntitySchema.Properties.TITLE, questionTitle);\n if (questionAnswer != null) {\n properties.put(SearchableEntitySchema.Properties.DESCRIPTION, questionAnswer);\n }\n if (faqState != null) {\n properties.put(SearchableEntitySchema.Properties.FAQ_STATE, faqState);\n }\n return properties;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/e8de61d8a8bf5dc2ffb105507ad24f2145b3fc1d.json b/web/public/bundles/artemis/code/e8de61d8a8bf5dc2ffb105507ad24f2145b3fc1d.json new file mode 100644 index 00000000..8bec4bbf --- /dev/null +++ b/web/public/bundles/artemis/code/e8de61d8a8bf5dc2ffb105507ad24f2145b3fc1d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e8de61d8a8bf5dc2ffb105507ad24f2145b3fc1d", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportLearnerProfileService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.admin.service.export;\n\nimport static de.tum.cit.aet.artemis.admin.service.export.DataExportExerciseCreationService.CSV_FILE_EXTENSION;\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\n\nimport java.io.IOException;\nimport java.nio.file.Files;\nimport java.nio.file.Path;\nimport java.util.List;\nimport java.util.Optional;\n\nimport org.apache.commons.csv.CSVFormat;\nimport org.apache.commons.csv.CSVPrinter;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.atlas.api.LearnerProfileApi;\nimport de.tum.cit.aet.artemis.atlas.dto.export.UserLearnerProfileExportDTO;\n\n/**\n * Service for creating learner profile data exports for GDPR compliance.\n *

\n * This service exports all course learner profiles for a user, including\n * their learning preferences such as goal orientation, time investment,\n * and repetition intensity settings.\n */\n@Profile(PROFILE_CORE)\n@Lazy\n@Service\npublic class DataExportLearnerProfileService {\n\n private static final Logger log = LoggerFactory.getLogger(DataExportLearnerProfileService.class);\n\n private final Optional learnerProfileApi;\n\n public DataExportLearnerProfileService(Optional learnerProfileApi) {\n this.learnerProfileApi = learnerProfileApi;\n }\n\n /**\n * Creates the learner profile data export containing all course learner profiles for the user.\n * If the Atlas module is not enabled, this method does nothing.\n *\n * @param userId the ID of the user for which the data should be exported\n * @param workingDirectory the directory where the export file should be created\n * @throws IOException if the file cannot be created\n */\n public void createLearnerProfileExport(long userId, Path workingDirectory) throws IOException {\n if (learnerProfileApi.isEmpty()) {\n log.debug(\"Atlas module is not enabled, skipping learner profile data export for user {}\", userId);\n return;\n }\n\n var learnerProfiles = learnerProfileApi.get().findAllForExportByUserId(userId);\n createLearnerProfileExportFile(workingDirectory, learnerProfiles);\n }\n\n /**\n * Creates a CSV file containing all learner profiles for the user.\n *\n * @param workingDirectory the directory where the export file should be created\n * @param learnerProfiles the list of learner profiles to be exported\n * @throws IOException if the file cannot be created\n */\n private void createLearnerProfileExportFile(Path workingDirectory, List learnerProfiles) throws IOException {\n if (learnerProfiles == null || learnerProfiles.isEmpty()) {\n return;\n }\n\n String[] header = { \"course_id\", \"course_title\", \"aim_for_grade_or_bonus\", \"time_investment\", \"repetition_intensity\" };\n CSVFormat csvFormat = CSVFormat.DEFAULT.builder().setHeader(header).get();\n\n try (final CSVPrinter printer = new CSVPrinter(Files.newBufferedWriter(workingDirectory.resolve(\"learner_profiles\" + CSV_FILE_EXTENSION)), csvFormat)) {\n for (var profile : learnerProfiles) {\n printer.printRecord(profile.courseId(), profile.courseTitle(), profile.aimForGradeOrBonus(), profile.timeInvestment(), profile.repetitionIntensity());\n }\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/e8fd7d20b465e1144df078b4ff8c45bbd23bed9b.json b/web/public/bundles/artemis/code/e8fd7d20b465e1144df078b4ff8c45bbd23bed9b.json new file mode 100644 index 00000000..a433ac0e --- /dev/null +++ b/web/public/bundles/artemis/code/e8fd7d20b465e1144df078b4ff8c45bbd23bed9b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e8fd7d20b465e1144df078b4ff8c45bbd23bed9b", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/LectureUnitRepositoryApi.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.lecture.api;\n\nimport java.util.Collection;\nimport java.util.List;\nimport java.util.Optional;\nimport java.util.Set;\n\nimport org.hibernate.NonUniqueResultException;\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.data.domain.PageRequest;\nimport org.springframework.stereotype.Controller;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.core.dto.CourseEntityIdDTO;\nimport de.tum.cit.aet.artemis.lecture.config.LectureEnabled;\nimport de.tum.cit.aet.artemis.lecture.domain.LectureUnit;\nimport de.tum.cit.aet.artemis.lecture.domain.LectureUnitCompletion;\nimport de.tum.cit.aet.artemis.lecture.dto.LectureUnitIngestedVersionsDTO;\nimport de.tum.cit.aet.artemis.lecture.repository.LectureUnitCompletionRepository;\nimport de.tum.cit.aet.artemis.lecture.repository.LectureUnitRepository;\n\n/**\n * API for managing lecture units.\n */\n@Conditional(LectureEnabled.class)\n@Controller\n@Lazy\npublic class LectureUnitRepositoryApi extends AbstractLectureApi {\n\n private final LectureUnitRepository lectureUnitRepository;\n\n private final LectureUnitCompletionRepository lectureUnitCompletionRepository;\n\n public LectureUnitRepositoryApi(LectureUnitRepository lectureUnitRepository, LectureUnitCompletionRepository lectureUnitCompletionRepository) {\n this.lectureUnitRepository = lectureUnitRepository;\n this.lectureUnitCompletionRepository = lectureUnitCompletionRepository;\n }\n\n public Set findByLectureUnitsAndUserId(Collection lectureUnits, Long userId) {\n return lectureUnitCompletionRepository.findByLectureUnitsAndUserId(lectureUnits, userId);\n }\n\n public Set findCompletedUsersForLectureUnit(LectureUnit lectureUnit) {\n return lectureUnitCompletionRepository.findCompletedUsersForLectureUnit(lectureUnit);\n }\n\n public Optional findByNameAndLectureTitleAndCourseIdWithCompetencies(String name, String lectureTitle, long courseId) throws NonUniqueResultException {\n return lectureUnitRepository.findByNameAndLectureTitleAndCourseIdWithCompetencies(name, lectureTitle, courseId);\n }\n\n /**\n * Checks which of the given ids is currently indexable, for the pass that removes index rows with no backing entity.\n *\n * @param entityIds the ids to check\n * @return the subset that is currently indexable\n */\n public Set findIndexableUnitIds(Collection entityIds) {\n return lectureUnitRepository.findIndexableUnitIds(entityIds);\n }\n\n /**\n * Walks the ids expected to be indexed, one page at a time, for the reconcile passes.\n *\n * @param afterId the id the previous page stopped at\n * @param limit the page size\n * @return the next indexable lecture unit ids in ascending order\n */\n public List findIndexableUnitIdsAfter(long afterId, int limit) {\n return lectureUnitRepository.findIndexableUnitIdsAfter(afterId, PageRequest.ofSize(limit));\n }\n\n public LectureUnit findByIdElseThrow(long lectureUnitId) {\n return lectureUnitRepository.findByIdElseThrow(lectureUnitId);\n }\n\n public List findAllByIdsWithLecture(Collection ids) {\n return lectureUnitRepository.findAllByIdsWithLecture(ids);\n }\n\n public Optional findWithLectureById(long lectureUnitId) {\n return lectureUnitRepository.findWithLectureById(lectureUnitId);\n }\n\n public List findIngestedVersionsByCourseId(long courseId) {\n return lectureUnitRepository.findIngestedVersionsByCourseId(courseId);\n }\n\n public LectureUnit save(LectureUnit lectureUnit) {\n return lectureUnitRepository.save(lectureUnit);\n }\n\n public List findIndexableUnitIdCourseIdPairsForCourses(Collection courseIds) {\n return lectureUnitRepository.findIndexableUnitIdCourseIdPairsForCourses(courseIds);\n }\n\n public List findUnitIdCourseIdPairsWithPdfAttachmentForCourses(Collection courseIds) {\n return lectureUnitRepository.findUnitIdCourseIdPairsWithPdfAttachmentForCourses(courseIds);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/e9117affd1048355b4638ccb94143f4e28c86985.json b/web/public/bundles/artemis/code/e9117affd1048355b4638ccb94143f4e28c86985.json new file mode 100644 index 00000000..9f0f904b --- /dev/null +++ b/web/public/bundles/artemis/code/e9117affd1048355b4638ccb94143f4e28c86985.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e9117affd1048355b4638ccb94143f4e28c86985", + "language": "typescript", + "path": "src/main/webapp/app/lecture/manage/lecture-series-create/lecture-series-create.component.ts", + "schema": "codexray.code/1", + "text": "import { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { Component, Signal, WritableSignal, computed, effect, inject, input, signal } from '@angular/core';\nimport { NgClass } from '@angular/common';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { faPenToSquare, faPlus, faTrash, faXmark } from '@fortawesome/free-solid-svg-icons';\nimport { TumAetUiButtonDirective } from '@tumaet/ui-angular/button';\nimport { TumAetUiDatePickerComponent } from '@tumaet/ui-angular/date-picker';\nimport { TumAetUiProgressSpinnerComponent } from '@tumaet/ui-angular/progress-spinner';\nimport { LectureSeriesDraftEditModalComponent } from 'app/lecture/manage/lecture-series-edit-modal/lecture-series-draft-edit-modal.component';\nimport { LectureApi } from 'app/openapi/api/lecture-api';\nimport { toLectureSeriesCreateRequest } from 'app/lecture/shared/util/generated-lecture.util';\nimport { AlertService } from 'app/foundation/service/alert.service';\nimport { ArtemisNavigationUtilService } from 'app/foundation/util/navigation.utils';\nimport { Router } from '@angular/router';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { Dayjs } from 'dayjs/esm';\nimport { Lecture } from 'app/lecture/shared/entities/lecture.model';\nimport { isFirstDateAfterOrEqualSecond } from 'app/foundation/util/date.utils';\nimport { generateUuid } from 'app/foundation/util/crypto.utils';\n\ninterface InitialLecture {\n id: string;\n startDate: WritableSignal;\n endDate: WritableSignal;\n /** Whether the text typed into the start field is a date; the picker keeps the last committed value while it is not. */\n isStartTextValid: WritableSignal;\n isEndTextValid: WritableSignal;\n isStartDateInvalid: Signal;\n isEndDateInvalid: Signal;\n}\n\nexport interface LectureDraft {\n id: string;\n state: LectureDraftState;\n title: string;\n startDate?: Dayjs;\n endDate?: Dayjs;\n}\n\nexport enum LectureDraftState {\n EDITED = 'edited',\n REGULAR = 'regular',\n}\n\n/**\n * A component for scaffolding lectures (creating lectures by specifying title and timing but no contents).\n *\n * Users define:\n * - `InitialLecture`s: encapsulate title, startDate and endDate of the *first* occurrence of a weekly lecture.\n * - `seriesEndDate`: the last day up to which weekly lectures should be generated.\n *\n * Based on initialLectures and existingLectures the component creates:\n * - `LectureDraft`s: encapsulate title and timing for a single potential lecture. Can be edited by the user without affecting other drafts.\n *\n * For each InitialLecture, the component generates weekly drafts (one per week) until the series end date.\n * It assigns default titles in the format `Lecture ${index + 1}` by sorting the union of existingLectures and lectureDrafts by the earliest\n * available of `startDate` or `endDate`; items missing both dates are placed at the end.\n *\n */\n@Component({\n selector: 'jhi-lecture-series-create',\n imports: [\n ArtemisTranslatePipe,\n TumAetUiButtonDirective,\n TumAetUiProgressSpinnerComponent,\n NgClass,\n TranslateDirective,\n TumAetUiDatePickerComponent,\n FaIconComponent,\n LectureSeriesDraftEditModalComponent,\n ],\n templateUrl: './lecture-series-create.component.html',\n styleUrl: './lecture-series-create.component.css',\n})\nexport class LectureSeriesCreateComponent {\n private lectureApi = inject(LectureApi);\n private alertService = inject(AlertService);\n private router = inject(Router);\n private navigationUtilService = inject(ArtemisNavigationUtilService);\n\n protected readonly faPenToSquare = faPenToSquare;\n protected readonly faXmark = faXmark;\n protected readonly faTrash = faTrash;\n protected readonly faPlus = faPlus;\n protected readonly LectureDraftState = LectureDraftState;\n\n existingLectures = input.required();\n courseId = input.required();\n seriesEndDate = signal(undefined);\n isSeriesEndTextValid = signal(true);\n isSeriesEndDateInvalid = computed(() => this.computeIsSeriesEndDateInvalid());\n lectureDrafts = signal([]);\n noDraftsGenerated = computed(() => this.lectureDrafts().length === 0);\n initialLectures = signal([this.createInitialLecture()]);\n isLoading = signal(false);\n\n constructor() {\n effect(() => this.updateLectureDraftsAndExistingLecturesBasedOnInitialLecturesAndSeriesEndDate());\n }\n\n addInitialLecture() {\n this.initialLectures.update((initialLectures) => [...initialLectures, this.createInitialLecture()]);\n }\n\n removeInitialLecture(initialLecture: InitialLecture) {\n this.initialLectures.update((initialLectures) => initialLectures.filter((otherInitialLecture) => otherInitialLecture.id !== initialLecture.id));\n }\n\n deleteLectureDraft(lectureDraft: LectureDraft) {\n this.lectureDrafts.update((oldDrafts) => oldDrafts.filter((otherDraft) => otherDraft !== lectureDraft));\n }\n\n cancel() {\n const courseId = this.courseId();\n this.navigationUtilService.navigateBack(['course-management', courseId, 'lectures']);\n }\n\n save() {\n this.isLoading.set(true);\n const courseId = this.courseId();\n this.saveNewLectures(courseId);\n }\n\n private saveNewLectures(courseId: number) {\n const lecturesToSave = this.lectureDrafts().map(toLectureSeriesCreateRequest);\n this.lectureApi.createLectureSeries(courseId, lecturesToSave).subscribe({\n next: () => {\n void this.router.navigate(['course-management', courseId, 'lectures']);\n this.isLoading.set(false);\n },\n error: () => {\n this.alertService.addErrorAlert('artemisApp.lecture.createSeries.seriesCreationError');\n this.isLoading.set(false);\n },\n });\n }\n\n private updateLectureDraftsAndExistingLecturesBasedOnInitialLecturesAndSeriesEndDate() {\n const lectureDrafts = this.computeLectureDraftsBasedOnSeriesEndDateAndInitialLectures();\n\n if (lectureDrafts.length === 0) {\n this.lectureDrafts.set([]);\n return;\n }\n\n const sortedLectureDrafts = this.sort(lectureDrafts, (draft) => this.getSortingKeyFor(draft));\n const sortedExistingLectures = this.sort(this.existingLectures(), (lecture) => this.getSortingKeyFor(lecture));\n this.assignTitlesToNewLectures(sortedLectureDrafts, sortedExistingLectures);\n\n this.lectureDrafts.set(sortedLectureDrafts);\n }\n\n /* Helpers */\n\n private computeLectureDraftsBasedOnSeriesEndDateAndInitialLectures(): LectureDraft[] {\n const rawSeriesEndDate = this.seriesEndDate();\n const initialLectures = this.initialLectures();\n const anyInputInvalid =\n initialLectures.some(\n (initialLecture) =>\n initialLecture.isEndDateInvalid() || initialLecture.isStartDateInvalid() || !initialLecture.isStartTextValid() || !initialLecture.isEndTextValid(),\n ) ||\n this.isSeriesEndDateInvalid() ||\n !this.isSeriesEndTextValid();\n if (!rawSeriesEndDate || anyInputInvalid) {\n return [];\n }\n const endDate = rawSeriesEndDate.endOf('day');\n let lectureDrafts: LectureDraft[] = [];\n for (const initialLecture of this.initialLectures()) {\n const lectureDraftsFromInitialLecture = this.computeLectureDraftsForInitialLecture(initialLecture, endDate);\n lectureDrafts = [...lectureDrafts, ...lectureDraftsFromInitialLecture];\n }\n return lectureDrafts;\n }\n\n private computeLectureDraftsForInitialLecture(initialLecture: InitialLecture, seriesEndDate: Dayjs): LectureDraft[] {\n const startDate = initialLecture.startDate();\n const endDate = initialLecture.endDate();\n if (!startDate && !endDate) {\n return [];\n }\n\n const lectureDates = this.generateDatePairs(seriesEndDate, startDate, endDate);\n const newDrafts: LectureDraft[] = [];\n lectureDates.forEach(([startDate, endDate]) => {\n newDrafts.push({\n id: generateUuid(),\n state: LectureDraftState.REGULAR,\n title: '',\n startDate,\n endDate,\n });\n });\n return newDrafts;\n }\n\n private generateDatePairs(seriesEndDate: Dayjs, startDate?: Dayjs, endDate?: Dayjs): [Dayjs?, Dayjs?][] {\n if (startDate && !endDate) {\n return this.generateDatePairsWithSingleDate(seriesEndDate, startDate, 'startDate');\n } else if (!startDate && endDate) {\n return this.generateDatePairsWithSingleDate(seriesEndDate, endDate, 'endDate');\n } else {\n return this.generateDatePairsWithBothDates(seriesEndDate, startDate!, endDate!);\n }\n }\n\n private generateDatePairsWithBothDates(seriesEndDate: Dayjs, startDate: Dayjs, endDate: Dayjs): [Dayjs, Dayjs][] {\n let currentStart = startDate;\n let currentEnd = endDate;\n const pairs: [Dayjs, Dayjs][] = [];\n while (!currentEnd.isAfter(seriesEndDate)) {\n pairs.push([currentStart, currentEnd]);\n currentStart = currentStart.add(1, 'week');\n currentEnd = currentEnd.add(1, 'week');\n }\n return pairs;\n }\n\n private generateDatePairsWithSingleDate(seriesEndDate: Dayjs, date: Dayjs, dateType: 'startDate' | 'endDate'): [Dayjs?, Dayjs?][] {\n const pairs: [Dayjs?, Dayjs?][] = [];\n let current = date;\n while (!current.isAfter(seriesEndDate)) {\n if (dateType === 'startDate') {\n pairs.push([current, undefined]);\n } else {\n pairs.push([undefined, current]);\n }\n current = current.add(1, 'week');\n }\n return pairs;\n }\n\n private sort(items: T[], keyProvider: (item: T) => number | undefined): T[] {\n return [...items].sort((first, second) => {\n const firstKey = keyProvider(first);\n const secondKey = keyProvider(second);\n\n const firstHasKey = firstKey !== undefined;\n const secondHasKey = secondKey !== undefined;\n\n if (!firstHasKey && !secondHasKey) {\n return 0;\n }\n if (!firstHasKey) {\n return 1;\n }\n if (!secondHasKey) {\n return -1;\n }\n return firstKey - secondKey;\n });\n }\n\n private getSortingKeyFor(lectureRepresentation: LectureDraft | Lecture): number | undefined {\n const keyDate = lectureRepresentation.startDate ?? lectureRepresentation.endDate;\n if (keyDate) {\n return keyDate.valueOf();\n } else {\n return undefined;\n }\n }\n\n private assignTitlesToNewLectures(sortedLectureDrafts: LectureDraft[], sortedExistingLectures: Lecture[]) {\n const sortedLectureRepresentations = this.mergeSortedLectureRepresentations(sortedExistingLectures, sortedLectureDrafts);\n sortedLectureRepresentations.forEach((lectureRepresentation, index) => {\n if (!lectureRepresentation.title) {\n lectureRepresentation.title = `Lecture ${index + 1}`;\n }\n });\n }\n\n private mergeSortedLectureRepresentations(sortedExistingLectures: Lecture[], sortedDrafts: LectureDraft[]): (Lecture | LectureDraft)[] {\n const sortedResult: (Lecture | LectureDraft)[] = [];\n let existingLectureIndex = 0;\n let draftIndex = 0;\n while (existingLectureIndex < sortedExistingLectures.length && draftIndex < sortedDrafts.length) {\n const draft = sortedDrafts[draftIndex];\n const existingLecture = sortedExistingLectures[existingLectureIndex];\n const draftKey = this.getSortingKeyFor(draft);\n const existingLectureKey = this.getSortingKeyFor(existingLecture);\n if (draftKey !== undefined && existingLectureKey !== undefined) {\n if (existingLectureKey <= draftKey) {\n sortedResult.push(existingLecture);\n existingLectureIndex++;\n } else {\n sortedResult.push(draft);\n draftIndex++;\n }\n } else {\n // our validation logic enforces that there must be a key for all drafts\n sortedResult.push(draft);\n draftIndex++;\n }\n }\n while (existingLectureIndex < sortedExistingLectures.length) {\n sortedResult.push(sortedExistingLectures[existingLectureIndex++]);\n }\n while (draftIndex < sortedDrafts.length) {\n sortedResult.push(sortedDrafts[draftIndex++]);\n }\n return sortedResult;\n }\n\n private createInitialLecture(): InitialLecture {\n const id = generateUuid();\n const startDate = signal(undefined);\n const endDate = signal(undefined);\n const isStartTextValid = signal(true);\n const isEndTextValid = signal(true);\n const isStartDateInvalid = computed(() => isFirstDateAfterOrEqualSecond(startDate(), endDate()) || isFirstDateAfterOrEqualSecond(startDate(), this.seriesEndDate()));\n const isEndDateInvalid = computed(() => isFirstDateAfterOrEqualSecond(startDate(), endDate()) || isFirstDateAfterOrEqualSecond(endDate(), this.seriesEndDate()));\n return { id, startDate, endDate, isStartTextValid, isEndTextValid, isStartDateInvalid, isEndDateInvalid };\n }\n\n private computeIsSeriesEndDateInvalid(): boolean {\n const latestInitialLectureDate = this.initialLectures()\n .flatMap((lecture) => [lecture.startDate(), lecture.endDate()])\n .filter((date): date is Dayjs => date !== undefined)\n .sort((first, second) => second.valueOf() - first.valueOf())[0];\n return isFirstDateAfterOrEqualSecond(latestInitialLectureDate, this.seriesEndDate());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/e9ffb1844bd7204170a086a39d46c8958a985680.json b/web/public/bundles/artemis/code/e9ffb1844bd7204170a086a39d46c8958a985680.json new file mode 100644 index 00000000..f7c9fb0e --- /dev/null +++ b/web/public/bundles/artemis/code/e9ffb1844bd7204170a086a39d46c8958a985680.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e9ffb1844bd7204170a086a39d46c8958a985680", + "language": "typescript", + "path": "src/main/webapp/app/iris/overview/iris-onboarding-modal/iris-onboarding.service.ts", + "schema": "codexray.code/1", + "text": "import { Service, inject, signal } from '@angular/core';\nimport { Subject, firstValueFrom } from 'rxjs';\nimport { AccountService } from 'app/core/auth/account.service';\nimport { IrisChatHttpService } from 'app/iris/overview/services/iris-chat-http.service';\nimport { IrisOnboardingRef } from './iris-onboarding-ref';\nimport { IrisOnboardingTourHost } from './iris-onboarding-tour-host.service';\n\nexport type OnboardingResult = { action: 'finish' };\n\nexport type OnboardingEvent = { type: 'contextChanged' } | { type: 'chipClicked'; translationKey: string } | { type: 'aboutIrisOpened' };\n\nconst IRIS_ONBOARDING_KEY_PREFIX = 'iris-onboarding-completed';\n\n@Service()\nexport class IrisOnboardingService {\n private tourHost = inject(IrisOnboardingTourHost);\n private accountService = inject(AccountService);\n private chatHttpService = inject(IrisChatHttpService);\n private dialogRef: IrisOnboardingRef | undefined;\n private pendingResult: Promise | undefined;\n\n readonly onboardingEvent$ = new Subject();\n readonly currentStep = signal(0);\n\n private getStorageKey(): string {\n const userId = this.accountService.userIdentity()?.id;\n return userId ? `${IRIS_ONBOARDING_KEY_PREFIX}-${userId}` : IRIS_ONBOARDING_KEY_PREFIX;\n }\n\n private isDesktopViewport(): boolean {\n if (typeof window === 'undefined' || typeof window.matchMedia !== 'function') {\n return false;\n }\n return window.matchMedia('(min-width: 992px)').matches;\n }\n\n /**\n * Checks if the user has completed the Iris onboarding.\n * @returns true if onboarding was completed, false otherwise\n */\n hasCompletedOnboarding(): boolean {\n try {\n return localStorage.getItem(this.getStorageKey()) === 'true';\n } catch {\n return false;\n }\n }\n\n /**\n * Marks the onboarding as completed.\n */\n markOnboardingCompleted(): void {\n try {\n localStorage.setItem(this.getStorageKey(), 'true');\n } catch {\n // Storage unavailable; onboarding state is lost after the session.\n }\n }\n\n /**\n * Resets the onboarding state (useful for testing).\n */\n resetOnboarding(): void {\n try {\n localStorage.removeItem(this.getStorageKey());\n } catch {\n // Storage unavailable; nothing to remove.\n }\n }\n\n /**\n * Opens the onboarding modal if the user hasn't completed it yet.\n * @param isEmptyState callback evaluated synchronously each time the empty-state must be\n * checked; re-invoked after the async server gate so a chat that became non-empty\n * in the meantime no longer triggers the tour.\n * @returns Promise that resolves to an OnboardingResult or undefined if dismissed\n */\n async showOnboardingIfNeeded(isEmptyState: () => boolean): Promise {\n if (!this.accountService.userIdentity()?.id) {\n return undefined;\n }\n\n if (!this.isDesktopViewport()) {\n return undefined;\n }\n\n if (this.hasCompletedOnboarding()) {\n return undefined;\n }\n\n if (!isEmptyState()) {\n return undefined;\n }\n\n // Server-side gate: skip onboarding for students who have already exchanged messages\n // with Iris in any course. We gate on message count rather than session count because\n // opening the chat auto-creates an empty session server-side, which would otherwise\n // suppress the tour for the very new users it targets. Fail-closed on error so a\n // transient 500 never re-shows the tour to a returning student. Runs last so earlier\n // cheap gates can short-circuit the request.\n if (await this.hasExistingIrisMessages()) {\n return undefined;\n }\n\n // Re-check after the async gate: chat may have received a message while we were\n // waiting on the server, in which case opening the tour now would be jarring.\n if (!isEmptyState()) {\n return undefined;\n }\n\n return this.openOnboardingModal();\n }\n\n private async hasExistingIrisMessages(): Promise {\n try {\n const counts = await firstValueFrom(this.chatHttpService.getSessionAndMessageCount());\n return (counts?.messages ?? 0) > 0;\n } catch {\n return true;\n }\n }\n\n /**\n * Forces the onboarding modal to open regardless of completion state.\n * @returns Promise that resolves to an OnboardingResult or undefined if dismissed\n */\n async openOnboardingModal(): Promise {\n if (!this.accountService.userIdentity()?.id) {\n return undefined;\n }\n\n if (!this.isDesktopViewport()) {\n return undefined;\n }\n\n // If a modal is already open, return the same pending result promise.\n if (this.dialogRef) {\n return this.pendingResult;\n }\n\n this.currentStep.set(0);\n\n this.dialogRef = this.tourHost.open();\n\n // Mark on open, not on close: a tour that never reports a result (the page reloads, or the\n // browser closes mid-tour) would otherwise never write the flag, and the next mount would\n // show the tour again.\n this.markOnboardingCompleted();\n\n this.pendingResult = new Promise((resolve) => {\n this.dialogRef!.onClose.subscribe((result) => {\n this.currentStep.set(0);\n resolve(result ? { action: 'finish' } : undefined);\n });\n });\n\n try {\n return await this.pendingResult;\n } finally {\n this.dialogRef = undefined;\n this.pendingResult = undefined;\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/ea37f64f3feb64f7b8cc38716af026b3b8591ed7.json b/web/public/bundles/artemis/code/ea37f64f3feb64f7b8cc38716af026b3b8591ed7.json new file mode 100644 index 00000000..fed8d2ef --- /dev/null +++ b/web/public/bundles/artemis/code/ea37f64f3feb64f7b8cc38716af026b3b8591ed7.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "ea37f64f3feb64f7b8cc38716af026b3b8591ed7", + "language": "typescript", + "path": "src/main/webapp/app/exercise/exercise-filter/exercise-filter-modal.component.ts", + "schema": "codexray.code/1", + "text": "import { TumAetUiCheckboxComponent } from '@tumaet/ui-angular/checkbox';\nimport { TumAetUiButtonDirective } from '@tumaet/ui-angular/button';\nimport { Component, OnInit, inject, output, signal, viewChild } from '@angular/core';\nimport { TumAetUiAutoCompleteComponent, TumAetUiAutoCompleteOptionEvent } from '@tumaet/ui-angular/autocomplete';\nimport { TumAetUiDialogConfig, TumAetUiDialogRef } from '@tumaet/ui-angular/dialog';\nimport { faFilter } from '@fortawesome/free-solid-svg-icons';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport { FormGroup, FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { RangeSliderComponent } from 'app/shared-ui/range-slider/range-slider.component';\nimport {\n DifficultyFilterOption,\n ExerciseCategoryFilterOption,\n ExerciseFilterOptions,\n ExerciseFilterResults,\n ExerciseTypeFilterOption,\n FilterDetails,\n FilterOption,\n RangeFilter,\n} from 'app/foundation/types/exercise-filter';\nimport { satisfiesFilters } from 'app/exercise/exercise-filter/exercise-filter-modal.helper';\nimport { DifficultyLevel, ExerciseType } from 'app/exercise/shared/entities/exercise/exercise.model';\nimport { ExerciseCategory } from 'app/exercise/shared/entities/exercise/exercise-category.model';\nimport { isRangeFilterApplied } from 'app/course/sidebar/sidebar.helper';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { CustomExerciseCategoryBadgeComponent } from 'app/exercise/exercise-categories/custom-exercise-category-badge/custom-exercise-category-badge.component';\nimport { SidebarCardElement, SidebarData } from 'app/foundation/types/sidebar';\n\nexport interface ExerciseFilterModalData {\n sidebarData: SidebarData | undefined;\n exerciseFilters: ExerciseFilterOptions | undefined;\n}\n\n@Component({\n selector: 'jhi-exercise-filter-modal',\n templateUrl: './exercise-filter-modal.component.html',\n styleUrls: ['./exercise-filter-modal.component.css'],\n imports: [\n TumAetUiCheckboxComponent,\n TumAetUiButtonDirective,\n FormsModule,\n ReactiveFormsModule,\n FontAwesomeModule,\n CustomExerciseCategoryBadgeComponent,\n RangeSliderComponent,\n TumAetUiAutoCompleteComponent,\n TranslateDirective,\n ArtemisTranslatePipe,\n ],\n})\nexport class ExerciseFilterModalComponent implements OnInit {\n private activeModal = inject(TumAetUiDialogRef);\n private readonly config = inject>(TumAetUiDialogConfig);\n\n protected readonly faFilter = faFilter;\n\n readonly filterApplied = output();\n\n readonly instance = viewChild('categoriesFilterSelection');\n readonly categorySuggestions = signal<{ label: string; value: ExerciseCategoryFilterOption }[]>([]);\n\n readonly selectedCategoryOptions = signal([]);\n readonly selectableCategoryOptions = signal([]);\n\n readonly noFiltersAvailable = signal(false);\n\n form?: FormGroup;\n\n private readonly searchModel = signal(undefined);\n get model(): string | undefined {\n return this.searchModel();\n }\n set model(value: string | undefined) {\n this.searchModel.set(value);\n }\n\n sidebarData = this.config.data?.sidebarData;\n\n categoryFilter?: FilterOption;\n readonly typeFilter = signal | undefined>(undefined);\n readonly difficultyFilter = signal | undefined>(undefined);\n\n // achievablePoints / achievedScore are deep two-way binding targets (jhi-range-slider writes back to\n // achievablePoints.filter.selectedMin/Max etc.), so they are backed by a signal via a getter/setter\n // facade. Reads stay reactive while the slider can still mutate the backing object in place.\n private readonly _achievablePoints = signal(undefined);\n get achievablePoints(): RangeFilter | undefined {\n return this._achievablePoints();\n }\n set achievablePoints(value: RangeFilter | undefined) {\n this._achievablePoints.set(value);\n }\n\n private readonly _achievedScore = signal(undefined);\n get achievedScore(): RangeFilter | undefined {\n return this._achievedScore();\n }\n set achievedScore(value: RangeFilter | undefined) {\n this._achievedScore.set(value);\n }\n\n exerciseFilters = this.config.data?.exerciseFilters;\n\n ngOnInit() {\n this.categoryFilter = this.exerciseFilters?.categoryFilter;\n this.typeFilter.set(this.exerciseFilters?.exerciseTypesFilter);\n this.difficultyFilter.set(this.exerciseFilters?.difficultyFilter);\n this.achievablePoints = this.exerciseFilters?.achievablePoints;\n this.achievedScore = this.exerciseFilters?.achievedScore;\n\n this.noFiltersAvailable.set(\n !(\n this.categoryFilter?.isDisplayed ||\n this.typeFilter()?.isDisplayed ||\n this.difficultyFilter()?.isDisplayed ||\n this.achievedScore?.isDisplayed ||\n this.achievablePoints?.isDisplayed\n ),\n );\n\n this.updateCategoryOptionsStates();\n }\n\n closeModal(): void {\n this.activeModal.close();\n }\n\n requestCategorySearch(query: string): void {\n const matches = this.selectableCategoryOptions().filter((option) => this.resultFormatter(option).toLocaleLowerCase().includes(query.toLocaleLowerCase()));\n this.categorySuggestions.set(matches.map((value) => ({ label: this.resultFormatter(value), value })));\n }\n\n selectCategory(event: TumAetUiAutoCompleteOptionEvent): void {\n const option = this.categorySuggestions().find((suggestion) => suggestion === event.value);\n if (option) {\n this.onSelectItem({ item: option.value, preventDefault: () => {} });\n }\n }\n\n resultFormatter = (exerciseCategory: ExerciseCategoryFilterOption) => exerciseCategory.category.category ?? '';\n\n onSelectItem(event: { item: ExerciseCategoryFilterOption; preventDefault: () => void } | Event) {\n const isEnterPressedForNotExistingItem = !('item' in event) || !event.item;\n if (isEnterPressedForNotExistingItem) {\n event.preventDefault();\n if (event instanceof KeyboardEvent) {\n event.stopPropagation();\n }\n return;\n }\n\n event.preventDefault(); // otherwise clearing the input field will not work https://stackoverflow.com/questions/39783936/how-to-clear-the-typeahead-input-after-a-result-is-selected\n const filterOption: ExerciseCategoryFilterOption = event.item;\n filterOption.searched = true;\n this.updateCategoryOptionsStates();\n this.model = undefined;\n this.instance()?.clear();\n }\n\n removeItem(item: ExerciseCategoryFilterOption): () => void {\n return () => {\n item.searched = false;\n this.updateCategoryOptionsStates();\n };\n }\n\n applyFilter(): void {\n if (!this.sidebarData?.groupedData) {\n return;\n }\n\n const appliedFilterDetails = this.getAppliedFilterDetails();\n for (const groupedDataKey in this.sidebarData.groupedData) {\n this.sidebarData.groupedData[groupedDataKey].entityData = this.sidebarData.groupedData[groupedDataKey].entityData.filter((sidebarElement) =>\n satisfiesFilters(sidebarElement, appliedFilterDetails),\n );\n }\n this.sidebarData.ungroupedData = this.sidebarData.ungroupedData?.filter((sidebarElement: SidebarCardElement) => satisfiesFilters(sidebarElement, appliedFilterDetails));\n\n this.filterApplied.emit({\n filteredSidebarData: this.sidebarData,\n appliedExerciseFilters: this.exerciseFilters,\n isFilterActive: this.isFilterActive(appliedFilterDetails),\n });\n\n this.closeModal();\n }\n\n private getAppliedFilterDetails(): FilterDetails {\n return {\n searchedTypes: this.getSearchedTypes(),\n selectedCategories: this.getSelectedCategories(),\n searchedDifficulties: this.getSearchedDifficulties(),\n isScoreFilterApplied: isRangeFilterApplied(this.achievedScore),\n isPointsFilterApplied: isRangeFilterApplied(this.achievablePoints),\n achievedScore: this.achievedScore,\n achievablePoints: this.achievablePoints,\n };\n }\n\n private getSearchedTypes(): ExerciseType[] | undefined {\n return this.typeFilter()\n ?.options.filter((type) => type.checked)\n .map((type) => type.value);\n }\n\n private getSelectedCategories(): ExerciseCategory[] {\n return this.selectedCategoryOptions()\n .filter((categoryOption: ExerciseCategoryFilterOption) => categoryOption.searched)\n .map((categoryOption: ExerciseCategoryFilterOption) => categoryOption.category);\n }\n\n private getSearchedDifficulties(): DifficultyLevel[] | undefined {\n return this.difficultyFilter()\n ?.options.filter((difficulty) => difficulty.checked)\n .map((difficulty) => difficulty.value);\n }\n\n private isFilterActive(filterDetails: FilterDetails): boolean {\n return (\n !!filterDetails.selectedCategories.length ||\n !!filterDetails.searchedTypes?.length ||\n !!filterDetails.searchedDifficulties?.length ||\n filterDetails.isScoreFilterApplied ||\n filterDetails.isPointsFilterApplied\n );\n }\n\n clearFilter() {\n this.categoryFilter?.options.forEach((categoryOption) => (categoryOption.searched = false));\n this.typeFilter()?.options.forEach((typeOption) => (typeOption.checked = false));\n this.difficultyFilter()?.options.forEach((difficultyOption) => (difficultyOption.checked = false));\n\n this.resetRangeFilter(this.achievedScore);\n this.resetRangeFilter(this.achievablePoints);\n\n this.applyFilter();\n }\n\n private resetRangeFilter(rangeFilter?: RangeFilter) {\n if (!rangeFilter?.filter) {\n return;\n }\n\n const filter = rangeFilter.filter;\n filter.selectedMin = filter.generalMin;\n filter.selectedMax = filter.generalMax;\n }\n\n private updateCategoryOptionsStates() {\n this.selectedCategoryOptions.set(this.getUpdatedSelectedCategoryOptions());\n this.selectableCategoryOptions.set(this.getSelectableCategoryOptions());\n }\n\n private getUpdatedSelectedCategoryOptions(): ExerciseCategoryFilterOption[] {\n return this.categoryFilter?.options.filter((categoryFilter) => categoryFilter.searched) ?? [];\n }\n\n private getSelectableCategoryOptions(): ExerciseCategoryFilterOption[] {\n return this.categoryFilter?.options.filter((categoryFilter) => !categoryFilter.searched) ?? [];\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/eaec96b589e09283b83d6231850aad0cd5ce7a47.json b/web/public/bundles/artemis/code/eaec96b589e09283b83d6231850aad0cd5ce7a47.json new file mode 100644 index 00000000..c5b14ba4 --- /dev/null +++ b/web/public/bundles/artemis/code/eaec96b589e09283b83d6231850aad0cd5ce7a47.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "eaec96b589e09283b83d6231850aad0cd5ce7a47", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/LectureImportApi.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.lecture.api;\n\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.stereotype.Controller;\n\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.lecture.config.LectureEnabled;\nimport de.tum.cit.aet.artemis.lecture.domain.Lecture;\nimport de.tum.cit.aet.artemis.lecture.service.LectureImportService;\n\n/**\n * API for managing lectures.\n */\n@Conditional(LectureEnabled.class)\n@Controller\n@Lazy\npublic class LectureImportApi extends AbstractLectureApi {\n\n private final LectureImportService lectureImportService;\n\n public LectureImportApi(LectureImportService lectureImportService) {\n this.lectureImportService = lectureImportService;\n }\n\n public Lecture importLecture(final Lecture importedLecture, final Course course, boolean importLectureUnits) {\n return lectureImportService.importLecture(importedLecture, course, importLectureUnits);\n }\n\n}\n" +} diff --git a/web/public/bundles/artemis/code/eb16ffbf44a62bd7aa5bb4f9553e0dbaedd07555.json b/web/public/bundles/artemis/code/eb16ffbf44a62bd7aa5bb4f9553e0dbaedd07555.json new file mode 100644 index 00000000..46448af0 --- /dev/null +++ b/web/public/bundles/artemis/code/eb16ffbf44a62bd7aa5bb4f9553e0dbaedd07555.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "eb16ffbf44a62bd7aa5bb4f9553e0dbaedd07555", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/domain/Slide.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.lecture.domain;\n\nimport java.time.ZonedDateTime;\nimport java.util.Objects;\n\nimport jakarta.persistence.Column;\nimport jakarta.persistence.Entity;\nimport jakarta.persistence.JoinColumn;\nimport jakarta.persistence.ManyToOne;\nimport jakarta.persistence.Table;\nimport jakarta.validation.constraints.Size;\n\nimport com.fasterxml.jackson.annotation.JsonIgnore;\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.core.domain.DomainObject;\nimport de.tum.cit.aet.artemis.core.domain.Parent;\nimport de.tum.cit.aet.artemis.core.util.FileSystemLocation;\nimport de.tum.cit.aet.artemis.exercise.domain.Exercise;\n\n@Entity\n@Table(name = \"slide\")\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic class Slide extends DomainObject {\n\n @ManyToOne\n @JoinColumn(name = \"attachment_unit_id\", nullable = false)\n @Parent\n private AttachmentVideoUnit attachmentVideoUnit;\n\n /**\n * Whether a newer version of the file has replaced this slide, or the instructor dropped it from the page order.\n *

\n * A superseded slide keeps its unit rather than being detached from it. Nothing references a slide row, so a\n * detached one was reachable from nowhere and nothing ever removed it; keeping the unit leaves the history\n * readable and the row inside the unit's lifetime. Every query that lists a unit's slides filters these out.\n */\n @Column(name = \"superseded\", nullable = false)\n private boolean superseded = false;\n\n @Size(max = 150)\n @Column(name = \"slide_image_path\", length = 150)\n private String slideImagePath;\n\n @Column(name = \"slide_number\")\n private int slideNumber;\n\n @Column(name = \"hidden\")\n private ZonedDateTime hidden;\n\n /**\n * The version of the attachment file this slide was split from. Together with {@link #attachmentSha256Hash} it tells whether the slide belongs to the stored file, which\n * the student version needs: it removes hidden slides from that file by slide number.\n */\n @JsonIgnore\n @Column(name = \"attachment_version\")\n private Integer attachmentVersion;\n\n /**\n * The SHA-256 hash of the attachment file this slide was split from, see {@link #attachmentVersion}.\n */\n @JsonIgnore\n @Column(name = \"attachment_sha256_hash\", length = 64)\n private String attachmentSha256Hash;\n\n // Exercise ID is retained to sync the Slide's hidden date with the Exercise's due date when linked\n @ManyToOne\n @JoinColumn(name = \"exercise_id\")\n private Exercise exercise;\n\n public Integer getAttachmentVersion() {\n return attachmentVersion;\n }\n\n public String getAttachmentSha256Hash() {\n return attachmentSha256Hash;\n }\n\n /**\n * Records that this slide was split from the given file revision of its attachment.\n *\n * @param version the version of the attachment file\n * @param sha256Hash the hash of the attachment file\n */\n public void setAttachmentRevision(Integer version, String sha256Hash) {\n this.attachmentVersion = version;\n this.attachmentSha256Hash = sha256Hash;\n }\n\n /**\n * Whether this slide was split from the given file revision.\n *\n * @param version the version of the attachment file\n * @param sha256Hash the hash of the attachment file\n * @return whether version and hash match, treating two missing values as equal\n */\n public boolean belongsToRevision(Integer version, String sha256Hash) {\n return Objects.equals(attachmentVersion, version) && Objects.equals(attachmentSha256Hash, sha256Hash);\n }\n\n public boolean isSuperseded() {\n return superseded;\n }\n\n public void setSuperseded(boolean superseded) {\n this.superseded = superseded;\n }\n\n public AttachmentVideoUnit getAttachmentVideoUnit() {\n return attachmentVideoUnit;\n }\n\n public void setAttachmentVideoUnit(AttachmentVideoUnit attachmentVideoUnit) {\n this.attachmentVideoUnit = attachmentVideoUnit;\n }\n\n /**\n * The filename of the rendered slide image, which is the whole of what is stored.\n *

\n * Unlike the other file references this one is never turned into a URL, because no endpoint serves a slide by its filename. A client asks for a slide image by id through\n * {@code files/slides/{slideId}}, and the server locates the file from this slide's attachment video unit and slide number. The value is therefore a pure storage key.\n *\n * @return the filename of the slide image\n */\n public String getSlideImagePath() {\n return slideImagePath;\n }\n\n /**\n * Stores the filename of the given value. See {@link FileSystemLocation#storedFilename}.\n *\n * @param slideImagePath the filename of the slide image\n */\n public void setSlideImagePath(String slideImagePath) {\n this.slideImagePath = FileSystemLocation.storedFilename(slideImagePath);\n }\n\n public int getSlideNumber() {\n return slideNumber;\n }\n\n public void setSlideNumber(int slideNumber) {\n this.slideNumber = slideNumber;\n }\n\n public ZonedDateTime getHidden() {\n return hidden;\n }\n\n public void setHidden(ZonedDateTime hidden) {\n this.hidden = hidden;\n }\n\n public Exercise getExercise() {\n return exercise;\n }\n\n public void setExercise(Exercise exercise) {\n this.exercise = exercise;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/eb4adabfcf6be5198f9c88302aa544a170831e2b.json b/web/public/bundles/artemis/code/eb4adabfcf6be5198f9c88302aa544a170831e2b.json new file mode 100644 index 00000000..9a9a30be --- /dev/null +++ b/web/public/bundles/artemis/code/eb4adabfcf6be5198f9c88302aa544a170831e2b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "eb4adabfcf6be5198f9c88302aa544a170831e2b", + "language": "typescript", + "path": "src/main/webapp/app/quiz/manage/update/quiz-question-handoff.service.ts", + "schema": "codexray.code/1", + "text": "import { Service } from '@angular/core';\nimport { GeneratedQuestion } from 'app/hyperion/quiz/quiz-ai-generation-modal/quiz-ai-generation.types';\n\n/**\n * Carries questions from another page into the next new quiz the editor opens for the same course, so that a page such as Hyperion's\n * quiz question pool can pre-fill a quiz without creating it itself. Questions are handed over once: taking them clears the service,\n * whether or not the course matches.\n */\n@Service()\nexport class QuizQuestionHandoffService {\n private pending?: { offerId: number; courseId: number; questions: GeneratedQuestion[] };\n\n private lastOfferId = 0;\n\n /**\n * Stores questions for the next new quiz of a course, replacing any that were stored before.\n *\n * @param courseId the course whose quiz editor may take the questions\n * @param questions the questions the editor should append\n * @returns the id of this offer, which {@link clear} takes\n */\n offer(courseId: number, questions: GeneratedQuestion[]): number {\n this.lastOfferId += 1;\n this.pending = { offerId: this.lastOfferId, courseId, questions: [...questions] };\n return this.lastOfferId;\n }\n\n /**\n * Returns the stored questions when they were offered for the given course, and clears them in every case.\n *\n * @param courseId the course of the quiz editor that takes the questions\n */\n take(courseId: number | undefined): GeneratedQuestion[] {\n const pending = this.pending;\n this.pending = undefined;\n return pending && pending.courseId === courseId ? pending.questions : [];\n }\n\n /**\n * Drops the stored questions of one offer, for when the quiz editor they were offered for does not open. A later offer that replaced\n * it stays stored.\n *\n * @param offerId the id {@link offer} returned\n */\n clear(offerId: number): void {\n if (this.pending?.offerId === offerId) {\n this.pending = undefined;\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/ec12862a35e5029562e6a44108ad506d38cd5ee5.json b/web/public/bundles/artemis/code/ec12862a35e5029562e6a44108ad506d38cd5ee5.json new file mode 100644 index 00000000..f9b173cd --- /dev/null +++ b/web/public/bundles/artemis/code/ec12862a35e5029562e6a44108ad506d38cd5ee5.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "ec12862a35e5029562e6a44108ad506d38cd5ee5", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/repository/TextBlockRepository.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.assessment.repository;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\n\nimport java.util.Set;\n\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.data.jpa.repository.Modifying;\nimport org.springframework.stereotype.Repository;\nimport org.springframework.transaction.annotation.Transactional;\n\nimport de.tum.cit.aet.artemis.core.repository.base.ArtemisJpaRepository;\nimport de.tum.cit.aet.artemis.text.domain.TextBlock;\n\n/**\n * Spring Data repository for the TextBlock entity.\n */\n@Profile(PROFILE_CORE)\n@Lazy\n@Repository\npublic interface TextBlockRepository extends ArtemisJpaRepository {\n\n Set findAllBySubmissionId(Long id);\n\n @Transactional // ok because of delete\n @Modifying\n void deleteAllBySubmission_Id(Long submissionId);\n}\n" +} diff --git a/web/public/bundles/artemis/code/ed312a91278f1d0952d2b9abfe07658126f02a38.json b/web/public/bundles/artemis/code/ed312a91278f1d0952d2b9abfe07658126f02a38.json new file mode 100644 index 00000000..8c6eb23b --- /dev/null +++ b/web/public/bundles/artemis/code/ed312a91278f1d0952d2b9abfe07658126f02a38.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "ed312a91278f1d0952d2b9abfe07658126f02a38", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/domain/CreatedConversationMessage.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.communication.domain;\n\nimport java.util.Set;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.communication.domain.conversation.Conversation;\n\n/**\n * Encapsulates data needed after a new message has been created in a conversation. This data is used to send notifications to involved users about the new message asynchronously\n *\n * @param messageWithHiddenDetails the new message with hidden details, i.e. conversation details\n * @param completeConversation the conversation without hidden details\n * @param mentionedUsers users mentioned in the message\n * @param mentionsAllMembers whether the message pings all members of the conversation with \"@all\", which only applies to group chats\n */\npublic record CreatedConversationMessage(Post messageWithHiddenDetails, Conversation completeConversation, Set mentionedUsers, boolean mentionsAllMembers) {\n\n}\n" +} diff --git a/web/public/bundles/artemis/code/edf35ca4158198a48ade5b4f2f68aae5fa80b351.json b/web/public/bundles/artemis/code/edf35ca4158198a48ade5b4f2f68aae5fa80b351.json new file mode 100644 index 00000000..72bdf8aa --- /dev/null +++ b/web/public/bundles/artemis/code/edf35ca4158198a48ade5b4f2f68aae5fa80b351.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "edf35ca4158198a48ade5b4f2f68aae5fa80b351", + "language": "typescript", + "path": "src/main/webapp/app/core/notification/system-notification/system-notification.component.ts", + "schema": "codexray.code/1", + "text": "import { AfterViewChecked, Component, ElementRef, OnDestroy, OnInit, Renderer2, RendererStyleFlags2, inject, signal } from '@angular/core';\nimport dayjs from 'dayjs/esm';\nimport { SystemNotification, SystemNotificationType } from 'app/admin/system-notification-management/system-notification.model';\nimport { AccountService } from 'app/core/auth/account.service';\nimport { WebsocketService } from 'app/foundation/service/websocket.service';\nimport { User } from 'app/account/user/user.model';\nimport { faExclamationTriangle, faInfoCircle, faTimes } from '@fortawesome/free-solid-svg-icons';\nimport { DOCUMENT, NgClass } from '@angular/common';\nimport { Subscription, filter } from 'rxjs';\nimport { convertDateFromServer } from 'app/foundation/util/date.utils';\nimport { updateHeaderHeight } from 'app/foundation/util/navbar.util';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { SystemNotificationService } from 'app/core/notification/system-notification/system-notification.service';\nimport { TumAetUiPopoverComponent, TumAetUiPopoverTriggerDirective } from '@tumaet/ui-angular/popover';\nimport { TumAetUiTooltipDirective } from '@tumaet/ui-angular/tooltip';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { LocalStorageService } from 'app/foundation/service/local-storage.service';\n\nexport const WEBSOCKET_CHANNEL = '/topic/notification/system-notification';\nexport const CLOSED_NOTIFICATION_IDS_STORAGE_KEY = 'system-notification.closedIds';\n\n@Component({\n selector: 'jhi-system-notification',\n preserveWhitespaces: false,\n templateUrl: './system-notification.component.html',\n styleUrls: ['system-notification.css'],\n imports: [NgClass, FaIconComponent, TumAetUiTooltipDirective, ArtemisTranslatePipe, TumAetUiPopoverComponent, TumAetUiPopoverTriggerDirective],\n})\nexport class SystemNotificationComponent implements OnInit, OnDestroy, AfterViewChecked {\n private accountService = inject(AccountService);\n private websocketService = inject(WebsocketService);\n private systemNotificationService = inject(SystemNotificationService);\n private localStorageService = inject(LocalStorageService);\n private renderer = inject(Renderer2);\n private elementRef = inject(ElementRef);\n private document = inject(DOCUMENT);\n\n readonly INFO = SystemNotificationType.INFO;\n readonly WARNING = SystemNotificationType.WARNING;\n\n notifications: SystemNotification[] = [];\n readonly notificationsToDisplay = signal([]);\n closedIds: number[] = [];\n websocketStatusSubscription?: Subscription;\n systemNotificationSubscription?: Subscription;\n\n nextUpdateFuture?: ReturnType;\n private websocketDelayTimeout?: ReturnType;\n private lastNotificationHeight = 0;\n\n // Icons\n faExclamationTriangle = faExclamationTriangle;\n faInfoCircle = faInfoCircle;\n faTimes = faTimes;\n\n private authSubscription?: Subscription;\n\n /** Counts the notification lists received over the websocket, so that an older REST response does not replace a newer one. */\n private websocketUpdateCount = 0;\n /** The REST request currently in flight; a newer request cancels it, so that an older response cannot complete last. */\n private loadSubscription?: Subscription;\n\n ngOnInit() {\n this.closedIds = this.localStorageService.retrieve(CLOSED_NOTIFICATION_IDS_STORAGE_KEY) ?? [];\n this.loadActiveNotification();\n this.authSubscription = this.accountService.getAuthenticationState().subscribe((user: User | undefined) => {\n if (user) {\n clearTimeout(this.websocketDelayTimeout);\n this.websocketDelayTimeout = setTimeout(() => {\n this.subscribeSocket();\n // The websocket service restores the subscription itself after a reconnect. Subscribing again on every reconnect\n // would only send redundant UNSUBSCRIBE and SUBSCRIBE frames, so just reload what may have changed meanwhile.\n this.websocketStatusSubscription?.unsubscribe();\n // Every connected state after the current one is a reconnect: a short interruption does not emit a disconnected state in between,\n // as the websocket service hides it from consumers. The current state is a reconnect only if a connection existed before, e.g. when\n // the connection was re-established during the delay above.\n this.websocketStatusSubscription = this.websocketService.connectionState\n .pipe(filter((status, index) => status.connected && (index > 0 || status.wasEverConnectedBefore)))\n .subscribe(() => this.loadActiveNotification());\n }, 500);\n } else {\n clearTimeout(this.websocketDelayTimeout);\n this.websocketStatusSubscription?.unsubscribe();\n this.systemNotificationSubscription?.unsubscribe();\n }\n });\n }\n\n ngAfterViewChecked() {\n this.updateNotificationHeightCssVariable();\n }\n\n ngOnDestroy() {\n if (this.nextUpdateFuture) {\n clearTimeout(this.nextUpdateFuture);\n }\n clearTimeout(this.websocketDelayTimeout);\n this.authSubscription?.unsubscribe();\n this.loadSubscription?.unsubscribe();\n this.websocketStatusSubscription?.unsubscribe();\n this.systemNotificationSubscription?.unsubscribe();\n this.renderer.setStyle(this.document.documentElement, '--system-notification-height', '0px', RendererStyleFlags2.DashCase);\n }\n\n private loadActiveNotification() {\n this.loadSubscription?.unsubscribe();\n const websocketUpdateCountAtRequest = this.websocketUpdateCount;\n this.loadSubscription = this.systemNotificationService.getActiveNotifications().subscribe((notifications: SystemNotification[]) => {\n if (this.websocketUpdateCount !== websocketUpdateCountAtRequest) {\n // A newer list arrived over the websocket while the request was in flight\n return;\n }\n this.notifications = notifications;\n this.selectVisibleNotificationsAndScheduleUpdate();\n });\n }\n\n /**\n * Listens to updates of the system notification array on the websocket.\n * The server submits the entire list of relevant system notifications if they are updated\n */\n private subscribeSocket() {\n this.systemNotificationSubscription?.unsubscribe();\n this.systemNotificationSubscription = this.websocketService.subscribe(WEBSOCKET_CHANNEL).subscribe((notifications: SystemNotification[]) => {\n this.websocketUpdateCount++;\n notifications.forEach((notification) => {\n notification.notificationDate = convertDateFromServer(notification.notificationDate);\n notification.expireDate = convertDateFromServer(notification.expireDate);\n });\n this.notifications = notifications;\n this.pruneClosedIds();\n this.selectVisibleNotificationsAndScheduleUpdate();\n });\n }\n\n /**\n * Schedule a change detection cycle of this component at the next date that changes\n */\n private selectVisibleNotificationsAndScheduleUpdate() {\n const now = dayjs();\n this.notificationsToDisplay.set(\n this.notifications\n .filter((notification) => notification.id == undefined || !this.closedIds.includes(notification.id))\n .filter((notification) => notification.notificationDate?.isSameOrBefore(now) && (notification.expireDate?.isAfter(now) ?? true)),\n );\n\n if (this.nextUpdateFuture) {\n clearTimeout(this.nextUpdateFuture);\n this.nextUpdateFuture = undefined;\n }\n\n const nextRelevantTimestamp = this.notifications\n .flatMap((notification) => [notification.expireDate, notification.notificationDate])\n .filter((date) => date?.isAfter(now))\n .map((date) => date!)\n .reduce((previous, current) => (previous ? dayjs.min(previous, current) : current), undefined);\n\n if (nextRelevantTimestamp) {\n this.nextUpdateFuture = setTimeout(() => {\n this.selectVisibleNotificationsAndScheduleUpdate();\n }, nextRelevantTimestamp.diff(now));\n }\n }\n\n close(notification: SystemNotification) {\n if (notification.id == undefined) {\n return;\n }\n if (!this.closedIds.includes(notification.id)) {\n this.closedIds.push(notification.id);\n }\n this.localStorageService.store(CLOSED_NOTIFICATION_IDS_STORAGE_KEY, this.closedIds);\n this.selectVisibleNotificationsAndScheduleUpdate();\n }\n\n /**\n * Remove closed IDs that no longer correspond to any known notification,\n * so localStorage doesn't grow unboundedly.\n */\n private pruneClosedIds() {\n const knownIds = new Set(this.notifications.map((n) => n.id));\n const pruned = this.closedIds.filter((id) => knownIds.has(id));\n if (pruned.length !== this.closedIds.length) {\n this.closedIds = pruned;\n this.localStorageService.store(CLOSED_NOTIFICATION_IDS_STORAGE_KEY, this.closedIds);\n }\n }\n\n private updateNotificationHeightCssVariable() {\n const height = (this.elementRef.nativeElement as HTMLElement).offsetHeight;\n if (height !== this.lastNotificationHeight) {\n this.lastNotificationHeight = height;\n this.renderer.setStyle(this.document.documentElement, '--system-notification-height', `${height}px`, RendererStyleFlags2.DashCase);\n updateHeaderHeight();\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/eea4e0eab0423ff54cc27881d048be96aed8b96a.json b/web/public/bundles/artemis/code/eea4e0eab0423ff54cc27881d048be96aed8b96a.json new file mode 100644 index 00000000..8ad813ef --- /dev/null +++ b/web/public/bundles/artemis/code/eea4e0eab0423ff54cc27881d048be96aed8b96a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "eea4e0eab0423ff54cc27881d048be96aed8b96a", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/domain/message/IrisJsonMessageContent.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.iris.domain.message;\n\nimport jakarta.persistence.Column;\nimport jakarta.persistence.DiscriminatorValue;\nimport jakarta.persistence.Entity;\nimport jakarta.persistence.Table;\n\nimport org.jspecify.annotations.NonNull;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.jackson.annotation.JsonRawValue;\n\nimport tools.jackson.core.JacksonException;\nimport tools.jackson.core.JsonParser;\nimport tools.jackson.core.JsonToken;\nimport tools.jackson.databind.annotation.JsonDeserialize;\n\nimport de.tum.cit.aet.artemis.core.config.RawJsonStringDeserializer;\nimport de.tum.cit.aet.artemis.core.util.JsonObjectMapper;\n\n/**\n * An IrisJsonMessageContent represents the content of a message in an IrisSession as a JSON object, stored as its JSON text.\n *

\n * The shape depends on the kind of message: a multiple-choice question, a summary of the conversation, a context switch marker or a command marker. Code that knows the\n * shape reads and writes it as a record through {@link #readAs} and {@link #of}.\n */\n@Entity\n@Table(name = \"iris_json_message_content\")\n@DiscriminatorValue(value = \"JSON\")\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic class IrisJsonMessageContent extends IrisMessageContent {\n\n @NonNull\n @Column(name = \"json_content\")\n private String jsonContent = \"{}\";\n\n // Required by JPA\n public IrisJsonMessageContent() {\n }\n\n /**\n * Creates the content from a record, which is stored as its pretty-printed JSON.\n *\n * @param value the record holding the content\n * @return the new content\n */\n public static IrisJsonMessageContent of(@NonNull Record value) {\n var content = new IrisJsonMessageContent();\n content.replaceContent(value);\n return content;\n }\n\n /**\n * Creates the content from JSON text, which is stored exactly as given.\n *\n * @param jsonContent the JSON text\n * @return the new content\n * @throws RuntimeException if the text is not a single valid JSON value\n */\n public static IrisJsonMessageContent ofJson(@NonNull String jsonContent) {\n var content = new IrisJsonMessageContent();\n content.setJsonContent(jsonContent);\n return content;\n }\n\n @JsonProperty(value = \"attributes\", required = true)\n @JsonRawValue\n public String getAttributes() {\n return jsonContent;\n }\n\n /**\n * Sets the content from the {@code attributes} JSON value of a serialized content.\n *\n * @param attributes the JSON text of the value\n */\n @JsonProperty(value = \"attributes\", required = true)\n @JsonDeserialize(using = RawJsonStringDeserializer.class)\n public void setAttributes(String attributes) {\n setJsonContent(attributes);\n }\n\n @Override\n public String getContentAsString() {\n return jsonContent;\n }\n\n /**\n * Sets the content of this message as a JSON string.\n * The string is checked to be a single valid JSON value and then stored exactly as given.\n *\n * @param jsonContent The JSON string to set as content\n */\n public void setJsonContent(@NonNull String jsonContent) {\n try (JsonParser parser = JsonObjectMapper.get().createParser(jsonContent)) {\n if (parser.nextToken() == null) {\n throw new IllegalArgumentException(\"Json content must not be empty\");\n }\n parser.skipChildren();\n JsonToken trailing = parser.nextToken();\n if (trailing != null) {\n throw new IllegalArgumentException(\"Json content has trailing content: \" + trailing);\n }\n this.jsonContent = jsonContent;\n }\n catch (JacksonException | IllegalArgumentException e) {\n throw new RuntimeException(\"Error while loading Json content\", e);\n }\n }\n\n /**\n * Reads the content as the given record type. Properties the record does not declare are ignored.\n *\n * @param type the record type to read the content as\n * @param the record type\n * @return the content as the record\n * @throws JacksonException if the content does not have the shape of the record\n */\n public T readAs(Class type) {\n return JsonObjectMapper.get().readValue(jsonContent, type);\n }\n\n /**\n * Replaces the content of this message with a record, which is stored as its pretty-printed JSON.\n *\n * @param value the record holding the new content\n */\n public void replaceContent(@NonNull Record value) {\n this.jsonContent = JsonObjectMapper.get().writerWithDefaultPrettyPrinter().writeValueAsString(value);\n }\n\n @Override\n public String toString() {\n return \"IrisMessageContent{\" + \"message=\" + (message == null ? \"null\" : message.getId()) + \", textContent='\" + getContentAsString() + '\\'' + '}';\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/ef11ce342d7e105ce35676eee565cc21612965a7.json b/web/public/bundles/artemis/code/ef11ce342d7e105ce35676eee565cc21612965a7.json new file mode 100644 index 00000000..f6ada854 --- /dev/null +++ b/web/public/bundles/artemis/code/ef11ce342d7e105ce35676eee565cc21612965a7.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "ef11ce342d7e105ce35676eee565cc21612965a7", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/LocalVCPostPushHook.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.localvc.service;\n\nimport java.util.Collection;\nimport java.util.Iterator;\nimport java.util.Optional;\nimport java.util.function.Consumer;\nimport java.util.function.Supplier;\n\nimport org.apache.sshd.server.session.ServerSession;\nimport org.eclipse.jgit.lib.Repository;\nimport org.eclipse.jgit.transport.PostReceiveHook;\nimport org.eclipse.jgit.transport.ReceiveCommand;\nimport org.eclipse.jgit.transport.ReceivePack;\nimport org.jspecify.annotations.NonNull;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.localci.exception.LocalCIException;\nimport de.tum.cit.aet.artemis.localvc.service.ssh.SshConstants;\nimport de.tum.cit.aet.artemis.programming.domain.AuthenticationMechanism;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingExercise;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingExerciseParticipation;\nimport de.tum.cit.aet.artemis.programming.exception.BuildOutsideTimeWindowException;\nimport de.tum.cit.aet.artemis.programming.exception.VersionControlException;\n\n/**\n * Contains an onPostReceive method that is called by JGit after a push has been received (i.e. after the pushed files were successfully written to disk).\n */\npublic class LocalVCPostPushHook implements PostReceiveHook {\n\n private final LocalVCServletService localVCServletService;\n\n private final LocalVCPushProcessingService pushProcessingService;\n\n private final PasswordAuthenticationNoticeService passwordAuthenticationNoticeService;\n\n private final ProgrammingExerciseParticipation participation;\n\n private final ProgrammingExercise exercise;\n\n private final User user;\n\n private final Supplier authenticationMechanism;\n\n private final Consumer pushedCommitRecorder;\n\n /**\n * Creates the hook of a push over SSH, which reads what the command cached in the session when it was authorized.\n *\n * @param audit collects the commit of the push for the access log entry of the command\n */\n public LocalVCPostPushHook(LocalVCServletService localVCServletService, LocalVCPushProcessingService pushProcessingService,\n PasswordAuthenticationNoticeService passwordAuthenticationNoticeService, ServerSession serverSession, @NonNull User user, GitOperationAudit audit) {\n this.localVCServletService = localVCServletService;\n this.pushProcessingService = pushProcessingService;\n this.passwordAuthenticationNoticeService = passwordAuthenticationNoticeService;\n this.participation = serverSession.getAttribute(SshConstants.PARTICIPATION_KEY);\n this.exercise = serverSession.getAttribute(SshConstants.REPOSITORY_EXERCISE_KEY);\n this.user = user;\n this.authenticationMechanism = () -> AuthenticationMechanism.SSH;\n this.pushedCommitRecorder = audit::onPushAccepted;\n }\n\n /**\n * Creates the hook of a push over HTTPS.\n *\n * @param authenticationMechanism reads how the push authenticated. JGit creates the hook before the push filter authorizes the request, so the value is only read when the hook\n * runs.\n * @param pushedCommitRecorder passes the commit hash of the accepted push to the audit of the request\n */\n public LocalVCPostPushHook(LocalVCServletService localVCServletService, LocalVCPushProcessingService pushProcessingService,\n PasswordAuthenticationNoticeService passwordAuthenticationNoticeService, @NonNull User user, Supplier authenticationMechanism,\n Consumer pushedCommitRecorder) {\n this.localVCServletService = localVCServletService;\n this.pushProcessingService = pushProcessingService;\n this.passwordAuthenticationNoticeService = passwordAuthenticationNoticeService;\n this.user = user;\n this.authenticationMechanism = authenticationMechanism;\n this.pushedCommitRecorder = pushedCommitRecorder;\n // JGit constructs this hook before HTTPS authorization. Resolve the participation and exercise when processing the accepted push.\n this.participation = null;\n this.exercise = null;\n }\n\n /**\n * Called by JGit after a push has been received (i.e. after the pushed files were successfully written to disk).\n *\n * @param receivePack the process handling the current receive. Hooks may obtain details about the destination repository through this handle.\n * @param commands unmodifiable set of successfully completed commands.\n */\n @Override\n public void onPostReceive(ReceivePack receivePack, Collection commands) {\n\n // Said before anything else, so that a push that updates nothing or is rejected below still tells the user.\n if (authenticationMechanism.get() == AuthenticationMechanism.PASSWORD) {\n receivePack.sendMessage(passwordAuthenticationNoticeService.getPasswordAuthenticationPushNotice());\n }\n\n // The PreReceiveHook already checked that there is exactly one command and rejects the push otherwise.\n Iterator iterator = commands.iterator();\n if (!iterator.hasNext()) {\n // E.g. no refs were updated during the push operation.\n // Note: This was already checked in the LocalVCPrePushHook but the request is then just delegated further and is finally stopped here.\n return;\n }\n\n ReceiveCommand command = iterator.next();\n\n // If there are multiple commits in the push, this will always retrieve the commit hash of the latest commit.\n String commitHash = command.getNewId().name();\n\n // The push is part of the repository now, so it is part of the access log, whatever becomes of it below: a push to another branch is no submission, and the processing of\n // a push can fail after the push itself went through.\n pushedCommitRecorder.accept(commitHash);\n\n String wrongBranchMessage = \"Only pushes to the default branch will be graded. Your changes were saved nonetheless.\";\n\n if (command.getType() != ReceiveCommand.Type.UPDATE && command.getType() != ReceiveCommand.Type.UPDATE_NONFASTFORWARD) {\n // The command can also be of type CREATE (e.g. when creating a new branch). This will never lead to a new submission.\n // Pushes for submissions must come from the default branch, which can only be updated and not created by the student.\n // Updates to other branches will be caught in the catch block below, returning an error message to the user.\n receivePack.sendError(wrongBranchMessage);\n return;\n }\n\n Repository repository = receivePack.getRepository();\n\n try {\n pushProcessingService.processNewPush(commitHash, repository, user, Optional.ofNullable(exercise), Optional.ofNullable(participation));\n }\n catch (LocalCIException e) {\n // Return an error message to the user.\n receivePack.sendError(\n \"Something went wrong while processing your push. Your changes were saved, but we could not test your submission. Please try again and if this issue persists, contact the course administrators.\");\n }\n catch (BuildOutsideTimeWindowException e) {\n // The push is valid and kept, it is just not built, so this is a message and no error.\n receivePack.sendMessage(e.getUserMessage());\n }\n catch (VersionControlException e) {\n boolean isBranchingAllowed = localVCServletService.isBranchingAllowedForRepository(repository);\n if (isBranchingAllowed) {\n String message = \"Your push will not be shown in Artemis, because you are currently pushing changes on a custom (non-default) branch. Your changes are still saved correctly.\";\n receivePack.sendMessage(message);\n }\n else {\n receivePack.sendError(wrongBranchMessage);\n }\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/ef13967bf83a411a5438e95652e712d0e522dc63.json b/web/public/bundles/artemis/code/ef13967bf83a411a5438e95652e712d0e522dc63.json new file mode 100644 index 00000000..f8177829 --- /dev/null +++ b/web/public/bundles/artemis/code/ef13967bf83a411a5438e95652e712d0e522dc63.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "ef13967bf83a411a5438e95652e712d0e522dc63", + "language": "typescript", + "path": "src/main/webapp/app/exercise/shared/entities/team/team.model.ts", + "schema": "codexray.code/1", + "text": "import { User } from 'app/account/user/user.model';\nimport { StudentParticipation } from 'app/exercise/shared/entities/participation/student-participation.model';\nimport { BaseEntity } from 'app/foundation/model/base-entity';\nimport dayjs from 'dayjs/esm';\n\nexport enum TeamImportStrategyType {\n PURGE_EXISTING = 'PURGE_EXISTING',\n CREATE_ONLY = 'CREATE_ONLY',\n}\n\nexport interface OnlineTeamStudent {\n login: string;\n lastTypingDate: dayjs.Dayjs;\n lastActionDate: dayjs.Dayjs;\n}\n\n/** Instantiated and/or deserialized from server data; fields are populated after construction, hence the definite-assignment (!) markers. */\nexport class TeamAssignmentPayload {\n public exerciseId!: number;\n public teamId?: number;\n public studentParticipations!: StudentParticipation[];\n}\n\nexport class Team implements BaseEntity {\n public id?: number;\n public name?: string;\n public shortName?: string;\n public image?: string;\n public students?: User[];\n public owner?: User;\n\n public createdBy?: string;\n public createdDate?: dayjs.Dayjs;\n public lastModifiedBy?: string;\n public lastModifiedDate?: dayjs.Dayjs;\n\n constructor() {\n this.students = []; // default value\n }\n}\n\n/**\n * This class is used for importing teams from a file\n * Either registration number or login must be set\n * Additionally student has teamName to identify which team they belong to\n */\nexport interface StudentWithTeam {\n firstName?: string;\n lastName?: string;\n registrationNumber?: string;\n teamName: string;\n username?: string;\n}\n" +} diff --git a/web/public/bundles/artemis/code/ef4b101542c1966a026665bbabc12f4d11b38649.json b/web/public/bundles/artemis/code/ef4b101542c1966a026665bbabc12f4d11b38649.json new file mode 100644 index 00000000..e71c7366 --- /dev/null +++ b/web/public/bundles/artemis/code/ef4b101542c1966a026665bbabc12f4d11b38649.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "ef4b101542c1966a026665bbabc12f4d11b38649", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/AbstractQuizSubmissionService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.quiz.service;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\n\nimport java.time.ZonedDateTime;\nimport java.util.HashSet;\n\nimport org.jspecify.annotations.Nullable;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.exercise.domain.SubmissionType;\nimport de.tum.cit.aet.artemis.exercise.dto.StudentParticipationSubmitTargetDTO;\nimport de.tum.cit.aet.artemis.exercise.service.SubmissionVersionService;\nimport de.tum.cit.aet.artemis.quiz.domain.QuizExercise;\nimport de.tum.cit.aet.artemis.quiz.domain.QuizSubmission;\n\n@Profile(PROFILE_CORE)\n@Lazy\n@Service\npublic abstract class AbstractQuizSubmissionService {\n\n private final SubmissionVersionService submissionVersionService;\n\n private static final Logger log = LoggerFactory.getLogger(AbstractQuizSubmissionService.class);\n\n protected AbstractQuizSubmissionService(SubmissionVersionService submissionVersionService) {\n this.submissionVersionService = submissionVersionService;\n }\n\n /**\n * Save the given submission to the database.\n *\n * @param quizExercise the QuizExercise of which the given submission belongs to\n * @param submission the QuizSubmission to be saved\n * @param user the User that made the given submission\n * @param participationFromExamGate the participation the exam submission gate already resolved, or null when the\n * caller has none and it has to be looked up here\n * @return saved QuizSubmission\n */\n protected abstract T save(QuizExercise quizExercise, T submission, User user, @Nullable StudentParticipationSubmitTargetDTO participationFromExamGate);\n\n /**\n * Updates a submission for the exam mode\n *\n * @param quizExercise the quiz exercise for which the submission for the exam mode should be done\n * @param quizSubmission the quiz submission includes the submitted answers by the student\n * @param user the student who wants to submit the quiz during the exam\n * @param participationFromExamGate the participation the exam submission gate already resolved, or null when the\n * caller has none and it has to be looked up here\n * @return the updated quiz submission after it has been saved to the database\n */\n public T saveSubmissionForExamMode(QuizExercise quizExercise, T quizSubmission, User user, @Nullable StudentParticipationSubmitTargetDTO participationFromExamGate) {\n // update submission properties\n quizSubmission.setSubmitted(true);\n quizSubmission.setType(SubmissionType.MANUAL);\n quizSubmission.setSubmissionDate(ZonedDateTime.now());\n\n // remove result from submission (in the unlikely case it is passed here), so that students cannot inject a result\n quizSubmission.setResults(new HashSet<>());\n T savedQuizSubmission = this.save(quizExercise, quizSubmission, user, participationFromExamGate);\n\n // versioning of submission\n try {\n submissionVersionService.saveVersionForIndividualAsync(quizSubmission, user);\n }\n catch (Exception ex) {\n log.error(\"Quiz submission version could not be saved\", ex);\n }\n\n log.debug(\"submit exam quiz finished: {}\", savedQuizSubmission);\n\n return savedQuizSubmission;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/efa594146d4319a8f24ee4628d3cbe9e7578668d.json b/web/public/bundles/artemis/code/efa594146d4319a8f24ee4628d3cbe9e7578668d.json new file mode 100644 index 00000000..d4d26fcb --- /dev/null +++ b/web/public/bundles/artemis/code/efa594146d4319a8f24ee4628d3cbe9e7578668d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "efa594146d4319a8f24ee4628d3cbe9e7578668d", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/dto/ExerciseUnitDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.lecture.dto;\n\nimport java.time.ZonedDateTime;\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\nimport com.fasterxml.jackson.annotation.JsonInclude;\nimport com.fasterxml.jackson.annotation.JsonProperty;\n\nimport de.tum.cit.aet.artemis.exercise.domain.Exercise;\nimport de.tum.cit.aet.artemis.exercise.domain.ExerciseType;\nimport de.tum.cit.aet.artemis.lecture.domain.ExerciseUnit;\nimport io.swagger.v3.oas.annotations.media.Schema;\n\n@JsonIgnoreProperties(ignoreUnknown = true)\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record ExerciseUnitDTO(Long id, String name, ZonedDateTime releaseDate, boolean completed, boolean visibleToStudents, Set competencyLinks,\n ExerciseReferenceDTO exercise, @JsonProperty(\"type\") String type) implements LectureUnitDTO {\n\n public ExerciseUnitDTO {\n type = \"exercise\";\n }\n\n public static ExerciseUnitDTO of(ExerciseUnit exerciseUnit) {\n return new ExerciseUnitDTO(exerciseUnit.getId(), exerciseUnit.getName(), exerciseUnit.getReleaseDate(), exerciseUnit.isCompleted(), exerciseUnit.isVisibleToStudents(),\n exerciseUnit.getCompetencyLinks().stream().map(CompetencyLinkDTO::of).collect(Collectors.toSet()), ExerciseReferenceDTO.of(exerciseUnit.getExercise()),\n exerciseUnit.getType());\n }\n\n @Schema(name = \"ExerciseUnitExerciseReferenceDTO\")\n @JsonIgnoreProperties(ignoreUnknown = true)\n @JsonInclude(JsonInclude.Include.NON_EMPTY)\n public record ExerciseReferenceDTO(Long id, String title, ZonedDateTime releaseDate, ExerciseType type) {\n\n public static ExerciseReferenceDTO of(Exercise exercise) {\n if (exercise == null) {\n return null;\n }\n return new ExerciseReferenceDTO(exercise.getId(), exercise.getTitle(), exercise.getReleaseDate(), exercise.getExerciseType());\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/f030f1d442e9cb7bfc60c27e0ab3ffc8b5b9da8e.json b/web/public/bundles/artemis/code/f030f1d442e9cb7bfc60c27e0ab3ffc8b5b9da8e.json new file mode 100644 index 00000000..781eb0b1 --- /dev/null +++ b/web/public/bundles/artemis/code/f030f1d442e9cb7bfc60c27e0ab3ffc8b5b9da8e.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f030f1d442e9cb7bfc60c27e0ab3ffc8b5b9da8e", + "language": "typescript", + "path": "src/main/webapp/app/calendar/desktop/week-presentation/calendar-desktop-week-presentation.component.ts", + "schema": "codexray.code/1", + "text": "import { AfterViewInit, Component, ElementRef, computed, input, viewChild } from '@angular/core';\nimport { Dayjs } from 'dayjs/esm';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport * as utils from 'app/calendar/shared/util/calendar-util';\nimport { CalendarDayBadgeComponent } from 'app/calendar/shared/calendar-day-badge/calendar-day-badge.component';\nimport { CalendarEventsPerDaySectionComponent } from 'app/calendar/shared/calendar-events-per-day-section/calendar-events-per-day-section.component';\n\ntype Day = { date: Dayjs; weekdayNameKey: string; id: string };\n\n@Component({\n selector: 'jhi-calendar-desktop-week-presentation',\n imports: [CalendarDayBadgeComponent, ArtemisTranslatePipe, CalendarEventsPerDaySectionComponent],\n templateUrl: './calendar-desktop-week-presentation.component.html',\n styleUrl: './calendar-desktop-week-presentation.component.css',\n})\nexport class CalendarDesktopWeekPresentationComponent implements AfterViewInit {\n private static readonly INITIAL_SCROLL_HOURS_AFTER_MIDNIGHT = 7.5;\n private static readonly INITIAL_SCROLL_POSITION =\n CalendarDesktopWeekPresentationComponent.INITIAL_SCROLL_HOURS_AFTER_MIDNIGHT * CalendarEventsPerDaySectionComponent.HOUR_HEIGHT_IN_PIXEL;\n\n firstDayOfCurrentWeek = input.required();\n scrollContainer = viewChild('scrollContainer');\n weekdays = computed(() => this.computeWeekdaysFrom(this.firstDayOfCurrentWeek()));\n dates = computed(() => this.weekdays().map((day) => day.date));\n\n ngAfterViewInit(): void {\n const container = this.scrollContainer();\n if (container) {\n container.nativeElement.scrollTop = CalendarDesktopWeekPresentationComponent.INITIAL_SCROLL_POSITION;\n }\n }\n\n private computeWeekdaysFrom(firstDayOfWeek: Dayjs): Day[] {\n return Array.from({ length: 7 }, (_, index) => {\n const date = firstDayOfWeek.add(index, 'day');\n const weekdayNameKey = this.getWeekdayNameKey(date);\n const id = date.format('YYYY-MM-DD');\n return { date, weekdayNameKey, id };\n });\n }\n\n private getWeekdayNameKey(day: Dayjs): string {\n const keys = utils.getWeekdayNameKeys();\n return keys[day.isoWeekday() - 1];\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/f03d5875f8ce59e1cb46f2bd340ab876e79da6a3.json b/web/public/bundles/artemis/code/f03d5875f8ce59e1cb46f2bd340ab876e79da6a3.json new file mode 100644 index 00000000..668013c3 --- /dev/null +++ b/web/public/bundles/artemis/code/f03d5875f8ce59e1cb46f2bd340ab876e79da6a3.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f03d5875f8ce59e1cb46f2bd340ab876e79da6a3", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/web/QuizExerciseRetrievalResource.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.quiz.web;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\n\nimport java.time.ZonedDateTime;\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.Optional;\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.http.ResponseEntity;\nimport org.springframework.web.bind.annotation.GetMapping;\nimport org.springframework.web.bind.annotation.PathVariable;\nimport org.springframework.web.bind.annotation.RequestMapping;\nimport org.springframework.web.bind.annotation.RequestParam;\nimport org.springframework.web.bind.annotation.RestController;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.account.repository.UserRepository;\nimport de.tum.cit.aet.artemis.communication.repository.conversation.ChannelRepository;\nimport de.tum.cit.aet.artemis.core.dto.SearchResultPageDTO;\nimport de.tum.cit.aet.artemis.core.dto.SortingOrder;\nimport de.tum.cit.aet.artemis.core.dto.pageablesearch.SearchTermPageableSearchDTO;\nimport de.tum.cit.aet.artemis.core.exception.AccessForbiddenException;\nimport de.tum.cit.aet.artemis.core.security.Role;\nimport de.tum.cit.aet.artemis.core.security.annotations.EnforceAtLeastStudent;\nimport de.tum.cit.aet.artemis.core.security.annotations.ManualConfig;\nimport de.tum.cit.aet.artemis.core.security.annotations.enforceRoleInCourse.EnforceAtLeastTutorInCourse;\nimport de.tum.cit.aet.artemis.core.security.annotations.enforceRoleInExercise.EnforceAtLeastEditorInExercise;\nimport de.tum.cit.aet.artemis.core.security.annotations.enforceRoleInExercise.EnforceAtLeastTutorInExercise;\nimport de.tum.cit.aet.artemis.core.service.AuthorizationCheckService;\nimport de.tum.cit.aet.artemis.core.service.featureusage.FeatureUsage;\nimport de.tum.cit.aet.artemis.core.service.featureusage.UserFeature;\nimport de.tum.cit.aet.artemis.exam.api.ExamDateApi;\nimport de.tum.cit.aet.artemis.exam.api.ExamRepositoryApi;\nimport de.tum.cit.aet.artemis.exam.config.ExamApiNotPresentException;\nimport de.tum.cit.aet.artemis.exam.domain.Exam;\nimport de.tum.cit.aet.artemis.exercise.repository.StudentParticipationRepository;\nimport de.tum.cit.aet.artemis.quiz.domain.QuizBatch;\nimport de.tum.cit.aet.artemis.quiz.domain.QuizExercise;\nimport de.tum.cit.aet.artemis.quiz.dto.exercise.QuizExerciseDetailsDTO;\nimport de.tum.cit.aet.artemis.quiz.dto.exercise.QuizExerciseForCourseDTO;\nimport de.tum.cit.aet.artemis.quiz.dto.exercise.QuizExerciseForSearchDTO;\nimport de.tum.cit.aet.artemis.quiz.dto.exercise.QuizExerciseForStudentResponseDTO;\nimport de.tum.cit.aet.artemis.quiz.repository.QuizBatchRepository;\nimport de.tum.cit.aet.artemis.quiz.repository.QuizExerciseRepository;\nimport de.tum.cit.aet.artemis.quiz.service.QuizBatchService;\nimport de.tum.cit.aet.artemis.quiz.service.QuizExerciseService;\n\n/**\n * REST controller to retrieve information about quiz exercises.\n */\n@Profile(PROFILE_CORE)\n@Lazy\n@FeatureUsage(UserFeature.QUIZ_AUTHORING)\n@RestController\n@RequestMapping(\"api/quiz/\")\npublic class QuizExerciseRetrievalResource {\n\n private static final Logger log = LoggerFactory.getLogger(QuizExerciseRetrievalResource.class);\n\n private final AuthorizationCheckService authCheckService;\n\n private final QuizBatchService quizBatchService;\n\n private final QuizExerciseRepository quizExerciseRepository;\n\n private final QuizExerciseService quizExerciseService;\n\n private final UserRepository userRepository;\n\n private final StudentParticipationRepository studentParticipationRepository;\n\n private final ChannelRepository channelRepository;\n\n private final QuizBatchRepository quizBatchRepository;\n\n private final Optional examRepositoryApi;\n\n private final Optional examDateApi;\n\n public QuizExerciseRetrievalResource(QuizExerciseRepository quizExerciseRepository, QuizExerciseService quizExerciseService, UserRepository userRepository,\n AuthorizationCheckService authCheckService, StudentParticipationRepository studentParticipationRepository, QuizBatchService quizBatchService,\n ChannelRepository channelRepository, QuizBatchRepository quizBatchRepository, Optional examRepositoryApi, Optional examDateApi) {\n this.quizExerciseRepository = quizExerciseRepository;\n this.quizExerciseService = quizExerciseService;\n this.userRepository = userRepository;\n this.authCheckService = authCheckService;\n this.studentParticipationRepository = studentParticipationRepository;\n this.quizBatchService = quizBatchService;\n this.channelRepository = channelRepository;\n this.quizBatchRepository = quizBatchRepository;\n this.examRepositoryApi = examRepositoryApi;\n this.examDateApi = examDateApi;\n }\n\n /**\n * GET /courses/:courseId/quiz-exercises : get all the exercises.\n *\n * @param courseId id of the course of which all exercises should be fetched\n * @return the ResponseEntity with status 200 (OK) and the list of quiz exercises in body\n */\n @GetMapping(\"courses/{courseId}/quiz-exercises\")\n @EnforceAtLeastTutorInCourse\n public ResponseEntity> getQuizExercisesForCourse(@PathVariable long courseId) {\n log.debug(\"REST request to get all quiz exercises for the course with id : {}\", courseId);\n var user = userRepository.getUserWithAuthorities();\n var quizExercises = quizExerciseRepository.findByCourseIdWithCategories(courseId);\n Set idsWithDragAndDrop = findIdsWithDragAndDropQuestions(quizExercises);\n var quizExerciseDTOs = new ArrayList();\n for (QuizExercise quizExercise : quizExercises) {\n setQuizBatches(user, quizExercise);\n boolean isEditable = quizExerciseService.isEditable(quizExercise);\n quizExerciseDTOs.add(QuizExerciseForCourseDTO.of(quizExercise, isEditable, idsWithDragAndDrop.contains(quizExercise.getId())));\n }\n\n return ResponseEntity.ok(quizExerciseDTOs);\n }\n\n /**\n * GET /:examId/quiz-exercises : get all the quiz exercises of an exam.\n *\n * @param examId id of the exam of which all exercises should be fetched\n * @return the ResponseEntity with status 200 (OK) and the list of quiz exercises in body\n */\n @GetMapping(\"exams/{examId}/quiz-exercises\")\n @EnforceAtLeastStudent\n @ManualConfig\n public ResponseEntity> getQuizExercisesForExam(@PathVariable long examId) {\n log.debug(\"REST request to get all quiz exercises for the exam with id : {}\", examId);\n ExamRepositoryApi examRepoApi = examRepositoryApi.orElseThrow(() -> new ExamApiNotPresentException(ExamRepositoryApi.class));\n Exam exam = examRepoApi.findByIdElseThrow(examId);\n authCheckService.checkHasAtLeastRoleInCourseElseThrow(Role.EDITOR, exam.getCourse(), null);\n\n List quizExercises = quizExerciseRepository.findByExamId(examId);\n if (quizExercises.isEmpty()) {\n return ResponseEntity.ok(List.of());\n }\n\n // All quiz exercises share the same exam, so compute editability and end date once\n boolean isEditable = exam.getStartDate() == null || ZonedDateTime.now().isBefore(exam.getStartDate());\n ExamDateApi api = examDateApi.orElseThrow(() -> new ExamApiNotPresentException(ExamDateApi.class));\n ZonedDateTime latestEnd = api.getLatestIndividualExamEndDate(exam);\n boolean examEnded = latestEnd != null && ZonedDateTime.now().isAfter(latestEnd);\n\n Set idsWithDragAndDrop = findIdsWithDragAndDropQuestions(quizExercises);\n List quizExerciseDTOs = new ArrayList<>();\n for (QuizExercise quizExercise : quizExercises) {\n quizExercise.setQuizBatches(null);\n quizExerciseDTOs.add(QuizExerciseForCourseDTO.of(quizExercise, isEditable, examEnded, idsWithDragAndDrop.contains(quizExercise.getId())));\n }\n return ResponseEntity.ok(quizExerciseDTOs);\n }\n\n /**\n * Resolves which of the given quizzes contain at least one drag-and-drop question, in a single query — the\n * question graph itself is not part of these list responses. Drives the client's AI-variant-generation button\n * visibility (drag-and-drop quizzes are not supported).\n *\n * @param quizExercises the quizzes of the response\n * @return the ids of those quizzes that have at least one drag-and-drop question\n */\n private Set findIdsWithDragAndDropQuestions(List quizExercises) {\n Set exerciseIds = quizExercises.stream().map(QuizExercise::getId).collect(Collectors.toSet());\n return exerciseIds.isEmpty() ? Set.of() : quizExerciseRepository.findIdsWithDragAndDropQuestions(exerciseIds);\n }\n\n /**\n * GET /quiz-exercises/:quizExerciseId : get the quizExercise.\n *\n * @param quizExerciseId the id of the quizExercise to retrieve\n * @return the ResponseEntity with status 200 (OK) and with body the quizExercise, or with status 404 (Not Found)\n */\n @GetMapping(\"quiz-exercises/{quizExerciseId}\")\n @EnforceAtLeastTutorInExercise(resourceIdFieldName = \"quizExerciseId\")\n public ResponseEntity getQuizExercise(@PathVariable long quizExerciseId) {\n return loadQuizExerciseDetails(quizExerciseId, false);\n }\n\n /**\n * Retrieves management details of an exam quiz exercise.\n *\n * @param quizExerciseId the id of the exam exercise to retrieve\n * @return the full management details of the exam exercise\n */\n @GetMapping(\"quiz-exercises/{quizExerciseId}/for-exam\")\n @EnforceAtLeastEditorInExercise(resourceIdFieldName = \"quizExerciseId\")\n public ResponseEntity getQuizExerciseForExam(@PathVariable long quizExerciseId) {\n return loadQuizExerciseDetails(quizExerciseId, true);\n }\n\n private ResponseEntity loadQuizExerciseDetails(long quizExerciseId, boolean forExam) {\n log.info(\"REST request to get quiz exercise : {}\", quizExerciseId);\n var user = userRepository.getUserWithAuthorities();\n var quizExercise = quizExerciseRepository.findByIdWithQuestionsAndCompetenciesAndBatchesAndGradingCriteriaElseThrow(quizExerciseId);\n if (forExam ? !quizExercise.isExamExercise() : !quizExercise.isCourseExercise()) {\n throw new AccessForbiddenException(\"The exercise does not belong to the requested course or exam context\");\n }\n if (quizExercise.isExamExercise()) {\n studentParticipationRepository.checkTestRunsExist(quizExercise);\n }\n if (quizExercise.isCourseExercise()) {\n String channelName = channelRepository.findChannelNameByExerciseId(quizExercise.getId());\n if (channelName != null) {\n quizExercise.setChannelName(channelName);\n }\n }\n setQuizBatches(user, quizExercise);\n boolean isEditable = quizExerciseService.isEditable(quizExercise);\n boolean effectiveQuizEnded = computeEffectiveQuizEnded(quizExercise);\n // test exams have no common end and are evaluated when each attempt is handed in, so only real exams can be evaluated for all students at once\n boolean canBeEvaluated = effectiveQuizEnded && !quizExercise.isTestExamExercise();\n QuizExerciseDetailsDTO quizExerciseDTO = QuizExerciseDetailsDTO.of(quizExercise, isEditable, effectiveQuizEnded, canBeEvaluated);\n return ResponseEntity.ok(quizExerciseDTO);\n }\n\n /**\n * GET /quiz-exercises/:quizExerciseId/for-student : get the quizExercise with a particular batch. (information filtered for students)\n *\n * @param quizExerciseId the id of the quizExercise to retrieve\n * @return the ResponseEntity with status 200 (OK) and with body the quizExercise, or with status 404 (Not Found)\n */\n @FeatureUsage(UserFeature.QUIZ_LIVE)\n @GetMapping(\"quiz-exercises/{quizExerciseId}/for-student\")\n @EnforceAtLeastStudent\n public ResponseEntity getQuizExerciseForStudent(@PathVariable long quizExerciseId) {\n log.info(\"REST request to get quiz exercise : {}\", quizExerciseId);\n QuizExercise quizExercise = quizExerciseRepository.findByIdWithQuestionsElseThrow(quizExerciseId);\n User user = userRepository.getUserWithAuthorities();\n if (!authCheckService.isAllowedToSeeCourseExercise(quizExercise, user)) {\n throw new AccessForbiddenException();\n }\n quizExercise.setQuizBatches(null);\n var batch = quizBatchService.getQuizBatchForStudentByLogin(quizExercise, user.getLogin());\n log.info(\"Found batch {} for user {}\", batch.orElse(null), user.getLogin());\n quizExercise.setQuizBatches(batch.stream().collect(Collectors.toSet()));\n QuizExerciseForStudentResponseDTO dto = quizExerciseService.createQuizExerciseDTOForStudent(quizExercise, batch);\n return ResponseEntity.ok(dto);\n }\n\n /**\n * Search for all quiz exercises by id, title and course title. The result is pageable since there\n * might be hundreds of exercises in the DB.\n *\n * @param page the zero-based page number\n * @param pageSize the maximum number of exercises on one page\n * @param sortingOrder the sort direction\n * @param sortedColumn the exercise field used for sorting\n * @param searchTerm the title or id fragment to find\n * @param isCourseFilter whether to include course exercises\n * @param isExamFilter whether to include exam exercises\n * @return the matching page\n */\n @GetMapping(\"quiz-exercises\")\n @EnforceAtLeastStudent\n @ManualConfig\n public ResponseEntity> getAllExercisesOnPage(@RequestParam int page, @RequestParam int pageSize,\n @RequestParam SortingOrder sortingOrder, @RequestParam String sortedColumn, @RequestParam(defaultValue = \"\") String searchTerm,\n @RequestParam(defaultValue = \"true\") boolean isCourseFilter, @RequestParam(defaultValue = \"true\") boolean isExamFilter) {\n SearchTermPageableSearchDTO search = new SearchTermPageableSearchDTO<>();\n search.setPage(page);\n search.setPageSize(pageSize);\n search.setSortingOrder(sortingOrder);\n search.setSortedColumn(sortedColumn);\n search.setSearchTerm(searchTerm);\n User user = userRepository.getUserWithAuthorities();\n return ResponseEntity.ok(quizExerciseService.getAllOnPageWithSize(search, isCourseFilter, isExamFilter, user));\n }\n\n private boolean computeEffectiveQuizEnded(QuizExercise quizExercise) {\n if (quizExercise.isExamExercise()) {\n ExamDateApi api = examDateApi.orElseThrow(() -> new ExamApiNotPresentException(ExamDateApi.class));\n ZonedDateTime latestEnd = api.getLatestIndividualExamEndDate(quizExercise.getExerciseGroup().getExam());\n return latestEnd != null && ZonedDateTime.now().isAfter(latestEnd);\n }\n return quizExercise.isQuizEnded();\n }\n\n private void setQuizBatches(User user, QuizExercise quizExercise) {\n if (quizExercise.getQuizMode() != null) {\n Set batches = switch (quizExercise.getQuizMode()) {\n case SYNCHRONIZED -> quizBatchRepository.findAllByQuizExercise(quizExercise);\n case BATCHED -> quizBatchRepository.findAllByQuizExerciseAndCreator(quizExercise, user.getId());\n case INDIVIDUAL -> Set.of();\n };\n quizExercise.setQuizBatches(batches);\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/f0422cbaa486b8e429219864b7dc6ed3ffbb513b.json b/web/public/bundles/artemis/code/f0422cbaa486b8e429219864b7dc6ed3ffbb513b.json new file mode 100644 index 00000000..f66e67fd --- /dev/null +++ b/web/public/bundles/artemis/code/f0422cbaa486b8e429219864b7dc6ed3ffbb513b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f0422cbaa486b8e429219864b7dc6ed3ffbb513b", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseUpdateDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.course.dto;\n\nimport java.time.ZonedDateTime;\n\nimport jakarta.validation.Valid;\nimport jakarta.validation.constraints.Max;\nimport jakarta.validation.constraints.Min;\nimport jakarta.validation.constraints.NotBlank;\nimport jakarta.validation.constraints.NotNull;\nimport jakarta.validation.constraints.Size;\n\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport tools.jackson.databind.annotation.JsonDeserialize;\n\nimport de.tum.cit.aet.artemis.core.config.StrictIntegerDeserializer;\nimport de.tum.cit.aet.artemis.core.domain.Language;\nimport de.tum.cit.aet.artemis.core.exception.BadRequestAlertException;\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.course.domain.CourseConfiguration;\nimport de.tum.cit.aet.artemis.course.domain.CourseInformationSharingConfiguration;\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingLanguage;\n\n/**\n * Data Transfer Object for updating an existing course.\n *

\n * This DTO is used instead of directly deserializing to a Course entity to prevent\n * potential issues with entity state management, particularly:\n *

    \n *
  • Avoiding unintended orphan removal of child entities (e.g., tutorial groups)
  • \n *
  • The server controls which fields can be updated
  • \n *
  • Internal entity state (e.g., relationships, computed fields) is not exposed
  • \n *
\n *

\n * The {@link #applyTo(Course)} method applies the DTO values to an existing Course entity.\n *\n * @see de.tum.cit.aet.artemis.course.web.CourseUpdateResource#updateCourse\n */\n@JsonIgnoreProperties(ignoreUnknown = true)\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record CourseUpdateDTO(\n // ID is required for update\n @NotNull Long id,\n\n // Basic info\n @NotBlank @Size(max = 255) String title, @NotBlank @Size(max = 255) String shortName, @Nullable @Size(max = 2000) String description,\n @NotBlank @Size(max = 25) String semester,\n\n // Dates\n @NotNull ZonedDateTime startDate, @NotNull ZonedDateTime endDate, @Nullable ZonedDateTime enrollmentStartDate, @Nullable ZonedDateTime enrollmentEndDate,\n @Nullable ZonedDateTime unenrollmentEndDate,\n\n // Configuration flags\n boolean testCourse, @Nullable Boolean onlineCourse, @Nullable Language language, @Nullable ProgrammingLanguage defaultProgrammingLanguage,\n\n // Complaint settings\n @Nullable Integer maxComplaints, @Nullable Integer maxTeamComplaints, int maxComplaintTimeDays, int maxRequestMoreFeedbackTimeDays, int maxComplaintTextLimit,\n int maxComplaintResponseTextLimit,\n\n // UI settings\n @Nullable String color, @Nullable String courseIcon, @Nullable Boolean enrollmentEnabled, @Nullable @Size(max = 2000) String enrollmentConfirmationMessage,\n boolean unenrollmentEnabled, @Nullable @Size(max = 10000) String courseInformationSharingMessagingCodeOfConduct,\n\n // Course features\n boolean learningPathsEnabled, @Nullable Boolean presentationAssessmentsEnabled,\n @Nullable @JsonDeserialize(using = StrictIntegerDeserializer.class) Integer presentationScore,\n @Nullable @JsonDeserialize(using = StrictIntegerDeserializer.class) Integer maxPoints, @Nullable @Min(0) @Max(5) Integer accuracyOfScores, @Nullable String timeZone,\n @Nullable CourseInformationSharingConfiguration courseInformationSharingConfiguration, boolean onboardingDone,\n\n // Data-privacy / retention: whether the course is grade-relevant (drives how long student data is retained).\n // Boxed so an omitted value fails safe to grade-relevant (the longer retention), not to earlier deletion.\n @Nullable Boolean gradeRelevant,\n\n // Data-privacy / retention: whether a pending objection or legal proceeding suspends the cleanup for this course.\n // Boxed so an omitted value fails safe to keeping an existing hold rather than silently lifting it.\n @Nullable Boolean dataRetentionHold,\n\n // Atlas auto-orchestration configuration (per-course): kill switch plus nullable overrides.\n boolean autoOrchestratorEnabled, @Nullable @Min(1) @JsonDeserialize(using = StrictIntegerDeserializer.class) Integer debounceWindowSecondsOverride,\n @Nullable @Min(1) @JsonDeserialize(using = StrictIntegerDeserializer.class) Integer maxDailyOrchestrationOverride, @Size(max = 2000) String studentWelcomeContext,\n\n // Who authors the first commit of the repositories of new programming exercises. Omitted: unchanged.\n @Nullable @Valid InitialCommitAuthorDTO initialCommitAuthor) implements CourseSettingsDTO {\n\n /**\n * Applies the DTO values to an existing Course entity.\n *

\n * This method updates only the fields that are part of the DTO, leaving\n * other entity state (like tutorial groups, exercises, etc.) untouched.\n *\n * @param course the existing course entity to update\n * @return the updated course entity\n */\n public Course applyTo(Course course) {\n applyBasicSettingsTo(course);\n course.setCourseIcon(courseIcon);\n applyEnrollmentSettingsTo(course);\n course.setCourseInformationSharingMessagingCodeOfConduct(courseInformationSharingMessagingCodeOfConduct);\n\n // Course features\n applyFeatureSettingsTo(course);\n\n // Enforce the auto-orchestration override bounds again here: the @Min(1) bean-validation annotations on this DTO\n // already reject a non-positive override via the validated update endpoint (@Valid on CourseUpdateResource#updateCourse).\n // This check is defense-in-depth against any caller that builds and applies this DTO directly, bypassing bean validation.\n if ((debounceWindowSecondsOverride != null && debounceWindowSecondsOverride < 1) || (maxDailyOrchestrationOverride != null && maxDailyOrchestrationOverride < 1)) {\n throw new BadRequestAlertException(\"Auto-orchestration overrides must be positive\", Course.ENTITY_NAME, \"invalidAutoOrchestrationOverride\", true);\n }\n\n // Only allow transitioning from false to true (one-way)\n if (onboardingDone) {\n course.setOnboardingDone(true);\n }\n\n // Update the permanent settings row loaded through its own repository by the caller.\n CourseConfiguration configuration = course.getCourseConfiguration();\n // Fail safe to grade-relevant (longer retention) when the client omits the flag.\n configuration.setGradeRelevant(gradeRelevant == null || gradeRelevant);\n // Fail safe to keeping an existing hold: an omitted flag must never lift a legal hold and expose the course to\n // the cleanup again.\n configuration.setDataRetentionHold(dataRetentionHold == null ? configuration.isDataRetentionHold() : dataRetentionHold);\n if (presentationAssessmentsEnabled != null) {\n configuration.setPresentationAssessmentsEnabled(presentationAssessmentsEnabled);\n }\n configuration.setAutoOrchestratorEnabled(autoOrchestratorEnabled);\n configuration.setDebounceWindowSecondsOverride(debounceWindowSecondsOverride);\n configuration.setMaxDailyOrchestrationOverride(maxDailyOrchestrationOverride);\n if (studentWelcomeContext != null) {\n configuration.setStudentWelcomeContext(studentWelcomeContext);\n }\n if (initialCommitAuthor != null) {\n // Checked here as well as by bean validation, so that a caller that applies this DTO directly cannot store an identity that injects git header data.\n initialCommitAuthor.validate();\n InitialCommitAuthorDTO strippedAuthor = initialCommitAuthor.stripped();\n configuration.setInitialCommitAuthor(strippedAuthor.mode(), strippedAuthor.name(), strippedAuthor.email());\n }\n\n return course;\n }\n\n}\n" +} diff --git a/web/public/bundles/artemis/code/f050a4cf122e47e0d1b0c28fa0a24995fc1867ea.json b/web/public/bundles/artemis/code/f050a4cf122e47e0d1b0c28fa0a24995fc1867ea.json new file mode 100644 index 00000000..cc0b3b1a --- /dev/null +++ b/web/public/bundles/artemis/code/f050a4cf122e47e0d1b0c28fa0a24995fc1867ea.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f050a4cf122e47e0d1b0c28fa0a24995fc1867ea", + "language": "typescript", + "path": "src/main/webapp/app/notification/course-notification/course-notification-setting-specification-card/course-notification-setting-specification-card.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, effect, input, output, signal } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { TumAetUiToggleSwitchComponent } from '@tumaet/ui-angular/toggle-switch';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { CourseNotificationComponent } from 'app/notification/course-notification/course-notification/course-notification.component';\nimport dayjs from 'dayjs/esm';\nimport { CourseNotification } from 'app/notification/shared/entities/course-notification/course-notification';\nimport { CourseNotificationChannelSetting } from 'app/notification/shared/entities/course-notification/course-notification-channel-setting';\nimport { CourseNotificationChannel } from 'app/notification/shared/entities/course-notification/course-notification-channel';\nimport { CourseNotificationSettingSpecification } from 'app/notification/shared/entities/course-notification/course-notification-setting-specification';\nimport { CourseNotificationCategory } from 'app/notification/shared/entities/course-notification/course-notification-category';\nimport { CourseNotificationViewingStatus } from 'app/notification/shared/entities/course-notification/course-notification-viewing-status';\nimport { CourseNotificationService } from 'app/notification/course-notification/course-notification.service';\n\n/**\n * Component for configuring notification settings for a specific notification type.\n * Displays a preview notification and allows toggling different notification channels.\n */\n@Component({\n selector: 'jhi-course-notification-setting-specification-card',\n imports: [TranslateDirective, CourseNotificationComponent, FormsModule, TumAetUiToggleSwitchComponent, ArtemisTranslatePipe],\n templateUrl: './course-notification-setting-specification-card.component.html',\n styleUrls: ['./course-notification-setting-specification-card.component.css'],\n})\nexport class CourseNotificationSettingSpecificationCardComponent {\n readonly settingSpecification = input.required();\n\n readonly onOptionChanged = output();\n\n protected readonly titleLangKey = signal(undefined!);\n protected typeId!: number; // set by the constructor effect() from the required settingSpecification input before any read\n protected readonly mockNotification = signal(undefined!);\n // channels is the deep target of a [(ngModel)]=\"channels[option]\" two-way binding, so it is backed by a\n // signal via a getter/setter facade (a bare signal cannot be a two-way binding target).\n private readonly channelsSignal = signal(undefined!);\n protected get channels(): CourseNotificationChannelSetting {\n return this.channelsSignal();\n }\n protected set channels(value: CourseNotificationChannelSetting) {\n this.channelsSignal.set(value);\n }\n protected readonly possibleChannels = Object.values(CourseNotificationChannel);\n\n constructor() {\n effect(() => {\n this.titleLangKey.set('artemisApp.courseNotification.' + this.settingSpecification().identifier + '.settingsTitle');\n this.typeId = this.settingSpecification().typeId;\n\n // Note: Add translation values to the parameters object here to make them show up in preview notifications\n this.mockNotification.set(\n new CourseNotification(\n 1,\n 1,\n this.settingSpecification().identifier,\n CourseNotificationCategory.GENERAL,\n CourseNotificationViewingStatus.SEEN,\n dayjs(),\n 'Patterns in Software Engineering',\n undefined,\n // A preview renders whichever notification type the card is for, so it offers a placeholder for\n // every type at once. The names below appear in one payload or another, which is why this is\n // accepted as one: it is a sample for the translation, never a notification the server sent.\n {\n authorName: 'Maria Muster',\n postMarkdownContent: 'Can anybody tell me how to bake chocolate cookies?',\n replyMarkdownContent: 'Can anybody tell me how to bake chocolate cookies?',\n channelName: 'tech-support',\n exerciseTitle: 'Modeling 123',\n unitName: 'Modeling 123',\n groupTitle: 'Grp 123',\n chatTitle: 'Exercise 1',\n messagePreview: 'Sure! Let me help you with that exercise.',\n appliedCount: 3,\n exerciseCount: 2,\n },\n '/',\n ),\n );\n this.channels = this.settingSpecification().channelSetting;\n });\n }\n\n /**\n * Emits an event when a notification channel option is changed.\n * Creates a new specification object with the updated channel settings.\n */\n optionChanged() {\n this.onOptionChanged.emit(new CourseNotificationSettingSpecification(this.titleLangKey(), this.typeId, this.channels));\n }\n\n /**\n * Determines if a specific notification channel should be disabled for this notification type.\n *\n * @param option - The notification channel to check\n * @param identifier - The notification type identifier\n * @returns Whether the channel option should be disabled\n */\n isDisabled(option: string, identifier: string) {\n return CourseNotificationService.DISABLE_NOTIFICATION_CHANNEL_TYPES[identifier]?.includes(option as CourseNotificationChannel) || false;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/f05c89e04ea8c4ecad172b700ab56076065141e6.json b/web/public/bundles/artemis/code/f05c89e04ea8c4ecad172b700ab56076065141e6.json new file mode 100644 index 00000000..236b2184 --- /dev/null +++ b/web/public/bundles/artemis/code/f05c89e04ea8c4ecad172b700ab56076065141e6.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f05c89e04ea8c4ecad172b700ab56076065141e6", + "language": "typescript", + "path": "src/main/webapp/app/quiz/manage/apollon-diagrams/exercise-generation/quiz-exercise-generator.ts", + "schema": "codexray.code/1", + "text": "import { ApollonEdge, ApollonEditor, ApollonNode, SVG, UMLModel } from '@tumaet/apollon';\nimport { convertRenderedSVGToPNG, cropRenderedSVGToElement, trimRenderedSVGToContent } from 'app/quiz/manage/apollon-diagrams/exercise-generation/svg-renderer';\nimport { DragAndDropMapping } from 'app/quiz/shared/entities/drag-and-drop-mapping.model';\nimport { DragAndDropQuestion } from 'app/quiz/shared/entities/drag-and-drop-question.model';\nimport { ScoringType } from 'app/quiz/shared/entities/quiz-question.model';\nimport { DragItem } from 'app/quiz/shared/entities/drag-item.model';\nimport { DropLocation } from 'app/quiz/shared/entities/drop-location.model';\nimport { round } from 'app/foundation/util/utils';\nimport { getQuizRelevantElementIds, normalizeApollonModel } from 'app/modeling/shared/apollon-model.util';\n\ninterface GeneratedDiagramElement {\n dragItem: DragItem;\n dropLocation: DropLocation;\n image: Blob;\n imageName: string;\n}\n\ninterface NestedNodeElement {\n id: string;\n type: string;\n parentId: string;\n parent: ApollonNode;\n name?: string;\n data?: Record;\n isNestedNodeElement: true;\n}\n\ntype DiagramElement = ApollonNode | ApollonEdge | NestedNodeElement;\n\ninterface MappingElement {\n id: string;\n type?: string;\n parentId?: string;\n name?: string;\n data?: { name?: unknown };\n}\n\nfunction getInteractiveElements(model: UMLModel): string[] {\n return getQuizRelevantElementIds(model);\n}\n\nfunction getNestedNodeElements(node: ApollonNode): NestedNodeElement[] {\n const data = node.data as Record | undefined;\n const nestedCollections = [\n { type: 'attribute', items: data?.attributes },\n { type: 'method', items: data?.methods },\n { type: 'actionRow', items: data?.actionRows },\n ];\n\n return nestedCollections.flatMap(({ type, items }) => {\n if (!Array.isArray(items)) {\n return [];\n }\n\n return items\n .filter(\n (item): item is { id: string; name?: string; [key: string]: unknown } => !!item && typeof item === 'object' && typeof (item as { id?: unknown }).id === 'string',\n )\n .map((item) => ({\n id: item.id,\n type,\n parentId: node.id,\n parent: node,\n name: item.name,\n data: item,\n isNestedNodeElement: true as const,\n }));\n });\n}\n\nfunction isNestedNodeElement(element: DiagramElement): element is NestedNodeElement {\n return (element as NestedNodeElement).isNestedNodeElement === true;\n}\n\nfunction getModelElements(model: UMLModel): DiagramElement[] {\n const nestedNodeElements = model.nodes.flatMap(getNestedNodeElements);\n return [...model.nodes, ...nestedNodeElements, ...model.edges];\n}\n\n// Drop locations in quiz exercises are relatively positioned and sized using integers in the interval [0, 200]\nexport const MAX_SIZE_UNIT = 200;\n\n/**\n * Generates a new Drag and Drop Quiz Exercise based on a UML model.\n *\n * @param {string} title The title of the new `QuizExercise`.\n * @param {UMLModel} model The complete UML model the quiz exercise is based on.\n */\nexport async function generateDragAndDropQuizExercise(title: string, model: UMLModel): Promise {\n const normalizedModel = normalizeApollonModel(model);\n const interactiveElements = getInteractiveElements(normalizedModel);\n const elements = getModelElements(normalizedModel);\n const renderedDiagram = await ApollonEditor.exportModelAsSvg(normalizedModel, {\n keepOriginalSize: true,\n svgMode: 'compat',\n });\n const files = new Map();\n\n const dragItems = new Map();\n const dropLocations = new Map();\n\n // Create Drag Items and Drop Locations\n for (const elementId of interactiveElements) {\n const element = elements.find((elem) => elem.id === elementId);\n if (!element) {\n continue;\n }\n const generatedElement = await createGeneratedDiagramElement(element, normalizedModel, renderedDiagram.clip);\n if (!generatedElement) {\n continue;\n }\n files.set(generatedElement.imageName, generatedElement.image);\n dragItems.set(element.id, generatedElement.dragItem);\n dropLocations.set(element.id, generatedElement.dropLocation);\n }\n\n const renderedBackground = await createDiagramBackground(normalizedModel, renderedDiagram, [...dropLocations.keys()]);\n const diagramBackground = await convertRenderedSVGToPNG(renderedBackground);\n files.set('diagram-background.png', diagramBackground);\n\n // Create all possible correct mappings between drag items and drop locations\n const correctMappings = createCorrectMappings(dragItems, dropLocations, normalizedModel);\n\n // Generate a drag-and-drop question object\n const dragAndDropQuestion = createDragAndDropQuestion(title, 'diagram-background.png', [...dragItems.values()], [...dropLocations.values()], correctMappings);\n dragAndDropQuestion.importedFiles = files;\n\n return dragAndDropQuestion;\n}\n\n/**\n * Create a new Drag and Drop Quiz Exercise `DragAndDropQuestion`.\n *\n * @param {string} title The title of the new `DragAndDropQuestion`.\n * @param {string} backgroundFilePath The path to the `DragAndDropQuestion`'s background image.\n * @param {DragItem[]} dragItems A list of all available `DragItem`s.\n * @param {DropLocation[]} dropLocations A list of all available `DropLocation`s.\n * @param {DragAndDropMapping[]} correctMappings A list of mappings between `DragItem`s and `DropLocation`s.\n *\n * @return {QuizExercise} A new Drag and Drop `QuizExercise`.\n */\nfunction createDragAndDropQuestion(\n title?: string,\n backgroundFilePath?: string,\n dragItems?: DragItem[],\n dropLocations?: DropLocation[],\n correctMappings?: DragAndDropMapping[],\n): DragAndDropQuestion {\n const dragAndDropQuestion = new DragAndDropQuestion();\n dragAndDropQuestion.title = title;\n dragAndDropQuestion.text = 'Fill the empty spaces in the UML diagram by dragging and dropping the elements below the diagram into the correct places.';\n dragAndDropQuestion.scoringType = ScoringType.PROPORTIONAL_WITH_PENALTY;\n dragAndDropQuestion.points = 1;\n dragAndDropQuestion.backgroundFilePath = backgroundFilePath;\n dragAndDropQuestion.dropLocations = dropLocations;\n dragAndDropQuestion.dragItems = dragItems;\n dragAndDropQuestion.correctMappings = correctMappings;\n return dragAndDropQuestion;\n}\n\n/**\n * Convenience function to create a mapping of a `DragItem` and a `DropLocation` for any particular element.\n *\n * For each image based drag item the image needs to be uploaded first, therefore the result is returned asynchronously.\n *\n * @param {UMLModelElement} element A particular element of the UML model.\n * @param {UMLModel} model The complete UML model.\n * @param svgSize actual size of the generated svg\n * @param files a map of files that should be uploaded\n *\n * @return {Promise} A Promise resolving to a Drag and Drop mapping\n */\nasync function generateDragAndDropItem(element: ApollonNode, model: UMLModel, svgSize: { width: number; height: number }, files: Map): Promise {\n const generatedElement = await createGeneratedDiagramElement(element, model, svgSize);\n if (!generatedElement) {\n throw new Error(`Could not export Apollon element ${element.id}`);\n }\n files.set(generatedElement.imageName, generatedElement.image);\n return new DragAndDropMapping(generatedElement.dragItem, generatedElement.dropLocation);\n}\n\n/**\n * Create a mapping of a `DragItem` and a `DropLocation` for a `UMLElement`.\n *\n * @param {UMLModelElement} element An element of the UML model.\n * @param {UMLModel} model The complete UML model.\n * @param svgSize actual size of the generated svg\n * @param files a map of files that should be uploaded\n *\n * @return {Promise} A Promise resolving to a Drag and Drop mapping\n */\nexport async function generateDragAndDropItemForNode(\n element: ApollonNode,\n model: UMLModel,\n svgSize: { width: number; height: number },\n files: Map,\n): Promise {\n return generateDragAndDropItem(element, normalizeApollonModel(model), svgSize, files);\n}\n\nasync function createGeneratedDiagramElement(element: DiagramElement, model: UMLModel, svgSize: { width: number; height: number }): Promise {\n const renderedElement = isNestedNodeElement(element)\n ? cropRenderedSVGToElement(await ApollonEditor.exportModelAsSvg(model, { include: [element.parentId], svgMode: 'compat', margin: 0 }), element.id)\n : trimRenderedSVGToContent(await ApollonEditor.exportModelAsSvg(model, { include: [element.id], svgMode: 'compat', margin: 0 }));\n if (!renderedElement) {\n return undefined;\n }\n const image = await convertRenderedSVGToPNG(renderedElement);\n const imageName = `element-${element.id}.png`;\n const dragItem = new DragItem();\n dragItem.pictureFilePath = imageName;\n\n return {\n dragItem,\n dropLocation: computeDropLocation(renderedElement.clip, svgSize),\n image,\n imageName,\n };\n}\n\n/**\n * Create a Drag and Drop Quiz Exercise `DropLocation` for an `Element`.\n *\n * Based on the total size of the complete UML model and the boundaries of an element a drop location is computed. Instead of absolute values\n * for position and size, `DropLocation`s use percentage values to the base of `MAX_SIZE_UNIT`.\n *\n * @param elementLocation The position and size of an element.\n * @param totalSize The total size of the UML model.\n *\n * @return {DropLocation} A Drag and Drop Quiz Exercise `DropLocation`.\n */\nexport function computeDropLocation(\n elementLocation: { x: number; y: number; width: number; height: number },\n totalSize: { x?: number; y?: number; width: number; height: number },\n): DropLocation {\n const dropLocation = new DropLocation();\n dropLocation.posX = round(((elementLocation.x - (totalSize.x ?? 0)) / totalSize.width) * MAX_SIZE_UNIT, 2);\n dropLocation.posY = round(((elementLocation.y - (totalSize.y ?? 0)) / totalSize.height) * MAX_SIZE_UNIT, 2);\n dropLocation.width = round((elementLocation.width / totalSize.width) * MAX_SIZE_UNIT, 2);\n dropLocation.height = round((elementLocation.height / totalSize.height) * MAX_SIZE_UNIT, 2);\n return dropLocation;\n}\n\nasync function createDiagramBackground(model: UMLModel, renderedDiagram: SVG, excludedElementIds: string[]): Promise {\n if (excludedElementIds.length === 0) {\n return renderedDiagram;\n }\n\n const elements = getModelElements(model);\n const nestedElementIds = new Set(elements.filter(isNestedNodeElement).map((element) => element.id));\n const topLevelExcludedElementIds = excludedElementIds.filter((elementId) => !nestedElementIds.has(elementId));\n const nestedExcludedElementIds = excludedElementIds.filter((elementId) => nestedElementIds.has(elementId));\n const renderedBackground = await ApollonEditor.exportModelAsSvg(model, {\n exclude: topLevelExcludedElementIds,\n keepOriginalSize: true,\n svgMode: 'compat',\n });\n\n return removeNestedElementsFromSVG(forceSVGClip(renderedBackground, renderedDiagram.clip), nestedExcludedElementIds);\n}\n\nfunction removeNestedElementsFromSVG(renderedSVG: SVG, elementIds: string[]): SVG {\n if (elementIds.length === 0) {\n return renderedSVG;\n }\n\n const parser = new DOMParser();\n const documentFragment = parser.parseFromString(renderedSVG.svg, 'image/svg+xml');\n const svg = documentFragment.documentElement;\n if (!(svg instanceof SVGSVGElement)) {\n return renderedSVG;\n }\n\n for (const elementId of elementIds) {\n const target = Array.from(svg.querySelectorAll('[data-apollon-element-id]')).find((element) => element.getAttribute('data-apollon-element-id') === elementId);\n target?.remove();\n }\n\n return {\n svg: new XMLSerializer().serializeToString(svg),\n clip: renderedSVG.clip,\n };\n}\n\nfunction forceSVGClip(renderedSVG: SVG, clip: SVG['clip']): SVG {\n const parser = new DOMParser();\n const documentFragment = parser.parseFromString(renderedSVG.svg, 'image/svg+xml');\n const svg = documentFragment.documentElement;\n if (!(svg instanceof SVGSVGElement)) {\n return {\n svg: renderedSVG.svg,\n clip,\n };\n }\n\n svg.setAttribute('viewBox', `${clip.x} ${clip.y} ${clip.width} ${clip.height}`);\n svg.setAttribute('width', `${clip.width}`);\n svg.setAttribute('height', `${clip.height}`);\n\n return {\n svg: new XMLSerializer().serializeToString(svg),\n clip,\n };\n}\n\n/**\n * Creates all permutations for correct `DragAndDropMapping` between `DragItem`s and `DropLocation`s.\n *\n * @param {Map} dragItems A mapping of element ids to drag items.\n * @param {Map} dropLocations A mapping of element ids to drop locations.\n * @param {UMLModel} model The complete UML model.\n *\n * @return {DragAndDropMapping} A list of all possible `DragAndDropMapping`s.\n */\nfunction createCorrectMappings(dragItems: Map, dropLocations: Map, model: UMLModel): DragAndDropMapping[] {\n const textualElementTypes = ['class', 'package', 'attribute', 'method', 'actionRow'];\n const mappings = new Map();\n const allElements = getModelElements(model) as MappingElement[];\n const getParentId = (element: MappingElement) => element.parentId;\n const getElementName = (element: MappingElement) => element.data?.name ?? element.name;\n const textualElements = allElements.filter((element: MappingElement) => textualElementTypes.includes(element.type?.toLowerCase() ?? ''));\n\n // Create all one-on-one mappings\n for (const [dragItemElementId, dragItem] of dragItems.entries()) {\n for (const [dropLocationElementId, dropLocation] of dropLocations.entries()) {\n if (dragItemElementId === dropLocationElementId) {\n const mapping = new DragAndDropMapping(dragItem, dropLocation);\n mappings.set(dragItemElementId, [mapping]);\n }\n }\n }\n\n // Create all mapping permutations for textual based elements within the same parent and same type\n for (const [dragItemElementId, dragItem] of dragItems.entries()) {\n const dragElement = textualElements.find((element: MappingElement) => element.id === dragItemElementId);\n if (!dragElement || !getParentId(dragElement)) {\n continue;\n }\n const dragElementSiblings = textualElements.filter((element: MappingElement) => getParentId(element) === getParentId(dragElement) && element.type === dragElement.type);\n for (const dragElementSibling of dragElementSiblings) {\n if (dragElementSibling.id === dragItemElementId) {\n continue;\n }\n if (mappings.has(dragElementSibling.id)) {\n const mapping = new DragAndDropMapping(dragItem, dropLocations.get(dragElementSibling.id));\n mappings.set(dragItemElementId, [...mappings.get(dragItemElementId)!, mapping]);\n }\n }\n }\n\n const intermediateMappings = new Map(mappings);\n\n // Create all mapping permutations for textual based elements with the same name and different parents\n for (const [dragItemElementId, dragItem] of dragItems.entries()) {\n const dragElement = textualElements.find((element: MappingElement) => element.id === dragItemElementId);\n if (!dragElement || !getElementName(dragElement)) {\n continue;\n }\n for (const [dropLocationElementId] of dropLocations.entries()) {\n const dropElement = textualElements.find((element: MappingElement) => element.id === dropLocationElementId);\n if (\n !dropElement ||\n dropElement.id === dragElement.id ||\n getParentId(dropElement) === getParentId(dragElement) ||\n getElementName(dropElement) !== getElementName(dragElement)\n ) {\n continue;\n }\n if (intermediateMappings.has(dropLocationElementId)) {\n const currentMappings = [...intermediateMappings.get(dropLocationElementId)!];\n for (const currentMapping of currentMappings) {\n const mapping = new DragAndDropMapping(dragItem, currentMapping.dropLocation);\n mappings.set(dragItemElementId, [...mappings.get(dragItemElementId)!, mapping]);\n }\n }\n }\n }\n\n return new Array().concat(...mappings.values());\n}\n" +} diff --git a/web/public/bundles/artemis/code/f089ce4c1ebb82c004de48c366cb54e12ba6393c.json b/web/public/bundles/artemis/code/f089ce4c1ebb82c004de48c366cb54e12ba6393c.json new file mode 100644 index 00000000..ec40e704 --- /dev/null +++ b/web/public/bundles/artemis/code/f089ce4c1ebb82c004de48c366cb54e12ba6393c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f089ce4c1ebb82c004de48c366cb54e12ba6393c", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamDemoApi.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exam.api;\n\nimport java.util.SequencedMap;\nimport java.util.function.Function;\n\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.stereotype.Controller;\n\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.exam.config.ExamEnabled;\nimport de.tum.cit.aet.artemis.exam.domain.Exam;\nimport de.tum.cit.aet.artemis.exam.domain.ExerciseGroup;\nimport de.tum.cit.aet.artemis.exam.service.ExamDemoService;\nimport de.tum.cit.aet.artemis.exercise.domain.Exercise;\n\n/**\n * Lets the demo seeding create the demo content of the exam module. Only delegates to {@link ExamDemoService}, which holds the seeding logic.\n */\n@Conditional(ExamEnabled.class)\n@Controller\n@Lazy\npublic class ExamDemoApi extends AbstractExamApi {\n\n private final ExamDemoService examDemoService;\n\n public ExamDemoApi(ExamDemoService examDemoService) {\n this.examDemoService = examDemoService;\n }\n\n /**\n * Creates the test exam of the demo course if it does not exist yet, with one mandatory exercise group per given creator, see {@link ExamDemoService#createDemo}.\n *\n * @param course the demo course the exam belongs to.\n * @param exerciseCreators the creators of the exam exercises by the title of their exercise group, in the order of the groups.\n * @return the demo exam, whether it already existed or was created by this call.\n */\n public Exam createDemo(Course course, SequencedMap> exerciseCreators) {\n return examDemoService.createDemo(course, exerciseCreators);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/f1026fd719a147999e5dd669fe6901d448dbdcb0.json b/web/public/bundles/artemis/code/f1026fd719a147999e5dd669fe6901d448dbdcb0.json new file mode 100644 index 00000000..b7d91142 --- /dev/null +++ b/web/public/bundles/artemis/code/f1026fd719a147999e5dd669fe6901d448dbdcb0.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f1026fd719a147999e5dd669fe6901d448dbdcb0", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/domain/PlagiarismDetectionConfigHelper.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.plagiarism.domain;\n\nimport org.jspecify.annotations.Nullable;\n\nimport de.tum.cit.aet.artemis.core.exception.BadRequestAlertException;\nimport de.tum.cit.aet.artemis.exercise.domain.Exercise;\nimport de.tum.cit.aet.artemis.plagiarism.dto.PlagiarismDetectionConfigDTO;\nimport de.tum.cit.aet.artemis.plagiarism.service.ContinuousPlagiarismControlService;\n\n/**\n * Applies and validates settings of permanent plagiarism detection configurations.\n *\n * @see ContinuousPlagiarismControlService\n * @see PlagiarismDetectionConfig\n */\npublic final class PlagiarismDetectionConfigHelper {\n\n private PlagiarismDetectionConfigHelper() {\n }\n\n /**\n * Sets given parameters as corresponding values of plagiarism checks config in the given exercise.\n *\n * @param exercise exercise with existing plagiarism checks config\n * @param similarityThreshold similarityThreshold to set for the given exercise\n * @param minimumScore similarityThreshold to set for the given exercise\n * @param minimumSize similarityThreshold to set for the given exercise\n */\n public static void updateWithTemporaryParameters(Exercise exercise, int similarityThreshold, int minimumScore, int minimumSize) {\n var config = new PlagiarismDetectionConfig();\n config.setSimilarityThreshold(similarityThreshold);\n config.setMinimumScore(minimumScore);\n config.setMinimumSize(minimumSize);\n exercise.setPlagiarismDetectionConfig(config);\n }\n\n /**\n * Applies the submitted plagiarism detection config to the given managed exercise before validation and persistence.\n *\n * Semantics:\n * - a null DTO leaves the existing config untouched (an omitted field preserves the current value);\n * - an existing config is updated in place, preserving its identity and avoiding orphan-removal DELETE/INSERT churn;\n * - a missing config is created from the DTO and attached to the exercise's slot.\n *\n * Nothing is stored here: the configuration holds the key to its exercise and is not part of it, so after saving the\n * exercise the caller applies the slot's configuration with {@code PlagiarismDetectionConfigRepository.applyTo}, which\n * updates the permanent row of that exercise in place.\n *\n * @param exercise the managed exercise to update\n * @param configDto the submitted plagiarism detection config (or {@code null})\n */\n public static void applyToExercise(Exercise exercise, @Nullable PlagiarismDetectionConfigDTO configDto) {\n if (configDto == null) {\n return;\n }\n PlagiarismDetectionConfig existingConfig = exercise.getPlagiarismDetectionConfig();\n if (existingConfig != null) {\n configDto.applyTo(existingConfig);\n }\n else {\n exercise.setPlagiarismDetectionConfig(configDto.toEntity());\n }\n }\n\n /**\n * Validates the plagiarism detection config of the given exercise. Throws a BadRequestAlertException if invalid.\n *\n * Rules:\n * - similarityThreshold must be between 0 and 100 if config present\n * - minimumScore must be between 0 and 100 if config present\n * - minimumSize must be >= 0 if config present\n * - continuousPlagiarismControlPlagiarismCaseStudentResponsePeriod must be between 7 and 31 if config present\n * - If continuousPlagiarismControlEnabled is true, config must not be null\n *\n * @param exercise the exercise whose config should be validated\n * @param entityName entity name for error construction\n */\n public static void validatePlagiarismDetectionConfigOrThrow(Exercise exercise, String entityName) {\n var config = exercise.getPlagiarismDetectionConfig();\n if (config == null) {\n // allowed when CPC disabled\n return;\n }\n int similarityThreshold = config.getSimilarityThreshold();\n if (similarityThreshold < 0 || similarityThreshold > 100) {\n throw new BadRequestAlertException(\"Similarity threshold must be between 0 and 100\", entityName, \"invalidSimilarityThreshold\");\n }\n int minimumScore = config.getMinimumScore();\n if (minimumScore < 0 || minimumScore > 100) {\n throw new BadRequestAlertException(\"Minimum score must be between 0 and 100\", entityName, \"invalidMinimumScore\");\n }\n int minimumSize = config.getMinimumSize();\n if (minimumSize < 0) {\n throw new BadRequestAlertException(\"Minimum size must be >= 0\", entityName, \"invalidMinimumSize\");\n }\n int responsePeriod = config.getContinuousPlagiarismControlPlagiarismCaseStudentResponsePeriod();\n if (responsePeriod < 7 || responsePeriod > 31) {\n throw new BadRequestAlertException(\"Response period must be between 7 and 31 days\", entityName, \"invalidResponsePeriod\");\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/f143cd75032c9bc110bbd06478a7ed8c4a52d070.json b/web/public/bundles/artemis/code/f143cd75032c9bc110bbd06478a7ed8c4a52d070.json new file mode 100644 index 00000000..d9b6be55 --- /dev/null +++ b/web/public/bundles/artemis/code/f143cd75032c9bc110bbd06478a7ed8c4a52d070.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f143cd75032c9bc110bbd06478a7ed8c4a52d070", + "language": "typescript", + "path": "src/main/webapp/app/assessment/shared/assessment-dashboard/exercise-dashboard/language-table-cell/language-table-cell.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, computed, input } from '@angular/core';\nimport { Submission } from 'app/exercise/shared/entities/submission/submission.model';\nimport { TextSubmission } from 'app/text/shared/entities/text-submission.model';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\n\n@Component({\n selector: 'jhi-language-table-cell',\n templateUrl: './language-table-cell.component.html',\n imports: [ArtemisTranslatePipe],\n})\nexport class LanguageTableCellComponent {\n readonly submission = input.required();\n readonly textSubmission = computed(() => this.submission() as TextSubmission);\n}\n" +} diff --git a/web/public/bundles/artemis/code/f2e7ffca59e3d592e01b0eab0ac7c540fc2291cf.json b/web/public/bundles/artemis/code/f2e7ffca59e3d592e01b0eab0ac7c540fc2291cf.json new file mode 100644 index 00000000..1d9b6bbd --- /dev/null +++ b/web/public/bundles/artemis/code/f2e7ffca59e3d592e01b0eab0ac7c540fc2291cf.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f2e7ffca59e3d592e01b0eab0ac7c540fc2291cf", + "language": "typescript", + "path": "src/main/webapp/app/course/request/course-request.service.ts", + "schema": "codexray.code/1", + "text": "import { HttpClient } from '@angular/common/http';\nimport { Service, inject } from '@angular/core';\nimport { Observable, map } from 'rxjs';\n\nimport { BaseCourseRequest, CourseRequest, CourseRequestInstructorCourse, CourseRequestStatus, CourseRequestsAdminOverview } from 'app/course/request/course-request.model';\nimport { User } from 'app/account/user/user.model';\nimport { convertDateFromClient, convertDateStringFromServer } from 'app/foundation/util/date.utils';\n\ninterface BaseCourseRequestDTO {\n title: string;\n shortName: string;\n semester?: string;\n startDate?: string;\n endDate?: string;\n testCourse: boolean;\n gradeRelevant: boolean;\n reason: string;\n}\n\ninterface CourseRequestDTO extends BaseCourseRequestDTO {\n id?: number;\n status?: CourseRequestStatus;\n createdDate?: string;\n processedDate?: string;\n decisionReason?: string;\n requester?: User;\n createdCourseId?: number;\n instructorCourseCount?: number;\n instructorCourses?: CourseRequestInstructorCourse[];\n}\n\ninterface CourseRequestsAdminOverviewDTO {\n pendingRequests: CourseRequestDTO[];\n decidedRequests: CourseRequestDTO[];\n totalDecidedCount: number;\n}\n\n@Service()\nexport class CourseRequestService {\n private http = inject(HttpClient);\n\n private readonly resourceUrl = 'api/course/course-requests';\n private readonly adminResourceUrl = 'api/admin/course-requests';\n\n create(courseRequest: BaseCourseRequest): Observable {\n const dto = this.convertRequestToDTO(courseRequest);\n return this.http.post(this.resourceUrl, dto).pipe(map((res) => this.convertDTOToResponse(res)));\n }\n\n findAdminOverview(decidedPage = 0, decidedPageSize = 20): Observable {\n return this.http\n .get(`${this.adminResourceUrl}/overview`, {\n params: { decidedPage: decidedPage.toString(), decidedPageSize: decidedPageSize.toString() },\n })\n .pipe(\n map((res) => ({\n pendingRequests: (res.pendingRequests ?? []).map((dto) => this.convertDTOToResponse(dto)),\n decidedRequests: (res.decidedRequests ?? []).map((dto) => this.convertDTOToResponse(dto)),\n totalDecidedCount: res.totalDecidedCount ?? 0,\n })),\n );\n }\n\n acceptRequest(courseRequestId: number): Observable {\n return this.http.post(`${this.adminResourceUrl}/${courseRequestId}/accept`, {}).pipe(map((res) => this.convertDTOToResponse(res)));\n }\n\n rejectRequest(courseRequestId: number, reason: string): Observable {\n return this.http.post(`${this.adminResourceUrl}/${courseRequestId}/reject`, { reason }).pipe(map((res) => this.convertDTOToResponse(res)));\n }\n\n updateRequest(courseRequestId: number, courseRequest: BaseCourseRequest): Observable {\n const dto = this.convertRequestToDTO(courseRequest);\n return this.http.put(`${this.adminResourceUrl}/${courseRequestId}`, dto).pipe(map((res) => this.convertDTOToResponse(res)));\n }\n\n private convertRequestToDTO(courseRequest: BaseCourseRequest): BaseCourseRequestDTO {\n const dto: BaseCourseRequestDTO = {\n title: courseRequest.title,\n shortName: courseRequest.shortName,\n testCourse: courseRequest.testCourse,\n gradeRelevant: courseRequest.gradeRelevant,\n reason: courseRequest.reason,\n };\n dto.semester = courseRequest.semester;\n dto.startDate = convertDateFromClient(courseRequest.startDate);\n dto.endDate = convertDateFromClient(courseRequest.endDate);\n return dto;\n }\n\n private convertDTOToResponse(dto: CourseRequestDTO): CourseRequest {\n const response: CourseRequest = {\n title: dto.title,\n shortName: dto.shortName,\n testCourse: dto.testCourse,\n gradeRelevant: dto.gradeRelevant,\n reason: dto.reason,\n };\n response.id = dto.id;\n response.semester = dto.semester;\n // A legacy request predating the mandatory dates can still arrive without them, so this stays optional.\n response.startDate = convertDateStringFromServer(dto.startDate);\n response.endDate = convertDateStringFromServer(dto.endDate);\n response.status = dto.status;\n response.createdDate = convertDateStringFromServer(dto.createdDate);\n response.processedDate = convertDateStringFromServer(dto.processedDate);\n response.decisionReason = dto.decisionReason;\n response.requester = dto.requester;\n response.createdCourseId = dto.createdCourseId;\n response.instructorCourseCount = dto.instructorCourseCount;\n response.instructorCourses = dto.instructorCourses;\n return response;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/f406a422b456cf18f55ce6c08b925f6883e3505c.json b/web/public/bundles/artemis/code/f406a422b456cf18f55ce6c08b925f6883e3505c.json new file mode 100644 index 00000000..e7b3c2f9 --- /dev/null +++ b/web/public/bundles/artemis/code/f406a422b456cf18f55ce6c08b925f6883e3505c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f406a422b456cf18f55ce6c08b925f6883e3505c", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/service/CoverageRecomputeService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.globalsearch.service;\n\nimport java.time.Duration;\nimport java.time.Instant;\nimport java.time.ZonedDateTime;\nimport java.util.ArrayList;\nimport java.util.HashSet;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\nimport org.hibernate.exception.ConstraintViolationException;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.dao.DataIntegrityViolationException;\nimport org.springframework.data.domain.Page;\nimport org.springframework.data.domain.PageImpl;\nimport org.springframework.data.domain.PageRequest;\nimport org.springframework.data.domain.Pageable;\nimport org.springframework.data.domain.Sort;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.core.domain.DomainObject_;\nimport de.tum.cit.aet.artemis.core.service.distributed.api.DistributedDataProvider;\nimport de.tum.cit.aet.artemis.core.service.distributed.api.lock.DistributedLock;\nimport de.tum.cit.aet.artemis.core.service.distributed.api.map.DistributedMap;\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.course.repository.CourseRepository;\nimport de.tum.cit.aet.artemis.globalsearch.config.WeaviateEnabled;\nimport de.tum.cit.aet.artemis.globalsearch.config.schema.entityschemas.SearchableEntitySchema;\nimport de.tum.cit.aet.artemis.globalsearch.domain.IngestionCoverageEntry;\nimport de.tum.cit.aet.artemis.globalsearch.domain.IngestionCoverageStatus;\nimport de.tum.cit.aet.artemis.globalsearch.dto.IngestionCoverageDTO;\nimport de.tum.cit.aet.artemis.globalsearch.dto.IngestionTypeCountDTO;\nimport de.tum.cit.aet.artemis.globalsearch.repository.IngestionCoverageRepository;\nimport de.tum.cit.aet.artemis.globalsearch.service.IngestionCoverageSetLoader.ExpectedSets;\nimport de.tum.cit.aet.artemis.globalsearch.service.IngestionCoverageSetLoader.PresentSets;\n\n/**\n * Recomputes the exact per-course {@link IngestionCoverageEntry} projection by reading the database (the expected id-sets)\n * and Weaviate (the present id-sets), diffing them per type, and upserting the result. It never trusts the write path -\n * coverage is derived from what Weaviate actually holds versus what the database expects.\n *

\n * The recompute is expensive, so it runs only when the stored projection is stale or on an explicit refresh, and the\n * request that triggers it waits for it: answering first and recomputing afterwards served the old rows to exactly the\n * request that asked for newer ones. A cluster-wide lock ensures at most one recompute runs across all nodes at a time, so concurrent dashboard opens\n * (which can land on any node behind the load balancer) never fan out into duplicate recomputes.\n *

\n * Content coverage: slides and transcript are diffed at lecture-unit granularity (expected units from the DB vs the\n * distinct present units in Weaviate). Segment and unit summaries are PRESENT-ONLY - their present counts are stored but\n * never diffed, because a summary can legitimately exist without full content and the plan decoupled summaries from\n * content-correctness. The expected and present id-sets themselves come from {@link IngestionCoverageSetLoader}, which the\n * content browser reads too, so the counts reported here and the entities the browser names as missing are derived from\n * one set of rules rather than two.\n */\n@Lazy\n@Service\n@Conditional(WeaviateEnabled.class)\npublic class CoverageRecomputeService {\n\n private static final Logger log = LoggerFactory.getLogger(CoverageRecomputeService.class);\n\n /** Content coverage type labels (stored on the projection alongside the metadata {@code SearchableEntitySchema} types). */\n public static final String TYPE_SLIDES = \"slides\";\n\n public static final String TYPE_TRANSCRIPT = \"transcript\";\n\n public static final String TYPE_SEGMENT_SUMMARY = \"segment_summary\";\n\n public static final String TYPE_UNIT_SUMMARY = \"unit_summary\";\n\n /** How old the stored projection may be before a dashboard open triggers a background recompute. */\n private static final Duration FRESHNESS_WINDOW = Duration.ofMinutes(15);\n\n private static final String LOCK_NAME = \"ingestion-coverage-recompute\";\n\n private static final String SUCCESS_MAP_NAME = \"ingestion-coverage-successful-full-recompute\";\n\n private static final String FAILED_MAP_NAME = \"ingestion-coverage-failed-recompute\";\n\n private static final String PROJECTION_KEY = \"projection\";\n\n /** Name assigned by the ingestion-coverage Liquibase changeset to its sole course row uniqueness constraint. */\n private static final String COURSE_ID_UNIQUE_CONSTRAINT = \"ux_ingestion_coverage_course_id\";\n\n private static final Duration FAILED_ATTEMPT_BACKOFF = Duration.ofSeconds(30);\n\n /**\n * How long a caller waits for a recompute that is already running. A refresh waits because that recompute may have\n * read the data before the change the admin is refreshing for; a stale read waits because giving up served it the\n * old rows while the new ones were being computed.\n */\n private static final Duration LOCK_WAIT = Duration.ofMinutes(5);\n\n private final IngestionCoverageSetLoader setLoader;\n\n private final CourseRepository courseRepository;\n\n private final IngestionCoverageRepository coverageRepository;\n\n private final DistributedDataProvider distributedDataProvider;\n\n private DistributedMap successfulFullRecomputes;\n\n private DistributedMap failedRecomputes;\n\n public enum RecomputeOutcome {\n FRESH, RECOMPUTED, FAILED, LOCK_TIMEOUT\n }\n\n public CoverageRecomputeService(IngestionCoverageSetLoader setLoader, CourseRepository courseRepository, IngestionCoverageRepository coverageRepository,\n DistributedDataProvider distributedDataProvider) {\n this.setLoader = setLoader;\n this.courseRepository = courseRepository;\n this.coverageRepository = coverageRepository;\n this.distributedDataProvider = distributedDataProvider;\n }\n\n /**\n * If the stored projection is older than {@link #FRESHNESS_WINDOW} (or missing), recomputes it under the cluster lock\n * before returning, so the caller reads the result; if another recompute is already running, waits for it instead.\n * Cheap to call on every dashboard open: fresh data returns at once without touching the lock.\n *\n * @return whether the projection was already fresh, was recomputed, failed, or could not acquire the lock\n */\n public RecomputeOutcome triggerRecomputeIfStale() {\n return runUnderLock(true, false, LOCK_WAIT);\n }\n\n /**\n * Recomputes the whole projection under the cluster lock, ignoring freshness, and returns once it is done. Backs the\n * refresh button. Waits up to {@link #LOCK_WAIT} for a recompute that is already running, then runs its own.\n *\n * @return the explicit outcome of the refresh attempt\n */\n public RecomputeOutcome forceRecompute() {\n // A requested refresh means the administrator does not accept the previously certified projection any more.\n // Remove that certificate before taking the lock so a concurrent stored read cannot call stale rows fresh.\n successfulFullRecomputes().remove(PROJECTION_KEY);\n return runUnderLock(false, true, LOCK_WAIT);\n }\n\n /**\n * Acquires the cluster lock and recomputes (optionally only if the projection is stale). Package-private and\n * returning whether a recompute actually ran so tests can drive it synchronously and assert the lease behavior.\n *\n * @param onlyIfStale when {@code true}, recompute only if no successful full-recompute marker remains\n * @param bypassFailedBackoff whether an explicit refresh may retry despite a recent failed attempt\n * @param lockWait how long to wait for a recompute already running elsewhere\n * @return the explicit outcome of the trigger\n */\n RecomputeOutcome runUnderLock(boolean onlyIfStale, boolean bypassFailedBackoff, Duration lockWait) {\n // Checked before the lock too, so reading fresh data never waits behind a recompute someone else started.\n if (onlyIfStale && hasSuccessfulFullRecompute()) {\n return RecomputeOutcome.FRESH;\n }\n if (!bypassFailedBackoff && hasFailedRecentRecompute()) {\n return RecomputeOutcome.FAILED;\n }\n DistributedLock lock = distributedDataProvider.getLock(LOCK_NAME);\n boolean locked = false;\n try {\n locked = lock.tryLock(lockWait);\n if (!locked) {\n log.warn(\"Coverage recompute skipped: another recompute held the lock for longer than {}\", lockWait);\n return RecomputeOutcome.LOCK_TIMEOUT;\n }\n // Both distributed markers must be checked under the lock as another node could have finished or failed\n // while this caller waited. Per-course browser writes never set the success marker.\n if (onlyIfStale && hasSuccessfulFullRecompute()) {\n return RecomputeOutcome.FRESH;\n }\n if (!bypassFailedBackoff && hasFailedRecentRecompute()) {\n return RecomputeOutcome.FAILED;\n }\n recomputeAllCourses();\n successfulFullRecomputes().put(PROJECTION_KEY, Boolean.TRUE);\n failedRecomputes().remove(PROJECTION_KEY);\n return RecomputeOutcome.RECOMPUTED;\n }\n catch (Exception e) {\n log.error(\"Coverage recompute failed\", e);\n // A failed forced refresh must never leave an old projection certified as complete.\n successfulFullRecomputes().remove(PROJECTION_KEY);\n failedRecomputes().put(PROJECTION_KEY, Boolean.TRUE);\n return RecomputeOutcome.FAILED;\n }\n finally {\n if (locked) {\n lock.unlock();\n }\n }\n }\n\n private DistributedMap successfulFullRecomputes() {\n if (successfulFullRecomputes == null) {\n successfulFullRecomputes = distributedDataProvider.getExpiringMap(SUCCESS_MAP_NAME, FRESHNESS_WINDOW);\n }\n return successfulFullRecomputes;\n }\n\n private DistributedMap failedRecomputes() {\n if (failedRecomputes == null) {\n failedRecomputes = distributedDataProvider.getExpiringMap(FAILED_MAP_NAME, FAILED_ATTEMPT_BACKOFF);\n }\n return failedRecomputes;\n }\n\n private boolean hasSuccessfulFullRecompute() {\n return successfulFullRecomputes().containsKey(PROJECTION_KEY);\n }\n\n private boolean hasFailedRecentRecompute() {\n return failedRecomputes().containsKey(PROJECTION_KEY);\n }\n\n /**\n * Recomputes the projection for every course in the database and removes rows for courses that no longer exist. Any\n * course that fails to map aborts the run: returning a partial projection as current would make filters and\n * cross-course sorting silently omit that course.\n * Package-private so tests can drive one recompute synchronously without the lock or the async boundary.\n */\n void recomputeAllCourses() {\n List courses = courseRepository.findAll();\n List courseIds = courses.stream().map(Course::getId).toList();\n // Load the existing rows once, up front, for BOTH the per-course upsert lookup (avoiding a findByCourseId query\n // per course) and the stale-row deletion below (avoiding a second full-table read).\n List existingRows = coverageRepository.findAll();\n if (courseIds.isEmpty()) {\n if (!existingRows.isEmpty()) {\n coverageRepository.deleteAll();\n }\n return;\n }\n Map existingByCourseId = existingRows.stream().collect(Collectors.toMap(IngestionCoverageEntry::getCourseId, entry -> entry));\n\n ExpectedSets expected = setLoader.loadExpected(courseIds);\n PresentSets present = setLoader.loadPresent(courseIds);\n Instant computedAt = Instant.now();\n\n for (Course course : courses) {\n try {\n IngestionCoverageEntry entry = buildEntry(course, expected, present, existingByCourseId, computedAt);\n upsertResolvingConcurrentFirstInsert(course, expected, present, computedAt, entry);\n }\n catch (Exception exception) {\n log.warn(\"Coverage recompute failed for course {}\", course.getId(), exception);\n throw exception;\n }\n }\n\n Set existingCourseIds = new HashSet<>(courseIds);\n List stale = existingRows.stream().filter(entry -> !existingCourseIds.contains(entry.getCourseId())).toList();\n if (!stale.isEmpty()) {\n coverageRepository.deleteAll(stale);\n }\n }\n\n /**\n * Stores coverage for one course from sets the caller has already loaded, so the stored views show what the content\n * browser just showed for it rather than the last full recompute's numbers.\n *\n * @param course the course the sets were loaded for\n * @param expected what the database expects indexed\n * @param present what the index holds\n */\n public void storeCourseCoverage(Course course, ExpectedSets expected, PresentSets present) {\n Map existing = coverageRepository.findByCourseId(course.getId()).map(entry -> Map.of(course.getId(), entry)).orElse(Map.of());\n Instant computedAt = Instant.now();\n upsertResolvingConcurrentFirstInsert(course, expected, present, computedAt, buildEntry(course, expected, present, existing, computedAt));\n }\n\n /**\n * Computes coverage for a set of courses live (reading the DB + Weaviate and diffing) and returns it as DTOs WITHOUT\n * persisting, for the default matrix page view. The visible page selects its courses by DB-native sort/search, so this\n * is called with only the ~25 courses on screen; the (heavier) content aggregations are read only for the ones that\n * have lecture units.\n *\n * @param courses the courses to compute coverage for (typically one page)\n * @return one coverage DTO per course, in the given order, computed at the request time\n */\n public List computeCoverageLive(List courses) {\n if (courses.isEmpty()) {\n return List.of();\n }\n List courseIds = courses.stream().map(Course::getId).toList();\n ExpectedSets expected = setLoader.loadExpected(courseIds);\n PresentSets present = setLoader.loadPresent(courseIds);\n ZonedDateTime computedAt = ZonedDateTime.now();\n\n List result = new ArrayList<>();\n for (Course course : courses) {\n CoverageComputation computation = computeTypeCounts(course, expected, present);\n result.add(new IngestionCoverageDTO(course.getId(), course.getTitle(), course.getStartDate(), isActive(course), course.getSemester(), computation.status(),\n computation.gapScore(), computedAt, computation.lastIngestedAt(), computation.counts()));\n }\n return result;\n }\n\n /**\n * Reads the stored coverage projection for the cross-course matrix views (worst-first, release-date,\n * most-recent-ingestion, status/active filters, title search), paginated and sorted on the projection's indexed\n * columns. Pure table read, no Weaviate access. The caller triggers the stale-while-revalidate recompute separately\n * (a sibling {@code @Async} call would not cross the proxy).\n *\n * @param status an optional status to filter by, or {@code null} for all statuses\n * @param active an optional active/inactive filter, or {@code null} for either\n * @param search an optional case-insensitive course-title search, or {@code null}/blank for all titles\n * @param pageable the page and sort (on the projection columns)\n * @return the requested page of stored coverage rows as DTOs\n */\n public Page readStoredCoverage(IngestionCoverageStatus status, Boolean active, String search, Pageable pageable) {\n // The repository takes the empty string, not null, for \"no search\"; see its javadoc for why.\n String titleSearch = search == null || search.isBlank() ? \"\" : search.trim();\n return coverageRepository.findFiltered(status, active, titleSearch, withTieBreaker(pageable, \"courseId\")).map(this::toDto);\n }\n\n /**\n * Selects a page of courses by DB-native sort/search and computes their coverage LIVE, for the default matrix view.\n * Always fresh; never reads the stored projection.\n *\n * @param search an optional case-insensitive course-title search, or {@code null}/blank for all courses\n * @param pageable the page and sort (on {@code Course} columns, e.g. title / startDate)\n * @return the requested page of live-computed coverage DTOs\n */\n public Page computeLiveCoveragePage(String search, Pageable pageable) {\n // Trimmed the same way as readStoredCoverage, so a search with incidental leading/trailing whitespace (e.g.\n // pasted from elsewhere) matches the same courses whichever view is currently active.\n Pageable stablePageable = withTieBreaker(pageable, DomainObject_.ID);\n Page courses = search == null || search.isBlank() ? courseRepository.findAll(stablePageable)\n : courseRepository.findByTitleIgnoreCaseContaining(search.trim(), stablePageable);\n return new PageImpl<>(computeCoverageLive(courses.getContent()), pageable, courses.getTotalElements());\n }\n\n /**\n * Appends a unique property to the sort. Many courses share a release date or a gap score, and without it the database\n * may order tied rows differently for each page, so a course could appear on two pages and another on none.\n */\n private static Pageable withTieBreaker(Pageable pageable, String uniqueProperty) {\n return PageRequest.of(pageable.getPageNumber(), pageable.getPageSize(), pageable.getSort().and(Sort.by(uniqueProperty)));\n }\n\n private IngestionCoverageDTO toDto(IngestionCoverageEntry entry) {\n return new IngestionCoverageDTO(entry.getCourseId(), entry.getCourseTitle(), entry.getReleaseDate(), entry.isActive(), entry.getSemester(), entry.getStatus(),\n entry.getCoverageGapScore(), entry.getComputedAt(), entry.getLastIngestedAt(), entry.getTypeCounts());\n }\n\n // ----- Diff + assemble -----\n\n /** The DB/Weaviate-derived part of one course's coverage, shared by the stored recompute and the live page view. */\n private record CoverageComputation(List counts, IngestionCoverageStatus status, int gapScore, ZonedDateTime lastIngestedAt) {\n }\n\n /**\n * The per-type expected-vs-present counts for one course.\n *\n * Shared with the content browser, which names the same gaps: a number in the matrix and the list behind it are two\n * views of one computation rather than two computations that ought to agree. Static because the browser needs the\n * counts alone, without the recompute's status, severity and persistence around them.\n *\n * @param courseId the course to diff\n * @param expected what the database expects indexed, already loaded\n * @param present what the index holds, already loaded\n * @return one count per measured type, in a fixed order\n */\n public static List typeCountsForCourse(long courseId, ExpectedSets expected, PresentSets present) {\n Map> presentMetadata = present.metadataByCourse().getOrDefault(courseId, Map.of());\n\n List counts = new ArrayList<>();\n counts.add(diff(SearchableEntitySchema.TypeValues.EXERCISE, expected.exercises().get(courseId), presentMetadata.get(SearchableEntitySchema.TypeValues.EXERCISE)));\n counts.add(diff(SearchableEntitySchema.TypeValues.LECTURE, expected.lectures().get(courseId), presentMetadata.get(SearchableEntitySchema.TypeValues.LECTURE)));\n counts.add(\n diff(SearchableEntitySchema.TypeValues.LECTURE_UNIT, expected.lectureUnits().get(courseId), presentMetadata.get(SearchableEntitySchema.TypeValues.LECTURE_UNIT)));\n counts.add(diff(SearchableEntitySchema.TypeValues.EXAM, expected.exams().get(courseId), presentMetadata.get(SearchableEntitySchema.TypeValues.EXAM)));\n counts.add(diff(SearchableEntitySchema.TypeValues.FAQ, expected.faqs().get(courseId), presentMetadata.get(SearchableEntitySchema.TypeValues.FAQ)));\n counts.add(diff(SearchableEntitySchema.TypeValues.CHANNEL, expected.channels().get(courseId), presentMetadata.get(SearchableEntitySchema.TypeValues.CHANNEL)));\n // The course itself is always expected to be indexed as a single object.\n counts.add(diff(SearchableEntitySchema.TypeValues.COURSE, Set.of(courseId), presentMetadata.get(SearchableEntitySchema.TypeValues.COURSE)));\n // Content: slides and transcript are diffed for a course within the ingestion window; for an older one they are\n // optional, so only content of a unit that no longer has a PDF or video counts against it. Summaries are present-only.\n if (expected.requiresContent(courseId)) {\n counts.add(diff(TYPE_SLIDES, expected.pdfUnits().get(courseId), present.slides().get(courseId)));\n counts.add(diff(TYPE_TRANSCRIPT, expected.videoUnits().get(courseId), present.transcript().get(courseId)));\n }\n else {\n counts.add(presentOnly(TYPE_SLIDES, present.slides().get(courseId), expected.pdfUnits().get(courseId)));\n counts.add(presentOnly(TYPE_TRANSCRIPT, present.transcript().get(courseId), expected.videoUnits().get(courseId)));\n }\n counts.add(presentOnly(TYPE_SEGMENT_SUMMARY, present.segmentSummaries().get(courseId), expected.lectureUnits().get(courseId)));\n counts.add(presentOnly(TYPE_UNIT_SUMMARY, present.unitSummaries().get(courseId), expected.lectureUnits().get(courseId)));\n return counts;\n }\n\n private CoverageComputation computeTypeCounts(Course course, ExpectedSets expected, PresentSets present) {\n long courseId = course.getId();\n List counts = typeCountsForCourse(courseId, expected, present);\n\n long totalMissing = counts.stream().mapToLong(IngestionTypeCountDTO::missing).sum();\n long totalOrphaned = counts.stream().mapToLong(IngestionTypeCountDTO::orphaned).sum();\n long totalExpected = counts.stream().mapToLong(IngestionTypeCountDTO::expected).sum();\n // Orphaned counts towards the severity as well as the status: a course whose index still holds objects for\n // content that no longer exists answers searches with stale hits, so worst-first has to surface it rather than\n // rank it alongside a course with nothing wrong. A present-only type reports an orphan only for a unit the\n // database has lost, so an ordinary summary still cannot push a course off COMPLETE.\n long totalGap = totalMissing + totalOrphaned;\n return new CoverageComputation(counts, deriveStatus(totalExpected, totalMissing, totalOrphaned), (int) Math.min(Integer.MAX_VALUE, totalGap),\n toZonedDateTime(present.lastIngestedAt().get(courseId)));\n }\n\n private IngestionCoverageEntry buildEntry(Course course, ExpectedSets expected, PresentSets present, Map existingByCourseId, Instant computedAt) {\n long courseId = course.getId();\n CoverageComputation computation = computeTypeCounts(course, expected, present);\n\n IngestionCoverageEntry entry = existingByCourseId.get(courseId);\n if (entry == null) {\n entry = new IngestionCoverageEntry();\n }\n entry.setCourseId(courseId);\n entry.setTypeCounts(computation.counts());\n entry.setCoverageGapScore(computation.gapScore());\n entry.setStatus(computation.status());\n entry.setCourseTitle(course.getTitle());\n entry.setReleaseDate(course.getStartDate());\n entry.setActive(isActive(course));\n entry.setSemester(course.getSemester());\n entry.setComputedAt(computedAt.atZone(java.time.ZoneOffset.UTC));\n entry.setLastIngestedAt(computation.lastIngestedAt());\n return entry;\n }\n\n /** Exact expected-vs-present diff for one type. Null sets are treated as empty. */\n private static IngestionTypeCountDTO diff(String type, Set expected, Set present) {\n Set expectedIds = expected == null ? Set.of() : expected;\n Set presentIds = present == null ? Set.of() : present;\n long missing = expectedIds.stream().filter(id -> !presentIds.contains(id)).count();\n long orphaned = presentIds.stream().filter(id -> !expectedIds.contains(id)).count();\n return new IngestionTypeCountDTO(type, expectedIds.size(), presentIds.size(), missing, orphaned);\n }\n\n /**\n * Present-only type (e.g. summaries, or the slides and transcript of a course outside the ingestion window): never\n * reported missing, because the object can legitimately exist or not and nothing requires one to be there.\n *

\n * A summary for a lecture unit the database no longer has is a different thing. Nothing will ever summarise that\n * unit again, so the object is stale rather than optional, and it is reported orphaned like any other leftover.\n * Without that, a course whose units were all deleted showed its slides and transcript red for exactly these\n * objects while its summaries read green, describing one pile of stale data two contradictory ways.\n */\n private static IngestionTypeCountDTO presentOnly(String type, Set present, Set unitsInDatabase) {\n Set presentIds = present == null ? Set.of() : present;\n Set knownUnitIds = unitsInDatabase == null ? Set.of() : unitsInDatabase;\n long orphaned = presentIds.stream().filter(unitId -> !knownUnitIds.contains(unitId)).count();\n return new IngestionTypeCountDTO(type, presentIds.size() - orphaned, presentIds.size(), 0, orphaned);\n }\n\n /**\n * EMPTY means there is genuinely nothing to say about this course: nothing expected and nothing stale left behind.\n * A course that expects nothing but still holds orphaned objects is not empty, it needs cleaning, so it reports\n * INCOMPLETE rather than being filtered away as uninteresting.\n */\n private static IngestionCoverageStatus deriveStatus(long totalExpected, long totalMissing, long totalOrphaned) {\n if (totalExpected == 0 && totalOrphaned == 0) {\n return IngestionCoverageStatus.EMPTY;\n }\n return totalMissing == 0 && totalOrphaned == 0 ? IngestionCoverageStatus.COMPLETE : IngestionCoverageStatus.INCOMPLETE;\n }\n\n private static boolean isActive(Course course) {\n ZonedDateTime now = ZonedDateTime.now();\n boolean started = course.getStartDate() == null || !course.getStartDate().isAfter(now);\n boolean notEnded = course.getEndDate() == null || !course.getEndDate().isBefore(now);\n return started && notEnded;\n }\n\n private void upsert(IngestionCoverageEntry entry) {\n coverageRepository.save(entry);\n }\n\n /**\n * A browser write and a full recompute do not share the global lock. If both insert a course's first projection row,\n * retry only the known {@code course_id} uniqueness race with the row that won the insert; all other integrity\n * failures still fail the recompute.\n */\n private void upsertResolvingConcurrentFirstInsert(Course course, ExpectedSets expected, PresentSets present, Instant computedAt, IngestionCoverageEntry entry) {\n try {\n upsert(entry);\n }\n catch (DataIntegrityViolationException exception) {\n if (!isCourseIdUniquenessViolation(exception)) {\n throw exception;\n }\n IngestionCoverageEntry concurrentEntry = coverageRepository.findByCourseId(course.getId()).orElseThrow(() -> exception);\n upsert(buildEntry(course, expected, present, Map.of(course.getId(), concurrentEntry), computedAt));\n }\n }\n\n private static boolean isCourseIdUniquenessViolation(DataIntegrityViolationException exception) {\n for (Throwable cause = exception; cause != null; cause = cause.getCause()) {\n if (cause instanceof ConstraintViolationException violation && violation.getKind() == ConstraintViolationException.ConstraintKind.UNIQUE\n && constraintNameMatchesCourseIdUniqueConstraint(violation.getConstraintName())) {\n return true;\n }\n }\n return false;\n }\n\n /**\n * PostgreSQL returns the bare constraint name while MySQL qualifies it with the table name. The database's parsed\n * constraint name is stable across driver message formats, unlike text such as \"duplicate\" or \"course_id\".\n */\n private static boolean constraintNameMatchesCourseIdUniqueConstraint(String constraintName) {\n return constraintName != null && COURSE_ID_UNIQUE_CONSTRAINT.equalsIgnoreCase(constraintName.substring(constraintName.lastIndexOf('.') + 1));\n }\n\n // ----- Helpers -----\n\n private static ZonedDateTime toZonedDateTime(Instant instant) {\n return instant == null ? null : instant.atZone(java.time.ZoneOffset.UTC);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/f4bb713edd8418b90271c889441f8a10da0dd0af.json b/web/public/bundles/artemis/code/f4bb713edd8418b90271c889441f8a10da0dd0af.json new file mode 100644 index 00000000..888cc4f0 --- /dev/null +++ b/web/public/bundles/artemis/code/f4bb713edd8418b90271c889441f8a10da0dd0af.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f4bb713edd8418b90271c889441f8a10da0dd0af", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/service/AthenaConnector.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.athena.service;\n\nimport org.jspecify.annotations.NonNull;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.http.MediaType;\nimport org.springframework.http.ResponseEntity;\nimport org.springframework.web.client.ResourceAccessException;\nimport org.springframework.web.client.RestClient;\nimport org.springframework.web.client.RestClientResponseException;\n\nimport de.tum.cit.aet.artemis.core.exception.NetworkingException;\nimport de.tum.cit.aet.artemis.core.util.TimeLogUtil;\n\n/**\n * Connector to Athena, a remote Artemis service that can create semi-automatic feedback suggestions for tutors.\n *

\n * The connector will be used to\n * - Send submissions to Athena\n * - Send existing feedback to Athena\n * - Request the next suggested submission to assess from Athena\n * - Receive feedback suggestions from Athena\n *

\n * As parameters, this class required DTO classes to serialize and deserialize POJOs to JSON and back.\n *\n * @param DTO class, describing the body of the network request.\n * @param DTO class, describing the body of the network response.\n */\nclass AthenaConnector {\n\n private static final Logger log = LoggerFactory.getLogger(AthenaConnector.class);\n\n private final RestClient restClient;\n\n private final Class genericResponseType;\n\n AthenaConnector(RestClient restClient, Class genericResponseType) {\n this.restClient = restClient;\n this.genericResponseType = genericResponseType;\n }\n\n /**\n * Invoke Athena with a network call.\n *\n * @param url Athena api endpoint\n * @param requestObject request body as POJO\n * @return response body from Athena\n * @throws NetworkingException exception in case of unsuccessful responses or responses without a body.\n */\n private ResponseType invoke(@NonNull String url, @NonNull RequestType requestObject) throws NetworkingException {\n long start = System.nanoTime();\n log.debug(\"Calling Athena.\");\n\n ResponseEntity response;\n try {\n response = restClient.post().uri(url).contentType(MediaType.APPLICATION_JSON).body(requestObject).retrieve().toEntity(genericResponseType);\n }\n catch (ResourceAccessException | RestClientResponseException e) {\n log.error(\"Athena did not respond successfully\", e);\n throw new NetworkingException(\"An Error occurred while calling Athena. Check Remote Logs for debugging information.\", e);\n }\n\n if (!response.getStatusCode().is2xxSuccessful() || !response.hasBody()) {\n log.error(\"Athena responded with an error: {}\", response);\n throw new NetworkingException(\"An Error occurred while calling Athena. Check Remote Logs for debugging information.\");\n }\n\n final ResponseType responseBody = response.getBody();\n if (responseBody == null) {\n throw new NetworkingException(\"An Error occurred while calling Athena (response is null).\");\n }\n log.debug(\"Finished remote call in {}\", TimeLogUtil.formatDurationFrom(start));\n\n return responseBody;\n }\n\n /**\n * Invoke Athena with a network call, but retry the request n times in case of an unsuccessful request.\n *\n * @param url Athena api endpoint\n * @param requestObject request body as POJO\n * @param maxRetries how many times to retry in case of an unsuccessful request.\n * @return response body from Athena\n * @throws NetworkingException exception in case of unsuccessful responses or responses without a body.\n */\n ResponseType invokeWithRetry(@NonNull String url, @NonNull RequestType requestObject, int maxRetries) throws NetworkingException {\n for (int retries = 0;; retries++) {\n try {\n return invoke(url, requestObject);\n }\n catch (NetworkingException | ResourceAccessException error) {\n if (retries >= maxRetries) {\n throw new NetworkingException(\"An error occurred while calling Athena: \" + error.getMessage(), error);\n }\n }\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/f554d9fe7886a0f1bf7a623e8145b4126eb7f1bf.json b/web/public/bundles/artemis/code/f554d9fe7886a0f1bf7a623e8145b4126eb7f1bf.json new file mode 100644 index 00000000..fea11f7f --- /dev/null +++ b/web/public/bundles/artemis/code/f554d9fe7886a0f1bf7a623e8145b4126eb7f1bf.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f554d9fe7886a0f1bf7a623e8145b4126eb7f1bf", + "language": "typescript", + "path": "src/main/webapp/app/programming/manage/update/update-components/mode/programming-exercise-mode.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, OnInit, inject, input, output, signal, viewChild } from '@angular/core';\nimport { ProgrammingExercise, ProjectType } from 'app/programming/shared/entities/programming-exercise.model';\nimport { faQuestionCircle } from '@fortawesome/free-solid-svg-icons';\nimport { ProgrammingExerciseCreationConfig } from 'app/programming/manage/update/programming-exercise-creation-config';\nimport { TeamConfigFormGroupComponent } from 'app/exercise/team-config-form-group/team-config-form-group.component';\nimport { MODULE_FEATURE_THEIA } from 'app/app.constants';\nimport { ProfileService } from 'app/core/layouts/profiles/shared/profile.service';\nimport { ProgrammingExerciseInputField } from 'app/programming/manage/update/programming-exercise-update.helper';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { ProgrammingExerciseDifficultyComponent } from '../difficulty/programming-exercise-difficulty.component';\nimport { FormsModule } from '@angular/forms';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { TumAetUiCheckboxComponent } from '@tumaet/ui-angular/checkbox';\nimport { TumAetUiTooltipDirective } from '@tumaet/ui-angular/tooltip';\nimport { HelpIconComponent } from 'app/shared-ui/components/help-icon/help-icon.component';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\n\n@Component({\n selector: 'jhi-programming-exercise-mode',\n templateUrl: './programming-exercise-mode.component.html',\n styleUrls: ['../../../../shared/programming-exercise-form.css'],\n imports: [\n TranslateDirective,\n ProgrammingExerciseDifficultyComponent,\n TeamConfigFormGroupComponent,\n FormsModule,\n FaIconComponent,\n TumAetUiCheckboxComponent,\n TumAetUiTooltipDirective,\n HelpIconComponent,\n ArtemisTranslatePipe,\n ],\n})\nexport class ProgrammingExerciseModeComponent implements OnInit {\n private profileService = inject(ProfileService);\n\n protected readonly ProjectType = ProjectType;\n protected readonly faQuestionCircle = faQuestionCircle;\n\n readonly programmingExercise = input.required();\n readonly programmingExerciseCreationConfig = input.required();\n readonly isEditFieldDisplayedRecord = input.required>();\n\n // Migrated from @ViewChild. The parent (ProgrammingExerciseUpdateComponent) reads this as a plain\n // property (`...?.teamConfigComponent?.formValidChanges`), so the public contract must stay a\n // property that returns the queried component instance. A private signal backs a public getter.\n private readonly teamConfigComponentSignal = viewChild(TeamConfigFormGroupComponent);\n\n get teamConfigComponent(): TeamConfigFormGroupComponent | undefined {\n return this.teamConfigComponentSignal();\n }\n\n readonly triggerValidation = output();\n\n readonly theiaEnabled = signal(false);\n\n ngOnInit(): void {\n this.theiaEnabled.set(this.profileService.isModuleFeatureActive(MODULE_FEATURE_THEIA));\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/f610759898534978c345f4ef08f3bcf8b82df5a2.json b/web/public/bundles/artemis/code/f610759898534978c345f4ef08f3bcf8b82df5a2.json new file mode 100644 index 00000000..ea85e3ee --- /dev/null +++ b/web/public/bundles/artemis/code/f610759898534978c345f4ef08f3bcf8b82df5a2.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f610759898534978c345f4ef08f3bcf8b82df5a2", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CoursePrerequisiteDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.course.dto;\n\nimport java.time.ZonedDateTime;\n\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.atlas.domain.competency.CompetencyTaxonomy;\nimport de.tum.cit.aet.artemis.atlas.domain.competency.Prerequisite;\n\n/**\n * A prerequisite summary exposed with a course that is available for self-enrollment.\n *\n * @param id the prerequisite identifier\n * @param title the prerequisite title\n * @param description the optional prerequisite description\n * @param taxonomy the optional competency taxonomy\n * @param softDueDate the optional recommended completion date\n * @param masteryThreshold the percentage required for mastery\n * @param optional whether completing the prerequisite is optional\n * @param type the prerequisite discriminator\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record CoursePrerequisiteDTO(long id, String title, @Nullable String description, @Nullable CompetencyTaxonomy taxonomy, @Nullable ZonedDateTime softDueDate,\n int masteryThreshold, boolean optional, String type) {\n\n /**\n * Maps a prerequisite without exposing its course, progress, or learning-object associations.\n *\n * @param prerequisite the prerequisite to map\n * @return the prerequisite summary\n */\n public static CoursePrerequisiteDTO of(Prerequisite prerequisite) {\n return new CoursePrerequisiteDTO(prerequisite.getId(), prerequisite.getTitle(), prerequisite.getDescription(), prerequisite.getTaxonomy(), prerequisite.getSoftDueDate(),\n prerequisite.getMasteryThreshold(), prerequisite.isOptional(), prerequisite.getType());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/f67f82155d1d5567ebcb456975ed315cddaeb71c.json b/web/public/bundles/artemis/code/f67f82155d1d5567ebcb456975ed315cddaeb71c.json new file mode 100644 index 00000000..68996b15 --- /dev/null +++ b/web/public/bundles/artemis/code/f67f82155d1d5567ebcb456975ed315cddaeb71c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f67f82155d1d5567ebcb456975ed315cddaeb71c", + "language": "typescript", + "path": "src/main/webapp/app/account/user/settings/credentials/vcs-access-token-overview/vcs-access-token-overview.model.ts", + "schema": "codexray.code/1", + "text": "import { RepositoryType } from 'app/programming/shared/code-editor/model/code-editor.model';\n\n/**\n * The kind of VCS access token shown in the user-settings token overview. Used together with the token id to revoke a token.\n */\nexport enum VcsAccessTokenType {\n PARTICIPATION = 'PARTICIPATION',\n REPOSITORY = 'REPOSITORY',\n}\n\n/**\n * A single VCS access token a user owns, as shown in the user-settings token overview. Carries only display metadata, never the token secret.\n */\nexport interface VcsAccessTokenOverview {\n id: number;\n tokenType: VcsAccessTokenType;\n // Only set for repository-scoped tokens (TEMPLATE, SOLUTION, TESTS, AUXILIARY or USER); undefined for participation tokens.\n repositoryType?: RepositoryType;\n // The course the token's exercise belongs to (disambiguates exercises with the same title across courses); id for linking, title for display.\n courseId?: number;\n courseTitle?: string;\n // For an exam exercise, the exam and exercise-group ids so the client can build the correct exercise link; undefined for a regular course exercise.\n examId?: number;\n exerciseGroupId?: number;\n // The programming exercise the token's repository belongs to; id for linking, title for display.\n exerciseId?: number;\n exerciseTitle?: string;\n // Only set for a repository-scoped USER token: the login of the student whose assignment repository the token grants access to.\n studentLogin?: string;\n // The canonical URI of the repository the token grants access to, so it is unambiguous which repository is meant.\n repositoryUri?: string;\n}\n" +} diff --git a/web/public/bundles/artemis/code/f72a1b845ab99c52b2be268803e245cac32716cf.json b/web/public/bundles/artemis/code/f72a1b845ab99c52b2be268803e245cac32716cf.json new file mode 100644 index 00000000..1def5e71 --- /dev/null +++ b/web/public/bundles/artemis/code/f72a1b845ab99c52b2be268803e245cac32716cf.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f72a1b845ab99c52b2be268803e245cac32716cf", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/IrisCitationService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.iris.service;\n\nimport java.util.LinkedHashSet;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Objects;\nimport java.util.Optional;\nimport java.util.Set;\nimport java.util.function.Supplier;\nimport java.util.regex.MatchResult;\nimport java.util.regex.Pattern;\nimport java.util.stream.Collectors;\n\nimport org.hibernate.Hibernate;\nimport org.jspecify.annotations.Nullable;\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.iris.config.IrisEnabled;\nimport de.tum.cit.aet.artemis.iris.domain.message.IrisMessage;\nimport de.tum.cit.aet.artemis.iris.domain.message.IrisMessageContent;\nimport de.tum.cit.aet.artemis.iris.domain.session.IrisSession;\nimport de.tum.cit.aet.artemis.iris.dto.IrisCitationMetaDTO;\nimport de.tum.cit.aet.artemis.iris.repository.IrisSessionRepository;\nimport de.tum.cit.aet.artemis.lecture.api.LectureUnitRepositoryApi;\nimport de.tum.cit.aet.artemis.lecture.domain.LectureUnit;\nimport de.tum.cit.aet.artemis.lecture.dto.LectureUnitIngestedVersionsDTO;\n\n/**\n * Parses Iris citation payloads from chat contents and resolves lecture name and lecture unit name for the referenced lecture units.\n *

\n * Only processes lecture citations with format: {@code [cite:L:entityID:page:start:end:keyword:summary]}, optionally followed by one version field:\n * {@code [cite:L:entityID:page:start:end:keyword:summary:va3]} for slides, {@code :vt3} for a video. A citation is about either a slide or a video, never both, so the tag\n * carries which kind of material it is about along with the version, in a single field.\n *

\n * The tag exists because the summary is by design \"everything up to the closing bracket\" and may contain colons: a trailing field of plain digits would be\n * indistinguishable from a summary that happens to end in a number, and reading such a summary as a version would let a citation of changed material pass as current. A\n * field that has to start with {@code va} or {@code vt} cannot be produced by a number at the end of a sentence.\n *

\n * The version field is appended by {@link #stampCitationVersions(String, String)} before the assistant message is persisted, and pins the citation to the version of the material\n * it was generated from. When a citation is clicked, the client fetches the versions the unit currently offers and compares them against the pinned one. Markers without\n * the field (written before this feature existed) keep behaving exactly as before.\n */\n@Lazy\n@Service\n@Conditional(IrisEnabled.class)\npublic class IrisCitationService {\n\n /** Fields a stamped citation has after the end timestamp at minimum: keyword, summary and the version field. A summary may itself contain colons, so it can have more. */\n private static final int MIN_TRAILING_FIELDS_WHEN_STAMPED = 3;\n\n // Keep in sync with the Iris client regex in src/main/webapp/app/iris/overview/citation-text/iris-citation-text.model.ts and the regex defined in Pyris.\n // The version field needs no expression of its own: the trailing summary group already accepts colons and therefore covers it.\n private static final Pattern CITATION_PATTERN = Pattern.compile(\"\\\\[cite:L:(?\\\\d+):[^:\\\\]]*:[^:\\\\]]*:[^:\\\\]]*:[^:\\\\]]*:[^\\\\]]*\\\\]\");\n\n /**\n * Splits a lecture citation into the parts needed for stamping. The trailing {@code rest} group holds {@code keyword:summary}, plus the version field once stamped;\n * summaries may contain colons, which is why it is matched greedily up to the closing bracket.\n */\n private static final Pattern STAMPABLE_CITATION_PATTERN = Pattern\n .compile(\"\\\\[cite:L:(?\\\\d+):(?[^:\\\\]]*):(?[^:\\\\]]*):(?[^:\\\\]]*):(?[^\\\\]]*)\\\\]\");\n\n /** Tag of a version field pinning a slide citation to the version of its attachment. */\n private static final String ATTACHMENT_VERSION_TAG = \"va\";\n\n /** Tag of a version field pinning a video citation to the version of its transcription. */\n private static final String VIDEO_VERSION_TAG = \"vt\";\n\n /** A version field is one of the two tags followed by a number. Nothing else counts as one, which is what keeps a numeric summary from being read as a version. */\n private static final Pattern VERSION_FIELD_PATTERN = Pattern.compile(\"v[at]\\\\d+\");\n\n private final Optional lectureUnitRepositoryApi;\n\n private final IrisSessionRepository irisSessionRepository;\n\n private final IrisLectureMaterialVersionService materialVersionService;\n\n public IrisCitationService(Optional lectureUnitRepositoryApi, IrisSessionRepository irisSessionRepository,\n IrisLectureMaterialVersionService materialVersionService) {\n this.lectureUnitRepositoryApi = lectureUnitRepositoryApi;\n this.irisSessionRepository = irisSessionRepository;\n this.materialVersionService = materialVersionService;\n }\n\n /**\n * Pins every lecture citation in the supplied text to the version of the material it was generated from.\n *

\n * New citations use the snapshot taken before this run. Missing versions and citations copied with a version suffix are stamped with version 0 (unverified).\n * Legacy messages already in history retain their original behaviour.\n *\n * @param text the raw assistant answer; may be {@code null} or blank\n * @param jobId the run whose material snapshot applies\n * @return the text with pinned-version fields appended, or the unchanged text when there is nothing to stamp\n */\n public String stampCitationVersions(String text, String jobId) {\n return stampCitationVersions(text, () -> materialVersionService.getSnapshot(jobId));\n }\n\n /**\n * Pins every lecture citation of a global search answer carried into a chat to the material versions captured for the run that produced it.\n *

\n * The versions were captured before the answer's retrieval, so a slide changed after the answer arrived is still recognised as changed in the chat. Without a run, or\n * once its versions expired, the citations are stamped with version 0 (unverified), as in {@link #stampCitationVersions(String, String)}.\n *\n * @param text the answer; may be {@code null} or blank\n * @param runId the global search run that produced the answer, or {@code null} when unknown\n * @param userLogin the user the run belongs to\n * @return the text with pinned-version fields appended, or the unchanged text when there is nothing to stamp\n */\n public String stampCitationVersionsForGlobalSearch(String text, @Nullable String runId, String userLogin) {\n return stampCitationVersions(text, () -> runId == null ? Map.of() : materialVersionService.getGlobalSearchSnapshot(runId, userLogin));\n }\n\n /**\n * Stamps every lecture citation of the text with the versions the supplier yields. The supplier is only asked when the text actually contains a citation.\n */\n private String stampCitationVersions(String text, Supplier> versionsSupplier) {\n if (text == null || text.isBlank()) {\n return text;\n }\n // Built manually instead of via Matcher#replaceAll, because keywords and summaries are LLM-generated and may contain \"$\" or \"\\\", which would be interpreted as\n // group references in a replacement string.\n var matcher = STAMPABLE_CITATION_PATTERN.matcher(text);\n if (!matcher.find()) {\n return text;\n }\n var ingestedVersions = versionsSupplier.get();\n var stamped = new StringBuilder();\n int lastEnd = 0;\n do {\n stamped.append(text, lastEnd, matcher.start()).append(stampSingleCitation(matcher, ingestedVersions));\n lastEnd = matcher.end();\n }\n while (matcher.find());\n return stamped.append(text, lastEnd, text.length()).toString();\n }\n\n /**\n * Extracts citation placeholders from the supplied text and resolves metadata (lecture name and lecture unit name) for each lecture unit found.\n *\n * @param text text to scan for citation placeholders; may be {@code null} or blank\n * @return a {@link List} of {@link IrisCitationMetaDTO} for each resolved lecture unit; empty if none were found\n * @see #resolveCitationInfoFromMessages(List)\n */\n public List resolveCitationInfo(String text) {\n if (text == null || text.isBlank()) {\n return List.of();\n }\n if (lectureUnitRepositoryApi.isEmpty()) {\n return List.of();\n }\n var entityIds = extractEntityIds(text);\n if (entityIds.isEmpty()) {\n return List.of();\n }\n var unitMap = lectureUnitRepositoryApi.get().findAllByIdsWithLecture(entityIds).stream().collect(Collectors.toMap(LectureUnit::getId, unit -> unit));\n var citations = entityIds.stream().map(unitMap::get).filter(Objects::nonNull).map(unit -> {\n var lecture = unit.getLecture();\n var lectureTitle = lecture != null ? lecture.getTitle() : null;\n var lectureUnitTitle = unit.getName();\n if (lecture == null || lectureTitle == null || lectureTitle.isBlank() || lectureUnitTitle == null || lectureUnitTitle.isBlank()) {\n return null;\n }\n var lectureId = lecture.getId();\n var courseId = lecture.getCourse() != null ? lecture.getCourse().getId() : null;\n if (courseId == null) {\n return null;\n }\n return new IrisCitationMetaDTO(unit.getId(), lectureTitle, lectureUnitTitle, lectureId, courseId);\n }).filter(Objects::nonNull).toList();\n return citations;\n }\n\n /**\n * Collects non-null contents from the supplied {@link IrisMessage} list, joins them, and delegates to {@link #resolveCitationInfo(String)}.\n *\n * @param messages nullable list of {@link IrisMessage}; returns empty list when {@code null} or empty\n * @return a {@link List} of {@link IrisCitationMetaDTO} for each resolved lecture unit; empty if no citations were found\n * @see #resolveCitationInfo(String)\n */\n public List resolveCitationInfoFromMessages(List messages) {\n if (messages == null || messages.isEmpty()) {\n return List.of();\n }\n var contentStrings = messages.stream().filter(Objects::nonNull).filter(message -> message.getContent() != null).flatMap(message -> message.getContent().stream())\n .map(IrisMessageContent::getContentAsString).filter(content -> content != null && !content.isBlank()).toList();\n if (contentStrings.isEmpty()) {\n return List.of();\n }\n return resolveCitationInfo(String.join(\"\\n\", contentStrings));\n }\n\n /**\n * Loads the session with messages and contents (if not already initialized), resolves citation info from the messages, and sets it on the provided session.\n *

\n * If the session's messages and each message's content collection are already initialized (e.g. loaded by a caller's EntityGraph), the existing\n * in-memory data is used directly and no additional database query is issued. Otherwise, the session is reloaded via\n * {@link IrisSessionRepository#findByIdWithMessagesAndContents}.\n *\n * @param session the session to enrich with citation info\n */\n public void enrichSessionWithCitationInfo(IrisSession session) {\n List messages = session.getMessages();\n boolean alreadyLoaded = Hibernate.isInitialized(messages)\n && (messages == null || messages.isEmpty() || messages.stream().allMatch(m -> Hibernate.isInitialized(m.getContent())));\n if (!alreadyLoaded) {\n IrisSession sessionWithContents = irisSessionRepository.findByIdWithMessagesAndContents(session.getId());\n messages = sessionWithContents.getMessages();\n }\n session.setCitationInfo(resolveCitationInfoFromMessages(messages));\n }\n\n private String stampSingleCitation(MatchResult match, Map ingestedVersions) {\n String rest = match.group(\"rest\");\n boolean copiedVersion = isAlreadyStamped(rest);\n if (copiedVersion) {\n rest = rest.substring(0, rest.lastIndexOf(':'));\n }\n Long entityId = parseEntityId(match.group(\"entityId\"));\n var ingested = entityId == null ? null : ingestedVersions.get(entityId);\n String page = match.group(\"page\");\n String start = match.group(\"start\");\n String end = match.group(\"end\");\n // A citation is about either a video or a slide, never both: a transcript segment carries a companion page number, but its timestamp is what the citation points\n // at. Deciding by the start time alone is what the client already does when it turns the citation into a link, so pinning follows the very position the click\n // navigates to. An end time without a start time therefore counts as a slide citation, exactly as it is rendered.\n boolean isVideoCitation = !start.isBlank();\n String versionField = isVideoCitation ? formatVersionField(VIDEO_VERSION_TAG, copiedVersion || ingested == null ? null : ingested.videoVersion())\n : page.isBlank() ? \"\" : formatVersionField(ATTACHMENT_VERSION_TAG, copiedVersion || ingested == null ? null : ingested.attachmentVersion());\n if (versionField.isEmpty()) {\n return match.group();\n }\n return \"[cite:L:\" + match.group(\"entityId\") + \":\" + page + \":\" + start + \":\" + end + \":\" + rest + \":\" + versionField + \"]\";\n }\n\n /**\n * Whether the given {@code keyword:summary} part already carries the trailing version field.\n *

\n * Pyris rebuilds fresh citations from retrieval IDs without a version suffix; a suffix in incoming text cannot be trusted.\n *\n * @param rest everything between the end timestamp and the closing bracket\n * @return {@code true} when the last field is a version field\n */\n private static boolean isAlreadyStamped(String rest) {\n var parts = rest.split(\":\", -1);\n if (parts.length < MIN_TRAILING_FIELDS_WHEN_STAMPED) {\n return false;\n }\n return VERSION_FIELD_PATTERN.matcher(parts[parts.length - 1]).matches();\n }\n\n private static String formatVersionField(String tag, @Nullable Integer version) {\n return tag + (version == null || version <= 0 ? 0 : version);\n }\n\n private Set extractEntityIds(String text) {\n return CITATION_PATTERN.matcher(text).results().map(match -> match.group(\"entityId\")).map(IrisCitationService::parseEntityId).filter(Objects::nonNull)\n .collect(Collectors.toCollection(LinkedHashSet::new));\n }\n\n /**\n * Reads a citation's entity ID.\n *

\n * The citation pattern accepts any run of digits, so a model that invents an ID far beyond {@code long} still produces a well-formed citation — one that simply cannot\n * name a lecture unit. Both the lookup and the stamping run over the same matches and must therefore agree on that; letting the exception escape here would abort\n * stamping for the whole answer, and with it the persistence of the assistant message, over one unusable ID among otherwise valid citations.\n *\n * @param entityId the digits captured from the citation\n * @return the ID, or {@code null} when it does not fit in a {@code long}\n */\n private static @Nullable Long parseEntityId(String entityId) {\n try {\n return Long.parseLong(entityId);\n }\n catch (NumberFormatException ex) {\n return null;\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/f83f12cfd57bd63573dd49628e5d347d96d2bb3a.json b/web/public/bundles/artemis/code/f83f12cfd57bd63573dd49628e5d347d96d2bb3a.json new file mode 100644 index 00000000..7c0bfe36 --- /dev/null +++ b/web/public/bundles/artemis/code/f83f12cfd57bd63573dd49628e5d347d96d2bb3a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f83f12cfd57bd63573dd49628e5d347d96d2bb3a", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/core/domain/UserCourseRole.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.core.domain;\n\nimport java.io.Serializable;\nimport java.util.Objects;\n\nimport jakarta.persistence.Column;\nimport jakarta.persistence.Entity;\nimport jakarta.persistence.EnumType;\nimport jakarta.persistence.Enumerated;\nimport jakarta.persistence.Id;\nimport jakarta.persistence.IdClass;\nimport jakarta.persistence.Table;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.course.domain.Course;\n\n@Entity\n@Table(name = \"user_course_role\")\n@IdClass(UserCourseRole.UserCourseRoleId.class)\npublic class UserCourseRole extends UserCourseAssociation {\n\n @Id\n @Enumerated(EnumType.STRING)\n @Column(name = \"course_role\", nullable = false)\n private CourseRole role;\n\n public UserCourseRole() {\n }\n\n public UserCourseRole(User user, Course course, CourseRole role) {\n this.user = user;\n this.course = course;\n this.role = role;\n }\n\n public CourseRole getRole() {\n return role;\n }\n\n @Override\n public boolean equals(Object other) {\n if (this == other) {\n return true;\n }\n if (other == null || getClass() != other.getClass()) {\n return false;\n }\n UserCourseRole that = (UserCourseRole) other;\n return Objects.equals(user != null ? user.getId() : null, that.user != null ? that.user.getId() : null)\n && Objects.equals(course != null ? course.getId() : null, that.course != null ? that.course.getId() : null) && role == that.role;\n }\n\n @Override\n public int hashCode() {\n return Objects.hash(user != null ? user.getId() : null, course != null ? course.getId() : null, role);\n }\n\n public static class UserCourseRoleId implements Serializable {\n\n private Long user;\n\n private Long course;\n\n private CourseRole role;\n\n public UserCourseRoleId() {\n }\n\n public UserCourseRoleId(Long user, Long course, CourseRole role) {\n this.user = user;\n this.course = course;\n this.role = role;\n }\n\n @Override\n public boolean equals(Object other) {\n if (this == other) {\n return true;\n }\n if (other == null || getClass() != other.getClass()) {\n return false;\n }\n UserCourseRoleId that = (UserCourseRoleId) other;\n return Objects.equals(user, that.user) && Objects.equals(course, that.course) && role == that.role;\n }\n\n @Override\n public int hashCode() {\n return Objects.hash(user, course, role);\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/f884b565352d3524273a4ef845b331eccff46d45.json b/web/public/bundles/artemis/code/f884b565352d3524273a4ef845b331eccff46d45.json new file mode 100644 index 00000000..e9c99073 --- /dev/null +++ b/web/public/bundles/artemis/code/f884b565352d3524273a4ef845b331eccff46d45.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f884b565352d3524273a4ef845b331eccff46d45", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/ProgrammingExerciseTestCase.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.programming.domain;\n\nimport static de.tum.cit.aet.artemis.programming.domain.ProgrammingExerciseTestCaseType.DEFAULT;\nimport static org.apache.commons.codec.digest.DigestUtils.sha256Hex;\n\nimport java.util.HashSet;\nimport java.util.Set;\n\nimport jakarta.persistence.Column;\nimport jakarta.persistence.Entity;\nimport jakarta.persistence.EnumType;\nimport jakarta.persistence.Enumerated;\nimport jakarta.persistence.FetchType;\nimport jakarta.persistence.JoinColumn;\nimport jakarta.persistence.JoinTable;\nimport jakarta.persistence.ManyToMany;\nimport jakarta.persistence.ManyToOne;\nimport jakarta.persistence.Table;\n\nimport org.jspecify.annotations.NonNull;\n\nimport com.fasterxml.jackson.annotation.JsonIgnore;\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.assessment.domain.Result;\nimport de.tum.cit.aet.artemis.assessment.domain.Visibility;\nimport de.tum.cit.aet.artemis.core.domain.DomainObject;\nimport de.tum.cit.aet.artemis.core.domain.Parent;\nimport de.tum.cit.aet.artemis.exercise.domain.Exercise;\n\n/**\n * A ProgrammingExerciseTestCase.\n */\n@Entity\n@Table(name = \"programming_exercise_test_case\")\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic class ProgrammingExerciseTestCase extends DomainObject {\n\n private static final int MAX_TEST_NAME_LENGTH = 255;\n\n private static final int MAX_TEST_CLASS_LENGTH = 255;\n\n @Column(name = \"test_name\")\n private String testName;\n\n /**\n * Binary name of the test class that declares this test, as reported by the solution build (e.g. {@code de.tum.Foo$Bar} for a nested class).\n * {@code null} for test cases registered before the class was tracked, or when the build did not report it.\n */\n @Column(name = \"test_class\", length = MAX_TEST_CLASS_LENGTH)\n private String testClass;\n\n @Column(name = \"weight\")\n private Double weight;\n\n @Column(name = \"active\", columnDefinition = \"boolean DEFAULT false\")\n private Boolean active = false;\n\n @Enumerated(EnumType.STRING)\n @Column(name = \"visibility\")\n private Visibility visibility;\n\n @Column(name = \"bonus_multiplier\")\n private Double bonusMultiplier;\n\n @Column(name = \"bonus_points\")\n private Double bonusPoints;\n\n @ManyToMany(fetch = FetchType.LAZY)\n @JoinTable(name = \"programming_exercise_task_test_case\", joinColumns = @JoinColumn(name = \"test_case_id\", referencedColumnName = \"id\"), inverseJoinColumns = @JoinColumn(name = \"task_id\", referencedColumnName = \"id\"))\n @JsonIgnoreProperties({ \"testCases\", \"exercise\" })\n private Set tasks = new HashSet<>();\n\n @ManyToOne(fetch = FetchType.LAZY)\n @JsonIgnoreProperties(\"testCases\")\n @JoinColumn(nullable = false)\n @Parent\n private ProgrammingExercise exercise;\n\n @Enumerated(EnumType.STRING)\n @Column(name = \"test_case_type\", nullable = false)\n private ProgrammingExerciseTestCaseType type = DEFAULT; // default value\n\n public ProgrammingExerciseTestCase id(Long id) {\n setId(id);\n return this;\n }\n\n public String getTestName() {\n return testName;\n }\n\n /**\n * Keeps a CI test name within the database limit without merging distinct names that share a prefix.\n * The digest follows the same codepoint case equivalence as {@link String#equalsIgnoreCase(String)}, so\n * changing only case retains the test case and its grading settings. The readable prefix stays unchanged.\n * A parameter list cut by the length limit is closed after the digest so task and diagram references still parse.\n *\n * @param testName the original name reported by CI or written in a task marker\n * @return the name used to store and look up the test case\n */\n public static String normalizeTestName(String testName) {\n if (testName.length() <= MAX_TEST_NAME_LENGTH) {\n return testName;\n }\n StringBuilder foldedName = new StringBuilder(testName.length());\n testName.codePoints().forEach(codePoint -> foldedName.appendCodePoint(Character.toLowerCase(Character.toUpperCase(codePoint))));\n String suffix = \"-\" + sha256Hex(foldedName.toString());\n int prefixLength = MAX_TEST_NAME_LENGTH - suffix.length();\n int parameterStart = testName.lastIndexOf('(', prefixLength - 1);\n boolean truncatedParameters = parameterStart > testName.lastIndexOf(')', prefixLength - 1);\n if (truncatedParameters) {\n prefixLength--;\n }\n if (Character.isHighSurrogate(testName.charAt(prefixLength - 1)) && Character.isLowSurrogate(testName.charAt(prefixLength))) {\n prefixLength--;\n }\n // Reserving the closing parenthesis can remove an opener exactly at the prefix boundary.\n return testName.substring(0, prefixLength) + suffix + (truncatedParameters && parameterStart < prefixLength ? \")\" : \"\");\n }\n\n @JsonIgnore\n public String getTestClass() {\n return testClass;\n }\n\n public void setTestClass(String testClass) {\n this.testClass = normalizeTestClass(testClass);\n }\n\n /**\n * Brings a reported test class name into the form that is stored: blank, missing or too long names carry no usable information and become {@code null}.\n *\n * @param testClass the class name reported by CI, may be null\n * @return the class name to store, or null\n */\n public static String normalizeTestClass(String testClass) {\n if (testClass == null || testClass.isBlank() || testClass.length() > MAX_TEST_CLASS_LENGTH) {\n return null;\n }\n return testClass;\n }\n\n /**\n * Checks whether this test is declared in the given class or in a class nested inside it. A failing {@code @BeforeAll} of a class keeps the tests of its nested classes from\n * running as well, whereas a failure in a nested class leaves the tests of the outer class alone.\n *\n * @param failedClass the normalized binary name of the class that failed, e.g. {@code de.tum.Foo}\n * @return true if the class of this test is known and equals {@code failedClass} or starts with {@code failedClass$}\n */\n public boolean isDeclaredInOrBelow(String failedClass) {\n return isClassInOrBelow(testClass, failedClass);\n }\n\n /**\n * Checks whether a class is the given class or nested inside it, going by binary names ({@code Outer$Inner}).\n *\n * @param testClass the class to check, may be null\n * @param failedClass the enclosing class, may be null\n * @return true if both are known and {@code testClass} equals {@code failedClass} or starts with {@code failedClass$}\n */\n public static boolean isClassInOrBelow(String testClass, String failedClass) {\n return testClass != null && failedClass != null && (testClass.equals(failedClass) || testClass.startsWith(failedClass + \"$\"));\n }\n\n public ProgrammingExerciseTestCase testName(String testName) {\n this.testName = testName;\n return this;\n }\n\n public void setTestName(String testName) {\n this.testName = testName;\n }\n\n public Double getWeight() {\n return weight;\n }\n\n public ProgrammingExerciseTestCase weight(Double weight) {\n this.weight = weight;\n return this;\n }\n\n public void setWeight(Double weight) {\n this.weight = weight;\n }\n\n @NonNull\n public Double getBonusMultiplier() {\n return bonusMultiplier != null ? bonusMultiplier : 1.0;\n }\n\n public ProgrammingExerciseTestCase bonusMultiplier(Double bonusMultiplier) {\n this.bonusMultiplier = bonusMultiplier;\n return this;\n }\n\n public void setBonusMultiplier(Double bonusMultiplier) {\n this.bonusMultiplier = bonusMultiplier;\n }\n\n @NonNull\n public Double getBonusPoints() {\n return bonusPoints != null ? bonusPoints : 0.0;\n }\n\n public ProgrammingExerciseTestCase bonusPoints(Double bonusPoints) {\n this.bonusPoints = bonusPoints;\n return this;\n }\n\n public void setBonusPoints(Double bonusPoints) {\n this.bonusPoints = bonusPoints;\n }\n\n public Set getTasks() {\n return tasks;\n }\n\n public void setTasks(Set tasks) {\n this.tasks = tasks;\n }\n\n public Boolean isActive() {\n return active;\n }\n\n public ProgrammingExerciseTestCase active(Boolean active) {\n this.active = active;\n return this;\n }\n\n public void setActive(Boolean active) {\n this.active = active;\n }\n\n public Exercise getExercise() {\n return exercise;\n }\n\n public ProgrammingExerciseTestCase exercise(ProgrammingExercise exercise) {\n this.exercise = exercise;\n return this;\n }\n\n public void setExercise(ProgrammingExercise exercise) {\n this.exercise = exercise;\n }\n\n @JsonIgnore\n public boolean isAfterDueDate() {\n return visibility == Visibility.AFTER_DUE_DATE;\n }\n\n @JsonIgnore\n public boolean isInvisible() {\n return visibility == Visibility.NEVER;\n }\n\n public Visibility getVisibility() {\n return visibility;\n }\n\n public void setVisibility(Visibility visibility) {\n this.visibility = visibility;\n }\n\n public ProgrammingExerciseTestCase visibility(Visibility visibility) {\n this.visibility = visibility;\n return this;\n }\n\n public ProgrammingExerciseTestCaseType getType() {\n return type;\n }\n\n public void setType(ProgrammingExerciseTestCaseType programmingExerciseTestCaseType) {\n this.type = programmingExerciseTestCaseType;\n }\n\n /**\n * Needs to be checked and updated if there is a new class attribute. Creates a clone with all attributes set to the value of the object, including the id.\n *\n * @return a clone of the object.\n */\n @Override\n public ProgrammingExerciseTestCase clone() {\n ProgrammingExerciseTestCase clone = new ProgrammingExerciseTestCase().testName(this.getTestName()).weight(this.getWeight()).active(this.isActive())\n .bonusPoints(this.getBonusPoints()).bonusMultiplier(this.getBonusMultiplier()).visibility(visibility).exercise(this.exercise);\n clone.setTestClass(this.testClass);\n clone.setId(this.getId());\n return clone;\n }\n\n /**\n * Checks for logical equality based on the name and the exercise\n *\n * @param testCase another test case which should be checked for being the same\n * @return whether this and the other test case are the same based on name and exercise\n */\n public boolean isSameTestCase(ProgrammingExerciseTestCase testCase) {\n return testCase.getTestName().equalsIgnoreCase(this.getTestName()) && this.getExercise().getId().equals(testCase.getExercise().getId());\n }\n\n @Override\n public String toString() {\n return \"ProgrammingExerciseTestCase{\" + \"id=\" + getId() + \", testName='\" + testName + '\\'' + \", weight=\" + weight + \", active=\" + active + \", visibility=\" + visibility\n + \", bonusMultiplier=\" + bonusMultiplier + \", bonusPoints=\" + bonusPoints + \", type=\" + type + '}';\n }\n\n /**\n * Check if the provided test was found in the result's feedbacks with positive = true.\n *\n * @param result of the build run.\n * @return true if there is a positive feedback for a given test.\n */\n public boolean isSuccessful(Result result) {\n return result.getTestCaseFeedbacks().stream().anyMatch(feedback -> this.equals(feedback.getTestCase()) && Boolean.TRUE.equals(feedback.isPositive()));\n }\n\n /**\n * Check if the provided test was not found in the result's feedbacks.\n *\n * @param result of the build run.\n * @return true if there is no feedback for a given test.\n */\n public boolean wasNotExecuted(Result result) {\n return result.getTestCaseFeedbacks().stream().noneMatch(feedback -> this.equals(feedback.getTestCase()));\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/f8c25b736dfcfc2b295cad9f80234246e6f3ffcf.json b/web/public/bundles/artemis/code/f8c25b736dfcfc2b295cad9f80234246e6f3ffcf.json new file mode 100644 index 00000000..f25093f7 --- /dev/null +++ b/web/public/bundles/artemis/code/f8c25b736dfcfc2b295cad9f80234246e6f3ffcf.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f8c25b736dfcfc2b295cad9f80234246e6f3ffcf", + "language": "typescript", + "path": "src/main/webapp/app/atlas/manage/competency-graph/competency-graph.component.ts", + "schema": "codexray.code/1", + "text": "import { ChangeDetectionStrategy, Component, computed, effect, input, signal } from '@angular/core';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { CompetencyGraphDTO } from 'app/atlas/shared/entities/learning-path.model';\nimport { CompetencyNodeComponent, SizeUpdate } from 'app/atlas/manage/competency-node/competency-node.component';\nimport { DagGraphComponent } from 'app/atlas/shared/dag-graph/dag-graph.component';\nimport { cloneWith } from 'app/foundation/util/deep-clone.util';\n\n@Component({\n selector: 'jhi-competency-graph',\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CompetencyNodeComponent, DagGraphComponent, TranslateDirective],\n templateUrl: './competency-graph.component.html',\n styleUrl: './competency-graph.component.css',\n})\nexport class CompetencyGraphComponent {\n readonly competencyGraph = input.required();\n\n private readonly internalCompetencyGraph = signal({\n nodes: [],\n edges: [],\n });\n readonly nodes = computed(() => this.internalCompetencyGraph().nodes || []);\n readonly edges = computed(() => {\n return this.internalCompetencyGraph().edges?.map((edge) => cloneWith(edge, { id: `edge-${edge.id}` })) || [];\n });\n\n constructor() {\n effect(() => this.internalCompetencyGraph.set(this.competencyGraph()));\n }\n\n setNodeDimension(sizeUpdate: SizeUpdate): void {\n this.internalCompetencyGraph.update(({ nodes, edges }) => {\n return {\n nodes: nodes.map((node) => {\n if (node.id === sizeUpdate.id) {\n node.dimension = sizeUpdate.dimension;\n }\n return node;\n }),\n edges: edges,\n };\n });\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/f91811f88c01615e3274cfa609d167163077edba.json b/web/public/bundles/artemis/code/f91811f88c01615e3274cfa609d167163077edba.json new file mode 100644 index 00000000..f9b7766c --- /dev/null +++ b/web/public/bundles/artemis/code/f91811f88c01615e3274cfa609d167163077edba.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f91811f88c01615e3274cfa609d167163077edba", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/repository/TutorialGroupRegistrationRepository.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.tutorialgroup.repository;\n\nimport java.util.List;\nimport java.util.Optional;\nimport java.util.Set;\n\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.data.domain.Pageable;\nimport org.springframework.data.jpa.repository.Modifying;\nimport org.springframework.data.jpa.repository.Query;\nimport org.springframework.data.repository.query.Param;\nimport org.springframework.stereotype.Repository;\nimport org.springframework.transaction.annotation.Transactional;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.core.repository.base.ArtemisJpaRepository;\nimport de.tum.cit.aet.artemis.course.domain.Course;\nimport de.tum.cit.aet.artemis.tutorialgroup.config.TutorialGroupEnabled;\nimport de.tum.cit.aet.artemis.tutorialgroup.domain.TutorialGroup;\nimport de.tum.cit.aet.artemis.tutorialgroup.domain.TutorialGroupRegistration;\nimport de.tum.cit.aet.artemis.tutorialgroup.domain.TutorialGroupRegistrationType;\nimport de.tum.cit.aet.artemis.tutorialgroup.dto.TutorialGroupStudentDTO;\n\n@Conditional(TutorialGroupEnabled.class)\n@Lazy\n@Repository\npublic interface TutorialGroupRegistrationRepository extends ArtemisJpaRepository {\n\n Optional findTutorialGroupRegistrationByTutorialGroupAndStudentAndType(TutorialGroup tutorialGroup, User student,\n TutorialGroupRegistrationType type);\n\n Set findAllByTutorialGroupAndType(TutorialGroup tutorialGroup, TutorialGroupRegistrationType type);\n\n Set findAllByTutorialGroup(TutorialGroup tutorialGroup);\n\n @Transactional // ok because of delete\n @Modifying\n void deleteAllByStudentIsInAndTypeAndTutorialGroupCourse(Set students, TutorialGroupRegistrationType type, Course course);\n\n /**\n * Deletes all tutorial group registrations for a given course.\n *\n * @param courseId the ID of the course\n */\n @Transactional // ok because of delete\n @Modifying\n void deleteAllByTutorialGroupCourseId(long courseId);\n\n /**\n * Finds all tutorial group registrations for a given course with student and tutorial group information.\n *\n * @param courseId the ID of the course\n * @return set of all registrations in the course\n */\n Set findAllByTutorialGroupCourseId(long courseId);\n\n /**\n * Finds all tutorial group registrations for a given user for GDPR data export.\n *\n * @param userId the ID of the user\n * @return list of all registrations for the user with tutorial group information\n */\n @Query(\"\"\"\n SELECT r\n FROM TutorialGroupRegistration r\n LEFT JOIN FETCH r.tutorialGroup tg\n LEFT JOIN FETCH tg.course\n WHERE r.student.id = :userId\n ORDER BY tg.course.title, tg.title\n \"\"\")\n List findAllByStudentIdWithTutorialGroupAndCourse(@Param(\"userId\") long userId);\n\n @Query(\"\"\"\n SELECT new de.tum.cit.aet.artemis.tutorialgroup.dto.TutorialGroupStudentDTO(\n student.id,\n CONCAT(COALESCE(student.firstName, ''), ' ', COALESCE(student.lastName, '')),\n student.imageUrl,\n student.login,\n student.email,\n student.registrationNumber\n )\n FROM User student\n WHERE EXISTS (SELECT ucr FROM UserCourseRole ucr WHERE ucr.user = student AND ucr.course.id = :courseId AND ucr.role = de.tum.cit.aet.artemis.core.domain.CourseRole.STUDENT)\n AND (LOWER(student.login) LIKE CONCAT('%', LOWER(CAST(:loginOrName AS string)), '%') OR LOWER(CONCAT(student.firstName, ' ', student.lastName)) LIKE CONCAT('%', LOWER(CAST(:loginOrName AS string)), '%'))\n AND NOT EXISTS (\n SELECT 1\n FROM TutorialGroupRegistration registration\n WHERE registration.tutorialGroup.id = :tutorialGroupId AND registration.student.id = student.id\n )\n ORDER BY\n student.login ASC,\n CONCAT(COALESCE(student.firstName, ''), ' ', COALESCE(student.lastName, '')) ASC,\n student.id ASC\n \"\"\")\n List searchUnregisteredStudents(@Param(\"tutorialGroupId\") long tutorialGroupId, @Param(\"courseId\") long courseId,\n @Param(\"loginOrName\") String loginOrName, Pageable pageable);\n}\n" +} diff --git a/web/public/bundles/artemis/code/f962711150c2263a93d128da7e5aba84a4b3fe32.json b/web/public/bundles/artemis/code/f962711150c2263a93d128da7e5aba84a4b3fe32.json new file mode 100644 index 00000000..72677766 --- /dev/null +++ b/web/public/bundles/artemis/code/f962711150c2263a93d128da7e5aba84a4b3fe32.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f962711150c2263a93d128da7e5aba84a4b3fe32", + "language": "typescript", + "path": "src/main/webapp/app/course/manage/onboarding/pages/onboarding-explore.component.ts", + "schema": "codexray.code/1", + "text": "import { Component, inject, input } from '@angular/core';\nimport { Course } from 'app/course/shared/entities/course.model';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { RouterLink } from '@angular/router';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { faArrowRight, faBullseye, faChalkboardTeacher, faCode, faFileAlt, faQuestion, faRocket, faUsers } from '@fortawesome/free-solid-svg-icons';\nimport { ProfileService } from 'app/core/layouts/profiles/shared/profile.service';\nimport { MODULE_FEATURE_ATLAS, MODULE_FEATURE_EXAM, MODULE_FEATURE_LECTURE, MODULE_FEATURE_TUTORIALGROUP } from 'app/app.constants';\n\n@Component({\n selector: 'jhi-onboarding-explore',\n templateUrl: './onboarding-explore.component.html',\n styleUrls: ['./onboarding-pages.css'],\n styles: [\n `\n :host {\n display: block;\n }\n\n .explore-grid {\n display: grid;\n grid-template-columns: repeat(3, 1fr);\n gap: 1.25rem;\n max-width: 920px;\n margin: 0 auto;\n }\n\n .explore-card {\n border: 1px solid var(--border-color);\n border-radius: 0.25rem;\n text-align: center;\n padding: 1.75rem 1.25rem;\n transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);\n position: relative;\n overflow: hidden;\n display: flex;\n flex-direction: column;\n align-items: center;\n text-decoration: none;\n color: inherit;\n cursor: pointer;\n background: var(--overview-card-nested-bg);\n }\n\n .explore-card::before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: 3px;\n background: var(--card-accent, var(--primary));\n opacity: 0;\n transition: opacity 0.25s ease;\n }\n\n .explore-card:hover {\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);\n transform: translateY(-1px);\n border-color: transparent;\n }\n\n .explore-card:hover::before {\n opacity: 1;\n }\n\n .explore-card h5 {\n margin-bottom: 0.5rem;\n font-weight: 600;\n }\n\n .explore-card p {\n color: var(--body-secondary-color);\n font-size: 0.88rem;\n margin-bottom: 1rem;\n line-height: 1.45;\n flex: 1;\n }\n\n .explore-card--exercises {\n --card-accent: #6366f1;\n }\n\n .explore-card--lectures {\n --card-accent: #0ea5e9;\n }\n\n .explore-card--tutorial {\n --card-accent: #8b5cf6;\n }\n\n .explore-card--exams {\n --card-accent: #f59e0b;\n }\n\n .explore-card--competencies {\n --card-accent: #10b981;\n }\n\n .explore-card--faqs {\n --card-accent: #ec4899;\n }\n\n .explore-icon-wrapper {\n width: 56px;\n height: 56px;\n border-radius: 0.25rem;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n margin-bottom: 1rem;\n color: var(--white);\n background: var(--card-accent, var(--primary));\n box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);\n font-size: 1.25rem;\n }\n\n .explore-link {\n font-weight: 600;\n font-size: 0.9rem;\n text-decoration: none;\n display: inline-flex;\n align-items: center;\n gap: 0.35rem;\n color: var(--card-accent, var(--primary));\n transition: gap 0.2s ease;\n }\n\n .explore-link:hover {\n gap: 0.6rem;\n }\n `,\n ],\n imports: [TranslateDirective, RouterLink, FaIconComponent],\n})\nexport class OnboardingExploreComponent {\n private readonly profileService = inject(ProfileService);\n\n readonly course = input.required();\n readonly showOnboardingLink = input(false);\n\n readonly lectureEnabled = this.profileService.isModuleFeatureActive(MODULE_FEATURE_LECTURE);\n readonly atlasEnabled = this.profileService.isModuleFeatureActive(MODULE_FEATURE_ATLAS);\n readonly examEnabled = this.profileService.isModuleFeatureActive(MODULE_FEATURE_EXAM);\n readonly tutorialGroupEnabled = this.profileService.isModuleFeatureActive(MODULE_FEATURE_TUTORIALGROUP);\n\n protected readonly faArrowRight = faArrowRight;\n protected readonly faBullseye = faBullseye;\n protected readonly faChalkboardTeacher = faChalkboardTeacher;\n protected readonly faCode = faCode;\n protected readonly faFileAlt = faFileAlt;\n protected readonly faQuestion = faQuestion;\n protected readonly faRocket = faRocket;\n protected readonly faUsers = faUsers;\n}\n" +} diff --git a/web/public/bundles/artemis/code/f976e771f9fadccec45dd037e70c9f8eb0c7c34f.json b/web/public/bundles/artemis/code/f976e771f9fadccec45dd037e70c9f8eb0c7c34f.json new file mode 100644 index 00000000..23b36808 --- /dev/null +++ b/web/public/bundles/artemis/code/f976e771f9fadccec45dd037e70c9f8eb0c7c34f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f976e771f9fadccec45dd037e70c9f8eb0c7c34f", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/domain/Visibility.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.assessment.domain;\n\nimport de.tum.cit.aet.artemis.programming.domain.ProgrammingExerciseTestCase;\n\n/**\n * Used to define when students are able to see a {@link Feedback}.\n *

\n * Currently, this is only used for Feedbacks linked to a {@link ProgrammingExerciseTestCase}.\n *

\n * Tutors/Instructors/Admins should always see all levels of visibility.\n *

\n * Note: The order is used as part of an {@link jakarta.persistence.EnumType#ORDINAL} mapping in {@link Feedback}.\n * Do NOT change the order of existing values.\n */\npublic enum Visibility {\n /**\n * Students can see it before and after the exercise due date.\n *

\n * ordinal = 0\n */\n ALWAYS,\n /**\n * Students can only see it after the exercise due date has passed.\n *

\n * Tutors/Instructors/Admins of the exercise can still always see it.\n *

\n * ordinal = 1\n */\n AFTER_DUE_DATE,\n /**\n * Students are not able to see it, neither before nor after the due date has passed.\n *

\n * Tutors/Instructors/Admins of the exercise can still always see it.\n *

\n * ordinal = 2\n */\n NEVER,\n}\n" +} diff --git a/web/public/bundles/artemis/code/f9b17e47bdb81e66fd3628bcaecd0c6c3686ef87.json b/web/public/bundles/artemis/code/f9b17e47bdb81e66fd3628bcaecd0c6c3686ef87.json new file mode 100644 index 00000000..04c3228b --- /dev/null +++ b/web/public/bundles/artemis/code/f9b17e47bdb81e66fd3628bcaecd0c6c3686ef87.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f9b17e47bdb81e66fd3628bcaecd0c6c3686ef87", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportTutorialGroupService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.admin.service.export;\n\nimport static de.tum.cit.aet.artemis.admin.service.export.DataExportExerciseCreationService.CSV_FILE_EXTENSION;\nimport static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;\n\nimport java.io.IOException;\nimport java.nio.file.Files;\nimport java.nio.file.Path;\nimport java.util.List;\nimport java.util.Optional;\n\nimport org.apache.commons.csv.CSVFormat;\nimport org.apache.commons.csv.CSVPrinter;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.tutorialgroup.api.TutorialGroupRegistrationApi;\nimport de.tum.cit.aet.artemis.tutorialgroup.domain.TutorialGroupRegistration;\n\n/**\n * Service for creating tutorial group registration data exports for GDPR compliance.\n *

\n * This service exports all tutorial group registrations for a user, showing\n * which tutorial groups the user is enrolled in across all courses.\n */\n@Profile(PROFILE_CORE)\n@Lazy\n@Service\npublic class DataExportTutorialGroupService {\n\n private static final Logger log = LoggerFactory.getLogger(DataExportTutorialGroupService.class);\n\n private final Optional tutorialGroupRegistrationApi;\n\n public DataExportTutorialGroupService(Optional tutorialGroupRegistrationApi) {\n this.tutorialGroupRegistrationApi = tutorialGroupRegistrationApi;\n }\n\n /**\n * Creates the tutorial group registration export containing all tutorial group enrollments.\n * If the tutorial group module is not enabled, this method does nothing.\n *\n * @param userId the ID of the user for which the data should be exported\n * @param workingDirectory the directory where the export file should be created\n * @throws IOException if the file cannot be created\n */\n public void createTutorialGroupExport(long userId, Path workingDirectory) throws IOException {\n if (tutorialGroupRegistrationApi.isEmpty()) {\n log.debug(\"Tutorial group module is not enabled, skipping tutorial group data export for user {}\", userId);\n return;\n }\n\n var registrations = tutorialGroupRegistrationApi.get().findAllByStudentIdForExport(userId);\n createTutorialGroupExportFile(workingDirectory, registrations);\n }\n\n /**\n * Creates a CSV file containing all tutorial group registrations for the user.\n *\n * @param workingDirectory the directory where the export file should be created\n * @param registrations the list of tutorial group registrations to be exported\n * @throws IOException if the file cannot be created\n */\n private void createTutorialGroupExportFile(Path workingDirectory, List registrations) throws IOException {\n if (registrations == null || registrations.isEmpty()) {\n return;\n }\n\n String[] header = { \"course_title\", \"tutorial_group_title\", \"registration_type\" };\n CSVFormat csvFormat = CSVFormat.DEFAULT.builder().setHeader(header).get();\n\n try (final CSVPrinter printer = new CSVPrinter(Files.newBufferedWriter(workingDirectory.resolve(\"tutorial_group_registrations\" + CSV_FILE_EXTENSION)), csvFormat)) {\n for (var registration : registrations) {\n var tutorialGroup = registration.getTutorialGroup();\n String courseTitle = tutorialGroup != null && tutorialGroup.getCourse() != null ? tutorialGroup.getCourse().getTitle() : \"\";\n String tutorialGroupTitle = tutorialGroup != null ? tutorialGroup.getTitle() : \"\";\n printer.printRecord(courseTitle, tutorialGroupTitle, registration.getType());\n }\n }\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/f9fdbb144e1c62dfb9713863911e466ae3fd49bf.json b/web/public/bundles/artemis/code/f9fdbb144e1c62dfb9713863911e466ae3fd49bf.json new file mode 100644 index 00000000..e564ee29 --- /dev/null +++ b/web/public/bundles/artemis/code/f9fdbb144e1c62dfb9713863911e466ae3fd49bf.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f9fdbb144e1c62dfb9713863911e466ae3fd49bf", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/service/FileUploadExerciseService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.fileupload.service;\n\nimport java.util.List;\n\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.data.domain.Page;\nimport org.springframework.data.jpa.domain.Specification;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.account.domain.User;\nimport de.tum.cit.aet.artemis.core.dto.SearchResultPageDTO;\nimport de.tum.cit.aet.artemis.core.dto.pageablesearch.SearchTermPageableSearchDTO;\nimport de.tum.cit.aet.artemis.core.util.PageUtil;\nimport de.tum.cit.aet.artemis.exercise.service.ExerciseSpecificationService;\nimport de.tum.cit.aet.artemis.fileupload.config.FileUploadEnabled;\nimport de.tum.cit.aet.artemis.fileupload.domain.FileUploadExercise;\nimport de.tum.cit.aet.artemis.fileupload.repository.FileUploadExerciseRepository;\n\n@Conditional(FileUploadEnabled.class)\n@Lazy\n@Service\npublic class FileUploadExerciseService {\n\n private final ExerciseSpecificationService exerciseSpecificationService;\n\n private final FileUploadExerciseRepository fileUploadExerciseRepository;\n\n public FileUploadExerciseService(ExerciseSpecificationService exerciseSpecificationService, FileUploadExerciseRepository fileUploadExerciseRepository) {\n this.exerciseSpecificationService = exerciseSpecificationService;\n this.fileUploadExerciseRepository = fileUploadExerciseRepository;\n }\n\n /**\n * Search for all file upload exercises fitting a {@link SearchTermPageableSearchDTO search query}. The result is paged,\n * meaning that there is only a predefined portion of the result returned to the user, so that the server doesn't\n * have to send hundreds/thousands of exercises if there are that many in Artemis.\n *\n * @param search The search query defining the search term and the size of the returned page\n * @param isCourseFilter Whether to search in the courses for exercises\n * @param isExamFilter Whether to search in the groups for exercises\n * @param user The user for whom to fetch all available exercises\n * @return A wrapper object containing a list of all found exercises and the total number of pages\n */\n public SearchResultPageDTO getAllOnPageWithSize(final SearchTermPageableSearchDTO search, final Boolean isCourseFilter, final Boolean isExamFilter,\n final User user) {\n if (!isCourseFilter && !isExamFilter) {\n return new SearchResultPageDTO<>(List.of(), 0);\n }\n final var pageable = PageUtil.createDefaultPageRequest(search, PageUtil.ColumnMapping.EXERCISE);\n final var searchTerm = search.getSearchTerm();\n Specification specification = exerciseSpecificationService.getExerciseSearchSpecification(searchTerm, isCourseFilter, isExamFilter, user, pageable);\n Page exercisePage = fileUploadExerciseRepository.findAll(specification, pageable);\n return new SearchResultPageDTO<>(exercisePage.getContent(), exercisePage.getTotalPages());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/fae4365feed5058d25d5406ae7133262deeb6baa.json b/web/public/bundles/artemis/code/fae4365feed5058d25d5406ae7133262deeb6baa.json new file mode 100644 index 00000000..9717dff5 --- /dev/null +++ b/web/public/bundles/artemis/code/fae4365feed5058d25d5406ae7133262deeb6baa.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "fae4365feed5058d25d5406ae7133262deeb6baa", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/dto/competency/PyrisCompetencyRecommendationDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.iris.service.pyris.dto.competency;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.atlas.domain.competency.CompetencyTaxonomy;\n\n/**\n * DTO for the Iris competency generation feature.\n * A competency recommendation is just a title, description and taxonomy generated by Iris.\n *\n * @param title The title of the competency\n * @param description The description of the competency\n * @param taxonomy The taxonomy of the competency\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record PyrisCompetencyRecommendationDTO(String title, String description, CompetencyTaxonomy taxonomy) {\n}\n" +} diff --git a/web/public/bundles/artemis/code/fc733d6fa2e7b9ca6a69d3688ab87c10f79640f5.json b/web/public/bundles/artemis/code/fc733d6fa2e7b9ca6a69d3688ab87c10f79640f5.json new file mode 100644 index 00000000..f7f1310b --- /dev/null +++ b/web/public/bundles/artemis/code/fc733d6fa2e7b9ca6a69d3688ab87c10f79640f5.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "fc733d6fa2e7b9ca6a69d3688ab87c10f79640f5", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/versioning/ModelingExerciseSnapshotDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exercise.dto.versioning;\n\nimport java.io.Serializable;\n\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.modeling.domain.DiagramType;\nimport de.tum.cit.aet.artemis.modeling.domain.ModelingExercise;\n\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\n@JsonIgnoreProperties(ignoreUnknown = true)\npublic record ModelingExerciseSnapshotDTO(DiagramType diagramType, String exampleSolutionModel, String exampleSolutionExplanation) implements Serializable {\n\n public static ModelingExerciseSnapshotDTO of(ModelingExercise exercise) {\n return new ModelingExerciseSnapshotDTO(exercise.getDiagramType(), exercise.getExampleSolutionModel(), exercise.getExampleSolutionExplanation());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/fcb837536d23ec552cb1ab9ad85f796305927e77.json b/web/public/bundles/artemis/code/fcb837536d23ec552cb1ab9ad85f796305927e77.json new file mode 100644 index 00000000..190a7141 --- /dev/null +++ b/web/public/bundles/artemis/code/fcb837536d23ec552cb1ab9ad85f796305927e77.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "fcb837536d23ec552cb1ab9ad85f796305927e77", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/domain/TutorialGroupFreePeriod.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.tutorialgroup.domain;\n\nimport java.time.ZonedDateTime;\n\nimport jakarta.persistence.Column;\nimport jakarta.persistence.Entity;\nimport jakarta.persistence.JoinColumn;\nimport jakarta.persistence.ManyToOne;\nimport jakarta.persistence.Table;\nimport jakarta.validation.constraints.Size;\n\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.core.domain.DomainObject;\nimport de.tum.cit.aet.artemis.core.domain.Parent;\n\n@Entity\n@Table(name = \"tutorial_group_free_period\")\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic class TutorialGroupFreePeriod extends DomainObject {\n\n @ManyToOne\n @JoinColumn(name = \"tutorial_groups_configuration_id\", nullable = false)\n @JsonIgnoreProperties(value = \"tutorialFreePeriods\", allowSetters = true)\n @Parent\n private TutorialGroupsConfiguration tutorialGroupsConfiguration;\n\n /**\n * NOTE: Stored in UTC in the database\n */\n @Column(name = \"period_start\")\n private ZonedDateTime start;\n\n /**\n * NOTE: Stored in UTC in the database\n */\n @Column(name = \"period_end\")\n private ZonedDateTime end;\n\n @Column(name = \"reason\")\n @Size(min = 1, max = 256)\n private String reason;\n\n public TutorialGroupsConfiguration getTutorialGroupsConfiguration() {\n return tutorialGroupsConfiguration;\n }\n\n public void setTutorialGroupsConfiguration(TutorialGroupsConfiguration tutorialGroupsConfiguration) {\n this.tutorialGroupsConfiguration = tutorialGroupsConfiguration;\n }\n\n public ZonedDateTime getStart() {\n return start;\n }\n\n public void setStart(ZonedDateTime start) {\n this.start = start;\n }\n\n public ZonedDateTime getEnd() {\n return end;\n }\n\n public void setEnd(ZonedDateTime end) {\n this.end = end;\n }\n\n public String getReason() {\n return reason;\n }\n\n public void setReason(String reason) {\n this.reason = reason;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/fcbdd73fd3508e482e8e354e53daa1d2cdf06999.json b/web/public/bundles/artemis/code/fcbdd73fd3508e482e8e354e53daa1d2cdf06999.json new file mode 100644 index 00000000..dd26fb3c --- /dev/null +++ b/web/public/bundles/artemis/code/fcbdd73fd3508e482e8e354e53daa1d2cdf06999.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "fcbdd73fd3508e482e8e354e53daa1d2cdf06999", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/CourseForStudentExamDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.exam.dto;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.course.domain.Course;\n\n/**\n * Minimal projection of a {@link Course}, nested inside {@link ExamForStudentExamDTO} and, via {@link\n * de.tum.cit.aet.artemis.exam.dto.conduction.ExamForConductionDTO}, inside the conduction and summary payloads.\n * Carries the course id, which is all the client's {@code accountService.setAccessRightsForCourse} needs to\n * resolve the current user's course-level authorization flags (isAtLeastTutor/Editor/Instructor) from their\n * course roles, and to link back to the course, plus {@code accuracyOfScores}, which the exam-taking client's\n * score-rounding utilities ({@code roundScorePercentSpecifiedByCourseSettings} et al.) read from {@code exam.course}.\n *

\n * The complaint limits are read by the exam summary's complaint flow during the student review period:\n * {@code complaints-form.component} caps a new complaint at {@code course.maxComplaintTextLimit} (a missing value\n * falls back to 2000 and silently blocks longer complaints on courses configured above that), and\n * {@code complaint-request} / {@code complaint-response} render an existing complaint with both limits as required\n * inputs. {@code athenaFormativeFeedbackEnabled} is read by {@code exam-request-ai-feedback-button.component} to\n * gate the test-exam AI feedback button on the course-level Athena formative feedback setting.\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record CourseForStudentExamDTO(long id, Integer accuracyOfScores, int maxComplaintTextLimit, int maxComplaintResponseTextLimit, boolean athenaFormativeFeedbackEnabled) {\n\n /**\n * Converts a Course into a CourseForStudentExamDTO.\n *\n * @param course the course to convert\n * @return the converted DTO, or null if the course is null\n */\n public static CourseForStudentExamDTO of(Course course) {\n if (course == null) {\n return null;\n }\n return new CourseForStudentExamDTO(course.getId(), course.getAccuracyOfScores(), course.getMaxComplaintTextLimit(), course.getMaxComplaintResponseTextLimit(),\n course.isAthenaFormativeFeedbackEnabled());\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/fdbf37d788b3ef6af622e0c2a685a82fdea5c6f9.json b/web/public/bundles/artemis/code/fdbf37d788b3ef6af622e0c2a685a82fdea5c6f9.json new file mode 100644 index 00000000..9b58495b --- /dev/null +++ b/web/public/bundles/artemis/code/fdbf37d788b3ef6af622e0c2a685a82fdea5c6f9.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "fdbf37d788b3ef6af622e0c2a685a82fdea5c6f9", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/ProcessingStateNotificationService.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.lecture.service;\n\nimport static de.tum.cit.aet.artemis.lecture.web.LectureWebsocketTopics.UNIT_PROCESSING_STATE;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.context.annotation.Conditional;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.stereotype.Service;\n\nimport de.tum.cit.aet.artemis.communication.service.WebsocketMessagingService;\nimport de.tum.cit.aet.artemis.lecture.config.LectureWithIrisEnabled;\nimport de.tum.cit.aet.artemis.lecture.domain.LectureTranscription;\nimport de.tum.cit.aet.artemis.lecture.domain.LectureUnit;\nimport de.tum.cit.aet.artemis.lecture.domain.LectureUnitProcessingState;\nimport de.tum.cit.aet.artemis.lecture.domain.TranscriptionStatus;\nimport de.tum.cit.aet.artemis.lecture.dto.LectureUnitCombinedStatusDTO;\nimport de.tum.cit.aet.artemis.lecture.repository.LectureTranscriptionRepository;\n\n/**\n * Pushes lecture unit processing state changes to the clients watching a lecture.\n *

\n * Separated from the state machine that produces those changes: every write path in\n * {@link ProcessingStateCallbackService} and {@link LectureContentProcessingScheduler} ends by telling the clients what\n * happened, and keeping the transport here means a broker failure surfaces in one place rather than at each of them.\n */\n@Conditional(LectureWithIrisEnabled.class)\n@Service\n@Lazy\npublic class ProcessingStateNotificationService {\n\n private static final Logger log = LoggerFactory.getLogger(ProcessingStateNotificationService.class);\n\n private final WebsocketMessagingService websocketMessagingService;\n\n private final LectureTranscriptionRepository transcriptionRepository;\n\n public ProcessingStateNotificationService(WebsocketMessagingService websocketMessagingService, LectureTranscriptionRepository transcriptionRepository) {\n this.websocketMessagingService = websocketMessagingService;\n this.transcriptionRepository = transcriptionRepository;\n }\n\n /**\n * Push a state change carrying the unit's current transcription status, so the badge never loses it on a\n * transition that does not itself touch the transcription.\n *\n * @param state the processing state to broadcast\n */\n public void notifyWithTranscriptionStatus(LectureUnitProcessingState state) {\n notifyProcessingStateChange(state,\n transcriptionRepository.findByLectureUnit_Id(state.getLectureUnit().getId()).map(LectureTranscription::getTranscriptionStatus).orElse(null));\n }\n\n /**\n * Broadcast a processing state change to all subscribers of the lecture's processing state topic.\n *\n * @param state the updated processing state\n * @param transcriptionStatus the current transcription status (may be {@code null})\n */\n public void notifyProcessingStateChange(LectureUnitProcessingState state, TranscriptionStatus transcriptionStatus) {\n LectureUnit unit = state.getLectureUnit();\n if (unit == null || unit.getLecture() == null) {\n return;\n }\n long lectureId = unit.getLecture().getId();\n var dto = LectureUnitCombinedStatusDTO.of(unit.getId(), state, transcriptionStatus);\n var topic = UNIT_PROCESSING_STATE.at(lectureId);\n websocketMessagingService.sendMessage(topic, dto);\n log.debug(\"Sent processing state WebSocket update for unit {} on topic {}\", unit.getId(), topic);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/fe3b0f35e67dda4362c770e21d1524bfc5b0e7ff.json b/web/public/bundles/artemis/code/fe3b0f35e67dda4362c770e21d1524bfc5b0e7ff.json new file mode 100644 index 00000000..a9079c30 --- /dev/null +++ b/web/public/bundles/artemis/code/fe3b0f35e67dda4362c770e21d1524bfc5b0e7ff.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "fe3b0f35e67dda4362c770e21d1524bfc5b0e7ff", + "language": "typescript", + "path": "src/main/webapp/app/exam/manage/exam-management/exam-management-overview.component.ts", + "schema": "codexray.code/1", + "text": "import { ExamMode } from 'app/exam/shared/entities/exam-mode.model';\nimport { Component, OnDestroy, inject, signal } from '@angular/core';\nimport { Router, RouterLink } from '@angular/router';\nimport { Subject } from 'rxjs';\nimport { Exam } from 'app/exam/shared/entities/exam.model';\nimport { SortService } from 'app/foundation/service/sort.service';\nimport { faFileAlt, faFileImport, faPlus } from '@fortawesome/free-solid-svg-icons';\nimport { ExamImportComponent } from 'app/exam/manage/exams/exam-import/exam-import.component';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { ExamStatusComponent } from '../exam-status/exam-status.component';\nimport { TumAetUiButtonComponent, TumAetUiButtonDirective } from '@tumaet/ui-angular/button';\nimport { TumAetUiDialogComponent } from '@tumaet/ui-angular/dialog';\nimport { TumAetUiEmptyStateComponent } from '@tumaet/ui-angular/empty-state';\nimport { TumAetUiTableDirective, TumAetUiTableSortEvent, TumAetUiTableSortableColumnComponent } from '@tumaet/ui-angular/table-directive';\nimport { TumAetUiTableLayoutComponent } from '@tumaet/ui-angular/table-layout';\nimport { CourseTitleBarActionsDirective } from 'app/course/shared/directives/course-title-bar-actions.directive';\nimport { CourseTitleBarTitleDirective } from 'app/course/shared/directives/course-title-bar-title.directive';\nimport { ExamModeBadgeComponent } from 'app/exam/shared/exam-mode-badge/exam-mode-badge.component';\nimport { ExamManagementComponent } from 'app/exam/manage/exam-management/exam-management.component';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\n\n@Component({\n selector: 'jhi-exam-management-overview',\n templateUrl: './exam-management-overview.component.html',\n imports: [\n ArtemisTranslatePipe,\n TranslateDirective,\n FaIconComponent,\n RouterLink,\n TumAetUiTableDirective,\n TumAetUiTableSortableColumnComponent,\n ExamStatusComponent,\n TumAetUiButtonDirective,\n TumAetUiButtonComponent,\n TumAetUiDialogComponent,\n TumAetUiEmptyStateComponent,\n ExamImportComponent,\n CourseTitleBarActionsDirective,\n CourseTitleBarTitleDirective,\n ExamModeBadgeComponent,\n TumAetUiTableLayoutComponent,\n ],\n})\nexport class ExamManagementOverviewComponent implements OnDestroy {\n private examManagementComponent = inject(ExamManagementComponent);\n private sortService = inject(SortService);\n private router = inject(Router);\n\n protected readonly ExamMode = ExamMode;\n\n readonly course = this.examManagementComponent.course;\n readonly exams = this.examManagementComponent.exams;\n\n readonly predicate = signal('id');\n readonly ascending = signal(true);\n readonly importDialogVisible = signal(false);\n private dialogErrorSource = new Subject();\n dialogError$ = this.dialogErrorSource.asObservable();\n\n // Icons\n faPlus = faPlus;\n faFileImport = faFileImport;\n faFileAlt = faFileAlt;\n\n /**\n * unsubscribe on component destruction\n */\n ngOnDestroy() {\n this.dialogErrorSource.unsubscribe();\n }\n\n /**\n * Track the items on the Exams Table\n * @param _index the index in the table\n * @param exam the exam object to track\n */\n trackId(_index: number, exam: Exam): number | undefined {\n return exam.id;\n }\n\n onSortChange(event: TumAetUiTableSortEvent): void {\n this.predicate.set(event.field);\n this.ascending.set(event.order > 0);\n this.sortRows();\n }\n\n sortRows() {\n // sortByProperty sorts in place; re-set a new array reference so the signal notifies and the (zoneless) view re-renders.\n this.exams.set([...this.sortService.sortByProperty(this.exams(), this.predicate(), this.ascending())]);\n }\n\n /**\n * Opens the import dialog for an exam import\n */\n openImportModal() {\n this.importDialogVisible.set(true);\n }\n\n /**\n * Closes the import dialog and continues with the import of the exam the user chose\n * @param exam the exam chosen for the import\n */\n onExamSelected(exam: Exam) {\n this.importDialogVisible.set(false);\n void this.router.navigate(['/course-management', this.course().id, 'exams', 'import', exam.id]);\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/fecbf9d8e41e497ef1f80e1a9cb18eaa5e9f7906.json b/web/public/bundles/artemis/code/fecbf9d8e41e497ef1f80e1a9cb18eaa5e9f7906.json new file mode 100644 index 00000000..820b42c9 --- /dev/null +++ b/web/public/bundles/artemis/code/fecbf9d8e41e497ef1f80e1a9cb18eaa5e9f7906.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "fecbf9d8e41e497ef1f80e1a9cb18eaa5e9f7906", + "language": "typescript", + "path": "src/main/webapp/app/plagiarism/manage/plagiarism-run-details/plagiarism-and-tutor-effort.directive.ts", + "schema": "codexray.code/1", + "text": "import { Directive, signal } from '@angular/core';\nimport { yAxisTickFormatting } from 'app/exercise/statistics-graph/util/statistics-graph.utils';\nimport { ChartSeriesEntry } from 'app/shared-ui/chart/chart-data.model';\n\n@Directive()\nexport abstract class PlagiarismAndTutorEffortDirective {\n chartLabels!: string[]; // set by each concrete subclass (in its constructor or ngOnInit) before the chart is rendered\n /**\n * The similarity/effort distribution that is visualized in a bar chart; one entry per bar.\n */\n readonly chartEntries = signal([]);\n /**\n * The raw per-bar colors (CSS variable references, see {@code GraphColors}).\n * Subclasses resolve them to concrete colors via {@code ChartColorService.resolvedColors}.\n */\n readonly chartColors = signal([]);\n /** Formats the value axis ticks so that only integer values are displayed. */\n readonly yAxisTickFormatting = (tick: number | string) => yAxisTickFormatting(String(tick));\n}\n" +} diff --git a/web/public/bundles/artemis/code/ff17c026e08b869b1fa2dba8eac080692c465283.json b/web/public/bundles/artemis/code/ff17c026e08b869b1fa2dba8eac080692c465283.json new file mode 100644 index 00000000..4c60578e --- /dev/null +++ b/web/public/bundles/artemis/code/ff17c026e08b869b1fa2dba8eac080692c465283.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "ff17c026e08b869b1fa2dba8eac080692c465283", + "language": "typescript", + "path": "src/main/webapp/app/lecture/manage/lecture-units/online-unit-form/online-unit-form.component.ts", + "schema": "codexray.code/1", + "text": "import { LectureUnitReleaseDateFormDirective } from '../lecture-unit-release-date-form.directive';\nimport dayjs from 'dayjs/esm';\nimport { Component, computed, effect, inject, input, output } from '@angular/core';\nimport { AbstractControl, FormBuilder, FormGroup, FormsModule, ReactiveFormsModule, Validators } from '@angular/forms';\nimport { faTimes } from '@fortawesome/free-solid-svg-icons';\nimport { OnlineUnitApi } from 'app/openapi/api/online-unit-api';\nimport { CompetencyLectureUnitLink } from 'app/atlas/shared/entities/competency.model';\nimport { takeUntilDestroyed, toSignal } from '@angular/core/rxjs-interop';\nimport { UnitFormChange } from 'app/lecture/manage/lecture-units/unit-form-change.model';\nimport { TumAetUiButtonDirective } from '@tumaet/ui-angular/button';\nimport { TumAetUiDatePickerComponent } from '@tumaet/ui-angular/date-picker';\nimport { TumAetUiFormFieldComponent } from '@tumaet/ui-angular/form-field';\nimport { TumAetUiInputDirective } from '@tumaet/ui-angular/input';\nimport { TranslateDirective } from 'app/foundation/language/translate.directive';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { ArtemisTranslatePipe } from 'app/foundation/pipes/artemis-translate.pipe';\nimport { CompetencySelectionComponent } from 'app/atlas/shared/competency-selection/competency-selection.component';\nimport { deepClone } from 'app/foundation/util/deep-clone.util';\n\nexport interface OnlineUnitFormData {\n name?: string;\n description?: string;\n releaseDate?: dayjs.Dayjs;\n source?: string;\n competencyLinks?: CompetencyLectureUnitLink[];\n}\n\nfunction urlValidator(control: AbstractControl) {\n let validUrl = true;\n\n try {\n new URL(control.value);\n } catch {\n validUrl = false;\n }\n\n return validUrl ? null : { invalidUrl: true };\n}\n\n@Component({\n selector: 'jhi-online-unit-form',\n templateUrl: './online-unit-form.component.html',\n imports: [\n FormsModule,\n ReactiveFormsModule,\n TranslateDirective,\n TumAetUiButtonDirective,\n TumAetUiDatePickerComponent,\n TumAetUiFormFieldComponent,\n TumAetUiInputDirective,\n CompetencySelectionComponent,\n FaIconComponent,\n ArtemisTranslatePipe,\n ],\n})\nexport class OnlineUnitFormComponent extends LectureUnitReleaseDateFormDirective {\n private readonly formBuilder = inject(FormBuilder);\n private readonly onlineUnitApi = inject(OnlineUnitApi);\n\n protected readonly faTimes = faTimes;\n\n formData = input();\n isEditMode = input(false);\n /** The course of the lecture the unit belongs to, needed by the server to authorize fetching the metadata of the link. */\n readonly courseId = input.required();\n\n formSubmitted = output();\n\n hasCancelButton = input(false);\n onCancel = output();\n\n /** Reports every change instead of offering Submit, for an item that is edited in place and saved automatically. */\n readonly autosave = input(false);\n readonly formChanged = output>();\n /** Set while the form takes over the data of the item, which is not a change of the user. */\n private applyingFormData = false;\n\n /** The release date picker keeps its last valid date while the typed text is not a date yet, so that text is tracked separately. */\n\n urlValidator = urlValidator;\n\n form: FormGroup = this.formBuilder.group({\n name: [undefined, [Validators.required, Validators.maxLength(255)]],\n description: [undefined, [Validators.maxLength(1000)]],\n releaseDate: [undefined],\n source: [undefined, [Validators.required, this.urlValidator]],\n competencyLinks: [undefined as CompetencyLectureUnitLink[] | undefined],\n });\n\n private readonly statusChanges = toSignal(this.form.statusChanges ?? 'INVALID');\n isFormValid = computed(() => this.statusChanges() === 'VALID' && this.isReleaseDateTextValid());\n\n // Tracks the formData reference already applied to the form so the patching effect stays idempotent.\n private appliedFormData?: OnlineUnitFormData;\n\n constructor() {\n super();\n // Patch the form with the provided data in edit mode (replaces ngOnChanges).\n // Patch ONCE per distinct formData value: form.patchValue() synchronously emits statusChanges,\n // which is mirrored into the `statusChanges` signal via toSignal(...). Under zoneless that signal\n // write reschedules the reactive flush, which re-runs this effect, which patches again — an\n // infinite change-detection loop that leaves the edit form stuck behind the loading spinner.\n // Guarding on the formData reference breaks the cycle and avoids clobbering in-progress edits.\n effect(() => {\n const data = this.formData();\n if (this.isEditMode() && data && data !== this.appliedFormData) {\n this.appliedFormData = data;\n this.setFormValues(data);\n }\n });\n\n for (const typedField of ['name', 'description', 'source']) {\n this.form\n .get(typedField)!\n .valueChanges.pipe(takeUntilDestroyed())\n .subscribe(() => this.reportChange(false));\n }\n this.form\n .get('competencyLinks')!\n .valueChanges.pipe(takeUntilDestroyed())\n .subscribe(() => this.reportChange(true));\n }\n\n get nameControl() {\n return this.form.get('name');\n }\n\n get descriptionControl() {\n return this.form.get('description');\n }\n\n protected override reportChange(immediate: boolean): void {\n if (!this.autosave() || this.applyingFormData) {\n return;\n }\n // A control reports its change before the form takes it over, so the form's own value and validity lag one change behind here.\n const valid = Object.values(this.form.controls).every((control) => !control.invalid) && this.isReleaseDateTextValid();\n this.formChanged.emit({ data: deepClone(this.form.getRawValue()), immediate, valid });\n }\n\n get sourceControl() {\n return this.form.get('source');\n }\n\n private setFormValues(formData: OnlineUnitFormData) {\n this.applyingFormData = true;\n this.form.patchValue(formData);\n this.applyingFormData = false;\n }\n\n /**\n * When the link is changed, fetch the website's metadata and update the form\n */\n onLinkChanged(): void {\n const value = this.sourceControl?.value;\n\n // If the link does not start with any HTTP protocol then add it\n const regex = /https?:\\/\\//;\n if (value && !value.match(regex)) {\n this.sourceControl?.setValue('https://' + value);\n }\n\n if (this.sourceControl?.valid) {\n this.onlineUnitApi.getOnlineResource(this.sourceControl.value, this.courseId()).subscribe({\n next: (onlineResource) => {\n // An item that saves itself keeps the name and description it has, so only empty fields are filled in.\n const keepCurrent = this.autosave();\n const updateForm = {\n name: (keepCurrent && this.nameControl?.value) || onlineResource.title || undefined,\n description: (keepCurrent && this.descriptionControl?.value) || onlineResource.description || undefined,\n };\n this.form.patchValue(updateForm);\n },\n });\n }\n }\n\n submitForm() {\n const onlineUnitFormData: OnlineUnitFormData = deepClone(this.form.value);\n this.formSubmitted.emit(onlineUnitFormData);\n }\n\n cancelForm() {\n this.onCancel.emit();\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/ff8ca45ecdc7081640d67f6bcf0bea0b2f1c1138.json b/web/public/bundles/artemis/code/ff8ca45ecdc7081640d67f6bcf0bea0b2f1c1138.json new file mode 100644 index 00000000..86915a41 --- /dev/null +++ b/web/public/bundles/artemis/code/ff8ca45ecdc7081640d67f6bcf0bea0b2f1c1138.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "ff8ca45ecdc7081640d67f6bcf0bea0b2f1c1138", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadComplaintResponseInputDTO.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.fileupload.dto;\n\nimport static de.tum.cit.aet.artemis.core.config.Constants.COMPLAINT_RESPONSE_TEXT_LIMIT;\n\nimport jakarta.validation.constraints.NotNull;\nimport jakarta.validation.constraints.Size;\n\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.assessment.domain.Complaint;\nimport de.tum.cit.aet.artemis.assessment.domain.ComplaintResponse;\n\n/**\n * DTO for resolving a complaint while updating a file upload assessment.\n *\n * @param id the ID of the existing complaint response lock\n * @param responseText the response text written by the reviewer\n * @param complaintIsAccepted whether the complaint is accepted\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic record FileUploadComplaintResponseInputDTO(@NotNull Long id, @Nullable @Size(max = COMPLAINT_RESPONSE_TEXT_LIMIT) String responseText,\n @NotNull Boolean complaintIsAccepted) {\n\n /**\n * Creates the minimal detached complaint response state required by the existing assessment service.\n *\n * @return the detached complaint response entity\n */\n public ComplaintResponse toEntity() {\n Complaint complaint = new Complaint().accepted(complaintIsAccepted);\n ComplaintResponse complaintResponse = new ComplaintResponse().responseText(responseText).complaint(complaint);\n complaintResponse.setId(id);\n return complaintResponse;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/code/ffe792ccf769a5e8d86d16ee60602c0be914be3a.json b/web/public/bundles/artemis/code/ffe792ccf769a5e8d86d16ee60602c0be914be3a.json new file mode 100644 index 00000000..23c41e5b --- /dev/null +++ b/web/public/bundles/artemis/code/ffe792ccf769a5e8d86d16ee60602c0be914be3a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "ffe792ccf769a5e8d86d16ee60602c0be914be3a", + "language": "java", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/domain/LLMTokenUsageTrace.java", + "schema": "codexray.code/1", + "text": "package de.tum.cit.aet.artemis.admin.domain;\n\nimport java.time.ZonedDateTime;\nimport java.util.HashSet;\nimport java.util.Set;\n\nimport jakarta.persistence.CascadeType;\nimport jakarta.persistence.Column;\nimport jakarta.persistence.Entity;\nimport jakarta.persistence.EnumType;\nimport jakarta.persistence.Enumerated;\nimport jakarta.persistence.FetchType;\nimport jakarta.persistence.OneToMany;\nimport jakarta.persistence.Table;\n\nimport org.jspecify.annotations.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport de.tum.cit.aet.artemis.core.domain.AggregateRoot;\nimport de.tum.cit.aet.artemis.core.domain.DomainObject;\n\n/**\n * This represents a trace that contains one or more requests of type {@link LLMTokenUsageRequest}\n */\n@Entity\n@Table(name = \"llm_token_usage_trace\")\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\n@AggregateRoot(\"Usage record; every id column is a nullable reference.\")\npublic class LLMTokenUsageTrace extends DomainObject {\n\n @Column(name = \"service\")\n @Enumerated(EnumType.STRING)\n private LLMServiceType serviceType;\n\n @Nullable\n @Column(name = \"course_id\")\n private Long courseId;\n\n @Nullable\n @Column(name = \"exercise_id\")\n private Long exerciseId;\n\n @Column(name = \"user_id\")\n private Long userId;\n\n @Column(name = \"time\")\n private ZonedDateTime time = ZonedDateTime.now();\n\n @Nullable\n @Column(name = \"iris_message_id\")\n private Long irisMessageId;\n\n @OneToMany(mappedBy = \"trace\", fetch = FetchType.LAZY, cascade = CascadeType.ALL, orphanRemoval = true)\n private Set llmRequests = new HashSet<>();\n\n public LLMServiceType getServiceType() {\n return serviceType;\n }\n\n public void setServiceType(LLMServiceType serviceType) {\n this.serviceType = serviceType;\n }\n\n public Long getCourseId() {\n return courseId;\n }\n\n public void setCourseId(Long courseId) {\n this.courseId = courseId;\n }\n\n public Long getExerciseId() {\n return exerciseId;\n }\n\n public void setExerciseId(Long exerciseId) {\n this.exerciseId = exerciseId;\n }\n\n public Long getUserId() {\n return userId;\n }\n\n public void setUserId(Long userId) {\n this.userId = userId;\n }\n\n public ZonedDateTime getTime() {\n return time;\n }\n\n public void setTime(ZonedDateTime time) {\n this.time = time;\n }\n\n public Set getLLMRequests() {\n return llmRequests;\n }\n\n public void setLlmRequests(Set llmRequests) {\n this.llmRequests = llmRequests;\n }\n\n public Long getIrisMessageId() {\n return irisMessageId;\n }\n\n public void setIrisMessageId(Long messageId) {\n this.irisMessageId = messageId;\n }\n}\n" +} diff --git a/web/public/bundles/artemis/findings.json b/web/public/bundles/artemis/findings.json index d3c51aa9..5cfeb66f 100644 --- a/web/public/bundles/artemis/findings.json +++ b/web/public/bundles/artemis/findings.json @@ -746,7 +746,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -1541,7 +1541,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -2334,7 +2334,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -2564,7 +2564,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -2779,7 +2779,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -2979,7 +2979,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -3179,7 +3179,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -3394,7 +3394,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -3610,7 +3610,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -3790,7 +3790,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -4591,7 +4591,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -5399,7 +5399,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -6187,7 +6187,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -6967,7 +6967,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -7754,7 +7754,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -8542,7 +8542,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -9322,7 +9322,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -9537,7 +9537,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -10325,7 +10325,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -11122,7 +11122,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -11921,7 +11921,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -12134,7 +12134,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -12337,7 +12337,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -13130,7 +13130,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -13306,7 +13306,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -14095,7 +14095,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -14887,7 +14887,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -15683,7 +15683,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -16477,7 +16477,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -17264,7 +17264,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -17463,7 +17463,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -17641,7 +17641,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -17844,7 +17844,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -18059,7 +18059,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -18262,7 +18262,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -18440,7 +18440,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -18622,7 +18622,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -18858,7 +18858,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -19075,7 +19075,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -19278,7 +19278,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -19507,7 +19507,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -19743,7 +19743,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -20526,7 +20526,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -21313,7 +21313,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -21945,7 +21945,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -22123,7 +22123,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -22340,7 +22340,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -22559,7 +22559,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -23345,7 +23345,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -23642,7 +23642,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -23842,7 +23842,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -24061,7 +24061,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -24278,7 +24278,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -24480,7 +24480,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -25060,7 +25060,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -25459,7 +25459,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -25658,7 +25658,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -25860,7 +25860,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -26062,7 +26062,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -26264,7 +26264,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -26500,7 +26500,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -26703,7 +26703,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -26902,7 +26902,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -27674,7 +27674,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -28275,7 +28275,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -28910,7 +28910,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -29142,7 +29142,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -29358,7 +29358,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -29560,7 +29560,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -29780,7 +29780,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -29983,7 +29983,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -30610,7 +30610,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -31259,7 +31259,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -31471,7 +31471,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -31707,7 +31707,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -31909,7 +31909,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -32124,7 +32124,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -32341,7 +32341,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -32544,7 +32544,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -32997,7 +32997,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -33175,7 +33175,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -33372,7 +33372,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -33608,7 +33608,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -34308,7 +34308,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -34486,7 +34486,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -34705,7 +34705,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -34908,7 +34908,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -35409,7 +35409,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -35621,7 +35621,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -35823,7 +35823,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -36040,7 +36040,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -36262,7 +36262,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -36816,7 +36816,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -37045,7 +37045,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -37247,7 +37247,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -37466,7 +37466,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -37668,7 +37668,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -37870,7 +37870,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -38400,7 +38400,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -38926,7 +38926,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -39441,7 +39441,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -39637,7 +39637,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -39856,7 +39856,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -40056,7 +40056,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -40259,7 +40259,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -40788,7 +40788,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -41218,7 +41218,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -41655,7 +41655,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -42256,7 +42256,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -42453,7 +42453,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -42656,7 +42656,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -42855,7 +42855,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -43031,7 +43031,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -43367,7 +43367,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -43586,7 +43586,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -43805,7 +43805,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -44019,7 +44019,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -44222,7 +44222,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -44440,7 +44440,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -44650,7 +44650,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -44872,7 +44872,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -45347,7 +45347,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -45562,7 +45562,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -45778,7 +45778,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -45994,7 +45994,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -46454,7 +46454,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -46683,7 +46683,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -47018,7 +47018,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -47474,7 +47474,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -47676,7 +47676,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -47895,7 +47895,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -48110,7 +48110,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -48324,7 +48324,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -48529,7 +48529,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -48747,7 +48747,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -49175,7 +49175,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -49583,7 +49583,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -50018,7 +50018,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -50196,7 +50196,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -51211,7 +51211,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -51837,7 +51837,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -52605,7 +52605,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -52827,7 +52827,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -53249,7 +53249,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -53463,7 +53463,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -53668,7 +53668,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -53867,7 +53867,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -54085,7 +54085,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -54480,7 +54480,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -54743,7 +54743,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -54945,7 +54945,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -55147,7 +55147,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -55361,7 +55361,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -55583,7 +55583,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -55801,7 +55801,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -56019,7 +56019,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -56477,7 +56477,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -56884,7 +56884,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -57528,7 +57528,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -57730,7 +57730,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -57932,7 +57932,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -58135,7 +58135,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -58542,7 +58542,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -58788,7 +58788,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -58985,7 +58985,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -59201,7 +59201,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -59403,7 +59403,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -59617,7 +59617,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -59850,7 +59850,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -60081,7 +60081,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -60283,7 +60283,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -60485,7 +60485,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -60699,7 +60699,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -60921,7 +60921,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -61139,7 +61139,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -61375,7 +61375,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -61557,7 +61557,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -61759,7 +61759,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -61961,7 +61961,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -62183,7 +62183,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -62401,7 +62401,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -62781,7 +62781,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -63193,7 +63193,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -63392,7 +63392,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -63654,7 +63654,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -63856,7 +63856,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -64059,7 +64059,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -64258,7 +64258,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -64656,7 +64656,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -64834,7 +64834,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -65016,7 +65016,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -65230,7 +65230,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -65452,7 +65452,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -65736,7 +65736,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -65950,7 +65950,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -66327,7 +66327,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -66520,7 +66520,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -66722,7 +66722,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -66938,7 +66938,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -67160,7 +67160,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -67378,7 +67378,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -67573,7 +67573,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -67775,7 +67775,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -67997,7 +67997,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -68175,7 +68175,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -68357,7 +68357,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -68549,7 +68549,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -68771,7 +68771,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -68961,7 +68961,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -69183,7 +69183,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -69376,7 +69376,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -69579,7 +69579,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -69797,7 +69797,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -69996,7 +69996,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -70214,7 +70214,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -70432,7 +70432,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -70631,7 +70631,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -70849,7 +70849,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, @@ -71048,7 +71048,7 @@ }, "run": { "end_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "snapshot_date": "2026-11-27", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157" }, diff --git a/web/public/bundles/artemis/index.json b/web/public/bundles/artemis/index.json index 935fbe2d..9524214f 100644 --- a/web/public/bundles/artemis/index.json +++ b/web/public/bundles/artemis/index.json @@ -9,7 +9,7 @@ "report": "report.json" }, "host_url": "https://github.com/ls1intum/Artemis", - "params_hash": "8ad46cab21dc8d4d00a2b53c4cf2345bf198298f39d59df87ebf9b617f97defc", + "params_hash": "78516ac3e5d47bdf91baa165442d2ef0795652b11909084928d0d8407f4ace94", "repo": "ls1intum/Artemis", "repo_id": "artemis", "schema": "codexray.bundle/1", diff --git a/web/public/bundles/artemis/map.json b/web/public/bundles/artemis/map.json index 83723b5a..4a1214f1 100644 --- a/web/public/bundles/artemis/map.json +++ b/web/public/bundles/artemis/map.json @@ -431,6 +431,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 37 + }, + { + "blob_sha": "1f1169fd97add4cd5e1ddde4696e35530f6eecdb", + "commits": [], + "end_line": 38, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/ArtemisApp.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 38 + }, + { + "blob_sha": "1f1169fd97add4cd5e1ddde4696e35530f6eecdb", + "commits": [], + "end_line": 3, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/ArtemisApp.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "1f1169fd97add4cd5e1ddde4696e35530f6eecdb", + "commits": [], + "end_line": 39, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/ArtemisApp.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 39 + }, + { + "blob_sha": "1f1169fd97add4cd5e1ddde4696e35530f6eecdb", + "commits": [], + "end_line": 40, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/ArtemisApp.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 40 + }, + { + "blob_sha": "1f1169fd97add4cd5e1ddde4696e35530f6eecdb", + "commits": [], + "end_line": 4, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/ArtemisApp.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "1f1169fd97add4cd5e1ddde4696e35530f6eecdb", + "commits": [], + "end_line": 5, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/ArtemisApp.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "1f1169fd97add4cd5e1ddde4696e35530f6eecdb", + "commits": [], + "end_line": 6, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/ArtemisApp.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/(root)" @@ -477,6 +561,30 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 24 + }, + { + "blob_sha": "56691a6f9f94e73962f7f979d0497f9d5a14337c", + "commits": [], + "end_line": 31, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/account/security/passkey/ArtemisWebAuthnConfigurer.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 31 + }, + { + "blob_sha": "5a7badc4351032672f1ae23f873a406fef8fe638", + "commits": [], + "end_line": 26, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/account/service/user/deletion/PermanentUserDeletionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/account" @@ -545,6 +653,30 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 14 + }, + { + "blob_sha": "3bdc1c1590676579d3c72c41aafe48a6c9886b7e", + "commits": [], + "end_line": 54, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/account/service/user/UserService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 54 + }, + { + "blob_sha": "3bdc1c1590676579d3c72c41aafe48a6c9886b7e", + "commits": [], + "end_line": 55, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/account/service/user/UserService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 55 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/account" @@ -591,6 +723,30 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 16 + }, + { + "blob_sha": "3bdc1c1590676579d3c72c41aafe48a6c9886b7e", + "commits": [], + "end_line": 56, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/account/service/user/UserService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 56 + }, + { + "blob_sha": "3bdc1c1590676579d3c72c41aafe48a6c9886b7e", + "commits": [], + "end_line": 57, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/account/service/user/UserService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 57 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/account" @@ -637,6 +793,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 3 + }, + { + "blob_sha": "c33ae709194ffce29119ce3729fd650441765b7e", + "commits": [], + "end_line": 7, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/account/config/AgentAccessEnabled.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "ae1fb82ac9eb681bf887d268a5a6ea26ee8e7d71", + "commits": [], + "end_line": 7, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/account/config/LdapEnabled.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "28fa653c24ee16bb936c7ed7958114b9ad927b81", + "commits": [], + "end_line": 7, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/account/config/OIDCEnabled.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "d7a5ec66687778b955ca3126152fe0fea5fe5067", + "commits": [], + "end_line": 7, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/account/config/PasskeyEnabled.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "bd190ac109badb18b0a51332d3589709de2090b2", + "commits": [], + "end_line": 15, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/account/config/SAML2Properties.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "b63b129357a5d6e530dfdbacff8e9567b0e8e4f0", + "commits": [], + "end_line": 7, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/account/config/Saml2Enabled.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "5cec781ad97e57b02fd2efe4f33d0e5801bc760e", + "commits": [], + "end_line": 16, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/account/domain/Authority.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/account" @@ -683,6 +923,54 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 61 + }, + { + "blob_sha": "b6bd338a1a4bc700e3428ddb88f510860887207b", + "commits": [], + "end_line": 12, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/account/service/ConductAgreementService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "e31380d69e644d930bab7a19b3190deb089196eb", + "commits": [], + "end_line": 32, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/account/service/OrganizationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 32 + }, + { + "blob_sha": "e31380d69e644d930bab7a19b3190deb089196eb", + "commits": [], + "end_line": 33, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/account/service/OrganizationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 33 + }, + { + "blob_sha": "3bdc1c1590676579d3c72c41aafe48a6c9886b7e", + "commits": [], + "end_line": 75, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/account/service/user/UserService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 75 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/account" @@ -751,6 +1039,18 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 17 + }, + { + "blob_sha": "edfdc2b017c429ed482d5769c69af4a8c6f241a1", + "commits": [], + "end_line": 25, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/account/service/user/deletion/UserOwnedContentDeletionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/account" @@ -853,6 +1153,54 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 17 + }, + { + "blob_sha": "8809aff9f73a5f39e45e4114a83dd7e1846a02c3", + "commits": [], + "end_line": 18, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/account/service/AccountCredentialRevocationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "95efcd7c62da10e69502d46d75837c0a3222c899", + "commits": [], + "end_line": 29, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/account/service/AccountService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "3bdc1c1590676579d3c72c41aafe48a6c9886b7e", + "commits": [], + "end_line": 76, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/account/service/user/UserService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 76 + }, + { + "blob_sha": "f6ef75186bf9a276c9fb67d4f4767d1753752cf1", + "commits": [], + "end_line": 53, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/account/web/AccountResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 53 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/account" @@ -921,6 +1269,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 41 + }, + { + "blob_sha": "bc2b3baa24d58174b943009621bcb3eaf3617580", + "commits": [], + "end_line": 42, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/account/security/passkey/ArtemisPasskeyWebAuthnConfigurer.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 42 + }, + { + "blob_sha": "56691a6f9f94e73962f7f979d0497f9d5a14337c", + "commits": [], + "end_line": 34, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/account/security/passkey/ArtemisWebAuthnConfigurer.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 34 + }, + { + "blob_sha": "56691a6f9f94e73962f7f979d0497f9d5a14337c", + "commits": [], + "end_line": 35, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/account/security/passkey/ArtemisWebAuthnConfigurer.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 35 + }, + { + "blob_sha": "95304c81d11601aae58ac2289cae78b9f6bce2f3", + "commits": [], + "end_line": 23, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/account/security/passkey/ArtemisWebAuthnRegistrationFilter.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "95304c81d11601aae58ac2289cae78b9f6bce2f3", + "commits": [], + "end_line": 24, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/account/security/passkey/ArtemisWebAuthnRegistrationFilter.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "95304c81d11601aae58ac2289cae78b9f6bce2f3", + "commits": [], + "end_line": 25, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/account/security/passkey/ArtemisWebAuthnRegistrationFilter.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "95304c81d11601aae58ac2289cae78b9f6bce2f3", + "commits": [], + "end_line": 26, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/account/security/passkey/ArtemisWebAuthnRegistrationFilter.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/account" @@ -1045,6 +1477,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 23 + }, + { + "blob_sha": "6d3d7b6baa268f26d3635e361ca34ad77397746b", + "commits": [], + "end_line": 20, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/DataCleanupService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "6d3d7b6baa268f26d3635e361ca34ad77397746b", + "commits": [], + "end_line": 21, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/DataCleanupService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "6d3d7b6baa268f26d3635e361ca34ad77397746b", + "commits": [], + "end_line": 22, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/DataCleanupService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "6d3d7b6baa268f26d3635e361ca34ad77397746b", + "commits": [], + "end_line": 23, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/DataCleanupService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "6d3d7b6baa268f26d3635e361ca34ad77397746b", + "commits": [], + "end_line": 24, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/DataCleanupService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "6d3d7b6baa268f26d3635e361ca34ad77397746b", + "commits": [], + "end_line": 25, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/DataCleanupService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "6d3d7b6baa268f26d3635e361ca34ad77397746b", + "commits": [], + "end_line": 26, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/DataCleanupService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/admin" @@ -1125,6 +1641,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 45 + }, + { + "blob_sha": "6d3d7b6baa268f26d3635e361ca34ad77397746b", + "commits": [], + "end_line": 46, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/DataCleanupService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 46 + }, + { + "blob_sha": "6d3d7b6baa268f26d3635e361ca34ad77397746b", + "commits": [], + "end_line": 47, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/DataCleanupService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 47 + }, + { + "blob_sha": "6d3d7b6baa268f26d3635e361ca34ad77397746b", + "commits": [], + "end_line": 48, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/DataCleanupService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 48 + }, + { + "blob_sha": "6d3d7b6baa268f26d3635e361ca34ad77397746b", + "commits": [], + "end_line": 49, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/DataCleanupService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 49 + }, + { + "blob_sha": "6d3d7b6baa268f26d3635e361ca34ad77397746b", + "commits": [], + "end_line": 50, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/DataCleanupService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 50 + }, + { + "blob_sha": "6d3d7b6baa268f26d3635e361ca34ad77397746b", + "commits": [], + "end_line": 51, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/DataCleanupService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 51 + }, + { + "blob_sha": "6d3d7b6baa268f26d3635e361ca34ad77397746b", + "commits": [], + "end_line": 52, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/DataCleanupService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 52 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/admin" @@ -1171,8 +1771,92 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 46 - } - ], + }, + { + "blob_sha": "2a7cf4f768f5bbe943ec2767dc5cbfc4bf482d66", + "commits": [], + "end_line": 22, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportCompetencyProgressService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "2a7cf4f768f5bbe943ec2767dc5cbfc4bf482d66", + "commits": [], + "end_line": 23, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportCompetencyProgressService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "e8de61d8a8bf5dc2ffb105507ad24f2145b3fc1d", + "commits": [], + "end_line": 20, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportLearnerProfileService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "e8de61d8a8bf5dc2ffb105507ad24f2145b3fc1d", + "commits": [], + "end_line": 21, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportLearnerProfileService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "65db0b0958b5af06f1f692697fa9654ade80a639", + "commits": [], + "end_line": 18, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportScienceEventService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "65db0b0958b5af06f1f692697fa9654ade80a639", + "commits": [], + "end_line": 19, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportScienceEventService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "65db0b0958b5af06f1f692697fa9654ade80a639", + "commits": [], + "end_line": 20, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportScienceEventService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + } + ], "src": "M:src/main/java/de/tum/cit/aet/artemis/admin" }, { @@ -1217,6 +1901,66 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 34 + }, + { + "blob_sha": "e10ee9774d43776ba8cf3e0c79f5eb9b3580fad0", + "commits": [], + "end_line": 35, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/web/AdminBuildJobQueueResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 35 + }, + { + "blob_sha": "e10ee9774d43776ba8cf3e0c79f5eb9b3580fad0", + "commits": [], + "end_line": 36, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/web/AdminBuildJobQueueResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 36 + }, + { + "blob_sha": "e10ee9774d43776ba8cf3e0c79f5eb9b3580fad0", + "commits": [], + "end_line": 37, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/web/AdminBuildJobQueueResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 37 + }, + { + "blob_sha": "e10ee9774d43776ba8cf3e0c79f5eb9b3580fad0", + "commits": [], + "end_line": 38, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/web/AdminBuildJobQueueResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 38 + }, + { + "blob_sha": "e10ee9774d43776ba8cf3e0c79f5eb9b3580fad0", + "commits": [], + "end_line": 39, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/web/AdminBuildJobQueueResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 39 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/admin" @@ -1263,6 +2007,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 48 + }, + { + "blob_sha": "c22e7c75e3a34cc647da9a147dccc1d00da2ebad", + "commits": [], + "end_line": 22, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportCommunicationDataService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "c22e7c75e3a34cc647da9a147dccc1d00da2ebad", + "commits": [], + "end_line": 23, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportCommunicationDataService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "c22e7c75e3a34cc647da9a147dccc1d00da2ebad", + "commits": [], + "end_line": 24, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportCommunicationDataService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "c22e7c75e3a34cc647da9a147dccc1d00da2ebad", + "commits": [], + "end_line": 25, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportCommunicationDataService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "c22e7c75e3a34cc647da9a147dccc1d00da2ebad", + "commits": [], + "end_line": 26, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportCommunicationDataService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + }, + { + "blob_sha": "c22e7c75e3a34cc647da9a147dccc1d00da2ebad", + "commits": [], + "end_line": 27, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportCommunicationDataService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + }, + { + "blob_sha": "c22e7c75e3a34cc647da9a147dccc1d00da2ebad", + "commits": [], + "end_line": 28, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportCommunicationDataService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/admin" @@ -1309,6 +2137,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 17 + }, + { + "blob_sha": "2adecfe7679becc74defcea23b3af9bfd48ebe93", + "commits": [], + "end_line": 15, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/domain/CleanupJobExecution.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "2adecfe7679becc74defcea23b3af9bfd48ebe93", + "commits": [], + "end_line": 16, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/domain/CleanupJobExecution.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "5dec77a096963421611bbd422f8de510eab53666", + "commits": [], + "end_line": 16, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/domain/DataExport.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "5dec77a096963421611bbd422f8de510eab53666", + "commits": [], + "end_line": 17, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/domain/DataExport.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "d0b7ed0b269352ed25af25cb8841d126676da4fc", + "commits": [], + "end_line": 13, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/domain/LLMTokenUsageRequest.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "d0b7ed0b269352ed25af25cb8841d126676da4fc", + "commits": [], + "end_line": 14, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/domain/LLMTokenUsageRequest.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "ffe792ccf769a5e8d86d16ee60602c0be914be3a", + "commits": [], + "end_line": 20, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/domain/LLMTokenUsageTrace.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/admin" @@ -1355,6 +2267,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 55 + }, + { + "blob_sha": "6d3d7b6baa268f26d3635e361ca34ad77397746b", + "commits": [], + "end_line": 56, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/DataCleanupService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 56 + }, + { + "blob_sha": "bf85afbfac4e59ab05aea8cb2d56f66161aa31ac", + "commits": [], + "end_line": 44, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/StatisticsService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 44 + }, + { + "blob_sha": "bf85afbfac4e59ab05aea8cb2d56f66161aa31ac", + "commits": [], + "end_line": 45, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/StatisticsService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 45 + }, + { + "blob_sha": "0dfcec659b811f0ecea04e4cb7a8b022cafa09c5", + "commits": [], + "end_line": 43, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/CourseExamExportService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 43 + }, + { + "blob_sha": "0dfcec659b811f0ecea04e4cb7a8b022cafa09c5", + "commits": [], + "end_line": 44, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/CourseExamExportService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 44 + }, + { + "blob_sha": "0dfcec659b811f0ecea04e4cb7a8b022cafa09c5", + "commits": [], + "end_line": 45, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/CourseExamExportService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 45 + }, + { + "blob_sha": "0dfcec659b811f0ecea04e4cb7a8b022cafa09c5", + "commits": [], + "end_line": 46, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/CourseExamExportService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 46 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/admin" @@ -1401,6 +2397,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 50 + }, + { + "blob_sha": "0dfcec659b811f0ecea04e4cb7a8b022cafa09c5", + "commits": [], + "end_line": 51, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/CourseExamExportService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 51 + }, + { + "blob_sha": "0dfcec659b811f0ecea04e4cb7a8b022cafa09c5", + "commits": [], + "end_line": 52, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/CourseExamExportService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 52 + }, + { + "blob_sha": "510156cb98524e2142b61dd1ffa7bf66d5b81bbf", + "commits": [], + "end_line": 52, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/CourseStudentDataExportService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 52 + }, + { + "blob_sha": "dce177f5d8979ce13d8c2600bbcb4de0aa0a6bca", + "commits": [], + "end_line": 27, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportExamCreationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + }, + { + "blob_sha": "dce177f5d8979ce13d8c2600bbcb4de0aa0a6bca", + "commits": [], + "end_line": 28, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportExamCreationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 + }, + { + "blob_sha": "dce177f5d8979ce13d8c2600bbcb4de0aa0a6bca", + "commits": [], + "end_line": 29, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportExamCreationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "dce177f5d8979ce13d8c2600bbcb4de0aa0a6bca", + "commits": [], + "end_line": 30, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportExamCreationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 30 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/admin" @@ -1447,6 +2527,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 32 + }, + { + "blob_sha": "250511f8cfdac416dbc43e1d4c14bc5e4dc45ee0", + "commits": [], + "end_line": 35, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/PublicUsageStatisticsService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 35 + }, + { + "blob_sha": "250511f8cfdac416dbc43e1d4c14bc5e4dc45ee0", + "commits": [], + "end_line": 36, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/PublicUsageStatisticsService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 36 + }, + { + "blob_sha": "bf85afbfac4e59ab05aea8cb2d56f66161aa31ac", + "commits": [], + "end_line": 46, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/StatisticsService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 46 + }, + { + "blob_sha": "bf85afbfac4e59ab05aea8cb2d56f66161aa31ac", + "commits": [], + "end_line": 47, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/StatisticsService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 47 + }, + { + "blob_sha": "bf85afbfac4e59ab05aea8cb2d56f66161aa31ac", + "commits": [], + "end_line": 48, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/StatisticsService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 48 + }, + { + "blob_sha": "bf85afbfac4e59ab05aea8cb2d56f66161aa31ac", + "commits": [], + "end_line": 49, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/StatisticsService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 49 + }, + { + "blob_sha": "bf85afbfac4e59ab05aea8cb2d56f66161aa31ac", + "commits": [], + "end_line": 50, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/StatisticsService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 50 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/admin" @@ -1573,6 +2737,54 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 21 + }, + { + "blob_sha": "a163050240c11d23003fa30b8c860a5e419519fe", + "commits": [], + "end_line": 22, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportIrisService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "a163050240c11d23003fa30b8c860a5e419519fe", + "commits": [], + "end_line": 23, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportIrisService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "a163050240c11d23003fa30b8c860a5e419519fe", + "commits": [], + "end_line": 24, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportIrisService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "a163050240c11d23003fa30b8c860a5e419519fe", + "commits": [], + "end_line": 25, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportIrisService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/admin" @@ -1619,15 +2831,39 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 47 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/admin" - }, - { - "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/localvc", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/admin->M:src/main/java/de/tum/cit/aet/artemis/localvc", + }, + { + "blob_sha": "e10ee9774d43776ba8cf3e0c79f5eb9b3580fad0", + "commits": [], + "end_line": 48, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/web/AdminBuildJobQueueResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 48 + }, + { + "blob_sha": "e10ee9774d43776ba8cf3e0c79f5eb9b3580fad0", + "commits": [], + "end_line": 49, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/web/AdminBuildJobQueueResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 49 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/admin" + }, + { + "count": 1, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/localvc", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/admin->M:src/main/java/de/tum/cit/aet/artemis/localvc", "kind": "uses", "refs": [ { @@ -1687,6 +2923,18 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 47 + }, + { + "blob_sha": "46303c7545ef5a0298ba9448447e2b158f1464f6", + "commits": [], + "end_line": 48, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportExerciseCreationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 48 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/admin" @@ -1733,6 +2981,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 28 + }, + { + "blob_sha": "914b4dbc13612a55d84d8ec882a3e0c8f39c2480", + "commits": [], + "end_line": 29, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/DataExportScheduleService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "914b4dbc13612a55d84d8ec882a3e0c8f39c2480", + "commits": [], + "end_line": 30, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/DataExportScheduleService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 30 + }, + { + "blob_sha": "5aa35cbce54d26b4db9e8c38ca0959e960cd61e4", + "commits": [], + "end_line": 21, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/FeatureUsageDigestScheduleService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "5aa35cbce54d26b4db9e8c38ca0959e960cd61e4", + "commits": [], + "end_line": 22, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/FeatureUsageDigestScheduleService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "1b67287490faaaf3df8407af58e31f4d69181f49", + "commits": [], + "end_line": 18, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/VulnerabilityScanScheduleService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "1b67287490faaaf3df8407af58e31f4d69181f49", + "commits": [], + "end_line": 19, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/VulnerabilityScanScheduleService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "c22e7c75e3a34cc647da9a147dccc1d00da2ebad", + "commits": [], + "end_line": 37, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportCommunicationDataService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 37 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/admin" @@ -1825,6 +3157,78 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 62 + }, + { + "blob_sha": "dce177f5d8979ce13d8c2600bbcb4de0aa0a6bca", + "commits": [], + "end_line": 34, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportExamCreationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 34 + }, + { + "blob_sha": "46303c7545ef5a0298ba9448447e2b158f1464f6", + "commits": [], + "end_line": 51, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportExerciseCreationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 51 + }, + { + "blob_sha": "46303c7545ef5a0298ba9448447e2b158f1464f6", + "commits": [], + "end_line": 52, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportExerciseCreationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 52 + }, + { + "blob_sha": "46303c7545ef5a0298ba9448447e2b158f1464f6", + "commits": [], + "end_line": 53, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportExerciseCreationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 53 + }, + { + "blob_sha": "46303c7545ef5a0298ba9448447e2b158f1464f6", + "commits": [], + "end_line": 54, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportExerciseCreationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 54 + }, + { + "blob_sha": "46303c7545ef5a0298ba9448447e2b158f1464f6", + "commits": [], + "end_line": 55, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportExerciseCreationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 55 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/admin" @@ -1871,6 +3275,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 56 + }, + { + "blob_sha": "46303c7545ef5a0298ba9448447e2b158f1464f6", + "commits": [], + "end_line": 57, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportExerciseCreationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 57 + }, + { + "blob_sha": "5ef2415226c99fde17adf92280ba91f01831de1b", + "commits": [], + "end_line": 26, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportQuizExerciseCreationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + }, + { + "blob_sha": "5ef2415226c99fde17adf92280ba91f01831de1b", + "commits": [], + "end_line": 27, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportQuizExerciseCreationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + }, + { + "blob_sha": "5ef2415226c99fde17adf92280ba91f01831de1b", + "commits": [], + "end_line": 28, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportQuizExerciseCreationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 + }, + { + "blob_sha": "5ef2415226c99fde17adf92280ba91f01831de1b", + "commits": [], + "end_line": 29, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportQuizExerciseCreationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "5ef2415226c99fde17adf92280ba91f01831de1b", + "commits": [], + "end_line": 30, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportQuizExerciseCreationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 30 + }, + { + "blob_sha": "5ef2415226c99fde17adf92280ba91f01831de1b", + "commits": [], + "end_line": 31, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportQuizExerciseCreationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 31 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/admin" @@ -1963,6 +3451,30 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 64 + }, + { + "blob_sha": "f9b17e47bdb81e66fd3628bcaecd0c6c3686ef87", + "commits": [], + "end_line": 20, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportTutorialGroupService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "f9b17e47bdb81e66fd3628bcaecd0c6c3686ef87", + "commits": [], + "end_line": 21, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/admin/service/export/DataExportTutorialGroupService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/admin" @@ -2053,6 +3565,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 7 + }, + { + "blob_sha": "2cf984485b1a2358ab250a9c8c96c11c6ebf06f9", + "commits": [], + "end_line": 3, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/aiworker/config/AiWorkerMessagingConfiguration.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "2cf984485b1a2358ab250a9c8c96c11c6ebf06f9", + "commits": [], + "end_line": 14, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/aiworker/config/AiWorkerMessagingConfiguration.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "33cf2f2b53925c97dd0ae20e92bf805c367c0c59", + "commits": [], + "end_line": 3, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/aiworker/config/DockerConfiguration.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "6e487af480d2e9d3ff8c17457dac8892050ed92e", + "commits": [], + "end_line": 14, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/aiworker/config/WorkerDistributedDataConfiguration.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "6e487af480d2e9d3ff8c17457dac8892050ed92e", + "commits": [], + "end_line": 3, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/aiworker/config/WorkerDistributedDataConfiguration.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "6e487af480d2e9d3ff8c17457dac8892050ed92e", + "commits": [], + "end_line": 4, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/aiworker/config/WorkerDistributedDataConfiguration.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "6e487af480d2e9d3ff8c17457dac8892050ed92e", + "commits": [], + "end_line": 15, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/aiworker/config/WorkerDistributedDataConfiguration.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/aiworker" @@ -2099,6 +3695,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 23 + }, + { + "blob_sha": "14c7cbb1e3355799faa95d3ebc61f4ec47742dd5", + "commits": [], + "end_line": 14, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/domain/PresentationAssessmentInstance.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "4649cb8014177b00c60c691933464575dfec4132", + "commits": [], + "end_line": 44, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/domain/Result.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 44 + }, + { + "blob_sha": "c42ff1376d5a09f32664fe863ecbccba4153b5ea", + "commits": [], + "end_line": 11, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/domain/StudentScore.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "d154a8c0e6727a2b16d84de58a4b64184067f3b1", + "commits": [], + "end_line": 19, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/domain/TutorParticipation.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "de1473712750c4b7656b1a0ccf8a9415a6888c29", + "commits": [], + "end_line": 12, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/dto/ComplaintDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "a561f8892112ee0fe6ce574157e89e3f2164e3d5", + "commits": [], + "end_line": 5, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/dto/PresentationAssessmentStudentDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "79197ba14f1d9571caf70e6ad917c2686d1ab7ef", + "commits": [], + "end_line": 5, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/dto/UserNameAndLoginDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/assessment" @@ -2211,135 +3891,387 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 10 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/assessment" - }, - { - "count": 32, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/assessment->M:src/main/java/de/tum/cit/aet/artemis/course", - "kind": "uses", - "refs": [ + }, { "blob_sha": "4d6fdd556cd9687a62e1597d8a7d4b0621fc0247", "commits": [], - "end_line": 11, - "id": "E1", + "end_line": 3, + "id": "E4", "kind": "lines", "path": "src/main/java/de/tum/cit/aet/artemis/assessment/api/AssessmentDemoApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 + "start_line": 3 }, { - "blob_sha": "e0e38133ae3eee9177f32ad1ac29847906f5b5df", + "blob_sha": "6fc5953927763cf389e85233abcdc1aca884fa58", "commits": [], - "end_line": 28, - "id": "E2", + "end_line": 3, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/assessment/domain/GradingScale.java", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/config/FeedbackConfiguration.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 28 + "start_line": 3 }, { - "blob_sha": "1b666896b57297dc8358a31b13ecdc5e9b3d42a9", + "blob_sha": "0891a3ea0e41e7f740a164eb309d023ec9b959fc", + "commits": [], + "end_line": 20, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/domain/AssessmentNote.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "0891a3ea0e41e7f740a164eb309d023ec9b959fc", + "commits": [], + "end_line": 21, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/domain/AssessmentNote.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "302fc80c1199aefb6a7eb16622fe377c2990b451", + "commits": [], + "end_line": 13, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/domain/Bonus.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "302fc80c1199aefb6a7eb16622fe377c2990b451", "commits": [], "end_line": 14, - "id": "E3", + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/assessment/domain/PresentationAssessment.java", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/domain/Bonus.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 14 + }, + { + "blob_sha": "d6b91bf84a7353ea2da6b94ce64065842b6ad084", + "commits": [], + "end_line": 10, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/domain/BonusStrategy.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/assessment" }, { - "count": 34, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/exam", + "count": 32, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/assessment->M:src/main/java/de/tum/cit/aet/artemis/exam", + "id": "M:src/main/java/de/tum/cit/aet/artemis/assessment->M:src/main/java/de/tum/cit/aet/artemis/course", "kind": "uses", "refs": [ { "blob_sha": "4d6fdd556cd9687a62e1597d8a7d4b0621fc0247", "commits": [], - "end_line": 12, + "end_line": 11, "id": "E1", "kind": "lines", "path": "src/main/java/de/tum/cit/aet/artemis/assessment/api/AssessmentDemoApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 12 + "start_line": 11 }, { "blob_sha": "e0e38133ae3eee9177f32ad1ac29847906f5b5df", "commits": [], - "end_line": 29, + "end_line": 28, "id": "E2", "kind": "lines", "path": "src/main/java/de/tum/cit/aet/artemis/assessment/domain/GradingScale.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 29 + "start_line": 28 }, { - "blob_sha": "9c51d7e3d5a1b6121f27b009ab6b9545731ea724", + "blob_sha": "1b666896b57297dc8358a31b13ecdc5e9b3d42a9", "commits": [], - "end_line": 15, + "end_line": 14, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/assessment/dto/GradingScaleForBonusDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/domain/PresentationAssessment.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 15 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/assessment" - }, - { - "count": 164, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/exercise", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/assessment->M:src/main/java/de/tum/cit/aet/artemis/exercise", - "kind": "uses", - "refs": [ + "start_line": 14 + }, { - "blob_sha": "c03e2f1aa2919b5a74886a6fa0e7eae277301d56", + "blob_sha": "4649cb8014177b00c60c691933464575dfec4132", "commits": [], - "end_line": 17, - "id": "E1", + "end_line": 48, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/assessment/ResultListener.java", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/domain/Result.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 17 + "start_line": 48 }, { - "blob_sha": "f3dd4371900922851b2f455ff653ec6076c33e6f", + "blob_sha": "81ade0a80d4e2ad04dbcc66f59fad3d4a0985450", "commits": [], - "end_line": 25, - "id": "E2", + "end_line": 7, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/assessment/domain/Complaint.java", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/dto/CourseScoreSettingsDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 25 + "start_line": 7 }, { - "blob_sha": "f3dd4371900922851b2f455ff653ec6076c33e6f", + "blob_sha": "9c51d7e3d5a1b6121f27b009ab6b9545731ea724", + "commits": [], + "end_line": 14, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/dto/GradingScaleForBonusDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "c2d19d6a60b2a9649d6fadaea74cf597bbfcd57b", + "commits": [], + "end_line": 19, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/service/AssessmentDemoService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "9374da30f46c9267f513847e956cc01d030205fb", + "commits": [], + "end_line": 26, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/service/ComplaintResponseService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + }, + { + "blob_sha": "dc65a6e249312a59c971d2a6b4997a3b02b694fa", + "commits": [], + "end_line": 32, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/service/ComplaintService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 32 + }, + { + "blob_sha": "a15d941aeff6d8680f6767e6f8df546d8d35cefc", + "commits": [], + "end_line": 36, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/service/CourseScoreCalculationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 36 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/assessment" + }, + { + "count": 34, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/exam", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/assessment->M:src/main/java/de/tum/cit/aet/artemis/exam", + "kind": "uses", + "refs": [ + { + "blob_sha": "4d6fdd556cd9687a62e1597d8a7d4b0621fc0247", + "commits": [], + "end_line": 12, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/api/AssessmentDemoApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "e0e38133ae3eee9177f32ad1ac29847906f5b5df", + "commits": [], + "end_line": 29, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/domain/GradingScale.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "9c51d7e3d5a1b6121f27b009ab6b9545731ea724", + "commits": [], + "end_line": 15, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/dto/GradingScaleForBonusDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "c2d19d6a60b2a9649d6fadaea74cf597bbfcd57b", + "commits": [], + "end_line": 20, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/service/AssessmentDemoService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "9d1be3be3794261d7830207d5fe4d05f9b82be1a", + "commits": [], + "end_line": 34, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/service/AssessmentService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 34 + }, + { + "blob_sha": "9d1be3be3794261d7830207d5fe4d05f9b82be1a", + "commits": [], + "end_line": 35, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/service/AssessmentService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 35 + }, + { + "blob_sha": "9d1be3be3794261d7830207d5fe4d05f9b82be1a", + "commits": [], + "end_line": 36, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/service/AssessmentService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 36 + }, + { + "blob_sha": "dc65a6e249312a59c971d2a6b4997a3b02b694fa", + "commits": [], + "end_line": 33, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/service/ComplaintService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 33 + }, + { + "blob_sha": "dc65a6e249312a59c971d2a6b4997a3b02b694fa", + "commits": [], + "end_line": 34, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/service/ComplaintService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 34 + }, + { + "blob_sha": "dc65a6e249312a59c971d2a6b4997a3b02b694fa", + "commits": [], + "end_line": 35, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/service/ComplaintService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 35 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/assessment" + }, + { + "count": 164, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/exercise", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/assessment->M:src/main/java/de/tum/cit/aet/artemis/exercise", + "kind": "uses", + "refs": [ + { + "blob_sha": "c03e2f1aa2919b5a74886a6fa0e7eae277301d56", + "commits": [], + "end_line": 17, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/ResultListener.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "f3dd4371900922851b2f455ff653ec6076c33e6f", + "commits": [], + "end_line": 25, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/domain/Complaint.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "f3dd4371900922851b2f455ff653ec6076c33e6f", "commits": [], "end_line": 26, "id": "E3", @@ -2349,6 +4281,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 26 + }, + { + "blob_sha": "8e6a915f3e9625d12e13e86305a1b420dcdd1777", + "commits": [], + "end_line": 20, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/domain/ExampleSubmission.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "8e6a915f3e9625d12e13e86305a1b420dcdd1777", + "commits": [], + "end_line": 21, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/domain/ExampleSubmission.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "c19ee1da3a023508007112a85e3c57c364b5533d", + "commits": [], + "end_line": 23, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/domain/GradingCriterion.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "2e6652babec9b444dcb623e68b60940a88d6699d", + "commits": [], + "end_line": 31, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/domain/ParticipantScore.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 31 + }, + { + "blob_sha": "2e6652babec9b444dcb623e68b60940a88d6699d", + "commits": [], + "end_line": 32, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/domain/ParticipantScore.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 32 + }, + { + "blob_sha": "1b666896b57297dc8358a31b13ecdc5e9b3d42a9", + "commits": [], + "end_line": 15, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/domain/PresentationAssessment.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "4649cb8014177b00c60c691933464575dfec4132", + "commits": [], + "end_line": 49, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/domain/Result.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 49 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/assessment" @@ -2463,6 +4479,42 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 27 + }, + { + "blob_sha": "df80075b97d4794d764cdb54743de1fab0151977", + "commits": [], + "end_line": 28, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/service/ExampleSubmissionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 + }, + { + "blob_sha": "df80075b97d4794d764cdb54743de1fab0151977", + "commits": [], + "end_line": 29, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/service/ExampleSubmissionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "0a5eebab6a0d302b560aef400befeb8553daaa08", + "commits": [], + "end_line": 37, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/service/TutorParticipationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 37 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/assessment" @@ -2543,6 +4595,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 9 + }, + { + "blob_sha": "5c93a462e0e1d23260512891690d91dd28d7ec3c", + "commits": [], + "end_line": 18, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/repository/cleanup/PlagiarismComparisonCleanupRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "a15d941aeff6d8680f6767e6f8df546d8d35cefc", + "commits": [], + "end_line": 52, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/service/CourseScoreCalculationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 52 + }, + { + "blob_sha": "a15d941aeff6d8680f6767e6f8df546d8d35cefc", + "commits": [], + "end_line": 53, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/service/CourseScoreCalculationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 53 + }, + { + "blob_sha": "a15d941aeff6d8680f6767e6f8df546d8d35cefc", + "commits": [], + "end_line": 54, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/service/CourseScoreCalculationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 54 + }, + { + "blob_sha": "a15d941aeff6d8680f6767e6f8df546d8d35cefc", + "commits": [], + "end_line": 55, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/service/CourseScoreCalculationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 55 + }, + { + "blob_sha": "c15f9f24289b5e343afba8e92ad5c25071794ffe", + "commits": [], + "end_line": 26, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/service/CourseScoreCalculator.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + }, + { + "blob_sha": "c15f9f24289b5e343afba8e92ad5c25071794ffe", + "commits": [], + "end_line": 27, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/service/CourseScoreCalculator.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/assessment" @@ -2589,6 +4725,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 55 + }, + { + "blob_sha": "ca47133bc3e5d16ba04a5a38401cd064a3079bb2", + "commits": [], + "end_line": 18, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/domain/ScaFeedback.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "ba2a3d3d9be58af5e7c6f821ccd38a4464ee0cfa", + "commits": [], + "end_line": 16, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/domain/TestCaseFeedback.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "f976e771f9fadccec45dd037e70c9f8eb0c7c34f", + "commits": [], + "end_line": 3, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/domain/Visibility.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "571a6599b1de9aa3589355947b06b620faba24f5", + "commits": [], + "end_line": 15, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/dto/ExerciseCourseScoreDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "d21f3df4d718521dafc77fdd1cb512b17a48d462", + "commits": [], + "end_line": 11, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/dto/FeedbackDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "d21f3df4d718521dafc77fdd1cb512b17a48d462", + "commits": [], + "end_line": 12, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/dto/FeedbackDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "f53eb95a4d709592b5cd803a098ddb8d4819bf60", + "commits": [], + "end_line": 18, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/dto/ResultWithPointsPerGradingCriterionDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/assessment" @@ -2681,6 +4901,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 16 + }, + { + "blob_sha": "dcc1d2cc9a79ac9d71b8e37375a681e64775cf98", + "commits": [], + "end_line": 16, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/repository/AthenaFeedbackRequestWriteRepositoryImpl.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "72ae4b745e3a2d0f25e37b20647b869fef8c04b7", + "commits": [], + "end_line": 16, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/repository/TextAssessmentEventRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "ec12862a35e5029562e6a44108ad506d38cd5ee5", + "commits": [], + "end_line": 14, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/repository/TextBlockRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "e8476480eea927923652ca4ebea7b4e460262670", + "commits": [], + "end_line": 19, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/repository/cleanup/TextBlockCleanupRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "df80075b97d4794d764cdb54743de1fab0151977", + "commits": [], + "end_line": 30, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/service/ExampleSubmissionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 30 + }, + { + "blob_sha": "df80075b97d4794d764cdb54743de1fab0151977", + "commits": [], + "end_line": 31, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/service/ExampleSubmissionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 31 + }, + { + "blob_sha": "df80075b97d4794d764cdb54743de1fab0151977", + "commits": [], + "end_line": 32, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/service/ExampleSubmissionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 32 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/assessment" @@ -2727,17 +5031,53 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 27 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/assessment" - }, - { - "count": 5, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/account", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/athena->M:src/main/java/de/tum/cit/aet/artemis/account", - "kind": "uses", - "refs": [ + }, + { + "blob_sha": "0a5eebab6a0d302b560aef400befeb8553daaa08", + "commits": [], + "end_line": 6, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/service/TutorParticipationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "0a5eebab6a0d302b560aef400befeb8553daaa08", + "commits": [], + "end_line": 7, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/service/TutorParticipationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "0a5eebab6a0d302b560aef400befeb8553daaa08", + "commits": [], + "end_line": 8, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/assessment/service/TutorParticipationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/assessment" + }, + { + "count": 5, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/account", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/athena->M:src/main/java/de/tum/cit/aet/artemis/account", + "kind": "uses", + "refs": [ { "blob_sha": "1224cd674ca90487e668a32614e77afd26c550b2", "commits": [], @@ -2773,6 +5113,30 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 23 + }, + { + "blob_sha": "47e5ea27b020ccff82eb6f73e7d25e484880bf23", + "commits": [], + "end_line": 18, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/web/AthenaResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "47e5ea27b020ccff82eb6f73e7d25e484880bf23", + "commits": [], + "end_line": 19, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/web/AthenaResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/athena" @@ -2819,6 +5183,30 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 25 + }, + { + "blob_sha": "c2e5f4b290ce1b21a8a1b4b500fdb2b1d54f2da0", + "commits": [], + "end_line": 26, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/service/AthenaFeedbackSuggestionsService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + }, + { + "blob_sha": "bf759385e343be5489efdb89bcf11dd968a785b9", + "commits": [], + "end_line": 23, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/web/internal/AthenaInternalResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/athena" @@ -2865,6 +5253,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 9 + }, + { + "blob_sha": "c0abee88600e1ff547e4d86cdb3681a6b588ebd0", + "commits": [], + "end_line": 11, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/dto/ProgrammingExerciseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "2f0ea58de4f8e9a40edd01d49ceb379b3c21833d", + "commits": [], + "end_line": 9, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/dto/ProgrammingFeedbackDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "767637314335b066ec766d317f8047d4dc67e438", + "commits": [], + "end_line": 9, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/dto/TextExerciseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "69869247be6aa2c03229e413fd7a42d914ab51e4", + "commits": [], + "end_line": 9, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/dto/TextFeedbackDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "9afa9a8b452004ff25d39a4ae358fa31a2a0c70f", + "commits": [], + "end_line": 10, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/service/AthenaDTOConverterService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "9afa9a8b452004ff25d39a4ae358fa31a2a0c70f", + "commits": [], + "end_line": 11, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/service/AthenaDTOConverterService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "561f58c903d1c6ea11ff8d20deffa144337434f6", + "commits": [], + "end_line": 16, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/service/AthenaFeedbackSendingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/athena" @@ -2911,6 +5383,30 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 39 + }, + { + "blob_sha": "c2e5f4b290ce1b21a8a1b4b500fdb2b1d54f2da0", + "commits": [], + "end_line": 40, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/service/AthenaFeedbackSuggestionsService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 40 + }, + { + "blob_sha": "c2e5f4b290ce1b21a8a1b4b500fdb2b1d54f2da0", + "commits": [], + "end_line": 41, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/service/AthenaFeedbackSuggestionsService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 41 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/athena" @@ -2957,6 +5453,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 7 + }, + { + "blob_sha": "7d062dcd08c45086300ae95d0812dbf315230fb9", + "commits": [], + "end_line": 19, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/config/AthenaHealthIndicator.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "c0abee88600e1ff547e4d86cdb3681a6b588ebd0", + "commits": [], + "end_line": 3, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/dto/ProgrammingExerciseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "d57c8f73bc2d0100ea81db6fc1477b0097d2d8e3", + "commits": [], + "end_line": 3, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/dto/ProgrammingSubmissionDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "f4bb713edd8418b90271c889441f8a10da0dd0af", + "commits": [], + "end_line": 12, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/service/AthenaConnector.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "f4bb713edd8418b90271c889441f8a10da0dd0af", + "commits": [], + "end_line": 13, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/service/AthenaConnector.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "561f58c903d1c6ea11ff8d20deffa144337434f6", + "commits": [], + "end_line": 21, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/service/AthenaFeedbackSendingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "c2e5f4b290ce1b21a8a1b4b500fdb2b1d54f2da0", + "commits": [], + "end_line": 42, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/service/AthenaFeedbackSuggestionsService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 42 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/athena" @@ -3049,6 +5629,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 20 + }, + { + "blob_sha": "1224cd674ca90487e668a32614e77afd26c550b2", + "commits": [], + "end_line": 21, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/api/AthenaFeedbackApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "9afa9a8b452004ff25d39a4ae358fa31a2a0c70f", + "commits": [], + "end_line": 25, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/service/AthenaDTOConverterService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "9afa9a8b452004ff25d39a4ae358fa31a2a0c70f", + "commits": [], + "end_line": 26, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/service/AthenaDTOConverterService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + }, + { + "blob_sha": "561f58c903d1c6ea11ff8d20deffa144337434f6", + "commits": [], + "end_line": 22, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/service/AthenaFeedbackSendingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "561f58c903d1c6ea11ff8d20deffa144337434f6", + "commits": [], + "end_line": 23, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/service/AthenaFeedbackSendingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "c2e5f4b290ce1b21a8a1b4b500fdb2b1d54f2da0", + "commits": [], + "end_line": 51, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/service/AthenaFeedbackSuggestionsService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 51 + }, + { + "blob_sha": "c2e5f4b290ce1b21a8a1b4b500fdb2b1d54f2da0", + "commits": [], + "end_line": 52, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/service/AthenaFeedbackSuggestionsService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 52 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/athena" @@ -3129,6 +5793,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 10 + }, + { + "blob_sha": "9afcc329040728b9f1e9e1f3e1a64ca094c0e13b", + "commits": [], + "end_line": 7, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/dto/ModelingSubmissionDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "9afa9a8b452004ff25d39a4ae358fa31a2a0c70f", + "commits": [], + "end_line": 27, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/service/AthenaDTOConverterService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + }, + { + "blob_sha": "9afa9a8b452004ff25d39a4ae358fa31a2a0c70f", + "commits": [], + "end_line": 28, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/service/AthenaDTOConverterService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 + }, + { + "blob_sha": "c2e5f4b290ce1b21a8a1b4b500fdb2b1d54f2da0", + "commits": [], + "end_line": 54, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/service/AthenaFeedbackSuggestionsService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 54 + }, + { + "blob_sha": "c2e5f4b290ce1b21a8a1b4b500fdb2b1d54f2da0", + "commits": [], + "end_line": 55, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/service/AthenaFeedbackSuggestionsService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 55 + }, + { + "blob_sha": "47e5ea27b020ccff82eb6f73e7d25e484880bf23", + "commits": [], + "end_line": 37, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/web/AthenaResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 37 + }, + { + "blob_sha": "47e5ea27b020ccff82eb6f73e7d25e484880bf23", + "commits": [], + "end_line": 38, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/web/AthenaResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 38 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/athena" @@ -3175,6 +5923,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 12 + }, + { + "blob_sha": "d57c8f73bc2d0100ea81db6fc1477b0097d2d8e3", + "commits": [], + "end_line": 9, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/dto/ProgrammingSubmissionDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "9afa9a8b452004ff25d39a4ae358fa31a2a0c70f", + "commits": [], + "end_line": 29, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/service/AthenaDTOConverterService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "9afa9a8b452004ff25d39a4ae358fa31a2a0c70f", + "commits": [], + "end_line": 30, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/service/AthenaDTOConverterService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 30 + }, + { + "blob_sha": "c2e5f4b290ce1b21a8a1b4b500fdb2b1d54f2da0", + "commits": [], + "end_line": 56, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/service/AthenaFeedbackSuggestionsService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 56 + }, + { + "blob_sha": "c2e5f4b290ce1b21a8a1b4b500fdb2b1d54f2da0", + "commits": [], + "end_line": 57, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/service/AthenaFeedbackSuggestionsService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 57 + }, + { + "blob_sha": "cd9322b6d0bdc852c163749a049bece345c586db", + "commits": [], + "end_line": 22, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/service/AthenaRepositoryExportService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "cd9322b6d0bdc852c163749a049bece345c586db", + "commits": [], + "end_line": 23, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/service/AthenaRepositoryExportService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/athena" @@ -3221,6 +6053,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 10 + }, + { + "blob_sha": "69869247be6aa2c03229e413fd7a42d914ab51e4", + "commits": [], + "end_line": 10, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/dto/TextFeedbackDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "bbc6d72cf721b8fce5806b6db17044efbaf15db5", + "commits": [], + "end_line": 9, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/dto/TextSubmissionDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "9afa9a8b452004ff25d39a4ae358fa31a2a0c70f", + "commits": [], + "end_line": 31, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/service/AthenaDTOConverterService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 31 + }, + { + "blob_sha": "9afa9a8b452004ff25d39a4ae358fa31a2a0c70f", + "commits": [], + "end_line": 32, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/service/AthenaDTOConverterService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 32 + }, + { + "blob_sha": "9afa9a8b452004ff25d39a4ae358fa31a2a0c70f", + "commits": [], + "end_line": 33, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/service/AthenaDTOConverterService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 33 + }, + { + "blob_sha": "9afa9a8b452004ff25d39a4ae358fa31a2a0c70f", + "commits": [], + "end_line": 34, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/service/AthenaDTOConverterService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 34 + }, + { + "blob_sha": "9afa9a8b452004ff25d39a4ae358fa31a2a0c70f", + "commits": [], + "end_line": 35, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/athena/service/AthenaDTOConverterService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 35 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/athena" @@ -3267,7 +6183,91 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 10 - } + }, + { + "blob_sha": "7db064ca75e57e2fd906b938cbb51fe908379ce4", + "commits": [], + "end_line": 8, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/api/LearningPathApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "189161d2bf6c0ebb1ece56b65f29c7d35701c307", + "commits": [], + "end_line": 7, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/domain/LearningObject.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "15f27c9236b084ebbe2f5f3613372e742b08804b", + "commits": [], + "end_line": 25, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/domain/competency/CompetencyProgress.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "d4193f20902cdce65dfcec6aa361e64ee569d134", + "commits": [], + "end_line": 17, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/domain/competency/LearningPath.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "d82a93ffee10eb294a281e19f98201833297227e", + "commits": [], + "end_line": 21, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/domain/profile/LearnerProfile.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "625a85aeb26a2296a9f9ba8b688934e9ab746478", + "commits": [], + "end_line": 10, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/domain/science/ScienceCourseConsent.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "d973789ecec643cb48eb2b65a044a08300bf26b7", + "commits": [], + "end_line": 17, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/repository/CompetencyProgressRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/atlas" }, @@ -3313,6 +6313,42 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 26 + }, + { + "blob_sha": "971d5569fbedba5c9a505bc49721d67229db0db4", + "commits": [], + "end_line": 27, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/service/ContentExtractionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + }, + { + "blob_sha": "c01cdbfa3bb7b5bca009133dea4b761c71a58f30", + "commits": [], + "end_line": 27, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/service/OrchestratorDelegationToolsService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + }, + { + "blob_sha": "c01cdbfa3bb7b5bca009133dea4b761c71a58f30", + "commits": [], + "end_line": 28, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/service/OrchestratorDelegationToolsService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/atlas" @@ -3359,6 +6395,66 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 29 + }, + { + "blob_sha": "0d268e1f63b2aa3a68e55b8b2d9f8f1dd377db71", + "commits": [], + "end_line": 30, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/service/LearningObjectImportService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 30 + }, + { + "blob_sha": "93c66f1b8064940e2ff3406d795018e4e57a1008", + "commits": [], + "end_line": 15, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/service/LearningObjectService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "93c66f1b8064940e2ff3406d795018e4e57a1008", + "commits": [], + "end_line": 16, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/service/LearningObjectService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "5547f6ba771e0702f6e0fbaa130ca1931fa71a1a", + "commits": [], + "end_line": 24, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/service/competency/CompetencyProgressService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "60211250eb5c6938a1bd6313ec553b2f15bea7c5", + "commits": [], + "end_line": 27, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/service/learningpath/LearningPathRecommendationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/atlas" @@ -3427,6 +6523,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 7 + }, + { + "blob_sha": "84961e1d041ff6a90bdb23d4e7b1a0cf797cc089", + "commits": [], + "end_line": 7, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/config/AtlasLLMEnabled.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "964018bb668b789c8020b8d2c8a09b0b3e8f3c39", + "commits": [], + "end_line": 11, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/config/AtlasLlmPresets.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "964018bb668b789c8020b8d2c8a09b0b3e8f3c39", + "commits": [], + "end_line": 12, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/config/AtlasLlmPresets.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "a0dcdeddc4e7ff86c9b3352ef16415fcd91d31b7", + "commits": [], + "end_line": 5, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/config/AtlasNotPresentException.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "a0dcdeddc4e7ff86c9b3352ef16415fcd91d31b7", + "commits": [], + "end_line": 3, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/config/AtlasNotPresentException.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "a0dcdeddc4e7ff86c9b3352ef16415fcd91d31b7", + "commits": [], + "end_line": 6, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/config/AtlasNotPresentException.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "e005f33343754f6b980979476ced32d9fc7f6f77", + "commits": [], + "end_line": 9, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/domain/competency/BaseCompetency.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/atlas" @@ -3473,6 +6653,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 19 + }, + { + "blob_sha": "7db064ca75e57e2fd906b938cbb51fe908379ce4", + "commits": [], + "end_line": 11, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/api/LearningPathApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "0197a85d8cf2110bb26a11ce1e3510489107571b", + "commits": [], + "end_line": 31, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/domain/competency/CourseCompetency.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 31 + }, + { + "blob_sha": "d4193f20902cdce65dfcec6aa361e64ee569d134", + "commits": [], + "end_line": 20, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/domain/competency/LearningPath.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "30debb313563c8db4e099ae6859e4163b5134e3e", + "commits": [], + "end_line": 17, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/domain/profile/CourseLearnerProfile.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "625a85aeb26a2296a9f9ba8b688934e9ab746478", + "commits": [], + "end_line": 13, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/domain/science/ScienceCourseConsent.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "ec0510f8e0e3456a17d8f9b210bd59f5c3163145", + "commits": [], + "end_line": 12, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/domain/science/ScienceEnabledCourse.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "6d9c24e3b97cef627a7dfd1ce8eca3a4b61c01d7", + "commits": [], + "end_line": 7, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/dto/CourseInfoDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/atlas" @@ -3519,6 +6783,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 18 + }, + { + "blob_sha": "f26e7f9ba7e98097f1c8a75ddd3d04a404053dff", + "commits": [], + "end_line": 11, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/dto/ExerciseForCompetencyDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "f26e7f9ba7e98097f1c8a75ddd3d04a404053dff", + "commits": [], + "end_line": 12, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/dto/ExerciseForCompetencyDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "f26e7f9ba7e98097f1c8a75ddd3d04a404053dff", + "commits": [], + "end_line": 13, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/dto/ExerciseForCompetencyDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "f26e7f9ba7e98097f1c8a75ddd3d04a404053dff", + "commits": [], + "end_line": 14, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/dto/ExerciseForCompetencyDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "f26e7f9ba7e98097f1c8a75ddd3d04a404053dff", + "commits": [], + "end_line": 15, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/dto/ExerciseForCompetencyDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "072a4f03e6bb414c7e13fe1e17aff8469886d0e1", + "commits": [], + "end_line": 7, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/dto/LearningPathNavigationObjectDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "574b0b921af0f6af7ee80e5e797b41416f319f61", + "commits": [], + "end_line": 7, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/dto/metrics/CompetencyExerciseMasteryCalculationDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/atlas" @@ -3611,6 +6959,18 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 70 + }, + { + "blob_sha": "ba09a7eee1d71b5706ed354b2044a2e98607513c", + "commits": [], + "end_line": 71, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/web/CourseCompetencyResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 71 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/atlas" @@ -3657,6 +7017,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 32 + }, + { + "blob_sha": "d9aadf3120a26cde141258b9fd2c5bfb57f2e8f6", + "commits": [], + "end_line": 9, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/dto/AttachmentForCompetencyDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "d9aadf3120a26cde141258b9fd2c5bfb57f2e8f6", + "commits": [], + "end_line": 10, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/dto/AttachmentForCompetencyDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "072a4f03e6bb414c7e13fe1e17aff8469886d0e1", + "commits": [], + "end_line": 8, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/dto/LearningPathNavigationObjectDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "8cb25a386381ce31a38e6dbe4d7878db87a59702", + "commits": [], + "end_line": 7, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/dto/LectureReferenceDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "49b95fedcbc60c1e245c88155bdb17080d566b7b", + "commits": [], + "end_line": 9, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/dto/LectureUnitForCompetencyDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "49b95fedcbc60c1e245c88155bdb17080d566b7b", + "commits": [], + "end_line": 10, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/dto/LectureUnitForCompetencyDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "49b95fedcbc60c1e245c88155bdb17080d566b7b", + "commits": [], + "end_line": 11, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/dto/LectureUnitForCompetencyDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/atlas" @@ -3703,6 +7147,18 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 56 + }, + { + "blob_sha": "0d268e1f63b2aa3a68e55b8b2d9f8f1dd377db71", + "commits": [], + "end_line": 57, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/service/LearningObjectImportService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 57 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/atlas" @@ -3795,6 +7251,42 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 58 + }, + { + "blob_sha": "0d268e1f63b2aa3a68e55b8b2d9f8f1dd377db71", + "commits": [], + "end_line": 59, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/service/LearningObjectImportService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 59 + }, + { + "blob_sha": "0d268e1f63b2aa3a68e55b8b2d9f8f1dd377db71", + "commits": [], + "end_line": 60, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/service/LearningObjectImportService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 60 + }, + { + "blob_sha": "0d268e1f63b2aa3a68e55b8b2d9f8f1dd377db71", + "commits": [], + "end_line": 61, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/service/LearningObjectImportService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 61 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/atlas" @@ -3841,70 +7333,166 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 47 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/atlas" - }, - { - "count": 4, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/text", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/atlas->M:src/main/java/de/tum/cit/aet/artemis/text", - "kind": "uses", - "refs": [ + }, { "blob_sha": "971d5569fbedba5c9a505bc49721d67229db0db4", "commits": [], - "end_line": 58, - "id": "E1", + "end_line": 48, + "id": "E4", "kind": "lines", "path": "src/main/java/de/tum/cit/aet/artemis/atlas/service/ContentExtractionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 58 + "start_line": 48 }, { - "blob_sha": "0d268e1f63b2aa3a68e55b8b2d9f8f1dd377db71", + "blob_sha": "971d5569fbedba5c9a505bc49721d67229db0db4", "commits": [], - "end_line": 65, - "id": "E2", + "end_line": 49, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/atlas/service/LearningObjectImportService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/service/ContentExtractionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 65 + "start_line": 49 }, { - "blob_sha": "0d268e1f63b2aa3a68e55b8b2d9f8f1dd377db71", + "blob_sha": "971d5569fbedba5c9a505bc49721d67229db0db4", "commits": [], - "end_line": 66, - "id": "E3", + "end_line": 50, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/atlas/service/LearningObjectImportService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/service/ContentExtractionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 66 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/atlas" - }, - { - "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/aiworker", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/buildagent->M:src/main/java/de/tum/cit/aet/artemis/aiworker", - "kind": "uses", - "refs": [ + "start_line": 50 + }, { - "blob_sha": "2008b568b194f8fe90fa249950c987df4eeaed62", + "blob_sha": "971d5569fbedba5c9a505bc49721d67229db0db4", "commits": [], - "end_line": 6, - "id": "E1", + "end_line": 51, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/buildagent/service/parser/TestResultXmlParser.java", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/service/ContentExtractionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 51 + }, + { + "blob_sha": "971d5569fbedba5c9a505bc49721d67229db0db4", + "commits": [], + "end_line": 52, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/service/ContentExtractionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 52 + }, + { + "blob_sha": "971d5569fbedba5c9a505bc49721d67229db0db4", + "commits": [], + "end_line": 53, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/service/ContentExtractionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 53 + }, + { + "blob_sha": "971d5569fbedba5c9a505bc49721d67229db0db4", + "commits": [], + "end_line": 54, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/service/ContentExtractionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 54 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/atlas" + }, + { + "count": 4, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/text", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/atlas->M:src/main/java/de/tum/cit/aet/artemis/text", + "kind": "uses", + "refs": [ + { + "blob_sha": "971d5569fbedba5c9a505bc49721d67229db0db4", + "commits": [], + "end_line": 58, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/service/ContentExtractionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 58 + }, + { + "blob_sha": "0d268e1f63b2aa3a68e55b8b2d9f8f1dd377db71", + "commits": [], + "end_line": 65, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/service/LearningObjectImportService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 65 + }, + { + "blob_sha": "0d268e1f63b2aa3a68e55b8b2d9f8f1dd377db71", + "commits": [], + "end_line": 66, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/service/LearningObjectImportService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 66 + }, + { + "blob_sha": "0d268e1f63b2aa3a68e55b8b2d9f8f1dd377db71", + "commits": [], + "end_line": 67, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/atlas/service/LearningObjectImportService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 67 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/atlas" + }, + { + "count": 1, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/aiworker", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/buildagent->M:src/main/java/de/tum/cit/aet/artemis/aiworker", + "kind": "uses", + "refs": [ + { + "blob_sha": "2008b568b194f8fe90fa249950c987df4eeaed62", + "commits": [], + "end_line": 6, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/buildagent/service/parser/TestResultXmlParser.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", @@ -3989,6 +7577,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 3 + }, + { + "blob_sha": "6d8b27c2ebf019bc3d3700f10e6980067d595c3d", + "commits": [], + "end_line": 3, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/buildagent/service/BuildAgentAddressReportingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "6ab3e43612563e49556a686f38fb718cbf8abd44", + "commits": [], + "end_line": 3, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/buildagent/service/BuildAgentDockerService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "6ab3e43612563e49556a686f38fb718cbf8abd44", + "commits": [], + "end_line": 4, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/buildagent/service/BuildAgentDockerService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "6ab3e43612563e49556a686f38fb718cbf8abd44", + "commits": [], + "end_line": 61, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/buildagent/service/BuildAgentDockerService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 61 + }, + { + "blob_sha": "11aad41b79c3876753a490fe61022a0a4ccb3d43", + "commits": [], + "end_line": 3, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/buildagent/service/BuildAgentInformationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "4d3e3d417159ac32b6a7fcd10c14b77dc152f56f", + "commits": [], + "end_line": 3, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/buildagent/service/BuildAgentSshKeyService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "3682ff14a5ed2b86ad5920e32b027cfe6c31a977", + "commits": [], + "end_line": 3, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/buildagent/service/BuildJobContainerService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/buildagent" @@ -4069,6 +7741,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 10 + }, + { + "blob_sha": "6d8b27c2ebf019bc3d3700f10e6980067d595c3d", + "commits": [], + "end_line": 28, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/buildagent/service/BuildAgentAddressReportingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 + }, + { + "blob_sha": "6ab3e43612563e49556a686f38fb718cbf8abd44", + "commits": [], + "end_line": 62, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/buildagent/service/BuildAgentDockerService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 62 + }, + { + "blob_sha": "6ab3e43612563e49556a686f38fb718cbf8abd44", + "commits": [], + "end_line": 63, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/buildagent/service/BuildAgentDockerService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 63 + }, + { + "blob_sha": "11aad41b79c3876753a490fe61022a0a4ccb3d43", + "commits": [], + "end_line": 29, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/buildagent/service/BuildAgentInformationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "3682ff14a5ed2b86ad5920e32b027cfe6c31a977", + "commits": [], + "end_line": 65, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/buildagent/service/BuildJobContainerService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 65 + }, + { + "blob_sha": "3682ff14a5ed2b86ad5920e32b027cfe6c31a977", + "commits": [], + "end_line": 66, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/buildagent/service/BuildJobContainerService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 66 + }, + { + "blob_sha": "009e9c373f99a43fd2bff4d744fc7924c28f9109", + "commits": [], + "end_line": 45, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/buildagent/service/BuildJobExecutionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 45 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/buildagent" @@ -4115,6 +7871,66 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 48 + }, + { + "blob_sha": "12450f651e9c8497b72830d08adbce2b2e6de2e4", + "commits": [], + "end_line": 49, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/buildagent/service/BuildJobGitService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 49 + }, + { + "blob_sha": "c49f51239fca8224a521fcb466c6ac10ffc05bc3", + "commits": [], + "end_line": 11, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/buildagent/service/BuildJobQueueItemValidator.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "b2d65ef296e3e3839ba0746fe4d107c3a10423d8", + "commits": [], + "end_line": 24, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/buildagent/service/PublishedFingerprintsFetcher.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "b2d65ef296e3e3839ba0746fe4d107c3a10423d8", + "commits": [], + "end_line": 25, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/buildagent/service/PublishedFingerprintsFetcher.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "d55b88452df2d7bd06c5f26f0ac8ede53d944c2b", + "commits": [], + "end_line": 19, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/buildagent/service/PublishedHostKeyDatabase.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/buildagent" @@ -4161,6 +7977,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 13 + }, + { + "blob_sha": "73612eeb5f9243784c618d1a9740b47a399a7f0e", + "commits": [], + "end_line": 5, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/buildagent/dto/BuildJobDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "99cf68367ebfb80391cc39a578f9eb1e17602cf3", + "commits": [], + "end_line": 14, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/buildagent/dto/BuildJobQueueItem.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "99cf68367ebfb80391cc39a578f9eb1e17602cf3", + "commits": [], + "end_line": 15, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/buildagent/dto/BuildJobQueueItem.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "784f7a29932605eab6f0f902421c056887a6726e", + "commits": [], + "end_line": 5, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/buildagent/dto/BuildJobResultCountDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "d6d6b51bbe5edb789668779e6b9cfc08517a5a02", + "commits": [], + "end_line": 12, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/buildagent/dto/BuildResult.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "d6d6b51bbe5edb789668779e6b9cfc08517a5a02", + "commits": [], + "end_line": 13, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/buildagent/dto/BuildResult.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "d6d6b51bbe5edb789668779e6b9cfc08517a5a02", + "commits": [], + "end_line": 14, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/buildagent/dto/BuildResult.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/buildagent" @@ -4207,6 +8107,18 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 34 + }, + { + "blob_sha": "34a3e3dd199724d30590ec252eef013932abf0b8", + "commits": [], + "end_line": 35, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/calendar/web/CalendarResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 35 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/calendar" @@ -4253,6 +8165,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 24 + }, + { + "blob_sha": "2bd14b55291529af1e55e177e7543bbe9181e8f6", + "commits": [], + "end_line": 25, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/calendar/service/CalendarSubscriptionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "9a4943323f2117e239709509d75a0b145157bccd", + "commits": [], + "end_line": 19, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/calendar/util/CalendarUtil.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "34a3e3dd199724d30590ec252eef013932abf0b8", + "commits": [], + "end_line": 3, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/calendar/web/CalendarResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "34a3e3dd199724d30590ec252eef013932abf0b8", + "commits": [], + "end_line": 40, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/calendar/web/CalendarResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 40 + }, + { + "blob_sha": "34a3e3dd199724d30590ec252eef013932abf0b8", + "commits": [], + "end_line": 41, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/calendar/web/CalendarResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 41 + }, + { + "blob_sha": "34a3e3dd199724d30590ec252eef013932abf0b8", + "commits": [], + "end_line": 42, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/calendar/web/CalendarResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 42 + }, + { + "blob_sha": "34a3e3dd199724d30590ec252eef013932abf0b8", + "commits": [], + "end_line": 43, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/calendar/web/CalendarResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 43 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/calendar" @@ -4627,6 +8623,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 22 + }, + { + "blob_sha": "84b527ed8e10bde1520ab8255b8a043a49bf34ea", + "commits": [], + "end_line": 3, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/domain/ConversationNotificationRecipientSummary.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "e23dfce4dd51608627eb7f551ef62e6c1c62e9a8", + "commits": [], + "end_line": 17, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/domain/ConversationParticipant.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "ed312a91278f1d0952d2b9abfe07658126f02a38", + "commits": [], + "end_line": 5, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/domain/CreatedConversationMessage.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "b34083e1b0a8135ff529ac448c10e4596d65a6ee", + "commits": [], + "end_line": 21, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/domain/Posting.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "44fe17008fb10cf3b4ff4fde9ca78cb40b9d8aae", + "commits": [], + "end_line": 17, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/domain/Reaction.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "6bd2f9b97708e6ada577b000317ddec7d568bb31", + "commits": [], + "end_line": 13, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/domain/SavedPost.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "0e56bae37d0978eb59d9506170190d6196f661ac", + "commits": [], + "end_line": 21, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/domain/conversation/Channel.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/communication" @@ -4695,12 +8775,96 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 17 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/communication" - }, - { - "count": 54, + }, + { + "blob_sha": "a84288e20e7a523e5bf1eb552fcb46189769c501", + "commits": [], + "end_line": 3, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/api/ConversationFileAccessApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "a84288e20e7a523e5bf1eb552fcb46189769c501", + "commits": [], + "end_line": 18, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/api/ConversationFileAccessApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "65a6f85ed30db8543bd0e151d452801cd8cfe4a8", + "commits": [], + "end_line": 9, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/config/OneToOneChatCreationDeserializer.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "65a6f85ed30db8543bd0e151d452801cd8cfe4a8", + "commits": [], + "end_line": 10, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/config/OneToOneChatCreationDeserializer.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "cf041af8ac394e36036ae021998f585dba25c551", + "commits": [], + "end_line": 24, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/domain/AnswerPost.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "e23dfce4dd51608627eb7f551ef62e6c1c62e9a8", + "commits": [], + "end_line": 19, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/domain/ConversationParticipant.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "e23dfce4dd51608627eb7f551ef62e6c1c62e9a8", + "commits": [], + "end_line": 20, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/domain/ConversationParticipant.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/communication" + }, + { + "count": 54, "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", "how": "import-path", "id": "M:src/main/java/de/tum/cit/aet/artemis/communication->M:src/main/java/de/tum/cit/aet/artemis/course", @@ -4741,6 +8905,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 28 + }, + { + "blob_sha": "1110f12a4208eb086c57cca178e9a70bbca5245f", + "commits": [], + "end_line": 29, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/domain/Post.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "b34083e1b0a8135ff529ac448c10e4596d65a6ee", + "commits": [], + "end_line": 24, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/domain/Posting.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "0e56bae37d0978eb59d9506170190d6196f661ac", + "commits": [], + "end_line": 24, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/domain/conversation/Channel.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "a0c6f33143f7c8eefee8f704546614d36e42c8e3", + "commits": [], + "end_line": 35, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/domain/conversation/Conversation.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 35 + }, + { + "blob_sha": "596b4d42d44d51cb3996d14ff85dac5801169007", + "commits": [], + "end_line": 22, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/domain/conversation/GroupChat.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "72cf726752c5c0cd9885105e1b4e2b0010a7b8fb", + "commits": [], + "end_line": 18, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/domain/conversation/OneToOneChat.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "95e0cd3311d43a1242065a468cee3c3f7e7e0dc3", + "commits": [], + "end_line": 9, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/dto/CourseHomeCommunicationDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/communication" @@ -4821,6 +9069,78 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 44 + }, + { + "blob_sha": "3891e512160ac1920e6bfb2ed11775ee5af4dabc", + "commits": [], + "end_line": 44, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/service/CommunicationDemoService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 44 + }, + { + "blob_sha": "3891e512160ac1920e6bfb2ed11775ee5af4dabc", + "commits": [], + "end_line": 45, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/service/CommunicationDemoService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 45 + }, + { + "blob_sha": "05b46ca3208c418dd57cb808ac0d8fca68efbdd6", + "commits": [], + "end_line": 52, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/service/ConversationMessagingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 52 + }, + { + "blob_sha": "0c2661d0fce5952dd90ed42141faee1d618ec843", + "commits": [], + "end_line": 49, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/service/PostingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 49 + }, + { + "blob_sha": "9f69ba476e5d976e33f6b0700b818fbadeab177a", + "commits": [], + "end_line": 38, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/service/conversation/ChannelService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 38 + }, + { + "blob_sha": "9f69ba476e5d976e33f6b0700b818fbadeab177a", + "commits": [], + "end_line": 39, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/service/conversation/ChannelService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 39 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/communication" @@ -4867,6 +9187,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 47 + }, + { + "blob_sha": "b1b54e615c2612e50f6dac82b5f107af9e9ba891", + "commits": [], + "end_line": 48, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/service/AnswerMessageService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 48 + }, + { + "blob_sha": "3891e512160ac1920e6bfb2ed11775ee5af4dabc", + "commits": [], + "end_line": 46, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/service/CommunicationDemoService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 46 + }, + { + "blob_sha": "3891e512160ac1920e6bfb2ed11775ee5af4dabc", + "commits": [], + "end_line": 47, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/service/CommunicationDemoService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 47 + }, + { + "blob_sha": "494ee84bc906413f806059295e90278b98f9193b", + "commits": [], + "end_line": 15, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/service/ConversationDataCleanupService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "05b46ca3208c418dd57cb808ac0d8fca68efbdd6", + "commits": [], + "end_line": 53, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/service/ConversationMessagingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 53 + }, + { + "blob_sha": "05b46ca3208c418dd57cb808ac0d8fca68efbdd6", + "commits": [], + "end_line": 54, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/service/ConversationMessagingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 54 + }, + { + "blob_sha": "05b46ca3208c418dd57cb808ac0d8fca68efbdd6", + "commits": [], + "end_line": 55, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/service/ConversationMessagingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 55 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/communication" @@ -4913,6 +9317,42 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 33 + }, + { + "blob_sha": "8ce76e42e0cebfa5e590c4befa1cf2bb2745a544", + "commits": [], + "end_line": 34, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/service/FaqIngestionReconcileService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 34 + }, + { + "blob_sha": "8ce76e42e0cebfa5e590c4befa1cf2bb2745a544", + "commits": [], + "end_line": 35, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/service/FaqIngestionReconcileService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 35 + }, + { + "blob_sha": "6ade31f89f0f336ef3719a7d0abcb80d3a8ebdba", + "commits": [], + "end_line": 16, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/service/FaqService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/communication" @@ -4993,6 +9433,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 52 + }, + { + "blob_sha": "b1b54e615c2612e50f6dac82b5f107af9e9ba891", + "commits": [], + "end_line": 53, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/service/AnswerMessageService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 53 + }, + { + "blob_sha": "05b46ca3208c418dd57cb808ac0d8fca68efbdd6", + "commits": [], + "end_line": 57, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/service/ConversationMessagingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 57 + }, + { + "blob_sha": "05b46ca3208c418dd57cb808ac0d8fca68efbdd6", + "commits": [], + "end_line": 58, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/service/ConversationMessagingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 58 + }, + { + "blob_sha": "05b46ca3208c418dd57cb808ac0d8fca68efbdd6", + "commits": [], + "end_line": 59, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/service/ConversationMessagingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 59 + }, + { + "blob_sha": "05b46ca3208c418dd57cb808ac0d8fca68efbdd6", + "commits": [], + "end_line": 60, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/service/ConversationMessagingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 60 + }, + { + "blob_sha": "05b46ca3208c418dd57cb808ac0d8fca68efbdd6", + "commits": [], + "end_line": 61, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/service/ConversationMessagingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 61 + }, + { + "blob_sha": "7bdf2041f11eb278424fa307b5318e7b201e7809", + "commits": [], + "end_line": 63, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/web/conversation/ChannelResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 63 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/communication" @@ -5039,6 +9563,42 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 48 + }, + { + "blob_sha": "2a8028a734ba0b8c102ea6545e67e01a5ce85e31", + "commits": [], + "end_line": 29, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/service/ReactionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "2a8028a734ba0b8c102ea6545e67e01a5ce85e31", + "commits": [], + "end_line": 30, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/service/ReactionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 30 + }, + { + "blob_sha": "6648cfb857c671389389c3fc84b732b4d6bd105f", + "commits": [], + "end_line": 16, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/communication/web/CommunicationWebsocketTopics.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/communication" @@ -5197,6 +9757,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 55 + }, + { + "blob_sha": "b592f7c104a7d99e85b3fb5b07dfccebf625bb71", + "commits": [], + "end_line": 56, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/config/SecurityConfiguration.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 56 + }, + { + "blob_sha": "b592f7c104a7d99e85b3fb5b07dfccebf625bb71", + "commits": [], + "end_line": 57, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/config/SecurityConfiguration.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 57 + }, + { + "blob_sha": "b592f7c104a7d99e85b3fb5b07dfccebf625bb71", + "commits": [], + "end_line": 58, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/config/SecurityConfiguration.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 58 + }, + { + "blob_sha": "a730aabffde20b56b2527affa36aaf23741faf77", + "commits": [], + "end_line": 11, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/domain/CalendarSubscriptionTokenStore.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "a30150d85caf3a1b08d63ad2f02fca7ebb110d32", + "commits": [], + "end_line": 11, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/domain/UserCourseAssociation.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "f83f12cfd57bd63573dd49628e5d347d96d2bb3a", + "commits": [], + "end_line": 14, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/domain/UserCourseRole.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "0c660341a913ba2203886f60ece995de70fadfb3", + "commits": [], + "end_line": 5, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/dto/CourseRoleMemberDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/core" @@ -5243,40 +9887,124 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 18 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/core" - }, - { - "count": 4, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/assessment", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/core->M:src/main/java/de/tum/cit/aet/artemis/assessment", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "34aef3b4ed53c22a3f8f060e414e8d90c71bb22b", + "blob_sha": "a829c67c0d1cadfda83cad05e076c864b9f73b35", "commits": [], - "end_line": 12, - "id": "E1", + "end_line": 27, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/core/config/AgentProgrammingTimelinePatchDeserializer.java", + "path": "src/main/java/de/tum/cit/aet/artemis/core/config/migration/MigrationService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 12 + "start_line": 27 }, { - "blob_sha": "11cef8ffb8471bd60ee763a618ac6df37e0c2081", + "blob_sha": "a829c67c0d1cadfda83cad05e076c864b9f73b35", "commits": [], - "end_line": 8, - "id": "E2", + "end_line": 28, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/core/config/StaticCodeAnalysisConfigurer.java", + "path": "src/main/java/de/tum/cit/aet/artemis/core/config/migration/MigrationService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 8 + "start_line": 28 + }, + { + "blob_sha": "b349f983dcaad12550526d0b47490ee2238a96d3", + "commits": [], + "end_line": 26, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/dto/UserDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + }, + { + "blob_sha": "9db7c0796f7a04d0726eb03155cc60c288d79d0e", + "commits": [], + "end_line": 17, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/security/annotations/LimitRequestsPerMinuteAspect.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "9db7c0796f7a04d0726eb03155cc60c288d79d0e", + "commits": [], + "end_line": 18, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/security/annotations/LimitRequestsPerMinuteAspect.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "20839f05beecae58cf409fff02c52a46264c45bf", + "commits": [], + "end_line": 20, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/service/ClientErrorReportService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "5843cbe8fbe076efb3aed5286786ed98c3e73fc7", + "commits": [], + "end_line": 20, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/service/feature/FeatureToggleService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/core" + }, + { + "count": 4, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/assessment", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/core->M:src/main/java/de/tum/cit/aet/artemis/assessment", + "kind": "uses", + "refs": [ + { + "blob_sha": "34aef3b4ed53c22a3f8f060e414e8d90c71bb22b", + "commits": [], + "end_line": 12, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/config/AgentProgrammingTimelinePatchDeserializer.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "11cef8ffb8471bd60ee763a618ac6df37e0c2081", + "commits": [], + "end_line": 8, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/config/StaticCodeAnalysisConfigurer.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 }, { "blob_sha": "3da36dd2b51783570b3965bbd13cbb30524cceb2", @@ -5289,6 +10017,18 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 26 + }, + { + "blob_sha": "ff10a78159149014e356395bc94a95c7d8a19d76", + "commits": [], + "end_line": 18, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/service/messaging/InstanceMessageReceiveService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/core" @@ -5381,6 +10121,18 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 19 + }, + { + "blob_sha": "e23d67f6346637dc2941acfdab9c3b7c0fc765b5", + "commits": [], + "end_line": 20, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/service/agent/AgentToolService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/core" @@ -5427,6 +10179,18 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 49 + }, + { + "blob_sha": "d27c376e24f7178a5a790ec0e3cc0f4011df8425", + "commits": [], + "end_line": 50, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/config/MetricsBean.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 50 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/core" @@ -5473,6 +10237,18 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 21 + }, + { + "blob_sha": "a640d614512e3947adcad753d32cbcf3e8b3cae4", + "commits": [], + "end_line": 17, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/service/file/FileUploadService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/core" @@ -5519,6 +10295,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 12 + }, + { + "blob_sha": "f83f12cfd57bd63573dd49628e5d347d96d2bb3a", + "commits": [], + "end_line": 15, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/domain/UserCourseRole.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "1a787c9629e0374771e9edd0db6fb24c2793fe27", + "commits": [], + "end_line": 12, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/dto/UserPublicInfoDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "3da36dd2b51783570b3965bbd13cbb30524cceb2", + "commits": [], + "end_line": 34, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/service/AuthorizationCheckService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 34 + }, + { + "blob_sha": "9bd2a9e5e346fc851aa152874bff8e2668e61d42", + "commits": [], + "end_line": 18, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/service/EnrollmentService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "9bd2a9e5e346fc851aa152874bff8e2668e61d42", + "commits": [], + "end_line": 19, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/service/EnrollmentService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "46739f0ba0cc81552fe09569182614ad23c4772c", + "commits": [], + "end_line": 8, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/util/RoundingUtil.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "44c6d2479986d7637dc28b5b69ca3aa772759800", + "commits": [], + "end_line": 69, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/web/FileResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 69 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/core" @@ -5565,6 +10425,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 9 + }, + { + "blob_sha": "7a4acd08e3005f06f77b223a3aa017aa5346f63c", + "commits": [], + "end_line": 10, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/config/ConfigurationValidator.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "7a4acd08e3005f06f77b223a3aa017aa5346f63c", + "commits": [], + "end_line": 11, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/config/ConfigurationValidator.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "7a4acd08e3005f06f77b223a3aa017aa5346f63c", + "commits": [], + "end_line": 12, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/config/ConfigurationValidator.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "7a4acd08e3005f06f77b223a3aa017aa5346f63c", + "commits": [], + "end_line": 13, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/config/ConfigurationValidator.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "7a4acd08e3005f06f77b223a3aa017aa5346f63c", + "commits": [], + "end_line": 14, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/config/ConfigurationValidator.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "7a4acd08e3005f06f77b223a3aa017aa5346f63c", + "commits": [], + "end_line": 15, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/config/ConfigurationValidator.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "7a4acd08e3005f06f77b223a3aa017aa5346f63c", + "commits": [], + "end_line": 16, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/config/ConfigurationValidator.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/core" @@ -5611,6 +10555,54 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 35 + }, + { + "blob_sha": "44c6d2479986d7637dc28b5b69ca3aa772759800", + "commits": [], + "end_line": 71, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/web/FileResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 71 + }, + { + "blob_sha": "44c6d2479986d7637dc28b5b69ca3aa772759800", + "commits": [], + "end_line": 72, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/web/FileResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 72 + }, + { + "blob_sha": "44c6d2479986d7637dc28b5b69ca3aa772759800", + "commits": [], + "end_line": 73, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/web/FileResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 73 + }, + { + "blob_sha": "44c6d2479986d7637dc28b5b69ca3aa772759800", + "commits": [], + "end_line": 74, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/web/FileResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 74 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/core" @@ -5657,6 +10649,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 59 + }, + { + "blob_sha": "d27c376e24f7178a5a790ec0e3cc0f4011df8425", + "commits": [], + "end_line": 60, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/config/MetricsBean.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 60 + }, + { + "blob_sha": "d0e071362a7fd3f704eaea7efec464bb188ad680", + "commits": [], + "end_line": 40, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/security/websocket/WebsocketTopicRegistry.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 40 + }, + { + "blob_sha": "c1ad7112c6cd74dd249ad98817a5e9686598f3fd", + "commits": [], + "end_line": 5, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/service/ArchivalReportEntry.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "3da36dd2b51783570b3965bbd13cbb30524cceb2", + "commits": [], + "end_line": 36, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/service/AuthorizationCheckService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 36 + }, + { + "blob_sha": "3da36dd2b51783570b3965bbd13cbb30524cceb2", + "commits": [], + "end_line": 37, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/service/AuthorizationCheckService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 37 + }, + { + "blob_sha": "3da36dd2b51783570b3965bbd13cbb30524cceb2", + "commits": [], + "end_line": 38, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/service/AuthorizationCheckService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 38 + }, + { + "blob_sha": "3da36dd2b51783570b3965bbd13cbb30524cceb2", + "commits": [], + "end_line": 39, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/service/AuthorizationCheckService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 39 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/core" @@ -5749,6 +10825,42 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 48 + }, + { + "blob_sha": "d6363c01aea566a798d5914e40be0b7d679fb8d5", + "commits": [], + "end_line": 25, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/config/DeferredEagerBeanInitializer.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "d6363c01aea566a798d5914e40be0b7d679fb8d5", + "commits": [], + "end_line": 26, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/config/DeferredEagerBeanInitializer.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + }, + { + "blob_sha": "12adfaae8ab5bb802e6aec792236037c7caff449", + "commits": [], + "end_line": 43, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/exception/ExceptionTranslator.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 43 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/core" @@ -5851,6 +10963,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 41 + }, + { + "blob_sha": "3da36dd2b51783570b3965bbd13cbb30524cceb2", + "commits": [], + "end_line": 42, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/service/AuthorizationCheckService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 42 + }, + { + "blob_sha": "11f70a7bca056d78753079a2babcdc693353bdfa", + "commits": [], + "end_line": 44, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/service/ScheduleService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 44 + }, + { + "blob_sha": "11f70a7bca056d78753079a2babcdc693353bdfa", + "commits": [], + "end_line": 45, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/service/ScheduleService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 45 + }, + { + "blob_sha": "11f70a7bca056d78753079a2babcdc693353bdfa", + "commits": [], + "end_line": 46, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/service/ScheduleService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 46 + }, + { + "blob_sha": "ff10a78159149014e356395bc94a95c7d8a19d76", + "commits": [], + "end_line": 24, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/service/messaging/InstanceMessageReceiveService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "44c6d2479986d7637dc28b5b69ca3aa772759800", + "commits": [], + "end_line": 79, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/web/FileResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 79 + }, + { + "blob_sha": "44c6d2479986d7637dc28b5b69ca3aa772759800", + "commits": [], + "end_line": 80, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/web/FileResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 80 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/core" @@ -5897,31 +11093,91 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 62 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/core" - }, - { - "count": 2, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/localvc", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/core->M:src/main/java/de/tum/cit/aet/artemis/localvc", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "4dbc8f0940733ee5fa1301c0f5a0100a255a746b", + "blob_sha": "11cef8ffb8471bd60ee763a618ac6df37e0c2081", "commits": [], - "end_line": 18, - "id": "E1", + "end_line": 9, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/core/config/LoggingAspect.java", + "path": "src/main/java/de/tum/cit/aet/artemis/core/config/StaticCodeAnalysisConfigurer.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 18 + "start_line": 9 }, { - "blob_sha": "4dbc8f0940733ee5fa1301c0f5a0100a255a746b", + "blob_sha": "11cef8ffb8471bd60ee763a618ac6df37e0c2081", + "commits": [], + "end_line": 10, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/config/StaticCodeAnalysisConfigurer.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "11cef8ffb8471bd60ee763a618ac6df37e0c2081", + "commits": [], + "end_line": 11, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/config/StaticCodeAnalysisConfigurer.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "11cef8ffb8471bd60ee763a618ac6df37e0c2081", + "commits": [], + "end_line": 12, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/config/StaticCodeAnalysisConfigurer.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "11cef8ffb8471bd60ee763a618ac6df37e0c2081", + "commits": [], + "end_line": 13, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/config/StaticCodeAnalysisConfigurer.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/core" + }, + { + "count": 2, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/localvc", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/core->M:src/main/java/de/tum/cit/aet/artemis/localvc", + "kind": "uses", + "refs": [ + { + "blob_sha": "4dbc8f0940733ee5fa1301c0f5a0100a255a746b", + "commits": [], + "end_line": 18, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/config/LoggingAspect.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "4dbc8f0940733ee5fa1301c0f5a0100a255a746b", "commits": [], "end_line": 19, "id": "E2", @@ -6091,6 +11347,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 18 + }, + { + "blob_sha": "375e2dcf9dcf8eff9dbb0e27b5cb78dd69769f5d", + "commits": [], + "end_line": 19, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/config/ProgrammingLanguageConfiguration.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "69ca62f88457c1b51bb43ce7a5195a8b974e6c14", + "commits": [], + "end_line": 26, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/config/RestClientConfiguration.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + }, + { + "blob_sha": "11cef8ffb8471bd60ee763a618ac6df37e0c2081", + "commits": [], + "end_line": 14, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/config/StaticCodeAnalysisConfigurer.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "11cef8ffb8471bd60ee763a618ac6df37e0c2081", + "commits": [], + "end_line": 15, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/config/StaticCodeAnalysisConfigurer.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "11cef8ffb8471bd60ee763a618ac6df37e0c2081", + "commits": [], + "end_line": 16, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/config/StaticCodeAnalysisConfigurer.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "116e5837be09029e550c9cb5de80e0619e744c88", + "commits": [], + "end_line": 10, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/config/TheiaConfiguration.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "116e5837be09029e550c9cb5de80e0619e744c88", + "commits": [], + "end_line": 11, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/config/TheiaConfiguration.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/core" @@ -6137,6 +11477,42 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 29 + }, + { + "blob_sha": "44c6d2479986d7637dc28b5b69ca3aa772759800", + "commits": [], + "end_line": 89, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/web/FileResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 89 + }, + { + "blob_sha": "44c6d2479986d7637dc28b5b69ca3aa772759800", + "commits": [], + "end_line": 90, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/web/FileResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 90 + }, + { + "blob_sha": "44c6d2479986d7637dc28b5b69ca3aa772759800", + "commits": [], + "end_line": 91, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/core/web/FileResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 91 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/core" @@ -6205,6 +11581,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 17 + }, + { + "blob_sha": "8f3c4f9d3e38bc1ef7ea7aa1a3173c7b3844508a", + "commits": [], + "end_line": 7, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseMemberDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "0ed071cdc151f06e913c0190a9ef839ec875a8e5", + "commits": [], + "end_line": 5, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseRequestRequesterDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "0b3b43c953811913d67407140b3c3349d602a41c", + "commits": [], + "end_line": 10, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseWithOrganizationsDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "8e9c61aedde358a112bc073f7ed79d90ecb6845f", + "commits": [], + "end_line": 27, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/course/repository/CourseRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + }, + { + "blob_sha": "8e9c61aedde358a112bc073f7ed79d90ecb6845f", + "commits": [], + "end_line": 28, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/course/repository/CourseRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 + }, + { + "blob_sha": "55a2149d11e73b9621dae614ec781530569d9bcf", + "commits": [], + "end_line": 20, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/course/repository/CourseRequestRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "0ed979ed11cf6409d6910d385146a882bacdef44", + "commits": [], + "end_line": 24, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseAccessService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/course" @@ -6251,17826 +11711,37470 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 30 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/course" - }, - { - "count": 36, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/assessment", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/assessment", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "a552c5e751e8cb0d16a59755380282599503a1f5", + "blob_sha": "743871ac06562be1fa664acc9b9b551170432015", "commits": [], - "end_line": 14, - "id": "E1", + "end_line": 19, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseAssessmentDashboardDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseDataRetentionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 14 + "start_line": 19 }, { - "blob_sha": "799a31c219a70861d8420b41cdab5e450345fdf6", + "blob_sha": "78df2651c32f5c0499c1d406a6239c933d8902d9", "commits": [], - "end_line": 5, - "id": "E2", + "end_line": 19, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseScoresDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseDeletionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 5 + "start_line": 19 }, { - "blob_sha": "6e1e184eb2ff8dd14fcc3ddba71f59f51ea3c32e", + "blob_sha": "78df2651c32f5c0499c1d406a6239c933d8902d9", "commits": [], - "end_line": 9, - "id": "E3", + "end_line": 20, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/LockedCourseSubmissionDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseDeletionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/course" - }, - { - "count": 31, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/atlas", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/atlas", - "kind": "uses", - "refs": [ + "start_line": 20 + }, { - "blob_sha": "a58a6e828fe24d0ccd8e4d5a39d87b1bbe005386", + "blob_sha": "9dc3aef84eed74c21b1d7c81b6bc09f9f88b42b4", "commits": [], - "end_line": 27, - "id": "E1", + "end_line": 29, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/domain/Course.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseRequestService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 27 + "start_line": 29 }, { - "blob_sha": "a58a6e828fe24d0ccd8e4d5a39d87b1bbe005386", + "blob_sha": "718b8c73ee89bef5ceb0864fb7592e825ba39166", "commits": [], - "end_line": 28, - "id": "E2", + "end_line": 17, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/domain/Course.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseResetService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 28 + "start_line": 17 }, { - "blob_sha": "a58a6e828fe24d0ccd8e4d5a39d87b1bbe005386", + "blob_sha": "718b8c73ee89bef5ceb0864fb7592e825ba39166", "commits": [], - "end_line": 29, - "id": "E3", + "end_line": 18, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/domain/Course.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseResetService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 29 + "start_line": 18 + }, + { + "blob_sha": "2eb62ff9fe0e141cddd245e738cff8f661d10073", + "commits": [], + "end_line": 32, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseStatsService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 32 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/course" }, { - "count": 20, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/communication", + "count": 36, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/assessment", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/communication", + "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/assessment", "kind": "uses", "refs": [ { - "blob_sha": "2470b4585a26b48393153e5efbad584eb30370a1", + "blob_sha": "a552c5e751e8cb0d16a59755380282599503a1f5", "commits": [], - "end_line": 10, + "end_line": 14, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/home/CourseHomeDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseAssessmentDashboardDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 14 }, { - "blob_sha": "8e9c61aedde358a112bc073f7ed79d90ecb6845f", + "blob_sha": "799a31c219a70861d8420b41cdab5e450345fdf6", "commits": [], - "end_line": 30, + "end_line": 5, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/repository/CourseRepository.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseScoresDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 30 + "start_line": 5 }, { - "blob_sha": "ab5c770d5c686ef75403d87f1d4e77da7d19f5c7", + "blob_sha": "6e1e184eb2ff8dd14fcc3ddba71f59f51ea3c32e", "commits": [], - "end_line": 21, + "end_line": 9, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseAdminService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/LockedCourseSubmissionDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 21 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/course" - }, - { - "count": 264, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/core", - "kind": "uses", - "refs": [ + "start_line": 9 + }, { - "blob_sha": "f17dd6ebc595e99fabc951dd4e509665ab780001", + "blob_sha": "8e9c61aedde358a112bc073f7ed79d90ecb6845f", "commits": [], "end_line": 3, - "id": "E1", + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/api/AbstractCourseApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/repository/CourseRepository.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 3 }, { - "blob_sha": "e37880df1443278dc581d1d054d9b4edde3aeb7e", + "blob_sha": "ab5c770d5c686ef75403d87f1d4e77da7d19f5c7", "commits": [], - "end_line": 3, - "id": "E2", + "end_line": 17, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/api/CourseApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseAdminService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 + "start_line": 17 }, { - "blob_sha": "7cf9da27ae3116823049d7288bab85c7a1f04977", + "blob_sha": "78df2651c32f5c0499c1d406a6239c933d8902d9", "commits": [], - "end_line": 3, - "id": "E3", + "end_line": 21, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/config/CourseHomeAiConfiguration.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseDeletionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/course" - }, - { - "count": 28, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/exam", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/exam", - "kind": "uses", - "refs": [ + "start_line": 21 + }, { - "blob_sha": "a58a6e828fe24d0ccd8e4d5a39d87b1bbe005386", + "blob_sha": "78df2651c32f5c0499c1d406a6239c933d8902d9", "commits": [], - "end_line": 36, - "id": "E1", + "end_line": 22, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/domain/Course.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseDeletionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 36 + "start_line": 22 }, { - "blob_sha": "c12742ae22a3430d81a574468bc35cfe1e193d09", + "blob_sha": "6ce830e678713341c08ec1c0b14efd976a565164", "commits": [], - "end_line": 9, - "id": "E2", + "end_line": 18, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/ActiveExamForCourseDashboardDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseMaterialImportService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 + "start_line": 18 }, { - "blob_sha": "c12742ae22a3430d81a574468bc35cfe1e193d09", + "blob_sha": "2b825c17c2702727ad224d3be01258483b8544f1", "commits": [], - "end_line": 10, - "id": "E3", + "end_line": 24, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/ActiveExamForCourseDashboardDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseOverviewExerciseService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 24 + }, + { + "blob_sha": "2b825c17c2702727ad224d3be01258483b8544f1", + "commits": [], + "end_line": 25, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseOverviewExerciseService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/course" }, { - "count": 79, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/exercise", + "count": 31, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/atlas", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/exercise", + "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/atlas", "kind": "uses", "refs": [ { "blob_sha": "a58a6e828fe24d0ccd8e4d5a39d87b1bbe005386", "commits": [], - "end_line": 37, + "end_line": 27, "id": "E1", "kind": "lines", "path": "src/main/java/de/tum/cit/aet/artemis/course/domain/Course.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 37 + "start_line": 27 }, { "blob_sha": "a58a6e828fe24d0ccd8e4d5a39d87b1bbe005386", "commits": [], - "end_line": 38, + "end_line": 28, "id": "E2", "kind": "lines", "path": "src/main/java/de/tum/cit/aet/artemis/course/domain/Course.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 38 + "start_line": 28 }, { - "blob_sha": "a552c5e751e8cb0d16a59755380282599503a1f5", + "blob_sha": "a58a6e828fe24d0ccd8e4d5a39d87b1bbe005386", "commits": [], - "end_line": 17, + "end_line": 29, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseAssessmentDashboardDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/domain/Course.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 17 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/course" - }, - { - "count": 6, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/fileupload", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/fileupload", - "kind": "uses", - "refs": [ + "start_line": 29 + }, { - "blob_sha": "70d9910ffe6b2b5703e9d26ca0c845b0aed5cdad", + "blob_sha": "08f9e7c4341577fb87e6405ed2f6660b78d1f5d5", "commits": [], - "end_line": 14, - "id": "E1", + "end_line": 12, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseDashboardExerciseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseDashboardDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 14 + "start_line": 12 }, { - "blob_sha": "de22895d123c9fe7f5ddf1a5d8507edaebe53b8b", + "blob_sha": "f610759898534978c345f4ef08f3bcf8b82df5a2", "commits": [], - "end_line": 10, - "id": "E2", + "end_line": 9, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseManagementExerciseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CoursePrerequisiteDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 9 }, { - "blob_sha": "de22895d123c9fe7f5ddf1a5d8507edaebe53b8b", + "blob_sha": "f610759898534978c345f4ef08f3bcf8b82df5a2", "commits": [], - "end_line": 11, - "id": "E3", + "end_line": 10, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseManagementExerciseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CoursePrerequisiteDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/course" - }, - { - "count": 4, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/globalsearch", - "kind": "uses", - "refs": [ + "start_line": 10 + }, { - "blob_sha": "78df2651c32f5c0499c1d406a6239c933d8902d9", + "blob_sha": "a8abe1ec00d5e121656ace58fc4f910244aeb297", "commits": [], - "end_line": 45, - "id": "E1", + "end_line": 10, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseDeletionService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseWithContentDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 45 + "start_line": 10 }, { - "blob_sha": "78df2651c32f5c0499c1d406a6239c933d8902d9", + "blob_sha": "d665da7cf63d3b97a4ea0d6d2d73292c618a4444", "commits": [], - "end_line": 46, - "id": "E2", + "end_line": 21, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseDeletionService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/repository/CourseConfigurationRepository.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 46 + "start_line": 21 }, { - "blob_sha": "55c08977f3c052ca9ccd9a182f6670c3e135c942", + "blob_sha": "0ed979ed11cf6409d6910d385146a882bacdef44", "commits": [], - "end_line": 53, - "id": "E3", + "end_line": 27, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/web/CourseUpdateResource.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseAccessService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 53 + "start_line": 27 + }, + { + "blob_sha": "0ed979ed11cf6409d6910d385146a882bacdef44", + "commits": [], + "end_line": 28, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseAccessService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/course" }, { - "count": 7, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/iris", + "count": 20, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/communication", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/iris", + "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/communication", "kind": "uses", "refs": [ { "blob_sha": "2470b4585a26b48393153e5efbad584eb30370a1", "commits": [], - "end_line": 13, + "end_line": 10, "id": "E1", "kind": "lines", "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/home/CourseHomeDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 13 + "start_line": 10 }, { - "blob_sha": "ab5c770d5c686ef75403d87f1d4e77da7d19f5c7", + "blob_sha": "8e9c61aedde358a112bc073f7ed79d90ecb6845f", "commits": [], - "end_line": 34, + "end_line": 30, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseAdminService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/repository/CourseRepository.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 34 + "start_line": 30 }, { - "blob_sha": "9563c50a80505258ed157720b1f1bf0a9b79ce55", + "blob_sha": "ab5c770d5c686ef75403d87f1d4e77da7d19f5c7", "commits": [], "end_line": 21, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseAvailableTabsService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseAdminService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 21 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/course" - }, - { - "count": 13, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/lecture", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/lecture", - "kind": "uses", - "refs": [ - { - "blob_sha": "a58a6e828fe24d0ccd8e4d5a39d87b1bbe005386", - "commits": [], - "end_line": 39, - "id": "E1", - "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/domain/Course.java", - "repo": "ls1intum/Artemis", - "role": "import", - "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 39 }, { - "blob_sha": "12cdc99488cec60ede67f17330c89232cd2f62eb", + "blob_sha": "ab5c770d5c686ef75403d87f1d4e77da7d19f5c7", "commits": [], - "end_line": 10, - "id": "E2", + "end_line": 22, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/LectureForCourseManagementDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseAdminService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 22 }, { "blob_sha": "ab5c770d5c686ef75403d87f1d4e77da7d19f5c7", "commits": [], - "end_line": 35, - "id": "E3", + "end_line": 23, + "id": "E5", "kind": "lines", "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseAdminService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 35 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/course" - }, - { - "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/localci", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/localci", - "kind": "uses", - "refs": [ + "start_line": 23 + }, { "blob_sha": "ab5c770d5c686ef75403d87f1d4e77da7d19f5c7", "commits": [], - "end_line": 36, - "id": "E1", + "end_line": 24, + "id": "E6", "kind": "lines", "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseAdminService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 36 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/course" - }, - { - "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/localvc", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/localvc", - "kind": "uses", - "refs": [ + "start_line": 24 + }, { - "blob_sha": "0ed979ed11cf6409d6910d385146a882bacdef44", + "blob_sha": "9563c50a80505258ed157720b1f1bf0a9b79ce55", "commits": [], - "end_line": 40, - "id": "E1", + "end_line": 14, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseAccessService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseAvailableTabsService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 40 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/course" - }, - { - "count": 8, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/lti", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/lti", - "kind": "uses", - "refs": [ + "start_line": 14 + }, { - "blob_sha": "d516c40bea49d4414d729211a392fdf46ca109c4", + "blob_sha": "78df2651c32f5c0499c1d406a6239c933d8902d9", "commits": [], - "end_line": 13, - "id": "E1", + "end_line": 27, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseManagementDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseDeletionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 13 + "start_line": 27 }, { - "blob_sha": "633fe7426df5ff02928a7a707caf5992b449139f", + "blob_sha": "78df2651c32f5c0499c1d406a6239c933d8902d9", "commits": [], - "end_line": 7, - "id": "E2", + "end_line": 28, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/LtiPlatformConfigurationResponseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseDeletionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 28 }, { - "blob_sha": "d56fca27b2777e607cd7b30c46a0bf941b894500", + "blob_sha": "78df2651c32f5c0499c1d406a6239c933d8902d9", "commits": [], - "end_line": 8, - "id": "E3", + "end_line": 29, + "id": "E10", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/OnlineCourseConfigurationResponseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseDeletionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 8 + "start_line": 29 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/course" }, { - "count": 7, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/modeling", + "count": 264, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/modeling", + "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/core", "kind": "uses", "refs": [ { - "blob_sha": "70d9910ffe6b2b5703e9d26ca0c845b0aed5cdad", + "blob_sha": "f17dd6ebc595e99fabc951dd4e509665ab780001", "commits": [], - "end_line": 15, + "end_line": 3, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseDashboardExerciseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/api/AbstractCourseApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 15 + "start_line": 3 }, { - "blob_sha": "de22895d123c9fe7f5ddf1a5d8507edaebe53b8b", + "blob_sha": "e37880df1443278dc581d1d054d9b4edde3aeb7e", "commits": [], - "end_line": 12, + "end_line": 3, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseManagementExerciseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/api/CourseApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 12 + "start_line": 3 }, { - "blob_sha": "de22895d123c9fe7f5ddf1a5d8507edaebe53b8b", + "blob_sha": "7cf9da27ae3116823049d7288bab85c7a1f04977", "commits": [], - "end_line": 13, + "end_line": 3, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseManagementExerciseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/config/CourseHomeAiConfiguration.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 13 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/course" - }, - { - "count": 11, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/notification", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/notification", - "kind": "uses", - "refs": [ + "start_line": 3 + }, { - "blob_sha": "743871ac06562be1fa664acc9b9b551170432015", + "blob_sha": "7cf9da27ae3116823049d7288bab85c7a1f04977", "commits": [], - "end_line": 24, - "id": "E1", + "end_line": 19, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseDataRetentionService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/config/CourseHomeAiConfiguration.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 24 + "start_line": 19 }, { - "blob_sha": "743871ac06562be1fa664acc9b9b551170432015", + "blob_sha": "7cf9da27ae3116823049d7288bab85c7a1f04977", "commits": [], - "end_line": 25, - "id": "E2", + "end_line": 20, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseDataRetentionService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/config/CourseHomeAiConfiguration.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 25 + "start_line": 20 }, { - "blob_sha": "78df2651c32f5c0499c1d406a6239c933d8902d9", + "blob_sha": "7cf9da27ae3116823049d7288bab85c7a1f04977", "commits": [], - "end_line": 49, - "id": "E3", + "end_line": 21, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseDeletionService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/config/CourseHomeAiConfiguration.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 49 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/course" - }, - { - "count": 3, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/plagiarism", - "kind": "uses", - "refs": [ + "start_line": 21 + }, { - "blob_sha": "2b825c17c2702727ad224d3be01258483b8544f1", + "blob_sha": "149117dec606487dd73b74a6fbfd0b2b882afe61", "commits": [], - "end_line": 51, - "id": "E1", + "end_line": 3, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseOverviewExerciseService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/config/CourseHomeInfoContributor.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 51 + "start_line": 3 }, { - "blob_sha": "2b825c17c2702727ad224d3be01258483b8544f1", + "blob_sha": "a58a6e828fe24d0ccd8e4d5a39d87b1bbe005386", "commits": [], - "end_line": 52, - "id": "E2", + "end_line": 30, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseOverviewExerciseService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/domain/Course.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 52 + "start_line": 30 }, { - "blob_sha": "a7aa675450d2f557399b0edbfbc95673401713b6", + "blob_sha": "a58a6e828fe24d0ccd8e4d5a39d87b1bbe005386", "commits": [], - "end_line": 44, - "id": "E3", + "end_line": 31, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/domain/Course.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 44 + "start_line": 31 + }, + { + "blob_sha": "a58a6e828fe24d0ccd8e4d5a39d87b1bbe005386", + "commits": [], + "end_line": 32, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/course/domain/Course.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 32 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/course" }, { - "count": 20, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/programming", + "count": 28, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/exam", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/programming", + "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/exam", "kind": "uses", "refs": [ { "blob_sha": "a58a6e828fe24d0ccd8e4d5a39d87b1bbe005386", "commits": [], - "end_line": 40, + "end_line": 36, "id": "E1", "kind": "lines", "path": "src/main/java/de/tum/cit/aet/artemis/course/domain/Course.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 40 + "start_line": 36 }, { - "blob_sha": "5627efde985abdd9c51e62ba374d9121ba2d7a1b", + "blob_sha": "c12742ae22a3430d81a574468bc35cfe1e193d09", "commits": [], - "end_line": 21, + "end_line": 9, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseCreateDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/ActiveExamForCourseDashboardDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 21 + "start_line": 9 }, { - "blob_sha": "08f9e7c4341577fb87e6405ed2f6660b78d1f5d5", + "blob_sha": "c12742ae22a3430d81a574468bc35cfe1e193d09", "commits": [], - "end_line": 17, + "end_line": 10, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseDashboardDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/ActiveExamForCourseDashboardDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 17 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/course" - }, - { - "count": 11, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/quiz", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/quiz", - "kind": "uses", - "refs": [ + "start_line": 10 + }, { - "blob_sha": "70d9910ffe6b2b5703e9d26ca0c845b0aed5cdad", + "blob_sha": "08f9e7c4341577fb87e6405ed2f6660b78d1f5d5", "commits": [], "end_line": 16, - "id": "E1", + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseDashboardExerciseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseDashboardDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 16 }, { - "blob_sha": "70d9910ffe6b2b5703e9d26ca0c845b0aed5cdad", + "blob_sha": "ab5c770d5c686ef75403d87f1d4e77da7d19f5c7", "commits": [], - "end_line": 17, - "id": "E2", + "end_line": 28, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseDashboardExerciseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseAdminService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 17 + "start_line": 28 }, { - "blob_sha": "143703b97d0da2004354c66abbe684fe9d03ce70", + "blob_sha": "a1efeebfcbedc9e4689e209588ab96d3f5c6cbcb", "commits": [], - "end_line": 11, - "id": "E3", + "end_line": 39, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseForQuizSelectionDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseArchiveService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/course" - }, - { - "count": 7, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/text", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/text", - "kind": "uses", - "refs": [ + "start_line": 39 + }, { - "blob_sha": "70d9910ffe6b2b5703e9d26ca0c845b0aed5cdad", + "blob_sha": "a1efeebfcbedc9e4689e209588ab96d3f5c6cbcb", "commits": [], - "end_line": 18, - "id": "E1", + "end_line": 40, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseDashboardExerciseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseArchiveService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 18 + "start_line": 40 }, { - "blob_sha": "de22895d123c9fe7f5ddf1a5d8507edaebe53b8b", + "blob_sha": "a1efeebfcbedc9e4689e209588ab96d3f5c6cbcb", "commits": [], - "end_line": 17, - "id": "E2", + "end_line": 41, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseManagementExerciseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseArchiveService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 17 + "start_line": 41 }, { - "blob_sha": "de22895d123c9fe7f5ddf1a5d8507edaebe53b8b", + "blob_sha": "9563c50a80505258ed157720b1f1bf0a9b79ce55", "commits": [], - "end_line": 18, - "id": "E3", + "end_line": 20, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseManagementExerciseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseAvailableTabsService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 18 + "start_line": 20 + }, + { + "blob_sha": "78df2651c32f5c0499c1d406a6239c933d8902d9", + "commits": [], + "end_line": 37, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseDeletionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 37 } ], "src": "M:src/main/java/de/tum/cit/aet/artemis/course" }, { - "count": 16, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/tutorialgroup", + "count": 79, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/exercise", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/tutorialgroup", + "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/exercise", "kind": "uses", "refs": [ { "blob_sha": "a58a6e828fe24d0ccd8e4d5a39d87b1bbe005386", "commits": [], - "end_line": 41, + "end_line": 37, "id": "E1", "kind": "lines", "path": "src/main/java/de/tum/cit/aet/artemis/course/domain/Course.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 41 + "start_line": 37 }, { - "blob_sha": "a552c5e751e8cb0d16a59755380282599503a1f5", + "blob_sha": "a58a6e828fe24d0ccd8e4d5a39d87b1bbe005386", "commits": [], - "end_line": 19, + "end_line": 38, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseAssessmentDashboardDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/domain/Course.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 19 + "start_line": 38 }, { - "blob_sha": "d516c40bea49d4414d729211a392fdf46ca109c4", + "blob_sha": "a552c5e751e8cb0d16a59755380282599503a1f5", "commits": [], - "end_line": 15, + "end_line": 17, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseManagementDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseAssessmentDashboardDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 15 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/course" - }, - { - "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/videosource", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/videosource", - "kind": "uses", - "refs": [ + "start_line": 17 + }, { - "blob_sha": "78df2651c32f5c0499c1d406a6239c933d8902d9", + "blob_sha": "a552c5e751e8cb0d16a59755380282599503a1f5", "commits": [], - "end_line": 54, - "id": "E1", + "end_line": 18, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseDeletionService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseAssessmentDashboardDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 54 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/course" - }, - { - "count": 2, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/account", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/deimos->M:src/main/java/de/tum/cit/aet/artemis/account", - "kind": "uses", - "refs": [ + "start_line": 18 + }, { - "blob_sha": "173b9ca5f0805042fd772adca2b40dda27bc7735", + "blob_sha": "70d9910ffe6b2b5703e9d26ca0c845b0aed5cdad", "commits": [], - "end_line": 32, - "id": "E1", + "end_line": 12, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/deimos/service/DeimosBatchService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseDashboardExerciseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 32 + "start_line": 12 }, { - "blob_sha": "82db3616437a7f72ab578d00ebc1178c63ca9a80", + "blob_sha": "70d9910ffe6b2b5703e9d26ca0c845b0aed5cdad", "commits": [], - "end_line": 14, - "id": "E2", + "end_line": 13, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/deimos/web/DeimosResource.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseDashboardExerciseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 14 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/deimos" - }, - { - "count": 17, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/deimos->M:src/main/java/de/tum/cit/aet/artemis/core", - "kind": "uses", - "refs": [ + "start_line": 13 + }, { - "blob_sha": "8f228fc5f573a03327aff3bff254afa117ed19da", + "blob_sha": "d34172ad943ac1e7f4e6429b461c70577dba1a55", "commits": [], - "end_line": 5, - "id": "E1", + "end_line": 11, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/deimos/api/DeimosBatchApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseExerciseDueDateDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 5 + "start_line": 11 }, { - "blob_sha": "165bef2962f30d52c9121d7acf76dff9be93ed3a", + "blob_sha": "d34172ad943ac1e7f4e6429b461c70577dba1a55", "commits": [], - "end_line": 7, - "id": "E2", + "end_line": 12, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/deimos/config/DeimosEnabled.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseExerciseDueDateDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 12 }, { - "blob_sha": "23a3413e3b94f2f0771ef6b2409ef5a3561f66e5", + "blob_sha": "dc8ca0e526dbd8612f51f1b1e08796463d503b30", "commits": [], - "end_line": 10, - "id": "E3", + "end_line": 8, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/deimos/config/DeimosLlmConfiguration.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseExercisesForOverviewDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 8 + }, + { + "blob_sha": "dc8ca0e526dbd8612f51f1b1e08796463d503b30", + "commits": [], + "end_line": 9, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseExercisesForOverviewDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/deimos" + "src": "M:src/main/java/de/tum/cit/aet/artemis/course" }, { - "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", + "count": 6, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/fileupload", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/deimos->M:src/main/java/de/tum/cit/aet/artemis/course", + "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/fileupload", "kind": "uses", "refs": [ { - "blob_sha": "173b9ca5f0805042fd772adca2b40dda27bc7735", + "blob_sha": "70d9910ffe6b2b5703e9d26ca0c845b0aed5cdad", "commits": [], - "end_line": 34, + "end_line": 14, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/deimos/service/DeimosBatchService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseDashboardExerciseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 34 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/deimos" - }, - { - "count": 2, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/exercise", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/deimos->M:src/main/java/de/tum/cit/aet/artemis/exercise", - "kind": "uses", - "refs": [ + "start_line": 14 + }, { - "blob_sha": "412078f7a154dfe50179677c871a3ac1d1acf5ee", + "blob_sha": "de22895d123c9fe7f5ddf1a5d8507edaebe53b8b", "commits": [], - "end_line": 60, - "id": "E1", + "end_line": 10, + "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/deimos/service/DeimosAnalysisService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseManagementExerciseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 60 + "start_line": 10 }, { - "blob_sha": "412078f7a154dfe50179677c871a3ac1d1acf5ee", + "blob_sha": "de22895d123c9fe7f5ddf1a5d8507edaebe53b8b", "commits": [], - "end_line": 61, - "id": "E2", + "end_line": 11, + "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/deimos/service/DeimosAnalysisService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseManagementExerciseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 61 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/deimos" - }, - { - "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/localvc", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/deimos->M:src/main/java/de/tum/cit/aet/artemis/localvc", - "kind": "uses", - "refs": [ + "start_line": 11 + }, { - "blob_sha": "412078f7a154dfe50179677c871a3ac1d1acf5ee", + "blob_sha": "8e9c61aedde358a112bc073f7ed79d90ecb6845f", "commits": [], - "end_line": 62, - "id": "E1", + "end_line": 44, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/deimos/service/DeimosAnalysisService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/repository/CourseRepository.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 62 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/deimos" - }, - { - "count": 2, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/notification", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/deimos->M:src/main/java/de/tum/cit/aet/artemis/notification", - "kind": "uses", - "refs": [ + "start_line": 44 + }, { - "blob_sha": "173b9ca5f0805042fd772adca2b40dda27bc7735", + "blob_sha": "6ce830e678713341c08ec1c0b14efd976a565164", "commits": [], - "end_line": 50, - "id": "E1", + "end_line": 31, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/deimos/service/DeimosBatchService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseMaterialImportService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 50 + "start_line": 31 }, { - "blob_sha": "173b9ca5f0805042fd772adca2b40dda27bc7735", + "blob_sha": "6ce830e678713341c08ec1c0b14efd976a565164", "commits": [], - "end_line": 51, - "id": "E2", + "end_line": 32, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/deimos/service/DeimosBatchService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseMaterialImportService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 51 + "start_line": 32 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/deimos" + "src": "M:src/main/java/de/tum/cit/aet/artemis/course" }, { - "count": 9, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/programming", + "count": 4, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/deimos->M:src/main/java/de/tum/cit/aet/artemis/programming", + "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/globalsearch", "kind": "uses", "refs": [ { - "blob_sha": "3bf777cfbd505c51fec21bc964f4f1c6bb3e6eda", + "blob_sha": "78df2651c32f5c0499c1d406a6239c933d8902d9", "commits": [], - "end_line": 15, + "end_line": 45, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/deimos/repository/DeimosBatchParticipationRepository.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseDeletionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 15 + "start_line": 45 }, { - "blob_sha": "412078f7a154dfe50179677c871a3ac1d1acf5ee", + "blob_sha": "78df2651c32f5c0499c1d406a6239c933d8902d9", "commits": [], - "end_line": 63, + "end_line": 46, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/deimos/service/DeimosAnalysisService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseDeletionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 63 + "start_line": 46 }, { - "blob_sha": "412078f7a154dfe50179677c871a3ac1d1acf5ee", + "blob_sha": "55c08977f3c052ca9ccd9a182f6670c3e135c942", "commits": [], - "end_line": 64, + "end_line": 53, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/deimos/service/DeimosAnalysisService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/web/CourseUpdateResource.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 64 + "start_line": 53 + }, + { + "blob_sha": "55c08977f3c052ca9ccd9a182f6670c3e135c942", + "commits": [], + "end_line": 54, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/course/web/CourseUpdateResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 54 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/deimos" + "src": "M:src/main/java/de/tum/cit/aet/artemis/course" }, { - "count": 4, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/account", + "count": 7, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/iris", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/demo->M:src/main/java/de/tum/cit/aet/artemis/account", + "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/iris", "kind": "uses", "refs": [ { - "blob_sha": "3d88798ed89cff5dc73608d850dacb5e4398c413", + "blob_sha": "2470b4585a26b48393153e5efbad584eb30370a1", "commits": [], "end_line": 13, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoCourseContentSeedingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/home/CourseHomeDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 13 }, { - "blob_sha": "d251ed9fbfcc2c994ec5971def466727a7a1299a", + "blob_sha": "ab5c770d5c686ef75403d87f1d4e77da7d19f5c7", "commits": [], - "end_line": 12, + "end_line": 34, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoDataSeedingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseAdminService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 12 + "start_line": 34 }, { - "blob_sha": "d251ed9fbfcc2c994ec5971def466727a7a1299a", + "blob_sha": "9563c50a80505258ed157720b1f1bf0a9b79ce55", "commits": [], - "end_line": 13, + "end_line": 21, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoDataSeedingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseAvailableTabsService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 13 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/demo" - }, - { - "count": 2, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/assessment", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/demo->M:src/main/java/de/tum/cit/aet/artemis/assessment", - "kind": "uses", - "refs": [ + "start_line": 21 + }, { - "blob_sha": "3d88798ed89cff5dc73608d850dacb5e4398c413", + "blob_sha": "78df2651c32f5c0499c1d406a6239c933d8902d9", "commits": [], - "end_line": 14, - "id": "E1", + "end_line": 47, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoCourseContentSeedingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseDeletionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 14 + "start_line": 47 }, { - "blob_sha": "f760fca6bd7268201a70abd51074e4002ea8d1c8", + "blob_sha": "718b8c73ee89bef5ceb0864fb7592e825ba39166", "commits": [], - "end_line": 17, - "id": "E2", + "end_line": 36, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoExerciseSeedingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseResetService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 17 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/demo" - }, - { - "count": 2, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/atlas", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/demo->M:src/main/java/de/tum/cit/aet/artemis/atlas", - "kind": "uses", - "refs": [ + "start_line": 36 + }, { - "blob_sha": "3d88798ed89cff5dc73608d850dacb5e4398c413", + "blob_sha": "db2861932c4fe2df4b3d1b9bd3789e9983fd5c10", "commits": [], - "end_line": 15, - "id": "E1", + "end_line": 21, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoCourseContentSeedingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/home/CourseHomeSectionsService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 15 + "start_line": 21 }, { - "blob_sha": "3d88798ed89cff5dc73608d850dacb5e4398c413", + "blob_sha": "db2861932c4fe2df4b3d1b9bd3789e9983fd5c10", "commits": [], - "end_line": 16, - "id": "E2", + "end_line": 22, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoCourseContentSeedingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/home/CourseHomeSectionsService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 16 + "start_line": 22 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/demo" + "src": "M:src/main/java/de/tum/cit/aet/artemis/course" }, { - "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/communication", + "count": 13, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/lecture", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/demo->M:src/main/java/de/tum/cit/aet/artemis/communication", + "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/lecture", "kind": "uses", "refs": [ { - "blob_sha": "3d88798ed89cff5dc73608d850dacb5e4398c413", + "blob_sha": "a58a6e828fe24d0ccd8e4d5a39d87b1bbe005386", "commits": [], - "end_line": 17, + "end_line": 39, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoCourseContentSeedingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/domain/Course.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 17 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/demo" - }, - { - "count": 5, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/demo->M:src/main/java/de/tum/cit/aet/artemis/core", - "kind": "uses", - "refs": [ + "start_line": 39 + }, { - "blob_sha": "3d88798ed89cff5dc73608d850dacb5e4398c413", + "blob_sha": "12cdc99488cec60ede67f17330c89232cd2f62eb", "commits": [], - "end_line": 3, - "id": "E1", + "end_line": 10, + "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoCourseContentSeedingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/LectureForCourseManagementDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 + "start_line": 10 }, { - "blob_sha": "d251ed9fbfcc2c994ec5971def466727a7a1299a", + "blob_sha": "ab5c770d5c686ef75403d87f1d4e77da7d19f5c7", "commits": [], - "end_line": 14, - "id": "E2", + "end_line": 35, + "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoDataSeedingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseAdminService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 14 + "start_line": 35 }, { - "blob_sha": "d251ed9fbfcc2c994ec5971def466727a7a1299a", + "blob_sha": "9563c50a80505258ed157720b1f1bf0a9b79ce55", "commits": [], - "end_line": 3, - "id": "E3", + "end_line": 22, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoDataSeedingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseAvailableTabsService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/demo" - }, - { - "count": 4, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/demo->M:src/main/java/de/tum/cit/aet/artemis/course", - "kind": "uses", - "refs": [ + "start_line": 22 + }, { - "blob_sha": "3d88798ed89cff5dc73608d850dacb5e4398c413", + "blob_sha": "78df2651c32f5c0499c1d406a6239c933d8902d9", "commits": [], - "end_line": 18, - "id": "E1", + "end_line": 48, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoCourseContentSeedingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseDeletionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 18 + "start_line": 48 }, { - "blob_sha": "d251ed9fbfcc2c994ec5971def466727a7a1299a", + "blob_sha": "e003f7d92e522384ebd18e13ff80243918f38ca0", "commits": [], - "end_line": 16, - "id": "E2", + "end_line": 24, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoDataSeedingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseLoadService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 16 + "start_line": 24 }, { - "blob_sha": "d251ed9fbfcc2c994ec5971def466727a7a1299a", + "blob_sha": "e003f7d92e522384ebd18e13ff80243918f38ca0", "commits": [], - "end_line": 17, - "id": "E3", + "end_line": 25, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoDataSeedingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseLoadService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 17 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/demo" - }, - { - "count": 3, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/exam", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/demo->M:src/main/java/de/tum/cit/aet/artemis/exam", - "kind": "uses", - "refs": [ + "start_line": 25 + }, { - "blob_sha": "f760fca6bd7268201a70abd51074e4002ea8d1c8", + "blob_sha": "6ce830e678713341c08ec1c0b14efd976a565164", "commits": [], - "end_line": 19, - "id": "E1", + "end_line": 33, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoExerciseSeedingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseMaterialImportService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 19 + "start_line": 33 }, { - "blob_sha": "f760fca6bd7268201a70abd51074e4002ea8d1c8", + "blob_sha": "6ce830e678713341c08ec1c0b14efd976a565164", "commits": [], - "end_line": 20, - "id": "E2", + "end_line": 34, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoExerciseSeedingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseMaterialImportService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 20 + "start_line": 34 }, { - "blob_sha": "f760fca6bd7268201a70abd51074e4002ea8d1c8", + "blob_sha": "6ce830e678713341c08ec1c0b14efd976a565164", "commits": [], - "end_line": 21, - "id": "E3", + "end_line": 35, + "id": "E10", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoExerciseSeedingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseMaterialImportService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 21 + "start_line": 35 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/demo" + "src": "M:src/main/java/de/tum/cit/aet/artemis/course" }, { - "count": 2, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/exercise", + "count": 1, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/localci", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/demo->M:src/main/java/de/tum/cit/aet/artemis/exercise", + "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/localci", "kind": "uses", "refs": [ { - "blob_sha": "3d88798ed89cff5dc73608d850dacb5e4398c413", + "blob_sha": "ab5c770d5c686ef75403d87f1d4e77da7d19f5c7", "commits": [], - "end_line": 20, + "end_line": 36, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoCourseContentSeedingService.java", - "repo": "ls1intum/Artemis", - "role": "import", - "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 20 - }, - { - "blob_sha": "f760fca6bd7268201a70abd51074e4002ea8d1c8", - "commits": [], - "end_line": 22, - "id": "E2", - "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoExerciseSeedingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseAdminService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 22 + "start_line": 36 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/demo" + "src": "M:src/main/java/de/tum/cit/aet/artemis/course" }, { "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/fileupload", + "dst": "M:src/main/java/de/tum/cit/aet/artemis/localvc", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/demo->M:src/main/java/de/tum/cit/aet/artemis/fileupload", + "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/localvc", "kind": "uses", "refs": [ { - "blob_sha": "f760fca6bd7268201a70abd51074e4002ea8d1c8", + "blob_sha": "0ed979ed11cf6409d6910d385146a882bacdef44", "commits": [], - "end_line": 23, + "end_line": 40, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoExerciseSeedingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseAccessService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 23 + "start_line": 40 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/demo" + "src": "M:src/main/java/de/tum/cit/aet/artemis/course" }, { - "count": 3, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/lecture", + "count": 8, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/lti", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/demo->M:src/main/java/de/tum/cit/aet/artemis/lecture", + "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/lti", "kind": "uses", "refs": [ { - "blob_sha": "3d88798ed89cff5dc73608d850dacb5e4398c413", + "blob_sha": "d516c40bea49d4414d729211a392fdf46ca109c4", "commits": [], - "end_line": 21, + "end_line": 13, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoCourseContentSeedingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseManagementDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 21 + "start_line": 13 }, { - "blob_sha": "3d88798ed89cff5dc73608d850dacb5e4398c413", + "blob_sha": "633fe7426df5ff02928a7a707caf5992b449139f", "commits": [], - "end_line": 22, + "end_line": 7, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoCourseContentSeedingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/LtiPlatformConfigurationResponseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 22 + "start_line": 7 }, { - "blob_sha": "3d88798ed89cff5dc73608d850dacb5e4398c413", + "blob_sha": "d56fca27b2777e607cd7b30c46a0bf941b894500", "commits": [], - "end_line": 23, + "end_line": 8, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoCourseContentSeedingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/OnlineCourseConfigurationResponseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 23 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/demo" - }, - { - "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/modeling", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/demo->M:src/main/java/de/tum/cit/aet/artemis/modeling", - "kind": "uses", - "refs": [ + "start_line": 8 + }, { - "blob_sha": "f760fca6bd7268201a70abd51074e4002ea8d1c8", + "blob_sha": "d56fca27b2777e607cd7b30c46a0bf941b894500", "commits": [], - "end_line": 24, - "id": "E1", + "end_line": 9, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoExerciseSeedingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/OnlineCourseConfigurationResponseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 24 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/demo" - }, - { - "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/programming", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/demo->M:src/main/java/de/tum/cit/aet/artemis/programming", - "kind": "uses", - "refs": [ + "start_line": 9 + }, { - "blob_sha": "f760fca6bd7268201a70abd51074e4002ea8d1c8", + "blob_sha": "ad7de7799ab9844fe08c7b7ab1eb37e9f23ec3c2", "commits": [], - "end_line": 25, - "id": "E1", + "end_line": 76, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoExerciseSeedingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/web/CourseOverviewResource.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 25 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/demo" - }, - { - "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/quiz", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/demo->M:src/main/java/de/tum/cit/aet/artemis/quiz", - "kind": "uses", - "refs": [ + "start_line": 76 + }, { - "blob_sha": "f760fca6bd7268201a70abd51074e4002ea8d1c8", + "blob_sha": "ad7de7799ab9844fe08c7b7ab1eb37e9f23ec3c2", "commits": [], - "end_line": 26, - "id": "E1", + "end_line": 77, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoExerciseSeedingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/web/CourseOverviewResource.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 26 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/demo" - }, - { - "count": 2, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/text", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/demo->M:src/main/java/de/tum/cit/aet/artemis/text", - "kind": "uses", - "refs": [ + "start_line": 77 + }, { - "blob_sha": "f760fca6bd7268201a70abd51074e4002ea8d1c8", + "blob_sha": "55c08977f3c052ca9ccd9a182f6670c3e135c942", "commits": [], - "end_line": 27, - "id": "E1", + "end_line": 55, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoExerciseSeedingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/web/CourseUpdateResource.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 27 + "start_line": 55 }, { - "blob_sha": "f760fca6bd7268201a70abd51074e4002ea8d1c8", + "blob_sha": "55c08977f3c052ca9ccd9a182f6670c3e135c942", "commits": [], - "end_line": 28, - "id": "E2", + "end_line": 56, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoExerciseSeedingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/web/CourseUpdateResource.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 28 + "start_line": 56 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/demo" + "src": "M:src/main/java/de/tum/cit/aet/artemis/course" }, { - "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/tutorialgroup", + "count": 7, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/modeling", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/demo->M:src/main/java/de/tum/cit/aet/artemis/tutorialgroup", + "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/modeling", "kind": "uses", "refs": [ { - "blob_sha": "3d88798ed89cff5dc73608d850dacb5e4398c413", + "blob_sha": "70d9910ffe6b2b5703e9d26ca0c845b0aed5cdad", "commits": [], - "end_line": 24, + "end_line": 15, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoCourseContentSeedingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseDashboardExerciseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 24 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/demo" - }, - { - "count": 40, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/account", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exam->M:src/main/java/de/tum/cit/aet/artemis/account", - "kind": "uses", - "refs": [ + "start_line": 15 + }, { - "blob_sha": "63cc6c000244d883023cf3f2828497e1e72a9fe5", + "blob_sha": "de22895d123c9fe7f5ddf1a5d8507edaebe53b8b", "commits": [], - "end_line": 7, - "id": "E1", + "end_line": 12, + "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamAccessApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseManagementExerciseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 12 }, { - "blob_sha": "1848f4f702bcd3d392b6f1be906e7c5012758644", + "blob_sha": "de22895d123c9fe7f5ddf1a5d8507edaebe53b8b", "commits": [], - "end_line": 14, - "id": "E2", + "end_line": 13, + "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamCourseHomeApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseManagementExerciseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 14 + "start_line": 13 }, { - "blob_sha": "9fa89857f99bf3975db0e915ccd3bf45ce5949d8", + "blob_sha": "8e9c61aedde358a112bc073f7ed79d90ecb6845f", "commits": [], - "end_line": 10, - "id": "E3", + "end_line": 45, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamSubmissionApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/repository/CourseRepository.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exam" - }, - { - "count": 2, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/admin", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exam->M:src/main/java/de/tum/cit/aet/artemis/admin", - "kind": "uses", - "refs": [ + "start_line": 45 + }, { - "blob_sha": "9adedd3c861b47109210e5393bf183a6ed6d75ba", + "blob_sha": "6ce830e678713341c08ec1c0b14efd976a565164", "commits": [], - "end_line": 45, - "id": "E1", + "end_line": 36, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseMaterialImportService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 45 + "start_line": 36 }, { - "blob_sha": "0897a818e79ecdadaddb035d43fe076f7adc683b", + "blob_sha": "6ce830e678713341c08ec1c0b14efd976a565164", "commits": [], - "end_line": 60, - "id": "E2", + "end_line": 37, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/web/ExamResource.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseMaterialImportService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 60 + "start_line": 37 + }, + { + "blob_sha": "6ce830e678713341c08ec1c0b14efd976a565164", + "commits": [], + "end_line": 38, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseMaterialImportService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 38 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exam" + "src": "M:src/main/java/de/tum/cit/aet/artemis/course" }, { - "count": 40, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/assessment", + "count": 11, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/notification", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exam->M:src/main/java/de/tum/cit/aet/artemis/assessment", + "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/notification", "kind": "uses", "refs": [ { - "blob_sha": "c3f705a329a20518e370fa97a2820816539deac1", + "blob_sha": "743871ac06562be1fa664acc9b9b551170432015", "commits": [], - "end_line": 11, + "end_line": 24, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExamForAssessmentDashboardDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseDataRetentionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 + "start_line": 24 }, { - "blob_sha": "c3f705a329a20518e370fa97a2820816539deac1", + "blob_sha": "743871ac06562be1fa664acc9b9b551170432015", "commits": [], - "end_line": 12, + "end_line": 25, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExamForAssessmentDashboardDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseDataRetentionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 12 + "start_line": 25 }, { - "blob_sha": "e028ab8960cbd98afb420a4aa5436861bad29b44", + "blob_sha": "78df2651c32f5c0499c1d406a6239c933d8902d9", "commits": [], - "end_line": 8, + "end_line": 49, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExamScoresDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseDeletionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 8 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exam" - }, - { - "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/athena", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exam->M:src/main/java/de/tum/cit/aet/artemis/athena", - "kind": "uses", - "refs": [ + "start_line": 49 + }, { - "blob_sha": "25bb64a9520659ea9c268503d9e3d0885041891d", + "blob_sha": "78df2651c32f5c0499c1d406a6239c933d8902d9", "commits": [], - "end_line": 16, - "id": "E1", + "end_line": 50, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/StudentExamAthenaFeedbackService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseDeletionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 16 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exam" - }, - { - "count": 5, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/calendar", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exam->M:src/main/java/de/tum/cit/aet/artemis/calendar", - "kind": "uses", - "refs": [ + "start_line": 50 + }, { - "blob_sha": "7ef42c3044fbf5a67121ff89d240d75dcba5b836", + "blob_sha": "78df2651c32f5c0499c1d406a6239c933d8902d9", "commits": [], - "end_line": 10, - "id": "E1", + "end_line": 51, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseDeletionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 51 }, { - "blob_sha": "7ab7b9281a628e2a062c7acba61defd40106392a", + "blob_sha": "9dc3aef84eed74c21b1d7c81b6bc09f9f88b42b4", "commits": [], - "end_line": 24, - "id": "E2", + "end_line": 48, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/repository/ExamRepository.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseRequestService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 24 + "start_line": 48 }, { - "blob_sha": "9adedd3c861b47109210e5393bf183a6ed6d75ba", + "blob_sha": "9dc3aef84eed74c21b1d7c81b6bc09f9f88b42b4", "commits": [], - "end_line": 63, - "id": "E3", + "end_line": 49, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseRequestService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 63 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exam" - }, - { - "count": 18, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/communication", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exam->M:src/main/java/de/tum/cit/aet/artemis/communication", - "kind": "uses", - "refs": [ + "start_line": 49 + }, { - "blob_sha": "4fbea8d2a9e96c5fdfdbd5a95b99c98461129f02", + "blob_sha": "718b8c73ee89bef5ceb0864fb7592e825ba39166", "commits": [], - "end_line": 28, - "id": "E1", + "end_line": 37, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamDeletionService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseResetService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 28 + "start_line": 37 }, { - "blob_sha": "4fbea8d2a9e96c5fdfdbd5a95b99c98461129f02", + "blob_sha": "718b8c73ee89bef5ceb0864fb7592e825ba39166", "commits": [], - "end_line": 29, - "id": "E2", + "end_line": 38, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamDeletionService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseResetService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 29 + "start_line": 38 }, { - "blob_sha": "4fbea8d2a9e96c5fdfdbd5a95b99c98461129f02", + "blob_sha": "718b8c73ee89bef5ceb0864fb7592e825ba39166", "commits": [], - "end_line": 30, - "id": "E3", + "end_line": 39, + "id": "E10", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamDeletionService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseResetService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 30 + "start_line": 39 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exam" + "src": "M:src/main/java/de/tum/cit/aet/artemis/course" }, { - "count": 248, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", + "count": 3, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exam->M:src/main/java/de/tum/cit/aet/artemis/core", + "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/plagiarism", "kind": "uses", "refs": [ { - "blob_sha": "c86b9a034c62f52106c6c1858129ef77ff38397b", + "blob_sha": "2b825c17c2702727ad224d3be01258483b8544f1", "commits": [], - "end_line": 3, + "end_line": 51, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/AbstractExamApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseOverviewExerciseService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 + "start_line": 51 }, { - "blob_sha": "63cc6c000244d883023cf3f2828497e1e72a9fe5", + "blob_sha": "2b825c17c2702727ad224d3be01258483b8544f1", "commits": [], - "end_line": 8, + "end_line": 52, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamAccessApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseOverviewExerciseService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 8 + "start_line": 52 }, { - "blob_sha": "63cc6c000244d883023cf3f2828497e1e72a9fe5", + "blob_sha": "a7aa675450d2f557399b0edbfbc95673401713b6", "commits": [], - "end_line": 9, + "end_line": 44, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamAccessApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 + "start_line": 44 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exam" + "src": "M:src/main/java/de/tum/cit/aet/artemis/course" }, { - "count": 36, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", + "count": 20, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/programming", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exam->M:src/main/java/de/tum/cit/aet/artemis/course", + "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/programming", "kind": "uses", "refs": [ { - "blob_sha": "1848f4f702bcd3d392b6f1be906e7c5012758644", + "blob_sha": "a58a6e828fe24d0ccd8e4d5a39d87b1bbe005386", "commits": [], - "end_line": 17, + "end_line": 40, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamCourseHomeApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/domain/Course.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 17 + "start_line": 40 }, { - "blob_sha": "1848f4f702bcd3d392b6f1be906e7c5012758644", + "blob_sha": "5627efde985abdd9c51e62ba374d9121ba2d7a1b", "commits": [], - "end_line": 18, + "end_line": 21, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamCourseHomeApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseCreateDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 18 + "start_line": 21 }, { - "blob_sha": "1848f4f702bcd3d392b6f1be906e7c5012758644", + "blob_sha": "08f9e7c4341577fb87e6405ed2f6660b78d1f5d5", "commits": [], - "end_line": 19, + "end_line": 17, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamCourseHomeApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseDashboardDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 19 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exam" - }, - { - "count": 127, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/exercise", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exam->M:src/main/java/de/tum/cit/aet/artemis/exercise", - "kind": "uses", - "refs": [ + "start_line": 17 + }, { - "blob_sha": "63cc6c000244d883023cf3f2828497e1e72a9fe5", + "blob_sha": "cfcef576e4d6525c7526af10f58721ff770f5517", "commits": [], - "end_line": 12, - "id": "E1", + "end_line": 10, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamAccessApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseForQuizExerciseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 12 + "start_line": 10 }, { - "blob_sha": "63cc6c000244d883023cf3f2828497e1e72a9fe5", + "blob_sha": "d516c40bea49d4414d729211a392fdf46ca109c4", "commits": [], - "end_line": 13, - "id": "E2", + "end_line": 14, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamAccessApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseManagementDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 13 + "start_line": 14 }, { - "blob_sha": "7ef42c3044fbf5a67121ff89d240d75dcba5b836", + "blob_sha": "de22895d123c9fe7f5ddf1a5d8507edaebe53b8b", "commits": [], - "end_line": 18, - "id": "E3", + "end_line": 14, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseManagementExerciseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 18 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exam" - }, - { - "count": 12, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/fileupload", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exam->M:src/main/java/de/tum/cit/aet/artemis/fileupload", - "kind": "uses", - "refs": [ + "start_line": 14 + }, { - "blob_sha": "dccd9b6179f757ebc189b6a65758cab095d4748e", + "blob_sha": "de22895d123c9fe7f5ddf1a5d8507edaebe53b8b", "commits": [], - "end_line": 19, - "id": "E1", + "end_line": 15, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExamWithExerciseGroupsDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseManagementExerciseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 19 + "start_line": 15 }, { - "blob_sha": "daac1cd6618cb50b820cd4546e7fb17c68a1f407", + "blob_sha": "55318d6296c76db480a4782aadc6a7d11fd5f200", "commits": [], - "end_line": 11, - "id": "E2", + "end_line": 8, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExerciseForExerciseGroupDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseSettingsDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 + "start_line": 8 }, { - "blob_sha": "45ead5b6330576d43bd59c951856562652870ddf", + "blob_sha": "f0422cbaa486b8e429219864b7dc6ed3ffbb513b", "commits": [], - "end_line": 13, - "id": "E3", + "end_line": 25, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExerciseImportDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseUpdateDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 13 + "start_line": 25 + }, + { + "blob_sha": "8e9c61aedde358a112bc073f7ed79d90ecb6845f", + "commits": [], + "end_line": 46, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/course/repository/CourseRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 46 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exam" + "src": "M:src/main/java/de/tum/cit/aet/artemis/course" }, { - "count": 10, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch", + "count": 11, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/quiz", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exam->M:src/main/java/de/tum/cit/aet/artemis/globalsearch", + "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/quiz", "kind": "uses", "refs": [ { - "blob_sha": "4fbea8d2a9e96c5fdfdbd5a95b99c98461129f02", + "blob_sha": "70d9910ffe6b2b5703e9d26ca0c845b0aed5cdad", "commits": [], - "end_line": 60, + "end_line": 16, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamDeletionService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseDashboardExerciseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 60 + "start_line": 16 }, { - "blob_sha": "4fbea8d2a9e96c5fdfdbd5a95b99c98461129f02", + "blob_sha": "70d9910ffe6b2b5703e9d26ca0c845b0aed5cdad", "commits": [], - "end_line": 61, + "end_line": 17, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamDeletionService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseDashboardExerciseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 61 + "start_line": 17 }, { - "blob_sha": "72682b6310199a793a5020325105c161f2f36b44", + "blob_sha": "143703b97d0da2004354c66abbe684fe9d03ce70", "commits": [], - "end_line": 41, + "end_line": 11, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamImportService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseForQuizSelectionDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 41 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exam" - }, - { - "count": 3, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/localci", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exam->M:src/main/java/de/tum/cit/aet/artemis/localci", - "kind": "uses", - "refs": [ + "start_line": 11 + }, { - "blob_sha": "8a370276db26a827ba9cae4dacd5f056313b9927", + "blob_sha": "de22895d123c9fe7f5ddf1a5d8507edaebe53b8b", "commits": [], - "end_line": 31, - "id": "E1", + "end_line": 16, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamDeletionSummaryService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseManagementExerciseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 31 + "start_line": 16 }, { - "blob_sha": "5a20adf92d8ec4d737032ef755b0a7469e890a54", + "blob_sha": "943a1d74db28661f2246605185ecdb3016899ddf", "commits": [], - "end_line": 22, - "id": "E2", + "end_line": 9, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/StudentExamLiveEventService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseManagementQuizExerciseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 22 + "start_line": 9 }, { - "blob_sha": "0897a818e79ecdadaddb035d43fe076f7adc683b", + "blob_sha": "943a1d74db28661f2246605185ecdb3016899ddf", "commits": [], - "end_line": 150, - "id": "E3", + "end_line": 10, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/web/ExamResource.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseManagementQuizExerciseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 150 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exam" - }, - { - "count": 23, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/modeling", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exam->M:src/main/java/de/tum/cit/aet/artemis/modeling", - "kind": "uses", - "refs": [ + "start_line": 10 + }, { - "blob_sha": "dccd9b6179f757ebc189b6a65758cab095d4748e", + "blob_sha": "9d49b9e2701c61a4cff5d5ddce9d87d75951484e", "commits": [], - "end_line": 20, - "id": "E1", + "end_line": 7, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExamWithExerciseGroupsDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseQuizExerciseReferenceDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 20 + "start_line": 7 }, { - "blob_sha": "dccd9b6179f757ebc189b6a65758cab095d4748e", + "blob_sha": "9563c50a80505258ed157720b1f1bf0a9b79ce55", "commits": [], - "end_line": 21, - "id": "E2", + "end_line": 23, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExamWithExerciseGroupsDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseAvailableTabsService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 21 + "start_line": 23 }, { - "blob_sha": "daac1cd6618cb50b820cd4546e7fb17c68a1f407", + "blob_sha": "6ce830e678713341c08ec1c0b14efd976a565164", "commits": [], - "end_line": 12, - "id": "E3", + "end_line": 46, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExerciseForExerciseGroupDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseMaterialImportService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 12 + "start_line": 46 + }, + { + "blob_sha": "6ce830e678713341c08ec1c0b14efd976a565164", + "commits": [], + "end_line": 47, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseMaterialImportService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 47 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exam" + "src": "M:src/main/java/de/tum/cit/aet/artemis/course" }, { - "count": 6, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism", + "count": 7, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/text", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exam->M:src/main/java/de/tum/cit/aet/artemis/plagiarism", + "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/text", "kind": "uses", "refs": [ { - "blob_sha": "e028ab8960cbd98afb420a4aa5436861bad29b44", + "blob_sha": "70d9910ffe6b2b5703e9d26ca0c845b0aed5cdad", "commits": [], - "end_line": 9, + "end_line": 18, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExamScoresDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseDashboardExerciseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 + "start_line": 18 }, { - "blob_sha": "8a370276db26a827ba9cae4dacd5f056313b9927", + "blob_sha": "de22895d123c9fe7f5ddf1a5d8507edaebe53b8b", "commits": [], - "end_line": 32, + "end_line": 17, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamDeletionSummaryService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseManagementExerciseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 32 + "start_line": 17 }, { - "blob_sha": "9adedd3c861b47109210e5393bf183a6ed6d75ba", + "blob_sha": "de22895d123c9fe7f5ddf1a5d8507edaebe53b8b", "commits": [], - "end_line": 114, + "end_line": 18, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseManagementExerciseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 114 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exam" - }, - { - "count": 41, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/programming", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exam->M:src/main/java/de/tum/cit/aet/artemis/programming", - "kind": "uses", - "refs": [ + "start_line": 18 + }, { - "blob_sha": "dccd9b6179f757ebc189b6a65758cab095d4748e", + "blob_sha": "8e9c61aedde358a112bc073f7ed79d90ecb6845f", "commits": [], - "end_line": 22, - "id": "E1", + "end_line": 47, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExamWithExerciseGroupsDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/repository/CourseRepository.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 22 + "start_line": 47 }, { - "blob_sha": "dccd9b6179f757ebc189b6a65758cab095d4748e", - "commits": [], - "end_line": 23, - "id": "E2", - "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExamWithExerciseGroupsDTO.java", - "repo": "ls1intum/Artemis", - "role": "import", - "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 23 - }, - { - "blob_sha": "dccd9b6179f757ebc189b6a65758cab095d4748e", - "commits": [], - "end_line": 24, - "id": "E3", - "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExamWithExerciseGroupsDTO.java", - "repo": "ls1intum/Artemis", - "role": "import", - "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 24 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exam" - }, - { - "count": 53, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/quiz", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exam->M:src/main/java/de/tum/cit/aet/artemis/quiz", - "kind": "uses", - "refs": [ - { - "blob_sha": "dccd9b6179f757ebc189b6a65758cab095d4748e", + "blob_sha": "38c969846935ca58ba0423c554bb73f9bdfa04b5", "commits": [], - "end_line": 26, - "id": "E1", + "end_line": 17, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExamWithExerciseGroupsDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseAthenaConfigService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 26 + "start_line": 17 }, { - "blob_sha": "dccd9b6179f757ebc189b6a65758cab095d4748e", + "blob_sha": "6ce830e678713341c08ec1c0b14efd976a565164", "commits": [], - "end_line": 27, - "id": "E2", + "end_line": 49, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExamWithExerciseGroupsDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseMaterialImportService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 27 + "start_line": 49 }, { - "blob_sha": "dccd9b6179f757ebc189b6a65758cab095d4748e", + "blob_sha": "6ce830e678713341c08ec1c0b14efd976a565164", "commits": [], - "end_line": 28, - "id": "E3", + "end_line": 50, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExamWithExerciseGroupsDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseMaterialImportService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 28 + "start_line": 50 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exam" + "src": "M:src/main/java/de/tum/cit/aet/artemis/course" }, { "count": 16, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/text", + "dst": "M:src/main/java/de/tum/cit/aet/artemis/tutorialgroup", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exam->M:src/main/java/de/tum/cit/aet/artemis/text", + "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/tutorialgroup", "kind": "uses", "refs": [ { - "blob_sha": "45ead5b6330576d43bd59c951856562652870ddf", + "blob_sha": "a58a6e828fe24d0ccd8e4d5a39d87b1bbe005386", "commits": [], - "end_line": 17, + "end_line": 41, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExerciseImportDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/domain/Course.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 17 + "start_line": 41 }, { - "blob_sha": "e369200b2a77cc000010c0a0abc4205fbf9eebdb", + "blob_sha": "a552c5e751e8cb0d16a59755380282599503a1f5", "commits": [], - "end_line": 13, + "end_line": 19, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/conduction/SubmissionForConductionDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseAssessmentDashboardDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 13 + "start_line": 19 }, { - "blob_sha": "72682b6310199a793a5020325105c161f2f36b44", + "blob_sha": "d516c40bea49d4414d729211a392fdf46ca109c4", "commits": [], - "end_line": 54, + "end_line": 15, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamImportService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/CourseManagementDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 54 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exam" - }, - { - "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/tutorialgroup", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exam->M:src/main/java/de/tum/cit/aet/artemis/tutorialgroup", - "kind": "uses", - "refs": [ + "start_line": 15 + }, { - "blob_sha": "c3f705a329a20518e370fa97a2820816539deac1", + "blob_sha": "6ba99604909c5c135620aaf4c348536f92bd6899", "commits": [], - "end_line": 20, - "id": "E1", + "end_line": 5, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExamForAssessmentDashboardDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/dto/TutorialGroupsConfigurationResponseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 20 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exam" - }, - { - "count": 65, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/account", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/account", - "kind": "uses", - "refs": [ + "start_line": 5 + }, { - "blob_sha": "0f3ffde70100ae0fc0c8c0248993573e78b8b8f5", + "blob_sha": "ab5c770d5c686ef75403d87f1d4e77da7d19f5c7", "commits": [], - "end_line": 47, - "id": "E1", + "end_line": 37, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Exercise.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseAdminService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 47 + "start_line": 37 }, { - "blob_sha": "7bea939e2d8aa5adac9da01a940fe38a24ce5ace", + "blob_sha": "9563c50a80505258ed157720b1f1bf0a9b79ce55", "commits": [], - "end_line": 18, - "id": "E2", + "end_line": 24, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/SubmissionVersion.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseAvailableTabsService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 18 + "start_line": 24 }, { - "blob_sha": "5a970068502351135ad53b6b929962a1637125d3", + "blob_sha": "78df2651c32f5c0499c1d406a6239c933d8902d9", "commits": [], - "end_line": 23, - "id": "E3", + "end_line": 52, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Team.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseDeletionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 23 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" - }, - { - "count": 128, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/assessment", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/assessment", - "kind": "uses", - "refs": [ + "start_line": 52 + }, { - "blob_sha": "d14f030786f3464f8fafe2f1c2c62c4cd4f4a337", + "blob_sha": "78df2651c32f5c0499c1d406a6239c933d8902d9", "commits": [], - "end_line": 18, - "id": "E1", + "end_line": 53, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/BaseExercise.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseDeletionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 18 + "start_line": 53 }, { - "blob_sha": "0f3ffde70100ae0fc0c8c0248993573e78b8b8f5", + "blob_sha": "6ce830e678713341c08ec1c0b14efd976a565164", "commits": [], - "end_line": 48, - "id": "E2", + "end_line": 51, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Exercise.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseMaterialImportService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 48 + "start_line": 51 }, { - "blob_sha": "0f3ffde70100ae0fc0c8c0248993573e78b8b8f5", + "blob_sha": "718b8c73ee89bef5ceb0864fb7592e825ba39166", "commits": [], - "end_line": 49, - "id": "E3", + "end_line": 40, + "id": "E10", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Exercise.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseResetService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 49 + "start_line": 40 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" + "src": "M:src/main/java/de/tum/cit/aet/artemis/course" }, { "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/athena", + "dst": "M:src/main/java/de/tum/cit/aet/artemis/videosource", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/athena", + "id": "M:src/main/java/de/tum/cit/aet/artemis/course->M:src/main/java/de/tum/cit/aet/artemis/videosource", "kind": "uses", "refs": [ { - "blob_sha": "b4924f88b40adb1058e1b463bb801583a4f7bcae", + "blob_sha": "78df2651c32f5c0499c1d406a6239c933d8902d9", "commits": [], - "end_line": 43, + "end_line": 54, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/SubmissionService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/course/service/CourseDeletionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 43 + "start_line": 54 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" + "src": "M:src/main/java/de/tum/cit/aet/artemis/course" }, { - "count": 15, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/atlas", + "count": 2, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/account", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/atlas", + "id": "M:src/main/java/de/tum/cit/aet/artemis/deimos->M:src/main/java/de/tum/cit/aet/artemis/account", "kind": "uses", "refs": [ { - "blob_sha": "0f3ffde70100ae0fc0c8c0248993573e78b8b8f5", + "blob_sha": "173b9ca5f0805042fd772adca2b40dda27bc7735", "commits": [], - "end_line": 54, + "end_line": 32, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Exercise.java", + "path": "src/main/java/de/tum/cit/aet/artemis/deimos/service/DeimosBatchService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 54 + "start_line": 32 }, { - "blob_sha": "0f3ffde70100ae0fc0c8c0248993573e78b8b8f5", + "blob_sha": "82db3616437a7f72ab578d00ebc1178c63ca9a80", "commits": [], - "end_line": 55, + "end_line": 14, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Exercise.java", - "repo": "ls1intum/Artemis", - "role": "import", - "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 55 - }, - { - "blob_sha": "a62539022caa0ce4c8aab102bd8510ed745f352b", - "commits": [], - "end_line": 17, - "id": "E3", - "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/versioning/ExerciseSnapshotDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/deimos/web/DeimosResource.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 17 + "start_line": 14 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" + "src": "M:src/main/java/de/tum/cit/aet/artemis/deimos" }, { - "count": 3, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/calendar", + "count": 17, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/calendar", + "id": "M:src/main/java/de/tum/cit/aet/artemis/deimos->M:src/main/java/de/tum/cit/aet/artemis/core", "kind": "uses", "refs": [ { - "blob_sha": "2109c416b49e70e98370b7587fdcb4b2c0eb3712", + "blob_sha": "8f228fc5f573a03327aff3bff254afa117ed19da", "commits": [], - "end_line": 22, + "end_line": 5, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/repository/ExerciseRepository.java", + "path": "src/main/java/de/tum/cit/aet/artemis/deimos/api/DeimosBatchApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 22 + "start_line": 5 }, { - "blob_sha": "ea454d05eb9d2398a4eb9724984489f258abad48", + "blob_sha": "165bef2962f30d52c9121d7acf76dff9be93ed3a", "commits": [], - "end_line": 51, + "end_line": 7, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/deimos/config/DeimosEnabled.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 51 + "start_line": 7 }, { - "blob_sha": "ea454d05eb9d2398a4eb9724984489f258abad48", + "blob_sha": "23a3413e3b94f2f0771ef6b2409ef5a3561f66e5", "commits": [], - "end_line": 52, + "end_line": 10, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/deimos/config/DeimosLlmConfiguration.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 52 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" - }, - { - "count": 7, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/communication", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/communication", - "kind": "uses", - "refs": [ + "start_line": 10 + }, { - "blob_sha": "e829e37d3d8728456edf70915403e8d5de1fde32", + "blob_sha": "23a3413e3b94f2f0771ef6b2409ef5a3561f66e5", "commits": [], - "end_line": 29, - "id": "E1", + "end_line": 11, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/EntityDeletionProgressService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/deimos/config/DeimosLlmConfiguration.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 29 + "start_line": 11 }, { - "blob_sha": "66cff97156e47cfcc9c8e6809c0ca95c9c0cde75", + "blob_sha": "de7255465fa0dee3dcecae97e263a83c25cb7050", "commits": [], - "end_line": 26, - "id": "E2", + "end_line": 3, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseDeletionService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/deimos/dto/DeimosExerciseScopeInfoDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 26 + "start_line": 3 }, { - "blob_sha": "55779a481214f0c5f9e164e1fa608cf377885d46", + "blob_sha": "3bf777cfbd505c51fec21bc964f4f1c6bb3e6eda", "commits": [], - "end_line": 21, - "id": "E3", + "end_line": 13, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseEditorSyncService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/deimos/repository/DeimosBatchParticipationRepository.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 21 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" - }, - { - "count": 370, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/core", - "kind": "uses", - "refs": [ + "start_line": 13 + }, { - "blob_sha": "d14f030786f3464f8fafe2f1c2c62c4cd4f4a337", + "blob_sha": "65fabcfcf412208aa77cce4e4496a30fe11edafa", "commits": [], - "end_line": 3, - "id": "E1", + "end_line": 44, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/BaseExercise.java", + "path": "src/main/java/de/tum/cit/aet/artemis/deimos/service/DefaultDeimosLlmClient.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 + "start_line": 44 }, { - "blob_sha": "d14f030786f3464f8fafe2f1c2c62c4cd4f4a337", + "blob_sha": "173b9ca5f0805042fd772adca2b40dda27bc7735", "commits": [], - "end_line": 19, - "id": "E2", + "end_line": 33, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/BaseExercise.java", + "path": "src/main/java/de/tum/cit/aet/artemis/deimos/service/DeimosBatchService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 19 + "start_line": 33 }, { - "blob_sha": "d14f030786f3464f8fafe2f1c2c62c4cd4f4a337", + "blob_sha": "d68ecbd6cbbbc4f9dfefa7cb118d354c0f8e5ee3", "commits": [], - "end_line": 4, - "id": "E3", + "end_line": 18, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/BaseExercise.java", + "path": "src/main/java/de/tum/cit/aet/artemis/deimos/service/DeimosPromptTemplateService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 4 + "start_line": 18 + }, + { + "blob_sha": "ccede3c4d552dbb37971efcc0e3b805b12da5516", + "commits": [], + "end_line": 3, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/deimos/service/DeimosSnapshotReader.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" + "src": "M:src/main/java/de/tum/cit/aet/artemis/deimos" }, { - "count": 32, + "count": 1, "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/course", + "id": "M:src/main/java/de/tum/cit/aet/artemis/deimos->M:src/main/java/de/tum/cit/aet/artemis/course", "kind": "uses", "refs": [ { - "blob_sha": "0f3ffde70100ae0fc0c8c0248993573e78b8b8f5", + "blob_sha": "173b9ca5f0805042fd772adca2b40dda27bc7735", "commits": [], - "end_line": 59, + "end_line": 34, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Exercise.java", - "repo": "ls1intum/Artemis", - "role": "import", - "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 59 - }, - { - "blob_sha": "9f9c987d0233d9ffd0cefc20340e7aec80e2e09b", - "commits": [], - "end_line": 23, - "id": "E2", - "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/ExerciseVariantGroup.java", - "repo": "ls1intum/Artemis", - "role": "import", - "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 23 - }, - { - "blob_sha": "0a59009cb1e11ed266ab98b47b927a55248288e7", - "commits": [], - "end_line": 13, - "id": "E3", - "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/CourseWithTeamExercisesDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/deimos/service/DeimosBatchService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 13 + "start_line": 34 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" + "src": "M:src/main/java/de/tum/cit/aet/artemis/deimos" }, { - "count": 33, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/exam", + "count": 2, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/exercise", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/exam", + "id": "M:src/main/java/de/tum/cit/aet/artemis/deimos->M:src/main/java/de/tum/cit/aet/artemis/exercise", "kind": "uses", "refs": [ { - "blob_sha": "0f3ffde70100ae0fc0c8c0248993573e78b8b8f5", + "blob_sha": "412078f7a154dfe50179677c871a3ac1d1acf5ee", "commits": [], "end_line": 60, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Exercise.java", + "path": "src/main/java/de/tum/cit/aet/artemis/deimos/service/DeimosAnalysisService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 60 }, { - "blob_sha": "0f3ffde70100ae0fc0c8c0248993573e78b8b8f5", + "blob_sha": "412078f7a154dfe50179677c871a3ac1d1acf5ee", "commits": [], "end_line": 61, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Exercise.java", + "path": "src/main/java/de/tum/cit/aet/artemis/deimos/service/DeimosAnalysisService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 61 - }, - { - "blob_sha": "333e4882f68dff69fb35017dc6b5c04844be6b6a", - "commits": [], - "end_line": 9, - "id": "E3", - "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/ExerciseGroupContextDTO.java", - "repo": "ls1intum/Artemis", - "role": "import", - "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" + "src": "M:src/main/java/de/tum/cit/aet/artemis/deimos" }, { - "count": 15, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/fileupload", + "count": 1, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/localvc", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/fileupload", + "id": "M:src/main/java/de/tum/cit/aet/artemis/deimos->M:src/main/java/de/tum/cit/aet/artemis/localvc", "kind": "uses", "refs": [ { - "blob_sha": "0f3ffde70100ae0fc0c8c0248993573e78b8b8f5", + "blob_sha": "412078f7a154dfe50179677c871a3ac1d1acf5ee", "commits": [], - "end_line": 64, + "end_line": 62, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Exercise.java", - "repo": "ls1intum/Artemis", - "role": "import", - "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 64 - }, - { - "blob_sha": "2e6fe513d13c7b4b858992872efea4f85254dcdc", - "commits": [], - "end_line": 7, - "id": "E2", - "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/ExerciseType.java", - "repo": "ls1intum/Artemis", - "role": "import", - "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 - }, - { - "blob_sha": "1c64fd5bec2184c6ca6d50dd3e20a6be5b79c791", - "commits": [], - "end_line": 44, - "id": "E3", - "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Submission.java", + "path": "src/main/java/de/tum/cit/aet/artemis/deimos/service/DeimosAnalysisService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 44 + "start_line": 62 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" + "src": "M:src/main/java/de/tum/cit/aet/artemis/deimos" }, { "count": 2, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch", + "dst": "M:src/main/java/de/tum/cit/aet/artemis/notification", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/globalsearch", + "id": "M:src/main/java/de/tum/cit/aet/artemis/deimos->M:src/main/java/de/tum/cit/aet/artemis/notification", "kind": "uses", "refs": [ { - "blob_sha": "66cff97156e47cfcc9c8e6809c0ca95c9c0cde75", + "blob_sha": "173b9ca5f0805042fd772adca2b40dda27bc7735", "commits": [], - "end_line": 44, + "end_line": 50, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseDeletionService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/deimos/service/DeimosBatchService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 44 + "start_line": 50 }, { - "blob_sha": "66cff97156e47cfcc9c8e6809c0ca95c9c0cde75", + "blob_sha": "173b9ca5f0805042fd772adca2b40dda27bc7735", "commits": [], - "end_line": 45, + "end_line": 51, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseDeletionService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/deimos/service/DeimosBatchService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 45 + "start_line": 51 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" + "src": "M:src/main/java/de/tum/cit/aet/artemis/deimos" }, { "count": 9, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/hyperion", + "dst": "M:src/main/java/de/tum/cit/aet/artemis/programming", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/hyperion", + "id": "M:src/main/java/de/tum/cit/aet/artemis/deimos->M:src/main/java/de/tum/cit/aet/artemis/programming", "kind": "uses", "refs": [ { - "blob_sha": "e15274e9d48b758c9f62a14a0243bf6922522fec", + "blob_sha": "3bf777cfbd505c51fec21bc964f4f1c6bb3e6eda", "commits": [], - "end_line": 9, + "end_line": 15, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/review/ConsistencyIssueCommentContentDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/deimos/repository/DeimosBatchParticipationRepository.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 + "start_line": 15 }, { - "blob_sha": "e15274e9d48b758c9f62a14a0243bf6922522fec", + "blob_sha": "412078f7a154dfe50179677c871a3ac1d1acf5ee", "commits": [], - "end_line": 10, + "end_line": 63, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/review/ConsistencyIssueCommentContentDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/deimos/service/DeimosAnalysisService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 63 }, { - "blob_sha": "a5a422c1f93170b2f3826653c59be19ac14080c5", + "blob_sha": "412078f7a154dfe50179677c871a3ac1d1acf5ee", "commits": [], - "end_line": 46, + "end_line": 64, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseVersionService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/deimos/service/DeimosAnalysisService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 46 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" - }, - { - "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/iris", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/iris", - "kind": "uses", - "refs": [ + "start_line": 64 + }, { - "blob_sha": "66cff97156e47cfcc9c8e6809c0ca95c9c0cde75", - "commits": [], - "end_line": 46, - "id": "E1", - "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseDeletionService.java", - "repo": "ls1intum/Artemis", - "role": "import", - "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 46 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" - }, - { - "count": 3, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/lecture", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/lecture", - "kind": "uses", - "refs": [ - { - "blob_sha": "1df818e490d703d3ec85740294b1751cb78fa306", + "blob_sha": "412078f7a154dfe50179677c871a3ac1d1acf5ee", "commits": [], - "end_line": 5, - "id": "E1", + "end_line": 65, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/CompetencyLinksHolderDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/deimos/service/DeimosAnalysisService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 5 + "start_line": 65 }, { - "blob_sha": "66cff97156e47cfcc9c8e6809c0ca95c9c0cde75", + "blob_sha": "412078f7a154dfe50179677c871a3ac1d1acf5ee", "commits": [], - "end_line": 47, - "id": "E2", + "end_line": 66, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseDeletionService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/deimos/service/DeimosAnalysisService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 47 + "start_line": 66 }, { - "blob_sha": "827488f01e27fa8d3a2d2d5ebfbf324c979dfc17", + "blob_sha": "412078f7a154dfe50179677c871a3ac1d1acf5ee", "commits": [], - "end_line": 33, - "id": "E3", + "end_line": 67, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseVariantGroupService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/deimos/service/DeimosAnalysisService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 33 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" - }, - { - "count": 3, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/localci", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/localci", - "kind": "uses", - "refs": [ + "start_line": 67 + }, { - "blob_sha": "65c0986baf48ddab88e02312bd47bc9cf0654977", + "blob_sha": "412078f7a154dfe50179677c871a3ac1d1acf5ee", "commits": [], - "end_line": 32, - "id": "E1", + "end_line": 68, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ParticipationDeletionService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/deimos/service/DeimosAnalysisService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 32 + "start_line": 68 }, { - "blob_sha": "65c0986baf48ddab88e02312bd47bc9cf0654977", + "blob_sha": "412078f7a154dfe50179677c871a3ac1d1acf5ee", "commits": [], - "end_line": 33, - "id": "E2", + "end_line": 69, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ParticipationDeletionService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/deimos/service/DeimosAnalysisService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 33 + "start_line": 69 }, { - "blob_sha": "4e3a062c927256ff993bdb346311b73c622f625c", + "blob_sha": "173b9ca5f0805042fd772adca2b40dda27bc7735", "commits": [], - "end_line": 64, - "id": "E3", + "end_line": 52, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ParticipationService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/deimos/service/DeimosBatchService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 64 + "start_line": 52 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" + "src": "M:src/main/java/de/tum/cit/aet/artemis/deimos" }, { - "count": 17, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/localvc", + "count": 4, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/account", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/localvc", + "id": "M:src/main/java/de/tum/cit/aet/artemis/demo->M:src/main/java/de/tum/cit/aet/artemis/account", "kind": "uses", "refs": [ { - "blob_sha": "86bb1b2facd324c3f0213c32942f106e6d0715bd", + "blob_sha": "3d88798ed89cff5dc73608d850dacb5e4398c413", "commits": [], - "end_line": 12, + "end_line": 13, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseVersionCommitHashResolver.java", + "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoCourseContentSeedingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "d251ed9fbfcc2c994ec5971def466727a7a1299a", + "commits": [], + "end_line": 12, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoDataSeedingService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 12 }, { - "blob_sha": "86bb1b2facd324c3f0213c32942f106e6d0715bd", + "blob_sha": "d251ed9fbfcc2c994ec5971def466727a7a1299a", "commits": [], "end_line": 13, - "id": "E2", + "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseVersionCommitHashResolver.java", + "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoDataSeedingService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 13 }, { - "blob_sha": "a5a422c1f93170b2f3826653c59be19ac14080c5", + "blob_sha": "f760fca6bd7268201a70abd51074e4002ea8d1c8", "commits": [], - "end_line": 47, - "id": "E3", + "end_line": 16, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseVersionService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoExerciseSeedingService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 47 + "start_line": 16 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" + "src": "M:src/main/java/de/tum/cit/aet/artemis/demo" }, { "count": 2, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/lti", + "dst": "M:src/main/java/de/tum/cit/aet/artemis/assessment", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/lti", + "id": "M:src/main/java/de/tum/cit/aet/artemis/demo->M:src/main/java/de/tum/cit/aet/artemis/assessment", "kind": "uses", "refs": [ { - "blob_sha": "ea454d05eb9d2398a4eb9724984489f258abad48", + "blob_sha": "3d88798ed89cff5dc73608d850dacb5e4398c413", "commits": [], - "end_line": 72, + "end_line": 14, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoCourseContentSeedingService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 72 + "start_line": 14 }, { - "blob_sha": "ea454d05eb9d2398a4eb9724984489f258abad48", + "blob_sha": "f760fca6bd7268201a70abd51074e4002ea8d1c8", "commits": [], - "end_line": 73, + "end_line": 17, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoExerciseSeedingService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 73 + "start_line": 17 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" + "src": "M:src/main/java/de/tum/cit/aet/artemis/demo" }, { - "count": 26, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/modeling", + "count": 2, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/atlas", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/modeling", + "id": "M:src/main/java/de/tum/cit/aet/artemis/demo->M:src/main/java/de/tum/cit/aet/artemis/atlas", "kind": "uses", "refs": [ { - "blob_sha": "0f3ffde70100ae0fc0c8c0248993573e78b8b8f5", + "blob_sha": "3d88798ed89cff5dc73608d850dacb5e4398c413", "commits": [], - "end_line": 65, + "end_line": 15, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Exercise.java", + "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoCourseContentSeedingService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 65 + "start_line": 15 }, { - "blob_sha": "2e6fe513d13c7b4b858992872efea4f85254dcdc", + "blob_sha": "3d88798ed89cff5dc73608d850dacb5e4398c413", "commits": [], - "end_line": 8, + "end_line": 16, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/ExerciseType.java", + "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoCourseContentSeedingService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 8 - }, + "start_line": 16 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/demo" + }, + { + "count": 1, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/communication", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/demo->M:src/main/java/de/tum/cit/aet/artemis/communication", + "kind": "uses", + "refs": [ { - "blob_sha": "1c64fd5bec2184c6ca6d50dd3e20a6be5b79c791", + "blob_sha": "3d88798ed89cff5dc73608d850dacb5e4398c413", "commits": [], - "end_line": 45, - "id": "E3", + "end_line": 17, + "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Submission.java", + "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoCourseContentSeedingService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 45 + "start_line": 17 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" + "src": "M:src/main/java/de/tum/cit/aet/artemis/demo" }, { - "count": 2, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/notification", + "count": 5, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/notification", + "id": "M:src/main/java/de/tum/cit/aet/artemis/demo->M:src/main/java/de/tum/cit/aet/artemis/core", "kind": "uses", "refs": [ { - "blob_sha": "ea454d05eb9d2398a4eb9724984489f258abad48", + "blob_sha": "3d88798ed89cff5dc73608d850dacb5e4398c413", "commits": [], - "end_line": 75, + "end_line": 3, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoCourseContentSeedingService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 75 + "start_line": 3 }, { - "blob_sha": "c9d22d6b81574366011773e9c72f3ca3ffb86b42", + "blob_sha": "d251ed9fbfcc2c994ec5971def466727a7a1299a", "commits": [], - "end_line": 51, + "end_line": 14, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ProblemStatementRenderingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoDataSeedingService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 51 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" - }, - { - "count": 10, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/plagiarism", - "kind": "uses", - "refs": [ + "start_line": 14 + }, { - "blob_sha": "0f3ffde70100ae0fc0c8c0248993573e78b8b8f5", + "blob_sha": "d251ed9fbfcc2c994ec5971def466727a7a1299a", "commits": [], - "end_line": 66, - "id": "E1", + "end_line": 3, + "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Exercise.java", + "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoDataSeedingService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 66 + "start_line": 3 }, { - "blob_sha": "0f3ffde70100ae0fc0c8c0248993573e78b8b8f5", + "blob_sha": "d251ed9fbfcc2c994ec5971def466727a7a1299a", "commits": [], - "end_line": 67, - "id": "E2", + "end_line": 15, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Exercise.java", + "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoDataSeedingService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 67 + "start_line": 15 }, { - "blob_sha": "1087c020850e9bce571bed9fae2ec514fef787e6", + "blob_sha": "f760fca6bd7268201a70abd51074e4002ea8d1c8", "commits": [], - "end_line": 7, - "id": "E3", + "end_line": 3, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/ExerciseDetailsDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoExerciseSeedingService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 3 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" + "src": "M:src/main/java/de/tum/cit/aet/artemis/demo" }, { - "count": 135, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/programming", + "count": 4, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/programming", + "id": "M:src/main/java/de/tum/cit/aet/artemis/demo->M:src/main/java/de/tum/cit/aet/artemis/course", "kind": "uses", "refs": [ { - "blob_sha": "0f3ffde70100ae0fc0c8c0248993573e78b8b8f5", + "blob_sha": "3d88798ed89cff5dc73608d850dacb5e4398c413", "commits": [], - "end_line": 68, + "end_line": 18, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Exercise.java", + "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoCourseContentSeedingService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 68 + "start_line": 18 }, { - "blob_sha": "05d6d99d8cb8611d703688bc499d30e939d446e2", + "blob_sha": "d251ed9fbfcc2c994ec5971def466727a7a1299a", "commits": [], - "end_line": 5, + "end_line": 16, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/ExerciseLifecycle.java", + "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoDataSeedingService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 5 + "start_line": 16 }, { - "blob_sha": "2e6fe513d13c7b4b858992872efea4f85254dcdc", + "blob_sha": "d251ed9fbfcc2c994ec5971def466727a7a1299a", "commits": [], - "end_line": 9, + "end_line": 17, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/ExerciseType.java", + "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoDataSeedingService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 + "start_line": 17 + }, + { + "blob_sha": "f760fca6bd7268201a70abd51074e4002ea8d1c8", + "commits": [], + "end_line": 18, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoExerciseSeedingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" + "src": "M:src/main/java/de/tum/cit/aet/artemis/demo" }, { - "count": 50, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/quiz", + "count": 3, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/exam", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/quiz", + "id": "M:src/main/java/de/tum/cit/aet/artemis/demo->M:src/main/java/de/tum/cit/aet/artemis/exam", "kind": "uses", "refs": [ { - "blob_sha": "0f3ffde70100ae0fc0c8c0248993573e78b8b8f5", + "blob_sha": "f760fca6bd7268201a70abd51074e4002ea8d1c8", "commits": [], - "end_line": 69, + "end_line": 19, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Exercise.java", + "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoExerciseSeedingService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 69 + "start_line": 19 }, { - "blob_sha": "05d6d99d8cb8611d703688bc499d30e939d446e2", + "blob_sha": "f760fca6bd7268201a70abd51074e4002ea8d1c8", "commits": [], - "end_line": 6, + "end_line": 20, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/ExerciseLifecycle.java", + "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoExerciseSeedingService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 6 + "start_line": 20 }, { - "blob_sha": "05d6d99d8cb8611d703688bc499d30e939d446e2", + "blob_sha": "f760fca6bd7268201a70abd51074e4002ea8d1c8", "commits": [], - "end_line": 7, + "end_line": 21, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/ExerciseLifecycle.java", + "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoExerciseSeedingService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 21 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" + "src": "M:src/main/java/de/tum/cit/aet/artemis/demo" }, { - "count": 30, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/text", + "count": 2, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/exercise", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/text", + "id": "M:src/main/java/de/tum/cit/aet/artemis/demo->M:src/main/java/de/tum/cit/aet/artemis/exercise", "kind": "uses", "refs": [ { - "blob_sha": "0f3ffde70100ae0fc0c8c0248993573e78b8b8f5", + "blob_sha": "3d88798ed89cff5dc73608d850dacb5e4398c413", "commits": [], - "end_line": 70, + "end_line": 20, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Exercise.java", + "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoCourseContentSeedingService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 70 + "start_line": 20 }, { - "blob_sha": "2e6fe513d13c7b4b858992872efea4f85254dcdc", + "blob_sha": "f760fca6bd7268201a70abd51074e4002ea8d1c8", "commits": [], - "end_line": 11, + "end_line": 22, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/ExerciseType.java", - "repo": "ls1intum/Artemis", - "role": "import", - "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 - }, - { - "blob_sha": "1c64fd5bec2184c6ca6d50dd3e20a6be5b79c791", - "commits": [], - "end_line": 48, - "id": "E3", - "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Submission.java", + "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoExerciseSeedingService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 48 + "start_line": 22 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" + "src": "M:src/main/java/de/tum/cit/aet/artemis/demo" }, { - "count": 2, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/tutorialgroup", + "count": 1, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/fileupload", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/tutorialgroup", + "id": "M:src/main/java/de/tum/cit/aet/artemis/demo->M:src/main/java/de/tum/cit/aet/artemis/fileupload", "kind": "uses", "refs": [ { - "blob_sha": "cd6dc0577fc9dcfe60c35202c80ab569d76970fe", + "blob_sha": "f760fca6bd7268201a70abd51074e4002ea8d1c8", "commits": [], - "end_line": 13, + "end_line": 23, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/ExerciseTutorParticipationDTO.java", - "repo": "ls1intum/Artemis", - "role": "import", - "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 13 - }, - { - "blob_sha": "3e5039a156d302dc9620b37f00b5538248676f75", - "commits": [], - "end_line": 83, - "id": "E2", - "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/exercise/web/ExerciseResource.java", + "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoExerciseSeedingService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 83 + "start_line": 23 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" + "src": "M:src/main/java/de/tum/cit/aet/artemis/demo" }, { - "count": 12, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/account", + "count": 3, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/lecture", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/fileupload->M:src/main/java/de/tum/cit/aet/artemis/account", + "id": "M:src/main/java/de/tum/cit/aet/artemis/demo->M:src/main/java/de/tum/cit/aet/artemis/lecture", "kind": "uses", "refs": [ { - "blob_sha": "d422d183330948e9758caf9b5c9cdb9bc37c6556", + "blob_sha": "3d88798ed89cff5dc73608d850dacb5e4398c413", "commits": [], - "end_line": 8, + "end_line": 21, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadAssessmentNoteDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoCourseContentSeedingService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 8 + "start_line": 21 }, { - "blob_sha": "060c1e070f78840a5d770f26b1c5cdb276965330", + "blob_sha": "3d88798ed89cff5dc73608d850dacb5e4398c413", "commits": [], - "end_line": 12, + "end_line": 22, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadResultDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoCourseContentSeedingService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 12 + "start_line": 22 }, { - "blob_sha": "6f062cec6b16ca2e4b1162988107e41d2e8ba60a", + "blob_sha": "3d88798ed89cff5dc73608d850dacb5e4398c413", "commits": [], - "end_line": 7, + "end_line": 23, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadUserDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoCourseContentSeedingService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 23 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/fileupload" + "src": "M:src/main/java/de/tum/cit/aet/artemis/demo" }, { - "count": 48, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/assessment", + "count": 1, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/modeling", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/fileupload->M:src/main/java/de/tum/cit/aet/artemis/assessment", + "id": "M:src/main/java/de/tum/cit/aet/artemis/demo->M:src/main/java/de/tum/cit/aet/artemis/modeling", "kind": "uses", "refs": [ { - "blob_sha": "0ac77f2ec3f79abbde8266b933f16e94e294824c", + "blob_sha": "f760fca6bd7268201a70abd51074e4002ea8d1c8", "commits": [], - "end_line": 12, + "end_line": 24, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadAssessmentInputDTO.java", - "repo": "ls1intum/Artemis", - "role": "import", - "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 12 - }, - { - "blob_sha": "d422d183330948e9758caf9b5c9cdb9bc37c6556", - "commits": [], - "end_line": 9, - "id": "E2", - "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadAssessmentNoteDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoExerciseSeedingService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 - }, + "start_line": 24 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/demo" + }, + { + "count": 1, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/programming", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/demo->M:src/main/java/de/tum/cit/aet/artemis/programming", + "kind": "uses", + "refs": [ { - "blob_sha": "7614229bac8a6ab5f47b9f68fc401e24a79ffce1", + "blob_sha": "f760fca6bd7268201a70abd51074e4002ea8d1c8", "commits": [], - "end_line": 12, - "id": "E3", + "end_line": 25, + "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadAssessmentUpdateDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoExerciseSeedingService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 12 + "start_line": 25 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/fileupload" + "src": "M:src/main/java/de/tum/cit/aet/artemis/demo" }, { "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/athena", + "dst": "M:src/main/java/de/tum/cit/aet/artemis/quiz", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/fileupload->M:src/main/java/de/tum/cit/aet/artemis/athena", + "id": "M:src/main/java/de/tum/cit/aet/artemis/demo->M:src/main/java/de/tum/cit/aet/artemis/quiz", "kind": "uses", "refs": [ { - "blob_sha": "a58922583db7ca8792820655540ec9811ef7af22", + "blob_sha": "f760fca6bd7268201a70abd51074e4002ea8d1c8", "commits": [], - "end_line": 31, + "end_line": 26, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/service/FileUploadSubmissionService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoExerciseSeedingService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 31 + "start_line": 26 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/fileupload" + "src": "M:src/main/java/de/tum/cit/aet/artemis/demo" }, { - "count": 3, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/atlas", + "count": 2, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/text", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/fileupload->M:src/main/java/de/tum/cit/aet/artemis/atlas", + "id": "M:src/main/java/de/tum/cit/aet/artemis/demo->M:src/main/java/de/tum/cit/aet/artemis/text", "kind": "uses", "refs": [ { - "blob_sha": "46eaa9c5f65a75126cfbcf3ee7c8a52f37bc0a1f", + "blob_sha": "f760fca6bd7268201a70abd51074e4002ea8d1c8", "commits": [], - "end_line": 17, + "end_line": 27, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/service/FileUploadExerciseImportService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoExerciseSeedingService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 17 + "start_line": 27 }, { - "blob_sha": "802dfa12c95211955aff144c069600d9c534e971", + "blob_sha": "f760fca6bd7268201a70abd51074e4002ea8d1c8", "commits": [], - "end_line": 44, + "end_line": 28, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/web/FileUploadExerciseResource.java", + "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoExerciseSeedingService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 44 - }, + "start_line": 28 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/demo" + }, + { + "count": 1, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/tutorialgroup", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/demo->M:src/main/java/de/tum/cit/aet/artemis/tutorialgroup", + "kind": "uses", + "refs": [ { - "blob_sha": "802dfa12c95211955aff144c069600d9c534e971", + "blob_sha": "3d88798ed89cff5dc73608d850dacb5e4398c413", "commits": [], - "end_line": 45, - "id": "E3", + "end_line": 24, + "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/web/FileUploadExerciseResource.java", + "path": "src/main/java/de/tum/cit/aet/artemis/demo/service/DemoCourseContentSeedingService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 45 + "start_line": 24 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/fileupload" + "src": "M:src/main/java/de/tum/cit/aet/artemis/demo" }, { - "count": 4, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/communication", + "count": 40, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/account", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/fileupload->M:src/main/java/de/tum/cit/aet/artemis/communication", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exam->M:src/main/java/de/tum/cit/aet/artemis/account", "kind": "uses", "refs": [ { - "blob_sha": "fbb82234730e12ad445e63bab2646a10d6a0464d", + "blob_sha": "63cc6c000244d883023cf3f2828497e1e72a9fe5", "commits": [], - "end_line": 12, + "end_line": 7, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/service/FileUploadDemoService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamAccessApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 12 + "start_line": 7 }, { - "blob_sha": "46eaa9c5f65a75126cfbcf3ee7c8a52f37bc0a1f", + "blob_sha": "1848f4f702bcd3d392b6f1be906e7c5012758644", "commits": [], - "end_line": 18, + "end_line": 14, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/service/FileUploadExerciseImportService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamCourseHomeApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 18 + "start_line": 14 }, { - "blob_sha": "802dfa12c95211955aff144c069600d9c534e971", + "blob_sha": "9fa89857f99bf3975db0e915ccd3bf45ce5949d8", "commits": [], - "end_line": 46, + "end_line": 10, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/web/FileUploadExerciseResource.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamSubmissionApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 46 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/fileupload" - }, - { - "count": 70, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/fileupload->M:src/main/java/de/tum/cit/aet/artemis/core", - "kind": "uses", - "refs": [ + "start_line": 10 + }, { - "blob_sha": "44c63bb81b508d9102a3bd046e398914246b187a", + "blob_sha": "07cf67e25c330fcfc86beec2a98d3a6bf8f60943", "commits": [], - "end_line": 3, - "id": "E1", + "end_line": 33, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/api/AbstractFileModuleApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/domain/Exam.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 + "start_line": 33 }, { - "blob_sha": "44d7e436f7f3f42613794cb72aabcb7a5769ef99", + "blob_sha": "af78cde0aad2453be7a612ddf23932f30c37d468", "commits": [], - "end_line": 10, - "id": "E2", + "end_line": 16, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/api/FileSubmissionExportApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/domain/ExamUser.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 16 }, { - "blob_sha": "394e6a4f215c8e9bfe24d9676a15f1936072413c", + "blob_sha": "d07758d9428b96a143763fbdb1f689ab73efffce", "commits": [], - "end_line": 9, - "id": "E3", + "end_line": 28, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/api/FileUploadImportApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/domain/StudentExam.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/fileupload" - }, - { - "count": 12, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/fileupload->M:src/main/java/de/tum/cit/aet/artemis/course", - "kind": "uses", - "refs": [ + "start_line": 28 + }, { - "blob_sha": "fa7650eef5992d827bccce1bb82f2a8c9f07b53a", + "blob_sha": "d7d2632632c837092756a8f2b0aeade12187d05d", "commits": [], - "end_line": 7, - "id": "E1", + "end_line": 10, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/api/FileUploadDemoApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExamUserDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 10 }, { - "blob_sha": "a8d84fc492770994e4c5ee2845db47cf38a31958", + "blob_sha": "44013e5ac2538e30b1f5aae66dd623350d75c0ce", "commits": [], - "end_line": 7, - "id": "E2", + "end_line": 5, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadCourseContextDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/detail/UserForDetailDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 5 }, { - "blob_sha": "69e97d08f82f6744cb88ef760dbedc3e56b4d4c5", + "blob_sha": "cb52aed05a4d5988f80e2f968394857f9dc645a7", "commits": [], - "end_line": 8, - "id": "E3", + "end_line": 21, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadExamContextDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/repository/ExamUserSpecs.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 8 + "start_line": 21 + }, + { + "blob_sha": "c6bef017c6bbdeb5dbe1b2e1502a08b2d5c37b59", + "commits": [], + "end_line": 27, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/repository/StudentExamRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/fileupload" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exam" }, { - "count": 9, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/exam", + "count": 2, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/admin", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/fileupload->M:src/main/java/de/tum/cit/aet/artemis/exam", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exam->M:src/main/java/de/tum/cit/aet/artemis/admin", "kind": "uses", "refs": [ { - "blob_sha": "69e97d08f82f6744cb88ef760dbedc3e56b4d4c5", + "blob_sha": "9adedd3c861b47109210e5393bf183a6ed6d75ba", "commits": [], - "end_line": 9, + "end_line": 45, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadExamContextDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 + "start_line": 45 }, { - "blob_sha": "1b1757ecdd13676f48a74b5c3e5c3d5539e5ee6a", + "blob_sha": "0897a818e79ecdadaddb035d43fe076f7adc683b", "commits": [], - "end_line": 14, + "end_line": 60, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadExerciseContextDTO.java", - "repo": "ls1intum/Artemis", - "role": "import", - "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 14 - }, - { - "blob_sha": "e8eb468c0c2dfd98935766bd4e105012871c5d3f", - "commits": [], - "end_line": 19, - "id": "E3", - "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadExerciseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/web/ExamResource.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 19 + "start_line": 60 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/fileupload" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exam" }, { - "count": 78, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/exercise", + "count": 40, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/assessment", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/fileupload->M:src/main/java/de/tum/cit/aet/artemis/exercise", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exam->M:src/main/java/de/tum/cit/aet/artemis/assessment", "kind": "uses", "refs": [ { - "blob_sha": "44d7e436f7f3f42613794cb72aabcb7a5769ef99", + "blob_sha": "c3f705a329a20518e370fa97a2820816539deac1", "commits": [], "end_line": 11, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/api/FileSubmissionExportApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExamForAssessmentDashboardDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 11 }, { - "blob_sha": "6648ac7e18076e4b97b00180e29dc14742042e34", + "blob_sha": "c3f705a329a20518e370fa97a2820816539deac1", "commits": [], - "end_line": 3, + "end_line": 12, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/domain/FileUploadExercise.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExamForAssessmentDashboardDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 + "start_line": 12 }, { - "blob_sha": "6648ac7e18076e4b97b00180e29dc14742042e34", + "blob_sha": "e028ab8960cbd98afb420a4aa5436861bad29b44", "commits": [], - "end_line": 11, + "end_line": 8, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/domain/FileUploadExercise.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExamScoresDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "dccd9b6179f757ebc189b6a65758cab095d4748e", + "commits": [], + "end_line": 11, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExamWithExerciseGroupsDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 11 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/fileupload" - }, - { - "count": 4, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/lecture", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/fileupload->M:src/main/java/de/tum/cit/aet/artemis/lecture", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "e8eb468c0c2dfd98935766bd4e105012871c5d3f", + "blob_sha": "daac1cd6618cb50b820cd4546e7fb17c68a1f407", "commits": [], - "end_line": 26, - "id": "E1", + "end_line": 7, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadExerciseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExerciseForExerciseGroupDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 26 + "start_line": 7 }, { - "blob_sha": "4edc1917443879b20d4785d4d0e396fc9f06e740", + "blob_sha": "a42fff6542221cab85c3ee674217646e0b9ffd75", "commits": [], - "end_line": 20, - "id": "E2", + "end_line": 8, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadExerciseInputDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/StudentExamWithGradeDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 20 + "start_line": 8 }, { - "blob_sha": "a0f96b9edff782ae4557a2d96b453899e6164166", + "blob_sha": "a42fff6542221cab85c3ee674217646e0b9ffd75", "commits": [], - "end_line": 18, - "id": "E3", + "end_line": 9, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/UpdateFileUploadExerciseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/StudentExamWithGradeDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 18 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/fileupload" - }, - { - "count": 3, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/notification", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/fileupload->M:src/main/java/de/tum/cit/aet/artemis/notification", - "kind": "uses", - "refs": [ + "start_line": 9 + }, { - "blob_sha": "fbb82234730e12ad445e63bab2646a10d6a0464d", + "blob_sha": "a42fff6542221cab85c3ee674217646e0b9ffd75", "commits": [], - "end_line": 21, - "id": "E1", + "end_line": 10, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/service/FileUploadDemoService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/StudentExamWithGradeDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 21 + "start_line": 10 }, { - "blob_sha": "802dfa12c95211955aff144c069600d9c534e971", + "blob_sha": "34e453567fa0e1978820de4a13177a3452e896c8", "commits": [], - "end_line": 92, - "id": "E2", + "end_line": 5, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/web/FileUploadExerciseResource.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/conduction/ProgrammingExerciseForConductionDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 92 + "start_line": 5 }, { - "blob_sha": "6e43481662704547e03f0fd1864cd134292fc834", + "blob_sha": "bb1dd082f228fde0c8b2c5ffa2be6f894f691836", "commits": [], - "end_line": 64, - "id": "E3", + "end_line": 7, + "id": "E10", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/web/FileUploadSubmissionResource.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/conduction/ResultForConductionDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 64 + "start_line": 7 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/fileupload" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exam" }, { - "count": 2, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism", + "count": 1, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/athena", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/fileupload->M:src/main/java/de/tum/cit/aet/artemis/plagiarism", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exam->M:src/main/java/de/tum/cit/aet/artemis/athena", "kind": "uses", "refs": [ { - "blob_sha": "32090de68f0ff764f1896ec7caa213a294951bdd", + "blob_sha": "25bb64a9520659ea9c268503d9e3d0885041891d", "commits": [], - "end_line": 7, + "end_line": 16, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadPlagiarismDetectionConfigDTO.java", - "repo": "ls1intum/Artemis", - "role": "import", - "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 - }, - { - "blob_sha": "802dfa12c95211955aff144c069600d9c534e971", - "commits": [], - "end_line": 93, - "id": "E2", - "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/web/FileUploadExerciseResource.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/StudentExamAthenaFeedbackService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 93 + "start_line": 16 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/fileupload" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exam" }, { "count": 5, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/account", + "dst": "M:src/main/java/de/tum/cit/aet/artemis/calendar", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch->M:src/main/java/de/tum/cit/aet/artemis/account", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exam->M:src/main/java/de/tum/cit/aet/artemis/calendar", "kind": "uses", "refs": [ { - "blob_sha": "2dafd2ad36e093cbd82721ee8296cd24bbd49f01", + "blob_sha": "7ef42c3044fbf5a67121ff89d240d75dcba5b836", "commits": [], "end_line": 10, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/api/SearchableEntityPrefetchApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 10 }, { - "blob_sha": "f1e798095719a743031110b33599c5139ff55ed8", + "blob_sha": "7ab7b9281a628e2a062c7acba61defd40106392a", "commits": [], - "end_line": 19, + "end_line": 24, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/service/SearchableEntityAccessFilterService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/repository/ExamRepository.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 19 + "start_line": 24 }, { - "blob_sha": "c63b998709205903f4a4c93b8ce256378fffbc25", + "blob_sha": "9adedd3c861b47109210e5393bf183a6ed6d75ba", "commits": [], - "end_line": 15, + "end_line": 63, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/service/SearchableEntityPrefetchService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 15 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch" - }, - { - "count": 2, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/assessment", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch->M:src/main/java/de/tum/cit/aet/artemis/assessment", - "kind": "uses", - "refs": [ + "start_line": 63 + }, { - "blob_sha": "e4c147084244c35771e6bdd79ab09624f79d7f2e", + "blob_sha": "9adedd3c861b47109210e5393bf183a6ed6d75ba", "commits": [], - "end_line": 7, - "id": "E1", + "end_line": 64, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/searchableentity/ExerciseSearchableEntityDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 64 }, { - "blob_sha": "f1e798095719a743031110b33599c5139ff55ed8", + "blob_sha": "9adedd3c861b47109210e5393bf183a6ed6d75ba", "commits": [], - "end_line": 20, - "id": "E2", + "end_line": 65, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/service/SearchableEntityAccessFilterService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 20 + "start_line": 65 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exam" }, { - "count": 13, + "count": 18, "dst": "M:src/main/java/de/tum/cit/aet/artemis/communication", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch->M:src/main/java/de/tum/cit/aet/artemis/communication", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exam->M:src/main/java/de/tum/cit/aet/artemis/communication", "kind": "uses", "refs": [ { - "blob_sha": "4e68942c19e4d4c0688ffd21cf37b0c81c27c557", + "blob_sha": "4fbea8d2a9e96c5fdfdbd5a95b99c98461129f02", "commits": [], - "end_line": 10, + "end_line": 28, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/searchableentity/AnswerPostSearchableEntityDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamDeletionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 28 }, { - "blob_sha": "4e68942c19e4d4c0688ffd21cf37b0c81c27c557", + "blob_sha": "4fbea8d2a9e96c5fdfdbd5a95b99c98461129f02", "commits": [], - "end_line": 11, + "end_line": 29, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/searchableentity/AnswerPostSearchableEntityDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamDeletionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 + "start_line": 29 }, { - "blob_sha": "cdd2ae3bb9fe6ad5023e040069a50dae8d02442b", + "blob_sha": "4fbea8d2a9e96c5fdfdbd5a95b99c98461129f02", "commits": [], - "end_line": 7, + "end_line": 30, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/searchableentity/ChannelSearchableEntityDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamDeletionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch" - }, - { - "count": 59, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch->M:src/main/java/de/tum/cit/aet/artemis/core", - "kind": "uses", - "refs": [ + "start_line": 30 + }, { - "blob_sha": "d6f1ead28ef044f8b139a56ecc5c47eced01a781", + "blob_sha": "8a370276db26a827ba9cae4dacd5f056313b9927", "commits": [], - "end_line": 3, - "id": "E1", + "end_line": 14, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/api/AbstractGlobalSearchApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamDeletionSummaryService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 + "start_line": 14 }, { - "blob_sha": "6cb2fb5e5fca980868ffafe8157ebfb04e890a13", + "blob_sha": "8a370276db26a827ba9cae4dacd5f056313b9927", "commits": [], "end_line": 15, - "id": "E2", + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/config/WeaviateClientConfiguration.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamDeletionSummaryService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 15 }, { - "blob_sha": "6cb2fb5e5fca980868ffafe8157ebfb04e890a13", + "blob_sha": "8a370276db26a827ba9cae4dacd5f056313b9927", "commits": [], "end_line": 16, - "id": "E3", + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/config/WeaviateClientConfiguration.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamDeletionSummaryService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 16 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch" - }, - { - "count": 19, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch->M:src/main/java/de/tum/cit/aet/artemis/course", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "4a9971e01479e807cb5159fe42c1c379408a0ccc", + "blob_sha": "8a370276db26a827ba9cae4dacd5f056313b9927", "commits": [], - "end_line": 10, - "id": "E1", + "end_line": 17, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/searchableentity/CourseSearchableEntityDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamDeletionSummaryService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 17 }, { - "blob_sha": "e4c147084244c35771e6bdd79ab09624f79d7f2e", + "blob_sha": "e45f55d1c12ba18318458e8b1e1e6d8194ac01ee", "commits": [], - "end_line": 8, - "id": "E2", + "end_line": 15, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/searchableentity/ExerciseSearchableEntityDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamDemoService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 8 + "start_line": 15 }, { - "blob_sha": "4f1d22c5c72f6835fe474025534fc4412f338791", + "blob_sha": "49df9ce4774c692152e49c24161ddee50b10fb1d", + "commits": [], + "end_line": 7, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamImportProgressNotifier.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "72682b6310199a793a5020325105c161f2f36b44", "commits": [], "end_line": 18, - "id": "E3", + "id": "E10", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/repository/IngestionCoverageExpectedIdsRepository.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamImportService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 18 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exam" }, { - "count": 8, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/exam", + "count": 248, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch->M:src/main/java/de/tum/cit/aet/artemis/exam", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exam->M:src/main/java/de/tum/cit/aet/artemis/core", "kind": "uses", "refs": [ { - "blob_sha": "034023b308b54fe1fb47f7449a3ba89fe227e37b", + "blob_sha": "c86b9a034c62f52106c6c1858129ef77ff38397b", "commits": [], - "end_line": 7, + "end_line": 3, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/searchableentity/ExamSearchableEntityDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/AbstractExamApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 3 }, { - "blob_sha": "e4c147084244c35771e6bdd79ab09624f79d7f2e", + "blob_sha": "63cc6c000244d883023cf3f2828497e1e72a9fe5", "commits": [], - "end_line": 9, + "end_line": 8, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/searchableentity/ExerciseSearchableEntityDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamAccessApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 + "start_line": 8 }, { - "blob_sha": "dd422efa97923a7d77079a4c6b800dd52aef455e", + "blob_sha": "63cc6c000244d883023cf3f2828497e1e72a9fe5", "commits": [], - "end_line": 27, + "end_line": 9, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/service/IngestionBrowserGapService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamAccessApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 27 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch" - }, - { - "count": 8, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/exercise", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch->M:src/main/java/de/tum/cit/aet/artemis/exercise", - "kind": "uses", - "refs": [ + "start_line": 9 + }, { - "blob_sha": "bf450b03604cef3e543cceccbe6b22b6e9cddfd6", + "blob_sha": "7ef42c3044fbf5a67121ff89d240d75dcba5b836", "commits": [], - "end_line": 9, - "id": "E1", + "end_line": 11, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/GlobalSearchResultDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 + "start_line": 11 }, { - "blob_sha": "e4c147084244c35771e6bdd79ab09624f79d7f2e", + "blob_sha": "1848f4f702bcd3d392b6f1be906e7c5012758644", "commits": [], - "end_line": 10, - "id": "E2", + "end_line": 15, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/searchableentity/ExerciseSearchableEntityDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamCourseHomeApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 15 }, { - "blob_sha": "56a7baade1e38ab292590f5bec4db18255ab247d", + "blob_sha": "1848f4f702bcd3d392b6f1be906e7c5012758644", "commits": [], - "end_line": 10, - "id": "E3", + "end_line": 16, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/service/ExerciseSearchableEntityLoadService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamCourseHomeApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch" - }, - { - "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/fileupload", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch->M:src/main/java/de/tum/cit/aet/artemis/fileupload", - "kind": "uses", - "refs": [ + "start_line": 16 + }, { - "blob_sha": "e4c147084244c35771e6bdd79ab09624f79d7f2e", + "blob_sha": "70d01507d89c16a98d710f975a16a0b0a8a45dcf", "commits": [], - "end_line": 11, - "id": "E1", + "end_line": 16, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/searchableentity/ExerciseSearchableEntityDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamRepositoryApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch" - }, - { - "count": 2, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/iris", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch->M:src/main/java/de/tum/cit/aet/artemis/iris", - "kind": "uses", - "refs": [ + "start_line": 16 + }, { - "blob_sha": "5152af5a5cf9655e1dd01028228319cf0170f0bd", + "blob_sha": "6a5ac0f18473d95a1fe48e37cf24ab53227ad40d", "commits": [], - "end_line": 28, - "id": "E1", + "end_line": 7, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/service/IngestionCoverageSetLoader.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamUserApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 28 + "start_line": 7 }, { - "blob_sha": "11a6b06f999bdfe3022ae5c44bb796f5b80e8d5e", + "blob_sha": "95758443b29ca7b48a4b6b5b84b0636cbed328e0", "commits": [], - "end_line": 44, - "id": "E2", + "end_line": 5, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/web/IngestionCoverageResource.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/config/ExamApiNotPresentException.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 44 + "start_line": 5 + }, + { + "blob_sha": "95758443b29ca7b48a4b6b5b84b0636cbed328e0", + "commits": [], + "end_line": 3, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/config/ExamApiNotPresentException.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exam" }, { - "count": 17, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/lecture", + "count": 36, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch->M:src/main/java/de/tum/cit/aet/artemis/lecture", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exam->M:src/main/java/de/tum/cit/aet/artemis/course", "kind": "uses", "refs": [ { - "blob_sha": "8d72c4ed312a4ff4c4c6a789f9dd03a5b0ba0e05", + "blob_sha": "1848f4f702bcd3d392b6f1be906e7c5012758644", "commits": [], - "end_line": 9, + "end_line": 17, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/searchableentity/LectureSearchableEntityDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamCourseHomeApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 + "start_line": 17 }, { - "blob_sha": "b98b2f504c128b9a493951964639edc78b969719", + "blob_sha": "1848f4f702bcd3d392b6f1be906e7c5012758644", "commits": [], - "end_line": 9, + "end_line": 18, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/searchableentity/LectureUnitSearchableEntityDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamCourseHomeApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 + "start_line": 18 }, { - "blob_sha": "b98b2f504c128b9a493951964639edc78b969719", + "blob_sha": "1848f4f702bcd3d392b6f1be906e7c5012758644", "commits": [], - "end_line": 10, + "end_line": 19, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/searchableentity/LectureUnitSearchableEntityDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamCourseHomeApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch" - }, - { - "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/modeling", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch->M:src/main/java/de/tum/cit/aet/artemis/modeling", - "kind": "uses", - "refs": [ + "start_line": 19 + }, { - "blob_sha": "e4c147084244c35771e6bdd79ab09624f79d7f2e", + "blob_sha": "1848f4f702bcd3d392b6f1be906e7c5012758644", "commits": [], - "end_line": 14, - "id": "E1", + "end_line": 20, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/searchableentity/ExerciseSearchableEntityDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamCourseHomeApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 14 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch" - }, - { - "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/programming", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch->M:src/main/java/de/tum/cit/aet/artemis/programming", - "kind": "uses", - "refs": [ + "start_line": 20 + }, { - "blob_sha": "e4c147084244c35771e6bdd79ab09624f79d7f2e", + "blob_sha": "f089ce4c1ebb82c004de48c366cb54e12ba6393c", "commits": [], - "end_line": 15, - "id": "E1", + "end_line": 10, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/searchableentity/ExerciseSearchableEntityDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamDemoApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 15 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch" - }, - { - "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/quiz", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch->M:src/main/java/de/tum/cit/aet/artemis/quiz", - "kind": "uses", - "refs": [ + "start_line": 10 + }, { - "blob_sha": "e4c147084244c35771e6bdd79ab09624f79d7f2e", + "blob_sha": "6a5ac0f18473d95a1fe48e37cf24ab53227ad40d", "commits": [], - "end_line": 16, - "id": "E1", + "end_line": 8, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/searchableentity/ExerciseSearchableEntityDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamUserApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 16 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch" - }, - { - "count": 42, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/account", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/hyperion->M:src/main/java/de/tum/cit/aet/artemis/account", - "kind": "uses", - "refs": [ + "start_line": 8 + }, { - "blob_sha": "71d36b709c68d5ba27afeb61b6d15c97cced4e37", + "blob_sha": "bed0fbdece68694f551a8e5cdca6c3d7580dd65a", "commits": [], - "end_line": 26, - "id": "E1", + "end_line": 14, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionAssessmentCriteriaGenerationService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/StudentExamApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 26 + "start_line": 14 }, { - "blob_sha": "c295af54af6ed36c5d9cd4de8028728b84926089", + "blob_sha": "07cf67e25c330fcfc86beec2a98d3a6bf8f60943", "commits": [], - "end_line": 35, - "id": "E2", + "end_line": 37, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionChecklistService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/domain/Exam.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 35 + "start_line": 37 }, { - "blob_sha": "4ba98f954c90c0ac0c38b4a6ca211f493af5923b", + "blob_sha": "ca2f106ccd864dcfd059eb61bce3193499668534", "commits": [], - "end_line": 25, - "id": "E3", + "end_line": 7, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionConsistencyCheckService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/CourseForExamDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 25 + "start_line": 7 + }, + { + "blob_sha": "fcbdd73fd3508e482e8e354e53daa1d2cdf06999", + "commits": [], + "end_line": 5, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/CourseForStudentExamDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/hyperion" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exam" }, { - "count": 41, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/admin", + "count": 127, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/exercise", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/hyperion->M:src/main/java/de/tum/cit/aet/artemis/admin", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exam->M:src/main/java/de/tum/cit/aet/artemis/exercise", "kind": "uses", "refs": [ { - "blob_sha": "71d36b709c68d5ba27afeb61b6d15c97cced4e37", + "blob_sha": "63cc6c000244d883023cf3f2828497e1e72a9fe5", "commits": [], - "end_line": 27, + "end_line": 12, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionAssessmentCriteriaGenerationService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamAccessApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 27 + "start_line": 12 }, { - "blob_sha": "71d36b709c68d5ba27afeb61b6d15c97cced4e37", + "blob_sha": "63cc6c000244d883023cf3f2828497e1e72a9fe5", "commits": [], - "end_line": 28, + "end_line": 13, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionAssessmentCriteriaGenerationService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamAccessApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 28 + "start_line": 13 }, { - "blob_sha": "c295af54af6ed36c5d9cd4de8028728b84926089", + "blob_sha": "7ef42c3044fbf5a67121ff89d240d75dcba5b836", "commits": [], - "end_line": 36, + "end_line": 18, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionChecklistService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 36 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/hyperion" - }, - { - "count": 45, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/aiworker", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/hyperion->M:src/main/java/de/tum/cit/aet/artemis/aiworker", - "kind": "uses", - "refs": [ + "start_line": 18 + }, { - "blob_sha": "f9de9acf8f082967ff321a48eebfc3d75ba4277b", + "blob_sha": "1d0425b528f6c19b57eb22bf94e85f0adfee8c0b", "commits": [], - "end_line": 11, - "id": "E1", + "end_line": 12, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/protocol/ProviderUsageUpdate.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamDateApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 + "start_line": 12 }, { - "blob_sha": "d625aaa5eadb4f0de2f80e11f2274cb2476498bd", + "blob_sha": "f089ce4c1ebb82c004de48c366cb54e12ba6393c", "commits": [], - "end_line": 7, - "id": "E2", + "end_line": 15, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/protocol/WorkerCommand.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamDemoApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 15 }, { - "blob_sha": "e8ec95da6f4921c428be49f5e87265038463a984", + "blob_sha": "337e9cf9b64e111d5eed9fa83460583e1368d43f", "commits": [], - "end_line": 11, - "id": "E3", + "end_line": 9, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/protocol/WorkerMessageCodec.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamLiveEventsApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/hyperion" - }, - { - "count": 6, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/assessment", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/hyperion->M:src/main/java/de/tum/cit/aet/artemis/assessment", - "kind": "uses", - "refs": [ + "start_line": 9 + }, { - "blob_sha": "72b2c088a52370940f3a016f89035659ef40e6f3", + "blob_sha": "70d01507d89c16a98d710f975a16a0b0a8a45dcf", "commits": [], - "end_line": 25, - "id": "E1", + "end_line": 22, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/codegeneration/HyperionCodeGenerationExecutionService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamRepositoryApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 25 + "start_line": 22 }, { - "blob_sha": "72b2c088a52370940f3a016f89035659ef40e6f3", + "blob_sha": "9fa89857f99bf3975db0e915ccd3bf45ce5949d8", "commits": [], - "end_line": 26, - "id": "E2", + "end_line": 15, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/codegeneration/HyperionCodeGenerationExecutionService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamSubmissionApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 26 + "start_line": 15 }, { - "blob_sha": "72b2c088a52370940f3a016f89035659ef40e6f3", + "blob_sha": "9fa89857f99bf3975db0e915ccd3bf45ce5949d8", "commits": [], - "end_line": 27, - "id": "E3", + "end_line": 16, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/codegeneration/HyperionCodeGenerationExecutionService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamSubmissionApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 27 + "start_line": 16 + }, + { + "blob_sha": "9fa89857f99bf3975db0e915ccd3bf45ce5949d8", + "commits": [], + "end_line": 17, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/api/ExamSubmissionApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/hyperion" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exam" }, { - "count": 19, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/atlas", + "count": 12, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/fileupload", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/hyperion->M:src/main/java/de/tum/cit/aet/artemis/atlas", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exam->M:src/main/java/de/tum/cit/aet/artemis/fileupload", "kind": "uses", "refs": [ { - "blob_sha": "c295af54af6ed36c5d9cd4de8028728b84926089", + "blob_sha": "dccd9b6179f757ebc189b6a65758cab095d4748e", "commits": [], - "end_line": 38, + "end_line": 19, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionChecklistService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExamWithExerciseGroupsDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 38 + "start_line": 19 }, { - "blob_sha": "c295af54af6ed36c5d9cd4de8028728b84926089", + "blob_sha": "daac1cd6618cb50b820cd4546e7fb17c68a1f407", "commits": [], - "end_line": 39, + "end_line": 11, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionChecklistService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExerciseForExerciseGroupDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 39 + "start_line": 11 }, { - "blob_sha": "c295af54af6ed36c5d9cd4de8028728b84926089", + "blob_sha": "45ead5b6330576d43bd59c951856562652870ddf", "commits": [], - "end_line": 40, + "end_line": 13, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionChecklistService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExerciseImportDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 40 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/hyperion" - }, - { - "count": 4, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/communication", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/hyperion->M:src/main/java/de/tum/cit/aet/artemis/communication", - "kind": "uses", - "refs": [ + "start_line": 13 + }, { - "blob_sha": "a7d91ef2ca0654fe9bb5e9b845a90465475a340e", + "blob_sha": "6e59d85daf1ecd32b0b7144247480c1d5ba4c638", "commits": [], - "end_line": 18, - "id": "E1", + "end_line": 9, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionFaqRewriteService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/conduction/ExamExerciseForConductionDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 18 + "start_line": 9 }, { - "blob_sha": "a7d91ef2ca0654fe9bb5e9b845a90465475a340e", + "blob_sha": "bc2c1d801843d03b67d81823e24ef11fbadc693c", "commits": [], - "end_line": 19, - "id": "E2", + "end_line": 5, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionFaqRewriteService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/conduction/FileUploadExerciseForConductionDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 19 + "start_line": 5 }, { - "blob_sha": "8cb538bf14b52f1f6bf0d1aaaf989aa82988fcc4", + "blob_sha": "e369200b2a77cc000010c0a0abc4205fbf9eebdb", "commits": [], - "end_line": 13, - "id": "E3", + "end_line": 9, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/exercisegeneration/orchestration/GenerationMonitoringWebsocketService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/conduction/SubmissionForConductionDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 13 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/hyperion" - }, - { - "count": 199, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/hyperion->M:src/main/java/de/tum/cit/aet/artemis/core", - "kind": "uses", - "refs": [ + "start_line": 9 + }, { - "blob_sha": "6d1ef821bd637f1c189c7f49d888da4bb30fb86a", + "blob_sha": "72682b6310199a793a5020325105c161f2f36b44", "commits": [], - "end_line": 13, - "id": "E1", + "end_line": 39, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/api/HyperionExerciseMutationApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamImportService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 13 + "start_line": 39 }, { - "blob_sha": "6d1ef821bd637f1c189c7f49d888da4bb30fb86a", + "blob_sha": "72682b6310199a793a5020325105c161f2f36b44", "commits": [], - "end_line": 3, - "id": "E2", + "end_line": 40, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/api/HyperionExerciseMutationApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamImportService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 + "start_line": 40 }, { - "blob_sha": "6d1ef821bd637f1c189c7f49d888da4bb30fb86a", + "blob_sha": "9adedd3c861b47109210e5393bf183a6ed6d75ba", "commits": [], - "end_line": 4, - "id": "E3", + "end_line": 107, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/api/HyperionExerciseMutationApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 4 + "start_line": 107 + }, + { + "blob_sha": "9adedd3c861b47109210e5393bf183a6ed6d75ba", + "commits": [], + "end_line": 108, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 108 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/hyperion" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exam" }, { - "count": 35, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", + "count": 10, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/hyperion->M:src/main/java/de/tum/cit/aet/artemis/course", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exam->M:src/main/java/de/tum/cit/aet/artemis/globalsearch", "kind": "uses", "refs": [ { - "blob_sha": "87f18dd24fc604bde73ae3b2fd8a1e5ae83af648", + "blob_sha": "4fbea8d2a9e96c5fdfdbd5a95b99c98461129f02", "commits": [], - "end_line": 18, + "end_line": 60, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/domain/QuizQuestionPoolBuild.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamDeletionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 18 + "start_line": 60 }, { - "blob_sha": "dd6b307967a13f453bda817389c470acdd010bdd", + "blob_sha": "4fbea8d2a9e96c5fdfdbd5a95b99c98461129f02", "commits": [], - "end_line": 21, + "end_line": 61, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/domain/QuizQuestionPoolItem.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamDeletionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 21 + "start_line": 61 }, { - "blob_sha": "143e57a5436f1541418d375a5fe7be7d1c6917a0", + "blob_sha": "72682b6310199a793a5020325105c161f2f36b44", "commits": [], - "end_line": 16, + "end_line": 41, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/domain/QuizQuestionPoolLectureUnit.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamImportService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 16 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/hyperion" - }, - { - "count": 73, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/exercise", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/hyperion->M:src/main/java/de/tum/cit/aet/artemis/exercise", - "kind": "uses", - "refs": [ + "start_line": 41 + }, { - "blob_sha": "132fd9b234ead6fb6a1588b10b1b5a9bba521bd0", + "blob_sha": "72682b6310199a793a5020325105c161f2f36b44", "commits": [], - "end_line": 5, - "id": "E1", + "end_line": 42, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/dto/ExerciseGenerationMetadataSuggestionResponseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamImportService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 5 + "start_line": 42 }, { - "blob_sha": "5526ce0ab29047ad9a1b36a61095835348fad810", + "blob_sha": "72682b6310199a793a5020325105c161f2f36b44", "commits": [], - "end_line": 12, - "id": "E2", + "end_line": 43, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/dto/VariantGenerationRequestDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamImportService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 12 + "start_line": 43 }, { - "blob_sha": "93af33d173020b3699a23eb903b6b3d1d3e8e5a9", + "blob_sha": "9adedd3c861b47109210e5393bf183a6ed6d75ba", "commits": [], - "end_line": 9, - "id": "E3", + "end_line": 109, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/dto/VariantJobDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/hyperion" - }, - { - "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/fileupload", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/hyperion->M:src/main/java/de/tum/cit/aet/artemis/fileupload", - "kind": "uses", - "refs": [ - { - "blob_sha": "a05ba649e6e5b1591f763a1512cb147b9ad2365c", - "commits": [], - "end_line": 26, - "id": "E1", - "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionCompetencyContextService.java", - "repo": "ls1intum/Artemis", - "role": "import", - "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 26 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/hyperion" - }, - { - "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/iris", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/hyperion->M:src/main/java/de/tum/cit/aet/artemis/iris", - "kind": "uses", - "refs": [ - { - "blob_sha": "a05ba649e6e5b1591f763a1512cb147b9ad2365c", - "commits": [], - "end_line": 29, - "id": "E1", - "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionCompetencyContextService.java", - "repo": "ls1intum/Artemis", - "role": "import", - "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 29 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/hyperion" - }, - { - "count": 14, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/lecture", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/hyperion->M:src/main/java/de/tum/cit/aet/artemis/lecture", - "kind": "uses", - "refs": [ - { - "blob_sha": "a05ba649e6e5b1591f763a1512cb147b9ad2365c", - "commits": [], - "end_line": 30, - "id": "E1", - "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionCompetencyContextService.java", - "repo": "ls1intum/Artemis", - "role": "import", - "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 30 + "start_line": 109 }, { - "blob_sha": "a05ba649e6e5b1591f763a1512cb147b9ad2365c", + "blob_sha": "9adedd3c861b47109210e5393bf183a6ed6d75ba", "commits": [], - "end_line": 31, - "id": "E2", + "end_line": 110, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionCompetencyContextService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 31 + "start_line": 110 }, { - "blob_sha": "164de1dc51544605a42e73ea6980b72554cc36b8", + "blob_sha": "9adedd3c861b47109210e5393bf183a6ed6d75ba", "commits": [], - "end_line": 54, - "id": "E3", + "end_line": 111, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionQuizQuestionPoolBuildService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 54 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/hyperion" - }, - { - "count": 2, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/localci", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/hyperion->M:src/main/java/de/tum/cit/aet/artemis/localci", - "kind": "uses", - "refs": [ + "start_line": 111 + }, { - "blob_sha": "72b2c088a52370940f3a016f89035659ef40e6f3", + "blob_sha": "0897a818e79ecdadaddb035d43fe076f7adc683b", "commits": [], - "end_line": 42, - "id": "E1", + "end_line": 148, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/codegeneration/HyperionCodeGenerationExecutionService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/web/ExamResource.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 42 + "start_line": 148 }, { - "blob_sha": "a70e7c7bf36bc5e20cedeb11954c15de1702e790", + "blob_sha": "0897a818e79ecdadaddb035d43fe076f7adc683b", "commits": [], - "end_line": 49, - "id": "E2", + "end_line": 149, + "id": "E10", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/exercisegeneration/persistence/GenerationPersistenceService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/web/ExamResource.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 49 + "start_line": 149 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/hyperion" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exam" }, { - "count": 14, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/localvc", + "count": 3, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/localci", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/hyperion->M:src/main/java/de/tum/cit/aet/artemis/localvc", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exam->M:src/main/java/de/tum/cit/aet/artemis/localci", "kind": "uses", "refs": [ { - "blob_sha": "4f4db13ecaddf65d76bd617a6fb56def7128463d", + "blob_sha": "8a370276db26a827ba9cae4dacd5f056313b9927", "commits": [], "end_line": 31, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionProgrammingExerciseContextRendererService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamDeletionSummaryService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 31 }, { - "blob_sha": "4f4db13ecaddf65d76bd617a6fb56def7128463d", + "blob_sha": "5a20adf92d8ec4d737032ef755b0a7469e890a54", "commits": [], - "end_line": 32, + "end_line": 22, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionProgrammingExerciseContextRendererService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/StudentExamLiveEventService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 32 + "start_line": 22 }, { - "blob_sha": "72b2c088a52370940f3a016f89035659ef40e6f3", + "blob_sha": "0897a818e79ecdadaddb035d43fe076f7adc683b", "commits": [], - "end_line": 43, + "end_line": 150, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/codegeneration/HyperionCodeGenerationExecutionService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/web/ExamResource.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 43 + "start_line": 150 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/hyperion" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exam" }, { - "count": 1, + "count": 23, "dst": "M:src/main/java/de/tum/cit/aet/artemis/modeling", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/hyperion->M:src/main/java/de/tum/cit/aet/artemis/modeling", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exam->M:src/main/java/de/tum/cit/aet/artemis/modeling", "kind": "uses", "refs": [ { - "blob_sha": "a05ba649e6e5b1591f763a1512cb147b9ad2365c", + "blob_sha": "dccd9b6179f757ebc189b6a65758cab095d4748e", "commits": [], - "end_line": 32, + "end_line": 20, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionCompetencyContextService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExamWithExerciseGroupsDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 32 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/hyperion" - }, - { - "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/hyperion->M:src/main/java/de/tum/cit/aet/artemis/plagiarism", - "kind": "uses", - "refs": [ + "start_line": 20 + }, { - "blob_sha": "529c6d2a403bb23c7e799cd780742eb712b91440", + "blob_sha": "dccd9b6179f757ebc189b6a65758cab095d4748e", "commits": [], - "end_line": 29, - "id": "E1", + "end_line": 21, + "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/exercisegeneration/variant/GenerationVariantDraftService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExamWithExerciseGroupsDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 29 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/hyperion" - }, - { - "count": 141, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/programming", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/hyperion->M:src/main/java/de/tum/cit/aet/artemis/programming", - "kind": "uses", - "refs": [ + "start_line": 21 + }, { - "blob_sha": "44d4af0a0abdb47c955e435bf9c8f2264b460a15", + "blob_sha": "daac1cd6618cb50b820cd4546e7fb17c68a1f407", "commits": [], - "end_line": 5, - "id": "E1", + "end_line": 12, + "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/dto/CodeGenerationJobStartDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExerciseForExerciseGroupDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 5 + "start_line": 12 }, { - "blob_sha": "0347a8b6ff6ed31246837b9a379e1d76a556a738", + "blob_sha": "daac1cd6618cb50b820cd4546e7fb17c68a1f407", "commits": [], - "end_line": 9, - "id": "E2", + "end_line": 13, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/dto/CodeGenerationRequestDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExerciseForExerciseGroupDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 + "start_line": 13 }, { - "blob_sha": "81110f4b67fc0d5d9a8bb56d8bac2864c7947fbc", + "blob_sha": "45ead5b6330576d43bd59c951856562652870ddf", + "commits": [], + "end_line": 14, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExerciseImportDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "6e59d85daf1ecd32b0b7144247480c1d5ba4c638", "commits": [], "end_line": 10, - "id": "E3", + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/dto/ExerciseGenerationMetadataSuggestionRequestDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/conduction/ExamExerciseForConductionDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 10 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/hyperion" - }, - { - "count": 21, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/quiz", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/hyperion->M:src/main/java/de/tum/cit/aet/artemis/quiz", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "b9b9ba06694082f322a0651f059b0261357cdf12", + "blob_sha": "ddd3a9255b8b462cb8f1e8009b250372805d1837", "commits": [], - "end_line": 33, - "id": "E1", + "end_line": 5, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/variants/QuizVariantAdapterService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/conduction/ModelingExerciseForConductionDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 33 + "start_line": 5 }, { - "blob_sha": "b9b9ba06694082f322a0651f059b0261357cdf12", + "blob_sha": "ddd3a9255b8b462cb8f1e8009b250372805d1837", "commits": [], - "end_line": 34, - "id": "E2", + "end_line": 6, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/variants/QuizVariantAdapterService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/conduction/ModelingExerciseForConductionDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 34 + "start_line": 6 }, { - "blob_sha": "b9b9ba06694082f322a0651f059b0261357cdf12", + "blob_sha": "e369200b2a77cc000010c0a0abc4205fbf9eebdb", "commits": [], - "end_line": 35, - "id": "E3", + "end_line": 10, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/variants/QuizVariantAdapterService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/conduction/SubmissionForConductionDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 35 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/hyperion" - }, - { - "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/text", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/hyperion->M:src/main/java/de/tum/cit/aet/artemis/text", - "kind": "uses", - "refs": [ + "start_line": 10 + }, { - "blob_sha": "a05ba649e6e5b1591f763a1512cb147b9ad2365c", + "blob_sha": "72682b6310199a793a5020325105c161f2f36b44", "commits": [], - "end_line": 33, - "id": "E1", + "end_line": 44, + "id": "E10", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionCompetencyContextService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamImportService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 33 + "start_line": 44 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/hyperion" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exam" }, { - "count": 55, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/account", + "count": 6, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/iris->M:src/main/java/de/tum/cit/aet/artemis/account", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exam->M:src/main/java/de/tum/cit/aet/artemis/plagiarism", "kind": "uses", "refs": [ { - "blob_sha": "7599fd0d5abbc332de269b1e2097bebed6cffc68", + "blob_sha": "e028ab8960cbd98afb420a4aa5436861bad29b44", "commits": [], "end_line": 9, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/api/IrisCompetencyApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExamScoresDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 9 }, { - "blob_sha": "15d8819e62b1d1adb7a681fed7db74a6c6343bd2", + "blob_sha": "8a370276db26a827ba9cae4dacd5f056313b9927", "commits": [], - "end_line": 13, + "end_line": 32, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/api/IrisCourseHomeApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamDeletionSummaryService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 13 + "start_line": 32 }, { - "blob_sha": "15d8819e62b1d1adb7a681fed7db74a6c6343bd2", + "blob_sha": "9adedd3c861b47109210e5393bf183a6ed6d75ba", "commits": [], - "end_line": 14, + "end_line": 114, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/api/IrisCourseHomeApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 14 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/iris" - }, - { - "count": 18, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/admin", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/iris->M:src/main/java/de/tum/cit/aet/artemis/admin", - "kind": "uses", - "refs": [ + "start_line": 114 + }, { - "blob_sha": "715b3d4fba77412c756aa8d218b99ab879e7547e", + "blob_sha": "9adedd3c861b47109210e5393bf183a6ed6d75ba", "commits": [], - "end_line": 11, - "id": "E1", + "end_line": 115, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/dto/IrisChatWebsocketDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 + "start_line": 115 }, { - "blob_sha": "0fb46746d6b5571c2a312c3dc6797c8053ca64d2", + "blob_sha": "9adedd3c861b47109210e5393bf183a6ed6d75ba", "commits": [], - "end_line": 15, - "id": "E2", + "end_line": 116, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/IrisCompetencyGenerationService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 15 + "start_line": 116 }, { - "blob_sha": "0fb46746d6b5571c2a312c3dc6797c8053ca64d2", + "blob_sha": "9adedd3c861b47109210e5393bf183a6ed6d75ba", "commits": [], - "end_line": 16, - "id": "E3", + "end_line": 117, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/IrisCompetencyGenerationService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 16 + "start_line": 117 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/iris" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exam" }, { - "count": 3, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/assessment", + "count": 41, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/programming", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/iris->M:src/main/java/de/tum/cit/aet/artemis/assessment", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exam->M:src/main/java/de/tum/cit/aet/artemis/programming", "kind": "uses", "refs": [ { - "blob_sha": "920c50401210bdb29d130c87f7bfcc95f32d1e1d", + "blob_sha": "dccd9b6179f757ebc189b6a65758cab095d4748e", "commits": [], - "end_line": 12, + "end_line": 22, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/dto/data/PyrisExerciseWithStudentSubmissionsDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExamWithExerciseGroupsDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 12 + "start_line": 22 }, { - "blob_sha": "41774eddf597b599b059a9ff746b1410d0eab1e6", + "blob_sha": "dccd9b6179f757ebc189b6a65758cab095d4748e", "commits": [], - "end_line": 3, + "end_line": 23, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/event/NewResultEvent.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExamWithExerciseGroupsDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 + "start_line": 23 }, { - "blob_sha": "05da9cfdf29d9ecc604f84fc9f463423e37c0e45", + "blob_sha": "dccd9b6179f757ebc189b6a65758cab095d4748e", "commits": [], - "end_line": 39, + "end_line": 24, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/session/IrisChatSessionService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExamWithExerciseGroupsDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 39 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/iris" - }, - { - "count": 6, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/atlas", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/iris->M:src/main/java/de/tum/cit/aet/artemis/atlas", - "kind": "uses", - "refs": [ + "start_line": 24 + }, { - "blob_sha": "409ed268abe95122a677b3a801a7bad087143e14", + "blob_sha": "dccd9b6179f757ebc189b6a65758cab095d4748e", "commits": [], - "end_line": 5, - "id": "E1", + "end_line": 25, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/dto/IrisCompetencyRecommendationDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExamWithExerciseGroupsDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 5 + "start_line": 25 }, { - "blob_sha": "0fb46746d6b5571c2a312c3dc6797c8053ca64d2", + "blob_sha": "daac1cd6618cb50b820cd4546e7fb17c68a1f407", "commits": [], - "end_line": 17, - "id": "E2", + "end_line": 14, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/IrisCompetencyGenerationService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExerciseForExerciseGroupDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 17 + "start_line": 14 }, { - "blob_sha": "b0fc197b11a5d2e92384196797947ec311d4d291", + "blob_sha": "54d840638381e321ac507fd939e5abcc4d8e6ca4", "commits": [], - "end_line": 7, - "id": "E3", + "end_line": 15, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/dto/competency/PyrisCompetencyExtractionPipelineExecutionDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExerciseGroupDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/iris" - }, - { - "count": 39, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/communication", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/iris->M:src/main/java/de/tum/cit/aet/artemis/communication", - "kind": "uses", - "refs": [ + "start_line": 15 + }, { - "blob_sha": "d9e739346ba612c1272b476e647263ca6f1d85e5", + "blob_sha": "45ead5b6330576d43bd59c951856562652870ddf", "commits": [], - "end_line": 7, - "id": "E1", + "end_line": 15, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/api/AutonomousTutorApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExerciseImportDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 15 }, { - "blob_sha": "d9e739346ba612c1272b476e647263ca6f1d85e5", + "blob_sha": "6e59d85daf1ecd32b0b7144247480c1d5ba4c638", "commits": [], - "end_line": 8, - "id": "E2", + "end_line": 11, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/api/AutonomousTutorApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/conduction/ExamExerciseForConductionDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 8 + "start_line": 11 }, { - "blob_sha": "d9e739346ba612c1272b476e647263ca6f1d85e5", + "blob_sha": "385cb5ce2de2f7f4403b41021fd1c38ef0ba4927", "commits": [], - "end_line": 9, - "id": "E3", + "end_line": 13, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/api/AutonomousTutorApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/conduction/ParticipationBaseForConductionDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 + "start_line": 13 + }, + { + "blob_sha": "34e453567fa0e1978820de4a13177a3452e896c8", + "commits": [], + "end_line": 6, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/conduction/ProgrammingExerciseForConductionDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/iris" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exam" }, { - "count": 195, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", + "count": 53, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/quiz", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/iris->M:src/main/java/de/tum/cit/aet/artemis/core", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exam->M:src/main/java/de/tum/cit/aet/artemis/quiz", "kind": "uses", "refs": [ { - "blob_sha": "b0a7ae8794ee9abd2b1b8c824ca24480bb7c09c8", + "blob_sha": "dccd9b6179f757ebc189b6a65758cab095d4748e", "commits": [], - "end_line": 3, + "end_line": 26, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/api/AbstractIrisApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExamWithExerciseGroupsDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 + "start_line": 26 }, { - "blob_sha": "15d8819e62b1d1adb7a681fed7db74a6c6343bd2", + "blob_sha": "dccd9b6179f757ebc189b6a65758cab095d4748e", "commits": [], - "end_line": 15, + "end_line": 27, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/api/IrisCourseHomeApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExamWithExerciseGroupsDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 15 + "start_line": 27 }, { - "blob_sha": "15d8819e62b1d1adb7a681fed7db74a6c6343bd2", + "blob_sha": "dccd9b6179f757ebc189b6a65758cab095d4748e", "commits": [], - "end_line": 16, + "end_line": 28, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/api/IrisCourseHomeApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExamWithExerciseGroupsDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 16 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/iris" - }, - { - "count": 43, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/iris->M:src/main/java/de/tum/cit/aet/artemis/course", - "kind": "uses", - "refs": [ + "start_line": 28 + }, { - "blob_sha": "d9e739346ba612c1272b476e647263ca6f1d85e5", + "blob_sha": "dccd9b6179f757ebc189b6a65758cab095d4748e", "commits": [], - "end_line": 10, - "id": "E1", + "end_line": 29, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/api/AutonomousTutorApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExamWithExerciseGroupsDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 29 }, { - "blob_sha": "7599fd0d5abbc332de269b1e2097bebed6cffc68", + "blob_sha": "dccd9b6179f757ebc189b6a65758cab095d4748e", "commits": [], - "end_line": 10, - "id": "E2", + "end_line": 30, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/api/IrisCompetencyApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExamWithExerciseGroupsDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 30 }, { - "blob_sha": "15d8819e62b1d1adb7a681fed7db74a6c6343bd2", + "blob_sha": "dccd9b6179f757ebc189b6a65758cab095d4748e", "commits": [], - "end_line": 17, - "id": "E3", + "end_line": 31, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/api/IrisCourseHomeApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExamWithExerciseGroupsDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 17 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/iris" - }, - { - "count": 2, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/exam", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/iris->M:src/main/java/de/tum/cit/aet/artemis/exam", - "kind": "uses", - "refs": [ + "start_line": 31 + }, { - "blob_sha": "66310b207bcc3a5cfe1afb3a6be3f90365b29563", + "blob_sha": "45ead5b6330576d43bd59c951856562652870ddf", "commits": [], - "end_line": 9, - "id": "E1", + "end_line": 16, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/dto/data/PyrisExamDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExerciseImportDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 + "start_line": 16 }, { - "blob_sha": "0edf926979fea9777045dc29d886d95732cad3b0", + "blob_sha": "6e59d85daf1ecd32b0b7144247480c1d5ba4c638", "commits": [], - "end_line": 24, - "id": "E2", + "end_line": 12, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/session/IrisChatPipelineExecutionService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/conduction/ExamExerciseForConductionDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 24 + "start_line": 12 + }, + { + "blob_sha": "24ded6b7c0df626be045d8909a1a0ab255eabeca", + "commits": [], + "end_line": 11, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/conduction/QuizExerciseForConductionDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "24ded6b7c0df626be045d8909a1a0ab255eabeca", + "commits": [], + "end_line": 12, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/conduction/QuizExerciseForConductionDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/iris" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exam" }, { - "count": 21, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/exercise", + "count": 16, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/text", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/iris->M:src/main/java/de/tum/cit/aet/artemis/exercise", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exam->M:src/main/java/de/tum/cit/aet/artemis/text", "kind": "uses", "refs": [ { - "blob_sha": "0eef7e00897ef9168da570503e88a547067b24e7", + "blob_sha": "45ead5b6330576d43bd59c951856562652870ddf", "commits": [], - "end_line": 14, + "end_line": 17, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/domain/session/IrisChatSession.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExerciseImportDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 14 + "start_line": 17 }, { - "blob_sha": "7c129f04185ed3dca2291f41b94f7838ff1f0033", + "blob_sha": "e369200b2a77cc000010c0a0abc4205fbf9eebdb", "commits": [], - "end_line": 26, + "end_line": 13, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/PyrisPipelineService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/conduction/SubmissionForConductionDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 26 + "start_line": 13 }, { - "blob_sha": "7c129f04185ed3dca2291f41b94f7838ff1f0033", + "blob_sha": "72682b6310199a793a5020325105c161f2f36b44", "commits": [], - "end_line": 27, + "end_line": 54, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/PyrisPipelineService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamImportService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 27 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/iris" - }, - { - "count": 3, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/iris->M:src/main/java/de/tum/cit/aet/artemis/globalsearch", - "kind": "uses", - "refs": [ + "start_line": 54 + }, { - "blob_sha": "c598a6ea67e71d84ad43a00a7ac231d51d7bbee9", + "blob_sha": "72682b6310199a793a5020325105c161f2f36b44", "commits": [], - "end_line": 7, - "id": "E1", + "end_line": 55, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/dto/search/PyrisEntityCandidateDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamImportService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 55 }, { - "blob_sha": "b613425d5254679c0128bf11afd124b8b0567114", + "blob_sha": "9adedd3c861b47109210e5393bf183a6ed6d75ba", "commits": [], - "end_line": 31, - "id": "E2", + "end_line": 134, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/web/IrisGlobalSearchResource.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 31 + "start_line": 134 }, { - "blob_sha": "b613425d5254679c0128bf11afd124b8b0567114", + "blob_sha": "9adedd3c861b47109210e5393bf183a6ed6d75ba", "commits": [], - "end_line": 32, - "id": "E3", + "end_line": 135, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/web/IrisGlobalSearchResource.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 32 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/iris" - }, - { - "count": 46, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/lecture", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/iris->M:src/main/java/de/tum/cit/aet/artemis/lecture", - "kind": "uses", - "refs": [ + "start_line": 135 + }, { - "blob_sha": "21e023e52af5c59daf6fc02e90eb8906794c56a2", + "blob_sha": "4594f4ab1a94ade90880b1854be03ab7d185a94f", "commits": [], - "end_line": 13, - "id": "E1", + "end_line": 43, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/api/IrisLectureApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/ExamSubmissionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 13 + "start_line": 43 }, { - "blob_sha": "21e023e52af5c59daf6fc02e90eb8906794c56a2", + "blob_sha": "25bb64a9520659ea9c268503d9e3d0885041891d", "commits": [], - "end_line": 14, - "id": "E2", + "end_line": 30, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/api/IrisLectureApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/StudentExamAthenaFeedbackService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 14 + "start_line": 30 }, { - "blob_sha": "21e023e52af5c59daf6fc02e90eb8906794c56a2", + "blob_sha": "25bb64a9520659ea9c268503d9e3d0885041891d", "commits": [], - "end_line": 15, - "id": "E3", + "end_line": 31, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/api/IrisLectureApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/StudentExamAthenaFeedbackService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 15 + "start_line": 31 + }, + { + "blob_sha": "25bb64a9520659ea9c268503d9e3d0885041891d", + "commits": [], + "end_line": 32, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/service/StudentExamAthenaFeedbackService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 32 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/iris" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exam" }, { - "count": 2, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/localvc", + "count": 1, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/tutorialgroup", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/iris->M:src/main/java/de/tum/cit/aet/artemis/localvc", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exam->M:src/main/java/de/tum/cit/aet/artemis/tutorialgroup", "kind": "uses", "refs": [ { - "blob_sha": "1fd8ca5c22bab9568077f91ce43ce9c7922ae790", + "blob_sha": "c3f705a329a20518e370fa97a2820816539deac1", "commits": [], - "end_line": 38, + "end_line": 20, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/PyrisDTOService.java", - "repo": "ls1intum/Artemis", - "role": "import", - "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 38 - }, - { - "blob_sha": "7699362565832de32b4f801e87643e7ba971b2dc", - "commits": [], - "end_line": 3, - "id": "E2", - "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/web/internal/PyrisInternalIngestionWorkerResource.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exam/dto/ExamForAssessmentDashboardDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 + "start_line": 20 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/iris" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exam" }, { - "count": 8, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/notification", + "count": 65, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/account", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/iris->M:src/main/java/de/tum/cit/aet/artemis/notification", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/account", "kind": "uses", "refs": [ { - "blob_sha": "89aa460cfe47bba3219720c9fd8a8c9bbc446807", + "blob_sha": "0f3ffde70100ae0fc0c8c0248993573e78b8b8f5", "commits": [], - "end_line": 42, + "end_line": 47, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/AutonomousTutorService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Exercise.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 42 + "start_line": 47 }, { - "blob_sha": "89aa460cfe47bba3219720c9fd8a8c9bbc446807", + "blob_sha": "7bea939e2d8aa5adac9da01a940fe38a24ce5ace", "commits": [], - "end_line": 43, + "end_line": 18, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/AutonomousTutorService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/SubmissionVersion.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 43 + "start_line": 18 }, { - "blob_sha": "89aa460cfe47bba3219720c9fd8a8c9bbc446807", + "blob_sha": "5a970068502351135ad53b6b929962a1637125d3", "commits": [], - "end_line": 44, + "end_line": 23, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/AutonomousTutorService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Team.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 44 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/iris" - }, - { - "count": 31, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/programming", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/iris->M:src/main/java/de/tum/cit/aet/artemis/programming", - "kind": "uses", - "refs": [ + "start_line": 23 + }, { - "blob_sha": "1fd8ca5c22bab9568077f91ce43ce9c7922ae790", + "blob_sha": "a22056d204949a5ca7232b3f05ab0c6da330d88a", "commits": [], - "end_line": 39, - "id": "E1", + "end_line": 7, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/PyrisDTOService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/participation/Participant.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 39 + "start_line": 7 }, { - "blob_sha": "1fd8ca5c22bab9568077f91ce43ce9c7922ae790", + "blob_sha": "d2b034f80559ea7c60d65f3a729cfd3b5b17e456", "commits": [], - "end_line": 40, - "id": "E2", + "end_line": 14, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/PyrisDTOService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/participation/StudentParticipation.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 40 + "start_line": 14 }, { - "blob_sha": "1fd8ca5c22bab9568077f91ce43ce9c7922ae790", + "blob_sha": "7c11da553c99831e8ca13d30402c7ef6085f18b5", "commits": [], - "end_line": 41, - "id": "E3", + "end_line": 14, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/PyrisDTOService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/review/Comment.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 41 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/iris" - }, - { - "count": 7, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/text", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/iris->M:src/main/java/de/tum/cit/aet/artemis/text", - "kind": "uses", - "refs": [ + "start_line": 14 + }, { - "blob_sha": "9653da506b6c3590f1285d27056bc14f52b7e16d", + "blob_sha": "998e51d18087139d3c0beea319ea7139bfef0342", "commits": [], - "end_line": 9, - "id": "E1", + "end_line": 10, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/dto/data/PyrisTextExerciseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/ParticipantUserDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 + "start_line": 10 }, { - "blob_sha": "0edf926979fea9777045dc29d886d95732cad3b0", + "blob_sha": "bb727d0b96dd0b7681a2c484eb19dea6c05b8049", "commits": [], - "end_line": 59, - "id": "E2", + "end_line": 5, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/session/IrisChatPipelineExecutionService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/StudentDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 59 + "start_line": 5 }, { - "blob_sha": "0edf926979fea9777045dc29d886d95732cad3b0", + "blob_sha": "dfa2ddc967a502f0ae921bdf3a7bbf70f02fac57", "commits": [], - "end_line": 60, - "id": "E3", + "end_line": 13, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/session/IrisChatPipelineExecutionService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/StudentParticipationDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 60 + "start_line": 13 + }, + { + "blob_sha": "6c66e28e6c8463df86e171dc125c3f253376d49a", + "commits": [], + "end_line": 14, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/TeamImportDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/iris" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" }, { - "count": 6, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/videosource", + "count": 128, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/assessment", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/iris->M:src/main/java/de/tum/cit/aet/artemis/videosource", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/assessment", "kind": "uses", "refs": [ { - "blob_sha": "8b23271e3bb58054668ab426828ee9286a166f6f", + "blob_sha": "d14f030786f3464f8fafe2f1c2c62c4cd4f4a337", "commits": [], - "end_line": 4, + "end_line": 18, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/PyrisLectureUnitEligibility.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/BaseExercise.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 4 + "start_line": 18 }, { - "blob_sha": "a1444925b2cc3d0a743ed4fd6e137bdb035d90ec", + "blob_sha": "0f3ffde70100ae0fc0c8c0248993573e78b8b8f5", "commits": [], - "end_line": 22, + "end_line": 48, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/PyrisLectureUnitSyncService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Exercise.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 22 + "start_line": 48 }, { - "blob_sha": "a1444925b2cc3d0a743ed4fd6e137bdb035d90ec", + "blob_sha": "0f3ffde70100ae0fc0c8c0248993573e78b8b8f5", "commits": [], - "end_line": 23, + "end_line": 49, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/PyrisLectureUnitSyncService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Exercise.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 23 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/iris" - }, - { - "count": 21, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/jenkins->M:src/main/java/de/tum/cit/aet/artemis/core", - "kind": "uses", - "refs": [ + "start_line": 49 + }, { - "blob_sha": "bd314a27f21bb0f05f142ba3ac3bc03380792075", + "blob_sha": "0f3ffde70100ae0fc0c8c0248993573e78b8b8f5", "commits": [], - "end_line": 3, - "id": "E1", + "end_line": 50, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/JenkinsAuthorizationInterceptor.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Exercise.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 + "start_line": 50 }, { - "blob_sha": "af1bbb5303b3bc5b9cdad0f71731d40948899491", + "blob_sha": "0f3ffde70100ae0fc0c8c0248993573e78b8b8f5", "commits": [], - "end_line": 9, - "id": "E2", + "end_line": 51, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/JenkinsEndpoints.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Exercise.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 + "start_line": 51 }, { - "blob_sha": "cc7b1f1a1b91f18cb02dd2b31925b86f35ca81a3", + "blob_sha": "0f3ffde70100ae0fc0c8c0248993573e78b8b8f5", "commits": [], - "end_line": 3, - "id": "E3", + "end_line": 52, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/JenkinsInfoContributor.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Exercise.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/jenkins" - }, - { - "count": 9, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/localci", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/jenkins->M:src/main/java/de/tum/cit/aet/artemis/localci", - "kind": "uses", - "refs": [ + "start_line": 52 + }, { - "blob_sha": "2bc4f72cc432bb4c1816d62077ff3a3d9e9ad880", + "blob_sha": "0f3ffde70100ae0fc0c8c0248993573e78b8b8f5", "commits": [], - "end_line": 9, - "id": "E1", + "end_line": 53, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/JenkinsResultService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Exercise.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 + "start_line": 53 }, { - "blob_sha": "2bc4f72cc432bb4c1816d62077ff3a3d9e9ad880", + "blob_sha": "1c64fd5bec2184c6ca6d50dd3e20a6be5b79c791", "commits": [], - "end_line": 10, - "id": "E2", + "end_line": 40, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/JenkinsResultService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Submission.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 40 }, { - "blob_sha": "2bc4f72cc432bb4c1816d62077ff3a3d9e9ad880", + "blob_sha": "123765a303c03b6bc43d4aca138b2c8482e652ed", "commits": [], - "end_line": 11, - "id": "E3", + "end_line": 33, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/JenkinsResultService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/participation/Participation.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 + "start_line": 33 + }, + { + "blob_sha": "067bfc69ffd07564bca432a4d648980e5622b754", + "commits": [], + "end_line": 9, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/CorrectionRoundResultDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/jenkins" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" }, { "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/localvc", + "dst": "M:src/main/java/de/tum/cit/aet/artemis/athena", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/jenkins->M:src/main/java/de/tum/cit/aet/artemis/localvc", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/athena", "kind": "uses", "refs": [ { - "blob_sha": "4c019e9378cf0dbe9af3ddb97044a5122f3e5a82", + "blob_sha": "b4924f88b40adb1058e1b463bb801583a4f7bcae", "commits": [], - "end_line": 13, + "end_line": 43, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/JenkinsInternalUrlService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/SubmissionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 13 + "start_line": 43 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/jenkins" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" }, { - "count": 59, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/programming", + "count": 15, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/atlas", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/jenkins->M:src/main/java/de/tum/cit/aet/artemis/programming", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/atlas", "kind": "uses", "refs": [ { - "blob_sha": "83e34e93d968adf332c861060e9aa44134878c6d", + "blob_sha": "0f3ffde70100ae0fc0c8c0248993573e78b8b8f5", "commits": [], - "end_line": 3, + "end_line": 54, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/exception/JenkinsException.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Exercise.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 + "start_line": 54 }, { - "blob_sha": "0f2eec91eed11d6b27cfca14e76cf62c7b1bf6d9", + "blob_sha": "0f3ffde70100ae0fc0c8c0248993573e78b8b8f5", "commits": [], - "end_line": 4, + "end_line": 55, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/JenkinsProgrammingLanguageFeatureService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Exercise.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 4 + "start_line": 55 }, { - "blob_sha": "0f2eec91eed11d6b27cfca14e76cf62c7b1bf6d9", + "blob_sha": "a62539022caa0ce4c8aab102bd8510ed745f352b", "commits": [], - "end_line": 5, + "end_line": 17, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/JenkinsProgrammingLanguageFeatureService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/versioning/ExerciseSnapshotDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 5 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/jenkins" - }, - { - "count": 14, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/account", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/lecture->M:src/main/java/de/tum/cit/aet/artemis/account", - "kind": "uses", - "refs": [ + "start_line": 17 + }, { - "blob_sha": "a0382a37f6a1d1f6e6401ab26650a7c9d78ef8a1", + "blob_sha": "09521b5b3d754ce8a80129cf2d3788867a1e9e4f", "commits": [], - "end_line": 10, - "id": "E1", + "end_line": 17, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/LectureApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/CompetencyExerciseLinkService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 17 }, { - "blob_sha": "20089a7dbfa4bd56ba6bf4fe96ba11d54743653a", + "blob_sha": "09521b5b3d754ce8a80129cf2d3788867a1e9e4f", "commits": [], - "end_line": 14, - "id": "E2", + "end_line": 18, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/LectureCourseHomeApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/CompetencyExerciseLinkService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 14 + "start_line": 18 }, { - "blob_sha": "af03bc054ccdd8e2e13684d88457f9d6b16e1d09", + "blob_sha": "09521b5b3d754ce8a80129cf2d3788867a1e9e4f", "commits": [], - "end_line": 11, - "id": "E3", + "end_line": 19, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/LectureUnitApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/CompetencyExerciseLinkService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/lecture" - }, - { - "count": 27, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/atlas", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/lecture->M:src/main/java/de/tum/cit/aet/artemis/atlas", - "kind": "uses", - "refs": [ + "start_line": 19 + }, { - "blob_sha": "6dd3f8319a8d7fe9ef613c7e66efb3aa4bbfdec2", + "blob_sha": "09521b5b3d754ce8a80129cf2d3788867a1e9e4f", "commits": [], - "end_line": 21, - "id": "E1", + "end_line": 20, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lecture/domain/ExerciseUnit.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/CompetencyExerciseLinkService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 21 + "start_line": 20 }, { - "blob_sha": "b7f0e40a48f12b5475f653721422b99c1b183820", + "blob_sha": "09521b5b3d754ce8a80129cf2d3788867a1e9e4f", "commits": [], - "end_line": 36, - "id": "E2", + "end_line": 21, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lecture/domain/LectureUnit.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/CompetencyExerciseLinkService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 36 + "start_line": 21 }, { - "blob_sha": "b7f0e40a48f12b5475f653721422b99c1b183820", + "blob_sha": "66cff97156e47cfcc9c8e6809c0ca95c9c0cde75", "commits": [], - "end_line": 37, - "id": "E3", + "end_line": 24, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lecture/domain/LectureUnit.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseDeletionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 37 + "start_line": 24 + }, + { + "blob_sha": "66cff97156e47cfcc9c8e6809c0ca95c9c0cde75", + "commits": [], + "end_line": 25, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseDeletionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/lecture" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" }, { - "count": 5, + "count": 3, "dst": "M:src/main/java/de/tum/cit/aet/artemis/calendar", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/lecture->M:src/main/java/de/tum/cit/aet/artemis/calendar", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/calendar", "kind": "uses", "refs": [ { - "blob_sha": "a0382a37f6a1d1f6e6401ab26650a7c9d78ef8a1", + "blob_sha": "2109c416b49e70e98370b7587fdcb4b2c0eb3712", "commits": [], - "end_line": 11, + "end_line": 22, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/LectureApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/repository/ExerciseRepository.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 + "start_line": 22 }, { - "blob_sha": "0b45b421c0c30b57002b336d4d550ef0398379c4", + "blob_sha": "ea454d05eb9d2398a4eb9724984489f258abad48", "commits": [], - "end_line": 17, + "end_line": 51, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lecture/repository/LectureRepository.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 17 + "start_line": 51 }, { - "blob_sha": "9dc3a95a848494d522040595446616ab760dedeb", + "blob_sha": "ea454d05eb9d2398a4eb9724984489f258abad48", "commits": [], - "end_line": 31, + "end_line": 52, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/LectureService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 31 + "start_line": 52 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/lecture" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" }, { - "count": 11, + "count": 7, "dst": "M:src/main/java/de/tum/cit/aet/artemis/communication", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/lecture->M:src/main/java/de/tum/cit/aet/artemis/communication", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/communication", "kind": "uses", "refs": [ { - "blob_sha": "acab8f643715a55c0389ee18a83b804360d4b99b", + "blob_sha": "e829e37d3d8728456edf70915403e8d5de1fde32", "commits": [], - "end_line": 30, + "end_line": 29, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/LectureDemoService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/EntityDeletionProgressService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 30 + "start_line": 29 }, { - "blob_sha": "acab8f643715a55c0389ee18a83b804360d4b99b", + "blob_sha": "66cff97156e47cfcc9c8e6809c0ca95c9c0cde75", "commits": [], - "end_line": 31, + "end_line": 26, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/LectureDemoService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseDeletionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 31 + "start_line": 26 }, { - "blob_sha": "be3c939c8b7d51ee99708e6fe673e25905f12f8c", + "blob_sha": "55779a481214f0c5f9e164e1fa608cf377885d46", "commits": [], - "end_line": 12, + "end_line": 21, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/LectureImportService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseEditorSyncService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 12 + "start_line": 21 + }, + { + "blob_sha": "a5a422c1f93170b2f3826653c59be19ac14080c5", + "commits": [], + "end_line": 31, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseVersionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 31 + }, + { + "blob_sha": "d665e05bbc929f1cc51334f46efdb3905cfeb9b2", + "commits": [], + "end_line": 25, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/web/ExerciseEditorSyncWebsocketController.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "856535d6755f1ef060f9cb440ef70a8e479c1a2e", + "commits": [], + "end_line": 35, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/web/ParticipationTeamWebsocketService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 35 + }, + { + "blob_sha": "c04b3dd95a4039d4db2cb777e3f9953222d5f367", + "commits": [], + "end_line": 17, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/web/TeamWebsocketService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/lecture" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" }, { - "count": 209, + "count": 370, "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/lecture->M:src/main/java/de/tum/cit/aet/artemis/core", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/core", "kind": "uses", "refs": [ { - "blob_sha": "16ce9aa2efbea23b8e55c2955213a9fab21f1994", + "blob_sha": "d14f030786f3464f8fafe2f1c2c62c4cd4f4a337", "commits": [], "end_line": 3, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/AbstractLectureApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/BaseExercise.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 3 }, { - "blob_sha": "a0382a37f6a1d1f6e6401ab26650a7c9d78ef8a1", + "blob_sha": "d14f030786f3464f8fafe2f1c2c62c4cd4f4a337", "commits": [], - "end_line": 12, + "end_line": 19, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/LectureApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/BaseExercise.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 12 + "start_line": 19 }, { - "blob_sha": "16bf3bb84dd1d3f4e9f03b22a0214ed7a1e7abdc", + "blob_sha": "d14f030786f3464f8fafe2f1c2c62c4cd4f4a337", "commits": [], - "end_line": 13, + "end_line": 4, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/LectureAttachmentApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/BaseExercise.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 13 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/lecture" - }, - { - "count": 20, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/lecture->M:src/main/java/de/tum/cit/aet/artemis/course", - "kind": "uses", - "refs": [ + "start_line": 4 + }, { - "blob_sha": "a0382a37f6a1d1f6e6401ab26650a7c9d78ef8a1", + "blob_sha": "d14f030786f3464f8fafe2f1c2c62c4cd4f4a337", "commits": [], - "end_line": 13, - "id": "E1", + "end_line": 20, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/LectureApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/BaseExercise.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 13 + "start_line": 20 }, { - "blob_sha": "20089a7dbfa4bd56ba6bf4fe96ba11d54743653a", + "blob_sha": "0f3ffde70100ae0fc0c8c0248993573e78b8b8f5", "commits": [], - "end_line": 17, - "id": "E2", + "end_line": 56, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/LectureCourseHomeApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Exercise.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 17 + "start_line": 56 }, { - "blob_sha": "20089a7dbfa4bd56ba6bf4fe96ba11d54743653a", + "blob_sha": "0f3ffde70100ae0fc0c8c0248993573e78b8b8f5", "commits": [], - "end_line": 18, - "id": "E3", + "end_line": 57, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/LectureCourseHomeApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Exercise.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 18 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/lecture" - }, - { - "count": 18, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/exercise", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/lecture->M:src/main/java/de/tum/cit/aet/artemis/exercise", - "kind": "uses", - "refs": [ + "start_line": 57 + }, { - "blob_sha": "a0382a37f6a1d1f6e6401ab26650a7c9d78ef8a1", + "blob_sha": "0f3ffde70100ae0fc0c8c0248993573e78b8b8f5", "commits": [], - "end_line": 14, - "id": "E1", + "end_line": 58, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/LectureApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Exercise.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 14 + "start_line": 58 }, { - "blob_sha": "4c5831797a353ca39003e5670c21ab27a32b8a09", + "blob_sha": "4050bc4522a2ef8f4f0cf8c841d98b7d4c0b84af", "commits": [], - "end_line": 9, - "id": "E2", + "end_line": 3, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/SlideApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/ExerciseDateValidator.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 + "start_line": 3 }, { - "blob_sha": "6dd3f8319a8d7fe9ef613c7e66efb3aa4bbfdec2", + "blob_sha": "82372996793c667df0ca1e5f9f4dc6a1d2166899", "commits": [], - "end_line": 22, - "id": "E3", + "end_line": 15, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lecture/domain/ExerciseUnit.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/ExerciseTimeline.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 22 + "start_line": 15 + }, + { + "blob_sha": "82372996793c667df0ca1e5f9f4dc6a1d2166899", + "commits": [], + "end_line": 3, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/ExerciseTimeline.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/lecture" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" }, { - "count": 19, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch", + "count": 32, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/lecture->M:src/main/java/de/tum/cit/aet/artemis/globalsearch", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/course", "kind": "uses", "refs": [ { - "blob_sha": "9dc3a95a848494d522040595446616ab760dedeb", + "blob_sha": "0f3ffde70100ae0fc0c8c0248993573e78b8b8f5", "commits": [], - "end_line": 49, + "end_line": 59, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/LectureService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Exercise.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 49 + "start_line": 59 }, { - "blob_sha": "9dc3a95a848494d522040595446616ab760dedeb", + "blob_sha": "9f9c987d0233d9ffd0cefc20340e7aec80e2e09b", "commits": [], - "end_line": 50, + "end_line": 23, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/LectureService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/ExerciseVariantGroup.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 50 + "start_line": 23 }, { - "blob_sha": "9dc3a95a848494d522040595446616ab760dedeb", + "blob_sha": "0a59009cb1e11ed266ab98b47b927a55248288e7", "commits": [], - "end_line": 51, + "end_line": 13, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/LectureService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/CourseWithTeamExercisesDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 51 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/lecture" - }, - { - "count": 6, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/iris", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/lecture->M:src/main/java/de/tum/cit/aet/artemis/iris", - "kind": "uses", - "refs": [ + "start_line": 13 + }, { - "blob_sha": "efbaadc837fe540f431c720d380e928eaf3246ca", + "blob_sha": "6df48e075b0d61de462a94e18d1a5ffb7a67d538", "commits": [], - "end_line": 14, - "id": "E1", + "end_line": 10, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/IrisLectureUnitSyncDispatchService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/ExerciseCourseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 14 + "start_line": 10 }, { - "blob_sha": "efbaadc837fe540f431c720d380e928eaf3246ca", + "blob_sha": "6df48e075b0d61de462a94e18d1a5ffb7a67d538", "commits": [], - "end_line": 15, - "id": "E2", + "end_line": 11, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/IrisLectureUnitSyncDispatchService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/ExerciseCourseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 15 + "start_line": 11 }, { - "blob_sha": "71ff29a69b0dddc213f31390bbedaaf3cc5cb9d4", + "blob_sha": "355c9a3276324c073a4f7d558dc59c73461b143f", "commits": [], - "end_line": 20, - "id": "E3", + "end_line": 8, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/IrisLectureUnitSyncEventListener.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/ExerciseResponseContextDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 20 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/lecture" - }, - { - "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/notification", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/lecture->M:src/main/java/de/tum/cit/aet/artemis/notification", - "kind": "uses", - "refs": [ + "start_line": 8 + }, { - "blob_sha": "31edd17e7813ffd6eef8b2699bc4ae2624544c3e", + "blob_sha": "355c9a3276324c073a4f7d558dc59c73461b143f", "commits": [], - "end_line": 76, - "id": "E1", + "end_line": 9, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lecture/web/AttachmentVideoUnitResource.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/ExerciseResponseContextDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 76 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/lecture" - }, - { - "count": 18, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/videosource", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/lecture->M:src/main/java/de/tum/cit/aet/artemis/videosource", - "kind": "uses", - "refs": [ + "start_line": 9 + }, { - "blob_sha": "d7f485752ec0a2276f0708a76c7c2d086a737d9a", + "blob_sha": "096ab59e2e9b0ad34a56bfe4140ed340cdcc703e", "commits": [], - "end_line": 13, - "id": "E1", + "end_line": 21, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/LectureVideoCoverageApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/ExerciseResponseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 13 + "start_line": 21 }, { - "blob_sha": "a6a38043a7cc0186cf72881e396674371cbb888b", + "blob_sha": "ccb54975a4e3046297f312cd4df6de3baf7284f5", "commits": [], - "end_line": 17, - "id": "E2", + "end_line": 12, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lecture/dto/LectureDetailsDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/ParticipationDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 17 + "start_line": 12 }, { - "blob_sha": "399b66644b1f015b32df67612ed2640935f076d8", + "blob_sha": "cec45640f76f33b497cb3ff08035f9a7446a66ee", "commits": [], - "end_line": 34, - "id": "E3", + "end_line": 9, + "id": "E10", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/LectureContentProcessingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/UpcomingExerciseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 34 + "start_line": 9 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/lecture" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" }, { - "count": 2, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/account", + "count": 33, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/exam", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/localci->M:src/main/java/de/tum/cit/aet/artemis/account", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/exam", "kind": "uses", "refs": [ { - "blob_sha": "95ae20cf71c464ee3d95df347e38a21afc8a7c6d", + "blob_sha": "0f3ffde70100ae0fc0c8c0248993573e78b8b8f5", "commits": [], - "end_line": 14, + "end_line": 60, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/LocalCIEventListenerService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Exercise.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 14 + "start_line": 60 }, { - "blob_sha": "95ae20cf71c464ee3d95df347e38a21afc8a7c6d", + "blob_sha": "0f3ffde70100ae0fc0c8c0248993573e78b8b8f5", "commits": [], - "end_line": 15, + "end_line": 61, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/LocalCIEventListenerService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Exercise.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 15 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/localci" - }, - { - "count": 15, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/assessment", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/localci->M:src/main/java/de/tum/cit/aet/artemis/assessment", - "kind": "uses", - "refs": [ + "start_line": 61 + }, { - "blob_sha": "74174fd0aa0293175a87eb6642d8b313cd043c29", + "blob_sha": "333e4882f68dff69fb35017dc6b5c04844be6b6a", "commits": [], - "end_line": 19, - "id": "E1", + "end_line": 9, + "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localci/domain/BuildJob.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/ExerciseGroupContextDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 19 + "start_line": 9 }, { - "blob_sha": "574caa563533918fb035a0624089c288c7596833", + "blob_sha": "333e4882f68dff69fb35017dc6b5c04844be6b6a", "commits": [], - "end_line": 32, - "id": "E2", + "end_line": 10, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/LocalCIResultProcessingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/ExerciseGroupContextDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 32 + "start_line": 10 }, { - "blob_sha": "16488162938e8bd12a213d86c478f312a0209495", + "blob_sha": "333e4882f68dff69fb35017dc6b5c04844be6b6a", "commits": [], - "end_line": 34, - "id": "E3", + "end_line": 11, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/ProgrammingExerciseFeedbackCreationService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/ExerciseGroupContextDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 34 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/localci" - }, - { - "count": 59, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/buildagent", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/localci->M:src/main/java/de/tum/cit/aet/artemis/buildagent", - "kind": "uses", - "refs": [ + "start_line": 11 + }, { - "blob_sha": "74174fd0aa0293175a87eb6642d8b313cd043c29", + "blob_sha": "6a2685c36db0c05d6c9ba4b8f7f155bf72808f6a", "commits": [], - "end_line": 20, - "id": "E1", + "end_line": 5, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localci/domain/BuildJob.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/ExerciseGroupWithIdAndExamDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 20 + "start_line": 5 }, { - "blob_sha": "cb9eac4e7e799b9a5af0057bbbf660840e1914f4", + "blob_sha": "355c9a3276324c073a4f7d558dc59c73461b143f", "commits": [], - "end_line": 7, - "id": "E2", + "end_line": 10, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localci/dto/CourseBuildJobDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/ExerciseResponseContextDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 10 }, { - "blob_sha": "cb9eac4e7e799b9a5af0057bbbf660840e1914f4", + "blob_sha": "355c9a3276324c073a4f7d558dc59c73461b143f", "commits": [], - "end_line": 8, - "id": "E3", + "end_line": 11, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localci/dto/CourseBuildJobDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/ExerciseResponseContextDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 8 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/localci" - }, - { - "count": 2, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/communication", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/localci->M:src/main/java/de/tum/cit/aet/artemis/communication", - "kind": "uses", - "refs": [ + "start_line": 11 + }, { - "blob_sha": "0bd70f64d19915a5c1e9b9f04c94fa10210a3c24", + "blob_sha": "2109c416b49e70e98370b7587fdcb4b2c0eb3712", "commits": [], - "end_line": 26, - "id": "E1", + "end_line": 25, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/LocalCIWebsocketMessagingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/repository/ExerciseRepository.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 26 + "start_line": 25 }, { - "blob_sha": "16488162938e8bd12a213d86c478f312a0209495", + "blob_sha": "12906a8d6989f79430aa8ced303d5fd689dbc681", "commits": [], - "end_line": 43, - "id": "E2", + "end_line": 42, + "id": "E10", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/ProgrammingExerciseFeedbackCreationService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/repository/StudentParticipationRepository.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 43 + "start_line": 42 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/localci" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" }, { - "count": 120, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", + "count": 15, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/fileupload", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/localci->M:src/main/java/de/tum/cit/aet/artemis/core", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/fileupload", "kind": "uses", "refs": [ { - "blob_sha": "d38e0c14ed50512bceb23c21f1e660027f684d23", + "blob_sha": "0f3ffde70100ae0fc0c8c0248993573e78b8b8f5", "commits": [], - "end_line": 8, + "end_line": 64, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localci/api/LocalCITelemetryApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Exercise.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 8 + "start_line": 64 }, { - "blob_sha": "d38e0c14ed50512bceb23c21f1e660027f684d23", + "blob_sha": "2e6fe513d13c7b4b858992872efea4f85254dcdc", "commits": [], - "end_line": 9, + "end_line": 7, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localci/api/LocalCITelemetryApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/ExerciseType.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 + "start_line": 7 }, { - "blob_sha": "74174fd0aa0293175a87eb6642d8b313cd043c29", + "blob_sha": "1c64fd5bec2184c6ca6d50dd3e20a6be5b79c791", "commits": [], - "end_line": 21, + "end_line": 44, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localci/domain/BuildJob.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Submission.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 21 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/localci" - }, - { - "count": 2, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/localci->M:src/main/java/de/tum/cit/aet/artemis/course", - "kind": "uses", - "refs": [ - { - "blob_sha": "08fc1fe509b84493b56bb1d455abb5fab825026b", - "commits": [], - "end_line": 17, - "id": "E1", - "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localci/repository/BuildJobSpecs.java", - "repo": "ls1intum/Artemis", - "role": "import", - "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 17 + "start_line": 44 }, { - "blob_sha": "345dbfcd69d9cd27e5c7c0cb35257783fbd35b75", + "blob_sha": "db45ab15efa8559c8bdc523fc985b49a811bb045", "commits": [], - "end_line": 30, - "id": "E2", + "end_line": 15, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/LocalCITriggerService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/DetailedSubmissionDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 30 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/localci" - }, - { - "count": 6, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/exam", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/localci->M:src/main/java/de/tum/cit/aet/artemis/exam", - "kind": "uses", - "refs": [ + "start_line": 15 + }, { - "blob_sha": "b0c84d30f790660bd5bdd2f0b3948258374a1e6c", + "blob_sha": "096ab59e2e9b0ad34a56bfe4140ed340cdcc703e", "commits": [], "end_line": 27, - "id": "E1", + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/AutomaticAfterDueDateService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/ExerciseResponseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 27 }, { - "blob_sha": "b0c84d30f790660bd5bdd2f0b3948258374a1e6c", + "blob_sha": "e735590378f91f5fc07e8059739889eb0591b42d", "commits": [], - "end_line": 28, - "id": "E2", + "end_line": 15, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/AutomaticAfterDueDateService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/ParticipationSubmissionDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 28 + "start_line": 15 }, { - "blob_sha": "b0c84d30f790660bd5bdd2f0b3948258374a1e6c", + "blob_sha": "a62539022caa0ce4c8aab102bd8510ed745f352b", "commits": [], - "end_line": 29, - "id": "E3", + "end_line": 24, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/AutomaticAfterDueDateService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/versioning/ExerciseSnapshotDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 29 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/localci" - }, - { - "count": 12, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/exercise", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/localci->M:src/main/java/de/tum/cit/aet/artemis/exercise", - "kind": "uses", - "refs": [ + "start_line": 24 + }, { - "blob_sha": "acb32d4ac2b2cd9789ec7aec38fe9b0c55f3df5f", + "blob_sha": "e3991d61da5681f6df067bea92623a86edd978b2", "commits": [], - "end_line": 28, - "id": "E1", + "end_line": 8, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/BuildJobCloneTokenService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/versioning/FileUploadExerciseSnapshotDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 28 + "start_line": 8 }, { - "blob_sha": "acb32d4ac2b2cd9789ec7aec38fe9b0c55f3df5f", + "blob_sha": "8acf1e8c41d37e91458b9c325f62b954a10c2f76", "commits": [], - "end_line": 29, - "id": "E2", + "end_line": 30, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/BuildJobCloneTokenService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/repository/SubmissionRepository.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 29 + "start_line": 30 }, { - "blob_sha": "79d2d6a8e923997d84c98e899f69d91b40520d36", + "blob_sha": "8acf1e8c41d37e91458b9c325f62b954a10c2f76", "commits": [], - "end_line": 13, - "id": "E3", + "end_line": 31, + "id": "E10", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/BuildPhaseEvaluationService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/repository/SubmissionRepository.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 13 + "start_line": 31 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/localci" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" }, { - "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/hyperion", + "count": 2, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/localci->M:src/main/java/de/tum/cit/aet/artemis/hyperion", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/globalsearch", "kind": "uses", "refs": [ { - "blob_sha": "16488162938e8bd12a213d86c478f312a0209495", + "blob_sha": "66cff97156e47cfcc9c8e6809c0ca95c9c0cde75", "commits": [], - "end_line": 46, + "end_line": 44, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/ProgrammingExerciseFeedbackCreationService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseDeletionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 46 + "start_line": 44 + }, + { + "blob_sha": "66cff97156e47cfcc9c8e6809c0ca95c9c0cde75", + "commits": [], + "end_line": 45, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseDeletionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 45 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/localci" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" }, { - "count": 4, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/localvc", + "count": 9, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/hyperion", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/localci->M:src/main/java/de/tum/cit/aet/artemis/localvc", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/hyperion", "kind": "uses", "refs": [ { - "blob_sha": "acb32d4ac2b2cd9789ec7aec38fe9b0c55f3df5f", + "blob_sha": "e15274e9d48b758c9f62a14a0243bf6922522fec", "commits": [], - "end_line": 30, + "end_line": 9, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/BuildJobCloneTokenService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/review/ConsistencyIssueCommentContentDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 30 + "start_line": 9 }, { - "blob_sha": "345dbfcd69d9cd27e5c7c0cb35257783fbd35b75", + "blob_sha": "e15274e9d48b758c9f62a14a0243bf6922522fec", "commits": [], - "end_line": 40, + "end_line": 10, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/LocalCITriggerService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/review/ConsistencyIssueCommentContentDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 40 + "start_line": 10 }, { - "blob_sha": "345dbfcd69d9cd27e5c7c0cb35257783fbd35b75", + "blob_sha": "a5a422c1f93170b2f3826653c59be19ac14080c5", "commits": [], - "end_line": 41, + "end_line": 46, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/LocalCITriggerService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseVersionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 41 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/localci" - }, - { - "count": 2, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/notification", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/localci->M:src/main/java/de/tum/cit/aet/artemis/notification", - "kind": "uses", - "refs": [ + "start_line": 46 + }, { - "blob_sha": "95ae20cf71c464ee3d95df347e38a21afc8a7c6d", + "blob_sha": "4e3a062c927256ff993bdb346311b73c622f625c", "commits": [], - "end_line": 26, - "id": "E1", + "end_line": 63, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/LocalCIEventListenerService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ParticipationService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 26 + "start_line": 63 }, { - "blob_sha": "95ae20cf71c464ee3d95df347e38a21afc8a7c6d", + "blob_sha": "77c2455e9701cf28530618525001f9468e075e81", "commits": [], - "end_line": 27, - "id": "E2", + "end_line": 47, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/LocalCIEventListenerService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/review/ExerciseReviewService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 27 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/localci" - }, - { - "count": 215, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/programming", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/localci->M:src/main/java/de/tum/cit/aet/artemis/programming", - "kind": "uses", - "refs": [ + "start_line": 47 + }, { - "blob_sha": "74174fd0aa0293175a87eb6642d8b313cd043c29", + "blob_sha": "77c2455e9701cf28530618525001f9468e075e81", "commits": [], - "end_line": 23, - "id": "E1", + "end_line": 48, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localci/domain/BuildJob.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/review/ExerciseReviewService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 23 + "start_line": 48 }, { - "blob_sha": "74174fd0aa0293175a87eb6642d8b313cd043c29", + "blob_sha": "2f5d1626f6deca2103dba1a20f7b2e788d8785d1", "commits": [], - "end_line": 24, - "id": "E2", + "end_line": 18, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localci/domain/BuildJob.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/review/validation/ExerciseReviewValidationUtil.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 24 + "start_line": 18 }, { - "blob_sha": "49a002016667bc77ede819394fd5127fd95ca139", + "blob_sha": "2f5d1626f6deca2103dba1a20f7b2e788d8785d1", "commits": [], - "end_line": 7, - "id": "E3", + "end_line": 19, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localci/dto/BuildJobInterface.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/review/validation/ExerciseReviewValidationUtil.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 19 + }, + { + "blob_sha": "2f5d1626f6deca2103dba1a20f7b2e788d8785d1", + "commits": [], + "end_line": 20, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/review/validation/ExerciseReviewValidationUtil.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/localci" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" }, { - "count": 24, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/account", + "count": 1, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/iris", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/localvc->M:src/main/java/de/tum/cit/aet/artemis/account", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/iris", "kind": "uses", "refs": [ { - "blob_sha": "a7ab2120708094fedb8bcb707d85cbcfb45cf1ec", + "blob_sha": "66cff97156e47cfcc9c8e6809c0ca95c9c0cde75", "commits": [], - "end_line": 3, + "end_line": 46, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/AccessLogSubject.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseDeletionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 + "start_line": 46 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" + }, + { + "count": 3, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/lecture", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/lecture", + "kind": "uses", + "refs": [ + { + "blob_sha": "1df818e490d703d3ec85740294b1751cb78fa306", + "commits": [], + "end_line": 5, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/CompetencyLinksHolderDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 }, { - "blob_sha": "e39272d6054a8b705da2ecf2a66e8c8fd61b3538", + "blob_sha": "66cff97156e47cfcc9c8e6809c0ca95c9c0cde75", "commits": [], - "end_line": 25, + "end_line": 47, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/ArtemisGitServletService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseDeletionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 25 + "start_line": 47 }, { - "blob_sha": "8ce33e6c0350092ff08fe3c5ef05fbfcafa98d60", + "blob_sha": "827488f01e27fa8d3a2d2d5ebfbf324c979dfc17", "commits": [], - "end_line": 22, + "end_line": 33, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/GitPublickeyAuthenticatorService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseVariantGroupService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 22 + "start_line": 33 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/localvc" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" }, { "count": 3, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/admin", + "dst": "M:src/main/java/de/tum/cit/aet/artemis/localci", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/localvc->M:src/main/java/de/tum/cit/aet/artemis/admin", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/localci", "kind": "uses", "refs": [ { - "blob_sha": "8ce33e6c0350092ff08fe3c5ef05fbfcafa98d60", + "blob_sha": "65c0986baf48ddab88e02312bd47bc9cf0654977", "commits": [], - "end_line": 24, + "end_line": 32, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/GitPublickeyAuthenticatorService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ParticipationDeletionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 24 + "start_line": 32 }, { - "blob_sha": "109e87b3ba754dcd494af10ca3ac3ae57bba2403", + "blob_sha": "65c0986baf48ddab88e02312bd47bc9cf0654977", "commits": [], - "end_line": 23, + "end_line": 33, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/LocalVCBuildAgentAuthenticationService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ParticipationDeletionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 23 + "start_line": 33 }, { - "blob_sha": "73e2444344623c0abf733b2034d3adfb1580389f", + "blob_sha": "4e3a062c927256ff993bdb346311b73c622f625c", "commits": [], - "end_line": 38, + "end_line": 64, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/LocalVCServletService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ParticipationService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 38 + "start_line": 64 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/localvc" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" }, { - "count": 3, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/buildagent", + "count": 17, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/localvc", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/localvc->M:src/main/java/de/tum/cit/aet/artemis/buildagent", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/localvc", "kind": "uses", "refs": [ { - "blob_sha": "8ce33e6c0350092ff08fe3c5ef05fbfcafa98d60", + "blob_sha": "86bb1b2facd324c3f0213c32942f106e6d0715bd", "commits": [], - "end_line": 25, + "end_line": 12, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/GitPublickeyAuthenticatorService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseVersionCommitHashResolver.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 25 + "start_line": 12 }, { - "blob_sha": "109e87b3ba754dcd494af10ca3ac3ae57bba2403", + "blob_sha": "86bb1b2facd324c3f0213c32942f106e6d0715bd", "commits": [], - "end_line": 24, + "end_line": 13, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/LocalVCBuildAgentAuthenticationService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseVersionCommitHashResolver.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 24 + "start_line": 13 }, { - "blob_sha": "03c20b8dd8087d978aef24e116252f3023b35b2d", + "blob_sha": "a5a422c1f93170b2f3826653c59be19ac14080c5", "commits": [], - "end_line": 22, + "end_line": 47, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/SshGitLocationResolverService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseVersionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 22 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/localvc" - }, - { - "count": 115, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/localvc->M:src/main/java/de/tum/cit/aet/artemis/core", - "kind": "uses", - "refs": [ + "start_line": 47 + }, { - "blob_sha": "7d48f46879acbedd95a77a444069b4d4bd4cfc1b", + "blob_sha": "65c0986baf48ddab88e02312bd47bc9cf0654977", "commits": [], - "end_line": 3, - "id": "E1", + "end_line": 34, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localvc/config/LocalVCBuildAgentCredentialsValidator.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ParticipationDeletionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 + "start_line": 34 }, { - "blob_sha": "7d48f46879acbedd95a77a444069b4d4bd4cfc1b", + "blob_sha": "65c0986baf48ddab88e02312bd47bc9cf0654977", "commits": [], - "end_line": 4, - "id": "E2", + "end_line": 35, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localvc/config/LocalVCBuildAgentCredentialsValidator.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ParticipationDeletionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 4 + "start_line": 35 }, { - "blob_sha": "7d48f46879acbedd95a77a444069b4d4bd4cfc1b", + "blob_sha": "65c0986baf48ddab88e02312bd47bc9cf0654977", "commits": [], - "end_line": 5, - "id": "E3", + "end_line": 36, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localvc/config/LocalVCBuildAgentCredentialsValidator.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ParticipationDeletionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 5 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/localvc" - }, - { - "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/localvc->M:src/main/java/de/tum/cit/aet/artemis/course", - "kind": "uses", - "refs": [ + "start_line": 36 + }, { - "blob_sha": "63ad58e6f9e4f4019cd486c166414399108edb7e", + "blob_sha": "4e3a062c927256ff993bdb346311b73c622f625c", "commits": [], - "end_line": 30, - "id": "E1", + "end_line": 65, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/RepositoryVcsAccessTokenService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ParticipationService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 30 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/localvc" - }, - { - "count": 7, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/exercise", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/localvc->M:src/main/java/de/tum/cit/aet/artemis/exercise", - "kind": "uses", - "refs": [ + "start_line": 65 + }, { - "blob_sha": "ca0999debcaa78f1d9aa05c6ea73490c0c4cd715", + "blob_sha": "4e3a062c927256ff993bdb346311b73c622f625c", "commits": [], - "end_line": 26, - "id": "E1", + "end_line": 66, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/LocalVCPushProcessingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ParticipationService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 26 + "start_line": 66 }, { - "blob_sha": "73e2444344623c0abf733b2034d3adfb1580389f", + "blob_sha": "4e3a062c927256ff993bdb346311b73c622f625c", "commits": [], - "end_line": 49, - "id": "E2", + "end_line": 67, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/LocalVCServletService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ParticipationService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 49 + "start_line": 67 }, { - "blob_sha": "d8fd7634a287df8fdb7ca414f4dbf03dd8e3a3e4", + "blob_sha": "4e3a062c927256ff993bdb346311b73c622f625c", "commits": [], - "end_line": 13, - "id": "E3", + "end_line": 68, + "id": "E10", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/ParticipationVcsAccessTokenService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ParticipationService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 13 + "start_line": 68 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/localvc" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" }, { - "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/hyperion", + "count": 2, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/lti", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/localvc->M:src/main/java/de/tum/cit/aet/artemis/hyperion", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/lti", "kind": "uses", "refs": [ { - "blob_sha": "ca0999debcaa78f1d9aa05c6ea73490c0c4cd715", + "blob_sha": "ea454d05eb9d2398a4eb9724984489f258abad48", "commits": [], - "end_line": 27, + "end_line": 72, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/LocalVCPushProcessingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 27 + "start_line": 72 + }, + { + "blob_sha": "ea454d05eb9d2398a4eb9724984489f258abad48", + "commits": [], + "end_line": 73, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 73 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/localvc" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" }, { - "count": 9, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/localci", + "count": 26, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/modeling", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/localvc->M:src/main/java/de/tum/cit/aet/artemis/localci", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/modeling", "kind": "uses", "refs": [ { - "blob_sha": "8ce33e6c0350092ff08fe3c5ef05fbfcafa98d60", + "blob_sha": "0f3ffde70100ae0fc0c8c0248993573e78b8b8f5", "commits": [], - "end_line": 29, + "end_line": 65, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/GitPublickeyAuthenticatorService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Exercise.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 29 + "start_line": 65 }, { - "blob_sha": "8ce33e6c0350092ff08fe3c5ef05fbfcafa98d60", + "blob_sha": "2e6fe513d13c7b4b858992872efea4f85254dcdc", "commits": [], - "end_line": 30, + "end_line": 8, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/GitPublickeyAuthenticatorService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/ExerciseType.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 30 + "start_line": 8 }, { - "blob_sha": "109e87b3ba754dcd494af10ca3ac3ae57bba2403", + "blob_sha": "1c64fd5bec2184c6ca6d50dd3e20a6be5b79c791", "commits": [], - "end_line": 28, + "end_line": 45, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/LocalVCBuildAgentAuthenticationService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Submission.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 28 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/localvc" - }, - { - "count": 6, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/notification", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/localvc->M:src/main/java/de/tum/cit/aet/artemis/notification", - "kind": "uses", - "refs": [ + "start_line": 45 + }, { - "blob_sha": "a73d6031dca088f96088e54114335904bd7b3535", + "blob_sha": "db45ab15efa8559c8bdc523fc985b49a811bb045", "commits": [], - "end_line": 27, - "id": "E1", + "end_line": 16, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/PasswordAuthenticationNoticeService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/DetailedSubmissionDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 27 + "start_line": 16 }, { - "blob_sha": "a73d6031dca088f96088e54114335904bd7b3535", + "blob_sha": "096ab59e2e9b0ad34a56bfe4140ed340cdcc703e", "commits": [], "end_line": 28, - "id": "E2", + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/PasswordAuthenticationNoticeService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/ExerciseResponseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 28 }, { - "blob_sha": "a6dbcda833f522bd90f93cfd3677d69b62f5d281", + "blob_sha": "096ab59e2e9b0ad34a56bfe4140ed340cdcc703e", "commits": [], - "end_line": 22, - "id": "E3", + "end_line": 29, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/sshuserkeys/UserSshPublicKeyExpiryNotificationService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/ExerciseResponseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 22 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/localvc" - }, - { - "count": 137, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/programming", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/localvc->M:src/main/java/de/tum/cit/aet/artemis/programming", - "kind": "uses", - "refs": [ + "start_line": 29 + }, { - "blob_sha": "31eb9f356289fe423e8e4e69f16f26421aad2752", + "blob_sha": "e735590378f91f5fc07e8059739889eb0591b42d", "commits": [], - "end_line": 3, - "id": "E1", + "end_line": 16, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localvc/exception/LocalVCInternalException.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/ParticipationSubmissionDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 + "start_line": 16 }, { - "blob_sha": "62bb97ff25c3b71457ec53f8efd28fdb074c2351", + "blob_sha": "a80b3f7d6286450f1c58f052d6bdf465126dd243", "commits": [], - "end_line": 44, - "id": "E2", + "end_line": 27, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/AbstractGitService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/SubmissionResponseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 44 + "start_line": 27 }, { - "blob_sha": "a7ab2120708094fedb8bcb707d85cbcfb45cf1ec", + "blob_sha": "a62539022caa0ce4c8aab102bd8510ed745f352b", "commits": [], - "end_line": 4, - "id": "E3", + "end_line": 25, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/AccessLogSubject.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/versioning/ExerciseSnapshotDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 4 + "start_line": 25 + }, + { + "blob_sha": "fc733d6fa2e7b9ca6a69d3688ab87c10f79640f5", + "commits": [], + "end_line": 8, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/versioning/ModelingExerciseSnapshotDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/localvc" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" }, { - "count": 1, - "dst": "M:src/main/java/(other)", + "count": 2, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/notification", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/lti->M:src/main/java/(other)", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/notification", "kind": "uses", "refs": [ { - "blob_sha": "d87788649b085a8498e446a8598a8b6fb026b23e", + "blob_sha": "ea454d05eb9d2398a4eb9724984489f258abad48", "commits": [], - "end_line": 33, + "end_line": 75, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lti/config/CustomLti13Configurer.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 33 + "start_line": 75 + }, + { + "blob_sha": "c9d22d6b81574366011773e9c72f3ca3ffb86b42", + "commits": [], + "end_line": 51, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ProblemStatementRenderingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 51 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/lti" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" }, { - "count": 15, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/account", + "count": 10, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/lti->M:src/main/java/de/tum/cit/aet/artemis/account", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/plagiarism", "kind": "uses", "refs": [ { - "blob_sha": "4fc22dc67db298f908986550b630ec6c1524c142", + "blob_sha": "0f3ffde70100ae0fc0c8c0248993573e78b8b8f5", "commits": [], - "end_line": 10, + "end_line": 66, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lti/api/LtiApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Exercise.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 66 }, { - "blob_sha": "c19e2c62f90d7898c850dde93a8d6d03d8d76ae8", + "blob_sha": "0f3ffde70100ae0fc0c8c0248993573e78b8b8f5", "commits": [], - "end_line": 10, + "end_line": 67, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lti/domain/LtiResourceLaunch.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Exercise.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 67 }, { - "blob_sha": "2186a161ab2e7066c927cd465479175072989228", + "blob_sha": "1087c020850e9bce571bed9fae2ec514fef787e6", "commits": [], - "end_line": 11, + "end_line": 7, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lti/repository/Lti13ResourceLaunchRepository.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/ExerciseDetailsDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/lti" - }, - { - "count": 3, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/assessment", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/lti->M:src/main/java/de/tum/cit/aet/artemis/assessment", - "kind": "uses", - "refs": [ + "start_line": 7 + }, { - "blob_sha": "af68ffb16fee29fc8639bd7b33257a64b3419f8d", + "blob_sha": "a62539022caa0ce4c8aab102bd8510ed745f352b", "commits": [], - "end_line": 42, - "id": "E1", + "end_line": 26, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/Lti13Service.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/versioning/ExerciseSnapshotDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 42 + "start_line": 26 }, { - "blob_sha": "af68ffb16fee29fc8639bd7b33257a64b3419f8d", + "blob_sha": "25c8d36209f2c1210aa45df737101eabef489e95", "commits": [], - "end_line": 43, - "id": "E2", + "end_line": 24, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/Lti13Service.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/repository/PlagiarismDetectionConfigRepository.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 43 + "start_line": 24 }, { - "blob_sha": "af68ffb16fee29fc8639bd7b33257a64b3419f8d", + "blob_sha": "239be7893b0c13d01e362ddcfc93ae2be60750ac", "commits": [], - "end_line": 44, - "id": "E3", + "end_line": 14, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/Lti13Service.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseConfigurationService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 44 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/lti" - }, - { - "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/atlas", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/lti->M:src/main/java/de/tum/cit/aet/artemis/atlas", - "kind": "uses", - "refs": [ + "start_line": 14 + }, { - "blob_sha": "86428a0e6e92b2e47b5dd597086ae1ed62ea5d88", + "blob_sha": "66cff97156e47cfcc9c8e6809c0ca95c9c0cde75", "commits": [], - "end_line": 19, - "id": "E1", + "end_line": 48, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/LtiDeepLinkingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseDeletionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 19 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/lti" - }, - { - "count": 68, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/lti->M:src/main/java/de/tum/cit/aet/artemis/core", - "kind": "uses", - "refs": [ + "start_line": 48 + }, { - "blob_sha": "f2f19d65b50b4dd02967c06cf0b766b8aa519a46", + "blob_sha": "e096970369e1b72b366a64687168d47a4ab3a117", "commits": [], - "end_line": 3, - "id": "E1", + "end_line": 32, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lti/api/AbstractLtiApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseImportService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 + "start_line": 32 }, { - "blob_sha": "d87788649b085a8498e446a8598a8b6fb026b23e", + "blob_sha": "3e5039a156d302dc9620b37f00b5538248676f75", "commits": [], - "end_line": 25, - "id": "E2", + "end_line": 75, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lti/config/CustomLti13Configurer.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/web/ExerciseResource.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 25 + "start_line": 75 }, { - "blob_sha": "3e4cee96446b9812bd00b7c912dba71734ece959", + "blob_sha": "3e5039a156d302dc9620b37f00b5538248676f75", "commits": [], - "end_line": 21, - "id": "E3", + "end_line": 76, + "id": "E10", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lti/config/DistributedStateAuthorizationRequestRepository.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/web/ExerciseResource.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 21 + "start_line": 76 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/lti" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" }, { - "count": 9, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", + "count": 135, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/programming", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/lti->M:src/main/java/de/tum/cit/aet/artemis/course", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/programming", "kind": "uses", "refs": [ { - "blob_sha": "8202da90f356b74a16b56b2630b3064aef2cc820", + "blob_sha": "0f3ffde70100ae0fc0c8c0248993573e78b8b8f5", "commits": [], - "end_line": 18, + "end_line": 68, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lti/domain/OnlineCourseConfiguration.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Exercise.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 18 + "start_line": 68 }, { - "blob_sha": "af68ffb16fee29fc8639bd7b33257a64b3419f8d", + "blob_sha": "05d6d99d8cb8611d703688bc499d30e939d446e2", "commits": [], - "end_line": 49, + "end_line": 5, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/Lti13Service.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/ExerciseLifecycle.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 49 + "start_line": 5 }, { - "blob_sha": "af68ffb16fee29fc8639bd7b33257a64b3419f8d", + "blob_sha": "2e6fe513d13c7b4b858992872efea4f85254dcdc", "commits": [], - "end_line": 50, + "end_line": 9, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/Lti13Service.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/ExerciseType.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 50 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/lti" - }, - { - "count": 12, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/exercise", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/lti->M:src/main/java/de/tum/cit/aet/artemis/exercise", - "kind": "uses", - "refs": [ + "start_line": 9 + }, { - "blob_sha": "4fc22dc67db298f908986550b630ec6c1524c142", + "blob_sha": "1c64fd5bec2184c6ca6d50dd3e20a6be5b79c791", "commits": [], - "end_line": 11, - "id": "E1", + "end_line": 46, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lti/api/LtiApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Submission.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 + "start_line": 46 }, { - "blob_sha": "4fc22dc67db298f908986550b630ec6c1524c142", + "blob_sha": "123765a303c03b6bc43d4aca138b2c8482e652ed", "commits": [], - "end_line": 12, - "id": "E2", + "end_line": 39, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lti/api/LtiApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/participation/Participation.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 12 + "start_line": 39 }, { - "blob_sha": "c19e2c62f90d7898c850dde93a8d6d03d8d76ae8", + "blob_sha": "123765a303c03b6bc43d4aca138b2c8482e652ed", "commits": [], - "end_line": 13, - "id": "E3", + "end_line": 40, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lti/domain/LtiResourceLaunch.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/participation/Participation.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 13 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/lti" - }, - { - "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/iris", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/lti->M:src/main/java/de/tum/cit/aet/artemis/iris", - "kind": "uses", - "refs": [ + "start_line": 40 + }, { - "blob_sha": "86428a0e6e92b2e47b5dd597086ae1ed62ea5d88", + "blob_sha": "123765a303c03b6bc43d4aca138b2c8482e652ed", "commits": [], - "end_line": 25, - "id": "E1", + "end_line": 41, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/LtiDeepLinkingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/participation/Participation.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 25 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/lti" - }, - { - "count": 6, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/lecture", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/lti->M:src/main/java/de/tum/cit/aet/artemis/lecture", - "kind": "uses", - "refs": [ + "start_line": 41 + }, { - "blob_sha": "af68ffb16fee29fc8639bd7b33257a64b3419f8d", + "blob_sha": "bf36ca7637023dcb542cbf18c9ed4fa3ba2a5b9c", "commits": [], - "end_line": 54, - "id": "E1", + "end_line": 13, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/Lti13Service.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/DetailedParticipationDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 54 + "start_line": 13 }, { - "blob_sha": "af68ffb16fee29fc8639bd7b33257a64b3419f8d", + "blob_sha": "db45ab15efa8559c8bdc523fc985b49a811bb045", "commits": [], - "end_line": 55, - "id": "E2", + "end_line": 17, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/Lti13Service.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/DetailedSubmissionDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 55 + "start_line": 17 }, { - "blob_sha": "af68ffb16fee29fc8639bd7b33257a64b3419f8d", + "blob_sha": "6df48e075b0d61de462a94e18d1a5ffb7a67d538", "commits": [], - "end_line": 56, - "id": "E3", + "end_line": 12, + "id": "E10", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/Lti13Service.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/ExerciseCourseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 56 + "start_line": 12 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/lti" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" }, { - "count": 2, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/programming", + "count": 50, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/quiz", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/lti->M:src/main/java/de/tum/cit/aet/artemis/programming", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/quiz", "kind": "uses", "refs": [ { - "blob_sha": "af68ffb16fee29fc8639bd7b33257a64b3419f8d", + "blob_sha": "0f3ffde70100ae0fc0c8c0248993573e78b8b8f5", "commits": [], "end_line": 69, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/Lti13Service.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Exercise.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 69 }, { - "blob_sha": "af68ffb16fee29fc8639bd7b33257a64b3419f8d", + "blob_sha": "05d6d99d8cb8611d703688bc499d30e939d446e2", "commits": [], - "end_line": 70, + "end_line": 6, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/Lti13Service.java", - "repo": "ls1intum/Artemis", - "role": "import", - "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 70 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/lti" - }, - { - "count": 15, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/account", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/modeling->M:src/main/java/de/tum/cit/aet/artemis/account", - "kind": "uses", - "refs": [ - { - "blob_sha": "0cad838b033e8fabdf650677d5bca74d65d4c0e2", - "commits": [], - "end_line": 9, - "id": "E1", - "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/modeling/api/ModelingDemoApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/ExerciseLifecycle.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 + "start_line": 6 }, { - "blob_sha": "472c4279d4d9b3055be7ca568434dc8ae38862fb", + "blob_sha": "05d6d99d8cb8611d703688bc499d30e939d446e2", "commits": [], "end_line": 7, - "id": "E2", + "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/modeling/api/ModelingSubmissionApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/ExerciseLifecycle.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 7 }, { - "blob_sha": "ea57cf0ec2a973ff5b07b7a40f1debb23905c404", + "blob_sha": "2e6fe513d13c7b4b858992872efea4f85254dcdc", "commits": [], - "end_line": 11, - "id": "E3", + "end_line": 10, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/ModelingParticipationDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/ExerciseType.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/modeling" - }, - { - "count": 52, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/assessment", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/modeling->M:src/main/java/de/tum/cit/aet/artemis/assessment", - "kind": "uses", - "refs": [ + "start_line": 10 + }, { - "blob_sha": "d599e5d9becb71f6e03e7694c6fcbd7456e814c4", + "blob_sha": "7b9f3152191d41a393adedfd760b452d84ce9bf2", "commits": [], - "end_line": 11, - "id": "E1", + "end_line": 5, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/modeling/api/ModelingExerciseImportApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/IExerciseLifecycle.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 + "start_line": 5 }, { - "blob_sha": "4042093081cf0b25c02b3f62dfa92d0b7bbca1f6", + "blob_sha": "7b9f3152191d41a393adedfd760b452d84ce9bf2", "commits": [], - "end_line": 5, - "id": "E2", + "end_line": 6, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/ComplaintResponseRequestDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/IExerciseLifecycle.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 5 + "start_line": 6 }, { - "blob_sha": "c7842a44a5fe18c4131863d95a91f026777bb185", + "blob_sha": "1c64fd5bec2184c6ca6d50dd3e20a6be5b79c791", "commits": [], - "end_line": 11, - "id": "E3", + "end_line": 47, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/ImportModelingExerciseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Submission.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/modeling" - }, - { - "count": 3, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/athena", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/modeling->M:src/main/java/de/tum/cit/aet/artemis/athena", - "kind": "uses", - "refs": [ + "start_line": 47 + }, { - "blob_sha": "0d1a927320524af2f0d4b190bab27b8d18398831", + "blob_sha": "db45ab15efa8559c8bdc523fc985b49a811bb045", "commits": [], - "end_line": 23, - "id": "E1", + "end_line": 18, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/modeling/service/ModelingExerciseFeedbackService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/DetailedSubmissionDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 23 + "start_line": 18 }, { - "blob_sha": "0d1a927320524af2f0d4b190bab27b8d18398831", + "blob_sha": "77b5f78b15d19ff1b5abb6ee8649664e645ad874", "commits": [], - "end_line": 24, - "id": "E2", + "end_line": 18, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/modeling/service/ModelingExerciseFeedbackService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/ExerciseDetailsExerciseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 24 + "start_line": 18 }, { - "blob_sha": "5bf6fc1309ba745febaf82261fdcc7c8bb2a6cac", + "blob_sha": "77b5f78b15d19ff1b5abb6ee8649664e645ad874", "commits": [], - "end_line": 24, - "id": "E3", + "end_line": 19, + "id": "E10", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/modeling/service/ModelingSubmissionService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/ExerciseDetailsExerciseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 24 + "start_line": 19 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/modeling" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" }, { - "count": 3, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/atlas", + "count": 30, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/text", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/modeling->M:src/main/java/de/tum/cit/aet/artemis/atlas", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/text", "kind": "uses", "refs": [ { - "blob_sha": "66510fed4f545a0803734a3f9c02dd0f54e04f87", + "blob_sha": "0f3ffde70100ae0fc0c8c0248993573e78b8b8f5", "commits": [], - "end_line": 22, + "end_line": 70, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/modeling/service/ModelingExerciseImportService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Exercise.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 22 + "start_line": 70 }, { - "blob_sha": "4fc82e8cbcb147fc1a7f88fa0462e1a183525b54", + "blob_sha": "2e6fe513d13c7b4b858992872efea4f85254dcdc", "commits": [], - "end_line": 37, + "end_line": 11, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/modeling/web/ModelingExerciseResource.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/ExerciseType.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 37 + "start_line": 11 }, { - "blob_sha": "4fc82e8cbcb147fc1a7f88fa0462e1a183525b54", + "blob_sha": "1c64fd5bec2184c6ca6d50dd3e20a6be5b79c791", "commits": [], - "end_line": 38, + "end_line": 48, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/modeling/web/ModelingExerciseResource.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/domain/Submission.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 38 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/modeling" - }, - { - "count": 4, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/communication", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/modeling->M:src/main/java/de/tum/cit/aet/artemis/communication", - "kind": "uses", - "refs": [ + "start_line": 48 + }, { - "blob_sha": "c5f15f1a8dd70aa0a12e4a3dea7e6a2ff4a9d55a", + "blob_sha": "db45ab15efa8559c8bdc523fc985b49a811bb045", "commits": [], - "end_line": 21, - "id": "E1", + "end_line": 19, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/modeling/service/ModelingDemoService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/DetailedSubmissionDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 21 + "start_line": 19 }, { - "blob_sha": "66510fed4f545a0803734a3f9c02dd0f54e04f87", + "blob_sha": "096ab59e2e9b0ad34a56bfe4140ed340cdcc703e", "commits": [], - "end_line": 23, - "id": "E2", + "end_line": 36, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/modeling/service/ModelingExerciseImportService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/ExerciseResponseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 23 + "start_line": 36 }, { - "blob_sha": "4fc82e8cbcb147fc1a7f88fa0462e1a183525b54", + "blob_sha": "e735590378f91f5fc07e8059739889eb0591b42d", "commits": [], - "end_line": 39, - "id": "E3", + "end_line": 18, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/modeling/web/ModelingExerciseResource.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/ParticipationSubmissionDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 39 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/modeling" - }, - { - "count": 99, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/modeling->M:src/main/java/de/tum/cit/aet/artemis/core", - "kind": "uses", - "refs": [ + "start_line": 18 + }, { - "blob_sha": "275b1977bb3df4c28113eb7fd7d7f543e21d0def", + "blob_sha": "a80b3f7d6286450f1c58f052d6bdf465126dd243", "commits": [], - "end_line": 3, - "id": "E1", + "end_line": 30, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/modeling/api/AbstractModelingApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/SubmissionResponseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 + "start_line": 30 }, { - "blob_sha": "d599e5d9becb71f6e03e7694c6fcbd7456e814c4", + "blob_sha": "b8ee5e6cb54eb9e56ab2f9de34a207b212332c27", "commits": [], "end_line": 12, - "id": "E2", + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/modeling/api/ModelingExerciseImportApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/TeamTextSubmissionDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 12 }, { - "blob_sha": "edffb3186af70b4d6eb42bc567238e4bd31fad1d", + "blob_sha": "a62539022caa0ce4c8aab102bd8510ed745f352b", "commits": [], - "end_line": 10, - "id": "E3", + "end_line": 30, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/modeling/api/ModelingSubmissionExportApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/versioning/ExerciseSnapshotDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 30 + }, + { + "blob_sha": "7448641ac53008df7d18fb4d504363ff3730d5ff", + "commits": [], + "end_line": 8, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/versioning/TextExerciseSnapshotDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/modeling" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" }, { - "count": 11, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", + "count": 2, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/tutorialgroup", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/modeling->M:src/main/java/de/tum/cit/aet/artemis/course", + "id": "M:src/main/java/de/tum/cit/aet/artemis/exercise->M:src/main/java/de/tum/cit/aet/artemis/tutorialgroup", "kind": "uses", "refs": [ { - "blob_sha": "0cad838b033e8fabdf650677d5bca74d65d4c0e2", + "blob_sha": "cd6dc0577fc9dcfe60c35202c80ab569d76970fe", "commits": [], - "end_line": 10, + "end_line": 13, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/modeling/api/ModelingDemoApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/dto/ExerciseTutorParticipationDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 13 }, { - "blob_sha": "728a8aca75a38615c3838a297604d957ca3ae248", + "blob_sha": "3e5039a156d302dc9620b37f00b5538248676f75", "commits": [], - "end_line": 10, + "end_line": 83, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/ModelingExerciseExamGroupDTO.java", - "repo": "ls1intum/Artemis", - "role": "import", - "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 - }, - { - "blob_sha": "62bdd7187cbe82da0eb03617fb62c78975b887b0", - "commits": [], - "end_line": 13, - "id": "E3", - "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/ModelingExerciseListItemDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/exercise/web/ExerciseResource.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 13 + "start_line": 83 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/modeling" + "src": "M:src/main/java/de/tum/cit/aet/artemis/exercise" }, { "count": 12, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/exam", + "dst": "M:src/main/java/de/tum/cit/aet/artemis/account", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/modeling->M:src/main/java/de/tum/cit/aet/artemis/exam", + "id": "M:src/main/java/de/tum/cit/aet/artemis/fileupload->M:src/main/java/de/tum/cit/aet/artemis/account", "kind": "uses", "refs": [ { - "blob_sha": "0cad838b033e8fabdf650677d5bca74d65d4c0e2", + "blob_sha": "d422d183330948e9758caf9b5c9cdb9bc37c6556", "commits": [], - "end_line": 11, + "end_line": 8, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/modeling/api/ModelingDemoApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadAssessmentNoteDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 + "start_line": 8 }, { - "blob_sha": "728a8aca75a38615c3838a297604d957ca3ae248", + "blob_sha": "060c1e070f78840a5d770f26b1c5cdb276965330", "commits": [], - "end_line": 11, + "end_line": 12, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/ModelingExerciseExamGroupDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadResultDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 + "start_line": 12 }, { - "blob_sha": "728a8aca75a38615c3838a297604d957ca3ae248", + "blob_sha": "6f062cec6b16ca2e4b1162988107e41d2e8ba60a", "commits": [], - "end_line": 12, + "end_line": 7, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/ModelingExerciseExamGroupDTO.java", - "repo": "ls1intum/Artemis", - "role": "import", - "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 12 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/modeling" - }, - { - "count": 105, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/exercise", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/modeling->M:src/main/java/de/tum/cit/aet/artemis/exercise", - "kind": "uses", - "refs": [ - { - "blob_sha": "d599e5d9becb71f6e03e7694c6fcbd7456e814c4", - "commits": [], - "end_line": 13, - "id": "E1", - "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/modeling/api/ModelingExerciseImportApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadUserDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 13 + "start_line": 7 }, { - "blob_sha": "a9631b87c45e006ccbc97d7ce4670b7b8b594f2f", + "blob_sha": "f9fdbb144e1c62dfb9713863911e466ae3fd49bf", "commits": [], - "end_line": 7, - "id": "E2", + "end_line": 11, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/modeling/api/ModelingFeedbackApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/service/FileUploadExerciseService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 11 }, { - "blob_sha": "a9631b87c45e006ccbc97d7ce4670b7b8b594f2f", + "blob_sha": "a58922583db7ca8792820655540ec9811ef7af22", "commits": [], - "end_line": 8, - "id": "E3", + "end_line": 22, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/modeling/api/ModelingFeedbackApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/service/FileUploadSubmissionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 8 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/modeling" - }, - { - "count": 4, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/lecture", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/modeling->M:src/main/java/de/tum/cit/aet/artemis/lecture", - "kind": "uses", - "refs": [ + "start_line": 22 + }, { - "blob_sha": "c7842a44a5fe18c4131863d95a91f026777bb185", + "blob_sha": "a58922583db7ca8792820655540ec9811ef7af22", "commits": [], - "end_line": 18, - "id": "E1", + "end_line": 23, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/ImportModelingExerciseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/service/FileUploadSubmissionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 18 + "start_line": 23 }, { - "blob_sha": "4d6dcf16ed5b4a6e9901746932e9b4ae1092fbc5", + "blob_sha": "f9bc40a5d7ec5a2a0a913f5947d1a560b9e66bc1", "commits": [], "end_line": 23, - "id": "E2", + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/ModelingExerciseResponseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/web/FileUploadAssessmentResource.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 23 }, { - "blob_sha": "23f6984b402f5f65478bc697a287cdfbff190432", + "blob_sha": "f9bc40a5d7ec5a2a0a913f5947d1a560b9e66bc1", "commits": [], - "end_line": 19, - "id": "E3", + "end_line": 24, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/UpdateModelingExerciseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/web/FileUploadAssessmentResource.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 19 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/modeling" - }, - { - "count": 2, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/notification", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/modeling->M:src/main/java/de/tum/cit/aet/artemis/notification", - "kind": "uses", - "refs": [ + "start_line": 24 + }, { - "blob_sha": "c5f15f1a8dd70aa0a12e4a3dea7e6a2ff4a9d55a", + "blob_sha": "802dfa12c95211955aff144c069600d9c534e971", "commits": [], - "end_line": 39, - "id": "E1", + "end_line": 38, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/modeling/service/ModelingDemoService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/web/FileUploadExerciseResource.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 39 + "start_line": 38 }, { - "blob_sha": "4fc82e8cbcb147fc1a7f88fa0462e1a183525b54", + "blob_sha": "802dfa12c95211955aff144c069600d9c534e971", "commits": [], - "end_line": 91, - "id": "E2", + "end_line": 39, + "id": "E10", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/modeling/web/ModelingExerciseResource.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/web/FileUploadExerciseResource.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 91 + "start_line": 39 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/modeling" + "src": "M:src/main/java/de/tum/cit/aet/artemis/fileupload" }, { - "count": 6, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism", + "count": 48, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/assessment", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/modeling->M:src/main/java/de/tum/cit/aet/artemis/plagiarism", + "id": "M:src/main/java/de/tum/cit/aet/artemis/fileupload->M:src/main/java/de/tum/cit/aet/artemis/assessment", "kind": "uses", "refs": [ { - "blob_sha": "c7842a44a5fe18c4131863d95a91f026777bb185", + "blob_sha": "0ac77f2ec3f79abbde8266b933f16e94e294824c", "commits": [], - "end_line": 22, + "end_line": 12, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/ImportModelingExerciseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadAssessmentInputDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 22 + "start_line": 12 }, { - "blob_sha": "4d6dcf16ed5b4a6e9901746932e9b4ae1092fbc5", + "blob_sha": "d422d183330948e9758caf9b5c9cdb9bc37c6556", "commits": [], - "end_line": 27, + "end_line": 9, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/ModelingExerciseResponseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadAssessmentNoteDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 27 + "start_line": 9 }, { - "blob_sha": "23f6984b402f5f65478bc697a287cdfbff190432", + "blob_sha": "7614229bac8a6ab5f47b9f68fc401e24a79ffce1", "commits": [], - "end_line": 23, + "end_line": 12, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/UpdateModelingExerciseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadAssessmentUpdateDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 23 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/modeling" - }, - { - "count": 21, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/account", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/notification->M:src/main/java/de/tum/cit/aet/artemis/account", - "kind": "uses", - "refs": [ + "start_line": 12 + }, { - "blob_sha": "e178528588a1d409a76b690234e72822762f3daf", + "blob_sha": "7614229bac8a6ab5f47b9f68fc401e24a79ffce1", "commits": [], "end_line": 13, - "id": "E1", + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/notification/domain/UserCourseNotificationSettingPreset.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadAssessmentUpdateDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 13 }, { - "blob_sha": "a671575c1d1ec5e02cb869490117cb74bb7ed738", + "blob_sha": "ff8ca45ecdc7081640d67f6bcf0bea0b2f1c1138", "commits": [], - "end_line": 14, - "id": "E2", + "end_line": 12, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/notification/domain/UserCourseNotificationSettingSpecification.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadComplaintResponseInputDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 14 + "start_line": 12 }, { - "blob_sha": "8d4db702e349af7266a3fa4e3c3bb8c2b483ccde", + "blob_sha": "ff8ca45ecdc7081640d67f6bcf0bea0b2f1c1138", "commits": [], - "end_line": 19, - "id": "E3", + "end_line": 13, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/notification/domain/UserCourseNotificationStatus.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadComplaintResponseInputDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 19 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/notification" - }, - { - "count": 3, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/admin", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/notification->M:src/main/java/de/tum/cit/aet/artemis/admin", - "kind": "uses", - "refs": [ + "start_line": 13 + }, { - "blob_sha": "9c2cc83c314f48b36695e5e688f6d64305e3f79a", + "blob_sha": "1b1757ecdd13676f48a74b5c3e5c3d5539e5ee6a", "commits": [], - "end_line": 5, - "id": "E1", + "end_line": 11, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/notification/dto/DataExportEmailDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadExerciseContextDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 5 + "start_line": 11 }, { - "blob_sha": "4058cfba91131204ca72d312f506b0268dfd27e1", + "blob_sha": "1b1757ecdd13676f48a74b5c3e5c3d5539e5ee6a", "commits": [], - "end_line": 23, - "id": "E2", + "end_line": 12, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/notifications/MailService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadExerciseContextDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 23 + "start_line": 12 }, { - "blob_sha": "4058cfba91131204ca72d312f506b0268dfd27e1", + "blob_sha": "e8eb468c0c2dfd98935766bd4e105012871c5d3f", "commits": [], - "end_line": 24, - "id": "E3", + "end_line": 13, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/notifications/MailService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadExerciseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 24 + "start_line": 13 + }, + { + "blob_sha": "e8eb468c0c2dfd98935766bd4e105012871c5d3f", + "commits": [], + "end_line": 14, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadExerciseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/notification" + "src": "M:src/main/java/de/tum/cit/aet/artemis/fileupload" }, { "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/assessment", + "dst": "M:src/main/java/de/tum/cit/aet/artemis/athena", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/notification->M:src/main/java/de/tum/cit/aet/artemis/assessment", + "id": "M:src/main/java/de/tum/cit/aet/artemis/fileupload->M:src/main/java/de/tum/cit/aet/artemis/athena", "kind": "uses", "refs": [ { - "blob_sha": "f9f043bbb3314d4f37f0ac5040636ee0d8b243bc", + "blob_sha": "a58922583db7ca8792820655540ec9811ef7af22", "commits": [], - "end_line": 15, + "end_line": 31, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/notifications/SingleUserNotificationService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/service/FileUploadSubmissionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 15 + "start_line": 31 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/notification" + "src": "M:src/main/java/de/tum/cit/aet/artemis/fileupload" }, { - "count": 6, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/communication", + "count": 3, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/atlas", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/notification->M:src/main/java/de/tum/cit/aet/artemis/communication", + "id": "M:src/main/java/de/tum/cit/aet/artemis/fileupload->M:src/main/java/de/tum/cit/aet/artemis/atlas", "kind": "uses", "refs": [ { - "blob_sha": "8f8b0b5e2c4f9e3d7b7af84501f9af90d1fd5865", + "blob_sha": "46eaa9c5f65a75126cfbcf3ee7c8a52f37bc0a1f", "commits": [], - "end_line": 16, + "end_line": 17, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/CourseNotificationWebappService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/service/FileUploadExerciseImportService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 16 + "start_line": 17 }, { - "blob_sha": "44860c5ed030e255b3088d4d041df94f5d3d7eea", + "blob_sha": "802dfa12c95211955aff144c069600d9c534e971", "commits": [], - "end_line": 21, + "end_line": 44, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/SystemNotificationService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/web/FileUploadExerciseResource.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 21 + "start_line": 44 }, { - "blob_sha": "7351279d5717bc637aa3cdd3bd4772e5a53c02b9", + "blob_sha": "802dfa12c95211955aff144c069600d9c534e971", "commits": [], - "end_line": 12, + "end_line": 45, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/notifications/GroupNotificationScheduleService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/web/FileUploadExerciseResource.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 12 + "start_line": 45 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/notification" + "src": "M:src/main/java/de/tum/cit/aet/artemis/fileupload" }, { - "count": 129, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", + "count": 4, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/communication", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/notification->M:src/main/java/de/tum/cit/aet/artemis/core", + "id": "M:src/main/java/de/tum/cit/aet/artemis/fileupload->M:src/main/java/de/tum/cit/aet/artemis/communication", "kind": "uses", "refs": [ { - "blob_sha": "d9c6e77827712829d6e623406a7f40e2ce5c7460", + "blob_sha": "fbb82234730e12ad445e63bab2646a10d6a0464d", "commits": [], - "end_line": 3, + "end_line": 12, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/notification/config/HermesHealthIndicator.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/service/FileUploadDemoService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 + "start_line": 12 }, { - "blob_sha": "d9c6e77827712829d6e623406a7f40e2ce5c7460", + "blob_sha": "46eaa9c5f65a75126cfbcf3ee7c8a52f37bc0a1f", "commits": [], - "end_line": 24, + "end_line": 18, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/notification/config/HermesHealthIndicator.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/service/FileUploadExerciseImportService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 24 + "start_line": 18 }, { - "blob_sha": "d9c6e77827712829d6e623406a7f40e2ce5c7460", + "blob_sha": "802dfa12c95211955aff144c069600d9c534e971", "commits": [], - "end_line": 25, + "end_line": 46, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/notification/config/HermesHealthIndicator.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/web/FileUploadExerciseResource.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 25 + "start_line": 46 + }, + { + "blob_sha": "802dfa12c95211955aff144c069600d9c534e971", + "commits": [], + "end_line": 47, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/web/FileUploadExerciseResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 47 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/notification" + "src": "M:src/main/java/de/tum/cit/aet/artemis/fileupload" }, { - "count": 6, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", + "count": 70, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/notification->M:src/main/java/de/tum/cit/aet/artemis/course", + "id": "M:src/main/java/de/tum/cit/aet/artemis/fileupload->M:src/main/java/de/tum/cit/aet/artemis/core", "kind": "uses", "refs": [ { - "blob_sha": "694f595543682b3ff42e9a74238937a0d9eb0f8a", + "blob_sha": "44c63bb81b508d9102a3bd046e398914246b187a", "commits": [], - "end_line": 20, + "end_line": 3, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/notification/domain/CourseNotification.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/api/AbstractFileModuleApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 20 + "start_line": 3 }, { - "blob_sha": "e178528588a1d409a76b690234e72822762f3daf", + "blob_sha": "44d7e436f7f3f42613794cb72aabcb7a5769ef99", "commits": [], - "end_line": 15, + "end_line": 10, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/notification/domain/UserCourseNotificationSettingPreset.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/api/FileSubmissionExportApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 15 + "start_line": 10 }, { - "blob_sha": "a671575c1d1ec5e02cb869490117cb74bb7ed738", + "blob_sha": "394e6a4f215c8e9bfe24d9676a15f1936072413c", "commits": [], - "end_line": 16, + "end_line": 9, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/notification/domain/UserCourseNotificationSettingSpecification.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/api/FileUploadImportApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 16 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/notification" - }, - { - "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/exam", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/notification->M:src/main/java/de/tum/cit/aet/artemis/exam", - "kind": "uses", - "refs": [ + "start_line": 9 + }, { - "blob_sha": "3c54e43a92f59238d3eff9c8080dbcdc8ecd0680", + "blob_sha": "7c3bbe2e48bdeaf4d3d8a70a408f02df272a5534", "commits": [], - "end_line": 24, - "id": "E1", + "end_line": 7, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/notifications/GroupNotificationService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/config/FileUploadEnabled.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 24 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/notification" - }, - { - "count": 12, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/exercise", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/notification->M:src/main/java/de/tum/cit/aet/artemis/exercise", - "kind": "uses", - "refs": [ + "start_line": 7 + }, { - "blob_sha": "e0ade1d48055af90b67a8b1c7520d870300a3eb1", + "blob_sha": "401010277a0c861c84f5141ad7e0f0d616754c53", "commits": [], - "end_line": 23, - "id": "E1", + "end_line": 17, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/NotificationScheduleService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/domain/FileUploadSubmission.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 23 + "start_line": 17 }, { - "blob_sha": "e0ade1d48055af90b67a8b1c7520d870300a3eb1", + "blob_sha": "401010277a0c861c84f5141ad7e0f0d616754c53", "commits": [], - "end_line": 24, - "id": "E2", + "end_line": 18, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/NotificationScheduleService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/domain/FileUploadSubmission.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 24 + "start_line": 18 }, { - "blob_sha": "e0ade1d48055af90b67a8b1c7520d870300a3eb1", + "blob_sha": "401010277a0c861c84f5141ad7e0f0d616754c53", "commits": [], - "end_line": 25, - "id": "E3", + "end_line": 19, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/NotificationScheduleService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/domain/FileUploadSubmission.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 25 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/notification" - }, - { - "count": 2, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/iris", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/notification->M:src/main/java/de/tum/cit/aet/artemis/iris", - "kind": "uses", - "refs": [ + "start_line": 19 + }, { - "blob_sha": "4058cfba91131204ca72d312f506b0268dfd27e1", + "blob_sha": "ff8ca45ecdc7081640d67f6bcf0bea0b2f1c1138", "commits": [], - "end_line": 26, - "id": "E1", + "end_line": 3, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/notifications/MailService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadComplaintResponseInputDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 26 + "start_line": 3 }, { - "blob_sha": "4058cfba91131204ca72d312f506b0268dfd27e1", + "blob_sha": "4edc1917443879b20d4785d4d0e396fc9f06e740", "commits": [], - "end_line": 27, - "id": "E2", + "end_line": 12, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/notifications/MailService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadExerciseInputDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 27 + "start_line": 12 + }, + { + "blob_sha": "a0f96b9edff782ae4557a2d96b453899e6164166", + "commits": [], + "end_line": 12, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/UpdateFileUploadExerciseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/notification" + "src": "M:src/main/java/de/tum/cit/aet/artemis/fileupload" }, { - "count": 2, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/lecture", + "count": 12, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/notification->M:src/main/java/de/tum/cit/aet/artemis/lecture", + "id": "M:src/main/java/de/tum/cit/aet/artemis/fileupload->M:src/main/java/de/tum/cit/aet/artemis/course", "kind": "uses", "refs": [ { - "blob_sha": "3c54e43a92f59238d3eff9c8080dbcdc8ecd0680", + "blob_sha": "fa7650eef5992d827bccce1bb82f2a8c9f07b53a", "commits": [], - "end_line": 26, + "end_line": 7, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/notifications/GroupNotificationService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/api/FileUploadDemoApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 26 + "start_line": 7 }, { - "blob_sha": "3c54e43a92f59238d3eff9c8080dbcdc8ecd0680", + "blob_sha": "a8d84fc492770994e4c5ee2845db47cf38a31958", "commits": [], - "end_line": 27, + "end_line": 7, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/notifications/GroupNotificationService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadCourseContextDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 27 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/notification" - }, - { - "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/notification->M:src/main/java/de/tum/cit/aet/artemis/plagiarism", - "kind": "uses", - "refs": [ + "start_line": 7 + }, { - "blob_sha": "f9f043bbb3314d4f37f0ac5040636ee0d8b243bc", + "blob_sha": "69e97d08f82f6744cb88ef760dbedc3e56b4d4c5", "commits": [], - "end_line": 31, - "id": "E1", + "end_line": 8, + "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/notifications/SingleUserNotificationService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadExamContextDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 31 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/notification" - }, - { - "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/programming", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/notification->M:src/main/java/de/tum/cit/aet/artemis/programming", - "kind": "uses", - "refs": [ + "start_line": 8 + }, { - "blob_sha": "3c54e43a92f59238d3eff9c8080dbcdc8ecd0680", + "blob_sha": "1b1757ecdd13676f48a74b5c3e5c3d5539e5ee6a", "commits": [], - "end_line": 37, - "id": "E1", + "end_line": 13, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/notifications/GroupNotificationService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadExerciseContextDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 37 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/notification" - }, - { - "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/quiz", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/notification->M:src/main/java/de/tum/cit/aet/artemis/quiz", - "kind": "uses", - "refs": [ + "start_line": 13 + }, { - "blob_sha": "3c54e43a92f59238d3eff9c8080dbcdc8ecd0680", + "blob_sha": "e8eb468c0c2dfd98935766bd4e105012871c5d3f", "commits": [], - "end_line": 38, - "id": "E1", + "end_line": 16, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/notifications/GroupNotificationService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadExerciseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 38 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/notification" - }, - { - "count": 18, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/account", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism->M:src/main/java/de/tum/cit/aet/artemis/account", - "kind": "uses", - "refs": [ + "start_line": 16 + }, { - "blob_sha": "74f4f26c5ed0c65f315b5314c6850ed9d730ab61", + "blob_sha": "e8eb468c0c2dfd98935766bd4e105012871c5d3f", "commits": [], - "end_line": 12, - "id": "E1", + "end_line": 17, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/api/PlagiarismCaseApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadExerciseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 12 + "start_line": 17 }, { - "blob_sha": "ee9324ac4e45fc05b37172c1e6417817844eff91", + "blob_sha": "e8eb468c0c2dfd98935766bd4e105012871c5d3f", "commits": [], - "end_line": 9, - "id": "E2", + "end_line": 18, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/api/PlagiarismPostApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadExerciseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 + "start_line": 18 }, { - "blob_sha": "442e8320a09767b267766049b717266dedef54e7", + "blob_sha": "4edc1917443879b20d4785d4d0e396fc9f06e740", "commits": [], - "end_line": 7, - "id": "E3", + "end_line": 13, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/api/dtos/PlagiarismMapping.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadExerciseInputDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 13 + }, + { + "blob_sha": "fbb82234730e12ad445e63bab2646a10d6a0464d", + "commits": [], + "end_line": 13, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/service/FileUploadDemoService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "a58922583db7ca8792820655540ec9811ef7af22", + "commits": [], + "end_line": 40, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/service/FileUploadSubmissionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 40 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism" + "src": "M:src/main/java/de/tum/cit/aet/artemis/fileupload" }, { - "count": 40, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/communication", + "count": 9, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/exam", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism->M:src/main/java/de/tum/cit/aet/artemis/communication", + "id": "M:src/main/java/de/tum/cit/aet/artemis/fileupload->M:src/main/java/de/tum/cit/aet/artemis/exam", "kind": "uses", "refs": [ { - "blob_sha": "ee9324ac4e45fc05b37172c1e6417817844eff91", + "blob_sha": "69e97d08f82f6744cb88ef760dbedc3e56b4d4c5", "commits": [], - "end_line": 10, + "end_line": 9, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/api/PlagiarismPostApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadExamContextDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 9 }, { - "blob_sha": "ee9324ac4e45fc05b37172c1e6417817844eff91", + "blob_sha": "1b1757ecdd13676f48a74b5c3e5c3d5539e5ee6a", "commits": [], - "end_line": 11, + "end_line": 14, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/api/PlagiarismPostApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadExerciseContextDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 + "start_line": 14 }, { - "blob_sha": "ee9324ac4e45fc05b37172c1e6417817844eff91", + "blob_sha": "e8eb468c0c2dfd98935766bd4e105012871c5d3f", "commits": [], - "end_line": 12, + "end_line": 19, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/api/PlagiarismPostApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadExerciseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 12 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism" - }, - { - "count": 84, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism->M:src/main/java/de/tum/cit/aet/artemis/core", - "kind": "uses", - "refs": [ + "start_line": 19 + }, { - "blob_sha": "b390ddba0f34eb842f8d723b9408cd21e98285cd", + "blob_sha": "e8eb468c0c2dfd98935766bd4e105012871c5d3f", "commits": [], - "end_line": 3, - "id": "E1", + "end_line": 20, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/api/AbstractPlagiarismApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadExerciseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 + "start_line": 20 }, { - "blob_sha": "2f833426e49f2fa918d5a0bc378a08f1cc986b78", + "blob_sha": "bc909cef7ef0144d86b2cd034dccd9a566851075", "commits": [], - "end_line": 7, - "id": "E2", + "end_line": 8, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/config/PlagiarismEnabled.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadExerciseGroupContextDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 8 }, { - "blob_sha": "9e99d4ea9de03ddc2f28f01b85c738c89ddf6df5", + "blob_sha": "bc909cef7ef0144d86b2cd034dccd9a566851075", "commits": [], - "end_line": 24, - "id": "E3", + "end_line": 9, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/domain/PlagiarismCase.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadExerciseGroupContextDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 24 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism" - }, - { - "count": 11, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism->M:src/main/java/de/tum/cit/aet/artemis/course", - "kind": "uses", - "refs": [ + "start_line": 9 + }, { - "blob_sha": "ee9324ac4e45fc05b37172c1e6417817844eff91", + "blob_sha": "4edc1917443879b20d4785d4d0e396fc9f06e740", "commits": [], "end_line": 14, - "id": "E1", + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/api/PlagiarismPostApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadExerciseInputDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 14 }, { - "blob_sha": "ea2015b44645251680a1b80bf0c393dad3359f4b", + "blob_sha": "6e43481662704547e03f0fd1864cd134292fc834", "commits": [], - "end_line": 10, - "id": "E2", + "end_line": 46, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/dto/PlagiarismCaseExerciseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/web/FileUploadSubmissionResource.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 46 }, { - "blob_sha": "fd110c31bfcd57a69a22476bebe153889f86417b", + "blob_sha": "6e43481662704547e03f0fd1864cd134292fc834", "commits": [], - "end_line": 24, - "id": "E3", + "end_line": 47, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/service/PlagiarismAnswerPostService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/web/FileUploadSubmissionResource.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 24 + "start_line": 47 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism" + "src": "M:src/main/java/de/tum/cit/aet/artemis/fileupload" }, { - "count": 3, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/exam", + "count": 78, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/exercise", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism->M:src/main/java/de/tum/cit/aet/artemis/exam", + "id": "M:src/main/java/de/tum/cit/aet/artemis/fileupload->M:src/main/java/de/tum/cit/aet/artemis/exercise", "kind": "uses", "refs": [ { - "blob_sha": "ea2015b44645251680a1b80bf0c393dad3359f4b", + "blob_sha": "44d7e436f7f3f42613794cb72aabcb7a5769ef99", "commits": [], "end_line": 11, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/dto/PlagiarismCaseExerciseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/api/FileSubmissionExportApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 11 }, { - "blob_sha": "13eea2996cd51758ded25f2d4660f54f51bc485a", + "blob_sha": "6648ac7e18076e4b97b00180e29dc14742042e34", "commits": [], - "end_line": 37, + "end_line": 3, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/web/PlagiarismCaseResource.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/domain/FileUploadExercise.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 37 + "start_line": 3 }, { - "blob_sha": "13eea2996cd51758ded25f2d4660f54f51bc485a", + "blob_sha": "6648ac7e18076e4b97b00180e29dc14742042e34", "commits": [], - "end_line": 38, + "end_line": 11, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/web/PlagiarismCaseResource.java", - "repo": "ls1intum/Artemis", - "role": "import", - "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 38 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism" - }, - { - "count": 29, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/exercise", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism->M:src/main/java/de/tum/cit/aet/artemis/exercise", - "kind": "uses", - "refs": [ - { - "blob_sha": "78a898b6cb9c7c0c0719c91101f585198713ef92", - "commits": [], - "end_line": 10, - "id": "E1", - "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/api/PlagiarismAccessApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/domain/FileUploadExercise.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 11 }, { - "blob_sha": "78a898b6cb9c7c0c0719c91101f585198713ef92", + "blob_sha": "6648ac7e18076e4b97b00180e29dc14742042e34", "commits": [], - "end_line": 11, - "id": "E2", + "end_line": 12, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/api/PlagiarismAccessApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/domain/FileUploadExercise.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 + "start_line": 12 }, { - "blob_sha": "9e99d4ea9de03ddc2f28f01b85c738c89ddf6df5", + "blob_sha": "401010277a0c861c84f5141ad7e0f0d616754c53", "commits": [], - "end_line": 26, - "id": "E3", + "end_line": 20, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/domain/PlagiarismCase.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/domain/FileUploadSubmission.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 26 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism" - }, - { - "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/localvc", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism->M:src/main/java/de/tum/cit/aet/artemis/localvc", - "kind": "uses", - "refs": [ + "start_line": 20 + }, { - "blob_sha": "18011d301f99cd05f539a441a197777b581451d7", + "blob_sha": "401010277a0c861c84f5141ad7e0f0d616754c53", "commits": [], - "end_line": 60, - "id": "E1", + "end_line": 21, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/service/ProgrammingPlagiarismDetectionService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/domain/FileUploadSubmission.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 60 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism" - }, - { - "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/notification", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism->M:src/main/java/de/tum/cit/aet/artemis/notification", - "kind": "uses", - "refs": [ + "start_line": 21 + }, { - "blob_sha": "64f14080be5cf5c561dd88b6ba3a188ff4128441", + "blob_sha": "1b1757ecdd13676f48a74b5c3e5c3d5539e5ee6a", "commits": [], "end_line": 15, - "id": "E1", + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/service/PlagiarismCaseService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadExerciseContextDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 15 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism" - }, - { - "count": 15, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/programming", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism->M:src/main/java/de/tum/cit/aet/artemis/programming", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "3763a969f54166f97ced1921a8588e8d9888a479", + "blob_sha": "e8eb468c0c2dfd98935766bd4e105012871c5d3f", "commits": [], - "end_line": 14, - "id": "E1", + "end_line": 21, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/api/PlagiarismDetectionApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadExerciseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 14 + "start_line": 21 }, { - "blob_sha": "1ed38b2cae98599cda794e3c78ecfc2ac0363add", + "blob_sha": "e8eb468c0c2dfd98935766bd4e105012871c5d3f", "commits": [], - "end_line": 18, - "id": "E2", + "end_line": 22, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/domain/PlagiarismSubmissionElement.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadExerciseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 18 + "start_line": 22 }, { - "blob_sha": "cbe27b97fe4d96d8cbfbad703b448057a250f5df", + "blob_sha": "e8eb468c0c2dfd98935766bd4e105012871c5d3f", "commits": [], - "end_line": 3, - "id": "E3", + "end_line": 23, + "id": "E10", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/exception/ProgrammingLanguageNotSupportedForPlagiarismDetectionException.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadExerciseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 + "start_line": 23 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism" + "src": "M:src/main/java/de/tum/cit/aet/artemis/fileupload" }, { - "count": 7, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/text", + "count": 4, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/lecture", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism->M:src/main/java/de/tum/cit/aet/artemis/text", + "id": "M:src/main/java/de/tum/cit/aet/artemis/fileupload->M:src/main/java/de/tum/cit/aet/artemis/lecture", "kind": "uses", "refs": [ { - "blob_sha": "3763a969f54166f97ced1921a8588e8d9888a479", + "blob_sha": "e8eb468c0c2dfd98935766bd4e105012871c5d3f", "commits": [], - "end_line": 15, + "end_line": 26, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/api/PlagiarismDetectionApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadExerciseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 15 + "start_line": 26 }, { - "blob_sha": "81074687994a97b80ee5be6e7ad7a033a81e44a4", + "blob_sha": "4edc1917443879b20d4785d4d0e396fc9f06e740", "commits": [], - "end_line": 46, + "end_line": 20, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/service/ContinuousPlagiarismControlService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadExerciseInputDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 46 + "start_line": 20 }, { - "blob_sha": "fc4d0f4e839182d0b937cb93133e3f5640cc01e8", + "blob_sha": "a0f96b9edff782ae4557a2d96b453899e6164166", "commits": [], - "end_line": 20, + "end_line": 18, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/service/PlagiarismDetectionService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/UpdateFileUploadExerciseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 20 + "start_line": 18 + }, + { + "blob_sha": "802dfa12c95211955aff144c069600d9c534e971", + "commits": [], + "end_line": 91, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/web/FileUploadExerciseResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 91 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism" + "src": "M:src/main/java/de/tum/cit/aet/artemis/fileupload" }, { - "count": 79, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/account", + "count": 3, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/notification", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/account", + "id": "M:src/main/java/de/tum/cit/aet/artemis/fileupload->M:src/main/java/de/tum/cit/aet/artemis/notification", "kind": "uses", "refs": [ { - "blob_sha": "ebad7e99bd912fd03c4e22d83c0cf54187e969d3", + "blob_sha": "fbb82234730e12ad445e63bab2646a10d6a0464d", "commits": [], - "end_line": 10, + "end_line": 21, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/ParticipationVCSAccessToken.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/service/FileUploadDemoService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 21 }, { - "blob_sha": "248d962e4430258209e09d723ecd85a90eef9c5d", + "blob_sha": "802dfa12c95211955aff144c069600d9c534e971", "commits": [], - "end_line": 13, + "end_line": 92, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/RepositoryVCSAccessToken.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/web/FileUploadExerciseResource.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 13 + "start_line": 92 }, { - "blob_sha": "ec1a3e8263a84de0e547fcb6487b6d5480252e44", + "blob_sha": "6e43481662704547e03f0fd1864cd134292fc834", "commits": [], - "end_line": 15, + "end_line": 64, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/VcsAccessLog.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/web/FileUploadSubmissionResource.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 15 + "start_line": 64 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" + "src": "M:src/main/java/de/tum/cit/aet/artemis/fileupload" }, { "count": 2, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/admin", + "dst": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/admin", + "id": "M:src/main/java/de/tum/cit/aet/artemis/fileupload->M:src/main/java/de/tum/cit/aet/artemis/plagiarism", "kind": "uses", "refs": [ { - "blob_sha": "d7043bbd898cad38d3ef4d1e8a6b0e804082ad54", + "blob_sha": "32090de68f0ff764f1896ec7caa213a294951bdd", "commits": [], - "end_line": 20, + "end_line": 7, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/web/ProgrammingExerciseGradingResource.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/dto/FileUploadPlagiarismDetectionConfigDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 20 + "start_line": 7 }, { - "blob_sha": "0569d0a03f19a9d7171055fd7810aafaf0fa233e", + "blob_sha": "802dfa12c95211955aff144c069600d9c534e971", "commits": [], - "end_line": 20, + "end_line": 93, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/web/ProgrammingExerciseReEvaluationResource.java", + "path": "src/main/java/de/tum/cit/aet/artemis/fileupload/web/FileUploadExerciseResource.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 20 + "start_line": 93 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" + "src": "M:src/main/java/de/tum/cit/aet/artemis/fileupload" }, { - "count": 156, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/assessment", + "count": 5, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/account", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/assessment", + "id": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch->M:src/main/java/de/tum/cit/aet/artemis/account", "kind": "uses", "refs": [ { - "blob_sha": "ee6b8174cc03c7c2aea192f77ca67f6889f8e022", + "blob_sha": "2dafd2ad36e093cbd82721ee8296cd24bbd49f01", "commits": [], - "end_line": 45, + "end_line": 10, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/ProgrammingExercise.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/api/SearchableEntityPrefetchApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 45 + "start_line": 10 }, { - "blob_sha": "ee6b8174cc03c7c2aea192f77ca67f6889f8e022", + "blob_sha": "f1e798095719a743031110b33599c5139ff55ed8", "commits": [], - "end_line": 46, + "end_line": 19, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/ProgrammingExercise.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/service/SearchableEntityAccessFilterService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 46 + "start_line": 19 }, { - "blob_sha": "ee6b8174cc03c7c2aea192f77ca67f6889f8e022", + "blob_sha": "c63b998709205903f4a4c93b8ce256378fffbc25", "commits": [], - "end_line": 47, + "end_line": 15, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/ProgrammingExercise.java", - "repo": "ls1intum/Artemis", - "role": "import", - "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 47 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" - }, - { - "count": 3, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/athena", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/athena", - "kind": "uses", - "refs": [ - { - "blob_sha": "3abbcd3b43c5c9242b0a4bda07ec50c153cef363", - "commits": [], - "end_line": 34, - "id": "E1", - "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingAssessmentService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/service/SearchableEntityPrefetchService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 34 + "start_line": 15 }, { - "blob_sha": "cfc387fac0c2abc5b4ad778c361de6320bac323f", + "blob_sha": "6fcd034c38be013a3de9f996dd362533f361a523", "commits": [], - "end_line": 28, - "id": "E2", + "end_line": 24, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingExerciseCodeReviewFeedbackService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/web/GlobalSearchResource.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 28 + "start_line": 24 }, { - "blob_sha": "f8e619b7edd9fc542c8abab530ebedf53cd08aab", + "blob_sha": "6fcd034c38be013a3de9f996dd362533f361a523", "commits": [], - "end_line": 36, - "id": "E3", + "end_line": 25, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingSubmissionService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/web/GlobalSearchResource.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 36 + "start_line": 25 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" + "src": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch" }, { - "count": 4, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/atlas", + "count": 2, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/assessment", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/atlas", + "id": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch->M:src/main/java/de/tum/cit/aet/artemis/assessment", "kind": "uses", "refs": [ { - "blob_sha": "d3f7f529161fa783db57094a0693a6f6f9911c43", + "blob_sha": "e4c147084244c35771e6bdd79ab09624f79d7f2e", "commits": [], - "end_line": 18, + "end_line": 7, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/ProgrammingExerciseResponseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/searchableentity/ExerciseSearchableEntityDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 18 + "start_line": 7 }, { - "blob_sha": "1cb77506925cdf47150270cbd08d6392cdc60eff", + "blob_sha": "f1e798095719a743031110b33599c5139ff55ed8", "commits": [], - "end_line": 17, + "end_line": 20, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/UpdateProgrammingExerciseDTO.java", - "repo": "ls1intum/Artemis", - "role": "import", - "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 17 - }, - { - "blob_sha": "f70d48b4251c4bebef6d0cf5979fd7e265f4a3a0", - "commits": [], - "end_line": 12, - "id": "E3", - "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingExerciseAtlasIrisService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/service/SearchableEntityAccessFilterService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 12 + "start_line": 20 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" + "src": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch" }, { - "count": 4, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/buildagent", + "count": 13, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/communication", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/buildagent", + "id": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch->M:src/main/java/de/tum/cit/aet/artemis/communication", "kind": "uses", "refs": [ { - "blob_sha": "c18d7edf507dafa0409e4fc5d4550fcb86af7387", + "blob_sha": "4e68942c19e4d4c0688ffd21cf37b0c81c27c557", "commits": [], - "end_line": 29, + "end_line": 10, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/BuildLogEntryService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/searchableentity/AnswerPostSearchableEntityDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 29 + "start_line": 10 }, { - "blob_sha": "6ffa3a6e2dfc2161882e20f27b344c87ad7577c4", + "blob_sha": "4e68942c19e4d4c0688ffd21cf37b0c81c27c557", "commits": [], - "end_line": 22, + "end_line": 11, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingExerciseBuildConfigService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/searchableentity/AnswerPostSearchableEntityDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 22 + "start_line": 11 }, { - "blob_sha": "6ffa3a6e2dfc2161882e20f27b344c87ad7577c4", + "blob_sha": "cdd2ae3bb9fe6ad5023e040069a50dae8d02442b", "commits": [], - "end_line": 23, + "end_line": 7, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingExerciseBuildConfigService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/searchableentity/ChannelSearchableEntityDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 23 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" - }, - { - "count": 6, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/communication", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/communication", - "kind": "uses", - "refs": [ + "start_line": 7 + }, { - "blob_sha": "5b5c0b02d3f77a08077235f8637bf7b1884009f2", + "blob_sha": "e7c82390c2584330f53d0b9d0a959dde8c643dfc", "commits": [], - "end_line": 34, - "id": "E1", + "end_line": 6, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingExerciseCreationUpdateService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/searchableentity/FaqSearchableEntityDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 34 + "start_line": 6 }, { - "blob_sha": "f995f1cf6fae9705fb651d781e8ec038758ca840", + "blob_sha": "02a56cee7bc55af9fd5dce07904f2e2dc86d912f", "commits": [], - "end_line": 30, - "id": "E2", + "end_line": 10, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingExerciseImportBasicService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/searchableentity/PostSearchableEntityDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 30 + "start_line": 10 }, { - "blob_sha": "117e92808bd06872e07d3e2c2af0e0f780f7ba6d", + "blob_sha": "02a56cee7bc55af9fd5dce07904f2e2dc86d912f", "commits": [], - "end_line": 19, - "id": "E3", + "end_line": 11, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingMessagingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/searchableentity/PostSearchableEntityDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 19 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" - }, - { - "count": 602, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/core", - "kind": "uses", - "refs": [ + "start_line": 11 + }, { - "blob_sha": "88753d574ed43c6186e7ac38e15fe8f9c4546030", + "blob_sha": "9a3483c2e50ffbf4ab13602cdd465b4d38578844", "commits": [], "end_line": 11, - "id": "E1", + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/api/ProgrammingDemoApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/repository/SearchableEntityPostRepository.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 11 }, { - "blob_sha": "88753d574ed43c6186e7ac38e15fe8f9c4546030", + "blob_sha": "dd422efa97923a7d77079a4c6b800dd52aef455e", "commits": [], - "end_line": 3, - "id": "E2", + "end_line": 20, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/api/ProgrammingDemoApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/service/IngestionBrowserGapService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 + "start_line": 20 }, { - "blob_sha": "039728901ac19ab0cbf0b3ab62be8a2432445764", + "blob_sha": "dd422efa97923a7d77079a4c6b800dd52aef455e", "commits": [], - "end_line": 18, - "id": "E3", + "end_line": 21, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/AuxiliaryRepository.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/service/IngestionBrowserGapService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 18 + "start_line": 21 + }, + { + "blob_sha": "dd422efa97923a7d77079a4c6b800dd52aef455e", + "commits": [], + "end_line": 22, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/service/IngestionBrowserGapService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" + "src": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch" }, { - "count": 44, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", + "count": 59, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/course", + "id": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch->M:src/main/java/de/tum/cit/aet/artemis/core", "kind": "uses", "refs": [ { - "blob_sha": "88753d574ed43c6186e7ac38e15fe8f9c4546030", + "blob_sha": "d6f1ead28ef044f8b139a56ecc5c47eced01a781", "commits": [], - "end_line": 12, + "end_line": 3, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/api/ProgrammingDemoApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/api/AbstractGlobalSearchApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 12 + "start_line": 3 }, { - "blob_sha": "ee6b8174cc03c7c2aea192f77ca67f6889f8e022", + "blob_sha": "6cb2fb5e5fca980868ffafe8157ebfb04e890a13", "commits": [], - "end_line": 49, + "end_line": 15, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/ProgrammingExercise.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/config/WeaviateClientConfiguration.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 49 + "start_line": 15 }, { - "blob_sha": "4116b4a726d0a03c7cbce59b10f4a855ba6bc370", + "blob_sha": "6cb2fb5e5fca980868ffafe8157ebfb04e890a13", "commits": [], - "end_line": 18, + "end_line": 16, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/CreateProgrammingExerciseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/config/WeaviateClientConfiguration.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 18 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" - }, - { - "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/deimos", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/deimos", - "kind": "uses", - "refs": [ + "start_line": 16 + }, { - "blob_sha": "78e10298ac4b758743957ee3cd22de9840f810a3", + "blob_sha": "4106e9e4ebf27c3eaac011b87b1d5649a45b999d", "commits": [], - "end_line": 35, - "id": "E1", + "end_line": 3, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/repository/ProgrammingExerciseRepository.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/config/WeaviateConfigurationProperties.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 35 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" - }, - { - "count": 11, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/exam", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/exam", - "kind": "uses", - "refs": [ + "start_line": 3 + }, { - "blob_sha": "06619f609de6c9131518a89f62e1ff5258a10fe1", + "blob_sha": "d05d84c6f17014c6b7924b7b53af39e29cda7083", "commits": [], - "end_line": 6, - "id": "E1", + "end_line": 3, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/ExerciseGroupIdDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/config/WeaviateDispatcherExecutorConfiguration.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 6 + "start_line": 3 }, { - "blob_sha": "e9f02dd24c2fa322af9372f139f3e1f4927e9034", + "blob_sha": "70110f49b7ef9d0f1fa40069565f10f995049453", "commits": [], - "end_line": 11, - "id": "E2", + "end_line": 7, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/GitRepositoryAccessDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/config/WeaviateEnabled.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 + "start_line": 7 }, { - "blob_sha": "e9f02dd24c2fa322af9372f139f3e1f4927e9034", + "blob_sha": "bc4ab9ddbc601b5d9af7db702921cc6230f73c7c", "commits": [], - "end_line": 12, - "id": "E3", + "end_line": 3, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/GitRepositoryAccessDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/config/WeaviateEnqueueExecutorConfiguration.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 12 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" - }, - { - "count": 213, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/exercise", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/exercise", - "kind": "uses", - "refs": [ + "start_line": 3 + }, { - "blob_sha": "39a755db2753a05b3b1cf2122cfed88706439c42", + "blob_sha": "c85fe0651727d41ad9785c3f22c7f6403c146735", "commits": [], "end_line": 10, - "id": "E1", + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/AbstractBaseProgrammingExerciseParticipation.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/config/WeaviateHealthIndicator.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 10 }, { - "blob_sha": "39a755db2753a05b3b1cf2122cfed88706439c42", + "blob_sha": "271034b8eb4038a04c8649e65c7fa75a01727e03", "commits": [], - "end_line": 11, - "id": "E2", + "end_line": 18, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/AbstractBaseProgrammingExerciseParticipation.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/domain/IngestionCoverageEntry.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 + "start_line": 18 }, { - "blob_sha": "18a8fdd4bd36b443ccbdd576038687bb7dece6ed", + "blob_sha": "271034b8eb4038a04c8649e65c7fa75a01727e03", "commits": [], - "end_line": 5, - "id": "E3", + "end_line": 19, + "id": "E10", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/ParticipationLifecycle.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/domain/IngestionCoverageEntry.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 5 + "start_line": 19 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" + "src": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch" }, { - "count": 3, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/hyperion", + "count": 19, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/hyperion", + "id": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch->M:src/main/java/de/tum/cit/aet/artemis/course", "kind": "uses", "refs": [ { - "blob_sha": "d4140659477cfbbdba6b8a6e437b290816f698da", + "blob_sha": "4a9971e01479e807cb5159fe42c1c379408a0ccc", "commits": [], - "end_line": 25, + "end_line": 10, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingExerciseImportService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/searchableentity/CourseSearchableEntityDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 25 + "start_line": 10 }, { - "blob_sha": "d4140659477cfbbdba6b8a6e437b290816f698da", + "blob_sha": "e4c147084244c35771e6bdd79ab09624f79d7f2e", "commits": [], - "end_line": 26, + "end_line": 8, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingExerciseImportService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/searchableentity/ExerciseSearchableEntityDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 26 + "start_line": 8 }, { - "blob_sha": "93bd8d46eae34f460159bb54b9a60fc53b1f736a", + "blob_sha": "4f1d22c5c72f6835fe474025534fc4412f338791", "commits": [], - "end_line": 13, + "end_line": 18, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingExerciseMutationGuardService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/repository/IngestionCoverageExpectedIdsRepository.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 13 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" - }, - { - "count": 2, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/iris", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/iris", - "kind": "uses", - "refs": [ + "start_line": 18 + }, { - "blob_sha": "117e92808bd06872e07d3e2c2af0e0f780f7ba6d", + "blob_sha": "c894b7eb060caed988b92a8e1727b769955e7a18", "commits": [], - "end_line": 25, - "id": "E1", + "end_line": 15, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingMessagingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/repository/SearchableEntityIdRepository.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 25 + "start_line": 15 }, { - "blob_sha": "117e92808bd06872e07d3e2c2af0e0f780f7ba6d", + "blob_sha": "f406a422b456cf18f55ce6c08b925f6883e3505c", "commits": [], - "end_line": 26, - "id": "E2", + "end_line": 30, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingMessagingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/service/CoverageRecomputeService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 26 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" - }, - { - "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/jenkins", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/jenkins", - "kind": "uses", - "refs": [ + "start_line": 30 + }, { - "blob_sha": "853b0c4159ce36b5f7ab3fbd95993b733f340f94", + "blob_sha": "f406a422b456cf18f55ce6c08b925f6883e3505c", "commits": [], - "end_line": 4, - "id": "E1", + "end_line": 31, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingExerciseExportService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/service/CoverageRecomputeService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 4 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" - }, - { - "count": 6, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/lecture", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/lecture", - "kind": "uses", - "refs": [ + "start_line": 31 + }, { - "blob_sha": "4116b4a726d0a03c7cbce59b10f4a855ba6bc370", + "blob_sha": "81f59dfdd0a598af7718ba2761f98b91f0d957c3", "commits": [], - "end_line": 24, - "id": "E1", + "end_line": 15, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/CreateProgrammingExerciseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/service/GlobalSearchResultRanker.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 24 + "start_line": 15 }, { - "blob_sha": "59ba54c7cc7e7a3120e31df3b2bfeabb0bac0966", + "blob_sha": "dd422efa97923a7d77079a4c6b800dd52aef455e", "commits": [], - "end_line": 24, - "id": "E2", + "end_line": 25, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/ImportProgrammingExerciseRequestDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/service/IngestionBrowserGapService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 24 + "start_line": 25 }, { - "blob_sha": "d3f7f529161fa783db57094a0693a6f6f9911c43", + "blob_sha": "dd422efa97923a7d77079a4c6b800dd52aef455e", "commits": [], "end_line": 26, - "id": "E3", + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/ProgrammingExerciseResponseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/service/IngestionBrowserGapService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 26 + }, + { + "blob_sha": "4f95861bb05acfd4aac4b5ae7a85a3a809c6ad4c", + "commits": [], + "end_line": 13, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/service/IngestionBrowserService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" + "src": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch" }, { - "count": 34, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/localci", + "count": 8, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/exam", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/localci", + "id": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch->M:src/main/java/de/tum/cit/aet/artemis/exam", "kind": "uses", "refs": [ { - "blob_sha": "461f01f9dffbadb70ea8230b23b6659f977ea7ca", + "blob_sha": "034023b308b54fe1fb47f7449a3ba89fe227e37b", "commits": [], - "end_line": 13, + "end_line": 7, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/BuildResultNotification.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/searchableentity/ExamSearchableEntityDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 13 + "start_line": 7 }, { - "blob_sha": "b331fbf86c472b96d86115e1bef8e595a1306518", + "blob_sha": "e4c147084244c35771e6bdd79ab09624f79d7f2e", "commits": [], - "end_line": 16, + "end_line": 9, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/AsyncBuildTriggerService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/searchableentity/ExerciseSearchableEntityDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 16 + "start_line": 9 }, { - "blob_sha": "6db3ec9ffe1934ff64b186633e5d03716b60713b", + "blob_sha": "dd422efa97923a7d77079a4c6b800dd52aef455e", "commits": [], - "end_line": 15, + "end_line": 27, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/AutomaticBuildJobCleanupService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/service/IngestionBrowserGapService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 15 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" - }, - { - "count": 68, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/localvc", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/localvc", - "kind": "uses", - "refs": [ + "start_line": 27 + }, { - "blob_sha": "039728901ac19ab0cbf0b3ab62be8a2432445764", + "blob_sha": "dd422efa97923a7d77079a4c6b800dd52aef455e", "commits": [], - "end_line": 20, - "id": "E1", + "end_line": 28, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/AuxiliaryRepository.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/service/IngestionBrowserGapService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 20 + "start_line": 28 }, { - "blob_sha": "039728901ac19ab0cbf0b3ab62be8a2432445764", + "blob_sha": "5152af5a5cf9655e1dd01028228319cf0170f0bd", "commits": [], - "end_line": 21, - "id": "E2", + "end_line": 24, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/AuxiliaryRepository.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/service/IngestionCoverageSetLoader.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 21 + "start_line": 24 }, { - "blob_sha": "ee6b8174cc03c7c2aea192f77ca67f6889f8e022", + "blob_sha": "f1e798095719a743031110b33599c5139ff55ed8", "commits": [], - "end_line": 54, - "id": "E3", + "end_line": 26, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/ProgrammingExercise.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/service/SearchableEntityAccessFilterService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 54 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" - }, - { - "count": 2, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/lti", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/lti", - "kind": "uses", - "refs": [ + "start_line": 26 + }, { - "blob_sha": "3abbcd3b43c5c9242b0a4bda07ec50c153cef363", + "blob_sha": "2a3ce22311608b4d1754208624fb7b10c7177f05", "commits": [], - "end_line": 42, - "id": "E1", + "end_line": 15, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingAssessmentService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/service/SearchableEntityResolver.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 42 + "start_line": 15 }, { - "blob_sha": "117e92808bd06872e07d3e2c2af0e0f780f7ba6d", + "blob_sha": "5fc2526a72a44cce9726d8cc9059fbccd9e0a8ae", "commits": [], - "end_line": 27, - "id": "E2", + "end_line": 13, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingMessagingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/service/reconcile/SearchableEntityIdEnumerator.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 27 + "start_line": 13 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" + "src": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch" }, { - "count": 13, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/notification", + "count": 8, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/exercise", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/notification", + "id": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch->M:src/main/java/de/tum/cit/aet/artemis/exercise", "kind": "uses", "refs": [ { - "blob_sha": "ff3ef1abbd83db014106d06736485f140ef57e63", + "blob_sha": "bf450b03604cef3e543cceccbe6b22b6e9cddfd6", "commits": [], - "end_line": 27, + "end_line": 9, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/MavenCentralRateLimitNotificationService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/GlobalSearchResultDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 27 + "start_line": 9 }, { - "blob_sha": "ff3ef1abbd83db014106d06736485f140ef57e63", + "blob_sha": "e4c147084244c35771e6bdd79ab09624f79d7f2e", "commits": [], - "end_line": 28, + "end_line": 10, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/MavenCentralRateLimitNotificationService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/searchableentity/ExerciseSearchableEntityDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 28 + "start_line": 10 }, { - "blob_sha": "ff3ef1abbd83db014106d06736485f140ef57e63", + "blob_sha": "56a7baade1e38ab292590f5bec4db18255ab247d", "commits": [], - "end_line": 29, + "end_line": 10, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/MavenCentralRateLimitNotificationService.java", - "repo": "ls1intum/Artemis", - "role": "import", - "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 29 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" - }, - { - "count": 16, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/plagiarism", - "kind": "uses", - "refs": [ - { - "blob_sha": "4116b4a726d0a03c7cbce59b10f4a855ba6bc370", - "commits": [], - "end_line": 25, - "id": "E1", - "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/CreateProgrammingExerciseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/service/ExerciseSearchableEntityLoadService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 25 + "start_line": 10 }, { - "blob_sha": "59ba54c7cc7e7a3120e31df3b2bfeabb0bac0966", + "blob_sha": "dd422efa97923a7d77079a4c6b800dd52aef455e", "commits": [], - "end_line": 25, - "id": "E2", + "end_line": 29, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/ImportProgrammingExerciseRequestDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/service/IngestionBrowserGapService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 25 + "start_line": 29 }, { - "blob_sha": "705bff14da29f22750e2cffe643ef3ebe279b285", + "blob_sha": "dd422efa97923a7d77079a4c6b800dd52aef455e", "commits": [], - "end_line": 14, - "id": "E3", + "end_line": 30, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/ProgrammingExerciseRequestDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/service/IngestionBrowserGapService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 14 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" - }, - { - "count": 26, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/account", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/quiz->M:src/main/java/de/tum/cit/aet/artemis/account", - "kind": "uses", - "refs": [ + "start_line": 30 + }, { - "blob_sha": "822b2fa4cdc1465b0f1772fbc4cb61077f19f6f6", + "blob_sha": "f1e798095719a743031110b33599c5139ff55ed8", "commits": [], - "end_line": 11, - "id": "E1", + "end_line": 27, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/quiz/api/QuizDemoApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/service/SearchableEntityAccessFilterService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 + "start_line": 27 }, { - "blob_sha": "7d85e34f76d7de29d7240d68e0177e7f3632e278", + "blob_sha": "822214270f6002bad39e27a34e6f7687b09c697c", "commits": [], - "end_line": 14, - "id": "E2", + "end_line": 30, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/quiz/domain/QuizTrainingLeaderboard.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/service/SearchableEntityWeaviateService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 14 + "start_line": 30 }, { - "blob_sha": "3d7e42b3a26890176ebda6db05c8a6a6093a3e35", + "blob_sha": "6fcd034c38be013a3de9f996dd362533f361a523", "commits": [], - "end_line": 7, - "id": "E3", + "end_line": 32, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/quiz/dto/participation/StudentQuizParticipationBaseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/web/GlobalSearchResource.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 32 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/quiz" + "src": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch" }, { "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/admin", + "dst": "M:src/main/java/de/tum/cit/aet/artemis/fileupload", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/quiz->M:src/main/java/de/tum/cit/aet/artemis/admin", + "id": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch->M:src/main/java/de/tum/cit/aet/artemis/fileupload", "kind": "uses", "refs": [ { - "blob_sha": "016dadcf6c98fcbb5dc3fb8206d285b966a88952", + "blob_sha": "e4c147084244c35771e6bdd79ab09624f79d7f2e", "commits": [], - "end_line": 21, + "end_line": 11, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizExerciseWithSubmissionsExportService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/searchableentity/ExerciseSearchableEntityDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 21 + "start_line": 11 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/quiz" + "src": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch" }, { - "count": 25, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/assessment", + "count": 2, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/iris", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/quiz->M:src/main/java/de/tum/cit/aet/artemis/assessment", + "id": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch->M:src/main/java/de/tum/cit/aet/artemis/iris", "kind": "uses", "refs": [ { - "blob_sha": "23d8195cbf57248304f522330dfb479570977a79", + "blob_sha": "5152af5a5cf9655e1dd01028228319cf0170f0bd", "commits": [], - "end_line": 31, + "end_line": 28, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/quiz/domain/QuizExercise.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/service/IngestionCoverageSetLoader.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 31 + "start_line": 28 }, { - "blob_sha": "20202bac1e0e58ffd71d14b4d9ec2ca609cd305c", + "blob_sha": "11a6b06f999bdfe3022ae5c44bb796f5b80e8d5e", "commits": [], - "end_line": 14, + "end_line": 44, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/quiz/dto/exercise/QuizExerciseDetailsDTO.java", - "repo": "ls1intum/Artemis", - "role": "import", - "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 14 - }, - { - "blob_sha": "708b480fc7b13e3add24c4000618fee807e023fa", - "commits": [], - "end_line": 7, - "id": "E3", - "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/quiz/dto/result/ResultAfterEvaluationDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/web/IngestionCoverageResource.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 44 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/quiz" + "src": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch" }, { - "count": 7, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/atlas", + "count": 17, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/lecture", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/quiz->M:src/main/java/de/tum/cit/aet/artemis/atlas", + "id": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch->M:src/main/java/de/tum/cit/aet/artemis/lecture", "kind": "uses", "refs": [ { - "blob_sha": "20202bac1e0e58ffd71d14b4d9ec2ca609cd305c", + "blob_sha": "8d72c4ed312a4ff4c4c6a789f9dd03a5b0ba0e05", "commits": [], - "end_line": 15, + "end_line": 9, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/quiz/dto/exercise/QuizExerciseDetailsDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/searchableentity/LectureSearchableEntityDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 15 + "start_line": 9 }, { - "blob_sha": "20202bac1e0e58ffd71d14b4d9ec2ca609cd305c", + "blob_sha": "b98b2f504c128b9a493951964639edc78b969719", "commits": [], - "end_line": 16, + "end_line": 9, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/quiz/dto/exercise/QuizExerciseDetailsDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/searchableentity/LectureUnitSearchableEntityDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 16 + "start_line": 9 }, { - "blob_sha": "20202bac1e0e58ffd71d14b4d9ec2ca609cd305c", + "blob_sha": "b98b2f504c128b9a493951964639edc78b969719", "commits": [], - "end_line": 17, + "end_line": 10, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/quiz/dto/exercise/QuizExerciseDetailsDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/searchableentity/LectureUnitSearchableEntityDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 17 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/quiz" - }, - { - "count": 4, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/calendar", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/quiz->M:src/main/java/de/tum/cit/aet/artemis/calendar", - "kind": "uses", - "refs": [ + "start_line": 10 + }, { - "blob_sha": "091b913fc71de932e3dbe55bde3fcd3107943c09", + "blob_sha": "b98b2f504c128b9a493951964639edc78b969719", "commits": [], - "end_line": 23, - "id": "E1", + "end_line": 11, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/quiz/repository/QuizExerciseRepository.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/searchableentity/LectureUnitSearchableEntityDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 23 + "start_line": 11 }, { - "blob_sha": "be066121e58ead0738eb782e93de0bba68465916", + "blob_sha": "b98b2f504c128b9a493951964639edc78b969719", "commits": [], - "end_line": 44, - "id": "E2", + "end_line": 12, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizExerciseService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/searchableentity/LectureUnitSearchableEntityDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 44 + "start_line": 12 }, { - "blob_sha": "be066121e58ead0738eb782e93de0bba68465916", + "blob_sha": "b98b2f504c128b9a493951964639edc78b969719", "commits": [], - "end_line": 45, - "id": "E3", + "end_line": 13, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizExerciseService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/searchableentity/LectureUnitSearchableEntityDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 45 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/quiz" - }, - { - "count": 7, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/communication", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/quiz->M:src/main/java/de/tum/cit/aet/artemis/communication", - "kind": "uses", - "refs": [ + "start_line": 13 + }, { - "blob_sha": "2f3e55d5e4bf65f25e29baf84ca6eeed7389e129", + "blob_sha": "dd422efa97923a7d77079a4c6b800dd52aef455e", "commits": [], - "end_line": 29, - "id": "E1", + "end_line": 37, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizExerciseImportService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/service/IngestionBrowserGapService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 29 + "start_line": 37 }, { - "blob_sha": "be066121e58ead0738eb782e93de0bba68465916", + "blob_sha": "dd422efa97923a7d77079a4c6b800dd52aef455e", "commits": [], - "end_line": 47, - "id": "E2", + "end_line": 38, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizExerciseService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/service/IngestionBrowserGapService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 47 + "start_line": 38 }, { - "blob_sha": "be066121e58ead0738eb782e93de0bba68465916", + "blob_sha": "dd422efa97923a7d77079a4c6b800dd52aef455e", "commits": [], - "end_line": 48, - "id": "E3", + "end_line": 39, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizExerciseService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/service/IngestionBrowserGapService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 48 + "start_line": 39 + }, + { + "blob_sha": "dd422efa97923a7d77079a4c6b800dd52aef455e", + "commits": [], + "end_line": 40, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/service/IngestionBrowserGapService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 40 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/quiz" + "src": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch" }, { - "count": 240, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", + "count": 1, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/modeling", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/quiz->M:src/main/java/de/tum/cit/aet/artemis/core", + "id": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch->M:src/main/java/de/tum/cit/aet/artemis/modeling", "kind": "uses", "refs": [ { - "blob_sha": "822b2fa4cdc1465b0f1772fbc4cb61077f19f6f6", + "blob_sha": "e4c147084244c35771e6bdd79ab09624f79d7f2e", "commits": [], - "end_line": 12, + "end_line": 14, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/quiz/api/QuizDemoApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/searchableentity/ExerciseSearchableEntityDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 12 - }, + "start_line": 14 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch" + }, + { + "count": 1, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/programming", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch->M:src/main/java/de/tum/cit/aet/artemis/programming", + "kind": "uses", + "refs": [ { - "blob_sha": "822b2fa4cdc1465b0f1772fbc4cb61077f19f6f6", + "blob_sha": "e4c147084244c35771e6bdd79ab09624f79d7f2e", "commits": [], - "end_line": 3, - "id": "E2", + "end_line": 15, + "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/quiz/api/QuizDemoApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/searchableentity/ExerciseSearchableEntityDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 - }, + "start_line": 15 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch" + }, + { + "count": 1, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/quiz", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch->M:src/main/java/de/tum/cit/aet/artemis/quiz", + "kind": "uses", + "refs": [ { - "blob_sha": "7025c50e1bf0deaa860a0d6ae9fec27a7e449f90", + "blob_sha": "e4c147084244c35771e6bdd79ab09624f79d7f2e", "commits": [], - "end_line": 14, - "id": "E3", + "end_line": 16, + "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/quiz/api/QuizQuestionApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/globalsearch/dto/searchableentity/ExerciseSearchableEntityDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 14 + "start_line": 16 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/quiz" + "src": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch" }, { - "count": 14, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", + "count": 42, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/account", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/quiz->M:src/main/java/de/tum/cit/aet/artemis/course", + "id": "M:src/main/java/de/tum/cit/aet/artemis/hyperion->M:src/main/java/de/tum/cit/aet/artemis/account", "kind": "uses", "refs": [ { - "blob_sha": "822b2fa4cdc1465b0f1772fbc4cb61077f19f6f6", + "blob_sha": "71d36b709c68d5ba27afeb61b6d15c97cced4e37", "commits": [], - "end_line": 13, + "end_line": 26, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/quiz/api/QuizDemoApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionAssessmentCriteriaGenerationService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 13 + "start_line": 26 }, { - "blob_sha": "7d85e34f76d7de29d7240d68e0177e7f3632e278", + "blob_sha": "c295af54af6ed36c5d9cd4de8028728b84926089", "commits": [], - "end_line": 17, + "end_line": 35, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/quiz/domain/QuizTrainingLeaderboard.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionChecklistService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 17 + "start_line": 35 }, { - "blob_sha": "20202bac1e0e58ffd71d14b4d9ec2ca609cd305c", + "blob_sha": "4ba98f954c90c0ac0c38b4a6ca211f493af5923b", "commits": [], - "end_line": 20, + "end_line": 25, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/quiz/dto/exercise/QuizExerciseDetailsDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionConsistencyCheckService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 20 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/quiz" - }, - { - "count": 17, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/exam", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/quiz->M:src/main/java/de/tum/cit/aet/artemis/exam", - "kind": "uses", - "refs": [ + "start_line": 25 + }, { - "blob_sha": "822b2fa4cdc1465b0f1772fbc4cb61077f19f6f6", + "blob_sha": "a42c1e514190d52c9080b75fb68aebe9fc275404", "commits": [], - "end_line": 14, - "id": "E1", + "end_line": 22, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/quiz/api/QuizDemoApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionExerciseMetadataSuggestionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 14 + "start_line": 22 }, { - "blob_sha": "9e03c40da1daa3990c2f5d70b70c8e897d8db3ee", + "blob_sha": "1eee857a985dd6cb4db2874ba40f3ef4012e623a", "commits": [], - "end_line": 20, - "id": "E2", + "end_line": 21, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/quiz/domain/QuizSubmission.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionProblemStatementGenerationService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 20 + "start_line": 21 }, { - "blob_sha": "20202bac1e0e58ffd71d14b4d9ec2ca609cd305c", + "blob_sha": "bce6d140c7a3d30440d5c1ab84050ce6cefed19f", "commits": [], - "end_line": 21, - "id": "E3", + "end_line": 23, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/quiz/dto/exercise/QuizExerciseDetailsDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionProblemStatementRefinementService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 21 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/quiz" - }, - { - "count": 83, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/exercise", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/quiz->M:src/main/java/de/tum/cit/aet/artemis/exercise", - "kind": "uses", - "refs": [ + "start_line": 23 + }, { - "blob_sha": "23d8195cbf57248304f522330dfb479570977a79", + "blob_sha": "46c82dbf2d1d80a97ec099c65e8c8612db493edf", "commits": [], - "end_line": 33, - "id": "E1", + "end_line": 18, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/quiz/domain/QuizExercise.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionProblemStatementRewriteService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 33 + "start_line": 18 }, { - "blob_sha": "23d8195cbf57248304f522330dfb479570977a79", + "blob_sha": "2e6fcfbd69cdeb3e6d0b7e4c44b39bc5e1e41475", "commits": [], - "end_line": 3, - "id": "E2", + "end_line": 24, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/quiz/domain/QuizExercise.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionQuizQuestionGenerationService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 + "start_line": 24 }, { - "blob_sha": "23d8195cbf57248304f522330dfb479570977a79", + "blob_sha": "ddaa16d5cb8765a809438c08728c8144935da68c", "commits": [], - "end_line": 34, - "id": "E3", + "end_line": 5, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/quiz/domain/QuizExercise.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionUtils.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 34 + "start_line": 5 + }, + { + "blob_sha": "72b2c088a52370940f3a016f89035659ef40e6f3", + "commits": [], + "end_line": 24, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/codegeneration/HyperionCodeGenerationExecutionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/quiz" + "src": "M:src/main/java/de/tum/cit/aet/artemis/hyperion" }, { - "count": 4, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/lecture", + "count": 41, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/admin", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/quiz->M:src/main/java/de/tum/cit/aet/artemis/lecture", + "id": "M:src/main/java/de/tum/cit/aet/artemis/hyperion->M:src/main/java/de/tum/cit/aet/artemis/admin", "kind": "uses", "refs": [ { - "blob_sha": "7b9052fbaa7fa64889a107086b6347f4ee6ba8b4", + "blob_sha": "71d36b709c68d5ba27afeb61b6d15c97cced4e37", "commits": [], - "end_line": 21, + "end_line": 27, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/quiz/dto/exercise/QuizExerciseCreateDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionAssessmentCriteriaGenerationService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 21 + "start_line": 27 }, { - "blob_sha": "6694536b308e7a8858bb7a8e60ebca160de54f4c", + "blob_sha": "71d36b709c68d5ba27afeb61b6d15c97cced4e37", "commits": [], - "end_line": 19, + "end_line": 28, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/quiz/dto/exercise/UpdateQuizExerciseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionAssessmentCriteriaGenerationService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 19 + "start_line": 28 }, { - "blob_sha": "be066121e58ead0738eb782e93de0bba68465916", + "blob_sha": "c295af54af6ed36c5d9cd4de8028728b84926089", "commits": [], - "end_line": 70, + "end_line": 36, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizExerciseService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionChecklistService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 70 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/quiz" - }, - { - "count": 2, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/lti", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/quiz->M:src/main/java/de/tum/cit/aet/artemis/lti", - "kind": "uses", - "refs": [ + "start_line": 36 + }, { - "blob_sha": "be066121e58ead0738eb782e93de0bba68465916", + "blob_sha": "c295af54af6ed36c5d9cd4de8028728b84926089", "commits": [], - "end_line": 72, - "id": "E1", + "end_line": 37, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizExerciseService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionChecklistService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 72 + "start_line": 37 }, { - "blob_sha": "2c851c70ad58d4ca93a2f09f1058ba924f1620aa", + "blob_sha": "4ba98f954c90c0ac0c38b4a6ca211f493af5923b", "commits": [], - "end_line": 42, - "id": "E2", + "end_line": 26, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizSubmissionService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionConsistencyCheckService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 42 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/quiz" - }, - { - "count": 2, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/notification", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/quiz->M:src/main/java/de/tum/cit/aet/artemis/notification", - "kind": "uses", - "refs": [ + "start_line": 26 + }, { - "blob_sha": "be066121e58ead0738eb782e93de0bba68465916", + "blob_sha": "4ba98f954c90c0ac0c38b4a6ca211f493af5923b", "commits": [], - "end_line": 73, - "id": "E1", + "end_line": 27, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizExerciseService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionConsistencyCheckService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 73 + "start_line": 27 }, { - "blob_sha": "270055725563d296e969eb3930ef6e86f23ff2c1", + "blob_sha": "4ba98f954c90c0ac0c38b4a6ca211f493af5923b", "commits": [], - "end_line": 21, - "id": "E2", + "end_line": 28, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizMessagingService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionConsistencyCheckService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 21 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/quiz" - }, - { - "count": 19, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/account", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/text->M:src/main/java/de/tum/cit/aet/artemis/account", - "kind": "uses", - "refs": [ + "start_line": 28 + }, { - "blob_sha": "40664d23f252d8a5c1579ac37578d1570e524725", + "blob_sha": "a42c1e514190d52c9080b75fb68aebe9fc275404", "commits": [], - "end_line": 9, - "id": "E1", + "end_line": 23, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/text/api/TextDemoApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionExerciseMetadataSuggestionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 + "start_line": 23 }, { - "blob_sha": "5e12bfa4bfcd5bddc1a27f4c39105ed76ba08d8b", + "blob_sha": "a42c1e514190d52c9080b75fb68aebe9fc275404", "commits": [], - "end_line": 7, - "id": "E2", + "end_line": 24, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/text/api/TextSubmissionApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionExerciseMetadataSuggestionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 24 }, { - "blob_sha": "3ddebcd338da0132962cfe1174aa1b3b09490e4c", + "blob_sha": "1eee857a985dd6cb4db2874ba40f3ef4012e623a", "commits": [], - "end_line": 13, - "id": "E3", + "end_line": 22, + "id": "E10", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/text/service/TextAssessmentService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionProblemStatementGenerationService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 13 + "start_line": 22 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/text" + "src": "M:src/main/java/de/tum/cit/aet/artemis/hyperion" }, { - "count": 92, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/assessment", + "count": 45, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/aiworker", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/text->M:src/main/java/de/tum/cit/aet/artemis/assessment", + "id": "M:src/main/java/de/tum/cit/aet/artemis/hyperion->M:src/main/java/de/tum/cit/aet/artemis/aiworker", "kind": "uses", "refs": [ { - "blob_sha": "a5ca1ebafca728b8977104e39be97727b74c9baa", + "blob_sha": "f9de9acf8f082967ff321a48eebfc3d75ba4277b", "commits": [], - "end_line": 10, + "end_line": 11, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/text/api/TextRepositoryApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/protocol/ProviderUsageUpdate.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 11 }, { - "blob_sha": "6f40bae284118c437314b84ffe7ecce68cbe0760", + "blob_sha": "d625aaa5eadb4f0de2f80e11f2274cb2476498bd", "commits": [], - "end_line": 10, + "end_line": 7, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/text/api/TextSubmissionImportApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/protocol/WorkerCommand.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 7 }, { - "blob_sha": "b0292eb7c1ffa5cd3441f56985e851e207cabbbf", + "blob_sha": "e8ec95da6f4921c428be49f5e87265038463a984", "commits": [], - "end_line": 15, + "end_line": 11, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/text/domain/TextAssessmentEvent.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/protocol/WorkerMessageCodec.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 15 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/text" - }, - { - "count": 3, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/athena", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/text->M:src/main/java/de/tum/cit/aet/artemis/athena", - "kind": "uses", - "refs": [ + "start_line": 11 + }, { - "blob_sha": "00209493611da3ee41aa25e7893c80d9a049bdaa", + "blob_sha": "e8ec95da6f4921c428be49f5e87265038463a984", "commits": [], - "end_line": 26, - "id": "E1", + "end_line": 12, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/text/service/TextExerciseFeedbackService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/protocol/WorkerMessageCodec.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 26 + "start_line": 12 }, { - "blob_sha": "3814cd28d205a28b1cc2adecda82881b26ab0918", + "blob_sha": "e8ec95da6f4921c428be49f5e87265038463a984", "commits": [], - "end_line": 24, - "id": "E2", + "end_line": 13, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/text/service/TextSubmissionService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/protocol/WorkerMessageCodec.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 24 + "start_line": 13 }, { - "blob_sha": "c324059124a8941929e40b5012695110a0af397b", + "blob_sha": "e8ec95da6f4921c428be49f5e87265038463a984", "commits": [], - "end_line": 54, - "id": "E3", + "end_line": 14, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/text/web/TextAssessmentResource.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/protocol/WorkerMessageCodec.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 54 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/text" - }, - { - "count": 5, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/atlas", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/text->M:src/main/java/de/tum/cit/aet/artemis/atlas", - "kind": "uses", - "refs": [ + "start_line": 14 + }, { - "blob_sha": "5f09061c083d742b6a5f0720d035e5425746ddc7", + "blob_sha": "e8ec95da6f4921c428be49f5e87265038463a984", "commits": [], - "end_line": 14, - "id": "E1", + "end_line": 15, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/text/dto/ImportTextExerciseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/protocol/WorkerMessageCodec.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 14 + "start_line": 15 }, { - "blob_sha": "0c7161e42364c19f10dcd0526e91bca87e6fb564", + "blob_sha": "e8ec95da6f4921c428be49f5e87265038463a984", "commits": [], "end_line": 16, - "id": "E2", + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/text/dto/TextExerciseResponseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/protocol/WorkerMessageCodec.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 16 }, { - "blob_sha": "f0baf7a4c96a2d9b42cf340e256102e0da8a3434", + "blob_sha": "e8ec95da6f4921c428be49f5e87265038463a984", "commits": [], - "end_line": 29, - "id": "E3", + "end_line": 17, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/text/service/TextExerciseImportService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/protocol/WorkerMessageCodec.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 29 + "start_line": 17 + }, + { + "blob_sha": "e8ec95da6f4921c428be49f5e87265038463a984", + "commits": [], + "end_line": 18, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/protocol/WorkerMessageCodec.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/text" + "src": "M:src/main/java/de/tum/cit/aet/artemis/hyperion" }, { - "count": 4, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/communication", + "count": 6, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/assessment", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/text->M:src/main/java/de/tum/cit/aet/artemis/communication", + "id": "M:src/main/java/de/tum/cit/aet/artemis/hyperion->M:src/main/java/de/tum/cit/aet/artemis/assessment", "kind": "uses", "refs": [ { - "blob_sha": "0631a1db9d621589a5c28e09e9ce956fae01f65d", + "blob_sha": "72b2c088a52370940f3a016f89035659ef40e6f3", "commits": [], "end_line": 25, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/text/service/TextDemoService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/codegeneration/HyperionCodeGenerationExecutionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 25 }, { - "blob_sha": "f0baf7a4c96a2d9b42cf340e256102e0da8a3434", + "blob_sha": "72b2c088a52370940f3a016f89035659ef40e6f3", "commits": [], - "end_line": 30, + "end_line": 26, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/text/service/TextExerciseImportService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/codegeneration/HyperionCodeGenerationExecutionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 30 + "start_line": 26 }, { - "blob_sha": "a31f7beef5e512afb5f8cd7a9d364d30b5959ad1", + "blob_sha": "72b2c088a52370940f3a016f89035659ef40e6f3", "commits": [], - "end_line": 30, + "end_line": 27, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/text/web/TextExerciseCreationUpdateResource.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/codegeneration/HyperionCodeGenerationExecutionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 30 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/text" - }, - { - "count": 122, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/text->M:src/main/java/de/tum/cit/aet/artemis/core", - "kind": "uses", - "refs": [ + "start_line": 27 + }, { - "blob_sha": "7ad178ab5b08e61573898c19ce6969ca05d39d74", + "blob_sha": "1c4a20ba9a16b30bd936c4e38d8e676bf40db19d", "commits": [], - "end_line": 3, - "id": "E1", + "end_line": 15, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/text/api/AbstractTextApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/exercisegeneration/persistence/GenerationGrading.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 + "start_line": 15 }, { - "blob_sha": "ae3981a8e96708e08eb0d3ff9f63ef23b5babe2b", + "blob_sha": "a70e7c7bf36bc5e20cedeb11954c15de1702e790", "commits": [], - "end_line": 9, - "id": "E2", + "end_line": 37, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/text/api/TextExerciseImportApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/exercisegeneration/persistence/GenerationPersistenceService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 + "start_line": 37 }, { - "blob_sha": "33d96bfba910ec012e810ca55724502975dcf9b4", + "blob_sha": "a70e7c7bf36bc5e20cedeb11954c15de1702e790", "commits": [], - "end_line": 12, - "id": "E3", + "end_line": 38, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/text/api/TextSubmissionExportApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/exercisegeneration/persistence/GenerationPersistenceService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 12 + "start_line": 38 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/text" + "src": "M:src/main/java/de/tum/cit/aet/artemis/hyperion" }, { - "count": 14, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", + "count": 19, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/atlas", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/text->M:src/main/java/de/tum/cit/aet/artemis/course", + "id": "M:src/main/java/de/tum/cit/aet/artemis/hyperion->M:src/main/java/de/tum/cit/aet/artemis/atlas", "kind": "uses", "refs": [ { - "blob_sha": "40664d23f252d8a5c1579ac37578d1570e524725", + "blob_sha": "c295af54af6ed36c5d9cd4de8028728b84926089", "commits": [], - "end_line": 10, + "end_line": 38, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/text/api/TextDemoApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionChecklistService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 38 }, { - "blob_sha": "955256d6a7d16201c63dcf8faae4955d72a5360a", + "blob_sha": "c295af54af6ed36c5d9cd4de8028728b84926089", "commits": [], - "end_line": 10, + "end_line": 39, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/text/dto/TextExerciseExamGroupDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionChecklistService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 39 }, { - "blob_sha": "62106a4ade8c3b7fbf30a3303f4c5bd8cb68a52e", + "blob_sha": "c295af54af6ed36c5d9cd4de8028728b84926089", "commits": [], - "end_line": 14, + "end_line": 40, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/text/dto/TextExerciseListItemDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionChecklistService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 14 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/text" - }, - { - "count": 12, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/exam", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/text->M:src/main/java/de/tum/cit/aet/artemis/exam", - "kind": "uses", - "refs": [ + "start_line": 40 + }, { - "blob_sha": "40664d23f252d8a5c1579ac37578d1570e524725", + "blob_sha": "c295af54af6ed36c5d9cd4de8028728b84926089", "commits": [], - "end_line": 11, - "id": "E1", + "end_line": 41, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/text/api/TextDemoApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionChecklistService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 + "start_line": 41 }, { - "blob_sha": "955256d6a7d16201c63dcf8faae4955d72a5360a", + "blob_sha": "c295af54af6ed36c5d9cd4de8028728b84926089", "commits": [], - "end_line": 11, - "id": "E2", + "end_line": 42, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/text/dto/TextExerciseExamGroupDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionChecklistService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 + "start_line": 42 }, { - "blob_sha": "955256d6a7d16201c63dcf8faae4955d72a5360a", + "blob_sha": "c295af54af6ed36c5d9cd4de8028728b84926089", "commits": [], - "end_line": 12, - "id": "E3", + "end_line": 43, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/text/dto/TextExerciseExamGroupDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionChecklistService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 12 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/text" - }, - { - "count": 119, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/exercise", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/text->M:src/main/java/de/tum/cit/aet/artemis/exercise", - "kind": "uses", - "refs": [ + "start_line": 43 + }, { - "blob_sha": "58bd490d4365cc1b29d762b1e38ca518d2bec98b", + "blob_sha": "a05ba649e6e5b1591f763a1512cb147b9ad2365c", "commits": [], - "end_line": 7, - "id": "E1", + "end_line": 20, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/text/api/TextFeedbackApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionCompetencyContextService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 20 }, { - "blob_sha": "58bd490d4365cc1b29d762b1e38ca518d2bec98b", + "blob_sha": "a05ba649e6e5b1591f763a1512cb147b9ad2365c", "commits": [], - "end_line": 8, - "id": "E2", + "end_line": 21, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/text/api/TextFeedbackApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionCompetencyContextService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 8 + "start_line": 21 }, { - "blob_sha": "5e12bfa4bfcd5bddc1a27f4c39105ed76ba08d8b", + "blob_sha": "a05ba649e6e5b1591f763a1512cb147b9ad2365c", "commits": [], - "end_line": 8, - "id": "E3", + "end_line": 22, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/text/api/TextSubmissionApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionCompetencyContextService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 8 + "start_line": 22 + }, + { + "blob_sha": "a05ba649e6e5b1591f763a1512cb147b9ad2365c", + "commits": [], + "end_line": 23, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionCompetencyContextService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/text" + "src": "M:src/main/java/de/tum/cit/aet/artemis/hyperion" }, { "count": 4, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/lecture", + "dst": "M:src/main/java/de/tum/cit/aet/artemis/communication", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/text->M:src/main/java/de/tum/cit/aet/artemis/lecture", + "id": "M:src/main/java/de/tum/cit/aet/artemis/hyperion->M:src/main/java/de/tum/cit/aet/artemis/communication", "kind": "uses", "refs": [ { - "blob_sha": "5f09061c083d742b6a5f0720d035e5425746ddc7", + "blob_sha": "a7d91ef2ca0654fe9bb5e9b845a90465475a340e", "commits": [], - "end_line": 21, + "end_line": 18, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/text/dto/ImportTextExerciseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionFaqRewriteService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 21 + "start_line": 18 }, { - "blob_sha": "0c7161e42364c19f10dcd0526e91bca87e6fb564", + "blob_sha": "a7d91ef2ca0654fe9bb5e9b845a90465475a340e", "commits": [], - "end_line": 26, + "end_line": 19, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/text/dto/TextExerciseResponseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionFaqRewriteService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 26 + "start_line": 19 }, { - "blob_sha": "0585c43bd304e4d9096b125f1061c05a2a194df5", + "blob_sha": "8cb538bf14b52f1f6bf0d1aaaf989aa82988fcc4", "commits": [], - "end_line": 19, + "end_line": 13, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/text/dto/UpdateTextExerciseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/exercisegeneration/orchestration/GenerationMonitoringWebsocketService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 19 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/text" - }, - { - "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/lti", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/text->M:src/main/java/de/tum/cit/aet/artemis/lti", - "kind": "uses", - "refs": [ + "start_line": 13 + }, { - "blob_sha": "3ddebcd338da0132962cfe1174aa1b3b09490e4c", + "blob_sha": "5c6ee5b230e4a41f69e6511e497e907afe361d54", "commits": [], - "end_line": 28, - "id": "E1", + "end_line": 12, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/text/service/TextAssessmentService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/websocket/HyperionWebsocketService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 28 + "start_line": 12 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/text" + "src": "M:src/main/java/de/tum/cit/aet/artemis/hyperion" }, { - "count": 3, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/notification", + "count": 199, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/text->M:src/main/java/de/tum/cit/aet/artemis/notification", + "id": "M:src/main/java/de/tum/cit/aet/artemis/hyperion->M:src/main/java/de/tum/cit/aet/artemis/core", "kind": "uses", "refs": [ { - "blob_sha": "3ddebcd338da0132962cfe1174aa1b3b09490e4c", + "blob_sha": "6d1ef821bd637f1c189c7f49d888da4bb30fb86a", "commits": [], - "end_line": 29, + "end_line": 13, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/text/service/TextAssessmentService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/api/HyperionExerciseMutationApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 29 + "start_line": 13 }, { - "blob_sha": "0631a1db9d621589a5c28e09e9ce956fae01f65d", + "blob_sha": "6d1ef821bd637f1c189c7f49d888da4bb30fb86a", "commits": [], - "end_line": 38, + "end_line": 3, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/text/service/TextDemoService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/api/HyperionExerciseMutationApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 38 + "start_line": 3 }, { - "blob_sha": "a31f7beef5e512afb5f8cd7a9d364d30b5959ad1", + "blob_sha": "6d1ef821bd637f1c189c7f49d888da4bb30fb86a", "commits": [], - "end_line": 55, + "end_line": 4, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/text/web/TextExerciseCreationUpdateResource.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/api/HyperionExerciseMutationApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 55 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/text" - }, - { - "count": 12, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/text->M:src/main/java/de/tum/cit/aet/artemis/plagiarism", - "kind": "uses", - "refs": [ + "start_line": 4 + }, { - "blob_sha": "5f09061c083d742b6a5f0720d035e5425746ddc7", + "blob_sha": "9f0d69fb058cf2bd70ee90b7945e0273a9d6337a", "commits": [], - "end_line": 22, - "id": "E1", + "end_line": 15, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/text/dto/ImportTextExerciseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/config/HyperionAgentProperties.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 22 + "start_line": 15 }, { - "blob_sha": "0c7161e42364c19f10dcd0526e91bca87e6fb564", + "blob_sha": "9f0d69fb058cf2bd70ee90b7945e0273a9d6337a", "commits": [], - "end_line": 27, - "id": "E2", + "end_line": 16, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/text/dto/TextExerciseResponseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/config/HyperionAgentProperties.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 27 + "start_line": 16 }, { - "blob_sha": "0585c43bd304e4d9096b125f1061c05a2a194df5", + "blob_sha": "b8f0458d01b3e896696fbd808e43fb3a015e5e7a", "commits": [], - "end_line": 20, - "id": "E3", + "end_line": 7, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/text/dto/UpdateTextExerciseDTO.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/config/HyperionEnabled.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 20 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/text" - }, - { - "count": 15, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/account", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/tutorialgroup->M:src/main/java/de/tum/cit/aet/artemis/account", - "kind": "uses", - "refs": [ + "start_line": 7 + }, { - "blob_sha": "4bfd32c6bb821745e0d52ba7df28b86781b2b320", + "blob_sha": "cb243bed8704ca0c6ab82727dd92e2c62f17ca90", "commits": [], - "end_line": 9, - "id": "E1", + "end_line": 8, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/api/TutorialGroupDemoApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/config/HyperionExerciseGenerationEnabled.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 + "start_line": 8 }, { - "blob_sha": "04657d0bdb2c55a471ec3a7c3258238d7ef6a031", + "blob_sha": "e1e2f994644b8c9197ddd136246da0ebff41866a", "commits": [], - "end_line": 9, - "id": "E2", + "end_line": 13, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/api/TutorialGroupImportApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/config/HyperionGenerationCapacityHealthIndicator.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 + "start_line": 13 }, { - "blob_sha": "f11c5b67e081c59819adbe20cde7234c2a8419d7", + "blob_sha": "56aa3f1596f0cb219836c9556e970cec6d834170", "commits": [], - "end_line": 27, - "id": "E3", + "end_line": 11, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/domain/TutorialGroup.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/config/HyperionLlmPresets.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 27 + "start_line": 11 + }, + { + "blob_sha": "56aa3f1596f0cb219836c9556e970cec6d834170", + "commits": [], + "end_line": 12, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/config/HyperionLlmPresets.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/tutorialgroup" + "src": "M:src/main/java/de/tum/cit/aet/artemis/hyperion" }, { - "count": 3, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/calendar", + "count": 35, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/tutorialgroup->M:src/main/java/de/tum/cit/aet/artemis/calendar", + "id": "M:src/main/java/de/tum/cit/aet/artemis/hyperion->M:src/main/java/de/tum/cit/aet/artemis/course", "kind": "uses", "refs": [ { - "blob_sha": "0e473e0568c707b3c23925e2e73d4693d60bf72f", + "blob_sha": "87f18dd24fc604bde73ae3b2fd8a1e5ae83af648", "commits": [], - "end_line": 10, + "end_line": 18, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/api/TutorialGroupApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/domain/QuizQuestionPoolBuild.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 18 }, { - "blob_sha": "01bebd49e8a209152d40c9411c97e91644a887ba", + "blob_sha": "dd6b307967a13f453bda817389c470acdd010bdd", "commits": [], - "end_line": 15, + "end_line": 21, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/repository/TutorialGroupSessionRepository.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/domain/QuizQuestionPoolItem.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 15 + "start_line": 21 }, { - "blob_sha": "b3db33c47afbad0c16e9c3dfcbc969aec69ea8b3", + "blob_sha": "143e57a5436f1541418d375a5fe7be7d1c6917a0", "commits": [], - "end_line": 39, + "end_line": 16, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/service/TutorialGroupService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/domain/QuizQuestionPoolLectureUnit.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 39 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/tutorialgroup" - }, - { - "count": 11, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/communication", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/tutorialgroup->M:src/main/java/de/tum/cit/aet/artemis/communication", - "kind": "uses", - "refs": [ + "start_line": 16 + }, { - "blob_sha": "d18e927f4faf2b0c472f26980af9fd40c16835f0", + "blob_sha": "71d36b709c68d5ba27afeb61b6d15c97cced4e37", "commits": [], - "end_line": 9, - "id": "E1", + "end_line": 31, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/api/TutorialGroupChannelManagementApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionAssessmentCriteriaGenerationService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 + "start_line": 31 }, { - "blob_sha": "f11c5b67e081c59819adbe20cde7234c2a8419d7", + "blob_sha": "6abd3fc016010e4d0105fa8ae499e363cb9d69de", "commits": [], - "end_line": 28, - "id": "E2", + "end_line": 7, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/domain/TutorialGroup.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionCourseSettingsService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 28 + "start_line": 7 }, { - "blob_sha": "f11c5b67e081c59819adbe20cde7234c2a8419d7", + "blob_sha": "a42c1e514190d52c9080b75fb68aebe9fc275404", "commits": [], - "end_line": 29, - "id": "E3", + "end_line": 26, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/domain/TutorialGroup.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionExerciseMetadataSuggestionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 29 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/tutorialgroup" - }, - { - "count": 73, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/tutorialgroup->M:src/main/java/de/tum/cit/aet/artemis/core", - "kind": "uses", - "refs": [ + "start_line": 26 + }, { - "blob_sha": "ff99aa696d237b22a2062ddfbd74d54b80b5f319", + "blob_sha": "a42c1e514190d52c9080b75fb68aebe9fc275404", "commits": [], - "end_line": 3, - "id": "E1", + "end_line": 27, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/api/AbstractTutorialGroupApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionExerciseMetadataSuggestionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 + "start_line": 27 }, { - "blob_sha": "9eb471201277e0318fb22807a9b4c215dd310e2d", + "blob_sha": "1eee857a985dd6cb4db2874ba40f3ef4012e623a", "commits": [], - "end_line": 7, - "id": "E2", + "end_line": 25, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/api/TutorialGroupCommunicationApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionProblemStatementGenerationService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 25 }, { - "blob_sha": "707522d8ca2d9d1022221799c3303437565ca4a6", + "blob_sha": "bce6d140c7a3d30440d5c1ab84050ce6cefed19f", "commits": [], - "end_line": 7, - "id": "E3", + "end_line": 28, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/config/TutorialGroupEnabled.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionProblemStatementRefinementService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 28 + }, + { + "blob_sha": "46c82dbf2d1d80a97ec099c65e8c8612db493edf", + "commits": [], + "end_line": 23, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionProblemStatementRewriteService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/tutorialgroup" + "src": "M:src/main/java/de/tum/cit/aet/artemis/hyperion" }, { - "count": 23, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", + "count": 73, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/exercise", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/tutorialgroup->M:src/main/java/de/tum/cit/aet/artemis/course", + "id": "M:src/main/java/de/tum/cit/aet/artemis/hyperion->M:src/main/java/de/tum/cit/aet/artemis/exercise", "kind": "uses", "refs": [ { - "blob_sha": "d18e927f4faf2b0c472f26980af9fd40c16835f0", + "blob_sha": "132fd9b234ead6fb6a1588b10b1b5a9bba521bd0", "commits": [], - "end_line": 10, + "end_line": 5, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/api/TutorialGroupChannelManagementApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/dto/ExerciseGenerationMetadataSuggestionResponseDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 5 }, { - "blob_sha": "4bfd32c6bb821745e0d52ba7df28b86781b2b320", + "blob_sha": "5526ce0ab29047ad9a1b36a61095835348fad810", "commits": [], - "end_line": 10, + "end_line": 12, "id": "E2", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/api/TutorialGroupDemoApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/dto/VariantGenerationRequestDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 12 }, { - "blob_sha": "04657d0bdb2c55a471ec3a7c3258238d7ef6a031", + "blob_sha": "93af33d173020b3699a23eb903b6b3d1d3e8e5a9", "commits": [], - "end_line": 10, + "end_line": 9, "id": "E3", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/api/TutorialGroupImportApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/dto/VariantJobDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/tutorialgroup" - }, - { - "count": 9, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/notification", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/tutorialgroup->M:src/main/java/de/tum/cit/aet/artemis/notification", - "kind": "uses", - "refs": [ + "start_line": 9 + }, { - "blob_sha": "b6eaf5b76a4ba9cedf1519876ca417d2459b5495", + "blob_sha": "3021ce179b8d3e17d27b18ceef4595bbf518c15d", "commits": [], - "end_line": 26, - "id": "E1", + "end_line": 11, + "id": "E4", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/service/TutorialGroupDemoService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/dto/VariantPlacementDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 26 + "start_line": 11 }, { - "blob_sha": "b6eaf5b76a4ba9cedf1519876ca417d2459b5495", + "blob_sha": "a05ba649e6e5b1591f763a1512cb147b9ad2365c", "commits": [], - "end_line": 27, - "id": "E2", + "end_line": 25, + "id": "E5", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/service/TutorialGroupDemoService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionCompetencyContextService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 27 + "start_line": 25 }, { - "blob_sha": "b3db33c47afbad0c16e9c3dfcbc969aec69ea8b3", + "blob_sha": "660935332b4f5b0fce29119f024fb959fe31f9e1", "commits": [], - "end_line": 46, - "id": "E3", + "end_line": 20, + "id": "E6", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/service/TutorialGroupService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionExerciseMetadataParser.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 46 - } - ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/tutorialgroup" - }, - { - "count": 22, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", - "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/videosource->M:src/main/java/de/tum/cit/aet/artemis/core", - "kind": "uses", - "refs": [ + "start_line": 20 + }, { - "blob_sha": "1fcff99685e62428310822f8e2e78b749e4571af", + "blob_sha": "a42c1e514190d52c9080b75fb68aebe9fc275404", "commits": [], - "end_line": 12, - "id": "E1", + "end_line": 28, + "id": "E7", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/videosource/api/GocastBindingApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionExerciseMetadataSuggestionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 12 + "start_line": 28 }, { - "blob_sha": "8cde4477972bec5c27e173c1134f3244f95c85cc", + "blob_sha": "7a14118657a4b52e0b162f5c61b8dde9b2dc0879", "commits": [], - "end_line": 7, - "id": "E2", + "end_line": 22, + "id": "E8", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/videosource/api/TumLiveApi.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionReviewCommentContextRendererService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 22 }, { - "blob_sha": "257c1a4ac080578ae8b8bebd91fc13e5cb1d8fb9", + "blob_sha": "7a14118657a4b52e0b162f5c61b8dde9b2dc0879", "commits": [], - "end_line": 3, - "id": "E3", + "end_line": 23, + "id": "E9", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/videosource/config/GocastInfoContributor.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionReviewCommentContextRendererService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 + "start_line": 23 + }, + { + "blob_sha": "7a14118657a4b52e0b162f5c61b8dde9b2dc0879", + "commits": [], + "end_line": 24, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionReviewCommentContextRendererService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/videosource" + "src": "M:src/main/java/de/tum/cit/aet/artemis/hyperion" }, { "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", + "dst": "M:src/main/java/de/tum/cit/aet/artemis/fileupload", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/videosource->M:src/main/java/de/tum/cit/aet/artemis/course", + "id": "M:src/main/java/de/tum/cit/aet/artemis/hyperion->M:src/main/java/de/tum/cit/aet/artemis/fileupload", "kind": "uses", "refs": [ { - "blob_sha": "79d82bcb60600893f21887490b34e4ab3d086a98", + "blob_sha": "a05ba649e6e5b1591f763a1512cb147b9ad2365c", "commits": [], - "end_line": 15, + "end_line": 26, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/videosource/repository/GocastConnectionRepository.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionCompetencyContextService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 15 + "start_line": 26 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/videosource" + "src": "M:src/main/java/de/tum/cit/aet/artemis/hyperion" }, { "count": 1, - "dst": "M:src/main/java/de/tum/cit/aet/artemis/lecture", + "dst": "M:src/main/java/de/tum/cit/aet/artemis/iris", "how": "import-path", - "id": "M:src/main/java/de/tum/cit/aet/artemis/videosource->M:src/main/java/de/tum/cit/aet/artemis/lecture", + "id": "M:src/main/java/de/tum/cit/aet/artemis/hyperion->M:src/main/java/de/tum/cit/aet/artemis/iris", "kind": "uses", "refs": [ { - "blob_sha": "d8e564e815bc4e63557f7d3cabc39096f58de434", + "blob_sha": "a05ba649e6e5b1591f763a1512cb147b9ad2365c", "commits": [], - "end_line": 21, + "end_line": 29, "id": "E1", "kind": "lines", - "path": "src/main/java/de/tum/cit/aet/artemis/videosource/service/TumLiveService.java", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionCompetencyContextService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 21 + "start_line": 29 } ], - "src": "M:src/main/java/de/tum/cit/aet/artemis/videosource" + "src": "M:src/main/java/de/tum/cit/aet/artemis/hyperion" }, { - "count": 7, - "dst": "M:src/main/webapp/app/account", + "count": 14, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/lecture", "how": "import-path", - "id": "M:src/main/webapp/app/(root)->M:src/main/webapp/app/account", + "id": "M:src/main/java/de/tum/cit/aet/artemis/hyperion->M:src/main/java/de/tum/cit/aet/artemis/lecture", "kind": "uses", "refs": [ { - "blob_sha": "2f8067690ac9cec5daf23dfb100739bd8dfbde1c", + "blob_sha": "a05ba649e6e5b1591f763a1512cb147b9ad2365c", "commits": [], - "end_line": 151, + "end_line": 30, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/app.routes.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionCompetencyContextService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 151 + "start_line": 30 }, { - "blob_sha": "2f8067690ac9cec5daf23dfb100739bd8dfbde1c", + "blob_sha": "a05ba649e6e5b1591f763a1512cb147b9ad2365c", "commits": [], - "end_line": 159, + "end_line": 31, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/app.routes.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionCompetencyContextService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 159 + "start_line": 31 }, { - "blob_sha": "2f8067690ac9cec5daf23dfb100739bd8dfbde1c", + "blob_sha": "164de1dc51544605a42e73ea6980b72554cc36b8", "commits": [], - "end_line": 177, + "end_line": 54, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/app.routes.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionQuizQuestionPoolBuildService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 177 - } - ], - "src": "M:src/main/webapp/app/(root)" - }, - { - "count": 1, - "dst": "M:src/main/webapp/app/admin", - "how": "import-path", - "id": "M:src/main/webapp/app/(root)->M:src/main/webapp/app/admin", - "kind": "uses", - "refs": [ + "start_line": 54 + }, { - "blob_sha": "2f8067690ac9cec5daf23dfb100739bd8dfbde1c", + "blob_sha": "d2c9950700854ea7d12123db589eeb5d557e1c48", "commits": [], - "end_line": 70, - "id": "E1", + "end_line": 33, + "id": "E4", "kind": "lines", - "path": "src/main/webapp/app/app.routes.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionQuizQuestionPoolMaterialService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 70 - } - ], - "src": "M:src/main/webapp/app/(root)" - }, - { - "count": 1, - "dst": "M:src/main/webapp/app/assessment", - "how": "import-path", - "id": "M:src/main/webapp/app/(root)->M:src/main/webapp/app/assessment", - "kind": "uses", - "refs": [ + "start_line": 33 + }, { - "blob_sha": "2f8067690ac9cec5daf23dfb100739bd8dfbde1c", + "blob_sha": "d2c9950700854ea7d12123db589eeb5d557e1c48", "commits": [], - "end_line": 270, - "id": "E1", + "end_line": 34, + "id": "E5", "kind": "lines", - "path": "src/main/webapp/app/app.routes.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionQuizQuestionPoolMaterialService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 270 - } - ], - "src": "M:src/main/webapp/app/(root)" - }, - { - "count": 45, - "dst": "M:src/main/webapp/app/core", - "how": "import-path", - "id": "M:src/main/webapp/app/(root)->M:src/main/webapp/app/core", - "kind": "uses", - "refs": [ + "start_line": 34 + }, { - "blob_sha": "0589bc460b01888107730b81f9522f9002d2d787", + "blob_sha": "d2c9950700854ea7d12123db589eeb5d557e1c48", "commits": [], - "end_line": 9, - "id": "E1", + "end_line": 35, + "id": "E6", "kind": "lines", - "path": "src/main/webapp/app/app.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionQuizQuestionPoolMaterialService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 + "start_line": 35 }, { - "blob_sha": "0589bc460b01888107730b81f9522f9002d2d787", + "blob_sha": "d2c9950700854ea7d12123db589eeb5d557e1c48", "commits": [], - "end_line": 16, - "id": "E2", + "end_line": 36, + "id": "E7", "kind": "lines", - "path": "src/main/webapp/app/app.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionQuizQuestionPoolMaterialService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 16 + "start_line": 36 }, { - "blob_sha": "0589bc460b01888107730b81f9522f9002d2d787", + "blob_sha": "d2c9950700854ea7d12123db589eeb5d557e1c48", "commits": [], - "end_line": 17, - "id": "E3", + "end_line": 37, + "id": "E8", "kind": "lines", - "path": "src/main/webapp/app/app.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionQuizQuestionPoolMaterialService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 17 + "start_line": 37 + }, + { + "blob_sha": "d2c9950700854ea7d12123db589eeb5d557e1c48", + "commits": [], + "end_line": 38, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionQuizQuestionPoolMaterialService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 38 + }, + { + "blob_sha": "d2c9950700854ea7d12123db589eeb5d557e1c48", + "commits": [], + "end_line": 39, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionQuizQuestionPoolMaterialService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 39 } ], - "src": "M:src/main/webapp/app/(root)" + "src": "M:src/main/java/de/tum/cit/aet/artemis/hyperion" }, { - "count": 6, - "dst": "M:src/main/webapp/app/course", + "count": 2, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/localci", "how": "import-path", - "id": "M:src/main/webapp/app/(root)->M:src/main/webapp/app/course", + "id": "M:src/main/java/de/tum/cit/aet/artemis/hyperion->M:src/main/java/de/tum/cit/aet/artemis/localci", "kind": "uses", "refs": [ { - "blob_sha": "0589bc460b01888107730b81f9522f9002d2d787", + "blob_sha": "72b2c088a52370940f3a016f89035659ef40e6f3", "commits": [], - "end_line": 20, + "end_line": 42, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/app.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/codegeneration/HyperionCodeGenerationExecutionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 20 + "start_line": 42 }, { - "blob_sha": "2f8067690ac9cec5daf23dfb100739bd8dfbde1c", + "blob_sha": "a70e7c7bf36bc5e20cedeb11954c15de1702e790", "commits": [], - "end_line": 212, + "end_line": 49, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/app.routes.ts", - "repo": "ls1intum/Artemis", - "role": "import", - "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 212 - }, - { - "blob_sha": "2f8067690ac9cec5daf23dfb100739bd8dfbde1c", - "commits": [], - "end_line": 233, - "id": "E3", - "kind": "lines", - "path": "src/main/webapp/app/app.routes.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/exercisegeneration/persistence/GenerationPersistenceService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 233 + "start_line": 49 } ], - "src": "M:src/main/webapp/app/(root)" + "src": "M:src/main/java/de/tum/cit/aet/artemis/hyperion" }, { - "count": 3, - "dst": "M:src/main/webapp/app/exam", + "count": 14, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/localvc", "how": "import-path", - "id": "M:src/main/webapp/app/(root)->M:src/main/webapp/app/exam", + "id": "M:src/main/java/de/tum/cit/aet/artemis/hyperion->M:src/main/java/de/tum/cit/aet/artemis/localvc", "kind": "uses", "refs": [ { - "blob_sha": "0589bc460b01888107730b81f9522f9002d2d787", + "blob_sha": "4f4db13ecaddf65d76bd617a6fb56def7128463d", "commits": [], - "end_line": 7, + "end_line": 31, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/app.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionProgrammingExerciseContextRendererService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 31 }, { - "blob_sha": "2f8067690ac9cec5daf23dfb100739bd8dfbde1c", + "blob_sha": "4f4db13ecaddf65d76bd617a6fb56def7128463d", "commits": [], - "end_line": 262, + "end_line": 32, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/app.routes.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionProgrammingExerciseContextRendererService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 262 + "start_line": 32 }, { - "blob_sha": "2f8067690ac9cec5daf23dfb100739bd8dfbde1c", + "blob_sha": "72b2c088a52370940f3a016f89035659ef40e6f3", "commits": [], - "end_line": 282, + "end_line": 43, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/app.routes.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/codegeneration/HyperionCodeGenerationExecutionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 282 - } - ], - "src": "M:src/main/webapp/app/(root)" - }, - { - "count": 1, - "dst": "M:src/main/webapp/app/exercise", - "how": "import-path", - "id": "M:src/main/webapp/app/(root)->M:src/main/webapp/app/exercise", - "kind": "uses", - "refs": [ + "start_line": 43 + }, { - "blob_sha": "2f8067690ac9cec5daf23dfb100739bd8dfbde1c", + "blob_sha": "72b2c088a52370940f3a016f89035659ef40e6f3", "commits": [], - "end_line": 256, - "id": "E1", + "end_line": 44, + "id": "E4", "kind": "lines", - "path": "src/main/webapp/app/app.routes.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/codegeneration/HyperionCodeGenerationExecutionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 256 - } - ], - "src": "M:src/main/webapp/app/(root)" - }, - { - "count": 10, - "dst": "M:src/main/webapp/app/foundation", - "how": "import-path", - "id": "M:src/main/webapp/app/(root)->M:src/main/webapp/app/foundation", - "kind": "uses", - "refs": [ + "start_line": 44 + }, { - "blob_sha": "0589bc460b01888107730b81f9522f9002d2d787", + "blob_sha": "b6810940b190ee8fd5be4576d8344465fe6982db", "commits": [], "end_line": 12, - "id": "E1", + "id": "E5", "kind": "lines", - "path": "src/main/webapp/app/app.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/codegeneration/HyperionSolutionRepositoryService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 12 }, { - "blob_sha": "0589bc460b01888107730b81f9522f9002d2d787", + "blob_sha": "1729420015fa8ac1fbb12a9e1070586c846f4dea", "commits": [], - "end_line": 8, - "id": "E2", + "end_line": 13, + "id": "E6", "kind": "lines", - "path": "src/main/webapp/app/app.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/codegeneration/HyperionTemplateRepositoryService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 8 + "start_line": 13 }, { - "blob_sha": "0589bc460b01888107730b81f9522f9002d2d787", + "blob_sha": "c07132237345e9281b3565fb9b0f422311c184ac", "commits": [], - "end_line": 22, - "id": "E3", + "end_line": 13, + "id": "E7", "kind": "lines", - "path": "src/main/webapp/app/app.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/codegeneration/HyperionTestRepositoryService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 22 - } - ], - "src": "M:src/main/webapp/app/(root)" - }, - { - "count": 2, - "dst": "M:src/main/webapp/app/logos", - "how": "import-path", - "id": "M:src/main/webapp/app/(root)->M:src/main/webapp/app/logos", - "kind": "uses", - "refs": [ + "start_line": 13 + }, { - "blob_sha": "0589bc460b01888107730b81f9522f9002d2d787", + "blob_sha": "a70e7c7bf36bc5e20cedeb11954c15de1702e790", "commits": [], - "end_line": 18, - "id": "E1", + "end_line": 50, + "id": "E8", "kind": "lines", - "path": "src/main/webapp/app/app.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/exercisegeneration/persistence/GenerationPersistenceService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 18 + "start_line": 50 }, { - "blob_sha": "2f8067690ac9cec5daf23dfb100739bd8dfbde1c", + "blob_sha": "a70e7c7bf36bc5e20cedeb11954c15de1702e790", "commits": [], - "end_line": 82, - "id": "E2", + "end_line": 51, + "id": "E9", "kind": "lines", - "path": "src/main/webapp/app/app.routes.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/exercisegeneration/persistence/GenerationPersistenceService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 82 + "start_line": 51 + }, + { + "blob_sha": "7e8af300a9c66c5d9011c9e54038e9eacac2be14", + "commits": [], + "end_line": 19, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/exercisegeneration/persistence/GenerationRepositoryRevertService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 } ], - "src": "M:src/main/webapp/app/(root)" + "src": "M:src/main/java/de/tum/cit/aet/artemis/hyperion" }, { "count": 1, - "dst": "M:src/main/webapp/app/lti", - "how": "relative", - "id": "M:src/main/webapp/app/(root)->M:src/main/webapp/app/lti", + "dst": "M:src/main/java/de/tum/cit/aet/artemis/modeling", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/hyperion->M:src/main/java/de/tum/cit/aet/artemis/modeling", "kind": "uses", "refs": [ { - "blob_sha": "2f8067690ac9cec5daf23dfb100739bd8dfbde1c", + "blob_sha": "a05ba649e6e5b1591f763a1512cb147b9ad2365c", "commits": [], - "end_line": 295, + "end_line": 32, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/app.routes.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionCompetencyContextService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 295 + "start_line": 32 } ], - "src": "M:src/main/webapp/app/(root)" + "src": "M:src/main/java/de/tum/cit/aet/artemis/hyperion" }, { "count": 1, - "dst": "M:src/main/webapp/app/notification", + "dst": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism", "how": "import-path", - "id": "M:src/main/webapp/app/(root)->M:src/main/webapp/app/notification", + "id": "M:src/main/java/de/tum/cit/aet/artemis/hyperion->M:src/main/java/de/tum/cit/aet/artemis/plagiarism", "kind": "uses", "refs": [ { - "blob_sha": "0589bc460b01888107730b81f9522f9002d2d787", + "blob_sha": "529c6d2a403bb23c7e799cd780742eb712b91440", "commits": [], - "end_line": 11, + "end_line": 29, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/app.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/exercisegeneration/variant/GenerationVariantDraftService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 + "start_line": 29 } ], - "src": "M:src/main/webapp/app/(root)" + "src": "M:src/main/java/de/tum/cit/aet/artemis/hyperion" }, { - "count": 2, - "dst": "M:src/main/webapp/app/programming", + "count": 141, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/programming", "how": "import-path", - "id": "M:src/main/webapp/app/(root)->M:src/main/webapp/app/programming", + "id": "M:src/main/java/de/tum/cit/aet/artemis/hyperion->M:src/main/java/de/tum/cit/aet/artemis/programming", "kind": "uses", "refs": [ { - "blob_sha": "2f8067690ac9cec5daf23dfb100739bd8dfbde1c", + "blob_sha": "44d4af0a0abdb47c955e435bf9c8f2264b460a15", "commits": [], - "end_line": 224, + "end_line": 5, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/app.routes.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/dto/CodeGenerationJobStartDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 224 + "start_line": 5 }, { - "blob_sha": "2f8067690ac9cec5daf23dfb100739bd8dfbde1c", + "blob_sha": "0347a8b6ff6ed31246837b9a379e1d76a556a738", "commits": [], - "end_line": 274, + "end_line": 9, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/app.routes.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/dto/CodeGenerationRequestDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 274 - } - ], - "src": "M:src/main/webapp/app/(root)" - }, - { - "count": 1, - "dst": "M:src/main/webapp/app/shared-ui", - "how": "import-path", - "id": "M:src/main/webapp/app/(root)->M:src/main/webapp/app/shared-ui", - "kind": "uses", - "refs": [ + "start_line": 9 + }, { - "blob_sha": "1154481380a26192b01e8a63e81389c186a8e579", + "blob_sha": "81110f4b67fc0d5d9a8bb56d8bac2864c7947fbc", + "commits": [], + "end_line": 10, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/dto/ExerciseGenerationMetadataSuggestionRequestDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "b1e5e9f95eccb7632b431807953c17750b65e139", + "commits": [], + "end_line": 8, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/dto/HyperionCodeGenerationEventDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "c295af54af6ed36c5d9cd4de8028728b84926089", + "commits": [], + "end_line": 61, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionChecklistService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 61 + }, + { + "blob_sha": "c295af54af6ed36c5d9cd4de8028728b84926089", + "commits": [], + "end_line": 62, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionChecklistService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 62 + }, + { + "blob_sha": "c295af54af6ed36c5d9cd4de8028728b84926089", + "commits": [], + "end_line": 63, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionChecklistService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 63 + }, + { + "blob_sha": "4ba98f954c90c0ac0c38b4a6ca211f493af5923b", + "commits": [], + "end_line": 40, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionConsistencyCheckService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 40 + }, + { + "blob_sha": "4ba98f954c90c0ac0c38b4a6ca211f493af5923b", "commits": [], "end_line": 41, - "id": "E1", + "id": "E9", "kind": "lines", - "path": "src/main/webapp/app/app.config.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionConsistencyCheckService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 41 - } - ], - "src": "M:src/main/webapp/app/(root)" - }, - { - "count": 1, - "dst": "M:src/main/webapp/app/sharing", - "how": "relative", - "id": "M:src/main/webapp/app/(root)->M:src/main/webapp/app/sharing", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "2f8067690ac9cec5daf23dfb100739bd8dfbde1c", + "blob_sha": "a8dc9c2e7ee9beb8508d8813f6e29674bf05e44c", "commits": [], - "end_line": 304, - "id": "E1", + "end_line": 14, + "id": "E10", "kind": "lines", - "path": "src/main/webapp/app/app.routes.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionExerciseIdentifierDeriver.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 304 + "start_line": 14 } ], - "src": "M:src/main/webapp/app/(root)" + "src": "M:src/main/java/de/tum/cit/aet/artemis/hyperion" }, { - "count": 14, - "dst": "M:src/main/webapp/app/(root)", + "count": 21, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/quiz", "how": "import-path", - "id": "M:src/main/webapp/app/account->M:src/main/webapp/app/(root)", + "id": "M:src/main/java/de/tum/cit/aet/artemis/hyperion->M:src/main/java/de/tum/cit/aet/artemis/quiz", "kind": "uses", "refs": [ { - "blob_sha": "6b0930bfddfa5b290fb7cc3edce5cef0d52c7d7c", + "blob_sha": "b9b9ba06694082f322a0651f059b0261357cdf12", "commits": [], - "end_line": 11, + "end_line": 33, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/account/password-reset/finish/password-reset-finish.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/variants/QuizVariantAdapterService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 + "start_line": 33 }, { - "blob_sha": "f9ee9e481eeafab20ba9bb5336968d46c01c7fe4", + "blob_sha": "b9b9ba06694082f322a0651f059b0261357cdf12", "commits": [], - "end_line": 10, + "end_line": 34, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/account/password/password.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/variants/QuizVariantAdapterService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 34 }, { - "blob_sha": "46bdb713a405efb7ba9d0bcc60d94b934f634e04", + "blob_sha": "b9b9ba06694082f322a0651f059b0261357cdf12", "commits": [], - "end_line": 11, + "end_line": 35, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/account/register/register.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/variants/QuizVariantAdapterService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 - } - ], - "src": "M:src/main/webapp/app/account" - }, - { - "count": 2, - "dst": "M:src/main/webapp/app/admin", - "how": "import-path", - "id": "M:src/main/webapp/app/account->M:src/main/webapp/app/admin", - "kind": "uses", - "refs": [ + "start_line": 35 + }, { - "blob_sha": "73320956ad399e45cb3b82dd690b184c0d42e0db", + "blob_sha": "b9b9ba06694082f322a0651f059b0261357cdf12", "commits": [], - "end_line": 9, - "id": "E1", + "end_line": 36, + "id": "E4", "kind": "lines", - "path": "src/main/webapp/app/account/user/shared/admin-user.service.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/variants/QuizVariantAdapterService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 + "start_line": 36 }, { - "blob_sha": "5a22c353649a7755694d96fe02ecb73ecf0c2daf", + "blob_sha": "b9b9ba06694082f322a0651f059b0261357cdf12", "commits": [], - "end_line": 3, - "id": "E2", + "end_line": 37, + "id": "E5", "kind": "lines", - "path": "src/main/webapp/app/account/user/user.model.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/variants/QuizVariantAdapterService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 - } - ], - "src": "M:src/main/webapp/app/account" - }, - { - "count": 34, - "dst": "M:src/main/webapp/app/core", - "how": "import-path", - "id": "M:src/main/webapp/app/account->M:src/main/webapp/app/core", - "kind": "uses", - "refs": [ + "start_line": 37 + }, { - "blob_sha": "901240045673abd34c1c763746ad03df3c539d0c", + "blob_sha": "b9b9ba06694082f322a0651f059b0261357cdf12", "commits": [], - "end_line": 5, - "id": "E1", + "end_line": 38, + "id": "E6", "kind": "lines", - "path": "src/main/webapp/app/account/activate/activate.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/variants/QuizVariantAdapterService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 5 + "start_line": 38 }, { - "blob_sha": "d7f3d2aafe0c39ff56f5bda60df0d6cebcfd8dab", + "blob_sha": "b9b9ba06694082f322a0651f059b0261357cdf12", "commits": [], - "end_line": 7, - "id": "E2", + "end_line": 39, + "id": "E7", "kind": "lines", - "path": "src/main/webapp/app/account/confirm-email-change/confirm-email-change.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/variants/QuizVariantAdapterService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 39 }, { - "blob_sha": "704ae4ba5d24a626d911c5b640df402574df8e0a", + "blob_sha": "61928fd72db9526a0be75ed343c331ef0e152346", "commits": [], - "end_line": 4, - "id": "E3", + "end_line": 23, + "id": "E8", "kind": "lines", - "path": "src/main/webapp/app/account/confirm-email-change/confirm-email-change.service.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/variants/QuizVariantTools.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 4 - } - ], - "src": "M:src/main/webapp/app/account" - }, - { - "count": 2, - "dst": "M:src/main/webapp/app/course", - "how": "import-path", - "id": "M:src/main/webapp/app/account->M:src/main/webapp/app/course", - "kind": "uses", - "refs": [ + "start_line": 23 + }, { - "blob_sha": "4c142f6d6d0a13ce6f11b8fb4684bb854159e0a1", + "blob_sha": "61928fd72db9526a0be75ed343c331ef0e152346", "commits": [], - "end_line": 7, - "id": "E1", + "end_line": 24, + "id": "E9", "kind": "lines", - "path": "src/main/webapp/app/account/user/settings/profile/account-information/account-information.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/variants/QuizVariantTools.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 24 }, { - "blob_sha": "129f86c52cfe79fdbbb59d35c5ac96043c4498cb", + "blob_sha": "61928fd72db9526a0be75ed343c331ef0e152346", "commits": [], - "end_line": 1, - "id": "E2", + "end_line": 25, + "id": "E10", "kind": "lines", - "path": "src/main/webapp/app/account/user/shared/user-course-role.model.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/variants/QuizVariantTools.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 1 + "start_line": 25 } ], - "src": "M:src/main/webapp/app/account" + "src": "M:src/main/java/de/tum/cit/aet/artemis/hyperion" }, { "count": 1, - "dst": "M:src/main/webapp/app/exercise", + "dst": "M:src/main/java/de/tum/cit/aet/artemis/text", "how": "import-path", - "id": "M:src/main/webapp/app/account->M:src/main/webapp/app/exercise", + "id": "M:src/main/java/de/tum/cit/aet/artemis/hyperion->M:src/main/java/de/tum/cit/aet/artemis/text", "kind": "uses", "refs": [ { - "blob_sha": "c007c83ac105d7f2e4696b5c1e96a355c6913e6a", + "blob_sha": "a05ba649e6e5b1591f763a1512cb147b9ad2365c", "commits": [], - "end_line": 1, + "end_line": 33, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/account/user/settings/learning/feedback-learner-profile/onboarding-modal/feedback-examples.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/hyperion/service/HyperionCompetencyContextService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 1 + "start_line": 33 } ], - "src": "M:src/main/webapp/app/account" + "src": "M:src/main/java/de/tum/cit/aet/artemis/hyperion" }, { - "count": 113, - "dst": "M:src/main/webapp/app/foundation", + "count": 55, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/account", "how": "import-path", - "id": "M:src/main/webapp/app/account->M:src/main/webapp/app/foundation", + "id": "M:src/main/java/de/tum/cit/aet/artemis/iris->M:src/main/java/de/tum/cit/aet/artemis/account", "kind": "uses", "refs": [ { - "blob_sha": "901240045673abd34c1c763746ad03df3c539d0c", + "blob_sha": "7599fd0d5abbc332de269b1e2097bebed6cffc68", "commits": [], - "end_line": 7, + "end_line": 9, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/account/activate/activate.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/api/IrisCompetencyApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 9 }, { - "blob_sha": "d7f3d2aafe0c39ff56f5bda60df0d6cebcfd8dab", + "blob_sha": "15d8819e62b1d1adb7a681fed7db74a6c6343bd2", "commits": [], - "end_line": 8, + "end_line": 13, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/account/confirm-email-change/confirm-email-change.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/api/IrisCourseHomeApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 8 + "start_line": 13 }, { - "blob_sha": "08690c0a44698bd767f1623376d7b9411b1e0c0f", + "blob_sha": "15d8819e62b1d1adb7a681fed7db74a6c6343bd2", "commits": [], - "end_line": 2, + "end_line": 14, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/account/fingerprint/browser-fingerprint.service.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/api/IrisCourseHomeApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 2 - } - ], - "src": "M:src/main/webapp/app/account" - }, - { - "count": 3, - "dst": "M:src/main/webapp/app/iris", - "how": "import-path", - "id": "M:src/main/webapp/app/account->M:src/main/webapp/app/iris", - "kind": "uses", - "refs": [ + "start_line": 14 + }, { - "blob_sha": "e64e9e09f31d23e4fd82ea88e1c34fa5bae7d441", + "blob_sha": "77572cecad016b1cd1b4d1024f24201f67b85193", + "commits": [], + "end_line": 11, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/api/IrisLectureSearchApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "0eef7e00897ef9168da570503e88a547067b24e7", "commits": [], "end_line": 12, - "id": "E1", + "id": "E5", "kind": "lines", - "path": "src/main/webapp/app/account/user/settings/ai-experience/ai-experience-settings/ai-experience-settings.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/domain/session/IrisChatSession.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 12 }, { - "blob_sha": "e64e9e09f31d23e4fd82ea88e1c34fa5bae7d441", + "blob_sha": "26d8f3e0c922d8e0e801f3b81780fd37ba7b9a33", "commits": [], - "end_line": 13, - "id": "E2", + "end_line": 9, + "id": "E6", "kind": "lines", - "path": "src/main/webapp/app/account/user/settings/ai-experience/ai-experience-settings/ai-experience-settings.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/domain/session/IrisTutorSuggestionSession.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 13 + "start_line": 9 }, { - "blob_sha": "34f8091b03aa22b433d773f6d1f33401b72f998f", + "blob_sha": "59eb79014f31197a8b264a50111ab38067d71830", "commits": [], - "end_line": 3, - "id": "E3", + "end_line": 9, + "id": "E7", "kind": "lines", - "path": "src/main/webapp/app/account/user/settings/ai-experience/llm-usage-settings/llm-usage-settings.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/AutonomousTutorForwardingService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 - } - ], - "src": "M:src/main/webapp/app/account" - }, - { - "count": 2, - "dst": "M:src/main/webapp/app/logos", - "how": "import-path", - "id": "M:src/main/webapp/app/account->M:src/main/webapp/app/logos", - "kind": "uses", - "refs": [ + "start_line": 9 + }, { - "blob_sha": "e64e9e09f31d23e4fd82ea88e1c34fa5bae7d441", + "blob_sha": "59eb79014f31197a8b264a50111ab38067d71830", "commits": [], - "end_line": 4, - "id": "E1", + "end_line": 10, + "id": "E8", "kind": "lines", - "path": "src/main/webapp/app/account/user/settings/ai-experience/ai-experience-settings/ai-experience-settings.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/AutonomousTutorForwardingService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 4 + "start_line": 10 }, { - "blob_sha": "34f8091b03aa22b433d773f6d1f33401b72f998f", + "blob_sha": "89aa460cfe47bba3219720c9fd8a8c9bbc446807", "commits": [], - "end_line": 8, - "id": "E2", + "end_line": 20, + "id": "E9", "kind": "lines", - "path": "src/main/webapp/app/account/user/settings/ai-experience/llm-usage-settings/llm-usage-settings.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/AutonomousTutorService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 8 + "start_line": 20 + }, + { + "blob_sha": "89aa460cfe47bba3219720c9fd8a8c9bbc446807", + "commits": [], + "end_line": 21, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/AutonomousTutorService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 } ], - "src": "M:src/main/webapp/app/account" + "src": "M:src/main/java/de/tum/cit/aet/artemis/iris" }, { - "count": 8, - "dst": "M:src/main/webapp/app/programming", + "count": 18, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/admin", "how": "import-path", - "id": "M:src/main/webapp/app/account->M:src/main/webapp/app/programming", + "id": "M:src/main/java/de/tum/cit/aet/artemis/iris->M:src/main/java/de/tum/cit/aet/artemis/admin", "kind": "uses", "refs": [ { - "blob_sha": "041ca0e0326542c45c5719a0e31abc7ed0dba02d", + "blob_sha": "715b3d4fba77412c756aa8d218b99ab879e7547e", "commits": [], - "end_line": 16, + "end_line": 11, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/account/user/settings/credentials/ssh-settings/details/ssh-user-settings-key-details.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/dto/IrisChatWebsocketDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 16 + "start_line": 11 }, { - "blob_sha": "e834e93480fe10ce03935d17353f1a435d1317e2", + "blob_sha": "0fb46746d6b5571c2a312c3dc6797c8053ca64d2", "commits": [], - "end_line": 7, + "end_line": 15, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/account/user/settings/credentials/ssh-settings/ssh-user-settings.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/IrisCompetencyGenerationService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 15 }, { - "blob_sha": "2d2a6e14357d84f8c9e6305836644e33be5ea59d", + "blob_sha": "0fb46746d6b5571c2a312c3dc6797c8053ca64d2", "commits": [], - "end_line": 5, + "end_line": 16, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/account/user/settings/credentials/ssh-settings/ssh-user-settings.service.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/IrisCompetencyGenerationService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 5 - } - ], - "src": "M:src/main/webapp/app/account" - }, - { - "count": 28, - "dst": "M:src/main/webapp/app/shared-ui", - "how": "import-path", - "id": "M:src/main/webapp/app/account->M:src/main/webapp/app/shared-ui", - "kind": "uses", - "refs": [ + "start_line": 16 + }, { - "blob_sha": "67fa36acdc851ae51781340e300ec99fb19da9f0", + "blob_sha": "7ed496226a4fd922bd173ea51bee3fdaaac32a3f", "commits": [], - "end_line": 7, - "id": "E1", + "end_line": 9, + "id": "E4", "kind": "lines", - "path": "src/main/webapp/app/account/shared/credential-revocation-confirmation.service.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/dto/TutorSuggestionStatusUpdateDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 9 }, { - "blob_sha": "67fa36acdc851ae51781340e300ec99fb19da9f0", + "blob_sha": "94b4922c7ea7f86c4a509cec8e8dbdc41912cb74", "commits": [], - "end_line": 5, - "id": "E2", + "end_line": 10, + "id": "E5", "kind": "lines", - "path": "src/main/webapp/app/account/shared/credential-revocation-confirmation.service.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/dto/autonomoustutor/PyrisAutonomousTutorPipelineStatusUpdateDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 5 + "start_line": 10 }, { - "blob_sha": "67fa36acdc851ae51781340e300ec99fb19da9f0", + "blob_sha": "4ccf924c245450536ca725081d6ab2a36d9c6a2b", "commits": [], - "end_line": 6, - "id": "E3", + "end_line": 10, + "id": "E6", "kind": "lines", - "path": "src/main/webapp/app/account/shared/credential-revocation-confirmation.service.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/dto/chat/PyrisChatStatusUpdateDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 6 - } - ], - "src": "M:src/main/webapp/app/account" - }, - { - "count": 2, - "dst": "M:src/main/webapp/app/text", - "how": "import-path", - "id": "M:src/main/webapp/app/account->M:src/main/webapp/app/text", - "kind": "uses", - "refs": [ + "start_line": 10 + }, { - "blob_sha": "c007c83ac105d7f2e4696b5c1e96a355c6913e6a", + "blob_sha": "bdf0a356539fa0d4a11c66be12aae77e602ed9a5", "commits": [], - "end_line": 2, - "id": "E1", + "end_line": 9, + "id": "E7", "kind": "lines", - "path": "src/main/webapp/app/account/user/settings/learning/feedback-learner-profile/onboarding-modal/feedback-examples.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/dto/competency/PyrisCompetencyStatusUpdateDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 2 + "start_line": 9 }, { - "blob_sha": "8ce6e908a880b3170c2d3a963a71e39463aa8bcf", + "blob_sha": "2bc9d9a51fb1c821255e6f7e84ac7d0845f1637b", "commits": [], - "end_line": 3, - "id": "E2", + "end_line": 11, + "id": "E8", "kind": "lines", - "path": "src/main/webapp/app/account/user/settings/learning/feedback-learner-profile/onboarding-modal/feedback-onboarding-modal.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/dto/struggle/PyrisStruggleInterventionStatusUpdateDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 + "start_line": 11 + }, + { + "blob_sha": "5d8226792080a1734fc4d231e763addb96945027", + "commits": [], + "end_line": 22, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/session/AbstractIrisChatSessionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "5d8226792080a1734fc4d231e763addb96945027", + "commits": [], + "end_line": 23, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/session/AbstractIrisChatSessionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 } ], - "src": "M:src/main/webapp/app/account" + "src": "M:src/main/java/de/tum/cit/aet/artemis/iris" }, { - "count": 7, - "dst": "M:src/main/webapp/app/(root)", + "count": 3, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/assessment", "how": "import-path", - "id": "M:src/main/webapp/app/admin->M:src/main/webapp/app/(root)", + "id": "M:src/main/java/de/tum/cit/aet/artemis/iris->M:src/main/java/de/tum/cit/aet/artemis/assessment", "kind": "uses", "refs": [ { - "blob_sha": "c1921166ab93b73842b0ac980c597ca8163c564c", + "blob_sha": "920c50401210bdb29d130c87f7bfcc95f32d1e1d", "commits": [], - "end_line": 18, + "end_line": 12, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/admin/admin-container/admin-container.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/dto/data/PyrisExerciseWithStudentSubmissionsDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 18 + "start_line": 12 }, { - "blob_sha": "c43dddfd75fb8bdcfcfa3b9015bd375826cfc336", + "blob_sha": "41774eddf597b599b059a9ff746b1410d0eab1e6", "commits": [], - "end_line": 6, + "end_line": 3, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/admin/admin.routes.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/event/NewResultEvent.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 6 + "start_line": 3 }, { - "blob_sha": "55b27063f22270b92c56f9746487dd7fb4a5ac9c", + "blob_sha": "05da9cfdf29d9ecc604f84fc9f463423e37c0e45", "commits": [], - "end_line": 48, + "end_line": 39, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/admin/features/admin-feature-toggle.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/session/IrisChatSessionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 48 + "start_line": 39 } ], - "src": "M:src/main/webapp/app/admin" + "src": "M:src/main/java/de/tum/cit/aet/artemis/iris" }, { - "count": 23, - "dst": "M:src/main/webapp/app/account", + "count": 6, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/atlas", "how": "import-path", - "id": "M:src/main/webapp/app/admin->M:src/main/webapp/app/account", + "id": "M:src/main/java/de/tum/cit/aet/artemis/iris->M:src/main/java/de/tum/cit/aet/artemis/atlas", "kind": "uses", "refs": [ { - "blob_sha": "d803a908e755e865f88e7f9ec42e588a80d1d690", + "blob_sha": "409ed268abe95122a677b3a801a7bad087143e14", "commits": [], - "end_line": 2, + "end_line": 5, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/admin/admin-data-exports/data-export.model.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/dto/IrisCompetencyRecommendationDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 2 + "start_line": 5 }, { - "blob_sha": "8034ce64cbd9c271e96de107588de37691c82cc4", + "blob_sha": "0fb46746d6b5571c2a312c3dc6797c8053ca64d2", "commits": [], - "end_line": 7, + "end_line": 17, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/admin/organization-management/organization-management-detail.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/IrisCompetencyGenerationService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 17 }, { - "blob_sha": "26914d9c56ed4ab97d4c449b1a766929f4dea65c", + "blob_sha": "b0fc197b11a5d2e92384196797947ec311d4d291", "commits": [], "end_line": 7, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/admin/organization-management/organization-management.service.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/dto/competency/PyrisCompetencyExtractionPipelineExecutionDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 7 - } - ], - "src": "M:src/main/webapp/app/admin" - }, - { - "count": 15, - "dst": "M:src/main/webapp/app/atlas", - "how": "import-path", - "id": "M:src/main/webapp/app/admin->M:src/main/webapp/app/atlas", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "d82159ff0e68db62b56532c00fcf0a0339855f39", + "blob_sha": "fae4365feed5058d25d5406ae7133262deeb6baa", "commits": [], - "end_line": 3, - "id": "E1", + "end_line": 5, + "id": "E4", "kind": "lines", - "path": "src/main/webapp/app/admin/standardized-competencies/admin-standardized-competency.service.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/dto/competency/PyrisCompetencyRecommendationDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 + "start_line": 5 }, { - "blob_sha": "81823bdac4ebbadb5d5cf7933053591997086bb9", + "blob_sha": "61ed07d77012db8a22c7aa1922fa5c045f14a998", "commits": [], - "end_line": 21, - "id": "E2", + "end_line": 9, + "id": "E5", "kind": "lines", - "path": "src/main/webapp/app/admin/standardized-competencies/import/admin-import-standardized-competencies.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/dto/data/PyrisCompetencyDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 21 + "start_line": 9 }, { - "blob_sha": "81823bdac4ebbadb5d5cf7933053591997086bb9", + "blob_sha": "61ed07d77012db8a22c7aa1922fa5c045f14a998", "commits": [], - "end_line": 14, - "id": "E3", + "end_line": 10, + "id": "E6", "kind": "lines", - "path": "src/main/webapp/app/admin/standardized-competencies/import/admin-import-standardized-competencies.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/dto/data/PyrisCompetencyDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 14 + "start_line": 10 } ], - "src": "M:src/main/webapp/app/admin" + "src": "M:src/main/java/de/tum/cit/aet/artemis/iris" }, { - "count": 21, - "dst": "M:src/main/webapp/app/core", + "count": 39, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/communication", "how": "import-path", - "id": "M:src/main/webapp/app/admin->M:src/main/webapp/app/core", + "id": "M:src/main/java/de/tum/cit/aet/artemis/iris->M:src/main/java/de/tum/cit/aet/artemis/communication", "kind": "uses", "refs": [ { - "blob_sha": "c1921166ab93b73842b0ac980c597ca8163c564c", + "blob_sha": "d9e739346ba612c1272b476e647263ca6f1d85e5", "commits": [], - "end_line": 22, + "end_line": 7, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/admin/admin-container/admin-container.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/api/AutonomousTutorApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 22 + "start_line": 7 }, { - "blob_sha": "c1921166ab93b73842b0ac980c597ca8163c564c", + "blob_sha": "d9e739346ba612c1272b476e647263ca6f1d85e5", "commits": [], - "end_line": 7, + "end_line": 8, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/admin/admin-container/admin-container.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/api/AutonomousTutorApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 8 }, { - "blob_sha": "543a95d38617c645c8a76fb1bda6b4ca8906deac", + "blob_sha": "d9e739346ba612c1272b476e647263ca6f1d85e5", "commits": [], - "end_line": 11, + "end_line": 9, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/admin/admin-data-exports/admin-data-export-create-modal.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/api/AutonomousTutorApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 - } - ], - "src": "M:src/main/webapp/app/admin" - }, - { - "count": 5, - "dst": "M:src/main/webapp/app/course", - "how": "import-path", - "id": "M:src/main/webapp/app/admin->M:src/main/webapp/app/course", - "kind": "uses", - "refs": [ + "start_line": 9 + }, { - "blob_sha": "a57d4c928efaf88bde4b5fccfe8940bcda19666a", + "blob_sha": "3d96e5ff740c05e979d4e7d44bcc513e9de80c21", "commits": [], - "end_line": 22, - "id": "E1", + "end_line": 8, + "id": "E4", "kind": "lines", - "path": "src/main/webapp/app/admin/course-requests/course-requests.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/api/PyrisFaqApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 22 + "start_line": 8 }, { - "blob_sha": "a57d4c928efaf88bde4b5fccfe8940bcda19666a", + "blob_sha": "3d96e5ff740c05e979d4e7d44bcc513e9de80c21", "commits": [], - "end_line": 20, - "id": "E2", + "end_line": 9, + "id": "E5", "kind": "lines", - "path": "src/main/webapp/app/admin/course-requests/course-requests.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/api/PyrisFaqApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 20 + "start_line": 9 }, { - "blob_sha": "a57d4c928efaf88bde4b5fccfe8940bcda19666a", + "blob_sha": "59eb79014f31197a8b264a50111ab38067d71830", "commits": [], - "end_line": 21, - "id": "E3", + "end_line": 11, + "id": "E6", "kind": "lines", - "path": "src/main/webapp/app/admin/course-requests/course-requests.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/AutonomousTutorForwardingService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 21 - } - ], - "src": "M:src/main/webapp/app/admin" - }, - { - "count": 3, - "dst": "M:src/main/webapp/app/editor", - "how": "import-path", - "id": "M:src/main/webapp/app/admin->M:src/main/webapp/app/editor", - "kind": "uses", - "refs": [ + "start_line": 11 + }, { - "blob_sha": "d6991412adf87f8106dfb205fc1122c3b1718d42", + "blob_sha": "59eb79014f31197a8b264a50111ab38067d71830", "commits": [], "end_line": 12, - "id": "E1", + "id": "E7", "kind": "lines", - "path": "src/main/webapp/app/admin/legal/legal-document-update.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/AutonomousTutorForwardingService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 12 }, { - "blob_sha": "f84f20f24260f7a1818a67bae76772a609f309de", + "blob_sha": "59eb79014f31197a8b264a50111ab38067d71830", "commits": [], - "end_line": 9, - "id": "E2", + "end_line": 13, + "id": "E8", "kind": "lines", - "path": "src/main/webapp/app/admin/standardized-competencies/knowledge-area-edit.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/AutonomousTutorForwardingService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 + "start_line": 13 }, { - "blob_sha": "64a591656fd7c3fb38cafb057f2af63a5db786de", + "blob_sha": "59eb79014f31197a8b264a50111ab38067d71830", "commits": [], - "end_line": 10, - "id": "E3", + "end_line": 14, + "id": "E9", "kind": "lines", - "path": "src/main/webapp/app/admin/standardized-competencies/standardized-competency-edit.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/AutonomousTutorForwardingService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 14 + }, + { + "blob_sha": "89aa460cfe47bba3219720c9fd8a8c9bbc446807", + "commits": [], + "end_line": 22, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/AutonomousTutorService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 } ], - "src": "M:src/main/webapp/app/admin" + "src": "M:src/main/java/de/tum/cit/aet/artemis/iris" }, { - "count": 3, - "dst": "M:src/main/webapp/app/exam", + "count": 195, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", "how": "import-path", - "id": "M:src/main/webapp/app/admin->M:src/main/webapp/app/exam", + "id": "M:src/main/java/de/tum/cit/aet/artemis/iris->M:src/main/java/de/tum/cit/aet/artemis/core", "kind": "uses", "refs": [ { - "blob_sha": "3944032ce5819bec83ac0cd6b71e5b814954a498", + "blob_sha": "b0a7ae8794ee9abd2b1b8c824ca24480bb7c09c8", "commits": [], - "end_line": 6, + "end_line": 3, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/admin/upcoming-exams-and-exercises/upcoming-exams-and-exercises.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/api/AbstractIrisApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 6 + "start_line": 3 }, { - "blob_sha": "3944032ce5819bec83ac0cd6b71e5b814954a498", + "blob_sha": "15d8819e62b1d1adb7a681fed7db74a6c6343bd2", "commits": [], - "end_line": 5, + "end_line": 15, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/admin/upcoming-exams-and-exercises/upcoming-exams-and-exercises.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/api/IrisCourseHomeApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 5 + "start_line": 15 }, { - "blob_sha": "3944032ce5819bec83ac0cd6b71e5b814954a498", + "blob_sha": "15d8819e62b1d1adb7a681fed7db74a6c6343bd2", "commits": [], - "end_line": 15, + "end_line": 16, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/admin/upcoming-exams-and-exercises/upcoming-exams-and-exercises.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/api/IrisCourseHomeApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 15 - } - ], - "src": "M:src/main/webapp/app/admin" - }, - { - "count": 5, - "dst": "M:src/main/webapp/app/exercise", - "how": "import-path", - "id": "M:src/main/webapp/app/admin->M:src/main/webapp/app/exercise", - "kind": "uses", - "refs": [ + "start_line": 16 + }, { - "blob_sha": "4ab5a8ce38aca9c4c367c2e6485cf8287db9a5cf", + "blob_sha": "251f471dc03c60440957a96ae62610186418b4e7", "commits": [], - "end_line": 28, - "id": "E1", + "end_line": 3, + "id": "E4", "kind": "lines", - "path": "src/main/webapp/app/admin/feature-usage/feature-usage.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/config/IrisDashboardAiSelection.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 28 + "start_line": 3 }, { - "blob_sha": "6db74a8a4fecb2cb621f29580967ad33a89c381a", + "blob_sha": "1ca3c0ffc13f7ad7c74b1d6fda5908a83abebd7e", "commits": [], "end_line": 3, - "id": "E2", + "id": "E5", "kind": "lines", - "path": "src/main/webapp/app/admin/statistics/statistics.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/config/IrisDashboardProperties.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 3 }, { - "blob_sha": "6db74a8a4fecb2cb621f29580967ad33a89c381a", + "blob_sha": "cae2d8a108ff9a482866687ebf4daf1d78841804", "commits": [], - "end_line": 5, - "id": "E3", + "end_line": 7, + "id": "E6", "kind": "lines", - "path": "src/main/webapp/app/admin/statistics/statistics.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/config/IrisEnabled.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 5 - } - ], - "src": "M:src/main/webapp/app/admin" - }, - { - "count": 216, - "dst": "M:src/main/webapp/app/foundation", - "how": "import-path", - "id": "M:src/main/webapp/app/admin->M:src/main/webapp/app/foundation", - "kind": "uses", - "refs": [ + "start_line": 7 + }, { - "blob_sha": "c1921166ab93b73842b0ac980c597ca8163c564c", + "blob_sha": "eea4e0eab0423ff54cc27881d048be96aed8b96a", "commits": [], - "end_line": 21, - "id": "E1", + "end_line": 19, + "id": "E7", "kind": "lines", - "path": "src/main/webapp/app/admin/admin-container/admin-container.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/domain/message/IrisJsonMessageContent.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 21 + "start_line": 19 }, { - "blob_sha": "c1921166ab93b73842b0ac980c597ca8163c564c", + "blob_sha": "eea4e0eab0423ff54cc27881d048be96aed8b96a", "commits": [], "end_line": 20, - "id": "E2", + "id": "E8", "kind": "lines", - "path": "src/main/webapp/app/admin/admin-container/admin-container.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/domain/message/IrisJsonMessageContent.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 20 }, { - "blob_sha": "c1921166ab93b73842b0ac980c597ca8163c564c", - "commits": [], - "end_line": 23, - "id": "E3", - "kind": "lines", - "path": "src/main/webapp/app/admin/admin-container/admin-container.component.ts", - "repo": "ls1intum/Artemis", - "role": "import", - "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 23 - } - ], - "src": "M:src/main/webapp/app/admin" - }, - { - "count": 2, - "dst": "M:src/main/webapp/app/hyperion", - "how": "import-path", - "id": "M:src/main/webapp/app/admin->M:src/main/webapp/app/hyperion", - "kind": "uses", - "refs": [ - { - "blob_sha": "c43dddfd75fb8bdcfcfa3b9015bd375826cfc336", + "blob_sha": "6d90da78d8b0ca70613b0ea505b1ac9860719baa", "commits": [], - "end_line": 2, - "id": "E1", + "end_line": 27, + "id": "E9", "kind": "lines", - "path": "src/main/webapp/app/admin/admin.routes.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/domain/message/IrisMessage.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 2 + "start_line": 27 }, { - "blob_sha": "c43dddfd75fb8bdcfcfa3b9015bd375826cfc336", + "blob_sha": "6d90da78d8b0ca70613b0ea505b1ac9860719baa", "commits": [], - "end_line": 228, - "id": "E2", + "end_line": 28, + "id": "E10", "kind": "lines", - "path": "src/main/webapp/app/admin/admin.routes.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/domain/message/IrisMessage.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 228 + "start_line": 28 } ], - "src": "M:src/main/webapp/app/admin" + "src": "M:src/main/java/de/tum/cit/aet/artemis/iris" }, { - "count": 1, - "dst": "M:src/main/webapp/app/iris", + "count": 43, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", "how": "import-path", - "id": "M:src/main/webapp/app/admin->M:src/main/webapp/app/iris", + "id": "M:src/main/java/de/tum/cit/aet/artemis/iris->M:src/main/java/de/tum/cit/aet/artemis/course", "kind": "uses", "refs": [ { - "blob_sha": "c43dddfd75fb8bdcfcfa3b9015bd375826cfc336", + "blob_sha": "d9e739346ba612c1272b476e647263ca6f1d85e5", "commits": [], - "end_line": 15, + "end_line": 10, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/admin/admin.routes.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/api/AutonomousTutorApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 15 - } - ], - "src": "M:src/main/webapp/app/admin" - }, - { - "count": 5, - "dst": "M:src/main/webapp/app/localci", - "how": "import-path", - "id": "M:src/main/webapp/app/admin->M:src/main/webapp/app/localci", - "kind": "uses", - "refs": [ + "start_line": 10 + }, { - "blob_sha": "c43dddfd75fb8bdcfcfa3b9015bd375826cfc336", + "blob_sha": "7599fd0d5abbc332de269b1e2097bebed6cffc68", "commits": [], - "end_line": 147, - "id": "E1", + "end_line": 10, + "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/admin/admin.routes.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/api/IrisCompetencyApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 147 + "start_line": 10 }, { - "blob_sha": "c43dddfd75fb8bdcfcfa3b9015bd375826cfc336", + "blob_sha": "15d8819e62b1d1adb7a681fed7db74a6c6343bd2", "commits": [], - "end_line": 139, - "id": "E2", + "end_line": 17, + "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/admin/admin.routes.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/api/IrisCourseHomeApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 139 + "start_line": 17 }, { - "blob_sha": "c43dddfd75fb8bdcfcfa3b9015bd375826cfc336", + "blob_sha": "0eef7e00897ef9168da570503e88a547067b24e7", "commits": [], - "end_line": 131, - "id": "E3", + "end_line": 13, + "id": "E4", "kind": "lines", - "path": "src/main/webapp/app/admin/admin.routes.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/domain/session/IrisChatSession.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 131 - } - ], - "src": "M:src/main/webapp/app/admin" - }, - { - "count": 3, - "dst": "M:src/main/webapp/app/lti", - "how": "import-path", - "id": "M:src/main/webapp/app/admin->M:src/main/webapp/app/lti", - "kind": "uses", - "refs": [ + "start_line": 13 + }, { - "blob_sha": "c36430ea30011a244f109ef36e563c56b31c5790", + "blob_sha": "c6ba6d7140fff6d1214f688bf866dcfe6259956c", "commits": [], - "end_line": 7, - "id": "E1", + "end_line": 10, + "id": "E5", "kind": "lines", - "path": "src/main/webapp/app/admin/lti-configuration/edit/edit-lti-configuration.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/dto/IrisCourseHomeSessionsDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 10 }, { - "blob_sha": "c0c2e9d4333ab9e9a3d46984450d55a31daf2c31", + "blob_sha": "59eb79014f31197a8b264a50111ab38067d71830", "commits": [], - "end_line": 4, - "id": "E2", + "end_line": 18, + "id": "E6", "kind": "lines", - "path": "src/main/webapp/app/admin/lti-configuration/lti-configuration.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/AutonomousTutorForwardingService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 4 + "start_line": 18 }, { - "blob_sha": "2751170bc05c3470f288a4aa55e790b0f0e934fa", + "blob_sha": "89aa460cfe47bba3219720c9fd8a8c9bbc446807", "commits": [], - "end_line": 4, - "id": "E3", + "end_line": 38, + "id": "E7", "kind": "lines", - "path": "src/main/webapp/app/admin/lti-configuration/lti-configuration.service.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/AutonomousTutorService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 4 - } - ], - "src": "M:src/main/webapp/app/admin" - }, - { - "count": 31, - "dst": "M:src/main/webapp/app/shared-ui", - "how": "import-path", - "id": "M:src/main/webapp/app/admin->M:src/main/webapp/app/shared-ui", - "kind": "uses", - "refs": [ + "start_line": 38 + }, { - "blob_sha": "f8ffff737eb7cd8dcb2a70ff15032320dd52ed7b", + "blob_sha": "658ecc49e852222a23773b9ed90cb6d39578e1b9", "commits": [], - "end_line": 19, - "id": "E1", + "end_line": 13, + "id": "E8", "kind": "lines", - "path": "src/main/webapp/app/admin/admin-data-exports/admin-data-exports.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/IrisAccessContextService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 19 + "start_line": 13 }, { - "blob_sha": "5a810f064edcab95f967baee661de58b72d96350", + "blob_sha": "658ecc49e852222a23773b9ed90cb6d39578e1b9", "commits": [], - "end_line": 26, - "id": "E2", + "end_line": 14, + "id": "E9", "kind": "lines", - "path": "src/main/webapp/app/admin/admin-sbom/admin-sbom.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/IrisAccessContextService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 26 + "start_line": 14 }, { - "blob_sha": "500b7d5dbd3809ff087f2fa29a10fea751f730ce", + "blob_sha": "820dffacdc090a6f16a714a850b7d050be5339ae", "commits": [], - "end_line": 16, - "id": "E3", + "end_line": 27, + "id": "E10", "kind": "lines", - "path": "src/main/webapp/app/admin/cleanup-service/cleanup-service.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/IrisAdminDashboardService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 16 + "start_line": 27 } ], - "src": "M:src/main/webapp/app/admin" + "src": "M:src/main/java/de/tum/cit/aet/artemis/iris" }, { "count": 2, - "dst": "M:src/main/webapp/app/foundation", + "dst": "M:src/main/java/de/tum/cit/aet/artemis/exam", "how": "import-path", - "id": "M:src/main/webapp/app/aiworker->M:src/main/webapp/app/foundation", + "id": "M:src/main/java/de/tum/cit/aet/artemis/iris->M:src/main/java/de/tum/cit/aet/artemis/exam", "kind": "uses", "refs": [ { - "blob_sha": "af3a0e59e8ee9f13fce414a27a3bb635dc5f65af", + "blob_sha": "66310b207bcc3a5cfe1afb3a6be3f90365b29563", "commits": [], "end_line": 9, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/aiworker/admin/ai-workers.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/dto/data/PyrisExamDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 9 }, { - "blob_sha": "af3a0e59e8ee9f13fce414a27a3bb635dc5f65af", + "blob_sha": "0edf926979fea9777045dc29d886d95732cad3b0", "commits": [], - "end_line": 10, + "end_line": 24, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/aiworker/admin/ai-workers.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/session/IrisChatPipelineExecutionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 24 } ], - "src": "M:src/main/webapp/app/aiworker" + "src": "M:src/main/java/de/tum/cit/aet/artemis/iris" }, { - "count": 2, - "dst": "M:src/main/webapp/app/(root)", + "count": 21, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/exercise", "how": "import-path", - "id": "M:src/main/webapp/app/assessment->M:src/main/webapp/app/(root)", + "id": "M:src/main/java/de/tum/cit/aet/artemis/iris->M:src/main/java/de/tum/cit/aet/artemis/exercise", "kind": "uses", "refs": [ { - "blob_sha": "710ed3cb5431a5027ca4a3c542a8d0e834cd0a1a", + "blob_sha": "0eef7e00897ef9168da570503e88a547067b24e7", "commits": [], - "end_line": 43, + "end_line": 14, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/assessment/shared/assessment-dashboard/assessment-dashboard.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/domain/session/IrisChatSession.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 43 + "start_line": 14 }, { - "blob_sha": "3f30e591254fe461c943d7e9fa79b77407fc5b21", + "blob_sha": "7c129f04185ed3dca2291f41b94f7838ff1f0033", "commits": [], - "end_line": 11, + "end_line": 26, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/assessment/shared/services/athena.service.ts", - "repo": "ls1intum/Artemis", - "role": "import", - "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 - } - ], - "src": "M:src/main/webapp/app/assessment" - }, - { - "count": 7, - "dst": "M:src/main/webapp/app/account", - "how": "import-path", - "id": "M:src/main/webapp/app/assessment->M:src/main/webapp/app/account", - "kind": "uses", - "refs": [ - { - "blob_sha": "03ee979e97d9b84394c2c537314ae6c6c0fe24db", - "commits": [], - "end_line": 7, - "id": "E1", - "kind": "lines", - "path": "src/main/webapp/app/assessment/manage/services/complaint-response.service.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/PyrisPipelineService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 26 }, { - "blob_sha": "710ed3cb5431a5027ca4a3c542a8d0e834cd0a1a", + "blob_sha": "7c129f04185ed3dca2291f41b94f7838ff1f0033", "commits": [], - "end_line": 12, - "id": "E2", + "end_line": 27, + "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/assessment/shared/assessment-dashboard/assessment-dashboard.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/PyrisPipelineService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 12 + "start_line": 27 }, { - "blob_sha": "55e4813d0df4e1f6ba6f7bbd4fee11c9766a3256", + "blob_sha": "920c50401210bdb29d130c87f7bfcc95f32d1e1d", "commits": [], "end_line": 13, - "id": "E3", + "id": "E4", "kind": "lines", - "path": "src/main/webapp/app/assessment/shared/assessment-dashboard/exercise-dashboard/exercise-assessment-dashboard.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/dto/data/PyrisExerciseWithStudentSubmissionsDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 13 - } - ], - "src": "M:src/main/webapp/app/assessment" - }, - { - "count": 13, - "dst": "M:src/main/webapp/app/core", - "how": "import-path", - "id": "M:src/main/webapp/app/assessment->M:src/main/webapp/app/core", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "ad66c2b1d5992fdd76ab9e658466ac2f30629005", + "blob_sha": "920c50401210bdb29d130c87f7bfcc95f32d1e1d", "commits": [], - "end_line": 2, - "id": "E1", + "end_line": 14, + "id": "E5", "kind": "lines", - "path": "src/main/webapp/app/assessment/manage/assessment-locks/assessment-locks.route.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/dto/data/PyrisExerciseWithStudentSubmissionsDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 2 + "start_line": 14 }, { - "blob_sha": "daab41e8e6ba5cbb7a2368f20dedd3ecad5e3b7c", + "blob_sha": "920c50401210bdb29d130c87f7bfcc95f32d1e1d", "commits": [], - "end_line": 7, - "id": "E2", + "end_line": 15, + "id": "E6", "kind": "lines", - "path": "src/main/webapp/app/assessment/manage/grading/grading-key-overview/grading-key-overview.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/dto/data/PyrisExerciseWithStudentSubmissionsDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 15 }, { - "blob_sha": "d1dde9a332ad7a3a4ab0a907c5e5cf465540a2ca", + "blob_sha": "920c50401210bdb29d130c87f7bfcc95f32d1e1d", "commits": [], - "end_line": 9, - "id": "E3", + "end_line": 16, + "id": "E7", "kind": "lines", - "path": "src/main/webapp/app/assessment/manage/grading/grading-service.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/dto/data/PyrisExerciseWithStudentSubmissionsDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 - } - ], - "src": "M:src/main/webapp/app/assessment" - }, - { - "count": 32, - "dst": "M:src/main/webapp/app/course", - "how": "import-path", - "id": "M:src/main/webapp/app/assessment->M:src/main/webapp/app/course", - "kind": "uses", - "refs": [ + "start_line": 16 + }, { - "blob_sha": "8111e15925f78bcac9b95ca75e75af4b60f7cf9f", + "blob_sha": "920c50401210bdb29d130c87f7bfcc95f32d1e1d", "commits": [], - "end_line": 10, - "id": "E1", + "end_line": 17, + "id": "E8", "kind": "lines", - "path": "src/main/webapp/app/assessment/manage/assessment-locks/assessment-locks.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/dto/data/PyrisExerciseWithStudentSubmissionsDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 17 }, { - "blob_sha": "8111e15925f78bcac9b95ca75e75af4b60f7cf9f", + "blob_sha": "cecb9cdedfd60cf07559a17192841684837dbfb3", "commits": [], - "end_line": 12, - "id": "E2", + "end_line": 6, + "id": "E9", "kind": "lines", - "path": "src/main/webapp/app/assessment/manage/assessment-locks/assessment-locks.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/job/ChatJob.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 12 + "start_line": 6 }, { - "blob_sha": "ad66c2b1d5992fdd76ab9e658466ac2f30629005", + "blob_sha": "c1ac5901e85f7295fdd6166b6e87144546a6e1cd", "commits": [], - "end_line": 5, - "id": "E3", + "end_line": 4, + "id": "E10", "kind": "lines", - "path": "src/main/webapp/app/assessment/manage/assessment-locks/assessment-locks.route.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/job/FaqIngestionWebhookJob.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 5 + "start_line": 4 } ], - "src": "M:src/main/webapp/app/assessment" + "src": "M:src/main/java/de/tum/cit/aet/artemis/iris" }, { - "count": 15, - "dst": "M:src/main/webapp/app/exam", + "count": 3, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch", "how": "import-path", - "id": "M:src/main/webapp/app/assessment->M:src/main/webapp/app/exam", + "id": "M:src/main/java/de/tum/cit/aet/artemis/iris->M:src/main/java/de/tum/cit/aet/artemis/globalsearch", "kind": "uses", "refs": [ { - "blob_sha": "8111e15925f78bcac9b95ca75e75af4b60f7cf9f", + "blob_sha": "c598a6ea67e71d84ad43a00a7ac231d51d7bbee9", "commits": [], - "end_line": 18, + "end_line": 7, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/assessment/manage/assessment-locks/assessment-locks.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/dto/search/PyrisEntityCandidateDTO.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 18 + "start_line": 7 }, { - "blob_sha": "b08d47660ad7ca62ab34430ddf6d11aeea67e8b5", + "blob_sha": "b613425d5254679c0128bf11afd124b8b0567114", "commits": [], - "end_line": 25, + "end_line": 31, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/assessment/manage/grading/grading.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/web/IrisGlobalSearchResource.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 25 + "start_line": 31 }, { - "blob_sha": "b08d47660ad7ca62ab34430ddf6d11aeea67e8b5", + "blob_sha": "b613425d5254679c0128bf11afd124b8b0567114", "commits": [], - "end_line": 23, + "end_line": 32, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/assessment/manage/grading/grading.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/web/IrisGlobalSearchResource.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 23 + "start_line": 32 } ], - "src": "M:src/main/webapp/app/assessment" + "src": "M:src/main/java/de/tum/cit/aet/artemis/iris" }, { - "count": 79, - "dst": "M:src/main/webapp/app/exercise", + "count": 46, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/lecture", "how": "import-path", - "id": "M:src/main/webapp/app/assessment->M:src/main/webapp/app/exercise", + "id": "M:src/main/java/de/tum/cit/aet/artemis/iris->M:src/main/java/de/tum/cit/aet/artemis/lecture", "kind": "uses", "refs": [ { - "blob_sha": "5edee0c39169c45f7c7911cf5f00c05525092add", + "blob_sha": "21e023e52af5c59daf6fc02e90eb8906794c56a2", "commits": [], - "end_line": 6, + "end_line": 13, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/assessment/manage/assessment-header/assessment-header.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/api/IrisLectureApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 6 + "start_line": 13 }, { - "blob_sha": "5edee0c39169c45f7c7911cf5f00c05525092add", + "blob_sha": "21e023e52af5c59daf6fc02e90eb8906794c56a2", "commits": [], - "end_line": 5, + "end_line": 14, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/assessment/manage/assessment-header/assessment-header.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/api/IrisLectureApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 5 + "start_line": 14 }, { - "blob_sha": "82485a4ae76c0c2c284d76a3904fc54f38ab5112", + "blob_sha": "21e023e52af5c59daf6fc02e90eb8906794c56a2", "commits": [], - "end_line": 7, + "end_line": 15, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/assessment/manage/assessment-instructions/assessment-instructions/assessment-instructions.component.ts", - "repo": "ls1intum/Artemis", - "role": "import", - "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 - } - ], - "src": "M:src/main/webapp/app/assessment" - }, - { - "count": 4, - "dst": "M:src/main/webapp/app/fileupload", - "how": "import-path", - "id": "M:src/main/webapp/app/assessment->M:src/main/webapp/app/fileupload", - "kind": "uses", - "refs": [ - { - "blob_sha": "82485a4ae76c0c2c284d76a3904fc54f38ab5112", - "commits": [], - "end_line": 10, - "id": "E1", - "kind": "lines", - "path": "src/main/webapp/app/assessment/manage/assessment-instructions/assessment-instructions/assessment-instructions.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/api/IrisLectureApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 15 }, { - "blob_sha": "8111e15925f78bcac9b95ca75e75af4b60f7cf9f", + "blob_sha": "7a1aa4d44e8988352f2f3fd85919c67692d08238", "commits": [], - "end_line": 7, - "id": "E2", + "end_line": 12, + "id": "E4", "kind": "lines", - "path": "src/main/webapp/app/assessment/manage/assessment-locks/assessment-locks.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/api/IrisLectureUnitSyncApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 12 }, { - "blob_sha": "55e4813d0df4e1f6ba6f7bbd4fee11c9766a3256", - "commits": [], - "end_line": 31, - "id": "E3", - "kind": "lines", - "path": "src/main/webapp/app/assessment/shared/assessment-dashboard/exercise-dashboard/exercise-assessment-dashboard.component.ts", - "repo": "ls1intum/Artemis", - "role": "import", - "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 31 - } - ], - "src": "M:src/main/webapp/app/assessment" - }, - { - "count": 145, - "dst": "M:src/main/webapp/app/foundation", - "how": "import-path", - "id": "M:src/main/webapp/app/assessment->M:src/main/webapp/app/foundation", - "kind": "uses", - "refs": [ - { - "blob_sha": "3ea8cd5d0e1240682c413bf56445ffab0310da58", + "blob_sha": "7a1aa4d44e8988352f2f3fd85919c67692d08238", "commits": [], - "end_line": 4, - "id": "E1", + "end_line": 13, + "id": "E5", "kind": "lines", - "path": "src/main/webapp/app/assessment/manage/assessment-complaint-alert/assessment-complaint-alert.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/api/IrisLectureUnitSyncApi.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 4 + "start_line": 13 }, { - "blob_sha": "5edee0c39169c45f7c7911cf5f00c05525092add", + "blob_sha": "0eef7e00897ef9168da570503e88a547067b24e7", "commits": [], "end_line": 15, - "id": "E2", + "id": "E6", "kind": "lines", - "path": "src/main/webapp/app/assessment/manage/assessment-header/assessment-header.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/domain/session/IrisChatSession.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 15 }, { - "blob_sha": "5edee0c39169c45f7c7911cf5f00c05525092add", + "blob_sha": "f72a1b845ab99c52b2be268803e245cac32716cf", "commits": [], - "end_line": 18, - "id": "E3", + "end_line": 26, + "id": "E7", "kind": "lines", - "path": "src/main/webapp/app/assessment/manage/assessment-header/assessment-header.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/IrisCitationService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 18 - } - ], - "src": "M:src/main/webapp/app/assessment" - }, - { - "count": 10, - "dst": "M:src/main/webapp/app/modeling", - "how": "import-path", - "id": "M:src/main/webapp/app/assessment->M:src/main/webapp/app/modeling", - "kind": "uses", - "refs": [ + "start_line": 26 + }, { - "blob_sha": "82485a4ae76c0c2c284d76a3904fc54f38ab5112", + "blob_sha": "f72a1b845ab99c52b2be268803e245cac32716cf", "commits": [], - "end_line": 11, - "id": "E1", + "end_line": 27, + "id": "E8", "kind": "lines", - "path": "src/main/webapp/app/assessment/manage/assessment-instructions/assessment-instructions/assessment-instructions.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/IrisCitationService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 + "start_line": 27 }, { - "blob_sha": "82485a4ae76c0c2c284d76a3904fc54f38ab5112", + "blob_sha": "f72a1b845ab99c52b2be268803e245cac32716cf", "commits": [], - "end_line": 12, - "id": "E2", + "end_line": 28, + "id": "E9", "kind": "lines", - "path": "src/main/webapp/app/assessment/manage/assessment-instructions/assessment-instructions/assessment-instructions.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/IrisCitationService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 12 + "start_line": 28 }, { - "blob_sha": "8111e15925f78bcac9b95ca75e75af4b60f7cf9f", + "blob_sha": "d011b6ce3cb6175f043723a76ae96586c3871ee7", "commits": [], - "end_line": 15, - "id": "E3", + "end_line": 25, + "id": "E10", "kind": "lines", - "path": "src/main/webapp/app/assessment/manage/assessment-locks/assessment-locks.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/IrisLectureMaterialVersionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 15 + "start_line": 25 } ], - "src": "M:src/main/webapp/app/assessment" + "src": "M:src/main/java/de/tum/cit/aet/artemis/iris" }, { - "count": 1, - "dst": "M:src/main/webapp/app/plagiarism", + "count": 2, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/localvc", "how": "import-path", - "id": "M:src/main/webapp/app/assessment->M:src/main/webapp/app/plagiarism", + "id": "M:src/main/java/de/tum/cit/aet/artemis/iris->M:src/main/java/de/tum/cit/aet/artemis/localvc", "kind": "uses", "refs": [ { - "blob_sha": "d1c1a8184973e29c97e022b920d3ffabcee241d6", + "blob_sha": "1fd8ca5c22bab9568077f91ce43ce9c7922ae790", "commits": [], - "end_line": 3, + "end_line": 38, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/assessment/shared/entities/bonus.model.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/PyrisDTOService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 38 + }, + { + "blob_sha": "7699362565832de32b4f801e87643e7ba971b2dc", + "commits": [], + "end_line": 3, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/web/internal/PyrisInternalIngestionWorkerResource.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 3 } ], - "src": "M:src/main/webapp/app/assessment" + "src": "M:src/main/java/de/tum/cit/aet/artemis/iris" }, { - "count": 10, - "dst": "M:src/main/webapp/app/programming", + "count": 8, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/notification", "how": "import-path", - "id": "M:src/main/webapp/app/assessment->M:src/main/webapp/app/programming", + "id": "M:src/main/java/de/tum/cit/aet/artemis/iris->M:src/main/java/de/tum/cit/aet/artemis/notification", "kind": "uses", "refs": [ { - "blob_sha": "82485a4ae76c0c2c284d76a3904fc54f38ab5112", + "blob_sha": "89aa460cfe47bba3219720c9fd8a8c9bbc446807", "commits": [], - "end_line": 13, + "end_line": 42, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/assessment/manage/assessment-instructions/assessment-instructions/assessment-instructions.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/AutonomousTutorService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 13 + "start_line": 42 }, { - "blob_sha": "82485a4ae76c0c2c284d76a3904fc54f38ab5112", + "blob_sha": "89aa460cfe47bba3219720c9fd8a8c9bbc446807", "commits": [], - "end_line": 14, + "end_line": 43, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/assessment/manage/assessment-instructions/assessment-instructions/assessment-instructions.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/AutonomousTutorService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 14 + "start_line": 43 }, { - "blob_sha": "8111e15925f78bcac9b95ca75e75af4b60f7cf9f", + "blob_sha": "89aa460cfe47bba3219720c9fd8a8c9bbc446807", "commits": [], - "end_line": 17, + "end_line": 44, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/assessment/manage/assessment-locks/assessment-locks.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/AutonomousTutorService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 17 - } - ], - "src": "M:src/main/webapp/app/assessment" - }, - { - "count": 1, - "dst": "M:src/main/webapp/app/quiz", - "how": "import-path", - "id": "M:src/main/webapp/app/assessment->M:src/main/webapp/app/quiz", - "kind": "uses", - "refs": [ + "start_line": 44 + }, { - "blob_sha": "710ed3cb5431a5027ca4a3c542a8d0e834cd0a1a", + "blob_sha": "35608bcb1e3f60e06d34ca78cb09231eddfc3d89", "commits": [], "end_line": 25, - "id": "E1", + "id": "E4", "kind": "lines", - "path": "src/main/webapp/app/assessment/shared/assessment-dashboard/assessment-dashboard.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/IrisDashboardEmailService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 25 - } - ], - "src": "M:src/main/webapp/app/assessment" - }, - { - "count": 2, - "dst": "M:src/main/webapp/app/shared", - "how": "import-path", - "id": "M:src/main/webapp/app/assessment->M:src/main/webapp/app/shared", - "kind": "uses", - "refs": [ - { - "blob_sha": "8d48dc5c4366b51c25ee73358e263f6aba4d7495", - "commits": [], - "end_line": 6, - "id": "E1", - "kind": "lines", - "path": "src/main/webapp/app/assessment/manage/unreferenced-feedback-detail/unreferenced-feedback-detail.component.ts", - "repo": "ls1intum/Artemis", - "role": "import", - "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 6 }, { - "blob_sha": "710ed3cb5431a5027ca4a3c542a8d0e834cd0a1a", + "blob_sha": "35608bcb1e3f60e06d34ca78cb09231eddfc3d89", "commits": [], - "end_line": 48, - "id": "E2", + "end_line": 26, + "id": "E5", "kind": "lines", - "path": "src/main/webapp/app/assessment/shared/assessment-dashboard/assessment-dashboard.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/IrisDashboardEmailService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 48 - } - ], - "src": "M:src/main/webapp/app/assessment" - }, - { - "count": 26, - "dst": "M:src/main/webapp/app/shared-ui", - "how": "import-path", - "id": "M:src/main/webapp/app/assessment->M:src/main/webapp/app/shared-ui", - "kind": "uses", - "refs": [ + "start_line": 26 + }, { - "blob_sha": "82485a4ae76c0c2c284d76a3904fc54f38ab5112", + "blob_sha": "35608bcb1e3f60e06d34ca78cb09231eddfc3d89", "commits": [], - "end_line": 15, - "id": "E1", + "end_line": 27, + "id": "E6", "kind": "lines", - "path": "src/main/webapp/app/assessment/manage/assessment-instructions/assessment-instructions/assessment-instructions.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/IrisDashboardEmailService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 15 + "start_line": 27 }, { - "blob_sha": "8a652cb9d32590c078dab63d6813983561c88cdf", + "blob_sha": "05da9cfdf29d9ecc604f84fc9f463423e37c0e45", "commits": [], - "end_line": 7, - "id": "E2", + "end_line": 78, + "id": "E7", "kind": "lines", - "path": "src/main/webapp/app/assessment/manage/assessment-instructions/collapsable-assessment-instructions/collapsable-assessment-instructions.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/session/IrisChatSessionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 78 }, { - "blob_sha": "723021e00d72b9807f14c9244534ffb7d913812f", + "blob_sha": "05da9cfdf29d9ecc604f84fc9f463423e37c0e45", "commits": [], - "end_line": 24, - "id": "E3", + "end_line": 79, + "id": "E8", "kind": "lines", - "path": "src/main/webapp/app/assessment/manage/complaints-for-tutor/complaints-for-tutor.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/session/IrisChatSessionService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 24 + "start_line": 79 } ], - "src": "M:src/main/webapp/app/assessment" + "src": "M:src/main/java/de/tum/cit/aet/artemis/iris" }, { - "count": 16, - "dst": "M:src/main/webapp/app/text", + "count": 31, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/programming", "how": "import-path", - "id": "M:src/main/webapp/app/assessment->M:src/main/webapp/app/text", + "id": "M:src/main/java/de/tum/cit/aet/artemis/iris->M:src/main/java/de/tum/cit/aet/artemis/programming", "kind": "uses", "refs": [ { - "blob_sha": "5edee0c39169c45f7c7911cf5f00c05525092add", + "blob_sha": "1fd8ca5c22bab9568077f91ce43ce9c7922ae790", "commits": [], - "end_line": 7, + "end_line": 39, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/assessment/manage/assessment-header/assessment-header.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/PyrisDTOService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 39 }, { - "blob_sha": "5edee0c39169c45f7c7911cf5f00c05525092add", + "blob_sha": "1fd8ca5c22bab9568077f91ce43ce9c7922ae790", "commits": [], - "end_line": 8, + "end_line": 40, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/assessment/manage/assessment-header/assessment-header.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/PyrisDTOService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 8 + "start_line": 40 }, { - "blob_sha": "82485a4ae76c0c2c284d76a3904fc54f38ab5112", + "blob_sha": "1fd8ca5c22bab9568077f91ce43ce9c7922ae790", "commits": [], - "end_line": 19, + "end_line": 41, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/assessment/manage/assessment-instructions/assessment-instructions/assessment-instructions.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/PyrisDTOService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 19 - } - ], - "src": "M:src/main/webapp/app/assessment" - }, - { - "count": 5, - "dst": "M:src/main/webapp/app/(root)", - "how": "import-path", - "id": "M:src/main/webapp/app/atlas->M:src/main/webapp/app/(root)", - "kind": "uses", - "refs": [ + "start_line": 41 + }, { - "blob_sha": "b83ad51e3ea3e2538527ea799141533791277027", + "blob_sha": "1fd8ca5c22bab9568077f91ce43ce9c7922ae790", "commits": [], - "end_line": 15, - "id": "E1", + "end_line": 42, + "id": "E4", "kind": "lines", - "path": "src/main/webapp/app/atlas/manage/competency-management/competency-management.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/PyrisDTOService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 15 + "start_line": 42 }, { - "blob_sha": "3f2646d586409aad12d2cc439114c1c9be3d5618", + "blob_sha": "1fd8ca5c22bab9568077f91ce43ce9c7922ae790", "commits": [], - "end_line": 16, - "id": "E2", + "end_line": 43, + "id": "E5", "kind": "lines", - "path": "src/main/webapp/app/atlas/manage/orchestration-trigger/atlas-orchestration-trigger.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/PyrisDTOService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 16 + "start_line": 43 }, { - "blob_sha": "862e7aed8700dee42bdec3c8394f774a3edf8970", + "blob_sha": "1fd8ca5c22bab9568077f91ce43ce9c7922ae790", "commits": [], - "end_line": 15, - "id": "E3", + "end_line": 44, + "id": "E6", "kind": "lines", - "path": "src/main/webapp/app/atlas/shared/competency-contribution/competency-contribution.component.ts", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/PyrisDTOService.java", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 15 - } - ], - "src": "M:src/main/webapp/app/atlas" - }, - { - "count": 1, + "start_line": 44 + }, + { + "blob_sha": "1fd8ca5c22bab9568077f91ce43ce9c7922ae790", + "commits": [], + "end_line": 45, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/PyrisDTOService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 45 + }, + { + "blob_sha": "7960929cb984af35fc99c15c1f71d8cb0be40499", + "commits": [], + "end_line": 15, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/dto/data/PyrisCourseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "4ee9a6fbbe515ddd6fa1e8592372a425ad8d3de8", + "commits": [], + "end_line": 8, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/dto/data/PyrisProgrammingExerciseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "5d8226792080a1734fc4d231e763addb96945027", + "commits": [], + "end_line": 47, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/session/AbstractIrisChatSessionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 47 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/iris" + }, + { + "count": 7, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/text", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/iris->M:src/main/java/de/tum/cit/aet/artemis/text", + "kind": "uses", + "refs": [ + { + "blob_sha": "9653da506b6c3590f1285d27056bc14f52b7e16d", + "commits": [], + "end_line": 9, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/dto/data/PyrisTextExerciseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "0edf926979fea9777045dc29d886d95732cad3b0", + "commits": [], + "end_line": 59, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/session/IrisChatPipelineExecutionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 59 + }, + { + "blob_sha": "0edf926979fea9777045dc29d886d95732cad3b0", + "commits": [], + "end_line": 60, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/session/IrisChatPipelineExecutionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 60 + }, + { + "blob_sha": "0edf926979fea9777045dc29d886d95732cad3b0", + "commits": [], + "end_line": 61, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/session/IrisChatPipelineExecutionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 61 + }, + { + "blob_sha": "0edf926979fea9777045dc29d886d95732cad3b0", + "commits": [], + "end_line": 62, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/session/IrisChatPipelineExecutionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 62 + }, + { + "blob_sha": "05da9cfdf29d9ecc604f84fc9f463423e37c0e45", + "commits": [], + "end_line": 85, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/session/IrisChatSessionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 85 + }, + { + "blob_sha": "1b276a3f10f8fafb0cc26831fe03c55fb366c012", + "commits": [], + "end_line": 51, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/session/IrisTutorSuggestionSessionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 51 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/iris" + }, + { + "count": 6, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/videosource", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/iris->M:src/main/java/de/tum/cit/aet/artemis/videosource", + "kind": "uses", + "refs": [ + { + "blob_sha": "8b23271e3bb58054668ab426828ee9286a166f6f", + "commits": [], + "end_line": 4, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/PyrisLectureUnitEligibility.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "a1444925b2cc3d0a743ed4fd6e137bdb035d90ec", + "commits": [], + "end_line": 22, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/PyrisLectureUnitSyncService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "a1444925b2cc3d0a743ed4fd6e137bdb035d90ec", + "commits": [], + "end_line": 23, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/PyrisLectureUnitSyncService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "0b8ffc8371ad628a345c6d9c1dffba72761a29a6", + "commits": [], + "end_line": 45, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/PyrisWebhookService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 45 + }, + { + "blob_sha": "0b8ffc8371ad628a345c6d9c1dffba72761a29a6", + "commits": [], + "end_line": 46, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/PyrisWebhookService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 46 + }, + { + "blob_sha": "4983a7552d5cacb0ff88c54deba4e949e6ba2a2b", + "commits": [], + "end_line": 5, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/iris/service/pyris/dto/lectureingestionwebhook/PyrisLectureUnitWebhookDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/iris" + }, + { + "count": 21, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/jenkins->M:src/main/java/de/tum/cit/aet/artemis/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "bd314a27f21bb0f05f142ba3ac3bc03380792075", + "commits": [], + "end_line": 3, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/JenkinsAuthorizationInterceptor.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "af1bbb5303b3bc5b9cdad0f71731d40948899491", + "commits": [], + "end_line": 9, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/JenkinsEndpoints.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "cc7b1f1a1b91f18cb02dd2b31925b86f35ca81a3", + "commits": [], + "end_line": 3, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/JenkinsInfoContributor.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "cc7b1f1a1b91f18cb02dd2b31925b86f35ca81a3", + "commits": [], + "end_line": 14, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/JenkinsInfoContributor.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "4c019e9378cf0dbe9af3ddb97044a5122f3e5a82", + "commits": [], + "end_line": 3, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/JenkinsInternalUrlService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "0f2eec91eed11d6b27cfca14e76cf62c7b1bf6d9", + "commits": [], + "end_line": 3, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/JenkinsProgrammingLanguageFeatureService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "2bc4f72cc432bb4c1816d62077ff3a3d9e9ad880", + "commits": [], + "end_line": 3, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/JenkinsResultService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "c4b1ee2b6e4a853d07909b1226526bbcd66638b9", + "commits": [], + "end_line": 3, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/JenkinsService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "c4b1ee2b6e4a853d07909b1226526bbcd66638b9", + "commits": [], + "end_line": 19, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/JenkinsService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "0aba1dbed31d17a46ac2b1a01294a723814ba53e", + "commits": [], + "end_line": 3, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/JenkinsTriggerService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/jenkins" + }, + { + "count": 9, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/localci", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/jenkins->M:src/main/java/de/tum/cit/aet/artemis/localci", + "kind": "uses", + "refs": [ + { + "blob_sha": "2bc4f72cc432bb4c1816d62077ff3a3d9e9ad880", + "commits": [], + "end_line": 9, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/JenkinsResultService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "2bc4f72cc432bb4c1816d62077ff3a3d9e9ad880", + "commits": [], + "end_line": 10, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/JenkinsResultService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "2bc4f72cc432bb4c1816d62077ff3a3d9e9ad880", + "commits": [], + "end_line": 11, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/JenkinsResultService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "c4b1ee2b6e4a853d07909b1226526bbcd66638b9", + "commits": [], + "end_line": 23, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/JenkinsService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "c4b1ee2b6e4a853d07909b1226526bbcd66638b9", + "commits": [], + "end_line": 24, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/JenkinsService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "0aba1dbed31d17a46ac2b1a01294a723814ba53e", + "commits": [], + "end_line": 10, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/JenkinsTriggerService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "5240c401a8f197c8324ee799de7ca39276632b5e", + "commits": [], + "end_line": 32, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/build_plan/JenkinsBuildPlanService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 32 + }, + { + "blob_sha": "5240c401a8f197c8324ee799de7ca39276632b5e", + "commits": [], + "end_line": 33, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/build_plan/JenkinsBuildPlanService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 33 + }, + { + "blob_sha": "479edde689e043f8dc79b769d66e59d0a74cae34", + "commits": [], + "end_line": 22, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/build_plan/JenkinsPipelineScriptCreator.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/jenkins" + }, + { + "count": 1, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/localvc", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/jenkins->M:src/main/java/de/tum/cit/aet/artemis/localvc", + "kind": "uses", + "refs": [ + { + "blob_sha": "4c019e9378cf0dbe9af3ddb97044a5122f3e5a82", + "commits": [], + "end_line": 13, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/JenkinsInternalUrlService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/jenkins" + }, + { + "count": 59, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/programming", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/jenkins->M:src/main/java/de/tum/cit/aet/artemis/programming", + "kind": "uses", + "refs": [ + { + "blob_sha": "83e34e93d968adf332c861060e9aa44134878c6d", + "commits": [], + "end_line": 3, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/exception/JenkinsException.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "0f2eec91eed11d6b27cfca14e76cf62c7b1bf6d9", + "commits": [], + "end_line": 4, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/JenkinsProgrammingLanguageFeatureService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "0f2eec91eed11d6b27cfca14e76cf62c7b1bf6d9", + "commits": [], + "end_line": 5, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/JenkinsProgrammingLanguageFeatureService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "0f2eec91eed11d6b27cfca14e76cf62c7b1bf6d9", + "commits": [], + "end_line": 6, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/JenkinsProgrammingLanguageFeatureService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "0f2eec91eed11d6b27cfca14e76cf62c7b1bf6d9", + "commits": [], + "end_line": 7, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/JenkinsProgrammingLanguageFeatureService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "0f2eec91eed11d6b27cfca14e76cf62c7b1bf6d9", + "commits": [], + "end_line": 8, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/JenkinsProgrammingLanguageFeatureService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "0f2eec91eed11d6b27cfca14e76cf62c7b1bf6d9", + "commits": [], + "end_line": 9, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/JenkinsProgrammingLanguageFeatureService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "0f2eec91eed11d6b27cfca14e76cf62c7b1bf6d9", + "commits": [], + "end_line": 10, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/JenkinsProgrammingLanguageFeatureService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "0f2eec91eed11d6b27cfca14e76cf62c7b1bf6d9", + "commits": [], + "end_line": 11, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/JenkinsProgrammingLanguageFeatureService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "0f2eec91eed11d6b27cfca14e76cf62c7b1bf6d9", + "commits": [], + "end_line": 12, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/jenkins/service/JenkinsProgrammingLanguageFeatureService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/jenkins" + }, + { + "count": 14, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/account", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/lecture->M:src/main/java/de/tum/cit/aet/artemis/account", + "kind": "uses", + "refs": [ + { + "blob_sha": "a0382a37f6a1d1f6e6401ab26650a7c9d78ef8a1", + "commits": [], + "end_line": 10, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/LectureApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "20089a7dbfa4bd56ba6bf4fe96ba11d54743653a", + "commits": [], + "end_line": 14, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/LectureCourseHomeApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "af03bc054ccdd8e2e13684d88457f9d6b16e1d09", + "commits": [], + "end_line": 11, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/LectureUnitApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "e8fd7d20b465e1144df078b4ff8c45bbd23bed9b", + "commits": [], + "end_line": 14, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/LectureUnitRepositoryApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "b7f0e40a48f12b5475f653721422b99c1b183820", + "commits": [], + "end_line": 35, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/domain/LectureUnit.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 35 + }, + { + "blob_sha": "d7efd1cfe89e4bdf0296bae244888aff95bbea05", + "commits": [], + "end_line": 19, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/domain/LectureUnitCompletion.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "d6cad4f8db1f5c917081250982aa3786e9b6328b", + "commits": [], + "end_line": 13, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/repository/LectureUnitCompletionRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "acab8f643715a55c0389ee18a83b804360d4b99b", + "commits": [], + "end_line": 29, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/LectureDemoService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "9dc3a95a848494d522040595446616ab760dedeb", + "commits": [], + "end_line": 25, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/LectureService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "7970ee990e19ce5113452c2d7f3c9e7306b5c1e3", + "commits": [], + "end_line": 20, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/LectureUnitService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/lecture" + }, + { + "count": 27, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/atlas", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/lecture->M:src/main/java/de/tum/cit/aet/artemis/atlas", + "kind": "uses", + "refs": [ + { + "blob_sha": "6dd3f8319a8d7fe9ef613c7e66efb3aa4bbfdec2", + "commits": [], + "end_line": 21, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/domain/ExerciseUnit.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "b7f0e40a48f12b5475f653721422b99c1b183820", + "commits": [], + "end_line": 36, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/domain/LectureUnit.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 36 + }, + { + "blob_sha": "b7f0e40a48f12b5475f653721422b99c1b183820", + "commits": [], + "end_line": 37, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/domain/LectureUnit.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 37 + }, + { + "blob_sha": "137a4bd8fb8a3846df2f4ac3867b12c670894c8a", + "commits": [], + "end_line": 6, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/dto/CompetencyDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "6917d0d34c6effb7ec2f380c3311e98cd417d3e9", + "commits": [], + "end_line": 13, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/dto/CompetencyLinkDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "a6a38043a7cc0186cf72881e396674371cbb888b", + "commits": [], + "end_line": 13, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/dto/LectureDetailsDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "129d3015428cc89f845308c3044b2b90f212a8c2", + "commits": [], + "end_line": 23, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/AttachmentVideoUnitService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "9dc3a95a848494d522040595446616ab760dedeb", + "commits": [], + "end_line": 26, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/LectureService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + }, + { + "blob_sha": "9dc3a95a848494d522040595446616ab760dedeb", + "commits": [], + "end_line": 27, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/LectureService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + }, + { + "blob_sha": "9dc3a95a848494d522040595446616ab760dedeb", + "commits": [], + "end_line": 28, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/LectureService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/lecture" + }, + { + "count": 5, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/calendar", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/lecture->M:src/main/java/de/tum/cit/aet/artemis/calendar", + "kind": "uses", + "refs": [ + { + "blob_sha": "a0382a37f6a1d1f6e6401ab26650a7c9d78ef8a1", + "commits": [], + "end_line": 11, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/LectureApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "0b45b421c0c30b57002b336d4d550ef0398379c4", + "commits": [], + "end_line": 17, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/repository/LectureRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "9dc3a95a848494d522040595446616ab760dedeb", + "commits": [], + "end_line": 31, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/LectureService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 31 + }, + { + "blob_sha": "9dc3a95a848494d522040595446616ab760dedeb", + "commits": [], + "end_line": 32, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/LectureService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 32 + }, + { + "blob_sha": "9dc3a95a848494d522040595446616ab760dedeb", + "commits": [], + "end_line": 33, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/LectureService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 33 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/lecture" + }, + { + "count": 11, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/communication", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/lecture->M:src/main/java/de/tum/cit/aet/artemis/communication", + "kind": "uses", + "refs": [ + { + "blob_sha": "acab8f643715a55c0389ee18a83b804360d4b99b", + "commits": [], + "end_line": 30, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/LectureDemoService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 30 + }, + { + "blob_sha": "acab8f643715a55c0389ee18a83b804360d4b99b", + "commits": [], + "end_line": 31, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/LectureDemoService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 31 + }, + { + "blob_sha": "be3c939c8b7d51ee99708e6fe673e25905f12f8c", + "commits": [], + "end_line": 12, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/LectureImportService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "9dc3a95a848494d522040595446616ab760dedeb", + "commits": [], + "end_line": 34, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/LectureService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 34 + }, + { + "blob_sha": "9dc3a95a848494d522040595446616ab760dedeb", + "commits": [], + "end_line": 35, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/LectureService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 35 + }, + { + "blob_sha": "9dc3a95a848494d522040595446616ab760dedeb", + "commits": [], + "end_line": 36, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/LectureService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 36 + }, + { + "blob_sha": "fdbf37d788b3ef6af622e0c2a685a82fdea5c6f9", + "commits": [], + "end_line": 11, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/ProcessingStateNotificationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "8dbbf527a160fee149595b7ed86808259c759f3c", + "commits": [], + "end_line": 14, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/ProcessingStateRecoveryService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "9ba886a315d3ec473450546de4fdabffe2a31a9e", + "commits": [], + "end_line": 42, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/web/LectureResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 42 + }, + { + "blob_sha": "9ba886a315d3ec473450546de4fdabffe2a31a9e", + "commits": [], + "end_line": 43, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/web/LectureResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 43 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/lecture" + }, + { + "count": 209, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/lecture->M:src/main/java/de/tum/cit/aet/artemis/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "16ce9aa2efbea23b8e55c2955213a9fab21f1994", + "commits": [], + "end_line": 3, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/AbstractLectureApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "a0382a37f6a1d1f6e6401ab26650a7c9d78ef8a1", + "commits": [], + "end_line": 12, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/LectureApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "16bf3bb84dd1d3f4e9f03b22a0214ed7a1e7abdc", + "commits": [], + "end_line": 13, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/LectureAttachmentApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "20089a7dbfa4bd56ba6bf4fe96ba11d54743653a", + "commits": [], + "end_line": 15, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/LectureCourseHomeApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "20089a7dbfa4bd56ba6bf4fe96ba11d54743653a", + "commits": [], + "end_line": 16, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/LectureCourseHomeApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "37598a227494a373853e53bcd4cead48cc983581", + "commits": [], + "end_line": 13, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/LectureRepositoryApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "37598a227494a373853e53bcd4cead48cc983581", + "commits": [], + "end_line": 14, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/LectureRepositoryApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "e8fd7d20b465e1144df078b4ff8c45bbd23bed9b", + "commits": [], + "end_line": 15, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/LectureUnitRepositoryApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "d7f485752ec0a2276f0708a76c7c2d086a737d9a", + "commits": [], + "end_line": 10, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/LectureVideoCoverageApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "83c9cda407d56927f9c64f2d4e33ad37c2baffe9", + "commits": [], + "end_line": 6, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/SlideLifecycleServiceApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/lecture" + }, + { + "count": 20, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/lecture->M:src/main/java/de/tum/cit/aet/artemis/course", + "kind": "uses", + "refs": [ + { + "blob_sha": "a0382a37f6a1d1f6e6401ab26650a7c9d78ef8a1", + "commits": [], + "end_line": 13, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/LectureApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "20089a7dbfa4bd56ba6bf4fe96ba11d54743653a", + "commits": [], + "end_line": 17, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/LectureCourseHomeApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "20089a7dbfa4bd56ba6bf4fe96ba11d54743653a", + "commits": [], + "end_line": 18, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/LectureCourseHomeApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "20089a7dbfa4bd56ba6bf4fe96ba11d54743653a", + "commits": [], + "end_line": 19, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/LectureCourseHomeApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "20089a7dbfa4bd56ba6bf4fe96ba11d54743653a", + "commits": [], + "end_line": 20, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/LectureCourseHomeApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "eaec96b589e09283b83d6231850aad0cd5ce7a47", + "commits": [], + "end_line": 7, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/LectureImportApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "e529ea67b4f7893a3aef41198a062f884c7a3318", + "commits": [], + "end_line": 30, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/domain/Lecture.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 30 + }, + { + "blob_sha": "e3cf120195733bca01cd1671ae9c756fa223008e", + "commits": [], + "end_line": 10, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/dto/LectureCourseHomeDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "e3cf120195733bca01cd1671ae9c756fa223008e", + "commits": [], + "end_line": 11, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/dto/LectureCourseHomeDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "a6a38043a7cc0186cf72881e396674371cbb888b", + "commits": [], + "end_line": 14, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/dto/LectureDetailsDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/lecture" + }, + { + "count": 18, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/exercise", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/lecture->M:src/main/java/de/tum/cit/aet/artemis/exercise", + "kind": "uses", + "refs": [ + { + "blob_sha": "a0382a37f6a1d1f6e6401ab26650a7c9d78ef8a1", + "commits": [], + "end_line": 14, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/LectureApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "4c5831797a353ca39003e5670c21ab27a32b8a09", + "commits": [], + "end_line": 9, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/SlideApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "6dd3f8319a8d7fe9ef613c7e66efb3aa4bbfdec2", + "commits": [], + "end_line": 22, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/domain/ExerciseUnit.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "eb16ffbf44a62bd7aa5bb4f9553e0dbaedd07555", + "commits": [], + "end_line": 19, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/domain/Slide.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "efa594146d4319a8f24ee4628d3cbe9e7578668d", + "commits": [], + "end_line": 11, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/dto/ExerciseUnitDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "efa594146d4319a8f24ee4628d3cbe9e7578668d", + "commits": [], + "end_line": 12, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/dto/ExerciseUnitDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "a6a38043a7cc0186cf72881e396674371cbb888b", + "commits": [], + "end_line": 15, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/dto/LectureDetailsDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "d3bd72fc125fc4807cff3055be89ed39d9049162", + "commits": [], + "end_line": 8, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/dto/LectureUnitDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "acab8f643715a55c0389ee18a83b804360d4b99b", + "commits": [], + "end_line": 34, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/LectureDemoService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 34 + }, + { + "blob_sha": "9dc3a95a848494d522040595446616ab760dedeb", + "commits": [], + "end_line": 46, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/LectureService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 46 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/lecture" + }, + { + "count": 19, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/globalsearch", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/lecture->M:src/main/java/de/tum/cit/aet/artemis/globalsearch", + "kind": "uses", + "refs": [ + { + "blob_sha": "9dc3a95a848494d522040595446616ab760dedeb", + "commits": [], + "end_line": 49, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/LectureService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 49 + }, + { + "blob_sha": "9dc3a95a848494d522040595446616ab760dedeb", + "commits": [], + "end_line": 50, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/LectureService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 50 + }, + { + "blob_sha": "9dc3a95a848494d522040595446616ab760dedeb", + "commits": [], + "end_line": 51, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/LectureService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 51 + }, + { + "blob_sha": "9dc3a95a848494d522040595446616ab760dedeb", + "commits": [], + "end_line": 52, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/LectureService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 52 + }, + { + "blob_sha": "31edd17e7813ffd6eef8b2699bc4ae2624544c3e", + "commits": [], + "end_line": 56, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/web/AttachmentVideoUnitResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 56 + }, + { + "blob_sha": "31edd17e7813ffd6eef8b2699bc4ae2624544c3e", + "commits": [], + "end_line": 57, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/web/AttachmentVideoUnitResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 57 + }, + { + "blob_sha": "31edd17e7813ffd6eef8b2699bc4ae2624544c3e", + "commits": [], + "end_line": 58, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/web/AttachmentVideoUnitResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 58 + }, + { + "blob_sha": "9ba886a315d3ec473450546de4fdabffe2a31a9e", + "commits": [], + "end_line": 67, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/web/LectureResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 67 + }, + { + "blob_sha": "9ba886a315d3ec473450546de4fdabffe2a31a9e", + "commits": [], + "end_line": 68, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/web/LectureResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 68 + }, + { + "blob_sha": "9ba886a315d3ec473450546de4fdabffe2a31a9e", + "commits": [], + "end_line": 69, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/web/LectureResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 69 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/lecture" + }, + { + "count": 6, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/iris", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/lecture->M:src/main/java/de/tum/cit/aet/artemis/iris", + "kind": "uses", + "refs": [ + { + "blob_sha": "efbaadc837fe540f431c720d380e928eaf3246ca", + "commits": [], + "end_line": 14, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/IrisLectureUnitSyncDispatchService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "efbaadc837fe540f431c720d380e928eaf3246ca", + "commits": [], + "end_line": 15, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/IrisLectureUnitSyncDispatchService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "71ff29a69b0dddc213f31390bbedaaf3cc5cb9d4", + "commits": [], + "end_line": 20, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/IrisLectureUnitSyncEventListener.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "399b66644b1f015b32df67612ed2640935f076d8", + "commits": [], + "end_line": 24, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/LectureContentProcessingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "98475a419b3fb6d2db428d201c0fb2edb9062c4d", + "commits": [], + "end_line": 27, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/LectureIngestionReconcileService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + }, + { + "blob_sha": "9dc3a95a848494d522040595446616ab760dedeb", + "commits": [], + "end_line": 53, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/LectureService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 53 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/lecture" + }, + { + "count": 1, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/notification", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/lecture->M:src/main/java/de/tum/cit/aet/artemis/notification", + "kind": "uses", + "refs": [ + { + "blob_sha": "31edd17e7813ffd6eef8b2699bc4ae2624544c3e", + "commits": [], + "end_line": 76, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/web/AttachmentVideoUnitResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 76 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/lecture" + }, + { + "count": 18, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/videosource", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/lecture->M:src/main/java/de/tum/cit/aet/artemis/videosource", + "kind": "uses", + "refs": [ + { + "blob_sha": "d7f485752ec0a2276f0708a76c7c2d086a737d9a", + "commits": [], + "end_line": 13, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/api/LectureVideoCoverageApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "a6a38043a7cc0186cf72881e396674371cbb888b", + "commits": [], + "end_line": 17, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/dto/LectureDetailsDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "399b66644b1f015b32df67612ed2640935f076d8", + "commits": [], + "end_line": 34, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/LectureContentProcessingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 34 + }, + { + "blob_sha": "9dc3a95a848494d522040595446616ab760dedeb", + "commits": [], + "end_line": 71, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/LectureService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 71 + }, + { + "blob_sha": "9dc3a95a848494d522040595446616ab760dedeb", + "commits": [], + "end_line": 72, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/LectureService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 72 + }, + { + "blob_sha": "7760c24e8060c35f45384b116b9600121f5e9b5d", + "commits": [], + "end_line": 38, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/ProcessingStateCallbackService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 38 + }, + { + "blob_sha": "4cebd008c8a2704e329e983f195250f346a53443", + "commits": [], + "end_line": 36, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/TumLiveUploadService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 36 + }, + { + "blob_sha": "4cebd008c8a2704e329e983f195250f346a53443", + "commits": [], + "end_line": 37, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/TumLiveUploadService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 37 + }, + { + "blob_sha": "4cebd008c8a2704e329e983f195250f346a53443", + "commits": [], + "end_line": 38, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/TumLiveUploadService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 38 + }, + { + "blob_sha": "4cebd008c8a2704e329e983f195250f346a53443", + "commits": [], + "end_line": 39, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lecture/service/TumLiveUploadService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 39 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/lecture" + }, + { + "count": 2, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/account", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/localci->M:src/main/java/de/tum/cit/aet/artemis/account", + "kind": "uses", + "refs": [ + { + "blob_sha": "95ae20cf71c464ee3d95df347e38a21afc8a7c6d", + "commits": [], + "end_line": 14, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/LocalCIEventListenerService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "95ae20cf71c464ee3d95df347e38a21afc8a7c6d", + "commits": [], + "end_line": 15, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/LocalCIEventListenerService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/localci" + }, + { + "count": 15, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/assessment", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/localci->M:src/main/java/de/tum/cit/aet/artemis/assessment", + "kind": "uses", + "refs": [ + { + "blob_sha": "74174fd0aa0293175a87eb6642d8b313cd043c29", + "commits": [], + "end_line": 19, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/domain/BuildJob.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "574caa563533918fb035a0624089c288c7596833", + "commits": [], + "end_line": 32, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/LocalCIResultProcessingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 32 + }, + { + "blob_sha": "16488162938e8bd12a213d86c478f312a0209495", + "commits": [], + "end_line": 34, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/ProgrammingExerciseFeedbackCreationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 34 + }, + { + "blob_sha": "16488162938e8bd12a213d86c478f312a0209495", + "commits": [], + "end_line": 35, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/ProgrammingExerciseFeedbackCreationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 35 + }, + { + "blob_sha": "16488162938e8bd12a213d86c478f312a0209495", + "commits": [], + "end_line": 36, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/ProgrammingExerciseFeedbackCreationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 36 + }, + { + "blob_sha": "16488162938e8bd12a213d86c478f312a0209495", + "commits": [], + "end_line": 37, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/ProgrammingExerciseFeedbackCreationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 37 + }, + { + "blob_sha": "16488162938e8bd12a213d86c478f312a0209495", + "commits": [], + "end_line": 38, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/ProgrammingExerciseFeedbackCreationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 38 + }, + { + "blob_sha": "16488162938e8bd12a213d86c478f312a0209495", + "commits": [], + "end_line": 39, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/ProgrammingExerciseFeedbackCreationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 39 + }, + { + "blob_sha": "16488162938e8bd12a213d86c478f312a0209495", + "commits": [], + "end_line": 40, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/ProgrammingExerciseFeedbackCreationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 40 + }, + { + "blob_sha": "16488162938e8bd12a213d86c478f312a0209495", + "commits": [], + "end_line": 41, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/ProgrammingExerciseFeedbackCreationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 41 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/localci" + }, + { + "count": 59, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/buildagent", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/localci->M:src/main/java/de/tum/cit/aet/artemis/buildagent", + "kind": "uses", + "refs": [ + { + "blob_sha": "74174fd0aa0293175a87eb6642d8b313cd043c29", + "commits": [], + "end_line": 20, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/domain/BuildJob.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "cb9eac4e7e799b9a5af0057bbbf660840e1914f4", + "commits": [], + "end_line": 7, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/dto/CourseBuildJobDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "cb9eac4e7e799b9a5af0057bbbf660840e1914f4", + "commits": [], + "end_line": 8, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/dto/CourseBuildJobDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "cb9eac4e7e799b9a5af0057bbbf660840e1914f4", + "commits": [], + "end_line": 9, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/dto/CourseBuildJobDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "bc262a37b1507df654b5d14da12560b6e1bb5744", + "commits": [], + "end_line": 13, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/dto/CourseFinishedBuildJobDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "bc262a37b1507df654b5d14da12560b6e1bb5744", + "commits": [], + "end_line": 14, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/dto/CourseFinishedBuildJobDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "bc262a37b1507df654b5d14da12560b6e1bb5744", + "commits": [], + "end_line": 15, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/dto/CourseFinishedBuildJobDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "7747384aeb9972df51f4fc0cd6a9cb0dbd31f625", + "commits": [], + "end_line": 29, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/repository/BuildJobRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "7747384aeb9972df51f4fc0cd6a9cb0dbd31f625", + "commits": [], + "end_line": 30, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/repository/BuildJobRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 30 + }, + { + "blob_sha": "7747384aeb9972df51f4fc0cd6a9cb0dbd31f625", + "commits": [], + "end_line": 31, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/repository/BuildJobRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 31 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/localci" + }, + { + "count": 2, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/communication", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/localci->M:src/main/java/de/tum/cit/aet/artemis/communication", + "kind": "uses", + "refs": [ + { + "blob_sha": "0bd70f64d19915a5c1e9b9f04c94fa10210a3c24", + "commits": [], + "end_line": 26, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/LocalCIWebsocketMessagingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + }, + { + "blob_sha": "16488162938e8bd12a213d86c478f312a0209495", + "commits": [], + "end_line": 43, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/ProgrammingExerciseFeedbackCreationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 43 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/localci" + }, + { + "count": 120, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/localci->M:src/main/java/de/tum/cit/aet/artemis/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "d38e0c14ed50512bceb23c21f1e660027f684d23", + "commits": [], + "end_line": 8, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/api/LocalCITelemetryApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "d38e0c14ed50512bceb23c21f1e660027f684d23", + "commits": [], + "end_line": 9, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/api/LocalCITelemetryApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "74174fd0aa0293175a87eb6642d8b313cd043c29", + "commits": [], + "end_line": 21, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/domain/BuildJob.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "74174fd0aa0293175a87eb6642d8b313cd043c29", + "commits": [], + "end_line": 22, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/domain/BuildJob.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "7747384aeb9972df51f4fc0cd6a9cb0dbd31f625", + "commits": [], + "end_line": 3, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/repository/BuildJobRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "7747384aeb9972df51f4fc0cd6a9cb0dbd31f625", + "commits": [], + "end_line": 33, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/repository/BuildJobRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 33 + }, + { + "blob_sha": "b0c84d30f790660bd5bdd2f0b3948258374a1e6c", + "commits": [], + "end_line": 3, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/AutomaticAfterDueDateService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "b0c84d30f790660bd5bdd2f0b3948258374a1e6c", + "commits": [], + "end_line": 26, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/AutomaticAfterDueDateService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + }, + { + "blob_sha": "2fe74047cfd0a4351d084408c4792d7561bd9170", + "commits": [], + "end_line": 27, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/BuildAgentAddressRegistryService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + }, + { + "blob_sha": "2fe74047cfd0a4351d084408c4792d7561bd9170", + "commits": [], + "end_line": 3, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/BuildAgentAddressRegistryService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/localci" + }, + { + "count": 2, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/localci->M:src/main/java/de/tum/cit/aet/artemis/course", + "kind": "uses", + "refs": [ + { + "blob_sha": "08fc1fe509b84493b56bb1d455abb5fab825026b", + "commits": [], + "end_line": 17, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/repository/BuildJobSpecs.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "345dbfcd69d9cd27e5c7c0cb35257783fbd35b75", + "commits": [], + "end_line": 30, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/LocalCITriggerService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 30 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/localci" + }, + { + "count": 6, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/exam", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/localci->M:src/main/java/de/tum/cit/aet/artemis/exam", + "kind": "uses", + "refs": [ + { + "blob_sha": "b0c84d30f790660bd5bdd2f0b3948258374a1e6c", + "commits": [], + "end_line": 27, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/AutomaticAfterDueDateService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + }, + { + "blob_sha": "b0c84d30f790660bd5bdd2f0b3948258374a1e6c", + "commits": [], + "end_line": 28, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/AutomaticAfterDueDateService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 + }, + { + "blob_sha": "b0c84d30f790660bd5bdd2f0b3948258374a1e6c", + "commits": [], + "end_line": 29, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/AutomaticAfterDueDateService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "14d2f76f4c4e0a699abb342c890309faead7d156", + "commits": [], + "end_line": 28, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/web/AutomaticAfterDueDateResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 + }, + { + "blob_sha": "14d2f76f4c4e0a699abb342c890309faead7d156", + "commits": [], + "end_line": 29, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/web/AutomaticAfterDueDateResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "14d2f76f4c4e0a699abb342c890309faead7d156", + "commits": [], + "end_line": 30, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/web/AutomaticAfterDueDateResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 30 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/localci" + }, + { + "count": 12, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/exercise", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/localci->M:src/main/java/de/tum/cit/aet/artemis/exercise", + "kind": "uses", + "refs": [ + { + "blob_sha": "acb32d4ac2b2cd9789ec7aec38fe9b0c55f3df5f", + "commits": [], + "end_line": 28, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/BuildJobCloneTokenService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 + }, + { + "blob_sha": "acb32d4ac2b2cd9789ec7aec38fe9b0c55f3df5f", + "commits": [], + "end_line": 29, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/BuildJobCloneTokenService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "79d2d6a8e923997d84c98e899f69d91b40520d36", + "commits": [], + "end_line": 13, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/BuildPhaseEvaluationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "1c3f76d31580e9c2a0188b6e00c8358bd0de9274", + "commits": [], + "end_line": 19, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/LocalCIMissingJobService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "574caa563533918fb035a0624089c288c7596833", + "commits": [], + "end_line": 43, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/LocalCIResultProcessingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 43 + }, + { + "blob_sha": "574caa563533918fb035a0624089c288c7596833", + "commits": [], + "end_line": 44, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/LocalCIResultProcessingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 44 + }, + { + "blob_sha": "574caa563533918fb035a0624089c288c7596833", + "commits": [], + "end_line": 45, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/LocalCIResultProcessingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 45 + }, + { + "blob_sha": "345dbfcd69d9cd27e5c7c0cb35257783fbd35b75", + "commits": [], + "end_line": 31, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/LocalCITriggerService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 31 + }, + { + "blob_sha": "345dbfcd69d9cd27e5c7c0cb35257783fbd35b75", + "commits": [], + "end_line": 32, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/LocalCITriggerService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 32 + }, + { + "blob_sha": "345dbfcd69d9cd27e5c7c0cb35257783fbd35b75", + "commits": [], + "end_line": 33, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/LocalCITriggerService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 33 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/localci" + }, + { + "count": 1, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/hyperion", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/localci->M:src/main/java/de/tum/cit/aet/artemis/hyperion", + "kind": "uses", + "refs": [ + { + "blob_sha": "16488162938e8bd12a213d86c478f312a0209495", + "commits": [], + "end_line": 46, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/ProgrammingExerciseFeedbackCreationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 46 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/localci" + }, + { + "count": 4, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/localvc", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/localci->M:src/main/java/de/tum/cit/aet/artemis/localvc", + "kind": "uses", + "refs": [ + { + "blob_sha": "acb32d4ac2b2cd9789ec7aec38fe9b0c55f3df5f", + "commits": [], + "end_line": 30, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/BuildJobCloneTokenService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 30 + }, + { + "blob_sha": "345dbfcd69d9cd27e5c7c0cb35257783fbd35b75", + "commits": [], + "end_line": 40, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/LocalCITriggerService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 40 + }, + { + "blob_sha": "345dbfcd69d9cd27e5c7c0cb35257783fbd35b75", + "commits": [], + "end_line": 41, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/LocalCITriggerService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 41 + }, + { + "blob_sha": "16488162938e8bd12a213d86c478f312a0209495", + "commits": [], + "end_line": 47, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/ProgrammingExerciseFeedbackCreationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 47 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/localci" + }, + { + "count": 2, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/notification", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/localci->M:src/main/java/de/tum/cit/aet/artemis/notification", + "kind": "uses", + "refs": [ + { + "blob_sha": "95ae20cf71c464ee3d95df347e38a21afc8a7c6d", + "commits": [], + "end_line": 26, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/LocalCIEventListenerService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + }, + { + "blob_sha": "95ae20cf71c464ee3d95df347e38a21afc8a7c6d", + "commits": [], + "end_line": 27, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/service/LocalCIEventListenerService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/localci" + }, + { + "count": 215, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/programming", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/localci->M:src/main/java/de/tum/cit/aet/artemis/programming", + "kind": "uses", + "refs": [ + { + "blob_sha": "74174fd0aa0293175a87eb6642d8b313cd043c29", + "commits": [], + "end_line": 23, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/domain/BuildJob.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "74174fd0aa0293175a87eb6642d8b313cd043c29", + "commits": [], + "end_line": 24, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/domain/BuildJob.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "49a002016667bc77ede819394fd5127fd95ca139", + "commits": [], + "end_line": 7, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/dto/BuildJobInterface.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "681c5299b306fba631e13515f5bcba34bf001eb8", + "commits": [], + "end_line": 7, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/dto/BuildPlanDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "cb9eac4e7e799b9a5af0057bbbf660840e1914f4", + "commits": [], + "end_line": 10, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/dto/CourseBuildJobDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "cb9eac4e7e799b9a5af0057bbbf660840e1914f4", + "commits": [], + "end_line": 11, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/dto/CourseBuildJobDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "bc262a37b1507df654b5d14da12560b6e1bb5744", + "commits": [], + "end_line": 16, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/dto/CourseFinishedBuildJobDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "bc262a37b1507df654b5d14da12560b6e1bb5744", + "commits": [], + "end_line": 17, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/dto/CourseFinishedBuildJobDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "4f23fed0a8bd47d58f2120c701683399f32856ce", + "commits": [], + "end_line": 3, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/exception/LocalCIException.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "7747384aeb9972df51f4fc0cd6a9cb0dbd31f625", + "commits": [], + "end_line": 36, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localci/repository/BuildJobRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 36 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/localci" + }, + { + "count": 24, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/account", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/localvc->M:src/main/java/de/tum/cit/aet/artemis/account", + "kind": "uses", + "refs": [ + { + "blob_sha": "a7ab2120708094fedb8bcb707d85cbcfb45cf1ec", + "commits": [], + "end_line": 3, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/AccessLogSubject.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "e39272d6054a8b705da2ecf2a66e8c8fd61b3538", + "commits": [], + "end_line": 25, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/ArtemisGitServletService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "8ce33e6c0350092ff08fe3c5ef05fbfcafa98d60", + "commits": [], + "end_line": 22, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/GitPublickeyAuthenticatorService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "8ce33e6c0350092ff08fe3c5ef05fbfcafa98d60", + "commits": [], + "end_line": 23, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/GitPublickeyAuthenticatorService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "737af7ffd8d48905b019e1bb2f68a7e68dd87a70", + "commits": [], + "end_line": 59, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/GitService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 59 + }, + { + "blob_sha": "857645c9f831f92ea0e1afce40e263807d77660f", + "commits": [], + "end_line": 27, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/LocalVCAccessLogRecorderService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + }, + { + "blob_sha": "857645c9f831f92ea0e1afce40e263807d77660f", + "commits": [], + "end_line": 28, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/LocalVCAccessLogRecorderService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 + }, + { + "blob_sha": "7f9d60b6c3dcaf31e652c3d11784310efa65af2f", + "commits": [], + "end_line": 14, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/LocalVCAgentTokenService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "7f9d60b6c3dcaf31e652c3d11784310efa65af2f", + "commits": [], + "end_line": 15, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/LocalVCAgentTokenService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "ef11ce342d7e105ce35676eee565cc21612965a7", + "commits": [], + "end_line": 16, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/LocalVCPostPushHook.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/localvc" + }, + { + "count": 3, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/admin", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/localvc->M:src/main/java/de/tum/cit/aet/artemis/admin", + "kind": "uses", + "refs": [ + { + "blob_sha": "8ce33e6c0350092ff08fe3c5ef05fbfcafa98d60", + "commits": [], + "end_line": 24, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/GitPublickeyAuthenticatorService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "109e87b3ba754dcd494af10ca3ac3ae57bba2403", + "commits": [], + "end_line": 23, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/LocalVCBuildAgentAuthenticationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "73e2444344623c0abf733b2034d3adfb1580389f", + "commits": [], + "end_line": 38, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/LocalVCServletService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 38 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/localvc" + }, + { + "count": 3, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/buildagent", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/localvc->M:src/main/java/de/tum/cit/aet/artemis/buildagent", + "kind": "uses", + "refs": [ + { + "blob_sha": "8ce33e6c0350092ff08fe3c5ef05fbfcafa98d60", + "commits": [], + "end_line": 25, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/GitPublickeyAuthenticatorService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "109e87b3ba754dcd494af10ca3ac3ae57bba2403", + "commits": [], + "end_line": 24, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/LocalVCBuildAgentAuthenticationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "03c20b8dd8087d978aef24e116252f3023b35b2d", + "commits": [], + "end_line": 22, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/SshGitLocationResolverService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/localvc" + }, + { + "count": 115, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/localvc->M:src/main/java/de/tum/cit/aet/artemis/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "7d48f46879acbedd95a77a444069b4d4bd4cfc1b", + "commits": [], + "end_line": 3, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/config/LocalVCBuildAgentCredentialsValidator.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "7d48f46879acbedd95a77a444069b4d4bd4cfc1b", + "commits": [], + "end_line": 4, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/config/LocalVCBuildAgentCredentialsValidator.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "7d48f46879acbedd95a77a444069b4d4bd4cfc1b", + "commits": [], + "end_line": 5, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/config/LocalVCBuildAgentCredentialsValidator.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "62bb97ff25c3b71457ec53f8efd28fdb074c2351", + "commits": [], + "end_line": 43, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/AbstractGitService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 43 + }, + { + "blob_sha": "e39272d6054a8b705da2ecf2a66e8c8fd61b3538", + "commits": [], + "end_line": 3, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/ArtemisGitServletService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "9e82b09fa3ed89d18afea98a0beecd8b0ff2d935", + "commits": [], + "end_line": 11, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/AuthenticationContext.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "633ce2475671b866091bb247f584c65528d3055a", + "commits": [], + "end_line": 3, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/BareGitRepositoryService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "633ce2475671b866091bb247f584c65528d3055a", + "commits": [], + "end_line": 55, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/BareGitRepositoryService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 55 + }, + { + "blob_sha": "8ce33e6c0350092ff08fe3c5ef05fbfcafa98d60", + "commits": [], + "end_line": 26, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/GitPublickeyAuthenticatorService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + }, + { + "blob_sha": "8ce33e6c0350092ff08fe3c5ef05fbfcafa98d60", + "commits": [], + "end_line": 3, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/GitPublickeyAuthenticatorService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/localvc" + }, + { + "count": 1, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/localvc->M:src/main/java/de/tum/cit/aet/artemis/course", + "kind": "uses", + "refs": [ + { + "blob_sha": "63ad58e6f9e4f4019cd486c166414399108edb7e", + "commits": [], + "end_line": 30, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/RepositoryVcsAccessTokenService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 30 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/localvc" + }, + { + "count": 7, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/exercise", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/localvc->M:src/main/java/de/tum/cit/aet/artemis/exercise", + "kind": "uses", + "refs": [ + { + "blob_sha": "ca0999debcaa78f1d9aa05c6ea73490c0c4cd715", + "commits": [], + "end_line": 26, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/LocalVCPushProcessingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + }, + { + "blob_sha": "73e2444344623c0abf733b2034d3adfb1580389f", + "commits": [], + "end_line": 49, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/LocalVCServletService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 49 + }, + { + "blob_sha": "d8fd7634a287df8fdb7ca414f4dbf03dd8e3a3e4", + "commits": [], + "end_line": 13, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/ParticipationVcsAccessTokenService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "d8fd7634a287df8fdb7ca414f4dbf03dd8e3a3e4", + "commits": [], + "end_line": 14, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/ParticipationVcsAccessTokenService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "d8fd7634a287df8fdb7ca414f4dbf03dd8e3a3e4", + "commits": [], + "end_line": 15, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/ParticipationVcsAccessTokenService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "9795a93da9440da35d921450675d2c2ec8b99cd6", + "commits": [], + "end_line": 18, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/VcsAccessLogService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "9795a93da9440da35d921450675d2c2ec8b99cd6", + "commits": [], + "end_line": 19, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/VcsAccessLogService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/localvc" + }, + { + "count": 1, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/hyperion", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/localvc->M:src/main/java/de/tum/cit/aet/artemis/hyperion", + "kind": "uses", + "refs": [ + { + "blob_sha": "ca0999debcaa78f1d9aa05c6ea73490c0c4cd715", + "commits": [], + "end_line": 27, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/LocalVCPushProcessingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/localvc" + }, + { + "count": 9, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/localci", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/localvc->M:src/main/java/de/tum/cit/aet/artemis/localci", + "kind": "uses", + "refs": [ + { + "blob_sha": "8ce33e6c0350092ff08fe3c5ef05fbfcafa98d60", + "commits": [], + "end_line": 29, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/GitPublickeyAuthenticatorService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "8ce33e6c0350092ff08fe3c5ef05fbfcafa98d60", + "commits": [], + "end_line": 30, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/GitPublickeyAuthenticatorService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 30 + }, + { + "blob_sha": "109e87b3ba754dcd494af10ca3ac3ae57bba2403", + "commits": [], + "end_line": 28, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/LocalVCBuildAgentAuthenticationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 + }, + { + "blob_sha": "109e87b3ba754dcd494af10ca3ac3ae57bba2403", + "commits": [], + "end_line": 29, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/LocalVCBuildAgentAuthenticationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "109e87b3ba754dcd494af10ca3ac3ae57bba2403", + "commits": [], + "end_line": 30, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/LocalVCBuildAgentAuthenticationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 30 + }, + { + "blob_sha": "ef11ce342d7e105ce35676eee565cc21612965a7", + "commits": [], + "end_line": 17, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/LocalVCPostPushHook.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "ca0999debcaa78f1d9aa05c6ea73490c0c4cd715", + "commits": [], + "end_line": 28, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/LocalVCPushProcessingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 + }, + { + "blob_sha": "03c20b8dd8087d978aef24e116252f3023b35b2d", + "commits": [], + "end_line": 24, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/SshGitLocationResolverService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "03c20b8dd8087d978aef24e116252f3023b35b2d", + "commits": [], + "end_line": 25, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/SshGitLocationResolverService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/localvc" + }, + { + "count": 6, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/notification", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/localvc->M:src/main/java/de/tum/cit/aet/artemis/notification", + "kind": "uses", + "refs": [ + { + "blob_sha": "a73d6031dca088f96088e54114335904bd7b3535", + "commits": [], + "end_line": 27, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/PasswordAuthenticationNoticeService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + }, + { + "blob_sha": "a73d6031dca088f96088e54114335904bd7b3535", + "commits": [], + "end_line": 28, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/PasswordAuthenticationNoticeService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 + }, + { + "blob_sha": "a6dbcda833f522bd90f93cfd3677d69b62f5d281", + "commits": [], + "end_line": 22, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/sshuserkeys/UserSshPublicKeyExpiryNotificationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "a6dbcda833f522bd90f93cfd3677d69b62f5d281", + "commits": [], + "end_line": 23, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/sshuserkeys/UserSshPublicKeyExpiryNotificationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "a6dbcda833f522bd90f93cfd3677d69b62f5d281", + "commits": [], + "end_line": 24, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/sshuserkeys/UserSshPublicKeyExpiryNotificationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "a6dbcda833f522bd90f93cfd3677d69b62f5d281", + "commits": [], + "end_line": 25, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/sshuserkeys/UserSshPublicKeyExpiryNotificationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/localvc" + }, + { + "count": 137, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/programming", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/localvc->M:src/main/java/de/tum/cit/aet/artemis/programming", + "kind": "uses", + "refs": [ + { + "blob_sha": "31eb9f356289fe423e8e4e69f16f26421aad2752", + "commits": [], + "end_line": 3, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/exception/LocalVCInternalException.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "62bb97ff25c3b71457ec53f8efd28fdb074c2351", + "commits": [], + "end_line": 44, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/AbstractGitService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 44 + }, + { + "blob_sha": "a7ab2120708094fedb8bcb707d85cbcfb45cf1ec", + "commits": [], + "end_line": 4, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/AccessLogSubject.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "ea2e6f7011fa032c3833ed740c6a37a283a285b0", + "commits": [], + "end_line": 13, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/AutomaticVcsAccessLogCleanupService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "633ce2475671b866091bb247f584c65528d3055a", + "commits": [], + "end_line": 56, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/BareGitRepositoryService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 56 + }, + { + "blob_sha": "633ce2475671b866091bb247f584c65528d3055a", + "commits": [], + "end_line": 57, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/BareGitRepositoryService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 57 + }, + { + "blob_sha": "633ce2475671b866091bb247f584c65528d3055a", + "commits": [], + "end_line": 58, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/BareGitRepositoryService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 58 + }, + { + "blob_sha": "633ce2475671b866091bb247f584c65528d3055a", + "commits": [], + "end_line": 59, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/BareGitRepositoryService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 59 + }, + { + "blob_sha": "8ce33e6c0350092ff08fe3c5ef05fbfcafa98d60", + "commits": [], + "end_line": 33, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/GitPublickeyAuthenticatorService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 33 + }, + { + "blob_sha": "8ce33e6c0350092ff08fe3c5ef05fbfcafa98d60", + "commits": [], + "end_line": 34, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/localvc/service/GitPublickeyAuthenticatorService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 34 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/localvc" + }, + { + "count": 1, + "dst": "M:src/main/java/(other)", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/lti->M:src/main/java/(other)", + "kind": "uses", + "refs": [ + { + "blob_sha": "d87788649b085a8498e446a8598a8b6fb026b23e", + "commits": [], + "end_line": 33, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/config/CustomLti13Configurer.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 33 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/lti" + }, + { + "count": 15, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/account", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/lti->M:src/main/java/de/tum/cit/aet/artemis/account", + "kind": "uses", + "refs": [ + { + "blob_sha": "4fc22dc67db298f908986550b630ec6c1524c142", + "commits": [], + "end_line": 10, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/api/LtiApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "c19e2c62f90d7898c850dde93a8d6d03d8d76ae8", + "commits": [], + "end_line": 10, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/domain/LtiResourceLaunch.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "2186a161ab2e7066c927cd465479175072989228", + "commits": [], + "end_line": 11, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/repository/Lti13ResourceLaunchRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "af68ffb16fee29fc8639bd7b33257a64b3419f8d", + "commits": [], + "end_line": 39, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/Lti13Service.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 39 + }, + { + "blob_sha": "af68ffb16fee29fc8639bd7b33257a64b3419f8d", + "commits": [], + "end_line": 40, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/Lti13Service.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 40 + }, + { + "blob_sha": "af68ffb16fee29fc8639bd7b33257a64b3419f8d", + "commits": [], + "end_line": 41, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/Lti13Service.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 41 + }, + { + "blob_sha": "dd10eec674c1e22b5f6a124fc36b58b65860a836", + "commits": [], + "end_line": 25, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/LtiService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "dd10eec674c1e22b5f6a124fc36b58b65860a836", + "commits": [], + "end_line": 26, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/LtiService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + }, + { + "blob_sha": "dd10eec674c1e22b5f6a124fc36b58b65860a836", + "commits": [], + "end_line": 27, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/LtiService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + }, + { + "blob_sha": "dd10eec674c1e22b5f6a124fc36b58b65860a836", + "commits": [], + "end_line": 28, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/LtiService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/lti" + }, + { + "count": 3, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/assessment", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/lti->M:src/main/java/de/tum/cit/aet/artemis/assessment", + "kind": "uses", + "refs": [ + { + "blob_sha": "af68ffb16fee29fc8639bd7b33257a64b3419f8d", + "commits": [], + "end_line": 42, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/Lti13Service.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 42 + }, + { + "blob_sha": "af68ffb16fee29fc8639bd7b33257a64b3419f8d", + "commits": [], + "end_line": 43, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/Lti13Service.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 43 + }, + { + "blob_sha": "af68ffb16fee29fc8639bd7b33257a64b3419f8d", + "commits": [], + "end_line": 44, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/Lti13Service.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 44 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/lti" + }, + { + "count": 1, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/atlas", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/lti->M:src/main/java/de/tum/cit/aet/artemis/atlas", + "kind": "uses", + "refs": [ + { + "blob_sha": "86428a0e6e92b2e47b5dd597086ae1ed62ea5d88", + "commits": [], + "end_line": 19, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/LtiDeepLinkingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/lti" + }, + { + "count": 68, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/lti->M:src/main/java/de/tum/cit/aet/artemis/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "f2f19d65b50b4dd02967c06cf0b766b8aa519a46", + "commits": [], + "end_line": 3, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/api/AbstractLtiApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "d87788649b085a8498e446a8598a8b6fb026b23e", + "commits": [], + "end_line": 25, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/config/CustomLti13Configurer.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "3e4cee96446b9812bd00b7c912dba71734ece959", + "commits": [], + "end_line": 21, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/config/DistributedStateAuthorizationRequestRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "3e4cee96446b9812bd00b7c912dba71734ece959", + "commits": [], + "end_line": 22, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/config/DistributedStateAuthorizationRequestRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "883ef8277f4ef7c3bbc3f26bad89b54f699cd70e", + "commits": [], + "end_line": 24, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/config/Lti13LaunchFilter.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "883ef8277f4ef7c3bbc3f26bad89b54f699cd70e", + "commits": [], + "end_line": 25, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/config/Lti13LaunchFilter.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "883ef8277f4ef7c3bbc3f26bad89b54f699cd70e", + "commits": [], + "end_line": 26, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/config/Lti13LaunchFilter.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + }, + { + "blob_sha": "883ef8277f4ef7c3bbc3f26bad89b54f699cd70e", + "commits": [], + "end_line": 27, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/config/Lti13LaunchFilter.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + }, + { + "blob_sha": "99ad36b771c9a646bfa42afc10c1110246d15bc4", + "commits": [], + "end_line": 40, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/config/Lti13TokenRetriever.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 40 + }, + { + "blob_sha": "510653525fe15cdc7d065cf8e3367f6128d41eee", + "commits": [], + "end_line": 7, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/config/LtiEnabled.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/lti" + }, + { + "count": 9, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/lti->M:src/main/java/de/tum/cit/aet/artemis/course", + "kind": "uses", + "refs": [ + { + "blob_sha": "8202da90f356b74a16b56b2630b3064aef2cc820", + "commits": [], + "end_line": 18, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/domain/OnlineCourseConfiguration.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "af68ffb16fee29fc8639bd7b33257a64b3419f8d", + "commits": [], + "end_line": 49, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/Lti13Service.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 49 + }, + { + "blob_sha": "af68ffb16fee29fc8639bd7b33257a64b3419f8d", + "commits": [], + "end_line": 50, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/Lti13Service.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 50 + }, + { + "blob_sha": "86428a0e6e92b2e47b5dd597086ae1ed62ea5d88", + "commits": [], + "end_line": 21, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/LtiDeepLinkingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "dd10eec674c1e22b5f6a124fc36b58b65860a836", + "commits": [], + "end_line": 41, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/LtiService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 41 + }, + { + "blob_sha": "3023fe4cc47e1d1eeaaf56c2296f52964ffdfc6b", + "commits": [], + "end_line": 37, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/web/LtiResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 37 + }, + { + "blob_sha": "3023fe4cc47e1d1eeaaf56c2296f52964ffdfc6b", + "commits": [], + "end_line": 38, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/web/LtiResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 38 + }, + { + "blob_sha": "3023fe4cc47e1d1eeaaf56c2296f52964ffdfc6b", + "commits": [], + "end_line": 39, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/web/LtiResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 39 + }, + { + "blob_sha": "3023fe4cc47e1d1eeaaf56c2296f52964ffdfc6b", + "commits": [], + "end_line": 40, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/web/LtiResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 40 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/lti" + }, + { + "count": 12, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/exercise", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/lti->M:src/main/java/de/tum/cit/aet/artemis/exercise", + "kind": "uses", + "refs": [ + { + "blob_sha": "4fc22dc67db298f908986550b630ec6c1524c142", + "commits": [], + "end_line": 11, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/api/LtiApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "4fc22dc67db298f908986550b630ec6c1524c142", + "commits": [], + "end_line": 12, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/api/LtiApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "c19e2c62f90d7898c850dde93a8d6d03d8d76ae8", + "commits": [], + "end_line": 13, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/domain/LtiResourceLaunch.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "2186a161ab2e7066c927cd465479175072989228", + "commits": [], + "end_line": 13, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/repository/Lti13ResourceLaunchRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "af68ffb16fee29fc8639bd7b33257a64b3419f8d", + "commits": [], + "end_line": 51, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/Lti13Service.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 51 + }, + { + "blob_sha": "af68ffb16fee29fc8639bd7b33257a64b3419f8d", + "commits": [], + "end_line": 52, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/Lti13Service.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 52 + }, + { + "blob_sha": "af68ffb16fee29fc8639bd7b33257a64b3419f8d", + "commits": [], + "end_line": 53, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/Lti13Service.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 53 + }, + { + "blob_sha": "86428a0e6e92b2e47b5dd597086ae1ed62ea5d88", + "commits": [], + "end_line": 22, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/LtiDeepLinkingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "86428a0e6e92b2e47b5dd597086ae1ed62ea5d88", + "commits": [], + "end_line": 23, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/LtiDeepLinkingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "86428a0e6e92b2e47b5dd597086ae1ed62ea5d88", + "commits": [], + "end_line": 24, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/LtiDeepLinkingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/lti" + }, + { + "count": 1, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/iris", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/lti->M:src/main/java/de/tum/cit/aet/artemis/iris", + "kind": "uses", + "refs": [ + { + "blob_sha": "86428a0e6e92b2e47b5dd597086ae1ed62ea5d88", + "commits": [], + "end_line": 25, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/LtiDeepLinkingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/lti" + }, + { + "count": 6, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/lecture", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/lti->M:src/main/java/de/tum/cit/aet/artemis/lecture", + "kind": "uses", + "refs": [ + { + "blob_sha": "af68ffb16fee29fc8639bd7b33257a64b3419f8d", + "commits": [], + "end_line": 54, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/Lti13Service.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 54 + }, + { + "blob_sha": "af68ffb16fee29fc8639bd7b33257a64b3419f8d", + "commits": [], + "end_line": 55, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/Lti13Service.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 55 + }, + { + "blob_sha": "af68ffb16fee29fc8639bd7b33257a64b3419f8d", + "commits": [], + "end_line": 56, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/Lti13Service.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 56 + }, + { + "blob_sha": "86428a0e6e92b2e47b5dd597086ae1ed62ea5d88", + "commits": [], + "end_line": 26, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/LtiDeepLinkingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + }, + { + "blob_sha": "86428a0e6e92b2e47b5dd597086ae1ed62ea5d88", + "commits": [], + "end_line": 27, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/LtiDeepLinkingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + }, + { + "blob_sha": "86428a0e6e92b2e47b5dd597086ae1ed62ea5d88", + "commits": [], + "end_line": 28, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/LtiDeepLinkingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/lti" + }, + { + "count": 2, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/programming", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/lti->M:src/main/java/de/tum/cit/aet/artemis/programming", + "kind": "uses", + "refs": [ + { + "blob_sha": "af68ffb16fee29fc8639bd7b33257a64b3419f8d", + "commits": [], + "end_line": 69, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/Lti13Service.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 69 + }, + { + "blob_sha": "af68ffb16fee29fc8639bd7b33257a64b3419f8d", + "commits": [], + "end_line": 70, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/lti/service/Lti13Service.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 70 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/lti" + }, + { + "count": 15, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/account", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/modeling->M:src/main/java/de/tum/cit/aet/artemis/account", + "kind": "uses", + "refs": [ + { + "blob_sha": "0cad838b033e8fabdf650677d5bca74d65d4c0e2", + "commits": [], + "end_line": 9, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/api/ModelingDemoApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "472c4279d4d9b3055be7ca568434dc8ae38862fb", + "commits": [], + "end_line": 7, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/api/ModelingSubmissionApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "ea57cf0ec2a973ff5b07b7a40f1debb23905c404", + "commits": [], + "end_line": 11, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/ModelingParticipationDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "c5f15f1a8dd70aa0a12e4a3dea7e6a2ff4a9d55a", + "commits": [], + "end_line": 19, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/service/ModelingDemoService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "0d1a927320524af2f0d4b190bab27b8d18398831", + "commits": [], + "end_line": 15, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/service/ModelingExerciseFeedbackService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "0d1a927320524af2f0d4b190bab27b8d18398831", + "commits": [], + "end_line": 16, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/service/ModelingExerciseFeedbackService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "2538862b7cafbbdfe979eb7262be9f63454277d1", + "commits": [], + "end_line": 11, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/service/ModelingExerciseService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "5bf6fc1309ba745febaf82261fdcc7c8bb2a6cac", + "commits": [], + "end_line": 16, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/service/ModelingSubmissionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "5bf6fc1309ba745febaf82261fdcc7c8bb2a6cac", + "commits": [], + "end_line": 17, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/service/ModelingSubmissionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "e61e8950be23ffc5effd11acf446d3357b3ad2dd", + "commits": [], + "end_line": 25, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/web/ModelingAssessmentResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/modeling" + }, + { + "count": 52, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/assessment", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/modeling->M:src/main/java/de/tum/cit/aet/artemis/assessment", + "kind": "uses", + "refs": [ + { + "blob_sha": "d599e5d9becb71f6e03e7694c6fcbd7456e814c4", + "commits": [], + "end_line": 11, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/api/ModelingExerciseImportApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "4042093081cf0b25c02b3f62dfa92d0b7bbca1f6", + "commits": [], + "end_line": 5, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/ComplaintResponseRequestDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "c7842a44a5fe18c4131863d95a91f026777bb185", + "commits": [], + "end_line": 11, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/ImportModelingExerciseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "823f07c876682f9ada0382be8400dd0346366749", + "commits": [], + "end_line": 7, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/ModelingAssessmentDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "1504e9774ae6bca268feb1f2bf17f666a4188203", + "commits": [], + "end_line": 7, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/ModelingAssessmentUpdateDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "c4b0af4b1d50a83ddf5d185cdbe46ad1e4303585", + "commits": [], + "end_line": 11, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/ModelingExampleSubmissionDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "c4b0af4b1d50a83ddf5d185cdbe46ad1e4303585", + "commits": [], + "end_line": 12, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/ModelingExampleSubmissionDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "62bdd7187cbe82da0eb03617fb62c78975b887b0", + "commits": [], + "end_line": 12, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/ModelingExerciseListItemDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "4d6dcf16ed5b4a6e9901746932e9b4ae1092fbc5", + "commits": [], + "end_line": 12, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/ModelingExerciseResponseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "4d6dcf16ed5b4a6e9901746932e9b4ae1092fbc5", + "commits": [], + "end_line": 13, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/ModelingExerciseResponseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/modeling" + }, + { + "count": 3, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/athena", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/modeling->M:src/main/java/de/tum/cit/aet/artemis/athena", + "kind": "uses", + "refs": [ + { + "blob_sha": "0d1a927320524af2f0d4b190bab27b8d18398831", + "commits": [], + "end_line": 23, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/service/ModelingExerciseFeedbackService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "0d1a927320524af2f0d4b190bab27b8d18398831", + "commits": [], + "end_line": 24, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/service/ModelingExerciseFeedbackService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "5bf6fc1309ba745febaf82261fdcc7c8bb2a6cac", + "commits": [], + "end_line": 24, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/service/ModelingSubmissionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/modeling" + }, + { + "count": 3, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/atlas", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/modeling->M:src/main/java/de/tum/cit/aet/artemis/atlas", + "kind": "uses", + "refs": [ + { + "blob_sha": "66510fed4f545a0803734a3f9c02dd0f54e04f87", + "commits": [], + "end_line": 22, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/service/ModelingExerciseImportService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "4fc82e8cbcb147fc1a7f88fa0462e1a183525b54", + "commits": [], + "end_line": 37, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/web/ModelingExerciseResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 37 + }, + { + "blob_sha": "4fc82e8cbcb147fc1a7f88fa0462e1a183525b54", + "commits": [], + "end_line": 38, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/web/ModelingExerciseResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 38 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/modeling" + }, + { + "count": 4, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/communication", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/modeling->M:src/main/java/de/tum/cit/aet/artemis/communication", + "kind": "uses", + "refs": [ + { + "blob_sha": "c5f15f1a8dd70aa0a12e4a3dea7e6a2ff4a9d55a", + "commits": [], + "end_line": 21, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/service/ModelingDemoService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "66510fed4f545a0803734a3f9c02dd0f54e04f87", + "commits": [], + "end_line": 23, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/service/ModelingExerciseImportService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "4fc82e8cbcb147fc1a7f88fa0462e1a183525b54", + "commits": [], + "end_line": 39, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/web/ModelingExerciseResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 39 + }, + { + "blob_sha": "4fc82e8cbcb147fc1a7f88fa0462e1a183525b54", + "commits": [], + "end_line": 40, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/web/ModelingExerciseResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 40 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/modeling" + }, + { + "count": 99, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/modeling->M:src/main/java/de/tum/cit/aet/artemis/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "275b1977bb3df4c28113eb7fd7d7f543e21d0def", + "commits": [], + "end_line": 3, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/api/AbstractModelingApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "d599e5d9becb71f6e03e7694c6fcbd7456e814c4", + "commits": [], + "end_line": 12, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/api/ModelingExerciseImportApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "edffb3186af70b4d6eb42bc567238e4bd31fad1d", + "commits": [], + "end_line": 10, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/api/ModelingSubmissionExportApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "07afcd53493e9cefe9dbb808eb0f69143c99f824", + "commits": [], + "end_line": 7, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/config/ApollonEnabled.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "30da753a97eb724e16694c90c0554c29fc1e9ec9", + "commits": [], + "end_line": 5, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/config/ModelingApiNotPresentException.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "30da753a97eb724e16694c90c0554c29fc1e9ec9", + "commits": [], + "end_line": 3, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/config/ModelingApiNotPresentException.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "30da753a97eb724e16694c90c0554c29fc1e9ec9", + "commits": [], + "end_line": 6, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/config/ModelingApiNotPresentException.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "afb669a290fd31cdf5e16ad37a468ac1b8eddd6b", + "commits": [], + "end_line": 7, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/config/ModelingEnabled.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "9888ed5680cae6cfe214e9796d8a2987b9e95dbb", + "commits": [], + "end_line": 7, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/config/ModelingWithApollonEnabled.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "a354f1e34620da2ba3c33ed1a1c2c3d937f9cccb", + "commits": [], + "end_line": 11, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/domain/ApollonDiagram.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/modeling" + }, + { + "count": 11, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/modeling->M:src/main/java/de/tum/cit/aet/artemis/course", + "kind": "uses", + "refs": [ + { + "blob_sha": "0cad838b033e8fabdf650677d5bca74d65d4c0e2", + "commits": [], + "end_line": 10, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/api/ModelingDemoApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "728a8aca75a38615c3838a297604d957ca3ae248", + "commits": [], + "end_line": 10, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/ModelingExerciseExamGroupDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "62bdd7187cbe82da0eb03617fb62c78975b887b0", + "commits": [], + "end_line": 13, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/ModelingExerciseListItemDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "62bdd7187cbe82da0eb03617fb62c78975b887b0", + "commits": [], + "end_line": 14, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/ModelingExerciseListItemDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "4d6dcf16ed5b4a6e9901746932e9b4ae1092fbc5", + "commits": [], + "end_line": 14, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/ModelingExerciseResponseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "4d6dcf16ed5b4a6e9901746932e9b4ae1092fbc5", + "commits": [], + "end_line": 15, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/ModelingExerciseResponseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "c5f15f1a8dd70aa0a12e4a3dea7e6a2ff4a9d55a", + "commits": [], + "end_line": 24, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/service/ModelingDemoService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "4fc82e8cbcb147fc1a7f88fa0462e1a183525b54", + "commits": [], + "end_line": 62, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/web/ModelingExerciseResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 62 + }, + { + "blob_sha": "4fc82e8cbcb147fc1a7f88fa0462e1a183525b54", + "commits": [], + "end_line": 63, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/web/ModelingExerciseResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 63 + }, + { + "blob_sha": "4fc82e8cbcb147fc1a7f88fa0462e1a183525b54", + "commits": [], + "end_line": 64, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/web/ModelingExerciseResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 64 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/modeling" + }, + { + "count": 12, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/exam", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/modeling->M:src/main/java/de/tum/cit/aet/artemis/exam", + "kind": "uses", + "refs": [ + { + "blob_sha": "0cad838b033e8fabdf650677d5bca74d65d4c0e2", + "commits": [], + "end_line": 11, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/api/ModelingDemoApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "728a8aca75a38615c3838a297604d957ca3ae248", + "commits": [], + "end_line": 11, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/ModelingExerciseExamGroupDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "728a8aca75a38615c3838a297604d957ca3ae248", + "commits": [], + "end_line": 12, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/ModelingExerciseExamGroupDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "728a8aca75a38615c3838a297604d957ca3ae248", + "commits": [], + "end_line": 13, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/ModelingExerciseExamGroupDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "62bdd7187cbe82da0eb03617fb62c78975b887b0", + "commits": [], + "end_line": 15, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/ModelingExerciseListItemDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "c5f15f1a8dd70aa0a12e4a3dea7e6a2ff4a9d55a", + "commits": [], + "end_line": 25, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/service/ModelingDemoService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "4fc82e8cbcb147fc1a7f88fa0462e1a183525b54", + "commits": [], + "end_line": 65, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/web/ModelingExerciseResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 65 + }, + { + "blob_sha": "4fc82e8cbcb147fc1a7f88fa0462e1a183525b54", + "commits": [], + "end_line": 66, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/web/ModelingExerciseResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 66 + }, + { + "blob_sha": "4fc82e8cbcb147fc1a7f88fa0462e1a183525b54", + "commits": [], + "end_line": 67, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/web/ModelingExerciseResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 67 + }, + { + "blob_sha": "b1b73a8f37b3c5ae86ae5a92212c6641d8199dd2", + "commits": [], + "end_line": 47, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/web/ModelingSubmissionResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 47 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/modeling" + }, + { + "count": 105, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/exercise", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/modeling->M:src/main/java/de/tum/cit/aet/artemis/exercise", + "kind": "uses", + "refs": [ + { + "blob_sha": "d599e5d9becb71f6e03e7694c6fcbd7456e814c4", + "commits": [], + "end_line": 13, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/api/ModelingExerciseImportApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "a9631b87c45e006ccbc97d7ce4670b7b8b594f2f", + "commits": [], + "end_line": 7, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/api/ModelingFeedbackApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "a9631b87c45e006ccbc97d7ce4670b7b8b594f2f", + "commits": [], + "end_line": 8, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/api/ModelingFeedbackApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "472c4279d4d9b3055be7ca568434dc8ae38862fb", + "commits": [], + "end_line": 8, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/api/ModelingSubmissionApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "472c4279d4d9b3055be7ca568434dc8ae38862fb", + "commits": [], + "end_line": 9, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/api/ModelingSubmissionApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "472c4279d4d9b3055be7ca568434dc8ae38862fb", + "commits": [], + "end_line": 10, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/api/ModelingSubmissionApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "edffb3186af70b4d6eb42bc567238e4bd31fad1d", + "commits": [], + "end_line": 11, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/api/ModelingSubmissionExportApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "13b508ff4996bd9bf91f65d6ab377e76f96af031", + "commits": [], + "end_line": 14, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/domain/ModelingExercise.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "13b508ff4996bd9bf91f65d6ab377e76f96af031", + "commits": [], + "end_line": 3, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/domain/ModelingExercise.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "13b508ff4996bd9bf91f65d6ab377e76f96af031", + "commits": [], + "end_line": 15, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/domain/ModelingExercise.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/modeling" + }, + { + "count": 4, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/lecture", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/modeling->M:src/main/java/de/tum/cit/aet/artemis/lecture", + "kind": "uses", + "refs": [ + { + "blob_sha": "c7842a44a5fe18c4131863d95a91f026777bb185", + "commits": [], + "end_line": 18, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/ImportModelingExerciseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "4d6dcf16ed5b4a6e9901746932e9b4ae1092fbc5", + "commits": [], + "end_line": 23, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/ModelingExerciseResponseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "23f6984b402f5f65478bc697a287cdfbff190432", + "commits": [], + "end_line": 19, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/UpdateModelingExerciseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "4fc82e8cbcb147fc1a7f88fa0462e1a183525b54", + "commits": [], + "end_line": 80, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/web/ModelingExerciseResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 80 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/modeling" + }, + { + "count": 2, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/notification", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/modeling->M:src/main/java/de/tum/cit/aet/artemis/notification", + "kind": "uses", + "refs": [ + { + "blob_sha": "c5f15f1a8dd70aa0a12e4a3dea7e6a2ff4a9d55a", + "commits": [], + "end_line": 39, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/service/ModelingDemoService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 39 + }, + { + "blob_sha": "4fc82e8cbcb147fc1a7f88fa0462e1a183525b54", + "commits": [], + "end_line": 91, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/web/ModelingExerciseResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 91 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/modeling" + }, + { + "count": 6, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/modeling->M:src/main/java/de/tum/cit/aet/artemis/plagiarism", + "kind": "uses", + "refs": [ + { + "blob_sha": "c7842a44a5fe18c4131863d95a91f026777bb185", + "commits": [], + "end_line": 22, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/ImportModelingExerciseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "4d6dcf16ed5b4a6e9901746932e9b4ae1092fbc5", + "commits": [], + "end_line": 27, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/ModelingExerciseResponseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + }, + { + "blob_sha": "23f6984b402f5f65478bc697a287cdfbff190432", + "commits": [], + "end_line": 23, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/dto/UpdateModelingExerciseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "4fc82e8cbcb147fc1a7f88fa0462e1a183525b54", + "commits": [], + "end_line": 92, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/web/ModelingExerciseResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 92 + }, + { + "blob_sha": "4fc82e8cbcb147fc1a7f88fa0462e1a183525b54", + "commits": [], + "end_line": 93, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/web/ModelingExerciseResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 93 + }, + { + "blob_sha": "4fc82e8cbcb147fc1a7f88fa0462e1a183525b54", + "commits": [], + "end_line": 94, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/modeling/web/ModelingExerciseResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 94 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/modeling" + }, + { + "count": 21, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/account", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/notification->M:src/main/java/de/tum/cit/aet/artemis/account", + "kind": "uses", + "refs": [ + { + "blob_sha": "e178528588a1d409a76b690234e72822762f3daf", + "commits": [], + "end_line": 13, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/domain/UserCourseNotificationSettingPreset.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "a671575c1d1ec5e02cb869490117cb74bb7ed738", + "commits": [], + "end_line": 14, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/domain/UserCourseNotificationSettingSpecification.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "8d4db702e349af7266a3fa4e3c3bb8c2b483ccde", + "commits": [], + "end_line": 19, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/domain/UserCourseNotificationStatus.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "e67fbbd30379d3bf238baeb05798dfa282fc584b", + "commits": [], + "end_line": 16, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/domain/push_notification/PushNotificationDeviceConfiguration.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "c13008b726b0323c0a830de3d9cf798e43d32d6f", + "commits": [], + "end_line": 6, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/domain/push_notification/PushNotificationDeviceConfigurationId.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "4c95f53f2b8d457064a459472810fd8ef32be232", + "commits": [], + "end_line": 6, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/dto/CourseNotificationRecipientDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "f550284ee48073d688f0c2161f7452747948161e", + "commits": [], + "end_line": 8, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/dto/MailRecipientDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "c33df2d7ceedb62029127f61d66339bfe9f6a244", + "commits": [], + "end_line": 14, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/repository/MaintenanceEmailRecipientRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "bfccb05185ae15c5656bdc4a65e67f4e42ac51a7", + "commits": [], + "end_line": 24, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/CourseNotificationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "63ccf778d263bd992bf91f1ca305314c97601c93", + "commits": [], + "end_line": 17, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/CourseNotificationSettingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/notification" + }, + { + "count": 3, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/admin", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/notification->M:src/main/java/de/tum/cit/aet/artemis/admin", + "kind": "uses", + "refs": [ + { + "blob_sha": "9c2cc83c314f48b36695e5e688f6d64305e3f79a", + "commits": [], + "end_line": 5, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/dto/DataExportEmailDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "4058cfba91131204ca72d312f506b0268dfd27e1", + "commits": [], + "end_line": 23, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/notifications/MailService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "4058cfba91131204ca72d312f506b0268dfd27e1", + "commits": [], + "end_line": 24, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/notifications/MailService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/notification" + }, + { + "count": 1, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/assessment", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/notification->M:src/main/java/de/tum/cit/aet/artemis/assessment", + "kind": "uses", + "refs": [ + { + "blob_sha": "f9f043bbb3314d4f37f0ac5040636ee0d8b243bc", + "commits": [], + "end_line": 15, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/notifications/SingleUserNotificationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/notification" + }, + { + "count": 6, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/communication", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/notification->M:src/main/java/de/tum/cit/aet/artemis/communication", + "kind": "uses", + "refs": [ + { + "blob_sha": "8f8b0b5e2c4f9e3d7b7af84501f9af90d1fd5865", + "commits": [], + "end_line": 16, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/CourseNotificationWebappService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "44860c5ed030e255b3088d4d041df94f5d3d7eea", + "commits": [], + "end_line": 21, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/SystemNotificationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "7351279d5717bc637aa3cdd3bd4772e5a53c02b9", + "commits": [], + "end_line": 12, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/notifications/GroupNotificationScheduleService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "f9f043bbb3314d4f37f0ac5040636ee0d8b243bc", + "commits": [], + "end_line": 16, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/notifications/SingleUserNotificationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "f9f043bbb3314d4f37f0ac5040636ee0d8b243bc", + "commits": [], + "end_line": 17, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/notifications/SingleUserNotificationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "f9f043bbb3314d4f37f0ac5040636ee0d8b243bc", + "commits": [], + "end_line": 18, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/notifications/SingleUserNotificationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/notification" + }, + { + "count": 129, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/notification->M:src/main/java/de/tum/cit/aet/artemis/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "d9c6e77827712829d6e623406a7f40e2ce5c7460", + "commits": [], + "end_line": 3, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/config/HermesHealthIndicator.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "d9c6e77827712829d6e623406a7f40e2ce5c7460", + "commits": [], + "end_line": 24, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/config/HermesHealthIndicator.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "d9c6e77827712829d6e623406a7f40e2ce5c7460", + "commits": [], + "end_line": 25, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/config/HermesHealthIndicator.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "db42906a251f25fd47002766865456106489caa0", + "commits": [], + "end_line": 3, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/config/MailDeliveryProperties.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "694f595543682b3ff42e9a74238937a0d9eb0f8a", + "commits": [], + "end_line": 18, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/domain/CourseNotification.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "694f595543682b3ff42e9a74238937a0d9eb0f8a", + "commits": [], + "end_line": 19, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/domain/CourseNotification.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "953d23de97c855ca6a191293a211a365a0747a84", + "commits": [], + "end_line": 18, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/domain/CourseNotificationParameter.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "00e444e656d2dbb021976ccd3d816faa8ef4f588", + "commits": [], + "end_line": 12, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/domain/GlobalNotificationSetting.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "00e444e656d2dbb021976ccd3d816faa8ef4f588", + "commits": [], + "end_line": 13, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/domain/GlobalNotificationSetting.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "e178528588a1d409a76b690234e72822762f3daf", + "commits": [], + "end_line": 14, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/domain/UserCourseNotificationSettingPreset.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/notification" + }, + { + "count": 6, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/notification->M:src/main/java/de/tum/cit/aet/artemis/course", + "kind": "uses", + "refs": [ + { + "blob_sha": "694f595543682b3ff42e9a74238937a0d9eb0f8a", + "commits": [], + "end_line": 20, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/domain/CourseNotification.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "e178528588a1d409a76b690234e72822762f3daf", + "commits": [], + "end_line": 15, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/domain/UserCourseNotificationSettingPreset.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "a671575c1d1ec5e02cb869490117cb74bb7ed738", + "commits": [], + "end_line": 16, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/domain/UserCourseNotificationSettingSpecification.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "bfccb05185ae15c5656bdc4a65e67f4e42ac51a7", + "commits": [], + "end_line": 30, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/CourseNotificationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 30 + }, + { + "blob_sha": "63ccf778d263bd992bf91f1ca305314c97601c93", + "commits": [], + "end_line": 18, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/CourseNotificationSettingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "3c54e43a92f59238d3eff9c8080dbcdc8ecd0680", + "commits": [], + "end_line": 23, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/notifications/GroupNotificationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/notification" + }, + { + "count": 1, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/exam", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/notification->M:src/main/java/de/tum/cit/aet/artemis/exam", + "kind": "uses", + "refs": [ + { + "blob_sha": "3c54e43a92f59238d3eff9c8080dbcdc8ecd0680", + "commits": [], + "end_line": 24, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/notifications/GroupNotificationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/notification" + }, + { + "count": 12, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/exercise", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/notification->M:src/main/java/de/tum/cit/aet/artemis/exercise", + "kind": "uses", + "refs": [ + { + "blob_sha": "e0ade1d48055af90b67a8b1c7520d870300a3eb1", + "commits": [], + "end_line": 23, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/NotificationScheduleService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "e0ade1d48055af90b67a8b1c7520d870300a3eb1", + "commits": [], + "end_line": 24, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/NotificationScheduleService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "e0ade1d48055af90b67a8b1c7520d870300a3eb1", + "commits": [], + "end_line": 25, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/NotificationScheduleService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "e0ade1d48055af90b67a8b1c7520d870300a3eb1", + "commits": [], + "end_line": 26, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/NotificationScheduleService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + }, + { + "blob_sha": "7351279d5717bc637aa3cdd3bd4772e5a53c02b9", + "commits": [], + "end_line": 15, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/notifications/GroupNotificationScheduleService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "7351279d5717bc637aa3cdd3bd4772e5a53c02b9", + "commits": [], + "end_line": 16, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/notifications/GroupNotificationScheduleService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "3c54e43a92f59238d3eff9c8080dbcdc8ecd0680", + "commits": [], + "end_line": 25, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/notifications/GroupNotificationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "f9f043bbb3314d4f37f0ac5040636ee0d8b243bc", + "commits": [], + "end_line": 20, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/notifications/SingleUserNotificationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "f9f043bbb3314d4f37f0ac5040636ee0d8b243bc", + "commits": [], + "end_line": 21, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/notifications/SingleUserNotificationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "f9f043bbb3314d4f37f0ac5040636ee0d8b243bc", + "commits": [], + "end_line": 22, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/notifications/SingleUserNotificationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/notification" + }, + { + "count": 2, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/iris", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/notification->M:src/main/java/de/tum/cit/aet/artemis/iris", + "kind": "uses", + "refs": [ + { + "blob_sha": "4058cfba91131204ca72d312f506b0268dfd27e1", + "commits": [], + "end_line": 26, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/notifications/MailService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + }, + { + "blob_sha": "4058cfba91131204ca72d312f506b0268dfd27e1", + "commits": [], + "end_line": 27, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/notifications/MailService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/notification" + }, + { + "count": 2, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/lecture", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/notification->M:src/main/java/de/tum/cit/aet/artemis/lecture", + "kind": "uses", + "refs": [ + { + "blob_sha": "3c54e43a92f59238d3eff9c8080dbcdc8ecd0680", + "commits": [], + "end_line": 26, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/notifications/GroupNotificationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + }, + { + "blob_sha": "3c54e43a92f59238d3eff9c8080dbcdc8ecd0680", + "commits": [], + "end_line": 27, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/notifications/GroupNotificationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/notification" + }, + { + "count": 1, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/notification->M:src/main/java/de/tum/cit/aet/artemis/plagiarism", + "kind": "uses", + "refs": [ + { + "blob_sha": "f9f043bbb3314d4f37f0ac5040636ee0d8b243bc", + "commits": [], + "end_line": 31, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/notifications/SingleUserNotificationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 31 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/notification" + }, + { + "count": 1, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/programming", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/notification->M:src/main/java/de/tum/cit/aet/artemis/programming", + "kind": "uses", + "refs": [ + { + "blob_sha": "3c54e43a92f59238d3eff9c8080dbcdc8ecd0680", + "commits": [], + "end_line": 37, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/notifications/GroupNotificationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 37 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/notification" + }, + { + "count": 1, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/quiz", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/notification->M:src/main/java/de/tum/cit/aet/artemis/quiz", + "kind": "uses", + "refs": [ + { + "blob_sha": "3c54e43a92f59238d3eff9c8080dbcdc8ecd0680", + "commits": [], + "end_line": 38, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/notification/service/notifications/GroupNotificationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 38 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/notification" + }, + { + "count": 18, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/account", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism->M:src/main/java/de/tum/cit/aet/artemis/account", + "kind": "uses", + "refs": [ + { + "blob_sha": "74f4f26c5ed0c65f315b5314c6850ed9d730ab61", + "commits": [], + "end_line": 12, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/api/PlagiarismCaseApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "ee9324ac4e45fc05b37172c1e6417817844eff91", + "commits": [], + "end_line": 9, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/api/PlagiarismPostApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "442e8320a09767b267766049b717266dedef54e7", + "commits": [], + "end_line": 7, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/api/dtos/PlagiarismMapping.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "9e99d4ea9de03ddc2f28f01b85c738c89ddf6df5", + "commits": [], + "end_line": 22, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/domain/PlagiarismCase.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "5b76fe0ec6bb471eaae29915f8021a45450978ca", + "commits": [], + "end_line": 9, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/dto/PlagiarismCaseOverviewDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "351a3c1206d8e398d49a2f27fef71865846e6687", + "commits": [], + "end_line": 7, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/dto/PlagiarismCaseUserDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "81074687994a97b80ee5be6e7ad7a033a81e44a4", + "commits": [], + "end_line": 22, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/service/ContinuousPlagiarismControlService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "81074687994a97b80ee5be6e7ad7a033a81e44a4", + "commits": [], + "end_line": 23, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/service/ContinuousPlagiarismControlService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "fd110c31bfcd57a69a22476bebe153889f86417b", + "commits": [], + "end_line": 10, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/service/PlagiarismAnswerPostService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "fd110c31bfcd57a69a22476bebe153889f86417b", + "commits": [], + "end_line": 11, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/service/PlagiarismAnswerPostService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism" + }, + { + "count": 40, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/communication", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism->M:src/main/java/de/tum/cit/aet/artemis/communication", + "kind": "uses", + "refs": [ + { + "blob_sha": "ee9324ac4e45fc05b37172c1e6417817844eff91", + "commits": [], + "end_line": 10, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/api/PlagiarismPostApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "ee9324ac4e45fc05b37172c1e6417817844eff91", + "commits": [], + "end_line": 11, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/api/PlagiarismPostApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "ee9324ac4e45fc05b37172c1e6417817844eff91", + "commits": [], + "end_line": 12, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/api/PlagiarismPostApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "ee9324ac4e45fc05b37172c1e6417817844eff91", + "commits": [], + "end_line": 13, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/api/PlagiarismPostApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "9e99d4ea9de03ddc2f28f01b85c738c89ddf6df5", + "commits": [], + "end_line": 23, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/domain/PlagiarismCase.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "cbbe956c5649189a2683818eccbe7e6e612c55bf", + "commits": [], + "end_line": 10, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/dto/PlagiarismAnswerPostCreateRequestDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "4161db87aab40183c03048fbc0e8f4fd5f1b26fa", + "commits": [], + "end_line": 9, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/dto/PlagiarismCasePostSummaryDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "174a368ecbad5d54a4b4a8c8c488d85190c7dd01", + "commits": [], + "end_line": 10, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/dto/PlagiarismPostCreationDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "e79c01de9075907037b0a29bb698749075c544c1", + "commits": [], + "end_line": 11, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/dto/PlagiarismPostCreationResponseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "e79c01de9075907037b0a29bb698749075c544c1", + "commits": [], + "end_line": 12, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/dto/PlagiarismPostCreationResponseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism" + }, + { + "count": 84, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism->M:src/main/java/de/tum/cit/aet/artemis/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "b390ddba0f34eb842f8d723b9408cd21e98285cd", + "commits": [], + "end_line": 3, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/api/AbstractPlagiarismApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "2f833426e49f2fa918d5a0bc378a08f1cc986b78", + "commits": [], + "end_line": 7, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/config/PlagiarismEnabled.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "9e99d4ea9de03ddc2f28f01b85c738c89ddf6df5", + "commits": [], + "end_line": 24, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/domain/PlagiarismCase.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "9e99d4ea9de03ddc2f28f01b85c738c89ddf6df5", + "commits": [], + "end_line": 25, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/domain/PlagiarismCase.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "49bec32cb61dfa748427bbb8fe53c279c742dca6", + "commits": [], + "end_line": 27, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/domain/PlagiarismComparison.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + }, + { + "blob_sha": "49bec32cb61dfa748427bbb8fe53c279c742dca6", + "commits": [], + "end_line": 28, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/domain/PlagiarismComparison.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 + }, + { + "blob_sha": "ae4331ea6caa0d379561a5b683cbdeb3fe8f5ce1", + "commits": [], + "end_line": 17, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/domain/PlagiarismDetectionConfig.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "ae4331ea6caa0d379561a5b683cbdeb3fe8f5ce1", + "commits": [], + "end_line": 18, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/domain/PlagiarismDetectionConfig.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "f1026fd719a147999e5dd669fe6901d448dbdcb0", + "commits": [], + "end_line": 5, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/domain/PlagiarismDetectionConfigHelper.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "5108dca04ea1d7f1d45e887637dd0bb086df6c1c", + "commits": [], + "end_line": 9, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/domain/PlagiarismMatch.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism" + }, + { + "count": 11, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism->M:src/main/java/de/tum/cit/aet/artemis/course", + "kind": "uses", + "refs": [ + { + "blob_sha": "ee9324ac4e45fc05b37172c1e6417817844eff91", + "commits": [], + "end_line": 14, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/api/PlagiarismPostApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "ea2015b44645251680a1b80bf0c393dad3359f4b", + "commits": [], + "end_line": 10, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/dto/PlagiarismCaseExerciseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "fd110c31bfcd57a69a22476bebe153889f86417b", + "commits": [], + "end_line": 24, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/service/PlagiarismAnswerPostService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "fd110c31bfcd57a69a22476bebe153889f86417b", + "commits": [], + "end_line": 25, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/service/PlagiarismAnswerPostService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "1429792ade2ffaa51342b95486d8c6cbed22be0b", + "commits": [], + "end_line": 27, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/service/PlagiarismPostService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + }, + { + "blob_sha": "1429792ade2ffaa51342b95486d8c6cbed22be0b", + "commits": [], + "end_line": 28, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/service/PlagiarismPostService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 + }, + { + "blob_sha": "1429792ade2ffaa51342b95486d8c6cbed22be0b", + "commits": [], + "end_line": 29, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/service/PlagiarismPostService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "13eea2996cd51758ded25f2d4660f54f51bc485a", + "commits": [], + "end_line": 35, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/web/PlagiarismCaseResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 35 + }, + { + "blob_sha": "13eea2996cd51758ded25f2d4660f54f51bc485a", + "commits": [], + "end_line": 36, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/web/PlagiarismCaseResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 36 + }, + { + "blob_sha": "44a79fd56b9b01d94a6d96fb0975df614a6eafb9", + "commits": [], + "end_line": 31, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/web/PlagiarismResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 31 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism" + }, + { + "count": 3, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/exam", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism->M:src/main/java/de/tum/cit/aet/artemis/exam", + "kind": "uses", + "refs": [ + { + "blob_sha": "ea2015b44645251680a1b80bf0c393dad3359f4b", + "commits": [], + "end_line": 11, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/dto/PlagiarismCaseExerciseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "13eea2996cd51758ded25f2d4660f54f51bc485a", + "commits": [], + "end_line": 37, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/web/PlagiarismCaseResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 37 + }, + { + "blob_sha": "13eea2996cd51758ded25f2d4660f54f51bc485a", + "commits": [], + "end_line": 38, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/web/PlagiarismCaseResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 38 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism" + }, + { + "count": 29, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/exercise", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism->M:src/main/java/de/tum/cit/aet/artemis/exercise", + "kind": "uses", + "refs": [ + { + "blob_sha": "78a898b6cb9c7c0c0719c91101f585198713ef92", + "commits": [], + "end_line": 10, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/api/PlagiarismAccessApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "78a898b6cb9c7c0c0719c91101f585198713ef92", + "commits": [], + "end_line": 11, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/api/PlagiarismAccessApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "9e99d4ea9de03ddc2f28f01b85c738c89ddf6df5", + "commits": [], + "end_line": 26, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/domain/PlagiarismCase.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + }, + { + "blob_sha": "9e99d4ea9de03ddc2f28f01b85c738c89ddf6df5", + "commits": [], + "end_line": 27, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/domain/PlagiarismCase.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + }, + { + "blob_sha": "49bec32cb61dfa748427bbb8fe53c279c742dca6", + "commits": [], + "end_line": 29, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/domain/PlagiarismComparison.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "ae4331ea6caa0d379561a5b683cbdeb3fe8f5ce1", + "commits": [], + "end_line": 19, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/domain/PlagiarismDetectionConfig.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "f1026fd719a147999e5dd669fe6901d448dbdcb0", + "commits": [], + "end_line": 6, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/domain/PlagiarismDetectionConfigHelper.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "60ffd5ca6f0c3b791262cf78af97adb83df4742d", + "commits": [], + "end_line": 32, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/domain/PlagiarismResult.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 32 + }, + { + "blob_sha": "c3c39a40cc4ab29fc8222fcc0b6d1c3f4e6d88d8", + "commits": [], + "end_line": 31, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/domain/PlagiarismSubmission.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 31 + }, + { + "blob_sha": "c3c39a40cc4ab29fc8222fcc0b6d1c3f4e6d88d8", + "commits": [], + "end_line": 32, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/domain/PlagiarismSubmission.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 32 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism" + }, + { + "count": 1, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/localvc", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism->M:src/main/java/de/tum/cit/aet/artemis/localvc", + "kind": "uses", + "refs": [ + { + "blob_sha": "18011d301f99cd05f539a441a197777b581451d7", + "commits": [], + "end_line": 60, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/service/ProgrammingPlagiarismDetectionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 60 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism" + }, + { + "count": 1, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/notification", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism->M:src/main/java/de/tum/cit/aet/artemis/notification", + "kind": "uses", + "refs": [ + { + "blob_sha": "64f14080be5cf5c561dd88b6ba3a188ff4128441", + "commits": [], + "end_line": 15, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/service/PlagiarismCaseService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism" + }, + { + "count": 15, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/programming", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism->M:src/main/java/de/tum/cit/aet/artemis/programming", + "kind": "uses", + "refs": [ + { + "blob_sha": "3763a969f54166f97ced1921a8588e8d9888a479", + "commits": [], + "end_line": 14, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/api/PlagiarismDetectionApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "1ed38b2cae98599cda794e3c78ecfc2ac0363add", + "commits": [], + "end_line": 18, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/domain/PlagiarismSubmissionElement.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "cbe27b97fe4d96d8cbfbad703b448057a250f5df", + "commits": [], + "end_line": 3, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/exception/ProgrammingLanguageNotSupportedForPlagiarismDetectionException.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "81074687994a97b80ee5be6e7ad7a033a81e44a4", + "commits": [], + "end_line": 45, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/service/ContinuousPlagiarismControlService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 45 + }, + { + "blob_sha": "fc4d0f4e839182d0b937cb93133e3f5640cc01e8", + "commits": [], + "end_line": 18, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/service/PlagiarismDetectionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "fc4d0f4e839182d0b937cb93133e3f5640cc01e8", + "commits": [], + "end_line": 19, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/service/PlagiarismDetectionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "cc3f6d2d5c1b8d2dfe5842b7c61510fc007c2e2e", + "commits": [], + "end_line": 22, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/service/PlagiarismService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "18011d301f99cd05f539a441a197777b581451d7", + "commits": [], + "end_line": 67, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/service/ProgrammingPlagiarismDetectionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 67 + }, + { + "blob_sha": "18011d301f99cd05f539a441a197777b581451d7", + "commits": [], + "end_line": 68, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/service/ProgrammingPlagiarismDetectionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 68 + }, + { + "blob_sha": "18011d301f99cd05f539a441a197777b581451d7", + "commits": [], + "end_line": 69, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/service/ProgrammingPlagiarismDetectionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 69 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism" + }, + { + "count": 7, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/text", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism->M:src/main/java/de/tum/cit/aet/artemis/text", + "kind": "uses", + "refs": [ + { + "blob_sha": "3763a969f54166f97ced1921a8588e8d9888a479", + "commits": [], + "end_line": 15, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/api/PlagiarismDetectionApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "81074687994a97b80ee5be6e7ad7a033a81e44a4", + "commits": [], + "end_line": 46, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/service/ContinuousPlagiarismControlService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 46 + }, + { + "blob_sha": "fc4d0f4e839182d0b937cb93133e3f5640cc01e8", + "commits": [], + "end_line": 20, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/service/PlagiarismDetectionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "1a9a46952fba7608dda06b7f51131969b388c7df", + "commits": [], + "end_line": 34, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/service/TextPlagiarismDetectionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 34 + }, + { + "blob_sha": "1a9a46952fba7608dda06b7f51131969b388c7df", + "commits": [], + "end_line": 35, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/service/TextPlagiarismDetectionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 35 + }, + { + "blob_sha": "1a9a46952fba7608dda06b7f51131969b388c7df", + "commits": [], + "end_line": 36, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/service/TextPlagiarismDetectionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 36 + }, + { + "blob_sha": "1a9a46952fba7608dda06b7f51131969b388c7df", + "commits": [], + "end_line": 37, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/plagiarism/service/TextPlagiarismDetectionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 37 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism" + }, + { + "count": 79, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/account", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/account", + "kind": "uses", + "refs": [ + { + "blob_sha": "ebad7e99bd912fd03c4e22d83c0cf54187e969d3", + "commits": [], + "end_line": 10, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/ParticipationVCSAccessToken.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "248d962e4430258209e09d723ecd85a90eef9c5d", + "commits": [], + "end_line": 13, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/RepositoryVCSAccessToken.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "ec1a3e8263a84de0e547fcb6487b6d5480252e44", + "commits": [], + "end_line": 15, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/VcsAccessLog.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "d666e889f03b29731320109a046cf2340be83025", + "commits": [], + "end_line": 23, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/ide/UserIdeMapping.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "7ad127fe081102c406c734e7f761b357c78010b5", + "commits": [], + "end_line": 9, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/ParticipationBuildTriggerDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "f32012f3923bc79b4787d2fe1b762bf093d25726", + "commits": [], + "end_line": 13, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/ProgrammingParticipationLatestResultDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "12f70da5c39f8e92b41e2a60f217df4474a83969", + "commits": [], + "end_line": 15, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/repository/UserSshPublicKeyRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "ff3ef1abbd83db014106d06736485f140ef57e63", + "commits": [], + "end_line": 22, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/MavenCentralRateLimitNotificationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "ff3ef1abbd83db014106d06736485f140ef57e63", + "commits": [], + "end_line": 23, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/MavenCentralRateLimitNotificationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "3abbcd3b43c5c9242b0a4bda07ec50c153cef363", + "commits": [], + "end_line": 18, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingAssessmentService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" + }, + { + "count": 2, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/admin", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/admin", + "kind": "uses", + "refs": [ + { + "blob_sha": "d7043bbd898cad38d3ef4d1e8a6b0e804082ad54", + "commits": [], + "end_line": 20, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/web/ProgrammingExerciseGradingResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "0569d0a03f19a9d7171055fd7810aafaf0fa233e", + "commits": [], + "end_line": 20, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/web/ProgrammingExerciseReEvaluationResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" + }, + { + "count": 156, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/assessment", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/assessment", + "kind": "uses", + "refs": [ + { + "blob_sha": "ee6b8174cc03c7c2aea192f77ca67f6889f8e022", + "commits": [], + "end_line": 45, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/ProgrammingExercise.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 45 + }, + { + "blob_sha": "ee6b8174cc03c7c2aea192f77ca67f6889f8e022", + "commits": [], + "end_line": 46, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/ProgrammingExercise.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 46 + }, + { + "blob_sha": "ee6b8174cc03c7c2aea192f77ca67f6889f8e022", + "commits": [], + "end_line": 47, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/ProgrammingExercise.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 47 + }, + { + "blob_sha": "f884b565352d3524273a4ef845b331eccff46d45", + "commits": [], + "end_line": 26, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/ProgrammingExerciseTestCase.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + }, + { + "blob_sha": "f884b565352d3524273a4ef845b331eccff46d45", + "commits": [], + "end_line": 27, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/ProgrammingExerciseTestCase.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + }, + { + "blob_sha": "a58780e31c8e3773f12f48d5692e856229128df4", + "commits": [], + "end_line": 15, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/StaticCodeAnalysisCategory.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "e338c963fa2338f380d3b20adf91bd24d06ff82e", + "commits": [], + "end_line": 5, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/StaticCodeAnalysisDefaultCategory.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "c46089d4cb99968b3a8a8555b61d57182bc8be1c", + "commits": [], + "end_line": 9, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/BuildResultSubmissionDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "c46089d4cb99968b3a8a8555b61d57182bc8be1c", + "commits": [], + "end_line": 10, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/BuildResultSubmissionDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "4116b4a726d0a03c7cbce59b10f4a855ba6bc370", + "commits": [], + "end_line": 16, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/CreateProgrammingExerciseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" + }, + { + "count": 3, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/athena", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/athena", + "kind": "uses", + "refs": [ + { + "blob_sha": "3abbcd3b43c5c9242b0a4bda07ec50c153cef363", + "commits": [], + "end_line": 34, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingAssessmentService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 34 + }, + { + "blob_sha": "cfc387fac0c2abc5b4ad778c361de6320bac323f", + "commits": [], + "end_line": 28, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingExerciseCodeReviewFeedbackService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 + }, + { + "blob_sha": "f8e619b7edd9fc542c8abab530ebedf53cd08aab", + "commits": [], + "end_line": 36, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingSubmissionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 36 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" + }, + { + "count": 4, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/atlas", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/atlas", + "kind": "uses", + "refs": [ + { + "blob_sha": "d3f7f529161fa783db57094a0693a6f6f9911c43", + "commits": [], + "end_line": 18, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/ProgrammingExerciseResponseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "1cb77506925cdf47150270cbd08d6392cdc60eff", + "commits": [], + "end_line": 17, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/UpdateProgrammingExerciseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "f70d48b4251c4bebef6d0cf5979fd7e265f4a3a0", + "commits": [], + "end_line": 12, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingExerciseAtlasIrisService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "5b3f37f158ef1dea30d886cc3462f838d5bb40ff", + "commits": [], + "end_line": 50, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/web/ProgrammingExerciseExportImportResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 50 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" + }, + { + "count": 4, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/buildagent", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/buildagent", + "kind": "uses", + "refs": [ + { + "blob_sha": "c18d7edf507dafa0409e4fc5d4550fcb86af7387", + "commits": [], + "end_line": 29, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/BuildLogEntryService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "6ffa3a6e2dfc2161882e20f27b344c87ad7577c4", + "commits": [], + "end_line": 22, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingExerciseBuildConfigService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "6ffa3a6e2dfc2161882e20f27b344c87ad7577c4", + "commits": [], + "end_line": 23, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingExerciseBuildConfigService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "93bf039ec7a5321854b449e02fea787822a510cd", + "commits": [], + "end_line": 32, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingExerciseValidationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 32 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" + }, + { + "count": 6, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/communication", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/communication", + "kind": "uses", + "refs": [ + { + "blob_sha": "5b5c0b02d3f77a08077235f8637bf7b1884009f2", + "commits": [], + "end_line": 34, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingExerciseCreationUpdateService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 34 + }, + { + "blob_sha": "f995f1cf6fae9705fb651d781e8ec038758ca840", + "commits": [], + "end_line": 30, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingExerciseImportBasicService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 30 + }, + { + "blob_sha": "117e92808bd06872e07d3e2c2af0e0f780f7ba6d", + "commits": [], + "end_line": 19, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingMessagingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "df8239735a4fdbe271a64b096c2c47f52b90e27f", + "commits": [], + "end_line": 11, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingSubmissionMessagingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "3215184ae62bb7274e6012898b63c8071646ff81", + "commits": [], + "end_line": 10, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingTestCaseChangedUserNotificationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "f80f8340238b52640e19f78b57f349a2140abba4", + "commits": [], + "end_line": 27, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/web/ProgrammingExerciseRetrievalResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" + }, + { + "count": 602, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "88753d574ed43c6186e7ac38e15fe8f9c4546030", + "commits": [], + "end_line": 11, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/api/ProgrammingDemoApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "88753d574ed43c6186e7ac38e15fe8f9c4546030", + "commits": [], + "end_line": 3, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/api/ProgrammingDemoApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "039728901ac19ab0cbf0b3ab62be8a2432445764", + "commits": [], + "end_line": 18, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/AuxiliaryRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "039728901ac19ab0cbf0b3ab62be8a2432445764", + "commits": [], + "end_line": 19, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/AuxiliaryRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "ebad7e99bd912fd03c4e22d83c0cf54187e969d3", + "commits": [], + "end_line": 11, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/ParticipationVCSAccessToken.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "ebad7e99bd912fd03c4e22d83c0cf54187e969d3", + "commits": [], + "end_line": 12, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/ParticipationVCSAccessToken.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "ee6b8174cc03c7c2aea192f77ca67f6889f8e022", + "commits": [], + "end_line": 3, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/ProgrammingExercise.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "ee6b8174cc03c7c2aea192f77ca67f6889f8e022", + "commits": [], + "end_line": 48, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/ProgrammingExercise.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 48 + }, + { + "blob_sha": "ee6b8174cc03c7c2aea192f77ca67f6889f8e022", + "commits": [], + "end_line": 4, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/ProgrammingExercise.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "42ce4f434056ceed29f9a9124ff9f6d40da06563", + "commits": [], + "end_line": 27, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/ProgrammingExerciseBuildConfig.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" + }, + { + "count": 44, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/course", + "kind": "uses", + "refs": [ + { + "blob_sha": "88753d574ed43c6186e7ac38e15fe8f9c4546030", + "commits": [], + "end_line": 12, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/api/ProgrammingDemoApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "ee6b8174cc03c7c2aea192f77ca67f6889f8e022", + "commits": [], + "end_line": 49, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/ProgrammingExercise.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 49 + }, + { + "blob_sha": "4116b4a726d0a03c7cbce59b10f4a855ba6bc370", + "commits": [], + "end_line": 18, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/CreateProgrammingExerciseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "e9f02dd24c2fa322af9372f139f3e1f4927e9034", + "commits": [], + "end_line": 10, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/GitRepositoryAccessDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "59ba54c7cc7e7a3120e31df3b2bfeabb0bac0966", + "commits": [], + "end_line": 18, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/ImportProgrammingExerciseRequestDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "9e3f5fd13d7db3769d264bf97e13d365ef01d68a", + "commits": [], + "end_line": 11, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/ProgrammingExerciseCourseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "9e3f5fd13d7db3769d264bf97e13d365ef01d68a", + "commits": [], + "end_line": 12, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/ProgrammingExerciseCourseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "9e3f5fd13d7db3769d264bf97e13d365ef01d68a", + "commits": [], + "end_line": 13, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/ProgrammingExerciseCourseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "705bff14da29f22750e2cffe643ef3ebe279b285", + "commits": [], + "end_line": 8, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/ProgrammingExerciseRequestDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "705bff14da29f22750e2cffe643ef3ebe279b285", + "commits": [], + "end_line": 9, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/ProgrammingExerciseRequestDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" + }, + { + "count": 1, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/deimos", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/deimos", + "kind": "uses", + "refs": [ + { + "blob_sha": "78e10298ac4b758743957ee3cd22de9840f810a3", + "commits": [], + "end_line": 35, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/repository/ProgrammingExerciseRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 35 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" + }, + { + "count": 11, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/exam", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/exam", + "kind": "uses", + "refs": [ + { + "blob_sha": "06619f609de6c9131518a89f62e1ff5258a10fe1", + "commits": [], + "end_line": 6, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/ExerciseGroupIdDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "e9f02dd24c2fa322af9372f139f3e1f4927e9034", + "commits": [], + "end_line": 11, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/GitRepositoryAccessDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "e9f02dd24c2fa322af9372f139f3e1f4927e9034", + "commits": [], + "end_line": 12, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/GitRepositoryAccessDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "d9d4e766faaf0e4184269dd899bb61488706e63c", + "commits": [], + "end_line": 10, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/ProgrammingExerciseExamGroupDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "d9d4e766faaf0e4184269dd899bb61488706e63c", + "commits": [], + "end_line": 11, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/ProgrammingExerciseExamGroupDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "d9d4e766faaf0e4184269dd899bb61488706e63c", + "commits": [], + "end_line": 12, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/ProgrammingExerciseExamGroupDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "37ab8f2791d7aecf206527f2ae7fbc3035ceb0b7", + "commits": [], + "end_line": 18, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/ProgrammingSubmissionForTutorAssessmentDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "3abbcd3b43c5c9242b0a4bda07ec50c153cef363", + "commits": [], + "end_line": 36, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingAssessmentService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 36 + }, + { + "blob_sha": "7d8cb6d33bef03c6ba4a778b76b07ccada6db317", + "commits": [], + "end_line": 32, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingExerciseScheduleService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 32 + }, + { + "blob_sha": "7b8e0933b546014b3fb4990266ea6884b6a4240d", + "commits": [], + "end_line": 40, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/web/ProgrammingExerciseRepositoryExportResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 40 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" + }, + { + "count": 213, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/exercise", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/exercise", + "kind": "uses", + "refs": [ + { + "blob_sha": "39a755db2753a05b3b1cf2122cfed88706439c42", + "commits": [], + "end_line": 10, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/AbstractBaseProgrammingExerciseParticipation.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "39a755db2753a05b3b1cf2122cfed88706439c42", + "commits": [], + "end_line": 11, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/AbstractBaseProgrammingExerciseParticipation.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "18a8fdd4bd36b443ccbdd576038687bb7dece6ed", + "commits": [], + "end_line": 5, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/ParticipationLifecycle.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "ebad7e99bd912fd03c4e22d83c0cf54187e969d3", + "commits": [], + "end_line": 13, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/ParticipationVCSAccessToken.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "ee6b8174cc03c7c2aea192f77ca67f6889f8e022", + "commits": [], + "end_line": 50, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/ProgrammingExercise.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 50 + }, + { + "blob_sha": "ee6b8174cc03c7c2aea192f77ca67f6889f8e022", + "commits": [], + "end_line": 5, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/ProgrammingExercise.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "ee6b8174cc03c7c2aea192f77ca67f6889f8e022", + "commits": [], + "end_line": 51, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/ProgrammingExercise.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 51 + }, + { + "blob_sha": "ee6b8174cc03c7c2aea192f77ca67f6889f8e022", + "commits": [], + "end_line": 52, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/ProgrammingExercise.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 52 + }, + { + "blob_sha": "ee6b8174cc03c7c2aea192f77ca67f6889f8e022", + "commits": [], + "end_line": 53, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/ProgrammingExercise.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 53 + }, + { + "blob_sha": "a911ec32100a0769c5314d772f342976f3c42ce8", + "commits": [], + "end_line": 14, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/ProgrammingExerciseParticipation.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" + }, + { + "count": 3, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/hyperion", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/hyperion", + "kind": "uses", + "refs": [ + { + "blob_sha": "d4140659477cfbbdba6b8a6e437b290816f698da", + "commits": [], + "end_line": 25, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingExerciseImportService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "d4140659477cfbbdba6b8a6e437b290816f698da", + "commits": [], + "end_line": 26, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingExerciseImportService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + }, + { + "blob_sha": "93bd8d46eae34f460159bb54b9a60fc53b1f736a", + "commits": [], + "end_line": 13, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingExerciseMutationGuardService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" + }, + { + "count": 2, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/iris", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/iris", + "kind": "uses", + "refs": [ + { + "blob_sha": "117e92808bd06872e07d3e2c2af0e0f780f7ba6d", + "commits": [], + "end_line": 25, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingMessagingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "117e92808bd06872e07d3e2c2af0e0f780f7ba6d", + "commits": [], + "end_line": 26, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingMessagingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" + }, + { + "count": 1, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/jenkins", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/jenkins", + "kind": "uses", + "refs": [ + { + "blob_sha": "853b0c4159ce36b5f7ab3fbd95993b733f340f94", + "commits": [], + "end_line": 4, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingExerciseExportService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" + }, + { + "count": 6, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/lecture", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/lecture", + "kind": "uses", + "refs": [ + { + "blob_sha": "4116b4a726d0a03c7cbce59b10f4a855ba6bc370", + "commits": [], + "end_line": 24, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/CreateProgrammingExerciseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "59ba54c7cc7e7a3120e31df3b2bfeabb0bac0966", + "commits": [], + "end_line": 24, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/ImportProgrammingExerciseRequestDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "d3f7f529161fa783db57094a0693a6f6f9911c43", + "commits": [], + "end_line": 26, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/ProgrammingExerciseResponseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + }, + { + "blob_sha": "1cb77506925cdf47150270cbd08d6392cdc60eff", + "commits": [], + "end_line": 23, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/UpdateProgrammingExerciseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "44cc95421b0504c08c6adf8cf82b06ee9831b93b", + "commits": [], + "end_line": 19, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingExerciseReEvaluationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "2ab573f061123249b67498c1673705c0cd2454fe", + "commits": [], + "end_line": 42, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/web/ProgrammingExerciseUpdateResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 42 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" + }, + { + "count": 34, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/localci", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/localci", + "kind": "uses", + "refs": [ + { + "blob_sha": "461f01f9dffbadb70ea8230b23b6659f977ea7ca", + "commits": [], + "end_line": 13, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/BuildResultNotification.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "b331fbf86c472b96d86115e1bef8e595a1306518", + "commits": [], + "end_line": 16, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/AsyncBuildTriggerService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "6db3ec9ffe1934ff64b186633e5d03716b60713b", + "commits": [], + "end_line": 15, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/AutomaticBuildJobCleanupService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "c18d7edf507dafa0409e4fc5d4550fcb86af7387", + "commits": [], + "end_line": 31, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/BuildLogEntryService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 31 + }, + { + "blob_sha": "c18d7edf507dafa0409e4fc5d4550fcb86af7387", + "commits": [], + "end_line": 32, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/BuildLogEntryService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 32 + }, + { + "blob_sha": "c18d7edf507dafa0409e4fc5d4550fcb86af7387", + "commits": [], + "end_line": 33, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/BuildLogEntryService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 33 + }, + { + "blob_sha": "2fd7aac38b7d4953c35d80aa45c7268057a5621b", + "commits": [], + "end_line": 14, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ConsistencyCheckService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "4f367df3781d2719aecd9c7d6c0ab6d2e624ba66", + "commits": [], + "end_line": 25, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingDemoService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "d02d216672369656f7dd2e61d379affd68d349a7", + "commits": [], + "end_line": 22, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingExerciseBuildPlanService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "d02d216672369656f7dd2e61d379affd68d349a7", + "commits": [], + "end_line": 23, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingExerciseBuildPlanService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" + }, + { + "count": 68, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/localvc", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/localvc", + "kind": "uses", + "refs": [ + { + "blob_sha": "039728901ac19ab0cbf0b3ab62be8a2432445764", + "commits": [], + "end_line": 20, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/AuxiliaryRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "039728901ac19ab0cbf0b3ab62be8a2432445764", + "commits": [], + "end_line": 21, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/AuxiliaryRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "ee6b8174cc03c7c2aea192f77ca67f6889f8e022", + "commits": [], + "end_line": 54, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/ProgrammingExercise.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 54 + }, + { + "blob_sha": "ee6b8174cc03c7c2aea192f77ca67f6889f8e022", + "commits": [], + "end_line": 55, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/ProgrammingExercise.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 55 + }, + { + "blob_sha": "a911ec32100a0769c5314d772f342976f3c42ce8", + "commits": [], + "end_line": 15, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/ProgrammingExerciseParticipation.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "a911ec32100a0769c5314d772f342976f3c42ce8", + "commits": [], + "end_line": 16, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/ProgrammingExerciseParticipation.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "e777a5748129b72e7a4325f775f94772b690c699", + "commits": [], + "end_line": 11, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/domain/Repository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "2a040a6925a95cfe6fcdfd15c55b527140b4988d", + "commits": [], + "end_line": 11, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/exception/VersionControlException.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "c3b442d4cc0730c7ff6983fb72332209ad82413b", + "commits": [], + "end_line": 29, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/AutomaticProgrammingExerciseCleanupService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "c3b442d4cc0730c7ff6983fb72332209ad82413b", + "commits": [], + "end_line": 30, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/AutomaticProgrammingExerciseCleanupService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 30 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" + }, + { + "count": 2, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/lti", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/lti", + "kind": "uses", + "refs": [ + { + "blob_sha": "3abbcd3b43c5c9242b0a4bda07ec50c153cef363", + "commits": [], + "end_line": 42, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingAssessmentService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 42 + }, + { + "blob_sha": "117e92808bd06872e07d3e2c2af0e0f780f7ba6d", + "commits": [], + "end_line": 27, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingMessagingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" + }, + { + "count": 13, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/notification", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/notification", + "kind": "uses", + "refs": [ + { + "blob_sha": "ff3ef1abbd83db014106d06736485f140ef57e63", + "commits": [], + "end_line": 27, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/MavenCentralRateLimitNotificationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + }, + { + "blob_sha": "ff3ef1abbd83db014106d06736485f140ef57e63", + "commits": [], + "end_line": 28, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/MavenCentralRateLimitNotificationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 + }, + { + "blob_sha": "ff3ef1abbd83db014106d06736485f140ef57e63", + "commits": [], + "end_line": 29, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/MavenCentralRateLimitNotificationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "ff3ef1abbd83db014106d06736485f140ef57e63", + "commits": [], + "end_line": 30, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/MavenCentralRateLimitNotificationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 30 + }, + { + "blob_sha": "3abbcd3b43c5c9242b0a4bda07ec50c153cef363", + "commits": [], + "end_line": 43, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingAssessmentService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 43 + }, + { + "blob_sha": "e32e7d244272035480f6f470f23920898b8b053e", + "commits": [], + "end_line": 10, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingExerciseCreationScheduleService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "ec3781ee78c29a3b3211107d506c4b7f0c8c2f75", + "commits": [], + "end_line": 55, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingExerciseGradingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 55 + }, + { + "blob_sha": "117e92808bd06872e07d3e2c2af0e0f780f7ba6d", + "commits": [], + "end_line": 28, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingMessagingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 + }, + { + "blob_sha": "3215184ae62bb7274e6012898b63c8071646ff81", + "commits": [], + "end_line": 11, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingTestCaseChangedUserNotificationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "cf64902eff97dc1e13de85beca8df6bd4f1cd810", + "commits": [], + "end_line": 20, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/tokens/UserTokenExpiryNotificationService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" + }, + { + "count": 16, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/programming->M:src/main/java/de/tum/cit/aet/artemis/plagiarism", + "kind": "uses", + "refs": [ + { + "blob_sha": "4116b4a726d0a03c7cbce59b10f4a855ba6bc370", + "commits": [], + "end_line": 25, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/CreateProgrammingExerciseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "59ba54c7cc7e7a3120e31df3b2bfeabb0bac0966", + "commits": [], + "end_line": 25, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/ImportProgrammingExerciseRequestDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "705bff14da29f22750e2cffe643ef3ebe279b285", + "commits": [], + "end_line": 14, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/ProgrammingExerciseRequestDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "d3f7f529161fa783db57094a0693a6f6f9911c43", + "commits": [], + "end_line": 27, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/ProgrammingExerciseResponseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + }, + { + "blob_sha": "1cb77506925cdf47150270cbd08d6392cdc60eff", + "commits": [], + "end_line": 24, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/dto/UpdateProgrammingExerciseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "f995f1cf6fae9705fb651d781e8ec038758ca840", + "commits": [], + "end_line": 38, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingExerciseImportBasicService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 38 + }, + { + "blob_sha": "e02717fb94e05e7bb0af4ced323282e3f0936be9", + "commits": [], + "end_line": 23, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingExerciseUpdateMappingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "3b0d7b4ee914ee500080fcfc418ec83aceab7e6d", + "commits": [], + "end_line": 21, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/service/RepositoryAccessService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "8d697244afdd30ea42f487d29b0da9eae0680873", + "commits": [], + "end_line": 48, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/web/ProgrammingExerciseCreationResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 48 + }, + { + "blob_sha": "e171d1cc7b609507040476b57b707e6dc9030871", + "commits": [], + "end_line": 34, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/programming/web/ProgrammingExercisePlagiarismResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 34 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/programming" + }, + { + "count": 26, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/account", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/quiz->M:src/main/java/de/tum/cit/aet/artemis/account", + "kind": "uses", + "refs": [ + { + "blob_sha": "822b2fa4cdc1465b0f1772fbc4cb61077f19f6f6", + "commits": [], + "end_line": 11, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/api/QuizDemoApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "7d85e34f76d7de29d7240d68e0177e7f3632e278", + "commits": [], + "end_line": 14, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/domain/QuizTrainingLeaderboard.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "3d7e42b3a26890176ebda6db05c8a6a6093a3e35", + "commits": [], + "end_line": 7, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/dto/participation/StudentQuizParticipationBaseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "ef4b101542c1966a026665bbabc12f4d11b38649", + "commits": [], + "end_line": 15, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/AbstractQuizSubmissionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "5d0efc22ca8f3cf5d1946463f269b78622dcdcd4", + "commits": [], + "end_line": 19, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizBatchService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "f5fed88141a7acb4cac715681e49f122b55ae55b", + "commits": [], + "end_line": 26, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizDemoService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + }, + { + "blob_sha": "be066121e58ead0738eb782e93de0bba68465916", + "commits": [], + "end_line": 39, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizExerciseService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 39 + }, + { + "blob_sha": "be066121e58ead0738eb782e93de0bba68465916", + "commits": [], + "end_line": 40, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizExerciseService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 40 + }, + { + "blob_sha": "2c851c70ad58d4ca93a2f09f1058ba924f1620aa", + "commits": [], + "end_line": 25, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizSubmissionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "5f402d406e2788aa8abbfb20f7368dd6867f4ebe", + "commits": [], + "end_line": 16, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizTrainingLeaderboardService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/quiz" + }, + { + "count": 1, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/admin", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/quiz->M:src/main/java/de/tum/cit/aet/artemis/admin", + "kind": "uses", + "refs": [ + { + "blob_sha": "016dadcf6c98fcbb5dc3fb8206d285b966a88952", + "commits": [], + "end_line": 21, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizExerciseWithSubmissionsExportService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/quiz" + }, + { + "count": 25, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/assessment", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/quiz->M:src/main/java/de/tum/cit/aet/artemis/assessment", + "kind": "uses", + "refs": [ + { + "blob_sha": "23d8195cbf57248304f522330dfb479570977a79", + "commits": [], + "end_line": 31, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/domain/QuizExercise.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 31 + }, + { + "blob_sha": "20202bac1e0e58ffd71d14b4d9ec2ca609cd305c", + "commits": [], + "end_line": 14, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/dto/exercise/QuizExerciseDetailsDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "708b480fc7b13e3add24c4000618fee807e023fa", + "commits": [], + "end_line": 7, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/dto/result/ResultAfterEvaluationDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "708b480fc7b13e3add24c4000618fee807e023fa", + "commits": [], + "end_line": 8, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/dto/result/ResultAfterEvaluationDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "aec0d906c3a1c719f8cb6e9c5dfd0b3ba01a2d51", + "commits": [], + "end_line": 6, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/dto/result/ResultAfterEvaluationWithSubmissionDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "2f3e55d5e4bf65f25e29baf84ca6eeed7389e129", + "commits": [], + "end_line": 25, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizExerciseImportService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "2f3e55d5e4bf65f25e29baf84ca6eeed7389e129", + "commits": [], + "end_line": 26, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizExerciseImportService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + }, + { + "blob_sha": "2f3e55d5e4bf65f25e29baf84ca6eeed7389e129", + "commits": [], + "end_line": 27, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizExerciseImportService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + }, + { + "blob_sha": "be066121e58ead0738eb782e93de0bba68465916", + "commits": [], + "end_line": 41, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizExerciseService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 41 + }, + { + "blob_sha": "be066121e58ead0738eb782e93de0bba68465916", + "commits": [], + "end_line": 42, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizExerciseService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 42 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/quiz" + }, + { + "count": 7, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/atlas", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/quiz->M:src/main/java/de/tum/cit/aet/artemis/atlas", + "kind": "uses", + "refs": [ + { + "blob_sha": "20202bac1e0e58ffd71d14b4d9ec2ca609cd305c", + "commits": [], + "end_line": 15, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/dto/exercise/QuizExerciseDetailsDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "20202bac1e0e58ffd71d14b4d9ec2ca609cd305c", + "commits": [], + "end_line": 16, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/dto/exercise/QuizExerciseDetailsDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "20202bac1e0e58ffd71d14b4d9ec2ca609cd305c", + "commits": [], + "end_line": 17, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/dto/exercise/QuizExerciseDetailsDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "20202bac1e0e58ffd71d14b4d9ec2ca609cd305c", + "commits": [], + "end_line": 18, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/dto/exercise/QuizExerciseDetailsDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "20202bac1e0e58ffd71d14b4d9ec2ca609cd305c", + "commits": [], + "end_line": 19, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/dto/exercise/QuizExerciseDetailsDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "2f3e55d5e4bf65f25e29baf84ca6eeed7389e129", + "commits": [], + "end_line": 28, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizExerciseImportService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 + }, + { + "blob_sha": "be066121e58ead0738eb782e93de0bba68465916", + "commits": [], + "end_line": 43, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizExerciseService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 43 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/quiz" + }, + { + "count": 4, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/calendar", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/quiz->M:src/main/java/de/tum/cit/aet/artemis/calendar", + "kind": "uses", + "refs": [ + { + "blob_sha": "091b913fc71de932e3dbe55bde3fcd3107943c09", + "commits": [], + "end_line": 23, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/repository/QuizExerciseRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "be066121e58ead0738eb782e93de0bba68465916", + "commits": [], + "end_line": 44, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizExerciseService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 44 + }, + { + "blob_sha": "be066121e58ead0738eb782e93de0bba68465916", + "commits": [], + "end_line": 45, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizExerciseService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 45 + }, + { + "blob_sha": "be066121e58ead0738eb782e93de0bba68465916", + "commits": [], + "end_line": 46, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizExerciseService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 46 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/quiz" + }, + { + "count": 7, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/communication", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/quiz->M:src/main/java/de/tum/cit/aet/artemis/communication", + "kind": "uses", + "refs": [ + { + "blob_sha": "2f3e55d5e4bf65f25e29baf84ca6eeed7389e129", + "commits": [], + "end_line": 29, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizExerciseImportService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "be066121e58ead0738eb782e93de0bba68465916", + "commits": [], + "end_line": 47, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizExerciseService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 47 + }, + { + "blob_sha": "be066121e58ead0738eb782e93de0bba68465916", + "commits": [], + "end_line": 48, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizExerciseService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 48 + }, + { + "blob_sha": "270055725563d296e969eb3930ef6e86f23ff2c1", + "commits": [], + "end_line": 19, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizMessagingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "0f77ff0b196ba8a1f59e5e088eb2aab4e4dedffb", + "commits": [], + "end_line": 21, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizStatisticsService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "2c851c70ad58d4ca93a2f09f1058ba924f1620aa", + "commits": [], + "end_line": 29, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizSubmissionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "f03d5875f8ce59e1cb46f2bd340ab876e79da6a3", + "commits": [], + "end_line": 25, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/web/QuizExerciseRetrievalResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/quiz" + }, + { + "count": 240, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/quiz->M:src/main/java/de/tum/cit/aet/artemis/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "822b2fa4cdc1465b0f1772fbc4cb61077f19f6f6", + "commits": [], + "end_line": 12, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/api/QuizDemoApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "822b2fa4cdc1465b0f1772fbc4cb61077f19f6f6", + "commits": [], + "end_line": 3, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/api/QuizDemoApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "7025c50e1bf0deaa860a0d6ae9fec27a7e449f90", + "commits": [], + "end_line": 14, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/api/QuizQuestionApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "7025c50e1bf0deaa860a0d6ae9fec27a7e449f90", + "commits": [], + "end_line": 3, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/api/QuizQuestionApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "bfd8eec837797c5f82717c96a536fe57a4614f98", + "commits": [], + "end_line": 5, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/domain/AnswerOption.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "d7ea12ff802f1bb64733e825cc90b8a80beeafc8", + "commits": [], + "end_line": 6, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/domain/DragAndDropCorrectMapping.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "97073e83f97d0b826d861ce5215def800b3076a2", + "commits": [], + "end_line": 5, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/domain/DragAndDropMapping.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "28fb80e7aacb1281dad06ed43137ce1841e3e3e9", + "commits": [], + "end_line": 24, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/domain/DragAndDropQuestion.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "28fb80e7aacb1281dad06ed43137ce1841e3e3e9", + "commits": [], + "end_line": 25, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/domain/DragAndDropQuestion.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "28fb80e7aacb1281dad06ed43137ce1841e3e3e9", + "commits": [], + "end_line": 26, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/domain/DragAndDropQuestion.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/quiz" + }, + { + "count": 14, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/quiz->M:src/main/java/de/tum/cit/aet/artemis/course", + "kind": "uses", + "refs": [ + { + "blob_sha": "822b2fa4cdc1465b0f1772fbc4cb61077f19f6f6", + "commits": [], + "end_line": 13, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/api/QuizDemoApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "7d85e34f76d7de29d7240d68e0177e7f3632e278", + "commits": [], + "end_line": 17, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/domain/QuizTrainingLeaderboard.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "20202bac1e0e58ffd71d14b4d9ec2ca609cd305c", + "commits": [], + "end_line": 20, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/dto/exercise/QuizExerciseDetailsDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "120e320c9020fb98d2f6de65f86294973af86209", + "commits": [], + "end_line": 5, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/dto/exercise/QuizExerciseForSearchDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "b05bd1d35a0763a2a07c094ecf3607c5703d515d", + "commits": [], + "end_line": 12, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/dto/exercise/QuizExerciseWithoutQuestionsDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "f5fed88141a7acb4cac715681e49f122b55ae55b", + "commits": [], + "end_line": 31, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizDemoService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 31 + }, + { + "blob_sha": "be066121e58ead0738eb782e93de0bba68465916", + "commits": [], + "end_line": 61, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizExerciseService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 61 + }, + { + "blob_sha": "5f402d406e2788aa8abbfb20f7368dd6867f4ebe", + "commits": [], + "end_line": 18, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizTrainingLeaderboardService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "5f402d406e2788aa8abbfb20f7368dd6867f4ebe", + "commits": [], + "end_line": 19, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizTrainingLeaderboardService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "115635f35c2443ce6a40db3405e578e3576e3bcf", + "commits": [], + "end_line": 40, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/web/QuizExerciseCreationUpdateResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 40 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/quiz" + }, + { + "count": 17, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/exam", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/quiz->M:src/main/java/de/tum/cit/aet/artemis/exam", + "kind": "uses", + "refs": [ + { + "blob_sha": "822b2fa4cdc1465b0f1772fbc4cb61077f19f6f6", + "commits": [], + "end_line": 14, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/api/QuizDemoApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "9e03c40da1daa3990c2f5d70b70c8e897d8db3ee", + "commits": [], + "end_line": 20, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/domain/QuizSubmission.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "20202bac1e0e58ffd71d14b4d9ec2ca609cd305c", + "commits": [], + "end_line": 21, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/dto/exercise/QuizExerciseDetailsDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "120e320c9020fb98d2f6de65f86294973af86209", + "commits": [], + "end_line": 6, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/dto/exercise/QuizExerciseForSearchDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "f5fed88141a7acb4cac715681e49f122b55ae55b", + "commits": [], + "end_line": 32, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizDemoService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 32 + }, + { + "blob_sha": "be066121e58ead0738eb782e93de0bba68465916", + "commits": [], + "end_line": 62, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizExerciseService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 62 + }, + { + "blob_sha": "be066121e58ead0738eb782e93de0bba68465916", + "commits": [], + "end_line": 63, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizExerciseService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 63 + }, + { + "blob_sha": "be066121e58ead0738eb782e93de0bba68465916", + "commits": [], + "end_line": 64, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizExerciseService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 64 + }, + { + "blob_sha": "115635f35c2443ce6a40db3405e578e3576e3bcf", + "commits": [], + "end_line": 43, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/web/QuizExerciseCreationUpdateResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 43 + }, + { + "blob_sha": "42cdc72572b98fff63af8f7b321f32639f176545", + "commits": [], + "end_line": 34, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/web/QuizExerciseEvaluationResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 34 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/quiz" + }, + { + "count": 83, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/exercise", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/quiz->M:src/main/java/de/tum/cit/aet/artemis/exercise", + "kind": "uses", + "refs": [ + { + "blob_sha": "23d8195cbf57248304f522330dfb479570977a79", + "commits": [], + "end_line": 33, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/domain/QuizExercise.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 33 + }, + { + "blob_sha": "23d8195cbf57248304f522330dfb479570977a79", + "commits": [], + "end_line": 3, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/domain/QuizExercise.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "23d8195cbf57248304f522330dfb479570977a79", + "commits": [], + "end_line": 34, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/domain/QuizExercise.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 34 + }, + { + "blob_sha": "23d8195cbf57248304f522330dfb479570977a79", + "commits": [], + "end_line": 35, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/domain/QuizExercise.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 35 + }, + { + "blob_sha": "9e03c40da1daa3990c2f5d70b70c8e897d8db3ee", + "commits": [], + "end_line": 21, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/domain/QuizSubmission.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "7b9052fbaa7fa64889a107086b6347f4ee6ba8b4", + "commits": [], + "end_line": 18, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/dto/exercise/QuizExerciseCreateDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "7b9052fbaa7fa64889a107086b6347f4ee6ba8b4", + "commits": [], + "end_line": 19, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/dto/exercise/QuizExerciseCreateDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "7b9052fbaa7fa64889a107086b6347f4ee6ba8b4", + "commits": [], + "end_line": 20, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/dto/exercise/QuizExerciseCreateDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "20202bac1e0e58ffd71d14b4d9ec2ca609cd305c", + "commits": [], + "end_line": 22, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/dto/exercise/QuizExerciseDetailsDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "51f1f77ae4efa832e7ba79412d0d493ddd1347fc", + "commits": [], + "end_line": 14, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/dto/exercise/QuizExerciseForCourseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/quiz" + }, + { + "count": 4, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/lecture", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/quiz->M:src/main/java/de/tum/cit/aet/artemis/lecture", + "kind": "uses", + "refs": [ + { + "blob_sha": "7b9052fbaa7fa64889a107086b6347f4ee6ba8b4", + "commits": [], + "end_line": 21, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/dto/exercise/QuizExerciseCreateDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "6694536b308e7a8858bb7a8e60ebca160de54f4c", + "commits": [], + "end_line": 19, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/dto/exercise/UpdateQuizExerciseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "be066121e58ead0738eb782e93de0bba68465916", + "commits": [], + "end_line": 70, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizExerciseService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 70 + }, + { + "blob_sha": "be066121e58ead0738eb782e93de0bba68465916", + "commits": [], + "end_line": 71, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizExerciseService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 71 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/quiz" + }, + { + "count": 2, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/lti", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/quiz->M:src/main/java/de/tum/cit/aet/artemis/lti", + "kind": "uses", + "refs": [ + { + "blob_sha": "be066121e58ead0738eb782e93de0bba68465916", + "commits": [], + "end_line": 72, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizExerciseService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 72 + }, + { + "blob_sha": "2c851c70ad58d4ca93a2f09f1058ba924f1620aa", + "commits": [], + "end_line": 42, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizSubmissionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 42 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/quiz" + }, + { + "count": 2, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/notification", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/quiz->M:src/main/java/de/tum/cit/aet/artemis/notification", + "kind": "uses", + "refs": [ + { + "blob_sha": "be066121e58ead0738eb782e93de0bba68465916", + "commits": [], + "end_line": 73, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizExerciseService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 73 + }, + { + "blob_sha": "270055725563d296e969eb3930ef6e86f23ff2c1", + "commits": [], + "end_line": 21, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/quiz/service/QuizMessagingService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/quiz" + }, + { + "count": 19, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/account", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/text->M:src/main/java/de/tum/cit/aet/artemis/account", + "kind": "uses", + "refs": [ + { + "blob_sha": "40664d23f252d8a5c1579ac37578d1570e524725", + "commits": [], + "end_line": 9, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/api/TextDemoApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "5e12bfa4bfcd5bddc1a27f4c39105ed76ba08d8b", + "commits": [], + "end_line": 7, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/api/TextSubmissionApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "3ddebcd338da0132962cfe1174aa1b3b09490e4c", + "commits": [], + "end_line": 13, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/service/TextAssessmentService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "0631a1db9d621589a5c28e09e9ce956fae01f65d", + "commits": [], + "end_line": 17, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/service/TextDemoService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "00209493611da3ee41aa25e7893c80d9a049bdaa", + "commits": [], + "end_line": 18, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/service/TextExerciseFeedbackService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "00209493611da3ee41aa25e7893c80d9a049bdaa", + "commits": [], + "end_line": 19, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/service/TextExerciseFeedbackService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "4a52e6d4f43951232bb9bfc4452f385fa070b5a8", + "commits": [], + "end_line": 11, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/service/TextExerciseService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "3814cd28d205a28b1cc2adecda82881b26ab0918", + "commits": [], + "end_line": 16, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/service/TextSubmissionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "3814cd28d205a28b1cc2adecda82881b26ab0918", + "commits": [], + "end_line": 17, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/service/TextSubmissionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "1c9daf4cef2e43e3a3e5f6f0b70d06ab8dddf999", + "commits": [], + "end_line": 20, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/web/TextAssessmentEventResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/text" + }, + { + "count": 92, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/assessment", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/text->M:src/main/java/de/tum/cit/aet/artemis/assessment", + "kind": "uses", + "refs": [ + { + "blob_sha": "a5ca1ebafca728b8977104e39be97727b74c9baa", + "commits": [], + "end_line": 10, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/api/TextRepositoryApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "6f40bae284118c437314b84ffe7ecce68cbe0760", + "commits": [], + "end_line": 10, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/api/TextSubmissionImportApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "b0292eb7c1ffa5cd3441f56985e851e207cabbbf", + "commits": [], + "end_line": 15, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/domain/TextAssessmentEvent.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "967cbe66bedb2c74849ff6dbbd4226012bfc91b3", + "commits": [], + "end_line": 23, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/domain/TextBlock.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "64670529422681993a67319c85f4356618cfc389", + "commits": [], + "end_line": 5, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/dto/ComplaintResponseRequestDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "117914ac92f86b3b485e34c179909f493de8393d", + "commits": [], + "end_line": 7, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/dto/ExampleSubmissionDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "5f09061c083d742b6a5f0720d035e5425746ddc7", + "commits": [], + "end_line": 12, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/dto/ImportTextExerciseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "5f09061c083d742b6a5f0720d035e5425746ddc7", + "commits": [], + "end_line": 13, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/dto/ImportTextExerciseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "462d26f9d14fd086505f0a6fb38aaa49d5790586", + "commits": [], + "end_line": 7, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/dto/TextAssessmentDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "4a073be8d77aeaf1396c617052b4704e658b2b3c", + "commits": [], + "end_line": 8, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/dto/TextAssessmentEventDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/text" + }, + { + "count": 3, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/athena", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/text->M:src/main/java/de/tum/cit/aet/artemis/athena", + "kind": "uses", + "refs": [ + { + "blob_sha": "00209493611da3ee41aa25e7893c80d9a049bdaa", + "commits": [], + "end_line": 26, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/service/TextExerciseFeedbackService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + }, + { + "blob_sha": "3814cd28d205a28b1cc2adecda82881b26ab0918", + "commits": [], + "end_line": 24, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/service/TextSubmissionService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "c324059124a8941929e40b5012695110a0af397b", + "commits": [], + "end_line": 54, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/web/TextAssessmentResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 54 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/text" + }, + { + "count": 5, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/atlas", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/text->M:src/main/java/de/tum/cit/aet/artemis/atlas", + "kind": "uses", + "refs": [ + { + "blob_sha": "5f09061c083d742b6a5f0720d035e5425746ddc7", + "commits": [], + "end_line": 14, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/dto/ImportTextExerciseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "0c7161e42364c19f10dcd0526e91bca87e6fb564", + "commits": [], + "end_line": 16, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/dto/TextExerciseResponseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "f0baf7a4c96a2d9b42cf340e256102e0da8a3434", + "commits": [], + "end_line": 29, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/service/TextExerciseImportService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "a31f7beef5e512afb5f8cd7a9d364d30b5959ad1", + "commits": [], + "end_line": 28, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/web/TextExerciseCreationUpdateResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 + }, + { + "blob_sha": "a31f7beef5e512afb5f8cd7a9d364d30b5959ad1", + "commits": [], + "end_line": 29, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/web/TextExerciseCreationUpdateResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/text" + }, + { + "count": 4, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/communication", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/text->M:src/main/java/de/tum/cit/aet/artemis/communication", + "kind": "uses", + "refs": [ + { + "blob_sha": "0631a1db9d621589a5c28e09e9ce956fae01f65d", + "commits": [], + "end_line": 25, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/service/TextDemoService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "f0baf7a4c96a2d9b42cf340e256102e0da8a3434", + "commits": [], + "end_line": 30, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/service/TextExerciseImportService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 30 + }, + { + "blob_sha": "a31f7beef5e512afb5f8cd7a9d364d30b5959ad1", + "commits": [], + "end_line": 30, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/web/TextExerciseCreationUpdateResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 30 + }, + { + "blob_sha": "dcc75ef9b6d06756f6b23fb569929cb47967700a", + "commits": [], + "end_line": 32, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/web/TextExerciseResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 32 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/text" + }, + { + "count": 122, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/text->M:src/main/java/de/tum/cit/aet/artemis/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "7ad178ab5b08e61573898c19ce6969ca05d39d74", + "commits": [], + "end_line": 3, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/api/AbstractTextApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "ae3981a8e96708e08eb0d3ff9f63ef23b5babe2b", + "commits": [], + "end_line": 9, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/api/TextExerciseImportApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "33d96bfba910ec012e810ca55724502975dcf9b4", + "commits": [], + "end_line": 12, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/api/TextSubmissionExportApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "6f40bae284118c437314b84ffe7ecce68cbe0760", + "commits": [], + "end_line": 11, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/api/TextSubmissionImportApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "cfc9378ccfad5f5e754b70417dd9cafd4b525afa", + "commits": [], + "end_line": 5, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/config/TextApiNotPresentException.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "cfc9378ccfad5f5e754b70417dd9cafd4b525afa", + "commits": [], + "end_line": 3, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/config/TextApiNotPresentException.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "cfc9378ccfad5f5e754b70417dd9cafd4b525afa", + "commits": [], + "end_line": 6, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/config/TextApiNotPresentException.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "a52e207cb5ae2b297761fe1288273fcf7ff326f2", + "commits": [], + "end_line": 7, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/config/TextEnabled.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "b0292eb7c1ffa5cd3441f56985e851e207cabbbf", + "commits": [], + "end_line": 16, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/domain/TextAssessmentEvent.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "b0292eb7c1ffa5cd3441f56985e851e207cabbbf", + "commits": [], + "end_line": 17, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/domain/TextAssessmentEvent.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/text" + }, + { + "count": 14, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/text->M:src/main/java/de/tum/cit/aet/artemis/course", + "kind": "uses", + "refs": [ + { + "blob_sha": "40664d23f252d8a5c1579ac37578d1570e524725", + "commits": [], + "end_line": 10, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/api/TextDemoApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "955256d6a7d16201c63dcf8faae4955d72a5360a", + "commits": [], + "end_line": 10, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/dto/TextExerciseExamGroupDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "62106a4ade8c3b7fbf30a3303f4c5bd8cb68a52e", + "commits": [], + "end_line": 14, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/dto/TextExerciseListItemDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "62106a4ade8c3b7fbf30a3303f4c5bd8cb68a52e", + "commits": [], + "end_line": 15, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/dto/TextExerciseListItemDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "0c7161e42364c19f10dcd0526e91bca87e6fb564", + "commits": [], + "end_line": 17, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/dto/TextExerciseResponseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "0c7161e42364c19f10dcd0526e91bca87e6fb564", + "commits": [], + "end_line": 18, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/dto/TextExerciseResponseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "0631a1db9d621589a5c28e09e9ce956fae01f65d", + "commits": [], + "end_line": 28, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/service/TextDemoService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 + }, + { + "blob_sha": "1c9daf4cef2e43e3a3e5f6f0b70d06ab8dddf999", + "commits": [], + "end_line": 29, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/web/TextAssessmentEventResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "1c9daf4cef2e43e3a3e5f6f0b70d06ab8dddf999", + "commits": [], + "end_line": 30, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/web/TextAssessmentEventResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 30 + }, + { + "blob_sha": "c324059124a8941929e40b5012695110a0af397b", + "commits": [], + "end_line": 66, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/web/TextAssessmentResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 66 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/text" + }, + { + "count": 12, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/exam", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/text->M:src/main/java/de/tum/cit/aet/artemis/exam", + "kind": "uses", + "refs": [ + { + "blob_sha": "40664d23f252d8a5c1579ac37578d1570e524725", + "commits": [], + "end_line": 11, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/api/TextDemoApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "955256d6a7d16201c63dcf8faae4955d72a5360a", + "commits": [], + "end_line": 11, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/dto/TextExerciseExamGroupDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "955256d6a7d16201c63dcf8faae4955d72a5360a", + "commits": [], + "end_line": 12, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/dto/TextExerciseExamGroupDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "955256d6a7d16201c63dcf8faae4955d72a5360a", + "commits": [], + "end_line": 13, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/dto/TextExerciseExamGroupDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "62106a4ade8c3b7fbf30a3303f4c5bd8cb68a52e", + "commits": [], + "end_line": 16, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/dto/TextExerciseListItemDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "3ddebcd338da0132962cfe1174aa1b3b09490e4c", + "commits": [], + "end_line": 23, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/service/TextAssessmentService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "0631a1db9d621589a5c28e09e9ce956fae01f65d", + "commits": [], + "end_line": 29, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/service/TextDemoService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "f11f6f75521615ef9aef19e19867004f6f1db032", + "commits": [], + "end_line": 37, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/web/TextExerciseExportImportResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 37 + }, + { + "blob_sha": "dcc75ef9b6d06756f6b23fb569929cb47967700a", + "commits": [], + "end_line": 50, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/web/TextExerciseResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 50 + }, + { + "blob_sha": "dcc75ef9b6d06756f6b23fb569929cb47967700a", + "commits": [], + "end_line": 51, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/web/TextExerciseResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 51 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/text" + }, + { + "count": 119, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/exercise", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/text->M:src/main/java/de/tum/cit/aet/artemis/exercise", + "kind": "uses", + "refs": [ + { + "blob_sha": "58bd490d4365cc1b29d762b1e38ca518d2bec98b", + "commits": [], + "end_line": 7, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/api/TextFeedbackApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "58bd490d4365cc1b29d762b1e38ca518d2bec98b", + "commits": [], + "end_line": 8, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/api/TextFeedbackApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "5e12bfa4bfcd5bddc1a27f4c39105ed76ba08d8b", + "commits": [], + "end_line": 8, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/api/TextSubmissionApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "5e12bfa4bfcd5bddc1a27f4c39105ed76ba08d8b", + "commits": [], + "end_line": 9, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/api/TextSubmissionApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "5e12bfa4bfcd5bddc1a27f4c39105ed76ba08d8b", + "commits": [], + "end_line": 10, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/api/TextSubmissionApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "33d96bfba910ec012e810ca55724502975dcf9b4", + "commits": [], + "end_line": 13, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/api/TextSubmissionExportApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "8a5f57573b1fcb021b491c5f40820e2c09c2151f", + "commits": [], + "end_line": 3, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/domain/TextExercise.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "8a5f57573b1fcb021b491c5f40820e2c09c2151f", + "commits": [], + "end_line": 11, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/domain/TextExercise.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "8a5f57573b1fcb021b491c5f40820e2c09c2151f", + "commits": [], + "end_line": 12, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/domain/TextExercise.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "dddb20e93251f6903de3201363b7944b17287ab3", + "commits": [], + "end_line": 22, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/domain/TextSubmission.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/text" + }, + { + "count": 4, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/lecture", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/text->M:src/main/java/de/tum/cit/aet/artemis/lecture", + "kind": "uses", + "refs": [ + { + "blob_sha": "5f09061c083d742b6a5f0720d035e5425746ddc7", + "commits": [], + "end_line": 21, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/dto/ImportTextExerciseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "0c7161e42364c19f10dcd0526e91bca87e6fb564", + "commits": [], + "end_line": 26, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/dto/TextExerciseResponseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + }, + { + "blob_sha": "0585c43bd304e4d9096b125f1061c05a2a194df5", + "commits": [], + "end_line": 19, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/dto/UpdateTextExerciseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "a31f7beef5e512afb5f8cd7a9d364d30b5959ad1", + "commits": [], + "end_line": 54, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/web/TextExerciseCreationUpdateResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 54 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/text" + }, + { + "count": 1, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/lti", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/text->M:src/main/java/de/tum/cit/aet/artemis/lti", + "kind": "uses", + "refs": [ + { + "blob_sha": "3ddebcd338da0132962cfe1174aa1b3b09490e4c", + "commits": [], + "end_line": 28, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/service/TextAssessmentService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/text" + }, + { + "count": 3, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/notification", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/text->M:src/main/java/de/tum/cit/aet/artemis/notification", + "kind": "uses", + "refs": [ + { + "blob_sha": "3ddebcd338da0132962cfe1174aa1b3b09490e4c", + "commits": [], + "end_line": 29, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/service/TextAssessmentService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "0631a1db9d621589a5c28e09e9ce956fae01f65d", + "commits": [], + "end_line": 38, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/service/TextDemoService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 38 + }, + { + "blob_sha": "a31f7beef5e512afb5f8cd7a9d364d30b5959ad1", + "commits": [], + "end_line": 55, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/web/TextExerciseCreationUpdateResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 55 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/text" + }, + { + "count": 12, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/plagiarism", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/text->M:src/main/java/de/tum/cit/aet/artemis/plagiarism", + "kind": "uses", + "refs": [ + { + "blob_sha": "5f09061c083d742b6a5f0720d035e5425746ddc7", + "commits": [], + "end_line": 22, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/dto/ImportTextExerciseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "0c7161e42364c19f10dcd0526e91bca87e6fb564", + "commits": [], + "end_line": 27, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/dto/TextExerciseResponseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + }, + { + "blob_sha": "0585c43bd304e4d9096b125f1061c05a2a194df5", + "commits": [], + "end_line": 20, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/dto/UpdateTextExerciseDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "0631a1db9d621589a5c28e09e9ce956fae01f65d", + "commits": [], + "end_line": 39, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/service/TextDemoService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 39 + }, + { + "blob_sha": "a31f7beef5e512afb5f8cd7a9d364d30b5959ad1", + "commits": [], + "end_line": 56, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/web/TextExerciseCreationUpdateResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 56 + }, + { + "blob_sha": "352d3bfb086d8a78e47cb3174c0f12afc3cd768d", + "commits": [], + "end_line": 27, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/web/TextExercisePlagiarismResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + }, + { + "blob_sha": "352d3bfb086d8a78e47cb3174c0f12afc3cd768d", + "commits": [], + "end_line": 28, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/web/TextExercisePlagiarismResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 + }, + { + "blob_sha": "352d3bfb086d8a78e47cb3174c0f12afc3cd768d", + "commits": [], + "end_line": 29, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/web/TextExercisePlagiarismResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "352d3bfb086d8a78e47cb3174c0f12afc3cd768d", + "commits": [], + "end_line": 30, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/web/TextExercisePlagiarismResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 30 + }, + { + "blob_sha": "352d3bfb086d8a78e47cb3174c0f12afc3cd768d", + "commits": [], + "end_line": 31, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/text/web/TextExercisePlagiarismResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 31 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/text" + }, + { + "count": 15, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/account", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/tutorialgroup->M:src/main/java/de/tum/cit/aet/artemis/account", + "kind": "uses", + "refs": [ + { + "blob_sha": "4bfd32c6bb821745e0d52ba7df28b86781b2b320", + "commits": [], + "end_line": 9, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/api/TutorialGroupDemoApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "04657d0bdb2c55a471ec3a7c3258238d7ef6a031", + "commits": [], + "end_line": 9, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/api/TutorialGroupImportApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "f11c5b67e081c59819adbe20cde7234c2a8419d7", + "commits": [], + "end_line": 27, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/domain/TutorialGroup.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + }, + { + "blob_sha": "98de0805a71f02a64f7c8641df7c419097ff647a", + "commits": [], + "end_line": 16, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/domain/TutorialGroupRegistration.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "f91811f88c01615e3274cfa609d167163077edba", + "commits": [], + "end_line": 16, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/repository/TutorialGroupRegistrationRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "716e08662854a73f275b9dc6067e556496353ce1", + "commits": [], + "end_line": 18, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/service/TutorialGroupChannelManagementService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "b6eaf5b76a4ba9cedf1519876ca417d2459b5495", + "commits": [], + "end_line": 22, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/service/TutorialGroupDemoService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "b6eaf5b76a4ba9cedf1519876ca417d2459b5495", + "commits": [], + "end_line": 23, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/service/TutorialGroupDemoService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "631fd6706d29951a065b50a92d907272b91c4d1c", + "commits": [], + "end_line": 14, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/service/TutorialGroupImportService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "b3db33c47afbad0c16e9c3dfcbc969aec69ea8b3", + "commits": [], + "end_line": 37, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/service/TutorialGroupService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 37 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/tutorialgroup" + }, + { + "count": 3, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/calendar", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/tutorialgroup->M:src/main/java/de/tum/cit/aet/artemis/calendar", + "kind": "uses", + "refs": [ + { + "blob_sha": "0e473e0568c707b3c23925e2e73d4693d60bf72f", + "commits": [], + "end_line": 10, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/api/TutorialGroupApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "01bebd49e8a209152d40c9411c97e91644a887ba", + "commits": [], + "end_line": 15, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/repository/TutorialGroupSessionRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "b3db33c47afbad0c16e9c3dfcbc969aec69ea8b3", + "commits": [], + "end_line": 39, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/service/TutorialGroupService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 39 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/tutorialgroup" + }, + { + "count": 11, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/communication", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/tutorialgroup->M:src/main/java/de/tum/cit/aet/artemis/communication", + "kind": "uses", + "refs": [ + { + "blob_sha": "d18e927f4faf2b0c472f26980af9fd40c16835f0", + "commits": [], + "end_line": 9, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/api/TutorialGroupChannelManagementApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "f11c5b67e081c59819adbe20cde7234c2a8419d7", + "commits": [], + "end_line": 28, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/domain/TutorialGroup.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 + }, + { + "blob_sha": "f11c5b67e081c59819adbe20cde7234c2a8419d7", + "commits": [], + "end_line": 29, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/domain/TutorialGroup.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "e783e164a0ae92c23cf278b794388850a53df8cf", + "commits": [], + "end_line": 10, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/dto/TutorialGroupSummaryDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "6db29e1bc491fee78a9b68ab858415f7b90c8fa0", + "commits": [], + "end_line": 12, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/repository/TutorialGroupRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "716e08662854a73f275b9dc6067e556496353ce1", + "commits": [], + "end_line": 19, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/service/TutorialGroupChannelManagementService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "716e08662854a73f275b9dc6067e556496353ce1", + "commits": [], + "end_line": 20, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/service/TutorialGroupChannelManagementService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "716e08662854a73f275b9dc6067e556496353ce1", + "commits": [], + "end_line": 21, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/service/TutorialGroupChannelManagementService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "716e08662854a73f275b9dc6067e556496353ce1", + "commits": [], + "end_line": 22, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/service/TutorialGroupChannelManagementService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "b3db33c47afbad0c16e9c3dfcbc969aec69ea8b3", + "commits": [], + "end_line": 40, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/service/TutorialGroupService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 40 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/tutorialgroup" + }, + { + "count": 73, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/tutorialgroup->M:src/main/java/de/tum/cit/aet/artemis/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "ff99aa696d237b22a2062ddfbd74d54b80b5f319", + "commits": [], + "end_line": 3, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/api/AbstractTutorialGroupApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "9eb471201277e0318fb22807a9b4c215dd310e2d", + "commits": [], + "end_line": 7, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/api/TutorialGroupCommunicationApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "707522d8ca2d9d1022221799c3303437565ca4a6", + "commits": [], + "end_line": 7, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/config/TutorialGroupEnabled.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "f11c5b67e081c59819adbe20cde7234c2a8419d7", + "commits": [], + "end_line": 30, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/domain/TutorialGroup.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 30 + }, + { + "blob_sha": "f11c5b67e081c59819adbe20cde7234c2a8419d7", + "commits": [], + "end_line": 31, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/domain/TutorialGroup.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 31 + }, + { + "blob_sha": "fcb837536d23ec552cb1ab9ad85f796305927e77", + "commits": [], + "end_line": 15, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/domain/TutorialGroupFreePeriod.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "fcb837536d23ec552cb1ab9ad85f796305927e77", + "commits": [], + "end_line": 16, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/domain/TutorialGroupFreePeriod.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "98de0805a71f02a64f7c8641df7c419097ff647a", + "commits": [], + "end_line": 17, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/domain/TutorialGroupRegistration.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "98de0805a71f02a64f7c8641df7c419097ff647a", + "commits": [], + "end_line": 18, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/domain/TutorialGroupRegistration.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "66508dd284c76e0884a2a87b7c67655059c6f18a", + "commits": [], + "end_line": 20, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/domain/TutorialGroupSchedule.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/tutorialgroup" + }, + { + "count": 23, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/tutorialgroup->M:src/main/java/de/tum/cit/aet/artemis/course", + "kind": "uses", + "refs": [ + { + "blob_sha": "d18e927f4faf2b0c472f26980af9fd40c16835f0", + "commits": [], + "end_line": 10, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/api/TutorialGroupChannelManagementApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "4bfd32c6bb821745e0d52ba7df28b86781b2b320", + "commits": [], + "end_line": 10, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/api/TutorialGroupDemoApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "04657d0bdb2c55a471ec3a7c3258238d7ef6a031", + "commits": [], + "end_line": 10, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/api/TutorialGroupImportApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "f11c5b67e081c59819adbe20cde7234c2a8419d7", + "commits": [], + "end_line": 32, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/domain/TutorialGroup.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 32 + }, + { + "blob_sha": "69d1b93f9777e867405c741f9ac41bbc9ff9bc04", + "commits": [], + "end_line": 24, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/domain/TutorialGroupsConfiguration.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "e6b61b6e279652254afa2d4aa93b4fef781a11e2", + "commits": [], + "end_line": 15, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/dto/TutorialGroupSessionDTO.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "bec38aa65e70c89e9ff0b28068f9876ccd12ac16", + "commits": [], + "end_line": 14, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/repository/TutorialGroupFreePeriodRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "f91811f88c01615e3274cfa609d167163077edba", + "commits": [], + "end_line": 18, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/repository/TutorialGroupRegistrationRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "6db29e1bc491fee78a9b68ab858415f7b90c8fa0", + "commits": [], + "end_line": 14, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/repository/TutorialGroupRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "b18a5c7aa605b9ecfbc2541b0a47a508b1092db3", + "commits": [], + "end_line": 13, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/repository/TutorialGroupScheduleRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/tutorialgroup" + }, + { + "count": 9, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/notification", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/tutorialgroup->M:src/main/java/de/tum/cit/aet/artemis/notification", + "kind": "uses", + "refs": [ + { + "blob_sha": "b6eaf5b76a4ba9cedf1519876ca417d2459b5495", + "commits": [], + "end_line": 26, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/service/TutorialGroupDemoService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + }, + { + "blob_sha": "b6eaf5b76a4ba9cedf1519876ca417d2459b5495", + "commits": [], + "end_line": 27, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/service/TutorialGroupDemoService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + }, + { + "blob_sha": "b3db33c47afbad0c16e9c3dfcbc969aec69ea8b3", + "commits": [], + "end_line": 46, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/service/TutorialGroupService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 46 + }, + { + "blob_sha": "b3db33c47afbad0c16e9c3dfcbc969aec69ea8b3", + "commits": [], + "end_line": 47, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/service/TutorialGroupService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 47 + }, + { + "blob_sha": "b3db33c47afbad0c16e9c3dfcbc969aec69ea8b3", + "commits": [], + "end_line": 48, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/service/TutorialGroupService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 48 + }, + { + "blob_sha": "8f422f8fa6723177dbf0e5e39af046fc3535f41c", + "commits": [], + "end_line": 53, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/web/TutorialGroupResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 53 + }, + { + "blob_sha": "8f422f8fa6723177dbf0e5e39af046fc3535f41c", + "commits": [], + "end_line": 54, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/web/TutorialGroupResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 54 + }, + { + "blob_sha": "8f422f8fa6723177dbf0e5e39af046fc3535f41c", + "commits": [], + "end_line": 55, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/web/TutorialGroupResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 55 + }, + { + "blob_sha": "8f422f8fa6723177dbf0e5e39af046fc3535f41c", + "commits": [], + "end_line": 56, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/tutorialgroup/web/TutorialGroupResource.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 56 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/tutorialgroup" + }, + { + "count": 22, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/core", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/videosource->M:src/main/java/de/tum/cit/aet/artemis/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "1fcff99685e62428310822f8e2e78b749e4571af", + "commits": [], + "end_line": 12, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/videosource/api/GocastBindingApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "8cde4477972bec5c27e173c1134f3244f95c85cc", + "commits": [], + "end_line": 7, + "id": "E2", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/videosource/api/TumLiveApi.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "257c1a4ac080578ae8b8bebd91fc13e5cb1d8fb9", + "commits": [], + "end_line": 3, + "id": "E3", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/videosource/config/GocastInfoContributor.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "441ecaa7ef13b0a2004a9c3adc6ca5f646a00bf0", + "commits": [], + "end_line": 7, + "id": "E4", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/videosource/config/TumLiveEnabled.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "70fe255a87fb968e4c02d017f8b14eeec49130da", + "commits": [], + "end_line": 12, + "id": "E5", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/videosource/domain/GocastCourseBinding.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "70fe255a87fb968e4c02d017f8b14eeec49130da", + "commits": [], + "end_line": 13, + "id": "E6", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/videosource/domain/GocastCourseBinding.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "79d82bcb60600893f21887490b34e4ab3d086a98", + "commits": [], + "end_line": 3, + "id": "E7", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/videosource/repository/GocastConnectionRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "79d82bcb60600893f21887490b34e4ab3d086a98", + "commits": [], + "end_line": 14, + "id": "E8", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/videosource/repository/GocastConnectionRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "00dc77ef416526d5a5dedcb924e9b1784ad0fb70", + "commits": [], + "end_line": 3, + "id": "E9", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/videosource/repository/GocastCourseBindingRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "00dc77ef416526d5a5dedcb924e9b1784ad0fb70", + "commits": [], + "end_line": 16, + "id": "E10", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/videosource/repository/GocastCourseBindingRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/videosource" + }, + { + "count": 1, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/course", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/videosource->M:src/main/java/de/tum/cit/aet/artemis/course", + "kind": "uses", + "refs": [ + { + "blob_sha": "79d82bcb60600893f21887490b34e4ab3d086a98", + "commits": [], + "end_line": 15, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/videosource/repository/GocastConnectionRepository.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/videosource" + }, + { + "count": 1, + "dst": "M:src/main/java/de/tum/cit/aet/artemis/lecture", + "how": "import-path", + "id": "M:src/main/java/de/tum/cit/aet/artemis/videosource->M:src/main/java/de/tum/cit/aet/artemis/lecture", + "kind": "uses", + "refs": [ + { + "blob_sha": "d8e564e815bc4e63557f7d3cabc39096f58de434", + "commits": [], + "end_line": 21, + "id": "E1", + "kind": "lines", + "path": "src/main/java/de/tum/cit/aet/artemis/videosource/service/TumLiveService.java", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + } + ], + "src": "M:src/main/java/de/tum/cit/aet/artemis/videosource" + }, + { + "count": 7, + "dst": "M:src/main/webapp/app/account", + "how": "import-path", + "id": "M:src/main/webapp/app/(root)->M:src/main/webapp/app/account", + "kind": "uses", + "refs": [ + { + "blob_sha": "2f8067690ac9cec5daf23dfb100739bd8dfbde1c", + "commits": [], + "end_line": 151, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/app.routes.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 151 + }, + { + "blob_sha": "2f8067690ac9cec5daf23dfb100739bd8dfbde1c", + "commits": [], + "end_line": 159, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/app.routes.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 159 + }, + { + "blob_sha": "2f8067690ac9cec5daf23dfb100739bd8dfbde1c", + "commits": [], + "end_line": 177, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/app.routes.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 177 + }, + { + "blob_sha": "2f8067690ac9cec5daf23dfb100739bd8dfbde1c", + "commits": [], + "end_line": 185, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/app.routes.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 185 + }, + { + "blob_sha": "2f8067690ac9cec5daf23dfb100739bd8dfbde1c", + "commits": [], + "end_line": 167, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/app.routes.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 167 + }, + { + "blob_sha": "2f8067690ac9cec5daf23dfb100739bd8dfbde1c", + "commits": [], + "end_line": 193, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/app.routes.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 193 + }, + { + "blob_sha": "2f8067690ac9cec5daf23dfb100739bd8dfbde1c", + "commits": [], + "end_line": 54, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/app.routes.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 54 + } + ], + "src": "M:src/main/webapp/app/(root)" + }, + { + "count": 1, + "dst": "M:src/main/webapp/app/admin", + "how": "import-path", + "id": "M:src/main/webapp/app/(root)->M:src/main/webapp/app/admin", + "kind": "uses", + "refs": [ + { + "blob_sha": "2f8067690ac9cec5daf23dfb100739bd8dfbde1c", + "commits": [], + "end_line": 70, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/app.routes.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 70 + } + ], + "src": "M:src/main/webapp/app/(root)" + }, + { + "count": 1, + "dst": "M:src/main/webapp/app/assessment", + "how": "import-path", + "id": "M:src/main/webapp/app/(root)->M:src/main/webapp/app/assessment", + "kind": "uses", + "refs": [ + { + "blob_sha": "2f8067690ac9cec5daf23dfb100739bd8dfbde1c", + "commits": [], + "end_line": 270, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/app.routes.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 270 + } + ], + "src": "M:src/main/webapp/app/(root)" + }, + { + "count": 45, + "dst": "M:src/main/webapp/app/core", + "how": "import-path", + "id": "M:src/main/webapp/app/(root)->M:src/main/webapp/app/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "0589bc460b01888107730b81f9522f9002d2d787", + "commits": [], + "end_line": 9, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/app.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "0589bc460b01888107730b81f9522f9002d2d787", + "commits": [], + "end_line": 16, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/app.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "0589bc460b01888107730b81f9522f9002d2d787", + "commits": [], + "end_line": 17, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/app.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "0589bc460b01888107730b81f9522f9002d2d787", + "commits": [], + "end_line": 3, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/app.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "0589bc460b01888107730b81f9522f9002d2d787", + "commits": [], + "end_line": 14, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/app.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "0589bc460b01888107730b81f9522f9002d2d787", + "commits": [], + "end_line": 13, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/app.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "0589bc460b01888107730b81f9522f9002d2d787", + "commits": [], + "end_line": 15, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/app.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "0589bc460b01888107730b81f9522f9002d2d787", + "commits": [], + "end_line": 19, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/app.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "0589bc460b01888107730b81f9522f9002d2d787", + "commits": [], + "end_line": 23, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/app.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "0589bc460b01888107730b81f9522f9002d2d787", + "commits": [], + "end_line": 21, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/app.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + } + ], + "src": "M:src/main/webapp/app/(root)" + }, + { + "count": 6, + "dst": "M:src/main/webapp/app/course", + "how": "import-path", + "id": "M:src/main/webapp/app/(root)->M:src/main/webapp/app/course", + "kind": "uses", + "refs": [ + { + "blob_sha": "0589bc460b01888107730b81f9522f9002d2d787", + "commits": [], + "end_line": 20, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/app.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "2f8067690ac9cec5daf23dfb100739bd8dfbde1c", + "commits": [], + "end_line": 212, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/app.routes.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 212 + }, + { + "blob_sha": "2f8067690ac9cec5daf23dfb100739bd8dfbde1c", + "commits": [], + "end_line": 233, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/app.routes.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 233 + }, + { + "blob_sha": "2f8067690ac9cec5daf23dfb100739bd8dfbde1c", + "commits": [], + "end_line": 243, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/app.routes.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 243 + }, + { + "blob_sha": "2f8067690ac9cec5daf23dfb100739bd8dfbde1c", + "commits": [], + "end_line": 248, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/app.routes.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 248 + }, + { + "blob_sha": "2f8067690ac9cec5daf23dfb100739bd8dfbde1c", + "commits": [], + "end_line": 112, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/app.routes.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 112 + } + ], + "src": "M:src/main/webapp/app/(root)" + }, + { + "count": 3, + "dst": "M:src/main/webapp/app/exam", + "how": "import-path", + "id": "M:src/main/webapp/app/(root)->M:src/main/webapp/app/exam", + "kind": "uses", + "refs": [ + { + "blob_sha": "0589bc460b01888107730b81f9522f9002d2d787", + "commits": [], + "end_line": 7, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/app.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "2f8067690ac9cec5daf23dfb100739bd8dfbde1c", + "commits": [], + "end_line": 262, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/app.routes.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 262 + }, + { + "blob_sha": "2f8067690ac9cec5daf23dfb100739bd8dfbde1c", + "commits": [], + "end_line": 282, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/app.routes.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 282 + } + ], + "src": "M:src/main/webapp/app/(root)" + }, + { + "count": 1, + "dst": "M:src/main/webapp/app/exercise", + "how": "import-path", + "id": "M:src/main/webapp/app/(root)->M:src/main/webapp/app/exercise", + "kind": "uses", + "refs": [ + { + "blob_sha": "2f8067690ac9cec5daf23dfb100739bd8dfbde1c", + "commits": [], + "end_line": 256, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/app.routes.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 256 + } + ], + "src": "M:src/main/webapp/app/(root)" + }, + { + "count": 10, + "dst": "M:src/main/webapp/app/foundation", + "how": "import-path", + "id": "M:src/main/webapp/app/(root)->M:src/main/webapp/app/foundation", + "kind": "uses", + "refs": [ + { + "blob_sha": "0589bc460b01888107730b81f9522f9002d2d787", + "commits": [], + "end_line": 12, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/app.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "0589bc460b01888107730b81f9522f9002d2d787", + "commits": [], + "end_line": 8, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/app.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "0589bc460b01888107730b81f9522f9002d2d787", + "commits": [], + "end_line": 22, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/app.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "1154481380a26192b01e8a63e81389c186a8e579", + "commits": [], + "end_line": 38, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/app.config.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 38 + }, + { + "blob_sha": "1154481380a26192b01e8a63e81389c186a8e579", + "commits": [], + "end_line": 36, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/app.config.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 36 + }, + { + "blob_sha": "1154481380a26192b01e8a63e81389c186a8e579", + "commits": [], + "end_line": 1, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/app.config.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 1 + }, + { + "blob_sha": "1154481380a26192b01e8a63e81389c186a8e579", + "commits": [], + "end_line": 2, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/app.config.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "1154481380a26192b01e8a63e81389c186a8e579", + "commits": [], + "end_line": 40, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/app.config.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 40 + }, + { + "blob_sha": "6e734ae4db31dfbd9f7142682125c251186ca2d2", + "commits": [], + "end_line": 10, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/app.main.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "2f8067690ac9cec5daf23dfb100739bd8dfbde1c", + "commits": [], + "end_line": 4, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/app.routes.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + } + ], + "src": "M:src/main/webapp/app/(root)" + }, + { + "count": 2, + "dst": "M:src/main/webapp/app/logos", + "how": "import-path", + "id": "M:src/main/webapp/app/(root)->M:src/main/webapp/app/logos", + "kind": "uses", + "refs": [ + { + "blob_sha": "0589bc460b01888107730b81f9522f9002d2d787", + "commits": [], + "end_line": 18, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/app.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "2f8067690ac9cec5daf23dfb100739bd8dfbde1c", + "commits": [], + "end_line": 82, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/app.routes.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 82 + } + ], + "src": "M:src/main/webapp/app/(root)" + }, + { + "count": 1, + "dst": "M:src/main/webapp/app/lti", + "how": "relative", + "id": "M:src/main/webapp/app/(root)->M:src/main/webapp/app/lti", + "kind": "uses", + "refs": [ + { + "blob_sha": "2f8067690ac9cec5daf23dfb100739bd8dfbde1c", + "commits": [], + "end_line": 295, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/app.routes.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 295 + } + ], + "src": "M:src/main/webapp/app/(root)" + }, + { + "count": 1, + "dst": "M:src/main/webapp/app/notification", + "how": "import-path", + "id": "M:src/main/webapp/app/(root)->M:src/main/webapp/app/notification", + "kind": "uses", + "refs": [ + { + "blob_sha": "0589bc460b01888107730b81f9522f9002d2d787", + "commits": [], + "end_line": 11, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/app.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + } + ], + "src": "M:src/main/webapp/app/(root)" + }, + { + "count": 2, + "dst": "M:src/main/webapp/app/programming", + "how": "import-path", + "id": "M:src/main/webapp/app/(root)->M:src/main/webapp/app/programming", + "kind": "uses", + "refs": [ + { + "blob_sha": "2f8067690ac9cec5daf23dfb100739bd8dfbde1c", + "commits": [], + "end_line": 224, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/app.routes.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 224 + }, + { + "blob_sha": "2f8067690ac9cec5daf23dfb100739bd8dfbde1c", + "commits": [], + "end_line": 274, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/app.routes.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 274 + } + ], + "src": "M:src/main/webapp/app/(root)" + }, + { + "count": 1, + "dst": "M:src/main/webapp/app/shared-ui", + "how": "import-path", + "id": "M:src/main/webapp/app/(root)->M:src/main/webapp/app/shared-ui", + "kind": "uses", + "refs": [ + { + "blob_sha": "1154481380a26192b01e8a63e81389c186a8e579", + "commits": [], + "end_line": 41, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/app.config.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 41 + } + ], + "src": "M:src/main/webapp/app/(root)" + }, + { + "count": 1, + "dst": "M:src/main/webapp/app/sharing", + "how": "relative", + "id": "M:src/main/webapp/app/(root)->M:src/main/webapp/app/sharing", + "kind": "uses", + "refs": [ + { + "blob_sha": "2f8067690ac9cec5daf23dfb100739bd8dfbde1c", + "commits": [], + "end_line": 304, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/app.routes.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 304 + } + ], + "src": "M:src/main/webapp/app/(root)" + }, + { + "count": 14, + "dst": "M:src/main/webapp/app/(root)", + "how": "import-path", + "id": "M:src/main/webapp/app/account->M:src/main/webapp/app/(root)", + "kind": "uses", + "refs": [ + { + "blob_sha": "6b0930bfddfa5b290fb7cc3edce5cef0d52c7d7c", + "commits": [], + "end_line": 11, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/account/password-reset/finish/password-reset-finish.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "f9ee9e481eeafab20ba9bb5336968d46c01c7fe4", + "commits": [], + "end_line": 10, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/account/password/password.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "46bdb713a405efb7ba9d0bcc60d94b934f634e04", + "commits": [], + "end_line": 11, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/account/register/register.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "18f067add112c89a9f8829fba958bdb783e137c3", + "commits": [], + "end_line": 3, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/account/settings/account-settings-dialog.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "d8c78e86d6e6e59a85430e2ee676fc960149b5aa", + "commits": [], + "end_line": 2, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/account/shared/password-max-bytes.validator.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "7bf0eddb6f7ac95a6081c228b079628ee2012ffb", + "commits": [], + "end_line": 5, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/account/shared/password-validation-errors/password-validation-errors.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "e64e9e09f31d23e4fd82ea88e1c34fa5bae7d441", + "commits": [], + "end_line": 18, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/account/user/settings/ai-experience/ai-experience-settings/ai-experience-settings.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "c4bbcae18c29f18c43e789364cd829a5f8ffa14a", + "commits": [], + "end_line": 4, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/account/user/settings/ai-experience/data-guard.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "dd5a39eeeff3480193479d324a21a09f250f0ef9", + "commits": [], + "end_line": 3, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/account/user/settings/credentials/credentials-settings.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "e412bb66b04e54b3376541be354b6634ae8e165d", + "commits": [], + "end_line": 1, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/account/user/settings/learning/learner-profile-availability.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 1 + } + ], + "src": "M:src/main/webapp/app/account" + }, + { + "count": 2, + "dst": "M:src/main/webapp/app/admin", + "how": "import-path", + "id": "M:src/main/webapp/app/account->M:src/main/webapp/app/admin", + "kind": "uses", + "refs": [ + { + "blob_sha": "73320956ad399e45cb3b82dd690b184c0d42e0db", + "commits": [], + "end_line": 9, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/account/user/shared/admin-user.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "5a22c353649a7755694d96fe02ecb73ecf0c2daf", + "commits": [], + "end_line": 3, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/account/user/user.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + } + ], + "src": "M:src/main/webapp/app/account" + }, + { + "count": 34, + "dst": "M:src/main/webapp/app/core", + "how": "import-path", + "id": "M:src/main/webapp/app/account->M:src/main/webapp/app/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "901240045673abd34c1c763746ad03df3c539d0c", + "commits": [], + "end_line": 5, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/account/activate/activate.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "d7f3d2aafe0c39ff56f5bda60df0d6cebcfd8dab", + "commits": [], + "end_line": 7, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/account/confirm-email-change/confirm-email-change.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "704ae4ba5d24a626d911c5b640df402574df8e0a", + "commits": [], + "end_line": 4, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/account/confirm-email-change/confirm-email-change.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "0a1cdb06d11d760d421923cbacbea843563c908b", + "commits": [], + "end_line": 4, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/account/password-reset/init/password-reset-init.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "f9ee9e481eeafab20ba9bb5336968d46c01c7fe4", + "commits": [], + "end_line": 5, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/account/password/password.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "46bdb713a405efb7ba9d0bcc60d94b934f634e04", + "commits": [], + "end_line": 8, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/account/register/register.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "18f067add112c89a9f8829fba958bdb783e137c3", + "commits": [], + "end_line": 4, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/account/settings/account-settings-dialog.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "18f067add112c89a9f8829fba958bdb783e137c3", + "commits": [], + "end_line": 5, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/account/settings/account-settings-dialog.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "157f9a935331133ba7d367059b0ca98debf77dbb", + "commits": [], + "end_line": 3, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/account/shared/email-allowed.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "e64e9e09f31d23e4fd82ea88e1c34fa5bae7d441", + "commits": [], + "end_line": 11, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/account/user/settings/ai-experience/ai-experience-settings/ai-experience-settings.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + } + ], + "src": "M:src/main/webapp/app/account" + }, + { + "count": 2, + "dst": "M:src/main/webapp/app/course", + "how": "import-path", + "id": "M:src/main/webapp/app/account->M:src/main/webapp/app/course", + "kind": "uses", + "refs": [ + { + "blob_sha": "4c142f6d6d0a13ce6f11b8fb4684bb854159e0a1", + "commits": [], + "end_line": 7, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/account/user/settings/profile/account-information/account-information.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "129f86c52cfe79fdbbb59d35c5ac96043c4498cb", + "commits": [], + "end_line": 1, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/account/user/shared/user-course-role.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 1 + } + ], + "src": "M:src/main/webapp/app/account" + }, + { + "count": 1, + "dst": "M:src/main/webapp/app/exercise", + "how": "import-path", + "id": "M:src/main/webapp/app/account->M:src/main/webapp/app/exercise", + "kind": "uses", + "refs": [ + { + "blob_sha": "c007c83ac105d7f2e4696b5c1e96a355c6913e6a", + "commits": [], + "end_line": 1, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/account/user/settings/learning/feedback-learner-profile/onboarding-modal/feedback-examples.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 1 + } + ], + "src": "M:src/main/webapp/app/account" + }, + { + "count": 113, + "dst": "M:src/main/webapp/app/foundation", + "how": "import-path", + "id": "M:src/main/webapp/app/account->M:src/main/webapp/app/foundation", + "kind": "uses", + "refs": [ + { + "blob_sha": "901240045673abd34c1c763746ad03df3c539d0c", + "commits": [], + "end_line": 7, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/account/activate/activate.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "d7f3d2aafe0c39ff56f5bda60df0d6cebcfd8dab", + "commits": [], + "end_line": 8, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/account/confirm-email-change/confirm-email-change.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "08690c0a44698bd767f1623376d7b9411b1e0c0f", + "commits": [], + "end_line": 2, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/account/fingerprint/browser-fingerprint.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "08690c0a44698bd767f1623376d7b9411b1e0c0f", + "commits": [], + "end_line": 3, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/account/fingerprint/browser-fingerprint.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "08690c0a44698bd767f1623376d7b9411b1e0c0f", + "commits": [], + "end_line": 6, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/account/fingerprint/browser-fingerprint.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "14fecac1c7b75606e36791c7b7b502235deef5b4", + "commits": [], + "end_line": 2, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/account/password-reset/external/external-user-password-reset-modal.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "14fecac1c7b75606e36791c7b7b502235deef5b4", + "commits": [], + "end_line": 5, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/account/password-reset/external/external-user-password-reset-modal.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "6b0930bfddfa5b290fb7cc3edce5cef0d52c7d7c", + "commits": [], + "end_line": 12, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/account/password-reset/finish/password-reset-finish.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "6b0930bfddfa5b290fb7cc3edce5cef0d52c7d7c", + "commits": [], + "end_line": 13, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/account/password-reset/finish/password-reset-finish.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "0a1cdb06d11d760d421923cbacbea843563c908b", + "commits": [], + "end_line": 11, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/account/password-reset/init/password-reset-init.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + } + ], + "src": "M:src/main/webapp/app/account" + }, + { + "count": 3, + "dst": "M:src/main/webapp/app/iris", + "how": "import-path", + "id": "M:src/main/webapp/app/account->M:src/main/webapp/app/iris", + "kind": "uses", + "refs": [ + { + "blob_sha": "e64e9e09f31d23e4fd82ea88e1c34fa5bae7d441", + "commits": [], + "end_line": 12, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/account/user/settings/ai-experience/ai-experience-settings/ai-experience-settings.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "e64e9e09f31d23e4fd82ea88e1c34fa5bae7d441", + "commits": [], + "end_line": 13, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/account/user/settings/ai-experience/ai-experience-settings/ai-experience-settings.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "34f8091b03aa22b433d773f6d1f33401b72f998f", + "commits": [], + "end_line": 3, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/account/user/settings/ai-experience/llm-usage-settings/llm-usage-settings.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + } + ], + "src": "M:src/main/webapp/app/account" + }, + { + "count": 2, + "dst": "M:src/main/webapp/app/logos", + "how": "import-path", + "id": "M:src/main/webapp/app/account->M:src/main/webapp/app/logos", + "kind": "uses", + "refs": [ + { + "blob_sha": "e64e9e09f31d23e4fd82ea88e1c34fa5bae7d441", + "commits": [], + "end_line": 4, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/account/user/settings/ai-experience/ai-experience-settings/ai-experience-settings.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "34f8091b03aa22b433d773f6d1f33401b72f998f", + "commits": [], + "end_line": 8, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/account/user/settings/ai-experience/llm-usage-settings/llm-usage-settings.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + } + ], + "src": "M:src/main/webapp/app/account" + }, + { + "count": 8, + "dst": "M:src/main/webapp/app/programming", + "how": "import-path", + "id": "M:src/main/webapp/app/account->M:src/main/webapp/app/programming", + "kind": "uses", + "refs": [ + { + "blob_sha": "041ca0e0326542c45c5719a0e31abc7ed0dba02d", + "commits": [], + "end_line": 16, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/account/user/settings/credentials/ssh-settings/details/ssh-user-settings-key-details.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "e834e93480fe10ce03935d17353f1a435d1317e2", + "commits": [], + "end_line": 7, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/account/user/settings/credentials/ssh-settings/ssh-user-settings.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "2d2a6e14357d84f8c9e6305836644e33be5ea59d", + "commits": [], + "end_line": 5, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/account/user/settings/credentials/ssh-settings/ssh-user-settings.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "20ba19ce4a8ff5c5505ec9cc6afcfc793a48165d", + "commits": [], + "end_line": 16, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/account/user/settings/credentials/vcs-access-token-overview/vcs-access-token-overview.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "f67f82155d1d5567ebcb456975ed315cddaeb71c", + "commits": [], + "end_line": 1, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/account/user/settings/credentials/vcs-access-token-overview/vcs-access-token-overview.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 1 + }, + { + "blob_sha": "1aad2620fa5496fe517f20ebf180d47593aaa4a9", + "commits": [], + "end_line": 14, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/account/user/settings/exercises/ide-preferences/ide-settings.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "3177aa97fdbe6744f90d890ed347f3be999a57e3", + "commits": [], + "end_line": 5, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/account/user/settings/exercises/ide-preferences/ide-settings.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "22e45565153e69f7234e89ac604f6c3ee7c746ac", + "commits": [], + "end_line": 1, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/account/user/settings/exercises/ide-preferences/ide.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 1 + } + ], + "src": "M:src/main/webapp/app/account" + }, + { + "count": 28, + "dst": "M:src/main/webapp/app/shared-ui", + "how": "import-path", + "id": "M:src/main/webapp/app/account->M:src/main/webapp/app/shared-ui", + "kind": "uses", + "refs": [ + { + "blob_sha": "67fa36acdc851ae51781340e300ec99fb19da9f0", + "commits": [], + "end_line": 7, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/account/shared/credential-revocation-confirmation.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "67fa36acdc851ae51781340e300ec99fb19da9f0", + "commits": [], + "end_line": 5, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/account/shared/credential-revocation-confirmation.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "67fa36acdc851ae51781340e300ec99fb19da9f0", + "commits": [], + "end_line": 6, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/account/shared/credential-revocation-confirmation.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "e64e9e09f31d23e4fd82ea88e1c34fa5bae7d441", + "commits": [], + "end_line": 15, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/account/user/settings/ai-experience/ai-experience-settings/ai-experience-settings.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "e64e9e09f31d23e4fd82ea88e1c34fa5bae7d441", + "commits": [], + "end_line": 14, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/account/user/settings/ai-experience/ai-experience-settings/ai-experience-settings.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "184733854206cfee61f256942f3521ffa7aafdd6", + "commits": [], + "end_line": 16, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/account/user/settings/credentials/agent-access-settings/agent-access-settings.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "184733854206cfee61f256942f3521ffa7aafdd6", + "commits": [], + "end_line": 15, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/account/user/settings/credentials/agent-access-settings/agent-access-settings.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "b9a6345944b4d3574a2433a65671aa98e8e332e8", + "commits": [], + "end_line": 9, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/account/user/settings/credentials/credential-revocation-settings/credential-revocation-settings.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "b9a6345944b4d3574a2433a65671aa98e8e332e8", + "commits": [], + "end_line": 10, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/account/user/settings/credentials/credential-revocation-settings/credential-revocation-settings.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "56c317b62bc9fb535502122e5d7b875e351cd4d3", + "commits": [], + "end_line": 12, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/account/user/settings/credentials/passkey-settings/passkey-settings.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + } + ], + "src": "M:src/main/webapp/app/account" + }, + { + "count": 2, + "dst": "M:src/main/webapp/app/text", + "how": "import-path", + "id": "M:src/main/webapp/app/account->M:src/main/webapp/app/text", + "kind": "uses", + "refs": [ + { + "blob_sha": "c007c83ac105d7f2e4696b5c1e96a355c6913e6a", + "commits": [], + "end_line": 2, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/account/user/settings/learning/feedback-learner-profile/onboarding-modal/feedback-examples.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "8ce6e908a880b3170c2d3a963a71e39463aa8bcf", + "commits": [], + "end_line": 3, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/account/user/settings/learning/feedback-learner-profile/onboarding-modal/feedback-onboarding-modal.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + } + ], + "src": "M:src/main/webapp/app/account" + }, + { + "count": 7, + "dst": "M:src/main/webapp/app/(root)", + "how": "import-path", + "id": "M:src/main/webapp/app/admin->M:src/main/webapp/app/(root)", + "kind": "uses", + "refs": [ + { + "blob_sha": "c1921166ab93b73842b0ac980c597ca8163c564c", + "commits": [], + "end_line": 18, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/admin/admin-container/admin-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "c43dddfd75fb8bdcfcfa3b9015bd375826cfc336", + "commits": [], + "end_line": 6, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/admin/admin.routes.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "55b27063f22270b92c56f9746487dd7fb4a5ac9c", + "commits": [], + "end_line": 48, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/admin/features/admin-feature-toggle.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 48 + }, + { + "blob_sha": "e81492fad974ac98687fb1316e1725b8fd45941a", + "commits": [], + "end_line": 5, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/admin/science/admin-science.guard.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "6cfd9593505aeec61cc2d2aa5fbd3d73809f3713", + "commits": [], + "end_line": 12, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/admin/user-management/detail/user-management-detail.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "b2deca62ed0349366a9f7b5f35a7aabb81babae2", + "commits": [], + "end_line": 18, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/admin/user-management/update/user-management-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "b8559b68190f144550eb94e525e97d0712bd991d", + "commits": [], + "end_line": 38, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/admin/user-management/user-management.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 38 + } + ], + "src": "M:src/main/webapp/app/admin" + }, + { + "count": 23, + "dst": "M:src/main/webapp/app/account", + "how": "import-path", + "id": "M:src/main/webapp/app/admin->M:src/main/webapp/app/account", + "kind": "uses", + "refs": [ + { + "blob_sha": "d803a908e755e865f88e7f9ec42e588a80d1d690", + "commits": [], + "end_line": 2, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/admin/admin-data-exports/data-export.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "8034ce64cbd9c271e96de107588de37691c82cc4", + "commits": [], + "end_line": 7, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/admin/organization-management/organization-management-detail.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "26914d9c56ed4ab97d4c449b1a766929f4dea65c", + "commits": [], + "end_line": 7, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/admin/organization-management/organization-management.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "22b011697364f743e47227410195b63d2d892a31", + "commits": [], + "end_line": 3, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/admin/passkey-management/admin-passkey-management.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "64ead54779bf7f28e551e35e8dc4bc87eb62dfb4", + "commits": [], + "end_line": 12, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/admin/science/admin-science.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "1966807903307714867169251f9ead27f26d4ab4", + "commits": [], + "end_line": 5, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/admin/science/admin-science.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "d7dc3021bd3ea1efc18d8c0d0bd487cc4760d3ae", + "commits": [], + "end_line": 2, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/admin/system-notification-management/system-notification.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "51e0c34f9c00f319fa5f4b1b8c75797bc872ffa8", + "commits": [], + "end_line": 12, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/admin/user-management/course-roles/user-course-role-add.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "51e0c34f9c00f319fa5f4b1b8c75797bc872ffa8", + "commits": [], + "end_line": 20, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/admin/user-management/course-roles/user-course-role-add.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "0ee944de06c5482d8e8f33c2b156af5d564f32df", + "commits": [], + "end_line": 28, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/admin/user-management/course-roles/user-course-roles.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 + } + ], + "src": "M:src/main/webapp/app/admin" + }, + { + "count": 15, + "dst": "M:src/main/webapp/app/atlas", + "how": "import-path", + "id": "M:src/main/webapp/app/admin->M:src/main/webapp/app/atlas", + "kind": "uses", + "refs": [ + { + "blob_sha": "d82159ff0e68db62b56532c00fcf0a0339855f39", + "commits": [], + "end_line": 3, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/admin/standardized-competencies/admin-standardized-competency.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "81823bdac4ebbadb5d5cf7933053591997086bb9", + "commits": [], + "end_line": 21, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/admin/standardized-competencies/import/admin-import-standardized-competencies.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "81823bdac4ebbadb5d5cf7933053591997086bb9", + "commits": [], + "end_line": 14, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/admin/standardized-competencies/import/admin-import-standardized-competencies.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "81823bdac4ebbadb5d5cf7933053591997086bb9", + "commits": [], + "end_line": 31, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/admin/standardized-competencies/import/admin-import-standardized-competencies.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 31 + }, + { + "blob_sha": "81823bdac4ebbadb5d5cf7933053591997086bb9", + "commits": [], + "end_line": 30, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/admin/standardized-competencies/import/admin-import-standardized-competencies.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 30 + }, + { + "blob_sha": "f84f20f24260f7a1818a67bae76772a609f309de", + "commits": [], + "end_line": 3, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/admin/standardized-competencies/knowledge-area-edit.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "64a591656fd7c3fb38cafb057f2af63a5db786de", + "commits": [], + "end_line": 11, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/admin/standardized-competencies/standardized-competency-edit.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "64a591656fd7c3fb38cafb057f2af63a5db786de", + "commits": [], + "end_line": 5, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/admin/standardized-competencies/standardized-competency-edit.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "64a591656fd7c3fb38cafb057f2af63a5db786de", + "commits": [], + "end_line": 3, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/admin/standardized-competencies/standardized-competency-edit.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "144bff51339b036b5843178188a0d0c270eb3548", + "commits": [], + "end_line": 21, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/admin/standardized-competencies/standardized-competency-management.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + } + ], + "src": "M:src/main/webapp/app/admin" + }, + { + "count": 21, + "dst": "M:src/main/webapp/app/core", + "how": "import-path", + "id": "M:src/main/webapp/app/admin->M:src/main/webapp/app/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "c1921166ab93b73842b0ac980c597ca8163c564c", + "commits": [], + "end_line": 22, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/admin/admin-container/admin-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "c1921166ab93b73842b0ac980c597ca8163c564c", + "commits": [], + "end_line": 7, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/admin/admin-container/admin-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "543a95d38617c645c8a76fb1bda6b4ca8906deac", + "commits": [], + "end_line": 11, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/admin/admin-data-exports/admin-data-export-create-modal.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "c43dddfd75fb8bdcfcfa3b9015bd375826cfc336", + "commits": [], + "end_line": 1, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/admin/admin.routes.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 1 + }, + { + "blob_sha": "c43dddfd75fb8bdcfcfa3b9015bd375826cfc336", + "commits": [], + "end_line": 5, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/admin/admin.routes.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "55b27063f22270b92c56f9746487dd7fb4a5ac9c", + "commits": [], + "end_line": 19, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/admin/features/admin-feature-toggle.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "d6991412adf87f8106dfb205fc1122c3b1718d42", + "commits": [], + "end_line": 11, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/admin/legal/legal-document-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "d6991412adf87f8106dfb205fc1122c3b1718d42", + "commits": [], + "end_line": 3, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/admin/legal/legal-document-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "12120d9986160193d762f51c050f778d95b0c7d6", + "commits": [], + "end_line": 4, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/admin/lti-configuration/lti-configuration.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "26914d9c56ed4ab97d4c449b1a766929f4dea65c", + "commits": [], + "end_line": 8, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/admin/organization-management/organization-management.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + } + ], + "src": "M:src/main/webapp/app/admin" + }, + { + "count": 5, + "dst": "M:src/main/webapp/app/course", + "how": "import-path", + "id": "M:src/main/webapp/app/admin->M:src/main/webapp/app/course", + "kind": "uses", + "refs": [ + { + "blob_sha": "a57d4c928efaf88bde4b5fccfe8940bcda19666a", + "commits": [], + "end_line": 22, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/admin/course-requests/course-requests.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "a57d4c928efaf88bde4b5fccfe8940bcda19666a", + "commits": [], + "end_line": 20, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/admin/course-requests/course-requests.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "a57d4c928efaf88bde4b5fccfe8940bcda19666a", + "commits": [], + "end_line": 21, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/admin/course-requests/course-requests.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "8034ce64cbd9c271e96de107588de37691c82cc4", + "commits": [], + "end_line": 8, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/admin/organization-management/organization-management-detail.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "26914d9c56ed4ab97d4c449b1a766929f4dea65c", + "commits": [], + "end_line": 6, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/admin/organization-management/organization-management.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + } + ], + "src": "M:src/main/webapp/app/admin" + }, + { + "count": 3, + "dst": "M:src/main/webapp/app/editor", + "how": "import-path", + "id": "M:src/main/webapp/app/admin->M:src/main/webapp/app/editor", + "kind": "uses", + "refs": [ + { + "blob_sha": "d6991412adf87f8106dfb205fc1122c3b1718d42", + "commits": [], + "end_line": 12, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/admin/legal/legal-document-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "f84f20f24260f7a1818a67bae76772a609f309de", + "commits": [], + "end_line": 9, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/admin/standardized-competencies/knowledge-area-edit.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "64a591656fd7c3fb38cafb057f2af63a5db786de", + "commits": [], + "end_line": 10, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/admin/standardized-competencies/standardized-competency-edit.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + } + ], + "src": "M:src/main/webapp/app/admin" + }, + { + "count": 3, + "dst": "M:src/main/webapp/app/exam", + "how": "import-path", + "id": "M:src/main/webapp/app/admin->M:src/main/webapp/app/exam", + "kind": "uses", + "refs": [ + { + "blob_sha": "3944032ce5819bec83ac0cd6b71e5b814954a498", + "commits": [], + "end_line": 6, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/admin/upcoming-exams-and-exercises/upcoming-exams-and-exercises.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "3944032ce5819bec83ac0cd6b71e5b814954a498", + "commits": [], + "end_line": 5, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/admin/upcoming-exams-and-exercises/upcoming-exams-and-exercises.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "3944032ce5819bec83ac0cd6b71e5b814954a498", + "commits": [], + "end_line": 15, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/admin/upcoming-exams-and-exercises/upcoming-exams-and-exercises.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + } + ], + "src": "M:src/main/webapp/app/admin" + }, + { + "count": 5, + "dst": "M:src/main/webapp/app/exercise", + "how": "import-path", + "id": "M:src/main/webapp/app/admin->M:src/main/webapp/app/exercise", + "kind": "uses", + "refs": [ + { + "blob_sha": "4ab5a8ce38aca9c4c367c2e6485cf8287db9a5cf", + "commits": [], + "end_line": 28, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/admin/feature-usage/feature-usage.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 + }, + { + "blob_sha": "6db74a8a4fecb2cb621f29580967ad33a89c381a", + "commits": [], + "end_line": 3, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/admin/statistics/statistics.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "6db74a8a4fecb2cb621f29580967ad33a89c381a", + "commits": [], + "end_line": 5, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/admin/statistics/statistics.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "3944032ce5819bec83ac0cd6b71e5b814954a498", + "commits": [], + "end_line": 3, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/admin/upcoming-exams-and-exercises/upcoming-exams-and-exercises.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "3944032ce5819bec83ac0cd6b71e5b814954a498", + "commits": [], + "end_line": 4, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/admin/upcoming-exams-and-exercises/upcoming-exams-and-exercises.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + } + ], + "src": "M:src/main/webapp/app/admin" + }, + { + "count": 216, + "dst": "M:src/main/webapp/app/foundation", + "how": "import-path", + "id": "M:src/main/webapp/app/admin->M:src/main/webapp/app/foundation", + "kind": "uses", + "refs": [ + { + "blob_sha": "c1921166ab93b73842b0ac980c597ca8163c564c", + "commits": [], + "end_line": 21, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/admin/admin-container/admin-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "c1921166ab93b73842b0ac980c597ca8163c564c", + "commits": [], + "end_line": 20, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/admin/admin-container/admin-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "c1921166ab93b73842b0ac980c597ca8163c564c", + "commits": [], + "end_line": 23, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/admin/admin-container/admin-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "c1921166ab93b73842b0ac980c597ca8163c564c", + "commits": [], + "end_line": 19, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/admin/admin-container/admin-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "543a95d38617c645c8a76fb1bda6b4ca8906deac", + "commits": [], + "end_line": 6, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/admin/admin-data-exports/admin-data-export-create-modal.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "543a95d38617c645c8a76fb1bda6b4ca8906deac", + "commits": [], + "end_line": 12, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/admin/admin-data-exports/admin-data-export-create-modal.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "543a95d38617c645c8a76fb1bda6b4ca8906deac", + "commits": [], + "end_line": 10, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/admin/admin-data-exports/admin-data-export-create-modal.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "f8ffff737eb7cd8dcb2a70ff15032320dd52ed7b", + "commits": [], + "end_line": 6, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/admin/admin-data-exports/admin-data-exports.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "f8ffff737eb7cd8dcb2a70ff15032320dd52ed7b", + "commits": [], + "end_line": 11, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/admin/admin-data-exports/admin-data-exports.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "f8ffff737eb7cd8dcb2a70ff15032320dd52ed7b", + "commits": [], + "end_line": 12, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/admin/admin-data-exports/admin-data-exports.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + } + ], + "src": "M:src/main/webapp/app/admin" + }, + { + "count": 2, + "dst": "M:src/main/webapp/app/hyperion", + "how": "import-path", + "id": "M:src/main/webapp/app/admin->M:src/main/webapp/app/hyperion", + "kind": "uses", + "refs": [ + { + "blob_sha": "c43dddfd75fb8bdcfcfa3b9015bd375826cfc336", + "commits": [], + "end_line": 2, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/admin/admin.routes.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "c43dddfd75fb8bdcfcfa3b9015bd375826cfc336", + "commits": [], + "end_line": 228, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/admin/admin.routes.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 228 + } + ], + "src": "M:src/main/webapp/app/admin" + }, + { + "count": 1, + "dst": "M:src/main/webapp/app/iris", + "how": "import-path", + "id": "M:src/main/webapp/app/admin->M:src/main/webapp/app/iris", + "kind": "uses", + "refs": [ + { + "blob_sha": "c43dddfd75fb8bdcfcfa3b9015bd375826cfc336", + "commits": [], + "end_line": 15, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/admin/admin.routes.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + } + ], + "src": "M:src/main/webapp/app/admin" + }, + { + "count": 5, + "dst": "M:src/main/webapp/app/localci", + "how": "import-path", + "id": "M:src/main/webapp/app/admin->M:src/main/webapp/app/localci", + "kind": "uses", + "refs": [ + { + "blob_sha": "c43dddfd75fb8bdcfcfa3b9015bd375826cfc336", + "commits": [], + "end_line": 147, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/admin/admin.routes.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 147 + }, + { + "blob_sha": "c43dddfd75fb8bdcfcfa3b9015bd375826cfc336", + "commits": [], + "end_line": 139, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/admin/admin.routes.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 139 + }, + { + "blob_sha": "c43dddfd75fb8bdcfcfa3b9015bd375826cfc336", + "commits": [], + "end_line": 131, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/admin/admin.routes.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 131 + }, + { + "blob_sha": "c43dddfd75fb8bdcfcfa3b9015bd375826cfc336", + "commits": [], + "end_line": 123, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/admin/admin.routes.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 123 + }, + { + "blob_sha": "c43dddfd75fb8bdcfcfa3b9015bd375826cfc336", + "commits": [], + "end_line": 14, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/admin/admin.routes.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + } + ], + "src": "M:src/main/webapp/app/admin" + }, + { + "count": 3, + "dst": "M:src/main/webapp/app/lti", + "how": "import-path", + "id": "M:src/main/webapp/app/admin->M:src/main/webapp/app/lti", + "kind": "uses", + "refs": [ + { + "blob_sha": "c36430ea30011a244f109ef36e563c56b31c5790", + "commits": [], + "end_line": 7, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/admin/lti-configuration/edit/edit-lti-configuration.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "c0c2e9d4333ab9e9a3d46984450d55a31daf2c31", + "commits": [], + "end_line": 4, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/admin/lti-configuration/lti-configuration.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "2751170bc05c3470f288a4aa55e790b0f0e934fa", + "commits": [], + "end_line": 4, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/admin/lti-configuration/lti-configuration.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + } + ], + "src": "M:src/main/webapp/app/admin" + }, + { + "count": 31, + "dst": "M:src/main/webapp/app/shared-ui", + "how": "import-path", + "id": "M:src/main/webapp/app/admin->M:src/main/webapp/app/shared-ui", + "kind": "uses", + "refs": [ + { + "blob_sha": "f8ffff737eb7cd8dcb2a70ff15032320dd52ed7b", + "commits": [], + "end_line": 19, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/admin/admin-data-exports/admin-data-exports.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "5a810f064edcab95f967baee661de58b72d96350", + "commits": [], + "end_line": 26, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/admin/admin-sbom/admin-sbom.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + }, + { + "blob_sha": "500b7d5dbd3809ff087f2fa29a10fea751f730ce", + "commits": [], + "end_line": 16, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/admin/cleanup-service/cleanup-service.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "a57d4c928efaf88bde4b5fccfe8940bcda19666a", + "commits": [], + "end_line": 29, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/admin/course-requests/course-requests.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "4ab5a8ce38aca9c4c367c2e6485cf8287db9a5cf", + "commits": [], + "end_line": 29, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/admin/feature-usage/feature-usage.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "2ee9c3f9c78f3075cab7919f8e77314d8fc10d92", + "commits": [], + "end_line": 4, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/admin/iris-dashboard/iris-kpi-card/iris-kpi-card.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "c36430ea30011a244f109ef36e563c56b31c5790", + "commits": [], + "end_line": 10, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/admin/lti-configuration/edit/edit-lti-configuration.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "c0c2e9d4333ab9e9a3d46984450d55a31daf2c31", + "commits": [], + "end_line": 23, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/admin/lti-configuration/lti-configuration.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "c0c2e9d4333ab9e9a3d46984450d55a31daf2c31", + "commits": [], + "end_line": 22, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/admin/lti-configuration/lti-configuration.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "c0c2e9d4333ab9e9a3d46984450d55a31daf2c31", + "commits": [], + "end_line": 25, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/admin/lti-configuration/lti-configuration.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + } + ], + "src": "M:src/main/webapp/app/admin" + }, + { + "count": 2, + "dst": "M:src/main/webapp/app/foundation", + "how": "import-path", + "id": "M:src/main/webapp/app/aiworker->M:src/main/webapp/app/foundation", + "kind": "uses", + "refs": [ + { + "blob_sha": "af3a0e59e8ee9f13fce414a27a3bb635dc5f65af", + "commits": [], + "end_line": 9, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/aiworker/admin/ai-workers.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "af3a0e59e8ee9f13fce414a27a3bb635dc5f65af", + "commits": [], + "end_line": 10, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/aiworker/admin/ai-workers.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + } + ], + "src": "M:src/main/webapp/app/aiworker" + }, + { + "count": 2, + "dst": "M:src/main/webapp/app/(root)", + "how": "import-path", + "id": "M:src/main/webapp/app/assessment->M:src/main/webapp/app/(root)", + "kind": "uses", + "refs": [ + { + "blob_sha": "710ed3cb5431a5027ca4a3c542a8d0e834cd0a1a", + "commits": [], + "end_line": 43, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/assessment-dashboard/assessment-dashboard.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 43 + }, + { + "blob_sha": "3f30e591254fe461c943d7e9fa79b77407fc5b21", + "commits": [], + "end_line": 11, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/services/athena.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + } + ], + "src": "M:src/main/webapp/app/assessment" + }, + { + "count": 7, + "dst": "M:src/main/webapp/app/account", + "how": "import-path", + "id": "M:src/main/webapp/app/assessment->M:src/main/webapp/app/account", + "kind": "uses", + "refs": [ + { + "blob_sha": "03ee979e97d9b84394c2c537314ae6c6c0fe24db", + "commits": [], + "end_line": 7, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/services/complaint-response.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "710ed3cb5431a5027ca4a3c542a8d0e834cd0a1a", + "commits": [], + "end_line": 12, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/assessment-dashboard/assessment-dashboard.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "55e4813d0df4e1f6ba6f7bbd4fee11c9766a3256", + "commits": [], + "end_line": 13, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/assessment-dashboard/exercise-dashboard/exercise-assessment-dashboard.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "5fbb39666a9c9478b97066fc58685fc288f8c340", + "commits": [], + "end_line": 2, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/entities/assessment-note.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "9e40620232f18e60bc3a1487e733d512cb8eaaa6", + "commits": [], + "end_line": 2, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/entities/complaint-response.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "5a3a2833c2c2280d2dc13b97ca91ea57b5e245b3", + "commits": [], + "end_line": 2, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/entities/complaint.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "a7daaaa8a8f07fb2317bfb8166a825626c731554", + "commits": [], + "end_line": 14, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/services/complaint.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + } + ], + "src": "M:src/main/webapp/app/assessment" + }, + { + "count": 13, + "dst": "M:src/main/webapp/app/core", + "how": "import-path", + "id": "M:src/main/webapp/app/assessment->M:src/main/webapp/app/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "ad66c2b1d5992fdd76ab9e658466ac2f30629005", + "commits": [], + "end_line": 2, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/assessment-locks/assessment-locks.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "daab41e8e6ba5cbb7a2368f20dedd3ecad5e3b7c", + "commits": [], + "end_line": 7, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/grading/grading-key-overview/grading-key-overview.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "d1dde9a332ad7a3a4ab0a907c5e5cf465540a2ca", + "commits": [], + "end_line": 9, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/grading/grading-service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "fb6916e1c723212156425735dca55ccce1acf2fd", + "commits": [], + "end_line": 1, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/list-of-complaints/list-of-complaints.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 1 + }, + { + "blob_sha": "ed162844bb8354228e78c346f1b38cee16914819", + "commits": [], + "end_line": 3, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/list-of-complaints/list-of-complaints.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "03ee979e97d9b84394c2c537314ae6c6c0fe24db", + "commits": [], + "end_line": 3, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/services/complaint-response.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "ebfe85d0d82235390db652e015a9ccf4a3010c9d", + "commits": [], + "end_line": 12, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/assessment/overview/complaints-for-students/complaints-student-view.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "710ed3cb5431a5027ca4a3c542a8d0e834cd0a1a", + "commits": [], + "end_line": 13, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/assessment-dashboard/assessment-dashboard.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "710ed3cb5431a5027ca4a3c542a8d0e834cd0a1a", + "commits": [], + "end_line": 33, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/assessment-dashboard/assessment-dashboard.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 33 + }, + { + "blob_sha": "ce3d29c3c16285dd3166ab2bcab9dc4b24c250d4", + "commits": [], + "end_line": 15, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/assessment-dashboard/exam-assessment-buttons/exam-assessment-buttons.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + } + ], + "src": "M:src/main/webapp/app/assessment" + }, + { + "count": 32, + "dst": "M:src/main/webapp/app/course", + "how": "import-path", + "id": "M:src/main/webapp/app/assessment->M:src/main/webapp/app/course", + "kind": "uses", + "refs": [ + { + "blob_sha": "8111e15925f78bcac9b95ca75e75af4b60f7cf9f", + "commits": [], + "end_line": 10, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/assessment-locks/assessment-locks.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "8111e15925f78bcac9b95ca75e75af4b60f7cf9f", + "commits": [], + "end_line": 12, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/assessment-locks/assessment-locks.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "ad66c2b1d5992fdd76ab9e658466ac2f30629005", + "commits": [], + "end_line": 5, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/assessment-locks/assessment-locks.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "723021e00d72b9807f14c9244534ffb7d913812f", + "commits": [], + "end_line": 18, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/complaints-for-tutor/complaints-for-tutor.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "56ac1286994deb77da68573c9b00ef35cfdcc35c", + "commits": [], + "end_line": 37, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/grading/bonus/bonus.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 37 + }, + { + "blob_sha": "56ac1286994deb77da68573c9b00ef35cfdcc35c", + "commits": [], + "end_line": 36, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/grading/bonus/bonus.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 36 + }, + { + "blob_sha": "56ac1286994deb77da68573c9b00ef35cfdcc35c", + "commits": [], + "end_line": 34, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/grading/bonus/bonus.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 34 + }, + { + "blob_sha": "d6ca93fc1597983d86e2ea8ce59fa3281603b589", + "commits": [], + "end_line": 20, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/grading/grading-key/grading-key-table.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "d1dde9a332ad7a3a4ab0a907c5e5cf465540a2ca", + "commits": [], + "end_line": 10, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/grading/grading-service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "b08d47660ad7ca62ab34430ddf6d11aeea67e8b5", + "commits": [], + "end_line": 24, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/grading/grading.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + } + ], + "src": "M:src/main/webapp/app/assessment" + }, + { + "count": 15, + "dst": "M:src/main/webapp/app/exam", + "how": "import-path", + "id": "M:src/main/webapp/app/assessment->M:src/main/webapp/app/exam", + "kind": "uses", + "refs": [ + { + "blob_sha": "8111e15925f78bcac9b95ca75e75af4b60f7cf9f", + "commits": [], + "end_line": 18, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/assessment-locks/assessment-locks.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "b08d47660ad7ca62ab34430ddf6d11aeea67e8b5", + "commits": [], + "end_line": 25, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/grading/grading.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "b08d47660ad7ca62ab34430ddf6d11aeea67e8b5", + "commits": [], + "end_line": 23, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/grading/grading.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "ebfe85d0d82235390db652e015a9ccf4a3010c9d", + "commits": [], + "end_line": 11, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/assessment/overview/complaints-for-students/complaints-student-view.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "710ed3cb5431a5027ca4a3c542a8d0e834cd0a1a", + "commits": [], + "end_line": 24, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/assessment-dashboard/assessment-dashboard.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "710ed3cb5431a5027ca4a3c542a8d0e834cd0a1a", + "commits": [], + "end_line": 23, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/assessment-dashboard/assessment-dashboard.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "710ed3cb5431a5027ca4a3c542a8d0e834cd0a1a", + "commits": [], + "end_line": 22, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/assessment-dashboard/assessment-dashboard.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "ce3d29c3c16285dd3166ab2bcab9dc4b24c250d4", + "commits": [], + "end_line": 10, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/assessment-dashboard/exam-assessment-buttons/exam-assessment-buttons.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "ce3d29c3c16285dd3166ab2bcab9dc4b24c250d4", + "commits": [], + "end_line": 4, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/assessment-dashboard/exam-assessment-buttons/exam-assessment-buttons.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "ce3d29c3c16285dd3166ab2bcab9dc4b24c250d4", + "commits": [], + "end_line": 13, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/assessment-dashboard/exam-assessment-buttons/exam-assessment-buttons.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + } + ], + "src": "M:src/main/webapp/app/assessment" + }, + { + "count": 79, + "dst": "M:src/main/webapp/app/exercise", + "how": "import-path", + "id": "M:src/main/webapp/app/assessment->M:src/main/webapp/app/exercise", + "kind": "uses", + "refs": [ + { + "blob_sha": "5edee0c39169c45f7c7911cf5f00c05525092add", + "commits": [], + "end_line": 6, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/assessment-header/assessment-header.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "5edee0c39169c45f7c7911cf5f00c05525092add", + "commits": [], + "end_line": 5, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/assessment-header/assessment-header.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "82485a4ae76c0c2c284d76a3904fc54f38ab5112", + "commits": [], + "end_line": 7, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/assessment-instructions/assessment-instructions/assessment-instructions.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "82485a4ae76c0c2c284d76a3904fc54f38ab5112", + "commits": [], + "end_line": 8, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/assessment-instructions/assessment-instructions/assessment-instructions.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "82485a4ae76c0c2c284d76a3904fc54f38ab5112", + "commits": [], + "end_line": 9, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/assessment-instructions/assessment-instructions/assessment-instructions.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "82485a4ae76c0c2c284d76a3904fc54f38ab5112", + "commits": [], + "end_line": 21, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/assessment-instructions/assessment-instructions/assessment-instructions.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "8a652cb9d32590c078dab63d6813983561c88cdf", + "commits": [], + "end_line": 4, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/assessment-instructions/collapsable-assessment-instructions/collapsable-assessment-instructions.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "7445b7f9c12d5ca166b7f5725558bcaf13230120", + "commits": [], + "end_line": 4, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/assessment-layout/assessment-layout.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "7445b7f9c12d5ca166b7f5725558bcaf13230120", + "commits": [], + "end_line": 2, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/assessment-layout/assessment-layout.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "7445b7f9c12d5ca166b7f5725558bcaf13230120", + "commits": [], + "end_line": 5, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/assessment-layout/assessment-layout.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + } + ], + "src": "M:src/main/webapp/app/assessment" + }, + { + "count": 4, + "dst": "M:src/main/webapp/app/fileupload", + "how": "import-path", + "id": "M:src/main/webapp/app/assessment->M:src/main/webapp/app/fileupload", + "kind": "uses", + "refs": [ + { + "blob_sha": "82485a4ae76c0c2c284d76a3904fc54f38ab5112", + "commits": [], + "end_line": 10, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/assessment-instructions/assessment-instructions/assessment-instructions.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "8111e15925f78bcac9b95ca75e75af4b60f7cf9f", + "commits": [], + "end_line": 7, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/assessment-locks/assessment-locks.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "55e4813d0df4e1f6ba6f7bbd4fee11c9766a3256", + "commits": [], + "end_line": 31, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/assessment-dashboard/exercise-dashboard/exercise-assessment-dashboard.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 31 + }, + { + "blob_sha": "55e4813d0df4e1f6ba6f7bbd4fee11c9766a3256", + "commits": [], + "end_line": 32, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/assessment-dashboard/exercise-dashboard/exercise-assessment-dashboard.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 32 + } + ], + "src": "M:src/main/webapp/app/assessment" + }, + { + "count": 145, + "dst": "M:src/main/webapp/app/foundation", + "how": "import-path", + "id": "M:src/main/webapp/app/assessment->M:src/main/webapp/app/foundation", + "kind": "uses", + "refs": [ + { + "blob_sha": "3ea8cd5d0e1240682c413bf56445ffab0310da58", + "commits": [], + "end_line": 4, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/assessment-complaint-alert/assessment-complaint-alert.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "5edee0c39169c45f7c7911cf5f00c05525092add", + "commits": [], + "end_line": 15, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/assessment-header/assessment-header.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "5edee0c39169c45f7c7911cf5f00c05525092add", + "commits": [], + "end_line": 18, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/assessment-header/assessment-header.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "82485a4ae76c0c2c284d76a3904fc54f38ab5112", + "commits": [], + "end_line": 16, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/assessment-instructions/assessment-instructions/assessment-instructions.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "82485a4ae76c0c2c284d76a3904fc54f38ab5112", + "commits": [], + "end_line": 22, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/assessment-instructions/assessment-instructions/assessment-instructions.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "82485a4ae76c0c2c284d76a3904fc54f38ab5112", + "commits": [], + "end_line": 17, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/assessment-instructions/assessment-instructions/assessment-instructions.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "82485a4ae76c0c2c284d76a3904fc54f38ab5112", + "commits": [], + "end_line": 18, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/assessment-instructions/assessment-instructions/assessment-instructions.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "8a652cb9d32590c078dab63d6813983561c88cdf", + "commits": [], + "end_line": 6, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/assessment-instructions/collapsable-assessment-instructions/collapsable-assessment-instructions.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "8a652cb9d32590c078dab63d6813983561c88cdf", + "commits": [], + "end_line": 9, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/assessment-instructions/collapsable-assessment-instructions/collapsable-assessment-instructions.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "c393db981ecf471365de85b3d09c9659b2d3e1ba", + "commits": [], + "end_line": 4, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/assessment-instructions/expandable-section/expandable-section.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + } + ], + "src": "M:src/main/webapp/app/assessment" + }, + { + "count": 10, + "dst": "M:src/main/webapp/app/modeling", + "how": "import-path", + "id": "M:src/main/webapp/app/assessment->M:src/main/webapp/app/modeling", + "kind": "uses", + "refs": [ + { + "blob_sha": "82485a4ae76c0c2c284d76a3904fc54f38ab5112", + "commits": [], + "end_line": 11, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/assessment-instructions/assessment-instructions/assessment-instructions.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "82485a4ae76c0c2c284d76a3904fc54f38ab5112", + "commits": [], + "end_line": 12, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/assessment-instructions/assessment-instructions/assessment-instructions.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "8111e15925f78bcac9b95ca75e75af4b60f7cf9f", + "commits": [], + "end_line": 15, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/assessment-locks/assessment-locks.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "55e4813d0df4e1f6ba6f7bbd4fee11c9766a3256", + "commits": [], + "end_line": 26, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/assessment-dashboard/exercise-dashboard/exercise-assessment-dashboard.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + }, + { + "blob_sha": "55e4813d0df4e1f6ba6f7bbd4fee11c9766a3256", + "commits": [], + "end_line": 21, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/assessment-dashboard/exercise-dashboard/exercise-assessment-dashboard.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "55e4813d0df4e1f6ba6f7bbd4fee11c9766a3256", + "commits": [], + "end_line": 15, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/assessment-dashboard/exercise-dashboard/exercise-assessment-dashboard.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "3f30e591254fe461c943d7e9fa79b77407fc5b21", + "commits": [], + "end_line": 12, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/services/athena.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "38bda8bf93194356eb54c6d7f572fa07ed6fa092", + "commits": [], + "end_line": 8, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/services/example-submission.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "38bda8bf93194356eb54c6d7f572fa07ed6fa092", + "commits": [], + "end_line": 5, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/services/example-submission.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "d0743b6fe42d7af69c075093858f0fc566fffb4e", + "commits": [], + "end_line": 7, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/util/example-submission-request.util.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + } + ], + "src": "M:src/main/webapp/app/assessment" + }, + { + "count": 1, + "dst": "M:src/main/webapp/app/plagiarism", + "how": "import-path", + "id": "M:src/main/webapp/app/assessment->M:src/main/webapp/app/plagiarism", + "kind": "uses", + "refs": [ + { + "blob_sha": "d1c1a8184973e29c97e022b920d3ffabcee241d6", + "commits": [], + "end_line": 3, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/entities/bonus.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + } + ], + "src": "M:src/main/webapp/app/assessment" + }, + { + "count": 10, + "dst": "M:src/main/webapp/app/programming", + "how": "import-path", + "id": "M:src/main/webapp/app/assessment->M:src/main/webapp/app/programming", + "kind": "uses", + "refs": [ + { + "blob_sha": "82485a4ae76c0c2c284d76a3904fc54f38ab5112", + "commits": [], + "end_line": 13, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/assessment-instructions/assessment-instructions/assessment-instructions.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "82485a4ae76c0c2c284d76a3904fc54f38ab5112", + "commits": [], + "end_line": 14, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/assessment-instructions/assessment-instructions/assessment-instructions.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "8111e15925f78bcac9b95ca75e75af4b60f7cf9f", + "commits": [], + "end_line": 17, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/assessment-locks/assessment-locks.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "710ed3cb5431a5027ca4a3c542a8d0e834cd0a1a", + "commits": [], + "end_line": 49, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/assessment-dashboard/assessment-dashboard.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 49 + }, + { + "blob_sha": "55e4813d0df4e1f6ba6f7bbd4fee11c9766a3256", + "commits": [], + "end_line": 34, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/assessment-dashboard/exercise-dashboard/exercise-assessment-dashboard.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 34 + }, + { + "blob_sha": "55e4813d0df4e1f6ba6f7bbd4fee11c9766a3256", + "commits": [], + "end_line": 33, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/assessment-dashboard/exercise-dashboard/exercise-assessment-dashboard.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 33 + }, + { + "blob_sha": "55e4813d0df4e1f6ba6f7bbd4fee11c9766a3256", + "commits": [], + "end_line": 16, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/assessment-dashboard/exercise-dashboard/exercise-assessment-dashboard.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "55e4813d0df4e1f6ba6f7bbd4fee11c9766a3256", + "commits": [], + "end_line": 35, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/assessment-dashboard/exercise-dashboard/exercise-assessment-dashboard.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 35 + }, + { + "blob_sha": "a56d14d0c36c3d8739966b96acb7af1de7ae8125", + "commits": [], + "end_line": 6, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/entities/feedback.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "44a3b3b09f0fa9240a56cf85d74b2ed5fae99b65", + "commits": [], + "end_line": 3, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/util/feedback-response.util.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + } + ], + "src": "M:src/main/webapp/app/assessment" + }, + { + "count": 1, + "dst": "M:src/main/webapp/app/quiz", + "how": "import-path", + "id": "M:src/main/webapp/app/assessment->M:src/main/webapp/app/quiz", + "kind": "uses", + "refs": [ + { + "blob_sha": "710ed3cb5431a5027ca4a3c542a8d0e834cd0a1a", + "commits": [], + "end_line": 25, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/assessment-dashboard/assessment-dashboard.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + } + ], + "src": "M:src/main/webapp/app/assessment" + }, + { + "count": 2, + "dst": "M:src/main/webapp/app/shared", + "how": "import-path", + "id": "M:src/main/webapp/app/assessment->M:src/main/webapp/app/shared", + "kind": "uses", + "refs": [ + { + "blob_sha": "8d48dc5c4366b51c25ee73358e263f6aba4d7495", + "commits": [], + "end_line": 6, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/unreferenced-feedback-detail/unreferenced-feedback-detail.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "710ed3cb5431a5027ca4a3c542a8d0e834cd0a1a", + "commits": [], + "end_line": 48, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/assessment-dashboard/assessment-dashboard.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 48 + } + ], + "src": "M:src/main/webapp/app/assessment" + }, + { + "count": 26, + "dst": "M:src/main/webapp/app/shared-ui", + "how": "import-path", + "id": "M:src/main/webapp/app/assessment->M:src/main/webapp/app/shared-ui", + "kind": "uses", + "refs": [ + { + "blob_sha": "82485a4ae76c0c2c284d76a3904fc54f38ab5112", + "commits": [], + "end_line": 15, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/assessment-instructions/assessment-instructions/assessment-instructions.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "8a652cb9d32590c078dab63d6813983561c88cdf", + "commits": [], + "end_line": 7, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/assessment-instructions/collapsable-assessment-instructions/collapsable-assessment-instructions.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "723021e00d72b9807f14c9244534ffb7d913812f", + "commits": [], + "end_line": 24, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/complaints-for-tutor/complaints-for-tutor.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "56ac1286994deb77da68573c9b00ef35cfdcc35c", + "commits": [], + "end_line": 18, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/grading/bonus/bonus.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "56ac1286994deb77da68573c9b00ef35cfdcc35c", + "commits": [], + "end_line": 32, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/grading/bonus/bonus.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 32 + }, + { + "blob_sha": "56ac1286994deb77da68573c9b00ef35cfdcc35c", + "commits": [], + "end_line": 28, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/grading/bonus/bonus.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 + }, + { + "blob_sha": "56ac1286994deb77da68573c9b00ef35cfdcc35c", + "commits": [], + "end_line": 38, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/grading/bonus/bonus.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 38 + }, + { + "blob_sha": "d6ca93fc1597983d86e2ea8ce59fa3281603b589", + "commits": [], + "end_line": 19, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/grading/grading-key/grading-key-table.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "00016428c346e9d234b794655f554185bf119c38", + "commits": [], + "end_line": 8, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/grading/grading-presentations/grading-presentations.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "b08d47660ad7ca62ab34430ddf6d11aeea67e8b5", + "commits": [], + "end_line": 17, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/grading/grading.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + } + ], + "src": "M:src/main/webapp/app/assessment" + }, + { + "count": 16, + "dst": "M:src/main/webapp/app/text", + "how": "import-path", + "id": "M:src/main/webapp/app/assessment->M:src/main/webapp/app/text", + "kind": "uses", + "refs": [ + { + "blob_sha": "5edee0c39169c45f7c7911cf5f00c05525092add", + "commits": [], + "end_line": 7, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/assessment-header/assessment-header.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "5edee0c39169c45f7c7911cf5f00c05525092add", + "commits": [], + "end_line": 8, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/assessment-header/assessment-header.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "82485a4ae76c0c2c284d76a3904fc54f38ab5112", + "commits": [], + "end_line": 19, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/assessment-instructions/assessment-instructions/assessment-instructions.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "8111e15925f78bcac9b95ca75e75af4b60f7cf9f", + "commits": [], + "end_line": 16, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/assessment/manage/assessment-locks/assessment-locks.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "55e4813d0df4e1f6ba6f7bbd4fee11c9766a3256", + "commits": [], + "end_line": 17, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/assessment-dashboard/exercise-dashboard/exercise-assessment-dashboard.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "55e4813d0df4e1f6ba6f7bbd4fee11c9766a3256", + "commits": [], + "end_line": 20, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/assessment-dashboard/exercise-dashboard/exercise-assessment-dashboard.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "55e4813d0df4e1f6ba6f7bbd4fee11c9766a3256", + "commits": [], + "end_line": 42, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/assessment-dashboard/exercise-dashboard/exercise-assessment-dashboard.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 42 + }, + { + "blob_sha": "f143cd75032c9bc110bbd06478a7ed8c4a52d070", + "commits": [], + "end_line": 3, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/assessment-dashboard/exercise-dashboard/language-table-cell/language-table-cell.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "a56d14d0c36c3d8739966b96acb7af1de7ae8125", + "commits": [], + "end_line": 3, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/entities/feedback.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "3f30e591254fe461c943d7e9fa79b77407fc5b21", + "commits": [], + "end_line": 9, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/assessment/shared/services/athena.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + } + ], + "src": "M:src/main/webapp/app/assessment" + }, + { + "count": 5, + "dst": "M:src/main/webapp/app/(root)", + "how": "import-path", + "id": "M:src/main/webapp/app/atlas->M:src/main/webapp/app/(root)", + "kind": "uses", + "refs": [ + { + "blob_sha": "b83ad51e3ea3e2538527ea799141533791277027", + "commits": [], + "end_line": 15, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/competency-management/competency-management.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "3f2646d586409aad12d2cc439114c1c9be3d5618", + "commits": [], + "end_line": 16, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/orchestration-trigger/atlas-orchestration-trigger.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "862e7aed8700dee42bdec3c8394f774a3edf8970", + "commits": [], + "end_line": 15, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/atlas/shared/competency-contribution/competency-contribution.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "d72703f700d3727455afb28433ecc4143d205272", + "commits": [], + "end_line": 23, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/atlas/shared/competency-selection/competency-selection.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "abf6033c9fd7c50cda81e2a334a9d432474c8cb8", + "commits": [], + "end_line": 30, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/atlas/shared/dto/course-competency-response.dto.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 30 + } + ], + "src": "M:src/main/webapp/app/atlas" + }, + { + "count": 1, + "dst": "M:src/main/webapp/app/account", + "how": "import-path", + "id": "M:src/main/webapp/app/atlas->M:src/main/webapp/app/account", + "kind": "uses", + "refs": [ + { + "blob_sha": "3019a5635a959d35ce924a988cb67ee43dd5f803", + "commits": [], + "end_line": 3, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/atlas/shared/entities/learning-path.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + } + ], + "src": "M:src/main/webapp/app/atlas" + }, + { + "count": 3, + "dst": "M:src/main/webapp/app/admin", + "how": "import-path", + "id": "M:src/main/webapp/app/atlas->M:src/main/webapp/app/admin", + "kind": "uses", + "refs": [ + { + "blob_sha": "7d9e04675a186c87b208abae53c9264aed811eec", + "commits": [], + "end_line": 8, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/competency-management/import-all-competencies.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "636a89062f1b78192a838f29025aa5362f298c76", + "commits": [], + "end_line": 9, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/import-list/import-table.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "072916baaec3c0495e8e609995385bf2860883d7", + "commits": [], + "end_line": 7, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/learning-paths-table/learning-paths-table.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + } + ], + "src": "M:src/main/webapp/app/atlas" + }, + { + "count": 1, + "dst": "M:src/main/webapp/app/assessment", + "how": "import-path", + "id": "M:src/main/webapp/app/atlas->M:src/main/webapp/app/assessment", + "kind": "uses", + "refs": [ + { + "blob_sha": "abf6033c9fd7c50cda81e2a334a9d432474c8cb8", + "commits": [], + "end_line": 14, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/atlas/shared/dto/course-competency-response.dto.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + } + ], + "src": "M:src/main/webapp/app/atlas" + }, + { + "count": 1, + "dst": "M:src/main/webapp/app/communication", + "how": "import-path", + "id": "M:src/main/webapp/app/atlas->M:src/main/webapp/app/communication", + "kind": "uses", + "refs": [ + { + "blob_sha": "45c317bce24fda9e50e5b30a9d079c601bc7c345", + "commits": [], + "end_line": 16, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/atlas/overview/learning-path-lecture-unit/learning-path-lecture-unit.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + } + ], + "src": "M:src/main/webapp/app/atlas" + }, + { + "count": 9, + "dst": "M:src/main/webapp/app/core", + "how": "import-path", + "id": "M:src/main/webapp/app/atlas->M:src/main/webapp/app/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "b83ad51e3ea3e2538527ea799141533791277027", + "commits": [], + "end_line": 36, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/competency-management/competency-management.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 36 + }, + { + "blob_sha": "b83ad51e3ea3e2538527ea799141533791277027", + "commits": [], + "end_line": 13, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/competency-management/competency-management.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "3f2646d586409aad12d2cc439114c1c9be3d5618", + "commits": [], + "end_line": 15, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/orchestration-trigger/atlas-orchestration-trigger.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "862e7aed8700dee42bdec3c8394f774a3edf8970", + "commits": [], + "end_line": 14, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/atlas/shared/competency-contribution/competency-contribution.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "d72703f700d3727455afb28433ecc4143d205272", + "commits": [], + "end_line": 22, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/atlas/shared/competency-selection/competency-selection.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "9436fbfe1b5a7a3c55b599e465e6ee10a156f4dc", + "commits": [], + "end_line": 6, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/atlas/shared/dag-graph/dag-graph.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "abf6033c9fd7c50cda81e2a334a9d432474c8cb8", + "commits": [], + "end_line": 19, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/atlas/shared/dto/course-competency-response.dto.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "c5dd3d7bc3fabfe93c029c2e1f5f8089959b38a2", + "commits": [], + "end_line": 20, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/atlas/shared/services/course-competency.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "c5dd3d7bc3fabfe93c029c2e1f5f8089959b38a2", + "commits": [], + "end_line": 22, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/atlas/shared/services/course-competency.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + } + ], + "src": "M:src/main/webapp/app/atlas" + }, + { + "count": 23, + "dst": "M:src/main/webapp/app/course", + "how": "import-path", + "id": "M:src/main/webapp/app/atlas->M:src/main/webapp/app/course", + "kind": "uses", + "refs": [ + { + "blob_sha": "b83ad51e3ea3e2538527ea799141533791277027", + "commits": [], + "end_line": 32, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/competency-management/competency-management.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 32 + }, + { + "blob_sha": "b83ad51e3ea3e2538527ea799141533791277027", + "commits": [], + "end_line": 34, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/competency-management/competency-management.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 34 + }, + { + "blob_sha": "b83ad51e3ea3e2538527ea799141533791277027", + "commits": [], + "end_line": 33, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/competency-management/competency-management.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 33 + }, + { + "blob_sha": "7d9e04675a186c87b208abae53c9264aed811eec", + "commits": [], + "end_line": 2, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/competency-management/import-all-competencies.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "7d9e04675a186c87b208abae53c9264aed811eec", + "commits": [], + "end_line": 17, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/competency-management/import-all-competencies.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "d2c1d6d9bf40a5474b0f9c0fe6e2dedb52d852d6", + "commits": [], + "end_line": 21, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/generate-competencies/generate-competencies.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "1ad8483e791448510ce6e958bef404e42ea33e8c", + "commits": [], + "end_line": 6, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/import-all-course-competencies-modal/import-all-course-competencies-modal.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "1ad8483e791448510ce6e958bef404e42ea33e8c", + "commits": [], + "end_line": 12, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/import-all-course-competencies-modal/import-all-course-competencies-modal.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "4cac79b980ccfb03cf146e40f28863cca8986b81", + "commits": [], + "end_line": 11, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/learning-path-instructor-page/learning-path-instructor-page.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "4cac79b980ccfb03cf146e40f28863cca8986b81", + "commits": [], + "end_line": 8, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/learning-path-instructor-page/learning-path-instructor-page.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + } + ], + "src": "M:src/main/webapp/app/atlas" + }, + { + "count": 2, + "dst": "M:src/main/webapp/app/editor", + "how": "import-path", + "id": "M:src/main/webapp/app/atlas->M:src/main/webapp/app/editor", + "kind": "uses", + "refs": [ + { + "blob_sha": "9112558f0273cfb33620f9d26be62caa3c6ac31d", + "commits": [], + "end_line": 16, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/forms/common-course-competency-form.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "d5d341ba39d42753a168f3a2285113d66bd2e4b4", + "commits": [], + "end_line": 13, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/generate-competencies/competency-recommendation-detail.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + } + ], + "src": "M:src/main/webapp/app/atlas" + }, + { + "count": 7, + "dst": "M:src/main/webapp/app/exercise", + "how": "import-path", + "id": "M:src/main/webapp/app/atlas->M:src/main/webapp/app/exercise", + "kind": "uses", + "refs": [ + { + "blob_sha": "1ad8483e791448510ce6e958bef404e42ea33e8c", + "commits": [], + "end_line": 4, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/import-all-course-competencies-modal/import-all-course-competencies-modal.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "636a89062f1b78192a838f29025aa5362f298c76", + "commits": [], + "end_line": 3, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/import-list/import-table.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "3f2646d586409aad12d2cc439114c1c9be3d5618", + "commits": [], + "end_line": 14, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/orchestration-trigger/atlas-orchestration-trigger.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "abf6033c9fd7c50cda81e2a334a9d432474c8cb8", + "commits": [], + "end_line": 22, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/atlas/shared/dto/course-competency-response.dto.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "abf6033c9fd7c50cda81e2a334a9d432474c8cb8", + "commits": [], + "end_line": 13, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/atlas/shared/dto/course-competency-response.dto.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "5c2366cee9b506eb694249bc26d7829c0abc3432", + "commits": [], + "end_line": 4, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/atlas/shared/entities/competency.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "c5dd3d7bc3fabfe93c029c2e1f5f8089959b38a2", + "commits": [], + "end_line": 19, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/atlas/shared/services/course-competency.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + } + ], + "src": "M:src/main/webapp/app/atlas" + }, + { + "count": 1, + "dst": "M:src/main/webapp/app/fileupload", + "how": "import-path", + "id": "M:src/main/webapp/app/atlas->M:src/main/webapp/app/fileupload", + "kind": "uses", + "refs": [ + { + "blob_sha": "abf6033c9fd7c50cda81e2a334a9d432474c8cb8", + "commits": [], + "end_line": 17, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/atlas/shared/dto/course-competency-response.dto.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + } + ], + "src": "M:src/main/webapp/app/atlas" + }, + { + "count": 220, + "dst": "M:src/main/webapp/app/foundation", + "how": "import-path", + "id": "M:src/main/webapp/app/atlas->M:src/main/webapp/app/foundation", + "kind": "uses", + "refs": [ + { + "blob_sha": "172312903a2594fcf1a97dc6ef9e6fbc315db7be", + "commits": [], + "end_line": 10, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/agent-chat-modal/agent-chat-modal.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "172312903a2594fcf1a97dc6ef9e6fbc315db7be", + "commits": [], + "end_line": 23, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/agent-chat-modal/agent-chat-modal.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "172312903a2594fcf1a97dc6ef9e6fbc315db7be", + "commits": [], + "end_line": 28, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/agent-chat-modal/agent-chat-modal.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 + }, + { + "blob_sha": "172312903a2594fcf1a97dc6ef9e6fbc315db7be", + "commits": [], + "end_line": 27, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/agent-chat-modal/agent-chat-modal.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + }, + { + "blob_sha": "ca71d3b27bddbb747ec077839be7135dc9bb5d22", + "commits": [], + "end_line": 9, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/competency-graph-modal/competency-graph-modal.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "ca71d3b27bddbb747ec077839be7135dc9bb5d22", + "commits": [], + "end_line": 6, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/competency-graph-modal/competency-graph-modal.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "ca71d3b27bddbb747ec077839be7135dc9bb5d22", + "commits": [], + "end_line": 7, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/competency-graph-modal/competency-graph-modal.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "f8c25b736dfcfc2b295cad9f80234246e6f3ffcf", + "commits": [], + "end_line": 2, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/competency-graph/competency-graph.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "f8c25b736dfcfc2b295cad9f80234246e6f3ffcf", + "commits": [], + "end_line": 6, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/competency-graph/competency-graph.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "ecf7b456e7efdfcfc1096d1df9e1bbb208c3e901", + "commits": [], + "end_line": 25, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/competency-management/competency-management-table.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + } + ], + "src": "M:src/main/webapp/app/atlas" + }, + { + "count": 3, + "dst": "M:src/main/webapp/app/iris", + "how": "import-path", + "id": "M:src/main/webapp/app/atlas->M:src/main/webapp/app/iris", + "kind": "uses", + "refs": [ + { + "blob_sha": "b83ad51e3ea3e2538527ea799141533791277027", + "commits": [], + "end_line": 14, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/competency-management/competency-management.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "b43a02af9e3794e1181d9b0d7766fd72f804a5be", + "commits": [], + "end_line": 10, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/generate-competencies/course-description-form.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "d2c1d6d9bf40a5474b0f9c0fe6e2dedb52d852d6", + "commits": [], + "end_line": 25, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/generate-competencies/generate-competencies.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + } + ], + "src": "M:src/main/webapp/app/atlas" + }, + { + "count": 25, + "dst": "M:src/main/webapp/app/lecture", + "how": "import-path", + "id": "M:src/main/webapp/app/atlas->M:src/main/webapp/app/lecture", + "kind": "uses", + "refs": [ + { + "blob_sha": "c59a686746a6c332898bd71a1516b428a86121dd", + "commits": [], + "end_line": 4, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/create/create-course-competency.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "b72d4e3ac3fb2f876cc37ca38a6e6db9060421dc", + "commits": [], + "end_line": 4, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/edit/edit-course-competency.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "23ec5d7316bbc2149855991042f6baf05063ba3e", + "commits": [], + "end_line": 24, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/atlas/overview/course-competencies/course-competencies-details.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "23ec5d7316bbc2149855991042f6baf05063ba3e", + "commits": [], + "end_line": 34, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/atlas/overview/course-competencies/course-competencies-details.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 34 + }, + { + "blob_sha": "23ec5d7316bbc2149855991042f6baf05063ba3e", + "commits": [], + "end_line": 23, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/atlas/overview/course-competencies/course-competencies-details.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "23ec5d7316bbc2149855991042f6baf05063ba3e", + "commits": [], + "end_line": 33, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/atlas/overview/course-competencies/course-competencies-details.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 33 + }, + { + "blob_sha": "23ec5d7316bbc2149855991042f6baf05063ba3e", + "commits": [], + "end_line": 36, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/atlas/overview/course-competencies/course-competencies-details.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 36 + }, + { + "blob_sha": "23ec5d7316bbc2149855991042f6baf05063ba3e", + "commits": [], + "end_line": 35, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/atlas/overview/course-competencies/course-competencies-details.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 35 + }, + { + "blob_sha": "23ec5d7316bbc2149855991042f6baf05063ba3e", + "commits": [], + "end_line": 25, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/atlas/overview/course-competencies/course-competencies-details.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "23ec5d7316bbc2149855991042f6baf05063ba3e", + "commits": [], + "end_line": 22, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/atlas/overview/course-competencies/course-competencies-details.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + } + ], + "src": "M:src/main/webapp/app/atlas" + }, + { + "count": 1, + "dst": "M:src/main/webapp/app/modeling", + "how": "import-path", + "id": "M:src/main/webapp/app/atlas->M:src/main/webapp/app/modeling", + "kind": "uses", + "refs": [ + { + "blob_sha": "abf6033c9fd7c50cda81e2a334a9d432474c8cb8", + "commits": [], + "end_line": 16, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/atlas/shared/dto/course-competency-response.dto.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + } + ], + "src": "M:src/main/webapp/app/atlas" + }, + { + "count": 1, + "dst": "M:src/main/webapp/app/programming", + "how": "import-path", + "id": "M:src/main/webapp/app/atlas->M:src/main/webapp/app/programming", + "kind": "uses", + "refs": [ + { + "blob_sha": "abf6033c9fd7c50cda81e2a334a9d432474c8cb8", + "commits": [], + "end_line": 15, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/atlas/shared/dto/course-competency-response.dto.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + } + ], + "src": "M:src/main/webapp/app/atlas" + }, + { + "count": 1, + "dst": "M:src/main/webapp/app/quiz", + "how": "import-path", + "id": "M:src/main/webapp/app/atlas->M:src/main/webapp/app/quiz", + "kind": "uses", + "refs": [ + { + "blob_sha": "abf6033c9fd7c50cda81e2a334a9d432474c8cb8", + "commits": [], + "end_line": 20, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/atlas/shared/dto/course-competency-response.dto.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + } + ], + "src": "M:src/main/webapp/app/atlas" + }, + { + "count": 31, + "dst": "M:src/main/webapp/app/shared-ui", + "how": "import-path", + "id": "M:src/main/webapp/app/atlas->M:src/main/webapp/app/shared-ui", + "kind": "uses", + "refs": [ + { + "blob_sha": "ca71d3b27bddbb747ec077839be7135dc9bb5d22", + "commits": [], + "end_line": 10, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/competency-graph-modal/competency-graph-modal.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "ecf7b456e7efdfcfc1096d1df9e1bbb208c3e901", + "commits": [], + "end_line": 28, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/competency-management/competency-management-table.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 + }, + { + "blob_sha": "b83ad51e3ea3e2538527ea799141533791277027", + "commits": [], + "end_line": 12, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/competency-management/competency-management.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "7d9e04675a186c87b208abae53c9264aed811eec", + "commits": [], + "end_line": 13, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/competency-management/import-all-competencies.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "7d9e04675a186c87b208abae53c9264aed811eec", + "commits": [], + "end_line": 3, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/competency-management/import-all-competencies.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "36c64a2639bb16c87288c2d6114e74c5afe979f7", + "commits": [], + "end_line": 12, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/create/create-competency.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "c59a686746a6c332898bd71a1516b428a86121dd", + "commits": [], + "end_line": 5, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/create/create-course-competency.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "e339453be36cd2f4d820c9c10ab65a620ef30d00", + "commits": [], + "end_line": 13, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/create/create-prerequisite.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "9112558f0273cfb33620f9d26be62caa3c6ac31d", + "commits": [], + "end_line": 12, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/forms/common-course-competency-form.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "9112558f0273cfb33620f9d26be62caa3c6ac31d", + "commits": [], + "end_line": 11, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/atlas/manage/forms/common-course-competency-form.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + } + ], + "src": "M:src/main/webapp/app/atlas" + }, + { + "count": 1, + "dst": "M:src/main/webapp/app/text", + "how": "import-path", + "id": "M:src/main/webapp/app/atlas->M:src/main/webapp/app/text", + "kind": "uses", + "refs": [ + { + "blob_sha": "abf6033c9fd7c50cda81e2a334a9d432474c8cb8", + "commits": [], + "end_line": 18, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/atlas/shared/dto/course-competency-response.dto.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + } + ], + "src": "M:src/main/webapp/app/atlas" + }, + { + "count": 1, + "dst": "M:src/main/webapp/app/core", + "how": "import-path", + "id": "M:src/main/webapp/app/calendar->M:src/main/webapp/app/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "892782bb326be3e63b493e7f95ec40d7d0b3ad9e", + "commits": [], + "end_line": 9, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/calendar/shared/service/calendar.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + } + ], + "src": "M:src/main/webapp/app/calendar" + }, + { + "count": 3, + "dst": "M:src/main/webapp/app/course", + "how": "import-path", + "id": "M:src/main/webapp/app/calendar->M:src/main/webapp/app/course", + "kind": "uses", + "refs": [ + { + "blob_sha": "9d9f11a63123ac79bce34f49d526dca3485cb4fb", + "commits": [], + "end_line": 20, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/calendar/desktop/overview/calendar-desktop-overview.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "9d9f11a63123ac79bce34f49d526dca3485cb4fb", + "commits": [], + "end_line": 21, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/calendar/desktop/overview/calendar-desktop-overview.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "76238c73c6457993396695010dfb6b0a075d96af", + "commits": [], + "end_line": 8, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/calendar/shared/calendar-overview/calendar-overview-component.directive.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + } + ], + "src": "M:src/main/webapp/app/calendar" + }, + { + "count": 17, + "dst": "M:src/main/webapp/app/foundation", + "how": "import-path", + "id": "M:src/main/webapp/app/calendar->M:src/main/webapp/app/foundation", + "kind": "uses", + "refs": [ + { + "blob_sha": "8b445411bb19a9f80dc0f15aa8bc6dbb5838cd52", + "commits": [], + "end_line": 7, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/calendar/desktop/month-presentation/calendar-desktop-month-presentation.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "8b445411bb19a9f80dc0f15aa8bc6dbb5838cd52", + "commits": [], + "end_line": 8, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/calendar/desktop/month-presentation/calendar-desktop-month-presentation.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "8b445411bb19a9f80dc0f15aa8bc6dbb5838cd52", + "commits": [], + "end_line": 9, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/calendar/desktop/month-presentation/calendar-desktop-month-presentation.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "9d9f11a63123ac79bce34f49d526dca3485cb4fb", + "commits": [], + "end_line": 7, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/calendar/desktop/overview/calendar-desktop-overview.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "9d9f11a63123ac79bce34f49d526dca3485cb4fb", + "commits": [], + "end_line": 18, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/calendar/desktop/overview/calendar-desktop-overview.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "f030f1d442e9cb7bfc60c27e0ab3ffc8b5b9da8e", + "commits": [], + "end_line": 3, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/calendar/desktop/week-presentation/calendar-desktop-week-presentation.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "929b66d31337bdebc658368ff961767860d175b7", + "commits": [], + "end_line": 6, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/calendar/mobile/overview/calendar-mobile-overview.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "929b66d31337bdebc658368ff961767860d175b7", + "commits": [], + "end_line": 18, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/calendar/mobile/overview/calendar-mobile-overview.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "7cf3972ea005b0969ceba37dc2a710e94250169c", + "commits": [], + "end_line": 6, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/calendar/shared/calendar-event-detail-popover-component/calendar-event-detail-popover.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "7cf3972ea005b0969ceba37dc2a710e94250169c", + "commits": [], + "end_line": 7, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/calendar/shared/calendar-event-detail-popover-component/calendar-event-detail-popover.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + } + ], + "src": "M:src/main/webapp/app/calendar" + }, + { + "count": 12, + "dst": "M:src/main/webapp/app/(root)", + "how": "import-path", + "id": "M:src/main/webapp/app/communication->M:src/main/webapp/app/(root)", + "kind": "uses", + "refs": [ + { + "blob_sha": "926a35d4e9a32d6a0404d71032e0500e2838d16e", + "commits": [], + "end_line": 21, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations-components/dialogs/conversation-detail-dialog/conversation-detail-dialog.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "f821bd82ca7c32b4beb96eedcfc2713721cd523c", + "commits": [], + "end_line": 31, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations-components/dialogs/conversation-detail-dialog/tabs/conversation-members/conversation-member-row/conversation-member-row.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 31 + }, + { + "blob_sha": "bb55058a2dfcbf6c5a302044dd08c8f8ad91183e", + "commits": [], + "end_line": 32, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations-components/forward-message-dialog/forward-message-dialog.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 32 + }, + { + "blob_sha": "20a8d57599582108eba81bd84d58b983e8ead8f2", + "commits": [], + "end_line": 26, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations-components/layout/conversation-header/conversation-header.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + }, + { + "blob_sha": "e56970bd7e7f683ae0f748acc96f36082ac11ee1", + "commits": [], + "end_line": 16, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations-components/posting-summary/posting-summary.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "22d308ee58e03cb463897dc1abea73c2ceef74a8", + "commits": [], + "end_line": 7, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations/tutor-suggestion/tutor-suggestion.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "f0d1f3009918154af911e44d99d8a8d7459a90d4", + "commits": [], + "end_line": 14, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-users-selector/course-users-selector.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "65e61d144c33658a7844f2e7cf9239c2c6e6537c", + "commits": [], + "end_line": 17, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/communication/faq/faq-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "fda82398e74e7b3dc19ffbccd481f4e50576922b", + "commits": [], + "end_line": 16, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/communication/forwarded-message/forwarded-message.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "cfc3af693974b64e679e0a030668e27d4fb56850", + "commits": [], + "end_line": 21, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/communication/posting-header/posting-header.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + } + ], + "src": "M:src/main/webapp/app/communication" + }, + { + "count": 28, + "dst": "M:src/main/webapp/app/account", + "how": "import-path", + "id": "M:src/main/webapp/app/communication->M:src/main/webapp/app/account", + "kind": "uses", + "refs": [ + { + "blob_sha": "950d6ddff1054be716896750d5620e08fcfa258f", + "commits": [], + "end_line": 5, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/communication/communication.util.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "07e44b167fe2ff0c8ff699c944c88da895e0c59c", + "commits": [], + "end_line": 7, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/communication/conversations/service/conversation.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "a19639a9b7e92e20403e514c1ad771eadc0baabb", + "commits": [], + "end_line": 2, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations-components/code-of-conduct/course-conversations-code-of-conduct.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "0f11c1868acd2b135433db27424b666b1ae4cba3", + "commits": [], + "end_line": 25, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations-components/course-wide-search/course-wide-search.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "0de8c293c32e13ee94e1b593c232b723f41a7bd9", + "commits": [], + "end_line": 2, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations-components/dialogs/conversation-add-users-dialog/add-users-form/conversation-add-users-form.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "2b24ad63f5ebf4429000f58bab4d824b194446c0", + "commits": [], + "end_line": 6, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations-components/dialogs/conversation-add-users-dialog/conversation-add-users-dialog.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "f821bd82ca7c32b4beb96eedcfc2713721cd523c", + "commits": [], + "end_line": 3, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations-components/dialogs/conversation-detail-dialog/tabs/conversation-members/conversation-member-row/conversation-member-row.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "bb55058a2dfcbf6c5a302044dd08c8f8ad91183e", + "commits": [], + "end_line": 22, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations-components/forward-message-dialog/forward-message-dialog.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "e9461e97230f868e2cc2f47f24f35e33ef27bc82", + "commits": [], + "end_line": 34, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations-components/layout/conversation-messages/conversation-messages.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 34 + }, + { + "blob_sha": "c4c0ee493df9059e97edf709aad88e296e329876", + "commits": [], + "end_line": 6, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations-components/one-to-one-chat-create-dialog/one-to-one-chat-create-dialog.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + } + ], + "src": "M:src/main/webapp/app/communication" + }, + { + "count": 27, + "dst": "M:src/main/webapp/app/core", + "how": "import-path", + "id": "M:src/main/webapp/app/communication->M:src/main/webapp/app/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "2444d3d817cdd69427b9a365ca9d900abebd4e16", + "commits": [], + "end_line": 37, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/communication/answer-post/answer-post.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 37 + }, + { + "blob_sha": "d6a59d70a6404929ad852b7540aeb962f07c2d50", + "commits": [], + "end_line": 6, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/communication/conversations/service/channel.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "2694b279d8d9234c50ff558b35cabda64bf36851", + "commits": [], + "end_line": 6, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/communication/conversations/service/group-chat.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "d3ed0a36ffe1fb09918b2fcf4452601e9a991664", + "commits": [], + "end_line": 3, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations-components/abstract-dialog.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "5b8f27dc09961c71ee4f82c9f7c6e5807ee4e83e", + "commits": [], + "end_line": 17, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations-components/dialogs/channels-overview-dialog/channels-overview-dialog.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "f821bd82ca7c32b4beb96eedcfc2713721cd523c", + "commits": [], + "end_line": 5, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations-components/dialogs/conversation-detail-dialog/tabs/conversation-members/conversation-member-row/conversation-member-row.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "e9461e97230f868e2cc2f47f24f35e33ef27bc82", + "commits": [], + "end_line": 46, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations-components/layout/conversation-messages/conversation-messages.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 46 + }, + { + "blob_sha": "22d308ee58e03cb463897dc1abea73c2ceef74a8", + "commits": [], + "end_line": 15, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations/tutor-suggestion/tutor-suggestion.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "22d308ee58e03cb463897dc1abea73c2ceef74a8", + "commits": [], + "end_line": 9, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations/tutor-suggestion/tutor-suggestion.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "2e53353a809d778e59b5b59748d01098be332f1a", + "commits": [], + "end_line": 2, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/communication/emoji/emoji-picker.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + } + ], + "src": "M:src/main/webapp/app/communication" + }, + { + "count": 51, + "dst": "M:src/main/webapp/app/course", + "how": "import-path", + "id": "M:src/main/webapp/app/communication->M:src/main/webapp/app/course", + "kind": "uses", + "refs": [ + { + "blob_sha": "2444d3d817cdd69427b9a365ca9d900abebd4e16", + "commits": [], + "end_line": 42, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/communication/answer-post/answer-post.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 42 + }, + { + "blob_sha": "3611c9106ba99b91976afc0b3a03e11c90808f0b", + "commits": [], + "end_line": 4, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/communication/conversations/conversation-permissions.utils.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "a19639a9b7e92e20403e514c1ad771eadc0baabb", + "commits": [], + "end_line": 6, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations-components/code-of-conduct/course-conversations-code-of-conduct.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "0f11c1868acd2b135433db27424b666b1ae4cba3", + "commits": [], + "end_line": 14, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations-components/course-wide-search/course-wide-search.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "0f11c1868acd2b135433db27424b666b1ae4cba3", + "commits": [], + "end_line": 7, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations-components/course-wide-search/course-wide-search.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "70aca5e3b98e041719a2490237f1b2906bef4937", + "commits": [], + "end_line": 6, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations-components/dialogs/channels-create-dialog/channels-create-dialog.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "5b8f27dc09961c71ee4f82c9f7c6e5807ee4e83e", + "commits": [], + "end_line": 11, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations-components/dialogs/channels-overview-dialog/channels-overview-dialog.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "2b24ad63f5ebf4429000f58bab4d824b194446c0", + "commits": [], + "end_line": 7, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations-components/dialogs/conversation-add-users-dialog/conversation-add-users-dialog.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "926a35d4e9a32d6a0404d71032e0500e2838d16e", + "commits": [], + "end_line": 3, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations-components/dialogs/conversation-detail-dialog/conversation-detail-dialog.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "c9884061cb247111925e3fe523c24efed4acf33e", + "commits": [], + "end_line": 5, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations-components/dialogs/conversation-detail-dialog/tabs/conversation-info/conversation-info.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + } + ], + "src": "M:src/main/webapp/app/communication" + }, + { + "count": 4, + "dst": "M:src/main/webapp/app/editor", + "how": "import-path", + "id": "M:src/main/webapp/app/communication->M:src/main/webapp/app/editor", + "kind": "uses", + "refs": [ + { + "blob_sha": "65e61d144c33658a7844f2e7cf9239c2c6e6537c", + "commits": [], + "end_line": 24, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/communication/faq/faq-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "65e61d144c33658a7844f2e7cf9239c2c6e6537c", + "commits": [], + "end_line": 9, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/communication/faq/faq-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "59a38df07c90cd7a22e347e3a1f035e824c60e7e", + "commits": [], + "end_line": 10, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/communication/message-editor/message-editor-dom.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "38e7c19504797d14b79926f61eacefa9c3005b52", + "commits": [], + "end_line": 4, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/communication/message-editor/message-editor-suggestions.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + } + ], + "src": "M:src/main/webapp/app/communication" + }, + { + "count": 1, + "dst": "M:src/main/webapp/app/exam", + "how": "import-path", + "id": "M:src/main/webapp/app/communication->M:src/main/webapp/app/exam", + "kind": "uses", + "refs": [ + { + "blob_sha": "3ac98adbf63877c0d24e8245248a90a02ce9624d", + "commits": [], + "end_line": 5, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/communication/shared/entities/conversation/channel.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + } + ], + "src": "M:src/main/webapp/app/communication" + }, + { + "count": 8, + "dst": "M:src/main/webapp/app/exercise", + "how": "import-path", + "id": "M:src/main/webapp/app/communication->M:src/main/webapp/app/exercise", + "kind": "uses", + "refs": [ + { + "blob_sha": "0cfe543ce59f5ed46fd08ddd7ad856d7cbac2501", + "commits": [], + "end_line": 4, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-faq/course-faq-accordion-component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "1425a7992909a89a47632f92ee4515fffe85e008", + "commits": [], + "end_line": 20, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-faq/course-faq.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "65e61d144c33658a7844f2e7cf9239c2c6e6537c", + "commits": [], + "end_line": 23, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/communication/faq/faq-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "c17ea42bf17b0df0a2aebeb483312a665a634062", + "commits": [], + "end_line": 21, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/communication/faq/faq.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "38e7c19504797d14b79926f61eacefa9c3005b52", + "commits": [], + "end_line": 8, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/communication/message-editor/message-editor-suggestions.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "8f6cf53ed5a40ddfb96a6d2200c087cd61950c82", + "commits": [], + "end_line": 9, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/communication/posting-create-edit-modal/post-create-edit-modal/post-create-edit-modal.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "7dc0d723883f15a7934b14e8319450f5c1458677", + "commits": [], + "end_line": 2, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/communication/shared/discussion-section/discussion-section.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "3ac98adbf63877c0d24e8245248a90a02ce9624d", + "commits": [], + "end_line": 3, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/communication/shared/entities/conversation/channel.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + } + ], + "src": "M:src/main/webapp/app/communication" + }, + { + "count": 177, + "dst": "M:src/main/webapp/app/foundation", + "how": "import-path", + "id": "M:src/main/webapp/app/communication->M:src/main/webapp/app/foundation", + "kind": "uses", + "refs": [ + { + "blob_sha": "2444d3d817cdd69427b9a365ca9d900abebd4e16", + "commits": [], + "end_line": 44, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/communication/answer-post/answer-post.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 44 + }, + { + "blob_sha": "2444d3d817cdd69427b9a365ca9d900abebd4e16", + "commits": [], + "end_line": 35, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/communication/answer-post/answer-post.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 35 + }, + { + "blob_sha": "2444d3d817cdd69427b9a365ca9d900abebd4e16", + "commits": [], + "end_line": 36, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/communication/answer-post/answer-post.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 36 + }, + { + "blob_sha": "2444d3d817cdd69427b9a365ca9d900abebd4e16", + "commits": [], + "end_line": 38, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/communication/answer-post/answer-post.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 38 + }, + { + "blob_sha": "2444d3d817cdd69427b9a365ca9d900abebd4e16", + "commits": [], + "end_line": 40, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/communication/answer-post/answer-post.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 40 + }, + { + "blob_sha": "2444d3d817cdd69427b9a365ca9d900abebd4e16", + "commits": [], + "end_line": 39, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/communication/answer-post/answer-post.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 39 + }, + { + "blob_sha": "d6a59d70a6404929ad852b7540aeb962f07c2d50", + "commits": [], + "end_line": 7, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/communication/conversations/service/channel.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "07e44b167fe2ff0c8ff699c944c88da895e0c59c", + "commits": [], + "end_line": 13, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/communication/conversations/service/conversation.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "a19639a9b7e92e20403e514c1ad771eadc0baabb", + "commits": [], + "end_line": 8, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations-components/code-of-conduct/course-conversations-code-of-conduct.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "a19639a9b7e92e20403e514c1ad771eadc0baabb", + "commits": [], + "end_line": 7, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations-components/code-of-conduct/course-conversations-code-of-conduct.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + } + ], + "src": "M:src/main/webapp/app/communication" + }, + { + "count": 4, + "dst": "M:src/main/webapp/app/hyperion", + "how": "import-path", + "id": "M:src/main/webapp/app/communication->M:src/main/webapp/app/hyperion", + "kind": "uses", + "refs": [ + { + "blob_sha": "65e61d144c33658a7844f2e7cf9239c2c6e6537c", + "commits": [], + "end_line": 19, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/communication/faq/faq-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "65e61d144c33658a7844f2e7cf9239c2c6e6537c", + "commits": [], + "end_line": 15, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/communication/faq/faq-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "65e61d144c33658a7844f2e7cf9239c2c6e6537c", + "commits": [], + "end_line": 26, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/communication/faq/faq-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + }, + { + "blob_sha": "65e61d144c33658a7844f2e7cf9239c2c6e6537c", + "commits": [], + "end_line": 18, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/communication/faq/faq-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + } + ], + "src": "M:src/main/webapp/app/communication" + }, + { + "count": 11, + "dst": "M:src/main/webapp/app/iris", + "how": "import-path", + "id": "M:src/main/webapp/app/communication->M:src/main/webapp/app/iris", + "kind": "uses", + "refs": [ + { + "blob_sha": "22d308ee58e03cb463897dc1abea73c2ceef74a8", + "commits": [], + "end_line": 8, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations/tutor-suggestion/tutor-suggestion.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "22d308ee58e03cb463897dc1abea73c2ceef74a8", + "commits": [], + "end_line": 21, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations/tutor-suggestion/tutor-suggestion.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "22d308ee58e03cb463897dc1abea73c2ceef74a8", + "commits": [], + "end_line": 2, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations/tutor-suggestion/tutor-suggestion.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "22d308ee58e03cb463897dc1abea73c2ceef74a8", + "commits": [], + "end_line": 13, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations/tutor-suggestion/tutor-suggestion.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "22d308ee58e03cb463897dc1abea73c2ceef74a8", + "commits": [], + "end_line": 17, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations/tutor-suggestion/tutor-suggestion.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "22d308ee58e03cb463897dc1abea73c2ceef74a8", + "commits": [], + "end_line": 6, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations/tutor-suggestion/tutor-suggestion.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "22d308ee58e03cb463897dc1abea73c2ceef74a8", + "commits": [], + "end_line": 12, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations/tutor-suggestion/tutor-suggestion.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "22d308ee58e03cb463897dc1abea73c2ceef74a8", + "commits": [], + "end_line": 10, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations/tutor-suggestion/tutor-suggestion.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "d760c58a05cd060c55fc0b33393ec46d25558938", + "commits": [], + "end_line": 13, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/communication/shared/redirect-to-iris-button/redirect-to-iris-button.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "d760c58a05cd060c55fc0b33393ec46d25558938", + "commits": [], + "end_line": 11, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/communication/shared/redirect-to-iris-button/redirect-to-iris-button.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + } + ], + "src": "M:src/main/webapp/app/communication" + }, + { + "count": 7, + "dst": "M:src/main/webapp/app/lecture", + "how": "import-path", + "id": "M:src/main/webapp/app/communication->M:src/main/webapp/app/lecture", + "kind": "uses", + "refs": [ + { + "blob_sha": "1ecbd8aa9191a1ea9ecac44bfdface5ad9f4c9ba", + "commits": [], + "end_line": 3, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/communication/message-editor/message-editor-resources.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "1ecbd8aa9191a1ea9ecac44bfdface5ad9f4c9ba", + "commits": [], + "end_line": 7, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/communication/message-editor/message-editor-resources.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "1ecbd8aa9191a1ea9ecac44bfdface5ad9f4c9ba", + "commits": [], + "end_line": 8, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/communication/message-editor/message-editor-resources.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "38e7c19504797d14b79926f61eacefa9c3005b52", + "commits": [], + "end_line": 9, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/communication/message-editor/message-editor-suggestions.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "8f6cf53ed5a40ddfb96a6d2200c087cd61950c82", + "commits": [], + "end_line": 8, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/communication/posting-create-edit-modal/post-create-edit-modal/post-create-edit-modal.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "7dc0d723883f15a7934b14e8319450f5c1458677", + "commits": [], + "end_line": 3, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/communication/shared/discussion-section/discussion-section.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "3ac98adbf63877c0d24e8245248a90a02ce9624d", + "commits": [], + "end_line": 4, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/communication/shared/entities/conversation/channel.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + } + ], + "src": "M:src/main/webapp/app/communication" + }, + { + "count": 2, + "dst": "M:src/main/webapp/app/notification", + "how": "import-path", + "id": "M:src/main/webapp/app/communication->M:src/main/webapp/app/notification", + "kind": "uses", + "refs": [ + { + "blob_sha": "c9884061cb247111925e3fe523c24efed4acf33e", + "commits": [], + "end_line": 27, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations-components/dialogs/conversation-detail-dialog/tabs/conversation-info/conversation-info.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + }, + { + "blob_sha": "c9884061cb247111925e3fe523c24efed4acf33e", + "commits": [], + "end_line": 28, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations-components/dialogs/conversation-detail-dialog/tabs/conversation-info/conversation-info.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 + } + ], + "src": "M:src/main/webapp/app/communication" + }, + { + "count": 2, + "dst": "M:src/main/webapp/app/plagiarism", + "how": "import-path", + "id": "M:src/main/webapp/app/communication->M:src/main/webapp/app/plagiarism", + "kind": "uses", + "refs": [ + { + "blob_sha": "4fdcad2e7e2666a33378b03a8ce3124585d6442e", + "commits": [], + "end_line": 36, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/communication/service/communication.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 36 + }, + { + "blob_sha": "3851629ed46e1accb928c35c15db4255a27acf0c", + "commits": [], + "end_line": 4, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/communication/shared/entities/post.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + } + ], + "src": "M:src/main/webapp/app/communication" + }, + { + "count": 29, + "dst": "M:src/main/webapp/app/shared-ui", + "how": "import-path", + "id": "M:src/main/webapp/app/communication->M:src/main/webapp/app/shared-ui", + "kind": "uses", + "refs": [ + { + "blob_sha": "0f11c1868acd2b135433db27424b666b1ae4cba3", + "commits": [], + "end_line": 21, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations-components/course-wide-search/course-wide-search.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "5b8f27dc09961c71ee4f82c9f7c6e5807ee4e83e", + "commits": [], + "end_line": 13, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations-components/dialogs/channels-overview-dialog/channels-overview-dialog.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "926a35d4e9a32d6a0404d71032e0500e2838d16e", + "commits": [], + "end_line": 19, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations-components/dialogs/conversation-detail-dialog/conversation-detail-dialog.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "f821bd82ca7c32b4beb96eedcfc2713721cd523c", + "commits": [], + "end_line": 24, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations-components/dialogs/conversation-detail-dialog/tabs/conversation-members/conversation-member-row/conversation-member-row.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "19daafc9791e2cc10754da2682e93587d865ec57", + "commits": [], + "end_line": 19, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations-components/dialogs/conversation-detail-dialog/tabs/conversation-settings/conversation-settings.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "bb55058a2dfcbf6c5a302044dd08c8f8ad91183e", + "commits": [], + "end_line": 26, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations-components/forward-message-dialog/forward-message-dialog.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + }, + { + "blob_sha": "20a8d57599582108eba81bd84d58b983e8ead8f2", + "commits": [], + "end_line": 22, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations-components/layout/conversation-header/conversation-header.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "e9461e97230f868e2cc2f47f24f35e33ef27bc82", + "commits": [], + "end_line": 30, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations-components/layout/conversation-messages/conversation-messages.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 30 + }, + { + "blob_sha": "e9461e97230f868e2cc2f47f24f35e33ef27bc82", + "commits": [], + "end_line": 38, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations-components/layout/conversation-messages/conversation-messages.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 38 + }, + { + "blob_sha": "0b9729d04e20aabe8fc0f9814626a6a2f2d6ed17", + "commits": [], + "end_line": 18, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/communication/course-conversations-components/layout/conversation-thread-sidebar/conversation-thread-sidebar.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + } + ], + "src": "M:src/main/webapp/app/communication" + }, + { + "count": 12, + "dst": "M:src/main/webapp/app/(root)", + "how": "import-path", + "id": "M:src/main/webapp/app/core->M:src/main/webapp/app/(root)", + "kind": "uses", + "refs": [ + { + "blob_sha": "f6bd3755221ee8927c9c676e8f9150b9d1250eab", + "commits": [], + "end_line": 37, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/core/about-us/about-us-data.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 37 + }, + { + "blob_sha": "28678f4fff62d41f57a675798f8b4e39fb502d2e", + "commits": [], + "end_line": 8, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/core/about-us/about-us.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "cc666076c224bb35501ab6e764b1a15dbd108221", + "commits": [], + "end_line": 16, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/core/auth/account.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "44090480bc6f2541d551a62c858324d1d8fabfb1", + "commits": [], + "end_line": 2, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/core/config/prod.config.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "6d7c640fa4656d5e65f155550663f328d0de80ea", + "commits": [], + "end_line": 1, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/core/error-reporting/capture-exception.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 1 + }, + { + "blob_sha": "54eea2070dc83cbcc1b28abfcd0b2401dd7bd1e5", + "commits": [], + "end_line": 8, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/core/home/home.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "51d8ae7cc81a9de19c07ace81989c7fb8b1daf96", + "commits": [], + "end_line": 5, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/core/interceptor/artemis-version.interceptor.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "3cffeb7a98e04d205644006e1d4e874aee3d90de", + "commits": [], + "end_line": 2, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/core/layouts/profiles/page-ribbon.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "0ced4684ceeffe55430505bc3a55d78150c56f3c", + "commits": [], + "end_line": 3, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/core/layouts/profiles/shared/profile.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "df493930b7676fa1444760917ea5358d08bde268", + "commits": [], + "end_line": 23, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/core/navbar/global-search/components/views/navigation-view/global-search-navigation-view.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + } + ], + "src": "M:src/main/webapp/app/core" + }, + { + "count": 15, + "dst": "M:src/main/webapp/app/account", + "how": "import-path", + "id": "M:src/main/webapp/app/core->M:src/main/webapp/app/account", + "kind": "uses", + "refs": [ + { + "blob_sha": "cc666076c224bb35501ab6e764b1a15dbd108221", + "commits": [], + "end_line": 19, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/core/auth/account.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "cc666076c224bb35501ab6e764b1a15dbd108221", + "commits": [], + "end_line": 17, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/core/auth/account.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "cc666076c224bb35501ab6e764b1a15dbd108221", + "commits": [], + "end_line": 7, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/core/auth/account.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "3341d912cf9bccbdd644e845c99baacba3bdf404", + "commits": [], + "end_line": 4, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/core/auth/passkey-authentication-page/passkey-authentication-page.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "54eea2070dc83cbcc1b28abfcd0b2401dd7bd1e5", + "commits": [], + "end_line": 17, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/core/home/home.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "54eea2070dc83cbcc1b28abfcd0b2401dd7bd1e5", + "commits": [], + "end_line": 4, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/core/home/home.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "cad2ec43fa4387eaff1c86e43c3a2e5541cf535c", + "commits": [], + "end_line": 5, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/core/interceptor/browser-fingerprint.interceptor.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "0ced4684ceeffe55430505bc3a55d78150c56f3c", + "commits": [], + "end_line": 6, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/core/layouts/profiles/shared/profile.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "43ad3a116d85b2753e060825967a5146efc10b41", + "commits": [], + "end_line": 14, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/core/legal/data-export/confirmation/data-export-confirmation-dialog.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "41ee1885cad9c3bd0ad65f169d8a18d3e3bd5789", + "commits": [], + "end_line": 4, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/core/legal/data-export/type-ahead-search-field/type-ahead-user-search-field.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + } + ], + "src": "M:src/main/webapp/app/core" + }, + { + "count": 10, + "dst": "M:src/main/webapp/app/admin", + "how": "import-path", + "id": "M:src/main/webapp/app/core->M:src/main/webapp/app/admin", + "kind": "uses", + "refs": [ + { + "blob_sha": "1b406c8ac98835ca8f4eab9d34d4d7e91dbed1c5", + "commits": [], + "end_line": 10, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/core/legal/data-export/data-export.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "b1fbda80b2a043f5fc626484aa3427b8ac718058", + "commits": [], + "end_line": 4, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/core/legal/data-export/data-export.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "ff0980f418e567fad260e6edff01c4a0672d2764", + "commits": [], + "end_line": 5, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/core/legal/imprint.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "1f9817b2533f1d315ba74cf1e82615d52f502070", + "commits": [], + "end_line": 6, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/core/legal/legal-document.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "1f9817b2533f1d315ba74cf1e82615d52f502070", + "commits": [], + "end_line": 5, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/core/legal/legal-document.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "1f9817b2533f1d315ba74cf1e82615d52f502070", + "commits": [], + "end_line": 3, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/core/legal/legal-document.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "a14ac5c2524d22eb32560015e8712e5fbacf4deb", + "commits": [], + "end_line": 8, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/core/legal/privacy.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "b30b4d896cbed9e9fbcb51a40ce10bf3fcc52fbe", + "commits": [], + "end_line": 5, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/core/notification/system-notification/admin-system-notification.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "edf35ca4158198a48ade5b4f2f68aae5fa80b351", + "commits": [], + "end_line": 3, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/core/notification/system-notification/system-notification.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "0f3df0cb3df8382f116da5cbe5962b34fdef9e85", + "commits": [], + "end_line": 3, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/core/notification/system-notification/system-notification.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + } + ], + "src": "M:src/main/webapp/app/core" + }, + { + "count": 8, + "dst": "M:src/main/webapp/app/course", + "how": "import-path", + "id": "M:src/main/webapp/app/core->M:src/main/webapp/app/course", + "kind": "uses", + "refs": [ + { + "blob_sha": "cc666076c224bb35501ab6e764b1a15dbd108221", + "commits": [], + "end_line": 6, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/core/auth/account.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "c440391f2912e493d5918381639b8d3389761433", + "commits": [], + "end_line": 28, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/core/navbar/global-search/components/modal/global-search-modal.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 + }, + { + "blob_sha": "c440391f2912e493d5918381639b8d3389761433", + "commits": [], + "end_line": 27, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/core/navbar/global-search/components/modal/global-search-modal.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + }, + { + "blob_sha": "c440391f2912e493d5918381639b8d3389761433", + "commits": [], + "end_line": 29, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/core/navbar/global-search/components/modal/global-search-modal.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "c440391f2912e493d5918381639b8d3389761433", + "commits": [], + "end_line": 30, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/core/navbar/global-search/components/modal/global-search-modal.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 30 + }, + { + "blob_sha": "13d3527b903ba4ef134c66b44caa96b2e2530e01", + "commits": [], + "end_line": 5, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/core/navbar/global-search/services/global-search-filter.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "c42d42b401e7743bf496603d43bd04adc568418b", + "commits": [], + "end_line": 63, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/core/navbar/navbar.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 63 + }, + { + "blob_sha": "c42d42b401e7743bf496603d43bd04adc568418b", + "commits": [], + "end_line": 28, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/core/navbar/navbar.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 + } + ], + "src": "M:src/main/webapp/app/core" + }, + { + "count": 3, + "dst": "M:src/main/webapp/app/exam", + "how": "import-path", + "id": "M:src/main/webapp/app/core->M:src/main/webapp/app/exam", + "kind": "uses", + "refs": [ + { + "blob_sha": "c42d42b401e7743bf496603d43bd04adc568418b", + "commits": [], + "end_line": 32, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/core/navbar/navbar.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 32 + }, + { + "blob_sha": "c42d42b401e7743bf496603d43bd04adc568418b", + "commits": [], + "end_line": 62, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/core/navbar/navbar.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 62 + }, + { + "blob_sha": "c42d42b401e7743bf496603d43bd04adc568418b", + "commits": [], + "end_line": 43, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/core/navbar/navbar.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 43 + } + ], + "src": "M:src/main/webapp/app/core" + }, + { + "count": 5, + "dst": "M:src/main/webapp/app/exercise", + "how": "import-path", + "id": "M:src/main/webapp/app/core->M:src/main/webapp/app/exercise", + "kind": "uses", + "refs": [ + { + "blob_sha": "cc666076c224bb35501ab6e764b1a15dbd108221", + "commits": [], + "end_line": 11, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/core/auth/account.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "cc666076c224bb35501ab6e764b1a15dbd108221", + "commits": [], + "end_line": 10, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/core/auth/account.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "36f2265941eb094d1bf22c852f36c5bc091e5397", + "commits": [], + "end_line": 4, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/core/navbar/entity-title.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "c42d42b401e7743bf496603d43bd04adc568418b", + "commits": [], + "end_line": 35, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/core/navbar/navbar.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 35 + }, + { + "blob_sha": "c42d42b401e7743bf496603d43bd04adc568418b", + "commits": [], + "end_line": 41, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/core/navbar/navbar.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 41 + } + ], + "src": "M:src/main/webapp/app/core" + }, + { + "count": 109, + "dst": "M:src/main/webapp/app/foundation", + "how": "import-path", + "id": "M:src/main/webapp/app/core->M:src/main/webapp/app/foundation", + "kind": "uses", + "refs": [ + { + "blob_sha": "28678f4fff62d41f57a675798f8b4e39fb502d2e", + "commits": [], + "end_line": 13, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/core/about-us/about-us.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "28678f4fff62d41f57a675798f8b4e39fb502d2e", + "commits": [], + "end_line": 14, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/core/about-us/about-us.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "28678f4fff62d41f57a675798f8b4e39fb502d2e", + "commits": [], + "end_line": 15, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/core/about-us/about-us.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "3e87296760742146b28b73f57e4cb071496503d4", + "commits": [], + "end_line": 6, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/core/alert/alert-overlay.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "3e87296760742146b28b73f57e4cb071496503d4", + "commits": [], + "end_line": 2, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/core/alert/alert-overlay.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "cc666076c224bb35501ab6e764b1a15dbd108221", + "commits": [], + "end_line": 12, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/core/auth/account.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "cc666076c224bb35501ab6e764b1a15dbd108221", + "commits": [], + "end_line": 9, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/core/auth/account.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "cc666076c224bb35501ab6e764b1a15dbd108221", + "commits": [], + "end_line": 3, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/core/auth/account.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "cc666076c224bb35501ab6e764b1a15dbd108221", + "commits": [], + "end_line": 8, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/core/auth/account.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "cc666076c224bb35501ab6e764b1a15dbd108221", + "commits": [], + "end_line": 14, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/core/auth/account.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + } + ], + "src": "M:src/main/webapp/app/core" + }, + { + "count": 1, + "dst": "M:src/main/webapp/app/hyperion", + "how": "import-path", + "id": "M:src/main/webapp/app/core->M:src/main/webapp/app/hyperion", + "kind": "uses", + "refs": [ + { + "blob_sha": "c42d42b401e7743bf496603d43bd04adc568418b", + "commits": [], + "end_line": 64, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/core/navbar/navbar.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 64 + } + ], + "src": "M:src/main/webapp/app/core" + }, + { + "count": 4, + "dst": "M:src/main/webapp/app/iris", + "how": "import-path", + "id": "M:src/main/webapp/app/core->M:src/main/webapp/app/iris", + "kind": "uses", + "refs": [ + { + "blob_sha": "a1252c195c0badfd8e993c4c26a2edc0e0d131bf", + "commits": [], + "end_line": 8, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/core/navbar/global-search/components/views/iris-answer/global-search-iris-answer.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "ba44ab7a4745d76c48018f1383b4aa00f14ae512", + "commits": [], + "end_line": 10, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/core/navbar/global-search/components/views/iris-handoff/global-search-iris-handoff.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "ba44ab7a4745d76c48018f1383b4aa00f14ae512", + "commits": [], + "end_line": 11, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/core/navbar/global-search/components/views/iris-handoff/global-search-iris-handoff.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "3f7e8068f2d628a876bcfd453379c397ad2f1664", + "commits": [], + "end_line": 5, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/core/navbar/global-search/util/iris-chat-handoff.util.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + } + ], + "src": "M:src/main/webapp/app/core" + }, + { + "count": 3, + "dst": "M:src/main/webapp/app/lecture", + "how": "import-path", + "id": "M:src/main/webapp/app/core->M:src/main/webapp/app/lecture", + "kind": "uses", + "refs": [ + { + "blob_sha": "a1252c195c0badfd8e993c4c26a2edc0e0d131bf", + "commits": [], + "end_line": 22, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/core/navbar/global-search/components/views/iris-answer/global-search-iris-answer.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "df493930b7676fa1444760917ea5358d08bde268", + "commits": [], + "end_line": 34, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/core/navbar/global-search/components/views/navigation-view/global-search-navigation-view.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 34 + }, + { + "blob_sha": "31cfa9b5872d5e944795e5aee48ea6e685c46b46", + "commits": [], + "end_line": 3, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/core/navbar/global-search/services/lecture-search-result-normalization.util.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + } + ], + "src": "M:src/main/webapp/app/core" + }, + { + "count": 2, + "dst": "M:src/main/webapp/app/lti", + "how": "import-path", + "id": "M:src/main/webapp/app/core->M:src/main/webapp/app/lti", + "kind": "uses", + "refs": [ + { + "blob_sha": "54eea2070dc83cbcc1b28abfcd0b2401dd7bd1e5", + "commits": [], + "end_line": 27, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/core/home/home.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + }, + { + "blob_sha": "b7a2ed5dd25995081d75e296fcec142d9c722ed8", + "commits": [], + "end_line": 8, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/core/login/login.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + } + ], + "src": "M:src/main/webapp/app/core" + }, + { + "count": 1, + "dst": "M:src/main/webapp/app/notification", + "how": "import-path", + "id": "M:src/main/webapp/app/core->M:src/main/webapp/app/notification", + "kind": "uses", + "refs": [ + { + "blob_sha": "c42d42b401e7743bf496603d43bd04adc568418b", + "commits": [], + "end_line": 61, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/core/navbar/navbar.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 61 + } + ], + "src": "M:src/main/webapp/app/core" + }, + { + "count": 2, + "dst": "M:src/main/webapp/app/programming", + "how": "import-path", + "id": "M:src/main/webapp/app/core->M:src/main/webapp/app/programming", + "kind": "uses", + "refs": [ + { + "blob_sha": "6548e49d1a951f96bdb33ee1a270ba7de307e8e7", + "commits": [], + "end_line": 1, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/core/layouts/profiles/profile-info.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 1 + }, + { + "blob_sha": "c42d42b401e7743bf496603d43bd04adc568418b", + "commits": [], + "end_line": 3, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/core/navbar/navbar.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + } + ], + "src": "M:src/main/webapp/app/core" + }, + { + "count": 8, + "dst": "M:src/main/webapp/app/shared-ui", + "how": "import-path", + "id": "M:src/main/webapp/app/core->M:src/main/webapp/app/shared-ui", + "kind": "uses", + "refs": [ + { + "blob_sha": "3e87296760742146b28b73f57e4cb071496503d4", + "commits": [], + "end_line": 8, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/core/alert/alert-overlay.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "3341d912cf9bccbdd644e845c99baacba3bdf404", + "commits": [], + "end_line": 8, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/core/auth/passkey-authentication-page/passkey-authentication-page.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "43ad3a116d85b2753e060825967a5146efc10b41", + "commits": [], + "end_line": 11, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/core/legal/data-export/confirmation/data-export-confirmation-dialog.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "1b406c8ac98835ca8f4eab9d34d4d7e91dbed1c5", + "commits": [], + "end_line": 5, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/core/legal/data-export/data-export.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "1b406c8ac98835ca8f4eab9d34d4d7e91dbed1c5", + "commits": [], + "end_line": 14, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/core/legal/data-export/data-export.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "1b406c8ac98835ca8f4eab9d34d4d7e91dbed1c5", + "commits": [], + "end_line": 3, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/core/legal/data-export/data-export.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "c42d42b401e7743bf496603d43bd04adc568418b", + "commits": [], + "end_line": 53, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/core/navbar/navbar.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 53 + }, + { + "blob_sha": "c42d42b401e7743bf496603d43bd04adc568418b", + "commits": [], + "end_line": 58, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/core/navbar/navbar.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 58 + } + ], + "src": "M:src/main/webapp/app/core" + }, + { + "count": 26, + "dst": "M:src/main/webapp/app/(root)", + "how": "import-path", + "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/(root)", + "kind": "uses", + "refs": [ + { + "blob_sha": "d885be8633c259d6645dba0ca40d94cb76f63cf9", + "commits": [], + "end_line": 55, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-management-container/course-management-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 55 + }, + { + "blob_sha": "957fdddcb5842fe1694ff3c79627f223955c5f18", + "commits": [], + "end_line": 28, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-scores/course-scores.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 + }, + { + "blob_sha": "aa56a7c5ecc3f41c4aabb8c6b51b111220b50cd2", + "commits": [], + "end_line": 5, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/detail/course-detail.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "3c25a672df59192250db6ec702a4256e05c20dfb", + "commits": [], + "end_line": 42, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/exercises/course-management-exercises.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 42 + }, + { + "blob_sha": "4ce13e83d6d9a00f19129c95a56fd4589ca94fcc", + "commits": [], + "end_line": 7, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/exercises/create-modal/exercise-add-modal.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "39c4b99105206408272c47846cb350861b718830", + "commits": [], + "end_line": 42, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/exercises/exercise-row/exercise-actions.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 42 + }, + { + "blob_sha": "a1686caa8ea46e578d0a34f5521634f0763b42e0", + "commits": [], + "end_line": 7, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/onboarding/pages/onboarding-enrollment.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "f962711150c2263a93d128da7e5aba84a4b3fe32", + "commits": [], + "end_line": 8, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/onboarding/pages/onboarding-explore.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "79558f40ac910848323786c9d5b97f25f9b33526", + "commits": [], + "end_line": 13, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/onboarding/pages/onboarding-general-settings.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "db49453074c1f12a055abdfa237430a76996467b", + "commits": [], + "end_line": 15, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/quick-actions/add-exercise-popover/add-exercise-popover.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + } + ], + "src": "M:src/main/webapp/app/course" + }, + { + "count": 11, "dst": "M:src/main/webapp/app/account", "how": "import-path", - "id": "M:src/main/webapp/app/atlas->M:src/main/webapp/app/account", + "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/account", + "kind": "uses", + "refs": [ + { + "blob_sha": "e7c2354dc3e3e03c27eeb03783cb810af286bcce", + "commits": [], + "end_line": 11, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/services/course-management.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "99648ad345915f324e5301447a96d35da9f00a4c", + "commits": [], + "end_line": 15, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/course/overview/course-home/course-home.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "dc9304cdbe53e013ea1636f4bfc286ee8582db8a", + "commits": [], + "end_line": 21, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/course/overview/course-overview/course-overview.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "de6a620b176d67624132c76b83860452511c62de", + "commits": [], + "end_line": 41, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/course/overview/exercise-details/exercise-split-panel/exercise-split-panel.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 41 + }, + { + "blob_sha": "b2e9ddc435f7831a07e2d0e8f30ee5a19a8de0a0", + "commits": [], + "end_line": 4, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/course/overview/exercise-details/lti-initializer/lti-initializer.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "02aa518725711032db14f82f87c20b6c7333e092", + "commits": [], + "end_line": 25, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/course/overview/exercise-details/request-feedback-button/request-feedback-button.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "02aa518725711032db14f82f87c20b6c7333e092", + "commits": [], + "end_line": 17, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/course/overview/exercise-details/request-feedback-button/request-feedback-button.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "705229f57fd4eb2e4393df8abefa985e9c220b2d", + "commits": [], + "end_line": 10, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/course/overview/setup-passkey-modal/setup-passkey-modal.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "f2e7ffca59e3d592e01b0eab0ac7c540fc2291cf", + "commits": [], + "end_line": 6, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/course/request/course-request.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "7c403ea8b99b8e93003da293b21b4594bec686c0", + "commits": [], + "end_line": 6, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/course/shared/course-group/course-group.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + } + ], + "src": "M:src/main/webapp/app/course" + }, + { + "count": 7, + "dst": "M:src/main/webapp/app/admin", + "how": "import-path", + "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/admin", + "kind": "uses", + "refs": [ + { + "blob_sha": "85e9d0cbdca4972551ff6206333f22b22fa6a874", + "commits": [], + "end_line": 13, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-lti-configuration/edit-course-lti-configuration.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "aa56a7c5ecc3f41c4aabb8c6b51b111220b50cd2", + "commits": [], + "end_line": 29, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/detail/course-detail.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "bef8c34ac81eccb590ef2c5354fc4923d06c5287", + "commits": [], + "end_line": 23, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/update/course-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "bef8c34ac81eccb590ef2c5354fc4923d06c5287", + "commits": [], + "end_line": 22, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/update/course-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "bef8c34ac81eccb590ef2c5354fc4923d06c5287", + "commits": [], + "end_line": 24, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/update/course-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "2b918ed65a2bca7d54945c92f11873a7f70fa23e", + "commits": [], + "end_line": 4, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/course/shared/entities/course-management-response.dto.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "30a537dc607928aa32c422824059327707104bdb", + "commits": [], + "end_line": 8, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/course/shared/entities/course.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + } + ], + "src": "M:src/main/webapp/app/course" + }, + { + "count": 27, + "dst": "M:src/main/webapp/app/assessment", + "how": "import-path", + "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/assessment", + "kind": "uses", + "refs": [ + { + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "commits": [], + "end_line": 361, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 361 + }, + { + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "commits": [], + "end_line": 117, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 117 + }, + { + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "commits": [], + "end_line": 360, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 360 + }, + { + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "commits": [], + "end_line": 343, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 343 + }, + { + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "commits": [], + "end_line": 185, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 185 + }, + { + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "commits": [], + "end_line": 174, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 174 + }, + { + "blob_sha": "e23a1a6befb8a933111da63e47ea335e65e47bd0", + "commits": [], + "end_line": 3, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-scores/course-scores-student-statistics.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "957fdddcb5842fe1694ff3c79627f223955c5f18", + "commits": [], + "end_line": 18, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-scores/course-scores.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "957fdddcb5842fe1694ff3c79627f223955c5f18", + "commits": [], + "end_line": 48, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-scores/course-scores.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 48 + }, + { + "blob_sha": "957fdddcb5842fe1694ff3c79627f223955c5f18", + "commits": [], + "end_line": 63, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-scores/course-scores.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 63 + } + ], + "src": "M:src/main/webapp/app/course" + }, + { + "count": 30, + "dst": "M:src/main/webapp/app/atlas", + "how": "import-path", + "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/atlas", + "kind": "uses", + "refs": [ + { + "blob_sha": "d885be8633c259d6645dba0ca40d94cb76f63cf9", + "commits": [], + "end_line": 54, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-management-container/course-management-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 54 + }, + { + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "commits": [], + "end_line": 353, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 353 + }, + { + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "commits": [], + "end_line": 403, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 403 + }, + { + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "commits": [], + "end_line": 467, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 467 + }, + { + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "commits": [], + "end_line": 412, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 412 + }, + { + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "commits": [], + "end_line": 476, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 476 + }, + { + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "commits": [], + "end_line": 444, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 444 + }, + { + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "commits": [], + "end_line": 432, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 432 + }, + { + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "commits": [], + "end_line": 496, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 496 + }, + { + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "commits": [], + "end_line": 421, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 421 + } + ], + "src": "M:src/main/webapp/app/course" + }, + { + "count": 1, + "dst": "M:src/main/webapp/app/calendar", + "how": "import-path", + "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/calendar", + "kind": "uses", + "refs": [ + { + "blob_sha": "a6fe006a7e5082579b59e6fabb9d9b411afbf330", + "commits": [], + "end_line": 440, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/course/overview/courses.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 440 + } + ], + "src": "M:src/main/webapp/app/course" + }, + { + "count": 29, + "dst": "M:src/main/webapp/app/communication", + "how": "import-path", + "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/communication", + "kind": "uses", + "refs": [ + { + "blob_sha": "d885be8633c259d6645dba0ca40d94cb76f63cf9", + "commits": [], + "end_line": 39, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-management-container/course-management-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 39 + }, + { + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "commits": [], + "end_line": 13, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "commits": [], + "end_line": 560, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 560 + }, + { + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "commits": [], + "end_line": 575, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 575 + }, + { + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "commits": [], + "end_line": 541, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 541 + }, + { + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "commits": [], + "end_line": 297, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 297 + }, + { + "blob_sha": "dc9304cdbe53e013ea1636f4bfc286ee8582db8a", + "commits": [], + "end_line": 15, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/course/overview/course-overview/course-overview.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "a6fe006a7e5082579b59e6fabb9d9b411afbf330", + "commits": [], + "end_line": 406, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/course/overview/courses.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 406 + }, + { + "blob_sha": "a6fe006a7e5082579b59e6fabb9d9b411afbf330", + "commits": [], + "end_line": 318, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/course/overview/courses.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 318 + }, + { + "blob_sha": "de6a620b176d67624132c76b83860452511c62de", + "commits": [], + "end_line": 37, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/course/overview/exercise-details/exercise-split-panel/exercise-split-panel.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 37 + } + ], + "src": "M:src/main/webapp/app/course" + }, + { + "count": 51, + "dst": "M:src/main/webapp/app/core", + "how": "import-path", + "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "af49be638f004a6e7334bfb78d04d247222c0290", + "commits": [], + "end_line": 3, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-group-membership/course-group-membership.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "85e9d0cbdca4972551ff6206333f22b22fa6a874", + "commits": [], + "end_line": 30, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-lti-configuration/edit-course-lti-configuration.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 30 + }, + { + "blob_sha": "d885be8633c259d6645dba0ca40d94cb76f63cf9", + "commits": [], + "end_line": 10, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-management-container/course-management-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "commits": [], + "end_line": 15, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "commits": [], + "end_line": 3, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "957fdddcb5842fe1694ff3c79627f223955c5f18", + "commits": [], + "end_line": 60, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-scores/course-scores.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 60 + }, + { + "blob_sha": "d50cca6831024cf4a6b69a2df14fbc932ad4a87f", + "commits": [], + "end_line": 7, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-scores/scores-storage.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "d50cca6831024cf4a6b69a2df14fbc932ad4a87f", + "commits": [], + "end_line": 1, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-scores/scores-storage.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 1 + }, + { + "blob_sha": "aa56a7c5ecc3f41c4aabb8c6b51b111220b50cd2", + "commits": [], + "end_line": 31, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/detail/course-detail.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 31 + }, + { + "blob_sha": "aa56a7c5ecc3f41c4aabb8c6b51b111220b50cd2", + "commits": [], + "end_line": 6, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/detail/course-detail.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + } + ], + "src": "M:src/main/webapp/app/course" + }, + { + "count": 3, + "dst": "M:src/main/webapp/app/editor", + "how": "import-path", + "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/editor", + "kind": "uses", + "refs": [ + { + "blob_sha": "c97e15963f2cc3a60e387ca799908d3483a678dd", + "commits": [], + "end_line": 5, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/onboarding/pages/onboarding-communication.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "a1686caa8ea46e578d0a34f5521634f0763b42e0", + "commits": [], + "end_line": 5, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/onboarding/pages/onboarding-enrollment.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "bef8c34ac81eccb590ef2c5354fc4923d06c5287", + "commits": [], + "end_line": 53, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/update/course-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 53 + } + ], + "src": "M:src/main/webapp/app/course" + }, + { + "count": 18, + "dst": "M:src/main/webapp/app/exam", + "how": "import-path", + "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/exam", "kind": "uses", "refs": [ { - "blob_sha": "3019a5635a959d35ce924a988cb67ee43dd5f803", + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "commits": [], + "end_line": 217, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 217 + }, + { + "blob_sha": "dc9304cdbe53e013ea1636f4bfc286ee8582db8a", + "commits": [], + "end_line": 16, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/course/overview/course-overview/course-overview.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "a6fe006a7e5082579b59e6fabb9d9b411afbf330", + "commits": [], + "end_line": 390, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/course/overview/courses.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 390 + }, + { + "blob_sha": "a6fe006a7e5082579b59e6fabb9d9b411afbf330", + "commits": [], + "end_line": 382, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/course/overview/courses.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 382 + }, + { + "blob_sha": "a6fe006a7e5082579b59e6fabb9d9b411afbf330", + "commits": [], + "end_line": 372, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/course/overview/courses.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 372 + }, + { + "blob_sha": "dca1926889cc553331c01f067ba5cb25efaecaa8", + "commits": [], + "end_line": 7, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/course/overview/courses/courses.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "80e70f3955d04cbc54407ca336734affe7c14c5d", + "commits": [], + "end_line": 4, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/course/overview/services/course-overview-tab-data.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "80e70f3955d04cbc54407ca336734affe7c14c5d", + "commits": [], + "end_line": 5, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/course/overview/services/course-overview-tab-data.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "2c132d432a4cf796b3577bd6f5580365f022f1a7", "commits": [], - "end_line": 3, - "id": "E1", + "end_line": 14, + "id": "E9", "kind": "lines", - "path": "src/main/webapp/app/atlas/shared/entities/learning-path.model.ts", + "path": "src/main/webapp/app/course/overview/services/course-overview.service.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 + "start_line": 14 + }, + { + "blob_sha": "2c132d432a4cf796b3577bd6f5580365f022f1a7", + "commits": [], + "end_line": 13, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/course/overview/services/course-overview.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 } ], - "src": "M:src/main/webapp/app/atlas" + "src": "M:src/main/webapp/app/course" }, { - "count": 3, - "dst": "M:src/main/webapp/app/admin", + "count": 200, + "dst": "M:src/main/webapp/app/exercise", "how": "import-path", - "id": "M:src/main/webapp/app/atlas->M:src/main/webapp/app/admin", + "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/exercise", "kind": "uses", "refs": [ { - "blob_sha": "7d9e04675a186c87b208abae53c9264aed811eec", + "blob_sha": "07c105256f4f15f2f50eb7513cb2bd8eff40776a", "commits": [], - "end_line": 8, + "end_line": 6, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/atlas/manage/competency-management/import-all-competencies.component.ts", + "path": "src/main/webapp/app/course/manage/course-lti-configuration/course-lti-configuration.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 8 + "start_line": 6 }, { - "blob_sha": "636a89062f1b78192a838f29025aa5362f298c76", + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", "commits": [], - "end_line": 9, + "end_line": 393, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/atlas/manage/import-list/import-table.component.ts", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 + "start_line": 393 }, { - "blob_sha": "072916baaec3c0495e8e609995385bf2860883d7", + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", "commits": [], - "end_line": 7, + "end_line": 98, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/atlas/manage/learning-paths-table/learning-paths-table.component.ts", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 - } - ], - "src": "M:src/main/webapp/app/atlas" - }, - { - "count": 1, - "dst": "M:src/main/webapp/app/assessment", - "how": "import-path", - "id": "M:src/main/webapp/app/atlas->M:src/main/webapp/app/assessment", - "kind": "uses", - "refs": [ + "start_line": 98 + }, { - "blob_sha": "abf6033c9fd7c50cda81e2a334a9d432474c8cb8", + "blob_sha": "e23a1a6befb8a933111da63e47ea335e65e47bd0", "commits": [], - "end_line": 14, - "id": "E1", + "end_line": 2, + "id": "E4", "kind": "lines", - "path": "src/main/webapp/app/atlas/shared/dto/course-competency-response.dto.ts", + "path": "src/main/webapp/app/course/manage/course-scores/course-scores-student-statistics.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 14 + "start_line": 2 + }, + { + "blob_sha": "957fdddcb5842fe1694ff3c79627f223955c5f18", + "commits": [], + "end_line": 13, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-scores/course-scores.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "94d42851437aaf7702a05b481308b809e078d5bf", + "commits": [], + "end_line": 1, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-scores/exercise-type-statistics-map.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 1 + }, + { + "blob_sha": "d50cca6831024cf4a6b69a2df14fbc932ad4a87f", + "commits": [], + "end_line": 5, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-scores/scores-storage.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "0e738d99e21f0805c67cb6ba5d9db875f03b0ca2", + "commits": [], + "end_line": 10, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/detail/course-detail-doughnut-chart.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "ed0cc31a27dc45903ab40f3ba41a2880b1ac9f65", + "commits": [], + "end_line": 8, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/detail/course-detail-line-chart.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "f37f81e1383538dd15c1e5e565f61a45a6b4c59b", + "commits": [], + "end_line": 4, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/exercises/course-exercise-cards.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 } ], - "src": "M:src/main/webapp/app/atlas" + "src": "M:src/main/webapp/app/course" }, { - "count": 1, - "dst": "M:src/main/webapp/app/communication", + "count": 5, + "dst": "M:src/main/webapp/app/fileupload", "how": "import-path", - "id": "M:src/main/webapp/app/atlas->M:src/main/webapp/app/communication", + "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/fileupload", "kind": "uses", "refs": [ { - "blob_sha": "45c317bce24fda9e50e5b30a9d079c601bc7c345", + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", "commits": [], - "end_line": 16, + "end_line": 391, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/atlas/overview/learning-path-lecture-unit/learning-path-lecture-unit.component.ts", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 16 + "start_line": 391 + }, + { + "blob_sha": "3c25a672df59192250db6ec702a4256e05c20dfb", + "commits": [], + "end_line": 47, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/exercises/course-management-exercises.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 47 + }, + { + "blob_sha": "39c4b99105206408272c47846cb350861b718830", + "commits": [], + "end_line": 36, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/exercises/exercise-row/exercise-actions.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 36 + }, + { + "blob_sha": "a6fe006a7e5082579b59e6fabb9d9b411afbf330", + "commits": [], + "end_line": 181, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/course/overview/courses.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 181 + }, + { + "blob_sha": "2e0dd481081d7080da6f84838dc459fc116788f7", + "commits": [], + "end_line": 25, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/course/shared/entities/course-content-response.dto.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 } ], - "src": "M:src/main/webapp/app/atlas" + "src": "M:src/main/webapp/app/course" }, { - "count": 9, - "dst": "M:src/main/webapp/app/core", + "count": 333, + "dst": "M:src/main/webapp/app/foundation", "how": "import-path", - "id": "M:src/main/webapp/app/atlas->M:src/main/webapp/app/core", + "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/foundation", "kind": "uses", "refs": [ { - "blob_sha": "b83ad51e3ea3e2538527ea799141533791277027", + "blob_sha": "7b39fad38bfad68a441547f0c93d09af64d01025", "commits": [], - "end_line": 36, + "end_line": 8, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/atlas/manage/competency-management/competency-management.component.ts", + "path": "src/main/webapp/app/course/manage/athena-settings-update/athena-settings-update.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 36 + "start_line": 8 }, { - "blob_sha": "b83ad51e3ea3e2538527ea799141533791277027", + "blob_sha": "7b39fad38bfad68a441547f0c93d09af64d01025", "commits": [], - "end_line": 13, + "end_line": 9, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/atlas/manage/competency-management/competency-management.component.ts", + "path": "src/main/webapp/app/course/manage/athena-settings-update/athena-settings-update.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 13 + "start_line": 9 }, { - "blob_sha": "3f2646d586409aad12d2cc439114c1c9be3d5618", + "blob_sha": "e7c1bd9c2bb93f52c47512bb4511bf5ec77afab8", "commits": [], - "end_line": 15, + "end_line": 7, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/atlas/manage/orchestration-trigger/atlas-orchestration-trigger.component.ts", + "path": "src/main/webapp/app/course/manage/control-center/about-athena-modal/about-athena-modal.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 15 + "start_line": 7 + }, + { + "blob_sha": "e7c1bd9c2bb93f52c47512bb4511bf5ec77afab8", + "commits": [], + "end_line": 8, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/control-center/about-athena-modal/about-athena-modal.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "975c270b2f74d4d414339c4d2aa3c1043d95d25f", + "commits": [], + "end_line": 6, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/control-center/athena-enabled/athena-enabled.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "975c270b2f74d4d414339c4d2aa3c1043d95d25f", + "commits": [], + "end_line": 7, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/control-center/athena-enabled/athena-enabled.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "3c9a5e7007ff5c50eaa1b547fd0b6f54956f548d", + "commits": [], + "end_line": 5, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/control-center/control-center.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "af49be638f004a6e7334bfb78d04d247222c0290", + "commits": [], + "end_line": 8, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-group-membership/course-group-membership.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "07c105256f4f15f2f50eb7513cb2bd8eff40776a", + "commits": [], + "end_line": 10, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-lti-configuration/course-lti-configuration.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "07c105256f4f15f2f50eb7513cb2bd8eff40776a", + "commits": [], + "end_line": 13, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-lti-configuration/course-lti-configuration.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 } ], - "src": "M:src/main/webapp/app/atlas" + "src": "M:src/main/webapp/app/course" }, { - "count": 23, - "dst": "M:src/main/webapp/app/course", + "count": 6, + "dst": "M:src/main/webapp/app/hyperion", "how": "import-path", - "id": "M:src/main/webapp/app/atlas->M:src/main/webapp/app/course", + "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/hyperion", "kind": "uses", "refs": [ { - "blob_sha": "b83ad51e3ea3e2538527ea799141533791277027", + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", "commits": [], - "end_line": 32, + "end_line": 136, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/atlas/manage/competency-management/competency-management.component.ts", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 32 + "start_line": 136 }, { - "blob_sha": "b83ad51e3ea3e2538527ea799141533791277027", + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", "commits": [], - "end_line": 34, + "end_line": 11, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/atlas/manage/competency-management/competency-management.component.ts", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 34 + "start_line": 11 }, { - "blob_sha": "b83ad51e3ea3e2538527ea799141533791277027", + "blob_sha": "4ce13e83d6d9a00f19129c95a56fd4589ca94fcc", "commits": [], - "end_line": 33, + "end_line": 19, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/atlas/manage/competency-management/competency-management.component.ts", + "path": "src/main/webapp/app/course/manage/exercises/create-modal/exercise-add-modal.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 33 + "start_line": 19 + }, + { + "blob_sha": "39c4b99105206408272c47846cb350861b718830", + "commits": [], + "end_line": 34, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/exercises/exercise-row/exercise-actions.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 34 + }, + { + "blob_sha": "39c4b99105206408272c47846cb350861b718830", + "commits": [], + "end_line": 45, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/exercises/exercise-row/exercise-actions.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 45 + }, + { + "blob_sha": "39c4b99105206408272c47846cb350861b718830", + "commits": [], + "end_line": 46, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/exercises/exercise-row/exercise-actions.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 46 } ], - "src": "M:src/main/webapp/app/atlas" + "src": "M:src/main/webapp/app/course" }, { - "count": 2, - "dst": "M:src/main/webapp/app/editor", + "count": 16, + "dst": "M:src/main/webapp/app/iris", "how": "import-path", - "id": "M:src/main/webapp/app/atlas->M:src/main/webapp/app/editor", + "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/iris", "kind": "uses", "refs": [ { - "blob_sha": "9112558f0273cfb33620f9d26be62caa3c6ac31d", + "blob_sha": "3c9a5e7007ff5c50eaa1b547fd0b6f54956f548d", "commits": [], - "end_line": 16, + "end_line": 2, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/atlas/manage/forms/common-course-competency-form.component.ts", + "path": "src/main/webapp/app/course/manage/control-center/control-center.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 16 + "start_line": 2 }, { - "blob_sha": "d5d341ba39d42753a168f3a2285113d66bd2e4b4", + "blob_sha": "3c9a5e7007ff5c50eaa1b547fd0b6f54956f548d", "commits": [], - "end_line": 13, + "end_line": 6, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/atlas/manage/generate-competencies/competency-recommendation-detail.component.ts", + "path": "src/main/webapp/app/course/manage/control-center/control-center.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 13 + "start_line": 6 + }, + { + "blob_sha": "3c9a5e7007ff5c50eaa1b547fd0b6f54956f548d", + "commits": [], + "end_line": 4, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/control-center/control-center.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "commits": [], + "end_line": 126, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 126 + }, + { + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "commits": [], + "end_line": 10, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "aa56a7c5ecc3f41c4aabb8c6b51b111220b50cd2", + "commits": [], + "end_line": 30, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/detail/course-detail.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 30 + }, + { + "blob_sha": "79558f40ac910848323786c9d5b97f25f9b33526", + "commits": [], + "end_line": 23, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/onboarding/pages/onboarding-general-settings.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "79558f40ac910848323786c9d5b97f25f9b33526", + "commits": [], + "end_line": 26, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/onboarding/pages/onboarding-general-settings.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + }, + { + "blob_sha": "79558f40ac910848323786c9d5b97f25f9b33526", + "commits": [], + "end_line": 25, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/onboarding/pages/onboarding-general-settings.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "79558f40ac910848323786c9d5b97f25f9b33526", + "commits": [], + "end_line": 24, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/onboarding/pages/onboarding-general-settings.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 } ], - "src": "M:src/main/webapp/app/atlas" + "src": "M:src/main/webapp/app/course" }, { - "count": 7, - "dst": "M:src/main/webapp/app/exercise", + "count": 12, + "dst": "M:src/main/webapp/app/lecture", "how": "import-path", - "id": "M:src/main/webapp/app/atlas->M:src/main/webapp/app/exercise", + "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/lecture", "kind": "uses", "refs": [ { - "blob_sha": "1ad8483e791448510ce6e958bef404e42ea33e8c", + "blob_sha": "07c105256f4f15f2f50eb7513cb2bd8eff40776a", "commits": [], - "end_line": 4, + "end_line": 21, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/atlas/manage/import-all-course-competencies-modal/import-all-course-competencies-modal.component.ts", + "path": "src/main/webapp/app/course/manage/course-lti-configuration/course-lti-configuration.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "commits": [], + "end_line": 154, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 154 + }, + { + "blob_sha": "a6fe006a7e5082579b59e6fabb9d9b411afbf330", + "commits": [], + "end_line": 252, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/course/overview/courses.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 252 + }, + { + "blob_sha": "a6fe006a7e5082579b59e6fabb9d9b411afbf330", + "commits": [], + "end_line": 353, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/course/overview/courses.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 4 + "start_line": 353 }, { - "blob_sha": "636a89062f1b78192a838f29025aa5362f298c76", + "blob_sha": "a6fe006a7e5082579b59e6fabb9d9b411afbf330", "commits": [], - "end_line": 3, - "id": "E2", + "end_line": 230, + "id": "E5", "kind": "lines", - "path": "src/main/webapp/app/atlas/manage/import-list/import-table.component.ts", + "path": "src/main/webapp/app/course/overview/courses.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 + "start_line": 230 }, { - "blob_sha": "3f2646d586409aad12d2cc439114c1c9be3d5618", + "blob_sha": "a6fe006a7e5082579b59e6fabb9d9b411afbf330", "commits": [], - "end_line": 14, - "id": "E3", + "end_line": 236, + "id": "E6", "kind": "lines", - "path": "src/main/webapp/app/atlas/manage/orchestration-trigger/atlas-orchestration-trigger.component.ts", + "path": "src/main/webapp/app/course/overview/courses.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 14 - } - ], - "src": "M:src/main/webapp/app/atlas" - }, - { - "count": 1, - "dst": "M:src/main/webapp/app/fileupload", - "how": "import-path", - "id": "M:src/main/webapp/app/atlas->M:src/main/webapp/app/fileupload", - "kind": "uses", - "refs": [ + "start_line": 236 + }, { - "blob_sha": "abf6033c9fd7c50cda81e2a334a9d432474c8cb8", + "blob_sha": "a6fe006a7e5082579b59e6fabb9d9b411afbf330", "commits": [], - "end_line": 17, - "id": "E1", + "end_line": 9, + "id": "E7", "kind": "lines", - "path": "src/main/webapp/app/atlas/shared/dto/course-competency-response.dto.ts", + "path": "src/main/webapp/app/course/overview/courses.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 17 - } - ], - "src": "M:src/main/webapp/app/atlas" - }, - { - "count": 220, - "dst": "M:src/main/webapp/app/foundation", - "how": "import-path", - "id": "M:src/main/webapp/app/atlas->M:src/main/webapp/app/foundation", - "kind": "uses", - "refs": [ + "start_line": 9 + }, { - "blob_sha": "172312903a2594fcf1a97dc6ef9e6fbc315db7be", + "blob_sha": "80e70f3955d04cbc54407ca336734affe7c14c5d", "commits": [], - "end_line": 10, - "id": "E1", + "end_line": 6, + "id": "E8", "kind": "lines", - "path": "src/main/webapp/app/atlas/manage/agent-chat-modal/agent-chat-modal.component.ts", + "path": "src/main/webapp/app/course/overview/services/course-overview-tab-data.service.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 6 }, { - "blob_sha": "172312903a2594fcf1a97dc6ef9e6fbc315db7be", + "blob_sha": "80e70f3955d04cbc54407ca336734affe7c14c5d", "commits": [], - "end_line": 23, - "id": "E2", + "end_line": 7, + "id": "E9", "kind": "lines", - "path": "src/main/webapp/app/atlas/manage/agent-chat-modal/agent-chat-modal.component.ts", + "path": "src/main/webapp/app/course/overview/services/course-overview-tab-data.service.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 23 + "start_line": 7 }, { - "blob_sha": "172312903a2594fcf1a97dc6ef9e6fbc315db7be", + "blob_sha": "2c132d432a4cf796b3577bd6f5580365f022f1a7", "commits": [], - "end_line": 28, - "id": "E3", + "end_line": 21, + "id": "E10", "kind": "lines", - "path": "src/main/webapp/app/atlas/manage/agent-chat-modal/agent-chat-modal.component.ts", + "path": "src/main/webapp/app/course/overview/services/course-overview.service.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 28 + "start_line": 21 } ], - "src": "M:src/main/webapp/app/atlas" + "src": "M:src/main/webapp/app/course" }, { "count": 3, - "dst": "M:src/main/webapp/app/iris", + "dst": "M:src/main/webapp/app/localci", "how": "import-path", - "id": "M:src/main/webapp/app/atlas->M:src/main/webapp/app/iris", + "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/localci", "kind": "uses", "refs": [ { - "blob_sha": "b83ad51e3ea3e2538527ea799141533791277027", + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", "commits": [], - "end_line": 14, + "end_line": 529, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/atlas/manage/competency-management/competency-management.component.ts", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 14 + "start_line": 529 }, { - "blob_sha": "b43a02af9e3794e1181d9b0d7766fd72f804a5be", + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", "commits": [], - "end_line": 10, + "end_line": 520, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/atlas/manage/generate-competencies/course-description-form.component.ts", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 520 }, { - "blob_sha": "d2c1d6d9bf40a5474b0f9c0fe6e2dedb52d852d6", + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", "commits": [], - "end_line": 25, + "end_line": 9, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/atlas/manage/generate-competencies/generate-competencies.component.ts", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 25 + "start_line": 9 } ], - "src": "M:src/main/webapp/app/atlas" + "src": "M:src/main/webapp/app/course" }, { - "count": 25, - "dst": "M:src/main/webapp/app/lecture", + "count": 2, + "dst": "M:src/main/webapp/app/logos", "how": "import-path", - "id": "M:src/main/webapp/app/atlas->M:src/main/webapp/app/lecture", + "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/logos", "kind": "uses", "refs": [ { - "blob_sha": "c59a686746a6c332898bd71a1516b428a86121dd", + "blob_sha": "dc9304cdbe53e013ea1636f4bfc286ee8582db8a", "commits": [], - "end_line": 4, + "end_line": 23, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/atlas/manage/create/create-course-competency.component.ts", - "repo": "ls1intum/Artemis", - "role": "import", - "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 4 - }, - { - "blob_sha": "b72d4e3ac3fb2f876cc37ca38a6e6db9060421dc", - "commits": [], - "end_line": 4, - "id": "E2", - "kind": "lines", - "path": "src/main/webapp/app/atlas/manage/edit/edit-course-competency.component.ts", + "path": "src/main/webapp/app/course/overview/course-overview/course-overview.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 4 + "start_line": 23 }, { - "blob_sha": "23ec5d7316bbc2149855991042f6baf05063ba3e", + "blob_sha": "02aa518725711032db14f82f87c20b6c7333e092", "commits": [], "end_line": 24, - "id": "E3", + "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/atlas/overview/course-competencies/course-competencies-details.component.ts", + "path": "src/main/webapp/app/course/overview/exercise-details/request-feedback-button/request-feedback-button.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 24 } ], - "src": "M:src/main/webapp/app/atlas" + "src": "M:src/main/webapp/app/course" }, { - "count": 1, - "dst": "M:src/main/webapp/app/modeling", + "count": 6, + "dst": "M:src/main/webapp/app/lti", "how": "import-path", - "id": "M:src/main/webapp/app/atlas->M:src/main/webapp/app/modeling", + "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/lti", "kind": "uses", "refs": [ { - "blob_sha": "abf6033c9fd7c50cda81e2a334a9d432474c8cb8", + "blob_sha": "07c105256f4f15f2f50eb7513cb2bd8eff40776a", "commits": [], - "end_line": 16, + "end_line": 4, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/atlas/shared/dto/course-competency-response.dto.ts", + "path": "src/main/webapp/app/course/manage/course-lti-configuration/course-lti-configuration.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 16 - } - ], - "src": "M:src/main/webapp/app/atlas" - }, - { - "count": 1, - "dst": "M:src/main/webapp/app/programming", - "how": "import-path", - "id": "M:src/main/webapp/app/atlas->M:src/main/webapp/app/programming", - "kind": "uses", - "refs": [ + "start_line": 4 + }, { - "blob_sha": "abf6033c9fd7c50cda81e2a334a9d432474c8cb8", + "blob_sha": "85e9d0cbdca4972551ff6206333f22b22fa6a874", "commits": [], - "end_line": 15, - "id": "E1", + "end_line": 12, + "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/atlas/shared/dto/course-competency-response.dto.ts", + "path": "src/main/webapp/app/course/manage/course-lti-configuration/edit-course-lti-configuration.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 15 - } - ], - "src": "M:src/main/webapp/app/atlas" - }, - { - "count": 1, - "dst": "M:src/main/webapp/app/quiz", - "how": "import-path", - "id": "M:src/main/webapp/app/atlas->M:src/main/webapp/app/quiz", - "kind": "uses", - "refs": [ + "start_line": 12 + }, { - "blob_sha": "abf6033c9fd7c50cda81e2a334a9d432474c8cb8", + "blob_sha": "85e9d0cbdca4972551ff6206333f22b22fa6a874", "commits": [], - "end_line": 20, - "id": "E1", + "end_line": 6, + "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/atlas/shared/dto/course-competency-response.dto.ts", + "path": "src/main/webapp/app/course/manage/course-lti-configuration/edit-course-lti-configuration.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 20 - } - ], - "src": "M:src/main/webapp/app/atlas" - }, - { - "count": 31, - "dst": "M:src/main/webapp/app/shared-ui", - "how": "import-path", - "id": "M:src/main/webapp/app/atlas->M:src/main/webapp/app/shared-ui", - "kind": "uses", - "refs": [ + "start_line": 6 + }, { - "blob_sha": "ca71d3b27bddbb747ec077839be7135dc9bb5d22", + "blob_sha": "e7c2354dc3e3e03c27eeb03783cb810af286bcce", "commits": [], - "end_line": 10, - "id": "E1", + "end_line": 20, + "id": "E4", "kind": "lines", - "path": "src/main/webapp/app/atlas/manage/competency-graph-modal/competency-graph-modal.component.ts", + "path": "src/main/webapp/app/course/manage/services/course-management.service.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 20 }, { - "blob_sha": "ecf7b456e7efdfcfc1096d1df9e1bbb208c3e901", + "blob_sha": "e7c2354dc3e3e03c27eeb03783cb810af286bcce", "commits": [], - "end_line": 28, - "id": "E2", + "end_line": 29, + "id": "E5", "kind": "lines", - "path": "src/main/webapp/app/atlas/manage/competency-management/competency-management-table.component.ts", + "path": "src/main/webapp/app/course/manage/services/course-management.service.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 28 + "start_line": 29 }, { - "blob_sha": "b83ad51e3ea3e2538527ea799141533791277027", + "blob_sha": "30a537dc607928aa32c422824059327707104bdb", "commits": [], - "end_line": 12, - "id": "E3", + "end_line": 11, + "id": "E6", "kind": "lines", - "path": "src/main/webapp/app/atlas/manage/competency-management/competency-management.component.ts", + "path": "src/main/webapp/app/course/shared/entities/course.model.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 12 + "start_line": 11 } ], - "src": "M:src/main/webapp/app/atlas" + "src": "M:src/main/webapp/app/course" }, { - "count": 1, - "dst": "M:src/main/webapp/app/text", + "count": 6, + "dst": "M:src/main/webapp/app/modeling", "how": "import-path", - "id": "M:src/main/webapp/app/atlas->M:src/main/webapp/app/text", + "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/modeling", "kind": "uses", "refs": [ { - "blob_sha": "abf6033c9fd7c50cda81e2a334a9d432474c8cb8", + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", "commits": [], - "end_line": 18, + "end_line": 392, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/atlas/shared/dto/course-competency-response.dto.ts", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 18 - } - ], - "src": "M:src/main/webapp/app/atlas" - }, - { - "count": 1, - "dst": "M:src/main/webapp/app/core", - "how": "import-path", - "id": "M:src/main/webapp/app/calendar->M:src/main/webapp/app/core", - "kind": "uses", - "refs": [ + "start_line": 392 + }, { - "blob_sha": "892782bb326be3e63b493e7f95ec40d7d0b3ad9e", + "blob_sha": "3c25a672df59192250db6ec702a4256e05c20dfb", "commits": [], - "end_line": 9, - "id": "E1", + "end_line": 48, + "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/calendar/shared/service/calendar.service.ts", + "path": "src/main/webapp/app/course/manage/exercises/course-management-exercises.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 - } - ], - "src": "M:src/main/webapp/app/calendar" - }, - { - "count": 3, - "dst": "M:src/main/webapp/app/course", - "how": "import-path", - "id": "M:src/main/webapp/app/calendar->M:src/main/webapp/app/course", - "kind": "uses", - "refs": [ + "start_line": 48 + }, { - "blob_sha": "9d9f11a63123ac79bce34f49d526dca3485cb4fb", + "blob_sha": "39c4b99105206408272c47846cb350861b718830", "commits": [], - "end_line": 20, - "id": "E1", + "end_line": 39, + "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/calendar/desktop/overview/calendar-desktop-overview.component.ts", + "path": "src/main/webapp/app/course/manage/exercises/exercise-row/exercise-actions.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 20 + "start_line": 39 }, { - "blob_sha": "9d9f11a63123ac79bce34f49d526dca3485cb4fb", + "blob_sha": "a6fe006a7e5082579b59e6fabb9d9b411afbf330", "commits": [], - "end_line": 21, - "id": "E2", + "end_line": 170, + "id": "E4", "kind": "lines", - "path": "src/main/webapp/app/calendar/desktop/overview/calendar-desktop-overview.component.ts", + "path": "src/main/webapp/app/course/overview/courses.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 21 + "start_line": 170 }, { - "blob_sha": "76238c73c6457993396695010dfb6b0a075d96af", + "blob_sha": "de6a620b176d67624132c76b83860452511c62de", "commits": [], - "end_line": 8, - "id": "E3", + "end_line": 38, + "id": "E5", "kind": "lines", - "path": "src/main/webapp/app/calendar/shared/calendar-overview/calendar-overview-component.directive.ts", + "path": "src/main/webapp/app/course/overview/exercise-details/exercise-split-panel/exercise-split-panel.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 8 + "start_line": 38 + }, + { + "blob_sha": "2e0dd481081d7080da6f84838dc459fc116788f7", + "commits": [], + "end_line": 27, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/course/shared/entities/course-content-response.dto.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 } ], - "src": "M:src/main/webapp/app/calendar" + "src": "M:src/main/webapp/app/course" }, { - "count": 17, - "dst": "M:src/main/webapp/app/foundation", + "count": 13, + "dst": "M:src/main/webapp/app/notification", "how": "import-path", - "id": "M:src/main/webapp/app/calendar->M:src/main/webapp/app/foundation", + "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/notification", "kind": "uses", "refs": [ { - "blob_sha": "8b445411bb19a9f80dc0f15aa8bc6dbb5838cd52", + "blob_sha": "e7c2354dc3e3e03c27eeb03783cb810af286bcce", "commits": [], - "end_line": 7, + "end_line": 32, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/calendar/desktop/month-presentation/calendar-desktop-month-presentation.component.ts", + "path": "src/main/webapp/app/course/manage/services/course-management.service.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 32 }, { - "blob_sha": "8b445411bb19a9f80dc0f15aa8bc6dbb5838cd52", + "blob_sha": "b0d824fa5ac3aa705732c63db7e0e4b08354a6a4", "commits": [], - "end_line": 8, + "end_line": 7, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/calendar/desktop/month-presentation/calendar-desktop-month-presentation.component.ts", + "path": "src/main/webapp/app/course/overview/course-card-header/course-card-header.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 8 + "start_line": 7 }, { - "blob_sha": "8b445411bb19a9f80dc0f15aa8bc6dbb5838cd52", + "blob_sha": "a7dc18d09b487f4f867af3543cac96f7f7bd9eac", "commits": [], - "end_line": 9, + "end_line": 22, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/calendar/desktop/month-presentation/calendar-desktop-month-presentation.component.ts", + "path": "src/main/webapp/app/course/overview/course-card/course-card.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 - } - ], - "src": "M:src/main/webapp/app/calendar" - }, - { - "count": 12, - "dst": "M:src/main/webapp/app/(root)", - "how": "import-path", - "id": "M:src/main/webapp/app/communication->M:src/main/webapp/app/(root)", - "kind": "uses", - "refs": [ + "start_line": 22 + }, { - "blob_sha": "926a35d4e9a32d6a0404d71032e0500e2838d16e", + "blob_sha": "99648ad345915f324e5301447a96d35da9f00a4c", "commits": [], - "end_line": 21, - "id": "E1", + "end_line": 19, + "id": "E4", "kind": "lines", - "path": "src/main/webapp/app/communication/course-conversations-components/dialogs/conversation-detail-dialog/conversation-detail-dialog.component.ts", + "path": "src/main/webapp/app/course/overview/course-home/course-home.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 21 + "start_line": 19 }, { - "blob_sha": "f821bd82ca7c32b4beb96eedcfc2713721cd523c", + "blob_sha": "b529b75e55a974e604b3673b464733e19cc46bef", "commits": [], - "end_line": 31, - "id": "E2", + "end_line": 7, + "id": "E5", "kind": "lines", - "path": "src/main/webapp/app/communication/course-conversations-components/dialogs/conversation-detail-dialog/tabs/conversation-members/conversation-member-row/conversation-member-row.component.ts", + "path": "src/main/webapp/app/course/overview/course-settings/notification-settings/notification-settings.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 31 + "start_line": 7 }, { - "blob_sha": "bb55058a2dfcbf6c5a302044dd08c8f8ad91183e", + "blob_sha": "b529b75e55a974e604b3673b464733e19cc46bef", "commits": [], - "end_line": 32, - "id": "E3", + "end_line": 9, + "id": "E6", "kind": "lines", - "path": "src/main/webapp/app/communication/course-conversations-components/forward-message-dialog/forward-message-dialog.component.ts", + "path": "src/main/webapp/app/course/overview/course-settings/notification-settings/notification-settings.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 32 - } - ], - "src": "M:src/main/webapp/app/communication" - }, - { - "count": 28, - "dst": "M:src/main/webapp/app/account", - "how": "import-path", - "id": "M:src/main/webapp/app/communication->M:src/main/webapp/app/account", - "kind": "uses", - "refs": [ + "start_line": 9 + }, { - "blob_sha": "950d6ddff1054be716896750d5620e08fcfa258f", + "blob_sha": "b529b75e55a974e604b3673b464733e19cc46bef", "commits": [], - "end_line": 5, - "id": "E1", + "end_line": 10, + "id": "E7", "kind": "lines", - "path": "src/main/webapp/app/communication/communication.util.ts", + "path": "src/main/webapp/app/course/overview/course-settings/notification-settings/notification-settings.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 5 + "start_line": 10 }, { - "blob_sha": "07e44b167fe2ff0c8ff699c944c88da895e0c59c", + "blob_sha": "b529b75e55a974e604b3673b464733e19cc46bef", "commits": [], - "end_line": 7, - "id": "E2", + "end_line": 11, + "id": "E8", "kind": "lines", - "path": "src/main/webapp/app/communication/conversations/service/conversation.service.ts", + "path": "src/main/webapp/app/course/overview/course-settings/notification-settings/notification-settings.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 11 }, { - "blob_sha": "a19639a9b7e92e20403e514c1ad771eadc0baabb", + "blob_sha": "b529b75e55a974e604b3673b464733e19cc46bef", "commits": [], - "end_line": 2, - "id": "E3", + "end_line": 12, + "id": "E9", "kind": "lines", - "path": "src/main/webapp/app/communication/course-conversations-components/code-of-conduct/course-conversations-code-of-conduct.component.ts", + "path": "src/main/webapp/app/course/overview/course-settings/notification-settings/notification-settings.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 2 + "start_line": 12 + }, + { + "blob_sha": "b529b75e55a974e604b3673b464733e19cc46bef", + "commits": [], + "end_line": 13, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/course/overview/course-settings/notification-settings/notification-settings.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 } ], - "src": "M:src/main/webapp/app/communication" + "src": "M:src/main/webapp/app/course" }, { - "count": 27, - "dst": "M:src/main/webapp/app/core", + "count": 9, + "dst": "M:src/main/webapp/app/plagiarism", "how": "import-path", - "id": "M:src/main/webapp/app/communication->M:src/main/webapp/app/core", + "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/plagiarism", "kind": "uses", "refs": [ { - "blob_sha": "2444d3d817cdd69427b9a365ca9d900abebd4e16", + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", "commits": [], - "end_line": 37, + "end_line": 209, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/communication/answer-post/answer-post.component.ts", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 37 + "start_line": 209 }, { - "blob_sha": "d6a59d70a6404929ad852b7540aeb962f07c2d50", + "blob_sha": "957fdddcb5842fe1694ff3c79627f223955c5f18", "commits": [], - "end_line": 6, + "end_line": 49, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/communication/conversations/service/channel.service.ts", + "path": "src/main/webapp/app/course/manage/course-scores/course-scores.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 6 + "start_line": 49 }, { - "blob_sha": "2694b279d8d9234c50ff558b35cabda64bf36851", + "blob_sha": "957fdddcb5842fe1694ff3c79627f223955c5f18", "commits": [], - "end_line": 6, + "end_line": 50, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/communication/conversations/service/group-chat.service.ts", + "path": "src/main/webapp/app/course/manage/course-scores/course-scores.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 6 - } - ], - "src": "M:src/main/webapp/app/communication" - }, - { - "count": 51, - "dst": "M:src/main/webapp/app/course", - "how": "import-path", - "id": "M:src/main/webapp/app/communication->M:src/main/webapp/app/course", - "kind": "uses", - "refs": [ + "start_line": 50 + }, { - "blob_sha": "2444d3d817cdd69427b9a365ca9d900abebd4e16", + "blob_sha": "957fdddcb5842fe1694ff3c79627f223955c5f18", "commits": [], - "end_line": 42, - "id": "E1", + "end_line": 47, + "id": "E4", "kind": "lines", - "path": "src/main/webapp/app/communication/answer-post/answer-post.component.ts", + "path": "src/main/webapp/app/course/manage/course-scores/course-scores.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 42 + "start_line": 47 }, { - "blob_sha": "3611c9106ba99b91976afc0b3a03e11c90808f0b", + "blob_sha": "a6fe006a7e5082579b59e6fabb9d9b411afbf330", "commits": [], - "end_line": 4, - "id": "E2", + "end_line": 397, + "id": "E5", "kind": "lines", - "path": "src/main/webapp/app/communication/conversations/conversation-permissions.utils.ts", + "path": "src/main/webapp/app/course/overview/courses.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 4 + "start_line": 397 }, { - "blob_sha": "a19639a9b7e92e20403e514c1ad771eadc0baabb", + "blob_sha": "56afb8c8ce1557d5a7ddaff38bcf8de6c9f061ca", "commits": [], - "end_line": 6, - "id": "E3", + "end_line": 45, + "id": "E6", "kind": "lines", - "path": "src/main/webapp/app/communication/course-conversations-components/code-of-conduct/course-conversations-code-of-conduct.component.ts", + "path": "src/main/webapp/app/course/overview/exercise-details/course-exercise-details.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 6 - } - ], - "src": "M:src/main/webapp/app/communication" - }, - { - "count": 4, - "dst": "M:src/main/webapp/app/editor", - "how": "import-path", - "id": "M:src/main/webapp/app/communication->M:src/main/webapp/app/editor", - "kind": "uses", - "refs": [ + "start_line": 45 + }, { - "blob_sha": "65e61d144c33658a7844f2e7cf9239c2c6e6537c", + "blob_sha": "56afb8c8ce1557d5a7ddaff38bcf8de6c9f061ca", "commits": [], - "end_line": 24, - "id": "E1", + "end_line": 44, + "id": "E7", "kind": "lines", - "path": "src/main/webapp/app/communication/faq/faq-update.component.ts", + "path": "src/main/webapp/app/course/overview/exercise-details/course-exercise-details.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 24 + "start_line": 44 }, { - "blob_sha": "65e61d144c33658a7844f2e7cf9239c2c6e6537c", + "blob_sha": "de6a620b176d67624132c76b83860452511c62de", "commits": [], - "end_line": 9, - "id": "E2", + "end_line": 34, + "id": "E8", "kind": "lines", - "path": "src/main/webapp/app/communication/faq/faq-update.component.ts", + "path": "src/main/webapp/app/course/overview/exercise-details/exercise-split-panel/exercise-split-panel.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 + "start_line": 34 }, { - "blob_sha": "59a38df07c90cd7a22e347e3a1f035e824c60e7e", + "blob_sha": "de6a620b176d67624132c76b83860452511c62de", "commits": [], - "end_line": 10, - "id": "E3", + "end_line": 33, + "id": "E9", "kind": "lines", - "path": "src/main/webapp/app/communication/message-editor/message-editor-dom.ts", + "path": "src/main/webapp/app/course/overview/exercise-details/exercise-split-panel/exercise-split-panel.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 33 } ], - "src": "M:src/main/webapp/app/communication" + "src": "M:src/main/webapp/app/course" }, { - "count": 1, - "dst": "M:src/main/webapp/app/exam", + "count": 2, + "dst": "M:src/main/webapp/app/presentation", "how": "import-path", - "id": "M:src/main/webapp/app/communication->M:src/main/webapp/app/exam", + "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/presentation", "kind": "uses", "refs": [ { - "blob_sha": "3ac98adbf63877c0d24e8245248a90a02ce9624d", + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", "commits": [], - "end_line": 5, + "end_line": 17, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/communication/shared/entities/conversation/channel.model.ts", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 5 + "start_line": 17 + }, + { + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "commits": [], + "end_line": 49, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 49 } ], - "src": "M:src/main/webapp/app/communication" + "src": "M:src/main/webapp/app/course" }, { - "count": 8, - "dst": "M:src/main/webapp/app/exercise", + "count": 36, + "dst": "M:src/main/webapp/app/programming", "how": "import-path", - "id": "M:src/main/webapp/app/communication->M:src/main/webapp/app/exercise", + "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/programming", "kind": "uses", "refs": [ { - "blob_sha": "0cfe543ce59f5ed46fd08ddd7ad856d7cbac2501", + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", "commits": [], - "end_line": 4, + "end_line": 389, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/communication/course-faq/course-faq-accordion-component.ts", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 4 + "start_line": 389 }, { - "blob_sha": "1425a7992909a89a47632f92ee4515fffe85e008", + "blob_sha": "3c25a672df59192250db6ec702a4256e05c20dfb", "commits": [], - "end_line": 20, + "end_line": 39, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/communication/course-faq/course-faq.component.ts", + "path": "src/main/webapp/app/course/manage/exercises/course-management-exercises.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 20 + "start_line": 39 }, { - "blob_sha": "65e61d144c33658a7844f2e7cf9239c2c6e6537c", + "blob_sha": "3c25a672df59192250db6ec702a4256e05c20dfb", "commits": [], - "end_line": 23, + "end_line": 38, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/communication/faq/faq-update.component.ts", + "path": "src/main/webapp/app/course/manage/exercises/course-management-exercises.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 23 - } - ], - "src": "M:src/main/webapp/app/communication" - }, - { - "count": 177, - "dst": "M:src/main/webapp/app/foundation", - "how": "import-path", - "id": "M:src/main/webapp/app/communication->M:src/main/webapp/app/foundation", - "kind": "uses", - "refs": [ + "start_line": 38 + }, { - "blob_sha": "2444d3d817cdd69427b9a365ca9d900abebd4e16", + "blob_sha": "3c25a672df59192250db6ec702a4256e05c20dfb", "commits": [], - "end_line": 44, - "id": "E1", + "end_line": 37, + "id": "E4", "kind": "lines", - "path": "src/main/webapp/app/communication/answer-post/answer-post.component.ts", + "path": "src/main/webapp/app/course/manage/exercises/course-management-exercises.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 44 + "start_line": 37 }, { - "blob_sha": "2444d3d817cdd69427b9a365ca9d900abebd4e16", + "blob_sha": "3c25a672df59192250db6ec702a4256e05c20dfb", "commits": [], - "end_line": 35, - "id": "E2", + "end_line": 45, + "id": "E5", "kind": "lines", - "path": "src/main/webapp/app/communication/answer-post/answer-post.component.ts", + "path": "src/main/webapp/app/course/manage/exercises/course-management-exercises.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 35 + "start_line": 45 }, { - "blob_sha": "2444d3d817cdd69427b9a365ca9d900abebd4e16", + "blob_sha": "3c25a672df59192250db6ec702a4256e05c20dfb", "commits": [], "end_line": 36, - "id": "E3", + "id": "E6", "kind": "lines", - "path": "src/main/webapp/app/communication/answer-post/answer-post.component.ts", + "path": "src/main/webapp/app/course/manage/exercises/course-management-exercises.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 36 - } - ], - "src": "M:src/main/webapp/app/communication" - }, - { - "count": 4, - "dst": "M:src/main/webapp/app/hyperion", - "how": "import-path", - "id": "M:src/main/webapp/app/communication->M:src/main/webapp/app/hyperion", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "65e61d144c33658a7844f2e7cf9239c2c6e6537c", + "blob_sha": "4ce13e83d6d9a00f19129c95a56fd4589ca94fcc", "commits": [], - "end_line": 19, - "id": "E1", + "end_line": 20, + "id": "E7", "kind": "lines", - "path": "src/main/webapp/app/communication/faq/faq-update.component.ts", + "path": "src/main/webapp/app/course/manage/exercises/create-modal/exercise-add-modal.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 19 + "start_line": 20 }, { - "blob_sha": "65e61d144c33658a7844f2e7cf9239c2c6e6537c", + "blob_sha": "39c4b99105206408272c47846cb350861b718830", "commits": [], - "end_line": 15, - "id": "E2", + "end_line": 38, + "id": "E8", "kind": "lines", - "path": "src/main/webapp/app/communication/faq/faq-update.component.ts", + "path": "src/main/webapp/app/course/manage/exercises/exercise-row/exercise-actions.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 15 + "start_line": 38 }, { - "blob_sha": "65e61d144c33658a7844f2e7cf9239c2c6e6537c", + "blob_sha": "39c4b99105206408272c47846cb350861b718830", "commits": [], - "end_line": 26, - "id": "E3", + "end_line": 27, + "id": "E9", "kind": "lines", - "path": "src/main/webapp/app/communication/faq/faq-update.component.ts", + "path": "src/main/webapp/app/course/manage/exercises/exercise-row/exercise-actions.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 26 + "start_line": 27 + }, + { + "blob_sha": "6093aaffe218b095ac87fbd39e907e677de67caa", + "commits": [], + "end_line": 28, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/exercises/exercise-row/exercise-table.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 } ], - "src": "M:src/main/webapp/app/communication" + "src": "M:src/main/webapp/app/course" }, { - "count": 11, - "dst": "M:src/main/webapp/app/iris", + "count": 28, + "dst": "M:src/main/webapp/app/quiz", "how": "import-path", - "id": "M:src/main/webapp/app/communication->M:src/main/webapp/app/iris", + "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/quiz", "kind": "uses", "refs": [ { - "blob_sha": "22d308ee58e03cb463897dc1abea73c2ceef74a8", + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", "commits": [], - "end_line": 8, + "end_line": 390, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/communication/course-conversations/tutor-suggestion/tutor-suggestion.component.ts", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 8 + "start_line": 390 }, { - "blob_sha": "22d308ee58e03cb463897dc1abea73c2ceef74a8", + "blob_sha": "3c25a672df59192250db6ec702a4256e05c20dfb", "commits": [], - "end_line": 21, + "end_line": 44, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/communication/course-conversations/tutor-suggestion/tutor-suggestion.component.ts", + "path": "src/main/webapp/app/course/manage/exercises/course-management-exercises.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 21 + "start_line": 44 }, { - "blob_sha": "22d308ee58e03cb463897dc1abea73c2ceef74a8", + "blob_sha": "3c25a672df59192250db6ec702a4256e05c20dfb", "commits": [], - "end_line": 2, + "end_line": 43, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/communication/course-conversations/tutor-suggestion/tutor-suggestion.component.ts", + "path": "src/main/webapp/app/course/manage/exercises/course-management-exercises.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 2 - } - ], - "src": "M:src/main/webapp/app/communication" - }, - { - "count": 7, - "dst": "M:src/main/webapp/app/lecture", - "how": "import-path", - "id": "M:src/main/webapp/app/communication->M:src/main/webapp/app/lecture", - "kind": "uses", - "refs": [ + "start_line": 43 + }, { - "blob_sha": "1ecbd8aa9191a1ea9ecac44bfdface5ad9f4c9ba", + "blob_sha": "f6d9b092e47874875c62c541cb69d4eac4cd7bc9", "commits": [], - "end_line": 3, - "id": "E1", + "end_line": 7, + "id": "E4", "kind": "lines", - "path": "src/main/webapp/app/communication/message-editor/message-editor-resources.ts", + "path": "src/main/webapp/app/course/manage/exercises/exercise-group-sync.service.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 + "start_line": 7 }, { - "blob_sha": "1ecbd8aa9191a1ea9ecac44bfdface5ad9f4c9ba", + "blob_sha": "f6d9b092e47874875c62c541cb69d4eac4cd7bc9", "commits": [], - "end_line": 7, - "id": "E2", + "end_line": 6, + "id": "E5", "kind": "lines", - "path": "src/main/webapp/app/communication/message-editor/message-editor-resources.ts", + "path": "src/main/webapp/app/course/manage/exercises/exercise-group-sync.service.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 6 }, { - "blob_sha": "1ecbd8aa9191a1ea9ecac44bfdface5ad9f4c9ba", + "blob_sha": "39c4b99105206408272c47846cb350861b718830", "commits": [], - "end_line": 8, - "id": "E3", + "end_line": 23, + "id": "E6", "kind": "lines", - "path": "src/main/webapp/app/communication/message-editor/message-editor-resources.ts", + "path": "src/main/webapp/app/course/manage/exercises/exercise-row/exercise-actions.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 8 - } - ], - "src": "M:src/main/webapp/app/communication" - }, - { - "count": 2, - "dst": "M:src/main/webapp/app/notification", - "how": "import-path", - "id": "M:src/main/webapp/app/communication->M:src/main/webapp/app/notification", - "kind": "uses", - "refs": [ + "start_line": 23 + }, { - "blob_sha": "c9884061cb247111925e3fe523c24efed4acf33e", + "blob_sha": "39c4b99105206408272c47846cb350861b718830", "commits": [], - "end_line": 27, - "id": "E1", + "end_line": 24, + "id": "E7", "kind": "lines", - "path": "src/main/webapp/app/communication/course-conversations-components/dialogs/conversation-detail-dialog/tabs/conversation-info/conversation-info.component.ts", + "path": "src/main/webapp/app/course/manage/exercises/exercise-row/exercise-actions.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 27 + "start_line": 24 }, { - "blob_sha": "c9884061cb247111925e3fe523c24efed4acf33e", + "blob_sha": "39c4b99105206408272c47846cb350861b718830", "commits": [], - "end_line": 28, - "id": "E2", + "end_line": 37, + "id": "E8", "kind": "lines", - "path": "src/main/webapp/app/communication/course-conversations-components/dialogs/conversation-detail-dialog/tabs/conversation-info/conversation-info.component.ts", + "path": "src/main/webapp/app/course/manage/exercises/exercise-row/exercise-actions.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 28 - } - ], - "src": "M:src/main/webapp/app/communication" - }, - { - "count": 2, - "dst": "M:src/main/webapp/app/plagiarism", - "how": "import-path", - "id": "M:src/main/webapp/app/communication->M:src/main/webapp/app/plagiarism", - "kind": "uses", - "refs": [ + "start_line": 37 + }, { - "blob_sha": "4fdcad2e7e2666a33378b03a8ce3124585d6442e", + "blob_sha": "39c4b99105206408272c47846cb350861b718830", "commits": [], - "end_line": 36, - "id": "E1", + "end_line": 22, + "id": "E9", "kind": "lines", - "path": "src/main/webapp/app/communication/service/communication.service.ts", + "path": "src/main/webapp/app/course/manage/exercises/exercise-row/exercise-actions.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 36 + "start_line": 22 }, { - "blob_sha": "3851629ed46e1accb928c35c15db4255a27acf0c", + "blob_sha": "39c4b99105206408272c47846cb350861b718830", "commits": [], - "end_line": 4, - "id": "E2", + "end_line": 25, + "id": "E10", "kind": "lines", - "path": "src/main/webapp/app/communication/shared/entities/post.model.ts", + "path": "src/main/webapp/app/course/manage/exercises/exercise-row/exercise-actions.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 4 + "start_line": 25 } ], - "src": "M:src/main/webapp/app/communication" + "src": "M:src/main/webapp/app/course" }, { - "count": 29, + "count": 99, "dst": "M:src/main/webapp/app/shared-ui", "how": "import-path", - "id": "M:src/main/webapp/app/communication->M:src/main/webapp/app/shared-ui", + "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/shared-ui", "kind": "uses", "refs": [ { - "blob_sha": "0f11c1868acd2b135433db27424b666b1ae4cba3", + "blob_sha": "e7c1bd9c2bb93f52c47512bb4511bf5ec77afab8", "commits": [], - "end_line": 21, + "end_line": 9, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/communication/course-conversations-components/course-wide-search/course-wide-search.component.ts", + "path": "src/main/webapp/app/course/manage/control-center/about-athena-modal/about-athena-modal.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 21 + "start_line": 9 }, { - "blob_sha": "5b8f27dc09961c71ee4f82c9f7c6e5807ee4e83e", + "blob_sha": "975c270b2f74d4d414339c4d2aa3c1043d95d25f", "commits": [], - "end_line": 13, + "end_line": 5, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/communication/course-conversations-components/dialogs/channels-overview-dialog/channels-overview-dialog.component.ts", + "path": "src/main/webapp/app/course/manage/control-center/athena-enabled/athena-enabled.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 13 + "start_line": 5 }, { - "blob_sha": "926a35d4e9a32d6a0404d71032e0500e2838d16e", + "blob_sha": "3c9a5e7007ff5c50eaa1b547fd0b6f54956f548d", "commits": [], - "end_line": 19, + "end_line": 8, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/communication/course-conversations-components/dialogs/conversation-detail-dialog/conversation-detail-dialog.component.ts", + "path": "src/main/webapp/app/course/manage/control-center/control-center.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 19 - } - ], - "src": "M:src/main/webapp/app/communication" - }, - { - "count": 12, - "dst": "M:src/main/webapp/app/(root)", - "how": "import-path", - "id": "M:src/main/webapp/app/core->M:src/main/webapp/app/(root)", - "kind": "uses", - "refs": [ + "start_line": 8 + }, { - "blob_sha": "f6bd3755221ee8927c9c676e8f9150b9d1250eab", + "blob_sha": "07c105256f4f15f2f50eb7513cb2bd8eff40776a", "commits": [], - "end_line": 37, - "id": "E1", + "end_line": 14, + "id": "E4", "kind": "lines", - "path": "src/main/webapp/app/core/about-us/about-us-data.ts", + "path": "src/main/webapp/app/course/manage/course-lti-configuration/course-lti-configuration.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 37 + "start_line": 14 }, { - "blob_sha": "28678f4fff62d41f57a675798f8b4e39fb502d2e", + "blob_sha": "07c105256f4f15f2f50eb7513cb2bd8eff40776a", "commits": [], - "end_line": 8, - "id": "E2", + "end_line": 15, + "id": "E5", "kind": "lines", - "path": "src/main/webapp/app/core/about-us/about-us.component.ts", + "path": "src/main/webapp/app/course/manage/course-lti-configuration/course-lti-configuration.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 8 + "start_line": 15 }, { - "blob_sha": "cc666076c224bb35501ab6e764b1a15dbd108221", + "blob_sha": "85e9d0cbdca4972551ff6206333f22b22fa6a874", "commits": [], - "end_line": 16, - "id": "E3", + "end_line": 28, + "id": "E6", "kind": "lines", - "path": "src/main/webapp/app/core/auth/account.service.ts", + "path": "src/main/webapp/app/course/manage/course-lti-configuration/edit-course-lti-configuration.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 16 - } - ], - "src": "M:src/main/webapp/app/core" - }, - { - "count": 15, - "dst": "M:src/main/webapp/app/account", - "how": "import-path", - "id": "M:src/main/webapp/app/core->M:src/main/webapp/app/account", - "kind": "uses", - "refs": [ + "start_line": 28 + }, { - "blob_sha": "cc666076c224bb35501ab6e764b1a15dbd108221", + "blob_sha": "85e9d0cbdca4972551ff6206333f22b22fa6a874", "commits": [], - "end_line": 19, - "id": "E1", + "end_line": 9, + "id": "E7", "kind": "lines", - "path": "src/main/webapp/app/core/auth/account.service.ts", + "path": "src/main/webapp/app/course/manage/course-lti-configuration/edit-course-lti-configuration.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 19 + "start_line": 9 }, { - "blob_sha": "cc666076c224bb35501ab6e764b1a15dbd108221", + "blob_sha": "d885be8633c259d6645dba0ca40d94cb76f63cf9", "commits": [], - "end_line": 17, - "id": "E2", + "end_line": 43, + "id": "E8", "kind": "lines", - "path": "src/main/webapp/app/core/auth/account.service.ts", + "path": "src/main/webapp/app/course/manage/course-management-container/course-management-container.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 17 + "start_line": 43 }, { - "blob_sha": "cc666076c224bb35501ab6e764b1a15dbd108221", + "blob_sha": "d885be8633c259d6645dba0ca40d94cb76f63cf9", "commits": [], - "end_line": 7, - "id": "E3", + "end_line": 31, + "id": "E9", "kind": "lines", - "path": "src/main/webapp/app/core/auth/account.service.ts", + "path": "src/main/webapp/app/course/manage/course-management-container/course-management-container.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 31 + }, + { + "blob_sha": "d885be8633c259d6645dba0ca40d94cb76f63cf9", + "commits": [], + "end_line": 38, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/course/manage/course-management-container/course-management-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 38 } ], - "src": "M:src/main/webapp/app/core" + "src": "M:src/main/webapp/app/course" }, { - "count": 10, - "dst": "M:src/main/webapp/app/admin", + "count": 5, + "dst": "M:src/main/webapp/app/text", "how": "import-path", - "id": "M:src/main/webapp/app/core->M:src/main/webapp/app/admin", + "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/text", "kind": "uses", "refs": [ { - "blob_sha": "1b406c8ac98835ca8f4eab9d34d4d7e91dbed1c5", + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", "commits": [], - "end_line": 10, + "end_line": 388, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/core/legal/data-export/data-export.component.ts", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 388 }, { - "blob_sha": "b1fbda80b2a043f5fc626484aa3427b8ac718058", + "blob_sha": "3c25a672df59192250db6ec702a4256e05c20dfb", "commits": [], - "end_line": 4, + "end_line": 46, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/core/legal/data-export/data-export.service.ts", + "path": "src/main/webapp/app/course/manage/exercises/course-management-exercises.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 4 + "start_line": 46 }, { - "blob_sha": "ff0980f418e567fad260e6edff01c4a0672d2764", + "blob_sha": "39c4b99105206408272c47846cb350861b718830", "commits": [], - "end_line": 5, + "end_line": 35, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/core/legal/imprint.component.ts", + "path": "src/main/webapp/app/course/manage/exercises/exercise-row/exercise-actions.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 5 + "start_line": 35 + }, + { + "blob_sha": "a6fe006a7e5082579b59e6fabb9d9b411afbf330", + "commits": [], + "end_line": 148, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/course/overview/courses.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 148 + }, + { + "blob_sha": "2e0dd481081d7080da6f84838dc459fc116788f7", + "commits": [], + "end_line": 33, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/course/shared/entities/course-content-response.dto.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 33 } ], - "src": "M:src/main/webapp/app/core" + "src": "M:src/main/webapp/app/course" }, { - "count": 8, - "dst": "M:src/main/webapp/app/course", + "count": 11, + "dst": "M:src/main/webapp/app/tutorialgroup", "how": "import-path", - "id": "M:src/main/webapp/app/core->M:src/main/webapp/app/course", + "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/tutorialgroup", "kind": "uses", "refs": [ { - "blob_sha": "cc666076c224bb35501ab6e764b1a15dbd108221", + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", "commits": [], - "end_line": 6, + "end_line": 5, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/core/auth/account.service.ts", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 6 + "start_line": 5 }, { - "blob_sha": "c440391f2912e493d5918381639b8d3389761433", + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", "commits": [], - "end_line": 28, + "end_line": 226, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/core/navbar/global-search/components/modal/global-search-modal.component.ts", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 28 + "start_line": 226 }, { - "blob_sha": "c440391f2912e493d5918381639b8d3389761433", + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", "commits": [], - "end_line": 27, + "end_line": 236, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/core/navbar/global-search/components/modal/global-search-modal.component.ts", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 27 - } - ], - "src": "M:src/main/webapp/app/core" - }, - { - "count": 3, - "dst": "M:src/main/webapp/app/exam", - "how": "import-path", - "id": "M:src/main/webapp/app/core->M:src/main/webapp/app/exam", - "kind": "uses", - "refs": [ + "start_line": 236 + }, { - "blob_sha": "c42d42b401e7743bf496603d43bd04adc568418b", + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", "commits": [], - "end_line": 32, - "id": "E1", + "end_line": 165, + "id": "E4", "kind": "lines", - "path": "src/main/webapp/app/core/navbar/navbar.component.ts", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 32 + "start_line": 165 + }, + { + "blob_sha": "a6fe006a7e5082579b59e6fabb9d9b411afbf330", + "commits": [], + "end_line": 358, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/course/overview/courses.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 358 }, { - "blob_sha": "c42d42b401e7743bf496603d43bd04adc568418b", + "blob_sha": "a6fe006a7e5082579b59e6fabb9d9b411afbf330", "commits": [], - "end_line": 62, - "id": "E2", + "end_line": 337, + "id": "E6", "kind": "lines", - "path": "src/main/webapp/app/core/navbar/navbar.component.ts", + "path": "src/main/webapp/app/course/overview/courses.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 62 + "start_line": 337 }, { - "blob_sha": "c42d42b401e7743bf496603d43bd04adc568418b", + "blob_sha": "2c132d432a4cf796b3577bd6f5580365f022f1a7", "commits": [], - "end_line": 43, - "id": "E3", + "end_line": 23, + "id": "E7", "kind": "lines", - "path": "src/main/webapp/app/core/navbar/navbar.component.ts", + "path": "src/main/webapp/app/course/overview/services/course-overview.service.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 43 - } - ], - "src": "M:src/main/webapp/app/core" - }, - { - "count": 5, - "dst": "M:src/main/webapp/app/exercise", - "how": "import-path", - "id": "M:src/main/webapp/app/core->M:src/main/webapp/app/exercise", - "kind": "uses", - "refs": [ + "start_line": 23 + }, { - "blob_sha": "cc666076c224bb35501ab6e764b1a15dbd108221", + "blob_sha": "7c403ea8b99b8e93003da293b21b4594bec686c0", "commits": [], - "end_line": 11, - "id": "E1", + "end_line": 9, + "id": "E8", "kind": "lines", - "path": "src/main/webapp/app/core/auth/account.service.ts", + "path": "src/main/webapp/app/course/shared/course-group/course-group.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 + "start_line": 9 }, { - "blob_sha": "cc666076c224bb35501ab6e764b1a15dbd108221", + "blob_sha": "2b918ed65a2bca7d54945c92f11873a7f70fa23e", "commits": [], - "end_line": 10, - "id": "E2", + "end_line": 8, + "id": "E9", "kind": "lines", - "path": "src/main/webapp/app/core/auth/account.service.ts", + "path": "src/main/webapp/app/course/shared/entities/course-management-response.dto.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 8 }, { - "blob_sha": "36f2265941eb094d1bf22c852f36c5bc091e5397", + "blob_sha": "30a537dc607928aa32c422824059327707104bdb", "commits": [], - "end_line": 4, - "id": "E3", + "end_line": 13, + "id": "E10", "kind": "lines", - "path": "src/main/webapp/app/core/navbar/entity-title.service.ts", + "path": "src/main/webapp/app/course/shared/entities/course.model.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 4 + "start_line": 13 } ], - "src": "M:src/main/webapp/app/core" + "src": "M:src/main/webapp/app/course" }, { - "count": 109, - "dst": "M:src/main/webapp/app/foundation", + "count": 2, + "dst": "M:src/main/webapp/app/videosource", "how": "import-path", - "id": "M:src/main/webapp/app/core->M:src/main/webapp/app/foundation", + "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/videosource", "kind": "uses", "refs": [ { - "blob_sha": "28678f4fff62d41f57a675798f8b4e39fb502d2e", + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", "commits": [], - "end_line": 13, + "end_line": 259, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/core/about-us/about-us.component.ts", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 13 + "start_line": 259 }, { - "blob_sha": "28678f4fff62d41f57a675798f8b4e39fb502d2e", + "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", "commits": [], - "end_line": 14, + "end_line": 16, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/core/about-us/about-us.component.ts", - "repo": "ls1intum/Artemis", - "role": "import", - "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 14 - }, - { - "blob_sha": "28678f4fff62d41f57a675798f8b4e39fb502d2e", - "commits": [], - "end_line": 15, - "id": "E3", - "kind": "lines", - "path": "src/main/webapp/app/core/about-us/about-us.component.ts", + "path": "src/main/webapp/app/course/manage/course-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 15 + "start_line": 16 } ], - "src": "M:src/main/webapp/app/core" + "src": "M:src/main/webapp/app/course" }, { - "count": 1, - "dst": "M:src/main/webapp/app/hyperion", + "count": 2, + "dst": "M:src/main/webapp/app/core", "how": "import-path", - "id": "M:src/main/webapp/app/core->M:src/main/webapp/app/hyperion", + "id": "M:src/main/webapp/app/editor->M:src/main/webapp/app/core", "kind": "uses", "refs": [ { - "blob_sha": "c42d42b401e7743bf496603d43bd04adc568418b", + "blob_sha": "c4587ade894585846640b1f5565571dc886df5a4", "commits": [], - "end_line": 64, + "end_line": 3, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/core/navbar/navbar.component.ts", + "path": "src/main/webapp/app/editor/monaco-editor/monaco-editor.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 64 + "start_line": 3 + }, + { + "blob_sha": "737fbe4142790698c629f267c1996dc3f5b4ea65", + "commits": [], + "end_line": 2, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/editor/monaco-editor/service/monaco-editor.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 } ], - "src": "M:src/main/webapp/app/core" + "src": "M:src/main/webapp/app/editor" }, { - "count": 4, - "dst": "M:src/main/webapp/app/iris", + "count": 3, + "dst": "M:src/main/webapp/app/exercise", "how": "import-path", - "id": "M:src/main/webapp/app/core->M:src/main/webapp/app/iris", + "id": "M:src/main/webapp/app/editor->M:src/main/webapp/app/exercise", "kind": "uses", "refs": [ { - "blob_sha": "a1252c195c0badfd8e993c4c26a2edc0e0d131bf", + "blob_sha": "67c485319463b9e0d0629cea7ec145eb01c0eab2", "commits": [], - "end_line": 8, + "end_line": 65, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/core/navbar/global-search/components/views/iris-answer/global-search-iris-answer.component.ts", + "path": "src/main/webapp/app/editor/markdown-editor/monaco/markdown-editor-monaco.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 8 + "start_line": 65 }, { - "blob_sha": "ba44ab7a4745d76c48018f1383b4aa00f14ae512", + "blob_sha": "67c485319463b9e0d0629cea7ec145eb01c0eab2", "commits": [], - "end_line": 10, + "end_line": 64, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/core/navbar/global-search/components/views/iris-handoff/global-search-iris-handoff.component.ts", + "path": "src/main/webapp/app/editor/markdown-editor/monaco/markdown-editor-monaco.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 64 }, { - "blob_sha": "ba44ab7a4745d76c48018f1383b4aa00f14ae512", + "blob_sha": "67c485319463b9e0d0629cea7ec145eb01c0eab2", "commits": [], - "end_line": 11, + "end_line": 63, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/core/navbar/global-search/components/views/iris-handoff/global-search-iris-handoff.component.ts", + "path": "src/main/webapp/app/editor/markdown-editor/monaco/markdown-editor-monaco.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 + "start_line": 63 } ], - "src": "M:src/main/webapp/app/core" + "src": "M:src/main/webapp/app/editor" }, { - "count": 3, - "dst": "M:src/main/webapp/app/lecture", + "count": 16, + "dst": "M:src/main/webapp/app/foundation", "how": "import-path", - "id": "M:src/main/webapp/app/core->M:src/main/webapp/app/lecture", + "id": "M:src/main/webapp/app/editor->M:src/main/webapp/app/foundation", "kind": "uses", "refs": [ { - "blob_sha": "a1252c195c0badfd8e993c4c26a2edc0e0d131bf", + "blob_sha": "67c485319463b9e0d0629cea7ec145eb01c0eab2", "commits": [], - "end_line": 22, + "end_line": 54, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/core/navbar/global-search/components/views/iris-answer/global-search-iris-answer.component.ts", + "path": "src/main/webapp/app/editor/markdown-editor/monaco/markdown-editor-monaco.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 22 + "start_line": 54 }, { - "blob_sha": "df493930b7676fa1444760917ea5358d08bde268", + "blob_sha": "67c485319463b9e0d0629cea7ec145eb01c0eab2", "commits": [], - "end_line": 34, + "end_line": 62, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/core/navbar/global-search/components/views/navigation-view/global-search-navigation-view.component.ts", + "path": "src/main/webapp/app/editor/markdown-editor/monaco/markdown-editor-monaco.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 34 + "start_line": 62 }, { - "blob_sha": "31cfa9b5872d5e944795e5aee48ea6e685c46b46", + "blob_sha": "67c485319463b9e0d0629cea7ec145eb01c0eab2", "commits": [], - "end_line": 3, + "end_line": 55, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/core/navbar/global-search/services/lecture-search-result-normalization.util.ts", + "path": "src/main/webapp/app/editor/markdown-editor/monaco/markdown-editor-monaco.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 - } - ], - "src": "M:src/main/webapp/app/core" - }, - { - "count": 2, - "dst": "M:src/main/webapp/app/lti", - "how": "import-path", - "id": "M:src/main/webapp/app/core->M:src/main/webapp/app/lti", - "kind": "uses", - "refs": [ + "start_line": 55 + }, { - "blob_sha": "54eea2070dc83cbcc1b28abfcd0b2401dd7bd1e5", + "blob_sha": "67c485319463b9e0d0629cea7ec145eb01c0eab2", "commits": [], - "end_line": 27, - "id": "E1", + "end_line": 58, + "id": "E4", "kind": "lines", - "path": "src/main/webapp/app/core/home/home.component.ts", + "path": "src/main/webapp/app/editor/markdown-editor/monaco/markdown-editor-monaco.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 27 + "start_line": 58 }, { - "blob_sha": "b7a2ed5dd25995081d75e296fcec142d9c722ed8", + "blob_sha": "67c485319463b9e0d0629cea7ec145eb01c0eab2", "commits": [], - "end_line": 8, - "id": "E2", + "end_line": 40, + "id": "E5", "kind": "lines", - "path": "src/main/webapp/app/core/login/login.service.ts", + "path": "src/main/webapp/app/editor/markdown-editor/monaco/markdown-editor-monaco.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 8 - } - ], - "src": "M:src/main/webapp/app/core" - }, - { - "count": 1, - "dst": "M:src/main/webapp/app/notification", - "how": "import-path", - "id": "M:src/main/webapp/app/core->M:src/main/webapp/app/notification", - "kind": "uses", - "refs": [ + "start_line": 40 + }, { - "blob_sha": "c42d42b401e7743bf496603d43bd04adc568418b", + "blob_sha": "67c485319463b9e0d0629cea7ec145eb01c0eab2", "commits": [], "end_line": 61, - "id": "E1", + "id": "E6", "kind": "lines", - "path": "src/main/webapp/app/core/navbar/navbar.component.ts", + "path": "src/main/webapp/app/editor/markdown-editor/monaco/markdown-editor-monaco.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 61 - } - ], - "src": "M:src/main/webapp/app/core" - }, - { - "count": 2, - "dst": "M:src/main/webapp/app/programming", - "how": "import-path", - "id": "M:src/main/webapp/app/core->M:src/main/webapp/app/programming", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "6548e49d1a951f96bdb33ee1a270ba7de307e8e7", + "blob_sha": "67c485319463b9e0d0629cea7ec145eb01c0eab2", "commits": [], - "end_line": 1, - "id": "E1", + "end_line": 51, + "id": "E7", "kind": "lines", - "path": "src/main/webapp/app/core/layouts/profiles/profile-info.model.ts", + "path": "src/main/webapp/app/editor/markdown-editor/monaco/markdown-editor-monaco.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 1 + "start_line": 51 }, { - "blob_sha": "c42d42b401e7743bf496603d43bd04adc568418b", + "blob_sha": "67c485319463b9e0d0629cea7ec145eb01c0eab2", "commits": [], - "end_line": 3, - "id": "E2", + "end_line": 67, + "id": "E8", "kind": "lines", - "path": "src/main/webapp/app/core/navbar/navbar.component.ts", + "path": "src/main/webapp/app/editor/markdown-editor/monaco/markdown-editor-monaco.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 + "start_line": 67 + }, + { + "blob_sha": "0f72ff098dd7f80e299b25f87b9abafdf5494ee9", + "commits": [], + "end_line": 2, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/editor/markdown-editor/monaco/markdown-editor-parsing.helper.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "1c6496dd290bc0a78f0c1e184e58cff80b11014a", + "commits": [], + "end_line": 4, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/editor/monaco-editor/model/actions/attachment.action.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 } ], - "src": "M:src/main/webapp/app/core" + "src": "M:src/main/webapp/app/editor" }, { - "count": 8, - "dst": "M:src/main/webapp/app/shared-ui", + "count": 5, + "dst": "M:src/main/webapp/app/hyperion", "how": "import-path", - "id": "M:src/main/webapp/app/core->M:src/main/webapp/app/shared-ui", + "id": "M:src/main/webapp/app/editor->M:src/main/webapp/app/hyperion", "kind": "uses", "refs": [ { - "blob_sha": "3e87296760742146b28b73f57e4cb071496503d4", + "blob_sha": "67c485319463b9e0d0629cea7ec145eb01c0eab2", "commits": [], - "end_line": 8, + "end_line": 60, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/core/alert/alert-overlay.component.ts", + "path": "src/main/webapp/app/editor/markdown-editor/monaco/markdown-editor-monaco.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 8 + "start_line": 60 }, { - "blob_sha": "3341d912cf9bccbdd644e845c99baacba3bdf404", + "blob_sha": "67c485319463b9e0d0629cea7ec145eb01c0eab2", "commits": [], - "end_line": 8, + "end_line": 66, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/core/auth/passkey-authentication-page/passkey-authentication-page.component.ts", + "path": "src/main/webapp/app/editor/markdown-editor/monaco/markdown-editor-monaco.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 8 + "start_line": 66 }, { - "blob_sha": "43ad3a116d85b2753e060825967a5146efc10b41", + "blob_sha": "4e24bd4b1605efc1ae5fd2b34de4263641ee5d71", "commits": [], "end_line": 11, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/core/legal/data-export/confirmation/data-export-confirmation-dialog.component.ts", + "path": "src/main/webapp/app/editor/monaco-editor/model/actions/text-editor-action.model.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 11 - } - ], - "src": "M:src/main/webapp/app/core" - }, - { - "count": 26, - "dst": "M:src/main/webapp/app/(root)", - "how": "import-path", - "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/(root)", - "kind": "uses", - "refs": [ - { - "blob_sha": "d885be8633c259d6645dba0ca40d94cb76f63cf9", - "commits": [], - "end_line": 55, - "id": "E1", - "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-management-container/course-management-container.component.ts", - "repo": "ls1intum/Artemis", - "role": "import", - "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 55 }, { - "blob_sha": "957fdddcb5842fe1694ff3c79627f223955c5f18", + "blob_sha": "4e24bd4b1605efc1ae5fd2b34de4263641ee5d71", "commits": [], - "end_line": 28, - "id": "E2", + "end_line": 13, + "id": "E4", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-scores/course-scores.component.ts", + "path": "src/main/webapp/app/editor/monaco-editor/model/actions/text-editor-action.model.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 28 + "start_line": 13 }, { - "blob_sha": "aa56a7c5ecc3f41c4aabb8c6b51b111220b50cd2", + "blob_sha": "4e24bd4b1605efc1ae5fd2b34de4263641ee5d71", "commits": [], - "end_line": 5, - "id": "E3", + "end_line": 10, + "id": "E5", "kind": "lines", - "path": "src/main/webapp/app/course/manage/detail/course-detail.component.ts", + "path": "src/main/webapp/app/editor/monaco-editor/model/actions/text-editor-action.model.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 5 + "start_line": 10 } ], - "src": "M:src/main/webapp/app/course" + "src": "M:src/main/webapp/app/editor" }, { - "count": 11, - "dst": "M:src/main/webapp/app/account", + "count": 5, + "dst": "M:src/main/webapp/app/programming", "how": "import-path", - "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/account", + "id": "M:src/main/webapp/app/editor->M:src/main/webapp/app/programming", "kind": "uses", "refs": [ { - "blob_sha": "e7c2354dc3e3e03c27eeb03783cb810af286bcce", + "blob_sha": "67c485319463b9e0d0629cea7ec145eb01c0eab2", "commits": [], - "end_line": 11, + "end_line": 22, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/course/manage/services/course-management.service.ts", + "path": "src/main/webapp/app/editor/markdown-editor/monaco/markdown-editor-monaco.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 + "start_line": 22 }, { - "blob_sha": "99648ad345915f324e5301447a96d35da9f00a4c", + "blob_sha": "87511e71e5327c05532f91811476d9a51ba51b42", "commits": [], - "end_line": 15, + "end_line": 3, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/course/overview/course-home/course-home.component.ts", + "path": "src/main/webapp/app/editor/monaco-editor/diff-editor/monaco-diff-editor.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 15 + "start_line": 3 }, { - "blob_sha": "dc9304cdbe53e013ea1636f4bfc286ee8582db8a", + "blob_sha": "91b512cca97e7e7942700f2d93ac19408439a057", "commits": [], - "end_line": 21, + "end_line": 2, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/course/overview/course-overview/course-overview.component.ts", - "repo": "ls1intum/Artemis", - "role": "import", - "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 21 - } - ], - "src": "M:src/main/webapp/app/course" - }, - { - "count": 7, - "dst": "M:src/main/webapp/app/admin", - "how": "import-path", - "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/admin", - "kind": "uses", - "refs": [ - { - "blob_sha": "85e9d0cbdca4972551ff6206333f22b22fa6a874", - "commits": [], - "end_line": 13, - "id": "E1", - "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-lti-configuration/edit-course-lti-configuration.component.ts", + "path": "src/main/webapp/app/editor/monaco-editor/model/languages/monaco-custom-markdown.language.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 13 + "start_line": 2 }, { - "blob_sha": "aa56a7c5ecc3f41c4aabb8c6b51b111220b50cd2", + "blob_sha": "c4587ade894585846640b1f5565571dc886df5a4", "commits": [], - "end_line": 29, - "id": "E2", + "end_line": 15, + "id": "E4", "kind": "lines", - "path": "src/main/webapp/app/course/manage/detail/course-detail.component.ts", + "path": "src/main/webapp/app/editor/monaco-editor/monaco-editor.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 29 + "start_line": 15 }, { - "blob_sha": "bef8c34ac81eccb590ef2c5354fc4923d06c5287", + "blob_sha": "c4587ade894585846640b1f5565571dc886df5a4", "commits": [], - "end_line": 23, - "id": "E3", + "end_line": 16, + "id": "E5", "kind": "lines", - "path": "src/main/webapp/app/course/manage/update/course-update.component.ts", + "path": "src/main/webapp/app/editor/monaco-editor/monaco-editor.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 23 + "start_line": 16 } ], - "src": "M:src/main/webapp/app/course" + "src": "M:src/main/webapp/app/editor" }, { - "count": 27, - "dst": "M:src/main/webapp/app/assessment", + "count": 11, + "dst": "M:src/main/webapp/app/(root)", "how": "import-path", - "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/assessment", + "id": "M:src/main/webapp/app/exam->M:src/main/webapp/app/(root)", "kind": "uses", "refs": [ { - "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "blob_sha": "bea17ae49b5bed8130baf58a849155b3dfde8d12", "commits": [], - "end_line": 361, + "end_line": 40, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "path": "src/main/webapp/app/exam/manage/exam-scores/exam-scores.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 361 + "start_line": 40 }, { - "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "blob_sha": "bde4f4a32763836d51b7aabf1bef28e5e21e9617", "commits": [], - "end_line": 117, + "end_line": 30, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "path": "src/main/webapp/app/exam/manage/exams/exam-checklist-component/exam-checklist.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 117 + "start_line": 30 }, { - "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "blob_sha": "d8f1318d3081bec759799e1295601a108a46a978", "commits": [], - "end_line": 360, + "end_line": 18, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "path": "src/main/webapp/app/exam/manage/exams/exam-exercise-import/exam-exercise-import.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 360 - } - ], - "src": "M:src/main/webapp/app/course" - }, - { - "count": 30, - "dst": "M:src/main/webapp/app/atlas", - "how": "import-path", - "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/atlas", - "kind": "uses", - "refs": [ + "start_line": 18 + }, { - "blob_sha": "d885be8633c259d6645dba0ca40d94cb76f63cf9", + "blob_sha": "17cc0714945618615193dc354d2f9c3987983b55", "commits": [], - "end_line": 54, - "id": "E1", + "end_line": 29, + "id": "E4", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-management-container/course-management-container.component.ts", + "path": "src/main/webapp/app/exam/manage/exercise-groups/exercise-groups.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 54 + "start_line": 29 }, { - "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "blob_sha": "38ca8a86eeb25427f13bf98a17ec39c54f6bc0d0", "commits": [], - "end_line": 353, - "id": "E2", + "end_line": 6, + "id": "E5", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "path": "src/main/webapp/app/exam/manage/exercise-groups/programming-exercise-cell/programming-exercise-group-cell.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 353 + "start_line": 6 }, { - "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "blob_sha": "586f2e672de8c8d47b9f212c22a410aa10b0efc2", "commits": [], - "end_line": 403, - "id": "E3", + "end_line": 52, + "id": "E6", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "path": "src/main/webapp/app/exam/manage/students/exam-students.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 403 - } - ], - "src": "M:src/main/webapp/app/course" - }, - { - "count": 1, - "dst": "M:src/main/webapp/app/calendar", - "how": "import-path", - "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/calendar", - "kind": "uses", - "refs": [ + "start_line": 52 + }, { - "blob_sha": "a6fe006a7e5082579b59e6fabb9d9b411afbf330", + "blob_sha": "61a63ebb3848dcf583b6547e919533c3e074e123", "commits": [], - "end_line": 440, - "id": "E1", + "end_line": 17, + "id": "E7", "kind": "lines", - "path": "src/main/webapp/app/course/overview/courses.route.ts", + "path": "src/main/webapp/app/exam/manage/students/verify-attendance-check/exam-students-attendance-check.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 440 - } - ], - "src": "M:src/main/webapp/app/course" - }, - { - "count": 29, - "dst": "M:src/main/webapp/app/communication", - "how": "import-path", - "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/communication", - "kind": "uses", - "refs": [ + "start_line": 17 + }, { - "blob_sha": "d885be8633c259d6645dba0ca40d94cb76f63cf9", - "commits": [], - "end_line": 39, - "id": "E1", + "blob_sha": "588a4b3fbed8fe58ea865d4d64a983f18368363b", + "commits": [], + "end_line": 14, + "id": "E8", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-management-container/course-management-container.component.ts", + "path": "src/main/webapp/app/exam/overview/exam-cover/exam-participation-cover.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 39 + "start_line": 14 }, { - "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "blob_sha": "8b9194e92509a5c9a79a7f55490f483dacdf9928", "commits": [], - "end_line": 13, - "id": "E2", + "end_line": 26, + "id": "E9", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "path": "src/main/webapp/app/exam/overview/exercises/file-upload/file-upload-exam-submission.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 13 + "start_line": 26 }, { - "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "blob_sha": "8d651f33becbe0f0dcce82601c0c2ad4a47411dd", "commits": [], - "end_line": 560, - "id": "E3", + "end_line": 14, + "id": "E10", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "path": "src/main/webapp/app/exam/overview/summary/exam-request-ai-feedback-button/exam-request-ai-feedback-button.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 560 + "start_line": 14 } ], - "src": "M:src/main/webapp/app/course" + "src": "M:src/main/webapp/app/exam" }, { - "count": 51, - "dst": "M:src/main/webapp/app/core", + "count": 8, + "dst": "M:src/main/webapp/app/account", "how": "import-path", - "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/core", + "id": "M:src/main/webapp/app/exam->M:src/main/webapp/app/account", "kind": "uses", "refs": [ { - "blob_sha": "af49be638f004a6e7334bfb78d04d247222c0290", + "blob_sha": "8d629bc27619494e10b283fd16268256169ff4f4", "commits": [], - "end_line": 3, + "end_line": 7, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-group-membership/course-group-membership.component.ts", + "path": "src/main/webapp/app/exam/manage/student-exams/student-exam-detail/student-exam-detail.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 + "start_line": 7 }, { - "blob_sha": "85e9d0cbdca4972551ff6206333f22b22fa6a874", + "blob_sha": "586f2e672de8c8d47b9f212c22a410aa10b0efc2", "commits": [], - "end_line": 30, + "end_line": 6, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-lti-configuration/edit-course-lti-configuration.component.ts", + "path": "src/main/webapp/app/exam/manage/students/exam-students.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 30 + "start_line": 6 }, { - "blob_sha": "d885be8633c259d6645dba0ca40d94cb76f63cf9", + "blob_sha": "34e8f65d595c81b1285913619c2d3b4b28f49888", "commits": [], - "end_line": 10, + "end_line": 13, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-management-container/course-management-container.component.ts", + "path": "src/main/webapp/app/exam/manage/test-runs/test-run-management/test-run-management.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 - } - ], - "src": "M:src/main/webapp/app/course" - }, - { - "count": 3, - "dst": "M:src/main/webapp/app/editor", - "how": "import-path", - "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/editor", - "kind": "uses", - "refs": [ + "start_line": 13 + }, { - "blob_sha": "c97e15963f2cc3a60e387ca799908d3483a678dd", + "blob_sha": "eac98b9d868951928c5d2a8d70a6b83bf3c574d2", "commits": [], - "end_line": 5, - "id": "E1", + "end_line": 9, + "id": "E4", "kind": "lines", - "path": "src/main/webapp/app/course/manage/onboarding/pages/onboarding-communication.component.ts", + "path": "src/main/webapp/app/exam/overview/services/exam-participation-live-events.service.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 5 + "start_line": 9 }, { - "blob_sha": "a1686caa8ea46e578d0a34f5521634f0763b42e0", + "blob_sha": "8d651f33becbe0f0dcce82601c0c2ad4a47411dd", "commits": [], - "end_line": 5, - "id": "E2", + "end_line": 12, + "id": "E5", "kind": "lines", - "path": "src/main/webapp/app/course/manage/onboarding/pages/onboarding-enrollment.component.ts", + "path": "src/main/webapp/app/exam/overview/summary/exam-request-ai-feedback-button/exam-request-ai-feedback-button.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 5 + "start_line": 12 }, { - "blob_sha": "bef8c34ac81eccb590ef2c5354fc4923d06c5287", + "blob_sha": "8d651f33becbe0f0dcce82601c0c2ad4a47411dd", "commits": [], - "end_line": 53, - "id": "E3", + "end_line": 13, + "id": "E6", "kind": "lines", - "path": "src/main/webapp/app/course/manage/update/course-update.component.ts", + "path": "src/main/webapp/app/exam/overview/summary/exam-request-ai-feedback-button/exam-request-ai-feedback-button.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 53 + "start_line": 13 + }, + { + "blob_sha": "b63f64505c0b63725753fd213f139eca397604cb", + "commits": [], + "end_line": 1, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/exam/shared/entities/exam-user.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 1 + }, + { + "blob_sha": "c024cd884e1377cb1c9706ba345ecaa7c1986003", + "commits": [], + "end_line": 2, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/exam/shared/entities/student-exam.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 } ], - "src": "M:src/main/webapp/app/course" + "src": "M:src/main/webapp/app/exam" }, { - "count": 18, - "dst": "M:src/main/webapp/app/exam", + "count": 30, + "dst": "M:src/main/webapp/app/assessment", "how": "import-path", - "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/exam", + "id": "M:src/main/webapp/app/exam->M:src/main/webapp/app/assessment", "kind": "uses", "refs": [ { - "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 217, + "end_line": 321, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 217 + "start_line": 321 }, { - "blob_sha": "dc9304cdbe53e013ea1636f4bfc286ee8582db8a", + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 16, + "end_line": 420, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/course/overview/course-overview/course-overview.component.ts", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 16 + "start_line": 420 }, { - "blob_sha": "a6fe006a7e5082579b59e6fabb9d9b411afbf330", + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 390, + "end_line": 430, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/course/overview/courses.route.ts", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 390 - } - ], - "src": "M:src/main/webapp/app/course" - }, - { - "count": 200, - "dst": "M:src/main/webapp/app/exercise", - "how": "import-path", - "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/exercise", - "kind": "uses", - "refs": [ + "start_line": 430 + }, { - "blob_sha": "07c105256f4f15f2f50eb7513cb2bd8eff40776a", + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 6, - "id": "E1", + "end_line": 312, + "id": "E4", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-lti-configuration/course-lti-configuration.component.ts", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 6 + "start_line": 312 }, { - "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 393, - "id": "E2", + "end_line": 363, + "id": "E5", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 393 + "start_line": 363 }, { - "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 98, - "id": "E3", + "end_line": 631, + "id": "E6", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 98 - } - ], - "src": "M:src/main/webapp/app/course" - }, - { - "count": 5, - "dst": "M:src/main/webapp/app/fileupload", - "how": "import-path", - "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/fileupload", - "kind": "uses", - "refs": [ + "start_line": 631 + }, { - "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 391, - "id": "E1", + "end_line": 641, + "id": "E7", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 391 + "start_line": 641 }, { - "blob_sha": "3c25a672df59192250db6ec702a4256e05c20dfb", + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 47, - "id": "E2", + "end_line": 653, + "id": "E8", "kind": "lines", - "path": "src/main/webapp/app/course/manage/exercises/course-management-exercises.component.ts", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 47 + "start_line": 653 }, { - "blob_sha": "39c4b99105206408272c47846cb350861b718830", + "blob_sha": "a4017e35d0c6c744e203a36660c553bc3c066abe", "commits": [], - "end_line": 36, - "id": "E3", + "end_line": 4, + "id": "E9", "kind": "lines", - "path": "src/main/webapp/app/course/manage/exercises/exercise-row/exercise-actions.component.ts", + "path": "src/main/webapp/app/exam/manage/exam-scores/exam-score-dtos.model.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 36 + "start_line": 4 + }, + { + "blob_sha": "a4017e35d0c6c744e203a36660c553bc3c066abe", + "commits": [], + "end_line": 2, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/exam/manage/exam-scores/exam-score-dtos.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 } ], - "src": "M:src/main/webapp/app/course" + "src": "M:src/main/webapp/app/exam" }, { - "count": 333, - "dst": "M:src/main/webapp/app/foundation", + "count": 1, + "dst": "M:src/main/webapp/app/calendar", "how": "import-path", - "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/foundation", + "id": "M:src/main/webapp/app/exam->M:src/main/webapp/app/calendar", "kind": "uses", "refs": [ { - "blob_sha": "7b39fad38bfad68a441547f0c93d09af64d01025", + "blob_sha": "21cdeaf2e8b5c4bf73e2afe88756ffd68b5c8f3a", "commits": [], - "end_line": 8, + "end_line": 43, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/course/manage/athena-settings-update/athena-settings-update.component.ts", + "path": "src/main/webapp/app/exam/manage/exams/update/exam-update.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 8 + "start_line": 43 + } + ], + "src": "M:src/main/webapp/app/exam" + }, + { + "count": 28, + "dst": "M:src/main/webapp/app/core", + "how": "import-path", + "id": "M:src/main/webapp/app/exam->M:src/main/webapp/app/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", + "commits": [], + "end_line": 13, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 }, { - "blob_sha": "7b39fad38bfad68a441547f0c93d09af64d01025", + "blob_sha": "bea17ae49b5bed8130baf58a849155b3dfde8d12", "commits": [], - "end_line": 9, + "end_line": 26, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/course/manage/athena-settings-update/athena-settings-update.component.ts", + "path": "src/main/webapp/app/exam/manage/exam-scores/exam-scores.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 + "start_line": 26 }, { - "blob_sha": "e7c1bd9c2bb93f52c47512bb4511bf5ec77afab8", + "blob_sha": "3cd5a37bfd7ae89dd2865268c2ed7915a580b4e4", "commits": [], - "end_line": 7, + "end_line": 12, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/course/manage/control-center/about-athena-modal/about-athena-modal.component.ts", + "path": "src/main/webapp/app/exam/manage/exams/detail/exam-detail.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 - } - ], - "src": "M:src/main/webapp/app/course" - }, - { - "count": 6, - "dst": "M:src/main/webapp/app/hyperion", - "how": "import-path", - "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/hyperion", - "kind": "uses", - "refs": [ + "start_line": 12 + }, { - "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "blob_sha": "bde4f4a32763836d51b7aabf1bef28e5e21e9617", "commits": [], - "end_line": 136, - "id": "E1", + "end_line": 17, + "id": "E4", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "path": "src/main/webapp/app/exam/manage/exams/exam-checklist-component/exam-checklist.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 136 + "start_line": 17 }, { - "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "blob_sha": "bde4f4a32763836d51b7aabf1bef28e5e21e9617", "commits": [], - "end_line": 11, - "id": "E2", + "end_line": 29, + "id": "E5", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "path": "src/main/webapp/app/exam/manage/exams/exam-checklist-component/exam-checklist.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 + "start_line": 29 }, { - "blob_sha": "4ce13e83d6d9a00f19129c95a56fd4589ca94fcc", + "blob_sha": "11e3036d502267912506c5e45ab72de038bcef0d", "commits": [], - "end_line": 19, - "id": "E3", + "end_line": 1, + "id": "E6", "kind": "lines", - "path": "src/main/webapp/app/course/manage/exercises/create-modal/exercise-add-modal.component.ts", + "path": "src/main/webapp/app/exam/manage/exams/exam-checklist-component/exam-checklist.service.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 19 - } - ], - "src": "M:src/main/webapp/app/course" - }, - { - "count": 16, - "dst": "M:src/main/webapp/app/iris", - "how": "import-path", - "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/iris", - "kind": "uses", - "refs": [ + "start_line": 1 + }, { - "blob_sha": "3c9a5e7007ff5c50eaa1b547fd0b6f54956f548d", + "blob_sha": "d8f1318d3081bec759799e1295601a108a46a978", "commits": [], "end_line": 2, - "id": "E1", + "id": "E7", "kind": "lines", - "path": "src/main/webapp/app/course/manage/control-center/control-center.component.ts", + "path": "src/main/webapp/app/exam/manage/exams/exam-exercise-import/exam-exercise-import.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 2 }, { - "blob_sha": "3c9a5e7007ff5c50eaa1b547fd0b6f54956f548d", + "blob_sha": "17cc0714945618615193dc354d2f9c3987983b55", "commits": [], - "end_line": 6, - "id": "E2", + "end_line": 28, + "id": "E8", "kind": "lines", - "path": "src/main/webapp/app/course/manage/control-center/control-center.component.ts", + "path": "src/main/webapp/app/exam/manage/exercise-groups/exercise-groups.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 6 + "start_line": 28 }, { - "blob_sha": "3c9a5e7007ff5c50eaa1b547fd0b6f54956f548d", + "blob_sha": "38ca8a86eeb25427f13bf98a17ec39c54f6bc0d0", "commits": [], - "end_line": 4, - "id": "E3", + "end_line": 9, + "id": "E9", "kind": "lines", - "path": "src/main/webapp/app/course/manage/control-center/control-center.component.ts", + "path": "src/main/webapp/app/exam/manage/exercise-groups/programming-exercise-cell/programming-exercise-group-cell.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 4 + "start_line": 9 + }, + { + "blob_sha": "aef3cb8fa1a0ff31a44b4c22b19404c0818f587b", + "commits": [], + "end_line": 19, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/exam/manage/services/exam-management.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 } ], - "src": "M:src/main/webapp/app/course" + "src": "M:src/main/webapp/app/exam" }, { - "count": 12, - "dst": "M:src/main/webapp/app/lecture", + "count": 61, + "dst": "M:src/main/webapp/app/course", "how": "import-path", - "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/lecture", + "id": "M:src/main/webapp/app/exam->M:src/main/webapp/app/course", "kind": "uses", "refs": [ { - "blob_sha": "07c105256f4f15f2f50eb7513cb2bd8eff40776a", + "blob_sha": "8fa1281b691835adcacc1f152eeae4bc2df70ab7", "commits": [], - "end_line": 21, + "end_line": 5, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-lti-configuration/course-lti-configuration.component.ts", + "path": "src/main/webapp/app/exam/manage/exam-management/exam-management-navigation-sidebar/exam-management-navigation-sidebar.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 21 + "start_line": 5 }, { - "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "blob_sha": "8fa1281b691835adcacc1f152eeae4bc2df70ab7", "commits": [], - "end_line": 154, + "end_line": 4, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "path": "src/main/webapp/app/exam/manage/exam-management/exam-management-navigation-sidebar/exam-management-navigation-sidebar.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 154 + "start_line": 4 }, { - "blob_sha": "a6fe006a7e5082579b59e6fabb9d9b411afbf330", + "blob_sha": "8fa1281b691835adcacc1f152eeae4bc2df70ab7", "commits": [], - "end_line": 252, + "end_line": 15, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/course/overview/courses.route.ts", + "path": "src/main/webapp/app/exam/manage/exam-management/exam-management-navigation-sidebar/exam-management-navigation-sidebar.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 252 - } - ], - "src": "M:src/main/webapp/app/course" - }, - { - "count": 3, - "dst": "M:src/main/webapp/app/localci", - "how": "import-path", - "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/localci", - "kind": "uses", - "refs": [ + "start_line": 15 + }, { - "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "blob_sha": "fe3b0f35e67dda4362c770e21d1524bfc5b0e7ff", "commits": [], - "end_line": 529, - "id": "E1", + "end_line": 17, + "id": "E4", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "path": "src/main/webapp/app/exam/manage/exam-management/exam-management-overview.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 529 + "start_line": 17 }, { - "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "blob_sha": "fe3b0f35e67dda4362c770e21d1524bfc5b0e7ff", "commits": [], - "end_line": 520, - "id": "E2", + "end_line": 18, + "id": "E5", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "path": "src/main/webapp/app/exam/manage/exam-management/exam-management-overview.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 520 + "start_line": 18 }, { - "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "blob_sha": "1bec4800c7fa415ec01462bdfdd0aaaf67fd601c", "commits": [], - "end_line": 9, - "id": "E3", + "end_line": 13, + "id": "E6", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "path": "src/main/webapp/app/exam/manage/exam-management/exam-management.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 - } - ], - "src": "M:src/main/webapp/app/course" - }, - { - "count": 2, - "dst": "M:src/main/webapp/app/logos", - "how": "import-path", - "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/logos", - "kind": "uses", - "refs": [ + "start_line": 13 + }, { - "blob_sha": "dc9304cdbe53e013ea1636f4bfc286ee8582db8a", + "blob_sha": "1bec4800c7fa415ec01462bdfdd0aaaf67fd601c", "commits": [], - "end_line": 23, - "id": "E1", + "end_line": 18, + "id": "E7", "kind": "lines", - "path": "src/main/webapp/app/course/overview/course-overview/course-overview.component.ts", + "path": "src/main/webapp/app/exam/manage/exam-management/exam-management.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 23 + "start_line": 18 }, { - "blob_sha": "02aa518725711032db14f82f87c20b6c7333e092", + "blob_sha": "1bec4800c7fa415ec01462bdfdd0aaaf67fd601c", "commits": [], - "end_line": 24, - "id": "E2", + "end_line": 12, + "id": "E8", "kind": "lines", - "path": "src/main/webapp/app/course/overview/exercise-details/request-feedback-button/request-feedback-button.component.ts", + "path": "src/main/webapp/app/exam/manage/exam-management/exam-management.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 24 + "start_line": 12 + }, + { + "blob_sha": "1bec4800c7fa415ec01462bdfdd0aaaf67fd601c", + "commits": [], + "end_line": 19, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/exam/manage/exam-management/exam-management.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "1bec4800c7fa415ec01462bdfdd0aaaf67fd601c", + "commits": [], + "end_line": 16, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/exam/manage/exam-management/exam-management.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 } ], - "src": "M:src/main/webapp/app/course" + "src": "M:src/main/webapp/app/exam" }, { - "count": 6, - "dst": "M:src/main/webapp/app/lti", + "count": 9, + "dst": "M:src/main/webapp/app/editor", "how": "import-path", - "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/lti", + "id": "M:src/main/webapp/app/exam->M:src/main/webapp/app/editor", "kind": "uses", "refs": [ { - "blob_sha": "07c105256f4f15f2f50eb7513cb2bd8eff40776a", + "blob_sha": "3b2458f1079267a6da81ba7142b46de5ada052f5", "commits": [], - "end_line": 4, + "end_line": 21, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-lti-configuration/course-lti-configuration.component.ts", + "path": "src/main/webapp/app/exam/manage/exams/exam-checklist-component/exam-announcement-dialog/exam-live-announcement-create-modal.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 4 + "start_line": 21 }, { - "blob_sha": "85e9d0cbdca4972551ff6206333f22b22fa6a874", + "blob_sha": "3b2458f1079267a6da81ba7142b46de5ada052f5", "commits": [], "end_line": 12, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-lti-configuration/edit-course-lti-configuration.component.ts", + "path": "src/main/webapp/app/exam/manage/exams/exam-checklist-component/exam-announcement-dialog/exam-live-announcement-create-modal.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 12 }, { - "blob_sha": "85e9d0cbdca4972551ff6206333f22b22fa6a874", + "blob_sha": "3b2458f1079267a6da81ba7142b46de5ada052f5", "commits": [], - "end_line": 6, + "end_line": 16, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-lti-configuration/edit-course-lti-configuration.component.ts", + "path": "src/main/webapp/app/exam/manage/exams/exam-checklist-component/exam-announcement-dialog/exam-live-announcement-create-modal.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 6 - } - ], - "src": "M:src/main/webapp/app/course" - }, - { - "count": 6, - "dst": "M:src/main/webapp/app/modeling", - "how": "import-path", - "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/modeling", - "kind": "uses", - "refs": [ + "start_line": 16 + }, { - "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "blob_sha": "3b2458f1079267a6da81ba7142b46de5ada052f5", "commits": [], - "end_line": 392, - "id": "E1", + "end_line": 15, + "id": "E4", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "path": "src/main/webapp/app/exam/manage/exams/exam-checklist-component/exam-announcement-dialog/exam-live-announcement-create-modal.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 392 + "start_line": 15 }, { - "blob_sha": "3c25a672df59192250db6ec702a4256e05c20dfb", + "blob_sha": "3b2458f1079267a6da81ba7142b46de5ada052f5", "commits": [], - "end_line": 48, - "id": "E2", + "end_line": 13, + "id": "E5", "kind": "lines", - "path": "src/main/webapp/app/course/manage/exercises/course-management-exercises.component.ts", + "path": "src/main/webapp/app/exam/manage/exams/exam-checklist-component/exam-announcement-dialog/exam-live-announcement-create-modal.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 48 + "start_line": 13 }, { - "blob_sha": "39c4b99105206408272c47846cb350861b718830", + "blob_sha": "3b2458f1079267a6da81ba7142b46de5ada052f5", "commits": [], - "end_line": 39, - "id": "E3", + "end_line": 17, + "id": "E6", "kind": "lines", - "path": "src/main/webapp/app/course/manage/exercises/exercise-row/exercise-actions.component.ts", + "path": "src/main/webapp/app/exam/manage/exams/exam-checklist-component/exam-announcement-dialog/exam-live-announcement-create-modal.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 39 - } - ], - "src": "M:src/main/webapp/app/course" - }, - { - "count": 13, - "dst": "M:src/main/webapp/app/notification", - "how": "import-path", - "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/notification", - "kind": "uses", - "refs": [ + "start_line": 17 + }, { - "blob_sha": "e7c2354dc3e3e03c27eeb03783cb810af286bcce", + "blob_sha": "3b2458f1079267a6da81ba7142b46de5ada052f5", "commits": [], - "end_line": 32, - "id": "E1", + "end_line": 14, + "id": "E7", "kind": "lines", - "path": "src/main/webapp/app/course/manage/services/course-management.service.ts", + "path": "src/main/webapp/app/exam/manage/exams/exam-checklist-component/exam-announcement-dialog/exam-live-announcement-create-modal.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 32 + "start_line": 14 }, { - "blob_sha": "b0d824fa5ac3aa705732c63db7e0e4b08354a6a4", + "blob_sha": "3b2458f1079267a6da81ba7142b46de5ada052f5", "commits": [], - "end_line": 7, - "id": "E2", + "end_line": 18, + "id": "E8", "kind": "lines", - "path": "src/main/webapp/app/course/overview/course-card-header/course-card-header.component.ts", + "path": "src/main/webapp/app/exam/manage/exams/exam-checklist-component/exam-announcement-dialog/exam-live-announcement-create-modal.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 18 }, { - "blob_sha": "a7dc18d09b487f4f867af3543cac96f7f7bd9eac", + "blob_sha": "21cdeaf2e8b5c4bf73e2afe88756ffd68b5c8f3a", "commits": [], - "end_line": 22, - "id": "E3", + "end_line": 42, + "id": "E9", "kind": "lines", - "path": "src/main/webapp/app/course/overview/course-card/course-card.component.ts", + "path": "src/main/webapp/app/exam/manage/exams/update/exam-update.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 22 + "start_line": 42 } ], - "src": "M:src/main/webapp/app/course" + "src": "M:src/main/webapp/app/exam" }, { - "count": 9, - "dst": "M:src/main/webapp/app/plagiarism", + "count": 124, + "dst": "M:src/main/webapp/app/exercise", "how": "import-path", - "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/plagiarism", + "id": "M:src/main/webapp/app/exam->M:src/main/webapp/app/exercise", "kind": "uses", "refs": [ { - "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 209, + "end_line": 703, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 209 + "start_line": 703 }, { - "blob_sha": "957fdddcb5842fe1694ff3c79627f223955c5f18", + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 49, + "end_line": 715, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-scores/course-scores.component.ts", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 49 + "start_line": 715 }, { - "blob_sha": "957fdddcb5842fe1694ff3c79627f223955c5f18", + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 50, + "end_line": 693, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-scores/course-scores.component.ts", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 50 - } - ], - "src": "M:src/main/webapp/app/course" - }, - { - "count": 2, - "dst": "M:src/main/webapp/app/presentation", - "how": "import-path", - "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/presentation", - "kind": "uses", - "refs": [ + "start_line": 693 + }, { - "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", + "commits": [], + "end_line": 671, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 671 + }, + { + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", + "commits": [], + "end_line": 18, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], "end_line": 17, - "id": "E1", + "id": "E6", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 17 }, { - "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 49, - "id": "E2", + "end_line": 682, + "id": "E7", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 49 - } - ], - "src": "M:src/main/webapp/app/course" - }, - { - "count": 36, - "dst": "M:src/main/webapp/app/programming", - "how": "import-path", - "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/programming", - "kind": "uses", - "refs": [ + "start_line": 682 + }, { - "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "blob_sha": "4afb8b96ac8ed62425243a88963f8bb8b7c39379", "commits": [], - "end_line": 389, - "id": "E1", + "end_line": 7, + "id": "E8", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "path": "src/main/webapp/app/exam/manage/exam-scores/average-scores-graph/exam-scores-average-scores-graph.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 389 + "start_line": 7 }, { - "blob_sha": "3c25a672df59192250db6ec702a4256e05c20dfb", + "blob_sha": "4afb8b96ac8ed62425243a88963f8bb8b7c39379", "commits": [], - "end_line": 39, - "id": "E2", + "end_line": 2, + "id": "E9", "kind": "lines", - "path": "src/main/webapp/app/course/manage/exercises/course-management-exercises.component.ts", + "path": "src/main/webapp/app/exam/manage/exam-scores/average-scores-graph/exam-scores-average-scores-graph.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 39 + "start_line": 2 }, { - "blob_sha": "3c25a672df59192250db6ec702a4256e05c20dfb", + "blob_sha": "a4017e35d0c6c744e203a36660c553bc3c066abe", "commits": [], - "end_line": 38, - "id": "E3", + "end_line": 1, + "id": "E10", "kind": "lines", - "path": "src/main/webapp/app/course/manage/exercises/course-management-exercises.component.ts", + "path": "src/main/webapp/app/exam/manage/exam-scores/exam-score-dtos.model.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 38 + "start_line": 1 } ], - "src": "M:src/main/webapp/app/course" + "src": "M:src/main/webapp/app/exam" }, { - "count": 28, - "dst": "M:src/main/webapp/app/quiz", + "count": 13, + "dst": "M:src/main/webapp/app/fileupload", "how": "import-path", - "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/quiz", + "id": "M:src/main/webapp/app/exam->M:src/main/webapp/app/fileupload", "kind": "uses", "refs": [ { - "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 390, + "end_line": 151, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 390 + "start_line": 151 }, { - "blob_sha": "3c25a672df59192250db6ec702a4256e05c20dfb", + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 44, + "end_line": 160, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/course/manage/exercises/course-management-exercises.component.ts", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 44 + "start_line": 160 }, { - "blob_sha": "3c25a672df59192250db6ec702a4256e05c20dfb", + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 43, + "end_line": 494, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/course/manage/exercises/course-management-exercises.component.ts", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 43 - } - ], - "src": "M:src/main/webapp/app/course" - }, - { - "count": 99, - "dst": "M:src/main/webapp/app/shared-ui", - "how": "import-path", - "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/shared-ui", - "kind": "uses", - "refs": [ + "start_line": 494 + }, { - "blob_sha": "e7c1bd9c2bb93f52c47512bb4511bf5ec77afab8", + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], "end_line": 9, - "id": "E1", + "id": "E4", "kind": "lines", - "path": "src/main/webapp/app/course/manage/control-center/about-athena-modal/about-athena-modal.component.ts", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 9 }, { - "blob_sha": "975c270b2f74d4d414339c4d2aa3c1043d95d25f", + "blob_sha": "3507367cd5ee1363f3daca536083880c4004a4a1", "commits": [], - "end_line": 5, - "id": "E2", + "end_line": 3, + "id": "E5", "kind": "lines", - "path": "src/main/webapp/app/course/manage/control-center/athena-enabled/athena-enabled.component.ts", + "path": "src/main/webapp/app/exam/manage/exercise-groups/file-upload-exercise-cell/file-upload-exercise-group-cell.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 5 + "start_line": 3 }, { - "blob_sha": "3c9a5e7007ff5c50eaa1b547fd0b6f54956f548d", + "blob_sha": "e77579a6291263d569f889dce352d2f887524f23", "commits": [], - "end_line": 8, - "id": "E3", + "end_line": 7, + "id": "E6", "kind": "lines", - "path": "src/main/webapp/app/course/manage/control-center/control-center.component.ts", + "path": "src/main/webapp/app/exam/manage/student-exams/student-exam-timeline/exam-navigation-bar/exam-navigation-bar.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 8 - } - ], - "src": "M:src/main/webapp/app/course" - }, - { - "count": 5, - "dst": "M:src/main/webapp/app/text", - "how": "import-path", - "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/text", - "kind": "uses", - "refs": [ + "start_line": 7 + }, { - "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "blob_sha": "be2eeee76cf5a9a9fe1ad696e53c9a49c6f05a08", "commits": [], - "end_line": 388, - "id": "E1", + "end_line": 17, + "id": "E7", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "path": "src/main/webapp/app/exam/manage/student-exams/student-exam-timeline/student-exam-timeline.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 388 + "start_line": 17 }, { - "blob_sha": "3c25a672df59192250db6ec702a4256e05c20dfb", + "blob_sha": "d99adad1881bcb5905472c907955946a8e7e1e49", "commits": [], - "end_line": 46, - "id": "E2", + "end_line": 7, + "id": "E8", "kind": "lines", - "path": "src/main/webapp/app/course/manage/exercises/course-management-exercises.component.ts", + "path": "src/main/webapp/app/exam/overview/exam-navigation-sidebar/exam-navigation-sidebar.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 46 + "start_line": 7 }, { - "blob_sha": "39c4b99105206408272c47846cb350861b718830", + "blob_sha": "8b9194e92509a5c9a79a7f55490f483dacdf9928", "commits": [], - "end_line": 35, - "id": "E3", + "end_line": 7, + "id": "E9", "kind": "lines", - "path": "src/main/webapp/app/course/manage/exercises/exercise-row/exercise-actions.component.ts", + "path": "src/main/webapp/app/exam/overview/exercises/file-upload/file-upload-exam-submission.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 35 + "start_line": 7 + }, + { + "blob_sha": "8b9194e92509a5c9a79a7f55490f483dacdf9928", + "commits": [], + "end_line": 9, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/exam/overview/exercises/file-upload/file-upload-exam-submission.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 } ], - "src": "M:src/main/webapp/app/course" + "src": "M:src/main/webapp/app/exam" }, { - "count": 11, - "dst": "M:src/main/webapp/app/tutorialgroup", + "count": 296, + "dst": "M:src/main/webapp/app/foundation", "how": "import-path", - "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/tutorialgroup", + "id": "M:src/main/webapp/app/exam->M:src/main/webapp/app/foundation", "kind": "uses", "refs": [ { - "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 5, + "end_line": 16, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 5 + "start_line": 16 }, { - "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 226, + "end_line": 15, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 226 + "start_line": 15 }, { - "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "blob_sha": "8fa1281b691835adcacc1f152eeae4bc2df70ab7", "commits": [], - "end_line": 236, + "end_line": 16, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "path": "src/main/webapp/app/exam/manage/exam-management/exam-management-navigation-sidebar/exam-management-navigation-sidebar.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 236 - } - ], - "src": "M:src/main/webapp/app/course" - }, - { - "count": 2, - "dst": "M:src/main/webapp/app/videosource", - "how": "import-path", - "id": "M:src/main/webapp/app/course->M:src/main/webapp/app/videosource", - "kind": "uses", - "refs": [ + "start_line": 16 + }, { - "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "blob_sha": "8fa1281b691835adcacc1f152eeae4bc2df70ab7", "commits": [], - "end_line": 259, - "id": "E1", + "end_line": 14, + "id": "E4", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "path": "src/main/webapp/app/exam/manage/exam-management/exam-management-navigation-sidebar/exam-management-navigation-sidebar.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 259 + "start_line": 14 }, { - "blob_sha": "d8e4c3ba438acfbbf69f7a408ecfada9074fc1e0", + "blob_sha": "fe3b0f35e67dda4362c770e21d1524bfc5b0e7ff", "commits": [], - "end_line": 16, - "id": "E2", + "end_line": 9, + "id": "E5", "kind": "lines", - "path": "src/main/webapp/app/course/manage/course-management.route.ts", + "path": "src/main/webapp/app/exam/manage/exam-management/exam-management-overview.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 16 - } - ], - "src": "M:src/main/webapp/app/course" - }, - { - "count": 2, - "dst": "M:src/main/webapp/app/core", - "how": "import-path", - "id": "M:src/main/webapp/app/editor->M:src/main/webapp/app/core", - "kind": "uses", - "refs": [ + "start_line": 9 + }, { - "blob_sha": "c4587ade894585846640b1f5565571dc886df5a4", + "blob_sha": "fe3b0f35e67dda4362c770e21d1524bfc5b0e7ff", "commits": [], - "end_line": 3, - "id": "E1", + "end_line": 21, + "id": "E6", "kind": "lines", - "path": "src/main/webapp/app/editor/monaco-editor/monaco-editor.component.ts", + "path": "src/main/webapp/app/exam/manage/exam-management/exam-management-overview.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 + "start_line": 21 }, { - "blob_sha": "737fbe4142790698c629f267c1996dc3f5b4ea65", + "blob_sha": "fe3b0f35e67dda4362c770e21d1524bfc5b0e7ff", "commits": [], - "end_line": 2, - "id": "E2", + "end_line": 6, + "id": "E7", "kind": "lines", - "path": "src/main/webapp/app/editor/monaco-editor/service/monaco-editor.service.ts", + "path": "src/main/webapp/app/exam/manage/exam-management/exam-management-overview.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 2 - } - ], - "src": "M:src/main/webapp/app/editor" - }, - { - "count": 3, - "dst": "M:src/main/webapp/app/exercise", - "how": "import-path", - "id": "M:src/main/webapp/app/editor->M:src/main/webapp/app/exercise", - "kind": "uses", - "refs": [ + "start_line": 6 + }, { - "blob_sha": "67c485319463b9e0d0629cea7ec145eb01c0eab2", + "blob_sha": "1bec4800c7fa415ec01462bdfdd0aaaf67fd601c", "commits": [], - "end_line": 65, - "id": "E1", + "end_line": 11, + "id": "E8", "kind": "lines", - "path": "src/main/webapp/app/editor/markdown-editor/monaco/markdown-editor-monaco.component.ts", + "path": "src/main/webapp/app/exam/manage/exam-management/exam-management.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 65 + "start_line": 11 }, { - "blob_sha": "67c485319463b9e0d0629cea7ec145eb01c0eab2", + "blob_sha": "1bec4800c7fa415ec01462bdfdd0aaaf67fd601c", "commits": [], - "end_line": 64, - "id": "E2", + "end_line": 14, + "id": "E9", "kind": "lines", - "path": "src/main/webapp/app/editor/markdown-editor/monaco/markdown-editor-monaco.component.ts", + "path": "src/main/webapp/app/exam/manage/exam-management/exam-management.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 64 + "start_line": 14 }, { - "blob_sha": "67c485319463b9e0d0629cea7ec145eb01c0eab2", + "blob_sha": "1bec4800c7fa415ec01462bdfdd0aaaf67fd601c", "commits": [], - "end_line": 63, - "id": "E3", + "end_line": 10, + "id": "E10", "kind": "lines", - "path": "src/main/webapp/app/editor/markdown-editor/monaco/markdown-editor-monaco.component.ts", + "path": "src/main/webapp/app/exam/manage/exam-management/exam-management.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 63 + "start_line": 10 } ], - "src": "M:src/main/webapp/app/editor" + "src": "M:src/main/webapp/app/exam" + }, + { + "count": 1, + "dst": "M:src/main/webapp/app/logos", + "how": "import-path", + "id": "M:src/main/webapp/app/exam->M:src/main/webapp/app/logos", + "kind": "uses", + "refs": [ + { + "blob_sha": "8d651f33becbe0f0dcce82601c0c2ad4a47411dd", + "commits": [], + "end_line": 23, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/exam/overview/summary/exam-request-ai-feedback-button/exam-request-ai-feedback-button.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + } + ], + "src": "M:src/main/webapp/app/exam" }, { "count": 16, - "dst": "M:src/main/webapp/app/foundation", + "dst": "M:src/main/webapp/app/modeling", "how": "import-path", - "id": "M:src/main/webapp/app/editor->M:src/main/webapp/app/foundation", + "id": "M:src/main/webapp/app/exam->M:src/main/webapp/app/modeling", "kind": "uses", "refs": [ { - "blob_sha": "67c485319463b9e0d0629cea7ec145eb01c0eab2", + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 54, + "end_line": 104, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/editor/markdown-editor/monaco/markdown-editor-monaco.component.ts", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 54 + "start_line": 104 }, { - "blob_sha": "67c485319463b9e0d0629cea7ec145eb01c0eab2", + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 62, + "end_line": 113, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/editor/markdown-editor/monaco/markdown-editor-monaco.component.ts", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 62 + "start_line": 113 }, { - "blob_sha": "67c485319463b9e0d0629cea7ec145eb01c0eab2", + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 55, + "end_line": 503, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/editor/markdown-editor/monaco/markdown-editor-monaco.component.ts", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 55 - } - ], - "src": "M:src/main/webapp/app/editor" - }, - { - "count": 5, - "dst": "M:src/main/webapp/app/hyperion", - "how": "import-path", - "id": "M:src/main/webapp/app/editor->M:src/main/webapp/app/hyperion", - "kind": "uses", - "refs": [ + "start_line": 503 + }, { - "blob_sha": "67c485319463b9e0d0629cea7ec145eb01c0eab2", + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 60, - "id": "E1", + "end_line": 93, + "id": "E4", "kind": "lines", - "path": "src/main/webapp/app/editor/markdown-editor/monaco/markdown-editor-monaco.component.ts", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 60 + "start_line": 93 }, { - "blob_sha": "67c485319463b9e0d0629cea7ec145eb01c0eab2", + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 66, - "id": "E2", + "end_line": 11, + "id": "E5", "kind": "lines", - "path": "src/main/webapp/app/editor/markdown-editor/monaco/markdown-editor-monaco.component.ts", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 66 + "start_line": 11 }, { - "blob_sha": "4e24bd4b1605efc1ae5fd2b34de4263641ee5d71", + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 11, - "id": "E3", + "end_line": 20, + "id": "E6", "kind": "lines", - "path": "src/main/webapp/app/editor/monaco-editor/model/actions/text-editor-action.model.ts", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 - } - ], - "src": "M:src/main/webapp/app/editor" - }, - { - "count": 5, - "dst": "M:src/main/webapp/app/programming", - "how": "import-path", - "id": "M:src/main/webapp/app/editor->M:src/main/webapp/app/programming", - "kind": "uses", - "refs": [ + "start_line": 20 + }, + { + "blob_sha": "5b5b69a607559f8a3f061ea9e8a63bf14c949f51", + "commits": [], + "end_line": 3, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/exam/manage/exercise-groups/modeling-exercise-cell/modeling-exercise-group-cell.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, { - "blob_sha": "67c485319463b9e0d0629cea7ec145eb01c0eab2", + "blob_sha": "95ca65a2bfde8a41848d0a8236ff51a68fe90f17", "commits": [], - "end_line": 22, - "id": "E1", + "end_line": 58, + "id": "E8", "kind": "lines", - "path": "src/main/webapp/app/editor/markdown-editor/monaco/markdown-editor-monaco.component.ts", + "path": "src/main/webapp/app/exam/overview/exam-participation/exam-participation.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 22 + "start_line": 58 }, { - "blob_sha": "87511e71e5327c05532f91811476d9a51ba51b42", + "blob_sha": "d46731ff1b73d6703d2ab5bd94c063719725b598", "commits": [], - "end_line": 3, - "id": "E2", + "end_line": 5, + "id": "E9", "kind": "lines", - "path": "src/main/webapp/app/editor/monaco-editor/diff-editor/monaco-diff-editor.component.ts", + "path": "src/main/webapp/app/exam/overview/exercises/modeling/modeling-exam-submission.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 + "start_line": 5 }, { - "blob_sha": "91b512cca97e7e7942700f2d93ac19408439a057", + "blob_sha": "d46731ff1b73d6703d2ab5bd94c063719725b598", "commits": [], - "end_line": 2, - "id": "E3", + "end_line": 4, + "id": "E10", "kind": "lines", - "path": "src/main/webapp/app/editor/monaco-editor/model/languages/monaco-custom-markdown.language.ts", + "path": "src/main/webapp/app/exam/overview/exercises/modeling/modeling-exam-submission.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 2 + "start_line": 4 } ], - "src": "M:src/main/webapp/app/editor" + "src": "M:src/main/webapp/app/exam" }, { - "count": 11, - "dst": "M:src/main/webapp/app/(root)", + "count": 9, + "dst": "M:src/main/webapp/app/plagiarism", "how": "import-path", - "id": "M:src/main/webapp/app/exam->M:src/main/webapp/app/(root)", + "id": "M:src/main/webapp/app/exam->M:src/main/webapp/app/plagiarism", "kind": "uses", "refs": [ { - "blob_sha": "bea17ae49b5bed8130baf58a849155b3dfde8d12", + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 40, + "end_line": 228, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/exam/manage/exam-scores/exam-scores.component.ts", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 40 + "start_line": 228 }, { - "blob_sha": "bde4f4a32763836d51b7aabf1bef28e5e21e9617", + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 30, + "end_line": 523, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/exam/manage/exams/exam-checklist-component/exam-checklist.component.ts", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 30 + "start_line": 523 }, { - "blob_sha": "d8f1318d3081bec759799e1295601a108a46a978", + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 18, + "end_line": 535, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/exam/manage/exams/exam-exercise-import/exam-exercise-import.component.ts", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 18 - } - ], - "src": "M:src/main/webapp/app/exam" - }, - { - "count": 8, - "dst": "M:src/main/webapp/app/account", - "how": "import-path", - "id": "M:src/main/webapp/app/exam->M:src/main/webapp/app/account", - "kind": "uses", - "refs": [ + "start_line": 535 + }, { - "blob_sha": "8d629bc27619494e10b283fd16268256169ff4f4", + "blob_sha": "a4017e35d0c6c744e203a36660c553bc3c066abe", "commits": [], - "end_line": 7, - "id": "E1", + "end_line": 5, + "id": "E4", "kind": "lines", - "path": "src/main/webapp/app/exam/manage/student-exams/student-exam-detail/student-exam-detail.component.ts", + "path": "src/main/webapp/app/exam/manage/exam-scores/exam-score-dtos.model.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 5 }, { - "blob_sha": "586f2e672de8c8d47b9f212c22a410aa10b0efc2", + "blob_sha": "e8eee556505aa8888f6ebd82245877b184013bcc", "commits": [], - "end_line": 6, - "id": "E2", + "end_line": 9, + "id": "E5", "kind": "lines", - "path": "src/main/webapp/app/exam/manage/students/exam-students.component.ts", + "path": "src/main/webapp/app/exam/manage/suspicious-behavior/suspicious-behavior.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 6 + "start_line": 9 }, { - "blob_sha": "34e8f65d595c81b1285913619c2d3b4b28f49888", + "blob_sha": "e8eee556505aa8888f6ebd82245877b184013bcc", "commits": [], - "end_line": 13, - "id": "E3", + "end_line": 11, + "id": "E6", "kind": "lines", - "path": "src/main/webapp/app/exam/manage/test-runs/test-run-management/test-run-management.component.ts", + "path": "src/main/webapp/app/exam/manage/suspicious-behavior/suspicious-behavior.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 13 - } - ], - "src": "M:src/main/webapp/app/exam" - }, - { - "count": 30, - "dst": "M:src/main/webapp/app/assessment", - "how": "import-path", - "id": "M:src/main/webapp/app/exam->M:src/main/webapp/app/assessment", - "kind": "uses", - "refs": [ + "start_line": 11 + }, { - "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", + "blob_sha": "8160d2a57a4521c1cd75f976d6e6056351918ab3", "commits": [], - "end_line": 321, - "id": "E1", + "end_line": 18, + "id": "E7", "kind": "lines", - "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", + "path": "src/main/webapp/app/exam/overview/summary/exam-result-summary.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 321 + "start_line": 18 }, { - "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", + "blob_sha": "8160d2a57a4521c1cd75f976d6e6056351918ab3", "commits": [], - "end_line": 420, - "id": "E2", + "end_line": 19, + "id": "E8", "kind": "lines", - "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", + "path": "src/main/webapp/app/exam/overview/summary/exam-result-summary.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 420 + "start_line": 19 }, { - "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", + "blob_sha": "8160d2a57a4521c1cd75f976d6e6056351918ab3", "commits": [], - "end_line": 430, - "id": "E3", + "end_line": 17, + "id": "E9", "kind": "lines", - "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", + "path": "src/main/webapp/app/exam/overview/summary/exam-result-summary.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 430 + "start_line": 17 } ], "src": "M:src/main/webapp/app/exam" }, { - "count": 1, - "dst": "M:src/main/webapp/app/calendar", + "count": 47, + "dst": "M:src/main/webapp/app/programming", "how": "import-path", - "id": "M:src/main/webapp/app/exam->M:src/main/webapp/app/calendar", + "id": "M:src/main/webapp/app/exam->M:src/main/webapp/app/programming", "kind": "uses", "refs": [ { - "blob_sha": "21cdeaf2e8b5c4bf73e2afe88756ffd68b5c8f3a", + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 43, + "end_line": 126, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/exam/manage/exams/update/exam-update.component.ts", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 43 - } - ], - "src": "M:src/main/webapp/app/exam" - }, - { - "count": 28, - "dst": "M:src/main/webapp/app/core", - "how": "import-path", - "id": "M:src/main/webapp/app/exam->M:src/main/webapp/app/core", - "kind": "uses", - "refs": [ + "start_line": 126 + }, { "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 13, - "id": "E1", + "end_line": 138, + "id": "E2", "kind": "lines", "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 13 + "start_line": 138 }, { - "blob_sha": "bea17ae49b5bed8130baf58a849155b3dfde8d12", + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 26, - "id": "E2", + "end_line": 48, + "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/exam/manage/exam-scores/exam-scores.component.ts", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 26 + "start_line": 48 }, { - "blob_sha": "3cd5a37bfd7ae89dd2865268c2ed7915a580b4e4", + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 12, - "id": "E3", + "end_line": 7, + "id": "E4", "kind": "lines", - "path": "src/main/webapp/app/exam/manage/exams/detail/exam-detail.component.ts", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 12 - } - ], - "src": "M:src/main/webapp/app/exam" - }, - { - "count": 61, - "dst": "M:src/main/webapp/app/course", - "how": "import-path", - "id": "M:src/main/webapp/app/exam->M:src/main/webapp/app/course", - "kind": "uses", - "refs": [ + "start_line": 7 + }, { - "blob_sha": "8fa1281b691835adcacc1f152eeae4bc2df70ab7", + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 5, - "id": "E1", + "end_line": 22, + "id": "E5", "kind": "lines", - "path": "src/main/webapp/app/exam/manage/exam-management/exam-management-navigation-sidebar/exam-management-navigation-sidebar.component.ts", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 5 + "start_line": 22 }, { - "blob_sha": "8fa1281b691835adcacc1f152eeae4bc2df70ab7", + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 4, - "id": "E2", + "end_line": 24, + "id": "E6", "kind": "lines", - "path": "src/main/webapp/app/exam/manage/exam-management/exam-management-navigation-sidebar/exam-management-navigation-sidebar.component.ts", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 4 + "start_line": 24 }, { - "blob_sha": "8fa1281b691835adcacc1f152eeae4bc2df70ab7", + "blob_sha": "38ca8a86eeb25427f13bf98a17ec39c54f6bc0d0", "commits": [], - "end_line": 15, - "id": "E3", + "end_line": 8, + "id": "E7", "kind": "lines", - "path": "src/main/webapp/app/exam/manage/exam-management/exam-management-navigation-sidebar/exam-management-navigation-sidebar.component.ts", + "path": "src/main/webapp/app/exam/manage/exercise-groups/programming-exercise-cell/programming-exercise-group-cell.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 15 - } - ], - "src": "M:src/main/webapp/app/exam" - }, - { - "count": 9, - "dst": "M:src/main/webapp/app/editor", - "how": "import-path", - "id": "M:src/main/webapp/app/exam->M:src/main/webapp/app/editor", - "kind": "uses", - "refs": [ + "start_line": 8 + }, { - "blob_sha": "3b2458f1079267a6da81ba7142b46de5ada052f5", + "blob_sha": "38ca8a86eeb25427f13bf98a17ec39c54f6bc0d0", "commits": [], - "end_line": 21, - "id": "E1", + "end_line": 3, + "id": "E8", "kind": "lines", - "path": "src/main/webapp/app/exam/manage/exams/exam-checklist-component/exam-announcement-dialog/exam-live-announcement-create-modal.component.ts", + "path": "src/main/webapp/app/exam/manage/exercise-groups/programming-exercise-cell/programming-exercise-group-cell.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 21 + "start_line": 3 }, { - "blob_sha": "3b2458f1079267a6da81ba7142b46de5ada052f5", + "blob_sha": "38ca8a86eeb25427f13bf98a17ec39c54f6bc0d0", "commits": [], - "end_line": 12, - "id": "E2", + "end_line": 2, + "id": "E9", "kind": "lines", - "path": "src/main/webapp/app/exam/manage/exams/exam-checklist-component/exam-announcement-dialog/exam-live-announcement-create-modal.component.ts", + "path": "src/main/webapp/app/exam/manage/exercise-groups/programming-exercise-cell/programming-exercise-group-cell.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 12 + "start_line": 2 }, { - "blob_sha": "3b2458f1079267a6da81ba7142b46de5ada052f5", + "blob_sha": "38ca8a86eeb25427f13bf98a17ec39c54f6bc0d0", "commits": [], - "end_line": 16, - "id": "E3", + "end_line": 4, + "id": "E10", "kind": "lines", - "path": "src/main/webapp/app/exam/manage/exams/exam-checklist-component/exam-announcement-dialog/exam-live-announcement-create-modal.component.ts", + "path": "src/main/webapp/app/exam/manage/exercise-groups/programming-exercise-cell/programming-exercise-group-cell.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 16 + "start_line": 4 } ], "src": "M:src/main/webapp/app/exam" }, { - "count": 124, - "dst": "M:src/main/webapp/app/exercise", + "count": 44, + "dst": "M:src/main/webapp/app/quiz", "how": "import-path", - "id": "M:src/main/webapp/app/exam->M:src/main/webapp/app/exercise", + "id": "M:src/main/webapp/app/exam->M:src/main/webapp/app/quiz", "kind": "uses", "refs": [ { "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 703, + "end_line": 514, "id": "E1", "kind": "lines", "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 703 + "start_line": 514 }, { "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 715, + "end_line": 8, "id": "E2", "kind": "lines", "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 715 + "start_line": 8 }, { "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 693, + "end_line": 568, "id": "E3", "kind": "lines", "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 693 - } - ], - "src": "M:src/main/webapp/app/exam" - }, - { - "count": 13, - "dst": "M:src/main/webapp/app/fileupload", - "how": "import-path", - "id": "M:src/main/webapp/app/exam->M:src/main/webapp/app/fileupload", - "kind": "uses", - "refs": [ + "start_line": 568 + }, { "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 151, - "id": "E1", + "end_line": 608, + "id": "E4", "kind": "lines", "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 151 + "start_line": 608 }, { "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 160, - "id": "E2", + "end_line": 596, + "id": "E5", "kind": "lines", "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 160 + "start_line": 596 }, { "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 494, - "id": "E3", + "end_line": 577, + "id": "E6", "kind": "lines", "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 494 - } - ], - "src": "M:src/main/webapp/app/exam" - }, - { - "count": 296, - "dst": "M:src/main/webapp/app/foundation", - "how": "import-path", - "id": "M:src/main/webapp/app/exam->M:src/main/webapp/app/foundation", - "kind": "uses", - "refs": [ + "start_line": 577 + }, { "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 16, - "id": "E1", + "end_line": 586, + "id": "E7", "kind": "lines", "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 16 + "start_line": 586 }, { "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 15, - "id": "E2", + "end_line": 620, + "id": "E8", "kind": "lines", "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 15 + "start_line": 620 }, { - "blob_sha": "8fa1281b691835adcacc1f152eeae4bc2df70ab7", + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 16, - "id": "E3", + "end_line": 548, + "id": "E9", "kind": "lines", - "path": "src/main/webapp/app/exam/manage/exam-management/exam-management-navigation-sidebar/exam-management-navigation-sidebar.component.ts", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 16 - } - ], - "src": "M:src/main/webapp/app/exam" - }, - { - "count": 1, - "dst": "M:src/main/webapp/app/logos", - "how": "import-path", - "id": "M:src/main/webapp/app/exam->M:src/main/webapp/app/logos", - "kind": "uses", - "refs": [ + "start_line": 548 + }, { - "blob_sha": "8d651f33becbe0f0dcce82601c0c2ad4a47411dd", + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 23, - "id": "E1", + "end_line": 558, + "id": "E10", "kind": "lines", - "path": "src/main/webapp/app/exam/overview/summary/exam-request-ai-feedback-button/exam-request-ai-feedback-button.component.ts", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 23 + "start_line": 558 } ], "src": "M:src/main/webapp/app/exam" }, { - "count": 16, - "dst": "M:src/main/webapp/app/modeling", + "count": 67, + "dst": "M:src/main/webapp/app/shared-ui", "how": "import-path", - "id": "M:src/main/webapp/app/exam->M:src/main/webapp/app/modeling", + "id": "M:src/main/webapp/app/exam->M:src/main/webapp/app/shared-ui", "kind": "uses", "refs": [ { - "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", + "blob_sha": "8fa1281b691835adcacc1f152eeae4bc2df70ab7", "commits": [], - "end_line": 104, + "end_line": 6, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", + "path": "src/main/webapp/app/exam/manage/exam-management/exam-management-navigation-sidebar/exam-management-navigation-sidebar.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 104 + "start_line": 6 }, { - "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", + "blob_sha": "1bec4800c7fa415ec01462bdfdd0aaaf67fd601c", "commits": [], - "end_line": 113, + "end_line": 15, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", + "path": "src/main/webapp/app/exam/manage/exam-management/exam-management.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 113 + "start_line": 15 }, { - "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", + "blob_sha": "4afb8b96ac8ed62425243a88963f8bb8b7c39379", "commits": [], - "end_line": 503, + "end_line": 11, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", + "path": "src/main/webapp/app/exam/manage/exam-scores/average-scores-graph/exam-scores-average-scores-graph.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 503 - } - ], - "src": "M:src/main/webapp/app/exam" - }, - { - "count": 9, - "dst": "M:src/main/webapp/app/plagiarism", - "how": "import-path", - "id": "M:src/main/webapp/app/exam->M:src/main/webapp/app/plagiarism", - "kind": "uses", - "refs": [ + "start_line": 11 + }, { - "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", + "blob_sha": "4afb8b96ac8ed62425243a88963f8bb8b7c39379", "commits": [], - "end_line": 228, - "id": "E1", + "end_line": 12, + "id": "E4", "kind": "lines", - "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", + "path": "src/main/webapp/app/exam/manage/exam-scores/average-scores-graph/exam-scores-average-scores-graph.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 228 + "start_line": 12 }, { - "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", + "blob_sha": "bea17ae49b5bed8130baf58a849155b3dfde8d12", "commits": [], - "end_line": 523, - "id": "E2", + "end_line": 32, + "id": "E5", "kind": "lines", - "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", + "path": "src/main/webapp/app/exam/manage/exam-scores/exam-scores.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 523 + "start_line": 32 }, { - "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", + "blob_sha": "bea17ae49b5bed8130baf58a849155b3dfde8d12", "commits": [], - "end_line": 535, - "id": "E3", + "end_line": 68, + "id": "E6", "kind": "lines", - "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", + "path": "src/main/webapp/app/exam/manage/exam-scores/exam-scores.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 535 - } - ], - "src": "M:src/main/webapp/app/exam" - }, - { - "count": 47, - "dst": "M:src/main/webapp/app/programming", - "how": "import-path", - "id": "M:src/main/webapp/app/exam->M:src/main/webapp/app/programming", - "kind": "uses", - "refs": [ + "start_line": 68 + }, { - "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", + "blob_sha": "bea17ae49b5bed8130baf58a849155b3dfde8d12", "commits": [], - "end_line": 126, - "id": "E1", + "end_line": 67, + "id": "E7", "kind": "lines", - "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", + "path": "src/main/webapp/app/exam/manage/exam-scores/exam-scores.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 126 + "start_line": 67 }, { - "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", + "blob_sha": "bea17ae49b5bed8130baf58a849155b3dfde8d12", "commits": [], - "end_line": 138, - "id": "E2", + "end_line": 62, + "id": "E8", "kind": "lines", - "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", + "path": "src/main/webapp/app/exam/manage/exam-scores/exam-scores.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 138 + "start_line": 62 }, { - "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", + "blob_sha": "bea17ae49b5bed8130baf58a849155b3dfde8d12", "commits": [], - "end_line": 48, - "id": "E3", + "end_line": 37, + "id": "E9", "kind": "lines", - "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", + "path": "src/main/webapp/app/exam/manage/exam-scores/exam-scores.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 48 + "start_line": 37 + }, + { + "blob_sha": "bea17ae49b5bed8130baf58a849155b3dfde8d12", + "commits": [], + "end_line": 35, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/exam/manage/exam-scores/exam-scores.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 35 } ], "src": "M:src/main/webapp/app/exam" }, { - "count": 44, - "dst": "M:src/main/webapp/app/quiz", + "count": 15, + "dst": "M:src/main/webapp/app/text", "how": "import-path", - "id": "M:src/main/webapp/app/exam->M:src/main/webapp/app/quiz", + "id": "M:src/main/webapp/app/exam->M:src/main/webapp/app/text", "kind": "uses", "refs": [ { "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 514, + "end_line": 81, "id": "E1", "kind": "lines", "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 514 + "start_line": 81 }, { "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 8, + "end_line": 485, "id": "E2", "kind": "lines", "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 8 + "start_line": 485 }, { "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 568, + "end_line": 87, "id": "E3", "kind": "lines", "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 568 - } - ], - "src": "M:src/main/webapp/app/exam" - }, - { - "count": 67, - "dst": "M:src/main/webapp/app/shared-ui", - "how": "import-path", - "id": "M:src/main/webapp/app/exam->M:src/main/webapp/app/shared-ui", - "kind": "uses", - "refs": [ + "start_line": 87 + }, { - "blob_sha": "8fa1281b691835adcacc1f152eeae4bc2df70ab7", + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 6, - "id": "E1", + "end_line": 23, + "id": "E4", "kind": "lines", - "path": "src/main/webapp/app/exam/manage/exam-management/exam-management-navigation-sidebar/exam-management-navigation-sidebar.component.ts", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 6 + "start_line": 23 }, { - "blob_sha": "1bec4800c7fa415ec01462bdfdd0aaaf67fd601c", + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 15, - "id": "E2", + "end_line": 10, + "id": "E5", "kind": "lines", - "path": "src/main/webapp/app/exam/manage/exam-management/exam-management.component.ts", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 15 + "start_line": 10 }, { - "blob_sha": "4afb8b96ac8ed62425243a88963f8bb8b7c39379", + "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", "commits": [], - "end_line": 11, - "id": "E3", + "end_line": 278, + "id": "E6", "kind": "lines", - "path": "src/main/webapp/app/exam/manage/exam-scores/average-scores-graph/exam-scores-average-scores-graph.component.ts", + "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", "repo": "ls1intum/Artemis", - "role": "import", - "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 - } - ], - "src": "M:src/main/webapp/app/exam" - }, - { - "count": 15, - "dst": "M:src/main/webapp/app/text", - "how": "import-path", - "id": "M:src/main/webapp/app/exam->M:src/main/webapp/app/text", - "kind": "uses", - "refs": [ + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 278 + }, { - "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", + "blob_sha": "95ca65a2bfde8a41848d0a8236ff51a68fe90f17", "commits": [], - "end_line": 81, - "id": "E1", + "end_line": 60, + "id": "E7", "kind": "lines", - "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", + "path": "src/main/webapp/app/exam/overview/exam-participation/exam-participation.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 81 + "start_line": 60 }, { - "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", + "blob_sha": "95ca65a2bfde8a41848d0a8236ff51a68fe90f17", "commits": [], - "end_line": 485, - "id": "E2", + "end_line": 61, + "id": "E8", "kind": "lines", - "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", + "path": "src/main/webapp/app/exam/overview/exam-participation/exam-participation.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 485 + "start_line": 61 }, { - "blob_sha": "9a23b75b6d8e8f88b361c1168f98109004cdde08", + "blob_sha": "98e50dd92a5271155bc662515aa6fde4c462c274", "commits": [], - "end_line": 87, - "id": "E3", + "end_line": 4, + "id": "E9", "kind": "lines", - "path": "src/main/webapp/app/exam/manage/exam-management.route.ts", + "path": "src/main/webapp/app/exam/overview/exercises/text/text-exam-submission.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 87 + "start_line": 4 + }, + { + "blob_sha": "98e50dd92a5271155bc662515aa6fde4c462c274", + "commits": [], + "end_line": 2, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/exam/overview/exercises/text/text-exam-submission.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 } ], "src": "M:src/main/webapp/app/exam" @@ -24117,6 +49221,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 14 + }, + { + "blob_sha": "660af312f47bf1237f0ad43b1e7593192f1c686f", + "commits": [], + "end_line": 41, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/exercise/participation-submission/participation-submission.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 41 + }, + { + "blob_sha": "bc4dc1b49a05c5b33c592423d343cc201579dd28", + "commits": [], + "end_line": 5, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/exercise/participation/participation.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "405ad40464a8834fe945601f06b5907c1a76f433", + "commits": [], + "end_line": 13, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/exercise/participation/student-exercise-actions.directive.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "6582ee465d68cc325cd38476268dee7b4fad6a79", + "commits": [], + "end_line": 3, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/exercise/result/result.utils.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "0481f16ccc871e127eadc5ec553ce56d110b4d80", + "commits": [], + "end_line": 2, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/exercise/result/updating-result/updating-result.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "562d91fb2e9ac49adeb5590092484bade7ad224c", + "commits": [], + "end_line": 2, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/exercise/shared/entities/participation/student-participation.dto.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "b6fa2cd4b2f15012730a6335c5c5731a28f4294d", + "commits": [], + "end_line": 26, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/exercise/structured-grading-criterion/grading-instructions-details/grading-instructions-details.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 } ], "src": "M:src/main/webapp/app/exercise" @@ -24163,6 +49351,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 1 + }, + { + "blob_sha": "58bfb57ab98ca0b6cf53714a96698d27c57d2ff3", + "commits": [], + "end_line": 1, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/exercise/shared/entities/participation/student-participation.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 1 + }, + { + "blob_sha": "75b476d5c1edc66a768ed4e6665ae5a4b8a65afc", + "commits": [], + "end_line": 1, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/exercise/shared/entities/participation/tutor-participation.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 1 + }, + { + "blob_sha": "cce115f127aae47ae0d80c4ce7b679f9620826e4", + "commits": [], + "end_line": 1, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/exercise/shared/entities/result/result.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 1 + }, + { + "blob_sha": "35ce887c47c9d830af677af11e3812176431a127", + "commits": [], + "end_line": 1, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/exercise/shared/entities/submission/submission-sync-payload.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 1 + }, + { + "blob_sha": "ef13967bf83a411a5438e95652e712d0e522dc63", + "commits": [], + "end_line": 1, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/exercise/shared/entities/team/team.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 1 + }, + { + "blob_sha": "2bf2239cff4ee42159c5355eb43368d5dcfe3258", + "commits": [], + "end_line": 10, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/exercise/synchronization/metadata/exercise-metadata-conflict-modal.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "c155a0d5080cddad71d021be32ffc0b1e42216b4", + "commits": [], + "end_line": 5, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/exercise/synchronization/services/exercise-editor-sync.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 } ], "src": "M:src/main/webapp/app/exercise" @@ -24243,6 +49515,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 5 + }, + { + "blob_sha": "16fee5c595a045ef6479120a98c2a19156174168", + "commits": [], + "end_line": 3, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/exercise/example-submission/example-submission-assess-command.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "16fee5c595a045ef6479120a98c2a19156174168", + "commits": [], + "end_line": 7, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/exercise/example-submission/example-submission-assess-command.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "05377ed472f7bba98b9e71b4172681f6bac8a2d1", + "commits": [], + "end_line": 14, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/exercise/example-submission/example-submission-import/example-submission-import.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "f35dc01924064d2a928f6f1661415debcef3c5ff", + "commits": [], + "end_line": 12, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/exercise/example-submission/example-submissions.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "702935591cd577927d736cf7334a041d0761831e", + "commits": [], + "end_line": 14, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/exercise/exercise-detail-common-actions/non-programming-exercise-detail-common-actions.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "1e7db44486b549af73752148881d21437cb28ef4", + "commits": [], + "end_line": 24, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/exercise/exercise-headers/exercise-header-actions/exercise-header-actions.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "f7cebb8d9c0bc6e1b3b13b8454b91a140b54ba7d", + "commits": [], + "end_line": 14, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/exercise/exercise-headers/exercise-headers-information/exercise-headers-information.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 } ], "src": "M:src/main/webapp/app/exercise" @@ -24289,6 +49645,18 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 3 + }, + { + "blob_sha": "a9ccf4c447d2aa5710ebaa67fedfc56c137f012f", + "commits": [], + "end_line": 1, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/exercise/synchronization/metadata/exercise-metadata-snapshot-shared.mapper.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 1 } ], "src": "M:src/main/webapp/app/exercise" @@ -24381,6 +49749,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 19 + }, + { + "blob_sha": "702935591cd577927d736cf7334a041d0761831e", + "commits": [], + "end_line": 17, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/exercise/exercise-detail-common-actions/non-programming-exercise-detail-common-actions.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "1e7db44486b549af73752148881d21437cb28ef4", + "commits": [], + "end_line": 37, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/exercise/exercise-headers/exercise-header-actions/exercise-header-actions.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 37 + }, + { + "blob_sha": "d2d2e23101350411836128529a80afecc500ac7e", + "commits": [], + "end_line": 8, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/exercise/external-submission/external-submission.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "660af312f47bf1237f0ad43b1e7593192f1c686f", + "commits": [], + "end_line": 43, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/exercise/participation-submission/participation-submission.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 43 + }, + { + "blob_sha": "660af312f47bf1237f0ad43b1e7593192f1c686f", + "commits": [], + "end_line": 40, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/exercise/participation-submission/participation-submission.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 40 + }, + { + "blob_sha": "bc4dc1b49a05c5b33c592423d343cc201579dd28", + "commits": [], + "end_line": 16, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/exercise/participation/participation.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "bc4dc1b49a05c5b33c592423d343cc201579dd28", + "commits": [], + "end_line": 60, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/exercise/participation/participation.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 60 } ], "src": "M:src/main/webapp/app/exercise" @@ -24427,6 +49879,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 17 + }, + { + "blob_sha": "232cc4c0d59f3628b150eda527a53e53649819c4", + "commits": [], + "end_line": 1, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/exercise/course-exercises/course-exercise.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 1 + }, + { + "blob_sha": "52f5aa460cf5ab7f224815dd0d851e184b24d3e5", + "commits": [], + "end_line": 4, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/exercise/course-exercises/course-utils.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "9870e74bf10c83b5f3a8c79fc731ad1a0eb0ca5f", + "commits": [], + "end_line": 5, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/exercise/dashboards/tutor-leaderboard/tutor-leaderboard.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "2bf1fcc2f04474aa0d0ea1674cedae0a12bd2ff7", + "commits": [], + "end_line": 15, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/exercise/exam-exercise-row-buttons/exam-exercise-row-buttons.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "fd607b386da52bff90bb59fd6b6232d12eac3341", + "commits": [], + "end_line": 3, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/exercise/exercise-create-buttons/exercise-manage-button/exercise-manage-button.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "702935591cd577927d736cf7334a041d0761831e", + "commits": [], + "end_line": 12, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/exercise/exercise-detail-common-actions/non-programming-exercise-detail-common-actions.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "ea37f64f3feb64f7b8cc38716af026b3b8591ed7", + "commits": [], + "end_line": 24, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/exercise/exercise-filter/exercise-filter-modal.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 } ], "src": "M:src/main/webapp/app/exercise" @@ -24473,6 +50009,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 2 + }, + { + "blob_sha": "b6fa2cd4b2f15012730a6335c5c5731a28f4294d", + "commits": [], + "end_line": 17, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/exercise/structured-grading-criterion/grading-instructions-details/grading-instructions-details.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "b6fa2cd4b2f15012730a6335c5c5731a28f4294d", + "commits": [], + "end_line": 12, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/exercise/structured-grading-criterion/grading-instructions-details/grading-instructions-details.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "b6fa2cd4b2f15012730a6335c5c5731a28f4294d", + "commits": [], + "end_line": 18, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/exercise/structured-grading-criterion/grading-instructions-details/grading-instructions-details.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "b6fa2cd4b2f15012730a6335c5c5731a28f4294d", + "commits": [], + "end_line": 14, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/exercise/structured-grading-criterion/grading-instructions-details/grading-instructions-details.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "b6fa2cd4b2f15012730a6335c5c5731a28f4294d", + "commits": [], + "end_line": 15, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/exercise/structured-grading-criterion/grading-instructions-details/grading-instructions-details.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "b6fa2cd4b2f15012730a6335c5c5731a28f4294d", + "commits": [], + "end_line": 19, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/exercise/structured-grading-criterion/grading-instructions-details/grading-instructions-details.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "b6fa2cd4b2f15012730a6335c5c5731a28f4294d", + "commits": [], + "end_line": 13, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/exercise/structured-grading-criterion/grading-instructions-details/grading-instructions-details.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 } ], "src": "M:src/main/webapp/app/exercise" @@ -24509,12 +50129,84 @@ "start_line": 16 }, { - "blob_sha": "3c185bf153a42193f450bd679dd4c86f8ca5a46b", + "blob_sha": "3c185bf153a42193f450bd679dd4c86f8ca5a46b", + "commits": [], + "end_line": 7, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/exercise/exercise-headers/with-details/header-exercise-page-with-details.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "356ec34da029c7d2cba62c3029aec7ba626a46d3", + "commits": [], + "end_line": 3, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/exercise/import/import-from-file-navigation.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "f3a340410b76a9da065bee66f23c94be10defb07", + "commits": [], + "end_line": 17, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/exercise/shared/entities/exercise/exercise.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "f3a340410b76a9da065bee66f23c94be10defb07", + "commits": [], + "end_line": 13, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/exercise/shared/entities/exercise/exercise.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "881f9dd291fd6749199209ba149e3029a03183be", + "commits": [], + "end_line": 12, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/exercise/statistics-graph/score-distribution-graph/statistics-score-distribution-graph.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "98187850756d814eab564d202c13f51cfdc97984", + "commits": [], + "end_line": 15, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/exercise/statistics/doughnut-chart/doughnut-chart.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "e6f10c7b2e389771e18bb1d0eedf3fb39649591c", "commits": [], "end_line": 7, - "id": "E3", + "id": "E9", "kind": "lines", - "path": "src/main/webapp/app/exercise/exercise-headers/with-details/header-exercise-page-with-details.component.ts", + "path": "src/main/webapp/app/exercise/submission-version/submission-version.service.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", @@ -24565,6 +50257,78 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 11 + }, + { + "blob_sha": "702935591cd577927d736cf7334a041d0761831e", + "commits": [], + "end_line": 10, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/exercise/exercise-detail-common-actions/non-programming-exercise-detail-common-actions.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "503a3c9c4eb604e5434ce576929479e051ef2f15", + "commits": [], + "end_line": 12, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/exercise/exercise-scores/manage-assessment-buttons/manage-assessment-buttons.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "1061414f75885d2c4849cf70a5b275b966ffdd28", + "commits": [], + "end_line": 7, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/exercise/import/exercise-import.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "660af312f47bf1237f0ad43b1e7593192f1c686f", + "commits": [], + "end_line": 21, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/exercise/participation-submission/participation-submission.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "9c0c7e17e754167d1511efb1fe44f4857066c245", + "commits": [], + "end_line": 20, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/exercise/services/exercise.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "562d91fb2e9ac49adeb5590092484bade7ad224c", + "commits": [], + "end_line": 14, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/exercise/shared/entities/participation/student-participation.dto.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 } ], "src": "M:src/main/webapp/app/exercise" @@ -24611,6 +50375,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 16 + }, + { + "blob_sha": "232cc4c0d59f3628b150eda527a53e53649819c4", + "commits": [], + "end_line": 19, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/exercise/course-exercises/course-exercise.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "52f5aa460cf5ab7f224815dd0d851e184b24d3e5", + "commits": [], + "end_line": 3, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/exercise/course-exercises/course-utils.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "52f5aa460cf5ab7f224815dd0d851e184b24d3e5", + "commits": [], + "end_line": 1, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/exercise/course-exercises/course-utils.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 1 + }, + { + "blob_sha": "9870e74bf10c83b5f3a8c79fc731ad1a0eb0ca5f", + "commits": [], + "end_line": 10, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/exercise/dashboards/tutor-leaderboard/tutor-leaderboard.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "9870e74bf10c83b5f3a8c79fc731ad1a0eb0ca5f", + "commits": [], + "end_line": 13, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/exercise/dashboards/tutor-leaderboard/tutor-leaderboard.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "9870e74bf10c83b5f3a8c79fc731ad1a0eb0ca5f", + "commits": [], + "end_line": 7, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/exercise/dashboards/tutor-leaderboard/tutor-leaderboard.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "d0c95ae7eff0211bbd4206e4fe40c5b35f57c1f2", + "commits": [], + "end_line": 5, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/exercise/dashboards/tutor-participation-graph/progress-bar/progress-bar.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 } ], "src": "M:src/main/webapp/app/exercise" @@ -24657,6 +50505,18 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 43 + }, + { + "blob_sha": "b6fa2cd4b2f15012730a6335c5c5731a28f4294d", + "commits": [], + "end_line": 27, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/exercise/structured-grading-criterion/grading-instructions-details/grading-instructions-details.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 } ], "src": "M:src/main/webapp/app/exercise" @@ -24725,6 +50585,78 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 9 + }, + { + "blob_sha": "702935591cd577927d736cf7334a041d0761831e", + "commits": [], + "end_line": 11, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/exercise/exercise-detail-common-actions/non-programming-exercise-detail-common-actions.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "503a3c9c4eb604e5434ce576929479e051ef2f15", + "commits": [], + "end_line": 13, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/exercise/exercise-scores/manage-assessment-buttons/manage-assessment-buttons.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "1061414f75885d2c4849cf70a5b275b966ffdd28", + "commits": [], + "end_line": 8, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/exercise/import/exercise-import.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "660af312f47bf1237f0ad43b1e7593192f1c686f", + "commits": [], + "end_line": 22, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/exercise/participation-submission/participation-submission.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "9c0c7e17e754167d1511efb1fe44f4857066c245", + "commits": [], + "end_line": 18, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/exercise/services/exercise.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "562d91fb2e9ac49adeb5590092484bade7ad224c", + "commits": [], + "end_line": 15, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/exercise/shared/entities/participation/student-participation.dto.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 } ], "src": "M:src/main/webapp/app/exercise" @@ -24771,6 +50703,30 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 11 + }, + { + "blob_sha": "9c0c7e17e754167d1511efb1fe44f4857066c245", + "commits": [], + "end_line": 23, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/exercise/services/exercise.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "2fa55d1bb2ff79b5ceb543113be8353e5d6a7f01", + "commits": [], + "end_line": 3, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/exercise/util/exercise-validation.util.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 } ], "src": "M:src/main/webapp/app/exercise" @@ -24817,6 +50773,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 13 + }, + { + "blob_sha": "2bf1fcc2f04474aa0d0ea1674cedae0a12bd2ff7", + "commits": [], + "end_line": 41, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/exercise/exam-exercise-row-buttons/exam-exercise-row-buttons.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 41 + }, + { + "blob_sha": "1e7db44486b549af73752148881d21437cb28ef4", + "commits": [], + "end_line": 20, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/exercise/exercise-headers/exercise-header-actions/exercise-header-actions.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "63e795d428d728b198d5600a220a87b8a08f55ca", + "commits": [], + "end_line": 17, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/exercise/exercise-headers/exercise-header/exercise-header.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "f7cebb8d9c0bc6e1b3b13b8454b91a140b54ba7d", + "commits": [], + "end_line": 10, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/exercise/exercise-headers/exercise-headers-information/exercise-headers-information.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "e7de4e399565907eab72dd55285ba77daca98cd5", + "commits": [], + "end_line": 40, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/exercise/exercise-headers/exercise-headers-information/result-history-dropdown/result-history-dropdown.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 40 + }, + { + "blob_sha": "3c185bf153a42193f450bd679dd4c86f8ca5a46b", + "commits": [], + "end_line": 14, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/exercise/exercise-headers/with-details/header-exercise-page-with-details.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "faf44b4559df8572c649a45142abf394c7e24cf3", + "commits": [], + "end_line": 14, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/exercise/exercise-scores/export-button/exercise-scores-export-button.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 } ], "src": "M:src/main/webapp/app/exercise" @@ -24863,6 +50903,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 12 + }, + { + "blob_sha": "6335f1e9b57a2787cba7074d1329954ee74b8a6c", + "commits": [], + "end_line": 5, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/exercise/exercise-categories/exercise-categories.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "1e7db44486b549af73752148881d21437cb28ef4", + "commits": [], + "end_line": 19, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/exercise/exercise-headers/exercise-header-actions/exercise-header-actions.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "1e7db44486b549af73752148881d21437cb28ef4", + "commits": [], + "end_line": 18, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/exercise/exercise-headers/exercise-header-actions/exercise-header-actions.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "63e795d428d728b198d5600a220a87b8a08f55ca", + "commits": [], + "end_line": 13, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/exercise/exercise-headers/exercise-header/exercise-header.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "f7cebb8d9c0bc6e1b3b13b8454b91a140b54ba7d", + "commits": [], + "end_line": 27, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/exercise/exercise-headers/exercise-headers-information/exercise-headers-information.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + }, + { + "blob_sha": "1061414f75885d2c4849cf70a5b275b966ffdd28", + "commits": [], + "end_line": 31, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/exercise/import/exercise-import.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 31 + }, + { + "blob_sha": "1061414f75885d2c4849cf70a5b275b966ffdd28", + "commits": [], + "end_line": 11, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/exercise/import/exercise-import.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 } ], "src": "M:src/main/webapp/app/exercise" @@ -24897,82 +51021,238 @@ "kind": "uses", "refs": [ { - "blob_sha": "6a7bf6b05718f177702aa7c6848a66877ad8cb31", + "blob_sha": "6a7bf6b05718f177702aa7c6848a66877ad8cb31", + "commits": [], + "end_line": 3, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/exercise/category-selector/category-selector.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "8d6f7e4435adcac55b4874a15f8be6661d1dc15f", + "commits": [], + "end_line": 7, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/exercise/detail/exercise-detail-header.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "2bf1fcc2f04474aa0d0ea1674cedae0a12bd2ff7", + "commits": [], + "end_line": 6, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/exercise/exam-exercise-row-buttons/exam-exercise-row-buttons.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "2bf1fcc2f04474aa0d0ea1674cedae0a12bd2ff7", + "commits": [], + "end_line": 5, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/exercise/exam-exercise-row-buttons/exam-exercise-row-buttons.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "05377ed472f7bba98b9e71b4172681f6bac8a2d1", + "commits": [], + "end_line": 15, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/exercise/example-submission/example-submission-import/example-submission-import.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "f35dc01924064d2a928f6f1661415debcef3c5ff", + "commits": [], + "end_line": 26, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/exercise/example-submission/example-submissions.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + }, + { + "blob_sha": "21dcfd6b91a710c9de3469feb68427a6405d263b", + "commits": [], + "end_line": 31, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/exercise/exercise-action-bar/exercise-action-bar.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 31 + }, + { + "blob_sha": "21dcfd6b91a710c9de3469feb68427a6405d263b", + "commits": [], + "end_line": 29, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/exercise/exercise-action-bar/exercise-action-bar.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "bb87f35a842949f4d3992c3d0c9e67d7783eebf7", + "commits": [], + "end_line": 3, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/exercise/exercise-action-bar/exercise-action-bar.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "6335f1e9b57a2787cba7074d1329954ee74b8a6c", + "commits": [], + "end_line": 10, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/exercise/exercise-categories/exercise-categories.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + } + ], + "src": "M:src/main/webapp/app/exercise" + }, + { + "count": 9, + "dst": "M:src/main/webapp/app/text", + "how": "import-path", + "id": "M:src/main/webapp/app/exercise->M:src/main/webapp/app/text", + "kind": "uses", + "refs": [ + { + "blob_sha": "232cc4c0d59f3628b150eda527a53e53649819c4", + "commits": [], + "end_line": 6, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/exercise/course-exercises/course-exercise.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "2bf1fcc2f04474aa0d0ea1674cedae0a12bd2ff7", + "commits": [], + "end_line": 10, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/exercise/exam-exercise-row-buttons/exam-exercise-row-buttons.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "702935591cd577927d736cf7334a041d0761831e", + "commits": [], + "end_line": 8, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/exercise/exercise-detail-common-actions/non-programming-exercise-detail-common-actions.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "503a3c9c4eb604e5434ce576929479e051ef2f15", "commits": [], - "end_line": 3, - "id": "E1", + "end_line": 16, + "id": "E4", "kind": "lines", - "path": "src/main/webapp/app/exercise/category-selector/category-selector.component.ts", + "path": "src/main/webapp/app/exercise/exercise-scores/manage-assessment-buttons/manage-assessment-buttons.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 3 + "start_line": 16 }, { - "blob_sha": "8d6f7e4435adcac55b4874a15f8be6661d1dc15f", + "blob_sha": "1061414f75885d2c4849cf70a5b275b966ffdd28", "commits": [], - "end_line": 7, - "id": "E2", + "end_line": 13, + "id": "E5", "kind": "lines", - "path": "src/main/webapp/app/exercise/detail/exercise-detail-header.component.ts", + "path": "src/main/webapp/app/exercise/import/exercise-import.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 13 }, { - "blob_sha": "2bf1fcc2f04474aa0d0ea1674cedae0a12bd2ff7", + "blob_sha": "660af312f47bf1237f0ad43b1e7593192f1c686f", "commits": [], - "end_line": 6, - "id": "E3", + "end_line": 23, + "id": "E6", "kind": "lines", - "path": "src/main/webapp/app/exercise/exam-exercise-row-buttons/exam-exercise-row-buttons.component.ts", + "path": "src/main/webapp/app/exercise/participation-submission/participation-submission.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 6 - } - ], - "src": "M:src/main/webapp/app/exercise" - }, - { - "count": 9, - "dst": "M:src/main/webapp/app/text", - "how": "import-path", - "id": "M:src/main/webapp/app/exercise->M:src/main/webapp/app/text", - "kind": "uses", - "refs": [ + "start_line": 23 + }, { - "blob_sha": "232cc4c0d59f3628b150eda527a53e53649819c4", + "blob_sha": "9c0c7e17e754167d1511efb1fe44f4857066c245", "commits": [], - "end_line": 6, - "id": "E1", + "end_line": 19, + "id": "E7", "kind": "lines", - "path": "src/main/webapp/app/exercise/course-exercises/course-exercise.service.ts", + "path": "src/main/webapp/app/exercise/services/exercise.service.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 6 + "start_line": 19 }, { - "blob_sha": "2bf1fcc2f04474aa0d0ea1674cedae0a12bd2ff7", + "blob_sha": "562d91fb2e9ac49adeb5590092484bade7ad224c", "commits": [], - "end_line": 10, - "id": "E2", + "end_line": 18, + "id": "E8", "kind": "lines", - "path": "src/main/webapp/app/exercise/exam-exercise-row-buttons/exam-exercise-row-buttons.component.ts", + "path": "src/main/webapp/app/exercise/shared/entities/participation/student-participation.dto.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 10 + "start_line": 18 }, { - "blob_sha": "702935591cd577927d736cf7334a041d0761831e", + "blob_sha": "75bfafbbcdf520bba6d22e4b054fe937cea20ea1", "commits": [], "end_line": 8, - "id": "E3", + "id": "E9", "kind": "lines", - "path": "src/main/webapp/app/exercise/exercise-detail-common-actions/non-programming-exercise-detail-common-actions.component.ts", + "path": "src/main/webapp/app/exercise/submission/submission.service.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", @@ -25023,6 +51303,18 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 13 + }, + { + "blob_sha": "6cfb4b5c79b3ee22d2904f073a4668c948bd514a", + "commits": [], + "end_line": 4, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/shared/entities/file-upload-submission.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 } ], "src": "M:src/main/webapp/app/fileupload" @@ -25069,6 +51361,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 13 + }, + { + "blob_sha": "dd77ce9acec7bc77fe3c983e8c3fdb1384470020", + "commits": [], + "end_line": 10, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/manage/assess/file-upload-assessment.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "dd77ce9acec7bc77fe3c983e8c3fdb1384470020", + "commits": [], + "end_line": 34, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/manage/assess/file-upload-assessment.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 34 + }, + { + "blob_sha": "dd77ce9acec7bc77fe3c983e8c3fdb1384470020", + "commits": [], + "end_line": 16, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/manage/assess/file-upload-assessment.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "dd77ce9acec7bc77fe3c983e8c3fdb1384470020", + "commits": [], + "end_line": 19, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/manage/assess/file-upload-assessment.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "dd77ce9acec7bc77fe3c983e8c3fdb1384470020", + "commits": [], + "end_line": 11, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/manage/assess/file-upload-assessment.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "dd77ce9acec7bc77fe3c983e8c3fdb1384470020", + "commits": [], + "end_line": 33, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/manage/assess/file-upload-assessment.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 33 + }, + { + "blob_sha": "dd77ce9acec7bc77fe3c983e8c3fdb1384470020", + "commits": [], + "end_line": 12, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/manage/assess/file-upload-assessment.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 } ], "src": "M:src/main/webapp/app/fileupload" @@ -25183,6 +51559,30 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 3 + }, + { + "blob_sha": "7d9959c32e32fd8f77e5b21e654f0c8312924dc7", + "commits": [], + "end_line": 2, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/overview/file-upload-participation.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "ae6a6e96ad3e8a9594e374863fb652c6f61f1913", + "commits": [], + "end_line": 23, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/overview/file-upload-submission/file-upload-submission.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 } ], "src": "M:src/main/webapp/app/fileupload" @@ -25229,6 +51629,78 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 8 + }, + { + "blob_sha": "f1a00845e8711db2d487fb3eec36b6d7d3fd5163", + "commits": [], + "end_line": 26, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/manage/update/file-upload-exercise-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + }, + { + "blob_sha": "f1a00845e8711db2d487fb3eec36b6d7d3fd5163", + "commits": [], + "end_line": 14, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/manage/update/file-upload-exercise-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "a2dcef2472668bc4a5f8759b401ada37b4821f30", + "commits": [], + "end_line": 24, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/overview/file-upload-submission.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "ae6a6e96ad3e8a9594e374863fb652c6f61f1913", + "commits": [], + "end_line": 16, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/overview/file-upload-submission/file-upload-submission.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "ea9e1694cbe5f98c67804e7a400624456c6ba5ca", + "commits": [], + "end_line": 3, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/shared/entities/file-upload-exercise-dto.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "6de41d79b0339893b4e53f9af18bdd2f2f85c768", + "commits": [], + "end_line": 2, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/shared/entities/file-upload-exercise.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 } ], "src": "M:src/main/webapp/app/fileupload" @@ -25309,6 +51781,66 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 23 + }, + { + "blob_sha": "a2dcef2472668bc4a5f8759b401ada37b4821f30", + "commits": [], + "end_line": 25, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/overview/file-upload-submission.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "a2dcef2472668bc4a5f8759b401ada37b4821f30", + "commits": [], + "end_line": 26, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/overview/file-upload-submission.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + }, + { + "blob_sha": "ea9e1694cbe5f98c67804e7a400624456c6ba5ca", + "commits": [], + "end_line": 4, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/shared/entities/file-upload-exercise-dto.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "ea9e1694cbe5f98c67804e7a400624456c6ba5ca", + "commits": [], + "end_line": 5, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/shared/entities/file-upload-exercise-dto.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "6de41d79b0339893b4e53f9af18bdd2f2f85c768", + "commits": [], + "end_line": 3, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/shared/entities/file-upload-exercise.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 } ], "src": "M:src/main/webapp/app/fileupload" @@ -25355,6 +51887,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 22 + }, + { + "blob_sha": "dd77ce9acec7bc77fe3c983e8c3fdb1384470020", + "commits": [], + "end_line": 23, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/manage/assess/file-upload-assessment.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "dd77ce9acec7bc77fe3c983e8c3fdb1384470020", + "commits": [], + "end_line": 24, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/manage/assess/file-upload-assessment.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "dd77ce9acec7bc77fe3c983e8c3fdb1384470020", + "commits": [], + "end_line": 29, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/manage/assess/file-upload-assessment.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "dd77ce9acec7bc77fe3c983e8c3fdb1384470020", + "commits": [], + "end_line": 30, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/manage/assess/file-upload-assessment.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 30 + }, + { + "blob_sha": "dd77ce9acec7bc77fe3c983e8c3fdb1384470020", + "commits": [], + "end_line": 31, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/manage/assess/file-upload-assessment.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 31 + }, + { + "blob_sha": "dd77ce9acec7bc77fe3c983e8c3fdb1384470020", + "commits": [], + "end_line": 27, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/manage/assess/file-upload-assessment.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + }, + { + "blob_sha": "ad7d00e2082880592e45686f5605de23c12ee331", + "commits": [], + "end_line": 6, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/manage/assess/file-upload-assessment.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 } ], "src": "M:src/main/webapp/app/fileupload" @@ -25401,6 +52017,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 45 + }, + { + "blob_sha": "dd77ce9acec7bc77fe3c983e8c3fdb1384470020", + "commits": [], + "end_line": 15, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/manage/assess/file-upload-assessment.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "dd77ce9acec7bc77fe3c983e8c3fdb1384470020", + "commits": [], + "end_line": 46, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/manage/assess/file-upload-assessment.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 46 + }, + { + "blob_sha": "dd77ce9acec7bc77fe3c983e8c3fdb1384470020", + "commits": [], + "end_line": 47, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/manage/assess/file-upload-assessment.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 47 + }, + { + "blob_sha": "dd77ce9acec7bc77fe3c983e8c3fdb1384470020", + "commits": [], + "end_line": 32, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/manage/assess/file-upload-assessment.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 32 + }, + { + "blob_sha": "dd77ce9acec7bc77fe3c983e8c3fdb1384470020", + "commits": [], + "end_line": 28, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/manage/assess/file-upload-assessment.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 + }, + { + "blob_sha": "dd77ce9acec7bc77fe3c983e8c3fdb1384470020", + "commits": [], + "end_line": 36, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/manage/assess/file-upload-assessment.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 36 + }, + { + "blob_sha": "227525018c8660e1017a3ac7800e2c56d9ac7bcf", + "commits": [], + "end_line": 4, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/manage/assess/file-upload-assessment.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 } ], "src": "M:src/main/webapp/app/fileupload" @@ -25469,40 +52169,124 @@ "kind": "uses", "refs": [ { - "blob_sha": "dd77ce9acec7bc77fe3c983e8c3fdb1384470020", + "blob_sha": "dd77ce9acec7bc77fe3c983e8c3fdb1384470020", + "commits": [], + "end_line": 40, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/manage/assess/file-upload-assessment.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 40 + }, + { + "blob_sha": "a9d4de49a51f228bc0546b32864bab7ccd55a257", + "commits": [], + "end_line": 14, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/manage/exercise-details/file-upload-exercise-detail.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "a9d4de49a51f228bc0546b32864bab7ccd55a257", + "commits": [], + "end_line": 25, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/manage/exercise-details/file-upload-exercise-detail.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "f1a00845e8711db2d487fb3eec36b6d7d3fd5163", + "commits": [], + "end_line": 22, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/manage/update/file-upload-exercise-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "f1a00845e8711db2d487fb3eec36b6d7d3fd5163", + "commits": [], + "end_line": 33, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/manage/update/file-upload-exercise-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 33 + }, + { + "blob_sha": "f1a00845e8711db2d487fb3eec36b6d7d3fd5163", + "commits": [], + "end_line": 40, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/manage/update/file-upload-exercise-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 40 + }, + { + "blob_sha": "f1a00845e8711db2d487fb3eec36b6d7d3fd5163", + "commits": [], + "end_line": 38, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/fileupload/manage/update/file-upload-exercise-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 38 + }, + { + "blob_sha": "f1a00845e8711db2d487fb3eec36b6d7d3fd5163", "commits": [], - "end_line": 40, - "id": "E1", + "end_line": 42, + "id": "E8", "kind": "lines", - "path": "src/main/webapp/app/fileupload/manage/assess/file-upload-assessment.component.ts", + "path": "src/main/webapp/app/fileupload/manage/update/file-upload-exercise-update.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 40 + "start_line": 42 }, { - "blob_sha": "a9d4de49a51f228bc0546b32864bab7ccd55a257", + "blob_sha": "f1a00845e8711db2d487fb3eec36b6d7d3fd5163", "commits": [], - "end_line": 14, - "id": "E2", + "end_line": 56, + "id": "E9", "kind": "lines", - "path": "src/main/webapp/app/fileupload/manage/exercise-details/file-upload-exercise-detail.component.ts", + "path": "src/main/webapp/app/fileupload/manage/update/file-upload-exercise-update.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 14 + "start_line": 56 }, { - "blob_sha": "a9d4de49a51f228bc0546b32864bab7ccd55a257", + "blob_sha": "ae6a6e96ad3e8a9594e374863fb652c6f61f1913", "commits": [], - "end_line": 25, - "id": "E3", + "end_line": 33, + "id": "E10", "kind": "lines", - "path": "src/main/webapp/app/fileupload/manage/exercise-details/file-upload-exercise-detail.component.ts", + "path": "src/main/webapp/app/fileupload/overview/file-upload-submission/file-upload-submission.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 25 + "start_line": 33 } ], "src": "M:src/main/webapp/app/fileupload" @@ -25683,6 +52467,78 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 6 + }, + { + "blob_sha": "517fd7b1919ddce59ff00a6000d4a3394b500dbc", + "commits": [], + "end_line": 7, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/foundation/service/alert.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "517fd7b1919ddce59ff00a6000d4a3394b500dbc", + "commits": [], + "end_line": 5, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/foundation/service/alert.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "517fd7b1919ddce59ff00a6000d4a3394b500dbc", + "commits": [], + "end_line": 9, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/foundation/service/alert.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "517fd7b1919ddce59ff00a6000d4a3394b500dbc", + "commits": [], + "end_line": 11, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/foundation/service/alert.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "a2ad4c2bbd9a4ed2cffc9936a488f7217d8c0556", + "commits": [], + "end_line": 2, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/foundation/service/websocket.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "672830b9fed212d0a734a2487a3ac3916a533d77", + "commits": [], + "end_line": 2, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/foundation/util/utils.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 } ], "src": "M:src/main/webapp/app/foundation" @@ -25785,6 +52641,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 1 + }, + { + "blob_sha": "61abbb482efc381bc07e0d475c3eb48cfe253bd0", + "commits": [], + "end_line": 2, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/foundation/types/exercise-filter.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "0df05d9f5fd0c3da447709743d113b4f397e8ef0", + "commits": [], + "end_line": 2, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/foundation/types/sidebar.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "0df05d9f5fd0c3da447709743d113b4f397e8ef0", + "commits": [], + "end_line": 3, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/foundation/types/sidebar.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "35b9ef34ee96b545d32dbdab364d5ad5e632c9c5", + "commits": [], + "end_line": 4, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/foundation/util/navigate-back.util.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "35b9ef34ee96b545d32dbdab364d5ad5e632c9c5", + "commits": [], + "end_line": 3, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/foundation/util/navigate-back.util.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "35b9ef34ee96b545d32dbdab364d5ad5e632c9c5", + "commits": [], + "end_line": 5, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/foundation/util/navigate-back.util.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "8bb072c5fdeab155768858b09e713e4611d24d97", + "commits": [], + "end_line": 4, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/foundation/util/navigation.utils.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 } ], "src": "M:src/main/webapp/app/foundation" @@ -25909,6 +52849,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 4 + }, + { + "blob_sha": "834645139793d1c1358af8150144179f7f928ef1", + "commits": [], + "end_line": 8, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/exercise-generation/run/hyperion-run-link.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "8ddd9f600c306b5ff134184635ceb6aeaebf8256", + "commits": [], + "end_line": 6, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/exercise-generation/state/hyperion-job-registry.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "579a380dfd85835621c6bfd70c417a4d34b7209d", + "commits": [], + "end_line": 19, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/problem-statement/problem-statement-ai-operations.helper.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "0484a5b1d8e0676c953d23e70eefdc99493ccfda", + "commits": [], + "end_line": 13, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/quiz/quiz-ai-question-refinement-panel/quiz-ai-question-refinement-panel.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "a78297bb639dd5d8fc2690fce3354067c482b5a0", + "commits": [], + "end_line": 10, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/services/exercise-variant-generation.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "305a4e698e0874ae5e3dc65bfb015b3c38ebdc9b", + "commits": [], + "end_line": 4, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/shared/hyperion-guard.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "4fcd72001958ce890ef3c983996cb1e1f48df341", + "commits": [], + "end_line": 10, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/variants/create-variant-with-ai-button.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 } ], "src": "M:src/main/webapp/app/hyperion" @@ -26033,6 +53057,18 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 20 + }, + { + "blob_sha": "88d6f933e16e8f0df59780893f3dffbd0d02a494", + "commits": [], + "end_line": 21, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/quiz/quiz-ai-generation-modal/quiz-ai-generation-modal.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 } ], "src": "M:src/main/webapp/app/hyperion" @@ -26079,6 +53115,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 3 + }, + { + "blob_sha": "f398acb220ed2679ae848b702e7bf6c0e9a710dc", + "commits": [], + "end_line": 5, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/exercise-generation/hyperion-generation-capabilities.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "834645139793d1c1358af8150144179f7f928ef1", + "commits": [], + "end_line": 9, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/exercise-generation/run/hyperion-run-link.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "8ddd9f600c306b5ff134184635ceb6aeaebf8256", + "commits": [], + "end_line": 8, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/exercise-generation/state/hyperion-job-registry.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "8ddd9f600c306b5ff134184635ceb6aeaebf8256", + "commits": [], + "end_line": 7, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/exercise-generation/state/hyperion-job-registry.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "579a380dfd85835621c6bfd70c417a4d34b7209d", + "commits": [], + "end_line": 6, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/problem-statement/problem-statement-ai-operations.helper.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "0484a5b1d8e0676c953d23e70eefdc99493ccfda", + "commits": [], + "end_line": 12, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/quiz/quiz-ai-question-refinement-panel/quiz-ai-question-refinement-panel.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "a78297bb639dd5d8fc2690fce3354067c482b5a0", + "commits": [], + "end_line": 9, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/services/exercise-variant-generation.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 } ], "src": "M:src/main/webapp/app/hyperion" @@ -26103,166 +53223,394 @@ "start_line": 14 }, { - "blob_sha": "09b4d8b8ac053c155096e2d0bfbb31301de5953c", + "blob_sha": "09b4d8b8ac053c155096e2d0bfbb31301de5953c", + "commits": [], + "end_line": 32, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/manage/quiz-question-pool/quiz-question-pool.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 32 + }, + { + "blob_sha": "09b4d8b8ac053c155096e2d0bfbb31301de5953c", + "commits": [], + "end_line": 29, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/manage/quiz-question-pool/quiz-question-pool.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "09b4d8b8ac053c155096e2d0bfbb31301de5953c", + "commits": [], + "end_line": 31, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/manage/quiz-question-pool/quiz-question-pool.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 31 + }, + { + "blob_sha": "09b4d8b8ac053c155096e2d0bfbb31301de5953c", + "commits": [], + "end_line": 30, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/manage/quiz-question-pool/quiz-question-pool.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 30 + }, + { + "blob_sha": "09b4d8b8ac053c155096e2d0bfbb31301de5953c", + "commits": [], + "end_line": 33, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/manage/quiz-question-pool/quiz-question-pool.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 33 + }, + { + "blob_sha": "fea64208b5f0441aa8c5318bc26374622f12cb26", + "commits": [], + "end_line": 50, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/variants/exercise-variant-ai-modal-wizard.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 50 + } + ], + "src": "M:src/main/webapp/app/hyperion" + }, + { + "count": 4, + "dst": "M:src/main/webapp/app/editor", + "how": "import-path", + "id": "M:src/main/webapp/app/hyperion->M:src/main/webapp/app/editor", + "kind": "uses", + "refs": [ + { + "blob_sha": "c98c58415d8b581a700684b872b3c45e8fdce92c", + "commits": [], + "end_line": 2, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/editor/artemis-intelligence/consistency-check.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "e722dcd522b847c40e8b35c851b63de6fbc7e102", + "commits": [], + "end_line": 7, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/editor/artemis-intelligence/rewrite.action.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "e722dcd522b847c40e8b35c851b63de6fbc7e102", + "commits": [], + "end_line": 2, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/editor/artemis-intelligence/rewrite.action.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "e722dcd522b847c40e8b35c851b63de6fbc7e102", + "commits": [], + "end_line": 1, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/editor/artemis-intelligence/rewrite.action.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 1 + } + ], + "src": "M:src/main/webapp/app/hyperion" + }, + { + "count": 12, + "dst": "M:src/main/webapp/app/exercise", + "how": "import-path", + "id": "M:src/main/webapp/app/hyperion->M:src/main/webapp/app/exercise", + "kind": "uses", + "refs": [ + { + "blob_sha": "94888d64518a7d7d54cc559e5387e7560218a457", + "commits": [], + "end_line": 5, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/assessment/assessment-criteria-generation.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "94888d64518a7d7d54cc559e5387e7560218a457", + "commits": [], + "end_line": 6, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/assessment/assessment-criteria-generation.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "94888d64518a7d7d54cc559e5387e7560218a457", + "commits": [], + "end_line": 7, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/assessment/assessment-criteria-generation.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "7e82c6a1b56633dc7e32898afbb94ad87315a92c", + "commits": [], + "end_line": 15, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/exercise-generation/create/hyperion-brief-dialog.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "f398acb220ed2679ae848b702e7bf6c0e9a710dc", + "commits": [], + "end_line": 6, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/exercise-generation/hyperion-generation-capabilities.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "3e4dbc41676a94d922f606177bbc55ae5c10a3c3", + "commits": [], + "end_line": 14, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/exercise-generation/run/hyperion-run-inspector.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "f1ac133e9579ea35258924b6717880cc79fb47ae", + "commits": [], + "end_line": 16, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/review/adapt-exercise-dialog/review-adapt-exercise-dialog.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "f1ac133e9579ea35258924b6717880cc79fb47ae", + "commits": [], + "end_line": 17, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/review/adapt-exercise-dialog/review-adapt-exercise-dialog.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "4fcd72001958ce890ef3c983996cb1e1f48df341", "commits": [], - "end_line": 32, - "id": "E2", + "end_line": 7, + "id": "E9", "kind": "lines", - "path": "src/main/webapp/app/hyperion/manage/quiz-question-pool/quiz-question-pool.component.ts", + "path": "src/main/webapp/app/hyperion/variants/create-variant-with-ai-button.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 32 + "start_line": 7 }, { - "blob_sha": "09b4d8b8ac053c155096e2d0bfbb31301de5953c", + "blob_sha": "fea64208b5f0441aa8c5318bc26374622f12cb26", "commits": [], - "end_line": 29, - "id": "E3", + "end_line": 49, + "id": "E10", "kind": "lines", - "path": "src/main/webapp/app/hyperion/manage/quiz-question-pool/quiz-question-pool.component.ts", + "path": "src/main/webapp/app/hyperion/variants/exercise-variant-ai-modal-wizard.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 29 + "start_line": 49 } ], "src": "M:src/main/webapp/app/hyperion" }, { - "count": 4, - "dst": "M:src/main/webapp/app/editor", + "count": 89, + "dst": "M:src/main/webapp/app/foundation", "how": "import-path", - "id": "M:src/main/webapp/app/hyperion->M:src/main/webapp/app/editor", + "id": "M:src/main/webapp/app/hyperion->M:src/main/webapp/app/foundation", "kind": "uses", "refs": [ { - "blob_sha": "c98c58415d8b581a700684b872b3c45e8fdce92c", + "blob_sha": "594a5a181884614ac85f16b9f9da0bc732dd3513", "commits": [], "end_line": 2, "id": "E1", "kind": "lines", - "path": "src/main/webapp/app/hyperion/editor/artemis-intelligence/consistency-check.ts", + "path": "src/main/webapp/app/hyperion/activity-tray/hyperion-activity-tray.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 2 }, { - "blob_sha": "e722dcd522b847c40e8b35c851b63de6fbc7e102", + "blob_sha": "594a5a181884614ac85f16b9f9da0bc732dd3513", "commits": [], - "end_line": 7, + "end_line": 20, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/hyperion/editor/artemis-intelligence/rewrite.action.ts", + "path": "src/main/webapp/app/hyperion/activity-tray/hyperion-activity-tray.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 20 }, { - "blob_sha": "e722dcd522b847c40e8b35c851b63de6fbc7e102", + "blob_sha": "594a5a181884614ac85f16b9f9da0bc732dd3513", "commits": [], - "end_line": 2, + "end_line": 17, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/hyperion/editor/artemis-intelligence/rewrite.action.ts", + "path": "src/main/webapp/app/hyperion/activity-tray/hyperion-activity-tray.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 2 - } - ], - "src": "M:src/main/webapp/app/hyperion" - }, - { - "count": 12, - "dst": "M:src/main/webapp/app/exercise", - "how": "import-path", - "id": "M:src/main/webapp/app/hyperion->M:src/main/webapp/app/exercise", - "kind": "uses", - "refs": [ + "start_line": 17 + }, { - "blob_sha": "94888d64518a7d7d54cc559e5387e7560218a457", + "blob_sha": "594a5a181884614ac85f16b9f9da0bc732dd3513", "commits": [], - "end_line": 5, - "id": "E1", + "end_line": 19, + "id": "E4", "kind": "lines", - "path": "src/main/webapp/app/hyperion/assessment/assessment-criteria-generation.service.ts", + "path": "src/main/webapp/app/hyperion/activity-tray/hyperion-activity-tray.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 5 + "start_line": 19 }, { - "blob_sha": "94888d64518a7d7d54cc559e5387e7560218a457", + "blob_sha": "594a5a181884614ac85f16b9f9da0bc732dd3513", "commits": [], - "end_line": 6, - "id": "E2", + "end_line": 1, + "id": "E5", "kind": "lines", - "path": "src/main/webapp/app/hyperion/assessment/assessment-criteria-generation.service.ts", + "path": "src/main/webapp/app/hyperion/activity-tray/hyperion-activity-tray.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 6 + "start_line": 1 }, { - "blob_sha": "94888d64518a7d7d54cc559e5387e7560218a457", + "blob_sha": "0ee0299541e8bb68470374bff046e075298d10ef", "commits": [], - "end_line": 7, - "id": "E3", + "end_line": 26, + "id": "E6", "kind": "lines", - "path": "src/main/webapp/app/hyperion/assessment/assessment-criteria-generation.service.ts", + "path": "src/main/webapp/app/hyperion/admin/hyperion-generations.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 - } - ], - "src": "M:src/main/webapp/app/hyperion" - }, - { - "count": 89, - "dst": "M:src/main/webapp/app/foundation", - "how": "import-path", - "id": "M:src/main/webapp/app/hyperion->M:src/main/webapp/app/foundation", - "kind": "uses", - "refs": [ + "start_line": 26 + }, { - "blob_sha": "594a5a181884614ac85f16b9f9da0bc732dd3513", + "blob_sha": "0ee0299541e8bb68470374bff046e075298d10ef", "commits": [], - "end_line": 2, - "id": "E1", + "end_line": 27, + "id": "E7", "kind": "lines", - "path": "src/main/webapp/app/hyperion/activity-tray/hyperion-activity-tray.component.ts", + "path": "src/main/webapp/app/hyperion/admin/hyperion-generations.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 2 + "start_line": 27 }, { - "blob_sha": "594a5a181884614ac85f16b9f9da0bc732dd3513", + "blob_sha": "0ee0299541e8bb68470374bff046e075298d10ef", "commits": [], - "end_line": 20, - "id": "E2", + "end_line": 1, + "id": "E8", "kind": "lines", - "path": "src/main/webapp/app/hyperion/activity-tray/hyperion-activity-tray.component.ts", + "path": "src/main/webapp/app/hyperion/admin/hyperion-generations.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 20 + "start_line": 1 }, { - "blob_sha": "594a5a181884614ac85f16b9f9da0bc732dd3513", + "blob_sha": "0ee0299541e8bb68470374bff046e075298d10ef", "commits": [], - "end_line": 17, - "id": "E3", + "end_line": 13, + "id": "E9", "kind": "lines", - "path": "src/main/webapp/app/hyperion/activity-tray/hyperion-activity-tray.component.ts", + "path": "src/main/webapp/app/hyperion/admin/hyperion-generations.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 17 + "start_line": 13 + }, + { + "blob_sha": "e4c0774a6e0f1683fadc38218b47d332e8912d9e", + "commits": [], + "end_line": 14, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/code-editor/ai-actions/code-editor-ai-actions.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 } ], "src": "M:src/main/webapp/app/hyperion" @@ -26309,6 +53657,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 24 + }, + { + "blob_sha": "5f66a5f939c428bb5ae0784e313d2f63dec431f2", + "commits": [], + "end_line": 16, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/exercise-generation/hyperion-exercise-generation.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "f398acb220ed2679ae848b702e7bf6c0e9a710dc", + "commits": [], + "end_line": 9, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/exercise-generation/hyperion-generation-capabilities.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "6abc3a95115652566ae5cd6b2f13294aadcb3da1", + "commits": [], + "end_line": 1, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/exercise-generation/hyperion-generation-support.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 1 + }, + { + "blob_sha": "3e4dbc41676a94d922f606177bbc55ae5c10a3c3", + "commits": [], + "end_line": 28, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/exercise-generation/run/hyperion-run-inspector.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 + }, + { + "blob_sha": "3e4dbc41676a94d922f606177bbc55ae5c10a3c3", + "commits": [], + "end_line": 29, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/exercise-generation/run/hyperion-run-inspector.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "3e4dbc41676a94d922f606177bbc55ae5c10a3c3", + "commits": [], + "end_line": 30, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/exercise-generation/run/hyperion-run-inspector.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 30 + }, + { + "blob_sha": "834645139793d1c1358af8150144179f7f928ef1", + "commits": [], + "end_line": 11, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/exercise-generation/run/hyperion-run-link.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 } ], "src": "M:src/main/webapp/app/hyperion" @@ -26355,6 +53787,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 15 + }, + { + "blob_sha": "71a7973fadfc2d8536118ba2f62ae8a684ccb951", + "commits": [], + "end_line": 16, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/quiz/quiz-ai-generation-modal/quiz-ai-generation.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "d9ae5576c374517b1a0e89bde305d9f02b07f270", + "commits": [], + "end_line": 1, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/quiz/quiz-ai-generation-modal/quiz-ai-generation.types.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 1 + }, + { + "blob_sha": "0484a5b1d8e0676c953d23e70eefdc99493ccfda", + "commits": [], + "end_line": 15, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/quiz/quiz-ai-question-refinement-panel/quiz-ai-question-refinement-panel.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "0484a5b1d8e0676c953d23e70eefdc99493ccfda", + "commits": [], + "end_line": 14, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/quiz/quiz-ai-question-refinement-panel/quiz-ai-question-refinement-panel.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "fea64208b5f0441aa8c5318bc26374622f12cb26", + "commits": [], + "end_line": 51, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/variants/exercise-variant-ai-modal-wizard.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 51 + }, + { + "blob_sha": "3c2b5bff49f8475e7ece884aa8e3d107a3654c4f", + "commits": [], + "end_line": 7, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/variants/exercise-variant-ai-modal.utils.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "3c2b5bff49f8475e7ece884aa8e3d107a3654c4f", + "commits": [], + "end_line": 8, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/variants/exercise-variant-ai-modal.utils.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 } ], "src": "M:src/main/webapp/app/hyperion" @@ -26401,6 +53917,54 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 24 + }, + { + "blob_sha": "09b4d8b8ac053c155096e2d0bfbb31301de5953c", + "commits": [], + "end_line": 23, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/manage/quiz-question-pool/quiz-question-pool.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "09b4d8b8ac053c155096e2d0bfbb31301de5953c", + "commits": [], + "end_line": 22, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/manage/quiz-question-pool/quiz-question-pool.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "09b4d8b8ac053c155096e2d0bfbb31301de5953c", + "commits": [], + "end_line": 25, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/manage/quiz-question-pool/quiz-question-pool.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "fea64208b5f0441aa8c5318bc26374622f12cb26", + "commits": [], + "end_line": 58, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/hyperion/variants/exercise-variant-ai-modal-wizard.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 58 } ], "src": "M:src/main/webapp/app/hyperion" @@ -26481,6 +54045,18 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 19 + }, + { + "blob_sha": "323bafc0d53e4e6c147140425ba88469cad8efa7", + "commits": [], + "end_line": 13, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/iris/overview/services/iris-chat.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 } ], "src": "M:src/main/webapp/app/iris" @@ -26527,6 +54103,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 11 + }, + { + "blob_sha": "68c5bd113376b5ce2b7b3f2695199927c03b84b0", + "commits": [], + "end_line": 43, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/iris/overview/base-chatbot/iris-base-chatbot.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 43 + }, + { + "blob_sha": "45a11b475e83f0b39fa09731411a229765f022e9", + "commits": [], + "end_line": 15, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/iris/overview/context-selection/context-selection.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "409587f99e306079ef194d9c17f7ce9da6651e0a", + "commits": [], + "end_line": 5, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/iris/overview/iris-onboarding-modal/iris-onboarding-modal.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "e9ffb1844bd7204170a086a39d46c8958a985680", + "commits": [], + "end_line": 3, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/iris/overview/iris-onboarding-modal/iris-onboarding.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "323bafc0d53e4e6c147140425ba88469cad8efa7", + "commits": [], + "end_line": 14, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/iris/overview/services/iris-chat.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "323bafc0d53e4e6c147140425ba88469cad8efa7", + "commits": [], + "end_line": 17, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/iris/overview/services/iris-chat.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "69d2d649a7788b8839cbfde6bbc140a20dda3fc9", + "commits": [], + "end_line": 8, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/iris/overview/services/iris-status.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 } ], "src": "M:src/main/webapp/app/iris" @@ -26573,6 +54233,42 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 3 + }, + { + "blob_sha": "68c5bd113376b5ce2b7b3f2695199927c03b84b0", + "commits": [], + "end_line": 59, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/iris/overview/base-chatbot/iris-base-chatbot.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 59 + }, + { + "blob_sha": "3651ee83262e9afcc10fdbd65e5445e50c9151dc", + "commits": [], + "end_line": 9, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/iris/overview/course-iris/course-iris.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "3651ee83262e9afcc10fdbd65e5445e50c9151dc", + "commits": [], + "end_line": 10, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/iris/overview/course-iris/course-iris.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 } ], "src": "M:src/main/webapp/app/iris" @@ -26614,53 +54310,149 @@ "end_line": 8, "id": "E3", "kind": "lines", - "path": "src/main/webapp/app/iris/overview/context-selection/context-selection.component.ts", + "path": "src/main/webapp/app/iris/overview/context-selection/context-selection.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "2da835acd24b4fefed7af6fd26e7906676136f5a", + "commits": [], + "end_line": 1, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/iris/shared/entities/iris-session-context.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 1 + } + ], + "src": "M:src/main/webapp/app/iris" + }, + { + "count": 54, + "dst": "M:src/main/webapp/app/foundation", + "how": "import-path", + "id": "M:src/main/webapp/app/iris->M:src/main/webapp/app/foundation", + "kind": "uses", + "refs": [ + { + "blob_sha": "b0f2c7ba93d73f918193196d3eaf81874d86a86e", + "commits": [], + "end_line": 11, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/iris/manage/settings/iris-settings-update/iris-settings-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "b0f2c7ba93d73f918193196d3eaf81874d86a86e", + "commits": [], + "end_line": 8, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/iris/manage/settings/iris-settings-update/iris-settings-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "b0f2c7ba93d73f918193196d3eaf81874d86a86e", + "commits": [], + "end_line": 13, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/iris/manage/settings/iris-settings-update/iris-settings-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "b0f2c7ba93d73f918193196d3eaf81874d86a86e", + "commits": [], + "end_line": 14, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/iris/manage/settings/iris-settings-update/iris-settings-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "b0f2c7ba93d73f918193196d3eaf81874d86a86e", + "commits": [], + "end_line": 5, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/iris/manage/settings/iris-settings-update/iris-settings-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "b0f2c7ba93d73f918193196d3eaf81874d86a86e", + "commits": [], + "end_line": 43, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/iris/manage/settings/iris-settings-update/iris-settings-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 43 + }, + { + "blob_sha": "900c1b28a311c54382c45d358b7d90bf2cb716ab", + "commits": [], + "end_line": 5, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/iris/manage/settings/shared/iris-enabled/iris-enabled.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 8 - } - ], - "src": "M:src/main/webapp/app/iris" - }, - { - "count": 54, - "dst": "M:src/main/webapp/app/foundation", - "how": "import-path", - "id": "M:src/main/webapp/app/iris->M:src/main/webapp/app/foundation", - "kind": "uses", - "refs": [ + "start_line": 5 + }, { - "blob_sha": "b0f2c7ba93d73f918193196d3eaf81874d86a86e", + "blob_sha": "900c1b28a311c54382c45d358b7d90bf2cb716ab", "commits": [], - "end_line": 11, - "id": "E1", + "end_line": 15, + "id": "E8", "kind": "lines", - "path": "src/main/webapp/app/iris/manage/settings/iris-settings-update/iris-settings-update.component.ts", + "path": "src/main/webapp/app/iris/manage/settings/shared/iris-enabled/iris-enabled.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 + "start_line": 15 }, { - "blob_sha": "b0f2c7ba93d73f918193196d3eaf81874d86a86e", + "blob_sha": "900c1b28a311c54382c45d358b7d90bf2cb716ab", "commits": [], - "end_line": 8, - "id": "E2", + "end_line": 11, + "id": "E9", "kind": "lines", - "path": "src/main/webapp/app/iris/manage/settings/iris-settings-update/iris-settings-update.component.ts", + "path": "src/main/webapp/app/iris/manage/settings/shared/iris-enabled/iris-enabled.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 8 + "start_line": 11 }, { - "blob_sha": "b0f2c7ba93d73f918193196d3eaf81874d86a86e", + "blob_sha": "900c1b28a311c54382c45d358b7d90bf2cb716ab", "commits": [], "end_line": 13, - "id": "E3", + "id": "E10", "kind": "lines", - "path": "src/main/webapp/app/iris/manage/settings/iris-settings-update/iris-settings-update.component.ts", + "path": "src/main/webapp/app/iris/manage/settings/shared/iris-enabled/iris-enabled.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", @@ -26825,6 +54617,30 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 8 + }, + { + "blob_sha": "601c8320ae6c568a71c9d6ef84ec3cfa76bc3f2b", + "commits": [], + "end_line": 5, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/lecture/shared/lecture-guard.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "b347c634927cbe50d8943f1b2a1c79fdcc84eac4", + "commits": [], + "end_line": 2, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/lecture/shared/util/generated-lecture.util.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 } ], "src": "M:src/main/webapp/app/lecture" @@ -26915,6 +54731,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 48 + }, + { + "blob_sha": "ba1839d9cf17e030af98f8a7f5c7b68d37b2f03c", + "commits": [], + "end_line": 63, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/lecture/manage/lecture-units/management/lecture-unit-management.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 63 + }, + { + "blob_sha": "ff17c026e08b869b1fa2dba8eac080692c465283", + "commits": [], + "end_line": 17, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/lecture/manage/lecture-units/online-unit-form/online-unit-form.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "ff17c026e08b869b1fa2dba8eac080692c465283", + "commits": [], + "end_line": 7, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/lecture/manage/lecture-units/online-unit-form/online-unit-form.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "82562de0dbe095017140fdde6310e3cf86f4d34f", + "commits": [], + "end_line": 21, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/lecture/manage/lecture-units/text-unit-form/text-unit-form.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "82562de0dbe095017140fdde6310e3cf86f4d34f", + "commits": [], + "end_line": 10, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/lecture/manage/lecture-units/text-unit-form/text-unit-form.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "7102e9e157e1f8c59e9edc4ec3d18bc68fc0412c", + "commits": [], + "end_line": 14, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/lecture/overview/course-lectures/lecture-unit/lecture-unit.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "8f0c83eaf20b35ff119060a0ca49c00f28662f5d", + "commits": [], + "end_line": 4, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/lecture/shared/entities/lecture-unit/lectureUnit.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 } ], "src": "M:src/main/webapp/app/lecture" @@ -27017,6 +54917,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 4 + }, + { + "blob_sha": "90a6f43918ec723ae0056a9fd7e78db7a573fc65", + "commits": [], + "end_line": 9, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/lecture/manage/lecture-units/tum-live-upload/tum-live-creation.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "cff52f1b2388001a2ddc57bcf393726f2afe52b8", + "commits": [], + "end_line": 24, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/lecture/manage/lecture-update/lecture-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "6a720b59a7572bd217ea818c735bc97c46f5f233", + "commits": [], + "end_line": 2, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/lecture/manage/lecture.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "01a131323826882fdcde8033f32e52fcd5aa1825", + "commits": [], + "end_line": 6, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/lecture/manage/pdf-preview/pdf-preview-thumbnail-grid/pdf-preview-thumbnail-grid.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "31271a0582c7469a7647d0f8570bd94fede362aa", + "commits": [], + "end_line": 22, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/lecture/manage/pdf-preview/pdf-preview.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "138e4f93958849b1edf05122b6778e2b0dda5b57", + "commits": [], + "end_line": 6, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/lecture/manage/services/lecture.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "138e4f93958849b1edf05122b6778e2b0dda5b57", + "commits": [], + "end_line": 7, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/lecture/manage/services/lecture.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 } ], "src": "M:src/main/webapp/app/lecture" @@ -27063,6 +55047,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 40 + }, + { + "blob_sha": "cff52f1b2388001a2ddc57bcf393726f2afe52b8", + "commits": [], + "end_line": 39, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/lecture/manage/lecture-update/lecture-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 39 + }, + { + "blob_sha": "6a720b59a7572bd217ea818c735bc97c46f5f233", + "commits": [], + "end_line": 6, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/lecture/manage/lecture.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "778371b87bd214b9af1636fea8ca4f02b3de1f3a", + "commits": [], + "end_line": 23, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/lecture/manage/lecture/lecture.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "778371b87bd214b9af1636fea8ca4f02b3de1f3a", + "commits": [], + "end_line": 25, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/lecture/manage/lecture/lecture.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "778371b87bd214b9af1636fea8ca4f02b3de1f3a", + "commits": [], + "end_line": 24, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/lecture/manage/lecture/lecture.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "778371b87bd214b9af1636fea8ca4f02b3de1f3a", + "commits": [], + "end_line": 9, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/lecture/manage/lecture/lecture.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "3af55f758c890fb818bfa2e336fb098534d88670", + "commits": [], + "end_line": 37, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/lecture/overview/course-lectures/details/course-lecture-details.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 37 } ], "src": "M:src/main/webapp/app/lecture" @@ -27155,6 +55223,66 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 3 + }, + { + "blob_sha": "7f184a21acbba585a8345fa8c00b160957078515", + "commits": [], + "end_line": 3, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/lecture/manage/services/lecture-paging.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "0ca4acbccda83bb4dc5be01978ff6bc3abf2e32e", + "commits": [], + "end_line": 2, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/lecture/shared/entities/lecture-unit/exerciseUnit.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "b19d2de71dea039371e0c5b7d5280561300113dc", + "commits": [], + "end_line": 2, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/lecture/shared/entities/lecture-unit/slide.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "b347c634927cbe50d8943f1b2a1c79fdcc84eac4", + "commits": [], + "end_line": 7, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/lecture/shared/util/generated-lecture.util.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "b347c634927cbe50d8943f1b2a1c79fdcc84eac4", + "commits": [], + "end_line": 6, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/lecture/shared/util/generated-lecture.util.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 } ], "src": "M:src/main/webapp/app/lecture" @@ -27201,6 +55329,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 15 + }, + { + "blob_sha": "3cd6d7197cf03928e1281c4dc113ca5fe5645b35", + "commits": [], + "end_line": 14, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/lecture/manage/lecture-import/lecture-import.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "3cd6d7197cf03928e1281c4dc113ca5fe5645b35", + "commits": [], + "end_line": 6, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/lecture/manage/lecture-import/lecture-import.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "1fb84fc38c51387a82af74aff429ebe5ef3ed8c8", + "commits": [], + "end_line": 4, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/lecture/manage/lecture-period/lecture-timeline.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "1fb84fc38c51387a82af74aff429ebe5ef3ed8c8", + "commits": [], + "end_line": 5, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/lecture/manage/lecture-period/lecture-timeline.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "e9117affd1048355b4638ccb94143f4e28c86985", + "commits": [], + "end_line": 15, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/lecture/manage/lecture-series-create/lecture-series-create.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "e9117affd1048355b4638ccb94143f4e28c86985", + "commits": [], + "end_line": 1, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/lecture/manage/lecture-series-create/lecture-series-create.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 1 + }, + { + "blob_sha": "e9117affd1048355b4638ccb94143f4e28c86985", + "commits": [], + "end_line": 12, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/lecture/manage/lecture-series-create/lecture-series-create.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 } ], "src": "M:src/main/webapp/app/lecture" @@ -27247,6 +55459,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 62 + }, + { + "blob_sha": "379eb8b9e75c0a2647483293fad4d04536fcf6a0", + "commits": [], + "end_line": 64, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/lecture/overview/course-lectures/attachment-video-unit/attachment-video-unit.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 64 + }, + { + "blob_sha": "379eb8b9e75c0a2647483293fad4d04536fcf6a0", + "commits": [], + "end_line": 61, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/lecture/overview/course-lectures/attachment-video-unit/attachment-video-unit.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 61 + }, + { + "blob_sha": "3af55f758c890fb818bfa2e336fb098534d88670", + "commits": [], + "end_line": 29, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/lecture/overview/course-lectures/details/course-lecture-details.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "3af55f758c890fb818bfa2e336fb098534d88670", + "commits": [], + "end_line": 41, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/lecture/overview/course-lectures/details/course-lecture-details.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 41 + }, + { + "blob_sha": "3af55f758c890fb818bfa2e336fb098534d88670", + "commits": [], + "end_line": 42, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/lecture/overview/course-lectures/details/course-lecture-details.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 42 + }, + { + "blob_sha": "3af55f758c890fb818bfa2e336fb098534d88670", + "commits": [], + "end_line": 25, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/lecture/overview/course-lectures/details/course-lecture-details.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "3af55f758c890fb818bfa2e336fb098534d88670", + "commits": [], + "end_line": 47, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/lecture/overview/course-lectures/details/course-lecture-details.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 47 } ], "src": "M:src/main/webapp/app/lecture" @@ -27259,40 +55555,124 @@ "kind": "uses", "refs": [ { - "blob_sha": "2ff1e29ff737fd9de8c5c751a2395f6bfc6e6da5", + "blob_sha": "2ff1e29ff737fd9de8c5c751a2395f6bfc6e6da5", + "commits": [], + "end_line": 6, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/lecture/manage/lecture-detail/lecture-detail.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "2ff1e29ff737fd9de8c5c751a2395f6bfc6e6da5", + "commits": [], + "end_line": 9, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/lecture/manage/lecture-detail/lecture-detail.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "ba1839d9cf17e030af98f8a7f5c7b68d37b2f03c", + "commits": [], + "end_line": 24, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/lecture/manage/lecture-units/management/lecture-unit-management.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "ba1839d9cf17e030af98f8a7f5c7b68d37b2f03c", + "commits": [], + "end_line": 58, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/lecture/manage/lecture-units/management/lecture-unit-management.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 58 + }, + { + "blob_sha": "02c5c4830b850a923d0016d6ee14c3d716d128a1", + "commits": [], + "end_line": 3, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/lecture/manage/lecture-units/unit-creation-card/unit-creation-card.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "02c5c4830b850a923d0016d6ee14c3d716d128a1", + "commits": [], + "end_line": 9, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/lecture/manage/lecture-units/unit-creation-card/unit-creation-card.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "cff52f1b2388001a2ddc57bcf393726f2afe52b8", "commits": [], - "end_line": 6, - "id": "E1", + "end_line": 36, + "id": "E7", "kind": "lines", - "path": "src/main/webapp/app/lecture/manage/lecture-detail/lecture-detail.component.ts", + "path": "src/main/webapp/app/lecture/manage/lecture-update/lecture-update.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 6 + "start_line": 36 }, { - "blob_sha": "2ff1e29ff737fd9de8c5c751a2395f6bfc6e6da5", + "blob_sha": "cff52f1b2388001a2ddc57bcf393726f2afe52b8", "commits": [], - "end_line": 9, - "id": "E2", + "end_line": 30, + "id": "E8", "kind": "lines", - "path": "src/main/webapp/app/lecture/manage/lecture-detail/lecture-detail.component.ts", + "path": "src/main/webapp/app/lecture/manage/lecture-update/lecture-update.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 + "start_line": 30 }, { - "blob_sha": "ba1839d9cf17e030af98f8a7f5c7b68d37b2f03c", + "blob_sha": "778371b87bd214b9af1636fea8ca4f02b3de1f3a", "commits": [], - "end_line": 24, - "id": "E3", + "end_line": 16, + "id": "E9", "kind": "lines", - "path": "src/main/webapp/app/lecture/manage/lecture-units/management/lecture-unit-management.component.ts", + "path": "src/main/webapp/app/lecture/manage/lecture/lecture.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 24 + "start_line": 16 + }, + { + "blob_sha": "778371b87bd214b9af1636fea8ca4f02b3de1f3a", + "commits": [], + "end_line": 19, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/lecture/manage/lecture/lecture.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 } ], "src": "M:src/main/webapp/app/lecture" @@ -27361,6 +55741,54 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 21 + }, + { + "blob_sha": "5e6c4569588594d1571766d2dc2d0a2874e05407", + "commits": [], + "end_line": 20, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/localci/build-agent-summary/build-agent-summary.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "0c65bce9541dc071d5c5db9f62b11b459b60cd3b", + "commits": [], + "end_line": 18, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/localci/build-queue/build-job-detail/build-job-detail.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "32449aa118295befbf17de810906cff8dfa156e4", + "commits": [], + "end_line": 29, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/localci/build-queue/build-overview.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "32449aa118295befbf17de810906cff8dfa156e4", + "commits": [], + "end_line": 28, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/localci/build-queue/build-overview.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 28 } ], "src": "M:src/main/webapp/app/localci" @@ -27407,6 +55835,18 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 2 + }, + { + "blob_sha": "7f7ac8d37609a0d736b45631fc71ca6d7b3b62bf", + "commits": [], + "end_line": 4, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/localci/shared/localci-guard.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 } ], "src": "M:src/main/webapp/app/localci" @@ -27453,6 +55893,30 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 28 + }, + { + "blob_sha": "406e1b03c43503455fd4efc7531bd2f6c562a4d4", + "commits": [], + "end_line": 8, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/localci/build-queue/tables/finished-jobs-table/finished-jobs-table.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "d5e23ddc0ef3c2dc91a3a9ba654aa4326c9d612f", + "commits": [], + "end_line": 5, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/localci/shared/entities/build-job.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 } ], "src": "M:src/main/webapp/app/localci" @@ -27499,6 +55963,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 24 + }, + { + "blob_sha": "3382c9bad67f974bb3320cc3551620373949a282", + "commits": [], + "end_line": 17, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/localci/build-agent-details/build-agent-details.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "3382c9bad67f974bb3320cc3551620373949a282", + "commits": [], + "end_line": 10, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/localci/build-agent-details/build-agent-details.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "3382c9bad67f974bb3320cc3551620373949a282", + "commits": [], + "end_line": 8, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/localci/build-agent-details/build-agent-details.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "3382c9bad67f974bb3320cc3551620373949a282", + "commits": [], + "end_line": 33, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/localci/build-agent-details/build-agent-details.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 33 + }, + { + "blob_sha": "3382c9bad67f974bb3320cc3551620373949a282", + "commits": [], + "end_line": 22, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/localci/build-agent-details/build-agent-details.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "4f7124811ac8f7b17229179f23d7236f8013301d", + "commits": [], + "end_line": 3, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/localci/build-agent-summary/build-agent-clear-distributed-data/build-agent-clear-distributed-data.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "4f7124811ac8f7b17229179f23d7236f8013301d", + "commits": [], + "end_line": 4, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/localci/build-agent-summary/build-agent-clear-distributed-data/build-agent-clear-distributed-data.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 } ], "src": "M:src/main/webapp/app/localci" @@ -27545,6 +56093,18 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 3 + }, + { + "blob_sha": "05b64818dcb38d51dc8e2a2f97b86dc3ab8d2846", + "commits": [], + "end_line": 2, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/localci/shared/entities/build-log.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 } ], "src": "M:src/main/webapp/app/localci" @@ -27591,6 +56151,66 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 11 + }, + { + "blob_sha": "11fbb95bacfb98114b88e0a97dcb268b2741b6ff", + "commits": [], + "end_line": 18, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/localci/build-job-statistics/build-job-statistics.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "0c65bce9541dc071d5c5db9f62b11b459b60cd3b", + "commits": [], + "end_line": 21, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/localci/build-queue/build-job-detail/build-job-detail.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "32449aa118295befbf17de810906cff8dfa156e4", + "commits": [], + "end_line": 27, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/localci/build-queue/build-overview.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + }, + { + "blob_sha": "43a6179152fc9184511a43bb07d67b9e183fe036", + "commits": [], + "end_line": 3, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/localci/build-queue/tables/build-jobs-header.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "24d53d4d986892d51ba4eab3837601e9193c33a3", + "commits": [], + "end_line": 6, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/localci/shared/build-job-search.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 } ], "src": "M:src/main/webapp/app/localci" @@ -27681,6 +56301,66 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 11 + }, + { + "blob_sha": "e3d47281e51fff1f9feae8db67fbc30aaa51fdb5", + "commits": [], + "end_line": 12, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/localvc/commit-history/commit-history.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "fc7310bfbd23755438401184893713355a4cc3cb", + "commits": [], + "end_line": 18, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/localvc/repository-view/repository-view.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "fc7310bfbd23755438401184893713355a4cc3cb", + "commits": [], + "end_line": 4, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/localvc/repository-view/repository-view.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "fc7310bfbd23755438401184893713355a4cc3cb", + "commits": [], + "end_line": 6, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/localvc/repository-view/repository-view.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "fc7310bfbd23755438401184893713355a4cc3cb", + "commits": [], + "end_line": 11, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/localvc/repository-view/repository-view.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 } ], "src": "M:src/main/webapp/app/localvc" @@ -27773,6 +56453,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 15 + }, + { + "blob_sha": "e3d47281e51fff1f9feae8db67fbc30aaa51fdb5", + "commits": [], + "end_line": 14, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/localvc/commit-history/commit-history.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "e3d47281e51fff1f9feae8db67fbc30aaa51fdb5", + "commits": [], + "end_line": 10, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/localvc/commit-history/commit-history.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "e3d47281e51fff1f9feae8db67fbc30aaa51fdb5", + "commits": [], + "end_line": 6, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/localvc/commit-history/commit-history.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "fc7310bfbd23755438401184893713355a4cc3cb", + "commits": [], + "end_line": 8, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/localvc/repository-view/repository-view.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "fc7310bfbd23755438401184893713355a4cc3cb", + "commits": [], + "end_line": 10, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/localvc/repository-view/repository-view.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "fc7310bfbd23755438401184893713355a4cc3cb", + "commits": [], + "end_line": 14, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/localvc/repository-view/repository-view.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "fc7310bfbd23755438401184893713355a4cc3cb", + "commits": [], + "end_line": 22, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/localvc/repository-view/repository-view.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 } ], "src": "M:src/main/webapp/app/localvc" @@ -27921,6 +56685,18 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 6 + }, + { + "blob_sha": "782683ae8aaa1663d38e6d5b7d394f9c08d6052f", + "commits": [], + "end_line": 5, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/logos/llm-selection-popup.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 } ], "src": "M:src/main/webapp/app/logos" @@ -27989,6 +56765,54 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 6 + }, + { + "blob_sha": "9e40e47bf87dfc347434e285906d28ef52a5ac23", + "commits": [], + "end_line": 4, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/lti/overview/lti13-exercise-launch/lti13-exercise-launch.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "9e40e47bf87dfc347434e285906d28ef52a5ac23", + "commits": [], + "end_line": 5, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/lti/overview/lti13-exercise-launch/lti13-exercise-launch.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "9e40e47bf87dfc347434e285906d28ef52a5ac23", + "commits": [], + "end_line": 7, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/lti/overview/lti13-exercise-launch/lti13-exercise-launch.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "1bb7dbced36afd845a30d79d8064ff1d20033daf", + "commits": [], + "end_line": 4, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/lti/shared/lti.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 } ], "src": "M:src/main/webapp/app/lti" @@ -28035,6 +56859,30 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 11 + }, + { + "blob_sha": "b724360692ba76bc389e0e4adfb0d78ffcba2731", + "commits": [], + "end_line": 3, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/lti/manage/lti13-select-course/lti13-select-course.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "5c4c908a735084e57fcf7706dc865cf7884c7c14", + "commits": [], + "end_line": 2, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/lti/shared/entities/online-course-configuration.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 } ], "src": "M:src/main/webapp/app/lti" @@ -28086,23 +56934,107 @@ "end_line": 9, "id": "E2", "kind": "lines", - "path": "src/main/webapp/app/lti/manage/lti-course-card/lti-course-card.component.ts", + "path": "src/main/webapp/app/lti/manage/lti-course-card/lti-course-card.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "2b6e66303e5695275da863413ee7d2ac7f025c19", + "commits": [], + "end_line": 7, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/lti/manage/lti-course-card/lti-course-card.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "e4e60104375fbbcf0d6864f0087d55cc695b9b11", + "commits": [], + "end_line": 21, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/lti/manage/lti13-deep-linking/lti13-deep-linking.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "e4e60104375fbbcf0d6864f0087d55cc695b9b11", + "commits": [], + "end_line": 24, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/lti/manage/lti13-deep-linking/lti13-deep-linking.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "e4e60104375fbbcf0d6864f0087d55cc695b9b11", + "commits": [], + "end_line": 15, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/lti/manage/lti13-deep-linking/lti13-deep-linking.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "e4e60104375fbbcf0d6864f0087d55cc695b9b11", + "commits": [], + "end_line": 25, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/lti/manage/lti13-deep-linking/lti13-deep-linking.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "e4e60104375fbbcf0d6864f0087d55cc695b9b11", + "commits": [], + "end_line": 12, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/lti/manage/lti13-deep-linking/lti13-deep-linking.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "e4e60104375fbbcf0d6864f0087d55cc695b9b11", + "commits": [], + "end_line": 13, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/lti/manage/lti13-deep-linking/lti13-deep-linking.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 9 + "start_line": 13 }, { - "blob_sha": "2b6e66303e5695275da863413ee7d2ac7f025c19", + "blob_sha": "e4e60104375fbbcf0d6864f0087d55cc695b9b11", "commits": [], - "end_line": 7, - "id": "E3", + "end_line": 8, + "id": "E10", "kind": "lines", - "path": "src/main/webapp/app/lti/manage/lti-course-card/lti-course-card.component.ts", + "path": "src/main/webapp/app/lti/manage/lti13-deep-linking/lti13-deep-linking.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 7 + "start_line": 8 } ], "src": "M:src/main/webapp/app/lti" @@ -28249,6 +57181,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 52 + }, + { + "blob_sha": "41ad69d65d48a72098b20943aecc625885d7fba2", + "commits": [], + "end_line": 50, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/modeling/manage/assess/modeling-assessment-editor/modeling-assessment-editor.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 50 + }, + { + "blob_sha": "41ad69d65d48a72098b20943aecc625885d7fba2", + "commits": [], + "end_line": 37, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/modeling/manage/assess/modeling-assessment-editor/modeling-assessment-editor.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 37 + }, + { + "blob_sha": "41ad69d65d48a72098b20943aecc625885d7fba2", + "commits": [], + "end_line": 40, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/modeling/manage/assess/modeling-assessment-editor/modeling-assessment-editor.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 40 + }, + { + "blob_sha": "41ad69d65d48a72098b20943aecc625885d7fba2", + "commits": [], + "end_line": 46, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/modeling/manage/assess/modeling-assessment-editor/modeling-assessment-editor.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 46 + }, + { + "blob_sha": "41ad69d65d48a72098b20943aecc625885d7fba2", + "commits": [], + "end_line": 36, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/modeling/manage/assess/modeling-assessment-editor/modeling-assessment-editor.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 36 + }, + { + "blob_sha": "41ad69d65d48a72098b20943aecc625885d7fba2", + "commits": [], + "end_line": 32, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/modeling/manage/assess/modeling-assessment-editor/modeling-assessment-editor.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 32 + }, + { + "blob_sha": "41ad69d65d48a72098b20943aecc625885d7fba2", + "commits": [], + "end_line": 53, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/modeling/manage/assess/modeling-assessment-editor/modeling-assessment-editor.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 53 } ], "src": "M:src/main/webapp/app/modeling" @@ -28351,6 +57367,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 19 + }, + { + "blob_sha": "d7b2a6d104e8d613b75d3ccac6194ced9aa2a017", + "commits": [], + "end_line": 19, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/modeling/manage/detail/modeling-exercise-detail.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "43fbdbb9ecb7fc569325c09206100b0fd9061dbe", + "commits": [], + "end_line": 3, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/modeling/manage/modeling-exercise.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "3f9053f26470f3537a68a86e6f59c3944e678a9a", + "commits": [], + "end_line": 2, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/modeling/overview/modeling-submission.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "d1c88df827731db6f39d90dc7817ba825f10765d", + "commits": [], + "end_line": 16, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/modeling/overview/modeling-submission/modeling-submission.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "d1c88df827731db6f39d90dc7817ba825f10765d", + "commits": [], + "end_line": 10, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/modeling/overview/modeling-submission/modeling-submission.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "5deefa5ca9bec1a819268ec8c8d320cc352feecb", + "commits": [], + "end_line": 7, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/modeling/shared/modeling-editor/modeling-editor-help.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "5deefa5ca9bec1a819268ec8c8d320cc352feecb", + "commits": [], + "end_line": 10, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/modeling/shared/modeling-editor/modeling-editor-help.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 } ], "src": "M:src/main/webapp/app/modeling" @@ -28397,6 +57497,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 25 + }, + { + "blob_sha": "6f4326e91e1359f899c4c4a3b9ca72b60af2586f", + "commits": [], + "end_line": 4, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/modeling/manage/services/modeling-exercise-resolver.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "6f4326e91e1359f899c4c4a3b9ca72b60af2586f", + "commits": [], + "end_line": 7, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/modeling/manage/services/modeling-exercise-resolver.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "f05bfc022b32f4c4b603ecc2dfd54025a8802826", + "commits": [], + "end_line": 65, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/modeling/manage/update/modeling-exercise-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 65 + }, + { + "blob_sha": "f05bfc022b32f4c4b603ecc2dfd54025a8802826", + "commits": [], + "end_line": 10, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/modeling/manage/update/modeling-exercise-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "d1c88df827731db6f39d90dc7817ba825f10765d", + "commits": [], + "end_line": 18, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/modeling/overview/modeling-submission/modeling-submission.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "d1c88df827731db6f39d90dc7817ba825f10765d", + "commits": [], + "end_line": 19, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/modeling/overview/modeling-submission/modeling-submission.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "5b2f834712e40414d28bd5465f48b866d4cd61c5", + "commits": [], + "end_line": 2, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/modeling/shared/entities/modeling-exercise.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 } ], "src": "M:src/main/webapp/app/modeling" @@ -28443,6 +57627,18 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 2 + }, + { + "blob_sha": "83782460b6b15557639b185a4f4b988136f8df9e", + "commits": [], + "end_line": 3, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/modeling/shared/modeling-markdown-explanation-editor/modeling-markdown-explanation-editor.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 } ], "src": "M:src/main/webapp/app/modeling" @@ -28489,6 +57685,18 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 11 + }, + { + "blob_sha": "5b2f834712e40414d28bd5465f48b866d4cd61c5", + "commits": [], + "end_line": 4, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/modeling/shared/entities/modeling-exercise.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 } ], "src": "M:src/main/webapp/app/modeling" @@ -28535,6 +57743,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 17 + }, + { + "blob_sha": "41ad69d65d48a72098b20943aecc625885d7fba2", + "commits": [], + "end_line": 24, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/modeling/manage/assess/modeling-assessment-editor/modeling-assessment-editor.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 24 + }, + { + "blob_sha": "41ad69d65d48a72098b20943aecc625885d7fba2", + "commits": [], + "end_line": 23, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/modeling/manage/assess/modeling-assessment-editor/modeling-assessment-editor.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "41ad69d65d48a72098b20943aecc625885d7fba2", + "commits": [], + "end_line": 27, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/modeling/manage/assess/modeling-assessment-editor/modeling-assessment-editor.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + }, + { + "blob_sha": "41ad69d65d48a72098b20943aecc625885d7fba2", + "commits": [], + "end_line": 3, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/modeling/manage/assess/modeling-assessment-editor/modeling-assessment-editor.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "41ad69d65d48a72098b20943aecc625885d7fba2", + "commits": [], + "end_line": 11, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/modeling/manage/assess/modeling-assessment-editor/modeling-assessment-editor.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "7973d365b99a6702eda56376ac2235c4d37e704e", + "commits": [], + "end_line": 34, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/modeling/manage/assess/modeling-assessment.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 34 + }, + { + "blob_sha": "7973d365b99a6702eda56376ac2235c4d37e704e", + "commits": [], + "end_line": 29, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/modeling/manage/assess/modeling-assessment.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 } ], "src": "M:src/main/webapp/app/modeling" @@ -28581,6 +57873,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 5 + }, + { + "blob_sha": "41ad69d65d48a72098b20943aecc625885d7fba2", + "commits": [], + "end_line": 29, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/modeling/manage/assess/modeling-assessment-editor/modeling-assessment-editor.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "41ad69d65d48a72098b20943aecc625885d7fba2", + "commits": [], + "end_line": 34, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/modeling/manage/assess/modeling-assessment-editor/modeling-assessment-editor.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 34 + }, + { + "blob_sha": "41ad69d65d48a72098b20943aecc625885d7fba2", + "commits": [], + "end_line": 22, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/modeling/manage/assess/modeling-assessment-editor/modeling-assessment-editor.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "41ad69d65d48a72098b20943aecc625885d7fba2", + "commits": [], + "end_line": 25, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/modeling/manage/assess/modeling-assessment-editor/modeling-assessment-editor.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "c9dfedbadc7e3e9b7ccdf10a110e8996c52bb051", + "commits": [], + "end_line": 4, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/modeling/manage/assess/modeling-assessment-editor/modeling-assessment-editor.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "987968b529c80d86b9e1f92f44ba7dfad4b0192e", + "commits": [], + "end_line": 5, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/modeling/manage/assess/modeling-assessment-legend/modeling-assessment-legend.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "987968b529c80d86b9e1f92f44ba7dfad4b0192e", + "commits": [], + "end_line": 6, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/modeling/manage/assess/modeling-assessment-legend/modeling-assessment-legend.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 } ], "src": "M:src/main/webapp/app/modeling" @@ -28627,6 +58003,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 32 + }, + { + "blob_sha": "f05bfc022b32f4c4b603ecc2dfd54025a8802826", + "commits": [], + "end_line": 29, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/modeling/manage/update/modeling-exercise-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "f05bfc022b32f4c4b603ecc2dfd54025a8802826", + "commits": [], + "end_line": 30, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/modeling/manage/update/modeling-exercise-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 30 + }, + { + "blob_sha": "f05bfc022b32f4c4b603ecc2dfd54025a8802826", + "commits": [], + "end_line": 31, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/modeling/manage/update/modeling-exercise-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 31 + }, + { + "blob_sha": "f05bfc022b32f4c4b603ecc2dfd54025a8802826", + "commits": [], + "end_line": 32, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/modeling/manage/update/modeling-exercise-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 32 + }, + { + "blob_sha": "f05bfc022b32f4c4b603ecc2dfd54025a8802826", + "commits": [], + "end_line": 48, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/modeling/manage/update/modeling-exercise-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 48 + }, + { + "blob_sha": "f05bfc022b32f4c4b603ecc2dfd54025a8802826", + "commits": [], + "end_line": 67, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/modeling/manage/update/modeling-exercise-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 67 + }, + { + "blob_sha": "d1c88df827731db6f39d90dc7817ba825f10765d", + "commits": [], + "end_line": 41, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/modeling/overview/modeling-submission/modeling-submission.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 41 } ], "src": "M:src/main/webapp/app/modeling" @@ -28739,6 +58199,42 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 10 + }, + { + "blob_sha": "40089192483c3563d56253db7dfe43aef9d35001", + "commits": [], + "end_line": 1, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/notification/course-notification/course-notification-setting.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 1 + }, + { + "blob_sha": "44c993d1b91241e10dd953965912ee85fc9d147d", + "commits": [], + "end_line": 10, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/notification/course-notification/course-notification-websocket.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "09ef2ac62568f88c4637cd9cc01fe61b8218dbd6", + "commits": [], + "end_line": 13, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/notification/course-notification/course-notification.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 } ], "src": "M:src/main/webapp/app/notification" @@ -28819,6 +58315,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 16 + }, + { + "blob_sha": "1da9b5583e6a14cfb549eef1c917480690824214", + "commits": [], + "end_line": 2, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/notification/course-notification/course-notification-preset-picker/course-notification-preset-picker.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "1da9b5583e6a14cfb549eef1c917480690824214", + "commits": [], + "end_line": 9, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/notification/course-notification/course-notification-preset-picker/course-notification-preset-picker.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "f050a4cf122e47e0d1b0c28fa0a24995fc1867ea", + "commits": [], + "end_line": 5, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/notification/course-notification/course-notification-setting-specification-card/course-notification-setting-specification-card.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "f050a4cf122e47e0d1b0c28fa0a24995fc1867ea", + "commits": [], + "end_line": 4, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/notification/course-notification/course-notification-setting-specification-card/course-notification-setting-specification-card.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "40089192483c3563d56253db7dfe43aef9d35001", + "commits": [], + "end_line": 11, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/notification/course-notification/course-notification-setting.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "44c993d1b91241e10dd953965912ee85fc9d147d", + "commits": [], + "end_line": 7, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/notification/course-notification/course-notification-websocket.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "44c993d1b91241e10dd953965912ee85fc9d147d", + "commits": [], + "end_line": 9, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/notification/course-notification/course-notification-websocket.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 } ], "src": "M:src/main/webapp/app/notification" @@ -28921,6 +58501,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 36 + }, + { + "blob_sha": "5c8a7a00f2f310b9334f264bd2b82b346d8cdf9a", + "commits": [], + "end_line": 39, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/plagiarism/manage/instructor-view/detail-view/plagiarism-case-instructor-detail-view.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 39 + }, + { + "blob_sha": "5c8a7a00f2f310b9334f264bd2b82b346d8cdf9a", + "commits": [], + "end_line": 31, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/plagiarism/manage/instructor-view/detail-view/plagiarism-case-instructor-detail-view.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 31 + }, + { + "blob_sha": "5c8a7a00f2f310b9334f264bd2b82b346d8cdf9a", + "commits": [], + "end_line": 12, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/plagiarism/manage/instructor-view/detail-view/plagiarism-case-instructor-detail-view.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "5c8a7a00f2f310b9334f264bd2b82b346d8cdf9a", + "commits": [], + "end_line": 34, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/plagiarism/manage/instructor-view/detail-view/plagiarism-case-instructor-detail-view.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 34 + }, + { + "blob_sha": "5c8a7a00f2f310b9334f264bd2b82b346d8cdf9a", + "commits": [], + "end_line": 14, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/plagiarism/manage/instructor-view/detail-view/plagiarism-case-instructor-detail-view.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "b21256bd9b2f7e09b55135c29505a6194a273773", + "commits": [], + "end_line": 12, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/plagiarism/overview/detail-view/plagiarism-case-student-detail-view.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "b21256bd9b2f7e09b55135c29505a6194a273773", + "commits": [], + "end_line": 20, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/plagiarism/overview/detail-view/plagiarism-case-student-detail-view.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 } ], "src": "M:src/main/webapp/app/plagiarism" @@ -29047,6 +58711,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 16 + }, + { + "blob_sha": "d08f22907ceb7851f642e33336b69d12de3548e4", + "commits": [], + "end_line": 8, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/plagiarism/manage/instructor-view/plagiarism-cases-instructor-view.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "68f00067bbbfeed59b609794144640eb2f98c944", + "commits": [], + "end_line": 4, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/plagiarism/manage/plagiarism-details/plagiarism-details.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "6d18da7c1eba363622644a5f9642ec38043ae53f", + "commits": [], + "end_line": 8, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/plagiarism/manage/plagiarism-header/plagiarism-header.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "19e9c95ab1f90259abae02672c0b4cec4947705a", + "commits": [], + "end_line": 4, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/plagiarism/manage/plagiarism-inspector/plagiarism-inspector.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "fecbf9d8e41e497ef1f80e1a9cb18eaa5e9f7906", + "commits": [], + "end_line": 2, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/plagiarism/manage/plagiarism-run-details/plagiarism-and-tutor-effort.directive.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "c83c5713d8807c6c7d9a07f7ca8f63fb046ae8c2", + "commits": [], + "end_line": 2, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/plagiarism/manage/plagiarism-run-details/plagiarism-run-details.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "5450ef14dff642ac1ce88449604465856d30b259", + "commits": [], + "end_line": 5, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/plagiarism/manage/plagiarism-split-view/plagiarism-split-view.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 } ], "src": "M:src/main/webapp/app/plagiarism" @@ -29093,6 +58841,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 23 + }, + { + "blob_sha": "5c8a7a00f2f310b9334f264bd2b82b346d8cdf9a", + "commits": [], + "end_line": 41, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/plagiarism/manage/instructor-view/detail-view/plagiarism-case-instructor-detail-view.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 41 + }, + { + "blob_sha": "5c8a7a00f2f310b9334f264bd2b82b346d8cdf9a", + "commits": [], + "end_line": 16, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/plagiarism/manage/instructor-view/detail-view/plagiarism-case-instructor-detail-view.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "5c8a7a00f2f310b9334f264bd2b82b346d8cdf9a", + "commits": [], + "end_line": 40, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/plagiarism/manage/instructor-view/detail-view/plagiarism-case-instructor-detail-view.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 40 + }, + { + "blob_sha": "5c8a7a00f2f310b9334f264bd2b82b346d8cdf9a", + "commits": [], + "end_line": 19, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/plagiarism/manage/instructor-view/detail-view/plagiarism-case-instructor-detail-view.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "d08f22907ceb7851f642e33336b69d12de3548e4", + "commits": [], + "end_line": 13, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/plagiarism/manage/instructor-view/plagiarism-cases-instructor-view.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "d08f22907ceb7851f642e33336b69d12de3548e4", + "commits": [], + "end_line": 18, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/plagiarism/manage/instructor-view/plagiarism-cases-instructor-view.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "d08f22907ceb7851f642e33336b69d12de3548e4", + "commits": [], + "end_line": 19, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/plagiarism/manage/instructor-view/plagiarism-cases-instructor-view.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 } ], "src": "M:src/main/webapp/app/plagiarism" @@ -29139,6 +58971,18 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 23 + }, + { + "blob_sha": "055cb5a5579470078cb2b3b17cb0588e94365aea", + "commits": [], + "end_line": 11, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/plagiarism/manage/plagiarism-split-view/text-submission-viewer/text-submission-viewer.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 } ], "src": "M:src/main/webapp/app/plagiarism" @@ -29185,6 +59029,78 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 10 + }, + { + "blob_sha": "d08f22907ceb7851f642e33336b69d12de3548e4", + "commits": [], + "end_line": 14, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/plagiarism/manage/instructor-view/plagiarism-cases-instructor-view.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "fecbf9d8e41e497ef1f80e1a9cb18eaa5e9f7906", + "commits": [], + "end_line": 3, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/plagiarism/manage/plagiarism-run-details/plagiarism-and-tutor-effort.directive.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "c83c5713d8807c6c7d9a07f7ca8f63fb046ae8c2", + "commits": [], + "end_line": 10, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/plagiarism/manage/plagiarism-run-details/plagiarism-run-details.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "c83c5713d8807c6c7d9a07f7ca8f63fb046ae8c2", + "commits": [], + "end_line": 9, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/plagiarism/manage/plagiarism-run-details/plagiarism-run-details.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "b21256bd9b2f7e09b55135c29505a6194a273773", + "commits": [], + "end_line": 15, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/plagiarism/overview/detail-view/plagiarism-case-student-detail-view.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "b21256bd9b2f7e09b55135c29505a6194a273773", + "commits": [], + "end_line": 18, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/plagiarism/overview/detail-view/plagiarism-case-student-detail-view.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 } ], "src": "M:src/main/webapp/app/plagiarism" @@ -29231,6 +59147,18 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 10 + }, + { + "blob_sha": "055cb5a5579470078cb2b3b17cb0588e94365aea", + "commits": [], + "end_line": 9, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/plagiarism/manage/plagiarism-split-view/text-submission-viewer/text-submission-viewer.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 } ], "src": "M:src/main/webapp/app/plagiarism" @@ -29299,6 +59227,30 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 3 + }, + { + "blob_sha": "1e56f714fd68ea7f109a7c9aadab3ff87a6ab2a5", + "commits": [], + "end_line": 11, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/presentation/manage/presentation-assessment-presenter-selector.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "cbe8830a914020a10e7d12cffcdd8bd79dfb0269", + "commits": [], + "end_line": 2, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/presentation/shared/entities/presentation-assessment.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 } ], "src": "M:src/main/webapp/app/presentation" @@ -29345,6 +59297,66 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 24 + }, + { + "blob_sha": "29472c734b1f11a78792a46d7ec2d2a7752f6289", + "commits": [], + "end_line": 26, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/presentation/manage/presentation-assessment-management.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 + }, + { + "blob_sha": "29472c734b1f11a78792a46d7ec2d2a7752f6289", + "commits": [], + "end_line": 37, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/presentation/manage/presentation-assessment-management.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 37 + }, + { + "blob_sha": "29472c734b1f11a78792a46d7ec2d2a7752f6289", + "commits": [], + "end_line": 50, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/presentation/manage/presentation-assessment-management.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 50 + }, + { + "blob_sha": "1e56f714fd68ea7f109a7c9aadab3ff87a6ab2a5", + "commits": [], + "end_line": 13, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/presentation/manage/presentation-assessment-presenter-selector.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "339bd59fe07e8973e3589e81b9c9b299ee081af3", + "commits": [], + "end_line": 15, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/presentation/manage/presentation-rubric-grading.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 } ], "src": "M:src/main/webapp/app/presentation" @@ -29429,14 +59441,98 @@ { "blob_sha": "b0736e4b69a10c2dfcf31458590428265cbb0660", "commits": [], - "end_line": 16, - "id": "E3", + "end_line": 16, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/presentation/manage/presentation-assessment-form-dialog.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "d96e4f95536aa3bc05a7a9b00cca2c1705497cb5", + "commits": [], + "end_line": 2, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/presentation/manage/presentation-assessment-instance-details.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "d96e4f95536aa3bc05a7a9b00cca2c1705497cb5", + "commits": [], + "end_line": 3, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/presentation/manage/presentation-assessment-instance-details.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "2061531d83cbe06fb628e5818f44a1d893a5983c", + "commits": [], + "end_line": 19, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/presentation/manage/presentation-assessment-instance-form-dialog.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "2061531d83cbe06fb628e5818f44a1d893a5983c", + "commits": [], + "end_line": 20, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/presentation/manage/presentation-assessment-instance-form-dialog.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "2061531d83cbe06fb628e5818f44a1d893a5983c", + "commits": [], + "end_line": 22, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/presentation/manage/presentation-assessment-instance-form-dialog.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "2061531d83cbe06fb628e5818f44a1d893a5983c", + "commits": [], + "end_line": 21, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/presentation/manage/presentation-assessment-instance-form-dialog.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "2061531d83cbe06fb628e5818f44a1d893a5983c", + "commits": [], + "end_line": 23, + "id": "E10", "kind": "lines", - "path": "src/main/webapp/app/presentation/manage/presentation-assessment-form-dialog.component.ts", + "path": "src/main/webapp/app/presentation/manage/presentation-assessment-instance-form-dialog.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 16 + "start_line": 23 } ], "src": "M:src/main/webapp/app/presentation" @@ -29483,6 +59579,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 21 + }, + { + "blob_sha": "2061531d83cbe06fb628e5818f44a1d893a5983c", + "commits": [], + "end_line": 36, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/presentation/manage/presentation-assessment-instance-form-dialog.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 36 + }, + { + "blob_sha": "1e56f714fd68ea7f109a7c9aadab3ff87a6ab2a5", + "commits": [], + "end_line": 17, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/presentation/manage/presentation-assessment-presenter-selector.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "1e56f714fd68ea7f109a7c9aadab3ff87a6ab2a5", + "commits": [], + "end_line": 18, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/presentation/manage/presentation-assessment-presenter-selector.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "1e56f714fd68ea7f109a7c9aadab3ff87a6ab2a5", + "commits": [], + "end_line": 19, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/presentation/manage/presentation-assessment-presenter-selector.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "39c68f8d206abc9d79d628139846ebfa5e2f6c35", + "commits": [], + "end_line": 7, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/presentation/manage/presentation-instance-actions.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "39c68f8d206abc9d79d628139846ebfa5e2f6c35", + "commits": [], + "end_line": 6, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/presentation/manage/presentation-instance-actions.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "c277ee4ca7cace6c531eb40d2778b59be8acae69", + "commits": [], + "end_line": 4, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/presentation/manage/presentation-student-toggle.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 } ], "src": "M:src/main/webapp/app/presentation" @@ -29529,6 +59709,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 48 + }, + { + "blob_sha": "524abfcff1ad036b86c1f234338555198cc1fba9", + "commits": [], + "end_line": 12, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/reset/dialog/programming-exercise-reset-dialog.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "c2e19c198e84b1720d2430018d1ae9ae714a47a5", + "commits": [], + "end_line": 4, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/services/programming-exercise-sharing.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "9b2f4087f8b5ae802613909696c4a403734e89e7", + "commits": [], + "end_line": 51, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/update/programming-exercise-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 51 + }, + { + "blob_sha": "c7cb013d989d2ddca7ab9a4f9dad92a61b7ebaa4", + "commits": [], + "end_line": 3, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/update/update-components/information/programming-exercise-information.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "f554d9fe7886a0f1bf7a623e8145b4126eb7f1bf", + "commits": [], + "end_line": 6, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/update/update-components/mode/programming-exercise-mode.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "c49c626c41d51eb85c1de29f456a9c7f2c15724d", + "commits": [], + "end_line": 2, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/programming/shared/build-details/programming-exercise-repository-and-build-plan-details/programming-exercise-repository-and-build-plan-details.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "6863440dcd031daffeb7100bcc2f74570a3e80ca", + "commits": [], + "end_line": 5, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/programming/shared/programming-exercise-update-timeline/programming-exercise-timeline.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 } ], "src": "M:src/main/webapp/app/programming" @@ -29597,6 +59861,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 44 + }, + { + "blob_sha": "5076495f8ccbc3b4161099de579736e99bdb1aca", + "commits": [], + "end_line": 51, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/assess/code-editor-tutor-assessment-container/code-editor-tutor-assessment-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 51 + }, + { + "blob_sha": "5076495f8ccbc3b4161099de579736e99bdb1aca", + "commits": [], + "end_line": 41, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/assess/code-editor-tutor-assessment-container/code-editor-tutor-assessment-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 41 + }, + { + "blob_sha": "5076495f8ccbc3b4161099de579736e99bdb1aca", + "commits": [], + "end_line": 20, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/assess/code-editor-tutor-assessment-container/code-editor-tutor-assessment-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "5076495f8ccbc3b4161099de579736e99bdb1aca", + "commits": [], + "end_line": 30, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/assess/code-editor-tutor-assessment-container/code-editor-tutor-assessment-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 30 + }, + { + "blob_sha": "5076495f8ccbc3b4161099de579736e99bdb1aca", + "commits": [], + "end_line": 45, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/assess/code-editor-tutor-assessment-container/code-editor-tutor-assessment-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 45 + }, + { + "blob_sha": "5076495f8ccbc3b4161099de579736e99bdb1aca", + "commits": [], + "end_line": 27, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/assess/code-editor-tutor-assessment-container/code-editor-tutor-assessment-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 27 + }, + { + "blob_sha": "5076495f8ccbc3b4161099de579736e99bdb1aca", + "commits": [], + "end_line": 52, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/assess/code-editor-tutor-assessment-container/code-editor-tutor-assessment-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 52 } ], "src": "M:src/main/webapp/app/programming" @@ -29757,6 +60105,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 15 + }, + { + "blob_sha": "7f96ccf7a5a682bf00d1c1ca51ef42dd84928659", + "commits": [], + "end_line": 3, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/code-editor/code-editor-management-routes.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "586e9f76938fff1efbe27d1e1889dace0afd5787", + "commits": [], + "end_line": 2, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/code-editor/file-browser/delete/code-editor-file-browser-delete.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "fd185035d57333743af7e33640e8b78f8da951fe", + "commits": [], + "end_line": 30, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/code-editor/instructor-and-editor-container/code-editor-instructor-and-editor-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 30 + }, + { + "blob_sha": "ca29d41f30de19404822817a6367c03a6cfc18bf", + "commits": [], + "end_line": 31, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/detail/programming-exercise-detail.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 31 + }, + { + "blob_sha": "ca29d41f30de19404822817a6367c03a6cfc18bf", + "commits": [], + "end_line": 32, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/detail/programming-exercise-detail.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 32 + }, + { + "blob_sha": "a09eded3daf5a426a705ff1e2aa7cfc424f84fb6", + "commits": [], + "end_line": 50, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/instructions-editor/programming-exercise-editable-instruction.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 50 + }, + { + "blob_sha": "8a7f545487c16e2c89cec57493d0811f4438d53b", + "commits": [], + "end_line": 10, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/programming-exercise-management.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 } ], "src": "M:src/main/webapp/app/programming" @@ -29803,6 +60235,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 26 + }, + { + "blob_sha": "e68e39656f303b1663922b4cde20faf5295438c3", + "commits": [], + "end_line": 19, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/code-editor/instructor-and-editor-container/code-editor-instructor-base-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "1c3ee1afa0d4616096438d64389f162dc7aa0231", + "commits": [], + "end_line": 10, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/grading/configure/programming-exercise-configure-grading.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "1c3ee1afa0d4616096438d64389f162dc7aa0231", + "commits": [], + "end_line": 11, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/grading/configure/programming-exercise-configure-grading.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "ae1f59cbb7bde6f3c5a923489a51c93a70141b63", + "commits": [], + "end_line": 7, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/grading/tasks/programming-exercise-grading-tasks-table/programming-exercise-grading-tasks-table.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "471e94d168fceb2fe8ab2b8f4601b7cc0fb15ec5", + "commits": [], + "end_line": 8, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/grading/tasks/programming-exercise-task.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "ad063add6daf0c7ca5365c51649b50b0c3f1a6d2", + "commits": [], + "end_line": 4, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/status/programming-exercise-instructor-exercise-status.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "1f800902b586f714eab4744f5f4c86c39260c20a", + "commits": [], + "end_line": 4, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/status/programming-exercise-instructor-status.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 } ], "src": "M:src/main/webapp/app/programming" @@ -29849,6 +60365,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 9 + }, + { + "blob_sha": "fd185035d57333743af7e33640e8b78f8da951fe", + "commits": [], + "end_line": 21, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/code-editor/instructor-and-editor-container/code-editor-instructor-and-editor-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "a09eded3daf5a426a705ff1e2aa7cfc424f84fb6", + "commits": [], + "end_line": 30, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/instructions-editor/programming-exercise-editable-instruction.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 30 + }, + { + "blob_sha": "a09eded3daf5a426a705ff1e2aa7cfc424f84fb6", + "commits": [], + "end_line": 34, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/instructions-editor/programming-exercise-editable-instruction.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 34 + }, + { + "blob_sha": "a09eded3daf5a426a705ff1e2aa7cfc424f84fb6", + "commits": [], + "end_line": 33, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/instructions-editor/programming-exercise-editable-instruction.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 33 + }, + { + "blob_sha": "a09eded3daf5a426a705ff1e2aa7cfc424f84fb6", + "commits": [], + "end_line": 36, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/instructions-editor/programming-exercise-editable-instruction.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 36 + }, + { + "blob_sha": "a09eded3daf5a426a705ff1e2aa7cfc424f84fb6", + "commits": [], + "end_line": 37, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/instructions-editor/programming-exercise-editable-instruction.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 37 + }, + { + "blob_sha": "a09eded3daf5a426a705ff1e2aa7cfc424f84fb6", + "commits": [], + "end_line": 38, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/instructions-editor/programming-exercise-editable-instruction.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 38 } ], "src": "M:src/main/webapp/app/programming" @@ -29909,38 +60509,122 @@ { "blob_sha": "5076495f8ccbc3b4161099de579736e99bdb1aca", "commits": [], - "end_line": 4, - "id": "E1", + "end_line": 4, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/assess/code-editor-tutor-assessment-container/code-editor-tutor-assessment-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "5076495f8ccbc3b4161099de579736e99bdb1aca", + "commits": [], + "end_line": 17, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/assess/code-editor-tutor-assessment-container/code-editor-tutor-assessment-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "5076495f8ccbc3b4161099de579736e99bdb1aca", + "commits": [], + "end_line": 5, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/assess/code-editor-tutor-assessment-container/code-editor-tutor-assessment-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "5076495f8ccbc3b4161099de579736e99bdb1aca", + "commits": [], + "end_line": 42, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/assess/code-editor-tutor-assessment-container/code-editor-tutor-assessment-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 42 + }, + { + "blob_sha": "5076495f8ccbc3b4161099de579736e99bdb1aca", + "commits": [], + "end_line": 14, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/assess/code-editor-tutor-assessment-container/code-editor-tutor-assessment-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "5076495f8ccbc3b4161099de579736e99bdb1aca", + "commits": [], + "end_line": 19, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/assess/code-editor-tutor-assessment-container/code-editor-tutor-assessment-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "5076495f8ccbc3b4161099de579736e99bdb1aca", + "commits": [], + "end_line": 37, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/assess/code-editor-tutor-assessment-container/code-editor-tutor-assessment-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 37 + }, + { + "blob_sha": "5076495f8ccbc3b4161099de579736e99bdb1aca", + "commits": [], + "end_line": 15, + "id": "E8", "kind": "lines", "path": "src/main/webapp/app/programming/manage/assess/code-editor-tutor-assessment-container/code-editor-tutor-assessment-container.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 4 + "start_line": 15 }, { "blob_sha": "5076495f8ccbc3b4161099de579736e99bdb1aca", "commits": [], - "end_line": 17, - "id": "E2", + "end_line": 40, + "id": "E9", "kind": "lines", "path": "src/main/webapp/app/programming/manage/assess/code-editor-tutor-assessment-container/code-editor-tutor-assessment-container.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 17 + "start_line": 40 }, { "blob_sha": "5076495f8ccbc3b4161099de579736e99bdb1aca", "commits": [], - "end_line": 5, - "id": "E3", + "end_line": 32, + "id": "E10", "kind": "lines", "path": "src/main/webapp/app/programming/manage/assess/code-editor-tutor-assessment-container/code-editor-tutor-assessment-container.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 5 + "start_line": 32 } ], "src": "M:src/main/webapp/app/programming" @@ -29987,6 +60671,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 11 + }, + { + "blob_sha": "5076495f8ccbc3b4161099de579736e99bdb1aca", + "commits": [], + "end_line": 29, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/assess/code-editor-tutor-assessment-container/code-editor-tutor-assessment-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "5076495f8ccbc3b4161099de579736e99bdb1aca", + "commits": [], + "end_line": 39, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/assess/code-editor-tutor-assessment-container/code-editor-tutor-assessment-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 39 + }, + { + "blob_sha": "f88bbc15adeaa752c6c6cd88f5781d33d3859507", + "commits": [], + "end_line": 7, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/assess/code-editor-tutor-assessment-inline-feedback/code-editor-tutor-assessment-inline-feedback.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "f88bbc15adeaa752c6c6cd88f5781d33d3859507", + "commits": [], + "end_line": 10, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/assess/code-editor-tutor-assessment-inline-feedback/code-editor-tutor-assessment-inline-feedback.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "234e31e1bfcfe2c18f8530dba67c32b6873c865f", + "commits": [], + "end_line": 11, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/assess/repo-export/export-button/programming-assessment-repo-export-button.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "234e31e1bfcfe2c18f8530dba67c32b6873c865f", + "commits": [], + "end_line": 4, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/assess/repo-export/export-button/programming-assessment-repo-export-button.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "234e31e1bfcfe2c18f8530dba67c32b6873c865f", + "commits": [], + "end_line": 12, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/assess/repo-export/export-button/programming-assessment-repo-export-button.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 } ], "src": "M:src/main/webapp/app/programming" @@ -30033,6 +60801,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 47 + }, + { + "blob_sha": "fd185035d57333743af7e33640e8b78f8da951fe", + "commits": [], + "end_line": 57, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/code-editor/instructor-and-editor-container/code-editor-instructor-and-editor-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 57 + }, + { + "blob_sha": "fd185035d57333743af7e33640e8b78f8da951fe", + "commits": [], + "end_line": 3, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/code-editor/instructor-and-editor-container/code-editor-instructor-and-editor-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "fd185035d57333743af7e33640e8b78f8da951fe", + "commits": [], + "end_line": 59, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/code-editor/instructor-and-editor-container/code-editor-instructor-and-editor-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 59 + }, + { + "blob_sha": "fd185035d57333743af7e33640e8b78f8da951fe", + "commits": [], + "end_line": 60, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/code-editor/instructor-and-editor-container/code-editor-instructor-and-editor-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 60 + }, + { + "blob_sha": "fd185035d57333743af7e33640e8b78f8da951fe", + "commits": [], + "end_line": 4, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/code-editor/instructor-and-editor-container/code-editor-instructor-and-editor-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "fd185035d57333743af7e33640e8b78f8da951fe", + "commits": [], + "end_line": 33, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/code-editor/instructor-and-editor-container/code-editor-instructor-and-editor-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 33 + }, + { + "blob_sha": "fd185035d57333743af7e33640e8b78f8da951fe", + "commits": [], + "end_line": 55, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/code-editor/instructor-and-editor-container/code-editor-instructor-and-editor-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 55 } ], "src": "M:src/main/webapp/app/programming" @@ -30113,6 +60965,18 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 16 + }, + { + "blob_sha": "e94f9bf04c50eecb66d0d7221b9ebf3ec716058d", + "commits": [], + "end_line": 7, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/programming/shared/routes/programming-exercise-repository.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 } ], "src": "M:src/main/webapp/app/programming" @@ -30159,6 +61023,18 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 20 + }, + { + "blob_sha": "9b2f4087f8b5ae802613909696c4a403734e89e7", + "commits": [], + "end_line": 64, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/update/programming-exercise-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 64 } ], "src": "M:src/main/webapp/app/programming" @@ -30239,6 +61115,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 22 + }, + { + "blob_sha": "fc6859a3b46d37baaeec3dc4e5be1e45f07df2e5", + "commits": [], + "end_line": 13, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/build-plan-editor/localci-build-plan-editor.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "ecc93e09a1d10de0732b4d2c8fdddddf0477e2c7", + "commits": [], + "end_line": 12, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/build-plan-editor/programming-exercise-build-configuration/programming-exercise-build-configuration.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "ecc93e09a1d10de0732b4d2c8fdddddf0477e2c7", + "commits": [], + "end_line": 16, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/build-plan-editor/programming-exercise-build-configuration/programming-exercise-build-configuration.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "ecc93e09a1d10de0732b4d2c8fdddddf0477e2c7", + "commits": [], + "end_line": 13, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/build-plan-editor/programming-exercise-build-configuration/programming-exercise-build-configuration.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "fd185035d57333743af7e33640e8b78f8da951fe", + "commits": [], + "end_line": 52, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/code-editor/instructor-and-editor-container/code-editor-instructor-and-editor-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 52 + }, + { + "blob_sha": "e68e39656f303b1663922b4cde20faf5295438c3", + "commits": [], + "end_line": 10, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/code-editor/instructor-and-editor-container/code-editor-instructor-base-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "ca29d41f30de19404822817a6367c03a6cfc18bf", + "commits": [], + "end_line": 47, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/programming/manage/detail/programming-exercise-detail.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 47 } ], "src": "M:src/main/webapp/app/programming" @@ -30319,6 +61279,42 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 74 + }, + { + "blob_sha": "41a399b6172210dceb5d6fc5aac6045eb22e0b3c", + "commits": [], + "end_line": 8, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/quiz/overview/course-training/course-training-quiz/leaderboard/leaderboard.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "dbb335504d4649bd0e8802f3948194c158acce36", + "commits": [], + "end_line": 19, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/quiz/shared/questions/drag-and-drop-question/drag-and-drop-question.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "5a2b24f56e5e50a8af01ee2561f82d5be55992b7", + "commits": [], + "end_line": 9, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/quiz/shared/questions/drag-and-drop-question/drag-item/drag-item.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 } ], "src": "M:src/main/webapp/app/quiz" @@ -30455,6 +61451,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 3 + }, + { + "blob_sha": "9dd67a62eb9e5e6cf8a44b6611f597f451ac46dc", + "commits": [], + "end_line": 11, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/service/quiz-exercise.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "605a05dda9ae2cccd5dc73be740b5bf4ed0ec131", + "commits": [], + "end_line": 3, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/statistics/question-statistic.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "6943ffd778b7f997d67143a793c5430faa96d423", + "commits": [], + "end_line": 5, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/statistics/quiz-point-statistic/quiz-point-statistic.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "eacc1704c7df78b3ad64dec086fe4796183c4fae", + "commits": [], + "end_line": 4, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/statistics/quiz-statistic/quiz-statistic.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "b5d1c7cd050a2744bbf7fae3acdef675740a9231", + "commits": [], + "end_line": 10, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/statistics/quiz-statistics-footer/quiz-statistics-footer.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "d94981e051bd0cd04ea5e4dd7b88b08b321fa649", + "commits": [], + "end_line": 73, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/update/quiz-exercise-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 73 + }, + { + "blob_sha": "bd26e084bc49b3fc792e0fecd5b73c2a9e05d274", + "commits": [], + "end_line": 44, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/quiz/overview/participation/quiz-participation.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 44 } ], "src": "M:src/main/webapp/app/quiz" @@ -30467,86 +61547,254 @@ "kind": "uses", "refs": [ { - "blob_sha": "58176659ca942103ca1dc321fcd9d8444e8a973c", + "blob_sha": "58176659ca942103ca1dc321fcd9d8444e8a973c", + "commits": [], + "end_line": 11, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/apollon-diagrams/list/apollon-diagram-list.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "58176659ca942103ca1dc321fcd9d8444e8a973c", + "commits": [], + "end_line": 12, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/apollon-diagrams/list/apollon-diagram-list.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "ed1cc50a1c8406d47d808afc22fc375e95559cad", + "commits": [], + "end_line": 11, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/list-edit-existing/quiz-question-list-edit-existing.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "ed1cc50a1c8406d47d808afc22fc375e95559cad", + "commits": [], + "end_line": 10, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/list-edit-existing/quiz-question-list-edit-existing.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "d94981e051bd0cd04ea5e4dd7b88b08b321fa649", + "commits": [], + "end_line": 76, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/update/quiz-exercise-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 76 + }, + { + "blob_sha": "d94981e051bd0cd04ea5e4dd7b88b08b321fa649", + "commits": [], + "end_line": 23, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/update/quiz-exercise-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "d94981e051bd0cd04ea5e4dd7b88b08b321fa649", + "commits": [], + "end_line": 35, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/update/quiz-exercise-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 35 + }, + { + "blob_sha": "3e1a7cd6f1dd70368b3f07117321d8090b03aab7", + "commits": [], + "end_line": 21, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/quiz/overview/course-training/course-training-quiz/course-training-quiz.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "d6e8f3b0a1bf292848d9a9743ef408ed3a1ba53c", + "commits": [], + "end_line": 3, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/quiz/overview/course-training/course-training.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "d6e8f3b0a1bf292848d9a9743ef408ed3a1ba53c", + "commits": [], + "end_line": 19, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/quiz/overview/course-training/course-training.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + } + ], + "src": "M:src/main/webapp/app/quiz" + }, + { + "count": 21, + "dst": "M:src/main/webapp/app/editor", + "how": "import-path", + "id": "M:src/main/webapp/app/quiz->M:src/main/webapp/app/editor", + "kind": "uses", + "refs": [ + { + "blob_sha": "af1391a679253506294dd60974dc3325fc511437", + "commits": [], + "end_line": 45, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/drag-and-drop-question/drag-and-drop-question-edit.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 45 + }, + { + "blob_sha": "af1391a679253506294dd60974dc3325fc511437", + "commits": [], + "end_line": 44, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/drag-and-drop-question/drag-and-drop-question-edit.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 44 + }, + { + "blob_sha": "af1391a679253506294dd60974dc3325fc511437", + "commits": [], + "end_line": 43, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/drag-and-drop-question/drag-and-drop-question-edit.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 43 + }, + { + "blob_sha": "d6fefc65e314a81ab49ae27d74736171fd7fabaa", + "commits": [], + "end_line": 21, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/multiple-choice-question/multiple-choice-question-edit.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "d6fefc65e314a81ab49ae27d74736171fd7fabaa", "commits": [], - "end_line": 11, - "id": "E1", + "end_line": 19, + "id": "E5", "kind": "lines", - "path": "src/main/webapp/app/quiz/manage/apollon-diagrams/list/apollon-diagram-list.component.ts", + "path": "src/main/webapp/app/quiz/manage/multiple-choice-question/multiple-choice-question-edit.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 + "start_line": 19 }, { - "blob_sha": "58176659ca942103ca1dc321fcd9d8444e8a973c", + "blob_sha": "d6fefc65e314a81ab49ae27d74736171fd7fabaa", "commits": [], - "end_line": 12, - "id": "E2", + "end_line": 20, + "id": "E6", "kind": "lines", - "path": "src/main/webapp/app/quiz/manage/apollon-diagrams/list/apollon-diagram-list.component.ts", + "path": "src/main/webapp/app/quiz/manage/multiple-choice-question/multiple-choice-question-edit.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 12 + "start_line": 20 }, { - "blob_sha": "ed1cc50a1c8406d47d808afc22fc375e95559cad", + "blob_sha": "d6fefc65e314a81ab49ae27d74736171fd7fabaa", "commits": [], - "end_line": 11, - "id": "E3", + "end_line": 17, + "id": "E7", "kind": "lines", - "path": "src/main/webapp/app/quiz/manage/list-edit-existing/quiz-question-list-edit-existing.component.ts", + "path": "src/main/webapp/app/quiz/manage/multiple-choice-question/multiple-choice-question-edit.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 11 - } - ], - "src": "M:src/main/webapp/app/quiz" - }, - { - "count": 21, - "dst": "M:src/main/webapp/app/editor", - "how": "import-path", - "id": "M:src/main/webapp/app/quiz->M:src/main/webapp/app/editor", - "kind": "uses", - "refs": [ + "start_line": 17 + }, { - "blob_sha": "af1391a679253506294dd60974dc3325fc511437", + "blob_sha": "d6fefc65e314a81ab49ae27d74736171fd7fabaa", "commits": [], - "end_line": 45, - "id": "E1", + "end_line": 18, + "id": "E8", "kind": "lines", - "path": "src/main/webapp/app/quiz/manage/drag-and-drop-question/drag-and-drop-question-edit.component.ts", + "path": "src/main/webapp/app/quiz/manage/multiple-choice-question/multiple-choice-question-edit.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 45 + "start_line": 18 }, { - "blob_sha": "af1391a679253506294dd60974dc3325fc511437", + "blob_sha": "e98063fad3a122e262c02f60f04a955043521616", "commits": [], - "end_line": 44, - "id": "E2", + "end_line": 36, + "id": "E9", "kind": "lines", - "path": "src/main/webapp/app/quiz/manage/drag-and-drop-question/drag-and-drop-question-edit.component.ts", + "path": "src/main/webapp/app/quiz/manage/short-answer-question/short-answer-question-edit.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 44 + "start_line": 36 }, { - "blob_sha": "af1391a679253506294dd60974dc3325fc511437", + "blob_sha": "e98063fad3a122e262c02f60f04a955043521616", "commits": [], - "end_line": 43, - "id": "E3", + "end_line": 37, + "id": "E10", "kind": "lines", - "path": "src/main/webapp/app/quiz/manage/drag-and-drop-question/drag-and-drop-question-edit.component.ts", + "path": "src/main/webapp/app/quiz/manage/short-answer-question/short-answer-question-edit.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 43 + "start_line": 37 } ], "src": "M:src/main/webapp/app/quiz" @@ -30593,6 +61841,54 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 36 + }, + { + "blob_sha": "d94981e051bd0cd04ea5e4dd7b88b08b321fa649", + "commits": [], + "end_line": 38, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/update/quiz-exercise-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 38 + }, + { + "blob_sha": "d94981e051bd0cd04ea5e4dd7b88b08b321fa649", + "commits": [], + "end_line": 37, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/update/quiz-exercise-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 37 + }, + { + "blob_sha": "2c44863431831beea1753647f0ac026e18dab26c", + "commits": [], + "end_line": 3, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/quiz/shared/entities/quiz-configuration.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "524db7bba72db30a2c367e20c3339fa8abcc40b1", + "commits": [], + "end_line": 5, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/quiz/shared/entities/quiz-exercise.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 } ], "src": "M:src/main/webapp/app/quiz" @@ -30639,6 +61935,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 9 + }, + { + "blob_sha": "5ea217c6bb65382b9577cd6e418cb994e9754b44", + "commits": [], + "end_line": 14, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/detail/quiz-exercise-detail.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "5ea217c6bb65382b9577cd6e418cb994e9754b44", + "commits": [], + "end_line": 3, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/detail/quiz-exercise-detail.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "5ea217c6bb65382b9577cd6e418cb994e9754b44", + "commits": [], + "end_line": 13, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/detail/quiz-exercise-detail.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "5ea217c6bb65382b9577cd6e418cb994e9754b44", + "commits": [], + "end_line": 8, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/detail/quiz-exercise-detail.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "ed1cc50a1c8406d47d808afc22fc375e95559cad", + "commits": [], + "end_line": 9, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/list-edit-existing/quiz-question-list-edit-existing.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "3f4109ac2dda217e3835b76050a507bc6e648c18", + "commits": [], + "end_line": 4, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/manage-buttons/quiz-exercise-manage-buttons.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "3f4109ac2dda217e3835b76050a507bc6e648c18", + "commits": [], + "end_line": 16, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/manage-buttons/quiz-exercise-manage-buttons.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 } ], "src": "M:src/main/webapp/app/quiz" @@ -30685,6 +62065,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 7 + }, + { + "blob_sha": "8a2a4375b9e966e2b87bbc486e24fd0c25b5552a", + "commits": [], + "end_line": 15, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/apollon-diagrams/detail/apollon-diagram-detail.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "8a2a4375b9e966e2b87bbc486e24fd0c25b5552a", + "commits": [], + "end_line": 17, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/apollon-diagrams/detail/apollon-diagram-detail.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "8a2a4375b9e966e2b87bbc486e24fd0c25b5552a", + "commits": [], + "end_line": 6, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/apollon-diagrams/detail/apollon-diagram-detail.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "8a2a4375b9e966e2b87bbc486e24fd0c25b5552a", + "commits": [], + "end_line": 20, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/apollon-diagrams/detail/apollon-diagram-detail.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "8a2a4375b9e966e2b87bbc486e24fd0c25b5552a", + "commits": [], + "end_line": 19, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/apollon-diagrams/detail/apollon-diagram-detail.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "f05c89e04ea8c4ecad172b700ab56076065141e6", + "commits": [], + "end_line": 8, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/apollon-diagrams/exercise-generation/quiz-exercise-generator.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "58176659ca942103ca1dc321fcd9d8444e8a973c", + "commits": [], + "end_line": 15, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/apollon-diagrams/list/apollon-diagram-list.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 } ], "src": "M:src/main/webapp/app/quiz" @@ -30731,6 +62195,42 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 78 + }, + { + "blob_sha": "d94981e051bd0cd04ea5e4dd7b88b08b321fa649", + "commits": [], + "end_line": 77, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/update/quiz-exercise-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 77 + }, + { + "blob_sha": "d94981e051bd0cd04ea5e4dd7b88b08b321fa649", + "commits": [], + "end_line": 79, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/update/quiz-exercise-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 79 + }, + { + "blob_sha": "eb4adabfcf6be5198f9c88302aa544a170831e2b", + "commits": [], + "end_line": 2, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/update/quiz-question-handoff.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 } ], "src": "M:src/main/webapp/app/quiz" @@ -30777,6 +62277,54 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 5 + }, + { + "blob_sha": "8a2a4375b9e966e2b87bbc486e24fd0c25b5552a", + "commits": [], + "end_line": 21, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/apollon-diagrams/detail/apollon-diagram-detail.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "f05c89e04ea8c4ecad172b700ab56076065141e6", + "commits": [], + "end_line": 9, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/apollon-diagrams/exercise-generation/quiz-exercise-generator.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "58176659ca942103ca1dc321fcd9d8444e8a973c", + "commits": [], + "end_line": 9, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/apollon-diagrams/list/apollon-diagram-list.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "0c523d69358e6bf7163daab4232235c3d4b147c2", + "commits": [], + "end_line": 5, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/apollon-diagrams/services/apollon-diagram.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 } ], "src": "M:src/main/webapp/app/quiz" @@ -30823,6 +62371,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 7 + }, + { + "blob_sha": "5ea217c6bb65382b9577cd6e418cb994e9754b44", + "commits": [], + "end_line": 10, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/detail/quiz-exercise-detail.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "5ea217c6bb65382b9577cd6e418cb994e9754b44", + "commits": [], + "end_line": 20, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/detail/quiz-exercise-detail.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "af1391a679253506294dd60974dc3325fc511437", + "commits": [], + "end_line": 37, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/drag-and-drop-question/drag-and-drop-question-edit.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 37 + }, + { + "blob_sha": "af1391a679253506294dd60974dc3325fc511437", + "commits": [], + "end_line": 53, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/drag-and-drop-question/drag-and-drop-question-edit.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 53 + }, + { + "blob_sha": "9e6779dc8d0e952d5883754c4b66df098fcd0438", + "commits": [], + "end_line": 5, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/lifecyle-buttons/quiz-exercise-lifecycle-buttons.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "9e6779dc8d0e952d5883754c4b66df098fcd0438", + "commits": [], + "end_line": 11, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/lifecyle-buttons/quiz-exercise-lifecycle-buttons.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "3f4109ac2dda217e3835b76050a507bc6e648c18", + "commits": [], + "end_line": 12, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/quiz/manage/manage-buttons/quiz-exercise-manage-buttons.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 } ], "src": "M:src/main/webapp/app/quiz" @@ -30947,6 +62579,30 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 25 + }, + { + "blob_sha": "66a0bd0ce33552e04e5e4259c7c818f569e20541", + "commits": [], + "end_line": 8, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/shared/deimos/deimos-date-range-modal.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "66a0bd0ce33552e04e5e4259c7c818f569e20541", + "commits": [], + "end_line": 9, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/shared/deimos/deimos-date-range-modal.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 } ], "src": "M:src/main/webapp/app/shared" @@ -31061,6 +62717,18 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 10 + }, + { + "blob_sha": "8a418e910752f81eee5753b491527a43d026b0a1", + "commits": [], + "end_line": 13, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/shared-ui/user-registration-modal/user-registration-modal.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 } ], "src": "M:src/main/webapp/app/shared-ui" @@ -31107,6 +62775,42 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 18 + }, + { + "blob_sha": "a0d4b3229e3adb799164fb74342359b371f834ae", + "commits": [], + "end_line": 19, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/shared-ui/components/buttons/code-button/code-button.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "a0d4b3229e3adb799164fb74342359b371f834ae", + "commits": [], + "end_line": 21, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/shared-ui/components/buttons/code-button/code-button.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 21 + }, + { + "blob_sha": "2d0f98536b476354cba7bfa144b4681a42c308f3", + "commits": [], + "end_line": 17, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/shared-ui/user-import/dialog/users-import-dialog.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 } ], "src": "M:src/main/webapp/app/shared-ui" @@ -31153,40 +62857,100 @@ "kind": "uses", "refs": [ { - "blob_sha": "a3a0cb38db484500b0e115c1e82fb66889284577", + "blob_sha": "a3a0cb38db484500b0e115c1e82fb66889284577", + "commits": [], + "end_line": 19, + "id": "E1", + "kind": "lines", + "path": "src/main/webapp/app/shared-ui/components/buttons/code-button/code-button-popover-content.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 19 + }, + { + "blob_sha": "a0d4b3229e3adb799164fb74342359b371f834ae", + "commits": [], + "end_line": 13, + "id": "E2", + "kind": "lines", + "path": "src/main/webapp/app/shared-ui/components/buttons/code-button/code-button.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "a0d4b3229e3adb799164fb74342359b371f834ae", + "commits": [], + "end_line": 8, + "id": "E3", + "kind": "lines", + "path": "src/main/webapp/app/shared-ui/components/buttons/code-button/code-button.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "98d0ae1b9625140f464d94bfba3f12acffa94bf5", + "commits": [], + "end_line": 14, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/shared-ui/components/buttons/course-exam-archive-button/course-exam-archive-button.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "bf5a8e10cbb05ed9e1a79982e491ecfa0eb5816d", + "commits": [], + "end_line": 9, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/shared-ui/delete-dialog/service/entity-deletion.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "6e3153e4b7ad9358945a8a5fb39a934a36ce4737", "commits": [], - "end_line": 19, - "id": "E1", + "end_line": 14, + "id": "E6", "kind": "lines", - "path": "src/main/webapp/app/shared-ui/components/buttons/code-button/code-button-popover-content.component.ts", + "path": "src/main/webapp/app/shared-ui/image-cropper/component/image-cropper.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 19 + "start_line": 14 }, { - "blob_sha": "a0d4b3229e3adb799164fb74342359b371f834ae", + "blob_sha": "2d0f98536b476354cba7bfa144b4681a42c308f3", "commits": [], - "end_line": 13, - "id": "E2", + "end_line": 14, + "id": "E7", "kind": "lines", - "path": "src/main/webapp/app/shared-ui/components/buttons/code-button/code-button.component.ts", + "path": "src/main/webapp/app/shared-ui/user-import/dialog/users-import-dialog.component.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 13 + "start_line": 14 }, { - "blob_sha": "a0d4b3229e3adb799164fb74342359b371f834ae", + "blob_sha": "425a38eac1d15c46b46ff069b181d02283b18e22", "commits": [], - "end_line": 8, - "id": "E3", + "end_line": 3, + "id": "E8", "kind": "lines", - "path": "src/main/webapp/app/shared-ui/components/buttons/code-button/code-button.component.ts", + "path": "src/main/webapp/app/shared-ui/user-import/util/read-users-from-csv.ts", "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 8 + "start_line": 3 } ], "src": "M:src/main/webapp/app/shared-ui" @@ -31279,6 +63043,54 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 5 + }, + { + "blob_sha": "2d0f98536b476354cba7bfa144b4681a42c308f3", + "commits": [], + "end_line": 13, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/shared-ui/user-import/dialog/users-import-dialog.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "2d0f98536b476354cba7bfa144b4681a42c308f3", + "commits": [], + "end_line": 8, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/shared-ui/user-import/dialog/users-import-dialog.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "2d0f98536b476354cba7bfa144b4681a42c308f3", + "commits": [], + "end_line": 12, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/shared-ui/user-import/dialog/users-import-dialog.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "425a38eac1d15c46b46ff069b181d02283b18e22", + "commits": [], + "end_line": 4, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/shared-ui/user-import/util/read-users-from-csv.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 } ], "src": "M:src/main/webapp/app/shared-ui" @@ -31325,6 +63137,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 12 + }, + { + "blob_sha": "dda33ef7d8ec1b6f2251018543d1eb836ff1317b", + "commits": [], + "end_line": 4, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/shared-ui/detail-overview-list/detail.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "dda33ef7d8ec1b6f2251018543d1eb836ff1317b", + "commits": [], + "end_line": 3, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/shared-ui/detail-overview-list/detail.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "dda33ef7d8ec1b6f2251018543d1eb836ff1317b", + "commits": [], + "end_line": 2, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/shared-ui/detail-overview-list/detail.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "2ac35e779fb9845ec3c2a1f6dee186a284f19d2b", + "commits": [], + "end_line": 1, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/shared-ui/export/row-builder/export-row-builder.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 1 + }, + { + "blob_sha": "16b60fc828cb476610557bdf3aae589495010501", + "commits": [], + "end_line": 13, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/shared-ui/form/form-footer/form-footer.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "16b60fc828cb476610557bdf3aae589495010501", + "commits": [], + "end_line": 6, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/shared-ui/form/form-footer/form-footer.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "16b60fc828cb476610557bdf3aae589495010501", + "commits": [], + "end_line": 7, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/shared-ui/form/form-footer/form-footer.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 } ], "src": "M:src/main/webapp/app/shared-ui" @@ -31371,6 +63267,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 4 + }, + { + "blob_sha": "f8bc2267a45110f96cf64fc361ee08fc0c0fdb4b", + "commits": [], + "end_line": 9, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/shared-ui/components/buttons/button/button.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "f8bc2267a45110f96cf64fc361ee08fc0c0fdb4b", + "commits": [], + "end_line": 10, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/shared-ui/components/buttons/button/button.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "a3a0cb38db484500b0e115c1e82fb66889284577", + "commits": [], + "end_line": 10, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/shared-ui/components/buttons/code-button/code-button-popover-content.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "a3a0cb38db484500b0e115c1e82fb66889284577", + "commits": [], + "end_line": 11, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/shared-ui/components/buttons/code-button/code-button-popover-content.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "a3a0cb38db484500b0e115c1e82fb66889284577", + "commits": [], + "end_line": 13, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/shared-ui/components/buttons/code-button/code-button-popover-content.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "a0d4b3229e3adb799164fb74342359b371f834ae", + "commits": [], + "end_line": 25, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/shared-ui/components/buttons/code-button/code-button.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 + }, + { + "blob_sha": "a0d4b3229e3adb799164fb74342359b371f834ae", + "commits": [], + "end_line": 26, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/shared-ui/components/buttons/code-button/code-button.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 26 } ], "src": "M:src/main/webapp/app/shared-ui" @@ -31451,6 +63431,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 16 + }, + { + "blob_sha": "a0d4b3229e3adb799164fb74342359b371f834ae", + "commits": [], + "end_line": 15, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/shared-ui/components/buttons/code-button/code-button.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 15 + }, + { + "blob_sha": "a0d4b3229e3adb799164fb74342359b371f834ae", + "commits": [], + "end_line": 20, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/shared-ui/components/buttons/code-button/code-button.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "d078311d1f7194b735a5d8d33819148fc785ceda", + "commits": [], + "end_line": 10, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/shared-ui/detail-overview-list/components/programming-diff-report-detail/programming-diff-report-detail.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "d078311d1f7194b735a5d8d33819148fc785ceda", + "commits": [], + "end_line": 6, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/shared-ui/detail-overview-list/components/programming-diff-report-detail/programming-diff-report-detail.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "efe341ab072595a2e2c8bfb425543730348066be", + "commits": [], + "end_line": 18, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/shared-ui/detail-overview-list/detail-overview-list.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "efe341ab072595a2e2c8bfb425543730348066be", + "commits": [], + "end_line": 13, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/shared-ui/detail-overview-list/detail-overview-list.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "efe341ab072595a2e2c8bfb425543730348066be", + "commits": [], + "end_line": 22, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/shared-ui/detail-overview-list/detail-overview-list.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 } ], "src": "M:src/main/webapp/app/shared-ui" @@ -31619,6 +63683,18 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 14 + }, + { + "blob_sha": "a1be494d75704f969943f8955c83acc06f9d9a58", + "commits": [], + "end_line": 8, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/sharing/sharing.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 } ], "src": "M:src/main/webapp/app/sharing" @@ -31709,6 +63785,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 17 + }, + { + "blob_sha": "13e06bf64ac6cd3005b004f32e21356b8be92ddf", + "commits": [], + "end_line": 12, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/text/manage/assess/assessment-base/text-assessment-base.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "2b4373bc6b2984b0e16af04ee58eb34a38a99f0a", + "commits": [], + "end_line": 3, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/text/manage/assess/manual-text-selection/manual-text-selection.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "4510ae7576686d4bf201ea2e1ffc3ba2fed99b42", + "commits": [], + "end_line": 1, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/text/manage/assess/manual-textblock-selection/manual-textblock-selection.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 1 + }, + { + "blob_sha": "faab53219b3d0fe637dbae2a1f1f12cd3f86a6d5", + "commits": [], + "end_line": 6, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/text/manage/assess/service/text-assessment.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "faab53219b3d0fe637dbae2a1f1f12cd3f86a6d5", + "commits": [], + "end_line": 7, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/text/manage/assess/service/text-assessment.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "e4bf1c9d28f8a1f4cb2da25fd27e834760f5ea6c", + "commits": [], + "end_line": 7, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/text/manage/assess/service/text-submission-assessment-resolve.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "e4bf1c9d28f8a1f4cb2da25fd27e834760f5ea6c", + "commits": [], + "end_line": 13, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/text/manage/assess/service/text-submission-assessment-resolve.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 } ], "src": "M:src/main/webapp/app/text" @@ -31811,6 +63971,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 8 + }, + { + "blob_sha": "13e06bf64ac6cd3005b004f32e21356b8be92ddf", + "commits": [], + "end_line": 8, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/text/manage/assess/assessment-base/text-assessment-base.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "13e06bf64ac6cd3005b004f32e21356b8be92ddf", + "commits": [], + "end_line": 16, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/text/manage/assess/assessment-base/text-assessment-base.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 + }, + { + "blob_sha": "faab53219b3d0fe637dbae2a1f1f12cd3f86a6d5", + "commits": [], + "end_line": 20, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/text/manage/assess/service/text-assessment.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "e7b11703df466f41402de35e7eddff62a0c0238b", + "commits": [], + "end_line": 2, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/text/manage/assess/text-submission-assessment.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "638d0634eb061cf1f216b245906a1708788cbb9f", + "commits": [], + "end_line": 2, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/text/manage/example-text-submission/example-text-submission.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "fa8a525afed1f10cb4bedb9a47a1f88fe4025aae", + "commits": [], + "end_line": 3, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/text/manage/text-exercise/text-exercise.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "030f778a34bfef8ca02fe8a53ba20b7432f40b82", + "commits": [], + "end_line": 42, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/text/manage/text-exercise/update/text-exercise-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 42 } ], "src": "M:src/main/webapp/app/text" @@ -31856,7 +64100,91 @@ "repo": "ls1intum/Artemis", "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", - "start_line": 8 + "start_line": 8 + }, + { + "blob_sha": "9ae87454ce4ad88b680b225177f59d64ef9a953d", + "commits": [], + "end_line": 12, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/text/manage/text-exercise/service/text-exercise-resolver.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "030f778a34bfef8ca02fe8a53ba20b7432f40b82", + "commits": [], + "end_line": 29, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/text/manage/text-exercise/update/text-exercise-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "030f778a34bfef8ca02fe8a53ba20b7432f40b82", + "commits": [], + "end_line": 11, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/text/manage/text-exercise/update/text-exercise-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "2afcbfe023a296578ae1c9dd6195b276dabf960b", + "commits": [], + "end_line": 5, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/text/overview/service/text-editor.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "6af03d3f132b8304884d2ad5c8a119626d0ec405", + "commits": [], + "end_line": 36, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/text/overview/text-editor/text-editor.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 36 + }, + { + "blob_sha": "6af03d3f132b8304884d2ad5c8a119626d0ec405", + "commits": [], + "end_line": 10, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/text/overview/text-editor/text-editor.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "9715d19c13a07ecfa7dc0be6019e95d8e5eb8735", + "commits": [], + "end_line": 7, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/text/overview/text-result/text-result.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 } ], "src": "M:src/main/webapp/app/text" @@ -31937,6 +64265,18 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 16 + }, + { + "blob_sha": "c5c6ecd97067517465d49c97bac023df8e486f11", + "commits": [], + "end_line": 3, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/text/shared/entities/text-exercise.model.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 } ], "src": "M:src/main/webapp/app/text" @@ -31983,6 +64323,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 10 + }, + { + "blob_sha": "13e06bf64ac6cd3005b004f32e21356b8be92ddf", + "commits": [], + "end_line": 14, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/text/manage/assess/assessment-base/text-assessment-base.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 14 + }, + { + "blob_sha": "4510ae7576686d4bf201ea2e1ffc3ba2fed99b42", + "commits": [], + "end_line": 6, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/text/manage/assess/manual-textblock-selection/manual-textblock-selection.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 6 + }, + { + "blob_sha": "faab53219b3d0fe637dbae2a1f1f12cd3f86a6d5", + "commits": [], + "end_line": 18, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/text/manage/assess/service/text-assessment.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 18 + }, + { + "blob_sha": "faab53219b3d0fe637dbae2a1f1f12cd3f86a6d5", + "commits": [], + "end_line": 8, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/text/manage/assess/service/text-assessment.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "faab53219b3d0fe637dbae2a1f1f12cd3f86a6d5", + "commits": [], + "end_line": 5, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/text/manage/assess/service/text-assessment.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "faab53219b3d0fe637dbae2a1f1f12cd3f86a6d5", + "commits": [], + "end_line": 17, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/text/manage/assess/service/text-assessment.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "e4bf1c9d28f8a1f4cb2da25fd27e834760f5ea6c", + "commits": [], + "end_line": 8, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/text/manage/assess/service/text-submission-assessment-resolve.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 } ], "src": "M:src/main/webapp/app/text" @@ -32029,6 +64453,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 21 + }, + { + "blob_sha": "faab53219b3d0fe637dbae2a1f1f12cd3f86a6d5", + "commits": [], + "end_line": 22, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/text/manage/assess/service/text-assessment.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 22 + }, + { + "blob_sha": "c506bfa5da25f4dd0aff857febddbc4784eff08f", + "commits": [], + "end_line": 47, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/text/manage/assess/submission-assessment/text-submission-assessment.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 47 + }, + { + "blob_sha": "c506bfa5da25f4dd0aff857febddbc4784eff08f", + "commits": [], + "end_line": 53, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/text/manage/assess/submission-assessment/text-submission-assessment.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 53 + }, + { + "blob_sha": "c506bfa5da25f4dd0aff857febddbc4784eff08f", + "commits": [], + "end_line": 17, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/text/manage/assess/submission-assessment/text-submission-assessment.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 + }, + { + "blob_sha": "c506bfa5da25f4dd0aff857febddbc4784eff08f", + "commits": [], + "end_line": 20, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/text/manage/assess/submission-assessment/text-submission-assessment.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "c506bfa5da25f4dd0aff857febddbc4784eff08f", + "commits": [], + "end_line": 29, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/text/manage/assess/submission-assessment/text-submission-assessment.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 29 + }, + { + "blob_sha": "c506bfa5da25f4dd0aff857febddbc4784eff08f", + "commits": [], + "end_line": 16, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/text/manage/assess/submission-assessment/text-submission-assessment.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 } ], "src": "M:src/main/webapp/app/text" @@ -32075,6 +64583,30 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 17 + }, + { + "blob_sha": "030f778a34bfef8ca02fe8a53ba20b7432f40b82", + "commits": [], + "end_line": 38, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/text/manage/text-exercise/update/text-exercise-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 38 + }, + { + "blob_sha": "23a84f2aa424b9e76d274a01d6818d081201264b", + "commits": [], + "end_line": 16, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/text/manage/tutor-effort/tutor-effort-statistics.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 } ], "src": "M:src/main/webapp/app/text" @@ -32167,6 +64699,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 19 + }, + { + "blob_sha": "ff8d27e6f70555319dca8d96b54d7b1c42bb32e0", + "commits": [], + "end_line": 20, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/text/manage/detail/text-exercise-detail.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 20 + }, + { + "blob_sha": "ff8d27e6f70555319dca8d96b54d7b1c42bb32e0", + "commits": [], + "end_line": 30, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/text/manage/detail/text-exercise-detail.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 30 + }, + { + "blob_sha": "9fdc8c6f6ff980395a5790f7928828369072111e", + "commits": [], + "end_line": 1, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/text/manage/example-text-submission/example-text-submission.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 1 + }, + { + "blob_sha": "9fdc8c6f6ff980395a5790f7928828369072111e", + "commits": [], + "end_line": 35, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/text/manage/example-text-submission/example-text-submission.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 35 + }, + { + "blob_sha": "9fdc8c6f6ff980395a5790f7928828369072111e", + "commits": [], + "end_line": 32, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/text/manage/example-text-submission/example-text-submission.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 32 + }, + { + "blob_sha": "9fdc8c6f6ff980395a5790f7928828369072111e", + "commits": [], + "end_line": 36, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/text/manage/example-text-submission/example-text-submission.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 36 + }, + { + "blob_sha": "030f778a34bfef8ca02fe8a53ba20b7432f40b82", + "commits": [], + "end_line": 25, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/text/manage/text-exercise/update/text-exercise-update.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 25 } ], "src": "M:src/main/webapp/app/text" @@ -32315,6 +64931,18 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 11 + }, + { + "blob_sha": "64465709e0cde7824f86ba4b22541e06b1377391", + "commits": [], + "end_line": 12, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/tutorialgroup/shared/util/convertTutorialGroupEntityDates.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 } ], "src": "M:src/main/webapp/app/tutorialgroup" @@ -32361,6 +64989,54 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 12 + }, + { + "blob_sha": "3be40703cb6a0df4e382c179be4cdd60c9655db4", + "commits": [], + "end_line": 5, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/tutorialgroup/manage/tutorial-groups-management.route.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "a1506408b3ecf8ca9820d54d24704794d041f2b8", + "commits": [], + "end_line": 8, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/tutorialgroup/manage/tutorial-registrations-container/tutorial-registrations-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "b845e457abd07d87b1f25c15a962860e87ff3fad", + "commits": [], + "end_line": 13, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/tutorialgroup/shared/service/tutorial-group-course-and-group.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "b845e457abd07d87b1f25c15a962860e87ff3fad", + "commits": [], + "end_line": 11, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/tutorialgroup/shared/service/tutorial-group-course-and-group.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 } ], "src": "M:src/main/webapp/app/tutorialgroup" @@ -32407,6 +65083,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 6 + }, + { + "blob_sha": "6125a246033a01dabad5382cb58af47e411273f8", + "commits": [], + "end_line": 23, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/tutorialgroup/manage/management-tutorial-group-detail-container/management-tutorial-group-detail-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 23 + }, + { + "blob_sha": "369ac62eb859c3dd1db562e33c1b00889cb8b70e", + "commits": [], + "end_line": 4, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/tutorialgroup/manage/service/tutorial-group-management-course-resolver.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 + }, + { + "blob_sha": "369ac62eb859c3dd1db562e33c1b00889cb8b70e", + "commits": [], + "end_line": 3, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/tutorialgroup/manage/service/tutorial-group-management-course-resolver.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "257ba9906cdc6f7d095a76bba1bcbdccc1173515", + "commits": [], + "end_line": 2, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/tutorialgroup/manage/service/tutorial-group-tutors.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 2 + }, + { + "blob_sha": "257ba9906cdc6f7d095a76bba1bcbdccc1173515", + "commits": [], + "end_line": 3, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/tutorialgroup/manage/service/tutorial-group-tutors.service.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "d9dbed2f24b883852e598941cdf38aab0457a875", + "commits": [], + "end_line": 3, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/tutorialgroup/manage/tutorial-groups-checklist/tutorial-groups-checklist.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 3 + }, + { + "blob_sha": "d9dbed2f24b883852e598941cdf38aab0457a875", + "commits": [], + "end_line": 4, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/tutorialgroup/manage/tutorial-groups-checklist/tutorial-groups-checklist.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 4 } ], "src": "M:src/main/webapp/app/tutorialgroup" @@ -32453,6 +65213,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 12 + }, + { + "blob_sha": "8abd6cdf308890ac8fcf5df3ff46ca9e55280e03", + "commits": [], + "end_line": 10, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/tutorialgroup/manage/holidays/holiday-list/holiday-list.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 10 + }, + { + "blob_sha": "8abd6cdf308890ac8fcf5df3ff46ca9e55280e03", + "commits": [], + "end_line": 11, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/tutorialgroup/manage/holidays/holiday-list/holiday-list.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "8abd6cdf308890ac8fcf5df3ff46ca9e55280e03", + "commits": [], + "end_line": 12, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/tutorialgroup/manage/holidays/holiday-list/holiday-list.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 12 + }, + { + "blob_sha": "4a9bb27dddf4e404d042be6255a226ac4e4d9fff", + "commits": [], + "end_line": 7, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/tutorialgroup/manage/holidays/holiday-month-grid/holiday-month-grid.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 7 + }, + { + "blob_sha": "4a9bb27dddf4e404d042be6255a226ac4e4d9fff", + "commits": [], + "end_line": 8, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/tutorialgroup/manage/holidays/holiday-month-grid/holiday-month-grid.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 8 + }, + { + "blob_sha": "4a9bb27dddf4e404d042be6255a226ac4e4d9fff", + "commits": [], + "end_line": 9, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/tutorialgroup/manage/holidays/holiday-month-grid/holiday-month-grid.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 9 + }, + { + "blob_sha": "6273c9f85efe78e976e1af59f1d095206f9e20ac", + "commits": [], + "end_line": 17, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/tutorialgroup/manage/holidays/tutorial-group-holidays.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 17 } ], "src": "M:src/main/webapp/app/tutorialgroup" @@ -32499,6 +65343,18 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 20 + }, + { + "blob_sha": "c5e6c18a826748d72f77aeb0514d4418d5833930", + "commits": [], + "end_line": 42, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/tutorialgroup/shared/tutorial-group-detail/tutorial-group-detail.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 42 } ], "src": "M:src/main/webapp/app/tutorialgroup" @@ -32545,6 +65401,90 @@ "role": "import", "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", "start_line": 6 + }, + { + "blob_sha": "d9dbed2f24b883852e598941cdf38aab0457a875", + "commits": [], + "end_line": 13, + "id": "E4", + "kind": "lines", + "path": "src/main/webapp/app/tutorialgroup/manage/tutorial-groups-checklist/tutorial-groups-checklist.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 13 + }, + { + "blob_sha": "d9dbed2f24b883852e598941cdf38aab0457a875", + "commits": [], + "end_line": 11, + "id": "E5", + "kind": "lines", + "path": "src/main/webapp/app/tutorialgroup/manage/tutorial-groups-checklist/tutorial-groups-checklist.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "49d0a60ff25db1ff163966216e8ee82e97d9640f", + "commits": [], + "end_line": 11, + "id": "E6", + "kind": "lines", + "path": "src/main/webapp/app/tutorialgroup/manage/tutorial-groups-configuration/crud/create-tutorial-groups-configuration/create-tutorial-groups-configuration.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "bb6966452fef1da9517e6cb5aff8f66aeca8b065", + "commits": [], + "end_line": 11, + "id": "E7", + "kind": "lines", + "path": "src/main/webapp/app/tutorialgroup/manage/tutorial-groups-configuration/crud/edit-tutorial-groups-configuration/edit-tutorial-groups-configuration.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "16335bae7eedd8d309130746bb3073acb6387bc6", + "commits": [], + "end_line": 11, + "id": "E8", + "kind": "lines", + "path": "src/main/webapp/app/tutorialgroup/manage/tutorial-groups-management/tutorial-group-row-buttons/tutorial-group-row-buttons.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 11 + }, + { + "blob_sha": "a1506408b3ecf8ca9820d54d24704794d041f2b8", + "commits": [], + "end_line": 5, + "id": "E9", + "kind": "lines", + "path": "src/main/webapp/app/tutorialgroup/manage/tutorial-registrations-container/tutorial-registrations-container.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 5 + }, + { + "blob_sha": "dc69d6c2aa16cc7b86e72a15e25e8da7669e25a0", + "commits": [], + "end_line": 16, + "id": "E10", + "kind": "lines", + "path": "src/main/webapp/app/tutorialgroup/manage/tutorial-registrations-import-modal/tutorial-registrations-import-modal.component.ts", + "repo": "ls1intum/Artemis", + "role": "import", + "snapshot_sha": "d8fc4519563de28366e80edd77d2020a2c7a5157", + "start_line": 16 } ], "src": "M:src/main/webapp/app/tutorialgroup" diff --git a/web/public/bundles/graylog/code/0004e4b166e5ad8e3eb15e246fd739717378620e.json b/web/public/bundles/graylog/code/0004e4b166e5ad8e3eb15e246fd739717378620e.json new file mode 100644 index 00000000..65177b9c --- /dev/null +++ b/web/public/bundles/graylog/code/0004e4b166e5ad8e3eb15e246fd739717378620e.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0004e4b166e5ad8e3eb15e246fd739717378620e", + "language": "typescript", + "path": "graylog2-web-interface/src/pages/EnterprisePage.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\n\nimport { DocumentTitle, PageHeader } from 'components/common';\nimport GraylogClusterOverview from 'components/cluster/GraylogClusterOverview';\nimport PluginList from 'components/enterprise/PluginList';\nimport EnterpriseProductLink from 'components/enterprise/EnterpriseProductLink';\nimport HideOnCloud from 'util/conditional/HideOnCloud';\nimport useProductName from 'brand-customization/useProductName';\nimport AdvertisementSection from 'components/enterprise/AdvertisementSection';\nimport usePluggableUpsellWrapper from 'hooks/usePluggableUpsellWrapper';\n\nconst EnterprisePage = () => {\n const productName = useProductName();\n const UpsellWrapper = usePluggableUpsellWrapper();\n\n return (\n \n

\n \n Try {productName} Enterprise\n \n }>\n \n \n Learn More about {productName} Enterprise features.\n \n \n \n\n \n \n \n \n \n \n \n \n
\n \n );\n};\n\nexport default EnterprisePage;\n" +} diff --git a/web/public/bundles/graylog/code/002af4e7c7f6a66c939961ed3b3cf6f93bb3a876.json b/web/public/bundles/graylog/code/002af4e7c7f6a66c939961ed3b3cf6f93bb3a876.json new file mode 100644 index 00000000..61e14928 --- /dev/null +++ b/web/public/bundles/graylog/code/002af4e7c7f6a66c939961ed3b3cf6f93bb3a876.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "002af4e7c7f6a66c939961ed3b3cf6f93bb3a876", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/IndexSetAwareMessageOutputBuffer.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.outputs;\n\nimport com.codahale.metrics.Meter;\nimport com.fasterxml.jackson.databind.ObjectMapper;\nimport com.github.joschi.jadconfig.util.Size;\nimport com.google.common.annotations.VisibleForTesting;\nimport com.google.common.base.MoreObjects;\nimport jakarta.inject.Inject;\nimport jakarta.inject.Named;\nimport org.graylog2.indexer.indexset.IndexSet;\nimport org.graylog2.indexer.messages.ImmutableMessage;\nimport org.graylog2.indexer.messages.SerializationContext;\nimport org.graylog2.outputs.filter.FilteredMessage;\n\nimport java.io.IOException;\nimport java.time.Duration;\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.concurrent.atomic.AtomicLong;\nimport java.util.function.Consumer;\n\n/**\n * A thread-safe and index set aware output buffer implementation.\n *

\n * This buffer class is aware of index sets and calculates the remaining buffer capacity based on the number of\n * index sets per message.\n * If a message has two different index sets, the indexer output will create one message entry per index\n * set in the bulk request against OpenSearch.\n *

\n * To avoid bulk requests that get too big, we reserve one buffer slot per message and index set.\n * The trade-off is that outputs which don't create one message per index set will write smaller batches.\n */\npublic class IndexSetAwareMessageOutputBuffer {\n private final int maxBufferSizeCount;\n private final long maxBufferSizeBytes;\n private final ObjectMapper objectMapper;\n\n private volatile List buffer;\n private volatile int bufferLength = 0;\n private volatile long bufferSizeBytes = 0L;\n private final AtomicLong lastFlushTime = new AtomicLong();\n\n /**\n * Creates a new buffer with the given size.\n *\n * @param maxBufferSize the maximum buffer size\n */\n @Inject\n public IndexSetAwareMessageOutputBuffer(@Named(\"output_batch_size\") BatchSizeConfig maxBufferSize,\n ObjectMapper objectMapper) {\n\n this.maxBufferSizeCount = maxBufferSize.getAsCount().orElse(0);\n this.maxBufferSizeBytes = maxBufferSize.getAsBytes().map(Size::toBytes).orElse(0L);\n this.buffer = new ArrayList<>(maxBufferSize.getAsCount().orElse(500));\n\n this.objectMapper = objectMapper;\n }\n\n /**\n * Checks if the time of the last buffer flush is larger than the given flush interval.\n *

\n * This method is thread-safe.\n *\n * @param flushInterval the flush interval duration\n * @return true if the time of the last buffer flush is larger than the given flush interval. Otherwise, false.\n */\n public boolean shouldFlush(Duration flushInterval) {\n final long lastFlush = lastFlushTime.get();\n // If we don't know the last flush time, we want to flush. Happens with a new buffer instance.\n return lastFlush == 0 || (System.nanoTime() - lastFlush) > flushInterval.toNanos();\n }\n\n /**\n * Appends the given message to the buffer. If the buffer length has reached the configured max buffer size,\n * the given flush consumer is called with the contents of the buffer and the buffer is reset.\n * The consumer is responsible for handling the buffer content.\n *

\n * This method is thread-safe.\n *\n * @param filteredMessage the message to append to the buffer\n * @param flusher the buffer flush consumer\n */\n public void appendAndFlush(FilteredMessage filteredMessage, Consumer> flusher) {\n List flushBatch = null;\n\n // for optimization, only calculate batch size in bytes, if we are actually restricting by size in bytes\n long estimatedSize = 0L;\n if (maxBufferSizeBytes != 0L) {\n estimatedSize = estimateOsBulkRequestSize(filteredMessage.message(), objectMapper);\n }\n\n synchronized (this) {\n // See class the class documentation for the reasoning behind the bufferLength calculation.\n buffer.add(filteredMessage);\n bufferLength += Math.max(filteredMessage.message().getIndexSets().size(), 1);\n if (estimatedSize > 0L) {\n bufferSizeBytes += estimatedSize;\n }\n\n if ((maxBufferSizeBytes != 0L && bufferSizeBytes >= maxBufferSizeBytes) ||\n maxBufferSizeCount != 0 && bufferLength >= maxBufferSizeCount) {\n flushBatch = buffer;\n buffer = new ArrayList<>(bufferLength);\n bufferLength = 0;\n bufferSizeBytes = 0L;\n }\n }\n // if the current thread found it had to flush any messages, it does so but blocks.\n // this ensures we don't flush more than 'processorCount' in parallel.\n // TODO this will still be time limited by the OutputBufferProcessor and thus be called more often than it should\n if (flushBatch != null) {\n lastFlushTime.set(System.nanoTime());\n flusher.accept(flushBatch);\n }\n }\n\n /**\n * Calls the given flush consumer with the contents of the buffer and the buffer is reset. The consumer is\n * responsible for handling the buffer content.\n *

\n * This method is thread-safe.\n *\n * @param flusher the buffer flush consumer\n */\n public void flush(Consumer> flusher) {\n final List flushBatch;\n synchronized (this) {\n flushBatch = buffer;\n buffer = new ArrayList<>(bufferLength);\n bufferLength = 0;\n bufferSizeBytes = 0L;\n }\n if (flushBatch != null) {\n lastFlushTime.set(System.nanoTime());\n flusher.accept(flushBatch);\n }\n }\n\n /**\n * Get a ballpark figure for the size in bytes that the OpenSarch bulk request for a message will require.\n */\n @VisibleForTesting\n static long estimateOsBulkRequestSize(ImmutableMessage message, ObjectMapper objectMapper) {\n // Get size of the message by preemptively serializing it. The implementation of ImmutableMessage is expected\n // to cache the result so that serialization won't be performed twice.\n long msgSize;\n try {\n msgSize = message.serialize(SerializationContext.of(objectMapper, new Meter())).length + 1; // msg size plus newline\n } catch (IOException e) {\n msgSize = 0;\n }\n\n // An OpenSearch bulk index request will include an \"index\" instruction for each message and each index set.\n // An instruction will look like this:\n // {\"index\":{\"_index\":\"graylog_deflector\",\"_id\":\"70db7111-48fd-11ef-b7e8-5ae4251f926d\"}}\n // Take that into account as well.\n final long indexInstructionsSize = message.getIndexSets().stream()\n .map(IndexSet::getWriteIndexAlias)\n .mapToLong(index -> 32L + MoreObjects.firstNonNull(index, \"\").length() + 36L + 1) // instruction size plus newline\n .sum();\n\n return indexInstructionsSize + msgSize * Math.max(message.getIndexSets().size(), 1);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/0120256d8c4d7cf11087f1112b24b72f247029f3.json b/web/public/bundles/graylog/code/0120256d8c4d7cf11087f1112b24b72f247029f3.json new file mode 100644 index 00000000..3ce81571 --- /dev/null +++ b/web/public/bundles/graylog/code/0120256d8c4d7cf11087f1112b24b72f247029f3.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0120256d8c4d7cf11087f1112b24b72f247029f3", + "language": "java", + "path": "data-node/src/main/java/org/graylog/datanode/configuration/DatanodeConfiguration.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.datanode.configuration;\n\nimport org.graylog.datanode.OpensearchDistribution;\nimport org.graylog2.security.jwt.IndexerJwtAuthToken;\n\n/**\n * DatanodeConfiguration holds the static configuration as parsed during the datanode startup, either from the\n * config file or from the ENV properties.\n */\npublic record DatanodeConfiguration(\n OpensearchDistribution opensearchDistribution,\n DatanodeDirectories datanodeDirectories,\n int processLogsBufferSize,\n IndexerJwtAuthToken indexerJwtAuthToken\n) {\n}\n" +} diff --git a/web/public/bundles/graylog/code/0179651c700d78092545c67624bfae1879f5c35f.json b/web/public/bundles/graylog/code/0179651c700d78092545c67624bfae1879f5c35f.json new file mode 100644 index 00000000..dff24e86 --- /dev/null +++ b/web/public/bundles/graylog/code/0179651c700d78092545c67624bfae1879f5c35f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0179651c700d78092545c67624bfae1879f5c35f", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/providers/MongoConnectionProvider.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.bindings.providers;\n\nimport org.graylog2.configuration.MongoDbConfiguration;\nimport org.graylog2.database.MongoConnection;\nimport org.graylog2.database.MongoConnectionImpl;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport jakarta.inject.Inject;\nimport jakarta.inject.Provider;\n\npublic class MongoConnectionProvider implements Provider {\n private static final Logger LOG = LoggerFactory.getLogger(MongoConnectionProvider.class);\n private static MongoConnection mongoConnection = null;\n\n @Inject\n public MongoConnectionProvider(MongoDbConfiguration configuration) {\n if (mongoConnection == null) {\n try {\n mongoConnection = new MongoConnectionImpl(configuration);\n\n mongoConnection.connect();\n } catch (Exception e) {\n LOG.error(\"Error connecting to MongoDB: {}\", e.getMessage());\n throw e;\n }\n }\n }\n\n @Override\n public MongoConnection get() {\n return mongoConnection;\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/023c60d6991d068fe51b0ae832ed1b9e939affd6.json b/web/public/bundles/graylog/code/023c60d6991d068fe51b0ae832ed1b9e939affd6.json new file mode 100644 index 00000000..52bd0a1a --- /dev/null +++ b/web/public/bundles/graylog/code/023c60d6991d068fe51b0ae832ed1b9e939affd6.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "023c60d6991d068fe51b0ae832ed1b9e939affd6", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/api/PluginRestResourcePrefixes.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.api;\n\nimport io.github.classgraph.ClassGraph;\nimport io.github.classgraph.ClassInfo;\nimport io.github.classgraph.Resource;\nimport io.github.classgraph.ScanResult;\nimport org.graylog2.plugin.PluginModule;\nimport org.objectweb.asm.ClassReader;\nimport org.objectweb.asm.ClassVisitor;\nimport org.objectweb.asm.MethodVisitor;\nimport org.objectweb.asm.Opcodes;\nimport org.objectweb.asm.Type;\n\nimport java.io.IOException;\nimport java.io.UncheckedIOException;\nimport java.util.HashMap;\nimport java.util.HashSet;\nimport java.util.Map;\nimport java.util.Set;\nimport java.util.TreeSet;\n\nimport static org.graylog2.shared.utilities.StringUtils.f;\n\n/**\n * Determines the URL prefix under which the server serves plugin REST resources: the package of the\n * {@link PluginModule} that registers them via {@code addRestResource}, as {@link PluginModule} does at runtime.\n * Resources registered via {@code addSystemRestResource} are not prefixed, even if their module is a {@link PluginModule}.\n */\npublic final class PluginRestResourcePrefixes {\n private static final String ADD_REST_RESOURCE = \"addRestResource\";\n\n private PluginRestResourcePrefixes() {}\n\n public static Map, String> forResources(Set> resourceClasses, String... packageNames) {\n final Map> registeringPackages = new HashMap<>();\n try (final ScanResult scanResult = new ClassGraph().enableClasspath().enableNonSystemModules()\n .enableClassInfo().acceptPackages(packageNames).scan()) {\n for (final ClassInfo module : scanResult.getAllSubclasses(PluginModule.class.getName())) {\n if (module.isAbstract()) {\n continue;\n }\n registeredResources(module).forEach(resource -> registeringPackages\n .computeIfAbsent(resource, name -> new TreeSet<>())\n .add(module.getPackageName()));\n }\n }\n\n final Map, String> prefixes = new HashMap<>();\n for (final Class resourceClass : resourceClasses) {\n final Set packages = registeringPackages.getOrDefault(resourceClass.getName(), Set.of());\n if (packages.size() > 1) {\n throw new IllegalStateException(f(\"%s is registered by plugin modules in %s\", resourceClass.getName(), packages));\n }\n packages.stream().findFirst().ifPresent(prefix -> prefixes.put(resourceClass, prefix));\n }\n return prefixes;\n }\n\n // Collects the class literals passed directly to addRestResource(...) in the module's bytecode.\n private static Set registeredResources(ClassInfo module) {\n final Set resources = new HashSet<>();\n try (final Resource classFile = module.getResource()) {\n new ClassReader(classFile.load()).accept(new ClassVisitor(Opcodes.ASM9) {\n @Override\n public MethodVisitor visitMethod(int access, String name, String descriptor, String signature, String[] exceptions) {\n return new MethodVisitor(Opcodes.ASM9) {\n private String lastClassLiteral;\n\n @Override\n public void visitLdcInsn(Object value) {\n lastClassLiteral = value instanceof Type type ? type.getClassName() : null;\n }\n\n @Override\n public void visitMethodInsn(int opcode, String owner, String name, String descriptor, boolean isInterface) {\n if (ADD_REST_RESOURCE.equals(name) && lastClassLiteral != null) {\n resources.add(lastClassLiteral);\n }\n lastClassLiteral = null;\n }\n };\n }\n }, ClassReader.SKIP_DEBUG | ClassReader.SKIP_FRAMES);\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n return resources;\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/02c80687ede09fbd84b3fe75e867beaf0a4a0779.json b/web/public/bundles/graylog/code/02c80687ede09fbd84b3fe75e867beaf0a4a0779.json new file mode 100644 index 00000000..3ba407bf --- /dev/null +++ b/web/public/bundles/graylog/code/02c80687ede09fbd84b3fe75e867beaf0a4a0779.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "02c80687ede09fbd84b3fe75e867beaf0a4a0779", + "language": "typescript", + "path": "graylog2-web-interface/src/components/metrics/CounterDetails.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\nimport numeral from 'numeral';\n\nimport type { CounterMetric } from 'types/metrics';\n\ntype Props = {\n metric: CounterMetric;\n};\nconst CounterDetails = ({ metric: { metric } }: Props) => (\n

\n
Value:
\n
\n {numeral(metric.count).format('0,0')}\n
\n
\n);\n\nexport default CounterDetails;\n" +} diff --git a/web/public/bundles/graylog/code/02ca058ca75d491c6615723b846e29d1c0113cf2.json b/web/public/bundles/graylog/code/02ca058ca75d491c6615723b846e29d1c0113cf2.json new file mode 100644 index 00000000..f3cd2664 --- /dev/null +++ b/web/public/bundles/graylog/code/02ca058ca75d491c6615723b846e29d1c0113cf2.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "02ca058ca75d491c6615723b846e29d1c0113cf2", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamRuleService.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.streams;\n\nimport org.graylog2.database.NotFoundException;\nimport org.graylog2.plugin.database.PersistedService;\nimport org.graylog2.plugin.database.ValidationException;\nimport org.graylog2.plugin.streams.Stream;\nimport org.graylog2.plugin.streams.StreamRule;\nimport org.graylog2.rest.resources.streams.rules.requests.CreateStreamRuleRequest;\n\nimport javax.annotation.Nullable;\nimport java.util.Collection;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Set;\n\npublic interface StreamRuleService extends PersistedService {\n StreamRule load(String id) throws NotFoundException;\n\n List loadForStream(Stream stream);\n\n StreamRule create(Map data);\n\n StreamRule create(@Nullable String streamId, CreateStreamRuleRequest request);\n\n StreamRule copy(@Nullable String streamId, StreamRule streamRule);\n\n String save(StreamRule streamRule) throws ValidationException;\n\n Set save(Collection streamRules) throws ValidationException;\n\n int destroy(StreamRule streamRule);\n\n List loadForStreamId(String streamId);\n\n Map> loadForStreamIds(Collection streamIds);\n\n /**\n * @return the total number of stream rules\n */\n long totalStreamRuleCount();\n\n /**\n * @param streamId the stream ID\n * @return the number of stream rules for the specified stream\n */\n long streamRuleCount(String streamId);\n\n List loadForInput(String inputId);\n}\n" +} diff --git a/web/public/bundles/graylog/code/02ec1f378cb7f9a1bafb01da629153a4cec46435.json b/web/public/bundles/graylog/code/02ec1f378cb7f9a1bafb01da629153a4cec46435.json new file mode 100644 index 00000000..4c010b93 --- /dev/null +++ b/web/public/bundles/graylog/code/02ec1f378cb7f9a1bafb01da629153a4cec46435.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "02ec1f378cb7f9a1bafb01da629153a4cec46435", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/cluster/ClusterJournalResource.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.resources.cluster;\n\nimport com.codahale.metrics.annotation.Timed;\nimport io.swagger.v3.oas.annotations.Operation;\nimport io.swagger.v3.oas.annotations.Parameter;\nimport io.swagger.v3.oas.annotations.tags.Tag;\nimport org.apache.shiro.authz.annotation.RequiresAuthentication;\nimport org.apache.shiro.authz.annotation.RequiresPermissions;\nimport org.graylog2.cluster.NodeNotFoundException;\nimport org.graylog2.cluster.NodeService;\nimport org.graylog2.rest.RemoteInterfaceProvider;\nimport org.graylog2.rest.resources.system.RemoteJournalResource;\nimport org.graylog2.rest.resources.system.responses.JournalSummaryResponse;\nimport org.graylog2.shared.rest.resources.ProxiedResource;\nimport org.graylog2.shared.security.RestPermissions;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport jakarta.inject.Inject;\nimport jakarta.inject.Named;\n\nimport jakarta.ws.rs.GET;\nimport jakarta.ws.rs.Path;\nimport jakarta.ws.rs.PathParam;\nimport jakarta.ws.rs.Produces;\nimport jakarta.ws.rs.WebApplicationException;\nimport jakarta.ws.rs.core.Context;\nimport jakarta.ws.rs.core.HttpHeaders;\nimport jakarta.ws.rs.core.MediaType;\n\nimport java.io.IOException;\nimport java.util.concurrent.ExecutorService;\nimport java.util.function.Function;\n\nimport static jakarta.ws.rs.core.Response.Status.BAD_GATEWAY;\n\n@RequiresAuthentication\n@Tag(name = \"Cluster/Journal\", description = \"Journal information of any nodes in the cluster\")\n@Path(\"/cluster/{nodeId}/journal\")\n@Produces(MediaType.APPLICATION_JSON)\npublic class ClusterJournalResource extends ProxiedResource {\n private static final Logger LOG = LoggerFactory.getLogger(ClusterJournalResource.class);\n\n @Inject\n public ClusterJournalResource(NodeService nodeService,\n RemoteInterfaceProvider remoteInterfaceProvider,\n @Context HttpHeaders httpHeaders,\n @Named(\"proxiedRequestsExecutorService\") ExecutorService executorService) throws NodeNotFoundException {\n super(httpHeaders, nodeService, remoteInterfaceProvider, executorService);\n }\n\n @GET\n @Timed\n @Operation(summary = \"Get message journal information of a given node\")\n @RequiresPermissions(RestPermissions.JOURNAL_READ)\n public JournalSummaryResponse get(@Parameter(name = \"nodeId\", description = \"The id of the node to get message journal information.\", required = true)\n @PathParam(\"nodeId\") String nodeId) throws IOException, NodeNotFoundException {\n\n var response = doNodeApiCall(nodeId, RemoteJournalResource.class, RemoteJournalResource::get, Function.identity(), null);\n if (response.isSuccess() && response.entity().isPresent()) {\n return response.entity().get();\n } else {\n LOG.warn(\"Unable to get message journal information on node {}: {}\", nodeId, response.errorText());\n throw new WebApplicationException(response.errorText(), BAD_GATEWAY);\n }\n }\n}\n\n" +} diff --git a/web/public/bundles/graylog/code/0314bd1e86a4017aa6e82cd7f0d1f73e502c8a0a.json b/web/public/bundles/graylog/code/0314bd1e86a4017aa6e82cd7f0d1f73e502c8a0a.json new file mode 100644 index 00000000..0c25b5a2 --- /dev/null +++ b/web/public/bundles/graylog/code/0314bd1e86a4017aa6e82cd7f0d1f73e502c8a0a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0314bd1e86a4017aa6e82cd7f0d1f73e502c8a0a", + "language": "typescript", + "path": "graylog2-web-interface/src/contexts/InputsContext.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\n\nimport { singleton } from 'logic/singleton';\nimport type { Input } from 'components/messageloaders/Types';\n\ntype InputsMap = { [id: string]: Input };\nconst InputsContext = React.createContext(undefined);\n\nexport default singleton('contexts.InputsContext', () => InputsContext);\n" +} diff --git a/web/public/bundles/graylog/code/0323197b85d02af5ea0b9b4ea29b4ad4b42ac2a1.json b/web/public/bundles/graylog/code/0323197b85d02af5ea0b9b4ea29b4ad4b42ac2a1.json new file mode 100644 index 00000000..9f98dcf0 --- /dev/null +++ b/web/public/bundles/graylog/code/0323197b85d02af5ea0b9b4ea29b4ad4b42ac2a1.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0323197b85d02af5ea0b9b4ea29b4ad4b42ac2a1", + "language": "typescript", + "path": "graylog2-web-interface/docs/graylog-luma/.storybook/storybook-theme.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport { create } from 'storybook/theming';\n\nimport SawmillMantine from 'theme/sawmill/mantine/Sawmill';\nimport SawmillSC from 'theme/sawmill/styled-components/Sawmill';\n\nimport graylogLogo from '../graylog-logo.png';\n\n// Mirrors the pure function calls inside useThemes, without the React hook wrappers.\n\nconst baseConfiguration = {\n brandTitle: 'Graylog Design System',\n brandUrl: 'https://graylog.org/',\n brandTarget: '_block',\n brandImage: graylogLogo,\n\n appBorderRadius: 4,\n inputBorderRadius: 2,\n};\n\nconst colorsConfiguration = (colorScheme: 'light' | 'dark') => {\n const { colors, fonts } = SawmillSC(SawmillMantine({ colorScheme }));\n\n return {\n appBg: colors.global.contentBackground,\n appContentBg: colors.global.contentBackground,\n appPreviewBg: colors.global.contentBackground,\n appBorderColor: colors.misc.divider,\n colorPrimary: colors.brand.primary,\n\n textColor: colors.text.primary,\n textInverseColor: colors.global.textAlt,\n fontBase: fonts.family.body,\n fontCode: fonts.family.monospace,\n\n barBg: colors.global.contentBackground,\n barTextColor: colors.text.primary,\n\n inputBg: colors.input.background,\n inputBorder: colors.input.border,\n inputTextColor: colors.input.color,\n };\n};\n\nexport const lightTheme = create({ base: 'light', ...baseConfiguration, ...colorsConfiguration('light') });\nexport const darkTheme = create({ base: 'dark', ...baseConfiguration, ...colorsConfiguration('dark') });\n" +} diff --git a/web/public/bundles/graylog/code/042cd8ed2c6c55ee91bcd3d28986eeeb32c6cd85.json b/web/public/bundles/graylog/code/042cd8ed2c6c55ee91bcd3d28986eeeb32c6cd85.json new file mode 100644 index 00000000..272817e2 --- /dev/null +++ b/web/public/bundles/graylog/code/042cd8ed2c6c55ee91bcd3d28986eeeb32c6cd85.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "042cd8ed2c6c55ee91bcd3d28986eeeb32c6cd85", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/PipelineInputsMetadataDao.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.pipelineprocessor.db;\n\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.jackson.databind.annotation.JsonDeserialize;\nimport com.google.auto.value.AutoValue;\nimport org.graylog2.database.BuildableMongoEntity;\n\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.Set;\n\n@JsonDeserialize(builder = AutoValue_PipelineInputsMetadataDao.Builder.class)\n@AutoValue\npublic abstract class PipelineInputsMetadataDao implements BuildableMongoEntity {\n public static final String FIELD_INPUT_ID = \"input_id\";\n private static final String FIELD_MENTIONED_IN = \"mentioned_in\";\n public static final String PATH_RULE_ID = \"mentioned_in.rule_id\";\n public static final String PATH_PIPELINE_ID = \"mentioned_in.pipeline_id\";\n\n public record MentionedInEntry(\n @JsonProperty(\"pipeline_id\") String pipelineId,\n @JsonProperty(\"rule_id\") String ruleId,\n @JsonProperty(\"connected_streams\") Set connectedStreams\n ) {}\n\n @JsonProperty(FIELD_INPUT_ID)\n public abstract String inputId();\n\n @JsonProperty(FIELD_MENTIONED_IN)\n public abstract List mentionedIn();\n\n public static Builder builder() {\n return new AutoValue_PipelineInputsMetadataDao.Builder()\n .inputId(\"\")\n .mentionedIn(new ArrayList<>());\n }\n\n @AutoValue.Builder\n public abstract static class Builder implements BuildableMongoEntity.Builder {\n\n @JsonProperty(FIELD_INPUT_ID)\n public abstract Builder inputId(String pipelineId);\n\n @JsonProperty(FIELD_MENTIONED_IN)\n public abstract Builder mentionedIn(List mentionedIn);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/044b60dd646ec90d0f12a8ed8b4c2cc85ecb3598.json b/web/public/bundles/graylog/code/044b60dd646ec90d0f12a8ed8b4c2cc85ecb3598.json new file mode 100644 index 00000000..841d0ab3 --- /dev/null +++ b/web/public/bundles/graylog/code/044b60dd646ec90d0f12a8ed8b4c2cc85ecb3598.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "044b60dd646ec90d0f12a8ed8b4c2cc85ecb3598", + "language": "typescript", + "path": "graylog2-web-interface/src/pages/ProcessBufferDumpPage.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\nimport { useQuery } from '@tanstack/react-query';\n\nimport { Row, Col } from 'components/bootstrap';\nimport { DocumentTitle, PageHeader, Spinner, Timestamp } from 'components/common';\nimport { fetchProcessBufferDump } from 'hooks/useClusterOverview';\nimport { NodesStore } from 'stores/nodes/NodesStore';\nimport useParams from 'routing/useParams';\nimport { useStore } from 'stores/connect';\n\nconst ProcessBufferDumpPage = () => {\n const { nodeId } = useParams<{ nodeId: string }>();\n const { nodes } = useStore(NodesStore);\n const { data: processbufferDump } = useQuery({\n queryKey: ['processBufferDump', nodeId],\n\n queryFn: () => fetchProcessBufferDump(nodeId),\n });\n\n const node = nodes?.[nodeId];\n\n if (!node) {\n return ;\n }\n\n const title = (\n \n Process-buffer dump of node {node.short_node_id} / {node.hostname}\n  \n \n Taken at {' '}\n \n \n );\n\n const content = processbufferDump ? (\n
{JSON.stringify(processbufferDump, null, 2)}
\n ) : (\n \n );\n\n return (\n \n
\n \n \n {content}\n \n
\n
\n );\n};\n\nexport default ProcessBufferDumpPage;\n" +} diff --git a/web/public/bundles/graylog/code/04ab6f69c584ca895c414bed332b23d8b8e8f4ba.json b/web/public/bundles/graylog/code/04ab6f69c584ca895c414bed332b23d8b8e8f4ba.json new file mode 100644 index 00000000..f2eabf85 --- /dev/null +++ b/web/public/bundles/graylog/code/04ab6f69c584ca895c414bed332b23d8b8e8f4ba.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "04ab6f69c584ca895c414bed332b23d8b8e8f4ba", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/fieldtypes/mapping/FieldTypeMappingsService.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.indexer.fieldtypes.mapping;\n\nimport jakarta.inject.Inject;\nimport jakarta.ws.rs.BadRequestException;\nimport jakarta.ws.rs.NotFoundException;\nimport org.graylog2.indexer.indexset.CustomFieldMapping;\nimport org.graylog2.indexer.indexset.CustomFieldMappings;\nimport org.graylog2.indexer.indexset.IndexSet;\nimport org.graylog2.indexer.indexset.IndexSetConfig;\nimport org.graylog2.indexer.indexset.IndexSetService;\nimport org.graylog2.indexer.indexset.MongoIndexSet;\nimport org.graylog2.indexer.indexset.profile.IndexFieldTypeProfile;\nimport org.graylog2.indexer.indexset.profile.IndexFieldTypeProfileService;\nimport org.graylog2.rest.bulk.model.BulkOperationFailure;\nimport org.graylog2.rest.bulk.model.BulkOperationResponse;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.util.ArrayList;\nimport java.util.HashMap;\nimport java.util.HashSet;\nimport java.util.LinkedList;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Objects;\nimport java.util.Optional;\nimport java.util.Set;\nimport java.util.function.Function;\nimport java.util.function.Predicate;\nimport java.util.stream.Collectors;\n\npublic class FieldTypeMappingsService {\n\n private static final Logger LOG = LoggerFactory.getLogger(FieldTypeMappingsService.class);\n\n private final IndexSetService indexSetService;\n private final MongoIndexSet.Factory mongoIndexSetFactory;\n private final CustomMappingValidation customMappingValidation;\n\n private final IndexFieldTypeProfileService profileService;\n\n @Inject\n public FieldTypeMappingsService(final IndexSetService indexSetService,\n final MongoIndexSet.Factory mongoIndexSetFactory,\n final IndexFieldTypeProfileService profileService,\n final CustomMappingValidation customMappingValidation) {\n this.indexSetService = indexSetService;\n this.mongoIndexSetFactory = mongoIndexSetFactory;\n this.profileService = profileService;\n this.customMappingValidation = customMappingValidation;\n }\n\n public void changeFieldType(final CustomFieldMapping customMapping,\n final Set indexSetsIds,\n final boolean rotateImmediately) {\n customMappingValidation.checkFieldTypeCanBeChanged(customMapping.fieldName());\n customMappingValidation.checkType(customMapping);\n checkAllIndicesSupportFieldTypeChange(customMapping.fieldName(), indexSetsIds);\n\n final Set indexSetIdsWithError = new HashSet<>();\n\n for (String indexSetId : indexSetsIds) {\n indexSetService.get(indexSetId).ifPresent(indexSetConfig -> {\n final var rollbackMappings = new CustomFieldMappings(indexSetConfig.customFieldMappings());\n try {\n var updatedIndexSetConfig = storeMapping(customMapping, indexSetConfig);\n if (rotateImmediately) {\n updatedIndexSetConfig.ifPresent(this::cycleIndexSet);\n }\n } catch (Exception ex) {\n LOG.error(\"Failed to update field type in index set: \" + indexSetId, ex);\n indexSetIdsWithError.add(indexSetId);\n try {\n // rolling back changes in MongoDB\n indexSetService.save(\n indexSetConfig.toBuilder()\n .customFieldMappings(rollbackMappings)\n .build()\n );\n } catch (Exception e) {\n LOG.error(\"Failed to roll back field types for index set: \" + indexSetId, e);\n }\n }\n });\n }\n if(!indexSetIdsWithError.isEmpty()) {\n throw new RuntimeException(\"Failed to update field types in index set(s): \" + String.join(\",\", indexSetIdsWithError) + \". Please check logs for details.\");\n }\n }\n\n public void setProfile(final Set indexSetsIds,\n final String profileId,\n final boolean rotateImmediately) {\n checkProfile(profileId);\n checkAllIndicesSupportProfileChange(indexSetsIds);\n\n for (String indexSetId : indexSetsIds) {\n try {\n indexSetService.get(indexSetId).ifPresent(indexSetConfig -> {\n var updatedIndexSetConfig = setProfileForIndexSet(profileId, indexSetConfig);\n if (rotateImmediately) {\n updatedIndexSetConfig.ifPresent(this::cycleIndexSet);\n }\n });\n } catch (Exception ex) {\n LOG.error(\"Failed to update field type in index set : \" + indexSetId, ex);\n throw ex;\n }\n }\n }\n\n public void removeProfileFromIndexSets(final Set indexSetsIds,\n final boolean rotateImmediately) {\n for (String indexSetId : indexSetsIds) {\n try {\n indexSetService.get(indexSetId).ifPresent(indexSetConfig -> {\n var updatedIndexSetConfig = removeProfileFromIndexSet(indexSetConfig);\n if (rotateImmediately) {\n updatedIndexSetConfig.ifPresent(this::cycleIndexSet);\n }\n });\n } catch (Exception ex) {\n LOG.error(\"Failed to update field type in index set : \" + indexSetId, ex);\n throw ex;\n }\n }\n }\n\n public Map bulkSetProfile(final Set indexSetsIds,\n final String profileId,\n final boolean rotateImmediately) {\n checkProfile(profileId);\n return changeProfileOfEach(indexSetsIds, rotateImmediately, IndexSetConfig::canHaveProfile,\n indexSetConfig -> setProfileForIndexSet(profileId, indexSetConfig));\n }\n\n public Map bulkRemoveProfile(final Set indexSetsIds,\n final boolean rotateImmediately) {\n return changeProfileOfEach(indexSetsIds, rotateImmediately, indexSetConfig -> true, this::removeProfileFromIndexSet);\n }\n\n /**\n * Changes each index set independently. A change that was stored but whose rotation failed is reported\n * as a success with an error and is never rolled back.\n */\n private Map changeProfileOfEach(final Set indexSetsIds,\n final boolean rotateImmediately,\n final Predicate eligible,\n final Function> change) {\n return indexSetsIds.stream().collect(Collectors.toMap(Function.identity(),\n indexSetId -> changeProfile(indexSetId, rotateImmediately, eligible, change)));\n }\n\n private BulkOperationResponse changeProfile(final String indexSetId,\n final boolean rotateImmediately,\n final Predicate eligible,\n final Function> change) {\n final Optional updatedIndexSetConfig;\n try {\n final Optional indexSetConfig = indexSetService.get(indexSetId);\n if (indexSetConfig.isEmpty()) {\n return failure(indexSetId, \"Index set not found\");\n }\n if (!eligible.test(indexSetConfig.get())) {\n return failure(indexSetId, \"Index set \" + indexSetConfig.get().title() + \" cannot have a field type profile\");\n }\n updatedIndexSetConfig = change.apply(indexSetConfig.get());\n } catch (Exception ex) {\n LOG.error(\"Failed to change field type profile of index set: \" + indexSetId, ex);\n return failure(indexSetId, ex.getMessage());\n }\n if (rotateImmediately) {\n try {\n updatedIndexSetConfig.ifPresent(this::cycleIndexSet);\n } catch (Exception ex) {\n LOG.error(\"Failed to rotate index set after changing its field type profile: \" + indexSetId, ex);\n return new BulkOperationResponse(1, List.of(), List.of(\"Profile change applied, but rotation failed: \" + ex.getMessage()));\n }\n }\n return new BulkOperationResponse(1, List.of());\n }\n\n private static BulkOperationResponse failure(final String indexSetId, final String explanation) {\n return new BulkOperationResponse(0, List.of(new BulkOperationFailure(indexSetId, explanation)));\n }\n\n public Map removeCustomMappingForFields(final List fieldNames,\n final Set indexSetsIds,\n final boolean rotateImmediately) {\n Map result = new HashMap<>();\n for (String indexSetId : indexSetsIds) {\n try {\n indexSetService.get(indexSetId).ifPresentOrElse(\n indexSetConfig -> result.put(indexSetId, removeMappings(fieldNames, indexSetConfig, rotateImmediately)),\n () -> result.put(indexSetId, new BulkOperationResponse(List.of(\"Index set with following ID not present in the database: \" + indexSetId)))\n );\n } catch (Exception ex) {\n LOG.error(\"Failed to remove custom mappings for fields \" + fieldNames.toString() + \" in index set : \" + indexSetId, ex);\n result.put(indexSetId, new BulkOperationResponse(List.of(\"Exception while removing custom field mappings for index set : \" + indexSetId + \": \" + ex.getMessage())));\n }\n }\n return result;\n }\n\n private BulkOperationResponse removeMappings(final List fieldNames,\n final IndexSetConfig indexSetConfig,\n final boolean rotateImmediately) {\n final CustomFieldMappings previousCustomFieldMappings = indexSetConfig.customFieldMappings();\n final Set fieldsWithoutCustomMappings = fieldNames.stream()\n .filter(fieldName -> !previousCustomFieldMappings.containsCustomMappingForField(fieldName))\n .collect(Collectors.toSet());\n final boolean removedSmth = previousCustomFieldMappings.removeIf(customFieldMapping -> fieldNames.stream().anyMatch(fieldName -> customFieldMapping.fieldName().equals(fieldName)));\n final int fieldsRemoved = fieldNames.size() - fieldsWithoutCustomMappings.size();\n final List failures = fieldsWithoutCustomMappings.stream()\n .map(f -> new BulkOperationFailure(f, \"Field not present in custom mappings\"))\n .collect(Collectors.toCollection(ArrayList::new));\n final List errors = new LinkedList<>();\n if (removedSmth) {\n var updatedIndexSetConfig = Optional.of(indexSetService.save(\n indexSetConfig.toBuilder()\n .customFieldMappings(previousCustomFieldMappings)\n .build()\n ));\n\n if (rotateImmediately) {\n try {\n updatedIndexSetConfig.ifPresent(this::cycleIndexSet);\n } catch (Exception ex) {\n errors.add(\"Failed to rotate index set after successful custom mapping removal: \" + ex.getMessage());\n LOG.error(\"Failed to rotate index set after successful custom mapping removal for fields \" + fieldNames.toString() + \" in index set : \" + indexSetConfig.id(), ex);\n }\n }\n\n }\n return new BulkOperationResponse(fieldsRemoved,\n failures,\n errors);\n }\n\n private Optional storeMapping(final CustomFieldMapping customMapping,\n final IndexSetConfig indexSetConfig) {\n final CustomFieldMappings previousCustomFieldMappings = indexSetConfig.customFieldMappings();\n if (previousCustomFieldMappings.contains(customMapping)) {\n return Optional.empty();\n }\n return Optional.of(indexSetService.save(\n indexSetConfig.toBuilder()\n .customFieldMappings(previousCustomFieldMappings.mergeWith(customMapping))\n .build()\n ));\n }\n\n private Optional setProfileForIndexSet(final String profileId,\n final IndexSetConfig indexSetConfig) {\n if (Objects.equals(indexSetConfig.fieldTypeProfile(), profileId)) {\n return Optional.empty();\n }\n return Optional.of(indexSetService.save(\n indexSetConfig.toBuilder()\n .fieldTypeProfile(profileId)\n .build()\n ));\n }\n\n private Optional removeProfileFromIndexSet(final IndexSetConfig indexSetConfig) {\n if (indexSetConfig.fieldTypeProfile() == null) {\n return Optional.empty();\n }\n return Optional.of(indexSetService.save(\n indexSetConfig.toBuilder()\n .fieldTypeProfile(null)\n .build()\n ));\n }\n\n void cycleIndexSet(final IndexSetConfig indexSetConfig) {\n final IndexSet mongoIndexSet = mongoIndexSetFactory.create(indexSetConfig);\n mongoIndexSet.cycle();\n }\n\n private void checkProfile(final String profileId) {\n final Optional fieldTypeProfile = profileService.get(profileId);\n if (fieldTypeProfile.isPresent()) {\n customMappingValidation.checkProfile(fieldTypeProfile.get());\n } else {\n throw new NotFoundException(\"No profile with id : \" + profileId);\n }\n }\n\n private void checkAllIndicesSupportFieldTypeChange(final String fieldName, final Set indexSetsIds) {\n final List indexSetConfigs = filterOutIndicesThatCannotHaveFieldTypeChanged(indexSetsIds);\n if (!indexSetConfigs.isEmpty()) {\n throw new BadRequestException(\"Unable to change field type of \" + fieldName + \", not allowed to change type in indices : \" + indexSetConfigs.stream().map(IndexSetConfig::title).toList());\n }\n }\n\n private void checkAllIndicesSupportProfileChange(final Set indexSetsIds) {\n final List indexSetConfigs = filterOutIndicesThatCannotHaveProfileSet(indexSetsIds);\n if (!indexSetConfigs.isEmpty()) {\n throw new BadRequestException(\"Unable to change profile in indices : \" + indexSetConfigs.stream().map(IndexSetConfig::title).toList());\n }\n }\n\n private List filterOutIndicesThatCannotHaveFieldTypeChanged(final Set indexSetsIds) {\n return indexSetsIds.stream()\n .map(indexSetService::get)\n .filter(Optional::isPresent)\n .map(Optional::get)\n .filter(index -> !index.canHaveCustomFieldMappings())\n .toList();\n }\n\n private List filterOutIndicesThatCannotHaveProfileSet(final Set indexSetsIds) {\n return indexSetsIds.stream()\n .map(indexSetService::get)\n .filter(Optional::isPresent)\n .map(Optional::get)\n .filter(index -> !index.canHaveProfile())\n .toList();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/05c5bec5a9d1fbab8754728f78d41a3e096aaf53.json b/web/public/bundles/graylog/code/05c5bec5a9d1fbab8754728f78d41a3e096aaf53.json new file mode 100644 index 00000000..a93b3ea9 --- /dev/null +++ b/web/public/bundles/graylog/code/05c5bec5a9d1fbab8754728f78d41a3e096aaf53.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "05c5bec5a9d1fbab8754728f78d41a3e096aaf53", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPacksModule.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.contentpacks;\n\nimport org.graylog2.contentpacks.constraints.GraylogVersionConstraintChecker;\nimport org.graylog2.contentpacks.constraints.PluginVersionConstraintChecker;\nimport org.graylog2.contentpacks.facades.DashboardFacade;\nimport org.graylog2.contentpacks.facades.GrokPatternFacade;\nimport org.graylog2.contentpacks.facades.InputFacade;\nimport org.graylog2.contentpacks.facades.LookupCacheFacade;\nimport org.graylog2.contentpacks.facades.LookupDataAdapterFacade;\nimport org.graylog2.contentpacks.facades.LookupTableFacade;\nimport org.graylog2.contentpacks.facades.OutputFacade;\nimport org.graylog2.contentpacks.facades.PipelineFacade;\nimport org.graylog2.contentpacks.facades.PipelineRuleFacade;\nimport org.graylog2.contentpacks.facades.RootEntityFacade;\nimport org.graylog2.contentpacks.facades.SearchFacade;\nimport org.graylog2.contentpacks.facades.SidecarCollectorConfigurationFacade;\nimport org.graylog2.contentpacks.facades.SidecarCollectorFacade;\nimport org.graylog2.contentpacks.facades.StreamFacade;\nimport org.graylog2.contentpacks.facades.StreamReferenceFacade;\nimport org.graylog2.contentpacks.facades.UrlAllowlistFacade;\nimport org.graylog2.contentpacks.facades.UrlWhitelistFacade;\nimport org.graylog2.contentpacks.facades.dashboardV1.DashboardV1Facade;\nimport org.graylog2.contentpacks.jersey.ModelIdParamConverter;\nimport org.graylog2.contentpacks.model.entities.EventListEntity;\nimport org.graylog2.contentpacks.model.entities.MessageListEntity;\nimport org.graylog2.contentpacks.model.entities.PivotEntity;\nimport org.graylog2.plugin.PluginModule;\n\npublic class ContentPacksModule extends PluginModule {\n\n @Override\n protected void configure() {\n bind(ContentPackPersistenceService.class).asEagerSingleton();\n bind(ContentPackService.class).asEagerSingleton();\n\n jerseyAdditionalComponentsBinder().addBinding().toInstance(ModelIdParamConverter.Provider.class);\n\n addEntityFacade(SidecarCollectorConfigurationFacade.TYPE_V1, SidecarCollectorConfigurationFacade.class);\n addEntityFacade(SidecarCollectorFacade.TYPE_V1, SidecarCollectorFacade.class);\n addEntityFacade(GrokPatternFacade.TYPE_V1, GrokPatternFacade.class);\n addEntityFacade(InputFacade.TYPE_V1, InputFacade.class);\n addEntityFacade(LookupCacheFacade.TYPE_V1, LookupCacheFacade.class);\n addEntityFacade(LookupDataAdapterFacade.TYPE_V1, LookupDataAdapterFacade.class);\n addEntityFacade(LookupTableFacade.TYPE_V1, LookupTableFacade.class);\n addEntityFacade(OutputFacade.TYPE_V1, OutputFacade.class);\n addEntityFacade(PipelineFacade.TYPE_V1, PipelineFacade.class);\n addEntityFacade(PipelineRuleFacade.TYPE_V1, PipelineRuleFacade.class);\n addEntityFacade(RootEntityFacade.TYPE, RootEntityFacade.class);\n addEntityFacade(StreamFacade.TYPE_V1, StreamFacade.class);\n addEntityFacade(StreamReferenceFacade.TYPE_V1, StreamReferenceFacade.class);\n addEntityFacade(DashboardFacade.TYPE_V2, DashboardFacade.class);\n addEntityFacade(DashboardV1Facade.TYPE_V1, DashboardV1Facade.class);\n addEntityFacade(SearchFacade.TYPE_V1, SearchFacade.class);\n addEntityFacade(UrlAllowlistFacade.TYPE_V1, UrlAllowlistFacade.class);\n addEntityFacade(UrlWhitelistFacade.TYPE_V1, UrlWhitelistFacade.class);\n\n addConstraintChecker(GraylogVersionConstraintChecker.class);\n addConstraintChecker(PluginVersionConstraintChecker.class);\n\n registerJacksonSubtype(MessageListEntity.class);\n registerJacksonSubtype(PivotEntity.class);\n registerJacksonSubtype(EventListEntity.class);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/060c6e0fdaf657fcc14789d8065084535e3ebf49.json b/web/public/bundles/graylog/code/060c6e0fdaf657fcc14789d8065084535e3ebf49.json new file mode 100644 index 00000000..a8c3dc00 --- /dev/null +++ b/web/public/bundles/graylog/code/060c6e0fdaf657fcc14789d8065084535e3ebf49.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "060c6e0fdaf657fcc14789d8065084535e3ebf49", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/startpage/StartPageService.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.views.startpage;\n\nimport com.google.common.eventbus.EventBus;\nimport jakarta.inject.Inject;\nimport org.graylog.grn.GRN;\nimport org.graylog.grn.GRNRegistry;\nimport org.graylog.grn.GRNTypes;\nimport org.graylog.plugins.views.search.permissions.SearchUser;\nimport org.graylog.plugins.views.search.views.ViewDTO;\nimport org.graylog.plugins.views.startpage.lastOpened.LastOpened;\nimport org.graylog.plugins.views.startpage.lastOpened.LastOpenedDTO;\nimport org.graylog.plugins.views.startpage.lastOpened.LastOpenedForUserDTO;\nimport org.graylog.plugins.views.startpage.lastOpened.LastOpenedService;\nimport org.graylog.plugins.views.startpage.recentActivities.RecentActivity;\nimport org.graylog.plugins.views.startpage.recentActivities.RecentActivityService;\nimport org.graylog.plugins.views.startpage.title.StartPageItemTitleRetriever;\nimport org.graylog2.database.PaginatedList;\nimport org.graylog2.plugin.database.users.User;\nimport org.graylog2.rest.models.PaginatedResponse;\nimport org.joda.time.DateTime;\nimport org.joda.time.DateTimeZone;\n\nimport java.util.List;\nimport java.util.Optional;\n\npublic class StartPageService {\n private final GRNRegistry grnRegistry;\n private final LastOpenedService lastOpenedService;\n private final RecentActivityService recentActivityService;\n private final StartPageItemTitleRetriever startPageItemTitleRetriever;\n private final long MAXIMUM_LAST_OPENED_PER_USER = 100;\n\n @Inject\n public StartPageService(GRNRegistry grnRegistry,\n LastOpenedService lastOpenedService,\n RecentActivityService recentActivityService,\n StartPageItemTitleRetriever startPageItemTitleRetriever) {\n this.grnRegistry = grnRegistry;\n this.lastOpenedService = lastOpenedService;\n this.recentActivityService = recentActivityService;\n this.startPageItemTitleRetriever = startPageItemTitleRetriever;\n }\n\n public PaginatedResponse findLastOpenedFor(final SearchUser searchUser, final int page, final int perPage) {\n if (perPage <= 0 || page <= 0) {\n throw new IllegalArgumentException(\"invalid page size: \" + perPage);\n }\n var items = lastOpenedService\n .findForUser(searchUser)\n .orElse(new LastOpenedForUserDTO(searchUser.getUser().getId(), List.of()))\n .items()\n .stream()\n .skip((long) (page - 1) * perPage)\n .map(i -> startPageItemTitleRetriever\n .retrieveTitle(i.grn(), searchUser)\n .map(title -> new LastOpened(i.grn(), title, i.timestamp()))\n )\n .flatMap(Optional::stream)\n .limit(perPage)\n .toList();\n\n return PaginatedResponse.create(\"lastOpened\", new PaginatedList<>(items, items.size(), page, perPage));\n }\n\n public PaginatedResponse findRecentActivityFor(final SearchUser searchUser, int page, int perPage) {\n final var items = recentActivityService.findRecentActivitiesFor(searchUser, page, perPage);\n final var mapped = items.stream()\n .map(i -> startPageItemTitleRetriever\n .retrieveTitle(i.itemGrn(), searchUser)\n .map(title -> new RecentActivity(i.id(),\n i.activityType(),\n i.itemGrn(),\n title,\n i.userName(),\n i.timestamp()))\n .orElse(new RecentActivity(i.id(),\n i.activityType(),\n i.itemGrn(),\n i.itemTitle(),\n i.userName(),\n i.timestamp()))\n )\n .toList();\n return PaginatedResponse.create(\"recentActivity\", new PaginatedList<>(mapped, items.pagination().total(), page, perPage));\n }\n\n /*\n * filters a given Id from the middle of the list if it exists and removes one item if necessary to stay in the limit if we add another item at the top\n */\n protected static List filterForExistingIdAndCapAtMaximum(final LastOpenedForUserDTO loi, final GRN grn, final long max) {\n return loi.items().stream().filter(i -> !i.grn().equals(grn)).limit(max - 1).toList();\n }\n\n public void addLastOpenedFor(final ViewDTO view, final SearchUser searchUser) {\n final var type = view.type().equals(ViewDTO.Type.DASHBOARD) ? GRNTypes.DASHBOARD : GRNTypes.SEARCH;\n addLastOpenedFor(grnRegistry.newGRN(type, view.id()), searchUser.getUser());\n }\n\n /**\n * Records that the user opened the entity, which lists it as last opened on the start page and in quick jump.\n */\n public void addLastOpenedFor(final GRN grn, final User user) {\n final var lastOpenedItems = lastOpenedService.findForUser(user.getId());\n final var item = new LastOpenedDTO(grn, DateTime.now(DateTimeZone.UTC));\n if (lastOpenedItems.isPresent()) {\n var loi = lastOpenedItems.get();\n var items = filterForExistingIdAndCapAtMaximum(loi, item.grn(), MAXIMUM_LAST_OPENED_PER_USER);\n loi.items().clear();\n loi.items().add(item);\n loi.items().addAll(items);\n lastOpenedService.save(loi);\n } else {\n var items = new LastOpenedForUserDTO(user.getId(), List.of(item));\n lastOpenedService.create(items);\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/06552767dff3c27716b7c18d4100b46986728b27.json b/web/public/bundles/graylog/code/06552767dff3c27716b7c18d4100b46986728b27.json new file mode 100644 index 00000000..84d97a79 --- /dev/null +++ b/web/public/bundles/graylog/code/06552767dff3c27716b7c18d4100b46986728b27.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "06552767dff3c27716b7c18d4100b46986728b27", + "language": "java", + "path": "data-node/src/main/java/org/graylog/datanode/bootstrap/preflight/DatanodeCertReceiver.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.datanode.bootstrap.preflight;\n\nimport jakarta.inject.Inject;\nimport org.graylog.datanode.configuration.DatanodeKeystore;\nimport org.graylog.datanode.configuration.DatanodeKeystoreException;\nimport org.graylog.security.certutil.cert.CertificateChain;\nimport org.graylog2.cluster.certificates.CertificateExchange;\nimport org.graylog2.plugin.system.NodeId;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\npublic class DatanodeCertReceiver {\n\n private static final Logger LOG = LoggerFactory.getLogger(DatanodeCertReceiver.class);\n\n private final NodeId nodeId;\n\n private final CertificateExchange certificateExchange;\n private final DatanodeKeystore datanodeKeystore;\n\n @Inject\n public DatanodeCertReceiver(NodeId nodeId, CertificateExchange certificateExchange, DatanodeKeystore datanodeKeystore) {\n this.nodeId = nodeId;\n this.certificateExchange = certificateExchange;\n this.datanodeKeystore = datanodeKeystore;\n }\n\n public void pollCertificate() {\n // always check if there are any certificates that we can accept\n certificateExchange.pollCertificate(nodeId.getNodeId(), this::processCertificateChain);\n }\n\n private void processCertificateChain(CertificateChain certificateChain) {\n try {\n LOG.info(\"Received new datanode certificate, updating datanode keystore\");\n datanodeKeystore.replaceCertificatesInKeystore(certificateChain);\n } catch (DatanodeKeystoreException e) {\n throw new RuntimeException(e);\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/065b89028a5d9df63dae38e14873dc27b61a5424.json b/web/public/bundles/graylog/code/065b89028a5d9df63dae38e14873dc27b61a5424.json new file mode 100644 index 00000000..7db1e2bb --- /dev/null +++ b/web/public/bundles/graylog/code/065b89028a5d9df63dae38e14873dc27b61a5424.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "065b89028a5d9df63dae38e14873dc27b61a5424", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/events/processor/EventProcessorDependencyCheck.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.events.processor;\n\nimport com.google.common.collect.ImmutableSet;\nimport org.graylog2.plugin.indexer.searches.timeranges.TimeRange;\nimport org.graylog2.system.processing.DBProcessingStatusService;\nimport org.joda.time.DateTime;\n\nimport jakarta.inject.Inject;\n\nimport java.util.Set;\n\nimport static org.graylog2.system.processing.DBProcessingStatusService.ProcessingNodesState;\n\n/**\n * This can be used by an event processor to check if required event definitions have already processed a specific\n * timerange.\n */\npublic class EventProcessorDependencyCheck {\n private final DBEventProcessorStateService stateService;\n private final DBProcessingStatusService processingStatusService;\n\n @Inject\n public EventProcessorDependencyCheck(DBEventProcessorStateService stateService,\n DBProcessingStatusService processingStatusService) {\n this.stateService = stateService;\n this.processingStatusService = processingStatusService;\n }\n\n /**\n * Checks if the given event definitions have already processed events up to the given timestamp.\n *\n * @param maxTimestamp the max timestamp\n * @param processorDependencies set of event definition IDs\n * @return true if the given event definition IDs have processed events up to the given timestamp, false otherwise\n */\n public boolean canProcessTimerange(DateTime maxTimestamp, Set processorDependencies) {\n final ImmutableSet foundIds = stateService.findByEventDefinitionsAndMaxTimestamp(processorDependencies, maxTimestamp)\n .stream()\n .map(EventProcessorStateDto::eventDefinitionId)\n .collect(ImmutableSet.toImmutableSet());\n\n return foundIds.containsAll(processorDependencies);\n }\n\n /**\n * Checks if messages up to the given timestamp are searchable in Elasticsearch. It looks at the latest receive\n * timestamp that has been indexed by looking at the processing status maintained by\n * {@link org.graylog2.system.processing.ProcessingStatusRecorder}.\n *

\n * Caveat: This only looks at the processing status and doesn't take the Elasticsearch {@code index.refresh_interval}\n * into account!\n *\n * @param timeRange the timestamp to check\n * @return true if messages up to the given timeRange have already been indexed, false otherwise\n */\n public boolean hasMessagesIndexedUpTo(TimeRange timeRange) {\n return ProcessingNodesState.SOME_UP_TO_DATE == processingStatusService.calculateProcessingState(timeRange);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/0707d2615545476a86b0ad5c99e36e6cd541a772.json b/web/public/bundles/graylog/code/0707d2615545476a86b0ad5c99e36e6cd541a772.json new file mode 100644 index 00000000..9c7a232b --- /dev/null +++ b/web/public/bundles/graylog/code/0707d2615545476a86b0ad5c99e36e6cd541a772.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0707d2615545476a86b0ad5c99e36e6cd541a772", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CheckForCertRenewalJob.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.security.certutil;\n\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonTypeName;\nimport com.fasterxml.jackson.databind.annotation.JsonDeserialize;\nimport com.google.auto.value.AutoValue;\nimport org.graylog.scheduler.Job;\nimport org.graylog.scheduler.JobDefinitionConfig;\nimport org.graylog.scheduler.JobDefinitionDto;\nimport org.graylog.scheduler.JobExecutionContext;\nimport org.graylog.scheduler.JobExecutionException;\nimport org.graylog.scheduler.JobTriggerStatus;\nimport org.graylog.scheduler.JobTriggerUpdate;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport jakarta.inject.Inject;\n\npublic class CheckForCertRenewalJob implements Job {\n private static final Logger LOG = LoggerFactory.getLogger(CheckForCertRenewalJob.class);\n\n public static final String TYPE_NAME = \"check-for-cert-renewal-execution-v1\";\n public static final String RENEWAL_JOB_ID = \"64a66741cb3275652764c937\";\n\n public static final JobDefinitionDto DEFINITION_INSTANCE = JobDefinitionDto.builder()\n .id(RENEWAL_JOB_ID) // This is a system entity and the ID MUST NOT change!\n .title(\"Certificat Renewal Check\")\n .description(\"Runs periodically to check for certificates that are about to expire and notifies/triggers renewal\")\n .config(CheckForCertRenewalJob.Config.builder().build())\n .build();\n\n private final CertRenewalService certRenewalService;\n\n public interface Factory extends Job.Factory {\n @Override\n CheckForCertRenewalJob create(JobDefinitionDto jobDefinition);\n }\n\n @AutoValue\n @JsonTypeName(TYPE_NAME)\n @JsonDeserialize(builder = Config.Builder.class)\n public static abstract class Config implements JobDefinitionConfig {\n\n public static Builder builder() {\n return Builder.create();\n }\n\n public abstract Builder toBuilder();\n\n @AutoValue.Builder\n public static abstract class Builder implements JobDefinitionConfig.Builder {\n @JsonCreator\n public static Builder create() {\n return new AutoValue_CheckForCertRenewalJob_Config.Builder().type(TYPE_NAME);\n }\n\n abstract Config autoBuild();\n\n public Config build() {\n // Make sure the type name is correct!\n type(TYPE_NAME);\n return autoBuild();\n }\n }\n }\n\n @Inject\n public CheckForCertRenewalJob(final CertRenewalService certRenewalService) {\n this.certRenewalService = certRenewalService;\n }\n\n @Override\n public JobTriggerUpdate execute(JobExecutionContext ctx) throws JobExecutionException {\n LOG.debug(\"Job execute called {}\", ctx);\n\n certRenewalService.checkCertificatesForRenewal();\n\n return ctx.jobTriggerUpdates()\n .scheduleNextExecution()\n .toBuilder()\n .build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/0743588167831a3fde5e1aa53c3e2e3ec1d33927.json b/web/public/bundles/graylog/code/0743588167831a3fde5e1aa53c3e2e3ec1d33927.json new file mode 100644 index 00000000..4d6c9212 --- /dev/null +++ b/web/public/bundles/graylog/code/0743588167831a3fde5e1aa53c3e2e3ec1d33927.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0743588167831a3fde5e1aa53c3e2e3ec1d33927", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/rest/ProcessingLoadResource.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.pipelineprocessor.rest;\n\nimport io.swagger.v3.oas.annotations.Operation;\nimport io.swagger.v3.oas.annotations.tags.Tag;\nimport jakarta.inject.Inject;\nimport jakarta.inject.Named;\nimport jakarta.ws.rs.ForbiddenException;\nimport jakarta.ws.rs.GET;\nimport jakarta.ws.rs.Path;\nimport jakarta.ws.rs.Produces;\nimport jakarta.ws.rs.core.Context;\nimport jakarta.ws.rs.core.HttpHeaders;\nimport jakarta.ws.rs.core.MediaType;\nimport org.apache.shiro.authz.annotation.RequiresAuthentication;\nimport org.graylog.plugins.pipelineprocessor.rest.ProcessingLoadService.ActiveCombination;\nimport org.graylog2.audit.jersey.NoAuditEvent;\nimport org.graylog2.cluster.NodeService;\nimport org.graylog2.rest.RemoteInterfaceProvider;\nimport org.graylog2.rest.models.system.metrics.requests.MetricsReadRequest;\nimport org.graylog2.rest.models.system.metrics.responses.MetricsSummaryResponse;\nimport org.graylog2.shared.rest.PublicCloudAPI;\nimport org.graylog2.shared.rest.resources.ProxiedResource;\nimport org.graylog2.shared.rest.resources.system.RemoteMetricsResource;\n\nimport java.util.List;\nimport java.util.Map;\nimport java.util.concurrent.ExecutorService;\nimport java.util.stream.Collectors;\n\n@RequiresAuthentication\n@PublicCloudAPI\n@Tag(name = \"Pipelines/ProcessingLoad\", description = \"Pipeline rule Processing Load metric\")\n@Path(\"/system/pipelines/processing-load\")\n@Produces(MediaType.APPLICATION_JSON)\npublic class ProcessingLoadResource extends ProxiedResource {\n\n private final ProcessingLoadBuilder processingLoadBuilder;\n private final ProcessingLoadService processingLoadService;\n\n @Inject\n public ProcessingLoadResource(NodeService nodeService,\n RemoteInterfaceProvider remoteInterfaceProvider,\n @Context HttpHeaders httpHeaders,\n @Named(\"proxiedRequestsExecutorService\") ExecutorService executorService,\n ProcessingLoadBuilder processingLoadBuilder,\n ProcessingLoadService processingLoadService) {\n super(httpHeaders, nodeService, remoteInterfaceProvider, executorService);\n this.processingLoadBuilder = processingLoadBuilder;\n this.processingLoadService = processingLoadService;\n }\n\n @GET\n @NoAuditEvent(\"Read-only endpoint, no audit event needed\")\n @Operation(summary = \"Get cluster-aggregated pipeline rule Processing Load percentages\",\n description = \"Returns Processing Load % per pipeline-stage-rule, per pipeline, and per rule. \" +\n \"Requires debug metrics enable.\")\n public ProcessingLoadResponse processingLoad() {\n final List combinations = processingLoadBuilder.activeCombinations();\n if (combinations.isEmpty()) {\n return ProcessingLoadResponse.unavailable();\n }\n if (combinations.stream().noneMatch(c -> canReadPipeline(c.pipelineId()) || canReadRule(c.ruleId()))) {\n throw new ForbiddenException(\"No read permission on any active pipeline or rule.\");\n }\n\n final ProcessingLoadResponse full = processingLoadBuilder.buildUnfiltered(combinations, this::fetchPerNodeMetrics);\n return processingLoadService.filterByPermissions(full, this::canReadPipeline, this::canReadRule);\n }\n\n private Map fetchPerNodeMetrics(List timerNames) {\n final MetricsReadRequest request = MetricsReadRequest.create(timerNames);\n return stripCallResult(requestOnAllNodes(RemoteMetricsResource.class, r -> r.multipleMetrics(request)))\n .entrySet().stream()\n .filter(e -> e.getValue().isPresent())\n .collect(Collectors.toMap(Map.Entry::getKey, e -> e.getValue().get()));\n }\n\n private boolean canReadPipeline(String pipelineId) {\n return isPermitted(PipelineRestPermissions.PIPELINE_READ, pipelineId);\n }\n\n private boolean canReadRule(String ruleId) {\n return isPermitted(PipelineRestPermissions.PIPELINE_RULE_READ, ruleId);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/07656840d0af9634e3319640acc8d0916c1d94ca.json b/web/public/bundles/graylog/code/07656840d0af9634e3319640acc8d0916c1d94ca.json new file mode 100644 index 00000000..bb6390d5 --- /dev/null +++ b/web/public/bundles/graylog/code/07656840d0af9634e3319640acc8d0916c1d94ca.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "07656840d0af9634e3319640acc8d0916c1d94ca", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/mongodb/MongoDbPipelineMetadataService.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.pipelineprocessor.db.mongodb;\n\nimport com.mongodb.client.model.Filters;\nimport com.mongodb.client.model.IndexOptions;\nimport com.mongodb.client.model.Indexes;\nimport com.mongodb.client.model.ReplaceOneModel;\nimport com.mongodb.client.model.ReplaceOptions;\nimport com.mongodb.client.result.DeleteResult;\nimport jakarta.inject.Inject;\nimport org.bson.conversions.Bson;\nimport org.graylog.plugins.pipelineprocessor.db.PipelineRulesMetadataDao;\nimport org.graylog.plugins.pipelineprocessor.db.RoutingRuleDao;\nimport org.graylog2.database.MongoCollection;\nimport org.graylog2.database.MongoCollections;\nimport org.graylog2.database.NotFoundException;\nimport org.graylog2.database.PaginatedList;\nimport org.graylog2.rest.models.SortOrder;\nimport org.graylog2.rest.resources.streams.responses.StreamPipelineRulesResponse;\nimport org.graylog2.rest.resources.streams.responses.StreamReference;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.util.ArrayList;\nimport java.util.Collection;\nimport java.util.HashSet;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Set;\nimport java.util.function.Predicate;\nimport java.util.stream.Collectors;\n\nimport static com.mongodb.client.model.Filters.eq;\nimport static org.graylog.plugins.pipelineprocessor.db.PipelineRulesMetadataDao.FIELD_PIPELINE_ID;\nimport static org.graylog.plugins.pipelineprocessor.db.RoutingRuleDao.FIELD_ROUTED_STREAM_IDS;\n\n/**\n * Persists information on pipeline and rules to avoid parsing these repeatedly.\n * Uses two collections: one for pipeline-level metadata and one for routing rule records.\n */\npublic class MongoDbPipelineMetadataService {\n private static final Logger LOG = LoggerFactory.getLogger(MongoDbPipelineMetadataService.class);\n public static final String RULES_COLLECTION_NAME = \"pipeline_processor_rules_meta\";\n public static final String ROUTING_RULES_COLLECTION_NAME = \"pipeline_processor_routing_rules\";\n\n private final MongoCollection collection;\n private final MongoCollection routingRulesCollection;\n\n @Inject\n public MongoDbPipelineMetadataService(MongoCollections mongoCollections) {\n this.collection = mongoCollections.collection(RULES_COLLECTION_NAME, PipelineRulesMetadataDao.class);\n collection.createIndex(Indexes.ascending(FIELD_PIPELINE_ID), new IndexOptions().unique(true));\n\n this.routingRulesCollection = mongoCollections.collection(ROUTING_RULES_COLLECTION_NAME, RoutingRuleDao.class);\n routingRulesCollection.createIndex(Indexes.ascending(FIELD_ROUTED_STREAM_IDS));\n routingRulesCollection.createIndex(Indexes.ascending(RoutingRuleDao.FIELD_PIPELINE_ID));\n routingRulesCollection.createIndex(Indexes.ascending(RoutingRuleDao.FIELD_RULE_ID));\n }\n\n public PipelineRulesMetadataDao get(final String pipelineId) throws NotFoundException {\n final PipelineRulesMetadataDao dao = collection.find(eq(FIELD_PIPELINE_ID, pipelineId)).first();\n if (dao == null) {\n throw new NotFoundException(\"No pipeline found with id: \" + pipelineId);\n }\n return dao;\n }\n\n public Map get(Set pipelineIds) {\n return collection.find(Filters.in(FIELD_PIPELINE_ID, pipelineIds))\n .into(new ArrayList<>())\n .stream()\n .collect(Collectors.toMap(PipelineRulesMetadataDao::pipelineId, dao -> dao));\n }\n\n public List getConnectedToStreams(Set streamIds) {\n return collection.find(Filters.in(PipelineRulesMetadataDao.FIELD_STREAMS, streamIds))\n .into(new ArrayList<>());\n }\n\n public List getRoutingToStreams(Set streamIds) {\n return routingRulesCollection.find(Filters.in(FIELD_ROUTED_STREAM_IDS, streamIds))\n .into(new ArrayList<>());\n }\n\n public Set getPipelinesReferencingStream(String streamId) {\n final Set pipelineIds = routingRulesCollection\n .find(Filters.eq(FIELD_ROUTED_STREAM_IDS, streamId))\n .map(RoutingRuleDao::pipelineId)\n .into(new HashSet<>());\n collection.find(Filters.eq(PipelineRulesMetadataDao.FIELD_STREAMS, streamId))\n .map(PipelineRulesMetadataDao::pipelineId)\n .into(pipelineIds);\n return pipelineIds;\n }\n\n public Set getPipelinesByRule(final String ruleId) {\n return collection.find(eq(PipelineRulesMetadataDao.FIELD_RULES, ruleId))\n .map(PipelineRulesMetadataDao::pipelineId)\n .into(new HashSet<>());\n }\n\n public Set getPipelinesByRules(final Set ruleIds) {\n return collection.find(Filters.in(PipelineRulesMetadataDao.FIELD_RULES, ruleIds))\n .map(PipelineRulesMetadataDao::pipelineId)\n .into(new HashSet<>());\n }\n\n public Set getReferencingPipelines() {\n return collection.find(eq(PipelineRulesMetadataDao.FIELD_HAS_INPUT_REFERENCES, true))\n .into(new HashSet<>());\n }\n\n public void save(List pipelineRecords,\n List routingRuleRecords,\n boolean upsert) {\n if (!pipelineRecords.isEmpty()) {\n LOG.debug(\"Inserting/Updating {} pipeline metadata records.\", pipelineRecords.size());\n if (upsert) {\n final List> ops = pipelineRecords.stream()\n .map(record -> new ReplaceOneModel<>(\n eq(FIELD_PIPELINE_ID, record.pipelineId()),\n record,\n new ReplaceOptions().upsert(true)\n ))\n .toList();\n collection.bulkWrite(ops);\n\n // For routing rules, the set of (pipeline, rule) pairs may have changed,\n // so delete existing records for affected pipelines, then insert new ones.\n final Set affectedPipelineIds = pipelineRecords.stream()\n .map(PipelineRulesMetadataDao::pipelineId)\n .collect(Collectors.toSet());\n routingRulesCollection.deleteMany(Filters.in(RoutingRuleDao.FIELD_PIPELINE_ID, affectedPipelineIds));\n } else {\n collection.insertMany(pipelineRecords);\n }\n }\n if (!routingRuleRecords.isEmpty()) {\n LOG.debug(\"Inserting {} routing rule records.\", routingRuleRecords.size());\n routingRulesCollection.insertMany(routingRuleRecords);\n }\n }\n\n public void delete(Collection pipelineIds) {\n if (pipelineIds == null || pipelineIds.isEmpty()) {\n return;\n }\n final DeleteResult deleteResult = collection.deleteMany(Filters.in(FIELD_PIPELINE_ID, pipelineIds));\n routingRulesCollection.deleteMany(Filters.in(RoutingRuleDao.FIELD_PIPELINE_ID, pipelineIds));\n if (deleteResult.getDeletedCount() == 0) {\n LOG.warn(\"No pipeline rules metadata records found for pipelines {}\", pipelineIds);\n } else {\n LOG.debug(\"Deleted {} pipeline rules metadata records.\", deleteResult.getDeletedCount());\n }\n }\n\n public Set deprecatedFunctionsPipeline(String pipelineId) {\n try {\n final PipelineRulesMetadataDao dao = get(pipelineId);\n return dao.deprecatedFunctions();\n } catch (NotFoundException ignored) {\n return Set.of();\n }\n }\n\n public PaginatedList getRoutingRulesPaginated(\n String streamId, Bson additionalFilter,\n Predicate entityFilter, Predicate connectedStreamFilter,\n String sortField, SortOrder order, int page, int perPage) {\n\n final Bson streamFilter = eq(FIELD_ROUTED_STREAM_IDS, streamId);\n final Bson filter = additionalFilter != null\n ? Filters.and(streamFilter, additionalFilter)\n : streamFilter;\n\n final List filtered = routingRulesCollection.find(filter)\n .sort(order.toBsonSort(sortField))\n .into(new ArrayList<>())\n .stream()\n .filter(entityFilter)\n .toList();\n\n final int total = filtered.size();\n final int skip = Math.max(0, page - 1) * perPage;\n\n final List results = filtered.stream()\n .skip(skip)\n .limit(perPage)\n .map(dao -> toStreamPipelineRulesResponse(dao, connectedStreamFilter))\n .toList();\n\n return new PaginatedList<>(results, total, page, perPage);\n }\n\n private static StreamPipelineRulesResponse toStreamPipelineRulesResponse(RoutingRuleDao dao,\n Predicate connectedStreamFilter) {\n return new StreamPipelineRulesResponse(\n dao.id(),\n dao.pipelineId(),\n dao.pipelineTitle(),\n dao.ruleId(),\n dao.ruleTitle(),\n dao.connectedStreams().stream().filter(connectedStreamFilter).toList());\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/082cf8d04733ad1036e2771e91a7712ad34407b3.json b/web/public/bundles/graylog/code/082cf8d04733ad1036e2771e91a7712ad34407b3.json new file mode 100644 index 00000000..8de8883b --- /dev/null +++ b/web/public/bundles/graylog/code/082cf8d04733ad1036e2771e91a7712ad34407b3.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "082cf8d04733ad1036e2771e91a7712ad34407b3", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/users/UserService.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.shared.users;\n\nimport org.apache.shiro.authz.Permission;\nimport org.apache.shiro.authz.permission.WildcardPermission;\nimport org.graylog.security.permissions.GRNPermission;\nimport org.graylog2.plugin.database.PersistedService;\nimport org.graylog2.plugin.database.users.User;\n\nimport javax.annotation.Nullable;\nimport java.util.Collection;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Optional;\nimport java.util.Set;\n\npublic interface UserService extends PersistedService {\n @Nullable\n User load(String username);\n\n List loadAllByName(final String username);\n\n @Nullable\n User loadById(String id);\n\n List loadByIds(Collection ids);\n\n /**\n * Tries to find a user for the given authentication service UID or username. (in that order)\n *\n * @param authServiceUid the authentication service UID (tried first)\n * @param username the username (tried second)\n * @return the user or an empty option if no user can be found\n */\n Optional loadByAuthServiceUidOrUsername(String authServiceUid, String username);\n\n Optional loadByAuthServiceUid(String authServiceUid);\n\n int delete(String username);\n\n int deleteById(String userId);\n\n User create();\n\n List loadAll();\n\n /**\n * @deprecated If you really need the root user, use {@link UserService#getRootUser()} instead.\n */\n @Deprecated\n User getAdminUser();\n\n /**\n * Get the root user. The root user might not be present in all environments and there shouldn't really be\n * a need to explicitly refer to the root user. But if you really need it, here you go.\n *\n * @return The root user, if present. An empty optional otherwise.\n */\n Optional getRootUser();\n\n long count();\n\n /**\n * @return The counts of users by privilege category (admin vs non-admin).\n */\n Map countByPrivilege();\n\n List loadAllForAuthServiceBackend(String authServiceBackendId);\n\n Collection loadAllForRole(Role role);\n\n Set getRoleNames(User user);\n\n List getPermissionsForUser(User user);\n\n List getWildcardPermissionsForUser(User user);\n\n List getGRNPermissionsForUser(User user);\n\n Set getUserPermissionsFromRoles(User user);\n\n void dissociateAllUsersFromRole(Role role);\n}\n" +} diff --git a/web/public/bundles/graylog/code/08333c770d5b92ef4c2dd9585accbd1ddfce8e2f.json b/web/public/bundles/graylog/code/08333c770d5b92ef4c2dd9585accbd1ddfce8e2f.json new file mode 100644 index 00000000..4f1ac0a3 --- /dev/null +++ b/web/public/bundles/graylog/code/08333c770d5b92ef4c2dd9585accbd1ddfce8e2f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "08333c770d5b92ef4c2dd9585accbd1ddfce8e2f", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/cluster/ClusterAdapter.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.indexer.cluster;\n\nimport com.fasterxml.jackson.databind.JsonNode;\nimport org.graylog2.indexer.cluster.health.ClusterAllocationDiskSettings;\nimport org.graylog2.indexer.cluster.health.ClusterShardAllocation;\nimport org.graylog2.indexer.cluster.health.NodeDiskUsageStats;\nimport org.graylog2.indexer.cluster.health.NodeFileDescriptorStats;\nimport org.graylog2.indexer.indices.HealthStatus;\nimport org.graylog2.rest.models.system.indexer.responses.ClusterHealth;\nimport org.graylog2.system.stats.elasticsearch.ClusterStats;\nimport org.graylog2.system.stats.elasticsearch.NodeInfo;\nimport org.graylog2.system.stats.elasticsearch.NodeOSInfo;\nimport org.graylog2.system.stats.elasticsearch.NodeUtilization;\nimport org.graylog2.system.stats.elasticsearch.ShardStats;\n\nimport java.time.Duration;\nimport java.util.Collection;\nimport java.util.Map;\nimport java.util.Optional;\nimport java.util.Set;\n\npublic interface ClusterAdapter {\n Optional health();\n\n /**\n * Cancelled at {@code timeout}, reported empty like an unreachable cluster. {@link #health()} cannot be bounded\n * by config: its connect and socket timeouts apply per host and the client retries every node in one call.\n */\n Optional health(Duration timeout);\n\n Set fileDescriptorStats();\n\n ClusterShardAllocation clusterShardAllocation();\n\n Set diskUsageStats();\n\n ClusterAllocationDiskSettings clusterAllocationDiskSettings();\n\n Optional nodeIdToName(String nodeId);\n\n Optional nodeIdToHostName(String nodeId);\n\n boolean isConnected();\n\n Optional clusterName();\n\n Optional clusterHealthStats();\n\n ClusterStats clusterStats();\n\n JsonNode rawClusterStats();\n\n PendingTasksStats pendingTasks();\n\n Map nodesInfo();\n\n Map nodesHostInfo();\n\n /**\n * Live per-node runtime utilization ({@code _nodes/stats/os,jvm}): CPU percent and JVM heap-used percent, keyed\n * by node id. A single bounded round-trip; the search-cluster health reporters sample and window this on the leader.\n */\n Map nodesUtilization();\n\n ShardStats shardStats();\n\n /**\n * The cluster health response has no such field, so implementations derive it from each node's roles.\n */\n int countOfClusterManagerEligibleNodes();\n\n /**\n * Health of the index behind each write alias, for any number of aliases. An alias that is missing or points at\n * several indices has no entry.\n */\n Map deflectorHealthByAlias(Collection writeAliases);\n\n /**\n * The worst health among the write aliases, empty when one of them cannot be resolved.\n */\n default Optional deflectorHealth(Collection writeAliases) {\n if (writeAliases.isEmpty()) {\n return Optional.of(HealthStatus.Green);\n }\n final Map healthByAlias = deflectorHealthByAlias(writeAliases);\n if (!healthByAlias.keySet().containsAll(writeAliases)) {\n return Optional.empty();\n }\n return healthByAlias.values().stream().min(HealthStatus::compareTo);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/0843d45386e82f99645ac1a365e5faa153a02c01.json b/web/public/bundles/graylog/code/0843d45386e82f99645ac1a365e5faa153a02c01.json new file mode 100644 index 00000000..6ee783cf --- /dev/null +++ b/web/public/bundles/graylog/code/0843d45386e82f99645ac1a365e5faa153a02c01.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0843d45386e82f99645ac1a365e5faa153a02c01", + "language": "typescript", + "path": "graylog2-web-interface/src/views/components/visualizations/GenericPlot.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport { useContext, useMemo, useCallback, useState } from 'react';\nimport styled, { css, useTheme } from 'styled-components';\nimport merge from 'lodash/merge';\nimport type { Layout, PlotMouseEvent, PlotlyHTMLElement } from 'plotly.js';\nimport type Plotly from 'plotly.js/lib/core';\n\nimport Plot from 'views/components/visualizations/plotly/AsyncPlot';\nimport type ColorMapper from 'views/components/visualizations/ColorMapper';\nimport { EVENT_COLOR, eventsDisplayName } from 'views/logic/searchtypes/events/EventHandler';\nimport { ROOT_FONT_SIZE } from 'theme/constants';\nimport getDefaultPlotYLayoutSettings from 'views/components/visualizations/utils/getDefaultPlotYLayoutSettings';\nimport getDefaultPlotXLayoutSettings from 'views/components/visualizations/utils/getDefaultPlotXLayoutSettings';\n\nimport ChartColorContext from './ChartColorContext';\n\nimport { useIsInteractiveMode, useIsReadOnlyMode } from '../contexts/InteractiveContext';\nimport useRenderCompletionCallback from '../widgets/useRenderCompletionCallback';\n\nexport type PlotLayout = Layout;\n\nconst StyledPlot = styled(Plot)<{ $interactive: boolean }>(\n ({ theme, $interactive }) => css`\n .customPopover .popover-content {\n padding: 0;\n }\n\n path.js-fill {\n fill-opacity: 0.25 !important;\n }\n\n .hoverlayer .hovertext {\n rect {\n fill: ${theme.colors.global.contentBackground} !important;\n opacity: 0.9 !important;\n }\n\n .name {\n fill: ${theme.colors.text.primary} !important;\n }\n\n path {\n stroke: ${theme.colors.global.contentBackground} !important;\n }\n }\n\n ${\n !$interactive &&\n css`\n .cursor-pointer {\n cursor: default !important;\n }\n `\n }\n `,\n);\n\nexport type OnClickMarkerEvent = {\n x: string;\n y: string;\n};\n\nexport type OnHoverMarkerEvent = {\n positionX: number;\n positionY: number;\n x: string;\n y: string;\n};\n\ntype ChartMarker = {\n colors?: Array;\n color?: string;\n size?: number;\n};\n\nexport type ChartConfig = {\n name: string;\n labels: Array;\n originalLabels?: Array;\n line?: ChartMarker;\n marker?: ChartMarker;\n originalName?: string;\n};\n\nexport type ChartColor = {\n line?: ChartMarker;\n marker?: ChartMarker;\n outsidetextfont?: {\n color: string;\n };\n};\n\ntype Props = {\n chartData: Array;\n layout?: Partial;\n config?: Partial;\n onZoom?: (from: string, to: string) => void;\n setChartColor?: (data: ChartConfig, color: ColorMapper) => ChartColor;\n onClickMarker?: (markerEvent: OnClickMarkerEvent, event?: PlotMouseEvent) => void;\n onHoverMarker?: (event: OnHoverMarkerEvent) => void;\n onUnhoverMarker?: () => void;\n onAfterPlot?: () => void;\n onInitialized?: (figure: unknown, graphDiv: PlotlyHTMLElement) => void;\n};\n\ntype Axis = {\n autosize: boolean;\n};\n\nconst nonInteractiveLayout = {\n yaxis: { fixedrange: true },\n xaxis: { fixedrange: true },\n};\n\nconst disabledLayout = {\n hovermode: false,\n};\n\nconst style = { height: '100%', width: '100%' };\n\nconst defaultPlotConfig: Partial = {\n displayModeBar: false,\n doubleClick: false,\n responsive: true,\n showTips: false,\n};\n\nconst usePlotLayout = (layout: Partial) => {\n const theme = useTheme();\n const isInteractive = useIsInteractiveMode();\n const isReadOnly = useIsReadOnlyMode();\n const { colors } = useContext(ChartColorContext);\n\n return useMemo(() => {\n const fontSettings = {\n color: theme.colors.text.primary,\n size: ROOT_FONT_SIZE * Number(theme.fonts.size.small.replace(/rem|em/i, '')),\n family: theme.fonts.family.body,\n };\n\n const defaultLayout = {\n shapes: [],\n autosize: true,\n showlegend: false,\n margin: {\n t: 10,\n l: 40,\n r: 10,\n b: 0,\n pad: 0,\n },\n legend: {\n orientation: 'h' as const,\n font: fontSettings,\n },\n hoverlabel: {\n namelength: -1,\n },\n paper_bgcolor: 'transparent',\n plot_bgcolor: 'transparent',\n title: {\n font: fontSettings,\n },\n yaxis: getDefaultPlotYLayoutSettings(theme),\n xaxis: getDefaultPlotXLayoutSettings(theme),\n };\n\n const plotLayout = merge({}, defaultLayout, layout);\n\n plotLayout.shapes = plotLayout.shapes.map((shape) => ({\n ...shape,\n line: { ...(shape?.line ?? {}), color: shape?.line?.color || colors.get(eventsDisplayName, EVENT_COLOR) },\n }));\n\n if (isInteractive) {\n return plotLayout;\n }\n\n const lockedLayout = merge({}, plotLayout, nonInteractiveLayout);\n\n return isReadOnly ? lockedLayout : merge({}, lockedLayout, disabledLayout);\n }, [colors, isInteractive, isReadOnly, layout, theme]);\n};\n\nconst usePlotChartData = (\n chartData: Array,\n setChartColor: (data: ChartConfig, color: ColorMapper) => ChartColor,\n) => {\n const theme = useTheme();\n const { colors } = useContext(ChartColorContext);\n\n return useMemo(\n () =>\n chartData.map((chart) => {\n if (setChartColor && colors) {\n const conf = setChartColor(chart, colors);\n\n conf.outsidetextfont = { color: theme.colors.text.primary };\n\n if (chart?.name === eventsDisplayName) {\n const eventColor = colors.get(eventsDisplayName, EVENT_COLOR);\n\n conf.marker = { color: eventColor, size: 5 };\n }\n\n if (conf.line || conf.marker) {\n return merge(chart, conf);\n }\n\n return chart;\n }\n\n return chart;\n }),\n [chartData, colors, setChartColor, theme.colors.text.primary],\n );\n};\n\nconst GenericPlot = ({\n chartData,\n layout = {},\n config = undefined,\n setChartColor = undefined,\n onClickMarker = () => {},\n onHoverMarker = () => {},\n onUnhoverMarker = () => {},\n onZoom = () => {},\n onAfterPlot = () => {},\n onInitialized = () => {},\n}: Props) => {\n const isInteractive = useIsInteractiveMode();\n const plotLayout = usePlotLayout(layout);\n const plotChartData = usePlotChartData(chartData, setChartColor);\n\n // Plotly.react does not always repaint in-trace labels (notably Sankey `node.label` and scatter\n // `text`) when the data changes after the initial render — e.g. when entity/asset titles resolve\n // asynchronously. Bumping `datarevision` whenever the chart data changes forces Plotly to\n // re-evaluate the trace data. (Axis tick labels live in the layout and update without this.)\n // Tracked with the \"adjust state during render\" pattern so the revision changes in the same\n // render that the data changes — without an effect (extra commit) or a ref read during render.\n const [dataRevision, setDataRevision] = useState(0);\n const [revisionedChartData, setRevisionedChartData] = useState(plotChartData);\n\n if (revisionedChartData !== plotChartData) {\n setRevisionedChartData(plotChartData);\n setDataRevision((revision) => revision + 1);\n }\n\n const plotLayoutWithRevision = useMemo(\n () => ({ ...plotLayout, datarevision: dataRevision }),\n [plotLayout, dataRevision],\n );\n\n const plotConfig = useMemo(() => ({ ...defaultPlotConfig, ...config }), [config]);\n const onRenderComplete = useRenderCompletionCallback();\n\n const _onRelayout = useCallback(\n (axis: Axis) => {\n if (!axis.autosize && axis['xaxis.range[0]'] && axis['xaxis.range[1]']) {\n const from = axis['xaxis.range[0]'];\n const to = axis['xaxis.range[1]'];\n\n onZoom(from, to);\n }\n },\n [onZoom],\n );\n\n const _onHoverMarker = useCallback(\n (event: unknown) => {\n const { points } = event as { points: Array<{ bbox?: { x0: number; y0: number }; y: string; x: string }> };\n const point = points?.[0];\n\n if (!point?.bbox) return;\n\n onHoverMarker?.({\n positionX: point.bbox.x0,\n positionY: point.bbox.y0,\n x: point.x,\n y: point.y,\n });\n },\n [onHoverMarker],\n );\n\n const _onMarkerClick = useCallback(\n (e: Readonly) => {\n onClickMarker?.(\n {\n x: e.points[0].x as string,\n y: e.points[0].y as string,\n },\n e,\n );\n },\n [onClickMarker],\n );\n\n const _onAfterPlot = useCallback(() => {\n onRenderComplete();\n onAfterPlot();\n }, [onRenderComplete, onAfterPlot]);\n\n return (\n false}\n onHover={_onHoverMarker}\n onUnhover={onUnhoverMarker}\n onRelayout={isInteractive ? _onRelayout : () => {}}\n config={plotConfig}\n onInitialized={onInitialized}\n />\n );\n};\n\nexport default GenericPlot;\n" +} diff --git a/web/public/bundles/graylog/code/0863d566dcc2727dfae546f21e13db072e64c97c.json b/web/public/bundles/graylog/code/0863d566dcc2727dfae546f21e13db072e64c97c.json new file mode 100644 index 00000000..c31e8c4a --- /dev/null +++ b/web/public/bundles/graylog/code/0863d566dcc2727dfae546f21e13db072e64c97c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0863d566dcc2727dfae546f21e13db072e64c97c", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/contentpacks/responses/ContentPackRevisions.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.models.system.contentpacks.responses;\n\nimport com.fasterxml.jackson.annotation.JsonAutoDetect;\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.google.auto.value.AutoValue;\nimport org.graylog2.contentpacks.model.ContentPack;\nimport org.graylog2.contentpacks.model.constraints.ConstraintCheckResult;\n\nimport java.util.Map;\nimport java.util.Set;\n\n@JsonAutoDetect\n\n@AutoValue\npublic abstract class ContentPackRevisions {\n @JsonProperty(\"content_pack_revisions\")\n public abstract Map contentPackRevisions();\n\n @JsonProperty(\"constraints_result\")\n public abstract Map> constraints();\n\n @JsonCreator\n public static ContentPackRevisions create(@JsonProperty(\"content_pack_revisions\") Map contentPackRevisions,\n @JsonProperty(\"constraints_result\") Map> constraints) {\n return new AutoValue_ContentPackRevisions(contentPackRevisions, constraints);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/094dece89a6b1c61737b57d46b78415f1546d777.json b/web/public/bundles/graylog/code/094dece89a6b1c61737b57d46b78415f1546d777.json new file mode 100644 index 00000000..b0284376 --- /dev/null +++ b/web/public/bundles/graylog/code/094dece89a6b1c61737b57d46b78415f1546d777.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "094dece89a6b1c61737b57d46b78415f1546d777", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/security/DefaultPermissionAndRoleResolver.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.security;\n\nimport com.google.common.collect.ImmutableSet;\nimport jakarta.inject.Inject;\nimport org.apache.shiro.authz.Permission;\nimport org.graylog.grn.GRN;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.util.Collections;\nimport java.util.Optional;\nimport java.util.Set;\n\npublic class DefaultPermissionAndRoleResolver implements PermissionAndRoleResolver {\n private static final Logger LOG = LoggerFactory.getLogger(DefaultPermissionAndRoleResolver.class);\n\n private final Logger logger;\n private final CapabilityRegistry capabilityRegistry;\n private final DBGrantService grantService;\n\n @Inject\n public DefaultPermissionAndRoleResolver(CapabilityRegistry capabilityRegistry,\n DBGrantService grantService) {\n this(LOG, capabilityRegistry, grantService);\n }\n\n public DefaultPermissionAndRoleResolver(Logger logger,\n CapabilityRegistry capabilityRegistry,\n DBGrantService grantService) {\n this.logger = logger;\n this.capabilityRegistry = capabilityRegistry;\n this.grantService = grantService;\n }\n\n protected Set resolveTargets(GRN target) {\n //noinspection SwitchStatementWithTooFewBranches\n switch (target.type()) {\n case \"system\":\n // TODO\n return Collections.emptySet();\n default: // any other single entity\n return Collections.singleton(target);\n }\n }\n\n @Override\n public Set resolveGrantees(GRN principal) {\n return Collections.singleton(principal);\n }\n\n @Override\n public Set resolvePermissionsForPrincipal(GRN principal) {\n final Set grants = grantService.getForGranteesOrGlobal(resolveGrantees(principal));\n\n final ImmutableSet.Builder permissionsBuilder = ImmutableSet.builder();\n\n for (GrantDTO grant : grants) {\n final Set targets = resolveTargets(grant.target());\n\n for (GRN target : targets) {\n final Optional capability = capabilityRegistry.get(grant.capability());\n\n if (capability.isPresent()) {\n capability.get()\n .permissionsFor(target.grnType())\n .forEach(permission -> permissionsBuilder.add(permission.toShiroPermission(target)));\n } else {\n logger.warn(\"Couldn't find capability <{}>\", grant.capability());\n }\n }\n }\n\n return permissionsBuilder.build();\n }\n\n @Override\n public Set resolveRolesForPrincipal(GRN principal) {\n return ImmutableSet.of();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/0a4ebec65e2ff48bf224e13374e5746fa2d22d36.json b/web/public/bundles/graylog/code/0a4ebec65e2ff48bf224e13374e5746fa2d22d36.json new file mode 100644 index 00000000..b757b8bc --- /dev/null +++ b/web/public/bundles/graylog/code/0a4ebec65e2ff48bf224e13374e5746fa2d22d36.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0a4ebec65e2ff48bf224e13374e5746fa2d22d36", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/rest/ViewsRestPermissions.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.views.search.rest;\n\nimport com.google.common.collect.ImmutableSet;\nimport org.graylog.grn.GRNTypes;\nimport org.graylog2.plugin.security.Permission;\nimport org.graylog2.plugin.security.PluginPermissions;\n\nimport java.util.Set;\n\nimport static org.graylog2.plugin.security.Permission.create;\n\npublic class ViewsRestPermissions implements PluginPermissions {\n\n public static final String VIEW_CREATE = \"view:create\";\n public static final String VIEW_READ = \"view:read\";\n public static final String VIEW_EDIT = \"view:edit\";\n public static final String VIEW_DELETE = \"view:delete\";\n public static final String DEFAULT_VIEW_SET = \"default-view:set\";\n\n private final Permission createPermission = create(VIEW_CREATE, \"Create view\");\n\n private final ImmutableSet permissions = ImmutableSet.of(\n createPermission,\n create(VIEW_READ, \"Read available views\")\n .withViewCapabilityFor(GRNTypes.SEARCH)\n .withViewCapabilityFor(GRNTypes.DASHBOARD),\n create(VIEW_EDIT, \"Edit view\")\n .withManageCapabilityFor(GRNTypes.SEARCH)\n .withManageCapabilityFor(GRNTypes.DASHBOARD),\n create(VIEW_DELETE, \"Delete view\")\n .withOwnCapabilityFor(GRNTypes.SEARCH)\n .withOwnCapabilityFor(GRNTypes.DASHBOARD),\n create(DEFAULT_VIEW_SET, \"Set default view\")\n );\n\n @Override\n public Set permissions() {\n return permissions;\n }\n\n @Override\n public Set readerBasePermissions() {\n return Set.of(createPermission);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/0a8948367d0421734fb28ea871e8add7ce9dae36.json b/web/public/bundles/graylog/code/0a8948367d0421734fb28ea871e8add7ce9dae36.json new file mode 100644 index 00000000..40176ab2 --- /dev/null +++ b/web/public/bundles/graylog/code/0a8948367d0421734fb28ea871e8add7ce9dae36.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0a8948367d0421734fb28ea871e8add7ce9dae36", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/datanodes/DataNodeProxyAllowlist.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.resources.datanodes;\n\nimport org.apache.commons.io.FilenameUtils;\nimport org.graylog2.indexer.datanode.ProxyRequestAdapter;\n\nimport java.util.List;\nimport java.util.Optional;\nimport java.util.function.Predicate;\n\nimport static org.graylog2.shared.utilities.StringUtils.f;\n\n/**\n * Shared allowlist evaluation for the data node proxy resources. A request is allowed if, after its path has\n * been normalized to a canonical form (resolving \".\" and \"..\" segments), at least one of the configured rules\n * matches it. Paths that attempt to traverse above their own root are rejected outright.\n */\npublic class DataNodeProxyAllowlist {\n private final List> rules;\n\n public DataNodeProxyAllowlist(List> rules) {\n this.rules = rules;\n }\n\n /**\n * An allowlist that permits any path, for use when the allowlist feature is disabled. Requests still go\n * through {@link #authorize(ProxyRequestAdapter.ProxyRequest)}, so a path can never traverse above its own\n * root even with the allowlist \"off\" — only the rule matching itself is bypassed.\n */\n public static DataNodeProxyAllowlist allowAll() {\n return new DataNodeProxyAllowlist(List.of(request -> true));\n }\n\n /**\n * Normalizes the request's path and checks the result against the allowlist rules. Rule matching and any\n * downstream forwarding must both use the returned, normalized request rather than the original one, so\n * that a path segment like \"_cluster/../secrets\" can't pass the rules on its raw, pre-normalization text\n * while actually resolving to a different, disallowed endpoint.\n *\n * @return the request with its path replaced by the normalized form\n * @throws RequestNotAllowedException if the path traverses above its root, or no rule matches it\n */\n public ProxyRequestAdapter.ProxyRequest authorize(ProxyRequestAdapter.ProxyRequest request) throws RequestNotAllowedException {\n final String normalizedPath = normalize(request.path())\n .orElseThrow(() -> new RequestNotAllowedException(f(\"Path traverses above its root: %s\", request.path())));\n final ProxyRequestAdapter.ProxyRequest normalizedRequest = withPath(request, normalizedPath);\n if (!isAllowed(normalizedRequest)) {\n throw new RequestNotAllowedException(f(\"Path is not allowlisted: %s\", normalizedPath));\n }\n return normalizedRequest;\n }\n\n private boolean isAllowed(ProxyRequestAdapter.ProxyRequest request) {\n return rules.stream().anyMatch(rule -> rule.test(request));\n }\n\n private static ProxyRequestAdapter.ProxyRequest withPath(ProxyRequestAdapter.ProxyRequest request, String path) {\n return new ProxyRequestAdapter.ProxyRequest(request.method(), path, request.body(), request.hostname(),\n request.queryParameters(), request.subject());\n }\n\n /**\n * Checks whether the request's path is the given prefix itself or lies below it. Matching is done on whole\n * path segments, so the prefix \"_cat\" matches \"_cat\" and \"_cat/indices\", but not \"_catalog/_search\".\n */\n public static boolean hasPathPrefix(ProxyRequestAdapter.ProxyRequest request, String prefix) {\n final String path = request.path();\n return path != null && (path.equals(prefix) || path.startsWith(prefix + \"/\"));\n }\n\n /**\n * Resolves \".\" and \"..\" segments in the given path. {@code unixSeparator} is forced to {@code true} so\n * behavior doesn't depend on the platform the server runs on.\n *\n * @return the canonical path, or empty if it attempts to traverse above its own root\n * (e.g. \"_cluster/../../_nodes\").\n */\n static Optional normalize(String path) {\n return Optional.ofNullable(FilenameUtils.normalize(path, true));\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/0aa4eaabf826e6d20b74261c000278f0c89814ae.json b/web/public/bundles/graylog/code/0aa4eaabf826e6d20b74261c000278f0c89814ae.json new file mode 100644 index 00000000..27a18207 --- /dev/null +++ b/web/public/bundles/graylog/code/0aa4eaabf826e6d20b74261c000278f0c89814ae.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0aa4eaabf826e6d20b74261c000278f0c89814ae", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/export/CommandFactory.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.views.search.export;\n\nimport jakarta.inject.Inject;\nimport org.graylog.plugins.views.search.Query;\nimport org.graylog.plugins.views.search.Search;\nimport org.graylog.plugins.views.search.SearchType;\nimport org.graylog.plugins.views.search.elasticsearch.ElasticsearchQueryString;\nimport org.graylog.plugins.views.search.elasticsearch.QueryStringDecorators;\nimport org.graylog.plugins.views.search.searchtypes.MessageList;\nimport org.graylog2.database.filtering.HasAttributeFilter;\nimport org.graylog2.decorators.Decorator;\nimport org.graylog2.plugin.indexer.searches.timeranges.AbsoluteRange;\nimport org.graylog2.plugin.indexer.searches.timeranges.TimeRange;\n\nimport java.util.Collections;\nimport java.util.List;\nimport java.util.stream.Collectors;\n\npublic class CommandFactory {\n private final QueryStringDecorators queryStringDecorator;\n\n @Inject\n public CommandFactory(QueryStringDecorators queryStringDecorator) {\n this.queryStringDecorator = queryStringDecorator;\n }\n\n public ExportMessagesCommand buildFromRequest(MessagesRequest request) {\n ExportMessagesCommand.Builder builder = ExportMessagesCommand.builder()\n .timeRange(toAbsolute(request.timeRange()))\n .queryString(request.queryString())\n .streams(request.streams())\n .fieldsInOrder(request.fieldsInOrder())\n .chunkSize(request.chunkSize());\n\n request.timeZone().ifPresent(builder::timeZone);\n request.limit().ifPresent(builder::limit);\n\n return builder.build();\n }\n\n public ExportMessagesCommand buildWithSearchOnly(Search search, ResultFormat resultFormat) {\n Query query = queryFrom(search);\n\n return builderFrom(resultFormat)\n .timeRange(resultFormat.timerange().orElse(toAbsolute(query.timerange())))\n .queryString(queryStringFrom(search, query))\n .usedSearchFilters(search.queries().stream()\n .map(Query::filters)\n .flatMap(List::stream)\n .collect(Collectors.toList())\n )\n .streams(query.usedStreamIds())\n .build();\n }\n\n private Query queryFrom(Search s) {\n if (s.queries().size() > 1) {\n throw new ExportException(\"Can't get messages for search with id \" + s.id() + \", because it contains multiple queries\");\n }\n\n return s.queries().stream().findFirst()\n .orElseThrow(() -> new ExportException(\"Invalid Search object with empty Query\"));\n }\n\n public ExportMessagesCommand buildWithMessageList(Search search, String messageListId, ResultFormat resultFormat) {\n Query query = search.queryForSearchType(messageListId);\n SearchType searchType = searchTypeFrom(query, messageListId);\n\n final List decorators = searchType instanceof MessageList ? ((MessageList) searchType).decorators() : Collections.emptyList();\n\n ExportMessagesCommand.Builder commandBuilder = builderFrom(resultFormat)\n .timeRange(resultFormat.timerange().orElse(toAbsolute(timeRangeFrom(query, searchType))))\n .queryString(queryStringFrom(search, query, searchType))\n .streams(query.effectiveStreams(searchType))\n .usedSearchFilters(query.filters())\n .attributeFilters(searchType instanceof HasAttributeFilter hasAttributeFilter ? hasAttributeFilter.attributes() : List.of())\n .decorators(decorators);\n\n return commandBuilder.build();\n }\n\n private SearchType searchTypeFrom(Query query, String searchTypeId) {\n SearchType searchType = query.searchTypes().stream()\n .filter(st -> st.id().equals(searchTypeId))\n .findFirst().orElseThrow(() -> new IllegalArgumentException(\"Error getting search type\"));\n\n if (!searchType.isExportable()) {\n throw new ExportException(\"export is not supported for search type \" + searchType.getClass());\n }\n return searchType;\n }\n\n private AbsoluteRange toAbsolute(TimeRange timeRange) {\n return AbsoluteRange.create(timeRange.getFrom(), timeRange.getTo());\n }\n\n private ExportMessagesCommand.Builder builderFrom(ResultFormat resultFormat) {\n ExportMessagesCommand.Builder requestBuilder = ExportMessagesCommand.builder()\n .fieldsInOrder(resultFormat.fieldsInOrder());\n\n resultFormat.limit().ifPresent(requestBuilder::limit);\n resultFormat.timeZone().ifPresent(requestBuilder::timeZone);\n\n return requestBuilder;\n }\n\n private TimeRange timeRangeFrom(Query query, SearchType searchType) {\n if (searchType.timerange().isPresent()) {\n return query.effectiveTimeRange(searchType);\n } else {\n return query.timerange();\n }\n }\n\n private ElasticsearchQueryString queryStringFrom(Search search, Query query) {\n ElasticsearchQueryString undecorated = queryStringFrom(query);\n return decorateQueryString(search, query, undecorated);\n }\n\n private ElasticsearchQueryString queryStringFrom(Search search, Query query, SearchType searchType) {\n ElasticsearchQueryString undecorated = pickQueryString(searchType, query);\n return decorateQueryString(search, query, undecorated);\n }\n\n private ElasticsearchQueryString pickQueryString(SearchType searchType, Query query) {\n if (searchType.query().isPresent() && hasQueryString(query)) {\n return esQueryStringFrom(query).concatenate(esQueryStringFrom(searchType));\n } else if (searchType.query().isPresent()) {\n return esQueryStringFrom(searchType);\n } else {\n return queryStringFrom(query);\n }\n }\n\n private boolean hasQueryString(Query query) {\n return query.query() instanceof ElasticsearchQueryString;\n }\n\n private ElasticsearchQueryString queryStringFrom(Query query) {\n return hasQueryString(query) ? esQueryStringFrom(query) : ElasticsearchQueryString.empty();\n }\n\n private ElasticsearchQueryString esQueryStringFrom(SearchType searchType) {\n //noinspection OptionalGetWithoutIsPresent\n return (ElasticsearchQueryString) searchType.query().get();\n }\n\n private ElasticsearchQueryString esQueryStringFrom(Query query) {\n return (ElasticsearchQueryString) query.query();\n }\n\n private ElasticsearchQueryString decorateQueryString(Search search, Query query, ElasticsearchQueryString undecorated) {\n String queryString = undecorated.queryString();\n String decorated = queryStringDecorator.decorate(queryString, search, query);\n return ElasticsearchQueryString.of(decorated);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/0b1f4de5bb6d37a64f6f908249c977767194d5ff.json b/web/public/bundles/graylog/code/0b1f4de5bb6d37a64f6f908249c977767194d5ff.json new file mode 100644 index 00000000..53da161a --- /dev/null +++ b/web/public/bundles/graylog/code/0b1f4de5bb6d37a64f6f908249c977767194d5ff.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0b1f4de5bb6d37a64f6f908249c977767194d5ff", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/template/BasicIndexTemplateProvider.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.indexer.template;\n\nimport jakarta.annotation.Nonnull;\nimport org.graylog2.indexer.ElasticsearchException;\nimport org.graylog2.storage.SearchVersion;\n\nimport static org.graylog2.storage.SearchVersion.Distribution.ELASTICSEARCH;\nimport static org.graylog2.storage.SearchVersion.Distribution.OPENSEARCH;\n\npublic abstract class BasicIndexTemplateProvider implements IndexTemplateProvider {\n\n @Nonnull\n @Override\n public T create(@Nonnull SearchVersion searchVersion,\n @Nonnull IndexTemplateConfig templateConfig) throws IgnoreIndexTemplate {\n if (isProperSearchVersion(searchVersion)) {\n return createTemplateInstance();\n } else {\n throw new ElasticsearchException(\"Unsupported Search version: \" + searchVersion);\n }\n }\n\n private boolean isProperSearchVersion(@Nonnull SearchVersion searchVersion) {\n return searchVersion.satisfies(ELASTICSEARCH, \"^7.0.0\")\n || searchVersion.satisfies(OPENSEARCH, \"^1.0.0 | ^2.0.0 | ^3.0.0\")\n || searchVersion.isDataNode();\n }\n\n protected abstract T createTemplateInstance();\n}\n" +} diff --git a/web/public/bundles/graylog/code/0bae6f4c00a91b72281b03c8d2df75c040efda32.json b/web/public/bundles/graylog/code/0bae6f4c00a91b72281b03c8d2df75c040efda32.json new file mode 100644 index 00000000..3fa90f9d --- /dev/null +++ b/web/public/bundles/graylog/code/0bae6f4c00a91b72281b03c8d2df75c040efda32.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0bae6f4c00a91b72281b03c8d2df75c040efda32", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/database/utils/SourcedMongoEntityUtils.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.database.utils;\n\nimport org.graylog2.database.entities.SourcedMongoEntity;\nimport org.graylog2.database.entities.SourcedScopedEntity;\nimport org.graylog2.database.entities.source.EntitySource;\nimport org.graylog2.search.SearchQuery;\n\nimport java.util.Arrays;\nimport java.util.List;\nimport java.util.Optional;\nimport java.util.function.Predicate;\n\nimport static org.graylog2.database.filtering.inmemory.SingleFilterParser.FIELD_AND_VALUE_SEPARATOR;\nimport static org.graylog2.database.filtering.inmemory.SingleFilterParser.WRONG_FILTER_EXPR_FORMAT_ERROR_MSG;\n\npublic class SourcedMongoEntityUtils {\n public static String SEARCH_QUERY_TITLE = EntitySource.FIELD_SOURCE;\n public static String FILTERABLE_FIELD = SourcedMongoEntity.FIELD_ENTITY_SOURCE + \".\" + EntitySource.FIELD_SOURCE;\n\n @SuppressWarnings({\"unchecked\", \"rawtypes\"})\n public static FilterPredicate handleEntitySourceFilter(List filters,\n Predicate predicate) {\n final List entitySourceFilters = filterValues(filters);\n if (!entitySourceFilters.isEmpty()) {\n predicate = predicate.and(entity -> entitySourceFilters.stream()\n .anyMatch(source -> sourceMatches(entity.entitySource().orElse(null), source)));\n filters = removeEntitySourceFilter(filters);\n }\n return new FilterPredicate<>(filters, predicate);\n }\n\n @SuppressWarnings({\"unchecked\", \"rawtypes\"})\n public static FilterPredicate handleScopedEntitySourceFilter(List filters,\n Predicate predicate) {\n final List entitySourceFilters = filterValues(filters);\n if (!entitySourceFilters.isEmpty()) {\n predicate = predicate.and(entity -> entitySourceFilters.stream()\n .anyMatch(source -> sourceMatches(entity.entitySource().orElse(null), source)));\n filters = removeEntitySourceFilter(filters);\n }\n return new FilterPredicate<>(filters, predicate);\n }\n\n /**\n * Handles the _entity_source filtering for entities that have not yet been converted to use the common entity\n * table on the frontend and still supply filters as a string. The filters for each field are separated by a\n * semicolon ';'. The filter values are comma-delimited. An example filter string with _entity_source.source:\n * filter1:'filter_value1';_entity_source.source:'ILLUMINATE';filter3:'value1,value2,value3'\n *

\n * The caller will be responsible for rejoining the list of filter strings (FilterPredicate.filters) with the\n * necessary delimiter.\n *\n * @param filters string of filters separated by ';'.\n * @param predicate existing predicate for the SourcedScopedEntity\n * @param class that implements SourcedScopedEntity\n * @return modified filters and predicate that properly apply _entity_source.source filtering\n */\n @SuppressWarnings({\"unchecked\", \"rawtypes\"})\n public static FilterPredicate handleScopedEntitySourceFilter(String filters,\n Predicate predicate) {\n List cleanedFilters = Arrays.asList(filters.split(\";\"));\n final List entitySourceFilter = filterValues(cleanedFilters);\n if (!entitySourceFilter.isEmpty()) {\n // entitySourceFilters should only have a size of 1 since it will be a comma-delimited string\n final String sourceString = entitySourceFilter.getFirst();\n\n final List sourceFilters = List.of(sourceString.substring(1, sourceString.length() - 1).split(\",\"));\n predicate = predicate.and(entity -> sourceFilters.stream()\n .anyMatch(source -> sourceMatches(entity.entitySource().orElse(null), source)));\n cleanedFilters = removeEntitySourceFilter(cleanedFilters);\n }\n return new FilterPredicate<>(cleanedFilters, predicate);\n }\n\n private static List filterValues(List filters) {\n return filters.stream()\n .filter(f -> f.startsWith(FILTERABLE_FIELD + FIELD_AND_VALUE_SEPARATOR))\n .map(f -> {\n String[] split = f.split(FIELD_AND_VALUE_SEPARATOR, 2);\n String value = (split.length > 1) ? split[1] : null;\n if (value == null || value.isEmpty()) {\n throw new IllegalArgumentException(WRONG_FILTER_EXPR_FORMAT_ERROR_MSG);\n }\n return Optional.of(value);\n })\n .map(Optional::get)\n .toList();\n }\n\n private static List removeEntitySourceFilter(List filters) {\n return filters.stream()\n .filter(f -> !f.startsWith(FILTERABLE_FIELD + FIELD_AND_VALUE_SEPARATOR))\n .toList();\n }\n\n private static boolean sourceMatches(Object o, String source) {\n if (o == null) {\n return source.equals(EntitySource.USER_DEFINED);\n }\n if (o instanceof EntitySource entitySource) {\n return entitySource.source().equals(source);\n }\n return false;\n }\n\n public record FilterPredicate(List filters, Predicate predicate) {}\n\n public record QueryPredicate(SearchQuery query, Predicate predicate) {}\n}\n" +} diff --git a/web/public/bundles/graylog/code/0c0bd18b556b30772f559cbbc20d99a20df844b9.json b/web/public/bundles/graylog/code/0c0bd18b556b30772f559cbbc20d99a20df844b9.json new file mode 100644 index 00000000..0ebe8245 --- /dev/null +++ b/web/public/bundles/graylog/code/0c0bd18b556b30772f559cbbc20d99a20df844b9.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0c0bd18b556b30772f559cbbc20d99a20df844b9", + "language": "java", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/ViewsESBackendModule.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.storage.elasticsearch7;\n\nimport com.google.inject.Scopes;\nimport com.google.inject.TypeLiteral;\nimport com.google.inject.assistedinject.FactoryModuleBuilder;\nimport com.google.inject.binder.LinkedBindingBuilder;\nimport com.google.inject.binder.ScopedBindingBuilder;\nimport com.google.inject.multibindings.MapBinder;\nimport org.graylog.plugins.views.ViewsModule;\nimport org.graylog.plugins.views.search.SearchType;\nimport org.graylog.plugins.views.search.export.ExportBackend;\nimport org.graylog.plugins.views.search.searchtypes.MessageList;\nimport org.graylog.plugins.views.search.searchtypes.events.EventList;\nimport org.graylog.plugins.views.search.searchtypes.pivot.BucketSpec;\nimport org.graylog.plugins.views.search.searchtypes.pivot.Pivot;\nimport org.graylog.plugins.views.search.searchtypes.pivot.SeriesSpec;\nimport org.graylog.plugins.views.search.searchtypes.pivot.buckets.DateRangeBucket;\nimport org.graylog.plugins.views.search.searchtypes.pivot.buckets.RangeBucket;\nimport org.graylog.plugins.views.search.searchtypes.pivot.buckets.Time;\nimport org.graylog.plugins.views.search.searchtypes.pivot.buckets.Values;\nimport org.graylog.plugins.views.search.searchtypes.pivot.series.Average;\nimport org.graylog.plugins.views.search.searchtypes.pivot.series.Cardinality;\nimport org.graylog.plugins.views.search.searchtypes.pivot.series.Count;\nimport org.graylog.plugins.views.search.searchtypes.pivot.series.Latest;\nimport org.graylog.plugins.views.search.searchtypes.pivot.series.Max;\nimport org.graylog.plugins.views.search.searchtypes.pivot.series.Min;\nimport org.graylog.plugins.views.search.searchtypes.pivot.series.Percentage;\nimport org.graylog.plugins.views.search.searchtypes.pivot.series.Percentile;\nimport org.graylog.plugins.views.search.searchtypes.pivot.series.StdDev;\nimport org.graylog.plugins.views.search.searchtypes.pivot.series.Sum;\nimport org.graylog.plugins.views.search.searchtypes.pivot.series.SumOfSquares;\nimport org.graylog.plugins.views.search.searchtypes.pivot.series.Variance;\nimport org.graylog.shaded.elasticsearch7.org.elasticsearch.search.aggregations.Aggregation;\nimport org.graylog.storage.elasticsearch7.views.ESGeneratedQueryContext;\nimport org.graylog.storage.elasticsearch7.views.ElasticsearchBackend;\nimport org.graylog.storage.elasticsearch7.views.export.ElasticsearchExportBackend;\nimport org.graylog.storage.elasticsearch7.views.export.RequestStrategy;\nimport org.graylog.storage.elasticsearch7.views.searchtypes.ESEventList;\nimport org.graylog.storage.elasticsearch7.views.searchtypes.ESMessageList;\nimport org.graylog.storage.elasticsearch7.views.searchtypes.ESSearchTypeHandler;\nimport org.graylog.storage.elasticsearch7.views.searchtypes.pivot.ESPivot;\nimport org.graylog.storage.elasticsearch7.views.searchtypes.pivot.ESPivotBucketSpecHandler;\nimport org.graylog.storage.elasticsearch7.views.searchtypes.pivot.ESPivotSeriesSpecHandler;\nimport org.graylog.storage.elasticsearch7.views.searchtypes.pivot.buckets.ESDateRangeHandler;\nimport org.graylog.storage.elasticsearch7.views.searchtypes.pivot.buckets.ESRangeHandler;\nimport org.graylog.storage.elasticsearch7.views.searchtypes.pivot.buckets.ESTimeHandler;\nimport org.graylog.storage.elasticsearch7.views.searchtypes.pivot.buckets.ESValuesHandler;\nimport org.graylog.storage.elasticsearch7.views.searchtypes.pivot.series.ESAverageHandler;\nimport org.graylog.storage.elasticsearch7.views.searchtypes.pivot.series.ESCardinalityHandler;\nimport org.graylog.storage.elasticsearch7.views.searchtypes.pivot.series.ESCountHandler;\nimport org.graylog.storage.elasticsearch7.views.searchtypes.pivot.series.ESLatestHandler;\nimport org.graylog.storage.elasticsearch7.views.searchtypes.pivot.series.ESMaxHandler;\nimport org.graylog.storage.elasticsearch7.views.searchtypes.pivot.series.ESMinHandler;\nimport org.graylog.storage.elasticsearch7.views.searchtypes.pivot.series.ESPercentageHandler;\nimport org.graylog.storage.elasticsearch7.views.searchtypes.pivot.series.ESPercentilesHandler;\nimport org.graylog.storage.elasticsearch7.views.searchtypes.pivot.series.ESStdDevHandler;\nimport org.graylog.storage.elasticsearch7.views.searchtypes.pivot.series.ESSumHandler;\nimport org.graylog.storage.elasticsearch7.views.searchtypes.pivot.series.ESSumOfSquaresHandler;\nimport org.graylog.storage.elasticsearch7.views.searchtypes.pivot.series.ESVarianceHandler;\nimport org.graylog2.storage.SearchVersion;\n\npublic class ViewsESBackendModule extends ViewsModule {\n private final SearchVersion supportedSearchVersion;\n\n public ViewsESBackendModule(SearchVersion supportedSearchVersion) {\n this.supportedSearchVersion = supportedSearchVersion;\n }\n\n @Override\n protected void configure() {\n install(new FactoryModuleBuilder().build(ESGeneratedQueryContext.Factory.class));\n\n registerVersionedQueryBackend(supportedSearchVersion, ElasticsearchBackend.class);\n\n registerESSearchTypeHandler(MessageList.NAME, ESMessageList.class);\n registerESSearchTypeHandler(EventList.NAME, ESEventList.class);\n registerESSearchTypeHandler(Pivot.NAME, ESPivot.class).in(Scopes.SINGLETON);\n\n registerPivotSeriesHandler(Average.NAME, ESAverageHandler.class);\n registerPivotSeriesHandler(Cardinality.NAME, ESCardinalityHandler.class);\n registerPivotSeriesHandler(Count.NAME, ESCountHandler.class);\n registerPivotSeriesHandler(Max.NAME, ESMaxHandler.class);\n registerPivotSeriesHandler(Min.NAME, ESMinHandler.class);\n registerPivotSeriesHandler(StdDev.NAME, ESStdDevHandler.class);\n registerPivotSeriesHandler(Sum.NAME, ESSumHandler.class);\n registerPivotSeriesHandler(SumOfSquares.NAME, ESSumOfSquaresHandler.class);\n registerPivotSeriesHandler(Variance.NAME, ESVarianceHandler.class);\n registerPivotSeriesHandler(Percentage.NAME, ESPercentageHandler.class);\n registerPivotSeriesHandler(Percentile.NAME, ESPercentilesHandler.class);\n registerPivotSeriesHandler(Latest.NAME, ESLatestHandler.class);\n\n registerPivotBucketHandler(Values.NAME, ESValuesHandler.class);\n registerPivotBucketHandler(Time.NAME, ESTimeHandler.class);\n registerPivotBucketHandler(DateRangeBucket.NAME, ESDateRangeHandler.class);\n registerPivotBucketHandler(RangeBucket.NAME, ESRangeHandler.class);\n\n bindExportBackend().to(ElasticsearchExportBackend.class);\n bindRequestStrategy().to(org.graylog.storage.elasticsearch7.views.export.SearchAfter.class);\n }\n\n private LinkedBindingBuilder bindRequestStrategy() {\n return bind(RequestStrategy.class);\n }\n\n private LinkedBindingBuilder bindExportBackend() {\n return bindExportBackend(supportedSearchVersion);\n }\n\n private MapBinder> pivotBucketHandlerBinder() {\n return MapBinder.newMapBinder(binder(),\n TypeLiteral.get(String.class),\n new TypeLiteral<>() {});\n\n }\n\n private void registerPivotBucketHandler(\n String name,\n Class> implementation\n ) {\n pivotBucketHandlerBinder().addBinding(name).to(implementation);\n }\n\n protected MapBinder> pivotSeriesHandlerBinder() {\n return MapBinder.newMapBinder(binder(),\n TypeLiteral.get(String.class),\n new TypeLiteral<>() {});\n\n }\n\n private void registerPivotSeriesHandler(\n String name,\n Class> implementation\n ) {\n pivotSeriesHandlerBinder().addBinding(name).to(implementation);\n }\n\n private MapBinder> esSearchTypeHandlerBinder() {\n return MapBinder.newMapBinder(binder(),\n TypeLiteral.get(String.class),\n new TypeLiteral>() {});\n }\n\n private ScopedBindingBuilder registerESSearchTypeHandler(String name, Class> implementation) {\n return esSearchTypeHandlerBinder().addBinding(name).to(implementation);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/0c1e56f8704dced6b33802ec2ae0451585b0a432.json b/web/public/bundles/graylog/code/0c1e56f8704dced6b33802ec2ae0451585b0a432.json new file mode 100644 index 00000000..e6046cbb --- /dev/null +++ b/web/public/bundles/graylog/code/0c1e56f8704dced6b33802ec2ae0451585b0a432.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0c1e56f8704dced6b33802ec2ae0451585b0a432", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20211221144300_GeoIpResolverConfigMigration.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\n\npackage org.graylog2.migrations;\n\nimport com.fasterxml.jackson.annotation.JsonAutoDetect;\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.google.auto.value.AutoValue;\nimport com.mongodb.client.MongoCollection;\nimport com.mongodb.client.model.Filters;\nimport com.mongodb.client.model.Updates;\nimport com.mongodb.client.result.UpdateResult;\nimport org.bson.Document;\nimport org.bson.conversions.Bson;\nimport org.graylog.plugins.map.config.DatabaseVendorType;\nimport org.graylog.plugins.map.config.GeoIpResolverConfig;\nimport org.graylog2.database.MongoConnection;\nimport org.graylog2.plugin.cluster.ClusterConfigService;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport jakarta.inject.Inject;\n\nimport java.time.ZonedDateTime;\n\n/**\n * The Original migration had a bug which caused the db_vendor_type field to always be updated--replacing any user supplied values.\n *\n *

\n * This update writes a completion status record upon initial successful migration, and checks for presence of such record\n * before stating any subsequent migration--aborts if record found.\n *

\n */\npublic class V20211221144300_GeoIpResolverConfigMigration extends Migration {\n\n private static final Logger LOG = LoggerFactory.getLogger(V20211221144300_GeoIpResolverConfigMigration.class);\n private static final String COLLECTION_NAME = \"cluster_config\";\n public static final String PAYLOAD = \"payload\";\n private static final String FIELD_DB_VENDOR = PAYLOAD + \".db_vendor_type\";\n private static final String FIELD_DB_TYPE = PAYLOAD + \".db_type\";\n private static final String FIELD_DB_PATH = PAYLOAD + \".db_path\";\n private static final String FIELD_CITY_DB_PATH = PAYLOAD + \".city_db_path\";\n private static final String FIELD_ASN_DB_PATH = PAYLOAD + \".asn_db_path\";\n private static final String FIELD_ENFORCE = PAYLOAD + \".enforce_graylog_schema\";\n\n private final MongoConnection mongoConnection;\n private final ClusterConfigService clusterConfigService;\n\n @Inject\n public V20211221144300_GeoIpResolverConfigMigration(MongoConnection mongoConnection,\n ClusterConfigService clusterConfigService) {\n this.mongoConnection = mongoConnection;\n this.clusterConfigService = clusterConfigService;\n }\n\n @Override\n public ZonedDateTime createdAt() {\n return ZonedDateTime.parse(\"2022-01-28t16:38Z\");\n }\n\n /**\n * This code change modifies {@link GeoIpResolverConfig} by removing the field db_type and adding the field database_vendor_type.\n *\n *

\n * The objective of this migration is to add the new field (with value {@link DatabaseVendorType#MAXMIND}) if not already present, and to remove the old field.\n *

\n */\n @Override\n public void upgrade() {\n\n MigrationCompletion completion = clusterConfigService.get(MigrationCompletion.class);\n if (completion != null) {\n LOG.debug(\"Migration was already completed\");\n return;\n }\n\n final MongoCollection collection = mongoConnection.getMongoDatabase().getCollection(COLLECTION_NAME);\n LOG.info(\"Updating '{}' collection.\", COLLECTION_NAME);\n\n Bson geoConfFilter = Filters.eq(\"type\", GeoIpResolverConfig.class.getCanonicalName());\n Bson noColumnFilter = Filters.exists(FIELD_DB_VENDOR, false);\n\n //set default value for 'enforce_graylog_schema'\n Bson setEnforceSchema = Updates.set(FIELD_ENFORCE, false);\n\n //set blank asn db path\n Bson setAsnPath = Updates.set(FIELD_ASN_DB_PATH, \"\");\n\n //rename db type field to db vendor type\n Bson renameDbTypeToVendor = Updates.rename(FIELD_DB_TYPE, FIELD_DB_VENDOR);\n\n //rename existing db_path field to city_db_path\n Bson renameDbPath = Updates.rename(FIELD_DB_PATH, FIELD_CITY_DB_PATH);\n\n Bson updates = Updates.combine(setEnforceSchema, renameDbTypeToVendor, renameDbPath, setAsnPath);\n LOG.info(\"Planned Updates: {}\", updates);\n final UpdateResult updateResult = collection.updateOne(Filters.and(geoConfFilter, noColumnFilter), updates);\n LOG.info(\"Update Result: {}\", updateResult);\n\n Bson setDefaultVendor = Updates.set(FIELD_DB_VENDOR, DatabaseVendorType.MAXMIND.name());\n LOG.info(\"Setting default vendor: {}\", setDefaultVendor);\n final UpdateResult updateVendorResult = collection.updateOne(geoConfFilter, setDefaultVendor);\n LOG.info(\"Default Vendor Update Result: {}\", updateVendorResult);\n\n clusterConfigService.write(MigrationCompletion.create());\n\n }\n\n @JsonAutoDetect\n @AutoValue\n public abstract static class MigrationCompletion {\n\n @JsonCreator\n public static MigrationCompletion create() {\n return new AutoValue_V20211221144300_GeoIpResolverConfigMigration_MigrationCompletion();\n }\n }\n}\n\n" +} diff --git a/web/public/bundles/graylog/code/0cb23f366c5424789d9cb84e7c9261f7e24ab3ae.json b/web/public/bundles/graylog/code/0cb23f366c5424789d9cb84e7c9261f7e24ab3ae.json new file mode 100644 index 00000000..20eb5d7b --- /dev/null +++ b/web/public/bundles/graylog/code/0cb23f366c5424789d9cb84e7c9261f7e24ab3ae.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0cb23f366c5424789d9cb84e7c9261f7e24ab3ae", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/inputs/paloalto9/PaloAlto9xInput.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.integrations.inputs.paloalto9;\n\nimport com.codahale.metrics.MetricRegistry;\nimport com.google.inject.assistedinject.Assisted;\nimport org.graylog2.inputs.transports.SyslogTcpTransport;\nimport org.graylog2.plugin.LocalMetricRegistry;\nimport org.graylog2.plugin.ServerStatus;\nimport org.graylog2.plugin.buffers.InputBuffer;\nimport org.graylog2.plugin.configuration.Configuration;\nimport org.graylog2.plugin.inputs.MessageInput;\nimport org.graylog2.plugin.inputs.MisfireException;\nimport org.graylog2.plugin.inputs.annotations.ConfigClass;\nimport org.graylog2.plugin.inputs.annotations.FactoryClass;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport jakarta.inject.Inject;\n\npublic class PaloAlto9xInput extends MessageInput {\n private static final Logger LOG = LoggerFactory.getLogger(PaloAlto9xInput.class);\n\n public static final String NAME = \"Palo Alto Networks TCP v9.x (deprecated)\";\n\n @Inject\n public PaloAlto9xInput(@Assisted Configuration configuration,\n MetricRegistry metricRegistry,\n SyslogTcpTransport.Factory transport,\n LocalMetricRegistry localRegistry,\n PaloAlto9xCodec.Factory codec,\n PaloAlto9xInput.Config config,\n PaloAlto9xInput.Descriptor descriptor,\n ServerStatus serverStatus) {\n super(\n metricRegistry,\n configuration,\n transport.create(configuration),\n localRegistry,\n codec.create(configuration),\n config,\n descriptor,\n serverStatus);\n }\n\n @Override\n public void launch(InputBuffer buffer) throws MisfireException {\n super.launch(buffer);\n }\n\n @FactoryClass\n public interface Factory extends MessageInput.Factory {\n @Override\n PaloAlto9xInput create(Configuration configuration);\n\n @Override\n PaloAlto9xInput.Config getConfig();\n\n @Override\n PaloAlto9xInput.Descriptor getDescriptor();\n }\n\n public static class Descriptor extends MessageInput.Descriptor {\n public Descriptor() {\n super(NAME, false, \"\");\n }\n }\n\n @ConfigClass\n public static class Config extends MessageInput.Config {\n\n @Inject\n public Config(SyslogTcpTransport.Factory transport, PaloAlto9xCodec.Factory codec) {\n super(transport.getConfig(), codec.getConfig());\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/0d73c707fd9a82bf92fabea1aed37a9ad28200b9.json b/web/public/bundles/graylog/code/0d73c707fd9a82bf92fabea1aed37a9ad28200b9.json new file mode 100644 index 00000000..ae183c86 --- /dev/null +++ b/web/public/bundles/graylog/code/0d73c707fd9a82bf92fabea1aed37a9ad28200b9.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0d73c707fd9a82bf92fabea1aed37a9ad28200b9", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/security/UnsafeClassLoadingAttemptException.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.security;\n\nimport org.graylog2.Configuration;\n\n/**\n * Exception indicating an attempt to load a class that is not considered safe because it's fully qualified class name\n * did not start with any of the prefixes configured in {@link Configuration#getSafeClasses()}\n */\npublic class UnsafeClassLoadingAttemptException extends Exception {\n public UnsafeClassLoadingAttemptException(String message) {\n super(message);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/0f6b2040844dfe7802bc2acce8ed6baecd4736f6.json b/web/public/bundles/graylog/code/0f6b2040844dfe7802bc2acce8ed6baecd4736f6.json new file mode 100644 index 00000000..9fd45eed --- /dev/null +++ b/web/public/bundles/graylog/code/0f6b2040844dfe7802bc2acce8ed6baecd4736f6.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0f6b2040844dfe7802bc2acce8ed6baecd4736f6", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/PipelineService.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.pipelineprocessor.db;\n\nimport org.graylog2.database.NotFoundException;\n\nimport java.util.Collection;\nimport java.util.Set;\nimport java.util.stream.Collectors;\nimport java.util.stream.Stream;\n\npublic interface PipelineService {\n default PipelineDao save(PipelineDao pipeline) {\n return save(pipeline, true);\n }\n\n PipelineDao save(PipelineDao pipeline, boolean checkMutability);\n\n PipelineDao load(String id) throws NotFoundException;\n\n PipelineDao loadByName(String name) throws NotFoundException;\n\n /**\n * Returns all pipelines that include rules with the given source pattern, ignoring pipelines\n * that are not connected to any streams.\n *\n * This method is only implemented in the MongoDB implementation.\n */\n default Collection loadBySourcePattern(String sourcePattern) {\n throw new UnsupportedOperationException(\"loadBySourcePattern is not implemented\");\n }\n\n Collection loadAll();\n\n void delete(String id);\n\n default Set loadByIds(Set pipelineIds) {\n return pipelineIds.stream().flatMap(id -> {\n try {\n return Stream.of(load(id));\n } catch (NotFoundException e) {\n return Stream.empty();\n }\n }).collect(Collectors.toSet());\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/1035a50fde4361ad94da278a5509dc7099171a92.json b/web/public/bundles/graylog/code/1035a50fde4361ad94da278a5509dc7099171a92.json new file mode 100644 index 00000000..735b96df --- /dev/null +++ b/web/public/bundles/graylog/code/1035a50fde4361ad94da278a5509dc7099171a92.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "1035a50fde4361ad94da278a5509dc7099171a92", + "language": "typescript", + "path": "graylog2-web-interface/src/pages/UserTokensEditPage.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport { useEffect, useState, useCallback } from 'react';\n\nimport withParams from 'routing/withParams';\nimport { Row, Col } from 'components/bootstrap';\nimport DocsHelper from 'util/DocsHelper';\nimport UsersDomain from 'domainActions/users/UsersDomain';\nimport { PageHeader, DocumentTitle, Spinner } from 'components/common';\nimport TokenList from 'components/users/TokenList';\nimport UsersPageNavigation from 'components/users/navigation/UsersPageNavigation';\nimport UserActionLinks from 'components/users/navigation/UserActionLinks';\nimport useBasicUser from 'hooks/useBasicUser';\n\ntype Props = {\n params: {\n userId: string;\n };\n};\n\nconst PageTitle = ({ fullName }: { fullName: string | null | undefined }) => (\n <>\n Edit Tokens Of User{' '}\n {fullName && (\n <>\n - {fullName}\n \n )}\n \n);\n\nconst _loadTokens = (loadedUser, setTokens) => {\n if (loadedUser) {\n UsersDomain.loadTokens(loadedUser.id).then(setTokens);\n }\n};\n\nconst _createToken = (tokenName, userId, loadTokens, setCreatingToken, tokenTtl) => {\n const promise = UsersDomain.createToken(userId, tokenName, tokenTtl);\n\n setCreatingToken(true);\n\n return promise\n .then((token) => {\n loadTokens();\n\n return token;\n })\n .finally(() => {\n setCreatingToken(false);\n });\n};\n\nconst UserEditPage = ({ params }: Props) => {\n const [tokens, setTokens] = useState([]);\n const [creatingToken, setCreatingToken] = useState(false);\n\n const userId = params?.userId;\n\n const { data: loadedUser } = useBasicUser(userId, { enabled: !!userId });\n\n const loadTokens = useCallback(() => _loadTokens(loadedUser, setTokens), [loadedUser]);\n const _handleTokenCreate = ({ tokenName, tokenTtl }: { tokenName: string; tokenTtl: string }) =>\n _createToken(tokenName, userId, loadTokens, setCreatingToken, tokenTtl);\n\n useEffect(() => {\n loadTokens();\n }, [loadTokens, loadedUser]);\n\n return (\n \n \n }\n actions={\n \n }\n documentationLink={{\n title: 'Permissions documentation',\n path: DocsHelper.PAGES.USERS_ROLES,\n }}>\n You can create new tokens or delete old ones.\n \n\n \n \n {loadedUser ? (\n \n ) : (\n \n \n \n \n \n )}\n \n \n \n );\n};\n\nexport default withParams(UserEditPage);\n" +} diff --git a/web/public/bundles/graylog/code/11d08c04ceeb180b5b6164b3e9e93cec84817e08.json b/web/public/bundles/graylog/code/11d08c04ceeb180b5b6164b3e9e93cec84817e08.json new file mode 100644 index 00000000..8b1d4cbb --- /dev/null +++ b/web/public/bundles/graylog/code/11d08c04ceeb180b5b6164b3e9e93cec84817e08.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "11d08c04ceeb180b5b6164b3e9e93cec84817e08", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/capabilities/ServerNodeSchedulerCapabilities.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.scheduler.capabilities;\n\nimport com.google.common.collect.ImmutableSet;\nimport org.graylog2.cluster.leader.LeaderElectionService;\n\nimport jakarta.inject.Inject;\n\nimport java.util.Set;\n\npublic class ServerNodeSchedulerCapabilities implements SchedulerCapabilities {\n\n public static final String IS_LEADER = \"org.graylog.cluster.is-leader\";\n private final LeaderElectionService leaderElectionService;\n\n @Inject\n public ServerNodeSchedulerCapabilities(LeaderElectionService leaderElectionService) {\n this.leaderElectionService = leaderElectionService;\n }\n\n @Override\n public Set getNodeCapabilities() {\n if (leaderElectionService.isLeader()) {\n return ImmutableSet.of(IS_LEADER);\n }\n return ImmutableSet.of();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/122f90cf9bd39d1383b12160e0c0b8959488be03.json b/web/public/bundles/graylog/code/122f90cf9bd39d1383b12160e0c0b8959488be03.json new file mode 100644 index 00000000..dabf8c5e --- /dev/null +++ b/web/public/bundles/graylog/code/122f90cf9bd39d1383b12160e0c0b8959488be03.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "122f90cf9bd39d1383b12160e0c0b8959488be03", + "language": "java", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/OpenSearch2Metadata.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.storage.opensearch2;\n\nimport org.graylog2.plugin.PluginMetaData;\nimport org.graylog2.plugin.ServerStatus;\nimport org.graylog2.plugin.Version;\n\nimport java.net.URI;\nimport java.util.Collections;\nimport java.util.Set;\n\npublic class OpenSearch2Metadata implements PluginMetaData {\n @Override\n public String getUniqueId() {\n return OpenSearch2Plugin.class.getCanonicalName();\n }\n\n @Override\n public String getName() {\n return \"OpenSearch 2 Support\";\n }\n\n @Override\n public String getAuthor() {\n return \"Graylog, Inc.\";\n }\n\n @Override\n public URI getURL() {\n return URI.create(\"https://www.graylog.org\");\n }\n\n @Override\n public Version getVersion() {\n return Version.CURRENT_CLASSPATH;\n }\n\n @Override\n public String getDescription() {\n return \"Support for OpenSearch 2\";\n }\n\n @Override\n public Version getRequiredVersion() {\n return Version.CURRENT_CLASSPATH;\n }\n\n @Override\n public Set getRequiredCapabilities() {\n return Collections.emptySet();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/1278bc0c1fbd3648c0f851ea8cf4fd4449cd5356.json b/web/public/bundles/graylog/code/1278bc0c1fbd3648c0f851ea8cf4fd4449cd5356.json new file mode 100644 index 00000000..27b8b43d --- /dev/null +++ b/web/public/bundles/graylog/code/1278bc0c1fbd3648c0f851ea8cf4fd4449cd5356.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "1278bc0c1fbd3648c0f851ea8cf4fd4449cd5356", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/UserSessionTerminationPeriodical.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.periodical;\n\nimport org.graylog2.plugin.periodical.Periodical;\nimport org.graylog2.security.UserSessionTerminationService;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport jakarta.inject.Inject;\n\n/**\n * Simply calls {@link UserSessionTerminationService#runGlobalSessionTermination()} once on startup.\n *

\n * This is a periodical, only to make sure that it's only run on the primary node.\n */\npublic class UserSessionTerminationPeriodical extends Periodical {\n private static final Logger log = LoggerFactory.getLogger(UserSessionTerminationPeriodical.class);\n\n private final UserSessionTerminationService sessionTerminationService;\n\n @Inject\n public UserSessionTerminationPeriodical(UserSessionTerminationService sessionTerminationService) {\n this.sessionTerminationService = sessionTerminationService;\n }\n\n @Override\n public void doRun() {\n sessionTerminationService.runGlobalSessionTermination();\n }\n\n @Override\n public boolean runsForever() {\n return true;\n }\n\n @Override\n public boolean stopOnGracefulShutdown() {\n return false;\n }\n\n @Override\n public boolean leaderOnly() {\n return true;\n }\n\n @Override\n public boolean startOnThisNode() {\n return true;\n }\n\n @Override\n public boolean isDaemon() {\n return false;\n }\n\n @Override\n public int getInitialDelaySeconds() {\n return 0;\n }\n\n @Override\n public int getPeriodSeconds() {\n return 0;\n }\n\n @Override\n protected Logger getLogger() {\n return log;\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/134a573914ff2d783b5e34272a2ebef19318b66e.json b/web/public/bundles/graylog/code/134a573914ff2d783b5e34272a2ebef19318b66e.json new file mode 100644 index 00000000..af03d379 --- /dev/null +++ b/web/public/bundles/graylog/code/134a573914ff2d783b5e34272a2ebef19318b66e.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "134a573914ff2d783b5e34272a2ebef19318b66e", + "language": "typescript", + "path": "graylog2-web-interface/src/components/event-definitions/event-definition-types/FilterAggregationFormContainer.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport { useContext } from 'react';\n\nimport FormWarningsProvider from 'contexts/FormWarningsProvider';\nimport StreamsContext from 'contexts/StreamsContext';\nimport type { EventDefinitionType } from 'components/event-definitions/types';\n\nimport FilterAggregationForm from './FilterAggregationForm';\n\nconst FilterAggregationFormContainer: EventDefinitionType['formComponent'] = (props) => {\n const streams = useContext(StreamsContext);\n\n return (\n \n \n \n );\n};\n\nexport default FilterAggregationFormContainer;\n" +} diff --git a/web/public/bundles/graylog/code/13c68956540f2c93ae0cdeec491c18a9e2d99f13.json b/web/public/bundles/graylog/code/13c68956540f2c93ae0cdeec491c18a9e2d99f13.json new file mode 100644 index 00000000..9bf49add --- /dev/null +++ b/web/public/bundles/graylog/code/13c68956540f2c93ae0cdeec491c18a9e2d99f13.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "13c68956540f2c93ae0cdeec491c18a9e2d99f13", + "language": "java", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/views/export/ExportClient.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.storage.opensearch2.views.export;\n\nimport jakarta.inject.Inject;\nimport org.graylog.plugins.views.search.export.ExportException;\nimport org.graylog.shaded.opensearch2.org.opensearch.action.search.SearchRequest;\nimport org.graylog.shaded.opensearch2.org.opensearch.action.search.SearchResponse;\nimport org.graylog.shaded.opensearch2.org.opensearch.client.RequestOptions;\nimport org.graylog.shaded.opensearch2.org.opensearch.client.RestHighLevelClient;\nimport org.graylog.shaded.opensearch2.org.opensearch.core.action.ShardOperationFailedException;\nimport org.graylog.storage.function.ThrowingBiFunction;\nimport org.graylog.storage.opensearch2.OpenSearchClient;\nimport org.graylog2.indexer.ElasticsearchException;\n\nimport java.io.IOException;\nimport java.util.Arrays;\nimport java.util.List;\n\npublic class ExportClient {\n private final OpenSearchClient client;\n\n @Inject\n public ExportClient(OpenSearchClient client) {\n this.client = client;\n }\n\n public SearchResponse search(SearchRequest request, String errorMessage) {\n try {\n final SearchResponse response = this.client.search(request, errorMessage);\n if (response.getFailedShards() > 0) {\n final List errors = Arrays.stream(response.getShardFailures())\n .map(ShardOperationFailedException::getCause)\n .map(Throwable::getMessage)\n .distinct()\n .toList();\n throw new ElasticsearchException(\"Unable to perform export query: \", errors);\n }\n return response;\n } catch (Exception e) {\n throw wrapException(e);\n }\n }\n\n private ExportException wrapException(Exception e) {\n return new ExportException(\"Unable to complete export: \", new ElasticsearchException(e));\n }\n\n public R execute(ThrowingBiFunction fn, String errorMessage) {\n try {\n return this.client.execute(fn, errorMessage);\n } catch (Exception e) {\n throw wrapException(e);\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/140e50bc8aabbaa840f9beba2b66071c9c8257c1.json b/web/public/bundles/graylog/code/140e50bc8aabbaa840f9beba2b66071c9c8257c1.json new file mode 100644 index 00000000..334c6a2d --- /dev/null +++ b/web/public/bundles/graylog/code/140e50bc8aabbaa840f9beba2b66071c9c8257c1.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "140e50bc8aabbaa840f9beba2b66071c9c8257c1", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/export/ExportMessagesCommand.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.views.search.export;\n\nimport com.google.auto.value.AutoValue;\nimport com.google.common.collect.ImmutableSet;\nimport org.graylog.plugins.views.search.elasticsearch.ElasticsearchQueryString;\nimport org.graylog.plugins.views.search.searchfilters.model.UsedSearchFilter;\nimport org.graylog2.database.filtering.AttributeFilter;\nimport org.graylog2.decorators.Decorator;\nimport org.graylog2.plugin.indexer.searches.timeranges.AbsoluteRange;\nimport org.graylog2.plugin.indexer.searches.timeranges.InvalidRangeParametersException;\nimport org.graylog2.plugin.indexer.searches.timeranges.RelativeRange;\nimport org.joda.time.DateTimeZone;\n\nimport java.util.Collection;\nimport java.util.Collections;\nimport java.util.LinkedHashSet;\nimport java.util.List;\nimport java.util.OptionalInt;\nimport java.util.Set;\n\nimport static org.graylog.plugins.views.search.export.LinkedHashSetUtil.linkedHashSetOf;\n\n@AutoValue\npublic abstract class ExportMessagesCommand {\n public static final ElasticsearchQueryString DEFAULT_QUERY = ElasticsearchQueryString.empty();\n public static final Set DEFAULT_STREAMS = ImmutableSet.of();\n public static final LinkedHashSet DEFAULT_FIELDS = linkedHashSetOf(\"timestamp\", \"source\", \"message\");\n\n public static final LinkedHashSet ALL_FIELDS = new LinkedHashSet<>();\n public static final int DEFAULT_CHUNK_SIZE = 1000;\n public static final DateTimeZone DEFAULT_TIME_ZONE = DateTimeZone.UTC;\n\n public static AbsoluteRange defaultTimeRange() {\n try {\n RelativeRange lastFiveMinutes = RelativeRange.create(300);\n return AbsoluteRange.create(lastFiveMinutes.getFrom(), lastFiveMinutes.getTo());\n } catch (InvalidRangeParametersException e) {\n throw new RuntimeException(\"Error creating default time range\", e);\n }\n }\n\n public boolean exportAllFields() {\n return fieldsInOrder().isEmpty();\n }\n\n public abstract AbsoluteRange timeRange();\n\n public abstract ElasticsearchQueryString queryString();\n\n public abstract Set streams();\n\n public abstract Collection usedSearchFilters();\n\n public abstract List attributeFilters();\n\n public abstract LinkedHashSet fieldsInOrder();\n\n public abstract List decorators();\n\n public abstract int chunkSize();\n\n public abstract OptionalInt limit();\n\n public abstract DateTimeZone timeZone();\n\n public static ExportMessagesCommand withDefaults() {\n return builder().build();\n }\n\n public static ExportMessagesCommand.Builder builder() {\n return ExportMessagesCommand.Builder.create();\n }\n\n public abstract ExportMessagesCommand.Builder toBuilder();\n\n @AutoValue.Builder\n public abstract static class Builder {\n public abstract Builder timeRange(AbsoluteRange timeRange);\n\n public abstract Builder streams(Set streams);\n\n public abstract Builder usedSearchFilters(final Collection usedSearchFilters);\n\n public abstract Builder attributeFilters(final List attributeFilters);\n\n public Builder streams(String... streams) {\n return streams(ImmutableSet.copyOf(streams));\n }\n\n public abstract Builder queryString(ElasticsearchQueryString queryString);\n\n public abstract Builder fieldsInOrder(LinkedHashSet fieldsInOrder);\n\n public Builder fieldsInOrder(String... fieldsInOrder) {\n return fieldsInOrder(linkedHashSetOf(fieldsInOrder));\n }\n\n public abstract Builder decorators(List decorators);\n\n public abstract Builder chunkSize(int chunkSize);\n\n public abstract Builder limit(Integer limit);\n\n public abstract Builder timeZone(DateTimeZone timeZone);\n\n abstract ExportMessagesCommand autoBuild();\n\n public ExportMessagesCommand build() {\n return autoBuild();\n }\n\n public static Builder create() {\n return new AutoValue_ExportMessagesCommand.Builder()\n .timeRange(defaultTimeRange())\n .streams(DEFAULT_STREAMS)\n .queryString(DEFAULT_QUERY)\n .usedSearchFilters(List.of())\n .attributeFilters(List.of())\n .fieldsInOrder(DEFAULT_FIELDS)\n .decorators(Collections.emptyList())\n .chunkSize(DEFAULT_CHUNK_SIZE)\n .timeZone(DEFAULT_TIME_ZONE);\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/1465795a2743f25b2195f23e0bf9c9669d0b07f7.json b/web/public/bundles/graylog/code/1465795a2743f25b2195f23e0bf9c9669d0b07f7.json new file mode 100644 index 00000000..e78d568f --- /dev/null +++ b/web/public/bundles/graylog/code/1465795a2743f25b2195f23e0bf9c9669d0b07f7.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "1465795a2743f25b2195f23e0bf9c9669d0b07f7", + "language": "typescript", + "path": "graylog2-web-interface/src/views/components/visualizations/keyMappers/CoreKeyMappers.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport { useCallback, useContext, useMemo } from 'react';\nimport type { PluginExports } from 'graylog-web-plugin/plugin';\n\nimport StreamsContext from 'contexts/StreamsContext';\nimport { useInputTitleResolver, useNodeTitleResolver } from 'views/hooks/useInputAndNodeTitles';\nimport type { Key } from 'views/logic/searchtypes/pivot/PivotHandler';\nimport { getPriorityName } from 'logic/alerts/EventDefinitionPriorityEnum';\n\nconst useStreamsKeyMapper = () => {\n const streams = useContext(StreamsContext);\n const streamsMap = useMemo(() => Object.fromEntries((streams ?? []).map((stream) => [stream.id, stream])), [streams]);\n\n return useCallback((key: Key) => streamsMap[key]?.title ?? key, [streamsMap]);\n};\n\nconst useInputKeyMapper = (keys: Array) => {\n const resolveTitle = useInputTitleResolver(keys);\n\n return useCallback((key: Key) => resolveTitle(String(key)) ?? key, [resolveTitle]);\n};\n\nconst useNodeKeyMapper = (keys: Array) => {\n const resolveTitle = useNodeTitleResolver(keys);\n\n return useCallback((key: Key) => resolveTitle(String(key)) ?? key, [resolveTitle]);\n};\n\nconst CoreKeyMappers: PluginExports['visualizationKeyMappers'] = [\n { type: 'streams', useKeyMapper: useStreamsKeyMapper },\n { type: 'input', useKeyMapper: useInputKeyMapper },\n { type: 'node', useKeyMapper: useNodeKeyMapper },\n { type: 'priority', useKeyMapper: () => getPriorityName },\n];\n\nexport default CoreKeyMappers;\n" +} diff --git a/web/public/bundles/graylog/code/1488967aacfa9246e803a1e74c8c5e72c6b5ffcc.json b/web/public/bundles/graylog/code/1488967aacfa9246e803a1e74c8c5e72c6b5ffcc.json new file mode 100644 index 00000000..6ccf12f9 --- /dev/null +++ b/web/public/bundles/graylog/code/1488967aacfa9246e803a1e74c8c5e72c6b5ffcc.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "1488967aacfa9246e803a1e74c8c5e72c6b5ffcc", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/diagnosis/InputDiagnosticService.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.inputs.diagnosis;\n\nimport com.google.common.collect.ImmutableSet;\nimport jakarta.inject.Inject;\nimport jakarta.ws.rs.InternalServerErrorException;\nimport org.apache.commons.lang3.StringUtils;\nimport org.graylog.plugins.views.search.Query;\nimport org.graylog.plugins.views.search.QueryResult;\nimport org.graylog.plugins.views.search.Search;\nimport org.graylog.plugins.views.search.SearchJob;\nimport org.graylog.plugins.views.search.SearchType;\nimport org.graylog.plugins.views.search.elasticsearch.ElasticsearchQueryString;\nimport org.graylog.plugins.views.search.engine.SearchExecutor;\nimport org.graylog.plugins.views.search.errors.SearchError;\nimport org.graylog.plugins.views.search.permissions.SearchUser;\nimport org.graylog.plugins.views.search.rest.ExecutionState;\nimport org.graylog.plugins.views.search.rest.SearchJobDTO;\nimport org.graylog.plugins.views.search.searchtypes.pivot.Pivot;\nimport org.graylog.plugins.views.search.searchtypes.pivot.PivotResult;\nimport org.graylog.plugins.views.search.searchtypes.pivot.buckets.Values;\nimport org.graylog.plugins.views.search.searchtypes.pivot.series.Count;\nimport org.graylog2.database.NotFoundException;\nimport org.graylog2.inputs.Input;\nimport org.graylog2.plugin.indexer.searches.timeranges.RelativeRange;\nimport org.graylog2.rest.models.system.inputs.responses.InputDiagnostics;\nimport org.graylog2.streams.StreamService;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.util.AbstractMap;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.List;\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\nimport static org.graylog2.plugin.Message.FIELD_GL2_SOURCE_INPUT;\nimport static org.graylog2.rest.models.system.inputs.responses.InputDiagnostics.EMPTY_DIAGNOSTICS;\nimport static org.graylog2.rest.models.system.inputs.responses.InputDiagnostics.StreamMessageCount;\nimport static org.graylog2.shared.utilities.StringUtils.f;\n\npublic class InputDiagnosticService {\n private static final Logger LOG = LoggerFactory.getLogger(InputDiagnosticService.class);\n\n private static final String QUERY_ID = \"input_diagnostics_streams_query\";\n private static final String PIVOT_ID = \"input_diagnostics_streams_pivot\";\n\n private final SearchExecutor searchExecutor;\n private final StreamService streamService;\n\n @Inject\n public InputDiagnosticService(SearchExecutor searchExecutor,\n StreamService streamService) {\n this.searchExecutor = searchExecutor;\n this.streamService = streamService;\n }\n\n public InputDiagnostics getInputDiagnostics(\n Input input, SearchUser searchUser) {\n final Search search = buildSearch(input);\n final SearchJob searchJob = searchExecutor.executeSync(search, searchUser, ExecutionState.empty());\n final SearchJobDTO searchJobDTO = SearchJobDTO.fromSearchJob(searchJob);\n final QueryResult queryResult = searchJobDTO.results().get(QUERY_ID);\n\n final Set errors = queryResult.errors();\n if (errors != null && !errors.isEmpty()) {\n String errorMsg = f(\"An error occurred while executing aggregation: %s\",\n errors.stream().map(SearchError::description).collect(Collectors.joining(\", \")));\n LOG.error(errorMsg);\n throw new InternalServerErrorException(errorMsg);\n }\n\n final SearchType.Result aggregationResult = queryResult.searchTypes().get(PIVOT_ID);\n if (aggregationResult instanceof PivotResult pivotResult && pivotResult.total() > 0) {\n final List> resultList = pivotResult.rows().stream()\n .filter(row -> row.source().equals(\"leaf\"))\n .map(InputDiagnosticService::extractValues)\n .toList();\n List streamMessageCounts = new ArrayList<>();\n resultList.forEach(\n entry -> {\n try {\n final org.graylog2.plugin.streams.Stream stream = streamService.load(entry.getKey());\n streamMessageCounts.add(new StreamMessageCount(stream.getTitle(), stream.getId(), entry.getValue()));\n } catch (NotFoundException e) {\n LOG.warn(\"Unable to load stream {}\", entry.getKey(), e);\n }\n }\n );\n return new InputDiagnostics(streamMessageCounts);\n }\n\n return EMPTY_DIAGNOSTICS;\n }\n\n private Search buildSearch(Input input) {\n final SearchType searchType = Pivot.builder()\n .id(PIVOT_ID)\n .rollup(true)\n .rowGroups(Values.builder().fields(List.of(\"streams\")).build())\n .series(Count.builder().build())\n .build();\n return Search.builder()\n .queries(ImmutableSet.of(\n Query.builder()\n .id(QUERY_ID)\n .query(ElasticsearchQueryString.of(FIELD_GL2_SOURCE_INPUT + \":\" + input.getId()))\n .searchTypes(Collections.singleton(searchType))\n .timerange(RelativeRange.create(900))\n .build()\n ))\n .build();\n }\n\n private static AbstractMap.SimpleEntry extractValues(PivotResult.Row r) {\n if (r.values().size() != 1) {\n String errorMsg = f(\"Expected 1 value in aggregation result, but received [%d].\", r.values().size());\n LOG.warn(errorMsg);\n throw new InternalServerErrorException(errorMsg);\n }\n final String streamId = r.key().get(0);\n if (StringUtils.isEmpty(streamId)) {\n String errorMsg = \"Unable to retrieve stream ID from query result\";\n LOG.warn(errorMsg);\n throw new InternalServerErrorException(errorMsg);\n }\n\n final Long count = (Long) r.values().get(0).value();\n return new AbstractMap.SimpleEntry<>(streamId, count);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/1513904b5a3baaa86a45977bd211c0d218e988ad.json b/web/public/bundles/graylog/code/1513904b5a3baaa86a45977bd211c0d218e988ad.json new file mode 100644 index 00000000..713d16c2 --- /dev/null +++ b/web/public/bundles/graylog/code/1513904b5a3baaa86a45977bd211c0d218e988ad.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "1513904b5a3baaa86a45977bd211c0d218e988ad", + "language": "typescript", + "path": "graylog2-web-interface/src/util/extractErrorMessage.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport FetchError from 'logic/errors/FetchError';\n\n/**\n * Extract a user-readable message from an unknown thrown value.\n *\n * - For FetchError, prefer `responseMessage` (the server's response body) over the formatted\n * wrapper message. Falls back to `message` for non-400 statuses.\n * - For other Error instances, return `message`.\n * - For anything else (string, plain object, undefined), coerce to string.\n */\nexport const extractErrorMessage = (error: unknown): string => {\n if (error instanceof FetchError) {\n return error.responseMessage ?? error.message;\n }\n if (error instanceof Error) {\n return error.message;\n }\n if (typeof error === 'string') {\n return error;\n }\n\n return String(error);\n};\n\nexport default extractErrorMessage;\n" +} diff --git a/web/public/bundles/graylog/code/1569fba38dd81a2d756ededdd6efef882dc600d8.json b/web/public/bundles/graylog/code/1569fba38dd81a2d756ededdd6efef882dc600d8.json new file mode 100644 index 00000000..70bae2e5 --- /dev/null +++ b/web/public/bundles/graylog/code/1569fba38dd81a2d756ededdd6efef882dc600d8.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "1569fba38dd81a2d756ededdd6efef882dc600d8", + "language": "java", + "path": "graylog-plugin-archetype/src/main/resources/archetype-resources/src/main/java/__pluginClassName__Module.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage ${package};\n\nimport org.graylog2.plugin.PluginConfigBean;\nimport org.graylog2.plugin.PluginModule;\n\nimport java.util.Collections;\nimport java.util.Set;\n\n/**\n * Extend the PluginModule abstract class here to add you plugin to the system.\n */\npublic class ${pluginClassName}Module extends PluginModule {\n /**\n * Returns all configuration beans required by this plugin.\n *\n * Implementing this method is optional. The default method returns an empty {@link Set}.\n */\n @Override\n public Set getConfigBeans() {\n return Collections.emptySet();\n }\n\n @Override\n protected void configure() {\n /*\n * Register your plugin types here.\n *\n * Examples:\n *\n * addMessageInput(Class);\n * addMessageFilter(Class);\n * addMessageOutput(Class);\n * addPeriodical(Class);\n * addAlarmCallback(Class);\n * addInitializer(Class);\n * addRestResource(Class);\n *\n *\n * Add all configuration beans returned by getConfigBeans():\n *\n * addConfigBeans();\n */\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/15a4ac17219c51fbf0f85d2b4a8fe0fb1b471f9c.json b/web/public/bundles/graylog/code/15a4ac17219c51fbf0f85d2b4a8fe0fb1b471f9c.json new file mode 100644 index 00000000..3655ee2a --- /dev/null +++ b/web/public/bundles/graylog/code/15a4ac17219c51fbf0f85d2b4a8fe0fb1b471f9c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "15a4ac17219c51fbf0f85d2b4a8fe0fb1b471f9c", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/map/geoip/processor/GeoIpProcessor.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.map.geoip.processor;\n\nimport com.codahale.metrics.MetricRegistry;\nimport com.google.common.eventbus.EventBus;\nimport com.google.common.eventbus.Subscribe;\nimport jakarta.inject.Inject;\nimport jakarta.inject.Named;\nimport org.graylog.plugins.map.config.GeoIpFileServiceFactory;\nimport org.graylog.plugins.map.config.GeoIpResolverConfig;\nimport org.graylog.plugins.map.geoip.GeoIpDbFileChangedEvent;\nimport org.graylog.plugins.map.geoip.GeoIpResolverEngine;\nimport org.graylog.plugins.map.geoip.GeoIpVendorResolverService;\nimport org.graylog2.cluster.ClusterConfigChangedEvent;\nimport org.graylog2.plugin.Message;\nimport org.graylog2.plugin.Messages;\nimport org.graylog2.plugin.ServerStatus;\nimport org.graylog2.plugin.cluster.ClusterConfigService;\nimport org.graylog2.plugin.messageprocessors.MessageProcessor;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.util.concurrent.ScheduledExecutorService;\nimport java.util.concurrent.TimeUnit;\nimport java.util.concurrent.atomic.AtomicReference;\n\npublic class GeoIpProcessor implements MessageProcessor {\n private static final Logger LOG = LoggerFactory.getLogger(GeoIpProcessor.class);\n\n public static class Descriptor implements MessageProcessor.Descriptor {\n @Override\n public String name() {\n return \"GeoIP Resolver\";\n }\n\n @Override\n public String className() {\n return GeoIpProcessor.class.getCanonicalName();\n }\n }\n\n private final ClusterConfigService clusterConfigService;\n private final ScheduledExecutorService scheduler;\n private final MetricRegistry metricRegistry;\n private final GeoIpVendorResolverService geoIpVendorResolverService;\n private final ServerStatus serverStatus;\n private final GeoIpFileServiceFactory geoIpFileServiceFactory;\n\n private final AtomicReference filterEngine = new AtomicReference<>(null);\n\n @Inject\n public GeoIpProcessor(ClusterConfigService clusterConfigService,\n @Named(\"daemonScheduler\") ScheduledExecutorService scheduler,\n EventBus eventBus,\n MetricRegistry metricRegistry,\n GeoIpVendorResolverService geoIpVendorResolverService,\n ServerStatus serverStatus,\n GeoIpFileServiceFactory geoIpFileServiceFactory) {\n this.clusterConfigService = clusterConfigService;\n this.scheduler = scheduler;\n this.metricRegistry = metricRegistry;\n this.geoIpVendorResolverService = geoIpVendorResolverService;\n this.serverStatus = serverStatus;\n this.geoIpFileServiceFactory = geoIpFileServiceFactory;\n\n eventBus.register(this);\n }\n\n @Override\n public Messages process(Messages messages) {\n\n if (filterEngine.get() == null) {\n try {\n serverStatus.awaitRunning();\n } catch (InterruptedException e) {\n Thread.currentThread().interrupt();\n LOG.error(\"The GeoIpProcessor was interrupted while waiting for the Server to start up.\");\n return messages;\n }\n reload();\n }\n\n for (Message message : messages) {\n filterEngine.get().filter(message);\n }\n\n return messages;\n }\n\n @Subscribe\n @SuppressWarnings(\"unused\")\n public void updateConfig(ClusterConfigChangedEvent event) {\n if (!GeoIpResolverConfig.class.getCanonicalName().equals(event.type())) {\n return;\n }\n\n scheduler.schedule(this::reload, 0, TimeUnit.SECONDS);\n }\n\n @Subscribe\n @SuppressWarnings(\"unused\")\n public void onDatabaseFileChangedEvent(GeoIpDbFileChangedEvent event) {\n scheduler.schedule(this::reload, 0, TimeUnit.SECONDS);\n }\n\n private void reload() {\n final GeoIpResolverConfig newConfig = clusterConfigService.getOrDefault(GeoIpResolverConfig.class,\n GeoIpResolverConfig.defaultConfig());\n\n LOG.debug(\"Updating GeoIP resolver engine - {}\", newConfig);\n filterEngine.set(new GeoIpResolverEngine(geoIpVendorResolverService, newConfig, geoIpFileServiceFactory.create(newConfig), metricRegistry));\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/15c15bc73b5cd824fef5562f41a5a74c40f4c9b4.json b/web/public/bundles/graylog/code/15c15bc73b5cd824fef5562f41a5a74c40f4c9b4.json new file mode 100644 index 00000000..df6efb83 --- /dev/null +++ b/web/public/bundles/graylog/code/15c15bc73b5cd824fef5562f41a5a74c40f4c9b4.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "15c15bc73b5cd824fef5562f41a5a74c40f4c9b4", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/extractors/LookupTableExtractor.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.inputs.extractors;\n\nimport com.codahale.metrics.MetricRegistry;\nimport org.graylog2.ConfigurationException;\nimport org.graylog2.lookup.LookupTableService;\nimport org.graylog2.plugin.inputs.Converter;\nimport org.graylog2.plugin.inputs.Extractor;\nimport org.graylog2.plugin.lookup.LookupResult;\n\nimport javax.annotation.Nullable;\nimport java.util.List;\nimport java.util.Map;\n\nimport static com.google.common.base.Strings.isNullOrEmpty;\n\npublic class LookupTableExtractor extends Extractor {\n private final LookupTableService.Function lookupTable;\n public static final String CONFIG_LUT_NAME = \"lookup_table_name\";\n\n public LookupTableExtractor(final MetricRegistry metricRegistry,\n final LookupTableService lookupTableService,\n final String id,\n final String title,\n final long order,\n final CursorStrategy cursorStrategy,\n final String sourceField,\n final String targetField,\n final Map extractorConfig,\n final String creatorUserId,\n final List converters,\n final ConditionType conditionType,\n final String conditionValue) throws ReservedFieldException, ConfigurationException {\n super(metricRegistry, id, title, order, Type.LOOKUP_TABLE, cursorStrategy, sourceField, targetField, extractorConfig, creatorUserId, converters, conditionType, conditionValue);\n\n final String lookupTableName = (String) extractorConfig.get(CONFIG_LUT_NAME);\n if (isNullOrEmpty(lookupTableName)) {\n throw new ConfigurationException(\"Missing lookup table extractor configuration field: \" + CONFIG_LUT_NAME);\n }\n\n // We deliberately do not verify that the lookup table exists here. The table is resolved lazily on every\n // lookup() call, which already degrades gracefully (LookupResult.withError()) when the table is missing.\n // Failing here would make existing extractors unloadable - breaking listing, editing and deletion - if their\n // lookup table is deleted later on (see issue #26122). Existence is validated at create/update time instead.\n this.lookupTable = lookupTableService.newBuilder().lookupTable(lookupTableName).build();\n }\n\n @Override\n @Nullable\n protected Result[] run(String sourceFieldValue) {\n final LookupResult result = lookupTable.lookup(sourceFieldValue);\n\n if (result == null || result.isEmpty()) {\n return null;\n }\n\n final Object value = result.singleValue();\n if (value == null) {\n return null;\n }\n\n return new Result[]{ new Result(value, targetField, -1, -1) };\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/15da2d4a664ee7cec7d9cba1f391d7bea9aee009.json b/web/public/bundles/graylog/code/15da2d4a664ee7cec7d9cba1f391d7bea9aee009.json new file mode 100644 index 00000000..69e350b6 --- /dev/null +++ b/web/public/bundles/graylog/code/15da2d4a664ee7cec7d9cba1f391d7bea9aee009.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "15da2d4a664ee7cec7d9cba1f391d7bea9aee009", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/tools/GrokTesterResource.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.resources.tools;\n\nimport com.codahale.metrics.annotation.Timed;\nimport com.google.common.collect.Lists;\nimport io.krakens.grok.api.Grok;\nimport io.krakens.grok.api.GrokCompiler;\nimport io.krakens.grok.api.Match;\nimport io.krakens.grok.api.exception.GrokException;\nimport io.swagger.v3.oas.annotations.Operation;\nimport io.swagger.v3.oas.annotations.tags.Tag;\nimport jakarta.inject.Inject;\nimport jakarta.validation.Valid;\nimport jakarta.validation.constraints.NotEmpty;\nimport jakarta.validation.constraints.NotNull;\nimport jakarta.ws.rs.Consumes;\nimport jakarta.ws.rs.GET;\nimport jakarta.ws.rs.POST;\nimport jakarta.ws.rs.Path;\nimport jakarta.ws.rs.Produces;\nimport jakarta.ws.rs.QueryParam;\nimport jakarta.ws.rs.core.MediaType;\nimport org.apache.shiro.authz.annotation.RequiresAuthentication;\nimport org.graylog2.audit.jersey.NoAuditEvent;\nimport org.graylog2.grok.GrokPattern;\nimport org.graylog2.grok.GrokPatternService;\nimport org.graylog2.rest.models.tools.requests.GrokTestRequest;\nimport org.graylog2.rest.resources.tools.responses.GrokTesterResponse;\nimport org.graylog2.shared.rest.resources.RestResource;\n\nimport java.util.Collections;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Set;\n\n@RequiresAuthentication\n@Tag(name = \"Tools/GrokTester\", description = \"Test Grok patterns\")\n@Path(\"/tools/grok_tester\")\n@Produces(MediaType.APPLICATION_JSON)\npublic class GrokTesterResource extends RestResource {\n\n private final GrokPatternService grokPatternService;\n\n @Inject\n public GrokTesterResource(GrokPatternService grokPatternService) {\n this.grokPatternService = grokPatternService;\n }\n\n @GET\n @Operation(summary = \"Test a Grok pattern against a string\")\n @Timed\n public GrokTesterResponse grokTest(@QueryParam(\"pattern\") @NotEmpty String pattern,\n @QueryParam(\"string\") @NotNull String string,\n @QueryParam(\"named_captures_only\") @NotNull boolean namedCapturesOnly) throws GrokException {\n\n return doTestGrok(string, pattern, namedCapturesOnly);\n }\n\n @POST\n @Operation(summary = \"Test a Grok pattern against a string\")\n @Timed\n @Consumes(MediaType.APPLICATION_JSON)\n @Produces(MediaType.APPLICATION_JSON)\n @NoAuditEvent(\"only used to test Grok patterns\")\n public GrokTesterResponse testGrok(@Valid @NotNull GrokTestRequest grokTestRequest) throws GrokException {\n return doTestGrok(grokTestRequest.string(), grokTestRequest.pattern(), grokTestRequest.namedCapturesOnly());\n }\n\n private GrokTesterResponse doTestGrok(String string, String pattern, boolean namedCapturesOnly) throws GrokException {\n final Set grokPatterns = grokPatternService.loadAll();\n\n final GrokCompiler grokCompiler = GrokCompiler.newInstance();\n for (GrokPattern grokPattern : grokPatterns) {\n grokCompiler.register(grokPattern.name(), grokPattern.pattern());\n }\n\n final Grok grok;\n try {\n grok = grokCompiler.compile(pattern, namedCapturesOnly);\n } catch (Exception e) {\n return GrokTesterResponse.createError(pattern, string, e.getMessage());\n }\n\n final Match match;\n try {\n match = grok.match(string);\n } catch (StackOverflowError e) {\n return GrokTesterResponse.createError(pattern, string,\n \"Pattern caused a stack overflow during matching. Simplify the pattern to avoid deeply nested or repeated groups.\");\n }\n final Map matches = match.captureFlattened();\n\n final GrokTesterResponse response;\n if (matches.isEmpty()) {\n response = GrokTesterResponse.createSuccess(false, Collections.emptyList(), pattern, string);\n } else {\n final List responseMatches = Lists.newArrayList();\n for (final Map.Entry entry : matches.entrySet()) {\n final Object value = entry.getValue();\n if (value != null) {\n responseMatches.add(GrokTesterResponse.Match.create(entry.getKey(), value.toString()));\n }\n }\n\n response = GrokTesterResponse.createSuccess(true, responseMatches, pattern, string);\n }\n return response;\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/16398eb646dd992ddc108e8a8d9aa62489e31a13.json b/web/public/bundles/graylog/code/16398eb646dd992ddc108e8a8d9aa62489e31a13.json new file mode 100644 index 00000000..c67a14c6 --- /dev/null +++ b/web/public/bundles/graylog/code/16398eb646dd992ddc108e8a8d9aa62489e31a13.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "16398eb646dd992ddc108e8a8d9aa62489e31a13", + "language": "java", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/stats/IndexStatisticsBuilder.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.storage.opensearch3.stats;\n\n\nimport org.graylog2.indexer.indices.stats.IndexStatistics;\nimport org.graylog2.rest.models.system.indexer.responses.IndexStats.TimeAndTotalStats;\nimport org.opensearch.client.opensearch._types.DocStats;\nimport org.opensearch.client.opensearch._types.FlushStats;\nimport org.opensearch.client.opensearch._types.GetStats;\nimport org.opensearch.client.opensearch._types.IndexingStats;\nimport org.opensearch.client.opensearch._types.MergesStats;\nimport org.opensearch.client.opensearch._types.RefreshStats;\nimport org.opensearch.client.opensearch._types.SearchStats;\nimport org.opensearch.client.opensearch._types.SegmentsStats;\nimport org.opensearch.client.opensearch._types.StoreStats;\nimport org.opensearch.client.opensearch.indices.stats.IndexShardStats;\nimport org.opensearch.client.opensearch.indices.stats.IndexStats;\nimport org.opensearch.client.opensearch.indices.stats.IndicesStats;\nimport org.opensearch.client.opensearch.indices.stats.ShardRouting;\n\nimport java.util.Comparator;\nimport java.util.List;\nimport java.util.Locale;\nimport java.util.Map;\nimport java.util.Optional;\nimport java.util.function.Function;\n\npublic class IndexStatisticsBuilder {\n\n public IndexStatistics build(final String index, final IndicesStats indicesStats) {\n final IndexStats primaries = indicesStats.primaries();\n final IndexStats total = indicesStats.total();\n final Map> shards = indicesStats.shards();\n\n return IndexStatistics.create(index, buildIndexStats(primaries), buildIndexStats(total), buildShardRoutings(shards));\n }\n\n private org.graylog2.rest.models.system.indexer.responses.IndexStats buildIndexStats(final IndexStats stats) {\n\n final Optional docs = Optional.ofNullable(stats.docs());\n final long docsCount = docs.map(DocStats::count).orElse(0L);\n final long docsDeleted = docs.map(DocStats::deleted).orElse(0L);\n\n final SearchStats search = stats.search();\n return org.graylog2.rest.models.system.indexer.responses.IndexStats.create(\n createTimeAndTotalStats(stats.flush(), FlushStats::total, FlushStats::totalTimeInMillis),\n createTimeAndTotalStats(stats.get(), GetStats::total, GetStats::timeInMillis),\n createTimeAndTotalStats(stats.indexing(), IndexingStats::indexTotal, IndexingStats::indexTimeInMillis),\n createTimeAndTotalStats(stats.merges(), MergesStats::total, MergesStats::totalTimeInMillis),\n createTimeAndTotalStats(stats.refresh(), RefreshStats::total, RefreshStats::totalTimeInMillis),\n createTimeAndTotalStats(search, SearchStats::queryTotal, SearchStats::queryTimeInMillis),\n createTimeAndTotalStats(search, SearchStats::fetchTotal, SearchStats::fetchTimeInMillis),\n Optional.ofNullable(search).map(SearchStats::openContexts).orElse(0L),\n Optional.ofNullable(stats.store()).map(StoreStats::sizeInBytes).orElse(0L),\n Optional.ofNullable(stats.segments()).map(SegmentsStats::count).orElse(0),\n org.graylog2.rest.models.system.indexer.responses.IndexStats.DocsStats.create(docsCount, docsDeleted)\n );\n\n\n }\n\n private TimeAndTotalStats createTimeAndTotalStats(final T stats,\n final Function totalMapper,\n final Function totalTimeInMillisMapper\n ) {\n return TimeAndTotalStats.create(\n stats != null ? totalMapper.apply(stats) : 0L,\n stats != null ? totalTimeInMillisMapper.apply(stats) / 1000L : 0L\n );\n }\n\n private static List buildShardRoutings(Map> shardRoutings) {\n return shardRoutings.entrySet().stream()\n .map(entry -> {\n final int shardId = Integer.parseInt(entry.getKey());\n final List shards = entry.getValue();\n\n return shards.stream().map(shard -> {\n final Optional routing = Optional.ofNullable(shard.routing());\n final String state = routing.map(ShardRouting::state)\n .map(st -> st.jsonValue().toLowerCase(Locale.ENGLISH))\n .orElse(\"unknown\");\n\n // Taken from org.elasticsearch.cluster.routing.ShardRouting\n final boolean active = \"started\".equals(state) || \"relocating\".equals(state);\n\n final boolean primary = routing.map(ShardRouting::primary).orElse(false);\n final String nodeId = routing.map(ShardRouting::node).orElse(\"Unknown\");\n\n // Node name and hostname should be filled when necessary (requiring an additional round trip to Elasticsearch)\n final String nodeName = null;\n final String nodeHostname = null;\n\n final String relocatingNode = routing.map(ShardRouting::relocatingNode).orElse(null);\n\n final org.graylog2.rest.models.system.indexer.responses.ShardRouting shardRouting =\n org.graylog2.rest.models.system.indexer.responses.ShardRouting.create(\n shardId,\n state,\n active,\n primary,\n nodeId,\n nodeName,\n nodeHostname,\n relocatingNode\n );\n return shardRouting;\n }).toList();\n }).flatMap(List::stream)\n .sorted(Comparator.comparingInt(org.graylog2.rest.models.system.indexer.responses.ShardRouting::id).thenComparing(org.graylog2.rest.models.system.indexer.responses.ShardRouting::nodeId))\n .toList();\n\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/16529d947ebd549ec84d7a00f326bb02e5725d9e.json b/web/public/bundles/graylog/code/16529d947ebd549ec84d7a00f326bb02e5725d9e.json new file mode 100644 index 00000000..92c7e486 --- /dev/null +++ b/web/public/bundles/graylog/code/16529d947ebd549ec84d7a00f326bb02e5725d9e.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "16529d947ebd549ec84d7a00f326bb02e5725d9e", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputService.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.inputs;\n\nimport org.bson.conversions.Bson;\nimport org.graylog2.database.NotFoundException;\nimport org.graylog2.database.PaginatedList;\nimport org.graylog2.plugin.IOState;\nimport org.graylog2.plugin.database.ValidationException;\nimport org.graylog2.plugin.inputs.Extractor;\nimport org.graylog2.plugin.inputs.MessageInput;\nimport org.graylog2.rest.models.SortOrder;\nimport org.graylog2.shared.inputs.NoSuchInputTypeException;\n\nimport java.util.Collection;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Objects;\nimport java.util.Set;\nimport java.util.function.Predicate;\n\npublic interface InputService {\n List all();\n\n PaginatedList paginated(Bson searchQuery,\n Predicate filter,\n SortOrder order,\n String sortField,\n int page,\n int perPage);\n\n List allOfThisNode(String nodeId);\n\n Input create(String id, Map fields);\n\n Input create(Map fields);\n\n String save(Input model) throws ValidationException;\n\n String update(Input input) throws ValidationException;\n\n int destroy(Input input);\n\n Input find(String id) throws NotFoundException;\n\n default List allByType(String type) {\n return all().stream().filter(input -> Objects.equals(input.getType(), type)).toList();\n }\n\n Set findByIds(Collection ids);\n\n List findIdsByTitle(String title);\n\n Input findForThisNode(String nodeId, String id) throws NotFoundException;\n\n Input findForThisNodeOrGlobal(String nodeId, String id) throws NotFoundException;\n\n /**\n * @return the total number of inputs in the cluster (including global inputs).\n */\n long totalCount();\n\n /**\n * @return the number of global inputs in the cluster.\n */\n long globalCount();\n\n /**\n * @return the number of node-specific inputs in the cluster.\n */\n long localCount();\n\n /**\n * @return the total number of inputs in the cluster grouped by type.\n */\n Map totalCountByType();\n\n /**\n * @param nodeId the node ID to query\n * @return the number of inputs on the specified node\n */\n long localCountForNode(String nodeId);\n\n /**\n * @param nodeId the node ID to query\n * @return the number of inputs on the specified node (including global inputs)\n */\n long totalCountForNode(String nodeId);\n\n /**\n * @return the total number of extractors in the cluster (including global inputs).\n */\n long totalExtractorCount();\n\n /**\n * @return the total number of extractors in the cluster (including global inputs) grouped by type.\n */\n Map totalExtractorCountByType();\n\n void addExtractor(Input input, Extractor extractor) throws ValidationException;\n\n void addStaticField(Input input, String key, String value) throws ValidationException;\n\n List getExtractors(String inputId);\n\n /**\n * Returns the number of embedded extractors for each of the given input IDs in a single query.\n */\n Map extractorCountByInputId(Collection inputIds);\n\n Extractor getExtractor(Input input, String extractorId) throws NotFoundException;\n\n void updateExtractor(Input input, Extractor extractor) throws ValidationException;\n\n void removeExtractor(Input input, String extractorId);\n\n void removeStaticField(Input input, String key);\n\n MessageInput getMessageInput(Input io) throws NoSuchInputTypeException;\n\n List> getStaticFields(String inputId);\n\n void persistDesiredState(Input input, IOState.Type desiredState) throws ValidationException;\n\n Set findIdsByDesiredState(IOState.Type desiredState);\n}\n" +} diff --git a/web/public/bundles/graylog/code/18273aeb81c253272b90956dd6fb124b60a4045d.json b/web/public/bundles/graylog/code/18273aeb81c253272b90956dd6fb124b60a4045d.json new file mode 100644 index 00000000..3a9bacdb --- /dev/null +++ b/web/public/bundles/graylog/code/18273aeb81c253272b90956dd6fb124b60a4045d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "18273aeb81c253272b90956dd6fb124b60a4045d", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/backend/ADAuthServiceBackend.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.security.authservice.backend;\n\nimport com.google.common.collect.ImmutableList;\nimport com.google.common.collect.ImmutableMap;\nimport com.google.inject.assistedinject.Assisted;\nimport com.unboundid.ldap.sdk.Filter;\nimport com.unboundid.ldap.sdk.LDAPConnection;\nimport com.unboundid.ldap.sdk.LDAPException;\nimport jakarta.inject.Inject;\nimport org.graylog.security.authservice.AuthServiceBackend;\nimport org.graylog.security.authservice.AuthServiceBackendDTO;\nimport org.graylog.security.authservice.AuthServiceCredentials;\nimport org.graylog.security.authservice.AuthenticationDetails;\nimport org.graylog.security.authservice.ProvisionerService;\nimport org.graylog.security.authservice.UserDetails;\nimport org.graylog.security.authservice.ldap.LDAPConnectorConfig;\nimport org.graylog.security.authservice.ldap.LDAPUser;\nimport org.graylog.security.authservice.ldap.UnboundLDAPConfig;\nimport org.graylog.security.authservice.ldap.UnboundLDAPConnector;\nimport org.graylog.security.authservice.test.AuthServiceBackendTestResult;\nimport org.graylog2.security.encryption.EncryptedValue;\nimport org.graylog2.shared.security.AuthenticationServiceUnavailableException;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport javax.annotation.Nullable;\nimport java.security.GeneralSecurityException;\nimport java.util.Arrays;\nimport java.util.Collections;\nimport java.util.HashMap;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Optional;\nimport java.util.stream.Collectors;\n\npublic class ADAuthServiceBackend implements AuthServiceBackend {\n public static final String TYPE_NAME = \"active-directory\";\n\n private static final Logger LOG = LoggerFactory.getLogger(ADAuthServiceBackend.class);\n\n public static final String AD_OBJECT_GUID = \"objectGUID\";\n public static final String AD_SAM_ACCOUNT_NAME = \"sAMAccountName\";\n public static final String AD_USER_PRINCIPAL_NAME = \"userPrincipalName\";\n public static final String AD_DISPLAY_NAME = \"displayName\";\n public static final String AD_CN = \"cn\";\n\n // Try both to avoid the need to configure the userSearchPattern setting\n public static final Filter AD_DEFAULT_USER_SEARCH_PATTERN = Filter.createANDFilter(\n Filter.createEqualityFilter(\"objectClass\", \"user\"),\n Filter.createORFilter(\n Filter.createEqualityFilter(AD_USER_PRINCIPAL_NAME, \"{0}\"),\n Filter.createEqualityFilter(AD_SAM_ACCOUNT_NAME, \"{0}\")\n ));\n\n public interface Factory extends AuthServiceBackend.Factory {\n @Override\n ADAuthServiceBackend create(AuthServiceBackendDTO backend);\n }\n\n private final UnboundLDAPConnector ldapConnector;\n private final AuthServiceBackendDTO backend;\n private final ADAuthServiceBackendConfig config;\n\n @Inject\n public ADAuthServiceBackend(UnboundLDAPConnector ldapConnector,\n @Assisted AuthServiceBackendDTO backend) {\n this.ldapConnector = ldapConnector;\n this.backend = backend;\n this.config = (ADAuthServiceBackendConfig) backend.config();\n }\n\n @Override\n public Optional authenticateAndProvision(AuthServiceCredentials authCredentials, ProvisionerService provisionerService) {\n try (final LDAPConnection connection = ldapConnector.connect(config.getLDAPConnectorConfig())) {\n if (connection == null) {\n return Optional.empty();\n }\n\n final Optional optionalUser = findUser(connection, authCredentials);\n if (!optionalUser.isPresent()) {\n LOG.debug(\"User <{}> not found in Active Directory\", authCredentials.username());\n return Optional.empty();\n }\n\n final LDAPUser userEntry = optionalUser.get();\n\n if (!userEntry.accountIsEnabled()) {\n LOG.warn(\"Account disabled within Active Directory for user <{}> (DN: {})\", authCredentials.username(), userEntry.dn());\n return Optional.empty();\n }\n if (!authCredentials.isAuthenticated()) {\n if (!isAuthenticated(connection, userEntry, authCredentials)) {\n LOG.debug(\"Invalid credentials for user <{}> (DN: {})\", authCredentials.username(), userEntry.dn());\n return Optional.empty();\n }\n }\n\n final UserDetails userDetails = provisionerService.provision(provisionerService.newDetails(this)\n .authServiceType(backendType())\n .authServiceId(backendId())\n .base64AuthServiceUid(userEntry.base64UniqueId())\n .username(userEntry.username())\n .accountIsEnabled(userEntry.accountIsEnabled())\n .fullName(userEntry.fullName())\n .email(userEntry.email())\n .defaultRoles(backend.defaultRoles())\n .timezone(backend.defaultUserTimezone().orElse(null))\n .build());\n\n return Optional.of(AuthenticationDetails.builder().userDetails(userDetails).build());\n } catch (GeneralSecurityException e) {\n LOG.error(\"Error setting up TLS connection\", e);\n throw new AuthenticationServiceUnavailableException(\"Error setting up TLS connection\", e);\n } catch (LDAPException e) {\n LOG.error(\"ActiveDirectory error\", e);\n throw new AuthenticationServiceUnavailableException(\"ActiveDirectory error\", e);\n }\n }\n\n private boolean isAuthenticated(LDAPConnection connection,\n LDAPUser user,\n AuthServiceCredentials authCredentials) throws LDAPException {\n return ldapConnector.authenticate(\n connection,\n // We need to bind against AD using the userPrincipalName\n user.entry().nonBlankAttribute(AD_USER_PRINCIPAL_NAME),\n authCredentials.password()\n );\n }\n\n private Optional findUser(LDAPConnection connection, AuthServiceCredentials authCredentials) throws LDAPException {\n final UnboundLDAPConfig searchConfig = UnboundLDAPConfig.builder()\n .userSearchBase(config.userSearchBase())\n .userSearchPattern(config.userSearchPattern())\n .userUniqueIdAttribute(AD_OBJECT_GUID)\n .userNameAttribute(config.userNameAttribute())\n .userFullNameAttribute(config.userFullNameAttribute())\n .emailAttributes(Arrays.asList(\"mail\"))\n .build();\n\n return ldapConnector.searchUserByPrincipal(connection, searchConfig, authCredentials.username());\n }\n\n @Override\n public String backendType() {\n return TYPE_NAME;\n }\n\n @Override\n public String backendId() {\n return backend.id();\n }\n\n @Override\n public String backendTitle() {\n return backend.title();\n }\n\n @Override\n public AuthServiceBackendDTO prepareConfigUpdate(AuthServiceBackendDTO existingBackend, AuthServiceBackendDTO newBackend) {\n final ADAuthServiceBackendConfig newConfig = (ADAuthServiceBackendConfig) newBackend.config();\n\n if (newConfig.systemUserPassword().isDeleteValue()) {\n // If the system user password should be deleted, use an unset value\n return newBackend.toBuilder()\n .config(newConfig.toBuilder()\n .systemUserPassword(EncryptedValue.createUnset())\n .build())\n .build();\n }\n if (newConfig.systemUserPassword().isKeepValue()) {\n // If the system user password should be kept, use the value from the existing config\n final ADAuthServiceBackendConfig existingConfig = (ADAuthServiceBackendConfig) existingBackend.config();\n return newBackend.toBuilder()\n .config(newConfig.toBuilder()\n .systemUserPassword(existingConfig.systemUserPassword())\n .build())\n .build();\n }\n\n return newBackend;\n }\n\n @Override\n public AuthServiceBackendTestResult testConnection(@Nullable AuthServiceBackendDTO existingBackendConfig) {\n final ADAuthServiceBackendConfig testConfig = buildTestConfig(existingBackendConfig);\n\n final LDAPConnectorConfig config = testConfig.getLDAPConnectorConfig();\n\n if (config.serverList().size() == 1) {\n return testSingleConnection(config, config.serverList().get(0));\n }\n\n // Test each server separately, so we can see the result for each\n final List testResults = config.serverList().stream().map(server -> testSingleConnection(config, server)).collect(Collectors.toList());\n\n if (testResults.stream().anyMatch(res -> !res.isSuccess())) {\n return AuthServiceBackendTestResult\n .createFailure(\"Test failure\",\n testResults.stream().map(r -> {\n if (r.isSuccess()) {\n return r.message();\n } else {\n return r.message() + \" : \" + String.join(\",\", r.errors());\n }\n }).collect(Collectors.toList()));\n } else {\n return AuthServiceBackendTestResult.createSuccess(\"Successfully connected to \" + config.serverList());\n }\n }\n\n private AuthServiceBackendTestResult testSingleConnection(LDAPConnectorConfig config, LDAPConnectorConfig.LDAPServer server) {\n final LDAPConnectorConfig singleServerConfig = config.toBuilder().serverList(ImmutableList.of(server)).build();\n\n try (final LDAPConnection connection = ldapConnector.connect(singleServerConfig)) {\n if (connection == null) {\n return AuthServiceBackendTestResult.createFailure(\"Couldn't establish connection to \" + server);\n }\n return AuthServiceBackendTestResult.createSuccess(\"Successfully connected to \" + server);\n } catch (Exception e) {\n return AuthServiceBackendTestResult.createFailure(\n \"Couldn't establish connection to \" + server,\n Collections.singletonList(e.getMessage())\n );\n }\n }\n\n @Override\n public AuthServiceBackendTestResult testLogin(AuthServiceCredentials credentials, @Nullable AuthServiceBackendDTO existingBackendConfig) {\n final ADAuthServiceBackendConfig testConfig = buildTestConfig(existingBackendConfig);\n\n try (final LDAPConnection connection = ldapConnector.connect(testConfig.getLDAPConnectorConfig())) {\n if (connection == null) {\n return AuthServiceBackendTestResult.createFailure(\"Couldn't establish connection to \" + testConfig.servers());\n }\n final Optional user = findUser(connection, credentials);\n\n if (!user.isPresent()) {\n return AuthServiceBackendTestResult.createFailure(\n \"User <\" + credentials.username() + \"> doesn't exist\",\n createTestResult(testConfig, false, false, null)\n );\n }\n\n if (isAuthenticated(connection, user.get(), credentials)) {\n return AuthServiceBackendTestResult.createSuccess(\n \"Successfully logged in <\" + credentials.username() + \"> into \" + testConfig.servers(),\n createTestResult(testConfig, true, true, user.get())\n );\n }\n return AuthServiceBackendTestResult.createFailure(\n \"Login for user <\" + credentials.username() + \"> failed\",\n createTestResult(testConfig, true, false, user.get())\n );\n } catch (Exception e) {\n return AuthServiceBackendTestResult.createFailure(\n \"Couldn't test user login on \" + testConfig.servers(),\n Collections.singletonList(e.getMessage())\n );\n }\n }\n\n private ADAuthServiceBackendConfig buildTestConfig(@Nullable AuthServiceBackendDTO existingBackendConfig) {\n final ADAuthServiceBackendConfig.Builder newConfigBuilder = config.toBuilder();\n\n // If the existing password should be kept and we got an existing config, use the password of the\n // existing config for the connection check. This is needed to make connection tests of existing backends work\n // because the UI doesn't have access to the existing password.\n if (config.systemUserPassword().isKeepValue() && existingBackendConfig != null) {\n final ADAuthServiceBackendConfig existingConfig = (ADAuthServiceBackendConfig) existingBackendConfig.config();\n newConfigBuilder.systemUserPassword(existingConfig.systemUserPassword());\n }\n\n return newConfigBuilder.build();\n }\n\n private Map createTestResult(ADAuthServiceBackendConfig config,\n boolean userExists,\n boolean loginSuccess,\n @Nullable LDAPUser user) {\n final ImmutableMap.Builder userDetails = ImmutableMap.builder()\n .put(\"user_exists\", userExists)\n .put(\"login_success\", loginSuccess);\n\n if (user != null) {\n // Use regular HashMap to allow duplicates. Users might use the same attribute for name and full name.\n // See: https://github.com/Graylog2/graylog2-server/issues/10069\n final Map attributes = new HashMap<>();\n\n attributes.put(\"dn\", user.dn());\n attributes.put(\"account_enabled\", String.valueOf(user.accountIsEnabled()));\n // Use a special key for the unique ID attribute. If users use something like \"uid\" for the unique ID,\n // it might be confusing to see a base64 encoded value instead of the plain text one.\n attributes.put(\"unique_id (\" + AD_OBJECT_GUID + \")\", user.base64UniqueId());\n attributes.put(config.userNameAttribute(), user.username());\n attributes.put(config.userFullNameAttribute(), user.fullName());\n attributes.put(\"email\", user.email());\n\n userDetails.put(\"user_details\", ImmutableMap.copyOf(attributes));\n } else {\n userDetails.put(\"user_details\", ImmutableMap.of());\n }\n\n return userDetails.build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/19179957c1fed8c6f164e28f2fde4b5492e7a20e.json b/web/public/bundles/graylog/code/19179957c1fed8c6f164e28f2fde4b5492e7a20e.json new file mode 100644 index 00000000..2f48ab07 --- /dev/null +++ b/web/public/bundles/graylog/code/19179957c1fed8c6f164e28f2fde4b5492e7a20e.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "19179957c1fed8c6f164e28f2fde4b5492e7a20e", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/rulebuilder/db/migrations/V20230613154400_AddImplicitToStringFragments.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.pipelineprocessor.rulebuilder.db.migrations;\n\nimport com.google.common.collect.ImmutableList;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.FunctionDescriptor;\nimport org.graylog.plugins.pipelineprocessor.rulebuilder.RuleBuilderFunctionGroup;\nimport org.graylog.plugins.pipelineprocessor.rulebuilder.db.RuleFragment;\nimport org.graylog.plugins.pipelineprocessor.rulebuilder.db.RuleFragmentService;\nimport org.graylog2.migrations.Migration;\nimport org.joda.time.DateTime;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport jakarta.inject.Inject;\n\nimport java.time.ZonedDateTime;\n\nimport static org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor.integer;\nimport static org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor.object;\nimport static org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor.string;\n\npublic class V20230613154400_AddImplicitToStringFragments extends Migration {\n private static final Logger log = LoggerFactory.getLogger(V20230613154400_AddImplicitToStringFragments.class);\n private final RuleFragmentService ruleFragmentService;\n\n @Inject\n public V20230613154400_AddImplicitToStringFragments(RuleFragmentService ruleFragmentService) {\n this.ruleFragmentService = ruleFragmentService;\n }\n\n @Override\n public ZonedDateTime createdAt() {\n return ZonedDateTime.parse(\"2023-06-13T15:44:00Z\");\n }\n\n @Override\n public void upgrade() {\n log.debug(\"Adding implicit to_string fragments via migration\");\n\n ruleFragmentService.upsert(createSubstringFragment());\n ruleFragmentService.upsert(createDateFragment());\n\n log.debug(\"implicit to_string fragments were successfully added\");\n }\n\n private static RuleFragment createSubstringFragment() {\n return RuleFragment.builder()\n .fragment(\"\"\"\n let gl2_fragment_substring_results = substring(\n value: to_string(${value}),\n start: ${start}<#if end??>,\n indexEnd: ${end}\n );\"\"\")\n .descriptor(FunctionDescriptor.builder()\n .name(\"get_substring\")\n .params(ImmutableList.of(\n object(\"value\").ruleBuilderVariable().description(\"The string to extract from\").ruleBuilderVariable().build(),\n integer(\"start\").allowNegatives(true).description(\"The position to start from, negative means count back from the end of the String by this many characters\").build(),\n integer(\"end\").optional().allowNegatives(true).description(\"The position to end at (exclusive), negative means count back from the end of the String by this many characters, defaults to length of the input string\").build()\n ))\n .returnType(String.class)\n .description(\"Get substring of value\")\n .ruleBuilderEnabled(false)\n .ruleBuilderName(\"Substring\")\n .ruleBuilderTitle(\"Get substring from '${start}' to '${end!\\\"end\\\"}' of value\")\n .ruleBuilderFunctionGroup(RuleBuilderFunctionGroup.STRING)\n .build())\n .fragmentOutputVariable(\"gl2_fragment_substring_results\")\n .build();\n }\n\n private static RuleFragment createDateFragment() {\n return RuleFragment.builder()\n .fragment(\"\"\"\n let gl2_fragment_date_results = parse_date(\n value: to_string(${value}),\n pattern: ${pattern}<#if locale??>,\n locale: ${locale}<#if timezone??>,\n timezone: ${timezone}\n );\"\"\")\n .descriptor(FunctionDescriptor.builder()\n .name(\"get_date\")\n .params(ImmutableList.of(\n object(\"value\").ruleBuilderVariable().description(\"Date string to parse\").build(),\n string(\"pattern\").description(\"The pattern to parse the date with, see http://www.joda.org/joda-time/apidocs/org/joda/time/format/DateTimeFormat.html\").build(),\n string(\"locale\").optional().description(\"The locale to parse the date with, see https://docs.oracle.com/javase/8/docs/api/java/util/Locale.html\").build(),\n string(\"timezone\").optional().description(\"The timezone to apply to the date, defaults to UTC\").build()\n ))\n .returnType(DateTime.class)\n .description(\"Parses a value using the given date format\")\n .ruleBuilderEnabled(false)\n .ruleBuilderName(\"Parse date\")\n .ruleBuilderTitle(\"Parse date from value\")\n .ruleBuilderFunctionGroup(RuleBuilderFunctionGroup.DATE)\n .build())\n .fragmentOutputVariable(\"gl2_fragment_date_results\")\n .build();\n }\n\n}\n" +} diff --git a/web/public/bundles/graylog/code/19fd9ffdafdb976d9b615c50f7862d63aa16a817.json b/web/public/bundles/graylog/code/19fd9ffdafdb976d9b615c50f7862d63aa16a817.json new file mode 100644 index 00000000..46665afd --- /dev/null +++ b/web/public/bundles/graylog/code/19fd9ffdafdb976d9b615c50f7862d63aa16a817.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "19fd9ffdafdb976d9b615c50f7862d63aa16a817", + "language": "typescript", + "path": "graylog2-web-interface/docs/graylog-luma/.storybook/withGraylogTheme.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\nimport 'preload';\nimport 'theme/theme-styles';\nimport 'bootstrap/less/bootstrap.less';\nimport type { Decorator } from '@storybook/react';\nimport { useDarkMode } from 'storybook-dark-mode';\nimport { createGlobalStyle, css } from 'styled-components';\n\nimport { COLOR_SCHEME_DARK, COLOR_SCHEME_LIGHT } from 'theme/sawmill';\nimport GraylogThemeProvider from 'theme/GraylogThemeProvider';\nimport GlobalThemeStyles from 'theme/GlobalThemeStyles';\n\nconst StoryBodyBackground = createGlobalStyle(\n ({ theme }) => css`\n body {\n background-color: ${theme.colors.global.contentBackground};\n }\n `,\n);\n\nconst GraylogThemeDecorator = ({ children }: { children: React.ReactNode }) => {\n const colorScheme = useDarkMode() ? COLOR_SCHEME_DARK : COLOR_SCHEME_LIGHT;\n\n return (\n \n \n \n {children}\n \n );\n};\n\nexport const withGraylogTheme: Decorator = (Story) => (\n \n \n \n);\n" +} diff --git a/web/public/bundles/graylog/code/1a2558806be3647521cb8d6f09410c149ff647c0.json b/web/public/bundles/graylog/code/1a2558806be3647521cb8d6f09410c149ff647c0.json new file mode 100644 index 00000000..03de930e --- /dev/null +++ b/web/public/bundles/graylog/code/1a2558806be3647521cb8d6f09410c149ff647c0.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "1a2558806be3647521cb8d6f09410c149ff647c0", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/cef/input/CEFUDPInput.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.cef.input;\n\n\nimport com.codahale.metrics.MetricRegistry;\nimport com.google.inject.assistedinject.Assisted;\nimport com.google.inject.assistedinject.AssistedInject;\nimport org.graylog.plugins.cef.codec.CEFCodec;\nimport org.graylog2.inputs.transports.UdpTransport;\nimport org.graylog2.plugin.LocalMetricRegistry;\nimport org.graylog2.plugin.ServerStatus;\nimport org.graylog2.plugin.configuration.Configuration;\nimport org.graylog2.plugin.inputs.MessageInput;\nimport org.graylog2.plugin.inputs.annotations.ConfigClass;\nimport org.graylog2.plugin.inputs.annotations.FactoryClass;\n\nimport jakarta.inject.Inject;\n\npublic class CEFUDPInput extends MessageInput {\n private static final String NAME = \"CEF UDP\";\n\n @AssistedInject\n public CEFUDPInput(@Assisted Configuration configuration,\n MetricRegistry metricRegistry,\n final UdpTransport.Factory udpTransportFactory,\n final LocalMetricRegistry localRegistry,\n CEFCodec.Factory codec,\n Config config,\n Descriptor descriptor,\n ServerStatus serverStatus) {\n super(\n metricRegistry,\n configuration,\n udpTransportFactory.create(configuration),\n localRegistry,\n codec.create(configuration),\n config,\n descriptor,\n serverStatus\n );\n }\n\n @FactoryClass\n public interface Factory extends MessageInput.Factory {\n @Override\n CEFUDPInput create(Configuration configuration);\n\n @Override\n Config getConfig();\n\n @Override\n Descriptor getDescriptor();\n }\n\n public static class Descriptor extends MessageInput.Descriptor {\n @Inject\n public Descriptor() {\n super(NAME, false, \"\");\n }\n }\n\n @ConfigClass\n public static class Config extends MessageInput.Config {\n @Inject\n public Config(UdpTransport.Factory transport, CEFCodec.Factory codec) {\n super(transport.getConfig(), codec.getConfig());\n }\n }\n\n}\n" +} diff --git a/web/public/bundles/graylog/code/1aa7dd43a6d013ba6a6c5181bf16b3b5d5301f5b.json b/web/public/bundles/graylog/code/1aa7dd43a6d013ba6a6c5181bf16b3b5d5301f5b.json new file mode 100644 index 00000000..df0e34c6 --- /dev/null +++ b/web/public/bundles/graylog/code/1aa7dd43a6d013ba6a6c5181bf16b3b5d5301f5b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "1aa7dd43a6d013ba6a6c5181bf16b3b5d5301f5b", + "language": "typescript", + "path": "graylog2-web-interface/src/components/collectors/hooks/useFleetReceivingCounts.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport { useQuery } from '@tanstack/react-query';\n\nimport {\n AGENT_FLEET_ID_FIELD,\n AGENT_ID_FIELD,\n COLLECTOR_LOG_RECEIVER_TYPE,\n AGENT_RECEIVER_TYPE_FIELD,\n} from 'components/collectors/common/fields';\nimport generateId from 'logic/generateId';\nimport Query, { createElasticsearchQueryString } from 'views/logic/queries/Query';\nimport type { RelativeTimeRangeWithEnd } from 'views/logic/queries/Query';\nimport Search from 'views/logic/search/Search';\nimport SearchExecutionState from 'views/logic/search/SearchExecutionState';\nimport createSearch from 'views/logic/slices/createSearch';\nimport { startJob, executeJobResult } from 'views/logic/slices/executeJobResult';\nimport type { AggregationSearchType } from 'views/logic/queries/SearchType';\n\nimport {\n COUNT_SERIES,\n ONBOARDING_KEY_PREFIX,\n PREVIEW_RANGE_SECONDS,\n REFRESH_INTERVAL_MS,\n parsePivotCounts,\n} from './useCollectorLogPreview';\nimport type { RawPivotResult } from './useCollectorLogPreview';\n\n// A `values` bucket returns only buckets that exist, capped at this limit — instances beyond it\n// (the lowest-count ones) read as \"no messages yet\". Generous enough for any realistic rollout\n// batch while still bounding the aggregation.\nconst INSTANCE_BUCKET_LIMIT = 500;\n\ntype CountsSearch = {\n search: Search;\n ids: {\n queryId: string;\n searchTypeId: string;\n };\n};\n\nconst countsTimerange: RelativeTimeRangeWithEnd = { type: 'relative', from: PREVIEW_RANGE_SECONDS };\n\nconst instanceCountsSearchType = (id: string): AggregationSearchType => ({\n id,\n // `pivot`, not `aggregation` — see the sourceCountsSearchType comment in useCollectorLogPreview.\n type: 'pivot',\n row_groups: [{ type: 'values', fields: [AGENT_ID_FIELD], limit: INSTANCE_BUCKET_LIMIT }],\n column_groups: [],\n series: COUNT_SERIES,\n sort: [],\n rollup: false,\n filter: undefined,\n filters: undefined,\n name: undefined,\n query: undefined,\n timerange: undefined,\n streams: [],\n stream_categories: [],\n});\n\nconst buildCountsSearch = (fleetId: string): CountsSearch => {\n const ids = {\n queryId: generateId(),\n searchTypeId: generateId(),\n };\n\n // One aggregation over the whole fleet, bucketed per instance. The NOT clause keeps the\n // collectors' own logs out of the counts (same guard as the log preview's source query).\n const query = Query.builder()\n .id(ids.queryId)\n .query(\n createElasticsearchQueryString(\n `${AGENT_FLEET_ID_FIELD}:\"${fleetId}\" AND NOT ${AGENT_RECEIVER_TYPE_FIELD}:\"${COLLECTOR_LOG_RECEIVER_TYPE}\"`,\n ),\n )\n .timerange(countsTimerange)\n .searchTypes([instanceCountsSearchType(ids.searchTypeId)])\n .build();\n\n const search = Search.builder().newId().queries([query]).parameters([]).build();\n\n return { search, ids };\n};\n\n/**\n * Message counts per collector instance for one fleet, from a single search\n * execution — used to show whether each enrolling host is receiving data without issuing one\n * query per host. Returns undefined while loading or when the aggregation is unavailable.\n */\nconst useFleetReceivingCounts = (fleetId: string) => {\n const { data: created, error: createError } = useQuery({\n queryKey: [...ONBOARDING_KEY_PREFIX, 'fleet-receiving-search', fleetId],\n queryFn: async () => {\n const { search, ids } = buildCountsSearch(fleetId);\n const saved = await createSearch(search);\n\n return { search: saved, ids };\n },\n staleTime: Infinity,\n });\n\n const { data: counts, error: executeError } = useQuery({\n // eslint-disable-next-line @tanstack/query/exhaustive-deps -- created.search.id uniquely identifies the search; including the full object would cause spurious re-runs\n queryKey: [...ONBOARDING_KEY_PREFIX, 'fleet-receiving-results', created?.search?.id],\n enabled: !!created,\n refetchInterval: REFRESH_INTERVAL_MS,\n queryFn: async () => {\n if (!created) throw new Error('search not created yet');\n\n const { search, ids } = created;\n const jobIds = await startJob(search, [], SearchExecutionState.empty(), []);\n const { result } = await executeJobResult({ jobIds });\n\n const errors = result.errors ?? [];\n\n if (errors.length > 0) {\n throw new Error(errors[0].description ?? 'Search failed');\n }\n\n return parsePivotCounts(result.forId(ids.queryId)?.searchTypes?.[ids.searchTypeId] as RawPivotResult | undefined);\n },\n });\n\n return {\n counts,\n error: (createError ?? executeError ?? null) as Error | null,\n };\n};\n\nexport default useFleetReceivingCounts;\n" +} diff --git a/web/public/bundles/graylog/code/1aca9baa19763dcd1ef7566200e83675cdb340bd.json b/web/public/bundles/graylog/code/1aca9baa19763dcd1ef7566200e83675cdb340bd.json new file mode 100644 index 00000000..7a2c7426 --- /dev/null +++ b/web/public/bundles/graylog/code/1aca9baa19763dcd1ef7566200e83675cdb340bd.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "1aca9baa19763dcd1ef7566200e83675cdb340bd", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/threatintel/migrations/V20240531101100_RemoveAbusechContentPack.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.threatintel.migrations;\n\nimport jakarta.inject.Inject;\nimport org.graylog2.contentpacks.ContentPackInstallationPersistenceService;\nimport org.graylog2.contentpacks.ContentPackPersistenceService;\nimport org.graylog2.contentpacks.ContentPackService;\nimport org.graylog2.contentpacks.model.ContentPack;\nimport org.graylog2.contentpacks.model.ModelId;\nimport org.graylog2.migrations.Migration;\nimport org.graylog2.plugin.cluster.ClusterConfigService;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.time.ZonedDateTime;\nimport java.util.Set;\n\npublic class V20240531101100_RemoveAbusechContentPack extends Migration {\n private static final Logger LOG = LoggerFactory.getLogger(V20240531101100_RemoveAbusechContentPack.class);\n private static final ModelId CONTENT_PACK_ID = ModelId.of(\"cbacd801-7824-c554-3fb1-475491b03826\");\n\n private final ContentPackService contentPackService;\n private final ContentPackPersistenceService contentPackPersistenceService;\n private final ContentPackInstallationPersistenceService contentPackInstallationPersistenceService;\n private final ClusterConfigService clusterConfigService;\n\n @Inject\n public V20240531101100_RemoveAbusechContentPack(final ContentPackService contentPackService,\n final ContentPackPersistenceService contentPackPersistenceService,\n final ContentPackInstallationPersistenceService contentPackInstallationPersistenceService,\n final ClusterConfigService clusterConfigService) {\n this.contentPackService = contentPackService;\n this.contentPackPersistenceService = contentPackPersistenceService;\n this.contentPackInstallationPersistenceService = contentPackInstallationPersistenceService;\n this.clusterConfigService = clusterConfigService;\n }\n\n @Override\n public ZonedDateTime createdAt() {\n return ZonedDateTime.parse(\"2024-05-31T10:11:00Z\");\n }\n\n @Override\n public void upgrade() {\n if (clusterConfigService.get(V20240531101100_RemoveAbusechContentPack.MigrationCompleted.class) != null) {\n LOG.debug(\"Migration already completed!\");\n return;\n }\n Set existingPacks = contentPackPersistenceService.findAllById(CONTENT_PACK_ID);\n if (!existingPacks.isEmpty()) {\n LOG.debug(\"Removing deprecated Abuse.ch content pack\");\n existingPacks.forEach(pack -> {\n contentPackInstallationPersistenceService.findByContentPackIdAndRevision(CONTENT_PACK_ID, pack.revision())\n .forEach(i -> contentPackService.uninstallContentPack(pack, i));\n contentPackPersistenceService.deleteById(pack.id());\n });\n }\n clusterConfigService.write(new MigrationCompleted());\n }\n\n record MigrationCompleted() {}\n}\n" +} diff --git a/web/public/bundles/graylog/code/1b0a1a79004c879b222b77bcf912d761349697cf.json b/web/public/bundles/graylog/code/1b0a1a79004c879b222b77bcf912d761349697cf.json new file mode 100644 index 00000000..ac78ed76 --- /dev/null +++ b/web/public/bundles/graylog/code/1b0a1a79004c879b222b77bcf912d761349697cf.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "1b0a1a79004c879b222b77bcf912d761349697cf", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/functions/lookup/LookupSetStringList.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.pipelineprocessor.functions.lookup;\n\nimport org.graylog.plugins.pipelineprocessor.EvaluationContext;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.AbstractFunction;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.FunctionArgs;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.FunctionDescriptor;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor;\nimport org.graylog.plugins.pipelineprocessor.rulebuilder.RuleBuilderFunctionGroup;\nimport org.graylog2.lookup.LookupTableService;\n\nimport jakarta.inject.Inject;\n\nimport java.util.List;\nimport java.util.Optional;\n\nimport static org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor.object;\nimport static org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor.string;\n\npublic class LookupSetStringList extends AbstractFunction {\n\n public static final String NAME = \"lookup_set_string_list\";\n\n private final ParameterDescriptor lookupTableParam;\n private final ParameterDescriptor keyParam;\n @SuppressWarnings(\"rawtypes\")\n private final ParameterDescriptor valueParam;\n private final ParameterDescriptor ttlSecondsParam;\n\n @Inject\n public LookupSetStringList(LookupTableService lookupTableService) {\n lookupTableParam = string(\"lookup_table\", LookupTableService.Function.class)\n .description(\"The existing lookup table to use to set the given list\")\n .transform(tableName -> lookupTableService.newBuilder().lookupTable(tableName).build())\n .build();\n keyParam = object(\"key\")\n .description(\"The key to set in the lookup table\")\n .build();\n valueParam = ParameterDescriptor.type(\"value\", List.class).ruleBuilderVariable()\n .description(\"The list value that should be set into the lookup table\")\n .build();\n ttlSecondsParam = ParameterDescriptor.integer(\"ttl\")\n .optional()\n .description(\"The time to live in seconds to assign to this entry\")\n .build();\n }\n\n @Override\n public Object evaluate(FunctionArgs args, EvaluationContext context) {\n Object key = keyParam.required(args, context);\n if (key == null) {\n return null;\n }\n LookupTableService.Function table = lookupTableParam.required(args, context);\n if (table == null) {\n return null;\n }\n List value = valueParam.required(args, context);\n if (value == null) {\n return null;\n }\n final Optional ttlSec = ttlSecondsParam.optional(args, context);\n if (ttlSec.isPresent()) {\n return table.setStringListWithTtl(key, value, ttlSec.get()).stringListValue();\n } else {\n return table.setStringList(key, value).stringListValue();\n }\n }\n\n @Override\n public FunctionDescriptor descriptor() {\n return FunctionDescriptor.builder()\n .name(NAME)\n .description(\"Set a string list in the named lookup table. Returns the new value on success, null on failure.\")\n .params(lookupTableParam, keyParam, valueParam, ttlSecondsParam)\n .returnType(List.class)\n .ruleBuilderEnabled()\n .ruleBuilderName(\"Set string list in lookup table\")\n .ruleBuilderTitle(\"Set string list in '${lookup_table}' using key '${key}'\")\n .ruleBuilderFunctionGroup(RuleBuilderFunctionGroup.LOOKUP)\n .build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/1b5617d488aaa6097b7f10a41f48ffc4db618446.json b/web/public/bundles/graylog/code/1b5617d488aaa6097b7f10a41f48ffc4db618446.json new file mode 100644 index 00000000..80aec16a --- /dev/null +++ b/web/public/bundles/graylog/code/1b5617d488aaa6097b7f10a41f48ffc4db618446.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "1b5617d488aaa6097b7f10a41f48ffc4db618446", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/metrics/prometheus/mapping/PrometheusMappingFilesHandler.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.metrics.prometheus.mapping;\n\nimport com.google.common.annotations.VisibleForTesting;\nimport com.google.common.collect.ImmutableList;\nimport com.google.common.io.Resources;\nimport io.prometheus.client.dropwizard.samplebuilder.MapperConfig;\nimport org.graylog.metrics.prometheus.PrometheusExporterConfiguration;\nimport org.graylog2.plugin.utilities.FileInfo;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport javax.annotation.Nullable;\n\nimport jakarta.inject.Inject;\nimport jakarta.inject.Named;\n\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.nio.file.Files;\nimport java.nio.file.Path;\nimport java.nio.file.StandardOpenOption;\nimport java.util.ArrayList;\nimport java.util.HashSet;\nimport java.util.List;\nimport java.util.Optional;\nimport java.util.Set;\nimport java.util.concurrent.atomic.AtomicReference;\nimport java.util.stream.Collectors;\n\npublic class PrometheusMappingFilesHandler {\n private static final Logger LOG = LoggerFactory.getLogger(PrometheusMappingFilesHandler.class);\n static final String CORE_MAPPING_RESOURCE = \"prometheus-exporter.yml\";\n\n @Nullable\n private final Path coreMappingFile;\n @Nullable\n private final Path customMappingFile;\n private final String coreMappingResource;\n private final PrometheusMappingConfigLoader mapperConfigLoader;\n\n private final AtomicReference coreMappingFileInfoRef = new AtomicReference<>(null);\n private final AtomicReference customMappingFileInfoRef = new AtomicReference<>(null);\n\n @Inject\n public PrometheusMappingFilesHandler(@Named(PrometheusExporterConfiguration.MAPPING_FILE_PATH_CORE) @Nullable Path coreMappingPath,\n @Named(PrometheusExporterConfiguration.MAPPING_FILE_PATH_CUSTOM) @Nullable Path customMappingPath,\n PrometheusMappingConfigLoader mapperConfigLoader) {\n this(coreMappingPath, customMappingPath, CORE_MAPPING_RESOURCE, mapperConfigLoader);\n }\n\n @VisibleForTesting\n PrometheusMappingFilesHandler(@Named(PrometheusExporterConfiguration.MAPPING_FILE_PATH_CORE) @Nullable Path coreMappingPath,\n @Named(PrometheusExporterConfiguration.MAPPING_FILE_PATH_CUSTOM) @Nullable Path customMappingPath,\n String coreMappingResource,\n PrometheusMappingConfigLoader mapperConfigLoader) {\n this.coreMappingFile = buildPath(coreMappingPath, coreMappingFileInfoRef);\n this.customMappingFile = buildPath(customMappingPath, customMappingFileInfoRef);\n this.coreMappingResource = coreMappingResource;\n this.mapperConfigLoader = mapperConfigLoader;\n }\n\n private static Path buildPath(Path file, AtomicReference fileInfoRef) {\n if (file != null) {\n if (Files.exists(file)) {\n fileInfoRef.set(FileInfo.forPath(file));\n }\n return file.toAbsolutePath();\n }\n return null;\n }\n\n private Optional detectChange(@Nullable Path file, AtomicReference fileInfoRef) {\n if (file != null && Files.exists(file)) {\n LOG.debug(\"Detecting changes for file <{}>\", file);\n\n if (fileInfoRef.get() == null) {\n LOG.debug(\"Getting initial file info for file <{}>\", file);\n final FileInfo newFileInfo = FileInfo.forPath(file);\n fileInfoRef.set(newFileInfo);\n // The file didn't exist before so we want to trigger a change\n return Optional.of(new FileInfo.Change(newFileInfo));\n }\n\n final FileInfo.Change change = fileInfoRef.get().checkForChange();\n\n if (change.isChanged()) {\n LOG.debug(\"Updating file info for changed file <{}>\", file);\n // Use latest file info to make update check correct on next call\n fileInfoRef.set(change.fileInfo());\n }\n\n return Optional.of(change);\n }\n\n LOG.debug(\"File <{}> doesn't exist\", file);\n return Optional.empty();\n }\n\n public boolean filesHaveChanged() {\n if ((coreMappingFile == null || !Files.exists(coreMappingFile)) &&\n (customMappingFile == null || !Files.exists(customMappingFile))) {\n return false;\n }\n\n final List changes = new ArrayList<>();\n\n // Synchronize to ensure atomic update of the file info fields\n synchronized (this) {\n detectChange(coreMappingFile, coreMappingFileInfoRef).ifPresent(changes::add);\n detectChange(customMappingFile, customMappingFileInfoRef).ifPresent(changes::add);\n }\n\n return changes.stream().anyMatch(FileInfo.Change::isChanged);\n }\n\n public List getMapperConfigs() {\n final Set mapperConfigs = new HashSet<>();\n\n // If an external core mapping file exists it takes precedence over the included mapping resource\n if (coreMappingFile != null && Files.exists(coreMappingFile)) {\n LOG.debug(\"Loading core metric mappings from file <{}>\", coreMappingFile);\n try {\n final InputStream inputStream = Files.newInputStream(coreMappingFile, StandardOpenOption.READ);\n mapperConfigs.addAll(mapperConfigLoader.load(inputStream));\n } catch (IOException e) {\n LOG.error(\"Couldn't load mapping from file <{}>\", coreMappingFile, e);\n }\n } else {\n LOG.debug(\"Loading core metric mappings from resource <{}>\", coreMappingResource);\n try {\n mapperConfigs.addAll(mapperConfigLoader.load(Resources.getResource(coreMappingResource).openStream()));\n } catch (IOException e) {\n LOG.error(\"Couldn't load mapping from resource <{}>\", coreMappingResource, e);\n }\n }\n\n // Load custom mappings if they exist. Custom mappings cannot override core mappings!\n if (customMappingFile != null && Files.exists(customMappingFile)) {\n LOG.debug(\"Loading custom metric mappings from file <{}>\", customMappingFile);\n try {\n final Set coreMetricNames = mapperConfigs.stream()\n .map(MapperConfig::getName)\n .collect(Collectors.toSet());\n\n final InputStream inputStream = Files.newInputStream(customMappingFile, StandardOpenOption.READ);\n final Set customConfigs = mapperConfigLoader.load(inputStream)\n .stream()\n .filter(config -> {\n if (coreMetricNames.contains(config.getName())) {\n LOG.warn(\"Custom metric mapping config cannot overwrite core metric: {}\", config.getName());\n return false;\n }\n return true;\n })\n .collect(Collectors.toSet());\n\n mapperConfigs.addAll(customConfigs);\n } catch (IOException e) {\n LOG.error(\"Couldn't load mapping from file <{}>\", coreMappingFile, e);\n }\n }\n\n return ImmutableList.copyOf(mapperConfigs);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/1bc0ed25aafafe4e3b24e969faae5b3040a1ecbc.json b/web/public/bundles/graylog/code/1bc0ed25aafafe4e3b24e969faae5b3040a1ecbc.json new file mode 100644 index 00000000..68a760d9 --- /dev/null +++ b/web/public/bundles/graylog/code/1bc0ed25aafafe4e3b24e969faae5b3040a1ecbc.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "1bc0ed25aafafe4e3b24e969faae5b3040a1ecbc", + "language": "java", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/stats/ClusterStatsApi.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.storage.elasticsearch7.stats;\n\nimport com.fasterxml.jackson.databind.JsonNode;\nimport com.fasterxml.jackson.databind.ObjectMapper;\nimport jakarta.inject.Inject;\nimport org.graylog.shaded.elasticsearch7.org.elasticsearch.client.Request;\nimport org.graylog.storage.elasticsearch7.PlainJsonApi;\nimport org.graylog2.rest.resources.system.indexer.responses.IndexSetStats;\n\npublic class ClusterStatsApi {\n private final ObjectMapper objectMapper;\n private final PlainJsonApi jsonApi;\n\n @Inject\n public ClusterStatsApi(ObjectMapper objectMapper,\n PlainJsonApi jsonApi) {\n this.objectMapper = objectMapper;\n this.jsonApi = jsonApi;\n }\n\n public IndexSetStats clusterStats() {\n final Request request = new Request(\"GET\", \"/_cluster/stats\");\n request.addParameter(\"filter_path\", \"indices.count,indices.docs.count,indices.store.size_in_bytes\");\n final JsonNode stats = jsonApi.perform(request, \"Couldn't read Elasticsearch cluster stats\");\n\n final long indicesCount = stats.path(\"indices\").path(\"count\").asLong();\n final long docsCount = stats.path(\"indices\").path(\"docs\").path(\"count\").asLong();\n final long sizeBytes = stats.path(\"indices\").path(\"store\").path(\"size_in_bytes\").asLong();\n\n return IndexSetStats.create(indicesCount, docsCount, sizeBytes);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/1c17ea3f09bb5fa717f31d7c86b66ed47fe42646.json b/web/public/bundles/graylog/code/1c17ea3f09bb5fa717f31d7c86b66ed47fe42646.json new file mode 100644 index 00000000..4f2ce148 --- /dev/null +++ b/web/public/bundles/graylog/code/1c17ea3f09bb5fa717f31d7c86b66ed47fe42646.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "1c17ea3f09bb5fa717f31d7c86b66ed47fe42646", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/IntegrationsPlugin.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.integrations;\n\nimport org.graylog2.plugin.Plugin;\nimport org.graylog2.plugin.PluginMetaData;\nimport org.graylog2.plugin.PluginModule;\n\nimport java.util.Collection;\nimport java.util.Collections;\n\n/**\n * Implement the Plugin interface here.\n */\npublic class IntegrationsPlugin implements Plugin {\n @Override\n public PluginMetaData metadata() {\n return new IntegrationsMetaData();\n }\n\n @Override\n public Collection modules() {\n return Collections.singletonList(new IntegrationsModule());\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/1c236abfeab84012eb574b3e4638c462b0cdaf18.json b/web/public/bundles/graylog/code/1c236abfeab84012eb574b3e4638c462b0cdaf18.json new file mode 100644 index 00000000..73a258d1 --- /dev/null +++ b/web/public/bundles/graylog/code/1c236abfeab84012eb574b3e4638c462b0cdaf18.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "1c236abfeab84012eb574b3e4638c462b0cdaf18", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/system/processing/control/OutputBufferDrainFailureException.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.system.processing.control;\n\nimport java.util.Set;\n\nimport static org.graylog2.shared.utilities.StringUtils.f;\n\npublic class OutputBufferDrainFailureException extends RuntimeException {\n\n public OutputBufferDrainFailureException(long retryIntervalSeconds, int maxRetries, Set nodes) {\n super(f(\"Failed to drain the Output buffer on nodes [%s] within [%s] seconds. \" +\n \"This probably means that your Graylog nodes are processing a very high rate of messages. \" +\n \"You can try to pause processing manually in System > Nodes, and attempt the installation \" +\n \"again once the output buffers have fully drained.\",\n String.join(\"\", nodes), retryIntervalSeconds * maxRetries));\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/1dcdaca02a07b085118c51ce7a2c080922feec3a.json b/web/public/bundles/graylog/code/1dcdaca02a07b085118c51ce7a2c080922feec3a.json new file mode 100644 index 00000000..3b30fe79 --- /dev/null +++ b/web/public/bundles/graylog/code/1dcdaca02a07b085118c51ce7a2c080922feec3a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "1dcdaca02a07b085118c51ce7a2c080922feec3a", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/system/activities/SystemMessageService.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.system.activities;\n\nimport org.graylog2.plugin.database.PersistedService;\n\nimport java.util.List;\nimport java.util.Map;\n\n/**\n * @author Dennis Oelkers \n */\npublic interface SystemMessageService extends PersistedService {\n List all(int page);\n long totalCount();\n SystemMessage create(Map fields);\n}\n" +} diff --git a/web/public/bundles/graylog/code/1fc8cf5c9e59720b11ebc1316abad954c84fb721.json b/web/public/bundles/graylog/code/1fc8cf5c9e59720b11ebc1316abad954c84fb721.json new file mode 100644 index 00000000..95d3b484 --- /dev/null +++ b/web/public/bundles/graylog/code/1fc8cf5c9e59720b11ebc1316abad954c84fb721.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "1fc8cf5c9e59720b11ebc1316abad954c84fb721", + "language": "typescript", + "path": "graylog2-web-interface/src/hooks/useHotkey.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\n\nimport type { Options as ReactHotKeysHookOptions } from 'react-hotkeys-hook';\nimport { useHotkeys as originalUseHotkeys } from 'react-hotkeys-hook';\nimport { useEffect, useMemo, useCallback } from 'react';\n\nimport type { ScopeName, HotkeyCollections, Options, HotkeysEvent } from 'contexts/HotkeysContext';\nimport useHotkeysContext from 'hooks/useHotkeysContext';\nimport useSendTelemetry from 'logic/telemetry/useSendTelemetry';\nimport { TELEMETRY_EVENT_TYPE } from 'logic/telemetry/Constants';\n\nexport const DEFAULT_SPLIT_KEY = ',';\nexport const DEFAULT_COMBINATION_KEY = '+';\nconst defaultOptions: Omit & Options = {\n preventDefault: true,\n enabled: true,\n enableOnContentEditable: false,\n combinationKey: DEFAULT_COMBINATION_KEY,\n splitKey: DEFAULT_SPLIT_KEY,\n keyup: undefined,\n keydown: true,\n description: undefined,\n document: undefined,\n ignoreModifiers: false,\n useKey: true,\n displayInOverview: undefined,\n};\n\nconst catchErrors = (hotKeysCollections: HotkeyCollections, actionKey: string, scope: ScopeName) => {\n if (!hotKeysCollections[scope]) {\n throw Error(`Scope \"${scope}\" does not exist in hotkeys collection.`);\n }\n\n if (!hotKeysCollections[scope].actions[actionKey]) {\n throw Error(`Action \"${actionKey}\" does not exist in hotkeys collection of \"${scope}\" scope.`);\n }\n};\n\nexport type HotkeysProps = {\n actionKey: string;\n callback?: (event: KeyboardEvent, handler: HotkeysEvent) => unknown;\n scope: ScopeName;\n options?: Options;\n dependencies?: Array;\n};\n\nconst useHotkey = ({\n actionKey,\n callback = undefined,\n scope,\n options = undefined,\n dependencies = undefined,\n}: HotkeysProps) => {\n const sendTelemetry = useSendTelemetry();\n\n const { hotKeysCollections, addActiveHotkey, removeActiveHotkey } = useHotkeysContext();\n\n catchErrors(hotKeysCollections, actionKey, scope);\n\n const mergedOptions = useMemo(\n () => ({\n ...defaultOptions,\n ...options,\n scopes: scope,\n }),\n [options, scope],\n );\n\n const callbackWithTelemetry = useCallback(\n (event: KeyboardEvent, handler: HotkeysEvent) => {\n sendTelemetry(TELEMETRY_EVENT_TYPE.SHORTCUT_TYPED, {\n event_details: { actionKey, scope, keys: hotKeysCollections?.[scope]?.actions?.[actionKey]?.keys },\n });\n\n callback(event, handler);\n },\n [actionKey, callback, hotKeysCollections, scope, sendTelemetry],\n );\n\n useEffect(() => {\n addActiveHotkey({\n scope,\n actionKey,\n options: {\n scope,\n enabled: mergedOptions.enabled,\n displayInOverview: mergedOptions.displayInOverview,\n combinationKey: mergedOptions.combinationKey,\n splitKey: mergedOptions.splitKey,\n },\n });\n\n return () => removeActiveHotkey({ scope, actionKey });\n }, [\n actionKey,\n addActiveHotkey,\n scope,\n removeActiveHotkey,\n mergedOptions.combinationKey,\n mergedOptions.enabled,\n mergedOptions.displayInOverview,\n mergedOptions.splitKey,\n ]);\n\n const { combinationKey, splitKey, displayInOverview: _displayInOverview, ...hotkeysOptions } = mergedOptions;\n\n return originalUseHotkeys(\n hotKeysCollections?.[scope]?.actions?.[actionKey]?.keys,\n callbackWithTelemetry,\n { ...hotkeysOptions, splitKey: combinationKey, delimiter: splitKey },\n dependencies,\n );\n};\n\nexport default useHotkey;\n" +} diff --git a/web/public/bundles/graylog/code/1ff5e87fa90b6852c529d40ab0da6ff9998722ad.json b/web/public/bundles/graylog/code/1ff5e87fa90b6852c529d40ab0da6ff9998722ad.json new file mode 100644 index 00000000..728e3f4c --- /dev/null +++ b/web/public/bundles/graylog/code/1ff5e87fa90b6852c529d40ab0da6ff9998722ad.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "1ff5e87fa90b6852c529d40ab0da6ff9998722ad", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/alerts/AlertConditionBindings.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.alerts;\n\nimport org.graylog2.alerts.types.FieldContentValueAlertCondition;\nimport org.graylog2.alerts.types.FieldValueAlertCondition;\nimport org.graylog2.alerts.types.MessageCountAlertCondition;\nimport org.graylog2.plugin.PluginModule;\n\npublic class AlertConditionBindings extends PluginModule {\n @Override\n protected void configure() {\n addAlertCondition(AbstractAlertCondition.Type.FIELD_CONTENT_VALUE.toString(),\n FieldContentValueAlertCondition.class,\n FieldContentValueAlertCondition.Factory.class);\n addAlertCondition(AbstractAlertCondition.Type.FIELD_VALUE.toString(),\n FieldValueAlertCondition.class,\n FieldValueAlertCondition.Factory.class);\n addAlertCondition(AbstractAlertCondition.Type.MESSAGE_COUNT.toString(),\n MessageCountAlertCondition.class,\n MessageCountAlertCondition.Factory.class);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/2088e1cebe17487db01214ed755e57c5bf9b271b.json b/web/public/bundles/graylog/code/2088e1cebe17487db01214ed755e57c5bf9b271b.json new file mode 100644 index 00000000..47811bab --- /dev/null +++ b/web/public/bundles/graylog/code/2088e1cebe17487db01214ed755e57c5bf9b271b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "2088e1cebe17487db01214ed755e57c5bf9b271b", + "language": "typescript", + "path": "graylog2-web-interface/src/util/TimeRangeHelper.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\n\nimport type { AbsoluteRangeQueryParameter } from 'views/logic/TimeRange';\n\n/**\n * Creates an absolute time range that can be used to look up recently received messages.\n * It accommodates for the eventuality that messages can have timestamps from the future\n * due to wrong timezone parsing or wrong system clocks.\n */\nconst recentMessagesTimeRange = (): AbsoluteRangeQueryParameter => {\n const now = Date.now();\n // The biggest possible time difference on earth is 26 hours.\n // It's between Kiribati (UTC+14) and the Howland Islands (UTC-12)\n // So we are going to create an absolute range\n // from 26 hours in the past to 26 hours into the future.\n const fromDate = new Date(now - 26 * 60 * 60000).toISOString();\n const toDate = new Date(now + 26 * 60 * 60000).toISOString();\n\n return { rangetype: 'absolute', from: fromDate, to: toDate };\n};\n\nexport default recentMessagesTimeRange;\n" +} diff --git a/web/public/bundles/graylog/code/20c3002ee6604b2157e69aa1b3894c259d0b9bf1.json b/web/public/bundles/graylog/code/20c3002ee6604b2157e69aa1b3894c259d0b9bf1.json new file mode 100644 index 00000000..e8e648a9 --- /dev/null +++ b/web/public/bundles/graylog/code/20c3002ee6604b2157e69aa1b3894c259d0b9bf1.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "20c3002ee6604b2157e69aa1b3894c259d0b9bf1", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/providers/QuerySuggestionsProvider.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.views.providers;\n\nimport org.graylog.plugins.views.search.engine.QuerySuggestionsService;\nimport org.graylog2.storage.DetectedSearchVersion;\nimport org.graylog2.storage.SearchVersion;\nimport org.graylog2.storage.VersionAwareProvider;\n\nimport jakarta.inject.Inject;\nimport jakarta.inject.Provider;\n\nimport java.util.Map;\n\npublic class QuerySuggestionsProvider extends VersionAwareProvider {\n @Inject\n public QuerySuggestionsProvider(@DetectedSearchVersion SearchVersion version, Map> pluginBindings) {\n super(version, pluginBindings);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/212200c6cd5389f967cbbb16552537abbb059891.json b/web/public/bundles/graylog/code/212200c6cd5389f967cbbb16552537abbb059891.json new file mode 100644 index 00000000..f9e96a8c --- /dev/null +++ b/web/public/bundles/graylog/code/212200c6cd5389f967cbbb16552537abbb059891.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "212200c6cd5389f967cbbb16552537abbb059891", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/functions/lookup/LookupHasValue.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.pipelineprocessor.functions.lookup;\n\nimport org.graylog.plugins.pipelineprocessor.EvaluationContext;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.AbstractFunction;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.FunctionArgs;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.FunctionDescriptor;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor;\nimport org.graylog.plugins.pipelineprocessor.rulebuilder.RuleBuilderFunctionGroup;\nimport org.graylog2.lookup.LookupTableService;\nimport org.graylog2.plugin.lookup.LookupResult;\n\nimport jakarta.inject.Inject;\n\nimport static org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor.object;\nimport static org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor.string;\n\npublic class LookupHasValue extends AbstractFunction {\n\n public static final String NAME = \"lookup_has_value\";\n\n private final ParameterDescriptor lookupTableParam;\n private final ParameterDescriptor keyParam;\n\n @Inject\n public LookupHasValue(LookupTableService lookupTableService) {\n lookupTableParam = string(\"lookup_table\", LookupTableService.Function.class)\n .description(\"The existing lookup table to use to lookup the given key\")\n .transform(tableName -> lookupTableService.newBuilder().lookupTable(tableName).build())\n .build();\n keyParam = object(\"key\")\n .description(\"The key to lookup in the table\")\n .build();\n }\n\n @Override\n public Boolean evaluate(FunctionArgs args, EvaluationContext context) {\n Object key = keyParam.required(args, context);\n if (key == null) {\n return false;\n }\n LookupTableService.Function table = lookupTableParam.required(args, context);\n if (table == null) {\n return false;\n }\n LookupResult result = table.lookup(key);\n return (result != null && !result.isEmpty());\n }\n\n @Override\n public FunctionDescriptor descriptor() {\n //noinspection unchecked\n return FunctionDescriptor.builder()\n .name(NAME)\n .description(\"Checks if lookup table contains a given key.\")\n .params(lookupTableParam, keyParam)\n .returnType(Boolean.class)\n .ruleBuilderEnabled()\n .ruleBuilderName(\"Lookup value check\")\n .ruleBuilderTitle(\"Check if lookup table '${lookup_table}' contains '${value}'\")\n .ruleBuilderFunctionGroup(RuleBuilderFunctionGroup.LOOKUP)\n .build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/2153411eeb88488f567ab3b66b2e4d925a1b5a3a.json b/web/public/bundles/graylog/code/2153411eeb88488f567ab3b66b2e4d925a1b5a3a.json new file mode 100644 index 00000000..06fb8d67 --- /dev/null +++ b/web/public/bundles/graylog/code/2153411eeb88488f567ab3b66b2e4d925a1b5a3a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "2153411eeb88488f567ab3b66b2e4d925a1b5a3a", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/functions/lookup/LookupAssignTtl.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.pipelineprocessor.functions.lookup;\n\nimport org.graylog.plugins.pipelineprocessor.EvaluationContext;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.AbstractFunction;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.FunctionArgs;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.FunctionDescriptor;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor;\nimport org.graylog.plugins.pipelineprocessor.rulebuilder.RuleBuilderFunctionGroup;\nimport org.graylog2.lookup.LookupTableService;\n\nimport jakarta.inject.Inject;\n\nimport static org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor.object;\nimport static org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor.string;\n\npublic class LookupAssignTtl extends AbstractFunction {\n\n public static final String NAME = \"lookup_assign_ttl\";\n\n private final ParameterDescriptor lookupTableParam;\n private final ParameterDescriptor keyParam;\n private final ParameterDescriptor ttlSecondsParam;\n\n @Inject\n public LookupAssignTtl(LookupTableService lookupTableService) {\n lookupTableParam = string(\"lookup_table\", LookupTableService.Function.class).ruleBuilderVariable()\n .description(\"The existing lookup table to use to add/update a ttl to the given key\")\n .transform(tableName -> lookupTableService.newBuilder().lookupTable(tableName).build())\n .build();\n keyParam = object(\"key\")\n .description(\"The key to update in the lookup table\")\n .build();\n ttlSecondsParam = ParameterDescriptor.integer(\"ttl\")\n .description(\"The time to live in seconds to assign to this entry\")\n .build();\n }\n\n @Override\n public Object evaluate(FunctionArgs args, EvaluationContext context) {\n Object key = keyParam.required(args, context);\n if (key == null) {\n return null;\n }\n LookupTableService.Function table = lookupTableParam.required(args, context);\n if (table == null) {\n return null;\n }\n Long ttl = ttlSecondsParam.required(args, context);\n if (ttl == null) {\n return null;\n }\n\n return table.assignTtl(key, ttl).singleValue();\n }\n\n @Override\n public FunctionDescriptor descriptor() {\n return FunctionDescriptor.builder()\n .name(NAME)\n .description(\"Add a time to live to the key in the named lookup table. Returns the updated entry on success, null on failure.\")\n .params(lookupTableParam, keyParam, ttlSecondsParam)\n .returnType(Object.class)\n .ruleBuilderEnabled()\n .ruleBuilderName(\"Add ttl to key in lookup table\")\n .ruleBuilderTitle(\"Add ${ttl} seconds ttl to key '${key}' in '${lookup_table}'\")\n .ruleBuilderFunctionGroup(RuleBuilderFunctionGroup.LOOKUP)\n .build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/21783ab5c9307d79d153889cb49b92fc1fd91a06.json b/web/public/bundles/graylog/code/21783ab5c9307d79d153889cb49b92fc1fd91a06.json new file mode 100644 index 00000000..f13d19c6 --- /dev/null +++ b/web/public/bundles/graylog/code/21783ab5c9307d79d153889cb49b92fc1fd91a06.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "21783ab5c9307d79d153889cb49b92fc1fd91a06", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/startpage/recentActivities/RecentActivityService.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.views.startpage.recentActivities;\n\nimport com.google.common.collect.ImmutableSet;\nimport com.google.common.eventbus.EventBus;\nimport com.mongodb.BasicDBObject;\nimport com.mongodb.client.model.CreateCollectionOptions;\nimport com.mongodb.client.model.Filters;\nimport jakarta.inject.Inject;\nimport jakarta.inject.Singleton;\nimport org.graylog.grn.GRN;\nimport org.graylog.grn.GRNRegistry;\nimport org.graylog.grn.GRNType;\nimport org.graylog.grn.GRNTypes;\nimport org.graylog.plugins.views.search.permissions.SearchUser;\nimport org.graylog.security.Capability;\nimport org.graylog.security.CapabilityRegistry;\nimport org.graylog.security.DBGrantService;\nimport org.graylog.security.GrantDTO;\nimport org.graylog.security.PermissionAndRoleResolver;\nimport org.graylog.security.shares.GranteeService;\nimport org.graylog.security.shares.PluggableEntityService;\nimport org.graylog2.database.MongoCollection;\nimport org.graylog2.database.MongoCollections;\nimport org.graylog2.database.MongoConnection;\nimport org.graylog2.database.PaginatedList;\nimport org.graylog2.database.pagination.MongoPaginationHelper;\nimport org.graylog2.plugin.database.users.User;\nimport org.graylog2.plugin.security.Permission;\nimport org.graylog2.rest.models.SortOrder;\n\nimport java.util.HashSet;\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\n@Singleton\npublic class RecentActivityService {\n public static final String COLLECTION_NAME = \"recent_activity\";\n private final EventBus eventBus;\n private final GRNRegistry grnRegistry;\n private final PermissionAndRoleResolver permissionAndRoleResolver;\n\n private static final long MAXIMUM_RECENT_ACTIVITIES = 10000;\n private final MongoCollection db;\n private final MongoPaginationHelper pagination;\n private final DBGrantService grantService;\n private final GranteeService granteeService;\n private final PluggableEntityService pluggableEntityService;\n private CapabilityRegistry capabilityRegistry;\n\n @Inject\n public RecentActivityService(final MongoCollections mongoCollections,\n final MongoConnection mongoConnection,\n final EventBus eventBus,\n final GRNRegistry grnRegistry,\n final PermissionAndRoleResolver permissionAndRoleResolver,\n final DBGrantService grantService,\n final GranteeService granteeService,\n final PluggableEntityService pluggableEntityService,\n final CapabilityRegistry capabilityRegistry) {\n this(mongoCollections, mongoConnection, eventBus, grnRegistry, permissionAndRoleResolver, MAXIMUM_RECENT_ACTIVITIES,\n grantService, granteeService, pluggableEntityService, capabilityRegistry);\n }\n\n /*\n * Constructor to set a low maximum in tests to check the capped collection.\n */\n protected RecentActivityService(final MongoCollections mongoCollections,\n final MongoConnection mongoConnection,\n final EventBus eventBus,\n final GRNRegistry grnRegistry,\n final PermissionAndRoleResolver permissionAndRoleResolver,\n final long maximum,\n final DBGrantService grantService,\n final GranteeService granteeService,\n final PluggableEntityService pluggableEntityService,\n final CapabilityRegistry capabilityRegistry) {\n this.grantService = grantService;\n this.granteeService = granteeService;\n this.pluggableEntityService = pluggableEntityService;\n this.capabilityRegistry = capabilityRegistry;\n final var mongodb = mongoConnection.getMongoDatabase();\n if (!mongodb.listCollectionNames().into(new HashSet<>()).contains(COLLECTION_NAME)) {\n mongodb.createCollection(COLLECTION_NAME, new CreateCollectionOptions().capped(true).sizeInBytes(maximum * 1024).maxDocuments(maximum));\n }\n this.db = mongoCollections.collection(COLLECTION_NAME, RecentActivityDTO.class);\n this.grnRegistry = grnRegistry;\n this.permissionAndRoleResolver = permissionAndRoleResolver;\n this.eventBus = eventBus;\n this.pagination = mongoCollections.paginationHelper(this.db);\n\n db.createIndex(new BasicDBObject(RecentActivityDTO.FIELD_ITEM_GRN, 1));\n }\n\n private void postRecentActivity(final RecentActivityEvent event) {\n eventBus.post(event);\n }\n\n public void create(String id, GRNType grn, SearchUser user) {\n create(id, grn, user.getUser());\n }\n\n public void create(String id, GRNType grn, User user) {\n postRecentActivity(new RecentActivityEvent(ActivityType.CREATE, grnRegistry.newGRN(grn, id), user.getFullName()));\n }\n\n /**\n * Records a creation and stores the given title with it. Use this for entity types that cannot be resolved\n * through the {@link org.graylog2.lookup.Catalog} later on, i.e. those without a content pack facade.\n */\n public void create(String id, GRNType grn, String title, User user) {\n postRecentActivity(new RecentActivityEvent(ActivityType.CREATE, grnRegistry.newGRN(grn, id), title, user.getFullName()));\n }\n\n public void update(String id, GRNType grn, SearchUser user) {\n update(id, grn, user.getUser());\n }\n\n public void update(String id, GRNType grn, User user) {\n postRecentActivity(new RecentActivityEvent(ActivityType.UPDATE, grnRegistry.newGRN(grn, id), user.getFullName()));\n }\n\n /**\n * Records an update and stores the given title with it. Use this for entity types that cannot be resolved\n * through the {@link org.graylog2.lookup.Catalog} later on, i.e. those without a content pack facade.\n */\n public void update(String id, GRNType grn, String title, User user) {\n postRecentActivity(new RecentActivityEvent(ActivityType.UPDATE, grnRegistry.newGRN(grn, id), title, user.getFullName()));\n }\n\n public void delete(String id, GRNType grn, String title, SearchUser user) {\n delete(id, grn, title, user.getUser());\n }\n\n public void delete(String id, GRNType grn, String title, User user) {\n postRecentActivity(new RecentActivityEvent(ActivityType.DELETE, grnRegistry.newGRN(grn, id), title, user.getFullName()));\n }\n\n public PaginatedList findRecentActivitiesFor(SearchUser user, int page, int perPage) {\n // show the most recent activities first\n var sort = SortOrder.DESCENDING.toBsonSort(RecentActivityDTO.FIELD_TIMESTAMP);\n // no permission check for local admin\n if (user.getUser().isLocalAdmin()) {\n return pagination\n .perPage(perPage)\n .sort(sort)\n .includeGrandTotal(true)\n .page(page);\n }\n\n // filter relevant activities by permissions\n final var principal = grnRegistry.newGRN(GRNTypes.USER, user.getUser().getId());\n final var grantees = permissionAndRoleResolver.resolveGrantees(principal).stream().map(GRN::toString).toList();\n final var sharedEntities = getShareGRNsFor(principal);\n return pagination\n .perPage(perPage)\n .sort(sort)\n .includeGrandTotal(true)\n .page(page, activity -> {\n final var itemGRN = activity.itemGrn();\n final var hasAnyPermission = capabilityRegistry.getPermissions(Capability.VIEW, itemGRN.grnType())\n .stream()\n .map(Permission::permission)\n .anyMatch(permission -> user.isPermitted(permission, itemGRN.entity()));\n return hasAnyPermission || grantees.contains(activity.grantee()) || sharedEntities.contains(itemGRN);\n });\n }\n\n private Set getShareGRNsFor(GRN grantee) {\n // Get all aliases for the grantee to make sure we find all entities the grantee has access to\n final Set granteeAliases = granteeService.getGranteeAliases(grantee);\n\n final ImmutableSet grants = grantService.getForGranteesOrGlobalWithCapability(granteeAliases, Capability.VIEW);\n\n return grants.stream()\n .map(GrantDTO::target)\n .flatMap(pluggableEntityService::expand)\n .filter(pluggableEntityService.excludeTypesFilter())\n .collect(Collectors.toSet());\n }\n\n public void deleteAllEntriesForEntity(GRN grn) {\n db.deleteMany(Filters.eq(RecentActivityDTO.FIELD_ITEM_GRN, grn.toString()));\n }\n\n public void save(RecentActivityDTO activity) {\n db.insertOne(activity);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/218672a02c947e832dfa4319c0e7be894c7f05c2.json b/web/public/bundles/graylog/code/218672a02c947e832dfa4319c0e7be894c7f05c2.json new file mode 100644 index 00000000..01757f6a --- /dev/null +++ b/web/public/bundles/graylog/code/218672a02c947e832dfa4319c0e7be894c7f05c2.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "218672a02c947e832dfa4319c0e7be894c7f05c2", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/filter/DefaultFilteredMessage.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.outputs.filter;\n\nimport com.google.common.collect.ImmutableMultimap;\nimport com.google.common.collect.Multimap;\nimport org.graylog2.indexer.messages.ImmutableMessage;\nimport org.graylog2.outputs.ElasticSearchOutput;\nimport org.graylog2.plugin.Message;\nimport org.graylog2.plugin.streams.Stream;\n\nimport java.util.Set;\n\nimport static java.util.Objects.requireNonNull;\n\npublic record DefaultFilteredMessage(ImmutableMessage message,\n Multimap destinations) implements FilteredMessage {\n public DefaultFilteredMessage {\n requireNonNull(message, \"message cannot be null\");\n requireNonNull(destinations, \"destinations cannot be null\");\n }\n\n /**\n * Creates a filtered message for the given destination keys. The streams of the given message are added to all\n * destination keys.\n *\n * @param message the message\n * @param destinationKeys the set of destination keys\n * @return the new filtered message\n */\n public static DefaultFilteredMessage forDestinationKeys(Message message, Set destinationKeys) {\n final var builder = ImmutableMultimap.builder();\n\n destinationKeys.forEach(key -> builder.putAll(key, message.getStreams()));\n\n return new DefaultFilteredMessage(ImmutableMessage.wrap(message), builder.build());\n }\n\n @Override\n public boolean isIndexed() {\n // We consider a message indexed if it is written to the indexer output.\n return !destinations.get(ElasticSearchOutput.FILTER_KEY).isEmpty();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/223549f869d376084c48f3a72fb86f57796cfd76.json b/web/public/bundles/graylog/code/223549f869d376084c48f3a72fb86f57796cfd76.json new file mode 100644 index 00000000..0fdfdd5f --- /dev/null +++ b/web/public/bundles/graylog/code/223549f869d376084c48f3a72fb86f57796cfd76.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "223549f869d376084c48f3a72fb86f57796cfd76", + "language": "java", + "path": "data-node/src/main/java/org/graylog/datanode/rest/ManagementController.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.datanode.rest;\n\nimport com.google.common.eventbus.EventBus;\nimport jakarta.inject.Inject;\nimport jakarta.ws.rs.DELETE;\nimport jakarta.ws.rs.POST;\nimport jakarta.ws.rs.Path;\nimport jakarta.ws.rs.Produces;\nimport jakarta.ws.rs.core.MediaType;\nimport org.graylog.datanode.configuration.OpensearchUpdateEvent;\nimport org.graylog.datanode.rest.config.OnlyInSecuredNode;\nimport org.graylog2.datanode.DataNodeLifecycleEvent;\nimport org.graylog2.datanode.DataNodeLifecycleTrigger;\nimport org.graylog2.events.ClusterEventBus;\nimport org.graylog2.plugin.system.NodeId;\n\n@Path(\"/management\")\n@Produces(MediaType.APPLICATION_JSON)\npublic class ManagementController {\n\n private final ClusterEventBus clusterEventBus;\n private final EventBus eventBus;\n private final NodeId nodeId;\n\n\n @Inject\n public ManagementController(ClusterEventBus clusterEventBus, EventBus eventBus, NodeId nodeId) {\n this.clusterEventBus = clusterEventBus;\n this.eventBus = eventBus;\n this.nodeId = nodeId;\n }\n\n @DELETE\n @OnlyInSecuredNode\n public void remove() {\n postEvent(DataNodeLifecycleTrigger.REMOVE);\n }\n\n @Deprecated\n @POST\n @Path(\"/start\")\n @OnlyInSecuredNode\n public void start() {\n postEvent(DataNodeLifecycleTrigger.START);\n }\n\n @POST\n @Path(\"/upgrade\")\n @OnlyInSecuredNode\n public void upgrade() {\n eventBus.post(new OpensearchUpdateEvent());\n }\n\n @POST\n @Path(\"/stop\")\n @OnlyInSecuredNode\n public void stop() {\n postEvent(DataNodeLifecycleTrigger.STOP);\n }\n\n private void postEvent(DataNodeLifecycleTrigger trigger) {\n DataNodeLifecycleEvent e = DataNodeLifecycleEvent.create(nodeId.getNodeId(), trigger);\n clusterEventBus.post(e);\n }\n\n}\n" +} diff --git a/web/public/bundles/graylog/code/223dad36d5e15181a7accfe7eb5c92bd7476ab8c.json b/web/public/bundles/graylog/code/223dad36d5e15181a7accfe7eb5c92bd7476ab8c.json new file mode 100644 index 00000000..febf3f88 --- /dev/null +++ b/web/public/bundles/graylog/code/223dad36d5e15181a7accfe7eb5c92bd7476ab8c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "223dad36d5e15181a7accfe7eb5c92bd7476ab8c", + "language": "typescript", + "path": "graylog2-web-interface/src/hooks/usePipeline.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport { useQuery } from '@tanstack/react-query';\n\nimport { PipelinesPipelines } from '@graylog/server-api';\n\nimport type { PipelineType } from 'components/pipelines/types';\nimport { defaultOnError } from 'util/conditional/onError';\n\nexport const PIPELINE_QUERY_KEY = ['pipeline'];\n\ntype Options = {\n enabled: boolean;\n};\n\nconst usePipeline = (\n pipelineId: string,\n { enabled }: Options = { enabled: true },\n): {\n data: PipelineType;\n refetch: () => void;\n isInitialLoading: boolean;\n} => {\n const { data, refetch, isInitialLoading } = useQuery({\n queryKey: [...PIPELINE_QUERY_KEY, pipelineId],\n\n queryFn: () =>\n defaultOnError(\n PipelinesPipelines.get(pipelineId),\n 'Loading pipeline failed with status',\n 'Could not load pipeline',\n ),\n\n enabled,\n });\n\n return {\n data: data ?? undefined,\n refetch,\n isInitialLoading,\n };\n};\n\nexport default usePipeline;\n" +} diff --git a/web/public/bundles/graylog/code/226064c973303bf310bcd4f21475aca7ed53ae79.json b/web/public/bundles/graylog/code/226064c973303bf310bcd4f21475aca7ed53ae79.json new file mode 100644 index 00000000..1b2b10f7 --- /dev/null +++ b/web/public/bundles/graylog/code/226064c973303bf310bcd4f21475aca7ed53ae79.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "226064c973303bf310bcd4f21475aca7ed53ae79", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/events/notifications/EventNotificationExecutionMetrics.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.events.notifications;\n\nimport com.codahale.metrics.Meter;\nimport com.codahale.metrics.MetricRegistry;\nimport org.graylog2.shared.metrics.MetricUtils;\n\nimport jakarta.inject.Inject;\nimport jakarta.inject.Singleton;\n\nimport java.util.Locale;\n\n@Singleton\npublic class EventNotificationExecutionMetrics {\n private final MetricRegistry metricRegistry;\n private final String PREFIX = \"executions\";\n\n private enum Fields {\n TOTAL,\n SUCCESSFUL,\n FAILED_OTHER,\n FAILED_TEMPORARILY,\n FAILED_PERMANENTLY,\n IN_GRACE_PERIOD\n }\n\n @Inject\n public EventNotificationExecutionMetrics(MetricRegistry metricRegistry) {\n this.metricRegistry = metricRegistry;\n }\n\n void registerEventNotification(EventNotification eventNotification, NotificationDto notification) {\n for (Fields field : Fields.values()) {\n final String name = getNameforField(eventNotification, notification, field);\n MetricUtils.safelyRegister(metricRegistry, getNameforField(eventNotification, notification, field), new Meter());\n }\n }\n\n void markExecution(EventNotification eventNotification, NotificationDto notification) {\n getMeterforField(eventNotification, notification, Fields.TOTAL).mark();\n }\n\n void markSuccess(EventNotification eventNotification, NotificationDto notification) {\n getMeterforField(eventNotification, notification, Fields.SUCCESSFUL).mark();\n }\n\n void markInGrace(EventNotification eventNotification, NotificationDto notification) {\n getMeterforField(eventNotification, notification, Fields.IN_GRACE_PERIOD).mark();\n }\n\n void markFailedTemporarily(EventNotification eventNotification, NotificationDto notification) {\n getMeterforField(eventNotification, notification, Fields.FAILED_TEMPORARILY).mark();\n }\n\n void markFailedPermanently(EventNotification eventNotification, NotificationDto notification) {\n getMeterforField(eventNotification, notification, Fields.FAILED_PERMANENTLY).mark();\n }\n\n void markFailed(EventNotification eventNotification, NotificationDto notification) {\n getMeterforField(eventNotification, notification, Fields.FAILED_OTHER).mark();\n }\n\n private String getNameforField(EventNotification eventNotification, NotificationDto notification, Fields field) {\n return MetricRegistry.name(eventNotification.getClass(), notification.id(), PREFIX, field.toString().toLowerCase(Locale.ROOT));\n }\n\n private Meter getMeterforField(EventNotification eventNotification, NotificationDto notification, Fields field) {\n return MetricUtils.getOrRegister(metricRegistry, getNameforField(eventNotification, notification, field), new Meter());\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/22c043c39cc68f41c9e3cd881ce5412f8079363b.json b/web/public/bundles/graylog/code/22c043c39cc68f41c9e3cd881ce5412f8079363b.json new file mode 100644 index 00000000..f4f39adc --- /dev/null +++ b/web/public/bundles/graylog/code/22c043c39cc68f41c9e3cd881ce5412f8079363b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "22c043c39cc68f41c9e3cd881ce5412f8079363b", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/map/config/GeoIpResolverConfig.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.map.config;\n\nimport com.fasterxml.jackson.annotation.JsonAutoDetect;\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonIgnore;\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.google.auto.value.AutoValue;\nimport org.graylog2.security.encryption.ConfigUpdatePreparation;\nimport org.graylog2.security.encryption.EncryptedValue;\n\nimport javax.annotation.Nullable;\nimport java.time.Duration;\nimport java.util.Optional;\nimport java.util.concurrent.TimeUnit;\n\n@JsonAutoDetect\n@JsonIgnoreProperties(ignoreUnknown = true)\n@AutoValue\npublic abstract class GeoIpResolverConfig implements ConfigUpdatePreparation {\n\n private static final Long DEFAULT_INTERVAL = 10L;\n public static final String FIELD_REFRESH_INTERVAL_UNIT = \"refresh_interval_unit\";\n public static final String FIELD_REFRESH_INTERVAL = \"refresh_interval\";\n public static final TimeUnit DEFAULT_INTERVAL_UNIT = TimeUnit.MINUTES;\n\n @JsonProperty(\"enabled\")\n public abstract boolean enabled();\n\n @JsonProperty(\"enforce_graylog_schema\")\n public abstract boolean enforceGraylogSchema();\n\n @JsonProperty(\"db_vendor_type\")\n public abstract DatabaseVendorType databaseVendorType();\n\n @JsonProperty(\"city_db_path\")\n public abstract String cityDbPath();\n\n @JsonProperty(\"asn_db_path\")\n public abstract String asnDbPath();\n\n /**\n * @deprecated Use {@link #pullFromCloud()} instead.\n */\n @Deprecated(since = \"6.3.0\")\n @JsonProperty(\"use_s3\")\n public abstract boolean useS3();\n\n @JsonProperty(\"pull_from_cloud\")\n public abstract Optional pullFromCloud();\n\n @JsonProperty(\"gcs_project_id\")\n @Nullable\n public abstract String gcsProjectId();\n\n @JsonProperty(FIELD_REFRESH_INTERVAL_UNIT)\n @Nullable\n public abstract TimeUnit refreshIntervalUnit();\n\n @JsonProperty(FIELD_REFRESH_INTERVAL)\n public abstract Long refreshInterval();\n\n @JsonProperty(\"azure_account\")\n @Nullable\n public abstract String azureAccountName();\n\n @JsonProperty(\"azure_account_key\")\n @Nullable\n public abstract EncryptedValue azureAccountKey();\n\n @JsonProperty(\"azure_container\")\n @Nullable\n public abstract String azureContainerName();\n\n @JsonProperty(\"azure_endpoint\")\n public abstract Optional azureEndpoint();\n\n public Duration refreshIntervalAsDuration() {\n if (refreshIntervalUnit() == null) {\n return Duration.ofMinutes(DEFAULT_INTERVAL);\n }\n return Duration.ofMillis(refreshIntervalUnit().toMillis(refreshInterval()));\n }\n\n @JsonIgnore\n public boolean isGcsCloud() {\n return pullFromCloud().map(CloudStorageType.GCS::equals).orElse(false);\n }\n\n @JsonIgnore\n public boolean isS3Cloud() {\n return pullFromCloud().map(CloudStorageType.S3::equals).orElse(false);\n }\n\n public boolean isAzureCloud() {\n return pullFromCloud().map(CloudStorageType.ABS::equals).orElse(false);\n }\n\n @JsonCreator\n public static GeoIpResolverConfig create(@JsonProperty(\"enabled\") boolean cityEnabled,\n @JsonProperty(\"enforce_graylog_schema\") boolean enforceGraylogSchema,\n @JsonProperty(\"db_vendor_type\") DatabaseVendorType databaseVendorType,\n @JsonProperty(\"city_db_path\") String cityDbPath,\n @JsonProperty(\"asn_db_path\") String asnDbPath,\n @JsonProperty(FIELD_REFRESH_INTERVAL_UNIT) TimeUnit refreshIntervalUnit,\n @JsonProperty(FIELD_REFRESH_INTERVAL) Long refreshInterval,\n @JsonProperty(\"use_s3\") boolean useS3,\n @JsonProperty(\"pull_from_cloud\") Optional pullFromCloud,\n @JsonProperty(\"gcs_project_id\") String gcsProjectId,\n @JsonProperty(\"azure_account\") String azureAccountName,\n @JsonProperty(\"azure_account_key\") EncryptedValue azureAccountKey,\n @JsonProperty(\"azure_container\") String azureContainerName,\n @JsonProperty(\"azure_endpoint\") Optional azureEndpoint) {\n return builder()\n .enabled(cityEnabled)\n .enforceGraylogSchema(enforceGraylogSchema)\n .databaseVendorType(databaseVendorType == null ? DatabaseVendorType.MAXMIND : databaseVendorType)\n .cityDbPath(cityDbPath)\n .asnDbPath(asnDbPath)\n .refreshIntervalUnit(refreshIntervalUnit == null ? DEFAULT_INTERVAL_UNIT : refreshIntervalUnit)\n .refreshInterval(refreshInterval == null ? DEFAULT_INTERVAL : refreshInterval)\n .useS3(useS3)\n .pullFromCloud(pullFromCloud)\n .gcsProjectId(gcsProjectId)\n .azureAccountName(azureAccountName)\n .azureAccountKey(azureAccountKey)\n .azureContainerName(azureContainerName)\n .azureEndpoint(azureEndpoint)\n .build();\n }\n\n public static GeoIpResolverConfig defaultConfig() {\n return builder()\n .enabled(false)\n .databaseVendorType(DatabaseVendorType.MAXMIND)\n .enforceGraylogSchema(false)\n .cityDbPath(\"/etc/graylog/server/GeoLite2-City.mmdb\")\n .asnDbPath(\"/etc/graylog/server/GeoLite2-ASN.mmdb\")\n .refreshIntervalUnit(DEFAULT_INTERVAL_UNIT)\n .refreshInterval(DEFAULT_INTERVAL)\n .useS3(false)\n .pullFromCloud(Optional.empty())\n .build();\n }\n\n @Override\n public Object prepareConfigUpdate(Object existingConfig) {\n if (this.azureAccountKey() == null) {\n return this;\n }\n\n final EncryptedValue accountKey = this.azureAccountKey();\n\n if (accountKey.isDeleteValue()) {\n return this.toBuilder()\n .azureAccountKey(EncryptedValue.createUnset())\n .build();\n }\n\n if (accountKey.isKeepValue()) {\n return this.toBuilder()\n .azureAccountKey(((GeoIpResolverConfig) existingConfig).azureAccountKey())\n .build();\n }\n\n return this;\n }\n\n public static Builder builder() {\n return new AutoValue_GeoIpResolverConfig.Builder();\n }\n\n public abstract Builder toBuilder();\n\n @AutoValue.Builder\n public abstract static class Builder {\n public abstract Builder enabled(boolean enabled);\n\n public abstract Builder enforceGraylogSchema(boolean enforce);\n\n public abstract Builder databaseVendorType(DatabaseVendorType type);\n\n public abstract Builder cityDbPath(String dbPath);\n\n public abstract Builder asnDbPath(String asnDBPath);\n\n public abstract Builder refreshIntervalUnit(TimeUnit unit);\n\n public abstract Builder refreshInterval(Long interval);\n\n /**\n * @deprecated Use {@link #pullFromCloud()} instead.\n */\n @Deprecated\n public abstract Builder useS3(boolean useS3);\n\n public abstract Builder pullFromCloud(Optional pullFromCloud);\n\n public abstract Builder gcsProjectId(String gcsProjectId);\n\n public abstract Builder azureAccountName(String accountName);\n\n public abstract Builder azureAccountKey(EncryptedValue accountKey);\n\n public abstract Builder azureEndpoint(Optional endpoint);\n\n public abstract Builder azureContainerName(String containerName);\n\n public abstract GeoIpResolverConfig build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/23c3e3050a20efc33af776010ff55208dd3ac974.json b/web/public/bundles/graylog/code/23c3e3050a20efc33af776010ff55208dd3ac974.json new file mode 100644 index 00000000..011797f3 --- /dev/null +++ b/web/public/bundles/graylog/code/23c3e3050a20efc33af776010ff55208dd3ac974.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "23c3e3050a20efc33af776010ff55208dd3ac974", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/mongodb/MongoDbPipelineService.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.pipelineprocessor.db.mongodb;\n\nimport com.mongodb.client.model.Filters;\nimport com.mongodb.client.model.IndexOptions;\nimport com.mongodb.client.model.Indexes;\nimport com.mongodb.client.model.ReplaceOptions;\nimport com.swrve.ratelimitedlogger.RateLimitedLog;\nimport jakarta.inject.Inject;\nimport jakarta.inject.Singleton;\nimport org.bson.conversions.Bson;\nimport org.graylog.plugins.pipelineprocessor.db.PipelineDao;\nimport org.graylog.plugins.pipelineprocessor.db.PipelineService;\nimport org.graylog.plugins.pipelineprocessor.db.PipelineStreamConnectionsService;\nimport org.graylog.plugins.pipelineprocessor.events.PipelinesChangedEvent;\nimport org.graylog2.database.MongoCollection;\nimport org.graylog2.database.MongoCollections;\nimport org.graylog2.database.NotFoundException;\nimport org.graylog2.database.entities.EntityScopeService;\nimport org.graylog2.database.utils.MongoUtils;\nimport org.graylog2.database.utils.ScopedEntityMongoUtils;\nimport org.graylog2.events.ClusterEventBus;\n\nimport java.util.ArrayList;\nimport java.util.Collection;\nimport java.util.LinkedHashSet;\nimport java.util.Set;\nimport java.util.regex.Pattern;\nimport java.util.stream.Collectors;\n\nimport static com.mongodb.client.model.Filters.eq;\nimport static org.graylog.plugins.pipelineprocessor.db.PipelineDao.FIELD_SOURCE;\nimport static org.graylog2.database.utils.MongoUtils.idEq;\nimport static org.graylog2.database.utils.MongoUtils.insertedIdAsString;\nimport static org.graylog2.database.utils.MongoUtils.stringIdsIn;\nimport static org.graylog2.plugin.utilities.ratelimitedlog.RateLimitedLogFactory.createDefaultRateLimitedLog;\n\n@Singleton\npublic class MongoDbPipelineService implements PipelineService {\n private static final RateLimitedLog log = createDefaultRateLimitedLog(MongoDbPipelineService.class);\n\n public static final String COLLECTION = \"pipeline_processor_pipelines\";\n\n private final MongoCollection collection;\n private final ClusterEventBus clusterBus;\n private final MongoUtils mongoUtils;\n private final ScopedEntityMongoUtils scopedEntityMongoUtils;\n private final MongoDbRuleService ruleService;\n private final PipelineStreamConnectionsService pipelineStreamConnectionsService;\n\n @Inject\n public MongoDbPipelineService(MongoCollections mongoCollections,\n EntityScopeService entityScopeService,\n ClusterEventBus clusterBus,\n MongoDbRuleService ruleService,\n PipelineStreamConnectionsService pipelineStreamConnectionsService) {\n this.collection = mongoCollections.collection(COLLECTION, PipelineDao.class);\n this.clusterBus = clusterBus;\n this.mongoUtils = mongoCollections.utils(collection);\n this.scopedEntityMongoUtils = mongoCollections.scopedEntityUtils(collection, entityScopeService);\n this.ruleService = ruleService;\n this.pipelineStreamConnectionsService = pipelineStreamConnectionsService;\n\n collection.createIndex(Indexes.ascending(\"title\"), new IndexOptions().unique(true));\n }\n\n @Override\n public PipelineDao save(PipelineDao pipeline, boolean checkMutability) {\n scopedEntityMongoUtils.ensureValidScope(pipeline);\n\n final var pipelineId = pipeline.id();\n final PipelineDao savedPipeline;\n if (pipelineId != null) {\n if (checkMutability) {\n scopedEntityMongoUtils.ensureMutability(pipeline);\n }\n collection.replaceOne(idEq(pipelineId), pipeline, new ReplaceOptions().upsert(true));\n savedPipeline = pipeline;\n } else {\n final var insertedId = insertedIdAsString(collection.insertOne(pipeline));\n savedPipeline = pipeline.toBuilder().id(insertedId).build();\n }\n\n clusterBus.post(PipelinesChangedEvent.updatedPipelineId(savedPipeline.id()));\n\n return savedPipeline;\n }\n\n @Override\n public PipelineDao load(String id) throws NotFoundException {\n return mongoUtils.getById(id).orElseThrow(() ->\n new NotFoundException(\"No pipeline with id \" + id)\n );\n }\n\n @Override\n public PipelineDao loadByName(String name) throws NotFoundException {\n final PipelineDao pipeline = collection.find(eq(\"title\", name)).first();\n if (pipeline == null) {\n throw new NotFoundException(\"No pipeline with name \" + name);\n }\n return pipeline;\n }\n\n @Override\n public Collection loadBySourcePattern(String sourcePattern) {\n return ruleService.loadBySourcePattern(sourcePattern).stream()\n .flatMap(rule ->\n collection.find(Filters.regex(FIELD_SOURCE, Pattern.quote(rule.title()))).into(new ArrayList<>()).stream())\n .filter(pipelineDao -> !pipelineStreamConnectionsService.loadByPipelineId(pipelineDao.id()).isEmpty())\n .collect(Collectors.toSet());\n }\n\n @Override\n public Collection loadAll() {\n return collection.find().into(new LinkedHashSet<>());\n }\n\n @Override\n public void delete(String id) {\n scopedEntityMongoUtils.deleteById(id);\n clusterBus.post(PipelinesChangedEvent.deletedPipelineId(id));\n }\n\n @Override\n public Set loadByIds(Set pipelineIds) {\n try (final var stream = MongoUtils.stream(collection.find(stringIdsIn(pipelineIds)))) {\n return stream.collect(Collectors.toSet());\n }\n }\n\n public long count(Bson filter) {\n return collection.countDocuments(filter);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/23f858be3411ad3f0f3311c53093224b095ce8ac.json b/web/public/bundles/graylog/code/23f858be3411ad3f0f3311c53093224b095ce8ac.json new file mode 100644 index 00000000..0d120969 --- /dev/null +++ b/web/public/bundles/graylog/code/23f858be3411ad3f0f3311c53093224b095ce8ac.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "23f858be3411ad3f0f3311c53093224b095ce8ac", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/indices/RetentionStrategyDescription.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.models.system.indices;\n\nimport com.fasterxml.jackson.annotation.JsonAutoDetect;\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.jackson.module.jsonSchema.jakarta.JsonSchema;\nimport com.google.auto.value.AutoValue;\nimport org.graylog2.plugin.indexer.retention.RetentionStrategyConfig;\n\n@JsonAutoDetect\n@AutoValue\npublic abstract class RetentionStrategyDescription {\n @JsonProperty(\"type\")\n public abstract String type();\n\n @JsonProperty(\"default_config\")\n public abstract RetentionStrategyConfig defaultConfig();\n\n @JsonProperty(\"json_schema\")\n public abstract JsonSchema jsonSchema();\n\n @JsonCreator\n public static RetentionStrategyDescription create(@JsonProperty(\"type\") String type,\n @JsonProperty(\"default_config\") RetentionStrategyConfig defaultConfig,\n @JsonProperty(\"json_schema\") JsonSchema jsonSchema) {\n return new AutoValue_RetentionStrategyDescription(type, defaultConfig, jsonSchema);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/249cba5755aefd371474f3fcdc8099ca537edc45.json b/web/public/bundles/graylog/code/249cba5755aefd371474f3fcdc8099ca537edc45.json new file mode 100644 index 00000000..9adbff81 --- /dev/null +++ b/web/public/bundles/graylog/code/249cba5755aefd371474f3fcdc8099ca537edc45.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "249cba5755aefd371474f3fcdc8099ca537edc45", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/messageprocessors/MessageProcessorDescriptor.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.messageprocessors;\n\nimport com.fasterxml.jackson.annotation.JsonAutoDetect;\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.google.auto.value.AutoValue;\nimport org.graylog2.plugin.messageprocessors.MessageProcessor;\n\n@JsonAutoDetect\n@AutoValue\npublic abstract class MessageProcessorDescriptor {\n @JsonProperty(\"name\")\n public abstract String name();\n\n @JsonProperty(\"class_name\")\n public abstract String className();\n\n @JsonCreator\n public static MessageProcessorDescriptor create(@JsonProperty(\"name\") String name,\n @JsonProperty(\"class_name\") String className) {\n return new AutoValue_MessageProcessorDescriptor(name, className);\n }\n\n public static MessageProcessorDescriptor fromDescriptor(MessageProcessor.Descriptor descriptor) {\n return create(descriptor.name(), descriptor.className());\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/24c35c3556454bb40567676731d15bca30377093.json b/web/public/bundles/graylog/code/24c35c3556454bb40567676731d15bca30377093.json new file mode 100644 index 00000000..7c134db4 --- /dev/null +++ b/web/public/bundles/graylog/code/24c35c3556454bb40567676731d15bca30377093.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "24c35c3556454bb40567676731d15bca30377093", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/AuthServiceBackendDTO.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.security.authservice;\n\nimport com.fasterxml.jackson.annotation.JsonAutoDetect;\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonIgnore;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.jackson.databind.annotation.JsonDeserialize;\nimport com.google.auto.value.AutoValue;\nimport jakarta.validation.constraints.NotNull;\nimport org.graylog2.database.BuildableMongoEntity;\nimport org.graylog2.plugin.rest.ValidationResult;\nimport org.mongojack.Id;\nimport org.mongojack.ObjectId;\n\nimport javax.annotation.Nullable;\nimport java.time.ZoneId;\nimport java.util.Collections;\nimport java.util.Optional;\nimport java.util.Set;\n\nimport static org.apache.commons.lang3.StringUtils.isBlank;\n\n@AutoValue\n@JsonAutoDetect\n@JsonDeserialize(builder = AuthServiceBackendDTO.Builder.class)\npublic abstract class AuthServiceBackendDTO implements BuildableMongoEntity {\n private static final String FIELD_ID = \"id\";\n public static final String FIELD_TITLE = \"title\";\n public static final String FIELD_DESCRIPTION = \"description\";\n private static final String FIELD_DEFAULT_ROLES = \"default_roles\";\n private static final String FIELD_DEFAULT_USER_TIMEZONE = \"default_user_timezone\";\n private static final String FIELD_CONFIG = \"config\";\n\n @Id\n @ObjectId\n @Nullable\n @JsonProperty(FIELD_ID)\n public abstract String id();\n\n @JsonProperty(FIELD_TITLE)\n public abstract String title();\n\n @JsonProperty(FIELD_DESCRIPTION)\n public abstract String description();\n\n @JsonProperty(FIELD_DEFAULT_ROLES)\n public abstract Set defaultRoles();\n\n @JsonProperty(FIELD_DEFAULT_USER_TIMEZONE)\n public abstract Optional defaultUserTimezone();\n\n @NotNull\n @JsonProperty(FIELD_CONFIG)\n public abstract AuthServiceBackendConfig config();\n\n @JsonIgnore\n public ValidationResult validate() {\n final ValidationResult result = new ValidationResult();\n\n if (isBlank(title())) {\n result.addError(FIELD_TITLE, \"Title cannot be empty.\");\n }\n\n try {\n config().validate(result);\n } catch (UnsupportedOperationException e) {\n result.addError(FIELD_CONFIG, \"Config type cannot be empty.\");\n }\n\n return result;\n }\n\n public AuthServiceBackendDTO withId(String id) {\n return toBuilder().id(id).build();\n }\n\n public static Builder builder() {\n return Builder.create();\n }\n\n public abstract Builder toBuilder();\n\n @AutoValue.Builder\n public abstract static class Builder implements BuildableMongoEntity.Builder {\n @JsonCreator\n public static Builder create() {\n return new AutoValue_AuthServiceBackendDTO.Builder()\n .description(\"\")\n .defaultRoles(Collections.emptySet())\n .defaultUserTimezone(null);\n }\n\n @Id\n @ObjectId\n @JsonProperty(FIELD_ID)\n public abstract Builder id(String id);\n\n @JsonProperty(FIELD_TITLE)\n public abstract Builder title(String title);\n\n @JsonProperty(FIELD_DESCRIPTION)\n public abstract Builder description(String description);\n\n @JsonProperty(FIELD_DEFAULT_ROLES)\n public abstract Builder defaultRoles(Set defaultRoles);\n\n @JsonProperty(FIELD_DEFAULT_USER_TIMEZONE)\n public abstract Builder defaultUserTimezone(@Nullable ZoneId defaultUserTimezone);\n\n @JsonProperty(FIELD_CONFIG)\n public abstract Builder config(AuthServiceBackendConfig config);\n\n public abstract AuthServiceBackendDTO build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/254c76e59697d870c36f2a1b7fe6f6795e084673.json b/web/public/bundles/graylog/code/254c76e59697d870c36f2a1b7fe6f6795e084673.json new file mode 100644 index 00000000..34e2673c --- /dev/null +++ b/web/public/bundles/graylog/code/254c76e59697d870c36f2a1b7fe6f6795e084673.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "254c76e59697d870c36f2a1b7fe6f6795e084673", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/filter/PipelineRuleOutputFilterState.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.outputs.filter;\n\nimport com.codahale.metrics.MetricRegistry;\nimport com.google.common.collect.ImmutableMap;\nimport com.google.common.collect.ImmutableSet;\nimport com.google.common.collect.ImmutableSetMultimap;\nimport com.google.inject.assistedinject.Assisted;\nimport jakarta.inject.Inject;\nimport jakarta.inject.Named;\nimport org.graylog.plugins.pipelineprocessor.ast.Pipeline;\nimport org.graylog.plugins.pipelineprocessor.db.RuleMetricsConfigDto;\nimport org.graylog.plugins.pipelineprocessor.processors.PipelineInterpreter;\nimport org.graylog2.plugin.Message;\n\nimport java.util.Objects;\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\nimport static com.codahale.metrics.MetricRegistry.name;\n\npublic class PipelineRuleOutputFilterState extends PipelineInterpreter.State {\n public interface Factory {\n PipelineRuleOutputFilterState newState(@Assisted(\"pipelines\") ImmutableMap pipelines,\n @Assisted(\"destinations\") ImmutableSet destinations,\n @Assisted(\"activeStreams\") ImmutableSet activeStreams);\n }\n\n private final ImmutableSet destinations;\n private final ImmutableSet activeStreams;\n\n @Inject\n public PipelineRuleOutputFilterState(@Assisted(\"pipelines\") ImmutableMap pipelines,\n @Assisted(\"destinations\") ImmutableSet destinations,\n @Assisted(\"activeStreams\") ImmutableSet activeStreams,\n MetricRegistry metricRegistry,\n @Named(\"processbuffer_processors\") int processorCount,\n @Named(\"cached_stageiterators\") boolean cachedIterators) {\n super(\n pipelines,\n ImmutableSetMultimap.of(),\n RuleMetricsConfigDto.createDefault(),\n metricRegistry,\n processorCount,\n cachedIterators\n );\n this.destinations = destinations;\n this.activeStreams = activeStreams;\n }\n\n public boolean isEmpty() {\n return getCurrentPipelines().isEmpty();\n }\n\n public ImmutableSet getDestinations() {\n return destinations;\n }\n\n public ImmutableSet getActiveStreams() {\n return activeStreams;\n }\n\n public Set getPipelinesForMessage(Message msg) {\n // The current pipelines are keyed by stream\n return msg.getStreamIds().stream()\n .map(id -> getCurrentPipelines().get(id))\n .filter(Objects::nonNull)\n .collect(Collectors.toSet());\n }\n\n @Override\n protected String getStageCacheMetricName() {\n return name(PipelineRuleOutputFilter.class, STAGE_CACHE_METRIC_SUFFIX);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/25ad470b11fc2664f74bdfadf872bfd52b2c4fd1.json b/web/public/bundles/graylog/code/25ad470b11fc2664f74bdfadf872bfd52b2c4fd1.json new file mode 100644 index 00000000..95376f27 --- /dev/null +++ b/web/public/bundles/graylog/code/25ad470b11fc2664f74bdfadf872bfd52b2c4fd1.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "25ad470b11fc2664f74bdfadf872bfd52b2c4fd1", + "language": "typescript", + "path": "graylog2-web-interface/src/threatintel/components/adapters/otx/OTXAdapterDocumentation.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\n/* eslint-disable react/no-unescaped-entities */\nimport React from 'react';\n\nimport { ExternalLink } from 'components/common';\n\nconst style: React.CSSProperties = { marginBottom: 10 };\n\nconst OTXAdapterDocumentation = (): React.ReactElement => (\n
\n

\n The AlienVault OTX data adapter uses the{' '}\n OTX API to lookup indicators for the given key.\n

\n\n

Configuration

\n\n
Indicator
\n\n

\n The OTX API offers several different indicators of compromise (IOCs). You have to select which indicator should be\n used for this data adapter.\n

\n

\n The IP Auto-Detect indicator is not an official one. We added that to make it possible to auto-detect\n the IP address type to allow using the same data adapter for IP v4 and v6 addresses.\n

\n\n
OTX API Key
\n\n

\n The OTX API key is used to authenticate API requests. Requests also work if you don't enter an API key, but you\n will most probably get a smaller request limit.{' '}\n \n If you use this data adapter for production traffic, please register for an OTX account and get an API key.\n \n

\n\n
OTX API URL
\n\n

\n HTTP URL of the OTX API server. The default setting of https://otx.alienvault.com should not be\n changed except if you want to run some tests with a custom server.\n

\n\n
HTTP User-Agent
\n\n

\n This will set the User-Agent HTTP header for OTX API requests. You can modify this to include your\n contact details so the OTX API operators can contact you if there are problems with your API requests.\n

\n\n
HTTP Connection Timeout
\n\n

\n The HTTP connection timeout in milliseconds for the OTX API request. If you set this to a high value and the OTX\n API connection is slow, processing performance can be affected.\n

\n\n
HTTP Write Timeout
\n\n

\n The HTTP write timeout in milliseconds for the OTX API request. If you set this to a high value and the OTX API\n connection is slow, processing performance can be affected.\n

\n\n
HTTP Read Timeout
\n\n

\n The HTTP read timeout in milliseconds for the OTX API request. If you set this to a high value and the OTX API\n connection is slow, processing performance can be affected.\n

\n
\n);\n\nexport default OTXAdapterDocumentation;\n" +} diff --git a/web/public/bundles/graylog/code/2635c7e636d2d6a77dc4a97b4091b0efd3b1b73d.json b/web/public/bundles/graylog/code/2635c7e636d2d6a77dc4a97b4091b0efd3b1b73d.json new file mode 100644 index 00000000..a2401c02 --- /dev/null +++ b/web/public/bundles/graylog/code/2635c7e636d2d6a77dc4a97b4091b0efd3b1b73d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "2635c7e636d2d6a77dc4a97b4091b0efd3b1b73d", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/security/ActorAwareAuthenticationToken.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.shared.security;\n\nimport org.apache.shiro.authc.AuthenticationToken;\nimport org.graylog2.audit.AuditActor;\n\npublic interface ActorAwareAuthenticationToken extends AuthenticationToken {\n AuditActor getActor();\n}\n" +} diff --git a/web/public/bundles/graylog/code/265433709302a038b55e64843f691ef04398122e.json b/web/public/bundles/graylog/code/265433709302a038b55e64843f691ef04398122e.json new file mode 100644 index 00000000..ee9fd499 --- /dev/null +++ b/web/public/bundles/graylog/code/265433709302a038b55e64843f691ef04398122e.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "265433709302a038b55e64843f691ef04398122e", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/collectors/input/transport/CollectorIngestHttpHandler.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.collectors.input.transport;\n\nimport com.google.inject.assistedinject.Assisted;\nimport com.google.inject.assistedinject.AssistedInject;\nimport io.netty.buffer.Unpooled;\nimport io.netty.channel.ChannelFutureListener;\nimport io.netty.channel.ChannelHandlerContext;\nimport io.netty.channel.SimpleChannelInboundHandler;\nimport io.netty.handler.codec.http.DefaultFullHttpResponse;\nimport io.netty.handler.codec.http.FullHttpRequest;\nimport io.netty.handler.codec.http.HttpHeaderNames;\nimport io.netty.handler.codec.http.HttpHeaderValues;\nimport io.netty.handler.codec.http.HttpMethod;\nimport io.netty.handler.codec.http.HttpResponseStatus;\nimport io.netty.handler.codec.http.HttpUtil;\nimport io.netty.handler.codec.http.HttpVersion;\nimport io.opentelemetry.proto.collector.logs.v1.ExportLogsServiceRequest;\nimport org.graylog.collectors.CertBindingResolver;\nimport org.graylog.collectors.input.CollectorJournalRecordFactory;\nimport org.graylog.inputs.otel.transport.OtlpHttpUtils;\nimport org.graylog2.plugin.inputs.MessageInput;\nimport org.graylog2.plugin.journal.RawMessage;\nimport org.graylog2.shared.utilities.RecordSizeDistributingProcessor;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.net.InetSocketAddress;\nimport java.util.function.Function;\n\n/**\n * HTTP handler for collector-managed agents. Validates agent identity from the\n * channel attribute set by {@link AgentCertChannelHandler} during TLS handshake.\n *

\n * This handler is independent of {@link org.graylog2.inputs.transports.netty.HttpHandler}\n * — it does not need auth, CORS, OPTIONS, or forwarded-for handling since the collector\n * input uses mTLS for authentication and is only accessed by collector agents.\n *

\n * OTLP protocol logic (parsing) is shared via {@link OtlpHttpUtils}.\n */\npublic class CollectorIngestHttpHandler extends SimpleChannelInboundHandler {\n private static final Logger LOG = LoggerFactory.getLogger(CollectorIngestHttpHandler.class);\n private static final String LOGS_PATH = OtlpHttpUtils.LOGS_PATH;\n\n private final MessageInput input;\n private final CertBindingResolver certBindingResolver;\n\n public interface Factory {\n CollectorIngestHttpHandler create(MessageInput input);\n }\n\n @AssistedInject\n public CollectorIngestHttpHandler(@Assisted MessageInput input, CertBindingResolver certBindingResolver) {\n this.input = input;\n this.certBindingResolver = certBindingResolver;\n }\n\n @Override\n protected void channelRead0(ChannelHandlerContext ctx, FullHttpRequest request) {\n final boolean keepAlive = HttpUtil.isKeepAlive(request);\n\n if (!HttpMethod.POST.equals(request.method())) {\n sendError(ctx, HttpResponseStatus.METHOD_NOT_ALLOWED, keepAlive);\n return;\n }\n\n if (!LOGS_PATH.equals(request.uri())) {\n sendError(ctx, HttpResponseStatus.NOT_FOUND, keepAlive);\n return;\n }\n\n final String certFingerprint = ctx.channel().attr(AgentCertChannelHandler.AGENT_CERT_FINGERPRINT).get();\n if (certFingerprint == null) {\n LOG.error(\"Missing client certificate fingerprint channel attribute.\");\n sendError(ctx, HttpResponseStatus.INTERNAL_SERVER_ERROR, false);\n return;\n }\n\n final var instanceUid = certBindingResolver.resolve(certFingerprint);\n if (instanceUid.isEmpty()) {\n LOG.warn(\"Rejecting request from {}: certificate fingerprint {} does not resolve to a collector instance.\",\n ctx.channel().remoteAddress(), certFingerprint);\n sendError(ctx, HttpResponseStatus.UNAUTHORIZED, false);\n return;\n }\n\n final ExportLogsServiceRequest exportRequest;\n final boolean isProtobuf = OtlpHttpUtils.isProtobuf(request);\n\n try {\n exportRequest = OtlpHttpUtils.parse(request);\n } catch (OtlpHttpUtils.UnsupportedContentTypeException e) {\n sendError(ctx, HttpResponseStatus.UNSUPPORTED_MEDIA_TYPE, keepAlive);\n return;\n } catch (Exception e) {\n LOG.debug(\"Failed to parse OTLP request\", e);\n sendError(ctx, HttpResponseStatus.BAD_REQUEST, keepAlive, isProtobuf);\n return;\n }\n\n try {\n final Function createRawMessage;\n if (ctx.channel().remoteAddress() instanceof InetSocketAddress address) {\n createRawMessage = bytes -> new RawMessage(bytes, address);\n } else {\n createRawMessage = RawMessage::new;\n }\n\n RecordSizeDistributingProcessor.processRecords(\n CollectorJournalRecordFactory.createFromRequest(exportRequest, instanceUid.get()),\n exportRequest.getSerializedSize(),\n r -> r.getOtelRecord().getLog().getLogRecord().getSerializedSize(),\n createRawMessage,\n input,\n LOG);\n } catch (Exception e) {\n LOG.error(\"Failed to process OTLP request\", e);\n sendError(ctx, HttpResponseStatus.INTERNAL_SERVER_ERROR, keepAlive, isProtobuf);\n return;\n }\n\n sendSuccess(ctx, isProtobuf, keepAlive);\n }\n\n private void sendSuccess(ChannelHandlerContext ctx, boolean protobuf, boolean keepAlive) {\n final byte[] body = protobuf ? OtlpHttpUtils.SUCCESS_RESPONSE_PROTOBUF : OtlpHttpUtils.SUCCESS_RESPONSE_JSON;\n final String contentType = protobuf ? OtlpHttpUtils.PROTOBUF_CONTENT_TYPE : OtlpHttpUtils.JSON_CONTENT_TYPE;\n\n final DefaultFullHttpResponse response = new DefaultFullHttpResponse(\n HttpVersion.HTTP_1_1, HttpResponseStatus.OK, Unpooled.wrappedBuffer(body));\n\n response.headers().set(HttpHeaderNames.CONTENT_TYPE, contentType);\n response.headers().set(HttpHeaderNames.CONTENT_LENGTH, body.length);\n response.headers().set(HttpHeaderNames.CONNECTION,\n keepAlive ? HttpHeaderValues.KEEP_ALIVE : HttpHeaderValues.CLOSE);\n\n ctx.writeAndFlush(response)\n .addListener(keepAlive ? ChannelFutureListener.CLOSE_ON_FAILURE : ChannelFutureListener.CLOSE);\n }\n\n private void sendError(ChannelHandlerContext ctx, HttpResponseStatus status, boolean keepAlive, boolean protobuf) {\n final byte[] body = OtlpHttpUtils.buildErrorStatus(status, null, protobuf);\n final String contentType = protobuf ? OtlpHttpUtils.PROTOBUF_CONTENT_TYPE : OtlpHttpUtils.JSON_CONTENT_TYPE;\n\n final DefaultFullHttpResponse response = new DefaultFullHttpResponse(\n HttpVersion.HTTP_1_1, status, Unpooled.wrappedBuffer(body));\n\n response.headers().set(HttpHeaderNames.CONTENT_TYPE, contentType);\n response.headers().set(HttpHeaderNames.CONTENT_LENGTH, body.length);\n response.headers().set(HttpHeaderNames.CONNECTION,\n keepAlive ? HttpHeaderValues.KEEP_ALIVE : HttpHeaderValues.CLOSE);\n\n ctx.writeAndFlush(response)\n .addListener(keepAlive ? ChannelFutureListener.CLOSE_ON_FAILURE : ChannelFutureListener.CLOSE);\n }\n\n /**\n * Sends an error response defaulting to JSON encoding. Used for errors where the request\n * encoding is not known (e.g., 401/404/405/415).\n */\n private void sendError(ChannelHandlerContext ctx, HttpResponseStatus status, boolean keepAlive) {\n sendError(ctx, status, keepAlive, false);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/266f87fb2296d3f9e95aef2405a920fc2ceb3063.json b/web/public/bundles/graylog/code/266f87fb2296d3f9e95aef2405a920fc2ceb3063.json new file mode 100644 index 00000000..b096504e --- /dev/null +++ b/web/public/bundles/graylog/code/266f87fb2296d3f9e95aef2405a920fc2ceb3063.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "266f87fb2296d3f9e95aef2405a920fc2ceb3063", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20180214093600_AdjustDashboardPositionToNewResolution/MigrationDashboardService.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.migrations.V20180214093600_AdjustDashboardPositionToNewResolution;\n\nimport com.google.common.collect.Lists;\nimport com.google.common.collect.Maps;\nimport com.mongodb.BasicDBObject;\nimport com.mongodb.DBCollection;\nimport com.mongodb.DBCursor;\nimport com.mongodb.DBObject;\nimport org.bson.types.ObjectId;\nimport org.graylog2.database.MongoConnection;\nimport org.graylog2.plugin.database.ValidationException;\nimport org.graylog2.plugin.database.validators.ValidationResult;\nimport org.graylog2.plugin.database.validators.Validator;\nimport org.graylog2.plugin.system.NodeId;\nimport org.joda.time.DateTime;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport jakarta.inject.Inject;\n\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.HashMap;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.stream.Collectors;\nimport java.util.stream.Stream;\n\nclass MigrationDashboardService {\n private static final Logger LOG = LoggerFactory.getLogger(MigrationDashboardService.class);\n private static final String COLLECTION = \"dashboards\";\n private final MongoConnection mongoConnection;\n\n @Inject\n MigrationDashboardService(MongoConnection mongoConnection) {\n this.mongoConnection = mongoConnection;\n }\n\n String save(MigrationDashboard model) throws ValidationException {\n Map> errors = validate(model.getValidations(), model.getFields());\n if (!errors.isEmpty()) {\n throw new ValidationException(errors);\n }\n\n BasicDBObject doc = new BasicDBObject(model.getFields());\n doc.put(\"_id\", new ObjectId(model.getId())); // ID was created in constructor or taken from original doc already.\n\n // Do field transformations\n fieldTransformations(doc);\n\n /*\n * We are running an upsert. This means that the existing\n * document will be updated if the ID already exists and\n * a new document will be created if it doesn't.\n */\n BasicDBObject q = new BasicDBObject(\"_id\", new ObjectId(model.getId()));\n collection().update(q, doc, true, false);\n\n return model.getId();\n }\n\n private Map> validate(Map validators, Map fields) {\n if (validators == null || validators.isEmpty()) {\n return Collections.emptyMap();\n }\n\n final Map> validationErrors = new HashMap<>();\n for (Map.Entry validation : validators.entrySet()) {\n Validator v = validation.getValue();\n String field = validation.getKey();\n\n try {\n ValidationResult validationResult = v.validate(fields.get(field));\n if (validationResult instanceof ValidationResult.ValidationFailed) {\n LOG.debug(\"Validation failure: [{}] on field [{}]\", v.getClass().getCanonicalName(), field);\n validationErrors.computeIfAbsent(field, k -> new ArrayList<>());\n validationErrors.get(field).add(validationResult);\n }\n } catch (Exception e) {\n final String error = \"Error while trying to validate <\" + field + \">, got exception: \" + e;\n LOG.debug(error);\n validationErrors.computeIfAbsent(field, k -> new ArrayList<>());\n validationErrors.get(field).add(new ValidationResult.ValidationFailed(error));\n }\n }\n\n return validationErrors;\n }\n\n private void fieldTransformations(Map doc) {\n for (Map.Entry x : doc.entrySet()) {\n\n // Work on embedded Maps, too.\n if (x.getValue() instanceof Map) {\n x.setValue(Maps.newHashMap((Map) x.getValue()));\n fieldTransformations((Map) x.getValue());\n continue;\n }\n\n // JodaTime DateTime is not accepted by MongoDB. Convert to java.util.Date...\n if (x.getValue() instanceof DateTime) {\n doc.put(x.getKey(), ((DateTime) x.getValue()).toDate());\n }\n\n // Our own NodeID\n if (x.getValue() instanceof NodeId nodeId) {\n doc.put(x.getKey(), nodeId.getNodeId());\n }\n\n }\n }\n\n List all() {\n final List results = cursorToList(collection().find());\n\n final Stream dashboardStream = results.stream()\n .map(o -> new MigrationDashboard((ObjectId) o.get(MigrationDashboard.FIELD_ID), o.toMap()));\n return dashboardStream\n .collect(Collectors.toList());\n }\n\n protected List cursorToList(DBCursor cursor) {\n if (cursor == null) {\n return Collections.emptyList();\n }\n\n try {\n return Lists.newArrayList((Iterable) cursor);\n } finally {\n cursor.close();\n }\n }\n\n long count() {\n return collection().count();\n }\n\n private DBCollection collection() {\n return mongoConnection.getDatabase().getCollection(COLLECTION);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/2754eefd4ccb82ea9f023304864669f53b5490a9.json b/web/public/bundles/graylog/code/2754eefd4ccb82ea9f023304864669f53b5490a9.json new file mode 100644 index 00000000..43e0121c --- /dev/null +++ b/web/public/bundles/graylog/code/2754eefd4ccb82ea9f023304864669f53b5490a9.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "2754eefd4ccb82ea9f023304864669f53b5490a9", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/alerts/types/MessageCountAlertCondition.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.alerts.types;\n\nimport com.google.common.collect.Lists;\nimport com.google.inject.assistedinject.Assisted;\nimport com.google.inject.assistedinject.AssistedInject;\nimport org.graylog2.alerts.AbstractAlertCondition;\nimport org.graylog2.indexer.results.CountResult;\nimport org.graylog2.indexer.results.ResultMessage;\nimport org.graylog2.indexer.results.SearchResult;\nimport org.graylog2.indexer.searches.Searches;\nimport org.graylog2.indexer.searches.Sorting;\nimport org.graylog2.plugin.Message;\nimport org.graylog2.plugin.MessageSummary;\nimport org.graylog2.plugin.Tools;\nimport org.graylog2.plugin.alarms.AlertCondition;\nimport org.graylog2.plugin.configuration.ConfigurationRequest;\nimport org.graylog2.plugin.configuration.fields.ConfigurationField;\nimport org.graylog2.plugin.configuration.fields.DropdownField;\nimport org.graylog2.plugin.configuration.fields.NumberField;\nimport org.graylog2.plugin.indexer.searches.timeranges.AbsoluteRange;\nimport org.graylog2.plugin.indexer.searches.timeranges.InvalidRangeParametersException;\nimport org.graylog2.plugin.indexer.searches.timeranges.RelativeRange;\nimport org.graylog2.plugin.streams.Stream;\nimport org.joda.time.DateTime;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport javax.annotation.Nullable;\nimport java.util.Arrays;\nimport java.util.HashMap;\nimport java.util.List;\nimport java.util.Locale;\nimport java.util.Map;\nimport java.util.stream.Collectors;\n\npublic class MessageCountAlertCondition extends AbstractAlertCondition {\n private static final Logger LOG = LoggerFactory.getLogger(MessageCountAlertCondition.class);\n\n enum ThresholdType {\n\n MORE(\"more than\"),\n LESS(\"less than\");\n\n private final String description;\n\n ThresholdType(String description) {\n this.description = description;\n }\n\n public String getDescription() {\n return description;\n }\n }\n\n public interface Factory extends AlertCondition.Factory {\n @Override\n MessageCountAlertCondition create(Stream stream,\n @Assisted(\"id\") String id,\n DateTime createdAt,\n @Assisted(\"userid\") String creatorUserId,\n Map parameters,\n @Assisted(\"title\") @Nullable String title);\n\n @Override\n MessageCountAlertCondition.Config config();\n\n @Override\n MessageCountAlertCondition.Descriptor descriptor();\n }\n\n public static class Config implements AlertCondition.Config {\n public Config() {\n }\n\n @Override\n public ConfigurationRequest getRequestedConfiguration() {\n final ConfigurationRequest configurationRequest = ConfigurationRequest.createWithFields(\n new NumberField(\"time\", \"Time Range\", 5, \"Evaluate the condition for all messages received in the given number of minutes\", ConfigurationField.Optional.NOT_OPTIONAL),\n new DropdownField(\n \"threshold_type\",\n \"Threshold Type\",\n ThresholdType.MORE.toString(),\n Arrays.stream(ThresholdType.values()).collect(Collectors.toMap(Enum::toString, ThresholdType::getDescription)),\n \"Select condition to trigger alert: when there are more or less messages than the threshold\",\n ConfigurationField.Optional.NOT_OPTIONAL),\n new NumberField(\"threshold\", \"Threshold\", 0.0, \"Value which triggers an alert if crossed\", ConfigurationField.Optional.NOT_OPTIONAL)\n );\n configurationRequest.addFields(AbstractAlertCondition.getDefaultConfigurationFields());\n\n return configurationRequest;\n }\n }\n\n public static class Descriptor extends AlertCondition.Descriptor {\n public Descriptor() {\n super(\n \"Message Count Alert Condition\",\n \"https://www.graylog.org/\",\n \"This condition is triggered when the number of messages is higher/lower than a defined threshold in a given time range.\"\n );\n }\n }\n\n private final int time;\n private final ThresholdType thresholdType;\n private final int threshold;\n private final String query;\n private final Searches searches;\n\n @AssistedInject\n public MessageCountAlertCondition(Searches searches,\n @Assisted Stream stream,\n @Nullable @Assisted(\"id\") String id,\n @Assisted DateTime createdAt,\n @Assisted(\"userid\") String creatorUserId,\n @Assisted Map parameters,\n @Nullable @Assisted(\"title\") String title) {\n super(stream, id, Type.MESSAGE_COUNT.toString(), createdAt, creatorUserId, parameters, title);\n\n this.searches = searches;\n this.time = Tools.getNumber(parameters.get(\"time\"), 5).intValue();\n\n final String thresholdType = (String) parameters.get(\"threshold_type\");\n final String upperCaseThresholdType = thresholdType.toUpperCase(Locale.ENGLISH);\n\n /*\n * Alert conditions created before 2.2.0 had a threshold_type parameter in lowercase, but this was\n * inconsistent with the parameters in FieldValueAlertCondition, which were always stored in uppercase.\n * To ensure we return the expected case in the API and also store the right case in the database, we\n * are converting the parameter to uppercase here, if it wasn't uppercase already.\n */\n if (!thresholdType.equals(upperCaseThresholdType)) {\n final HashMap updatedParameters = new HashMap<>();\n updatedParameters.putAll(parameters);\n updatedParameters.put(\"threshold_type\", upperCaseThresholdType);\n super.setParameters(updatedParameters);\n }\n this.thresholdType = ThresholdType.valueOf(upperCaseThresholdType);\n this.threshold = Tools.getNumber(parameters.get(\"threshold\"), 0).intValue();\n this.query = (String) parameters.getOrDefault(CK_QUERY, CK_QUERY_DEFAULT_VALUE);\n }\n\n @Override\n public String getDescription() {\n return \"time: \" + time\n + \", threshold_type: \" + thresholdType.toString().toLowerCase(Locale.ENGLISH)\n + \", threshold: \" + threshold\n + \", grace: \" + grace\n + \", repeat notifications: \" + repeatNotifications;\n }\n\n @Override\n public CheckResult runCheck() {\n try {\n // Create an absolute range from the relative range to make sure it doesn't change during the two\n // search requests. (count and find messages)\n // This is needed because the RelativeRange computes the range from NOW on every invocation of getFrom() and\n // getTo().\n // See: https://github.com/Graylog2/graylog2-server/issues/2382\n final RelativeRange relativeRange = RelativeRange.create(time * 60);\n final AbsoluteRange range = AbsoluteRange.create(relativeRange.getFrom(), relativeRange.getTo());\n\n final String filter = buildQueryFilter(stream.getId(), query);\n final CountResult result = searches.count(\"*\", range, filter);\n final long count = result.count();\n\n LOG.debug(\"Alert check <{}> result: [{}]\", id, count);\n\n final boolean triggered;\n switch (thresholdType) {\n case MORE:\n triggered = count > threshold;\n break;\n case LESS:\n triggered = count < threshold;\n break;\n default:\n triggered = false;\n }\n\n if (triggered) {\n final List summaries = Lists.newArrayList();\n if (getBacklog() > 0) {\n final SearchResult backlogResult = searches.search(\"*\", filter,\n range, getBacklog(), 0, new Sorting(Message.FIELD_TIMESTAMP, Sorting.Direction.DESC));\n for (ResultMessage resultMessage : backlogResult.getResults()) {\n final Message msg = resultMessage.getMessage();\n summaries.add(new MessageSummary(resultMessage.getIndex(), msg));\n }\n }\n\n final String resultDescription = \"Stream had \" + count + \" messages in the last \" + time\n + \" minutes with trigger condition \" + thresholdType.toString().toLowerCase(Locale.ENGLISH)\n + \" than \" + threshold + \" messages. \" + \"(Current grace time: \" + grace + \" minutes)\";\n return new CheckResult(true, this, resultDescription, Tools.nowUTC(), summaries);\n } else {\n return new NegativeCheckResult();\n }\n } catch (InvalidRangeParametersException e) {\n // cannot happen lol\n LOG.error(\"Invalid timerange.\", e);\n return null;\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/27a68cac42f6e391f056c7c12282a8775af96fc9.json b/web/public/bundles/graylog/code/27a68cac42f6e391f056c7c12282a8775af96fc9.json new file mode 100644 index 00000000..b99bcb30 --- /dev/null +++ b/web/public/bundles/graylog/code/27a68cac42f6e391f056c7c12282a8775af96fc9.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "27a68cac42f6e391f056c7c12282a8775af96fc9", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/LookupTableFacade.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.contentpacks.facades;\n\nimport com.fasterxml.jackson.databind.JsonNode;\nimport com.fasterxml.jackson.databind.ObjectMapper;\nimport com.google.common.annotations.VisibleForTesting;\nimport com.google.common.graph.Graph;\nimport com.google.common.graph.GraphBuilder;\nimport com.google.common.graph.ImmutableGraph;\nimport com.google.common.graph.MutableGraph;\nimport jakarta.inject.Inject;\nimport org.graylog2.contentpacks.EntityDescriptorIds;\nimport org.graylog2.contentpacks.exceptions.ContentPackException;\nimport org.graylog2.contentpacks.exceptions.DivergingEntityConfigurationException;\nimport org.graylog2.contentpacks.exceptions.MissingNativeEntityException;\nimport org.graylog2.contentpacks.model.EntityPermissions;\nimport org.graylog2.contentpacks.model.ModelId;\nimport org.graylog2.contentpacks.model.ModelType;\nimport org.graylog2.contentpacks.model.ModelTypes;\nimport org.graylog2.contentpacks.model.entities.Entity;\nimport org.graylog2.contentpacks.model.entities.EntityDescriptor;\nimport org.graylog2.contentpacks.model.entities.EntityExcerpt;\nimport org.graylog2.contentpacks.model.entities.EntityV1;\nimport org.graylog2.contentpacks.model.entities.LookupTableEntity;\nimport org.graylog2.contentpacks.model.entities.NativeEntity;\nimport org.graylog2.contentpacks.model.entities.NativeEntityDescriptor;\nimport org.graylog2.contentpacks.model.entities.references.ValueReference;\nimport org.graylog2.lookup.LookupDefaultMultiValue;\nimport org.graylog2.lookup.LookupDefaultSingleValue;\nimport org.graylog2.lookup.db.DBLookupTableService;\nimport org.graylog2.lookup.dto.CacheDto;\nimport org.graylog2.lookup.dto.DataAdapterDto;\nimport org.graylog2.lookup.dto.LookupTableDto;\nimport org.graylog2.shared.security.RestPermissions;\n\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Optional;\nimport java.util.Set;\nimport java.util.stream.Collectors;\nimport java.util.stream.Stream;\n\npublic class LookupTableFacade implements EntityFacade {\n public static final ModelType TYPE_V1 = ModelTypes.LOOKUP_TABLE_V1;\n\n private final ObjectMapper objectMapper;\n private final DBLookupTableService lookupTableService;\n\n @Inject\n public LookupTableFacade(ObjectMapper objectMapper,\n DBLookupTableService lookupTableService) {\n this.objectMapper = objectMapper;\n this.lookupTableService = lookupTableService;\n }\n\n private EntityDescriptor adapterDescriptor(String adapterId) {\n return EntityDescriptor.create(adapterId, ModelTypes.LOOKUP_ADAPTER_V1);\n }\n\n private EntityDescriptor cacheDescriptor(String cacheId) {\n return EntityDescriptor.create(cacheId, ModelTypes.LOOKUP_CACHE_V1);\n }\n\n @VisibleForTesting\n Entity exportNativeEntity(LookupTableDto lookupTableDto, EntityDescriptorIds entityDescriptorIds) {\n final String tableId = entityDescriptorIds.get(EntityDescriptor.create(lookupTableDto.id(), ModelTypes.LOOKUP_TABLE_V1))\n .or(() -> entityDescriptorIds.get(EntityDescriptor.create(lookupTableDto.name(), ModelTypes.LOOKUP_TABLE_V1)))\n .orElseThrow(() -> new ContentPackException(\"Couldn't find lookup table entity \" + lookupTableDto.id()));\n final String cacheId = entityDescriptorIds.get(cacheDescriptor(lookupTableDto.cacheId()))\n .orElseThrow(() -> new ContentPackException(\"Couldn't find lookup cache entity \" + lookupTableDto.cacheId()));\n final String adapterId = entityDescriptorIds.get(adapterDescriptor(lookupTableDto.dataAdapterId()))\n .orElseThrow(() -> new ContentPackException(\"Couldn't find lookup data adapter entity \" + lookupTableDto.dataAdapterId()));\n\n final LookupTableEntity lookupTableEntity = LookupTableEntity.create(\n ValueReference.of(lookupTableDto.scope()),\n ValueReference.of(lookupTableDto.name()),\n ValueReference.of(lookupTableDto.title()),\n ValueReference.of(lookupTableDto.description()),\n ValueReference.of(cacheId),\n ValueReference.of(adapterId),\n ValueReference.of(lookupTableDto.defaultSingleValue()),\n ValueReference.of(lookupTableDto.defaultSingleValueType()),\n ValueReference.of(lookupTableDto.defaultMultiValue()),\n ValueReference.of(lookupTableDto.defaultMultiValueType()));\n final JsonNode data = objectMapper.convertValue(lookupTableEntity, JsonNode.class);\n return EntityV1.builder()\n .id(ModelId.of(tableId))\n .type(ModelTypes.LOOKUP_TABLE_V1)\n .data(data)\n .build();\n }\n\n @Override\n public NativeEntity createNativeEntity(Entity entity,\n Map parameters,\n Map nativeEntities,\n String username) {\n if (entity instanceof EntityV1) {\n return decode((EntityV1) entity, parameters, nativeEntities);\n } else {\n throw new IllegalArgumentException(\"Unsupported entity version: \" + entity.getClass());\n }\n }\n\n private NativeEntity decode(EntityV1 entity,\n Map parameters,\n Map nativeEntities) {\n final LookupTableEntity lookupTableEntity = objectMapper.convertValue(entity.data(), LookupTableEntity.class);\n\n\n final String referencedDataAdapterName = lookupTableEntity.dataAdapterName().asString(parameters);\n final EntityDescriptor dataAdapterDescriptor = adapterDescriptor(referencedDataAdapterName);\n final Object dataAdapter = nativeEntities.get(dataAdapterDescriptor);\n final String dataAdapterId;\n if (dataAdapter instanceof DataAdapterDto) {\n dataAdapterId = ((DataAdapterDto) dataAdapter).id();\n } else {\n throw new MissingNativeEntityException(dataAdapterDescriptor);\n }\n\n final String referencedCacheName = lookupTableEntity.cacheName().asString(parameters);\n final EntityDescriptor cacheDescriptor = cacheDescriptor(referencedCacheName);\n final Object cache = nativeEntities.get(cacheDescriptor);\n final String cacheId;\n if (cache instanceof CacheDto) {\n cacheId = ((CacheDto) cache).id();\n } else {\n throw new MissingNativeEntityException(cacheDescriptor);\n }\n final LookupTableDto lookupTableDto = LookupTableDto.builder()\n .scope(lookupTableEntity.scope().asString(parameters))\n .name(lookupTableEntity.name().asString(parameters))\n .title(lookupTableEntity.title().asString(parameters))\n .description(lookupTableEntity.description().asString(parameters))\n .dataAdapterId(dataAdapterId)\n .cacheId(cacheId)\n .defaultSingleValue(lookupTableEntity.defaultSingleValue().asString(parameters))\n .defaultSingleValueType(lookupTableEntity.defaultSingleValueType().asEnum(parameters, LookupDefaultSingleValue.Type.class))\n .defaultMultiValue(lookupTableEntity.defaultMultiValue().asString(parameters))\n .defaultMultiValueType(lookupTableEntity.defaultMultiValueType().asEnum(parameters, LookupDefaultMultiValue.Type.class))\n .build();\n final LookupTableDto savedLookupTableDto = lookupTableService.saveAndPostEvent(lookupTableDto);\n return NativeEntity.create(entity.id(), savedLookupTableDto.id(), TYPE_V1, lookupTableDto.title(), savedLookupTableDto);\n }\n\n @Override\n public Optional> findExisting(Entity entity, Map parameters) {\n if (entity instanceof EntityV1) {\n return findExisting((EntityV1) entity, parameters);\n } else {\n throw new IllegalArgumentException(\"Unsupported entity version: \" + entity.getClass());\n }\n }\n\n private Optional> findExisting(EntityV1 entity, Map parameters) {\n final LookupTableEntity lookupTableEntity = objectMapper.convertValue(entity.data(), LookupTableEntity.class);\n final String name = lookupTableEntity.name().asString(parameters);\n final String title = lookupTableEntity.title().asString(parameters);\n\n final Optional lookupTable = lookupTableService.get(name);\n lookupTable.ifPresent(existingLookupTable -> compareLookupTable(name, title, existingLookupTable));\n\n return lookupTable.map(lt -> NativeEntity.create(entity.id(), lt.id(), TYPE_V1, lt.title(), lt));\n }\n\n private void compareLookupTable(String name, String title, LookupTableDto existingLookupTable) {\n if (!name.equals(existingLookupTable.name()) || !title.equals(existingLookupTable.title())) {\n throw new DivergingEntityConfigurationException(\"Different lookup table configuration with name \\\"\" + name + \"\\\"\");\n }\n }\n\n @Override\n public Optional> loadNativeEntity(NativeEntityDescriptor nativeEntityDescriptor) {\n return lookupTableService.get(nativeEntityDescriptor.id().id())\n .map(entity -> NativeEntity.create(nativeEntityDescriptor, entity));\n }\n\n @Override\n public void delete(LookupTableDto nativeEntity) {\n lookupTableService.deleteAndPostEventImmutable(nativeEntity.id());\n }\n\n @Override\n public EntityExcerpt createExcerpt(LookupTableDto lookupTableDto) {\n return EntityExcerpt.builder()\n .id(ModelId.of(lookupTableDto.id()))\n .type(ModelTypes.LOOKUP_TABLE_V1)\n .title(lookupTableDto.title())\n .build();\n }\n\n @Override\n public Set listEntityExcerpts() {\n try (Stream lookupTableStream = lookupTableService.streamAll()) {\n return lookupTableStream\n .map(this::createExcerpt)\n .collect(Collectors.toSet());\n }\n }\n\n @Override\n public Optional exportEntity(EntityDescriptor entityDescriptor, EntityDescriptorIds entityDescriptorIds) {\n final ModelId modelId = entityDescriptor.id();\n return lookupTableService.get(modelId.id()).map(lookupTableDto -> exportNativeEntity(lookupTableDto, entityDescriptorIds));\n }\n\n @Override\n public Graph resolveNativeEntity(EntityDescriptor entityDescriptor) {\n final MutableGraph mutableGraph = GraphBuilder.directed().build();\n mutableGraph.addNode(entityDescriptor);\n\n final ModelId modelId = entityDescriptor.id();\n final Optional lookupTableDto = lookupTableService.get(modelId.id());\n\n lookupTableDto.map(LookupTableDto::dataAdapterId)\n .map(this::adapterDescriptor)\n .ifPresent(dataAdapter -> mutableGraph.putEdge(entityDescriptor, dataAdapter));\n lookupTableDto.map(LookupTableDto::cacheId)\n .map(this::cacheDescriptor)\n .ifPresent(cache -> mutableGraph.putEdge(entityDescriptor, cache));\n\n return ImmutableGraph.copyOf(mutableGraph);\n }\n\n @Override\n public Graph resolveForInstallation(Entity entity,\n Map parameters,\n Map entities) {\n if (entity instanceof EntityV1) {\n return resolveForInstallation((EntityV1) entity, parameters, entities);\n } else {\n throw new IllegalArgumentException(\"Unsupported entity version: \" + entity.getClass());\n }\n }\n\n private Graph resolveForInstallation(EntityV1 entity,\n Map parameters,\n Map entities) {\n final MutableGraph mutableGraph = GraphBuilder.directed().build();\n mutableGraph.addNode(entity);\n\n final LookupTableEntity lookupTableEntity = objectMapper.convertValue(entity.data(), LookupTableEntity.class);\n\n final String dataAdapterName = lookupTableEntity.dataAdapterName().asString(parameters);\n final EntityDescriptor dataAdapterDescriptor = adapterDescriptor(dataAdapterName);\n final Entity dataAdapterEntity = entities.get(dataAdapterDescriptor);\n if (dataAdapterEntity == null) {\n throw new ContentPackException(\"Missing data adapter \\\"\" + dataAdapterName + \"\\\" for lookup table \" + entity.toEntityDescriptor());\n } else {\n mutableGraph.putEdge(entity, dataAdapterEntity);\n }\n\n final String cacheName = lookupTableEntity.cacheName().asString(parameters);\n final EntityDescriptor cacheDescriptor = cacheDescriptor(cacheName);\n final Entity cacheEntity = entities.get(cacheDescriptor);\n if (cacheEntity == null) {\n throw new ContentPackException(\"Missing cache \\\"\" + cacheName + \"\\\" for lookup table \" + entity.toEntityDescriptor());\n } else {\n mutableGraph.putEdge(entity, cacheEntity);\n }\n\n return ImmutableGraph.copyOf(mutableGraph);\n }\n\n @Override\n public boolean usesScopedEntities() {\n return true;\n }\n\n @Override\n public Optional getCreatePermissions(Entity entity) {\n return EntityPermissions.of(RestPermissions.LOOKUP_TABLES_CREATE);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/292802158eb4f8d8ddaf766685957f33b0a417b1.json b/web/public/bundles/graylog/code/292802158eb4f8d8ddaf766685957f33b0a417b1.json new file mode 100644 index 00000000..490986c4 --- /dev/null +++ b/web/public/bundles/graylog/code/292802158eb4f8d8ddaf766685957f33b0a417b1.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "292802158eb4f8d8ddaf766685957f33b0a417b1", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/events/procedures/EventProcedure.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.events.procedures;\n\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.jackson.databind.annotation.JsonDeserialize;\nimport com.fasterxml.jackson.databind.annotation.JsonSerialize;\nimport com.google.auto.value.AutoValue;\nimport jakarta.annotation.Nullable;\nimport org.graylog2.database.entities.DefaultEntityScope;\nimport org.graylog2.database.entities.ScopedEntity;\nimport org.graylog2.security.html.HTMLSanitizerConverter;\nimport org.mongojack.Id;\n\nimport java.util.List;\n\n@AutoValue\n@JsonDeserialize(builder = EventProcedure.Builder.class)\npublic abstract class EventProcedure implements ScopedEntity {\n public static final String FIELD_TITLE = \"title\";\n public static final String FIELD_DESCRIPTION = \"description\";\n public static final String FIELD_STEPS = \"steps\";\n\n @Nullable\n @JsonProperty(FIELD_TITLE)\n public abstract String title();\n\n @Nullable\n @JsonProperty(FIELD_DESCRIPTION)\n @JsonSerialize(converter = HTMLSanitizerConverter.class)\n public abstract String description();\n\n @JsonProperty(FIELD_STEPS)\n public abstract List steps();\n\n public static Builder builder() {\n return Builder.create();\n }\n\n public abstract Builder toBuilder();\n\n @AutoValue.Builder\n public static abstract class Builder implements ScopedEntity.Builder {\n\n @Override\n @Id\n @JsonProperty(FIELD_ID)\n public abstract Builder id(String id);\n\n @Override\n @JsonProperty(FIELD_SCOPE)\n public abstract Builder scope(String scope);\n\n @JsonProperty(FIELD_TITLE)\n public abstract Builder title(String title);\n\n @JsonProperty(FIELD_DESCRIPTION)\n public abstract Builder description(String description);\n\n @JsonProperty(FIELD_STEPS)\n public abstract Builder steps(List steps);\n\n @JsonCreator\n public static Builder create() {\n return new AutoValue_EventProcedure.Builder().scope(DefaultEntityScope.NAME);\n }\n\n public abstract EventProcedure build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/299196b4f6ac82a365cea78e3d9cf9ae89062f81.json b/web/public/bundles/graylog/code/299196b4f6ac82a365cea78e3d9cf9ae89062f81.json new file mode 100644 index 00000000..09640ddd --- /dev/null +++ b/web/public/bundles/graylog/code/299196b4f6ac82a365cea78e3d9cf9ae89062f81.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "299196b4f6ac82a365cea78e3d9cf9ae89062f81", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/template/IndexTemplateProvider.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.indexer.template;\n\nimport org.graylog2.storage.SearchVersion;\n\nimport javax.annotation.Nonnull;\n\npublic interface IndexTemplateProvider {\n\n String FAILURE_TEMPLATE_TYPE = \"failures\";\n String ILLUMINATE_INDEX_TEMPLATE_TYPE = \"illuminate_content\";\n\n @Nonnull\n T create(@Nonnull SearchVersion searchVersion, @Nonnull IndexTemplateConfig templateConfig)\n throws IgnoreIndexTemplate;\n}\n" +} diff --git a/web/public/bundles/graylog/code/299c3eeb771a155c508158ca06af18878f324fcf.json b/web/public/bundles/graylog/code/299c3eeb771a155c508158ca06af18878f324fcf.json new file mode 100644 index 00000000..649cd702 --- /dev/null +++ b/web/public/bundles/graylog/code/299c3eeb771a155c508158ca06af18878f324fcf.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "299c3eeb771a155c508158ca06af18878f324fcf", + "language": "typescript", + "path": "graylog2-web-interface/src/integrations/aws/cloudtrail/common/Routes.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport { qualifyUrls } from 'routing/Routes';\n\nconst AWSCloudTrailRoutes = {\n INTEGRATIONS: {\n AWSCloudTrail: {\n ACTIVITYAPI: {\n index: '/integrations/cloudtrail',\n },\n },\n },\n};\n\nconst ApiRoutes = {\n INTEGRATIONS: {\n AWSCloudTrail: {\n SAVE_INPUT: '/plugins/org.graylog.integrations/cloudtrail/inputs?setup_wizard=true',\n CHECK_CREDENTIALS: '/plugins/org.graylog.integrations/cloudtrail/check_credentials',\n GET_AWS_REGIONS: '/plugins/org.graylog.integrations/cloudtrail/getawsregions',\n },\n },\n};\n\nconst DocsRoutes = {\n INTEGRATIONS: {\n AWSCloudTrail: {\n GRAYLOG_AWSCloudTrail_ACTIVITY_LOG_INPUT:\n 'integrations/inputs/graylog_AWSCloudTrail_ActivityLog_Input.html#graylog-AWSCloudTrail-activitylog-input',\n },\n },\n};\n\nexport default {\n ...qualifyUrls(AWSCloudTrailRoutes),\n unqualified: AWSCloudTrailRoutes,\n};\n\nexport { DocsRoutes, ApiRoutes };\n" +} diff --git a/web/public/bundles/graylog/code/29af0b2f6ec3fd45d4c6f251839a07e74c8d42be.json b/web/public/bundles/graylog/code/29af0b2f6ec3fd45d4c6f251839a07e74c8d42be.json new file mode 100644 index 00000000..9d0ddc2a --- /dev/null +++ b/web/public/bundles/graylog/code/29af0b2f6ec3fd45d4c6f251839a07e74c8d42be.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "29af0b2f6ec3fd45d4c6f251839a07e74c8d42be", + "language": "typescript", + "path": "graylog2-web-interface/src/components/extractors/EditExtractor.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\n\nimport { Col, ControlLabel, FormControl, FormGroup, Row, Button, Input } from 'components/bootstrap';\nimport ExtractorUtils from 'util/ExtractorUtils';\nimport { getValueFromInput } from 'util/FormsUtils';\nimport { testContainsString, testRegex } from 'api/tools';\nimport { saveExtractor } from 'hooks/useExtractors';\n\nimport EditExtractorConverters from './EditExtractorConverters';\nimport EditExtractorConfiguration from './EditExtractorConfiguration';\nimport ExtractorExampleMessage from './ExtractorExampleMessage';\n\nconst StaticField = ({ label, text }: { label: string; text: string }) => (\n \n \n {label}\n \n \n {text}\n \n \n);\n\ntype EditExtractorProps = {\n action: 'create' | 'edit';\n extractor: any;\n inputId: string;\n exampleMessage?: string;\n onSave: (...args: any[]) => void;\n};\n\ntype EditExtractorState = {\n updatedExtractor?: EditExtractorProps['extractor'];\n conditionTestResult?: {};\n exampleMessage?: EditExtractorProps['exampleMessage'];\n};\n\nclass EditExtractor extends React.Component {\n static defaultProps = {\n exampleMessage: undefined,\n };\n\n constructor(props) {\n super(props);\n\n this.state = {\n updatedExtractor: props.extractor,\n conditionTestResult: undefined,\n exampleMessage: props.exampleMessage,\n };\n }\n\n UNSAFE_componentWillReceiveProps(nextProps) {\n const { exampleMessage } = this.props;\n\n if (exampleMessage !== nextProps.exampleMessage) {\n this._updateExampleMessage(nextProps.exampleMessage);\n }\n }\n\n private targetField: Input;\n\n _updateExampleMessage = (nextExample) => {\n this.setState({ exampleMessage: nextExample });\n };\n\n // Ensures the target field only contains alphanumeric characters and underscores\n _onTargetFieldChange = (event) => {\n const { value } = event.target;\n const newValue = value.replace(/[^\\w\\d_]/g, '');\n\n if (value !== newValue) {\n this.targetField.getInputDOMNode().value = newValue;\n }\n\n this._onFieldChange('target_field')(event);\n };\n\n _onFieldChange = (key) => (event) => {\n const nextState: EditExtractorState = {};\n const { updatedExtractor } = this.state;\n\n updatedExtractor[key] = getValueFromInput(event.target);\n nextState.updatedExtractor = updatedExtractor;\n\n // Reset result of testing condition after a change in the input\n if (key === 'condition_value') {\n nextState.conditionTestResult = undefined;\n }\n\n this.setState(nextState);\n };\n\n _onConfigurationChange = (newConfiguration) => {\n const { updatedExtractor } = this.state;\n\n updatedExtractor.extractor_config = newConfiguration;\n this.setState({ updatedExtractor: updatedExtractor });\n };\n\n _onConverterChange = (converterType, newConverter) => {\n const { updatedExtractor } = this.state;\n const previousConverter = updatedExtractor.converters.filter((converter) => converter.type === converterType)[0];\n\n if (previousConverter) {\n // Remove converter from the list\n const position = updatedExtractor.converters.indexOf(previousConverter);\n\n updatedExtractor.converters.splice(position, 1);\n }\n\n if (newConverter) {\n updatedExtractor.converters.push(newConverter);\n }\n\n this.setState({ updatedExtractor: updatedExtractor });\n };\n\n _testCondition = () => {\n const { exampleMessage, updatedExtractor } = this.state;\n const tester = updatedExtractor.condition_type === 'string' ? testContainsString : testRegex;\n const promise = tester(updatedExtractor.condition_value, exampleMessage);\n\n promise.then((result) => this.setState({ conditionTestResult: result.matched }));\n };\n\n _tryButtonDisabled = () => {\n const { updatedExtractor, exampleMessage } = this.state;\n\n return updatedExtractor.condition_value === '' || updatedExtractor.condition_value === undefined || !exampleMessage;\n };\n\n _getExtractorConditionControls = () => {\n const { conditionTestResult, updatedExtractor } = this.state;\n\n if (!updatedExtractor.condition_type || updatedExtractor.condition_type === 'none') {\n return

;\n }\n\n let conditionInputLabel;\n let conditionInputHelp;\n\n if (updatedExtractor.condition_type === 'string') {\n conditionInputLabel = 'Field contains string';\n conditionInputHelp = 'Type a string that the field should contain in order to attempt the extraction.';\n } else {\n conditionInputLabel = 'Field matches regular expression';\n conditionInputHelp =\n 'Type a regular expression that the field should contain in order to attempt the extraction.';\n }\n\n let inputStyle;\n\n if (conditionTestResult === true) {\n inputStyle = 'success';\n conditionInputHelp = 'Matches! Extractor would run against this example.';\n } else if (conditionTestResult === false) {\n inputStyle = 'error';\n conditionInputHelp = 'Does not match! Extractor would not run.';\n }\n\n return (\n
\n \n \n \n \n \n \n \n \n \n \n
\n );\n };\n\n _saveExtractor = (event) => {\n const { inputId, onSave } = this.props;\n const { updatedExtractor } = this.state;\n\n event.preventDefault();\n\n saveExtractor(inputId, updatedExtractor).then(() => onSave());\n };\n\n render() {\n const { updatedExtractor, exampleMessage } = this.state;\n const { action } = this.props;\n const conditionTypeHelpMessage =\n 'Extracting only from messages that match a certain condition helps you ' +\n 'avoiding wrong or unnecessary extractions and can also save CPU resources.';\n\n const cursorStrategyHelpMessage = (\n \n Do you want to copy or cut from source? You cannot use the cutting feature on standard fields like{' '}\n message and source.\n \n );\n\n const targetFieldHelpMessage = (\n \n Choose a field name to store the extracted value. It can only contain{' '}\n alphanumeric characters and underscores. Example: http_response_code.\n \n );\n\n let storeAsFieldInput;\n\n // Grok and JSON extractors create their required fields, so no need to add an input for them\n if (\n updatedExtractor.type !== ExtractorUtils.ExtractorTypes.GROK &&\n updatedExtractor.type !== ExtractorUtils.ExtractorTypes.JSON\n ) {\n storeAsFieldInput = (\n {\n this.targetField = targetField;\n }}\n id=\"target_field\"\n label=\"Store as field\"\n defaultValue={updatedExtractor.target_field}\n labelClassName=\"col-md-2\"\n wrapperClassName=\"col-md-10\"\n onChange={this._onTargetFieldChange}\n required\n help={targetFieldHelpMessage}\n />\n );\n }\n\n return (\n
\n \n \n

Example message

\n \n \n \n \n \n

Extractor configuration

\n \n \n
\n \n \n\n \n\n \n \n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n {this._getExtractorConditionControls()}\n\n {storeAsFieldInput}\n\n \n \n \n \n \n \n\n \n\n
\n \n
\n\n \n \n \n \n \n \n \n
\n \n
\n
\n );\n }\n}\n\nexport default EditExtractor;\n" +} diff --git a/web/public/bundles/graylog/code/2af8dbddfc28e632b5e0f8f8111bd53632995a42.json b/web/public/bundles/graylog/code/2af8dbddfc28e632b5e0f8f8111bd53632995a42.json new file mode 100644 index 00000000..8e515142 --- /dev/null +++ b/web/public/bundles/graylog/code/2af8dbddfc28e632b5e0f8f8111bd53632995a42.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "2af8dbddfc28e632b5e0f8f8111bd53632995a42", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/RolesToGrantsMigration.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.migrations.V20200803120800_GrantsMigrations;\n\nimport com.google.common.collect.Sets;\nimport org.graylog.grn.GRNRegistry;\nimport org.graylog.grn.GRNType;\nimport org.graylog.security.Capability;\nimport org.graylog.security.DBGrantService;\nimport org.graylog2.plugin.database.ValidationException;\nimport org.graylog2.plugin.database.users.User;\nimport org.graylog2.shared.users.Role;\nimport org.graylog2.shared.users.UserService;\nimport org.graylog2.users.RoleService;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport jakarta.inject.Named;\n\nimport java.util.Collection;\nimport java.util.HashMap;\nimport java.util.HashSet;\nimport java.util.Map;\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\nimport static org.graylog2.migrations.V20200803120800_GrantsMigrations.GrantsMetaMigration.MIGRATION_MAP;\n\npublic class RolesToGrantsMigration {\n private static final Logger LOG = LoggerFactory.getLogger(RolesToGrantsMigration.class);\n private final RoleService roleService;\n private final UserService userService;\n private final DBGrantService dbGrantService;\n private final GRNRegistry grnRegistry;\n private final String rootUsername;\n\n public RolesToGrantsMigration(RoleService roleService,\n UserService userService,\n DBGrantService dbGrantService,\n GRNRegistry grnRegistry,\n @Named(\"root_username\") String rootUsername) {\n this.roleService = roleService;\n this.userService = userService;\n this.dbGrantService = dbGrantService;\n this.grnRegistry = grnRegistry;\n this.rootUsername = rootUsername;\n }\n\n public void upgrade() {\n final Set migratableRoles = findMigratableRoles();\n\n migratableRoles.forEach(migratableRole -> {\n final Role role = migratableRole.role;\n\n final Set migratedPermissions = migrateRoleToGrant(migratableRole);\n\n if (role.getPermissions().removeAll(migratedPermissions)) {\n LOG.debug(\"Updating role <{}> new permissions: <{}>\", role.getName(), role.getPermissions());\n\n if (role.getPermissions().isEmpty()) {\n LOG.info(\"Removing the now empty role <{}>\", role.getName());\n userService.dissociateAllUsersFromRole(role);\n roleService.delete(role.getName());\n } else {\n try {\n roleService.save(role);\n } catch (ValidationException e) {\n LOG.error(\"Failed to update modified role <{}>\", role.getName(), e);\n }\n }\n }\n });\n }\n\n private Set migrateRoleToGrant(MigratableRole migratableRole) {\n final Set migratedRolePermissions = new HashSet<>();\n final Collection allRoleUsers = userService.loadAllForRole(migratableRole.role);\n\n migratableRole.migratableEntities.forEach((entityID, permissions) -> {\n final GrantsMetaMigration.GRNTypeCapability grnTypeCapability = MIGRATION_MAP.get(permissions);\n\n // Permissions are mappable to a grant\n if (grnTypeCapability != null) {\n final Capability capability = grnTypeCapability.capability;\n final GRNType grnType = grnTypeCapability.grnType;\n allRoleUsers.forEach(user -> {\n dbGrantService.ensure(grnRegistry.ofUser(user), capability, grnType.toGRN(entityID), rootUsername);\n LOG.info(\"Migrating entity <{}> permissions <{}> to <{}> grant for user <{}>\", grnType.toGRN(entityID), permissions, capability, user.getName());\n });\n migratedRolePermissions.addAll(permissions.stream().map(p -> p + \":\" + entityID).collect(Collectors.toSet()));\n } else {\n LOG.info(\"Skipping non-migratable entity <{}>. Permissions <{}> cannot be converted to a grant capability\", entityID, permissions);\n }\n });\n return migratedRolePermissions;\n }\n\n private Set findMigratableRoles() {\n final Set migratableRoles = new HashSet<>();\n\n final Set roles = roleService.loadAll();\n roles.forEach(role -> {\n final Map> migratableIds = new HashMap<>();\n\n // Inspect all permissions that are made of 3 parts and don't contain multiple subparts\n role.getPermissions().stream().map(GrantsMetaMigration.MigrationWildcardPermission::new)\n .filter(p -> p.getParts().size() == 3 && p.getParts().stream().allMatch(part -> part.size() == 1))\n .forEach(p -> {\n String permissionType = p.subPart(0);\n String restPermission = p.subPart(0) + \":\" + p.subPart(1);\n String id = p.subPart(2);\n\n if (MIGRATION_MAP.keySet().stream().flatMap(Collection::stream).anyMatch(perm -> perm.startsWith(permissionType + \":\"))) {\n LOG.debug(\"Potentially migratable role <{}> permission <{}> id <{}>\", role.getName(), restPermission, id);\n if (migratableIds.containsKey(id)) {\n migratableIds.get(id).add(restPermission);\n } else {\n migratableIds.put(id, Sets.newHashSet(restPermission));\n }\n }\n });\n if (!migratableIds.isEmpty()) {\n migratableRoles.add(new MigratableRole(role, migratableIds));\n }\n });\n LOG.debug(\"migratableRoles <{}>\", migratableRoles);\n return migratableRoles;\n }\n\n private static class MigratableRole {\n Role role;\n Map> migratableEntities;\n\n public MigratableRole(Role role, Map> migratableEntities) {\n this.role = role;\n this.migratableEntities = migratableEntities;\n }\n\n @Override\n public String toString() {\n return \"MigratableRole{\" +\n \"roleID='\" + role.getId() + '\\'' +\n \", migratableIds=\" + migratableEntities +\n '}';\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/2b163f8df087b77adc9a3b986bc222c862b25c7d.json b/web/public/bundles/graylog/code/2b163f8df087b77adc9a3b986bc222c862b25c7d.json new file mode 100644 index 00000000..5c318c09 --- /dev/null +++ b/web/public/bundles/graylog/code/2b163f8df087b77adc9a3b986bc222c862b25c7d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "2b163f8df087b77adc9a3b986bc222c862b25c7d", + "language": "typescript", + "path": "graylog2-web-interface/src/components/metrics/MetricDetails.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport capitalize from 'lodash/capitalize';\nimport styled from 'styled-components';\n\nimport CounterDetails from 'components/metrics/CounterDetails';\nimport GaugeDetails from 'components/metrics/GaugeDetails';\nimport HistogramDetails from 'components/metrics/HistogramDetails';\nimport MeterDetails from 'components/metrics/MeterDetails';\nimport TimerDetails from 'components/metrics/TimerDetails';\nimport type { Metric } from 'types/metrics';\nimport { useNodeMetric } from 'hooks/useMetrics';\n\nconst DetailsForType = ({ metric }: { metric: Metric }) => {\n switch (metric.type) {\n case 'counter':\n return ;\n case 'gauge':\n return ;\n case 'histogram':\n return ;\n case 'meter':\n return ;\n case 'timer':\n return ;\n default:\n return Invalid metric type: {metric};\n }\n};\n\nconst StyledMetricDetail = styled.div`\n dl {\n > dt {\n float: left;\n }\n\n &.metric-timer > dd {\n margin-left: 145px;\n }\n\n &.metric-meter > dd {\n margin-left: 115px;\n }\n\n &.metric-gauge > dd {\n margin-left: 90px;\n }\n\n &.metric-counter > dd {\n margin-left: 90px;\n }\n\n &.metric-histogram > dd {\n margin-left: 145px;\n }\n }\n`;\n\ntype Props = {\n metric: Metric;\n nodeId: string;\n};\n\nconst MetricDetails = ({ nodeId, metric, metric: { full_name: metricName } }: Props) => {\n const { data: nodeMetrics } = useNodeMetric(nodeId, metricName);\n\n const currentMetric = nodeMetrics?.[metricName] ?? metric;\n const type = capitalize(currentMetric.type);\n\n return (\n
\n

{type}

\n \n \n \n
\n );\n};\n\nexport default MetricDetails;\n" +} diff --git a/web/public/bundles/graylog/code/2befcf02b65c84d0f78224d8a09df8998ca7fa27.json b/web/public/bundles/graylog/code/2befcf02b65c84d0f78224d8a09df8998ca7fa27.json new file mode 100644 index 00000000..1e16e025 --- /dev/null +++ b/web/public/bundles/graylog/code/2befcf02b65c84d0f78224d8a09df8998ca7fa27.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "2befcf02b65c84d0f78224d8a09df8998ca7fa27", + "language": "typescript", + "path": "graylog2-web-interface/src/hooks/usePaginationQueryParameter.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport { useCallback } from 'react';\n\nimport { useQueryParams, NumberParam } from 'routing/QueryParams';\n\nexport const DEFAULT_PAGE = 1;\nexport const DEFAULT_PAGE_SIZES = [10, 20, 50, 100];\n\nexport type PaginationQueryParameterResult = {\n page: number;\n resetPage: () => void;\n pageSize: number;\n setPagination: (payload: { page?: number; pageSize?: number }) => void;\n};\n\nconst usePaginationQueryParameter = (\n PAGE_SIZES: number[] = DEFAULT_PAGE_SIZES,\n propsPageSize: number = DEFAULT_PAGE_SIZES[0],\n syncPageSizeFromQuery: boolean = true,\n): PaginationQueryParameterResult => {\n const [{ page: pageQueryParameter, pageSize: pageSizeQueryParameter }, setQueryParams] = useQueryParams({\n page: NumberParam,\n pageSize: NumberParam,\n });\n const pageQueryParameterAsNumber = Number(pageQueryParameter);\n const page =\n Number.isInteger(pageQueryParameterAsNumber) && pageQueryParameterAsNumber > 0\n ? pageQueryParameterAsNumber\n : DEFAULT_PAGE;\n\n const pageSizeQueryParameterAsNumber = Number(pageSizeQueryParameter);\n\n const determinePageSize = () => {\n if (!syncPageSizeFromQuery) {\n return propsPageSize;\n }\n\n return Number.isInteger(pageSizeQueryParameterAsNumber) && PAGE_SIZES?.includes(pageSizeQueryParameterAsNumber)\n ? pageSizeQueryParameterAsNumber\n : propsPageSize;\n };\n\n const pageSize = determinePageSize();\n\n const setPagination = useCallback(\n ({ page: newPage = page, pageSize: newPageSize = pageSize }: { page?: number; pageSize?: number }) => {\n setQueryParams({\n page: newPage,\n pageSize: syncPageSizeFromQuery ? newPageSize : undefined,\n });\n },\n [page, pageSize, setQueryParams, syncPageSizeFromQuery],\n );\n\n const resetPage = useCallback(() => {\n setPagination({ page: DEFAULT_PAGE });\n }, [setPagination]);\n\n return { page, resetPage, pageSize, setPagination };\n};\n\nexport default usePaginationQueryParameter;\n" +} diff --git a/web/public/bundles/graylog/code/2ce474cf85e2ea0483ba8937c9018c4488bbb5c7.json b/web/public/bundles/graylog/code/2ce474cf85e2ea0483ba8937c9018c4488bbb5c7.json new file mode 100644 index 00000000..93750274 --- /dev/null +++ b/web/public/bundles/graylog/code/2ce474cf85e2ea0483ba8937c9018c4488bbb5c7.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "2ce474cf85e2ea0483ba8937c9018c4488bbb5c7", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/functions/lookup/LookupRemoveStringList.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.pipelineprocessor.functions.lookup;\n\nimport org.graylog.plugins.pipelineprocessor.EvaluationContext;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.AbstractFunction;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.FunctionArgs;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.FunctionDescriptor;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor;\nimport org.graylog.plugins.pipelineprocessor.rulebuilder.RuleBuilderFunctionGroup;\nimport org.graylog2.lookup.LookupTableService;\n\nimport jakarta.inject.Inject;\n\nimport java.util.List;\n\nimport static org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor.object;\nimport static org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor.string;\n\npublic class LookupRemoveStringList extends AbstractFunction {\n\n public static final String NAME = \"lookup_remove_string_list\";\n\n private final ParameterDescriptor lookupTableParam;\n private final ParameterDescriptor keyParam;\n @SuppressWarnings(\"rawtypes\")\n private final ParameterDescriptor valueParam;\n\n @Inject\n public LookupRemoveStringList(LookupTableService lookupTableService) {\n lookupTableParam = string(\"lookup_table\", LookupTableService.Function.class)\n .description(\"The existing lookup table to use to remove entries from the given list\")\n .transform(tableName -> lookupTableService.newBuilder().lookupTable(tableName).build())\n .build();\n keyParam = object(\"key\")\n .description(\"The key to remove the entries in the lookup table\")\n .build();\n valueParam = ParameterDescriptor.type(\"value\", List.class)\n .description(\"The list value that should be removed from the lookup table\")\n .build();\n }\n\n @Override\n public Object evaluate(FunctionArgs args, EvaluationContext context) {\n Object key = keyParam.required(args, context);\n if (key == null) {\n return null;\n }\n LookupTableService.Function table = lookupTableParam.required(args, context);\n if (table == null) {\n return null;\n }\n List value = valueParam.required(args, context);\n if (value == null) {\n return null;\n }\n\n return table.removeStringList(key, value).stringListValue();\n }\n\n @Override\n public FunctionDescriptor descriptor() {\n return FunctionDescriptor.builder()\n .name(NAME)\n .description(\"Remove the entries of the given string list from the named lookup table. Returns the updated list on success, null on failure.\")\n .params(lookupTableParam, keyParam, valueParam)\n .returnType(List.class)\n .ruleBuilderEnabled()\n .ruleBuilderName(\"Remove string list from lookup table\")\n .ruleBuilderTitle(\"Remove entries of string list from '${lookup_table}' using key '${key}'\")\n .ruleBuilderFunctionGroup(RuleBuilderFunctionGroup.LOOKUP)\n .build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/2dbab7deec4ade6e97155af63e14f919a78cd8f7.json b/web/public/bundles/graylog/code/2dbab7deec4ade6e97155af63e14f919a78cd8f7.json new file mode 100644 index 00000000..953b8f13 --- /dev/null +++ b/web/public/bundles/graylog/code/2dbab7deec4ade6e97155af63e14f919a78cd8f7.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "2dbab7deec4ade6e97155af63e14f919a78cd8f7", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/startpage/lastOpened/LastOpenedService.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.views.startpage.lastOpened;\n\nimport com.google.common.annotations.VisibleForTesting;\nimport com.google.common.eventbus.EventBus;\nimport com.google.common.eventbus.Subscribe;\nimport com.mongodb.MongoException;\nimport com.mongodb.client.model.Filters;\nimport com.mongodb.client.model.Indexes;\nimport com.mongodb.client.model.Updates;\nimport jakarta.inject.Inject;\nimport org.graylog.plugins.views.search.permissions.SearchUser;\nimport org.graylog.plugins.views.startpage.recentActivities.ActivityType;\nimport org.graylog.plugins.views.startpage.recentActivities.RecentActivityEvent;\nimport org.graylog2.database.MongoCollection;\nimport org.graylog2.database.MongoCollections;\nimport org.graylog2.database.utils.MongoUtils;\nimport org.graylog2.users.events.UserDeletedEvent;\n\nimport java.util.Optional;\n\npublic class LastOpenedService {\n public static final String COLLECTION_NAME = \"last_opened\";\n private final MongoCollection db;\n\n @Inject\n public LastOpenedService(MongoCollections mongoCollections,\n EventBus eventBus) {\n this.db = mongoCollections.collection(COLLECTION_NAME, LastOpenedForUserDTO.class);\n eventBus.register(this);\n\n db.createIndex(Indexes.ascending(LastOpenedForUserDTO.FIELD_USER_ID));\n db.createIndex(Indexes.ascending(LastOpenedForUserDTO.FIELD_ITEMS + \".\" + LastOpenedDTO.FIELD_GRN));\n }\n\n public Optional findForUser(final SearchUser searchUser) {\n return findForUser(searchUser.getUser().getId());\n }\n\n public Optional findForUser(final String userId) {\n return Optional.ofNullable(this.db.find(Filters.eq(LastOpenedForUserDTO.FIELD_USER_ID, userId)).first());\n }\n\n public void create(final LastOpenedForUserDTO lastOpenedItems) {\n try {\n db.insertOne(lastOpenedItems);\n } catch (MongoException e) {\n if (MongoUtils.isDuplicateKeyError(e)) {\n throw new IllegalStateException(\"Unable to create record of last opened items. Record with this id already exists : \" + lastOpenedItems.id());\n }\n throw e;\n }\n }\n\n @Subscribe\n public void removeLastOpenedOnEntityDeletion(final RecentActivityEvent event) {\n // if an entity is deleted, we can no longer see it in the lastOpened collection\n if (event.activityType().equals(ActivityType.DELETE)) {\n final var grn = event.grn().toString();\n final var query = Filters.eq(LastOpenedForUserDTO.FIELD_ITEMS + \".\" + LastOpenedDTO.FIELD_GRN, grn);\n final var modifications = Updates.pull(LastOpenedForUserDTO.FIELD_ITEMS, Filters.eq(LastOpenedDTO.FIELD_GRN, grn));\n db.updateMany(query, modifications);\n }\n }\n\n @Subscribe\n public void removeFavoriteEntityOnUserDeletion(final UserDeletedEvent event) {\n db.deleteMany(Filters.eq(LastOpenedForUserDTO.FIELD_USER_ID, event.userId()));\n }\n\n public void save(LastOpenedForUserDTO loi) {\n if (loi.id() == null) {\n create(loi);\n } else {\n db.replaceOne(MongoUtils.idEq(loi.id()), loi);\n }\n }\n\n @VisibleForTesting\n long count() {\n return this.db.countDocuments();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/2ec8eb3a4443e41952686a73a00a47886279a150.json b/web/public/bundles/graylog/code/2ec8eb3a4443e41952686a73a00a47886279a150.json new file mode 100644 index 00000000..882c86d6 --- /dev/null +++ b/web/public/bundles/graylog/code/2ec8eb3a4443e41952686a73a00a47886279a150.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "2ec8eb3a4443e41952686a73a00a47886279a150", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/GrokResource.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.resources.system;\n\nimport com.codahale.metrics.annotation.Timed;\nimport com.google.common.collect.ImmutableMap;\nimport io.krakens.grok.api.exception.GrokException;\nimport io.swagger.v3.oas.annotations.Operation;\nimport io.swagger.v3.oas.annotations.Parameter;\nimport io.swagger.v3.oas.annotations.media.Content;\nimport io.swagger.v3.oas.annotations.media.Schema;\nimport io.swagger.v3.oas.annotations.responses.ApiResponse;\nimport io.swagger.v3.oas.annotations.responses.ApiResponses;\nimport io.swagger.v3.oas.annotations.tags.Tag;\nimport jakarta.inject.Inject;\nimport jakarta.validation.Valid;\nimport jakarta.validation.constraints.NotNull;\nimport jakarta.ws.rs.BadRequestException;\nimport jakarta.ws.rs.Consumes;\nimport jakarta.ws.rs.DELETE;\nimport jakarta.ws.rs.DefaultValue;\nimport jakarta.ws.rs.GET;\nimport jakarta.ws.rs.POST;\nimport jakarta.ws.rs.PUT;\nimport jakarta.ws.rs.Path;\nimport jakarta.ws.rs.PathParam;\nimport jakarta.ws.rs.Produces;\nimport jakarta.ws.rs.QueryParam;\nimport jakarta.ws.rs.core.MediaType;\nimport jakarta.ws.rs.core.Response;\nimport org.apache.shiro.authz.annotation.RequiresAuthentication;\nimport org.graylog2.audit.AuditEventTypes;\nimport org.graylog2.audit.jersey.AuditEvent;\nimport org.graylog2.audit.jersey.NoAuditEvent;\nimport org.graylog2.database.NotFoundException;\nimport org.graylog2.database.PaginatedList;\nimport org.graylog2.grok.GrokPattern;\nimport org.graylog2.grok.GrokPatternService;\nimport org.graylog2.grok.GrokPatternService.ImportStrategy;\nimport org.graylog2.grok.PaginatedGrokPatternService;\nimport org.graylog2.plugin.database.ValidationException;\nimport org.graylog2.rest.models.PaginatedResponse;\nimport org.graylog2.rest.models.SortOrder;\nimport org.graylog2.rest.models.system.grokpattern.requests.GrokPatternTestRequest;\nimport org.graylog2.rest.models.system.responses.GrokPatternList;\nimport org.graylog2.search.SearchQuery;\nimport org.graylog2.search.SearchQueryField;\nimport org.graylog2.search.SearchQueryParser;\nimport org.graylog2.shared.rest.PublicCloudAPI;\nimport org.graylog2.shared.rest.resources.RestResource;\nimport org.graylog2.shared.security.RestPermissions;\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.net.URI;\nimport java.nio.charset.StandardCharsets;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.regex.Matcher;\nimport java.util.regex.Pattern;\nimport java.util.stream.Collectors;\n\n@RequiresAuthentication\n@Path(\"/system/grok\")\n@Produces(\"application/json\")\n@Consumes(\"application/json\")\n@PublicCloudAPI\n@Tag(name = \"System/Grok\", description = \"Manage grok patterns\")\npublic class GrokResource extends RestResource {\n private static final Pattern GROK_LINE_PATTERN = Pattern.compile(\"^(\\\\w+)[ \\t]+(.*)$\");\n\n private static final ImmutableMap SEARCH_FIELD_MAPPING = ImmutableMap.builder()\n .put(GrokPattern.FIELD_NAME, SearchQueryField.create(GrokPattern.FIELD_NAME))\n .put(GrokPattern.FIELD_PATTERN, SearchQueryField.create(GrokPattern.FIELD_PATTERN))\n .build();\n\n private final GrokPatternService grokPatternService;\n private final SearchQueryParser searchQueryParser;\n private final PaginatedGrokPatternService paginatedGrokPatternService;\n\n @Inject\n public GrokResource(GrokPatternService grokPatternService,\n PaginatedGrokPatternService paginatedGrokPatternService) {\n\n this.paginatedGrokPatternService = paginatedGrokPatternService;\n this.grokPatternService = grokPatternService;\n this.searchQueryParser = new SearchQueryParser(GrokPattern.FIELD_NAME, SEARCH_FIELD_MAPPING);\n }\n\n @GET\n @Timed\n @Deprecated\n @Operation(summary = \"Get all existing grok patterns\")\n public GrokPatternList listGrokPatterns() {\n checkPermission(RestPermissions.INPUTS_READ);\n\n return GrokPatternList.create(grokPatternService.loadAll());\n }\n\n @GET\n @Timed\n @Path(\"/paginated\")\n @Operation(summary = \"Get existing grok patterns paged\")\n @Produces(MediaType.APPLICATION_JSON)\n public PaginatedResponse getPage(@Parameter(name = \"page\") @QueryParam(\"page\") @DefaultValue(\"1\") int page,\n @Parameter(name = \"per_page\") @QueryParam(\"per_page\") @DefaultValue(\"50\") int perPage,\n @Parameter(name = \"query\") @QueryParam(\"query\") @DefaultValue(\"\") String query,\n @Parameter(name = \"sort\",\n description = \"The field to sort the result on\",\n required = true,\n schema = @Schema(allowableValues = {\"id\", \"name\"}))\n @DefaultValue(GrokPattern.FIELD_NAME) @QueryParam(\"sort\") String sort,\n @Parameter(name = \"order\", description = \"The sort direction\",\n schema = @Schema(allowableValues = {\"asc\", \"desc\"}))\n @DefaultValue(\"asc\") @QueryParam(\"order\") SortOrder order) {\n checkPermission(RestPermissions.INPUTS_READ);\n\n SearchQuery searchQuery;\n try {\n searchQuery = searchQueryParser.parse(query);\n } catch (IllegalArgumentException e) {\n throw new BadRequestException(\"Invalid argument in search query: \" + e.getMessage());\n }\n final PaginatedList result = paginatedGrokPatternService\n .findPaginated(searchQuery, page, perPage, sort, order);\n\n return PaginatedResponse.create(\"patterns\", result);\n }\n\n @GET\n @Timed\n @Path(\"/{patternId}\")\n @Operation(summary = \"Get the existing grok pattern\")\n public GrokPattern listPattern(@Parameter(name = \"patternId\", required = true)\n @PathParam(\"patternId\") String patternId) throws NotFoundException {\n checkPermission(RestPermissions.INPUTS_READ);\n\n return grokPatternService.load(patternId);\n }\n\n @POST\n @Timed\n @Path(\"/test\")\n @NoAuditEvent(\"Only used to test pattern.\")\n @Operation(summary = \"Test pattern with sample data\")\n public Response testPattern(@Parameter(name = \"pattern\", required = true) GrokPatternTestRequest request) {\n Map result;\n try {\n result = grokPatternService.match(request.grokPattern(), request.sampleData());\n } catch (GrokException | IllegalArgumentException e) {\n Map error = ImmutableMap.of(\"message\", e.getMessage());\n\n throw new BadRequestException(Response.status(Response.Status.BAD_REQUEST).entity(error).build());\n }\n return Response.ok(result).build();\n }\n\n @POST\n @Timed\n @Operation(summary = \"Add a new named pattern\")\n @ApiResponses({\n @ApiResponse(responseCode = \"200\", description = \"Add a new named pattern retrieved successfully\",\n content = @Content(schema = @Schema(implementation = GrokPattern.class)))\n })\n @AuditEvent(type = AuditEventTypes.GROK_PATTERN_CREATE)\n public Response createPattern(@Parameter(name = \"pattern\", required = true)\n @Valid @NotNull GrokPattern pattern) throws ValidationException {\n checkPermission(RestPermissions.INPUTS_CREATE);\n\n // remove the ID from the pattern, this is only used to create new patterns\n final GrokPattern newPattern = grokPatternService.save(pattern.toBuilder().id(null).build());\n\n final URI patternUri = getUriBuilderToSelf().path(GrokResource.class, \"listPattern\").build(newPattern.id());\n\n return Response.created(patternUri).entity(newPattern).build();\n }\n\n @PUT\n @Timed\n @Operation(summary = \"Add a list of new patterns\")\n @AuditEvent(type = AuditEventTypes.GROK_PATTERN_IMPORT_CREATE)\n public Response bulkUpdatePatterns(@Parameter(name = \"patterns\", required = true) @NotNull\n GrokPatternList patternList,\n // deprecated. used to drop all existing patterns before import\n @Deprecated @QueryParam(\"replace\") @DefaultValue(\"false\")\n boolean deprecatedDropAllExisting,\n @Parameter(name = \"import-strategy\", description = \"Strategy to apply when importing.\")\n @QueryParam(\"import-strategy\")\n ImportStrategy importStrategy) throws ValidationException {\n checkPermission(RestPermissions.INPUTS_CREATE);\n\n try {\n if (!grokPatternService.validateAll(patternList.patterns())) {\n throw new ValidationException(\"Invalid pattern contained. Did not save any patterns.\");\n }\n } catch (GrokException | IllegalArgumentException e) {\n throw new ValidationException(\"Invalid pattern. Did not save any patterns\\n\" + e.getMessage());\n }\n\n ImportStrategy resolvedStrategy = importStrategy != null ? importStrategy :\n deprecatedDropAllExisting ? ImportStrategy.DROP_ALL_EXISTING : ImportStrategy.ABORT_ON_CONFLICT;\n\n grokPatternService.saveAll(patternList.patterns(), resolvedStrategy);\n return Response.accepted().build();\n }\n\n @POST\n @Consumes(MediaType.TEXT_PLAIN)\n @Timed\n @Operation(summary = \"Add a list of new patterns\")\n @AuditEvent(type = AuditEventTypes.GROK_PATTERN_IMPORT_CREATE)\n public Response bulkUpdatePatternsFromTextFile(@Parameter(name = \"patterns\", required = true) @NotNull InputStream patternsFile,\n // deprecated. used to drop all existing patterns before import\n @Deprecated @QueryParam(\"replace\") @DefaultValue(\"false\")\n boolean deprecatedDropAllExisting,\n @Parameter(name = \"import-strategy\", description = \"Strategy to apply when importing.\")\n @QueryParam(\"import-strategy\")\n ImportStrategy importStrategy) throws ValidationException, IOException {\n checkPermission(RestPermissions.INPUTS_CREATE);\n\n final List grokPatterns = readGrokPatterns(patternsFile);\n\n if (!grokPatterns.isEmpty()) {\n try {\n if (!grokPatternService.validateAll(grokPatterns)) {\n throw new ValidationException(\"Invalid pattern contained. Did not save any patterns.\");\n }\n } catch (GrokException | IllegalArgumentException e) {\n throw new ValidationException(\"Invalid pattern. Did not save any patterns\\n\" + e.getMessage());\n }\n\n ImportStrategy resolvedStrategy = importStrategy != null ? importStrategy :\n deprecatedDropAllExisting ? ImportStrategy.DROP_ALL_EXISTING : ImportStrategy.ABORT_ON_CONFLICT;\n\n grokPatternService.saveAll(grokPatterns, resolvedStrategy);\n }\n\n return Response.accepted().build();\n }\n\n private List readGrokPatterns(InputStream patternList) throws IOException {\n try (final InputStreamReader inputStreamReader = new InputStreamReader(patternList, StandardCharsets.UTF_8);\n final BufferedReader bufferedReader = new BufferedReader(inputStreamReader)) {\n return bufferedReader.lines()\n .map(String::trim)\n .filter(s -> !s.startsWith(\"#\") && !s.isEmpty())\n .map(GROK_LINE_PATTERN::matcher)\n .filter(Matcher::matches)\n .map(matcher -> GrokPattern.create(matcher.group(1), matcher.group(2)))\n .collect(Collectors.toList());\n\n }\n }\n\n @PUT\n @Timed\n @Path(\"/{patternId}\")\n @Operation(summary = \"Update an existing pattern\")\n @AuditEvent(type = AuditEventTypes.GROK_PATTERN_UPDATE)\n public GrokPattern updatePattern(@Parameter(name = \"patternId\", required = true)\n @PathParam(\"patternId\") String patternId,\n @Parameter(name = \"pattern\", required = true)\n GrokPattern pattern) throws ValidationException {\n checkPermission(RestPermissions.INPUTS_EDIT);\n\n final GrokPattern grokPattern = GrokPattern.builder()\n .id(patternId)\n .name(pattern.name())\n .pattern(pattern.pattern())\n .build();\n\n return grokPatternService.update(grokPattern);\n }\n\n @DELETE\n @Timed\n @Path(\"/{patternId}\")\n @Operation(summary = \"Remove an existing pattern by id\")\n @AuditEvent(type = AuditEventTypes.GROK_PATTERN_DELETE)\n public void removePattern(@Parameter(name = \"patternId\", required = true) @PathParam(\"patternId\") String patternId) throws NotFoundException {\n checkPermission(RestPermissions.INPUTS_EDIT);\n\n grokPatternService.load(patternId);\n if (grokPatternService.delete(patternId) == 0) {\n throw new jakarta.ws.rs.NotFoundException(\"Couldn't remove Grok pattern with ID \" + patternId);\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/3000f94b9524cb8bad5d99a04d24159160aad30e.json b/web/public/bundles/graylog/code/3000f94b9524cb8bad5d99a04d24159160aad30e.json new file mode 100644 index 00000000..c329eafc --- /dev/null +++ b/web/public/bundles/graylog/code/3000f94b9524cb8bad5d99a04d24159160aad30e.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "3000f94b9524cb8bad5d99a04d24159160aad30e", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/EvaluationContext.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.pipelineprocessor;\n\nimport com.google.common.collect.Lists;\nimport com.google.common.collect.Maps;\nimport org.graylog.plugins.pipelineprocessor.ast.Rule;\nimport org.graylog.plugins.pipelineprocessor.ast.exceptions.FunctionEvaluationException;\nimport org.graylog.plugins.pipelineprocessor.ast.expressions.Expression;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.FunctionDescriptor;\nimport org.graylog2.plugin.EmptyMessages;\nimport org.graylog2.plugin.Message;\nimport org.graylog2.plugin.MessageCollection;\nimport org.graylog2.plugin.MessageFactory;\nimport org.graylog2.plugin.Messages;\n\nimport javax.annotation.Nonnull;\nimport javax.annotation.Nullable;\nimport java.util.Collections;\nimport java.util.List;\nimport java.util.Map;\n\nimport static org.graylog2.shared.utilities.ExceptionUtils.getRootCause;\nimport static org.graylog2.shared.utilities.StringUtils.f;\n\npublic class EvaluationContext {\n\n private static final EvaluationContext EMPTY_CONTEXT = new EvaluationContext() {\n @Override\n public void addCreatedMessage(Message newMessage) {\n // cannot add messages to empty context\n }\n\n @Override\n public void define(String identifier, Class type, Object value) {\n // cannot define any variables in empty context\n }\n };\n\n @Nonnull\n private final Message message;\n @Nullable\n private Map ruleVars;\n @Nullable\n private List createdMessages;\n @Nullable\n private List evalErrors;\n @Nullable\n private Rule currentRule;\n\n public void setRule(Rule rule) {\n currentRule = rule;\n }\n\n public Rule getRule() {\n return currentRule;\n }\n\n private EvaluationContext() {\n this(MessageFactory.createFakeMessage());\n }\n\n public EvaluationContext(@Nonnull Message message) {\n this.message = message;\n }\n\n public void define(String identifier, Class type, Object value) {\n if (ruleVars == null) {\n ruleVars = Maps.newHashMap();\n }\n ruleVars.put(identifier, new TypedValue(type, value));\n }\n\n public Message currentMessage() {\n return message;\n }\n\n public TypedValue get(String identifier) {\n if (ruleVars == null) {\n throw new IllegalStateException(\"Use of undeclared variable \" + identifier);\n }\n return ruleVars.get(identifier);\n }\n\n public Messages createdMessages() {\n if (createdMessages == null) {\n return new EmptyMessages();\n }\n return new MessageCollection(createdMessages);\n }\n\n public void addCreatedMessage(Message newMessage) {\n if (createdMessages == null) {\n createdMessages = Lists.newArrayList();\n }\n createdMessages.add(newMessage);\n }\n\n public void clearCreatedMessages() {\n if (createdMessages != null) {\n createdMessages.clear();\n }\n }\n\n public static EvaluationContext emptyContext() {\n return EMPTY_CONTEXT;\n }\n\n public void addEvaluationError(int line, int charPositionInLine, @Nullable FunctionDescriptor descriptor, Throwable e) {\n if (evalErrors == null) {\n evalErrors = Lists.newArrayList();\n }\n evalErrors.add(new EvalError(line, charPositionInLine, descriptor, e));\n }\n\n public void onEvaluationException(Exception exception, Expression expression) {\n if (exception instanceof FunctionEvaluationException) {\n final FunctionEvaluationException fee = (FunctionEvaluationException) exception;\n addEvaluationError(fee.getStartToken().getLine(),\n fee.getStartToken().getCharPositionInLine(),\n fee.getFunctionExpression().getFunction().descriptor(),\n getRootCause(fee));\n } else {\n addEvaluationError(\n expression.getStartToken().getLine(),\n expression.getStartToken().getCharPositionInLine(),\n null,\n getRootCause(exception));\n }\n }\n\n public boolean hasEvaluationErrors() {\n return evalErrors != null;\n }\n\n public List evaluationErrors() {\n return evalErrors == null ? Collections.emptyList() : Collections.unmodifiableList(evalErrors);\n }\n\n @Nullable\n public EvalError lastEvaluationError() {\n return evalErrors == null || evalErrors.isEmpty() ? null\n : evalErrors.get(evalErrors.size() - 1);\n }\n\n public static class TypedValue {\n private final Class type;\n private final Object value;\n\n public TypedValue(Class type, Object value) {\n this.type = type;\n this.value = value;\n }\n\n public Class getType() {\n return type;\n }\n\n public Object getValue() {\n return value;\n }\n }\n\n public static class EvalError {\n private final int line;\n private final int charPositionInLine;\n @Nullable\n private final FunctionDescriptor descriptor;\n private final Throwable throwable;\n\n public EvalError(int line, int charPositionInLine, @Nullable FunctionDescriptor descriptor, Throwable throwable) {\n this.line = line;\n this.charPositionInLine = charPositionInLine;\n this.descriptor = descriptor;\n this.throwable = throwable;\n }\n\n @Override\n public String toString() {\n final StringBuilder sb = new StringBuilder();\n if (descriptor != null) {\n sb.append(\"In call to function '\").append(descriptor.name()).append(\"' at \");\n } else {\n sb.append(\"At \");\n }\n return sb.append(line)\n .append(\":\")\n .append(charPositionInLine)\n .append(\" an exception was thrown: \")\n .append(throwable.getMessage())\n .toString();\n }\n }\n\n public String pipelineErrorMessage(String msg) {\n if (currentRule != null) {\n return f(\"Rule <%s> %s\", currentRule.name(), msg);\n }\n return msg;\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/306d5fcadb6944f6fa2852f3d24619c4b7e8abdf.json b/web/public/bundles/graylog/code/306d5fcadb6944f6fa2852f3d24619c4b7e8abdf.json new file mode 100644 index 00000000..2df40f43 --- /dev/null +++ b/web/public/bundles/graylog/code/306d5fcadb6944f6fa2852f3d24619c4b7e8abdf.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "306d5fcadb6944f6fa2852f3d24619c4b7e8abdf", + "language": "typescript", + "path": "graylog2-web-interface/src/components/extractors/extractors_configuration/JSONExtractorConfiguration.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\n\nimport { Icon } from 'components/common';\nimport { Col, Row, Button, Input } from 'components/bootstrap';\nimport ExtractorUtils from 'util/ExtractorUtils';\nimport { getValueFromInput } from 'util/FormsUtils';\nimport { testJSON } from 'api/tools';\n\ntype Configuration = {\n flatten: boolean;\n list_separator: string;\n key_separator: string;\n kv_separator: string;\n replace_key_whitespace: boolean;\n key_whitespace_replacement: string;\n key_prefix: string;\n string: string;\n};\ntype Props = {\n configuration: Configuration;\n exampleMessage?: string;\n onChange: (newConfig: Configuration) => void;\n onExtractorPreviewLoad: (content: React.ReactNode) => void;\n};\ntype State = {\n configuration: Configuration;\n trying: boolean;\n};\n\nclass JSONExtractorConfiguration extends React.Component {\n static defaultProps = {\n exampleMessage: undefined,\n };\n\n constructor(props: Props, context: any) {\n super(props, context);\n\n this.state = {\n trying: false,\n configuration: this._getEffectiveConfiguration(props.configuration),\n };\n }\n\n componentDidMount() {\n this.props.onChange(this.state.configuration);\n }\n\n UNSAFE_componentWillReceiveProps(nextProps) {\n this.setState({ configuration: this._getEffectiveConfiguration(nextProps.configuration) });\n }\n\n private DEFAULT_CONFIGURATION = {\n list_separator: ', ',\n key_separator: '_',\n kv_separator: '=',\n key_prefix: '',\n replace_key_whitespace: false,\n key_whitespace_replacement: '_',\n };\n\n _onTryClick = () => {\n this.setState({ trying: true });\n\n const { configuration } = this.state;\n const promise = testJSON(\n configuration.flatten,\n configuration.list_separator,\n configuration.key_separator,\n configuration.kv_separator,\n configuration.replace_key_whitespace,\n configuration.key_whitespace_replacement,\n configuration.key_prefix,\n this.props.exampleMessage,\n );\n\n promise.then((result) => {\n const matches = [];\n\n for (const match in result.matches) {\n if (match in result.matches) {\n matches.push(
{match}
);\n matches.push(\n
\n {result.matches[match]}\n
,\n );\n }\n }\n\n const preview = matches.length === 0 ? '' :
{matches}
;\n\n this.props.onExtractorPreviewLoad(preview);\n });\n\n promise.finally(() => this.setState({ trying: false }));\n };\n\n _getEffectiveConfiguration(configuration) {\n return ExtractorUtils.getEffectiveConfiguration(this.DEFAULT_CONFIGURATION, configuration) as Configuration;\n }\n\n _onChange(key) {\n return (event) => {\n this.props.onExtractorPreviewLoad(undefined);\n const newConfig = this.state.configuration;\n\n newConfig[key] = getValueFromInput(event.target);\n this.props.onChange(newConfig);\n };\n }\n\n _isTryButtonDisabled() {\n return this.state.trying || !this.props.exampleMessage;\n }\n\n render() {\n return (\n
\n \n\n \n\n \n What string to use to concatenate different keys of a nested JSON object (only used if not{' '}\n flattened).\n \n }\n />\n\n \n\n \n\n \n\n \n\n \n \n \n \n \n
\n );\n }\n}\n\nexport default JSONExtractorConfiguration;\n" +} diff --git a/web/public/bundles/graylog/code/30bc4b0371e2055cc7c0c6b3d5b28e14e8f7bb67.json b/web/public/bundles/graylog/code/30bc4b0371e2055cc7c0c6b3d5b28e14e8f7bb67.json new file mode 100644 index 00000000..8d7cba07 --- /dev/null +++ b/web/public/bundles/graylog/code/30bc4b0371e2055cc7c0c6b3d5b28e14e8f7bb67.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "30bc4b0371e2055cc7c0c6b3d5b28e14e8f7bb67", + "language": "java", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/ViewsOSBackendModule.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.storage.opensearch3;\n\nimport com.google.inject.Scopes;\nimport com.google.inject.TypeLiteral;\nimport com.google.inject.assistedinject.FactoryModuleBuilder;\nimport com.google.inject.binder.LinkedBindingBuilder;\nimport com.google.inject.binder.ScopedBindingBuilder;\nimport com.google.inject.multibindings.MapBinder;\nimport com.google.inject.multibindings.OptionalBinder;\nimport org.graylog.plugins.views.ViewsModule;\nimport org.graylog.plugins.views.search.SearchType;\nimport org.graylog.plugins.views.search.export.ExportBackend;\nimport org.graylog.plugins.views.search.searchtypes.MessageList;\nimport org.graylog.plugins.views.search.searchtypes.events.EventList;\nimport org.graylog.plugins.views.search.searchtypes.pivot.BucketSpec;\nimport org.graylog.plugins.views.search.searchtypes.pivot.Pivot;\nimport org.graylog.plugins.views.search.searchtypes.pivot.SeriesSpec;\nimport org.graylog.plugins.views.search.searchtypes.pivot.buckets.DateRangeBucket;\nimport org.graylog.plugins.views.search.searchtypes.pivot.buckets.RangeBucket;\nimport org.graylog.plugins.views.search.searchtypes.pivot.buckets.Time;\nimport org.graylog.plugins.views.search.searchtypes.pivot.buckets.Values;\nimport org.graylog.plugins.views.search.searchtypes.pivot.series.Average;\nimport org.graylog.plugins.views.search.searchtypes.pivot.series.Cardinality;\nimport org.graylog.plugins.views.search.searchtypes.pivot.series.Count;\nimport org.graylog.plugins.views.search.searchtypes.pivot.series.Latest;\nimport org.graylog.plugins.views.search.searchtypes.pivot.series.Max;\nimport org.graylog.plugins.views.search.searchtypes.pivot.series.Min;\nimport org.graylog.plugins.views.search.searchtypes.pivot.series.Percentage;\nimport org.graylog.plugins.views.search.searchtypes.pivot.series.Percentile;\nimport org.graylog.plugins.views.search.searchtypes.pivot.series.StdDev;\nimport org.graylog.plugins.views.search.searchtypes.pivot.series.Sum;\nimport org.graylog.plugins.views.search.searchtypes.pivot.series.SumOfSquares;\nimport org.graylog.plugins.views.search.searchtypes.pivot.series.Variance;\nimport org.graylog.storage.opensearch3.views.OSGeneratedQueryContext;\nimport org.graylog.storage.opensearch3.views.OpenSearchBackend;\nimport org.graylog.storage.opensearch3.views.export.OpenSearchExportBackend;\nimport org.graylog.storage.opensearch3.views.searchtypes.EventListStrategy;\nimport org.graylog.storage.opensearch3.views.searchtypes.OSEventListDelegate;\nimport org.graylog.storage.opensearch3.views.searchtypes.OSMessageList;\nimport org.graylog.storage.opensearch3.views.searchtypes.OSSearchTypeHandler;\nimport org.graylog.storage.opensearch3.views.searchtypes.pivot.OSPivot;\nimport org.graylog.storage.opensearch3.views.searchtypes.pivot.OSPivotBucketSpecHandler;\nimport org.graylog.storage.opensearch3.views.searchtypes.pivot.OSPivotSeriesSpecHandler;\nimport org.graylog.storage.opensearch3.views.searchtypes.pivot.buckets.OSDateRangeHandler;\nimport org.graylog.storage.opensearch3.views.searchtypes.pivot.buckets.OSRangeHandler;\nimport org.graylog.storage.opensearch3.views.searchtypes.pivot.buckets.OSTimeHandler;\nimport org.graylog.storage.opensearch3.views.searchtypes.pivot.buckets.OSValuesHandler;\nimport org.graylog.storage.opensearch3.views.searchtypes.pivot.series.OSAverageHandler;\nimport org.graylog.storage.opensearch3.views.searchtypes.pivot.series.OSCardinalityHandler;\nimport org.graylog.storage.opensearch3.views.searchtypes.pivot.series.OSCountHandler;\nimport org.graylog.storage.opensearch3.views.searchtypes.pivot.series.OSLatestHandler;\nimport org.graylog.storage.opensearch3.views.searchtypes.pivot.series.OSMaxHandler;\nimport org.graylog.storage.opensearch3.views.searchtypes.pivot.series.OSMinHandler;\nimport org.graylog.storage.opensearch3.views.searchtypes.pivot.series.OSPercentageHandler;\nimport org.graylog.storage.opensearch3.views.searchtypes.pivot.series.OSPercentilesHandler;\nimport org.graylog.storage.opensearch3.views.searchtypes.pivot.series.OSStdDevHandler;\nimport org.graylog.storage.opensearch3.views.searchtypes.pivot.series.OSSumHandler;\nimport org.graylog.storage.opensearch3.views.searchtypes.pivot.series.OSSumOfSquaresHandler;\nimport org.graylog.storage.opensearch3.views.searchtypes.pivot.series.OSVarianceHandler;\nimport org.graylog2.storage.SearchVersion;\n\npublic class ViewsOSBackendModule extends ViewsModule {\n private final SearchVersion supportedSearchVersion;\n\n public ViewsOSBackendModule(SearchVersion supportedSearchVersion) {\n this.supportedSearchVersion = supportedSearchVersion;\n }\n\n @Override\n protected void configure() {\n install(new FactoryModuleBuilder().build(OSGeneratedQueryContext.Factory.class));\n\n registerVersionedQueryBackend(supportedSearchVersion, OpenSearchBackend.class);\n\n registerOSSearchTypeHandler(MessageList.NAME, OSMessageList.class);\n registerOSSearchTypeHandler(EventList.NAME, OSEventListDelegate.class);\n OptionalBinder.newOptionalBinder(binder(), EventListStrategy.class);\n registerOSSearchTypeHandler(Pivot.NAME, OSPivot.class).in(Scopes.SINGLETON);\n\n registerPivotSeriesHandler(Average.NAME, OSAverageHandler.class);\n registerPivotSeriesHandler(Cardinality.NAME, OSCardinalityHandler.class);\n registerPivotSeriesHandler(Count.NAME, OSCountHandler.class);\n registerPivotSeriesHandler(Max.NAME, OSMaxHandler.class);\n registerPivotSeriesHandler(Min.NAME, OSMinHandler.class);\n registerPivotSeriesHandler(StdDev.NAME, OSStdDevHandler.class);\n registerPivotSeriesHandler(Sum.NAME, OSSumHandler.class);\n registerPivotSeriesHandler(SumOfSquares.NAME, OSSumOfSquaresHandler.class);\n registerPivotSeriesHandler(Variance.NAME, OSVarianceHandler.class);\n registerPivotSeriesHandler(Percentage.NAME, OSPercentageHandler.class);\n registerPivotSeriesHandler(Percentile.NAME, OSPercentilesHandler.class);\n registerPivotSeriesHandler(Latest.NAME, OSLatestHandler.class);\n\n registerPivotBucketHandler(Values.NAME, OSValuesHandler.class);\n registerPivotBucketHandler(Time.NAME, OSTimeHandler.class);\n registerPivotBucketHandler(DateRangeBucket.NAME, OSDateRangeHandler.class);\n registerPivotBucketHandler(RangeBucket.NAME, OSRangeHandler.class);\n\n bindExportBackend().to(OpenSearchExportBackend.class);\n }\n\n private LinkedBindingBuilder bindExportBackend() {\n return bindExportBackend(supportedSearchVersion);\n }\n\n private MapBinder> pivotBucketHandlerBinder() {\n return MapBinder.newMapBinder(binder(),\n TypeLiteral.get(String.class),\n new TypeLiteral>() {});\n\n }\n\n private void registerPivotBucketHandler(\n String name,\n Class> implementation\n ) {\n pivotBucketHandlerBinder().addBinding(name).to(implementation);\n }\n\n protected MapBinder> pivotSeriesHandlerBinder() {\n return MapBinder.newMapBinder(binder(),\n TypeLiteral.get(String.class),\n new TypeLiteral<>() {});\n\n }\n\n private void registerPivotSeriesHandler(\n String name,\n Class> implementation\n ) {\n pivotSeriesHandlerBinder().addBinding(name).to(implementation);\n }\n\n private MapBinder> osSearchTypeHandlerBinder() {\n return MapBinder.newMapBinder(binder(),\n TypeLiteral.get(String.class),\n new TypeLiteral>() {});\n }\n\n private ScopedBindingBuilder registerOSSearchTypeHandler(String name, Class> implementation) {\n return osSearchTypeHandlerBinder().addBinding(name).to(implementation);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/3115752a04675c3c304dce90cd19f101f50e34c3.json b/web/public/bundles/graylog/code/3115752a04675c3c304dce90cd19f101f50e34c3.json new file mode 100644 index 00000000..8606c149 --- /dev/null +++ b/web/public/bundles/graylog/code/3115752a04675c3c304dce90cd19f101f50e34c3.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "3115752a04675c3c304dce90cd19f101f50e34c3", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/MessagesResource.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.resources.system;\n\nimport com.codahale.metrics.annotation.Timed;\nimport com.google.common.collect.ImmutableMap;\nimport com.google.common.collect.Lists;\nimport com.google.common.collect.Maps;\nimport io.swagger.v3.oas.annotations.Operation;\nimport io.swagger.v3.oas.annotations.Parameter;\nimport io.swagger.v3.oas.annotations.tags.Tag;\nimport jakarta.inject.Inject;\nimport jakarta.ws.rs.GET;\nimport jakarta.ws.rs.Path;\nimport jakarta.ws.rs.Produces;\nimport jakarta.ws.rs.QueryParam;\nimport jakarta.ws.rs.core.MediaType;\nimport org.apache.shiro.authz.annotation.RequiresAuthentication;\nimport org.apache.shiro.authz.annotation.RequiresPermissions;\nimport org.graylog2.plugin.Tools;\nimport org.graylog2.shared.rest.PublicCloudAPI;\nimport org.graylog2.shared.rest.resources.RestResource;\nimport org.graylog2.shared.security.RestPermissions;\nimport org.graylog2.system.activities.SystemMessage;\nimport org.graylog2.system.activities.SystemMessageService;\n\nimport java.util.List;\nimport java.util.Map;\n\n@RequiresAuthentication\n@PublicCloudAPI\n@Tag(name = \"System/Messages\", description = \"Internal Graylog messages\")\n@Path(\"/system/messages\")\npublic class MessagesResource extends RestResource {\n private final SystemMessageService systemMessageService;\n\n @Inject\n public MessagesResource(SystemMessageService systemMessageService) {\n this.systemMessageService = systemMessageService;\n }\n\n @GET\n @Timed\n @Operation(summary = \"Get internal Graylog system messages\")\n @RequiresPermissions(RestPermissions.SYSTEMMESSAGES_READ)\n @Produces(MediaType.APPLICATION_JSON)\n public Map all(@Parameter(name = \"page\", description = \"Page\") @QueryParam(\"page\") int page) {\n final List> messages = Lists.newArrayList();\n for (SystemMessage sm : systemMessageService.all(page(page))) {\n Map message = Maps.newHashMapWithExpectedSize(4);\n message.put(\"caller\", sm.getCaller());\n message.put(\"content\", sm.getContent());\n message.put(\"timestamp\", Tools.getISO8601String(sm.getTimestamp()));\n message.put(\"node_id\", sm.getNodeId());\n\n messages.add(message);\n }\n\n return ImmutableMap.of(\n \"messages\", messages,\n \"total\", systemMessageService.totalCount());\n }\n\n private int page(int page) {\n return Math.max(0, page - 1);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/31602cc998f4ccd14e35491135a2166765cdd3c0.json b/web/public/bundles/graylog/code/31602cc998f4ccd14e35491135a2166765cdd3c0.json new file mode 100644 index 00000000..04145ed9 --- /dev/null +++ b/web/public/bundles/graylog/code/31602cc998f4ccd14e35491135a2166765cdd3c0.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "31602cc998f4ccd14e35491135a2166765cdd3c0", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/providers/LegacySystemJobManagerProvider.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.bindings.providers;\n\nimport com.codahale.metrics.MetricRegistry;\nimport jakarta.inject.Inject;\nimport jakarta.inject.Provider;\nimport org.graylog.scheduler.system.SystemJobManager;\nimport org.graylog2.shared.system.activities.ActivityWriter;\nimport org.graylog2.system.jobs.LegacySystemJobManager;\n\n/**\n * Deprecated: Use {@link SystemJobManager} instead.\n */\n@Deprecated(since = \"7.1\", forRemoval = true)\npublic class LegacySystemJobManagerProvider implements Provider {\n private static LegacySystemJobManager systemJobManager = null;\n\n @Inject\n public LegacySystemJobManagerProvider(ActivityWriter activityWriter, MetricRegistry metricRegistry) {\n if (systemJobManager == null)\n systemJobManager = new LegacySystemJobManager(activityWriter, metricRegistry);\n }\n\n @Override\n public LegacySystemJobManager get() {\n return systemJobManager;\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/324ecb3fd092f1b5706fe31aac7f52368347f476.json b/web/public/bundles/graylog/code/324ecb3fd092f1b5706fe31aac7f52368347f476.json new file mode 100644 index 00000000..7566436f --- /dev/null +++ b/web/public/bundles/graylog/code/324ecb3fd092f1b5706fe31aac7f52368347f476.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "324ecb3fd092f1b5706fe31aac7f52368347f476", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/rulebuilder/db/migrations/V20230724092100_AddFieldConditions.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.pipelineprocessor.rulebuilder.db.migrations;\n\nimport com.google.common.collect.ImmutableList;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.FunctionDescriptor;\nimport org.graylog.plugins.pipelineprocessor.rulebuilder.RuleBuilderFunctionGroup;\nimport org.graylog.plugins.pipelineprocessor.rulebuilder.db.RuleFragment;\nimport org.graylog.plugins.pipelineprocessor.rulebuilder.db.RuleFragmentService;\nimport org.graylog2.migrations.Migration;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport jakarta.inject.Inject;\n\nimport java.time.ZonedDateTime;\nimport java.util.Arrays;\n\nimport static org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor.bool;\nimport static org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor.string;\n\npublic class V20230724092100_AddFieldConditions extends Migration {\n\n private static final Logger log = LoggerFactory.getLogger(V20230724092100_AddFieldConditions.class);\n private final RuleFragmentService ruleFragmentService;\n\n @Inject\n public V20230724092100_AddFieldConditions(RuleFragmentService ruleFragmentService) {\n this.ruleFragmentService = ruleFragmentService;\n }\n\n @Override\n public ZonedDateTime createdAt() {\n return ZonedDateTime.parse(\"2023-07-24T09:21:00Z\");\n }\n\n @Override\n public void upgrade() {\n log.debug(\"Adding field condition fragments via migration\");\n String[] noConversionTypes = {\"collection\", \"list\", \"not_null\", \"null\"};\n Arrays.stream(noConversionTypes).forEach(type -> ruleFragmentService.upsert(createCheckFieldTypeNoConversion(type)));\n String[] conversionTypes = {\"map\", \"string\", \"url\"};\n Arrays.stream(conversionTypes).forEach(type -> ruleFragmentService.upsert(createCheckFieldType(type)));\n String[] conversionParamTypes = {\"bool\", \"double\", \"long\", \"ip\", \"number\"};\n Arrays.stream(conversionParamTypes).forEach(type -> ruleFragmentService.upsert(createCheckFieldTypeConversionParam(type)));\n ruleFragmentService.upsert(createCheckDateField());\n ruleFragmentService.upsert(createCIDRMatchField());\n ruleFragmentService.upsert(createStringContainsField());\n ruleFragmentService.upsert(createStringEndsWithField());\n ruleFragmentService.upsert(createStringStartsWithField());\n ruleFragmentService.upsert(createGrokMatchesField());\n\n log.debug(\"field condition fragments were successfully added\");\n }\n\n RuleFragment createCheckFieldTypeNoConversion(String type) {\n return RuleFragment.builder()\n .fragment(\"is_%type%($message.${field})\"\n .replace(\"%type%\", type)\n )\n .descriptor(FunctionDescriptor.builder()\n .name(\"field_\" + type)\n .params(ImmutableList.of(\n string(\"field\").description(\"Field to check\").build()\n ))\n .returnType(Void.class)\n .description(\"Checks whether the value in the given field is a \" + type)\n .ruleBuilderEnabled()\n .ruleBuilderName(\"Field is \" + type)\n .ruleBuilderTitle(\"Check if value in '${field}' is a \" + type)\n .ruleBuilderFunctionGroup(RuleBuilderFunctionGroup.BOOLEAN)\n .build())\n .isCondition()\n .build();\n }\n\n RuleFragment createCheckFieldType(String type) {\n return RuleFragment.builder()\n .fragment(\"<#if attemptConversion!false>is_%type%(to_%type%($message.${field}))<#else>is_%type%($message.${field})\"\n .replace(\"%type%\", type)\n )\n .descriptor(FunctionDescriptor.builder()\n .name(\"field_\" + type)\n .params(ImmutableList.of(\n string(\"field\").description(\"Field to check\").build(),\n bool(\"attemptConversion\").optional().description(\"If set the check will also try if the field could be converted to a \" + type + \" using the to_\" + type + \" method\").build()\n ))\n .returnType(Void.class)\n .description(\"Checks whether the value in the given field is a \" + type)\n .ruleBuilderEnabled()\n .ruleBuilderName(\"Field is \" + type)\n .ruleBuilderTitle(\"Check if value in '${field}' is a \" + type)\n .ruleBuilderFunctionGroup(RuleBuilderFunctionGroup.BOOLEAN)\n .build())\n .isCondition()\n .build();\n }\n\n RuleFragment createCheckFieldTypeConversionParam(String type) {\n return RuleFragment.builder()\n .fragment((\"is_%type%(\" +\n \" value: $message.${field}<#if attemptConversion!false>,\" +\n \" attemptConversion: true\" +\n \")\")\n .replace(\"%type%\", type)\n )\n .descriptor(FunctionDescriptor.builder()\n .name(\"field_\" + type)\n .params(ImmutableList.of(\n string(\"field\").description(\"Field to check\").build(),\n bool(\"attemptConversion\").optional().description(\"If set the check will also try if the field's string representation represents a \" + type).build()\n ))\n .returnType(Void.class)\n .description(\"Checks whether the value in the given field is a \" + type)\n .ruleBuilderEnabled()\n .ruleBuilderName(\"Field is \" + type)\n .ruleBuilderTitle(\"Check if value in '${field}' is a \" + type)\n .ruleBuilderFunctionGroup(RuleBuilderFunctionGroup.BOOLEAN)\n .build())\n .isCondition()\n .build();\n }\n\n RuleFragment createCheckDateField() {\n return RuleFragment.builder()\n .fragment(\"\"\"\n is_date(\n <#if pattern??>\n value: parse_date(to_string($message.${field}), ${pattern})\n <#else>\n value: $message.${field}\n \n )\"\"\")\n .descriptor(FunctionDescriptor.builder()\n .name(\"field_date\")\n .params(ImmutableList.of(\n string(\"field\").description(\"Field to check\").build(),\n string(\"pattern\").optional().description(\"Date pattern (see parse_date)\").build()\n ))\n .returnType(Void.class)\n .description(\"Checks whether the value in the given field is a date, optionally by first trying to parse it.\")\n .ruleBuilderEnabled()\n .ruleBuilderName(\"Field is date\")\n .ruleBuilderTitle(\"Check if value in '${field}' is a date\")\n .ruleBuilderFunctionGroup(RuleBuilderFunctionGroup.BOOLEAN)\n .build())\n .isCondition()\n .build();\n }\n\n RuleFragment createCIDRMatchField() {\n return RuleFragment.builder()\n .fragment(\"\"\"\n (\n is_ip(to_ip($message.${field})) &&\n cidr_match(\n ip: to_ip($message.${field}),\n cidr: ${cidr}\n )\n )\"\"\")\n .descriptor(FunctionDescriptor.builder()\n .name(\"field_cidr\")\n .params(ImmutableList.of(\n string(\"field\").description(\"Field to check\").build(),\n string(\"cidr\").description(\"Date pattern (see parse_date)\").build()\n ))\n .returnType(Void.class)\n .description(\"Checks whether the value in the given field is an IP and matches the given cidr subnet mask.\")\n .ruleBuilderEnabled()\n .ruleBuilderName(\"Field matches CIDR\")\n .ruleBuilderTitle(\"Check if value in '${field}' is an IP and matches '${cidr}' subnet mask\")\n .ruleBuilderFunctionGroup(RuleBuilderFunctionGroup.BOOLEAN)\n .build())\n .isCondition()\n .build();\n }\n\n RuleFragment createStringContainsField() {\n return RuleFragment.builder()\n .fragment(\"\"\"\n contains(\n value: to_string($message.${field}),\n search: ${search}<#if ignoreCase??>,\n ignore_case: ${ignoreCase?c}\n )\"\"\")\n .descriptor(FunctionDescriptor.builder()\n .name(\"field_contains\")\n .params(ImmutableList.of(\n string(\"field\").description(\"Field to check\").build(),\n string(\"search\").description(\"The substring to find\").build(),\n bool(\"ignoreCase\").optional().description(\"Whether to search case insensitive, defaults to false\").build()\n ))\n .returnType(Void.class)\n .description(\"Checks if the field value's string representation contains the given substring.\")\n .ruleBuilderEnabled()\n .ruleBuilderName(\"Field contains\")\n .ruleBuilderTitle(\"Check if string value in '${field}' contains '${search}' <#if ignoreCase??>(ignore case: ${ignoreCase?c})\")\n .ruleBuilderFunctionGroup(RuleBuilderFunctionGroup.BOOLEAN)\n .build())\n .isCondition()\n .build();\n }\n\n RuleFragment createStringStartsWithField() {\n return RuleFragment.builder()\n .fragment(\"\"\"\n starts_with(\n value: to_string($message.${field}),\n prefix: ${search}<#if ignoreCase??>,\n ignore_case: ${ignoreCase?c}\n )\"\"\")\n .descriptor(FunctionDescriptor.builder()\n .name(\"field_starts_with\")\n .params(ImmutableList.of(\n string(\"field\").description(\"Field to check\").build(),\n string(\"search\").description(\"The substring to find\").build(),\n bool(\"ignoreCase\").optional().description(\"Whether to search case insensitive, defaults to false\").build()\n ))\n .returnType(Void.class)\n .description(\"Checks if the field value's string representation starts with the given substring.\")\n .ruleBuilderEnabled()\n .ruleBuilderName(\"Field starts with\")\n .ruleBuilderTitle(\"Check if string value in '${field}' starts with '${search}' <#if ignoreCase??>(ignore case: ${ignoreCase?c})\")\n .ruleBuilderFunctionGroup(RuleBuilderFunctionGroup.BOOLEAN)\n .build())\n .isCondition()\n .build();\n }\n\n RuleFragment createStringEndsWithField() {\n return RuleFragment.builder()\n .fragment(\"\"\"\n ends_with(\n value: to_string($message.${field}),\n suffix: ${search}<#if ignoreCase??>,\n ignore_case: ${ignoreCase?c}\n )\"\"\")\n .descriptor(FunctionDescriptor.builder()\n .name(\"field_ends_with\")\n .params(ImmutableList.of(\n string(\"field\").description(\"Field to check\").build(),\n string(\"search\").description(\"The substring to find\").build(),\n bool(\"ignoreCase\").optional().description(\"Whether to search case insensitive, defaults to false\").build()\n ))\n .returnType(Void.class)\n .description(\"Checks if the field value's string representation ends with the given substring.\")\n .ruleBuilderEnabled()\n .ruleBuilderName(\"Field ends with\")\n .ruleBuilderTitle(\"Check if string value in '${field}' ends with '${search}' <#if ignoreCase??>(ignore case: ${ignoreCase?c})\")\n .ruleBuilderFunctionGroup(RuleBuilderFunctionGroup.BOOLEAN)\n .build())\n .isCondition()\n .build();\n }\n\n RuleFragment createGrokMatchesField() {\n return RuleFragment.builder()\n .fragment(\"\"\"\n grok(\n value: to_string($message.${field}),\n pattern: ${pattern}\n ).matches == true\"\"\")\n .descriptor(FunctionDescriptor.builder()\n .name(\"grok_matches\")\n .params(ImmutableList.of(\n string(\"field\").description(\"Field to check\").build(),\n string(\"pattern\").description(\"Grok pattern to check string against\").build()\n ))\n .returnType(Void.class)\n .description(\"Checks if the field value's string representation matches the given grok pattern.\")\n .ruleBuilderEnabled()\n .ruleBuilderName(\"Field matches grok\")\n .ruleBuilderTitle(\"Check if string value in '${field}' matches grok pattern '${pattern}'\")\n .ruleBuilderFunctionGroup(RuleBuilderFunctionGroup.BOOLEAN)\n .build())\n .isCondition()\n .build();\n }\n\n}\n" +} diff --git a/web/public/bundles/graylog/code/3433abacf3ec26aee34c461fc190494684a7114f.json b/web/public/bundles/graylog/code/3433abacf3ec26aee34c461fc190494684a7114f.json new file mode 100644 index 00000000..a776b13d --- /dev/null +++ b/web/public/bundles/graylog/code/3433abacf3ec26aee34c461fc190494684a7114f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "3433abacf3ec26aee34c461fc190494684a7114f", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/database/PersistedServiceImpl.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.database;\n\nimport com.google.common.collect.Lists;\nimport com.google.common.collect.Maps;\nimport com.mongodb.BasicDBObject;\nimport com.mongodb.DBCollection;\nimport com.mongodb.DBCursor;\nimport com.mongodb.DBObject;\nimport com.mongodb.client.MongoCollection;\nimport org.bson.Document;\nimport org.bson.types.ObjectId;\nimport org.graylog2.plugin.database.EmbeddedPersistable;\nimport org.graylog2.plugin.database.Persisted;\nimport org.graylog2.plugin.database.PersistedService;\nimport org.graylog2.plugin.database.ValidationException;\nimport org.graylog2.plugin.database.validators.ValidationResult;\nimport org.graylog2.plugin.database.validators.Validator;\nimport org.graylog2.plugin.system.NodeId;\nimport org.joda.time.DateTime;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.HashMap;\nimport java.util.List;\nimport java.util.Map;\n\n/**\n * Legacy implementation of PersistedService.\n *\n *

This implementation is being phased out in favor of Jackson-based MongoDB serialization.\n * New code should use MongoCollections instead of this class.

\n *\n * @see org.graylog2.database.MongoCollections\n */\n@Deprecated(since = \"6.2.0\", forRemoval = true)\npublic class PersistedServiceImpl implements PersistedService {\n private static final Logger LOG = LoggerFactory.getLogger(PersistedServiceImpl.class);\n public final MongoConnection mongoConnection;\n\n protected PersistedServiceImpl(MongoConnection mongoConnection) {\n this.mongoConnection = mongoConnection;\n }\n\n protected DBObject get(ObjectId id, String collectionName) {\n return collection(collectionName).findOne(new BasicDBObject(\"_id\", id));\n }\n\n protected DBObject get(Class modelClass, ObjectId id) {\n return collection(modelClass).findOne(new BasicDBObject(\"_id\", id));\n }\n\n protected DBObject get(Class modelClass, String id) {\n return get(modelClass, new ObjectId(id));\n }\n\n protected List query(DBObject query, String collectionName) {\n return query(query, collection(collectionName));\n }\n\n protected List query(DBObject query, DBCollection collection) {\n return cursorToList(collection.find(query));\n }\n\n protected List query(Class modelClass, DBObject query) {\n return query(query, collection(modelClass));\n }\n\n protected List query(Class modelClass, DBObject query, DBObject sort) {\n return cursorToList(collection(modelClass).find(query).sort(sort));\n }\n\n protected List query(Class modelClass, DBObject query, DBObject sort, int limit, int offset) {\n return cursorToList(\n collection(modelClass)\n .find(query)\n .sort(sort)\n .limit(limit)\n .skip(offset)\n );\n }\n\n protected long count(DBObject query, String collectionName) {\n return collection(collectionName).count(query);\n }\n\n protected long count(Class modelClass, DBObject query) {\n return collection(modelClass).count(query);\n }\n\n private DBCollection collection(String collectionName) {\n return mongoConnection.getDatabase().getCollection(collectionName);\n }\n\n protected DBCollection collection(Class modelClass) {\n return collection(collectionName(modelClass));\n }\n\n protected String collectionName(final Class modelClass) {\n DbEntity dbEntityAnnotation = modelClass.getAnnotation(DbEntity.class);\n if (dbEntityAnnotation == null) {\n CollectionName collectionNameAnnotation = modelClass.getAnnotation(CollectionName.class);\n if (collectionNameAnnotation == null) {\n throw new RuntimeException(\"Unable to determine collection for class \" + modelClass.getCanonicalName());\n } else {\n return collectionNameAnnotation.value();\n }\n } else {\n return dbEntityAnnotation.collection();\n }\n }\n\n protected DBCollection collection(T model) {\n return collection(model.getClass());\n }\n\n protected MongoCollection mongoCollection(final Class modelClass) {\n return mongoConnection.getMongoDatabase().getCollection(collectionName(modelClass));\n }\n\n protected List cursorToList(DBCursor cursor) {\n if (cursor == null) {\n return Collections.emptyList();\n }\n\n try {\n return Lists.newArrayList((Iterable) cursor);\n } finally {\n cursor.close();\n }\n }\n\n protected DBObject findOne(Class model, DBObject query) {\n return collection(model).findOne(query);\n }\n\n protected DBObject findOne(Class model, DBObject query, DBObject sort) {\n return collection(model).findOne(query, new BasicDBObject(), sort);\n }\n\n protected DBObject findOne(DBObject query, String collectionName) {\n return collection(collectionName).findOne(query);\n }\n\n protected DBObject findOne(DBObject query, DBObject sort, String collectioName) {\n return collection(collectioName).findOne(query, new BasicDBObject(), sort);\n }\n\n protected long totalCount(String collectionName) {\n return collection(collectionName).count();\n }\n\n protected long totalCount(Class modelClass) {\n return collection(modelClass).count();\n }\n\n @Override\n public int destroy(T model) {\n return collection(model).remove(new BasicDBObject(\"_id\", new ObjectId(model.getId()))).getN();\n }\n\n @Override\n public int destroyAll(Class modelClass) {\n return collection(modelClass).remove(new BasicDBObject()).getN();\n }\n\n protected int destroyAll(String collectionName) {\n return collection(collectionName).remove(new BasicDBObject()).getN();\n }\n\n protected int destroy(DBObject query, String collectionName) {\n return collection(collectionName).remove(query).getN();\n }\n\n protected int destroyAll(Class modelClass, DBObject query) {\n return collection(modelClass).remove(query).getN();\n }\n\n @Override\n public String save(T model) throws ValidationException {\n Map> errors = validate(model, model.getFields());\n if (!errors.isEmpty()) {\n throw new ValidationException(errors);\n }\n\n BasicDBObject doc = new BasicDBObject(model.getFields());\n doc.put(\"_id\", new ObjectId(model.getId())); // ID was created in constructor or taken from original doc already.\n\n // Do field transformations\n fieldTransformations(doc);\n\n /*\n * We are running an upsert. This means that the existing\n * document will be updated if the ID already exists and\n * a new document will be created if it doesn't.\n */\n BasicDBObject q = new BasicDBObject(\"_id\", new ObjectId(model.getId()));\n collection(model).update(q, doc, true, false);\n\n return model.getId();\n }\n\n @Override\n public String saveWithoutValidation(T model) {\n try {\n return save(model);\n } catch (ValidationException ignored) {\n return null;\n }\n }\n\n @Override\n public Map> validate(T model, Map fields) {\n return validate(model.getValidations(), fields);\n }\n\n @Override\n public Map> validate(Map validators, Map fields) {\n if (validators == null || validators.isEmpty()) {\n return Collections.emptyMap();\n }\n\n final Map> validationErrors = new HashMap<>();\n for (Map.Entry validation : validators.entrySet()) {\n Validator v = validation.getValue();\n String field = validation.getKey();\n\n try {\n ValidationResult validationResult = v.validate(fields.get(field));\n if (validationResult instanceof ValidationResult.ValidationFailed) {\n LOG.debug(\"Validation failure: [{}] on field [{}]\", v.getClass().getCanonicalName(), field);\n validationErrors.computeIfAbsent(field, k -> new ArrayList<>());\n validationErrors.get(field).add(validationResult);\n }\n } catch (Exception e) {\n final String error = \"Error while trying to validate <\" + field + \">, got exception: \" + e;\n LOG.debug(error);\n validationErrors.computeIfAbsent(field, k -> new ArrayList<>());\n validationErrors.get(field).add(new ValidationResult.ValidationFailed(error));\n }\n }\n\n return validationErrors;\n }\n\n @Override\n public Map> validate(T model) {\n return validate(model, model.getFields());\n }\n\n protected void embed(T model, String key, EmbeddedPersistable o) throws ValidationException {\n Map> errors = validate(model.getEmbeddedValidations(key), o.getPersistedFields());\n if (!errors.isEmpty()) {\n throw new ValidationException(errors);\n }\n\n Map fields = Maps.newHashMap(o.getPersistedFields());\n fieldTransformations(fields);\n\n BasicDBObject dbo = new BasicDBObject(fields);\n collection(model).update(new BasicDBObject(\"_id\", new ObjectId(model.getId())), new BasicDBObject(\"$push\", new BasicDBObject(key, dbo)));\n }\n\n protected void removeEmbedded(T model, String key, String searchId) {\n BasicDBObject aryQry = new BasicDBObject(\"id\", searchId);\n BasicDBObject qry = new BasicDBObject(\"_id\", new ObjectId(model.getId()));\n BasicDBObject update = new BasicDBObject(\"$pull\", new BasicDBObject(key, aryQry));\n\n // http://docs.mongodb.org/manual/reference/operator/pull/\n\n collection(model).update(qry, update);\n }\n\n protected void removeEmbedded(T model, String arrayKey, String key, String searchId) {\n BasicDBObject aryQry = new BasicDBObject(arrayKey, searchId);\n BasicDBObject qry = new BasicDBObject(\"_id\", new ObjectId(model.getId()));\n BasicDBObject update = new BasicDBObject(\"$pull\", new BasicDBObject(key, aryQry));\n\n // http://docs.mongodb.org/manual/reference/operator/pull/\n\n collection(model).update(qry, update);\n }\n\n protected void fieldTransformations(Map doc) {\n for (Map.Entry x : doc.entrySet()) {\n\n // Work on embedded Maps, too.\n if (x.getValue() instanceof Map) {\n x.setValue(Maps.newHashMap((Map) x.getValue()));\n fieldTransformations((Map) x.getValue());\n continue;\n }\n\n // JodaTime DateTime is not accepted by MongoDB. Convert to java.util.Date...\n if (x.getValue() instanceof DateTime) {\n doc.put(x.getKey(), ((DateTime) x.getValue()).toDate());\n }\n\n // Our own NodeID\n if (x.getValue() instanceof NodeId nodeId) {\n doc.put(x.getKey(), nodeId.getNodeId());\n }\n }\n }\n\n}\n" +} diff --git a/web/public/bundles/graylog/code/34548971516fcb40ef4548cd6afb330da6fb80fe.json b/web/public/bundles/graylog/code/34548971516fcb40ef4548cd6afb330da6fb80fe.json new file mode 100644 index 00000000..5b48c63a --- /dev/null +++ b/web/public/bundles/graylog/code/34548971516fcb40ef4548cd6afb330da6fb80fe.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "34548971516fcb40ef4548cd6afb330da6fb80fe", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/ThrottleStateUpdaterThread.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.periodical;\n\nimport com.codahale.metrics.Gauge;\nimport com.codahale.metrics.MetricRegistry;\nimport com.github.joschi.jadconfig.util.Size;\nimport com.google.common.eventbus.EventBus;\nimport jakarta.inject.Inject;\nimport jakarta.inject.Named;\nimport org.graylog2.notifications.Notification;\nimport org.graylog2.notifications.NotificationService;\nimport org.graylog2.plugin.GlobalMetricNames;\nimport org.graylog2.plugin.ServerStatus;\nimport org.graylog2.plugin.ThrottleState;\nimport org.graylog2.plugin.periodical.Periodical;\nimport org.graylog2.shared.buffers.ProcessBuffer;\nimport org.graylog2.shared.journal.Journal;\nimport org.graylog2.shared.journal.LocalKafkaJournal;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport static org.graylog2.shared.metrics.MetricUtils.safelyRegister;\n\n/**\n * The ThrottleStateUpdater publishes the current state buffer state of the journal to other interested parties,\n * chiefly the ThrottleableTransports.\n *

\n *

\n * It only includes the necessary information to make a decision about whether to throttle parts of the system,\n * but does not send \"throttle\" commands. This allows for a flexible approach in picking a throttling strategy.\n *

\n *

\n * The implementation expects to be called once per second to have a rough estimate about the events per second,\n * over the last second.\n *

\n */\npublic class ThrottleStateUpdaterThread extends Periodical {\n private static final Logger log = LoggerFactory.getLogger(ThrottleStateUpdaterThread.class);\n private final LocalKafkaJournal journal;\n private final ProcessBuffer processBuffer;\n private final EventBus eventBus;\n private final Size retentionSize;\n private final NotificationService notificationService;\n private final ServerStatus serverStatus;\n\n private boolean firstRun = true;\n private long logEndOffset;\n private long currentReadOffset;\n private long currentTs;\n private ThrottleState throttleState;\n\n @Inject\n public ThrottleStateUpdaterThread(final Journal journal,\n ProcessBuffer processBuffer,\n EventBus eventBus,\n NotificationService notificationService,\n ServerStatus serverStatus,\n MetricRegistry metricRegistry,\n @Named(\"message_journal_max_size\") Size retentionSize) {\n this.processBuffer = processBuffer;\n this.eventBus = eventBus;\n this.retentionSize = retentionSize;\n this.notificationService = notificationService;\n this.serverStatus = serverStatus;\n // leave this.journal null, we'll say \"don't start\" in that case, see startOnThisNode() below.\n if (journal instanceof LocalKafkaJournal kafkaJournal) {\n this.journal = kafkaJournal;\n } else {\n this.journal = null;\n }\n throttleState = new ThrottleState();\n\n // Note: JOURNAL_SEGMENTS, JOURNAL_UNCOMMITTED_ENTRIES, JOURNAL_SIZE, JOURNAL_SIZE_LIMIT,\n // and JOURNAL_UTILIZATION_RATIO are now registered in LocalKafkaJournal\n // The append- and read-rate cannot be moved there, as this thread keeps track of the previous values.\n safelyRegister(metricRegistry,\n GlobalMetricNames.JOURNAL_APPEND_RATE,\n new Gauge() {\n @Override\n public Long getValue() {\n return throttleState.appendEventsPerSec;\n }\n });\n safelyRegister(metricRegistry,\n GlobalMetricNames.JOURNAL_READ_RATE,\n new Gauge() {\n @Override\n public Long getValue() {\n return throttleState.readEventsPerSec;\n }\n });\n }\n\n @Override\n public boolean runsForever() {\n return false;\n }\n\n @Override\n public boolean stopOnGracefulShutdown() {\n return true;\n }\n\n @Override\n public boolean leaderOnly() {\n return false;\n }\n\n @Override\n public boolean startOnThisNode() {\n // don't start if we don't have the KafkaJournal\n return journal != null;\n }\n\n @Override\n public boolean isDaemon() {\n return true;\n }\n\n @Override\n public int getInitialDelaySeconds() {\n return 1;\n }\n\n @Override\n public int getPeriodSeconds() {\n return 1;\n }\n\n @Override\n protected Logger getLogger() {\n return log;\n }\n\n @Override\n public void doRun() {\n throttleState = new ThrottleState(throttleState);\n final long committedOffset = journal.getCommittedOffset();\n\n // TODO there's a lot of duplication around this class. Probably should be refactored a bit.\n // also update metrics for each of the values, so clients can get to it cheaply\n\n long prevTs = currentTs;\n currentTs = System.nanoTime();\n\n long previousLogEndOffset = logEndOffset;\n long previousReadOffset = currentReadOffset;\n long logStartOffset = journal.getLogStartOffset();\n logEndOffset = journal.getLogEndOffset() - 1; // -1 because getLogEndOffset is the next offset that gets assigned\n currentReadOffset = journal.getNextReadOffset() - 1; // just to make it clear which field we read\n\n // for the first run, don't send an update, there's no previous data available to calc rates\n if (firstRun) {\n firstRun = false;\n return;\n }\n\n throttleState.appendEventsPerSec = (long) Math.floor((logEndOffset - previousLogEndOffset) / ((currentTs - prevTs) / 1.0E09));\n throttleState.readEventsPerSec = (long) Math.floor((currentReadOffset - previousReadOffset) / ((currentTs - prevTs) / 1.0E09));\n\n throttleState.journalSize = journal.size();\n throttleState.journalSizeLimit = retentionSize.toBytes();\n\n throttleState.processBufferCapacity = processBuffer.getRemainingCapacity();\n\n if (committedOffset == LocalKafkaJournal.DEFAULT_COMMITTED_OFFSET) {\n // nothing committed at all, the entire log is uncommitted, or completely empty.\n throttleState.uncommittedJournalEntries = journal.size() == 0 ? 0 : logEndOffset - logStartOffset;\n } else {\n throttleState.uncommittedJournalEntries = logEndOffset - committedOffset;\n }\n log.debug(\"ThrottleState: {}\", throttleState);\n\n // the journal needs this to provide information to rest clients\n journal.setThrottleState(throttleState);\n\n // publish to interested parties\n eventBus.post(throttleState);\n\n // Abusing the current thread to send notifications from KafkaJournal in the graylog2-shared module\n final double journalUtilizationPercentage = journal.getJournalUtilization().orElse(0.0);\n\n if (journalUtilizationPercentage > LocalKafkaJournal.NOTIFY_ON_UTILIZATION_PERCENTAGE) {\n Notification notification = notificationService.buildNow()\n .addNode(serverStatus.getNodeId().toString())\n .addType(Notification.Type.JOURNAL_UTILIZATION_TOO_HIGH)\n .addSeverity(Notification.Severity.URGENT)\n .addDetail(\"journal_utilization_percentage\", journalUtilizationPercentage);\n notificationService.publishIfFirst(notification);\n }\n\n if (journal.getPurgedSegmentsInLastRetention() > 0) {\n Notification notification = notificationService.buildNow()\n .addNode(serverStatus.getNodeId().toString())\n .addType(Notification.Type.JOURNAL_UNCOMMITTED_MESSAGES_DELETED)\n .addSeverity(Notification.Severity.URGENT);\n notificationService.publishIfFirst(notification);\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/355c96b824f61752de935ffe0dfd009627d2555a.json b/web/public/bundles/graylog/code/355c96b824f61752de935ffe0dfd009627d2555a.json new file mode 100644 index 00000000..2691753f --- /dev/null +++ b/web/public/bundles/graylog/code/355c96b824f61752de935ffe0dfd009627d2555a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "355c96b824f61752de935ffe0dfd009627d2555a", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20190730100900_AddAlertsManagerRole.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.migrations;\n\nimport com.google.common.collect.ImmutableSet;\nimport org.graylog2.shared.security.RestPermissions;\n\nimport jakarta.inject.Inject;\n\nimport java.time.ZonedDateTime;\n\npublic class V20190730100900_AddAlertsManagerRole extends Migration {\n private final MigrationHelpers helpers;\n\n @Inject\n public V20190730100900_AddAlertsManagerRole(MigrationHelpers helpers) {\n this.helpers = helpers;\n }\n\n @Override\n public ZonedDateTime createdAt() {\n return ZonedDateTime.parse(\"2019-07-30T10:09:00Z\");\n }\n\n @Override\n public void upgrade() {\n helpers.ensureBuiltinRole(\"Alerts Manager\", \"Allows reading and writing all event definitions and event notifications (built-in)\", ImmutableSet.of(\n RestPermissions.EVENT_DEFINITIONS_CREATE,\n RestPermissions.EVENT_DEFINITIONS_DELETE,\n RestPermissions.EVENT_DEFINITIONS_EDIT,\n RestPermissions.EVENT_DEFINITIONS_EXECUTE,\n RestPermissions.EVENT_DEFINITIONS_READ,\n RestPermissions.EVENT_NOTIFICATIONS_CREATE,\n RestPermissions.EVENT_NOTIFICATIONS_DELETE,\n RestPermissions.EVENT_NOTIFICATIONS_EDIT,\n RestPermissions.EVENT_NOTIFICATIONS_READ\n ));\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/361daa0f9dd32d1cdd8b8c16455a5425fc426dae.json b/web/public/bundles/graylog/code/361daa0f9dd32d1cdd8b8c16455a5425fc426dae.json new file mode 100644 index 00000000..491cd8b8 --- /dev/null +++ b/web/public/bundles/graylog/code/361daa0f9dd32d1cdd8b8c16455a5425fc426dae.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "361daa0f9dd32d1cdd8b8c16455a5425fc426dae", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/lock/RefreshingLockService.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.cluster.lock;\n\nimport jakarta.inject.Inject;\nimport jakarta.inject.Named;\n\nimport java.time.Duration;\nimport java.util.Optional;\nimport java.util.concurrent.ScheduledExecutorService;\nimport java.util.concurrent.ScheduledFuture;\nimport java.util.concurrent.TimeUnit;\n\nimport static com.google.common.base.Preconditions.checkArgument;\nimport static com.google.common.base.Preconditions.checkState;\nimport static com.google.common.base.Strings.isNullOrEmpty;\nimport static org.graylog2.shared.utilities.StringUtils.f;\n\n/**\n * Service that can be used to acquire a {@link Lock} that will be refreshed periodically in a background thread.\n * Each instance of the service needs to be closed to release the lock.\n */\npublic class RefreshingLockService implements AutoCloseable {\n public interface Factory {\n RefreshingLockService create();\n }\n\n private final LockService lockService;\n private final ScheduledExecutorService scheduler;\n private final Duration lockTTL;\n private ScheduledFuture lockRefreshFuture;\n private Lock lock;\n\n @Inject\n public RefreshingLockService(LockService lockService,\n @Named(\"daemonScheduler\") ScheduledExecutorService scheduler,\n @Named(\"lock_service_lock_ttl\") Duration lockTTL) {\n this.lockService = lockService;\n this.scheduler = scheduler;\n this.lockTTL = lockTTL;\n }\n\n /**\n * Lock the given resource and ensure that only the given number of locks for the resource exist in the cluster.\n *\n * @param resource the resource to lock\n * @param maxConcurrency maximum number of locks for the resource\n * @throws AlreadyLockedException when the resource couldn't be locked\n */\n public void acquireAndKeepLock(String resource, int maxConcurrency) throws AlreadyLockedException {\n assertNoLockYet();\n final var newLock = lockService.lock(resource, maxConcurrency)\n .orElseThrow(() -> new AlreadyLockedException(f(\"Could not acquire lock for resource <%s> with max concurrency <%d>\", resource, maxConcurrency)));\n scheduleLock(newLock);\n }\n\n /**\n * Lock the given resource exclusively.\n *\n * @param resource the resource to lock\n * @param lockContext the identifier for the exclusive lock\n * @throws AlreadyLockedException when the resource couldn't be locked\n */\n public void acquireAndKeepLock(String resource, String lockContext) throws AlreadyLockedException {\n assertNoLockYet();\n checkArgument(!isNullOrEmpty(lockContext), \"lockContext cannot be blank\");\n final var newLock = lockService.lock(resource, lockContext)\n .orElseThrow(() -> new AlreadyLockedException(f(\"Could not acquire lock for resource <%s> and lock context <%s>\", resource, lockContext)));\n scheduleLock(newLock);\n }\n\n private void assertNoLockYet() {\n checkState(lock == null, \"Unable to acquire new lock, already holding lock that would get lost: \" + lock);\n }\n\n private void scheduleLock(Lock newLock) {\n lock = newLock;\n Duration duration = lockTTL.minusSeconds(30);\n if (duration.isNegative() || duration.isZero()) {\n duration = Duration.ofSeconds(1);\n }\n lockRefreshFuture = scheduler.scheduleAtFixedRate(() -> refreshLock(lock), duration.toMillis(), duration.toMillis(), TimeUnit.MILLISECONDS);\n }\n\n /**\n * Release the lock.\n */\n public void releaseLock() {\n if (lockRefreshFuture != null) {\n lockRefreshFuture.cancel(true);\n lockRefreshFuture = null;\n }\n if (lock != null) {\n lockService.unlock(lock);\n lock = null;\n }\n }\n\n private void refreshLock(Lock lock) {\n final Optional newLock = lockService.extendLock(lock);\n if (newLock.isEmpty()) {\n throw new RuntimeException(\"Failed to refresh lock. This should not happen!\");\n }\n }\n\n /**\n * Release the lock.\n */\n @Override\n public void close() {\n releaseLock();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/363b38598937155ca8b57e40f6f3f347df812cdf.json b/web/public/bundles/graylog/code/363b38598937155ca8b57e40f6f3f347df812cdf.json new file mode 100644 index 00000000..b86168b4 --- /dev/null +++ b/web/public/bundles/graylog/code/363b38598937155ca8b57e40f6f3f347df812cdf.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "363b38598937155ca8b57e40f6f3f347df812cdf", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/rest/contexts/SearchUserFactory.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.views.search.rest.contexts;\n\nimport org.apache.shiro.subject.Subject;\nimport org.glassfish.hk2.api.Factory;\nimport org.glassfish.hk2.api.ServiceLocator;\nimport org.graylog.plugins.views.search.permissions.SearchUser;\nimport org.graylog.plugins.views.search.rest.PermittedStreams;\nimport org.graylog.plugins.views.search.views.ViewResolver;\nimport org.graylog.security.UserContext;\nimport org.graylog2.shared.security.ShiroPrincipal;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport jakarta.inject.Inject;\n\nimport jakarta.ws.rs.core.SecurityContext;\n\nimport java.security.Principal;\nimport java.util.Map;\n\npublic class SearchUserFactory implements Factory {\n private static final Logger LOG = LoggerFactory.getLogger(SearchUserFactory.class);\n\n private final ServiceLocator serviceLocator;\n private final PermittedStreams permittedStreams;\n private final Map viewResolvers;\n\n @Inject\n public SearchUserFactory(ServiceLocator serviceLocator, PermittedStreams permittedStreams,\n Map viewResolvers) {\n this.serviceLocator = serviceLocator;\n this.permittedStreams = permittedStreams;\n this.viewResolvers = viewResolvers;\n }\n\n @Override\n public SearchUser provide() {\n final UserContext userContext = serviceLocator.getService(UserContext.class);\n final SecurityContext securityContext = serviceLocator.getService(SecurityContext.class);\n final Subject subject = getSubject(securityContext);\n return new SearchUser(\n userContext.getUser(),\n subject::isPermitted,\n (perm, id) -> subject.isPermitted(perm + \":\" + id),\n permittedStreams,\n viewResolvers);\n }\n\n protected Subject getSubject(SecurityContext securityContext) {\n if (securityContext == null) {\n LOG.error(\"Cannot retrieve current subject, SecurityContext isn't set.\");\n return null;\n }\n\n final Principal p = securityContext.getUserPrincipal();\n if (!(p instanceof ShiroPrincipal)) {\n final String msg = \"Unknown SecurityContext class \" + securityContext + \", cannot continue.\";\n LOG.error(msg);\n throw new IllegalStateException(msg);\n }\n\n final ShiroPrincipal principal = (ShiroPrincipal) p;\n return principal.getSubject();\n }\n\n @Override\n public void dispose(SearchUser searchUser) {\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/3659904ce19c4b573d564b84f4f0466b9fa85e64.json b/web/public/bundles/graylog/code/3659904ce19c4b573d564b84f4f0466b9fa85e64.json new file mode 100644 index 00000000..fb7a6d88 --- /dev/null +++ b/web/public/bundles/graylog/code/3659904ce19c4b573d564b84f4f0466b9fa85e64.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "3659904ce19c4b573d564b84f4f0466b9fa85e64", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/tools/responses/PageListResponse.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.models.tools.responses;\n\nimport com.fasterxml.jackson.annotation.JsonAutoDetect;\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.google.auto.value.AutoValue;\nimport org.graylog2.database.PaginatedList;\nimport org.graylog2.rest.models.SortOrder;\nimport org.graylog2.rest.resources.entities.EntityAttribute;\nimport org.graylog2.rest.resources.entities.EntityDefaults;\n\nimport javax.annotation.Nullable;\nimport java.util.List;\n\n@JsonAutoDetect\n@AutoValue\npublic abstract class PageListResponse {\n\n public static final String ELEMENTS_FIELD_NAME = \"elements\";\n public static final String TOTAL_FIELD_NAME = \"total\";\n public static final String QUERY_FIELD_NAME = \"query\";\n public static final String PAGINATION_FIELD_NAME = \"pagination\";\n public static final String SORT_FIELD_NAME = \"sort\";\n public static final String ORDER_FIELD_NAME = \"order\";\n public static final String ATTRIBUTES_FIELD_NAME = \"attributes\";\n public static final String DEFAULTS_FIELD_NAME = \"defaults\";\n\n @Nullable\n @JsonProperty(QUERY_FIELD_NAME)\n public abstract String query();\n\n @JsonProperty(PAGINATION_FIELD_NAME)\n public abstract PaginatedList.PaginationInfo paginationInfo();\n\n @JsonProperty(TOTAL_FIELD_NAME)\n public abstract long total();\n\n @Nullable\n @JsonProperty(SORT_FIELD_NAME)\n public abstract String sort();\n\n @Nullable\n @JsonProperty(ORDER_FIELD_NAME)\n public abstract SortOrder order();\n\n @JsonProperty(ELEMENTS_FIELD_NAME)\n public abstract List elements();\n\n @JsonProperty(ATTRIBUTES_FIELD_NAME)\n public abstract List attributes();\n\n @JsonProperty(DEFAULTS_FIELD_NAME)\n public abstract EntityDefaults defaults();\n\n @JsonCreator\n public static PageListResponse create(\n @JsonProperty(QUERY_FIELD_NAME) @Nullable String query,\n @JsonProperty(PAGINATION_FIELD_NAME) PaginatedList.PaginationInfo paginationInfo,\n @JsonProperty(TOTAL_FIELD_NAME) long total,\n @JsonProperty(SORT_FIELD_NAME) @Nullable String sort,\n @JsonProperty(ORDER_FIELD_NAME) @Nullable SortOrder order,\n @JsonProperty(ELEMENTS_FIELD_NAME) List elements,\n @JsonProperty(ATTRIBUTES_FIELD_NAME) List attributes,\n @JsonProperty(DEFAULTS_FIELD_NAME) EntityDefaults defaults) {\n return new AutoValue_PageListResponse<>(query, paginationInfo, total, sort, order, elements, attributes, defaults);\n }\n\n public static PageListResponse create(\n @JsonProperty(QUERY_FIELD_NAME) @Nullable String query,\n @JsonProperty(PAGINATION_FIELD_NAME) PaginatedList.PaginationInfo paginationInfo,\n @JsonProperty(TOTAL_FIELD_NAME) long total,\n @JsonProperty(SORT_FIELD_NAME) @Nullable String sort,\n @JsonProperty(ORDER_FIELD_NAME) @Nullable String order,\n @JsonProperty(ELEMENTS_FIELD_NAME) List elements,\n @JsonProperty(ATTRIBUTES_FIELD_NAME) List attributes,\n @JsonProperty(DEFAULTS_FIELD_NAME) EntityDefaults defaults) {\n return new AutoValue_PageListResponse<>(query, paginationInfo, total, sort,\n order == null ? null : SortOrder.fromString(order), elements, attributes, defaults);\n }\n\n public static PageListResponse create(\n @Nullable String query,\n final PaginatedList paginatedList,\n @Nullable String sort,\n @Nullable String order,\n List attributes,\n EntityDefaults defaults) {\n return new AutoValue_PageListResponse<>(query, paginatedList.pagination(), paginatedList.pagination().total(),\n sort, order == null ? null : SortOrder.fromString(order), paginatedList, attributes, defaults);\n }\n\n}\n" +} diff --git a/web/public/bundles/graylog/code/36d816fe8a0227b3b8eb8251ddf3808596dbbb5b.json b/web/public/bundles/graylog/code/36d816fe8a0227b3b8eb8251ddf3808596dbbb5b.json new file mode 100644 index 00000000..e72cbec1 --- /dev/null +++ b/web/public/bundles/graylog/code/36d816fe8a0227b3b8eb8251ddf3808596dbbb5b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "36d816fe8a0227b3b8eb8251ddf3808596dbbb5b", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/users/RoleImpl.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.users;\n\nimport com.fasterxml.jackson.annotation.JsonIgnore;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport org.graylog2.shared.users.Role;\nimport org.mongojack.Id;\n\nimport javax.annotation.Nullable;\n\nimport jakarta.validation.constraints.NotNull;\n\nimport java.util.Locale;\nimport java.util.Objects;\nimport java.util.Set;\n\npublic final class RoleImpl implements Role {\n @Id\n @org.mongojack.ObjectId\n @JsonProperty(\"id\")\n public String _id;\n\n @NotNull\n public String name;\n\n @NotNull\n public Set permissions;\n\n @Nullable\n private String description;\n\n // readOnly is never set from the outside, except for the two built-in roles \"Admin\" and \"Reader\"\n private boolean readOnly = false;\n\n @JsonProperty\n public String nameLower() {\n return name.toLowerCase(Locale.ENGLISH);\n }\n\n @JsonProperty\n public void setNameLower(String ignored) {\n // ignored\n }\n\n @Override\n @JsonIgnore\n public String getId() {\n return _id;\n }\n\n @Override\n public String getName() {\n return name;\n }\n\n @Override\n public void setName(String name) {\n this.name = name;\n }\n\n @Override\n @JsonProperty\n @Nullable\n public String getDescription() {\n return description;\n }\n\n @Override\n public void setDescription(@Nullable String description) {\n this.description = description;\n }\n\n @Override\n public Set getPermissions() {\n return permissions;\n }\n\n @Override\n public void setPermissions(Set permissions) {\n this.permissions = permissions;\n }\n\n @Override\n @JsonProperty\n public boolean isReadOnly() {\n return readOnly;\n }\n\n public void setReadOnly(boolean readOnly) {\n this.readOnly = readOnly;\n }\n\n @Override\n public boolean equals(Object o) {\n if (this == o) return true;\n if (o == null || getClass() != o.getClass()) return false;\n RoleImpl role = (RoleImpl) o;\n return readOnly == role.readOnly &&\n Objects.equals(_id, role._id) &&\n Objects.equals(name, role.name) &&\n Objects.equals(permissions, role.permissions) &&\n Objects.equals(description, role.description);\n }\n\n @Override\n public int hashCode() {\n return Objects.hash(_id, name, permissions, description, readOnly);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/37ec82ee7fa360fd20c733015bc54c1e2dfecc32.json b/web/public/bundles/graylog/code/37ec82ee7fa360fd20c733015bc54c1e2dfecc32.json new file mode 100644 index 00000000..0e9c1d7f --- /dev/null +++ b/web/public/bundles/graylog/code/37ec82ee7fa360fd20c733015bc54c1e2dfecc32.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "37ec82ee7fa360fd20c733015bc54c1e2dfecc32", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/RunsWithDataNodeDiscoveryProvider.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.configuration;\n\nimport com.google.common.base.Suppliers;\nimport org.graylog2.bootstrap.preflight.PreflightConfigResult;\nimport org.graylog2.bootstrap.preflight.PreflightConfigService;\nimport org.graylog2.cluster.Node;\nimport org.graylog2.cluster.nodes.DataNodeDto;\nimport org.graylog2.cluster.nodes.NodeService;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport jakarta.inject.Inject;\nimport jakarta.inject.Provider;\n\nimport java.net.URI;\nimport java.util.List;\nimport java.util.function.Supplier;\nimport java.util.stream.Collectors;\n\n\npublic class RunsWithDataNodeDiscoveryProvider implements Provider {\n\n private static final Logger LOG = LoggerFactory.getLogger(RunsWithDataNodeDiscoveryProvider.class);\n private final PreflightConfigService preflightConfigService;\n private final NodeService nodeService;\n\n private final Supplier resultsCachingSupplier;\n\n @Inject\n public RunsWithDataNodeDiscoveryProvider(\n PreflightConfigService preflightConfigService,\n NodeService nodeService) {\n this.preflightConfigService = preflightConfigService;\n this.nodeService = nodeService;\n this.resultsCachingSupplier = Suppliers.memoize(this::doGet);\n }\n\n @Override\n public Boolean get() {\n return resultsCachingSupplier.get();\n }\n\n private Boolean doGet() {\n final PreflightConfigResult preflightResult = preflightConfigService.getPreflightConfigResult();\n\n // if preflight is finished, we assume that there will be some datanode registered via node-service.\n if (preflightResult == PreflightConfigResult.FINISHED) {\n final List discovered = discover();\n if (!discovered.isEmpty()) {\n LOG.debug(\"Running with DataNode(s).\");\n return Boolean.TRUE;\n }\n }\n LOG.debug(\"Not running with DataNode(s).\");\n return Boolean.FALSE;\n }\n\n private List discover() {\n return nodeService.allActive().values().stream()\n .map(Node::getTransportAddress)\n .map(URI::create)\n .collect(Collectors.toList());\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/381b78c0bc1b62394da91cc291202bcdf7952a68.json b/web/public/bundles/graylog/code/381b78c0bc1b62394da91cc291202bcdf7952a68.json new file mode 100644 index 00000000..00107e2c --- /dev/null +++ b/web/public/bundles/graylog/code/381b78c0bc1b62394da91cc291202bcdf7952a68.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "381b78c0bc1b62394da91cc291202bcdf7952a68", + "language": "java", + "path": "data-node/src/main/java/org/graylog/datanode/opensearch/statemachine/tracer/ClusterNodeStateTracer.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.datanode.opensearch.statemachine.tracer;\n\nimport jakarta.inject.Inject;\nimport org.graylog.datanode.opensearch.statemachine.OpensearchEvent;\nimport org.graylog.datanode.opensearch.statemachine.OpensearchState;\nimport org.graylog.datanode.process.statemachine.tracer.StateMachineTracer;\nimport org.graylog2.cluster.NodeNotFoundException;\nimport org.graylog2.cluster.nodes.DataNodeDto;\nimport org.graylog2.cluster.nodes.NodeService;\nimport org.graylog2.datanode.DataNodeLifecycleTrigger;\nimport org.graylog2.plugin.system.NodeId;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\npublic class ClusterNodeStateTracer implements StateMachineTracer {\n\n private final Logger log = LoggerFactory.getLogger(ClusterNodeStateTracer.class);\n\n private final NodeService nodeService;\n private final NodeId nodeId;\n\n @Inject\n public ClusterNodeStateTracer(NodeService nodeService, NodeId nodeId) {\n this.nodeService = nodeService;\n this.nodeId = nodeId;\n }\n\n @Override\n public void trigger(OpensearchEvent processEvent) {\n }\n\n @Override\n public void transition(OpensearchEvent processEvent, OpensearchState source, OpensearchState destination) {\n try {\n if (!source.equals(destination)) {\n log.info(\"Updating cluster node {} from {} to {} (reason: {})\", nodeId.getNodeId(),\n source.getDataNodeStatus(), destination.getDataNodeStatus(), processEvent.name());\n DataNodeDto node = nodeService.byNodeId(nodeId);\n nodeService.update(node.toBuilder()\n .setDataNodeStatus(destination.getDataNodeStatus())\n .setActionQueue(DataNodeLifecycleTrigger.CLEAR)\n .build());\n }\n } catch (NodeNotFoundException e) {\n throw new RuntimeException(\"Node not registered, this should not happen.\");\n }\n }\n\n}\n" +} diff --git a/web/public/bundles/graylog/code/38d99de4fe72da5e99a2653e44ab7568f23231f0.json b/web/public/bundles/graylog/code/38d99de4fe72da5e99a2653e44ab7568f23231f0.json new file mode 100644 index 00000000..1364a6c5 --- /dev/null +++ b/web/public/bundles/graylog/code/38d99de4fe72da5e99a2653e44ab7568f23231f0.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "38d99de4fe72da5e99a2653e44ab7568f23231f0", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/aws/transports/KinesisShardProcessorFactory.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.integrations.aws.transports;\n\nimport com.fasterxml.jackson.databind.ObjectMapper;\nimport com.github.rholder.retry.Attempt;\nimport com.github.rholder.retry.RetryException;\nimport com.github.rholder.retry.RetryListener;\nimport com.github.rholder.retry.Retryer;\nimport com.github.rholder.retry.RetryerBuilder;\nimport com.github.rholder.retry.StopStrategies;\nimport com.github.rholder.retry.WaitStrategies;\nimport org.graylog.integrations.aws.AWSMessageType;\nimport org.graylog2.plugin.journal.RawMessage;\nimport org.joda.time.DateTime;\nimport org.joda.time.DateTimeZone;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport software.amazon.kinesis.exceptions.InvalidStateException;\nimport software.amazon.kinesis.exceptions.ShutdownException;\nimport software.amazon.kinesis.exceptions.ThrottlingException;\nimport software.amazon.kinesis.lifecycle.events.InitializationInput;\nimport software.amazon.kinesis.lifecycle.events.LeaseLostInput;\nimport software.amazon.kinesis.lifecycle.events.ProcessRecordsInput;\nimport software.amazon.kinesis.lifecycle.events.ShardEndedInput;\nimport software.amazon.kinesis.lifecycle.events.ShutdownRequestedInput;\nimport software.amazon.kinesis.processor.RecordProcessorCheckpointer;\nimport software.amazon.kinesis.processor.ShardRecordProcessor;\nimport software.amazon.kinesis.processor.ShardRecordProcessorFactory;\nimport software.amazon.kinesis.retrieval.KinesisClientRecord;\n\nimport java.nio.ByteBuffer;\nimport java.util.Arrays;\nimport java.util.concurrent.ExecutionException;\nimport java.util.concurrent.TimeUnit;\nimport java.util.function.Consumer;\n\nimport static java.util.Objects.requireNonNull;\nimport static org.graylog2.shared.utilities.InputMessageSizeDistributor.distribute;\n\n/**\n * Runtime Kinesis consumer processor.\n * All Kinesis stream/shard consumption logic is contained within this class.\n */\npublic class KinesisShardProcessorFactory implements ShardRecordProcessorFactory {\n\n private static final Logger LOG = LoggerFactory.getLogger(KinesisShardProcessor.class);\n\n private final String kinesisStreamName;\n private final ObjectMapper objectMapper;\n private final KinesisTransport transport;\n private final Consumer handleMessageCallback;\n private final KinesisPayloadDecoder kinesisPayloadDecoder;\n\n KinesisShardProcessorFactory(ObjectMapper objectMapper,\n KinesisTransport transport,\n Consumer handleMessageCallback,\n String kinesisStreamName,\n AWSMessageType awsMessageType) {\n this.objectMapper = objectMapper;\n this.transport = transport;\n this.handleMessageCallback = requireNonNull(handleMessageCallback, \"dataHandler\");\n this.kinesisStreamName = kinesisStreamName;\n this.kinesisPayloadDecoder = new KinesisPayloadDecoder(objectMapper, awsMessageType, kinesisStreamName);\n }\n\n @Override\n public ShardRecordProcessor shardRecordProcessor() {\n return new KinesisShardProcessor();\n }\n\n public class KinesisShardProcessor implements ShardRecordProcessor {\n\n private DateTime lastCheckpoint = DateTime.now(DateTimeZone.UTC);\n\n @Override\n public void initialize(InitializationInput initializationInput) {\n LOG.debug(\"Initializing Kinesis worker for stream [{}].\", kinesisStreamName);\n }\n\n @Override\n public void processRecords(ProcessRecordsInput processRecordsInput) {\n\n LOG.debug(\"Received [{}] Kinesis events.\", processRecordsInput.records().size());\n\n // Blocking here is the only way to temporarily pause message processing.\n if (transport.isThrottled()) {\n LOG.info(\"[throttled] The Kinesis consumer will pause message processing until the throttle state clears.\");\n transport.blockUntilUnthrottled();\n LOG.info(\"[unthrottled] Kinesis consumer will now resume processing records.\");\n }\n\n for (KinesisClientRecord record : processRecordsInput.records()) {\n try {\n // Create a read-only view of the data and use a safe method to convert it to a byte array\n // as documented in KinesisClientRecord#getData(). (using ByteBuffer#array() can fail)\n final ByteBuffer dataBuffer = record.data().asReadOnlyBuffer();\n final byte[] dataBytes = new byte[dataBuffer.remaining()];\n dataBuffer.get(dataBytes);\n\n final var result =\n kinesisPayloadDecoder.processMessages(dataBytes, record.approximateArrivalTimestamp());\n\n final long[] weights = result.entries().stream()\n .mapToLong(e -> e.message().length())\n .toArray();\n final long[] sizes = distribute(result.decompressedSize(), weights);\n\n if (LOG.isTraceEnabled()) {\n LOG.trace(\"Distributing total input size {} across {} records: {}\",\n result.decompressedSize(), result.entries().size(), Arrays.toString(sizes));\n }\n\n for (int i = 0; i < result.entries().size(); i++) {\n final RawMessage raw = new RawMessage(objectMapper.writeValueAsBytes(result.entries().get(i)));\n raw.setInputMessageSize(sizes[i]);\n handleMessageCallback.accept(raw);\n }\n } catch (Exception e) {\n LOG.error(\"Could not read Kinesis record from stream [{}]\", kinesisStreamName, e);\n }\n }\n\n if (lastCheckpoint.plusMinutes(1).isBeforeNow()) {\n lastCheckpoint = DateTime.now(DateTimeZone.UTC);\n checkpoint(processRecordsInput.checkpointer(), null);\n }\n }\n\n @Override\n public void leaseLost(LeaseLostInput leaseLostInput) {\n LOG.debug(\"Lease lost.\");\n }\n\n @Override\n public void shardEnded(ShardEndedInput shardEndedInput) {\n // Checkpointing MUST be performed when the shard ends. See Javadoc on interface.\n checkpoint(shardEndedInput.checkpointer(), null);\n }\n\n @Override\n public void shutdownRequested(ShutdownRequestedInput shutdownRequestedInput) {\n LOG.debug(\"Beginning shutdown Kinesis worker for stream [{}].\", kinesisStreamName);\n checkpoint(shutdownRequestedInput.checkpointer(), null);\n }\n\n private void checkpoint(RecordProcessorCheckpointer checkpointer, String lastSequence) {\n LOG.debug(\"Checkpointing stream [{}]\", kinesisStreamName);\n final Retryer retryer = RetryerBuilder.newBuilder()\n .retryIfExceptionOfType(ThrottlingException.class)\n .withWaitStrategy(WaitStrategies.fixedWait(1, TimeUnit.SECONDS))\n .withStopStrategy(StopStrategies.stopAfterDelay(10, TimeUnit.MINUTES))\n .withRetryListener(new RetryListener() {\n @Override\n public void onRetry(Attempt attempt) {\n if (attempt.hasException()) {\n LOG.warn(\"Checkpointing stream [{}] failed, retrying. (attempt {})\", kinesisStreamName, attempt.getAttemptNumber());\n }\n }\n })\n .build();\n\n try {\n retryer.call(() -> {\n try {\n if (lastSequence != null) {\n checkpointer.checkpoint(lastSequence);\n } else {\n checkpointer.checkpoint();\n }\n } catch (InvalidStateException e) {\n LOG.error(\"Couldn't save checkpoint to DynamoDB table used by the Kinesis client library - check database table\", e);\n } catch (ShutdownException e) {\n LOG.debug(\"Processor is shutting down, skipping checkpoint\");\n }\n return null;\n });\n } catch (ExecutionException e) {\n LOG.error(\"Couldn't checkpoint stream [{}]\", kinesisStreamName, e);\n } catch (RetryException e) {\n LOG.error(\"Checkpoint retry for stream [{}] finally failed\", kinesisStreamName, e);\n }\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/38ff65a268efcda58b4882ae10a1b48d10b2d585.json b/web/public/bundles/graylog/code/38ff65a268efcda58b4882ae10a1b48d10b2d585.json new file mode 100644 index 00000000..f75cc876 --- /dev/null +++ b/web/public/bundles/graylog/code/38ff65a268efcda58b4882ae10a1b48d10b2d585.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "38ff65a268efcda58b4882ae10a1b48d10b2d585", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/functions/lookup/LookupClearKey.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.pipelineprocessor.functions.lookup;\n\nimport org.graylog.plugins.pipelineprocessor.EvaluationContext;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.AbstractFunction;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.FunctionArgs;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.FunctionDescriptor;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor;\nimport org.graylog.plugins.pipelineprocessor.rulebuilder.RuleBuilderFunctionGroup;\nimport org.graylog2.lookup.LookupTableService;\n\nimport jakarta.inject.Inject;\n\nimport static org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor.object;\nimport static org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor.string;\n\npublic class LookupClearKey extends AbstractFunction {\n\n public static final String NAME = \"lookup_clear_key\";\n\n private final ParameterDescriptor lookupTableParam;\n private final ParameterDescriptor keyParam;\n\n @Inject\n public LookupClearKey(LookupTableService lookupTableService) {\n lookupTableParam = string(\"lookup_table\", LookupTableService.Function.class)\n .description(\"The existing lookup table to use to clear the given key\")\n .transform(tableName -> lookupTableService.newBuilder().lookupTable(tableName).build())\n .build();\n keyParam = object(\"key\")\n .description(\"The key to clear in the lookup table\")\n .build();\n }\n\n @Override\n public Void evaluate(FunctionArgs args, EvaluationContext context) {\n Object key = keyParam.required(args, context);\n if (key == null) {\n return null;\n }\n LookupTableService.Function table = lookupTableParam.required(args, context);\n if (table == null) {\n return null;\n }\n\n table.clearKey(key);\n\n return null;\n }\n\n @Override\n public FunctionDescriptor descriptor() {\n return FunctionDescriptor.builder()\n .name(NAME)\n .description(\"Clear (remove) a key in the named lookup table.\")\n .params(lookupTableParam, keyParam)\n .returnType(Void.class)\n .ruleBuilderEnabled()\n .ruleBuilderName(\"Remove from lookup table\")\n .ruleBuilderTitle(\"Remove key '${key' from '${lookup_table}'\")\n .ruleBuilderFunctionGroup(RuleBuilderFunctionGroup.LOOKUP)\n .build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/39492a6a73fc484c8396b0ee8944a9a4643ee437.json b/web/public/bundles/graylog/code/39492a6a73fc484c8396b0ee8944a9a4643ee437.json new file mode 100644 index 00000000..f36d0dda --- /dev/null +++ b/web/public/bundles/graylog/code/39492a6a73fc484c8396b0ee8944a9a4643ee437.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "39492a6a73fc484c8396b0ee8944a9a4643ee437", + "language": "typescript", + "path": "graylog2-web-interface/src/logic/streams/streamCategoryName.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport StringUtils from 'util/StringUtils';\n\nconst streamCategoryName = (category: string): string => StringUtils.capitalizeFirstLetter(category);\n\nexport default streamCategoryName;\n" +} diff --git a/web/public/bundles/graylog/code/3970961b2a6ede3c29a15a3bf286826562dc1af6.json b/web/public/bundles/graylog/code/3970961b2a6ede3c29a15a3bf286826562dc1af6.json new file mode 100644 index 00000000..098772e5 --- /dev/null +++ b/web/public/bundles/graylog/code/3970961b2a6ede3c29a15a3bf286826562dc1af6.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "3970961b2a6ede3c29a15a3bf286826562dc1af6", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/AuthServiceBackendConfig.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.security.authservice;\n\nimport com.fasterxml.jackson.annotation.JsonIgnore;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.jackson.annotation.JsonTypeInfo;\nimport org.graylog2.plugin.rest.ValidationResult;\n\nimport java.util.List;\nimport java.util.Optional;\n\n@JsonTypeInfo(\n use = JsonTypeInfo.Id.NAME,\n include = JsonTypeInfo.As.EXISTING_PROPERTY,\n property = AuthServiceBackendConfig.TYPE_FIELD,\n visible = true,\n defaultImpl = AuthServiceBackendConfig.FallbackConfig.class)\npublic interface AuthServiceBackendConfig {\n String TYPE_FIELD = \"type\";\n\n @JsonProperty(TYPE_FIELD)\n String type();\n\n @JsonIgnore\n default void validate(ValidationResult result) {\n }\n\n @JsonIgnore\n /**\n * Returns a list of hosts/ports related to the authentication backend in the format :.\n * This is useful e.g. to populate the connect-src in Content Security Policy header.\n * Backends that are not accessed via HTTP will return Optional.empty().\n *\n * @return list of host/port Strings\n */\n default Optional> externalHTTPHosts() {\n return Optional.empty();\n }\n\n interface Builder {\n @JsonProperty(TYPE_FIELD)\n SELF type(String type);\n }\n\n class FallbackConfig implements AuthServiceBackendConfig {\n @Override\n public String type() {\n throw new UnsupportedOperationException();\n }\n\n @Override\n public Optional> externalHTTPHosts() {\n throw new UnsupportedOperationException();\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/3a52bd977d1f75d247b255bfa1539164f5662274.json b/web/public/bundles/graylog/code/3a52bd977d1f75d247b255bfa1539164f5662274.json new file mode 100644 index 00000000..530ad8a1 --- /dev/null +++ b/web/public/bundles/graylog/code/3a52bd977d1f75d247b255bfa1539164f5662274.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "3a52bd977d1f75d247b255bfa1539164f5662274", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/cef/input/CEFTCPInput.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.cef.input;\n\n\nimport com.codahale.metrics.MetricRegistry;\nimport com.google.inject.assistedinject.Assisted;\nimport com.google.inject.assistedinject.AssistedInject;\nimport org.graylog.plugins.cef.codec.CEFCodec;\nimport org.graylog2.inputs.transports.TcpTransport;\nimport org.graylog2.plugin.LocalMetricRegistry;\nimport org.graylog2.plugin.ServerStatus;\nimport org.graylog2.plugin.configuration.Configuration;\nimport org.graylog2.plugin.inputs.MessageInput;\nimport org.graylog2.plugin.inputs.annotations.ConfigClass;\nimport org.graylog2.plugin.inputs.annotations.FactoryClass;\n\nimport jakarta.inject.Inject;\n\npublic class CEFTCPInput extends MessageInput {\n private static final String NAME = \"CEF TCP\";\n\n @AssistedInject\n public CEFTCPInput(@Assisted Configuration configuration,\n MetricRegistry metricRegistry,\n final TcpTransport.Factory tcpTransportFactory,\n final LocalMetricRegistry localRegistry,\n CEFCodec.Factory codec,\n Config config,\n Descriptor descriptor,\n ServerStatus serverStatus) {\n super(\n metricRegistry,\n configuration,\n tcpTransportFactory.create(configuration),\n localRegistry,\n codec.create(configuration),\n config,\n descriptor,\n serverStatus\n );\n }\n\n @FactoryClass\n public interface Factory extends MessageInput.Factory {\n @Override\n CEFTCPInput create(Configuration configuration);\n\n @Override\n Config getConfig();\n\n @Override\n Descriptor getDescriptor();\n }\n\n public static class Descriptor extends MessageInput.Descriptor {\n @Inject\n public Descriptor() {\n super(NAME, false, \"\");\n }\n }\n\n @ConfigClass\n public static class Config extends MessageInput.Config {\n @Inject\n public Config(TcpTransport.Factory transport, CEFCodec.Factory codec) {\n super(transport.getConfig(), codec.getConfig());\n }\n }\n\n}\n" +} diff --git a/web/public/bundles/graylog/code/3aee5e0b9f1278c7f582a143b7faad6fcf57785a.json b/web/public/bundles/graylog/code/3aee5e0b9f1278c7f582a143b7faad6fcf57785a.json new file mode 100644 index 00000000..74ec27bc --- /dev/null +++ b/web/public/bundles/graylog/code/3aee5e0b9f1278c7f582a143b7faad6fcf57785a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "3aee5e0b9f1278c7f582a143b7faad6fcf57785a", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/ValidationExceptionMapper.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest;\n\nimport org.graylog2.plugin.database.ValidationException;\nimport org.graylog2.plugin.rest.ValidationApiError;\n\nimport jakarta.ws.rs.core.MediaType;\nimport jakarta.ws.rs.core.Response;\nimport jakarta.ws.rs.ext.ExceptionMapper;\nimport jakarta.ws.rs.ext.Provider;\n\n@Provider\npublic class ValidationExceptionMapper implements ExceptionMapper {\n @Override\n public Response toResponse(ValidationException exception) {\n final ValidationApiError error = ValidationApiError.create(\"Validation failed!\", exception.getErrors());\n return Response.status(Response.Status.BAD_REQUEST)\n .type(MediaType.APPLICATION_JSON_TYPE)\n .entity(error)\n .build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/3afbef275744231acc358be133f1d3c8c2114b02.json b/web/public/bundles/graylog/code/3afbef275744231acc358be133f1d3c8c2114b02.json new file mode 100644 index 00000000..b5d800e0 --- /dev/null +++ b/web/public/bundles/graylog/code/3afbef275744231acc358be133f1d3c8c2114b02.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "3afbef275744231acc358be133f1d3c8c2114b02", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/utilities/date/MultiFormatDateParser.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.utilities.date;\n\nimport com.google.common.collect.ImmutableList;\nimport org.joda.time.DateTime;\nimport org.joda.time.format.DateTimeFormatter;\nimport org.joda.time.format.ISODateTimeFormat;\n\nimport java.util.List;\n\nimport static org.graylog2.plugin.Tools.ES_DATE_FORMAT_FORMATTER;\nimport static org.graylog2.plugin.Tools.ES_DATE_FORMAT_NO_MS_FORMATTER;\n\npublic record MultiFormatDateParser(List dateTimeFormatters) {\n\n // We parse all date strings in UTC because we store and show all dates in UTC as well.\n private static final List DEFAULT_DATE_TIME_FORMATTERS = ImmutableList.of(\n ES_DATE_FORMAT_NO_MS_FORMATTER,\n ES_DATE_FORMAT_FORMATTER,\n ISODateTimeFormat.dateTimeParser().withOffsetParsed().withZoneUTC()\n );\n\n public MultiFormatDateParser(final List dateTimeFormatters) {\n this.dateTimeFormatters = dateTimeFormatters;\n }\n\n public MultiFormatDateParser() {\n this(DEFAULT_DATE_TIME_FORMATTERS);\n }\n\n public DateTime parseDate(final String value) {\n for (DateTimeFormatter formatter : dateTimeFormatters) {\n try {\n return formatter.parseDateTime(value);\n } catch (Exception e) {\n // Try next one\n }\n }\n\n // It's probably not a date...\n throw new IllegalArgumentException(\"Unable to parse date: \" + value);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/3b5a816575c044abd852e1dce8445a70b8581d34.json b/web/public/bundles/graylog/code/3b5a816575c044abd852e1dce8445a70b8581d34.json new file mode 100644 index 00000000..ae60db53 --- /dev/null +++ b/web/public/bundles/graylog/code/3b5a816575c044abd852e1dce8445a70b8581d34.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "3b5a816575c044abd852e1dce8445a70b8581d34", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/search/SearchResource.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.resources.search;\n\nimport com.google.common.base.Splitter;\nimport com.google.common.base.Strings;\nimport com.google.common.collect.ImmutableSet;\nimport com.google.common.collect.Lists;\nimport com.google.common.collect.Sets;\nimport jakarta.ws.rs.BadRequestException;\nimport jakarta.ws.rs.ForbiddenException;\nimport org.apache.commons.collections.CollectionUtils;\nimport org.glassfish.jersey.server.ChunkedOutput;\nimport org.graylog.plugins.views.search.Query;\nimport org.graylog.plugins.views.search.QueryResult;\nimport org.graylog.plugins.views.search.Search;\nimport org.graylog.plugins.views.search.SearchJob;\nimport org.graylog.plugins.views.search.SearchType;\nimport org.graylog.plugins.views.search.elasticsearch.ElasticsearchQueryString;\nimport org.graylog.plugins.views.search.engine.SearchExecutor;\nimport org.graylog.plugins.views.search.errors.SearchError;\nimport org.graylog.plugins.views.search.filter.AndFilter;\nimport org.graylog.plugins.views.search.filter.OrFilter;\nimport org.graylog.plugins.views.search.filter.QueryStringFilter;\nimport org.graylog.plugins.views.search.filter.StreamFilter;\nimport org.graylog.plugins.views.search.permissions.SearchUser;\nimport org.graylog.plugins.views.search.rest.ExecutionState;\nimport org.graylog.plugins.views.search.searchtypes.MessageList;\nimport org.graylog.plugins.views.search.searchtypes.Sort;\nimport org.graylog2.decorators.DecoratorProcessor;\nimport org.graylog2.indexer.ranges.IndexRange;\nimport org.graylog2.indexer.results.ChunkedResult;\nimport org.graylog2.indexer.results.ResultChunk;\nimport org.graylog2.indexer.results.ResultMessage;\nimport org.graylog2.indexer.results.SearchResult;\nimport org.graylog2.indexer.searches.Searches;\nimport org.graylog2.indexer.searches.SearchesClusterConfig;\nimport org.graylog2.indexer.searches.Sorting;\nimport org.graylog2.plugin.Message;\nimport org.graylog2.plugin.cluster.ClusterConfigService;\nimport org.graylog2.plugin.indexer.searches.timeranges.AbsoluteRange;\nimport org.graylog2.plugin.indexer.searches.timeranges.TimeRange;\nimport org.graylog2.rest.models.messages.responses.ResultMessageSummary;\nimport org.graylog2.rest.models.system.indexer.responses.IndexRangeSummary;\nimport org.graylog2.rest.resources.search.responses.SearchResponse;\nimport org.graylog2.shared.rest.resources.RestResource;\nimport org.graylog2.shared.security.RestPermissions;\nimport org.joda.time.DateTime;\nimport org.joda.time.Period;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.io.IOException;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.Collections;\nimport java.util.List;\nimport java.util.Locale;\nimport java.util.Objects;\nimport java.util.Optional;\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\nimport static com.google.common.base.Strings.isNullOrEmpty;\n\npublic abstract class SearchResource extends RestResource {\n private static final Logger LOG = LoggerFactory.getLogger(SearchResource.class);\n\n protected static final String DEFAULT_SCROLL_BATCH_SIZE = \"500\";\n\n protected final Searches searches;\n private final ClusterConfigService clusterConfigService;\n private final DecoratorProcessor decoratorProcessor;\n private final SearchExecutor searchExecutor;\n\n public SearchResource(Searches searches,\n ClusterConfigService clusterConfigService,\n DecoratorProcessor decoratorProcessor,\n SearchExecutor searchExecutor) {\n this.searches = searches;\n this.clusterConfigService = clusterConfigService;\n this.decoratorProcessor = decoratorProcessor;\n this.searchExecutor = searchExecutor;\n }\n\n protected SearchResponse search(String query, int limit, int offset, String filter, Set streams, boolean decorate, SearchUser searchUser, List fieldList, Sort sorting, TimeRange timeRange) {\n final Search search = createSearch(query, limit, offset, filter, streams, fieldList, sorting, timeRange);\n\n final Optional streamId = Searches.extractStreamId(filter);\n\n final SearchJob searchJob = searchExecutor.executeSync(search, searchUser, ExecutionState.empty());\n\n return extractSearchResponse(searchJob, query, decorate, fieldList, timeRange, streamId);\n }\n\n protected Set parseStreams(String streams) {\n if (isNullOrEmpty(streams)) {\n return Set.of();\n }\n return Arrays.stream(streams.split(\",\")).filter(Objects::nonNull).map(String::trim).collect(Collectors.toSet());\n }\n\n protected List parseFields(String fields) {\n if (isNullOrEmpty(fields)) {\n LOG.warn(\"Missing fields parameter. Returning HTTP 400\");\n throw new BadRequestException(\"Missing required parameter `fields`\");\n }\n return parseOptionalFields(fields);\n }\n\n protected List parseOptionalFields(String fields) {\n if (isNullOrEmpty(fields)) {\n return null;\n }\n\n final Iterable split = Splitter.on(',').omitEmptyStrings().trimResults().split(fields);\n final ArrayList fieldList = Lists.newArrayList(Message.FIELD_TIMESTAMP);\n\n // skip the mandatory field timestamp\n for (String field : split) {\n if (Message.FIELD_TIMESTAMP.equals(field)) {\n continue;\n }\n fieldList.add(field);\n }\n\n return fieldList;\n }\n\n protected SearchResponse buildSearchResponse(String query, MessageList.Result results, List fieldList, long tookMs, TimeRange timeRange, boolean decorate, Optional streamId) {\n final SearchResponse result = SearchResponse.create(query,\n query,\n Collections.emptySet(),\n results.messages(),\n fieldList == null ? Collections.emptySet() : ImmutableSet.copyOf(fieldList),\n tookMs,\n results.totalResults(),\n timeRange.getFrom(),\n timeRange.getTo());\n\n return decorate ? decoratorProcessor.decorate(result, streamId) : result;\n }\n\n protected Sort buildSortOrder(String sort) {\n if (isNullOrEmpty(sort)) {\n return Sort.create(\"timestamp\", Sort.Order.DESC);\n }\n\n if (!sort.contains(\":\")) {\n throw new IllegalArgumentException(\"Invalid sorting parameter: \" + sort);\n }\n\n String[] parts = sort.split(\":\");\n\n return Sort.create(parts[0], Sort.Order.valueOf(parts[1].toUpperCase(Locale.ENGLISH)));\n }\n\n protected Search createSearch(String queryString, int limit, int offset, String filter, Set streams, List fieldList, Sort sorting, TimeRange timeRange) {\n final SearchType searchType = createMessageList(sorting, limit, offset, fieldList);\n\n final var streamsFilter = OrFilter.builder().filters(streams.stream().map(stream -> StreamFilter.builder().streamId(stream).build()).collect(Collectors.toSet())).build();\n final var queryStringFilter = QueryStringFilter.builder().query(Strings.isNullOrEmpty(filter) ? \"*\" : filter).build();\n\n final var completeFilter = !streamsFilter.filters().isEmpty() ? AndFilter.and(streamsFilter, queryStringFilter) : queryStringFilter;\n\n final Query query = Query.builder()\n .query(ElasticsearchQueryString.of(queryString))\n .filter(completeFilter)\n .timerange(timeRange)\n .searchTypes(Collections.singleton(searchType))\n .build();\n return Search.Builder.create()\n .queries(ImmutableSet.of(query))\n .build();\n }\n\n private SearchType createMessageList(Sort sorting, int limit, int offset, List fieldList) {\n MessageList.Builder messageListBuilder = MessageList.builder()\n .sort(Collections.singletonList(sorting));\n messageListBuilder = limit > 0 ? messageListBuilder.limit(limit) : messageListBuilder;\n messageListBuilder = offset > 0 ? messageListBuilder.offset(offset) : messageListBuilder;\n messageListBuilder = fieldList != null && !fieldList.isEmpty() ? messageListBuilder.fields(fieldList) : messageListBuilder;\n return messageListBuilder.build();\n }\n\n protected SearchResponse extractSearchResponse(SearchJob searchJob, String query, boolean decorate, List fieldList, TimeRange timeRange, Optional streamId) {\n final QueryResult queryResult = searchJob.results()\n .values()\n .stream()\n .findFirst()\n .orElseThrow(() -> new IllegalStateException(\"Missing query result\"));\n\n if (!CollectionUtils.isEmpty(queryResult.errors())) {\n final var errorText = String.join(\", \", queryResult.errors().stream().map(SearchError::description).toList());\n throw new RuntimeException(\"Failed to obtain results: \" + errorText);\n }\n\n final MessageList.Result result = queryResult.searchTypes()\n .values()\n .stream()\n .findFirst()\n .map(searchTypeResult -> (MessageList.Result) searchTypeResult)\n .orElseThrow(() -> new IllegalStateException(\"Missing search type result!\"));\n\n final long tookMs = queryResult.executionStats().duration();\n\n return buildSearchResponse(query, result, fieldList, tookMs, timeRange, decorate, streamId);\n }\n\n protected ChunkedOutput buildChunkedOutput(final ChunkedResult scroll) {\n final ChunkedOutput output = new ChunkedOutput<>(ResultChunk.class);\n\n LOG.debug(\"[{}] Scroll result contains a total of {} messages\", scroll.getQueryHash(), scroll.totalHits());\n Runnable scrollIterationAction = createScrollChunkProducer(scroll, output);\n // TODO use a shared executor for async responses here instead of a single thread that's not limited\n new Thread(scrollIterationAction).start();\n return output;\n }\n\n public void checkSearchPermission(String filter, String searchPermission) {\n if (isNullOrEmpty(filter) || \"*\".equals(filter)) {\n checkPermission(searchPermission);\n } else {\n if (!filter.startsWith(\"streams:\")) {\n throw new ForbiddenException(\"Not allowed to search with filter: [\" + filter + \"]\");\n }\n\n String[] parts = filter.split(\":\");\n if (parts.length <= 1) {\n throw new ForbiddenException(\"Not allowed to search with filter: [\" + filter + \"]\");\n }\n\n String streamList = parts[1];\n String[] streams = streamList.split(\",\");\n if (streams.length == 0) {\n throw new ForbiddenException(\"Not allowed to search with filter: [\" + filter + \"]\");\n }\n\n for (String streamId : streams) {\n if (!isPermitted(RestPermissions.STREAMS_READ, streamId)) {\n final String msg = \"Not allowed to search with filter: [\" + filter + \"]. (Forbidden stream: \" + streamId + \")\";\n LOG.warn(msg);\n throw new ForbiddenException(msg);\n }\n }\n }\n }\n\n protected Runnable createScrollChunkProducer(final ChunkedResult scroll,\n final ChunkedOutput output) {\n return () -> {\n try {\n ResultChunk chunk = scroll.nextChunk();\n while (chunk != null) {\n LOG.debug(\"[{}] Writing scroll chunk with {} messages\",\n scroll.getQueryHash(),\n chunk.messages().size());\n if (output.isClosed()) {\n LOG.debug(\"[{}] Client connection is closed, client disconnected. Aborting scroll.\",\n scroll.getQueryHash());\n scroll.cancel();\n return;\n }\n output.write(chunk);\n chunk = scroll.nextChunk();\n }\n LOG.debug(\"[{}] Reached end of scroll result.\", scroll.getQueryHash());\n output.close();\n } catch (IOException e) {\n LOG.warn(\"[{}] Could not close chunked output stream for query scroll.\", scroll.getQueryHash());\n }\n };\n }\n\n protected org.graylog2.plugin.indexer.searches.timeranges.TimeRange restrictTimeRange(final org.graylog2.plugin.indexer.searches.timeranges.TimeRange timeRange) {\n final DateTime originalFrom = timeRange.getFrom();\n final DateTime to = timeRange.getTo();\n final DateTime from;\n\n final SearchesClusterConfig config = clusterConfigService.get(SearchesClusterConfig.class);\n\n if (config == null || Period.ZERO.equals(config.queryTimeRangeLimit())) {\n from = originalFrom;\n } else {\n final DateTime limitedFrom = to.minus(config.queryTimeRangeLimit());\n from = limitedFrom.isAfter(originalFrom) ? limitedFrom : originalFrom;\n }\n\n return AbsoluteRange.create(from, to);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/3cb9df5771f88b4bc7fd1cbd0f9164d6d0dd14c7.json b/web/public/bundles/graylog/code/3cb9df5771f88b4bc7fd1cbd0f9164d6d0dd14c7.json new file mode 100644 index 00000000..fc065784 --- /dev/null +++ b/web/public/bundles/graylog/code/3cb9df5771f88b4bc7fd1cbd0f9164d6d0dd14c7.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "3cb9df5771f88b4bc7fd1cbd0f9164d6d0dd14c7", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/events/OffsetFromCurrentMongoDBTimeProvider.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.events;\n\nimport com.google.common.base.Suppliers;\nimport jakarta.inject.Inject;\nimport jakarta.inject.Provider;\nimport org.bson.Document;\nimport org.graylog2.database.MongoConnection;\n\nimport java.util.function.Supplier;\n\npublic class OffsetFromCurrentMongoDBTimeProvider implements Provider {\n private final Supplier mongoConnectionSupplier;\n\n @Inject\n public OffsetFromCurrentMongoDBTimeProvider(MongoConnection mongoConnection) {\n this.mongoConnectionSupplier = Suppliers.memoize(() -> {\n final var localTime = mongoConnection.getMongoDatabase().runCommand(new Document(\"hello\", 1)).getDate(\"localTime\");\n return new Offset(localTime, null);\n });\n }\n\n @Override\n public Offset get() {\n return mongoConnectionSupplier.get();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/3d308c95eefcac44cf382b638d7eb69eadf59d13.json b/web/public/bundles/graylog/code/3d308c95eefcac44cf382b638d7eb69eadf59d13.json new file mode 100644 index 00000000..5bfc1ef7 --- /dev/null +++ b/web/public/bundles/graylog/code/3d308c95eefcac44cf382b638d7eb69eadf59d13.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "3d308c95eefcac44cf382b638d7eb69eadf59d13", + "language": "typescript", + "path": "graylog2-web-interface/src/components/event-definitions/event-definitions-types.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport type { SyntheticEvent } from 'react';\n\nimport type { StepsType } from 'components/common/Wizard';\nimport type { EntitySharePayload } from 'actions/permissions/EntityShareActions';\nimport type { ParameterJson } from 'views/logic/parameters/Parameter';\nimport { SYSTEM_EVENT_DEFINITION_TYPE } from 'components/event-definitions/constants';\n\ntype Provider = {\n type: string;\n template: string;\n require_values: boolean;\n exclude_empty_fields: boolean;\n table_name: string;\n key_field: string;\n};\n\ntype FieldSpec = {\n [key: string]: {\n data_type: 'string' | 'error';\n providers: Array;\n };\n};\n\ntype Notification = {\n type: string;\n notification_id: string;\n notification_parameters: { type: string };\n};\n\nexport type Scheduler = {\n data: {\n type: string;\n timerange_from: number;\n timerange_to: number;\n };\n next_time: string;\n triggered_at: string;\n queued_notifications: number;\n is_scheduled: boolean;\n status: 'runnable' | 'running' | 'complete' | 'paused' | 'error' | 'cancelled';\n};\n\nexport type SearchFilter = {\n id: string;\n type: 'referenced' | 'inlineQueryString';\n title: string;\n queryString: string;\n disabled: boolean;\n negation: boolean;\n frontendId?: string;\n description?: string;\n};\n\nexport type EventProcessorConfig = {\n type: string;\n query?: string;\n query_parameters?: ParameterJson[];\n filters?: SearchFilter[];\n streams?: string[];\n stream_categories?: string[];\n group_by?: string[];\n _is_scheduled?: boolean;\n series?: Array<{ field: string; id: string; type: string }>;\n conditions?: {\n expression: string | null | {};\n };\n search_within_ms?: number;\n execute_every_ms?: number;\n use_cron_scheduling?: boolean;\n cron_expression?: string;\n cron_timezone?: string;\n event_limit?: number;\n};\n\nexport type EventDefinition = {\n _scope: string;\n _entity_source: any;\n id: string;\n title: string;\n description: string;\n priority: number;\n alert: boolean;\n state: 'ENABLED' | 'DISABLED';\n config: EventProcessorConfig;\n field_spec: FieldSpec;\n key_spec: string[];\n notification_settings: {\n grace_period_ms: number;\n backlog_size: number;\n };\n notifications: Array;\n remediation_steps: string;\n event_procedure: string;\n storage: Array<{\n type: string;\n streams: number[] | string[];\n }>;\n tags: string[];\n updated_at: string | null;\n matched_at: string;\n scheduler: Scheduler;\n event_summary_template: string;\n tactics_techniques?: string[];\n share_request?: EntitySharePayload;\n};\n\nexport type EventDefinitionFormControlsProps = {\n action: 'edit' | 'create';\n activeStepIndex: number;\n onCancel: () => void;\n onOpenNextPage: () => void;\n onOpenPrevPage: () => void;\n onSubmit: (event: SyntheticEvent) => void;\n steps: StepsType;\n isSubmitting?: boolean;\n disabledSubmit?: boolean;\n};\n\nexport const isSystemEventDefinition = (eventDefinition: EventDefinition) =>\n eventDefinition?.config?.type === SYSTEM_EVENT_DEFINITION_TYPE;\n\nexport const isIlluminateEventDefinition = (eventDefinition: EventDefinition) =>\n eventDefinition?._scope === 'ILLUMINATE';\n\nexport const isAggregationEventDefinition = (eventDefinition: EventDefinition) =>\n eventDefinition?.config?.type === 'aggregation-v1';\n\nexport const isSigmaEventDefinition = (eventDefinition: EventDefinition) =>\n eventDefinition?.config?.type === 'sigma-v1';\n" +} diff --git a/web/public/bundles/graylog/code/3e14f2453e79d377f4dc82676939bca9a91df1da.json b/web/public/bundles/graylog/code/3e14f2453e79d377f4dc82676939bca9a91df1da.json new file mode 100644 index 00000000..da509f26 --- /dev/null +++ b/web/public/bundles/graylog/code/3e14f2453e79d377f4dc82676939bca9a91df1da.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "3e14f2453e79d377f4dc82676939bca9a91df1da", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/ViewSharingToGrantsMigration.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.migrations.V20200803120800_GrantsMigrations;\n\nimport com.mongodb.client.MongoCollection;\nimport com.mongodb.client.model.Filters;\nimport org.bson.Document;\nimport org.bson.types.ObjectId;\nimport org.graylog.grn.GRN;\nimport org.graylog.grn.GRNRegistry;\nimport org.graylog.grn.GRNType;\nimport org.graylog.grn.GRNTypes;\nimport org.graylog.plugins.views.search.views.ViewDTO;\nimport org.graylog.plugins.views.search.views.ViewService;\nimport org.graylog.security.Capability;\nimport org.graylog.security.DBGrantService;\nimport org.graylog2.database.MongoConnection;\nimport org.graylog2.database.NotFoundException;\nimport org.graylog2.plugin.database.users.User;\nimport org.graylog2.shared.users.Role;\nimport org.graylog2.shared.users.UserService;\nimport org.graylog2.users.RoleService;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport jakarta.inject.Named;\n\nimport java.util.Collection;\nimport java.util.Objects;\nimport java.util.Optional;\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\npublic class ViewSharingToGrantsMigration {\n private static final Logger LOG = LoggerFactory.getLogger(ViewSharingToGrantsMigration.class);\n\n // View sharing only allowed to give other users read permissions on searches and dashboards\n private static final Capability CAPABILITY = Capability.VIEW;\n\n private final DBGrantService grantService;\n private final MongoCollection collection;\n private GRNRegistry grnRegistry;\n private final UserService userService;\n private final RoleService roleService;\n private final String rootUsername;\n private final ViewService viewService;\n\n public ViewSharingToGrantsMigration(MongoConnection mongoConnection,\n DBGrantService grantService,\n UserService userService,\n RoleService roleService,\n @Named(\"root_username\") String rootUsername,\n ViewService viewService,\n GRNRegistry grnRegistry) {\n\n this.grantService = grantService;\n this.userService = userService;\n this.roleService = roleService;\n this.rootUsername = rootUsername;\n this.viewService = viewService;\n this.collection = mongoConnection.getMongoDatabase().getCollection(\"view_sharings\", Document.class);\n this.grnRegistry = grnRegistry;\n }\n\n public void upgrade() {\n for (final Document document : collection.find()) {\n LOG.debug(\"Migrate view sharing: {}\", document);\n\n final ObjectId sharingId = document.getObjectId(\"_id\");\n final String sharingType = document.get(\"type\", String.class);\n final String viewId = document.get(\"view_id\", String.class);\n\n try {\n switch (sharingType) {\n case \"users\":\n //noinspection unchecked\n migrateUsers(viewId, (Collection) document.get(\"users\", Collection.class));\n break;\n case \"roles\":\n //noinspection unchecked\n migrateRoles(viewId, (Collection) document.get(\"roles\", Collection.class));\n break;\n case \"all_of_instance\":\n migrateAllOfInstance(viewId);\n break;\n default:\n LOG.warn(\"Skipping unknown view sharing type: {}\", sharingType);\n continue; // Continue here so we don't delete the sharing document\n }\n\n // The view sharing document should be removed after successful migration\n deleteViewSharing(sharingId);\n } catch (Exception e) {\n LOG.error(\"Couldn't migrate view sharing: {}\", document, e);\n }\n }\n }\n\n private void migrateUsers(String viewId, Collection userNames) {\n final Set users = userNames.stream()\n .map(userService::load)\n .filter(Objects::nonNull)\n .collect(Collectors.toSet());\n\n final GRN target = getTarget(viewId);\n\n LOG.info(\"Migrate users for view <{}> to grants: {}\", target, users.stream()\n .map(u -> u.getId() + \"/\" + u.getName())\n .collect(Collectors.toSet()));\n\n for (final User user : users) {\n ensureGrant(user, target);\n }\n }\n\n private void migrateRoles(String viewId, Collection roleNames) {\n final GRN target = getTarget(viewId);\n\n LOG.info(\"Migrate roles for view <{}> to grants: {}\", target, roleNames);\n\n final Set roles = roleNames.stream()\n .map(roleName -> {\n try {\n return Optional.of(roleService.load(roleName));\n } catch (NotFoundException e) {\n return Optional.empty();\n }\n })\n .filter(Optional::isPresent)\n .map(Optional::get)\n .collect(Collectors.toSet());\n\n for (final Role role : roles) {\n for (final User user : userService.loadAllForRole(role)) {\n ensureGrant(user, target);\n }\n }\n }\n\n private void migrateAllOfInstance(String viewId) {\n final GRN target = getTarget(viewId);\n\n LOG.info(\"Migrate all-of-instance for view <{}> to grants\", target);\n\n ensureEveryoneGrant(target);\n }\n\n private void ensureEveryoneGrant(GRN target) {\n final GRN grantee = GRNRegistry.GLOBAL_USER_GRN;\n\n if (!grantService.hasGrantFor(grantee, CAPABILITY, target)) {\n grantService.create(grantee, CAPABILITY, target, rootUsername);\n }\n }\n\n private void ensureGrant(User user, GRN target) {\n final GRN grantee = grnRegistry.ofUser(user);\n\n grantService.ensure(grantee, CAPABILITY, target, rootUsername);\n }\n\n private GRN getTarget(String viewId) {\n final ViewDTO view = viewService.get(viewId)\n .orElseThrow(() -> new IllegalArgumentException(\"View <\" + viewId + \"> doesn't exist\"));\n final GRNType grnType = ViewDTO.Type.DASHBOARD.equals(view.type()) ? GRNTypes.DASHBOARD : GRNTypes.SEARCH;\n\n return grnType.toGRN(viewId);\n }\n\n private void deleteViewSharing(ObjectId id) {\n LOG.debug(\"Removing obsolete view sharing document {}\", id);\n collection.deleteOne(Filters.eq(\"_id\", id));\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/3e2c16d29a1f05d9e722731138f8d5b294831d13.json b/web/public/bundles/graylog/code/3e2c16d29a1f05d9e722731138f8d5b294831d13.json new file mode 100644 index 00000000..49bd773e --- /dev/null +++ b/web/public/bundles/graylog/code/3e2c16d29a1f05d9e722731138f8d5b294831d13.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "3e2c16d29a1f05d9e722731138f8d5b294831d13", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/jackson/InputConfigurationDeserializer.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.inputs.jackson;\n\nimport com.fasterxml.jackson.core.JsonParser;\nimport com.fasterxml.jackson.databind.DeserializationContext;\nimport com.fasterxml.jackson.databind.JsonMappingException;\nimport com.fasterxml.jackson.databind.ObjectMapper;\nimport com.fasterxml.jackson.databind.deser.BeanDeserializer;\nimport org.graylog2.inputs.WithInputConfiguration;\nimport org.graylog2.inputs.encryption.EncryptedInputConfigs;\nimport org.graylog2.plugin.inputs.MessageInput;\nimport org.graylog2.security.encryption.EncryptedValue;\n\nimport java.io.IOException;\nimport java.util.HashMap;\nimport java.util.Optional;\nimport java.util.Set;\n\n/**\n * Custom {@link BeanDeserializer} for input configuration values with transparent {@link EncryptedValue} handling.\n */\npublic class InputConfigurationDeserializer extends BeanDeserializer {\n private final BeanDeserializer deserializer;\n private final InputFieldConfigProvider inputFieldConfigProvider;\n\n public interface InputFieldConfigProvider {\n Optional getConfig(String type);\n }\n\n public InputConfigurationDeserializer(BeanDeserializer deserializer,\n InputFieldConfigProvider inputFieldConfigProvider) {\n super(deserializer);\n this.deserializer = deserializer;\n this.inputFieldConfigProvider = inputFieldConfigProvider;\n }\n\n @Override\n public Object deserialize(JsonParser p, DeserializationContext ctxt) throws IOException {\n final var value = deserializer.deserialize(p, ctxt);\n\n if (value instanceof WithInputConfiguration valueWithConfiguration) {\n final var encryptedFields = getEncryptedFields(valueWithConfiguration.type());\n\n if (encryptedFields.isEmpty()) {\n return value;\n }\n\n final var objectMapper = (ObjectMapper) p.getCodec();\n final var configuration = new HashMap<>(valueWithConfiguration.configuration());\n\n encryptedFields.forEach(field -> {\n if (configuration.containsKey(field)) {\n final var encryptedValue = objectMapper.convertValue(configuration.get(field), EncryptedValue.class);\n configuration.put(field, encryptedValue);\n }\n });\n\n return valueWithConfiguration.withConfiguration(configuration);\n }\n\n return value;\n }\n\n private Set getEncryptedFields(String type) {\n return inputFieldConfigProvider.getConfig(type)\n .map(EncryptedInputConfigs::getEncryptedFields)\n .orElse(Set.of());\n }\n\n @Override\n public void resolve(DeserializationContext ctxt) throws JsonMappingException {\n deserializer.resolve(ctxt);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/3e676bbc7a14ff8314014f8503767a13264dc549.json b/web/public/bundles/graylog/code/3e676bbc7a14ff8314014f8503767a13264dc549.json new file mode 100644 index 00000000..3a1ea6c0 --- /dev/null +++ b/web/public/bundles/graylog/code/3e676bbc7a14ff8314014f8503767a13264dc549.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "3e676bbc7a14ff8314014f8503767a13264dc549", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/functions/lookup/LookupStringList.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.pipelineprocessor.functions.lookup;\n\nimport com.google.common.collect.ImmutableList;\nimport com.google.inject.TypeLiteral;\nimport org.graylog.plugins.pipelineprocessor.EvaluationContext;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.AbstractFunction;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.FunctionArgs;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.FunctionDescriptor;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor;\nimport org.graylog.plugins.pipelineprocessor.rulebuilder.RuleBuilderFunctionGroup;\nimport org.graylog2.lookup.LookupTableService;\nimport org.graylog2.plugin.lookup.LookupResult;\n\nimport jakarta.inject.Inject;\n\nimport java.util.List;\n\nimport static org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor.object;\nimport static org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor.string;\n\npublic class LookupStringList extends AbstractFunction> {\n\n public static final String NAME = \"lookup_string_list\";\n\n private final ParameterDescriptor lookupTableParam;\n private final ParameterDescriptor keyParam;\n @SuppressWarnings(\"rawtypes\") // we cannot store class instances of generic types\n private final ParameterDescriptor defaultParam;\n\n @Inject\n public LookupStringList(LookupTableService lookupTableService) {\n lookupTableParam = string(\"lookup_table\", LookupTableService.Function.class)\n .description(\"The existing lookup table to use to lookup the given key\")\n .transform(tableName -> lookupTableService.newBuilder().lookupTable(tableName).build())\n .build();\n keyParam = object(\"key\")\n .description(\"The key to lookup in the table\")\n .build();\n defaultParam = ParameterDescriptor.type(\"default\", List.class)\n .description(\"The default list value that should be used if there is no lookup result\")\n .optional()\n .build();\n }\n\n @Override\n public List evaluate(FunctionArgs args, EvaluationContext context) {\n Object key = keyParam.required(args, context);\n if (key == null) {\n //noinspection unchecked\n return defaultParam.optional(args, context).orElse(ImmutableList.of());\n }\n LookupTableService.Function table = lookupTableParam.required(args, context);\n if (table == null) {\n //noinspection unchecked\n return defaultParam.optional(args, context).orElse(ImmutableList.of());\n }\n LookupResult result = table.lookup(key);\n if (result == null || result.isEmpty()) {\n //noinspection unchecked\n return defaultParam.optional(args, context).orElse(ImmutableList.of());\n }\n return result.stringListValue();\n }\n\n @Override\n public FunctionDescriptor> descriptor() {\n //noinspection unchecked\n return FunctionDescriptor.>builder()\n .name(NAME)\n .description(\"Looks up a string list value in the named lookup table.\")\n .params(lookupTableParam, keyParam, defaultParam)\n .returnType((Class>) new TypeLiteral>() {}.getRawType())\n .ruleBuilderEnabled()\n .ruleBuilderName(\"Lookup string list in lookup table\")\n .ruleBuilderTitle(\"Lookup string list in '${lookup_table}' using key '${key}'\")\n .ruleBuilderFunctionGroup(RuleBuilderFunctionGroup.LOOKUP)\n .build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/3e9235ce7467af716f4099987bfb2e94c2c054cc.json b/web/public/bundles/graylog/code/3e9235ce7467af716f4099987bfb2e94c2c054cc.json new file mode 100644 index 00000000..a3dfae86 --- /dev/null +++ b/web/public/bundles/graylog/code/3e9235ce7467af716f4099987bfb2e94c2c054cc.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "3e9235ce7467af716f4099987bfb2e94c2c054cc", + "language": "typescript", + "path": "graylog2-web-interface/src/preflight/components/Setup/DataNodesOverview.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport { Space } from '@mantine/core';\nimport styled from 'styled-components';\n\nimport ProductName from 'brand-customization/ProductName';\nimport { Badge, List } from 'preflight/components/common';\nimport Spinner from 'components/common/Spinner';\nimport Alert from 'components/bootstrap/Alert';\nimport useDataNodes from 'preflight/hooks/useDataNodes';\nimport DataNodeBadge from 'components/datanode/DataNodeList/DataNodeBadge';\n\nconst P = styled.p`\n max-width: 700px;\n`;\n\nconst ErrorBadge = styled(Badge)`\n margin-left: 5px;\n`;\nconst Error = ({ message }: { message: string }) => (\n \n {message}\n \n);\n\nconst DataNodesOverview = () => {\n const {\n data: dataNodes,\n isFetching: isFetchingDataNodes,\n isInitialLoading: isInitialLoadingDataNodes,\n } = useDataNodes();\n\n return (\n <>\n

\n data nodes offer a better integration with and simplify future updates. Once a{' '}\n data node is running and you configured the certificate authority, you can resume startup.\n

\n

\n These are the data nodes which are currently registered. The list is constantly updated.{' '}\n {isFetchingDataNodes && }\n

\n {!!dataNodes.length && (\n <>\n \n \n {dataNodes.map(({ hostname, transport_address, short_node_id, status, error_msg }) => (\n \n \n {transport_address}\n {' – '}\n {hostname}\n {error_msg && }\n \n ))}\n \n \n )}\n {!dataNodes.length && !isInitialLoadingDataNodes && No data nodes have been found.}\n \n \n );\n};\n\nexport default DataNodesOverview;\n" +} diff --git a/web/public/bundles/graylog/code/3ead7b549adf63d600f344c19e201fa0c46980a3.json b/web/public/bundles/graylog/code/3ead7b549adf63d600f344c19e201fa0c46980a3.json new file mode 100644 index 00000000..f846f193 --- /dev/null +++ b/web/public/bundles/graylog/code/3ead7b549adf63d600f344c19e201fa0c46980a3.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "3ead7b549adf63d600f344c19e201fa0c46980a3", + "language": "typescript", + "path": "graylog2-web-interface/src/components/bootstrap/FormControl.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\n// eslint-disable-next-line no-restricted-imports\nimport { FormControl as BootstrapFormControl } from 'react-bootstrap';\nimport styled, { css } from 'styled-components';\n\nimport { INPUT_BORDER_RADIUS } from 'theme/constants';\n\nconst FormControl = styled(BootstrapFormControl)(\n ({ theme }) => css`\n &.form-control {\n border-radius: ${INPUT_BORDER_RADIUS};\n }\n\n &.form-control:not([type='range']) {\n color: ${theme.colors.input.color};\n background-color: ${theme.colors.input.background};\n border-color: ${theme.colors.input.border};\n\n &::placeholder {\n color: ${theme.colors.input.placeholder};\n }\n\n &:focus {\n border-color: ${theme.colors.input.borderFocus};\n box-shadow: ${theme.colors.input.boxShadow};\n }\n\n &[disabled],\n &[readonly],\n fieldset[disabled] & {\n background-color: ${theme.colors.input.backgroundDisabled};\n color: ${theme.colors.input.colorDisabled};\n }\n\n ~ .form-control-feedback.glyphicon {\n display: none;\n }\n }\n `,\n);\n\nFormControl.Static = BootstrapFormControl.Static;\nFormControl.Feedback = BootstrapFormControl.Feedback;\n\n/** @component */\nexport default FormControl;\n" +} diff --git a/web/public/bundles/graylog/code/3ef7af46bb95fec743b77736c3478497e6769f81.json b/web/public/bundles/graylog/code/3ef7af46bb95fec743b77736c3478497e6769f81.json new file mode 100644 index 00000000..7da83c30 --- /dev/null +++ b/web/public/bundles/graylog/code/3ef7af46bb95fec743b77736c3478497e6769f81.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "3ef7af46bb95fec743b77736c3478497e6769f81", + "language": "typescript", + "path": "graylog2-web-interface/src/components/metrics/GaugeDetails.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\nimport numeral from 'numeral';\n\nimport type { GaugeMetric } from 'types/metrics';\n\ntype Props = {\n metric: GaugeMetric;\n};\nconst GaugeDetails = ({ metric: { metric: gauge } }: Props) => (\n
\n
Value:
\n
\n {numeral(gauge.value).format('0,0')}\n
\n
\n);\n\nexport default GaugeDetails;\n" +} diff --git a/web/public/bundles/graylog/code/3f07d0ff635c026203e14ad43e5d69080d65e6f6.json b/web/public/bundles/graylog/code/3f07d0ff635c026203e14ad43e5d69080d65e6f6.json new file mode 100644 index 00000000..fa14fcd0 --- /dev/null +++ b/web/public/bundles/graylog/code/3f07d0ff635c026203e14ad43e5d69080d65e6f6.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "3f07d0ff635c026203e14ad43e5d69080d65e6f6", + "language": "typescript", + "path": "graylog2-web-interface/src/views/logic/views/UseProcessHooksForView.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport { useEffect, useState } from 'react';\nimport * as React from 'react';\n\nimport ErrorPage from 'components/errors/ErrorPage';\nimport usePluginEntities from 'hooks/usePluginEntities';\nimport type SearchExecutionState from 'views/logic/search/SearchExecutionState';\nimport useProductName from 'brand-customization/useProductName';\nimport useUserDateTime from 'hooks/useUserDateTime';\n\nimport type View from './View';\nimport processHooks from './processHooks';\n\nconst LoadViewError = ({ error }: { error: Error }) => {\n const productName = useProductName();\n useEffect(() => {\n // eslint-disable-next-line no-console\n console.log(error);\n }, [error]);\n\n return (\n \n An unknown error has occurred. Please have a look at the following message and the {productName} server log\n for more information.\n

\n }>\n
{error?.message}
\n \n );\n};\n\ntype HookComponent = JSX.Element;\n\ntype Loading = { status: 'loading' };\ntype Loaded = { status: 'loaded'; view: View; executionState: SearchExecutionState };\ntype Interrupted = { status: 'interrupted'; component: HookComponent };\ntype ResultType = Loading | Loaded | Interrupted;\n\nconst useProcessHooksForView = (\n view: Promise,\n executionState: SearchExecutionState,\n query: { [key: string]: any },\n): ResultType => {\n const loadingViewHooks = usePluginEntities('views.hooks.loadingView');\n const executingViewHooks = usePluginEntities('views.hooks.executingView');\n const { userTimezone } = useUserDateTime();\n\n const [result, setResult] = useState({ status: 'loading' });\n\n useEffect(\n () => {\n processHooks(\n view,\n executionState,\n loadingViewHooks,\n executingViewHooks,\n query,\n (v, e) => {\n setResult({ status: 'loaded', view: v, executionState: e });\n },\n userTimezone,\n ).catch((e: Error | HookComponent) => {\n if (e instanceof Error) {\n // eslint-disable-next-line no-console\n console.error(e);\n }\n\n const component = e instanceof Error ? : e;\n\n setResult({ status: 'interrupted', component });\n });\n },\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [executingViewHooks, loadingViewHooks, view],\n );\n\n return result;\n};\n\nexport default useProcessHooksForView;\n" +} diff --git a/web/public/bundles/graylog/code/3faee6ffa2d33d949218671c151ba5c75fbaf9f6.json b/web/public/bundles/graylog/code/3faee6ffa2d33d949218671c151ba5c75fbaf9f6.json new file mode 100644 index 00000000..69b4b6dd --- /dev/null +++ b/web/public/bundles/graylog/code/3faee6ffa2d33d949218671c151ba5c75fbaf9f6.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "3faee6ffa2d33d949218671c151ba5c75fbaf9f6", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/tools/RegexReplaceTesterResource.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.resources.tools;\n\nimport com.codahale.metrics.MetricRegistry;\nimport com.codahale.metrics.annotation.Timed;\nimport com.google.common.collect.ImmutableMap;\nimport io.swagger.v3.oas.annotations.Operation;\nimport io.swagger.v3.oas.annotations.tags.Tag;\nimport jakarta.inject.Inject;\nimport jakarta.validation.Valid;\nimport jakarta.validation.constraints.NotEmpty;\nimport jakarta.validation.constraints.NotNull;\nimport jakarta.ws.rs.BadRequestException;\nimport jakarta.ws.rs.Consumes;\nimport jakarta.ws.rs.DefaultValue;\nimport jakarta.ws.rs.GET;\nimport jakarta.ws.rs.POST;\nimport jakarta.ws.rs.Path;\nimport jakarta.ws.rs.Produces;\nimport jakarta.ws.rs.QueryParam;\nimport jakarta.ws.rs.core.MediaType;\nimport org.apache.shiro.authz.annotation.RequiresAuthentication;\nimport org.graylog2.ConfigurationException;\nimport org.graylog2.audit.jersey.NoAuditEvent;\nimport org.graylog2.inputs.extractors.RegexReplaceExtractor;\nimport org.graylog2.plugin.inputs.Converter;\nimport org.graylog2.plugin.inputs.Extractor;\nimport org.graylog2.rest.models.tools.requests.RegexReplaceTestRequest;\nimport org.graylog2.rest.models.tools.responses.RegexReplaceTesterResponse;\nimport org.graylog2.shared.rest.resources.RestResource;\n\nimport java.util.Collections;\nimport java.util.Map;\nimport java.util.regex.PatternSyntaxException;\n\n@RequiresAuthentication\n@Tag(name = \"Tools/RegexReplaceTester\", description = \"Test regular expression replacements\")\n@Path(\"/tools/regex_replace_tester\")\npublic class RegexReplaceTesterResource extends RestResource {\n\n private final SafePattern safePattern;\n\n @Inject\n public RegexReplaceTesterResource(final SafePattern safePattern) {\n this.safePattern = safePattern;\n }\n\n @GET\n @Operation(summary = \"Test a regular expression replacement on a string\")\n @Timed\n @Produces(MediaType.APPLICATION_JSON)\n public RegexReplaceTesterResponse regexTester(@QueryParam(\"regex\") @NotEmpty String regex,\n @QueryParam(\"replacement\") @NotNull String replacement,\n @QueryParam(\"replace_all\") @DefaultValue(\"false\") boolean replaceAll,\n @QueryParam(\"string\") @NotNull String string) {\n return testRegexReplaceExtractor(string, regex, replacement, replaceAll);\n }\n\n @POST\n @Operation(summary = \"Test a regular expression replacement on a string\")\n @Timed\n @Consumes(MediaType.APPLICATION_JSON)\n @Produces(MediaType.APPLICATION_JSON)\n @NoAuditEvent(\"only used to test regex replace extractor\")\n public RegexReplaceTesterResponse testRegex(@Valid @NotNull RegexReplaceTestRequest r) {\n return testRegexReplaceExtractor(r.string(), r.regex(), r.replacement(), r.replaceAll());\n }\n\n private RegexReplaceTesterResponse testRegexReplaceExtractor(final String example, final String regex,\n final String replacement, final boolean replaceAll) {\n final Map config = ImmutableMap.of(\n \"regex\", regex,\n \"replacement\", replacement,\n \"replace_all\", replaceAll\n );\n final RegexReplaceExtractor extractor;\n try {\n extractor = new RegexReplaceExtractor(\n new MetricRegistry(), \"test\", \"Test\", 0L, Extractor.CursorStrategy.COPY,\n \"test\", \"test\", config, \"tester\",\n Collections.emptyList(), Extractor.ConditionType.NONE, \"\");\n } catch (PatternSyntaxException e) {\n throw new BadRequestException(\"Invalid regular expression: \" + e.getMessage(), e);\n } catch (Extractor.ReservedFieldException e) {\n throw new BadRequestException(\"Trying to overwrite a reserved message field\", e);\n } catch (ConfigurationException e) {\n throw new BadRequestException(\"Invalid extractor configuration\", e);\n }\n\n try {\n final Extractor.Result result = extractor.runExtractor(safePattern.timeLimitedInput(example));\n final RegexReplaceTesterResponse.Match match = result == null ? null :\n RegexReplaceTesterResponse.Match.create(\n String.valueOf(result.getValue()), result.getBeginIndex(), result.getEndIndex());\n return RegexReplaceTesterResponse.create(result != null, match, regex, replacement, replaceAll, example);\n } catch (IllegalArgumentException e) {\n throw new BadRequestException(e.getMessage(), e);\n } catch (TimeLimitedCharSequence.TimeoutException e) {\n throw new BadRequestException(\"Regular expression matching timed out — the pattern may be susceptible to catastrophic backtracking\");\n } catch (RuntimeException e) {\n final Throwable cause = e.getCause();\n if (cause instanceof IndexOutOfBoundsException || cause instanceof IllegalArgumentException) {\n throw new BadRequestException(\"Invalid replacement expression: \" + cause.getMessage(), e);\n }\n throw e;\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/3fb1afeffe0f8c66190037f6a1ea31752780dd22.json b/web/public/bundles/graylog/code/3fb1afeffe0f8c66190037f6a1ea31752780dd22.json new file mode 100644 index 00000000..f1b60021 --- /dev/null +++ b/web/public/bundles/graylog/code/3fb1afeffe0f8c66190037f6a1ea31752780dd22.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "3fb1afeffe0f8c66190037f6a1ea31752780dd22", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/system/processing/ProcessingStatusDto.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.system.processing;\n\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.jackson.databind.annotation.JsonDeserialize;\nimport com.google.auto.value.AutoValue;\nimport org.graylog2.database.MongoEntity;\nimport org.graylog2.plugin.lifecycles.Lifecycle;\nimport org.joda.time.DateTime;\nimport org.mongojack.Id;\nimport org.mongojack.ObjectId;\n\nimport javax.annotation.Nullable;\n\n@AutoValue\n@JsonDeserialize(builder = ProcessingStatusDto.Builder.class)\npublic abstract class ProcessingStatusDto implements MongoEntity {\n private static final String FIELD_ID = \"id\";\n static final String FIELD_NODE_ID = \"node_id\";\n static final String FIELD_NODE_LIFECYCLE_STATUS = \"node_lifecycle_status\";\n static final String FIELD_UPDATED_AT = \"updated_at\";\n static final String FIELD_RECEIVE_TIMES = \"receive_times\";\n static final String FIELD_INPUT_JOURNAL = \"input_journal\";\n\n static final String FIELD_PROCESS_BUFFER_USAGE = \"process_buffer_usage\";\n\n @Id\n @ObjectId\n @Nullable\n @JsonProperty(FIELD_ID)\n public abstract String id();\n\n @JsonProperty(FIELD_NODE_ID)\n public abstract String nodeId();\n\n @JsonProperty(FIELD_NODE_LIFECYCLE_STATUS)\n public abstract Lifecycle nodeLifecycleStatus();\n\n @JsonProperty(FIELD_UPDATED_AT)\n public abstract DateTime updatedAt();\n\n @JsonProperty(FIELD_RECEIVE_TIMES)\n public abstract ReceiveTimes receiveTimes();\n\n @JsonProperty(FIELD_INPUT_JOURNAL)\n public abstract JournalInfo inputJournal();\n\n @JsonProperty(FIELD_PROCESS_BUFFER_USAGE)\n public abstract long processBufferUsage();\n\n public static ProcessingStatusDto of(String nodeId, ProcessingStatusRecorder processingStatusRecorder, DateTime updatedAt, boolean messageJournalEnabled) {\n return builder()\n .nodeId(nodeId)\n .updatedAt(updatedAt)\n .nodeLifecycleStatus(processingStatusRecorder.getNodeLifecycleStatus())\n .processBufferUsage(processingStatusRecorder.getProcessBufferUsage())\n .receiveTimes(ReceiveTimes.builder()\n .ingest(processingStatusRecorder.getIngestReceiveTime())\n .postProcessing(processingStatusRecorder.getPostProcessingReceiveTime())\n .postIndexing(processingStatusRecorder.getPostIndexingReceiveTime())\n .build())\n .inputJournal(JournalInfo.builder()\n .uncommittedEntries(processingStatusRecorder.getJournalInfoUncommittedEntries())\n .readMessages1mRate(processingStatusRecorder.getJournalInfoReadMessages1mRate())\n .writtenMessages1mRate(processingStatusRecorder.getJournalInfoWrittenMessages1mRate())\n .journalEnabled(messageJournalEnabled)\n .build())\n .build();\n }\n\n public static Builder builder() {\n return Builder.create();\n }\n\n public abstract Builder toBuilder();\n\n @AutoValue.Builder\n public static abstract class Builder {\n @JsonCreator\n public static Builder create() {\n return new AutoValue_ProcessingStatusDto.Builder()\n // 3.1.0-beta/rc setups didn't have the lifecycle status and journal info so we need to have a default for them.\n // TODO: The lifecycle status and journal info defaults can be removed at some point after 3.1.0\n .nodeLifecycleStatus(Lifecycle.RUNNING)\n .processBufferUsage(0)\n .inputJournal(JournalInfo.builder().build());\n }\n\n @Id\n @ObjectId\n @JsonProperty(FIELD_ID)\n public abstract Builder id(String id);\n\n @JsonProperty(FIELD_NODE_ID)\n public abstract Builder nodeId(String nodeId);\n\n @JsonProperty(FIELD_NODE_LIFECYCLE_STATUS)\n public abstract Builder nodeLifecycleStatus(Lifecycle lifecycleStatus);\n\n @JsonProperty(FIELD_UPDATED_AT)\n public abstract Builder updatedAt(DateTime updatedAt);\n\n @JsonProperty(FIELD_RECEIVE_TIMES)\n public abstract Builder receiveTimes(ReceiveTimes receiveTimes);\n\n @JsonProperty(FIELD_INPUT_JOURNAL)\n public abstract Builder inputJournal(JournalInfo inputJournal);\n\n @JsonProperty(FIELD_PROCESS_BUFFER_USAGE)\n public abstract Builder processBufferUsage(long usage);\n\n public abstract ProcessingStatusDto build();\n }\n\n @AutoValue\n @JsonDeserialize(builder = ReceiveTimes.Builder.class)\n public static abstract class ReceiveTimes {\n private static final String FIELD_INGEST = \"ingest\";\n private static final String FIELD_POST_PROCESSING = \"post_processing\";\n static final String FIELD_POST_INDEXING = \"post_indexing\";\n\n @JsonProperty(FIELD_INGEST)\n public abstract DateTime ingest();\n\n @JsonProperty(FIELD_POST_PROCESSING)\n public abstract DateTime postProcessing();\n\n @JsonProperty(FIELD_POST_INDEXING)\n public abstract DateTime postIndexing();\n\n public static Builder builder() {\n return Builder.create();\n }\n\n @AutoValue.Builder\n public static abstract class Builder {\n @JsonCreator\n public static Builder create() {\n return new AutoValue_ProcessingStatusDto_ReceiveTimes.Builder();\n }\n\n @JsonProperty(FIELD_INGEST)\n public abstract Builder ingest(DateTime timestamp);\n\n @JsonProperty(FIELD_POST_PROCESSING)\n public abstract Builder postProcessing(DateTime timestamp);\n\n @JsonProperty(FIELD_POST_INDEXING)\n public abstract Builder postIndexing(DateTime timestamp);\n\n public abstract ReceiveTimes build();\n }\n }\n\n @AutoValue\n @JsonDeserialize(builder = JournalInfo.Builder.class)\n public static abstract class JournalInfo {\n static final String FIELD_UNCOMMITTED_ENTRIES = \"uncommitted_entries\";\n private static final String FIELD_READ_MESSAGES_1M_RATE = \"read_messages_1m_rate\";\n static final String FIELD_WRITTEN_MESSAGES_1M_RATE = \"written_messages_1m_rate\";\n static final String FIELD_JOURNAL_ENABLED = \"journal_enabled\";\n\n @JsonProperty(FIELD_UNCOMMITTED_ENTRIES)\n public abstract long uncommittedEntries();\n\n @JsonProperty(FIELD_READ_MESSAGES_1M_RATE)\n public abstract double readMessages1mRate();\n\n @JsonProperty(FIELD_WRITTEN_MESSAGES_1M_RATE)\n public abstract double writtenMessages1mRate();\n\n @JsonProperty(FIELD_JOURNAL_ENABLED)\n public abstract boolean journalEnabled();\n\n public static Builder builder() {\n return Builder.create();\n }\n\n @AutoValue.Builder\n public abstract static class Builder {\n @JsonCreator\n public static Builder create() {\n return new AutoValue_ProcessingStatusDto_JournalInfo.Builder()\n .uncommittedEntries(0)\n .readMessages1mRate(0d)\n .writtenMessages1mRate(0d)\n .journalEnabled(true);\n }\n\n @JsonProperty(FIELD_UNCOMMITTED_ENTRIES)\n public abstract Builder uncommittedEntries(long uncommittedEntries);\n\n @JsonProperty(FIELD_READ_MESSAGES_1M_RATE)\n public abstract Builder readMessages1mRate(double readMessages1mRate);\n\n @JsonProperty(FIELD_WRITTEN_MESSAGES_1M_RATE)\n public abstract Builder writtenMessages1mRate(double writtenMessages1mRate);\n\n @JsonProperty(FIELD_JOURNAL_ENABLED)\n public abstract Builder journalEnabled(boolean journalEnabled);\n\n public abstract JournalInfo build();\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/4042c390840e7f3e8f273a10ad57abceb32d5ecd.json b/web/public/bundles/graylog/code/4042c390840e7f3e8f273a10ad57abceb32d5ecd.json new file mode 100644 index 00000000..b8055894 --- /dev/null +++ b/web/public/bundles/graylog/code/4042c390840e7f3e8f273a10ad57abceb32d5ecd.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "4042c390840e7f3e8f273a10ad57abceb32d5ecd", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/storage/providers/ElasticsearchBackendProvider.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.storage.providers;\n\nimport org.graylog.plugins.views.search.engine.GeneratedQueryContext;\nimport org.graylog.plugins.views.search.engine.QueryBackend;\nimport org.graylog2.storage.DetectedSearchVersion;\nimport org.graylog2.storage.VersionAwareProvider;\nimport org.graylog2.storage.SearchVersion;\n\nimport jakarta.inject.Inject;\nimport jakarta.inject.Provider;\n\nimport java.util.Map;\n\npublic class ElasticsearchBackendProvider extends VersionAwareProvider> {\n @Inject\n public ElasticsearchBackendProvider(@DetectedSearchVersion SearchVersion version,\n Map>> pluginBindings) {\n super(version, pluginBindings);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/412f0644a558a293530c51c116aacb720abc2d50.json b/web/public/bundles/graylog/code/412f0644a558a293530c51c116aacb720abc2d50.json new file mode 100644 index 00000000..669a3a2c --- /dev/null +++ b/web/public/bundles/graylog/code/412f0644a558a293530c51c116aacb720abc2d50.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "412f0644a558a293530c51c116aacb720abc2d50", + "language": "typescript", + "path": "graylog2-web-interface/src/views/components/messagelist/NodeName.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport styled from 'styled-components';\n\nimport Routes from 'routing/Routes';\nimport { Icon, Link } from 'components/common';\nimport { useStore } from 'stores/connect';\nimport { NodesStore } from 'stores/nodes/NodesStore';\nimport AppConfig from 'util/AppConfig';\n\ntype NodeId = string;\n\nconst BreakWord = styled.span`\n word-break: break-word;\n`;\n\ntype NodeTitleProps = {\n shortNodeId: string;\n hostname: string;\n};\n\nconst NodeTitle = ({ shortNodeId, hostname }: NodeTitleProps) => (\n <>\n \n  \n {shortNodeId} / \n {hostname}\n \n);\n\ntype Props = {\n nodeId: NodeId;\n};\n\nconst NodeName = ({ nodeId }: Props) => {\n const node = useStore(NodesStore, (state) => state?.nodes?.[nodeId]);\n\n if (!node) {\n return stopped node;\n }\n\n if (AppConfig.isCloud()) {\n return ;\n }\n\n return (\n \n \n \n );\n};\n\nexport default NodeName;\n" +} diff --git a/web/public/bundles/graylog/code/413024669bd045ec1c6a7da76a649dfc65121d8d.json b/web/public/bundles/graylog/code/413024669bd045ec1c6a7da76a649dfc65121d8d.json new file mode 100644 index 00000000..f6796289 --- /dev/null +++ b/web/public/bundles/graylog/code/413024669bd045ec1c6a7da76a649dfc65121d8d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "413024669bd045ec1c6a7da76a649dfc65121d8d", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20161215163900_MoveIndexSetDefaultConfig.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.migrations;\n\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.google.auto.value.AutoValue;\nimport com.google.common.collect.ImmutableSet;\nimport com.mongodb.client.FindIterable;\nimport com.mongodb.client.MongoCollection;\nimport org.bson.Document;\nimport org.bson.types.ObjectId;\nimport org.graylog2.database.MongoConnection;\nimport org.graylog2.indexer.indexset.DefaultIndexSetConfig;\nimport org.graylog2.plugin.cluster.ClusterConfigService;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport jakarta.inject.Inject;\n\nimport java.time.ZonedDateTime;\nimport java.util.Set;\n\nimport static com.google.common.base.MoreObjects.firstNonNull;\nimport static com.mongodb.client.model.Filters.eq;\nimport static com.mongodb.client.model.Filters.exists;\nimport static com.mongodb.client.model.Sorts.ascending;\nimport static com.mongodb.client.model.Updates.unset;\n\npublic class V20161215163900_MoveIndexSetDefaultConfig extends Migration {\n private static final Logger LOG = LoggerFactory.getLogger(V20161215163900_MoveIndexSetDefaultConfig.class);\n\n private static final String FIELD_DEFAULT = \"default\";\n private static final String FIELD_CREATION_DATE = \"creation_date\";\n private static final String FIELD_TITLE = \"title\";\n private static final String FIELD_ID = \"_id\";\n\n private final MongoCollection collection;\n private final ClusterConfigService clusterConfigService;\n\n @Inject\n public V20161215163900_MoveIndexSetDefaultConfig(final MongoConnection mongoConnection,\n final ClusterConfigService clusterConfigService) {\n this.collection = mongoConnection.getMongoDatabase().getCollection(\"index_sets\");\n this.clusterConfigService = clusterConfigService;\n }\n\n @Override\n public ZonedDateTime createdAt() {\n return ZonedDateTime.parse(\"2016-12-15T16:39:00Z\");\n }\n\n @Override\n public void upgrade() {\n if (clusterConfigService.get(MigrationCompleted.class) != null) {\n LOG.debug(\"Migration already done.\");\n return;\n }\n\n // Do not overwrite an existing default index config\n boolean defaultDone = clusterConfigService.get(DefaultIndexSetConfig.class) != null;\n final ImmutableSet.Builder builder = ImmutableSet.builder();\n\n final FindIterable documents = collection.find(exists(FIELD_DEFAULT)).sort(ascending(FIELD_CREATION_DATE));\n\n for (final Document document : documents) {\n final ObjectId id = document.getObjectId(FIELD_ID);\n final String idString = id.toHexString();\n final boolean isDefault = firstNonNull(document.getBoolean(FIELD_DEFAULT), false);\n\n if (!defaultDone && isDefault) {\n defaultDone = true;\n clusterConfigService.write(DefaultIndexSetConfig.create(idString));\n }\n\n final long modifiedCount = collection.updateOne(eq(FIELD_ID, id), unset(FIELD_DEFAULT)).getMatchedCount();\n\n if (modifiedCount > 0) {\n LOG.info(\"Removed field from index set <{}> ({})\", document.getString(FIELD_TITLE), idString);\n builder.add(idString);\n } else {\n LOG.error(\"Couldn't remove field from index set <{}> ({})\", document.getString(FIELD_TITLE), idString);\n }\n }\n\n clusterConfigService.write(MigrationCompleted.create(builder.build()));\n }\n\n @AutoValue\n public static abstract class MigrationCompleted {\n @JsonProperty(\"index_set_ids\")\n public abstract Set indexSetIds();\n\n @JsonCreator\n public static MigrationCompleted create(@JsonProperty(\"index_set_ids\") Set indexSetIds) {\n return new AutoValue_V20161215163900_MoveIndexSetDefaultConfig_MigrationCompleted(indexSetIds);\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/414ed7c9b3f0381131b15e7cb3e737b68efc8c3d.json b/web/public/bundles/graylog/code/414ed7c9b3f0381131b15e7cb3e737b68efc8c3d.json new file mode 100644 index 00000000..a8dc0ed6 --- /dev/null +++ b/web/public/bundles/graylog/code/414ed7c9b3f0381131b15e7cb3e737b68efc8c3d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "414ed7c9b3f0381131b15e7cb3e737b68efc8c3d", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/adapters/DSVHTTPDataAdapter.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.lookup.adapters;\n\nimport com.codahale.metrics.MetricRegistry;\nimport com.fasterxml.jackson.annotation.JsonAutoDetect;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.jackson.annotation.JsonTypeName;\nimport com.fasterxml.jackson.databind.annotation.JsonDeserialize;\nimport com.google.auto.value.AutoValue;\nimport com.google.common.collect.ArrayListMultimap;\nimport com.google.common.collect.Multimap;\nimport com.google.common.primitives.Ints;\nimport com.google.inject.assistedinject.Assisted;\nimport jakarta.inject.Inject;\nimport jakarta.validation.constraints.Min;\nimport jakarta.validation.constraints.NotEmpty;\nimport jakarta.validation.constraints.Size;\nimport okhttp3.HttpUrl;\nimport org.graylog2.lookup.adapters.dsvhttp.DSVParser;\nimport org.graylog2.lookup.adapters.dsvhttp.HTTPFileRetriever;\nimport org.graylog2.plugin.lookup.LookupCachePurge;\nimport org.graylog2.plugin.lookup.LookupDataAdapter;\nimport org.graylog2.plugin.lookup.LookupDataAdapterConfiguration;\nimport org.graylog2.plugin.lookup.LookupPreview;\nimport org.graylog2.plugin.lookup.LookupResult;\nimport org.graylog2.system.urlallowlist.UrlAllowlistNotificationService;\nimport org.graylog2.system.urlallowlist.UrlAllowlistService;\nimport org.graylog2.system.urlallowlist.UrlNotAllowlistedException;\nimport org.joda.time.Duration;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.util.Collections;\nimport java.util.HashMap;\nimport java.util.Locale;\nimport java.util.Map;\nimport java.util.Optional;\nimport java.util.concurrent.atomic.AtomicReference;\n\nimport static com.google.common.base.Strings.isNullOrEmpty;\n\npublic class DSVHTTPDataAdapter extends LookupDataAdapter {\n private static final Logger LOG = LoggerFactory.getLogger(DSVHTTPDataAdapter.class);\n\n public static final String NAME = \"dsvhttp\";\n\n private final DSVHTTPDataAdapter.Config config;\n private final HTTPFileRetriever httpFileRetriever;\n private final AtomicReference> lookupRef = new AtomicReference<>(Collections.emptyMap());\n private final DSVParser dsvParser;\n private final UrlAllowlistService allowlistService;\n private final UrlAllowlistNotificationService urlAllowlistNotificationService;\n\n @Inject\n public DSVHTTPDataAdapter(@Assisted(\"id\") String id, @Assisted(\"name\") String name,\n @Assisted LookupDataAdapterConfiguration config, MetricRegistry metricRegistry,\n HTTPFileRetriever httpFileRetriever, UrlAllowlistService allowlistService,\n UrlAllowlistNotificationService urlAllowlistNotificationService) {\n super(id, name, config, metricRegistry);\n this.config = (DSVHTTPDataAdapter.Config) config;\n this.httpFileRetriever = httpFileRetriever;\n this.allowlistService = allowlistService;\n this.urlAllowlistNotificationService = urlAllowlistNotificationService;\n this.dsvParser = new DSVParser(\n this.config.ignorechar(),\n this.config.lineSeparator(),\n this.config.separator(),\n this.config.quotechar(),\n this.config.isCheckPresenceOnly(),\n this.config.isCaseInsensitiveLookup(),\n this.config.keyColumn(),\n this.config.valueColumn()\n );\n }\n\n @Override\n public void doStart() throws Exception {\n LOG.debug(\"Starting HTTP DSV data adapter for URL: {}\", config.url());\n if (isNullOrEmpty(config.url())) {\n throw new IllegalStateException(\"File path needs to be set\");\n }\n if (config.refreshInterval() < 1) {\n throw new IllegalStateException(\"Check interval setting cannot be smaller than 1\");\n }\n if (!allowlistService.isAllowlisted(config.url())) {\n publishSystemNotificationForAllowlistFailure();\n throw UrlNotAllowlistedException.forUrl(config.url());\n }\n\n final Optional response = httpFileRetriever.fetchFileIfNotModified(config.url());\n\n response.ifPresent(body -> lookupRef.set(dsvParser.parse(body)));\n }\n\n @Override\n public Duration refreshInterval() {\n return Duration.standardSeconds(Ints.saturatedCast(config.refreshInterval()));\n }\n\n @Override\n protected void doRefresh(LookupCachePurge cachePurge) throws Exception {\n if (!allowlistService.isAllowlisted(config.url())) {\n setError(UrlNotAllowlistedException.forUrl(config.url()));\n publishSystemNotificationForAllowlistFailure();\n return;\n }\n\n final boolean urlWasNotAllowlisted =\n getError().filter(UrlNotAllowlistedException.class::isInstance).isPresent();\n\n try {\n // reload file if the url was blacklisted so that any errors with the file will surface again\n final Optional response = urlWasNotAllowlisted ?\n this.httpFileRetriever.fetchFile(config.url()) :\n this.httpFileRetriever.fetchFileIfNotModified(config.url());\n\n response.ifPresent(body -> {\n LOG.debug(\"DSV file {} has changed, updating data\", config.url());\n lookupRef.set(dsvParser.parse(body));\n cachePurge.purgeAll();\n clearError();\n });\n } catch (Exception e) {\n LOG.error(\"Couldn't check data adapter <{}> DSV file {} for updates: {} {}\", name(), config.url(), e.getClass().getCanonicalName(), e.getMessage());\n setError(e);\n }\n }\n\n @Override\n public void doStop() throws Exception {\n LOG.debug(\"Stopping HTTP DSV data adapter for url: {}\", config.url());\n }\n\n @Override\n public LookupResult doGet(Object key) {\n final String stringKey = config.isCaseInsensitiveLookup() ? String.valueOf(key).toLowerCase(Locale.ENGLISH) : String.valueOf(key);\n\n if (config.isCheckPresenceOnly()) {\n return LookupResult.single(lookupRef.get().containsKey(stringKey));\n }\n\n final String value = lookupRef.get().get(stringKey);\n\n if (value == null) {\n return LookupResult.empty();\n }\n\n return LookupResult.single(value);\n }\n\n @Override\n public boolean supportsPreview() {\n return true;\n }\n\n @Override\n public LookupPreview getPreview(int size) {\n final Map result = new HashMap<>();\n final Map lookup = lookupRef.get();\n for (Map.Entry entries : lookup.entrySet()) {\n if (result.size() == size) {\n break;\n }\n result.put(entries.getKey(), entries.getValue());\n }\n return new LookupPreview(lookup.size(), result);\n }\n\n @Override\n public void set(Object key, Object value) {\n throw new UnsupportedOperationException();\n }\n\n public interface Factory extends LookupDataAdapter.Factory {\n @Override\n DSVHTTPDataAdapter create(@Assisted(\"id\") String id,\n @Assisted(\"name\") String name,\n LookupDataAdapterConfiguration configuration);\n\n @Override\n DSVHTTPDataAdapter.Descriptor getDescriptor();\n }\n\n public static class Descriptor extends LookupDataAdapter.Descriptor {\n public Descriptor() {\n super(NAME, DSVHTTPDataAdapter.Config.class);\n }\n\n @Override\n public DSVHTTPDataAdapter.Config defaultConfiguration() {\n return DSVHTTPDataAdapter.Config.builder()\n .type(NAME)\n .url(\"https://example.org/table.csv\")\n .separator(\",\")\n .lineSeparator(\"\\n\")\n .quotechar(\"\\\"\")\n .ignorechar(\"#\")\n .keyColumn(0)\n .valueColumn(1)\n .refreshInterval(60)\n .caseInsensitiveLookup(false)\n .checkPresenceOnly(false)\n .build();\n }\n }\n\n @AutoValue\n @JsonAutoDetect\n @JsonDeserialize(builder = AutoValue_DSVHTTPDataAdapter_Config.Builder.class)\n @JsonTypeName(NAME)\n public static abstract class Config implements LookupDataAdapterConfiguration {\n\n @Override\n @JsonProperty(TYPE_FIELD)\n public abstract String type();\n\n @JsonProperty(\"url\")\n @NotEmpty\n public abstract String url();\n\n // Using String here instead of char to allow deserialization of a longer (invalid) string to get proper\n // validation error messages\n @JsonProperty(\"separator\")\n @Size(min = 1, max = 1)\n @NotEmpty\n public abstract String separator();\n\n @JsonProperty(\"line_separator\")\n @Size(min = 1, max = 1)\n @NotEmpty\n public abstract String lineSeparator();\n\n // Using String here instead of char to allow deserialization of a longer (invalid) string to get proper\n // validation error messages\n @JsonProperty(\"quotechar\")\n @Size(min = 1, max = 1)\n @NotEmpty\n public abstract String quotechar();\n\n @JsonProperty(\"ignorechar\")\n @Size(min = 1)\n @NotEmpty\n public abstract String ignorechar();\n\n @JsonProperty(\"key_column\")\n @NotEmpty\n public abstract Integer keyColumn();\n\n @JsonProperty(\"check_presence_only\")\n public abstract Optional checkPresenceOnly();\n\n @JsonProperty(\"value_column\")\n @NotEmpty\n public abstract Optional valueColumn();\n\n @JsonProperty(\"refresh_interval\")\n @Min(1)\n public abstract long refreshInterval();\n\n @JsonProperty(\"case_insensitive_lookup\")\n public abstract Optional caseInsensitiveLookup();\n\n public boolean isCaseInsensitiveLookup() {\n return caseInsensitiveLookup().orElse(false);\n }\n\n public boolean isCheckPresenceOnly() {\n return checkPresenceOnly().orElse(false);\n }\n\n public static DSVHTTPDataAdapter.Config.Builder builder() {\n return new AutoValue_DSVHTTPDataAdapter_Config.Builder();\n }\n\n @Override\n public Optional> validate(LookupDataAdapterValidationContext validationContext) {\n final ArrayListMultimap errors = ArrayListMultimap.create();\n\n if (HttpUrl.parse(url()) == null) {\n errors.put(\"url\", \"Unable to parse url: \" + url());\n } else if (!validationContext.getUrlAllowlistService().isAllowlisted(url())) {\n errors.put(\"url\", \"URL <\" + url() + \"> is not allowlisted.\");\n }\n\n return errors.isEmpty() ? Optional.empty() : Optional.of(errors);\n }\n\n @AutoValue.Builder\n public abstract static class Builder {\n @JsonProperty(TYPE_FIELD)\n public abstract DSVHTTPDataAdapter.Config.Builder type(String type);\n\n @JsonProperty(\"url\")\n public abstract DSVHTTPDataAdapter.Config.Builder url(String url);\n\n @JsonProperty(\"separator\")\n public abstract DSVHTTPDataAdapter.Config.Builder separator(String separator);\n\n @JsonProperty(\"line_separator\")\n public abstract DSVHTTPDataAdapter.Config.Builder lineSeparator(String separator);\n\n @JsonProperty(\"quotechar\")\n public abstract DSVHTTPDataAdapter.Config.Builder quotechar(String quotechar);\n\n @JsonProperty(\"ignorechar\")\n public abstract DSVHTTPDataAdapter.Config.Builder ignorechar(String ignorechar);\n\n @JsonProperty(\"key_column\")\n public abstract DSVHTTPDataAdapter.Config.Builder keyColumn(Integer keyColumn);\n\n @JsonProperty(\"value_column\")\n public abstract DSVHTTPDataAdapter.Config.Builder valueColumn(Integer valueColumn);\n\n @JsonProperty(\"refresh_interval\")\n public abstract DSVHTTPDataAdapter.Config.Builder refreshInterval(long refreshInterval);\n\n @JsonProperty(\"case_insensitive_lookup\")\n public abstract DSVHTTPDataAdapter.Config.Builder caseInsensitiveLookup(Boolean caseInsensitiveLookup);\n\n @JsonProperty(\"check_presence_only\")\n public abstract DSVHTTPDataAdapter.Config.Builder checkPresenceOnly(Boolean checkPresenceOnly);\n\n public abstract DSVHTTPDataAdapter.Config build();\n }\n }\n\n private void publishSystemNotificationForAllowlistFailure() {\n final String description =\n \"A \\\"DSV File from HTTP\\\" lookup adapter is trying to access a URL which is not allowlisted. Please \" +\n \"check your configuration. [adapter name: \\\"\" + name() + \"\\\", url: \\\"\" + config.url() + \"\\\"]\";\n urlAllowlistNotificationService.publishAllowlistFailure(description);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/429f7a27d440c9f0b5fe8487edc72c177555b902.json b/web/public/bundles/graylog/code/429f7a27d440c9f0b5fe8487edc72c177555b902.json new file mode 100644 index 00000000..913a1766 --- /dev/null +++ b/web/public/bundles/graylog/code/429f7a27d440c9f0b5fe8487edc72c177555b902.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "429f7a27d440c9f0b5fe8487edc72c177555b902", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CertutilTruststore.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.security.certutil;\n\nimport com.github.rvesse.airline.annotations.Command;\nimport com.github.rvesse.airline.annotations.Option;\nimport org.graylog.security.certutil.console.CommandLineConsole;\nimport org.graylog.security.certutil.console.SystemConsole;\nimport org.graylog2.bootstrap.CliCommand;\n\nimport java.io.FileInputStream;\nimport java.io.FileOutputStream;\nimport java.nio.file.Files;\nimport java.nio.file.Path;\nimport java.security.KeyStore;\nimport java.security.cert.X509Certificate;\nimport java.util.Locale;\n\nimport static org.graylog.security.certutil.CertConstants.CA_KEY_ALIAS;\nimport static org.graylog.security.certutil.CertConstants.PKCS12;\n\n\n@Command(name = \"truststore\", description = \"Manage certificates for data-node\", groupNames = {\"certutil\"})\npublic class CertutilTruststore implements CliCommand {\n\n @Option(name = \"--ca\", description = \"Filename for the CA keystore\")\n protected String caKeystoreFilename = \"datanode-ca.p12\";\n\n @Option(name = \"--truststore\", description = \"Filename for the generated truststore\")\n protected String truststoreFilename = \"datanode-truststore.p12\";\n\n private final CommandLineConsole console;\n\n public static final CommandLineConsole.Prompt PROMPT_ENTER_CA_PASSWORD = CommandLineConsole.prompt(\"Enter CA password: \");\n public static final CommandLineConsole.Prompt PROMPT_ENTER_TRUSTSTORE_PASSWORD = CommandLineConsole.prompt(\"Enter datanode truststore password: \");\n\n public CertutilTruststore() {\n this.console = new SystemConsole();\n }\n\n public CertutilTruststore(String caKeystoreFilename, String truststoreFilename, CommandLineConsole console) {\n this.caKeystoreFilename = caKeystoreFilename;\n this.truststoreFilename = truststoreFilename;\n this.console = console;\n }\n\n @Override\n public void run() {\n console.printLine(\"This tool will generate a truststore with certificate of provided certificate authority\");\n\n final Path caKeystorePath = Path.of(caKeystoreFilename);\n\n console.printLine(\"Using certificate authority \" + caKeystorePath.toAbsolutePath());\n\n try {\n\n if(!Files.exists(caKeystorePath)) {\n throw new IllegalArgumentException(\"File \" + caKeystorePath.toAbsolutePath() + \" doesn't exist!\");\n }\n\n char[] password = console.readPassword(PROMPT_ENTER_CA_PASSWORD);\n KeyStore caKeystore = KeyStore.getInstance(PKCS12);\n try (FileInputStream fis = new FileInputStream(caKeystorePath.toFile())) {\n caKeystore.load(fis, password);\n }\n\n final X509Certificate caCertificate = (X509Certificate) caKeystore.getCertificate(CA_KEY_ALIAS);\n\n console.printLine(\"Successfully read CA from the keystore\");\n console.printLine(certificateInfo(caCertificate));\n\n KeyStore truststore = KeyStore.getInstance(PKCS12);\n truststore.load(null, null);\n\n char[] truststorePassword = console.readPassword(PROMPT_ENTER_TRUSTSTORE_PASSWORD);\n\n truststore.setCertificateEntry(CA_KEY_ALIAS, caCertificate);\n\n final Path nodeKeystorePath = Path.of(truststoreFilename);\n try (FileOutputStream store = new FileOutputStream(nodeKeystorePath.toFile())) {\n truststore.store(store, truststorePassword);\n console.printLine(\"Truststore with the CA certificate successfully saved into \" + nodeKeystorePath.toAbsolutePath());\n }\n\n // TODO: provide good user-friendly error message for each exception type!\n } catch (Exception e) {\n throw new RuntimeException(e);\n }\n\n }\n\n public static String certificateInfo(X509Certificate cert) {\n return String.format(Locale.ROOT, \"Subject: %s, issuer: %s, not before: %s, not after: %s\", cert.getSubjectX500Principal(), cert.getIssuerX500Principal(), cert.getNotBefore(), cert.getNotAfter());\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/4340dac8aaacb805c975a89e533ddd3949a175c6.json b/web/public/bundles/graylog/code/4340dac8aaacb805c975a89e533ddd3949a175c6.json new file mode 100644 index 00000000..9065aa7c --- /dev/null +++ b/web/public/bundles/graylog/code/4340dac8aaacb805c975a89e533ddd3949a175c6.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "4340dac8aaacb805c975a89e533ddd3949a175c6", + "language": "typescript", + "path": "graylog2-web-interface/src/views/components/visualizations/utils/getDefaultPlotFontSettings.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport type { DefaultTheme } from 'styled-components';\n\nimport { ROOT_FONT_SIZE } from 'theme/constants';\n\nexport const getDefaultLabelColor = (theme: DefaultTheme) => theme.colors.text.primary;\n\nconst getDefaultPlotFontSettings = (theme: DefaultTheme) => ({\n color: getDefaultLabelColor(theme),\n size: ROOT_FONT_SIZE * Number(theme.fonts.size.small.replace(/rem|em/i, '')),\n family: theme.fonts.family.body,\n});\n\nexport default getDefaultPlotFontSettings;\n" +} diff --git a/web/public/bundles/graylog/code/434dc49d3a2a8109e509111b3c0fe0602b553e4b.json b/web/public/bundles/graylog/code/434dc49d3a2a8109e509111b3c0fe0602b553e4b.json new file mode 100644 index 00000000..9ec65582 --- /dev/null +++ b/web/public/bundles/graylog/code/434dc49d3a2a8109e509111b3c0fe0602b553e4b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "434dc49d3a2a8109e509111b3c0fe0602b553e4b", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/web/resources/ConnectionCheckResult.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.bootstrap.preflight.web.resources;\n\nimport jakarta.annotation.Nullable;\nimport org.graylog2.storage.SearchVersion;\n\npublic record ConnectionCheckResult(@Nullable SearchVersion searchVersion, String errorMessage) {\n public static ConnectionCheckResult success(SearchVersion searchVersion) {\n return new ConnectionCheckResult(searchVersion, null);\n }\n\n public static ConnectionCheckResult failure(String error) {\n return new ConnectionCheckResult(null, error);\n }\n\n\n public boolean succeeded() {\n return searchVersion != null;\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/43aa27f0061d71a77ea5873a7b17f762e1434935.json b/web/public/bundles/graylog/code/43aa27f0061d71a77ea5873a7b17f762e1434935.json new file mode 100644 index 00000000..6a35a3e1 --- /dev/null +++ b/web/public/bundles/graylog/code/43aa27f0061d71a77ea5873a7b17f762e1434935.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "43aa27f0061d71a77ea5873a7b17f762e1434935", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/fields/RotationAndRetentionFields.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.indexer.indexset.fields;\n\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport jakarta.validation.constraints.Min;\nimport org.graylog2.datatiering.DataTieringConfig;\nimport org.graylog2.plugin.indexer.retention.RetentionStrategyConfig;\nimport org.graylog2.plugin.indexer.rotation.RotationStrategyConfig;\nimport org.joda.time.Duration;\n\nimport javax.annotation.Nullable;\n\npublic interface RotationAndRetentionFields {\n\n String FIELD_ROTATION_STRATEGY_CLASS = \"rotation_strategy_class\";\n String FIELD_ROTATION_STRATEGY = \"rotation_strategy\";\n String FIELD_RETENTION_STRATEGY_CLASS = \"retention_strategy_class\";\n String FIELD_RETENTION_STRATEGY = \"retention_strategy\";\n String FIELD_INDEX_OPTIMIZATION_MAX_NUM_SEGMENTS = \"index_optimization_max_num_segments\";\n String FIELD_INDEX_OPTIMIZATION_DISABLED = \"index_optimization_disabled\";\n String FIELD_DATA_TIERING = \"data_tiering\";\n String FIELD_TYPE_REFRESH_INTERVAL = \"field_type_refresh_interval\";\n\n @Min(1)\n @JsonProperty(FIELD_INDEX_OPTIMIZATION_MAX_NUM_SEGMENTS)\n int indexOptimizationMaxNumSegments();\n\n @JsonProperty(FIELD_INDEX_OPTIMIZATION_DISABLED)\n boolean indexOptimizationDisabled();\n\n @JsonProperty(FIELD_TYPE_REFRESH_INTERVAL)\n Duration fieldTypeRefreshInterval();\n\n @Nullable\n @JsonProperty(FIELD_ROTATION_STRATEGY_CLASS)\n String rotationStrategyClass();\n\n @Nullable\n @JsonProperty(FIELD_ROTATION_STRATEGY)\n RotationStrategyConfig rotationStrategyConfig();\n\n @Nullable\n @JsonProperty(FIELD_RETENTION_STRATEGY_CLASS)\n String retentionStrategyClass();\n\n @Nullable\n @JsonProperty(FIELD_RETENTION_STRATEGY)\n RetentionStrategyConfig retentionStrategyConfig();\n\n @Nullable\n @JsonProperty(FIELD_DATA_TIERING)\n DataTieringConfig dataTieringConfig();\n\n interface RotationAndRetentionFieldsBuilder {\n\n @JsonProperty(FIELD_INDEX_OPTIMIZATION_MAX_NUM_SEGMENTS)\n T indexOptimizationMaxNumSegments(@Min(1) int indexOptimizationMaxNumSegments);\n\n @JsonProperty(FIELD_INDEX_OPTIMIZATION_DISABLED)\n T indexOptimizationDisabled(boolean indexOptimizationDisabled);\n\n @JsonProperty(FIELD_TYPE_REFRESH_INTERVAL)\n T fieldTypeRefreshInterval(Duration fieldTypeRefreshInterval);\n\n @JsonProperty(FIELD_ROTATION_STRATEGY_CLASS)\n T rotationStrategyClass(String rotationStrategyClass);\n\n @JsonProperty(FIELD_ROTATION_STRATEGY)\n T rotationStrategyConfig(RotationStrategyConfig rotationStrategyConfig);\n\n @JsonProperty(FIELD_RETENTION_STRATEGY_CLASS)\n T retentionStrategyClass(String retentionStrategyClass);\n\n @JsonProperty(FIELD_RETENTION_STRATEGY)\n T retentionStrategyConfig(RetentionStrategyConfig retentionStrategyConfig);\n\n @JsonProperty(FIELD_DATA_TIERING)\n T dataTieringConfig(DataTieringConfig dataTiering);\n\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/440c3ceef724d262c65f77540ffaf564e0265207.json b/web/public/bundles/graylog/code/440c3ceef724d262c65f77540ffaf564e0265207.json new file mode 100644 index 00000000..677d2489 --- /dev/null +++ b/web/public/bundles/graylog/code/440c3ceef724d262c65f77540ffaf564e0265207.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "440c3ceef724d262c65f77540ffaf564e0265207", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CertutilCa.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.security.certutil;\n\nimport com.github.rvesse.airline.annotations.Command;\nimport com.github.rvesse.airline.annotations.Option;\nimport org.graylog.security.certutil.ca.CAKeyPair;\nimport org.graylog.security.certutil.console.CommandLineConsole;\nimport org.graylog.security.certutil.console.SystemConsole;\nimport org.graylog.security.certutil.keystore.storage.KeystoreFileStorage;\nimport org.graylog2.bootstrap.CliCommand;\n\nimport java.nio.file.Path;\nimport java.security.KeyStore;\nimport java.time.Duration;\n\n@Command(name = \"ca\", description = \"Manage certificate authority for data-node\", groupNames = {\"certutil\"})\npublic class CertutilCa implements CliCommand {\n\n public static final String DEFAULT_ORGANIZATION_NAME = \"Graylog CA\";\n @Option(name = \"--filename\", description = \"Filename for the CA keystore\")\n protected String keystoreFilename = \"datanode-ca.p12\";\n private final CommandLineConsole console;\n private final KeystoreFileStorage caKeystoreStorage;\n public static final CommandLineConsole.Prompt PROMPT_ENTER_CA_PASSWORD = CommandLineConsole.prompt(\"Enter CA password: \");\n\n public CertutilCa() {\n this.console = new SystemConsole();\n this.caKeystoreStorage = new KeystoreFileStorage();\n }\n\n public CertutilCa(String keystoreFilename, CommandLineConsole console) {\n this.keystoreFilename = keystoreFilename;\n this.console = console;\n this.caKeystoreStorage = new KeystoreFileStorage();\n }\n\n @Override\n public void run() {\n try {\n console.printLine(\"This tool will generate a self-signed certificate authority for datanode\");\n char[] password = this.console.readPassword(PROMPT_ENTER_CA_PASSWORD);\n console.printLine(\"Generating datanode CA\");\n\n final Duration certificateValidity = Duration.ofDays(10 * 365);\n KeyStore caKeystore = CAKeyPair.create(DEFAULT_ORGANIZATION_NAME, password, certificateValidity).toKeyStore();\n\n console.printLine(\"Private keys and certificates for root and intermediate CA generated\");\n\n final Path keystorePath = Path.of(keystoreFilename);\n caKeystoreStorage.writeKeyStore(keystorePath, caKeystore, password, null);\n console.printLine(\"Keys and certificates stored in \" + keystorePath.toAbsolutePath());\n } catch (Exception e) {\n throw new RuntimeException(\"Failed to generate CA certificate\", e);\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/445a1d2d25d7ce2ebba5fda4801a31113b4cea1d.json b/web/public/bundles/graylog/code/445a1d2d25d7ce2ebba5fda4801a31113b4cea1d.json new file mode 100644 index 00000000..0b7bde35 --- /dev/null +++ b/web/public/bundles/graylog/code/445a1d2d25d7ce2ebba5fda4801a31113b4cea1d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "445a1d2d25d7ce2ebba5fda4801a31113b4cea1d", + "language": "typescript", + "path": "graylog2-web-interface/src/components/collectors/Permissions.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport type { Permission } from 'graylog-web-plugin/plugin';\n\n/**\n * Mirrors org.graylog.collectors.CollectorsPermissions. These strings are a contract with the\n * backend — they must match byte-for-byte.\n *\n * Fleet, source, instance and token permissions are entity-scoped to the *fleet*: the backend\n * checks them as `:`. Sources and instances do not own their permission;\n * their parent fleet does. Use `scoped()` to build the check.\n */\nexport const COLLECTOR_PERMISSIONS = {\n FLEET_CREATE: 'collector_fleets:create' as Permission,\n FLEET_READ: 'collector_fleets:read' as Permission,\n FLEET_EDIT: 'collector_fleets:edit' as Permission,\n FLEET_DELETE: 'collector_fleets:delete' as Permission,\n FLEET_INSTANCE_ASSIGN: 'collector_fleets:assign_instance' as Permission,\n FLEET_INSTANCE_DELETE: 'collector_fleets:delete_instance' as Permission,\n SOURCE_CREATE: 'collector_fleets:source_create' as Permission,\n SOURCE_EDIT: 'collector_fleets:source_edit' as Permission,\n SOURCE_DELETE: 'collector_fleets:source_delete' as Permission,\n ENROLL_TOKEN_CREATE: 'collector_enrollment_tokens:create' as Permission,\n ENROLL_TOKEN_READ: 'collector_enrollment_tokens:read' as Permission,\n ENROLL_TOKEN_DELETE: 'collector_enrollment_tokens:delete' as Permission,\n CONFIGURATION_READ: 'collectors_config:read' as Permission,\n CONFIGURATION_EDIT: 'collectors_config:edit' as Permission,\n ACTIVITIES_READ: 'collector_activities:read' as Permission,\n} as const;\n\nexport const scoped = (permission: string, entityId: string) => `${permission}:${entityId}` as Permission;\n" +} diff --git a/web/public/bundles/graylog/code/44c2513cdba82fe9e59fb6d48f0d1f34be2c053d.json b/web/public/bundles/graylog/code/44c2513cdba82fe9e59fb6d48f0d1f34be2c053d.json new file mode 100644 index 00000000..66bf3493 --- /dev/null +++ b/web/public/bundles/graylog/code/44c2513cdba82fe9e59fb6d48f0d1f34be2c053d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "44c2513cdba82fe9e59fb6d48f0d1f34be2c053d", + "language": "typescript", + "path": "graylog2-web-interface/src/views/components/time-range-picker/TabKeywordTimeRange.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport styled, { css } from 'styled-components';\nimport { Field, useField } from 'formik';\nimport { useQuery } from '@tanstack/react-query';\nimport trim from 'lodash/trim';\n\nimport { Col, FormControl, FormGroup, Panel, Row } from 'components/bootstrap';\nimport DocumentationLink from 'components/support/DocumentationLink';\nimport DocsHelper from 'util/DocsHelper';\nimport { testNaturalDate } from 'api/tools';\nimport useUserDateTime from 'hooks/useUserDateTime';\nimport { InputDescription, Timestamp } from 'components/common';\nimport debounceWithPromise from 'views/logic/debounceWithPromise';\nimport { EMPTY_RANGE } from 'views/components/time-range-picker/TimeRangeDisplay';\n\nconst Headline = styled.h3`\n margin-bottom: 5px;\n`;\n\nconst KeywordInput = styled(FormControl)(\n ({ theme }) => css`\n min-height: 34px;\n font-size: ${theme.fonts.size.large};\n `,\n);\n\nconst EffectiveTimeRangeTable = styled.table`\n margin-bottom: 5px;\n\n td:first-child {\n padding-right: 10px;\n }\n`;\n\nconst debouncedTestNaturalDate = debounceWithPromise(\n (keyword: string, userTZ: string) => testNaturalDate(keyword, userTZ),\n 350,\n);\n\nconst TimePreview = ({ dateTime, isLoading }: { dateTime: string; isLoading: boolean }) => {\n if (!dateTime || isLoading) {\n return <>{EMPTY_RANGE};\n }\n\n return ;\n};\n\nconst useKeywordPreview = (keyword: string, userTZ: string) => {\n const { data, isFetching } = useQuery({\n queryKey: ['time-range', 'validation', 'keyword', keyword],\n queryFn: () => debouncedTestNaturalDate(keyword, userTZ),\n retry: 0,\n enabled: !!trim(keyword),\n });\n\n return { data, isFetching };\n};\n\nconst KeywordTimeRangePreview = () => {\n const [\n {\n value: { keyword },\n },\n ] = useField('timeRangeTabs.keyword');\n const { userTimezone } = useUserDateTime();\n const { data, isFetching } = useKeywordPreview(keyword, userTimezone);\n\n return (\n \n \n \n From\n \n \n \n \n \n To\n \n \n \n \n \n \n );\n};\n\ntype Props = {\n disabled?: boolean;\n};\n\nconst TabKeywordTimeRange = ({ disabled = false }: Props) => (\n \n \n Time range:\n \n {({ field: { name, value, onChange }, meta: { error } }) => (\n \n \n \n \n )}\n \n\n Preview\n \n \n\n \n \n \n

\n last month searches between one month ago and now\n

\n\n

\n 4 hours ago searches between four hours ago and now\n

\n\n

\n 1st of april to 2 days ago searches between 1st of April and 2 days ago\n

\n\n

\n yesterday midnight +0200 to today midnight +0200 searches between yesterday midnight and today\n midnight in timezone +0200 - will be 22:00 in UTC\n

\n\n

\n Please consult the{' '}\n {' '}\n for more details.\n

\n
\n
\n \n
\n);\n\nexport default TabKeywordTimeRange;\n" +} diff --git a/web/public/bundles/graylog/code/457721f6ae26d7623251803b01df4298f8b3201c.json b/web/public/bundles/graylog/code/457721f6ae26d7623251803b01df4298f8b3201c.json new file mode 100644 index 00000000..0e80f84c --- /dev/null +++ b/web/public/bundles/graylog/code/457721f6ae26d7623251803b01df4298f8b3201c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "457721f6ae26d7623251803b01df4298f8b3201c", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/web/resources/PreflightStatusResource.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.bootstrap.preflight.web.resources;\n\nimport jakarta.inject.Inject;\nimport jakarta.ws.rs.GET;\nimport jakarta.ws.rs.POST;\nimport jakarta.ws.rs.Path;\nimport jakarta.ws.rs.Produces;\nimport jakarta.ws.rs.core.MediaType;\nimport org.apache.shiro.authz.annotation.RequiresPermissions;\nimport org.graylog2.audit.jersey.NoAuditEvent;\nimport org.graylog2.bootstrap.preflight.ConfigurationStatus;\nimport org.graylog2.bootstrap.preflight.PreflightConfig;\nimport org.graylog2.bootstrap.preflight.PreflightConfigResult;\nimport org.graylog2.bootstrap.preflight.PreflightConfigService;\nimport org.graylog2.bootstrap.preflight.PreflightConstants;\nimport org.graylog2.bootstrap.preflight.PreflightWebModule;\nimport org.graylog2.plugin.Version;\n\n\n@Path(PreflightConstants.API_PREFIX + \"status\")\n@Produces(MediaType.APPLICATION_JSON)\npublic class PreflightStatusResource {\n\n private final Version version = Version.CURRENT_CLASSPATH;\n private final PreflightConfigService preflightConfigService;\n\n @Inject\n public PreflightStatusResource(PreflightConfigService preflightConfigService) {\n this.preflightConfigService = preflightConfigService;\n }\n\n @GET\n @RequiresPermissions(PreflightWebModule.PERMISSION_PREFLIGHT_ONLY)\n public ConfigurationStatus status() {\n return new ConfigurationStatus(version.toString());\n }\n\n @POST\n @Path(\"/finish-config\")\n @RequiresPermissions(PreflightWebModule.PERMISSION_PREFLIGHT_ONLY)\n @NoAuditEvent(\"No Auditing during preflight\")\n public PreflightConfig finishConfig() {\n preflightConfigService.setConfigResult(PreflightConfigResult.FINISHED);\n return new PreflightConfig(PreflightConfigResult.FINISHED);\n }\n\n @POST\n @Path(\"/skip-config\")\n @RequiresPermissions(PreflightWebModule.PERMISSION_PREFLIGHT_ONLY)\n @NoAuditEvent(\"No Auditing during preflight\")\n public PreflightConfig skipConfig() {\n preflightConfigService.setConfigResult(PreflightConfigResult.SKIPPED);\n return new PreflightConfig(PreflightConfigResult.SKIPPED);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/45b70fe31419d4d88007f6f85c541a6142bb8ff9.json b/web/public/bundles/graylog/code/45b70fe31419d4d88007f6f85c541a6142bb8ff9.json new file mode 100644 index 00000000..3de54980 --- /dev/null +++ b/web/public/bundles/graylog/code/45b70fe31419d4d88007f6f85c541a6142bb8ff9.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "45b70fe31419d4d88007f6f85c541a6142bb8ff9", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/AuthServiceAuthenticator.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.security.authservice;\n\nimport jakarta.inject.Inject;\nimport org.graylog2.shared.security.AuthenticationServiceUnavailableException;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.util.Optional;\n\npublic class AuthServiceAuthenticator {\n private static final Logger LOG = LoggerFactory.getLogger(AuthServiceAuthenticator.class);\n\n private final GlobalAuthServiceConfig authServiceConfig;\n private final ProvisionerService provisionerService;\n\n @Inject\n public AuthServiceAuthenticator(GlobalAuthServiceConfig authServiceConfig,\n ProvisionerService provisionerService) {\n this.authServiceConfig = authServiceConfig;\n this.provisionerService = provisionerService;\n }\n\n /**\n * Tries to authenticate the user with the given token.\n */\n public AuthServiceResult authenticate(AuthServiceToken token) {\n final Optional activeBackend = authServiceConfig.getActiveBackend();\n if (!activeBackend.isPresent()) {\n final AuthServiceBackend defaultBackend = authServiceConfig.getDefaultBackend();\n throw new AuthServiceException(\"No active auth service backend configured. Tokens can not be \" +\n \"authenticated with the default backend. Please activate a backend capable of token-based \" +\n \"authentication.\", defaultBackend.backendType(), defaultBackend.backendId());\n }\n return authenticate(token, activeBackend.get());\n }\n\n /**\n * Tries to authenticate the username with the given password and returns the authenticated username if successful.\n *\n * @param authCredentials the authentication credentials\n * @return the authenticated username\n */\n public AuthServiceResult authenticate(AuthServiceCredentials authCredentials) {\n final Optional activeBackend = authServiceConfig.getActiveBackend();\n\n if (activeBackend.isPresent()) {\n AuthenticationServiceUnavailableException caughtException = null;\n try {\n final AuthServiceResult result = authenticate(authCredentials, activeBackend.get());\n if (result.isSuccess()) {\n return result;\n }\n } catch (AuthenticationServiceUnavailableException e) {\n caughtException = e;\n }\n // TODO: Do we want the fallback to the default backend here? Maybe it should be configurable?\n if (LOG.isDebugEnabled()) {\n final AuthServiceBackend defaultBackend = authServiceConfig.getDefaultBackend();\n LOG.debug(\"Couldn't authenticate <{}> against active authentication service <{}/{}/{}>. Trying default backend <{}/{}/{}>.\",\n authCredentials.username(),\n activeBackend.get().backendId(), activeBackend.get().backendType(), activeBackend.get().backendTitle(),\n defaultBackend.backendId(), defaultBackend.backendType(), defaultBackend.backendTitle());\n }\n final AuthServiceResult result = authenticate(authCredentials, authServiceConfig.getDefaultBackend());\n if (result.isSuccess()) {\n return result;\n }\n if (caughtException != null) {\n throw caughtException;\n }\n return result;\n } else {\n return authenticate(authCredentials, authServiceConfig.getDefaultBackend());\n }\n }\n\n private AuthServiceResult authenticate(AuthServiceToken token, AuthServiceBackend backend) {\n final Optional optionalAuthDetails = backend.authenticateAndProvision(token, provisionerService);\n\n return optionalAuthDetails.map(authDetails -> successResult(authDetails, backend))\n .orElseGet(() -> failResult(\"\", backend));\n }\n\n private AuthServiceResult authenticate(AuthServiceCredentials authCredentials, AuthServiceBackend backend) {\n final Optional\n optionalAuthenticationDetails = backend.authenticateAndProvision(authCredentials, provisionerService);\n\n return optionalAuthenticationDetails.map(authDetails -> successResult(authDetails, backend))\n .orElseGet(() -> failResult(authCredentials.username(), backend));\n }\n\n private AuthServiceResult successResult(AuthenticationDetails authDetails, AuthServiceBackend backend) {\n return AuthServiceResult.builder()\n .username(authDetails.userDetails().username())\n .userProfileId(authDetails.userDetails().databaseId().get())\n .backendType(backend.backendType())\n .backendId(backend.backendId())\n .backendTitle(backend.backendTitle())\n .sessionAuthContext(authDetails.sessionAuthContext().orElse(null))\n .build();\n }\n\n private AuthServiceResult failResult(String username, AuthServiceBackend backend) {\n return AuthServiceResult.failed(username, backend);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/45d8f175f10bf9100892369beac26ad8b5c93756.json b/web/public/bundles/graylog/code/45d8f175f10bf9100892369beac26ad8b5c93756.json new file mode 100644 index 00000000..c4d9c14e --- /dev/null +++ b/web/public/bundles/graylog/code/45d8f175f10bf9100892369beac26ad8b5c93756.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "45d8f175f10bf9100892369beac26ad8b5c93756", + "language": "typescript", + "path": "graylog2-web-interface/src/hooks/useHasAccessToAnyStream.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport { useContext } from 'react';\n\nimport StreamsContext from 'contexts/StreamsContext';\n\nconst useHasAccessToAnyStream = () => {\n const streams = useContext(StreamsContext);\n\n return !!streams && streams.length > 0;\n};\n\nexport default useHasAccessToAnyStream;\n" +} diff --git a/web/public/bundles/graylog/code/45e98db082db37f33f6472aa083c2f24ea404f6d.json b/web/public/bundles/graylog/code/45e98db082db37f33f6472aa083c2f24ea404f6d.json new file mode 100644 index 00000000..ae48229c --- /dev/null +++ b/web/public/bundles/graylog/code/45e98db082db37f33f6472aa083c2f24ea404f6d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "45e98db082db37f33f6472aa083c2f24ea404f6d", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/IndexRangeContainsOneOfStreams.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.views.search;\n\nimport org.graylog2.indexer.ranges.IndexRange;\nimport org.graylog2.plugin.streams.Stream;\n\nimport java.util.Collections;\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\npublic class IndexRangeContainsOneOfStreams {\n\n public boolean test(final IndexRange indexRange,\n final Set validStreams) {\n // If index range is incomplete, check the prefix against the valid index sets.\n if (indexRange.streamIds() == null) {\n return validStreams.stream()\n .map(Stream::getIndexSet)\n .anyMatch(indexSet -> indexSet.isManagedIndex(indexRange.indexName()));\n }\n\n final Set validStreamIds = validStreams.stream()\n .map(Stream::getId)\n .collect(Collectors.toSet());\n // Otherwise check if the index range contains any of the valid stream ids.\n return !Collections.disjoint(indexRange.streamIds(), validStreamIds);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/4613470404bfef2d9ceb06a50105dc9c02d14674.json b/web/public/bundles/graylog/code/4613470404bfef2d9ceb06a50105dc9c02d14674.json new file mode 100644 index 00000000..77441499 --- /dev/null +++ b/web/public/bundles/graylog/code/4613470404bfef2d9ceb06a50105dc9c02d14674.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "4613470404bfef2d9ceb06a50105dc9c02d14674", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/system/stats/fs/OshiFsProbe.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.shared.system.stats.fs;\n\nimport com.google.common.collect.ImmutableSet;\nimport com.google.common.primitives.Shorts;\nimport jakarta.inject.Inject;\nimport org.apache.commons.lang3.StringUtils;\nimport org.graylog2.Configuration;\nimport org.graylog2.plugin.KafkaJournalConfiguration;\nimport org.graylog2.plugin.Tools;\nimport org.graylog2.shared.system.stats.OshiService;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport oshi.hardware.HWDiskStore;\nimport oshi.hardware.HWPartition;\nimport oshi.hardware.HardwareAbstractionLayer;\nimport oshi.hardware.common.AbstractHWDiskStore;\nimport oshi.software.common.AbstractOSFileStore;\nimport oshi.software.os.FileSystem;\nimport oshi.software.os.OSFileStore;\nimport oshi.software.os.OperatingSystem;\nimport oshi.util.tuples.Pair;\n\nimport java.nio.file.Path;\nimport java.nio.file.Paths;\nimport java.util.Comparator;\nimport java.util.HashMap;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Optional;\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\npublic class OshiFsProbe implements FsProbe {\n private static final Logger LOG = LoggerFactory.getLogger(OshiFsProbe.class);\n\n private final OshiService service;\n\n private final Set locations;\n private final Map> oshiFileSystems = new HashMap<>();\n\n @Inject\n public OshiFsProbe(OshiService service, Configuration configuration,\n KafkaJournalConfiguration kafkaJournalConfiguration) {\n this.service = service;\n\n this.locations = ImmutableSet.of(\n configuration.getBinDir(),\n configuration.getDataDir(),\n configuration.getPluginDir(),\n kafkaJournalConfiguration.getMessageJournalDir()\n );\n\n init();\n }\n\n private void init() {\n final OperatingSystem os = service.getOs();\n\n final FileSystem fileSystem = os.getFileSystem();\n\n final HardwareAbstractionLayer hardware = service.getHal();\n\n for (Path location : locations) {\n Path path = location.toAbsolutePath();\n oshiFileSystems.put(path,\n fileSystem.getFileStores().stream()\n .filter(fs -> path.startsWith(fs.getMount()))\n // We want the mountpoint closest to our location\n .max(Comparator.comparingInt(p -> Paths.get(p.getMount()).getNameCount()))\n .map(fs -> {\n // First try search for the diskstore with the logical volume or volume name\n Optional diskStore = hardware.getDiskStores().stream()\n .filter(ds -> ds.getName().equals(StringUtils.defaultIfEmpty(fs.getLogicalVolume(), fs.getVolume())))\n .findFirst();\n if (diskStore.isPresent()) {\n return new Pair<>(fs, diskStore.get());\n }\n // Try to search for the diskstore with the partition of our mountpoint\n diskStore = hardware.getDiskStores().stream()\n .filter(ds -> ds.getPartitions().stream().anyMatch(part -> path.startsWith(part.getMountPoint())))\n .max(Comparator.comparingInt(ds -> ds.getPartitions().stream()\n .filter(part -> path.startsWith(part.getMountPoint()))\n .mapToInt(part -> Paths.get(part.getMountPoint()).getNameCount())\n .max().orElse(0)));\n if (diskStore.isPresent()) {\n return new Pair<>(fs, diskStore.get());\n }\n return new Pair<>(fs, generateDummyDiskStore());\n }).orElse(new Pair<>(generateDummyFileStore(), generateDummyDiskStore())));\n }\n }\n\n @Override\n public FsStats fsStats() {\n final Map fsmap = oshiFileSystems.entrySet().stream().peek(\n it -> {\n it.getValue().getA().updateAttributes();\n it.getValue().getB().updateAttributes();\n }\n ).collect(Collectors.toMap(it -> it.getKey().toString(), it -> {\n\n HWDiskStore diskStore = it.getValue().getB();\n OSFileStore fileStore = it.getValue().getA();\n return FsStats.Filesystem.create(it.getKey().toString(), fileStore.getMount(),\n Optional.ofNullable(fileStore.getLogicalVolume()).orElse(fileStore.getVolume()),\n fileStore.getDescription(), fileStore.getType(), fileStore.getTotalSpace(), fileStore.getUsableSpace(),\n fileStore.getUsableSpace(), fileStore.getTotalSpace() - fileStore.getUsableSpace(),\n Shorts.saturatedCast(Tools.percentageOfRounded(fileStore.getTotalSpace(), fileStore.getTotalSpace() - fileStore.getUsableSpace())),\n fileStore.getTotalInodes(), fileStore.getFreeInodes(), fileStore.getTotalInodes() - fileStore.getFreeInodes(),\n Shorts.saturatedCast(Tools.percentageOfRounded(fileStore.getTotalInodes(), fileStore.getTotalInodes() - fileStore.getFreeInodes())),\n diskStore.getReads(),\n diskStore.getWrites(),\n diskStore.getReadBytes(),\n diskStore.getWriteBytes(),\n diskStore.getCurrentQueueLength(),\n diskStore.getTimeStamp());\n })\n );\n return FsStats.create(fsmap);\n }\n\n private HWDiskStore generateDummyDiskStore() {\n return new AbstractHWDiskStore(\"missing\", \"missing\", \"missing\", 0L) {\n @Override\n public long getReads() {\n return 0;\n }\n\n @Override\n public long getReadBytes() {\n return 0;\n }\n\n @Override\n public long getWrites() {\n return 0;\n }\n\n @Override\n public long getWriteBytes() {\n return 0;\n }\n\n @Override\n public long getCurrentQueueLength() {\n return 0;\n }\n\n @Override\n public long getTransferTime() {\n return 0;\n }\n\n @Override\n public List getPartitions() {\n return null;\n }\n\n @Override\n public long getTimeStamp() {\n return 0;\n }\n\n @Override\n public boolean updateAttributes() {\n return false;\n }\n };\n }\n\n private OSFileStore generateDummyFileStore() {\n return new AbstractOSFileStore(\n \"missing\",\n \"missing\",\n \"missing\",\n \"missing\",\n \"missing\",\n \"missing\",\n true,\n \"missing\",\n \"missing\",\n \"missing\",\n 0,\n 1,\n 1,\n 0,\n 1\n ) {\n @Override\n public boolean updateAttributes() {\n return false;\n }\n };\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/4662ceaf5c17eed438a05463084ef12e08f19373.json b/web/public/bundles/graylog/code/4662ceaf5c17eed438a05463084ef12e08f19373.json new file mode 100644 index 00000000..72455c2d --- /dev/null +++ b/web/public/bundles/graylog/code/4662ceaf5c17eed438a05463084ef12e08f19373.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "4662ceaf5c17eed438a05463084ef12e08f19373", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/template/IndexMappingFactory.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.indexer.template;\n\nimport jakarta.inject.Inject;\nimport jakarta.inject.Singleton;\nimport org.graylog2.indexer.ElasticsearchException;\nimport org.graylog2.indexer.cluster.Node;\nimport org.graylog2.indexer.indexset.IndexSetConfig;\nimport org.graylog2.storage.SearchVersion;\n\nimport javax.annotation.Nonnull;\nimport java.util.Map;\n\nimport static org.graylog2.shared.utilities.StringUtils.f;\n\n@Singleton\npublic class IndexMappingFactory {\n private final Node node;\n private final Map providers;\n\n @Inject\n public IndexMappingFactory(Node node, Map providers) {\n this.node = node;\n this.providers = providers;\n }\n\n @Nonnull\n public IndexMappingTemplate createIndexMapping(@Nonnull IndexTemplateConfig templateConfig) throws IgnoreIndexTemplate {\n final SearchVersion elasticsearchVersion = node.getVersion()\n .orElseThrow(() -> new ElasticsearchException(\"Unable to retrieve Elasticsearch version.\"));\n\n final String templateType = templateConfig\n .indexTemplateType()\n .orElse(IndexSetConfig.DEFAULT_INDEX_TEMPLATE_TYPE);\n\n return resolveIndexMappingTemplateProvider(templateType)\n .create(elasticsearchVersion, templateConfig);\n }\n\n private IndexTemplateProvider resolveIndexMappingTemplateProvider(@Nonnull String templateType) {\n if (providers.containsKey(templateType)) {\n return providers.get(templateType);\n } else {\n throw new IllegalStateException(f(\"No index template provider found for type '%s'\", templateType));\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/46a67eb65cfbd86d042fcbe9be6d2a20a3c13d31.json b/web/public/bundles/graylog/code/46a67eb65cfbd86d042fcbe9be6d2a20a3c13d31.json new file mode 100644 index 00000000..9da7bbba --- /dev/null +++ b/web/public/bundles/graylog/code/46a67eb65cfbd86d042fcbe9be6d2a20a3c13d31.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "46a67eb65cfbd86d042fcbe9be6d2a20a3c13d31", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/security/ActorAwareUsernamePasswordToken.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.shared.security;\n\nimport org.apache.shiro.authc.UsernamePasswordToken;\nimport org.graylog2.audit.AuditActor;\n\nimport javax.annotation.Nonnull;\nimport java.util.Objects;\n\n/**\n * Audit actor is always the username.\n */\npublic class ActorAwareUsernamePasswordToken extends UsernamePasswordToken implements ActorAwareAuthenticationToken {\n\n public ActorAwareUsernamePasswordToken(@Nonnull String username, @Nonnull String password) {\n super(username, password);\n Objects.requireNonNull(username);\n Objects.requireNonNull(password);\n }\n\n @Override\n public AuditActor getActor() {\n return AuditActor.user(getUsername());\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/46a8221d691c24e439051ce41ceb7c773ddd1d88.json b/web/public/bundles/graylog/code/46a8221d691c24e439051ce41ceb7c773ddd1d88.json new file mode 100644 index 00000000..6cada245 --- /dev/null +++ b/web/public/bundles/graylog/code/46a8221d691c24e439051ce41ceb7c773ddd1d88.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "46a8221d691c24e439051ce41ceb7c773ddd1d88", + "language": "typescript", + "path": "graylog2-web-interface/src/hooks/useHotkeysContext.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\n\nimport { useContext } from 'react';\n\nimport HotkeysContext from 'contexts/HotkeysContext';\n\nconst useHotkeysContext = () => useContext(HotkeysContext);\n\nexport default useHotkeysContext;\n" +} diff --git a/web/public/bundles/graylog/code/46a8da84e3df722b3cb175c3ba02912a7d22c73a.json b/web/public/bundles/graylog/code/46a8da84e3df722b3cb175c3ba02912a7d22c73a.json new file mode 100644 index 00000000..a08aafea --- /dev/null +++ b/web/public/bundles/graylog/code/46a8da84e3df722b3cb175c3ba02912a7d22c73a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "46a8da84e3df722b3cb175c3ba02912a7d22c73a", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/PermissionsResource.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.resources.system;\n\nimport com.codahale.metrics.annotation.Timed;\nimport com.google.common.collect.ImmutableMap;\nimport com.google.common.collect.Ordering;\nimport io.swagger.v3.oas.annotations.Operation;\nimport io.swagger.v3.oas.annotations.Parameter;\nimport io.swagger.v3.oas.annotations.tags.Tag;\nimport jakarta.inject.Inject;\nimport jakarta.ws.rs.GET;\nimport jakarta.ws.rs.Path;\nimport jakarta.ws.rs.PathParam;\nimport jakarta.ws.rs.Produces;\nimport org.apache.shiro.authz.annotation.RequiresAuthentication;\nimport org.apache.shiro.authz.annotation.RequiresGuest;\nimport org.graylog2.plugin.cluster.ClusterConfigService;\nimport org.graylog2.plugin.database.users.User;\nimport org.graylog2.rest.models.system.responses.ReaderPermissionResponse;\nimport org.graylog2.shared.rest.PublicCloudAPI;\nimport org.graylog2.shared.rest.resources.RestResource;\nimport org.graylog2.shared.security.Permissions;\nimport org.graylog2.shared.users.UserService;\nimport org.graylog2.users.UserConfiguration;\n\nimport java.util.Collection;\nimport java.util.Map;\n\nimport static jakarta.ws.rs.core.MediaType.APPLICATION_JSON;\n\n@RequiresAuthentication\n@PublicCloudAPI\n@Tag(name = \"System/Permissions\", description = \"Retrieval of system permissions.\")\n@Path(\"/system/permissions\")\n@Produces(APPLICATION_JSON)\npublic class PermissionsResource extends RestResource {\n private final Permissions permissions;\n private final UserService userService;\n private final ClusterConfigService configService;\n\n @Inject\n public PermissionsResource(final Permissions permissions, UserService userService, ClusterConfigService configService) {\n this.permissions = permissions;\n this.userService = userService;\n this.configService = configService;\n }\n\n @GET\n @Timed\n @RequiresGuest // turns off authentication for this action\n @Operation(summary = \"Get all available user permissions.\")\n public Map>> permissions() {\n return ImmutableMap.of(\"permissions\", permissions.allPermissionsMap());\n }\n\n @GET\n @Timed\n @RequiresGuest\n @Operation(summary = \"Get the initial permissions assigned to a reader account\")\n @Path(\"reader/{username}\")\n @Produces(APPLICATION_JSON)\n public ReaderPermissionResponse readerPermissions(\n @Parameter(name = \"username\", required = true)\n @PathParam(\"username\") String username) {\n final User user = userService.load(username);\n final boolean isExternal = user == null || user.isExternalUser();\n final UserConfiguration config = this.configService.getOrDefault(UserConfiguration.class, UserConfiguration.DEFAULT_VALUES);\n final boolean isAllowedToCreateToken = this.permissions.isAllowedToCreateTokens(isExternal, config);\n\n return ReaderPermissionResponse.create(\n Ordering.natural().sortedCopy(permissions.userSelfEditPermissions(username, isAllowedToCreateToken)));\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/47227c68fa81d191dbc26cad894e61f1103c46aa.json b/web/public/bundles/graylog/code/47227c68fa81d191dbc26cad894e61f1103c46aa.json new file mode 100644 index 00000000..c3ab5aee --- /dev/null +++ b/web/public/bundles/graylog/code/47227c68fa81d191dbc26cad894e61f1103c46aa.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "47227c68fa81d191dbc26cad894e61f1103c46aa", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/inputs/paloalto9/PaloAlto9xTemplates.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.integrations.inputs.paloalto9;\n\nimport com.google.common.collect.Sets;\nimport org.graylog.integrations.inputs.paloalto.PaloAltoFieldTemplate;\nimport org.graylog.integrations.inputs.paloalto.PaloAltoMessageTemplate;\nimport org.graylog.schema.AlertFields;\nimport org.graylog.schema.ApplicationFields;\nimport org.graylog.schema.ContainerFields;\nimport org.graylog.schema.DestinationFields;\nimport org.graylog.schema.EmailFields;\nimport org.graylog.schema.EventFields;\nimport org.graylog.schema.FileFields;\nimport org.graylog.schema.HostFields;\nimport org.graylog.schema.HttpFields;\nimport org.graylog.schema.NetworkFields;\nimport org.graylog.schema.PolicyFields;\nimport org.graylog.schema.RuleFields;\nimport org.graylog.schema.SessionFields;\nimport org.graylog.schema.SourceFields;\nimport org.graylog.schema.ThreatFields;\nimport org.graylog.schema.UserFields;\nimport org.graylog.schema.VendorFields;\nimport org.graylog2.plugin.Message;\n\nimport java.util.SortedSet;\n\nimport static org.graylog.integrations.inputs.paloalto.PaloAltoFieldTemplate.create;\nimport static org.graylog.integrations.inputs.paloalto.PaloAltoFieldType.LONG;\nimport static org.graylog.integrations.inputs.paloalto.PaloAltoFieldType.STRING;\nimport static org.graylog.integrations.inputs.paloalto.PaloAltoFieldType.TIMESTAMP;\n\npublic class PaloAlto9xTemplates {\n\n private static PaloAltoMessageTemplate toTemplate(SortedSet fields) {\n PaloAltoMessageTemplate template = new PaloAltoMessageTemplate();\n template.setFields(fields);\n return template;\n }\n\n public static PaloAltoMessageTemplate configTemplate() {\n SortedSet fields = Sets.newTreeSet();\n\n // Field 0 is FUTURE USE\n fields.add(create(EventFields.EVENT_CREATED, 1, TIMESTAMP));\n fields.add(create(HostFields.HOST_ID, 2, STRING));\n fields.add(create(EventFields.EVENT_LOG_NAME, 3, STRING));\n fields.add(create(PaloAlto9xFields.PAN_LOG_SUBTYPE, 4, STRING));\n\n // Field 5 is FUTURE USE\n fields.add(create(Message.FIELD_TIMESTAMP, 6, TIMESTAMP));\n fields.add(create(SourceFields.SOURCE_REFERENCE, 7, STRING));\n fields.add(create(HostFields.HOST_VIRTFW_ID, 8, STRING));\n fields.add(create(UserFields.USER_COMMAND, 9, STRING));\n\n fields.add(create(UserFields.USER_NAME, 10, STRING));\n fields.add(create(VendorFields.VENDOR_SIGNIN_PROTOCOL, 11, STRING));\n fields.add(create(VendorFields.VENDOR_EVENT_OUTCOME, 12, STRING));\n fields.add(create(UserFields.USER_COMMAND_PATH, 13, STRING));\n fields.add(create(PaloAlto9xFields.PAN_BEFORE_CHANGE_DETAIL, 14, STRING));\n\n fields.add(create(PaloAlto9xFields.PAN_AFTER_CHANGE_DETAIL, 15, STRING));\n fields.add(create(EventFields.EVENT_UID, 16, STRING));\n fields.add(create(PaloAlto9xFields.PAN_LOG_PANORAMA, 17, STRING));\n fields.add(create(PaloAlto9xFields.PAN_DEV_GROUP_LEVEL_1, 18, LONG));\n fields.add(create(PaloAlto9xFields.PAN_DEV_GROUP_LEVEL_2, 19, LONG));\n\n fields.add(create(PaloAlto9xFields.PAN_DEV_GROUP_LEVEL_3, 20, LONG));\n fields.add(create(PaloAlto9xFields.PAN_DEV_GROUP_LEVEL_4, 21, LONG));\n fields.add(create(HostFields.HOST_VIRTFW_HOSTNAME, 22, STRING));\n fields.add(create(HostFields.HOST_HOSTNAME, 23, STRING));\n\n return toTemplate(fields);\n }\n\n public static PaloAltoMessageTemplate correlationTemplate() {\n SortedSet fields = Sets.newTreeSet();\n\n // Field 0 is FUTURE USE\n fields.add(create(EventFields.EVENT_CREATED, 1, TIMESTAMP));\n fields.add(create(HostFields.HOST_ID, 2, STRING));\n fields.add(create(EventFields.EVENT_LOG_NAME, 3, STRING));\n fields.add(create(PaloAlto9xFields.PAN_LOG_SUBTYPE, 4, STRING));\n\n // Field 5 is FUTURE USE\n fields.add(create(Message.FIELD_TIMESTAMP, 6, TIMESTAMP));\n fields.add(create(SourceFields.SOURCE_IP, 7, STRING));\n fields.add(create(UserFields.USER_NAME, 8, STRING));\n fields.add(create(HostFields.HOST_VIRTFW_ID, 9, STRING));\n\n fields.add(create(ThreatFields.THREAT_CATEGORY, 10, STRING));\n fields.add(create(EventFields.EVENT_SEVERITY, 11, STRING));\n fields.add(create(PaloAlto9xFields.PAN_DEV_GROUP_LEVEL_1, 12, LONG));\n fields.add(create(PaloAlto9xFields.PAN_DEV_GROUP_LEVEL_2, 13, LONG));\n fields.add(create(PaloAlto9xFields.PAN_DEV_GROUP_LEVEL_3, 14, LONG));\n\n fields.add(create(PaloAlto9xFields.PAN_DEV_GROUP_LEVEL_4, 15, LONG));\n fields.add(create(HostFields.HOST_VIRTFW_HOSTNAME, 16, STRING));\n fields.add(create(HostFields.HOST_HOSTNAME, 17, STRING));\n fields.add(create(HostFields.HOST_VIRTFW_UID, 18, STRING));\n fields.add(create(PaloAlto9xFields.PAN_OBJECTNAME, 19, STRING));\n\n fields.add(create(PaloAlto9xFields.PAN_OBJECT_ID, 20, STRING));\n fields.add(create(PaloAlto9xFields.PAN_EVIDENCE, 21, STRING));\n\n return toTemplate(fields);\n }\n\n public static PaloAltoMessageTemplate hipTemplate() {\n SortedSet fields = Sets.newTreeSet();\n\n // Field 0 is FUTURE USE\n fields.add(create(EventFields.EVENT_CREATED, 1, TIMESTAMP));\n fields.add(create(EventFields.EVENT_OBSERVER_UID, 2, STRING));\n fields.add(create(EventFields.EVENT_LOG_NAME, 3, STRING));\n fields.add(create(PaloAlto9xFields.PAN_LOG_SUBTYPE, 4, STRING));\n\n // Field 5 is FUTURE USE\n fields.add(create(Message.FIELD_TIMESTAMP, 6, TIMESTAMP));\n fields.add(create(UserFields.USER_NAME, 7, STRING));\n fields.add(create(HostFields.HOST_VIRTFW_ID, 8, STRING));\n fields.add(create(HostFields.HOST_HOSTNAME, 9, STRING));\n\n fields.add(create(HostFields.HOST_TYPE, 10, STRING));\n fields.add(create(HostFields.HOST_IP, 11, STRING));\n fields.add(create(PaloAlto9xFields.PAN_HIP, 12, STRING));\n fields.add(create(EventFields.EVENT_REPEAT_COUNT, 13, LONG));\n fields.add(create(PaloAlto9xFields.PAN_HIP_TYPE, 14, STRING));\n\n // Field 15 is FUTURE USE\n // Field 16 is FUTURE USE\n fields.add(create(EventFields.EVENT_UID, 17, STRING));\n fields.add(create(PaloAlto9xFields.PAN_LOG_PANORAMA, 18, STRING));\n fields.add(create(PaloAlto9xFields.PAN_DEV_GROUP_LEVEL_1, 19, LONG));\n\n fields.add(create(PaloAlto9xFields.PAN_DEV_GROUP_LEVEL_2, 20, LONG));\n fields.add(create(PaloAlto9xFields.PAN_DEV_GROUP_LEVEL_3, 21, LONG));\n fields.add(create(PaloAlto9xFields.PAN_DEV_GROUP_LEVEL_4, 22, LONG));\n fields.add(create(HostFields.HOST_VIRTFW_HOSTNAME, 23, STRING));\n fields.add(create(EventFields.EVENT_OBSERVER_HOSTNAME, 24, STRING));\n\n fields.add(create(HostFields.HOST_VIRTFW_UID, 25, STRING));\n fields.add(create(HostFields.HOST_IPV6, 26, STRING));\n fields.add(create(PaloAlto9xFields.PAN_GP_HOSTID, 27, STRING));\n fields.add(create(HostFields.HOST_ID, 28, STRING));\n fields.add(create(SourceFields.SOURCE_MAC, 29, STRING));\n\n fields.add(create(PaloAlto9xFields.PAN_HIGH_RES_TIME, 30, STRING));\n\n return toTemplate(fields);\n }\n\n public static PaloAltoMessageTemplate globalProtectPre913Template() {\n SortedSet fields = Sets.newTreeSet();\n\n // Field 0 is FUTURE USE\n fields.add(create(EventFields.EVENT_RECEIVED_TIME, 1, TIMESTAMP));\n fields.add(create(HostFields.HOST_ID, 2, STRING)); // TODO: Used twice\n fields.add(create(EventFields.EVENT_UID, 3, STRING));\n fields.add(create(PaloAlto9xFields.PAN_LOG_PANORAMA, 4, STRING));\n\n fields.add(create(EventFields.EVENT_LOG_NAME, 5, STRING));\n // Field 6 is FUTURE USE\n // Field 7 is FUTURE USE\n fields.add(create(Message.FIELD_TIMESTAMP, 8, TIMESTAMP));\n fields.add(create(HostFields.HOST_VIRTFW_ID, 9, STRING));\n\n fields.add(create(PaloAlto9xFields.PAN_EVENT_NAME, 10, STRING));\n fields.add(create(PaloAlto9xFields.PAN_TUNNEL_STAGE, 11, STRING));\n fields.add(create(PaloAlto9xFields.PAN_AUTH_METHOD, 12, STRING));\n fields.add(create(NetworkFields.NETWORK_TUNNEL_TYPE, 13, STRING));\n fields.add(create(SourceFields.SOURCE_USER, 14, STRING));\n\n fields.add(create(PaloAlto9xFields.PAN_SOURCE_REGION, 15, STRING));\n fields.add(create(SourceFields.SOURCE_HOSTNAME, 16, STRING));\n fields.add(create(VendorFields.VENDOR_PUBLIC_IP, 17, STRING));\n fields.add(create(VendorFields.VENDOR_PUBLIC_IPV6, 18, STRING));\n fields.add(create(VendorFields.VENDOR_PRIVATE_IP, 19, STRING));\n\n fields.add(create(VendorFields.VENDOR_PRIVATE_IPV6, 20, STRING));\n fields.add(create(PaloAlto9xFields.PAN_GP_HOSTID, 21, STRING));\n // fields.add(create(HostFields.HOST_ID, 22, STRING)); // TODO: Used twice\n fields.add(create(PaloAlto9xFields.PAN_GP_CLIENT_VERSION, 23, STRING));\n fields.add(create(HostFields.HOST_TYPE, 24, STRING));\n\n fields.add(create(HostFields.HOST_TYPE_VERSION, 25, STRING));\n fields.add(create(EventFields.EVENT_REPEAT_COUNT, 26, LONG));\n fields.add(create(PaloAlto9xFields.PAN_GP_REASON, 27, STRING));\n fields.add(create(PaloAlto9xFields.PAN_GP_ERROR, 28, STRING));\n fields.add(create(PaloAlto9xFields.PAN_GP_ERROR_EXTENDED, 29, STRING));\n\n fields.add(create(VendorFields.VENDOR_EVENT_ACTION, 30, STRING));\n fields.add(create(PaloAlto9xFields.PAN_GP_LOCATION_NAME, 31, STRING));\n fields.add(create(NetworkFields.NETWORK_TUNNEL_DURATION, 32, LONG));\n fields.add(create(PaloAlto9xFields.PAN_GP_CONNECT_METHOD, 33, STRING));\n fields.add(create(PaloAlto9xFields.PAN_GP_ERROR_CODE, 34, LONG));\n\n fields.add(create(PaloAlto9xFields.PAN_GP_HOSTNAME, 35, STRING));\n\n\n return toTemplate(fields);\n }\n\n public static PaloAltoMessageTemplate globalProtect913Template() {\n SortedSet fields = Sets.newTreeSet();\n\n // Field 0 is FUTURE USE\n fields.add(create(EventFields.EVENT_RECEIVED_TIME, 1, TIMESTAMP));\n fields.add(create(HostFields.HOST_ID, 2, STRING));\n fields.add(create(EventFields.EVENT_LOG_NAME, 3, STRING));\n fields.add(create(PaloAlto9xFields.PAN_LOG_SUBTYPE, 4, STRING));\n\n // Field 5 is FUTURE USE\n fields.add(create(Message.FIELD_TIMESTAMP, 6, TIMESTAMP));\n fields.add(create(HostFields.HOST_VIRTFW_ID, 7, STRING));\n fields.add(create(PaloAlto9xFields.PAN_EVENT_NAME, 8, STRING));\n fields.add(create(PaloAlto9xFields.PAN_TUNNEL_STAGE, 9, STRING));\n\n fields.add(create(PaloAlto9xFields.PAN_AUTH_METHOD, 10, STRING));\n fields.add(create(NetworkFields.NETWORK_TUNNEL_TYPE, 11, STRING));\n fields.add(create(UserFields.USER_NAME, 12, STRING));\n fields.add(create(PaloAlto9xFields.PAN_SOURCE_REGION, 13, STRING));\n fields.add(create(SourceFields.SOURCE_HOSTNAME, 14, STRING));\n\n fields.add(create(VendorFields.VENDOR_PUBLIC_IP, 15, STRING));\n fields.add(create(VendorFields.VENDOR_PUBLIC_IPV6, 16, STRING));\n fields.add(create(VendorFields.VENDOR_PRIVATE_IP, 17, STRING));\n fields.add(create(VendorFields.VENDOR_PRIVATE_IPV6, 18, STRING));\n fields.add(create(PaloAlto9xFields.PAN_GP_HOSTID, 19, STRING));\n\n fields.add(create(SourceFields.SOURCE_ID, 20, STRING));\n fields.add(create(PaloAlto9xFields.PAN_GP_CLIENT_VERSION, 21, STRING));\n fields.add(create(SourceFields.SOURCE_OS_NAME, 22, STRING));\n fields.add(create(SourceFields.SOURCE_OS_VERSION, 23, STRING));\n fields.add(create(EventFields.EVENT_REPEAT_COUNT, 24, LONG));\n\n fields.add(create(PaloAlto9xFields.PAN_GP_REASON, 25, STRING));\n fields.add(create(EventFields.EVENT_ERROR_DESCRIPTION, 26, STRING));\n fields.add(create(PaloAlto9xFields.PAN_GP_ERROR_EXTENDED, 27, STRING));\n fields.add(create(VendorFields.VENDOR_EVENT_OUTCOME, 28, STRING));\n fields.add(create(PaloAlto9xFields.PAN_GP_LOCATION_NAME, 29, STRING));\n\n fields.add(create(NetworkFields.NETWORK_TUNNEL_DURATION, 30, LONG));\n fields.add(create(PaloAlto9xFields.PAN_GP_CONNECT_METHOD, 31, STRING));\n fields.add(create(EventFields.EVENT_ERROR_CODE, 32, LONG));\n fields.add(create(DestinationFields.DESTINATION_HOSTNAME, 33, STRING));\n fields.add(create(EventFields.EVENT_UID, 34, STRING));\n\n fields.add(create(PaloAlto9xFields.PAN_LOG_PANORAMA, 35, STRING));\n fields.add(create(PaloAlto9xFields.PAN_HIGH_RES_TIME, 36, STRING));\n fields.add(create(PaloAlto9xFields.PAN_SELECTION_TYPE, 37, STRING));\n fields.add(create(ApplicationFields.APPLICATION_RESPONSE_TIME, 38, LONG));\n fields.add(create(PaloAlto9xFields.PAN_GATEWAY_PRIORITY, 39, STRING));\n fields.add(create(PaloAlto9xFields.PAN_ATTEMPTED_GATEWAYS, 40, STRING));\n\n fields.add(create(PaloAlto9xFields.PAN_GATEWAY, 41, STRING));\n\n return toTemplate(fields);\n }\n\n public static PaloAltoMessageTemplate systemTemplate() {\n SortedSet fields = Sets.newTreeSet();\n\n // Field 0 is FUTURE USE\n fields.add(create(EventFields.EVENT_CREATED, 1, TIMESTAMP));\n fields.add(create(HostFields.HOST_ID, 2, STRING));\n fields.add(create(EventFields.EVENT_LOG_NAME, 3, STRING));\n fields.add(create(PaloAlto9xFields.PAN_LOG_SUBTYPE, 4, STRING));\n\n // Field 5 is FUTURE USE\n fields.add(create(Message.FIELD_TIMESTAMP, 6, TIMESTAMP));\n fields.add(create(HostFields.HOST_VIRTFW_ID, 7, STRING));\n fields.add(create(PaloAlto9xFields.PAN_EVENT_NAME, 8, STRING));\n fields.add(create(PaloAlto9xFields.PAN_EVENT_OBJECT, 9, STRING));\n\n // Field 10 is FUTURE USE\n // Field 11 is FUTURE USE\n fields.add(create(PaloAlto9xFields.PAN_MODULE, 12, STRING));\n fields.add(create(EventFields.EVENT_SEVERITY, 13, STRING));\n fields.add(create(VendorFields.VENDOR_EVENT_DESCRIPTION, 14, STRING));\n\n fields.add(create(EventFields.EVENT_UID, 15, STRING));\n fields.add(create(PaloAlto9xFields.PAN_LOG_PANORAMA, 16, STRING));\n fields.add(create(PaloAlto9xFields.PAN_DEV_GROUP_LEVEL_1, 17, LONG));\n fields.add(create(PaloAlto9xFields.PAN_DEV_GROUP_LEVEL_2, 18, LONG));\n fields.add(create(PaloAlto9xFields.PAN_DEV_GROUP_LEVEL_3, 19, LONG));\n\n fields.add(create(PaloAlto9xFields.PAN_DEV_GROUP_LEVEL_4, 20, LONG));\n fields.add(create(HostFields.HOST_VIRTFW_HOSTNAME, 21, STRING));\n fields.add(create(HostFields.HOST_HOSTNAME, 22, STRING));\n fields.add(create(PaloAlto9xFields.PAN_HIGH_RES_TIME, 23, STRING));\n\n return toTemplate(fields);\n }\n\n public static PaloAltoMessageTemplate threatTemplate() {\n SortedSet fields = Sets.newTreeSet();\n\n // Field 0 is FUTURE USE\n fields.add(create(EventFields.EVENT_RECEIVED_TIME, 1, TIMESTAMP));\n fields.add(create(EventFields.EVENT_OBSERVER_ID, 2, STRING));\n fields.add(create(EventFields.EVENT_LOG_NAME, 3, STRING));\n fields.add(create(PaloAlto9xFields.PAN_LOG_SUBTYPE, 4, STRING));\n\n // Field 5 is FUTURE USE\n fields.add(create(Message.FIELD_TIMESTAMP, 6, TIMESTAMP));\n fields.add(create(SourceFields.SOURCE_IP, 7, STRING));\n fields.add(create(DestinationFields.DESTINATION_IP, 8, STRING));\n fields.add(create(SourceFields.SOURCE_NAT_IP, 9, STRING));\n\n fields.add(create(DestinationFields.DESTINATION_NAT_IP, 10, STRING));\n fields.add(create(RuleFields.RULE_NAME, 11, STRING));\n fields.add(create(SourceFields.SOURCE_USER_NAME, 12, STRING));\n fields.add(create(DestinationFields.DESTINATION_USER_NAME, 13, STRING));\n fields.add(create(ApplicationFields.APPLICATION_NAME, 14, STRING));\n\n fields.add(create(HostFields.HOST_VIRTFW_ID, 15, STRING));\n fields.add(create(SourceFields.SOURCE_ZONE, 16, STRING));\n fields.add(create(DestinationFields.DESTINATION_ZONE, 17, STRING));\n fields.add(create(NetworkFields.NETWORK_INTERFACE_IN, 18, STRING));\n fields.add(create(NetworkFields.NETWORK_INTERFACE_OUT, 19, STRING));\n\n fields.add(create(PaloAlto9xFields.PAN_LOG_ACITON, 20, STRING));\n // Field 21 is FUTURE USE\n fields.add(create(SessionFields.SESSION_ID, 22, LONG));\n fields.add(create(EventFields.EVENT_REPEAT_COUNT, 23, LONG));\n fields.add(create(SourceFields.SOURCE_PORT, 24, LONG));\n\n fields.add(create(DestinationFields.DESTINATION_PORT, 25, LONG));\n fields.add(create(SourceFields.SOURCE_NAT_PORT, 26, LONG));\n fields.add(create(DestinationFields.DESTINATION_NAT_PORT, 27, LONG));\n fields.add(create(PaloAlto9xFields.PAN_FLAGS, 28, STRING));\n fields.add(create(NetworkFields.NETWORK_TRANSPORT, 29, STRING));\n\n fields.add(create(VendorFields.VENDOR_EVENT_ACTION, 30, STRING));\n fields.add(create(AlertFields.ALERT_INDICATOR, 31, STRING));\n fields.add(create(AlertFields.ALERT_SIGNATURE, 32, STRING));\n fields.add(create(AlertFields.ALERT_CATEGORY, 33, STRING));\n fields.add(create(VendorFields.VENDOR_ALERT_SEVERITY, 34, STRING));\n\n fields.add(create(PaloAlto9xFields.PAN_ALERT_DIRECTION, 35, STRING));\n fields.add(create(EventFields.EVENT_UID, 36, STRING));\n fields.add(create(PaloAlto9xFields.PAN_LOG_PANORAMA, 37, STRING));\n fields.add(create(SourceFields.SOURCE_LOCATION_NAME, 38, STRING));\n fields.add(create(DestinationFields.DESTINATION_LOCATION_NAME, 39, STRING));\n\n // Field 40 is FUTURE USE\n fields.add(create(HttpFields.HTTP_CONTENT_TYPE, 41, STRING));\n fields.add(create(PaloAlto9xFields.PAN_PCAP_ID, 42, STRING));\n fields.add(create(PaloAlto9xFields.PAN_WILDFIRE_HASH, 43, STRING));\n fields.add(create(PaloAlto9xFields.PAN_CLOUD_HOSTNAME, 44, STRING));\n\n fields.add(create(PaloAlto9xFields.PAN_URL_INDEX, 45, LONG));\n fields.add(create(HttpFields.HTTP_USER_AGENT_NAME, 46, STRING));\n fields.add(create(FileFields.FILE_TYPE, 47, STRING));\n fields.add(create(HttpFields.HTTP_XFF, 48, STRING));\n fields.add(create(HttpFields.HTTP_REFERER, 49, STRING));\n\n fields.add(create(SourceFields.SOURCE_USER_EMAIL, 50, STRING));\n fields.add(create(EmailFields.EMAIL_SUBJECT, 51, STRING));\n fields.add(create(UserFields.TARGET_USER_EMAIL, 52, STRING));\n fields.add(create(PaloAlto9xFields.PAN_WILDFIRE_REPORT_ID, 53, LONG));\n fields.add(create(PaloAlto9xFields.PAN_DEV_GROUP_LEVEL_1, 54, LONG));\n\n fields.add(create(PaloAlto9xFields.PAN_DEV_GROUP_LEVEL_2, 55, LONG));\n fields.add(create(PaloAlto9xFields.PAN_DEV_GROUP_LEVEL_3, 56, LONG));\n fields.add(create(PaloAlto9xFields.PAN_DEV_GROUP_LEVEL_4, 57, LONG));\n fields.add(create(HostFields.HOST_VIRTFW_HOSTNAME, 58, STRING));\n fields.add(create(EventFields.EVENT_OBSERVER_HOSTNAME, 59, STRING));\n\n // Field 60 is FUTURE USE\n fields.add(create(SourceFields.SOURCE_VSYS_UUID, 61, STRING));\n fields.add(create(DestinationFields.DESTINATION_VSYS_UUID, 62, STRING));\n fields.add(create(HttpFields.HTTP_METHOD, 63, STRING));\n fields.add(create(PaloAlto9xFields.PAN_TUNNEL_ID, 64, STRING));\n\n fields.add(create(PaloAlto9xFields.PAN_MONITOR_TAG, 65, LONG));\n fields.add(create(PaloAlto9xFields.PAN_PARENT_SESSION_ID, 66, STRING));\n fields.add(create(PaloAlto9xFields.PAN_PARENT_START_TIME, 67, STRING));\n fields.add(create(NetworkFields.NETWORK_TUNNEL_TYPE, 68, STRING));\n fields.add(create(AlertFields.ALERT_CATEGORY, 69, STRING));\n\n fields.add(create(AlertFields.ALERT_DEFINITIONS_VERSION, 70, STRING));\n // Field 71 is FUTURE USE\n fields.add(create(PaloAlto9xFields.PAN_ASSOC_ID, 72, LONG));\n fields.add(create(PaloAlto9xFields.PAN_PPID, 73, LONG));\n fields.add(create(HttpFields.HTTP_HEADERS, 74, STRING));\n\n fields.add(create(HttpFields.HTTP_URI_CATEGORY, 75, STRING));\n fields.add(create(PolicyFields.POLICY_UID, 76, STRING));\n fields.add(create(PaloAlto9xFields.PAN_HTTP2, 77, STRING));\n fields.add(create(PaloAlto9xFields.PAN_DYNUSERGROUP_NAME, 78, STRING));\n fields.add(create(HttpFields.HTTP_XFF, 79, STRING));\n\n fields.add(create(SourceFields.SOURCE_CATEGORY, 80, STRING));\n fields.add(create(PaloAlto9xFields.PAN_SOURCE_PROFILE, 81, STRING));\n fields.add(create(SourceFields.SOURCE_DEVICE_MODEL, 82, STRING));\n fields.add(create(SourceFields.SOURCE_DEVICE_VENDOR, 83, STRING));\n fields.add(create(SourceFields.SOURCE_OS_NAME, 84, STRING));\n\n fields.add(create(SourceFields.SOURCE_OS_VERSION, 85, STRING));\n fields.add(create(SourceFields.SOURCE_HOSTNAME, 86, STRING));\n fields.add(create(SourceFields.SOURCE_MAC, 87, STRING));\n fields.add(create(DestinationFields.DESTINATION_CATEGORY, 88, STRING));\n fields.add(create(PaloAlto9xFields.PAN_DESTINATION_PROFILE, 89, STRING));\n\n fields.add(create(DestinationFields.DESTINATION_DEVICE_MODEL, 90, STRING));\n fields.add(create(DestinationFields.DESTINATION_DEVICE_VENDOR, 91, STRING));\n fields.add(create(DestinationFields.DESTINATION_OS_NAME, 92, STRING));\n fields.add(create(DestinationFields.DESTINATION_OS_VERSION, 93, STRING));\n fields.add(create(DestinationFields.DESTINATION_HOSTNAME, 94, STRING));\n\n fields.add(create(DestinationFields.DESTINATION_MAC, 95, STRING));\n fields.add(create(ContainerFields.CONTAINER_ID, 96, STRING));\n fields.add(create(ContainerFields.CONTAINER_NAMESPACE, 97, STRING));\n fields.add(create(ContainerFields.CONTAINER_NAME, 98, STRING));\n fields.add(create(PaloAlto9xFields.PAN_SRC_EDL, 99, STRING));\n\n fields.add(create(PaloAlto9xFields.PAN_DST_EDL, 100, STRING));\n fields.add(create(PaloAlto9xFields.PAN_HOST_ID, 101, STRING));\n fields.add(create(PaloAlto9xFields.PAN_HOST_SN, 102, STRING));\n fields.add(create(PaloAlto9xFields.PAN_DOMAIN_EDL, 103, STRING));\n fields.add(create(PaloAlto9xFields.PAN_SRC_DAG, 104, STRING));\n\n fields.add(create(PaloAlto9xFields.PAN_DST_DAG, 105, STRING));\n fields.add(create(PaloAlto9xFields.PAN_PARTIAL_HASH, 106, STRING));\n fields.add(create(PaloAlto9xFields.PAN_HIGH_RES_TIME, 107, STRING));\n fields.add(create(VendorFields.VENDOR_EVENT_OUTCOME_REASON, 108, STRING));\n fields.add(create(PaloAlto9xFields.PAN_EVENT_JUSTIFICATION, 109, STRING));\n\n fields.add(create(PaloAlto9xFields.PAN_NSDSAI_SST, 110, STRING));\n\n return toTemplate(fields);\n }\n\n public static PaloAltoMessageTemplate trafficTemplate() {\n SortedSet fields = Sets.newTreeSet();\n\n // Field 0 is FUTURE USE\n fields.add(create(EventFields.EVENT_RECEIVED_TIME, 1, TIMESTAMP));\n fields.add(create(EventFields.EVENT_OBSERVER_ID, 2, STRING));\n fields.add(create(EventFields.EVENT_LOG_NAME, 3, STRING));\n fields.add(create(PaloAlto9xFields.PAN_LOG_SUBTYPE, 4, STRING));\n\n // Field 5 is FUTURE USE\n fields.add(create(Message.FIELD_TIMESTAMP, 6, TIMESTAMP));\n fields.add(create(SourceFields.SOURCE_IP, 7, STRING));\n fields.add(create(DestinationFields.DESTINATION_IP, 8, STRING));\n fields.add(create(SourceFields.SOURCE_NAT_IP, 9, STRING));\n\n fields.add(create(DestinationFields.DESTINATION_NAT_IP, 10, STRING));\n fields.add(create(RuleFields.RULE_NAME, 11, STRING));\n fields.add(create(SourceFields.SOURCE_USER_NAME, 12, STRING));\n fields.add(create(DestinationFields.DESTINATION_USER_NAME, 13, STRING));\n fields.add(create(ApplicationFields.APPLICATION_NAME, 14, STRING));\n\n fields.add(create(HostFields.HOST_VIRTFW_ID, 15, STRING));\n fields.add(create(SourceFields.SOURCE_ZONE, 16, STRING));\n fields.add(create(DestinationFields.DESTINATION_ZONE, 17, STRING));\n fields.add(create(NetworkFields.NETWORK_INTERFACE_IN, 18, STRING));\n fields.add(create(NetworkFields.NETWORK_INTERFACE_OUT, 19, STRING));\n\n fields.add(create(PaloAlto9xFields.PAN_LOG_ACITON, 20, STRING));\n // Field 21 is FUTURE USE\n fields.add(create(SessionFields.SESSION_ID, 22, LONG));\n fields.add(create(EventFields.EVENT_REPEAT_COUNT, 23, LONG));\n fields.add(create(SourceFields.SOURCE_PORT, 24, LONG));\n\n fields.add(create(DestinationFields.DESTINATION_PORT, 25, LONG));\n fields.add(create(SourceFields.SOURCE_NAT_PORT, 26, LONG));\n fields.add(create(DestinationFields.DESTINATION_NAT_PORT, 27, LONG));\n fields.add(create(PaloAlto9xFields.PAN_FLAGS, 28, STRING));\n fields.add(create(NetworkFields.NETWORK_TRANSPORT, 29, STRING));\n\n fields.add(create(VendorFields.VENDOR_EVENT_ACTION, 30, STRING));\n fields.add(create(NetworkFields.NETWORK_BYTES, 31, LONG));\n fields.add(create(SourceFields.SOURCE_BYTES_SENT, 32, LONG));\n fields.add(create(DestinationFields.DESTINATION_BYTES_SENT, 33, LONG));\n fields.add(create(NetworkFields.NETWORK_PACKETS, 34, LONG));\n\n fields.add(create(EventFields.EVENT_START, 35, TIMESTAMP));\n fields.add(create(EventFields.EVENT_DURATION, 36, LONG));\n fields.add(create(HttpFields.HTTP_URI_CATEGORY, 37, STRING));\n // Field 38 is FUTURE USE\n fields.add(create(EventFields.EVENT_UID, 39, STRING));\n\n fields.add(create(PaloAlto9xFields.PAN_LOG_PANORAMA, 40, STRING));\n fields.add(create(SourceFields.SOURCE_LOCATION_NAME, 41, STRING));\n fields.add(create(DestinationFields.DESTINATION_LOCATION_NAME, 42, STRING));\n // Field 43 is FUTURE USE\n fields.add(create(SourceFields.SOURCE_PACKETS_SENT, 44, LONG));\n\n fields.add(create(DestinationFields.DESTINATION_PACKETS_SENT, 45, LONG));\n fields.add(create(PaloAlto9xFields.PAN_SESSION_END_REASON, 46, STRING));\n fields.add(create(PaloAlto9xFields.PAN_DEV_GROUP_LEVEL_1, 47, LONG));\n fields.add(create(PaloAlto9xFields.PAN_DEV_GROUP_LEVEL_2, 48, LONG));\n fields.add(create(PaloAlto9xFields.PAN_DEV_GROUP_LEVEL_3, 49, LONG));\n\n fields.add(create(PaloAlto9xFields.PAN_DEV_GROUP_LEVEL_4, 50, LONG));\n fields.add(create(HostFields.HOST_VIRTFW_HOSTNAME, 51, STRING));\n fields.add(create(EventFields.EVENT_OBSERVER_HOSTNAME, 52, STRING));\n fields.add(create(VendorFields.VENDOR_EVENT_DESCRIPTION, 53, STRING));\n fields.add(create(SourceFields.SOURCE_VSYS_UUID, 54, STRING));\n\n fields.add(create(DestinationFields.DESTINATION_VSYS_UUID, 55, STRING));\n fields.add(create(PaloAlto9xFields.PAN_TUNNEL_ID, 56, STRING));\n fields.add(create(PaloAlto9xFields.PAN_MONITOR_TAG, 57, STRING));\n fields.add(create(PaloAlto9xFields.PAN_PARENT_SESSION_ID, 58, STRING));\n fields.add(create(PaloAlto9xFields.PAN_PARENT_START_TIME, 59, STRING));\n\n fields.add(create(NetworkFields.NETWORK_TUNNEL_TYPE, 60, STRING));\n fields.add(create(PaloAlto9xFields.PAN_ASSOC_ID, 61, LONG));\n fields.add(create(PaloAlto9xFields.PAN_SCTP_CHUNKS_SUM, 62, STRING));\n fields.add(create(PaloAlto9xFields.PAN_SCTP_CHUNKS_TX, 63, STRING));\n fields.add(create(PaloAlto9xFields.PAN_SCTP_CHUNKS_RX, 64, STRING));\n\n fields.add(create(PolicyFields.POLICY_UID, 65, STRING));\n fields.add(create(PaloAlto9xFields.PAN_HTTP2, 66, STRING));\n fields.add(create(PaloAlto9xFields.PAN_LINK_CHANGES, 67, LONG));\n fields.add(create(PaloAlto9xFields.PAN_SDWAN_POLICY_ID, 68, STRING));\n fields.add(create(PaloAlto9xFields.PAN_LINK_SWITCHES, 69, STRING));\n\n fields.add(create(PaloAlto9xFields.PAN_SDWAN_CLUSTER, 70, STRING));\n fields.add(create(PaloAlto9xFields.PAN_SDWAN_DEVICE_TYPE, 71, STRING));\n fields.add(create(PaloAlto9xFields.PAN_SDWAN_CLUSTER_TYPE, 72, STRING));\n fields.add(create(PaloAlto9xFields.PAN_SDWAN_SITE_NAME, 73, STRING));\n fields.add(create(PaloAlto9xFields.PAN_DYNUSERGROUP_NAME, 74, STRING));\n\n fields.add(create(HttpFields.HTTP_XFF, 75, STRING));\n fields.add(create(SourceFields.SOURCE_CATEGORY, 76, STRING));\n fields.add(create(PaloAlto9xFields.PAN_SOURCE_PROFILE, 77, STRING));\n fields.add(create(SourceFields.SOURCE_DEVICE_MODEL, 78, STRING));\n fields.add(create(SourceFields.SOURCE_DEVICE_VENDOR, 79, STRING));\n\n fields.add(create(SourceFields.SOURCE_OS_NAME, 80, STRING));\n fields.add(create(SourceFields.SOURCE_OS_VERSION, 81, STRING));\n fields.add(create(SourceFields.SOURCE_HOSTNAME, 82, STRING));\n fields.add(create(SourceFields.SOURCE_MAC, 83, STRING));\n fields.add(create(DestinationFields.DESTINATION_CATEGORY, 84, STRING));\n\n fields.add(create(PaloAlto9xFields.PAN_DESTINATION_PROFILE, 85, STRING));\n fields.add(create(DestinationFields.DESTINATION_DEVICE_MODEL, 86, STRING));\n fields.add(create(DestinationFields.DESTINATION_DEVICE_VENDOR, 87, STRING));\n fields.add(create(DestinationFields.DESTINATION_OS_NAME, 88, STRING));\n fields.add(create(DestinationFields.DESTINATION_OS_VERSION, 89, STRING));\n\n fields.add(create(DestinationFields.DESTINATION_HOSTNAME, 90, STRING));\n fields.add(create(DestinationFields.DESTINATION_MAC, 91, STRING));\n fields.add(create(ContainerFields.CONTAINER_ID, 92, STRING));\n fields.add(create(ContainerFields.CONTAINER_NAMESPACE, 93, STRING));\n fields.add(create(ContainerFields.CONTAINER_NAME, 94, STRING));\n\n fields.add(create(PaloAlto9xFields.PAN_SRC_EDL, 95, STRING));\n fields.add(create(PaloAlto9xFields.PAN_DST_EDL, 96, STRING));\n fields.add(create(PaloAlto9xFields.PAN_HOST_ID, 97, STRING));\n fields.add(create(PaloAlto9xFields.PAN_HOST_SN, 98, STRING));\n fields.add(create(PaloAlto9xFields.PAN_SRC_DAG, 99, STRING));\n\n fields.add(create(PaloAlto9xFields.PAN_DST_DAG, 100, STRING));\n fields.add(create(PaloAlto9xFields.PAN_SESSION_OWNER, 101, STRING));\n fields.add(create(PaloAlto9xFields.PAN_HIGH_RES_TIME, 102, STRING));\n fields.add(create(PaloAlto9xFields.PAN_NSDSAI_SST, 103, STRING));\n fields.add(create(PaloAlto9xFields.PAN_NSDSAI_SD, 104, STRING));\n\n return toTemplate(fields);\n }\n\n public static PaloAltoMessageTemplate userIdTemplate() {\n SortedSet fields = Sets.newTreeSet();\n\n // Field 0 is FUTURE USE\n fields.add(create(EventFields.EVENT_CREATED, 1, TIMESTAMP));\n fields.add(create(EventFields.EVENT_OBSERVER_UID, 2, STRING));\n fields.add(create(EventFields.EVENT_LOG_NAME, 3, STRING));\n fields.add(create(PaloAlto9xFields.PAN_LOG_SUBTYPE, 4, STRING));\n\n // Field 5 is FUTURE USE\n fields.add(create(Message.FIELD_TIMESTAMP, 6, TIMESTAMP));\n fields.add(create(HostFields.HOST_VIRTFW_ID, 7, STRING));\n fields.add(create(SourceFields.SOURCE_IP, 8, STRING));\n fields.add(create(SourceFields.SOURCE_USER, 9, STRING));\n\n fields.add(create(PaloAlto9xFields.PAN_DATASOURCE_NAME, 10, STRING));\n fields.add(create(PaloAlto9xFields.PAN_EVENT_NAME, 11, STRING));\n fields.add(create(EventFields.EVENT_REPEAT_COUNT, 12, LONG));\n fields.add(create(PaloAlto9xFields.PAN_TIMEOUT, 13, LONG));\n fields.add(create(SourceFields.SOURCE_PORT, 14, LONG));\n\n fields.add(create(DestinationFields.DESTINATION_PORT, 15, LONG));\n fields.add(create(PaloAlto9xFields.PAN_DATASOURCE, 16, STRING));\n fields.add(create(PaloAlto9xFields.PAN_DATASOURCE_TYPE, 17, STRING));\n fields.add(create(EventFields.EVENT_UID, 18, STRING));\n fields.add(create(PaloAlto9xFields.PAN_LOG_PANORAMA, 19, STRING));\n\n fields.add(create(PaloAlto9xFields.PAN_DEV_GROUP_LEVEL_1, 20, LONG));\n fields.add(create(PaloAlto9xFields.PAN_DEV_GROUP_LEVEL_2, 21, LONG));\n fields.add(create(PaloAlto9xFields.PAN_DEV_GROUP_LEVEL_3, 22, LONG));\n fields.add(create(PaloAlto9xFields.PAN_DEV_GROUP_LEVEL_4, 23, LONG));\n fields.add(create(HostFields.HOST_VIRTFW_HOSTNAME, 24, STRING));\n\n fields.add(create(EventFields.EVENT_OBSERVER_HOSTNAME, 25, STRING));\n fields.add(create(HostFields.HOST_VIRTFW_UID, 26, STRING));\n fields.add(create(PaloAlto9xFields.PAN_FACTOR_TYPE, 27, STRING));\n fields.add(create(PaloAlto9xFields.PAN_FACTOR_COMPLETION_TIME, 28, TIMESTAMP));\n fields.add(create(PaloAlto9xFields.PAN_FACTOR_NUMBER, 29, LONG));\n\n // Field 30 is FUTURE USE\n // Field 31 is FUTURE USE\n fields.add(create(PaloAlto9xFields.PAN_USER_GROUP_FLAGS, 32, STRING));\n fields.add(create(PaloAlto9xFields.PAN_SOURCE_USER, 33, STRING));\n fields.add(create(PaloAlto9xFields.PAN_HIGH_RES_TIME, 34, STRING));\n\n return toTemplate(fields);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/475eac6b77e81bdcc14af641a05f32fce4a139bd.json b/web/public/bundles/graylog/code/475eac6b77e81bdcc14af641a05f32fce4a139bd.json new file mode 100644 index 00000000..6b28e7fd --- /dev/null +++ b/web/public/bundles/graylog/code/475eac6b77e81bdcc14af641a05f32fce4a139bd.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "475eac6b77e81bdcc14af641a05f32fce4a139bd", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/fieldtypes/IndexFieldTypesListService.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.indexer.fieldtypes;\n\nimport com.google.common.collect.ImmutableSet;\nimport com.google.common.collect.Sets;\nimport jakarta.annotation.Nonnull;\nimport jakarta.inject.Inject;\nimport org.bson.types.ObjectId;\nimport org.graylog2.database.PaginatedList;\nimport org.graylog2.database.filtering.inmemory.InMemoryFilterExpressionParser;\nimport org.graylog2.indexer.fieldtypes.utils.FieldTypeDTOsMerger;\nimport org.graylog2.indexer.indexset.CustomFieldMappings;\nimport org.graylog2.indexer.indexset.IndexSet;\nimport org.graylog2.indexer.indexset.IndexSetConfig;\nimport org.graylog2.indexer.indexset.IndexSetService;\nimport org.graylog2.indexer.indexset.MongoIndexSet;\nimport org.graylog2.indexer.indexset.profile.IndexFieldTypeProfile;\nimport org.graylog2.indexer.indexset.profile.IndexFieldTypeProfileService;\nimport org.graylog2.rest.models.tools.responses.PageListResponse;\nimport org.graylog2.rest.resources.entities.Sorting;\nimport org.graylog2.rest.resources.system.indexer.responses.IndexSetFieldType;\n\nimport java.util.Collection;\nimport java.util.List;\nimport java.util.Locale;\nimport java.util.Map;\nimport java.util.Optional;\nimport java.util.Set;\nimport java.util.function.Function;\nimport java.util.stream.Collectors;\n\npublic class IndexFieldTypesListService {\n\n private final IndexFieldTypesService indexFieldTypesService;\n private final IndexSetService indexSetService;\n private final MongoIndexSet.Factory indexSetFactory;\n private final IndexFieldTypeProfileService profileService;\n\n private final InMemoryFilterExpressionParser inMemoryFilterExpressionParser;\n\n private final FieldTypeDTOsMerger fieldTypeDTOsMerger;\n\n @Inject\n public IndexFieldTypesListService(final IndexFieldTypesService indexFieldTypesService,\n final IndexSetService indexSetService,\n final MongoIndexSet.Factory indexSetFactory,\n final FieldTypeDTOsMerger fieldTypeDTOsMerger,\n final InMemoryFilterExpressionParser inMemoryFilterExpressionParser,\n final IndexFieldTypeProfileService profileService) {\n this.indexFieldTypesService = indexFieldTypesService;\n this.indexSetService = indexSetService;\n this.indexSetFactory = indexSetFactory;\n this.fieldTypeDTOsMerger = fieldTypeDTOsMerger;\n this.inMemoryFilterExpressionParser = inMemoryFilterExpressionParser;\n this.profileService = profileService;\n }\n\n public PageListResponse getIndexSetFieldTypesListPage(\n final String indexSetId,\n final String fieldNameQuery,\n final List filters,\n final int page,\n final int perPage,\n final String sort,\n final Sorting.Direction order) {\n\n final List filteredFields = getFilteredList(indexSetId, fieldNameQuery, filters, sort, order);\n final int total = filteredFields.size();\n\n final List retrievedPage = filteredFields.stream()\n .skip((long) Math.max(0, page - 1) * perPage)\n .limit(perPage)\n .toList();\n\n return PageListResponse.create(\"\",\n PaginatedList.PaginationInfo.create(\n total,\n retrievedPage.size(),\n page,\n perPage),\n total,\n sort,\n order.toString().toLowerCase(Locale.ROOT),\n retrievedPage,\n IndexSetFieldType.ATTRIBUTES,\n IndexSetFieldType.ENTITY_DEFAULTS);\n\n }\n\n public List getIndexSetFieldTypesList(\n final String indexSetId,\n final String fieldNameQuery,\n final List filters,\n final String sort,\n final Sorting.Direction order) {\n\n return getFilteredList(indexSetId, fieldNameQuery, filters, sort, order);\n }\n\n public Map> getIndexSetFieldTypesList(final Set indexSetId, final Collection fieldNameQuery) {\n return getFilteredList(indexSetId, fieldNameQuery);\n }\n\n @Nonnull\n private List getFilteredList(String indexSetId, String fieldNameQuery, List filters, String sort, Sorting.Direction order) {\n final Optional indexSetConfig = indexSetService.get(indexSetId);\n final Optional mongoIndexSet = indexSetConfig.map(indexSetFactory::create);\n\n final CustomFieldMappings customFieldMappings = indexSetConfig.map(IndexSetConfig::customFieldMappings).orElse(new CustomFieldMappings());\n final Optional fieldTypeProfile = indexSetConfig\n .map(IndexSetConfig::fieldTypeProfile)\n .filter(ObjectId::isValid)\n .flatMap(profileService::get);\n\n final Set deflectorFieldDtos = mongoIndexSet\n .map(IndexSet::getActiveWriteIndex)\n .map(indexFieldTypesService::findOneByIndexName)\n .map(IndexFieldTypesDTO::fields)\n .orElse(ImmutableSet.of());\n\n final Set previousFieldDtos = mongoIndexSet\n .map(this::getPreviousActiveIndexSet)\n .map(indexFieldTypesService::findOneByIndexName)\n .map(IndexFieldTypesDTO::fields)\n .orElse(ImmutableSet.of());\n\n final Collection allFields = fieldTypeDTOsMerger.merge(deflectorFieldDtos,\n previousFieldDtos,\n customFieldMappings,\n fieldTypeProfile.orElse(null));\n return allFields\n .stream()\n .filter(indexSetFieldType -> indexSetFieldType.fieldName().contains(fieldNameQuery))\n .filter(indexSetFieldType -> inMemoryFilterExpressionParser.parse(filters, IndexSetFieldType.ATTRIBUTES).test(indexSetFieldType))\n .sorted(IndexSetFieldType.getComparator(sort, order))\n .toList();\n }\n\n @Nonnull\n private Map> getFilteredList(Set indexSetIds, Collection fieldNames) {\n final var indexSetConfigs = indexSetService.findByIds(indexSetIds);\n final var mongoIndexSets = indexSetConfigs.stream().collect(Collectors.toMap(IndexSetConfig::id, indexSetFactory::create));\n final var activeWriteIndices = mongoIndexSets.values().stream().map(IndexSet::getActiveWriteIndex).collect(Collectors.toSet());\n final var previousActiveIndexSets = mongoIndexSets.values().stream().map(this::getPreviousActiveIndexSet).collect(Collectors.toSet());\n\n final var indexFieldTypes = indexFieldTypesService.findByIndexNames(Sets.union(activeWriteIndices, previousActiveIndexSets))\n .stream()\n .collect(Collectors.toMap(IndexFieldTypesDTO::indexName, Function.identity()));\n\n return indexSetConfigs.stream()\n .collect(Collectors.toMap(IndexSetConfig::id,\n indexSetConfig -> {\n final var mongoIndexSet = indexSetFactory.create(indexSetConfig);\n final var customFieldMappings = indexSetConfig.customFieldMappings();\n final var fieldTypeProfile = Optional.ofNullable(indexSetConfig.fieldTypeProfile())\n .flatMap(profileService::get);\n\n final Set deflectorFieldDtos = Optional.ofNullable(indexFieldTypes.get(mongoIndexSet.getActiveWriteIndex()))\n .map(IndexFieldTypesDTO::fields)\n .orElse(ImmutableSet.of());\n\n final Set previousFieldDtos = Optional.ofNullable(indexFieldTypes.get(this.getPreviousActiveIndexSet(mongoIndexSet)))\n .map(IndexFieldTypesDTO::fields)\n .orElse(ImmutableSet.of());\n\n final Collection allFields = fieldTypeDTOsMerger.merge(deflectorFieldDtos,\n previousFieldDtos,\n customFieldMappings,\n fieldTypeProfile.orElse(null));\n return allFields\n .stream()\n .filter(indexSetFieldType -> fieldNames.contains(indexSetFieldType.fieldName()))\n .toList();\n }));\n }\n\n private String getPreviousActiveIndexSet(final IndexSet indexSet) {\n return indexSet.getNthIndexBeforeActiveIndexSet(1);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/47c32a7f221db4484b7b9062a7336352ee7da0a2.json b/web/public/bundles/graylog/code/47c32a7f221db4484b7b9062a7336352ee7da0a2.json new file mode 100644 index 00000000..c8aab399 --- /dev/null +++ b/web/public/bundles/graylog/code/47c32a7f221db4484b7b9062a7336352ee7da0a2.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "47c32a7f221db4484b7b9062a7336352ee7da0a2", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/search/RelativeSearchResource.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.resources.search;\n\nimport com.codahale.metrics.annotation.Timed;\nimport io.swagger.v3.oas.annotations.Operation;\nimport io.swagger.v3.oas.annotations.Parameter;\nimport io.swagger.v3.oas.annotations.media.Content;\nimport io.swagger.v3.oas.annotations.media.Schema;\nimport io.swagger.v3.oas.annotations.responses.ApiResponse;\nimport io.swagger.v3.oas.annotations.responses.ApiResponses;\nimport io.swagger.v3.oas.annotations.tags.Tag;\nimport jakarta.inject.Inject;\nimport jakarta.validation.constraints.NotEmpty;\nimport jakarta.validation.constraints.NotNull;\nimport jakarta.validation.constraints.PositiveOrZero;\nimport jakarta.ws.rs.BadRequestException;\nimport jakarta.ws.rs.DefaultValue;\nimport jakarta.ws.rs.GET;\nimport jakarta.ws.rs.Path;\nimport jakarta.ws.rs.Produces;\nimport jakarta.ws.rs.QueryParam;\nimport jakarta.ws.rs.core.Context;\nimport jakarta.ws.rs.core.MediaType;\nimport jakarta.ws.rs.core.Response;\nimport org.apache.shiro.authz.annotation.RequiresAuthentication;\nimport org.glassfish.jersey.server.ChunkedOutput;\nimport org.graylog.plugins.views.search.engine.SearchExecutor;\nimport org.graylog.plugins.views.search.permissions.SearchUser;\nimport org.graylog.plugins.views.search.searchtypes.Sort;\nimport org.graylog2.decorators.DecoratorProcessor;\nimport org.graylog2.indexer.results.ChunkedResult;\nimport org.graylog2.indexer.results.ResultChunk;\nimport org.graylog2.indexer.searches.Searches;\nimport org.graylog2.plugin.cluster.ClusterConfigService;\nimport org.graylog2.plugin.indexer.searches.timeranges.InvalidRangeParametersException;\nimport org.graylog2.plugin.indexer.searches.timeranges.RelativeRange;\nimport org.graylog2.plugin.indexer.searches.timeranges.TimeRange;\nimport org.graylog2.rest.MoreMediaTypes;\nimport org.graylog2.rest.resources.search.responses.SearchResponse;\nimport org.graylog2.shared.rest.PublicCloudAPI;\nimport org.graylog2.shared.security.RestPermissions;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.util.List;\n\nimport static org.graylog2.rest.RestTools.respondWithFile;\n\n@RequiresAuthentication\n@PublicCloudAPI\n@Tag(name = \"Legacy/Search/Relative\", description = \"Message search\")\n@Path(\"/search/universal/relative\")\npublic class RelativeSearchResource extends SearchResource {\n\n private static final Logger LOG = LoggerFactory.getLogger(RelativeSearchResource.class);\n\n @Inject\n public RelativeSearchResource(Searches searches,\n ClusterConfigService clusterConfigService,\n DecoratorProcessor decoratorProcessor,\n SearchExecutor searchExecutor) {\n super(searches, clusterConfigService, decoratorProcessor, searchExecutor);\n }\n\n @GET\n @Timed\n @Operation(summary = \"Message search with relative timerange.\",\n description = \"Search for messages in a relative timerange, specified as seconds from now. \" +\n \"Example: 300 means search from 5 minutes ago to now.\")\n @ApiResponses(value = {\n @ApiResponse(responseCode = \"400\", description = \"Invalid timerange parameters provided.\")\n })\n @Produces(MediaType.APPLICATION_JSON)\n public SearchResponse searchRelative(\n @Parameter(name = \"query\", description = \"Query (Lucene syntax)\", required = true)\n @QueryParam(\"query\") @NotEmpty String query,\n @Parameter(name = \"range\", description = \"Relative timeframe to search in. See method description.\", required = true)\n @QueryParam(\"range\") @NotNull @PositiveOrZero Integer range,\n @Parameter(name = \"limit\", description = \"Maximum number of messages to return.\") @QueryParam(\"limit\") int limit,\n @Parameter(name = \"offset\", description = \"Offset\") @QueryParam(\"offset\") int offset,\n @Parameter(name = \"filter\", description = \"Filter\") @QueryParam(\"filter\") String filter,\n @Parameter(name = \"fields\", description = \"Comma separated list of fields to return\") @QueryParam(\"fields\") String fields,\n @Parameter(name = \"streams\", description = \"Comma separated list of stream IDs to search in\") @QueryParam(\"streams\") String streams,\n @Parameter(name = \"sort\", description = \"Sorting (field:asc / field:desc)\") @QueryParam(\"sort\") String sort,\n @Parameter(name = \"decorate\", description = \"Run decorators on search result\") @QueryParam(\"decorate\") @DefaultValue(\"true\") boolean decorate,\n @Context SearchUser searchUser) {\n checkSearchPermission(filter, RestPermissions.SEARCHES_RELATIVE);\n\n final List fieldList = parseOptionalFields(fields);\n final Sort sorting = buildSortOrder(sort);\n\n final TimeRange timeRange = buildRelativeTimeRange(range);\n final var parsedStreams = parseStreams(streams);\n\n return search(query, limit, offset, filter, parsedStreams, decorate, searchUser, fieldList, sorting, timeRange);\n }\n\n @GET\n @Timed\n @Operation(summary = \"Message search with relative timerange.\",\n description = \"Search for messages in a relative timerange, specified as seconds from now. \" +\n \"Example: 300 means search from 5 minutes ago to now.\")\n @Produces(MoreMediaTypes.TEXT_CSV)\n @ApiResponses(value = {\n @ApiResponse(responseCode = \"200\", description = \"Success\",\n content = @Content(mediaType = MoreMediaTypes.TEXT_CSV,\n schema = @Schema(hidden = true))),\n @ApiResponse(responseCode = \"400\", description = \"Invalid timerange parameters provided.\")\n })\n public ChunkedOutput searchRelativeChunked(\n @Parameter(name = \"query\", description = \"Query (Lucene syntax)\", required = true)\n @QueryParam(\"query\") @NotEmpty String query,\n @Parameter(name = \"range\", description = \"Relative timeframe to search in. See method description.\", required = true)\n @QueryParam(\"range\") @NotNull @PositiveOrZero Integer range,\n @Parameter(name = \"limit\", description = \"Maximum number of messages to return.\", required = false) @QueryParam(\"limit\") int limit,\n @Parameter(name = \"offset\", description = \"Offset\", required = false) @QueryParam(\"offset\") int offset,\n @Parameter(name = \"batch_size\", description = \"Batch size for the backend storage export request.\", required = false) @QueryParam(\"batch_size\") @DefaultValue(DEFAULT_SCROLL_BATCH_SIZE) int batchSize,\n @Parameter(name = \"filter\", description = \"Filter\", required = false) @QueryParam(\"filter\") String filter,\n @Parameter(name = \"streams\", description = \"Comma separated list of streams to search in\") @QueryParam(\"streams\") String streams,\n @Parameter(name = \"fields\", description = \"Comma separated list of fields to return\", required = true)\n @QueryParam(\"fields\") @NotEmpty String fields) {\n checkSearchPermission(filter, RestPermissions.SEARCHES_RELATIVE);\n\n final List fieldList = parseFields(fields);\n final TimeRange timeRange = buildRelativeTimeRange(range);\n final var parsedStreams = parseStreams(streams);\n\n final ChunkedResult scroll = searches\n .scroll(query, timeRange, limit, offset, fieldList, filter, parsedStreams, batchSize);\n return buildChunkedOutput(scroll);\n }\n\n @GET\n @Path(\"/export\")\n @Timed\n @Operation(summary = \"Export message search with relative timerange.\",\n description = \"Search for messages in a relative timerange, specified as seconds from now. \" +\n \"Example: 300 means search from 5 minutes ago to now.\")\n @Produces(MoreMediaTypes.TEXT_CSV)\n @ApiResponses(value = {\n @ApiResponse(responseCode = \"200\", description = \"Success\",\n content = @Content(mediaType = MoreMediaTypes.TEXT_CSV,\n schema = @Schema(hidden = true))),\n @ApiResponse(responseCode = \"400\", description = \"Invalid timerange parameters provided.\")\n })\n public Response exportSearchRelativeChunked(\n @Parameter(name = \"query\", description = \"Query (Lucene syntax)\", required = true)\n @QueryParam(\"query\") @NotEmpty String query,\n @Parameter(name = \"range\", description = \"Relative timeframe to search in. See method description.\", required = true)\n @QueryParam(\"range\") @PositiveOrZero int range,\n @Parameter(name = \"limit\", description = \"Maximum number of messages to return.\", required = false) @QueryParam(\"limit\") int limit,\n @Parameter(name = \"offset\", description = \"Offset\", required = false) @QueryParam(\"offset\") int offset,\n @Parameter(name = \"batch_size\", description = \"Batch size for the backend storage export request.\", required = false) @QueryParam(\"batch_size\") @DefaultValue(DEFAULT_SCROLL_BATCH_SIZE) int batchSize,\n @Parameter(name = \"filter\", description = \"Filter\", required = false) @QueryParam(\"filter\") String filter,\n @Parameter(name = \"streams\", description = \"Comma separated list of streams to search in\") @QueryParam(\"streams\") String streams,\n @Parameter(name = \"fields\", description = \"Comma separated list of fields to return\", required = true)\n @QueryParam(\"fields\") @NotEmpty String fields) {\n checkSearchPermission(filter, RestPermissions.SEARCHES_RELATIVE);\n final String filename = \"graylog-search-result-relative-\" + range + \".csv\";\n return respondWithFile(filename, searchRelativeChunked(query, range, limit, offset, batchSize, filter, streams, fields))\n .build();\n }\n\n private TimeRange buildRelativeTimeRange(int range) {\n try {\n return restrictTimeRange(RelativeRange.create(range));\n } catch (InvalidRangeParametersException e) {\n LOG.warn(\"Invalid timerange parameters provided. Returning HTTP 400.\");\n throw new BadRequestException(e);\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/47d80428023bac146dd6026629c0931435bd192b.json b/web/public/bundles/graylog/code/47d80428023bac146dd6026629c0931435bd192b.json new file mode 100644 index 00000000..486d75ba --- /dev/null +++ b/web/public/bundles/graylog/code/47d80428023bac146dd6026629c0931435bd192b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "47d80428023bac146dd6026629c0931435bd192b", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/events/event/EventReplayInfo.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.events.event;\n\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.jackson.databind.annotation.JsonDeserialize;\nimport com.google.auto.value.AutoValue;\nimport org.graylog.plugins.views.search.searchfilters.model.UsedSearchFilter;\nimport org.joda.time.DateTime;\n\nimport java.util.Collections;\nimport java.util.List;\nimport java.util.Set;\n\n/**\n * Stores the information necessary to recreate a query that triggered a search-based event. Allows those events to\n * maintain the information even if the corresponding event definition gets modified or deleted.\n */\n@AutoValue\n@JsonDeserialize(builder = EventReplayInfo.Builder.class)\npublic abstract class EventReplayInfo {\n public static final String FIELD_TIMERANGE_START = \"timerange_start\";\n public static final String FIELD_TIMERANGE_END = \"timerange_end\";\n public static final String FIELD_QUERY = \"query\";\n public static final String FIELD_STREAMS = \"streams\";\n public static final String FIELD_FILTERS = \"filters\";\n\n @JsonProperty(FIELD_TIMERANGE_START)\n public abstract DateTime timerangeStart();\n\n @JsonProperty(FIELD_TIMERANGE_END)\n public abstract DateTime timerangeEnd();\n\n @JsonProperty(FIELD_QUERY)\n public abstract String query();\n\n @JsonProperty(FIELD_STREAMS)\n public abstract Set streams();\n\n @JsonProperty(FIELD_FILTERS)\n public abstract List filters();\n\n public static Builder builder() {\n return new AutoValue_EventReplayInfo.Builder()\n .streams(Collections.emptySet())\n .filters(Collections.emptyList());\n }\n\n public abstract Builder toBuilder();\n\n @AutoValue.Builder\n public static abstract class Builder {\n @JsonProperty(FIELD_TIMERANGE_START)\n public abstract Builder timerangeStart(DateTime timeRangeStart);\n\n @JsonProperty(FIELD_TIMERANGE_END)\n public abstract Builder timerangeEnd(DateTime timeRangeEnd);\n\n @JsonProperty(FIELD_QUERY)\n public abstract Builder query(String query);\n\n @JsonProperty(FIELD_STREAMS)\n public abstract Builder streams(Set streams);\n\n @JsonProperty(FIELD_FILTERS)\n public abstract Builder filters(List filters);\n\n public abstract EventReplayInfo build();\n\n @JsonCreator\n public static Builder create() {\n return builder();\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/486a45020a61d15ee88cfc374bfd2fe0cf5730c7.json b/web/public/bundles/graylog/code/486a45020a61d15ee88cfc374bfd2fe0cf5730c7.json new file mode 100644 index 00000000..46340c95 --- /dev/null +++ b/web/public/bundles/graylog/code/486a45020a61d15ee88cfc374bfd2fe0cf5730c7.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "486a45020a61d15ee88cfc374bfd2fe0cf5730c7", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/IndexSetCategory.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.indexer.indexset;\n\nimport com.mongodb.client.model.Filters;\nimport org.bson.conversions.Bson;\nimport org.graylog2.rest.resources.entities.FilterOption;\n\nimport java.util.Arrays;\nimport java.util.Locale;\n\nimport static org.graylog2.indexer.indexset.IndexSetConfig.DEFAULT_INDEX_TEMPLATE_TYPE;\nimport static org.graylog2.indexer.indexset.IndexSetConfig.FIELD_REGULAR;\nimport static org.graylog2.indexer.indexset.fields.IndexTemplateTypeField.FIELD_INDEX_TEMPLATE_TYPE;\nimport static org.graylog2.indexer.indexset.fields.WritableField.FIELD_WRITABLE;\nimport static org.graylog2.indexer.template.IndexTemplateProvider.ILLUMINATE_INDEX_TEMPLATE_TYPE;\nimport static org.graylog2.shared.utilities.StringUtils.f;\n\n/**\n * Groups index sets for the entity table's category filter and counts.\n *

\n * The MongoDB predicates mirror {@link IndexSetConfig#isRegularIndex()}. A non-writable index set is never\n * regular. An explicit {@code regular} flag wins. Otherwise the default template type decides. The Illuminate\n * template type takes precedence over all of that. {@link #of(IndexSetConfig)} classifies in Java; a test\n * keeps both in agreement.\n */\npublic enum IndexSetCategory {\n USER(\"user\", \"User\"),\n SYSTEM(\"system\", \"System\"),\n ILLUMINATE(\"illuminate\", \"Illuminate\");\n\n private static final Bson ILLUMINATE_TEMPLATE = Filters.eq(FIELD_INDEX_TEMPLATE_TYPE, ILLUMINATE_INDEX_TEMPLATE_TYPE);\n private static final Bson NOT_ILLUMINATE_TEMPLATE = Filters.ne(FIELD_INDEX_TEMPLATE_TYPE, ILLUMINATE_INDEX_TEMPLATE_TYPE);\n // In MongoDB, {field: null} matches a null value and a missing field. The Java fallbacks treat both as unset.\n private static final Bson REGULAR = Filters.and(\n Filters.ne(FIELD_WRITABLE, false),\n Filters.or(\n Filters.eq(FIELD_REGULAR, true),\n Filters.and(\n Filters.eq(FIELD_REGULAR, null),\n Filters.or(\n Filters.eq(FIELD_INDEX_TEMPLATE_TYPE, null),\n Filters.eq(FIELD_INDEX_TEMPLATE_TYPE, DEFAULT_INDEX_TEMPLATE_TYPE)))));\n\n private final String value;\n private final String title;\n\n IndexSetCategory(String value, String title) {\n this.value = value;\n this.title = title;\n }\n\n /** The wire value used in filters, counts, and the element payload. */\n public String value() {\n return value;\n }\n\n public FilterOption filterOption() {\n return FilterOption.create(value, title);\n }\n\n /** Selects exactly the index sets of this category. */\n public Bson toBson() {\n return switch (this) {\n case ILLUMINATE -> ILLUMINATE_TEMPLATE;\n case USER -> Filters.and(NOT_ILLUMINATE_TEMPLATE, REGULAR);\n case SYSTEM -> Filters.and(NOT_ILLUMINATE_TEMPLATE, Filters.nor(REGULAR));\n };\n }\n\n public static IndexSetCategory of(IndexSetConfig config) {\n if (config.indexTemplateType().map(ILLUMINATE_INDEX_TEMPLATE_TYPE::equals).orElse(false)) {\n return ILLUMINATE;\n }\n return config.isRegularIndex() ? USER : SYSTEM;\n }\n\n /** @throws IllegalArgumentException for a value that names no category. The filter parser maps it to a 400 response. */\n public static IndexSetCategory fromValue(String value) {\n final String normalized = value.toLowerCase(Locale.ROOT);\n return Arrays.stream(values())\n .filter(category -> category.value.equals(normalized))\n .findFirst()\n .orElseThrow(() -> new IllegalArgumentException(f(\"Unknown index set category: %s\", value)));\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/487bec7dd5522c932b62272892ced92275611e1b.json b/web/public/bundles/graylog/code/487bec7dd5522c932b62272892ced92275611e1b.json new file mode 100644 index 00000000..8dd7c0b2 --- /dev/null +++ b/web/public/bundles/graylog/code/487bec7dd5522c932b62272892ced92275611e1b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "487bec7dd5522c932b62272892ced92275611e1b", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/model/EntityPermissions.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\n\npackage org.graylog2.contentpacks.model;\n\nimport org.apache.shiro.authz.annotation.Logical;\nimport org.graylog.security.UserContext;\n\nimport java.util.Arrays;\nimport java.util.List;\nimport java.util.Optional;\n\npublic record EntityPermissions(List permissions, Logical operator) {\n\n public EntityPermissions(List permissions) {\n this(permissions, Logical.AND);\n }\n\n public static Optional of(String... permissions) {\n if (permissions == null || permissions.length == 0) {\n return Optional.empty();\n } else {\n return Optional.of(new EntityPermissions(Arrays.asList(permissions)));\n }\n }\n\n\n public boolean isPermitted(UserContext userContext) {\n return (operator().equals(Logical.AND)) ?\n permissions().stream().allMatch(userContext::isPermitted) :\n permissions().stream().anyMatch(userContext::isPermitted);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/49c308d1dc6b994e19b54f0475fd748a9c1dfa20.json b/web/public/bundles/graylog/code/49c308d1dc6b994e19b54f0475fd748a9c1dfa20.json new file mode 100644 index 00000000..9fed3034 --- /dev/null +++ b/web/public/bundles/graylog/code/49c308d1dc6b994e19b54f0475fd748a9c1dfa20.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "49c308d1dc6b994e19b54f0475fd748a9c1dfa20", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/aws/service/CloudWatchService.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.integrations.aws.service;\n\nimport com.github.rholder.retry.Attempt;\nimport com.github.rholder.retry.RetryException;\nimport com.github.rholder.retry.RetryListener;\nimport com.github.rholder.retry.Retryer;\nimport com.github.rholder.retry.RetryerBuilder;\nimport com.github.rholder.retry.StopStrategies;\nimport com.github.rholder.retry.WaitStrategies;\nimport org.graylog.integrations.aws.AWSClientBuilderUtil;\nimport org.graylog.integrations.aws.resources.requests.AWSRequest;\nimport org.graylog.integrations.aws.resources.requests.CreateLogSubscriptionRequest;\nimport org.graylog.integrations.aws.resources.responses.CreateLogSubscriptionResponse;\nimport org.graylog.integrations.aws.resources.responses.LogGroupsResponse;\nimport org.graylog2.shared.utilities.ExceptionUtils;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport software.amazon.awssdk.services.cloudwatchlogs.CloudWatchLogsClient;\nimport software.amazon.awssdk.services.cloudwatchlogs.CloudWatchLogsClientBuilder;\nimport software.amazon.awssdk.services.cloudwatchlogs.model.DescribeLogGroupsRequest;\nimport software.amazon.awssdk.services.cloudwatchlogs.model.DescribeLogGroupsResponse;\nimport software.amazon.awssdk.services.cloudwatchlogs.model.Distribution;\nimport software.amazon.awssdk.services.cloudwatchlogs.model.InvalidParameterException;\nimport software.amazon.awssdk.services.cloudwatchlogs.model.PutSubscriptionFilterRequest;\nimport software.amazon.awssdk.services.cloudwatchlogs.paginators.DescribeLogGroupsIterable;\n\nimport jakarta.inject.Inject;\n\nimport jakarta.ws.rs.BadRequestException;\n\nimport java.util.ArrayList;\nimport java.util.Locale;\nimport java.util.concurrent.TimeUnit;\n\npublic class CloudWatchService {\n\n private static final Logger LOG = LoggerFactory.getLogger(CloudWatchService.class);\n private static final int SUBSCRIPTION_RETRY_DELAY = 1000;\n private static final int SUBSCRIPTION_RETRY_MAX_ATTEMPTS = 120;\n private static final TimeUnit SUBSCRIPTION_RETRY_DELAY_UNIT = TimeUnit.MILLISECONDS;\n\n private final CloudWatchLogsClientBuilder logsClientBuilder;\n private final AWSClientBuilderUtil awsClientBuilderUtil;\n\n @Inject\n public CloudWatchService(CloudWatchLogsClientBuilder logsClientBuilder,\n AWSClientBuilderUtil awsClientBuilderUtil) {\n this.logsClientBuilder = logsClientBuilder;\n this.awsClientBuilderUtil = awsClientBuilderUtil;\n }\n\n public LogGroupsResponse getLogGroupNames(AWSRequest request) {\n\n final CloudWatchLogsClient cloudWatchLogsClient = awsClientBuilderUtil.buildClient(logsClientBuilder, request);\n final DescribeLogGroupsRequest describeLogGroupsRequest = DescribeLogGroupsRequest.builder().build();\n final DescribeLogGroupsIterable responses = cloudWatchLogsClient.describeLogGroupsPaginator(describeLogGroupsRequest);\n\n final ArrayList groupNameList = new ArrayList<>();\n for (DescribeLogGroupsResponse response : responses) {\n for (int c = 0; c < response.logGroups().size(); c++) {\n groupNameList.add(response.logGroups().get(c).logGroupName());\n }\n }\n LOG.debug(\"Log groups queried: [{}]\", groupNameList);\n\n if (groupNameList.isEmpty()) {\n throw new BadRequestException(String.format(Locale.ROOT, \"No CloudWatch log groups were found in the [%s] region.\", request.region()));\n }\n\n return LogGroupsResponse.create(groupNameList, groupNameList.size());\n }\n\n public CreateLogSubscriptionResponse addSubscriptionFilter(CreateLogSubscriptionRequest request) {\n CloudWatchLogsClient cloudWatch = awsClientBuilderUtil.buildClient(logsClientBuilder, request);\n final PutSubscriptionFilterRequest putSubscriptionFilterRequest =\n PutSubscriptionFilterRequest.builder()\n .logGroupName(request.logGroupName())\n .filterName(request.filterName())\n .filterPattern(request.filterPattern())\n .destinationArn(request.destinationStreamArn())\n .roleArn(request.roleArn())\n .distribution(Distribution.BY_LOG_STREAM)\n .build();\n try {\n final Retryer retryer = RetryerBuilder.newBuilder()\n .retryIfExceptionOfType(InvalidParameterException.class)\n .withWaitStrategy(WaitStrategies.fixedWait(SUBSCRIPTION_RETRY_DELAY, SUBSCRIPTION_RETRY_DELAY_UNIT))\n .withStopStrategy(StopStrategies.stopAfterAttempt(SUBSCRIPTION_RETRY_MAX_ATTEMPTS))\n .withRetryListener(new RetryListener() {\n @Override\n public void onRetry(Attempt attempt) {\n if (attempt.hasException()) {\n LOG.info(\"Failed to create log group subscription on retry attempt [{}]. \" +\n \"This is probably normal and indicates that the specified IAM role is not ready yet due to IAM eventual consistency.\" +\n \"Retrying now. Exception [{}]\", attempt.getAttemptNumber(), attempt.getExceptionCause().getMessage());\n } else if (attempt.hasException() && attempt.getAttemptNumber() == SUBSCRIPTION_RETRY_MAX_ATTEMPTS) {\n LOG.error(\"Failed to put subscription after [{}] attempts. Giving up. Exception [{}]\", attempt.getAttemptNumber(), attempt.getExceptionCause());\n } else if (attempt.getAttemptNumber() > 1) {\n LOG.info(\"Retry of CloudWatch log group [{}] subscription was finally successful on attempt [{}].\",\n request.logGroupName(), attempt.getAttemptNumber());\n }\n }\n })\n .build();\n try {\n retryer.call(() -> {\n cloudWatch.putSubscriptionFilter(putSubscriptionFilterRequest);\n return null;\n });\n\n String explanation = String.format(Locale.ROOT, \"Success. The subscription filter [%s] was added for the CloudWatch log group [%s].\",\n request.filterName(), request.logGroupName());\n return CreateLogSubscriptionResponse.create(explanation);\n } catch (RetryException e) {\n throw new RuntimeException(String.format(Locale.ROOT, \"Failed to create the CloudWatch subscription after [%d] attempts. Exception [%s]\",\n e.getNumberOfFailedAttempts(), e.getCause()), e.getCause()); // e.getCause() returns the actual AWS exception to the UI.\n }\n } catch (Exception e) {\n final String specificError = ExceptionUtils.formatMessageCause(e);\n final String responseMessage = String.format(Locale.ROOT, \"Attempt to add subscription [%s] to Cloudwatch log group \" +\n \"[%s] failed due to the following exception: [%s]\",\n request.filterName(),\n request.logGroupName(), specificError);\n LOG.error(responseMessage);\n throw new BadRequestException(responseMessage, e);\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/49f65eb69d22a56d30b66ca60140448ec56de14b.json b/web/public/bundles/graylog/code/49f65eb69d22a56d30b66ca60140448ec56de14b.json new file mode 100644 index 00000000..68731d80 --- /dev/null +++ b/web/public/bundles/graylog/code/49f65eb69d22a56d30b66ca60140448ec56de14b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "49f65eb69d22a56d30b66ca60140448ec56de14b", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/system/processing/DBProcessingStatusService.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.system.processing;\n\nimport com.github.joschi.jadconfig.util.Duration;\nimport com.google.common.annotations.VisibleForTesting;\nimport com.google.common.collect.ImmutableList;\nimport com.mongodb.MongoException;\nimport com.mongodb.client.model.Filters;\nimport com.mongodb.client.model.FindOneAndReplaceOptions;\nimport com.mongodb.client.model.IndexOptions;\nimport com.mongodb.client.model.Indexes;\nimport com.mongodb.client.model.ReturnDocument;\nimport com.mongodb.client.model.Sorts;\nimport jakarta.inject.Inject;\nimport jakarta.inject.Named;\nimport org.bson.conversions.Bson;\nimport org.graylog.scheduler.clock.JobSchedulerClock;\nimport org.graylog2.database.MongoCollection;\nimport org.graylog2.database.MongoCollections;\nimport org.graylog2.plugin.BaseConfiguration;\nimport org.graylog2.plugin.indexer.searches.timeranges.TimeRange;\nimport org.graylog2.plugin.system.NodeId;\nimport org.joda.time.DateTime;\nimport org.joda.time.DateTimeZone;\n\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.Optional;\n\nimport static com.mongodb.client.model.Filters.eq;\nimport static com.mongodb.client.model.Indexes.ascending;\nimport static org.graylog2.system.processing.ProcessingStatusDto.FIELD_UPDATED_AT;\n\n/**\n * Manages the database collection for processing status.\n */\npublic class DBProcessingStatusService {\n public static final String COLLECTION_NAME = \"processing_status\";\n private static final String FIELD_WRITTEN_MESSAGES_1M = ProcessingStatusDto.FIELD_INPUT_JOURNAL + \".\" + ProcessingStatusDto.JournalInfo.FIELD_WRITTEN_MESSAGES_1M_RATE;\n private static final String FIELD_UNCOMMITTED_ENTRIES = ProcessingStatusDto.FIELD_INPUT_JOURNAL + \".\" + ProcessingStatusDto.JournalInfo.FIELD_UNCOMMITTED_ENTRIES;\n\n private final String nodeId;\n private final JobSchedulerClock clock;\n private final Duration updateThreshold;\n private final BaseConfiguration baseConfiguration;\n private final MongoCollection collection;\n\n @Inject\n public DBProcessingStatusService(MongoCollections mongoCollections,\n NodeId nodeId,\n JobSchedulerClock clock,\n @Named(ProcessingStatusConfig.UPDATE_THRESHOLD) Duration updateThreshold,\n @Named(ProcessingStatusConfig.JOURNAL_WRITE_RATE_THRESHOLD) int journalWriteRateThreshold,\n BaseConfiguration baseConfiguration) {\n this.nodeId = nodeId.getNodeId();\n this.clock = clock;\n this.updateThreshold = updateThreshold;\n this.baseConfiguration = baseConfiguration;\n this.collection = mongoCollections.collection(COLLECTION_NAME, ProcessingStatusDto.class);\n\n collection.createIndex(ascending(ProcessingStatusDto.FIELD_NODE_ID), new IndexOptions().unique(true));\n\n // Remove the old (3.1.0) index before creating the new one. This is needed, because mongodb >= 4.2 won't allow\n // the creation of identical indices with a different name. We don't use a migration,\n // because it can race with the code below that creates the same index with a shorter name.\n // TODO remove this in a future release (maybe at 3.5)\n final String OLD_INDEX_NAME = \"updated_at_1_input_journal.uncommitted_entries_1_input_journal.written_messages_1m_rate_1\";\n try {\n if (collection.listIndexes().into(new ArrayList<>()).stream().anyMatch(dbo -> dbo.get(\"name\").equals(OLD_INDEX_NAME))) {\n collection.dropIndex(OLD_INDEX_NAME);\n }\n } catch (MongoException ignored) {\n // index was either never created or already deleted\n }\n\n // Use a custom index name to avoid the automatically generated index name which will be pretty long and\n // might cause errors due to the 127 character index name limit. (e.g. when using a long database name)\n // See: https://github.com/Graylog2/graylog2-server/issues/6322\n collection.createIndex(\n Indexes.compoundIndex(\n ascending(FIELD_UPDATED_AT),\n ascending(FIELD_UNCOMMITTED_ENTRIES),\n ascending(FIELD_WRITTEN_MESSAGES_1M)),\n new IndexOptions().name(\"compound_0\")\n );\n }\n\n /**\n * Returns all existing processing status entries from the database.\n *\n * @return a list of all processing status entries\n */\n public List all() {\n return ImmutableList.copyOf(collection.find().sort(Sorts.ascending(\"_id\")));\n }\n\n /**\n * Returns the processing status entry for the calling node.\n *\n * @return the processing status entry or an empty optional if none exists\n */\n public Optional get() {\n return Optional.ofNullable(collection.find(eq(ProcessingStatusDto.FIELD_NODE_ID, nodeId)).first());\n }\n\n /**\n * Create or update (upsert) a processing status entry for the given {@link ProcessingStatusRecorder} using the\n * caller's node ID.\n *\n * @param processingStatusRecorder the processing recorder object to create/update\n * @return the created/updated entry\n */\n public ProcessingStatusDto save(ProcessingStatusRecorder processingStatusRecorder) {\n return save(processingStatusRecorder, DateTime.now(DateTimeZone.UTC));\n }\n\n @VisibleForTesting\n ProcessingStatusDto save(ProcessingStatusRecorder processingStatusRecorder, DateTime updatedAt) {\n // TODO: Using a timestamp provided by the node for \"updated_at\" can be bad if the node clock is skewed.\n // Ideally we would use MongoDB's \"$currentDate\" but there doesn't seem to be a way to use that\n // with mongojack.\n return collection.findOneAndReplace(\n eq(ProcessingStatusDto.FIELD_NODE_ID, nodeId),\n ProcessingStatusDto.of(nodeId, processingStatusRecorder, updatedAt, baseConfiguration.isMessageJournalEnabled()),\n new FindOneAndReplaceOptions().returnDocument(ReturnDocument.AFTER).upsert(true));\n }\n\n /**\n * Calculates the processing state of all active Graylog nodes in the cluster.\n * This can be used to find out if a certain timerange is already searchable in Elastic / OpenSearch.\n *

\n * Beware: This only takes the message receive time into account. It doesn't help when log sources send their\n * messages late.\n *\n * @return A combined state of all processing nodes in this cluster. See {@link ProcessingNodesState}\n */\n public ProcessingNodesState calculateProcessingState(TimeRange timeRange) {\n final DateTime updateThresholdTimestamp = clock.nowUTC().minus(updateThreshold.toMilliseconds());\n\n try (final var statusCursor = collection.find(activeNodes(updateThresholdTimestamp)).iterator()) {\n if (!statusCursor.hasNext()) {\n return ProcessingNodesState.NONE_ACTIVE;\n }\n\n int activeNodes = 0;\n int idleNodes = 0;\n while (statusCursor.hasNext()) {\n activeNodes++;\n ProcessingStatusDto nodeProcessingStatus = statusCursor.next();\n DateTime lastIndexedMessage = nodeProcessingStatus.receiveTimes().postIndexing();\n // If node is behind and is busy, it is overloaded.\n if (lastIndexedMessage.isBefore(timeRange.getTo()) && isBusy(nodeProcessingStatus)) {\n return ProcessingNodesState.SOME_OVERLOADED;\n }\n // If a node did not index a message that is at least at the start of the time range,\n // we consider it idle.\n if (lastIndexedMessage.isBefore(timeRange.getFrom())) {\n idleNodes++;\n }\n }\n\n // Only if all nodes are idle, we stop the processing.\n if (activeNodes == idleNodes) {\n return ProcessingNodesState.ALL_IDLE;\n }\n }\n\n // If none of the above checks return, we can assume that some nodes have already indexed the given timerange.\n return ProcessingNodesState.SOME_UP_TO_DATE;\n }\n\n private boolean isBusy(ProcessingStatusDto nodeProcessingStatus) {\n return nodeProcessingStatus.inputJournal().uncommittedEntries() > 0L || nodeProcessingStatus.processBufferUsage() > 0;\n }\n\n private Bson activeNodes(DateTime updateThresholdTimestamp) {\n return Filters.gt(FIELD_UPDATED_AT, updateThresholdTimestamp);\n }\n\n public enum ProcessingNodesState {\n /**\n * No active nodes in this cluster found. Should never happen.\n */\n NONE_ACTIVE,\n /**\n * Cluster has active nodes, but none have been processing any messages for the given timerange\n */\n ALL_IDLE,\n /**\n * Some or all nodes in the cluster have processed the given timerange already.\n */\n SOME_UP_TO_DATE,\n /**\n * Some or all nodes of the cluster, are currently overloaded and have not processed the timerange yet.\n */\n SOME_OVERLOADED\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/4af0839b780aa36cba9c7832f2afd3b4f17cd451.json b/web/public/bundles/graylog/code/4af0839b780aa36cba9c7832f2afd3b4f17cd451.json new file mode 100644 index 00000000..407e0df8 --- /dev/null +++ b/web/public/bundles/graylog/code/4af0839b780aa36cba9c7832f2afd3b4f17cd451.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "4af0839b780aa36cba9c7832f2afd3b4f17cd451", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/users/responses/UserSummary.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.models.users.responses;\n\nimport com.fasterxml.jackson.annotation.JsonAutoDetect;\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.jackson.databind.annotation.JsonSerialize;\nimport com.fasterxml.jackson.databind.ser.std.ToStringSerializer;\nimport com.google.auto.value.AutoValue;\nimport jakarta.validation.constraints.NotBlank;\nimport org.apache.shiro.authz.permission.WildcardPermission;\nimport org.graylog.security.permissions.GRNPermission;\nimport org.graylog2.plugin.database.users.User;\nimport org.graylog2.rest.models.users.requests.Startpage;\n\nimport javax.annotation.Nullable;\nimport java.util.Date;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Set;\n\n@JsonAutoDetect\n@AutoValue\npublic abstract class UserSummary implements BasicUserFields {\n\n @JsonProperty(\"email\")\n public abstract String email();\n\n @JsonProperty(\"first_name\")\n @Nullable\n public abstract String firstName();\n\n @JsonProperty(\"last_name\")\n @Nullable\n public abstract String lastName();\n\n @JsonProperty(\"permissions\")\n @JsonSerialize(contentUsing = ToStringSerializer.class)\n public abstract List permissions();\n\n @JsonProperty(\"grn_permissions\")\n public abstract List grnPermissions();\n\n @JsonProperty(\"preferences\")\n @Nullable\n public abstract Map preferences();\n\n @JsonProperty(\"timezone\")\n @Nullable\n public abstract String timezone();\n\n @JsonProperty(\"session_timeout_ms\")\n @Nullable\n public abstract Long sessionTimeoutMs();\n\n @JsonProperty(\"external\")\n public abstract boolean external();\n\n @JsonProperty(\"startpage\")\n @Nullable\n public abstract Startpage startpage();\n\n @JsonProperty(\"roles\")\n @Nullable\n public abstract Set roles();\n\n @JsonProperty(\"session_active\")\n public abstract boolean sessionActive();\n\n @JsonProperty(\"last_activity\")\n @Nullable\n public abstract Date lastActivity();\n\n @JsonProperty(\"client_address\")\n @Nullable\n public abstract String clientAddress();\n\n @JsonProperty(\"account_status\")\n public abstract User.AccountStatus accountStatus();\n\n @JsonProperty(\"auth_service_enabled\")\n public abstract boolean authServiceEnabled();\n\n @JsonCreator\n public static UserSummary create(@JsonProperty(\"id\") @NotBlank String id,\n @JsonProperty(\"username\") String username,\n @JsonProperty(\"email\") String email,\n @JsonProperty(\"first_name\") @Nullable String firstName,\n @JsonProperty(\"last_name\") @Nullable String lastName,\n @JsonProperty(\"full_name\") @Nullable String fullName,\n @JsonProperty(\"permissions\") @Nullable List permissions,\n @JsonProperty(\"grn_permissions\") @Nullable List grnPermissions,\n @JsonProperty(\"preferences\") @Nullable Map preferences,\n @JsonProperty(\"timezone\") @Nullable String timezone,\n @JsonProperty(\"session_timeout_ms\") @Nullable Long sessionTimeoutMs,\n @JsonProperty(\"read_only\") boolean readOnly,\n @JsonProperty(\"external\") boolean external,\n @JsonProperty(\"startpage\") @Nullable Startpage startpage,\n @JsonProperty(\"roles\") @Nullable Set roles,\n @JsonProperty(\"session_active\") boolean sessionActive,\n @JsonProperty(\"last_activity\") @Nullable Date lastActivity,\n @JsonProperty(\"client_address\") @Nullable String clientAddress,\n @JsonProperty(\"account_status\") User.AccountStatus accountStatus,\n @JsonProperty(\"service_account\") Boolean isServiceAccount,\n @JsonProperty(\"auth_service_enabled\") boolean authServiceEnabled) {\n return new AutoValue_UserSummary(id,\n username,\n fullName,\n readOnly,\n (isServiceAccount != null && isServiceAccount),\n email,\n firstName,\n lastName,\n permissions,\n grnPermissions,\n preferences,\n timezone,\n sessionTimeoutMs,\n external,\n startpage,\n roles,\n sessionActive,\n lastActivity,\n clientAddress,\n accountStatus,\n authServiceEnabled);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/4b3cb0a1e98390ea82b58c7c2a434a810203df79.json b/web/public/bundles/graylog/code/4b3cb0a1e98390ea82b58c7c2a434a810203df79.json new file mode 100644 index 00000000..e15197ff --- /dev/null +++ b/web/public/bundles/graylog/code/4b3cb0a1e98390ea82b58c7c2a434a810203df79.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "4b3cb0a1e98390ea82b58c7c2a434a810203df79", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/cluster/db/TelemetryClusterInfoDto.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.telemetry.cluster.db;\n\nimport com.fasterxml.jackson.annotation.JsonAutoDetect;\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonIgnore;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.jackson.databind.annotation.JsonDeserialize;\nimport com.google.auto.value.AutoValue;\nimport org.graylog2.database.MongoEntity;\nimport org.joda.time.DateTime;\nimport org.mongojack.Id;\nimport org.mongojack.ObjectId;\n\nimport javax.annotation.Nullable;\n\n@AutoValue\n@JsonAutoDetect\n@JsonDeserialize(builder = TelemetryClusterInfoDto.Builder.class)\npublic abstract class TelemetryClusterInfoDto implements MongoEntity {\n public static final String FIELD_ID = \"_id\";\n public static final String FIELD_NODE_ID = \"node_id\";\n public static final String FIELD_CLUSTER_ID = \"cluster_id\";\n public static final String FIELD_CODENAME = \"codename\";\n public static final String FIELD_FACILITY = \"facility\";\n public static final String FIELD_HOSTNAME = \"hostname\";\n public static final String FIELD_IS_LEADER = \"is_leader\";\n public static final String FIELD_IS_PROCESSING = \"is_processing\";\n public static final String FIELD_LB_STATUS = \"lb_status\";\n public static final String FIELD_LIFECYCLE = \"lifecycle\";\n public static final String FIELD_OPERATING_SYSTEM = \"operating_system\";\n public static final String FIELD_STARTED_AT = \"started_at\";\n public static final String FIELD_TIMEZONE = \"timezone\";\n public static final String FIELD_UPDATED_AT = \"updated_at\";\n public static final String FIELD_VERSION = \"version\";\n public static final String FIELD_JVM_HEAP_USED = \"jvm_heap_used\";\n public static final String FIELD_JVM_HEAP_COMMITTED = \"jvm_heap_committed\";\n public static final String FIELD_JVM_HEAP_MAX = \"jvm_heap_max\";\n public static final String FIELD_MEMORY_TOTAL = \"memory_total\";\n public static final String FIELD_CPU_CORES = \"cpu_cores\";\n\n @Id\n @ObjectId\n @Nullable\n @JsonIgnore\n public abstract String id();\n\n @JsonProperty(FIELD_NODE_ID)\n public abstract String nodeId();\n\n @JsonProperty(FIELD_CLUSTER_ID)\n public abstract String clusterId();\n\n @JsonProperty(FIELD_CODENAME)\n public abstract String codename();\n\n @JsonProperty(FIELD_FACILITY)\n public abstract String facility();\n\n @JsonProperty(FIELD_HOSTNAME)\n public abstract String hostname();\n\n @JsonProperty(FIELD_IS_LEADER)\n public abstract Boolean isLeader();\n\n @JsonProperty(FIELD_IS_PROCESSING)\n public abstract Boolean isProcessing();\n\n @JsonProperty(FIELD_LB_STATUS)\n public abstract String lbStatus();\n\n @JsonProperty(FIELD_LIFECYCLE)\n public abstract String lifecycle();\n\n @JsonProperty(FIELD_OPERATING_SYSTEM)\n public abstract String operatingSystem();\n\n @JsonProperty(FIELD_STARTED_AT)\n public abstract DateTime startedAt();\n\n @JsonProperty(FIELD_TIMEZONE)\n public abstract String timezone();\n\n @JsonProperty(FIELD_JVM_HEAP_USED)\n @Nullable\n public abstract Long jvmHeapUsed();\n\n @JsonProperty(FIELD_JVM_HEAP_COMMITTED)\n @Nullable\n public abstract Long jvmHeapCommitted();\n\n @JsonProperty(FIELD_JVM_HEAP_MAX)\n @Nullable\n public abstract Long jvmHeapMax();\n\n @JsonProperty(FIELD_MEMORY_TOTAL)\n @Nullable\n public abstract Long memoryTotal();\n\n @JsonProperty(FIELD_CPU_CORES)\n @Nullable\n public abstract Integer cpuCores();\n\n @JsonIgnore\n @Nullable\n public abstract DateTime updatedAt();\n\n @JsonProperty(FIELD_VERSION)\n public abstract String version();\n\n public abstract Builder toBuilder();\n\n public static Builder builder() {\n return Builder.create();\n }\n\n @AutoValue.Builder\n public abstract static class Builder {\n @JsonCreator\n public static Builder create() {\n return new AutoValue_TelemetryClusterInfoDto.Builder();\n }\n\n @Id\n @ObjectId\n @JsonProperty(FIELD_ID)\n public abstract Builder id(String id);\n\n @JsonProperty(FIELD_NODE_ID)\n public abstract Builder nodeId(String nodeId);\n\n @JsonProperty(FIELD_CLUSTER_ID)\n public abstract Builder clusterId(String clusterId);\n\n @JsonProperty(FIELD_CODENAME)\n public abstract Builder codename(String codename);\n\n @JsonProperty(FIELD_FACILITY)\n public abstract Builder facility(String facility);\n\n @JsonProperty(FIELD_HOSTNAME)\n public abstract Builder hostname(String hostname);\n\n @JsonProperty(FIELD_IS_LEADER)\n public abstract Builder isLeader(Boolean isLeader);\n\n @JsonProperty(FIELD_IS_PROCESSING)\n public abstract Builder isProcessing(Boolean isProcessing);\n\n @JsonProperty(FIELD_LB_STATUS)\n public abstract Builder lbStatus(String lbStatus);\n\n @JsonProperty(FIELD_LIFECYCLE)\n public abstract Builder lifecycle(String lifecycle);\n\n @JsonProperty(FIELD_OPERATING_SYSTEM)\n public abstract Builder operatingSystem(String operatingSystem);\n\n @JsonProperty(FIELD_STARTED_AT)\n public abstract Builder startedAt(DateTime startedAt);\n\n @JsonProperty(FIELD_TIMEZONE)\n public abstract Builder timezone(String timezone);\n\n @JsonProperty(FIELD_UPDATED_AT)\n public abstract Builder updatedAt(DateTime updatedAt);\n\n @JsonProperty(FIELD_VERSION)\n public abstract Builder version(String version);\n\n @JsonProperty(FIELD_JVM_HEAP_USED)\n public abstract Builder jvmHeapUsed(Long jvmHeapUsed);\n\n @JsonProperty(FIELD_JVM_HEAP_COMMITTED)\n public abstract Builder jvmHeapCommitted(Long jvmHeapCommitted);\n\n @JsonProperty(FIELD_JVM_HEAP_MAX)\n public abstract Builder jvmHeapMax(Long jvmHeapMax);\n\n @JsonProperty(FIELD_MEMORY_TOTAL)\n public abstract Builder memoryTotal(Long memoryTotal);\n\n @JsonProperty(FIELD_CPU_CORES)\n public abstract Builder cpuCores(Integer cpuCores);\n\n public abstract TelemetryClusterInfoDto build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/4bb50719840bb8d4f7e12f5ab00c01f3a78a8e8e.json b/web/public/bundles/graylog/code/4bb50719840bb8d4f7e12f5ab00c01f3a78a8e8e.json new file mode 100644 index 00000000..71bcff2e --- /dev/null +++ b/web/public/bundles/graylog/code/4bb50719840bb8d4f7e12f5ab00c01f3a78a8e8e.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "4bb50719840bb8d4f7e12f5ab00c01f3a78a8e8e", + "language": "typescript", + "path": "graylog2-web-interface/src/threatintel/components/adapters/abusech/AbuseChRansomAdapterSummary.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\n\nimport { TimeUnit } from 'components/common';\nimport { Alert } from 'components/bootstrap';\n\nconst BLOCKLIST_TYPE = {\n DOMAINS: 'Domain blocklist',\n URLS: 'URL blocklist',\n IPS: 'IP blocklist',\n};\n\ntype Props = {\n dataAdapter: any;\n};\n\nconst AbuseChRansomAdapterSummary = ({ dataAdapter: { config } }: Props) => (\n

\n
\n
Blocklist type
\n
{BLOCKLIST_TYPE[config.blocklist_type]}
\n
Update interval
\n
\n \n
\n
\n \n

The abuse.ch Ransomware Tracker was shut down on 2019-12-08. This Data Adapter should not be used.

\n
\n
\n);\n\nexport default AbuseChRansomAdapterSummary;\n" +} diff --git a/web/public/bundles/graylog/code/4c90c8189603c0f17785a467223e80acbb9ae247.json b/web/public/bundles/graylog/code/4c90c8189603c0f17785a467223e80acbb9ae247.json new file mode 100644 index 00000000..80cccf08 --- /dev/null +++ b/web/public/bundles/graylog/code/4c90c8189603c0f17785a467223e80acbb9ae247.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "4c90c8189603c0f17785a467223e80acbb9ae247", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/security/realm/RootAccountRealm.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.security.realm;\n\nimport jakarta.inject.Inject;\nimport jakarta.inject.Named;\nimport org.apache.shiro.authc.AuthenticationException;\nimport org.apache.shiro.authc.AuthenticationInfo;\nimport org.apache.shiro.authc.AuthenticationToken;\nimport org.apache.shiro.authc.SimpleAccount;\nimport org.apache.shiro.authc.credential.HashedCredentialsMatcher;\nimport org.apache.shiro.authz.Permission;\nimport org.apache.shiro.authz.permission.AllPermission;\nimport org.apache.shiro.authz.permission.WildcardPermissionResolver;\nimport org.apache.shiro.realm.SimpleAccountRealm;\nimport org.apache.shiro.subject.ImmutablePrincipalCollection;\nimport org.apache.shiro.util.CollectionUtils;\nimport org.graylog2.users.UserImpl;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\npublic class RootAccountRealm extends SimpleAccountRealm {\n private static final Logger LOG = LoggerFactory.getLogger(RootAccountRealm.class);\n public static final String NAME = \"root-user\";\n\n @Inject\n RootAccountRealm(@Named(\"root_username\") String rootUsername,\n @Named(\"root_password_sha2\") String rootPasswordSha2) {\n setCachingEnabled(false);\n setCredentialsMatcher(new HashedCredentialsMatcher(\"SHA-256\"));\n setName(\"root-account-realm\");\n // Use case sensitive permission resolver\n setPermissionResolver(new WildcardPermissionResolver(true));\n\n addRootAccount(rootUsername, rootPasswordSha2);\n }\n\n private void addRootAccount(String username, String password) {\n LOG.debug(\"Adding root account named {}, having all permissions\", username);\n add(new SimpleAccount(\n username,\n password,\n getName(),\n CollectionUtils.asSet(\"root\"),\n CollectionUtils.asSet(new AllPermission())\n ));\n }\n\n @Override\n protected AuthenticationInfo doGetAuthenticationInfo(AuthenticationToken token) throws AuthenticationException {\n final AuthenticationInfo authenticationInfo = super.doGetAuthenticationInfo(token);\n // After successful authentication, exchange the principals to unique admin userId\n if (authenticationInfo instanceof final SimpleAccount account) {\n account.setPrincipals(ImmutablePrincipalCollection.ofSinglePrincipal(UserImpl.LocalAdminUser.LOCAL_ADMIN_ID, NAME));\n return account;\n }\n return null;\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/4d0ed0c9862006976d18f8151a1fcbb847103485.json b/web/public/bundles/graylog/code/4d0ed0c9862006976d18f8151a1fcbb847103485.json new file mode 100644 index 00000000..24b14169 --- /dev/null +++ b/web/public/bundles/graylog/code/4d0ed0c9862006976d18f8151a1fcbb847103485.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "4d0ed0c9862006976d18f8151a1fcbb847103485", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/security/shares/DefaultGranteeService.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.security.shares;\n\nimport com.google.common.collect.ImmutableSet;\nimport jakarta.inject.Inject;\nimport org.graylog.grn.GRN;\nimport org.graylog.grn.GRNRegistry;\nimport org.graylog.security.GranteeAuthorizer;\nimport org.graylog2.plugin.cluster.ClusterConfigService;\nimport org.graylog2.plugin.database.users.User;\nimport org.graylog2.shared.security.RestPermissions;\nimport org.graylog2.shared.users.UserService;\nimport org.graylog2.users.UserAndTeamsConfig;\n\nimport java.util.Collections;\nimport java.util.Optional;\nimport java.util.Set;\n\npublic class DefaultGranteeService implements GranteeService {\n protected final UserService userService;\n protected final GRNRegistry grnRegistry;\n protected final GranteeAuthorizer.Factory granteeAuthorizerFactory;\n protected final ClusterConfigService clusterConfigService;\n\n @Inject\n public DefaultGranteeService(UserService userService,\n GRNRegistry grnRegistry,\n GranteeAuthorizer.Factory granteeAuthorizerFactory,\n ClusterConfigService clusterConfigService) {\n this.userService = userService;\n this.grnRegistry = grnRegistry;\n this.granteeAuthorizerFactory = granteeAuthorizerFactory;\n this.clusterConfigService = clusterConfigService;\n }\n\n @Override\n public ImmutableSet getAvailableGrantees(User sharingUser) {\n final ImmutableSet.Builder builder = ImmutableSet.builder()\n .addAll(getAvailableUserGrantees(sharingUser));\n\n getGlobalGrantee().ifPresent(builder::add);\n\n return builder.build();\n }\n\n @Override\n public ImmutableSet getModifiableGrantees(Set availableGrantees, ImmutableSet activeShares) {\n final UserAndTeamsConfig config = clusterConfigService.getOrDefault(UserAndTeamsConfig.class, UserAndTeamsConfig.DEFAULT_VALUES);\n return availableGrantees.stream()\n .filter(grantee -> isAllowedType(config, grantee) ||\n (activeShares != null && activeShares.stream()\n .anyMatch(activeShare -> activeShare.grantee().equals(grantee.grn()))))\n .collect(ImmutableSet.toImmutableSet());\n }\n\n protected boolean isAllowedType(UserAndTeamsConfig config, Grantee grantee) {\n final boolean permittedGlobal = config.sharingWithEveryone() && Grantee.GRANTEE_TYPE_GLOBAL.equals(grantee.type());\n final boolean permittedUser = config.sharingWithUsers() && Grantee.GRANTEE_TYPE_USER.equals(grantee.type());\n return permittedGlobal || permittedUser;\n }\n\n @Override\n public Set getGranteeAliases(GRN grantee) {\n return Collections.singleton(grantee);\n }\n\n @Override\n public Set getVisibleUsers(User requestingUser) {\n final GranteeAuthorizer userAuthorizer = granteeAuthorizerFactory.create(requestingUser);\n\n if (userAuthorizer.isPermitted(RestPermissions.USERS_LIST)) {\n return userService.loadAll().stream().collect(ImmutableSet.toImmutableSet());\n } else {\n return userService.loadAll().stream()\n .filter(u -> userAuthorizer.isPermitted(RestPermissions.USERS_READ, u.getName()))\n .collect(ImmutableSet.toImmutableSet());\n }\n }\n\n private ImmutableSet getAvailableUserGrantees(User sharingUser) {\n return getVisibleUsers(sharingUser).stream()\n // Don't return the sharing user in available grantees until we want to support that sharing users\n // can remove themselves from an entity.\n .filter(user -> !sharingUser.getId().equals(user.getId()))\n .map(user -> Grantee.createUser(\n grnRegistry.ofUser(user),\n user.getFullName()\n ))\n .collect(ImmutableSet.toImmutableSet());\n }\n\n private Optional getGlobalGrantee() {\n return Optional.of(Grantee.createGlobal());\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/4d18d4530e1c1061c286005f5383bb37e9664e82.json b/web/public/bundles/graylog/code/4d18d4530e1c1061c286005f5383bb37e9664e82.json new file mode 100644 index 00000000..63bb86de --- /dev/null +++ b/web/public/bundles/graylog/code/4d18d4530e1c1061c286005f5383bb37e9664e82.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "4d18d4530e1c1061c286005f5383bb37e9664e82", + "language": "typescript", + "path": "graylog2-web-interface/src/preflight/theme/PreflightThemeProvider.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React, { useMemo, useState } from 'react';\nimport { ThemeProvider } from 'styled-components';\nimport { MantineProvider } from '@mantine/core';\n\nimport type { ColorScheme } from 'theme/sawmill';\nimport SawmillSC from 'theme/sawmill/styled-components/Sawmill';\nimport type { MantineTheme } from 'theme/sawmill/mantine/Sawmill';\nimport SawmillMantine from 'theme/sawmill/mantine/Sawmill';\n\nimport { DEFAULT_THEME_MODE } from './constants';\n\ntype Props = {\n children: React.ReactNode;\n};\n\nconst useSCTheme = (setColorScheme: (newColorScheme: ColorScheme) => void, mantineTheme: MantineTheme) =>\n useMemo(() => {\n const theme = SawmillSC(mantineTheme);\n\n const onChangeColorScheme = (nextMode: ColorScheme) => {\n setColorScheme(nextMode);\n };\n\n return {\n ...theme,\n changeMode: onChangeColorScheme,\n };\n }, [mantineTheme, setColorScheme]);\n\nconst PreflightThemeProvider = ({ children }: Props) => {\n const [colorScheme, setColorScheme] = useState(DEFAULT_THEME_MODE);\n const mantineTheme = useMemo(() => SawmillMantine({ colorScheme }), [colorScheme]);\n const scTheme = useSCTheme(setColorScheme, mantineTheme);\n\n return (\n \n {children}\n \n );\n};\n\nexport default PreflightThemeProvider;\n" +} diff --git a/web/public/bundles/graylog/code/4d25ec5c9724e51162af333bfee898c07ec1e11b.json b/web/public/bundles/graylog/code/4d25ec5c9724e51162af333bfee898c07ec1e11b.json new file mode 100644 index 00000000..c115051e --- /dev/null +++ b/web/public/bundles/graylog/code/4d25ec5c9724e51162af333bfee898c07ec1e11b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "4d25ec5c9724e51162af333bfee898c07ec1e11b", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CertutilCsrSign.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.security.certutil;\n\nimport com.github.rvesse.airline.annotations.Command;\nimport com.github.rvesse.airline.annotations.Option;\nimport org.bouncycastle.openssl.jcajce.JcaPEMWriter;\nimport org.graylog.security.certutil.console.CommandLineConsole;\nimport org.graylog.security.certutil.console.SystemConsole;\nimport org.graylog.security.certutil.csr.CsrSigner;\nimport org.graylog.security.certutil.csr.storage.CsrFileStorage;\nimport org.graylog.security.certutil.csr.storage.CsrStorage;\nimport org.graylog2.bootstrap.CliCommand;\n\nimport java.io.FileInputStream;\nimport java.io.FileWriter;\nimport java.io.IOException;\nimport java.nio.charset.StandardCharsets;\nimport java.nio.file.Path;\nimport java.security.KeyStore;\nimport java.security.KeyStoreException;\nimport java.security.NoSuchAlgorithmException;\nimport java.security.PrivateKey;\nimport java.security.UnrecoverableKeyException;\nimport java.security.cert.CertificateException;\nimport java.security.cert.X509Certificate;\n\nimport static org.graylog.security.certutil.CertConstants.CA_KEY_ALIAS;\nimport static org.graylog.security.certutil.CertConstants.PKCS12;\n\n\n@Command(name = \"csrsign\", description = \"Signs a CSR using the given CA\", groupNames = {\"certutil\"})\npublic class CertutilCsrSign implements CliCommand {\n @Option(name = \"--ca\", description = \"Filename for the CA keystore\")\n protected String caKeystoreFilename = \"datanode-ca.p12\";\n\n @Option(name = \"--csrFile\", description = \"The CSR to sign\")\n protected String csrFilename = \"csr.csr\";\n\n @Option(name = \"--certFile\", description = \"Filename for the signed certificate\")\n protected String certFilename = \"datanode-cert.p12\";\n\n private final CommandLineConsole console;\n\n private final CsrStorage csrStorage;\n\n public static final CommandLineConsole.Prompt PROMPT_ENTER_CA_PASSWORD = CommandLineConsole.prompt(\"Enter CA password: \");\n public static final CommandLineConsole.Prompt PROMPT_ENTER_CERTIFICATE_VALIDITY_IN_DAYS = CommandLineConsole.prompt(\"Enter certificate validity in days: \");\n\n public CertutilCsrSign() {\n this.console = new SystemConsole();\n this.csrStorage = new CsrFileStorage(csrFilename);\n }\n\n public CertutilCsrSign(String caKeystoreFilename, String csrFilename, String certFilename, CommandLineConsole console) {\n this.caKeystoreFilename = caKeystoreFilename;\n this.certFilename = certFilename;\n this.csrStorage = new CsrFileStorage(csrFilename);\n this.console = console;\n }\n\n @Override\n public void run() {\n console.printLine(\"This tool will generate a data-node certificate for HTTP communication (REST API)\");\n\n // we'll use our own generated CA\n console.printLine(\"Generating a HTTP certificate signed by the datanode CA\");\n\n final Path caKeystorePath = Path.of(caKeystoreFilename);\n console.printLine(\"Using certificate authority \" + caKeystorePath.toAbsolutePath());\n\n try {\n char[] password = console.readPassword(PROMPT_ENTER_CA_PASSWORD);\n KeyStore caKeystore = KeyStore.getInstance(PKCS12);\n try (FileInputStream fis = new FileInputStream(caKeystoreFilename)) {\n caKeystore.load(fis, password);\n }\n\n final PrivateKey caPrivateKey = (PrivateKey) caKeystore.getKey(CA_KEY_ALIAS, password);\n final X509Certificate caCertificate = (X509Certificate) caKeystore.getCertificate(CA_KEY_ALIAS);\n final var csr = csrStorage.readCsr();\n final int validityDays = console.readInt(PROMPT_ENTER_CERTIFICATE_VALIDITY_IN_DAYS);\n\n final var cert = new CsrSigner().sign(caPrivateKey, caCertificate, csr, validityDays);\n\n final Path certPath = Path.of(certFilename);\n writePem(certPath, cert);\n\n console.printLine(\"Certificate written to file \" + certPath.toAbsolutePath());\n\n // TODO: provide good user-friendly error message for each exception type!\n } catch (Exception e) {\n throw new RuntimeException(e);\n }\n\n }\n\n private static void writePem(Path path, Object object) throws IOException {\n try (JcaPEMWriter pemWriter = new JcaPEMWriter(\n new FileWriter(path.toFile(), StandardCharsets.UTF_8))) {\n pemWriter.writeObject(object);\n pemWriter.flush();\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/5139ee5ea0dcf0428d3666dbfa3468869f8503d6.json b/web/public/bundles/graylog/code/5139ee5ea0dcf0428d3666dbfa3468869f8503d6.json new file mode 100644 index 00000000..54c82b00 --- /dev/null +++ b/web/public/bundles/graylog/code/5139ee5ea0dcf0428d3666dbfa3468869f8503d6.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "5139ee5ea0dcf0428d3666dbfa3468869f8503d6", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/security/authzroles/AuthzRoleDTO.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.security.authzroles;\n\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.jackson.databind.annotation.JsonDeserialize;\nimport com.google.auto.value.AutoValue;\nimport org.graylog2.database.MongoEntity;\nimport org.graylog2.shared.users.Role;\nimport org.graylog2.users.RoleImpl;\nimport org.mongojack.Id;\nimport org.mongojack.ObjectId;\n\nimport javax.annotation.Nullable;\nimport java.util.Set;\n\n@AutoValue\n@JsonDeserialize(builder = AuthzRoleDTO.Builder.class)\npublic abstract class AuthzRoleDTO implements MongoEntity {\n\n public static final String FIELD_ID = \"id\";\n public static final String FIELD_NAME = \"name\";\n public static final String FIELD_DESCRIPTION = \"description\";\n private static final String FIELD_PERMISSIONS = \"permissions\";\n private static final String FIELD_READ_ONLY = \"read_only\";\n\n @Id\n @ObjectId\n @Nullable\n @JsonProperty(FIELD_ID)\n public abstract String id();\n\n @JsonProperty(FIELD_NAME)\n public abstract String name();\n\n @JsonProperty(FIELD_DESCRIPTION)\n @Nullable\n public abstract String description();\n\n @JsonProperty(FIELD_PERMISSIONS)\n public abstract Set permissions();\n\n @JsonProperty(FIELD_READ_ONLY)\n public abstract boolean readOnly();\n\n public Role toLegacyRole() {\n final RoleImpl legacyRole = new RoleImpl();\n legacyRole._id = id();\n legacyRole.setName(name());\n legacyRole.setDescription(description());\n legacyRole.setPermissions(permissions());\n legacyRole.setReadOnly(readOnly());\n return legacyRole;\n }\n\n public static Builder builder() {\n return Builder.create();\n }\n\n public abstract Builder toBuilder();\n\n @AutoValue.Builder\n @JsonIgnoreProperties({\"name_lower\"})\n public static abstract class Builder {\n\n @JsonCreator\n public static Builder create() {\n return new AutoValue_AuthzRoleDTO.Builder();\n }\n\n @Id\n @ObjectId\n @JsonProperty(FIELD_ID)\n public abstract Builder id(String id);\n\n @JsonProperty(FIELD_NAME)\n public abstract Builder name(String name);\n\n @JsonProperty(FIELD_DESCRIPTION)\n public abstract Builder description(@Nullable String description);\n\n @JsonProperty(FIELD_PERMISSIONS)\n public abstract Builder permissions(Set permissions);\n\n @JsonProperty(FIELD_READ_ONLY)\n public abstract Builder readOnly(boolean readOnly);\n\n public abstract AuthzRoleDTO build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/513ad96e94525b6b627b2ac45fc104851d1f2f04.json b/web/public/bundles/graylog/code/513ad96e94525b6b627b2ac45fc104851d1f2f04.json new file mode 100644 index 00000000..02380bd7 --- /dev/null +++ b/web/public/bundles/graylog/code/513ad96e94525b6b627b2ac45fc104851d1f2f04.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "513ad96e94525b6b627b2ac45fc104851d1f2f04", + "language": "typescript", + "path": "graylog2-web-interface/src/views/components/searchbar/saved-search/SavedSearchForm.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport { useCallback, useState } from 'react';\nimport styled from 'styled-components';\nimport { useFormikContext } from 'formik';\n\nimport { ButtonToolbar, Button, ControlLabel, FormControl, FormGroup } from 'components/bootstrap';\nimport Popover from 'components/common/Popover';\nimport EntityCreateShareFormGroup from 'components/permissions/EntityCreateShareFormGroup';\nimport useSaveViewFormControls from 'views/hooks/useSaveViewFormControls';\nimport type { EntitySharePayload } from 'actions/permissions/EntityShareActions';\nimport type { GRN } from 'logic/permissions/types';\nimport Alert from 'components/bootstrap/Alert';\n\nimport styles from './SavedSearchForm.css';\n\ntype Props = React.PropsWithChildren<{\n show: boolean;\n saveSearch: (newTitle: string, entityShare?: EntitySharePayload) => void;\n saveAsSearch: (newTitle: string, entityShare?: EntitySharePayload) => void;\n toggleModal: () => void;\n isCreateNew: boolean;\n value: string;\n viewId?: string;\n selectedStreamGRN?: Array;\n}>;\n\nconst stopEvent = (e: React.FormEvent) => {\n e.preventDefault();\n e.stopPropagation();\n};\nconst StyledPopoverDropdown = styled(Popover.Dropdown)``;\n\nconst SavedSearchForm = ({\n children = undefined,\n show,\n isCreateNew,\n saveSearch,\n saveAsSearch,\n toggleModal,\n value,\n viewId = null,\n selectedStreamGRN = null,\n}: Props) => {\n const { dirty: formDirty } = useFormikContext();\n\n const [title, setTitle] = useState(value);\n const [sharePayload, setSharePayload] = useState(null);\n const onChangeTitle = useCallback(\n (e: React.FormEvent) => setTitle((e.target as HTMLInputElement).value),\n [],\n );\n\n const trimmedTitle = (title ?? '').trim();\n const disableSaveAs = trimmedTitle === '' || (!isCreateNew && trimmedTitle === value);\n const createNewTitle = isCreateNew ? 'Create new' : 'Save as';\n const createNewButtonTitle = isCreateNew ? 'Create new search' : 'Save as new search';\n const pluggableSaveViewControls = useSaveViewFormControls();\n const _saveSearch = useCallback(() => saveSearch(title, sharePayload), [saveSearch, title, sharePayload]);\n const _saveAsSearch = useCallback(() => saveAsSearch(title, sharePayload), [saveAsSearch, title, sharePayload]);\n\n return (\n \n {children}\n \n
\n {formDirty && (\n \n There are unconfirmed changes to the search parameters (time range, streams, or query). Saving now will\n discard them. If this is not intentional, execute the search to apply your changes before saving.{' '}\n \n )}\n \n Title\n \n \n {pluggableSaveViewControls?.map(\n ({ component: Component, id }) => Component && ,\n )}\n {!disableSaveAs && (\n setSharePayload(payload)}\n />\n )}\n \n {!isCreateNew && (\n \n Save\n \n )}\n \n {createNewTitle}\n \n \n \n \n
\n
\n );\n};\n\nexport default SavedSearchForm;\n" +} diff --git a/web/public/bundles/graylog/code/51e54528cd5dffed04f9020e0225a251a0d949b8.json b/web/public/bundles/graylog/code/51e54528cd5dffed04f9020e0225a251a0d949b8.json new file mode 100644 index 00000000..a4bbcb08 --- /dev/null +++ b/web/public/bundles/graylog/code/51e54528cd5dffed04f9020e0225a251a0d949b8.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "51e54528cd5dffed04f9020e0225a251a0d949b8", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/constraints/PluginVersionConstraintChecker.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.contentpacks.constraints;\n\nimport com.google.common.collect.ImmutableSet;\nimport com.vdurmont.semver4j.Requirement;\nimport com.vdurmont.semver4j.Semver;\nimport org.graylog2.contentpacks.model.constraints.Constraint;\nimport org.graylog2.contentpacks.model.constraints.ConstraintCheckResult;\nimport org.graylog2.contentpacks.model.constraints.PluginVersionConstraint;\nimport org.graylog2.plugin.PluginMetaData;\nimport org.graylog2.plugin.Version;\n\nimport jakarta.inject.Inject;\n\nimport java.util.Collection;\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\npublic class PluginVersionConstraintChecker implements ConstraintChecker {\n private final Set pluginVersions;\n\n @Inject\n public PluginVersionConstraintChecker(Set pluginMetaData) {\n pluginVersions = pluginMetaData.stream()\n .map(PluginMetaData::getVersion)\n .map(Version::toString)\n .map(Semver::new)\n .map(Semver::withClearedSuffixAndBuild)\n .collect(Collectors.toSet());\n }\n\n @Override\n public Set ensureConstraints(Collection requestedConstraints) {\n final ImmutableSet.Builder fulfilledConstraints = ImmutableSet.builder();\n for (Constraint constraint : requestedConstraints) {\n if (constraint instanceof PluginVersionConstraint) {\n final PluginVersionConstraint versionConstraint = (PluginVersionConstraint) constraint;\n final Requirement requiredVersion = versionConstraint.version();\n\n for (Semver pluginVersion : pluginVersions) {\n if (requiredVersion.isSatisfiedBy(pluginVersion)) {\n fulfilledConstraints.add(constraint);\n }\n }\n }\n }\n return fulfilledConstraints.build();\n }\n\n @Override\n public Set checkConstraints(Collection requestedConstraints) {\n final ImmutableSet.Builder fulfilledConstraints = ImmutableSet.builder();\n for (Constraint constraint : requestedConstraints) {\n if (constraint instanceof PluginVersionConstraint) {\n final PluginVersionConstraint versionConstraint = (PluginVersionConstraint) constraint;\n final Requirement requiredVersion = versionConstraint.version();\n\n boolean result = false;\n for (Semver pluginVersion : pluginVersions) {\n if (requiredVersion.isSatisfiedBy(pluginVersion)) {\n result = true;\n }\n }\n ConstraintCheckResult constraintCheckResult = ConstraintCheckResult.create(versionConstraint, result);\n fulfilledConstraints.add(constraintCheckResult);\n }\n }\n return fulfilledConstraints.build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/5271c87c44e5fabee5aa93b43a5ba24711c99d0b.json b/web/public/bundles/graylog/code/5271c87c44e5fabee5aa93b43a5ba24711c99d0b.json new file mode 100644 index 00000000..cc0f646a --- /dev/null +++ b/web/public/bundles/graylog/code/5271c87c44e5fabee5aa93b43a5ba24711c99d0b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "5271c87c44e5fabee5aa93b43a5ba24711c99d0b", + "language": "typescript", + "path": "graylog2-web-interface/src/pages/UserDetailsPage.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport { useEffect, useState } from 'react';\n\nimport withParams from 'routing/withParams';\nimport { PageHeader, DocumentTitle } from 'components/common';\nimport DocsHelper from 'util/DocsHelper';\nimport UsersDomain from 'domainActions/users/UsersDomain';\nimport UserDetails from 'components/users/UserDetails';\nimport UsersPageNavigation from 'components/users/navigation/UsersPageNavigation';\nimport UserActionLinks from 'components/users/navigation/UserActionLinks';\nimport type User from 'logic/users/User';\n\ntype Props = {\n params: {\n userId: string;\n };\n};\n\nconst PageTitle = ({ fullName }: { fullName: string }) => (\n <>\n User Details{' '}\n {fullName && (\n <>\n - {fullName}\n \n )}\n \n);\n\nconst UserDetailsPage = ({ params }: Props) => {\n const [loadedUser, setLoadedUser] = useState();\n const userId = params?.userId;\n\n useEffect(() => {\n UsersDomain.load(userId).then(setLoadedUser);\n }, [userId]);\n\n return (\n \n \n }\n actions={\n \n }\n documentationLink={{\n title: 'Permissions documentation',\n path: DocsHelper.PAGES.USERS_ROLES,\n }}>\n Overview of details like profile information, settings, teams and roles.\n \n\n \n \n );\n};\n\nexport default withParams(UserDetailsPage);\n" +} diff --git a/web/public/bundles/graylog/code/53a2b62061fa9dbae79644401d72985f9cf9421b.json b/web/public/bundles/graylog/code/53a2b62061fa9dbae79644401d72985f9cf9421b.json new file mode 100644 index 00000000..bb8d3716 --- /dev/null +++ b/web/public/bundles/graylog/code/53a2b62061fa9dbae79644401d72985f9cf9421b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "53a2b62061fa9dbae79644401d72985f9cf9421b", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/web/resources/DatanodeConnectivityCheck.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.bootstrap.preflight.web.resources;\n\nimport com.github.joschi.jadconfig.util.Duration;\nimport jakarta.inject.Inject;\nimport jakarta.inject.Singleton;\nimport org.graylog2.cluster.nodes.DataNodeDto;\nimport org.graylog2.security.jwt.IndexerJwtAuthToken;\nimport org.graylog2.security.jwt.IndexerJwtAuthTokenProvider;\nimport org.graylog2.storage.versionprobe.VersionProbeFactory;\nimport org.graylog2.storage.versionprobe.VersionProbe;\nimport org.graylog2.storage.versionprobe.VersionProbeLogger;\n\nimport java.net.URI;\nimport java.util.Collections;\nimport java.util.List;\n\n@Singleton\npublic class DatanodeConnectivityCheck {\n\n private final VersionProbeFactory versionProbeFactory;\n private final IndexerJwtAuthTokenProvider indexerJwtAuthTokenProvider;\n\n @Inject\n public DatanodeConnectivityCheck(VersionProbeFactory versionProbeFactory, IndexerJwtAuthTokenProvider indexerJwtAuthTokenProvider) {\n this.versionProbeFactory = versionProbeFactory;\n this.indexerJwtAuthTokenProvider = indexerJwtAuthTokenProvider;\n }\n\n public ConnectionCheckResult probe(DataNodeDto node) {\n final VersionProbeMessageCollector messageCollector = new VersionProbeMessageCollector(VersionProbeLogger.INSTANCE);\n final IndexerJwtAuthToken jwtToken = indexerJwtAuthTokenProvider.alwaysEnabled().get();\n final VersionProbe versionProbe = versionProbeFactory.create(jwtToken, 1, Duration.seconds(1), messageCollector);\n final List hosts = Collections.singletonList(URI.create(node.getTransportAddress()));\n return versionProbe.probe(hosts)\n .map(ConnectionCheckResult::success)\n .orElse(ConnectionCheckResult.failure(messageCollector.joinedMessages()));\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/54fc5bdb6433fbd303b506fae29fc9e189c28ab2.json b/web/public/bundles/graylog/code/54fc5bdb6433fbd303b506fae29fc9e189c28ab2.json new file mode 100644 index 00000000..274645ad --- /dev/null +++ b/web/public/bundles/graylog/code/54fc5bdb6433fbd303b506fae29fc9e189c28ab2.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "54fc5bdb6433fbd303b506fae29fc9e189c28ab2", + "language": "java", + "path": "graylog-plugin-archetype/src/main/resources/archetype-resources/src/main/java/__pluginClassName__Plugin.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage ${package};\n\nimport org.graylog2.plugin.Plugin;\nimport org.graylog2.plugin.PluginMetaData;\nimport org.graylog2.plugin.PluginModule;\n\nimport java.util.Collection;\nimport java.util.Collections;\n\n/**\n * Implement the Plugin interface here.\n */\npublic class ${pluginClassName}Plugin implements Plugin {\n @Override\n public PluginMetaData metadata() {\n return new ${pluginClassName}MetaData();\n }\n\n @Override\n public Collection modules () {\n return Collections.singletonList(new ${pluginClassName}Module());\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/56c5897e21d2cabfc6d3a68a3358f7b329e625e0.json b/web/public/bundles/graylog/code/56c5897e21d2cabfc6d3a68a3358f7b329e625e0.json new file mode 100644 index 00000000..a2b01712 --- /dev/null +++ b/web/public/bundles/graylog/code/56c5897e21d2cabfc6d3a68a3358f7b329e625e0.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "56c5897e21d2cabfc6d3a68a3358f7b329e625e0", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/entities/preferences/service/EntityListPreferencesServiceImpl.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.resources.entities.preferences.service;\n\nimport com.google.common.primitives.Ints;\nimport com.mongodb.client.MongoCollection;\nimport com.mongodb.client.model.Filters;\nimport com.mongodb.client.model.ReplaceOptions;\nimport jakarta.inject.Inject;\nimport org.graylog2.database.MongoCollections;\nimport org.graylog2.plugin.database.ValidationException;\nimport org.graylog2.rest.resources.entities.preferences.model.StoredEntityListPreferences;\nimport org.graylog2.rest.resources.entities.preferences.model.StoredEntityListPreferencesId;\n\nimport java.util.ArrayList;\nimport java.util.List;\n\nimport static org.graylog2.rest.resources.entities.preferences.model.StoredEntityListPreferencesId.ENTITY_LIST_ID_SUB_FIELD;\nimport static org.graylog2.rest.resources.entities.preferences.model.StoredEntityListPreferencesId.LAYOUT_VARIANT_SUB_FIELD;\nimport static org.graylog2.rest.resources.entities.preferences.model.StoredEntityListPreferencesId.USER_ID_SUB_FIELD;\n\npublic class EntityListPreferencesServiceImpl implements EntityListPreferencesService {\n\n public static final String ENTITY_LIST_PREFERENCES_MONGO_COLLECTION_NAME = \"entity_list_preferences\";\n\n private final MongoCollection collection;\n\n @Inject\n public EntityListPreferencesServiceImpl(MongoCollections mongoCollections) {\n collection = mongoCollections.nonEntityCollection(ENTITY_LIST_PREFERENCES_MONGO_COLLECTION_NAME,\n StoredEntityListPreferences.class);\n }\n\n @Override\n public StoredEntityListPreferences get(final StoredEntityListPreferencesId preferencesId) {\n return collection.find(Filters.eq(\"_id\", preferencesId)).first();\n }\n\n @Override\n public List getPredefinedForEntityList(final String entityListId) {\n return collection.find(\n Filters.and(\n Filters.eq(\"_id.\" + ENTITY_LIST_ID_SUB_FIELD, entityListId),\n Filters.exists(\"_id.\" + LAYOUT_VARIANT_SUB_FIELD),\n Filters.exists(\"_id.\" + USER_ID_SUB_FIELD, false)\n )\n )\n .into(new ArrayList<>());\n }\n\n @Override\n public boolean save(final StoredEntityListPreferences preferences) {\n if (preferences.preferencesId() == null) {\n collection.insertOne(preferences);\n } else {\n collection.replaceOne(Filters.eq(\"_id\", preferences.preferencesId()), preferences,\n new ReplaceOptions().upsert(true));\n }\n return true; // ¯\\_(ツ)_/¯\n }\n\n @Override\n public int deleteAllForUser(final String userId) {\n return Ints.saturatedCast(collection.deleteMany(Filters.eq(\"_id.\" + USER_ID_SUB_FIELD, userId))\n .getDeletedCount());\n }\n\n @Override\n public boolean delete(final StoredEntityListPreferencesId preferencesId) throws ValidationException {\n if (null == preferencesId) {\n throw new ValidationException(\"Preferences ID cannot be null\");\n }\n\n // So that predefined layout is never removed...\n if (null == preferencesId.userId() || preferencesId.userId().isEmpty()) {\n throw new ValidationException(\"User ID has to be specified for preferences removal\");\n }\n\n return collection.deleteOne(Filters.eq(\"_id\", preferencesId)).getDeletedCount() > 0;\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/56e6d6f1726b9309b7c1a82140027d66ee0110a6.json b/web/public/bundles/graylog/code/56e6d6f1726b9309b7c1a82140027d66ee0110a6.json new file mode 100644 index 00000000..aabc6c3b --- /dev/null +++ b/web/public/bundles/graylog/code/56e6d6f1726b9309b7c1a82140027d66ee0110a6.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "56e6d6f1726b9309b7c1a82140027d66ee0110a6", + "language": "java", + "path": "data-node/src/main/java/org/graylog/datanode/configuration/DatanodeTrustManagerProvider.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.datanode.configuration;\n\nimport com.google.common.eventbus.EventBus;\nimport com.google.common.eventbus.Subscribe;\nimport jakarta.inject.Inject;\nimport jakarta.inject.Provider;\nimport jakarta.inject.Singleton;\nimport org.graylog.datanode.opensearch.OpensearchConfigurationChangeEvent;\nimport org.graylog2.security.CustomCAX509TrustManager;\nimport org.graylog2.security.TrustManagerAggregator;\n\nimport javax.net.ssl.X509TrustManager;\nimport java.security.KeyStore;\nimport java.util.List;\n\n@Singleton\npublic class DatanodeTrustManagerProvider implements Provider {\n\n private final CustomCAX509TrustManager customCAX509TrustManager;\n private volatile KeyStore datanodeTruststore;\n\n @Inject\n public DatanodeTrustManagerProvider(CustomCAX509TrustManager CustomCAX509TrustManager, EventBus eventBus) {\n customCAX509TrustManager = CustomCAX509TrustManager;\n eventBus.register(this);\n }\n\n @Subscribe\n public void onOpensearchConfigurationChange(OpensearchConfigurationChangeEvent e) {\n setTruststore(e.config().trustStore());\n }\n\n private void setTruststore(KeyStore keyStore) {\n this.datanodeTruststore = keyStore;\n }\n\n\n @Override\n public X509TrustManager get() {\n final X509TrustManager datanodeTrustManager = TrustManagerAggregator.trustManagerFromKeystore(this.datanodeTruststore);\n return new TrustManagerAggregator(List.of(datanodeTrustManager, customCAX509TrustManager));\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/5756e5a3fe6155dd4df252cbc4ddcf471bdf6ecd.json b/web/public/bundles/graylog/code/5756e5a3fe6155dd4df252cbc4ddcf471bdf6ecd.json new file mode 100644 index 00000000..84205a1e --- /dev/null +++ b/web/public/bundles/graylog/code/5756e5a3fe6155dd4df252cbc4ddcf471bdf6ecd.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "5756e5a3fe6155dd4df252cbc4ddcf471bdf6ecd", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/rest/resources/system/SystemResource.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.shared.rest.resources.system;\n\nimport com.codahale.metrics.annotation.Timed;\nimport com.codahale.metrics.jvm.ThreadDump;\nimport com.eaio.uuid.UUID;\nimport com.github.joschi.jadconfig.util.Size;\nimport com.google.common.collect.ImmutableMap;\nimport io.swagger.v3.oas.annotations.Operation;\nimport io.swagger.v3.oas.annotations.tags.Tag;\nimport org.apache.shiro.authz.annotation.RequiresAuthentication;\nimport org.graylog2.cluster.leader.LeaderElectionService;\nimport org.graylog2.plugin.ServerStatus;\nimport org.graylog2.plugin.Tools;\nimport org.graylog2.plugin.cluster.ClusterConfigService;\nimport org.graylog2.plugin.cluster.ClusterId;\nimport org.graylog2.rest.models.system.responses.LocalesResponse;\nimport org.graylog2.rest.models.system.responses.SystemJVMResponse;\nimport org.graylog2.rest.models.system.responses.SystemOverviewResponse;\nimport org.graylog2.rest.models.system.responses.SystemProcessBufferDumpResponse;\nimport org.graylog2.rest.models.system.responses.SystemThreadDumpResponse;\nimport org.graylog2.shared.ServerVersion;\nimport org.graylog2.shared.buffers.ProcessBuffer;\nimport org.graylog2.shared.rest.resources.RestResource;\nimport org.graylog2.shared.security.RestPermissions;\n\nimport jakarta.inject.Inject;\n\nimport jakarta.ws.rs.GET;\nimport jakarta.ws.rs.Path;\nimport jakarta.ws.rs.Produces;\nimport jakarta.ws.rs.core.MediaType;\nimport jakarta.ws.rs.core.StreamingOutput;\n\nimport java.io.ByteArrayOutputStream;\nimport java.lang.management.ManagementFactory;\nimport java.nio.charset.StandardCharsets;\nimport java.util.Locale;\nimport java.util.Map;\n\n@RequiresAuthentication\n@Tag(name = \"System\", description = \"System information of this node.\")\n@Path(\"/system\")\n@Produces(MediaType.APPLICATION_JSON)\npublic class SystemResource extends RestResource {\n private final ServerStatus serverStatus;\n private final ClusterId clusterId;\n private final ProcessBuffer processBuffer;\n private final LeaderElectionService leaderElectionService;\n\n @Inject\n public SystemResource(ServerStatus serverStatus, ClusterConfigService clusterConfigService, ProcessBuffer processBuffer, LeaderElectionService leaderElectionService) {\n this.serverStatus = serverStatus;\n this.clusterId = clusterConfigService.getOrDefault(ClusterId.class, ClusterId.create(UUID.nilUUID().toString()));\n this.processBuffer = processBuffer;\n this.leaderElectionService = leaderElectionService;\n }\n\n @GET\n @Timed\n @Operation(summary = \"Get system overview\")\n public SystemOverviewResponse system() {\n checkPermission(RestPermissions.SYSTEM_READ, serverStatus.getNodeId().toString());\n\n\n return SystemOverviewResponse.create(\"graylog-server\",\n ServerVersion.CODENAME,\n serverStatus.getNodeId().toString(),\n clusterId.clusterId(),\n ServerVersion.VERSION.toString(),\n Tools.getISO8601String(serverStatus.getStartedAt()),\n serverStatus.isProcessing(),\n Tools.getLocalCanonicalHostname(),\n serverStatus.getLifecycle().getDescription().toLowerCase(Locale.ENGLISH),\n serverStatus.getLifecycle().getLoadbalancerStatus().toString().toLowerCase(Locale.ENGLISH),\n serverStatus.getTimezone().getID(),\n System.getProperty(\"os.name\", \"unknown\") + \" \" + System.getProperty(\"os.version\", \"unknown\"),\n leaderElectionService.isLeader());\n }\n\n @GET\n @Operation(summary = \"Get JVM information\")\n @Path(\"/jvm\")\n @Timed\n public SystemJVMResponse jvm() {\n checkPermission(RestPermissions.JVMSTATS_READ, serverStatus.getNodeId().toString());\n\n Runtime runtime = Runtime.getRuntime();\n return SystemJVMResponse.create(\n bytesToValueMap(runtime.freeMemory()),\n bytesToValueMap(runtime.maxMemory()),\n bytesToValueMap(runtime.totalMemory()),\n bytesToValueMap(runtime.totalMemory() - runtime.freeMemory()),\n serverStatus.getNodeId().toString(),\n Tools.getPID(),\n Tools.getSystemInformation());\n }\n\n @GET\n @Timed\n @Operation(summary = \"Get a thread dump\")\n @Path(\"/threaddump\")\n public SystemThreadDumpResponse threaddump() {\n checkPermission(RestPermissions.THREADS_DUMP, serverStatus.getNodeId().toString());\n\n // The ThreadDump is built by internal codahale.metrics servlet library we are abusing.\n final ThreadDump threadDump = new ThreadDump(ManagementFactory.getThreadMXBean());\n final ByteArrayOutputStream output = new ByteArrayOutputStream();\n\n threadDump.dump(output);\n return SystemThreadDumpResponse.create(new String(output.toByteArray(), StandardCharsets.UTF_8));\n }\n\n @GET\n @Path(\"/processbufferdump\")\n @Timed\n @Operation(summary = \"Get a process buffer dump\")\n public SystemProcessBufferDumpResponse processBufferDump() {\n checkPermission(RestPermissions.PROCESSBUFFER_DUMP, serverStatus.getNodeId().toString());\n return SystemProcessBufferDumpResponse.create(processBuffer.getDump());\n }\n\n @GET\n @Path(\"/threaddump\")\n @Produces(MediaType.TEXT_PLAIN)\n @Timed\n @Operation(summary = \"Get a thread dump as plain text\")\n public StreamingOutput threadDumpAsText() {\n checkPermission(RestPermissions.THREADS_DUMP, serverStatus.getNodeId().toString());\n return output -> new ThreadDump(ManagementFactory.getThreadMXBean()).dump(output);\n }\n\n @GET\n @Operation(summary = \"Get supported locales\")\n @Path(\"/locales\")\n @Timed\n public LocalesResponse locales() {\n return LocalesResponse.create(Locale.getAvailableLocales());\n }\n\n private Map bytesToValueMap(long bytes) {\n final Size size = Size.bytes(bytes);\n return ImmutableMap.of(\n \"bytes\", size.toBytes(),\n \"kilobytes\", size.toKilobytes(),\n \"megabytes\", size.toMegabytes());\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/57eefaa788007e9d8e1b9dbe6c98c8ecf3417fa3.json b/web/public/bundles/graylog/code/57eefaa788007e9d8e1b9dbe6c98c8ecf3417fa3.json new file mode 100644 index 00000000..c82a0c64 --- /dev/null +++ b/web/public/bundles/graylog/code/57eefaa788007e9d8e1b9dbe6c98c8ecf3417fa3.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "57eefaa788007e9d8e1b9dbe6c98c8ecf3417fa3", + "language": "typescript", + "path": "graylog2-web-interface/src/views/components/widgets/StickyBottomActions.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport { useRef } from 'react';\nimport styled, { css } from 'styled-components';\n\nimport useIntersectionObserver from 'hooks/useIntersectionObserver';\nimport ScrollShadow from 'theme/box-shadows/ScrollShadow';\n\nconst Container = styled.div`\n height: 100%;\n display: flex;\n flex-flow: column nowrap;\n`;\n\nconst ScrollContainer = styled.div`\n overflow-y: auto;\n`;\n\nconst Content = styled.div`\n position: relative;\n`;\n\nconst Actions = styled.div<{ $scrolledToBottom: boolean; $alignAtBottom: boolean }>(\n ({ theme, $scrolledToBottom, $alignAtBottom }) => css`\n position: sticky;\n width: 100%;\n bottom: 0;\n background: ${theme.colors.global.contentBackground};\n z-index: 1;\n display: flex;\n flex-direction: column;\n flex: 1;\n justify-content: ${$alignAtBottom ? 'flex-end' : 'space-between'};\n padding-top: 5px;\n\n ${ScrollShadow('top')}\n &::before {\n display: ${$scrolledToBottom ? 'none' : 'block'};\n }\n `,\n);\n\nconst ScrolledToBottomIndicator = styled.div`\n width: 1px;\n position: absolute;\n bottom: 0;\n height: 5px;\n z-index: 0;\n`;\n\ntype Props = {\n actions: React.ReactNode;\n children: React.ReactNode;\n className?: string;\n // Set this to align the actions at the bottom of the free space\n alignActionsAtBottom?: boolean;\n};\n\nconst StickyBottomActions = ({ actions, children, className = undefined, alignActionsAtBottom = false }: Props) => {\n const scrollContainerRef = useRef();\n const scrolledToBottomIndicatorRef = useRef();\n const scrolledToBottom = useIntersectionObserver(scrolledToBottomIndicatorRef, {\n root: scrollContainerRef,\n threshold: 0.9,\n initialIsIntersecting: true,\n });\n\n return (\n \n \n \n {children}\n \n \n \n \n {actions}\n \n \n );\n};\n\nexport default StickyBottomActions;\n" +} diff --git a/web/public/bundles/graylog/code/581c32dade83a6779e33ccedf2ad5190eeb567ca.json b/web/public/bundles/graylog/code/581c32dade83a6779e33ccedf2ad5190eeb567ca.json new file mode 100644 index 00000000..28deff10 --- /dev/null +++ b/web/public/bundles/graylog/code/581c32dade83a6779e33ccedf2ad5190eeb567ca.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "581c32dade83a6779e33ccedf2ad5190eeb567ca", + "language": "java", + "path": "data-node/src/main/java/org/graylog/datanode/bootstrap/commands/CliCommandHelp.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.datanode.bootstrap.commands;\n\nimport com.github.rvesse.airline.help.Help;\nimport org.graylog2.bootstrap.CliCommand;\n\n/* shallow subclass to make it implement CliCommand */\npublic class CliCommandHelp extends Help implements CliCommand {\n}\n" +} diff --git a/web/public/bundles/graylog/code/58879616c9696519d67ab9ff231cec3a0e9d7a51.json b/web/public/bundles/graylog/code/58879616c9696519d67ab9ff231cec3a0e9d7a51.json new file mode 100644 index 00000000..6951324b --- /dev/null +++ b/web/public/bundles/graylog/code/58879616c9696519d67ab9ff231cec3a0e9d7a51.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "58879616c9696519d67ab9ff231cec3a0e9d7a51", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/netflow/transport/NetflowMessageAggregationHandler.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.netflow.transport;\n\nimport com.codahale.metrics.Meter;\nimport com.codahale.metrics.MetricRegistry;\nimport com.codahale.metrics.Timer;\nimport io.netty.buffer.ByteBuf;\nimport io.netty.channel.ChannelHandlerContext;\nimport io.netty.channel.SimpleChannelInboundHandler;\nimport io.netty.channel.socket.DatagramPacket;\nimport org.graylog.plugins.netflow.codecs.RemoteAddressCodecAggregator;\nimport org.graylog2.inputs.transports.netty.SenderEnvelope;\nimport org.graylog2.plugin.inputs.codecs.CodecAggregator;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.net.InetSocketAddress;\n\npublic class NetflowMessageAggregationHandler extends SimpleChannelInboundHandler {\n private static final Logger LOG = LoggerFactory.getLogger(NetflowMessageAggregationHandler.class);\n\n private final RemoteAddressCodecAggregator aggregator;\n private final Timer aggregationTimer;\n private final Meter invalidChunksMeter;\n\n public NetflowMessageAggregationHandler(RemoteAddressCodecAggregator aggregator, MetricRegistry metricRegistry) {\n this.aggregator = aggregator;\n aggregationTimer = metricRegistry.timer(\"aggregationTime\");\n invalidChunksMeter = metricRegistry.meter(\"invalidMessages\");\n }\n\n @Override\n protected void channelRead0(ChannelHandlerContext ctx, DatagramPacket msg) throws Exception {\n final InetSocketAddress remoteAddress = msg.sender();\n final CodecAggregator.Result result;\n try (Timer.Context ignored = aggregationTimer.time()) {\n result = aggregator.addChunk(msg.content(), remoteAddress);\n }\n final ByteBuf completeMessage = result.getMessage();\n if (completeMessage != null) {\n LOG.debug(\"Message aggregation completion, forwarding {}\", completeMessage);\n ctx.fireChannelRead(SenderEnvelope.of(completeMessage, remoteAddress));\n } else if (result.isValid()) {\n LOG.debug(\"More chunks necessary to complete this message\");\n } else {\n invalidChunksMeter.mark();\n LOG.debug(\"Message chunk was not valid and discarded.\");\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/589a5962ba38dc15324e665aae8ce2c906de2d75.json b/web/public/bundles/graylog/code/589a5962ba38dc15324e665aae8ce2c906de2d75.json new file mode 100644 index 00000000..4ae4d792 --- /dev/null +++ b/web/public/bundles/graylog/code/589a5962ba38dc15324e665aae8ce2c906de2d75.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "589a5962ba38dc15324e665aae8ce2c906de2d75", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/rulebuilder/db/MongoDBRuleFragmentService.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.pipelineprocessor.rulebuilder.db;\n\nimport com.google.common.collect.ImmutableList;\nimport org.graylog2.database.MongoCollection;\nimport com.mongodb.client.model.Filters;\nimport com.mongodb.client.model.IndexOptions;\nimport com.mongodb.client.model.Indexes;\nimport com.mongodb.client.model.Sorts;\nimport jakarta.inject.Inject;\nimport jakarta.inject.Singleton;\nimport org.graylog.plugins.pipelineprocessor.rulebuilder.RuleFragmentUpdateEvent;\nimport org.graylog2.database.MongoCollections;\nimport org.graylog2.database.utils.MongoUtils;\nimport org.graylog2.events.ClusterEventBus;\n\nimport java.util.Collection;\nimport java.util.Optional;\n\nimport static com.mongodb.client.model.Filters.eq;\n\n@Singleton\npublic class MongoDBRuleFragmentService implements RuleFragmentService {\n public static final String COLLECTION_NAME = \"rule_fragments\";\n\n private final MongoCollection collection;\n private final MongoUtils mongoUtils;\n private final ClusterEventBus clusterEventBus;\n\n @Inject\n public MongoDBRuleFragmentService(MongoCollections mongoCollections, ClusterEventBus clusterEventBus) {\n collection = mongoCollections.collection(COLLECTION_NAME, RuleFragment.class);\n mongoUtils = mongoCollections.utils(collection);\n collection.createIndex(Indexes.ascending(\"name\"), new IndexOptions().unique(true));\n this.clusterEventBus = clusterEventBus;\n }\n\n @Override\n public RuleFragment save(RuleFragment ruleFragment) {\n RuleFragment fragment = mongoUtils.save(ruleFragment);\n clusterEventBus.post(new RuleFragmentUpdateEvent());\n return fragment;\n }\n\n @Override\n public void delete(String name) {\n collection.deleteOne(eq(\"name\", name));\n clusterEventBus.post(new RuleFragmentUpdateEvent());\n }\n\n @Override\n public void deleteAll() {\n collection.deleteMany(Filters.empty());\n clusterEventBus.post(new RuleFragmentUpdateEvent());\n }\n\n @Override\n public long count(String name) {\n return collection.countDocuments(eq(\"name\", name));\n }\n\n @Override\n public Optional get(String name) {\n return Optional.ofNullable(collection.find(eq(\"name\", name)).first());\n }\n\n @Override\n public Collection all() {\n return ImmutableList.copyOf(collection.find().sort(Sorts.ascending(\"title\")));\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/592120347c578a637f5e49db08feb03207f9eea5.json b/web/public/bundles/graylog/code/592120347c578a637f5e49db08feb03207f9eea5.json new file mode 100644 index 00000000..19b3f3f7 --- /dev/null +++ b/web/public/bundles/graylog/code/592120347c578a637f5e49db08feb03207f9eea5.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "592120347c578a637f5e49db08feb03207f9eea5", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/search/KeywordSearchResource.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.resources.search;\n\nimport com.codahale.metrics.annotation.Timed;\nimport io.swagger.v3.oas.annotations.Operation;\nimport io.swagger.v3.oas.annotations.Parameter;\nimport io.swagger.v3.oas.annotations.media.Content;\nimport io.swagger.v3.oas.annotations.media.Schema;\nimport io.swagger.v3.oas.annotations.responses.ApiResponse;\nimport io.swagger.v3.oas.annotations.responses.ApiResponses;\nimport io.swagger.v3.oas.annotations.tags.Tag;\nimport jakarta.inject.Inject;\nimport jakarta.validation.constraints.NotEmpty;\nimport jakarta.ws.rs.BadRequestException;\nimport jakarta.ws.rs.DefaultValue;\nimport jakarta.ws.rs.GET;\nimport jakarta.ws.rs.Path;\nimport jakarta.ws.rs.Produces;\nimport jakarta.ws.rs.QueryParam;\nimport jakarta.ws.rs.core.Context;\nimport jakarta.ws.rs.core.MediaType;\nimport jakarta.ws.rs.core.Response;\nimport org.apache.shiro.authz.annotation.RequiresAuthentication;\nimport org.glassfish.jersey.server.ChunkedOutput;\nimport org.graylog.plugins.views.search.engine.SearchExecutor;\nimport org.graylog.plugins.views.search.permissions.SearchUser;\nimport org.graylog.plugins.views.search.searchtypes.Sort;\nimport org.graylog2.decorators.DecoratorProcessor;\nimport org.graylog2.indexer.results.ChunkedResult;\nimport org.graylog2.indexer.results.ResultChunk;\nimport org.graylog2.indexer.searches.Searches;\nimport org.graylog2.plugin.cluster.ClusterConfigService;\nimport org.graylog2.plugin.indexer.searches.timeranges.InvalidRangeParametersException;\nimport org.graylog2.plugin.indexer.searches.timeranges.KeywordRange;\nimport org.graylog2.plugin.indexer.searches.timeranges.TimeRange;\nimport org.graylog2.rest.MoreMediaTypes;\nimport org.graylog2.rest.resources.search.responses.SearchResponse;\nimport org.graylog2.shared.rest.PublicCloudAPI;\nimport org.graylog2.shared.security.RestPermissions;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.util.List;\n\nimport static org.graylog2.rest.RestTools.respondWithFile;\n\n@RequiresAuthentication\n@PublicCloudAPI\n@Tag(name = \"Legacy/Search/Keyword\", description = \"Message search\")\n@Path(\"/search/universal/keyword\")\npublic class KeywordSearchResource extends SearchResource {\n\n private static final Logger LOG = LoggerFactory.getLogger(KeywordSearchResource.class);\n\n @Inject\n public KeywordSearchResource(Searches searches,\n SearchExecutor searchExecutor,\n ClusterConfigService clusterConfigService,\n DecoratorProcessor decoratorProcessor) {\n super(searches, clusterConfigService, decoratorProcessor, searchExecutor);\n }\n\n @GET\n @Timed\n @Operation(summary = \"Message search with keyword as timerange.\",\n description = \"Search for messages in a timerange defined by a keyword like \\\"yesterday\\\" or \\\"2 weeks ago to wednesday\\\".\")\n @Produces(MediaType.APPLICATION_JSON)\n @ApiResponses(value = {\n @ApiResponse(responseCode = \"400\", description = \"Invalid keyword provided.\")\n })\n public SearchResponse searchKeyword(\n @Parameter(name = \"query\", description = \"Query (Lucene syntax)\", required = true)\n @QueryParam(\"query\") @NotEmpty String query,\n @Parameter(name = \"keyword\", description = \"Range keyword\", required = true)\n @QueryParam(\"keyword\") @NotEmpty String keyword,\n @QueryParam(\"timezone\") @NotEmpty String timezone,\n @Parameter(name = \"limit\", description = \"Maximum number of messages to return.\") @QueryParam(\"limit\") int limit,\n @Parameter(name = \"offset\", description = \"Offset\") @QueryParam(\"offset\") int offset,\n @Parameter(name = \"filter\", description = \"Filter\") @QueryParam(\"filter\") String filter,\n @Parameter(name = \"fields\", description = \"Comma separated list of fields to return\") @QueryParam(\"fields\") String fields,\n @Parameter(name = \"streams\", description = \"Comma separated list of stream IDs to search in\") @QueryParam(\"streams\") String streams,\n @Parameter(name = \"sort\", description = \"Sorting (field:asc / field:desc)\") @QueryParam(\"sort\") String sort,\n @Parameter(name = \"decorate\", description = \"Run decorators on search result\") @QueryParam(\"decorate\") @DefaultValue(\"true\") boolean decorate,\n @Context SearchUser searchUser) {\n checkSearchPermission(filter, RestPermissions.SEARCHES_KEYWORD);\n\n final Sort sorting = buildSortOrder(sort);\n final List fieldList = parseOptionalFields(fields);\n\n final TimeRange timeRange = buildKeywordTimeRange(keyword, timezone);\n final var parsedStreams = parseStreams(streams);\n\n return search(query, limit, offset, filter, parsedStreams, decorate, searchUser, fieldList, sorting, timeRange);\n }\n\n @GET\n @Timed\n @Operation(summary = \"Message search with keyword as timerange.\",\n description = \"Search for messages in a timerange defined by a keyword like \\\"yesterday\\\" or \\\"2 weeks ago to wednesday\\\".\")\n @Produces(MoreMediaTypes.TEXT_CSV)\n @ApiResponses(value = {\n @ApiResponse(responseCode = \"200\", description = \"Success\",\n content = @Content(mediaType = MoreMediaTypes.TEXT_CSV,\n schema = @Schema(hidden = true))),\n @ApiResponse(responseCode = \"400\", description = \"Invalid keyword provided.\")\n })\n public ChunkedOutput searchKeywordChunked(\n @Parameter(name = \"query\", description = \"Query (Lucene syntax)\", required = true)\n @QueryParam(\"query\") @NotEmpty String query,\n @Parameter(name = \"keyword\", description = \"Range keyword\", required = true)\n @QueryParam(\"keyword\") @NotEmpty String keyword,\n @QueryParam(\"timezone\") @NotEmpty String timezone,\n @Parameter(name = \"limit\", description = \"Maximum number of messages to return.\", required = false) @QueryParam(\"limit\") int limit,\n @Parameter(name = \"offset\", description = \"Offset\", required = false) @QueryParam(\"offset\") int offset,\n @Parameter(name = \"batch_size\", description = \"Batch size for the backend storage export request.\", required = false) @QueryParam(\"batch_size\") @DefaultValue(DEFAULT_SCROLL_BATCH_SIZE) int batchSize,\n @Parameter(name = \"filter\", description = \"Filter\", required = false) @QueryParam(\"filter\") String filter,\n @Parameter(name = \"streams\", description = \"Comma separated list of streams to search in\") @QueryParam(\"streams\") String streams,\n @Parameter(name = \"fields\", description = \"Comma separated list of fields to return\", required = true)\n @QueryParam(\"fields\") @NotEmpty String fields) {\n checkSearchPermission(filter, RestPermissions.SEARCHES_KEYWORD);\n\n final List fieldList = parseFields(fields);\n final TimeRange timeRange = buildKeywordTimeRange(keyword, timezone);\n final var parsedStreams = parseStreams(streams);\n\n final ChunkedResult scroll = searches\n .scroll(query, timeRange, limit, offset, fieldList, filter, parsedStreams, batchSize);\n return buildChunkedOutput(scroll);\n }\n\n @GET\n @Path(\"/export\")\n @Timed\n @Operation(summary = \"Export message search with keyword as timerange.\",\n description = \"Search for messages in a timerange defined by a keyword like \\\"yesterday\\\" or \\\"2 weeks ago to wednesday\\\".\")\n @Produces(MoreMediaTypes.TEXT_CSV)\n @ApiResponses(value = {\n @ApiResponse(responseCode = \"200\", description = \"Success\",\n content = @Content(mediaType = MoreMediaTypes.TEXT_CSV,\n schema = @Schema(hidden = true))),\n @ApiResponse(responseCode = \"400\", description = \"Invalid keyword provided.\")\n })\n public Response exportSearchKeywordChunked(\n @Parameter(name = \"query\", description = \"Query (Lucene syntax)\", required = true)\n @QueryParam(\"query\") @NotEmpty String query,\n @Parameter(name = \"keyword\", description = \"Range keyword\", required = true)\n @QueryParam(\"keyword\") @NotEmpty String keyword,\n @QueryParam(\"timezone\") @NotEmpty String timezone,\n @Parameter(name = \"limit\", description = \"Maximum number of messages to return.\", required = false) @QueryParam(\"limit\") int limit,\n @Parameter(name = \"offset\", description = \"Offset\", required = false) @QueryParam(\"offset\") int offset,\n @Parameter(name = \"batch_size\", description = \"Batch size for the backend storage export request.\", required = false) @QueryParam(\"batch_size\") @DefaultValue(DEFAULT_SCROLL_BATCH_SIZE) int batchSize,\n @Parameter(name = \"filter\", description = \"Filter\", required = false) @QueryParam(\"filter\") String filter,\n @Parameter(name = \"streams\", description = \"Comma separated list of streams to search in\") @QueryParam(\"streams\") String streams,\n @Parameter(name = \"fields\", description = \"Comma separated list of fields to return\", required = true)\n @QueryParam(\"fields\") @NotEmpty String fields) {\n checkSearchPermission(filter, RestPermissions.SEARCHES_KEYWORD);\n final String filename = \"graylog-search-result-keyword-\" + keyword + \".csv\";\n return respondWithFile(filename, searchKeywordChunked(query, keyword, timezone, limit, offset, batchSize, filter, streams, fields))\n .build();\n }\n\n private TimeRange buildKeywordTimeRange(String keyword, String timezone) {\n try {\n return restrictTimeRange(KeywordRange.create(keyword, timezone));\n } catch (InvalidRangeParametersException e) {\n LOG.warn(\"Invalid timerange parameters provided. Returning HTTP 400.\");\n throw new BadRequestException(\"Invalid timerange parameters provided\", e);\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/59a6a4780c23068b090ef7326b56cd185c4288bb.json b/web/public/bundles/graylog/code/59a6a4780c23068b090ef7326b56cd185c4288bb.json new file mode 100644 index 00000000..c8ad6233 --- /dev/null +++ b/web/public/bundles/graylog/code/59a6a4780c23068b090ef7326b56cd185c4288bb.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "59a6a4780c23068b090ef7326b56cd185c4288bb", + "language": "typescript", + "path": "graylog2-web-interface/src/contexts/HotkeysContext.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport type Immutable from 'immutable';\n\nimport { singleton } from 'logic/singleton';\n\nexport type DefaultScopeName = '*';\nexport type ScopeName = 'general' | 'search' | 'dashboard' | 'scratchpad' | 'query-input';\nexport type ScopeParam = Array | ScopeName;\n\nexport type KeyboardModifiers = {\n alt?: boolean;\n ctrl?: boolean;\n meta?: boolean;\n shift?: boolean;\n mod?: boolean;\n};\n\nexport type Hotkey = KeyboardModifiers & {\n keys: readonly string[];\n scopes: ScopeName;\n description: string;\n hotkey: string;\n};\n\nexport type HotkeysEvent = Hotkey;\nexport type FormTags = 'input' | 'textarea' | 'select' | 'INPUT' | 'TEXTAREA' | 'SELECT';\nexport type HotkeyCallback = (keyboardEvent: KeyboardEvent, hotkeysEvent: HotkeysEvent) => void;\n\nexport type Trigger = boolean | ((keyboardEvent: KeyboardEvent, hotkeysEvent: HotkeysEvent) => boolean);\nexport type Options = {\n combinationKey?: string; // Character to split keys in hotkeys combinations. (Default: +)\n enabled?: Trigger; // Main setting that determines if the hotkey is enabled or not. (Default: true)\n enableOnFormTags?: readonly FormTags[] | boolean; // Enable hotkeys on a list of tags. (Default: false)\n enableOnContentEditable?: boolean; // Enable hotkeys on tags with contentEditable props. (Default: false)\n preventDefault?: Trigger; // Prevent default browser behavior? (Default: false)\n displayInOverview?: boolean;\n splitKey?: string;\n useKey?: boolean; // Match `event.key` before `event.code`, so shortcuts follow the keyboard layout. (Default: true)\n};\nexport type ActiveHotkey = {\n options?: Options & { scope: ScopeName };\n};\nexport type ActiveHotkeys = Immutable.Map<`${ScopeName}.${string}`, ActiveHotkey>;\nexport type HotkeyCollection = {\n title: string;\n description: string;\n actions: Record; description: string; displayKeys?: string }>;\n};\nexport type HotkeyCollections = Record;\n\ntype HotkeysContextType = {\n enabledScopes: Array;\n hotKeysCollections: HotkeyCollections;\n activeHotkeys: ActiveHotkeys;\n addActiveHotkey: (props: { scope: ScopeName; actionKey: string; options: Options & { scope: ScopeName } }) => void;\n removeActiveHotkey: (props: { scope: ScopeName; actionKey: string }) => void;\n showHotkeysModal: boolean;\n setShowHotkeysModal: React.Dispatch>;\n};\n\nconst HotkeysContext = React.createContext(undefined);\n\nexport default singleton('contexts.HotkeysContext', () => HotkeysContext);\n" +} diff --git a/web/public/bundles/graylog/code/5a14bbb58a330bad7dd4b1a4f3e77b09babd9874.json b/web/public/bundles/graylog/code/5a14bbb58a330bad7dd4b1a4f3e77b09babd9874.json new file mode 100644 index 00000000..20305fcf --- /dev/null +++ b/web/public/bundles/graylog/code/5a14bbb58a330bad7dd4b1a4f3e77b09babd9874.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "5a14bbb58a330bad7dd4b1a4f3e77b09babd9874", + "language": "typescript", + "path": "graylog2-web-interface/src/components/content-stream/ContentStreamContainer.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\n\nimport ContentStreamQueryClientProvider from 'contexts/ContentStreamQueryClientProvider';\nimport ContentStreamSection from 'components/content-stream/ContentStreamSection';\n\nconst ContentStreamContainer = () => (\n \n \n \n);\n\nexport default ContentStreamContainer;\n" +} diff --git a/web/public/bundles/graylog/code/5a301d0440fdb61f0b44fd73c1a722094c50dd4f.json b/web/public/bundles/graylog/code/5a301d0440fdb61f0b44fd73c1a722094c50dd4f.json new file mode 100644 index 00000000..64f7efb2 --- /dev/null +++ b/web/public/bundles/graylog/code/5a301d0440fdb61f0b44fd73c1a722094c50dd4f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "5a301d0440fdb61f0b44fd73c1a722094c50dd4f", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/rest/RestAccessLogFilter.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.shared.rest;\n\nimport jakarta.inject.Inject;\nimport jakarta.inject.Named;\nimport jakarta.inject.Provider;\nimport jakarta.ws.rs.container.ContainerRequestContext;\nimport jakarta.ws.rs.container.ContainerResponseContext;\nimport jakarta.ws.rs.container.ContainerResponseFilter;\nimport jakarta.ws.rs.core.Context;\nimport jakarta.ws.rs.core.HttpHeaders;\nimport org.glassfish.grizzly.http.server.Response;\nimport org.graylog2.rest.RestTools;\nimport org.graylog2.utilities.IpSubnet;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.io.IOException;\nimport java.util.Date;\nimport java.util.Set;\n\nimport static java.util.Objects.requireNonNull;\n\npublic class RestAccessLogFilter implements ContainerResponseFilter {\n private static final Logger LOG = LoggerFactory.getLogger(\"org.graylog2.rest.accesslog\");\n\n private final Provider responseProvider;\n private final Set trustedProxies;\n\n @Inject\n public RestAccessLogFilter(@Context Provider responseProvider, @Named(\"trusted_proxies\") Set trustedProxies) {\n this.responseProvider = requireNonNull(responseProvider);\n this.trustedProxies = requireNonNull(trustedProxies);\n }\n\n @Override\n public void filter(ContainerRequestContext requestContext, ContainerResponseContext responseContext) throws IOException {\n if (LOG.isDebugEnabled()) {\n try {\n final String rawQuery = requestContext.getUriInfo().getRequestUri().getRawQuery();\n final Date requestDate = requestContext.getDate();\n final String userId = RestTools.getUserIdFromRequest(requestContext);\n final String remoteAddress = RestTools.getRemoteAddrFromRequest(responseProvider.get().getRequest(), trustedProxies);\n final String userAgent = requestContext.getHeaderString(HttpHeaders.USER_AGENT);\n\n LOG.debug(\"{} {} [{}] \\\"{} {}{}\\\" {} {} {}\",\n remoteAddress,\n userId == null ? \"-\" : userId,\n (requestDate == null ? \"-\" : requestDate),\n requestContext.getMethod(),\n requestContext.getUriInfo().getPath(),\n (rawQuery == null ? \"\" : \"?\" + rawQuery),\n (userAgent == null ? \"-\" : userAgent),\n responseContext.getStatus(),\n responseContext.getLength());\n } catch (Exception e) {\n LOG.error(\"Error while processing REST API access log\", e);\n }\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/5b23ee363c7b86acc312e83bb2b0820e06f391c2.json b/web/public/bundles/graylog/code/5b23ee363c7b86acc312e83bb2b0820e06f391c2.json new file mode 100644 index 00000000..51150c09 --- /dev/null +++ b/web/public/bundles/graylog/code/5b23ee363c7b86acc312e83bb2b0820e06f391c2.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "5b23ee363c7b86acc312e83bb2b0820e06f391c2", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/DiscardMessageOutput.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.outputs;\n\nimport com.codahale.metrics.Meter;\nimport com.codahale.metrics.MetricRegistry;\nimport com.google.inject.assistedinject.Assisted;\nimport com.google.inject.assistedinject.AssistedInject;\nimport org.graylog2.plugin.Message;\nimport org.graylog2.plugin.configuration.Configuration;\nimport org.graylog2.plugin.outputs.MessageOutput;\nimport org.graylog2.plugin.streams.Stream;\nimport org.graylog2.shared.messageq.MessageQueueAcknowledger;\n\nimport jakarta.inject.Inject;\n\nimport java.util.List;\nimport java.util.concurrent.atomic.AtomicBoolean;\n\nimport static com.codahale.metrics.MetricRegistry.name;\n\npublic class DiscardMessageOutput implements MessageOutput {\n private final AtomicBoolean isRunning = new AtomicBoolean(false);\n private final MessageQueueAcknowledger messageQueueAcknowledger;\n private final Meter messagesDiscarded;\n\n @AssistedInject\n public DiscardMessageOutput(final MessageQueueAcknowledger messageQueueAcknowledger,\n final MetricRegistry metricRegistry,\n @Assisted Stream stream,\n @Assisted Configuration configuration) {\n this(messageQueueAcknowledger, metricRegistry);\n }\n\n @Inject\n public DiscardMessageOutput(final MessageQueueAcknowledger messageQueueAcknowledger, final MetricRegistry metricRegistry) {\n this.messageQueueAcknowledger = messageQueueAcknowledger;\n this.messagesDiscarded = metricRegistry.meter(name(this.getClass(), \"messagesDiscarded\"));\n isRunning.set(true);\n }\n\n @Override\n public void stop() {\n isRunning.set(false);\n }\n\n @Override\n public boolean isRunning() {\n return isRunning.get();\n }\n\n @Override\n public void write(Message message) throws Exception {\n messageQueueAcknowledger.acknowledge(message);\n messagesDiscarded.mark();\n }\n\n @Override\n public void write(List messages) throws Exception {\n messageQueueAcknowledger.acknowledge(messages);\n messagesDiscarded.mark(messages.size());\n }\n\n public interface Factory extends MessageOutput.Factory {\n }\n\n public static class Config extends MessageOutput.Config {\n }\n\n public static class Descriptor extends MessageOutput.Descriptor {\n public Descriptor() {\n super(\"Discard Message output\", false, \"\", \"Output that discards messages\");\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/5d10c790cf751a87fd05e6d357a4452aaebec9f6.json b/web/public/bundles/graylog/code/5d10c790cf751a87fd05e6d357a4452aaebec9f6.json new file mode 100644 index 00000000..7557dbf5 --- /dev/null +++ b/web/public/bundles/graylog/code/5d10c790cf751a87fd05e6d357a4452aaebec9f6.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "5d10c790cf751a87fd05e6d357a4452aaebec9f6", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/suppliers/UsersMetricsSupplier.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.telemetry.suppliers;\n\nimport jakarta.inject.Inject;\nimport org.graylog2.shared.users.UserService;\nimport org.graylog2.telemetry.scheduler.TelemetryEvent;\nimport org.graylog2.telemetry.scheduler.TelemetryMetricSupplier;\n\nimport java.util.HashMap;\nimport java.util.Map;\nimport java.util.Optional;\n\npublic class UsersMetricsSupplier implements TelemetryMetricSupplier {\n private final UserService userService;\n\n @Inject\n public UsersMetricsSupplier(UserService userService) {\n this.userService = userService;\n }\n\n @Override\n public Optional get() {\n Map metrics = new HashMap<>(userService.countByPrivilege());\n\n return Optional.of(TelemetryEvent.of(metrics));\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/5ddfe084b4175ac2924f539d6601dd7ac93c2ddf.json b/web/public/bundles/graylog/code/5ddfe084b4175ac2924f539d6601dd7ac93c2ddf.json new file mode 100644 index 00000000..d70fab00 --- /dev/null +++ b/web/public/bundles/graylog/code/5ddfe084b4175ac2924f539d6601dd7ac93c2ddf.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "5ddfe084b4175ac2924f539d6601dd7ac93c2ddf", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/system/stats/elasticsearch/ElasticsearchStats.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.system.stats.elasticsearch;\n\nimport com.fasterxml.jackson.annotation.JsonAutoDetect;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.google.auto.value.AutoValue;\nimport org.graylog2.indexer.indices.HealthStatus;\n\n@JsonAutoDetect\n@AutoValue\npublic abstract class ElasticsearchStats {\n @JsonProperty(\"cluster_name\")\n public abstract String clusterName();\n\n @JsonProperty(\"cluster_version\")\n public abstract String clusterVersion();\n\n @JsonProperty(\"status\")\n public abstract HealthStatus status();\n\n @JsonProperty(\"cluster_health\")\n public abstract ClusterHealth clusterHealth();\n\n @JsonProperty(\"nodes_stats\")\n public abstract NodesStats nodesStats();\n\n @JsonProperty(\"indices_stats\")\n public abstract IndicesStats indicesStats();\n\n public static ElasticsearchStats create(String clusterName,\n String clusterVersion,\n HealthStatus status,\n ClusterHealth clusterHealth,\n NodesStats nodesStats,\n IndicesStats indicesStats) {\n return new AutoValue_ElasticsearchStats(clusterName, clusterVersion, status, clusterHealth, nodesStats, indicesStats);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/5e7d73feed18d53573841d99e1b37e85ff2be934.json b/web/public/bundles/graylog/code/5e7d73feed18d53573841d99e1b37e85ff2be934.json new file mode 100644 index 00000000..25fa8410 --- /dev/null +++ b/web/public/bundles/graylog/code/5e7d73feed18d53573841d99e1b37e85ff2be934.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "5e7d73feed18d53573841d99e1b37e85ff2be934", + "language": "typescript", + "path": "graylog2-web-interface/src/pages/UserEditPage.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport { useQuery } from '@tanstack/react-query';\n\nimport withParams from 'routing/withParams';\nimport DocsHelper from 'util/DocsHelper';\nimport UsersDomain from 'domainActions/users/UsersDomain';\nimport { USERS_QUERY_KEY } from 'hooks/useUsers';\nimport { PageHeader, DocumentTitle } from 'components/common';\nimport UserEdit from 'components/users/UserEdit';\nimport UsersPageNavigation from 'components/users/navigation/UsersPageNavigation';\nimport UserActionLinks from 'components/users/navigation/UserActionLinks';\n\ntype Props = {\n params: {\n userId: string;\n };\n};\n\nconst PageTitle = ({ fullName }: { fullName: string | null | undefined }) => (\n <>\n Edit User{' '}\n {fullName && (\n <>\n - {fullName}\n \n )}\n \n);\n\nconst UserEditPage = ({ params }: Props) => {\n const userId = params?.userId;\n\n // UserEdit invalidates this query after every user update to reload the user.\n const { data: loadedUser, isFetchedAfterMount } = useQuery({\n queryKey: [...USERS_QUERY_KEY, userId],\n queryFn: () => UsersDomain.load(userId),\n retry: false,\n refetchOnMount: 'always',\n });\n\n const fullName = loadedUser?.fullName ?? '';\n const readOnly = loadedUser?.readOnly ?? false;\n // Wait for the reload of a cached user, because it might be outdated (e.g. after \"Set as start page\") and the forms\n // in UserEdit don't update their values once they are rendered.\n const userToEdit = isFetchedAfterMount && userId === loadedUser?.id ? loadedUser : undefined;\n\n return (\n \n \n }\n actions={}\n documentationLink={{\n title: 'Permissions documentation',\n path: DocsHelper.PAGES.USERS_ROLES,\n }}>\n You can change the user details and password here and assign roles and teams.\n \n \n \n );\n};\n\nexport default withParams(UserEditPage);\n" +} diff --git a/web/public/bundles/graylog/code/5f75cd58a39569bde2883a28501f67900a6ebc57.json b/web/public/bundles/graylog/code/5f75cd58a39569bde2883a28501f67900a6ebc57.json new file mode 100644 index 00000000..70b36403 --- /dev/null +++ b/web/public/bundles/graylog/code/5f75cd58a39569bde2883a28501f67900a6ebc57.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "5f75cd58a39569bde2883a28501f67900a6ebc57", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/DecoratorService.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.decorators;\n\nimport com.google.inject.ImplementedBy;\nimport org.graylog2.database.NotFoundException;\n\nimport java.util.List;\nimport java.util.Map;\n\n@ImplementedBy(DecoratorServiceImpl.class)\npublic interface DecoratorService {\n List findForStream(String streamId);\n List findForGlobal();\n List findAll();\n Decorator findById(String decoratorId) throws NotFoundException;\n Decorator create(String type, Map config, String stream, int order);\n Decorator create(String type, Map config, int order);\n Decorator save(Decorator decorator);\n int delete(String decoratorId);\n}\n" +} diff --git a/web/public/bundles/graylog/code/607adc1b27612b09f69daf228ddf5b95a35f7fe9.json b/web/public/bundles/graylog/code/607adc1b27612b09f69daf228ddf5b95a35f7fe9.json new file mode 100644 index 00000000..15c0be8a --- /dev/null +++ b/web/public/bundles/graylog/code/607adc1b27612b09f69daf228ddf5b95a35f7fe9.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "607adc1b27612b09f69daf228ddf5b95a35f7fe9", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/collectors/input/transport/AgentCertChannelHandler.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.collectors.input.transport;\n\nimport io.netty.channel.ChannelHandlerContext;\nimport io.netty.channel.ChannelInboundHandlerAdapter;\nimport io.netty.handler.ssl.SslHandler;\nimport io.netty.handler.ssl.SslHandshakeCompletionEvent;\nimport io.netty.util.AttributeKey;\nimport org.graylog.security.pki.PemUtils;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport javax.net.ssl.SSLSession;\nimport java.security.cert.X509Certificate;\n\n/**\n * A Netty {@link ChannelInboundHandlerAdapter} that computes the fingerprint of the agent's\n * client certificate after TLS handshake and stores it as a channel attribute.\n *

\n * This handler listens for {@link SslHandshakeCompletionEvent} and, on success, retrieves the\n * peer certificate from the {@link SslHandler}'s SSL session. The fingerprint is stored under\n * {@link #AGENT_CERT_FINGERPRINT} for later handlers to read on a per-request basis.\n */\npublic class AgentCertChannelHandler extends ChannelInboundHandlerAdapter {\n private static final Logger LOG = LoggerFactory.getLogger(AgentCertChannelHandler.class);\n\n public static final AttributeKey AGENT_CERT_FINGERPRINT =\n AttributeKey.valueOf(\"agent-cert-fingerprint\");\n\n @Override\n public void userEventTriggered(ChannelHandlerContext ctx, Object evt) throws Exception {\n if (evt instanceof SslHandshakeCompletionEvent event && event.isSuccess()) {\n final SslHandler sslHandler = ctx.pipeline().get(SslHandler.class);\n final SSLSession session = sslHandler.engine().getSession();\n try {\n final X509Certificate cert = (X509Certificate) session.getPeerCertificates()[0];\n ctx.channel().attr(AGENT_CERT_FINGERPRINT).set(PemUtils.computeFingerprint(cert));\n } catch (Exception e) {\n LOG.warn(\"Failed to compute fingerprint for client certificate\", e);\n }\n }\n ctx.fireUserEventTriggered(evt);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/61473c17c30dad0fda809cb7bfe1c939f6eeada5.json b/web/public/bundles/graylog/code/61473c17c30dad0fda809cb7bfe1c939f6eeada5.json new file mode 100644 index 00000000..d62e5365 --- /dev/null +++ b/web/public/bundles/graylog/code/61473c17c30dad0fda809cb7bfe1c939f6eeada5.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "61473c17c30dad0fda809cb7bfe1c939f6eeada5", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/template/requirement/EnterprisePluginRequirement.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.indexer.indexset.template.requirement;\n\nimport org.graylog2.datatiering.fallback.FallbackDataTieringConfig;\nimport org.graylog2.indexer.indexset.template.IndexSetTemplate;\n\npublic class EnterprisePluginRequirement implements IndexSetTemplateRequirement {\n\n public static final String TEXT = \"This template requires Graylog Enterprise.\";\n\n @Override\n public int priority() {\n return 0;\n }\n\n @Override\n public Result check(IndexSetTemplate indexSetTemplate) {\n if (indexSetTemplate.indexSetConfig().dataTieringConfig() instanceof FallbackDataTieringConfig) {\n return new Result(false, TEXT);\n }\n return new Result(true, \"\");\n }\n\n}\n" +} diff --git a/web/public/bundles/graylog/code/618699f3c2924cb26465cf91695f73b56d088d23.json b/web/public/bundles/graylog/code/618699f3c2924cb26465cf91695f73b56d088d23.json new file mode 100644 index 00000000..1e239f59 --- /dev/null +++ b/web/public/bundles/graylog/code/618699f3c2924cb26465cf91695f73b56d088d23.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "618699f3c2924cb26465cf91695f73b56d088d23", + "language": "typescript", + "path": "graylog2-web-interface/src/components/common/CreateButton.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React, { useCallback, useMemo } from 'react';\nimport type { Permissions } from 'graylog-web-plugin/plugin';\n\nimport IfPermitted from 'components/common/IfPermitted';\nimport { LinkContainer } from 'components/common';\nimport { Button } from 'components/bootstrap';\nimport usePluginEntities from 'hooks/usePluginEntities';\nimport useSendTelemetry from 'logic/telemetry/useSendTelemetry';\n\ntype Props = {\n entityKey: string;\n disabled?: boolean;\n};\n\nconst useEntityCreator = (entityKey: string) => {\n const entityCreators = usePluginEntities('entityCreators');\n\n const entityCreator = useMemo(\n () => entityCreators.find((creator) => creator.id === entityKey),\n [entityCreators, entityKey],\n );\n if (!entityCreator) {\n throw new Error(`Entity creator \"${entityKey}\" not found!`);\n }\n\n return entityCreator;\n};\n\nconst PermissionWrapper = ({\n permissions = undefined,\n children = undefined,\n}: React.PropsWithChildren<{ permissions?: Permissions }>) =>\n permissions ? {children} : <>{children};\n\nconst CreateButton = ({ disabled = false, entityKey }: Props) => {\n const entityCreator = useEntityCreator(entityKey);\n const sendTelemetry = useSendTelemetry(entityCreator.telemetryEvent?.section);\n\n const _onClick = useCallback(() => {\n const { telemetryEvent } = entityCreator;\n if (telemetryEvent) {\n sendTelemetry(telemetryEvent.type, {\n app_action_value: telemetryEvent.actionValue,\n });\n }\n }, [entityCreator, sendTelemetry]);\n\n return (\n \n \n \n \n \n );\n};\n\nexport default CreateButton;\n" +} diff --git a/web/public/bundles/graylog/code/61c5be8be62abd5f15a348a98b00bf2c198c669f.json b/web/public/bundles/graylog/code/61c5be8be62abd5f15a348a98b00bf2c198c669f.json new file mode 100644 index 00000000..f5bbb8e0 --- /dev/null +++ b/web/public/bundles/graylog/code/61c5be8be62abd5f15a348a98b00bf2c198c669f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "61c5be8be62abd5f15a348a98b00bf2c198c669f", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/tools/JsonTesterResource.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.resources.tools;\n\nimport com.codahale.metrics.MetricRegistry;\nimport com.codahale.metrics.annotation.Timed;\nimport com.google.common.collect.ImmutableMap;\nimport io.swagger.v3.oas.annotations.Operation;\nimport io.swagger.v3.oas.annotations.tags.Tag;\nimport jakarta.validation.Valid;\nimport jakarta.validation.constraints.NotEmpty;\nimport jakarta.validation.constraints.NotNull;\nimport jakarta.ws.rs.BadRequestException;\nimport jakarta.ws.rs.Consumes;\nimport jakarta.ws.rs.DefaultValue;\nimport jakarta.ws.rs.GET;\nimport jakarta.ws.rs.POST;\nimport jakarta.ws.rs.Path;\nimport jakarta.ws.rs.Produces;\nimport jakarta.ws.rs.QueryParam;\nimport jakarta.ws.rs.core.MediaType;\nimport org.apache.shiro.authz.annotation.RequiresAuthentication;\nimport org.graylog2.ConfigurationException;\nimport org.graylog2.audit.jersey.NoAuditEvent;\nimport org.graylog2.inputs.extractors.JsonExtractor;\nimport org.graylog2.plugin.inputs.Converter;\nimport org.graylog2.plugin.inputs.Extractor;\nimport org.graylog2.rest.models.tools.requests.JsonTestRequest;\nimport org.graylog2.rest.models.tools.responses.JsonTesterResponse;\nimport org.graylog2.shared.rest.resources.RestResource;\n\nimport java.io.IOException;\nimport java.util.Collections;\nimport java.util.Map;\n\n@RequiresAuthentication\n@Tag(name = \"Tools/JsonTester\", description = \"Test the JSON extractor\")\n@Path(\"/tools/json_tester\")\n@Produces(MediaType.APPLICATION_JSON)\npublic class JsonTesterResource extends RestResource {\n @GET\n @Operation(summary = \"Test JSON extraction of a string\")\n @Timed\n public JsonTesterResponse get(@QueryParam(\"string\") @NotEmpty String string,\n @QueryParam(\"flatten\") @DefaultValue(\"false\") boolean flatten,\n @QueryParam(\"list_separator\") @NotEmpty String listSeparator,\n @QueryParam(\"key_separator\") @NotEmpty String keySeparator,\n @QueryParam(\"replace_key_whitespace\") boolean replaceKeyWhitespace,\n @QueryParam(\"key_whitespace_replacement\") String keyWhitespaceReplacement,\n @QueryParam(\"key_prefix\") String keyPrefix,\n @QueryParam(\"kv_separator\") @NotEmpty String kvSeparator) {\n return testJsonExtractor(string, flatten, listSeparator, keySeparator, kvSeparator, replaceKeyWhitespace, keyWhitespaceReplacement, keyPrefix);\n }\n\n @POST\n @Operation(summary = \"Test JSON extraction of a string\")\n @Timed\n @Consumes(MediaType.APPLICATION_JSON)\n @NoAuditEvent(\"only used for testing JSON extractor\")\n public JsonTesterResponse post(@Valid @NotNull JsonTestRequest r) {\n return testJsonExtractor(r.string(), r.flatten(), r.listSeparator(), r.keySeparator(), r.kvSeparator(), r.replaceKeyWhitespace(), r.keyWhitespaceReplacement(), r.keyPrefix());\n }\n\n private JsonTesterResponse testJsonExtractor(String testString,\n boolean flatten,\n String listSeparator,\n String keySeparator,\n String kvSeparator,\n boolean replaceKeyWhitespace,\n String keyWhitespaceReplacement,\n String keyPrefix) {\n final Map config = ImmutableMap.builder()\n .put(\"flatten\", flatten)\n .put(\"list_separator\", listSeparator)\n .put(\"key_separator\", keySeparator)\n .put(\"kv_separator\", kvSeparator)\n .put(\"replace_key_whitespace\", replaceKeyWhitespace)\n .put(\"key_whitespace_replacement\", keyWhitespaceReplacement)\n .put(\"key_prefix\", keyPrefix)\n .build();\n final JsonExtractor extractor;\n try {\n extractor = new JsonExtractor(\n new MetricRegistry(), \"test\", \"Test\", 0L, Extractor.CursorStrategy.COPY, \"test\", \"test\",\n config, getCurrentUser().getName(), Collections.emptyList(), Extractor.ConditionType.NONE, \"\"\n );\n } catch (Extractor.ReservedFieldException e) {\n throw new BadRequestException(\"Trying to overwrite a reserved message field\", e);\n } catch (ConfigurationException e) {\n throw new BadRequestException(\"Invalid extractor configuration\", e);\n }\n\n final Map result;\n try {\n result = extractor.extractJson(testString);\n } catch (IOException e) {\n throw new BadRequestException(\"Failure running JSON extractor: \" + e.getMessage(), e);\n }\n return JsonTesterResponse.create(result, flatten, listSeparator, keySeparator, kvSeparator, testString);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/61f03e40f083f3574d852c7b8bd22cecfc0a24a1.json b/web/public/bundles/graylog/code/61f03e40f083f3574d852c7b8bd22cecfc0a24a1.json new file mode 100644 index 00000000..d90e6726 --- /dev/null +++ b/web/public/bundles/graylog/code/61f03e40f083f3574d852c7b8bd22cecfc0a24a1.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "61f03e40f083f3574d852c7b8bd22cecfc0a24a1", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/PipelineFacade.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.contentpacks.facades;\n\nimport com.fasterxml.jackson.databind.JsonNode;\nimport com.fasterxml.jackson.databind.ObjectMapper;\nimport com.google.common.annotations.VisibleForTesting;\nimport com.google.common.collect.ImmutableSet;\nimport com.google.common.graph.Graph;\nimport com.google.common.graph.GraphBuilder;\nimport com.google.common.graph.ImmutableGraph;\nimport com.google.common.graph.MutableGraph;\nimport jakarta.inject.Inject;\nimport org.graylog.plugins.pipelineprocessor.ast.Pipeline;\nimport org.graylog.plugins.pipelineprocessor.ast.Stage;\nimport org.graylog.plugins.pipelineprocessor.db.PipelineDao;\nimport org.graylog.plugins.pipelineprocessor.db.PipelineService;\nimport org.graylog.plugins.pipelineprocessor.db.PipelineStreamConnectionsService;\nimport org.graylog.plugins.pipelineprocessor.db.RuleDao;\nimport org.graylog.plugins.pipelineprocessor.db.RuleService;\nimport org.graylog.plugins.pipelineprocessor.parser.PipelineRuleParser;\nimport org.graylog.plugins.pipelineprocessor.rest.PipelineConnections;\nimport org.graylog.plugins.pipelineprocessor.rest.PipelineRestPermissions;\nimport org.graylog2.contentpacks.EntityDescriptorIds;\nimport org.graylog2.contentpacks.exceptions.MissingNativeEntityException;\nimport org.graylog2.contentpacks.model.EntityPermissions;\nimport org.graylog2.contentpacks.model.ModelId;\nimport org.graylog2.contentpacks.model.ModelType;\nimport org.graylog2.contentpacks.model.ModelTypes;\nimport org.graylog2.contentpacks.model.entities.Entity;\nimport org.graylog2.contentpacks.model.entities.EntityDescriptor;\nimport org.graylog2.contentpacks.model.entities.EntityExcerpt;\nimport org.graylog2.contentpacks.model.entities.EntityV1;\nimport org.graylog2.contentpacks.model.entities.NativeEntity;\nimport org.graylog2.contentpacks.model.entities.NativeEntityDescriptor;\nimport org.graylog2.contentpacks.model.entities.PipelineEntity;\nimport org.graylog2.contentpacks.model.entities.references.ValueReference;\nimport org.graylog2.database.NotFoundException;\nimport org.graylog2.plugin.Tools;\nimport org.graylog2.plugin.streams.Stream;\nimport org.graylog2.streams.StreamService;\nimport org.joda.time.DateTime;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.util.Collection;\nimport java.util.Collections;\nimport java.util.Map;\nimport java.util.Objects;\nimport java.util.Optional;\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\nimport static java.util.Objects.requireNonNull;\nimport static org.graylog2.contentpacks.facades.StreamReferenceFacade.getStreamEntityIdOrThrow;\nimport static org.graylog2.contentpacks.facades.StreamReferenceFacade.resolveStreamEntity;\nimport static org.graylog2.contentpacks.facades.StreamReferenceFacade.resolveStreamEntityObject;\n\npublic class PipelineFacade implements EntityFacade {\n private static final Logger LOG = LoggerFactory.getLogger(PipelineFacade.class);\n\n public static final ModelType TYPE_V1 = ModelTypes.PIPELINE_V1;\n\n private final ObjectMapper objectMapper;\n private final PipelineService pipelineService;\n private final PipelineStreamConnectionsService connectionsService;\n private final PipelineRuleParser pipelineRuleParser;\n private final RuleService ruleService;\n private final StreamService streamService;\n\n @Inject\n public PipelineFacade(ObjectMapper objectMapper,\n PipelineService pipelineService,\n PipelineStreamConnectionsService connectionsService,\n PipelineRuleParser pipelineRuleParser,\n RuleService rulesService,\n StreamService streamService\n ) {\n this.objectMapper = objectMapper;\n this.pipelineService = pipelineService;\n this.connectionsService = connectionsService;\n this.pipelineRuleParser = pipelineRuleParser;\n this.ruleService = rulesService;\n this.streamService = streamService;\n }\n\n @VisibleForTesting\n Entity exportNativeEntity(PipelineDao pipelineDao, EntityDescriptorIds entityDescriptorIds) {\n final Set connectedStreams = connectedStreams(pipelineDao.id(), entityDescriptorIds);\n final PipelineEntity pipelineEntity = PipelineEntity.create(\n ValueReference.of(pipelineDao.title()),\n ValueReference.ofNullable(pipelineDao.description()),\n ValueReference.of(pipelineDao.source()),\n connectedStreams);\n final JsonNode data = objectMapper.convertValue(pipelineEntity, JsonNode.class);\n return EntityV1.builder()\n .id(ModelId.of(entityDescriptorIds.getOrThrow(pipelineDao.id(), ModelTypes.PIPELINE_V1)))\n .type(ModelTypes.PIPELINE_V1)\n .data(data)\n .build();\n }\n\n private Set connectedStreams(String pipelineId, EntityDescriptorIds entityDescriptorIds) {\n final Set connections = connectionsService.loadByPipelineId(pipelineId);\n return connections.stream()\n .map(pipelineConnections -> getStreamEntityIdOrThrow(pipelineConnections.streamId(), entityDescriptorIds))\n .map(ValueReference::of)\n .collect(Collectors.toSet());\n }\n\n @Override\n public NativeEntity createNativeEntity(Entity entity,\n Map parameters,\n Map nativeEntities,\n String username) {\n if (entity instanceof EntityV1) {\n return decode((EntityV1) entity, parameters, nativeEntities);\n } else {\n throw new IllegalArgumentException(\"Unsupported entity version: \" + entity.getClass());\n }\n }\n\n private NativeEntity decode(EntityV1 entity,\n Map parameters,\n Map nativeEntities) {\n final DateTime now = Tools.nowUTC();\n final PipelineEntity pipelineEntity = objectMapper.convertValue(entity.data(), PipelineEntity.class);\n final ValueReference description = pipelineEntity.description();\n final PipelineDao pipelineDao = PipelineDao.builder()\n .title(pipelineEntity.title().asString(parameters))\n .description(description == null ? null : description.asString(parameters))\n .source(pipelineEntity.source().asString(parameters))\n .createdAt(now)\n .modifiedAt(now)\n .build();\n final PipelineDao savedPipelineDao = pipelineService.save(pipelineDao);\n final String pipelineId = requireNonNull(savedPipelineDao.id(), \"Saved pipeline ID must not be null\");\n final Set connectedStreamEntities = pipelineEntity.connectedStreams().stream()\n .map(valueReference -> valueReference.asString(parameters))\n .map(streamId -> EntityDescriptor.create(streamId, ModelTypes.STREAM_V1))\n .collect(Collectors.toSet());\n final Set connectedStreams = connectedStreams(connectedStreamEntities, nativeEntities);\n createPipelineConnections(pipelineId, connectedStreams);\n\n return NativeEntity.create(entity.id(), pipelineId, TYPE_V1, savedPipelineDao.title(), savedPipelineDao);\n }\n\n private Set connectedStreams(Set connectedStreamEntities, Map nativeEntities) {\n final ImmutableSet.Builder streams = ImmutableSet.builder();\n for (EntityDescriptor descriptor : connectedStreamEntities) {\n final Object stream = resolveStreamEntityObject(descriptor.id().id(), nativeEntities);\n if (stream instanceof Stream) {\n streams.add((Stream) stream);\n } else {\n if (ModelTypes.STREAM_V1.equals(descriptor.type()) && streamService.getSystemStreamIds(true).contains(descriptor.id().id())) {\n try {\n streams.add(streamService.load(descriptor.id().id()));\n } catch (NotFoundException e) {\n LOG.warn(\"Default stream {} not found!\", descriptor.id().id(), e);\n throw new MissingNativeEntityException(descriptor);\n }\n } else {\n throw new MissingNativeEntityException(descriptor);\n }\n }\n }\n return streams.build();\n }\n\n private void createPipelineConnections(String pipelineId, Set connectedStreams) {\n for (Stream stream : connectedStreams) {\n final String streamId = stream.getId();\n try {\n final PipelineConnections connections = connectionsService.load(streamId);\n final Set newPipelines = ImmutableSet.builder()\n .addAll(connections.pipelineIds())\n .add(pipelineId)\n .build();\n final PipelineConnections newConnections = connections.toBuilder()\n .pipelineIds(newPipelines)\n .build();\n final PipelineConnections savedConnections = connectionsService.save(newConnections);\n LOG.trace(\"Saved pipeline connections: {}\", savedConnections);\n } catch (NotFoundException e) {\n final PipelineConnections connections = PipelineConnections.builder()\n .streamId(streamId)\n .pipelineIds(Collections.singleton(pipelineId))\n .build();\n final PipelineConnections savedConnections = connectionsService.save(connections);\n LOG.trace(\"Saved pipeline connections: {}\", savedConnections);\n }\n }\n }\n\n @Override\n public Optional> loadNativeEntity(NativeEntityDescriptor nativeEntityDescriptor) {\n try {\n final PipelineDao pipeline = pipelineService.load(nativeEntityDescriptor.id().id());\n return Optional.of(NativeEntity.create(nativeEntityDescriptor, pipeline));\n } catch (NotFoundException e) {\n return Optional.empty();\n }\n }\n\n @Override\n public void delete(PipelineDao nativeEntity) {\n final Set pipelineConnections = connectionsService.loadByPipelineId(nativeEntity.id());\n for (PipelineConnections connections : pipelineConnections) {\n final Set pipelineIds = connections.pipelineIds().stream()\n .filter(pipelineId -> !pipelineId.equals(nativeEntity.id()))\n .collect(Collectors.toSet());\n\n if (pipelineIds.isEmpty()) {\n LOG.trace(\"Removing pipeline connections for stream {}\", connections.streamId());\n connectionsService.delete(connections.streamId());\n } else {\n final PipelineConnections newConnections = connections.toBuilder()\n .pipelineIds(pipelineIds)\n .build();\n LOG.trace(\"Saving updated pipeline connections: {}\", newConnections);\n connectionsService.save(newConnections);\n }\n }\n\n pipelineService.delete(nativeEntity.id());\n }\n\n @Override\n public EntityExcerpt createExcerpt(PipelineDao pipeline) {\n return EntityExcerpt.builder()\n .id(ModelId.of(pipeline.id()))\n .type(ModelTypes.PIPELINE_V1)\n .title(pipeline.title())\n .build();\n }\n\n @Override\n public Set listEntityExcerpts() {\n return pipelineService.loadAll().stream()\n .map(this::createExcerpt)\n .collect(Collectors.toSet());\n }\n\n @Override\n public Optional exportEntity(EntityDescriptor entityDescriptor, EntityDescriptorIds entityDescriptorIds) {\n final ModelId modelId = entityDescriptor.id();\n try {\n final PipelineDao pipelineDao = pipelineService.load(modelId.id());\n return Optional.of(exportNativeEntity(pipelineDao, entityDescriptorIds));\n } catch (NotFoundException e) {\n LOG.debug(\"Couldn't find pipeline {}\", entityDescriptor, e);\n return Optional.empty();\n }\n }\n\n @Override\n public Graph resolveNativeEntity(EntityDescriptor entityDescriptor) {\n final MutableGraph mutableGraph = GraphBuilder.directed().build();\n mutableGraph.addNode(entityDescriptor);\n\n final ModelId modelId = entityDescriptor.id();\n try {\n final PipelineDao pipelineDao = pipelineService.load(modelId.id());\n final String pipelineSource = pipelineDao.source();\n final Collection referencedRules = referencedRules(pipelineSource);\n referencedRules.stream()\n .map(ModelId::of)\n .map(id -> EntityDescriptor.create(id, ModelTypes.PIPELINE_RULE_V1))\n .forEach(rule -> mutableGraph.putEdge(entityDescriptor, rule));\n\n final Set pipelineConnections = connectionsService.loadByPipelineId(pipelineDao.id());\n pipelineConnections.stream()\n .map(PipelineConnections::streamId)\n .map(ModelId::of)\n .map(id -> EntityDescriptor.create(id, ModelTypes.STREAM_REF_V1))\n .forEach(stream -> mutableGraph.putEdge(entityDescriptor, stream));\n } catch (NotFoundException e) {\n LOG.debug(\"Couldn't find pipeline {}\", entityDescriptor, e);\n }\n\n return ImmutableGraph.copyOf(mutableGraph);\n }\n\n @Override\n public Graph resolveForInstallation(Entity entity,\n Map parameters,\n Map entities) {\n if (entity instanceof EntityV1) {\n return resolveForInstallation((EntityV1) entity, parameters, entities);\n } else {\n throw new IllegalArgumentException(\"Unsupported entity version: \" + entity.getClass());\n }\n }\n\n private Graph resolveForInstallation(EntityV1 entity,\n Map parameters,\n Map entities) {\n final MutableGraph mutableGraph = GraphBuilder.directed().build();\n mutableGraph.addNode(entity);\n\n final PipelineEntity pipelineEntity = objectMapper.convertValue(entity.data(), PipelineEntity.class);\n final String source = pipelineEntity.source().asString(parameters);\n final Collection referencedRules = referencedRules(source);\n referencedRules.stream()\n .map(ModelId::of)\n .map(modelId -> EntityDescriptor.create(modelId, ModelTypes.PIPELINE_RULE_V1))\n .map(entities::get)\n .filter(Objects::nonNull)\n .forEach(ruleEntity -> mutableGraph.putEdge(entity, ruleEntity));\n\n pipelineEntity.connectedStreams().stream()\n .map(valueReference -> valueReference.asString(parameters))\n .map(id -> resolveStreamEntity(id, entities))\n .filter(Objects::nonNull)\n .forEach(streamEntity -> mutableGraph.putEdge(entity, streamEntity));\n\n return ImmutableGraph.copyOf(mutableGraph);\n }\n\n private Collection referencedRules(String pipelineSource) {\n final Pipeline pipeline = pipelineRuleParser.parsePipeline(\"dummy\", pipelineSource);\n return pipeline.stages().stream()\n .map(Stage::ruleReferences)\n .flatMap(Collection::stream)\n .map(ruleService::findByName)\n .filter(Optional::isPresent)\n .map(Optional::get)\n .map(RuleDao::id)\n .collect(Collectors.toSet());\n }\n\n @Override\n public Optional getCreatePermissions(Entity entity) {\n return EntityPermissions.of(PipelineRestPermissions.PIPELINE_CREATE);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/6359c59f1c4bb37ac096fd17cd856f4a0b0dbbff.json b/web/public/bundles/graylog/code/6359c59f1c4bb37ac096fd17cd856f4a0b0dbbff.json new file mode 100644 index 00000000..b881190f --- /dev/null +++ b/web/public/bundles/graylog/code/6359c59f1c4bb37ac096fd17cd856f4a0b0dbbff.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6359c59f1c4bb37ac096fd17cd856f4a0b0dbbff", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/NamedConfigParametersOverrideModule.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.bindings;\n\nimport com.github.joschi.jadconfig.Parameter;\nimport com.google.inject.AbstractModule;\nimport com.google.inject.Key;\nimport com.google.inject.TypeLiteral;\nimport com.google.inject.util.Providers;\nimport org.reflections.ReflectionUtils;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.lang.reflect.Field;\nimport java.lang.reflect.Method;\nimport java.util.Collection;\nimport java.util.HashMap;\nimport java.util.HashSet;\nimport java.util.Map;\nimport java.util.Objects;\nimport java.util.Set;\nimport java.util.function.Function;\nimport java.util.stream.Collectors;\n\nimport static com.github.joschi.jadconfig.ReflectionUtils.getAllFields;\nimport static com.github.joschi.jadconfig.ReflectionUtils.getFieldValue;\nimport static com.google.inject.name.Names.named;\nimport static org.graylog2.shared.utilities.StringUtils.f;\n\n/**\n * A Guice module which registers all fields of the provided objects annotated with {@link Parameter}\n * as named bindings and optionally also adds bindings of the object instances themselves.\n * For more flexibility, getter methods can also be used, which must be annotated with {@link NamedBindingOverride}.\n * This class is based off {@link com.github.joschi.jadconfig.guice.NamedConfigParametersModule}\n *\n * @see com.google.inject.name.Named\n */\npublic class NamedConfigParametersOverrideModule extends AbstractModule {\n\n private static final Logger LOG = LoggerFactory.getLogger(NamedConfigParametersOverrideModule.class);\n\n private final Set beans;\n private final boolean registerBeans;\n\n /**\n * Tracks the declaring class for each binding key.\n * Used to skip rebinding inherited keys.\n */\n private final Map, Class> keyOwners = new HashMap<>();\n\n public NamedConfigParametersOverrideModule(final Collection beans, final boolean registerBeans) {\n this.beans = new HashSet<>(beans);\n this.registerBeans = registerBeans;\n }\n\n public NamedConfigParametersOverrideModule(final Collection beans) {\n this(beans, true);\n }\n\n @Override\n protected void configure() {\n if (registerBeans) {\n registerBeanInstances();\n }\n\n for (final Object bean : beans) {\n registerParameters(bean);\n }\n }\n\n @SuppressWarnings({\"unchecked\", \"rawtypes\"})\n private void registerParameters(Object bean) {\n final Field[] fields = getAllFields(bean.getClass());\n Map methodOverrides = ReflectionUtils.getAllMethods(bean.getClass()).stream()\n .filter(obj -> Objects.nonNull(obj.getAnnotation(NamedBindingOverride.class)))\n .collect(Collectors.toMap(obj -> obj.getAnnotation(NamedBindingOverride.class).value(), Function.identity()));\n\n for (Field field : fields) {\n final Parameter parameter = field.getAnnotation(Parameter.class);\n\n if (parameter != null) {\n try {\n final TypeLiteral typeLiteral = TypeLiteral.get(field.getGenericType());\n Object value = getFieldValue(bean, field);\n String parameterName = parameter.value();\n if (methodOverrides.containsKey(parameterName)) {\n Method method = methodOverrides.get(parameterName);\n TypeLiteral methodTypeLiteral = TypeLiteral.get(method.getGenericReturnType());\n if (!typeLiteral.equals(methodTypeLiteral)) {\n throw new IllegalStateException(f(\"Parameter %s type mismatch @%s#%s <> @%s#%s\",\n parameterName,\n NamedBindingOverride.class.getSimpleName(),\n methodTypeLiteral,\n Parameter.class.getSimpleName(),\n typeLiteral\n ));\n }\n value = ReflectionUtils.invoke(method, bean);\n }\n\n Key key = Key.get(typeLiteral, named(parameterName));\n Class declaringClass = field.getDeclaringClass();\n Class previousClass = keyOwners.putIfAbsent(key, declaringClass);\n\n // Prevent re-binding inherited keys\n if (previousClass != null && previousClass == declaringClass) {\n LOG.debug(\"Skipping duplicate binding for field '{}'\", field.getName());\n continue;\n }\n\n if (value == null) {\n bind(typeLiteral).annotatedWith(named(parameterName)).toProvider(Providers.of(null));\n } else {\n bind(typeLiteral).annotatedWith(named(parameterName)).toInstance(value);\n }\n } catch (IllegalAccessException e) {\n LOG.warn(\"Couldn't bind \\\"\" + field.getName() + \"\\\"\", e);\n }\n } else {\n LOG.debug(\"Skipping field {}\", field.getName());\n }\n }\n }\n\n @SuppressWarnings({\"unchecked\", \"rawtypes\"})\n private void registerBeanInstances() {\n for (final Object bean : beans) {\n final TypeLiteral typeLiteral = TypeLiteral.get(bean.getClass());\n bind(typeLiteral).toInstance(bean);\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/63d46016907f24a0fde076ac9d17c5fdbe7f07ae.json b/web/public/bundles/graylog/code/63d46016907f24a0fde076ac9d17c5fdbe7f07ae.json new file mode 100644 index 00000000..6a775002 --- /dev/null +++ b/web/public/bundles/graylog/code/63d46016907f24a0fde076ac9d17c5fdbe7f07ae.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "63d46016907f24a0fde076ac9d17c5fdbe7f07ae", + "language": "typescript", + "path": "graylog2-web-interface/src/preflight/hooks/useConfigurationStep.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\n\nimport { useMemo } from 'react';\n\nimport { CONFIGURATION_STEPS, DATA_NODES_STATUS } from 'preflight/Constants';\nimport type { DataNodes, ConfigurationStep, DataNodesCA, RenewalPolicy } from 'preflight/types';\nimport useDataNodes from 'preflight/hooks/useDataNodes';\nimport useRenewalPolicy from 'preflight/hooks/useRenewalPolicy';\nimport type FetchError from 'logic/errors/FetchError';\n\nimport useDataNodesCA from './useDataNodesCA';\n\nconst configurationStep = (\n dataNodes: DataNodes,\n dataNodesCA: DataNodesCA,\n renewalPolicy: RenewalPolicy,\n isSkippingProvisioning: boolean,\n) => {\n if (!dataNodesCA) {\n return CONFIGURATION_STEPS.CA_CONFIGURATION.key;\n }\n\n if (!renewalPolicy) {\n return CONFIGURATION_STEPS.RENEWAL_POLICY_CONFIGURATION.key;\n }\n\n const finishedProvisioning =\n !!dataNodes?.length && !dataNodes.some((dataNode) => dataNode.status !== DATA_NODES_STATUS.CONNECTED);\n\n if (!finishedProvisioning && !isSkippingProvisioning) {\n return CONFIGURATION_STEPS.CERTIFICATE_PROVISIONING.key;\n }\n\n return CONFIGURATION_STEPS.CONFIGURATION_FINISHED.key;\n};\n\ntype Props = {\n isSkippingProvisioning: boolean;\n};\n\ntype Result = {\n step: ConfigurationStep | null;\n isLoading: boolean;\n errors: Array<{ entityName: string; error: FetchError }> | null;\n};\n\nconst useConfigurationStep = ({ isSkippingProvisioning }: Props): Result => {\n const { data: dataNodes, isInitialLoading: isLoadingDataNodes, error: dataNodesError } = useDataNodes();\n const { data: dataNodesCA, isInitialLoading: isLoadingCAStatus, error: caError } = useDataNodesCA();\n const {\n data: renewalPolicy,\n isInitialLoading: isLoadingRenewalPolicy,\n error: renewalPolicyError,\n } = useRenewalPolicy();\n const step = configurationStep(dataNodes, dataNodesCA, renewalPolicy, isSkippingProvisioning);\n\n return useMemo(() => {\n if (dataNodesError || caError || renewalPolicyError) {\n const errors = [\n { entityName: 'data nodes', error: dataNodesError },\n { entityName: 'certificate authority', error: caError },\n { entityName: 'renewal policy', error: renewalPolicyError },\n ].filter(({ error }) => !!error);\n\n return { isLoading: false, step: null, errors };\n }\n\n if (isLoadingDataNodes || isLoadingCAStatus || isLoadingRenewalPolicy) {\n return { isLoading: true, step: null, errors: null };\n }\n\n return {\n isLoading: false,\n step,\n errors: null,\n };\n }, [\n caError,\n dataNodesError,\n isLoadingCAStatus,\n isLoadingDataNodes,\n isLoadingRenewalPolicy,\n renewalPolicyError,\n step,\n ]);\n};\n\nexport default useConfigurationStep;\n" +} diff --git a/web/public/bundles/graylog/code/63f086d9126ed39844ca3a9857c435a6834f714f.json b/web/public/bundles/graylog/code/63f086d9126ed39844ca3a9857c435a6834f714f.json new file mode 100644 index 00000000..81b0d6c0 --- /dev/null +++ b/web/public/bundles/graylog/code/63f086d9126ed39844ca3a9857c435a6834f714f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "63f086d9126ed39844ca3a9857c435a6834f714f", + "language": "typescript", + "path": "graylog2-web-interface/src/views/components/Query.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\n\nimport DocsHelper from 'util/DocsHelper';\nimport { Jumbotron } from 'components/bootstrap';\nimport DocumentationLink from 'components/support/DocumentationLink';\nimport IfDashboard from 'views/components/dashboard/IfDashboard';\nimport IfSearch from 'views/components/search/IfSearch';\nimport WidgetGrid from 'views/components/WidgetGrid';\nimport useWidgets from 'views/hooks/useWidgets';\nimport usePluggableUpsellWrapper from 'hooks/usePluggableUpsellWrapper';\n\nconst NoWidgetsInfo = () => {\n const UpsellWrapper = usePluggableUpsellWrapper();\n\n return (\n \n

\n This dashboard has no widgets yet\n There are no widgets defined to visualize the search result\n

\n
\n

\n Create a new widget by selecting a widget type in the left sidebar section "Create".\n
\n

\n

A few tips for creating searches and dashboards

\n
    \n
  • \n

    \n 1. Start with a question you want to answer. Define the problem you want to solve.\n

    \n
  • \n
  • \n

    \n 2. Limit the data to only the data points you want to see.\n

    \n
  • \n
  • \n

    \n 3. Visualize the data. Does it answer your question?\n

    \n
  • \n \n
  • \n

    \n 4. Share the dashboard with your colleagues. Prepare it for reuse by using parameters\n \n {' '}\n (contained in{' '}\n \n Graylog Enterprise\n \n )\n \n .\n

    \n
  • \n
    \n
\n

\n You can also have a look at the ,\n to learn more about the widget creation.\n

\n
\n );\n};\n\nconst useHasWidgets = () => {\n const widgets = useWidgets();\n\n return widgets?.size > 0;\n};\n\nconst Query = () => {\n const hasWidgets = useHasWidgets();\n\n return hasWidgets ? : ;\n};\n\nconst memoizedQuery = React.memo(Query);\nmemoizedQuery.displayName = 'Query';\n\nexport default memoizedQuery;\n" +} diff --git a/web/public/bundles/graylog/code/647e8aaf5a3ef4e4f27bd9055367f2462e201748.json b/web/public/bundles/graylog/code/647e8aaf5a3ef4e4f27bd9055367f2462e201748.json new file mode 100644 index 00000000..c8697d9c --- /dev/null +++ b/web/public/bundles/graylog/code/647e8aaf5a3ef4e4f27bd9055367f2462e201748.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "647e8aaf5a3ef4e4f27bd9055367f2462e201748", + "language": "typescript", + "path": "graylog2-web-interface/src/preflight/theme/constants.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport type { ColorScheme } from 'theme/sawmill';\nimport { COLOR_SCHEME_LIGHT, COLOR_SCHEME_DARK } from 'theme/sawmill';\n\nconst prefersDarkMode = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches;\n\nconst DEFAULT_THEME_MODE: ColorScheme = prefersDarkMode ? COLOR_SCHEME_DARK : COLOR_SCHEME_LIGHT;\n\nexport { DEFAULT_THEME_MODE };\n" +} diff --git a/web/public/bundles/graylog/code/6501ba0aec86d118ecd9351dd446949c422f6fc3.json b/web/public/bundles/graylog/code/6501ba0aec86d118ecd9351dd446949c422f6fc3.json new file mode 100644 index 00000000..7c0b25d0 --- /dev/null +++ b/web/public/bundles/graylog/code/6501ba0aec86d118ecd9351dd446949c422f6fc3.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6501ba0aec86d118ecd9351dd446949c422f6fc3", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/rest/PrintModelProcessor.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.shared.rest;\n\nimport com.google.common.base.Joiner;\nimport org.glassfish.jersey.server.model.ModelProcessor;\nimport org.glassfish.jersey.server.model.Resource;\nimport org.glassfish.jersey.server.model.ResourceMethod;\nimport org.glassfish.jersey.server.model.ResourceModel;\nimport org.graylog2.rest.RestTools;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport jakarta.ws.rs.core.Configuration;\n\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.List;\nimport java.util.Locale;\nimport java.util.Set;\n\npublic class PrintModelProcessor implements ModelProcessor {\n private static final Logger LOG = LoggerFactory.getLogger(\"REST API\");\n\n @Override\n public ResourceModel processResourceModel(ResourceModel resourceModel, Configuration configuration) {\n LOG.debug(\"Map for resource model <\" + resourceModel + \">:\");\n final List resources = new ArrayList<>();\n\n for (Resource resource : resourceModel.getResources()) {\n resources.add(resource);\n resources.addAll(findChildResources(resource));\n }\n\n logResources(resources);\n\n return resourceModel;\n }\n\n @Override\n public ResourceModel processSubResource(ResourceModel subResourceModel, Configuration configuration) {\n LOG.debug(\"Map for sub-resource model <\" + subResourceModel + \">:\");\n logResources(subResourceModel.getResources());\n\n return subResourceModel;\n }\n\n private void logResources(List resources) {\n final List resourceDescriptions = new ArrayList<>();\n for (Resource resource : resources) {\n for (ResourceMethod resourceMethod : resource.getAllMethods()) {\n final String path = RestTools.getPathFromResource(resource);\n resourceDescriptions.add(new ResourceDescription(resourceMethod.getHttpMethod(), path, resource.getHandlerClasses()));\n }\n }\n\n Collections.sort(resourceDescriptions);\n for (ResourceDescription resource : resourceDescriptions) {\n LOG.debug(resource.toString());\n }\n }\n\n private List findChildResources(Resource parentResource) {\n final List childResources = new ArrayList<>();\n for (Resource resource : parentResource.getChildResources()) {\n childResources.add(resource);\n childResources.addAll(findChildResources(resource));\n }\n\n return childResources;\n }\n\n private static class ResourceDescription implements Comparable {\n private String method;\n private String path;\n private Set> handlerClasses;\n\n private ResourceDescription(String method, String path, Set> handlerClasses) {\n this.method = method;\n this.path = path;\n this.handlerClasses = handlerClasses;\n }\n\n @Override\n public int compareTo(final ResourceDescription o) {\n if (this.path.compareTo(o.path) == 0) {\n return this.method.compareTo(o.method);\n } else {\n return this.path.compareTo(o.path);\n }\n }\n\n @Override\n public String toString() {\n return String.format(Locale.ENGLISH, \" %-7s %s (%s)\", method, path, Joiner.on(\", \").join(handlerClasses));\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/65e88bd39e0a5a29d52df0fa82a0eee57ccd4251.json b/web/public/bundles/graylog/code/65e88bd39e0a5a29d52df0fa82a0eee57ccd4251.json new file mode 100644 index 00000000..33fbb6d9 --- /dev/null +++ b/web/public/bundles/graylog/code/65e88bd39e0a5a29d52df0fa82a0eee57ccd4251.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "65e88bd39e0a5a29d52df0fa82a0eee57ccd4251", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/events/contentpack/entities/EmailEventNotificationConfigEntity.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.events.contentpack.entities;\n\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.jackson.annotation.JsonTypeName;\nimport com.fasterxml.jackson.databind.annotation.JsonDeserialize;\nimport com.google.auto.value.AutoValue;\nimport org.graylog.events.notifications.EventNotificationConfig;\nimport org.graylog.events.notifications.types.EmailEventNotificationConfig;\nimport org.graylog2.contentpacks.model.entities.EntityDescriptor;\nimport org.graylog2.contentpacks.model.entities.references.ValueReference;\nimport org.joda.time.DateTimeZone;\n\nimport java.util.Map;\nimport java.util.Set;\n\n@AutoValue\n@JsonTypeName(EmailEventNotificationConfigEntity.TYPE_NAME)\n@JsonDeserialize(builder = EmailEventNotificationConfigEntity.Builder.class)\npublic abstract class EmailEventNotificationConfigEntity implements EventNotificationConfigEntity {\n\n public static final String TYPE_NAME = \"email-notification-v1\";\n private static final String FIELD_SENDER = \"sender\";\n private static final String FIELD_REPLY_TO = \"replyTo\";\n private static final String FIELD_SUBJECT = \"subject\";\n private static final String FIELD_BODY_TEMPLATE = \"body_template\";\n private static final String FIELD_HTML_BODY_TEMPLATE = \"html_body_template\";\n private static final String FIELD_EMAIL_RECIPIENTS = \"email_recipients\";\n private static final String FIELD_USER_RECIPIENTS = \"user_recipients\";\n private static final String FIELD_TIME_ZONE = \"time_zone\";\n private static final String FIELD_LOOKUP_RECIPIENT_EMAILS = \"lookup_recipient_emails\";\n private static final String FIELD_RECIPIENTS_LOOKUP_TABLE_NAME = \"recipients_lut_name\";\n private static final String FIELD_RECIPIENTS_LOOKUP_TABLE_KEY = \"recipients_lut_key\";\n private static final String FIELD_LOOKUP_SENDER_EMAIL = \"lookup_sender_email\";\n private static final String FIELD_SENDER_LOOKUP_TABLE_NAME = \"sender_lut_name\";\n private static final String FIELD_SENDER_LOOKUP_TABLE_KEY = \"sender_lut_key\";\n private static final String FIELD_LOOKUP_REPLY_TO_EMAIL = \"lookup_reply_to_email\";\n private static final String FIELD_REPLY_TO_LOOKUP_TABLE_NAME = \"reply_to_lut_name\";\n private static final String FIELD_REPLY_TO_LOOKUP_TABLE_KEY = \"reply_to_lut_key\";\n private static final String FIELD_SINGLE_EMAIL = \"single_email\";\n private static final String FIELD_CC_USERS = \"cc_users\";\n private static final String FIELD_CC_EMAILS = \"cc_emails\";\n private static final String FIELD_LOOKUP_CC_EMAILS = \"lookup_cc_emails\";\n private static final String FIELD_CC_EMAILS_LOOKUP_TABLE_NAME = \"cc_emails_lut_name\";\n private static final String FIELD_CC_EMAILS_LOOKUP_TABLE_KEY = \"cc_emails_lut_key\";\n private static final String FIELD_BCC_USERS = \"bcc_users\";\n private static final String FIELD_BCC_EMAILS = \"bcc_emails\";\n private static final String FIELD_LOOKUP_BCC_EMAILS = \"lookup_bcc_emails\";\n private static final String FIELD_BCC_EMAILS_LOOKUP_TABLE_NAME = \"bcc_emails_lut_name\";\n private static final String FIELD_BCC_EMAILS_LOOKUP_TABLE_KEY = \"bcc_emails_lut_key\";\n private static final String FIELD_INCLUDE_EVENT_PROCEDURE = \"include_event_procedures\";\n\n @JsonProperty(FIELD_SENDER)\n public abstract ValueReference sender();\n\n @JsonProperty(FIELD_REPLY_TO)\n public abstract ValueReference replyTo();\n\n @JsonProperty(FIELD_SUBJECT)\n public abstract ValueReference subject();\n\n @JsonProperty(FIELD_BODY_TEMPLATE)\n public abstract ValueReference bodyTemplate();\n\n @JsonProperty(FIELD_HTML_BODY_TEMPLATE)\n public abstract ValueReference htmlBodyTemplate();\n\n @JsonProperty(FIELD_EMAIL_RECIPIENTS)\n public abstract Set emailRecipients();\n\n @JsonProperty(FIELD_USER_RECIPIENTS)\n public abstract Set userRecipients();\n\n @JsonProperty(FIELD_TIME_ZONE)\n public abstract ValueReference timeZone();\n\n @JsonProperty(FIELD_LOOKUP_RECIPIENT_EMAILS)\n public abstract ValueReference lookupRecipientEmails();\n\n @JsonProperty(FIELD_RECIPIENTS_LOOKUP_TABLE_NAME)\n public abstract ValueReference recipientsLUTName();\n\n @JsonProperty(FIELD_RECIPIENTS_LOOKUP_TABLE_KEY)\n public abstract ValueReference recipientsLUTKey();\n\n @JsonProperty(FIELD_LOOKUP_SENDER_EMAIL)\n public abstract ValueReference lookupSenderEmail();\n\n @JsonProperty(FIELD_SENDER_LOOKUP_TABLE_NAME)\n public abstract ValueReference senderLUTName();\n\n @JsonProperty(FIELD_SENDER_LOOKUP_TABLE_KEY)\n public abstract ValueReference senderLUTKey();\n\n @JsonProperty(FIELD_LOOKUP_REPLY_TO_EMAIL)\n public abstract ValueReference lookupReplyToEmail();\n\n @JsonProperty(FIELD_REPLY_TO_LOOKUP_TABLE_NAME)\n public abstract ValueReference replyToLUTName();\n\n @JsonProperty(FIELD_REPLY_TO_LOOKUP_TABLE_KEY)\n public abstract ValueReference replyToLUTKey();\n\n @JsonProperty(FIELD_SINGLE_EMAIL)\n public abstract ValueReference singleEmail();\n\n @JsonProperty(FIELD_CC_USERS)\n public abstract Set ccUsers();\n\n @JsonProperty(FIELD_CC_EMAILS)\n public abstract Set ccEmails();\n\n @JsonProperty(FIELD_LOOKUP_CC_EMAILS)\n public abstract ValueReference lookupCcEmails();\n\n @JsonProperty(FIELD_CC_EMAILS_LOOKUP_TABLE_NAME)\n public abstract ValueReference ccEmailsLUTName();\n\n @JsonProperty(FIELD_CC_EMAILS_LOOKUP_TABLE_KEY)\n public abstract ValueReference ccEmailsLUTKey();\n\n @JsonProperty(FIELD_BCC_USERS)\n public abstract Set bccUsers();\n\n @JsonProperty(FIELD_BCC_EMAILS)\n public abstract Set bccEmails();\n\n @JsonProperty(FIELD_LOOKUP_BCC_EMAILS)\n public abstract ValueReference lookupBccEmails();\n\n @JsonProperty(FIELD_BCC_EMAILS_LOOKUP_TABLE_NAME)\n public abstract ValueReference bccEmailsLUTName();\n\n @JsonProperty(FIELD_BCC_EMAILS_LOOKUP_TABLE_KEY)\n public abstract ValueReference bccEmailsLUTKey();\n\n @JsonProperty(FIELD_INCLUDE_EVENT_PROCEDURE)\n public abstract ValueReference includeEventProcedure();\n\n public static Builder builder() {\n return Builder.create();\n }\n\n public abstract Builder toBuilder();\n\n @AutoValue.Builder\n public static abstract class Builder implements EventNotificationConfigEntity.Builder {\n\n @JsonCreator\n public static Builder create() {\n return new AutoValue_EmailEventNotificationConfigEntity.Builder()\n .type(TYPE_NAME)\n .htmlBodyTemplate(ValueReference.of(\"\"))\n .timeZone(ValueReference.of(\"UTC\"))\n .replyTo(ValueReference.of(\"\"))\n .lookupRecipientEmails(ValueReference.of(false))\n .recipientsLUTName(ValueReference.of(\"\"))\n .recipientsLUTKey(ValueReference.of(\"\"))\n .lookupSenderEmail(ValueReference.of(false))\n .senderLUTName(ValueReference.of(\"\"))\n .senderLUTKey(ValueReference.of(\"\"))\n .lookupReplyToEmail(ValueReference.of(false))\n .replyToLUTName(ValueReference.of(\"\"))\n .replyToLUTKey(ValueReference.of(\"\"))\n .singleEmail(ValueReference.of(false))\n .ccUsers(Set.of())\n .ccEmails(Set.of())\n .bccUsers(Set.of())\n .bccEmails(Set.of())\n .lookupCcEmails(ValueReference.of(false))\n .ccEmailsLUTName(ValueReference.of(\"\"))\n .ccEmailsLUTKey(ValueReference.of(\"\"))\n .lookupBccEmails(ValueReference.of(false))\n .bccEmailsLUTName(ValueReference.of(\"\"))\n .bccEmailsLUTKey(ValueReference.of(\"\"))\n .includeEventProcedure(ValueReference.of(false));\n }\n\n @JsonProperty(FIELD_SENDER)\n public abstract Builder sender(ValueReference sender);\n\n @JsonProperty(FIELD_REPLY_TO)\n public abstract Builder replyTo(ValueReference sender);\n\n @JsonProperty(FIELD_SUBJECT)\n public abstract Builder subject(ValueReference subject);\n\n @JsonProperty(FIELD_BODY_TEMPLATE)\n public abstract Builder bodyTemplate(ValueReference bodyTemplate);\n\n @JsonProperty(FIELD_HTML_BODY_TEMPLATE)\n public abstract Builder htmlBodyTemplate(ValueReference htmlBodyTemplate);\n\n @JsonProperty(FIELD_EMAIL_RECIPIENTS)\n public abstract Builder emailRecipients(Set emailRecipients);\n\n @JsonProperty(FIELD_USER_RECIPIENTS)\n public abstract Builder userRecipients(Set userRecipients);\n\n @JsonProperty(FIELD_TIME_ZONE)\n public abstract Builder timeZone(ValueReference timeZone);\n\n @JsonProperty(FIELD_LOOKUP_RECIPIENT_EMAILS)\n public abstract Builder lookupRecipientEmails(ValueReference lookupRecipientEmails);\n\n @JsonProperty(FIELD_RECIPIENTS_LOOKUP_TABLE_NAME)\n public abstract Builder recipientsLUTName(ValueReference recipientsLUTName);\n\n @JsonProperty(FIELD_RECIPIENTS_LOOKUP_TABLE_KEY)\n public abstract Builder recipientsLUTKey(ValueReference recipientsLUTKey);\n\n @JsonProperty(FIELD_LOOKUP_SENDER_EMAIL)\n public abstract Builder lookupSenderEmail(ValueReference lookupSenderEmail);\n\n @JsonProperty(FIELD_SENDER_LOOKUP_TABLE_NAME)\n public abstract Builder senderLUTName(ValueReference senderLUTName);\n\n @JsonProperty(FIELD_SENDER_LOOKUP_TABLE_KEY)\n public abstract Builder senderLUTKey(ValueReference senderLUTKey);\n\n @JsonProperty(FIELD_LOOKUP_REPLY_TO_EMAIL)\n public abstract Builder lookupReplyToEmail(ValueReference lookupReplyToEmail);\n\n @JsonProperty(FIELD_REPLY_TO_LOOKUP_TABLE_NAME)\n public abstract Builder replyToLUTName(ValueReference replyToLUTName);\n\n @JsonProperty(FIELD_REPLY_TO_LOOKUP_TABLE_KEY)\n public abstract Builder replyToLUTKey(ValueReference replyToLUTKey);\n\n @JsonProperty(FIELD_SINGLE_EMAIL)\n public abstract Builder singleEmail(ValueReference singleEmail);\n\n @JsonProperty(FIELD_CC_USERS)\n public abstract Builder ccUsers(Set ccUsers);\n\n @JsonProperty(FIELD_CC_EMAILS)\n public abstract Builder ccEmails(Set ccEmails);\n\n @JsonProperty(FIELD_LOOKUP_CC_EMAILS)\n public abstract Builder lookupCcEmails(ValueReference lookupCcEmails);\n\n @JsonProperty(FIELD_CC_EMAILS_LOOKUP_TABLE_NAME)\n public abstract Builder ccEmailsLUTName(ValueReference ccEmailsLUTName);\n\n @JsonProperty(FIELD_CC_EMAILS_LOOKUP_TABLE_KEY)\n public abstract Builder ccEmailsLUTKey(ValueReference ccEmailsLUTKey);\n\n @JsonProperty(FIELD_BCC_USERS)\n public abstract Builder bccUsers(Set bccUsers);\n\n @JsonProperty(FIELD_BCC_EMAILS)\n public abstract Builder bccEmails(Set bccEmails);\n\n @JsonProperty(FIELD_LOOKUP_BCC_EMAILS)\n public abstract Builder lookupBccEmails(ValueReference lookupBccEmails);\n\n @JsonProperty(FIELD_BCC_EMAILS_LOOKUP_TABLE_NAME)\n public abstract Builder bccEmailsLUTName(ValueReference bccEmailsLUTName);\n\n @JsonProperty(FIELD_BCC_EMAILS_LOOKUP_TABLE_KEY)\n public abstract Builder bccEmailsLUTKey(ValueReference bccEmailsLUTKey);\n\n @JsonProperty(FIELD_INCLUDE_EVENT_PROCEDURE)\n public abstract Builder includeEventProcedure(ValueReference includeEventProcedure);\n\n public abstract EmailEventNotificationConfigEntity build();\n }\n\n @Override\n public EventNotificationConfig toNativeEntity(Map parameters, Map nativeEntities) {\n EmailEventNotificationConfig.Builder builder = EmailEventNotificationConfig.builder()\n .sender(sender().asString(parameters))\n .replyTo(replyTo().asString())\n .subject(subject().asString(parameters))\n .bodyTemplate(bodyTemplate().asString())\n .htmlBodyTemplate(htmlBodyTemplate().asString())\n .emailRecipients(emailRecipients())\n .userRecipients(userRecipients())\n .timeZone(DateTimeZone.forID(timeZone().asString(parameters)))\n .singleEmail(singleEmail().asBoolean(parameters))\n .ccUsers(ccUsers())\n .ccEmails(ccEmails())\n .bccUsers(bccUsers())\n .bccEmails(bccEmails())\n .includeEventProcedure(includeEventProcedure().asBoolean(parameters));\n final boolean lookupRecipientEmails = lookupRecipientEmails().asBoolean(parameters);\n builder.lookupRecipientEmails(lookupRecipientEmails);\n if (lookupRecipientEmails) {\n builder.recipientsLUTName(recipientsLUTName().asString(parameters))\n .recipientsLUTKey(recipientsLUTKey().asString(parameters));\n }\n final boolean lookupSenderEmail = lookupSenderEmail().asBoolean(parameters);\n builder.lookupSenderEmail(lookupSenderEmail);\n if (lookupSenderEmail) {\n builder.senderLUTName(senderLUTName().asString(parameters))\n .senderLUTKey(senderLUTKey().asString(parameters));\n }\n final boolean lookupReplyToEmail = lookupReplyToEmail().asBoolean(parameters);\n builder.lookupReplyToEmail(lookupReplyToEmail);\n if (lookupReplyToEmail) {\n builder.replyToLUTName(replyToLUTName().asString(parameters))\n .replyToLUTKey(replyToLUTKey().asString(parameters));\n }\n final boolean lookupCcEmails = lookupCcEmails().asBoolean(parameters);\n builder.lookupCcEmails(lookupCcEmails);\n if (lookupCcEmails) {\n builder.ccEmailsLUTName(ccEmailsLUTName().asString(parameters))\n .ccEmailsLUTKey(ccEmailsLUTKey().asString(parameters));\n }\n final boolean lookupBccEmails = lookupBccEmails().asBoolean(parameters);\n builder.lookupBccEmails(lookupBccEmails);\n if (lookupBccEmails) {\n builder.bccEmailsLUTName(bccEmailsLUTName().asString(parameters))\n .bccEmailsLUTKey(bccEmailsLUTKey().asString(parameters));\n }\n return builder.build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/66596b32fbdb0fa7c5f23b303825f2c7e51aba43.json b/web/public/bundles/graylog/code/66596b32fbdb0fa7c5f23b303825f2c7e51aba43.json new file mode 100644 index 00000000..4fa9de93 --- /dev/null +++ b/web/public/bundles/graylog/code/66596b32fbdb0fa7c5f23b303825f2c7e51aba43.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "66596b32fbdb0fa7c5f23b303825f2c7e51aba43", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/rest/resources/csp/CSPServiceImpl.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.shared.rest.resources.csp;\n\nimport jakarta.inject.Inject;\nimport org.graylog.security.authservice.DBAuthServiceBackendService;\nimport org.graylog2.configuration.ContentStreamConfiguration;\nimport org.graylog2.configuration.TelemetryConfiguration;\nimport org.graylog2.rest.PaginationParameters;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.net.URI;\nimport java.util.stream.Collectors;\n\npublic class CSPServiceImpl implements CSPService {\n private static final Logger LOG = LoggerFactory.getLogger(CSPServiceImpl.class);\n private final String telemetryApiHost;\n private final String contentStreamRssApiHost;\n private final DBAuthServiceBackendService dbService;\n private final CSPResources cspResources;\n\n @Inject\n protected CSPServiceImpl(TelemetryConfiguration telemetryConfiguration, ContentStreamConfiguration contentStreamConfiguration, DBAuthServiceBackendService dbService,\n CSPResources cspResources) {\n this.telemetryApiHost = telemetryConfiguration.getTelemetryApiHost();\n this.dbService = dbService;\n this.cspResources = cspResources;\n this.contentStreamRssApiHost = getContentStreamHost(contentStreamConfiguration.getContentStreamRssUri());\n updateConnectSrc();\n }\n\n @Override\n public synchronized void updateConnectSrc() {\n final String hostList = dbService.findPaginated(new PaginationParameters(), x -> true).stream()\n .map(dto -> dto.config().externalHTTPHosts())\n .filter(java.util.Optional::isPresent)\n .map(optList -> String.join(\" \", optList.get()))\n .collect(Collectors.joining(\" \"));\n String connectSrcValue = \"'self' \" + telemetryApiHost + \" \" + contentStreamRssApiHost + \" \" + hostList;\n cspResources.updateAll(\"connect-src\", connectSrcValue);\n LOG.debug(\"Updated CSP: {}\", connectSrcValue);\n }\n\n @Override\n public String cspString(String group) {\n return cspResources.cspString(group);\n }\n\n private String getContentStreamHost(URI contentStreamRssApiHost) {\n String slash = \"/\";\n if (contentStreamRssApiHost.getPath().endsWith(slash)) {\n return contentStreamRssApiHost.toString();\n } else {\n return contentStreamRssApiHost.toString() + slash;\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/67b1156808cda3ff43158a5bfb06ec0a3507a32a.json b/web/public/bundles/graylog/code/67b1156808cda3ff43158a5bfb06ec0a3507a32a.json new file mode 100644 index 00000000..ef4fc2a5 --- /dev/null +++ b/web/public/bundles/graylog/code/67b1156808cda3ff43158a5bfb06ec0a3507a32a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "67b1156808cda3ff43158a5bfb06ec0a3507a32a", + "language": "java", + "path": "data-node/src/main/java/org/graylog/datanode/bootstrap/Main.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.datanode.bootstrap;\n\nimport com.github.rvesse.airline.Cli;\nimport com.github.rvesse.airline.builder.CliBuilder;\nimport com.google.common.collect.ImmutableSet;\nimport org.graylog.datanode.bootstrap.commands.CliCommandHelp;\nimport org.graylog.datanode.bootstrap.commands.ShowVersion;\nimport org.graylog.security.certutil.CertutilCa;\nimport org.graylog.security.certutil.CertutilCert;\nimport org.graylog.security.certutil.CertutilCsr;\nimport org.graylog.security.certutil.CertutilCsrSign;\nimport org.graylog.security.certutil.CertutilHttp;\nimport org.graylog.security.certutil.CertutilTruststore;\nimport org.graylog2.bootstrap.CliCommand;\nimport org.graylog2.bootstrap.CliCommandsProvider;\n\nimport java.util.ServiceLoader;\n\npublic class Main {\n public static void main(String[] args) {\n final CliBuilder builder = Cli.builder(\"graylog\")\n .withDescription(\"Open source, centralized log management\")\n .withDefaultCommand(CliCommandHelp.class)\n .withCommands(ImmutableSet.of(\n CertutilCa.class,\n CertutilCert.class,\n CertutilHttp.class,\n CertutilCsr.class,\n CertutilCsrSign.class,\n CertutilTruststore.class,\n ShowVersion.class,\n CliCommandHelp.class));\n\n // add rest from classpath\n final ServiceLoader commandsProviders = ServiceLoader.load(CliCommandsProvider.class);\n for (CliCommandsProvider provider : commandsProviders) {\n provider.addTopLevelCommandsOrGroups(builder);\n }\n\n final Cli cli = builder.build();\n final Runnable command = cli.parse(args);\n\n command.run();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/67ebbaf29195f91462647222b5a7830a420e71c8.json b/web/public/bundles/graylog/code/67ebbaf29195f91462647222b5a7830a420e71c8.json new file mode 100644 index 00000000..a0623951 --- /dev/null +++ b/web/public/bundles/graylog/code/67ebbaf29195f91462647222b5a7830a420e71c8.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "67ebbaf29195f91462647222b5a7830a420e71c8", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/server/Tool.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.mcp.server;\n\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.jackson.core.type.TypeReference;\nimport com.fasterxml.jackson.databind.ObjectMapper;\nimport com.google.common.base.Supplier;\nimport com.google.common.base.Suppliers;\nimport org.graylog.mcp.config.McpConfiguration;\nimport org.graylog.mcp.tools.PermissionHelper;\nimport org.graylog2.plugin.cluster.ClusterConfigService;\n\nimport java.util.Map;\nimport java.util.Optional;\nimport java.util.Set;\n\n/**\n * The base class for MCP tools.\n *\n * @param

Parameter type\n * @param Output type\n */\npublic abstract class Tool {\n private final ObjectMapper objectMapper;\n private final ClusterConfigService clusterConfigService;\n\n private final TypeReference

parameterType;\n private final String name;\n private final String title;\n private final String description;\n private final Supplier> inputSchema;\n private final Supplier> outputSchema;\n\n @Deprecated\n protected Tool(\n ObjectMapper objectMapper,\n SchemaGeneratorProvider schemaGeneratorProvider,\n TypeReference

parameterType,\n TypeReference outputType,\n String name,\n String title,\n String description\n ) {\n this(\n parameterType,\n outputType,\n name,\n title,\n description,\n objectMapper,\n null,\n schemaGeneratorProvider\n );\n }\n\n protected Tool(\n TypeReference

parameterType,\n TypeReference outputType,\n String name,\n String title,\n String description,\n ObjectMapper objectMapper,\n ClusterConfigService clusterConfigService,\n SchemaGeneratorProvider schemaGeneratorProvider\n ) {\n this.parameterType = parameterType;\n this.name = name;\n this.title = title;\n this.description = description;\n\n this.objectMapper = objectMapper;\n this.clusterConfigService = clusterConfigService;\n\n // Lazily compute the schema on first use to avoid a GL-startup race with migrations that seed its data.\n this.inputSchema = Suppliers.memoize(() -> {\n final var inputSchemaNode = schemaGeneratorProvider.get().generateSchema(parameterType.getType());\n final Map emptySchema = Map.of(\"type\", \"object\");\n return inputSchemaNode.isEmpty()\n ? emptySchema\n : objectMapper.convertValue(inputSchemaNode, new TypeReference>() {});\n });\n // String-output tools have no output schema; memoize caches that null correctly too.\n this.outputSchema = Suppliers.memoize(() -> String.class.equals(outputType.getType())\n ? null\n : objectMapper.convertValue(schemaGeneratorProvider.get().generateSchema(outputType.getType()),\n new TypeReference>() {}));\n }\n\n protected boolean isOutputSchemaEnabled() {\n return clusterConfigService != null && clusterConfigService.getOrDefault(McpConfiguration.class, McpConfiguration.DEFAULT_VALUES)\n .enableOutputSchema();\n }\n\n protected ObjectMapper getObjectMapper() {\n return objectMapper;\n }\n\n public abstract Set checkedPermissions();\n\n @JsonProperty\n public String name() {\n return name;\n }\n\n @JsonProperty\n public String title() {\n return title;\n }\n\n @JsonProperty\n public String description() {\n return description;\n }\n\n @JsonProperty\n public Map inputSchema() {\n return inputSchema.get();\n }\n\n @JsonProperty\n public Optional> outputSchema() {\n return Optional.ofNullable(outputSchema.get());\n }\n\n /**\n * Calls the tool implementation with the raw parameter map.\n * Internally this will get converted into the actual parameter type for type safety.\n *\n * @param permissionHelper provides permission checks and user identity for the calling user\n * @param parameterMap raw parameter map\n * @return the return value of the tool call\n */\n public O apply(PermissionHelper permissionHelper, Map parameterMap) {\n final P p = objectMapper.convertValue(parameterMap, parameterType);\n return apply(permissionHelper, p);\n }\n\n /**\n * Executes the tool logic with typed parameters and the caller's permission context.\n *\n * @param permissionHelper provides permission checks and user identity for the calling user\n * @param parameters the deserialized, tool-specific parameter object\n * @return the tool's result, typically a JSON string or structured response object\n */\n public abstract O apply(PermissionHelper permissionHelper, P parameters);\n}\n" +} diff --git a/web/public/bundles/graylog/code/68b64545232d055b4c264f438f0da7948fb5baf7.json b/web/public/bundles/graylog/code/68b64545232d055b4c264f438f0da7948fb5baf7.json new file mode 100644 index 00000000..2efa07bf --- /dev/null +++ b/web/public/bundles/graylog/code/68b64545232d055b4c264f438f0da7948fb5baf7.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "68b64545232d055b4c264f438f0da7948fb5baf7", + "language": "typescript", + "path": "graylog2-web-interface/src/integrations/aws/authentication/Automatic.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\nimport styled from 'styled-components';\n\nimport { Table } from 'components/bootstrap';\nimport { Icon } from 'components/common';\nimport { SectionTitle, SectionNote } from 'integrations/aws/common/sharedStyles';\n\nconst StyledTable = styled(Table)`\n margin: 0;\n`;\n\nconst Automatic = () => (\n \n \n \n \n Automatic authentication will attempt each of the following in the listed order.\n \n \n \n\n \n \n Environment variables\n \n AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY\n \n \n \n Java system properties\n \n aws.accessKeyId and aws.secretKey\n \n \n \n Default credential profiles file\n \n Typically located at ~/.aws/credentials\n \n \n \n Amazon ECS container credentials\n \n Loaded from the Amazon ECS if the environment variable AWS_CONTAINER_CREDENTIALS_RELATIVE_URI is\n set\n \n \n \n Instance profile credentials\n Used on EC2 instances, and delivered through the Amazon EC2 metadata service\n \n \n\n \n \n \n \n For more information, check out the{' '}\n \n AWS Credential Configuration Documentation \n \n \n \n \n \n \n);\n\nexport default Automatic;\n" +} diff --git a/web/public/bundles/graylog/code/68fd06d7732cc1c2533c93b9f97970b530896ea6.json b/web/public/bundles/graylog/code/68fd06d7732cc1c2533c93b9f97970b530896ea6.json new file mode 100644 index 00000000..ae51fd90 --- /dev/null +++ b/web/public/bundles/graylog/code/68fd06d7732cc1c2533c93b9f97970b530896ea6.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "68fd06d7732cc1c2533c93b9f97970b530896ea6", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/SearchDbPreflightCheck.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.bootstrap.preflight;\n\nimport jakarta.inject.Inject;\nimport org.graylog2.configuration.IndexerHosts;\nimport org.graylog2.shared.utilities.StringUtils;\nimport org.graylog2.storage.SearchVersion;\nimport org.graylog2.storage.versionprobe.ElasticsearchProbeException;\nimport org.graylog2.storage.versionprobe.VersionProbe;\nimport org.graylog2.storage.versionprobe.VersionProbeFactory;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.net.URI;\nimport java.util.List;\n\nimport static org.graylog2.configuration.validators.ElasticsearchVersionValidator.SUPPORTED_ES_VERSIONS;\n\npublic class SearchDbPreflightCheck implements PreflightCheck {\n private static final Logger LOG = LoggerFactory.getLogger(SearchDbPreflightCheck.class);\n\n private final VersionProbeFactory versionProbeFactory;\n private final List elasticsearchHosts;\n\n @Inject\n public SearchDbPreflightCheck(VersionProbeFactory versionProbeFactory, @IndexerHosts List elasticsearchHosts) {\n this.versionProbeFactory = versionProbeFactory;\n this.elasticsearchHosts = elasticsearchHosts;\n }\n\n @Override\n public void runCheck() throws PreflightCheckException {\n try {\n final VersionProbe versionProbe = versionProbeFactory.createDefault();\n final SearchVersion searchVersion = versionProbe.probe(elasticsearchHosts)\n .orElseThrow(() -> new PreflightCheckException(\"Could not get Elasticsearch version\"));\n\n if (SUPPORTED_ES_VERSIONS.stream().noneMatch(searchVersion::satisfies)) {\n throw new PreflightCheckException(StringUtils.f(\"Unsupported (Elastic/Open)Search version <%s>. Supported versions: <%s>\",\n searchVersion, SUPPORTED_ES_VERSIONS));\n }\n\n LOG.info(\"Connected to (Elastic/Open)Search version <{}>\", searchVersion);\n } catch (ElasticsearchProbeException e) {\n throw new PreflightCheckException(e);\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/6aea7c9e410155ea0efcb3df382cee6032a4216c.json b/web/public/bundles/graylog/code/6aea7c9e410155ea0efcb3df382cee6032a4216c.json new file mode 100644 index 00000000..5d2a5810 --- /dev/null +++ b/web/public/bundles/graylog/code/6aea7c9e410155ea0efcb3df382cee6032a4216c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6aea7c9e410155ea0efcb3df382cee6032a4216c", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/nodes/mongodb/MongodbNodeUtils.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.cluster.nodes.mongodb;\n\nimport com.mongodb.MongoClient;\nimport com.mongodb.MongoOperationTimeoutException;\nimport com.mongodb.client.MongoDatabase;\nimport org.bson.Document;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.time.Duration;\nimport java.util.Date;\nimport java.util.concurrent.TimeUnit;\n\nimport static org.graylog2.shared.utilities.StringUtils.f;\n\npublic class MongodbNodeUtils {\n\n private static final Logger LOG = LoggerFactory.getLogger(MongodbNodeUtils.class);\n\n // Fixed threshold used by countLiveSlowQueries (a health check, bounded by a strict round-trip budget) and\n // as a fallback for getProfilingResults when the server doesn't report its configured slowms.\n public static final int SLOW_QUERIES_THRESHOLD = 100;\n\n // Slow queries recorded further back than this are not counted (they no longer say anything about now).\n private static final Duration PROFILER_LOOKBACK = Duration.ofMinutes(5);\n\n // countLiveSlowQueries refuses to issue its second round-trip with less than this left of the caller's\n // budget: a read with a degenerate timeout would fail anyway, only slower.\n private static final Duration MIN_REMAINING_BUDGET = Duration.ofMillis(100);\n\n public static ProfilingResult getProfilingResults(MongoClient mongoConnection) {\n // Check if profiling is enabled and query system.profile\n final MongoDatabase db = mongoConnection.getDatabase(MongodbClusterCommand.GRAYLOG_DATABASE_NAME);\n Document profileStatus = db.runCommand(new Document(\"profile\", -1));\n int profilingLevel = profileStatus.getInteger(\"was\", 0);\n if (profilingLevel > 0) {\n // The query-only \"profile: -1\" command reports the slowms MongoDB is actually configured with --\n // read it instead of assuming SLOW_QUERIES_THRESHOLD, since Graylog no longer sets slowms itself\n // (setting it alongside a profiling level change requires elevated privileges as of MongoDB 8.0.29 /\n // SERVER-130198) and an operator may have configured a different value directly on the server.\n final int slowMs = profileStatus.getInteger(\"slowms\", SLOW_QUERIES_THRESHOLD);\n final long slowQueries = db.getCollection(\"system.profile\").countDocuments(slowQueriesQuery(slowMs));\n return new ProfilingResult(ProfilingLevel.fromNumericalValue(profilingLevel), slowQueries);\n } else {\n return new ProfilingResult(ProfilingLevel.OFF, null);\n }\n }\n\n /**\n * Slow-query count for the cluster health check, bounded by a single wall-clock {@code budget} shared across\n * its round-trips (CSOT -- the driver's default socket timeout is infinite, so an unbounded read could block\n * forever). The count runs first -- {@code countDocuments} on a missing or empty {@code system.profile}\n * returns 0 -- so the common healthy path costs one round-trip; the profiling level is read only when entries\n * exist (with whatever budget the count left over), to tell live profiling data from residue recorded before\n * profiling was disabled.\n *\n * @param database the CONFIGURED Graylog database ({@code MongoConnection.getMongoDatabase()}), not a\n * hardcoded default name -- on a deployment whose {@code mongodb_uri} names a custom database,\n * the profiling level and {@code system.profile} of that database are the ones that matter.\n * Reading them requires dbAdmin-level access; an unauthorized read throws (a health caller\n * maps it to {@code unknown} with a message naming the missing privilege).\n * @return the number of slow queries in the profiler lookback window, or {@code 0} when profiling is\n * disabled (residue entries recorded before it was disabled do not count)\n * @throws MongoOperationTimeoutException when the count exhausts the budget before the profiling level could\n * be read -- live entries cannot be told from residue at that point, so the call fails (for a health\n * caller: {@code unknown}) rather than guessing a false warning or a false healthy\n */\n public static long countLiveSlowQueries(MongoDatabase database, Duration budget) {\n final long deadlineNanos = System.nanoTime() + budget.toNanos();\n final MongoDatabase db = withOptionalTimeout(database, budget);\n final long slowQueries = db.getCollection(\"system.profile\").countDocuments(slowQueriesQuery(SLOW_QUERIES_THRESHOLD));\n if (slowQueries == 0) {\n return 0;\n }\n\n // Entries exist: read the profiling level to tell live data from residue, bounded by whatever the count\n // left over so the PAIR honors the caller's budget -- a per-read constant would either let the pair\n // overrun the budget or over-throttle a fast first read.\n final Duration remaining = Duration.ofNanos(deadlineNanos - System.nanoTime());\n if (remaining.compareTo(MIN_REMAINING_BUDGET) < 0) {\n throw new MongoOperationTimeoutException(f(\n \"Counting slow queries consumed the %dms budget before the profiling level could be read\",\n budget.toMillis()));\n }\n final Document profileStatus = withOptionalTimeout(db, remaining).runCommand(new Document(\"profile\", -1));\n return profileStatus.getInteger(\"was\", 0) > 0 ? slowQueries : 0;\n }\n\n /** Slow operations ({@code >= slowMs} ms) within the profiler lookback window. */\n private static Document slowQueriesQuery(int slowMs) {\n final Date cutoffTime = new Date(System.currentTimeMillis() - PROFILER_LOOKBACK.toMillis());\n return new Document(\"ts\", new Document(\"$gte\", cutoffTime))\n .append(\"millis\", new Document(\"$gte\", slowMs));\n }\n\n public static double calculateStorageUsedPercent(MongoClient mongoConnection) {\n try {\n return storageUsedPercent(mongoConnection.getDatabase(MongodbClusterCommand.GRAYLOG_DATABASE_NAME));\n } catch (Exception e) {\n LOG.warn(\"Failed to calculate disk usage for mongodb node\", e);\n return 0.0;\n }\n }\n\n /**\n * @param database the CONFIGURED Graylog database ({@code MongoConnection.getMongoDatabase()}), not a\n * hardcoded default name -- {@code dbStats} is unauthorized for a user scoped to a custom\n * database when run against a database it has no access to.\n * @param timeout optional client-side operation timeout (CSOT), so a stuck read fails fast instead of\n * blocking indefinitely (the Mongo driver's default socket timeout is infinite). Unlike\n * {@link #calculateStorageUsedPercent(MongoClient)}, this overload propagates failures instead of\n * swallowing them as {@code 0.0}, so a caller can surface them. That includes a timeout, a failed\n * {@code dbStats} command, and a missing/zero {@code fsTotalSize} (no usable capacity\n * figure) -- the swallowing overload reports the last case as {@code 0.0}, but a caller such as a\n * health check needs to tell \"0% used\" apart from \"capacity unknown\" and map the latter to\n * {@code unknown} rather than a false \"healthy 0%\".\n */\n public static double calculateStorageUsedPercent(MongoDatabase database, Duration timeout) {\n return storageUsedPercent(withOptionalTimeout(database, timeout));\n }\n\n private static double storageUsedPercent(MongoDatabase db) {\n final Document dbStats = db.runCommand(new Document(\"dbStats\", 1));\n // getDouble returns a boxed Double that is null when the field is absent, so read into Double (not the\n // primitive) and null-check before use -- unboxing a missing field into a primitive double would throw a\n // NullPointerException before the capacity handling below could run.\n final Double fsUsedSize = dbStats.getDouble(\"fsUsedSize\");\n final Double fsTotalSize = dbStats.getDouble(\"fsTotalSize\");\n if (fsUsedSize == null || fsTotalSize == null || fsTotalSize <= 0) {\n // No usable capacity figure (missing/zero fsTotalSize, or missing fsUsedSize -- e.g. a partial dbStats\n // document or a storage engine that does not report filesystem size). Signal it rather than returning a\n // misleading 0%: the swallowing overload catches this and reports 0.0 as before, while the timeout\n // overload propagates it so a caller can surface \"capacity unknown\" instead of a false \"healthy 0%\".\n throw new IllegalStateException(\"MongoDB dbStats reported no filesystem capacity (fsUsedSize=\"\n + fsUsedSize + \", fsTotalSize=\" + fsTotalSize + \")\");\n }\n return 100.0d * fsUsedSize / fsTotalSize;\n }\n\n private static MongoDatabase withOptionalTimeout(MongoDatabase db, Duration timeout) {\n return timeout == null ? db : db.withTimeout(timeout.toMillis(), TimeUnit.MILLISECONDS);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/6afdae394c207bc0038a2a5473225fafa8e6e505.json b/web/public/bundles/graylog/code/6afdae394c207bc0038a2a5473225fafa8e6e505.json new file mode 100644 index 00000000..d18b72c0 --- /dev/null +++ b/web/public/bundles/graylog/code/6afdae394c207bc0038a2a5473225fafa8e6e505.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6afdae394c207bc0038a2a5473225fafa8e6e505", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/buffers/JournallingMessageHandler.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.shared.buffers;\n\nimport com.codahale.metrics.Counter;\nimport com.codahale.metrics.MetricRegistry;\nimport com.google.common.base.Function;\nimport com.google.common.collect.Lists;\nimport com.lmax.disruptor.EventHandler;\nimport org.graylog2.shared.messageq.MessageQueueWriter;\nimport org.graylog2.system.processing.ProcessingStatusRecorder;\nimport org.joda.time.DateTime;\nimport org.joda.time.DateTimeZone;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport javax.annotation.Nullable;\n\nimport jakarta.inject.Inject;\n\nimport java.util.List;\nimport java.util.Objects;\nimport java.util.stream.Collectors;\n\npublic class JournallingMessageHandler implements EventHandler {\n private static final Logger log = LoggerFactory.getLogger(JournallingMessageHandler.class);\n\n private final List batch = Lists.newArrayList();\n private final Counter byteCounter;\n private final MessageQueueWriter messageQueueWriter;\n private final ProcessingStatusRecorder processingStatusRecorder;\n\n @Inject\n public JournallingMessageHandler(MetricRegistry metrics,\n MessageQueueWriter messageQueueWriter,\n ProcessingStatusRecorder processingStatusRecorder) {\n this.messageQueueWriter = messageQueueWriter;\n this.processingStatusRecorder = processingStatusRecorder;\n byteCounter = metrics.counter(MetricRegistry.name(JournallingMessageHandler.class, \"written_bytes\"));\n }\n\n @Override\n public void onEvent(RawMessageEvent event, long sequence, boolean endOfBatch) throws Exception {\n batch.add(event);\n\n if (endOfBatch) {\n log.debug(\"End of batch, journaling {} messages\", batch.size());\n // write batch to journal\n\n // copy to avoid re-running this all the time\n final Filter metricsFilter = new Filter();\n final List entries = batch.stream().map(metricsFilter).filter(Objects::nonNull).collect(Collectors.toList());\n\n // The filter computed the latest receive timestamp of all messages in the batch so we don't have to\n // call the update on the recorder service for every message. (less contention)\n processingStatusRecorder.updateIngestReceiveTime(metricsFilter.getLatestReceiveTime());\n\n messageQueueWriter.write(entries);\n\n // Release objects for GC\n batch.stream()\n .filter(Objects::nonNull)\n .forEach(RawMessageEvent::clear);\n\n batch.clear();\n }\n }\n\n private class Filter implements Function {\n private long bytesWritten = 0;\n private DateTime latestReceiveTime = new DateTime(0L, DateTimeZone.UTC);\n\n public long getBytesWritten() {\n return bytesWritten;\n }\n\n public DateTime getLatestReceiveTime() {\n return latestReceiveTime;\n }\n\n @Nullable\n @Override\n public RawMessageEvent apply(RawMessageEvent input) {\n if (log.isTraceEnabled()) {\n log.trace(\"Journalling message {}\", input.getMessageId());\n }\n\n if (input.getEncodedRawMessage() == null) {\n log.error(\"Skipping RawMessageEvent with null encodedRawMessage\");\n return null;\n }\n // stats\n final int size = input.getEncodedRawMessage().length;\n bytesWritten += size;\n byteCounter.inc(size);\n\n final DateTime messageTimestamp = input.getMessageTimestamp();\n if (messageTimestamp != null) {\n latestReceiveTime = latestReceiveTime.isBefore(messageTimestamp) ? messageTimestamp : latestReceiveTime;\n }\n\n return input;\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/6c9febb4725dfed08c29e6fd962269d19d732323.json b/web/public/bundles/graylog/code/6c9febb4725dfed08c29e6fd962269d19d732323.json new file mode 100644 index 00000000..6892bfc7 --- /dev/null +++ b/web/public/bundles/graylog/code/6c9febb4725dfed08c29e6fd962269d19d732323.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6c9febb4725dfed08c29e6fd962269d19d732323", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/system/activities/SystemMessageServiceImpl.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.system.activities;\n\nimport com.google.common.collect.Lists;\nimport com.mongodb.BasicDBObject;\nimport com.mongodb.DBObject;\nimport com.mongodb.client.model.CreateCollectionOptions;\nimport com.mongodb.client.model.Indexes;\nimport jakarta.inject.Inject;\nimport jakarta.inject.Singleton;\nimport org.bson.types.ObjectId;\nimport org.graylog2.database.DbEntity;\nimport org.graylog2.database.MongoConnection;\nimport org.graylog2.database.PersistedServiceImpl;\n\nimport java.util.HashSet;\nimport java.util.List;\nimport java.util.Map;\n\n@Singleton\npublic class SystemMessageServiceImpl extends PersistedServiceImpl implements SystemMessageService {\n private static final int MAX_COLLECTION_BYTES = 50 * 1024 * 1024;\n private static final int PER_PAGE = 30;\n\n @Inject\n public SystemMessageServiceImpl(MongoConnection mongoConnection) {\n super(mongoConnection);\n\n // Make sure that the system messages collection is always created capped.\n final String collectionName = SystemMessageImpl.class.getAnnotation(DbEntity.class).collection();\n final var database = mongoConnection.getMongoDatabase();\n if (!database.listCollectionNames().into(new HashSet<>()).contains(collectionName)) {\n final var options = new CreateCollectionOptions()\n .capped(true)\n .sizeInBytes(MAX_COLLECTION_BYTES);\n database.createCollection(collectionName, options);\n database.getCollection(collectionName).createIndex(Indexes.descending(\"timestamp\"));\n }\n }\n\n @Override\n public List all(int page) {\n List messages = Lists.newArrayList();\n\n DBObject sort = new BasicDBObject();\n sort.put(\"timestamp\", -1);\n\n List results = query(SystemMessageImpl.class, new BasicDBObject(), sort, PER_PAGE, PER_PAGE * page);\n for (DBObject o : results) {\n messages.add(new SystemMessageImpl(new ObjectId(o.get(\"_id\").toString()), o.toMap()));\n }\n\n return messages;\n }\n\n @Override\n public long totalCount() {\n return super.totalCount(SystemMessageImpl.class);\n }\n\n @Override\n public SystemMessage create(Map fields) {\n return new SystemMessageImpl(fields);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/6ce8133c0eee41ce442ae4207f34b880a4c5c0c2.json b/web/public/bundles/graylog/code/6ce8133c0eee41ce442ae4207f34b880a4c5c0c2.json new file mode 100644 index 00000000..7ddd9ee5 --- /dev/null +++ b/web/public/bundles/graylog/code/6ce8133c0eee41ce442ae4207f34b880a4c5c0c2.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6ce8133c0eee41ce442ae4207f34b880a4c5c0c2", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/security/realm/AccessTokenAuthenticator.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.security.realm;\n\nimport jakarta.inject.Inject;\nimport org.apache.shiro.authc.AuthenticationException;\nimport org.apache.shiro.authc.AuthenticationInfo;\nimport org.apache.shiro.authc.AuthenticationToken;\nimport org.apache.shiro.authc.SimpleAccount;\nimport org.apache.shiro.realm.AuthenticatingRealm;\nimport org.graylog2.plugin.database.ValidationException;\nimport org.graylog2.plugin.database.users.User;\nimport org.graylog2.security.AccessToken;\nimport org.graylog2.security.AccessTokenService;\nimport org.graylog2.shared.security.AccessTokenAuthToken;\nimport org.graylog2.shared.security.ShiroSecurityContext;\nimport org.graylog2.shared.users.UserService;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\npublic class AccessTokenAuthenticator extends AuthenticatingRealm {\n private static final Logger LOG = LoggerFactory.getLogger(AccessTokenAuthenticator.class);\n public static final String NAME = \"access-token\";\n\n private final AccessTokenService accessTokenService;\n private final UserService userService;\n\n @Inject\n AccessTokenAuthenticator(AccessTokenService accessTokenService,\n UserService userService) {\n this.accessTokenService = accessTokenService;\n this.userService = userService;\n setAuthenticationTokenClass(AccessTokenAuthToken.class);\n setCachingEnabled(false);\n // the presence of a valid access token is enough, we don't have any other credentials\n setCredentialsMatcher(new ServiceValidatedCredentialsMatcher());\n }\n\n @Override\n protected AuthenticationInfo doGetAuthenticationInfo(AuthenticationToken token) throws AuthenticationException {\n AccessTokenAuthToken authToken = (AccessTokenAuthToken) token;\n final AccessToken accessToken = accessTokenService.load(String.valueOf(authToken.getToken()));\n\n if (accessToken == null) {\n return null;\n }\n // TODO should be using IDs\n final User user = userService.load(accessToken.getUserName());\n if (user == null) {\n return null;\n }\n if (!user.getAccountStatus().equals(User.AccountStatus.ENABLED)) {\n LOG.warn(\"Account for user <{}> is disabled.\", user.getName());\n return null;\n }\n if (LOG.isDebugEnabled()) {\n LOG.debug(\"Found user {} for access token.\", user);\n }\n try {\n accessTokenService.touch(accessToken);\n } catch (ValidationException e) {\n LOG.warn(\"Unable to update access token's last access date.\", e);\n }\n ShiroSecurityContext.requestSessionCreation(false);\n return new SimpleAccount(user.getId(), ServiceValidatedCredentialsMatcher.AUTHENTICATED, \"access token realm\");\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/6d36c2d1e0af98b8f2895db99d2d3f6a79a14fd1.json b/web/public/bundles/graylog/code/6d36c2d1e0af98b8f2895db99d2d3f6a79a14fd1.json new file mode 100644 index 00000000..e849268a --- /dev/null +++ b/web/public/bundles/graylog/code/6d36c2d1e0af98b8f2895db99d2d3f6a79a14fd1.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6d36c2d1e0af98b8f2895db99d2d3f6a79a14fd1", + "language": "typescript", + "path": "graylog2-web-interface/src/hooks/useIndicesConfiguration.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport { useQuery } from '@tanstack/react-query';\n\nimport { SystemIndicesRotation, SystemIndicesRetention } from '@graylog/server-api';\n\nimport type { RotationStrategyResponse, RetentionStrategyResponse } from 'components/indices/Types';\nimport { defaultOnError } from 'util/conditional/onError';\n\ntype Options = {\n enabled?: boolean;\n};\n\nconst QUERY_KEY_ROTATION = ['system', 'indices', 'rotation', 'strategies'];\nconst QUERY_KEY_RETENTION = ['system', 'indices', 'retention', 'strategies'];\n\nconst useIndicesConfiguration = ({ enabled = true }: Options = {}) => {\n const { data: rotationData, isInitialLoading: isLoadingRotation } = useQuery({\n queryKey: QUERY_KEY_ROTATION,\n queryFn: () =>\n defaultOnError(\n SystemIndicesRotation.list() as unknown as Promise,\n 'Fetching rotation strategies failed',\n 'Could not retrieve rotation strategies',\n ),\n enabled,\n });\n\n const { data: retentionData, isInitialLoading: isLoadingRetention } = useQuery({\n queryKey: QUERY_KEY_RETENTION,\n queryFn: () =>\n defaultOnError(\n SystemIndicesRetention.list() as unknown as Promise,\n 'Fetching retention strategies failed',\n 'Could not retrieve retention strategies',\n ),\n enabled,\n });\n\n return {\n rotationStrategies: rotationData?.strategies,\n retentionStrategies: retentionData?.strategies,\n retentionStrategiesContext: retentionData?.context,\n rotationStrategiesContext: rotationData?.context,\n isLoading: isLoadingRotation || isLoadingRetention,\n };\n};\n\nexport default useIndicesConfiguration;\n" +} diff --git a/web/public/bundles/graylog/code/6d37168296dd16b8bd7a68367993121f3feb9a66.json b/web/public/bundles/graylog/code/6d37168296dd16b8bd7a68367993121f3feb9a66.json new file mode 100644 index 00000000..23017e72 --- /dev/null +++ b/web/public/bundles/graylog/code/6d37168296dd16b8bd7a68367993121f3feb9a66.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6d37168296dd16b8bd7a68367993121f3feb9a66", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/NodeNotFoundException.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.cluster;\n\nimport org.graylog2.database.NotFoundException;\n\npublic class NodeNotFoundException extends NotFoundException {\n public NodeNotFoundException(String msg) {\n super(msg);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/6d4ea84060cbd45616a3faf1d831887baf4bc9d2.json b/web/public/bundles/graylog/code/6d4ea84060cbd45616a3faf1d831887baf4bc9d2.json new file mode 100644 index 00000000..0b60a6b4 --- /dev/null +++ b/web/public/bundles/graylog/code/6d4ea84060cbd45616a3faf1d831887baf4bc9d2.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6d4ea84060cbd45616a3faf1d831887baf4bc9d2", + "language": "typescript", + "path": "graylog2-web-interface/src/integrations/aws/cloudtrail/CloudTrailInputConfiguration.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport { useEffect } from 'react';\n\nimport useHistory from 'routing/useHistory';\n\nimport AWSCloudTrailRoutes from './common/Routes';\n\nconst CloudTrailInputConfiguration = () => {\n const history = useHistory();\n\n useEffect(() => {\n const url = AWSCloudTrailRoutes.INTEGRATIONS.AWSCloudTrail.ACTIVITYAPI.index;\n history.push(url);\n }, [history]);\n\n return null;\n};\n\nexport default CloudTrailInputConfiguration;\n" +} diff --git a/web/public/bundles/graylog/code/6db4998e4b14e0d5997ea16919fc648fc8a841e9.json b/web/public/bundles/graylog/code/6db4998e4b14e0d5997ea16919fc648fc8a841e9.json new file mode 100644 index 00000000..ec400ba8 --- /dev/null +++ b/web/public/bundles/graylog/code/6db4998e4b14e0d5997ea16919fc648fc8a841e9.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6db4998e4b14e0d5997ea16919fc648fc8a841e9", + "language": "typescript", + "path": "graylog2-web-interface/src/hooks/usePaginatedInputs.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport { keepPreviousData, useQuery } from '@tanstack/react-query';\n\nimport { SystemInputs } from '@graylog/server-api';\n\nimport type { SearchParams, Attribute } from 'stores/PaginationTypes';\nimport FiltersForQueryParams from 'components/common/EntityFilters/FiltersForQueryParams';\nimport { defaultOnError } from 'util/conditional/onError';\n\nconst INITIAL_DATA = {\n pagination: { total: 0 },\n list: [],\n attributes: [],\n};\nexport type InputSummary = {\n creator_user_id: string;\n node?: string;\n name: string;\n created_at: string;\n global: boolean;\n attributes: {\n [key: string]: any;\n };\n id: string;\n title: string;\n type: string;\n content_pack?: string;\n static_fields: {\n [key: string]: string;\n };\n};\n\nexport const KEY_PREFIX = ['inputs', 'overview'];\nexport const keyFn = (searchParams: SearchParams) => [...KEY_PREFIX, searchParams];\n\nexport const fetchInputs = (searchParams: SearchParams) =>\n SystemInputs.getPage(\n searchParams.sort.attributeId as any,\n searchParams.page,\n searchParams.pageSize,\n searchParams.query,\n FiltersForQueryParams(searchParams.filters),\n searchParams?.sort.direction,\n ).then((response) => ({\n list: response.elements,\n attributes: response.attributes,\n pagination: { total: response.total },\n }));\n\ntype Options = {\n enabled: boolean;\n};\n\ntype InputsResponse = {\n list: Array;\n pagination: { total: number };\n attributes: Array;\n};\n\nconst usePaginatedInputs = (\n searchParams: SearchParams,\n { enabled }: Options = { enabled: true },\n): {\n data: InputsResponse;\n refetch: () => void;\n isLoading: boolean;\n} => {\n const { data, refetch, isLoading } = useQuery({\n queryKey: keyFn(searchParams),\n\n queryFn: () =>\n defaultOnError(\n fetchInputs(searchParams),\n 'Loading inputs failed with status',\n 'Could not load inputs',\n ),\n placeholderData: keepPreviousData,\n enabled,\n });\n\n return {\n data: data ?? INITIAL_DATA,\n refetch,\n isLoading,\n };\n};\n\nexport default usePaginatedInputs;\n" +} diff --git a/web/public/bundles/graylog/code/6dd68562ae44eaac3a0c323c6dbd9973a3efa4a4.json b/web/public/bundles/graylog/code/6dd68562ae44eaac3a0c323c6dbd9973a3efa4a4.json new file mode 100644 index 00000000..b93e6ecc --- /dev/null +++ b/web/public/bundles/graylog/code/6dd68562ae44eaac3a0c323c6dbd9973a3efa4a4.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6dd68562ae44eaac3a0c323c6dbd9973a3efa4a4", + "language": "typescript", + "path": "graylog2-web-interface/src/views/hooks/useFetchView.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport { useMemo } from 'react';\n\nimport ErrorsActions from 'actions/errors/ErrorsActions';\nimport ViewDeserializer from 'views/logic/views/ViewDeserializer';\nimport { createFromFetchError } from 'logic/errors/ReportedErrors';\nimport type { ViewJson } from 'views/logic/views/View';\nimport { getView } from 'views/api/views';\n\nconst useFetchView = (viewId: string) => {\n const viewJsonPromise = useMemo((): Promise => getView(viewId), [viewId]);\n\n return useMemo(\n () =>\n viewJsonPromise.then(\n (viewJson) => ViewDeserializer(viewJson),\n (error) => {\n if (error.status === 404) {\n ErrorsActions.report(createFromFetchError(error));\n }\n\n throw error;\n },\n ),\n [viewJsonPromise],\n );\n};\n\nexport default useFetchView;\n" +} diff --git a/web/public/bundles/graylog/code/6e764c9a114d3b947b8a7c7b2889a62d5ec493a8.json b/web/public/bundles/graylog/code/6e764c9a114d3b947b8a7c7b2889a62d5ec493a8.json new file mode 100644 index 00000000..a1481f0e --- /dev/null +++ b/web/public/bundles/graylog/code/6e764c9a114d3b947b8a7c7b2889a62d5ec493a8.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6e764c9a114d3b947b8a7c7b2889a62d5ec493a8", + "language": "typescript", + "path": "graylog2-web-interface/src/views/components/AdaptableQueryTabsConfiguration.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport type { Dispatch, SetStateAction } from 'react';\nimport { useCallback, useState, useContext } from 'react';\nimport * as Immutable from 'immutable';\nimport styled from 'styled-components';\n\nimport BootstrapModalConfirm from 'components/bootstrap/BootstrapModalConfirm';\nimport { SortableList, IconButton } from 'components/common';\nimport type { TitleType, TitlesMap } from 'views/stores/TitleTypes';\nimport TitleTypes from 'views/stores/TitleTypes';\nimport EditableTitle from 'views/components/common/EditableTitle';\nimport DashboardPageContext from 'views/components/contexts/DashboardPageContext';\nimport FindNewActiveQueryId from 'views/logic/views/FindNewActiveQuery';\nimport useViewsDispatch from 'views/stores/useViewsDispatch';\nimport { setQueriesOrder, mergeQueryTitles } from 'views/logic/slices/viewSlice';\nimport useSendTelemetry from 'logic/telemetry/useSendTelemetry';\nimport { TELEMETRY_EVENT_TYPE } from 'logic/telemetry/Constants';\nimport ConfirmDeletingDashboardPage from 'views/logic/views/ConfirmDeletingDashboardPage';\nimport useWidgetIds from 'views/components/useWidgetIds';\n\ntype PageListItem = {\n id: string;\n title: string;\n};\n\nconst ListItemContainer = styled.div`\n display: flex;\n justify-content: space-between;\n flex: 1;\n overflow: hidden;\n`;\n\nconst ListItem = ({\n item: { id, title },\n onRemove,\n onUpdateTitle,\n disableDelete,\n}: {\n item: PageListItem;\n onUpdateTitle: (id: string, title: string) => void;\n onRemove: (id: string) => void;\n disableDelete: boolean;\n}) => (\n \n onUpdateTitle(id, newTitle)}\n />\n

\n onRemove(id)} disabled={disableDelete} />\n
\n \n);\n\ntype Props = {\n show: boolean;\n setShow: Dispatch>;\n queriesList: Immutable.OrderedSet;\n activeQueryId: string;\n dashboardId: string;\n};\n\nconst AdaptableQueryTabsConfiguration = ({ show, setShow, queriesList, activeQueryId, dashboardId }: Props) => {\n const { setDashboardPage } = useContext(DashboardPageContext);\n const widgetIds = useWidgetIds();\n const [nextQueriesList, setNextQueriesList] = useState>(queriesList);\n const disablePageDelete = nextQueriesList.size <= 1;\n const dispatch = useViewsDispatch();\n const sendTelemetry = useSendTelemetry('dashboard');\n const onConfirmPagesConfiguration = useCallback(() => {\n const isActiveQueryDeleted = !nextQueriesList.find(({ id }) => id === activeQueryId);\n\n sendTelemetry(TELEMETRY_EVENT_TYPE.DASHBOARD_ACTION.DASHBOARD_PAGE_CONFIGURATION_UPDATED, {\n app_pathname: 'dashboard',\n app_action_value: 'dashboard-page-configuration',\n });\n\n if (isActiveQueryDeleted) {\n const indexedQueryIds = queriesList.map(({ id }) => id).toList();\n const nextQueryIds = nextQueriesList.map(({ id }) => id).toArray();\n const removedQueryIds = indexedQueryIds.filter((queryId) => !nextQueryIds.includes(queryId)).toList();\n const newActiveQueryId = FindNewActiveQueryId(indexedQueryIds, activeQueryId, removedQueryIds);\n setDashboardPage(newActiveQueryId);\n }\n\n dispatch(setQueriesOrder(nextQueriesList.map(({ id }) => id).toOrderedSet())).then(() => {\n const newTitles = nextQueriesList\n .map(({ id, title }) => {\n const titleMap = Immutable.Map({ title });\n const titlesMap = Immutable.Map>({\n [TitleTypes.Tab]: titleMap,\n }) as TitlesMap;\n\n return { queryId: id, titlesMap };\n })\n .toArray();\n\n dispatch(mergeQueryTitles(newTitles));\n setShow(false);\n });\n }, [nextQueriesList, sendTelemetry, dispatch, activeQueryId, queriesList, setDashboardPage, setShow]);\n\n const onPagesConfigurationModalClose = useCallback(() => {\n sendTelemetry(TELEMETRY_EVENT_TYPE.DASHBOARD_ACTION.DASHBOARD_PAGE_CONFIGURATION_CANCELED, {\n app_pathname: 'dashboard',\n app_action_value: 'dashboard-page-configuration',\n });\n\n setShow(false);\n }, [sendTelemetry, setShow]);\n const updatePageSorting = useCallback(\n (order: Array) => {\n sendTelemetry(TELEMETRY_EVENT_TYPE.DASHBOARD_ACTION.DASHBOARD_PAGE_CONFIGURATION_SORTING_UPDATED, {\n app_pathname: 'dashboard',\n app_action_value: 'dashboard-page-configuration-sorting',\n });\n\n setNextQueriesList(Immutable.OrderedSet(order));\n },\n [sendTelemetry, setNextQueriesList],\n );\n\n const onUpdateTitle = useCallback((id: string, title: string) => {\n setNextQueriesList((currentQueries) =>\n currentQueries.map((query) => (query.id === id ? { id, title } : query)).toOrderedSet(),\n );\n }, []);\n\n const removePage = useCallback(\n async (queryId: string) => {\n if (disablePageDelete) {\n return Promise.resolve();\n }\n\n if (await ConfirmDeletingDashboardPage(dashboardId, activeQueryId, widgetIds)) {\n sendTelemetry(TELEMETRY_EVENT_TYPE.DASHBOARD_ACTION.DASHBOARD_PAGE_CONFIGURATION_PAGE_REMOVED, {\n app_pathname: 'dashboard',\n app_action_value: 'dashboard-page-configuration-remove-page',\n });\n\n setNextQueriesList((currentQueries) => currentQueries.filter((query) => query.id !== queryId).toOrderedSet());\n }\n\n return Promise.resolve();\n },\n [activeQueryId, dashboardId, disablePageDelete, sendTelemetry, widgetIds],\n );\n\n const customListItemRender = useCallback(\n // eslint-disable-next-line react/no-unused-prop-types\n ({ item }: { item: PageListItem }) => (\n \n ),\n [disablePageDelete, removePage, onUpdateTitle],\n );\n\n return (\n \n <>\n

Order

\n

\n Use drag and drop to change the order of the dashboard pages. Double-click on a dashboard title to change it.\n

\n \n items={nextQueriesList.toArray()}\n onMoveItem={updatePageSorting}\n displayOverlayInPortal\n alignItemContent=\"center\"\n customContentRender={customListItemRender}\n />\n \n \n );\n};\n\nexport default AdaptableQueryTabsConfiguration;\n" +} diff --git a/web/public/bundles/graylog/code/6e8cc81318400b4d3353ae11a11297f0ec8e01a1.json b/web/public/bundles/graylog/code/6e8cc81318400b4d3353ae11a11297f0ec8e01a1.json new file mode 100644 index 00000000..37667a36 --- /dev/null +++ b/web/public/bundles/graylog/code/6e8cc81318400b4d3353ae11a11297f0ec8e01a1.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6e8cc81318400b4d3353ae11a11297f0ec8e01a1", + "language": "typescript", + "path": "graylog2-web-interface/src/contexts/defaultQueryOptions.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport hashQueryKey from 'util/hashQueryKey';\n\nconst defaultQueryOptions = {\n refetchOnWindowFocus: false,\n networkMode: 'always' as const,\n queryKeyHashFn: hashQueryKey,\n};\n\nexport default defaultQueryOptions;\n" +} diff --git a/web/public/bundles/graylog/code/6f3f9840bb8a4cd3a47a8cff54b72869f150a5e4.json b/web/public/bundles/graylog/code/6f3f9840bb8a4cd3a47a8cff54b72869f150a5e4.json new file mode 100644 index 00000000..7ff63629 --- /dev/null +++ b/web/public/bundles/graylog/code/6f3f9840bb8a4cd3a47a8cff54b72869f150a5e4.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6f3f9840bb8a4cd3a47a8cff54b72869f150a5e4", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexerDiscoveryProvider.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.configuration;\n\nimport com.github.joschi.jadconfig.util.Duration;\nimport com.github.rholder.retry.Attempt;\nimport com.github.rholder.retry.RetryException;\nimport com.github.rholder.retry.RetryListener;\nimport com.github.rholder.retry.RetryerBuilder;\nimport com.github.rholder.retry.StopStrategies;\nimport com.github.rholder.retry.WaitStrategies;\nimport com.google.common.base.Suppliers;\nimport jakarta.inject.Inject;\nimport jakarta.inject.Named;\nimport jakarta.inject.Provider;\nimport org.graylog2.bootstrap.preflight.PreflightConfigResult;\nimport org.graylog2.bootstrap.preflight.PreflightConfigService;\nimport org.graylog2.cluster.Node;\nimport org.graylog2.cluster.nodes.DataNodeDto;\nimport org.graylog2.cluster.nodes.DataNodeStatus;\nimport org.graylog2.cluster.nodes.NodeService;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.net.URI;\nimport java.util.Collections;\nimport java.util.List;\nimport java.util.Set;\nimport java.util.concurrent.ExecutionException;\nimport java.util.function.Supplier;\nimport java.util.stream.Collectors;\n\n\npublic class IndexerDiscoveryProvider implements Provider> {\n\n private static final Logger LOG = LoggerFactory.getLogger(IndexerDiscoveryProvider.class);\n\n public static final URI DEFAULT_INDEXER_HOST = URI.create(\"http://127.0.0.1:9200\");\n\n private final List hosts;\n private final PreflightConfigService preflightConfigService;\n private final NodeService nodeService;\n\n private final Set indexerDiscoveryListeners;\n\n private final Supplier> resultsCachingSupplier;\n\n private final int connectionAttempts;\n private final Duration delayBetweenAttempts;\n\n\n @Inject\n public IndexerDiscoveryProvider(\n @Named(\"elasticsearch_hosts\") List hosts,\n @Named(\"datanode_startup_connection_attempts\") int connectionAttempts,\n @Named(\"datanode_startup_connection_delay\") Duration delayBetweenAttempts,\n PreflightConfigService preflightConfigService,\n NodeService nodeService,\n Set indexerDiscoveryListeners) {\n this.hosts = hosts;\n this.connectionAttempts = connectionAttempts;\n this.delayBetweenAttempts = delayBetweenAttempts;\n this.preflightConfigService = preflightConfigService;\n this.nodeService = nodeService;\n this.indexerDiscoveryListeners = indexerDiscoveryListeners;\n this.resultsCachingSupplier = Suppliers.memoize(this::doGet);\n }\n\n\n @Override\n public List get() {\n return resultsCachingSupplier.get();\n }\n\n private List doGet() {\n\n // configured hosts, just use these and don't try any detection\n if (hosts != null && !hosts.isEmpty()) {\n LOG.info(\"Indexer hosts are set in configuration, using {} provided hosts\", hosts.size()); // do not log hosts, may contain uname+pass\n indexerDiscoveryListeners.forEach(listener -> listener.onExplicitlyConfiguredNodes(hosts));\n return hosts;\n }\n\n indexerDiscoveryListeners.forEach(IndexerDiscoveryListener::beforeIndexerDiscovery);\n\n final PreflightConfigResult preflightResult = preflightConfigService.getPreflightConfigResult();\n\n // if preflight is finished, we assume that there will be some datanode registered via node-service.\n if (preflightResult == PreflightConfigResult.FINISHED) {\n try {\n LOG.info(\"Discovering data nodes\");\n //noinspection UnstableApiUsage\n final List discoveredDatanodes = RetryerBuilder.>newBuilder()\n .retryIfResult(List::isEmpty)\n .withRetryListener(new RetryListener() {\n @Override\n public void onRetry(Attempt attempt) {\n if (!attempt.hasResult() || isEmptyList(attempt.getResult())) {\n if (connectionAttempts == 0) {\n LOG.info(\"No datanode is available. Retry #{}\", attempt.getAttemptNumber());\n } else {\n LOG.info(\"No datanode is available. Retry #{}/{}\", attempt.getAttemptNumber(), connectionAttempts);\n }\n\n }\n indexerDiscoveryListeners.forEach(IndexerDiscoveryListener::onDiscoveryRetry);\n }\n })\n .withWaitStrategy(WaitStrategies.fixedWait(delayBetweenAttempts.getQuantity(), delayBetweenAttempts.getUnit()))\n .withStopStrategy((connectionAttempts == 0) ? StopStrategies.neverStop() : StopStrategies.stopAfterAttempt(connectionAttempts))\n .build().call(this::discover);\n LOG.info(\"Discovered {} datanodes, these will be configured as indexers\", discoveredDatanodes.size());\n return discoveredDatanodes;\n } catch (ExecutionException | RetryException e) {\n LOG.error(\"Unable to retrieve Datanode connection: \", e);\n throw new IllegalStateException(\"Unable to retrieve Datanode connection\", e);\n }\n }\n\n // if there are no configured hosts and the preflight never has run or was skipped, we should fallback\n // to our old default localhost:9200 to preserve backwards compatibility.\n LOG.info(\"No indexer hosts configured, using fallback {}\", DEFAULT_INDEXER_HOST);\n return Collections.singletonList(DEFAULT_INDEXER_HOST);\n\n }\n\n private boolean isEmptyList(Object result) {\n return result instanceof List && ((List) result).isEmpty();\n }\n\n private List discover() {\n return nodeService.allActive().values().stream()\n .filter(n -> n.getDataNodeStatus() == DataNodeStatus.AVAILABLE) // avoid providing transport address of not fully initialized nodes\n .map(Node::getTransportAddress)\n .filter(address -> address != null && !address.isBlank())\n .map(URI::create)\n .filter(uri -> uri.getHost() != null)\n .collect(Collectors.toList());\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/6f78578e3caf14cfb10392e2be2fe28b3e1caa38.json b/web/public/bundles/graylog/code/6f78578e3caf14cfb10392e2be2fe28b3e1caa38.json new file mode 100644 index 00000000..82b1c043 --- /dev/null +++ b/web/public/bundles/graylog/code/6f78578e3caf14cfb10392e2be2fe28b3e1caa38.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6f78578e3caf14cfb10392e2be2fe28b3e1caa38", + "language": "typescript", + "path": "graylog2-web-interface/src/routing/SetAssetPrefix.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport URI from 'urijs';\n\nimport AppConfig from 'util/AppConfig';\n\ndeclare let __webpack_public_path__: string;\n\nconst setAssetPrefix = (productionPrefix: string) => {\n // The webpack-dev-server serves the assets from \"/\"\n const assetPrefix = AppConfig.gl2DevMode() ? '/' : productionPrefix;\n\n // If app prefix was not set, we need to tell webpack to load chunks from root instead of the relative URL path\n if (AppConfig.gl2AppPathPrefix() !== undefined) {\n __webpack_public_path__ = URI.joinPaths(AppConfig.gl2AppPathPrefix(), assetPrefix).path() || assetPrefix;\n } else {\n throw new Error(\n `Unable to determine app prefix. Is your Graylog server (${AppConfig.gl2ServerUrl()}) running and reachable?`,\n );\n }\n};\n\nexport default setAssetPrefix;\n" +} diff --git a/web/public/bundles/graylog/code/6fa03e4723d1d5961a8435d446a42999d09abb36.json b/web/public/bundles/graylog/code/6fa03e4723d1d5961a8435d446a42999d09abb36.json new file mode 100644 index 00000000..3e678b62 --- /dev/null +++ b/web/public/bundles/graylog/code/6fa03e4723d1d5961a8435d446a42999d09abb36.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6fa03e4723d1d5961a8435d446a42999d09abb36", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/suppliers/SidecarsVersionSupplier.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.telemetry.suppliers;\n\nimport jakarta.inject.Inject;\nimport org.graylog.plugins.sidecar.services.SidecarService;\nimport org.graylog2.telemetry.scheduler.TelemetryEvent;\nimport org.graylog2.telemetry.scheduler.TelemetryMetricSupplier;\n\nimport java.util.HashMap;\nimport java.util.Map;\nimport java.util.Optional;\n\npublic class SidecarsVersionSupplier implements TelemetryMetricSupplier {\n private final SidecarService sidecarService;\n\n @Inject\n public SidecarsVersionSupplier(SidecarService sidecarService) {\n this.sidecarService = sidecarService;\n }\n\n @Override\n public Optional get() {\n Map metrics = new HashMap<>(sidecarService.countByVersion());\n\n return Optional.of(TelemetryEvent.of(metrics));\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/6ff063c0518e4831415014f3d84064bb76e995e8.json b/web/public/bundles/graylog/code/6ff063c0518e4831415014f3d84064bb76e995e8.json new file mode 100644 index 00000000..226a473d --- /dev/null +++ b/web/public/bundles/graylog/code/6ff063c0518e4831415014f3d84064bb76e995e8.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6ff063c0518e4831415014f3d84064bb76e995e8", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/pagerduty/PagerDutyNotificationConfig.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.integrations.pagerduty;\n\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonIgnore;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.jackson.annotation.JsonTypeName;\nimport com.fasterxml.jackson.databind.annotation.JsonDeserialize;\nimport com.google.auto.value.AutoValue;\nimport jakarta.annotation.Nullable;\nimport org.graylog.events.contentpack.entities.EventNotificationConfigEntity;\nimport org.graylog.events.event.EventDto;\nimport org.graylog.events.notifications.EventNotificationConfig;\nimport org.graylog.events.notifications.EventNotificationExecutionJob;\nimport org.graylog.scheduler.JobTriggerData;\nimport org.graylog2.contentpacks.EntityDescriptorIds;\nimport org.graylog2.contentpacks.model.entities.references.ValueReference;\nimport org.graylog2.plugin.rest.ValidationResult;\n\nimport java.net.URI;\nimport java.net.URISyntaxException;\nimport java.util.Optional;\n\n/**\n * Configuration class for Pager Duty notifications.\n *\n * @author Edgar Molina\n */\n\n@AutoValue\n@JsonTypeName(PagerDutyNotificationConfig.TYPE_NAME)\n@JsonDeserialize(builder = PagerDutyNotificationConfig.Builder.class)\npublic abstract class PagerDutyNotificationConfig implements EventNotificationConfig {\n public static final String TYPE_NAME = \"pagerduty-notification-v2\";\n\n static final String FIELD_ROUTING_KEY = \"routing_key\";\n static final String FIELD_CUSTOM_INCIDENT = \"custom_incident\";\n static final String FIELD_KEY_PREFIX = \"key_prefix\";\n static final String FIELD_CLIENT_NAME = \"client_name\";\n static final String FIELD_CLIENT_URL = \"client_url\";\n static final String FIELD_PAGER_DUTY_TITLE = \"pager_duty_title\";\n static final String FIELD_INCIDENT_KEY = \"incident_key\";\n\n @JsonProperty(FIELD_ROUTING_KEY)\n public abstract String routingKey();\n\n @JsonProperty(FIELD_CUSTOM_INCIDENT)\n public abstract boolean customIncident();\n\n @JsonProperty(FIELD_KEY_PREFIX)\n public abstract String keyPrefix();\n\n @JsonProperty(FIELD_CLIENT_NAME)\n public abstract String clientName();\n\n @JsonProperty(FIELD_CLIENT_URL)\n public abstract String clientUrl();\n\n @JsonProperty(FIELD_PAGER_DUTY_TITLE)\n public abstract Optional pagerDutyTitle();\n\n @JsonProperty(FIELD_INCIDENT_KEY)\n public abstract Optional incidentKey();\n\n @JsonIgnore\n public JobTriggerData toJobTriggerData(EventDto dto) {\n return EventNotificationExecutionJob.Data.builder().eventDto(dto).build();\n }\n\n public static PagerDutyNotificationConfig.Builder builder() {\n return PagerDutyNotificationConfig.Builder.create();\n }\n\n @JsonIgnore\n @Override\n public ValidationResult validate() {\n final ValidationResult validation = new ValidationResult();\n\n if (routingKey().isEmpty()) {\n validation.addError(FIELD_ROUTING_KEY, \"Routing Key cannot be empty.\");\n }\n else if (routingKey().length() != 32) {\n validation.addError(FIELD_ROUTING_KEY, \"Routing Key must be 32 characters long.\");\n }\n if (customIncident() && keyPrefix().isEmpty() && incidentKey().isEmpty()) {\n validation.addError(FIELD_KEY_PREFIX, \"Incident Key or Incident Key Prefix must be provided when Custom Incident Key is selected.\");\n }\n if (clientName().isEmpty()) {\n validation.addError(FIELD_CLIENT_NAME, \"Client Name cannot be empty.\");\n }\n if (clientUrl().isEmpty()) {\n validation.addError(FIELD_CLIENT_URL, \"Client URL cannot be empty.\");\n }\n else {\n try {\n final URI clientUri = new URI(clientUrl());\n if (!\"http\".equals(clientUri.getScheme()) && !\"https\".equals(clientUri.getScheme())) {\n validation.addError(\n FIELD_CLIENT_URL, \"Client URL must be a valid HTTP or HTTPS URL.\");\n }\n }\n catch (URISyntaxException e) {\n validation.addError(FIELD_CLIENT_URL, \"Couldn't parse Client URL correctly.\");\n }\n }\n\n return validation;\n }\n\n @AutoValue.Builder\n public static abstract class Builder\n implements\n EventNotificationConfig.Builder {\n @JsonCreator\n public static PagerDutyNotificationConfig.Builder create() {\n return new AutoValue_PagerDutyNotificationConfig.Builder().type(TYPE_NAME);\n }\n\n @JsonProperty(FIELD_ROUTING_KEY)\n public abstract Builder routingKey(String routingKey);\n\n @JsonProperty(FIELD_CUSTOM_INCIDENT)\n public abstract Builder customIncident(boolean customIncident);\n\n @JsonProperty(FIELD_KEY_PREFIX)\n public abstract Builder keyPrefix(String keyPrefix);\n\n @JsonProperty(FIELD_CLIENT_NAME)\n public abstract Builder clientName(String clientName);\n\n @JsonProperty(FIELD_CLIENT_URL)\n public abstract Builder clientUrl(String clientUrl);\n\n @JsonProperty(FIELD_PAGER_DUTY_TITLE)\n public abstract Builder pagerDutyTitle(@Nullable String pagerDutyTitle);\n\n @JsonProperty(FIELD_INCIDENT_KEY)\n public abstract Builder incidentKey(@Nullable String incidentKey);\n\n public abstract PagerDutyNotificationConfig build();\n }\n\n @Override\n public EventNotificationConfigEntity toContentPackEntity(\n EntityDescriptorIds entityDescriptorIds) {\n return PagerDutyNotificationConfigEntity\n .builder()\n .routingKey(ValueReference.of(routingKey()))\n .customIncident(ValueReference.of(customIncident()))\n .keyPrefix(ValueReference.of(keyPrefix()))\n .clientName(ValueReference.of(clientName()))\n .clientUrl(ValueReference.of(clientUrl()))\n .pagerDutyTitle(ValueReference.ofNullable(pagerDutyTitle().orElse(null)))\n .incidentKey(ValueReference.ofNullable(incidentKey().orElse(null)))\n .build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/701e4cd32bfbad40f14c319e6307fd78f868473f.json b/web/public/bundles/graylog/code/701e4cd32bfbad40f14c319e6307fd78f868473f.json new file mode 100644 index 00000000..85059040 --- /dev/null +++ b/web/public/bundles/graylog/code/701e4cd32bfbad40f14c319e6307fd78f868473f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "701e4cd32bfbad40f14c319e6307fd78f868473f", + "language": "typescript", + "path": "graylog2-web-interface/src/integrations/aws/common/Routes.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport { qualifyUrls } from 'routing/Routes';\n\nconst AwsRoutes = {\n INTEGRATIONS: {\n AWS: {\n CLOUDWATCH: {\n index: '/integrations/aws/cloudwatch',\n },\n },\n },\n};\n\nconst ApiRoutes = {\n INTEGRATIONS: {\n AWS: {\n REGIONS: '/plugins/org.graylog.integrations/aws/regions',\n CLOUDWATCH: {\n GROUPS: '/plugins/org.graylog.integrations/aws/cloudwatch/log_groups',\n },\n KINESIS: {\n HEALTH_CHECK: '/plugins/org.graylog.integrations/aws/kinesis/health_check',\n STREAMS: '/plugins/org.graylog.integrations/aws/kinesis/streams',\n STREAM_ARN: '/plugins/org.graylog.integrations/aws/kinesis/stream_arn',\n SAVE: '/plugins/org.graylog.integrations/aws/inputs?setup_wizard=true',\n },\n KINESIS_AUTO_SETUP: {\n CREATE_STREAM: '/plugins/org.graylog.integrations/aws/kinesis/auto_setup/create_stream',\n CREATE_SUBSCRIPTION_POLICY:\n '/plugins/org.graylog.integrations/aws/kinesis/auto_setup/create_subscription_policy',\n CREATE_SUBSCRIPTION: '/plugins/org.graylog.integrations/aws/kinesis/auto_setup/create_subscription',\n },\n },\n },\n};\n\nconst DocsRoutes = {\n INTEGRATIONS: {\n AWS: {\n AWS_KINESIS_CLOUDWATCH_INPUTS: 'aws-kinesiscloudwatch-input',\n },\n },\n};\n\nexport default {\n ...qualifyUrls(AwsRoutes),\n unqualified: AwsRoutes,\n};\n\nexport { ApiRoutes, DocsRoutes };\n" +} diff --git a/web/public/bundles/graylog/code/71e50ebeab73cdb61ec8d8b6c596367388cd7484.json b/web/public/bundles/graylog/code/71e50ebeab73cdb61ec8d8b6c596367388cd7484.json new file mode 100644 index 00000000..6e357cce --- /dev/null +++ b/web/public/bundles/graylog/code/71e50ebeab73cdb61ec8d8b6c596367388cd7484.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "71e50ebeab73cdb61ec8d8b6c596367388cd7484", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/encryption/EncryptedInputConfigs.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.inputs.encryption;\n\nimport org.graylog2.plugin.configuration.ConfigurationRequest;\nimport org.graylog2.plugin.configuration.fields.ConfigurationField;\nimport org.graylog2.plugin.inputs.MessageInput;\nimport org.graylog2.security.encryption.EncryptedValue;\n\nimport javax.annotation.Nonnull;\nimport java.util.HashMap;\nimport java.util.Map;\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\n/**\n * Utility functions to deal with input configuration that contains encrypted values.\n */\npublic class EncryptedInputConfigs {\n\n private EncryptedInputConfigs() {\n }\n\n /**\n * Merges two configuration by applying updates while treating encrypted values correctly\n *\n * @param orig The original config that should be updated\n * @param update The new config containing the changes that should be applied to the original config\n * @return The merged config with encrypted values being properly handled\n */\n public static Map merge(Map orig, Map update) {\n final Map merged = new HashMap<>(orig);\n update.forEach((k, v) -> {\n if (orig.get(k) instanceof EncryptedValue origValue && v instanceof EncryptedValue newValue) {\n merged.put(k, mergeEncryptedValues(origValue, newValue));\n } else {\n merged.put(k, v);\n }\n });\n return merged;\n }\n\n /**\n * Returns the names of those fields in an input configuration that are expected to hold {@link EncryptedValue}s.\n */\n public static Set getEncryptedFields(@Nonnull MessageInput.Config messageInputConfig) {\n return getEncryptedFields(messageInputConfig.combinedRequestedConfiguration());\n }\n\n /**\n * Returns the names of those fields in a configuration request that are expected to hold {@link EncryptedValue}s.\n */\n public static Set getEncryptedFields(@Nonnull ConfigurationRequest configurationRequest) {\n return configurationRequest.getFields()\n .values()\n .stream()\n .filter(ConfigurationField::isEncrypted)\n .map(ConfigurationField::getName)\n .collect(Collectors.toSet());\n }\n\n private static EncryptedValue mergeEncryptedValues(EncryptedValue origValue, EncryptedValue newValue) {\n if (newValue.isKeepValue()) {\n return origValue;\n }\n if (newValue.isDeleteValue()) {\n return EncryptedValue.createUnset();\n }\n return newValue;\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/72dbb2fdc411f906290b93d7a41c9688f17ea4e2.json b/web/public/bundles/graylog/code/72dbb2fdc411f906290b93d7a41c9688f17ea4e2.json new file mode 100644 index 00000000..fa89aa27 --- /dev/null +++ b/web/public/bundles/graylog/code/72dbb2fdc411f906290b93d7a41c9688f17ea4e2.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "72dbb2fdc411f906290b93d7a41c9688f17ea4e2", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/views/widgets/messagelist/MessageListConfigDTO.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.views.search.views.widgets.messagelist;\n\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.jackson.annotation.JsonTypeName;\nimport com.fasterxml.jackson.databind.annotation.JsonDeserialize;\nimport com.google.auto.value.AutoValue;\nimport com.google.common.collect.ImmutableSet;\nimport org.graylog.plugins.formatting.units.model.UnitId;\nimport org.graylog.plugins.views.search.views.WidgetConfigDTO;\nimport org.graylog.plugins.views.search.views.units.WithConfigurableUnits;\nimport org.graylog.plugins.views.search.views.widgets.aggregation.sort.SortConfigDTO;\nimport org.graylog2.decorators.Decorator;\nimport org.graylog2.decorators.DecoratorImpl;\n\nimport javax.annotation.Nullable;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.List;\nimport java.util.Map;\n\n@AutoValue\n@JsonTypeName(MessageListConfigDTO.NAME)\n@JsonDeserialize(builder = MessageListConfigDTO.Builder.class)\npublic abstract class MessageListConfigDTO implements WidgetConfigDTO, WithConfigurableUnits {\n public static final String NAME = \"messages\";\n private static final String FIELD_FIELDS = \"fields\";\n private static final String FIELD_SHOW_MESSAGE_ROW = \"show_message_row\";\n private static final String FIELD_SHOW_SUMMARY = \"show_summary\";\n private static final String FIELD_DECORATORS = \"decorators\";\n private static final String FIELD_SORT = \"sort\";\n\n @JsonProperty(FIELD_FIELDS)\n public abstract ImmutableSet fields();\n\n @Override\n @JsonProperty(UNIT_SETTINGS_PROPERTY)\n public abstract Map unitSettings();\n\n @JsonProperty(FIELD_SHOW_MESSAGE_ROW)\n public abstract boolean showMessageRow();\n\n @JsonProperty(FIELD_SHOW_SUMMARY)\n @Nullable\n public abstract Boolean showSummary();\n\n @JsonProperty(FIELD_DECORATORS)\n public abstract List decorators();\n\n @JsonProperty(FIELD_SORT)\n public abstract List sort();\n\n @AutoValue.Builder\n public abstract static class Builder {\n @JsonProperty(FIELD_FIELDS)\n public abstract Builder fields(ImmutableSet fields);\n\n @JsonProperty(UNIT_SETTINGS_PROPERTY)\n public abstract Builder unitSettings(Map unitSettings);\n\n @JsonProperty(FIELD_SHOW_MESSAGE_ROW)\n public abstract Builder showMessageRow(boolean showMessageRow);\n\n @JsonProperty(FIELD_SHOW_SUMMARY)\n @Nullable\n public abstract Builder showSummary(Boolean showSummary);\n\n @JsonProperty(FIELD_DECORATORS)\n public Builder _decorators(List decorators) {\n return decorators(new ArrayList<>(decorators));\n }\n public abstract Builder decorators(List decorators);\n\n @JsonProperty(FIELD_SORT)\n public abstract Builder sort(List sort);\n\n public abstract MessageListConfigDTO build();\n\n @JsonCreator\n public static Builder builder() {\n return new AutoValue_MessageListConfigDTO.Builder()\n .unitSettings(Map.of())\n .decorators(Collections.emptyList())\n .sort(Collections.emptyList());\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/72df7fcef869fbf8cf5539e26b792ad946ce6925.json b/web/public/bundles/graylog/code/72df7fcef869fbf8cf5539e26b792ad946ce6925.json new file mode 100644 index 00000000..9ca3c2dc --- /dev/null +++ b/web/public/bundles/graylog/code/72df7fcef869fbf8cf5539e26b792ad946ce6925.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "72df7fcef869fbf8cf5539e26b792ad946ce6925", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/rest/resources/system/inputs/InputTypesResource.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.shared.rest.resources.system.inputs;\n\nimport com.codahale.metrics.annotation.Timed;\nimport io.swagger.v3.oas.annotations.Operation;\nimport io.swagger.v3.oas.annotations.Parameter;\nimport io.swagger.v3.oas.annotations.responses.ApiResponse;\nimport io.swagger.v3.oas.annotations.responses.ApiResponses;\nimport io.swagger.v3.oas.annotations.tags.Tag;\nimport jakarta.inject.Inject;\nimport jakarta.ws.rs.GET;\nimport jakarta.ws.rs.NotFoundException;\nimport jakarta.ws.rs.Path;\nimport jakarta.ws.rs.PathParam;\nimport jakarta.ws.rs.Produces;\nimport jakarta.ws.rs.core.MediaType;\nimport org.apache.shiro.authz.annotation.RequiresAuthentication;\nimport org.graylog2.Configuration;\nimport org.graylog2.rest.models.system.inputs.responses.InputTypeInfo;\nimport org.graylog2.rest.models.system.inputs.responses.InputTypesSummary;\nimport org.graylog2.shared.inputs.InputDescription;\nimport org.graylog2.shared.inputs.MessageInputFactory;\nimport org.graylog2.shared.rest.resources.RestResource;\nimport org.graylog2.shared.security.RestPermissions;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.util.HashMap;\nimport java.util.Map;\nimport java.util.stream.Collectors;\nimport java.util.stream.Stream;\n\n@RequiresAuthentication\n@Tag(name = \"System/Inputs/Types\", description = \"Message input types of this node\")\n@Path(\"/system/inputs/types\")\n@Produces(MediaType.APPLICATION_JSON)\npublic class InputTypesResource extends RestResource {\n private static final Logger LOG = LoggerFactory.getLogger(InputTypesResource.class);\n private final MessageInputFactory messageInputFactory;\n private final Configuration config;\n\n @Inject\n public InputTypesResource(MessageInputFactory messageInputFactory,\n Configuration config) {\n this.messageInputFactory = messageInputFactory;\n this.config = config;\n }\n\n @GET\n @Timed\n @Operation(summary = \"Get all available input types of this node\")\n public InputTypesSummary types() {\n Map types = new HashMap<>();\n for (Map.Entry entry : messageInputFactory.getAvailableInputs().entrySet()) {\n if (config.isCloud() && !entry.getValue().isCloudCompatible()) {\n continue;\n }\n if (!isPermitted(RestPermissions.INPUT_TYPES_CREATE, entry.getKey())) {\n continue;\n }\n types.put(entry.getKey(), entry.getValue().getName());\n }\n return InputTypesSummary.create(types);\n }\n\n @GET\n @Timed\n @Path(\"/all\")\n @Operation(summary = \"Get information about all input types\")\n public Map all() {\n final Map availableTypes = messageInputFactory.getAvailableInputs();\n Stream> inputStream = availableTypes\n .entrySet()\n .stream();\n if (config.isCloud()) {\n inputStream = inputStream.filter(e -> e.getValue().isCloudCompatible());\n }\n return inputStream\n .filter(e -> isPermitted(RestPermissions.INPUT_TYPES_CREATE, e.getKey()))\n .collect(Collectors.toMap(Map.Entry::getKey, entry -> {\n final InputDescription description = entry.getValue();\n return InputTypeInfo.create(entry.getKey(), description.getName(), description.getDescription(),\n description.isExclusive(), description.getRequestedConfiguration(), description.getLinkToDocs());\n }));\n }\n\n @GET\n @Timed\n @Path(\"{inputType}\")\n @Operation(summary = \"Get information about a single input type\")\n @ApiResponses(value = {\n @ApiResponse(responseCode = \"200\", description = \"Returns type info\", useReturnTypeSchema = true),\n @ApiResponse(responseCode = \"404\", description = \"No such input type registered.\")\n })\n public InputTypeInfo info(@Parameter(name = \"inputType\", required = true) @PathParam(\"inputType\") String inputType) {\n final InputDescription description = messageInputFactory.getAvailableInputs().get(inputType);\n if (description == null) {\n throwInputTypeNotFound(inputType);\n } else if (config.isCloud() && !description.isCloudCompatible()) {\n throwInputTypeNotFound(inputType);\n } else if (!isPermitted(RestPermissions.INPUT_TYPES_CREATE, inputType)) {\n throwInputTypeNotFound(inputType);\n }\n\n return InputTypeInfo.create(inputType, description.getName(), description.getDescription(),\n description.isExclusive(), description.getRequestedConfiguration(), description.getLinkToDocs());\n }\n\n private static void throwInputTypeNotFound(String inputType) {\n final String message = \"Unknown input type \" + inputType + \" requested.\";\n LOG.error(message);\n throw new NotFoundException(message);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/730b351d829d08ec6125bf549444af920d2850d9.json b/web/public/bundles/graylog/code/730b351d829d08ec6125bf549444af920d2850d9.json new file mode 100644 index 00000000..4a5879bc --- /dev/null +++ b/web/public/bundles/graylog/code/730b351d829d08ec6125bf549444af920d2850d9.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "730b351d829d08ec6125bf549444af920d2850d9", + "language": "typescript", + "path": "graylog2-web-interface/src/routing/useServerVersion.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport { useContext } from 'react';\n\nimport ServerAvailabilityContext from 'contexts/ServerAvailabilityContext';\n\nconst useServerVersion = () => useContext(ServerAvailabilityContext)?.version;\n\nexport default useServerVersion;\n" +} diff --git a/web/public/bundles/graylog/code/73a62c286370dd5747f6b7e75fbce331fa017a35.json b/web/public/bundles/graylog/code/73a62c286370dd5747f6b7e75fbce331fa017a35.json new file mode 100644 index 00000000..24d73a8e --- /dev/null +++ b/web/public/bundles/graylog/code/73a62c286370dd5747f6b7e75fbce331fa017a35.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "73a62c286370dd5747f6b7e75fbce331fa017a35", + "language": "typescript", + "path": "graylog2-web-interface/src/hooks/usePipelineMutations.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\n\nimport { useMutation, useQueryClient } from '@tanstack/react-query';\n\nimport { PipelinesPipelines } from '@graylog/server-api';\n\nimport type { NewPipelineType, PipelineType } from 'components/pipelines/types';\nimport { DEFAULT_PIPELINE } from 'components/pipelines/types';\nimport UserNotification from 'util/UserNotification';\nimport SourceGenerator from 'logic/pipelines/SourceGenerator';\n\nimport { PIPELINES_QUERY_KEY } from './usePipelines';\nimport { PIPELINE_QUERY_KEY } from './usePipeline';\n\nconst createPipeline = async ({ pipelineSource }: { pipelineSource: NewPipelineType }): Promise => {\n const requestPipeline = {\n ...DEFAULT_PIPELINE,\n ...pipelineSource,\n };\n\n return PipelinesPipelines.createFromParser({\n ...requestPipeline,\n source: SourceGenerator.generatePipeline(requestPipeline),\n });\n};\n\nconst updatePipeline = async ({ pipelineSource, pipelineId }: { pipelineSource: PipelineType; pipelineId: string }) =>\n PipelinesPipelines.update(pipelineSource, pipelineId);\n\nconst deletePipeline = async ({ pipelineId }: { pipelineId: string }) => PipelinesPipelines.remove(pipelineId);\n\nconst usePipelineMutations = () => {\n const queryClient = useQueryClient();\n\n const createMutation = useMutation({\n mutationFn: createPipeline,\n\n onError: (errorThrown) => {\n UserNotification.error(`Creating pipeline failed with status: ${errorThrown}`, 'Could not create pipeline');\n },\n\n onSuccess: () => {\n UserNotification.success('Pipeline has been successfully created.', 'Success!');\n queryClient.invalidateQueries({ queryKey: PIPELINES_QUERY_KEY });\n },\n });\n\n const updateMutation = useMutation({\n mutationFn: updatePipeline,\n\n onError: (errorThrown) => {\n UserNotification.error(`Updating pipeline failed with status: ${errorThrown}`, 'Could not update pipeline');\n },\n\n onSuccess: () => {\n UserNotification.success('Pipeline has been successfully updated.', 'Success!');\n queryClient.invalidateQueries({ queryKey: PIPELINES_QUERY_KEY });\n queryClient.invalidateQueries({ queryKey: PIPELINE_QUERY_KEY });\n },\n });\n\n const deleteMutation = useMutation({\n mutationFn: deletePipeline,\n\n onError: (errorThrown) => {\n UserNotification.error(`Deleting pipeline failed with status: ${errorThrown}`, 'Could not delete pipeline');\n },\n\n onSuccess: () => {\n UserNotification.success('Pipeline has been successfully deleted.', 'Success!');\n queryClient.invalidateQueries({ queryKey: PIPELINES_QUERY_KEY });\n queryClient.invalidateQueries({ queryKey: PIPELINE_QUERY_KEY });\n },\n });\n\n return {\n createPipeline: createMutation.mutateAsync,\n updatePipeline: updateMutation.mutateAsync,\n deletePipeline: deleteMutation.mutateAsync,\n };\n};\n\nexport default usePipelineMutations;\n" +} diff --git a/web/public/bundles/graylog/code/73f781c6deb6a18de5ff05c0d24e89c611a992db.json b/web/public/bundles/graylog/code/73f781c6deb6a18de5ff05c0d24e89c611a992db.json new file mode 100644 index 00000000..4627d94e --- /dev/null +++ b/web/public/bundles/graylog/code/73f781c6deb6a18de5ff05c0d24e89c611a992db.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "73f781c6deb6a18de5ff05c0d24e89c611a992db", + "language": "typescript", + "path": "graylog2-web-interface/src/components/metrics/MeterDetails.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\nimport numeral from 'numeral';\n\nimport type { MeterMetric } from 'types/metrics';\n\ntype Props = {\n metric: MeterMetric;\n};\nconst MeterDetails = ({ metric: { metric: meter } }: Props) => (\n
\n
Total:
\n
\n {numeral(meter.rate.total).format('0,0')} events\n
\n
Mean:
\n
\n {numeral(meter.rate.mean).format('0,0.[00]')} {meter.rate_unit}\n
\n
1 minute avg:
\n
\n {numeral(meter.rate.one_minute).format('0,0.[00]')} {meter.rate_unit}\n
\n
5 minute avg:
\n
\n {numeral(meter.rate.five_minute).format('0,0.[00]')} {meter.rate_unit}\n
\n
15 minute avg:
\n
\n {numeral(meter.rate.fifteen_minute).format('0,0.[00]')} {meter.rate_unit}\n
\n
\n);\n\nexport default MeterDetails;\n" +} diff --git a/web/public/bundles/graylog/code/74682996e3decdc4a5413a3d67809a7ffac1719d.json b/web/public/bundles/graylog/code/74682996e3decdc4a5413a3d67809a7ffac1719d.json new file mode 100644 index 00000000..40a31150 --- /dev/null +++ b/web/public/bundles/graylog/code/74682996e3decdc4a5413a3d67809a7ffac1719d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "74682996e3decdc4a5413a3d67809a7ffac1719d", + "language": "typescript", + "path": "graylog2-web-interface/src/contexts/DocumentTitleContext.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\n\nimport { singleton } from 'logic/singleton';\nimport type { DocumentTitleRegistry } from 'contexts/createDocumentTitleRegistry';\n\nconst DocumentTitleContext = React.createContext(undefined);\n\nexport default singleton('contexts.DocumentTitleContext', () => DocumentTitleContext);\n" +} diff --git a/web/public/bundles/graylog/code/74fbf7c83cccc2deac5897670e95096ce964771d.json b/web/public/bundles/graylog/code/74fbf7c83cccc2deac5897670e95096ce964771d.json new file mode 100644 index 00000000..ecb36215 --- /dev/null +++ b/web/public/bundles/graylog/code/74fbf7c83cccc2deac5897670e95096ce964771d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "74fbf7c83cccc2deac5897670e95096ce964771d", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/aws/inputs/cloudtrail/CloudTrailPollerTask.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.aws.inputs.cloudtrail;\n\nimport com.fasterxml.jackson.databind.ObjectMapper;\nimport org.graylog.aws.inputs.cloudtrail.external.CloudTrailS3Client;\nimport org.graylog.aws.inputs.cloudtrail.json.CloudTrailRecord;\nimport org.graylog.aws.inputs.cloudtrail.messages.TreeReader;\nimport org.graylog.aws.inputs.cloudtrail.sqs.CloudTrailSQSReader;\nimport org.graylog.aws.notifications.SQSClient;\nimport org.graylog2.plugin.InputFailureRecorder;\nimport org.graylog2.plugin.inputs.MessageInput;\nimport org.graylog2.plugin.journal.RawMessage;\nimport org.graylog2.shared.utilities.ExceptionUtils;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.io.IOException;\nimport java.util.List;\nimport java.util.concurrent.atomic.AtomicBoolean;\nimport java.util.concurrent.atomic.AtomicInteger;\n\nimport static org.graylog.aws.inputs.cloudtrail.CloudTrailInput.CK_SQS_MESSAGE_BATCH_SIZE;\nimport static org.graylog2.shared.utilities.StringUtils.f;\n\npublic class CloudTrailPollerTask implements Runnable {\n\n private static final Logger LOG = LoggerFactory.getLogger(CloudTrailPollerTask.class);\n private final MessageInput input;\n private final CloudTrailTransport transport;\n private final CloudTrailS3Client cloudTrailS3Client;\n private final InputFailureRecorder failureRecorder;\n private final CloudTrailSQSReader sqsReader;\n private final ObjectMapper objectMapper;\n private static final int DEFAULT_BATCH_SIZE = 5;\n\n public CloudTrailPollerTask(MessageInput input,\n SQSClient sqsClient,\n CloudTrailS3Client cloudTrailS3Client,\n CloudTrailTransport transport,\n InputFailureRecorder failureRecorder,\n ObjectMapper objectMapper,\n AtomicBoolean interrupt) {\n this.input = input;\n this.transport = transport;\n this.failureRecorder = failureRecorder;\n this.objectMapper = objectMapper;\n this.cloudTrailS3Client = cloudTrailS3Client;\n this.sqsReader = new CloudTrailSQSReader(interrupt, sqsClient, failureRecorder, input.getConfiguration().getInt(CK_SQS_MESSAGE_BATCH_SIZE, DEFAULT_BATCH_SIZE));\n }\n\n @Override\n public void run() {\n try {\n doRun();\n } catch (Throwable t) {\n failureRecorder.setFailing(getClass(), \"Failure in CloudTrail Poller Task\", t);\n }\n }\n\n public void doRun() throws IOException {\n if (transport.isThrottled()) {\n LOG.debug(\"[throttled] The CloudTrail input will pause message processing until the throttle state clears.\");\n transport.blockUntilUnthrottled();\n LOG.debug(\"[unthrottled] The CloudTrail input will now resume processing records.\");\n }\n\n final AtomicInteger totalProcessedRecords = new AtomicInteger();\n sqsReader.read(notification -> {\n // Callback for reading S3 payload from SQS notification.\n try {\n LOG.debug(\"Checking for CloudTrail notifications in SQS.\");\n TreeReader treeReader = new TreeReader(objectMapper);\n List records = treeReader.read(\n cloudTrailS3Client.readCompressed(\n notification.getS3Bucket(),\n notification.getS3ObjectKey()));\n\n LOG.debug(\"[{}] records read from S3.\", records.size());\n\n for (CloudTrailRecord record : records) {\n LOG.debug(\"Processing CloudTrail message content.\");\n\n if (LOG.isTraceEnabled()) {\n LOG.trace(\"Processing cloud trail record: {}\", objectMapper.writerWithDefaultPrettyPrinter().writeValueAsString(record));\n }\n\n input.processRawMessage(new RawMessage(objectMapper.writeValueAsBytes(record)));\n totalProcessedRecords.incrementAndGet();\n }\n } catch (Exception e) {\n final String msg = f(\n \"Could not read CloudTrail log file for <%s>. Skipping.\", notification.getS3Bucket(),\n ExceptionUtils.getRootCauseMessage(e));\n failureRecorder.setFailing(getClass(), msg, e);\n }\n });\n\n if (totalProcessedRecords.get() > 0) {\n failureRecorder.setRunning();\n }\n LOG.debug(\"Total records processed for Input [{}] : [{}]\", input.toIdentifier(), totalProcessedRecords);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/76aaf9075a723a4676118919f7e46fda4857e3cb.json b/web/public/bundles/graylog/code/76aaf9075a723a4676118919f7e46fda4857e3cb.json new file mode 100644 index 00000000..95fb3957 --- /dev/null +++ b/web/public/bundles/graylog/code/76aaf9075a723a4676118919f7e46fda4857e3cb.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "76aaf9075a723a4676118919f7e46fda4857e3cb", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/converters/SplitAndCountConverter.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.inputs.converters;\n\nimport org.graylog2.ConfigurationException;\nimport org.graylog2.plugin.inputs.Converter;\n\nimport java.util.Map;\nimport java.util.regex.Pattern;\n\nimport static com.google.common.base.Strings.isNullOrEmpty;\n\npublic class SplitAndCountConverter extends Converter {\n private final String splitByEscaped;\n\n public SplitAndCountConverter(Map config) throws ConfigurationException {\n super(Type.SPLIT_AND_COUNT, config);\n\n final String splitBy = (String) config.get(\"split_by\");\n if (isNullOrEmpty(splitBy)) {\n throw new ConfigurationException(\"Missing config [split_by].\");\n }\n\n splitByEscaped = Pattern.quote(splitBy);\n }\n\n @Override\n public Object convert(String value) {\n if (value == null || value.isEmpty()) {\n return 0;\n }\n\n return value.split(splitByEscaped).length;\n }\n\n @Override\n public boolean buildsMultipleFields() {\n return false;\n }\n\n}\n" +} diff --git a/web/public/bundles/graylog/code/76e9f9dd93e8ed7a0076652971fb3e69268e8219.json b/web/public/bundles/graylog/code/76e9f9dd93e8ed7a0076652971fb3e69268e8219.json new file mode 100644 index 00000000..9f1390c1 --- /dev/null +++ b/web/public/bundles/graylog/code/76e9f9dd93e8ed7a0076652971fb3e69268e8219.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "76e9f9dd93e8ed7a0076652971fb3e69268e8219", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/inputs/paloalto11/PaloAlto11xUdpInput.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.integrations.inputs.paloalto11;\n\nimport com.codahale.metrics.MetricRegistry;\nimport com.google.inject.assistedinject.Assisted;\nimport com.google.inject.assistedinject.AssistedInject;\nimport jakarta.inject.Inject;\nimport org.graylog2.inputs.transports.UdpTransport;\nimport org.graylog2.plugin.LocalMetricRegistry;\nimport org.graylog2.plugin.ServerStatus;\nimport org.graylog2.plugin.configuration.Configuration;\nimport org.graylog2.plugin.inputs.MessageInput;\nimport org.graylog2.plugin.inputs.annotations.ConfigClass;\nimport org.graylog2.plugin.inputs.annotations.FactoryClass;\n\npublic class PaloAlto11xUdpInput extends MessageInput {\n\n public static final String NAME = \"Palo Alto Networks UDP (PAN-OS v11+)\";\n\n @AssistedInject\n public PaloAlto11xUdpInput(MetricRegistry metricRegistry,\n @Assisted Configuration configuration,\n UdpTransport.Factory udpTransportFactory,\n PaloAlto11xCodec.Factory codecFactory,\n LocalMetricRegistry localRegistry,\n Config config,\n Descriptor descriptor,\n ServerStatus serverStatus) {\n super(metricRegistry, configuration, udpTransportFactory.create(configuration), localRegistry,\n codecFactory.create(configuration), config, descriptor, serverStatus);\n }\n\n @FactoryClass\n public interface Factory extends MessageInput.Factory {\n @Override\n PaloAlto11xUdpInput create(Configuration configuration);\n\n @Override\n PaloAlto11xUdpInput.Config getConfig();\n\n @Override\n PaloAlto11xUdpInput.Descriptor getDescriptor();\n }\n\n public static class Descriptor extends MessageInput.Descriptor {\n @Inject\n public Descriptor() {\n super(NAME, false, \"\");\n }\n }\n\n @ConfigClass\n public static class Config extends MessageInput.Config {\n\n @Inject\n public Config(UdpTransport.Factory transport, PaloAlto11xCodec.Factory codec) {\n super(transport.getConfig(), codec.getConfig());\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/7702bc03e5a1730b259ab505071b43c5216b72fe.json b/web/public/bundles/graylog/code/7702bc03e5a1730b259ab505071b43c5216b72fe.json new file mode 100644 index 00000000..c8d37f90 --- /dev/null +++ b/web/public/bundles/graylog/code/7702bc03e5a1730b259ab505071b43c5216b72fe.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "7702bc03e5a1730b259ab505071b43c5216b72fe", + "language": "typescript", + "path": "graylog2-web-interface/src/views/components/dashboard/DashboardsOverview/Constants.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\n\nimport type { Attribute, Sort } from 'stores/PaginationTypes';\n\nconst getDashboardTableElements = (pluggableAttributes?: {\n attributeNames?: Array;\n attributes?: Array;\n}) => {\n const getDefaultLayout = (hideAdditionalColumns: boolean) => ({\n entityTableId: 'dashboards',\n defaultPageSize: 20,\n defaultSort: { attributeId: 'title', direction: 'asc' } as Sort,\n defaultDisplayedAttributes: hideAdditionalColumns\n ? ['title', 'description', 'summary']\n : ['title', 'description', 'summary', 'favorite'],\n defaultColumnOrder: [\n 'title',\n 'summary',\n 'description',\n 'owner',\n '_entity_source.source',\n 'created_at',\n 'last_updated_at',\n ...(pluggableAttributes?.attributeNames || []),\n 'favorite',\n ],\n });\n\n const additionalAttributes = [...(pluggableAttributes?.attributes || [])];\n\n return {\n getDefaultLayout,\n additionalAttributes,\n };\n};\n\nexport default getDashboardTableElements;\n" +} diff --git a/web/public/bundles/graylog/code/772f16e89253d1fad52aa5aa02cd6cea42f03638.json b/web/public/bundles/graylog/code/772f16e89253d1fad52aa5aa02cd6cea42f03638.json new file mode 100644 index 00000000..c1428acd --- /dev/null +++ b/web/public/bundles/graylog/code/772f16e89253d1fad52aa5aa02cd6cea42f03638.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "772f16e89253d1fad52aa5aa02cd6cea42f03638", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/InputWithExtractors.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.contentpacks.facades;\n\nimport com.google.auto.value.AutoValue;\nimport com.google.common.collect.ImmutableList;\nimport org.graylog2.inputs.Input;\nimport org.graylog2.plugin.inputs.Extractor;\n\n@AutoValue\npublic abstract class InputWithExtractors {\n public abstract Input input();\n\n public abstract ImmutableList extractors();\n\n public static InputWithExtractors create(Input input, Iterable extractors) {\n return new AutoValue_InputWithExtractors(input, ImmutableList.copyOf(extractors));\n }\n\n public static InputWithExtractors create(Input input) {\n return create(input, ImmutableList.of());\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/77a13a6023a0e6aef1504a64f9bcb8482d399cb0.json b/web/public/bundles/graylog/code/77a13a6023a0e6aef1504a64f9bcb8482d399cb0.json new file mode 100644 index 00000000..dbef2fdf --- /dev/null +++ b/web/public/bundles/graylog/code/77a13a6023a0e6aef1504a64f9bcb8482d399cb0.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "77a13a6023a0e6aef1504a64f9bcb8482d399cb0", + "language": "typescript", + "path": "graylog2-web-interface/src/preflight/navigation/Navigation.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\nimport type { TextProps } from '@mantine/core';\nimport styled, { css } from 'styled-components';\n\nimport ProductName from 'brand-customization/ProductName';\nimport HelpMenu from 'preflight/navigation/HelpMenu';\nimport { Group, AppShell, Text } from 'preflight/components/common';\nimport NavigationBrand from 'components/navigation/NavigationBrand';\n\nimport ThemeModeToggle from './ThemeModeToggle';\n\ntype StyledMantineTextProps = TextProps & {\n children: React.ReactNode;\n};\nconst GraylogHeader = styled(AppShell.Header)(\n ({ theme }) => css`\n background-color: ${theme.colors.global.contentBackground};\n border: 1px solid ${theme.colors.variant.lighter.default};\n padding: ${theme.spacings.md};\n `,\n);\nconst NavigationContainer = styled.div`\n display: flex;\n justify-content: space-between;\n align-items: center;\n`;\nconst StyledText = styled(Text)(\n ({ theme }) => css`\n color: ${theme.mode === 'light' ? theme.colors.brand.concrete : 'white'};\n `,\n);\nconst Navigation = () => (\n \n \n \n \n \n Initial Setup\n \n \n \n \n \n \n \n \n);\n\nexport default Navigation;\n" +} diff --git a/web/public/bundles/graylog/code/77aec303ae5201f9d42bc0d983b288c708872506.json b/web/public/bundles/graylog/code/77aec303ae5201f9d42bc0d983b288c708872506.json new file mode 100644 index 00000000..321384ee --- /dev/null +++ b/web/public/bundles/graylog/code/77aec303ae5201f9d42bc0d983b288c708872506.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "77aec303ae5201f9d42bc0d983b288c708872506", + "language": "java", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/views/export/ExportClient.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.storage.elasticsearch7.views.export;\n\nimport jakarta.inject.Inject;\nimport org.graylog.plugins.views.search.export.ExportException;\nimport org.graylog.shaded.elasticsearch7.org.elasticsearch.action.ShardOperationFailedException;\nimport org.graylog.shaded.elasticsearch7.org.elasticsearch.action.search.SearchRequest;\nimport org.graylog.shaded.elasticsearch7.org.elasticsearch.action.search.SearchResponse;\nimport org.graylog.shaded.elasticsearch7.org.elasticsearch.client.RequestOptions;\nimport org.graylog.shaded.elasticsearch7.org.elasticsearch.client.RestHighLevelClient;\nimport org.graylog.storage.elasticsearch7.ElasticsearchClient;\nimport org.graylog.storage.function.ThrowingBiFunction;\nimport org.graylog2.indexer.ElasticsearchException;\n\nimport java.io.IOException;\nimport java.util.Arrays;\nimport java.util.List;\n\npublic class ExportClient {\n private final ElasticsearchClient client;\n\n @Inject\n public ExportClient(ElasticsearchClient client) {\n this.client = client;\n }\n\n public SearchResponse search(SearchRequest request, String errorMessage) {\n try {\n final SearchResponse response = this.client.search(request, errorMessage);\n if (response.getFailedShards() > 0) {\n final List errors = Arrays.stream(response.getShardFailures())\n .map(ShardOperationFailedException::getCause)\n .map(Throwable::getMessage)\n .distinct()\n .toList();\n throw new ElasticsearchException(\"Unable to perform export query: \", errors);\n }\n return response;\n } catch (Exception e) {\n throw wrapException(e);\n }\n }\n\n private ExportException wrapException(Exception e) {\n return new ExportException(\"Unable to complete export: \", new ElasticsearchException(e));\n }\n\n public R execute(ThrowingBiFunction fn, String errorMessage) {\n try {\n return this.client.execute(fn, errorMessage);\n } catch (Exception e) {\n throw wrapException(e);\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/78363be5ed670445137d94591a162ba49d7f9adb.json b/web/public/bundles/graylog/code/78363be5ed670445137d94591a162ba49d7f9adb.json new file mode 100644 index 00000000..2aa16459 --- /dev/null +++ b/web/public/bundles/graylog/code/78363be5ed670445137d94591a162ba49d7f9adb.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "78363be5ed670445137d94591a162ba49d7f9adb", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/sidecar/SidecarModule.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.sidecar;\n\nimport com.google.common.collect.ImmutableSet;\nimport com.google.inject.Scopes;\nimport com.google.inject.assistedinject.FactoryModuleBuilder;\nimport com.google.inject.multibindings.Multibinder;\nimport com.google.inject.name.Names;\nimport org.graylog.plugins.sidecar.audit.SidecarAuditEventTypes;\nimport org.graylog.plugins.sidecar.common.SidecarPluginConfiguration;\nimport org.graylog.plugins.sidecar.filter.AdministrationFilter;\nimport org.graylog.plugins.sidecar.filter.CollectorAdministrationFilter;\nimport org.graylog.plugins.sidecar.filter.ConfigurationAdministrationFilter;\nimport org.graylog.plugins.sidecar.filter.OsAdministrationFilter;\nimport org.graylog.plugins.sidecar.filter.StatusAdministrationFilter;\nimport org.graylog.plugins.sidecar.migrations.V20180212165000_AddDefaultCollectors;\nimport org.graylog.plugins.sidecar.migrations.V20180323150000_AddSidecarUser;\nimport org.graylog.plugins.sidecar.migrations.V20180601151500_AddDefaultConfiguration;\nimport org.graylog.plugins.sidecar.migrations.V20230502164900_AddSidecarManagerAndReaderRole;\nimport org.graylog.plugins.sidecar.periodical.PurgeExpiredSidecarsThread;\nimport org.graylog.plugins.sidecar.permissions.SidecarRestPermissions;\nimport org.graylog.plugins.sidecar.rest.resources.ActionResource;\nimport org.graylog.plugins.sidecar.rest.resources.AdministrationResource;\nimport org.graylog.plugins.sidecar.rest.resources.CollectorResource;\nimport org.graylog.plugins.sidecar.rest.resources.ConfigurationResource;\nimport org.graylog.plugins.sidecar.rest.resources.ConfigurationVariableResource;\nimport org.graylog.plugins.sidecar.rest.resources.SidecarResource;\nimport org.graylog.plugins.sidecar.services.CollectorService;\nimport org.graylog.plugins.sidecar.services.ConfigurationService;\nimport org.graylog.plugins.sidecar.services.ConfigurationVariableService;\nimport org.graylog.plugins.sidecar.services.EtagService;\nimport org.graylog.plugins.sidecar.services.SidecarService;\nimport org.graylog2.migrations.Migration;\nimport org.graylog2.plugin.PluginConfigBean;\nimport org.graylog2.plugin.PluginModule;\n\nimport java.util.Set;\n\npublic class SidecarModule extends PluginModule {\n @Override\n public Set getConfigBeans() {\n return ImmutableSet.of(\n new SidecarPluginConfiguration()\n );\n }\n\n @Override\n protected void configure() {\n bind(ConfigurationService.class).asEagerSingleton();\n bind(SidecarService.class).asEagerSingleton();\n bind(CollectorService.class).asEagerSingleton();\n bind(ConfigurationVariableService.class).asEagerSingleton();\n\n install(new FactoryModuleBuilder()\n .implement(AdministrationFilter.class, Names.named(\"collector\"), CollectorAdministrationFilter.class)\n .implement(AdministrationFilter.class, Names.named(\"configuration\"), ConfigurationAdministrationFilter.class)\n .implement(AdministrationFilter.class, Names.named(\"os\"), OsAdministrationFilter.class)\n .implement(AdministrationFilter.class, Names.named(\"status\"), StatusAdministrationFilter.class)\n .build(AdministrationFilter.Factory.class));\n\n addSystemRestResource(ActionResource.class);\n addSystemRestResource(AdministrationResource.class);\n addSystemRestResource(CollectorResource.class);\n addSystemRestResource(ConfigurationResource.class);\n addSystemRestResource(ConfigurationVariableResource.class);\n addSystemRestResource(SidecarResource.class);\n\n addPermissions(SidecarRestPermissions.class);\n addPeriodical(PurgeExpiredSidecarsThread.class);\n\n addAuditEventTypes(SidecarAuditEventTypes.class);\n\n final Multibinder binder = Multibinder.newSetBinder(binder(), Migration.class);\n binder.addBinding().to(V20180212165000_AddDefaultCollectors.class);\n binder.addBinding().to(V20180323150000_AddSidecarUser.class);\n binder.addBinding().to(V20180601151500_AddDefaultConfiguration.class);\n binder.addBinding().to(V20230502164900_AddSidecarManagerAndReaderRole.class);\n\n serviceBinder().addBinding().to(EtagService.class).in(Scopes.SINGLETON);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/7882c3ed62b69beb99349d2da31ad720554f69fb.json b/web/public/bundles/graylog/code/7882c3ed62b69beb99349d2da31ad720554f69fb.json new file mode 100644 index 00000000..4f68e75b --- /dev/null +++ b/web/public/bundles/graylog/code/7882c3ed62b69beb99349d2da31ad720554f69fb.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "7882c3ed62b69beb99349d2da31ad720554f69fb", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CertutilCert.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.security.certutil;\n\nimport com.github.rvesse.airline.annotations.Command;\nimport com.github.rvesse.airline.annotations.Option;\nimport org.apache.commons.lang3.RandomStringUtils;\nimport org.apache.commons.lang3.StringUtils;\nimport org.graylog.security.certutil.console.CommandLineConsole;\nimport org.graylog.security.certutil.console.SystemConsole;\nimport org.graylog2.bootstrap.CliCommand;\nimport org.graylog2.plugin.Tools;\n\nimport java.io.FileInputStream;\nimport java.io.FileOutputStream;\nimport java.io.IOException;\nimport java.net.InetAddress;\nimport java.nio.file.Path;\nimport java.security.Key;\nimport java.security.KeyStore;\nimport java.security.KeyStoreException;\nimport java.security.NoSuchAlgorithmException;\nimport java.security.PrivateKey;\nimport java.security.UnrecoverableKeyException;\nimport java.security.cert.CertificateException;\nimport java.security.cert.X509Certificate;\nimport java.time.Duration;\nimport java.util.Arrays;\n\nimport static org.graylog.security.certutil.CertConstants.CA_KEY_ALIAS;\nimport static org.graylog.security.certutil.CertConstants.PKCS12;\n\n\n@Command(name = \"cert\", description = \"Manage certificates for data-node\", groupNames = {\"certutil\"})\npublic class CertutilCert implements CliCommand {\n\n @Option(name = \"--ca\", description = \"Filename for the CA keystore\")\n protected String caKeystoreFilename = \"datanode-ca.p12\";\n\n @Option(name = \"--keystore\", description = \"Filename for the generated keystore\")\n protected String nodeKeystoreFilename = \"datanode-transport-certificates.p12\";\n\n private final CommandLineConsole console;\n\n public static final CommandLineConsole.Prompt PROMPT_ENTER_CA_PASSWORD = CommandLineConsole.prompt(\"Enter CA password: \");\n public static final CommandLineConsole.Prompt PROMPT_ENTER_CERT_ALTERNATIVE_NAMES = CommandLineConsole.prompt(\"Enter alternative names (addresses) of this node [comma separated]: \");\n public static final CommandLineConsole.Prompt PROMPT_ENTER_CERTIFICATE_PASSWORD = CommandLineConsole.prompt(\"Enter datanode certificate password: \");\n\n public CertutilCert() {\n this.console = new SystemConsole();\n }\n\n public CertutilCert(String caKeystoreFilename, String nodeKeystoreFilename, CommandLineConsole console) {\n this.caKeystoreFilename = caKeystoreFilename;\n this.nodeKeystoreFilename = nodeKeystoreFilename;\n this.console = console;\n }\n\n @Override\n public void run() {\n console.printLine(\"This tool will generate a data-node certificate signed by provided certificate authority\");\n\n final Path caKeystorePath = Path.of(caKeystoreFilename);\n\n console.printLine(\"Using certificate authority \" + caKeystorePath.toAbsolutePath());\n\n try {\n char[] password = console.readPassword(PROMPT_ENTER_CA_PASSWORD);\n KeyStore caKeystore = KeyStore.getInstance(PKCS12);\n try (FileInputStream fis = new FileInputStream(caKeystorePath.toFile())) {\n caKeystore.load(fis, password);\n }\n\n final Key caPrivateKey = caKeystore.getKey(CA_KEY_ALIAS, password);\n\n final X509Certificate caCertificate = (X509Certificate) caKeystore.getCertificate(CA_KEY_ALIAS);\n\n console.printLine(\"Successfully read CA from the keystore\");\n\n final KeyPair caPair = new KeyPair((PrivateKey) caPrivateKey, null, caCertificate);\n\n console.printLine(\"Generating private key and certificate for this datanode\");\n\n final CertRequest req = CertRequest.signed(Tools.getLocalCanonicalHostname(), caPair)\n .withSubjectAlternativeName(\"localhost\")\n .withSubjectAlternativeName(Tools.getLocalHostname())\n .withSubjectAlternativeName(String.valueOf(InetAddress.getLocalHost()))\n .withSubjectAlternativeName(\"127.0.0.1\")\n .withSubjectAlternativeName(\"ip6-localhost\")\n .validity(Duration.ofDays(10 * 365));\n\n final String alternativeNames = console.readLine(PROMPT_ENTER_CERT_ALTERNATIVE_NAMES);\n Arrays.stream(alternativeNames.split(\",\"))\n .filter(StringUtils::isNotBlank)\n .forEach(req::withSubjectAlternativeName);\n\n KeyPair nodePair = CertificateGenerator.generate(req);\n\n KeyStore nodeKeystore = KeyStore.getInstance(PKCS12);\n nodeKeystore.load(null, null);\n\n char[] nodeKeystorePassword = console.readPassword(PROMPT_ENTER_CERTIFICATE_PASSWORD);\n\n // This will be the only key in the keystore, we don't care much about the alias. To make sure we are\n // not dependent on a specific alias, we can generate a random alphabetic sequence.\n nodeKeystore.setKeyEntry(RandomStringUtils.secure().nextAlphabetic(10), nodePair.privateKey(), nodeKeystorePassword,\n new X509Certificate[]{nodePair.certificate(), caPair.certificate()});\n\n\n final Path nodeKeystorePath = Path.of(nodeKeystoreFilename);\n try (FileOutputStream store = new FileOutputStream(nodeKeystorePath.toFile())) {\n nodeKeystore.store(store, nodeKeystorePassword);\n console.printLine(\"Private key and certificate for this datanode successfully saved into \" + nodeKeystorePath.toAbsolutePath());\n }\n\n // TODO: provide good user-friendly error message for each exception type!\n } catch (KeyStoreException | IOException | CertificateException | NoSuchAlgorithmException |\n UnrecoverableKeyException e) {\n throw new RuntimeException(e);\n } catch (Exception e) {\n throw new RuntimeException(e);\n }\n\n }\n\n}\n" +} diff --git a/web/public/bundles/graylog/code/793dbd1ce24ec89bcf9a7246ea72215a18948a86.json b/web/public/bundles/graylog/code/793dbd1ce24ec89bcf9a7246ea72215a18948a86.json new file mode 100644 index 00000000..5545ed1d --- /dev/null +++ b/web/public/bundles/graylog/code/793dbd1ce24ec89bcf9a7246ea72215a18948a86.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "793dbd1ce24ec89bcf9a7246ea72215a18948a86", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/FormatStringDecorator.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.decorators;\n\nimport com.floreysoft.jmte.Engine;\nimport com.floreysoft.jmte.template.Template;\nimport com.floreysoft.jmte.template.VariableDescription;\nimport com.google.common.collect.ImmutableMap;\nimport com.google.inject.assistedinject.Assisted;\nimport io.opentelemetry.instrumentation.annotations.WithSpan;\nimport jakarta.inject.Inject;\nimport org.graylog2.plugin.Message;\nimport org.graylog2.plugin.MessageFactory;\nimport org.graylog2.plugin.configuration.ConfigurationRequest;\nimport org.graylog2.plugin.configuration.fields.BooleanField;\nimport org.graylog2.plugin.configuration.fields.TextField;\nimport org.graylog2.plugin.decorators.SearchResponseDecorator;\nimport org.graylog2.rest.models.messages.responses.ResultMessageSummary;\nimport org.graylog2.rest.resources.search.responses.SearchResponse;\n\nimport java.util.List;\nimport java.util.Locale;\nimport java.util.stream.Collectors;\n\nimport static java.util.Objects.requireNonNull;\n\npublic class FormatStringDecorator implements SearchResponseDecorator {\n\n private static final String CK_FORMAT_STRING = \"format_string\";\n private static final String CK_REQUIRE_ALL_FIELDS = \"require_all_fields\";\n private static final String CK_TARGET_FIELD = \"target_field\";\n\n private final String targetField;\n private final Template template;\n private final boolean requireAllFields;\n private final List usedVariables;\n private final MessageFactory messageFactory;\n\n public interface Factory extends SearchResponseDecorator.Factory {\n @Override\n FormatStringDecorator create(Decorator decorator);\n\n @Override\n FormatStringDecorator.Config getConfig();\n\n @Override\n FormatStringDecorator.Descriptor getDescriptor();\n }\n\n public static class Config implements SearchResponseDecorator.Config {\n\n @Override\n public ConfigurationRequest getRequestedConfiguration() {\n return new ConfigurationRequest() {\n {\n addField(new TextField(\n CK_FORMAT_STRING,\n \"Format String\",\n \"${source} - ${message}\",\n \"The format string used to create the concatenated field.\"\n ));\n addField(new BooleanField(\n CK_REQUIRE_ALL_FIELDS,\n \"Require all fields\",\n false,\n \"Check this if all fields in the format string need to be present in order to apply this decorator.\"));\n addField(new TextField(\n CK_TARGET_FIELD,\n \"Target field\",\n \"message\",\n \"The message field that will be created with the formatted string.\"\n ));\n }\n };\n }\n }\n\n public static class Descriptor extends SearchResponseDecorator.Descriptor {\n public Descriptor() {\n super(\"Format String\", \"http://docs.graylog.org/\", \"Format string\");\n }\n }\n\n @Inject\n public FormatStringDecorator(@Assisted Decorator decorator, Engine templateEngine, MessageFactory messageFactory) {\n this.messageFactory = messageFactory;\n final String formatString = (String) requireNonNull(decorator.config().get(CK_FORMAT_STRING),\n CK_FORMAT_STRING + \" cannot be null\");\n this.targetField = (String) requireNonNull(decorator.config().get(CK_TARGET_FIELD),\n CK_TARGET_FIELD + \" cannot be null\");\n requireAllFields = (boolean) requireNonNull(decorator.config().get(CK_REQUIRE_ALL_FIELDS),\n CK_REQUIRE_ALL_FIELDS + \" cannot be null\");\n template = requireNonNull(templateEngine, \"templateEngine\").getTemplate(formatString);\n usedVariables = template.getUsedVariableDescriptions();\n }\n\n @WithSpan\n @Override\n public SearchResponse apply(SearchResponse searchResponse) {\n final List summaries = searchResponse.messages().stream()\n .map(summary -> {\n if (requireAllFields && !usedVariables.stream().allMatch(variable -> summary.message().containsKey(variable.name))) {\n return summary;\n }\n final String formattedString = template.transform(summary.message(), Locale.ENGLISH);\n\n if (formattedString == null) {\n return summary;\n }\n\n final Message message = messageFactory.createMessage(ImmutableMap.copyOf(summary.message()));\n message.addField(targetField, formattedString);\n return summary.toBuilder().message(message.getFields()).build();\n })\n .collect(Collectors.toList());\n\n return searchResponse.toBuilder().messages(summaries).build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/7950f49214ef1f4f0b3944481eb3d94803fbce91.json b/web/public/bundles/graylog/code/7950f49214ef1f4f0b3944481eb3d94803fbce91.json new file mode 100644 index 00000000..ae8ec2f3 --- /dev/null +++ b/web/public/bundles/graylog/code/7950f49214ef1f4f0b3944481eb3d94803fbce91.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "7950f49214ef1f4f0b3944481eb3d94803fbce91", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/indices/DataTieringStatusService.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.models.system.indices;\n\nimport org.graylog2.indexer.indexset.IndexSet;\nimport org.graylog2.indexer.indexset.IndexSetConfig;\nimport org.graylog2.rest.resources.system.indexer.responses.DataTieringStatus;\n\n/**\n * Provides access to data-tiering features, but only when called in an environment that support it\n * (i.e. an Enterprise installation).\n * This allows callers to be agnostic, simplifying the code.\n */\npublic interface DataTieringStatusService {\n /**\n * Return data-tiering status, if available in the caller's environment\n */\n DataTieringStatus getStatus(IndexSet indexSet, IndexSetConfig indexSetConfig);\n}\n" +} diff --git a/web/public/bundles/graylog/code/79da23a985ed0da7e2ba4cd12173ad96c2e9e21c.json b/web/public/bundles/graylog/code/79da23a985ed0da7e2ba4cd12173ad96c2e9e21c.json new file mode 100644 index 00000000..35804948 --- /dev/null +++ b/web/public/bundles/graylog/code/79da23a985ed0da7e2ba4cd12173ad96c2e9e21c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "79da23a985ed0da7e2ba4cd12173ad96c2e9e21c", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/metrics/IndexSetMetricsRefreshPeriodical.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.indexer.indexset.metrics;\n\nimport com.google.common.primitives.Ints;\nimport jakarta.inject.Inject;\nimport jakarta.inject.Named;\nimport org.graylog2.indexer.indexset.IndexSetConfig;\nimport org.graylog2.indexer.indexset.IndexSetService;\nimport org.graylog2.metrics.entity.EntityMetricDescriptor;\nimport org.graylog2.metrics.entity.cache.CacheResult;\nimport org.graylog2.metrics.entity.cache.EntityCachedMetricDescriptor;\nimport org.graylog2.metrics.entity.cache.MetricsCacheService;\nimport org.graylog2.plugin.periodical.Periodical;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport javax.annotation.Nonnull;\nimport java.time.Duration;\nimport java.util.HashMap;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\nimport static org.graylog2.metrics.entity.EntityMetricsModule.ENTITY_TYPE_INDEX_SETS;\nimport static org.graylog2.metrics.entity.cache.MetricsCacheConfiguration.METRICS_CACHE_TTL_SHORT;\n\n/**\n * Leader-only {@link Periodical} that keeps the cached metrics of all index sets fresh by recomputing, once per short\n * cache TTL, every value that would expire before the next run.\n */\npublic class IndexSetMetricsRefreshPeriodical extends Periodical {\n private static final Logger LOG = LoggerFactory.getLogger(IndexSetMetricsRefreshPeriodical.class);\n private static final int INITIAL_DELAY_SECONDS = 60;\n\n private final Map> descriptorsByField;\n private final MetricsCacheService cacheService;\n private final IndexSetService indexSetService;\n private final int periodSeconds;\n\n @Inject\n public IndexSetMetricsRefreshPeriodical(@Named(ENTITY_TYPE_INDEX_SETS) Set descriptors,\n MetricsCacheService cacheService,\n IndexSetService indexSetService,\n @Named(METRICS_CACHE_TTL_SHORT) Duration shortTtl) {\n this.descriptorsByField = descriptors.stream()\n .filter(EntityCachedMetricDescriptor.class::isInstance)\n .map(descriptor -> (EntityCachedMetricDescriptor) descriptor)\n .collect(Collectors.toMap(EntityMetricDescriptor::fieldName, descriptor -> descriptor));\n this.cacheService = cacheService;\n this.indexSetService = indexSetService;\n this.periodSeconds = Ints.saturatedCast(shortTtl.toSeconds());\n }\n\n @Override\n public void doRun() {\n final List indexSetIds = indexSetService.findAll().stream().map(IndexSetConfig::id).toList();\n // a value counts as stale when it expires before the next run\n final Map ttls = descriptorsByField.entrySet().stream()\n .collect(Collectors.toMap(Map.Entry::getKey,\n entry -> entry.getValue().cacheTtl().minusSeconds(periodSeconds)));\n final CacheResult cacheResult = cacheService.checkCache(indexSetIds, ENTITY_TYPE_INDEX_SETS, ttls, ttls.keySet());\n descriptorsByField.forEach((field, descriptor) -> {\n final Set staleIds = cacheResult.staleEntityIdsForField(field);\n if (!staleIds.isEmpty()) {\n final Map values = new HashMap<>();\n descriptor.compute(staleIds).forEach(metric -> values.put(metric.entityId(), metric.value()));\n cacheService.putFieldBatch(ENTITY_TYPE_INDEX_SETS, field, values);\n }\n });\n }\n\n @Override\n public boolean runsForever() {\n return false;\n }\n\n @Override\n public boolean stopOnGracefulShutdown() {\n return true;\n }\n\n @Override\n public boolean leaderOnly() {\n return true;\n }\n\n @Override\n public boolean startOnThisNode() {\n return true;\n }\n\n @Override\n public boolean isDaemon() {\n return true;\n }\n\n @Override\n public int getInitialDelaySeconds() {\n return INITIAL_DELAY_SECONDS;\n }\n\n @Override\n public int getPeriodSeconds() {\n return periodSeconds;\n }\n\n @Nonnull\n @Override\n protected Logger getLogger() {\n return LOG;\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/7a078afcd59807d956f01d93d1457f14f6ae6fdd.json b/web/public/bundles/graylog/code/7a078afcd59807d956f01d93d1457f14f6ae6fdd.json new file mode 100644 index 00000000..6b2c95ab --- /dev/null +++ b/web/public/bundles/graylog/code/7a078afcd59807d956f01d93d1457f14f6ae6fdd.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "7a078afcd59807d956f01d93d1457f14f6ae6fdd", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/memory/InMemoryRuleService.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.pipelineprocessor.db.memory;\n\nimport com.google.common.collect.ImmutableSet;\nimport com.google.common.collect.Sets;\nimport jakarta.inject.Inject;\nimport org.graylog.plugins.pipelineprocessor.db.RuleDao;\nimport org.graylog.plugins.pipelineprocessor.db.RuleService;\nimport org.graylog.plugins.pipelineprocessor.events.RulesChangedEvent;\nimport org.graylog2.database.NotFoundException;\nimport org.graylog2.events.ClusterEventBus;\n\nimport java.util.Collection;\nimport java.util.Map;\nimport java.util.Objects;\nimport java.util.Set;\nimport java.util.concurrent.ConcurrentHashMap;\nimport java.util.concurrent.atomic.AtomicLong;\n\n/**\n * A RuleService that does not persist any data, but simply keeps it in memory.\n */\npublic class InMemoryRuleService implements RuleService {\n // poor man's id generator\n private final AtomicLong idGen = new AtomicLong(0);\n\n private final Map store = new ConcurrentHashMap<>();\n private final Map titleToId = new ConcurrentHashMap<>();\n\n private final ClusterEventBus clusterBus;\n\n @Inject\n public InMemoryRuleService(ClusterEventBus clusterBus) {\n this.clusterBus = clusterBus;\n }\n\n @Override\n public RuleDao save(RuleDao rule) {\n RuleDao toSave = rule.id() != null\n ? rule\n : rule.toBuilder().id(createId()).build();\n // enforce the title unique constraint\n if (titleToId.containsKey(toSave.title())) {\n // if this is an update and the title belongs to the passed rule, then it's fine\n if (!titleToId.get(toSave.title()).equals(toSave.id())) {\n throw new IllegalArgumentException(\"Duplicate rule titles are not allowed: \" + toSave.title());\n }\n }\n titleToId.put(toSave.title(), toSave.id());\n store.put(toSave.id(), toSave);\n\n clusterBus.post(RulesChangedEvent.updatedRule(toSave.id(), toSave.title()));\n\n return toSave;\n }\n\n @Override\n public RuleDao save(RuleDao rule, boolean checkMutability) {\n return save(rule);\n }\n\n @Override\n public RuleDao load(String id) throws NotFoundException {\n final RuleDao rule = store.get(id);\n if (rule == null) {\n throw new NotFoundException(\"No such rule with id \" + id);\n }\n return rule;\n }\n\n @Override\n public RuleDao loadByName(String name) throws NotFoundException {\n final String id = titleToId.get(name);\n if (id == null) {\n throw new NotFoundException(\"No rule with name \" + name);\n }\n return load(id);\n }\n\n @Override\n public Collection loadAll() {\n return ImmutableSet.copyOf(store.values());\n }\n\n @Override\n public Collection loadAllByTitle(String regex) {\n return store.values().stream()\n .filter(rule -> rule.title().matches(regex))\n .toList();\n }\n\n @Override\n public Collection loadAllByScope(String scope) {\n return store.values().stream()\n .filter(rule -> Objects.equals(rule.scope(), scope))\n .toList();\n }\n\n @Override\n public void delete(String id) {\n if (id == null) {\n return;\n }\n final RuleDao removed = store.remove(id);\n\n // clean up title index if the rule existed\n if (removed != null) {\n titleToId.remove(removed.title());\n clusterBus.post(RulesChangedEvent.deletedRule(id, removed.title()));\n }\n }\n\n @Override\n public Collection loadNamed(Collection ruleNames) {\n final Set needles = Sets.newHashSet(ruleNames);\n return store.values().stream()\n .filter(ruleDao -> needles.contains(ruleDao.title()))\n .toList();\n }\n\n private String createId() {\n return String.valueOf(idGen.incrementAndGet());\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/7a1e5c44c426a36bdb667d76aa8e02230580c8d6.json b/web/public/bundles/graylog/code/7a1e5c44c426a36bdb667d76aa8e02230580c8d6.json new file mode 100644 index 00000000..04887ee9 --- /dev/null +++ b/web/public/bundles/graylog/code/7a1e5c44c426a36bdb667d76aa8e02230580c8d6.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "7a1e5c44c426a36bdb667d76aa8e02230580c8d6", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/security/authzroles/PaginatedAuthzRolesService.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.security.authzroles;\n\nimport com.google.common.collect.ImmutableSet;\nimport com.mongodb.client.FindIterable;\nimport com.mongodb.client.model.Filters;\nimport com.mongodb.client.model.Projections;\nimport jakarta.inject.Inject;\nimport org.bson.Document;\nimport org.bson.conversions.Bson;\nimport org.bson.types.ObjectId;\nimport org.graylog2.database.MongoCollection;\nimport org.graylog2.database.MongoCollections;\nimport org.graylog2.database.PaginatedList;\nimport org.graylog2.database.pagination.MongoPaginationHelper;\nimport org.graylog2.database.utils.MongoUtils;\nimport org.graylog2.rest.models.SortOrder;\nimport org.graylog2.search.SearchQuery;\nimport org.graylog2.shared.users.UserService;\n\nimport java.util.ArrayList;\nimport java.util.Collection;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Optional;\nimport java.util.Set;\nimport java.util.function.Predicate;\nimport java.util.stream.Collectors;\nimport java.util.stream.StreamSupport;\n\npublic class PaginatedAuthzRolesService {\n private static final String COLLECTION_NAME = \"roles\";\n\n private final MongoCollection collection;\n private final com.mongodb.client.MongoCollection documentCollection;\n private final UserService userService;\n\n private final MongoUtils mongoUtils;\n private final MongoPaginationHelper paginationHelper;\n\n @Inject\n public PaginatedAuthzRolesService(MongoCollections mongoCollections, UserService userService) {\n this.userService = userService;\n\n collection = mongoCollections.collection(COLLECTION_NAME, AuthzRoleDTO.class);\n mongoUtils = mongoCollections.utils(collection);\n paginationHelper = mongoCollections.paginationHelper(collection);\n documentCollection = mongoCollections.nonEntityCollection(COLLECTION_NAME, Document.class);\n }\n\n public long count() {\n return collection.countDocuments();\n }\n\n public ImmutableSet getAllRoleIds() {\n // Use a projection here to avoid the mongojack deserializing and object creation overhead\n final FindIterable docs = documentCollection.find().projection(Projections.include(\"_id\"));\n\n return StreamSupport.stream(docs.spliterator(), false)\n .map(doc -> doc.get(\"_id\", ObjectId.class).toHexString())\n .collect(ImmutableSet.toImmutableSet());\n }\n\n public Map getRolesByIdAndName() {\n final FindIterable docs = documentCollection.find()\n .projection(Projections.include(\"_id\", \"name\"));\n\n return StreamSupport.stream(docs.spliterator(), false)\n .collect(Collectors.toMap(\n doc -> doc.getObjectId(\"_id\").toHexString(),\n doc -> doc.getString(\"name\")\n ));\n }\n\n public List findByIds(Collection ids) {\n return collection.find(MongoUtils.stringIdsIn(ids)).into(new ArrayList<>());\n }\n\n public PaginatedList findPaginated(Predicate roleNamePermissionPredicate, SearchQuery searchQuery, int page,\n int perPage, String sortField, SortOrder order) {\n return paginationHelper\n .filter(searchQuery.toBson())\n .sort(order.toBsonSort(sortField))\n .perPage(perPage)\n .includeGrandTotal(true)\n .page(page, role -> roleNamePermissionPredicate.test(role.name()));\n }\n\n public PaginatedList findPaginatedByIds(Predicate roleNamePermissionPredicate,\n SearchQuery searchQuery,\n int page,\n int perPage,\n String sortField,\n SortOrder order,\n Set roleIds) {\n return paginationHelper\n .filter(buildRoleIdsQuery(searchQuery, roleIds))\n .sort(order.toBsonSort(sortField))\n .perPage(perPage)\n .includeGrandTotal(true)\n .page(page, role -> roleNamePermissionPredicate.test(role.name()));\n }\n\n /**\n * @deprecated use {@link #findPaginatedByIdsWithFilter(SearchQuery, Predicate, int, int, String, SortOrder, Set)}\n */\n @Deprecated\n public PaginatedList findPaginatedByIdsWithFilter(SearchQuery searchQuery,\n Predicate filter,\n int page,\n int perPage,\n String sortField,\n String order,\n Set roleIds) {\n return findPaginatedByIdsWithFilter(searchQuery, filter, page, perPage, sortField, SortOrder.fromString(order),\n roleIds);\n\n }\n\n public PaginatedList findPaginatedByIdsWithFilter(SearchQuery searchQuery,\n Predicate filter,\n int page,\n int perPage,\n String sortField,\n SortOrder order,\n Set roleIds) {\n return paginationHelper\n .filter(buildRoleIdsQuery(searchQuery, roleIds))\n .sort(order.toBsonSort(sortField))\n .perPage(perPage)\n .includeGrandTotal(true)\n .page(page, filter);\n }\n\n public int delete(String id) {\n final Optional role = mongoUtils.getById(id);\n final int delete = mongoUtils.deleteById(id) ? 1 : 0;\n if (delete > 0) {\n role.ifPresent(r -> userService.dissociateAllUsersFromRole(r.toLegacyRole()));\n }\n return delete;\n }\n\n private Bson buildRoleIdsQuery(SearchQuery searchQuery, Set roleIds) {\n return Filters.and(MongoUtils.stringIdsIn(roleIds), searchQuery.toBson());\n }\n\n public Optional get(String roleId) {\n return mongoUtils.getById(roleId);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/7a7ad165064bf0f5e87230211d109167c0a37102.json b/web/public/bundles/graylog/code/7a7ad165064bf0f5e87230211d109167c0a37102.json new file mode 100644 index 00000000..a8375625 --- /dev/null +++ b/web/public/bundles/graylog/code/7a7ad165064bf0f5e87230211d109167c0a37102.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "7a7ad165064bf0f5e87230211d109167c0a37102", + "language": "java", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/sniffer/impl/NodeAttributesFilter.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.storage.opensearch3.sniffer.impl;\n\nimport com.google.common.base.Strings;\nimport jakarta.inject.Inject;\nimport org.graylog.storage.opensearch3.sniffer.DiscoveredNode;\nimport org.graylog.storage.opensearch3.sniffer.SnifferFilter;\nimport org.graylog2.configuration.ElasticsearchClientConfiguration;\n\nimport java.util.Collections;\nimport java.util.List;\nimport java.util.function.Predicate;\nimport java.util.stream.Collectors;\n\npublic class NodeAttributesFilter implements SnifferFilter {\n\n private final boolean enabled;\n private final Predicate filter;\n\n @Inject\n public NodeAttributesFilter(ElasticsearchClientConfiguration configuration) {\n this(configuration.discoveryEnabled(), configuration.discoveryFilter());\n }\n\n public NodeAttributesFilter(boolean enabled, String filterString) {\n this.enabled = enabled;\n this.filter = create(filterString);\n }\n\n @Override\n public boolean enabled() {\n return enabled;\n }\n\n @Override\n public List filterNodes(List nodes) {\n return nodes.stream()\n .filter(filter)\n .collect(Collectors.toList());\n }\n\n static Predicate create(String filter) {\n final String attribute;\n final String value;\n if (!Strings.isNullOrEmpty(filter)) {\n final String[] conditions = filter.split(\":\");\n if (conditions.length < 2) {\n throw new IllegalArgumentException(\"Invalid filter specified for ES node discovery: \" + filter);\n }\n attribute = conditions[0].trim();\n value = conditions[1].trim();\n } else {\n attribute = null;\n value = null;\n }\n return node -> nodeMatchesFilter(node, attribute, value);\n }\n\n private static boolean nodeMatchesFilter(DiscoveredNode node, String attribute, String value) {\n if (attribute == null || value == null) {\n return true;\n }\n return node.attributes()\n .getOrDefault(attribute, Collections.emptyList())\n .contains(value);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/7aca4bb5933bb611d171eec8f26c1c317d2bd2a1.json b/web/public/bundles/graylog/code/7aca4bb5933bb611d171eec8f26c1c317d2bd2a1.json new file mode 100644 index 00000000..8af5b728 --- /dev/null +++ b/web/public/bundles/graylog/code/7aca4bb5933bb611d171eec8f26c1c317d2bd2a1.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "7aca4bb5933bb611d171eec8f26c1c317d2bd2a1", + "language": "typescript", + "path": "graylog2-web-interface/src/components/authentication/directoryServices/HandleCreate.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport UserNotification from 'util/UserNotification';\nimport type { WizardSubmitPayload } from 'logic/authentication/directoryServices/types';\nimport { getEnterpriseGroupSyncPlugin } from 'util/AuthenticationService';\nimport { createAuthBackend } from 'hooks/useAuthentication';\n\nimport type { WizardFormValues, AuthBackendMeta } from './BackendWizard/BackendWizardContext';\n\nexport default (\n payload: WizardSubmitPayload,\n formValues: WizardFormValues,\n serviceType: AuthBackendMeta['serviceType'],\n shouldUpdateGroupSync: boolean | undefined = true,\n) => {\n const enterpriseGroupSyncPlugin = getEnterpriseGroupSyncPlugin();\n const notifyOnSuccess = () => UserNotification.success('Authentication service was created successfully.', 'Success');\n const notifyOnError = (error) =>\n UserNotification.error(`Creating authentication service failed with status: ${error}`, 'Error');\n\n return createAuthBackend(payload)\n .then((result) => {\n if (result.backend && formValues.synchronizeGroups && enterpriseGroupSyncPlugin && shouldUpdateGroupSync) {\n return enterpriseGroupSyncPlugin.actions\n .onDirectoryServiceBackendUpdate(false, formValues, result.backend.id, serviceType)\n .then(notifyOnSuccess)\n .then(() => result);\n }\n\n notifyOnSuccess();\n\n return result;\n })\n .catch((error) => {\n notifyOnError(error);\n throw error;\n });\n};\n" +} diff --git a/web/public/bundles/graylog/code/7c29755adc69b991fd1eb160e6c8aa50472ab777.json b/web/public/bundles/graylog/code/7c29755adc69b991fd1eb160e6c8aa50472ab777.json new file mode 100644 index 00000000..68d0aa42 --- /dev/null +++ b/web/public/bundles/graylog/code/7c29755adc69b991fd1eb160e6c8aa50472ab777.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "7c29755adc69b991fd1eb160e6c8aa50472ab777", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/fieldtypes/IndexFieldTypesDTO.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.indexer.fieldtypes;\n\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.jackson.databind.annotation.JsonDeserialize;\nimport com.google.auto.value.AutoValue;\nimport com.google.common.collect.ImmutableSet;\nimport org.graylog2.database.BuildableMongoEntity;\nimport org.mongojack.Id;\nimport org.mongojack.ObjectId;\n\nimport javax.annotation.Nullable;\nimport java.util.Set;\n\n@AutoValue\n@JsonDeserialize(builder = IndexFieldTypesDTO.Builder.class)\npublic abstract class IndexFieldTypesDTO implements BuildableMongoEntity {\n private static final String FIELD_ID = \"id\";\n static final String FIELD_INDEX_SET_ID = \"index_set_id\";\n static final String FIELD_INDEX_NAME = \"index_name\";\n static final String FIELD_FIELDS = \"fields\";\n static final String FIELD_HAS_STREAM_DATA = \"has_stream_data\";\n\n @Id\n @ObjectId\n @Nullable\n @JsonProperty(FIELD_ID)\n public abstract String id();\n\n @JsonProperty(FIELD_INDEX_SET_ID)\n public abstract String indexSetId();\n\n @JsonProperty(FIELD_INDEX_NAME)\n public abstract String indexName();\n\n @JsonProperty(FIELD_FIELDS)\n public abstract ImmutableSet fields();\n\n @JsonProperty(FIELD_HAS_STREAM_DATA)\n public abstract boolean hasStreamData();\n\n public static IndexFieldTypesDTO create(String indexSetId, String indexName, Set fields) {\n return builder()\n .indexSetId(indexSetId)\n .indexName(indexName)\n .fields(fields)\n .hasStreamData(false)\n .build();\n }\n\n public static Builder builder() {\n return Builder.create();\n }\n\n public abstract Builder toBuilder();\n\n @AutoValue.Builder\n public static abstract class Builder implements BuildableMongoEntity.Builder {\n @JsonCreator\n public static Builder create() {\n return new AutoValue_IndexFieldTypesDTO.Builder().hasStreamData(false);\n }\n\n @Id\n @ObjectId\n @JsonProperty(FIELD_ID)\n public abstract Builder id(String id);\n\n @JsonProperty(FIELD_INDEX_SET_ID)\n public abstract Builder indexSetId(String indexSetId);\n\n @JsonProperty(FIELD_INDEX_NAME)\n public abstract Builder indexName(String indexName);\n\n @JsonProperty(FIELD_HAS_STREAM_DATA)\n public abstract Builder hasStreamData(boolean hasStreamData);\n\n abstract ImmutableSet.Builder fieldsBuilder();\n\n @JsonProperty(FIELD_FIELDS)\n public Builder fields(Set fields) {\n fieldsBuilder().addAll(fields);\n return this;\n }\n\n public abstract IndexFieldTypesDTO build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/7c7ea25cb1d8761372c11b143ad77a4426f6b620.json b/web/public/bundles/graylog/code/7c7ea25cb1d8761372c11b143ad77a4426f6b620.json new file mode 100644 index 00000000..27421191 --- /dev/null +++ b/web/public/bundles/graylog/code/7c7ea25cb1d8761372c11b143ad77a4426f6b620.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "7c7ea25cb1d8761372c11b143ad77a4426f6b620", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/datatiering/hotonly/HotOnlyDataTieringConfig.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.datatiering.hotonly;\n\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.jackson.databind.annotation.JsonDeserialize;\nimport com.google.auto.value.AutoValue;\nimport jakarta.validation.constraints.NotNull;\nimport org.graylog2.datatiering.DataTieringConfig;\nimport org.joda.time.Period;\n\nimport static org.graylog2.indexer.rotation.tso.IndexLifetimeConfig.FIELD_INDEX_LIFETIME_MAX;\nimport static org.graylog2.indexer.rotation.tso.IndexLifetimeConfig.FIELD_INDEX_LIFETIME_MIN;\n\n\n@AutoValue\n@JsonDeserialize(builder = HotOnlyDataTieringConfig.Builder.class)\npublic abstract class HotOnlyDataTieringConfig implements DataTieringConfig {\n\n public final static String TYPE = \"hot_only\";\n\n public static Builder builder() {\n return Builder.create();\n }\n\n @AutoValue.Builder\n public abstract static class Builder {\n\n @JsonCreator\n public static Builder create() {\n return new AutoValue_HotOnlyDataTieringConfig.Builder()\n .type(TYPE);\n }\n\n @JsonProperty(FIELD_TYPE)\n public abstract Builder type(@NotNull String type);\n\n @JsonProperty(FIELD_INDEX_LIFETIME_MIN)\n public abstract Builder indexLifetimeMin(Period indexLifetimeMin);\n\n @JsonProperty(FIELD_INDEX_LIFETIME_MAX)\n public abstract Builder indexLifetimeMax(Period indexLifetimeMax);\n\n\n public abstract HotOnlyDataTieringConfig build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/7c8fddfcd81d41cd6e2b26f789d9602798d03dea.json b/web/public/bundles/graylog/code/7c8fddfcd81d41cd6e2b26f789d9602798d03dea.json new file mode 100644 index 00000000..1a744fae --- /dev/null +++ b/web/public/bundles/graylog/code/7c8fddfcd81d41cd6e2b26f789d9602798d03dea.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "7c8fddfcd81d41cd6e2b26f789d9602798d03dea", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/events/processor/systemnotification/SystemNotificationEventProcessorConfig.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.events.processor.systemnotification;\n\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonTypeName;\nimport com.fasterxml.jackson.databind.annotation.JsonDeserialize;\nimport com.google.auto.value.AutoValue;\nimport com.google.common.graph.MutableGraph;\nimport org.graylog.events.contentpack.entities.EventProcessorConfigEntity;\nimport org.graylog.events.processor.EventProcessorConfig;\nimport org.graylog.security.UserContext;\nimport org.graylog2.contentpacks.EntityDescriptorIds;\nimport org.graylog2.contentpacks.model.entities.EntityDescriptor;\nimport org.graylog2.plugin.rest.ValidationResult;\n\n@AutoValue\n@JsonTypeName(SystemNotificationEventProcessorConfig.TYPE_NAME)\n@JsonDeserialize(builder = SystemNotificationEventProcessorConfig.Builder.class)\npublic abstract class SystemNotificationEventProcessorConfig implements EventProcessorConfig {\n public static final String TYPE_NAME = \"system-notifications-v1\";\n\n public static Builder builder() {\n return Builder.create();\n }\n\n public abstract Builder toBuilder();\n\n @AutoValue.Builder\n public abstract static class Builder implements EventProcessorConfig.Builder {\n @JsonCreator\n public static Builder create() {\n return new AutoValue_SystemNotificationEventProcessorConfig.Builder()\n .type(TYPE_NAME);\n }\n\n public abstract SystemNotificationEventProcessorConfig build();\n }\n\n @Override\n public ValidationResult validate(UserContext userContext) {\n // Nothing to validate\n return new ValidationResult();\n }\n\n @Override\n public EventProcessorConfigEntity toContentPackEntity(EntityDescriptorIds entityDescriptorIds) {\n // Don't export this into content packs\n return null;\n }\n\n @Override\n public boolean isContentPackExportable() {\n return false;\n }\n\n @Override\n public void resolveNativeEntity(EntityDescriptor entityDescriptor, MutableGraph mutableGraph) {\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/7d75e9f6ae8da8b8b81b931f0cb54562bfd4d423.json b/web/public/bundles/graylog/code/7d75e9f6ae8da8b8b81b931f0cb54562bfd4d423.json new file mode 100644 index 00000000..0ba687a0 --- /dev/null +++ b/web/public/bundles/graylog/code/7d75e9f6ae8da8b8b81b931f0cb54562bfd4d423.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "7d75e9f6ae8da8b8b81b931f0cb54562bfd4d423", + "language": "typescript", + "path": "graylog2-web-interface/src/pages/StreamsPage.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React, { useCallback } from 'react';\n\nimport { Row, Col } from 'components/bootstrap';\nimport StreamsOverview from 'components/streams/StreamsOverview';\nimport PageHeader from 'components/common/PageHeader';\nimport { DocumentTitle, Spinner } from 'components/common';\nimport DocsHelper from 'util/DocsHelper';\nimport UserNotification from 'util/UserNotification';\nimport type { Stream } from 'logic/streams/types';\nimport useIndexSetsList from 'components/indices/hooks/useIndexSetsList';\nimport useSendTelemetry from 'logic/telemetry/useSendTelemetry';\nimport { TELEMETRY_EVENT_TYPE } from 'logic/telemetry/Constants';\nimport type { EntityShare } from 'actions/permissions/EntityShareActions';\nimport useStreamMutations from 'hooks/useStreamMutations';\nimport CreateButton from 'components/common/CreateButton';\nimport Routes from 'routing/Routes';\nimport useLocation from 'routing/useLocation';\nimport StreamModal from 'components/streams/StreamModal';\nimport useHistory from 'routing/useHistory';\n\nconst StreamsPage = () => {\n const {\n data: { indexSets },\n isInitialLoading: isLoadingIndexSets,\n } = useIndexSetsList(false);\n const sendTelemetry = useSendTelemetry();\n const { createStream } = useStreamMutations();\n const { pathname } = useLocation();\n const showCreateModal = pathname === Routes.STREAM_NEW;\n const history = useHistory();\n const closeCreateModal = useCallback(() => history.push(Routes.STREAMS), [history]);\n\n const onCreate = async (stream: Stream & EntityShare) => {\n sendTelemetry(TELEMETRY_EVENT_TYPE.STREAMS.NEW_STREAM_CREATED, {\n app_pathname: 'streams',\n });\n\n return createStream(stream).then(() => {\n UserNotification.success('Stream has been successfully created.', 'Success');\n });\n };\n\n const isLoading = isLoadingIndexSets;\n\n if (isLoading) {\n return ;\n }\n\n return (\n \n }>\n \n You can route incoming messages into streams by applying rules against them. Messages matching the rules of a\n stream are routed into it. A message can also be routed into multiple streams.\n \n \n\n \n \n \n \n \n {showCreateModal && (\n \n )}\n \n );\n};\n\nexport default StreamsPage;\n" +} diff --git a/web/public/bundles/graylog/code/7e5e5969b0b3c4189ff6dc77533bab8cf4a5544c.json b/web/public/bundles/graylog/code/7e5e5969b0b3c4189ff6dc77533bab8cf4a5544c.json new file mode 100644 index 00000000..17b7c006 --- /dev/null +++ b/web/public/bundles/graylog/code/7e5e5969b0b3c4189ff6dc77533bab8cf4a5544c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "7e5e5969b0b3c4189ff6dc77533bab8cf4a5544c", + "language": "typescript", + "path": "graylog2-web-interface/src/routing/request.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport Qs from 'qs';\n\nimport { Builder } from 'logic/rest/FetchProvider';\nimport * as URLUtils from 'util/URLUtils';\nimport type { Method } from 'routing/types';\n\ntype Query = { [key: string]: string | number | boolean | string[] };\ntype Headers = { [key: string]: string | number | boolean | string[] };\nexport type RequestOptions = {\n requestShouldExtendSession?: boolean;\n};\n\nconst headersFromOptions = (options: RequestOptions): Headers => {\n if (options && 'requestShouldExtendSession' in options) {\n // eslint-disable-next-line graylog/no-literal-product-name -- HTTP header name expected by the backend\n return { 'X-Graylog-No-Session-Extension': !(options?.requestShouldExtendSession ?? true) };\n }\n\n return {};\n};\nconst request = (\n method: Method,\n path: string,\n body: any,\n query: Query,\n headers: Headers,\n options: RequestOptions = {},\n) => {\n const pathWithQueryParameters =\n Object.entries(query).length > 0 ? `${path}?${Qs.stringify(query, { indices: false })}` : path;\n\n const optionHeaders = headersFromOptions(options);\n // Optional header parameters of generated stubs are undefined when not passed; fetch would send them as \"undefined\".\n const _headers: Headers = Object.fromEntries(\n Object.entries({ ...headers, ...optionHeaders }).filter(([, value]) => value !== undefined && value !== null),\n );\n\n return new Builder(method, URLUtils.qualifyUrl(pathWithQueryParameters)).json(body).setHeaders(_headers).build();\n};\n\nexport default request;\n" +} diff --git a/web/public/bundles/graylog/code/7e882457e01f88fe346148ce31d6535231882cb1.json b/web/public/bundles/graylog/code/7e882457e01f88fe346148ce31d6535231882cb1.json new file mode 100644 index 00000000..5f931556 --- /dev/null +++ b/web/public/bundles/graylog/code/7e882457e01f88fe346148ce31d6535231882cb1.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "7e882457e01f88fe346148ce31d6535231882cb1", + "language": "typescript", + "path": "graylog2-web-interface/src/contexts/UserDateTimeContext.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport type { Moment } from 'moment';\n\nimport { singleton } from 'logic/singleton';\nimport type { DateTime, DateTimeFormats } from 'util/DateTime';\n\nexport type UserDateTimeContextType = {\n formatTime: (time: DateTime, format?: DateTimeFormats) => string;\n toUserTimezone: (time: DateTime) => Moment;\n userTimezone: string;\n};\n\nconst UserDateTimeContext = React.createContext(undefined);\n\nexport default singleton('contexts.UserDateTimeContext', () => UserDateTimeContext);\n" +} diff --git a/web/public/bundles/graylog/code/8071d02607c8d75003a7f79a22759d59c0a5a128.json b/web/public/bundles/graylog/code/8071d02607c8d75003a7f79a22759d59c0a5a128.json new file mode 100644 index 00000000..b4a250b3 --- /dev/null +++ b/web/public/bundles/graylog/code/8071d02607c8d75003a7f79a22759d59c0a5a128.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "8071d02607c8d75003a7f79a22759d59c0a5a128", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/startpage/lastOpened/LastOpened.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.views.startpage.lastOpened;\n\nimport org.graylog.grn.GRN;\nimport org.joda.time.DateTime;\n\npublic record LastOpened(GRN grn, String title, DateTime timestamp) {\n}\n" +} diff --git a/web/public/bundles/graylog/code/810971254805186f842bf8fbdb9d1b3fc1a6dda2.json b/web/public/bundles/graylog/code/810971254805186f842bf8fbdb9d1b3fc1a6dda2.json new file mode 100644 index 00000000..167aad32 --- /dev/null +++ b/web/public/bundles/graylog/code/810971254805186f842bf8fbdb9d1b3fc1a6dda2.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "810971254805186f842bf8fbdb9d1b3fc1a6dda2", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/collectors/input/processor/MacOSUnifiedLoggingRecordProcessor.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.collectors.input.processor;\n\nimport com.google.common.base.Strings;\nimport org.apache.commons.lang.StringUtils;\nimport org.graylog.inputs.otel.OTelJournal;\nimport org.graylog.schema.EventFields;\nimport org.graylog.schema.ProcessFields;\nimport org.graylog.schema.UserFields;\nimport org.graylog.schema.VendorFields;\n\nimport java.nio.file.Path;\nimport java.nio.file.Paths;\nimport java.util.HashMap;\nimport java.util.Map;\n\nimport static org.graylog.inputs.otel.OTelValues.asLong;\nimport static org.graylog.inputs.otel.OTelValues.unsignedAsString;\n\n/**\n * Processes macOS unified logging records into GIM fields.\n *

\n * The fixed receiver emits a plain-text body (the human-readable message), native OTel severity\n * and timestamp — all handled by {@link org.graylog.collectors.input.CollectorIngestCodec} — plus\n * structured {@code macos.*} attributes. This processor maps only those attributes: well-fitting\n * ones to GIM fields, and macOS-specific identifiers (boot session, activity/trace IDs, sender\n * image) preserved under a {@code macos_*} prefix.\n *

\n * The macOS identifiers are unsigned 64-bit values, so the receiver emits them as OTLP integers\n * while they fit in a signed long and as decimal strings above that, per OpenTelemetry's AnyValue\n * mapping. They are mapped to strings here; see\n * {@link org.graylog.inputs.otel.OTelValues#unsignedAsString}.\n *\n * @see Apple Unified Logging\n */\npublic class MacOSUnifiedLoggingRecordProcessor implements LogRecordProcessor {\n\n @Override\n public Map process(OTelJournal.Log log) {\n final Map result = new HashMap<>();\n String processImagePath = null;\n\n for (final var attr : log.getLogRecord().getAttributesList()) {\n final var value = attr.getValue();\n switch (attr.getKey()) {\n // Mapped to GIM fields.\n case \"macos.subsystem\" -> putStr(result, EventFields.EVENT_SOURCE, value.getStringValue());\n case \"macos.category\" -> putStr(result, VendorFields.VENDOR_SUBTYPE, value.getStringValue());\n case \"macos.eventType\" -> putStr(result, VendorFields.VENDOR_EVENT_TYPE, value.getStringValue());\n case \"macos.formatString\" -> putStr(result, VendorFields.VENDOR_EVENT_DESCRIPTION, value.getStringValue());\n case \"macos.processImagePath\" -> {\n final var path = Strings.emptyToNull(value.getStringValue());\n if (path != null) {\n processImagePath = path;\n result.put(ProcessFields.PROCESS_PATH, path);\n }\n }\n case \"macos.processID\" -> result.put(ProcessFields.PROCESS_ID, Long.toString(value.getIntValue()));\n case \"macos.userID\" -> result.put(UserFields.USER_ID, Long.toString(value.getIntValue()));\n // macOS-specific identifiers preserved under a macos_* prefix.\n case \"macos.threadID\" -> putStr(result, \"macos_thread_id\", unsignedAsString(value));\n case \"macos.bootUUID\" -> putStr(result, \"macos_boot_uuid\", value.getStringValue());\n case \"macos.machTimestamp\" -> {\n putStr(result, \"macos_mach_timestamp\", unsignedAsString(value));\n // The mach absolute time counter increases monotonically within a boot session\n // (see macos_boot_uuid), so it orders records that share a timestamp. Values that\n // don't fit a signed long are skipped, leaving the codec's default in place.\n final var sequence = asLong(value);\n if (sequence != null && sequence > 0) {\n result.put(EventFields.EVENT_SEQUENCE, sequence);\n }\n }\n case \"macos.traceID\" -> putStr(result, \"macos_trace_id\", unsignedAsString(value));\n case \"macos.activityIdentifier\" -> putStr(result, \"macos_activity_id\", unsignedAsString(value));\n case \"macos.parentActivityIdentifier\" -> putStr(result, \"macos_parent_activity_id\", unsignedAsString(value));\n case \"macos.creatorActivityID\" -> putStr(result, \"macos_creator_activity_id\", unsignedAsString(value));\n case \"macos.processImageUUID\" -> putStr(result, \"macos_process_image_uuid\", value.getStringValue());\n case \"macos.senderImagePath\" -> putStr(result, \"macos_sender_image_path\", value.getStringValue());\n case \"macos.senderImageUUID\" -> putStr(result, \"macos_sender_image_uuid\", value.getStringValue());\n case \"macos.senderProgramCounter\" -> putStr(result, \"macos_sender_program_counter\", unsignedAsString(value));\n default -> {\n // Ignore non-macos attributes.\n }\n }\n }\n\n // Derive the process name from the executable path.\n if (processImagePath != null) {\n Path path = Paths.get(processImagePath);\n final var fileName = path.getFileName();\n if (fileName != null) {\n result.put(ProcessFields.PROCESS_NAME, fileName.toString());\n }\n }\n\n return result;\n }\n\n private static void putStr(Map target, String field, String value) {\n if (StringUtils.isNotBlank(value)) {\n target.put(field, value);\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/816d3c7f302319304e88f0f7b320927ebdd87903.json b/web/public/bundles/graylog/code/816d3c7f302319304e88f0f7b320927ebdd87903.json new file mode 100644 index 00000000..e92a1412 --- /dev/null +++ b/web/public/bundles/graylog/code/816d3c7f302319304e88f0f7b320927ebdd87903.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "816d3c7f302319304e88f0f7b320927ebdd87903", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/backend/LDAPAuthServiceBackendConfig.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.security.authservice.backend;\n\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.jackson.annotation.JsonTypeName;\nimport com.fasterxml.jackson.databind.annotation.JsonDeserialize;\nimport com.google.auto.value.AutoValue;\nimport com.google.common.collect.ImmutableList;\nimport com.unboundid.ldap.sdk.Filter;\nimport com.unboundid.ldap.sdk.LDAPException;\nimport org.apache.commons.lang3.StringUtils;\nimport org.graylog.security.authservice.AuthServiceBackendConfig;\nimport org.graylog.security.authservice.ldap.LDAPConnectorConfig;\nimport org.graylog.security.authservice.ldap.LDAPConnectorConfigProvider;\nimport org.graylog.security.authservice.ldap.LDAPTransportSecurity;\nimport org.graylog2.plugin.rest.ValidationResult;\nimport org.graylog2.security.encryption.EncryptedValue;\n\nimport java.util.List;\nimport java.util.stream.Collectors;\n\nimport static org.apache.commons.lang3.StringUtils.isBlank;\n\n@AutoValue\n@JsonDeserialize(builder = LDAPAuthServiceBackendConfig.Builder.class)\n@JsonTypeName(LDAPAuthServiceBackend.TYPE_NAME)\npublic abstract class LDAPAuthServiceBackendConfig implements AuthServiceBackendConfig, LDAPConnectorConfigProvider {\n private static final String FIELD_SERVERS = \"servers\";\n private static final String FIELD_TRANSPORT_SECURITY = \"transport_security\";\n private static final String FIELD_VERIFY_CERTIFICATES = \"verify_certificates\";\n private static final String FIELD_SYSTEM_USER_DN = \"system_user_dn\";\n private static final String FIELD_SYSTEM_USER_PASSWORD = \"system_user_password\";\n private static final String FIELD_USER_SEARCH_BASE = \"user_search_base\";\n private static final String FIELD_USER_SEARCH_PATTERN = \"user_search_pattern\";\n private static final String FIELD_USER_UNIQUE_ID_ATTRIBUTE = \"user_unique_id_attribute\";\n private static final String FIELD_USER_NAME_ATTRIBUTE = \"user_name_attribute\";\n private static final String FIELD_USER_FULL_NAME_ATTRIBUTE = \"user_full_name_attribute\";\n private static final String FIELD_EMAIL_ATTRIBUTES = \"email_attributes\";\n\n @JsonProperty(FIELD_SERVERS)\n public abstract ImmutableList servers();\n\n @JsonProperty(FIELD_TRANSPORT_SECURITY)\n public abstract LDAPTransportSecurity transportSecurity();\n\n @JsonProperty(FIELD_VERIFY_CERTIFICATES)\n public abstract boolean verifyCertificates();\n\n @JsonProperty(FIELD_SYSTEM_USER_DN)\n public abstract String systemUserDn();\n\n @JsonProperty(FIELD_SYSTEM_USER_PASSWORD)\n public abstract EncryptedValue systemUserPassword();\n\n @JsonProperty(FIELD_USER_SEARCH_BASE)\n public abstract String userSearchBase();\n\n @JsonProperty(FIELD_USER_SEARCH_PATTERN)\n public abstract String userSearchPattern();\n\n @JsonProperty(FIELD_USER_UNIQUE_ID_ATTRIBUTE)\n public abstract String userUniqueIdAttribute();\n\n @JsonProperty(FIELD_USER_NAME_ATTRIBUTE)\n public abstract String userNameAttribute();\n\n @JsonProperty(FIELD_USER_FULL_NAME_ATTRIBUTE)\n public abstract String userFullNameAttribute();\n\n @JsonProperty(FIELD_EMAIL_ATTRIBUTES)\n public abstract ImmutableList emailAttributes();\n\n @Override\n public void validate(ValidationResult result) {\n if (servers().isEmpty()) {\n result.addError(FIELD_SERVERS, \"Server list cannot be empty.\");\n }\n if (isBlank(userSearchBase())) {\n result.addError(FIELD_USER_SEARCH_BASE, \"User search base cannot be empty.\");\n }\n if (isBlank(userSearchPattern())) {\n result.addError(FIELD_USER_SEARCH_PATTERN, \"User search pattern cannot be empty.\");\n } else {\n try {\n Filter.create(userSearchPattern());\n } catch (LDAPException e) {\n result.addError(FIELD_USER_SEARCH_PATTERN, \"User search pattern cannot be parsed. It must be a valid LDAP filter.\");\n }\n }\n if (isBlank(userUniqueIdAttribute())) {\n result.addError(FIELD_USER_UNIQUE_ID_ATTRIBUTE, \"User unique ID attribute cannot be empty.\");\n }\n if (isBlank(userNameAttribute())) {\n result.addError(FIELD_USER_NAME_ATTRIBUTE, \"User name attribute cannot be empty.\");\n }\n if (isBlank(userFullNameAttribute())) {\n result.addError(FIELD_USER_FULL_NAME_ATTRIBUTE, \"User full name cannot be empty.\");\n }\n }\n\n @Override\n public LDAPConnectorConfig getLDAPConnectorConfig() {\n return LDAPConnectorConfig.builder()\n .serverList(servers().stream()\n .map(hap -> LDAPConnectorConfig.LDAPServer.create(hap.host(), hap.port()))\n .collect(Collectors.toList()))\n .systemUsername(StringUtils.trimToNull(systemUserDn()))\n .systemPassword(systemUserPassword())\n .transportSecurity(transportSecurity())\n .verifyCertificates(verifyCertificates())\n .build();\n }\n\n public abstract Builder toBuilder();\n\n public static Builder builder() {\n return Builder.create();\n }\n\n @AutoValue.Builder\n public abstract static class Builder implements AuthServiceBackendConfig.Builder {\n @JsonCreator\n public static Builder create() {\n return new AutoValue_LDAPAuthServiceBackendConfig.Builder()\n .type(LDAPAuthServiceBackend.TYPE_NAME)\n .verifyCertificates(true)\n .systemUserDn(\"\")\n .systemUserPassword(EncryptedValue.createUnset())\n .userUniqueIdAttribute(\"entryUUID\")\n .emailAttributes(ImmutableList.of(\"mail\", \"rfc822Mailbox\"));\n }\n\n @JsonProperty(FIELD_SERVERS)\n public abstract Builder servers(List servers);\n\n @JsonProperty(FIELD_TRANSPORT_SECURITY)\n public abstract Builder transportSecurity(LDAPTransportSecurity transportSecurity);\n\n @JsonProperty(FIELD_VERIFY_CERTIFICATES)\n public abstract Builder verifyCertificates(boolean verifyCertificates);\n\n @JsonProperty(FIELD_SYSTEM_USER_DN)\n public abstract Builder systemUserDn(String systemUserDn);\n\n @JsonProperty(FIELD_SYSTEM_USER_PASSWORD)\n public abstract Builder systemUserPassword(EncryptedValue systemUserPassword);\n\n @JsonProperty(FIELD_USER_SEARCH_BASE)\n public abstract Builder userSearchBase(String userSearchBase);\n\n @JsonProperty(FIELD_USER_SEARCH_PATTERN)\n public abstract Builder userSearchPattern(String userSearchPattern);\n\n @JsonProperty(FIELD_USER_UNIQUE_ID_ATTRIBUTE)\n public abstract Builder userUniqueIdAttribute(String userUniqueIdAttribute);\n\n @JsonProperty(FIELD_USER_NAME_ATTRIBUTE)\n public abstract Builder userNameAttribute(String userNameAttribute);\n\n @JsonProperty(FIELD_USER_FULL_NAME_ATTRIBUTE)\n public abstract Builder userFullNameAttribute(String userFullNameAttribute);\n\n @JsonProperty(FIELD_EMAIL_ATTRIBUTES)\n public abstract Builder emailAttributes(List emailAttributes);\n\n public abstract LDAPAuthServiceBackendConfig build();\n }\n\n @AutoValue\n public static abstract class HostAndPort {\n @JsonProperty(\"host\")\n public abstract String host();\n\n @JsonProperty(\"port\")\n public abstract int port();\n\n @JsonCreator\n public static HostAndPort create(@JsonProperty(\"host\") String host, @JsonProperty(\"port\") int port) {\n return new AutoValue_LDAPAuthServiceBackendConfig_HostAndPort(host, port);\n }\n\n @Override\n public String toString() {\n return host() + \":\" + port();\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/816e608d76423b38d6c77699b23db8bbddb9e1df.json b/web/public/bundles/graylog/code/816e608d76423b38d6c77699b23db8bbddb9e1df.json new file mode 100644 index 00000000..7c976a7f --- /dev/null +++ b/web/public/bundles/graylog/code/816e608d76423b38d6c77699b23db8bbddb9e1df.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "816e608d76423b38d6c77699b23db8bbddb9e1df", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/rulebuilder/db/migrations/V20230720161500_AddExtractorFragments.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.pipelineprocessor.rulebuilder.db.migrations;\n\nimport com.google.common.collect.ImmutableList;\nimport jakarta.inject.Inject;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.FunctionDescriptor;\nimport org.graylog.plugins.pipelineprocessor.rulebuilder.RuleBuilderFunctionGroup;\nimport org.graylog.plugins.pipelineprocessor.rulebuilder.db.RuleFragment;\nimport org.graylog.plugins.pipelineprocessor.rulebuilder.db.RuleFragmentService;\nimport org.graylog2.migrations.Migration;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.time.ZonedDateTime;\n\nimport static org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor.bool;\nimport static org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor.integer;\nimport static org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor.string;\n\npublic class V20230720161500_AddExtractorFragments extends Migration {\n\n private static final Logger log = LoggerFactory.getLogger(V20230720161500_AddExtractorFragments.class);\n private final RuleFragmentService ruleFragmentService;\n\n @Inject\n public V20230720161500_AddExtractorFragments(RuleFragmentService ruleFragmentService) {\n this.ruleFragmentService = ruleFragmentService;\n }\n\n @Override\n public ZonedDateTime createdAt() {\n return ZonedDateTime.parse(\"2023-06-13T15:44:00Z\");\n }\n\n @Override\n public void upgrade() {\n log.debug(\"Adding extractor fragments via migration\");\n\n ruleFragmentService.upsert(createCopyFieldExtractor());\n ruleFragmentService.upsert(createRegexExtractor());\n ruleFragmentService.upsert(createRegexReplacementExtractor());\n ruleFragmentService.upsert(createJsonExtractor());\n ruleFragmentService.upsert(createSplitIndexExtractor());\n ruleFragmentService.upsert(createLookupExtractor());\n\n log.debug(\"extractor fragments were successfully added\");\n }\n\n\n static RuleFragment createCopyFieldExtractor() {\n String resultvariable = \"gl2_fragment_extractor_\" + System.currentTimeMillis();\n return RuleFragment.builder()\n .fragment(\"\"\"\n let %resultvar% = $message.${field};\n set_field(\n field: ${newField},\n value: %resultvar%\n );\"\"\".replace(\"%resultvar%\", resultvariable))\n .descriptor(FunctionDescriptor.builder()\n .name(\"extract_field\")\n .params(ImmutableList.of(\n string(\"field\").description(\"Field to extract\").build(),\n string(\"newField\").description(\"New field to copy value to\").build()\n ))\n .returnType(Object.class)\n .description(\"Copy field value to a new field\")\n .ruleBuilderEnabled()\n .ruleBuilderName(\"Extract value to new field\")\n .ruleBuilderTitle(\"Extract field '${field}' and set to new field '${newField}'\")\n .ruleBuilderFunctionGroup(RuleBuilderFunctionGroup.EXTRACTORS)\n .build())\n .fragmentOutputVariable(resultvariable)\n .build();\n }\n\n\n static RuleFragment createRegexExtractor() {\n String resultvariable = \"gl2_fragment_extractor_\" + System.currentTimeMillis();\n return RuleFragment.builder()\n .fragment(\"\"\"\n let regex_pattern = ${pattern};\n let regex_results = regex(regex_pattern, to_string($message.${field}));\n let %resultvar% = regex_results[\"0\"];\n set_field(${newField}, %resultvar%);\"\"\"\n .replace(\"%resultvar%\", resultvariable))\n .descriptor(FunctionDescriptor.builder()\n .name(\"extract_regex\")\n .params(ImmutableList.of(\n string(\"field\").description(\"Field to extract\").build(),\n string(\"pattern\").description(\"The regular expression used for extraction. First matcher group is used.\").build(),\n string(\"newField\").description(\"New field to copy value to\").build()\n ))\n .returnType(String.class)\n .description(\"Copy extracted regular expression of field value to a new field\")\n .ruleBuilderEnabled()\n .ruleBuilderName(\"Extract regular expression to new field\")\n .ruleBuilderTitle(\"Extract regular expression '${pattern}' for field '${field}' and set to new field '${newField}'\")\n .ruleBuilderFunctionGroup(RuleBuilderFunctionGroup.EXTRACTORS)\n .build())\n .fragmentOutputVariable(resultvariable)\n .build();\n }\n\n static RuleFragment createRegexReplacementExtractor() {\n String resultvariable = \"gl2_fragment_extractor_\" + System.currentTimeMillis();\n return RuleFragment.builder()\n .fragment(\"\"\"\n let regex_pattern = ${pattern};\n let %resultvar% = regex_replace(\n pattern: regex_pattern,\n value: to_string($message.${field}),\n replacement: ${replacement}<#if replaceAll??>,\n replace_all: ${replaceAll?c}\n );\n set_field(${newField}, %resultvar%);\"\"\"\n .replace(\"%resultvar%\", resultvariable))\n .descriptor(FunctionDescriptor.builder()\n .name(\"extract_regex_replace\")\n .params(ImmutableList.of(\n string(\"field\").description(\"Field to extract\").build(),\n string(\"pattern\").description(\"The regular expression used for extraction.\").build(),\n string(\"replacement\").description(\"The replacement used for the matching text. Please refer to the Matcher API documentation for the possible options.\").build(),\n bool(\"replaceAll\").optional().description(\"Replace all occurrences of the pattern, or only the first occurrence. (default: true)\").build(),\n string(\"newField\").description(\"New field to copy value to\").build()\n ))\n .returnType(String.class)\n .description(\"Copy and replace extracted regular expression of field value to a new field\")\n .ruleBuilderEnabled()\n .ruleBuilderName(\"Extract regular expression to new field with replacement\")\n .ruleBuilderTitle(\"Extract regular expression '${pattern}' for field '${field}', replace with '${replacement}' and set to new field '${newField}'\")\n .ruleBuilderFunctionGroup(RuleBuilderFunctionGroup.EXTRACTORS)\n .build())\n .fragmentOutputVariable(resultvariable)\n .build();\n }\n\n static RuleFragment createJsonExtractor() {\n String resultvariable = \"gl2_fragment_extractor_\" + System.currentTimeMillis();\n return RuleFragment.builder()\n .fragment(\"\"\"\n let %resultvar% = parse_json(to_string($message.${field}));\n set_fields(to_map(%resultvar%));\"\"\"\n .replace(\"%resultvar%\", resultvariable))\n .descriptor(FunctionDescriptor.builder()\n .name(\"extract_json\")\n .params(ImmutableList.of(\n string(\"field\").description(\"Field to extract\").build()\n ))\n .returnType(String.class)\n .description(\"Parse field as json and set to fields\")\n .ruleBuilderEnabled()\n .ruleBuilderName(\"Extract json and set to fields\")\n .ruleBuilderTitle(\"Extract Json in field '${field}' and set to new fields\")\n .ruleBuilderFunctionGroup(RuleBuilderFunctionGroup.EXTRACTORS)\n .build())\n .fragmentOutputVariable(resultvariable)\n .build();\n }\n\n static RuleFragment createSplitIndexExtractor() {\n String resultvariable = \"gl2_fragment_extractor_\" + System.currentTimeMillis();\n return RuleFragment.builder()\n .fragment(\"\"\"\n let %resultvar% = split(${character}, to_string($message.${field}))[${targetIndex}];\n set_field(${newField}, %resultvar%);\"\"\"\n .replace(\"%resultvar%\", resultvariable))\n .descriptor(FunctionDescriptor.builder()\n .name(\"extract_split_index\")\n .params(ImmutableList.of(\n string(\"field\").description(\"Field to extract\").build(),\n string(\"character\").description(\"What character to split on\").build(),\n integer(\"targetIndex\").description(\"What part of the split string to use (0-based)\").build(),\n string(\"newField\").description(\"New field to copy value to\").build()\n ))\n .returnType(String.class)\n .description(\"Split field into tokens by character and set one token to new field.\")\n .ruleBuilderEnabled()\n .ruleBuilderName(\"Extract split & index\")\n .ruleBuilderTitle(\"Extract token number '${targetIndex}' from split field '${field}' and set to new field '${newField}'\")\n .ruleBuilderFunctionGroup(RuleBuilderFunctionGroup.EXTRACTORS)\n .build())\n .fragmentOutputVariable(resultvariable)\n .build();\n }\n\n static RuleFragment createLookupExtractor() {\n String resultvariable = \"gl2_fragment_extractor_\" + System.currentTimeMillis();\n return RuleFragment.builder()\n .fragment(\"\"\"\n let %resultvar% = lookup_value(${lookupTable}, to_string($message.${field}));\n set_field(${newField}, %resultvar%);\"\"\"\n .replace(\"%resultvar%\", resultvariable))\n .descriptor(FunctionDescriptor.builder()\n .name(\"extract_lookup\")\n .params(ImmutableList.of(\n string(\"field\").description(\"Field to extract\").build(),\n string(\"lookupTable\").description(\"Lookup table to use\").build(),\n string(\"newField\").description(\"New field to copy value to\").build()\n ))\n .returnType(String.class)\n .description(\"Lookup value for key in field in lookup table and set it to new field.\")\n .ruleBuilderEnabled()\n .ruleBuilderName(\"Extract lookup value\")\n .ruleBuilderTitle(\"Extract value for field '${field}', do lookup in '${lookupTable}' and set value to new field '${newField}'\")\n .ruleBuilderFunctionGroup(RuleBuilderFunctionGroup.EXTRACTORS)\n .build())\n .fragmentOutputVariable(resultvariable)\n .build();\n }\n\n\n}\n" +} diff --git a/web/public/bundles/graylog/code/823d74653ba3f9818e6a23e686ac4a534fc5b7de.json b/web/public/bundles/graylog/code/823d74653ba3f9818e6a23e686ac4a534fc5b7de.json new file mode 100644 index 00000000..4f7a0d8f --- /dev/null +++ b/web/public/bundles/graylog/code/823d74653ba3f9818e6a23e686ac4a534fc5b7de.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "823d74653ba3f9818e6a23e686ac4a534fc5b7de", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/notifications/types/microsoftteams/TeamsEventNotificationConfigEntity.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.integrations.notifications.types.microsoftteams;\n\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.jackson.annotation.JsonTypeName;\nimport com.fasterxml.jackson.databind.annotation.JsonDeserialize;\nimport com.google.auto.value.AutoValue;\nimport org.graylog.events.contentpack.entities.EventNotificationConfigEntity;\nimport org.graylog.events.notifications.EventNotificationConfig;\nimport org.graylog2.contentpacks.model.entities.EntityDescriptor;\nimport org.graylog2.contentpacks.model.entities.references.ValueReference;\nimport org.joda.time.DateTimeZone;\n\nimport java.util.Map;\n\n@AutoValue\n@JsonTypeName(TeamsEventNotificationConfigEntity.TYPE_NAME)\n@JsonDeserialize(builder = TeamsEventNotificationConfigEntity.Builder.class)\n@Deprecated\npublic abstract class TeamsEventNotificationConfigEntity implements EventNotificationConfigEntity {\n\n public static final String TYPE_NAME = \"teams-notification-v1\";\n\n @JsonProperty(TeamsEventNotificationConfig.TEAMS_COLOR)\n public abstract ValueReference color();\n\n @JsonProperty(TeamsEventNotificationConfig.FIELD_WEBHOOK_URL)\n public abstract ValueReference webhookUrl();\n\n @JsonProperty(TeamsEventNotificationConfig.TEAMS_CUSTOM_MESSAGE)\n public abstract ValueReference customMessage();\n\n @JsonProperty(TeamsEventNotificationConfig.TEAMS_ICON_URL)\n public abstract ValueReference iconUrl();\n\n @JsonProperty(TeamsEventNotificationConfig.TEAMS_TIME_ZONE)\n public abstract ValueReference timeZone();\n\n public static Builder builder() {\n return Builder.create();\n }\n\n public abstract Builder toBuilder();\n\n @AutoValue.Builder\n public static abstract class Builder implements EventNotificationConfigEntity.Builder {\n\n @JsonCreator\n public static Builder create() {\n return new AutoValue_TeamsEventNotificationConfigEntity.Builder()\n .type(TYPE_NAME)\n .timeZone(ValueReference.of(\"UTC\"));\n }\n\n @JsonProperty(TeamsEventNotificationConfig.TEAMS_COLOR)\n public abstract Builder color(ValueReference color);\n\n @JsonProperty(TeamsEventNotificationConfig.FIELD_WEBHOOK_URL)\n public abstract Builder webhookUrl(ValueReference webhookUrl);\n\n @JsonProperty(TeamsEventNotificationConfig.TEAMS_CUSTOM_MESSAGE)\n public abstract Builder customMessage(ValueReference customMessage);\n\n @JsonProperty(TeamsEventNotificationConfig.TEAMS_ICON_URL)\n public abstract Builder iconUrl(ValueReference iconUrl);\n\n @JsonProperty(TeamsEventNotificationConfig.TEAMS_TIME_ZONE)\n public abstract Builder timeZone(ValueReference timeZone);\n\n public abstract TeamsEventNotificationConfigEntity build();\n }\n\n @Override\n public EventNotificationConfig toNativeEntity(Map parameters, Map nativeEntities) {\n return TeamsEventNotificationConfig.builder()\n .color(color().asString(parameters))\n .webhookUrl(webhookUrl().asString(parameters))\n .customMessage(customMessage().asString(parameters))\n .iconUrl(iconUrl().asString(parameters))\n .timeZone(DateTimeZone.forID(timeZone().asString(parameters)))\n .build();\n }\n}\n\n" +} diff --git a/web/public/bundles/graylog/code/8246680172971b036bd72b1c8262b8457e344470.json b/web/public/bundles/graylog/code/8246680172971b036bd72b1c8262b8457e344470.json new file mode 100644 index 00000000..3ea5b1e6 --- /dev/null +++ b/web/public/bundles/graylog/code/8246680172971b036bd72b1c8262b8457e344470.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "8246680172971b036bd72b1c8262b8457e344470", + "language": "typescript", + "path": "graylog2-web-interface/src/components/common/PageErrorOverview.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\n\nimport ErrorPage from 'components/errors/ErrorPage';\nimport useProductName from 'brand-customization/useProductName';\nimport Center from 'components/common/Center';\n\ntype PageErrorOverviewProps = {\n /** Array of errors that prevented the original page to load. */\n error: Error;\n title?: string;\n};\n\n/**\n * Component that renders a page when there was an error and certain information can't be fetched. Use it\n * only when the page would make no sense if the information is not available (i.e. a node page where we\n * can't reach the node).\n */\nconst PageErrorOverview = ({ error, title = 'Error getting data' }: PageErrorOverviewProps) => {\n const productName = useProductName();\n const description = (\n

We had trouble fetching some data required to build this page, so here is a picture instead.

\n );\n\n return (\n \n
{error.toString()}
\n
Check your {productName} server logs for more information.
\n
\n );\n};\n\nexport default PageErrorOverview;\n" +} diff --git a/web/public/bundles/graylog/code/824e2e2226f362f62d086ef95559b1ff5818348c.json b/web/public/bundles/graylog/code/824e2e2226f362f62d086ef95559b1ff5818348c.json new file mode 100644 index 00000000..03277359 --- /dev/null +++ b/web/public/bundles/graylog/code/824e2e2226f362f62d086ef95559b1ff5818348c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "824e2e2226f362f62d086ef95559b1ff5818348c", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/ExplainResults.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.views.search;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\nimport org.graylog.plugins.views.search.errors.SearchError;\nimport org.graylog2.indexer.indexset.MongoIndexSet;\nimport org.graylog2.indexer.ranges.IndexRange;\n\nimport java.util.Collection;\nimport java.util.Map;\nimport java.util.Set;\n\npublic record ExplainResults(String search_id, SearchResult search, Set searchErrors) {\n\n public record SearchResult(Map queries) {\n }\n\n public record QueryExplainResult(Map searchTypes) {\n }\n\n public record ExplainResult(String queryString, Set searchedIndexRanges,\n @JsonInclude(JsonInclude.Include.NON_NULL) String effectiveQuery) {\n public ExplainResult(String queryString, Set searchedIndexRanges) {\n this(queryString, searchedIndexRanges, null);\n }\n\n public ExplainResult withEffectiveQuery(final String effectiveQuery) {\n return new ExplainResult(queryString, searchedIndexRanges, effectiveQuery);\n }\n }\n\n public record IndexRangeResult(String indexName, long begin, long end, boolean isWarmTiered,\n Collection streamNames) {\n public IndexRangeResult(String indexName, long begin, long end, Collection streamNames) {\n this(indexName, begin, end, MongoIndexSet.indexHasWarmInfix(indexName), streamNames);\n }\n\n public static IndexRangeResult fromIndexRange(IndexRange indexRange, Collection streamNames) {\n return new IndexRangeResult(indexRange.indexName(), indexRange.begin().getMillis(), indexRange.end().getMillis(), streamNames);\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/82f57b3506f6d9ade36403c875a8c80d81f8985c.json b/web/public/bundles/graylog/code/82f57b3506f6d9ade36403c875a8c80d81f8985c.json new file mode 100644 index 00000000..2a0151ea --- /dev/null +++ b/web/public/bundles/graylog/code/82f57b3506f6d9ade36403c875a8c80d81f8985c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "82f57b3506f6d9ade36403c875a8c80d81f8985c", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/UserPermissionsToGrantsMigration.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.migrations.V20200803120800_GrantsMigrations;\n\nimport com.google.common.collect.ImmutableSet;\nimport com.google.common.collect.Sets;\nimport org.graylog.grn.GRN;\nimport org.graylog.grn.GRNRegistry;\nimport org.graylog.grn.GRNType;\nimport org.graylog.grn.GRNTypes;\nimport org.graylog.plugins.views.search.views.ViewService;\nimport org.graylog.security.Capability;\nimport org.graylog.security.DBGrantService;\nimport org.graylog2.migrations.V20200803120800_GrantsMigrations.GrantsMetaMigration.GRNTypeCapability;\nimport org.graylog2.plugin.database.ValidationException;\nimport org.graylog2.plugin.database.users.User;\nimport org.graylog2.shared.users.UserService;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport jakarta.inject.Named;\n\nimport java.util.Collection;\nimport java.util.HashMap;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Optional;\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\nimport static java.util.Objects.requireNonNull;\nimport static org.graylog.plugins.views.search.rest.ViewsRestPermissions.VIEW_READ;\n\npublic class UserPermissionsToGrantsMigration {\n private static final Logger LOG = LoggerFactory.getLogger(UserPermissionsToGrantsMigration.class);\n private final UserService userService;\n private final DBGrantService dbGrantService;\n private final GRNRegistry grnRegistry;\n private final ViewService viewService;\n private final String rootUsername;\n\n public UserPermissionsToGrantsMigration(UserService userService,\n DBGrantService dbGrantService,\n GRNRegistry grnRegistry,\n ViewService viewService,\n @Named(\"root_username\") String rootUsername) {\n this.userService = userService;\n this.dbGrantService = dbGrantService;\n this.grnRegistry = grnRegistry;\n this.viewService = viewService;\n this.rootUsername = rootUsername;\n }\n\n public void upgrade() {\n final List users = userService.loadAll();\n\n for (User user : users) {\n final Map> migratableEntities = getMigratableEntities(ImmutableSet.copyOf(user.getPermissions()));\n if (!migratableEntities.isEmpty()) {\n migrateUserPermissions(user, migratableEntities);\n }\n }\n }\n\n private Optional getViewGRNType(String viewId) {\n return viewService.get(viewId).map(view -> {\n final GRNType viewGrnType;\n switch (view.type()) {\n case SEARCH:\n viewGrnType = GRNTypes.SEARCH;\n break;\n case DASHBOARD:\n viewGrnType = GRNTypes.DASHBOARD;\n break;\n default:\n throw new IllegalStateException(\"Unexpected value: \" + view.type());\n }\n return viewGrnType;\n });\n }\n\n private void migrateUserPermissions(User user, Map> migratableEntities) {\n migratableEntities.forEach((entityID, permissions) -> {\n final GRNTypeCapability grnTypeCapability = GrantsMetaMigration.MIGRATION_MAP.get(permissions);\n\n // Permissions are mappable to a grant\n if (grnTypeCapability != null) {\n final Capability capability = grnTypeCapability.capability;\n\n GRN targetGRN;\n if (permissions.stream().anyMatch(p -> p.contains(VIEW_READ))) {\n // For views we need to load the database object to be able to determine if it's a\n // search or a dashboard.\n targetGRN = getViewGRNType(entityID).map(grnType -> grnType.toGRN(entityID)).orElse(null);\n } else {\n targetGRN = requireNonNull(grnTypeCapability.grnType, \"grnType cannot be null - this is a bug\").toGRN(entityID);\n }\n\n if (targetGRN != null) {\n dbGrantService.ensure(grnRegistry.ofUser(user), capability, targetGRN, rootUsername);\n }\n\n final List updatedPermissions = user.getPermissions();\n updatedPermissions.removeAll(permissions.stream().map(p -> p + \":\" + entityID).collect(Collectors.toSet()));\n user.setPermissions(updatedPermissions);\n try {\n userService.save(user);\n } catch (ValidationException e) {\n LOG.error(\"Failed to update permssions on user <{}>\", user.getName(), e);\n }\n LOG.info(\"Migrating entity <{}> permissions <{}> to <{}> grant for user <{}>\", targetGRN, permissions, capability, user.getName());\n } else {\n LOG.info(\"Skipping non-migratable entity <{}>. Permissions <{}> cannot be converted to a grant capability\", entityID, permissions);\n }\n });\n }\n\n private Map> getMigratableEntities(Set permissions) {\n Map> migratableEntities = new HashMap<>();\n\n permissions.stream().map(GrantsMetaMigration.MigrationWildcardPermission::new)\n .filter(p -> p.getParts().size() == 3 && p.getParts().stream().allMatch(part -> part.size() == 1))\n .forEach(p -> {\n String permissionType = p.subPart(0);\n String restPermission = p.subPart(0) + \":\" + p.subPart(1);\n String id = p.subPart(2);\n\n if (GrantsMetaMigration.MIGRATION_MAP.keySet().stream().flatMap(Collection::stream).anyMatch(perm -> perm.startsWith(permissionType + \":\"))) {\n if (migratableEntities.containsKey(id)) {\n migratableEntities.get(id).add(restPermission);\n } else {\n migratableEntities.put(id, Sets.newHashSet(restPermission));\n }\n }\n });\n return migratableEntities;\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/83141dc4e6376f3cdbe2638c0e234fed5649b274.json b/web/public/bundles/graylog/code/83141dc4e6376f3cdbe2638c0e234fed5649b274.json new file mode 100644 index 00000000..96dd64e9 --- /dev/null +++ b/web/public/bundles/graylog/code/83141dc4e6376f3cdbe2638c0e234fed5649b274.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "83141dc4e6376f3cdbe2638c0e234fed5649b274", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/aws/AWSMessageType.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.integrations.aws;\n\nimport org.graylog.integrations.aws.codecs.KinesisCloudWatchFlowLogCodec;\nimport org.graylog.integrations.aws.codecs.KinesisRawLogCodec;\nimport org.graylog.integrations.aws.transports.KinesisTransport;\nimport org.graylog2.plugin.inputs.codecs.Codec;\nimport org.graylog2.plugin.inputs.transports.Transport;\n\nimport java.util.Arrays;\nimport java.util.List;\nimport java.util.stream.Collectors;\n\n/**\n * Identifies the type of input for a particular log source (eg. CloudWatch or Kinesis) and\n * log format.\n *\n * This type will be saved with the input to indicate which transport and codec should be used.\n */\npublic enum AWSMessageType {\n\n /**\n * A raw string stored in CloudWatch or Kinesis.\n */\n KINESIS_RAW(Source.KINESIS, \"Kinesis Raw\", KinesisRawLogCodec.NAME,\n KinesisRawLogCodec.Factory.class, KinesisTransport.NAME, KinesisTransport.Factory.class),\n\n KINESIS_CLOUDWATCH_RAW(Source.KINESIS, \"Kinesis CloudWatch Raw\", KinesisRawLogCodec.NAME,\n KinesisRawLogCodec.Factory.class, KinesisTransport.NAME, KinesisTransport.Factory.class),\n\n // Flow Logs delivered to Kinesis via CloudWatch subscriptions.\n KINESIS_CLOUDWATCH_FLOW_LOGS(Source.KINESIS, \"Kinesis CloudWatch Flow Log\", KinesisCloudWatchFlowLogCodec.NAME,\n KinesisCloudWatchFlowLogCodec.Factory.class, KinesisTransport.NAME, KinesisTransport.Factory.class),\n\n UNKNOWN();\n\n private Source source;\n private String label;\n private String codecName;\n private Class codecFactory;\n private String transportName;\n private Class transportFactory;\n\n AWSMessageType() {\n }\n\n AWSMessageType(Source source, String label, String codecName, Class codecFactory, String transportName, Class transportFactory) {\n this.source = source;\n this.label = label;\n this.codecName = codecName;\n this.codecFactory = codecFactory;\n this.transportName = transportName;\n this.transportFactory = transportFactory;\n }\n\n public Class getCodecFactory() {\n return codecFactory;\n }\n\n public Class getTransportFactory() {\n return transportFactory;\n }\n\n public String getLabel() {\n return label;\n }\n\n public String getCodecName() {\n return codecName;\n }\n\n public String getTransportName() {\n return transportName;\n }\n\n /**\n * @return True if the {@link AWSMessageType} enum instance has a Kinesis source.\n */\n public boolean isKinesis() {\n return Source.KINESIS.equals(this.source);\n }\n\n /**\n * Each source will require its own specific set of input configuration fields. Multiple {@link AWSMessageType}\n * enum instances might correspond to the same source and thus require the same configuration fields.\n * For example, {@code AWSMessageType.KINESIS_RAW} and {@code AWSMessageType.KINESIS_FLOW_LOGS}\n * correspond to two different types of AWS messages, but share a common KINESIS source.\n */\n public enum Source {\n KINESIS\n }\n\n /**\n * @return Return all message types except for UNKNOWN.\n */\n public static List getMessageTypes() {\n\n return Arrays.stream(values()).filter(m -> !(m.equals(UNKNOWN))).collect(Collectors.toList());\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/83995215bd9ba37cdbabb11e2f9d209d85708c9c.json b/web/public/bundles/graylog/code/83995215bd9ba37cdbabb11e2f9d209d85708c9c.json new file mode 100644 index 00000000..f483b800 --- /dev/null +++ b/web/public/bundles/graylog/code/83995215bd9ba37cdbabb11e2f9d209d85708c9c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "83995215bd9ba37cdbabb11e2f9d209d85708c9c", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/metrics/IndexSetIndexingFailuresDescriptor.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.indexer.indexset.metrics;\n\nimport com.fasterxml.jackson.core.type.TypeReference;\nimport jakarta.inject.Inject;\nimport jakarta.inject.Named;\nimport org.graylog2.indexer.IndexFailureCounter;\nimport org.graylog2.indexer.indexset.IndexSet;\nimport org.graylog2.indexer.indexset.IndexSetService;\nimport org.graylog2.indexer.indexset.registry.IndexSetRegistry;\nimport org.graylog2.metrics.entity.EntityMetric;\nimport org.graylog2.plugin.Tools;\n\nimport java.time.Duration;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Set;\n\nimport static org.graylog2.metrics.entity.cache.MetricsCacheConfiguration.METRICS_CACHE_TTL_SHORT;\n\n/**\n * Cached {@code indexing_failures} metric, the number of messages that failed to index into each index set over the\n * last ten minutes.\n */\npublic class IndexSetIndexingFailuresDescriptor extends IndexSetMetricDescriptor {\n public static final String FIELD_NAME = \"indexing_failures\";\n static final int WINDOW_MINUTES = 10;\n\n private final IndexFailureCounter indexFailureCounter;\n\n @Inject\n public IndexSetIndexingFailuresDescriptor(IndexFailureCounter indexFailureCounter,\n IndexSetService indexSetService,\n IndexSetRegistry indexSetRegistry,\n @Named(METRICS_CACHE_TTL_SHORT) Duration cacheTtl) {\n super(indexSetService, indexSetRegistry, cacheTtl);\n this.indexFailureCounter = indexFailureCounter;\n }\n\n @Override\n public String fieldName() {\n return FIELD_NAME;\n }\n\n @Override\n public TypeReference cacheType() {\n return new TypeReference<>() {};\n }\n\n @Override\n List> computeFor(Set indexSets) {\n final Map countsByIndex = indexFailureCounter.countByIndexSince(Tools.nowUTC().minusMinutes(WINDOW_MINUTES));\n\n return indexSets.stream()\n .map(indexSet -> new EntityMetric<>(indexSet.getConfig().id(), countsByIndex.entrySet().stream()\n .filter(entry -> indexSet.isManagedIndex(entry.getKey()))\n .mapToLong(Map.Entry::getValue)\n .sum()))\n .toList();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/83b39e204af37cd411fb1ff713c80b9c1a295803.json b/web/public/bundles/graylog/code/83b39e204af37cd411fb1ff713c80b9c1a295803.json new file mode 100644 index 00000000..b914d5cd --- /dev/null +++ b/web/public/bundles/graylog/code/83b39e204af37cd411fb1ff713c80b9c1a295803.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "83b39e204af37cd411fb1ff713c80b9c1a295803", + "language": "typescript", + "path": "graylog2-web-interface/src/components/datanode/Types.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport type { DataNodeStatus } from 'preflight/types';\nimport type { MIGRATION_STATE } from 'components/datanode/Constants';\n\ntype Shard = {\n documents_count: number;\n name: string;\n primary: boolean;\n};\n\ntype Indice = {\n index_id: string;\n shards: Array;\n index_name: string;\n creation_date: string;\n index_version_created: string;\n};\n\nexport type NodeInfo = {\n indices: Array;\n node_version: string;\n};\nexport type CompatibilityResponseType = {\n hostname: string;\n opensearch_version: string;\n info: {\n nodes: Array;\n opensearch_data_location: string;\n };\n compatibility_errors: Array;\n compatibility_warnings: Array;\n};\n\nexport type DataNode = {\n hostname?: string;\n id: string;\n is_leader: boolean;\n is_master: boolean;\n last_seen?: string;\n node_id: string;\n short_node_id: string;\n transport_address?: string;\n type?: string;\n status: DataNodeStatus;\n datanode_status?: string;\n cert_valid_until?: string | null;\n error_msg?: string;\n datanode_version?: string;\n version_compatible: boolean;\n object_id?: string;\n cluster_address?: string;\n rest_api_address?: string;\n action_queue?: string;\n opensearch_roles?: string[];\n configuration_warnings?: string[];\n};\n\nexport type DataNodes = Array;\n\nexport type DataNodesCA = {\n id: string;\n type: string;\n};\n\nexport type RenewalPolicy = {\n mode: 'AUTOMATIC' | 'MANUAL';\n certificate_lifetime: string;\n};\n\nexport type MigrationActions =\n | 'SELECT_MIGRATION'\n | 'SHOW_DIRECTORY_COMPATIBILITY_CHECK'\n | 'SKIP_DIRECTORY_COMPATIBILITY_CHECK'\n | 'SHOW_CA_CREATION'\n | 'SHOW_RENEWAL_POLICY_CREATION'\n | 'SHOW_MIGRATION_SELECTION'\n | 'PROVISION_DATANODE_CERTIFICATES'\n | 'SHOW_PROVISION_ROLLING_UPGRADE_NODES_WITH_CERTIFICATES'\n | 'SHOW_STOP_PROCESSING_PAGE'\n | 'SELECT_ROLLING_UPGRADE_MIGRATION'\n | 'DISCOVER_NEW_DATANODES'\n | 'INSTALL_DATANODES_ON_EVERY_NODE'\n | 'CALCULATE_JOURNAL_SIZE'\n | 'CONFIRM_OLD_CLUSTER_STOPPED'\n | 'CONFIRM_OLD_CONNECTION_STRING_FROM_CONFIG_REMOVED_AND_GRAYLOG_RESTARTED'\n | 'CONFIRM_OLD_CONNECTION_STRING_FROM_CONFIG_REMOVED'\n | 'SHOW_ROLLING_UPGRADE_ASK_TO_SHUTDOWN_OLD_CLUSTER';\ntype RemoveDescriptionField = {\n [K in keyof T as Exclude]: T[K];\n};\n\ntype ExtractKeyValues = {\n [K in keyof T]: T[K] extends object ? ExtractKeyValues> : T[K];\n}[keyof T];\n\nexport type MigrationStateItem = ExtractKeyValues;\n\nexport type MigrationState = {\n state: MigrationStateItem;\n next_steps: Array;\n error_message?: string | null;\n response?: { [_key: string]: unknown };\n};\n\nexport type MigrationStepRequest = {\n step: MigrationActions;\n args?: {\n [key: string]: unknown;\n };\n};\nexport type StepArgs = { [_key: string]: unknown };\n\nexport type OnTriggerStepFunction = (step: MigrationActions, args?: StepArgs) => Promise;\nexport type MigrationStepComponentProps = {\n currentStep: MigrationState;\n onTriggerStep: OnTriggerStepFunction;\n hideActions?: boolean;\n};\n" +} diff --git a/web/public/bundles/graylog/code/84107b686aedea26d38b33f869f95ca295a62424.json b/web/public/bundles/graylog/code/84107b686aedea26d38b33f869f95ca295a62424.json new file mode 100644 index 00000000..895028b6 --- /dev/null +++ b/web/public/bundles/graylog/code/84107b686aedea26d38b33f869f95ca295a62424.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "84107b686aedea26d38b33f869f95ca295a62424", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/rest/RuleResource.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.pipelineprocessor.rest;\n\nimport com.google.common.annotations.VisibleForTesting;\nimport com.google.common.collect.ImmutableMap;\nimport com.swrve.ratelimitedlogger.RateLimitedLog;\nimport io.swagger.v3.oas.annotations.Operation;\nimport io.swagger.v3.oas.annotations.Parameter;\nimport io.swagger.v3.oas.annotations.media.Schema;\nimport io.swagger.v3.oas.annotations.tags.Tag;\nimport jakarta.inject.Inject;\nimport jakarta.validation.constraints.NotNull;\nimport jakarta.ws.rs.BadRequestException;\nimport jakarta.ws.rs.Consumes;\nimport jakarta.ws.rs.DELETE;\nimport jakarta.ws.rs.DefaultValue;\nimport jakarta.ws.rs.GET;\nimport jakarta.ws.rs.POST;\nimport jakarta.ws.rs.PUT;\nimport jakarta.ws.rs.Path;\nimport jakarta.ws.rs.PathParam;\nimport jakarta.ws.rs.Produces;\nimport jakarta.ws.rs.QueryParam;\nimport jakarta.ws.rs.core.MediaType;\nimport org.apache.shiro.authz.annotation.RequiresAuthentication;\nimport org.apache.shiro.authz.annotation.RequiresPermissions;\nimport org.graylog.plugins.pipelineprocessor.ast.Rule;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.Function;\nimport org.graylog.plugins.pipelineprocessor.audit.PipelineProcessorAuditEventTypes;\nimport org.graylog.plugins.pipelineprocessor.db.PaginatedRuleService;\nimport org.graylog.plugins.pipelineprocessor.db.PipelineService;\nimport org.graylog.plugins.pipelineprocessor.db.PipelineServiceHelper;\nimport org.graylog.plugins.pipelineprocessor.db.RuleDao;\nimport org.graylog.plugins.pipelineprocessor.db.RuleMetricsConfigDto;\nimport org.graylog.plugins.pipelineprocessor.db.RuleMetricsConfigService;\nimport org.graylog.plugins.pipelineprocessor.db.RuleService;\nimport org.graylog.plugins.pipelineprocessor.parser.FunctionRegistry;\nimport org.graylog.plugins.pipelineprocessor.parser.ParseException;\nimport org.graylog.plugins.pipelineprocessor.simulator.RuleSimulator;\nimport org.graylog2.audit.jersey.AuditEvent;\nimport org.graylog2.audit.jersey.NoAuditEvent;\nimport org.graylog2.database.NotFoundException;\nimport org.graylog2.database.PaginatedList;\nimport org.graylog2.plugin.Message;\nimport org.graylog2.plugin.rest.PluginRestResource;\nimport org.graylog2.rest.models.PaginatedResponse;\nimport org.graylog2.search.SearchQuery;\nimport org.graylog2.search.SearchQueryField;\nimport org.graylog2.search.SearchQueryParser;\nimport org.graylog2.shared.rest.PublicCloudAPI;\nimport org.graylog2.shared.rest.resources.RestResource;\nimport org.joda.time.DateTime;\nimport org.joda.time.DateTimeZone;\n\nimport javax.annotation.Nonnull;\nimport java.util.ArrayList;\nimport java.util.Collection;\nimport java.util.HashMap;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.stream.Collectors;\n\nimport static org.graylog2.plugin.utilities.ratelimitedlog.RateLimitedLogFactory.createDefaultRateLimitedLog;\n\n@PublicCloudAPI\n@Tag(name = \"Pipelines/Rules\", description = \"Rules for the pipeline message processor\")\n@Path(\"/system/pipelines/rule\")\n@Consumes(MediaType.APPLICATION_JSON)\n@Produces(MediaType.APPLICATION_JSON)\n@RequiresAuthentication\npublic class RuleResource extends RestResource implements PluginRestResource {\n private static final RateLimitedLog log = createDefaultRateLimitedLog(RuleResource.class);\n\n private static final ImmutableMap SEARCH_FIELD_MAPPING = ImmutableMap.builder()\n .put(RuleDao.FIELD_ID, SearchQueryField.create(\"_id\", SearchQueryField.Type.OBJECT_ID))\n .put(RuleDao.FIELD_TITLE, SearchQueryField.create(RuleDao.FIELD_TITLE))\n .put(RuleDao.FIELD_DESCRIPTION, SearchQueryField.create(RuleDao.FIELD_DESCRIPTION))\n .build();\n\n private final RuleService ruleService;\n private final RuleSimulator ruleSimulator;\n private final PipelineService pipelineService;\n private final RuleMetricsConfigService ruleMetricsConfigService;\n private final PipelineRuleService pipelineRuleService;\n private final FunctionRegistry functionRegistry;\n private final PaginatedRuleService paginatedRuleService;\n private final SearchQueryParser searchQueryParser;\n private final PipelineServiceHelper pipelineServiceHelper;\n\n @Inject\n public RuleResource(RuleService ruleService,\n RuleSimulator ruleSimulator, PipelineService pipelineService,\n RuleMetricsConfigService ruleMetricsConfigService,\n PipelineRuleService pipelineRuleService,\n PaginatedRuleService paginatedRuleService,\n FunctionRegistry functionRegistry,\n PipelineServiceHelper pipelineServiceHelper) {\n this.ruleService = ruleService;\n this.ruleSimulator = ruleSimulator;\n this.pipelineService = pipelineService;\n this.ruleMetricsConfigService = ruleMetricsConfigService;\n this.pipelineRuleService = pipelineRuleService;\n this.functionRegistry = functionRegistry;\n this.paginatedRuleService = paginatedRuleService;\n this.pipelineServiceHelper = pipelineServiceHelper;\n\n this.searchQueryParser = new SearchQueryParser(RuleDao.FIELD_TITLE, SEARCH_FIELD_MAPPING);\n }\n\n @Operation(summary = \"Create a processing rule from source\", description = \"\")\n @POST\n @RequiresPermissions(PipelineRestPermissions.PIPELINE_RULE_CREATE)\n @AuditEvent(type = PipelineProcessorAuditEventTypes.RULE_CREATE)\n public RuleSource createFromParser(@Parameter(name = \"rule\", required = true) @NotNull RuleSource ruleSource) throws ParseException {\n final Rule rule = pipelineRuleService.parseRuleOrThrow(ruleSource.id(), ruleSource.source(), false);\n final DateTime now = DateTime.now(DateTimeZone.UTC);\n final RuleDao newRuleSource = RuleDao.builder()\n .title(rule.name()) // use the name from the parsed rule source.\n .description(ruleSource.description())\n .source(ruleSource.source()\n )\n .createdAt(now)\n .modifiedAt(now)\n .ruleBuilder(ruleSource.ruleBuilder())\n .simulatorMessage(ruleSource.simulatorMessage())\n .build();\n\n final RuleDao save;\n try {\n save = ruleService.save(newRuleSource);\n } catch (IllegalArgumentException e) {\n log.error(e.getMessage(), e);\n throw new BadRequestException(e.getMessage());\n }\n\n log.debug(\"Created new rule {}\", save);\n return pipelineRuleService.createRuleSourceFromRuleDao(save);\n }\n\n @Operation(summary = \"Parse a processing rule without saving it\", description = \"\")\n @POST\n @Path(\"/parse\")\n @NoAuditEvent(\"only used to parse a rule, no changes made in the system\")\n @RequiresPermissions(PipelineRestPermissions.PIPELINE_RULE_CREATE)\n public RuleSource parse(@Parameter(name = \"rule\", required = true) @NotNull RuleSource ruleSource) throws ParseException {\n final Rule rule = pipelineRuleService.parseRuleOrThrow(ruleSource.id(), ruleSource.source(), true);\n final DateTime now = DateTime.now(DateTimeZone.UTC);\n return RuleSource.builder()\n .title(rule.name())\n .description(ruleSource.description())\n .source(ruleSource.source())\n .createdAt(now)\n .modifiedAt(now)\n .build();\n }\n\n @Operation(summary = \"Simulate a single processing rule\")\n @POST\n @Consumes(MediaType.APPLICATION_JSON)\n @Path(\"/simulate\")\n @NoAuditEvent(\"only used to test a rule, no changes made in the system\")\n @RequiresPermissions(PipelineRestPermissions.PIPELINE_RULE_CREATE)\n public Message simulate(\n @Parameter(name = \"request\", required = true) @NotNull SimulateRuleRequest request\n ) {\n final Rule rule = pipelineRuleService.parseRuleOrThrow(request.ruleSource().id(), request.ruleSource().source(), true);\n Message message = ruleSimulator.createMessage(request.message());\n return ruleSimulator.simulate(rule, message);\n }\n\n @Operation(summary = \"Get all processing rules\")\n @GET\n @RequiresPermissions(PipelineRestPermissions.PIPELINE_RULE_READ)\n public Collection getAll() {\n final Collection ruleDaos = ruleService.loadAll();\n return ruleDaos.stream()\n .map(pipelineRuleService::createRuleSourceFromRuleDao)\n .toList();\n }\n\n @GET\n @Path(\"/paginated\")\n @Operation(summary = \"Get a paginated list of pipeline rules\")\n @Produces(MediaType.APPLICATION_JSON)\n @RequiresPermissions(PipelineRestPermissions.PIPELINE_RULE_READ)\n public PaginatedResponse getPage(@Parameter(name = \"page\") @QueryParam(\"page\") @DefaultValue(\"1\") int page,\n @Parameter(name = \"per_page\") @QueryParam(\"per_page\") @DefaultValue(\"50\") int perPage,\n @Parameter(name = \"query\") @QueryParam(\"query\") @DefaultValue(\"\") String query,\n @Parameter(name = \"sort\",\n description = \"The field to sort the result on\",\n required = true,\n schema = @Schema(allowableValues = {\"title\", \"description\", \"id\"}))\n @DefaultValue(RuleDao.FIELD_TITLE) @QueryParam(\"sort\") String sort,\n @Parameter(name = \"order\", description = \"The sort direction\", schema = @Schema(allowableValues = {\"asc\", \"desc\"}))\n @DefaultValue(\"asc\") @QueryParam(\"order\") String order) {\n SearchQuery searchQuery;\n try {\n searchQuery = searchQueryParser.parse(query);\n } catch (IllegalArgumentException e) {\n throw new BadRequestException(\"Invalid argument in search query: \" + e.getMessage());\n }\n\n final PaginatedList result = paginatedRuleService\n .findPaginated(searchQuery, page, perPage, sort, order);\n final List ruleSourceList = result.stream()\n .map(pipelineRuleService::createRuleSourceFromRuleDao)\n .toList();\n final PaginatedList rules = new PaginatedList<>(ruleSourceList,\n result.pagination().total(), result.pagination().page(), result.pagination().perPage());\n return PaginatedResponse.create(\"rules\", rules,\n prepareContextForPaginatedResponse(result.delegate()));\n }\n\n @VisibleForTesting\n @Nonnull\n Map prepareContextForPaginatedResponse(@Nonnull List rules) {\n final Map ruleTitleMap = rules\n .stream()\n .collect(Collectors.toMap(RuleDao::title, dao -> dao));\n\n final Map> result = new HashMap<>();\n rules.forEach(r -> result.put(r.id(), new ArrayList<>()));\n\n pipelineServiceHelper.groupByRuleName(\n pipelineService::loadAll, ruleTitleMap.keySet())\n .forEach((ruleTitle, pipelineDaos) -> {\n result.put(\n ruleTitleMap.get(ruleTitle).id(),\n pipelineDaos.stream()\n .map(dao -> PipelineCompactSource.builder()\n .id(dao.id())\n .title(dao.title())\n .build())\n .toList()\n );\n });\n\n return Map.of(\"used_in_pipelines\", result);\n }\n\n @Operation(summary = \"Get a processing rule\", description = \"It can take up to a second until the change is applied\")\n @Path(\"/{id}\")\n @GET\n public RuleSource get(@Parameter(name = \"id\") @PathParam(\"id\") String id) throws NotFoundException {\n checkPermission(PipelineRestPermissions.PIPELINE_RULE_READ, id);\n return pipelineRuleService.createRuleSourceFromRuleDao(ruleService.load(id));\n }\n\n @Operation(summary = \"Retrieve the named processing rules in bulk\")\n @Path(\"/multiple\")\n @POST\n @NoAuditEvent(\"only used to get multiple pipeline rules\")\n public Collection getBulk(@Parameter(name = \"rules\") BulkRuleRequest rules) {\n Collection ruleDaos = ruleService.loadNamed(rules.rules());\n\n return ruleDaos.stream()\n .map(pipelineRuleService::createRuleSourceFromRuleDao)\n .filter(rule -> isPermitted(PipelineRestPermissions.PIPELINE_RULE_READ, rule.id()))\n .toList();\n }\n\n @Operation(summary = \"Modify a processing rule\", description = \"It can take up to a second until the change is applied\")\n @Path(\"/{id}\")\n @PUT\n @AuditEvent(type = PipelineProcessorAuditEventTypes.RULE_UPDATE)\n public RuleSource update(@Parameter(name = \"id\") @PathParam(\"id\") String id,\n @Parameter(name = \"rule\", required = true) @NotNull RuleSource update) throws NotFoundException {\n checkPermission(PipelineRestPermissions.PIPELINE_RULE_EDIT, id);\n\n final RuleDao ruleDao = ruleService.load(id);\n final Rule rule = pipelineRuleService.parseRuleOrThrow(id, update.source(), false);\n final RuleDao toSave = ruleDao.toBuilder()\n .title(rule.name())\n .description(update.description())\n .source(update.source())\n .modifiedAt(DateTime.now(DateTimeZone.UTC))\n .ruleBuilder(update.ruleBuilder())\n .simulatorMessage(update.simulatorMessage())\n .build();\n\n final RuleDao savedRule;\n try {\n savedRule = ruleService.save(toSave);\n } catch (IllegalArgumentException e) {\n log.error(e.getMessage(), e);\n throw new BadRequestException(e.getMessage());\n }\n\n return pipelineRuleService.createRuleSourceFromRuleDao(savedRule);\n }\n\n @Operation(summary = \"Delete a processing rule\", description = \"It can take up to a second until the change is applied\")\n @Path(\"/{id}\")\n @DELETE\n @AuditEvent(type = PipelineProcessorAuditEventTypes.RULE_DELETE)\n public void delete(@Parameter(name = \"id\") @PathParam(\"id\") String id) throws NotFoundException {\n checkPermission(PipelineRestPermissions.PIPELINE_RULE_DELETE, id);\n ruleService.load(id);\n ruleService.delete(id);\n }\n\n @Operation(summary = \"Get function descriptors\")\n @Path(\"/functions\")\n @GET\n public Collection functionDescriptors() {\n return functionRegistry.all().stream()\n .map(Function::descriptor)\n .collect(Collectors.toList());\n }\n\n @Operation(summary = \"Get function descriptors for rule builder\")\n @Path(\"/rulebuilder/functions\")\n @GET\n public Collection rulebuilderFunctions() {\n return functionRegistry.all().stream()\n .filter(f -> f.descriptor().ruleBuilderEnabled())\n .map(Function::descriptor)\n .collect(Collectors.toList());\n }\n\n @Operation(summary = \"Get condition descriptors for ruleBuilder\")\n @Path(\"/rulebuilder/conditions\")\n @GET\n public Collection rulebuilderConditions() {\n return functionRegistry.all().stream()\n .filter(f -> f.descriptor().ruleBuilderEnabled() && f.descriptor().returnType().equals(Boolean.class))\n .map(Function::descriptor)\n .collect(Collectors.toList());\n }\n\n @Operation(summary = \"Get rule metrics configuration\")\n @Path(\"/config/metrics\")\n @GET\n public RuleMetricsConfigDto metricsConfig() {\n return ruleMetricsConfigService.get();\n }\n\n @Operation(summary = \"Update rule metrics configuration\")\n @Path(\"/config/metrics\")\n @PUT\n @AuditEvent(type = PipelineProcessorAuditEventTypes.RULE_METRICS_UPDATE)\n public RuleMetricsConfigDto updateMetricsConfig(RuleMetricsConfigDto config) {\n return ruleMetricsConfigService.save(config);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/845c376699a2424a7719f6498de12290bc4204a9.json b/web/public/bundles/graylog/code/845c376699a2424a7719f6498de12290bc4204a9.json new file mode 100644 index 00000000..2b339324 --- /dev/null +++ b/web/public/bundles/graylog/code/845c376699a2424a7719f6498de12290bc4204a9.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "845c376699a2424a7719f6498de12290bc4204a9", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/pipelines/PipelineActivityService.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.telemetry.pipelines;\n\nimport com.mongodb.client.MongoCollection;\nimport com.mongodb.client.model.BulkWriteOptions;\nimport com.mongodb.client.model.IndexOptions;\nimport com.mongodb.client.model.Indexes;\nimport com.mongodb.client.model.Projections;\nimport com.mongodb.client.model.UpdateOneModel;\nimport com.mongodb.client.model.UpdateOptions;\nimport com.mongodb.client.model.Updates;\nimport jakarta.inject.Inject;\nimport jakarta.inject.Singleton;\nimport org.bson.Document;\nimport org.graylog2.database.MongoCollections;\n\nimport java.time.Duration;\nimport java.time.Instant;\nimport java.util.Collection;\nimport java.util.Date;\nimport java.util.HashSet;\nimport java.util.List;\nimport java.util.Set;\n\nimport static com.mongodb.client.model.Filters.eq;\nimport static com.mongodb.client.model.Filters.gte;\nimport static org.graylog2.database.indices.MongoDbIndexTools.ensureTTLIndex;\n\n/**\n * Records when each pipeline last processed a message on any node.\n */\n@Singleton\npublic class PipelineActivityService {\n static final String COLLECTION_NAME = \"telemetry_pipeline_activity\";\n static final String FIELD_PIPELINE_ID = \"pipeline_id\";\n static final String FIELD_LAST_ACTIVE_AT = \"last_active_at\";\n\n // Rows older than this can't affect the 24h metric.\n private static final Duration RETENTION = Duration.ofDays(2);\n\n private final MongoCollection collection;\n\n @Inject\n public PipelineActivityService(MongoCollections mongoCollections) {\n this.collection = mongoCollections.nonEntityCollection(COLLECTION_NAME, Document.class);\n collection.createIndex(Indexes.ascending(FIELD_PIPELINE_ID), new IndexOptions().unique(true));\n ensureTTLIndex(collection, RETENTION, FIELD_LAST_ACTIVE_AT);\n }\n\n public void markActive(Collection pipelineIds, Instant activeAt) {\n if (pipelineIds.isEmpty()) {\n return;\n }\n final Date activeAtDate = Date.from(activeAt);\n // $max keeps the latest timestamp when several nodes report the same pipeline.\n final List> writes = pipelineIds.stream()\n .map(pipelineId -> new UpdateOneModel(\n eq(FIELD_PIPELINE_ID, pipelineId),\n Updates.max(FIELD_LAST_ACTIVE_AT, activeAtDate),\n new UpdateOptions().upsert(true)))\n .toList();\n collection.bulkWrite(writes, new BulkWriteOptions().ordered(false));\n }\n\n public Set findActiveSince(Instant since) {\n return collection.find(gte(FIELD_LAST_ACTIVE_AT, Date.from(since)))\n .projection(Projections.include(FIELD_PIPELINE_ID))\n .map(doc -> doc.getString(FIELD_PIPELINE_ID))\n .into(new HashSet<>());\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/84b35dceb404064f7428f4d71c562d9bc9bcbfcc.json b/web/public/bundles/graylog/code/84b35dceb404064f7428f4d71c562d9bc9bcbfcc.json new file mode 100644 index 00000000..e41aab11 --- /dev/null +++ b/web/public/bundles/graylog/code/84b35dceb404064f7428f4d71c562d9bc9bcbfcc.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "84b35dceb404064f7428f4d71c562d9bc9bcbfcc", + "language": "typescript", + "path": "graylog2-web-interface/src/preflight/theme/ThemeWrapper.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React, { useMemo } from 'react';\nimport { createGlobalStyle, useTheme } from 'styled-components';\nimport { MantineProvider } from '@mantine/core';\n\nimport SawmillMantine from 'theme/sawmill/mantine/Sawmill';\n\ntype Props = {\n children: React.ReactElement;\n env?: 'default' | 'test';\n};\n\nconst GlobalStyles = createGlobalStyle`\n body {\n background-color: ${(props) => props.theme.colors.global.background};\n color: ${(props) => props.theme.colors.text.primary};\n },\n`;\n\nconst ThemeWrapper = ({ children, env = undefined }: Props) => {\n const theme = useTheme();\n const mantineTheme = useMemo(() => SawmillMantine({ colorScheme: theme.mode }), [theme.mode]);\n\n return (\n \n \n {children}\n \n );\n};\n\nexport default ThemeWrapper;\n" +} diff --git a/web/public/bundles/graylog/code/84d7bb93c6e0223c02234e482cad74363763a7be.json b/web/public/bundles/graylog/code/84d7bb93c6e0223c02234e482cad74363763a7be.json new file mode 100644 index 00000000..8ec4db43 --- /dev/null +++ b/web/public/bundles/graylog/code/84d7bb93c6e0223c02234e482cad74363763a7be.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "84d7bb93c6e0223c02234e482cad74363763a7be", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/PipelineStreamConnectionsService.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.pipelineprocessor.db;\n\nimport org.graylog.plugins.pipelineprocessor.rest.PipelineConnections;\nimport org.graylog2.database.NotFoundException;\n\nimport java.util.Collection;\nimport java.util.Map;\nimport java.util.Set;\n\npublic interface PipelineStreamConnectionsService {\n PipelineConnections save(PipelineConnections connections);\n\n PipelineConnections load(String streamId) throws NotFoundException;\n\n Set loadAll();\n\n Set loadByPipelineId(String pipelineId);\n\n void delete(String streamId);\n\n Map loadByStreamIds(Collection streamIds);\n}\n" +} diff --git a/web/public/bundles/graylog/code/853a5c6d9cdb6569f81b301d9d14e4f516b8e6c8.json b/web/public/bundles/graylog/code/853a5c6d9cdb6569f81b301d9d14e4f516b8e6c8.json new file mode 100644 index 00000000..ac367917 --- /dev/null +++ b/web/public/bundles/graylog/code/853a5c6d9cdb6569f81b301d9d14e4f516b8e6c8.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "853a5c6d9cdb6569f81b301d9d14e4f516b8e6c8", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorOSType.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.collectors;\n\nimport java.util.Arrays;\n\nimport static org.graylog2.shared.utilities.StringUtils.requireNonBlank;\n\n/**\n * An enum for Collector operating systems.\n */\npublic enum CollectorOSType {\n LINUX(\"linux\"),\n MACOS(\"darwin\"),\n UNKNOWN(\"unknown\"),\n WINDOWS(\"windows\");\n\n private final String osName;\n\n CollectorOSType(String osName) {\n this.osName = osName;\n }\n\n /**\n * Returns the operating system type for the given name. Returns UNKNOWN when the given name doesn't match any type.\n *\n * @param osName the operating system name\n * @return the operating system type for the given string or UNKNOWN\n */\n public static CollectorOSType of(String osName) {\n requireNonBlank(osName, \"osName can't be blank\");\n\n return Arrays.stream(CollectorOSType.values())\n .filter(type -> type.osName.equals(osName))\n .findFirst()\n .orElse(UNKNOWN);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/8560a4868c3e2abc07a6d484b6730dfafc5efed1.json b/web/public/bundles/graylog/code/8560a4868c3e2abc07a6d484b6730dfafc5efed1.json new file mode 100644 index 00000000..d5757a95 --- /dev/null +++ b/web/public/bundles/graylog/code/8560a4868c3e2abc07a6d484b6730dfafc5efed1.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "8560a4868c3e2abc07a6d484b6730dfafc5efed1", + "language": "typescript", + "path": "graylog2-web-interface/src/integrations/aws/cloudtrail/FormAdvancedOptions.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React, { useContext } from 'react';\n\nimport ThrottlingCheckbox from 'integrations/components/ThrottlingCheckbox';\nimport { Input } from 'components/bootstrap';\nimport FormDataContext from 'integrations/contexts/FormDataContext';\nimport { AdvancedOptionsContext } from 'integrations/aws/context/AdvancedOptions';\nimport AdditionalFields from 'integrations/aws/common/AdditionalFields';\n\nimport type { HandleSqsBatchSizeType } from './types';\n\ntype FormAdvancedOptionsProps = {\n onChange: (...args: any[]) => void;\n handleSqsMessageBatchSizeChange: HandleSqsBatchSizeType;\n};\n\nconst FormAdvancedOptions = ({ onChange, handleSqsMessageBatchSizeChange }: FormAdvancedOptionsProps) => {\n const { formData } = useContext(FormDataContext);\n const { isAdvancedOptionsVisible, setAdvancedOptionsVisibility } = useContext(AdvancedOptionsContext);\n\n const { overrideSource, awsCloudTrailThrottleEnabled, sqsMessageBatchSize, includeFullMessageJson } = formData;\n\n const handleToggle = (visible) => {\n setAdvancedOptionsVisibility(visible);\n };\n\n const internalHandleSqsBatchSizeChange = (e) => {\n const { value } = e.target;\n onChange(e, formData);\n\n if (value >= 1 && value <= 10) {\n handleSqsMessageBatchSizeChange('');\n } else {\n handleSqsMessageBatchSizeChange('Please select SQS Message Batch Size between 1 - 10.');\n }\n };\n\n return (\n \n \n\n \n\n \n\n \n \n );\n};\n\nexport default FormAdvancedOptions;\n" +} diff --git a/web/public/bundles/graylog/code/85e2415f58fda7613ad779eeb4e3bd4f3eb80ee2.json b/web/public/bundles/graylog/code/85e2415f58fda7613ad779eeb4e3bd4f3eb80ee2.json new file mode 100644 index 00000000..f3dc5da7 --- /dev/null +++ b/web/public/bundles/graylog/code/85e2415f58fda7613ad779eeb4e3bd4f3eb80ee2.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "85e2415f58fda7613ad779eeb4e3bd4f3eb80ee2", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/failure/IndexingFailure.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.failure;\n\nimport com.codahale.metrics.Meter;\nimport com.fasterxml.jackson.databind.ObjectMapper;\nimport com.google.common.base.Objects;\nimport jakarta.annotation.Nonnull;\nimport jakarta.annotation.Nullable;\nimport org.apache.commons.lang3.StringUtils;\nimport org.graylog2.indexer.messages.Indexable;\nimport org.graylog2.plugin.Message;\nimport org.graylog2.shared.messageq.Acknowledgeable;\nimport org.joda.time.DateTime;\n\nimport java.util.Map;\n\nimport static org.graylog2.plugin.Message.FIELD_GL2_SOURCE_INPUT;\nimport static org.graylog2.plugin.Message.FIELD_GL2_SOURCE_NODE;\nimport static org.graylog2.plugin.Message.FIELD_SOURCE;\nimport static org.graylog2.plugin.Message.FIELD_STREAMS;\n\npublic class IndexingFailure implements Failure {\n\n private final FailureCause failureCause;\n private final String message;\n private final String failureDetails;\n private final DateTime failureTimestamp;\n private final Indexable failedMessage;\n private final String targetIndex;\n\n public IndexingFailure(\n FailureCause failureCause,\n String message,\n String failureDetails,\n DateTime failureTimestamp,\n Indexable failedMessage,\n String targetIndex) {\n this.failureCause = failureCause;\n this.message = message;\n this.failureDetails = failureDetails;\n this.failureTimestamp = failureTimestamp;\n this.failedMessage = failedMessage;\n this.targetIndex = targetIndex;\n }\n\n @Override\n public FailureType failureType() {\n return FailureType.INDEXING;\n }\n\n @Override\n public FailureCause failureCause() {\n return failureCause;\n }\n\n @Override\n public String message() {\n return message;\n }\n\n @Override\n public String failureDetails() {\n return failureDetails;\n }\n\n @Override\n public DateTime failureTimestamp() {\n return failureTimestamp;\n }\n\n @Nullable\n @Override\n public String targetIndex() {\n return targetIndex;\n }\n\n @Override\n public boolean requiresAcknowledgement() {\n return false;\n }\n\n @Nonnull\n @Override\n public String messageId() {\n return StringUtils.isBlank(failedMessage.getMessageId()) ? failedMessage.getId() : failedMessage.getMessageId();\n }\n\n @Nonnull\n @Override\n public DateTime messageTimestamp() {\n return failedMessage.getTimestamp();\n }\n\n @Nonnull\n @Override\n public FailureObjectBuilder failureObjectBuilder(ObjectMapper objectMapper,\n @Nonnull Meter invalidTimestampMeter,\n boolean includeFailedMessage) {\n Map fields = failedMessage.toElasticSearchObject(objectMapper, invalidTimestampMeter);\n fields.put(Message.FIELD_ID, failedMessage.getId());\n fields.remove(Message.FIELD_GL2_PROCESSING_ERROR);\n FailureObjectBuilder failureObjectBuilder = new FailureObjectBuilder(this)\n .put(FIELD_FAILED_MESSAGE_STREAMS, fields.get(FIELD_STREAMS))\n .put(FIELD_SOURCE, fields.get(FIELD_SOURCE))\n .put(FIELD_GL2_SOURCE_INPUT, fields.get(FIELD_GL2_SOURCE_INPUT))\n .put(FIELD_GL2_SOURCE_NODE, fields.get(FIELD_GL2_SOURCE_NODE));\n\n if (includeFailedMessage) {\n failureObjectBuilder.put(FIELD_FAILED_MESSAGE, fields);\n }\n\n final String index = targetIndex();\n failureObjectBuilder.put(FIELD_FAILED_MESSAGE_TARGET_INDEX, index != null ? index : \"UNKNOWN\");\n\n return failureObjectBuilder;\n }\n\n @Nullable\n @Override\n public Object getMessageQueueId() {\n if (failedMessage instanceof Acknowledgeable a) {\n return a.getMessageQueueId();\n }\n return null;\n }\n\n @Override\n public boolean equals(Object o) {\n if (this == o) return true;\n if (o == null || getClass() != o.getClass()) return false;\n final IndexingFailure that = (IndexingFailure) o;\n return Objects.equal(failureCause, that.failureCause)\n && Objects.equal(message, that.message)\n && Objects.equal(failureDetails, that.failureDetails)\n && Objects.equal(failureTimestamp, that.failureTimestamp)\n && Objects.equal(failedMessage, that.failedMessage)\n && Objects.equal(targetIndex, that.targetIndex);\n }\n\n @Override\n public int hashCode() {\n return Objects.hashCode(failureCause, message, failureDetails, failureTimestamp, failedMessage, targetIndex);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/8727327e124e7d3a8e8fbcd241c203e36a64157f.json b/web/public/bundles/graylog/code/8727327e124e7d3a8e8fbcd241c203e36a64157f.json new file mode 100644 index 00000000..fad07e1c --- /dev/null +++ b/web/public/bundles/graylog/code/8727327e124e7d3a8e8fbcd241c203e36a64157f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "8727327e124e7d3a8e8fbcd241c203e36a64157f", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/utilities/lucene/LuceneQueryBuilder.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.utilities.lucene;\n\nimport com.google.common.collect.Multimap;\nimport org.apache.lucene.document.DoublePoint;\nimport org.apache.lucene.document.IntPoint;\nimport org.apache.lucene.document.LongPoint;\nimport org.apache.lucene.index.Term;\nimport org.apache.lucene.search.BooleanClause;\nimport org.apache.lucene.search.BooleanQuery;\nimport org.apache.lucene.search.MatchAllDocsQuery;\nimport org.apache.lucene.search.Query;\nimport org.apache.lucene.search.RegexpQuery;\nimport org.apache.lucene.search.TermQuery;\nimport org.apache.lucene.search.TermRangeQuery;\nimport org.graylog2.search.SearchQuery;\nimport org.graylog2.search.SearchQueryField;\nimport org.graylog2.search.SearchQueryOperator;\nimport org.graylog2.search.SearchQueryOperators;\nimport org.graylog2.search.SearchQueryParser;\n\nimport java.util.Locale;\nimport java.util.Map;\n\n/**\n * Builder for converting parsed search queries into Lucene Query objects.\n */\npublic class LuceneQueryBuilder {\n\n private final Map fieldTypes;\n\n public LuceneQueryBuilder(Map fieldTypes) {\n this.fieldTypes = fieldTypes;\n }\n\n /**\n * Converts a multimap of field values into a Lucene Query.\n *\n * @param query the parsed query from SearchQueryParser\n * @return a Lucene Query representing the search conditions\n */\n public Query toLuceneQuery(SearchQuery query) {\n\n if (query == null || query.getQueryMap() == null || query.getQueryMap().isEmpty()) {\n return new MatchAllDocsQuery();\n }\n final Multimap queryMap = query.getQueryMap();\n\n BooleanQuery.Builder builder = new BooleanQuery.Builder();\n boolean hasAnyClause = false;\n\n for (Map.Entry entry : queryMap.entries()) {\n String fieldName = entry.getKey();\n SearchQueryParser.FieldValue fieldValue = entry.getValue();\n Object value = fieldValue.getValue();\n SearchQueryOperator operator = fieldValue.getOperator();\n boolean negate = fieldValue.isNegate();\n\n Query fieldQuery = buildFieldQuery(fieldName, value, operator);\n if (fieldQuery != null) {\n BooleanClause.Occur occur = negate ? BooleanClause.Occur.MUST_NOT : BooleanClause.Occur.SHOULD;\n builder.add(fieldQuery, occur);\n hasAnyClause = true;\n }\n }\n\n return hasAnyClause ? builder.build() : new MatchAllDocsQuery();\n }\n\n /**\n * Builds a Lucene Query for a specific field and value with the given operator.\n *

\n * String values are lowercased to provide case-insensitive matching, consistent with\n * StandardAnalyzer's behavior during indexing and MongoDB's REGEXP operator behavior.\n *\n * @param fieldName the field name to query\n * @param value the value to search for\n * @param operator the search operator (REGEXP, EQUALS, GREATER, etc.)\n * @return a Lucene Query for the field condition, or null if value is null\n */\n private Query buildFieldQuery(String fieldName, Object value, SearchQueryOperator operator) {\n if (value == null) {\n return null;\n }\n\n // Get field type, default to STRING if not found\n SearchQueryField.Type fieldType = fieldTypes.getOrDefault(fieldName, SearchQueryField.Type.STRING);\n\n // Lowercase string values to match StandardAnalyzer's behavior (case-insensitive search)\n // This matches MongoDB's REGEXP operator which uses Pattern.CASE_INSENSITIVE\n String stringValue = value.toString().toLowerCase(Locale.ROOT);\n\n if (operator == SearchQueryOperators.REGEXP) {\n // REGEXP only works on string fields\n // Check if user provided any explicit wildcards\n boolean hasWildcards = stringValue.contains(\"*\") || stringValue.contains(\"?\");\n\n // Convert wildcards to regex pattern\n String pattern = stringValue.replace(\"*\", \".*\").replace(\"?\", \".\");\n\n // Add .* for substring matching only if user didn't provide any wildcards\n // If they use wildcards, assume they know what pattern they want\n if (!hasWildcards) {\n pattern = \".*\" + pattern + \".*\";\n }\n\n return new RegexpQuery(new Term(fieldName, pattern));\n } else if (operator == SearchQueryOperators.EQUALS) {\n // For numeric types, use point queries for exact match\n return buildNumericOrTermQuery(fieldName, stringValue, fieldType);\n } else if (operator == SearchQueryOperators.GREATER) {\n return buildRangeQuery(fieldName, stringValue, null, false, false, fieldType);\n } else if (operator == SearchQueryOperators.GREATER_EQUALS) {\n return buildRangeQuery(fieldName, stringValue, null, true, false, fieldType);\n } else if (operator == SearchQueryOperators.LESS) {\n return buildRangeQuery(fieldName, null, stringValue, false, false, fieldType);\n } else if (operator == SearchQueryOperators.LESS_EQUALS) {\n return buildRangeQuery(fieldName, null, stringValue, false, true, fieldType);\n }\n\n // Default to term query for unknown operators\n return new TermQuery(new Term(fieldName, stringValue));\n }\n\n private Query buildNumericOrTermQuery(String fieldName, String stringValue, SearchQueryField.Type fieldType) {\n return switch (fieldType) {\n case INT, BOOLEAN -> IntPoint.newExactQuery(fieldName, Integer.parseInt(stringValue));\n case LONG, DATE -> LongPoint.newExactQuery(fieldName, Long.parseLong(stringValue));\n case DOUBLE -> DoublePoint.newExactQuery(fieldName, Double.parseDouble(stringValue));\n default -> new TermQuery(new Term(fieldName, stringValue));\n };\n }\n\n private Query buildRangeQuery(String fieldName, String lowerValue, String upperValue,\n boolean lowerInclusive, boolean upperInclusive,\n SearchQueryField.Type fieldType) {\n return switch (fieldType) {\n case INT, BOOLEAN -> {\n int lower = lowerValue != null ? Integer.parseInt(lowerValue) : Integer.MIN_VALUE;\n int upper = upperValue != null ? Integer.parseInt(upperValue) : Integer.MAX_VALUE;\n // Adjust bounds for exclusive ranges\n if (lowerValue != null && !lowerInclusive) {\n lower = Math.addExact(lower, 1);\n }\n if (upperValue != null && !upperInclusive) {\n upper = Math.addExact(upper, -1);\n }\n yield IntPoint.newRangeQuery(fieldName, lower, upper);\n }\n case LONG, DATE -> {\n long lower = lowerValue != null ? Long.parseLong(lowerValue) : Long.MIN_VALUE;\n long upper = upperValue != null ? Long.parseLong(upperValue) : Long.MAX_VALUE;\n // Adjust bounds for exclusive ranges\n if (lowerValue != null && !lowerInclusive) {\n lower = Math.addExact(lower, 1);\n }\n if (upperValue != null && !upperInclusive) {\n upper = Math.addExact(upper, -1);\n }\n yield LongPoint.newRangeQuery(fieldName, lower, upper);\n }\n case DOUBLE -> {\n double lower = lowerValue != null ? Double.parseDouble(lowerValue) : Double.NEGATIVE_INFINITY;\n double upper = upperValue != null ? Double.parseDouble(upperValue) : Double.POSITIVE_INFINITY;\n // For doubles, use nextUp/nextDown for exclusive ranges\n if (lowerValue != null && !lowerInclusive) {\n lower = Math.nextUp(lower);\n }\n if (upperValue != null && !upperInclusive) {\n upper = Math.nextDown(upper);\n }\n yield DoublePoint.newRangeQuery(fieldName, lower, upper);\n }\n default -> TermRangeQuery.newStringRange(fieldName, lowerValue, upperValue, lowerInclusive, upperInclusive);\n };\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/8845605401966fdf0fe6f22ffd769c0c950175f7.json b/web/public/bundles/graylog/code/8845605401966fdf0fe6f22ffd769c0c950175f7.json new file mode 100644 index 00000000..52920342 --- /dev/null +++ b/web/public/bundles/graylog/code/8845605401966fdf0fe6f22ffd769c0c950175f7.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "8845605401966fdf0fe6f22ffd769c0c950175f7", + "language": "typescript", + "path": "graylog2-web-interface/src/hooks/useLogout.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport { useCallback, useMemo } from 'react';\nimport { useQueryClient } from '@tanstack/react-query';\n\nimport { logout } from 'logic/session/SessionApi';\nimport Routes from 'routing/Routes';\nimport useHistory from 'routing/useHistory';\nimport usePluginEntities from 'hooks/usePluginEntities';\n\nconst wrapHooks = (hooks: Array<() => void | Promise>) => () =>\n Promise.allSettled(\n hooks.map(async (hook) => {\n try {\n await hook();\n } catch (e) {\n // eslint-disable-next-line no-console\n console.error('Error in logout hook: ', e);\n }\n }),\n );\n\nconst useLogout = () => {\n const history = useHistory();\n const queryClient = useQueryClient();\n const logoutHooks = usePluginEntities('hooks.logout');\n const logoutHook = useMemo(() => wrapHooks(logoutHooks), [logoutHooks]);\n\n return useCallback(\n () =>\n logoutHook()\n .then(logout)\n .then(() => {\n queryClient.removeQueries({ queryKey: ['streams'] });\n })\n .then(() => history.push(Routes.STARTPAGE)),\n [history, logoutHook, queryClient],\n );\n};\n\nexport default useLogout;\n" +} diff --git a/web/public/bundles/graylog/code/8a17733ab3cd82f965cd1e043c5368ca3ca3e1d4.json b/web/public/bundles/graylog/code/8a17733ab3cd82f965cd1e043c5368ca3ca3e1d4.json new file mode 100644 index 00000000..2a00468e --- /dev/null +++ b/web/public/bundles/graylog/code/8a17733ab3cd82f965cd1e043c5368ca3ca3e1d4.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "8a17733ab3cd82f965cd1e043c5368ca3ca3e1d4", + "language": "typescript", + "path": "graylog2-web-interface/src/components/metrics/HistogramDetails.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\nimport numeral from 'numeral';\n\nimport type { HistogramMetric } from 'types/metrics';\n\ntype Props = {\n metric: HistogramMetric;\n};\nconst HistogramDetails = ({ metric: { metric: histogram } }: Props) => (\n

\n
95th percentile:
\n
\n {numeral(histogram.time['95th_percentile']).format('0,0.[00]')}\n
\n
98th percentile:
\n
\n {numeral(histogram.time['98th_percentile']).format('0,0.[00]')}\n
\n
99th percentile:
\n
\n {numeral(histogram.time['99th_percentile']).format('0,0.[00]')}\n
\n
Standard deviation:
\n
\n {numeral(histogram.time.std_dev).format('0,0.[00]')}\n
\n
Mean:
\n
\n {numeral(histogram.time.mean).format('0,0.[00]')}\n
\n
Minimum:
\n
\n {numeral(histogram.time.min).format('0,0.[00]')}\n
\n
Maximum:
\n
\n {numeral(histogram.time.max).format('0,0.[00]')}\n
\n
Count:
\n
\n {numeral(histogram.count).format('0,0')}\n
\n
\n);\n\nexport default HistogramDetails;\n" +} diff --git a/web/public/bundles/graylog/code/8adff0b26149e70e8239938f17fcf314de5febd0.json b/web/public/bundles/graylog/code/8adff0b26149e70e8239938f17fcf314de5febd0.json new file mode 100644 index 00000000..e1f6db6e --- /dev/null +++ b/web/public/bundles/graylog/code/8adff0b26149e70e8239938f17fcf314de5febd0.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "8adff0b26149e70e8239938f17fcf314de5febd0", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/collectors/db/CollectorInstanceDTO.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.collectors.db;\n\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonInclude;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.jackson.databind.annotation.JsonDeserialize;\nimport com.fasterxml.jackson.databind.annotation.JsonSerialize;\nimport com.google.auto.value.AutoValue;\nimport jakarta.annotation.Nullable;\nimport org.graylog2.database.BuildableMongoEntity;\nimport org.graylog2.jackson.MongoInstantDeserializer;\nimport org.graylog2.jackson.MongoInstantSerializer;\n\nimport java.time.Instant;\nimport java.util.List;\nimport java.util.Optional;\nimport java.util.Set;\nimport java.util.stream.Collectors;\nimport java.util.stream.Stream;\n\n@AutoValue\n@JsonDeserialize(builder = CollectorInstanceDTO.Builder.class)\n@JsonInclude(JsonInclude.Include.NON_ABSENT)\npublic abstract class CollectorInstanceDTO implements BuildableMongoEntity {\n public static final String FIELD_INSTANCE_UID = \"instance_uid\";\n public static final String FIELD_MESSAGE_SEQ_NUM = \"message_seq_num\";\n public static final String FIELD_CAPABILITIES = \"capabilities\";\n public static final String FIELD_LAST_SEEN = \"last_seen\";\n public static final String FIELD_FLEET_ID = \"fleet_id\";\n public static final String FIELD_ACTIVE_CERTIFICATE_FINGERPRINT = \"active_certificate_fingerprint\";\n public static final String FIELD_ACTIVE_CERTIFICATE_PEM = \"active_certificate_pem\";\n public static final String FIELD_ACTIVE_CERTIFICATE_EXPIRES_AT = \"active_certificate_expires_at\";\n public static final String FIELD_NEXT_CERTIFICATE_FINGERPRINT = \"next_certificate_fingerprint\";\n public static final String FIELD_NEXT_CERTIFICATE_PEM = \"next_certificate_pem\";\n public static final String FIELD_NEXT_CERTIFICATE_EXPIRES_AT = \"next_certificate_expires_at\";\n public static final String FIELD_PREVIOUS_CERTIFICATE_FINGERPRINT = \"previous_certificate_fingerprint\";\n public static final String FIELD_PREVIOUS_CERTIFICATE_PEM = \"previous_certificate_pem\";\n public static final String FIELD_PREVIOUS_CERTIFICATE_EXPIRES_AT = \"previous_certificate_expires_at\";\n public static final String FIELD_CERTIFICATES_ROTATED_AT = \"certificates_rotated_at\";\n public static final String FIELD_ISSUING_CA_ID = \"issuing_ca_id\";\n public static final String FIELD_ENROLLED_AT = \"enrolled_at\";\n public static final String FIELD_IDENTIFYING_ATTRIBUTES = \"identifying_attributes\";\n public static final String FIELD_NON_IDENTIFYING_ATTRIBUTES = \"non_identifying_attributes\";\n public static final String FIELD_LAST_PROCESSED_TXN_SEQ = \"last_processed_txn_seq\";\n public static final String FIELD_ENROLLMENT_TOKEN_ID = \"enrollment_token_id\";\n public static final String FIELD_HEALTH = \"health\";\n\n\n @JsonProperty(FIELD_INSTANCE_UID)\n public abstract String instanceUid();\n\n @JsonProperty(FIELD_MESSAGE_SEQ_NUM)\n public abstract long messageSeqNum();\n\n @JsonProperty(FIELD_CAPABILITIES)\n public abstract long capabilities();\n\n @JsonProperty(FIELD_LAST_SEEN)\n @JsonSerialize(using = MongoInstantSerializer.class)\n @JsonDeserialize(using = MongoInstantDeserializer.class)\n public abstract Instant lastSeen();\n\n @JsonProperty(FIELD_FLEET_ID)\n public abstract String fleetId();\n\n @JsonProperty(FIELD_ACTIVE_CERTIFICATE_FINGERPRINT)\n public abstract String activeCertificateFingerprint();\n\n @JsonProperty(FIELD_ACTIVE_CERTIFICATE_PEM)\n public abstract String activeCertificatePem();\n\n @JsonProperty(FIELD_ACTIVE_CERTIFICATE_EXPIRES_AT)\n @JsonSerialize(using = MongoInstantSerializer.class)\n @JsonDeserialize(using = MongoInstantDeserializer.class)\n public abstract Instant activeCertificateExpiresAt();\n\n @JsonProperty(FIELD_NEXT_CERTIFICATE_FINGERPRINT)\n public abstract Optional nextCertificateFingerprint();\n\n @JsonProperty(FIELD_NEXT_CERTIFICATE_PEM)\n public abstract Optional nextCertificatePem();\n\n @JsonProperty(FIELD_NEXT_CERTIFICATE_EXPIRES_AT)\n @JsonSerialize(contentUsing = MongoInstantSerializer.class)\n @JsonDeserialize(contentUsing = MongoInstantDeserializer.class)\n public abstract Optional nextCertificateExpiresAt();\n\n @JsonProperty(FIELD_PREVIOUS_CERTIFICATE_FINGERPRINT)\n public abstract Optional previousCertificateFingerprint();\n\n @JsonProperty(FIELD_PREVIOUS_CERTIFICATE_PEM)\n public abstract Optional previousCertificatePem();\n\n @JsonProperty(FIELD_PREVIOUS_CERTIFICATE_EXPIRES_AT)\n @JsonSerialize(contentUsing = MongoInstantSerializer.class)\n @JsonDeserialize(contentUsing = MongoInstantDeserializer.class)\n public abstract Optional previousCertificateExpiresAt();\n\n @JsonProperty(FIELD_CERTIFICATES_ROTATED_AT)\n @JsonSerialize(contentUsing = MongoInstantSerializer.class)\n @JsonDeserialize(contentUsing = MongoInstantDeserializer.class)\n public abstract Optional certificatesRotatedAt();\n\n @JsonProperty(FIELD_ISSUING_CA_ID)\n public abstract String issuingCaId();\n\n @JsonProperty(FIELD_ENROLLED_AT)\n @JsonSerialize(using = MongoInstantSerializer.class)\n @JsonDeserialize(using = MongoInstantDeserializer.class)\n public abstract Instant enrolledAt();\n\n @JsonProperty(FIELD_IDENTIFYING_ATTRIBUTES)\n public abstract Optional> identifyingAttributes();\n\n @JsonProperty(FIELD_NON_IDENTIFYING_ATTRIBUTES)\n public abstract Optional> nonIdentifyingAttributes();\n\n @JsonProperty(FIELD_LAST_PROCESSED_TXN_SEQ)\n public abstract long lastProcessedTxnSeq();\n\n @JsonProperty(FIELD_ENROLLMENT_TOKEN_ID)\n public abstract String enrollmentTokenId();\n\n @JsonProperty(FIELD_HEALTH)\n public abstract Optional health();\n\n public static Builder builder() {\n return AutoValue_CollectorInstanceDTO.Builder.create();\n }\n\n public Set allCertFingerprints() {\n return Stream.of(\n previousCertificateFingerprint(),\n Optional.of(activeCertificateFingerprint()),\n nextCertificateFingerprint()\n ).flatMap(Optional::stream).collect(Collectors.toSet());\n }\n\n\n @AutoValue.Builder\n public abstract static class Builder implements BuildableMongoEntity.Builder {\n\n @JsonCreator\n public static Builder create() {\n return new AutoValue_CollectorInstanceDTO.Builder()\n .messageSeqNum(0L)\n .lastProcessedTxnSeq(0L);\n }\n\n @JsonProperty(FIELD_INSTANCE_UID)\n public abstract Builder instanceUid(String instanceUid);\n\n @JsonProperty(FIELD_MESSAGE_SEQ_NUM)\n public abstract Builder messageSeqNum(long messageSeqNum);\n\n @JsonProperty(FIELD_CAPABILITIES)\n public abstract Builder capabilities(long capabilities);\n\n @JsonProperty(FIELD_LAST_SEEN)\n public abstract Builder lastSeen(Instant lastSeen);\n\n @JsonProperty(FIELD_FLEET_ID)\n public abstract Builder fleetId(String fleetId);\n\n @JsonProperty(FIELD_ACTIVE_CERTIFICATE_FINGERPRINT)\n public abstract Builder activeCertificateFingerprint(String activeCertificateFingerprint);\n\n @JsonProperty(FIELD_ACTIVE_CERTIFICATE_PEM)\n public abstract Builder activeCertificatePem(String activeCertificatePem);\n\n @JsonProperty(FIELD_ACTIVE_CERTIFICATE_EXPIRES_AT)\n public abstract Builder activeCertificateExpiresAt(Instant activeCertificateExpiresAt);\n\n @JsonProperty(FIELD_NEXT_CERTIFICATE_FINGERPRINT)\n public abstract Builder nextCertificateFingerprint(@Nullable String nextCertificateFingerprint);\n\n @JsonProperty(FIELD_NEXT_CERTIFICATE_PEM)\n public abstract Builder nextCertificatePem(@Nullable String nextCertificatePem);\n\n @JsonProperty(FIELD_NEXT_CERTIFICATE_EXPIRES_AT)\n public abstract Builder nextCertificateExpiresAt(@Nullable Instant nextCertificateExpiresAt);\n\n @JsonProperty(FIELD_PREVIOUS_CERTIFICATE_FINGERPRINT)\n public abstract Builder previousCertificateFingerprint(@Nullable String previousCertificateFingerprint);\n\n @JsonProperty(FIELD_PREVIOUS_CERTIFICATE_PEM)\n public abstract Builder previousCertificatePem(@Nullable String previousCertificatePem);\n\n @JsonProperty(FIELD_PREVIOUS_CERTIFICATE_EXPIRES_AT)\n public abstract Builder previousCertificateExpiresAt(@Nullable Instant previousCertificateExpiresAt);\n\n @JsonProperty(FIELD_CERTIFICATES_ROTATED_AT)\n public abstract Builder certificatesRotatedAt(@Nullable Instant certificatesRotatedAt);\n\n @JsonProperty(FIELD_ISSUING_CA_ID)\n public abstract Builder issuingCaId(String issuingCaId);\n\n @JsonProperty(FIELD_ENROLLED_AT)\n public abstract Builder enrolledAt(Instant enrolledAt);\n\n @JsonProperty(FIELD_IDENTIFYING_ATTRIBUTES)\n public abstract Builder identifyingAttributes(@Nullable List identifyingAttributes);\n\n @JsonProperty(FIELD_NON_IDENTIFYING_ATTRIBUTES)\n public abstract Builder nonIdentifyingAttributes(@Nullable List nonIdentifyingAttributes);\n\n @JsonProperty(FIELD_LAST_PROCESSED_TXN_SEQ)\n public abstract Builder lastProcessedTxnSeq(long lastProcessedTxnSeq);\n\n @JsonProperty(FIELD_ENROLLMENT_TOKEN_ID)\n public abstract Builder enrollmentTokenId(String enrollmentTokenId);\n\n @JsonProperty(FIELD_HEALTH)\n public abstract Builder health(@Nullable CollectorHealthDTO health);\n\n public abstract CollectorInstanceDTO build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/8b237a17435fe87c312be8af8a58cb76d6555b8a.json b/web/public/bundles/graylog/code/8b237a17435fe87c312be8af8a58cb76d6555b8a.json new file mode 100644 index 00000000..036d3ff1 --- /dev/null +++ b/web/public/bundles/graylog/code/8b237a17435fe87c312be8af8a58cb76d6555b8a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "8b237a17435fe87c312be8af8a58cb76d6555b8a", + "language": "typescript", + "path": "graylog2-web-interface/src/contexts/ScratchpadProvider.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport { createContext, useState, useMemo } from 'react';\n\nimport Store from 'logic/local-storage/Store';\nimport useHotkey from 'hooks/useHotkey';\nimport useSendTelemetry from 'logic/telemetry/useSendTelemetry';\nimport { TELEMETRY_EVENT_TYPE } from 'logic/telemetry/Constants';\n\ntype ScratchPadContextType = {\n isScratchpadVisible: boolean;\n localStorageItem: string;\n setScratchpadVisibility: (opened: boolean) => void;\n toggleScratchpadVisibility: () => void;\n};\nexport const ScratchpadContext = createContext(undefined);\n\ntype Props = {\n children: React.ReactNode;\n loginName: string;\n};\n\nexport const ScratchpadProvider = ({ children, loginName }: Props) => {\n const localStorageItem = `gl-scratchpad-${loginName}`;\n type ScratchpadStoreData = Record & { opened?: boolean };\n const scratchpadStore = Store.get(localStorageItem) || {};\n const [isScratchpadVisible, setVisibility] = useState(scratchpadStore.opened || false);\n const sendTelemetry = useSendTelemetry('scratchpad');\n\n const scratchpadContextValue = useMemo(() => {\n const setScratchpadVisibility = (opened: boolean) => {\n const currentStorage = Store.get(localStorageItem);\n\n Store.set(localStorageItem, { ...currentStorage, opened });\n setVisibility(opened);\n\n if (opened !== isScratchpadVisible) {\n sendTelemetry(opened ? TELEMETRY_EVENT_TYPE.SCRATCHPAD.OPENED : TELEMETRY_EVENT_TYPE.SCRATCHPAD.CLOSED, {});\n }\n };\n\n const toggleScratchpadVisibility = () => setScratchpadVisibility(!isScratchpadVisible);\n\n return {\n isScratchpadVisible,\n localStorageItem,\n setScratchpadVisibility,\n toggleScratchpadVisibility,\n };\n }, [isScratchpadVisible, localStorageItem, sendTelemetry]);\n\n useHotkey({\n actionKey: 'show-scratchpad-modal',\n callback: () => scratchpadContextValue.setScratchpadVisibility(true),\n scope: 'general',\n dependencies: [scratchpadContextValue],\n });\n\n return {children};\n};\n" +} diff --git a/web/public/bundles/graylog/code/8b285746d62cd8cc791a488b025ef816aa26954f.json b/web/public/bundles/graylog/code/8b285746d62cd8cc791a488b025ef816aa26954f.json new file mode 100644 index 00000000..042ea7bf --- /dev/null +++ b/web/public/bundles/graylog/code/8b285746d62cd8cc791a488b025ef816aa26954f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "8b285746d62cd8cc791a488b025ef816aa26954f", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/system/stats/elasticsearch/ClusterHealth.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.system.stats.elasticsearch;\n\nimport com.fasterxml.jackson.annotation.JsonAutoDetect;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.google.auto.value.AutoValue;\nimport org.graylog2.indexer.cluster.PendingTasksStats;\n\nimport java.util.List;\n\n@JsonAutoDetect\n@AutoValue\npublic abstract class ClusterHealth {\n @JsonProperty(\"number_of_nodes\")\n public abstract int numberOfNodes();\n\n @JsonProperty(\"number_of_data_nodes\")\n public abstract int numberOfDataNodes();\n\n @JsonProperty(\"active_shards\")\n public abstract int activeShards();\n\n @JsonProperty(\"relocating_shards\")\n public abstract int relocatingShards();\n\n @JsonProperty(\"active_primary_shards\")\n public abstract int activePrimaryShards();\n\n @JsonProperty(\"initializing_shards\")\n public abstract int initializingShards();\n\n @JsonProperty(\"unassigned_shards\")\n public abstract int unassignedShards();\n\n @JsonProperty(\"timed_out\")\n public abstract boolean timedOut();\n\n @JsonProperty(\"pending_tasks\")\n public abstract int pendingTasks();\n\n @JsonProperty(\"pending_tasks_time_in_queue\")\n public abstract List pendingTasksTimeInQueue();\n\n public static ClusterHealth from(ShardStats shardStats, PendingTasksStats pendingTasksStats) {\n return create(\n shardStats.numberOfNodes(),\n shardStats.numberOfDataNodes(),\n shardStats.activeShards(),\n shardStats.relocatingShards(),\n shardStats.activePrimaryShards(),\n shardStats.initializingShards(),\n shardStats.unassignedShards(),\n shardStats.timedOut(),\n pendingTasksStats.pendingTasks(),\n pendingTasksStats.pendingTasksTimeInQueue()\n );\n }\n\n public static ClusterHealth create(int numberOfNodes,\n int numberOfDataNodes,\n int activeShards,\n int relocatingShards,\n int activePrimaryShards,\n int initializingShards,\n int unassignedShards,\n boolean timedOut,\n int pendingTasks,\n List pendingTasksTimeInQueue) {\n return new AutoValue_ClusterHealth(numberOfNodes, numberOfDataNodes, activeShards, relocatingShards,\n activePrimaryShards, initializingShards, unassignedShards, timedOut,\n pendingTasks, pendingTasksTimeInQueue);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/8bd5be67c8a7df86c140df69e64e45bdad818016.json b/web/public/bundles/graylog/code/8bd5be67c8a7df86c140df69e64e45bdad818016.json new file mode 100644 index 00000000..c59cf976 --- /dev/null +++ b/web/public/bundles/graylog/code/8bd5be67c8a7df86c140df69e64e45bdad818016.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "8bd5be67c8a7df86c140df69e64e45bdad818016", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/elasticsearch/FieldTypesLookup.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.views.search.elasticsearch;\n\nimport com.google.common.collect.Sets;\nimport org.graylog2.indexer.fieldtypes.FieldTypeDTO;\nimport org.graylog2.indexer.fieldtypes.FieldTypeMapper;\nimport org.graylog2.indexer.fieldtypes.IndexFieldTypesDTO;\nimport org.graylog2.indexer.fieldtypes.IndexFieldTypesService;\n\nimport jakarta.inject.Inject;\nimport org.graylog2.streams.StreamService;\nimport jakarta.annotation.Nonnull;\n\nimport java.util.Collection;\nimport java.util.Collections;\nimport java.util.HashMap;\nimport java.util.Map;\nimport java.util.Objects;\nimport java.util.Optional;\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\npublic class FieldTypesLookup {\n private static final Set INTEGER_FIELD_TYPES = Set.of(\"long\", \"integer\", \"short\", \"byte\");\n\n private final IndexFieldTypesService indexFieldTypesService;\n private final StreamService streamService;\n\n @Inject\n public FieldTypesLookup(IndexFieldTypesService indexFieldTypesService, StreamService streamService) {\n this.indexFieldTypesService = indexFieldTypesService;\n this.streamService = streamService;\n }\n\n private Map> get(Set streamIds) {\n return findForStreamIds(streamIds)\n .stream()\n .flatMap(indexFieldTypes -> indexFieldTypes.fields().stream())\n .collect(Collectors.toMap(\n FieldTypeDTO::fieldName,\n fieldType -> Collections.singleton(fieldType.physicalType()),\n Sets::union\n ));\n }\n\n private Collection findForStreamIds(Collection streamIds) {\n final Set indexSetIds = getIndexSetIds(streamIds);\n return indexFieldTypesService.findForIndexSets(indexSetIds);\n }\n\n @Nonnull\n private Set getIndexSetIds(Collection streamIds) {\n return streamService.loadByIds(streamIds)\n .stream()\n .filter(Objects::nonNull)\n .map(stream -> stream.getIndexSet().getConfig().id())\n .collect(Collectors.toSet());\n }\n\n public Optional getType(Set streamIds, String field) {\n final Map> allFieldTypes = this.get(streamIds);\n final Set fieldTypes = allFieldTypes.get(field);\n return typeFromFieldType(fieldTypes);\n }\n\n /**\n * It may be inefficient to call getType() method for multiple fields, if the list of streams does not change.\n * In that scenario this method will be better, hitting Mongo DB only once.\n */\n public Map getTypes(final Set streamIds,\n final Set fields) {\n final Map> allFieldTypes = this.get(streamIds);\n\n final Map result = new HashMap<>(fields.size());\n fields.forEach(field -> {\n final Set fieldTypes = allFieldTypes.get(field);\n typeFromFieldType(fieldTypes).ifPresent(s -> result.put(field, s));\n });\n\n return result;\n }\n\n private Optional typeFromFieldType(Set fieldTypes) {\n if (fieldTypes == null || fieldTypes.isEmpty()) {\n return Optional.empty();\n }\n if (fieldTypes.size() == 1) {\n return fieldTypes.stream().findFirst();\n }\n if (fieldTypes.stream().allMatch(FieldTypeMapper::isNumericType)) {\n return Optional.of(widestNumericType(fieldTypes));\n }\n return Optional.empty();\n }\n\n /**\n * If a field has different numeric types across index sets, we collapse them to the widest type so that consumers\n * can still treat the field as numeric instead of having no type information at all.\n */\n private String widestNumericType(Set fieldTypes) {\n return fieldTypes.stream().allMatch(INTEGER_FIELD_TYPES::contains) ? \"long\" : \"double\";\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/8c6ceee6c3f82cf225fbbebefe6b67bda968b76e.json b/web/public/bundles/graylog/code/8c6ceee6c3f82cf225fbbebefe6b67bda968b76e.json new file mode 100644 index 00000000..376b6a6b --- /dev/null +++ b/web/public/bundles/graylog/code/8c6ceee6c3f82cf225fbbebefe6b67bda968b76e.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "8c6ceee6c3f82cf225fbbebefe6b67bda968b76e", + "language": "typescript", + "path": "graylog2-web-interface/src/preflight/components/ConfigurationWizard/ConfigurationWizard.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport styled, { css, useTheme } from 'styled-components';\nimport type { DefaultTheme } from 'styled-components';\nimport { useCallback, useState } from 'react';\n\nimport useConfigurationStep from 'preflight/hooks/useConfigurationStep';\nimport { CONFIGURATION_STEPS, CONFIGURATION_STEPS_ORDER } from 'preflight/Constants';\nimport type { IconName } from 'components/common/Icon';\nimport Icon from 'components/common/Icon';\nimport Spinner from 'components/common/Spinner';\nimport { List, Grid, Space } from 'preflight/components/common';\nimport Alert from 'components/bootstrap/Alert';\nimport RenewalPolicyConfiguration from 'preflight/components/ConfigurationWizard/RenewalPolicyConfiguration';\nimport type { ConfigurationStep } from 'preflight/types';\nimport RestartConfigurationButton from 'preflight/components/RestartConfigurationButton';\nimport type FetchError from 'logic/errors/FetchError';\n\nimport CertificateProvisioning from './CertificateProvisioning';\nimport CAConfiguration from './CAConfiguration';\nimport ConfigurationFinished from './ConfigurationFinished';\n\nconst StepIcon = styled(Icon)<{ $color: string }>(\n ({ $color, theme }) => css`\n color: ${$color};\n background-color: ${theme.colors.input.background};\n border-radius: 50%;\n `,\n);\n\nconst StyledListItem = styled(List.Item)<{ $isStepSkipped: boolean }>(\n ({ $isStepSkipped }) => css`\n > * {\n text-decoration: ${$isStepSkipped ? 'line-through' : 'none'};\n }\n `,\n);\n\nconst stepIcon = (\n stepKey: ConfigurationStep,\n activeStepKey: ConfigurationStep,\n theme: DefaultTheme,\n): { name: IconName; color: string } => {\n const stepIndex = CONFIGURATION_STEPS_ORDER.findIndex((key) => key === stepKey);\n const activeStepIndex = CONFIGURATION_STEPS_ORDER.findIndex((key) => key === activeStepKey);\n\n if (stepIndex < activeStepIndex || activeStepKey === CONFIGURATION_STEPS.CONFIGURATION_FINISHED.key) {\n return {\n name: 'check_circle',\n color: theme.colors.variant.success,\n };\n }\n\n if (stepKey === activeStepKey) {\n return {\n name: 'error',\n color: theme.colors.variant.info,\n };\n }\n\n return {\n name: 'circle',\n color: theme.colors.gray[90],\n };\n};\n\ntype FetchErrorsOverviewProps = {\n errors: Array<{ entityName: string; error: FetchError }> | null;\n};\n\nconst FetchErrorsOverview = ({ errors }: FetchErrorsOverviewProps) => (\n <>\n {errors.map(({ entityName, error }) => (\n \n There was an error fetching the {entityName}: {error.message}\n \n ))}\n \n);\n\ntype Props = {\n setIsWaitingForStartup: React.Dispatch>;\n};\n\nconst ConfigurationWizard = ({ setIsWaitingForStartup }: Props) => {\n const [isSkippingProvisioning, setIsSkippingProvisioning] = useState(false);\n const {\n step: activeStepKey,\n isLoading: isLoadingConfigurationStep,\n errors,\n } = useConfigurationStep({ isSkippingProvisioning });\n const theme = useTheme();\n\n const onSkipProvisioning = useCallback(() => {\n setIsSkippingProvisioning(true);\n }, []);\n\n if (isLoadingConfigurationStep) {\n return ;\n }\n\n if (errors?.length) {\n return ;\n }\n\n return (\n \n \n \n {CONFIGURATION_STEPS_ORDER.map((configurationStepKey) => {\n const { description } = CONFIGURATION_STEPS[configurationStepKey];\n const isStepSkipped =\n configurationStepKey === CONFIGURATION_STEPS.CERTIFICATE_PROVISIONING.key && isSkippingProvisioning;\n const { name: iconName, color: iconColor } = stepIcon(configurationStepKey, activeStepKey, theme);\n\n return (\n }>\n {description}\n \n );\n })}\n \n \n You can always the configuration\n \n \n {activeStepKey === CONFIGURATION_STEPS.CA_CONFIGURATION.key && }\n {activeStepKey === CONFIGURATION_STEPS.RENEWAL_POLICY_CONFIGURATION.key && }\n {activeStepKey === CONFIGURATION_STEPS.CERTIFICATE_PROVISIONING.key && (\n \n )}\n {activeStepKey === CONFIGURATION_STEPS.CONFIGURATION_FINISHED.key && (\n \n )}\n \n \n );\n};\n\nexport default ConfigurationWizard;\n" +} diff --git a/web/public/bundles/graylog/code/8c8d1de23dacb3b8f9bc3d25f3c3028b202eb3e6.json b/web/public/bundles/graylog/code/8c8d1de23dacb3b8f9bc3d25f3c3028b202eb3e6.json new file mode 100644 index 00000000..77b77cb1 --- /dev/null +++ b/web/public/bundles/graylog/code/8c8d1de23dacb3b8f9bc3d25f3c3028b202eb3e6.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "8c8d1de23dacb3b8f9bc3d25f3c3028b202eb3e6", + "language": "typescript", + "path": "graylog2-web-interface/src/pages/ShowMessagePage.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React, { useEffect, useMemo, useState, useContext } from 'react';\nimport * as Immutable from 'immutable';\nimport styled from 'styled-components';\n\nimport useMessage from 'views/hooks/useMessage';\nimport MessageDetail from 'components/common/message/details/MessageDetail';\nimport DocumentTitle from 'components/common/DocumentTitle';\nimport Spinner from 'components/common/Spinner';\nimport { Col, Row } from 'components/bootstrap';\nimport InteractiveContext from 'views/components/contexts/InteractiveContext';\nimport withParams from 'routing/withParams';\nimport type { Input } from 'components/messageloaders/Types';\nimport WindowDimensionsContextProvider from 'contexts/WindowDimensionsContextProvider';\nimport { fetchInput } from 'hooks/useInputs';\nimport FetchError from 'logic/errors/FetchError';\nimport { NodesActions } from 'stores/nodes/NodesStore';\nimport { isLocalNode } from 'views/hooks/useIsLocalNode';\nimport ViewsStoreProvider from 'views/stores/ViewsStoreProvider';\nimport View from 'views/logic/views/View';\nimport SearchExecutionState from 'views/logic/search/SearchExecutionState';\nimport SingleMessageFieldTypesProvider from 'views/components/fieldtypes/SingleMessageFieldTypesProvider';\nimport StreamsContext from 'contexts/StreamsContext';\nimport FieldTypesContext from 'views/components/contexts/FieldTypesContext';\nimport type { Message } from 'views/components/messagelist/Types';\nimport ErrorPage from 'components/errors/ErrorPage';\nimport type { Stream } from 'logic/streams/types';\n\ntype Props = {\n params: {\n index: string | undefined | null;\n messageId: string | undefined | null;\n };\n};\n\nconst useInputs = (sourceInputId: string | undefined, gl2SourceNode: string | undefined) => {\n const [inputs, setInputs] = useState>(Immutable.Map());\n\n useEffect(() => {\n const fetchInputs = async () => {\n if (sourceInputId && (await isLocalNode(gl2SourceNode))) {\n try {\n const input = await fetchInput(sourceInputId);\n\n if (input) {\n const newInputs = Immutable.Map({ [input.id]: input });\n\n setInputs(newInputs);\n }\n } catch (e) {\n // A missing input — a deleted one, or the in-memory collector ingest input which has no persisted\n // record — is not an error here\n if (!(e instanceof FetchError && e.status === 404)) {\n throw e;\n }\n }\n }\n };\n\n fetchInputs();\n }, [setInputs, sourceInputId, gl2SourceNode]);\n\n return inputs;\n};\n\ntype MessageFields = {\n streams: Array;\n timestamp: string;\n};\n\ntype ShowMessagePageProps = {\n message: Message;\n messageId: string;\n index: string;\n};\nconst emptyStreams: Stream[] = [];\nconst ShowMessagePage = ({ message, messageId, index }: ShowMessagePageProps) => {\n const streams = useContext(StreamsContext) ?? emptyStreams;\n const streamsMap = useMemo(\n () => Immutable.Map(Object.fromEntries(streams.map((stream) => [stream.id, stream]))),\n [streams],\n );\n const inputs = useInputs(message?.source_input_id, message?.fields.gl2_source_node);\n\n useEffect(() => {\n NodesActions.list();\n }, []);\n\n const isLoaded = useMemo(() => message !== undefined && inputs !== undefined, [message, inputs]);\n\n const view = useMemo(() => View.create(), []);\n const executionState = useMemo(() => SearchExecutionState.empty(), []);\n\n if (isLoaded) {\n const { streams: messageStreams, timestamp } = message.fields as MessageFields;\n const fieldTypesStreams = messageStreams.filter((streamId) => streamsMap.has(streamId));\n\n return (\n \n \n \n \n \n \n \n {({ all }) => (\n \n \n \n )}\n \n \n \n \n \n \n \n );\n }\n\n return ;\n};\n\nconst ErrorPre = styled.pre`\n margin: 0 3rem;\n`;\nconst ShowMessagePageLoader = ({ params: { index, messageId } }: Props) => {\n if (!index || !messageId) {\n throw new Error('index and messageId need to be specified!');\n }\n const { data: message, isError, error } = useMessage(index, messageId);\n\n return isError ? (\n \n {error.details}\n \n ) : (\n \n );\n};\n\nexport default withParams(ShowMessagePageLoader);\n" +} diff --git a/web/public/bundles/graylog/code/8c94d6e5227ba1d4591310c3d605b9581dd296f2.json b/web/public/bundles/graylog/code/8c94d6e5227ba1d4591310c3d605b9581dd296f2.json new file mode 100644 index 00000000..dff82803 --- /dev/null +++ b/web/public/bundles/graylog/code/8c94d6e5227ba1d4591310c3d605b9581dd296f2.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "8c94d6e5227ba1d4591310c3d605b9581dd296f2", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/alerts/types/FieldValueAlertCondition.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.alerts.types;\n\nimport com.google.common.collect.Lists;\nimport com.google.inject.assistedinject.Assisted;\nimport com.google.inject.assistedinject.AssistedInject;\nimport org.graylog2.alerts.AbstractAlertCondition;\nimport org.graylog2.indexer.FieldTypeException;\nimport org.graylog2.indexer.results.FieldStatsResult;\nimport org.graylog2.indexer.results.ResultMessage;\nimport org.graylog2.indexer.searches.Searches;\nimport org.graylog2.plugin.Message;\nimport org.graylog2.plugin.MessageSummary;\nimport org.graylog2.plugin.Tools;\nimport org.graylog2.plugin.alarms.AlertCondition;\nimport org.graylog2.plugin.configuration.ConfigurationRequest;\nimport org.graylog2.plugin.configuration.fields.ConfigurationField;\nimport org.graylog2.plugin.configuration.fields.DropdownField;\nimport org.graylog2.plugin.configuration.fields.NumberField;\nimport org.graylog2.plugin.configuration.fields.TextField;\nimport org.graylog2.plugin.indexer.searches.timeranges.InvalidRangeParametersException;\nimport org.graylog2.plugin.indexer.searches.timeranges.RelativeRange;\nimport org.graylog2.plugin.streams.Stream;\nimport org.joda.time.DateTime;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport javax.annotation.Nullable;\nimport java.text.DecimalFormat;\nimport java.text.DecimalFormatSymbols;\nimport java.util.Arrays;\nimport java.util.Collections;\nimport java.util.List;\nimport java.util.Locale;\nimport java.util.Map;\nimport java.util.stream.Collectors;\n\npublic class FieldValueAlertCondition extends AbstractAlertCondition {\n private static final Logger LOG = LoggerFactory.getLogger(FieldValueAlertCondition.class);\n\n enum CheckType {\n MEAN(\"mean value\"), MIN(\"min value\"), MAX(\"max value\"), SUM(\"sum\"), STDDEV(\"standard deviation\");\n\n private final String description;\n\n CheckType(String description) {\n this.description = description;\n }\n\n public String getDescription() {\n return description;\n }\n }\n\n enum ThresholdType {\n LOWER, HIGHER\n }\n\n public interface Factory extends AlertCondition.Factory {\n @Override\n FieldValueAlertCondition create(Stream stream,\n @Assisted(\"id\") String id,\n DateTime createdAt,\n @Assisted(\"userid\") String creatorUserId,\n Map parameters,\n @Assisted(\"title\") @Nullable String title);\n @Override\n Config config();\n @Override\n Descriptor descriptor();\n }\n\n public static class Config implements AlertCondition.Config {\n public Config() {\n }\n\n @Override\n public ConfigurationRequest getRequestedConfiguration() {\n final ConfigurationRequest configurationRequest = ConfigurationRequest.createWithFields(\n new TextField(\"field\", \"Field\", \"\", \"Field name that should be checked\", ConfigurationField.Optional.NOT_OPTIONAL),\n new NumberField(\"time\", \"Time Range\", 5, \"Evaluate the condition for all messages received in the given number of minutes\", ConfigurationField.Optional.NOT_OPTIONAL),\n new DropdownField(\n \"threshold_type\",\n \"Threshold Type\",\n ThresholdType.HIGHER.toString(),\n DropdownField.ValueTemplates.valueMapFromEnum(ThresholdType.class, thresholdType -> thresholdType.name().toLowerCase(Locale.ENGLISH)),\n \"Select condition to trigger alert: when value is higher or lower than the threshold\",\n ConfigurationField.Optional.NOT_OPTIONAL),\n new NumberField(\"threshold\", \"Threshold\", 0.0, \"Value which triggers an alert if crossed\", ConfigurationField.Optional.NOT_OPTIONAL),\n new DropdownField(\n \"type\",\n \"Aggregation Type\",\n CheckType.MAX.toString(),\n Arrays.stream(CheckType.values()).collect(Collectors.toMap(Enum::toString, CheckType::getDescription)),\n \"Select statistical function to use in the aggregation\",\n ConfigurationField.Optional.NOT_OPTIONAL)\n );\n configurationRequest.addFields(AbstractAlertCondition.getDefaultConfigurationFields());\n\n return configurationRequest;\n }\n }\n\n public static class Descriptor extends AlertCondition.Descriptor {\n public Descriptor() {\n super(\n \"Field Aggregation Alert Condition\",\n \"https://www.graylog.org/\",\n \"This condition is triggered when the aggregated value of a field is higher/lower than a defined \"\n + \"threshold for a given time range.\"\n );\n }\n }\n\n private final int time;\n private final ThresholdType thresholdType;\n private final Number threshold;\n private final CheckType type;\n private final String field;\n private final String query;\n private final DecimalFormat decimalFormat;\n private final Searches searches;\n\n @AssistedInject\n public FieldValueAlertCondition(Searches searches,\n @Assisted Stream stream,\n @Nullable @Assisted(\"id\") String id,\n @Assisted DateTime createdAt,\n @Assisted(\"userid\") String creatorUserId,\n @Assisted Map parameters,\n @Assisted(\"title\") @Nullable String title) {\n super(stream, id, Type.FIELD_VALUE.toString(), createdAt, creatorUserId, parameters, title);\n this.searches = searches;\n\n this.decimalFormat = new DecimalFormat(\"#.###\", DecimalFormatSymbols.getInstance(Locale.ENGLISH));\n\n this.time = Tools.getNumber(parameters.get(\"time\"), 5).intValue();\n this.thresholdType = ThresholdType.valueOf(((String) parameters.get(\"threshold_type\")).toUpperCase(Locale.ENGLISH));\n this.threshold = Tools.getNumber(parameters.get(\"threshold\"), 0.0).doubleValue();\n this.type = CheckType.valueOf(((String) parameters.get(\"type\")).toUpperCase(Locale.ENGLISH));\n this.field = (String) parameters.get(\"field\");\n this.query = (String) parameters.getOrDefault(CK_QUERY, CK_QUERY_DEFAULT_VALUE);\n }\n\n @Override\n public String getDescription() {\n return \"time: \" + time\n + \", field: \" + field\n + \", check type: \" + type.toString().toLowerCase(Locale.ENGLISH)\n + \", threshold_type: \" + thresholdType.toString().toLowerCase(Locale.ENGLISH)\n + \", threshold: \" + decimalFormat.format(threshold)\n + \", grace: \" + grace\n + \", repeat notifications: \" + repeatNotifications;\n }\n\n\n @Override\n public CheckResult runCheck() {\n try {\n final String filter = buildQueryFilter(stream.getId(), query);\n // TODO we don't support cardinality yet\n final FieldStatsResult fieldStatsResult = searches.fieldStats(field, \"*\", filter,\n RelativeRange.create(time * 60), false, true, false);\n\n if (fieldStatsResult.count() == 0) {\n LOG.debug(\"Alert check <{}> did not match any messages. Returning not triggered.\", type);\n return new NegativeCheckResult();\n }\n\n final double result;\n switch (type) {\n case MEAN:\n result = fieldStatsResult.mean();\n break;\n case MIN:\n result = fieldStatsResult.min();\n break;\n case MAX:\n result = fieldStatsResult.max();\n break;\n case SUM:\n result = fieldStatsResult.sum();\n break;\n case STDDEV:\n result = fieldStatsResult.stdDeviation();\n break;\n default:\n LOG.error(\"No such field value check type: [{}]. Returning not triggered.\", type);\n return new NegativeCheckResult();\n }\n\n LOG.debug(\"Alert check <{}> result: [{}]\", id, result);\n\n if (Double.isInfinite(result)) {\n // This happens when there are no ES results/docs.\n LOG.debug(\"Infinite value. Returning not triggered.\");\n return new NegativeCheckResult();\n }\n\n final boolean triggered;\n switch (thresholdType) {\n case HIGHER:\n triggered = result > threshold.doubleValue();\n break;\n case LOWER:\n triggered = result < threshold.doubleValue();\n break;\n default:\n triggered = false;\n }\n\n if (triggered) {\n final String resultDescription = \"Field \" + field + \" had a \" + type + \" of \"\n + decimalFormat.format(result) + \" in the last \" + time + \" minutes with trigger condition \"\n + thresholdType + \" than \" + decimalFormat.format(threshold) + \". \"\n + \"(Current grace time: \" + grace + \" minutes)\";\n\n final List summaries;\n if (getBacklog() > 0) {\n final List searchResult = fieldStatsResult.searchHits();\n summaries = Lists.newArrayListWithCapacity(searchResult.size());\n for (ResultMessage resultMessage : searchResult) {\n final Message msg = resultMessage.getMessage();\n summaries.add(new MessageSummary(resultMessage.getIndex(), msg));\n }\n } else {\n summaries = Collections.emptyList();\n }\n\n return new CheckResult(true, this, resultDescription, Tools.nowUTC(), summaries);\n } else {\n return new NegativeCheckResult();\n }\n } catch (InvalidRangeParametersException e) {\n // cannot happen lol\n LOG.error(\"Invalid timerange.\", e);\n return null;\n } catch (FieldTypeException e) {\n LOG.debug(\"Field [{}] seems not to have a numerical type or doesn't even exist at all. Returning not triggered.\", field, e);\n return new NegativeCheckResult();\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/8cc8bea748f3a823d4e5370771ca0d8a36c196d7.json b/web/public/bundles/graylog/code/8cc8bea748f3a823d4e5370771ca0d8a36c196d7.json new file mode 100644 index 00000000..a910d26a --- /dev/null +++ b/web/public/bundles/graylog/code/8cc8bea748f3a823d4e5370771ca0d8a36c196d7.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "8cc8bea748f3a823d4e5370771ca0d8a36c196d7", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/cef/input/CEFKafkaInput.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.cef.input;\n\nimport com.codahale.metrics.MetricRegistry;\nimport com.google.inject.assistedinject.Assisted;\nimport com.google.inject.assistedinject.AssistedInject;\nimport org.graylog.plugins.cef.codec.CEFCodec;\nimport org.graylog2.inputs.transports.KafkaTransport;\nimport org.graylog2.plugin.LocalMetricRegistry;\nimport org.graylog2.plugin.ServerStatus;\nimport org.graylog2.plugin.configuration.Configuration;\nimport org.graylog2.plugin.inputs.MessageInput;\nimport org.graylog2.plugin.inputs.annotations.ConfigClass;\nimport org.graylog2.plugin.inputs.annotations.FactoryClass;\n\nimport jakarta.inject.Inject;\n\npublic class CEFKafkaInput extends MessageInput {\n\n private static final String NAME = \"CEF Kafka\";\n\n @AssistedInject\n public CEFKafkaInput(@Assisted Configuration configuration,\n MetricRegistry metricRegistry,\n final KafkaTransport.Factory kafkaTransportFactory,\n final LocalMetricRegistry localRegistry,\n CEFCodec.Factory codec,\n Config config,\n Descriptor descriptor,\n ServerStatus serverStatus) {\n super(\n metricRegistry,\n configuration,\n kafkaTransportFactory.create(configuration),\n localRegistry,\n codec.create(configuration),\n config,\n descriptor,\n serverStatus\n );\n }\n\n @FactoryClass\n public interface Factory extends MessageInput.Factory {\n @Override\n CEFKafkaInput create(Configuration configuration);\n\n @Override\n Config getConfig();\n\n @Override\n Descriptor getDescriptor();\n }\n\n public static class Descriptor extends MessageInput.Descriptor {\n @Inject\n public Descriptor() {\n super(NAME, false, \"\");\n }\n }\n\n @ConfigClass\n public static class Config extends MessageInput.Config {\n @Inject\n public Config(KafkaTransport.Factory transport, CEFCodec.Factory codec) {\n super(transport.getConfig(), codec.getConfig());\n }\n }\n\n}\n" +} diff --git a/web/public/bundles/graylog/code/8cee71ca839bdd4fa86b10bb6b7a253c67de1778.json b/web/public/bundles/graylog/code/8cee71ca839bdd4fa86b10bb6b7a253c67de1778.json new file mode 100644 index 00000000..5107f3ac --- /dev/null +++ b/web/public/bundles/graylog/code/8cee71ca839bdd4fa86b10bb6b7a253c67de1778.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "8cee71ca839bdd4fa86b10bb6b7a253c67de1778", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/events/event/ESMongoDateTimeDeserializer.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.events.event;\n\nimport com.fasterxml.jackson.core.JsonParser;\nimport com.fasterxml.jackson.core.JsonToken;\nimport com.fasterxml.jackson.databind.DeserializationContext;\nimport com.fasterxml.jackson.databind.deser.std.StdScalarDeserializer;\nimport com.fasterxml.jackson.databind.exc.InvalidFormatException;\nimport com.fasterxml.jackson.datatype.joda.cfg.JacksonJodaDateFormat;\nimport com.fasterxml.jackson.datatype.joda.deser.DateTimeDeserializer;\nimport org.graylog2.plugin.Tools;\nimport org.joda.time.DateTime;\nimport org.joda.time.format.ISODateTimeFormat;\n\nimport java.io.IOException;\nimport java.util.Date;\n\nimport static com.fasterxml.jackson.core.JsonToken.VALUE_EMBEDDED_OBJECT;\nimport static org.joda.time.DateTimeZone.UTC;\n\n/**\n * Deserialize DateTime from MongoDB, ISODateTime or our ES_DATE_FORMAT format\n */\npublic class ESMongoDateTimeDeserializer extends StdScalarDeserializer {\n private static final JacksonJodaDateFormat ES_DATE_FORMAT =\n new JacksonJodaDateFormat(Tools.timeFormatterWithOptionalMilliseconds().withZone(UTC))\n .withAdjustToContextTZOverride(true); // Overwrite global DeserializationFeature ADJUST_DATES_TO_CONTEXT_TIME_ZONE\n private static final JacksonJodaDateFormat ISO_DATE_FORMAT =\n new JacksonJodaDateFormat(ISODateTimeFormat.dateTimeParser().withZone(UTC))\n .withAdjustToContextTZOverride(true); // Overwrite global DeserializationFeature ADJUST_DATES_TO_CONTEXT_TIME_ZONE\n private static final DateTimeDeserializer ES_DATE_DESERIALIZER = new DateTimeDeserializer(DateTime.class, ES_DATE_FORMAT);\n private static final DateTimeDeserializer ISO_DATE_DESERIALIZER = new DateTimeDeserializer(DateTime.class, ISO_DATE_FORMAT);\n\n\n public ESMongoDateTimeDeserializer() {\n super(DateTime.class);\n }\n\n @Override\n public DateTime deserialize(JsonParser p, DeserializationContext ctxt) throws IOException {\n JsonToken t = p.getCurrentToken();\n\n // Values from MongoDB\n if (t == VALUE_EMBEDDED_OBJECT) {\n final Object embeddedObject = p.getEmbeddedObject();\n if (embeddedObject instanceof Date) {\n final Date date = (Date) embeddedObject;\n return new DateTime(date, UTC);\n } else {\n throw new IllegalStateException(\"Unsupported token: \" + p.currentToken());\n }\n\n }\n\n try {\n // Values in ISO8601 format\n return (DateTime) ISO_DATE_DESERIALIZER.deserialize(p, ctxt);\n } catch (InvalidFormatException e) {\n // Values in Tools.ES_DATE_FORMAT format\n return (DateTime) ES_DATE_DESERIALIZER.deserialize(p, ctxt);\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/8e472a0bbee17e732cd155b5c67c86f307b478ed.json b/web/public/bundles/graylog/code/8e472a0bbee17e732cd155b5c67c86f307b478ed.json new file mode 100644 index 00000000..b56997bb --- /dev/null +++ b/web/public/bundles/graylog/code/8e472a0bbee17e732cd155b5c67c86f307b478ed.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "8e472a0bbee17e732cd155b5c67c86f307b478ed", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/tokenusage/TokenUsageResource.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.resources.tokenusage;\n\nimport com.codahale.metrics.annotation.Timed;\nimport com.google.common.collect.ImmutableMap;\nimport io.swagger.v3.oas.annotations.Operation;\nimport io.swagger.v3.oas.annotations.Parameter;\nimport io.swagger.v3.oas.annotations.media.Schema;\nimport io.swagger.v3.oas.annotations.tags.Tag;\nimport jakarta.inject.Inject;\nimport jakarta.ws.rs.BadRequestException;\nimport jakarta.ws.rs.Consumes;\nimport jakarta.ws.rs.DefaultValue;\nimport jakarta.ws.rs.GET;\nimport jakarta.ws.rs.Path;\nimport jakarta.ws.rs.Produces;\nimport jakarta.ws.rs.QueryParam;\nimport jakarta.ws.rs.core.MediaType;\nimport org.apache.shiro.authz.annotation.RequiresAuthentication;\nimport org.apache.shiro.authz.annotation.RequiresPermissions;\nimport org.graylog.security.authservice.DBAuthServiceBackendService;\nimport org.graylog2.database.PaginatedList;\nimport org.graylog2.rest.models.SortOrder;\nimport org.graylog2.rest.models.tokenusage.TokenUsageDTO;\nimport org.graylog2.rest.models.tools.responses.PageListResponse;\nimport org.graylog2.rest.resources.entities.EntityAttribute;\nimport org.graylog2.rest.resources.entities.EntityDefaults;\nimport org.graylog2.rest.resources.entities.Sorting;\nimport org.graylog2.search.SearchQuery;\nimport org.graylog2.search.SearchQueryField;\nimport org.graylog2.search.SearchQueryParser;\nimport org.graylog2.security.AccessTokenEntity;\nimport org.graylog2.shared.rest.PublicCloudAPI;\nimport org.graylog2.shared.rest.resources.RestResource;\nimport org.graylog2.shared.security.RestPermissions;\nimport org.graylog2.shared.tokenusage.TokenUsageService;\nimport org.graylog2.users.UserImpl;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.util.List;\nimport java.util.Locale;\n\n@RequiresAuthentication\n@Path(\"/token_usage\")\n@Consumes(MediaType.APPLICATION_JSON)\n@Produces(MediaType.APPLICATION_JSON)\n@PublicCloudAPI\n@Tag(name = \"Token-Usage\", description = \"Listing usage of Tokens\")\npublic class TokenUsageResource extends RestResource {\n private static final Logger LOG = LoggerFactory.getLogger(TokenUsageResource.class);\n private static final String DEFAULT_SORT_FIELD = AccessTokenEntity.FIELD_NAME;\n private static final String DEFAULT_SORT_DIRECTION = \"asc\";\n static final List ATTRIBUTES = List.of(\n EntityAttribute.builder().id(TokenUsageDTO.FIELD_TOKEN_ID).title(\"Token ID\").type(SearchQueryField.Type.OBJECT_ID).hidden(false).searchable(true).build(),\n EntityAttribute.builder().id(TokenUsageDTO.FIELD_USERNAME).title(\"Username\").searchable(true).sortable(true).build(),\n EntityAttribute.builder().id(TokenUsageDTO.FIELD_USER_ID).title(\"User ID\").hidden(true).build(),\n EntityAttribute.builder().id(TokenUsageDTO.FIELD_TOKEN_NAME).title(\"Token Name\").searchable(true).sortable(true).build(),\n EntityAttribute.builder().id(TokenUsageDTO.FIELD_CREATED_AT).title(\"Created\").type(SearchQueryField.Type.DATE).searchable(true).sortable(true).build(),\n EntityAttribute.builder().id(TokenUsageDTO.FIELD_LAST_ACCESS).title(\"Last Accessed\").type(SearchQueryField.Type.DATE).searchable(true).sortable(true).build(),\n EntityAttribute.builder().id(TokenUsageDTO.FIELD_EXPIRES_AT).title(\"Expires At\").type(SearchQueryField.Type.DATE).searchable(true).sortable(true).build(),\n EntityAttribute.builder().id(TokenUsageDTO.FIELD_USER_IS_EXTERNAL).title(\"External User\")\n .relatedCollection(UserImpl.COLLECTION_NAME).type(SearchQueryField.Type.BOOLEAN).sortable(false).build(),\n EntityAttribute.builder().id(TokenUsageDTO.FIELD_AUTH_BACKEND).title(\"Authentication Backend\")\n .relatedCollection(DBAuthServiceBackendService.COLLECTION_NAME).sortable(false).build()\n );\n static final EntityDefaults SETTINGS = EntityDefaults.builder()\n .sort(Sorting.create(DEFAULT_SORT_FIELD, Sorting.Direction.valueOf(DEFAULT_SORT_DIRECTION.toUpperCase(Locale.ROOT))))\n .build();\n\n private final TokenUsageService tokenUsageService;\n private final SearchQueryParser searchQueryParser;\n\n protected static final ImmutableMap SEARCH_FIELD_MAPPING = ImmutableMap.builder()\n .put(AccessTokenEntity.FIELD_ID, SearchQueryField.create(\"_id\", SearchQueryField.Type.OBJECT_ID))\n .put(AccessTokenEntity.FIELD_USERNAME, SearchQueryField.create(AccessTokenEntity.FIELD_USERNAME))\n .put(AccessTokenEntity.FIELD_NAME, SearchQueryField.create(AccessTokenEntity.FIELD_NAME))\n .build();\n\n @Inject\n public TokenUsageResource(TokenUsageService tokenUsageService) {\n this.tokenUsageService = tokenUsageService;\n this.searchQueryParser = new SearchQueryParser(AccessTokenEntity.FIELD_NAME, SEARCH_FIELD_MAPPING);\n }\n\n @GET\n @Timed\n @Path(\"/paginated\")\n @Operation(summary = \"Get paginated list of tokens\")\n @RequiresPermissions(RestPermissions.TOKEN_USAGE_READ)\n @Produces(MediaType.APPLICATION_JSON)\n public PageListResponse getPage(@Parameter(name = \"page\") @QueryParam(\"page\") @DefaultValue(\"1\") int page,\n @Parameter(name = \"per_page\") @QueryParam(\"per_page\") @DefaultValue(\"50\") int perPage,\n @Parameter(name = \"query\") @QueryParam(\"query\") @DefaultValue(\"\") String query,\n @Parameter(name = \"sort\",\n description = \"The field to sort the result on\",\n required = true,\n schema = @Schema(allowableValues = {\"id\", \"username\", \"name\", \"created_at\", \"last_access\", \"expires_at\"}))\n @DefaultValue(AccessTokenEntity.FIELD_NAME) @QueryParam(\"sort\") String sort,\n @Parameter(name = \"order\", description = \"The sort direction\",\n schema = @Schema(allowableValues = {\"asc\", \"desc\"}))\n @DefaultValue(\"asc\") @QueryParam(\"order\") SortOrder order) {\n LOG.debug(\"Incoming request to list token usages{}, on page {} with {} items per page.\", query.isEmpty() ? \"\" : \" matching \" + query, page, perPage);\n final SearchQuery searchQuery;\n try {\n searchQuery = searchQueryParser.parse(query);\n } catch (IllegalArgumentException e) {\n throw new BadRequestException(\"Invalid argument in search query: \" + e.getMessage());\n }\n final PaginatedList tokenUsages = tokenUsageService.loadTokenUsage(page, perPage, searchQuery, sort, order);\n LOG.debug(\"Found {} token usages for incoming request. Converting to response.\", tokenUsages.size());\n final PaginatedList.PaginationInfo pagination = tokenUsages.pagination();\n return PageListResponse.create(query, pagination, pagination.total(), sort, order, tokenUsages, ATTRIBUTES, SETTINGS);\n }\n\n}\n" +} diff --git a/web/public/bundles/graylog/code/8ed1f007abed56321c8600fedfdab465831c1873.json b/web/public/bundles/graylog/code/8ed1f007abed56321c8600fedfdab465831c1873.json new file mode 100644 index 00000000..e86de570 --- /dev/null +++ b/web/public/bundles/graylog/code/8ed1f007abed56321c8600fedfdab465831c1873.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "8ed1f007abed56321c8600fedfdab465831c1873", + "language": "typescript", + "path": "graylog2-web-interface/src/components/datanode/migrations/common/ResetMigrationButton.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport { useState } from 'react';\nimport { useMutation, useQueryClient } from '@tanstack/react-query';\n\nimport { Migration } from '@graylog/server-api';\n\nimport { ConfirmDialog } from 'components/common';\nimport { Button } from 'components/bootstrap';\nimport UserNotification from 'util/UserNotification';\nimport { QUERY_KEY as DATA_NODES_CA_QUERY_KEY } from 'preflight/hooks/useDataNodesCA';\nimport { MIGRATION_STATE_QUERY_KEY } from 'components/datanode/hooks/useMigrationState';\nimport useSendTelemetry from 'logic/telemetry/useSendTelemetry';\nimport { TELEMETRY_EVENT_TYPE } from 'logic/telemetry/Constants';\n\nconst resetMigration = async () => Migration.resetState();\n\nconst ResetMigrationButton = () => {\n const queryClient = useQueryClient();\n const [showDialog, setShowDialog] = useState(false);\n const sendTelemetry = useSendTelemetry('migration');\n\n const { mutateAsync: onResetMigration } = useMutation({\n mutationFn: resetMigration,\n\n onSuccess: () => {\n UserNotification.success('Migration state reset successful.');\n queryClient.invalidateQueries({ queryKey: DATA_NODES_CA_QUERY_KEY });\n queryClient.invalidateQueries({ queryKey: MIGRATION_STATE_QUERY_KEY });\n },\n\n onError: (error) => {\n UserNotification.error(\n `Resetting migration state failed with status: ${error}`,\n 'Could not reset the migration state.',\n );\n },\n });\n\n const handleResetClick = () => {\n sendTelemetry(TELEMETRY_EVENT_TYPE.DATANODE_MIGRATION.RESET_MIGRATION_CLICKED, {\n app_pathname: 'datanode',\n });\n\n setShowDialog(true);\n };\n\n const handleConfirmClick = async () => {\n sendTelemetry(TELEMETRY_EVENT_TYPE.DATANODE_MIGRATION.RESET_MIGRATION_CONFIRM_CLICKED, {\n app_pathname: 'datanode',\n });\n\n await onResetMigration();\n setShowDialog(false);\n };\n\n return (\n <>\n \n {showDialog && (\n setShowDialog(false)}>\n Are you sure you want to reset the migration?\n \n )}\n \n );\n};\n\nexport default ResetMigrationButton;\n" +} diff --git a/web/public/bundles/graylog/code/903596de83eafe4847efe1f5acf1245ac82b4a5b.json b/web/public/bundles/graylog/code/903596de83eafe4847efe1f5acf1245ac82b4a5b.json new file mode 100644 index 00000000..2078f650 --- /dev/null +++ b/web/public/bundles/graylog/code/903596de83eafe4847efe1f5acf1245ac82b4a5b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "903596de83eafe4847efe1f5acf1245ac82b4a5b", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/transports/netty/HttpForwardedForHandler.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.inputs.transports.netty;\n\nimport com.google.common.base.Splitter;\nimport com.google.common.base.Strings;\nimport com.google.common.collect.Iterators;\nimport com.google.common.collect.Lists;\nimport com.google.common.net.InetAddresses;\nimport io.netty.channel.ChannelHandlerContext;\nimport io.netty.channel.SimpleChannelInboundHandler;\nimport io.netty.handler.codec.http.FullHttpRequest;\nimport io.netty.handler.codec.http.HttpHeaders;\nimport org.graylog2.utilities.IpSubnet;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport javax.annotation.Nullable;\nimport java.net.InetAddress;\nimport java.net.InetSocketAddress;\nimport java.net.UnknownHostException;\nimport java.util.Iterator;\nimport java.util.List;\nimport java.util.Locale;\nimport java.util.Map;\nimport java.util.Optional;\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\npublic class HttpForwardedForHandler extends SimpleChannelInboundHandler {\n private static final Logger LOG = LoggerFactory.getLogger(HttpForwardedForHandler.class);\n\n // Splits comma-separated forwarded-elements\n private static final Splitter ELEMENT_SPLITTER =\n Splitter.on(',')\n .omitEmptyStrings()\n .trimResults();\n\n // Splits semicolon-separated parameters within an element\n private static final Splitter PARAM_SPLITTER =\n Splitter.on(';')\n .omitEmptyStrings()\n .trimResults();\n\n // Splits key=value pairs\n private static final Splitter KEYVALUE_SPLITTER =\n Splitter.on('=')\n .limit(2)\n .trimResults();\n\n private final boolean enableForwardedFor;\n private final boolean enableRealIpHeader;\n private final List realIpHeaders;\n private final boolean requireTrustedProxies;\n private final Set trustedProxies;\n\n /**\n * @param enableForwardedFor true if we should parse X-Forwarded-For and Forwarded headers\n * @param realIpHeaders a comma separated list to check for original IP values, if null or empty don't attempt to find a value\n * @param requireTrustedProxies true if all other values in the chain are checked against our set of trusted proxies\n * @param trustedProxies config setting from server conf, the subnets of proxies we accept forwarded-for headers from\n */\n public HttpForwardedForHandler(boolean enableForwardedFor, boolean enableRealIpHeader, String realIpHeaders, boolean requireTrustedProxies, Set trustedProxies) {\n this.enableForwardedFor = enableForwardedFor;\n this.enableRealIpHeader = enableRealIpHeader;\n this.realIpHeaders = Splitter.on(',').omitEmptyStrings().trimResults().splitToList(Strings.nullToEmpty(realIpHeaders));\n this.requireTrustedProxies = requireTrustedProxies;\n this.trustedProxies = trustedProxies;\n }\n\n @Override\n protected void channelRead0(ChannelHandlerContext ctx, FullHttpRequest msg) throws Exception {\n String originalIp = null;\n\n // if we choose to trust X-Forwarded-For or Forwarded headers\n if (enableForwardedFor) {\n // first check for X-Forwarded-For headers\n // the header can be repeated, we need to collect them all and eventually pick the first one\n // the remainder can be checked against our trusted proxies setting\n final List xForwardedForHeaders = msg.headers().getAll(\"x-forwarded-for\");\n final List ipChain = Lists.newArrayList();\n for (String h : xForwardedForHeaders) {\n for (String s : h.split(\",\")) {\n String trim = s.trim();\n if (!trim.isEmpty()) {\n ipChain.add(trim);\n }\n }\n }\n if (!ipChain.isEmpty()) {\n final Optional candidate = findOriginalIpAndCheckProxies(ipChain, getPeerAddress(ctx));\n if (candidate.isPresent()) {\n originalIp = candidate.get();\n LOG.debug(\"Found original IP address in X-Forwarded-For header: {}\", originalIp);\n }\n }\n }\n\n // second, check the Forwarded headers\n // https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Forwarded\n // just like the X-Forwarded-For header it can be repeated, both entire headers and the for directives\n // the semantics are the same, the first value represents the original IP\n if (originalIp == null) {\n final List> forwardedHeaders = parse(msg.headers());\n // find the first entry that has a for directive, it's our client ip\n // we iterate here because \"for\" directives are optional as per RFC\n final List forValues = Lists.newArrayList();\n for (Map header : forwardedHeaders) {\n if (header.containsKey(\"for\")) {\n forValues.add(header.get(\"for\"));\n }\n }\n if (!forValues.isEmpty()) {\n final Optional candidate = findOriginalIpAndCheckProxies(forValues, getPeerAddress(ctx));\n if (candidate.isPresent()) {\n originalIp = candidate.get();\n LOG.debug(\"Found original IP address in Forwarded header: {}\", originalIp);\n }\n }\n }\n\n if (originalIp == null && enableRealIpHeader) {\n // iterate over all given headers that are thought to contain a single IP address\n // the list is never null but might be empty\n // the first match wins\n for (final String realIpHeader : realIpHeaders) {\n if (msg.headers().contains(realIpHeader)) {\n originalIp = msg.headers().get(realIpHeader);\n LOG.debug(\"Found original IP address in {} header: {}\", realIpHeader, originalIp);\n break;\n }\n }\n }\n\n // save the original ip address in the channel's context, which we can pick up in downstream handlers\n if (originalIp != null) {\n if (!InetAddresses.isInetAddress(originalIp)) {\n LOG.warn(\"Ignoring non-literal IP value for original IP address: {}\", originalIp);\n }\n try {\n final InetAddress inetAddress = InetAddresses.forString(originalIp);\n ctx.channel().attr(RawMessageHandler.ORIGINAL_IP_KEY).setIfAbsent(new InetSocketAddress(inetAddress, 0));\n } catch (IllegalArgumentException e) {\n LOG.warn(\"The address extracted for forwarded IP address is not a valid IP literal: {}\", originalIp);\n }\n }\n // our http channel handlers are using FullHttpMessage instances, so we need to retain them, even though we are\n // only using header values here (otherwise we'll get ref count exceptions upstream)\n ctx.fireChannelRead(msg.retain());\n }\n\n // in tests the remote address won't be a real InetSocketAddress\n @Nullable\n private static String getPeerAddress(ChannelHandlerContext ctx) {\n if (ctx.channel().remoteAddress() instanceof InetSocketAddress)\n return ((InetSocketAddress) ctx.channel().remoteAddress()).getHostString();\n return null;\n }\n\n private Optional findOriginalIpAndCheckProxies(List ipChain, @Nullable String peerAddress) throws UnknownHostException {\n Iterator iterator = ipChain.iterator();\n String candidate = iterator.next();\n if (requireTrustedProxies) {\n LOG.debug(\"Checking trusted proxies for {}\", candidate);\n if (ipChain.isEmpty()) {\n LOG.debug(\"Ignoring invalid X-Forwarded-For header, list of proxies is empty\");\n return Optional.empty();\n } else {\n if (!iterator.hasNext()) {\n LOG.debug(\"Forwarded-For list only contains a single entry, cannot use it for checking addresses, also checking peer address: {}\", peerAddress);\n }\n Iterator listAndPeer = iterator;\n // add the peer address if we have one (might be null in tests)\n if (peerAddress != null) {\n listAndPeer = Iterators.concat(iterator, Iterators.singletonIterator(peerAddress));\n }\n // go through the remainder of the list, which should all be proxy addresses we trust\n // if we hit one that we don't trust, bail out and don't use the candidate IP\n while (listAndPeer.hasNext()) {\n final String proxyIp = listAndPeer.next();\n boolean trusted = false;\n for (final IpSubnet subnet : trustedProxies) {\n if (subnet.contains(proxyIp)) {\n trusted = true;\n // we can skip the remainder of the subnet checks for this proxy ip\n break;\n }\n }\n if (!trusted) {\n LOG.debug(\"No trusted proxy entry found in {}, ignoring the supplied original IP address {}\", trustedProxies, candidate);\n return Optional.empty();\n }\n }\n }\n }\n return Optional.of(candidate);\n }\n\n /**\n * Parses the RFC-7239 Forwarded header into a list of maps,\n * one per forwarded-element (i.e. each comma-separated element).\n *\n * @param headers the msg.headers()\n * @return Map per forwarded-element, in order.\n */\n public static List> parse(HttpHeaders headers) {\n final List> result = Lists.newArrayList();\n // Get _all_ Forwarded header lines, because they can be repeated\n final List raw = headers.getAll(\"forwarded\");\n\n for (String headerLine : raw) {\n // split into each element: for=..., by=..., proto=...\n for (String element : ELEMENT_SPLITTER.split(headerLine)) {\n final Map attrs = PARAM_SPLITTER.splitToList(element)\n .stream()\n .map(KEYVALUE_SPLITTER::splitToList)\n .filter(kv -> kv.size() == 2)\n .collect(Collectors.toMap(\n kv -> kv.get(0).toLowerCase(Locale.ROOT), // one of \"for\", \"by\", \"proto\"\n kv -> stripQuotes(kv.get(1)) // ipv6 values are quoted, so we need to unquote those\n ));\n result.add(attrs);\n }\n }\n return result;\n }\n\n /**\n * Helper to remove optional surrounding quotes\n */\n private static String stripQuotes(String s) {\n if (s.length() >= 2 && s.charAt(0) == '\"' && s.charAt(s.length() - 1) == '\"') {\n return s.substring(1, s.length() - 1);\n }\n return s;\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/90eb2f9a8e3cd838d6892a4847a74e1642caaff5.json b/web/public/bundles/graylog/code/90eb2f9a8e3cd838d6892a4847a74e1642caaff5.json new file mode 100644 index 00000000..7b11ad1f --- /dev/null +++ b/web/public/bundles/graylog/code/90eb2f9a8e3cd838d6892a4847a74e1642caaff5.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "90eb2f9a8e3cd838d6892a4847a74e1642caaff5", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/buffers/processors/DecodingProcessor.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.shared.buffers.processors;\n\nimport com.codahale.metrics.Counter;\nimport com.codahale.metrics.MetricRegistry;\nimport com.codahale.metrics.Timer;\nimport com.google.common.base.Strings;\nimport com.google.common.collect.Lists;\nimport com.google.common.net.InetAddresses;\nimport com.google.inject.assistedinject.Assisted;\nimport com.google.inject.assistedinject.AssistedInject;\nimport com.lmax.disruptor.EventHandler;\nimport org.graylog.failure.FailureSubmissionService;\nimport org.graylog2.plugin.GlobalMetricNames;\nimport org.graylog2.plugin.Message;\nimport org.graylog2.plugin.ResolvableInetSocketAddress;\nimport org.graylog2.plugin.ServerStatus;\nimport org.graylog2.plugin.buffers.MessageEvent;\nimport org.graylog2.plugin.inputs.codecs.Codec;\nimport org.graylog2.plugin.inputs.codecs.MultiMessageCodec;\nimport org.graylog2.plugin.inputs.failure.InputProcessingException;\nimport org.graylog2.plugin.journal.RawMessage;\nimport org.graylog2.shared.messageq.MessageQueueAcknowledger;\nimport org.graylog2.shared.utilities.ExceptionUtils;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport javax.annotation.Nonnull;\nimport javax.annotation.Nullable;\nimport java.util.Collection;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Optional;\nimport java.util.concurrent.TimeUnit;\n\nimport static com.codahale.metrics.MetricRegistry.name;\nimport static org.graylog2.shared.utilities.InputMessageSizeDistributor.distribute;\n\npublic class DecodingProcessor implements EventHandler {\n private static final Logger LOG = LoggerFactory.getLogger(DecodingProcessor.class);\n\n private final Timer decodeTime;\n private final Counter decodedTrafficCounter;\n\n public interface Factory {\n DecodingProcessor create(@Assisted(\"decodeTime\") Timer decodeTime, @Assisted(\"parseTime\") Timer parseTime);\n }\n\n private final Map> codecFactory;\n private final ServerStatus serverStatus;\n private final MetricRegistry metricRegistry;\n private final MessageQueueAcknowledger acknowledger;\n private final FailureSubmissionService failureSubmissionService;\n private final Timer parseTime;\n\n @AssistedInject\n public DecodingProcessor(Map> codecFactory,\n final ServerStatus serverStatus,\n final MetricRegistry metricRegistry,\n MessageQueueAcknowledger acknowledger,\n FailureSubmissionService failureSubmissionService,\n @Assisted(\"decodeTime\") Timer decodeTime,\n @Assisted(\"parseTime\") Timer parseTime) {\n this.codecFactory = codecFactory;\n this.serverStatus = serverStatus;\n this.metricRegistry = metricRegistry;\n this.acknowledger = acknowledger;\n this.failureSubmissionService = failureSubmissionService;\n\n // these metrics are global to all processors, thus they are passed in directly to avoid relying on the class name\n this.parseTime = parseTime;\n this.decodeTime = decodeTime;\n decodedTrafficCounter = metricRegistry.counter(GlobalMetricNames.DECODED_TRAFFIC);\n }\n\n @Override\n public void onEvent(MessageEvent event, long sequence, boolean endOfBatch) throws Exception {\n final Timer.Context context = decodeTime.time();\n try {\n processMessage(event);\n } catch (Exception e) {\n final RawMessage rawMessage = event.getRaw();\n LOG.error(\"Error processing message {}\", rawMessage, ExceptionUtils.getRootCause(e));\n\n // Mark message as processed to avoid keeping it in the journal.\n acknowledger.acknowledge(rawMessage.getMessageQueueId());\n\n // always clear the event fields, even if they are null, to avoid later stages to process old messages.\n // basically this will make sure old messages are cleared out early.\n event.clearMessages();\n } finally {\n if (event.getMessage() != null) {\n event.getMessage().recordTiming(serverStatus, \"decode\", context.stop());\n } else if (event.getMessages() != null) {\n for (final Message message : event.getMessages()) {\n message.recordTiming(serverStatus, \"decode\", context.stop());\n }\n } else {\n // Acknowledge null messages\n acknowledger.acknowledge(event.getRaw().getMessageQueueId());\n }\n // aid garbage collection to collect the raw message early (to avoid promoting it to later generations).\n event.clearRaw();\n }\n }\n\n private void processMessage(final MessageEvent event) {\n final RawMessage raw = event.getRaw();\n\n // for backwards compatibility: the last source node should contain the input we use.\n // this means that extractors etc defined on the prior inputs are silently ignored.\n // TODO fix the above\n\n //.inputId checked during raw message decode!\n final String inputIdOnCurrentNode = raw.getInputIdOnCurrentNode().orElse(null);\n\n final Codec.Factory factory = codecFactory.get(raw.getCodecName());\n if (factory == null) {\n LOG.warn(\"Couldn't find factory for codec <{}>, skipping message {} on input <{}>.\",\n raw.getCodecName(), raw, inputIdOnCurrentNode);\n return;\n }\n\n final Codec codec = factory.create(raw.getCodecConfig());\n final String baseMetricName = name(codec.getClass(), inputIdOnCurrentNode);\n\n Optional message = Optional.empty();\n Collection messages = null;\n\n final Timer.Context decodeTimeCtx = parseTime.time();\n final long decodeTime;\n try {\n // This is ugly but needed for backwards compatibility of the Codec interface in 1.x.\n // TODO The Codec interface should be changed for 2.0 to support collections of messages so we can remove this hack.\n if (codec instanceof MultiMessageCodec) {\n messages = ((MultiMessageCodec) codec).decodeMessages(raw);\n } else {\n message = codec.decodeSafe(raw);\n }\n } catch (InputProcessingException e) {\n if (LOG.isTraceEnabled() && e.inputMessage().isPresent()) {\n LOG.error(\"{} - input message: {}\", e.getMessage(), e.inputMessage().get(), e.getCause());\n } else {\n LOG.error(e.getMessage(), e.getCause());\n }\n metricRegistry.meter(name(baseMetricName, \"failures\")).mark();\n failureSubmissionService.submitInputFailure(e, inputIdOnCurrentNode);\n throw e;\n } catch (RuntimeException e) {\n LOG.error(\"Unable to decode raw message {} on input <{}>.\", raw, inputIdOnCurrentNode);\n metricRegistry.meter(name(baseMetricName, \"failures\")).mark();\n failureSubmissionService.submitInputFailure(\n InputProcessingException.create(\n \"Unable to decode raw message due to an unexpected error.\", e, raw), inputIdOnCurrentNode);\n throw e;\n } finally {\n decodeTime = decodeTimeCtx.stop();\n }\n\n if (message.isPresent()) {\n event.setMessage(postProcessMessage(raw, codec, inputIdOnCurrentNode, baseMetricName, message.get(), decodeTime, raw.getInputMessageSize()));\n } else if (messages != null && !messages.isEmpty()) {\n event.setMessages(postProcessMultipleMessages(raw, codec, inputIdOnCurrentNode, baseMetricName, messages, decodeTime));\n }\n }\n\n private List postProcessMultipleMessages(RawMessage raw,\n Codec codec,\n String inputIdOnCurrentNode,\n String baseMetricName,\n Collection messages,\n long decodeTime) {\n final List processedMessages = Lists.newArrayListWithCapacity(messages.size());\n for (final Message msg : messages) {\n final Message processedMessage = postProcessMessage(raw, codec, inputIdOnCurrentNode, baseMetricName, msg, decodeTime, 0L);\n if (processedMessage != null) {\n processedMessages.add(processedMessage);\n }\n }\n\n distributePayloadSize(processedMessages, raw.getInputMessageSize());\n return processedMessages;\n }\n\n private void distributePayloadSize(List messages, long payloadLength) {\n if (messages.isEmpty()) {\n return;\n }\n final long[] weights = messages.stream()\n .mapToLong(Message::getSize)\n .toArray();\n final long[] sizes = distribute(payloadLength, weights);\n\n for (int i = 0; i < messages.size(); i++) {\n messages.get(i).addField(Message.FIELD_GL2_INPUT_MESSAGE_SIZE, sizes[i]);\n }\n }\n\n @Nullable\n private Message postProcessMessage(RawMessage raw,\n Codec codec,\n String inputIdOnCurrentNode,\n String baseMetricName,\n @Nonnull Message message,\n long decodeTime,\n long inputSize) {\n if (!message.isComplete()) {\n metricRegistry.meter(name(baseMetricName, \"incomplete\")).mark();\n if (LOG.isDebugEnabled()) {\n LOG.debug(\"Dropping incomplete message {} on input <{}>. Parsed fields: [{}]\",\n raw, inputIdOnCurrentNode, message.getFields());\n }\n return null;\n }\n\n message.setMessageQueueId(raw.getMessageQueueId());\n // Some input paths set the sequenceNr through the Codec, not the RawMessage\n if (message.getSequenceNr() == 0) {\n message.setSequenceNr(raw.getSequenceNr());\n }\n message.recordTiming(serverStatus, \"parse\", decodeTime);\n metricRegistry.timer(name(baseMetricName, \"parseTime\")).update(decodeTime, TimeUnit.NANOSECONDS);\n\n applySourceNodeFields(raw, message);\n\n if (inputIdOnCurrentNode != null) {\n try {\n message.setSourceInputId(inputIdOnCurrentNode);\n } catch (RuntimeException e) {\n LOG.warn(\"Unable to find input with id {}, not setting input id in this message.\", inputIdOnCurrentNode, e);\n }\n }\n\n applyRemoteAddressFields(raw, message);\n\n if (codec.getConfiguration() != null && codec.getConfiguration().stringIsSet(Codec.Config.CK_OVERRIDE_SOURCE)) {\n message.setSource(codec.getConfiguration().getString(Codec.Config.CK_OVERRIDE_SOURCE));\n }\n\n // Make sure that there is a value for the source field.\n if (Strings.isNullOrEmpty(message.getSource())) {\n message.setSource(\"unknown\");\n }\n\n // The raw message timestamp is the receive time of the message. It has been created before writing the raw\n // message to the journal.\n // If the message was received through a forwarder, it might already have a receive time set.\n if (message.getReceiveTime() == null) {\n message.setReceiveTime(raw.getTimestamp());\n }\n\n metricRegistry.meter(name(baseMetricName, \"processedMessages\")).mark();\n decodedTrafficCounter.inc(message.getSize());\n // Preserve the size if it was already set by the forwarder.\n if (message.getField(Message.FIELD_GL2_INPUT_MESSAGE_SIZE) == null) {\n message.addField(Message.FIELD_GL2_INPUT_MESSAGE_SIZE, inputSize);\n }\n return message;\n }\n\n private void applySourceNodeFields(RawMessage raw, Message message) {\n for (final RawMessage.SourceNode node : raw.getSourceNodes()) {\n switch (node.type) {\n case SERVER:\n // Always use the last source node.\n if (message.getField(Message.FIELD_GL2_SOURCE_INPUT) != null) {\n LOG.debug(\"Multiple server nodes ({} {}) set for message id {}\",\n message.getField(Message.FIELD_GL2_SOURCE_INPUT), node.nodeId, message.getId());\n }\n message.addField(Message.FIELD_GL2_SOURCE_INPUT, node.inputId);\n message.addField(Message.FIELD_GL2_SOURCE_NODE, node.nodeId);\n break;\n // TODO Due to be removed in Graylog 3.x\n case RADIO:\n // Always use the last source node.\n if (message.getField(Message.FIELD_GL2_SOURCE_RADIO_INPUT) != null) {\n LOG.debug(\"Multiple radio nodes ({} {}) set for message id {}\",\n message.getField(Message.FIELD_GL2_SOURCE_RADIO_INPUT), node.nodeId, message.getId());\n }\n message.addField(Message.FIELD_GL2_SOURCE_RADIO_INPUT, node.inputId);\n message.addField(Message.FIELD_GL2_SOURCE_RADIO, node.nodeId);\n break;\n }\n }\n }\n\n private void applyRemoteAddressFields(RawMessage raw, Message message) {\n final ResolvableInetSocketAddress remoteAddress = raw.getRemoteAddress();\n if (remoteAddress != null) {\n final String addrString = InetAddresses.toAddrString(remoteAddress.getAddress());\n message.addField(Message.FIELD_GL2_REMOTE_IP, addrString);\n if (remoteAddress.getPort() > 0) {\n message.addField(Message.FIELD_GL2_REMOTE_PORT, remoteAddress.getPort());\n }\n if (remoteAddress.isReverseLookedUp()) { // avoid reverse lookup if the hostname is available\n message.addField(Message.FIELD_GL2_REMOTE_HOSTNAME, remoteAddress.getHostName());\n }\n if (Strings.isNullOrEmpty(message.getSource())) {\n message.setSource(addrString);\n }\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/912bbb9935c884e4e5b54ec405aae15f5c8792d8.json b/web/public/bundles/graylog/code/912bbb9935c884e4e5b54ec405aae15f5c8792d8.json new file mode 100644 index 00000000..9ca08861 --- /dev/null +++ b/web/public/bundles/graylog/code/912bbb9935c884e4e5b54ec405aae15f5c8792d8.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "912bbb9935c884e4e5b54ec405aae15f5c8792d8", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/cluster/ClusterLoggersResource.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.resources.cluster;\n\nimport com.codahale.metrics.annotation.Timed;\nimport io.swagger.v3.oas.annotations.Operation;\nimport io.swagger.v3.oas.annotations.Parameter;\nimport io.swagger.v3.oas.annotations.media.Content;\nimport io.swagger.v3.oas.annotations.media.Schema;\nimport io.swagger.v3.oas.annotations.responses.ApiResponse;\nimport io.swagger.v3.oas.annotations.responses.ApiResponses;\nimport io.swagger.v3.oas.annotations.tags.Tag;\nimport jakarta.inject.Inject;\nimport jakarta.inject.Named;\nimport jakarta.validation.constraints.Min;\nimport jakarta.validation.constraints.NotEmpty;\nimport jakarta.ws.rs.DefaultValue;\nimport jakarta.ws.rs.GET;\nimport jakarta.ws.rs.PUT;\nimport jakarta.ws.rs.Path;\nimport jakarta.ws.rs.PathParam;\nimport jakarta.ws.rs.Produces;\nimport jakarta.ws.rs.QueryParam;\nimport jakarta.ws.rs.core.Context;\nimport jakarta.ws.rs.core.HttpHeaders;\nimport jakarta.ws.rs.core.MediaType;\nimport jakarta.ws.rs.core.Response;\nimport org.apache.shiro.authz.annotation.RequiresAuthentication;\nimport org.graylog2.audit.jersey.NoAuditEvent;\nimport org.graylog2.cluster.Node;\nimport org.graylog2.cluster.NodeNotFoundException;\nimport org.graylog2.cluster.NodeService;\nimport org.graylog2.rest.RemoteInterfaceProvider;\nimport org.graylog2.rest.RestTools;\nimport org.graylog2.rest.models.system.loggers.responses.LoggersSummary;\nimport org.graylog2.rest.models.system.loggers.responses.SubsystemSummary;\nimport org.graylog2.rest.resources.system.logs.RemoteLoggersResource;\nimport org.graylog2.shared.rest.HideOnCloud;\nimport org.graylog2.shared.rest.resources.ProxiedResource;\n\nimport java.io.IOException;\nimport java.util.Map;\nimport java.util.Optional;\nimport java.util.concurrent.ExecutorService;\nimport java.util.function.Function;\n\n@RequiresAuthentication\n@Tag(name = \"Cluster/System/Loggers\", description = \"Cluster-wide access to internal Graylog loggers\")\n@Path(\"/cluster/system/loggers\")\npublic class ClusterLoggersResource extends ProxiedResource {\n @Inject\n public ClusterLoggersResource(NodeService nodeService,\n RemoteInterfaceProvider remoteInterfaceProvider,\n @Context HttpHeaders httpHeaders,\n @Named(\"proxiedRequestsExecutorService\") ExecutorService executorService) throws NodeNotFoundException {\n super(httpHeaders, nodeService, remoteInterfaceProvider, executorService);\n }\n\n @GET\n @Timed\n @Operation(summary = \"List all loggers of all nodes and their current levels\")\n @Produces(MediaType.APPLICATION_JSON)\n public Map> loggers() {\n return stripCallResult(requestOnAllNodes(RemoteLoggersResource.class, RemoteLoggersResource::loggers));\n }\n\n @GET\n @Timed\n @Path(\"/subsystems\")\n @Operation(summary = \"List all logger subsystems and their current levels\")\n @Produces(MediaType.APPLICATION_JSON)\n public Map> subsystems() {\n return stripCallResult(requestOnAllNodes(RemoteLoggersResource.class, RemoteLoggersResource::subsystems));\n }\n\n @PUT\n @Timed\n @Path(\"/{nodeId}/subsystems/{subsystem}/level/{level}\")\n @Operation(summary = \"Set the loglevel of a whole subsystem\",\n description = \"Provided level is falling back to DEBUG if it does not exist\")\n @ApiResponses(value = {\n @ApiResponse(responseCode = \"204\", description = \"Success\"),\n @ApiResponse(responseCode = \"404\", description = \"No such subsystem.\")\n })\n @NoAuditEvent(\"proxy resource, audit event will be emitted on target nodes\")\n public void setSubsystemLoggerLevel(\n @Parameter(name = \"nodeId\", required = true) @PathParam(\"nodeId\") @NotEmpty String nodeId,\n @Parameter(name = \"subsystem\", required = true) @PathParam(\"subsystem\") @NotEmpty String subsystemTitle,\n @Parameter(name = \"level\", required = true) @PathParam(\"level\") @NotEmpty String level) throws NodeNotFoundException, IOException {\n final Node node = this.nodeService.byNodeId(nodeId);\n final RemoteLoggersResource remoteLoggersResource = this.remoteInterfaceProvider.get(node, getAuthenticationToken(), RemoteLoggersResource.class);\n\n remoteLoggersResource.setSubsystemLoggerLevel(subsystemTitle, level).execute();\n }\n\n @PUT\n @Timed\n @Path(\"/{loggerName}/level/{level}\")\n @Operation(summary = \"Set the loglevel of a single logger\",\n description = \"Provided level is falling back to DEBUG if it does not exist\")\n @NoAuditEvent(\"proxy resource, audit event will be emitted on target nodes\")\n @Produces(MediaType.APPLICATION_JSON)\n public Map> setClusterSingleLoggerLevel(\n @Parameter(name = \"loggerName\", required = true) @PathParam(\"loggerName\") @NotEmpty String loggerName,\n @Parameter(name = \"level\", required = true) @PathParam(\"level\") @NotEmpty String level) {\n return requestOnAllNodes(RemoteLoggersResource.class, client -> client.setSingleLoggerLevel(loggerName, level));\n }\n\n @GET\n @Path(\"messages/recent/{nodeId}\")\n @Operation(summary = \"Get recent internal log messages from a specific node\")\n @ApiResponses(value = {\n @ApiResponse(responseCode = \"200\", description = \"Success\",\n content = @Content(mediaType = MediaType.TEXT_PLAIN,\n schema = @Schema(type = \"string\"))),\n @ApiResponse(responseCode = \"404\", description = \"Memory appender is disabled.\"),\n @ApiResponse(responseCode = \"500\", description = \"Memory appender is broken.\")\n })\n @Produces(MediaType.TEXT_PLAIN)\n @HideOnCloud\n public Response messages(@Parameter(name = \"nodeId\", description = \"The nodeId to get logs from\") @PathParam(\"nodeId\") @NotEmpty String nodeId,\n @Parameter(name = \"limit\", description = \"How many log messages should be returned. 0 returns all existing messages.\" +\n \"The limit can be rounded up to the next batch size and thus return slightly more logs than requested.\")\n @QueryParam(\"limit\") @DefaultValue(\"1000\") @Min(0L) int limit) throws IOException {\n\n var nodeResponse = doNodeApiCall(nodeId, RemoteLoggersResource.class, c -> c.messages(limit), Function.identity(), null);\n return RestTools.streamResponse(nodeResponse, MediaType.TEXT_PLAIN, null);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/913d53264e584ecbcbf6b1e3eb81ba7407fc407a.json b/web/public/bundles/graylog/code/913d53264e584ecbcbf6b1e3eb81ba7407fc407a.json new file mode 100644 index 00000000..1f9f53b5 --- /dev/null +++ b/web/public/bundles/graylog/code/913d53264e584ecbcbf6b1e3eb81ba7407fc407a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "913d53264e584ecbcbf6b1e3eb81ba7407fc407a", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/security/GranteeAuthorizer.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.security;\n\nimport com.google.inject.assistedinject.Assisted;\nimport com.google.inject.assistedinject.AssistedInject;\nimport org.apache.shiro.mgt.DefaultSecurityManager;\nimport org.apache.shiro.subject.ImmutablePrincipalCollection;\nimport org.apache.shiro.subject.Subject;\nimport org.graylog.grn.GRN;\nimport org.graylog.grn.GRNRegistry;\nimport org.graylog2.plugin.database.users.User;\n\nimport static com.google.common.base.Preconditions.checkArgument;\nimport static org.apache.commons.lang3.StringUtils.isNotBlank;\n\npublic class GranteeAuthorizer {\n public interface Factory {\n GranteeAuthorizer create(GRN grantee);\n GranteeAuthorizer create(User grantee);\n }\n\n private final Subject subject;\n\n @AssistedInject\n public GranteeAuthorizer(DefaultSecurityManager securityManager,\n GRNRegistry grnRegistry,\n @Assisted User grantee) {\n this(securityManager, grnRegistry.ofUser(grantee));\n }\n\n @AssistedInject\n public GranteeAuthorizer(DefaultSecurityManager securityManager, @Assisted GRN grantee) {\n this.subject = new Subject.Builder(securityManager)\n .principals(ImmutablePrincipalCollection.ofSinglePrincipal(grantee, \"GranteeAuthorizer\"))\n .authenticated(true)\n .sessionCreationEnabled(false)\n .buildSubject();\n }\n\n public boolean isPermitted(String permission, GRN target) {\n return isPermitted(permission, target.entity());\n }\n\n public boolean isPermitted(String permission) {\n checkArgument(isNotBlank(permission), \"permission cannot be null or empty\");\n return subject.isPermitted(permission);\n }\n\n public boolean isPermitted(String permission, String id) {\n checkArgument(isNotBlank(permission), \"permission cannot be null or empty\");\n checkArgument(isNotBlank(id), \"id cannot be null or empty\");\n\n return subject.isPermitted(permission + \":\" + id);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/919fe466fe5014bf5994a3ff3dba2fb6be63f34f.json b/web/public/bundles/graylog/code/919fe466fe5014bf5994a3ff3dba2fb6be63f34f.json new file mode 100644 index 00000000..5b5d528c --- /dev/null +++ b/web/public/bundles/graylog/code/919fe466fe5014bf5994a3ff3dba2fb6be63f34f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "919fe466fe5014bf5994a3ff3dba2fb6be63f34f", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/leader/FakeLeaderElectionModule.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.cluster.leader;\n\nimport com.google.common.util.concurrent.Service;\nimport com.google.inject.Scopes;\nimport com.google.inject.name.Names;\nimport org.graylog2.plugin.PluginModule;\n\npublic class FakeLeaderElectionModule extends PluginModule {\n\n @Override\n protected void configure() {\n bind(LeaderElectionService.class).to(FakeLeaderElectionService.class).in(Scopes.SINGLETON);\n bind(Service.class).annotatedWith(Names.named(\"LeaderElectionService\")).to(FakeLeaderElectionService.class);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/927bdbffee3419d93edbbcc5bba8a26fbbf614d4.json b/web/public/bundles/graylog/code/927bdbffee3419d93edbbcc5bba8a26fbbf614d4.json new file mode 100644 index 00000000..28e5d08a --- /dev/null +++ b/web/public/bundles/graylog/code/927bdbffee3419d93edbbcc5bba8a26fbbf614d4.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "927bdbffee3419d93edbbcc5bba8a26fbbf614d4", + "language": "typescript", + "path": "graylog2-web-interface/src/views/components/widgets/WidgetActionsMenu.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport { useState, useContext, useCallback } from 'react';\nimport styled from 'styled-components';\nimport { PluginStore } from 'graylog-web-plugin/plugin';\n\nimport type { BackendWidgetPosition } from 'views/types';\nimport ExportModal from 'views/components/export/ExportModal';\nimport MoveWidgetToTab from 'views/logic/views/MoveWidgetToTab';\nimport { loadAsDashboard, loadDashboard } from 'views/logic/views/Actions';\nimport { IconButton } from 'components/common';\nimport type WidgetPosition from 'views/logic/widgets/WidgetPosition';\nimport View from 'views/logic/views/View';\nimport Search from 'views/logic/search/Search';\nimport CopyWidgetToDashboard from 'views/logic/views/CopyWidgetToDashboard';\nimport IfSearch from 'views/components/search/IfSearch';\nimport { MenuItem, DeleteMenuItem } from 'components/bootstrap';\nimport type Widget from 'views/logic/widgets/Widget';\nimport iterateConfirmationHooks from 'views/hooks/IterateConfirmationHooks';\nimport DrilldownContext from 'views/components/contexts/DrilldownContext';\nimport useView from 'views/hooks/useView';\nimport createSearch from 'views/logic/slices/createSearch';\nimport type { ViewsDispatch } from 'views/stores/useViewsDispatch';\nimport useViewsDispatch from 'views/stores/useViewsDispatch';\nimport { selectQuery, updateView } from 'views/logic/slices/viewSlice';\nimport { duplicateWidget, removeWidget } from 'views/logic/slices/widgetActions';\nimport fetchSearch from 'views/logic/views/fetchSearch';\nimport type { HistoryFunction } from 'routing/useHistory';\nimport useHistory from 'routing/useHistory';\nimport useSendTelemetry from 'logic/telemetry/useSendTelemetry';\nimport useParameters from 'views/hooks/useParameters';\nimport { TELEMETRY_EVENT_TYPE } from 'logic/telemetry/Constants';\nimport ExtractWidgetIntoNewView from 'views/logic/views/ExtractWidgetIntoNewView';\nimport ExtraMenuWidgetActions from 'views/components/widgets/ExtraMenuWidgetActions';\nimport { widgetActionsMenuClass } from 'views/components/widgets/Constants';\nimport type { ActionComponents } from 'views/components/actions/ActionHandler';\nimport { getView, updateView as _updateView } from 'views/api/views';\n\nimport ReplaySearchButton from './ReplaySearchButton';\nimport ExtraDropdownWidgetActions from './ExtraDropdownWidgetActions';\nimport CopyToDashboard from './CopyToDashboardForm';\nimport MoveWidgetToTabModal from './MoveWidgetToTabModal';\nimport WidgetActionDropdown from './WidgetActionDropdown';\nimport WidgetHorizontalStretch from './WidgetHorizontalStretch';\n\nimport IfInteractive from '../dashboard/IfInteractive';\nimport IfDashboard from '../dashboard/IfDashboard';\nimport WidgetFocusContext from '../contexts/WidgetFocusContext';\nimport WidgetContext from '../contexts/WidgetContext';\n\nconst Container = styled.div`\n position: relative; // required for absolute positioned widget actions\n display: flex;\n align-items: center;\n min-height: 100%;\n`;\n\nconst WidgetActions = styled.div`\n display: flex;\n line-height: 0;\n height: 100%;\n align-items: center;\n\n > *:not(:last-child) {\n margin-right: 2px;\n }\n`;\n\nconst _onCopyToDashboard = async (\n view: View,\n setShowCopyToDashboard: (show: boolean) => void,\n widgetId: string,\n dashboardId: string | undefined | null,\n history: HistoryFunction,\n) => {\n if (!dashboardId) {\n return;\n }\n\n const dashboardJson = await getView(dashboardId);\n const dashboard = View.fromJSON(dashboardJson);\n const search = await fetchSearch(dashboardJson.search_id).then((searchJson) => Search.fromJSON(searchJson));\n const newDashboard = CopyWidgetToDashboard(widgetId, view, dashboard.toBuilder().search(search).build());\n\n if (newDashboard?.search) {\n const newSearch = await createSearch(newDashboard.search);\n const newDashboardWithSearch = newDashboard.toBuilder().search(newSearch).build();\n await _updateView(newDashboardWithSearch);\n\n loadDashboard(history, newDashboardWithSearch.id);\n }\n\n setShowCopyToDashboard(false);\n};\n\nconst _onCreateNewDashboard = async (view: View, widgetId: string, history: HistoryFunction) => {\n const newView = ExtractWidgetIntoNewView(view, widgetId);\n\n loadAsDashboard(history, newView);\n};\n\nconst _onMoveWidgetToPage = async (\n dispatch: ViewsDispatch,\n view: View,\n setShowMoveWidgetToTab: (show: boolean) => void,\n widgetId: string,\n queryId: string,\n keepCopy: boolean,\n) => {\n if (!queryId) {\n return;\n }\n\n const newDashboard = MoveWidgetToTab(widgetId, queryId, view, keepCopy);\n\n if (newDashboard) {\n const searchResponse = await createSearch(newDashboard.search);\n const updatedDashboard = newDashboard.toBuilder().search(searchResponse).build();\n await dispatch(updateView(updatedDashboard, true));\n setShowMoveWidgetToTab(false);\n await dispatch(selectQuery(queryId));\n }\n};\n\nconst defaultOnDeleteWidget = async (_widget: Widget, _view: View, title: string) =>\n // eslint-disable-next-line no-alert\n window.confirm(`Are you sure you want to remove the widget \"${title}\"?`);\n\nconst _onDelete = (widget: Widget, view: View, title: string) => async (dispatch: ViewsDispatch) => {\n const pluggableWidgetDeletionHooks = PluginStore.exports('views.hooks.confirmDeletingWidget');\n\n const result = await iterateConfirmationHooks(\n [...pluggableWidgetDeletionHooks, defaultOnDeleteWidget],\n widget,\n view,\n title,\n );\n\n return result === true ? dispatch(removeWidget(widget.id)) : Promise.resolve();\n};\n\nconst _onDuplicate = (widgetId: string, unsetWidgetFocusing: () => void, title: string) => (dispatch: ViewsDispatch) =>\n dispatch(duplicateWidget(widgetId, title)).then(() => unsetWidgetFocusing());\n\ntype Props = {\n isFocused: boolean;\n onPositionsChange: (position: BackendWidgetPosition) => void;\n position: WidgetPosition;\n title: string;\n toggleEdit: () => void;\n};\n\nconst WidgetActionsMenu = ({ isFocused, onPositionsChange, position, title, toggleEdit }: Props) => {\n const widget = useContext(WidgetContext);\n const view = useView();\n const { query, timerange, streams, streamCategories } = useContext(DrilldownContext);\n const { setWidgetFocusing, unsetWidgetFocusing } = useContext(WidgetFocusContext);\n const [showCopyToDashboard, setShowCopyToDashboard] = useState(false);\n const [showExport, setShowExport] = useState(false);\n const [showMoveWidgetToTab, setShowMoveWidgetToTab] = useState(false);\n const dispatch = useViewsDispatch();\n const history = useHistory();\n const sendTelemetry = useSendTelemetry('search-widget');\n const { parameters, parameterBindings } = useParameters();\n const [overflowingComponents, setOverflowingComponents] = useState({});\n const overflowingComponentsValues: Array = Object.values(overflowingComponents);\n\n const onDuplicate = useCallback(() => {\n sendTelemetry(TELEMETRY_EVENT_TYPE.SEARCH_WIDGET_ACTION.DUPLICATE, {\n app_action_value: 'widget-duplicate-button',\n });\n\n return dispatch(_onDuplicate(widget.id, unsetWidgetFocusing, title));\n }, [sendTelemetry, dispatch, widget.id, unsetWidgetFocusing, title]);\n\n const onCopyToDashboard = useCallback(\n (widgetId: string, dashboardId: string) => {\n sendTelemetry(TELEMETRY_EVENT_TYPE.SEARCH_WIDGET_ACTION.COPY_TO_DASHBOARD, {\n app_action_value: 'widget-copy-to-dashboard-button',\n });\n\n return _onCopyToDashboard(view, setShowCopyToDashboard, widgetId, dashboardId, history);\n },\n [history, sendTelemetry, view],\n );\n\n const onCreateNewDashboard = useCallback(() => {\n sendTelemetry(TELEMETRY_EVENT_TYPE.SEARCH_WIDGET_ACTION.CREATE_NEW_DASHBOARD, {\n app_action_value: 'widget-create-new-dashboard-button',\n });\n\n return _onCreateNewDashboard(view, widget.id, history);\n }, [sendTelemetry, view, widget.id, history]);\n\n const onMoveWidgetToTab = useCallback(\n (widgetId: string, queryId: string, keepCopy: boolean) => {\n sendTelemetry(TELEMETRY_EVENT_TYPE.SEARCH_WIDGET_ACTION.MOVE, {\n app_action_value: 'widget-move-button',\n });\n\n return _onMoveWidgetToPage(dispatch, view, setShowMoveWidgetToTab, widgetId, queryId, keepCopy);\n },\n [dispatch, sendTelemetry, view],\n );\n const onDelete = useCallback(() => {\n sendTelemetry(TELEMETRY_EVENT_TYPE.SEARCH_WIDGET_ACTION.DELETED, {\n app_action_value: 'widget-delete-button',\n });\n\n return dispatch(_onDelete(widget, view, title));\n }, [dispatch, sendTelemetry, title, view, widget]);\n const focusWidget = useCallback(() => {\n sendTelemetry(TELEMETRY_EVENT_TYPE.SEARCH_WIDGET_ACTION.FOCUSED, {\n app_action_value: 'widget-focus-button',\n });\n\n return setWidgetFocusing(widget.id);\n }, [sendTelemetry, setWidgetFocusing, widget.id]);\n\n return (\n \n \n \n \n \n \n {isFocused && }\n \n \n \n {!isFocused && (\n <>\n \n \n \n )}\n\n \n\n \n Duplicate\n \n setShowCopyToDashboard(true)}>Copy to Dashboard\n \n \n setShowMoveWidgetToTab(true)}>Move to Page\n \n \n \n \n \n\n {showCopyToDashboard && (\n onCopyToDashboard(widget.id, dashboardId)}\n onCancel={() => setShowCopyToDashboard(false)}\n submitLoadingText=\"Copying widget...\"\n submitButtonText=\"Copy widget\"\n onCreateNewDashboard={onCreateNewDashboard}\n />\n )}\n\n {showExport && (\n setShowExport(false)} />\n )}\n\n {showMoveWidgetToTab && (\n setShowMoveWidgetToTab(false)}\n onSubmit={onMoveWidgetToTab}\n />\n )}\n \n {overflowingComponentsValues}\n \n \n );\n};\n\nexport default WidgetActionsMenu;\n" +} diff --git a/web/public/bundles/graylog/code/933c783fc3cc0396f8f9594ec9a4600fbfb72cbe.json b/web/public/bundles/graylog/code/933c783fc3cc0396f8f9594ec9a4600fbfb72cbe.json new file mode 100644 index 00000000..3c56fa4a --- /dev/null +++ b/web/public/bundles/graylog/code/933c783fc3cc0396f8f9594ec9a4600fbfb72cbe.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "933c783fc3cc0396f8f9594ec9a4600fbfb72cbe", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/collectors/db/ComponentHealthDTO.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.collectors.db;\n\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonInclude;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.jackson.databind.annotation.JsonDeserialize;\nimport com.fasterxml.jackson.databind.annotation.JsonSerialize;\nimport com.google.auto.value.AutoValue;\nimport jakarta.annotation.Nullable;\nimport org.graylog2.jackson.MongoInstantDeserializer;\nimport org.graylog2.jackson.MongoInstantSerializer;\n\nimport java.time.Instant;\nimport java.util.Collections;\nimport java.util.Map;\nimport java.util.Optional;\n\n@AutoValue\n@JsonDeserialize(builder = ComponentHealthDTO.Builder.class)\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic abstract class ComponentHealthDTO {\n public static final String HEALTHY_FIELD = \"healthy\";\n\n @JsonProperty(HEALTHY_FIELD)\n public abstract boolean healthy();\n\n @JsonProperty(\"start_time\")\n @JsonSerialize(contentUsing = MongoInstantSerializer.class)\n public abstract Optional startTime();\n\n @JsonProperty(\"last_error\")\n public abstract Optional lastError();\n\n @JsonProperty(\"status\")\n public abstract Optional status();\n\n @JsonProperty(\"status_time\")\n @JsonSerialize(contentUsing = MongoInstantSerializer.class)\n public abstract Optional statusTime();\n\n @JsonProperty(\"components\")\n public abstract Map components();\n\n public static Builder builder() {\n return Builder.create();\n }\n\n @AutoValue.Builder\n public abstract static class Builder {\n\n @JsonCreator\n public static Builder create() {\n return new AutoValue_ComponentHealthDTO.Builder()\n .components(Collections.emptyMap());\n }\n\n @JsonProperty(HEALTHY_FIELD)\n public abstract Builder healthy(boolean healthy);\n\n @JsonProperty(\"start_time\")\n @JsonDeserialize(using = MongoInstantDeserializer.class)\n public abstract Builder startTime(@Nullable Instant startTime);\n\n @JsonProperty(\"last_error\")\n public abstract Builder lastError(@Nullable String lastError);\n\n @JsonProperty(\"status\")\n public abstract Builder status(@Nullable String status);\n\n @JsonProperty(\"status_time\")\n @JsonDeserialize(using = MongoInstantDeserializer.class)\n public abstract Builder statusTime(@Nullable Instant statusTime);\n\n @JsonProperty(\"components\")\n public abstract Builder components(Map components);\n\n public abstract ComponentHealthDTO build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/93eaeb1fba8f560ca9aa35bdf1e4b8462931ed7a.json b/web/public/bundles/graylog/code/93eaeb1fba8f560ca9aa35bdf1e4b8462931ed7a.json new file mode 100644 index 00000000..4b0221c4 --- /dev/null +++ b/web/public/bundles/graylog/code/93eaeb1fba8f560ca9aa35bdf1e4b8462931ed7a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "93eaeb1fba8f560ca9aa35bdf1e4b8462931ed7a", + "language": "typescript", + "path": "graylog2-web-interface/src/contexts/GlobalContextProviders.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport { ErrorBoundary } from 'react-error-boundary';\n\nimport usePluginEntities from 'hooks/usePluginEntities';\n\ntype Props = {\n children: React.ReactElement;\n};\n\nconst GlobalContextProviders = ({ children }: Props) => {\n const contextProviders = usePluginEntities('globalContextProviders');\n\n if (!contextProviders || contextProviders?.length === 0) {\n return children;\n }\n\n return contextProviders.reduce(\n (nestedChildren, GlobalContextProvider) => (\n nestedChildren}>\n {nestedChildren}\n \n ),\n children,\n );\n};\n\nexport default GlobalContextProviders;\n" +} diff --git a/web/public/bundles/graylog/code/94d0430258f8ec453a9a295c29d31831331d3188.json b/web/public/bundles/graylog/code/94d0430258f8ec453a9a295c29d31831331d3188.json new file mode 100644 index 00000000..2dbaf270 --- /dev/null +++ b/web/public/bundles/graylog/code/94d0430258f8ec453a9a295c29d31831331d3188.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "94d0430258f8ec453a9a295c29d31831331d3188", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/EntityWithExcerptFacade.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.contentpacks.facades;\n\nimport com.google.common.graph.Graph;\nimport com.google.common.graph.GraphBuilder;\nimport com.google.common.graph.ImmutableGraph;\nimport com.google.common.graph.MutableGraph;\nimport org.graylog2.contentpacks.EntityDescriptorIds;\nimport org.graylog2.contentpacks.model.EntityPermissions;\nimport org.graylog2.contentpacks.model.entities.Entity;\nimport org.graylog2.contentpacks.model.entities.EntityDescriptor;\nimport org.graylog2.contentpacks.model.entities.EntityExcerpt;\nimport org.graylog2.contentpacks.model.entities.NativeEntity;\nimport org.graylog2.contentpacks.model.entities.NativeEntityDescriptor;\nimport org.graylog2.contentpacks.model.entities.references.ValueReference;\nimport org.graylog2.plugin.indexer.searches.timeranges.InvalidRangeParametersException;\n\nimport java.util.Map;\nimport java.util.Optional;\nimport java.util.Set;\n\npublic interface EntityWithExcerptFacade {\n /**\n * Create an exportable model of a native entity referenced by an {@link EntityDescriptor}\n * including optional constraints.\n *\n * @param entityDescriptor the descriptor of the native entity to export\n * @param entityDescriptorIds the IDs for all entity descriptors\n * @return an exportable (serializable) model of the entity including optional constraints,\n * or {@link Optional#empty()} if the entity couldn't be found.\n */\n Optional exportEntity(EntityDescriptor entityDescriptor, EntityDescriptorIds entityDescriptorIds);\n\n /**\n * Create a native entity of type {@code T} from an entity model.\n *\n * @param entity the entity model from which a native entity should be created\n * @param parameters user-provided parameters to resolve parameters in the entity model\n * @param nativeEntities existing native entities to reference during the creation of the native entity\n * @param username the name of the user creating the entity\n * @return the created native entity wrapped in {@link NativeEntity }\n * @see Entity\n * @see NativeEntity\n */\n NativeEntity createNativeEntity(Entity entity,\n Map parameters,\n Map nativeEntities,\n String username) throws InvalidRangeParametersException;\n\n /**\n * Find an existing instance of the native entity described by the entity model.\n *\n * @param entity the entity model from which a native entity should be created\n * @param parameters user-provided parameters to resolve parameters in the entity model\n * @return the existing native entity in the database wrapped in {@link NativeEntity},\n * or {@link Optional#empty()} if the entity couldn't be found.\n * @see Entity\n * @see NativeEntity\n */\n default Optional> findExisting(Entity entity, Map parameters) {\n return Optional.empty();\n }\n\n /**\n * Loads the native entity instance for the given native entity descriptor.\n *\n * @param nativeEntityDescriptor the native entity descriptor\n * @return the existing native entity in the database wrapped in {@link NativeEntity},\n * or {@link Optional#empty()} if the native entity doesn't exist.\n */\n Optional> loadNativeEntity(NativeEntityDescriptor nativeEntityDescriptor);\n\n /**\n * Delete the given native entity.\n *\n * @param nativeEntity The native entity to delete\n */\n void delete(EntityClass nativeEntity);\n\n /**\n * Create an excerpt (id, type, title) of a native entity for display purposes.\n *\n * @param nativeEntity The native entity to create an excerpt of\n * @return The entity excerpt of the native entity\n * @see EntityExcerpt\n */\n EntityExcerpt createExcerpt(ExcerptClass nativeEntity);\n\n /**\n * Create entity excerpts of all native entities of type {@code T}.\n *\n * @return A collection of entity excerpts of all native entities of type {@code T}\n * @see EntityExcerpt\n */\n Set listEntityExcerpts();\n\n /**\n * Create the dependency graph of a native entity described by the given entity descriptor.\n *\n * @param entityDescriptor the descriptor of the native entity to resolve dependencies for\n * @return A directed graph of the native entity with entity descriptors as nodes.\n * @see Graph\n */\n default Graph resolveNativeEntity(EntityDescriptor entityDescriptor) {\n final MutableGraph mutableGraph = GraphBuilder.directed().build();\n mutableGraph.addNode(entityDescriptor);\n return ImmutableGraph.copyOf(mutableGraph);\n }\n\n /**\n * Create the dependency graph of an entity described by the given entity model during content pack installation.\n *\n * @param entity the entity model to resolve dependencies for\n * @return A directed graph of the native entity with entity models as nodes.\n * @see Graph\n */\n default Graph resolveForInstallation(Entity entity,\n Map parameters,\n Map entities) {\n final MutableGraph mutableGraph = GraphBuilder.directed().build();\n mutableGraph.addNode(entity);\n return ImmutableGraph.copyOf(mutableGraph);\n }\n\n /**\n * The implementing facade should return true if the corresponding database entity supports scopes by extending\n * {@link org.graylog2.database.entities.ScopedEntity}.\n *\n * This provides scope awareness within the implementing facade.\n */\n default boolean usesScopedEntities() {\n return false;\n }\n\n default Optional getCreatePermissions(Entity entity) {\n return Optional.empty();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/962b7af8cee8dbb6ca031f3a197b44c100f6122d.json b/web/public/bundles/graylog/code/962b7af8cee8dbb6ca031f3a197b44c100f6122d.json new file mode 100644 index 00000000..908df753 --- /dev/null +++ b/web/public/bundles/graylog/code/962b7af8cee8dbb6ca031f3a197b44c100f6122d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "962b7af8cee8dbb6ca031f3a197b44c100f6122d", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/backend/MongoDBAuthServiceBackend.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.security.authservice.backend;\n\nimport com.unboundid.util.Base64;\nimport org.graylog.security.authservice.AuthServiceBackend;\nimport org.graylog.security.authservice.AuthServiceBackendDTO;\nimport org.graylog.security.authservice.AuthServiceCredentials;\nimport org.graylog.security.authservice.AuthenticationDetails;\nimport org.graylog.security.authservice.ProvisionerService;\nimport org.graylog.security.authservice.UserDetails;\nimport org.graylog.security.authservice.test.AuthServiceBackendTestResult;\nimport org.graylog2.plugin.database.users.User;\nimport org.graylog2.plugin.security.PasswordAlgorithm;\nimport org.graylog2.security.PasswordAlgorithmFactory;\nimport org.graylog2.security.encryption.EncryptedValue;\nimport org.graylog2.security.encryption.EncryptedValueService;\nimport org.graylog2.shared.users.UserService;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport javax.annotation.Nullable;\n\nimport jakarta.inject.Inject;\n\nimport java.util.Collections;\nimport java.util.Optional;\n\npublic class MongoDBAuthServiceBackend implements AuthServiceBackend {\n public static final String NAME = \"internal-mongodb\";\n private static final Logger LOG = LoggerFactory.getLogger(MongoDBAuthServiceBackend.class);\n\n private final UserService userService;\n private final EncryptedValueService encryptedValueService;\n private final PasswordAlgorithmFactory passwordAlgorithmFactory;\n\n @Inject\n public MongoDBAuthServiceBackend(UserService userService,\n EncryptedValueService encryptedValueService,\n PasswordAlgorithmFactory passwordAlgorithmFactory) {\n this.userService = userService;\n this.encryptedValueService = encryptedValueService;\n this.passwordAlgorithmFactory = passwordAlgorithmFactory;\n }\n\n @Override\n public Optional authenticateAndProvision(AuthServiceCredentials authCredentials,\n ProvisionerService provisionerService) {\n final String username = authCredentials.username();\n\n LOG.debug(\"Trying to load user <{}> from database\", username);\n final User user = userService.load(username);\n if (user == null) {\n LOG.debug(\"User <{}> not found in database\", username);\n return Optional.empty();\n }\n if (user.isLocalAdmin()) {\n throw new IllegalStateException(\"Local admin user should have been handled earlier and not reach the authentication service authenticator\");\n }\n if (!user.getAccountStatus().equals(User.AccountStatus.ENABLED)) {\n LOG.warn(\"Account for user <{}> is disabled.\", user.getName());\n return Optional.empty();\n }\n if (user.isExternalUser()) {\n // We don't store passwords for users synced from an authentication service, so we can't handle them here.\n LOG.trace(\"Skipping mongodb-based password check for external user {}\", authCredentials.username());\n return Optional.empty();\n }\n\n if (!authCredentials.isAuthenticated()) {\n if (!isValidPassword(user, authCredentials.password())) {\n LOG.warn(\"Failed to validate password for user <{}>\", username);\n return Optional.empty();\n }\n }\n\n LOG.debug(\"Successfully validated password for user <{}>\", username);\n\n final UserDetails userDetails = provisionerService.provision(provisionerService.newDetails(this)\n .databaseId(user.getId())\n .username(user.getName())\n .accountIsEnabled(user.getAccountStatus().equals(User.AccountStatus.ENABLED))\n .email(user.getEmail())\n .firstName(user.getFirstName().orElse(null))\n .lastName(user.getLastName().orElse(null))\n .fullName(user.getFullName())\n // No need to set default roles because MongoDB users will not be provisioned by the provisioner\n .defaultRoles(Collections.emptySet())\n .base64AuthServiceUid(Base64.encode(user.getId()))\n .build());\n\n return Optional.of(AuthenticationDetails.builder().userDetails(userDetails).build());\n }\n\n private boolean isValidPassword(User user, EncryptedValue password) {\n final PasswordAlgorithm passwordAlgorithm = passwordAlgorithmFactory.forPassword(user.getHashedPassword());\n if (passwordAlgorithm == null) {\n return false;\n }\n return passwordAlgorithm.matches(user.getHashedPassword(), encryptedValueService.decrypt(password));\n }\n\n @Override\n public String backendType() {\n return NAME;\n }\n\n @Override\n public String backendId() {\n return AuthServiceBackend.INTERNAL_BACKEND_ID;\n }\n\n @Override\n public String backendTitle() {\n return \"Internal MongoDB\";\n }\n\n @Override\n public AuthServiceBackendDTO prepareConfigUpdate(AuthServiceBackendDTO existingBackend, AuthServiceBackendDTO newBackend) {\n return newBackend;\n }\n\n @Override\n public AuthServiceBackendTestResult testConnection(@Nullable AuthServiceBackendDTO existingBackendConfig) {\n return AuthServiceBackendTestResult.createFailure(\"Not implemented\");\n }\n\n @Override\n public AuthServiceBackendTestResult testLogin(AuthServiceCredentials credentials, @Nullable AuthServiceBackendDTO existingConfig) {\n return AuthServiceBackendTestResult.createFailure(\"Not implemented\");\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/96cde93176a4c9d23d7b239a0571cac40b18d3b9.json b/web/public/bundles/graylog/code/96cde93176a4c9d23d7b239a0571cac40b18d3b9.json new file mode 100644 index 00000000..355a945f --- /dev/null +++ b/web/public/bundles/graylog/code/96cde93176a4c9d23d7b239a0571cac40b18d3b9.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "96cde93176a4c9d23d7b239a0571cac40b18d3b9", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/LookupTable.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.lookup;\n\nimport com.google.auto.value.AutoValue;\nimport com.google.common.collect.Streams;\nimport org.graylog2.plugin.lookup.LookupCache;\nimport org.graylog2.plugin.lookup.LookupCacheKey;\nimport org.graylog2.plugin.lookup.LookupDataAdapter;\nimport org.graylog2.plugin.lookup.LookupPreview;\nimport org.graylog2.plugin.lookup.LookupResult;\n\nimport javax.annotation.Nonnull;\nimport javax.annotation.Nullable;\nimport java.util.List;\nimport java.util.stream.Collectors;\n\nimport static com.google.common.collect.Streams.stream;\n\n/**\n * A LookupTable references a {@link LookupCache} and a {@link LookupDataAdapter}, which both have their own lifecycle.\n *

\n * Multiple lookup tables can use the same caches and adapters.\n */\n@AutoValue\npublic abstract class LookupTable {\n\n @Nullable\n public abstract String id();\n\n public abstract String title();\n\n public abstract String description();\n\n public abstract String name();\n\n public abstract LookupCache cache();\n\n public abstract LookupDataAdapter dataAdapter();\n\n public abstract LookupDefaultSingleValue defaultSingleValue();\n\n public abstract LookupDefaultMultiValue defaultMultiValue();\n\n public static Builder builder() {\n return new AutoValue_LookupTable.Builder();\n }\n\n @Nullable\n public String error() {\n return Streams.concat(stream(dataAdapter().getError()), stream(cache().getError()))\n .map(Throwable::getMessage)\n .collect(Collectors.joining(\"\\n\"));\n }\n\n @Nullable\n public LookupResult lookup(@Nonnull Object key) {\n final LookupResult result = cache().get(LookupCacheKey.create(dataAdapter(), key), () -> dataAdapter().get(key));\n\n if (result.hasError()) {\n return result;\n }\n // The default value will only be used if single, multi and list values are empty\n if (result.isEmpty()) {\n LookupResult.Builder builder = LookupResult.addDefaults(defaultSingleValue(), defaultMultiValue()).hasError(result.hasError());\n if (result.hasTTL()) {\n builder.cacheTTL(result.cacheTTL());\n }\n return builder.build();\n }\n return result;\n }\n\n public LookupResult setValue(@Nonnull Object key, @Nonnull Object value) {\n final LookupResult result = dataAdapter().setValue(key, value);\n cache().purge(LookupCacheKey.create(dataAdapter(), key));\n return result;\n }\n\n public LookupResult setValueWithTtl(@Nonnull Object key, @Nonnull Object value, @Nonnull Long ttlSec) {\n final LookupResult result = dataAdapter().setValueWithTtl(key, value, ttlSec);\n cache().purge(LookupCacheKey.create(dataAdapter(), key));\n return result;\n }\n\n public LookupResult setStringList(@Nonnull Object key, @Nonnull List value) {\n final LookupResult result = dataAdapter().setStringList(key, value);\n cache().purge(LookupCacheKey.create(dataAdapter(), key));\n return result;\n }\n\n public LookupResult setStringListWithTtl(@Nonnull Object key, @Nonnull List value, @Nonnull Long ttlSec) {\n final LookupResult result = dataAdapter().setStringListWithTtl(key, value, ttlSec);\n cache().purge(LookupCacheKey.create(dataAdapter(), key));\n return result;\n }\n\n public LookupResult addStringList(@Nonnull Object key, @Nonnull List value, boolean keepDuplicates) {\n final LookupResult result = dataAdapter().addStringList(key, value, keepDuplicates);\n cache().purge(LookupCacheKey.create(dataAdapter(), key));\n return result;\n }\n\n public LookupResult removeStringList(@Nonnull Object key, @Nonnull List value) {\n final LookupResult result = dataAdapter().removeStringList(key, value);\n cache().purge(LookupCacheKey.create(dataAdapter(), key));\n return result;\n }\n\n public void clearKey(@Nonnull Object key) {\n dataAdapter().clearKey(key);\n cache().purge(LookupCacheKey.create(dataAdapter(), key));\n }\n\n public LookupResult assignTtl(@Nonnull Object key, @Nonnull Long ttlSec) {\n final LookupResult result = dataAdapter().assignTtl(key, ttlSec);\n cache().purge(LookupCacheKey.create(dataAdapter(), key));\n return result;\n }\n\n public boolean supportsPreview() {\n return dataAdapter().supportsPreview();\n }\n\n public LookupPreview getPreview(int size) {\n return dataAdapter().getPreview(size);\n }\n\n @AutoValue.Builder\n public abstract static class Builder {\n public abstract Builder id(String id);\n\n public abstract Builder title(String title);\n\n public abstract Builder description(String description);\n\n public abstract Builder name(String name);\n\n public abstract Builder cache(LookupCache cache);\n\n public abstract Builder dataAdapter(LookupDataAdapter dataAdapter);\n\n public abstract Builder defaultSingleValue(LookupDefaultSingleValue defaultSingleValue);\n\n public abstract Builder defaultMultiValue(LookupDefaultMultiValue defaultMultiValue);\n\n public abstract LookupTable build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/9790990428874b724dec2ca85e91aa3b800cc2d2.json b/web/public/bundles/graylog/code/9790990428874b724dec2ca85e91aa3b800cc2d2.json new file mode 100644 index 00000000..73e2a3dc --- /dev/null +++ b/web/public/bundles/graylog/code/9790990428874b724dec2ca85e91aa3b800cc2d2.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "9790990428874b724dec2ca85e91aa3b800cc2d2", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/pagerduty/client/MessageFactory.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.integrations.pagerduty.client;\n\nimport com.floreysoft.jmte.Engine;\nimport com.google.common.collect.ImmutableList;\nimport jakarta.inject.Inject;\nimport jakarta.inject.Named;\nimport org.apache.commons.lang3.Strings;\nimport org.graylog.events.notifications.EventNotificationContext;\nimport org.graylog.events.notifications.EventNotificationModelData;\nimport org.graylog.events.notifications.EventNotificationService;\nimport org.graylog.events.notifications.TemplateModelProvider;\nimport org.graylog.integrations.pagerduty.PagerDutyNotificationConfig;\nimport org.graylog.integrations.pagerduty.dto.Link;\nimport org.graylog.integrations.pagerduty.dto.PagerDutyMessage;\nimport org.graylog2.plugin.MessageSummary;\nimport org.graylog2.web.customization.CustomizationConfig;\nimport org.joda.time.DateTimeZone;\n\nimport java.net.MalformedURLException;\nimport java.net.URI;\nimport java.net.URISyntaxException;\nimport java.util.Arrays;\nimport java.util.HashMap;\nimport java.util.List;\nimport java.util.Locale;\nimport java.util.Map;\n\n/**\n * Factory class for PagerDuty messages, heavily based on the works of the cited authors.\n *\n * @author Jochen Schalanda\n * @author James Carr\n * @author Dennis Oelkers\n * @author Padma Liyanage\n * @author Edgar Molina\n */\npublic class MessageFactory {\n private static final List PAGER_DUTY_PRIORITIES = Arrays.asList(\"info\", \"info\", \"warning\", \"critical\", \"critical\");\n\n private final EventNotificationService eventNotificationService;\n private final CustomizationConfig customizationConfig;\n private final Engine templateEngine;\n private final TemplateModelProvider templateModelProvider;\n\n @Inject\n MessageFactory(EventNotificationService eventNotificationService,\n CustomizationConfig customizationConfig,\n @Named(\"JsonSafe\") Engine jsonTemplateEngine,\n TemplateModelProvider templateModelProvider) {\n this.eventNotificationService = eventNotificationService;\n this.customizationConfig = customizationConfig;\n this.templateEngine = jsonTemplateEngine;\n this.templateModelProvider = templateModelProvider;\n }\n\n public PagerDutyMessage createTriggerMessage(EventNotificationContext ctx) {\n final ImmutableList backlog = eventNotificationService.getBacklogForEvent(ctx);\n final EventNotificationModelData modelData = EventNotificationModelData.of(ctx, backlog);\n final PagerDutyNotificationConfig config = (PagerDutyNotificationConfig) ctx.notificationConfig();\n final Map messageModel = getCustomMessageModel(ctx, backlog);\n\n final String eventTitle = config.pagerDutyTitle()\n .map(customTitle -> templateEngine.transform(customTitle, messageModel))\n .orElse(modelData.eventDefinitionTitle());\n String eventPriority = PAGER_DUTY_PRIORITIES.get(0);\n int priority = ctx.eventDefinition().get().priority();\n if (priority >= 0 && priority < PAGER_DUTY_PRIORITIES.size()) {\n eventPriority = PAGER_DUTY_PRIORITIES.get(priority);\n }\n\n final List replayLink;\n try {\n final String replayUrl = Strings.CS.appendIfMissing(\n config.clientUrl(), \"/\") + \"alerts/\" + modelData.event().id() + \"/replay-search\";\n replayLink = List.of(new Link(new URI(replayUrl).toURL(), \"Replay Event\"));\n } catch (URISyntaxException | MalformedURLException e) {\n throw new IllegalStateException(\"Error when building the event replay URL.\", e);\n }\n\n String dedupKey = \"\";\n if (config.customIncident()) {\n final String formattedPrefix = templateEngine.transform(config.keyPrefix(), messageModel);\n final String prefixedIncidentKey = String.format(Locale.ROOT,\n \"%s/%s/%s\", formattedPrefix, modelData.event().sourceStreams(), eventTitle);\n // Use the custom incident key if provided, otherwise fall back to the prefixed key.\n dedupKey = config.incidentKey()\n .map(incidentKeyTemplate -> templateEngine.transform(incidentKeyTemplate, messageModel))\n .orElse(prefixedIncidentKey);\n }\n\n Map payload = new HashMap<>();\n payload.put(\"summary\", config.pagerDutyTitle()\n .map(customTitle -> templateEngine.transform(customTitle, messageModel))\n .orElse(modelData.event().message()));\n payload.put(\"source\", customizationConfig.productName() + \":\" + modelData.event().sourceStreams());\n payload.put(\"severity\", eventPriority);\n payload.put(\"timestamp\", modelData.event().eventTimestamp().toString());\n payload.put(\"component\", \"GraylogAlerts\");\n payload.put(\"group\", modelData.event().sourceStreams().toString());\n payload.put(\"class\", \"alerts\");\n payload.put(\"custom_details\", ctx.event().fields());\n\n return new PagerDutyMessage(\n config.routingKey(),\n \"trigger\",\n dedupKey,\n config.clientName(),\n config.clientUrl(),\n replayLink,\n payload);\n }\n\n private Map getCustomMessageModel(EventNotificationContext ctx, List backlog) {\n return templateModelProvider.of(ctx, backlog, DateTimeZone.UTC, Map.of(\"type\", PagerDutyNotificationConfig.TYPE_NAME));\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/97feabf2681a44a7860f19e0ce020c1c3c41d5c9.json b/web/public/bundles/graylog/code/97feabf2681a44a7860f19e0ce020c1c3c41d5c9.json new file mode 100644 index 00000000..5815f87c --- /dev/null +++ b/web/public/bundles/graylog/code/97feabf2681a44a7860f19e0ce020c1c3c41d5c9.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "97feabf2681a44a7860f19e0ce020c1c3c41d5c9", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/storage/providers/DatanodeClusterAdminAdapterProvider.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.storage.providers;\n\nimport jakarta.inject.Inject;\nimport jakarta.inject.Provider;\nimport org.graylog.plugins.datanode.DatanodeClusterAdminAdapter;\nimport org.graylog2.storage.DetectedSearchVersion;\nimport org.graylog2.storage.SearchVersion;\nimport org.graylog2.storage.VersionAwareProvider;\n\nimport java.util.Map;\n\npublic class DatanodeClusterAdminAdapterProvider extends VersionAwareProvider {\n @Inject\n public DatanodeClusterAdminAdapterProvider(@DetectedSearchVersion SearchVersion indexerVersion, Map> pluginBindings) {\n super(indexerVersion, pluginBindings);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/98d8d36dc9a3aa8f5777182ceb3eaf92309eec0b.json b/web/public/bundles/graylog/code/98d8d36dc9a3aa8f5777182ceb3eaf92309eec0b.json new file mode 100644 index 00000000..519c5d25 --- /dev/null +++ b/web/public/bundles/graylog/code/98d8d36dc9a3aa8f5777182ceb3eaf92309eec0b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "98d8d36dc9a3aa8f5777182ceb3eaf92309eec0b", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/security/RestrictToLeaderFilter.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.shared.security;\n\nimport jakarta.annotation.Priority;\nimport jakarta.ws.rs.ForbiddenException;\nimport jakarta.ws.rs.Priorities;\nimport jakarta.ws.rs.container.ContainerRequestContext;\nimport jakarta.ws.rs.container.ContainerRequestFilter;\nimport org.graylog2.cluster.leader.LeaderElectionService;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport jakarta.inject.Inject;\nimport jakarta.inject.Singleton;\n\nimport java.io.IOException;\n\n@Singleton\n@Priority(Priorities.AUTHORIZATION)\npublic class RestrictToLeaderFilter implements ContainerRequestFilter {\n private static final Logger LOG = LoggerFactory.getLogger(RestrictToLeaderFilter.class);\n\n private final LeaderElectionService leaderElectionService;\n\n @Inject\n public RestrictToLeaderFilter(LeaderElectionService leaderElectionService) {\n this.leaderElectionService = leaderElectionService;\n }\n\n @Override\n public void filter(ContainerRequestContext requestContext) throws IOException {\n if (!leaderElectionService.isLeader()) {\n LOG.warn(\"Rejected request to <{}> which is only allowed against leader nodes.\", requestContext.getUriInfo().getPath());\n throw new ForbiddenException(\"Request is only allowed against leader nodes.\");\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/9a6650731e8180415798d90c65532073cc41e2ac.json b/web/public/bundles/graylog/code/9a6650731e8180415798d90c65532073cc41e2ac.json new file mode 100644 index 00000000..4ad6d258 --- /dev/null +++ b/web/public/bundles/graylog/code/9a6650731e8180415798d90c65532073cc41e2ac.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "9a6650731e8180415798d90c65532073cc41e2ac", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/opensearch/OpensearchClusterResource.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.resources.opensearch;\n\nimport com.codahale.metrics.annotation.Timed;\nimport io.swagger.v3.oas.annotations.Operation;\nimport io.swagger.v3.oas.annotations.Parameter;\nimport io.swagger.v3.oas.annotations.media.Schema;\nimport io.swagger.v3.oas.annotations.tags.Tag;\nimport jakarta.inject.Inject;\nimport jakarta.ws.rs.DefaultValue;\nimport jakarta.ws.rs.GET;\nimport jakarta.ws.rs.Path;\nimport jakarta.ws.rs.Produces;\nimport jakarta.ws.rs.QueryParam;\nimport jakarta.ws.rs.core.MediaType;\nimport org.apache.lucene.queryparser.flexible.core.QueryNodeException;\nimport org.apache.shiro.authz.annotation.RequiresAuthentication;\nimport org.apache.shiro.authz.annotation.RequiresPermissions;\nimport org.graylog2.cluster.nodes.opensearch.OpensearchNode;\nimport org.graylog2.cluster.nodes.opensearch.OpensearchNodesProvider;\nimport org.graylog2.database.PaginatedList;\nimport org.graylog2.rest.models.SortOrder;\nimport org.graylog2.rest.models.tools.responses.PageListResponse;\nimport org.graylog2.rest.resources.entities.EntityAttribute;\nimport org.graylog2.rest.resources.entities.EntityDefaults;\nimport org.graylog2.rest.resources.entities.Sorting;\nimport org.graylog2.search.SearchQuery;\nimport org.graylog2.search.SearchQueryField;\nimport org.graylog2.search.SearchQueryParser;\nimport org.graylog2.shared.rest.resources.RestResource;\nimport org.graylog2.shared.security.RestPermissions;\nimport org.graylog2.utilities.lucene.InMemorySearchEngine;\nimport org.graylog2.utilities.lucene.LuceneInMemorySearchEngine;\n\nimport java.io.IOException;\nimport java.util.List;\nimport java.util.Locale;\n\n@Tag(name = \"System/Opensearch\", description = \"OpenSearch Node discovery\")\n@RequiresAuthentication\n@Path(\"/system/cluster/opensearch\")\n@Produces(MediaType.APPLICATION_JSON)\npublic class OpensearchClusterResource extends RestResource {\n\n private static final String DEFAULT_SORT_FIELD = \"name\";\n private static final String DEFAULT_SORT_DIRECTION = \"asc\";\n private static final List attributes = List.of(\n EntityAttribute.builder().id(OpensearchNode.FIELD_ID).title(\"ID\").type(SearchQueryField.Type.STRING).sortable(true).searchable(true).hidden(true).build(),\n EntityAttribute.builder().id(OpensearchNode.FIELD_NAME).title(\"Node Name\").type(SearchQueryField.Type.STRING).sortable(true).searchable(true).build(),\n EntityAttribute.builder().id(OpensearchNode.FIELD_VERSION).title(\"Version\").type(SearchQueryField.Type.STRING).sortable(true).searchable(true).build(),\n EntityAttribute.builder().id(OpensearchNode.FIELD_ROLES).title(\"Roles\").type(SearchQueryField.Type.STRING).sortable(true).searchable(true).build(),\n EntityAttribute.builder().id(OpensearchNode.FIELD_JVM_HEAP_MAX).title(\"JVM Heap Max\").type(SearchQueryField.Type.LONG).sortable(true).hidden(true).build(),\n EntityAttribute.builder().id(OpensearchNode.FIELD_JVM_HEAP_USED_PERCENT).title(\"JVM\").type(SearchQueryField.Type.DOUBLE).sortable(true).build(),\n EntityAttribute.builder().id(OpensearchNode.FIELD_CPU_USED_PERCENT).title(\"CPU\").type(SearchQueryField.Type.DOUBLE).sortable(true).build(),\n EntityAttribute.builder().id(OpensearchNode.FIELD_DISK_USED_PERCENT).title(\"Disk\").type(SearchQueryField.Type.DOUBLE).sortable(true).build(),\n EntityAttribute.builder().id(OpensearchNode.FIELD_DISK_USED).title(\"Disk Used\").type(SearchQueryField.Type.LONG).sortable(true).hidden(true).build(),\n EntityAttribute.builder().id(OpensearchNode.FIELD_DISK_TOTAL).title(\"Disk Total\").type(SearchQueryField.Type.LONG).sortable(true).hidden(true).build()\n );\n\n private static final EntityDefaults settings = EntityDefaults.builder()\n .sort(Sorting.create(DEFAULT_SORT_FIELD, Sorting.Direction.valueOf(DEFAULT_SORT_DIRECTION.toUpperCase(Locale.ROOT))))\n .build();\n\n private final InMemorySearchEngine opensearchNodesSearchService;\n private final SearchQueryParser searchQueryParser;\n\n @Inject\n public OpensearchClusterResource(OpensearchNodesProvider provider) {\n this.opensearchNodesSearchService = new LuceneInMemorySearchEngine<>(attributes, provider::get);\n this.searchQueryParser = new SearchQueryParser(DEFAULT_SORT_FIELD, attributes);\n }\n\n @GET\n @Timed\n @RequiresPermissions(RestPermissions.INDEXERCLUSTER_READ)\n @Operation(summary = \"Get a paginated list of all OpenSearch nodes in this cluster\")\n public PageListResponse listNodes(@Parameter(name = \"page\") @QueryParam(\"page\") @DefaultValue(\"1\") int page,\n @Parameter(name = \"per_page\") @QueryParam(\"per_page\") @DefaultValue(\"50\") int perPage,\n @Parameter(name = \"query\") @QueryParam(\"query\") @DefaultValue(\"\") String query,\n @Parameter(name = \"sort\",\n description = \"The field to sort the result on\",\n required = true,\n schema = @Schema(allowableValues = {\n OpensearchNode.FIELD_ID,\n OpensearchNode.FIELD_NAME,\n OpensearchNode.FIELD_VERSION,\n OpensearchNode.FIELD_ROLES,\n OpensearchNode.FIELD_JVM_HEAP_MAX,\n OpensearchNode.FIELD_JVM_HEAP_USED_PERCENT,\n OpensearchNode.FIELD_CPU_USED_PERCENT,\n OpensearchNode.FIELD_DISK_USED_PERCENT,\n OpensearchNode.FIELD_DISK_USED,\n OpensearchNode.FIELD_DISK_TOTAL\n }))\n @DefaultValue(DEFAULT_SORT_FIELD) @QueryParam(\"sort\") String sort,\n @Parameter(name = \"order\", description = \"The sort direction\",\n schema = @Schema(allowableValues = {\"asc\", \"desc\"}))\n @DefaultValue(DEFAULT_SORT_DIRECTION) @QueryParam(\"order\") SortOrder order\n\n ) throws QueryNodeException, IOException {\n final SearchQuery parsedQuery = searchQueryParser.parse(query);\n final PaginatedList result = opensearchNodesSearchService.search(parsedQuery, sort, order, page, perPage);\n return PageListResponse.create(query, result.pagination(),\n result.pagination().total(), sort, order, result.stream().toList(), attributes, settings);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/9aace5ed78af64b76eb37a0d6cdca8a9183d37fa.json b/web/public/bundles/graylog/code/9aace5ed78af64b76eb37a0d6cdca8a9183d37fa.json new file mode 100644 index 00000000..95502fd1 --- /dev/null +++ b/web/public/bundles/graylog/code/9aace5ed78af64b76eb37a0d6cdca8a9183d37fa.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "9aace5ed78af64b76eb37a0d6cdca8a9183d37fa", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/contentpacks/responses/ContentPackInstallationRequest.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.models.system.contentpacks.responses;\n\nimport com.fasterxml.jackson.annotation.JsonAutoDetect;\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.google.auto.value.AutoValue;\nimport org.graylog2.contentpacks.model.entities.references.ValueReference;\n\nimport javax.annotation.Nullable;\nimport java.util.Collections;\nimport java.util.Map;\n\n@JsonAutoDetect\n@AutoValue\npublic abstract class ContentPackInstallationRequest {\n @JsonProperty(\"parameters\")\n public abstract Map parameters();\n\n @JsonProperty(\"comment\")\n @Nullable\n public abstract String comment();\n\n @JsonCreator\n public static ContentPackInstallationRequest create(\n @JsonProperty(\"parameters\") @Nullable Map parameters,\n @JsonProperty(\"comment\") @Nullable String comment) {\n final Map parameterMap = parameters == null ? Collections.emptyMap() : parameters;\n return new AutoValue_ContentPackInstallationRequest(parameterMap, comment);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/9b286ac055819304f4088d5efc792e4198d89e01.json b/web/public/bundles/graylog/code/9b286ac055819304f4088d5efc792e4198d89e01.json new file mode 100644 index 00000000..156e6a68 --- /dev/null +++ b/web/public/bundles/graylog/code/9b286ac055819304f4088d5efc792e4198d89e01.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "9b286ac055819304f4088d5efc792e4198d89e01", + "language": "java", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/ism/IsmApi.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.storage.opensearch2.ism;\n\nimport com.fasterxml.jackson.core.JsonProcessingException;\nimport com.fasterxml.jackson.core.type.TypeReference;\nimport com.fasterxml.jackson.databind.JsonNode;\nimport com.fasterxml.jackson.databind.ObjectMapper;\nimport jakarta.inject.Inject;\nimport org.graylog.shaded.opensearch2.org.opensearch.client.Request;\nimport org.graylog.shaded.opensearch2.org.opensearch.client.Response;\nimport org.graylog.shaded.opensearch2.org.opensearch.client.ResponseException;\nimport org.graylog.storage.opensearch2.OpenSearchClient;\nimport org.graylog2.indexer.datastream.policy.IsmPolicy;\n\nimport java.io.IOException;\nimport java.util.Objects;\nimport java.util.Optional;\n\nimport static org.graylog2.shared.utilities.StringUtils.f;\n\npublic class IsmApi {\n\n private final ObjectMapper objectMapper;\n private final OpenSearchClient client;\n\n @Inject\n public IsmApi(OpenSearchClient client, ObjectMapper objectMapper) {\n this.objectMapper = objectMapper;\n this.client = client;\n }\n\n public Optional getPolicy(String policyId) {\n final Request request = request(\"GET\", \"policies/\" + policyId, null);\n return perform(request, new TypeReference<>() {}, \"Could not get ism policy\");\n }\n\n public void createPolicy(String policyId, IsmPolicy policy) {\n // remove id from policy since it is not allowed on creation\n if (!Objects.isNull(policy.id())) {\n if (!policyId.equals(policy.id())) {\n throw new IllegalArgumentException(\"Policy id present in policy does not match provided id.\");\n }\n policy = new IsmPolicy(policy.policy());\n }\n final Request request = request(\"PUT\", \"policies/\" + policyId, policy);\n perform(request,\n new TypeReference() {},\n \"Unable to create ism policy\");\n }\n\n public void addPolicyToIndex(String policyId, String index) {\n final Request request = request(\"POST\", \"add/\" + index, null);\n request.setJsonEntity(f(\"{\\\"policy_id\\\":\\\"%s\\\"}\", policyId));\n perform(request,\n new TypeReference() {},\n \"Unable to add policy to index\");\n }\n\n public void removePolicyFromIndex(String index) {\n final Request request = request(\"POST\", \"remove/\" + index, null);\n perform(request,\n new TypeReference() {},\n \"Unable to remove policy from index\");\n }\n\n public void deletePolicy(String policyId) {\n final Request request = request(\"DELETE\", \"policies/\" + policyId, null);\n perform(request,\n new TypeReference() {},\n \"Unable to delete policy\");\n }\n\n private Optional perform(Request request, TypeReference responseClass, String errorMessage) {\n return client.execute((c, requestOptions) -> {\n request.setOptions(requestOptions);\n\n Response response;\n try {\n response = c.getLowLevelClient().performRequest(request);\n } catch (ResponseException e) {\n if (e.getResponse().getStatusLine().getStatusCode() == 404)\n return Optional.empty();\n throw e;\n }\n return Optional.of(returnType(response, responseClass));\n }, errorMessage);\n }\n\n private R returnType(Response response, TypeReference responseClass) throws IOException {\n return objectMapper.readValue(response.getEntity().getContent(), responseClass);\n }\n\n private Request request(@SuppressWarnings(\"SameParameterValue\") String method, String endpoint, Object body) {\n final Request request = new Request(method, \"/_plugins/_ism/\" + endpoint);\n request.addParameter(\"format\", \"json\");\n try {\n request.setJsonEntity(objectMapper.writeValueAsString(body));\n } catch (JsonProcessingException e) {\n throw new RuntimeException(e);\n }\n return request;\n }\n\n}\n" +} diff --git a/web/public/bundles/graylog/code/9b4506e664f34e53512ce334d70ee7267beda65d.json b/web/public/bundles/graylog/code/9b4506e664f34e53512ce334d70ee7267beda65d.json new file mode 100644 index 00000000..1e2eb9ec --- /dev/null +++ b/web/public/bundles/graylog/code/9b4506e664f34e53512ce334d70ee7267beda65d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "9b4506e664f34e53512ce334d70ee7267beda65d", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/ServerPreflightChecksModule.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.bootstrap.preflight;\n\nimport com.google.inject.assistedinject.FactoryModuleBuilder;\nimport okhttp3.OkHttpClient;\nimport org.graylog2.audit.AuditEventSender;\nimport org.graylog2.audit.NullAuditEventSender;\nimport org.graylog2.cluster.ClusterConfigServiceImpl;\nimport org.graylog2.plugin.cluster.ClusterConfigService;\nimport org.graylog2.plugin.inject.Graylog2Module;\nimport org.graylog2.plugin.system.FilePersistedNodeIdProvider;\nimport org.graylog2.plugin.system.NodeId;\nimport org.graylog2.security.CustomCAX509TrustManager;\nimport org.graylog2.security.TrustManagerProvider;\nimport org.graylog2.shared.bindings.providers.OkHttpClientProvider;\nimport org.graylog2.storage.providers.ElasticsearchVersionProvider;\n\nimport javax.net.ssl.TrustManager;\nimport javax.net.ssl.X509TrustManager;\n\npublic class ServerPreflightChecksModule extends Graylog2Module {\n\n @Override\n protected void configure() {\n install(new FactoryModuleBuilder()\n .implement(TrustManager.class, CustomCAX509TrustManager.class)\n .build(TrustManagerProvider.class));\n\n bind(X509TrustManager.class).to(CustomCAX509TrustManager.class).asEagerSingleton();\n\n bind(OkHttpClient.class).toProvider(OkHttpClientProvider.class).asEagerSingleton();\n bind(ElasticsearchVersionProvider.class).asEagerSingleton();\n bind(NodeId.class).toProvider(FilePersistedNodeIdProvider.class).asEagerSingleton();\n bind(AuditEventSender.class).to(NullAuditEventSender.class);\n\n bind(ClusterConfigService.class).to(ClusterConfigServiceImpl.class).asEagerSingleton();\n\n // The MongoDBPreflightCheck is not registered here, because it is called separately from ServerBootstrap\n addPreflightCheck(SearchDbPreflightCheck.class);\n addPreflightCheck(DiskJournalPreflightCheck.class);\n addPreflightCheck(PasswordSecretPreflightCheck.class);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/9cc9b81d5877ba79221b8ffa91e229093495d713.json b/web/public/bundles/graylog/code/9cc9b81d5877ba79221b8ffa91e229093495d713.json new file mode 100644 index 00000000..8d757cee --- /dev/null +++ b/web/public/bundles/graylog/code/9cc9b81d5877ba79221b8ffa91e229093495d713.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "9cc9b81d5877ba79221b8ffa91e229093495d713", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/DecoratorServiceImpl.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.decorators;\n\nimport com.google.common.base.Strings;\nimport org.graylog2.database.MongoCollection;\nimport com.mongodb.client.model.Filters;\nimport jakarta.inject.Inject;\nimport org.graylog2.database.DbEntity;\nimport org.graylog2.database.MongoCollections;\nimport org.graylog2.database.NotFoundException;\nimport org.graylog2.database.utils.MongoUtils;\n\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Optional;\n\nimport static com.google.common.base.Preconditions.checkArgument;\n\npublic class DecoratorServiceImpl implements DecoratorService {\n private final MongoCollection collection;\n private final MongoUtils mongoUtils;\n\n @Inject\n public DecoratorServiceImpl(MongoCollections mongoCollections) {\n final String collectionName = DecoratorImpl.class.getAnnotation(DbEntity.class).collection();\n collection = mongoCollections.collection(collectionName, DecoratorImpl.class);\n mongoUtils = mongoCollections.utils(collection);\n }\n\n @Override\n public List findForStream(String streamId) {\n return collection.find(Filters.eq(DecoratorImpl.FIELD_STREAM, streamId)).into(new ArrayList<>());\n }\n\n @Override\n public List findForGlobal() {\n return collection.find(Filters.or(\n Filters.exists(DecoratorImpl.FIELD_STREAM, false),\n Filters.eq(DecoratorImpl.FIELD_STREAM, Optional.empty())\n )).into(new ArrayList<>());\n }\n\n @Override\n public Decorator findById(String decoratorId) throws NotFoundException {\n return mongoUtils.getById(decoratorId).orElseThrow(() ->\n new NotFoundException(\"Decorator with id \" + decoratorId + \" not found.\")\n );\n }\n\n @Override\n public List findAll() {\n return collection.find().into(new ArrayList<>());\n }\n\n @Override\n public Decorator create(String type, Map config, String stream, int order) {\n return DecoratorImpl.create(type, config, Optional.of(stream), order);\n }\n\n @Override\n public Decorator create(String type, Map config, int order) {\n return DecoratorImpl.create(type, config, order);\n }\n\n @Override\n public Decorator save(Decorator decorator) {\n checkArgument(decorator instanceof DecoratorImpl, \"Argument must be an instance of DecoratorImpl, not %s\", decorator.getClass());\n if (!Strings.isNullOrEmpty(decorator.id())) {\n collection.replaceOne(MongoUtils.idEq(decorator.id()), (DecoratorImpl) decorator);\n return decorator;\n }\n return mongoUtils.save((DecoratorImpl) decorator);\n }\n\n @Override\n public int delete(String id) {\n return mongoUtils.deleteById(id) ? 1 : 0;\n }\n\n}\n" +} diff --git a/web/public/bundles/graylog/code/9ce6953e68f05c021b08c493766699002b443f25.json b/web/public/bundles/graylog/code/9ce6953e68f05c021b08c493766699002b443f25.json new file mode 100644 index 00000000..5c650c8d --- /dev/null +++ b/web/public/bundles/graylog/code/9ce6953e68f05c021b08c493766699002b443f25.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "9ce6953e68f05c021b08c493766699002b443f25", + "language": "typescript", + "path": "graylog2-web-interface/src/pages/RoleDetailsPage.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport { useEffect, useState } from 'react';\n\nimport withParams from 'routing/withParams';\nimport { LinkContainer, PageHeader, DocumentTitle } from 'components/common';\nimport AuthzRolesDomain from 'domainActions/roles/AuthzRolesDomain';\nimport RoleDetails from 'components/roles/RoleDetails';\nimport RoleActionLinks from 'components/roles/navigation/RoleActionLinks';\nimport DocsHelper from 'util/DocsHelper';\nimport { Button } from 'components/bootstrap';\nimport Routes from 'routing/Routes';\nimport type Role from 'logic/roles/Role';\n\ntype Props = {\n params: {\n roleId: string;\n };\n};\n\nconst PageTitle = ({ fullName }: { fullName: string | undefined | null }) => (\n <>\n Role Details{' '}\n {fullName && (\n <>\n - {fullName}\n \n )}\n \n);\n\nconst RoleDetailsPage = ({ params }: Props) => {\n const [loadedRole, setLoadedRole] = useState();\n const roleId = params?.roleId;\n\n useEffect(() => {\n AuthzRolesDomain.load(roleId).then(setLoadedRole);\n }, [roleId]);\n\n return (\n \n }\n actions={}\n documentationLink={{\n title: 'Permissions documentation',\n path: DocsHelper.PAGES.USERS_ROLES,\n }}\n topActions={\n \n \n \n }>\n Overview of details like name, description and assigned users.\n \n \n \n );\n};\n\nexport default withParams(RoleDetailsPage);\n" +} diff --git a/web/public/bundles/graylog/code/9fe3251bf8c3f33c79033c877dd597dcf76da0af.json b/web/public/bundles/graylog/code/9fe3251bf8c3f33c79033c877dd597dcf76da0af.json new file mode 100644 index 00000000..c65bae93 --- /dev/null +++ b/web/public/bundles/graylog/code/9fe3251bf8c3f33c79033c877dd597dcf76da0af.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "9fe3251bf8c3f33c79033c877dd597dcf76da0af", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/cluster/ClusterLoadBalancerStatusResource.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.resources.cluster;\n\nimport com.codahale.metrics.annotation.Timed;\nimport io.swagger.v3.oas.annotations.Operation;\nimport io.swagger.v3.oas.annotations.Parameter;\nimport io.swagger.v3.oas.annotations.tags.Tag;\nimport org.apache.shiro.authz.annotation.RequiresAuthentication;\nimport org.apache.shiro.authz.annotation.RequiresPermissions;\nimport org.graylog2.audit.jersey.NoAuditEvent;\nimport org.graylog2.cluster.Node;\nimport org.graylog2.cluster.NodeNotFoundException;\nimport org.graylog2.cluster.NodeService;\nimport org.graylog2.rest.RemoteInterfaceProvider;\nimport org.graylog2.shared.rest.resources.ProxiedResource;\nimport org.graylog2.shared.rest.resources.system.RemoteLoadBalancerStatusResource;\nimport org.graylog2.shared.security.RestPermissions;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport retrofit2.Response;\n\nimport jakarta.inject.Inject;\nimport jakarta.inject.Named;\n\nimport jakarta.ws.rs.PUT;\nimport jakarta.ws.rs.Path;\nimport jakarta.ws.rs.PathParam;\nimport jakarta.ws.rs.Produces;\nimport jakarta.ws.rs.WebApplicationException;\nimport jakarta.ws.rs.core.Context;\nimport jakarta.ws.rs.core.HttpHeaders;\nimport jakarta.ws.rs.core.MediaType;\n\nimport java.io.IOException;\nimport java.util.concurrent.ExecutorService;\n\nimport static jakarta.ws.rs.core.Response.Status.BAD_GATEWAY;\n\n@RequiresAuthentication\n@Tag(name = \"Cluster/LoadBalancers\", description = \"Cluster-wide status propagation for LB\")\n@Produces(MediaType.APPLICATION_JSON)\n@Path(\"/cluster/{nodeId}/lbstatus\")\npublic class ClusterLoadBalancerStatusResource extends ProxiedResource {\n private static final Logger LOG = LoggerFactory.getLogger(ClusterLoadBalancerStatusResource.class);\n\n @Inject\n public ClusterLoadBalancerStatusResource(NodeService nodeService,\n RemoteInterfaceProvider remoteInterfaceProvider,\n @Context HttpHeaders httpHeaders,\n @Named(\"proxiedRequestsExecutorService\") ExecutorService executorService) throws NodeNotFoundException {\n super(httpHeaders, nodeService, remoteInterfaceProvider, executorService);\n }\n\n @PUT\n @Timed\n @RequiresAuthentication\n @RequiresPermissions(RestPermissions.LBSTATUS_CHANGE)\n @Operation(summary = \"Override load balancer status of this graylog-server node. Next lifecycle \" +\n \"change will override it again to its default. Set to ALIVE, DEAD, or THROTTLED.\")\n @Path(\"/override/{status}\")\n @NoAuditEvent(\"this is a proxy resource, the audit event will be emitted on the target node\")\n public void override(@Parameter(name = \"nodeId\", description = \"The id of the node whose LB status will be changed\", required = true)\n @PathParam(\"nodeId\") String nodeId,\n @Parameter(name = \"status\") @PathParam(\"status\") String status) throws IOException, NodeNotFoundException {\n final Node targetNode = nodeService.byNodeId(nodeId);\n\n RemoteLoadBalancerStatusResource remoteLoadBalancerStatusResource = remoteInterfaceProvider.get(targetNode,\n getAuthenticationToken(),\n RemoteLoadBalancerStatusResource.class);\n final Response response = remoteLoadBalancerStatusResource.override(status).execute();\n if (!response.isSuccessful()) {\n LOG.warn(\"Unable to override load balancer status on node {}: {}\", nodeId, response.message());\n throw new WebApplicationException(response.message(), BAD_GATEWAY);\n }\n }\n}\n\n" +} diff --git a/web/public/bundles/graylog/code/a0371a5fda4212fc5b76cdf0896291e3f15e2c99.json b/web/public/bundles/graylog/code/a0371a5fda4212fc5b76cdf0896291e3f15e2c99.json new file mode 100644 index 00000000..0dc468c2 --- /dev/null +++ b/web/public/bundles/graylog/code/a0371a5fda4212fc5b76cdf0896291e3f15e2c99.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a0371a5fda4212fc5b76cdf0896291e3f15e2c99", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/threatintel/functions/global/AbstractGlobalLookupFunction.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.threatintel.functions.global;\n\nimport com.google.common.base.Suppliers;\nimport com.google.common.eventbus.EventBus;\nimport com.google.common.eventbus.Subscribe;\nimport org.graylog.plugins.pipelineprocessor.EvaluationContext;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.AbstractFunction;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.FunctionArgs;\nimport org.graylog.plugins.threatintel.ThreatIntelPluginConfiguration;\nimport org.graylog.plugins.threatintel.functions.GenericLookupResult;\nimport org.graylog.plugins.threatintel.functions.misc.LookupTableFunction;\nimport org.graylog2.cluster.ClusterConfigChangedEvent;\nimport org.graylog2.plugin.cluster.ClusterConfigService;\nimport org.graylog2.shared.utilities.AutoValueUtils;\n\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Objects;\nimport java.util.concurrent.atomic.AtomicReference;\nimport java.util.function.Supplier;\nimport java.util.stream.Collectors;\n\nabstract class AbstractGlobalLookupFunction extends AbstractFunction {\n private final AtomicReference> config;\n private final ClusterConfigService clusterConfigService;\n\n AbstractGlobalLookupFunction(final ClusterConfigService clusterConfigService,\n final EventBus serverEventBus) {\n this.clusterConfigService = clusterConfigService;\n serverEventBus.register(this);\n this.config = new AtomicReference<>(Suppliers.memoize(() ->\n this.clusterConfigService.getOrDefault(ThreatIntelPluginConfiguration.class, ThreatIntelPluginConfiguration.defaults())\n ));\n }\n\n GlobalLookupResult matchEntityAgainstFunctions(Map> functions,\n FunctionArgs args,\n EvaluationContext context,\n String prefix) {\n final List matches = functions.entrySet()\n .stream()\n .filter(f -> isEnabled(f.getValue()))\n .map(entry -> {\n final GenericLookupResult result = entry.getValue().evaluate(args, context);\n return result.isMatch() ? entry.getKey() : null;\n })\n .filter(Objects::nonNull)\n .collect(Collectors.toList());\n return GlobalLookupResult.fromMatches(matches, prefix.trim());\n }\n\n abstract boolean isEnabled(LookupTableFunction function);\n\n ThreatIntelPluginConfiguration threatIntelPluginConfiguration() {\n return this.config.get().get();\n }\n\n @Subscribe\n public void handleUpdatedClusterConfig(ClusterConfigChangedEvent clusterConfigChangedEvent) {\n if (clusterConfigChangedEvent.type().equals(AutoValueUtils.getCanonicalName((ThreatIntelPluginConfiguration.class)))) {\n this.config.set(Suppliers.memoize(() ->\n this.clusterConfigService.getOrDefault(ThreatIntelPluginConfiguration.class, ThreatIntelPluginConfiguration.defaults())\n ));\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/a07a59ccd88431ec894c423d6449250d2a77311a.json b/web/public/bundles/graylog/code/a07a59ccd88431ec894c423d6449250d2a77311a.json new file mode 100644 index 00000000..665c8131 --- /dev/null +++ b/web/public/bundles/graylog/code/a07a59ccd88431ec894c423d6449250d2a77311a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a07a59ccd88431ec894c423d6449250d2a77311a", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/security/sessions/SessionConverter.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.security.sessions;\n\nimport com.google.common.base.Preconditions;\nimport com.google.common.collect.Sets;\nimport org.apache.shiro.session.mgt.SimpleSession;\nimport org.apache.shiro.subject.ImmutablePrincipalCollection;\nimport org.apache.shiro.subject.PrincipalCollection;\nimport org.apache.shiro.subject.support.DefaultSubjectContext;\nimport org.graylog2.rest.models.system.sessions.SessionUtils;\n\nimport java.util.Date;\nimport java.util.Optional;\nimport java.util.Set;\n\nimport static org.graylog2.shared.utilities.StringUtils.f;\n\npublic class SessionConverter {\n public static final Set KNOWN_SESSION_KEYS = Set.of(\n DefaultSubjectContext.PRINCIPALS_SESSION_KEY,\n DefaultSubjectContext.AUTHENTICATED_SESSION_KEY,\n SessionUtils.USERNAME_SESSION_KEY,\n SessionUtils.AUTH_CONTEXT_SESSION_KEY\n );\n\n public static SessionDTO.Builder simpleSessionToSessionDTOBuilder(SimpleSession simpleSession) {\n\n final var unknownKeys = unknownSessionKeys(simpleSession);\n if (!unknownKeys.isEmpty()) {\n throw new IllegalArgumentException(f(\"Session contains unknown attribute keys: %s. Known keys are: %s\",\n unknownKeys, KNOWN_SESSION_KEYS));\n }\n\n final var principalInfo = extractPrincipalInfoFromSimpleSession(simpleSession);\n final var sessionId = Preconditions.checkNotNull(simpleSession.getId()).toString();\n\n return SessionDTO.builder()\n .expired(simpleSession.isExpired())\n .sessionId(sessionId)\n .host(simpleSession.getHost())\n .timeout(simpleSession.getTimeout())\n .startTimestamp(simpleSession.getStartTimestamp().toInstant())\n .lastAccessTime(simpleSession.getLastAccessTime().toInstant())\n .userId(principalInfo.map(PrincipalInfo::userId).orElse(null))\n .authenticationRealm(principalInfo.map(PrincipalInfo::realm).orElse(null))\n .authenticated((Boolean) simpleSession.getAttribute(DefaultSubjectContext.AUTHENTICATED_SESSION_KEY))\n .userName((String) simpleSession.getAttribute(SessionUtils.USERNAME_SESSION_KEY))\n .authContext((SessionAuthContext) simpleSession.getAttribute(SessionUtils.AUTH_CONTEXT_SESSION_KEY));\n }\n\n private static Set unknownSessionKeys(SimpleSession simpleSession) {\n return Sets.difference(Set.copyOf(simpleSession.getAttributeKeys()), KNOWN_SESSION_KEYS);\n }\n\n public static SimpleSession sessionDTOToSimpleSession(SessionDTO sessionDTO) {\n final var simpleSession = new SimpleSession(sessionDTO.host().orElse(null), Date.from(sessionDTO.startTimestamp()));\n simpleSession.setId(sessionDTO.sessionId());\n simpleSession.setTimeout(sessionDTO.timeout());\n simpleSession.setLastAccessTime(Date.from(sessionDTO.lastAccessTime()));\n simpleSession.setExpired(sessionDTO.expired());\n\n if (sessionDTO.userId().isPresent() && sessionDTO.authenticationRealm().isPresent()) {\n simpleSession.setAttribute(\n DefaultSubjectContext.PRINCIPALS_SESSION_KEY, ImmutablePrincipalCollection.ofSinglePrincipal(\n sessionDTO.userId().get(),\n sessionDTO.authenticationRealm().get()\n )\n );\n }\n sessionDTO.userName().ifPresent(userName ->\n simpleSession.setAttribute(SessionUtils.USERNAME_SESSION_KEY, userName));\n sessionDTO.authenticated().ifPresent(authenticated ->\n simpleSession.setAttribute(DefaultSubjectContext.AUTHENTICATED_SESSION_KEY, authenticated));\n sessionDTO.authContext().ifPresent(authContext ->\n simpleSession.setAttribute(SessionUtils.AUTH_CONTEXT_SESSION_KEY, authContext));\n\n return simpleSession;\n }\n\n private record PrincipalInfo(String userId, String realm) {}\n\n private static Optional extractPrincipalInfoFromSimpleSession(SimpleSession simpleSession) {\n final var principals = simpleSession.getAttribute(DefaultSubjectContext.PRINCIPALS_SESSION_KEY);\n if (principals == null) {\n return Optional.empty();\n }\n if (principals instanceof PrincipalCollection principalCollection) {\n if (principalCollection.isEmpty()) {\n return Optional.empty();\n }\n if (principalCollection.asList().size() > 1) {\n throw new IllegalArgumentException(f(\"Expected a single principal in session, but got %s.\",\n principalCollection.asList().size()));\n }\n final var realm = principalCollection.getRealmNames().stream().findFirst().orElseThrow(() ->\n new IllegalStateException(\"Principal in session has no associated realm.\"));\n final var principal = principalCollection.getPrimaryPrincipal();\n if (principal instanceof String userId) {\n return Optional.of(new PrincipalInfo(userId, realm));\n } else {\n throw new IllegalArgumentException(f(\"Unexpected type of principal in session. Expected \\\"String\\\", \" +\n \"but got \\\"%s\\\".\", principal.getClass().getSimpleName()));\n }\n } else {\n throw new IllegalArgumentException(f(\"Unexpected type of principals in session.\" +\n \"Expected \\\"PrincipalCollection\\\" but got \\\"%s\\\".\", principals.getClass().getSimpleName()));\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/a100a68546595e520abead56ad8052fa6c148b38.json b/web/public/bundles/graylog/code/a100a68546595e520abead56ad8052fa6c148b38.json new file mode 100644 index 00000000..d98d9348 --- /dev/null +++ b/web/public/bundles/graylog/code/a100a68546595e520abead56ad8052fa6c148b38.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a100a68546595e520abead56ad8052fa6c148b38", + "language": "typescript", + "path": "graylog2-web-interface/src/views/components/searchbar/saved-search/Constants.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\n\nimport type { Sort } from 'stores/PaginationTypes';\n\nexport const DEFAULT_LAYOUT = {\n entityTableId: 'saved-searches',\n defaultPageSize: 20,\n defaultSort: { attributeId: 'title', direction: 'asc' } as Sort,\n defaultDisplayedAttributes: ['title', 'summary', 'favorite'],\n defaultColumnOrder: ['title', 'summary', 'description', 'owner', 'created_at', 'last_updated_at', 'favorite'],\n};\n" +} diff --git a/web/public/bundles/graylog/code/a17e0bcecdb69d5eae78cf432157b837ff752748.json b/web/public/bundles/graylog/code/a17e0bcecdb69d5eae78cf432157b837ff752748.json new file mode 100644 index 00000000..ebd347da --- /dev/null +++ b/web/public/bundles/graylog/code/a17e0bcecdb69d5eae78cf432157b837ff752748.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a17e0bcecdb69d5eae78cf432157b837ff752748", + "language": "typescript", + "path": "graylog2-web-interface/src/components/common/message/details/fields/MessageFieldsEditModal.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\n\nimport React, { useContext, useCallback, useMemo } from 'react';\nimport styled, { css } from 'styled-components';\n\nimport { Alert, Modal, Button } from 'components/bootstrap';\nimport StreamLink from 'components/streams/StreamLink';\nimport StreamsContext from 'contexts/StreamsContext';\nimport MessageFavoriteFieldsContext from 'views/components/contexts/MessageFavoriteFieldsContext';\nimport StringUtils from 'util/StringUtils';\nimport { ModalSubmit } from 'components/common';\nimport { DEFAULT_FIELDS } from 'components/common/message/helpers';\n\nimport useMessageFavoriteFieldsForEditing from './hooks/useMessageFavoriteFieldsForEditing';\nimport MessageFieldsEditModeLists from './MessageFieldsEditModeLists';\nimport useSendFavoriteFieldTelemetry from './hooks/useSendFavoriteFieldTelemetry';\n\nconst FieldsContainer = styled.div(\n ({ theme }) => css`\n overflow: visible;\n padding: ${theme.spacings.xs} 0;\n `,\n);\n\nconst ModalContentContainer = styled.div`\n font-size: ${({ theme }) => theme.fonts.size.small};\n`;\n\nconst StyledAlert = styled(Alert)`\n margin-top: 0;\n`;\n\nconst resetActionTitle = `Reset to default fields: ${DEFAULT_FIELDS.join(', ')}`;\n\nconst MessageFieldsEditModal = ({ toggleEditMode }) => {\n const {\n editingFavoriteFields,\n saveEditedFavoriteFields,\n resetFavoriteFields,\n reorderFavoriteFields,\n onFavoriteToggle,\n } = useMessageFavoriteFieldsForEditing();\n const sendFavoriteFieldTelemetry = useSendFavoriteFieldTelemetry();\n const { message, editableStreams } = useContext(MessageFavoriteFieldsContext);\n const streams = useContext(StreamsContext);\n const messageStreams = useMemo(\n () => (streams ?? []).filter((stream) => message.fields.streams.includes(stream.id)),\n [streams, message.fields.streams],\n );\n\n const _saveFavoriteField = useCallback(() => {\n saveEditedFavoriteFields();\n toggleEditMode();\n }, [saveEditedFavoriteFields, toggleEditMode]);\n\n const _resetFavoriteFields = useCallback(() => {\n resetFavoriteFields();\n toggleEditMode();\n }, [resetFavoriteFields, toggleEditMode]);\n\n const _toggleEditMode = useCallback(() => {\n sendFavoriteFieldTelemetry('EDIT_CANCELED');\n\n return toggleEditMode();\n }, [sendFavoriteFieldTelemetry, toggleEditMode]);\n\n return (\n \n \n Favorite fields configuration\n \n \n \n \n \n Favorite fields will appear in all streams this message belongs to, including{' '}\n {StringUtils.pluralize(editableStreams.length, ' stream ', ' streams ')}\n {editableStreams.map((stream, index) => {\n const isLast = index === messageStreams.length - 1;\n\n return (\n \n \n {!isLast && ', '}\n \n );\n })}{' '}\n in which this message is routed.\n \n \n \n \n \n \n \n Reset to default\n \n }\n onCancel={toggleEditMode}\n onSubmit={_saveFavoriteField}\n submitButtonType=\"button\"\n />\n \n \n );\n};\n\nexport default MessageFieldsEditModal;\n" +} diff --git a/web/public/bundles/graylog/code/a2316ae0c0ef2af8900221873a3ac4a554f7d250.json b/web/public/bundles/graylog/code/a2316ae0c0ef2af8900221873a3ac4a554f7d250.json new file mode 100644 index 00000000..e36d0b24 --- /dev/null +++ b/web/public/bundles/graylog/code/a2316ae0c0ef2af8900221873a3ac4a554f7d250.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a2316ae0c0ef2af8900221873a3ac4a554f7d250", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/MigrationsModule.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.migrations;\n\nimport com.google.inject.multibindings.Multibinder;\nimport org.graylog2.migrations.V20180214093600_AdjustDashboardPositionToNewResolution.Migration;\nimport org.graylog2.migrations.V20200803120800_GrantsMigrations.GrantsMetaMigration;\nimport org.graylog2.plugin.PluginModule;\n\npublic class MigrationsModule extends PluginModule {\n @Override\n protected void configure() {\n\n // The LegacyAuthServiceMigration is pluggable. This call ensures that there is always a binder present\n // even if there are no plugins registered for this migration.\n Multibinder.newSetBinder(binder(), V20201103145400_LegacyAuthServiceMigration.MigrationModule.class);\n\n addMigration(V19700101000000_GenerateClusterId.class);\n addMigration(V20151210140600_AddSearchesClusterConfigMigration.class);\n addMigration(V20161116172100_DefaultIndexSetMigration.class);\n addMigration(V20161116172200_CreateDefaultStreamMigration.class);\n addMigration(V20161122174500_AssignIndexSetsToStreamsMigration.class);\n addMigration(V20161215163900_MoveIndexSetDefaultConfig.class);\n addMigration(V20161216123500_DefaultIndexSetMigration.class);\n addMigration(V20170110150100_FixAlertConditionsMigration.class);\n addMigration(V20170607164210_MigrateReopenedIndicesToAliases.class);\n addMigration(Migration.class);\n addMigration(V2018070614390000_EnforceUniqueGrokPatterns.class);\n addMigration(V20180718155800_AddContentPackIdAndRev.class);\n addMigration(V20180924111644_AddDefaultGrokPatterns.class);\n addMigration(V20190705071400_AddEventIndexSetsMigration.class);\n addMigration(V20190730100900_AddAlertsManagerRole.class);\n addMigration(V20190730000000_CreateDefaultEventsConfiguration.class);\n addMigration(V20191121145100_FixDefaultGrokPatterns.class);\n addMigration(V20191129134600_CreateInitialUrlAllowlist.class);\n addMigration(V20191219090834_AddSourcesPage.class);\n addMigration(V20200102140000_UnifyEventSeriesId.class);\n addMigration(V20200226181600_EncryptAccessTokensMigration.class);\n addMigration(V20200722110800_AddBuiltinRoles.class);\n addMigration(GrantsMetaMigration.class);\n addMigration(V20201103145400_LegacyAuthServiceMigration.class);\n addMigration(V20211221144300_GeoIpResolverConfigMigration.class);\n addMigration(V20220719130704_ImprovedDefaultProcessingOrderMigration.class);\n addMigration(V20220623125450_AddJobTypeToJobTrigger.class);\n addMigration(V20220818112023_AddStreamMatcherToProcessingOrderMigration.class);\n addMigration(V202211021200_CreateDefaultIndexTemplate.class);\n addMigration(V20230113095300_MigrateGlobalPivotLimitsToGroupingsInViews.class);\n addMigration(V20230113095301_MigrateGlobalPivotLimitsToGroupingsInSearches.class);\n addMigration(V20230220095500_MigrateStartPageObjectReferencesToGRNbyRemoval.class);\n addMigration(V20230213160000_EncryptedInputConfigMigration.class);\n addMigration(V20230210102500_UniqueUserMigration.class);\n addMigration(V202305221200_MigrateTimerangeOptionsToTimerangePresets.class);\n addMigration(V20230523160600_PopulateEventDefinitionState.class);\n addMigration(V20230531135500_MigrateRemoveObsoleteItemsFromGrantsCollection.class);\n addMigration(V20230601104500_AddSourcesPageV2.class);\n addMigration(V20230904073300_MigrateThemePreferences.class);\n addMigration(V20240312140000_RemoveFieldTypeMappingsManagerRole.class);\n addMigration(V202404170856_UpdateIndexSetTemplates.class);\n addMigration(V20250304102900_ScopeMigration.class);\n addMigration(V20250206105400_TokenManagementConfiguration.class);\n addMigration(V20250219134200_DefaultTTLForNewTokens.class);\n addMigration(V20251002090400_RemoveLegacySessions.class);\n addMigration(V20250506090000_AddInputTypesPermissions.class);\n addMigration(V20250630180000_MigrateSystemStreams.class);\n addMigration(V20250721090000_AddClusterConfigurationPermission.class);\n addMigration(V20250804104500_TightenTokenSecurity.class);\n addMigration(V20250815000000_CreateDefaultPasswordRequirements.class);\n addMigration(V20250820180000_ReapplyIndexSetScopeMigration.class);\n addMigration(V20250917184400_AddSystemEntitySource.class);\n addMigration(V20251003000000_AddMcpConfigurationMigration.class);\n addMigration(V20251222123500_CreatePipelineMetadata.class);\n addMigration(V20251103123300_MigrateEntityListPreferences.class);\n addMigration(V20260223000000_RemovePerspectiveFromUserPreferences.class);\n addMigration(V20260416120000_RemoveStrayFieldsFromInputs.class);\n addMigration(V20260428120000_AddLayoutVariantToEntityListPreferencesId.class);\n addMigration(V20260911120000_AddExcludeEmptyFieldsToTemplateProviders.class);\n addMigration(V20261014120000_RotateIndexSetsWithNumericDateFields.class);\n addMigration(V20261027120000_FixMultiWordPhysicalFieldTypes.class);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/a39143dec157ed75ababc98ab99a6b57cc11ac0d.json b/web/public/bundles/graylog/code/a39143dec157ed75ababc98ab99a6b57cc11ac0d.json new file mode 100644 index 00000000..4bacec0e --- /dev/null +++ b/web/public/bundles/graylog/code/a39143dec157ed75ababc98ab99a6b57cc11ac0d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a39143dec157ed75ababc98ab99a6b57cc11ac0d", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/extractors/RegexExtractor.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.inputs.extractors;\n\nimport com.codahale.metrics.MetricRegistry;\nimport org.graylog2.ConfigurationException;\nimport org.graylog2.plugin.inputs.Converter;\nimport org.graylog2.plugin.inputs.Extractor;\n\nimport java.util.List;\nimport java.util.Map;\nimport java.util.regex.Matcher;\nimport java.util.regex.Pattern;\n\npublic class RegexExtractor extends Extractor {\n private static final String CONFIG_REGEX_VALUE = \"regex_value\".intern();\n\n private final Pattern pattern;\n\n public RegexExtractor(final MetricRegistry metricRegistry,\n final String id,\n final String title,\n final long order,\n final CursorStrategy cursorStrategy,\n final String sourceField,\n final String targetField,\n final Map extractorConfig,\n final String creatorUserId,\n final List converters,\n final ConditionType conditionType,\n final String conditionValue) throws ReservedFieldException, ConfigurationException {\n super(metricRegistry, id, title, order, Type.REGEX, cursorStrategy, sourceField, targetField, extractorConfig, creatorUserId, converters, conditionType, conditionValue);\n\n if (extractorConfig == null || extractorConfig.get(CONFIG_REGEX_VALUE) == null || ((String) extractorConfig.get(CONFIG_REGEX_VALUE)).isEmpty()) {\n throw new ConfigurationException(\"Missing regex configuration field: regex_value\");\n }\n\n pattern = Pattern.compile((String) extractorConfig.get(CONFIG_REGEX_VALUE), Pattern.DOTALL);\n }\n\n @Override\n protected Result[] run(String value) {\n final Matcher matcher = pattern.matcher(value);\n\n if (!matcher.find() || matcher.groupCount() == 0 || matcher.start(1) == -1 || matcher.end(1) == -1) {\n return null;\n }\n\n return new Result[] { new Result(value.substring(matcher.start(1), matcher.end(1)), matcher.start(1), matcher.end(1)) };\n }\n\n}\n" +} diff --git a/web/public/bundles/graylog/code/a3c811e3aac19e5864e8ff1b85469ed06eec393b.json b/web/public/bundles/graylog/code/a3c811e3aac19e5864e8ff1b85469ed06eec393b.json new file mode 100644 index 00000000..2bdd6b7f --- /dev/null +++ b/web/public/bundles/graylog/code/a3c811e3aac19e5864e8ff1b85469ed06eec393b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a3c811e3aac19e5864e8ff1b85469ed06eec393b", + "language": "typescript", + "path": "graylog2-web-interface/src/components/extractors/extractors_configuration/GrokExtractorConfiguration.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\n\nimport { Icon } from 'components/common';\nimport { Row, Col, ControlLabel, Button, Input } from 'components/bootstrap';\nimport GrokPatternInput from 'components/grok-patterns/GrokPatternInput';\nimport UserNotification from 'util/UserNotification';\nimport { getValueFromInput } from 'util/FormsUtils';\nimport { testGrok } from 'api/tools';\nimport { loadGrokPatterns } from 'hooks/useGrokPatterns';\n\nimport Style from './GrokExtractorConfiguration.css';\n\ntype Props = {\n configuration: any;\n exampleMessage?: string;\n onChange: (...args: any[]) => void;\n onExtractorPreviewLoad: (...args: any[]) => void;\n};\n\nclass GrokExtractorConfiguration extends React.Component<\n Props,\n {\n trying: boolean;\n patterns: Array;\n }\n> {\n static defaultProps = {\n exampleMessage: undefined,\n };\n\n constructor(props: Props) {\n super(props);\n this.state = {\n trying: false,\n patterns: [],\n };\n }\n\n componentDidMount() {\n this.loadData();\n }\n\n componentWillUnmount() {\n this._unmounted = true;\n }\n\n private _unmounted = false;\n\n loadData = () => {\n loadGrokPatterns((patterns) => {\n if (!this._unmounted) {\n this.setState({\n patterns: patterns,\n });\n }\n });\n };\n\n _onChange = (key) => {\n const { onChange, onExtractorPreviewLoad, configuration } = this.props;\n\n return (event) => {\n onExtractorPreviewLoad(undefined);\n const newConfig = configuration;\n\n newConfig[key] = getValueFromInput(event.target);\n onChange(newConfig);\n };\n };\n\n _onPatternChange = (newPattern) => {\n const { onChange, onExtractorPreviewLoad, configuration } = this.props;\n\n onExtractorPreviewLoad(undefined);\n const newConfig = configuration;\n\n newConfig.grok_pattern = newPattern;\n onChange(newConfig);\n };\n\n _onTryClick = () => {\n const { exampleMessage, configuration, onExtractorPreviewLoad } = this.props;\n\n this.setState({ trying: true });\n\n const promise = testGrok(configuration.grok_pattern, configuration.named_captures_only, exampleMessage);\n\n promise.then((result) => {\n if (result.error_message != null) {\n UserNotification.error(\n `We were not able to run the grok extraction because of the following error: ${result.error_message}`,\n );\n\n return;\n }\n\n if (!result.matched) {\n UserNotification.warning('We were not able to run the grok extraction. Please check your parameters.');\n\n return;\n }\n\n const matches = [];\n\n result.matches.forEach((match) => {\n matches.push(
{match.name}
);\n matches.push(\n
\n {match.match}\n
,\n );\n });\n\n const preview = matches.length === 0 ? '' :
{matches}
;\n\n onExtractorPreviewLoad(preview);\n });\n\n promise.finally(() => this.setState({ trying: false }));\n };\n\n _isTryButtonDisabled = () => {\n const { trying } = this.state;\n const { configuration, exampleMessage } = this.props;\n\n return trying || !configuration.grok_pattern || !exampleMessage;\n };\n\n render() {\n const { patterns, trying } = this.state;\n const { configuration } = this.props;\n\n return (\n
\n \n\n \n \n Grok pattern\n \n \n \n \n \n \n \n \n \n \n
\n );\n }\n}\n\nexport default GrokExtractorConfiguration;\n" +} diff --git a/web/public/bundles/graylog/code/a4c3d29172df2e9e7b7feb96c37172deea2a26d7.json b/web/public/bundles/graylog/code/a4c3d29172df2e9e7b7feb96c37172deea2a26d7.json new file mode 100644 index 00000000..69e7f680 --- /dev/null +++ b/web/public/bundles/graylog/code/a4c3d29172df2e9e7b7feb96c37172deea2a26d7.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a4c3d29172df2e9e7b7feb96c37172deea2a26d7", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorsPermissions.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.collectors;\n\nimport com.google.common.collect.ImmutableSet;\nimport org.graylog.security.authzroles.BuiltinRole;\nimport org.graylog2.plugin.security.Permission;\nimport org.graylog2.plugin.security.PluginPermissions;\n\nimport java.util.Set;\n\nimport static org.graylog2.plugin.security.Permission.create;\n\npublic class CollectorsPermissions implements PluginPermissions {\n public static final String FLEET_CREATE = \"collector_fleets:create\";\n public static final String FLEET_READ = \"collector_fleets:read\";\n public static final String FLEET_EDIT = \"collector_fleets:edit\";\n public static final String FLEET_DELETE = \"collector_fleets:delete\";\n public static final String FLEET_INSTANCE_ASSIGN = \"collector_fleets:assign_instance\";\n public static final String FLEET_INSTANCE_DELETE = \"collector_fleets:delete_instance\";\n\n // these are scoped to fleets, not individual sources!\n public static final String SOURCE_CREATE = \"collector_fleets:source_create\";\n public static final String SOURCE_EDIT = \"collector_fleets:source_edit\";\n public static final String SOURCE_DELETE = \"collector_fleets:source_delete\";\n\n public static final String CONFIGURATION_READ = \"collectors_config:read\";\n public static final String CONFIGURATION_EDIT = \"collectors_config:edit\";\n\n public static final String ACTIVITIES_READ = \"collector_activities:read\";\n\n public static final String ENROLL_TOKEN_CREATE = \"collector_enrollment_tokens:create\";\n public static final String ENROLL_TOKEN_READ = \"collector_enrollment_tokens:read\";\n public static final String ENROLL_TOKEN_DELETE = \"collector_enrollment_tokens:delete\";\n\n private static final ImmutableSet PERMISSIONS = ImmutableSet.of(\n create(FLEET_CREATE, \"Create a new fleet\"),\n create(FLEET_READ, \"Read fleet details\"),\n create(FLEET_EDIT, \"Edit fleet details\"),\n create(FLEET_DELETE, \"Delete a fleet\"),\n create(FLEET_INSTANCE_ASSIGN, \"Assign a collector to a fleet\"),\n create(FLEET_INSTANCE_DELETE, \"Delete a collector instance\"),\n create(SOURCE_CREATE, \"Create a new source in a fleet\"),\n create(SOURCE_EDIT, \"Edit source details in a fleet\"),\n create(SOURCE_DELETE, \"Delete a source in a fleet\"),\n create(CONFIGURATION_READ, \"Read the configuration for collectors\"),\n create(CONFIGURATION_EDIT, \"Edit the configuration for collectors\"),\n create(ACTIVITIES_READ, \"Read the recent activity feed\"),\n create(ENROLL_TOKEN_CREATE, \"Create an enrollment token for a fleet\"),\n create(ENROLL_TOKEN_READ, \"Read enrollment tokens for a fleet\"),\n create(ENROLL_TOKEN_DELETE, \"Delete an enrollment token for a fleet\")\n );\n\n @Override\n public Set permissions() {\n return PERMISSIONS;\n }\n\n @Override\n public Set readerBasePermissions() {\n return Set.of();\n }\n\n @Override\n public Set builtinRoles() {\n return Set.of(\n BuiltinRole.create(\"Collectors Manager\",\n \"Grants full control of collectors and fleets (built-in)\",\n Set.of(FLEET_CREATE, FLEET_READ, FLEET_EDIT, FLEET_DELETE,\n FLEET_INSTANCE_ASSIGN, FLEET_INSTANCE_DELETE,\n SOURCE_CREATE, SOURCE_EDIT, SOURCE_DELETE,\n ENROLL_TOKEN_CREATE, ENROLL_TOKEN_READ, ENROLL_TOKEN_DELETE,\n CONFIGURATION_READ, CONFIGURATION_EDIT,\n ACTIVITIES_READ)),\n BuiltinRole.create(\"Collectors Reader\",\n \"Grants read-only access to collectors and fleets (built-in)\",\n Set.of(FLEET_READ, CONFIGURATION_READ, ACTIVITIES_READ)));\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/a54ae712b9e865a7e6a48d9f388ecfa4a9482400.json b/web/public/bundles/graylog/code/a54ae712b9e865a7e6a48d9f388ecfa4a9482400.json new file mode 100644 index 00000000..275fae57 --- /dev/null +++ b/web/public/bundles/graylog/code/a54ae712b9e865a7e6a48d9f388ecfa4a9482400.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a54ae712b9e865a7e6a48d9f388ecfa4a9482400", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/backend/LDAPAuthServiceBackend.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.security.authservice.backend;\n\nimport com.google.common.collect.ImmutableList;\nimport com.google.common.collect.ImmutableMap;\nimport com.google.inject.assistedinject.Assisted;\nimport com.unboundid.ldap.sdk.LDAPConnection;\nimport com.unboundid.ldap.sdk.LDAPException;\nimport jakarta.inject.Inject;\nimport org.graylog.security.authservice.AuthServiceBackend;\nimport org.graylog.security.authservice.AuthServiceBackendDTO;\nimport org.graylog.security.authservice.AuthServiceCredentials;\nimport org.graylog.security.authservice.AuthenticationDetails;\nimport org.graylog.security.authservice.ProvisionerService;\nimport org.graylog.security.authservice.UserDetails;\nimport org.graylog.security.authservice.ldap.LDAPConnectorConfig;\nimport org.graylog.security.authservice.ldap.LDAPUser;\nimport org.graylog.security.authservice.ldap.UnboundLDAPConfig;\nimport org.graylog.security.authservice.ldap.UnboundLDAPConnector;\nimport org.graylog.security.authservice.test.AuthServiceBackendTestResult;\nimport org.graylog2.security.encryption.EncryptedValue;\nimport org.graylog2.shared.security.AuthenticationServiceUnavailableException;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport javax.annotation.Nullable;\nimport java.security.GeneralSecurityException;\nimport java.util.Collections;\nimport java.util.HashMap;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Optional;\nimport java.util.stream.Collectors;\n\npublic class LDAPAuthServiceBackend implements AuthServiceBackend {\n public static final String TYPE_NAME = \"ldap\";\n\n private static final Logger LOG = LoggerFactory.getLogger(LDAPAuthServiceBackend.class);\n private final LDAPAuthServiceBackendConfig config;\n\n public interface Factory extends AuthServiceBackend.Factory {\n @Override\n LDAPAuthServiceBackend create(AuthServiceBackendDTO backend);\n }\n\n private final UnboundLDAPConnector ldapConnector;\n private final AuthServiceBackendDTO backend;\n\n @Inject\n public LDAPAuthServiceBackend(UnboundLDAPConnector ldapConnector,\n @Assisted AuthServiceBackendDTO backend) {\n this.ldapConnector = ldapConnector;\n this.backend = backend;\n this.config = (LDAPAuthServiceBackendConfig) backend.config();\n }\n\n @Override\n public Optional authenticateAndProvision(AuthServiceCredentials authCredentials, ProvisionerService provisionerService) {\n try (final LDAPConnection connection = ldapConnector.connect(config.getLDAPConnectorConfig())) {\n if (connection == null) {\n return Optional.empty();\n }\n\n final Optional optionalUser = findUser(connection, authCredentials);\n if (!optionalUser.isPresent()) {\n LOG.debug(\"User <{}> not found in LDAP\", authCredentials.username());\n return Optional.empty();\n }\n\n final LDAPUser userEntry = optionalUser.get();\n\n if (!authCredentials.isAuthenticated()) {\n if (!isAuthenticated(connection, userEntry, authCredentials)) {\n LOG.debug(\"Invalid credentials for user <{}> (DN: {})\", authCredentials.username(), userEntry.dn());\n return Optional.empty();\n }\n }\n\n final UserDetails userDetails = provisionerService.provision(provisionerService.newDetails(this)\n .authServiceType(backendType())\n .authServiceId(backendId())\n .accountIsEnabled(true)\n .base64AuthServiceUid(userEntry.base64UniqueId())\n .username(userEntry.username())\n .fullName(userEntry.fullName())\n .email(userEntry.email())\n .defaultRoles(backend.defaultRoles())\n .timezone(backend.defaultUserTimezone().orElse(null))\n .build());\n\n return Optional.of(AuthenticationDetails.builder().userDetails(userDetails).build());\n } catch (GeneralSecurityException e) {\n LOG.error(\"Error setting up TLS connection\", e);\n throw new AuthenticationServiceUnavailableException(\"Error setting up TLS connection\", e);\n } catch (LDAPException e) {\n LOG.error(\"LDAP error\", e);\n throw new AuthenticationServiceUnavailableException(\"LDAP error\", e);\n }\n }\n\n private boolean isAuthenticated(LDAPConnection connection,\n LDAPUser user,\n AuthServiceCredentials authCredentials) throws LDAPException {\n return ldapConnector.authenticate(\n connection,\n user.dn(),\n authCredentials.password()\n );\n }\n\n private Optional findUser(LDAPConnection connection, AuthServiceCredentials authCredentials) throws LDAPException {\n final UnboundLDAPConfig searchConfig = UnboundLDAPConfig.builder()\n .userSearchBase(config.userSearchBase())\n .userSearchPattern(config.userSearchPattern())\n .userUniqueIdAttribute(config.userUniqueIdAttribute())\n .userNameAttribute(config.userNameAttribute())\n .userFullNameAttribute(config.userFullNameAttribute())\n .emailAttributes(config.emailAttributes())\n .build();\n\n return ldapConnector.searchUserByPrincipal(connection, searchConfig, authCredentials.username());\n }\n\n @Override\n public String backendType() {\n return TYPE_NAME;\n }\n\n @Override\n public String backendId() {\n return backend.id();\n }\n\n @Override\n public String backendTitle() {\n return backend.title();\n }\n\n @Override\n public AuthServiceBackendDTO prepareConfigUpdate(AuthServiceBackendDTO existingBackend, AuthServiceBackendDTO newBackend) {\n final LDAPAuthServiceBackendConfig newConfig = (LDAPAuthServiceBackendConfig) newBackend.config();\n\n if (newConfig.systemUserPassword().isDeleteValue()) {\n // If the system user password should be deleted, use an unset value\n return newBackend.toBuilder()\n .config(newConfig.toBuilder()\n .systemUserPassword(EncryptedValue.createUnset())\n .build())\n .build();\n }\n if (newConfig.systemUserPassword().isKeepValue()) {\n // If the system user password should be kept, use the value from the existing config\n final LDAPAuthServiceBackendConfig existingConfig = (LDAPAuthServiceBackendConfig) existingBackend.config();\n return newBackend.toBuilder()\n .config(newConfig.toBuilder()\n .systemUserPassword(existingConfig.systemUserPassword())\n .build())\n .build();\n }\n\n return newBackend;\n }\n\n @Override\n public AuthServiceBackendTestResult testConnection(@Nullable AuthServiceBackendDTO existingBackendConfig) {\n final LDAPAuthServiceBackendConfig testConfig = buildTestConfig(existingBackendConfig);\n\n final LDAPConnectorConfig config = testConfig.getLDAPConnectorConfig();\n\n if (config.serverList().size() == 1) {\n return testSingleConnection(config, config.serverList().get(0));\n }\n\n // Test each server separately, so we can see the result for each\n final List testResults = config.serverList().stream().map(server -> testSingleConnection(config, server)).collect(Collectors.toList());\n\n if (testResults.stream().anyMatch(res -> !res.isSuccess())) {\n return AuthServiceBackendTestResult\n .createFailure(\"Test failure\",\n testResults.stream().map(r -> {\n if (r.isSuccess()) {\n return r.message();\n } else {\n return r.message() + \" : \" + String.join(\",\", r.errors());\n }\n }).collect(Collectors.toList()));\n } else {\n return AuthServiceBackendTestResult.createSuccess(\"Successfully connected to \" + config.serverList());\n }\n }\n\n private AuthServiceBackendTestResult testSingleConnection(LDAPConnectorConfig config, LDAPConnectorConfig.LDAPServer server) {\n final LDAPConnectorConfig singleServerConfig = config.toBuilder().serverList(ImmutableList.of(server)).build();\n\n try (final LDAPConnection connection = ldapConnector.connect(singleServerConfig)) {\n if (connection == null) {\n return AuthServiceBackendTestResult.createFailure(\"Couldn't establish connection to \" + server);\n }\n return AuthServiceBackendTestResult.createSuccess(\"Successfully connected to \" + server);\n } catch (Exception e) {\n return AuthServiceBackendTestResult.createFailure(\n \"Couldn't establish connection to \" + server,\n Collections.singletonList(e.getMessage())\n );\n }\n }\n\n @Override\n public AuthServiceBackendTestResult testLogin(AuthServiceCredentials credentials, @Nullable AuthServiceBackendDTO existingBackendConfig) {\n final LDAPAuthServiceBackendConfig testConfig = buildTestConfig(existingBackendConfig);\n\n try (final LDAPConnection connection = ldapConnector.connect(testConfig.getLDAPConnectorConfig())) {\n if (connection == null) {\n return AuthServiceBackendTestResult.createFailure(\"Couldn't establish connection to \" + testConfig.servers());\n }\n final Optional user = findUser(connection, credentials);\n\n if (!user.isPresent()) {\n return AuthServiceBackendTestResult.createFailure(\n \"User <\" + credentials.username() + \"> doesn't exist\",\n createTestResult(testConfig, false, false, null)\n );\n }\n\n if (isAuthenticated(connection, user.get(), credentials)) {\n return AuthServiceBackendTestResult.createSuccess(\n \"Successfully logged in <\" + credentials.username() + \"> into \" + testConfig.servers(),\n createTestResult(testConfig, true, true, user.get())\n );\n }\n return AuthServiceBackendTestResult.createFailure(\n \"Login for user <\" + credentials.username() + \"> failed\",\n createTestResult(testConfig, true, false, user.get())\n );\n } catch (Exception e) {\n return AuthServiceBackendTestResult.createFailure(\n \"Couldn't test user login on \" + testConfig.servers(),\n Collections.singletonList(e.getMessage())\n );\n }\n }\n\n private LDAPAuthServiceBackendConfig buildTestConfig(@Nullable AuthServiceBackendDTO existingBackendConfig) {\n final LDAPAuthServiceBackendConfig.Builder newConfigBuilder = config.toBuilder();\n\n // If the existing password should be kept and we got an existing config, use the password of the\n // existing config for the connection check. This is needed to make connection tests of existing backends work\n // because the UI doesn't have access to the existing password.\n if (config.systemUserPassword().isKeepValue() && existingBackendConfig != null) {\n final LDAPAuthServiceBackendConfig existingConfig = (LDAPAuthServiceBackendConfig) existingBackendConfig.config();\n newConfigBuilder.systemUserPassword(existingConfig.systemUserPassword());\n }\n\n return newConfigBuilder.build();\n }\n\n private Map createTestResult(LDAPAuthServiceBackendConfig config,\n boolean userExists,\n boolean loginSuccess,\n @Nullable LDAPUser user) {\n final ImmutableMap.Builder userDetails = ImmutableMap.builder()\n .put(\"user_exists\", userExists)\n .put(\"login_success\", loginSuccess);\n\n if (user != null) {\n // Use regular HashMap to allow duplicates. Users might use the same attribute for name and full name.\n // See: https://github.com/Graylog2/graylog2-server/issues/10069\n final Map attributes = new HashMap<>();\n\n attributes.put(\"dn\", user.dn());\n // Use a special key for the unique ID attribute. If users use something like \"uid\" for the unique ID,\n // it might be confusing to see a base64 encoded value instead of the plain text one.\n attributes.put(\"unique_id (\" + config.userUniqueIdAttribute() + \")\", user.base64UniqueId());\n attributes.put(config.userNameAttribute(), user.username());\n attributes.put(config.userFullNameAttribute(), user.fullName());\n attributes.put(\"email\", user.email());\n\n userDetails.put(\"user_details\", ImmutableMap.copyOf(attributes));\n } else {\n userDetails.put(\"user_details\", ImmutableMap.of());\n }\n\n return userDetails.build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/a5561fbc13baa5552bc8815e99c2b047d6069d59.json b/web/public/bundles/graylog/code/a5561fbc13baa5552bc8815e99c2b047d6069d59.json new file mode 100644 index 00000000..f79910a8 --- /dev/null +++ b/web/public/bundles/graylog/code/a5561fbc13baa5552bc8815e99c2b047d6069d59.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a5561fbc13baa5552bc8815e99c2b047d6069d59", + "language": "typescript", + "path": "graylog2-web-interface/src/hooks/useBasicUser.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport { useQuery } from '@tanstack/react-query';\n\nimport { Users } from '@graylog/server-api';\n\nimport { defaultOnError } from 'util/conditional/onError';\n\nconst BASIC_USER_QUERY_KEY = 'basic_user';\n\nexport type BasicUser = {\n serviceAccount: boolean;\n fullName: string;\n readOnly: boolean;\n id: string;\n username: string;\n};\n\nexport const getBasicUserQueryKey = (id: BasicUser['id']) => [BASIC_USER_QUERY_KEY, id];\n\nconst getUser = async ({ id }: { id: BasicUser['id'] }): Promise =>\n Users.getBasicUserById(id).then((userResponse) => ({\n serviceAccount: userResponse.service_account,\n fullName: userResponse.full_name,\n readOnly: userResponse.read_only,\n id: userResponse.id,\n username: userResponse.username,\n }));\n\nconst useBasicUser = (\n userId: BasicUser['id'],\n { enabled } = { enabled: true },\n): {\n data: BasicUser;\n isLoading: boolean;\n refetch: () => void;\n} => {\n const { data, isLoading, refetch } = useQuery({\n queryKey: getBasicUserQueryKey(userId),\n queryFn: () =>\n defaultOnError(\n getUser({ id: userId }),\n `Loading User ${userId} failed with status`,\n `Could not load User ${userId}`,\n ),\n enabled,\n });\n\n return {\n data,\n isLoading,\n refetch,\n };\n};\n\nexport default useBasicUser;\n" +} diff --git a/web/public/bundles/graylog/code/a559c401fa4978a73538c52c1d5eb6a41426834b.json b/web/public/bundles/graylog/code/a559c401fa4978a73538c52c1d5eb6a41426834b.json new file mode 100644 index 00000000..ba29db4f --- /dev/null +++ b/web/public/bundles/graylog/code/a559c401fa4978a73538c52c1d5eb6a41426834b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a559c401fa4978a73538c52c1d5eb6a41426834b", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/SystemShutdownResource.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.resources.system;\n\nimport com.codahale.metrics.annotation.Timed;\nimport com.google.common.collect.ImmutableMap;\nimport org.apache.shiro.authz.annotation.RequiresAuthentication;\nimport org.graylog2.audit.AuditEventTypes;\nimport org.graylog2.audit.jersey.AuditEvent;\nimport org.graylog2.plugin.ServerStatus;\nimport org.graylog2.shared.rest.resources.RestResource;\nimport org.graylog2.shared.security.RestPermissions;\nimport org.graylog2.system.shutdown.GracefulShutdown;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport jakarta.inject.Inject;\n\nimport jakarta.ws.rs.POST;\nimport jakarta.ws.rs.Path;\nimport jakarta.ws.rs.Produces;\nimport jakarta.ws.rs.core.MediaType;\nimport jakarta.ws.rs.core.Response;\n\nimport static jakarta.ws.rs.core.Response.accepted;\n\n/**\n * @deprecated shutting down the node using an API request is discouraged in favor of using a service manager to\n * control the server process.\n */\n@RequiresAuthentication\n@Path(\"/system/shutdown\")\n@Produces(MediaType.APPLICATION_JSON)\n@Deprecated\npublic class SystemShutdownResource extends RestResource {\n private static final Logger LOG = LoggerFactory.getLogger(SystemShutdownResource.class);\n\n private final GracefulShutdown gracefulShutdown;\n private final ServerStatus serverStatus;\n\n @Inject\n public SystemShutdownResource(GracefulShutdown gracefulShutdown,\n ServerStatus serverStatus) {\n this.gracefulShutdown = gracefulShutdown;\n this.serverStatus = serverStatus;\n }\n\n @POST\n @Timed\n @Path(\"/shutdown\")\n @AuditEvent(type = AuditEventTypes.NODE_SHUTDOWN_INITIATE)\n @Deprecated\n public Response shutdown() {\n checkPermission(RestPermissions.NODE_SHUTDOWN, serverStatus.getNodeId().toString());\n\n new Thread(gracefulShutdown).start();\n\n final String msg =\n \"Deprecated API endpoint /system/shutdown/shutdown was called. Shutting down the node via the API is \" +\n \"discouraged in favor of using a service manager to control the server process.\";\n LOG.warn(msg);\n return accepted(ImmutableMap.of(\"message\", msg)).build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/a56388f413813ad93c1659260239c7fd1a3dc205.json b/web/public/bundles/graylog/code/a56388f413813ad93c1659260239c7fd1a3dc205.json new file mode 100644 index 00000000..00c31a0b --- /dev/null +++ b/web/public/bundles/graylog/code/a56388f413813ad93c1659260239c7fd1a3dc205.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a56388f413813ad93c1659260239c7fd1a3dc205", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/suppliers/MongoDBMetricsSupplier.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.telemetry.suppliers;\n\nimport com.mongodb.MongoClient;\nimport jakarta.inject.Inject;\nimport org.graylog2.database.MongoConnection;\nimport org.graylog2.database.MongoDBVersionCheck;\nimport org.graylog2.telemetry.scheduler.TelemetryEvent;\nimport org.graylog2.telemetry.scheduler.TelemetryMetricSupplier;\n\nimport java.util.Map;\nimport java.util.Optional;\n\npublic class MongoDBMetricsSupplier implements TelemetryMetricSupplier {\n private final MongoClient mongoClient;\n\n @Inject\n public MongoDBMetricsSupplier(MongoConnection mongoConnection) {\n this.mongoClient = mongoConnection.connect();\n }\n\n @Override\n public Optional get() {\n return Optional.ofNullable(MongoDBVersionCheck.getVersion(mongoClient))\n .map(version -> TelemetryEvent.of(Map.of(\"version\", version.toString())));\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/a5cbafdb70fa29cdf51bfd74005a4e83488f0491.json b/web/public/bundles/graylog/code/a5cbafdb70fa29cdf51bfd74005a4e83488f0491.json new file mode 100644 index 00000000..9bac4a7b --- /dev/null +++ b/web/public/bundles/graylog/code/a5cbafdb70fa29cdf51bfd74005a4e83488f0491.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a5cbafdb70fa29cdf51bfd74005a4e83488f0491", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/users/responses/BasicUserFields.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.models.users.responses;\n\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport org.graylog2.shared.fields.IdField;\n\nimport javax.annotation.Nullable;\n\npublic interface BasicUserFields extends IdField {\n\n @JsonProperty(\"username\")\n String username();\n\n @JsonProperty(\"full_name\")\n @Nullable\n String fullName();\n\n @JsonProperty(\"read_only\")\n boolean readOnly();\n\n @JsonProperty(\"service_account\")\n boolean isServiceAccount();\n\n}\n" +} diff --git a/web/public/bundles/graylog/code/a612436373823473694665ba6b325a3959e52ac0.json b/web/public/bundles/graylog/code/a612436373823473694665ba6b325a3959e52ac0.json new file mode 100644 index 00000000..19a95c30 --- /dev/null +++ b/web/public/bundles/graylog/code/a612436373823473694665ba6b325a3959e52ac0.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a612436373823473694665ba6b325a3959e52ac0", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/inputs/paloalto11/PaloAlto11xInput.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.integrations.inputs.paloalto11;\n\nimport com.codahale.metrics.MetricRegistry;\nimport com.google.inject.assistedinject.Assisted;\nimport jakarta.inject.Inject;\nimport org.graylog2.inputs.transports.SyslogTcpTransport;\nimport org.graylog2.plugin.LocalMetricRegistry;\nimport org.graylog2.plugin.ServerStatus;\nimport org.graylog2.plugin.configuration.Configuration;\nimport org.graylog2.plugin.inputs.MessageInput;\nimport org.graylog2.plugin.inputs.annotations.ConfigClass;\nimport org.graylog2.plugin.inputs.annotations.FactoryClass;\n\npublic class PaloAlto11xInput extends MessageInput {\n\n public static final String NAME = \"Palo Alto Networks TCP (PAN-OS v11+)\";\n\n @Inject\n public PaloAlto11xInput(@Assisted Configuration configuration,\n MetricRegistry metricRegistry,\n SyslogTcpTransport.Factory transport,\n LocalMetricRegistry localRegistry,\n PaloAlto11xCodec.Factory codec,\n PaloAlto11xInput.Config config,\n PaloAlto11xInput.Descriptor descriptor,\n ServerStatus serverStatus) {\n super(\n metricRegistry,\n configuration,\n transport.create(configuration),\n localRegistry,\n codec.create(configuration),\n config,\n descriptor,\n serverStatus);\n }\n\n @FactoryClass\n public interface Factory extends MessageInput.Factory {\n @Override\n PaloAlto11xInput create(Configuration configuration);\n\n @Override\n PaloAlto11xInput.Config getConfig();\n\n @Override\n PaloAlto11xInput.Descriptor getDescriptor();\n }\n\n public static class Descriptor extends MessageInput.Descriptor {\n public Descriptor() {\n super(NAME, false, \"\");\n }\n }\n\n @ConfigClass\n public static class Config extends MessageInput.Config {\n\n @Inject\n public Config(SyslogTcpTransport.Factory transport, PaloAlto11xCodec.Factory codec) {\n super(transport.getConfig(), codec.getConfig());\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/a69675a1a11e639bec0c8b47810640d55312427d.json b/web/public/bundles/graylog/code/a69675a1a11e639bec0c8b47810640d55312427d.json new file mode 100644 index 00000000..dd599bfb --- /dev/null +++ b/web/public/bundles/graylog/code/a69675a1a11e639bec0c8b47810640d55312427d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a69675a1a11e639bec0c8b47810640d55312427d", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/lookup/LookupTableApi.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.models.system.lookup;\n\nimport com.fasterxml.jackson.annotation.JsonAutoDetect;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.jackson.databind.annotation.JsonDeserialize;\nimport com.google.auto.value.AutoValue;\nimport org.graylog2.database.entities.DefaultEntityScope;\nimport org.graylog2.lookup.LookupDefaultSingleValue;\nimport org.graylog2.lookup.dto.LookupTableDto;\n\nimport javax.annotation.Nullable;\n\nimport jakarta.validation.constraints.NotEmpty;\n\n@AutoValue\n@JsonAutoDetect\n@JsonDeserialize(builder = AutoValue_LookupTableApi.Builder.class)\npublic abstract class LookupTableApi implements ScopedResponse {\n\n public static final String FIELD_DEFAULT_SINGLE_VALUE = \"default_single_value\";\n public static final String FIELD_DEFAULT_MULTI_VALUE = \"default_multi_value\";\n\n @Nullable\n @JsonProperty(\"id\")\n public abstract String id();\n\n @Nullable\n @JsonProperty(FIELD_SCOPE)\n public abstract String scope();\n\n @JsonProperty(\"title\")\n @NotEmpty\n public abstract String title();\n\n @JsonProperty(\"description\")\n public abstract String description();\n\n @JsonProperty(\"name\")\n @NotEmpty\n public abstract String name();\n\n @JsonProperty(\"cache_id\")\n @NotEmpty\n public abstract String cacheId();\n\n @JsonProperty(\"data_adapter_id\")\n @NotEmpty\n public abstract String dataAdapterId();\n\n @JsonProperty(\"content_pack\")\n @Nullable\n public abstract String contentPack();\n\n @JsonProperty(FIELD_DEFAULT_SINGLE_VALUE)\n public abstract String defaultSingleValue();\n\n @JsonProperty(\"default_single_value_type\")\n public abstract LookupDefaultSingleValue.Type defaultSingleValueType();\n\n @JsonProperty(FIELD_DEFAULT_MULTI_VALUE)\n public abstract String defaultMultiValue();\n\n @JsonProperty(\"default_multi_value_type\")\n public abstract LookupDefaultSingleValue.Type defaultMultiValueType();\n\n public static Builder builder() {\n return new AutoValue_LookupTableApi.Builder();\n }\n\n public abstract Builder toBuilder();\n\n public LookupTableDto toDto() {\n return LookupTableDto.builder()\n .id(id())\n .scope(scope() != null ? scope() : DefaultEntityScope.NAME)\n .title(title())\n .description(description())\n .name(name())\n .cacheId(cacheId())\n .dataAdapterId(dataAdapterId())\n .contentPack(contentPack())\n .defaultSingleValue(defaultSingleValue())\n .defaultSingleValueType(defaultSingleValueType())\n .defaultMultiValue(defaultMultiValue())\n .defaultMultiValueType(defaultMultiValueType())\n .build();\n }\n\n public static LookupTableApi fromDto(LookupTableDto dto) {\n return builder()\n .id(dto.id())\n .scope(dto.scope() != null ? dto.scope() : DefaultEntityScope.NAME)\n .name(dto.name())\n .title(dto.title())\n .description(dto.description())\n .cacheId(dto.cacheId())\n .dataAdapterId(dto.dataAdapterId())\n .contentPack(dto.contentPack())\n .defaultSingleValue(dto.defaultSingleValue())\n .defaultSingleValueType(dto.defaultSingleValueType())\n .defaultMultiValue(dto.defaultMultiValue())\n .defaultMultiValueType(dto.defaultMultiValueType())\n .build();\n }\n\n @AutoValue.Builder\n public abstract static class Builder {\n @JsonProperty(\"id\")\n public abstract Builder id(@Nullable String id);\n\n @JsonProperty(FIELD_SCOPE)\n public abstract Builder scope(String scope);\n\n @JsonProperty(\"title\")\n public abstract Builder title(String title);\n\n @JsonProperty(\"description\")\n public abstract Builder description(String description);\n\n @JsonProperty(\"name\")\n public abstract Builder name(String name);\n\n @JsonProperty(\"cache_id\")\n public abstract Builder cacheId(String cacheId);\n\n @JsonProperty(\"data_adapter_id\")\n public abstract Builder dataAdapterId(String id);\n\n @JsonProperty(\"default_single_value\")\n public abstract Builder defaultSingleValue(String defaultSingleValue);\n\n @JsonProperty(\"default_single_value_type\")\n public abstract Builder defaultSingleValueType(LookupDefaultSingleValue.Type defaultSingleValueType);\n\n @JsonProperty(\"default_multi_value\")\n public abstract Builder defaultMultiValue(String defaultMultiValue);\n\n @JsonProperty(\"default_multi_value_type\")\n public abstract Builder defaultMultiValueType(LookupDefaultSingleValue.Type defaultMultiValueType);\n\n @JsonProperty(\"content_pack\")\n public abstract Builder contentPack(@Nullable String contentPack);\n\n public abstract LookupTableApi build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/a6ea51f71fe4b76d1391d1eafc24c9be6bc29a5e.json b/web/public/bundles/graylog/code/a6ea51f71fe4b76d1391d1eafc24c9be6bc29a5e.json new file mode 100644 index 00000000..03261366 --- /dev/null +++ b/web/public/bundles/graylog/code/a6ea51f71fe4b76d1391d1eafc24c9be6bc29a5e.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a6ea51f71fe4b76d1391d1eafc24c9be6bc29a5e", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/inputs/InputMetricsResource.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.resources.system.inputs;\n\nimport io.swagger.v3.oas.annotations.Operation;\nimport io.swagger.v3.oas.annotations.Parameter;\nimport io.swagger.v3.oas.annotations.tags.Tag;\nimport jakarta.inject.Inject;\nimport jakarta.inject.Named;\nimport jakarta.ws.rs.GET;\nimport jakarta.ws.rs.Path;\nimport jakarta.ws.rs.Produces;\nimport jakarta.ws.rs.QueryParam;\nimport jakarta.ws.rs.core.Context;\nimport jakarta.ws.rs.core.MediaType;\nimport org.apache.shiro.authz.annotation.RequiresAuthentication;\nimport org.graylog.plugins.views.search.permissions.SearchUser;\nimport org.graylog2.metrics.entity.EntityMetricsResponse;\nimport org.graylog2.metrics.entity.EntityMetricsService;\nimport org.graylog2.shared.rest.resources.RestResource;\nimport org.graylog2.shared.security.RestPermissions;\n\nimport java.util.List;\nimport java.util.Set;\n\nimport static org.graylog2.metrics.entity.EntityMetricsModule.ENTITY_TYPE_INPUTS;\n\n@RequiresAuthentication\n@Tag(name = \"System/Inputs/Metrics\", description = \"Input metrics\")\n@Path(\"/system/inputs/metrics\")\n@Produces(MediaType.APPLICATION_JSON)\npublic class InputMetricsResource extends RestResource {\n\n private final EntityMetricsService metricsService;\n\n @Inject\n public InputMetricsResource(@Named(ENTITY_TYPE_INPUTS) EntityMetricsService metricsService) {\n this.metricsService = metricsService;\n }\n\n @GET\n @Operation(summary = \"Get metrics for multiple inputs\")\n public EntityMetricsResponse getMetrics(\n @Parameter(description = \"List of input IDs\", required = true)\n @QueryParam(\"input_ids\") List inputIds,\n @Parameter(description = \"List of metric fields to return\", required = true)\n @QueryParam(\"fields\") List fields,\n @Context SearchUser searchUser) {\n\n inputIds.forEach(inputId -> checkPermission(RestPermissions.INPUTS_READ, inputId));\n\n return EntityMetricsResponse.fromValues(\n metricsService.getMetrics(inputIds, Set.copyOf(fields), searchUser));\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/a8c8dc4dfbdaff04f34adb366f8142d1b0016baa.json b/web/public/bundles/graylog/code/a8c8dc4dfbdaff04f34adb366f8142d1b0016baa.json new file mode 100644 index 00000000..fa533197 --- /dev/null +++ b/web/public/bundles/graylog/code/a8c8dc4dfbdaff04f34adb366f8142d1b0016baa.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a8c8dc4dfbdaff04f34adb366f8142d1b0016baa", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/suppliers/PipelinesMetricsSupplier.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.telemetry.suppliers;\n\nimport jakarta.inject.Inject;\nimport org.graylog.plugins.pipelineprocessor.db.mongodb.MongoDbPipelineMetadataService;\nimport org.graylog.plugins.pipelineprocessor.parser.FunctionRegistry;\nimport org.graylog2.telemetry.pipelines.PipelineActivityService;\nimport org.graylog2.telemetry.pipelines.UserPipelines;\nimport org.graylog2.telemetry.scheduler.TelemetryEvent;\nimport org.graylog2.telemetry.scheduler.TelemetryMetricSupplier;\n\nimport java.time.Clock;\nimport java.time.Duration;\nimport java.util.Map;\nimport java.util.Optional;\nimport java.util.Set;\nimport java.util.TreeMap;\nimport java.util.function.Function;\nimport java.util.stream.Collectors;\n\npublic class PipelinesMetricsSupplier implements TelemetryMetricSupplier {\n private static final Duration ACTIVE_WINDOW = Duration.ofHours(24);\n static final String OTHER_FUNCTIONS = \"other\";\n\n private final UserPipelines userPipelines;\n private final MongoDbPipelineMetadataService metadataService;\n private final PipelineActivityService activityService;\n private final FunctionRegistry functionRegistry;\n private final Clock clock;\n\n @Inject\n public PipelinesMetricsSupplier(UserPipelines userPipelines,\n MongoDbPipelineMetadataService metadataService,\n PipelineActivityService activityService,\n FunctionRegistry functionRegistry,\n Clock clock) {\n this.userPipelines = userPipelines;\n this.metadataService = metadataService;\n this.activityService = activityService;\n this.functionRegistry = functionRegistry;\n this.clock = clock;\n }\n\n @Override\n public Optional get() {\n final Set userPipelineIds = userPipelines.pipelineIds();\n\n final Set activeUserPipelineIds = activityService.findActiveSince(clock.instant().minus(ACTIVE_WINDOW))\n .stream()\n .filter(userPipelineIds::contains)\n .collect(Collectors.toSet());\n\n final Map metrics = Map.of(\n \"user_pipelines\", (long) userPipelineIds.size(),\n \"user_pipelines_active_24h\", (long) activeUserPipelineIds.size(),\n \"user_pipeline_rules\", userPipelines.ruleCount(),\n \"active_user_pipeline_functions\", functionUsage(activeUserPipelineIds));\n\n return Optional.of(TelemetryEvent.of(metrics));\n }\n\n // Number of active user pipelines using each function, keyed by function name.\n private Map functionUsage(Set pipelineIds) {\n return metadataService.get(pipelineIds).values().stream()\n // Collect per pipeline so a pipeline using several unreported functions counts once as \"other\".\n .flatMap(metadata -> metadata.functions().stream()\n .map(this::reportedFunctionName)\n .collect(Collectors.toSet())\n .stream())\n .collect(Collectors.groupingBy(Function.identity(), TreeMap::new, Collectors.counting()));\n }\n\n // Plugins can register functions under customer-chosen names, so only functions shipped with Graylog are named.\n private String reportedFunctionName(String functionName) {\n final var function = functionRegistry.resolve(functionName);\n if (function == null) {\n return OTHER_FUNCTIONS;\n }\n final String className = function.getClass().getName();\n return className.startsWith(\"org.graylog.\") || className.startsWith(\"org.graylog2.\") ? functionName : OTHER_FUNCTIONS;\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/a98052e82fd5ee6850dc13920970d2eba4e6ba41.json b/web/public/bundles/graylog/code/a98052e82fd5ee6850dc13920970d2eba4e6ba41.json new file mode 100644 index 00000000..bda865e2 --- /dev/null +++ b/web/public/bundles/graylog/code/a98052e82fd5ee6850dc13920970d2eba4e6ba41.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a98052e82fd5ee6850dc13920970d2eba4e6ba41", + "language": "typescript", + "path": "graylog2-web-interface/src/views/hooks/RequirementsProvided.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport { PluginStore } from 'graylog-web-plugin/plugin';\n\nimport MissingRequirements from 'views/components/views/MissingRequirements';\nimport type { ViewHook, ViewHookArguments } from 'views/logic/hooks/ViewHook';\nimport type { Requirements } from 'views/logic/views/View';\n\nconst _missingRequirements = (requirements: Requirements, requirementsProvided: string | string[]): Requirements =>\n Object.fromEntries(Object.entries(requirements).filter(([require]) => !requirementsProvided.includes(require)));\n\nconst RequirementsProvided: ViewHook = async ({ view, executionState }: ViewHookArguments) => {\n const providedRequirements = PluginStore.exports('views.requires.provided');\n const missingRequirements = _missingRequirements(view.requires, providedRequirements);\n\n if (Object.keys(missingRequirements).length > 0) {\n const Component = () => ;\n\n throw Component;\n }\n\n return [view, executionState];\n};\n\nexport default RequirementsProvided;\n" +} diff --git a/web/public/bundles/graylog/code/a986a34e53d9faea7550b8f6d5a01b420b287e2b.json b/web/public/bundles/graylog/code/a986a34e53d9faea7550b8f6d5a01b420b287e2b.json new file mode 100644 index 00000000..c5d9f67e --- /dev/null +++ b/web/public/bundles/graylog/code/a986a34e53d9faea7550b8f6d5a01b420b287e2b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a986a34e53d9faea7550b8f6d5a01b420b287e2b", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/mongodb/PaginatedMongoDbRuleService.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.pipelineprocessor.db.mongodb;\n\nimport jakarta.inject.Inject;\nimport org.graylog.plugins.pipelineprocessor.db.PaginatedRuleService;\nimport org.graylog.plugins.pipelineprocessor.db.RuleDao;\nimport org.graylog2.database.MongoCollections;\nimport org.graylog2.database.PaginatedList;\nimport org.graylog2.database.pagination.MongoPaginationHelper;\nimport org.graylog2.rest.models.SortOrder;\nimport org.graylog2.search.SearchQuery;\n\npublic class PaginatedMongoDbRuleService implements PaginatedRuleService {\n private static final String COLLECTION_NAME = \"pipeline_processor_rules\";\n private final MongoPaginationHelper paginationHelper;\n\n @Inject\n public PaginatedMongoDbRuleService(MongoCollections mongoCollections) {\n paginationHelper = mongoCollections.paginationHelper(COLLECTION_NAME, RuleDao.class);\n }\n\n @Override\n public PaginatedList findPaginated(SearchQuery searchQuery, int page, int perPage, String sortField, String order) {\n return paginationHelper\n .filter(searchQuery.toBson())\n .perPage(perPage)\n .sort(SortOrder.fromString(order).toBsonSort(sortField))\n .page(page);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/aadb40939f30715ac8d704ce43bdeb5be4663471.json b/web/public/bundles/graylog/code/aadb40939f30715ac8d704ce43bdeb5be4663471.json new file mode 100644 index 00000000..b30955a7 --- /dev/null +++ b/web/public/bundles/graylog/code/aadb40939f30715ac8d704ce43bdeb5be4663471.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "aadb40939f30715ac8d704ce43bdeb5be4663471", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/web/resources/CertificateRenewalPolicyResource.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.bootstrap.preflight.web.resources;\n\nimport jakarta.inject.Inject;\nimport jakarta.validation.Valid;\nimport jakarta.validation.constraints.NotNull;\nimport jakarta.ws.rs.GET;\nimport jakarta.ws.rs.POST;\nimport jakarta.ws.rs.Path;\nimport jakarta.ws.rs.Produces;\nimport jakarta.ws.rs.core.MediaType;\nimport org.apache.shiro.authz.annotation.RequiresPermissions;\nimport org.graylog2.audit.jersey.NoAuditEvent;\nimport org.graylog2.bootstrap.preflight.PreflightConstants;\nimport org.graylog2.bootstrap.preflight.PreflightWebModule;\nimport org.graylog2.plugin.certificates.RenewalPolicy;\nimport org.graylog2.plugin.cluster.ClusterConfigService;\n\n@Path(PreflightConstants.API_PREFIX + \"renewal_policy\")\n@Produces(MediaType.APPLICATION_JSON)\npublic class CertificateRenewalPolicyResource {\n private final ClusterConfigService clusterConfigService;\n\n @Inject\n public CertificateRenewalPolicyResource(final ClusterConfigService clusterConfigService) {\n this.clusterConfigService = clusterConfigService;\n }\n\n @GET\n @RequiresPermissions(PreflightWebModule.PERMISSION_PREFLIGHT_ONLY)\n public RenewalPolicy get() {\n return this.clusterConfigService.get(RenewalPolicy.class);\n }\n\n @POST\n @RequiresPermissions(PreflightWebModule.PERMISSION_PREFLIGHT_ONLY)\n @NoAuditEvent(\"No Auditing during preflight\")\n public void set(@NotNull @Valid RenewalPolicy renewalPolicy) {\n this.clusterConfigService.write(validatePolicy(renewalPolicy));\n }\n\n private RenewalPolicy validatePolicy(@NotNull @Valid RenewalPolicy renewalPolicy) {\n try {\n renewalPolicy.parsedCertificateLifetime();\n } catch (Exception e) {\n throw new IllegalArgumentException(\"Invalid certificate lifetime value: \" + renewalPolicy.certificateLifetime(), e);\n }\n return renewalPolicy;\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/ad5afd462ce0f24a22d6e6f4792b105fbfe361ce.json b/web/public/bundles/graylog/code/ad5afd462ce0f24a22d6e6f4792b105fbfe361ce.json new file mode 100644 index 00000000..19f4f179 --- /dev/null +++ b/web/public/bundles/graylog/code/ad5afd462ce0f24a22d6e6f4792b105fbfe361ce.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "ad5afd462ce0f24a22d6e6f4792b105fbfe361ce", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/ViewOwnerShipToGrantsMigration.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.migrations.V20200803120800_GrantsMigrations;\n\nimport jakarta.inject.Named;\nimport org.graylog.grn.GRN;\nimport org.graylog.grn.GRNRegistry;\nimport org.graylog.grn.GRNType;\nimport org.graylog.grn.GRNTypes;\nimport org.graylog.plugins.views.search.views.ViewDTO;\nimport org.graylog.plugins.views.search.views.ViewService;\nimport org.graylog.security.Capability;\nimport org.graylog.security.DBGrantService;\nimport org.graylog2.plugin.database.users.User;\nimport org.graylog2.shared.users.UserService;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.util.Optional;\n\npublic class ViewOwnerShipToGrantsMigration {\n private static final Logger LOG = LoggerFactory.getLogger(ViewOwnerShipToGrantsMigration.class);\n private final UserService userService;\n private final DBGrantService dbGrantService;\n private final String rootUsername;\n private final ViewService viewService;\n private final GRNRegistry grnRegistry;\n\n private static final Capability CAPABILITY = Capability.OWN;\n\n public ViewOwnerShipToGrantsMigration(UserService userService,\n DBGrantService dbGrantService,\n @Named(\"root_username\") String rootUsername,\n ViewService viewService,\n GRNRegistry grnRegistry) {\n this.userService = userService;\n this.dbGrantService = dbGrantService;\n this.rootUsername = rootUsername;\n this.viewService = viewService;\n this.grnRegistry = grnRegistry;\n }\n\n public void upgrade() {\n try (final var stream = viewService.streamAll()) {\n stream.forEach(view -> {\n final Optional user = view.owner().map(userService::load);\n if (user.isPresent() && !user.get().isLocalAdmin()) {\n final GRNType grnType = ViewDTO.Type.DASHBOARD.equals(view.type()) ? GRNTypes.DASHBOARD : GRNTypes.SEARCH;\n final GRN target = grnType.toGRN(view.id());\n\n ensureGrant(user.get(), target);\n }\n });\n }\n }\n\n private void ensureGrant(User user, GRN target) {\n final GRN grantee = grnRegistry.ofUser(user);\n\n LOG.info(\"Registering user <{}/{}> ownership for <{}>\", user.getName(), user.getId(), target);\n dbGrantService.ensure(grantee, CAPABILITY, target, rootUsername);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/ae902ae7a9a0266e1a9f19737fde8cfc911974b3.json b/web/public/bundles/graylog/code/ae902ae7a9a0266e1a9f19737fde8cfc911974b3.json new file mode 100644 index 00000000..45f30de6 --- /dev/null +++ b/web/public/bundles/graylog/code/ae902ae7a9a0266e1a9f19737fde8cfc911974b3.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "ae902ae7a9a0266e1a9f19737fde8cfc911974b3", + "language": "java", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/sniffer/impl/NodeAttributesFilter.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.storage.opensearch2.sniffer.impl;\n\nimport com.google.common.base.Strings;\nimport jakarta.inject.Inject;\nimport org.graylog.shaded.opensearch2.org.opensearch.client.Node;\nimport org.graylog.storage.opensearch2.sniffer.SnifferFilter;\nimport org.graylog2.configuration.ElasticsearchClientConfiguration;\n\nimport java.util.Collections;\nimport java.util.List;\nimport java.util.function.Predicate;\nimport java.util.stream.Collectors;\n\npublic class NodeAttributesFilter implements SnifferFilter {\n\n private final boolean enabled;\n private final Predicate filter;\n\n @Inject\n public NodeAttributesFilter(ElasticsearchClientConfiguration configuration) {\n this(configuration.discoveryEnabled(), configuration.discoveryFilter());\n }\n\n public NodeAttributesFilter(boolean enabled, String filterString) {\n this.enabled = enabled;\n this.filter = create(filterString);\n }\n\n @Override\n public boolean enabled() {\n return enabled;\n }\n\n @Override\n public List filterNodes(List nodes) {\n return nodes.stream()\n .filter(filter)\n .collect(Collectors.toList());\n }\n\n static Predicate create(String filter) {\n final String attribute;\n final String value;\n if (!Strings.isNullOrEmpty(filter)) {\n final String[] conditions = filter.split(\":\");\n if (conditions.length < 2) {\n throw new IllegalArgumentException(\"Invalid filter specified for ES node discovery: \" + filter);\n }\n attribute = conditions[0].trim();\n value = conditions[1].trim();\n } else {\n attribute = null;\n value = null;\n }\n return node -> nodeMatchesFilter(node, attribute, value);\n }\n\n private static boolean nodeMatchesFilter(Node node, String attribute, String value) {\n\n if (attribute == null || value == null) {\n return true;\n }\n\n return node.getAttributes()\n .getOrDefault(attribute, Collections.emptyList())\n .contains(value);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/af22dece338f8551f4e5204bdc66ec70957a1722.json b/web/public/bundles/graylog/code/af22dece338f8551f4e5204bdc66ec70957a1722.json new file mode 100644 index 00000000..2f124022 --- /dev/null +++ b/web/public/bundles/graylog/code/af22dece338f8551f4e5204bdc66ec70957a1722.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "af22dece338f8551f4e5204bdc66ec70957a1722", + "language": "typescript", + "path": "graylog2-web-interface/src/hooks/useNodeSummaries.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport { useContext } from 'react';\n\nimport NodesContext from 'contexts/NodesContext';\n\nconst useNodeSummaries = () => useContext(NodesContext);\n\nexport default useNodeSummaries;\n" +} diff --git a/web/public/bundles/graylog/code/af2b2c90be9197581306fd66609e41ccf7cb3ae3.json b/web/public/bundles/graylog/code/af2b2c90be9197581306fd66609e41ccf7cb3ae3.json new file mode 100644 index 00000000..182376a4 --- /dev/null +++ b/web/public/bundles/graylog/code/af2b2c90be9197581306fd66609e41ccf7cb3ae3.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "af2b2c90be9197581306fd66609e41ccf7cb3ae3", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/backend/ADAuthServiceBackendConfig.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.security.authservice.backend;\n\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.jackson.annotation.JsonTypeName;\nimport com.fasterxml.jackson.databind.annotation.JsonDeserialize;\nimport com.google.auto.value.AutoValue;\nimport com.google.common.collect.ImmutableList;\nimport com.unboundid.ldap.sdk.Filter;\nimport com.unboundid.ldap.sdk.LDAPException;\nimport org.apache.commons.lang3.StringUtils;\nimport org.graylog.security.authservice.AuthServiceBackendConfig;\nimport org.graylog.security.authservice.ldap.LDAPConnectorConfig;\nimport org.graylog.security.authservice.ldap.LDAPConnectorConfigProvider;\nimport org.graylog.security.authservice.ldap.LDAPTransportSecurity;\nimport org.graylog2.plugin.rest.ValidationResult;\nimport org.graylog2.security.encryption.EncryptedValue;\n\nimport java.util.List;\nimport java.util.stream.Collectors;\n\nimport static org.apache.commons.lang3.StringUtils.isBlank;\n\n@AutoValue\n@JsonDeserialize(builder = ADAuthServiceBackendConfig.Builder.class)\n@JsonTypeName(ADAuthServiceBackend.TYPE_NAME)\npublic abstract class ADAuthServiceBackendConfig implements AuthServiceBackendConfig, LDAPConnectorConfigProvider {\n private static final String FIELD_SERVERS = \"servers\";\n private static final String FIELD_TRANSPORT_SECURITY = \"transport_security\";\n private static final String FIELD_VERIFY_CERTIFICATES = \"verify_certificates\";\n private static final String FIELD_SYSTEM_USER_DN = \"system_user_dn\";\n private static final String FIELD_SYSTEM_USER_PASSWORD = \"system_user_password\";\n private static final String FIELD_USER_SEARCH_BASE = \"user_search_base\";\n private static final String FIELD_USER_SEARCH_PATTERN = \"user_search_pattern\";\n private static final String FIELD_USER_NAME_ATTRIBUTE = \"user_name_attribute\";\n private static final String FIELD_USER_FULL_NAME_ATTRIBUTE = \"user_full_name_attribute\";\n\n @JsonProperty(FIELD_SERVERS)\n public abstract ImmutableList servers();\n\n @JsonProperty(FIELD_TRANSPORT_SECURITY)\n public abstract LDAPTransportSecurity transportSecurity();\n\n @JsonProperty(FIELD_VERIFY_CERTIFICATES)\n public abstract boolean verifyCertificates();\n\n @JsonProperty(FIELD_SYSTEM_USER_DN)\n public abstract String systemUserDn();\n\n @JsonProperty(FIELD_SYSTEM_USER_PASSWORD)\n public abstract EncryptedValue systemUserPassword();\n\n @JsonProperty(FIELD_USER_SEARCH_BASE)\n public abstract String userSearchBase();\n\n @JsonProperty(FIELD_USER_SEARCH_PATTERN)\n public abstract String userSearchPattern();\n\n @JsonProperty(FIELD_USER_NAME_ATTRIBUTE)\n public abstract String userNameAttribute();\n\n @JsonProperty(FIELD_USER_FULL_NAME_ATTRIBUTE)\n public abstract String userFullNameAttribute();\n\n @Override\n public void validate(ValidationResult result) {\n if (servers().isEmpty()) {\n result.addError(FIELD_SERVERS, \"Server list cannot be empty.\");\n }\n if (isBlank(userSearchBase())) {\n result.addError(FIELD_USER_SEARCH_BASE, \"User search base cannot be empty.\");\n }\n if (isBlank(userSearchPattern())) {\n result.addError(FIELD_USER_SEARCH_PATTERN, \"User search pattern cannot be empty.\");\n } else {\n try {\n Filter.create(userSearchPattern());\n } catch (LDAPException e) {\n result.addError(FIELD_USER_SEARCH_PATTERN, \"User search pattern cannot be parsed. It must be a valid LDAP filter.\");\n }\n }\n if (isBlank(userNameAttribute())) {\n result.addError(FIELD_USER_NAME_ATTRIBUTE, \"User name attribute cannot be empty.\");\n }\n if (isBlank(userFullNameAttribute())) {\n result.addError(FIELD_USER_FULL_NAME_ATTRIBUTE, \"User full name cannot be empty.\");\n }\n }\n\n @Override\n public LDAPConnectorConfig getLDAPConnectorConfig() {\n return LDAPConnectorConfig.builder()\n .serverList(servers().stream()\n .map(hap -> LDAPConnectorConfig.LDAPServer.create(hap.host(), hap.port()))\n .collect(Collectors.toList()))\n .systemUsername(StringUtils.trimToNull(systemUserDn()))\n .systemPassword(systemUserPassword())\n .transportSecurity(transportSecurity())\n .verifyCertificates(verifyCertificates())\n .build();\n }\n\n public abstract Builder toBuilder();\n\n public static Builder builder() {\n return Builder.create();\n }\n\n @AutoValue.Builder\n public abstract static class Builder implements AuthServiceBackendConfig.Builder {\n @JsonCreator\n public static Builder create() {\n return new AutoValue_ADAuthServiceBackendConfig.Builder()\n .type(ADAuthServiceBackend.TYPE_NAME)\n .verifyCertificates(true)\n .systemUserDn(\"\")\n .systemUserPassword(EncryptedValue.createUnset())\n .userSearchPattern(ADAuthServiceBackend.AD_DEFAULT_USER_SEARCH_PATTERN.toNormalizedString())\n .userNameAttribute(ADAuthServiceBackend.AD_USER_PRINCIPAL_NAME)\n .userFullNameAttribute(ADAuthServiceBackend.AD_DISPLAY_NAME);\n }\n\n @JsonProperty(FIELD_SERVERS)\n public abstract Builder servers(List servers);\n\n @JsonProperty(FIELD_TRANSPORT_SECURITY)\n public abstract Builder transportSecurity(LDAPTransportSecurity transportSecurity);\n\n @JsonProperty(FIELD_VERIFY_CERTIFICATES)\n public abstract Builder verifyCertificates(boolean verifyCertificates);\n\n @JsonProperty(FIELD_SYSTEM_USER_DN)\n public abstract Builder systemUserDn(String systemUserDn);\n\n @JsonProperty(FIELD_SYSTEM_USER_PASSWORD)\n public abstract Builder systemUserPassword(EncryptedValue systemUserPassword);\n\n @JsonProperty(FIELD_USER_SEARCH_BASE)\n public abstract Builder userSearchBase(String userSearchBase);\n\n @JsonProperty(FIELD_USER_SEARCH_PATTERN)\n public abstract Builder userSearchPattern(String userSearchPattern);\n\n @JsonProperty(FIELD_USER_NAME_ATTRIBUTE)\n public abstract Builder userNameAttribute(String userNameAttribute);\n\n @JsonProperty(FIELD_USER_FULL_NAME_ATTRIBUTE)\n public abstract Builder userFullNameAttribute(String userFullNameAttribute);\n\n public abstract ADAuthServiceBackendConfig build();\n }\n\n @AutoValue\n public static abstract class HostAndPort {\n @JsonProperty(\"host\")\n public abstract String host();\n\n @JsonProperty(\"port\")\n public abstract int port();\n\n @JsonCreator\n public static HostAndPort create(@JsonProperty(\"host\") String host, @JsonProperty(\"port\") int port) {\n return new AutoValue_ADAuthServiceBackendConfig_HostAndPort(host, port);\n }\n\n @Override\n public String toString() {\n return host() + \":\" + port();\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/af8210a4e492bf7703efc3072d35cde13cea311d.json b/web/public/bundles/graylog/code/af8210a4e492bf7703efc3072d35cde13cea311d.json new file mode 100644 index 00000000..cc7788ae --- /dev/null +++ b/web/public/bundles/graylog/code/af8210a4e492bf7703efc3072d35cde13cea311d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "af8210a4e492bf7703efc3072d35cde13cea311d", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/TrafficResource.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.resources.system;\n\n\nimport io.swagger.v3.oas.annotations.Operation;\nimport io.swagger.v3.oas.annotations.Parameter;\nimport io.swagger.v3.oas.annotations.tags.Tag;\nimport jakarta.inject.Inject;\nimport jakarta.ws.rs.DefaultValue;\nimport jakarta.ws.rs.GET;\nimport jakarta.ws.rs.Path;\nimport jakarta.ws.rs.Produces;\nimport jakarta.ws.rs.QueryParam;\nimport jakarta.ws.rs.core.MediaType;\nimport org.apache.shiro.authz.annotation.RequiresAuthentication;\nimport org.graylog2.shared.rest.PublicCloudAPI;\nimport org.graylog2.shared.rest.resources.RestResource;\nimport org.graylog2.system.traffic.TrafficCounterService;\nimport org.joda.time.Duration;\n\n@PublicCloudAPI\n@Tag(name = \"System/ClusterTraffic\", description = \"Cluster traffic stats\")\n@RequiresAuthentication\n@Path(\"/system/cluster/traffic\")\n@Produces(MediaType.APPLICATION_JSON)\npublic class TrafficResource extends RestResource {\n\n private final TrafficCounterService trafficCounterService;\n\n @Inject\n public TrafficResource(TrafficCounterService trafficCounterService) {\n this.trafficCounterService = trafficCounterService;\n }\n\n @GET\n @Operation(summary = \"Get the cluster traffic stats\")\n public TrafficCounterService.TrafficHistogram get(@Parameter(name = \"days\", description = \"For how many days the traffic stats should be returned\")\n @QueryParam(\"days\") @DefaultValue(\"30\") int days,\n @Parameter(name = \"daily\", description = \"Whether the traffic should be aggregate to daily values\")\n @QueryParam(\"daily\") @DefaultValue(\"false\") boolean daily,\n @Parameter(name = \"includeToday\", description = \"Whether the traffic should include up to the current date/time (in UTC).\")\n @QueryParam(\"includeToday\") @DefaultValue(\"true\") boolean includeToday) {\n return trafficCounterService.clusterTrafficOfLastDays(Duration.standardDays(days),\n daily ? TrafficCounterService.Interval.DAILY : TrafficCounterService.Interval.HOURLY,\n includeToday);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/b03f742bb0f7c5d83c15b64c5cb49fa617c9141f.json b/web/public/bundles/graylog/code/b03f742bb0f7c5d83c15b64c5cb49fa617c9141f.json new file mode 100644 index 00000000..4df734f8 --- /dev/null +++ b/web/public/bundles/graylog/code/b03f742bb0f7c5d83c15b64c5cb49fa617c9141f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b03f742bb0f7c5d83c15b64c5cb49fa617c9141f", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/metrics/IndexSetMetricDescriptor.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.indexer.indexset.metrics;\n\nimport com.google.common.base.Throwables;\nimport org.bson.types.ObjectId;\nimport org.graylog.plugins.views.search.permissions.SearchUser;\nimport org.graylog2.indexer.indexset.IndexSet;\nimport org.graylog2.indexer.indexset.IndexSetService;\nimport org.graylog2.indexer.indexset.registry.IndexSetRegistry;\nimport org.graylog2.metrics.entity.EntityMetric;\nimport org.graylog2.metrics.entity.cache.EntityCachedMetricDescriptor;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.time.Duration;\nimport java.util.Collection;\nimport java.util.List;\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\n/**\n * Base class for cached index set metrics, served unfiltered because the endpoint checks the read permission per ID.\n */\nabstract class IndexSetMetricDescriptor implements EntityCachedMetricDescriptor {\n private static final Logger LOG = LoggerFactory.getLogger(IndexSetMetricDescriptor.class);\n\n private final IndexSetService indexSetService;\n private final IndexSetRegistry indexSetRegistry;\n private final Duration cacheTtl;\n\n IndexSetMetricDescriptor(IndexSetService indexSetService, IndexSetRegistry indexSetRegistry, Duration cacheTtl) {\n this.indexSetService = indexSetService;\n this.indexSetRegistry = indexSetRegistry;\n this.cacheTtl = cacheTtl;\n }\n\n @Override\n public Duration cacheTtl() {\n return cacheTtl;\n }\n\n @Override\n public T computeForUser(T cachedValue, SearchUser searchUser) {\n return cachedValue;\n }\n\n @Override\n public final List> compute(Collection entityIds) {\n final Set indexSets = indexSets(entityIds);\n try {\n return computeFor(indexSets);\n } catch (RuntimeException e) {\n // returning no values keeps the failure out of the cache, which lets the next request retry\n LOG.warn(\"Unable to compute {} for index sets {}: {}\", fieldName(), entityIds, Throwables.getRootCause(e).getMessage());\n return List.of();\n }\n }\n\n abstract List> computeFor(Set indexSets);\n\n /**\n * Resolves the requested index set IDs with one MongoDB query, skipping unknown and malformed IDs.\n */\n private Set indexSets(Collection entityIds) {\n final Set validIds = entityIds.stream().filter(ObjectId::isValid).collect(Collectors.toSet());\n return indexSetRegistry.getFromIndexConfig(indexSetService.findByIds(validIds));\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/b09199bd97fd16f4a8967fe02cf334ac3c9a89fb.json b/web/public/bundles/graylog/code/b09199bd97fd16f4a8967fe02cf334ac3c9a89fb.json new file mode 100644 index 00000000..82549aad --- /dev/null +++ b/web/public/bundles/graylog/code/b09199bd97fd16f4a8967fe02cf334ac3c9a89fb.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b09199bd97fd16f4a8967fe02cf334ac3c9a89fb", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/grn/providers/EventNotificationGRNDescriptorProvider.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.grn.providers;\n\nimport org.graylog.events.notifications.DBNotificationService;\nimport org.graylog.events.notifications.NotificationDto;\nimport org.graylog.grn.GRN;\nimport org.graylog.grn.GRNDescriptor;\nimport org.graylog.grn.GRNDescriptorProvider;\n\nimport jakarta.inject.Inject;\n\nimport java.util.Optional;\n\npublic class EventNotificationGRNDescriptorProvider implements GRNDescriptorProvider {\n private final DBNotificationService dbNotificationService;\n\n @Inject\n public EventNotificationGRNDescriptorProvider(DBNotificationService dbNotificationService) {\n this.dbNotificationService = dbNotificationService;\n }\n\n @Override\n public GRNDescriptor get(GRN grn) {\n final Optional title = dbNotificationService.get(grn.entity()).map(NotificationDto::title);\n return GRNDescriptor.create(grn, title.orElse(\"ERROR: EventNotification for <\" + grn.toString() + \"> not found!\"));\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/b0a277525532aa1e3f36e43f5ab9d9558d3398f6.json b/web/public/bundles/graylog/code/b0a277525532aa1e3f36e43f5ab9d9558d3398f6.json new file mode 100644 index 00000000..8c853961 --- /dev/null +++ b/web/public/bundles/graylog/code/b0a277525532aa1e3f36e43f5ab9d9558d3398f6.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b0a277525532aa1e3f36e43f5ab9d9558d3398f6", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/RoutingRuleDao.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.pipelineprocessor.db;\n\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.jackson.databind.annotation.JsonDeserialize;\nimport com.google.auto.value.AutoValue;\nimport org.graylog2.database.BuildableMongoEntity;\nimport org.graylog2.rest.resources.streams.responses.StreamReference;\nimport org.mongojack.Id;\nimport org.mongojack.ObjectId;\n\nimport javax.annotation.Nullable;\nimport java.util.List;\n\n/**\n * Stores one record per (pipeline, rule) pair for rules that route messages to streams.\n * Pre-shaped to match {@link org.graylog2.rest.resources.streams.responses.StreamPipelineRulesResponse}.\n */\n@JsonDeserialize(builder = AutoValue_RoutingRuleDao.Builder.class)\n@AutoValue\npublic abstract class RoutingRuleDao implements BuildableMongoEntity {\n public static final String FIELD_PIPELINE_ID = \"pipeline_id\";\n public static final String FIELD_PIPELINE_TITLE = \"pipeline\";\n public static final String FIELD_RULE_ID = \"rule_id\";\n public static final String FIELD_RULE_TITLE = \"rule\";\n public static final String FIELD_ROUTED_STREAM_IDS = \"routed_stream_ids\";\n public static final String FIELD_CONNECTED_STREAMS = \"connected_streams\";\n\n @JsonProperty(FIELD_ID)\n @Nullable\n @Id\n @ObjectId\n @Override\n public abstract String id();\n\n @JsonProperty(FIELD_PIPELINE_ID)\n public abstract String pipelineId();\n\n @JsonProperty(FIELD_PIPELINE_TITLE)\n public abstract String pipelineTitle();\n\n @JsonProperty(FIELD_RULE_ID)\n public abstract String ruleId();\n\n @JsonProperty(FIELD_RULE_TITLE)\n public abstract String ruleTitle();\n\n @JsonProperty(FIELD_ROUTED_STREAM_IDS)\n public abstract List routedStreamIds();\n\n @JsonProperty(FIELD_CONNECTED_STREAMS)\n public abstract List connectedStreams();\n\n public static Builder builder() {\n return new AutoValue_RoutingRuleDao.Builder();\n }\n\n @Override\n public abstract Builder toBuilder();\n\n @AutoValue.Builder\n public abstract static class Builder implements BuildableMongoEntity.Builder {\n\n @Id\n @ObjectId\n @JsonProperty(FIELD_ID)\n public abstract Builder id(@Nullable String id);\n\n @JsonProperty(FIELD_PIPELINE_ID)\n public abstract Builder pipelineId(String pipelineId);\n\n @JsonProperty(FIELD_PIPELINE_TITLE)\n public abstract Builder pipelineTitle(String pipelineTitle);\n\n @JsonProperty(FIELD_RULE_ID)\n public abstract Builder ruleId(String ruleId);\n\n @JsonProperty(FIELD_RULE_TITLE)\n public abstract Builder ruleTitle(String ruleTitle);\n\n @JsonProperty(FIELD_ROUTED_STREAM_IDS)\n public abstract Builder routedStreamIds(List routedStreamIds);\n\n @JsonProperty(FIELD_CONNECTED_STREAMS)\n public abstract Builder connectedStreams(List connectedStreams);\n\n public abstract RoutingRuleDao build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/b0d82f67fc7966e740f5ec44eb08dd24cebf054b.json b/web/public/bundles/graylog/code/b0d82f67fc7966e740f5ec44eb08dd24cebf054b.json new file mode 100644 index 00000000..cdcbd797 --- /dev/null +++ b/web/public/bundles/graylog/code/b0d82f67fc7966e740f5ec44eb08dd24cebf054b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b0d82f67fc7966e740f5ec44eb08dd24cebf054b", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/nodes/ServerNodeDto.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.cluster.nodes;\n\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.jackson.databind.annotation.JsonDeserialize;\nimport com.fasterxml.jackson.databind.annotation.JsonSerialize;\nimport com.google.auto.value.AutoValue;\nimport jakarta.annotation.Nullable;\nimport org.graylog2.database.DbEntity;\nimport org.graylog2.plugin.lifecycles.Lifecycle;\nimport org.graylog2.plugin.lifecycles.LoadBalancerStatus;\n\nimport java.util.Map;\nimport java.util.Optional;\n\nimport static org.graylog2.cluster.nodes.ServerNodeDto.FIELD_IS_PROCESSING;\nimport static org.graylog2.shared.security.EntityPermissionsUtils.ID_FIELD;\n\n@AutoValue\n@JsonIgnoreProperties(ignoreUnknown = true)\n@JsonSerialize(as = ServerNodeDto.class)\n@JsonDeserialize(builder = ServerNodeDto.Builder.class)\n@DbEntity(collection = ServerNodeDto.COLLECTION_NAME, titleField = NodeDto.FIELD_NODE_ID,\n readableFields = {ID_FIELD, \"node_id\", \"hostname\", \"transport_address\", \"is_leader\", \"last_seen\",\n FIELD_IS_PROCESSING})\npublic abstract class ServerNodeDto extends NodeDto {\n\n public static final String COLLECTION_NAME = \"nodes\";\n\n public static final String FIELD_IS_PROCESSING = \"is_processing\";\n public static final String FIELD_LOAD_BALANCER_STATUS = \"lb_status\";\n public static final String FIELD_LIFECYCLE = \"lifecycle\";\n public static final String FIELD_VERSION = \"version\";\n\n @JsonProperty(FIELD_IS_PROCESSING)\n public abstract boolean isProcessing();\n\n @Nullable\n @JsonProperty(FIELD_LOAD_BALANCER_STATUS)\n public LoadBalancerStatus getLoadBalancerStatus() {\n return Optional.ofNullable(getLifecycle())\n .map(Lifecycle::getLoadbalancerStatus)\n .orElse(null);\n }\n\n @Nullable\n @JsonProperty(FIELD_LIFECYCLE)\n public abstract Lifecycle getLifecycle();\n\n @Nullable\n @JsonProperty(FIELD_VERSION)\n public abstract String getVersion();\n\n public abstract Builder toBuilder();\n\n @Override\n public Map toEntityParameters() {\n final Map entityParameters = super.toEntityParameters();\n entityParameters.put(FIELD_IS_PROCESSING, isProcessing());\n if(getLifecycle() != null) {\n entityParameters.put(FIELD_LIFECYCLE, getLifecycle().name());\n }\n if(getVersion() != null) {\n entityParameters.put(FIELD_VERSION, getVersion());\n }\n return entityParameters;\n }\n\n @AutoValue.Builder\n @JsonIgnoreProperties(ignoreUnknown = true)\n public abstract static class Builder extends NodeDto.Builder {\n\n @JsonProperty(FIELD_IS_PROCESSING)\n public abstract ServerNodeDto.Builder setProcessing(boolean isProcessing);\n\n @JsonProperty(FIELD_LIFECYCLE)\n public abstract Builder setLifecycle(@Nullable Lifecycle lifecycle);\n\n @JsonProperty(FIELD_VERSION)\n public abstract Builder setVersion(@Nullable String version);\n\n @JsonCreator\n public static Builder builder() {\n return new AutoValue_ServerNodeDto.Builder()\n .setProcessing(false);\n }\n\n public abstract ServerNodeDto build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/b160fc56d9345fb477c08e7f76acd4ccb99d5141.json b/web/public/bundles/graylog/code/b160fc56d9345fb477c08e7f76acd4ccb99d5141.json new file mode 100644 index 00000000..b1d2c192 --- /dev/null +++ b/web/public/bundles/graylog/code/b160fc56d9345fb477c08e7f76acd4ccb99d5141.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b160fc56d9345fb477c08e7f76acd4ccb99d5141", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20230210102500_UniqueUserMigration.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.migrations;\n\nimport com.mongodb.client.MongoCollection;\nimport com.mongodb.client.model.IndexOptions;\nimport com.mongodb.client.model.Indexes;\nimport jakarta.inject.Inject;\nimport org.bson.Document;\nimport org.graylog2.database.MongoConnection;\nimport org.graylog2.users.UserImpl;\n\nimport java.time.ZonedDateTime;\n\npublic class V20230210102500_UniqueUserMigration extends Migration {\n private final MongoConnection mongoConnection;\n\n @Inject\n public V20230210102500_UniqueUserMigration(MongoConnection mongoConnection) {\n this.mongoConnection = mongoConnection;\n }\n\n @Override\n public ZonedDateTime createdAt() {\n return ZonedDateTime.parse(\"2023-02-10T10:25:00Z\");\n }\n\n @Override\n public void upgrade() {\n MongoCollection coll = mongoConnection.getMongoDatabase().getCollection(UserImpl.COLLECTION_NAME);\n\n // NOOP, if index already exists\n coll.createIndex(Indexes.ascending(UserImpl.USERNAME), new IndexOptions().name(\"unique_username\").unique(true));\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/b40f6aea3b21ad7ca28a5afba6b40db351dcce58.json b/web/public/bundles/graylog/code/b40f6aea3b21ad7ca28a5afba6b40db351dcce58.json new file mode 100644 index 00000000..ead5ab3d --- /dev/null +++ b/web/public/bundles/graylog/code/b40f6aea3b21ad7ca28a5afba6b40db351dcce58.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b40f6aea3b21ad7ca28a5afba6b40db351dcce58", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/LinkFieldDecorator.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.decorators;\n\nimport com.google.common.collect.ImmutableMap;\nimport com.google.inject.assistedinject.Assisted;\nimport io.opentelemetry.instrumentation.annotations.WithSpan;\nimport jakarta.inject.Inject;\nimport org.graylog2.plugin.Message;\nimport org.graylog2.plugin.MessageFactory;\nimport org.graylog2.plugin.configuration.ConfigurationRequest;\nimport org.graylog2.plugin.configuration.fields.TextField;\nimport org.graylog2.plugin.decorators.SearchResponseDecorator;\nimport org.graylog2.rest.models.messages.responses.ResultMessageSummary;\nimport org.graylog2.rest.resources.search.responses.SearchResponse;\n\nimport java.net.MalformedURLException;\nimport java.net.URI;\nimport java.net.URISyntaxException;\nimport java.net.URL;\nimport java.util.HashMap;\nimport java.util.List;\nimport java.util.Locale;\nimport java.util.Map;\nimport java.util.stream.Collectors;\n\nimport static java.util.Objects.requireNonNull;\n\npublic class LinkFieldDecorator implements SearchResponseDecorator {\n public static final String CK_LINK_FIELD = \"link_field\";\n private final String linkField;\n private final MessageFactory messageFactory;\n\n public interface Factory extends SearchResponseDecorator.Factory {\n @Override\n LinkFieldDecorator create(Decorator decorator);\n\n @Override\n LinkFieldDecorator.Config getConfig();\n\n @Override\n LinkFieldDecorator.Descriptor getDescriptor();\n }\n\n public static class Config implements SearchResponseDecorator.Config {\n\n @Override\n public ConfigurationRequest getRequestedConfiguration() {\n return new ConfigurationRequest() {\n {\n addField(new TextField(\n CK_LINK_FIELD,\n \"Link field\",\n \"message\",\n \"The field that will be transformed into a hyperlink.\"\n ));\n }\n };\n }\n }\n\n public static class Descriptor extends SearchResponseDecorator.Descriptor {\n public Descriptor() {\n super(\"Hyperlink String\", \"http://docs.graylog.org/\", \"Hyperlink string\");\n }\n }\n\n @Inject\n public LinkFieldDecorator(@Assisted Decorator decorator, MessageFactory messageFactory) {\n this.linkField = (String) requireNonNull(decorator.config().get(CK_LINK_FIELD),\n CK_LINK_FIELD + \" cannot be null\");\n this.messageFactory = messageFactory;\n }\n\n @WithSpan\n @Override\n public SearchResponse apply(SearchResponse searchResponse) {\n final List summaries = searchResponse.messages().stream()\n .map(summary -> {\n if (!summary.message().containsKey(linkField)) {\n return summary;\n }\n final Message message = messageFactory.createMessage(ImmutableMap.copyOf(summary.message()));\n final String href = (String) summary.message().get(linkField);\n if (isValidUrl(href)) {\n final Map decoratedField = new HashMap<>();\n decoratedField.put(\"type\", \"a\");\n decoratedField.put(\"href\", href);\n message.addField(linkField, decoratedField);\n } else {\n message.addField(linkField, href);\n }\n return summary.toBuilder().message(message.getFields()).build();\n })\n .collect(Collectors.toList());\n\n return searchResponse.toBuilder().messages(summaries).build();\n }\n\n /**\n * @param url a String URL.\n * @return true if the URL is valid and false if the URL is invalid.\n *\n * All URLS that do not start with the protocol \"http\" or \"https\" protocol scheme are considered invalid.\n * All other non-URL text strings will be considered invalid. This includes inline javascript expressions such as:\n * - javascript:...\n * - alert()\n * - or any other javascript expressions.\n */\n private boolean isValidUrl(String url) {\n try {\n // uppercase schema is fine per RFC2396 but the parsing in Java considers it an error, so we lowercase the beginning of the url for testing if necessary\n final var fixedUrl = (url.startsWith(\"HTTP:\") || url.startsWith(\"HTTPS:\")) ?\n url.substring(0, 5).toLowerCase(Locale.ROOT) + url.substring(5): url;\n final var uri = URI.create(fixedUrl);\n return uri.getScheme() != null && (uri.getScheme().equals(\"http\") || uri.getScheme().equals(\"https\"));\n } catch (IllegalArgumentException e) {\n return false;\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/b44e17aa25b9239bfebe03ff798332a94021644a.json b/web/public/bundles/graylog/code/b44e17aa25b9239bfebe03ff798332a94021644a.json new file mode 100644 index 00000000..d5b67c47 --- /dev/null +++ b/web/public/bundles/graylog/code/b44e17aa25b9239bfebe03ff798332a94021644a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b44e17aa25b9239bfebe03ff798332a94021644a", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/security/TruststoreCreator.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.security;\n\nimport jakarta.annotation.Nonnull;\nimport jakarta.annotation.Nullable;\nimport org.graylog.security.certutil.CertConstants;\nimport org.graylog.security.certutil.csr.FilesystemKeystoreInformation;\nimport org.graylog.security.certutil.csr.KeystoreInformation;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.io.FileOutputStream;\nimport java.io.IOException;\nimport java.nio.file.Path;\nimport java.security.GeneralSecurityException;\nimport java.security.KeyStore;\nimport java.security.KeyStoreException;\nimport java.security.NoSuchAlgorithmException;\nimport java.security.cert.Certificate;\nimport java.security.cert.CertificateException;\nimport java.security.cert.CertificateExpiredException;\nimport java.security.cert.CertificateNotYetValidException;\nimport java.security.cert.X509Certificate;\nimport java.util.Arrays;\nimport java.util.Collections;\nimport java.util.Enumeration;\nimport java.util.HashSet;\nimport java.util.List;\nimport java.util.Optional;\nimport java.util.Set;\nimport java.util.concurrent.atomic.AtomicInteger;\n\nimport static org.graylog2.shared.utilities.StringUtils.f;\n\npublic class TruststoreCreator {\n\n private static final Logger LOG = LoggerFactory.getLogger(TruststoreCreator.class);\n\n private final KeyStore truststore;\n\n public TruststoreCreator(KeyStore truststore) {\n this.truststore = copyWithoutExpired(truststore);\n }\n\n public static TruststoreCreator newDefaultJvm() {\n return TruststoreUtils.loadJvmTruststore()\n .map(TruststoreCreator::new)\n .orElseGet(TruststoreCreator::newEmpty);\n }\n\n public static TruststoreCreator newEmpty() {\n try {\n KeyStore trustStore = KeyStore.getInstance(CertConstants.PKCS12);\n trustStore.load(null, null);\n return new TruststoreCreator(trustStore);\n } catch (KeyStoreException | CertificateException | IOException | NoSuchAlgorithmException e) {\n throw new RuntimeException(e);\n }\n }\n\n private static KeyStore copyWithoutExpired(KeyStore keyStore) {\n try {\n KeyStore cleanTruststore = KeyStore.getInstance(CertConstants.PKCS12);\n cleanTruststore.load(null, null);\n\n Enumeration aliases = keyStore.aliases();\n Set invalidAliases = new HashSet<>();\n\n while (aliases.hasMoreElements()) {\n String alias = aliases.nextElement();\n if (keyStore.isCertificateEntry(alias)) {\n Certificate certificate = keyStore.getCertificate(alias);\n if (isCertificateValid(certificate)) {\n cleanTruststore.setCertificateEntry(alias, certificate);\n } else {\n invalidAliases.add(alias);\n }\n }\n }\n if (!invalidAliases.isEmpty()) {\n LOG.warn(\"Truststore contains {} expired or not yet valid certificates, these were be filtered out: {}\", invalidAliases.size(), invalidAliases);\n }\n return cleanTruststore;\n } catch (KeyStoreException | CertificateException | IOException | NoSuchAlgorithmException e) {\n throw new RuntimeException(e);\n }\n }\n\n private static boolean isCertificateValid(Certificate certificate) {\n try {\n ((X509Certificate) certificate).checkValidity();\n return true;\n } catch (CertificateExpiredException | CertificateNotYetValidException e) {\n return false;\n }\n }\n\n /**\n * Originally we added only the root(=selfsigned) certificate to the truststore. But this causes problems with\n * usage of intermediate CAs. There is nothing wrong adding the whole cert chain to the truststore.\n *\n * @param keystoreInformation access to the keystore, to obtain certificate chains and certificates\n */\n public TruststoreCreator addCertificates(KeystoreInformation keystoreInformation) throws IOException, GeneralSecurityException {\n return addCertificates(keystoreInformation.loadKeystore(), null);\n }\n\n /**\n * Same as {@link #addCertificates(KeyStore, String)}, using the first private key entry of the keystore.\n */\n public TruststoreCreator addCertificates(KeyStore keystore) throws KeyStoreException {\n return addCertificates(keystore, null);\n }\n\n /**\n * Adds the certificate chain of one private key entry and all trusted certificate entries of the given keystore.\n * The private key entry is selected by the given alias or, if no alias is given, the first private key entry is used.\n * Chains of other private key entries are not added, the keystore may hold keys that are not used for TLS.\n * Private and secret keys are never copied to the truststore.\n *\n * @param keyAlias alias of the private key entry used for TLS, or null to use the first private key entry\n * @throws IllegalArgumentException if the keyAlias is given but doesn't point to a private key entry\n */\n public TruststoreCreator addCertificates(KeyStore keystore, @Nullable String keyAlias) throws KeyStoreException {\n final List aliases = Collections.list(keystore.aliases());\n\n final Optional privateKeyAlias = selectPrivateKeyAlias(keystore, aliases, keyAlias);\n if (privateKeyAlias.isPresent()) {\n LOG.info(\"Adding key certificate chain of alias {} to the truststore\", privateKeyAlias.get());\n addCertificates(toX509Certs(keystore.getCertificateChain(privateKeyAlias.get())));\n }\n\n for (String alias : aliases) {\n if (keystore.entryInstanceOf(alias, KeyStore.TrustedCertificateEntry.class)) {\n LOG.info(\"Adding certificate of alias {} to the truststore\", alias);\n addCertificates(toX509Certs(new Certificate[]{keystore.getCertificate(alias)}));\n }\n }\n return this;\n }\n\n private static Optional selectPrivateKeyAlias(KeyStore keystore, List aliases, @Nullable String keyAlias) throws KeyStoreException {\n if (keyAlias != null) {\n if (!keystore.entryInstanceOf(keyAlias, KeyStore.PrivateKeyEntry.class)) {\n throw new IllegalArgumentException(f(\"Keystore alias %s doesn't exist or is not a private key entry\", keyAlias));\n }\n return Optional.of(keyAlias);\n }\n for (String alias : aliases) {\n if (keystore.entryInstanceOf(alias, KeyStore.PrivateKeyEntry.class)) {\n return Optional.of(alias);\n }\n }\n return Optional.empty();\n }\n\n @Nonnull\n private static List toX509Certs(Certificate[] certs) {\n return Arrays.stream(certs)\n .filter(c -> c instanceof X509Certificate)\n .map(c -> (X509Certificate) c)\n .toList();\n }\n\n /**\n * Adds the given certificates to the truststore. Certificates that are already present or not valid are skipped.\n */\n public TruststoreCreator addCertificates(List trustedCertificates) {\n trustedCertificates\n .stream()\n .filter(this::filterOutInvalidWithLogging)\n .filter(cert -> !isPresent(cert))\n .forEach(cert -> {\n try {\n this.truststore.setCertificateEntry(generateAlias(this.truststore, cert), cert);\n } catch (KeyStoreException e) {\n throw new RuntimeException(e);\n }\n });\n return this;\n }\n\n private boolean isPresent(X509Certificate cert) {\n try {\n return this.truststore.getCertificateAlias(cert) != null;\n } catch (KeyStoreException e) {\n throw new RuntimeException(e);\n }\n }\n\n private boolean filterOutInvalidWithLogging(X509Certificate cert) {\n if (isCertificateValid(cert)) {\n return true;\n } else {\n LOG.warn(\"Certificate {} is not valid, won't be added to the keystore\", cert.getSubjectX500Principal().getName());\n return false;\n }\n }\n\n /**\n * Alias has no meaning for the trust and validation purposes in the truststore. It's there only for managing\n * the truststore content. We just need to make sure that we are using unique aliases, otherwise the\n * truststore would override already present certificates.\n *\n * If there is no collision, we use the cname as given in the cert. In case of collisions, we'll append _i,\n * where is index an incremented till it's unique in the truststore.\n */\n private static String generateAlias(KeyStore truststore, X509Certificate cert) throws KeyStoreException {\n AtomicInteger counter = new AtomicInteger(1);\n final String cname = cert.getSubjectX500Principal().getName();\n String alias = cname;\n while (truststore.containsAlias(alias)) {\n alias = cname + \"_\" + counter.getAndIncrement();\n }\n return alias;\n }\n\n public FilesystemKeystoreInformation persist(final Path truststorePath, final char[] truststorePassword) throws IOException, GeneralSecurityException {\n try (final FileOutputStream fileOutputStream = new FileOutputStream(truststorePath.toFile())) {\n getTruststore().store(fileOutputStream, truststorePassword);\n }\n return new FilesystemKeystoreInformation(truststorePath, truststorePassword);\n }\n\n @Nonnull\n public KeyStore getTruststore() {\n return this.truststore;\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/b4abc0eee472c64085c5bb4f928b3c7fa354595f.json b/web/public/bundles/graylog/code/b4abc0eee472c64085c5bb4f928b3c7fa354595f.json new file mode 100644 index 00000000..13301c40 --- /dev/null +++ b/web/public/bundles/graylog/code/b4abc0eee472c64085c5bb4f928b3c7fa354595f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b4abc0eee472c64085c5bb4f928b3c7fa354595f", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V19700101000000_GenerateClusterId.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.migrations;\n\nimport org.graylog2.plugin.cluster.ClusterConfigService;\nimport org.graylog2.plugin.cluster.ClusterId;\nimport org.graylog2.plugin.cluster.ClusterIdFactory;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport jakarta.inject.Inject;\n\nimport java.time.ZonedDateTime;\n\npublic class V19700101000000_GenerateClusterId extends Migration {\n private static final Logger LOG = LoggerFactory.getLogger(V19700101000000_GenerateClusterId.class);\n\n private final ClusterConfigService clusterConfigService;\n private final ClusterIdFactory clusterIdFactory;\n\n @Inject\n public V19700101000000_GenerateClusterId(ClusterConfigService clusterConfigService, ClusterIdFactory clusterIdFactory) {\n this.clusterConfigService = clusterConfigService;\n this.clusterIdFactory = clusterIdFactory;\n }\n\n @Override\n public ZonedDateTime createdAt() {\n return ZonedDateTime.parse(\"1970-01-01T00:00:00Z\");\n }\n\n @Override\n public void upgrade() {\n if (clusterConfigService.get(ClusterId.class) == null) {\n ClusterId clusterId = clusterIdFactory.create();\n clusterConfigService.write(clusterId);\n\n LOG.debug(\"Generated cluster ID {}\", clusterId.clusterId());\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/b4fabd9044369ba49e83bced70692fef7776b21d.json b/web/public/bundles/graylog/code/b4fabd9044369ba49e83bced70692fef7776b21d.json new file mode 100644 index 00000000..db4d386d --- /dev/null +++ b/web/public/bundles/graylog/code/b4fabd9044369ba49e83bced70692fef7776b21d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b4fabd9044369ba49e83bced70692fef7776b21d", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/lookup/LookupTableResource.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.resources.system.lookup;\n\nimport com.fasterxml.jackson.annotation.JsonAutoDetect;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.jackson.annotation.JsonUnwrapped;\nimport com.google.common.collect.ImmutableMap;\nimport com.google.common.collect.ImmutableSet;\nimport com.google.common.collect.Iterables;\nimport com.google.common.collect.Maps;\nimport com.google.common.collect.Multimap;\nimport com.mongodb.MongoException;\nimport io.swagger.v3.oas.annotations.Operation;\nimport io.swagger.v3.oas.annotations.Parameter;\nimport io.swagger.v3.oas.annotations.media.Schema;\nimport io.swagger.v3.oas.annotations.parameters.RequestBody;\nimport io.swagger.v3.oas.annotations.responses.ApiResponse;\nimport io.swagger.v3.oas.annotations.responses.ApiResponses;\nimport io.swagger.v3.oas.annotations.tags.Tag;\nimport jakarta.inject.Inject;\nimport jakarta.validation.Valid;\nimport jakarta.validation.Validator;\nimport jakarta.validation.constraints.NotEmpty;\nimport jakarta.ws.rs.BadRequestException;\nimport jakarta.ws.rs.Consumes;\nimport jakarta.ws.rs.DELETE;\nimport jakarta.ws.rs.DefaultValue;\nimport jakarta.ws.rs.GET;\nimport jakarta.ws.rs.NotFoundException;\nimport jakarta.ws.rs.POST;\nimport jakarta.ws.rs.PUT;\nimport jakarta.ws.rs.Path;\nimport jakarta.ws.rs.PathParam;\nimport jakarta.ws.rs.Produces;\nimport jakarta.ws.rs.QueryParam;\nimport org.apache.shiro.authz.annotation.RequiresAuthentication;\nimport org.apache.shiro.authz.annotation.RequiresPermissions;\nimport org.bson.conversions.Bson;\nimport org.graylog2.Configuration;\nimport org.graylog2.audit.AuditEventTypes;\nimport org.graylog2.audit.jersey.AuditEvent;\nimport org.graylog2.audit.jersey.NoAuditEvent;\nimport org.graylog2.database.PaginatedList;\nimport org.graylog2.database.utils.MongoUtils;\nimport org.graylog2.lookup.CachePurge;\nimport org.graylog2.lookup.LookupDefaultMultiValue;\nimport org.graylog2.lookup.LookupDefaultSingleValue;\nimport org.graylog2.lookup.LookupTable;\nimport org.graylog2.lookup.LookupTableService;\nimport org.graylog2.lookup.adapters.LookupDataAdapterValidationContext;\nimport org.graylog2.lookup.db.DBCacheService;\nimport org.graylog2.lookup.db.DBDataAdapterService;\nimport org.graylog2.lookup.db.DBLookupTableService;\nimport org.graylog2.lookup.dto.CacheDto;\nimport org.graylog2.lookup.dto.DataAdapterDto;\nimport org.graylog2.lookup.dto.LookupTableDto;\nimport org.graylog2.plugin.lookup.LookupCache;\nimport org.graylog2.plugin.lookup.LookupDataAdapter;\nimport org.graylog2.plugin.lookup.LookupDataAdapterConfiguration;\nimport org.graylog2.plugin.lookup.LookupPreview;\nimport org.graylog2.plugin.lookup.LookupResult;\nimport org.graylog2.plugin.rest.ValidationResult;\nimport org.graylog2.rest.models.SortOrder;\nimport org.graylog2.rest.models.system.lookup.CacheApi;\nimport org.graylog2.rest.models.system.lookup.DataAdapterApi;\nimport org.graylog2.rest.models.system.lookup.ErrorStates;\nimport org.graylog2.rest.models.system.lookup.ErrorStatesRequest;\nimport org.graylog2.rest.models.system.lookup.LookupTableApi;\nimport org.graylog2.search.SearchQuery;\nimport org.graylog2.search.SearchQueryField;\nimport org.graylog2.search.SearchQueryParser;\nimport org.graylog2.shared.rest.PublicCloudAPI;\nimport org.graylog2.shared.rest.resources.RestResource;\nimport org.graylog2.shared.security.RestPermissions;\n\nimport javax.annotation.Nullable;\nimport java.util.Collection;\nimport java.util.Collections;\nimport java.util.List;\nimport java.util.Locale;\nimport java.util.Map;\nimport java.util.Optional;\nimport java.util.Set;\nimport java.util.function.Function;\nimport java.util.stream.Collectors;\nimport java.util.stream.Stream;\n\nimport static com.google.common.base.Strings.isNullOrEmpty;\nimport static java.util.Collections.singleton;\nimport static java.util.Objects.requireNonNull;\n\n@RequiresAuthentication\n@Path(\"/system/lookup\")\n@Produces(\"application/json\")\n@Consumes(\"application/json\")\n@PublicCloudAPI\n@Tag(name = \"System/Lookup\", description = \"Lookup tables\")\npublic class LookupTableResource extends RestResource {\n private static final ImmutableSet LUT_ALLOWABLE_SORT_FIELDS = ImmutableSet.of(\n LookupTableDto.FIELD_ID,\n LookupTableDto.FIELD_TITLE,\n LookupTableDto.FIELD_DESCRIPTION,\n LookupTableDto.FIELD_NAME\n );\n private static final ImmutableSet ADAPTER_ALLOWABLE_SORT_FIELDS = ImmutableSet.of(\n DataAdapterDto.FIELD_ID,\n DataAdapterDto.FIELD_TITLE,\n DataAdapterDto.FIELD_DESCRIPTION,\n DataAdapterDto.FIELD_NAME\n );\n private static final ImmutableSet CACHE_ALLOWABLE_SORT_FIELDS = ImmutableSet.of(\n CacheDto.FIELD_ID,\n CacheDto.FIELD_TITLE,\n CacheDto.FIELD_DESCRIPTION,\n CacheDto.FIELD_NAME\n );\n private static final ImmutableMap LUT_SEARCH_FIELD_MAPPING = ImmutableMap.builder()\n .put(\"id\", SearchQueryField.create(\"_id\", SearchQueryField.Type.OBJECT_ID))\n .put(\"title\", SearchQueryField.create(LookupTableDto.FIELD_TITLE))\n .put(\"description\", SearchQueryField.create(LookupTableDto.FIELD_DESCRIPTION))\n .put(\"name\", SearchQueryField.create(LookupTableDto.FIELD_NAME))\n .build();\n private static final ImmutableMap ADAPTER_SEARCH_FIELD_MAPPING = ImmutableMap.builder()\n .put(\"id\", SearchQueryField.create(\"_id\", SearchQueryField.Type.OBJECT_ID))\n .put(\"title\", SearchQueryField.create(DataAdapterDto.FIELD_TITLE))\n .put(\"description\", SearchQueryField.create(DataAdapterDto.FIELD_DESCRIPTION))\n .put(\"name\", SearchQueryField.create(DataAdapterDto.FIELD_NAME))\n .build();\n private static final ImmutableMap CACHE_SEARCH_FIELD_MAPPING = ImmutableMap.builder()\n .put(\"id\", SearchQueryField.create(\"_id\", SearchQueryField.Type.OBJECT_ID))\n .put(\"title\", SearchQueryField.create(CacheDto.FIELD_TITLE))\n .put(\"description\", SearchQueryField.create(CacheDto.FIELD_DESCRIPTION))\n .put(\"name\", SearchQueryField.create(CacheDto.FIELD_NAME))\n .build();\n\n private final DBLookupTableService dbTableService;\n private final DBDataAdapterService dbDataAdapterService;\n private final DBCacheService dbCacheService;\n private final Map cacheTypes;\n private final Map dataAdapterTypes;\n private final Map dataAdapterTypes2;\n private final SearchQueryParser lutSearchQueryParser;\n private final SearchQueryParser adapterSearchQueryParser;\n private final SearchQueryParser cacheSearchQueryParser;\n private final LookupTableService lookupTableService;\n private final LookupDataAdapterValidationContext lookupDataAdapterValidationContext;\n private final Validator validator;\n private final Configuration configuration;\n\n @Inject\n public LookupTableResource(DBLookupTableService dbTableService, DBDataAdapterService dbDataAdapterService,\n DBCacheService dbCacheService, Map cacheTypes,\n Map dataAdapterTypes,\n Map dataAdapterTypes2,\n LookupTableService lookupTableService,\n LookupDataAdapterValidationContext lookupDataAdapterValidationContext,\n Validator validator,\n Configuration configuration) {\n this.dbTableService = dbTableService;\n this.dbDataAdapterService = dbDataAdapterService;\n this.dbCacheService = dbCacheService;\n this.cacheTypes = cacheTypes;\n this.dataAdapterTypes = dataAdapterTypes;\n this.dataAdapterTypes2 = dataAdapterTypes2;\n this.lookupTableService = lookupTableService;\n this.lookupDataAdapterValidationContext = lookupDataAdapterValidationContext;\n this.validator = validator;\n this.configuration = configuration;\n this.lutSearchQueryParser = new SearchQueryParser(LookupTableDto.FIELD_TITLE, LUT_SEARCH_FIELD_MAPPING);\n this.adapterSearchQueryParser = new SearchQueryParser(DataAdapterDto.FIELD_TITLE, ADAPTER_SEARCH_FIELD_MAPPING);\n this.cacheSearchQueryParser = new SearchQueryParser(CacheDto.FIELD_TITLE, CACHE_SEARCH_FIELD_MAPPING);\n }\n\n private void checkLookupTableId(String idOrName, LookupTableApi toUpdate) {\n requireNonNull(idOrName, \"idOrName parameter cannot be null\");\n if (idOrName.equals(toUpdate.id()) || idOrName.equals(toUpdate.name())) {\n return;\n }\n throw new BadRequestException(\"URL parameter <\" + idOrName + \"> does not match parameter in request body\");\n }\n\n private void checkLookupCacheId(String idOrName, CacheApi toUpdate) {\n requireNonNull(idOrName, \"idOrName parameter cannot be null\");\n if (idOrName.equals(toUpdate.id()) || idOrName.equals(toUpdate.name())) {\n return;\n }\n throw new BadRequestException(\"URL parameter <\" + idOrName + \"> does not match parameter in request body\");\n }\n\n private void checkLookupAdapterId(String idOrName, DataAdapterApi toUpdate) {\n requireNonNull(idOrName, \"idOrName parameter cannot be null\");\n if (idOrName.equals(toUpdate.id()) || idOrName.equals(toUpdate.name())) {\n return;\n }\n throw new BadRequestException(\"URL parameter <\" + idOrName + \"> does not match parameter in request body\");\n }\n\n @GET\n @Path(\"tables/{name}/query\")\n @Operation(summary = \"Query a lookup table\")\n @RequiresPermissions(RestPermissions.LOOKUP_TABLES_READ)\n public LookupResult performLookup(@Parameter(name = \"name\") @PathParam(\"name\") @NotEmpty String name,\n @Parameter(name = \"key\") @QueryParam(\"key\") @NotEmpty String key) {\n return lookupTableService.newBuilder().lookupTable(name).build().lookup(key);\n }\n\n /**\n * NOTE: Must NOT be called directly by clients. Consider calling\n * {@link org.graylog2.rest.resources.cluster.ClusterLookupTableResource#performPurge(String, String)}\n * instead!\n */\n @POST\n @Path(\"tables/{idOrName}/purge\")\n @Operation(summary = \"Purge lookup table cache\")\n @NoAuditEvent(\"Cache purge only\")\n @RequiresPermissions(RestPermissions.LOOKUP_TABLES_READ)\n public void performPurge(@Parameter(name = \"idOrName\") @PathParam(\"idOrName\") @NotEmpty String idOrName,\n @Parameter(name = \"key\") @QueryParam(\"key\") String key) {\n final Optional lookupTableDto = dbTableService.get(idOrName);\n if (lookupTableDto.isEmpty()) {\n throw new NotFoundException(\"Lookup table <\" + idOrName + \"> not found\");\n }\n\n final Optional cachePurge = lookupTableService.newCachePurge(lookupTableDto.get().name());\n if (cachePurge.isPresent()) {\n if (isNullOrEmpty(key)) {\n cachePurge.get().purgeAll();\n } else {\n cachePurge.get().purgeKey(key);\n }\n } else {\n throw new NotFoundException(\"Lookup table <\" + idOrName + \"> not found\");\n }\n }\n\n @GET\n @Path(\"tables\")\n @Operation(summary = \"List configured lookup tables\")\n @RequiresPermissions(RestPermissions.LOOKUP_TABLES_READ)\n public LookupTablePage tables(@Parameter(name = \"page\") @QueryParam(\"page\") @DefaultValue(\"1\") int page,\n @Parameter(name = \"per_page\") @QueryParam(\"per_page\") @DefaultValue(\"50\") int perPage,\n @Parameter(name = \"sort\",\n description = \"The field to sort the result on\",\n required = true,\n schema = @Schema(allowableValues = {\"title\", \"description\", \"name\"}))\n @DefaultValue(LookupTableDto.FIELD_TITLE) @QueryParam(\"sort\") String sort,\n @Parameter(name = \"order\", description = \"The sort direction\",\n schema = @Schema(allowableValues = {\"asc\", \"desc\"}))\n @DefaultValue(\"desc\") @QueryParam(\"order\") SortOrder order,\n @Parameter(name = \"query\") @QueryParam(\"query\") String query,\n @Parameter(name = \"resolve\") @QueryParam(\"resolve\") @DefaultValue(\"false\") boolean resolveObjects) {\n\n if (!LUT_ALLOWABLE_SORT_FIELDS.contains(sort.toLowerCase(Locale.ENGLISH))) {\n sort = LookupTableDto.FIELD_TITLE;\n }\n\n try {\n final SearchQuery searchQuery = lutSearchQueryParser.parse(query);\n final Bson dbQuery = searchQuery.toBson();\n\n PaginatedList paginated = dbTableService.findPaginated(dbQuery, order.toBsonSort(sort), page, perPage);\n\n ImmutableSet.Builder caches = ImmutableSet.builder();\n ImmutableSet.Builder dataAdapters = ImmutableSet.builder();\n if (resolveObjects) {\n ImmutableSet.Builder cacheIds = ImmutableSet.builder();\n ImmutableSet.Builder dataAdapterIds = ImmutableSet.builder();\n\n paginated.forEach(dto -> {\n cacheIds.add(dto.cacheId());\n dataAdapterIds.add(dto.dataAdapterId());\n });\n\n try (Stream dataAdapterStream = dbDataAdapterService.streamByIds(dataAdapterIds.build());\n Stream cacheStream = dbCacheService.streamByIds(cacheIds.build())) {\n dataAdapterStream.forEach(dataAdapterDto -> dataAdapters.add(DataAdapterApi.fromDto(dataAdapterDto)));\n cacheStream.forEach(cacheDto -> caches.add(CacheApi.fromDto(cacheDto)));\n }\n }\n\n return new LookupTablePage(query,\n paginated.pagination(),\n paginated.stream().map(LookupTableApi::fromDto).collect(Collectors.toList()),\n caches.build(),\n dataAdapters.build());\n } catch (IllegalArgumentException e) {\n throw new BadRequestException(e.getMessage(), e);\n }\n }\n\n @GET\n @Path(\"tables/{idOrName}\")\n @Operation(summary = \"Retrieve the named lookup table\")\n public LookupTablePage get(@Parameter(name = \"idOrName\") @PathParam(\"idOrName\") @NotEmpty String idOrName,\n @Parameter(name = \"resolve\") @QueryParam(\"resolve\") @DefaultValue(\"false\") boolean resolveObjects) {\n\n Optional lookupTableDto = dbTableService.get(idOrName);\n if (lookupTableDto.isEmpty()) {\n throw new NotFoundException();\n }\n LookupTableDto tableDto = lookupTableDto.get();\n\n checkPermission(RestPermissions.LOOKUP_TABLES_READ, tableDto.id());\n\n Set caches = Collections.emptySet();\n Set adapters = Collections.emptySet();\n\n if (resolveObjects) {\n try (Stream dataAdapterStream = dbDataAdapterService.streamByIds(Collections.singleton(tableDto.dataAdapterId()));\n Stream cacheStream = dbCacheService.streamByIds(Collections.singleton(tableDto.cacheId()))) {\n caches = cacheStream.map(CacheApi::fromDto).collect(Collectors.toSet());\n adapters = dataAdapterStream.map(DataAdapterApi::fromDto).collect(Collectors.toSet());\n }\n }\n\n final PaginatedList result = PaginatedList.singleton(LookupTableApi.fromDto(tableDto), 1, 1);\n return new LookupTablePage(null,\n result.pagination(),\n result,\n caches,\n adapters);\n }\n\n\n @POST\n @Path(\"tables\")\n @AuditEvent(type = AuditEventTypes.LOOKUP_TABLE_CREATE)\n @Operation(summary = \"Create a new lookup table\")\n @RequiresPermissions(RestPermissions.LOOKUP_TABLES_CREATE)\n public LookupTableApi createTable(@RequestBody(required = true) LookupTableApi lookupTable) {\n final LookupTableApi toCreate = checkDefaultValues(trimDefaultValues(lookupTable));\n try {\n LookupTableDto saved = dbTableService.saveAndPostEvent(toCreate.toDto());\n\n return LookupTableApi.fromDto(saved);\n } catch (MongoException e) {\n if (MongoUtils.isDuplicateKeyError(e)) {\n throw new BadRequestException(e.getMessage());\n }\n throw e;\n }\n }\n\n @PUT\n @Path(\"tables/{idOrName}\")\n @AuditEvent(type = AuditEventTypes.LOOKUP_TABLE_UPDATE)\n @Operation(summary = \"Update the given lookup table\")\n public LookupTableApi updateTable(@Parameter(name = \"idOrName\") @PathParam(\"idOrName\") @NotEmpty String idOrName,\n @Valid @RequestBody(required = true) LookupTableApi toUpdate) {\n checkLookupTableId(idOrName, toUpdate);\n checkPermission(RestPermissions.LOOKUP_TABLES_EDIT, toUpdate.id());\n LookupTableDto saved = dbTableService.saveAndPostEvent(checkDefaultValues(trimDefaultValues(toUpdate)).toDto());\n\n return LookupTableApi.fromDto(saved);\n }\n\n @DELETE\n @Path(\"tables/{idOrName}\")\n @AuditEvent(type = AuditEventTypes.LOOKUP_TABLE_DELETE)\n @Operation(summary = \"Delete the lookup table\")\n public LookupTableApi removeTable(@Parameter(name = \"idOrName\") @PathParam(\"idOrName\") @NotEmpty String idOrName) {\n // TODO validate that table isn't in use, how?\n Optional lookupTableDto = dbTableService.get(idOrName);\n if (lookupTableDto.isEmpty()) {\n throw new NotFoundException();\n }\n checkPermission(RestPermissions.LOOKUP_TABLES_DELETE, lookupTableDto.get().id());\n dbTableService.deleteAndPostEvent(idOrName);\n\n return LookupTableApi.fromDto(lookupTableDto.get());\n }\n\n @POST\n @Path(\"tables/validate\")\n @NoAuditEvent(\"Validation only\")\n @Operation(summary = \"Validate the lookup table config\")\n @RequiresPermissions(RestPermissions.LOOKUP_TABLES_READ)\n public ValidationResult validateTable(@RequestBody(required = true) LookupTableApi toValidate) {\n final ValidationResult validation = new ValidationResult();\n\n validator.validate(toValidate).stream().forEach(v ->\n validation.addError(v.getPropertyPath().toString(), v.getMessage()));\n\n final Optional dtoOptional = dbTableService.get(toValidate.name());\n if (dtoOptional.isPresent()) {\n // a table exist with the given name, check that the IDs are the same, this might be an update\n final LookupTableDto tableDto = dtoOptional.get();\n //noinspection ConstantConditions\n if (!tableDto.id().equals(toValidate.id())) {\n // a table exists with a different id, so the name is already in use, fail validation\n validation.addError(\"name\", \"The lookup table name is already in use.\");\n }\n }\n\n validation.addAll(validateDefaultValues(trimDefaultValues(toValidate)));\n\n return validation;\n }\n\n // Trimmed on save rather than on parse, so lookups on already stored tables keep returning what they did.\n static LookupTableApi trimDefaultValues(LookupTableApi lookupTable) {\n return lookupTable.toBuilder()\n .defaultSingleValue(lookupTable.defaultSingleValue().trim())\n .defaultMultiValue(lookupTable.defaultMultiValue().trim())\n .build();\n }\n\n static ValidationResult validateDefaultValues(LookupTableApi lookupTable) {\n final ValidationResult validation = new ValidationResult();\n singleValueError(lookupTable.defaultSingleValue(), lookupTable.defaultSingleValueType())\n .ifPresent(error -> validation.addError(LookupTableApi.FIELD_DEFAULT_SINGLE_VALUE, error));\n multiValueError(lookupTable.defaultMultiValue(), lookupTable.defaultMultiValueType())\n .ifPresent(error -> validation.addError(LookupTableApi.FIELD_DEFAULT_MULTI_VALUE, error));\n return validation;\n }\n\n // Stricter than parsing, which turns an empty number into null and anything but \"true\" into false. Only\n // checked on save, so existing tables with such defaults keep loading.\n private static Optional singleValueError(String value, LookupDefaultSingleValue.Type type) {\n if (type == LookupDefaultSingleValue.Type.NULL) {\n return Optional.empty();\n }\n // An empty string is a deliberate default, e.g. in shipped content, so only empty numbers and booleans fail.\n if (value.isEmpty() && type != LookupDefaultSingleValue.Type.STRING) {\n return Optional.of(\"Must not be empty.\");\n }\n if (type == LookupDefaultSingleValue.Type.BOOLEAN && !value.equalsIgnoreCase(\"true\") && !value.equalsIgnoreCase(\"false\")) {\n return Optional.of(\"Must be true or false.\");\n }\n try {\n LookupDefaultSingleValue.create(value, type);\n return Optional.empty();\n } catch (IllegalArgumentException e) {\n return Optional.of(type == LookupDefaultSingleValue.Type.NUMBER\n ? \"Must be a number.\"\n : \"Must be a string, number or boolean.\");\n }\n }\n\n private static Optional multiValueError(String value, LookupDefaultMultiValue.Type type) {\n try {\n LookupDefaultMultiValue.create(value, type);\n return Optional.empty();\n } catch (IllegalArgumentException e) {\n return Optional.of(\"Must be a JSON object, e.g. {\\\"key\\\": \\\"value\\\"}.\");\n }\n }\n\n // An unparseable default stops the table from loading at all, so reject it instead of saving it.\n static LookupTableApi checkDefaultValues(LookupTableApi lookupTable) {\n final ValidationResult validation = validateDefaultValues(lookupTable);\n if (validation.failed()) {\n throw new BadRequestException(validation.getErrors().entrySet().stream()\n .flatMap(entry -> entry.getValue().stream().map(error -> entry.getKey() + \": \" + error))\n .collect(Collectors.joining(\" \")));\n }\n return lookupTable;\n }\n\n @GET\n @Path(\"tables/preview/{idOrName}\")\n @Operation(summary = \"Preview the entries in a lookup table.\")\n public LookupPreview getPreview(@Parameter(name = \"idOrName\") @PathParam(\"idOrName\") @NotEmpty String idOrName,\n @Parameter(name = \"size\") @QueryParam(\"size\") @DefaultValue(\"5\") int size) {\n Optional lookupTableDto = dbTableService.get(idOrName);\n if (lookupTableDto.isEmpty()) {\n throw new NotFoundException();\n }\n LookupTableDto tableDto = lookupTableDto.get();\n\n checkPermission(RestPermissions.LOOKUP_TABLES_READ, tableDto.id());\n final var service = lookupTableService.newBuilder().lookupTable(tableDto.name()).build();\n if (!service.supportsPreview()) {\n return LookupPreview.unsupported();\n }\n return service.getPreview(size);\n }\n\n @JsonAutoDetect\n public static class LookupTablePage {\n\n @Nullable\n @JsonProperty\n private final String query;\n\n @JsonUnwrapped\n private final PaginatedList.PaginationInfo paginationInfo;\n\n @JsonProperty(\"lookup_tables\")\n private final List lookupTables;\n\n @JsonProperty(\"caches\")\n private final Map cacheApiMap;\n\n @JsonProperty(\"data_adapters\")\n private final Map dataAdapterMap;\n\n public LookupTablePage(@Nullable String query,\n PaginatedList.PaginationInfo paginationInfo,\n List lookupTables,\n Collection caches,\n Collection dataAdapters) {\n this.query = query;\n this.paginationInfo = paginationInfo;\n this.lookupTables = lookupTables;\n this.cacheApiMap = Maps.uniqueIndex(caches, CacheApi::id);\n this.dataAdapterMap = Maps.uniqueIndex(dataAdapters, DataAdapterApi::id);\n }\n }\n\n @GET\n @Path(\"adapters\")\n @Operation(summary = \"List available data adapters\")\n @RequiresPermissions(RestPermissions.LOOKUP_TABLES_READ)\n public DataAdapterPage adapters(@Parameter(name = \"page\") @QueryParam(\"page\") @DefaultValue(\"1\") int page,\n @Parameter(name = \"per_page\") @QueryParam(\"per_page\") @DefaultValue(\"50\") int perPage,\n @Parameter(name = \"sort\",\n description = \"The field to sort the result on\",\n required = true,\n schema = @Schema(allowableValues = {\"title\", \"description\", \"name\"}))\n @DefaultValue(DataAdapterDto.FIELD_TITLE) @QueryParam(\"sort\") String sort,\n @Parameter(name = \"order\", description = \"The sort direction\",\n schema = @Schema(allowableValues = {\"asc\", \"desc\"}))\n @DefaultValue(\"desc\") @QueryParam(\"order\") SortOrder order,\n @Parameter(name = \"query\") @QueryParam(\"query\") String query) {\n\n if (!ADAPTER_ALLOWABLE_SORT_FIELDS.contains(sort.toLowerCase(Locale.ENGLISH))) {\n sort = DataAdapterDto.FIELD_TITLE;\n }\n\n try {\n final SearchQuery searchQuery = adapterSearchQueryParser.parse(query);\n final Bson dbQuery = searchQuery.toBson();\n\n PaginatedList paginated = dbDataAdapterService.findPaginated(dbQuery, order.toBsonSort(sort), page, perPage);\n return new DataAdapterPage(query,\n paginated.pagination(),\n paginated.stream().map(DataAdapterApi::fromDto).collect(Collectors.toList()));\n } catch (IllegalArgumentException e) {\n throw new BadRequestException(e.getMessage(), e);\n }\n }\n\n @GET\n @Path(\"types/adapters\")\n @Operation(summary = \"List available data adapter types\")\n @RequiresPermissions(RestPermissions.LOOKUP_TABLES_READ)\n public Map availableAdapterTypes() {\n\n final Stream stream1 = dataAdapterTypes.values().stream().map(LookupDataAdapter.Factory::getDescriptor);\n final Stream stream2 = dataAdapterTypes2.values().stream().map(LookupDataAdapter.Factory2::getDescriptor);\n Stream descriptorStream = Stream.concat(stream1, stream2);\n if (configuration.isCloud()) {\n descriptorStream = descriptorStream.filter(descriptor -> descriptor.defaultConfiguration().isCloudCompatible());\n }\n return descriptorStream\n .collect(Collectors.toMap(LookupDataAdapter.Descriptor::getType, Function.identity()));\n\n }\n\n @POST\n @NoAuditEvent(\"Bulk read call\")\n @Path(\"errorstates\")\n @Operation(summary = \"Retrieve the runtime error states of the given lookup tables, caches and adapters\")\n @RequiresPermissions(RestPermissions.LOOKUP_TABLES_READ)\n public ErrorStates errorStates(@Parameter(name = \"request\") @Valid ErrorStatesRequest request) {\n final ErrorStates.Builder errorStates = ErrorStates.builder();\n if (request.tables() != null) {\n //noinspection ConstantConditions\n for (String tableName : request.tables()) {\n\n final LookupTable table = lookupTableService.newBuilder().lookupTable(tableName).build().getTable();\n if (table != null) {\n errorStates.tables().put(tableName, table.error());\n }\n }\n }\n if (request.dataAdapters() != null) {\n lookupTableService.getDataAdapters(request.dataAdapters()).forEach(adapter -> {\n errorStates.dataAdapters().put(adapter.name(), adapter.getError().map(Throwable::getMessage).orElse(null));\n });\n }\n if (request.caches() != null) {\n lookupTableService.getCaches(request.caches()).forEach(cache -> {\n errorStates.caches().put(cache.name(), cache.getError().map(Throwable::getMessage).orElse(null));\n });\n }\n return errorStates.build();\n }\n\n @GET\n @Path(\"adapters/{idOrName}\")\n @Operation(summary = \"List the given data adapter\")\n public DataAdapterApi getAdapter(@Parameter(name = \"idOrName\") @PathParam(\"idOrName\") @NotEmpty String idOrName) {\n Optional dataAdapterDto = dbDataAdapterService.get(idOrName);\n if (dataAdapterDto.isPresent()) {\n checkPermission(RestPermissions.LOOKUP_TABLES_READ, dataAdapterDto.get().id());\n return DataAdapterApi.fromDto(dataAdapterDto.get());\n }\n throw new NotFoundException();\n }\n\n @GET\n @Path(\"adapters/{name}/query\")\n @Operation(summary = \"Query a lookup table\")\n @ApiResponses({\n @ApiResponse(responseCode = \"200\", description = \"Returns lookup result\", useReturnTypeSchema = true),\n @ApiResponse(responseCode = \"404\", description = \"If the adapter cannot be found (if it failed or doesn't exist at all)\")\n })\n @RequiresPermissions(RestPermissions.LOOKUP_TABLES_READ)\n public LookupResult performAdapterLookup(@Parameter(name = \"name\") @PathParam(\"name\") @NotEmpty String name,\n @Parameter(name = \"key\") @QueryParam(\"key\") @NotEmpty String key) {\n final Collection dataAdapters = lookupTableService.getDataAdapters(singleton(name));\n if (!dataAdapters.isEmpty()) {\n return Iterables.getOnlyElement(dataAdapters).get(key);\n } else {\n throw new NotFoundException(\"Unable to find data adapter \" + name);\n }\n }\n\n @POST\n @Path(\"adapters\")\n @AuditEvent(type = AuditEventTypes.LOOKUP_ADAPTER_CREATE)\n @Operation(summary = \"Create a new data adapter\")\n @RequiresPermissions(RestPermissions.LOOKUP_TABLES_CREATE)\n public DataAdapterApi createAdapter(@Valid @RequestBody(required = true) DataAdapterApi newAdapter) {\n try {\n DataAdapterDto dto = newAdapter.toDto();\n if (configuration.isCloud() && !dto.config().isCloudCompatible()) {\n throw new BadRequestException(String.format(Locale.ENGLISH,\n \"The data adapter <%s> is not allowed in the cloud environment!\", dto.config().type()));\n }\n DataAdapterDto saved = dbDataAdapterService.saveAndPostEvent(dto);\n\n return DataAdapterApi.fromDto(saved);\n } catch (MongoException e) {\n if (MongoUtils.isDuplicateKeyError(e)) {\n throw new BadRequestException(e.getMessage());\n }\n throw e;\n }\n }\n\n @DELETE\n @Path(\"adapters/{idOrName}\")\n @AuditEvent(type = AuditEventTypes.LOOKUP_ADAPTER_DELETE)\n @Operation(summary = \"Delete the given data adapter\", description = \"The data adapter cannot be in use by any lookup table, otherwise the request will fail.\")\n public DataAdapterApi deleteAdapter(@Parameter(name = \"idOrName\") @PathParam(\"idOrName\") @NotEmpty String idOrName) {\n Optional dataAdapterDto = dbDataAdapterService.get(idOrName);\n if (dataAdapterDto.isEmpty()) {\n throw new NotFoundException();\n }\n DataAdapterDto dto = dataAdapterDto.get();\n checkPermission(RestPermissions.LOOKUP_TABLES_DELETE, dto.id());\n final boolean unused;\n try (Stream lookupTableStream = dbTableService.streamByDataAdapterIds(singleton(dto.id()))) {\n unused = lookupTableStream.findAny().isEmpty();\n }\n if (!unused) {\n throw new BadRequestException(\"The adapter is still in use, cannot delete.\");\n }\n dbDataAdapterService.deleteAndPostEvent(idOrName);\n\n return DataAdapterApi.fromDto(dto);\n }\n\n @PUT\n @Path(\"adapters/{idOrName}\")\n @AuditEvent(type = AuditEventTypes.LOOKUP_ADAPTER_UPDATE)\n @Operation(summary = \"Update the given data adapter settings\")\n public DataAdapterApi updateAdapter(@Parameter(name = \"idOrName\") @PathParam(\"idOrName\") @NotEmpty String idOrName,\n @Valid @RequestBody(required = true) DataAdapterApi toUpdate) {\n checkLookupAdapterId(idOrName, toUpdate);\n checkPermission(RestPermissions.LOOKUP_TABLES_EDIT, toUpdate.id());\n\n final DataAdapterDto existingDto = dbDataAdapterService.get(idOrName)\n .orElseThrow(() -> new NotFoundException(\"Data adapter <\" + idOrName + \"> not found.\"));\n\n final LookupDataAdapterConfiguration mergedConfig =\n existingDto.config().prepareConfigUpdate(toUpdate.config());\n final DataAdapterDto dtoToSave = toUpdate.toDto().toBuilder().config(mergedConfig).build();\n\n DataAdapterDto saved = dbDataAdapterService.saveAndPostEvent(dtoToSave);\n\n return DataAdapterApi.fromDto(saved);\n }\n\n @POST\n @Path(\"adapters/validate\")\n @NoAuditEvent(\"Validation only\")\n @Operation(summary = \"Validate the data adapter config\")\n @RequiresPermissions(RestPermissions.LOOKUP_TABLES_READ)\n public ValidationResult validateAdapter(@RequestBody(required = true) DataAdapterApi toValidate) {\n final ValidationResult validation = new ValidationResult();\n\n validator.validate(toValidate).stream().forEach(v ->\n validation.addError(v.getPropertyPath().toString(), v.getMessage()));\n\n final Optional dtoOptional = dbDataAdapterService.get(toValidate.name());\n if (dtoOptional.isPresent()) {\n // an adapter exist with the given name, check that the IDs are the same, this might be an update\n final DataAdapterDto adapterDto = dtoOptional.get();\n //noinspection ConstantConditions\n if (!adapterDto.id().equals(toValidate.id())) {\n // an adapter exists with a different id, so the name is already in use, fail validation\n validation.addError(\"name\", \"The data adapter name is already in use.\");\n }\n }\n\n final Optional> configValidations = toValidate.config()\n .validate(lookupDataAdapterValidationContext);\n configValidations.ifPresent(validation::addAll);\n\n return validation;\n }\n\n @JsonAutoDetect\n public static class DataAdapterPage {\n @Nullable\n @JsonProperty\n private final String query;\n\n @JsonUnwrapped\n private final PaginatedList.PaginationInfo paginationInfo;\n\n @JsonProperty(\"data_adapters\")\n private final List dataAdapters;\n\n public DataAdapterPage(@Nullable String query, PaginatedList.PaginationInfo paginationInfo, List dataAdapters) {\n this.query = query;\n this.paginationInfo = paginationInfo;\n this.dataAdapters = dataAdapters;\n }\n }\n\n @GET\n @Path(\"caches\")\n @Operation(summary = \"List available caches\")\n @RequiresPermissions(RestPermissions.LOOKUP_TABLES_READ)\n public CachesPage caches(@Parameter(name = \"page\") @QueryParam(\"page\") @DefaultValue(\"1\") int page,\n @Parameter(name = \"per_page\") @QueryParam(\"per_page\") @DefaultValue(\"50\") int perPage,\n @Parameter(name = \"sort\",\n description = \"The field to sort the result on\",\n required = true,\n schema = @Schema(allowableValues = {\"title\", \"description\", \"name\"}))\n @DefaultValue(CacheDto.FIELD_TITLE) @QueryParam(\"sort\") String sort,\n @Parameter(name = \"order\", description = \"The sort direction\",\n schema = @Schema(allowableValues = {\"asc\", \"desc\"}))\n @DefaultValue(\"desc\") @QueryParam(\"order\") SortOrder order,\n @Parameter(name = \"query\") @QueryParam(\"query\") String query) {\n if (!CACHE_ALLOWABLE_SORT_FIELDS.contains(sort.toLowerCase(Locale.ENGLISH))) {\n sort = CacheDto.FIELD_TITLE;\n }\n\n try {\n final SearchQuery searchQuery = cacheSearchQueryParser.parse(query);\n final Bson dbQuery = searchQuery.toBson();\n\n\n PaginatedList paginated = dbCacheService.findPaginated(dbQuery, order.toBsonSort(sort), page, perPage);\n return new CachesPage(query,\n paginated.pagination(),\n paginated.stream().map(CacheApi::fromDto).collect(Collectors.toList()));\n } catch (IllegalArgumentException e) {\n throw new BadRequestException(e.getMessage(), e);\n }\n }\n\n @GET\n @Path(\"types/caches\")\n @Operation(summary = \"List available caches types\")\n @RequiresPermissions(RestPermissions.LOOKUP_TABLES_READ)\n public Map availableCacheTypes() {\n return cacheTypes.values().stream()\n .map(LookupCache.Factory::getDescriptor)\n .collect(Collectors.toMap(LookupCache.Descriptor::getType, Function.identity()));\n\n }\n\n @GET\n @Path(\"caches/{idOrName}\")\n @Operation(summary = \"List the given cache\")\n public CacheApi getCache(@Parameter(name = \"idOrName\") @PathParam(\"idOrName\") @NotEmpty String idOrName) {\n Optional cacheDto = dbCacheService.get(idOrName);\n if (cacheDto.isPresent()) {\n checkPermission(RestPermissions.LOOKUP_TABLES_READ, cacheDto.get().id());\n return CacheApi.fromDto(cacheDto.get());\n }\n throw new NotFoundException();\n }\n\n @POST\n @Path(\"caches\")\n @AuditEvent(type = AuditEventTypes.LOOKUP_CACHE_CREATE)\n @Operation(summary = \"Create a new cache\")\n @RequiresPermissions(RestPermissions.LOOKUP_TABLES_CREATE)\n public CacheApi createCache(@RequestBody(required = true) CacheApi newCache) {\n try {\n final CacheDto saved = dbCacheService.saveAndPostEvent(newCache.toDto());\n return CacheApi.fromDto(saved);\n } catch (MongoException e) {\n if (MongoUtils.isDuplicateKeyError(e)) {\n throw new BadRequestException(e.getMessage());\n }\n throw e;\n }\n }\n\n @DELETE\n @Path(\"caches/{idOrName}\")\n @AuditEvent(type = AuditEventTypes.LOOKUP_CACHE_DELETE)\n @Operation(summary = \"Delete the given cache\", description = \"The cache cannot be in use by any lookup table, otherwise the request will fail.\")\n public CacheApi deleteCache(@Parameter(name = \"idOrName\") @PathParam(\"idOrName\") @NotEmpty String idOrName) {\n Optional cacheDto = dbCacheService.get(idOrName);\n if (cacheDto.isEmpty()) {\n throw new NotFoundException();\n }\n CacheDto dto = cacheDto.get();\n checkPermission(RestPermissions.LOOKUP_TABLES_DELETE, dto.id());\n final boolean unused;\n try (Stream lookupTableStream = dbTableService.streamByCacheIds(singleton(dto.id()))) {\n unused = lookupTableStream.findAny().isEmpty();\n }\n if (!unused) {\n throw new BadRequestException(\"The cache is still in use, cannot delete.\");\n }\n dbCacheService.deleteAndPostEvent(idOrName);\n\n return CacheApi.fromDto(dto);\n }\n\n @PUT\n @Path(\"caches/{idOrName}\")\n @AuditEvent(type = AuditEventTypes.LOOKUP_CACHE_UPDATE)\n @Operation(summary = \"Update the given cache settings\")\n public CacheApi updateCache(@Parameter(name = \"idOrName\") @PathParam(\"idOrName\") @NotEmpty String idOrName,\n @RequestBody(required = true) CacheApi toUpdate) {\n checkLookupCacheId(idOrName, toUpdate);\n checkPermission(RestPermissions.LOOKUP_TABLES_EDIT, toUpdate.id());\n CacheDto saved = dbCacheService.saveAndPostEvent(toUpdate.toDto());\n return CacheApi.fromDto(saved);\n }\n\n @POST\n @Path(\"caches/validate\")\n @NoAuditEvent(\"Validation only\")\n @Operation(summary = \"Validate the cache config\")\n @RequiresPermissions(RestPermissions.LOOKUP_TABLES_READ)\n public ValidationResult validateCache(@RequestBody(required = true) CacheApi toValidate) {\n final ValidationResult validation = new ValidationResult();\n\n validator.validate(toValidate).stream().forEach(v ->\n validation.addError(v.getPropertyPath().toString(), v.getMessage()));\n\n final Optional dtoOptional = dbCacheService.get(toValidate.name());\n if (dtoOptional.isPresent()) {\n // a cache exist with the given name, check that the IDs are the same, this might be an update\n final CacheDto cacheDto = dtoOptional.get();\n //noinspection ConstantConditions\n if (!cacheDto.id().equals(toValidate.id())) {\n // a ache exists with a different id, so the name is already in use, fail validation\n validation.addError(\"name\", \"The cache name is already in use.\");\n }\n }\n\n final Optional> configValidations = toValidate.config().validate();\n configValidations.ifPresent(validation::addAll);\n\n return validation;\n }\n\n @JsonAutoDetect\n public static class CachesPage {\n @Nullable\n @JsonProperty\n private final String query;\n\n @JsonUnwrapped\n private final PaginatedList.PaginationInfo paginationInfo;\n\n @JsonProperty(\"caches\")\n private final List caches;\n\n public CachesPage(@Nullable String query, PaginatedList.PaginationInfo paginationInfo, List caches) {\n this.query = query;\n this.paginationInfo = paginationInfo;\n this.caches = caches;\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/b5c81626d4b4ecd21d86053c5eec5ccac8488708.json b/web/public/bundles/graylog/code/b5c81626d4b4ecd21d86053c5eec5ccac8488708.json new file mode 100644 index 00000000..91f4581a --- /dev/null +++ b/web/public/bundles/graylog/code/b5c81626d4b4ecd21d86053c5eec5ccac8488708.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b5c81626d4b4ecd21d86053c5eec5ccac8488708", + "language": "typescript", + "path": "graylog2-web-interface/src/integrations/aws/cloudwatch/CloudWatch.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React, { useContext, useEffect, useMemo } from 'react';\n\nimport useHistory from 'routing/useHistory';\nimport Wizard from 'components/common/Wizard';\nimport { getValueFromInput } from 'util/FormsUtils';\nimport Routes from 'routing/Routes';\nimport StepAuthorize from 'integrations/aws/StepAuthorize';\nimport { StepsContext } from 'integrations/aws/context/Steps';\nimport FormDataContext from 'integrations/contexts/FormDataContext';\nimport { ApiContext } from 'integrations/aws/context/Api';\nimport { SidebarContext } from 'integrations/aws/context/Sidebar';\n\nimport StepKinesis from './StepKinesis';\nimport StepHealthCheck from './StepHealthCheck';\nimport StepReview from './StepReview';\nimport SidebarPermissions from './SidebarPermissions';\n\ntype CloudWatchProps = {\n externalInputSubmit?: boolean;\n onSubmit?: (...args: any[]) => void;\n};\n\nconst CloudWatch = ({ externalInputSubmit = false, onSubmit = undefined }: CloudWatchProps) => {\n const { availableSteps, currentStep, isDisabledStep, setAvailableStep, setCurrentStep, setEnabledStep } =\n useContext(StepsContext);\n const { setFormData } = useContext(FormDataContext);\n const { availableStreams } = useContext(ApiContext);\n const { sidebar, clearSidebar } = useContext(SidebarContext);\n // const history = useHistory();\n const { push } = useHistory();\n\n const handleStepChange = (nextStep) => {\n setCurrentStep(nextStep);\n };\n\n const wizardSteps = useMemo(() => {\n const handleEditClick = (nextStep) => () => {\n setCurrentStep(nextStep);\n };\n\n const handleFieldUpdate = ({ target }, fieldData) => {\n const id = target.name || target.id;\n\n let value = getValueFromInput(target);\n\n if (typeof value === 'string') {\n value = value.trim();\n }\n\n setFormData(id, { ...fieldData, value });\n };\n\n const handleSubmit = (maybeFormData) => {\n clearSidebar();\n const nextStep = availableSteps.indexOf(currentStep) + 1;\n\n if (availableSteps[nextStep]) {\n const key = availableSteps[nextStep];\n\n setCurrentStep(key);\n setEnabledStep(key);\n } else if (externalInputSubmit) {\n onSubmit(maybeFormData);\n } else {\n // history.push(Routes.SYSTEM.INPUTS);\n push(Routes.SYSTEM.INPUTS);\n }\n };\n\n return [\n {\n key: 'authorize',\n title: 'AWS Kinesis Authorize',\n component: (\n }\n />\n ),\n disabled: isDisabledStep('authorize'),\n },\n {\n key: 'kinesis-setup',\n title: 'AWS Kinesis Setup',\n component: (\n 0} />\n ),\n disabled: isDisabledStep('kinesis-setup'),\n },\n {\n key: 'health-check',\n title: 'AWS CloudWatch Health Check',\n component: ,\n disabled: isDisabledStep('health-check'),\n },\n {\n key: 'review',\n title: 'AWS Kinesis Review',\n component: (\n \n ),\n disabled: isDisabledStep('review'),\n },\n ];\n }, [\n isDisabledStep,\n availableStreams.length,\n externalInputSubmit,\n setCurrentStep,\n setFormData,\n clearSidebar,\n availableSteps,\n currentStep,\n setEnabledStep,\n onSubmit,\n push,\n ]);\n\n useEffect(() => {\n if (availableSteps.length === 0) {\n setAvailableStep(wizardSteps.map((step) => step.key));\n }\n }, [availableSteps, setAvailableStep, wizardSteps]);\n\n return (\n \n {sidebar}\n \n );\n};\n\nexport default CloudWatch;\n" +} diff --git a/web/public/bundles/graylog/code/b5ff3e326c64c2390cf17f54bd361d70d63dd6e8.json b/web/public/bundles/graylog/code/b5ff3e326c64c2390cf17f54bd361d70d63dd6e8.json new file mode 100644 index 00000000..a359b430 --- /dev/null +++ b/web/public/bundles/graylog/code/b5ff3e326c64c2390cf17f54bd361d70d63dd6e8.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b5ff3e326c64c2390cf17f54bd361d70d63dd6e8", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CertutilCsr.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.security.certutil;\n\nimport com.github.rvesse.airline.annotations.Command;\nimport com.github.rvesse.airline.annotations.Option;\nimport org.apache.commons.lang3.RandomStringUtils;\nimport org.bouncycastle.pkcs.PKCS10CertificationRequest;\nimport org.graylog.security.certutil.console.CommandLineConsole;\nimport org.graylog.security.certutil.console.SystemConsole;\nimport org.graylog.security.certutil.csr.CsrGenerator;\nimport org.graylog.security.certutil.csr.FilesystemKeystoreInformation;\nimport org.graylog.security.certutil.csr.storage.CsrFileStorage;\nimport org.graylog.security.certutil.csr.storage.CsrStorage;\nimport org.graylog2.bootstrap.CliCommand;\n\nimport java.io.FileOutputStream;\nimport java.nio.file.Path;\nimport java.security.KeyStore;\nimport java.time.Duration;\nimport java.util.List;\n\n\n@Command(name = \"csr\", description = \"Create CSR\", groupNames = {\"certutil\"})\npublic class CertutilCsr implements CliCommand {\n\n @Option(name = \"--keystore\", description = \"Keystore with private key\", typeConverterProvider = PathTypeConverterProvider.class)\n protected Path keystore = Path.of(\"keystore.jks\");\n\n @Option(name = \"--csrFile\", description = \"Certificate signing request file\")\n protected String csrFilename = \"csr.csr\";\n\n private final CommandLineConsole console;\n private final CsrStorage csrStorage;\n\n public static final CommandLineConsole.Prompt PROMPT_ENTER_PASSWORD_TO_PROTECT_YOUR_PRIVATE_KEY = CommandLineConsole.prompt(\"Enter password to protect your private key : \");\n\n public CertutilCsr() {\n this.console = new SystemConsole();\n this.csrStorage = new CsrFileStorage(csrFilename);\n }\n\n public CertutilCsr(final Path keystore,\n final String csrFilename,\n final CommandLineConsole console) {\n this.keystore = keystore;\n this.csrFilename = csrFilename;\n this.console = console;\n this.csrStorage = new CsrFileStorage(csrFilename);\n }\n\n @Override\n public void run() {\n console.printLine(\"This tool will generate a CSR for the datanode\");\n char[] privKeyPassword = this.console.readPassword(PROMPT_ENTER_PASSWORD_TO_PROTECT_YOUR_PRIVATE_KEY);\n\n // This will be the only key in the keystore, we don't care much about the alias. To make sure we are\n // not dependent on a specific alias, we can generate a random alphabetic sequence.\n final String alias = RandomStringUtils.secure().nextAlphabetic(10);\n\n try {\n final KeyPair keyPair = CertificateGenerator.generate(CertRequest.selfSigned(alias).isCA(false).validity(Duration.ofDays(99 * 365)));\n\n final KeyStore keystore = keyPair.toKeystore(alias, privKeyPassword);\n try (FileOutputStream fos = new FileOutputStream(this.keystore.toFile())) {\n keystore.store(fos, privKeyPassword);\n }\n\n final FilesystemKeystoreInformation keystoreInformation = new FilesystemKeystoreInformation(this.keystore, privKeyPassword);\n\n console.printLine(\"Generating CSR for the datanode\");\n final PKCS10CertificationRequest csr = CsrGenerator.generateCSR(\n keystoreInformation,\n alias,\n \"localhost\",\n List.of(\"data-node\"));\n csrStorage.writeCsr(csr);\n } catch (Exception e) {\n throw new RuntimeException(e);\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/b6097938676b9736d79a3d88076d6a3ad809ccb4.json b/web/public/bundles/graylog/code/b6097938676b9736d79a3d88076d6a3ad809ccb4.json new file mode 100644 index 00000000..7c183085 --- /dev/null +++ b/web/public/bundles/graylog/code/b6097938676b9736d79a3d88076d6a3ad809ccb4.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b6097938676b9736d79a3d88076d6a3ad809ccb4", + "language": "typescript", + "path": "graylog2-web-interface/src/preflight/components/Setup/Setup.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport styled from 'styled-components';\n\nimport useProductName from 'brand-customization/useProductName';\nimport DocsHelper from 'util/DocsHelper';\nimport Section from 'preflight/components/common/Section';\nimport DataNodesOverview from 'preflight/components/Setup/DataNodesOverview';\nimport DocumentationLink from 'components/support/DocumentationLink';\nimport ConfigurationWizard from 'preflight/components/ConfigurationWizard';\n\nconst P = styled.p`\n max-width: 700px;\n`;\n\ntype Props = {\n setIsWaitingForStartup: React.Dispatch>;\n};\n\nconst Setup = ({ setIsWaitingForStartup }: Props) => {\n const productName = useProductName();\n\n return (\n <>\n
\n

\n It looks like you are starting {productName} for the first time and have not configured a data node.\n
\n Data nodes allow you to index and search through all the messages in your {productName} message database.\n

\n

\n You can either implement a{' '}\n {' '}\n (recommended) or you can configure an{' '}\n node manually. For the\n manual OpenSearch configuration you need to adjust the {productName} configuration and restart the{' '}\n {productName} server. After the restart this page will not show up again.\n

\n
\n
\n \n \n
\n \n );\n};\n\nexport default Setup;\n" +} diff --git a/web/public/bundles/graylog/code/b699ad8a0ac58958d3ba2277ad8dd6a47cc422c4.json b/web/public/bundles/graylog/code/b699ad8a0ac58958d3ba2277ad8dd6a47cc422c4.json new file mode 100644 index 00000000..dfc192ef --- /dev/null +++ b/web/public/bundles/graylog/code/b699ad8a0ac58958d3ba2277ad8dd6a47cc422c4.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b699ad8a0ac58958d3ba2277ad8dd6a47cc422c4", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/capabilities/ServerNodeCapabilitiesModule.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.scheduler.capabilities;\n\nimport org.graylog2.plugin.PluginModule;\n\npublic class ServerNodeCapabilitiesModule extends PluginModule {\n @Override\n protected void configure() {\n addSchedulerCapabilities(ServerNodeSchedulerCapabilities.class);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/b6c6167b0659b9755edf5390033b2b2ce4e6cee8.json b/web/public/bundles/graylog/code/b6c6167b0659b9755edf5390033b2b2ce4e6cee8.json new file mode 100644 index 00000000..dc96f8bf --- /dev/null +++ b/web/public/bundles/graylog/code/b6c6167b0659b9755edf5390033b2b2ce4e6cee8.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b6c6167b0659b9755edf5390033b2b2ce4e6cee8", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/metrics/StreamRoutingPipelinesDescriptor.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.streams.metrics;\n\nimport jakarta.inject.Inject;\nimport org.graylog.plugins.pipelineprocessor.db.RoutingRuleDao;\nimport org.graylog.plugins.pipelineprocessor.db.mongodb.MongoDbPipelineMetadataService;\nimport org.graylog.plugins.pipelineprocessor.rest.PipelineRestPermissions;\nimport org.graylog.plugins.views.search.permissions.SearchUser;\nimport org.graylog2.metrics.entity.EntityMetric;\nimport org.graylog2.metrics.entity.EntityUncachedMetricDescriptor;\n\nimport java.util.Collection;\nimport java.util.List;\nimport java.util.Set;\n\n/**\n * Provides {@code routing_pipelines} metrics for streams.\n * Returns pipeline IDs that route messages to each stream via {@code route_to_stream},\n * filtered by the user's {@code pipeline:read} permission.\n */\npublic class StreamRoutingPipelinesDescriptor implements EntityUncachedMetricDescriptor> {\n\n public static final String FIELD_NAME = \"routing_pipelines\";\n\n private final MongoDbPipelineMetadataService pipelineMetadataService;\n\n @Inject\n public StreamRoutingPipelinesDescriptor(MongoDbPipelineMetadataService pipelineMetadataService) {\n this.pipelineMetadataService = pipelineMetadataService;\n }\n\n @Override\n public String fieldName() {\n return FIELD_NAME;\n }\n\n @Override\n public List>> compute(Collection entityIds, SearchUser searchUser) {\n final Set allStreamIds = Set.copyOf(entityIds);\n final List routingRules = pipelineMetadataService.getRoutingToStreams(allStreamIds);\n\n return entityIds.stream()\n .map(streamId -> {\n final List pipelineIds = routingRules.stream()\n .filter(dao -> dao.routedStreamIds().contains(streamId))\n .map(RoutingRuleDao::pipelineId)\n .distinct()\n .filter(id -> searchUser.isPermitted(PipelineRestPermissions.PIPELINE_READ, id))\n .toList();\n return new EntityMetric<>(streamId, pipelineIds);\n })\n .toList();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/b6e52c86b546c400d2e52cf87774917fae2baca7.json b/web/public/bundles/graylog/code/b6e52c86b546c400d2e52cf87774917fae2baca7.json new file mode 100644 index 00000000..fd70d60b --- /dev/null +++ b/web/public/bundles/graylog/code/b6e52c86b546c400d2e52cf87774917fae2baca7.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b6e52c86b546c400d2e52cf87774917fae2baca7", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/database/filtering/inmemory/InMemoryFilterExpressionParser.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.database.filtering.inmemory;\n\nimport com.google.common.base.Predicates;\nimport org.graylog2.database.filtering.Filter;\nimport org.graylog2.rest.resources.entities.EntityAttribute;\n\nimport java.util.List;\nimport java.util.Map;\nimport java.util.function.Predicate;\nimport java.util.stream.Collectors;\n\nimport static java.util.stream.Collectors.groupingBy;\n\npublic class InMemoryFilterExpressionParser {\n\n private final SingleFilterParser singleFilterParser = new SingleFilterParser();\n\n public Predicate parse(final List filterExpressions,\n final List attributes) {\n if (filterExpressions == null || filterExpressions.isEmpty()) {\n return Predicates.alwaysTrue();\n }\n final Map> groupedByField = filterExpressions.stream()\n .map(expr -> singleFilterParser.parseSingleExpression(expr, attributes))\n .collect(groupingBy(Filter::field));\n\n return groupedByField.values().stream()\n .map(grouped -> grouped.stream()\n .map(Filter::toPredicate)\n .collect(Collectors.toList()))\n .map(groupedPredicates -> groupedPredicates.stream().reduce(Predicate::or).orElse(Predicates.alwaysTrue()))\n .reduce(Predicate::and).orElse(Predicates.alwaysTrue());\n }\n\n}\n" +} diff --git a/web/public/bundles/graylog/code/b725d36ccdc3c423f133f039356f3c1312fa47c9.json b/web/public/bundles/graylog/code/b725d36ccdc3c423f133f039356f3c1312fa47c9.json new file mode 100644 index 00000000..7e291722 --- /dev/null +++ b/web/public/bundles/graylog/code/b725d36ccdc3c423f133f039356f3c1312fa47c9.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b725d36ccdc3c423f133f039356f3c1312fa47c9", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/scheduler/TelemetrySubmissionPeriodical.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.telemetry.scheduler;\n\nimport com.github.joschi.jadconfig.util.Duration;\nimport jakarta.inject.Inject;\nimport org.graylog2.configuration.TelemetryConfiguration;\nimport org.graylog2.plugin.periodical.Periodical;\nimport org.graylog2.telemetry.client.TelemetryClient;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport javax.annotation.Nonnull;\nimport java.util.HashMap;\nimport java.util.Map;\n\npublic class TelemetrySubmissionPeriodical extends Periodical {\n\n private static final Logger LOG = LoggerFactory.getLogger(TelemetrySubmissionPeriodical.class);\n private final TelemetryClient telemetryClient;\n private final Map metricsProviders;\n private static final Duration runPeriod = Duration.days(1);\n private final boolean isEnabled;\n\n @Inject\n public TelemetrySubmissionPeriodical(TelemetryClient telemetryClient,\n TelemetryConfiguration telemetryConfiguration,\n Map metricsProviders) {\n this.telemetryClient = telemetryClient;\n this.metricsProviders = metricsProviders;\n this.isEnabled = telemetryConfiguration.isTelemetryEnabled();\n }\n\n @Override\n public void doRun() {\n final Map telemetryMetrics = new HashMap<>();\n for (final var entry : metricsProviders.entrySet()) {\n try {\n entry.getValue().get()\n .filter(event -> !event.metrics().isEmpty())\n .ifPresent(event -> telemetryMetrics.put(entry.getKey(), event));\n } catch (Exception e) {\n LOG.debug(\"Error collecting telemetry metrics from [{}], skipping.\", entry.getKey(), e);\n }\n }\n try {\n if (!telemetryMetrics.isEmpty()) {\n telemetryClient.capture(telemetryMetrics);\n }\n } catch (Exception e) {\n LOG.warn(\"Error while submitting telemetry: \", e);\n }\n }\n\n @Override\n public boolean runsForever() {\n return false;\n }\n\n @Override\n public boolean stopOnGracefulShutdown() {\n return true;\n }\n\n @Override\n public boolean startOnThisNode() {\n return isEnabled;\n }\n\n @Override\n public boolean isDaemon() {\n return true;\n }\n\n @Override\n public int getInitialDelaySeconds() {\n return Math.toIntExact(runPeriod.toSeconds());\n }\n\n @Override\n public int getPeriodSeconds() {\n return Math.toIntExact(runPeriod.toSeconds());\n }\n\n @Nonnull\n @Override\n protected Logger getLogger() {\n return LOG;\n }\n\n @Override\n public boolean leaderOnly() {\n return true;\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/b83100dc81f4a357a61872a4aac3a76cb7f8c176.json b/web/public/bundles/graylog/code/b83100dc81f4a357a61872a4aac3a76cb7f8c176.json new file mode 100644 index 00000000..79d54849 --- /dev/null +++ b/web/public/bundles/graylog/code/b83100dc81f4a357a61872a4aac3a76cb7f8c176.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b83100dc81f4a357a61872a4aac3a76cb7f8c176", + "language": "typescript", + "path": "graylog2-web-interface/src/components/errors/RouterErrorBoundary.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\n\nimport RuntimeErrorPage from 'pages/RuntimeErrorPage';\nimport type { FallbackComponentType } from 'components/errors/ErrorBoundary';\nimport ErrorBoundary from 'components/errors/ErrorBoundary';\n\ntype RouterErrorBoundaryProps = {\n children: React.ReactNode;\n};\n\nconst ErrorPage: FallbackComponentType = ({ error, info }) => (\n \n);\n\nconst RouterErrorBoundary = ({ children }: RouterErrorBoundaryProps) => (\n {children}\n);\n\nexport default RouterErrorBoundary;\n" +} diff --git a/web/public/bundles/graylog/code/b83c091b8f79d9f45dddd335092a4ddf59485aff.json b/web/public/bundles/graylog/code/b83c091b8f79d9f45dddd335092a4ddf59485aff.json new file mode 100644 index 00000000..5d734991 --- /dev/null +++ b/web/public/bundles/graylog/code/b83c091b8f79d9f45dddd335092a4ddf59485aff.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b83c091b8f79d9f45dddd335092a4ddf59485aff", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/users/UserConfiguration.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.users;\n\nimport com.fasterxml.jackson.annotation.JsonAutoDetect;\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.google.auto.value.AutoValue;\nimport org.graylog2.plugin.Version;\nimport org.threeten.extra.PeriodDuration;\n\nimport java.time.Duration;\nimport java.time.temporal.ChronoUnit;\n\n@JsonAutoDetect\n@AutoValue\npublic abstract class UserConfiguration {\n private static final boolean IS_BEFORE_VERSION_6_2 = !Version.CURRENT_CLASSPATH.sameOrHigher(Version.from(6, 2, 0));\n\n //Starting with graylog version 6.2, external users are not allowed to own access tokens by default.\n // Before this version, it is allowed, to not introduce a breaking change:\n // Similarly, starting from version 6.2, creation of tokens is restricted to admins only:\n public static final UserConfiguration DEFAULT_VALUES = create(false, Duration.of(8, ChronoUnit.HOURS), IS_BEFORE_VERSION_6_2, !IS_BEFORE_VERSION_6_2, PeriodDuration.of(Duration.ofDays(30)));\n //In case the installation is upgraded, we apply some less strict defaults:\n public static final UserConfiguration DEFAULT_VALUES_FOR_UPGRADE = create(false, Duration.of(8, ChronoUnit.HOURS), IS_BEFORE_VERSION_6_2, false, PeriodDuration.of(Duration.ofDays(30)));\n\n @JsonProperty(\"enable_global_session_timeout\")\n public abstract boolean enableGlobalSessionTimeout();\n\n @JsonProperty(\"global_session_timeout_interval\")\n public abstract Duration globalSessionTimeoutInterval();\n\n @JsonProperty(\"allow_access_token_for_external_user\")\n public abstract boolean allowAccessTokenForExternalUsers();\n\n @JsonProperty(\"restrict_access_token_to_admins\")\n public abstract boolean restrictAccessTokenToAdmins();\n\n @JsonProperty(\"default_ttl_for_new_tokens\")\n public abstract PeriodDuration defaultTTLForNewTokens();\n\n @JsonCreator\n public static UserConfiguration create(\n @JsonProperty(\"enable_global_session_timeout\") boolean enableGlobalSessionTimeout,\n @JsonProperty(\"global_session_timeout_interval\") Duration globalSessionTimeoutInterval,\n @JsonProperty(\"allow_access_token_for_external_user\") boolean allowAccessTokenForExternalUsers,\n @JsonProperty(\"restrict_access_token_to_admins\") boolean restrictAccessTokensToAdmins,\n @JsonProperty(\"default_ttl_for_new_tokens\") PeriodDuration defaultTTLForNewTokens) {\n return new AutoValue_UserConfiguration(enableGlobalSessionTimeout, globalSessionTimeoutInterval,\n allowAccessTokenForExternalUsers, restrictAccessTokensToAdmins, defaultTTLForNewTokens);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/b8d2e925845be501e0d52d8f6db7a77f188c9f93.json b/web/public/bundles/graylog/code/b8d2e925845be501e0d52d8f6db7a77f188c9f93.json new file mode 100644 index 00000000..6fdea4ee --- /dev/null +++ b/web/public/bundles/graylog/code/b8d2e925845be501e0d52d8f6db7a77f188c9f93.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b8d2e925845be501e0d52d8f6db7a77f188c9f93", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/inputs/otel/transport/OTelLogsService.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.inputs.otel.transport;\n\nimport com.google.inject.assistedinject.Assisted;\nimport io.grpc.Context;\nimport io.grpc.Status;\nimport io.grpc.stub.StreamObserver;\nimport io.opentelemetry.proto.collector.logs.v1.ExportLogsServiceRequest;\nimport io.opentelemetry.proto.collector.logs.v1.ExportLogsServiceResponse;\nimport io.opentelemetry.proto.collector.logs.v1.LogsServiceGrpc;\nimport jakarta.inject.Inject;\nimport org.graylog.inputs.otel.OTelJournalRecordFactory;\nimport org.graylog2.plugin.inputs.MessageInput;\nimport org.graylog2.plugin.inputs.transports.ThrottleableTransport2;\nimport org.graylog2.plugin.journal.RawMessage;\nimport org.graylog2.shared.utilities.RecordSizeDistributingProcessor;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.net.InetSocketAddress;\nimport java.util.function.Function;\n\nimport static org.graylog.inputs.grpc.GrpcUtils.createThrottledStatusRuntimeException;\nimport static org.graylog.inputs.grpc.RemoteAddressProviderInterceptor.REMOTE_ADDRESS;\n\npublic class OTelLogsService extends LogsServiceGrpc.LogsServiceImplBase {\n private static final Logger LOG = LoggerFactory.getLogger(OTelLogsService.class);\n\n private final ThrottleableTransport2 transport;\n private final MessageInput input;\n\n @Inject\n public OTelLogsService(@Assisted ThrottleableTransport2 transport, @Assisted MessageInput input) {\n this.transport = transport;\n this.input = input;\n }\n\n public interface Factory {\n OTelLogsService create(ThrottleableTransport2 transport, MessageInput input);\n }\n\n @Override\n public void export(ExportLogsServiceRequest request,\n StreamObserver responseObserver) {\n\n if (Context.current().isCancelled()) {\n responseObserver.onError(Status.CANCELLED.withDescription(\"Cancelled by client\").asRuntimeException());\n return;\n }\n\n if (transport.isThrottled()) {\n responseObserver.onError(createThrottledStatusRuntimeException());\n return;\n }\n\n final Function createRawMessage;\n if (REMOTE_ADDRESS.get() instanceof InetSocketAddress address) {\n createRawMessage = bytes -> new RawMessage(bytes, address);\n } else {\n createRawMessage = RawMessage::new;\n }\n\n RecordSizeDistributingProcessor.processRecords(\n OTelJournalRecordFactory.createFromRequest(request),\n request.getSerializedSize(),\n r -> r.getLog().getLogRecord().getSerializedSize(),\n createRawMessage,\n input,\n LOG);\n\n responseObserver.onNext(ExportLogsServiceResponse.newBuilder().build());\n responseObserver.onCompleted();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/b8fe5110ab6aede494aca0c388645c195e1afdfa.json b/web/public/bundles/graylog/code/b8fe5110ab6aede494aca0c388645c195e1afdfa.json new file mode 100644 index 00000000..3612fc20 --- /dev/null +++ b/web/public/bundles/graylog/code/b8fe5110ab6aede494aca0c388645c195e1afdfa.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b8fe5110ab6aede494aca0c388645c195e1afdfa", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/jobs/SystemJobResource.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.resources.system.jobs;\n\nimport com.codahale.metrics.annotation.Timed;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.google.common.collect.ImmutableMap;\nimport io.swagger.v3.oas.annotations.Operation;\nimport io.swagger.v3.oas.annotations.Parameter;\nimport io.swagger.v3.oas.annotations.media.Content;\nimport io.swagger.v3.oas.annotations.media.Schema;\nimport io.swagger.v3.oas.annotations.parameters.RequestBody;\nimport io.swagger.v3.oas.annotations.responses.ApiResponse;\nimport io.swagger.v3.oas.annotations.responses.ApiResponses;\nimport io.swagger.v3.oas.annotations.tags.Tag;\nimport jakarta.inject.Inject;\nimport jakarta.validation.Valid;\nimport jakarta.validation.constraints.NotEmpty;\nimport jakarta.validation.constraints.NotNull;\nimport jakarta.ws.rs.BadRequestException;\nimport jakarta.ws.rs.Consumes;\nimport jakarta.ws.rs.DELETE;\nimport jakarta.ws.rs.ForbiddenException;\nimport jakarta.ws.rs.GET;\nimport jakarta.ws.rs.NotFoundException;\nimport jakarta.ws.rs.POST;\nimport jakarta.ws.rs.Path;\nimport jakarta.ws.rs.PathParam;\nimport jakarta.ws.rs.Produces;\nimport jakarta.ws.rs.core.Context;\nimport jakarta.ws.rs.core.MediaType;\nimport jakarta.ws.rs.core.Response;\nimport org.apache.shiro.authz.annotation.RequiresAuthentication;\nimport org.graylog.scheduler.rest.JobResourceHandlerService;\nimport org.graylog.scheduler.system.SystemJobManager;\nimport org.graylog.security.UserContext;\nimport org.graylog2.audit.AuditEventTypes;\nimport org.graylog2.audit.jersey.AuditEvent;\nimport org.graylog2.plugin.system.NodeId;\nimport org.graylog2.rest.models.system.SystemJobSummary;\nimport org.graylog2.rest.models.system.jobs.requests.TriggerRequest;\nimport org.graylog2.shared.rest.resources.RestResource;\nimport org.graylog2.shared.security.RestPermissions;\nimport org.graylog2.system.jobs.LegacySystemJob;\nimport org.graylog2.system.jobs.LegacySystemJobFactory;\nimport org.graylog2.system.jobs.LegacySystemJobManager;\nimport org.graylog2.system.jobs.NoSuchJobException;\nimport org.graylog2.system.jobs.SystemJobConcurrencyException;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Optional;\n\n@RequiresAuthentication\n@Tag(name = \"System/Jobs\", description = \"System Jobs\")\n@Path(\"/system/jobs\")\npublic class SystemJobResource extends RestResource {\n\n private static final Logger LOG = LoggerFactory.getLogger(SystemJobResource.class);\n\n private final LegacySystemJobFactory systemJobFactory;\n private final LegacySystemJobManager legacySystemJobManager;\n private final SystemJobManager systemJobManager;\n private final NodeId nodeId;\n\n private final JobResourceHandlerService jobResourceHandlerService;\n\n @Inject\n public SystemJobResource(LegacySystemJobFactory systemJobFactory,\n LegacySystemJobManager legacySystemJobManager,\n SystemJobManager systemJobManager,\n NodeId nodeId,\n JobResourceHandlerService jobResourceHandlerService) {\n this.systemJobFactory = systemJobFactory;\n this.legacySystemJobManager = legacySystemJobManager;\n this.systemJobManager = systemJobManager;\n this.nodeId = nodeId;\n this.jobResourceHandlerService = jobResourceHandlerService;\n }\n\n @GET\n @Timed\n @Operation(summary = \"List currently running jobs\")\n @Produces(MediaType.APPLICATION_JSON)\n public Map> list() {\n final List jobs = new ArrayList<>();\n\n for (Map.Entry entry : legacySystemJobManager.getRunningJobs().entrySet()) {\n // TODO jobId is ephemeral, this is not a good key for permission checks. we should use the name of the job type (but there is no way to get it yet)\n if (isPermitted(RestPermissions.SYSTEMJOBS_READ, entry.getKey())) {\n final LegacySystemJob systemJob = entry.getValue();\n jobs.add(SystemJobSummary.create(\n systemJob.getId(),\n systemJob.getDescription(),\n systemJob.getClassName(),\n systemJob.getInfo(),\n nodeId.getNodeId(),\n systemJob.getStartedAt(),\n systemJob.getProgress(),\n systemJob.isCancelable(),\n systemJob.providesProgress()\n ));\n }\n }\n\n for (final var summary : systemJobManager.getRunningJobs(nodeId).values()) {\n // Jobs with their own JobResourceHandler are listed through that handler instead\n if (jobResourceHandlerService.handlesJobType(summary.jobType())) {\n continue;\n }\n if (isPermitted(RestPermissions.SYSTEMJOBS_READ, summary.jobType())) {\n jobs.add(summary);\n }\n }\n\n return ImmutableMap.of(\"jobs\", jobs);\n }\n\n @GET\n @Timed\n @Path(\"/{jobId}\")\n @Operation(summary = \"Get information of a specific currently running job\")\n @Produces(MediaType.APPLICATION_JSON)\n @ApiResponses(value = {\n @ApiResponse(responseCode = \"200\", description = \"Success\", useReturnTypeSchema = true),\n @ApiResponse(responseCode = \"404\", description = \"Job not found.\")\n })\n public SystemJobSummary get(@Parameter(name = \"jobId\", required = true)\n @PathParam(\"jobId\") @NotEmpty String jobId) {\n final LegacySystemJob systemJob = legacySystemJobManager.getRunningJobs().get(jobId);\n if (systemJob != null) {\n // TODO jobId is ephemeral, this is not a good key for permission checks. we should use the name of the job type (but there is no way to get it yet)\n checkPermission(RestPermissions.SYSTEMJOBS_READ, jobId);\n return SystemJobSummary.create(\n systemJob.getId(),\n systemJob.getDescription(),\n systemJob.getClassName(),\n systemJob.getInfo(),\n nodeId.getNodeId(),\n systemJob.getStartedAt(),\n systemJob.getProgress(),\n systemJob.isCancelable(),\n systemJob.providesProgress()\n );\n }\n\n final Optional systemJobSummary = systemJobManager.getRunningJob(jobId)\n .filter(summary -> !jobResourceHandlerService.handlesJobType(summary.jobType()));\n if (systemJobSummary.isPresent()) {\n checkPermission(RestPermissions.SYSTEMJOBS_READ, systemJobSummary.get().jobType());\n return systemJobSummary.get();\n }\n\n throw new NotFoundException(\"No system job with ID <\" + jobId + \"> found\");\n }\n\n @POST\n @Timed\n @Operation(summary = \"Trigger new job\")\n @Consumes(MediaType.APPLICATION_JSON)\n @Produces(MediaType.APPLICATION_JSON)\n @ApiResponses(value = {\n @ApiResponse(responseCode = \"202\", description = \"Job accepted.\",\n content = @Content(schema = @Schema(implementation = TriggerResponse.class))),\n @ApiResponse(responseCode = \"400\", description = \"There is no such systemjob type.\"),\n @ApiResponse(responseCode = \"403\", description = \"Maximum concurrency level of this systemjob type reached.\")\n })\n @AuditEvent(type = AuditEventTypes.SYSTEM_JOB_START)\n public Response trigger(@RequestBody(required = true)\n @Valid @NotNull TriggerRequest tr) {\n // TODO cleanup jobId vs jobName checking in permissions\n checkPermission(RestPermissions.SYSTEMJOBS_CREATE, tr.jobName());\n\n LegacySystemJob job;\n try {\n job = systemJobFactory.build(tr.jobName());\n } catch (NoSuchJobException e) {\n LOG.error(\"Such a system job type does not exist. Returning HTTP 400.\");\n throw new BadRequestException(e);\n }\n\n try {\n legacySystemJobManager.submit(job);\n } catch (SystemJobConcurrencyException e) {\n LOG.error(\"Maximum concurrency level of this job reached. \", e);\n throw new ForbiddenException(\"Maximum concurrency level of this job reached\", e);\n }\n\n return Response.accepted().entity(new TriggerResponse(job.getId())).build();\n }\n\n @DELETE\n @Timed\n @Path(\"/{jobId}\")\n @Operation(summary = \"Cancel running job\")\n @Produces(MediaType.APPLICATION_JSON)\n @AuditEvent(type = AuditEventTypes.SYSTEM_JOB_STOP)\n public SystemJobSummary cancel(@Parameter(name = \"jobId\", required = true) @PathParam(\"jobId\") @NotEmpty String jobId) {\n final LegacySystemJob systemJob = legacySystemJobManager.getRunningJobs().get(jobId);\n if (systemJob != null) {\n checkPermission(RestPermissions.SYSTEMJOBS_DELETE, systemJob.getClassName());\n\n if (systemJob.isCancelable()) {\n systemJob.requestCancel();\n } else {\n throw new ForbiddenException(\"System job with ID <\" + jobId + \"> cannot be cancelled\");\n }\n\n return SystemJobSummary.create(\n systemJob.getId(),\n systemJob.getDescription(),\n systemJob.getClassName(),\n systemJob.getInfo(),\n nodeId.getNodeId(),\n systemJob.getStartedAt(),\n systemJob.getProgress(),\n systemJob.isCancelable(),\n systemJob.providesProgress()\n );\n }\n\n // Not a legacy job: try the system job scheduler.\n // Jobs with their own JobResourceHandler are cancelled through that handler instead, so it can apply its own\n // permission checks. Mirrors the guard in list() and get().\n final SystemJobSummary summary = systemJobManager.getRunningJob(jobId)\n .filter(job -> !jobResourceHandlerService.handlesJobType(job.jobType()))\n .orElseThrow(() -> new NotFoundException(\"No system job with ID <\" + jobId + \"> found\"));\n\n checkPermission(RestPermissions.SYSTEMJOBS_DELETE, summary.jobType());\n\n if (!summary.isCancelable()) {\n throw new ForbiddenException(\"System job with ID <\" + jobId + \"> cannot be cancelled\");\n }\n\n systemJobManager.cancel(jobId);\n return summary;\n }\n\n @DELETE\n @Path(\"/acknowledge/{jobId}\")\n @Operation(summary = \"Acknowledge job with the given ID\")\n @AuditEvent(type = AuditEventTypes.SYSTEM_JOB_ACKNOWLEDGE)\n public Response acknowledgeJob(@Context UserContext userContext,\n @Parameter(name = \"jobId\", required = true) @PathParam(\"jobId\") @NotEmpty String jobId) {\n final int n = jobResourceHandlerService.acknowledgeJob(userContext, jobId);\n if (n < 1) {\n throw new NotFoundException(\"System job with ID <\" + jobId + \"> not found!\");\n }\n return Response.accepted().build();\n }\n\n private record TriggerResponse(@JsonProperty(\"system_job_id\") String systemJobId) {}\n}\n" +} diff --git a/web/public/bundles/graylog/code/b91bb47e8be25228f86edb45278486ec9966f3b2.json b/web/public/bundles/graylog/code/b91bb47e8be25228f86edb45278486ec9966f3b2.json new file mode 100644 index 00000000..47299fa7 --- /dev/null +++ b/web/public/bundles/graylog/code/b91bb47e8be25228f86edb45278486ec9966f3b2.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b91bb47e8be25228f86edb45278486ec9966f3b2", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/PipelineRulesMetadataDao.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.pipelineprocessor.db;\n\nimport com.fasterxml.jackson.annotation.JsonIgnore;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.jackson.databind.annotation.JsonDeserialize;\nimport com.google.auto.value.AutoValue;\nimport org.graylog2.database.BuildableMongoEntity;\n\nimport java.util.HashMap;\nimport java.util.HashSet;\nimport java.util.Map;\nimport java.util.Set;\n\n@JsonDeserialize(builder = AutoValue_PipelineRulesMetadataDao.Builder.class)\n@AutoValue\npublic abstract class PipelineRulesMetadataDao implements BuildableMongoEntity {\n public static final String FIELD_PIPELINE_ID = \"pipeline_id\";\n public static final String FIELD_RULES = \"rules\";\n public static final String FIELD_STREAMS = \"streams\";\n private static final String FIELD_FUNCTIONS = \"functions\";\n private static final String FIELD_DEPRECATED_FUNCTIONS = \"deprecated_functions\";\n public static final String FIELD_HAS_INPUT_REFERENCES = \"has_input_references\";\n public static final String FIELD_PIPELINE_TITLE = \"pipeline_title\";\n public static final String FIELD_RULE_TITLES = \"rule_titles\";\n public static final String FIELD_CONNECTED_STREAM_TITLES = \"connected_stream_titles\";\n\n @JsonProperty(FIELD_PIPELINE_ID)\n public abstract String pipelineId();\n\n @JsonProperty(FIELD_RULES)\n public abstract Set rules();\n\n @JsonProperty(FIELD_STREAMS)\n public abstract Set streams();\n\n @JsonProperty(FIELD_FUNCTIONS)\n public abstract Set functions();\n\n @JsonProperty(FIELD_DEPRECATED_FUNCTIONS)\n public abstract Set deprecatedFunctions();\n\n @JsonProperty(FIELD_HAS_INPUT_REFERENCES)\n public abstract Boolean hasInputReferences();\n\n @JsonProperty(FIELD_PIPELINE_TITLE)\n public abstract String pipelineTitle();\n\n @JsonProperty(FIELD_RULE_TITLES)\n public abstract Map ruleTitlesById();\n\n @JsonProperty(FIELD_CONNECTED_STREAM_TITLES)\n public abstract Map connectedStreamTitlesById();\n\n @JsonIgnore\n public boolean hasDeprecatedFunctions() {\n return deprecatedFunctions() != null && !deprecatedFunctions().isEmpty();\n }\n\n public static Builder builder() {\n return new AutoValue_PipelineRulesMetadataDao.Builder()\n .pipelineId(\"\")\n .rules(new HashSet<>())\n .streams(new HashSet<>())\n .functions(new HashSet<>())\n .deprecatedFunctions(new HashSet<>())\n .hasInputReferences(false)\n .pipelineTitle(\"\")\n .ruleTitlesById(new HashMap<>())\n .connectedStreamTitlesById(new HashMap<>());\n }\n\n @AutoValue.Builder\n public abstract static class Builder implements BuildableMongoEntity.Builder {\n\n @JsonProperty(FIELD_PIPELINE_ID)\n public abstract Builder pipelineId(String pipelineId);\n\n @JsonProperty(FIELD_RULES)\n public abstract Builder rules(Set rules);\n\n @JsonProperty(FIELD_STREAMS)\n public abstract Builder streams(Set streams);\n\n @JsonProperty(FIELD_FUNCTIONS)\n public abstract Builder functions(Set functions);\n\n @JsonProperty(FIELD_DEPRECATED_FUNCTIONS)\n public abstract Builder deprecatedFunctions(Set deprecatedFunctions);\n\n @JsonProperty(FIELD_HAS_INPUT_REFERENCES)\n public abstract Builder hasInputReferences(Boolean hasInputReferences);\n\n @JsonProperty(FIELD_PIPELINE_TITLE)\n public abstract Builder pipelineTitle(String pipelineTitle);\n\n @JsonProperty(FIELD_RULE_TITLES)\n public abstract Builder ruleTitlesById(Map ruleTitlesById);\n\n @JsonProperty(FIELD_CONNECTED_STREAM_TITLES)\n public abstract Builder connectedStreamTitlesById(Map connectedStreamTitlesById);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/b979a126bc1e610f7f2f9d9dda971bdd67e1a50b.json b/web/public/bundles/graylog/code/b979a126bc1e610f7f2f9d9dda971bdd67e1a50b.json new file mode 100644 index 00000000..f1da5d12 --- /dev/null +++ b/web/public/bundles/graylog/code/b979a126bc1e610f7f2f9d9dda971bdd67e1a50b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b979a126bc1e610f7f2f9d9dda971bdd67e1a50b", + "language": "typescript", + "path": "graylog2-web-interface/src/components/extractors/extractors_configuration/LookupTableExtractorConfiguration.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\n\nimport { Link, Select, Spinner, Icon } from 'components/common';\nimport { Row, Col, Button, Input } from 'components/bootstrap';\nimport Routes from 'routing/Routes';\nimport UserNotification from 'util/UserNotification';\nimport { testLookupTable } from 'api/tools';\nimport { fetchAllLookupTables } from 'components/lookup-tables/hooks/api/lookupTablesAPI';\n\ntype Props = {\n configuration: any;\n exampleMessage?: string;\n onChange: (...args: any[]) => void;\n onExtractorPreviewLoad: (...args: any[]) => void;\n};\n\nclass LookupTableExtractorConfiguration extends React.Component<\n Props,\n {\n trying: boolean;\n lookupTables: any;\n }\n> {\n static defaultProps = {\n exampleMessage: '',\n };\n\n constructor(props: Props) {\n super(props);\n this.state = {\n trying: false,\n lookupTables: undefined,\n };\n }\n\n componentDidMount() {\n // TODO the 10k items is bad. we need a searchable/scrollable long list select box\n fetchAllLookupTables().then((result) => {\n this.setState({ lookupTables: result });\n });\n }\n\n _updateConfigValue = (key, value) => {\n this.props.onExtractorPreviewLoad(undefined);\n const newConfig = this.props.configuration;\n\n newConfig[key] = value;\n this.props.onChange(newConfig);\n };\n\n _onSelect = (key) => (value) => this._updateConfigValue(key, value);\n\n _onTryClick = () => {\n this.setState({ trying: true });\n\n const promise = testLookupTable(this.props.configuration.lookup_table_name, this.props.exampleMessage);\n\n promise.then((result) => {\n if (result.error) {\n UserNotification.warning(`We were not able to run the lookup: ${result.error_message}`);\n\n return;\n }\n\n if (!result.empty) {\n this.props.onExtractorPreviewLoad(result.value);\n } else {\n this.props.onExtractorPreviewLoad(`no lookup result for \"${result.key}\"`);\n }\n });\n\n promise.finally(() => this.setState({ trying: false }));\n };\n\n _isTryButtonDisabled = () =>\n this.state.trying || !this.props.configuration.lookup_table_name || !this.props.exampleMessage;\n\n render() {\n if (!this.state.lookupTables) {\n return ;\n }\n\n const lookupTables = this.state.lookupTables.map((table) => ({ label: table.title, value: table.name }));\n\n const helpMessage = (\n \n Lookup tables can be created here.\n \n );\n\n return (\n
\n \n \n \n \n \n \n \n \n \n \n
\n );\n }\n}\n\nexport default LookupTableExtractorConfiguration;\n" +} diff --git a/web/public/bundles/graylog/code/b9aaf5474f0b25442f5fde364963950ea69bf329.json b/web/public/bundles/graylog/code/b9aaf5474f0b25442f5fde364963950ea69bf329.json new file mode 100644 index 00000000..198fb186 --- /dev/null +++ b/web/public/bundles/graylog/code/b9aaf5474f0b25442f5fde364963950ea69bf329.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b9aaf5474f0b25442f5fde364963950ea69bf329", + "language": "typescript", + "path": "graylog2-web-interface/src/components/metrics/Metric.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React, { useCallback, useState } from 'react';\n\nimport { MetricDetails } from 'components/metrics';\nimport { Icon } from 'components/common';\nimport type { Metric as MetricType } from 'types/metrics';\n\nconst iconMapping = {\n timer: 'schedule',\n histogram: 'signal_cellular_alt',\n meter: 'play_circle',\n gauge: 'speed',\n counter: 'circle',\n unknown: 'help',\n};\n\nconst _formatIcon = (type: string) => iconMapping[type] ?? iconMapping.unknown;\n\nconst _formatName = (metricName: string, namespace: string) => {\n const split = metricName.split(namespace);\n const unqualifiedMetricName = split.slice(1).join(namespace);\n\n return (\n \n {namespace}\n {unqualifiedMetricName}\n \n );\n};\n\ntype Props = {\n metric: MetricType;\n namespace: string;\n nodeId: string;\n};\n\nconst Metric = ({ metric, namespace, nodeId }: Props) => {\n const [expanded, setExpanded] = useState(false);\n const _showDetails = useCallback((e) => {\n e.preventDefault();\n setExpanded((_expanded) => !_expanded);\n }, []);\n\n const details = expanded ? : null;\n\n return (\n \n
\n {/* eslint-disable-next-line jsx-a11y/anchor-is-valid */}\n \n {_formatName(metric.full_name, namespace)}\n \n
\n {details}\n
\n );\n};\n\nexport default Metric;\n" +} diff --git a/web/public/bundles/graylog/code/b9cfb490d84806ea748620450fd3fb13799275ae.json b/web/public/bundles/graylog/code/b9cfb490d84806ea748620450fd3fb13799275ae.json new file mode 100644 index 00000000..b96137dd --- /dev/null +++ b/web/public/bundles/graylog/code/b9cfb490d84806ea748620450fd3fb13799275ae.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b9cfb490d84806ea748620450fd3fb13799275ae", + "language": "typescript", + "path": "graylog2-web-interface/src/components/metrics/MetricsComponent.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\nimport styled from 'styled-components';\n\nimport { Alert, Col, Row } from 'components/bootstrap';\nimport { Icon } from 'components/common';\nimport { MetricsList } from 'components/metrics';\nimport SearchForm from 'components/common/SearchForm';\nimport type { Metric } from 'types/metrics';\n\nconst StyledWarningDiv = styled.div(\n ({ theme }) => `\n height: 20px;\n margin-bottom: 5px;\n color: ${theme.colors.variant.dark.danger};\n`,\n);\n\ntype Props = {\n names: Array;\n namespace: string;\n nodeId: string;\n filter?: string;\n error?: {\n responseMessage: string;\n status: number;\n };\n};\n\nconst safelyFilterNames = (filter: string, names: Array) => {\n try {\n const filterRegex = new RegExp(filter, 'i');\n\n return names.filter((metric) => String(metric.full_name).match(filterRegex));\n } catch (_e) {\n return [];\n }\n};\n\ntype State = {\n filter: string;\n};\n\nconst MetricsListContainer = styled.div`\n padding-top: 10px;\n width: 100%;\n`;\n\nclass MetricsComponent extends React.Component {\n static defaultProps = {\n filter: '',\n error: undefined,\n };\n\n constructor(props: Props) {\n super(props);\n this.state = { filter: props.filter };\n }\n\n UNSAFE_componentWillReceiveProps(nextProps: Props) {\n if (nextProps.filter !== this.props.filter) {\n this.setState({ filter: nextProps.filter });\n }\n }\n\n onFilterChange = (nextFilter: string) => {\n this.setState({ filter: nextFilter });\n };\n\n render() {\n const { filter } = this.state;\n const { names, error } = this.props;\n\n if (!names) {\n return (\n \n \n \n {error ? (\n \n Could not fetch metrics from node: server returned {error.responseMessage || ''} with a{' '}\n {error.status} status code.\n \n ) : (\n There was a problem fetching node metrics.\n )}{' '}\n Attempts to retrieve them will continue in the background.\n \n \n \n );\n }\n\n const filteredNames = safelyFilterNames(filter, names);\n\n return (\n \n \n \n {error && (\n <>\n \n   Could not fetch metrics from node: server returned {error.responseMessage || ''} with a{' '}\n {error.status} status code. Displaying last metrics available.\n \n )}\n \n \n \n \n \n \n \n \n );\n }\n}\n\nexport default MetricsComponent;\n" +} diff --git a/web/public/bundles/graylog/code/ba3cd99fd7f5670e36a58db68d886974f6b142ae.json b/web/public/bundles/graylog/code/ba3cd99fd7f5670e36a58db68d886974f6b142ae.json new file mode 100644 index 00000000..55704d1b --- /dev/null +++ b/web/public/bundles/graylog/code/ba3cd99fd7f5670e36a58db68d886974f6b142ae.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "ba3cd99fd7f5670e36a58db68d886974f6b142ae", + "language": "typescript", + "path": "graylog2-web-interface/src/threatintel/components/adapters/otx/OTXAdapterFieldSet.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\nimport cloneDeep from 'lodash/cloneDeep';\n\nimport { Input } from 'components/bootstrap';\nimport { Select } from 'components/common';\nimport type { ValidationState } from 'components/common/types';\n\nconst OTX_INDICATORS = [\n { label: 'IP Auto-Detect', value: 'IPAutoDetect' },\n { label: 'IP v4', value: 'IPv4' },\n { label: 'IP v6', value: 'IPv6' },\n { label: 'Domain', value: 'domain' },\n { label: 'Hostname', value: 'hostname' },\n { label: 'File', value: 'file' },\n { label: 'URL', value: 'url' },\n { label: 'CVE', value: 'cve' },\n { label: 'NIDS', value: 'nids' },\n { label: 'Correlation-Rule', value: 'correlation-rule' },\n];\n\ntype Props = {\n config: {\n indicator: string;\n api_key?: string;\n api_url: string;\n http_user_agent: string;\n http_connect_timeout: number;\n http_write_timeout: number;\n http_read_timeout: number;\n };\n updateConfig: (...args: any[]) => void;\n handleFormEvent: (...args: any[]) => void;\n validationState: (...args: any[]) => ValidationState;\n validationMessage: (...args: any[]) => React.ReactElement | string;\n};\n\nconst OTXAdapterFieldSet = ({ updateConfig, config, handleFormEvent, validationState, validationMessage }: Props) => {\n const handleSelect = (fieldName: string) => (selectedIndicator: string) => {\n const newConfig = cloneDeep(config);\n newConfig[fieldName] = selectedIndicator;\n updateConfig(newConfig);\n };\n\n return (\n
\n \n \n \n \n \n \n \n \n \n
\n );\n};\n\nexport default OTXAdapterFieldSet;\n" +} diff --git a/web/public/bundles/graylog/code/ba9d95ef8979868fcaeede5d3a2b8f56cbf85934.json b/web/public/bundles/graylog/code/ba9d95ef8979868fcaeede5d3a2b8f56cbf85934.json new file mode 100644 index 00000000..b299b90d --- /dev/null +++ b/web/public/bundles/graylog/code/ba9d95ef8979868fcaeede5d3a2b8f56cbf85934.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "ba9d95ef8979868fcaeede5d3a2b8f56cbf85934", + "language": "typescript", + "path": "graylog2-web-interface/src/components/errors/RuntimeErrorBoundary.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport type { ErrorInfo } from 'react';\n\nimport { createReactError } from 'logic/errors/ReportedErrors';\nimport ErrorsActions from 'actions/errors/ErrorsActions';\nimport TelemetryContext from 'logic/telemetry/TelemetryContext';\n\ntype Props = {\n children: React.ReactNode;\n};\n\nclass RuntimeErrorBoundary extends React.Component {\n componentDidCatch(error: Error, info: ErrorInfo) {\n ErrorsActions.report(createReactError(error, { componentStack: info?.componentStack }));\n this.context.sendErrorReport(error);\n }\n\n static contextType = TelemetryContext;\n\n context: React.ContextType;\n\n render() {\n const { children } = this.props;\n\n return children;\n }\n}\n\nexport default RuntimeErrorBoundary;\n" +} diff --git a/web/public/bundles/graylog/code/bac69c24d0606961c8ca8de9dd6ba5f6b7625435.json b/web/public/bundles/graylog/code/bac69c24d0606961c8ca8de9dd6ba5f6b7625435.json new file mode 100644 index 00000000..2d74fc18 --- /dev/null +++ b/web/public/bundles/graylog/code/bac69c24d0606961c8ca8de9dd6ba5f6b7625435.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "bac69c24d0606961c8ca8de9dd6ba5f6b7625435", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/utilities/ProxyConfigConverter.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.utilities;\n\nimport com.github.joschi.jadconfig.Converter;\nimport com.github.joschi.jadconfig.ParameterException;\n\nimport java.net.URI;\nimport java.util.Locale;\nimport java.util.Set;\n\nimport static org.graylog2.shared.utilities.StringUtils.f;\n\npublic class ProxyConfigConverter implements Converter {\n private static final Set SUPPORTED_SCHEMES = Set.of(\"http\", \"https\");\n\n @Override\n public ProxyConfig convertFrom(String value) {\n // JadConfig calls us for any value that is present in the config repository, an empty one included.\n // A blank value means \"no proxy configured\" and must not fail the startup.\n if (value == null || value.isBlank()) {\n return null;\n }\n try {\n final ProxyConfig config = new ProxyConfig(URI.create(value));\n if (config.host() == null || config.host().isBlank()) {\n throw new ParameterException(f(\"Invalid proxy URI: \\\"%s\\\" (no host)\", value));\n }\n if (config.scheme() == null || !SUPPORTED_SCHEMES.contains(config.scheme().toLowerCase(Locale.ROOT))) {\n throw new ParameterException(f(\"Invalid proxy URI: \\\"%s\\\" (scheme must be one of %s)\",\n value, SUPPORTED_SCHEMES));\n }\n return config;\n } catch (IllegalArgumentException e) {\n throw new ParameterException(f(\"Invalid proxy URI: \\\"%s\\\"\", value), e);\n }\n }\n\n @Override\n public String convertTo(ProxyConfig value) {\n return value.uri().toString();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/bb2c942aa30e53e69e1064beedc3748b5244f7d7.json b/web/public/bundles/graylog/code/bb2c942aa30e53e69e1064beedc3748b5244f7d7.json new file mode 100644 index 00000000..f1785f7f --- /dev/null +++ b/web/public/bundles/graylog/code/bb2c942aa30e53e69e1064beedc3748b5244f7d7.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "bb2c942aa30e53e69e1064beedc3748b5244f7d7", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/rest/resources/ProxiedResource.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.shared.rest.resources;\n\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.google.auto.value.AutoValue;\nimport com.google.common.base.Stopwatch;\nimport jakarta.inject.Inject;\nimport jakarta.inject.Named;\nimport jakarta.ws.rs.container.AsyncResponse;\nimport jakarta.ws.rs.container.ConnectionCallback;\nimport jakarta.ws.rs.core.Context;\nimport jakarta.ws.rs.core.Cookie;\nimport jakarta.ws.rs.core.HttpHeaders;\nimport okhttp3.ResponseBody;\nimport org.graylog2.cluster.Node;\nimport org.graylog2.cluster.NodeNotFoundException;\nimport org.graylog2.cluster.NodeService;\nimport org.graylog2.rest.RemoteInterfaceProvider;\nimport org.graylog2.shared.utilities.StringUtils;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport retrofit2.Call;\nimport retrofit2.Response;\n\nimport javax.annotation.Nonnull;\nimport javax.annotation.Nullable;\nimport java.io.IOException;\nimport java.nio.charset.Charset;\nimport java.nio.charset.StandardCharsets;\nimport java.time.Duration;\nimport java.util.Base64;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Objects;\nimport java.util.Optional;\nimport java.util.concurrent.CompletableFuture;\nimport java.util.concurrent.ExecutionException;\nimport java.util.concurrent.ExecutorService;\nimport java.util.concurrent.Future;\nimport java.util.concurrent.TimeUnit;\nimport java.util.concurrent.TimeoutException;\nimport java.util.function.Function;\nimport java.util.function.Supplier;\nimport java.util.stream.Collectors;\n\nimport static java.util.Objects.requireNonNull;\n\npublic abstract class ProxiedResource extends RestResource {\n private static final Logger LOG = LoggerFactory.getLogger(ProxiedResource.class);\n\n private final String authenticationToken;\n protected final NodeService nodeService;\n\n protected final RemoteInterfaceProvider remoteInterfaceProvider;\n private final ExecutorService executor;\n\n @Inject\n @Named(\"proxied_requests_default_call_timeout\")\n private com.github.joschi.jadconfig.util.Duration defaultProxyCallTimeout;\n\n protected ProxiedResource(@Context HttpHeaders httpHeaders,\n NodeService nodeService,\n RemoteInterfaceProvider remoteInterfaceProvider,\n ExecutorService executorService) {\n this.nodeService = nodeService;\n this.remoteInterfaceProvider = remoteInterfaceProvider;\n this.executor = executorService;\n this.authenticationToken = authenticationToken(httpHeaders);\n }\n\n protected Duration getDefaultProxyCallTimeout() {\n return Duration.ofMillis(requireNonNull(defaultProxyCallTimeout, \"defaultProxyCallTimeout not injected\").toMilliseconds());\n }\n\n protected void processAsync(AsyncResponse asyncResponse, Supplier responseSupplier) {\n requireNonNull(asyncResponse, \"asyncResponse cannot be null\");\n requireNonNull(responseSupplier, \"responseSupplier cannot be null\");\n\n asyncResponse.register((ConnectionCallback) disconnected -> LOG.debug(\"Remote client disconnected\"));\n\n LOG.debug(\"Schedule async request\");\n executor.submit(() -> {\n try {\n LOG.debug(\"Running async request\");\n var response = responseSupplier.get();\n LOG.debug(\"Resuming async response\");\n asyncResponse.resume(response);\n } catch (Throwable e) {\n LOG.debug(\"Async request failed\");\n LOG.debug(\"Resuming async response with an error\", e);\n asyncResponse.resume(e);\n }\n });\n }\n\n public static String authenticationToken(HttpHeaders httpHeaders) {\n final Cookie authenticationCookie = httpHeaders.getCookies().get(\"authentication\");\n if (authenticationCookie != null) {\n final String sessionId = authenticationCookie.getValue();\n final String credentials = sessionId + \":session\";\n final String base64Credentials = Base64.getEncoder().encodeToString(credentials.getBytes(StandardCharsets.UTF_8));\n return \"Basic \" + base64Credentials;\n }\n\n final List authorizationHeader = httpHeaders.getRequestHeader(\"Authorization\");\n if (authorizationHeader != null && !authorizationHeader.isEmpty()) {\n return authorizationHeader.get(0);\n }\n\n return null;\n }\n\n /**\n * Gets an authentication token to be used in an Authorization header of forwarded requests. It was extracted\n * from the authentication information of the original request.\n *\n * @return An authentication token if the request was authenticated and one could be extracted from the original\n */\n @Nullable\n protected String getAuthenticationToken() {\n return authenticationToken;\n }\n\n /**\n * Prefer using {@link #requestOnAllNodes(Class, Function)} instead.\n * The new method properly handles the case of `No-Content` response and provides\n * detailed report per each node API call.\n */\n @Deprecated\n protected Map> getForAllNodes(\n Function> fn,\n Function> interfaceProvider\n ) {\n return getForAllNodes(fn, interfaceProvider, Function.identity(), Duration.ZERO);\n }\n\n /**\n * Prefer using {@link #requestOnAllNodes(Class, Function, Duration)} instead.\n * The new method properly handles the case of `No-Content` response and provides\n * detailed report per each node API call.\n */\n @Deprecated\n protected Map> getForAllNodes(\n Function> fn,\n Function> interfaceProvider,\n Duration timeout\n ) {\n return getForAllNodes(fn, interfaceProvider, Function.identity(), timeout);\n }\n\n /**\n * Prefer using {@link ProxiedResource#requestOnAllNodes(Class, Function, Function)} instead.\n * The new method properly handles the case of `No-Content` response and provides\n * detailed report per each node API call.\n */\n @Deprecated\n protected Map> getForAllNodes(\n Function> fn,\n Function> interfaceProvider,\n Function transformer\n ) {\n return getForAllNodes(fn, interfaceProvider, transformer, Duration.ZERO);\n }\n\n /**\n * Prefer using {@link ProxiedResource#requestOnAllNodes(Class, Function, Function, Duration)} instead.\n * The new method properly handles the case of `No-Content` response and provides\n * detailed report per each node API call.\n */\n @Deprecated\n protected Map> getForAllNodes(\n Function> fn,\n Function> interfaceProvider,\n Function transformer,\n Duration timeout) {\n final long callTimeoutMs = Duration.ZERO.equals(timeout) ? getDefaultProxyCallTimeout().toMillis() : timeout.toMillis();\n\n final Map>> futures = this.nodeService.allActive().keySet().stream()\n .collect(Collectors.toMap(Function.identity(), node -> interfaceProvider.apply(node)\n .map(r -> executor.submit(() -> {\n final Call call = fn.apply(r);\n final Stopwatch sw = Stopwatch.createUnstarted();\n try {\n call.timeout().timeout(callTimeoutMs, TimeUnit.MILLISECONDS);\n sw.start();\n final Response response = call.execute();\n if (response.isSuccessful()) {\n return Optional.of(transformer.apply(response.body()));\n } else {\n LOG.warn(\"Unable to call {} on node <{}>, result: {} (duration: {} ms)\",\n call.request().url(), node, response.message(), sw.stop().elapsed().toMillis());\n return Optional.empty();\n }\n } catch (IOException e) {\n final long elapsedMs = sw.stop().elapsed().toMillis();\n if (LOG.isDebugEnabled()) {\n LOG.warn(\"Unable to call {} on node <{}> (duration: {} ms)\", call.request().url(), node, elapsedMs, e);\n } else {\n LOG.warn(\"Unable to call {} on node <{}>: {} (duration: {} ms)\", call.request().url(), node, e.getMessage(), elapsedMs);\n }\n return Optional.empty();\n }\n }))\n .orElse(CompletableFuture.completedFuture(Optional.empty()))\n ));\n\n return futures\n .entrySet()\n .stream()\n .collect(Collectors.toMap(Map.Entry::getKey, entry -> {\n try {\n // Never block without timeout to avoid saturating the thread pool with waiting futures.\n // We double the timeout that we use for the HTTP call here to ensure that the HTTP\n // requests times out before we hit the timeout on this Future#get call.\n return entry.getValue().get(callTimeoutMs * 2, TimeUnit.MILLISECONDS);\n } catch (InterruptedException | ExecutionException e) {\n LOG.debug(\"Couldn't retrieve future\", e);\n return Optional.empty();\n } catch (TimeoutException e) {\n LOG.debug(\"Upstream timeout for node <{}>\", entry.getKey());\n return Optional.empty();\n }\n }));\n }\n\n protected Function> createRemoteInterface(Class interfaceClass, @Nullable Duration timeout) {\n return nodeId -> {\n try {\n final Node targetNode = nodeService.byNodeId(nodeId);\n return Optional.of(this.remoteInterfaceProvider.get(targetNode, getAuthenticationToken(), interfaceClass, timeout == null ? getDefaultProxyCallTimeout() : timeout));\n } catch (NodeNotFoundException e) {\n LOG.warn(\"Node <\" + nodeId + \"> not found while trying to call \" + interfaceClass.getName() + \" on it.\");\n return Optional.empty();\n }\n };\n }\n\n protected Map> requestOnAllNodes(\n Class interfaceClass,\n Function> fn\n ) {\n return requestOnAllNodes(interfaceClass, fn, Function.identity(), null);\n }\n\n protected Map> requestOnAllNodes(\n Class interfaceClass,\n Function> fn,\n Duration timeout\n ) {\n return requestOnAllNodes(interfaceClass, fn, Function.identity(), timeout);\n }\n\n protected Map> requestOnAllNodes(\n Class interfaceClass,\n Function> remoteInterfaceCallProvider,\n Function responseTransformer\n ) {\n return requestOnAllNodes(interfaceClass, remoteInterfaceCallProvider, responseTransformer, null);\n }\n\n /**\n * This method concurrently performs an API call on all active nodes.\n *\n * @param interfaceClass The class of the Retrotfit interface for this call\n * @param remoteInterfaceCallProvider provides an invocation of a Retrofit method for the intended API call.\n * @param responseTransformer applies transformations to HTTP response body\n * @param Type of the Retrofit HTTP client\n * @param Type of the API call response body\n * @param Type after applying the transformations\n * @return Detailed report on call results per each active node.\n */\n protected Map> requestOnAllNodes(\n Class interfaceClass,\n Function> remoteInterfaceCallProvider,\n Function responseTransformer,\n @Nullable Duration timeout\n ) {\n final long callTimeoutMs = (timeout == null) ? getDefaultProxyCallTimeout().toMillis() : timeout.toMillis();\n\n final Map>> futures = this.nodeService.allActive().keySet().stream()\n .collect(Collectors.toMap(Function.identity(), nodeId -> executor.submit(() -> {\n final Stopwatch sw = Stopwatch.createStarted();\n try {\n return CallResult.success(doNodeApiCall(nodeId, interfaceClass, remoteInterfaceCallProvider, responseTransformer, timeout));\n } catch (Exception e) {\n final long elapsedMs = sw.stop().elapsed().toMillis();\n if (LOG.isDebugEnabled()) {\n LOG.warn(\"Failed to call API on node <{}>, cause: {} (duration: {} ms)\", nodeId, e.getMessage(), elapsedMs, e);\n } else {\n LOG.warn(\"Failed to call API on node <{}>, cause: {} (duration: {} ms)\", nodeId, e.getMessage(), elapsedMs);\n }\n return CallResult.error(e.getMessage());\n }\n })\n ));\n\n return futures\n .entrySet()\n .stream()\n .collect(Collectors.toMap(Map.Entry::getKey, entry -> {\n try {\n // Never block without timeout to avoid saturating the thread pool with waiting futures.\n // We double the timeout that we use for the HTTP call here to ensure that the HTTP\n // requests times out before we hit the timeout on this Future#get call.\n return entry.getValue().get(callTimeoutMs * 2, TimeUnit.MILLISECONDS);\n } catch (InterruptedException | ExecutionException e) {\n LOG.debug(\"Couldn't retrieve future\", e);\n throw new RuntimeException(e);\n } catch (TimeoutException e) {\n LOG.debug(\"Upstream timeout for node <{}>\", entry.getKey());\n return CallResult.upstreamTimeout(entry.getKey());\n }\n }));\n }\n\n /**\n * Execute the given remote interface function on the leader node.\n *

\n * This is used to forward an API request to the leader node. It is useful in situations where an API call can only\n * be executed on the leader node.\n *

\n * The returned {@link NodeResponse} object is constructed from the remote response's status code and body.\n */\n protected NodeResponse requestOnLeader(\n Function> remoteInterfaceFunction,\n Class interfaceClass, Duration timeout\n ) throws IOException {\n final Node leaderNode = nodeService.allActive().values().stream()\n .filter(Node::isLeader)\n .findFirst()\n .orElseThrow(() -> new IllegalStateException(\"No active leader node found\"));\n\n return doNodeApiCall(leaderNode.getNodeId(), interfaceClass, remoteInterfaceFunction, Function.identity(), timeout);\n }\n\n /**\n * Execute the given remote interface function on the leader node.\n *

\n * This is used to forward an API request to the leader node. It is useful in situations where an API call can only\n * be executed on the leader node.\n *

\n * The returned {@link NodeResponse} object is constructed from the remote response's status code and body.\n */\n protected NodeResponse requestOnLeader(\n Function> remoteInterfaceFunction,\n Class interfaceClass\n ) throws IOException {\n return requestOnLeader(remoteInterfaceFunction, interfaceClass, getDefaultProxyCallTimeout());\n }\n\n /**\n * Execute the given remote interface function on the given node.\n *

\n * This is used to forward an API request to the given node. It is useful in situations where an API call has to\n * be executed on a particular, chosen node.\n *

\n * The returned {@link NodeResponse} object is constructed from the remote response's status code and body.\n */\n protected NodeResponse requestOnNode(\n String nodeId,\n Function> remoteInterfaceFunction,\n Class interfaceClass,\n Duration timeout\n ) throws IOException {\n\n final Node executionNode = nodeService.allActive().values().stream()\n .filter(node -> Objects.equals(nodeId, node.getNodeId()))\n .findFirst()\n .orElseThrow(() -> new IllegalStateException(StringUtils.f(\"Node %s cannot be found among active nodes\", nodeId)));\n return doNodeApiCall(executionNode.getNodeId(), interfaceClass, remoteInterfaceFunction, Function.identity(), timeout);\n\n }\n\n /**\n * Execute the given remote interface function on the given node.\n *

\n * This is used to forward an API request to the given node. It is useful in situations where an API call has to\n * be executed on a particular, chosen node.\n *

\n * The returned {@link NodeResponse} object is constructed from the remote response's status code and body.\n */\n protected NodeResponse requestOnNode(\n String nodeId,\n Function> remoteInterfaceFunction,\n Class interfaceClass\n ) throws IOException {\n return requestOnNode(nodeId, remoteInterfaceFunction, interfaceClass, getDefaultProxyCallTimeout());\n }\n\n protected NodeResponse doNodeApiCall(\n String nodeId,\n Class interfaceClass,\n Function> remoteInterfaceFunction,\n Function transformer,\n @Nullable Duration timeout\n ) throws IOException {\n final Function> remoteInterface = createRemoteInterface(interfaceClass, timeout);\n final RemoteInterfaceType remoteInterfaceType = remoteInterface.apply(nodeId)\n .orElseThrow(() -> new IllegalStateException(\"Node \" + nodeId + \" not found\"));\n final Call call = remoteInterfaceFunction.apply(remoteInterfaceType);\n\n final long callTimeoutMs = (timeout == null) ? getDefaultProxyCallTimeout().toMillis() : timeout.toMillis();\n call.timeout().timeout(callTimeoutMs, TimeUnit.MILLISECONDS);\n\n final Response response = call.execute();\n\n try (final ResponseBody errorBody = response.errorBody()) {\n return NodeResponse.create(\n response.isSuccessful(),\n response.code(),\n transformer.apply(response.body()),\n errorBody == null ? null : errorBody.bytes()\n );\n }\n }\n\n /**\n * Helper function to remove the {@link CallResult} wrapper\n *\n * @param input responses that are wrapped with a {@link CallResult}\n * @return the response in the legacy format of {@code Map>}\n */\n protected Map> stripCallResult(Map> input) {\n return input.entrySet().stream()\n .filter(e -> e.getValue().response() != null)\n .collect(Collectors.toMap(Map.Entry::getKey, v -> v.getValue().response().entity()));\n }\n\n /**\n * This wrapper is intended to provide additional server error information\n * if something went wrong beyond the actual API HTTP call.\n */\n @AutoValue\n public static abstract class CallResult {\n\n @JsonProperty(\"call_executed\")\n public abstract boolean isCallExecuted();\n\n @JsonProperty(\"server_error_message\")\n @Nullable\n public abstract String serverErrorMessage();\n\n @JsonProperty(\"response\")\n @Nullable\n public abstract NodeResponse response();\n\n public static CallResult success(@Nonnull NodeResponse response) {\n return new AutoValue_ProxiedResource_CallResult<>(true, null, response);\n }\n\n public static CallResult error(@Nonnull String serverErrorMessage) {\n return new AutoValue_ProxiedResource_CallResult<>(false, serverErrorMessage, null);\n }\n\n public static CallResult upstreamTimeout(@Nonnull String nodeId) {\n final String msg = StringUtils.f(\"upstream timeout (node=%s)\", nodeId);\n return new AutoValue_ProxiedResource_CallResult<>(true, msg, null);\n }\n }\n\n\n @AutoValue\n public static abstract class NodeResponse {\n /**\n * Indicates whether the request has been successful or not.\n *\n * @return {@code true} for a successful request, {@code false} otherwise\n */\n @JsonProperty(\"success\")\n public abstract boolean isSuccess();\n\n /**\n * Returns the HTTP status code of the response.\n *\n * @return HTTP status code\n */\n @JsonProperty(\"code\")\n public abstract int code();\n\n /**\n * Returns the typed response object if the request was successful. Otherwise it returns an empty {@link Optional}.\n *\n * @return typed response object or empty {@link Optional}\n */\n @JsonProperty(\"entity\")\n public abstract Optional entity();\n\n /**\n * Returns the error response if the request wasn't successful. Otherwise it returns an empty {@link Optional}.\n *\n * @return error response or empty {@link Optional}\n */\n public abstract Optional error();\n\n /**\n * Convenience method that returns either the body of a successful request or if that one is {@code null},\n * it returns the error body.\n *

\n * Use {@link #entity()} the get the typed response object. (only available if {@link #isSuccess()} is {@code true})\n *\n * @return either the {@link #entity()} or the {@link #error()}\n */\n public Object body() {\n return entity().isPresent() ? entity().get() : error().orElse(null);\n }\n\n @JsonProperty(\"error_text\")\n @Nullable\n public String errorText() {\n return error()\n .map(bytes -> new String(bytes, Charset.defaultCharset()))\n .orElse(null);\n }\n\n public static NodeResponse create(boolean isSuccess,\n int code,\n @Nullable ResponseType entity,\n @Nullable byte[] error) {\n return new AutoValue_ProxiedResource_NodeResponse<>(isSuccess, code, Optional.ofNullable(entity), Optional.ofNullable(error));\n }\n }\n\n /**\n * @deprecated Use {@link NodeResponse} instead.\n */\n @Deprecated\n @AutoValue\n public static abstract class MasterResponse {\n\n public abstract boolean isSuccess();\n\n public abstract int code();\n\n public abstract Optional entity();\n\n public abstract Optional error();\n\n public Object body() {\n return entity().isPresent() ? entity().get() : error().orElse(null);\n }\n\n public static MasterResponse create(NodeResponse nodeResponse) {\n return new AutoValue_ProxiedResource_MasterResponse<>(\n nodeResponse.isSuccess(), nodeResponse.code(), nodeResponse.entity(), nodeResponse.error());\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/bbb8fde724d2acd451f4b649b22b43b1ee3cf5ea.json b/web/public/bundles/graylog/code/bbb8fde724d2acd451f4b649b22b43b1ee3cf5ea.json new file mode 100644 index 00000000..63b53aa7 --- /dev/null +++ b/web/public/bundles/graylog/code/bbb8fde724d2acd451f4b649b22b43b1ee3cf5ea.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "bbb8fde724d2acd451f4b649b22b43b1ee3cf5ea", + "language": "typescript", + "path": "graylog2-web-interface/src/views/components/export/ExportStrategy.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport type { Set, List } from 'immutable';\nimport { PluginStore } from 'graylog-web-plugin/plugin';\n\nimport type { ViewType } from 'views/logic/views/View';\nimport View from 'views/logic/views/View';\nimport type Widget from 'views/logic/widgets/Widget';\nimport type { ExportPayload } from 'util/MessagesExportUtils';\nimport { exportSearchMessages, exportSearchTypeMessages } from 'util/MessagesExportUtils';\nimport type Query from 'views/logic/queries/Query';\nimport type { SearchType } from 'views/logic/queries/SearchType';\n\ntype ExportStrategy = {\n title: string;\n shouldAllowWidgetSelection: (\n singleWidgetDownload: boolean,\n showWidgetSelection: boolean,\n widgets: List,\n ) => boolean;\n shouldEnableDownload: (\n showWidgetSelection: boolean,\n selectedWidget: Widget | undefined | null,\n selectedFields: { field: string }[],\n loading: boolean,\n ) => boolean;\n shouldShowWidgetSelection: (\n singleWidgetDownload: boolean,\n selectedWidget: Widget | undefined | null,\n widgets: List,\n ) => boolean;\n initialWidget: (widgets: List, directExportWidgetId: string | undefined | null) => Widget | undefined | null;\n downloadFile: (\n format: string,\n payload: ExportPayload,\n searchQueries: Set,\n searchType: SearchType | undefined | null,\n searchId: string,\n filename: string,\n ) => Promise;\n};\n\nconst _getWidgetById = (widgets, id) => widgets.find((item) => item.id === id);\n\nconst _initialSearchWidget = (widgets, directExportWidgetId) => {\n if (directExportWidgetId) {\n return _getWidgetById(widgets, directExportWidgetId);\n }\n\n if (widgets.size === 1) {\n return widgets.first();\n }\n\n return null;\n};\n\nexport const formatDefinition = (format: string) => {\n const formats = PluginStore.exports('views.export.formats');\n\n const definition = formats.find(({ type }) => type === format);\n\n if (!definition) {\n throw new Error(`Unknown export format \"${definition}\"`);\n }\n\n return definition;\n};\n\nconst _exportOnDashboard = (\n format: string,\n payload: ExportPayload,\n searchType: SearchType | undefined | null,\n searchId: string,\n filename: string,\n) => {\n if (!searchType) {\n throw new Error('Exports on a dashboard require a selected widget!');\n }\n\n const { mimeType, fileExtension } = formatDefinition(format);\n const filenameWithExtension = `${filename}.${fileExtension}`;\n\n return exportSearchTypeMessages(payload, searchId, searchType.id, mimeType, filenameWithExtension);\n};\n\nconst _exportOnSearchPage = (\n format: string,\n payload: ExportPayload,\n searchQueries: Set,\n searchType: SearchType | undefined | null,\n searchId: string,\n filename: string,\n) => {\n if (searchQueries.size !== 1) {\n throw new Error('Searches must only have a single query!');\n }\n\n const { mimeType, fileExtension } = formatDefinition(format);\n const filenameWithExtension = `${filename}.${fileExtension}`;\n\n if (searchType) {\n return exportSearchTypeMessages(payload, searchId, searchType.id, mimeType, filenameWithExtension);\n }\n\n return exportSearchMessages(payload, searchId, mimeType, filenameWithExtension);\n};\n\nconst SearchExportStrategy: ExportStrategy = {\n title: 'Export all search results',\n shouldEnableDownload: (showWidgetSelection, _selectedWidget, selectedFields, loading) =>\n !loading && !showWidgetSelection && !!selectedFields && selectedFields.length > 0,\n shouldAllowWidgetSelection: (singleWidgetDownload, showWidgetSelection, widgets) =>\n !singleWidgetDownload && !showWidgetSelection && widgets.size > 1,\n shouldShowWidgetSelection: (singleWidgetDownload, selectedWidget, widgets) =>\n !singleWidgetDownload && !selectedWidget && widgets.size > 1,\n initialWidget: _initialSearchWidget,\n downloadFile: (format: string, payload, searchQueries, searchType, searchId, filename) =>\n _exportOnSearchPage(format, payload, searchQueries, searchType, searchId, filename),\n};\n\nconst DashboardExportStrategy: ExportStrategy = {\n title: 'Export message table search results',\n shouldEnableDownload: (_showWidgetSelection, selectedWidget, selectedFields, loading) =>\n !loading && !!selectedWidget && !!selectedFields && selectedFields.length > 0,\n shouldAllowWidgetSelection: (singleWidgetDownload, showWidgetSelection) =>\n !singleWidgetDownload && !showWidgetSelection,\n shouldShowWidgetSelection: (singleWidgetDownload, selectedWidget) => !singleWidgetDownload && !selectedWidget,\n initialWidget: (widget, directExportWidgetId) =>\n directExportWidgetId ? _getWidgetById(widget, directExportWidgetId) : null,\n downloadFile: (format: string, payload, _searchQueries, searchType, searchId, filename) =>\n _exportOnDashboard(format, payload, searchType, searchId, filename),\n};\n\nconst createExportStrategy = (viewType: ViewType) => {\n switch (viewType) {\n case View.Type.Dashboard:\n return DashboardExportStrategy;\n case View.Type.Search:\n default:\n return SearchExportStrategy;\n }\n};\n\nexport default { createExportStrategy };\n" +} diff --git a/web/public/bundles/graylog/code/bc1fd3148f8b9c4c3044ffe3461a82a8d9369611.json b/web/public/bundles/graylog/code/bc1fd3148f8b9c4c3044ffe3461a82a8d9369611.json new file mode 100644 index 00000000..ea01d4bf --- /dev/null +++ b/web/public/bundles/graylog/code/bc1fd3148f8b9c4c3044ffe3461a82a8d9369611.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "bc1fd3148f8b9c4c3044ffe3461a82a8d9369611", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/security/SafeClasses.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.security;\n\nimport jakarta.inject.Inject;\nimport jakarta.inject.Named;\nimport jakarta.inject.Singleton;\nimport org.graylog2.Configuration;\n\nimport javax.annotation.Nonnull;\nimport java.util.Objects;\nimport java.util.Set;\n\n/**\n * Adds a safety net for class loading.\n */\n@Singleton\npublic class SafeClasses {\n private final Set prefixes;\n\n public static SafeClasses allGraylogInternal() {\n return new SafeClasses(Set.of(\"org.graylog.\", \"org.graylog2.\"));\n }\n\n @Inject\n public SafeClasses(@Named(Configuration.SAFE_CLASSES) @Nonnull Set prefixes) {\n this.prefixes = Objects.requireNonNull(prefixes);\n }\n\n /**\n * Check if the class name is considered safe for loading by names from a potentially user-provided input.\n * Classes are considered safe if their fully qualified class name starts with any of the prefixes configured in\n * {@link Configuration#getSafeClasses()}.\n */\n public boolean isSafeToLoad(String className) {\n return prefixes.stream().anyMatch(className::startsWith);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/bc3be62b99f970ffad27275eaf1b77eaf6395cf3.json b/web/public/bundles/graylog/code/bc3be62b99f970ffad27275eaf1b77eaf6395cf3.json new file mode 100644 index 00000000..00a6357e --- /dev/null +++ b/web/public/bundles/graylog/code/bc3be62b99f970ffad27275eaf1b77eaf6395cf3.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "bc3be62b99f970ffad27275eaf1b77eaf6395cf3", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/transports/AmqpTransport.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.inputs.transports;\n\nimport com.codahale.metrics.Gauge;\nimport com.codahale.metrics.MetricRegistry;\nimport com.google.common.eventbus.EventBus;\nimport com.google.common.eventbus.Subscribe;\nimport com.google.common.util.concurrent.ThreadFactoryBuilder;\nimport com.google.inject.assistedinject.Assisted;\nimport com.google.inject.assistedinject.AssistedInject;\nimport com.rabbitmq.client.AlreadyClosedException;\nimport com.rabbitmq.client.ConnectionFactory;\nimport org.graylog2.plugin.InputFailureRecorder;\nimport org.graylog2.plugin.LocalMetricRegistry;\nimport org.graylog2.plugin.configuration.Configuration;\nimport org.graylog2.plugin.configuration.ConfigurationRequest;\nimport org.graylog2.plugin.configuration.fields.BooleanField;\nimport org.graylog2.plugin.configuration.fields.ConfigurationField;\nimport org.graylog2.plugin.configuration.fields.NumberField;\nimport org.graylog2.plugin.configuration.fields.TextField;\nimport org.graylog2.plugin.inputs.MessageInput;\nimport org.graylog2.plugin.inputs.MisfireException;\nimport org.graylog2.plugin.inputs.annotations.ConfigClass;\nimport org.graylog2.plugin.inputs.annotations.FactoryClass;\nimport org.graylog2.plugin.inputs.codecs.CodecAggregator;\nimport org.graylog2.plugin.inputs.transports.ThrottleableTransport2;\nimport org.graylog2.plugin.inputs.transports.Transport;\nimport org.graylog2.plugin.lifecycles.Lifecycle;\nimport org.graylog2.plugin.system.NodeId;\nimport org.graylog2.security.encryption.EncryptedValueService;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.io.IOException;\nimport java.time.Duration;\nimport java.util.concurrent.Executors;\nimport java.util.concurrent.ScheduledExecutorService;\nimport java.util.concurrent.ScheduledFuture;\nimport java.util.concurrent.TimeUnit;\nimport java.util.concurrent.TimeoutException;\nimport java.util.concurrent.atomic.AtomicReference;\n\nimport static org.graylog2.shared.utilities.ExceptionUtils.getRootCause;\n\npublic class AmqpTransport extends ThrottleableTransport2 {\n public static final String CK_HOSTNAME = \"broker_hostname\";\n public static final String CK_PORT = \"broker_port\";\n public static final String CK_VHOST = \"broker_vhost\";\n public static final String CK_USERNAME = \"broker_username\";\n public static final String CK_PASSWORD = \"broker_password\";\n public static final String CK_PREFETCH = \"prefetch\";\n public static final String CK_EXCHANGE = \"exchange\";\n public static final String CK_EXCHANGE_BIND = \"exchange_bind\";\n public static final String CK_QUEUE = \"queue\";\n public static final String CK_QUEUE_DECLARE_PASSIVE = \"queue_declare_passive\";\n public static final String CK_ROUTING_KEY = \"routing_key\";\n public static final String CK_PARALLEL_QUEUES = \"parallel_queues\";\n public static final String CK_TLS = \"tls\";\n public static final String CK_REQUEUE_INVALID_MESSAGES = \"requeue_invalid_messages\";\n public static final String CK_HEARTBEAT_TIMEOUT = \"heartbeat\";\n public static final String CK_CONNECTION_RECOVERY_INTERVAL = \"connection_recovery_interval\";\n\n private static final int DEFAULT_CONNECTION_RECOVERY_INTERVAL_VALUE = 5;\n private static final Logger LOG = LoggerFactory.getLogger(AmqpTransport.class);\n\n private final Configuration configuration;\n private final EventBus eventBus;\n private final MetricRegistry localRegistry;\n private final NodeId nodeId;\n private final EncryptedValueService encryptedValueService;\n private ScheduledExecutorService amqpScheduler;\n\n private AmqpConsumer consumer;\n\n private InputFailureRecorder inputFailureRecorder;\n private final AtomicReference> scheduledFuture = new AtomicReference<>();\n\n @AssistedInject\n public AmqpTransport(@Assisted Configuration configuration,\n EventBus eventBus,\n LocalMetricRegistry localRegistry,\n NodeId nodeId,\n EncryptedValueService encryptedValueService) {\n super(eventBus, configuration);\n this.configuration = configuration;\n this.eventBus = eventBus;\n this.localRegistry = localRegistry;\n this.nodeId = nodeId;\n this.encryptedValueService = encryptedValueService;\n\n localRegistry.register(\"read_bytes_1sec\", new Gauge() {\n @Override\n public Long getValue() {\n return consumer.getLastSecBytesRead().get();\n }\n });\n localRegistry.register(\"written_bytes_1sec\", new Gauge() {\n @Override\n public Long getValue() {\n return 0L;\n }\n });\n localRegistry.register(\"read_bytes_total\", new Gauge() {\n @Override\n public Long getValue() {\n return consumer.getTotalBytesRead().get();\n }\n });\n localRegistry.register(\"written_bytes_total\", new Gauge() {\n @Override\n public Long getValue() {\n return 0L;\n }\n });\n }\n\n @Subscribe\n public void lifecycleChanged(Lifecycle lifecycle) {\n try {\n LOG.debug(\"Lifecycle changed to {}\", lifecycle);\n switch (lifecycle) {\n case PAUSED, FAILED, HALTING -> stopConsumer();\n default -> {\n if (consumer.isConnected()) {\n LOG.debug(\"Consumer is already connected, not running it a second time.\");\n break;\n }\n runConsumer();\n }\n }\n } catch (Exception e) {\n LOG.warn(\"This should not throw any exceptions\", e);\n }\n }\n\n @Override\n public void setMessageAggregator(CodecAggregator aggregator) {\n\n }\n\n @Override\n public void doLaunch(MessageInput input, InputFailureRecorder inputFailureRecorder) throws MisfireException {\n this.inputFailureRecorder = inputFailureRecorder;\n\n int heartbeatTimeout = ConnectionFactory.DEFAULT_HEARTBEAT;\n if (configuration.intIsSet(CK_HEARTBEAT_TIMEOUT)) {\n heartbeatTimeout = configuration.getInt(CK_HEARTBEAT_TIMEOUT);\n if (heartbeatTimeout < 0) {\n LOG.warn(\"AMQP heartbeat interval must not be negative ({}), using default timeout ({}).\",\n heartbeatTimeout, ConnectionFactory.DEFAULT_HEARTBEAT);\n heartbeatTimeout = ConnectionFactory.DEFAULT_HEARTBEAT;\n }\n }\n\n consumer = new AmqpConsumer(\n heartbeatTimeout,\n nodeId,\n input,\n configuration,\n inputFailureRecorder,\n this,\n encryptedValueService,\n connectionRecoveryInterval()\n );\n localRegistry.registerAll(consumer.getMetricSet());\n if (amqpScheduler == null) {\n this.amqpScheduler = Executors.newSingleThreadScheduledExecutor(new ThreadFactoryBuilder().setNameFormat(\"amqp-input-\" + input.getId() + \"-executor-%d\").build());\n }\n eventBus.register(this);\n try {\n runConsumer();\n } catch (Exception e) {\n stopAmqpScheduler();\n throw e;\n }\n }\n\n private void stopAmqpScheduler() {\n if (amqpScheduler != null) {\n amqpScheduler.shutdown();\n try {\n if (!amqpScheduler.awaitTermination(5, TimeUnit.SECONDS)) {\n LOG.warn(\"Timeout shutting down AMQP scheduler thread\");\n }\n } catch (InterruptedException e) {\n Thread.currentThread().interrupt();\n }\n }\n }\n\n private void runConsumer() {\n cancelConsumerRunScheduler();\n scheduledFuture.set(scheduleConsumerRun());\n }\n\n private ScheduledFuture scheduleConsumerRun() {\n return amqpScheduler.scheduleAtFixedRate(() -> {\n try {\n consumer.run();\n cancelConsumerRunScheduler();\n inputFailureRecorder.setRunning();\n } catch (TimeoutException e) {\n inputFailureRecorder.setFailing(getClass(), \"Timeout while opening new AMQP connection\", e);\n } catch (IOException e) {\n inputFailureRecorder.setFailing(getClass(), \"Error while opening new AMQP connection\", getRootCause(e));\n } catch (Exception e) {\n inputFailureRecorder.setFailing(getClass(), \"Could not launch AMQP consumer.\", e);\n }\n }, 0, connectionRecoveryInterval().toSeconds(), TimeUnit.SECONDS);\n }\n\n private void cancelConsumerRunScheduler() {\n scheduledFuture.updateAndGet(f -> {\n if (f != null) {\n f.cancel(true);\n }\n return null;\n });\n }\n\n private Duration connectionRecoveryInterval() {\n return Duration.ofSeconds(configuration.getInt(CK_CONNECTION_RECOVERY_INTERVAL, DEFAULT_CONNECTION_RECOVERY_INTERVAL_VALUE));\n }\n\n @Override\n public void doStop() {\n try {\n stopConsumer();\n } finally {\n eventBus.unregister(this);\n stopAmqpScheduler();\n }\n }\n\n private void stopConsumer() {\n try {\n if (consumer != null) {\n consumer.stop();\n }\n } catch (AlreadyClosedException e) {\n LOG.warn(\"AMQP channel already closed\");\n } catch (IOException e) {\n LOG.warn(\"Unable to stop consumer\", e);\n }\n\n cancelConsumerRunScheduler();\n }\n\n @Override\n public com.codahale.metrics.MetricSet getMetricSet() {\n return localRegistry;\n }\n\n @FactoryClass\n public interface Factory extends Transport.Factory {\n @Override\n AmqpTransport create(Configuration configuration);\n\n @Override\n Config getConfig();\n }\n\n @ConfigClass\n public static class Config extends ThrottleableTransport2.Config {\n @Override\n public ConfigurationRequest getRequestedConfiguration() {\n final ConfigurationRequest cr = super.getRequestedConfiguration();\n cr.addField(\n new TextField(\n CK_HOSTNAME,\n \"Broker hostname\",\n \"\",\n \"Hostname of the AMQP broker to use\",\n ConfigurationField.Optional.NOT_OPTIONAL\n )\n );\n\n cr.addField(\n new NumberField(\n CK_PORT,\n \"Broker port\",\n 5672,\n \"Port of the AMQP broker to use\",\n ConfigurationField.Optional.OPTIONAL,\n NumberField.Attribute.IS_PORT_NUMBER\n )\n );\n\n cr.addField(\n new TextField(\n CK_VHOST,\n \"Broker virtual host\",\n \"/\",\n \"Virtual host of the AMQP broker to use\",\n ConfigurationField.Optional.NOT_OPTIONAL\n )\n );\n\n cr.addField(\n new TextField(\n CK_USERNAME,\n \"Username\",\n \"\",\n \"Username to connect to AMQP broker\",\n ConfigurationField.Optional.OPTIONAL\n )\n );\n\n cr.addField(\n new TextField(\n CK_PASSWORD,\n \"Password\",\n \"\",\n \"Password to connect to AMQP broker\",\n ConfigurationField.Optional.OPTIONAL,\n true,\n TextField.Attribute.IS_PASSWORD\n )\n );\n\n cr.addField(\n new NumberField(\n CK_PREFETCH,\n \"Prefetch count\",\n 100,\n \"For advanced usage: AMQP prefetch count. Default is 100.\",\n ConfigurationField.Optional.NOT_OPTIONAL\n )\n );\n\n cr.addField(\n new TextField(\n CK_QUEUE,\n \"Queue\",\n defaultQueueName(),\n \"Name of queue that is created. Supports placeholder %d to be substituted with the queue number (starting at 0). Example: \" + defaultQueueName() + \"-%d\",\n ConfigurationField.Optional.NOT_OPTIONAL\n )\n );\n\n cr.addField(\n new BooleanField(\n CK_QUEUE_DECLARE_PASSIVE,\n \"Passive queue declaration\",\n false,\n \"A passive declaration checks that the queue with the provided name exists, but does not create it.\"\n )\n );\n\n cr.addField(\n new TextField(\n CK_EXCHANGE,\n \"Exchange\",\n defaultExchangeName(),\n \"Name of exchange to bind to.\",\n ConfigurationField.Optional.NOT_OPTIONAL\n )\n );\n\n cr.addField(\n new BooleanField(\n CK_EXCHANGE_BIND,\n \"Bind to exchange\",\n false,\n \"Binds the queue to the configured exchange. The exchange must already exist.\"\n )\n );\n\n cr.addField(\n new TextField(\n CK_ROUTING_KEY,\n \"Routing key\",\n defaultRoutingKey(),\n \"Routing key to listen for.\",\n ConfigurationField.Optional.NOT_OPTIONAL\n )\n );\n\n cr.addField(\n new NumberField(\n CK_PARALLEL_QUEUES,\n \"Number of consumers/queues\",\n 1,\n \"Number of parallel consumers for the queue. When using placeholder %d in queue name: Number of separate queues to be created, with one consumer per queue.\",\n ConfigurationField.Optional.NOT_OPTIONAL\n )\n );\n\n cr.addField(\n new NumberField(\n CK_HEARTBEAT_TIMEOUT,\n \"Heartbeat timeout\",\n ConnectionFactory.DEFAULT_HEARTBEAT,\n \"Heartbeat interval in seconds (use 0 to disable heartbeat)\",\n ConfigurationField.Optional.OPTIONAL\n )\n );\n\n cr.addField(\n new BooleanField(\n CK_TLS,\n \"Enable TLS?\",\n false,\n \"Enable transport encryption via TLS. (requires valid TLS port setting)\"\n )\n );\n\n cr.addField(\n new BooleanField(\n CK_REQUEUE_INVALID_MESSAGES,\n \"Re-queue invalid messages?\",\n true,\n \"Invalid messages will be discarded if disabled.\"\n )\n );\n cr.addField(\n new NumberField(\n CK_CONNECTION_RECOVERY_INTERVAL,\n \"Connection recovery interval\",\n DEFAULT_CONNECTION_RECOVERY_INTERVAL_VALUE,\n \"Connection recovery interval in seconds.\",\n ConfigurationField.Optional.OPTIONAL\n )\n );\n\n return cr;\n }\n\n protected String defaultRoutingKey() {\n return \"#\";\n }\n\n protected String defaultExchangeName() {\n return \"log-messages\";\n }\n\n protected String defaultQueueName() {\n return \"log-messages\";\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/bce91d096649b23a90a4bff37d9e319fc0ef30b4.json b/web/public/bundles/graylog/code/bce91d096649b23a90a4bff37d9e319fc0ef30b4.json new file mode 100644 index 00000000..43adf265 --- /dev/null +++ b/web/public/bundles/graylog/code/bce91d096649b23a90a4bff37d9e319fc0ef30b4.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "bce91d096649b23a90a4bff37d9e319fc0ef30b4", + "language": "typescript", + "path": "graylog2-web-interface/src/views/logic/views/OnSaveNewDashboard.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport { flushSync } from 'react-dom';\n\nimport UserNotification from 'util/UserNotification';\nimport { loadDashboardWithSearch } from 'views/logic/views/Actions';\nimport type { HistoryFunction } from 'routing/useHistory';\nimport type { ViewsDispatch } from 'views/stores/useViewsDispatch';\nimport { setIsDirty, setIsNew } from 'views/logic/slices/viewSlice';\nimport type { EntitySharePayload } from 'actions/permissions/EntityShareActions';\nimport { createView } from 'views/api/views';\n\nimport type View from './View';\n\nexport default (\n view: View,\n history: HistoryFunction,\n entityShare?: EntitySharePayload,\n existingViewId?: string,\n search?: string,\n) =>\n async (dispatch: ViewsDispatch) => {\n try {\n const savedView = await createView(view, entityShare, existingViewId);\n\n flushSync(() => {\n dispatch(setIsDirty(false));\n dispatch(setIsNew(false));\n });\n\n loadDashboardWithSearch(history, savedView.id, search);\n UserNotification.success(`Saving view \"${view.title}\" was successful!`, 'Success!');\n } catch (error) {\n UserNotification.error(`Saving view failed: ${error}`, 'Error!');\n }\n };\n" +} diff --git a/web/public/bundles/graylog/code/bcf3dfae17a754d5a4c552a85720f87b6eeda2b4.json b/web/public/bundles/graylog/code/bcf3dfae17a754d5a4c552a85720f87b6eeda2b4.json new file mode 100644 index 00000000..7f1deb1e --- /dev/null +++ b/web/public/bundles/graylog/code/bcf3dfae17a754d5a4c552a85720f87b6eeda2b4.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "bcf3dfae17a754d5a4c552a85720f87b6eeda2b4", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/indexer/IndexSetMetricsResource.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.resources.system.indexer;\n\nimport io.swagger.v3.oas.annotations.Operation;\nimport io.swagger.v3.oas.annotations.Parameter;\nimport io.swagger.v3.oas.annotations.tags.Tag;\nimport jakarta.inject.Inject;\nimport jakarta.inject.Named;\nimport jakarta.ws.rs.GET;\nimport jakarta.ws.rs.Path;\nimport jakarta.ws.rs.Produces;\nimport jakarta.ws.rs.QueryParam;\nimport jakarta.ws.rs.core.Context;\nimport jakarta.ws.rs.core.MediaType;\nimport org.apache.shiro.authz.annotation.RequiresAuthentication;\nimport org.graylog.plugins.views.search.permissions.SearchUser;\nimport org.graylog2.metrics.entity.EntityMetricsResponse;\nimport org.graylog2.metrics.entity.EntityMetricsService;\nimport org.graylog2.shared.rest.resources.RestResource;\nimport org.graylog2.shared.security.RestPermissions;\n\nimport java.util.List;\nimport java.util.Set;\n\nimport static org.graylog2.metrics.entity.EntityMetricsModule.ENTITY_TYPE_INDEX_SETS;\n\n@RequiresAuthentication\n@Tag(name = \"System/IndexSets/Metrics\", description = \"Index set metrics\")\n@Path(\"/system/indices/index_sets/metrics\")\n@Produces(MediaType.APPLICATION_JSON)\npublic class IndexSetMetricsResource extends RestResource {\n\n private final EntityMetricsService metricsService;\n\n @Inject\n public IndexSetMetricsResource(@Named(ENTITY_TYPE_INDEX_SETS) EntityMetricsService metricsService) {\n this.metricsService = metricsService;\n }\n\n @GET\n @Operation(summary = \"Get metrics for multiple index sets\")\n public EntityMetricsResponse getMetrics(\n @Parameter(description = \"List of index set IDs\", required = true)\n @QueryParam(\"index_set_ids\") List indexSetIds,\n @Parameter(description = \"List of metric fields to return\", required = true)\n @QueryParam(\"fields\") List fields,\n @Context SearchUser searchUser) {\n\n indexSetIds.forEach(indexSetId -> checkPermission(RestPermissions.INDEXSETS_READ, indexSetId));\n\n return EntityMetricsResponse.fromValues(\n metricsService.getMetrics(indexSetIds, Set.copyOf(fields), searchUser));\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/bd099b4108b2ec1f1021c7fbb7181b1521e0045b.json b/web/public/bundles/graylog/code/bd099b4108b2ec1f1021c7fbb7181b1521e0045b.json new file mode 100644 index 00000000..e7b00b6e --- /dev/null +++ b/web/public/bundles/graylog/code/bd099b4108b2ec1f1021c7fbb7181b1521e0045b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "bd099b4108b2ec1f1021c7fbb7181b1521e0045b", + "language": "typescript", + "path": "graylog2-web-interface/src/components/event-definitions/event-definition-form/ShareDetails.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport { useState } from 'react';\nimport styled, { css } from 'styled-components';\nimport capitalize from 'lodash/capitalize';\n\nimport type { EntitySharePayload } from 'actions/permissions/EntityShareActions';\nimport useEntityShareState from 'hooks/useEntityShareState';\nimport { createGRN } from 'logic/permissions/GRN';\nimport type { SelectedGrantees } from 'logic/permissions/EntityShareState';\nimport { DEFAULT_PAGE_SIZES } from 'hooks/usePaginationQueryParameter';\nimport {\n GranteeInfo,\n GranteeListItemContainer,\n GranteeListItemTitle,\n StyledGranteeIcon,\n} from 'components/permissions/CommonStyledComponents';\nimport { PageSizeSelect, Pagination } from 'components/common';\nimport { Alert } from 'components/bootstrap';\n\ntype Props = {\n shareState?: EntitySharePayload;\n entityId?: string;\n};\nconst List = styled.div(\n ({ theme }) => `\n >:nth-child(even) {\n background: ${theme.colors.table.row.backgroundStriped};\n };\n\n >:nth-child(odd) {\n background: ${theme.colors.table.row.background};\n };\n`,\n);\nconst StyledPageSizeSelect = styled(PageSizeSelect)(\n ({ theme }) => css`\n label {\n font-weight: normal;\n font-size: ${theme.fonts.size.body};\n }\n `,\n);\nconst PaginationWrapper = styled.ul`\n display: flex;\n justify-content: center;\n\n .pagination {\n margin: 10px 0;\n }\n`;\n\nconst StyledPagination = styled(Pagination)`\n margin-top: 10px;\n margin-bottom: 0;\n`;\nconst StyledDiv = styled.div`\n flex: 1;\n`;\n\nconst getPaginatedGrantees = (selectedGrantees: SelectedGrantees, pageSize: number, currentPage: number) => {\n const begin = pageSize * (currentPage - 1);\n const end = begin + pageSize;\n\n return selectedGrantees.slice(begin, end);\n};\n\nconst ShareDetails = ({ shareState = null, entityId = undefined }: Props) => {\n const entityGRN = entityId ? createGRN('event_definition', entityId) : null;\n const { data: entityShareState } = useEntityShareState(entityGRN);\n\n const initialPageSize = DEFAULT_PAGE_SIZES[0];\n const [pageSize, setPageSize] = useState(initialPageSize);\n const [currentPage, setCurrentPage] = useState(1);\n\n if (!shareState) {\n return null;\n }\n\n const activeShares = entityShareState?.activeShares;\n const selectedGrantees = entityShareState?.selectedGrantees;\n\n if (!selectedGrantees) {\n return null;\n }\n\n const paginatedGrantees = getPaginatedGrantees(selectedGrantees, pageSize, currentPage);\n const totalGrantees = selectedGrantees.size;\n const totalPages = Math.ceil(totalGrantees / pageSize);\n const showPageSizeSelect = totalGrantees > initialPageSize;\n\n return (\n <>\n

Share

\n

Collaborators

\n {showPageSizeSelect && (\n setPageSize(newPageSize)} pageSize={pageSize} />\n )}\n {paginatedGrantees.size > 0 ? (\n \n {paginatedGrantees\n .map((grantee) => {\n const currentGranteeState = grantee.currentState(activeShares);\n\n return (\n \n \n \n {grantee.title}\n \n {capitalize(grantee.capabilityId)}\n \n );\n })\n .toArray()}\n \n ) : (\n This Event definition has no collaborators.\n )}\n \n \n \n \n );\n};\n\nexport default ShareDetails;\n" +} diff --git a/web/public/bundles/graylog/code/bdcf329fd7913810376ec87af2852b5af4a73d06.json b/web/public/bundles/graylog/code/bdcf329fd7913810376ec87af2852b5af4a73d06.json new file mode 100644 index 00000000..7d8ce34b --- /dev/null +++ b/web/public/bundles/graylog/code/bdcf329fd7913810376ec87af2852b5af4a73d06.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "bdcf329fd7913810376ec87af2852b5af4a73d06", + "language": "typescript", + "path": "graylog2-web-interface/src/api/system-load-balancer.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport { ClusterLoadBalancers } from '@graylog/server-api';\n\nimport UserNotification from 'util/UserNotification';\n\nexport const overrideLoadBalancerStatus = (nodeId: string, status: string): Promise =>\n ClusterLoadBalancers.override(nodeId, status).then(\n () => {\n UserNotification.success(`Load balancer status successfully changed do '${status}' in node '${nodeId}'`);\n },\n (error: unknown) => {\n UserNotification.error(\n `Changing load balancer status in '${nodeId}' failed: ${error}`,\n `Could not change load balancer status to '${status}' in node '${nodeId}'`,\n );\n },\n );\n" +} diff --git a/web/public/bundles/graylog/code/bebe9aa5aba9ab1e7929bbec0552fff73969062c.json b/web/public/bundles/graylog/code/bebe9aa5aba9ab1e7929bbec0552fff73969062c.json new file mode 100644 index 00000000..ba0d54a4 --- /dev/null +++ b/web/public/bundles/graylog/code/bebe9aa5aba9ab1e7929bbec0552fff73969062c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "bebe9aa5aba9ab1e7929bbec0552fff73969062c", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20250206105400_TokenManagementConfiguration.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.migrations;\n\nimport jakarta.inject.Inject;\nimport jakarta.inject.Named;\nimport org.graylog2.plugin.cluster.ClusterConfigService;\nimport org.graylog2.users.UserConfiguration;\n\nimport java.time.ZonedDateTime;\nimport java.util.Objects;\n\n/**\n * Updates {@link UserConfiguration} in the DB to contain relaxed defaults for restricting creation of API-tokens.\n *\n * This migration is supposed to run only for minor updates (e.g. to 6.2). For the next major update (i.e. to 7.0),\n * another migration should take over to restrict creation of API-tokens to only internal users and/or admins.\n */\npublic class V20250206105400_TokenManagementConfiguration extends Migration {\n private final ClusterConfigService configService;\n private final boolean isFreshInstallation;\n\n //No breaking changes in minor versions (i.e. access must not be limited for upgrades).\n // When it comes to upgrading to 7.0, access should be restricted.\n\n @Inject\n public V20250206105400_TokenManagementConfiguration(ClusterConfigService configService, @Named(\"isFreshInstallation\") boolean isFreshInstallation) {\n this.configService = configService;\n this.isFreshInstallation = isFreshInstallation;\n }\n\n @Override\n public ZonedDateTime createdAt() {\n return ZonedDateTime.parse(\"2025-02-06T10:54:00Z\");\n }\n\n @Override\n public void upgrade() {\n if (migrationAlreadyApplied()) {\n //Migration already ran, nothing more to do.\n return;\n }\n\n if (isFreshInstallation) {\n //For a fresh installation, there's no risk of existing API-tokens owned by external or non-admin users.\n // Thus, applying strict config:\n configService.write(UserConfiguration.DEFAULT_VALUES);\n } else {\n //No major upgrade, so the permissions are more relaxed to not introduce breaking changes:\n final UserConfiguration newDefaults = UserConfiguration.DEFAULT_VALUES_FOR_UPGRADE;\n\n UserConfiguration configToUpdate = this.configService.get(UserConfiguration.class);\n if (configToUpdate == null) {\n //No userConfig exists, let's simply save the default for the current version:\n configToUpdate = newDefaults;\n } else {\n //A UserConfig already exists, but as the two new field have just been introduced, they can't exist in the DB yet.\n // So we set the current version's default values for them to the existing config and store all of it again:\n configToUpdate = UserConfiguration.create(\n configToUpdate.enableGlobalSessionTimeout(),\n configToUpdate.globalSessionTimeoutInterval(),\n newDefaults.allowAccessTokenForExternalUsers(),\n newDefaults.restrictAccessTokenToAdmins(),\n newDefaults.defaultTTLForNewTokens());\n }\n\n configService.write(configToUpdate);\n }\n\n markMigrationApplied();\n }\n\n private boolean migrationAlreadyApplied() {\n return Objects.nonNull(configService.get(V20250206105400_TokenManagementConfiguration.MigrationCompleted.class));\n }\n\n private void markMigrationApplied() {\n this.configService.write(new V20250206105400_TokenManagementConfiguration.MigrationCompleted());\n }\n\n public record MigrationCompleted() {}\n}\n" +} diff --git a/web/public/bundles/graylog/code/c028a5d43a1e1f6b792ed8c2ba84bf814507ca28.json b/web/public/bundles/graylog/code/c028a5d43a1e1f6b792ed8c2ba84bf814507ca28.json new file mode 100644 index 00000000..d5cf80bb --- /dev/null +++ b/web/public/bundles/graylog/code/c028a5d43a1e1f6b792ed8c2ba84bf814507ca28.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c028a5d43a1e1f6b792ed8c2ba84bf814507ca28", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/inputs/paloalto/PaloAltoTCPInput.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.integrations.inputs.paloalto;\n\nimport com.codahale.metrics.MetricRegistry;\nimport com.google.inject.assistedinject.Assisted;\nimport org.graylog2.inputs.transports.SyslogTcpTransport;\nimport org.graylog2.plugin.LocalMetricRegistry;\nimport org.graylog2.plugin.ServerStatus;\nimport org.graylog2.plugin.buffers.InputBuffer;\nimport org.graylog2.plugin.configuration.Configuration;\nimport org.graylog2.plugin.inputs.MessageInput;\nimport org.graylog2.plugin.inputs.MisfireException;\nimport org.graylog2.plugin.inputs.annotations.ConfigClass;\nimport org.graylog2.plugin.inputs.annotations.FactoryClass;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport jakarta.inject.Inject;\n\nimport static org.graylog.integrations.inputs.paloalto.PaloAltoCodec.CK_SYSTEM_TEMPLATE;\nimport static org.graylog.integrations.inputs.paloalto.PaloAltoCodec.CK_THREAT_TEMPLATE;\nimport static org.graylog.integrations.inputs.paloalto.PaloAltoCodec.CK_TRAFFIC_TEMPLATE;\n\npublic class PaloAltoTCPInput extends MessageInput {\n\n public static final String NAME = \"Palo Alto Networks TCP v8.x (deprecated)\";\n\n private static final Logger LOG = LoggerFactory.getLogger(PaloAltoTCPInput.class);\n\n @Inject\n public PaloAltoTCPInput(@Assisted Configuration configuration,\n MetricRegistry metricRegistry,\n SyslogTcpTransport.Factory transport,\n LocalMetricRegistry localRegistry,\n PaloAltoCodec.Factory codec,\n Config config,\n Descriptor descriptor,\n ServerStatus serverStatus) {\n super(\n metricRegistry,\n configuration,\n transport.create(configuration),\n localRegistry,\n codec.create(configuration),\n config,\n descriptor,\n serverStatus);\n }\n\n @Override\n public void launch(InputBuffer buffer) throws MisfireException {\n\n // Parse the templates to log any errors immediately on input startup.\n PaloAltoTemplates templates = PaloAltoTemplates.newInstance(configuration.getString(CK_SYSTEM_TEMPLATE, PaloAltoTemplateDefaults.SYSTEM_TEMPLATE),\n configuration.getString(CK_THREAT_TEMPLATE, PaloAltoTemplateDefaults.THREAT_TEMPLATE),\n configuration.getString(CK_TRAFFIC_TEMPLATE, PaloAltoTemplateDefaults.TRAFFIC_TEMPLATE));\n\n if (templates.hasErrors()) {\n throw new MisfireException(templates.errorMessageSummary(\"\\n\"));\n }\n\n super.launch(buffer);\n }\n\n @FactoryClass\n public interface Factory extends MessageInput.Factory {\n @Override\n PaloAltoTCPInput create(Configuration configuration);\n\n @Override\n Config getConfig();\n\n @Override\n Descriptor getDescriptor();\n }\n\n public static class Descriptor extends MessageInput.Descriptor {\n public Descriptor() {\n super(NAME, false, \"\");\n }\n }\n\n @ConfigClass\n public static class Config extends MessageInput.Config {\n\n @Inject\n public Config(SyslogTcpTransport.Factory transport, PaloAltoCodec.Factory codec) {\n super(transport.getConfig(), codec.getConfig());\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/c02b3dcaf2b41f2ce4f718106d8544be105f7338.json b/web/public/bundles/graylog/code/c02b3dcaf2b41f2ce4f718106d8544be105f7338.json new file mode 100644 index 00000000..b7c35c56 --- /dev/null +++ b/web/public/bundles/graylog/code/c02b3dcaf2b41f2ce4f718106d8544be105f7338.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c02b3dcaf2b41f2ce4f718106d8544be105f7338", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/datastream/DataStreamServiceImpl.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.indexer.datastream;\n\nimport com.google.common.collect.ImmutableMap;\nimport jakarta.inject.Inject;\nimport org.graylog2.indexer.fieldtypes.FieldTypeDTO;\nimport org.graylog2.indexer.fieldtypes.IndexFieldTypesDTO;\nimport org.graylog2.indexer.fieldtypes.IndexFieldTypesService;\nimport org.graylog2.indexer.indexset.template.IndexSetDefaultTemplateService;\nimport org.graylog2.indexer.indices.Template;\nimport org.graylog2.plugin.streams.Stream;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\npublic class DataStreamServiceImpl implements DataStreamService {\n\n private static final Logger LOGGER = LoggerFactory.getLogger(DataStreamServiceImpl.class);\n\n private static final Map TIMESTAMP_TYPE = Map.of(\n \"type\", \"date\",\n \"format\", \"yyyy-MM-dd HH:mm:ss.SSS||strict_date_optional_time||epoch_millis\"\n );\n private final DataStreamAdapter dataStreamAdapter;\n private final IndexFieldTypesService indexFieldTypesService;\n private final int replicas;\n\n @Inject\n public DataStreamServiceImpl(DataStreamAdapter dataStreamAdapter,\n IndexFieldTypesService indexFieldTypesService,\n IndexSetDefaultTemplateService indexSetDefaultTemplateService) {\n this(dataStreamAdapter, indexFieldTypesService, indexSetDefaultTemplateService.getOrCreateDefaultConfig().replicas());\n }\n\n public DataStreamServiceImpl(DataStreamAdapter dataStreamAdapter, IndexFieldTypesService indexFieldTypesService,\n int replicas) {\n this.dataStreamAdapter = dataStreamAdapter;\n this.indexFieldTypesService = indexFieldTypesService;\n this.replicas = replicas;\n }\n\n @Override\n public void createDataStream(String dataStreamName, String timestampField, Map> mappings,\n Policy ismPolicy) {\n updateDataStreamTemplate(dataStreamName, timestampField, mappings);\n dataStreamAdapter.createDataStream(dataStreamName);\n dataStreamAdapter.applyIsmPolicy(dataStreamName, ismPolicy);\n dataStreamAdapter.setNumberOfReplicas(dataStreamName, replicas);\n }\n\n private void updateDataStreamTemplate(String dataStreamName, String timestampField, Map> mappings) {\n LOGGER.info(\"Updating datastream template, stream name: {}\", dataStreamName);\n final Map> effectiveMappings = mappings.containsKey(timestampField)\n ? mappings\n : ImmutableMap.>builder().putAll(mappings).put(timestampField, TIMESTAMP_TYPE).build();\n Template template = new Template(List.of(dataStreamName + \"*\"),\n new Template.Mappings(ImmutableMap.of(\"properties\", effectiveMappings)), 99999L, new Template.Settings(ImmutableMap.of(\"number_of_replicas\", replicas)));\n dataStreamAdapter.ensureDataStreamTemplate(dataStreamName + \"-template\", template, timestampField);\n createFieldTypes(dataStreamName, effectiveMappings);\n }\n\n private void createFieldTypes(String metricsStream, Map> mappings) {\n final Set fields = mappings.entrySet().stream()\n .map(mapping -> FieldTypeDTO.builder()\n .fieldName(mapping.getKey())\n .physicalType(mapping.getValue().get(\"type\"))\n .build())\n .collect(Collectors.toSet());\n IndexFieldTypesDTO dto = IndexFieldTypesDTO.create(Stream.DATASTREAM_PREFIX + metricsStream, metricsStream, fields);\n indexFieldTypesService.upsert(dto);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/c095d873dda4ebf3b9a57cd713dfdd93e7af3de6.json b/web/public/bundles/graylog/code/c095d873dda4ebf3b9a57cd713dfdd93e7af3de6.json new file mode 100644 index 00000000..eb508e08 --- /dev/null +++ b/web/public/bundles/graylog/code/c095d873dda4ebf3b9a57cd713dfdd93e7af3de6.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c095d873dda4ebf3b9a57cd713dfdd93e7af3de6", + "language": "typescript", + "path": "graylog2-web-interface/src/components/bootstrap/Button.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport { Button as MantineButton } from '@mantine/core';\nimport type { DefaultTheme } from 'styled-components';\nimport styled, { useTheme, css } from 'styled-components';\n\nimport type { ColorVariant } from 'theme/sawmill';\nimport Link from 'components/common/Link';\nimport type { BsSize } from 'components/bootstrap/types';\nimport sizeForMantine from 'theme/utils/sizeForMantine';\n\nexport type StyleProps = ColorVariant | 'link' | 'transparent';\n\nconst isLinkStyle = (style: StyleProps) => style === 'link';\nconst isTransparentStyle = (style: StyleProps) => style === 'transparent';\nconst mapStyle = (style: StyleProps) => (style === 'default' ? 'gray' : style);\n\nconst stylesProps = (style: StyleProps) => {\n switch (style) {\n case 'link':\n return { variant: 'subtle' };\n default:\n return {};\n }\n};\n\nconst stylesForSize = (size: BsSize, bsStyle: StyleProps) => {\n if (isLinkStyle(bsStyle)) {\n return css`\n padding: 0;\n height: auto;\n `;\n }\n\n switch (size) {\n case 'xs':\n case 'xsmall':\n return css`\n height: 21.4141px;\n padding: 1px 5px;\n `;\n case 'sm':\n case 'small':\n return css`\n height: 29.4141px;\n padding: 5px 10px;\n `;\n case 'lg':\n case 'large':\n return css`\n height: 43.1641px;\n padding: 10px 16px;\n `;\n case 'medium':\n default:\n return css`\n height: 33.84px;\n padding: 6px 12px;\n `;\n }\n};\n\nconst disabledStyles = (themeColors: DefaultTheme['colors'], style: StyleProps) => {\n const isSpecialStyle = isLinkStyle(style) || isTransparentStyle(style);\n\n const colors = isSpecialStyle\n ? { color: themeColors.text.primary, background: 'transparent' }\n : themeColors.disabled[style];\n\n return css`\n &:disabled,\n &[data-disabled] {\n pointer-events: all;\n color: ${colors.color};\n background-color: ${colors.background};\n opacity: 0.45;\n\n &:hover {\n color: ${colors.color};\n text-decoration: none;\n }\n }\n `;\n};\n\nconst activeStyles = (themeColors: DefaultTheme['colors'], bsStyle: StyleProps) => {\n switch (bsStyle) {\n case 'danger':\n case 'info':\n case 'success':\n case 'primary':\n case 'warning':\n case 'transparent':\n return css`\n color: ${themeColors.text.primary};\n\n &:hover {\n color: ${themeColors.text.primary};\n }\n\n &:focus {\n color: ${themeColors.text.primary};\n }\n `;\n default:\n return '';\n }\n};\n\n// Other link styles are defined in e.g. the size specific function\nconst linkStyles = css`\n vertical-align: baseline;\n user-select: text;\n\n &:hover {\n background: transparent;\n text-decoration: underline;\n }\n\n .mantine-Button-label {\n word-break: break-word;\n white-space: normal;\n text-align: left;\n }\n`;\n\n// Other transparent styles are defined in e.g. the size specific function\nconst transparentStyles = css`\n &:hover {\n background: transparent;\n }\n`;\n\nconst textColor = (style: StyleProps, colors: DefaultTheme['colors']) => {\n switch (style) {\n case 'link':\n return colors.global.link;\n case 'transparent':\n return colors.text.primary;\n default:\n return colors.button[style].color;\n }\n};\n\nconst StyledButton = styled(MantineButton)<{\n $bsStyle: StyleProps;\n $bsSize: BsSize;\n $active: boolean;\n $showOverflow: boolean;\n}>(({ theme, $bsStyle, $bsSize, $active, $showOverflow = false }) => {\n const isLink = isLinkStyle($bsStyle);\n const isTransparent = isTransparentStyle($bsStyle);\n const color = textColor($bsStyle, theme.colors);\n\n return css`\n color: ${color};\n font-weight: 400;\n ${$showOverflow ? 'overflow: visible;' : null}\n\n ${disabledStyles(theme.colors, $bsStyle)}\n ${stylesForSize($bsSize, $bsStyle)}\n\n &:hover {\n color: ${isLink ? theme.colors.global.linkHover : color};\n text-decoration: none;\n }\n\n &:focus {\n color: ${color};\n text-decoration: none;\n\n &:not(:focus-visible) {\n outline: none;\n }\n }\n\n ${$active && activeStyles(theme.colors, $bsStyle)}\n ${isLink && linkStyles}\n ${isTransparent && transparentStyles}\n\n .mantine-Button-label {\n gap: 0.25em;\n ${$showOverflow ? 'overflow: visible;' : null}\n }\n\n .mantine-Button-loader {\n visibility: hidden;\n }\n `;\n});\n\ntype Props = React.PropsWithChildren<{\n active?: boolean;\n allowClickWhenDisabled?: boolean;\n 'aria-label'?: string;\n 'aria-disabled'?: boolean;\n bsStyle?: StyleProps;\n bsSize?: BsSize;\n className?: string;\n 'data-testid'?: string;\n disabled?: boolean;\n form?: string;\n href?: string;\n id?: string;\n name?: string;\n onClick?: ((e: React.MouseEvent) => void) | ((e: boolean) => void) | (() => void);\n onFocus?: (e: React.FocusEvent) => void;\n onBlur?: (e: React.FocusEvent) => void;\n onMouseEnter?: (e: React.MouseEvent) => void;\n onMouseLeave?: (e: React.MouseEvent) => void;\n onMouseMove?: (e: React.MouseEvent) => void;\n onPointerDown?: (e: React.PointerEvent) => void;\n onPointerEnter?: (e: React.PointerEvent) => void;\n rel?: 'noopener noreferrer';\n role?: string;\n showOverflow?: boolean;\n style?: React.ComponentProps['style'];\n tabIndex?: number;\n target?: '_blank';\n title?: string;\n type?: 'button' | 'reset' | 'submit';\n}>;\n\nconst Button = (\n {\n 'aria-label': ariaLabel,\n 'aria-disabled': ariaDisabled = undefined,\n allowClickWhenDisabled = false,\n bsStyle = 'default',\n bsSize = undefined,\n className = undefined,\n 'data-testid': dataTestId,\n id = undefined,\n onClick = undefined,\n onFocus = undefined,\n onBlur = undefined,\n onMouseEnter = undefined,\n onMouseLeave = undefined,\n onMouseMove = undefined,\n onPointerDown = undefined,\n onPointerEnter = undefined,\n disabled = false,\n href = undefined,\n title = undefined,\n form = undefined,\n target = undefined,\n type = undefined,\n rel = undefined,\n role = undefined,\n name = undefined,\n tabIndex = undefined,\n children = undefined,\n active = undefined,\n showOverflow = false,\n }: Props,\n ref: React.ForwardedRef,\n) => {\n const theme = useTheme();\n const style = mapStyle(bsStyle);\n const color = isLinkStyle(style) || isTransparentStyle(style) ? 'transparent' : theme.colors.button[style].background;\n\n const sharedProps = {\n id,\n 'aria-label': ariaLabel,\n 'aria-disabled': ariaDisabled,\n onFocus,\n onBlur,\n onMouseEnter,\n onMouseLeave,\n onMouseMove,\n onPointerDown,\n onPointerEnter,\n className,\n ...stylesProps(style),\n $active: active,\n $bsStyle: style,\n $bsSize: bsSize,\n variant: active ? 'outline' : 'filled',\n color,\n 'data-testid': dataTestId,\n disabled: allowClickWhenDisabled ? false : disabled,\n 'data-disabled': (allowClickWhenDisabled && disabled) || undefined,\n role,\n size: sizeForMantine(bsSize),\n tabIndex,\n title,\n type,\n '$showOverflow': showOverflow,\n } as const;\n\n if (href) {\n return (\n }\n component={Link}\n to={href}\n target={target}\n rel={rel}\n onClick={onClick as (e: React.MouseEvent) => void}\n {...sharedProps}>\n {children}\n \n );\n }\n\n return (\n ) => void}\n name={name}\n {...sharedProps}>\n {children}\n \n );\n};\n\nconst ForwardedButton = React.forwardRef(Button);\nForwardedButton.displayName = 'Button';\n\nexport default ForwardedButton;\n" +} diff --git a/web/public/bundles/graylog/code/c10ac2b5768f3da77157ade733c3116ca482a277.json b/web/public/bundles/graylog/code/c10ac2b5768f3da77157ade733c3116ca482a277.json new file mode 100644 index 00000000..d11639b7 --- /dev/null +++ b/web/public/bundles/graylog/code/c10ac2b5768f3da77157ade733c3116ca482a277.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c10ac2b5768f3da77157ade733c3116ca482a277", + "language": "typescript", + "path": "graylog2-web-interface/src/views/components/fieldtypes/FieldTypeValueRenderer.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport type { PluginExports } from 'graylog-web-plugin/plugin';\n\nimport Timestamp from 'components/common/Timestamp';\nimport { getPriorityName } from 'logic/alerts/EventDefinitionPriorityEnum';\n\nimport InputField from './InputField';\nimport NodeField from './NodeField';\nimport StreamsField from './StreamsField';\nimport PercentageField from './PercentageField';\nimport EventDefinition from './EventDefinition';\n\nconst FieldTypeValueRenderer: PluginExports['fieldTypeValueRenderer'] = [\n {\n type: 'date',\n render: (value: string, field, render) => (\n \n ),\n },\n {\n type: 'boolean',\n render: (value, field, Component) => ,\n },\n { type: 'input', render: (value) => },\n { type: 'node', render: (value) => },\n {\n type: 'streams',\n render: (value: string | Array) => ,\n },\n { type: 'percentage', render: (value: number) => },\n {\n type: 'event-definition-id',\n render: (value: string) => ,\n },\n {\n type: 'priority',\n render: (value: string | number) => {getPriorityName(value)},\n },\n];\n\nexport default FieldTypeValueRenderer;\n" +} diff --git a/web/public/bundles/graylog/code/c175b18ef44e61b523d192efa4ced619ec1a1538.json b/web/public/bundles/graylog/code/c175b18ef44e61b523d192efa4ced619ec1a1538.json new file mode 100644 index 00000000..a0b8cea4 --- /dev/null +++ b/web/public/bundles/graylog/code/c175b18ef44e61b523d192efa4ced619ec1a1538.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c175b18ef44e61b523d192efa4ced619ec1a1538", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorsConfig.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.collectors;\n\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.jackson.databind.annotation.JsonDeserialize;\nimport com.github.joschi.jadconfig.util.Size;\nimport com.google.auto.value.AutoValue;\nimport com.google.common.primitives.Ints;\nimport jakarta.annotation.Nullable;\n\nimport java.time.Duration;\n\nimport static org.graylog2.shared.utilities.StringUtils.requireNonBlank;\n\n@AutoValue\n@JsonDeserialize(builder = CollectorsConfig.Builder.class)\npublic abstract class CollectorsConfig {\n public static final int DEFAULT_HTTP_PORT = 14401;\n\n public static final Duration DEFAULT_OFFLINE_THRESHOLD = Duration.ofMinutes(5);\n public static final Duration DEFAULT_VISIBILITY_THRESHOLD = Duration.ofDays(1);\n public static final Duration DEFAULT_EXPIRATION_THRESHOLD = Duration.ofDays(90);\n private static final Duration DEFAULT_COLLECTOR_CERT_LIFETIME = Duration.ofDays(365);\n private static final Duration DEFAULT_COLLECTOR_HEARTBEAT_INTERVAL = Duration.ofSeconds(30);\n private static final int DEFAULT_OPAMP_MAX_REQUEST_BODY_SIZE_BYTES = Ints.saturatedCast(Size.megabytes(10).toBytes());\n private static final Duration DEFAULT_COLLECTOR_CERT_ROTATION_GRACE_PERIOD = Duration.ofMinutes(5);\n // Collector tokens are valid for 5 minutes by default, we accept an hour of clock skew. Don't make this too small\n // without changing the collector token lifetime, too.\n private static final Duration DEFAULT_AGENT_TOKEN_MAX_LIFETIME = Duration.ofHours(1);\n\n public static final String FIELD_CA_CERT_ID = \"ca_cert_id\";\n public static final String FIELD_SIGNING_CERT_ID = \"signing_cert_id\";\n public static final String FIELD_TOKEN_SIGNING_KEY = \"token_signing_key\";\n public static final String FIELD_OTLP_SERVER_CERT_ID = \"otlp_server_cert_id\";\n public static final String FIELD_HTTP = \"http\";\n public static final String FIELD_COLLECTOR_OFFLINE_THRESHOLD = \"collector_offline_threshold\";\n public static final String FIELD_COLLECTOR_DEFAULT_VISIBILITY_THRESHOLD = \"collector_default_visibility_threshold\";\n public static final String FIELD_COLLECTOR_EXPIRATION_THRESHOLD = \"collector_expiration_threshold\";\n public static final String FIELD_COLLECTOR_CERT_LIFETIME = \"collector_cert_lifetime\";\n public static final String FIELD_COLLECTOR_HEARTBEAT_INTERVAL = \"collector_heartbeat_interval\";\n public static final String FIELD_OPAMP_MAX_REQUEST_BODY_SIZE_BYTES = \"opamp_max_request_body_size_bytes\";\n public static final String FIELD_COLLECTOR_CERT_ROTATION_GRACE_PERIOD = \"collector_cert_rotation_grace_period\";\n public static final String FIELD_AGENT_TOKEN_MAX_LIFETIME = \"agent_token_max_lifetime\";\n\n @JsonProperty(FIELD_CA_CERT_ID)\n @Nullable\n public abstract String caCertId();\n\n @JsonProperty(FIELD_SIGNING_CERT_ID)\n @Nullable\n public abstract String signingCertId();\n\n @JsonProperty(FIELD_TOKEN_SIGNING_KEY)\n @Nullable\n public abstract TokenSigningKey tokenSigningKey();\n\n @JsonProperty(FIELD_OTLP_SERVER_CERT_ID)\n @Nullable\n public abstract String otlpServerCertId();\n\n @JsonProperty(FIELD_HTTP)\n public abstract IngestEndpointConfig http();\n\n @JsonProperty(FIELD_COLLECTOR_OFFLINE_THRESHOLD)\n public abstract Duration collectorOfflineThreshold();\n\n @JsonProperty(FIELD_COLLECTOR_DEFAULT_VISIBILITY_THRESHOLD)\n public abstract Duration collectorDefaultVisibilityThreshold();\n\n @JsonProperty(FIELD_COLLECTOR_EXPIRATION_THRESHOLD)\n public abstract Duration collectorExpirationThreshold();\n\n // TODO: Make certificate lifetime configurable in the UI - https://github.com/Graylog2/graylog2-server/issues/25407\n @JsonProperty(FIELD_COLLECTOR_CERT_LIFETIME)\n public abstract Duration collectorCertLifetime();\n\n // TODO: Make heartbeat interval configurable in the UI - https://github.com/Graylog2/graylog2-server/issues/25408\n @JsonProperty(FIELD_COLLECTOR_HEARTBEAT_INTERVAL)\n public abstract Duration collectorHeartbeatInterval();\n\n @JsonProperty(FIELD_OPAMP_MAX_REQUEST_BODY_SIZE_BYTES)\n public abstract int opampMaxRequestBodySizeBytes();\n\n @JsonProperty(FIELD_COLLECTOR_CERT_ROTATION_GRACE_PERIOD)\n public abstract Duration collectorCertRotationGracePeriod();\n\n /**\n * Maximum remaining validity ({@code exp - now}) the server accepts for agent tokens. Must exceed the\n * {@code jwt_lifetime} configured on the agents (default there: 5 minutes), or they will fail to authenticate.\n */\n @JsonProperty(FIELD_AGENT_TOKEN_MAX_LIFETIME)\n public abstract Duration agentTokenMaxLifetime();\n\n public static Builder createDefaultBuilder(String hostname) {\n requireNonBlank(hostname, \"hostname can't be blank\");\n\n return CollectorsConfig.builder()\n .http(new IngestEndpointConfig(hostname, DEFAULT_HTTP_PORT));\n }\n\n public static CollectorsConfig createDefault(String hostname) {\n return createDefaultBuilder(hostname).build();\n }\n\n public abstract Builder toBuilder();\n\n public static Builder builder() {\n return Builder.create();\n }\n\n @AutoValue.Builder\n public static abstract class Builder {\n @JsonCreator\n public static Builder create() {\n return new AutoValue_CollectorsConfig.Builder()\n .collectorOfflineThreshold(DEFAULT_OFFLINE_THRESHOLD)\n .collectorDefaultVisibilityThreshold(DEFAULT_VISIBILITY_THRESHOLD)\n .collectorExpirationThreshold(DEFAULT_EXPIRATION_THRESHOLD)\n .collectorCertLifetime(DEFAULT_COLLECTOR_CERT_LIFETIME)\n .collectorHeartbeatInterval(DEFAULT_COLLECTOR_HEARTBEAT_INTERVAL)\n .opampMaxRequestBodySizeBytes(DEFAULT_OPAMP_MAX_REQUEST_BODY_SIZE_BYTES)\n .collectorCertRotationGracePeriod(DEFAULT_COLLECTOR_CERT_ROTATION_GRACE_PERIOD)\n .agentTokenMaxLifetime(DEFAULT_AGENT_TOKEN_MAX_LIFETIME);\n }\n\n @JsonProperty(FIELD_CA_CERT_ID)\n public abstract Builder caCertId(String caCertId);\n\n @JsonProperty(FIELD_SIGNING_CERT_ID)\n public abstract Builder signingCertId(String signingCertId);\n\n @JsonProperty(FIELD_TOKEN_SIGNING_KEY)\n public abstract Builder tokenSigningKey(TokenSigningKey tokenSigningKey);\n\n @JsonProperty(FIELD_OTLP_SERVER_CERT_ID)\n public abstract Builder otlpServerCertId(String otlpServerCertId);\n\n @JsonProperty(FIELD_HTTP)\n public abstract Builder http(IngestEndpointConfig http);\n\n @JsonProperty(FIELD_COLLECTOR_OFFLINE_THRESHOLD)\n public abstract Builder collectorOfflineThreshold(Duration collectorOfflineThreshold);\n\n @JsonProperty(FIELD_COLLECTOR_DEFAULT_VISIBILITY_THRESHOLD)\n public abstract Builder collectorDefaultVisibilityThreshold(Duration collectorDefaultVisibilityThreshold);\n\n @JsonProperty(FIELD_COLLECTOR_EXPIRATION_THRESHOLD)\n public abstract Builder collectorExpirationThreshold(Duration collectorExpirationThreshold);\n\n @JsonProperty(FIELD_COLLECTOR_CERT_LIFETIME)\n public abstract Builder collectorCertLifetime(Duration collectorCertLifetime);\n\n @JsonProperty(FIELD_COLLECTOR_HEARTBEAT_INTERVAL)\n public abstract Builder collectorHeartbeatInterval(Duration collectorHeartbeatInterval);\n\n @JsonProperty(FIELD_OPAMP_MAX_REQUEST_BODY_SIZE_BYTES)\n public abstract Builder opampMaxRequestBodySizeBytes(int opampMaxRequestBodySizeBytes);\n\n @JsonProperty(FIELD_COLLECTOR_CERT_ROTATION_GRACE_PERIOD)\n public abstract Builder collectorCertRotationGracePeriod(Duration collectorCertRotationGracePeriod);\n\n @JsonProperty(FIELD_AGENT_TOKEN_MAX_LIFETIME)\n public abstract Builder agentTokenMaxLifetime(Duration agentTokenMaxLifetime);\n\n public abstract CollectorsConfig build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/c1e44a6aed5738ef570d91798de469acc299486c.json b/web/public/bundles/graylog/code/c1e44a6aed5738ef570d91798de469acc299486c.json new file mode 100644 index 00000000..385e24ef --- /dev/null +++ b/web/public/bundles/graylog/code/c1e44a6aed5738ef570d91798de469acc299486c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c1e44a6aed5738ef570d91798de469acc299486c", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/system/urlallowlist/UrlAllowlistService.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.system.urlallowlist;\n\nimport com.google.common.annotations.VisibleForTesting;\nimport com.google.common.collect.ImmutableList;\nimport com.google.common.eventbus.EventBus;\nimport com.google.common.eventbus.Subscribe;\nimport com.google.common.util.concurrent.AbstractIdleService;\nimport jakarta.inject.Inject;\nimport jakarta.inject.Singleton;\nimport org.graylog2.cluster.ClusterConfigChangedEvent;\nimport org.graylog2.plugin.cluster.ClusterConfigService;\n\nimport java.util.Collections;\nimport java.util.LinkedHashMap;\nimport java.util.List;\nimport java.util.Optional;\nimport java.util.function.Function;\nimport java.util.stream.Collectors;\n\n@Singleton\npublic class UrlAllowlistService extends AbstractIdleService {\n private volatile UrlAllowlist cachedAllowlist = null;\n\n private final EventBus eventBus;\n private final ClusterConfigService clusterConfigService;\n\n @Inject\n public UrlAllowlistService(EventBus eventBus, ClusterConfigService clusterConfigService) {\n this.eventBus = eventBus;\n this.clusterConfigService = clusterConfigService;\n }\n\n /**\n * Gets the allowlist by reading from the cluster configuration.\n *\n *

There should always be an allowlist which is created by an initial migration but if there is none, we return a\n * disabled one, which will consider all URLs as allowlisted.

\n *\n *

This is because we can't easily guarantee that migrations are run before other services are started. On a\n * system that didn't have an allowlist before, we have to add the URLs configured e.g. in lookup table data adapters\n * to the allowlist by running a migration. If the services start before the migration has run, the configured URLs\n * have to pass the allowlist though, otherwise the services won't be able to run properly. Once the migration has\n * run, these URLs will have been added to allowlist and we are fine.

\n */\n public UrlAllowlist getAllowlist() {\n UrlAllowlist allowlist = cachedAllowlist;\n if (allowlist == null) {\n cachedAllowlist = allowlist = clusterConfigService.getOrDefault(UrlAllowlist.class,\n UrlAllowlist.create(Collections.emptyList(), true));\n }\n return allowlist;\n }\n\n public void saveAllowlist(UrlAllowlist allowlist) {\n clusterConfigService.write(allowlist);\n cachedAllowlist = null;\n }\n\n public boolean isAllowlisted(String url) {\n return getAllowlist().isAllowlisted(url);\n }\n\n public Optional getEntry(String id) {\n return getAllowlist().entries()\n .stream()\n .filter(entry -> entry.id()\n .equals(id))\n .findFirst();\n }\n\n public void addEntry(AllowlistEntry entry) {\n final UrlAllowlist modified = addEntry(getAllowlist(), entry);\n saveAllowlist(modified);\n }\n\n public void removeEntry(String id) {\n UrlAllowlist modified = removeEntry(getAllowlist(), id);\n saveAllowlist(modified);\n }\n\n @Subscribe\n public void handleAllowlistUpdated(ClusterConfigChangedEvent event) {\n if (UrlAllowlist.class.getCanonicalName().equals(event.type())) {\n cachedAllowlist = null;\n }\n }\n\n @Override\n protected void startUp() {\n eventBus.register(this);\n }\n\n @Override\n protected void shutDown() {\n eventBus.unregister(this);\n }\n\n @VisibleForTesting\n UrlAllowlist addEntry(UrlAllowlist allowlist, AllowlistEntry entry) {\n final LinkedHashMap entriesMap = allowlist.entries()\n .stream()\n .collect(Collectors.toMap(AllowlistEntry::id, Function.identity(),\n (a, b) -> {throw new IllegalStateException(\"Duplicate key '\" + a + \"'.\");},\n LinkedHashMap::new));\n entriesMap.put(entry.id(), entry);\n return allowlist.toBuilder()\n .entries(ImmutableList.copyOf(entriesMap.values()))\n .build();\n }\n\n @VisibleForTesting\n UrlAllowlist removeEntry(UrlAllowlist allowlist, String id) {\n List entries = allowlist.entries()\n .stream()\n .filter(entry -> !entry.id()\n .equals(id))\n .collect(Collectors.toList());\n return allowlist.toBuilder()\n .entries(entries)\n .build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/c410ef29e03ccfc08e35a4025260f8f64eaf3697.json b/web/public/bundles/graylog/code/c410ef29e03ccfc08e35a4025260f8f64eaf3697.json new file mode 100644 index 00000000..bc4c1fc3 --- /dev/null +++ b/web/public/bundles/graylog/code/c410ef29e03ccfc08e35a4025260f8f64eaf3697.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c410ef29e03ccfc08e35a4025260f8f64eaf3697", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/aws/service/KinesisService.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.integrations.aws.service;\n\nimport com.fasterxml.jackson.core.JsonProcessingException;\nimport com.fasterxml.jackson.databind.ObjectMapper;\nimport com.github.rholder.retry.RetryException;\nimport com.github.rholder.retry.Retryer;\nimport com.github.rholder.retry.RetryerBuilder;\nimport com.github.rholder.retry.StopStrategies;\nimport com.google.common.base.Preconditions;\nimport jakarta.inject.Inject;\nimport jakarta.ws.rs.BadRequestException;\nimport org.apache.commons.collections.CollectionUtils;\nimport org.graylog.integrations.aws.AWSClientBuilderUtil;\nimport org.graylog.integrations.aws.AWSLogMessage;\nimport org.graylog.integrations.aws.AWSMessageType;\nimport org.graylog.integrations.aws.cloudwatch.CloudWatchLogEvent;\nimport org.graylog.integrations.aws.cloudwatch.CloudWatchLogSubscriptionData;\nimport org.graylog.integrations.aws.cloudwatch.KinesisLogEntry;\nimport org.graylog.integrations.aws.resources.requests.AWSRequest;\nimport org.graylog.integrations.aws.resources.requests.CreateRolePermissionRequest;\nimport org.graylog.integrations.aws.resources.requests.KinesisNewStreamRequest;\nimport org.graylog.integrations.aws.resources.requests.KinesisRequest;\nimport org.graylog.integrations.aws.resources.responses.CreateRolePermissionResponse;\nimport org.graylog.integrations.aws.resources.responses.KinesisHealthCheckResponse;\nimport org.graylog.integrations.aws.resources.responses.KinesisNewStreamResponse;\nimport org.graylog.integrations.aws.resources.responses.StreamsResponse;\nimport org.graylog.integrations.aws.transports.KinesisPayloadDecoder;\nimport org.graylog2.plugin.Message;\nimport org.graylog2.plugin.Tools;\nimport org.graylog2.plugin.configuration.Configuration;\nimport org.graylog2.plugin.inputs.codecs.Codec;\nimport org.graylog2.plugin.journal.RawMessage;\nimport org.graylog2.shared.utilities.ExceptionUtils;\nimport org.joda.time.DateTime;\nimport org.joda.time.DateTimeZone;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport software.amazon.awssdk.services.iam.IamClient;\nimport software.amazon.awssdk.services.iam.IamClientBuilder;\nimport software.amazon.awssdk.services.kinesis.KinesisClient;\nimport software.amazon.awssdk.services.kinesis.KinesisClientBuilder;\nimport software.amazon.awssdk.services.kinesis.model.CreateStreamRequest;\nimport software.amazon.awssdk.services.kinesis.model.DescribeStreamRequest;\nimport software.amazon.awssdk.services.kinesis.model.DescribeStreamResponse;\nimport software.amazon.awssdk.services.kinesis.model.GetRecordsRequest;\nimport software.amazon.awssdk.services.kinesis.model.GetRecordsResponse;\nimport software.amazon.awssdk.services.kinesis.model.GetShardIteratorRequest;\nimport software.amazon.awssdk.services.kinesis.model.LimitExceededException;\nimport software.amazon.awssdk.services.kinesis.model.ListShardsRequest;\nimport software.amazon.awssdk.services.kinesis.model.ListShardsResponse;\nimport software.amazon.awssdk.services.kinesis.model.ListStreamsRequest;\nimport software.amazon.awssdk.services.kinesis.model.ListStreamsResponse;\nimport software.amazon.awssdk.services.kinesis.model.Record;\nimport software.amazon.awssdk.services.kinesis.model.Shard;\nimport software.amazon.awssdk.services.kinesis.model.ShardIteratorType;\nimport software.amazon.awssdk.services.kinesis.model.StreamDescription;\nimport software.amazon.awssdk.services.kinesis.model.StreamStatus;\n\nimport java.io.IOException;\nimport java.nio.charset.StandardCharsets;\nimport java.util.ArrayList;\nimport java.util.HashMap;\nimport java.util.List;\nimport java.util.Locale;\nimport java.util.Map;\nimport java.util.Objects;\nimport java.util.Optional;\nimport java.util.Random;\nimport java.util.concurrent.ExecutionException;\nimport java.util.zip.GZIPInputStream;\n\n/**\n * Service for all AWS Kinesis business logic and SDK usages.\n */\npublic class KinesisService {\n\n private static final Logger LOG = LoggerFactory.getLogger(KinesisService.class);\n\n private static final int EIGHT_BITS = 8;\n private static final int KINESIS_LIST_STREAMS_MAX_ATTEMPTS = 1000;\n private static final int KINESIS_LIST_STREAMS_LIMIT = 400;\n private static final int RECORDS_SAMPLE_SIZE = 10;\n private static final int SHARD_COUNT = 1;\n private static final String ROLE_NAME_FORMAT = \"graylog-cloudwatch-role-%s\";\n private static final String ROLE_POLICY_NAME_FORMAT = \"graylog-cloudwatch-role-policy-%s\";\n private static final String UNIQUE_ROLE_DATE_FORMAT = \"yyyy-MM-dd-HH-mm-ss\";\n private static final String CONTROL_MESSAGE_TOKEN = \"CWL CONTROL MESSAGE\";\n\n private final IamClientBuilder iamClientBuilder;\n private final KinesisClientBuilder kinesisClientBuilder;\n private final ObjectMapper objectMapper;\n private final Map> availableCodecs;\n private final AWSClientBuilderUtil awsClientBuilderUtil;\n\n @Inject\n public KinesisService(IamClientBuilder iamClientBuilder,\n KinesisClientBuilder kinesisClientBuilder,\n ObjectMapper objectMapper,\n Map> availableCodecs,\n AWSClientBuilderUtil awsClientBuilderUtil) {\n\n this.iamClientBuilder = iamClientBuilder;\n this.kinesisClientBuilder = kinesisClientBuilder;\n this.objectMapper = objectMapper;\n this.availableCodecs = availableCodecs;\n this.awsClientBuilderUtil = awsClientBuilderUtil;\n }\n\n /**\n * The Health Check performs the following actions:\n *

\n * 1) Get all the Kinesis streams.\n * 2) Check if the supplied stream exists.\n * 3) Retrieve one record from Kinesis stream.\n * 4) Check if the payload is compressed.\n * 5) Detect the type of log message.\n * 6) Parse the message if is of a known type.\n *\n * @param request The request, which indicates which stream region to health check\n * @return a {@code KinesisHealthCheckResponse}, which indicates the type of detected message and a sample parsed\n * message.\n */\n public KinesisHealthCheckResponse healthCheck(KinesisRequest request) throws ExecutionException, IOException {\n\n LOG.debug(\"Executing healthCheck\");\n LOG.debug(\"Requesting a list of streams to find out if the indicated stream exists.\");\n // Get all the Kinesis streams that exist for a user and region\n StreamsResponse kinesisStreamNames = getKinesisStreamNames(request);\n\n // Check if Kinesis stream exists\n final boolean streamExists = kinesisStreamNames.streams().stream()\n .anyMatch(streamName -> streamName.equals(request.streamName()));\n if (!streamExists) {\n throw new BadRequestException(String.format(Locale.ROOT, \"The requested stream [%s] was not found.\", request.streamName()));\n }\n\n LOG.debug(\"The stream [{}] exists\", request.streamName());\n\n KinesisClient kinesisClient = awsClientBuilderUtil.buildClient(kinesisClientBuilder, request);\n\n final List records = retrieveRecords(request.streamName(), kinesisClient);\n\n if (records.isEmpty()) {\n LOG.debug(\"The Kinesis stream [{}] is empty.\", request.streamName());\n return KinesisHealthCheckResponse.create(\n AWSMessageType.KINESIS_RAW,\n String.format(Locale.ROOT, \"The Kinesis stream [%s] does not contain any messages.\", request.streamName()),\n new HashMap<>()\n );\n }\n\n Record record = selectRandomRecord(records);\n final byte[] payloadBytes = record.data().asByteArray();\n final boolean compressed = isCompressed(payloadBytes);\n if (compressed) {\n return handleCompressedMessages(request, payloadBytes);\n }\n\n DateTime timestamp = new DateTime(record.approximateArrivalTimestamp().toEpochMilli(), DateTimeZone.UTC);\n return detectAndParseMessage(new String(payloadBytes, StandardCharsets.UTF_8), timestamp, request.streamName(), \"test-kinesis-input\", \"\", compressed, request);\n }\n\n public StreamsResponse getKinesisStreamNames(AWSRequest request) throws ExecutionException {\n\n LOG.debug(\"List Kinesis streams for region [{}]\", request.region());\n\n final KinesisClient kinesisClient = awsClientBuilderUtil.buildClient(kinesisClientBuilder, request);\n\n ListStreamsRequest streamsRequest = ListStreamsRequest.builder().limit(KINESIS_LIST_STREAMS_LIMIT).build();\n final ListStreamsResponse listStreamsResponse = kinesisClient.listStreams(streamsRequest);\n final List streamNames = new ArrayList<>(listStreamsResponse.streamNames());\n\n final Retryer retryer = RetryerBuilder.newBuilder()\n .retryIfResult(b -> Objects.equals(b, Boolean.TRUE))\n .retryIfExceptionOfType(LimitExceededException.class)\n .withStopStrategy(StopStrategies.stopAfterAttempt(KINESIS_LIST_STREAMS_MAX_ATTEMPTS))\n .build();\n\n if (listStreamsResponse.hasMoreStreams()) {\n try {\n retryer.call(() -> {\n LOG.debug(\"Requesting streams...\");\n final String lastStreamName = streamNames.get(streamNames.size() - 1);\n final ListStreamsRequest moreStreamsRequest = ListStreamsRequest.builder()\n .exclusiveStartStreamName(lastStreamName)\n .limit(KINESIS_LIST_STREAMS_LIMIT).build();\n final ListStreamsResponse moreSteamsResponse = kinesisClient.listStreams(moreStreamsRequest);\n streamNames.addAll(moreSteamsResponse.streamNames());\n\n // If more streams, then this will execute again.\n return moreSteamsResponse.hasMoreStreams();\n });\n } catch (RetryException e) {\n LOG.error(\"Failed to get all stream names after {} attempts. Proceeding to return currently obtained streams.\", KINESIS_LIST_STREAMS_MAX_ATTEMPTS);\n }\n }\n LOG.debug(\"Kinesis streams queried: [{}]\", streamNames);\n\n if (streamNames.isEmpty()) {\n throw new BadRequestException(String.format(Locale.ROOT, \"No Kinesis streams were found in the [%s] region.\", request.region()));\n }\n\n return StreamsResponse.create(streamNames, streamNames.size());\n }\n\n /**\n * CloudWatch Kinesis subscription payloads are always compressed. Detecting a compressed payload is currently\n * how the Health Check identifies that the payload has been sent from CloudWatch.\n *\n * @param request The Health Check request.\n * @param payloadBytes The raw compressed binary payload from Kinesis.\n * @return a {@code KinesisHealthCheckResponse}, which indicates the type of detected message and a sample parsed\n * message.\n * @see \n */\n private KinesisHealthCheckResponse handleCompressedMessages(KinesisRequest request, byte[] payloadBytes) throws IOException {\n LOG.debug(\"The supplied payload is GZip compressed. Proceeding to decompress.\");\n\n // Assume that the payload is from CloudWatch.\n final CloudWatchLogSubscriptionData data = KinesisPayloadDecoder.decompressCloudWatchMessages(payloadBytes, objectMapper);\n\n // Pick just one log entry.\n Optional logEntryOptional = data.logEvents().stream().findAny();\n\n if (logEntryOptional.isEmpty()) {\n throw new BadRequestException(\"The CloudWatch payload did not contain any messages. This should not happen. \" +\n \"See https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/SubscriptionFilters.html\");\n }\n\n CloudWatchLogEvent logEntry = logEntryOptional.get();\n DateTime timestamp = new DateTime(logEntry.timestamp(), DateTimeZone.UTC);\n return detectAndParseMessage(logEntry.message(), timestamp,\n request.streamName(), data.logGroup(), data.logStream(), true, request);\n }\n\n /**\n * Get a list of Records that exists in a Kinesis stream.\n *\n * @param kinesisStream The name of the Kinesis stream\n * @param kinesisClient The KinesClient interface\n * @return A sample size of records (between 0-5 records) in a Kinesis stream\n */\n List retrieveRecords(String kinesisStream, KinesisClient kinesisClient) {\n\n LOG.debug(\"About to retrieve logs records from Kinesis.\");\n // Create ListShard request and response and designate the Kinesis stream\n final ListShardsRequest listShardsRequest = ListShardsRequest.builder().streamName(kinesisStream).build();\n final ListShardsResponse listShardsResponse = kinesisClient.listShards(listShardsRequest);\n final List recordsList = new ArrayList<>();\n\n // Iterate through the shards that exist\n for (Shard shard : listShardsResponse.shards()) {\n final String shardId = shard.shardId();\n final GetShardIteratorRequest getShardIteratorRequest =\n GetShardIteratorRequest.builder()\n .shardId(shardId)\n .streamName(kinesisStream)\n .shardIteratorType(ShardIteratorType.TRIM_HORIZON)\n .build();\n String shardIterator = kinesisClient.getShardIterator(getShardIteratorRequest).shardIterator();\n boolean stayOnCurrentShard = true;\n LOG.debug(\"Retrieved shard id: [{}] with shard iterator: [{}]\", shardId, shardIterator);\n while (stayOnCurrentShard) {\n LOG.debug(\"Getting more records\");\n final GetRecordsRequest getRecordsRequest = GetRecordsRequest.builder().shardIterator(shardIterator).build();\n final GetRecordsResponse getRecordsResponse = kinesisClient.getRecords(getRecordsRequest);\n shardIterator = getRecordsResponse.nextShardIterator();\n\n for (Record record : getRecordsResponse.records()) {\n if (isControlMessage(record)) {\n continue;\n }\n recordsList.add(record);\n\n if (recordsList.size() == RECORDS_SAMPLE_SIZE) {\n LOG.debug(\"Returning the list of records now that sample size [{}] has been met.\", RECORDS_SAMPLE_SIZE);\n return recordsList;\n }\n }\n\n if (getRecordsResponse.millisBehindLatest() == 0) {\n LOG.debug(\"Found the end of the shard. No more records returned from the shard.\");\n stayOnCurrentShard = false;\n }\n }\n }\n LOG.debug(\"Returning the list with [{}] records.\", recordsList.size());\n return recordsList;\n }\n\n /**\n * Skip messages that contain the CloudWatch control token (CWL CONTROL MESSAGE).\n * These messages are automatically written by CloudWatch when the CloudWatch log subscription is\n * created in order to test the subscription (and can be safely ignored).\n *\n * @return true if the message contains\n */\n private boolean isControlMessage(Record record) {\n final byte[] recordData = record.data().asByteArray();\n if (isCompressed(recordData)) {\n try {\n return Tools.decompressGzip(recordData).contains(CONTROL_MESSAGE_TOKEN);\n } catch (IOException e) {\n throw new BadRequestException(\"Failed to decode message from CloudWatch and check if it's a control message.\");\n }\n }\n return false;\n }\n\n /**\n * Detect the message type.\n *\n * @param logMessage A string containing the actual log message.\n * @param timestamp The message timestamp.\n * @param kinesisStreamName The stream name.\n * @param logGroupName The CloudWatch log group name.\n * @param logStreamName The CloudWatch log stream name.\n * @param compressed Indicates if the payload is compressed and probably from CloudWatch.\n * @return A {@code KinesisHealthCheckResponse} with the fully parsed message and type.\n */\n private KinesisHealthCheckResponse detectAndParseMessage(String logMessage, DateTime timestamp, String kinesisStreamName,\n String logGroupName, String logStreamName, boolean compressed, KinesisRequest request) {\n\n LOG.debug(\"Attempting to detect the type of log message. message [{}] stream [{}] log group [{}].\",\n logMessage, kinesisStreamName, logGroupName);\n\n final AWSLogMessage awsLogMessage = new AWSLogMessage(logMessage);\n AWSMessageType awsMessageType = awsLogMessage.detectLogMessageType(compressed);\n\n LOG.debug(\"The message is type [{}]\", awsMessageType);\n\n final String responseMessage = String.format(Locale.ROOT, \"Success. The message is a %s message.\", awsMessageType.getLabel());\n\n final KinesisLogEntry logEvent = KinesisLogEntry.create(kinesisStreamName, logGroupName, logStreamName,\n timestamp, logMessage, \"\", awsMessageType.getLabel(), new ArrayList<>());\n\n final Codec.Factory codecFactory = this.availableCodecs.get(awsMessageType.getCodecName());\n if (codecFactory == null) {\n throw new BadRequestException(String.format(Locale.ROOT, \"A codec with name [%s] could not be found.\", awsMessageType.getCodecName()));\n }\n\n // TODO: Do we need to provide a valid configuration here?\n final Codec codec = codecFactory.create(Configuration.EMPTY_CONFIGURATION);\n\n final byte[] payload;\n try {\n payload = objectMapper.writeValueAsBytes(logEvent);\n } catch (JsonProcessingException e) {\n throw new BadRequestException(\"Encoding the message to bytes failed.\", e);\n }\n\n final Message fullyParsedMessage = codec.decodeSafe(new RawMessage(payload)).orElseThrow(() ->\n new BadRequestException(String.format(Locale.ROOT, \"Message decoding failed. More information might be \" +\n \"available by enabling Debug logging. message [%s]\", logMessage)));\n\n LOG.debug(\"Successfully parsed message type [{}] with codec [{}].\", awsMessageType, awsMessageType.getCodecName());\n\n return KinesisHealthCheckResponse.create(awsMessageType, responseMessage, fullyParsedMessage.getFields());\n }\n\n Record selectRandomRecord(List recordsList) {\n\n Preconditions.checkArgument(CollectionUtils.isNotEmpty(recordsList), \"Records list can not be empty.\");\n\n LOG.debug(\"Selecting a random Record from the sample list.\");\n return recordsList.get(new Random().nextInt(recordsList.size()));\n }\n\n /**\n * Checks if the supplied stream is GZip compressed.\n *\n * @param bytes a byte array.\n * @return true if the byte array is GZip compressed and false if not.\n */\n public static boolean isCompressed(byte[] bytes) {\n if ((bytes == null) || (bytes.length < 2)) {\n return false;\n } else {\n\n // If the byte array is GZipped, then the first or second byte will be the GZip magic number.\n final boolean firstByteIsMagicNumber = bytes[0] == (byte) (GZIPInputStream.GZIP_MAGIC);\n // The >> operator shifts the GZIP magic number to the second byte.\n final boolean secondByteIsMagicNumber = bytes[1] == (byte) (GZIPInputStream.GZIP_MAGIC >> EIGHT_BITS);\n return firstByteIsMagicNumber && secondByteIsMagicNumber;\n }\n }\n\n /**\n * Creates a new Kinesis stream.\n *\n * @param request request which contains region, access, secret, region, streamName and shardCount\n * @return the status response\n */\n public KinesisNewStreamResponse createNewKinesisStream(KinesisNewStreamRequest request) {\n LOG.debug(\"Creating Kinesis client with the provided credentials.\");\n final KinesisClient kinesisClient = awsClientBuilderUtil.buildClient(kinesisClientBuilder, request);\n\n LOG.debug(\"Creating new Kinesis stream request [{}].\", request.streamName());\n final CreateStreamRequest createStreamRequest = CreateStreamRequest.builder()\n .streamName(request.streamName())\n .shardCount(SHARD_COUNT)\n .build();\n LOG.debug(\"Sending request to create new Kinesis stream [{}] with [{}] shards.\",\n request.streamName(), SHARD_COUNT);\n\n StreamDescription streamDescription;\n try {\n kinesisClient.createStream(createStreamRequest);\n int seconds = 0;\n do {\n try {\n Thread.sleep(1_000);\n } catch (InterruptedException e) {\n LOG.error(\"Request interrupted while waiting for shard to become available.\");\n return null; // Give up on request.\n }\n streamDescription = kinesisClient\n .describeStream(DescribeStreamRequest.builder().streamName(request.streamName()).build())\n .streamDescription();\n if (seconds > 300) {\n final String responseMessage = String.format(Locale.ROOT, \"Fail. Stream [%s] has failed to become active \" +\n \"within 60 seconds.\", request.streamName());\n throw new BadRequestException(responseMessage);\n }\n seconds++;\n } while (streamDescription.streamStatus() != StreamStatus.ACTIVE);\n String streamArn = streamDescription.streamARN();\n final String responseMessage = String.format(Locale.ROOT, \"Success. The new stream [%s/%s] was created with [%d] shard.\",\n request.streamName(), streamArn, SHARD_COUNT);\n\n return KinesisNewStreamResponse.create(createStreamRequest.streamName(),\n streamArn,\n responseMessage);\n } catch (Exception e) {\n final String specificError = ExceptionUtils.formatMessageCause(e);\n final String responseMessage = String.format(Locale.ROOT, \"Attempt to create [%s] new Kinesis stream \" +\n \"with [%d] shards failed due to the following exception: [%s]\",\n request.streamName(), SHARD_COUNT,\n specificError);\n LOG.error(responseMessage, e);\n throw new BadRequestException(responseMessage, e);\n }\n }\n\n /**\n * Creates and sets the new role and permissions for Kinesis to talk to Cloudwatch.\n *\n * @param request The create permission request.\n * @return role Arn associated with the associated kinesis stream\n */\n public CreateRolePermissionResponse autoKinesisPermissions(CreateRolePermissionRequest request) {\n\n String roleName = String.format(Locale.ROOT, ROLE_NAME_FORMAT, DateTime.now(DateTimeZone.UTC).toString(UNIQUE_ROLE_DATE_FORMAT));\n try {\n final IamClient iamClient = awsClientBuilderUtil.buildClient(iamClientBuilder, request);\n String createRoleResponse = createRoleForKinesisAutoSetup(iamClient, request.region(), roleName);\n LOG.debug(createRoleResponse);\n setPermissionsForKinesisAutoSetupRole(iamClient, roleName, request.streamArn());\n\n final String roleArn = getRolePermissionsArn(iamClient, roleName);\n final String explanation = String.format(Locale.ROOT, \"Success! The role [%s/%s] has been created.\", roleName, roleArn);\n return CreateRolePermissionResponse.create(explanation, roleArn, roleName);\n\n } catch (Exception e) {\n final String specificError = ExceptionUtils.formatMessageCause(e);\n final String responseMessage = String.format(Locale.ROOT, \"Unable to automatically set up Kinesis role [%s] due to the \" +\n \"following error [%s]\", roleName,\n specificError);\n throw new BadRequestException(responseMessage);\n }\n }\n\n private static void setPermissionsForKinesisAutoSetupRole(IamClient iam, String roleName, String streamArn) {\n String rolePolicy =\n \"{\\n\" +\n \" \\\"Statement\\\": [\\n\" +\n \" {\\n\" +\n \" \\\"Effect\\\": \\\"Allow\\\",\\n\" +\n \" \\\"Action\\\": \\\"kinesis:PutRecord\\\",\\n\" +\n \" \\\"Resource\\\": \\\"\" + streamArn + \"\\\"\\n\" +\n \" }\\n\" +\n \" ]\\n\" +\n \"}\";\n\n final String rolePolicyName = String.format(Locale.ROOT, ROLE_POLICY_NAME_FORMAT, DateTime.now(DateTimeZone.UTC).toString(UNIQUE_ROLE_DATE_FORMAT));\n LOG.debug(\"Attaching [{}] policy to [{}] role\", rolePolicyName, roleName);\n try {\n iam.putRolePolicy(r -> r.roleName(roleName).policyName(rolePolicyName).policyDocument(rolePolicy));\n LOG.debug(\"Success! The role policy [{}] was assigned.\", rolePolicyName);\n } catch (Exception e) {\n final String specificError = ExceptionUtils.formatMessageCause(e);\n final String responseMessage = String.format(Locale.ROOT, \"Unable to create role [%s] due to the \" +\n \"following error [%s]\", roleName, specificError);\n throw new BadRequestException(responseMessage);\n }\n }\n\n private static String createRoleForKinesisAutoSetup(IamClient iam, String region, String roleName) {\n\n // Create unique role name in this format \"graylog-cloudwatch-role-2019-08-08-07-35-34\"\n LOG.debug(\"Create Kinesis Auto Setup Role [{}] to region [{}]\", roleName, region);\n String assumeRolePolicy =\n \"{\\n\" +\n \" \\\"Statement\\\": [\\n\" +\n \" {\\n\" +\n \" \\\"Effect\\\": \\\"Allow\\\",\\n\" +\n \" \\\"Principal\\\": { \\\"Service\\\": \\\"logs.\" + region + \".amazonaws.com\\\" },\\n\" +\n \" \\\"Action\\\": \\\"sts:AssumeRole\\\"\\n\" +\n \" }\\n\" +\n \" ]\\n\" +\n \"}\";\n // TODO optimize checking if the role exists first\n LOG.debug(\"Role [{}] was created.\", roleName);\n try {\n iam.createRole(r -> r.roleName(roleName).assumeRolePolicyDocument(assumeRolePolicy));\n return String.format(Locale.ROOT, \"Success! The role [%s] was created.\", roleName);\n } catch (Exception e) {\n final String specificError = ExceptionUtils.formatMessageCause(e);\n final String responseMessage = String.format(Locale.ROOT, \"The role [%s] was not created due to the \" +\n \"following reason [%s]\", roleName, specificError);\n throw new BadRequestException(responseMessage);\n }\n }\n\n private static String getRolePermissionsArn(IamClient iamClient, String roleName) {\n LOG.debug(\"Acquiring the role ARN associated to the role [{}]\", roleName);\n return iamClient.getRole(r -> r.roleName(roleName)).role().arn();\n }\n\n public String getStreamArn(KinesisRequest arnRequest) {\n try (KinesisClient kinesisClient = awsClientBuilderUtil.buildClient(kinesisClientBuilder, arnRequest)) {\n DescribeStreamRequest request = DescribeStreamRequest.builder()\n .streamName(arnRequest.streamName())\n .build();\n\n DescribeStreamResponse response = kinesisClient.describeStream(request);\n StreamDescription description = response.streamDescription();\n return description.streamARN();\n } catch (Exception e) {\n throw new IllegalArgumentException(\"Failed to get stream ARN. Please \" +\n \"ensure the IAM role includes the 'kinesis:DescribeStream' permission.\", e);\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/c43db29a392f0ea4bd00bb275679a6973720e553.json b/web/public/bundles/graylog/code/c43db29a392f0ea4bd00bb275679a6973720e553.json new file mode 100644 index 00000000..ab6db881 --- /dev/null +++ b/web/public/bundles/graylog/code/c43db29a392f0ea4bd00bb275679a6973720e553.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c43db29a392f0ea4bd00bb275679a6973720e553", + "language": "typescript", + "path": "graylog2-web-interface/src/hooks/useInputType.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport { keepPreviousData, useQuery } from '@tanstack/react-query';\n\nimport { SystemInputsTypes } from '@graylog/server-api';\n\nimport { defaultOnError } from 'util/conditional/onError';\nimport type { ConfigurationField } from 'components/configurationforms';\n\nexport type InputDescription = {\n type: string;\n name: string;\n description: string;\n is_exclusive: boolean;\n requested_configuration: {\n [key: string]: ConfigurationField;\n };\n link_to_docs: string;\n};\n\ntype Options = {\n enabled: boolean;\n};\n\nexport const fetchInputType = async (type: string): Promise =>\n (await SystemInputsTypes.info(type)) as unknown as object as InputDescription;\n\nconst useInputType = (\n type: string,\n { enabled }: Options = { enabled: true },\n): {\n data: InputDescription;\n refetch: () => void;\n isLoading: boolean;\n} => {\n const { data, refetch, isLoading } = useQuery({\n queryKey: ['inputType', type],\n queryFn: () =>\n defaultOnError(\n fetchInputType(type),\n 'Loading input type failed with status',\n 'Could not load input type',\n ),\n placeholderData: keepPreviousData,\n enabled,\n });\n\n return { data: data || undefined, refetch, isLoading };\n};\n\nexport default useInputType;\n" +} diff --git a/web/public/bundles/graylog/code/c45fd3aa483902245c289ab6fa525e250ea86d54.json b/web/public/bundles/graylog/code/c45fd3aa483902245c289ab6fa525e250ea86d54.json new file mode 100644 index 00000000..2cb2635a --- /dev/null +++ b/web/public/bundles/graylog/code/c45fd3aa483902245c289ab6fa525e250ea86d54.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c45fd3aa483902245c289ab6fa525e250ea86d54", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/security/ShiroSecurityContextFilter.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.shared.security;\n\nimport com.google.common.base.Strings;\nimport jakarta.annotation.Priority;\nimport jakarta.ws.rs.BadRequestException;\nimport jakarta.ws.rs.Priorities;\nimport jakarta.ws.rs.container.ContainerRequestContext;\nimport jakarta.ws.rs.container.ContainerRequestFilter;\nimport jakarta.ws.rs.core.Cookie;\nimport jakarta.ws.rs.core.HttpHeaders;\nimport jakarta.ws.rs.core.MultivaluedMap;\nimport jakarta.ws.rs.core.SecurityContext;\nimport org.apache.shiro.authc.AuthenticationToken;\nimport org.apache.shiro.authc.UsernamePasswordToken;\nimport org.apache.shiro.mgt.DefaultSecurityManager;\nimport org.apache.shiro.subject.Subject;\nimport org.apache.shiro.util.ThreadContext;\nimport org.glassfish.grizzly.http.server.Request;\nimport org.graylog2.rest.RestTools;\nimport org.graylog2.utilities.IpSubnet;\n\nimport jakarta.inject.Inject;\nimport jakarta.inject.Named;\nimport jakarta.inject.Provider;\n\nimport java.io.IOException;\nimport java.nio.charset.StandardCharsets;\nimport java.util.Base64;\nimport java.util.Map;\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\nimport static java.util.Objects.requireNonNull;\n\n// Give this a higher priority so it's run before the authentication filter\n@Priority(Priorities.AUTHENTICATION - 10)\npublic class ShiroSecurityContextFilter implements ContainerRequestFilter {\n public static final String SESSION_COOKIE_NAME = \"authentication\";\n\n private final DefaultSecurityManager securityManager;\n private final Provider grizzlyRequestProvider;\n private final Set trustedProxies;\n\n @Inject\n public ShiroSecurityContextFilter(DefaultSecurityManager securityManager,\n Provider grizzlyRequestProvider,\n @Named(\"trusted_proxies\") Set trustedProxies) {\n this.securityManager = requireNonNull(securityManager);\n this.grizzlyRequestProvider = grizzlyRequestProvider;\n this.trustedProxies = trustedProxies;\n }\n\n @Override\n public void filter(ContainerRequestContext requestContext) throws IOException {\n ThreadContext.unbindSubject();\n final boolean secure = requestContext.getSecurityContext().isSecure();\n final MultivaluedMap headers = requestContext.getHeaders();\n final Map cookies = requestContext.getCookies();\n final Request grizzlyRequest = grizzlyRequestProvider.get();\n\n final String host = RestTools.getRemoteAddrFromRequest(grizzlyRequest, trustedProxies);\n final String authHeader = headers.getFirst(HttpHeaders.AUTHORIZATION);\n final Set> matchedResources = requestContext.getUriInfo().getMatchedResources().stream()\n .map(Object::getClass).collect(Collectors.toSet());\n\n final SecurityContext securityContext;\n if (authHeader != null && authHeader.startsWith(\"Basic\")) {\n final String base64UserPass = authHeader.substring(authHeader.indexOf(' ') + 1);\n final String userPass = decodeBase64(base64UserPass);\n final String[] split = userPass.split(\":\", 2);\n\n if (split.length != 2) {\n throw new BadRequestException(\"Invalid credentials in Authorization header\");\n }\n\n securityContext = createSecurityContext(split[0],\n split[1],\n secure,\n SecurityContext.BASIC_AUTH,\n host,\n grizzlyRequest.getRemoteAddr(),\n headers,\n cookies,\n matchedResources);\n\n } else {\n securityContext = createSecurityContext(null, null, secure, null, host,\n grizzlyRequest.getRemoteAddr(),\n headers,\n cookies,\n matchedResources);\n }\n\n requestContext.setSecurityContext(securityContext);\n }\n\n private String decodeBase64(String s) {\n try {\n return new String(Base64.getDecoder().decode(s), StandardCharsets.US_ASCII);\n } catch (IllegalArgumentException e) {\n return \"\";\n }\n }\n\n private SecurityContext createSecurityContext(String userName,\n String credential,\n boolean isSecure,\n String authcScheme,\n String host,\n String remoteAddr,\n MultivaluedMap headers,\n Map cookies,\n Set> matchedResources) {\n final AuthenticationToken authToken = createAuthenticationToken(userName, credential, host, remoteAddr, cookies,\n matchedResources);\n\n final Subject subject = new Subject.Builder(securityManager)\n .host(host)\n .sessionCreationEnabled(true)\n .buildSubject();\n\n return new ShiroSecurityContext(subject, authToken, isSecure, authcScheme, headers);\n }\n\n private AuthenticationToken createAuthenticationToken(String userName, String credential, String host,\n String remoteAddr, Map cookies,\n Set> matchedResources) {\n if (\"session\".equalsIgnoreCase(credential)) {\n return new SessionIdToken(userName, host, remoteAddr);\n }\n if (\"token\".equalsIgnoreCase(credential)) {\n return new AccessTokenAuthToken(userName, host);\n }\n if (cookies.containsKey(SESSION_COOKIE_NAME)) {\n final Cookie authenticationCookie = cookies.get(SESSION_COOKIE_NAME);\n return new SessionIdToken(authenticationCookie.getValue(), host, remoteAddr);\n }\n if (!Strings.isNullOrEmpty(userName) && !Strings.isNullOrEmpty(credential)) {\n return new UsernamePasswordToken(userName, credential, host);\n }\n\n return new PossibleTrustedHeaderToken(host, remoteAddr, matchedResources);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/c7c4a469624acae4edc9c122d9c8d249c1ea9323.json b/web/public/bundles/graylog/code/c7c4a469624acae4edc9c122d9c8d249c1ea9323.json new file mode 100644 index 00000000..79af43c5 --- /dev/null +++ b/web/public/bundles/graylog/code/c7c4a469624acae4edc9c122d9c8d249c1ea9323.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c7c4a469624acae4edc9c122d9c8d249c1ea9323", + "language": "typescript", + "path": "graylog2-web-interface/src/pages/EditContentPackPage.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport { useEffect, useMemo, useState } from 'react';\nimport cloneDeep from 'lodash/cloneDeep';\nimport groupBy from 'lodash/groupBy';\n\nimport { SystemCatalog } from '@graylog/server-api';\n\nimport { LinkContainer, DocumentTitle, PageHeader } from 'components/common';\nimport Routes from 'routing/Routes';\nimport { Button } from 'components/bootstrap';\nimport UserNotification from 'util/UserNotification';\nimport ValueReferenceData from 'util/ValueReferenceData';\nimport ContentPackEdit from 'components/content-packs/ContentPackEdit';\nimport Entity from 'logic/content-packs/Entity';\nimport EntityIndex from 'logic/content-packs/EntityIndex';\nimport { createContentPack } from 'hooks/useContentPackMutations';\nimport useParams from 'routing/useParams';\nimport useHistory from 'routing/useHistory';\nimport useProductName from 'brand-customization/useProductName';\nimport useContentPackRevisions from 'components/content-packs/hooks/useContentPackRevisions';\nimport MarketplaceLink from 'components/support/MarketplaceLink';\nimport useEntityIndex from 'components/content-packs/hooks/useEntityIndex';\nimport useContentPackInstallations from 'components/content-packs/hooks/useContentPackInstallations';\nimport { pairEntities } from 'logic/content-packs/pairEntities';\n\nconst EditContentPackPage = () => {\n const productName = useProductName();\n const { entityIndex } = useEntityIndex();\n const { contentPackId, contentPackRev } = useParams<{ contentPackId: string; contentPackRev: string }>();\n const history = useHistory();\n const [selectedEntities, setSelectedEntities] = useState({});\n const [appliedParameter, setAppliedParameter] = useState({});\n const [contentPack, setContentPack] = useState(undefined);\n const [contentPackEntities, setContentPackEntities] = useState(undefined);\n const [fetchedEntities, setFetchedEntities] = useState(undefined);\n const { data: revisionData } = useContentPackRevisions(contentPackId);\n const { data: installationsData } = useContentPackInstallations(contentPackId);\n const entityPairs =\n contentPackEntities && entityIndex\n ? pairEntities(\n contentPackEntities,\n entityIndex,\n installationsData?.installations ?? [],\n parseInt(contentPackRev, 10),\n )\n : [];\n\n useEffect(() => {\n if (!revisionData) return;\n\n const { contentPackRevisions } = revisionData;\n const newContentPack = contentPackRevisions.createNewVersionFromRev(contentPackRev);\n\n // eslint-disable-next-line react-hooks/set-state-in-effect\n setContentPack(newContentPack);\n setContentPackEntities(cloneDeep(newContentPack.entities));\n }, [revisionData, contentPackRev]);\n\n const entityCatalog = useMemo(() => {\n if (!contentPackEntities || !entityIndex) {\n return {};\n }\n\n const groupedContentPackEntities = groupBy(contentPackEntities, 'type.name');\n\n return Object.fromEntries(\n Object.keys(entityIndex).map((entityType) => [\n entityType,\n entityIndex[entityType].concat(groupedContentPackEntities[entityType] || []),\n ]),\n );\n }, [entityIndex, contentPackEntities]);\n\n /*\n * Keyed on the revision's entities rather than `contentPack`, which changes on every field edit and would\n * otherwise reset the user's selection.\n */\n useEffect(() => {\n if (!contentPackEntities || !entityIndex) {\n return;\n }\n\n const newSelectedEntities = contentPackEntities.reduce((result, entity) => {\n if (\n entityCatalog[entity.type.name] &&\n entityCatalog[entity.type.name].findIndex((fetchedEntity) => fetchedEntity.id === entity.id) >= 0\n ) {\n const newResult = result;\n\n newResult[entity.type.name] = result[entity.type.name] || [];\n newResult[entity.type.name].push(entity);\n\n return newResult;\n }\n\n return result;\n }, {});\n\n // eslint-disable-next-line react-hooks/set-state-in-effect\n setSelectedEntities(newSelectedEntities);\n }, [contentPackEntities, entityCatalog, entityIndex]);\n\n useEffect(() => {\n if (!contentPackEntities) {\n return;\n }\n\n const newAppliedParameter = contentPackEntities.reduce((result, entity) => {\n const entityData = new ValueReferenceData(entity.data);\n const configPaths = entityData.getPaths();\n\n const paramMap = Object.keys(configPaths)\n .filter((path) => configPaths[path].isValueParameter())\n .map((path) => ({ configKey: path, paramName: configPaths[path].getValue(), readOnly: true }));\n const newResult = result;\n\n if (paramMap.length > 0) {\n newResult[entity.id] = paramMap;\n }\n\n return newResult;\n }, {});\n\n // eslint-disable-next-line react-hooks/set-state-in-effect\n setAppliedParameter(newAppliedParameter);\n }, [contentPackEntities]);\n\n const _onStateChanged = (newState) => {\n setContentPack(newState.contentPack || contentPack);\n setSelectedEntities(newState.selectedEntities || selectedEntities);\n setAppliedParameter(newState.appliedParameter || appliedParameter);\n };\n\n const _onSave = () => {\n createContentPack(contentPack.toJSON()).then(\n () => {\n UserNotification.success('Content pack imported successfully', 'Success!');\n history.push(Routes.SYSTEM.CONTENTPACKS.LIST);\n },\n (response) => {\n const message =\n 'Error importing content pack, please ensure it is a valid JSON file. Check your ' +\n `${productName} server logs for more information.`;\n const title = 'Could not import content pack';\n let smallMessage = '';\n\n if (response.additional && response.additional.body && response.additional.body.message) {\n smallMessage = `
${response.additional.body.message}`;\n }\n\n UserNotification.error(message + smallMessage, title);\n },\n );\n };\n\n const _getEntities = (newSelectedEntities) => {\n const payload = Object.keys(newSelectedEntities)\n .reduce((acc, entityType) => acc.concat(newSelectedEntities[entityType]), [])\n .filter((e) => e instanceof EntityIndex)\n .map((entity) => entity.toJSON());\n\n SystemCatalog.resolveEntities({ entities: payload as any }).then((result: any) => {\n const selectedContentPackEntities = Object.keys(newSelectedEntities)\n .reduce((acc, entityType) => acc.concat(newSelectedEntities[entityType]), [])\n .filter((e) => e instanceof Entity);\n /* Mark entities from server */\n const entities = selectedContentPackEntities.concat(result.entities.map((e) => Entity.fromJSON(e, true)));\n const builtContentPack = contentPack.toBuilder().entities(entities).build();\n\n setContentPack(builtContentPack);\n setFetchedEntities(builtContentPack.entities);\n });\n };\n\n return (\n \n \n \n \n \n }>\n \n Content packs accelerate the set up process for a specific data source. A content pack can include\n inputs/extractors, streams, and dashboards.\n
\n \n
\n \n \n
\n
\n );\n};\n\nexport default EditContentPackPage;\n" +} diff --git a/web/public/bundles/graylog/code/c84316dfedc7146695390ffe1d65eb969543c31b.json b/web/public/bundles/graylog/code/c84316dfedc7146695390ffe1d65eb969543c31b.json new file mode 100644 index 00000000..6c8bec78 --- /dev/null +++ b/web/public/bundles/graylog/code/c84316dfedc7146695390ffe1d65eb969543c31b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c84316dfedc7146695390ffe1d65eb969543c31b", + "language": "typescript", + "path": "graylog2-web-interface/src/views/components/common/MessagePermalinkButton.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\n\nimport { Button } from 'components/bootstrap';\nimport Routes from 'routing/Routes';\n\ntype Props = {\n messageIndex: string | undefined;\n messageId: string;\n};\n\nconst MessagePermalinkButton = ({ messageIndex, messageId }: Props) => {\n const messageUrl = messageIndex ? Routes.message_show(messageIndex, messageId) : '#';\n\n return (\n \n );\n};\n\nexport default MessagePermalinkButton;\n" +} diff --git a/web/public/bundles/graylog/code/c84a685952b0957f1d0f34a4ec91fe5749ffed15.json b/web/public/bundles/graylog/code/c84a685952b0957f1d0f34a4ec91fe5749ffed15.json new file mode 100644 index 00000000..98067155 --- /dev/null +++ b/web/public/bundles/graylog/code/c84a685952b0957f1d0f34a4ec91fe5749ffed15.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c84a685952b0957f1d0f34a4ec91fe5749ffed15", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/HelloWorldResource.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.resources;\n\nimport com.codahale.metrics.annotation.Timed;\nimport io.swagger.v3.oas.annotations.Operation;\nimport io.swagger.v3.oas.annotations.tags.Tag;\nimport org.graylog2.plugin.Version;\nimport org.graylog2.plugin.cluster.ClusterConfigService;\nimport org.graylog2.plugin.cluster.ClusterId;\nimport org.graylog2.plugin.system.NodeId;\nimport org.graylog2.rest.models.HelloWorldResponse;\nimport org.graylog2.shared.rest.resources.RestResource;\n\nimport jakarta.inject.Inject;\n\nimport jakarta.ws.rs.GET;\nimport jakarta.ws.rs.Path;\nimport jakarta.ws.rs.Produces;\nimport jakarta.ws.rs.core.MediaType;\n\nimport static java.util.Objects.requireNonNull;\n\n@Tag(name = \"Hello World\", description = \"A friendly hello world message\")\n@Path(\"/\")\npublic class HelloWorldResource extends RestResource {\n private final NodeId nodeId;\n private final ClusterConfigService clusterConfigService;\n\n @Inject\n public HelloWorldResource(NodeId nodeId,\n ClusterConfigService clusterConfigService) {\n this.nodeId = requireNonNull(nodeId);\n this.clusterConfigService = requireNonNull(clusterConfigService);\n }\n\n @GET\n @Timed\n @Operation(summary = \"A few details about the Graylog node.\")\n @Produces(MediaType.APPLICATION_JSON)\n public HelloWorldResponse helloWorld() {\n final ClusterId clusterId = clusterConfigService.getOrDefault(ClusterId.class, ClusterId.create(\"UNKNOWN\"));\n return HelloWorldResponse.create(\n clusterId.clusterId(),\n nodeId.getNodeId(),\n Version.CURRENT_CLASSPATH.toString(),\n \"Manage your logs in the dark and have lasers going and make it look like you're from space!\"\n );\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/c873630a1dc6ca69ae07adf95ef97ff2bed14771.json b/web/public/bundles/graylog/code/c873630a1dc6ca69ae07adf95ef97ff2bed14771.json new file mode 100644 index 00000000..bb131e76 --- /dev/null +++ b/web/public/bundles/graylog/code/c873630a1dc6ca69ae07adf95ef97ff2bed14771.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c873630a1dc6ca69ae07adf95ef97ff2bed14771", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/SessionsResource.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.resources.system;\n\nimport com.fasterxml.jackson.databind.JsonNode;\nimport io.swagger.v3.oas.annotations.Operation;\nimport io.swagger.v3.oas.annotations.Parameter;\nimport io.swagger.v3.oas.annotations.media.Content;\nimport io.swagger.v3.oas.annotations.media.Schema;\nimport io.swagger.v3.oas.annotations.responses.ApiResponse;\nimport io.swagger.v3.oas.annotations.responses.ApiResponses;\nimport io.swagger.v3.oas.annotations.tags.Tag;\nimport jakarta.inject.Inject;\nimport jakarta.inject.Named;\nimport jakarta.validation.constraints.NotNull;\nimport jakarta.ws.rs.BadRequestException;\nimport jakarta.ws.rs.Consumes;\nimport jakarta.ws.rs.DELETE;\nimport jakarta.ws.rs.GET;\nimport jakarta.ws.rs.NotAuthorizedException;\nimport jakarta.ws.rs.POST;\nimport jakarta.ws.rs.Path;\nimport jakarta.ws.rs.PathParam;\nimport jakarta.ws.rs.Produces;\nimport jakarta.ws.rs.ServiceUnavailableException;\nimport jakarta.ws.rs.container.ContainerRequestContext;\nimport jakarta.ws.rs.core.Context;\nimport jakarta.ws.rs.core.MediaType;\nimport jakarta.ws.rs.core.Response;\nimport jakarta.inject.Inject;\nimport jakarta.inject.Named;\nimport jakarta.validation.constraints.NotNull;\nimport jakarta.ws.rs.BadRequestException;\nimport jakarta.ws.rs.Consumes;\nimport jakarta.ws.rs.DELETE;\nimport jakarta.ws.rs.GET;\nimport jakarta.ws.rs.NotAuthorizedException;\nimport jakarta.ws.rs.POST;\nimport jakarta.ws.rs.Path;\nimport jakarta.ws.rs.PathParam;\nimport jakarta.ws.rs.Produces;\nimport jakarta.ws.rs.ServiceUnavailableException;\nimport jakarta.ws.rs.container.ContainerRequestContext;\nimport jakarta.ws.rs.core.Context;\nimport jakarta.ws.rs.core.MediaType;\nimport jakarta.ws.rs.core.Response;\nimport org.apache.shiro.authc.LockedAccountException;\nimport org.apache.shiro.authz.annotation.RequiresAuthentication;\nimport org.apache.shiro.mgt.DefaultSecurityManager;\nimport org.apache.shiro.session.Session;\nimport org.apache.shiro.subject.Subject;\nimport org.glassfish.grizzly.http.server.Request;\nimport org.graylog2.audit.AuditEventTypes;\nimport org.graylog2.audit.jersey.AuditEvent;\nimport org.graylog2.audit.jersey.NoAuditEvent;\nimport org.graylog2.plugin.database.users.User;\nimport org.graylog2.rest.RestTools;\nimport org.graylog2.rest.models.system.sessions.responses.SessionResponse;\nimport org.graylog2.rest.models.system.sessions.responses.SessionResponseFactory;\nimport org.graylog2.rest.models.system.sessions.responses.SessionValidationResponse;\nimport org.graylog2.shared.rest.PublicCloudAPI;\nimport org.graylog2.shared.rest.resources.RestResource;\nimport org.graylog2.shared.security.ActorAwareAuthenticationToken;\nimport org.graylog2.shared.security.ActorAwareAuthenticationTokenFactory;\nimport org.graylog2.shared.security.AuthenticationServiceUnavailableException;\nimport org.graylog2.shared.security.SessionCreator;\nimport org.graylog2.shared.security.ShiroAuthenticationFilter;\nimport org.graylog2.shared.security.ShiroSecurityContext;\nimport org.graylog2.shared.users.UserService;\nimport org.graylog2.utilities.IpSubnet;\n\nimport java.io.IOException;\nimport java.util.Optional;\nimport java.util.Set;\n\n@Path(\"/system/sessions\")\n@PublicCloudAPI\n@Tag(name = \"System/Sessions\")\n@Consumes(MediaType.APPLICATION_JSON)\n@Produces(MediaType.APPLICATION_JSON)\npublic class SessionsResource extends RestResource {\n private final DefaultSecurityManager securityManager;\n private final ShiroAuthenticationFilter authenticationFilter;\n private final Set trustedSubnets;\n private final Request grizzlyRequest;\n private final SessionCreator sessionCreator;\n private final ActorAwareAuthenticationTokenFactory tokenFactory;\n private final CookieFactory cookieFactory;\n\n private static final String USERNAME = \"username\";\n\n @Inject\n public SessionsResource(UserService userService,\n DefaultSecurityManager securityManager,\n ShiroAuthenticationFilter authenticationFilter,\n @Named(\"trusted_proxies\") Set trustedSubnets,\n @Context Request grizzlyRequest,\n SessionCreator sessionCreator,\n ActorAwareAuthenticationTokenFactory tokenFactory,\n CookieFactory cookieFactory) {\n this.cookieFactory = cookieFactory;\n this.userService = userService;\n this.securityManager = securityManager;\n this.authenticationFilter = authenticationFilter;\n this.trustedSubnets = trustedSubnets;\n this.grizzlyRequest = grizzlyRequest;\n this.sessionCreator = sessionCreator;\n this.tokenFactory = tokenFactory;\n }\n\n @POST\n @Operation(summary = \"Create a new session\",\n description = \"This request creates a new session for a user or reactivates an existing session: the equivalent of logging in.\")\n @ApiResponses({\n @ApiResponse(responseCode = \"200\", description = \"Session created successfully\",\n content = @Content(schema = @Schema(implementation = SessionResponse.class)))\n })\n @NoAuditEvent(\"dispatches audit events in the method body\")\n public Response newSession(@Context ContainerRequestContext requestContext,\n @Parameter(name = \"Login request\", description = \"Credentials. The default \" +\n \"implementation requires presence of two properties: 'username' and \" +\n \"'password'. However a plugin may customize which kind of credentials \" +\n \"are accepted and therefore expect different properties.\",\n required = true)\n @NotNull JsonNode createRequest) {\n\n rejectServiceAccount(createRequest);\n\n final ActorAwareAuthenticationToken authToken;\n try {\n authToken = tokenFactory.forRequestBody(createRequest);\n } catch (IllegalArgumentException e) {\n throw new BadRequestException(e.getMessage());\n }\n\n final String host = RestTools.getRemoteAddrFromRequest(grizzlyRequest, trustedSubnets);\n\n try {\n // Always create a brand-new session for an authentication attempt by ignoring any previous session ID.\n // This avoids a potential session fixation attack. (GHSA-3xf8-g8gr-g7rh)\n final Optional session = sessionCreator.login(host, authToken);\n if (session.isPresent()) {\n final SessionResponse response = SessionResponseFactory.forSession(session.get());\n return Response.ok()\n .entity(response)\n .cookie(cookieFactory.createAuthenticationCookie(session.get(), requestContext))\n .build();\n } else {\n throw new NotAuthorizedException(\"Invalid credentials.\", \"Basic realm=\\\"Graylog Server session\\\"\");\n }\n } catch (AuthenticationServiceUnavailableException e) {\n throw new ServiceUnavailableException(\"Authentication service unavailable\");\n }\n }\n\n private void rejectServiceAccount(JsonNode createRequest) {\n if (createRequest.has(USERNAME)) {\n final User user = userService.load(createRequest.get(USERNAME).asText());\n if ((user != null) && user.isServiceAccount()) {\n throw new BadRequestException(\"Cannot login with service account \" + user.getName());\n }\n }\n }\n\n @GET\n @Operation(summary = \"Validate an existing session\",\n description = \"Checks the session with the given ID: returns http status 204 (No Content) if session is valid.\")\n @ApiResponses({\n @ApiResponse(responseCode = \"200\", description = \"Session validation result\",\n content = @Content(schema = @Schema(implementation = SessionValidationResponse.class)))\n })\n public Response validateSession(@Context ContainerRequestContext requestContext) {\n try {\n this.authenticationFilter.filter(requestContext);\n } catch (NotAuthorizedException | LockedAccountException | IOException e) {\n return Response.ok(SessionValidationResponse.invalid())\n .cookie(cookieFactory.deleteAuthenticationCookie(requestContext))\n .build();\n }\n final Subject subject = getSubject();\n if (!subject.isAuthenticated()) {\n return Response.ok(SessionValidationResponse.invalid())\n .cookie(cookieFactory.deleteAuthenticationCookie(requestContext))\n .build();\n }\n\n final Optional optionalSession = Optional.ofNullable(retrieveOrCreateSession(subject));\n\n final User user = getCurrentUser();\n return optionalSession.map(session -> Response.ok(\n SessionValidationResponse.validWithNewSession(\n String.valueOf(session.getId()),\n String.valueOf(user.getName())\n ))\n .cookie(cookieFactory.createAuthenticationCookie(session, requestContext))\n .build()).orElseGet(() -> Response.ok(SessionValidationResponse.authenticatedWithNoSession(user.getName()))\n .cookie(cookieFactory.deleteAuthenticationCookie(requestContext))\n .build());\n }\n\n private Session retrieveOrCreateSession(Subject subject) {\n final Session potentialSession = subject.getSession(false);\n if (needToCreateNewSession(potentialSession)) {\n // There's no valid session, but the authenticator would like us to create one.\n // This is the \"Trusted Header Authentication\" scenario, where the browser performs this request to check if a\n // session exists, with a trusted header identifying the user. The authentication filter will authenticate the\n // user based on the trusted header and request a session to be created transparently. The UI will take the\n // session information from the response to perform subsequent requests to the backend using this session.\n return sessionCreator.createForSubject(subject);\n }\n\n return potentialSession;\n }\n\n private boolean needToCreateNewSession(Session potentialSession) {\n return potentialSession == null && ShiroSecurityContext.isSessionCreationRequested();\n }\n\n @DELETE\n @Operation(summary = \"Terminate an existing session\", description = \"Destroys the session with the given ID: the equivalent of logging out.\")\n @Path(\"/{sessionId}\")\n @RequiresAuthentication\n @Deprecated\n @AuditEvent(type = AuditEventTypes.SESSION_DELETE)\n public Response terminateSessionWithId(@Parameter(name = \"sessionId\", required = true) @PathParam(\"sessionId\") String sessionId,\n @Context ContainerRequestContext requestContext) {\n final Subject subject = getSubject();\n securityManager.logout(subject);\n\n return Response.ok()\n .cookie(cookieFactory.deleteAuthenticationCookie(requestContext))\n .build();\n }\n\n @DELETE\n @Operation(summary = \"Terminate an existing session\", description = \"Destroys the session with the given ID: the equivalent of logging out.\")\n @RequiresAuthentication\n @AuditEvent(type = AuditEventTypes.SESSION_DELETE)\n public Response terminateSession(@Context ContainerRequestContext requestContext) {\n final Subject subject = getSubject();\n securityManager.logout(subject);\n\n return Response.ok()\n .cookie(cookieFactory.deleteAuthenticationCookie(requestContext))\n .build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/c8cd8d1fc6d0dbe11adb6b4db7c8e4a0cd318c64.json b/web/public/bundles/graylog/code/c8cd8d1fc6d0dbe11adb6b4db7c8e4a0cd318c64.json new file mode 100644 index 00000000..d3c3a7ab --- /dev/null +++ b/web/public/bundles/graylog/code/c8cd8d1fc6d0dbe11adb6b4db7c8e4a0cd318c64.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c8cd8d1fc6d0dbe11adb6b4db7c8e4a0cd318c64", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/database/filtering/DbSortResolver.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.database.filtering;\n\nimport org.bson.conversions.Bson;\nimport org.graylog2.rest.models.SortOrder;\nimport org.graylog2.rest.resources.entities.EntityAttribute;\n\nimport java.util.List;\n\n/**\n * Resolves a sort field name and order into the correct MongoDB sort BSON,\n * handling attributes that require aggregation pipeline stages for sorting.\n *

\n * This is the sorting counterpart to {@link DbQueryCreator} for filtering.\n *\n * @see org.graylog2.rest.resources.entities.AttributeSortSpec\n * @see org.graylog2.search.AttributeFieldSorts\n */\npublic final class DbSortResolver {\n\n private DbSortResolver() {}\n\n /**\n * Resolves how to sort on the given field, consulting the entity attribute definitions\n * for any custom sort specifications.\n *\n * @param attributes the entity attribute definitions\n * @param sortField the sort field name from the REST API (attribute id)\n * @param order the sort direction\n * @return a resolved sort containing the BSON sort and any required pipeline stages\n */\n public static ResolvedSort resolve(List attributes,\n String sortField,\n SortOrder order) {\n final var attr = attributes.stream()\n .filter(a -> a.id().equals(sortField))\n .findFirst();\n\n if (attr.isPresent() && attr.get().sortSpec() != null) {\n final var spec = attr.get().sortSpec();\n return new ResolvedSort(\n spec.preSortStages(),\n order.toBsonSort(spec.sortField()),\n spec.postSortStages());\n }\n\n // No sort spec — use dbField if present, otherwise fall back to the field name as-is.\n final var dbField = attr\n .map(a -> a.dbField() != null ? a.dbField() : a.id())\n .orElse(sortField);\n return new ResolvedSort(List.of(), order.toBsonSort(dbField), List.of());\n }\n\n /**\n * The result of resolving a sort field. Contains the BSON sort expression and any\n * aggregation pipeline stages needed to make the sort work.\n *\n * @param preSortStages pipeline stages to add before {@code $sort} (empty if not needed)\n * @param sort the BSON sort expression\n * @param postSortStages pipeline stages to add after {@code $sort} (empty if not needed)\n */\n public record ResolvedSort(List preSortStages, Bson sort, List postSortStages) {\n /**\n * Returns {@code true} if this sort requires aggregation pipeline stages,\n * meaning a simple {@code find().sort()} is not sufficient.\n */\n public boolean needsPipeline() {\n return !preSortStages.isEmpty() || !postSortStages.isEmpty();\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/c918706a34625a980e61f7af0ac82282245a37e8.json b/web/public/bundles/graylog/code/c918706a34625a980e61f7af0ac82282245a37e8.json new file mode 100644 index 00000000..abdfd9e2 --- /dev/null +++ b/web/public/bundles/graylog/code/c918706a34625a980e61f7af0ac82282245a37e8.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c918706a34625a980e61f7af0ac82282245a37e8", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CertutilHttp.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.security.certutil;\n\nimport com.github.rvesse.airline.annotations.Command;\nimport com.github.rvesse.airline.annotations.Option;\nimport org.apache.commons.lang3.RandomStringUtils;\nimport org.apache.commons.lang3.StringUtils;\nimport org.bouncycastle.openssl.jcajce.JcaPEMWriter;\nimport org.bouncycastle.operator.ContentSigner;\nimport org.bouncycastle.operator.jcajce.JcaContentSignerBuilder;\nimport org.bouncycastle.pkcs.PKCS10CertificationRequest;\nimport org.bouncycastle.pkcs.PKCS10CertificationRequestBuilder;\nimport org.bouncycastle.pkcs.jcajce.JcaPKCS10CertificationRequestBuilder;\nimport org.graylog.security.certutil.console.CommandLineConsole;\nimport org.graylog.security.certutil.console.SystemConsole;\nimport org.graylog2.bootstrap.CliCommand;\nimport org.graylog2.plugin.Tools;\nimport org.graylog2.shared.SuppressForbidden;\n\nimport javax.security.auth.x500.X500Principal;\nimport java.io.FileInputStream;\nimport java.io.FileOutputStream;\nimport java.io.FileWriter;\nimport java.io.IOException;\nimport java.net.InetAddress;\nimport java.nio.charset.StandardCharsets;\nimport java.nio.file.Path;\nimport java.security.KeyStore;\nimport java.security.PrivateKey;\nimport java.security.cert.X509Certificate;\nimport java.time.Duration;\nimport java.util.Arrays;\nimport java.util.Locale;\n\nimport static org.graylog.security.certutil.CertConstants.CA_KEY_ALIAS;\nimport static org.graylog.security.certutil.CertConstants.SIGNING_ALGORITHM;\n\n@Command(name = \"http\", description = \"Manage certificates for data-node\", groupNames = {\"certutil\"})\npublic class CertutilHttp implements CliCommand {\n\n @Option(name = \"--ca\", description = \"Filename for the CA keystore\")\n protected String caKeystoreFilename = \"datanode-ca.p12\";\n\n @Option(name = \"--keystore\", description = \"Filename for the generated HTTP keystore\")\n protected String nodeKeystoreFilename = \"datanode-http-certificates.p12\";\n\n private final CommandLineConsole console;\n\n public static final CommandLineConsole.Prompt PROMPT_USE_OWN_CERTIFICATE_AUTHORITY = CommandLineConsole.prompt(\"Do you want to use your own certificate authority? Respond with y/n?\");\n public static final CommandLineConsole.Prompt PROMPT_ENTER_CA_PASSWORD = CommandLineConsole.prompt(\"Enter CA password: \");\n public static final CommandLineConsole.Prompt PROMPT_ENTER_CERTIFICATE_VALIDITY_IN_DAYS = CommandLineConsole.prompt(\"Enter certificate validity in days: \");\n public static final CommandLineConsole.Prompt PROMPT_ENTER_CERTIFICATE_ALTERNATIVE_NAMES = CommandLineConsole.prompt(\"Enter alternative names (addresses) of this node [comma separated]: \");\n public static final CommandLineConsole.Prompt PROMPT_ENTER_HTTP_CERTIFICATE_PASSWORD = CommandLineConsole.prompt(\"Enter HTTP certificate password: \");\n\n public CertutilHttp() {\n this.console = new SystemConsole();\n }\n\n public CertutilHttp(String caKeystoreFilename, String nodeKeystoreFilename, CommandLineConsole console) {\n this.caKeystoreFilename = caKeystoreFilename;\n this.nodeKeystoreFilename = nodeKeystoreFilename;\n this.console = console;\n }\n\n @Override\n @SuppressForbidden(\"DNS Lookup intentional.\")\n public void run() {\n console.printLine(\"This tool will generate a data-node certificate for HTTP communication (REST API)\");\n\n final boolean useOwnCertificateEntity = console.readBoolean(PROMPT_USE_OWN_CERTIFICATE_AUTHORITY);\n\n if (useOwnCertificateEntity) {\n try {\n console.printLine(\"Generating certificate signing request for this datanode\");\n final CertRequest certReq = CertRequest.selfSigned(\"localhost\");\n KeyPair keyPair = CertificateGenerator.generate(certReq);\n PKCS10CertificationRequestBuilder p10Builder = new JcaPKCS10CertificationRequestBuilder(\n new X500Principal(\"CN=Requested Test Certificate\"), keyPair.publicKey());\n JcaContentSignerBuilder csBuilder = new JcaContentSignerBuilder(SIGNING_ALGORITHM);\n ContentSigner signer = csBuilder.build(keyPair.privateKey());\n PKCS10CertificationRequest csr = p10Builder.build(signer);\n\n final Path csrPath = Path.of(\"datanode.csr\");\n writePem(csrPath, csr);\n\n console.printLine(\"CSR written to file \" + csrPath.toAbsolutePath());\n\n } catch (Exception e) {\n throw new RuntimeException(e);\n }\n\n } else {\n // we'll use our own generated CA\n console.printLine(\"Generating a HTTP certificate signed by the datanode CA\");\n\n final Path caKeystorePath = Path.of(caKeystoreFilename);\n console.printLine(\"Using certificate authority \" + caKeystorePath.toAbsolutePath());\n\n try (FileInputStream fis = new FileInputStream(caKeystoreFilename)) {\n\n char[] password = console.readPassword(PROMPT_ENTER_CA_PASSWORD);\n KeyStore caKeystore = KeyStore.getInstance(\"PKCS12\");\n caKeystore.load(fis, password);\n\n final PrivateKey caPrivateKey = (PrivateKey) caKeystore.getKey(CA_KEY_ALIAS, password);\n final X509Certificate caCertificate = (X509Certificate) caKeystore.getCertificate(CA_KEY_ALIAS);\n\n final KeyPair caKeyPair = new KeyPair(caPrivateKey, null, caCertificate);\n\n final int validityDays = console.readInt(PROMPT_ENTER_CERTIFICATE_VALIDITY_IN_DAYS);\n\n final String cnName = Tools.getLocalCanonicalHostname();\n\n CertRequest certificateRequest = CertRequest.signed(cnName, caKeyPair)\n .withSubjectAlternativeName(\"localhost\")\n .withSubjectAlternativeName(Tools.getLocalHostname())\n .withSubjectAlternativeName(String.valueOf(InetAddress.getLocalHost()))\n .withSubjectAlternativeName(\"127.0.0.1\")\n .withSubjectAlternativeName(\"ip6-localhost\")\n .validity(Duration.ofDays(validityDays));\n\n final String alternativeNames = console.readLine(PROMPT_ENTER_CERTIFICATE_ALTERNATIVE_NAMES);\n Arrays.stream(alternativeNames.split(\",\"))\n .filter(StringUtils::isNotBlank)\n .forEach(certificateRequest::withSubjectAlternativeName);\n\n console.printLine(String.format(Locale.ROOT, \"Generating certificate for CN=%s, with validity %d days and subject alternative names %s\", cnName, certificateRequest.validity().toDays(), certificateRequest.subjectAlternativeNames()));\n KeyPair nodePair = CertificateGenerator.generate(certificateRequest);\n console.printLine(\"Successfully generated CA from the keystore\");\n\n KeyStore nodeKeystore = KeyStore.getInstance(\"PKCS12\");\n nodeKeystore.load(null, null);\n\n char[] nodeKeystorePassword = console.readPassword(PROMPT_ENTER_HTTP_CERTIFICATE_PASSWORD);\n\n // This will be the only key in the keystore, we don't care much about the alias. To make sure we are\n // not dependent on a specific alias, we can generate a random alphabetic sequence.\n nodeKeystore.setKeyEntry(RandomStringUtils.secure().nextAlphabetic(10), nodePair.privateKey(), nodeKeystorePassword,\n new X509Certificate[]{nodePair.certificate(), caKeyPair.certificate()});\n\n\n final Path nodeKeystorePath = Path.of(nodeKeystoreFilename);\n try (FileOutputStream store = new FileOutputStream(nodeKeystorePath.toFile())) {\n nodeKeystore.store(store, nodeKeystorePassword);\n console.printLine(\"Private key and certificate for this datanode HTTP successfully saved into \" + nodeKeystorePath.toAbsolutePath());\n }\n\n\n // TODO: provide good user-friendly error message for each exception type!\n } catch (Exception e) {\n throw new RuntimeException(e);\n }\n }\n }\n\n private static void writePem(Path path, Object object) throws IOException {\n try (JcaPEMWriter pemWriter = new JcaPEMWriter(new FileWriter(path.toFile(), StandardCharsets.UTF_8))) {\n pemWriter.writeObject(object);\n pemWriter.flush();\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/ca858e1d771d93eda326ee528a149859b77752dc.json b/web/public/bundles/graylog/code/ca858e1d771d93eda326ee528a149859b77752dc.json new file mode 100644 index 00000000..b34f518f --- /dev/null +++ b/web/public/bundles/graylog/code/ca858e1d771d93eda326ee528a149859b77752dc.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "ca858e1d771d93eda326ee528a149859b77752dc", + "language": "typescript", + "path": "graylog2-web-interface/src/pages/ImportExtractorsPage.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport { useEffect, useState } from 'react';\n\nimport { DocumentTitle, PageHeader, Spinner } from 'components/common';\nimport ImportExtractors from 'components/extractors/ImportExtractors';\nimport type { ParamsContext } from 'routing/withParams';\nimport withParams from 'routing/withParams';\nimport { fetchInput } from 'hooks/useInputs';\nimport type { Input } from 'components/messageloaders/Types';\nimport useProductName from 'brand-customization/useProductName';\nimport MarketplaceLink from 'components/support/MarketplaceLink';\n\ntype Props = ParamsContext;\n\nconst ImportExtractorsPage = ({ params }: Props) => {\n const productName = useProductName();\n const [input, setInput] = useState();\n\n useEffect(() => {\n fetchInput(params.inputId).then((_input) => setInput(_input));\n }, [params.inputId]);\n\n const _isLoading = !input;\n\n if (_isLoading) {\n return ;\n }\n\n return (\n \n

\n \n );\n};\n\nexport default withParams(ImportExtractorsPage);\n" +} diff --git a/web/public/bundles/graylog/code/cb275e45cfb14dfcc36fe7128a032cc294b683be.json b/web/public/bundles/graylog/code/cb275e45cfb14dfcc36fe7128a032cc294b683be.json new file mode 100644 index 00000000..4e1d79f7 --- /dev/null +++ b/web/public/bundles/graylog/code/cb275e45cfb14dfcc36fe7128a032cc294b683be.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "cb275e45cfb14dfcc36fe7128a032cc294b683be", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/datastream/policy/actions/TimesUnit.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.indexer.datastream.policy.actions;\n\nimport static org.graylog2.shared.utilities.StringUtils.f;\n\n/**\n * Formats time values using accepted OpenSearch values.\n * ...\n */\npublic enum TimesUnit {\n DAYS(\"d\"),\n HOURS(\"h\"),\n MINUTES(\"m\"),\n SECONDS(\"s\"),\n MILLISECONDS(\"ms\"),\n MICROSECONDS(\"micros\"),\n NANOSECONDS(\"nanos\");\n\n private final String abbreviation;\n\n TimesUnit(String abbreviation) {\n this.abbreviation = abbreviation;\n }\n\n public String format(long size) {\n return f(\"%d\" + this.abbreviation, size);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/cbfe87d93276a4a95a4d79b136e4e0e0c9ac578d.json b/web/public/bundles/graylog/code/cbfe87d93276a4a95a4d79b136e4e0e0c9ac578d.json new file mode 100644 index 00000000..57a7a52c --- /dev/null +++ b/web/public/bundles/graylog/code/cbfe87d93276a4a95a4d79b136e4e0e0c9ac578d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "cbfe87d93276a4a95a4d79b136e4e0e0c9ac578d", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/events/rest/EventsResource.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.events.rest;\n\nimport io.swagger.v3.oas.annotations.Operation;\nimport io.swagger.v3.oas.annotations.Parameter;\nimport io.swagger.v3.oas.annotations.tags.Tag;\nimport jakarta.inject.Inject;\nimport jakarta.ws.rs.Consumes;\nimport jakarta.ws.rs.GET;\nimport jakarta.ws.rs.POST;\nimport jakarta.ws.rs.Path;\nimport jakarta.ws.rs.PathParam;\nimport jakarta.ws.rs.Produces;\nimport jakarta.ws.rs.core.Context;\nimport jakarta.ws.rs.core.MediaType;\nimport org.apache.shiro.authz.annotation.RequiresAuthentication;\nimport org.graylog.events.search.EventsFilterOptions;\nimport org.graylog.events.search.EventsFilterOptionsRequest;\nimport org.graylog.events.search.EventsHistogramResult;\nimport org.graylog.events.search.EventsSearchParameters;\nimport org.graylog.events.search.EventsSearchResult;\nimport org.graylog.events.search.EventsSearchService;\nimport org.graylog.events.search.EventsSliceService;\nimport org.graylog.events.search.EventsSlicesRequest;\nimport org.graylog.plugins.views.search.permissions.SearchUser;\nimport org.graylog2.audit.jersey.NoAuditEvent;\nimport org.graylog2.plugin.database.users.User;\nimport org.graylog2.plugin.rest.PluginRestResource;\nimport org.graylog2.rest.resources.entities.Slices;\nimport org.graylog2.shared.rest.PublicCloudAPI;\nimport org.graylog2.shared.rest.resources.RestResource;\nimport org.joda.time.DateTimeZone;\n\nimport java.time.ZoneId;\nimport java.util.Collection;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Optional;\nimport java.util.stream.Collectors;\n\nimport static com.google.common.base.MoreObjects.firstNonNull;\n\n@PublicCloudAPI\n@Tag(name = \"Events\", description = \"Events overview and search\")\n@Path(\"/events\")\n@Produces(MediaType.APPLICATION_JSON)\n@Consumes(MediaType.APPLICATION_JSON)\n@RequiresAuthentication\npublic class EventsResource extends RestResource implements PluginRestResource {\n private final EventsSearchService searchService;\n private final EventsSliceService sliceService;\n\n @Inject\n public EventsResource(final EventsSearchService searchService,\n final EventsSliceService sliceService) {\n this.searchService = searchService;\n this.sliceService = sliceService;\n }\n\n @POST\n @Path(\"/search\")\n @Operation(summary = \"Search events\")\n @NoAuditEvent(\"Doesn't change any data, only searches for events\")\n public EventsSearchResult search(@Parameter(name = \"JSON body\") final EventsSearchParameters request) {\n return searchService.search(firstNonNull(request, EventsSearchParameters.empty()), getSubject());\n }\n\n @POST\n @Path(\"/slices\")\n @Operation(summary = \"Return slices for Events\")\n @NoAuditEvent(\"Doesn't change any data, only searches for slices\")\n @Produces(MediaType.APPLICATION_JSON)\n @Consumes(MediaType.APPLICATION_JSON)\n public Slices slices(@Context SearchUser searchUser, @Parameter(name = \"JSON body\") final EventsSlicesRequest request) {\n return sliceService.slices(firstNonNull(request, EventsSlicesRequest.empty()), getSubject(), searchUser);\n }\n\n @POST\n @Path(\"/filter_options\")\n @Operation(summary = \"Get the available values for the given event fields\")\n @NoAuditEvent(\"Doesn't change any data, only collects filter values\")\n public EventsFilterOptions filterOptions(@Parameter(name = \"JSON body\") final EventsFilterOptionsRequest request) {\n return searchService.filterOptions(firstNonNull(request, EventsFilterOptionsRequest.empty()), getSubject());\n }\n\n @POST\n @Path(\"/histogram\")\n @Operation(summary = \"Build histogram of events over time\")\n @NoAuditEvent(\"Doesn't change any data, only searches for events\")\n public EventsHistogramResult histogram(@Parameter(name = \"JSON body\") final EventsSearchParameters request) {\n final var timezone = Optional.ofNullable(getCurrentUser())\n .map(User::getTimeZone)\n .map(DateTimeZone::getID)\n .map(ZoneId::of)\n .orElse(ZoneId.of(\"UTC\"));\n return searchService.histogram(firstNonNull(request, EventsSearchParameters.empty()), getSubject(), timezone);\n }\n\n @GET\n @Path(\"{event_id}\")\n @Operation(summary = \"Get event by ID\")\n public Optional getById(@Parameter(name = \"event_id\") @PathParam(\"event_id\") final String eventId) {\n return searchService.searchByIds(List.of(eventId), getSubject()).events().stream().findFirst();\n }\n\n public record BulkEventsByIds(Collection eventIds) {}\n\n @POST\n @Path(\"/byIds\")\n @Operation(summary = \"Get multiple events by IDs\")\n @NoAuditEvent(\"Does not change any data\")\n public Map getByIds(@Parameter(name = \"body\") BulkEventsByIds request) {\n return searchService.searchByIds(request.eventIds(), getSubject()).events().stream()\n .collect(Collectors.toMap(event -> event.event().id(), event -> event));\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/ccd84056153908933450e76db2711b92a709262f.json b/web/public/bundles/graylog/code/ccd84056153908933450e76db2711b92a709262f.json new file mode 100644 index 00000000..e0601462 --- /dev/null +++ b/web/public/bundles/graylog/code/ccd84056153908933450e76db2711b92a709262f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "ccd84056153908933450e76db2711b92a709262f", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/contentpacks/responses/ContentPackList.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.models.system.contentpacks.responses;\n\nimport com.fasterxml.jackson.annotation.JsonAutoDetect;\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.google.auto.value.AutoValue;\nimport org.graylog2.contentpacks.model.ContentPack;\nimport org.graylog2.contentpacks.model.ModelId;\n\nimport java.util.Map;\nimport java.util.Set;\n\n@JsonAutoDetect\n\n@AutoValue\npublic abstract class ContentPackList {\n @JsonProperty(\"total\")\n public abstract long total();\n\n @JsonProperty(\"content_packs\")\n public abstract Set contentPacks();\n\n @JsonProperty(\"content_packs_metadata\")\n public abstract Map> contentPacksMetadata();\n\n @JsonCreator\n public static ContentPackList create(@JsonProperty(\"total\") long total,\n @JsonProperty(\"content_packs\") Set contentPacks,\n @JsonProperty(\"content_pack_metadata\") Map> contentPacksMetadata) {\n return new AutoValue_ContentPackList(total, contentPacks, contentPacksMetadata);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/cd5b06f574199491f88e42990d2983484edbf6a1.json b/web/public/bundles/graylog/code/cd5b06f574199491f88e42990d2983484edbf6a1.json new file mode 100644 index 00000000..a01ec485 --- /dev/null +++ b/web/public/bundles/graylog/code/cd5b06f574199491f88e42990d2983484edbf6a1.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "cd5b06f574199491f88e42990d2983484edbf6a1", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/UnsupportedEntityFacade.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.contentpacks.facades;\n\nimport com.google.common.graph.Graph;\nimport org.graylog2.contentpacks.EntityDescriptorIds;\nimport org.graylog2.contentpacks.model.entities.Entity;\nimport org.graylog2.contentpacks.model.entities.EntityDescriptor;\nimport org.graylog2.contentpacks.model.entities.EntityExcerpt;\nimport org.graylog2.contentpacks.model.entities.NativeEntity;\nimport org.graylog2.contentpacks.model.entities.NativeEntityDescriptor;\nimport org.graylog2.contentpacks.model.entities.references.ValueReference;\nimport org.graylog2.utilities.Graphs;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.util.Collections;\nimport java.util.Map;\nimport java.util.Optional;\nimport java.util.Set;\n\npublic class UnsupportedEntityFacade implements EntityFacade {\n private static final Logger LOG = LoggerFactory.getLogger(UnsupportedEntityFacade.class);\n\n public static final UnsupportedEntityFacade INSTANCE = new UnsupportedEntityFacade();\n\n @Override\n public NativeEntity createNativeEntity(Entity entity,\n Map parameters,\n Map nativeEntities,\n String username) {\n throw new UnsupportedOperationException(\"Unsupported entity \" + entity.toEntityDescriptor());\n }\n\n @Override\n public Optional> loadNativeEntity(NativeEntityDescriptor nativeEntityDescriptor) {\n return Optional.empty();\n }\n\n @Override\n public void delete(Void nativeEntity) {\n throw new UnsupportedOperationException(\"Unsupported entity\");\n }\n\n @Override\n public EntityExcerpt createExcerpt(Void nativeEntity) {\n throw new UnsupportedOperationException(\"Unsupported entity\");\n }\n\n @Override\n public Set listEntityExcerpts() {\n return Collections.emptySet();\n }\n\n @Override\n public Optional exportEntity(EntityDescriptor entityDescriptor, EntityDescriptorIds entityDescriptorIds) {\n LOG.warn(\"Couldn't collect entity {}\", entityDescriptor);\n return Optional.empty();\n }\n\n @Override\n public Graph resolveNativeEntity(EntityDescriptor entityDescriptor) {\n LOG.warn(\"Couldn't resolve entity {}\", entityDescriptor);\n return Graphs.emptyDirectedGraph();\n }\n\n @Override\n public Graph resolveForInstallation(Entity entity,\n Map parameters,\n Map entities) {\n LOG.warn(\"Couldn't resolve entity {}\", entity.toEntityDescriptor());\n return Graphs.emptyDirectedGraph();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/cd5edcb2a80598314ccef7dace205785adc13393.json b/web/public/bundles/graylog/code/cd5edcb2a80598314ccef7dace205785adc13393.json new file mode 100644 index 00000000..fb8eb425 --- /dev/null +++ b/web/public/bundles/graylog/code/cd5edcb2a80598314ccef7dace205785adc13393.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "cd5edcb2a80598314ccef7dace205785adc13393", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/lock/LockServiceModule.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.cluster.lock;\n\nimport com.google.inject.Scopes;\nimport com.google.inject.assistedinject.FactoryModuleBuilder;\nimport org.graylog2.plugin.PluginModule;\n\npublic class LockServiceModule extends PluginModule {\n @Override\n protected void configure() {\n bind(LockService.class).to(MongoLockService.class).in(Scopes.SINGLETON);\n install(new FactoryModuleBuilder().build(RefreshingLockService.Factory.class));\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/cdf4a63888fae93f7d9afb7146336672fedc4ed7.json b/web/public/bundles/graylog/code/cdf4a63888fae93f7d9afb7146336672fedc4ed7.json new file mode 100644 index 00000000..b224ca94 --- /dev/null +++ b/web/public/bundles/graylog/code/cdf4a63888fae93f7d9afb7146336672fedc4ed7.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "cdf4a63888fae93f7d9afb7146336672fedc4ed7", + "language": "java", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/sniffer/impl/NodeLoggingFilter.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.storage.opensearch3.sniffer.impl;\n\nimport com.google.common.collect.Sets;\nimport jakarta.inject.Inject;\nimport org.graylog.storage.opensearch3.sniffer.DiscoveredNode;\nimport org.graylog.storage.opensearch3.sniffer.SnifferFilter;\nimport org.graylog2.configuration.ElasticsearchClientConfiguration;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.util.LinkedHashSet;\nimport java.util.List;\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\npublic class NodeLoggingFilter implements SnifferFilter {\n private static final Logger LOG = LoggerFactory.getLogger(NodeLoggingFilter.class);\n private final Set savedNodes = new LinkedHashSet<>();\n\n private final boolean enabled;\n\n @Inject\n public NodeLoggingFilter(ElasticsearchClientConfiguration configuration) {\n this(configuration.isNodeActivityLogger());\n }\n\n public NodeLoggingFilter(boolean enabled) {\n this.enabled = enabled;\n }\n\n @Override\n public boolean enabled() {\n return enabled;\n }\n\n @Override\n public List filterNodes(final List nodes) {\n final Set currentNodes = nodes.stream()\n .map(n -> n.toURI().toString())\n .collect(Collectors.toSet());\n\n final Set nodesAdded = Sets.difference(currentNodes, savedNodes);\n final Set nodesDropped = Sets.difference(savedNodes, currentNodes);\n\n if (!nodesAdded.isEmpty()) {\n LOG.info(\"Added node(s): {}\", nodesAdded);\n }\n if (!nodesDropped.isEmpty()) {\n LOG.info(\"Dropped node(s): {}\", nodesDropped);\n }\n if (!nodesAdded.isEmpty() || !nodesDropped.isEmpty()) {\n LOG.info(\"Current node list: {}\", currentNodes);\n }\n\n savedNodes.clear();\n savedNodes.addAll(currentNodes);\n\n return nodes;\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/ce580ad9024c785b42a0bc18812711e9d28bbada.json b/web/public/bundles/graylog/code/ce580ad9024c785b42a0bc18812711e9d28bbada.json new file mode 100644 index 00000000..3f4faf6e --- /dev/null +++ b/web/public/bundles/graylog/code/ce580ad9024c785b42a0bc18812711e9d28bbada.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "ce580ad9024c785b42a0bc18812711e9d28bbada", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/security/PermissionAndRoleResolver.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.security;\n\nimport org.apache.shiro.authz.Permission;\nimport org.graylog.grn.GRN;\n\nimport java.util.Set;\n\n/**\n * Resolves a principal to specific permissions based on grants.\n */\npublic interface PermissionAndRoleResolver {\n /**\n * Returns resolved permissions for the given principal.\n *\n * @param principal the principal\n * @return the resolved permissions\n */\n Set resolvePermissionsForPrincipal(GRN principal);\n\n /**\n * Returns roles for the given principal.\n *\n * @param principal the principal\n * @return the resolved roleIds\n */\n Set resolveRolesForPrincipal(GRN principal);\n\n Set resolveGrantees(GRN principal);\n}\n" +} diff --git a/web/public/bundles/graylog/code/cf69afc53b2d61ad4655a33efe09ea83da453cfa.json b/web/public/bundles/graylog/code/cf69afc53b2d61ad4655a33efe09ea83da453cfa.json new file mode 100644 index 00000000..ccaecf8f --- /dev/null +++ b/web/public/bundles/graylog/code/cf69afc53b2d61ad4655a33efe09ea83da453cfa.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "cf69afc53b2d61ad4655a33efe09ea83da453cfa", + "language": "java", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/sniffer/impl/NodeLoggingFilter.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.storage.opensearch2.sniffer.impl;\n\nimport com.google.common.collect.Sets;\nimport jakarta.inject.Inject;\nimport org.graylog.shaded.opensearch2.org.opensearch.client.Node;\nimport org.graylog.storage.opensearch2.sniffer.SnifferFilter;\nimport org.graylog2.configuration.ElasticsearchClientConfiguration;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.util.LinkedHashSet;\nimport java.util.List;\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\npublic class NodeLoggingFilter implements SnifferFilter {\n private static final Logger LOG = LoggerFactory.getLogger(NodeLoggingFilter.class);\n private final Set savedNodes = new LinkedHashSet<>();\n\n private final boolean enabled;\n\n @Inject\n public NodeLoggingFilter(ElasticsearchClientConfiguration configuration) {\n this.enabled = configuration.isNodeActivityLogger();\n }\n\n @Override\n public boolean enabled() {\n return enabled;\n }\n\n @Override\n public List filterNodes(final List nodes) {\n final Set currentNodes = nodes.stream().map(n -> n.getHost().toURI()).collect(Collectors.toSet());\n\n final Set nodesAdded = Sets.difference(currentNodes, savedNodes);\n final Set nodesDropped = Sets.difference(savedNodes, currentNodes);\n\n if (!nodesAdded.isEmpty()) {\n LOG.info(\"Added node(s): {}\", nodesAdded);\n }\n if (!nodesDropped.isEmpty()) {\n LOG.info(\"Dropped node(s): {}\", nodesDropped);\n }\n if (!nodesAdded.isEmpty() || !nodesDropped.isEmpty()) {\n LOG.info(\"Current node list: {}\", currentNodes);\n }\n\n savedNodes.clear();\n savedNodes.addAll(currentNodes);\n\n return nodes;\n }\n}\n\n" +} diff --git a/web/public/bundles/graylog/code/d03188b5bb1e2c5ab11dd35a8770c73f98c212bc.json b/web/public/bundles/graylog/code/d03188b5bb1e2c5ab11dd35a8770c73f98c212bc.json new file mode 100644 index 00000000..27a570f7 --- /dev/null +++ b/web/public/bundles/graylog/code/d03188b5bb1e2c5ab11dd35a8770c73f98c212bc.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d03188b5bb1e2c5ab11dd35a8770c73f98c212bc", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/aws/transports/KinesisTransport.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.integrations.aws.transports;\n\nimport com.codahale.metrics.MetricSet;\nimport com.fasterxml.jackson.databind.ObjectMapper;\nimport com.google.common.eventbus.EventBus;\nimport com.google.common.util.concurrent.ThreadFactoryBuilder;\nimport com.google.inject.assistedinject.Assisted;\nimport jakarta.inject.Inject;\nimport org.apache.commons.lang3.StringUtils;\nimport org.graylog.integrations.aws.AWSClientBuilderUtil;\nimport org.graylog.integrations.aws.AWSMessageType;\nimport org.graylog.integrations.aws.codecs.AWSCodec;\nimport org.graylog.integrations.aws.inputs.AWSInput;\nimport org.graylog.integrations.aws.resources.requests.AWSRequest;\nimport org.graylog.integrations.aws.resources.requests.AWSRequestImpl;\nimport org.graylog.integrations.aws.service.AWSService;\nimport org.graylog2.plugin.InputFailureRecorder;\nimport org.graylog2.plugin.LocalMetricRegistry;\nimport org.graylog2.plugin.configuration.Configuration;\nimport org.graylog2.plugin.configuration.ConfigurationRequest;\nimport org.graylog2.plugin.configuration.fields.ConfigurationField;\nimport org.graylog2.plugin.configuration.fields.DropdownField;\nimport org.graylog2.plugin.configuration.fields.NumberField;\nimport org.graylog2.plugin.configuration.fields.TextField;\nimport org.graylog2.plugin.inputs.MessageInput;\nimport org.graylog2.plugin.inputs.MisfireException;\nimport org.graylog2.plugin.inputs.annotations.ConfigClass;\nimport org.graylog2.plugin.inputs.annotations.FactoryClass;\nimport org.graylog2.plugin.inputs.codecs.CodecAggregator;\nimport org.graylog2.plugin.inputs.transports.ThrottleableTransport;\nimport org.graylog2.plugin.inputs.transports.ThrottleableTransport2;\nimport org.graylog2.plugin.inputs.transports.Transport;\nimport org.graylog2.plugin.system.NodeId;\nimport org.graylog2.security.encryption.EncryptedValue;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport software.amazon.awssdk.regions.Region;\n\nimport java.net.URI;\nimport java.util.Locale;\nimport java.util.Objects;\nimport java.util.concurrent.ExecutorService;\nimport java.util.concurrent.Executors;\n\nimport static org.graylog.integrations.aws.inputs.AWSInput.getKinesisStreamARNDefinition;\nimport static org.graylog.integrations.aws.inputs.AWSInput.getSingleTableStateTrackingFieldDefinition;\n\npublic class KinesisTransport extends ThrottleableTransport2 {\n\n private static final Logger LOG = LoggerFactory.getLogger(KinesisTransport.class);\n public static final String NAME = \"aws-kinesis-transport\";\n\n private static final String CK_AWS_REGION = \"aws_region\";\n private static final String CK_ACCESS_KEY = \"aws_access_key\";\n private static final String CK_SECRET_KEY = \"aws_secret_key\";\n public static final String CK_KINESIS_STREAM_NAME = \"kinesis_stream_name\";\n public static final String CK_KINESIS_STREAM_ARN = \"kinesis_stream_arn\";\n public static final String CK_KINESIS_RECORD_BATCH_SIZE = \"kinesis_record_batch_size\";\n public static final String CK_KINESIS_SINGLE_TABLE_STATE_TRACKING = \"kinesis_single_table_state_tracking\";\n\n public static final int DEFAULT_BATCH_SIZE = 10000;\n\n private final Configuration configuration;\n private final NodeId nodeId;\n private final LocalMetricRegistry localRegistry;\n private final ObjectMapper objectMapper;\n private final AWSClientBuilderUtil awsClientBuilderUtil;\n private final ExecutorService executor;\n\n private KinesisConsumer kinesisConsumer;\n\n @Inject\n public KinesisTransport(@Assisted final Configuration configuration,\n EventBus serverEventBus,\n final NodeId nodeId,\n LocalMetricRegistry localRegistry,\n ObjectMapper objectMapper,\n AWSClientBuilderUtil awsClientBuilderUtil) {\n super(serverEventBus, configuration);\n this.configuration = configuration;\n this.nodeId = nodeId;\n this.localRegistry = localRegistry;\n this.objectMapper = objectMapper;\n this.awsClientBuilderUtil = awsClientBuilderUtil;\n this.executor = Executors.newSingleThreadExecutor(new ThreadFactoryBuilder()\n .setDaemon(true)\n .setNameFormat(\"aws-kinesis-reader-%d\")\n .setUncaughtExceptionHandler((t, e) -> LOG.error(\"Uncaught exception in AWS Kinesis reader.\", e))\n .build());\n }\n\n @Override\n public void handleChangedThrottledState(boolean isThrottled) {\n\n // Deliberately info level, so it is obvious when throttling occurs.\n if (!isThrottled) {\n LOG.info(\"Kinesis consumer unthrottled\");\n } else {\n LOG.info(\"Kinesis consumer throttled\");\n }\n }\n\n @Override\n public void doLaunch(MessageInput input, InputFailureRecorder inputFailureRecorder) throws MisfireException {\n\n final Region region = Region.of(Objects.requireNonNull(configuration.getString(CK_AWS_REGION)));\n final String key = configuration.getString(CK_ACCESS_KEY);\n final EncryptedValue secret = configuration.getEncryptedValue(CK_SECRET_KEY);\n final String assumeRoleArn = configuration.getString(AWSInput.CK_ASSUME_ROLE_ARN);\n final String externalId = configuration.getString(AWSInput.CK_EXTERNAL_ID);\n\n final String dynamodbEndpoint = configuration.getString(AWSInput.CK_DYNAMODB_ENDPOINT);\n final String cloudwatchEndpoint = configuration.getString(AWSInput.CK_CLOUDWATCH_ENDPOINT);\n final String iamEndpoint = configuration.getString(AWSInput.CK_IAM_ENDPOINT);\n final String kinesisEndpoint = configuration.getString(AWSInput.CK_KINESIS_ENDPOINT);\n\n // Validate the endpoints, because the Kinesis client will silently fail if an endpoint is invalid.\n validateEndpoint(dynamodbEndpoint, \"DynamoDB\");\n validateEndpoint(cloudwatchEndpoint, \"CloudWatch\");\n validateEndpoint(iamEndpoint, \"IAM\");\n validateEndpoint(iamEndpoint, \"Kinesis\");\n\n final AWSRequest awsRequest = AWSRequestImpl.builder()\n .region(region.id())\n .awsAccessKeyId(key)\n .awsSecretAccessKey(secret)\n .assumeRoleArn(assumeRoleArn)\n .externalId(externalId)\n .cloudwatchEndpoint(cloudwatchEndpoint)\n .dynamodbEndpoint(dynamodbEndpoint)\n .iamEndpoint(iamEndpoint)\n .kinesisEndpoint(kinesisEndpoint).build();\n\n final int batchSize = configuration.getInt(CK_KINESIS_RECORD_BATCH_SIZE, DEFAULT_BATCH_SIZE);\n final String streamName = configuration.getString(CK_KINESIS_STREAM_NAME);\n final AWSMessageType awsMessageType = AWSMessageType.valueOf(configuration.getString(AWSCodec.CK_AWS_MESSAGE_TYPE));\n final boolean migrateToSingleTable = configuration.getBoolean(CK_KINESIS_SINGLE_TABLE_STATE_TRACKING, false);\n\n this.kinesisConsumer = new KinesisConsumer(nodeId, this, objectMapper, input::processRawMessage,\n streamName, awsMessageType, batchSize, awsRequest, awsClientBuilderUtil, inputFailureRecorder,\n migrateToSingleTable, System::nanoTime);\n\n LOG.debug(\"Starting Kinesis reader thread for input {}\", input.toIdentifier());\n executor.submit(this.kinesisConsumer);\n }\n\n /**\n * If specified, verify that the specified endpoint is a valid URI.\n *\n * @param endpoint The endpoint URI.\n * @param endpointName The name of the endpoint. This will be included in the exception message.\n * @throws MisfireException A {@link MisfireException} will be thrown if the URI is invalid.\n */\n static void validateEndpoint(String endpoint, String endpointName) throws MisfireException {\n if (StringUtils.isNotEmpty(endpoint)) {\n try {\n var ignored = new URI(endpoint).toURL();\n } catch (Exception e) {\n // Re-throw the exception to fail the input start attempt\n throw new MisfireException(String.format(Locale.ROOT, \"The specified [%s] Override Endpoint [%s] is invalid.\",\n endpointName, endpoint), e);\n }\n }\n }\n\n @Override\n public void doStop() {\n if (this.kinesisConsumer != null) {\n this.kinesisConsumer.stop();\n }\n }\n\n @Override\n public void setMessageAggregator(CodecAggregator aggregator) {\n // Not supported.\n }\n\n @Override\n public MetricSet getMetricSet() {\n return localRegistry;\n }\n\n @FactoryClass\n public interface Factory extends Transport.Factory {\n @Override\n KinesisTransport create(Configuration configuration);\n\n @Override\n Config getConfig();\n }\n\n @ConfigClass\n public static class Config extends ThrottleableTransport.Config {\n\n @Override\n public ConfigurationRequest getRequestedConfiguration() {\n final ConfigurationRequest r = super.getRequestedConfiguration();\n\n r.addField(new DropdownField(\n CK_AWS_REGION,\n \"AWS Region\",\n Region.US_EAST_1.id(),\n AWSService.buildRegionChoices(),\n \"The AWS region the Kinesis stream is running in.\",\n ConfigurationField.Optional.NOT_OPTIONAL\n ));\n\n r.addField(new TextField(\n CK_ACCESS_KEY,\n \"AWS access key\",\n \"\",\n \"Access key of an AWS user with sufficient permissions. (See documentation)\",\n ConfigurationField.Optional.OPTIONAL\n ));\n\n r.addField(new TextField(\n CK_SECRET_KEY,\n \"AWS secret key\",\n \"\",\n \"Secret key of an AWS user with sufficient permissions. (See documentation)\",\n ConfigurationField.Optional.OPTIONAL,\n true,\n TextField.Attribute.IS_PASSWORD\n ));\n\n r.addField(new TextField(\n CK_KINESIS_STREAM_NAME,\n \"Kinesis Stream name\",\n \"\",\n \"The name of the Kinesis stream that receives your messages. See README for instructions on how to connect messages to a Kinesis Stream.\",\n ConfigurationField.Optional.NOT_OPTIONAL\n ));\n r.addField(getKinesisStreamARNDefinition());\n\n r.addField(new NumberField(\n CK_KINESIS_RECORD_BATCH_SIZE,\n \"Kinesis Record batch size.\",\n DEFAULT_BATCH_SIZE,\n \"The number of Kinesis records to fetch at a time. Each record may be up to 1MB in size. The AWS default is 10,000. Enter a smaller value to process smaller chunks at a time.\",\n ConfigurationField.Optional.OPTIONAL,\n NumberField.Attribute.ONLY_POSITIVE));\n\n r.addField(getSingleTableStateTrackingFieldDefinition());\n\n return r;\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/d052c9661e56edc94247b5a45ec1b3b893d17e48.json b/web/public/bundles/graylog/code/d052c9661e56edc94247b5a45ec1b3b893d17e48.json new file mode 100644 index 00000000..c13cd2f7 --- /dev/null +++ b/web/public/bundles/graylog/code/d052c9661e56edc94247b5a45ec1b3b893d17e48.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d052c9661e56edc94247b5a45ec1b3b893d17e48", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/users/UserOverviewDTO.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.users;\n\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonIgnore;\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.jackson.databind.annotation.JsonDeserialize;\nimport com.google.auto.value.AutoValue;\nimport org.graylog2.database.MongoEntity;\nimport org.graylog2.plugin.database.users.User;\nimport org.graylog2.security.sessions.SessionDTO;\nimport org.mongojack.Id;\nimport org.mongojack.ObjectId;\n\nimport javax.annotation.Nullable;\nimport java.util.Collections;\nimport java.util.Date;\nimport java.util.Optional;\nimport java.util.Set;\n\n@AutoValue\n@JsonDeserialize(builder = UserOverviewDTO.Builder.class)\npublic abstract class UserOverviewDTO implements MongoEntity {\n\n public static final String FIELD_ID = \"id\";\n private static final String FIELD_AUTH_SERVICE_ID = \"auth_service_id\";\n private static final String FIELD_AUTH_SERVICE_UID = \"auth_service_uid\";\n public static final String FIELD_USERNAME = \"username\";\n public static final String FIELD_EMAIL = \"email\";\n public static final String FIELD_FIRST_NAME = \"first_name\";\n public static final String FIELD_LAST_NAME = \"last_name\";\n public static final String FIELD_FULL_NAME = \"full_name\";\n private static final String FIELD_EXTERNAL_USER = \"external_user\";\n private static final String FIELD_ROLES = \"roles\";\n private static final String FIELD_READ_ONLY = \"read_only\";\n private static final String FIELD_SESSION_ACTIVE = \"session_active\";\n private static final String FIELD_LAST_ACTIVITY = \"last_activity\";\n private static final String FIELD_CLIENT_ADDRESS = \"client_address\";\n private static final String FIELD_ACCOUNT_STATUS = \"account_status\";\n private static final String FIELD_SERVICE_ACCOUNT = \"service_account\";\n private static final String FIELD_AUTH_SERVICE_ENABLED = \"auth_service_enabled\";\n\n @Id\n @ObjectId\n @Nullable\n @JsonProperty(FIELD_ID)\n public abstract String id();\n\n @JsonProperty(FIELD_AUTH_SERVICE_ID)\n public abstract Optional authServiceId();\n\n @JsonProperty(FIELD_AUTH_SERVICE_UID)\n public abstract Optional authServiceUid();\n\n @JsonProperty(FIELD_USERNAME)\n public abstract String username();\n\n @JsonProperty(FIELD_EMAIL)\n public abstract String email();\n\n @JsonProperty(FIELD_FIRST_NAME)\n public abstract Optional firstName();\n\n @JsonProperty(FIELD_LAST_NAME)\n public abstract Optional lastName();\n\n @JsonProperty(FIELD_FULL_NAME)\n public abstract Optional fullName();\n\n @Nullable\n @JsonProperty(FIELD_EXTERNAL_USER)\n public abstract Boolean externalUser();\n\n @ObjectId\n @JsonProperty(FIELD_ROLES)\n public abstract Set roles();\n\n @Nullable\n @JsonProperty(FIELD_READ_ONLY)\n public abstract Boolean readOnly();\n\n @Nullable\n @JsonProperty(FIELD_SESSION_ACTIVE)\n public abstract Boolean sessionActive();\n\n @Nullable\n @JsonProperty(FIELD_LAST_ACTIVITY)\n public abstract Date lastActivity();\n\n @Nullable\n @JsonProperty(FIELD_CLIENT_ADDRESS)\n public abstract String clientAddress();\n\n @JsonProperty(FIELD_ACCOUNT_STATUS)\n public abstract User.AccountStatus accountStatus();\n\n @JsonProperty(FIELD_SERVICE_ACCOUNT)\n public abstract boolean serviceAccount();\n\n @JsonProperty(FIELD_AUTH_SERVICE_ENABLED)\n public abstract boolean authServiceEnabled();\n\n public static Builder builder() {\n return Builder.create();\n }\n\n public abstract Builder toBuilder();\n\n @AutoValue.Builder\n @JsonIgnoreProperties({\"preferences\", \"permissions\", \"timezone\", \"session_timeout_ms\", \"startpage\", \"password\"})\n public static abstract class Builder {\n\n @JsonCreator\n public static Builder create() {\n return new AutoValue_UserOverviewDTO.Builder()\n .accountStatus(User.AccountStatus.ENABLED)\n .roles(Collections.emptySet())\n .serviceAccount(false)\n .authServiceEnabled(true);\n }\n\n @Id\n @ObjectId\n @JsonProperty(FIELD_ID)\n public abstract Builder id(String id);\n\n @JsonProperty(FIELD_AUTH_SERVICE_ID)\n public abstract Builder authServiceId(@Nullable String authServiceId);\n\n @JsonProperty(FIELD_AUTH_SERVICE_UID)\n public abstract Builder authServiceUid(@Nullable String authServiceUid);\n\n @JsonProperty(FIELD_USERNAME)\n public abstract Builder username(String username);\n\n @JsonProperty(FIELD_EMAIL)\n public abstract Builder email(String email);\n\n @JsonProperty(FIELD_FIRST_NAME)\n public abstract Builder firstName(@Nullable String firstName);\n\n @JsonProperty(FIELD_LAST_NAME)\n public abstract Builder lastName(@Nullable String lastName);\n\n @JsonProperty(FIELD_FULL_NAME)\n public abstract Builder fullName(@Nullable String fullName);\n\n @JsonProperty(FIELD_EXTERNAL_USER)\n public abstract Builder externalUser(@Nullable Boolean externalUser);\n\n @ObjectId\n @JsonProperty(FIELD_ROLES)\n public abstract Builder roles(Set roles);\n\n @JsonProperty(FIELD_READ_ONLY)\n public abstract Builder readOnly(@Nullable Boolean readOnly);\n\n @JsonProperty(FIELD_SESSION_ACTIVE)\n public abstract Builder sessionActive(@Nullable Boolean sessionActive);\n\n @JsonProperty(FIELD_LAST_ACTIVITY)\n public abstract Builder lastActivity(@Nullable Date lastActivity);\n\n @JsonProperty(FIELD_CLIENT_ADDRESS)\n public abstract Builder clientAddress(@Nullable String clientAddress);\n\n @JsonProperty(FIELD_ACCOUNT_STATUS)\n public abstract Builder accountStatus(User.AccountStatus accountStatus);\n\n @JsonProperty(FIELD_SERVICE_ACCOUNT)\n public abstract Builder serviceAccount(boolean isServiceAccount);\n\n @JsonProperty(FIELD_AUTH_SERVICE_ENABLED)\n public abstract Builder authServiceEnabled(boolean authServiceEnabled);\n\n @JsonIgnore\n public Builder fillSession(Optional session) {\n if (session.isPresent()) {\n SessionDTO lastSession = session.get();\n return sessionActive(true)\n .lastActivity(Date.from(lastSession.lastAccessTime()))\n .clientAddress(lastSession.host().orElse(null));\n }\n return this;\n }\n\n public abstract UserOverviewDTO build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/d0c355b674213de825cd30278218ae8a10ea37e2.json b/web/public/bundles/graylog/code/d0c355b674213de825cd30278218ae8a10ea37e2.json new file mode 100644 index 00000000..b29bfee1 --- /dev/null +++ b/web/public/bundles/graylog/code/d0c355b674213de825cd30278218ae8a10ea37e2.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d0c355b674213de825cd30278218ae8a10ea37e2", + "language": "java", + "path": "data-node/src/main/java/org/graylog/datanode/bootstrap/preflight/PreflightClusterConfigurationModule.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.datanode.bootstrap.preflight;\n\nimport com.fasterxml.jackson.databind.ObjectMapper;\nimport com.google.inject.AbstractModule;\nimport org.graylog.datanode.bindings.PreflightObjectMapperProvider;\nimport org.graylog2.cluster.ClusterConfigServiceImpl;\nimport org.graylog2.plugin.cluster.ClusterConfigService;\nimport org.graylog2.shared.plugins.ChainingClassLoader;\nimport org.graylog2.shared.plugins.GraylogClassLoader;\n\npublic class PreflightClusterConfigurationModule extends AbstractModule {\n private final ChainingClassLoader chainingClassLoader;\n\n public PreflightClusterConfigurationModule(ChainingClassLoader chainingClassLoader) {\n this.chainingClassLoader = chainingClassLoader;\n }\n\n @Override\n protected void configure() {\n bind(ChainingClassLoader.class).toInstance(chainingClassLoader);\n bind(ClusterConfigService.class).to(ClusterConfigServiceImpl.class).asEagerSingleton();\n\n bindLimitedObjectMapper();\n }\n\n private void bindLimitedObjectMapper() {\n bind(ClassLoader.class).annotatedWith(GraylogClassLoader.class).toInstance(chainingClassLoader);\n bind(ObjectMapper.class).toProvider(PreflightObjectMapperProvider.class).asEagerSingleton();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/d10aa946dd247c6396d87db38ca8311cc442789f.json b/web/public/bundles/graylog/code/d10aa946dd247c6396d87db38ca8311cc442789f.json new file mode 100644 index 00000000..b52b7a2c --- /dev/null +++ b/web/public/bundles/graylog/code/d10aa946dd247c6396d87db38ca8311cc442789f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d10aa946dd247c6396d87db38ca8311cc442789f", + "language": "typescript", + "path": "graylog2-web-interface/src/components/collectors/overview/onboarding/PlatformPicker.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport styled, { css } from 'styled-components';\n\nimport useProductName from 'brand-customization/useProductName';\nimport { AccessibleCard, BrandIcon, Icon } from 'components/common';\n\nimport PLATFORMS from './platforms';\nimport type { PlatformId, PlatformIcon } from './platforms';\n\ntype Props = {\n onSelect: (platformId: PlatformId) => void;\n selectedPlatform: PlatformId | null;\n disabled: boolean;\n};\n\nconst Container = styled.div(\n ({ theme }) => css`\n text-align: center;\n max-width: 700px;\n margin: ${theme.spacings.md} auto;\n `,\n);\n\nconst Heading = styled.h2(\n ({ theme }) => css`\n font-size: ${theme.fonts.size.h2};\n margin-bottom: ${theme.spacings.xs};\n `,\n);\n\nconst Subtitle = styled.p(\n ({ theme }) => css`\n color: ${theme.colors.text.secondary};\n margin-bottom: ${theme.spacings.lg};\n `,\n);\n\nconst Grid = styled.div(\n ({ theme }) => css`\n display: flex;\n gap: ${theme.spacings.md};\n justify-content: center;\n flex-wrap: wrap;\n `,\n);\n\nconst PlatformCard = styled(AccessibleCard)(\n ({ theme }) => css`\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: ${theme.spacings.xs};\n min-width: 110px;\n padding: ${theme.spacings.md} ${theme.spacings.lg};\n position: relative;\n `,\n);\n\nconst PlatformIconContainer = styled.span`\n display: flex;\n align-items: center;\n justify-content: center;\n width: 32px;\n height: 32px;\n\n /* BrandIcon has its own 20x20 container — scale it up */\n > div {\n width: 32px;\n height: 32px;\n\n svg {\n width: 32px;\n height: 32px;\n }\n }\n`;\n\nconst PlatformLabel = styled.span(\n ({ theme }) => css`\n font-size: ${theme.fonts.size.body};\n font-weight: 500;\n `,\n);\n\nconst CheckMark = styled.span(\n ({ theme }) => css`\n position: absolute;\n top: ${theme.spacings.xxs};\n right: ${theme.spacings.xxs};\n color: ${theme.colors.variant.success};\n `,\n);\n\nconst MaterialIcon = styled(Icon)`\n && {\n font-size: 32px;\n }\n`;\n\nconst renderPlatformIcon = (icon: PlatformIcon) => {\n if (icon.type === 'brand') {\n return ;\n }\n\n return ;\n};\n\nconst PlatformPicker = ({ onSelect, selectedPlatform, disabled }: Props) => {\n const productName = useProductName();\n\n return (\n \n Get Started with Collectors\n Deploy lightweight collectors across your infrastructure to forward logs into {productName}.\n \n {PLATFORMS.map((platform) => (\n onSelect(platform.id)}>\n {selectedPlatform === platform.id && (\n \n \n \n )}\n {renderPlatformIcon(platform.icon)}\n {platform.label}\n \n ))}\n \n \n );\n};\n\nexport default PlatformPicker;\n" +} diff --git a/web/public/bundles/graylog/code/d13fe1281b334eae55070910e75bcd43791b121c.json b/web/public/bundles/graylog/code/d13fe1281b334eae55070910e75bcd43791b121c.json new file mode 100644 index 00000000..72c9279d --- /dev/null +++ b/web/public/bundles/graylog/code/d13fe1281b334eae55070910e75bcd43791b121c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d13fe1281b334eae55070910e75bcd43791b121c", + "language": "typescript", + "path": "graylog2-web-interface/src/views/logic/views/OnSaveViewAction.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport UserNotification from 'util/UserNotification';\nimport type View from 'views/logic/views/View';\nimport type { ViewsDispatch } from 'views/stores/useViewsDispatch';\nimport { setIsNew, setIsDirty } from 'views/logic/slices/viewSlice';\nimport type FetchError from 'logic/errors/FetchError';\nimport type { EntitySharePayload } from 'actions/permissions/EntityShareActions';\nimport { updateView } from 'views/api/views';\n\nconst _extractErrorMessage = (error: FetchError) =>\n error && error.additional && error.additional.body && error.additional.body.message\n ? error.additional.body.message\n : error;\n\nexport default (view: View, entityShare?: EntitySharePayload) => async (dispatch: ViewsDispatch) => {\n try {\n await updateView(view, entityShare);\n dispatch(setIsNew(false));\n dispatch(setIsDirty(false));\n UserNotification.success(`Saving view \"${view.title}\" was successful!`, 'Success!');\n } catch (error) {\n UserNotification.error(`Saving view failed: ${_extractErrorMessage(error)}`, 'Error!');\n }\n};\n" +} diff --git a/web/public/bundles/graylog/code/d1dd0ef9c9360d4120a2451ff3884fb41e415b86.json b/web/public/bundles/graylog/code/d1dd0ef9c9360d4120a2451ff3884fb41e415b86.json new file mode 100644 index 00000000..92954809 --- /dev/null +++ b/web/public/bundles/graylog/code/d1dd0ef9c9360d4120a2451ff3884fb41e415b86.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d1dd0ef9c9360d4120a2451ff3884fb41e415b86", + "language": "typescript", + "path": "graylog2-web-interface/src/contexts/InputsProvider.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\n\nimport InputsContext from 'contexts/InputsContext';\nimport useInputsList from 'hooks/useInputs';\n\nconst InputsProvider = ({ children = undefined }: React.PropsWithChildren<{}>) => {\n const { data: inputs } = useInputsList();\n const value = Object.fromEntries(inputs?.map((input) => [input.id, input]) ?? []);\n\n return {children};\n};\n\nexport default InputsProvider;\n" +} diff --git a/web/public/bundles/graylog/code/d1f4fb1b6a96fdc52359226f0e1a84894ee9c9b5.json b/web/public/bundles/graylog/code/d1f4fb1b6a96fdc52359226f0e1a84894ee9c9b5.json new file mode 100644 index 00000000..0d6dbd8b --- /dev/null +++ b/web/public/bundles/graylog/code/d1f4fb1b6a96fdc52359226f0e1a84894ee9c9b5.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d1f4fb1b6a96fdc52359226f0e1a84894ee9c9b5", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/mongodb/MongoDbRuleService.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.pipelineprocessor.db.mongodb;\n\nimport com.mongodb.client.model.Filters;\nimport com.mongodb.client.model.IndexOptions;\nimport com.mongodb.client.model.Indexes;\nimport com.mongodb.client.model.ReplaceOptions;\nimport com.mongodb.client.model.Sorts;\nimport com.swrve.ratelimitedlogger.RateLimitedLog;\nimport jakarta.inject.Inject;\nimport jakarta.inject.Singleton;\nimport org.graylog.plugins.pipelineprocessor.db.RuleDao;\nimport org.graylog.plugins.pipelineprocessor.db.RuleService;\nimport org.graylog.plugins.pipelineprocessor.events.RulesChangedEvent;\nimport org.graylog2.database.MongoCollection;\nimport org.graylog2.database.MongoCollections;\nimport org.graylog2.database.NotFoundException;\nimport org.graylog2.database.entities.EntityScopeService;\nimport org.graylog2.database.utils.MongoUtils;\nimport org.graylog2.database.utils.ScopedEntityMongoUtils;\nimport org.graylog2.events.ClusterEventBus;\n\nimport java.util.Collection;\nimport java.util.LinkedHashSet;\nimport java.util.regex.Pattern;\n\nimport static com.mongodb.client.model.Filters.regex;\nimport static org.graylog.plugins.pipelineprocessor.db.RuleDao.FIELD_SOURCE;\nimport static org.graylog.plugins.pipelineprocessor.db.RuleDao.FIELD_TITLE;\nimport static org.graylog2.database.entities.ScopedEntity.FIELD_SCOPE;\nimport static org.graylog2.database.utils.MongoUtils.insertedIdAsString;\nimport static org.graylog2.plugin.utilities.ratelimitedlog.RateLimitedLogFactory.createDefaultRateLimitedLog;\n\n/**\n * A RuleService backed by a MongoDB collection.\n */\n@Singleton\npublic class MongoDbRuleService implements RuleService {\n private static final RateLimitedLog log = createDefaultRateLimitedLog(MongoDbRuleService.class);\n\n public static final String COLLECTION = \"pipeline_processor_rules\";\n\n private final MongoCollection collection;\n private final ClusterEventBus clusterBus;\n private final MongoUtils mongoUtils;\n private final ScopedEntityMongoUtils scopedEntityMongoUtils;\n\n @Inject\n public MongoDbRuleService(MongoCollections mongoCollections, ClusterEventBus clusterBus, EntityScopeService entityScopeService) {\n this.collection = mongoCollections.collection(COLLECTION, RuleDao.class);\n this.mongoUtils = mongoCollections.utils(collection);\n this.clusterBus = clusterBus;\n this.scopedEntityMongoUtils = mongoCollections.scopedEntityUtils(collection, entityScopeService);\n\n collection.createIndex(Indexes.ascending(FIELD_TITLE), new IndexOptions().unique(true));\n }\n\n @Override\n public RuleDao save(RuleDao rule, boolean checkMutability) {\n scopedEntityMongoUtils.ensureValidScope(rule);\n\n final var ruleId = rule.id();\n final RuleDao savedRule;\n if (ruleId != null) {\n if (checkMutability) {\n scopedEntityMongoUtils.ensureMutability(rule);\n }\n collection.replaceOne(MongoUtils.idEq(ruleId), rule, new ReplaceOptions().upsert(true));\n savedRule = rule;\n } else {\n final var insertedId = insertedIdAsString(collection.insertOne(rule));\n savedRule = rule.toBuilder().id(insertedId).build();\n }\n clusterBus.post(RulesChangedEvent.updatedRule(savedRule.id(), savedRule.title()));\n return savedRule;\n }\n\n @Override\n public RuleDao load(String id) throws NotFoundException {\n return mongoUtils.getById(id).orElseThrow(() ->\n new NotFoundException(\"No rule with id \" + id)\n );\n }\n\n @Override\n public RuleDao loadByName(String name) throws NotFoundException {\n final var rule = collection.find(Filters.eq(FIELD_TITLE, name)).first();\n if (rule == null) {\n throw new NotFoundException(\"No rule with name \" + name);\n }\n return rule;\n }\n\n @Override\n public Collection loadBySourcePattern(String sourcePattern) {\n return collection.find(regex(FIELD_SOURCE, Pattern.quote(sourcePattern))).into(new LinkedHashSet<>());\n }\n\n @Override\n public Collection loadAll() {\n return collection.find().sort(Sorts.ascending(FIELD_TITLE)).into(new LinkedHashSet<>());\n }\n\n @Override\n public Collection loadAllByTitle(String regex) {\n return collection.find(Filters.regex(FIELD_TITLE, regex))\n .sort(Sorts.ascending(FIELD_TITLE))\n .into(new LinkedHashSet<>());\n }\n\n @Override\n public Collection loadAllByScope(String scope) {\n return collection.find(Filters.eq(FIELD_SCOPE, scope))\n .sort(Sorts.ascending(FIELD_TITLE))\n .into(new LinkedHashSet<>());\n }\n\n @Override\n public void delete(String id) {\n try {\n delete(load(id));\n } catch (NotFoundException e) {\n log.info(\"Deleting non-existant rule {}\", id);\n }\n }\n\n @Override\n public void delete(RuleDao ruleDao) {\n if (!scopedEntityMongoUtils.deleteById(ruleDao.id(), false)) {\n log.error(\"Unable to delete rule {}\", ruleDao.title());\n } else {\n clusterBus.post(RulesChangedEvent.deletedRule(ruleDao.id(), ruleDao.title()));\n }\n }\n\n @Override\n public Collection loadNamed(Collection ruleNames) {\n return collection.find(Filters.in(FIELD_TITLE, ruleNames)).into(new LinkedHashSet<>());\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/d23c41fa0aa07d82612ce929ac44eaad4a4b997b.json b/web/public/bundles/graylog/code/d23c41fa0aa07d82612ce929ac44eaad4a4b997b.json new file mode 100644 index 00000000..e84b5635 --- /dev/null +++ b/web/public/bundles/graylog/code/d23c41fa0aa07d82612ce929ac44eaad4a4b997b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d23c41fa0aa07d82612ce929ac44eaad4a4b997b", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/periodicals/ScheduleTriggerCleanUp.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.scheduler.periodicals;\n\nimport jakarta.inject.Inject;\nimport org.graylog.scheduler.DBJobTriggerService;\nimport org.graylog.scheduler.DBSystemJobTriggerService;\nimport org.graylog2.plugin.periodical.Periodical;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.util.concurrent.TimeUnit;\n\npublic class ScheduleTriggerCleanUp extends Periodical {\n private static final Logger LOG = LoggerFactory.getLogger(ScheduleTriggerCleanUp.class);\n\n private final DBJobTriggerService dbJobTriggerService;\n private final DBSystemJobTriggerService dbSystemJobTriggerService;\n\n // Remove completed job triggers after a day\n private static final long OUTOFDATE_IN_DAYS = 1;\n\n @Inject\n public ScheduleTriggerCleanUp(DBJobTriggerService dbJobTriggerService,\n DBSystemJobTriggerService dbSystemJobTriggerService) {\n this.dbJobTriggerService = dbJobTriggerService;\n this.dbSystemJobTriggerService = dbSystemJobTriggerService;\n }\n\n @Override\n public boolean runsForever() {\n return false;\n }\n\n @Override\n public boolean stopOnGracefulShutdown() {\n return true;\n }\n\n @Override\n public boolean leaderOnly() {\n return true;\n }\n\n @Override\n public boolean startOnThisNode() {\n return true;\n }\n\n @Override\n public boolean isDaemon() {\n return true;\n }\n\n @Override\n public int getInitialDelaySeconds() {\n return 120;\n }\n\n @Override\n public int getPeriodSeconds() {\n return 86400;\n }\n\n @Override\n protected Logger getLogger() {\n return LOG;\n }\n\n @Override\n public void doRun() {\n int deleted = dbJobTriggerService.deleteCompletedOnceSchedulesOlderThan(OUTOFDATE_IN_DAYS, TimeUnit.DAYS);\n if (deleted > 0) {\n LOG.debug(\"Deleted {} outdated OnceJobSchedule triggers.\", deleted);\n }\n\n int deletedSystem = dbSystemJobTriggerService.deleteCompletedOnceSchedulesOlderThan(OUTOFDATE_IN_DAYS, TimeUnit.DAYS);\n if (deletedSystem > 0) {\n LOG.debug(\"Deleted {} completed system job triggers.\", deletedSystem);\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/d2b56e041c4eae68188e69385abe772e4ab5cd36.json b/web/public/bundles/graylog/code/d2b56e041c4eae68188e69385abe772e4ab5cd36.json new file mode 100644 index 00000000..475e7f33 --- /dev/null +++ b/web/public/bundles/graylog/code/d2b56e041c4eae68188e69385abe772e4ab5cd36.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d2b56e041c4eae68188e69385abe772e4ab5cd36", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/fieldtypes/IndexFieldTypesService.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.indexer.fieldtypes;\n\nimport com.google.common.collect.ImmutableList;\nimport com.mongodb.client.AggregateIterable;\nimport com.mongodb.client.model.Aggregates;\nimport com.mongodb.client.model.Filters;\nimport com.mongodb.client.model.IndexOptions;\nimport com.mongodb.client.model.Projections;\nimport com.mongodb.client.model.ReplaceOptions;\nimport com.mongodb.client.result.UpdateResult;\nimport jakarta.inject.Inject;\nimport org.bson.Document;\nimport org.bson.conversions.Bson;\nimport org.bson.types.ObjectId;\nimport org.graylog2.database.MongoCollection;\nimport org.graylog2.database.MongoCollections;\nimport org.graylog2.database.utils.MongoUtils;\n\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.Collection;\nimport java.util.HashSet;\nimport java.util.LinkedList;\nimport java.util.List;\nimport java.util.Locale;\nimport java.util.Optional;\n\nimport static com.mongodb.client.model.Filters.and;\nimport static com.mongodb.client.model.Filters.eq;\nimport static com.mongodb.client.model.Filters.in;\nimport static com.mongodb.client.model.Indexes.ascending;\nimport static com.mongodb.client.model.Projections.excludeId;\nimport static com.mongodb.client.model.Projections.include;\nimport static org.graylog2.indexer.fieldtypes.FieldTypeDTO.FIELD_NAME;\nimport static org.graylog2.indexer.fieldtypes.FieldTypeDTO.FIELD_PHYSICAL_TYPE;\nimport static org.graylog2.indexer.fieldtypes.FieldTypeMapper.TYPE_MAP;\nimport static org.graylog2.indexer.fieldtypes.IndexFieldTypesDTO.FIELD_FIELDS;\nimport static org.graylog2.indexer.fieldtypes.IndexFieldTypesDTO.FIELD_INDEX_NAME;\nimport static org.graylog2.indexer.fieldtypes.IndexFieldTypesDTO.FIELD_INDEX_SET_ID;\nimport static org.graylog2.indexer.indexset.CustomFieldMappings.REVERSE_TYPES;\n\n/**\n * Manages the \"index_field_types\" MongoDB collection.\n */\npublic class IndexFieldTypesService {\n private static final String FIELDS_FIELD_NAMES = String.format(Locale.US, \"%s.%s\", FIELD_FIELDS, FIELD_NAME);\n\n private final MongoCollection collection;\n private final MongoUtils mongoUtils;\n\n @Inject\n public IndexFieldTypesService(MongoCollections mongoCollections) {\n collection = mongoCollections.collection(\"index_field_types\", IndexFieldTypesDTO.class);\n mongoUtils = mongoCollections.utils(collection);\n\n collection.createIndex(ascending(FIELD_INDEX_NAME, FIELD_INDEX_SET_ID), new IndexOptions().unique(true));\n collection.createIndex(ascending(FIELD_INDEX_NAME), new IndexOptions().unique(true));\n collection.createIndex(ascending(FIELDS_FIELD_NAMES));\n collection.createIndex(ascending(FIELD_INDEX_SET_ID));\n }\n\n public List fieldTypeHistory(final String indexSetId,\n final String fieldName,\n final boolean skipEntriesWithUnchangedType) {\n final AggregateIterable aggregateResult = collection.aggregate(List.of(\n Aggregates.unwind(\"$\" + FIELD_FIELDS),\n Aggregates.match(and(\n eq(FIELD_INDEX_SET_ID, indexSetId),\n eq(FIELD_FIELDS + \".\" + FIELD_NAME, fieldName)\n )),\n Aggregates.project(Projections.fields(\n include(FIELD_FIELDS + \".\" + FIELD_PHYSICAL_TYPE),\n excludeId()\n ))\n ),\n Document.class\n );\n\n List typeHistory = new ArrayList<>();\n\n aggregateResult\n .map(document -> ((Document) document.get(FIELD_FIELDS)).getString(FIELD_PHYSICAL_TYPE))\n .map(TYPE_MAP::get)\n .map(REVERSE_TYPES::get)\n .forEach(typeHistory::add);\n\n if (!skipEntriesWithUnchangedType) {\n return typeHistory;\n } else {\n LinkedList reducedTypeHistory = new LinkedList<>();\n typeHistory.forEach(type -> {\n if (reducedTypeHistory.isEmpty() || (type != null && !type.equals(reducedTypeHistory.getLast()))) {\n reducedTypeHistory.add(type);\n }\n });\n return reducedTypeHistory;\n }\n }\n\n public Optional get(String idOrIndexName) {\n try {\n return mongoUtils.getById(new ObjectId(idOrIndexName));\n } catch (IllegalArgumentException e) {\n // Not an ObjectId, try again with index_name\n return Optional.ofNullable(collection.find(eq(FIELD_INDEX_NAME, idOrIndexName)).first());\n }\n }\n\n public IndexFieldTypesDTO save(IndexFieldTypesDTO dto) {\n return mongoUtils.save(dto);\n }\n\n public Optional upsert(IndexFieldTypesDTO dto) {\n final UpdateResult updateResult = collection.replaceOne(\n and(\n eq(FIELD_INDEX_NAME, dto.indexName()),\n eq(FIELD_INDEX_SET_ID, dto.indexSetId())\n ),\n dto,\n new ReplaceOptions().upsert(true)\n );\n\n final var id = updateResult.getUpsertedId();\n if (id != null) {\n return Optional.of(dto.toBuilder()\n .id(id.asObjectId().getValue().toHexString())\n .build());\n }\n\n return Optional.empty();\n }\n\n public void delete(String idOrIndexName) {\n try {\n mongoUtils.deleteById(new ObjectId(idOrIndexName));\n } catch (IllegalArgumentException e) {\n // Not an ObjectId, try again with index_name\n collection.deleteOne(eq(FIELD_INDEX_NAME, idOrIndexName));\n }\n }\n\n public Collection findForIndexSet(String indexSetId) {\n return findByQuery(eq(FIELD_INDEX_SET_ID, indexSetId));\n }\n\n public Collection findForIndexSets(Collection indexSetIds) {\n return findByQuery(in(FIELD_INDEX_SET_ID, indexSetIds));\n }\n\n public Collection findForFieldNames(Collection fieldNames) {\n return findByQuery(in(FIELDS_FIELD_NAMES, fieldNames));\n }\n\n public Collection findForFieldNamesAndIndices(Collection fieldNames, Collection indexNames) {\n final var query = and(\n in(FIELD_INDEX_NAME, indexNames),\n in(FIELDS_FIELD_NAMES, fieldNames)\n );\n\n return findByQuery(query);\n }\n\n public Collection findForSingleField(String fieldName, Collection indexNames) {\n final var query = and(\n in(FIELD_INDEX_NAME, indexNames),\n in(FIELDS_FIELD_NAMES, fieldName)\n );\n\n return collection.aggregate(Arrays.asList(\n Aggregates.match(query),\n Aggregates.unwind(\"$\" + FIELD_FIELDS),\n Aggregates.match(Filters.eq(FIELDS_FIELD_NAMES, fieldName)),\n Aggregates.replaceRoot(\"$\" + FIELD_FIELDS)\n ), FieldTypeDTO.class)\n .into(new HashSet<>());\n }\n\n public Collection findAll() {\n return findByQuery(Filters.empty());\n }\n\n private Collection findByQuery(Bson query) {\n return ImmutableList.copyOf(collection.find(query));\n }\n\n public IndexFieldTypesDTO findOneByIndexName(final String indexName) {\n return collection.find(eq(FIELD_INDEX_NAME, indexName)).first();\n }\n\n public List findByIndexNames(final Collection indexNames) {\n return collection.find(in(FIELD_INDEX_NAME, indexNames)).into(new ArrayList<>());\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/d2b5dcb52151c2f400814a95739e086f1aa42702.json b/web/public/bundles/graylog/code/d2b5dcb52151c2f400814a95739e086f1aa42702.json new file mode 100644 index 00000000..af9b1ee2 --- /dev/null +++ b/web/public/bundles/graylog/code/d2b5dcb52151c2f400814a95739e086f1aa42702.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d2b5dcb52151c2f400814a95739e086f1aa42702", + "language": "typescript", + "path": "graylog2-web-interface/src/views/components/dashboard/hooks/useDashboards.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport { keepPreviousData, useQuery } from '@tanstack/react-query';\n\nimport type { ViewJson } from 'views/logic/views/View';\nimport View from 'views/logic/views/View';\nimport type { SearchParams, PaginatedListJSON, Attribute } from 'stores/PaginationTypes';\nimport fetch from 'logic/rest/FetchProvider';\nimport { qualifyUrl } from 'util/URLUtils';\nimport PaginationURL from 'util/PaginationURL';\nimport { defaultOnError } from 'util/conditional/onError';\nimport FiltersForQueryParams from 'components/common/EntityFilters/FiltersForQueryParams';\nimport type { SearchParamsForDashboards } from 'views/components/dashboard/SearchParamsForDashboards';\n\nconst INITIAL_DATA = {\n pagination: { total: 0 },\n list: [],\n attributes: [],\n};\n\nexport const KEY_PREFIX = ['dashboards', 'overview'];\nexport const keyFn = (searchParams: SearchParams) => [...KEY_PREFIX, searchParams];\n\nconst dashboardsUrl = qualifyUrl('/dashboards');\n\ntype PaginatedDashboardsResponse = PaginatedListJSON & {\n elements: Array;\n attributes: Array;\n};\n\ntype Options = {\n enabled?: boolean;\n};\n\nexport const fetchDashboards = (searchParams: SearchParamsForDashboards) => {\n const url = PaginationURL(dashboardsUrl, searchParams.page, searchParams.pageSize, searchParams.query, {\n sort: searchParams.sort.attributeId,\n order: searchParams.sort.direction,\n scope: searchParams.scope,\n filters: FiltersForQueryParams(searchParams.filters),\n });\n\n return fetch('GET', qualifyUrl(url)).then(\n ({ elements, total, count, page, per_page: perPage, attributes }) => ({\n list: elements.map((item) => View.fromJSON(item)),\n pagination: { total, count, page, perPage },\n attributes,\n }),\n );\n};\n\nconst useDashboards = (\n searchParams: SearchParamsForDashboards,\n { enabled }: Options = { enabled: true },\n): {\n data: {\n list: Readonly>;\n pagination: { total: number };\n attributes: Array;\n };\n refetch: () => void;\n isInitialLoading: boolean;\n} => {\n const { data, refetch, isInitialLoading } = useQuery({\n queryKey: keyFn(searchParams),\n\n queryFn: () =>\n defaultOnError(\n fetchDashboards(searchParams),\n 'Loading dashboards failed with status',\n 'Could not load dashboards',\n ),\n placeholderData: keepPreviousData,\n enabled,\n });\n\n return {\n data: data ?? INITIAL_DATA,\n refetch,\n isInitialLoading,\n };\n};\n\nexport default useDashboards;\n" +} diff --git a/web/public/bundles/graylog/code/d36b736f8d31511fbbe2730f29149abdaa37b9d5.json b/web/public/bundles/graylog/code/d36b736f8d31511fbbe2730f29149abdaa37b9d5.json new file mode 100644 index 00000000..68bf8abb --- /dev/null +++ b/web/public/bundles/graylog/code/d36b736f8d31511fbbe2730f29149abdaa37b9d5.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d36b736f8d31511fbbe2730f29149abdaa37b9d5", + "language": "typescript", + "path": "graylog2-web-interface/src/logic/permissions/mocked.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as Immutable from 'immutable';\n\nimport SharedEntity from 'logic/permissions/SharedEntity';\nimport type { AdditionalQueries } from 'util/PaginationURL';\n\n// Temporary file to mock api responses\n\nconst searchPaginatedEntitySharesResponse = (\n page: number,\n perPage: number,\n query: string,\n additionalQueries?: AdditionalQueries,\n) => {\n const mockedEntities = new Array(perPage).fill({\n id: 'grn::::stream:57bc9188e62a2373778d9e03',\n type: 'stream',\n title: 'Security Data',\n owners: [\n {\n id: 'grn::::user:jane',\n type: 'user',\n title: 'Jane Doe',\n },\n ],\n });\n\n const mockedResponse = {\n additionalQueries: additionalQueries,\n total: 230,\n count: Math.round(230 / perPage),\n page: page || 1,\n per_page: perPage || 10,\n query: query || '',\n entities: mockedEntities,\n context: {\n grantee_capabilities: {\n 'grn::::stream:57bc9188e62a2373778d9e03': 'view',\n },\n },\n };\n\n return Promise.resolve({\n list: Immutable.List(mockedResponse.entities.map((se) => SharedEntity.fromJSON(se))),\n context: { granteeCapabilities: mockedResponse.context.grantee_capabilities },\n pagination: {\n additionalQueries: mockedResponse.additionalQueries,\n count: mockedResponse.count,\n total: mockedResponse.total,\n page: mockedResponse.page,\n perPage: mockedResponse.per_page,\n query: mockedResponse.query,\n },\n });\n};\n\nconst availableEntityTypes = {\n stream: 'Stream',\n dashboard: 'Dashboard',\n search: 'Saved Search',\n search_filter: 'Search Filter',\n event_definition: 'Event Definition',\n event_procedure: 'Event Procedure',\n notification: 'Notification',\n report: 'Report',\n sigma_rule: 'Sigma Rule',\n};\n\nconst availableCapabilities = {\n own: 'Owner',\n view: 'Viewer',\n manage: 'Manager',\n};\n\nexport default { searchPaginatedEntitySharesResponse, availableEntityTypes, availableCapabilities };\n" +} diff --git a/web/public/bundles/graylog/code/d3d36c7c9fe47f03171910921d55969c484bd76e.json b/web/public/bundles/graylog/code/d3d36c7c9fe47f03171910921d55969c484bd76e.json new file mode 100644 index 00000000..5dc4c3f3 --- /dev/null +++ b/web/public/bundles/graylog/code/d3d36c7c9fe47f03171910921d55969c484bd76e.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d3d36c7c9fe47f03171910921d55969c484bd76e", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/lock/MongoLockService.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.cluster.lock;\n\nimport com.google.common.base.Preconditions;\nimport com.google.common.base.Strings;\nimport com.mongodb.MongoCommandException;\nimport com.mongodb.client.MongoCollection;\nimport com.mongodb.client.model.FindOneAndUpdateOptions;\nimport com.mongodb.client.model.IndexOptions;\nimport com.mongodb.client.model.Indexes;\nimport com.mongodb.client.model.ReturnDocument;\nimport com.mongodb.client.model.Updates;\nimport jakarta.inject.Inject;\nimport jakarta.inject.Named;\nimport jakarta.inject.Singleton;\nimport org.bson.Document;\nimport org.graylog2.database.MongoConnection;\nimport org.graylog2.plugin.system.NodeId;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport javax.annotation.Nonnull;\nimport javax.annotation.Nullable;\nimport java.time.Duration;\nimport java.time.Instant;\nimport java.time.ZoneOffset;\nimport java.time.ZonedDateTime;\nimport java.util.Objects;\nimport java.util.Optional;\nimport java.util.UUID;\n\nimport static com.mongodb.client.model.Filters.and;\nimport static com.mongodb.client.model.Filters.eq;\nimport static com.mongodb.client.model.Updates.currentDate;\nimport static com.mongodb.client.model.Updates.setOnInsert;\nimport static org.graylog2.cluster.lock.Lock.FIELD_LOCKED_BY;\nimport static org.graylog2.cluster.lock.Lock.FIELD_RESOURCE;\nimport static org.graylog2.cluster.lock.Lock.FIELD_UPDATED_AT;\nimport static org.graylog2.database.indices.MongoDbIndexTools.ensureTTLIndex;\nimport static org.graylog2.shared.utilities.StringUtils.f;\n\n/**\n * Lock service implementation using MongoDB to maintain locks.\n * Unless a lock is kept alive by periodically re-requesting the same lock, it will eventually expire.\n * Lock expiry is handled by MongoDB internally. We set lock expiry to 60 seconds, but in practice it may take up to ~2\n * minutes until a lock really expires.\n */\n@Singleton\npublic class MongoLockService implements LockService {\n private static final Logger LOG = LoggerFactory.getLogger(MongoLockService.class);\n\n public static final String COLLECTION_NAME = \"cluster_locks\";\n public static final java.time.Duration MIN_LOCK_TTL = Duration.ofSeconds(60);\n\n private final NodeId nodeId;\n private final MongoCollection collection;\n\n @Inject\n public MongoLockService(NodeId nodeId,\n MongoConnection mongoConnection,\n @Named(\"lock_service_lock_ttl\") Duration lockTTL) {\n this.nodeId = nodeId;\n\n collection = mongoConnection.getMongoDatabase().getCollection(COLLECTION_NAME);\n collection.createIndex(Indexes.ascending(FIELD_RESOURCE), new IndexOptions().unique(true));\n\n ensureTTLIndex(collection, lockTTL, FIELD_UPDATED_AT);\n }\n\n @Override\n public Optional lock(@Nonnull String resource, @Nullable String lockContext) {\n return doLock(resource, getLockedByString(lockContext));\n }\n\n @Override\n public Optional lock(@Nonnull String resource) {\n return lock(resource, null);\n }\n\n @Override\n public Optional lock(@Nonnull String resource, int maxConcurrency) {\n Preconditions.checkArgument(!Strings.isNullOrEmpty(resource));\n Preconditions.checkArgument(maxConcurrency > 0, \"maxConcurrency must be greater 0\");\n\n for (int i = 0; i < maxConcurrency; i++) {\n Optional lock = doLock(f(\"%s-%d\", resource, i), getLockedByString(UUID.randomUUID().toString()));\n if (lock.isPresent()) {\n if (LOG.isTraceEnabled()) {\n LOG.trace(\"Resource <{}> locked ({} of {} max)\", resource, i, maxConcurrency);\n }\n return lock;\n }\n }\n if (LOG.isTraceEnabled()) {\n LOG.trace(\"Couldn't lock resource <{}> because of concurrency limit (max {})\", resource, maxConcurrency);\n }\n return Optional.empty();\n }\n\n @Override\n public Optional extendLock(@Nonnull Lock lock) {\n //noinspection ConstantValue\n if (lock != null) {\n return doLock(lock.resource(), lock.lockedBy());\n }\n return Optional.empty();\n }\n\n private Optional doLock(@Nonnull String resource, @Nonnull String lockedBy) {\n Preconditions.checkArgument(!Strings.isNullOrEmpty(resource));\n Preconditions.checkArgument(!Strings.isNullOrEmpty(lockedBy));\n\n try {\n final Document doc = collection.findOneAndUpdate(\n and(eq(FIELD_RESOURCE, resource), eq(FIELD_LOCKED_BY, lockedBy)),\n Updates.combine(\n currentDate(FIELD_UPDATED_AT),\n setOnInsert(FIELD_RESOURCE, resource),\n setOnInsert(FIELD_LOCKED_BY, lockedBy)\n ),\n new FindOneAndUpdateOptions().upsert(true).returnDocument(ReturnDocument.AFTER));\n\n return Optional.of(toLock(Objects.requireNonNull(doc)));\n } catch (MongoCommandException e) {\n // Getting a duplicate key exception here means that there is a lock already, but we are not the owner.\n if (e.getCode() == 11000) {\n return Optional.empty();\n }\n throw e;\n }\n }\n\n @Override\n public Optional unlock(@Nonnull String resource, @Nullable String lockContext) {\n return doUnlock(resource, getLockedByString(lockContext));\n }\n\n @Override\n public Optional unlock(@Nonnull Lock lock) {\n //noinspection ConstantValue\n if (lock != null) {\n return doUnlock(lock.resource(), lock.lockedBy());\n }\n return Optional.empty();\n }\n\n private Optional doUnlock(@Nonnull String resource, @Nonnull String lockedBy) {\n Preconditions.checkArgument(!Strings.isNullOrEmpty(resource));\n Preconditions.checkArgument(!Strings.isNullOrEmpty(lockedBy));\n\n final Document deletedDocument =\n collection.findOneAndDelete(\n and(eq(FIELD_RESOURCE, resource), eq(FIELD_LOCKED_BY, lockedBy)));\n\n if (deletedDocument != null) {\n return Optional.of(toLock(deletedDocument));\n }\n\n return Optional.empty();\n }\n\n private Lock toLock(Document doc) {\n final ZonedDateTime createdAt =\n Instant.ofEpochSecond(doc.getObjectId(\"_id\").getTimestamp())\n .atZone(ZoneOffset.UTC);\n\n final ZonedDateTime updatedAt = doc.getDate(FIELD_UPDATED_AT).toInstant()\n .atZone(ZoneOffset.UTC);\n\n return Lock.builder()\n .resource(doc.getString(FIELD_RESOURCE))\n .createdAt(createdAt)\n .updatedAt(updatedAt)\n .lockedBy(doc.getString(FIELD_LOCKED_BY))\n .build();\n }\n\n private String getLockedByString(@Nullable String lockContext) {\n if (lockContext == null) {\n return nodeId.getNodeId();\n }\n return nodeId.getNodeId() + \"-\" + lockContext;\n }\n}\n\n" +} diff --git a/web/public/bundles/graylog/code/d43f4e5f810ecb22ff370ccd54d7f5117ddf9a95.json b/web/public/bundles/graylog/code/d43f4e5f810ecb22ff370ccd54d7f5117ddf9a95.json new file mode 100644 index 00000000..771e3190 --- /dev/null +++ b/web/public/bundles/graylog/code/d43f4e5f810ecb22ff370ccd54d7f5117ddf9a95.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d43f4e5f810ecb22ff370ccd54d7f5117ddf9a95", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/certificates/EncryptedCaKeystore.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.cluster.certificates;\n\nimport org.graylog2.security.encryption.EncryptedValue;\n\npublic record EncryptedCaKeystore(EncryptedValue keystore) {\n}\n" +} diff --git a/web/public/bundles/graylog/code/d4632d25460e2451f58a9b52747b61e4afb992e0.json b/web/public/bundles/graylog/code/d4632d25460e2451f58a9b52747b61e4afb992e0.json new file mode 100644 index 00000000..293a28d1 --- /dev/null +++ b/web/public/bundles/graylog/code/d4632d25460e2451f58a9b52747b61e4afb992e0.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d4632d25460e2451f58a9b52747b61e4afb992e0", + "language": "typescript", + "path": "graylog2-web-interface/src/preflight/components/WaitingForStartup.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\n\nimport * as React from 'react';\nimport styled from 'styled-components';\nimport { useEffect } from 'react';\nimport { Space } from '@mantine/core';\n\nimport useProductName from 'brand-customization/useProductName';\nimport Spinner from 'components/common/Spinner';\nimport { Section } from 'preflight/components/common';\nimport useServerAvailability from 'preflight/hooks/useServerAvailability';\nimport reloadPage from 'preflight/components/reloadPage';\n\nconst P = styled.p`\n max-width: 700px;\n`;\n\nconst WaitingForStartup = () => {\n const productName = useProductName();\n const { data: serverIsAvailable } = useServerAvailability();\n\n useEffect(() => {\n if (serverIsAvailable) {\n reloadPage();\n }\n }, [serverIsAvailable]);\n\n return (\n
\n

\n The {productName} server is currently starting. Depending on your setup it may take a few minutes. This page\n will automatically refresh once the {productName} server is reachable. You can always refresh manually, please\n be aware that this page will not be visible afterwards.\n

\n\n \n \n \n \n
\n );\n};\n\nexport default WaitingForStartup;\n" +} diff --git a/web/public/bundles/graylog/code/d5f3a3fef9f0f0e731bd5f57a0130926b16d6cd2.json b/web/public/bundles/graylog/code/d5f3a3fef9f0f0e731bd5f57a0130926b16d6cd2.json new file mode 100644 index 00000000..2a7a9239 --- /dev/null +++ b/web/public/bundles/graylog/code/d5f3a3fef9f0f0e731bd5f57a0130926b16d6cd2.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d5f3a3fef9f0f0e731bd5f57a0130926b16d6cd2", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/threatintel/PluginConfigService.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.threatintel;\n\nimport com.google.common.collect.ImmutableList;\nimport com.google.common.eventbus.EventBus;\nimport com.google.common.eventbus.Subscribe;\nimport jakarta.inject.Inject;\nimport jakarta.inject.Singleton;\nimport org.graylog2.cluster.ClusterConfigChangedEvent;\nimport org.graylog2.database.PaginatedList;\nimport org.graylog2.events.ClusterEventBus;\nimport org.graylog2.lookup.db.DBDataAdapterService;\nimport org.graylog2.lookup.dto.DataAdapterDto;\nimport org.graylog2.lookup.events.DataAdaptersUpdated;\nimport org.graylog2.plugin.cluster.ClusterConfigService;\nimport org.graylog2.rest.models.SortOrder;\nimport org.graylog2.shared.utilities.AutoValueUtils;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport javax.annotation.Nonnull;\nimport javax.annotation.Nullable;\nimport java.util.Objects;\nimport java.util.Optional;\nimport java.util.Set;\nimport java.util.concurrent.atomic.AtomicReference;\nimport java.util.stream.Collectors;\n\nimport static com.mongodb.client.model.Filters.eq;\n\n/**\n * Provides up to date access to this plugins' cluster config without forcing consumers to listen to updates manually.\n */\n@Singleton\npublic class PluginConfigService {\n private static final Logger LOG = LoggerFactory.getLogger(PluginConfigService.class);\n\n private final ClusterConfigService clusterConfigService;\n private final DBDataAdapterService dbDataAdapterService;\n private final ClusterEventBus clusterEventBus;\n private AtomicReference> config = new AtomicReference<>();\n\n @Inject\n public PluginConfigService(final ClusterConfigService clusterConfigService,\n final EventBus serverEventBus,\n final DBDataAdapterService dbDataAdapterService,\n final ClusterEventBus clusterEventBus) {\n this.clusterConfigService = clusterConfigService;\n this.dbDataAdapterService = dbDataAdapterService;\n this.clusterEventBus = clusterEventBus;\n final ThreatIntelPluginConfiguration currentVersion = clusterConfigService.get(ThreatIntelPluginConfiguration.class);\n final ConfigVersions versions = ConfigVersions.of(null,\n Optional.ofNullable(currentVersion).orElse(ThreatIntelPluginConfiguration.defaults()));\n config.set(versions);\n serverEventBus.register(this);\n }\n\n public ConfigVersions config() {\n return config.get();\n }\n\n @Subscribe\n public void handleUpdatedClusterConfig(ClusterConfigChangedEvent clusterConfigChangedEvent) {\n if (clusterConfigChangedEvent.type().equals(AutoValueUtils.getCanonicalName((ThreatIntelPluginConfiguration.class)))) {\n final ThreatIntelPluginConfiguration currentVersion = Optional.ofNullable(clusterConfigService.get(ThreatIntelPluginConfiguration.class))\n .orElse(ThreatIntelPluginConfiguration.defaults());\n final ThreatIntelPluginConfiguration previous = config.get().getCurrent();\n config.set(ConfigVersions.of(previous, currentVersion));\n\n // check for changes in the configuration and bounce the corresponding adapters if something changed\n final ImmutableList.Builder adaptersToLoad = ImmutableList.builder();\n if (previous.abusechRansomEnabled() != currentVersion.abusechRansomEnabled()) {\n adaptersToLoad.add(\"abuse-ch-ransomware-domains\", \"abuse-ch-ransomware-ip\");\n }\n if (previous.torEnabled() != currentVersion.torEnabled()) {\n adaptersToLoad.add(\"tor-exit-node\");\n }\n if (previous.spamhausEnabled() != currentVersion.spamhausEnabled()) {\n adaptersToLoad.add(\"spamhaus-drop\");\n }\n\n // we request 10 per page, which is more than enough for the 4 that we potentially have to bounce\n final ImmutableList adapterNames = adaptersToLoad.build();\n final PaginatedList adapterDtos = dbDataAdapterService.findPaginated(\n eq(DataAdapterDto.FIELD_NAME, adapterNames),\n SortOrder.ASCENDING.toBsonSort(DataAdapterDto.FIELD_ID),\n 1,\n 10);\n\n final Set adapterIds = adapterDtos.delegate().stream().map(DataAdapterDto::id).collect(Collectors.toSet());\n if (!adapterIds.isEmpty()) {\n LOG.debug(\"Restarting data adapters {} due to updated enabled/disabled states\", adapterNames);\n // this takes care of restarting the lookup tables and necessary adapters and caches to reflect their \"enabled-ness\"\n clusterEventBus.post(DataAdaptersUpdated.create(adapterIds));\n }\n }\n }\n\n /**\n * Used by {@link PluginConfigService} to return the previously observed and current configuration\n * so that clients can act on changes if they need to.\n *\n * @param the plugin cluster configuration class\n */\n public static class ConfigVersions {\n\n @Nullable\n private final T previous;\n\n @Nonnull\n private final T current;\n\n public ConfigVersions(@Nullable T previous, @Nonnull T current) {\n this.previous = previous;\n this.current = current;\n }\n\n public static ConfigVersions of(@Nullable T previous, @Nonnull T current) {\n return new ConfigVersions<>(previous, current);\n }\n\n public Optional getPrevious() {\n return Optional.ofNullable(previous);\n }\n\n @Nonnull\n public T getCurrent() {\n return current;\n }\n\n @Override\n public boolean equals(Object o) {\n if (this == o) return true;\n if (o == null || getClass() != o.getClass()) return false;\n ConfigVersions that = (ConfigVersions) o;\n return Objects.equals(previous, that.previous) &&\n Objects.equals(current, that.current);\n }\n\n @Override\n public int hashCode() {\n return Objects.hash(previous, current);\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/d60b55993544fb32b7d0584a76607c35f2a8d44b.json b/web/public/bundles/graylog/code/d60b55993544fb32b7d0584a76607c35f2a8d44b.json new file mode 100644 index 00000000..12a1e007 --- /dev/null +++ b/web/public/bundles/graylog/code/d60b55993544fb32b7d0584a76607c35f2a8d44b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d60b55993544fb32b7d0584a76607c35f2a8d44b", + "language": "typescript", + "path": "graylog2-web-interface/src/hooks/useLocationSearchPagination.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport { useEffect, useState } from 'react';\nimport { parse, stringify } from 'qs';\n\nimport useHistory from 'routing/useHistory';\nimport useLocation from 'routing/useLocation';\nimport type { Pagination } from 'stores/PaginationTypes';\n\ntype UseLocationSearchPaginationType = {\n isInitialized: boolean;\n pagination: Pagination;\n setPagination: (nextPagination: Pagination) => void;\n};\n\nconst useLocationSearchPagination = (defaultPagination: Pagination): UseLocationSearchPaginationType => {\n const { push } = useHistory();\n const location = useLocation();\n const [parsedPagination, setParsedPagination] = useState(defaultPagination);\n const [isInitialized, setIsInitialized] = useState(false);\n\n useEffect(() => {\n const convertToSafePositiveInteger = (maybeNumber: any): number | undefined => {\n const parsedNumber = Number.parseInt(maybeNumber, 10);\n\n return Number.isSafeInteger(parsedNumber) && parsedNumber > 0 ? parsedNumber : undefined;\n };\n\n const parsePaginationFromSearch = (search: string): Pagination => {\n const parsedSearch = parse(search, { ignoreQueryPrefix: true }) ?? {};\n const { page: searchPage, perPage: searchPerPage, query: searchQuery } = parsedSearch;\n\n return {\n page: convertToSafePositiveInteger(searchPage) ?? defaultPagination.page,\n perPage: convertToSafePositiveInteger(searchPerPage) ?? defaultPagination.perPage,\n query: typeof searchQuery === 'string' ? searchQuery : defaultPagination.query,\n };\n };\n\n // eslint-disable-next-line react-hooks/set-state-in-effect\n setParsedPagination(parsePaginationFromSearch(location.search));\n setIsInitialized(true);\n }, [location.search, defaultPagination]);\n\n const setLocationSearchPagination = (nextPagination: Pagination) => {\n push(`${location.pathname}${stringify(nextPagination, { addQueryPrefix: true })}`);\n };\n\n return {\n isInitialized,\n pagination: parsedPagination,\n setPagination: setLocationSearchPagination,\n };\n};\n\nexport default useLocationSearchPagination;\n" +} diff --git a/web/public/bundles/graylog/code/d683a272073a1ea3b276740255ad18689de8a60f.json b/web/public/bundles/graylog/code/d683a272073a1ea3b276740255ad18689de8a60f.json new file mode 100644 index 00000000..0ebe2a2c --- /dev/null +++ b/web/public/bundles/graylog/code/d683a272073a1ea3b276740255ad18689de8a60f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d683a272073a1ea3b276740255ad18689de8a60f", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/system/stats/network/OshiNetworkProbe.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.shared.system.stats.network;\n\nimport org.apache.commons.lang3.StringUtils;\nimport org.graylog2.shared.system.stats.OshiService;\nimport org.graylog2.utilities.IpSubnet;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport oshi.hardware.NetworkIF;\nimport oshi.software.os.InternetProtocolStats;\nimport oshi.software.os.NetworkParams;\n\nimport jakarta.inject.Inject;\n\nimport java.net.InterfaceAddress;\nimport java.net.UnknownHostException;\nimport java.util.HashMap;\nimport java.util.Map;\nimport java.util.stream.Collectors;\n\npublic class OshiNetworkProbe implements NetworkProbe {\n private static final Logger LOG = LoggerFactory.getLogger(OshiNetworkProbe.class);\n\n private final OshiService service;\n\n @Inject\n public OshiNetworkProbe(OshiService service) {\n this.service = service;\n }\n\n\n @Override\n public NetworkStats networkStats() {\n String primaryInterface = \"\";\n\n final NetworkParams networkParams = service.getOs().getNetworkParams();\n final String defaultGateway = networkParams.getIpv4DefaultGateway();\n\n Map ifaces = new HashMap<>();\n for (NetworkIF it : service.getHal().getNetworkIFs()) {\n if (StringUtils.isNotBlank(defaultGateway)) {\n for (InterfaceAddress that : it.queryNetworkInterface().getInterfaceAddresses()) {\n try {\n final IpSubnet ipSubnet = new IpSubnet(that.getAddress().getHostAddress() + \"/\" + that.getNetworkPrefixLength());\n if (ipSubnet.contains(defaultGateway)) {\n primaryInterface = it.getName();\n }\n } catch (UnknownHostException e) {\n LOG.warn(\"Couldn't find primary interface\", e);\n }\n }\n }\n\n NetworkStats.Interface anInterface = NetworkStats.Interface.create(\n it.getName(),\n it.queryNetworkInterface().getInterfaceAddresses().stream().map(address -> address.getAddress().getHostAddress()).collect(Collectors.toSet()),\n it.getMacaddr(),\n it.getMTU(),\n NetworkStats.InterfaceStats.create(\n it.getPacketsRecv(),\n it.getInErrors(),\n it.getInDrops(),\n -1,\n -1,\n it.getPacketsSent(),\n it.getOutErrors(),\n -1,\n -1,\n -1,\n it.getCollisions(),\n it.getBytesRecv(),\n it.getBytesSent()\n )\n\n );\n ifaces.putIfAbsent(anInterface.name(), anInterface);\n }\n\n final InternetProtocolStats stats = service.getOs().getInternetProtocolStats();\n final InternetProtocolStats.TcpStats ipv4Stats = stats.getTCPv4Stats();\n final InternetProtocolStats.TcpStats ipv6Stats = stats.getTCPv6Stats();\n\n final NetworkStats.TcpStats tcpStats = NetworkStats.TcpStats.create(\n ipv4Stats.getConnectionsActive() + ipv6Stats.getConnectionsActive(),\n ipv4Stats.getConnectionsPassive() + ipv6Stats.getConnectionsPassive(),\n ipv4Stats.getConnectionFailures() + ipv6Stats.getConnectionFailures(),\n ipv4Stats.getConnectionsReset() + ipv6Stats.getConnectionsReset(),\n ipv4Stats.getConnectionsEstablished() + ipv6Stats.getConnectionsEstablished(),\n ipv4Stats.getSegmentsReceived() + ipv6Stats.getSegmentsReceived(),\n ipv4Stats.getSegmentsSent() + ipv6Stats.getSegmentsSent(),\n ipv4Stats.getSegmentsRetransmitted() + ipv6Stats.getSegmentsRetransmitted(),\n ipv4Stats.getInErrors() + ipv6Stats.getInErrors(),\n ipv4Stats.getOutResets() + ipv6Stats.getOutResets()\n );\n\n return NetworkStats.create(primaryInterface, ifaces, tcpStats);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/d6df970ae135122aae6cc0f00140ee086b1cf8dd.json b/web/public/bundles/graylog/code/d6df970ae135122aae6cc0f00140ee086b1cf8dd.json new file mode 100644 index 00000000..f3b0735d --- /dev/null +++ b/web/public/bundles/graylog/code/d6df970ae135122aae6cc0f00140ee086b1cf8dd.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d6df970ae135122aae6cc0f00140ee086b1cf8dd", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/system/stats/fs/JmxFsProbe.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.shared.system.stats.fs;\n\nimport com.google.common.collect.ImmutableSet;\nimport com.google.common.primitives.Shorts;\nimport jakarta.inject.Inject;\nimport org.graylog2.Configuration;\nimport org.graylog2.plugin.KafkaJournalConfiguration;\nimport org.graylog2.plugin.Tools;\n\nimport java.io.File;\nimport java.util.HashMap;\nimport java.util.Map;\nimport java.util.Set;\n\npublic class JmxFsProbe implements FsProbe {\n private final Set locations;\n\n @Inject\n public JmxFsProbe(Configuration configuration, KafkaJournalConfiguration kafkaJournalConfiguration) {\n this.locations = ImmutableSet.of(\n configuration.getBinDir().toFile(),\n configuration.getDataDir().toFile(),\n kafkaJournalConfiguration.getMessageJournalDir().toFile()\n );\n }\n\n @Override\n public FsStats fsStats() {\n final Map filesystems = new HashMap<>(locations.size());\n\n for (File location : locations) {\n final String path = location.getAbsolutePath();\n final long total = location.getTotalSpace();\n final long free = location.getFreeSpace();\n final long available = location.getUsableSpace();\n final long used = total - free;\n final short usedPercent = Shorts.saturatedCast(Tools.percentageOfRounded(total, used));\n\n final FsStats.Filesystem filesystem = FsStats.Filesystem.create(\n path, total, free, available, used, usedPercent);\n\n filesystems.put(path, filesystem);\n }\n\n return FsStats.create(filesystems);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/d7e392c2a37d5aff71e0f9f5d1d3de72d0e870f0.json b/web/public/bundles/graylog/code/d7e392c2a37d5aff71e0f9f5d1d3de72d0e870f0.json new file mode 100644 index 00000000..6d8c6ecc --- /dev/null +++ b/web/public/bundles/graylog/code/d7e392c2a37d5aff71e0f9f5d1d3de72d0e870f0.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d7e392c2a37d5aff71e0f9f5d1d3de72d0e870f0", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/audit/PipelineProcessorAuditEventTypes.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.pipelineprocessor.audit;\n\nimport com.google.common.collect.ImmutableSet;\nimport org.graylog2.audit.PluginAuditEventTypes;\n\nimport java.util.Set;\n\npublic class PipelineProcessorAuditEventTypes implements PluginAuditEventTypes {\n private static final String NAMESPACE = \"pipeline_processor:\";\n\n public static final String PIPELINE_CONNECTION_UPDATE = NAMESPACE + \"pipeline_connection:update\";\n public static final String PIPELINE_CREATE = NAMESPACE + \"pipeline:create\";\n public static final String PIPELINE_UPDATE = NAMESPACE + \"pipeline:update\";\n public static final String PIPELINE_DELETE = NAMESPACE + \"pipeline:delete\";\n public static final String RULE_CREATE = NAMESPACE + \"rule:create\";\n public static final String RULE_UPDATE = NAMESPACE + \"rule:update\";\n public static final String RULE_DELETE = NAMESPACE + \"rule:delete\";\n public static final String RULE_METRICS_UPDATE = NAMESPACE + \"rulemetrics:update\";\n\n private static final ImmutableSet EVENT_TYPES = ImmutableSet.builder()\n .add(PIPELINE_CONNECTION_UPDATE)\n .add(PIPELINE_CREATE)\n .add(PIPELINE_UPDATE)\n .add(PIPELINE_DELETE)\n .add(RULE_CREATE)\n .add(RULE_UPDATE)\n .add(RULE_DELETE)\n .add(RULE_METRICS_UPDATE)\n .build();\n\n @Override\n public Set auditEventTypes() {\n return EVENT_TYPES;\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/d81b226c4b7c54e4d0634d829672f66c715dd835.json b/web/public/bundles/graylog/code/d81b226c4b7c54e4d0634d829672f66c715dd835.json new file mode 100644 index 00000000..1a63c3cc --- /dev/null +++ b/web/public/bundles/graylog/code/d81b226c4b7c54e4d0634d829672f66c715dd835.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d81b226c4b7c54e4d0634d829672f66c715dd835", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/database/filtering/inmemory/SingleFilterParser.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.database.filtering.inmemory;\n\nimport org.graylog2.database.filtering.BsonFilterCreatorFilter;\nimport org.graylog2.database.filtering.Filter;\nimport org.graylog2.database.filtering.RangeFilter;\nimport org.graylog2.database.filtering.SingleValueFilter;\nimport org.graylog2.database.filtering.TimeRangeFilter;\nimport org.graylog2.plugin.indexer.searches.timeranges.AbsoluteRange;\nimport org.graylog2.plugin.indexer.searches.timeranges.KeywordRange;\nimport org.graylog2.plugin.indexer.searches.timeranges.RelativeRange;\nimport org.graylog2.rest.resources.entities.EntityAttribute;\nimport org.graylog2.search.SearchQueryField;\nimport org.joda.time.DateTime;\n\nimport java.util.List;\n\npublic class SingleFilterParser {\n\n public static final String FIELD_AND_VALUE_SEPARATOR = \":\";\n public static final String RANGE_VALUES_SEPARATOR = \"><\";\n public static final String TIME_RANGE_TYPE_SEPARATOR = \"@\";\n public static final String WRONG_FILTER_EXPR_FORMAT_ERROR_MSG =\n \"Wrong filter expression, \" + FIELD_AND_VALUE_SEPARATOR + \" format should be used\";\n private static final String UNKNOWN_TIME_RANGE_TYPE_ERROR_MSG = \"Unknown time range type: \";\n\n public Filter parseSingleExpression(final String filterExpression, final List attributes) {\n if (!filterExpression.contains(FIELD_AND_VALUE_SEPARATOR)) {\n throw new IllegalArgumentException(WRONG_FILTER_EXPR_FORMAT_ERROR_MSG);\n }\n final String[] split = filterExpression.split(FIELD_AND_VALUE_SEPARATOR, 2);\n\n final String fieldPart = split[0];\n if (fieldPart == null || fieldPart.isEmpty()) {\n throw new IllegalArgumentException(WRONG_FILTER_EXPR_FORMAT_ERROR_MSG);\n }\n final String valuePart = split[1];\n if (valuePart == null || valuePart.isEmpty()) {\n throw new IllegalArgumentException(WRONG_FILTER_EXPR_FORMAT_ERROR_MSG);\n }\n\n final EntityAttribute attributeMetaData = getAttributeMetaData(attributes, fieldPart);\n\n final SearchQueryField.Type fieldType = attributeMetaData.type();\n if (isTimeRangeValueExpression(valuePart, fieldType)) {\n return createTimeRangeFilter(valuePart, attributeMetaData, fieldType);\n } else if (isRangeValueExpression(valuePart, fieldType)) {\n return createRangeFilter(valuePart, attributeMetaData, fieldType);\n } else if (attributeMetaData.bsonFilterCreator() != null) {\n final String dbField = attributeMetaData.dbField() != null ? attributeMetaData.dbField() : attributeMetaData.id();\n return new BsonFilterCreatorFilter(dbField, attributeMetaData.bsonFilterCreator(), fieldType, extractValue(fieldType, valuePart));\n } else {\n return new SingleValueFilter(attributeMetaData.id(), extractValue(fieldType, valuePart));\n }\n\n }\n\n private Filter createTimeRangeFilter(final String valuePart,\n final EntityAttribute attributeMetaData,\n final SearchQueryField.Type fieldType) {\n final String[] split = valuePart.split(TIME_RANGE_TYPE_SEPARATOR, 2);\n final String type = split[0]; //its existence has already been verified in isTimeRangeValueExpression\n final String innerValuePart = split[1];\n\n return switch (type) {\n case AbsoluteRange.ABSOLUTE ->\n createRangeFilter(innerValuePart, attributeMetaData, fieldType); // we can simply use existing RangeFilter\n case RelativeRange.RELATIVE -> createRelativeTimeRangeFilter(attributeMetaData, innerValuePart);\n case KeywordRange.KEYWORD ->\n new TimeRangeFilter(attributeMetaData.id(), KeywordRange.create(innerValuePart, null));\n default -> throw new IllegalArgumentException(UNKNOWN_TIME_RANGE_TYPE_ERROR_MSG + type);\n };\n\n }\n\n private TimeRangeFilter createRelativeTimeRangeFilter(final EntityAttribute attributeMetaData, final String valuePart) {\n if (!valuePart.contains(RANGE_VALUES_SEPARATOR)) {\n int range = Integer.parseInt(valuePart);\n return new TimeRangeFilter(attributeMetaData.id(), RelativeRange.Builder.builder().range(range).build());\n } else {\n final String[] ranges = valuePart.split(RANGE_VALUES_SEPARATOR);\n int from = Integer.parseInt(ranges[0]);\n int to = Integer.parseInt(ranges[1]);\n return new TimeRangeFilter(attributeMetaData.id(), RelativeRange.Builder.builder().from(from).to(to).build());\n }\n\n }\n\n private Filter createRangeFilter(final String valuePart,\n final EntityAttribute attributeMetaData,\n final SearchQueryField.Type fieldType) {\n if (valuePart.equals(RANGE_VALUES_SEPARATOR)) {\n // could probably also return an empty BSON here, but just for consistency:\n return new RangeFilter(attributeMetaData.id(), null, null);\n } else if (valuePart.startsWith(RANGE_VALUES_SEPARATOR)) {\n return new RangeFilter(attributeMetaData.id(),\n null,\n extractValue(fieldType, valuePart.substring(RANGE_VALUES_SEPARATOR.length()))\n );\n } else if (valuePart.endsWith(RANGE_VALUES_SEPARATOR)) {\n return new RangeFilter(attributeMetaData.id(),\n extractValue(fieldType, valuePart.substring(0, valuePart.length() - RANGE_VALUES_SEPARATOR.length())),\n null\n );\n } else {\n final String[] ranges = valuePart.split(RANGE_VALUES_SEPARATOR);\n return new RangeFilter(attributeMetaData.id(),\n extractValue(fieldType, ranges[0]),\n extractValue(fieldType, ranges[1])\n );\n }\n }\n\n private Object extractValue(final SearchQueryField.Type fieldType, final String valuePart) {\n final Object converted = fieldType.getMongoValueConverter().apply(valuePart);\n if (converted instanceof DateTime && fieldType == SearchQueryField.Type.DATE) {\n return ((DateTime) converted).toDate(); //MongoDB does not like Joda\n } else {\n return converted;\n }\n\n }\n\n private EntityAttribute getAttributeMetaData(final List attributes,\n final String attributeName) {\n EntityAttribute matchingByTitle = null;\n\n for (EntityAttribute attr : attributes) {\n if (attributeName.equals(attr.id()) && isFilterable(attr)) {\n return attr;\n } else if (attributeName.equalsIgnoreCase(attr.title()) && isFilterable(attr)) {\n matchingByTitle = attr;\n }\n }\n\n if (matchingByTitle != null) {\n return matchingByTitle;\n } else {\n throw new IllegalArgumentException(attributeName + \" is not a field that can be used for filtering\");\n }\n\n }\n\n private boolean isRangeValueExpression(final String valuePart, final SearchQueryField.Type fieldType) {\n return SearchQueryField.Type.NUMERIC_TYPES.contains(fieldType) && valuePart.contains(RANGE_VALUES_SEPARATOR);\n }\n\n private boolean isTimeRangeValueExpression(final String valuePart, final SearchQueryField.Type fieldType) {\n return SearchQueryField.Type.DATE.equals(fieldType) && (\n valuePart.startsWith(AbsoluteRange.ABSOLUTE + TIME_RANGE_TYPE_SEPARATOR) ||\n valuePart.startsWith(RelativeRange.RELATIVE + TIME_RANGE_TYPE_SEPARATOR) ||\n valuePart.startsWith(KeywordRange.KEYWORD + TIME_RANGE_TYPE_SEPARATOR)\n );\n }\n\n private boolean isFilterable(final EntityAttribute attr) {\n return Boolean.TRUE.equals(attr.filterable());\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/d8cb7d94ad4db1ea073ccfee758a8bd6bdda3dc8.json b/web/public/bundles/graylog/code/d8cb7d94ad4db1ea073ccfee758a8bd6bdda3dc8.json new file mode 100644 index 00000000..f59f0c8e --- /dev/null +++ b/web/public/bundles/graylog/code/d8cb7d94ad4db1ea073ccfee758a8bd6bdda3dc8.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d8cb7d94ad4db1ea073ccfee758a8bd6bdda3dc8", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/aws/AWSPluginMetadata.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.aws;\n\nimport org.graylog2.plugin.PluginMetaData;\nimport org.graylog2.plugin.ServerStatus;\nimport org.graylog2.plugin.Version;\n\nimport java.net.URI;\nimport java.util.Collections;\nimport java.util.Set;\n\npublic class AWSPluginMetadata implements PluginMetaData {\n\n @Override\n public String getUniqueId() {\n return \"org.graylog.aws.AWSPlugin\";\n }\n\n @Override\n public String getName() {\n return \"AWS plugins\";\n }\n\n @Override\n public String getAuthor() {\n return \"Graylog, Inc.\";\n }\n\n @Override\n public URI getURL() {\n return URI.create(\"https://github.com/Graylog2/graylog-plugin-aws/\");\n }\n\n @Override\n public Version getVersion() {\n return Version.CURRENT_CLASSPATH;\n }\n\n @Override\n public String getDescription() {\n return \"Collection of plugins to read data from or interact with the Amazon Web Services (AWS).\";\n }\n\n @Override\n public Version getRequiredVersion() {\n return Version.CURRENT_CLASSPATH;\n }\n\n @Override\n public Set getRequiredCapabilities() {\n return Collections.emptySet();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/d8ecb91ce027816bb7c1b0a790963119b169f24d.json b/web/public/bundles/graylog/code/d8ecb91ce027816bb7c1b0a790963119b169f24d.json new file mode 100644 index 00000000..d2d9f48c --- /dev/null +++ b/web/public/bundles/graylog/code/d8ecb91ce027816bb7c1b0a790963119b169f24d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d8ecb91ce027816bb7c1b0a790963119b169f24d", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/security/SecurityModule.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.security;\n\nimport com.google.inject.Scopes;\nimport com.google.inject.TypeLiteral;\nimport com.google.inject.assistedinject.FactoryModuleBuilder;\nimport com.google.inject.multibindings.MapBinder;\nimport com.google.inject.multibindings.Multibinder;\nimport com.google.inject.multibindings.OptionalBinder;\nimport org.graylog.security.authservice.AuthServiceBackend;\nimport org.graylog.security.authservice.InternalAuthServiceBackend;\nimport org.graylog.security.authservice.ProvisionerAction;\nimport org.graylog.security.authservice.backend.ADAuthServiceBackend;\nimport org.graylog.security.authservice.backend.ADAuthServiceBackendConfig;\nimport org.graylog.security.authservice.backend.LDAPAuthServiceBackend;\nimport org.graylog.security.authservice.backend.LDAPAuthServiceBackendConfig;\nimport org.graylog.security.authservice.backend.MongoDBAuthServiceBackend;\nimport org.graylog.security.authservice.ldap.UnboundLDAPConnector;\nimport org.graylog.security.authservice.rest.AuthServiceBackendsResource;\nimport org.graylog.security.authservice.rest.AuthServiceTestResource;\nimport org.graylog.security.authservice.rest.AuthServicesResource;\nimport org.graylog.security.authservice.rest.GlobalAuthServiceConfigResource;\nimport org.graylog.security.authservice.rest.HTTPHeaderAuthenticationConfigResource;\nimport org.graylog.security.authzroles.AuthzRolesResource;\nimport org.graylog.security.entities.DefaultEntityDependencyResolver;\nimport org.graylog.security.entities.EntityDependencyResolver;\nimport org.graylog.security.entities.EntityOwnershipRegistrationHandler;\nimport org.graylog.security.rest.CapabilitiesResource;\nimport org.graylog.security.rest.EntitySharesResource;\nimport org.graylog.security.rest.GrantsOverviewResource;\nimport org.graylog.security.shares.DefaultGranteeService;\nimport org.graylog.security.shares.GranteeService;\nimport org.graylog.security.shares.SyncedEntitiesResolver;\nimport org.graylog2.plugin.PluginModule;\n\npublic class SecurityModule extends PluginModule {\n @Override\n protected void configure() {\n // Call the following to ensure the presence of the multi binder and avoid startup errors when no action is registered\n MapBinder.newMapBinder(\n binder(),\n TypeLiteral.get(String.class),\n new TypeLiteral>() {}\n );\n authServiceBackendBinder();\n\n bind(CapabilityRegistry.class).asEagerSingleton();\n\n bind(UnboundLDAPConnector.class).in(Scopes.SINGLETON);\n\n install(new FactoryModuleBuilder().implement(GranteeAuthorizer.class, GranteeAuthorizer.class).build(GranteeAuthorizer.Factory.class));\n\n OptionalBinder.newOptionalBinder(binder(), PermissionAndRoleResolver.class)\n .setDefault().to(DefaultPermissionAndRoleResolver.class);\n OptionalBinder.newOptionalBinder(binder(), GranteeService.class)\n .setDefault().to(DefaultGranteeService.class);\n OptionalBinder.newOptionalBinder(binder(), EntityDependencyResolver.class)\n .setDefault().to(DefaultEntityDependencyResolver.class);\n\n addEntityRegistrationHandler(EntityOwnershipRegistrationHandler.class);\n\n Multibinder.newSetBinder(binder(), SyncedEntitiesResolver.class);\n\n bind(AuthServiceBackend.class).annotatedWith(InternalAuthServiceBackend.class).to(MongoDBAuthServiceBackend.class);\n\n addSystemRestResource(AuthServiceBackendsResource.class);\n addSystemRestResource(AuthServicesResource.class);\n addSystemRestResource(AuthServiceTestResource.class);\n addSystemRestResource(GlobalAuthServiceConfigResource.class);\n addSystemRestResource(HTTPHeaderAuthenticationConfigResource.class);\n addSystemRestResource(AuthzRolesResource.class);\n addSystemRestResource(EntitySharesResource.class);\n addSystemRestResource(GrantsOverviewResource.class);\n addSystemRestResource(CapabilitiesResource.class);\n\n addAuditEventTypes(SecurityAuditEventTypes.class);\n\n addAuthServiceBackend(LDAPAuthServiceBackend.TYPE_NAME,\n LDAPAuthServiceBackend.class,\n LDAPAuthServiceBackend.Factory.class,\n LDAPAuthServiceBackendConfig.class);\n addAuthServiceBackend(ADAuthServiceBackend.TYPE_NAME,\n ADAuthServiceBackend.class,\n ADAuthServiceBackend.Factory.class,\n ADAuthServiceBackendConfig.class);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/d8f6453b6584f762857be517677ba8567094a960.json b/web/public/bundles/graylog/code/d8f6453b6584f762857be517677ba8567094a960.json new file mode 100644 index 00000000..ac33e21a --- /dev/null +++ b/web/public/bundles/graylog/code/d8f6453b6584f762857be517677ba8567094a960.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d8f6453b6584f762857be517677ba8567094a960", + "language": "typescript", + "path": "graylog2-web-interface/src/components/common/markdown/entityLinkResolvers.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport type { PluginExports } from 'graylog-web-plugin/plugin';\n\nimport StreamTitle from 'components/common/markdown/StreamTitle';\n\nconst entityLinkResolvers: PluginExports['markdown.entityLinkResolvers'] = [\n {\n uriSegment: 'streams',\n resolve: ([id]) => (id ? { grnType: 'stream', id, Title: StreamTitle } : null),\n },\n { uriSegment: 'dashboards', resolve: ([id]) => (id ? { grnType: 'dashboard', id } : null) },\n { uriSegment: 'searches', resolve: ([id]) => (id ? { grnType: 'search', id } : null) },\n];\n\nexport default entityLinkResolvers;\n" +} diff --git a/web/public/bundles/graylog/code/d9d591aa5c59deb796975e268e60f6a380253b4d.json b/web/public/bundles/graylog/code/d9d591aa5c59deb796975e268e60f6a380253b4d.json new file mode 100644 index 00000000..6f943e90 --- /dev/null +++ b/web/public/bundles/graylog/code/d9d591aa5c59deb796975e268e60f6a380253b4d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d9d591aa5c59deb796975e268e60f6a380253b4d", + "language": "typescript", + "path": "graylog2-web-interface/src/contexts/StreamsProvider.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\n\nimport useAllStreams from 'components/streams/hooks/useAllStreams';\n\nimport StreamsContext from './StreamsContext';\n\ntype Props = {\n children: React.ReactElement;\n};\n\nconst StreamsProvider = ({ children }: Props) => {\n const { data: streams } = useAllStreams();\n\n return {children};\n};\n\nexport default StreamsProvider;\n" +} diff --git a/web/public/bundles/graylog/code/da0e2f5180551b9c8d075a412b5d80817d7abe09.json b/web/public/bundles/graylog/code/da0e2f5180551b9c8d075a412b5d80817d7abe09.json new file mode 100644 index 00000000..03017b7b --- /dev/null +++ b/web/public/bundles/graylog/code/da0e2f5180551b9c8d075a412b5d80817d7abe09.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "da0e2f5180551b9c8d075a412b5d80817d7abe09", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/messageprocessors/MessageProcessorsConfigWithDescriptors.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.messageprocessors;\n\nimport com.fasterxml.jackson.annotation.JsonAutoDetect;\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.google.auto.value.AutoValue;\nimport org.graylog2.plugin.messageprocessors.MessageProcessor;\n\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\n@JsonAutoDetect\n@AutoValue\npublic abstract class MessageProcessorsConfigWithDescriptors {\n @JsonProperty(\"processor_order\")\n public abstract List processorOrder();\n\n @JsonProperty(\"disabled_processors\")\n public abstract Set disabledProcessors();\n\n @JsonCreator\n public static MessageProcessorsConfigWithDescriptors create(@JsonProperty(\"processor_order\") List processorOrder,\n @JsonProperty(\"disabled_processors\") Set disabledProcessors) {\n return builder()\n .processorOrder(processorOrder)\n .disabledProcessors(disabledProcessors)\n .build();\n }\n\n public static MessageProcessorsConfigWithDescriptors fromConfig(MessageProcessorsConfig config,\n Set descriptors) {\n final Map descriptorMap = descriptors.stream()\n .collect(Collectors.toMap(MessageProcessor.Descriptor::className, descriptor -> descriptor));\n\n return builder()\n .processorOrder(config.processorOrder().stream()\n .map(s -> MessageProcessorDescriptor.fromDescriptor(descriptorMap.get(s)))\n .collect(Collectors.toList()))\n .disabledProcessors(config.disabledProcessors())\n .build();\n }\n\n public MessageProcessorsConfig toConfig() {\n return MessageProcessorsConfig.builder()\n .processorOrder(processorOrder().stream()\n .map(MessageProcessorDescriptor::className)\n .collect(Collectors.toList()))\n .disabledProcessors(disabledProcessors())\n .build();\n }\n\n public static Builder builder() {\n return new AutoValue_MessageProcessorsConfigWithDescriptors.Builder();\n }\n\n public abstract Builder toBuilder();\n\n @AutoValue.Builder\n public static abstract class Builder {\n public abstract Builder processorOrder(List processorOrder);\n\n public abstract Builder disabledProcessors(Set disabledMessageProcessors);\n\n public abstract MessageProcessorsConfigWithDescriptors build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/da12828cd3b7c29bad9707e780d2a93cb71afae5.json b/web/public/bundles/graylog/code/da12828cd3b7c29bad9707e780d2a93cb71afae5.json new file mode 100644 index 00000000..2b1c7b02 --- /dev/null +++ b/web/public/bundles/graylog/code/da12828cd3b7c29bad9707e780d2a93cb71afae5.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "da12828cd3b7c29bad9707e780d2a93cb71afae5", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/events/processor/EventStreamService.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.events.processor;\n\nimport com.google.common.collect.Sets;\nimport jakarta.inject.Inject;\nimport org.graylog2.streams.StreamService;\n\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\npublic class EventStreamService {\n\n private final StreamService streamService;\n\n @Inject\n public EventStreamService(StreamService streamService) {\n this.streamService = streamService;\n }\n\n // Determine event source streams based on given search and result streams\n public Set buildEventSourceStreams(Set searchStreams, Set resultSourceStreams) {\n Set sourceStreams;\n if (searchStreams.isEmpty() && resultSourceStreams.isEmpty()) {\n // This can happen if the user didn't select any stream in the event definition and an event should be\n // created based on the absence of a search result. (e.g. count() < 1)\n // When the source streams field of an event is empty, every user can see it. That's why we need to add\n // streams to the field. We decided to use all currently existing streams (minus the non-message streams)\n // to make sure only users that have access to all message streams can see the event.\n try (var stream = streamService.streamAllIds()) {\n sourceStreams = stream\n .filter(streamId -> !streamService.getSystemStreamIds(false).contains(streamId))\n .collect(Collectors.toSet());\n }\n } else if (searchStreams.isEmpty()) {\n // If the search streams is empty, we search in all streams and so we include all source streams from the result.\n sourceStreams = resultSourceStreams;\n } else if (resultSourceStreams.isEmpty()) {\n // With an empty result we just include all streams from the event definition.\n sourceStreams = searchStreams;\n } else {\n // We don't want source streams in the event which are unrelated to the event definition.\n sourceStreams = Sets.intersection(searchStreams, resultSourceStreams);\n }\n return sourceStreams;\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/da8b3919fd37b6edebd033accee801b24756f518.json b/web/public/bundles/graylog/code/da8b3919fd37b6edebd033accee801b24756f518.json new file mode 100644 index 00000000..a71bae8c --- /dev/null +++ b/web/public/bundles/graylog/code/da8b3919fd37b6edebd033accee801b24756f518.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "da8b3919fd37b6edebd033accee801b24756f518", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/counts/CountsAdapter.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.indexer.counts;\n\nimport org.graylog2.indexer.results.CountResult;\nimport org.graylog2.plugin.indexer.searches.timeranges.TimeRange;\n\nimport java.util.List;\nimport java.util.Set;\n\npublic interface CountsAdapter {\n long totalCount(List indices);\n\n CountResult count(Set affectedIndices,\n String query,\n TimeRange range,\n String filter);\n}\n" +} diff --git a/web/public/bundles/graylog/code/db243c90d0fc003ec10e809d1bd52bf5d2c0a3c4.json b/web/public/bundles/graylog/code/db243c90d0fc003ec10e809d1bd52bf5d2c0a3c4.json new file mode 100644 index 00000000..325512a0 --- /dev/null +++ b/web/public/bundles/graylog/code/db243c90d0fc003ec10e809d1bd52bf5d2c0a3c4.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "db243c90d0fc003ec10e809d1bd52bf5d2c0a3c4", + "language": "typescript", + "path": "graylog2-web-interface/src/routing/hooks/useShowRouteFromGRN.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport { getValuesFromGRN } from 'logic/permissions/GRN';\nimport useShowRouteForEntity from 'routing/hooks/useShowRouteForEntity';\n\nconst useShowRouteFromGRN = (grn: string) => {\n const { id, type } = getValuesFromGRN(grn);\n\n return useShowRouteForEntity(id, type);\n};\n\nexport default useShowRouteFromGRN;\n" +} diff --git a/web/public/bundles/graylog/code/db9b6bef5bbea46a9f5d24cb4da2402f441ca0ed.json b/web/public/bundles/graylog/code/db9b6bef5bbea46a9f5d24cb4da2402f441ca0ed.json new file mode 100644 index 00000000..32163c71 --- /dev/null +++ b/web/public/bundles/graylog/code/db9b6bef5bbea46a9f5d24cb4da2402f441ca0ed.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "db9b6bef5bbea46a9f5d24cb4da2402f441ca0ed", + "language": "typescript", + "path": "graylog2-web-interface/src/components/common/bindings.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport type { PluginExports } from 'graylog-web-plugin/plugin';\n\nimport Timestamp from 'components/common/Timestamp';\nimport entityLinkResolvers from 'components/common/markdown/entityLinkResolvers';\n\nconst pluginExports: PluginExports = {\n 'markdown.augment.components': [\n {\n id: 'ts',\n component: ({ value }) => (\n \n \n \n ),\n },\n ],\n 'markdown.entityLinkResolvers': entityLinkResolvers,\n};\n\nexport default pluginExports;\n" +} diff --git a/web/public/bundles/graylog/code/dbf306937fbfd9b251c2200976724c125348c37a.json b/web/public/bundles/graylog/code/dbf306937fbfd9b251c2200976724c125348c37a.json new file mode 100644 index 00000000..b6aa2267 --- /dev/null +++ b/web/public/bundles/graylog/code/dbf306937fbfd9b251c2200976724c125348c37a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "dbf306937fbfd9b251c2200976724c125348c37a", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/contentpacks/responses/ContentPackInstallationsResponse.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.models.system.contentpacks.responses;\n\nimport com.fasterxml.jackson.annotation.JsonAutoDetect;\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.google.auto.value.AutoValue;\nimport org.graylog2.contentpacks.model.ContentPackInstallation;\n\nimport java.util.Set;\n\n@JsonAutoDetect\n@AutoValue\npublic abstract class ContentPackInstallationsResponse {\n @JsonProperty(\"total\")\n public abstract long total();\n\n @JsonProperty(\"installations\")\n public abstract Set contentPackInstallations();\n\n @JsonCreator\n public static ContentPackInstallationsResponse create(@JsonProperty(\"total\") long total, @JsonProperty(\"installations\") Set contentPackInstallations) {\n return new AutoValue_ContentPackInstallationsResponse(total, contentPackInstallations);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/dc5003849c2aa8ecf41ea80490e8aa423896601e.json b/web/public/bundles/graylog/code/dc5003849c2aa8ecf41ea80490e8aa423896601e.json new file mode 100644 index 00000000..802aa2d2 --- /dev/null +++ b/web/public/bundles/graylog/code/dc5003849c2aa8ecf41ea80490e8aa423896601e.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "dc5003849c2aa8ecf41ea80490e8aa423896601e", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/indexer/OutdatedIndexResource.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.resources.system.indexer;\n\nimport com.codahale.metrics.annotation.Timed;\nimport com.google.common.base.Supplier;\nimport com.google.common.base.Suppliers;\nimport io.swagger.v3.oas.annotations.Operation;\nimport io.swagger.v3.oas.annotations.Parameter;\nimport io.swagger.v3.oas.annotations.media.Schema;\nimport io.swagger.v3.oas.annotations.tags.Tag;\nimport jakarta.inject.Inject;\nimport jakarta.validation.constraints.NotNull;\nimport jakarta.ws.rs.BadRequestException;\nimport jakarta.ws.rs.Consumes;\nimport jakarta.ws.rs.DELETE;\nimport jakarta.ws.rs.DefaultValue;\nimport jakarta.ws.rs.ForbiddenException;\nimport jakarta.ws.rs.GET;\nimport jakarta.ws.rs.NotFoundException;\nimport jakarta.ws.rs.POST;\nimport jakarta.ws.rs.Path;\nimport jakarta.ws.rs.PathParam;\nimport jakarta.ws.rs.Produces;\nimport jakarta.ws.rs.QueryParam;\nimport jakarta.ws.rs.core.MediaType;\nimport jakarta.ws.rs.core.Response;\nimport org.apache.lucene.queryparser.flexible.core.QueryNodeException;\nimport org.apache.shiro.authz.annotation.RequiresAuthentication;\nimport org.apache.shiro.authz.annotation.RequiresPermissions;\nimport org.graylog.scheduler.system.SystemJobManager;\nimport org.graylog2.audit.AuditActor;\nimport org.graylog2.audit.AuditEventSender;\nimport org.graylog2.audit.AuditEventTypes;\nimport org.graylog2.audit.jersey.AuditEvent;\nimport org.graylog2.audit.jersey.NoAuditEvent;\nimport org.graylog2.database.PaginatedList;\nimport org.graylog2.indexer.indices.OutdatedIndex;\nimport org.graylog2.indexer.indices.OutdatedIndexService;\nimport org.graylog2.indexer.indices.ReindexOutdatedIndexJob;\nimport org.graylog2.rest.bulk.model.BulkOperationFailure;\nimport org.graylog2.rest.bulk.model.BulkOperationRequest;\nimport org.graylog2.rest.bulk.model.BulkOperationResponse;\nimport org.graylog2.rest.models.SortOrder;\nimport org.graylog2.rest.models.tools.responses.PageListResponse;\nimport org.graylog2.rest.resources.entities.EntityAttribute;\nimport org.graylog2.rest.resources.entities.EntityDefaults;\nimport org.graylog2.rest.resources.entities.FilterOption;\nimport org.graylog2.rest.resources.entities.Sorting;\nimport org.graylog2.search.SearchQuery;\nimport org.graylog2.search.SearchQueryField;\nimport org.graylog2.search.SearchQueryParser;\nimport org.graylog2.shared.rest.resources.RestResource;\nimport org.graylog2.shared.security.RestPermissions;\nimport org.graylog2.utilities.lucene.InMemorySearchEngine;\nimport org.graylog2.utilities.lucene.LuceneInMemorySearchEngine;\n\nimport java.io.IOException;\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.Locale;\nimport java.util.Map;\nimport java.util.Set;\nimport java.util.concurrent.TimeUnit;\nimport java.util.function.Function;\nimport java.util.stream.Collectors;\n\n@Tag(name = \"System/Indexer/Indices\", description = \"Outdated index discovery\")\n@RequiresAuthentication\n@Path(\"/system/indexer/indices/outdated\")\n@Produces(MediaType.APPLICATION_JSON)\npublic class OutdatedIndexResource extends RestResource {\n\n private static final String DEFAULT_SORT_FIELD = OutdatedIndex.FIELD_INDEX_NAME;\n private static final String DEFAULT_SORT_DIRECTION = \"asc\";\n private static final List attributes = List.of(\n EntityAttribute.builder().id(OutdatedIndex.FIELD_INDEX_NAME).title(\"Index Name\").type(SearchQueryField.Type.STRING).sortable(true).searchable(true).build(),\n EntityAttribute.builder().id(OutdatedIndex.FIELD_CATEGORY).title(\"Type\").type(SearchQueryField.Type.STRING).sortable(false).filterable(true).filterOptions(categoryFilterOptions()).build(),\n EntityAttribute.builder().id(OutdatedIndex.FIELD_VERSION).title(\"Version\").type(SearchQueryField.Type.STRING).sortable(true).searchable(true).build(),\n EntityAttribute.builder().id(OutdatedIndex.FIELD_BEGIN).title(\"Message Range Begin\").type(SearchQueryField.Type.DATE).sortable(true).build(),\n EntityAttribute.builder().id(OutdatedIndex.FIELD_END).title(\"Message Range End\").type(SearchQueryField.Type.DATE).sortable(true).build()\n );\n\n private static Set categoryFilterOptions() {\n return Set.of(\n FilterOption.create(OutdatedIndex.CATEGORY_GRAYLOG, \"Managed\"),\n FilterOption.create(OutdatedIndex.CATEGORY_SYSTEM, \"System\"),\n FilterOption.create(OutdatedIndex.CATEGORY_FOREIGN, \"Foreign\"),\n FilterOption.create(OutdatedIndex.CATEGORY_WARM, \"Warm\")\n );\n }\n\n private static final EntityDefaults settings = EntityDefaults.builder()\n .sort(Sorting.create(DEFAULT_SORT_FIELD, Sorting.Direction.valueOf(DEFAULT_SORT_DIRECTION.toUpperCase(Locale.ROOT))))\n .build();\n\n private final OutdatedIndexService outdatedIndexService;\n private final SystemJobManager systemJobManager;\n private final AuditEventSender auditEventSender;\n private final InMemorySearchEngine outdatedIndexSearchService;\n private final SearchQueryParser searchQueryParser;\n\n @Inject\n public OutdatedIndexResource(OutdatedIndexService outdatedIndexService,\n SystemJobManager systemJobManager,\n AuditEventSender auditEventSender) {\n this.outdatedIndexService = outdatedIndexService;\n this.systemJobManager = systemJobManager;\n this.auditEventSender = auditEventSender;\n final Supplier> cachingSupplier = Suppliers.memoizeWithExpiration(\n outdatedIndexService::getOutdatedIndices,\n 10,\n TimeUnit.SECONDS\n );\n this.outdatedIndexSearchService = new LuceneInMemorySearchEngine<>(attributes, cachingSupplier);\n this.searchQueryParser = new SearchQueryParser(DEFAULT_SORT_FIELD, attributes);\n }\n\n @GET\n @Timed\n @RequiresPermissions(RestPermissions.INDICES_READ)\n @Operation(summary = \"Get a list of indices that were created in an OpenSearch version prior to the recent one\")\n public List getOutdatedIndices() {\n return outdatedIndexService.getOutdatedIndices();\n }\n\n @GET\n @Timed\n @RequiresPermissions(RestPermissions.INDICES_READ)\n @Operation(summary = \"Get a paginated list of indices that were created in an OpenSearch version prior to the recent one\")\n @Path(\"/paginated\")\n public PageListResponse listOutdatedIndices(\n @Parameter(name = \"page\") @QueryParam(\"page\") @DefaultValue(\"1\") int page,\n @Parameter(name = \"per_page\") @QueryParam(\"per_page\") @DefaultValue(\"50\") int perPage,\n @Parameter(name = \"query\") @QueryParam(\"query\") @DefaultValue(\"\") String query,\n @Parameter(name = \"sort\",\n description = \"The field to sort the result on\",\n required = true,\n schema = @Schema(allowableValues = {\n OutdatedIndex.FIELD_INDEX_NAME,\n OutdatedIndex.FIELD_VERSION,\n OutdatedIndex.FIELD_BEGIN,\n OutdatedIndex.FIELD_END\n }))\n @DefaultValue(DEFAULT_SORT_FIELD) @QueryParam(\"sort\") String sort,\n @Parameter(name = \"order\", description = \"The sort direction\",\n schema = @Schema(allowableValues = {\"asc\", \"desc\"}))\n @DefaultValue(DEFAULT_SORT_DIRECTION) @QueryParam(\"order\") SortOrder order\n ) throws QueryNodeException, IOException {\n final SearchQuery parsedQuery = searchQueryParser.parse(query);\n final PaginatedList result = outdatedIndexSearchService.search(parsedQuery, sort, order, page, perPage);\n return PageListResponse.create(query, result.pagination(),\n result.grandTotal().orElse(0L), sort, order, result.stream().toList(), attributes, settings);\n }\n\n @POST\n @Path(\"/{index}/reindex\")\n @Operation(summary = \"Reindexes an outdated index to make it compatible with the next major version of OpenSearch\")\n @RequiresPermissions(RestPermissions.INDICES_REINDEX)\n @Produces(MediaType.APPLICATION_JSON)\n @AuditEvent(type = AuditEventTypes.ES_INDEX_REINDEX)\n public Response reindex(@Parameter(name = \"index\") @PathParam(\"index\") @NotNull String index,\n @Parameter(name = \"withReplication\") @QueryParam(\"withReplication\") @DefaultValue(\"true\") boolean withReplication) {\n OutdatedIndex outdatedIndex = getOutdatedIndices().stream()\n .filter(OutdatedIndex::isSystemIndex)\n .filter(i -> i.indexName().equals(index))\n .findAny().orElseThrow(() -> new NotFoundException(\"Index \" + index + \" not found or is no system index\"));\n final String triggeredBy = String.valueOf(getSubject().getPrincipal());\n systemJobManager.submit(ReindexOutdatedIndexJob.forIndex(outdatedIndex.indexName(), withReplication, triggeredBy));\n return Response.accepted().build();\n }\n\n @POST\n @Path(\"/bulkreindex\")\n @Operation(summary = \"Bulk reindexes the given indices to make them compatible with the next major version of OpenSearch\")\n @RequiresPermissions(RestPermissions.INDICES_REINDEX)\n @Produces(MediaType.APPLICATION_JSON)\n @AuditEvent(type = AuditEventTypes.ES_INDEX_REINDEX)\n public Response bulkReindex(@Parameter(name = \"indices\", required = true) BulkReindexRequest bulkRequest) {\n final List allOutdatedIndices = getOutdatedIndices();\n final Set outdatedIndexNames = allOutdatedIndices.stream()\n .filter(OutdatedIndex::isSystemIndex)\n .map(OutdatedIndex::indexName)\n .collect(Collectors.toSet());\n final List unknownIndices = bulkRequest.indices().stream()\n .filter(i -> !outdatedIndexNames.contains(i))\n .toList();\n if (!unknownIndices.isEmpty()) {\n return Response.status(Response.Status.BAD_REQUEST)\n .entity(Map.of(\"error\", \"The following indices were not found or are no system indices: \" + unknownIndices))\n .build();\n }\n final String triggeredBy = String.valueOf(getSubject().getPrincipal());\n for (String indexName : bulkRequest.indices()) {\n systemJobManager.submit(ReindexOutdatedIndexJob.forIndex(indexName, bulkRequest.withReplication(), triggeredBy));\n }\n return Response.accepted().build();\n }\n\n @DELETE\n @Path(\"/{index}\")\n @Operation(summary = \"Deletes an outdated, non-Graylog managed index\")\n @RequiresPermissions(RestPermissions.INDICES_DELETE)\n @Produces(MediaType.APPLICATION_JSON)\n @AuditEvent(type = AuditEventTypes.ES_INDEX_DELETE)\n public void deleteOutdated(@Parameter(name = \"index\") @PathParam(\"index\") @NotNull String index) {\n OutdatedIndex outdatedIndex = getOutdatedIndices().stream()\n .filter(i -> !i.managedIndex())\n .filter(i -> i.indexName().equals(index))\n .findAny().orElseThrow(() -> new NotFoundException(\"Index \" + index + \" not found or is a managed index\"));\n outdatedIndexService.delete(outdatedIndex.indexName());\n }\n\n @POST\n @Path(\"/bulk_delete\")\n @Consumes(MediaType.APPLICATION_JSON)\n @Timed\n @Operation(summary = \"Delete a bulk of outdated indices\")\n @NoAuditEvent(\"Each deleted index is audited individually below\")\n public BulkOperationResponse bulkDeleteOutdated(@Parameter(name = \"Entities to remove\", required = true) BulkOperationRequest request) {\n if (request == null || request.entityIds() == null || request.entityIds().isEmpty()) {\n throw new BadRequestException(\"No index names provided\");\n }\n\n // Reject callers with no relevant permission at all before doing any work below. Managed indices can\n // still be deleted with a per-index grant even without the general permission (see #deleteSingleOutdated),\n // so this only rejects a caller who holds neither the general permission nor a per-index grant for any of\n // the requested indices.\n final boolean hasGeneralDeletePermission = isPermitted(RestPermissions.INDICES_DELETE);\n if (!hasGeneralDeletePermission\n && request.entityIds().stream().noneMatch(index -> isPermitted(RestPermissions.INDICES_DELETE, index))) {\n throw new ForbiddenException(\"Not authorized to delete indices\");\n }\n\n final Map outdatedByName = getOutdatedIndices().stream()\n .collect(Collectors.toMap(OutdatedIndex::indexName, Function.identity(), (existing, replacement) -> existing));\n\n final List failures = new ArrayList<>();\n int deleted = 0;\n for (String index : request.entityIds()) {\n final String failure = deleteSingleOutdated(index, outdatedByName.get(index));\n if (failure != null) {\n failures.add(new BulkOperationFailure(index, failure));\n } else {\n deleted++;\n }\n }\n return new BulkOperationResponse(deleted, failures);\n }\n\n private String deleteSingleOutdated(String index, OutdatedIndex outdatedIndex) {\n if (outdatedIndex == null) {\n return \"Index \" + index + \" not found or is not an outdated index\";\n }\n if (outdatedIndex.activeWriteIndex() != null) {\n return \"Index \" + index + \" is the active write index and cannot be deleted\";\n }\n // Managed indices are gated by a per-index permission (see IndicesResource#delete); non-managed/foreign\n // indices have no per-index grant and are only gated by the general permission (see #deleteOutdated).\n final boolean permitted = outdatedIndex.managedIndex()\n ? isPermitted(RestPermissions.INDICES_DELETE, index)\n : isPermitted(RestPermissions.INDICES_DELETE);\n if (!permitted) {\n return \"Not authorized to delete index \" + index;\n }\n try {\n outdatedIndexService.delete(index);\n auditEventSender.success(auditActor(), AuditEventTypes.ES_INDEX_DELETE, Map.of(\"index_name\", index));\n return null;\n } catch (Exception e) {\n auditEventSender.failure(auditActor(), AuditEventTypes.ES_INDEX_DELETE, Map.of(\"index_name\", index));\n return e.getMessage();\n }\n }\n\n private AuditActor auditActor() {\n return AuditActor.user(getSubject().getPrincipal().toString());\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/dd4f237c52cbf39d54c9eb6035f475ded8c30e7a.json b/web/public/bundles/graylog/code/dd4f237c52cbf39d54c9eb6035f475ded8c30e7a.json new file mode 100644 index 00000000..b6c9b060 --- /dev/null +++ b/web/public/bundles/graylog/code/dd4f237c52cbf39d54c9eb6035f475ded8c30e7a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "dd4f237c52cbf39d54c9eb6035f475ded8c30e7a", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/filter/PipelineRuleOutputFilterStateUpdater.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.outputs.filter;\n\nimport com.codahale.metrics.MetricRegistry;\nimport com.google.common.collect.ImmutableSet;\nimport com.google.common.collect.ImmutableSortedSet;\nimport com.google.common.collect.Sets;\nimport jakarta.inject.Inject;\nimport jakarta.inject.Singleton;\nimport org.graylog.plugins.pipelineprocessor.ast.Pipeline;\nimport org.graylog.plugins.pipelineprocessor.ast.Stage;\nimport org.graylog.plugins.pipelineprocessor.db.RuleDao;\nimport org.graylog.plugins.pipelineprocessor.parser.PipelineRuleParser;\nimport org.graylog.plugins.pipelineprocessor.processors.PipelineMetricRegistry;\nimport org.graylog.plugins.pipelineprocessor.processors.PipelineResolver;\nimport org.graylog.plugins.pipelineprocessor.processors.PipelineResolverConfig;\nimport org.graylog.plugins.pipelineprocessor.rulebuilder.RuleBuilderStep;\nimport org.graylog.plugins.pipelineprocessor.rulebuilder.parser.RuleBuilderService;\nimport org.graylog2.outputs.filter.functions.RemoveFromStreamDestination;\nimport org.graylog2.plugin.outputs.FilteredMessageOutput;\nimport org.graylog2.streams.filters.StreamDestinationFilterRuleDTO;\nimport org.graylog2.streams.filters.StreamDestinationFilterService;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.util.ArrayList;\nimport java.util.HashMap;\nimport java.util.HashSet;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Set;\nimport java.util.UUID;\nimport java.util.concurrent.atomic.AtomicReference;\n\nimport static com.codahale.metrics.MetricRegistry.name;\nimport static org.graylog2.shared.utilities.StringUtils.f;\n\n/**\n * State updater for the {@link PipelineRuleOutputFilter}.\n */\n@Singleton\npublic class PipelineRuleOutputFilterStateUpdater {\n private static final Logger LOG = LoggerFactory.getLogger(PipelineRuleOutputFilterStateUpdater.class);\n\n private final StreamDestinationFilterService filterService;\n private final PipelineRuleOutputFilterState.Factory stateFactory;\n private final Map filteredOutputs;\n private final RuleBuilderService ruleBuilderService;\n private final PipelineResolver.Factory resolverFactory;\n private final PipelineRuleParser pipelineRuleParser;\n private final PipelineMetricRegistry pipelineMetricRegistry;\n\n @Inject\n public PipelineRuleOutputFilterStateUpdater(StreamDestinationFilterService filterService,\n PipelineRuleOutputFilterState.Factory stateFactory,\n Map filteredOutputs,\n RuleBuilderService ruleBuilderService,\n PipelineResolver.Factory resolverFactory,\n PipelineRuleParser pipelineRuleParser,\n MetricRegistry metricRegistry) {\n this.filterService = filterService;\n this.stateFactory = stateFactory;\n this.filteredOutputs = filteredOutputs;\n this.ruleBuilderService = ruleBuilderService;\n this.resolverFactory = resolverFactory;\n this.pipelineRuleParser = pipelineRuleParser;\n\n this.pipelineMetricRegistry = PipelineMetricRegistry.create(\n metricRegistry,\n name(PipelineRuleOutputFilter.class, \"pipelines\"),\n name(PipelineRuleOutputFilter.class, \"rules\")\n );\n }\n\n public void init(AtomicReference activeState) {\n reload(activeState, ReloadTrigger.empty());\n }\n\n public void reloadForUpdate(AtomicReference activeState,\n Set updatedFilterRuleIds) {\n reload(activeState, ReloadTrigger.updatedIds(updatedFilterRuleIds));\n }\n\n public void reloadForDelete(AtomicReference activeState,\n Set deletedFilterRuleIds) {\n reload(activeState, ReloadTrigger.deletedIds(deletedFilterRuleIds));\n }\n\n private synchronized void reload(AtomicReference activeState,\n ReloadTrigger reloadTrigger) {\n LOG.debug(\"Reloading filter rules: {}\", reloadTrigger);\n\n final var streamPipelines = new HashMap();\n final var allRules = new ArrayList();\n // We track active and previously active stream IDs, so we can clean up the metrics.\n final var activeStreams = new HashSet();\n final var previouslyActiveStreams = getPreviouslyActiveStreams(activeState);\n\n // TODO: Only load rules where the stream still exists and is active!\n filterService.forEachEnabledFilterGroupedByStream(streamGroup -> {\n LOG.debug(\"Processing stream group: {}\", streamGroup);\n\n final var streamId = streamGroup.streamId();\n final var ruleList = streamGroup.filters()\n .stream()\n .map(this::streamDestinationFilterToRuleDao)\n .toList();\n\n final var filterPipeline = Pipeline.builder()\n // We use the stream ID as pipeline ID, so we can easily select the pipelines we need to\n // run for a message.\n .id(streamId)\n .name(\"Stream Destination Filter: \" + streamId)\n .stages(ImmutableSortedSet.of(\n Stage.builder()\n .stage(0)\n .match(Stage.Match.EITHER)\n .ruleReferences(ruleList.stream().map(RuleDao::title).toList())\n .build()\n ))\n .build();\n\n streamPipelines.put(streamId, filterPipeline);\n allRules.addAll(ruleList);\n activeStreams.add(streamId);\n });\n\n LOG.debug(\"Stream pipelines: {}\", streamPipelines);\n LOG.debug(\"Rule list: {}\", allRules);\n LOG.debug(\"Active streams: {}\", activeStreams);\n\n final var resolver = resolverFactory.create(\n PipelineResolverConfig.of(allRules::stream, java.util.stream.Stream::of),\n pipelineRuleParser\n );\n\n // This activates the new state! Only do cleanup after this statement.\n activeState.set(stateFactory.newState(\n resolver.resolveFunctions(streamPipelines.values(), pipelineMetricRegistry),\n ImmutableSet.copyOf(filteredOutputs.keySet()),\n ImmutableSet.copyOf(activeStreams)\n ));\n\n // Cleanup metrics for old pipeline and rule IDs to avoid stale entries in the metric registry.\n reloadTrigger.deletedIds().forEach(ruleId -> {\n LOG.debug(\"Removing rule metrics for: {}\", ruleId);\n pipelineMetricRegistry.removeRuleMetrics(ruleId);\n });\n Sets.difference(previouslyActiveStreams, activeStreams).forEach(pipelineId -> {\n LOG.debug(\"Removing pipeline metrics for: {}\", pipelineId);\n pipelineMetricRegistry.removePipelineMetrics(pipelineId);\n });\n }\n\n private RuleDao streamDestinationFilterToRuleDao(StreamDestinationFilterRuleDTO dto) {\n // The filter rules are exclude rules. For each matching rule we remove the filter rule's stream from the\n // destination.\n final var removalAction = RuleBuilderStep.builder()\n .id(UUID.randomUUID().toString())\n .title(UUID.randomUUID().toString())\n .function(RemoveFromStreamDestination.NAME)\n .parameters(Map.of(\n RemoveFromStreamDestination.STREAM_ID_PARAM, dto.streamId(),\n RemoveFromStreamDestination.DESTINATION_TYPE_PARAM, dto.destinationType()\n ))\n .build();\n\n // The removal action must be added to the rule, so it's executed when the rule condition matches.\n final var ruleWithRemovalAction = dto.rule().toBuilder().actions(List.of(removalAction)).build();\n\n // The uniqueness of the dto.title() is no guaranteed.\n final var title = f(\"[%s] %s\", dto.id(), dto.title());\n return RuleDao.builder()\n .id(dto.id())\n .title(title)\n .source(ruleBuilderService.generateRuleSource(title, ruleWithRemovalAction, false))\n .build();\n }\n\n private Set getPreviouslyActiveStreams(AtomicReference activeState) {\n return activeState.get() != null ? activeState.get().getActiveStreams() : Set.of();\n }\n\n private record ReloadTrigger(Set updatedIds, Set deletedIds) {\n public static ReloadTrigger empty() {\n return new ReloadTrigger(Set.of(), Set.of());\n }\n\n public static ReloadTrigger updatedIds(Set updatedIds) {\n return new ReloadTrigger(updatedIds, Set.of());\n }\n\n public static ReloadTrigger deletedIds(Set deletedIds) {\n return new ReloadTrigger(Set.of(), deletedIds);\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/dd82357166226dbb75bb100316f90b56b2f6db85.json b/web/public/bundles/graylog/code/dd82357166226dbb75bb100316f90b56b2f6db85.json new file mode 100644 index 00000000..6ffd6e53 --- /dev/null +++ b/web/public/bundles/graylog/code/dd82357166226dbb75bb100316f90b56b2f6db85.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "dd82357166226dbb75bb100316f90b56b2f6db85", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/adapters/dnslookup/DnsClient.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.lookup.adapters.dnslookup;\n\nimport com.google.common.base.Joiner;\nimport com.google.common.base.Splitter;\nimport com.google.common.base.Strings;\nimport com.google.common.collect.Lists;\nimport com.google.common.net.HostAndPort;\nimport com.google.common.net.InetAddresses;\nimport com.google.common.net.InternetDomainName;\nimport io.netty.buffer.ByteBuf;\nimport io.netty.handler.codec.dns.DefaultDnsPtrRecord;\nimport io.netty.handler.codec.dns.DefaultDnsQuestion;\nimport io.netty.handler.codec.dns.DefaultDnsRawRecord;\nimport io.netty.handler.codec.dns.DefaultDnsRecordDecoder;\nimport io.netty.handler.codec.dns.DnsRecord;\nimport io.netty.handler.codec.dns.DnsRecordType;\nimport io.netty.handler.codec.dns.DnsResponse;\nimport io.netty.handler.codec.dns.DnsSection;\nimport io.netty.resolver.dns.DnsNameResolver;\nimport org.apache.commons.lang3.StringUtils;\nimport org.graylog2.lookup.adapters.dnslookup.DnsResolverPool.ResolverLease;\nimport org.graylog2.shared.utilities.ExceptionUtils;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.net.Inet4Address;\nimport java.net.Inet6Address;\nimport java.net.InetAddress;\nimport java.net.UnknownHostException;\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.Locale;\nimport java.util.Objects;\nimport java.util.concurrent.ExecutionException;\nimport java.util.concurrent.TimeUnit;\nimport java.util.concurrent.TimeoutException;\nimport java.util.regex.Pattern;\nimport java.util.stream.Collectors;\n\nimport static org.graylog2.lookup.adapters.dnslookup.DnsLookupAdapterConfiguration.DEFAULT_POOL_SIZE;\nimport static org.graylog2.lookup.adapters.dnslookup.DnsLookupAdapterConfiguration.DEFAULT_REFRESH_INTERVAL_SECONDS;\n\npublic class DnsClient {\n private static final Logger LOG = LoggerFactory.getLogger(DnsClient.class);\n\n private static final int DEFAULT_DNS_PORT = 53;\n private static final int DEFAULT_REQUEST_TIMEOUT_INCREMENT = 100;\n private static final Pattern VALID_HOSTNAME_PATTERN = Pattern.compile(\"^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\\\-]*[a-zA-Z0-9])\\\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\\\-]*[A-Za-z0-9])$\");\n\n // Use fully qualified reverse lookup domain names (with dot at end).\n private static final String IP_4_REVERSE_SUFFIX = \".in-addr.arpa.\";\n private static final String IP_6_REVERSE_SUFFIX = \".ip6.arpa.\";\n\n private static final String IP_4_VERSION = \"IPv4\";\n private static final String IP_6_VERSION = \"IPv6\";\n\n // Used to convert binary IPv6 address to hex.\n private static final char[] HEX_CHARS_ARRAY = \"0123456789ABCDEF\".toCharArray();\n private final long queryTimeout;\n private final long requestTimeout;\n private final long resolverPoolSize;\n private final long resolverPoolRefreshSeconds;\n private DnsResolverPool resolverPool;\n\n /**\n * Creates a new DNS client with the given query timeout. The request timeout will be the query timeout plus\n * the {@link #DEFAULT_REQUEST_TIMEOUT_INCREMENT}.\n *\n * @param queryTimeout the query timeout\n * @see #DnsClient(long, long)\n */\n public DnsClient(long queryTimeout) {\n this(queryTimeout, queryTimeout + DEFAULT_REQUEST_TIMEOUT_INCREMENT);\n }\n\n /**\n * Creates a new DNS client with the given query and request timeout. The query timeout is the maximum time to\n * wait for a DNS response from a DNS server. The request timeout is the maximum time to wait for the DNS request\n * completion. The request timeout should always be higher than the query timeout.\n *\n * Background: The request timeout is used to avoid blocking a thread by waiting for the DNS resolve future to\n * complete. This can happen when the {@link DnsNameResolver} is closed, and the event loop is shut down while\n * a resolver request is still running.\n *\n * @param queryTimeout the query timeout\n * @param requestTimeout the request timeout\n */\n public DnsClient(long queryTimeout, long requestTimeout) {\n this(queryTimeout, requestTimeout, DEFAULT_POOL_SIZE, DEFAULT_REFRESH_INTERVAL_SECONDS);\n }\n\n public DnsClient(long queryTimeout, int resolverPoolSize, long resolverPoolRefreshSeconds) {\n this(queryTimeout, queryTimeout + DEFAULT_REQUEST_TIMEOUT_INCREMENT, resolverPoolSize, resolverPoolRefreshSeconds);\n }\n\n private DnsClient(long queryTimeout, long requestTimeout, int resolverPoolSize, long resolverPoolRefreshSeconds) {\n this.queryTimeout = queryTimeout;\n this.requestTimeout = requestTimeout;\n this.resolverPoolSize = resolverPoolSize;\n this.resolverPoolRefreshSeconds = resolverPoolRefreshSeconds;\n }\n\n public void start(String dnsServerIps) {\n LOG.debug(\"Attempting to start DNS client\");\n this.resolverPool = new DnsResolverPool(dnsServerIps, queryTimeout, resolverPoolSize, resolverPoolRefreshSeconds);\n this.resolverPool.initialize();\n }\n\n public void stop() {\n LOG.debug(\"Attempting to stop DNS client\");\n if (resolverPool == null) {\n LOG.error(\"DNS resolution pool is not initialized.\");\n return;\n }\n resolverPool.stop();\n }\n\n public List resolveIPv4AddressForHostname(String hostName, boolean includeIpVersion)\n throws InterruptedException, ExecutionException, UnknownHostException {\n\n return resolveIpAddresses(hostName, DnsRecordType.A, includeIpVersion);\n }\n\n public List resolveIPv6AddressForHostname(String hostName, boolean includeIpVersion)\n throws InterruptedException, ExecutionException, UnknownHostException {\n\n return resolveIpAddresses(hostName, DnsRecordType.AAAA, includeIpVersion);\n }\n\n private List resolveIpAddresses(String hostName, DnsRecordType dnsRecordType, boolean includeIpVersion)\n throws InterruptedException, ExecutionException {\n\n LOG.debug(\"Attempting to resolve [{}] records for [{}]\", dnsRecordType, hostName);\n\n if (resolverPool.isStopped()) {\n throw new DnsClientNotRunningException();\n }\n\n validateHostName(hostName);\n\n final DefaultDnsQuestion aRecordDnsQuestion = new DefaultDnsQuestion(hostName, dnsRecordType);\n\n final ResolverLease resolverLease = resolverPool.takeLease();\n /* The DnsNameResolver.resolveAll(DnsQuestion) method handles all redirects through CNAME records to\n * ultimately resolve a list of IP addresses with TTL values. */\n try {\n return resolverLease.getResolver().resolveAll(aRecordDnsQuestion).get(requestTimeout, TimeUnit.MILLISECONDS).stream()\n .map(dnsRecord -> decodeDnsRecord(dnsRecord, includeIpVersion))\n .filter(Objects::nonNull) // Removes any entries which the IP address could not be extracted for.\n .collect(Collectors.toList());\n } catch (TimeoutException e) {\n throw new ExecutionException(\"Resolver future didn't return a result in \" + requestTimeout + \" ms\", e);\n }\n finally {\n resolverPool.returnLease(resolverLease);\n }\n }\n\n /**\n * Picks out the IP address and TTL from the answer response for each record.\n */\n private static ADnsAnswer decodeDnsRecord(DnsRecord dnsRecord, boolean includeIpVersion) {\n\n if (dnsRecord == null) {\n return null;\n }\n\n LOG.trace(\"Attempting to decode DNS record [{}]\", dnsRecord);\n\n /* Read data from DNS record response. The data is a binary representation of the IP address\n * IPv4 address: 32 bits, IPv6 address: 128 bits */\n byte[] ipAddressBytes;\n final DefaultDnsRawRecord dnsRawRecord = (DefaultDnsRawRecord) dnsRecord;\n try {\n final ByteBuf byteBuf = dnsRawRecord.content();\n ipAddressBytes = new byte[byteBuf.readableBytes()];\n int readerIndex = byteBuf.readerIndex();\n byteBuf.getBytes(readerIndex, ipAddressBytes);\n } finally {\n /* Must manually release references on dnsRawRecord object since the DefaultDnsRawRecord class\n * extends ReferenceCounted. This also releases the above ByteBuf, since DefaultDnsRawRecord is\n * the holder for it. */\n dnsRawRecord.release();\n }\n\n LOG.trace(\"The IP address has [{}] bytes\", ipAddressBytes.length);\n\n InetAddress ipAddress;\n try {\n ipAddress = InetAddress.getByAddress(ipAddressBytes); // Takes care of correctly creating an IPv4 or IPv6 address.\n } catch (UnknownHostException e) {\n // This should not happen.\n LOG.error(\"Could not extract IP address from DNS entry [{}]. Cause [{}]\", dnsRecord.toString(), ExceptionUtils.getRootCauseMessage(e));\n return null;\n }\n\n LOG.trace(\"The resulting IP address is [{}]\", ipAddress.getHostAddress());\n\n final ADnsAnswer.Builder builder = ADnsAnswer.builder()\n .ipAddress(ipAddress.getHostAddress())\n .dnsTTL(dnsRecord.timeToLive());\n\n if (includeIpVersion) {\n builder.ipVersion(ipAddress instanceof Inet4Address ? IP_4_VERSION : IP_6_VERSION);\n }\n\n return builder.build();\n }\n\n public PtrDnsAnswer reverseLookup(String ipAddress) throws InterruptedException, ExecutionException {\n\n LOG.debug(\"Attempting to perform reverse lookup for IP address [{}]\", ipAddress);\n\n if (resolverPool.isStopped()) {\n throw new DnsClientNotRunningException();\n }\n\n validateIpAddress(ipAddress);\n\n final String inverseAddressFormat = getInverseAddressFormat(ipAddress);\n\n DnsResponse content = null;\n final ResolverLease resolverLease = resolverPool.takeLease();\n try {\n content = resolverLease.getResolver().query(new DefaultDnsQuestion(inverseAddressFormat, DnsRecordType.PTR)).get(requestTimeout, TimeUnit.MILLISECONDS).content();\n for (int i = 0; i < content.count(DnsSection.ANSWER); i++) {\n\n // Return the first PTR record, because there should be only one as per\n // http://tools.ietf.org/html/rfc1035#section-3.5\n final DnsRecord dnsRecord = content.recordAt(DnsSection.ANSWER, i);\n if (dnsRecord instanceof DefaultDnsPtrRecord) {\n\n final DefaultDnsPtrRecord ptrRecord = (DefaultDnsPtrRecord) dnsRecord;\n final PtrDnsAnswer.Builder dnsAnswerBuilder = PtrDnsAnswer.builder();\n\n final String hostname = ptrRecord.hostname();\n LOG.trace(\"PTR record retrieved with hostname [{}]\", hostname);\n\n try {\n parseReverseLookupDomain(dnsAnswerBuilder, hostname);\n } catch (IllegalArgumentException e) {\n LOG.debug(\"Reverse lookup of [{}] was partially successful. The DNS server returned [{}], \" +\n \"which is an invalid host name. The \\\"domain\\\" field will be left blank.\",\n ipAddress, hostname);\n dnsAnswerBuilder.domain(\"\");\n }\n\n return dnsAnswerBuilder.dnsTTL(ptrRecord.timeToLive())\n .build();\n }\n }\n } catch (TimeoutException e) {\n throw new ExecutionException(\"Resolver future didn't return a result in \" + requestTimeout + \" ms\", e);\n } finally {\n if (content != null) {\n // Must manually release references on content object since the DnsResponse class extends ReferenceCounted\n content.release();\n }\n resolverPool.returnLease(resolverLease);\n }\n\n return null;\n }\n\n /**\n * Extract the domain name (without subdomain). The Guava {@link InternetDomainName} implementation\n * provides a method to correctly handle this (and handles special cases for TLDs with multiple\n * names. eg. for lb01.store.amazon.co.uk, only amazon.co.uk would be extracted).\n * It uses https://publicsuffix.org behind the scenes.\n *

\n * Some domains (eg. completely randomly defined PTR domains) are not considered to have a public\n * suffix according to Guava. For those, the only option is to manually extract the domain with\n * string operations. This should be a rare case.\n */\n public static void parseReverseLookupDomain(PtrDnsAnswer.Builder dnsAnswerBuilder, String hostname) {\n\n dnsAnswerBuilder.fullDomain(hostname);\n\n final InternetDomainName internetDomainName = InternetDomainName.from(hostname);\n if (internetDomainName.hasPublicSuffix()) {\n\n // Use Guava to extract domain name.\n final InternetDomainName topDomainName = internetDomainName.topDomainUnderRegistrySuffix();\n dnsAnswerBuilder.domain(topDomainName.toString());\n } else {\n\n /* Manually extract domain name.\n * Eg. for hostname test.some-domain.com, only some-domain.com will be extracted. */\n String[] split = hostname.split(\"\\\\.\");\n if (split.length > 1) {\n dnsAnswerBuilder.domain(split[split.length - 2] + \".\" + split[split.length - 1]);\n } else if (split.length == 1) {\n dnsAnswerBuilder.domain(hostname); // Domain is a single word with no dots.\n } else {\n dnsAnswerBuilder.domain(\"\"); // Domain is blank.\n }\n }\n }\n\n public List txtLookup(String hostName) throws InterruptedException, ExecutionException {\n\n if (resolverPool.isStopped()) {\n throw new DnsClientNotRunningException();\n }\n\n LOG.debug(\"Attempting to perform TXT lookup for hostname [{}]\", hostName);\n\n validateHostName(hostName);\n\n DnsResponse content = null;\n final ResolverLease resolverLease = resolverPool.takeLease();\n try {\n content = resolverLease.getResolver().query(new DefaultDnsQuestion(hostName, DnsRecordType.TXT)).get(requestTimeout, TimeUnit.MILLISECONDS).content();\n int count = content.count(DnsSection.ANSWER);\n final ArrayList txtRecords = new ArrayList<>(count);\n for (int i = 0; i < count; i++) {\n\n final DnsRecord dnsRecord = content.recordAt(DnsSection.ANSWER, i);\n LOG.trace(\"TXT record [{}] retrieved with content [{}].\", i, dnsRecord);\n\n if (dnsRecord instanceof DefaultDnsRawRecord) {\n final DefaultDnsRawRecord txtRecord = (DefaultDnsRawRecord) dnsRecord;\n\n final TxtDnsAnswer.Builder dnsAnswerBuilder = TxtDnsAnswer.builder();\n final String decodeTxtRecord = decodeTxtRecord(txtRecord);\n LOG.trace(\"The decoded TXT record is [{}]\", decodeTxtRecord);\n\n dnsAnswerBuilder.value(decodeTxtRecord)\n .dnsTTL(txtRecord.timeToLive())\n .build();\n\n txtRecords.add(dnsAnswerBuilder.build());\n }\n }\n\n return txtRecords;\n } catch (TimeoutException e) {\n throw new ExecutionException(\"Resolver future didn't return a result in \" + requestTimeout + \" ms\", e);\n } finally {\n if (content != null) {\n // Must manually release references on content object since the DnsResponse class extends ReferenceCounted\n content.release();\n }\n resolverPool.returnLease(resolverLease);\n }\n }\n\n private static String decodeTxtRecord(DefaultDnsRawRecord record) {\n\n LOG.debug(\"Attempting to read TXT value from DNS record [{}]\", record);\n\n return DefaultDnsRecordDecoder.decodeName(record.content());\n }\n\n public String getInverseAddressFormat(String ipAddress) {\n\n ipAddress = StringUtils.trim(ipAddress);\n\n validateIpAddress(ipAddress);\n\n LOG.debug(\"Preparing inverse format for IP address [{}]\", ipAddress);\n\n // Detect what type of address is provided (IPv4 or IPv6)\n if (isIp6Address(ipAddress)) {\n\n LOG.debug(\"[{}] is an IPv6 address\", ipAddress);\n\n /* Build reverse IPv6 address string with correct ip6.arpa suffix.\n * All hex nibbles from the full address should be reversed (with dots in between)\n * and the ip6.arpa suffix added to the end.\n *\n * For example, the reverse format for the address 2604:a880:800:10::7a1:b001 is\n * 1.0.0.b.1.a.7.0.0.0.0.0.0.0.0.0.0.1.0.0.0.0.8.0.0.8.8.a.4.0.6.2.ip6.arpa\n * See https://www.dnscheck.co/ptr-record-monitor for more info. */\n\n // Parse the full address as an InetAddress to allow the full address bytes (16 bytes/128 bits) to be obtained.\n final byte[] addressBytes = InetAddresses.forString(ipAddress).getAddress();\n\n if (addressBytes.length > 16) {\n throw new IllegalArgumentException(String.format(Locale.ENGLISH, \"[%s] is an invalid IPv6 address\", ipAddress));\n }\n\n // Convert the raw address bytes to hex.\n final char[] resolvedHex = new char[addressBytes.length * 2];\n for (int i = 0; i < addressBytes.length; i++) {\n final int v = addressBytes[i] & 0xFF;\n resolvedHex[i * 2] = HEX_CHARS_ARRAY[v >>> 4];\n resolvedHex[i * 2 + 1] = HEX_CHARS_ARRAY[v & 0x0F];\n }\n\n final String fullHexAddress = new String(resolvedHex).toLowerCase(Locale.ENGLISH);\n final String[] reversedAndSplit = new StringBuilder(fullHexAddress).reverse().toString().split(\"\");\n\n final String invertedAddress = Joiner.on(\".\").join(reversedAndSplit);\n\n LOG.debug(\"Inverted address [{}] built for [{}]\", invertedAddress, ipAddress);\n\n return invertedAddress + IP_6_REVERSE_SUFFIX;\n } else {\n\n LOG.debug(\"[{}] is an IPv4 address\", ipAddress);\n\n /* Build reverse IPv4 address string with correct in-addr.arpa suffix.\n * All octets should be reversed and the ip6.arpa suffix added to the end.\n *\n * For example, the reverse format for the address 10.20.30.40 is\n * 40.30.20.10.in-addr.arpa */\n final String[] octets = ipAddress.split(\"\\\\.\");\n final String invertedAddress = octets[3] + \".\" + octets[2] + \".\" + octets[1] + \".\" + octets[0] + IP_4_REVERSE_SUFFIX;\n\n LOG.debug(\"Inverted address [{}] built for [{}]\", invertedAddress, ipAddress);\n\n return invertedAddress;\n }\n }\n\n private void validateHostName(String hostName) {\n\n if (!isHostName(hostName)) {\n throw new IllegalArgumentException(\n String.format(Locale.ENGLISH, \"[%s] is an invalid hostname. Please supply a pure hostname (eg. api.graylog.com)\",\n hostName));\n }\n }\n\n public static boolean isHostName(String hostName) {\n\n return VALID_HOSTNAME_PATTERN.matcher(hostName).matches();\n }\n\n private static void validateIpAddress(final String ipAddress) {\n\n if (!isValidIpAddress(ipAddress)) {\n throw new IllegalArgumentException(\n String.format(Locale.ENGLISH, \"[%s] is an invalid IP address.\", ipAddress));\n }\n }\n\n private static boolean isValidIpAddress(String ipAddress) {\n\n return isIp4Address(ipAddress) || isIp6Address(ipAddress);\n }\n\n public static boolean isIp4Address(String ipAddress) {\n\n try {\n final InetAddress address = InetAddresses.forString(ipAddress);\n if (address instanceof Inet4Address) {\n return true;\n }\n } catch (IllegalArgumentException e) {\n // Absorb exception.\n }\n\n return false;\n }\n\n public static boolean isIp6Address(String ipAddress) {\n\n try {\n final InetAddress address = InetAddresses.forString(ipAddress);\n if (address instanceof Inet6Address) {\n return true;\n }\n } catch (IllegalArgumentException e) {\n // Absorb exception.\n }\n\n return false;\n }\n\n /**\n * @param ipAddresses A comma-separated list of IP addresses\n * @return true if all comma-separated IP addresses are valid\n * \"8.8.4.4, 8.8.8.8\" returns true\n * \"8.8.4.4, \" returns true\n * \"8.8.4.4\" returns true\n * \"8.8.4.4 8.8.8.8\" returns false\n * \"8.8.4.4, google.com\" returns false\n */\n public static boolean allIpAddressesValid(String ipAddresses) {\n\n if (!Strings.isNullOrEmpty(ipAddresses)) {\n return Lists.newArrayList(Splitter.on(\",\")\n .trimResults()\n .omitEmptyStrings()\n .split(ipAddresses)).stream()\n .map(hostAndPort -> HostAndPort.fromString(hostAndPort).withDefaultPort(DnsClient.DEFAULT_DNS_PORT))\n .allMatch(hostAndPort -> isValidIpAddress(hostAndPort.getHost()));\n }\n\n return false;\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/dde4b8ae5d213648cd543420bdcfabbd4bdc92c4.json b/web/public/bundles/graylog/code/dde4b8ae5d213648cd543420bdcfabbd4bdc92c4.json new file mode 100644 index 00000000..164785a1 --- /dev/null +++ b/web/public/bundles/graylog/code/dde4b8ae5d213648cd543420bdcfabbd4bdc92c4.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "dde4b8ae5d213648cd543420bdcfabbd4bdc92c4", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/system/processing/MongoDBProcessingStatusRecorderService.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.system.processing;\n\nimport com.codahale.metrics.Gauge;\nimport com.codahale.metrics.Meter;\nimport com.codahale.metrics.MetricRegistry;\nimport com.github.joschi.jadconfig.util.Duration;\nimport com.google.common.eventbus.EventBus;\nimport com.google.common.eventbus.Subscribe;\nimport com.google.common.util.concurrent.AbstractIdleService;\nimport org.graylog2.plugin.ServerStatus;\nimport org.graylog2.plugin.lifecycles.Lifecycle;\nimport org.graylog2.shared.journal.LocalKafkaJournal;\nimport org.joda.time.DateTime;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport jakarta.inject.Inject;\nimport jakarta.inject.Named;\nimport jakarta.inject.Singleton;\n\nimport java.util.concurrent.ScheduledExecutorService;\nimport java.util.concurrent.ScheduledFuture;\nimport java.util.concurrent.TimeUnit;\nimport java.util.concurrent.atomic.AtomicBoolean;\nimport java.util.concurrent.atomic.AtomicReference;\n\nimport static com.codahale.metrics.MetricRegistry.name;\nimport static org.graylog2.plugin.GlobalMetricNames.PROCESS_BUFFER_USAGE;\nimport static org.joda.time.DateTimeZone.UTC;\n\n@Singleton\npublic class MongoDBProcessingStatusRecorderService extends AbstractIdleService implements ProcessingStatusRecorder {\n private static final Logger LOG = LoggerFactory.getLogger(MongoDBProcessingStatusRecorderService.class);\n\n private static final DateTime DEFAULT_RECEIVE_TIME = new DateTime(0L, UTC);\n private static final String READ_MESSAGES_METRIC = name(LocalKafkaJournal.class.getName(),\n LocalKafkaJournal.METER_READ_MESSAGES);\n private static final String WRITTEN_MESSAGES_METRIC = name(LocalKafkaJournal.class.getName(),\n LocalKafkaJournal.METER_WRITTEN_MESSAGES);\n private static final String UNCOMMITTED_MESSAGES_METRIC = name(LocalKafkaJournal.class.getName(),\n LocalKafkaJournal.GAUGE_UNCOMMITTED_MESSAGES);\n\n private final AtomicReference ingestReceiveTime = new AtomicReference<>(DEFAULT_RECEIVE_TIME);\n private final AtomicReference postProcessingReceiveTime = new AtomicReference<>(DEFAULT_RECEIVE_TIME);\n private final AtomicReference postIndexReceiveTime = new AtomicReference<>(DEFAULT_RECEIVE_TIME);\n\n private final DBProcessingStatusService dbService;\n private final EventBus eventBus;\n private final ServerStatus serverStatus;\n private final MetricRegistry metricRegistry;\n private final Duration persistInterval;\n private final ScheduledExecutorService scheduler;\n private final AtomicBoolean inShutdown = new AtomicBoolean(false);\n private ScheduledFuture future;\n\n @Inject\n public MongoDBProcessingStatusRecorderService(DBProcessingStatusService dbService,\n EventBus eventBus,\n ServerStatus serverStatus,\n MetricRegistry metricRegistry,\n @Named(ProcessingStatusConfig.PERSIST_INTERVAL) Duration persistInterval,\n @Named(\"daemonScheduler\") ScheduledExecutorService scheduler) {\n this.dbService = dbService;\n this.eventBus = eventBus;\n this.serverStatus = serverStatus;\n this.metricRegistry = metricRegistry;\n this.persistInterval = persistInterval;\n this.scheduler = scheduler;\n }\n\n @Subscribe\n public void handleServerShutdown(Lifecycle lifecycle) {\n if (lifecycle == Lifecycle.HALTING) {\n inShutdown.set(true);\n }\n }\n\n @Override\n protected void startUp() {\n eventBus.register(this);\n\n LOG.debug(\"Starting processing status recorder service\");\n try {\n dbService.get().ifPresent(processingStatus -> {\n LOG.debug(\"Loaded persisted processing status: {}\", processingStatus);\n\n // Do not directly set the timestamps on the atomic reference to make sure latestTimestamp() is used.\n // The timestamps could already have been updated once the database call is finished.\n final ProcessingStatusDto.ReceiveTimes receiveTimes = processingStatus.receiveTimes();\n updateIngestReceiveTime(receiveTimes.ingest());\n updatePostProcessingReceiveTime(receiveTimes.postProcessing());\n updatePostIndexingReceiveTime(receiveTimes.postIndexing());\n });\n } catch (Exception e) {\n LOG.error(\"Couldn't load persisted processing status\", e);\n }\n\n final long interval = persistInterval.toMilliseconds();\n future = scheduler.scheduleWithFixedDelay(this::doPersist, interval, interval, TimeUnit.MILLISECONDS);\n }\n\n @Override\n protected void shutDown() {\n LOG.debug(\"Shutting down processing status recorder service\");\n\n inShutdown.set(true);\n eventBus.unregister(this);\n if (future != null) {\n future.cancel(true);\n }\n }\n\n private void doPersist() {\n if (inShutdown.get()) {\n LOG.debug(\"Not persisting data because server is shutting down\");\n return;\n }\n try {\n final ProcessingStatusDto dto = dbService.save(this);\n LOG.debug(\"Persisted processing status: {}\", dto);\n } catch (Exception e) {\n LOG.error(\"Couldn't persist processing status\", e);\n }\n }\n\n @Override\n public Lifecycle getNodeLifecycleStatus() {\n return serverStatus.getLifecycle();\n }\n\n @Override\n public DateTime getIngestReceiveTime() {\n return ingestReceiveTime.get();\n }\n\n @Override\n public DateTime getPostProcessingReceiveTime() {\n return postProcessingReceiveTime.get();\n }\n\n @Override\n public DateTime getPostIndexingReceiveTime() {\n return postIndexReceiveTime.get();\n }\n\n @Override\n public long getJournalInfoUncommittedEntries() {\n //noinspection unchecked\n final Gauge gauge = (Gauge) metricRegistry\n .getGauges((name, metric) -> UNCOMMITTED_MESSAGES_METRIC.equals(name))\n .get(UNCOMMITTED_MESSAGES_METRIC);\n if (gauge != null) {\n return gauge.getValue();\n }\n return 0;\n }\n\n @Override\n public double getJournalInfoReadMessages1mRate() {\n return getJournalInfoMeter1mRate(READ_MESSAGES_METRIC);\n }\n\n @Override\n public double getJournalInfoWrittenMessages1mRate() {\n return getJournalInfoMeter1mRate(WRITTEN_MESSAGES_METRIC);\n }\n\n private double getJournalInfoMeter1mRate(String metricName) {\n final Meter meter = metricRegistry.getMeters((name, metric) -> metricName.equals(name)).get(metricName);\n if (meter != null) {\n return meter.getOneMinuteRate();\n }\n return 0;\n }\n\n @Override\n public long getProcessBufferUsage() {\n //noinspection unchecked\n final Gauge gauge = (Gauge) metricRegistry\n .getGauges((name, metric) -> name.equals(PROCESS_BUFFER_USAGE))\n .get(PROCESS_BUFFER_USAGE);\n if (gauge != null) {\n return gauge.getValue();\n }\n return 0;\n }\n\n @Override\n public void updateIngestReceiveTime(DateTime newTimestamp) {\n if (newTimestamp != null) {\n ingestReceiveTime.updateAndGet(timestamp -> latestTimestamp(timestamp, newTimestamp));\n }\n }\n\n @Override\n public void updatePostProcessingReceiveTime(DateTime newTimestamp) {\n if (newTimestamp != null) {\n postProcessingReceiveTime.updateAndGet(timestamp -> latestTimestamp(timestamp, newTimestamp));\n }\n }\n\n @Override\n public void updatePostIndexingReceiveTime(DateTime newTimestamp) {\n if (newTimestamp != null) {\n postIndexReceiveTime.updateAndGet(timestamp -> latestTimestamp(timestamp, newTimestamp));\n }\n }\n\n private DateTime latestTimestamp(DateTime timestamp, DateTime newTimestamp) {\n return newTimestamp.isAfter(timestamp) ? newTimestamp : timestamp;\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/de049bb9d48bcdef64cef18441d6c83e8bd4ab71.json b/web/public/bundles/graylog/code/de049bb9d48bcdef64cef18441d6c83e8bd4ab71.json new file mode 100644 index 00000000..93cfe282 --- /dev/null +++ b/web/public/bundles/graylog/code/de049bb9d48bcdef64cef18441d6c83e8bd4ab71.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "de049bb9d48bcdef64cef18441d6c83e8bd4ab71", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/SlidingExpirationCookieFilter.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.resources.system;\n\nimport jakarta.inject.Inject;\nimport jakarta.ws.rs.container.ContainerRequestContext;\nimport jakarta.ws.rs.container.ContainerResponseContext;\nimport jakarta.ws.rs.container.ContainerResponseFilter;\nimport jakarta.ws.rs.core.NewCookie;\nimport jakarta.ws.rs.core.SecurityContext;\nimport org.apache.shiro.session.Session;\nimport org.apache.shiro.subject.Subject;\nimport org.graylog2.shared.security.ShiroPrincipal;\n\nimport java.io.IOException;\nimport java.util.Optional;\n\nimport static org.graylog2.security.realm.SessionAuthenticator.X_GRAYLOG_NO_SESSION_EXTENSION;\n\npublic class SlidingExpirationCookieFilter implements ContainerResponseFilter {\n private final CookieFactory cookieFactory;\n\n @Inject\n public SlidingExpirationCookieFilter(CookieFactory cookieFactory) {\n this.cookieFactory = cookieFactory;\n }\n\n @Override\n public void filter(ContainerRequestContext requestContext, ContainerResponseContext responseContext) throws IOException {\n if (noSessionExtension(requestContext)) {\n return;\n }\n\n sessionFromRequest(requestContext).ifPresent(session -> {\n var cookie = cookieFactory.createAuthenticationCookie(session, requestContext);\n\n setCookie(responseContext, cookie);\n });\n }\n\n private Optional sessionFromRequest(ContainerRequestContext requestContext) {\n return Optional.ofNullable(requestContext.getSecurityContext())\n .map(SecurityContext::getUserPrincipal)\n .filter(p -> p instanceof ShiroPrincipal)\n .map(principal -> ((ShiroPrincipal) principal).getSubject())\n .filter(Subject::isAuthenticated)\n .map(subject -> subject.getSession(false));\n }\n\n private boolean noSessionExtension(ContainerRequestContext requestContext) {\n return Optional.ofNullable(requestContext.getHeaderString(X_GRAYLOG_NO_SESSION_EXTENSION))\n .map(\"true\"::equalsIgnoreCase)\n .orElse(false);\n }\n\n private void setCookie(ContainerResponseContext responseContext, NewCookie cookie) {\n responseContext.getHeaders().add(\"Set-Cookie\", cookie);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/de71269b22dcc031c4955b21d0bd628ada6412af.json b/web/public/bundles/graylog/code/de71269b22dcc031c4955b21d0bd628ada6412af.json new file mode 100644 index 00000000..360d6946 --- /dev/null +++ b/web/public/bundles/graylog/code/de71269b22dcc031c4955b21d0bd628ada6412af.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "de71269b22dcc031c4955b21d0bd628ada6412af", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/searchtypes/events/EventSummary.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.views.search.searchtypes.events;\n\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonIgnore;\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.jackson.databind.annotation.JsonDeserialize;\nimport com.google.auto.value.AutoValue;\nimport org.graylog.events.event.EventDto;\nimport org.graylog.events.event.EventReplayInfo;\nimport org.joda.time.DateTime;\n\nimport javax.annotation.Nullable;\nimport java.util.List;\nimport java.util.Optional;\nimport java.util.Set;\n\n@AutoValue\n@JsonDeserialize(builder = EventSummary.Builder.class)\npublic abstract class EventSummary implements CommonEventSummary {\n @SuppressWarnings(\"unchecked\")\n public static EventSummary parse(EventDto event) {\n return EventSummary.builder()\n .alert(event.alert())\n .id(event.id())\n .message(event.message())\n .streams(event.sourceStreams())\n .timestamp(event.eventTimestamp())\n .eventDefinitionId(event.eventDefinitionId())\n .priority(event.priority())\n .key(event.key())\n .eventKeys(event.keyTuple())\n .replayInfo(event.replayInfo())\n .rawEvent(event)\n .build();\n }\n\n public static EventSummary.Builder builder() {\n return EventSummary.Builder.create();\n }\n\n public abstract EventSummary.Builder toBuilder();\n\n @AutoValue.Builder\n @JsonIgnoreProperties({\"_id\"})\n public static abstract class Builder {\n @JsonCreator\n public static Builder create() {\n return new AutoValue_EventSummary.Builder();\n }\n\n @JsonProperty(FIELD_ID)\n public abstract Builder id(String id);\n\n @JsonProperty(FIELD_STREAMS)\n public abstract Builder streams(Set streams);\n\n @JsonProperty(FIELD_EVENT_TIMESTAMP)\n public abstract Builder timestamp(DateTime timestamp);\n\n @JsonProperty(FIELD_MESSAGE)\n public abstract Builder message(String message);\n\n @JsonProperty(FIELD_ALERT)\n public abstract Builder alert(boolean alert);\n\n @JsonProperty(FIELD_EVENT_DEFINITION_ID)\n public abstract Builder eventDefinitionId(String eventDefinitionId);\n\n @JsonProperty(FIELD_KEY)\n public abstract Builder key(@Nullable String key);\n\n @JsonProperty(FIELD_PRIORITY)\n public abstract Builder priority(Long priority);\n\n @JsonProperty(FIELD_EVENT_KEYS)\n public abstract Builder eventKeys(List eventKeys);\n\n @JsonProperty(FIELD_REPLAY_INFO)\n public abstract Builder replayInfo(@SuppressWarnings(\"OptionalUsedAsFieldOrParameterType\") Optional replayInfo);\n\n @JsonIgnore\n public abstract Builder rawEvent(@Nullable EventDto rawEvent);\n\n public abstract EventSummary build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/ded986e2121e73cd56bbdc39bf69cd8ebd34eb79.json b/web/public/bundles/graylog/code/ded986e2121e73cd56bbdc39bf69cd8ebd34eb79.json new file mode 100644 index 00000000..dd79fde4 --- /dev/null +++ b/web/public/bundles/graylog/code/ded986e2121e73cd56bbdc39bf69cd8ebd34eb79.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "ded986e2121e73cd56bbdc39bf69cd8ebd34eb79", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamDTO.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.streams;\n\nimport com.fasterxml.jackson.annotation.JsonAutoDetect;\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.jackson.databind.annotation.JsonDeserialize;\nimport com.google.auto.value.AutoValue;\nimport org.bson.types.ObjectId;\nimport org.graylog2.database.DbEntity;\nimport org.graylog2.database.entities.DefaultEntityScope;\nimport org.graylog2.database.entities.ScopedEntity;\nimport org.graylog2.plugin.streams.Stream;\nimport org.graylog2.rest.models.alarmcallbacks.requests.AlertReceivers;\nimport org.graylog2.rest.models.streams.alerts.AlertConditionSummary;\nimport org.joda.time.DateTime;\n\nimport javax.annotation.Nullable;\nimport java.util.Collection;\nimport java.util.List;\nimport java.util.Set;\n\nimport static org.graylog2.shared.security.EntityPermissionsUtils.ID_FIELD;\nimport static org.graylog2.shared.security.RestPermissions.STREAMS_READ;\nimport static org.graylog2.streams.StreamDTO.FIELD_CATEGORIES;\nimport static org.graylog2.streams.StreamDTO.FIELD_CREATED_AT;\nimport static org.graylog2.streams.StreamDTO.FIELD_CREATOR_USER_ID;\nimport static org.graylog2.streams.StreamDTO.FIELD_DEFAULT_STREAM;\nimport static org.graylog2.streams.StreamDTO.FIELD_DESCRIPTION;\nimport static org.graylog2.streams.StreamDTO.FIELD_DISABLED;\nimport static org.graylog2.streams.StreamDTO.FIELD_INDEX_SET_ID;\nimport static org.graylog2.streams.StreamDTO.FIELD_IS_EDITABLE;\nimport static org.graylog2.streams.StreamDTO.FIELD_MATCHING_TYPE;\nimport static org.graylog2.streams.StreamDTO.FIELD_TITLE;\n\n@AutoValue\n@JsonAutoDetect\n@JsonDeserialize(builder = StreamDTO.Builder.class)\n@DbEntity(collection = \"streams\", readPermission = STREAMS_READ,\n readableFields = {ID_FIELD, FIELD_TITLE, FIELD_DESCRIPTION, FIELD_DISABLED, FIELD_CREATED_AT,\n FIELD_CREATOR_USER_ID, FIELD_MATCHING_TYPE, FIELD_INDEX_SET_ID,\n FIELD_IS_EDITABLE, FIELD_CATEGORIES, FIELD_DEFAULT_STREAM})\n// Package-private to prevent usage outside the streams package.\nabstract class StreamDTO implements ScopedEntity {\n public static final String FIELD_TITLE = \"title\";\n public static final String FIELD_DESCRIPTION = \"description\";\n public static final String FIELD_RULES = \"rules\";\n public static final String FIELD_OUTPUTS = \"outputs\";\n public static final String FIELD_CONTENT_PACK = \"content_pack\";\n public static final String FIELD_ALERT_RECEIVERS = \"alert_receivers\";\n public static final String FIELD_DISABLED = \"disabled\";\n public static final String FIELD_CREATED_AT = \"created_at\";\n public static final String FIELD_CREATOR_USER_ID = \"creator_user_id\";\n public static final String FIELD_MATCHING_TYPE = \"matching_type\";\n public static final String FIELD_DEFAULT_STREAM = \"is_default_stream\";\n public static final String FIELD_REMOVE_MATCHES_FROM_DEFAULT_STREAM = \"remove_matches_from_default_stream\";\n public static final String FIELD_INDEX_SET_ID = \"index_set_id\";\n public static final String EMBEDDED_ALERT_CONDITIONS = \"alert_conditions\";\n public static final String FIELD_IS_EDITABLE = \"is_editable\";\n public static final String FIELD_CATEGORIES = \"categories\";\n public static final String FIELD_FAVORITE_FIELDS = \"favorite_fields\";\n public static final Stream.MatchingType DEFAULT_MATCHING_TYPE = Stream.MatchingType.AND;\n\n @JsonProperty(FIELD_CREATOR_USER_ID)\n public abstract String creatorUserId();\n\n @JsonProperty(FIELD_OUTPUTS)\n @Nullable\n public abstract Set outputIds();\n\n @JsonProperty(FIELD_MATCHING_TYPE)\n public abstract Stream.MatchingType matchingType();\n\n @JsonProperty(FIELD_DESCRIPTION)\n @Nullable\n public abstract String description();\n\n @JsonProperty(FIELD_CREATED_AT)\n public abstract DateTime createdAt();\n\n @JsonProperty(FIELD_DISABLED)\n public abstract boolean disabled();\n\n @JsonProperty(EMBEDDED_ALERT_CONDITIONS)\n @Nullable\n @Deprecated\n public abstract Collection alertConditions();\n\n @JsonProperty(FIELD_ALERT_RECEIVERS)\n @Nullable\n @Deprecated\n public abstract AlertReceivers alertReceivers();\n\n @JsonProperty(FIELD_TITLE)\n public abstract String title();\n\n @JsonProperty(FIELD_CONTENT_PACK)\n @Nullable\n public abstract String contentPack();\n\n @JsonProperty(FIELD_DEFAULT_STREAM)\n @Nullable\n public abstract Boolean isDefault();\n\n @JsonProperty(FIELD_REMOVE_MATCHES_FROM_DEFAULT_STREAM)\n @Nullable\n public abstract Boolean removeMatchesFromDefaultStream();\n\n @JsonProperty(FIELD_INDEX_SET_ID)\n public abstract String indexSetId();\n\n @JsonProperty(FIELD_IS_EDITABLE)\n public abstract boolean isEditable();\n\n @JsonProperty(FIELD_CATEGORIES)\n @Nullable\n public abstract List categories();\n\n @JsonProperty(FIELD_FAVORITE_FIELDS)\n @Nullable\n public abstract List favoriteFields();\n\n public abstract Builder toBuilder();\n\n public static Builder builder() {\n return Builder.create();\n }\n\n @AutoValue.Builder\n // Package-private to prevent usage outside the streams package.\n abstract static class Builder implements ScopedEntity.Builder {\n @JsonCreator\n public static Builder create() {\n return new AutoValue_StreamDTO.Builder()\n .scope(DefaultEntityScope.NAME)\n .matchingType(DEFAULT_MATCHING_TYPE)\n .isDefault(false)\n .isEditable(false)\n .removeMatchesFromDefaultStream(false)\n .categories(List.of())\n .outputIds(Set.of());\n }\n\n @JsonProperty(FIELD_SCOPE)\n public abstract Builder scope(String scope);\n\n @JsonProperty(FIELD_CREATOR_USER_ID)\n public abstract Builder creatorUserId(String creatorUserId);\n\n @JsonProperty(FIELD_OUTPUTS)\n public abstract Builder outputIds(Set outputIds);\n\n @JsonProperty(FIELD_MATCHING_TYPE)\n public abstract Builder matchingType(Stream.MatchingType matchingType);\n\n @JsonProperty(FIELD_DESCRIPTION)\n public abstract Builder description(String description);\n\n @JsonProperty(FIELD_CREATED_AT)\n public abstract Builder createdAt(DateTime createdAt);\n\n @JsonProperty(FIELD_CONTENT_PACK)\n public abstract Builder contentPack(String contentPack);\n\n @JsonProperty(FIELD_DISABLED)\n public abstract Builder disabled(boolean disabled);\n\n @JsonProperty(EMBEDDED_ALERT_CONDITIONS)\n @Deprecated\n public abstract Builder alertConditions(Collection alertConditions);\n\n @JsonProperty(FIELD_ALERT_RECEIVERS)\n @Deprecated\n public abstract Builder alertReceivers(AlertReceivers receivers);\n\n @JsonProperty(FIELD_TITLE)\n public abstract Builder title(String title);\n\n @JsonProperty(FIELD_DEFAULT_STREAM)\n public abstract Builder isDefault(Boolean isDefault);\n\n @JsonProperty(FIELD_REMOVE_MATCHES_FROM_DEFAULT_STREAM)\n public abstract Builder removeMatchesFromDefaultStream(Boolean removeMatchesFromDefaultStream);\n\n @JsonProperty(FIELD_INDEX_SET_ID)\n public abstract Builder indexSetId(String indexSetId);\n\n @JsonProperty(FIELD_IS_EDITABLE)\n public abstract Builder isEditable(boolean isEditable);\n\n @JsonProperty(FIELD_CATEGORIES)\n public abstract Builder categories(List categories);\n\n @JsonProperty(FIELD_FAVORITE_FIELDS)\n public abstract Builder favoriteFields(List favoriteFields);\n\n public abstract String id();\n\n public abstract StreamDTO autoBuild();\n\n public StreamDTO build() {\n return autoBuild();\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/dedc704e3606eceb1cacb12443ef6e6d5db5cba5.json b/web/public/bundles/graylog/code/dedc704e3606eceb1cacb12443ef6e6d5db5cba5.json new file mode 100644 index 00000000..4dd727c3 --- /dev/null +++ b/web/public/bundles/graylog/code/dedc704e3606eceb1cacb12443ef6e6d5db5cba5.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "dedc704e3606eceb1cacb12443ef6e6d5db5cba5", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/codecs/responses/CodecTypeInfo.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.models.system.codecs.responses;\n\nimport com.fasterxml.jackson.annotation.JsonAutoDetect;\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.google.auto.value.AutoValue;\nimport org.graylog2.plugin.configuration.ConfigurationRequest;\n\nimport java.util.Map;\n\n@AutoValue\n@JsonAutoDetect\npublic abstract class CodecTypeInfo {\n @JsonProperty(\"type\")\n public abstract String type();\n\n @JsonProperty(\"name\")\n public abstract String name();\n\n @JsonProperty(\"requested_configuration\")\n public abstract Map> requestedConfiguration();\n\n @JsonCreator\n public static CodecTypeInfo create(@JsonProperty(\"type\") String type,\n @JsonProperty(\"name\") String name,\n @JsonProperty(\"requested_configuration\") Map> requestedConfiguration) {\n return new AutoValue_CodecTypeInfo(type, name, requestedConfiguration);\n }\n\n public static CodecTypeInfo fromConfigurationRequest(String type, String name, ConfigurationRequest configurationRequest) {\n return create(type, name, configurationRequest.asList());\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/df3984fce89a63eacdcb10a1cab4e56a0b706e0e.json b/web/public/bundles/graylog/code/df3984fce89a63eacdcb10a1cab4e56a0b706e0e.json new file mode 100644 index 00000000..dcfd39e9 --- /dev/null +++ b/web/public/bundles/graylog/code/df3984fce89a63eacdcb10a1cab4e56a0b706e0e.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "df3984fce89a63eacdcb10a1cab4e56a0b706e0e", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/indices/DefaultDataTieringStatusService.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.models.system.indices;\n\nimport org.graylog2.indexer.indexset.IndexSet;\nimport org.graylog2.indexer.indexset.IndexSetConfig;\nimport org.graylog2.rest.resources.system.indexer.responses.DataTieringStatus;\n\npublic class DefaultDataTieringStatusService implements DataTieringStatusService {\n\n @Override\n public DataTieringStatus getStatus(IndexSet indexSet, IndexSetConfig indexSetConfig) {\n return null;\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/df4666740381d7c9e5c485cb1b51cfcf51dcf224.json b/web/public/bundles/graylog/code/df4666740381d7c9e5c485cb1b51cfcf51dcf224.json new file mode 100644 index 00000000..b1ab6636 --- /dev/null +++ b/web/public/bundles/graylog/code/df4666740381d7c9e5c485cb1b51cfcf51dcf224.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "df4666740381d7c9e5c485cb1b51cfcf51dcf224", + "language": "java", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/sniffer/NodeDiscoveryPeriodical.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.storage.opensearch3.sniffer;\n\nimport jakarta.annotation.Nonnull;\nimport jakarta.inject.Inject;\nimport org.graylog.storage.opensearch3.DynamicTransport;\nimport org.graylog.storage.opensearch3.OfficialOpensearchClientProvider;\nimport org.graylog2.configuration.ElasticsearchClientConfiguration;\nimport org.graylog2.plugin.periodical.Periodical;\nimport org.opensearch.client.transport.OpenSearchTransport;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.net.URI;\nimport java.util.List;\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\npublic class NodeDiscoveryPeriodical extends Periodical {\n\n private static final Logger LOG = LoggerFactory.getLogger(NodeDiscoveryPeriodical.class);\n\n private final SnifferAggregator snifferAggregator;\n private final OfficialOpensearchClientProvider clientProvider;\n private final DynamicTransport dynamicTransport;\n private final ElasticsearchClientConfiguration configuration;\n\n private volatile Set lastKnownNodes = Set.of();\n\n @Inject\n public NodeDiscoveryPeriodical(SnifferAggregator snifferAggregator,\n OfficialOpensearchClientProvider clientProvider,\n ElasticsearchClientConfiguration configuration) {\n this.snifferAggregator = snifferAggregator;\n this.clientProvider = clientProvider;\n this.dynamicTransport = clientProvider.getDynamicTransport();\n this.configuration = configuration;\n }\n\n @Override\n public void doRun() {\n final List discovered = snifferAggregator.sniff();\n\n if (discovered.isEmpty()) {\n LOG.warn(\"Node discovery returned no nodes. Keeping current transport.\");\n return;\n }\n\n final Set currentNodes = discovered.stream()\n .map(DiscoveredNode::toURI)\n .collect(Collectors.toSet());\n\n if (currentNodes.equals(lastKnownNodes)) {\n LOG.debug(\"Discovered nodes unchanged, no transport swap needed.\");\n return;\n }\n\n LOG.info(\"Node list changed from {} to {}. Swapping transport.\", lastKnownNodes, currentNodes);\n final OpenSearchTransport newTransport = clientProvider.buildTransportForNodes(discovered);\n dynamicTransport.swap(newTransport);\n lastKnownNodes = currentNodes;\n }\n\n @Override\n public boolean runsForever() {\n return false;\n }\n\n @Override\n public boolean stopOnGracefulShutdown() {\n return true;\n }\n\n @Override\n public boolean startOnThisNode() {\n return configuration.discoveryEnabled() || configuration.isNodeActivityLogger();\n }\n\n @Override\n public boolean isDaemon() {\n return true;\n }\n\n @Override\n public int getInitialDelaySeconds() {\n return 0;\n }\n\n @Override\n public int getPeriodSeconds() {\n return (int) configuration.discoveryFrequency().toSeconds();\n }\n\n @Nonnull\n @Override\n protected Logger getLogger() {\n return LOG;\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/e168f3c4380e975d041628a4db57f5e37e72a8c2.json b/web/public/bundles/graylog/code/e168f3c4380e975d041628a4db57f5e37e72a8c2.json new file mode 100644 index 00000000..9f38cc68 --- /dev/null +++ b/web/public/bundles/graylog/code/e168f3c4380e975d041628a4db57f5e37e72a8c2.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e168f3c4380e975d041628a4db57f5e37e72a8c2", + "language": "typescript", + "path": "graylog2-web-interface/src/components/configurations/DecoratorsConfig.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React, { useCallback, useMemo, useState } from 'react';\nimport groupBy from 'lodash/groupBy';\nimport { useQuery } from '@tanstack/react-query';\n\nimport { SearchDecorators } from '@graylog/server-api';\n\nimport { Button } from 'components/bootstrap';\nimport { IfPermitted } from 'components/common';\nimport Spinner from 'components/common/Spinner';\nimport type { Stream } from 'logic/streams/types';\nimport { fetchStreams } from 'api/streams';\nimport UserNotification from 'util/UserNotification';\nimport DecoratorList from 'views/components/messagelist/decorators/DecoratorList';\nimport type { Decorator, DecoratorType } from 'views/components/messagelist/decorators/Types';\nimport { defaultCompare } from 'logic/DefaultCompare';\n\nimport DecoratorsConfigUpdate from './decorators/DecoratorsConfigUpdate';\nimport { DEFAULT_SEARCH_ID } from './decorators/StreamSelect';\nimport DecoratorsUpdater from './decorators/DecoratorsUpdater';\nimport formatDecorator from './decorators/FormatDecorator';\n\nconst DecoratorsConfig = () => {\n const { data: streams, isLoading: streamsLoading } = useQuery>({\n queryKey: ['streamsMap'],\n queryFn: () => fetchStreams(),\n });\n const { data: types, isLoading: typesLoading } = useQuery<{ [key: string]: DecoratorType }>({\n queryKey: ['decorators', 'types'],\n queryFn: () => SearchDecorators.getAvailable(),\n });\n const {\n data: decorators,\n isLoading: decoratorsLoading,\n refetch: refetchDecorators,\n } = useQuery>({\n queryKey: ['decorators', 'list'],\n queryFn: () => SearchDecorators.get(),\n });\n const [showConfigModal, setShowConfigModal] = useState(false);\n const streamsMap = useMemo(() => Object.fromEntries(streams?.map((s) => [s.id, s] as const) ?? []), [streams]);\n\n const openModal = useCallback(() => setShowConfigModal(true), []);\n const closeModal = useCallback(() => setShowConfigModal(false), []);\n\n const onSave = useCallback(\n (newDecorators: Array) =>\n DecoratorsUpdater(newDecorators, decorators)\n .then(\n () => UserNotification.success('Updated decorators configuration.', 'Success!'),\n (error) => UserNotification.error(`Unable to save new decorators: ${error}`, 'Saving decorators failed'),\n )\n .then(() => refetchDecorators())\n .then(closeModal),\n [closeModal, decorators, refetchDecorators],\n );\n\n const decoratorMap = useMemo(() => {\n if (typesLoading || decoratorsLoading) {\n return ;\n }\n\n if (!decorators || decorators.length === 0) {\n return No decorators currently configured.;\n }\n\n const decoratorsGroupedByStream = groupBy(decorators, (decorator) => decorator.stream || DEFAULT_SEARCH_ID);\n\n return Object.entries(decoratorsGroupedByStream)\n .map(\n ([id, _decorators]) =>\n [\n streamsMap[id]?.title ?? id,\n _decorators\n .sort((d1, d2) => d1.order - d2.order)\n .map((decorator) => formatDecorator(decorator, _decorators, types)),\n ] as const,\n )\n .sort((entry1, entry2) => defaultCompare(entry1[0], entry2[0]))\n .map(([streamName, _decorators]) => (\n <>\n

{streamName}
\n
\n \n
\n \n ));\n }, [decorators, decoratorsLoading, streamsMap, types, typesLoading]);\n\n if (streamsLoading || typesLoading || decoratorsLoading) {\n return ;\n }\n\n return (\n
\n

Decorators Configuration

\n

These are the currently configured decorators grouped by stream:

\n

{decoratorMap}

\n \n \n \n \n
\n );\n};\n\nexport default DecoratorsConfig;\n" +} diff --git a/web/public/bundles/graylog/code/e1f44117eb9a877cea2de46ef1fffa9430d9fe10.json b/web/public/bundles/graylog/code/e1f44117eb9a877cea2de46ef1fffa9430d9fe10.json new file mode 100644 index 00000000..78496007 --- /dev/null +++ b/web/public/bundles/graylog/code/e1f44117eb9a877cea2de46ef1fffa9430d9fe10.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e1f44117eb9a877cea2de46ef1fffa9430d9fe10", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/contentpacks/titles/EntityTitleServiceImpl.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.resources.system.contentpacks.titles;\n\nimport com.mongodb.client.FindIterable;\nimport com.mongodb.client.MongoCollection;\nimport com.mongodb.client.model.Filters;\nimport com.mongodb.client.model.Projections;\nimport org.bson.Document;\nimport org.bson.conversions.Bson;\nimport org.graylog.plugins.views.search.permissions.EntityPermissions;\nimport org.graylog2.database.MongoConnection;\nimport org.graylog2.database.dbcatalog.DbEntitiesCatalog;\nimport org.graylog2.database.utils.CompositeDisplayFormatter;\nimport org.graylog2.database.dbcatalog.DbEntityCatalogEntry;\nimport org.graylog2.rest.resources.system.contentpacks.titles.model.EntitiesTitleResponse;\nimport org.graylog2.rest.resources.system.contentpacks.titles.model.EntityIdentifier;\nimport org.graylog2.rest.resources.system.contentpacks.titles.model.EntityTitleRequest;\nimport org.graylog2.rest.resources.system.contentpacks.titles.model.EntityTitleResponse;\nimport org.graylog2.search.SearchQueryField;\nimport org.graylog2.shared.security.EntityPermissionsUtils;\n\nimport jakarta.inject.Inject;\n\nimport java.util.HashSet;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Optional;\nimport java.util.Set;\nimport java.util.function.Function;\nimport java.util.stream.Collectors;\n\nimport static java.util.stream.Collectors.groupingBy;\nimport static org.graylog2.database.DbEntity.NO_TITLE;\nimport static org.graylog2.rest.resources.system.contentpacks.titles.model.EntitiesTitleResponse.EMPTY_RESPONSE;\nimport static org.graylog2.users.UserImpl.COLLECTION_NAME;\nimport static org.graylog2.users.UserImpl.LocalAdminUser.LOCAL_ADMIN_ID;\n\npublic class EntityTitleServiceImpl implements EntityTitleService {\n\n private final MongoConnection mongoConnection;\n private final DbEntitiesCatalog entitiesCatalog;\n private final EntityPermissionsUtils entityPermissionsUtils;\n\n static final String TITLE_IF_NOT_PERMITTED = \"\";\n\n @Inject\n public EntityTitleServiceImpl(final MongoConnection mongoConnection,\n final DbEntitiesCatalog entitiesCatalog,\n final EntityPermissionsUtils entityPermissionsUtils) {\n this.mongoConnection = mongoConnection;\n this.entitiesCatalog = entitiesCatalog;\n this.entityPermissionsUtils = entityPermissionsUtils;\n }\n\n @Override\n public EntitiesTitleResponse getTitles(final EntityTitleRequest request, final EntityPermissions permissions) {\n if (request == null || request.entities() == null) {\n return EMPTY_RESPONSE;\n }\n\n final Map> groupedByType = request.entities()\n .stream()\n .collect(groupingBy(EntityIdentifier::type));\n\n final Optional entitiesTitleResponse = groupedByType.entrySet()\n .stream()\n .map(entry -> getTitlesForEntitiesFromSingleCollection(permissions, entry.getKey(), entry.getValue()))\n .reduce(EntitiesTitleResponse::merge);\n\n return entitiesTitleResponse.orElse(EMPTY_RESPONSE);\n }\n\n private boolean matchesAdminIdAndUsersCollection(final EntityIdentifier entity) {\n return entity.id().equals(LOCAL_ADMIN_ID) && entity.type().equals(COLLECTION_NAME);\n }\n\n private boolean notMatchesAdminIdAndUsersCollection(final EntityIdentifier entity) {\n return !matchesAdminIdAndUsersCollection(entity);\n }\n\n private EntitiesTitleResponse getTitlesForEntitiesFromSingleCollection(final EntityPermissions permissions,\n final String collection,\n final List en) {\n final Optional dbEntityCatalogEntry = this.entitiesCatalog.getByCollectionName(collection);\n if (dbEntityCatalogEntry.isEmpty() || en.isEmpty()) {\n return EMPTY_RESPONSE;\n }\n\n boolean adminIdAndUsersCollectionFound = en.stream().anyMatch(this::matchesAdminIdAndUsersCollection);\n List entities = adminIdAndUsersCollectionFound ? en.stream().filter(this::notMatchesAdminIdAndUsersCollection).toList() : en;\n\n final Set titles = new HashSet<>();\n final Set notPermitted = new HashSet<>();\n\n if(!entities.isEmpty()) {\n final String titleField = dbEntityCatalogEntry.get().titleField();\n if (titleField.equals(NO_TITLE)) {\n return new EntitiesTitleResponse(\n entities.stream()\n .map(e -> new EntityTitleResponse(e.id(), e.type(), NO_TITLE))\n .collect(Collectors.toSet()),\n Set.of()\n );\n }\n\n final MongoCollection mongoCollection = mongoConnection.getMongoDatabase().getCollection(collection);\n\n final String idField = entities.get(0).effectiveIdentifierField();\n final SearchQueryField.Type idType = entities.get(0).effectiveIdentifierType();\n final Function converter = idType.getMongoValueConverter();\n\n Bson bsonFilter = Filters.or(\n entities.stream()\n .map(e -> Filters.eq(idField, converter.apply(e.id())))\n .collect(Collectors.toList())\n );\n\n final List displayFields = entities.get(0).displayFields();\n final String displayTemplate = entities.get(0).displayTemplate();\n final boolean useCompositeDisplay = displayFields != null && !displayFields.isEmpty();\n\n Set projectionFields = new HashSet<>();\n projectionFields.add(idField);\n projectionFields.add(titleField);\n if (useCompositeDisplay) {\n projectionFields.addAll(displayFields);\n }\n\n final FindIterable documents = mongoCollection\n .find(bsonFilter)\n .projection(Projections.include(projectionFields.toArray(new String[0])));\n\n documents.forEach(doc -> {\n final String idAsString;\n if (\"_id\".equals(idField)) {\n idAsString = doc.getObjectId(\"_id\").toString();\n } else {\n Object val = doc.get(idField);\n idAsString = val != null ? val.toString() : null;\n }\n if (idAsString == null) {\n return;\n }\n\n final boolean canReadTitle = checkCanReadTitle(permissions, dbEntityCatalogEntry.get().readPermission(), idAsString)\n && (!useCompositeDisplay || entityPermissionsUtils.areAllFieldsReadable(collection, displayFields));\n final String title;\n if (!canReadTitle) {\n title = TITLE_IF_NOT_PERMITTED;\n } else if (useCompositeDisplay) {\n title = CompositeDisplayFormatter.format(doc, displayFields, displayTemplate);\n } else {\n title = doc.getString(titleField);\n }\n titles.add(new EntityTitleResponse(idAsString, collection, title));\n if (!canReadTitle) {\n notPermitted.add(idAsString);\n }\n });\n }\n\n if(adminIdAndUsersCollectionFound) {\n titles.add(new EntityTitleResponse(LOCAL_ADMIN_ID, collection, \"Administrator\"));\n }\n\n return new EntitiesTitleResponse(titles, notPermitted);\n }\n\n private boolean checkCanReadTitle(final EntityPermissions permissions,\n final String readPermission,\n final String idAsString) {\n return permissions.canReadTitle(readPermission, idAsString);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/e207cd6120d671f150e1c137ad6c0eb4203d6c96.json b/web/public/bundles/graylog/code/e207cd6120d671f150e1c137ad6c0eb4203d6c96.json new file mode 100644 index 00000000..73c4b6a9 --- /dev/null +++ b/web/public/bundles/graylog/code/e207cd6120d671f150e1c137ad6c0eb4203d6c96.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e207cd6120d671f150e1c137ad6c0eb4203d6c96", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/security/realm/BearerTokenRealm.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.security.realm;\n\nimport jakarta.inject.Inject;\nimport org.apache.shiro.authc.AuthenticationException;\nimport org.apache.shiro.authc.AuthenticationInfo;\nimport org.apache.shiro.authc.AuthenticationToken;\nimport org.apache.shiro.authc.SimpleAccount;\nimport org.apache.shiro.authc.pam.UnsupportedTokenException;\nimport org.apache.shiro.realm.AuthenticatingRealm;\nimport org.graylog.security.authservice.AuthServiceAuthenticator;\nimport org.graylog.security.authservice.AuthServiceException;\nimport org.graylog.security.authservice.AuthServiceResult;\nimport org.graylog.security.authservice.AuthServiceToken;\nimport org.graylog2.security.sessions.AuthenticationInfoWithSessionAuthContext;\nimport org.graylog2.shared.security.AuthenticationServiceUnavailableException;\nimport org.graylog2.shared.security.TypedBearerToken;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\npublic class BearerTokenRealm extends AuthenticatingRealm {\n private static final Logger log = LoggerFactory.getLogger(BearerTokenRealm.class);\n\n public static final String NAME = \"bearer-token\";\n\n private final AuthServiceAuthenticator authenticator;\n\n @Inject\n public BearerTokenRealm(AuthServiceAuthenticator authenticator) {\n this.authenticator = authenticator;\n\n setAuthenticationTokenClass(TypedBearerToken.class);\n setCachingEnabled(false);\n\n // Credentials will be matched via the authentication service itself so we don't need Shiro to do it\n setCredentialsMatcher(new ServiceValidatedCredentialsMatcher());\n }\n\n @Override\n protected AuthenticationInfo doGetAuthenticationInfo(AuthenticationToken authToken) throws AuthenticationException {\n if (authToken instanceof TypedBearerToken) {\n return doGetAuthenticationInfo((TypedBearerToken) authToken);\n }\n throw new UnsupportedTokenException(\"Unsupported authentication token type: \" + authToken.getClass());\n }\n\n private AuthenticationInfo doGetAuthenticationInfo(TypedBearerToken token) throws AuthenticationException {\n log.debug(\"Attempting authentication for bearer token of type <{}>.\",\n token.getType());\n try {\n final AuthServiceResult result = authenticator.authenticate(AuthServiceToken.builder()\n .token(token.getToken())\n .type(token.getType())\n .build());\n\n if (result.isSuccess()) {\n log.debug(\"Successfully authenticated username <{}> for user profile <{}> with backend <{}/{}/{}>\",\n result.username(), result.userProfileId(), result.backendTitle(), result.backendType(),\n result.backendId());\n return toAuthenticationInfo(result);\n } else {\n log.warn(\"Failed to authenticate username <{}> with backend <{}/{}/{}>\",\n result.username(), result.backendTitle(), result.backendType(), result.backendId());\n return null;\n }\n } catch (AuthServiceException e) {\n throw new AuthenticationServiceUnavailableException(e);\n } catch (Exception e) {\n log.error(\"Unhandled authentication error\", e);\n return null;\n }\n }\n\n private AuthenticationInfo toAuthenticationInfo(AuthServiceResult result) {\n String realmName = NAME + \"/\" + result.backendType();\n\n final var account = new SimpleAccount(result.userProfileId(), ServiceValidatedCredentialsMatcher.AUTHENTICATED, realmName);\n final var sessionAuthContext = result.sessionAuthContext();\n if (sessionAuthContext.isPresent()) {\n return new AuthenticationInfoWithSessionAuthContext(account, sessionAuthContext.get());\n }\n return account;\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/e21d98cea0c76af2a4a1eac2d1875561a3c17b2f.json b/web/public/bundles/graylog/code/e21d98cea0c76af2a4a1eac2d1875561a3c17b2f.json new file mode 100644 index 00000000..8ae3c241 --- /dev/null +++ b/web/public/bundles/graylog/code/e21d98cea0c76af2a4a1eac2d1875561a3c17b2f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e21d98cea0c76af2a4a1eac2d1875561a3c17b2f", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/security/GrantDTO.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.security;\n\nimport com.fasterxml.jackson.annotation.JsonAutoDetect;\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.jackson.databind.annotation.JsonDeserialize;\nimport com.google.auto.value.AutoValue;\nimport jakarta.validation.constraints.NotNull;\nimport org.graylog.grn.GRN;\nimport org.graylog2.database.BuildableMongoEntity;\nimport org.mongojack.Id;\nimport org.mongojack.ObjectId;\n\nimport javax.annotation.Nullable;\nimport java.time.ZoneOffset;\nimport java.time.ZonedDateTime;\nimport java.util.Optional;\n\n@AutoValue\n@JsonAutoDetect\n@JsonDeserialize(builder = GrantDTO.Builder.class)\npublic abstract class GrantDTO implements BuildableMongoEntity {\n private static final String FIELD_ID = \"id\";\n static final String FIELD_GRANTEE = \"grantee\";\n static final String FIELD_CAPABILITY = \"capability\";\n public static final String FIELD_TARGET = \"target\";\n private static final String FIELD_CREATED_BY = \"created_by\";\n private static final String FIELD_CREATED_AT = \"created_at\";\n private static final String FIELD_UPDATED_BY = \"updated_by\";\n private static final String FIELD_UPDATED_AT = \"updated_at\";\n private static final String FIELD_EXPIRES_AT = \"expires_at\";\n\n @Id\n @ObjectId\n @Nullable\n @JsonProperty(FIELD_ID)\n public abstract String id();\n\n @JsonProperty(FIELD_GRANTEE)\n public abstract GRN grantee();\n\n @NotNull\n @JsonProperty(FIELD_CAPABILITY)\n public abstract Capability capability();\n\n @NotNull\n @JsonProperty(FIELD_TARGET)\n public abstract GRN target();\n\n @JsonProperty(FIELD_CREATED_BY)\n public abstract String createdBy();\n\n @JsonProperty(FIELD_CREATED_AT)\n public abstract ZonedDateTime createdAt();\n\n @JsonProperty(FIELD_UPDATED_BY)\n public abstract String updatedBy();\n\n @JsonProperty(FIELD_UPDATED_AT)\n public abstract ZonedDateTime updatedAt();\n\n @JsonProperty(FIELD_EXPIRES_AT)\n public abstract Optional expiresAt();\n\n public static GrantDTO of(GRN grantee, Capability capability, GRN target) {\n return GrantDTO.builder()\n .grantee(grantee)\n .capability(capability)\n .target(target)\n .build();\n }\n\n public static Builder builder() {\n return Builder.create();\n }\n\n public abstract Builder toBuilder();\n\n @AutoValue.Builder\n public abstract static class Builder implements BuildableMongoEntity.Builder {\n @JsonCreator\n public static Builder create() {\n return new AutoValue_GrantDTO.Builder()\n .createdBy(\"\")\n .createdAt(ZonedDateTime.now(ZoneOffset.UTC))\n .updatedBy(\"\")\n .updatedAt(ZonedDateTime.now(ZoneOffset.UTC));\n }\n\n @Id\n @ObjectId\n @JsonProperty(FIELD_ID)\n public abstract Builder id(@Nullable String id);\n\n @JsonProperty(FIELD_GRANTEE)\n public abstract Builder grantee(GRN grantee);\n\n @JsonProperty(FIELD_CAPABILITY)\n public abstract Builder capability(Capability capability);\n\n @JsonProperty(FIELD_TARGET)\n public abstract Builder target(GRN target);\n\n @JsonProperty(FIELD_CREATED_BY)\n public abstract Builder createdBy(String createdBy);\n\n @JsonProperty(FIELD_CREATED_AT)\n public abstract Builder createdAt(ZonedDateTime createdAt);\n\n @JsonProperty(FIELD_UPDATED_BY)\n public abstract Builder updatedBy(String updatedBy);\n\n @JsonProperty(FIELD_UPDATED_AT)\n public abstract Builder updatedAt(ZonedDateTime updatedAt);\n\n @JsonProperty(FIELD_EXPIRES_AT)\n public abstract Builder expiresAt(@Nullable ZonedDateTime expiresAt);\n\n public abstract GrantDTO build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/e327eab13c44717a53aa0ba1a3d541a3ac65c79b.json b/web/public/bundles/graylog/code/e327eab13c44717a53aa0ba1a3d541a3ac65c79b.json new file mode 100644 index 00000000..f736c268 --- /dev/null +++ b/web/public/bundles/graylog/code/e327eab13c44717a53aa0ba1a3d541a3ac65c79b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e327eab13c44717a53aa0ba1a3d541a3ac65c79b", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/web/resources/WebResourcesModule.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.web.resources;\n\nimport org.graylog2.configuration.MarkdownCSPResourceProvider;\nimport org.graylog2.plugin.inject.Graylog2Module;\n\npublic class WebResourcesModule extends Graylog2Module {\n @Override\n protected void configure() {\n addSystemRestResource(AppConfigResource.class);\n addSystemRestResource(WebInterfaceAssetsResource.class);\n\n addCspResourceProvider(MarkdownCSPResourceProvider.class);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/e3df1de2c0d04afd07d8516842125a45ffc56c92.json b/web/public/bundles/graylog/code/e3df1de2c0d04afd07d8516842125a45ffc56c92.json new file mode 100644 index 00000000..37d9221e --- /dev/null +++ b/web/public/bundles/graylog/code/e3df1de2c0d04afd07d8516842125a45ffc56c92.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e3df1de2c0d04afd07d8516842125a45ffc56c92", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/metrics/StreamPipelinesDescriptor.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.streams.metrics;\n\nimport jakarta.inject.Inject;\nimport org.graylog.plugins.pipelineprocessor.db.PipelineRulesMetadataDao;\nimport org.graylog.plugins.pipelineprocessor.db.mongodb.MongoDbPipelineMetadataService;\nimport org.graylog.plugins.pipelineprocessor.rest.PipelineRestPermissions;\nimport org.graylog.plugins.views.search.permissions.SearchUser;\nimport org.graylog2.metrics.entity.EntityMetric;\nimport org.graylog2.metrics.entity.EntityUncachedMetricDescriptor;\n\nimport java.util.Collection;\nimport java.util.List;\nimport java.util.Set;\n\n/**\n * Provides {@code pipelines} metrics for streams.\n * Returns pipeline IDs connected to each stream, filtered by the user's {@code pipeline:read} permission.\n */\npublic class StreamPipelinesDescriptor implements EntityUncachedMetricDescriptor> {\n\n public static final String FIELD_NAME = \"pipelines\";\n\n private final MongoDbPipelineMetadataService pipelineMetadataService;\n\n @Inject\n public StreamPipelinesDescriptor(MongoDbPipelineMetadataService pipelineMetadataService) {\n this.pipelineMetadataService = pipelineMetadataService;\n }\n\n @Override\n public String fieldName() {\n return FIELD_NAME;\n }\n\n @Override\n public List>> compute(Collection entityIds, SearchUser searchUser) {\n final Set allStreamIds = Set.copyOf(entityIds);\n final List pipelines = pipelineMetadataService.getConnectedToStreams(allStreamIds);\n\n return entityIds.stream()\n .map(streamId -> {\n final List pipelineIds = pipelines.stream()\n .filter(dao -> dao.streams().contains(streamId))\n .map(PipelineRulesMetadataDao::pipelineId)\n .filter(id -> searchUser.isPermitted(PipelineRestPermissions.PIPELINE_READ, id))\n .toList();\n return new EntityMetric<>(streamId, pipelineIds);\n })\n .toList();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/e3eff337fec289155a485942132928076fe50a78.json b/web/public/bundles/graylog/code/e3eff337fec289155a485942132928076fe50a78.json new file mode 100644 index 00000000..9712657d --- /dev/null +++ b/web/public/bundles/graylog/code/e3eff337fec289155a485942132928076fe50a78.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e3eff337fec289155a485942132928076fe50a78", + "language": "typescript", + "path": "graylog2-web-interface/docs/graylog-luma/stories/Foundation/Tokens.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\nimport styled from 'styled-components';\n\nimport { COLOR_SCHEME_DARK, COLOR_SCHEME_LIGHT } from 'theme/sawmill';\nimport SawmillMantine from 'theme/sawmill/mantine/Sawmill';\nimport SawmillSC from 'theme/sawmill/styled-components/Sawmill';\n\nimport { ColorSwatch, FoundationTable, HexValue, StoryContainer, Token } from './shared';\nimport { PALETTE_NAMES } from './colorPalette';\nimport { BORDER_TOKENS } from './lumaTokens';\n\n// ─── Token groups ──────────────────────────────────────────────────────────\n// Edit this list to add, remove or regroup tokens. `path` is the path below `theme.colors`.\n// Light and dark values are read from the real Graylog theme, so they never go stale.\n\ntype TokenEntry = {\n /** Path below `theme.colors`, for tokens that exist in the Graylog theme. */\n path?: string;\n /** Luma token name and values, for tokens not in the theme yet (see lumaTokens.ts). */\n name?: string;\n values?: { light: string; dark: string };\n usage: string;\n};\n\nconst GROUPS = {\n text: [\n { path: 'text.primary', usage: 'Default body and heading text.' },\n { path: 'text.secondary', usage: 'Supporting text: descriptions, help text, metadata, table headers.' },\n { path: 'text.disabled', usage: 'Text in disabled controls.' },\n {\n path: 'global.textAlt',\n usage: 'Text on dark or colored surfaces where the primary text color would not contrast.',\n },\n { path: 'input.placeholder', usage: 'Placeholder text inside form inputs.' },\n { path: 'global.link', usage: 'Inline links.' },\n { path: 'global.linkHover', usage: 'Inline links on hover.' },\n ],\n surfaces: [\n { path: 'global.background', usage: 'Page background behind all content.' },\n { path: 'global.contentBackground', usage: 'Main content areas: panels, cards, tables and modals.' },\n { path: 'global.navigationBackground', usage: 'Top navigation bar.' },\n { path: 'background.secondaryNav', usage: 'Secondary navigation.' },\n { path: 'section.filled.background', usage: 'Filled sections that group content inside a page.' },\n { path: 'cards.background', usage: 'Card backgrounds.' },\n { path: 'input.background', usage: 'Form input backgrounds.' },\n { path: 'table.row.backgroundStriped', usage: 'Alternate rows in striped tables.' },\n { path: 'table.row.backgroundHover', usage: 'Table rows on hover.' },\n ],\n borders: [\n {\n name: 'divider',\n values: BORDER_TOKENS.divider,\n usage: 'All borders: section header lines, tables, cards, inputs and swatches.',\n },\n {\n name: 'dividerSecondary',\n values: BORDER_TOKENS.dividerSecondary,\n usage: 'Stronger, fully opaque separators where divider is too subtle.',\n },\n ],\n} satisfies Record;\n\n// ─── Theme values ──────────────────────────────────────────────────────────\n\nconst buildColors = (scheme: typeof COLOR_SCHEME_LIGHT | typeof COLOR_SCHEME_DARK) =>\n SawmillSC(SawmillMantine({ colorScheme: scheme })).colors;\n\nconst THEME_COLORS = { light: buildColors(COLOR_SCHEME_LIGHT), dark: buildColors(COLOR_SCHEME_DARK) };\n\nconst lookup = (colors: unknown, path: string): string | undefined =>\n path.split('.').reduce((value, key) => (value == null ? undefined : value[key]), colors);\n\n// Matches a value to a Luma palette color. 8-digit hex values are a palette color plus opacity.\nconst paletteName = (value: string | undefined) => {\n if (!value || !value.startsWith('#')) return undefined;\n\n let hex = value.toUpperCase();\n\n if (hex.length === 4) hex = `#${hex[1]}${hex[1]}${hex[2]}${hex[2]}${hex[3]}${hex[3]}`;\n\n const base = PALETTE_NAMES[hex.slice(0, 7)];\n\n if (!base) return undefined;\n if (hex.length === 9) return `${base} @ ${Math.round((parseInt(hex.slice(7), 16) / 255) * 100)}%`;\n\n return base;\n};\n\n// ─── Layout ────────────────────────────────────────────────────────────────\n\nconst ValueCell = styled.div`\n display: flex;\n align-items: center;\n gap: ${({ theme }) => theme.spacings.xs};\n`;\n\nconst PaletteLabel = styled.span<{ $missing?: boolean }>`\n display: block;\n font-size: ${({ theme }) => theme.fonts.size.small};\n color: ${({ $missing, theme }) => ($missing ? theme.colors.variant.dark.danger : theme.colors.text.secondary)};\n`;\n\nconst ColorValue = ({ value }: { value: string | undefined }) => {\n if (!value) return —;\n\n const name = paletteName(value);\n\n return (\n \n \n
\n {value}\n {name ?? 'Not in Luma palette'}\n
\n
\n );\n};\n\ntype Row = TokenEntry & { light?: string; dark?: string };\n\nconst COLUMNS = [\n {\n header: 'Token',\n width: '300px',\n render: (r: Row) => {r.path ? `theme.colors.${r.path}` : r.name},\n },\n { header: 'Light', width: '190px', render: (r: Row) => },\n { header: 'Dark', width: '190px', render: (r: Row) => },\n { header: 'Usage', render: (r: Row) => r.usage },\n];\n\nexport const TokenGroupDoc = ({ group }: { group: keyof typeof GROUPS }) => {\n const rows: Row[] = GROUPS[group].map((token: TokenEntry) => ({\n ...token,\n light: token.values?.light ?? lookup(THEME_COLORS.light, token.path),\n dark: token.values?.dark ?? lookup(THEME_COLORS.dark, token.path),\n }));\n\n return (\n \n r.path ?? r.name} />\n \n );\n};\n" +} diff --git a/web/public/bundles/graylog/code/e40be99fbb8abf3cd024ce8a3897b47c53e73f4a.json b/web/public/bundles/graylog/code/e40be99fbb8abf3cd024ce8a3897b47c53e73f4a.json new file mode 100644 index 00000000..d826742c --- /dev/null +++ b/web/public/bundles/graylog/code/e40be99fbb8abf3cd024ce8a3897b47c53e73f4a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e40be99fbb8abf3cd024ce8a3897b47c53e73f4a", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/rulebuilder/db/migrations/V20220512123200_AddSimpleConditionFragments.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.pipelineprocessor.rulebuilder.db.migrations;\n\nimport com.google.common.collect.ImmutableList;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.FunctionDescriptor;\nimport org.graylog.plugins.pipelineprocessor.rulebuilder.RuleBuilderFunctionGroup;\nimport org.graylog.plugins.pipelineprocessor.rulebuilder.db.RuleFragment;\nimport org.graylog.plugins.pipelineprocessor.rulebuilder.db.RuleFragmentService;\nimport org.graylog2.migrations.Migration;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport jakarta.inject.Inject;\n\nimport java.time.ZonedDateTime;\n\nimport static org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor.bool;\nimport static org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor.integer;\nimport static org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor.string;\n\npublic class V20220512123200_AddSimpleConditionFragments extends Migration {\n private static final Logger log = LoggerFactory.getLogger(V20220512123200_AddSimpleConditionFragments.class);\n private final RuleFragmentService ruleFragmentService;\n\n @Inject\n public V20220512123200_AddSimpleConditionFragments(RuleFragmentService ruleFragmentService) {\n this.ruleFragmentService = ruleFragmentService;\n }\n\n @Override\n public ZonedDateTime createdAt() {\n return ZonedDateTime.parse(\"2023-05-12T12:32:00Z\");\n }\n\n @Override\n public void upgrade() {\n ruleFragmentService.deleteAll();\n log.debug(\"Migrating simple condition fragments for the rule builder ui\");\n\n ruleFragmentService.upsert(createHasFieldEqualsFragment());\n ruleFragmentService.upsert(createHasFieldGreateOrEqualFragment());\n ruleFragmentService.upsert(createHasFieldLessOrEqualFragment());\n\n log.debug(\"has_field_equals, has_field_greater_or_equal, has_field_less_or_equal fragments were successfully added\");\n }\n\n private RuleFragment createHasFieldLessOrEqualFragment() {\n return RuleFragment.builder()\n .fragment(\"( has_field(${field}) && to_long($message.${field}) <= ${fieldValue} )\")\n .descriptor(FunctionDescriptor.builder()\n .name(\"has_field_less_or_equal\")\n .params(ImmutableList.of(\n string(\"field\").description(\"Message field to check against\").build(),\n integer(\"fieldValue\").description(\"Field value to check for\").build()\n ))\n .returnType(Boolean.class)\n .description(\"Checks if the message has a field and if this field's numeric value is less than or equal to the given fieldValue\")\n .ruleBuilderEnabled()\n .ruleBuilderName(\"Field <=\")\n .ruleBuilderTitle(\"Field '${field}' less than or equal '${fieldValue}'\")\n .ruleBuilderFunctionGroup(RuleBuilderFunctionGroup.NUMBER)\n .build())\n .isCondition()\n .build();\n }\n\n private RuleFragment createHasFieldGreateOrEqualFragment() {\n return RuleFragment.builder()\n .fragment(\"( has_field(${field}) && to_long($message.${field}) >= ${fieldValue} )\")\n .descriptor(FunctionDescriptor.builder()\n .name(\"has_field_greater_or_equal\")\n .params(ImmutableList.of(\n string(\"field\").description(\"Message field to check against\").build(),\n integer(\"fieldValue\").description(\"Field value to check for\").build()\n ))\n .returnType(Boolean.class)\n .description(\"Checks if the message has a field and if this field's numeric value is greater than or equal to the given fieldValue\")\n .ruleBuilderEnabled()\n .ruleBuilderName(\"Field >=\")\n .ruleBuilderTitle(\"Field '${field}' greater than or equal '${fieldValue}'\")\n .ruleBuilderFunctionGroup(RuleBuilderFunctionGroup.NUMBER)\n .build())\n .isCondition()\n .build();\n }\n\n private RuleFragment createHasFieldEqualsFragment() {\n return RuleFragment.builder()\n .fragment(\"\"\"\n ( has_field(${field}) &&\n <#if caseInsensitive!false>\n lowercase(to_string($message.${field})) == lowercase(${fieldValue})\n <#else>\n to_string($message.${field}) == ${fieldValue}\n \n )\n \"\"\")\n .descriptor(FunctionDescriptor.builder()\n .name(\"has_field_equals\")\n .params(ImmutableList.of(\n string(\"field\").description(\"Message field to check against\").build(),\n string(\"fieldValue\").description(\"Field value to check for\").build(),\n bool(\"caseInsensitive\").optional().description(\"Ignore case\").build()\n ))\n .returnType(Boolean.class)\n .description(\"Checks if the message has a field and if this field's string value is equal to the given fieldValue\")\n .ruleBuilderEnabled()\n .ruleBuilderName(\"Field equals\")\n .ruleBuilderTitle(\"Field '${field}' equals '${fieldValue}' <#if caseInsensitive??>(case insensitive: ${caseInsensitive?c})\")\n .ruleBuilderFunctionGroup(RuleBuilderFunctionGroup.STRING)\n .build())\n .isCondition()\n .build();\n }\n\n}\n" +} diff --git a/web/public/bundles/graylog/code/e4874818df45c53567ee12a3769bd6832690e2f4.json b/web/public/bundles/graylog/code/e4874818df45c53567ee12a3769bd6832690e2f4.json new file mode 100644 index 00000000..5442cbbb --- /dev/null +++ b/web/public/bundles/graylog/code/e4874818df45c53567ee12a3769bd6832690e2f4.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e4874818df45c53567ee12a3769bd6832690e2f4", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/security/RestPermissions.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.shared.security;\n\nimport com.google.common.collect.ImmutableSet;\nimport org.graylog.grn.GRNTypes;\nimport org.graylog.security.authzroles.BuiltinRole;\nimport org.graylog2.plugin.security.Permission;\nimport org.graylog2.plugin.security.PluginPermissions;\n\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\nimport static org.graylog2.plugin.security.Permission.create;\n\npublic class RestPermissions implements PluginPermissions {\n /**\n * These should all be in the form of \"domain:action\", because {@link Permissions#allPermissionsMap()} below depends on it.\n * Should this ever change, you need to adapt the code below, too.\n */\n public static final String API_BROWSER_READ = \"api_browser:read\";\n public static final String AUTH_HTTP_HEADER_CONFIG_EDIT = \"authhttpheaderconfig:edit\";\n public static final String AUTH_HTTP_HEADER_CONFIG_READ = \"authhttpheaderconfig:read\";\n public static final String AUTH_SERVICE_BACKEND_CREATE = \"authservicebackend:create\";\n public static final String AUTH_SERVICE_BACKEND_DELETE = \"authservicebackend:delete\";\n public static final String AUTH_SERVICE_BACKEND_EDIT = \"authservicebackend:edit\";\n public static final String AUTH_SERVICE_BACKEND_READ = \"authservicebackend:read\";\n public static final String AUTH_SERVICE_GLOBAL_CONFIG_READ = \"authserviceglobalconfig:read\";\n public static final String AUTH_SERVICE_GLOBAL_CONFIG_EDIT = \"authserviceglobalconfig:edit\";\n public static final String AUTH_SERVICE_TEST_BACKEND_EXECUTE = \"authservicetestbackend:execute\";\n public static final String BUFFERS_READ = \"buffers:read\";\n public static final String GRAYLOG_CA_CLIENTCERT_CREATE = \"ca_clientcert:create\";\n public static final String GRAYLOG_CA_CLIENTCERT_DELETE = \"ca_clientcert:delete\";\n public static final String CATALOG_LIST = \"catalog:list\";\n public static final String CATALOG_RESOLVE = \"catalog:resolve\";\n public static final String CLUSTER_CONFIG_ENTRY_CREATE = \"clusterconfigentry:create\";\n public static final String CLUSTER_CONFIG_ENTRY_DELETE = \"clusterconfigentry:delete\";\n public static final String CLUSTER_CONFIG_ENTRY_EDIT = \"clusterconfigentry:edit\";\n public static final String CLUSTER_CONFIG_ENTRY_READ = \"clusterconfigentry:read\";\n public static final String CAPABILITIES_READ = \"capabilities:read\";\n public static final String CLUSTER_CONFIGURATION_READ = \"clusterconfiguration:read\";\n public static final String CONTENT_PACK_CREATE = \"contentpack:create\";\n public static final String CONTENT_PACK_DELETE = \"contentpack:delete\";\n public static final String CONTENT_PACK_READ = \"contentpack:read\";\n public static final String CONTENT_PACK_INSTALL = \"contentpack:install\";\n public static final String CONTENT_PACK_UNINSTALL = \"contentpack:uninstall\";\n public static final String DATANODE_OPENSEARCH_PROXY = \"datanode:opensearchproxy\";\n public static final String DATANODE_READ = \"datanode:read\";\n public static final String DATANODE_REMOVE = \"datanode:remove\";\n public static final String DATANODE_RESET = \"datanode:reset\";\n public static final String DATANODE_REST_PROXY = \"datanode:restproxy\";\n public static final String DATANODE_STOP = \"datanode:stop\";\n public static final String DATANODE_START = \"datanode:start\";\n public static final String DATANODE_MIGRATION = \"datanode:migration\";\n public static final String DATANODE_RESTART = \"datanode:restart\";\n public static final String DASHBOARDS_CREATE = \"dashboards:create\";\n public static final String DASHBOARDS_EDIT = \"dashboards:edit\";\n public static final String DASHBOARDS_READ = \"dashboards:read\";\n public static final String DECORATORS_CREATE = \"decorators:create\";\n public static final String DECORATORS_EDIT = \"decorators:edit\";\n public static final String DECORATORS_READ = \"decorators:read\";\n public static final String DEFLECTOR_CYCLE = \"deflector:cycle\";\n public static final String DEFLECTOR_READ = \"deflector:read\";\n public static final String LICENSEINFOS_READ = \"licenseinfos:read\";\n public static final String EVENT_DEFINITIONS_CREATE = \"eventdefinitions:create\";\n public static final String EVENT_DEFINITIONS_DELETE = \"eventdefinitions:delete\";\n public static final String EVENT_DEFINITIONS_EDIT = \"eventdefinitions:edit\";\n public static final String EVENT_DEFINITIONS_EXECUTE = \"eventdefinitions:execute\";\n public static final String EVENT_DEFINITIONS_READ = \"eventdefinitions:read\";\n public static final String EVENT_NOTIFICATIONS_CREATE = \"eventnotifications:create\";\n public static final String EVENT_NOTIFICATIONS_DELETE = \"eventnotifications:delete\";\n public static final String EVENT_NOTIFICATIONS_EDIT = \"eventnotifications:edit\";\n public static final String EVENT_NOTIFICATIONS_READ = \"eventnotifications:read\";\n public static final String FIELDNAMES_READ = \"fieldnames:read\";\n public static final String GRANTS_OVERVIEW_READ = \"grantsoverview:read\";\n public static final String GRAYLOG_CA_CREATE = \"graylog_ca:create\";\n public static final String GRAYLOG_CA_READ = \"graylog_ca:read\";\n public static final String INDEXERCLUSTER_READ = \"indexercluster:read\";\n public static final String INDEXRANGES_READ = \"indexranges:read\";\n public static final String INDEXRANGES_REBUILD = \"indexranges:rebuild\";\n public static final String INDEXSETS_CREATE = \"indexsets:create\";\n public static final String INDEXSETS_DELETE = \"indexsets:delete\";\n public static final String INDEXSETS_EDIT = \"indexsets:edit\";\n public static final String INDEXSETS_READ = \"indexsets:read\";\n public static final String INDEXSETS_FIELD_RESTRICTIONS_EDIT = \"indexsets_field_restrictions:edit\";\n public static final String INDICES_CHANGESTATE = \"indices:changestate\";\n public static final String INDICES_DELETE = \"indices:delete\";\n public static final String INDICES_FAILURES = \"indices:failures\";\n public static final String INDICES_READ = \"indices:read\";\n public static final String INDICES_REINDEX = \"indices:reindex\";\n public static final String INPUTS_CHANGESTATE = \"inputs:changestate\";\n public static final String INPUTS_CREATE = \"inputs:create\";\n public static final String INPUTS_EDIT = \"inputs:edit\";\n public static final String INPUTS_READ = \"inputs:read\";\n public static final String INPUTS_TERMINATE = \"inputs:terminate\";\n public static final String INPUT_TYPES_CREATE = \"input_types:create\";\n public static final String JOURNAL_EDIT = \"journal:edit\";\n public static final String JOURNAL_READ = \"journal:read\";\n public static final String JVMSTATS_READ = \"jvmstats:read\";\n public static final String LBSTATUS_CHANGE = \"lbstatus:change\";\n public static final String LOOKUP_TABLES_CREATE = \"lookuptables:create\";\n public static final String LOOKUP_TABLES_DELETE = \"lookuptables:delete\";\n public static final String LOOKUP_TABLES_EDIT = \"lookuptables:edit\";\n public static final String LOOKUP_TABLES_READ = \"lookuptables:read\";\n public static final String LOGGERS_EDIT = \"loggers:edit\";\n public static final String LOGGERS_EDITSUBSYSTEM = \"loggers:editsubsystem\";\n public static final String LOGGERS_READ = \"loggers:read\";\n public static final String LOGGERS_READSUBSYSTEM = \"loggers:readsubsystem\";\n public static final String LOGGERSMESSAGES_READ = \"loggersmessages:read\";\n public static final String MCP_SERVER_ACCESS = \"mcp_server:access\";\n public static final String MESSAGECOUNT_READ = \"messagecount:read\";\n public static final String MESSAGES_ANALYZE = \"messages:analyze\";\n public static final String MESSAGES_READ = \"messages:read\";\n public static final String METRICS_ALLKEYS = \"metrics:allkeys\";\n public static final String METRICS_READ = \"metrics:read\";\n public static final String METRICS_READALL = \"metrics:readall\";\n public static final String METRICS_READHISTORY = \"metrics:readhistory\";\n @Deprecated\n public static final String NODE_SHUTDOWN = \"node:shutdown\";\n public static final String MONITORING_READ = \"monitoring:read\";\n public static final String NOTIFICATIONS_DELETE = \"notifications:delete\";\n public static final String NOTIFICATIONS_READ = \"notifications:read\";\n public static final String OUTPUTS_CREATE = \"outputs:create\";\n public static final String OUTPUTS_EDIT = \"outputs:edit\";\n public static final String OUTPUTS_READ = \"outputs:read\";\n public static final String OUTPUTS_TERMINATE = \"outputs:terminate\";\n public static final String PROCESSING_CHANGESTATE = \"processing:changestate\";\n public static final String ROLES_CREATE = \"roles:create\";\n public static final String ROLES_DELETE = \"roles:delete\";\n public static final String ROLES_EDIT = \"roles:edit\";\n public static final String ROLES_READ = \"roles:read\";\n public static final String ROLES_ASSIGN = \"roles:assign\";\n public static final String SEARCHES_ABSOLUTE = \"searches:absolute\";\n public static final String SEARCHES_KEYWORD = \"searches:keyword\";\n public static final String SEARCHES_RELATIVE = \"searches:relative\";\n public static final String SOURCES_READ = \"sources:read\";\n public static final String STREAM_DESTINATION_FILTERS_CREATE = \"stream_destination_filters:create\";\n public static final String STREAM_DESTINATION_FILTERS_DELETE = \"stream_destination_filters:delete\";\n public static final String STREAM_DESTINATION_FILTERS_EDIT = \"stream_destination_filters:edit\";\n public static final String STREAM_DESTINATION_FILTERS_READ = \"stream_destination_filters:read\";\n public static final String STREAM_OUTPUTS_CREATE = \"stream_outputs:create\";\n public static final String STREAM_OUTPUTS_DELETE = \"stream_outputs:delete\";\n public static final String STREAM_OUTPUTS_READ = \"stream_outputs:read\";\n public static final String STREAMS_CHANGESTATE = \"streams:changestate\";\n public static final String STREAMS_CREATE = \"streams:create\";\n public static final String STREAMS_EDIT = \"streams:edit\";\n public static final String STREAMS_READ = \"streams:read\";\n public static final String SEARCH_FILTERS_READ = \"search_filters:read\";\n public static final String SEARCH_FILTERS_EDIT = \"search_filters:edit\";\n public static final String SEARCH_FILTERS_DELETE = \"search_filters:delete\";\n public static final String SYSTEM_READ = \"system:read\";\n public static final String SYSTEMJOBS_CREATE = \"systemjobs:create\";\n public static final String SYSTEMJOBS_DELETE = \"systemjobs:delete\";\n public static final String SYSTEMJOBS_READ = \"systemjobs:read\";\n public static final String SYSTEMMESSAGES_READ = \"systemmessages:read\";\n public static final String SUPPORTBUNDLE_READ = \"supportbundle:read\";\n public static final String SUPPORTBUNDLE_CREATE = \"supportbundle:create\";\n public static final String THREADS_DUMP = \"threads:dump\";\n public static final String PROCESSBUFFER_DUMP = \"processbuffer:dump\";\n public static final String THROUGHPUT_READ = \"throughput:read\";\n public static final String TOKEN_USAGE_READ = \"tokenusage:read\";\n public static final String TYPE_MAPPINGS_CREATE = \"typemappings:create\";\n public static final String TYPE_MAPPINGS_DELETE = \"typemappings:delete\";\n public static final String TYPE_MAPPINGS_EDIT = \"typemappings:edit\";\n public static final String TYPE_MAPPINGS_READ = \"typemappings:read\";\n public static final String MAPPING_PROFILES_CREATE = \"mappingprofiles:create\";\n public static final String MAPPING_PROFILES_DELETE = \"mappingprofiles:delete\";\n public static final String MAPPING_PROFILES_EDIT = \"mappingprofiles:edit\";\n public static final String MAPPING_PROFILES_READ = \"mappingprofiles:read\";\n public static final String INDEX_SET_TEMPLATES_CREATE = \"indexset_templates:create\";\n public static final String INDEX_SET_TEMPLATES_DELETE = \"indexset_templates:delete\";\n public static final String INDEX_SET_TEMPLATES_EDIT = \"indexset_templates:edit\";\n public static final String INDEX_SET_TEMPLATES_READ = \"indexset_templates:read\";\n public static final String URL_ALLOWLIST_READ = \"urlallowlist:read\";\n public static final String URL_ALLOWLIST_WRITE = \"urlallowlist:write\";\n public static final String USERS_CREATE = \"users:create\";\n public static final String USERS_EDIT = \"users:edit\";\n public static final String USERS_READ = \"users:read\";\n public static final String USERS_LIST = \"users:list\";\n public static final String USERS_PASSWORDCHANGE = \"users:passwordchange\";\n public static final String USERS_PERMISSIONSEDIT = \"users:permissionsedit\";\n public static final String USERS_ROLESEDIT = \"users:rolesedit\";\n public static final String USERS_TOKENCREATE = \"users:tokencreate\";\n public static final String USERS_TOKENLIST = \"users:tokenlist\";\n public static final String USERS_TOKENREMOVE = \"users:tokenremove\";\n public static final String MONGODB_NODES_READ = \"mongodb_nodes:read\";\n public static final String MONGODB_NODES_PROFILING_CHANGE = \"mongodb_nodes:changeprofiling\";\n\n protected static final ImmutableSet PERMISSIONS = ImmutableSet.builder()\n .add(create(API_BROWSER_READ, \"\"))\n .add(create(AUTH_HTTP_HEADER_CONFIG_EDIT, \"\"))\n .add(create(AUTH_HTTP_HEADER_CONFIG_READ, \"\"))\n .add(create(AUTH_SERVICE_BACKEND_CREATE, \"\"))\n .add(create(AUTH_SERVICE_BACKEND_DELETE, \"\"))\n .add(create(AUTH_SERVICE_BACKEND_EDIT, \"\"))\n .add(create(AUTH_SERVICE_BACKEND_READ, \"\"))\n .add(create(AUTH_SERVICE_GLOBAL_CONFIG_READ, \"\"))\n .add(create(AUTH_SERVICE_GLOBAL_CONFIG_EDIT, \"\"))\n .add(create(AUTH_SERVICE_TEST_BACKEND_EXECUTE, \"\"))\n .add(create(BUFFERS_READ, \"\"))\n .add(create(CAPABILITIES_READ, \"\"))\n .add(create(CONTENT_PACK_CREATE, \"\"))\n .add(create(CONTENT_PACK_DELETE, \"\"))\n .add(create(CONTENT_PACK_READ, \"\"))\n .add(create(CATALOG_LIST, \"\"))\n .add(create(CATALOG_RESOLVE, \"\"))\n .add(create(CLUSTER_CONFIG_ENTRY_CREATE, \"\"))\n .add(create(CLUSTER_CONFIG_ENTRY_DELETE, \"\"))\n .add(create(CLUSTER_CONFIG_ENTRY_EDIT, \"\"))\n .add(create(CLUSTER_CONFIG_ENTRY_READ, \"\"))\n .add(create(CLUSTER_CONFIGURATION_READ, \"\"))\n .add(create(DASHBOARDS_CREATE, \"\"))\n .add(create(DASHBOARDS_EDIT, \"\").withManageCapabilityFor(GRNTypes.DASHBOARD))\n .add(create(DASHBOARDS_READ, \"\").withViewCapabilityFor(GRNTypes.DASHBOARD))\n .add(create(DATANODE_READ, \"\"))\n .add(create(DATANODE_REMOVE, \"\"))\n .add(create(DATANODE_RESET, \"\"))\n .add(create(DATANODE_STOP, \"\"))\n .add(create(DATANODE_START, \"\"))\n .add(create(DATANODE_MIGRATION, \"\"))\n .add(create(DATANODE_RESTART, \"\"))\n .add(create(DATANODE_OPENSEARCH_PROXY, \"\"))\n .add(create(DATANODE_REST_PROXY, \"\"))\n .add(create(GRAYLOG_CA_CREATE, \"\"))\n .add(create(GRAYLOG_CA_READ, \"\"))\n .add(create(GRAYLOG_CA_CLIENTCERT_CREATE, \"\"))\n .add(create(GRAYLOG_CA_CLIENTCERT_DELETE, \"\"))\n .add(create(DECORATORS_CREATE, \"\"))\n .add(create(DECORATORS_EDIT, \"\"))\n .add(create(DECORATORS_READ, \"\"))\n .add(create(DEFLECTOR_CYCLE, \"\"))\n .add(create(DEFLECTOR_READ, \"\"))\n .add(create(LICENSEINFOS_READ, \"\"))\n .add(create(EVENT_DEFINITIONS_CREATE, \"\"))\n .add(create(EVENT_DEFINITIONS_DELETE, \"\").withOwnCapabilityFor(GRNTypes.EVENT_DEFINITION))\n .add(create(EVENT_DEFINITIONS_EDIT, \"\").withManageCapabilityFor(GRNTypes.EVENT_DEFINITION))\n .add(create(EVENT_DEFINITIONS_EXECUTE, \"\").withManageCapabilityFor(GRNTypes.EVENT_DEFINITION))\n .add(create(EVENT_DEFINITIONS_READ, \"\").withViewCapabilityFor(GRNTypes.EVENT_DEFINITION))\n .add(create(EVENT_NOTIFICATIONS_CREATE, \"\"))\n .add(create(EVENT_NOTIFICATIONS_DELETE, \"\").withOwnCapabilityFor(GRNTypes.EVENT_NOTIFICATION))\n .add(create(EVENT_NOTIFICATIONS_EDIT, \"\").withManageCapabilityFor(GRNTypes.EVENT_NOTIFICATION))\n .add(create(EVENT_NOTIFICATIONS_READ, \"\").withViewCapabilityFor(GRNTypes.EVENT_NOTIFICATION))\n .add(create(FIELDNAMES_READ, \"\"))\n .add(create(GRANTS_OVERVIEW_READ, \"\"))\n .add(create(INDEXERCLUSTER_READ, \"\"))\n .add(create(INDEXRANGES_READ, \"\"))\n .add(create(INDEXRANGES_REBUILD, \"\"))\n .add(create(INDEXSETS_CREATE, \"\"))\n .add(create(INDEXSETS_DELETE, \"\"))\n .add(create(INDEXSETS_EDIT, \"\"))\n .add(create(INDEXSETS_READ, \"\"))\n .add(create(INDEX_SET_TEMPLATES_CREATE, \"\"))\n .add(create(INDEX_SET_TEMPLATES_DELETE, \"\"))\n .add(create(INDEX_SET_TEMPLATES_EDIT, \"\"))\n .add(create(INDEX_SET_TEMPLATES_READ, \"\"))\n .add(create(INDICES_CHANGESTATE, \"\"))\n .add(create(INDICES_DELETE, \"\"))\n .add(create(INDICES_FAILURES, \"\"))\n .add(create(INDICES_READ, \"\"))\n .add(create(INDICES_REINDEX, \"\"))\n .add(create(INPUTS_CHANGESTATE, \"\"))\n .add(create(INPUTS_CREATE, \"\"))\n .add(create(INPUTS_EDIT, \"\"))\n .add(create(INPUTS_READ, \"\"))\n .add(create(INPUTS_TERMINATE, \"\"))\n .add(create(INPUT_TYPES_CREATE, \"\"))\n .add(create(JOURNAL_EDIT, \"\"))\n .add(create(JOURNAL_READ, \"\"))\n .add(create(JVMSTATS_READ, \"\"))\n .add(create(LBSTATUS_CHANGE, \"\"))\n .add(create(LOOKUP_TABLES_CREATE, \"\"))\n .add(create(LOOKUP_TABLES_DELETE, \"\"))\n .add(create(LOOKUP_TABLES_EDIT, \"\"))\n .add(create(LOOKUP_TABLES_READ, \"\"))\n .add(create(LOGGERS_EDIT, \"\"))\n .add(create(LOGGERS_EDITSUBSYSTEM, \"\"))\n .add(create(LOGGERS_READ, \"\"))\n .add(create(LOGGERS_READSUBSYSTEM, \"\"))\n .add(create(LOGGERSMESSAGES_READ, \"\"))\n .add(create(MCP_SERVER_ACCESS, \"\"))\n .add(create(MESSAGECOUNT_READ, \"\"))\n .add(create(MESSAGES_ANALYZE, \"\"))\n .add(create(MESSAGES_READ, \"\"))\n .add(create(METRICS_ALLKEYS, \"\"))\n .add(create(METRICS_READ, \"\"))\n .add(create(METRICS_READALL, \"\"))\n .add(create(METRICS_READHISTORY, \"\"))\n .add(create(NODE_SHUTDOWN, \"\"))\n .add(create(NOTIFICATIONS_DELETE, \"\"))\n .add(create(NOTIFICATIONS_READ, \"\"))\n .add(create(OUTPUTS_CREATE, \"\"))\n .add(create(OUTPUTS_EDIT, \"\").withManageCapabilityFor(GRNTypes.OUTPUT))\n .add(create(OUTPUTS_READ, \"\").withViewCapabilityFor(GRNTypes.OUTPUT))\n .add(create(OUTPUTS_TERMINATE, \"\").withOwnCapabilityFor(GRNTypes.OUTPUT))\n .add(create(PROCESSING_CHANGESTATE, \"\"))\n .add(create(ROLES_CREATE, \"\"))\n .add(create(ROLES_DELETE, \"\"))\n .add(create(ROLES_EDIT, \"\"))\n .add(create(ROLES_READ, \"\"))\n .add(create(ROLES_ASSIGN, \"\"))\n .add(create(SEARCHES_ABSOLUTE, \"\"))\n .add(create(SEARCHES_KEYWORD, \"\"))\n .add(create(SEARCHES_RELATIVE, \"\"))\n .add(create(SOURCES_READ, \"\"))\n .add(create(STREAM_OUTPUTS_CREATE, \"\"))\n .add(create(STREAM_OUTPUTS_DELETE, \"\"))\n .add(create(STREAM_OUTPUTS_READ, \"\"))\n .add(create(STREAMS_CHANGESTATE, \"\").withManageCapabilityFor(GRNTypes.STREAM))\n .add(create(STREAMS_CREATE, \"\"))\n .add(create(STREAMS_EDIT, \"\").withManageCapabilityFor(GRNTypes.STREAM))\n .add(create(STREAMS_READ, \"\").withViewCapabilityFor(GRNTypes.STREAM))\n .add(create(SYSTEM_READ, \"\"))\n .add(create(SYSTEMJOBS_CREATE, \"\"))\n .add(create(SYSTEMJOBS_DELETE, \"\"))\n .add(create(SYSTEMJOBS_READ, \"\"))\n .add(create(SYSTEMMESSAGES_READ, \"\"))\n .add(create(SUPPORTBUNDLE_READ, \"\"))\n .add(create(SUPPORTBUNDLE_CREATE, \"\"))\n .add(create(THREADS_DUMP, \"\"))\n .add(create(PROCESSBUFFER_DUMP, \"\"))\n .add(create(THROUGHPUT_READ, \"\"))\n .add(create(URL_ALLOWLIST_READ, \"\"))\n .add(create(URL_ALLOWLIST_WRITE, \"\"))\n .add(create(USERS_CREATE, \"\"))\n .add(create(USERS_EDIT, \"\").withManageCapabilityFor(GRNTypes.USER))\n .add(create(USERS_READ, \"\").withViewCapabilityFor(GRNTypes.USER))\n .add(create(USERS_LIST, \"\"))\n .add(create(USERS_PASSWORDCHANGE, \"\"))\n .add(create(USERS_PERMISSIONSEDIT, \"\"))\n .add(create(USERS_ROLESEDIT, \"\").withManageCapabilityFor(GRNTypes.USER))\n .add(create(USERS_TOKENCREATE, \"\"))\n .add(create(USERS_TOKENLIST, \"\"))\n .add(create(USERS_TOKENREMOVE, \"\"))\n .add(create(SEARCH_FILTERS_READ, \"\").withViewCapabilityFor(GRNTypes.SEARCH_FILTER))\n .add(create(SEARCH_FILTERS_EDIT, \"\").withManageCapabilityFor(GRNTypes.SEARCH_FILTER))\n .add(create(SEARCH_FILTERS_DELETE, \"\").withOwnCapabilityFor(GRNTypes.SEARCH_FILTER))\n .add(create(TYPE_MAPPINGS_CREATE, \"\"))\n .add(create(TYPE_MAPPINGS_DELETE, \"\"))\n .add(create(TYPE_MAPPINGS_EDIT, \"\"))\n .add(create(TYPE_MAPPINGS_READ, \"\"))\n .add(create(MAPPING_PROFILES_CREATE, \"\"))\n .add(create(MAPPING_PROFILES_DELETE, \"\"))\n .add(create(MAPPING_PROFILES_EDIT, \"\"))\n .add(create(MAPPING_PROFILES_READ, \"\"))\n .add(create(MONGODB_NODES_PROFILING_CHANGE, \"\"))\n .add(create(MONGODB_NODES_READ, \"\"))\n .build();\n\n // Standard set of PERMISSIONS of readers.\n protected static final ImmutableSet READER_BASE_PERMISSION_SELECTION = ImmutableSet.builder().add(\n BUFFERS_READ,\n CLUSTER_CONFIG_ENTRY_READ,\n DECORATORS_READ,\n FIELDNAMES_READ,\n INDEXERCLUSTER_READ,\n INPUTS_READ,\n JOURNAL_READ,\n JVMSTATS_READ,\n MESSAGECOUNT_READ,\n MESSAGES_ANALYZE,\n MESSAGES_READ,\n METRICS_READ,\n SYSTEM_READ,\n THROUGHPUT_READ,\n DATANODE_READ,\n MONGODB_NODES_READ\n ).build();\n\n protected static final Set READER_BASE_PERMISSIONS = PERMISSIONS.stream()\n .filter(permission -> READER_BASE_PERMISSION_SELECTION.contains(permission.permission()))\n .collect(Collectors.toSet());\n\n protected static final ImmutableSet BUILTIN_ROLES = ImmutableSet.builder().add(\n BuiltinRole.create(\"Dashboard Creator\", \"Allows creation of Dashboards (built-in)\", ImmutableSet.of(\n RestPermissions.DASHBOARDS_CREATE\n )),\n BuiltinRole.create(\"Event Definition Creator\", \"Allows creation of Event Definitions (built-in)\", ImmutableSet.of(\n RestPermissions.EVENT_DEFINITIONS_CREATE, RestPermissions.LOOKUP_TABLES_READ\n )),\n BuiltinRole.create(\"Event Notification Creator\", \"Allows creation of Event Notifications (built-in)\", ImmutableSet.of(\n RestPermissions.EVENT_NOTIFICATIONS_CREATE\n )),\n BuiltinRole.create(\"User Inspector\", \"Allows listing all user accounts (built-in)\", ImmutableSet.of(\n RestPermissions.USERS_READ, RestPermissions.USERS_LIST\n )),\n BuiltinRole.create(\"Cluster Configuration Reader\", \"Allows viewing the Cluster Configuration page\", ImmutableSet.of(\n RestPermissions.CLUSTER_CONFIGURATION_READ, RestPermissions.DATANODE_REST_PROXY\n )),\n BuiltinRole.create(\"API Browser Reader\", \"Allows viewing the API browser page\", ImmutableSet.of(\n RestPermissions.API_BROWSER_READ\n )),\n BuiltinRole.create(\"MCP Server Access\", \"Allows access to the built-in MCP server (built-in)\", ImmutableSet.of(\n RestPermissions.MCP_SERVER_ACCESS\n ))\n ).build();\n\n @Override\n public Set readerBasePermissions() {\n return READER_BASE_PERMISSIONS;\n }\n\n @Override\n public Set permissions() {\n return PERMISSIONS;\n }\n\n @Override\n public Set builtinRoles() {\n return BUILTIN_ROLES;\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/e530e3fecc30ef49ccfa9031fe8732c704881edb.json b/web/public/bundles/graylog/code/e530e3fecc30ef49ccfa9031fe8732c704881edb.json new file mode 100644 index 00000000..10854c2d --- /dev/null +++ b/web/public/bundles/graylog/code/e530e3fecc30ef49ccfa9031fe8732c704881edb.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e530e3fecc30ef49ccfa9031fe8732c704881edb", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/security/PasswordAlgorithmFactory.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.security;\n\nimport org.graylog2.plugin.security.PasswordAlgorithm;\nimport org.graylog2.users.DefaultPasswordAlgorithm;\n\nimport javax.annotation.Nullable;\n\nimport jakarta.inject.Inject;\n\nimport java.util.Map;\n\npublic class PasswordAlgorithmFactory {\n private final Map passwordAlgorithms;\n private final PasswordAlgorithm defaultPasswordAlgorithm;\n\n @Inject\n public PasswordAlgorithmFactory(Map passwordAlgorithms,\n @DefaultPasswordAlgorithm PasswordAlgorithm defaultPasswordAlgorithm) {\n this.passwordAlgorithms = passwordAlgorithms;\n this.defaultPasswordAlgorithm = defaultPasswordAlgorithm;\n }\n\n @Nullable\n public PasswordAlgorithm forPassword(String hashedPassword) {\n for (PasswordAlgorithm passwordAlgorithm : passwordAlgorithms.values()) {\n if (passwordAlgorithm.supports(hashedPassword))\n return passwordAlgorithm;\n }\n\n return null;\n }\n\n @Nullable\n public PasswordAlgorithm forName(String name) {\n return this.passwordAlgorithms.get(name);\n }\n\n public PasswordAlgorithm defaultPasswordAlgorithm() {\n return defaultPasswordAlgorithm;\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/e5572c6768f846484607812467e610c7aa865962.json b/web/public/bundles/graylog/code/e5572c6768f846484607812467e610c7aa865962.json new file mode 100644 index 00000000..6588b0b3 --- /dev/null +++ b/web/public/bundles/graylog/code/e5572c6768f846484607812467e610c7aa865962.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e5572c6768f846484607812467e610c7aa865962", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/security/realm/AuthenticatingRealmModule.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.security.realm;\n\nimport com.google.inject.Scopes;\nimport com.google.inject.multibindings.MapBinder;\nimport org.apache.shiro.realm.AuthenticatingRealm;\nimport org.graylog2.Configuration;\nimport org.graylog2.plugin.inject.Graylog2Module;\nimport org.graylog2.security.OrderedAuthenticatingRealms;\nimport org.graylog2.security.StaticOrderedAuthenticatingRealms;\n\nimport java.util.Set;\n\npublic class AuthenticatingRealmModule extends Graylog2Module {\n\n private final Set deactivatedRealms;\n\n public AuthenticatingRealmModule(Configuration configuration) {\n this.deactivatedRealms = configuration.getDeactivatedBuiltinAuthenticationProviders();\n }\n\n @Override\n protected void configure() {\n final MapBinder auth = authenticationRealmBinder();\n\n bind(OrderedAuthenticatingRealms.class).to(StaticOrderedAuthenticatingRealms.class).in(Scopes.SINGLETON);\n\n add(auth, AccessTokenAuthenticator.NAME, AccessTokenAuthenticator.class);\n add(auth, RootAccountRealm.NAME, RootAccountRealm.class);\n add(auth, SessionAuthenticator.NAME, SessionAuthenticator.class);\n add(auth, HTTPHeaderAuthenticationRealm.NAME, HTTPHeaderAuthenticationRealm.class);\n add(auth, UsernamePasswordRealm.NAME, UsernamePasswordRealm.class);\n add(auth, BearerTokenRealm.NAME, BearerTokenRealm.class);\n }\n\n private void add(MapBinder auth, String name,\n Class realm) {\n if (!deactivatedRealms.contains(name)) {\n auth.addBinding(name).to(realm).in(Scopes.SINGLETON);\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/e5e343153acb4fc4e9fc3b6bb8608371614c991e.json b/web/public/bundles/graylog/code/e5e343153acb4fc4e9fc3b6bb8608371614c991e.json new file mode 100644 index 00000000..c16e2650 --- /dev/null +++ b/web/public/bundles/graylog/code/e5e343153acb4fc4e9fc3b6bb8608371614c991e.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e5e343153acb4fc4e9fc3b6bb8608371614c991e", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/DecoratorResolver.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.decorators;\n\nimport org.graylog2.plugin.decorators.SearchResponseDecorator;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport javax.annotation.Nullable;\n\nimport jakarta.inject.Inject;\nimport jakarta.inject.Singleton;\n\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Objects;\nimport java.util.stream.Collectors;\n\n@Singleton\npublic class DecoratorResolver {\n private static final Logger LOG = LoggerFactory.getLogger(DecoratorResolver.class);\n\n private final DecoratorService decoratorService;\n private final Map searchResponseDecoratorsMap;\n\n @Inject\n public DecoratorResolver(DecoratorService decoratorService,\n Map searchResponseDecorators) {\n this.decoratorService = decoratorService;\n this.searchResponseDecoratorsMap = searchResponseDecorators;\n }\n\n public List searchResponseDecoratorsForStream(String streamId) {\n return this.decoratorService.findForStream(streamId)\n .stream()\n .sorted()\n .map(this::instantiateSearchResponseDecorator)\n .filter(Objects::nonNull)\n .collect(Collectors.toList());\n }\n\n public List searchResponseDecoratorsForGlobal() {\n return this.decoratorService.findForGlobal()\n .stream()\n .sorted()\n .map(this::instantiateSearchResponseDecorator)\n .filter(Objects::nonNull)\n .collect(Collectors.toList());\n }\n\n @Nullable\n private SearchResponseDecorator instantiateSearchResponseDecorator(Decorator decorator) {\n final SearchResponseDecorator.Factory factory = this.searchResponseDecoratorsMap.get(decorator.type());\n if (factory != null) {\n try {\n return factory.create(decorator);\n } catch (Exception e) {\n LOG.error(\"Unable to create <{}> decorator\", factory.getDescriptor().getName(), e);\n }\n }\n return null;\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/e6141d1d5ee87c9f0e759b28125398ff59a7ca22.json b/web/public/bundles/graylog/code/e6141d1d5ee87c9f0e759b28125398ff59a7ca22.json new file mode 100644 index 00000000..960718b7 --- /dev/null +++ b/web/public/bundles/graylog/code/e6141d1d5ee87c9f0e759b28125398ff59a7ca22.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e6141d1d5ee87c9f0e759b28125398ff59a7ca22", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/contentpacks/responses/ContentPackResponse.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.models.system.contentpacks.responses;\n\nimport com.fasterxml.jackson.annotation.JsonAutoDetect;\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.google.auto.value.AutoValue;\nimport org.graylog2.contentpacks.model.ContentPack;\nimport org.graylog2.contentpacks.model.constraints.ConstraintCheckResult;\n\nimport java.util.Set;\n\n@JsonAutoDetect\n@AutoValue\npublic abstract class ContentPackResponse {\n @JsonProperty(\"content_pack\")\n public abstract ContentPack contentPack();\n\n @JsonProperty(\"constraints_result\")\n public abstract Set constraints();\n\n @JsonCreator\n public static ContentPackResponse create(@JsonProperty(\"content_pack\") ContentPack contentPack, @JsonProperty(\"constraints_result\") Set constraints) {\n return new AutoValue_ContentPackResponse(contentPack, constraints);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/e61d4cced0f39b292e246ca91d1cbb479e1b8642.json b/web/public/bundles/graylog/code/e61d4cced0f39b292e246ca91d1cbb479e1b8642.json new file mode 100644 index 00000000..7c655866 --- /dev/null +++ b/web/public/bundles/graylog/code/e61d4cced0f39b292e246ca91d1cbb479e1b8642.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e61d4cced0f39b292e246ca91d1cbb479e1b8642", + "language": "java", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/ViewsOSBackendModule.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.storage.opensearch2;\n\nimport com.google.inject.Scopes;\nimport com.google.inject.TypeLiteral;\nimport com.google.inject.assistedinject.FactoryModuleBuilder;\nimport com.google.inject.binder.LinkedBindingBuilder;\nimport com.google.inject.binder.ScopedBindingBuilder;\nimport com.google.inject.multibindings.MapBinder;\nimport com.google.inject.multibindings.OptionalBinder;\nimport org.graylog.plugins.views.ViewsModule;\nimport org.graylog.plugins.views.search.SearchType;\nimport org.graylog.plugins.views.search.export.ExportBackend;\nimport org.graylog.plugins.views.search.searchtypes.MessageList;\nimport org.graylog.plugins.views.search.searchtypes.events.EventList;\nimport org.graylog.plugins.views.search.searchtypes.pivot.BucketSpec;\nimport org.graylog.plugins.views.search.searchtypes.pivot.Pivot;\nimport org.graylog.plugins.views.search.searchtypes.pivot.SeriesSpec;\nimport org.graylog.plugins.views.search.searchtypes.pivot.buckets.DateRangeBucket;\nimport org.graylog.plugins.views.search.searchtypes.pivot.buckets.RangeBucket;\nimport org.graylog.plugins.views.search.searchtypes.pivot.buckets.Time;\nimport org.graylog.plugins.views.search.searchtypes.pivot.buckets.Values;\nimport org.graylog.plugins.views.search.searchtypes.pivot.series.Average;\nimport org.graylog.plugins.views.search.searchtypes.pivot.series.Cardinality;\nimport org.graylog.plugins.views.search.searchtypes.pivot.series.Count;\nimport org.graylog.plugins.views.search.searchtypes.pivot.series.Latest;\nimport org.graylog.plugins.views.search.searchtypes.pivot.series.Max;\nimport org.graylog.plugins.views.search.searchtypes.pivot.series.Min;\nimport org.graylog.plugins.views.search.searchtypes.pivot.series.Percentage;\nimport org.graylog.plugins.views.search.searchtypes.pivot.series.Percentile;\nimport org.graylog.plugins.views.search.searchtypes.pivot.series.StdDev;\nimport org.graylog.plugins.views.search.searchtypes.pivot.series.Sum;\nimport org.graylog.plugins.views.search.searchtypes.pivot.series.SumOfSquares;\nimport org.graylog.plugins.views.search.searchtypes.pivot.series.Variance;\nimport org.graylog.shaded.opensearch2.org.opensearch.search.aggregations.Aggregation;\nimport org.graylog.storage.opensearch2.views.OSGeneratedQueryContext;\nimport org.graylog.storage.opensearch2.views.OpenSearchBackend;\nimport org.graylog.storage.opensearch2.views.export.OpenSearchExportBackend;\nimport org.graylog.storage.opensearch2.views.export.RequestStrategy;\nimport org.graylog.storage.opensearch2.views.export.SearchAfter;\nimport org.graylog.storage.opensearch2.views.searchtypes.EventListStrategy;\nimport org.graylog.storage.opensearch2.views.searchtypes.OSEventListDelegate;\nimport org.graylog.storage.opensearch2.views.searchtypes.OSMessageList;\nimport org.graylog.storage.opensearch2.views.searchtypes.OSSearchTypeHandler;\nimport org.graylog.storage.opensearch2.views.searchtypes.pivot.OSPivot;\nimport org.graylog.storage.opensearch2.views.searchtypes.pivot.OSPivotBucketSpecHandler;\nimport org.graylog.storage.opensearch2.views.searchtypes.pivot.OSPivotSeriesSpecHandler;\nimport org.graylog.storage.opensearch2.views.searchtypes.pivot.buckets.OSDateRangeHandler;\nimport org.graylog.storage.opensearch2.views.searchtypes.pivot.buckets.OSRangeHandler;\nimport org.graylog.storage.opensearch2.views.searchtypes.pivot.buckets.OSTimeHandler;\nimport org.graylog.storage.opensearch2.views.searchtypes.pivot.buckets.OSValuesHandler;\nimport org.graylog.storage.opensearch2.views.searchtypes.pivot.series.OSAverageHandler;\nimport org.graylog.storage.opensearch2.views.searchtypes.pivot.series.OSCardinalityHandler;\nimport org.graylog.storage.opensearch2.views.searchtypes.pivot.series.OSCountHandler;\nimport org.graylog.storage.opensearch2.views.searchtypes.pivot.series.OSLatestHandler;\nimport org.graylog.storage.opensearch2.views.searchtypes.pivot.series.OSMaxHandler;\nimport org.graylog.storage.opensearch2.views.searchtypes.pivot.series.OSMinHandler;\nimport org.graylog.storage.opensearch2.views.searchtypes.pivot.series.OSPercentageHandler;\nimport org.graylog.storage.opensearch2.views.searchtypes.pivot.series.OSPercentilesHandler;\nimport org.graylog.storage.opensearch2.views.searchtypes.pivot.series.OSStdDevHandler;\nimport org.graylog.storage.opensearch2.views.searchtypes.pivot.series.OSSumHandler;\nimport org.graylog.storage.opensearch2.views.searchtypes.pivot.series.OSSumOfSquaresHandler;\nimport org.graylog.storage.opensearch2.views.searchtypes.pivot.series.OSVarianceHandler;\nimport org.graylog2.storage.SearchVersion;\n\npublic class ViewsOSBackendModule extends ViewsModule {\n private final SearchVersion supportedSearchVersion;\n\n public ViewsOSBackendModule(SearchVersion supportedSearchVersion) {\n this.supportedSearchVersion = supportedSearchVersion;\n }\n\n @Override\n protected void configure() {\n install(new FactoryModuleBuilder().build(OSGeneratedQueryContext.Factory.class));\n\n registerVersionedQueryBackend(supportedSearchVersion, OpenSearchBackend.class);\n\n registerOSSearchTypeHandler(MessageList.NAME, OSMessageList.class);\n registerOSSearchTypeHandler(EventList.NAME, OSEventListDelegate.class);\n OptionalBinder.newOptionalBinder(binder(), EventListStrategy.class);\n registerOSSearchTypeHandler(Pivot.NAME, OSPivot.class).in(Scopes.SINGLETON);\n\n registerPivotSeriesHandler(Average.NAME, OSAverageHandler.class);\n registerPivotSeriesHandler(Cardinality.NAME, OSCardinalityHandler.class);\n registerPivotSeriesHandler(Count.NAME, OSCountHandler.class);\n registerPivotSeriesHandler(Max.NAME, OSMaxHandler.class);\n registerPivotSeriesHandler(Min.NAME, OSMinHandler.class);\n registerPivotSeriesHandler(StdDev.NAME, OSStdDevHandler.class);\n registerPivotSeriesHandler(Sum.NAME, OSSumHandler.class);\n registerPivotSeriesHandler(SumOfSquares.NAME, OSSumOfSquaresHandler.class);\n registerPivotSeriesHandler(Variance.NAME, OSVarianceHandler.class);\n registerPivotSeriesHandler(Percentage.NAME, OSPercentageHandler.class);\n registerPivotSeriesHandler(Percentile.NAME, OSPercentilesHandler.class);\n registerPivotSeriesHandler(Latest.NAME, OSLatestHandler.class);\n\n registerPivotBucketHandler(Values.NAME, OSValuesHandler.class);\n registerPivotBucketHandler(Time.NAME, OSTimeHandler.class);\n registerPivotBucketHandler(DateRangeBucket.NAME, OSDateRangeHandler.class);\n registerPivotBucketHandler(RangeBucket.NAME, OSRangeHandler.class);\n\n bindExportBackend().to(OpenSearchExportBackend.class);\n bindRequestStrategy().to(SearchAfter.class);\n }\n\n private LinkedBindingBuilder bindRequestStrategy() {\n return bind(RequestStrategy.class);\n }\n\n private LinkedBindingBuilder bindExportBackend() {\n return bindExportBackend(supportedSearchVersion);\n }\n\n private MapBinder> pivotBucketHandlerBinder() {\n return MapBinder.newMapBinder(binder(),\n TypeLiteral.get(String.class),\n new TypeLiteral>() {});\n\n }\n\n private void registerPivotBucketHandler(\n String name,\n Class> implementation\n ) {\n pivotBucketHandlerBinder().addBinding(name).to(implementation);\n }\n\n protected MapBinder> pivotSeriesHandlerBinder() {\n return MapBinder.newMapBinder(binder(),\n TypeLiteral.get(String.class),\n new TypeLiteral<>() {});\n\n }\n\n private void registerPivotSeriesHandler(\n String name,\n Class> implementation\n ) {\n pivotSeriesHandlerBinder().addBinding(name).to(implementation);\n }\n\n private MapBinder> osSearchTypeHandlerBinder() {\n return MapBinder.newMapBinder(binder(),\n TypeLiteral.get(String.class),\n new TypeLiteral>() {});\n }\n\n private ScopedBindingBuilder registerOSSearchTypeHandler(String name, Class> implementation) {\n return osSearchTypeHandlerBinder().addBinding(name).to(implementation);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/e64d4827cf8b66890fc64044554ee028c461224f.json b/web/public/bundles/graylog/code/e64d4827cf8b66890fc64044554ee028c461224f.json new file mode 100644 index 00000000..cd308b7a --- /dev/null +++ b/web/public/bundles/graylog/code/e64d4827cf8b66890fc64044554ee028c461224f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e64d4827cf8b66890fc64044554ee028c461224f", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/functions/FromInput.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.pipelineprocessor.functions;\n\nimport jakarta.inject.Inject;\nimport org.graylog.plugins.pipelineprocessor.EvaluationContext;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.AbstractFunction;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.FunctionArgs;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.FunctionDescriptor;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor;\nimport org.graylog.plugins.pipelineprocessor.rulebuilder.RuleBuilderFunctionGroup;\nimport org.graylog2.plugin.IOState;\nimport org.graylog2.plugin.inputs.MessageInput;\nimport org.graylog2.shared.inputs.InputRegistry;\n\nimport static com.google.common.collect.ImmutableList.of;\nimport static org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor.string;\n\npublic class FromInput extends AbstractFunction {\n\n public static final String NAME = \"from_input\";\n public static final String ID_ARG = \"id\";\n public static final String NAME_ARG = \"name\";\n\n private final InputRegistry inputRegistry;\n private final ParameterDescriptor idParam;\n private final ParameterDescriptor nameParam;\n\n @Inject\n public FromInput(InputRegistry inputRegistry) {\n this.inputRegistry = inputRegistry;\n idParam = string(ID_ARG).optional().description(\"The input's ID, this is much faster than 'name'\").build();\n nameParam = string(NAME_ARG).optional().description(\"The input's name\").build();\n }\n\n @Override\n public Boolean evaluate(FunctionArgs args, EvaluationContext context) {\n String id = idParam.optional(args, context).orElse(\"\");\n\n MessageInput input = null;\n if (\"\".equals(id)) {\n final String name = nameParam.optional(args, context).orElse(\"\");\n for (IOState messageInputIOState : inputRegistry.getInputStates()) {\n final MessageInput messageInput = messageInputIOState.getStoppable();\n if (messageInput.getTitle().equalsIgnoreCase(name)) {\n input = messageInput;\n break;\n }\n }\n if (\"\".equals(name)) {\n return null;\n }\n } else {\n final IOState inputState = inputRegistry.getInputState(id);\n if (inputState != null) {\n input = inputState.getStoppable();\n }\n\n }\n return input != null\n && input.getId().equals(context.currentMessage().getSourceInputId());\n }\n\n @Override\n public FunctionDescriptor descriptor() {\n return FunctionDescriptor.builder()\n .name(NAME)\n .returnType(Boolean.class)\n .params(of(\n idParam,\n nameParam))\n .description(\"Checks if a message arrived on a given input\")\n .ruleBuilderEnabled()\n .ruleBuilderName(\"Check source input\")\n .ruleBuilderTitle(\"Check if message arrived on input<#if name??> '${name}'<#if id??> '${id}'\")\n .ruleBuilderFunctionGroup(RuleBuilderFunctionGroup.BOOLEAN)\n .build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/e68a2f11bc51d7d5c50a7eca9f0019fa7bfc6f4c.json b/web/public/bundles/graylog/code/e68a2f11bc51d7d5c50a7eca9f0019fa7bfc6f4c.json new file mode 100644 index 00000000..5ddd2441 --- /dev/null +++ b/web/public/bundles/graylog/code/e68a2f11bc51d7d5c50a7eca9f0019fa7bfc6f4c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e68a2f11bc51d7d5c50a7eca9f0019fa7bfc6f4c", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/certificates/NodeCertificate.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.cluster.certificates;\n\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport org.graylog2.security.encryption.EncryptedValue;\nimport org.mongojack.Id;\n\npublic record NodeCertificate(@Id @JsonProperty(FIELD_ID) String id,\n @JsonProperty(FIELD_NODEID) String nodeId,\n @JsonProperty(FIELD_ENCR_CERTIFICATE) EncryptedValue encryptedCertificate) {\n\n public static final String FIELD_ID = \"id\";\n public static final String FIELD_NODEID = \"node_id\";\n public static final String FIELD_ENCR_CERTIFICATE = \"encrypted_certificate_keystore\";\n\n public NodeCertificate(String nodeId, EncryptedValue encryptedCertificate) {\n this(null, nodeId, encryptedCertificate);\n }\n\n}\n" +} diff --git a/web/public/bundles/graylog/code/e69ce9172463f6914845ad4d45a4dfccae61977e.json b/web/public/bundles/graylog/code/e69ce9172463f6914845ad4d45a4dfccae61977e.json new file mode 100644 index 00000000..a2715be7 --- /dev/null +++ b/web/public/bundles/graylog/code/e69ce9172463f6914845ad4d45a4dfccae61977e.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e69ce9172463f6914845ad4d45a4dfccae61977e", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/security/HasUser.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.security;\n\nimport org.graylog2.plugin.database.users.User;\n\npublic interface HasUser {\n\n User getUser();\n}\n" +} diff --git a/web/public/bundles/graylog/code/e74656b822f8d23eaf9b5cb28e4dc649b044a04a.json b/web/public/bundles/graylog/code/e74656b822f8d23eaf9b5cb28e4dc649b044a04a.json new file mode 100644 index 00000000..3f052ae2 --- /dev/null +++ b/web/public/bundles/graylog/code/e74656b822f8d23eaf9b5cb28e4dc649b044a04a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e74656b822f8d23eaf9b5cb28e4dc649b044a04a", + "language": "typescript", + "path": "graylog2-web-interface/src/views/components/dashboard/DashboardsOverview/DashboardActions.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React, { useState, useCallback, useRef } from 'react';\nimport { PluginStore } from 'graylog-web-plugin/plugin';\n\nimport UserNotification from 'util/UserNotification';\nimport { ShareButton } from 'components/common';\nimport { MenuItem, DeleteMenuItem } from 'components/bootstrap';\nimport type View from 'views/logic/views/View';\nimport EntityShareModal from 'components/permissions/EntityShareModal';\nimport ViewTypeLabel from 'views/components/ViewTypeLabel';\nimport iterateConfirmationHooks from 'views/hooks/IterateConfirmationHooks';\nimport usePaginationQueryParameter from 'hooks/usePaginationQueryParameter';\nimport usePluginEntities from 'hooks/usePluginEntities';\nimport useSelectedEntities from 'components/common/EntityDataTable/hooks/useSelectedEntities';\nimport type FetchError from 'logic/errors/FetchError';\nimport usePermissions from 'hooks/usePermissions';\nimport useGetPermissionsByScope from 'hooks/useScopePermissions';\nimport { MoreActions } from 'components/common/EntityDataTable';\nimport { useTableFetchContext } from 'components/common/PaginatedEntityTable';\nimport { deleteView } from 'views/api/views';\n\nconst defaultDashboardDeletionHook = async (view: View) =>\n // eslint-disable-next-line no-alert\n window.confirm(`Are you sure you want to delete \"${view.title}\"?`);\n\nconst _extractErrorMessage = (error: FetchError) =>\n error && error.additional && error.additional.body && error.additional.body.message\n ? error.additional.body.message\n : error;\n\ntype Props = {\n dashboard: View;\n hideDelete?: boolean;\n hideShare?: boolean;\n};\n\nconst usePluggableDashboardActions = (dashboard: View) => {\n const modalRefs = useRef({});\n const pluggableActions = usePluginEntities('views.components.dashboardActions');\n\n const availableActions = pluggableActions.filter((action) => (action.useCondition ? !!action.useCondition() : true));\n const actions = availableActions.map(({ component: PluggableDashboardAction, key }) => (\n modalRefs.current[key]}\n />\n ));\n\n const actionModals = availableActions\n .filter(({ modal }) => !!modal)\n .map(({ modal: ActionModal, key }) => (\n {\n modalRefs.current[key] = r;\n }}\n />\n ));\n\n return { actions, actionModals };\n};\n\nconst DashboardDeleteAction = ({\n dashboard,\n refetchDashboards,\n hideDelete = false,\n}: {\n dashboard: View;\n refetchDashboards: () => void;\n hideDelete?: boolean;\n}) => {\n const { deselectEntity } = useSelectedEntities();\n const paginationQueryParameter = usePaginationQueryParameter();\n\n const onDashboardDelete = useCallback(async () => {\n const pluginDashboardDeletionHooks = PluginStore.exports('views.hooks.confirmDeletingDashboard');\n\n const result = await iterateConfirmationHooks(\n [...pluginDashboardDeletionHooks, defaultDashboardDeletionHook],\n dashboard,\n );\n\n if (result) {\n deleteView(dashboard)\n .then(() => {\n UserNotification.success(`Deleting dashboard \"${dashboard.title}\" was successful!`, 'Success!');\n deselectEntity(dashboard.id);\n refetchDashboards();\n paginationQueryParameter.resetPage();\n })\n .catch((error) => {\n UserNotification.error(`Deleting dashboard failed: ${_extractErrorMessage(error)}`, 'Error!');\n });\n }\n }, [dashboard, deselectEntity, refetchDashboards, paginationQueryParameter]);\n\n return hideDelete ? null : ;\n};\n\nconst DashboardActions = ({ dashboard, hideDelete = false, hideShare = false }: Props) => {\n const [showShareModal, setShowShareModal] = useState(false);\n const { actions: pluggableActions, actionModals: pluggableActionModals } = usePluggableDashboardActions(dashboard);\n const { isAnyPermitted } = usePermissions();\n const { refetch } = useTableFetchContext();\n const { scopePermissions } = useGetPermissionsByScope({ _scope: dashboard.scope });\n const hideDeleteAction = hideDelete || !scopePermissions?.is_mutable;\n\n const moreActions = [\n pluggableActions.length ? pluggableActions : null,\n pluggableActions.length && !hideDeleteAction ? : null,\n scopePermissions?.is_mutable && isAnyPermitted([`view:edit:${dashboard.id}`, 'view:edit']) ? (\n \n ) : null,\n ].filter(Boolean);\n\n return (\n <>\n {hideShare || (\n setShowShareModal(true)}\n />\n )}\n {moreActions}\n\n {showShareModal && (\n setShowShareModal(false)}\n />\n )}\n {pluggableActionModals}\n \n );\n};\n\nexport default DashboardActions;\n" +} diff --git a/web/public/bundles/graylog/code/e80e6f24a5b081d76b615c95e61de8b1fd2840b8.json b/web/public/bundles/graylog/code/e80e6f24a5b081d76b615c95e61de8b1fd2840b8.json new file mode 100644 index 00000000..763d6b22 --- /dev/null +++ b/web/public/bundles/graylog/code/e80e6f24a5b081d76b615c95e61de8b1fd2840b8.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e80e6f24a5b081d76b615c95e61de8b1fd2840b8", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/security/sessions/SessionAuthContext.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.security.sessions;\n\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.jackson.annotation.JsonTypeInfo;\nimport org.graylog2.rest.models.system.sessions.responses.SessionResponse;\n\nimport static org.graylog2.security.sessions.SessionAuthContext.FIELD_TYPE;\n\n/**\n * A session auth context represents any additional information that is supposed to be persisted to a user's session\n * after successful authentication. E.g. an OIDC authentication backend might need to store the ID token in the session\n * to access it later for populating the id_token_hint parameter during logout. Or a SAML authentication backend might\n * have to store the IdPs session index to establish the relationship between Graylog and IdP sessions.\n */\n@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.EXISTING_PROPERTY, property = FIELD_TYPE)\npublic interface SessionAuthContext {\n String FIELD_TYPE = \"type\";\n\n @JsonProperty(FIELD_TYPE)\n String type();\n\n /**\n * Enriches the given session response with additional context-specific information.\n *

\n * This method allows different authentication contexts to customize the session response\n * by adding relevant data that should be exposed to clients. For example, an OIDC context\n * might add token information.\n *

\n *\n * @param response the original session response to enrich\n * @return the enriched session response, or the original response if no enrichment is needed\n */\n default SessionResponse enrichSessionResponse(SessionResponse response) {\n return response;\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/e83dfce7b387e269faf834771124b9a3f2c08fbf.json b/web/public/bundles/graylog/code/e83dfce7b387e269faf834771124b9a3f2c08fbf.json new file mode 100644 index 00000000..77e3e5c3 --- /dev/null +++ b/web/public/bundles/graylog/code/e83dfce7b387e269faf834771124b9a3f2c08fbf.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e83dfce7b387e269faf834771124b9a3f2c08fbf", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/TLSProtocolsConfiguration.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.configuration;\n\nimport com.github.joschi.jadconfig.Parameter;\nimport com.github.joschi.jadconfig.converters.StringSetConverter;\nimport com.github.joschi.jadconfig.documentation.Documentation;\nimport org.graylog2.shared.security.tls.DefaultTLSProtocolProvider;\n\nimport javax.annotation.Nullable;\nimport java.util.Set;\n\n/**\n * Configuration bean for enabled TLS protocols.\n *\n * This was extracted to a separate configuration bean\n * so that it can be parsed in the early server startup phase individually.\n * Parsing the entire server configuration might trigger the initialization of the default SSLContext,\n * which needs to happen after a `jdk.tls.disabledAlgorithms` setting is applied.\n */\npublic class TLSProtocolsConfiguration {\n\n @Documentation(\"\"\"\n allowed TLS protocols for system wide TLS enabled servers. (e.g. message inputs, http interface)\n Setting this to an empty value, leaves it up to system libraries and the used JDK to chose a default.\n \"\"\")\n @Parameter(value = \"enabled_tls_protocols\", converter = StringSetConverter.class)\n private Set enabledTlsProtocols = null;\n\n public TLSProtocolsConfiguration() {\n }\n\n /**\n * Used to transfer this setting from {@link org.graylog2.Configuration}\n */\n public TLSProtocolsConfiguration(Set enabledTlsProtocols) {\n this.enabledTlsProtocols = enabledTlsProtocols;\n }\n\n /**\n * Used to access the plain configuration value.\n * In most cases you'd want to use {@link TLSProtocolsConfiguration#getEnabledTlsProtocols()}\n */\n @Nullable\n public Set getConfiguredTlsProtocols() {\n return enabledTlsProtocols;\n }\n\n /**\n * Retrieve the enabled TLS protocols setting.\n * @return\n * If the setting is explicitly configured (not null) return that.\n * If it's configured to an empty set, return all supported protocols by the JVM.\n * If it's not configured (null and the default) return a secure set of supported TLS protocols.\n */\n public Set getEnabledTlsProtocols() {\n if (enabledTlsProtocols != null) {\n if (enabledTlsProtocols.isEmpty()) {\n return DefaultTLSProtocolProvider.getAllSupportedTlsProtocols();\n }\n return enabledTlsProtocols;\n }\n return DefaultTLSProtocolProvider.getSecureTLSProtocols();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/e8c65600ca96f97a83aeb39483683a21f15b56d9.json b/web/public/bundles/graylog/code/e8c65600ca96f97a83aeb39483683a21f15b56d9.json new file mode 100644 index 00000000..168ce8b5 --- /dev/null +++ b/web/public/bundles/graylog/code/e8c65600ca96f97a83aeb39483683a21f15b56d9.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e8c65600ca96f97a83aeb39483683a21f15b56d9", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/security/TrustManagerAggregator.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.security;\n\nimport com.google.common.collect.Iterables;\nimport org.graylog2.shared.utilities.StringUtils;\n\nimport javax.net.ssl.TrustManagerFactory;\nimport javax.net.ssl.X509TrustManager;\nimport java.security.KeyStore;\nimport java.security.KeyStoreException;\nimport java.security.NoSuchAlgorithmException;\nimport java.security.cert.CertificateException;\nimport java.security.cert.X509Certificate;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.List;\n\npublic class TrustManagerAggregator implements X509TrustManager {\n\n private final List trustManagers;\n\n public TrustManagerAggregator(List trustManagers) {\n this.trustManagers = trustManagers;\n }\n\n @Override\n public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException {\n List failures = new ArrayList<>();\n\n for (X509TrustManager trustManager : trustManagers) {\n try {\n trustManager.checkClientTrusted(chain, authType);\n return;\n } catch (CertificateException e) {\n failures.add(e);\n }\n }\n\n throw createDetailedException(\"client\", chain, authType, failures);\n }\n\n @Override\n public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException {\n List failures = new ArrayList<>();\n\n for (X509TrustManager trustManager : trustManagers) {\n try {\n trustManager.checkServerTrusted(chain, authType);\n return;\n } catch (CertificateException e) {\n failures.add(e);\n }\n }\n\n throw createDetailedException(\"server\", chain, authType, failures);\n }\n\n private CertificateException createDetailedException(\n String trustType,\n X509Certificate[] chain,\n String authType,\n List failures) {\n\n StringBuilder message = new StringBuilder();\n message.append(StringUtils.f(\"Certificate chain validation failed for %s trust. \", trustType));\n message.append(StringUtils.f(\"Tried %d trust manager(s), all rejected the certificate. \", failures.size()));\n\n if (chain != null && chain.length > 0) {\n X509Certificate cert = chain[0];\n message.append(StringUtils.f(\n \"Certificate details - Subject: '%s', Issuer: '%s', Valid: %s to %s. \",\n cert.getSubjectX500Principal().getName(),\n cert.getIssuerX500Principal().getName(),\n cert.getNotBefore(),\n cert.getNotAfter()\n ));\n }\n\n message.append(StringUtils.f(\"Auth type: %s. \", authType));\n message.append(StringUtils.f(\"Chain length: %d. \", chain != null ? chain.length : 0));\n\n CertificateException exception = new CertificateException(message.toString());\n\n // Add all individual failures as suppressed exceptions for detailed debugging\n for (int i = 0; i < failures.size(); i++) {\n CertificateException failure = failures.get(i);\n CertificateException wrappedException = new CertificateException(\n \"Trust manager #\" + (i + 1) + \" rejection: \" + failure.getMessage(),\n failure\n );\n exception.addSuppressed(wrappedException);\n }\n\n return exception;\n }\n\n @Override\n public X509Certificate[] getAcceptedIssuers() {\n final var certificates = new ArrayList();\n trustManagers.forEach(tm -> certificates.addAll(Arrays.asList(tm.getAcceptedIssuers())));\n return certificates.toArray(new X509Certificate[0]);\n }\n\n public static X509TrustManager trustManagerFromKeystore(KeyStore keystore) {\n try {\n TrustManagerFactory factory = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm());\n factory.init(keystore);\n return Iterables.getFirst(Iterables.filter(Arrays.asList(factory.getTrustManagers()), X509TrustManager.class), null);\n } catch (NoSuchAlgorithmException | KeyStoreException e) {\n throw new RuntimeException(e);\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/e9e3578ddb3c5b1e2d283743d05581bfbf8c21b4.json b/web/public/bundles/graylog/code/e9e3578ddb3c5b1e2d283743d05581bfbf8c21b4.json new file mode 100644 index 00000000..31895f87 --- /dev/null +++ b/web/public/bundles/graylog/code/e9e3578ddb3c5b1e2d283743d05581bfbf8c21b4.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e9e3578ddb3c5b1e2d283743d05581bfbf8c21b4", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/buffers/DirectMessageHandler.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.shared.buffers;\n\nimport org.graylog2.plugin.journal.RawMessage;\nimport org.graylog2.system.processing.ProcessingStatusRecorder;\n\nimport jakarta.inject.Inject;\n\nclass DirectMessageHandler implements WorkHandler {\n\n private final ProcessBuffer processBuffer;\n private final ProcessingStatusRecorder processingStatusRecorder;\n\n @Inject\n public DirectMessageHandler(ProcessBuffer processBuffer,\n ProcessingStatusRecorder processingStatusRecorder) {\n this.processBuffer = processBuffer;\n this.processingStatusRecorder = processingStatusRecorder;\n }\n\n @Override\n public void onEvent(RawMessageEvent event) throws Exception {\n final RawMessage rawMessage = event.getRawMessage();\n processBuffer.insertBlocking(rawMessage);\n if (rawMessage != null) {\n processingStatusRecorder.updateIngestReceiveTime(rawMessage.getTimestamp());\n }\n // clear out for gc and to avoid promoting the raw message event to a tenured gen\n event.clear();\n }\n\n\n}\n" +} diff --git a/web/public/bundles/graylog/code/e9ee5307954b58fcbdb48cb3b9361ae1e3993279.json b/web/public/bundles/graylog/code/e9ee5307954b58fcbdb48cb3b9361ae1e3993279.json new file mode 100644 index 00000000..38320e58 --- /dev/null +++ b/web/public/bundles/graylog/code/e9ee5307954b58fcbdb48cb3b9361ae1e3993279.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e9ee5307954b58fcbdb48cb3b9361ae1e3993279", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/AuthServiceBackendUsageCheck.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.security.authservice;\n\nimport org.graylog2.shared.users.UserService;\n\nimport jakarta.inject.Inject;\n\nimport java.util.Optional;\n\npublic class AuthServiceBackendUsageCheck {\n private final GlobalAuthServiceConfig globalAuthServiceConfig;\n private final UserService userService;\n\n @Inject\n public AuthServiceBackendUsageCheck(GlobalAuthServiceConfig globalAuthServiceConfig, UserService userService) {\n this.globalAuthServiceConfig = globalAuthServiceConfig;\n this.userService = userService;\n }\n\n public boolean isAuthServiceInUse(String authServiceBackendId) {\n // Check if the service is actively used\n final Optional activeBackend = globalAuthServiceConfig.getActiveBackend();\n if (activeBackend.isPresent() && activeBackend.get().backendId().equals(authServiceBackendId)) {\n return true;\n }\n\n // Check if any users reference the service\n return userService.loadAllForAuthServiceBackend(authServiceBackendId).size() > 0;\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/e9f9393073864a31764c613d162b23b5e782bcb9.json b/web/public/bundles/graylog/code/e9f9393073864a31764c613d162b23b5e782bcb9.json new file mode 100644 index 00000000..c736d252 --- /dev/null +++ b/web/public/bundles/graylog/code/e9f9393073864a31764c613d162b23b5e782bcb9.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e9f9393073864a31764c613d162b23b5e782bcb9", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/functions/lookup/LookupSetValue.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.pipelineprocessor.functions.lookup;\n\nimport org.graylog.plugins.pipelineprocessor.EvaluationContext;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.AbstractFunction;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.FunctionArgs;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.FunctionDescriptor;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor;\nimport org.graylog.plugins.pipelineprocessor.rulebuilder.RuleBuilderFunctionGroup;\nimport org.graylog2.lookup.LookupTableService;\n\nimport jakarta.inject.Inject;\n\nimport java.util.Optional;\n\nimport static org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor.object;\nimport static org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor.string;\n\npublic class LookupSetValue extends AbstractFunction {\n\n public static final String NAME = \"lookup_set_value\";\n\n private final ParameterDescriptor lookupTableParam;\n private final ParameterDescriptor keyParam;\n private final ParameterDescriptor valueParam;\n private final ParameterDescriptor ttlSecondsParam;\n\n @Inject\n public LookupSetValue(LookupTableService lookupTableService) {\n lookupTableParam = string(\"lookup_table\", LookupTableService.Function.class)\n .description(\"The existing lookup table to use to set the given value\")\n .transform(tableName -> lookupTableService.newBuilder().lookupTable(tableName).build())\n .build();\n keyParam = object(\"key\")\n .description(\"The key to set in the lookup table\")\n .build();\n valueParam = object(\"value\").ruleBuilderVariable()\n .description(\"The single value that should be set into the lookup table\")\n .build();\n ttlSecondsParam = ParameterDescriptor.integer(\"ttl\")\n .optional()\n .description(\"The time to live in seconds to assign to this entry\")\n .build();\n }\n\n @Override\n public Object evaluate(FunctionArgs args, EvaluationContext context) {\n Object key = keyParam.required(args, context);\n if (key == null) {\n return null;\n }\n LookupTableService.Function table = lookupTableParam.required(args, context);\n if (table == null) {\n return null;\n }\n Object value = valueParam.required(args, context);\n if (value == null) {\n return null;\n }\n final Optional ttlSec = ttlSecondsParam.optional(args, context);\n if (ttlSec.isPresent()) {\n return table.setValueWithTtl(key, value, ttlSec.get()).singleValue();\n } else {\n return table.setValue(key, value).singleValue();\n }\n }\n\n @Override\n public FunctionDescriptor descriptor() {\n return FunctionDescriptor.builder()\n .name(NAME)\n .description(\"Set a single value in the named lookup table. Returns the new value on success, null on failure.\")\n .params(lookupTableParam, keyParam, valueParam, ttlSecondsParam)\n .returnType(Object.class)\n .ruleBuilderEnabled()\n .ruleBuilderName(\"Set value in lookup table\")\n .ruleBuilderTitle(\"Set value in '${lookup_table}' using key '${key}'\")\n .ruleBuilderFunctionGroup(RuleBuilderFunctionGroup.LOOKUP)\n .build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/eae82420f5ebe0e2fe2e001b668fe9df18f58a1d.json b/web/public/bundles/graylog/code/eae82420f5ebe0e2fe2e001b668fe9df18f58a1d.json new file mode 100644 index 00000000..139494e6 --- /dev/null +++ b/web/public/bundles/graylog/code/eae82420f5ebe0e2fe2e001b668fe9df18f58a1d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "eae82420f5ebe0e2fe2e001b668fe9df18f58a1d", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/rest/exceptionmappers/ResultWindowLimitExceededExceptionMapper.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.shared.rest.exceptionmappers;\n\nimport jakarta.ws.rs.core.MediaType;\nimport jakarta.ws.rs.core.Response;\nimport jakarta.ws.rs.ext.ExceptionMapper;\nimport org.graylog2.indexer.exceptions.ResultWindowLimitExceededException;\nimport org.graylog2.rest.resources.search.responses.SearchError;\n\npublic class ResultWindowLimitExceededExceptionMapper implements ExceptionMapper {\n\n @Override\n public Response toResponse(final ResultWindowLimitExceededException exception) {\n final SearchError searchError = SearchError.create(exception.getMessage(), exception.getErrorDetails());\n\n return Response.status(Response.Status.BAD_REQUEST)\n .type(MediaType.APPLICATION_JSON_TYPE)\n .entity(searchError)\n .build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/eaf76e3bac9f50810c838cf6992ce8679e1b4034.json b/web/public/bundles/graylog/code/eaf76e3bac9f50810c838cf6992ce8679e1b4034.json new file mode 100644 index 00000000..06ecfa80 --- /dev/null +++ b/web/public/bundles/graylog/code/eaf76e3bac9f50810c838cf6992ce8679e1b4034.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "eaf76e3bac9f50810c838cf6992ce8679e1b4034", + "language": "typescript", + "path": "graylog2-web-interface/src/views/components/contexts/DashboardPageContextProvider.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport { useState, useEffect, useMemo } from 'react';\nimport URI from 'urijs';\n\nimport useHistory from 'routing/useHistory';\nimport useLocation from 'routing/useLocation';\nimport useQuery from 'routing/useQuery';\nimport DashboardPageContext from 'views/components/contexts/DashboardPageContext';\nimport useViewsSelector from 'views/stores/useViewsSelector';\nimport { selectViewStates } from 'views/logic/slices/viewSelectors';\nimport useViewsDispatch from 'views/stores/useViewsDispatch';\nimport { selectQuery } from 'views/logic/slices/viewSlice';\n\nconst _clearURI = (query: string) => new URI(query).removeSearch('page');\n\nconst _updateQueryParams = (newPage: string | undefined, query: string) => {\n const baseUri = _clearURI(query);\n\n if (newPage) {\n return baseUri.setSearch('page', newPage).toString();\n }\n\n return baseUri.toString();\n};\n\nconst useSyncStateWithQueryParams = ({ dashboardPage, uriParams, setDashboardPage }) => {\n const states = useViewsSelector(selectViewStates);\n const dispatch = useViewsDispatch();\n\n useEffect(() => {\n const nextPage = uriParams.page;\n\n if (!states?.has(nextPage)) {\n setDashboardPage(undefined);\n } else if (nextPage !== dashboardPage) {\n setDashboardPage(nextPage);\n dispatch(selectQuery(nextPage));\n }\n }, [uriParams.page, dashboardPage, setDashboardPage, states, dispatch]);\n};\n\nconst useCleanupQueryParams = ({ uriParams, query, replace }) => {\n useEffect(() => {\n if (uriParams?.page === undefined) {\n const baseURI = _clearURI(query);\n const newQuery = baseURI.toString();\n\n if (query !== newQuery) {\n replace(newQuery);\n }\n }\n }, [query, replace, uriParams?.page]);\n};\n\nconst DashboardPageContextProvider = ({ children }: { children: React.ReactNode }): React.ReactElement => {\n const { search, pathname } = useLocation();\n const query = pathname + search;\n const { replace } = useHistory();\n const [dashboardPage, setDashboardPage] = useState();\n const params = useQuery();\n const uriParams = useMemo(\n () => ({\n page: params.page,\n }),\n // eslint-disable-next-line @tanstack/query/no-unstable-deps\n [params],\n );\n\n useSyncStateWithQueryParams({ dashboardPage, uriParams, setDashboardPage });\n useCleanupQueryParams({ uriParams, query, replace });\n\n const dashboardPageContextValue = useMemo(() => {\n const updatePageParams = (newPage: string | undefined) => {\n const newUri = _updateQueryParams(newPage, query);\n\n replace(newUri);\n };\n\n const setDashboardPageParam = (nextPage: string) => updatePageParams(nextPage);\n const unSetDashboardPageParam = () => updatePageParams(undefined);\n\n return {\n setDashboardPage: setDashboardPageParam,\n unsetDashboardPage: unSetDashboardPageParam,\n dashboardPage: dashboardPage,\n };\n }, [dashboardPage, replace, query]);\n\n return {children};\n};\n\nexport default DashboardPageContextProvider;\n" +} diff --git a/web/public/bundles/graylog/code/ecb31a26ac41e0a45daaefe7ac9e789beb769bb4.json b/web/public/bundles/graylog/code/ecb31a26ac41e0a45daaefe7ac9e789beb769bb4.json new file mode 100644 index 00000000..4d20dbbd --- /dev/null +++ b/web/public/bundles/graylog/code/ecb31a26ac41e0a45daaefe7ac9e789beb769bb4.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "ecb31a26ac41e0a45daaefe7ac9e789beb769bb4", + "language": "java", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/client/OpensearchCredentialsProvider.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.storage.opensearch3.client;\n\nimport com.google.common.base.Splitter;\nimport com.google.common.base.Strings;\nimport jakarta.inject.Inject;\nimport jakarta.inject.Named;\nimport jakarta.inject.Provider;\nimport org.apache.hc.client5.http.auth.AuthScope;\nimport org.apache.hc.client5.http.auth.CredentialsProvider;\nimport org.apache.hc.client5.http.auth.UsernamePasswordCredentials;\nimport org.apache.hc.client5.http.impl.auth.BasicCredentialsProvider;\nimport org.graylog2.configuration.IndexerHosts;\n\nimport javax.annotation.Nullable;\nimport java.net.URI;\nimport java.util.Iterator;\nimport java.util.List;\n\npublic class OpensearchCredentialsProvider implements Provider {\n private final List openSearchHosts;\n private final String defaultUserForDiscoveredNodes;\n private final String defaultPasswordForDiscoveredNodes;\n private final boolean discoveryEnabled;\n\n @Inject\n public OpensearchCredentialsProvider(@IndexerHosts List openSearchHosts,\n @Named(\"elasticsearch_discovery_default_user\") @Nullable String defaultUserForDiscoveredNodes,\n @Named(\"elasticsearch_discovery_default_password\") @Nullable String defaultPasswordForDiscoveredNodes,\n @Named(\"elasticsearch_discovery_enabled\") boolean discoveryEnabled) {\n this.openSearchHosts = openSearchHosts;\n this.defaultUserForDiscoveredNodes = defaultUserForDiscoveredNodes;\n this.defaultPasswordForDiscoveredNodes = defaultPasswordForDiscoveredNodes;\n this.discoveryEnabled = discoveryEnabled;\n }\n\n @Override\n public CredentialsProvider get() {\n final BasicCredentialsProvider credentialsProvider = new BasicCredentialsProvider();\n openSearchHosts\n .forEach(hostUri -> {\n if (!Strings.isNullOrEmpty(hostUri.getUserInfo())) {\n final Iterator splittedUserInfo = Splitter.on(\":\")\n .split(hostUri.getUserInfo())\n .iterator();\n if (splittedUserInfo.hasNext()) {\n final String username = splittedUserInfo.next();\n final String password = splittedUserInfo.hasNext() ? splittedUserInfo.next() : null;\n credentialsProvider.setCredentials(\n new AuthScope(hostUri.getHost(), hostUri.getPort()),\n new UsernamePasswordCredentials(username, password.toCharArray())\n );\n }\n }\n });\n\n if (discoveryEnabled && !Strings.isNullOrEmpty(defaultUserForDiscoveredNodes) && !Strings.isNullOrEmpty(defaultPasswordForDiscoveredNodes)) {\n credentialsProvider.setCredentials(\n new AuthScope(null, -1), // any host, any port\n new UsernamePasswordCredentials(defaultUserForDiscoveredNodes, defaultPasswordForDiscoveredNodes.toCharArray())\n );\n }\n return credentialsProvider;\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/edb1f1ac70b08bd9dee6ff444e74d7f98e7dea1c.json b/web/public/bundles/graylog/code/edb1f1ac70b08bd9dee6ff444e74d7f98e7dea1c.json new file mode 100644 index 00000000..c0add272 --- /dev/null +++ b/web/public/bundles/graylog/code/edb1f1ac70b08bd9dee6ff444e74d7f98e7dea1c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "edb1f1ac70b08bd9dee6ff444e74d7f98e7dea1c", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/datatiering/fallback/FallbackDataTieringConfig.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.datatiering.fallback;\n\nimport com.fasterxml.jackson.annotation.JsonAutoDetect;\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.google.auto.value.AutoValue;\nimport jakarta.validation.constraints.NotNull;\nimport org.graylog2.datatiering.DataTieringConfig;\nimport org.joda.time.Period;\n\nimport javax.annotation.Nullable;\n\nimport static org.graylog2.indexer.rotation.tso.IndexLifetimeConfig.FIELD_INDEX_LIFETIME_MAX;\nimport static org.graylog2.indexer.rotation.tso.IndexLifetimeConfig.FIELD_INDEX_LIFETIME_MIN;\n\n@AutoValue\n@JsonIgnoreProperties(ignoreUnknown = true)\n@JsonAutoDetect\npublic abstract class FallbackDataTieringConfig implements DataTieringConfig {\n\n public static final String TYPE = \"fallback\";\n public static final String FIELD_WARM_TIER_ENABLED = \"warm_tier_enabled\";\n public static final String FIELD_INDEX_HOT_LIFETIME_MIN = \"index_hot_lifetime_min\";\n\n @JsonCreator\n public static FallbackDataTieringConfig create(@JsonProperty(FIELD_INDEX_LIFETIME_MIN) @NotNull Period indexLifetimeMin,\n @JsonProperty(FIELD_INDEX_LIFETIME_MAX) @NotNull Period indexLifetimeMax,\n @JsonProperty(FIELD_WARM_TIER_ENABLED) @Nullable Boolean warmTierEnabled,\n @JsonProperty(FIELD_INDEX_HOT_LIFETIME_MIN) @Nullable Period indexHotLifetimeMin\n ) {\n return new AutoValue_FallbackDataTieringConfig(TYPE, indexLifetimeMin, indexLifetimeMax, warmTierEnabled, indexHotLifetimeMin);\n }\n\n @Nullable\n @JsonProperty(FIELD_WARM_TIER_ENABLED)\n public abstract Boolean warmTierEnabled();\n\n @Nullable\n @JsonProperty(FIELD_INDEX_HOT_LIFETIME_MIN)\n public abstract Period indexHotLifetimeMin();\n}\n" +} diff --git a/web/public/bundles/graylog/code/ee579e5f166a05459d05223226035640b5c5e4ed.json b/web/public/bundles/graylog/code/ee579e5f166a05459d05223226035640b5c5e4ed.json new file mode 100644 index 00000000..32d538d2 --- /dev/null +++ b/web/public/bundles/graylog/code/ee579e5f166a05459d05223226035640b5c5e4ed.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "ee579e5f166a05459d05223226035640b5c5e4ed", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/providers/DefaultStreamProvider.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.bindings.providers;\n\nimport org.graylog2.database.NotFoundException;\nimport org.graylog2.gelfclient.util.Uninterruptibles;\nimport org.graylog2.plugin.streams.Stream;\nimport org.graylog2.streams.StreamService;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport jakarta.inject.Inject;\nimport jakarta.inject.Provider;\nimport jakarta.inject.Singleton;\n\nimport java.util.concurrent.TimeUnit;\nimport java.util.concurrent.atomic.AtomicReference;\n\n@Singleton\npublic class DefaultStreamProvider implements Provider {\n private static final Logger LOG = LoggerFactory.getLogger(DefaultStreamProvider.class);\n\n private final StreamService service;\n\n private AtomicReference sharedInstance = new AtomicReference<>();\n\n @Inject\n private DefaultStreamProvider(StreamService service) {\n this.service = service;\n }\n\n public void setDefaultStream(Stream defaultStream) {\n LOG.debug(\"Setting new default stream: {}\", defaultStream);\n this.sharedInstance.set(defaultStream);\n }\n\n @Override\n public Stream get() {\n Stream defaultStream = sharedInstance.get();\n if (defaultStream != null) {\n return defaultStream;\n }\n\n synchronized (this) {\n defaultStream = sharedInstance.get();\n if (defaultStream != null) {\n return defaultStream;\n }\n int i = 0;\n do {\n try {\n LOG.debug(\"Loading shared default stream instance\");\n defaultStream = service.load(Stream.DEFAULT_STREAM_ID);\n } catch (NotFoundException ignored) {\n if (i % 10 == 0) {\n LOG.warn(\"Unable to load default stream, tried {} times, retrying every 500ms. Processing is blocked until this succeeds.\", i + 1);\n }\n i++;\n Uninterruptibles.sleepUninterruptibly(500, TimeUnit.MILLISECONDS);\n }\n } while (defaultStream == null);\n sharedInstance.set(defaultStream);\n }\n return defaultStream;\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/f018557705482720cf6914bd5a8733caa85a39ec.json b/web/public/bundles/graylog/code/f018557705482720cf6914bd5a8733caa85a39ec.json new file mode 100644 index 00000000..074e0f70 --- /dev/null +++ b/web/public/bundles/graylog/code/f018557705482720cf6914bd5a8733caa85a39ec.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f018557705482720cf6914bd5a8733caa85a39ec", + "language": "java", + "path": "data-node/src/main/java/org/graylog/datanode/bootstrap/commands/ShowVersion.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.datanode.bootstrap.commands;\n\nimport com.github.rvesse.airline.annotations.Command;\nimport org.graylog2.bootstrap.CliCommand;\nimport org.graylog2.plugin.Tools;\nimport org.graylog2.plugin.Version;\n\n@Command(name = \"version\", description = \"Show the Graylog and JVM versions\")\npublic class ShowVersion implements CliCommand {\n private final Version version = Version.CURRENT_CLASSPATH;\n\n @Override\n public void run() {\n System.out.println(\"Graylog \" + version);\n System.out.println(\"JRE: \" + Tools.getSystemInformation());\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/f01b670ec3f823ab151f0d9e8dfc8e7875dd62a7.json b/web/public/bundles/graylog/code/f01b670ec3f823ab151f0d9e8dfc8e7875dd62a7.json new file mode 100644 index 00000000..fd1ab0f0 --- /dev/null +++ b/web/public/bundles/graylog/code/f01b670ec3f823ab151f0d9e8dfc8e7875dd62a7.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f01b670ec3f823ab151f0d9e8dfc8e7875dd62a7", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/validators/SearchVersionRange.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.configuration.validators;\n\nimport com.google.auto.value.AutoValue;\nimport org.graylog2.storage.SearchVersion;\n\n@AutoValue\npublic abstract class SearchVersionRange {\n public abstract SearchVersion.Distribution distribution();\n\n /**\n * Semver expression\n */\n public abstract String expression();\n\n public static SearchVersionRange of(final SearchVersion.Distribution distribution, final String expression) {\n return new AutoValue_SearchVersionRange(distribution, expression);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/f0a4c11650fc566db8e81e7b3cdaadc7f7311b8b.json b/web/public/bundles/graylog/code/f0a4c11650fc566db8e81e7b3cdaadc7f7311b8b.json new file mode 100644 index 00000000..b8bb383c --- /dev/null +++ b/web/public/bundles/graylog/code/f0a4c11650fc566db8e81e7b3cdaadc7f7311b8b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f0a4c11650fc566db8e81e7b3cdaadc7f7311b8b", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/rulebuilder/db/migrations/V20230915095200_AddSimpleRegex.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.pipelineprocessor.rulebuilder.db.migrations;\n\nimport com.google.common.collect.ImmutableList;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.FunctionDescriptor;\nimport org.graylog.plugins.pipelineprocessor.rulebuilder.RuleBuilderFunctionGroup;\nimport org.graylog.plugins.pipelineprocessor.rulebuilder.db.RuleFragment;\nimport org.graylog.plugins.pipelineprocessor.rulebuilder.db.RuleFragmentService;\nimport org.graylog2.migrations.Migration;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport jakarta.inject.Inject;\n\nimport java.time.ZonedDateTime;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.regex.Pattern;\n\nimport static org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor.string;\nimport static org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor.type;\n\npublic class V20230915095200_AddSimpleRegex extends Migration {\n\n private static final Logger log = LoggerFactory.getLogger(V20230915095200_AddSimpleRegex.class);\n private final RuleFragmentService ruleFragmentService;\n\n @Inject\n public V20230915095200_AddSimpleRegex(RuleFragmentService ruleFragmentService) {\n this.ruleFragmentService = ruleFragmentService;\n }\n\n @Override\n public ZonedDateTime createdAt() {\n return ZonedDateTime.parse(\"2023-09-15T09:52:00Z\");\n }\n\n @Override\n public void upgrade() {\n log.debug(\"Adding simple regex fragments via migration\");\n\n ruleFragmentService.upsert(createSimpleRegex());\n\n log.debug(\"simple regex fragments were successfully added\");\n }\n\n static RuleFragment createSimpleRegex() {\n String resultvariable = \"gl2_fragment_regex_\" + System.currentTimeMillis();\n return RuleFragment.builder()\n .fragment(\"\"\"\n let %resultvar% = regex(\n pattern: ${pattern},\n value: ${value}<#if group_names??>,\n group_names: ${group_names}\n \n );\"\"\".replace(\"%resultvar%\", resultvariable))\n .descriptor(FunctionDescriptor.builder()\n .name(\"regex_groups\")\n .params(ImmutableList.of(\n string(\"pattern\", Pattern.class).transform(Pattern::compile).description(\"The regular expression to match against 'value', uses Java regex syntax\").build(),\n string(\"value\").ruleBuilderVariable().description(\"The string to match the pattern against\").build(),\n type(\"group_names\", List.class).optional().description(\"List of names to use for matcher groups\").build()\n ))\n .returnType(Map.class)\n .description(\"Match a string with a regular expression (Java syntax) and return matcher groups\")\n .ruleBuilderEnabled()\n .ruleBuilderName(\"Get regex groups\")\n .ruleBuilderTitle(\"Get regex matcher groups for '${pattern}' against '${value}'\")\n .ruleBuilderFunctionGroup(RuleBuilderFunctionGroup.OTHER)\n .build())\n .fragmentOutputVariable(resultvariable)\n .build();\n }\n\n}\n" +} diff --git a/web/public/bundles/graylog/code/f1194761ff73cc2d0415557dfa995123b77d1410.json b/web/public/bundles/graylog/code/f1194761ff73cc2d0415557dfa995123b77d1410.json new file mode 100644 index 00000000..7a770f63 --- /dev/null +++ b/web/public/bundles/graylog/code/f1194761ff73cc2d0415557dfa995123b77d1410.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f1194761ff73cc2d0415557dfa995123b77d1410", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/security/certutil/ClientCertSslContextFactoryImpl.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.security.certutil;\n\nimport jakarta.inject.Inject;\nimport jakarta.inject.Singleton;\nimport org.apache.commons.lang3.RandomStringUtils;\nimport org.bouncycastle.pkcs.PKCS10CertificationRequest;\nimport org.graylog.security.certutil.cert.CertificateChain;\nimport org.graylog.security.certutil.csr.CsrGenerator;\nimport org.graylog.security.certutil.csr.InMemoryKeystoreInformation;\nimport org.graylog2.cluster.certificates.CertificateSigningRequest;\nimport org.graylog2.security.TrustManagerAndSocketFactoryProvider;\n\nimport javax.net.ssl.KeyManagerFactory;\nimport javax.net.ssl.SSLContext;\nimport javax.net.ssl.TrustManager;\nimport javax.net.ssl.X509TrustManager;\nimport java.security.KeyStore;\nimport java.security.SecureRandom;\nimport java.time.Duration;\nimport java.util.List;\nimport java.util.Optional;\n\nimport static org.graylog2.shared.utilities.StringUtils.f;\n\n/**\n * Mints short-lived in-memory client certificates signed by Graylog's CA and wraps them in an\n * {@link SSLContext} ready for use with HTTPS clients that require certificate-based\n * authentication. The certificate, its private key, and all derived material live only in\n * memory for the duration of the returned context.\n *\n *

Requires a configured CA. Returns {@link Optional#empty()} if no CA is present.\n */\n@Singleton\npublic class ClientCertSslContextFactoryImpl implements ClientCertSslContextFactory {\n\n private static final String KEY_ALIAS = \"client\";\n\n private final CaKeystore caKeystore;\n private final TrustManagerAndSocketFactoryProvider trustManagerAndSocketFactoryProvider;\n\n @Inject\n public ClientCertSslContextFactoryImpl(CaKeystore caKeystore,\n TrustManagerAndSocketFactoryProvider trustManagerAndSocketFactoryProvider) {\n this.caKeystore = caKeystore;\n this.trustManagerAndSocketFactoryProvider = trustManagerAndSocketFactoryProvider;\n }\n\n /**\n * Generates a fresh key pair, has it signed by Graylog's CA with the given common name and\n * lifetime, and returns an {@link SSLContext} configured with that cert for client auth and\n * the platform's configured trust manager for server verification.\n */\n @Override\n public Optional buildClientCertSslContext(String commonName, Duration certificateLifetime) {\n if (!caKeystore.exists()) {\n return Optional.empty();\n }\n try {\n final CertRequest certRequest = CertRequest.selfSigned(commonName)\n .isCA(false)\n .validity(certificateLifetime);\n final KeyPair keyPair = CertificateGenerator.generate(certRequest);\n\n final char[] keystorePassword = RandomStringUtils.secure().nextAlphanumeric(96).toCharArray();\n final KeyStore csrKeystore = keyPair.toKeystore(KEY_ALIAS, keystorePassword);\n final InMemoryKeystoreInformation csrKeystoreInfo = new InMemoryKeystoreInformation(csrKeystore, keystorePassword);\n\n final PKCS10CertificationRequest csr = CsrGenerator.generateCSR(\n csrKeystoreInfo, KEY_ALIAS, commonName, List.of());\n final CertificateChain certChain = caKeystore.signCertificateRequest(\n new CertificateSigningRequest(commonName, csr), certificateLifetime);\n\n final KeyStore signedKeystore = KeyStore.getInstance(\"PKCS12\");\n signedKeystore.load(null, null);\n signedKeystore.setKeyEntry(KEY_ALIAS, keyPair.privateKey(), keystorePassword, certChain.toCertificateChainArray());\n\n final KeyManagerFactory kmf = KeyManagerFactory.getInstance(\"SunX509\");\n kmf.init(signedKeystore, keystorePassword);\n final X509TrustManager trustManager = trustManagerAndSocketFactoryProvider.getTrustManager();\n final SSLContext sslContext = SSLContext.getInstance(\"TLS\");\n sslContext.init(kmf.getKeyManagers(), new TrustManager[]{trustManager}, new SecureRandom());\n return Optional.of(sslContext);\n } catch (CaKeystoreException e) {\n throw e;\n } catch (Exception e) {\n throw new IllegalStateException(f(\"Failed to build client-cert SSL context for CN=%s\", commonName), e);\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/f11f0b6e3c60d7c26878d49e60d312b7971a22ca.json b/web/public/bundles/graylog/code/f11f0b6e3c60d7c26878d49e60d312b7971a22ca.json new file mode 100644 index 00000000..bc4a611d --- /dev/null +++ b/web/public/bundles/graylog/code/f11f0b6e3c60d7c26878d49e60d312b7971a22ca.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f11f0b6e3c60d7c26878d49e60d312b7971a22ca", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/ClusterConfigResource.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.resources.system;\n\nimport com.codahale.metrics.annotation.Timed;\nimport com.fasterxml.jackson.databind.JsonMappingException;\nimport com.fasterxml.jackson.databind.ObjectMapper;\nimport com.fasterxml.jackson.module.jsonSchema.jakarta.JsonSchema;\nimport com.fasterxml.jackson.module.jsonSchema.jakarta.factories.SchemaFactoryWrapper;\nimport io.swagger.v3.oas.annotations.Operation;\nimport io.swagger.v3.oas.annotations.Parameter;\nimport io.swagger.v3.oas.annotations.tags.Tag;\nimport jakarta.inject.Inject;\nimport jakarta.validation.constraints.NotBlank;\nimport jakarta.validation.constraints.NotNull;\nimport jakarta.ws.rs.BadRequestException;\nimport jakarta.ws.rs.Consumes;\nimport jakarta.ws.rs.DELETE;\nimport jakarta.ws.rs.GET;\nimport jakarta.ws.rs.InternalServerErrorException;\nimport jakarta.ws.rs.NotFoundException;\nimport jakarta.ws.rs.PUT;\nimport jakarta.ws.rs.Path;\nimport jakarta.ws.rs.PathParam;\nimport jakarta.ws.rs.Produces;\nimport jakarta.ws.rs.core.MediaType;\nimport jakarta.ws.rs.core.Response;\nimport org.apache.shiro.authz.annotation.RequiresAuthentication;\nimport org.apache.shiro.authz.annotation.RequiresPermissions;\nimport org.graylog2.audit.AuditEventTypes;\nimport org.graylog2.audit.jersey.AuditEvent;\nimport org.graylog2.plugin.cluster.ClusterConfigService;\nimport org.graylog2.plugin.validate.ClusterConfigValidatorService;\nimport org.graylog2.plugin.validate.ConfigValidationException;\nimport org.graylog2.rest.MoreMediaTypes;\nimport org.graylog2.rest.models.system.config.ClusterConfigList;\nimport org.graylog2.security.RestrictedChainingClassLoader;\nimport org.graylog2.security.UnsafeClassLoadingAttemptException;\nimport org.graylog2.security.encryption.ConfigUpdatePreparation;\nimport org.graylog2.shared.rest.resources.RestResource;\nimport org.graylog2.shared.security.RestPermissions;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport javax.annotation.Nullable;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.util.Locale;\nimport java.util.Set;\n\nimport static java.util.Objects.requireNonNull;\n\n@Tag(name = \"System/ClusterConfig\", description = \"Graylog Cluster Configuration\")\n@RequiresAuthentication\n@Path(\"/system/cluster_config\")\n@Produces(MediaType.APPLICATION_JSON)\npublic class ClusterConfigResource extends RestResource {\n private static final Logger LOG = LoggerFactory.getLogger(ClusterConfigResource.class);\n public static final String NO_CLASS_MSG = \"Couldn't find configuration class '%s'\";\n\n private final ClusterConfigService clusterConfigService;\n private final RestrictedChainingClassLoader chainingClassLoader;\n private final ObjectMapper objectMapper;\n private final ClusterConfigValidatorService clusterConfigValidatorService;\n\n @Inject\n public ClusterConfigResource(ClusterConfigService clusterConfigService,\n RestrictedChainingClassLoader chainingClassLoader,\n ObjectMapper objectMapper,\n ClusterConfigValidatorService clusterConfigValidatorService) {\n this.clusterConfigService = requireNonNull(clusterConfigService);\n this.chainingClassLoader = chainingClassLoader;\n this.objectMapper = objectMapper;\n this.clusterConfigValidatorService = clusterConfigValidatorService;\n }\n\n @GET\n @Operation(summary = \"List all configuration classes\")\n @Timed\n @RequiresPermissions(RestPermissions.CLUSTER_CONFIG_ENTRY_READ)\n public ClusterConfigList list() {\n final Set> classes = clusterConfigService.list();\n\n return ClusterConfigList.createFromClass(classes);\n }\n\n @GET\n @Path(\"{configClass}\")\n @Operation(summary = \"Get configuration settings from database\")\n @Timed\n @RequiresPermissions(RestPermissions.CLUSTER_CONFIG_ENTRY_READ)\n public Object read(@Parameter(name = \"configClass\", description = \"The name of the cluster configuration class\", required = true)\n @PathParam(\"configClass\") @NotBlank String configClass) {\n final Class cls = classFromName(configClass);\n if (cls == null) {\n String error = createNoClassMsg(configClass);\n throw new NotFoundException(error);\n }\n\n return clusterConfigService.get(cls);\n }\n\n @PUT\n @Timed\n @Path(\"{configClass}\")\n @Consumes(MediaType.APPLICATION_JSON)\n @Operation(summary = \"Update configuration in database\")\n @RequiresPermissions({RestPermissions.CLUSTER_CONFIG_ENTRY_CREATE, RestPermissions.CLUSTER_CONFIG_ENTRY_EDIT})\n @AuditEvent(type = AuditEventTypes.CLUSTER_CONFIGURATION_UPDATE)\n public Response update(@Parameter(name = \"configClass\", description = \"The name of the cluster configuration class\", required = true)\n @PathParam(\"configClass\") @NotBlank String configClass,\n @Parameter(name = \"body\", description = \"The payload of the cluster configuration\", required = true)\n @NotNull InputStream body) throws IOException {\n final Class cls = classFromName(configClass);\n if (cls == null) {\n throw new NotFoundException(createNoClassMsg(configClass));\n }\n\n final Object updatedConfigObject = parseConfigObject(configClass, body, cls);\n final Object preparedConfig;\n final Object existingConfig = clusterConfigService.get(cls);\n if (existingConfig != null && updatedConfigObject instanceof ConfigUpdatePreparation encryptedConfig) {\n preparedConfig = encryptedConfig.prepareConfigUpdate(existingConfig);\n } else {\n preparedConfig = updatedConfigObject;\n }\n\n validateConfigObject(preparedConfig);\n writeConfigObject(configClass, preparedConfig);\n\n return Response.accepted(updatedConfigObject).build();\n }\n\n private void writeConfigObject(String configClass, Object configObject) {\n try {\n clusterConfigService.write(configObject);\n } catch (Exception e) {\n final String msg = \"Couldn't write cluster config \\\"\" + configClass + \"\\\".\";\n LOG.error(msg, e);\n throw new InternalServerErrorException(msg, e);\n }\n }\n\n private void validateConfigObject(Object configObject) {\n try {\n clusterConfigValidatorService.validate(configObject);\n } catch (ConfigValidationException e) {\n throw new BadRequestException(e.getMessage(), e);\n }\n }\n\n private Object parseConfigObject(String configClass, InputStream body, Class cls) {\n final Object object;\n try {\n object = objectMapper.readValue(body, cls);\n } catch (Exception e) {\n final String msg = \"Couldn't parse cluster configuration \\\"\" + configClass + \"\\\". The problem was : \" + e.getMessage();\n LOG.error(msg, e);\n throw new BadRequestException(msg);\n }\n return object;\n }\n\n @DELETE\n @Path(\"{configClass}\")\n @Operation(summary = \"Delete configuration settings from database\")\n @Timed\n @RequiresPermissions(RestPermissions.CLUSTER_CONFIG_ENTRY_DELETE)\n @AuditEvent(type = AuditEventTypes.CLUSTER_CONFIGURATION_DELETE)\n public void delete(@Parameter(name = \"configClass\", description = \"The name of the cluster configuration class\", required = true)\n @PathParam(\"configClass\") @NotBlank String configClass) {\n final Class cls = classFromName(configClass);\n if (cls == null) {\n throw new NotFoundException(createNoClassMsg(configClass));\n }\n\n clusterConfigService.remove(cls);\n }\n\n @GET\n @Path(\"{configClass}\")\n @Produces(MoreMediaTypes.APPLICATION_SCHEMA_JSON)\n @Operation(summary = \"Get JSON schema of configuration class\")\n @Timed\n @RequiresPermissions(RestPermissions.CLUSTER_CONFIG_ENTRY_READ)\n public JsonSchema schema(@Parameter(name = \"configClass\", description = \"The name of the cluster configuration class\", required = true)\n @PathParam(\"configClass\") @NotBlank String configClass) {\n final Class cls = classFromName(configClass);\n if (cls == null) {\n throw new NotFoundException(createNoClassMsg(configClass));\n }\n\n final SchemaFactoryWrapper visitor = new SchemaFactoryWrapper();\n try {\n objectMapper.acceptJsonFormatVisitor(objectMapper.constructType(cls), visitor);\n } catch (JsonMappingException e) {\n throw new InternalServerErrorException(\"Couldn't generate JSON schema for configuration class \" + configClass, e);\n }\n\n return visitor.finalSchema();\n }\n\n @Nullable\n private Class classFromName(String className) {\n try {\n return chainingClassLoader.loadClassSafely(className);\n } catch (ClassNotFoundException e) {\n return null;\n } catch (UnsafeClassLoadingAttemptException e) {\n throw new BadRequestException(e.getLocalizedMessage());\n }\n }\n\n private static String createNoClassMsg(String configClass) {\n return String.format(Locale.ENGLISH, NO_CLASS_MSG, configClass);\n }\n\n}\n" +} diff --git a/web/public/bundles/graylog/code/f14cc6ebbc1e910e2d18eb93591b49c73bb8b205.json b/web/public/bundles/graylog/code/f14cc6ebbc1e910e2d18eb93591b49c73bb8b205.json new file mode 100644 index 00000000..ff4c66ad --- /dev/null +++ b/web/public/bundles/graylog/code/f14cc6ebbc1e910e2d18eb93591b49c73bb8b205.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f14cc6ebbc1e910e2d18eb93591b49c73bb8b205", + "language": "typescript", + "path": "graylog2-web-interface/src/util/getPermissionPrefixByType.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\n\nimport EntityPermissionsMapperBinder from 'logic/permissions/EntityPermissionsMapper';\n\nconst assertUnreachable = (type: string): never => {\n throw new Error(`Can't find prefix for type: ${type ?? '(undefined)'}`);\n};\n\nconst getPermissionPrefixByType = (type: string, id: string) =>\n EntityPermissionsMapperBinder.mapToPrefix(type, id) || assertUnreachable(type);\n\nexport default getPermissionPrefixByType;\n" +} diff --git a/web/public/bundles/graylog/code/f1817e845a0b3e2383baf4e98a4ca80b335a3044.json b/web/public/bundles/graylog/code/f1817e845a0b3e2383baf4e98a4ca80b335a3044.json new file mode 100644 index 00000000..d11dbc05 --- /dev/null +++ b/web/public/bundles/graylog/code/f1817e845a0b3e2383baf4e98a4ca80b335a3044.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f1817e845a0b3e2383baf4e98a4ca80b335a3044", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/collectors/db/EnrollmentTokenDTO.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.collectors.db;\n\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.jackson.databind.annotation.JsonDeserialize;\nimport com.fasterxml.jackson.databind.annotation.JsonSerialize;\nimport com.google.auto.value.AutoBuilder;\nimport jakarta.annotation.Nullable;\nimport org.graylog2.database.MongoEntity;\nimport org.graylog2.jackson.MongoInstantDeserializer;\nimport org.graylog2.jackson.MongoInstantSerializer;\nimport org.mongojack.Id;\nimport org.mongojack.ObjectId;\n\nimport java.time.Instant;\n\npublic record EnrollmentTokenDTO(\n @ObjectId @Id @Nullable @JsonProperty(MongoEntity.FIELD_ID) String id,\n @JsonProperty(FIELD_NAME) String name,\n @JsonProperty(FIELD_JTI) String jti,\n @JsonProperty(FIELD_KID) String kid,\n @JsonProperty(FIELD_FLEET_ID) String fleetId,\n @JsonProperty(FIELD_CREATED_BY) EnrollmentTokenCreator createdBy,\n @JsonSerialize(using = MongoInstantSerializer.class)\n @JsonDeserialize(using = MongoInstantDeserializer.class)\n @JsonProperty(FIELD_CREATED_AT) Instant createdAt,\n @Nullable\n @JsonSerialize(using = MongoInstantSerializer.class)\n @JsonDeserialize(using = MongoInstantDeserializer.class)\n @JsonProperty(FIELD_EXPIRES_AT) Instant expiresAt,\n @JsonProperty(FIELD_USAGE_COUNT) int usageCount,\n @Nullable\n @JsonSerialize(using = MongoInstantSerializer.class)\n @JsonDeserialize(using = MongoInstantDeserializer.class)\n @JsonProperty(FIELD_LAST_USED_AT) Instant lastUsedAt\n) implements MongoEntity {\n public static final String FIELD_NAME = \"name\";\n public static final String FIELD_JTI = \"jti\";\n public static final String FIELD_KID = \"kid\";\n public static final String FIELD_FLEET_ID = \"fleet_id\";\n public static final String FIELD_CREATED_BY = \"created_by\";\n public static final String FIELD_CREATED_AT = \"created_at\";\n public static final String FIELD_EXPIRES_AT = \"expires_at\";\n public static final String FIELD_USAGE_COUNT = \"usage_count\";\n public static final String FIELD_LAST_USED_AT = \"last_used_at\";\n\n public static Builder builder() {\n return new AutoBuilder_EnrollmentTokenDTO_Builder().usageCount(0);\n }\n\n @AutoBuilder\n public interface Builder {\n Builder id(@Nullable String id);\n\n Builder name(String name);\n\n Builder jti(String jti);\n\n Builder kid(String kid);\n\n Builder fleetId(String fleetId);\n\n Builder createdBy(EnrollmentTokenCreator createdBy);\n\n Builder createdAt(Instant createdAt);\n\n Builder expiresAt(@Nullable Instant expiresAt);\n\n Builder usageCount(int usageCount);\n\n Builder lastUsedAt(@Nullable Instant lastUsedAt);\n\n EnrollmentTokenDTO build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/f1a5234797663addb3c1a773795a552e2968ad9b.json b/web/public/bundles/graylog/code/f1a5234797663addb3c1a773795a552e2968ad9b.json new file mode 100644 index 00000000..5e9812de --- /dev/null +++ b/web/public/bundles/graylog/code/f1a5234797663addb3c1a773795a552e2968ad9b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f1a5234797663addb3c1a773795a552e2968ad9b", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamRuleImpl.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.streams;\n\nimport com.fasterxml.jackson.annotation.JsonValue;\nimport com.google.common.collect.ImmutableMap;\nimport com.google.common.collect.Maps;\nimport org.bson.types.ObjectId;\nimport org.graylog2.database.DbEntity;\nimport org.graylog2.database.PersistedImpl;\nimport org.graylog2.database.validators.FilledStringValidator;\nimport org.graylog2.database.validators.IntegerValidator;\nimport org.graylog2.database.validators.ObjectIdValidator;\nimport org.graylog2.database.validators.OptionalStringValidator;\nimport org.graylog2.plugin.database.validators.Validator;\nimport org.graylog2.plugin.streams.StreamRule;\nimport org.graylog2.plugin.streams.StreamRuleType;\n\nimport java.util.Collections;\nimport java.util.EnumSet;\nimport java.util.Map;\n\nimport static com.google.common.base.MoreObjects.firstNonNull;\nimport static org.graylog2.shared.security.EntityPermissionsUtils.ID_FIELD;\nimport static org.graylog2.shared.security.RestPermissions.STREAMS_READ;\nimport static org.graylog2.streams.StreamRuleImpl.FIELD_CONTENT_PACK;\nimport static org.graylog2.streams.StreamRuleImpl.FIELD_DESCRIPTION;\nimport static org.graylog2.streams.StreamRuleImpl.FIELD_FIELD;\nimport static org.graylog2.streams.StreamRuleImpl.FIELD_INVERTED;\nimport static org.graylog2.streams.StreamRuleImpl.FIELD_STREAM_ID;\nimport static org.graylog2.streams.StreamRuleImpl.FIELD_TYPE;\nimport static org.graylog2.streams.StreamRuleImpl.FIELD_VALUE;\n\n/**\n * Representing the rules of a single stream.\n */\n@DbEntity(collection = \"streamrules\",\n titleField = FIELD_DESCRIPTION,\n readPermission = STREAMS_READ,\n readableFields = {ID_FIELD, FIELD_TYPE, FIELD_VALUE, FIELD_FIELD, FIELD_INVERTED, FIELD_STREAM_ID, FIELD_DESCRIPTION, FIELD_CONTENT_PACK})\npublic class StreamRuleImpl extends PersistedImpl implements StreamRule {\n public static final String FIELD_TYPE = \"type\";\n public static final String FIELD_VALUE = \"value\";\n public static final String FIELD_FIELD = \"field\";\n public static final String FIELD_INVERTED = \"inverted\";\n public static final String FIELD_STREAM_ID = \"stream_id\";\n public static final String FIELD_CONTENT_PACK = \"content_pack\";\n public static final String FIELD_DESCRIPTION = \"description\";\n\n public StreamRuleImpl(Map fields) {\n super(fields);\n }\n\n protected StreamRuleImpl(ObjectId id, Map fields) {\n super(id, fields);\n }\n\n @Override\n public StreamRuleType getType() {\n return StreamRuleType.fromInteger((Integer) fields.get(FIELD_TYPE));\n }\n\n @Override\n public void setType(StreamRuleType type) {\n fields.put(FIELD_TYPE, type.toInteger());\n }\n\n @Override\n public String getValue() {\n return (String) fields.get(FIELD_VALUE);\n }\n\n @Override\n public void setValue(String value) {\n fields.put(FIELD_VALUE, value);\n }\n\n @Override\n public String getField() {\n return (String) fields.get(FIELD_FIELD);\n }\n\n @Override\n public void setField(String field) {\n fields.put(FIELD_FIELD, field);\n }\n\n @Override\n public Boolean getInverted() {\n return (Boolean) firstNonNull(fields.get(FIELD_INVERTED), false);\n }\n\n @Override\n public void setInverted(Boolean inverted) {\n fields.put(FIELD_INVERTED, inverted);\n }\n\n @Override\n public String getStreamId() {\n return ((ObjectId) fields.get(FIELD_STREAM_ID)).toHexString();\n }\n\n @Override\n public String getContentPack() {\n return (String) fields.get(FIELD_CONTENT_PACK);\n }\n\n @Override\n public void setContentPack(String contentPack) {\n fields.put(FIELD_CONTENT_PACK, contentPack);\n }\n\n @Override\n public String getDescription() {\n return (String) fields.get(FIELD_DESCRIPTION);\n }\n\n @Override\n public void setDescription(String description) {\n fields.put(FIELD_DESCRIPTION, description);\n }\n\n @Override\n public Map getValidations() {\n final ImmutableMap.Builder validators = ImmutableMap.builder();\n validators.put(FIELD_TYPE, new IntegerValidator());\n validators.put(FIELD_STREAM_ID, new ObjectIdValidator());\n validators.put(FIELD_CONTENT_PACK, new OptionalStringValidator());\n\n if (!EnumSet.of(StreamRuleType.ALWAYS_MATCH, StreamRuleType.MATCH_INPUT).contains(this.getType())) {\n validators.put(FIELD_FIELD, new FilledStringValidator());\n }\n\n if (!EnumSet.of(StreamRuleType.PRESENCE, StreamRuleType.ALWAYS_MATCH).contains(this.getType())) {\n validators.put(FIELD_VALUE, new FilledStringValidator());\n }\n\n return validators.build();\n }\n\n @Override\n public Map getEmbeddedValidations(String key) {\n return Collections.emptyMap();\n }\n\n @JsonValue\n @Override\n public Map asMap() {\n // We work on the result a bit to allow correct JSON serializing.\n Map result = Maps.newHashMap(fields);\n result.remove(\"_id\");\n result.put(\"id\", getId());\n result.put(FIELD_STREAM_ID, getStreamId());\n\n return result;\n }\n\n @Override\n public String toString() {\n return (\"StreamRuleImpl: <\" + this.fields.toString() + \">\");\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/f1e011bb1e93ae8810c8e279227534396fd2a8d9.json b/web/public/bundles/graylog/code/f1e011bb1e93ae8810c8e279227534396fd2a8d9.json new file mode 100644 index 00000000..38a16a39 --- /dev/null +++ b/web/public/bundles/graylog/code/f1e011bb1e93ae8810c8e279227534396fd2a8d9.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f1e011bb1e93ae8810c8e279227534396fd2a8d9", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/streams/destinations/filters/StreamDestinationFiltersResource.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.resources.streams.destinations.filters;\n\nimport com.mongodb.client.model.Sorts;\nimport io.swagger.v3.oas.annotations.Operation;\nimport io.swagger.v3.oas.annotations.Parameter;\nimport io.swagger.v3.oas.annotations.parameters.RequestBody;\nimport io.swagger.v3.oas.annotations.tags.Tag;\nimport jakarta.inject.Inject;\nimport jakarta.validation.Valid;\nimport jakarta.validation.constraints.NotBlank;\nimport jakarta.ws.rs.BadRequestException;\nimport jakarta.ws.rs.BeanParam;\nimport jakarta.ws.rs.Consumes;\nimport jakarta.ws.rs.DELETE;\nimport jakarta.ws.rs.GET;\nimport jakarta.ws.rs.NotFoundException;\nimport jakarta.ws.rs.POST;\nimport jakarta.ws.rs.PUT;\nimport jakarta.ws.rs.Path;\nimport jakarta.ws.rs.PathParam;\nimport jakarta.ws.rs.Produces;\nimport jakarta.ws.rs.core.MediaType;\nimport jakarta.ws.rs.core.Response;\nimport org.apache.shiro.authz.annotation.RequiresAuthentication;\nimport org.graylog.plugins.pipelineprocessor.rulebuilder.parser.validation.ValidatorService;\nimport org.graylog.plugins.pipelineprocessor.rulebuilder.rest.RuleBuilderDto;\nimport org.graylog2.audit.AuditEventTypes;\nimport org.graylog2.audit.jersey.AuditEvent;\nimport org.graylog2.rest.PaginationParameters;\nimport org.graylog2.rest.models.PaginatedResponse;\nimport org.graylog2.shared.rest.PublicCloudAPI;\nimport org.graylog2.shared.rest.resources.RestResource;\nimport org.graylog2.shared.security.RestPermissions;\nimport org.graylog2.streams.StreamService;\nimport org.graylog2.streams.filters.StreamDestinationFilterRuleDTO;\nimport org.graylog2.streams.filters.StreamDestinationFilterService;\n\nimport java.util.List;\nimport java.util.Map;\n\nimport static org.graylog2.shared.utilities.StringUtils.f;\n\n@PublicCloudAPI\n@Tag(name = \"Stream/Destinations/Filters\", description = \"Manage stream destination filter rules\")\n@Path(\"/streams/{streamId}/destinations\")\n@Produces(MediaType.APPLICATION_JSON)\n@Consumes(MediaType.APPLICATION_JSON)\n@RequiresAuthentication\npublic class StreamDestinationFiltersResource extends RestResource {\n private final StreamDestinationFilterService filterService;\n private final StreamService streamService;\n private final ValidatorService validatorService;\n\n @Inject\n public StreamDestinationFiltersResource(StreamDestinationFilterService filterService,\n StreamService streamService,\n ValidatorService validatorService) {\n this.filterService = filterService;\n this.streamService = streamService;\n this.validatorService = validatorService;\n }\n\n @GET\n @Path(\"/filters\")\n @Operation(summary = \"Get available filter rules for stream\")\n public PaginatedResponse getPaginatedFiltersForStream(\n @Parameter(name = \"streamId\", required = true) @PathParam(\"streamId\") @NotBlank String streamId,\n @Parameter(name = \"pagination parameters\") @BeanParam PaginationParameters paginationParams\n ) {\n checkPermission(RestPermissions.STREAMS_READ, streamId);\n checkStream(streamId);\n\n final var paginatedList = filterService.findPaginatedForStream(\n streamId,\n paginationParams.getQuery(),\n Sorts.ascending(StreamDestinationFilterRuleDTO.FIELD_TITLE),\n paginationParams.getPerPage(),\n paginationParams.getPage(),\n dtoId -> isPermitted(RestPermissions.STREAM_DESTINATION_FILTERS_READ, dtoId)\n );\n\n return PaginatedResponse.create(\"elements\", paginatedList, paginationParams.getQuery());\n }\n\n @GET\n @Path(\"/target/{targetId}/filters\")\n @Operation(summary = \"Get available filter rules for stream and target\")\n public PaginatedResponse getPaginatedFiltersForStreamAndTarget(\n @Parameter(name = \"streamId\", required = true) @PathParam(\"streamId\") @NotBlank String streamId,\n @Parameter(name = \"targetId\", required = true) @PathParam(\"targetId\") @NotBlank String targetId,\n @Parameter(name = \"pagination parameters\") @BeanParam PaginationParameters paginationParams\n ) {\n checkPermission(RestPermissions.STREAMS_EDIT, streamId);\n checkStream(streamId);\n\n final var paginatedList = filterService.findPaginatedForStreamAndTarget(\n streamId,\n targetId,\n paginationParams.getQuery(),\n Sorts.ascending(StreamDestinationFilterRuleDTO.FIELD_TITLE),\n paginationParams.getPerPage(),\n paginationParams.getPage(),\n dtoId -> isPermitted(RestPermissions.STREAM_DESTINATION_FILTERS_READ, dtoId)\n );\n\n return PaginatedResponse.create(\"elements\", paginatedList, paginationParams.getQuery());\n }\n\n @GET\n @Path(\"/filters/{filterId}\")\n @Operation(summary = \"Get filter rule for given ID\")\n public Response getFilter(@Parameter(name = \"streamId\", required = true) @PathParam(\"streamId\") @NotBlank String streamId,\n @Parameter(name = \"filterId\", required = true) @PathParam(\"filterId\") @NotBlank String filterId) {\n checkPermission(RestPermissions.STREAMS_READ, streamId);\n checkPermission(RestPermissions.STREAM_DESTINATION_FILTERS_READ, filterId);\n checkStream(streamId);\n\n final var dto = filterService.findByIdForStream(streamId, filterId)\n .orElseThrow(() -> new NotFoundException(\"Filter not found\"));\n\n return Response.ok(wrapDto(dto)).build();\n }\n\n @POST\n @Path(\"/filters\")\n @Operation(summary = \"Create new filter rule\")\n @AuditEvent(type = AuditEventTypes.STREAM_DESTINATION_FILTER_CREATE)\n public Response createFilter(@Parameter(name = \"streamId\", required = true) @PathParam(\"streamId\") @NotBlank String streamId,\n @RequestBody(required = true) @Valid StreamDestinationFilterRuleDTO dto) {\n checkPermission(RestPermissions.STREAMS_EDIT, streamId);\n checkPermission(RestPermissions.STREAM_DESTINATION_FILTERS_CREATE);\n checkStream(streamId);\n validateDto(dto);\n\n try {\n return Response.ok(wrapDto(filterService.createForStream(streamId, dto))).build();\n } catch (IllegalArgumentException e) {\n throw new BadRequestException(e.getMessage());\n }\n }\n\n @PUT\n @Path(\"/filters/{filterId}\")\n @Operation(summary = \"Update filter rule\")\n @AuditEvent(type = AuditEventTypes.STREAM_DESTINATION_FILTER_UPDATE)\n public Response updateFilter(@Parameter(name = \"streamId\", required = true) @PathParam(\"streamId\") @NotBlank String streamId,\n @Parameter(name = \"filterId\", required = true) @PathParam(\"filterId\") @NotBlank String filterId,\n @RequestBody(required = true) @Valid StreamDestinationFilterRuleDTO dto) {\n checkPermission(RestPermissions.STREAMS_EDIT, streamId);\n checkPermission(RestPermissions.STREAM_DESTINATION_FILTERS_EDIT, filterId);\n checkStream(streamId);\n\n if (!filterId.equals(dto.id())) {\n throw new BadRequestException(\"The filter ID in the URL doesn't match the one in the payload\");\n }\n\n validateDto(dto);\n\n try {\n return Response.ok(wrapDto(filterService.updateForStream(streamId, dto))).build();\n } catch (IllegalArgumentException e) {\n throw new BadRequestException(e.getMessage());\n }\n }\n\n @DELETE\n @Path(\"/filters/{filterId}\")\n @Operation(summary = \"Delete filter rule\")\n @AuditEvent(type = AuditEventTypes.STREAM_DESTINATION_FILTER_DELETE)\n public Response deleteFilter(@Parameter(name = \"streamId\", required = true) @PathParam(\"streamId\") @NotBlank String streamId,\n @Parameter(name = \"filterId\", required = true) @PathParam(\"filterId\") @NotBlank String filterId) {\n checkPermission(RestPermissions.STREAMS_EDIT, streamId);\n checkPermission(RestPermissions.STREAM_DESTINATION_FILTERS_DELETE, filterId);\n checkStream(streamId);\n\n try {\n return Response.ok(wrapDto(filterService.deleteFromStream(streamId, filterId))).build();\n } catch (IllegalArgumentException e) {\n throw new NotFoundException(e.getMessage());\n }\n }\n\n private Map wrapDto(StreamDestinationFilterRuleDTO dto) {\n return Map.of(\"filter\", dto);\n }\n\n // We want to ensure that the given stream exists to avoid creating filter rules for non-existent streams.\n private void checkStream(String streamId) {\n try {\n streamService.load(streamId);\n } catch (org.graylog2.database.NotFoundException e) {\n throw new NotFoundException(f(\"Stream not found: %s\", streamId));\n }\n }\n\n private void validateDto(@Valid StreamDestinationFilterRuleDTO dto) {\n final var ruleBuilderDto = RuleBuilderDto.builder()\n .title(dto.title())\n .ruleBuilder(dto.rule().toBuilder().actions(List.of()).build())\n .build();\n try {\n validatorService.validateAndFailFast(ruleBuilderDto);\n } catch (IllegalArgumentException e) {\n throw new BadRequestException(e.getMessage());\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/f1f42483300845ccf82a386497c2b96a1f3197bd.json b/web/public/bundles/graylog/code/f1f42483300845ccf82a386497c2b96a1f3197bd.json new file mode 100644 index 00000000..3511b033 --- /dev/null +++ b/web/public/bundles/graylog/code/f1f42483300845ccf82a386497c2b96a1f3197bd.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f1f42483300845ccf82a386497c2b96a1f3197bd", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/suppliers/DashboardsMetricsSupplier.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.telemetry.suppliers;\n\nimport jakarta.inject.Inject;\nimport org.graylog.plugins.views.search.views.DashboardService;\nimport org.graylog2.telemetry.scheduler.TelemetryEvent;\nimport org.graylog2.telemetry.scheduler.TelemetryMetricSupplier;\n\nimport java.util.HashMap;\nimport java.util.Map;\nimport java.util.Optional;\n\npublic class DashboardsMetricsSupplier implements TelemetryMetricSupplier {\n private final DashboardService dashboardService;\n\n @Inject\n public DashboardsMetricsSupplier(DashboardService dashboardsService) {\n this.dashboardService = dashboardsService;\n }\n\n @Override\n public Optional get() {\n Map metrics = new HashMap<>(dashboardService.countBySource());\n\n return Optional.of(TelemetryEvent.of(metrics));\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/f290ae4716059920f35e75704781d86454203da8.json b/web/public/bundles/graylog/code/f290ae4716059920f35e75704781d86454203da8.json new file mode 100644 index 00000000..40c773f8 --- /dev/null +++ b/web/public/bundles/graylog/code/f290ae4716059920f35e75704781d86454203da8.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f290ae4716059920f35e75704781d86454203da8", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/system/SystemJobContext.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.scheduler.system;\n\nimport org.graylog.scheduler.JobExecutionContext;\nimport org.graylog2.plugin.Tools;\n\nimport static java.util.Objects.requireNonNull;\n\n/**\n * Context information and utilities for system jobs.\n */\npublic class SystemJobContext {\n private final JobExecutionContext ctx;\n\n public SystemJobContext(JobExecutionContext ctx) {\n this.ctx = ctx;\n }\n\n /**\n * Returns the ID of this job. The system jobs API reports the same ID, and it survives retries.\n */\n public String jobId() {\n return requireNonNull(ctx.trigger().id(), \"A running job must have an ID\");\n }\n\n /**\n * Checks if the job has been cancelled.\n *\n * @return true if the job is cancelled, false otherwise\n */\n public boolean isCancelled() {\n return ctx.isCancelled();\n }\n\n /**\n * Update the progress of the job. The progress value represents the percent completion of the job and\n * should be between 0 and 100. Every call of this method executes a database update, so it should not be called\n * too frequently.\n *\n * @param progress the progress percentage to set (0-100)\n * @see #updateProgress(long, long)\n */\n public void updateProgress(int progress) {\n ctx.updateProgress(Math.clamp(progress, 0, 100));\n }\n\n /**\n * Update the progress of the job based on total and completed work units. Every call of this method executes\n * a database update, so it should not be called too frequently.\n *\n * @param total the total number of work units\n * @param completed the number of completed work units\n */\n public void updateProgress(long total, long completed) {\n updateProgress(Tools.percentageOfRounded(total, completed));\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/f381d9b05283c8d99b7a05d75fbefa7f5a389582.json b/web/public/bundles/graylog/code/f381d9b05283c8d99b7a05d75fbefa7f5a389582.json new file mode 100644 index 00000000..028b71cf --- /dev/null +++ b/web/public/bundles/graylog/code/f381d9b05283c8d99b7a05d75fbefa7f5a389582.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f381d9b05283c8d99b7a05d75fbefa7f5a389582", + "language": "typescript", + "path": "graylog2-web-interface/src/integrations/pager-duty/PagerDutyNotificationForm.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\nimport cloneDeep from 'lodash/cloneDeep';\n\nimport { Input } from 'components/bootstrap';\nimport { getValueFromInput } from 'util/FormsUtils';\nimport useProductName from 'brand-customization/useProductName';\n\nimport type { PagerDutyConfig } from './PagerDutyConfig';\n\ntype PagerDutyNotificationFormProps = {\n config: PagerDutyConfig;\n validation: {\n failed: boolean;\n errors?: {\n client_name?: string[];\n client_url?: string[];\n custom_incident?: string[];\n key_prefix?: string[];\n routing_key?: string[];\n pager_duty_title?: string[];\n incident_key?: string[];\n };\n error_context?: any;\n };\n onChange: (...args: any[]) => void;\n};\n\nconst PagerDutyNotificationForm = ({ config, validation, onChange }: PagerDutyNotificationFormProps) => {\n const productName = useProductName();\n const propagateChange = (key: string, value: unknown) => {\n const nextConfig = cloneDeep(config);\n if ((key === 'pager_duty_title' || key === 'incident_key') && value === '') {\n nextConfig[key] = null;\n } else {\n nextConfig[key] = value;\n }\n onChange(nextConfig);\n };\n\n const handleChange = (event: React.ChangeEvent) => {\n const { name } = event.target;\n propagateChange(name, getValueFromInput(event.target));\n };\n\n return (\n <>\n \n \n \n \n \n \n \n \n );\n};\n\nexport default PagerDutyNotificationForm;\n" +} diff --git a/web/public/bundles/graylog/code/f4fb00dc77f8853c6605d70b448a4855d3f2fb16.json b/web/public/bundles/graylog/code/f4fb00dc77f8853c6605d70b448a4855d3f2fb16.json new file mode 100644 index 00000000..515a2b17 --- /dev/null +++ b/web/public/bundles/graylog/code/f4fb00dc77f8853c6605d70b448a4855d3f2fb16.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f4fb00dc77f8853c6605d70b448a4855d3f2fb16", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/providers/ExportBackendProvider.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.views.providers;\n\nimport org.graylog.plugins.views.search.export.ExportBackend;\nimport org.graylog2.storage.DetectedSearchVersion;\nimport org.graylog2.storage.VersionAwareProvider;\nimport org.graylog2.storage.SearchVersion;\n\nimport jakarta.inject.Inject;\nimport jakarta.inject.Provider;\n\nimport java.util.Map;\n\npublic class ExportBackendProvider extends VersionAwareProvider {\n @Inject\n public ExportBackendProvider(@DetectedSearchVersion SearchVersion version, Map> pluginBindings) {\n super(version, pluginBindings);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/f5e8ff5f8b72b385fd14c861e92ddee3edb5944d.json b/web/public/bundles/graylog/code/f5e8ff5f8b72b385fd14c861e92ddee3edb5944d.json new file mode 100644 index 00000000..d0859f88 --- /dev/null +++ b/web/public/bundles/graylog/code/f5e8ff5f8b72b385fd14c861e92ddee3edb5944d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f5e8ff5f8b72b385fd14c861e92ddee3edb5944d", + "language": "typescript", + "path": "graylog2-web-interface/src/contexts/EventReplaySelectedProvider.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React, { useCallback, useReducer, useMemo } from 'react';\n\nimport EventReplaySelectedContext from 'contexts/EventReplaySelectedContext';\nimport assertUnreachable from 'logic/assertUnreachable';\nimport type { ResolutionState, SelectedState, SelectedEventsData } from 'contexts/EventReplaySelectedContext';\n\ntype Action = {\n type: 'remove' | 'done' | 'select';\n id: string;\n};\n\nconst pickNextId = (eventIds: Array) => eventIds.find((event) => event.status === 'OPEN')?.id;\n\nconst createInitialState = (_eventIds: Array) => {\n const eventIds = _eventIds.map(\n (id) =>\n ({\n id,\n status: 'OPEN',\n }) as const,\n );\n const selectedId = pickNextId(eventIds);\n\n return {\n selectedId,\n eventIds,\n };\n};\n\nconst reducer = (state: SelectedState, action: Action) => {\n if (action.type === 'remove') {\n const eventIds = state.eventIds.filter((event) => event.id !== action.id);\n const selectedId = state.selectedId === action.id ? pickNextId(eventIds) : state.selectedId;\n\n return {\n selectedId,\n eventIds,\n };\n }\n\n if (action.type === 'done') {\n const eventIds = state.eventIds.map((event) =>\n event.id === action.id ? ({ id: action.id, status: 'DONE' } as const) : event,\n );\n const selectedId = (state.selectedId === action.id && pickNextId(eventIds)) || state.selectedId;\n\n return {\n selectedId,\n eventIds,\n };\n }\n\n if (action.type === 'select') {\n return {\n ...state,\n selectedId: action.id,\n };\n }\n\n return assertUnreachable(action.type, `Invalid action dispatched: ${action}`);\n};\n\nconst useSelectedEvents = (eventIds: Array) => {\n const [state, dispatch] = useReducer(reducer, createInitialState(eventIds));\n const removeItem = useCallback((eventId: string) => dispatch({ type: 'remove', id: eventId }), []);\n const markItemAsDone = useCallback((eventId: string) => dispatch({ type: 'done', id: eventId }), []);\n const selectItem = useCallback((eventId: string) => dispatch({ type: 'select', id: eventId }), []);\n\n return {\n ...state,\n removeItem,\n markItemAsDone,\n selectItem,\n };\n};\n\nconst EventReplaySelectedProvider = ({\n initialEventIds,\n children = null,\n eventsData,\n}: React.PropsWithChildren<{ initialEventIds: Array; eventsData: SelectedEventsData }>) => {\n const selectedEvents = useSelectedEvents(initialEventIds);\n const contextValue = useMemo(\n () => ({\n ...selectedEvents,\n eventsData,\n }),\n [selectedEvents, eventsData],\n );\n\n return {children};\n};\n\nexport default EventReplaySelectedProvider;\n" +} diff --git a/web/public/bundles/graylog/code/f6005793e09f31dff79bab5bf15daba12aae861b.json b/web/public/bundles/graylog/code/f6005793e09f31dff79bab5bf15daba12aae861b.json new file mode 100644 index 00000000..a667c8bd --- /dev/null +++ b/web/public/bundles/graylog/code/f6005793e09f31dff79bab5bf15daba12aae861b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f6005793e09f31dff79bab5bf15daba12aae861b", + "language": "typescript", + "path": "graylog2-web-interface/src/views/components/dashboard/SearchParamsForDashboards.ts", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport type { SearchParams } from 'stores/PaginationTypes';\n\nexport type SearchParamsForDashboards = SearchParams & {\n scope: 'read' | 'update';\n};\n" +} diff --git a/web/public/bundles/graylog/code/f65a0db0ffb8c05593148229b18442e4561ef9bf.json b/web/public/bundles/graylog/code/f65a0db0ffb8c05593148229b18442e4561ef9bf.json new file mode 100644 index 00000000..e9eacf21 --- /dev/null +++ b/web/public/bundles/graylog/code/f65a0db0ffb8c05593148229b18442e4561ef9bf.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f65a0db0ffb8c05593148229b18442e4561ef9bf", + "language": "typescript", + "path": "graylog2-web-interface/src/integrations/aws/cloudtrail/CloudTrailApp.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\n\nimport PageHeader from 'components/common/PageHeader';\nimport { ExternalLink } from 'components/common';\n\nimport EmbeddedCloudTrailApp from './EmbeddedCloudTrailApp';\n\nconst CloudTrailApp = () => (\n <>\n \n This feature retrieves log records from AWS CloudTrail Platform.\n

\n You need to have AWS CloudTrail.{' '}\n

\n \n \n \n);\n\nexport default CloudTrailApp;\n" +} diff --git a/web/public/bundles/graylog/code/f7547d74a04e54fd49e7e3e2296712ac19392e4d.json b/web/public/bundles/graylog/code/f7547d74a04e54fd49e7e3e2296712ac19392e4d.json new file mode 100644 index 00000000..02f20aea --- /dev/null +++ b/web/public/bundles/graylog/code/f7547d74a04e54fd49e7e3e2296712ac19392e4d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f7547d74a04e54fd49e7e3e2296712ac19392e4d", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/searches/ChunkCommand.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.indexer.searches;\n\nimport com.fasterxml.jackson.annotation.JsonAutoDetect;\nimport com.google.auto.value.AutoValue;\nimport com.google.common.base.Preconditions;\nimport org.graylog.plugins.views.search.searchfilters.model.UsedSearchFilter;\nimport org.graylog2.plugin.indexer.searches.timeranges.TimeRange;\n\nimport javax.annotation.Nullable;\nimport java.util.Collections;\nimport java.util.List;\nimport java.util.Optional;\nimport java.util.OptionalInt;\nimport java.util.OptionalLong;\nimport java.util.Set;\n\n@AutoValue\n@JsonAutoDetect\npublic abstract class ChunkCommand {\n public static final int NO_BATCHSIZE = -1;\n public static final int NO_LIMIT = -1;\n\n public abstract String query();\n\n public abstract Set indices();\n\n public abstract Optional> streams();\n\n public abstract Optional sorting();\n\n public abstract Optional filter();\n\n public abstract List filters();\n\n public abstract Optional range();\n\n public abstract OptionalInt limit();\n\n public abstract OptionalInt offset();\n\n public abstract List fields();\n\n public abstract OptionalLong batchSize();\n\n public abstract Optional sliceParams();\n\n public abstract boolean highlight();\n\n public abstract Builder toBuilder();\n\n public record SliceParams(int id, int max) {\n public SliceParams {\n Preconditions.checkArgument(id >= 0 && id <= 9, \"slice id must be between 0 and 9\");\n Preconditions.checkArgument(max >= 2 && max <= 10, \"slice max must be between 2 and 10\");\n Preconditions.checkArgument(max > id, \"max must be greater than id\");\n }\n }\n\n public static Builder builder() {\n return new AutoValue_ChunkCommand.Builder()\n .query(\"\")\n .fields(Collections.emptyList())\n .filters(Collections.emptyList())\n .highlight(false);\n }\n\n @AutoValue.Builder\n public static abstract class Builder {\n public abstract Builder query(String query);\n\n public abstract Builder indices(Set indices);\n\n public abstract Builder streams(Set streams);\n\n public abstract Builder sorting(Sorting sorting);\n\n public abstract Builder filter(@Nullable String filter);\n\n public abstract Builder filters(List filters);\n\n public abstract Builder range(TimeRange range);\n\n public abstract Builder limit(int limit);\n\n public abstract Builder offset(int offset);\n\n public abstract Builder fields(List fields);\n\n public abstract Builder batchSize(int batchSize);\n\n public abstract Builder sliceParams(@Nullable SliceParams sliceParams);\n\n public Builder sliceParams(int id, int max) {\n return sliceParams(new SliceParams(id, max));\n }\n\n public abstract Builder highlight(boolean highlight);\n\n public abstract ChunkCommand build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/f7f93fabf570f8859cba4fd877c9bba9165218b1.json b/web/public/bundles/graylog/code/f7f93fabf570f8859cba4fd877c9bba9165218b1.json new file mode 100644 index 00000000..3b1855e6 --- /dev/null +++ b/web/public/bundles/graylog/code/f7f93fabf570f8859cba4fd877c9bba9165218b1.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f7f93fabf570f8859cba4fd877c9bba9165218b1", + "language": "java", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/stats/ClusterStatsApi.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.storage.opensearch2.stats;\n\nimport com.fasterxml.jackson.databind.JsonNode;\nimport com.fasterxml.jackson.databind.ObjectMapper;\nimport jakarta.inject.Inject;\nimport org.graylog.shaded.opensearch2.org.opensearch.client.Request;\nimport org.graylog.storage.opensearch2.PlainJsonApi;\nimport org.graylog2.rest.resources.system.indexer.responses.IndexSetStats;\n\npublic class ClusterStatsApi {\n private final ObjectMapper objectMapper;\n private final PlainJsonApi jsonApi;\n\n @Inject\n public ClusterStatsApi(ObjectMapper objectMapper,\n PlainJsonApi jsonApi) {\n this.objectMapper = objectMapper;\n this.jsonApi = jsonApi;\n }\n\n public IndexSetStats clusterStats() {\n final Request request = new Request(\"GET\", \"/_cluster/stats\");\n request.addParameter(\"filter_path\", \"indices.count,indices.docs.count,indices.store.size_in_bytes\");\n final JsonNode stats = jsonApi.perform(request, \"Couldn't read Elasticsearch cluster stats\");\n\n final long indicesCount = stats.path(\"indices\").path(\"count\").asLong();\n final long docsCount = stats.path(\"indices\").path(\"docs\").path(\"count\").asLong();\n final long sizeBytes = stats.path(\"indices\").path(\"store\").path(\"size_in_bytes\").asLong();\n\n return IndexSetStats.create(indicesCount, docsCount, sizeBytes);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/f90ecdd4afc5c57dbe31f77fb3f673605efc7777.json b/web/public/bundles/graylog/code/f90ecdd4afc5c57dbe31f77fb3f673605efc7777.json new file mode 100644 index 00000000..1fe0d812 --- /dev/null +++ b/web/public/bundles/graylog/code/f90ecdd4afc5c57dbe31f77fb3f673605efc7777.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f90ecdd4afc5c57dbe31f77fb3f673605efc7777", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/IndexFailureService.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.indexer;\n\nimport org.graylog2.plugin.database.PersistedService;\nimport org.joda.time.DateTime;\n\nimport java.util.List;\n\n/**\n * @author Dennis Oelkers \n */\npublic interface IndexFailureService extends PersistedService, IndexFailureCounter {\n List all(int limit, int offset);\n\n long countSince(DateTime since);\n\n long totalCount();\n}\n" +} diff --git a/web/public/bundles/graylog/code/f945cd540c84db7886c28ddbef2a980510ad7f36.json b/web/public/bundles/graylog/code/f945cd540c84db7886c28ddbef2a980510ad7f36.json new file mode 100644 index 00000000..2f455b80 --- /dev/null +++ b/web/public/bundles/graylog/code/f945cd540c84db7886c28ddbef2a980510ad7f36.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f945cd540c84db7886c28ddbef2a980510ad7f36", + "language": "java", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/sniffer/impl/OpensearchClusterSniffer.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.storage.opensearch2.sniffer.impl;\n\nimport jakarta.inject.Inject;\nimport org.graylog.shaded.opensearch2.org.opensearch.client.RestClient;\nimport org.graylog.shaded.opensearch2.org.opensearch.client.sniff.NodesSniffer;\nimport org.graylog.shaded.opensearch2.org.opensearch.client.sniff.OpenSearchNodesSniffer;\nimport org.graylog.storage.opensearch2.sniffer.SnifferBuilder;\nimport org.graylog2.configuration.ElasticsearchClientConfiguration;\n\nimport java.util.Locale;\nimport java.util.concurrent.TimeUnit;\n\npublic class OpensearchClusterSniffer implements SnifferBuilder {\n\n private static final long DISCOVERY_FREQUENCY_MS = TimeUnit.SECONDS.toMillis(5);\n private final OpenSearchNodesSniffer.Scheme scheme;\n private final ElasticsearchClientConfiguration configuration;\n\n @Inject\n public OpensearchClusterSniffer(ElasticsearchClientConfiguration configuration) {\n this.scheme = mapDefaultScheme(configuration.defaultSchemeForDiscoveredNodes());\n this.configuration = configuration;\n }\n\n @Override\n public boolean enabled() {\n return configuration.discoveryEnabled() || configuration.isNodeActivityLogger();\n }\n\n @Override\n public NodesSniffer create(RestClient restClient) {\n return new OpenSearchNodesSniffer(restClient, DISCOVERY_FREQUENCY_MS, scheme);\n }\n\n private OpenSearchNodesSniffer.Scheme mapDefaultScheme(String defaultSchemeForDiscoveredNodes) {\n return switch (defaultSchemeForDiscoveredNodes.toUpperCase(Locale.ENGLISH)) {\n case \"HTTP\" -> OpenSearchNodesSniffer.Scheme.HTTP;\n case \"HTTPS\" -> OpenSearchNodesSniffer.Scheme.HTTPS;\n default ->\n throw new IllegalArgumentException(\"Invalid default scheme for discovered OS nodes: \" + defaultSchemeForDiscoveredNodes);\n };\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/fa45da57b5c68900cb21cc69b8629c1aca772b83.json b/web/public/bundles/graylog/code/fa45da57b5c68900cb21cc69b8629c1aca772b83.json new file mode 100644 index 00000000..9b16f888 --- /dev/null +++ b/web/public/bundles/graylog/code/fa45da57b5c68900cb21cc69b8629c1aca772b83.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "fa45da57b5c68900cb21cc69b8629c1aca772b83", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/entities/preferences/EntityListPreferencesResource.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.rest.resources.entities.preferences;\n\nimport com.codahale.metrics.annotation.Timed;\nimport io.swagger.v3.oas.annotations.Operation;\nimport io.swagger.v3.oas.annotations.Parameter;\nimport io.swagger.v3.oas.annotations.media.Content;\nimport io.swagger.v3.oas.annotations.media.Schema;\nimport io.swagger.v3.oas.annotations.parameters.RequestBody;\nimport io.swagger.v3.oas.annotations.responses.ApiResponse;\nimport io.swagger.v3.oas.annotations.responses.ApiResponses;\nimport io.swagger.v3.oas.annotations.tags.Tag;\nimport jakarta.inject.Inject;\nimport jakarta.validation.constraints.NotEmpty;\nimport jakarta.ws.rs.Consumes;\nimport jakarta.ws.rs.DELETE;\nimport jakarta.ws.rs.GET;\nimport jakarta.ws.rs.POST;\nimport jakarta.ws.rs.Path;\nimport jakarta.ws.rs.PathParam;\nimport jakarta.ws.rs.Produces;\nimport jakarta.ws.rs.QueryParam;\nimport jakarta.ws.rs.core.Context;\nimport jakarta.ws.rs.core.MediaType;\nimport jakarta.ws.rs.core.Response;\nimport org.apache.shiro.SecurityUtils;\nimport org.apache.shiro.authz.AuthorizationException;\nimport org.apache.shiro.authz.annotation.RequiresAuthentication;\nimport org.apache.shiro.subject.Subject;\nimport org.graylog.security.UserContext;\nimport org.graylog2.audit.jersey.NoAuditEvent;\nimport org.graylog2.database.NotFoundException;\nimport org.graylog2.plugin.database.ValidationException;\nimport org.graylog2.plugin.indexer.searches.timeranges.TimeRange;\nimport org.graylog2.rest.resources.entities.preferences.metrics.EntityListMetricProvider;\nimport org.graylog2.rest.resources.entities.preferences.model.EntityListPreferences;\nimport org.graylog2.rest.resources.entities.preferences.model.MetricValue;\nimport org.graylog2.rest.resources.entities.preferences.model.PredefinedLayoutVariant;\nimport org.graylog2.rest.resources.entities.preferences.model.StoredEntityListPreferences;\nimport org.graylog2.rest.resources.entities.preferences.model.StoredEntityListPreferencesId;\nimport org.graylog2.rest.resources.entities.preferences.service.EntityListPreferencesService;\nimport org.graylog2.shared.rest.PublicCloudAPI;\n\nimport java.util.Comparator;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Objects;\n\n@RequiresAuthentication\n@PublicCloudAPI\n@Tag(name = \"EntityLists\", description = \"Entity Lists Preferences\")\n@Path(\"/entitylists/preferences\")\npublic class EntityListPreferencesResource {\n\n private final EntityListPreferencesService entityListPreferencesService;\n private final Map metricProviders;\n\n @Inject\n public EntityListPreferencesResource(final EntityListPreferencesService entityListPreferencesService,\n final Map metricProviders) {\n this.entityListPreferencesService = entityListPreferencesService;\n this.metricProviders = metricProviders;\n }\n\n @POST\n @Path(\"/{entity_list_id}\")\n @Timed\n @Operation(summary = \"Create or update user preferences for certain entity list\")\n @Consumes(MediaType.APPLICATION_JSON)\n @NoAuditEvent(\"Audit logs are not stored for entity list preferences\")\n public Response create(@RequestBody(required = true) EntityListPreferences entityListPreferences,\n @Parameter(name = \"entity_list_id\", required = true) @PathParam(\"entity_list_id\") @NotEmpty String entityListId,\n @QueryParam(\"layout_variant\") String layoutVariant,\n @Context UserContext userContext) throws ValidationException {\n\n final String currentUserId = userContext.getUserId();\n final StoredEntityListPreferencesId complexId = StoredEntityListPreferencesId.builder()\n .userId(currentUserId)\n .entityListId(entityListId)\n .layoutVariant(obtainLayoutVariant(layoutVariant))\n .build();\n final StoredEntityListPreferences storedPreferences = StoredEntityListPreferences.builder()\n .preferencesId(complexId)\n .preferences(entityListPreferences)\n .build();\n final boolean successful = entityListPreferencesService.save(storedPreferences);\n if (successful) {\n return Response.ok().build();\n } else {\n return Response.serverError().build();\n }\n }\n\n @GET\n @Path(\"/{entity_list_id}\")\n @Timed\n @Operation(summary = \"Get preferences for user's entity list\")\n @ApiResponses({\n @ApiResponse(responseCode = \"200\", description = \"Get preferences for user's entity list retrieved successfully\",\n content = @Content(schema = @Schema(implementation = EntityListPreferences.class))),\n @ApiResponse(responseCode = \"404\", description = \"Preferences not found.\")\n })\n @Produces(MediaType.APPLICATION_JSON)\n public EntityListPreferences get(@Parameter(name = \"entity_list_id\", required = true) @PathParam(\"entity_list_id\") @NotEmpty String entityListId,\n @QueryParam(\"layout_variant\") String layoutVariant,\n @Context UserContext userContext) throws NotFoundException {\n\n final String currentUserId = userContext.getUserId();\n final StoredEntityListPreferencesId complexIdOfUsersPreferences = StoredEntityListPreferencesId.builder()\n .userId(currentUserId)\n .entityListId(entityListId)\n .layoutVariant(obtainLayoutVariant(layoutVariant))\n .build();\n final StoredEntityListPreferences usersPreferences = entityListPreferencesService.get(complexIdOfUsersPreferences);\n if (usersPreferences == null) {\n final StoredEntityListPreferencesId complexIdOfGlobalPreferences = StoredEntityListPreferencesId.builder()\n .userId(null)\n .entityListId(entityListId)\n .layoutVariant(obtainLayoutVariant(layoutVariant))\n .build();\n final StoredEntityListPreferences globalPreferences = entityListPreferencesService.get(complexIdOfGlobalPreferences);\n if (globalPreferences == null) {\n return null;\n } else {\n return globalPreferences.preferences();\n }\n } else {\n return usersPreferences.preferences();\n }\n }\n\n @DELETE\n @Path(\"/{entity_list_id}\")\n @Timed\n @Operation(summary = \"Delete preferences for user's entity list\")\n @ApiResponses({\n @ApiResponse(responseCode = \"204\", description = \"Preferences for user's entity list deleted successfully.\"),\n @ApiResponse(responseCode = \"400\", description = \"Wrong parameters for preferences deletion.\"),\n @ApiResponse(responseCode = \"404\", description = \"Preferences not found.\")\n })\n @NoAuditEvent(\"Audit logs are not stored for entity list preferences\")\n public Response delete(@Parameter(name = \"entity_list_id\", required = true) @PathParam(\"entity_list_id\") @NotEmpty String entityListId,\n @QueryParam(\"layout_variant\") String layoutVariant,\n @Context UserContext userContext) throws ValidationException {\n final String currentUserId = userContext.getUserId();\n final StoredEntityListPreferencesId complexIdOfUsersPreferences = StoredEntityListPreferencesId.builder()\n .userId(currentUserId)\n .entityListId(entityListId)\n .layoutVariant(obtainLayoutVariant(layoutVariant))\n .build();\n final boolean successful = entityListPreferencesService.delete(complexIdOfUsersPreferences);\n if (successful) {\n return Response.status(Response.Status.NO_CONTENT).build();\n } else {\n return Response.status(Response.Status.NOT_FOUND).build();\n }\n\n }\n\n @POST\n @Path(\"/list_predefined/{entity_list_id}\")\n @Timed\n @Operation(summary = \"List predefined layout variants for entity list with given id\")\n @ApiResponses({\n @ApiResponse(responseCode = \"200\", description = \"List of predefined layout variants retrieved successfully\",\n content = @Content(schema = @Schema(implementation = PredefinedLayoutVariant[].class)))\n })\n @Produces(MediaType.APPLICATION_JSON)\n @Consumes(MediaType.APPLICATION_JSON)\n @NoAuditEvent(\"Audit logs are not stored for entity list preferences\")\n public List listPredefined(@Parameter(name = \"entity_list_id\", required = true) @PathParam(\"entity_list_id\") @NotEmpty String entityListId,\n @RequestBody(required = true) TimeRange timeRange) {\n final Subject subject = SecurityUtils.getSubject();\n return entityListPreferencesService\n .getPredefinedForEntityList(entityListId)\n .stream()\n .sorted(Comparator.nullsFirst(Comparator.comparing(pref -> pref.preferences().priority())))\n .map(pref -> {\n try {\n final List metrics = pref.preferences().metrics()\n .stream()\n .map(metricName -> metricProviders\n .getOrDefault(metricName, (tr, sub) -> new MetricValue(0L, \"\", metricName))\n .compute(timeRange, subject))\n .toList();\n return new PredefinedLayoutVariant(\n pref.preferencesId().layoutVariant(),\n pref.preferencesId().entityListId(),\n pref.preferences().displayName(),\n metrics);\n } catch (AuthorizationException aux) {\n return null;\n }\n }\n )\n .filter(Objects::nonNull)\n .toList();\n\n }\n\n private String obtainLayoutVariant(final String layoutVariant) {\n return layoutVariant == null || layoutVariant.isBlank() ? StoredEntityListPreferencesId.GENERAL_LAYOUT_VARIANT : layoutVariant;\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/fa60a1b542c7261f99ced3c034c009e2efc82b9c.json b/web/public/bundles/graylog/code/fa60a1b542c7261f99ced3c034c009e2efc82b9c.json new file mode 100644 index 00000000..bbfdc165 --- /dev/null +++ b/web/public/bundles/graylog/code/fa60a1b542c7261f99ced3c034c009e2efc82b9c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "fa60a1b542c7261f99ced3c034c009e2efc82b9c", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/mongodb/MongoDbPipelineStreamConnectionsService.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.pipelineprocessor.db.mongodb;\n\nimport com.google.common.collect.ImmutableSet;\nimport org.graylog2.database.MongoCollection;\nimport com.mongodb.client.model.IndexOptions;\nimport com.mongodb.client.model.Indexes;\nimport com.swrve.ratelimitedlogger.RateLimitedLog;\nimport jakarta.inject.Inject;\nimport jakarta.inject.Singleton;\nimport org.graylog.plugins.pipelineprocessor.db.PipelineStreamConnectionsService;\nimport org.graylog.plugins.pipelineprocessor.events.PipelineConnectionsChangedEvent;\nimport org.graylog.plugins.pipelineprocessor.rest.PipelineConnections;\nimport org.graylog2.database.MongoCollections;\nimport org.graylog2.database.NotFoundException;\nimport org.graylog2.database.utils.MongoUtils;\nimport org.graylog2.events.ClusterEventBus;\n\nimport java.util.Collection;\nimport java.util.Collections;\nimport java.util.Map;\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\nimport static com.mongodb.client.model.Filters.eq;\nimport static com.mongodb.client.model.Filters.in;\nimport static org.graylog2.plugin.utilities.ratelimitedlog.RateLimitedLogFactory.createDefaultRateLimitedLog;\n\n@Singleton\npublic class MongoDbPipelineStreamConnectionsService implements PipelineStreamConnectionsService {\n private static final RateLimitedLog log = createDefaultRateLimitedLog(MongoDbPipelineStreamConnectionsService.class);\n\n private static final String COLLECTION = \"pipeline_processor_pipelines_streams\";\n\n private final ClusterEventBus clusterBus;\n private final MongoCollection collection;\n private final MongoUtils mongoUtils;\n\n @Inject\n public MongoDbPipelineStreamConnectionsService(MongoCollections mongoCollections, ClusterEventBus clusterBus) {\n this.clusterBus = clusterBus;\n this.collection = mongoCollections.collection(COLLECTION, PipelineConnections.class);\n this.mongoUtils = mongoCollections.utils(collection);\n\n collection.createIndex(Indexes.ascending(\"stream_id\"), new IndexOptions().unique(true));\n }\n\n @Override\n public PipelineConnections save(PipelineConnections connections) {\n PipelineConnections existingConnections = collection.find(eq(\"stream_id\", connections.streamId()))\n .first();\n if (existingConnections == null) {\n existingConnections = PipelineConnections.create(null, connections.streamId(), Collections.emptySet());\n }\n\n final PipelineConnections toSave = existingConnections.toBuilder()\n .pipelineIds(connections.pipelineIds()).build();\n\n final PipelineConnections savedConnections = mongoUtils.save(toSave);\n clusterBus.post(PipelineConnectionsChangedEvent.create(savedConnections.streamId(), savedConnections.pipelineIds()));\n\n return savedConnections;\n }\n\n @Override\n public PipelineConnections load(String streamId) throws NotFoundException {\n final PipelineConnections oneById = collection.find(eq(\"stream_id\", streamId)).first();\n if (oneById == null) {\n throw new NotFoundException(\"No pipeline connections for stream \" + streamId);\n }\n return oneById;\n }\n\n @Override\n public Set loadAll() {\n return ImmutableSet.copyOf(collection.find());\n }\n\n @Override\n public Set loadByPipelineId(String pipelineId) {\n return ImmutableSet.copyOf(collection.find(in(\"pipeline_ids\", pipelineId)));\n }\n\n @Override\n public void delete(String streamId) {\n try {\n final PipelineConnections connections = load(streamId);\n final Set pipelineIds = connections.pipelineIds();\n\n mongoUtils.deleteById(connections.id());\n clusterBus.post(PipelineConnectionsChangedEvent.create(streamId, pipelineIds));\n } catch (NotFoundException e) {\n log.debug(\"No connections found for stream {}\", streamId);\n }\n }\n\n @Override\n public Map loadByStreamIds(Collection streamIds) {\n try (final var stream = MongoUtils.stream(collection.find(in(\"stream_id\", streamIds)))) {\n return stream.collect(Collectors.toMap(PipelineConnections::streamId, conn -> conn));\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/fadd2137c254d2eb5f5ea42f039bb25fa46fa0d3.json b/web/public/bundles/graylog/code/fadd2137c254d2eb5f5ea42f039bb25fa46fa0d3.json new file mode 100644 index 00000000..dc35a197 --- /dev/null +++ b/web/public/bundles/graylog/code/fadd2137c254d2eb5f5ea42f039bb25fa46fa0d3.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "fadd2137c254d2eb5f5ea42f039bb25fa46fa0d3", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/fieldtypes/datefix/NumericDateFieldDetector.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.indexer.fieldtypes.datefix;\n\nimport jakarta.inject.Inject;\nimport org.graylog2.indexer.fieldtypes.FieldTypeDTO;\nimport org.graylog2.indexer.fieldtypes.IndexFieldTypePoller;\nimport org.graylog2.indexer.fieldtypes.IndexFieldTypesDTO;\nimport org.graylog2.indexer.fieldtypes.IndexFieldTypesService;\nimport org.graylog2.indexer.indexset.IndexSetConfig;\nimport org.graylog2.indexer.indexset.profile.IndexFieldTypeProfile;\nimport org.graylog2.indexer.indexset.profile.IndexFieldTypeProfileService;\nimport org.graylog2.indexer.results.FieldStatsResult;\nimport org.graylog2.indexer.searches.SearchesAdapter;\nimport org.graylog2.plugin.Message;\nimport org.graylog2.plugin.indexer.searches.timeranges.RelativeRange;\nimport org.graylog2.plugin.indexer.searches.timeranges.TimeRange;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport javax.annotation.Nullable;\nimport java.util.ArrayList;\nimport java.util.Collection;\nimport java.util.HashMap;\nimport java.util.LinkedHashSet;\nimport java.util.List;\nimport java.util.Locale;\nimport java.util.Map;\nimport java.util.Optional;\nimport java.util.Set;\n\nimport static org.graylog2.shared.utilities.StringUtils.f;\n\n/**\n * Finds index sets whose write index maps a date field numerically, which is what Graylog 7.1 produced before it\n * was fixed to serialize documents with Graylog's own object mapper.\n *

\n * Two signals are used, cheapest first:\n *

    \n *
  1. The same field is mapped {@code date} in an older index of the same index set. This needs no query at all\n * and is conclusive, but it only exists where the installation was upgraded into the affected version.
  2. \n *
  3. The values themselves look like epoch timestamps. This costs one field-stats query per candidate field and\n * is the only signal available on an installation that started out on an affected version, where every index is\n * numeric and there is nothing to compare against.
  4. \n *
\n * Fields whose type cannot be changed by a custom mapping, and fields the user typed deliberately, are never\n * considered.\n */\npublic class NumericDateFieldDetector {\n private static final Logger LOG = LoggerFactory.getLogger(NumericDateFieldDetector.class);\n\n private static final String DATE_TYPE = \"date\";\n /**\n * The only two numeric mappings dynamic mapping produces, and so the only two the faulty serialization could\n * have created: {@code long} for the epoch milliseconds of a Joda date, {@code float} for the fractional epoch\n * seconds of a {@code java.time} one. Any other numeric type comes from a template, a custom field mapping or a\n * profile, which all mean somebody chose it on purpose.\n */\n private static final Set NUMERIC_TYPES = Set.of(\"long\", \"float\");\n\n private final IndexFieldTypesService indexFieldTypesService;\n private final IndexFieldTypePoller indexFieldTypePoller;\n private final SearchesAdapter searchesAdapter;\n private final NumericDateFieldClassifier classifier;\n private final IndexFieldTypeProfileService profileService;\n\n @Inject\n public NumericDateFieldDetector(IndexFieldTypesService indexFieldTypesService,\n IndexFieldTypePoller indexFieldTypePoller,\n SearchesAdapter searchesAdapter,\n NumericDateFieldClassifier classifier,\n IndexFieldTypeProfileService profileService) {\n this.indexFieldTypesService = indexFieldTypesService;\n this.indexFieldTypePoller = indexFieldTypePoller;\n this.searchesAdapter = searchesAdapter;\n this.classifier = classifier;\n this.profileService = profileService;\n }\n\n /**\n * Returns the fields of the given write index that hold dates despite being mapped numerically. An empty result\n * means the index set does not need to be rotated.\n *\n * @param indexSetConfig the index set the write index belongs to\n * @param writeIndex the index set's active write index\n */\n public List findNumericDateFields(IndexSetConfig indexSetConfig, String writeIndex) {\n // The write index is read from the cluster rather than from the cached field types: a field that appeared\n // shortly before the last shutdown may not have been polled into the cache yet, and missing it would leave\n // this index set unrotated while others recover.\n final Optional writeIndexTypes =\n indexFieldTypePoller.pollIndex(writeIndex, indexSetConfig.id());\n if (writeIndexTypes.isEmpty()) {\n // The poller reports an empty result only for an index that does not exist. A write index the cluster\n // does not have cannot hold a mis-mapped field, and retrying would not make it appear, so this is\n // reported as \"nothing to do\" rather than as a failure that would hold up the whole migration. Any\n // other problem reading the mapping surfaces as an exception and is treated as a failure.\n LOG.warn(\"Write index <{}> of index set <{}> does not exist, skipping it.\",\n writeIndex, indexSetConfig.id());\n return List.of();\n }\n\n final Map configuredTypes = configuredFieldTypes(indexSetConfig);\n // The older indices only serve as a comparison, so the cached types are good enough for them.\n final Map> typesInOlderIndices = typesInOlderIndices(\n indexFieldTypesService.findForIndexSet(indexSetConfig.id()), writeIndex);\n\n final List candidates = writeIndexTypes.get().fields().stream()\n .filter(field -> NUMERIC_TYPES.contains(field.physicalType().toLowerCase(Locale.ROOT)))\n // A field that is configured as something other than a date is numeric on purpose.\n .filter(field -> !configuredTypes.containsKey(field.fieldName())\n || DATE_TYPE.equals(configuredTypes.get(field.fieldName())))\n .filter(field -> !Message.FIELDS_UNCHANGEABLE_BY_CUSTOM_MAPPINGS.contains(field.fieldName()))\n .toList();\n\n // Every candidate is classified, so that each affected field can be pinned. Leaving one out would hand it\n // back to dynamic mapping, where the next value that arrives decides its type again.\n final List findings = new ArrayList<>();\n NumericDateFieldClassifier.IndexPeriod dataPeriod = null;\n boolean dataPeriodRead = false;\n\n for (FieldTypeDTO field : candidates) {\n final String type = field.physicalType().toLowerCase(Locale.ROOT);\n\n if (DATE_TYPE.equals(configuredTypes.get(field.fieldName()))) {\n // Configured as a date, yet this index maps it numerically: the rotation that would have applied the\n // configuration has not happened yet, most likely because an earlier attempt failed after the\n // mapping was stored.\n findings.add(new Finding(field.fieldName(), type, Reason.CONFIGURED_AS_DATE_BUT_MAPPED_NUMERICALLY));\n continue;\n }\n\n if (typesInOlderIndices.getOrDefault(field.fieldName(), Set.of()).contains(DATE_TYPE)) {\n findings.add(new Finding(field.fieldName(), type, Reason.MAPPED_AS_DATE_IN_OLDER_INDEX));\n continue;\n }\n\n // Neither free signal applies, so the values themselves are the only evidence left. A large number on\n // its own says very little - a counter is indistinguishable from epoch milliseconds - so it has to agree\n // with the period the index was actually written in. That period is read once, and only when a candidate\n // reaches this point.\n if (!dataPeriodRead) {\n dataPeriod = dataPeriod(writeIndex);\n dataPeriodRead = true;\n }\n if (dataPeriod == null) {\n // The index holds no messages. Nothing in it can have been mapped by the faulty serialization,\n // which needs a document to happen, so whatever type the remaining fields have comes from the\n // template and was chosen on purpose. There is nothing to repair and nothing to judge them by.\n // Carries on rather than stopping, so that the fields the two free signals can still settle are not\n // lost just because they come later in the mapping than one that needed a value check.\n LOG.debug(\"Write index <{}> holds no messages, so field <{}> is left alone.\",\n writeIndex, field.fieldName());\n continue;\n }\n\n valuesLookLikeTimestamps(writeIndex, field.fieldName(), type, dataPeriod)\n .ifPresent(reason -> findings.add(new Finding(field.fieldName(), type, reason)));\n }\n return findings;\n }\n\n /**\n * Fields whose type the user chose, either directly or through a field type profile. Those are numeric because\n * somebody wanted them to be.\n */\n private Map configuredFieldTypes(IndexSetConfig indexSetConfig) {\n final Map types = new HashMap<>();\n\n // A profile's mappings are stored separately and merged into the template, so they are just as deliberate as\n // the ones on the index set itself. The index set's own mappings win, as they do in the template.\n final String profileId = indexSetConfig.fieldTypeProfile();\n if (profileId != null && !profileId.isEmpty()) {\n profileService.get(profileId)\n .map(IndexFieldTypeProfile::customFieldMappings)\n .ifPresent(mappings -> mappings.forEach(\n mapping -> types.put(mapping.fieldName(), mapping.type().toLowerCase(Locale.ROOT))));\n }\n\n if (indexSetConfig.customFieldMappings() != null) {\n indexSetConfig.customFieldMappings().forEach(\n mapping -> types.put(mapping.fieldName(), mapping.type().toLowerCase(Locale.ROOT)));\n }\n\n return types;\n }\n\n /**\n * Collects, per field name, the types the index set's other indices use for it.\n */\n private Map> typesInOlderIndices(Collection indices, String writeIndex) {\n final Map> types = new HashMap<>();\n indices.stream()\n .filter(index -> !writeIndex.equals(index.indexName()))\n .flatMap(index -> index.fields().stream())\n .forEach(field -> types\n .computeIfAbsent(field.fieldName(), name -> new LinkedHashSet<>())\n .add(field.physicalType().toLowerCase(Locale.ROOT)));\n return types;\n }\n\n /**\n * Asks the index what the field actually contains. A failure is propagated rather than read as \"no finding\":\n * not being able to judge a field is not the same as knowing that it is fine, and only a failure keeps the\n * migration eligible to try again.\n */\n private Optional valuesLookLikeTimestamps(String index, String fieldName, String physicalType,\n NumericDateFieldClassifier.IndexPeriod dataPeriod) {\n final var stats = fieldStats(index, fieldName);\n\n final var verdict = classifier.classify(physicalType, stats.count(), stats.min(), stats.max(), dataPeriod);\n\n return switch (verdict) {\n case EPOCH_MILLIS -> Optional.of(Reason.VALUES_ARE_EPOCH_MILLIS);\n case EPOCH_SECONDS -> Optional.of(Reason.VALUES_ARE_EPOCH_SECONDS);\n case NOT_A_DATE -> Optional.empty();\n };\n }\n\n /**\n * The period the documents of the index actually cover, taken from their timestamps.\n *

\n * The index range would be the obvious source, but a write index carries a placeholder range until it is set\n * read-only, see {@code MongoIndexSet#addDeflectorIndexRange}. The timestamp field is the one thing every\n * message has, so its own range says when the index was written.\n *\n * @return the period, or {@code null} if the index holds no messages at all\n * @throws IllegalStateException if the index holds messages but no period can be read from them. Not knowing\n * when an index was written is not the same as knowing its fields are fine, so\n * this has to fail rather than pass the index set as done.\n */\n @Nullable\n private NumericDateFieldClassifier.IndexPeriod dataPeriod(String index) {\n final var stats = fieldStats(index, Message.FIELD_TIMESTAMP);\n if (stats.count() <= 0) {\n // An empty index. Every index set has one right after a rotation, and a newly created one has nothing\n // else, so this is normal and not a failure.\n return null;\n }\n if (!Double.isFinite(stats.min()) || !Double.isFinite(stats.max())) {\n throw new IllegalStateException(f(\n \"Index <%s> holds %d message(s) but no usable timestamp range, so its numeric fields cannot \"\n + \"be judged\", index, stats.count()));\n }\n return new NumericDateFieldClassifier.IndexPeriod((long) stats.min(), (long) stats.max());\n }\n\n private FieldStatsResult fieldStats(String index, String fieldName) {\n final TimeRange allTime = RelativeRange.allTime();\n return searchesAdapter.fieldStats(\"*\", null, allTime, Set.of(index), fieldName, false, true, true);\n }\n\n public enum Reason {\n CONFIGURED_AS_DATE_BUT_MAPPED_NUMERICALLY(\"it is configured as a date but this index still maps it numerically\"),\n MAPPED_AS_DATE_IN_OLDER_INDEX(\"it is mapped as a date in an older index of the same index set\"),\n VALUES_ARE_EPOCH_MILLIS(\"its values are epoch milliseconds\"),\n VALUES_ARE_EPOCH_SECONDS(\"its values are fractional epoch seconds\");\n\n private final String description;\n\n Reason(String description) {\n this.description = description;\n }\n\n public String description() {\n return description;\n }\n }\n\n public record Finding(String fieldName, String physicalType, Reason reason) {\n public String describe() {\n return f(\"%s (mapped as %s, %s)\", fieldName, physicalType, reason.description());\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/fb68604e1a0a77a3de8d0889b7e4cd28e5dcd21f.json b/web/public/bundles/graylog/code/fb68604e1a0a77a3de8d0889b7e4cd28e5dcd21f.json new file mode 100644 index 00000000..2609c2d8 --- /dev/null +++ b/web/public/bundles/graylog/code/fb68604e1a0a77a3de8d0889b7e4cd28e5dcd21f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "fb68604e1a0a77a3de8d0889b7e4cd28e5dcd21f", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20190730000000_CreateDefaultEventsConfiguration.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog2.migrations;\n\nimport org.graylog.events.configuration.EventsConfiguration;\nimport org.graylog.events.configuration.EventsConfigurationProvider;\nimport org.graylog2.plugin.cluster.ClusterConfigService;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport jakarta.inject.Inject;\n\nimport java.time.ZonedDateTime;\nimport java.util.Optional;\n\npublic class V20190730000000_CreateDefaultEventsConfiguration extends Migration {\n private static final Logger LOG = LoggerFactory.getLogger(V20190730000000_CreateDefaultEventsConfiguration.class);\n\n private final EventsConfigurationProvider configProvider;\n private final ClusterConfigService clusterConfigService;\n\n @Inject\n public V20190730000000_CreateDefaultEventsConfiguration(EventsConfigurationProvider configProvider,\n ClusterConfigService clusterConfigService) {\n this.configProvider = configProvider;\n this.clusterConfigService = clusterConfigService;\n }\n\n @Override\n public ZonedDateTime createdAt() {\n return ZonedDateTime.parse(\"2019-07-30T00:00:00Z\");\n }\n\n @Override\n public void upgrade() {\n final Optional config = configProvider.loadFromDatabase();\n if (config.isPresent()) {\n LOG.debug(\"Found events configuration, no migration necessary.\");\n return;\n }\n try {\n final EventsConfiguration defaultConfig = configProvider.getDefaultConfig();\n clusterConfigService.write(defaultConfig);\n LOG.debug(\"Create default events configuration: {}\", defaultConfig);\n } catch (Exception e) {\n LOG.error(\"Unable to write default events configuration\", e);\n }\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/fbfd907b14b6b5d62970488ff49b80c36a2630fb.json b/web/public/bundles/graylog/code/fbfd907b14b6b5d62970488ff49b80c36a2630fb.json new file mode 100644 index 00000000..63f06e9b --- /dev/null +++ b/web/public/bundles/graylog/code/fbfd907b14b6b5d62970488ff49b80c36a2630fb.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "fbfd907b14b6b5d62970488ff49b80c36a2630fb", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/aws/inputs/cloudtrail/api/requests/CloudTrailRequest.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.aws.inputs.cloudtrail.api.requests;\n\nimport com.fasterxml.jackson.annotation.JsonAutoDetect;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport org.graylog2.security.encryption.EncryptedValue;\n\nimport javax.annotation.Nullable;\n\n/**\n * This interface holds user input request for CloudTrail.\n */\n@JsonAutoDetect\npublic interface CloudTrailRequest {\n String AWS_ACCESS_ID = \"aws_access_key\";\n String AWS_SECRET_KEY = \"aws_secret_key\";\n String AWS_SQS_QUEUE_NAME = \"aws_sqs_queue_name\";\n String AWS_SQS_REGION = \"aws_sqs_region\";\n String AWS_S3_REGION = \"aws_s3_region\";\n String ASSUME_ROLE_ARN = \"assume_role_arn\";\n String AWS_EXTERNAL_ID = \"aws_external_id\";\n\n @Nullable\n @JsonProperty(AWS_ACCESS_ID)\n String accessKeyId();\n\n @Nullable\n @JsonProperty(AWS_SECRET_KEY)\n EncryptedValue secretAccessKey();\n\n @Nullable\n @JsonProperty(AWS_SQS_QUEUE_NAME)\n String sqsQueueName();\n\n @Nullable\n @JsonProperty(AWS_SQS_REGION)\n String sqsRegion();\n\n @Nullable\n @JsonProperty(AWS_S3_REGION)\n String s3Region();\n\n @Nullable\n @JsonProperty(ASSUME_ROLE_ARN)\n String assumeRoleArn();\n\n @Nullable\n @JsonProperty(AWS_EXTERNAL_ID)\n String externalId();\n\n interface Builder {\n\n @JsonProperty(AWS_ACCESS_ID)\n SELF accessKeyId(String accessId);\n\n @JsonProperty(AWS_SECRET_KEY)\n SELF secretAccessKey(EncryptedValue secretAccessKey);\n\n @JsonProperty(AWS_SQS_QUEUE_NAME)\n SELF sqsQueueName(String sqsQueueName);\n\n @JsonProperty(AWS_SQS_REGION)\n SELF sqsRegion(String sqsRegion);\n\n @JsonProperty(AWS_S3_REGION)\n SELF s3Region(String s3Region);\n\n @JsonProperty(ASSUME_ROLE_ARN)\n SELF assumeRoleArn(String assumeRoleArn);\n\n @JsonProperty(AWS_EXTERNAL_ID)\n SELF externalId(String externalId);\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/fc32f6dda073bb22ab41bfff6caf8faf464bcaa2.json b/web/public/bundles/graylog/code/fc32f6dda073bb22ab41bfff6caf8faf464bcaa2.json new file mode 100644 index 00000000..9f841a27 --- /dev/null +++ b/web/public/bundles/graylog/code/fc32f6dda073bb22ab41bfff6caf8faf464bcaa2.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "fc32f6dda073bb22ab41bfff6caf8faf464bcaa2", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/aws/inputs/cloudtrail/external/CloudTrailClientFactory.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.aws.inputs.cloudtrail.external;\n\nimport com.google.common.annotations.VisibleForTesting;\nimport jakarta.annotation.Nullable;\nimport jakarta.inject.Inject;\nimport jakarta.ws.rs.BadRequestException;\nimport org.graylog.aws.AWSProxyConfigurationProvider;\nimport org.graylog.integrations.common.CheckCredentialsResponse;\nimport org.graylog2.plugin.InputFailureRecorder;\nimport org.graylog2.shared.utilities.ExceptionUtils;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport software.amazon.awssdk.auth.credentials.AwsCredentialsProvider;\nimport software.amazon.awssdk.regions.Region;\nimport software.amazon.awssdk.services.sqs.SqsClient;\nimport software.amazon.awssdk.services.sqs.model.ReceiveMessageRequest;\n\nimport java.net.URI;\n\n/**\n * Factory for creating CloudTrail AWS clients.\n */\npublic class CloudTrailClientFactory {\n private static final Logger LOG = LoggerFactory.getLogger(CloudTrailClientFactory.class);\n private final AWSProxyConfigurationProvider proxyConfigurationProvider;\n\n @Inject\n public CloudTrailClientFactory(AWSProxyConfigurationProvider proxyConfigurationProvider) {\n this.proxyConfigurationProvider = proxyConfigurationProvider;\n }\n\n /**\n * Check if the provided AWS credentials are valid by attempting to receive\n * messages from the specified SQS queue.\n *\n * @param sqsQueueName The URL of the SQS queue to check\n * @param credentialsProvider AWS credentials provider\n * @param awsRegion AWS region\n * @return the result of the credentials check\n * @throws Exception if the credentials are invalid or an error occurs\n */\n public CheckCredentialsResponse checkCredentials(String sqsQueueName, AwsCredentialsProvider credentialsProvider, String awsRegion) throws Exception {\n try {\n try (SqsClient client = SqsClient.builder()\n .httpClientBuilder(proxyConfigurationProvider.get())\n .credentialsProvider(credentialsProvider)\n .region(Region.of(awsRegion))\n .build()) {\n ReceiveMessageRequest receiveMessageRequest = ReceiveMessageRequest.builder()\n .queueUrl(sqsQueueName)\n .maxNumberOfMessages(5)\n .build();\n client.receiveMessage(receiveMessageRequest);\n }\n return CheckCredentialsResponse.VALID;\n } catch (Exception e) {\n LOG.error(\"AWS Cloudtrail credentials invalid {}\", ExceptionUtils.getRootCauseMessage(e));\n throw new BadRequestException(ExceptionUtils.getRootCauseMessage(e));\n }\n }\n\n public CloudTrailS3Client getS3Client(String awsRegion, AwsCredentialsProvider credentialsProvider,\n InputFailureRecorder inputFailureRecorder) {\n return getS3Client(null, awsRegion, credentialsProvider, inputFailureRecorder);\n }\n\n @VisibleForTesting\n CloudTrailS3Client getS3Client(@Nullable URI endpoint, String awsRegion, AwsCredentialsProvider credentialsProvider,\n InputFailureRecorder inputFailureRecorder) {\n return new CloudTrailS3Client(endpoint, awsRegion, credentialsProvider, inputFailureRecorder, proxyConfigurationProvider.get());\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/fc4695275349642db3f3c996dcb1f99cb419c056.json b/web/public/bundles/graylog/code/fc4695275349642db3f3c996dcb1f99cb419c056.json new file mode 100644 index 00000000..a233f655 --- /dev/null +++ b/web/public/bundles/graylog/code/fc4695275349642db3f3c996dcb1f99cb419c056.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "fc4695275349642db3f3c996dcb1f99cb419c056", + "language": "java", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/OpenSearch3Metadata.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.storage.opensearch3;\n\nimport org.graylog2.plugin.PluginMetaData;\nimport org.graylog2.plugin.ServerStatus;\nimport org.graylog2.plugin.Version;\n\nimport java.net.URI;\nimport java.util.Collections;\nimport java.util.Set;\n\npublic class OpenSearch3Metadata implements PluginMetaData {\n @Override\n public String getUniqueId() {\n return OpenSearch3Plugin.class.getCanonicalName();\n }\n\n @Override\n public String getName() {\n return \"OpenSearch 3 Support\";\n }\n\n @Override\n public String getAuthor() {\n return \"Graylog, Inc.\";\n }\n\n @Override\n public URI getURL() {\n return URI.create(\"https://www.graylog.org\");\n }\n\n @Override\n public Version getVersion() {\n return Version.CURRENT_CLASSPATH;\n }\n\n @Override\n public String getDescription() {\n return \"Support for OpenSearch 3\";\n }\n\n @Override\n public Version getRequiredVersion() {\n return Version.CURRENT_CLASSPATH;\n }\n\n @Override\n public Set getRequiredCapabilities() {\n return Collections.emptySet();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/fc7b088287a49324862b3914e34f9fbd01fa5b32.json b/web/public/bundles/graylog/code/fc7b088287a49324862b3914e34f9fbd01fa5b32.json new file mode 100644 index 00000000..f402f121 --- /dev/null +++ b/web/public/bundles/graylog/code/fc7b088287a49324862b3914e34f9fbd01fa5b32.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "fc7b088287a49324862b3914e34f9fbd01fa5b32", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/rulebuilder/db/migrations/V20220522125200_AddSetGrokToFieldsExtractorFragments.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.pipelineprocessor.rulebuilder.db.migrations;\n\nimport com.google.common.collect.ImmutableList;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.FunctionDescriptor;\nimport org.graylog.plugins.pipelineprocessor.rulebuilder.RuleBuilderFunctionGroup;\nimport org.graylog.plugins.pipelineprocessor.rulebuilder.db.RuleFragment;\nimport org.graylog.plugins.pipelineprocessor.rulebuilder.db.RuleFragmentService;\nimport org.graylog2.migrations.Migration;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport jakarta.inject.Inject;\n\nimport java.time.ZonedDateTime;\n\nimport static org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor.bool;\nimport static org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor.string;\n\npublic class V20220522125200_AddSetGrokToFieldsExtractorFragments extends Migration {\n private static final Logger log = LoggerFactory.getLogger(V20220522125200_AddSetGrokToFieldsExtractorFragments.class);\n private final RuleFragmentService ruleFragmentService;\n\n @Inject\n public V20220522125200_AddSetGrokToFieldsExtractorFragments(RuleFragmentService ruleFragmentService) {\n this.ruleFragmentService = ruleFragmentService;\n }\n\n @Override\n public ZonedDateTime createdAt() {\n return ZonedDateTime.parse(\"2023-05-22T12:52:00Z\");\n }\n\n @Override\n public void upgrade() {\n log.debug(\"Adding set_grok_to_fields extractor fragments via migration\");\n\n ruleFragmentService.upsert(createSetGrokToFieldsFragment());\n\n log.debug(\"set_grok_to_fields fragment was successfully added\");\n }\n\n static RuleFragment createSetGrokToFieldsFragment() {\n return RuleFragment.builder()\n .fragment(\"\"\"\n let gl2_fragment_grok_results = grok(\n pattern: ${grokPattern},\n value: to_string($message.${field})<#if grokNamedOnly??>,\n only_named_captures: ${grokNamedOnly?c}\n );\n set_fields(\n fields: gl2_fragment_grok_results<#if prefix??>,\n prefix: ${prefix!\"\"}<#if suffix??>,\n suffix: ${suffix!\"\"}\n );\"\"\")\n .descriptor(FunctionDescriptor.builder()\n .name(\"set_grok_to_fields\")\n .params(ImmutableList.of(\n string(\"field\").description(\"Field to extract and apply grok pattern to\").build(),\n string(\"grokPattern\").description(\"Grok pattern to apply\").build(),\n bool(\"grokNamedOnly\").optional().description(\"Set to true to only set fields for named captures\").build(),\n string(\"prefix\").optional().description(\"Prefix for created fields\").build(),\n string(\"suffix\").optional().description(\"Suffix for created fields\").build()\n ))\n .returnType(Void.class)\n .description(\"Match grok pattern and set fields\")\n .ruleBuilderEnabled()\n .ruleBuilderName(\"Extract grok to fields\")\n .ruleBuilderTitle(\"Match grok pattern '${grokPattern}' on field '${field}' and set fields for matches\")\n .ruleBuilderFunctionGroup(RuleBuilderFunctionGroup.EXTRACTORS)\n .build())\n .build();\n }\n\n}\n" +} diff --git a/web/public/bundles/graylog/code/fd0ef33eca6191e80cc0a14b30ebd47d7b162a81.json b/web/public/bundles/graylog/code/fd0ef33eca6191e80cc0a14b30ebd47d7b162a81.json new file mode 100644 index 00000000..afc28194 --- /dev/null +++ b/web/public/bundles/graylog/code/fd0ef33eca6191e80cc0a14b30ebd47d7b162a81.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "fd0ef33eca6191e80cc0a14b30ebd47d7b162a81", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/rest/remote/SearchJobsStatusResource.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.views.search.rest.remote;\n\nimport io.swagger.v3.oas.annotations.Operation;\nimport io.swagger.v3.oas.annotations.Parameter;\nimport io.swagger.v3.oas.annotations.tags.Tag;\nimport jakarta.inject.Inject;\nimport jakarta.validation.constraints.NotBlank;\nimport jakarta.ws.rs.Consumes;\nimport jakarta.ws.rs.DELETE;\nimport jakarta.ws.rs.DefaultValue;\nimport jakarta.ws.rs.GET;\nimport jakarta.ws.rs.Path;\nimport jakarta.ws.rs.PathParam;\nimport jakarta.ws.rs.Produces;\nimport jakarta.ws.rs.QueryParam;\nimport jakarta.ws.rs.container.AsyncResponse;\nimport jakarta.ws.rs.container.Suspended;\nimport jakarta.ws.rs.core.Context;\nimport jakarta.ws.rs.core.HttpHeaders;\nimport jakarta.ws.rs.core.MediaType;\nimport jakarta.ws.rs.core.Response;\nimport okhttp3.ResponseBody;\nimport org.apache.shiro.authz.annotation.RequiresAuthentication;\nimport org.graylog.plugins.views.search.permissions.SearchUser;\nimport org.graylog2.audit.jersey.NoAuditEvent;\nimport org.graylog2.cluster.NodeService;\nimport org.graylog2.plugin.rest.PluginRestResource;\nimport org.graylog2.rest.RemoteInterfaceProvider;\nimport org.graylog2.rest.RestTools;\nimport org.graylog2.shared.rest.PublicCloudAPI;\nimport org.graylog2.shared.rest.resources.ProxiedResource;\n\nimport java.io.IOException;\nimport java.util.concurrent.ExecutorService;\n\nimport static org.graylog.plugins.views.search.rest.SearchResource.SEARCH_FORMAT_V1;\n\n@PublicCloudAPI\n@Tag(name = \"SearchJobs\")\n@Path(\"/views/searchjobs\")\n@Produces(MediaType.APPLICATION_JSON)\n@Consumes({MediaType.APPLICATION_JSON})\n@RequiresAuthentication\npublic class SearchJobsStatusResource extends ProxiedResource implements PluginRestResource {\n\n @Inject\n public SearchJobsStatusResource(@Context HttpHeaders httpHeaders,\n NodeService nodeService,\n RemoteInterfaceProvider remoteInterfaceProvider,\n ExecutorService executorService) {\n super(httpHeaders, nodeService, remoteInterfaceProvider, executorService);\n }\n\n @GET\n @Operation(summary = \"Retrieve the status of an executed query\")\n @Path(\"{nodeId}/{jobId}/status\")\n @Produces({MediaType.APPLICATION_JSON, SEARCH_FORMAT_V1})\n public void asyncSearchJobStatus(@Parameter(name = \"jobId\", required = true) @NotBlank @PathParam(\"jobId\") String jobId,\n @Parameter(name = \"nodeId\", required = true) @NotBlank @PathParam(\"nodeId\") String nodeId,\n @Parameter(name = \"page\") @QueryParam(\"page\") @DefaultValue(\"0\") int page,\n @Parameter(name = \"per_page\") @QueryParam(\"per_page\") @DefaultValue(\"0\") int perPage,\n @Context SearchUser searchUser,\n @Suspended AsyncResponse asyncResponse) {\n processAsync(asyncResponse,\n () -> {\n try {\n final NodeResponse nodeResponse = requestOnNode(nodeId, r -> r.jobStatus(jobId, page, perPage), RemoteSearchJobsStatusInterface.class);\n return RestTools.streamResponse(nodeResponse, MediaType.APPLICATION_JSON, null);\n } catch (IOException e) {\n return Response.serverError().entity(e.getMessage()).build();\n }\n }\n );\n }\n\n @DELETE\n @Operation(summary = \"Cancels search job\")\n @Path(\"{nodeId}/{jobId}/cancel\")\n @Produces({MediaType.APPLICATION_JSON})\n @NoAuditEvent(\"this is a proxy resource, the event will be triggered on the individual nodes\")\n public void cancelAsyncSearchJob(@Parameter(name = \"jobId\", required = true) @NotBlank @PathParam(\"jobId\") String jobId,\n @Parameter(name = \"nodeId\", required = true) @NotBlank @PathParam(\"nodeId\") String nodeId,\n @Context SearchUser searchUser,\n @Suspended AsyncResponse asyncResponse) {\n processAsync(asyncResponse,\n () -> {\n try {\n final NodeResponse nodeResponse = requestOnNode(nodeId, r -> r.cancelJob(jobId), RemoteSearchJobsStatusInterface.class);\n return Response.status(Response.Status.fromStatusCode(nodeResponse.code())).build();\n } catch (IOException e) {\n return Response.serverError().entity(e.getMessage()).build();\n }\n }\n );\n }\n}\n" +} diff --git a/web/public/bundles/graylog/code/fd92a435a8f131f36e0cebc1c4da0ff80b941234.json b/web/public/bundles/graylog/code/fd92a435a8f131f36e0cebc1c4da0ff80b941234.json new file mode 100644 index 00000000..15f21cef --- /dev/null +++ b/web/public/bundles/graylog/code/fd92a435a8f131f36e0cebc1c4da0ff80b941234.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "fd92a435a8f131f36e0cebc1c4da0ff80b941234", + "language": "typescript", + "path": "graylog2-web-interface/src/pages/NodeInputsPage.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\n\nimport { Row, Col } from 'components/bootstrap';\nimport { Link, DocumentTitle, PageHeader, Spinner } from 'components/common';\nimport Routes from 'routing/Routes';\nimport withParams from 'routing/withParams';\nimport { NodesStore } from 'stores/nodes/NodesStore';\nimport useParams from 'routing/useParams';\nimport { useStore } from 'stores/connect';\nimport useProductName from 'brand-customization/useProductName';\nimport { InputsOverview } from 'components/inputs/InputsOveriew';\nimport useInputTypes from 'hooks/useInputTypes';\nimport useInputTypesDescriptions from 'hooks/useInputTypesDescriptions';\n\nconst NodeInputsPage = () => {\n const productName = useProductName();\n const { nodeId } = useParams();\n const { data: inputTypes, isLoading: isLoadingInputTypes } = useInputTypes();\n const { data: inputTypeDescriptions, isLoading: isLoadingInputTypesDescriptions } = useInputTypesDescriptions();\n\n const { nodes } = useStore(NodesStore);\n const node = nodes?.[nodeId];\n\n if (!node || isLoadingInputTypes || isLoadingInputTypesDescriptions) {\n return ;\n }\n\n const title = (\n \n Inputs of node {node.short_node_id} / {node.hostname}\n \n );\n\n return (\n \n

\n \n \n {productName} nodes accept data via inputs. On this page you can see which inputs are running on this\n specific node.\n
\n You can launch and terminate inputs on your cluster here.\n
\n
\n \n \n

Local Inputs

\n \n \n
\n \n \n

Global Inputs

\n \n \n
\n
\n \n );\n};\n\nexport default withParams(NodeInputsPage);\n" +} diff --git a/web/public/bundles/graylog/code/fde326426dc98bd945e4d416b92209a4b7bf8d97.json b/web/public/bundles/graylog/code/fde326426dc98bd945e4d416b92209a4b7bf8d97.json new file mode 100644 index 00000000..b9736c32 --- /dev/null +++ b/web/public/bundles/graylog/code/fde326426dc98bd945e4d416b92209a4b7bf8d97.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "fde326426dc98bd945e4d416b92209a4b7bf8d97", + "language": "typescript", + "path": "graylog2-web-interface/src/views/components/FormattedValue.tsx", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport trim from 'lodash/trim';\nimport trunc from 'lodash/truncate';\n\nimport type FieldType from 'views/logic/fieldtypes/FieldType';\nimport type { ValueRenderer } from 'views/components/messagelist/decoration/ValueRenderer';\nimport stringify from 'util/stringify';\nimport EmptyValue from 'views/components/EmptyValue';\n\ntype Props = {\n field: string;\n value: any;\n truncate: boolean;\n render: ValueRenderer;\n type: FieldType;\n};\nconst FormattedValue = ({ field, value, truncate, render, type }: Props) => {\n const stringified = stringify(value);\n const Component = render;\n\n return trim(stringified) === '' ? (\n \n ) : (\n \n );\n};\n\nexport default FormattedValue;\n" +} diff --git a/web/public/bundles/graylog/code/ffefab00ad141e19c2c5831b6ae544a136cbd829.json b/web/public/bundles/graylog/code/ffefab00ad141e19c2c5831b6ae544a136cbd829.json new file mode 100644 index 00000000..f474be59 --- /dev/null +++ b/web/public/bundles/graylog/code/ffefab00ad141e19c2c5831b6ae544a136cbd829.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "ffefab00ad141e19c2c5831b6ae544a136cbd829", + "language": "java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/functions/messages/CloneMessage.java", + "schema": "codexray.code/1", + "text": "/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\npackage org.graylog.plugins.pipelineprocessor.functions.messages;\n\nimport com.google.common.collect.ImmutableList;\nimport com.google.common.collect.Maps;\nimport jakarta.inject.Inject;\nimport org.apache.commons.lang3.ObjectUtils;\nimport org.graylog.plugins.pipelineprocessor.EvaluationContext;\nimport org.graylog.plugins.pipelineprocessor.ast.Rule;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.AbstractFunction;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.FunctionArgs;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.FunctionDescriptor;\nimport org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor;\nimport org.graylog.plugins.pipelineprocessor.rulebuilder.RuleBuilderFunctionGroup;\nimport org.graylog2.plugin.Message;\nimport org.graylog2.plugin.MessageFactory;\nimport org.graylog2.shared.utilities.StringUtils;\n\nimport java.util.Objects;\nimport java.util.Optional;\n\nimport static org.graylog.plugins.pipelineprocessor.ast.functions.ParameterDescriptor.type;\n\npublic class CloneMessage extends AbstractFunction {\n public static final String NAME = \"clone_message\";\n\n private static final String CLONE_SOURCE = \"gl2_clone_source_rule\";\n private static final String CLONE_NUMBER = \"gl2_clone_number\";\n static final int MAX_CLONES = 100;\n\n private final ParameterDescriptor messageParam;\n private final ParameterDescriptor loopDetectionParam;\n private final MessageFactory messageFactory;\n\n @Inject\n public CloneMessage(MessageFactory messageFactory) {\n this.messageFactory = messageFactory;\n loopDetectionParam = ParameterDescriptor.bool(\"preventLoops\").optional().description(\"Detects if a cloned message is processed by the same rule again, in order to prevent loops. Defaults to 'false', but will not allow more than \" + MAX_CLONES + \" clones if not explicitly set.\").build();\n messageParam = type(\"message\", Message.class).optional().description(\"The message to use, defaults to '$message'\").build();\n }\n\n @Override\n public Message evaluate(FunctionArgs args, EvaluationContext context) {\n final Message currentMessage = messageParam.optional(args, context).orElse(context.currentMessage());\n final Optional preventLoops = loopDetectionParam.optional(args, context);\n\n int cloneNumber = (int) currentMessage.getMetadataValue(CLONE_NUMBER, 0);\n\n final Rule cloneSource = (Rule) currentMessage.getMetadataValue(CLONE_SOURCE);\n final Rule rule = context.getRule();\n if (ObjectUtils.allNotNull(cloneSource, rule) && Objects.equals(cloneSource, rule)) { // message was cloned by the same rule before\n\n if (preventLoops.orElse(false)) {\n return null;\n }\n\n if (preventLoops.isEmpty() && cloneNumber >= MAX_CLONES) {\n throw new IllegalStateException(\n StringUtils.f(\"Message was cloned more than %d times by rule '%s'. Not allowing any more \" +\n \"clones to prevent a potential endless loop. If this was intentional, please \" +\n \"explicitly set the 'preventLoops' parameter to 'false'.\",\n MAX_CLONES, cloneSource.name()));\n }\n\n }\n\n final Message clonedMessage = messageFactory.createMessage(currentMessage.getMessage(), currentMessage.getSource(), currentMessage.getTimestamp());\n clonedMessage.addFields(Maps.filterKeys(currentMessage.getFields(), key -> !Message.FIELD_ID.equals(key)));\n clonedMessage.addStreams(currentMessage.getStreams());\n if (rule != null) {\n clonedMessage.setMetadata(CLONE_SOURCE, rule);\n }\n clonedMessage.setMetadata(CLONE_NUMBER, ++cloneNumber);\n\n // register in context so the processor can inject it later on\n context.addCreatedMessage(clonedMessage);\n return clonedMessage;\n }\n\n @Override\n public FunctionDescriptor descriptor() {\n return FunctionDescriptor.builder()\n .name(NAME)\n .params(ImmutableList.of(messageParam, loopDetectionParam))\n .returnType(Message.class)\n .description(\"Clones a message. If no specific message is provided, it clones the currently processed message\")\n .ruleBuilderEnabled()\n .ruleBuilderName(\"Clone message\")\n .ruleBuilderTitle(\"Clone message\")\n .ruleBuilderFunctionGroup(RuleBuilderFunctionGroup.MESSAGE)\n .build();\n }\n}\n" +} diff --git a/web/public/bundles/graylog/findings.json b/web/public/bundles/graylog/findings.json index 5bac0945..42d7c422 100644 --- a/web/public/bundles/graylog/findings.json +++ b/web/public/bundles/graylog/findings.json @@ -716,7 +716,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -1493,7 +1493,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -2267,7 +2267,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -2480,7 +2480,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -2992,7 +2992,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -3210,7 +3210,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -3444,7 +3444,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -3661,7 +3661,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -3888,7 +3888,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -4105,7 +4105,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -4898,7 +4898,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -5097,7 +5097,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -5874,7 +5874,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -6104,7 +6104,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -6892,7 +6892,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -7671,7 +7671,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -8447,7 +8447,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -9231,7 +9231,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -10004,7 +10004,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -10236,7 +10236,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -11014,7 +11014,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -11788,7 +11788,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -12564,7 +12564,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -12785,7 +12785,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -13565,7 +13565,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -14340,7 +14340,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -14539,7 +14539,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -15054,7 +15054,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -15269,7 +15269,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -15647,7 +15647,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -15852,7 +15852,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -16599,7 +16599,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -16814,7 +16814,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -17124,7 +17124,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -17343,7 +17343,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -17738,7 +17738,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -18516,7 +18516,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -18729,7 +18729,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -19508,7 +19508,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -19740,7 +19740,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -20511,7 +20511,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -20715,7 +20715,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -21110,7 +21110,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -21747,7 +21747,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -22464,7 +22464,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -22821,7 +22821,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -23043,7 +23043,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -23265,7 +23265,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -23468,7 +23468,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -23706,7 +23706,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -24084,7 +24084,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -24830,7 +24830,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -25031,7 +25031,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -25232,7 +25232,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -25433,7 +25433,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -25944,7 +25944,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -26148,7 +26148,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -26356,7 +26356,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -26559,7 +26559,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -27227,7 +27227,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -27808,7 +27808,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -28114,7 +28114,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -28339,7 +28339,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -28964,7 +28964,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -29179,7 +29179,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -29379,7 +29379,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -29581,7 +29581,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -29840,7 +29840,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -30060,7 +30060,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -30644,7 +30644,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -30950,7 +30950,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -31153,7 +31153,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -31352,7 +31352,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -31567,7 +31567,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -31945,7 +31945,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -32187,7 +32187,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -32390,7 +32390,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -33043,7 +33043,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -33258,7 +33258,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -33466,7 +33466,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -33674,7 +33674,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -33896,7 +33896,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -34335,7 +34335,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -34550,7 +34550,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -34758,7 +34758,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -34974,7 +34974,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -35487,7 +35487,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -35749,7 +35749,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -35968,7 +35968,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -36186,7 +36186,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -36389,7 +36389,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -36852,7 +36852,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -37050,7 +37050,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -37326,7 +37326,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -37544,7 +37544,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -38071,7 +38071,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -38267,7 +38267,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -38486,7 +38486,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -38694,7 +38694,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -39004,7 +39004,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -39297,7 +39297,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -39502,7 +39502,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -39701,7 +39701,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -39914,7 +39914,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -40207,7 +40207,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -40423,7 +40423,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -40639,7 +40639,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -41212,7 +41212,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -41411,7 +41411,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -41607,7 +41607,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -41809,7 +41809,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -42011,7 +42011,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -42213,7 +42213,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -42415,7 +42415,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -42618,7 +42618,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -43106,7 +43106,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -43304,7 +43304,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -43523,7 +43523,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -43714,7 +43714,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -43919,7 +43919,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -44137,7 +44137,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -44576,7 +44576,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -45085,7 +45085,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -45272,7 +45272,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -45463,7 +45463,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -45680,7 +45680,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -45902,7 +45902,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -46375,7 +46375,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -46562,7 +46562,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -46779,7 +46779,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -46982,7 +46982,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -47200,7 +47200,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -47398,7 +47398,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -47620,7 +47620,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -47838,7 +47838,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -48056,7 +48056,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -48410,7 +48410,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -48908,7 +48908,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -49333,7 +49333,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -49531,7 +49531,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -49733,7 +49733,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -49936,7 +49936,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -50135,7 +50135,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -50353,7 +50353,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -50858,7 +50858,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -51331,7 +51331,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -51529,7 +51529,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -51731,7 +51731,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -51933,7 +51933,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -52155,7 +52155,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -52520,7 +52520,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -52718,7 +52718,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -52909,7 +52909,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -53131,7 +53131,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -53496,7 +53496,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -53694,7 +53694,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -53909,7 +53909,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -54123,7 +54123,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -54345,7 +54345,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -54563,7 +54563,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -54750,7 +54750,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -54953,7 +54953,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -55306,7 +55306,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -55524,7 +55524,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -55742,7 +55742,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -55940,7 +55940,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -56162,7 +56162,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -56380,7 +56380,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -56598,7 +56598,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -56963,7 +56963,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -57173,7 +57173,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -57376,7 +57376,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -57575,7 +57575,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -57928,7 +57928,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -58115,7 +58115,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -58306,7 +58306,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -58509,7 +58509,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -58708,7 +58708,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -58926,7 +58926,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -59144,7 +59144,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -59509,7 +59509,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -59687,7 +59687,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -59909,7 +59909,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -60096,7 +60096,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -60287,7 +60287,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -60509,7 +60509,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -60727,7 +60727,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -60945,7 +60945,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, @@ -61163,7 +61163,7 @@ }, "run": { "end_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "snapshot_date": "2026-11-27", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320" }, diff --git a/web/public/bundles/graylog/index.json b/web/public/bundles/graylog/index.json index 2ec92c87..99606807 100644 --- a/web/public/bundles/graylog/index.json +++ b/web/public/bundles/graylog/index.json @@ -9,7 +9,7 @@ "report": "report.json" }, "host_url": "https://github.com/Graylog2/graylog2-server", - "params_hash": "1e285507b98fd92b52c7a643932ee9ec2c899d587fb57436d3d56d6e3b0157a2", + "params_hash": "b98590fc6ea5d6494ba76af6d4426bc3f391877719374c6bb6f839bbeb3d194d", "repo": "Graylog2/graylog2-server", "repo_id": "graylog", "schema": "codexray.bundle/1", diff --git a/web/public/bundles/graylog/map.json b/web/public/bundles/graylog/map.json index f1053c43..d9777795 100644 --- a/web/public/bundles/graylog/map.json +++ b/web/public/bundles/graylog/map.json @@ -584,6 +584,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 31 + }, + { + "blob_sha": "ea326c6a06462464ae14da417c7639bcde7d3277", + "commits": [], + "end_line": 32, + "id": "E4", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/metrics/ConfigureMetricsIndexSettings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "c92ef5d8d45f451c25647d64d6edca2897320a94", + "commits": [], + "end_line": 28, + "id": "E5", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/metrics/NodeMetricsCollector.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "f1de33b3bc2c308b63c31737f82f5369acfa957b", + "commits": [], + "end_line": 23, + "id": "E6", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/opensearch/OpensearchProcess.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "c8ef498d7545d65465480739c52fe069a8c4a97a", + "commits": [], + "end_line": 43, + "id": "E7", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/opensearch/OpensearchProcessImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 43 + }, + { + "blob_sha": "c8ef498d7545d65465480739c52fe069a8c4a97a", + "commits": [], + "end_line": 44, + "id": "E8", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/opensearch/OpensearchProcessImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 44 + }, + { + "blob_sha": "c8ef498d7545d65465480739c52fe069a8c4a97a", + "commits": [], + "end_line": 45, + "id": "E9", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/opensearch/OpensearchProcessImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 45 + }, + { + "blob_sha": "4ce2d3fe8ac0fa2df3f588726bcc38986992fa0d", + "commits": [], + "end_line": 31, + "id": "E10", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/periodicals/MetricsCollector.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 } ], "src": "M:data-node" @@ -686,6 +770,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 23 + }, + { + "blob_sha": "67b1156808cda3ff43158a5bfb06ec0a3507a32a", + "commits": [], + "end_line": 24, + "id": "E4", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/bootstrap/Main.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "67b1156808cda3ff43158a5bfb06ec0a3507a32a", + "commits": [], + "end_line": 25, + "id": "E5", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/bootstrap/Main.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "67b1156808cda3ff43158a5bfb06ec0a3507a32a", + "commits": [], + "end_line": 26, + "id": "E6", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/bootstrap/Main.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "67b1156808cda3ff43158a5bfb06ec0a3507a32a", + "commits": [], + "end_line": 27, + "id": "E7", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/bootstrap/Main.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "67b1156808cda3ff43158a5bfb06ec0a3507a32a", + "commits": [], + "end_line": 28, + "id": "E8", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/bootstrap/Main.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "67b1156808cda3ff43158a5bfb06ec0a3507a32a", + "commits": [], + "end_line": 29, + "id": "E9", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/bootstrap/Main.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "06552767dff3c27716b7c18d4100b46986728b27", + "commits": [], + "end_line": 22, + "id": "E10", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/bootstrap/preflight/DatanodeCertReceiver.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 } ], "src": "M:data-node" @@ -800,6 +968,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 32 + }, + { + "blob_sha": "420cd95c36f164343598468b76eac4a6156ac09e", + "commits": [], + "end_line": 33, + "id": "E4", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/bindings/PreflightChecksBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "420cd95c36f164343598468b76eac4a6156ac09e", + "commits": [], + "end_line": 34, + "id": "E5", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/bindings/PreflightChecksBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "9171e42c322a2c22ee82872f2ff42f155bed5650", + "commits": [], + "end_line": 36, + "id": "E6", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/bootstrap/DatanodeBootstrap.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + }, + { + "blob_sha": "67b1156808cda3ff43158a5bfb06ec0a3507a32a", + "commits": [], + "end_line": 30, + "id": "E7", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/bootstrap/Main.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "67b1156808cda3ff43158a5bfb06ec0a3507a32a", + "commits": [], + "end_line": 31, + "id": "E8", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/bootstrap/Main.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "581c32dade83a6779e33ccedf2ad5190eeb567ca", + "commits": [], + "end_line": 20, + "id": "E9", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/bootstrap/commands/CliCommandHelp.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "f018557705482720cf6914bd5a8733caa85a39ec", + "commits": [], + "end_line": 20, + "id": "E10", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/bootstrap/commands/ShowVersion.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 } ], "src": "M:data-node" @@ -846,6 +1098,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 22 + }, + { + "blob_sha": "58387dcb342667f75ecb9302677f717fe77390ae", + "commits": [], + "end_line": 23, + "id": "E4", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/bindings/DatanodeServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "58387dcb342667f75ecb9302677f717fe77390ae", + "commits": [], + "end_line": 24, + "id": "E5", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/bindings/DatanodeServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "58387dcb342667f75ecb9302677f717fe77390ae", + "commits": [], + "end_line": 25, + "id": "E6", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/bindings/DatanodeServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "420cd95c36f164343598468b76eac4a6156ac09e", + "commits": [], + "end_line": 35, + "id": "E7", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/bindings/PreflightChecksBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + }, + { + "blob_sha": "420cd95c36f164343598468b76eac4a6156ac09e", + "commits": [], + "end_line": 36, + "id": "E8", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/bindings/PreflightChecksBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + }, + { + "blob_sha": "06552767dff3c27716b7c18d4100b46986728b27", + "commits": [], + "end_line": 23, + "id": "E9", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/bootstrap/preflight/DatanodeCertReceiver.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "d0c355b674213de825cd30278218ae8a10ea37e2", + "commits": [], + "end_line": 22, + "id": "E10", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/bootstrap/preflight/PreflightClusterConfigurationModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 } ], "src": "M:data-node" @@ -914,6 +1250,18 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 52 + }, + { + "blob_sha": "c8ef498d7545d65465480739c52fe069a8c4a97a", + "commits": [], + "end_line": 46, + "id": "E4", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/opensearch/OpensearchProcessImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 46 } ], "src": "M:data-node" @@ -994,6 +1342,66 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 48 + }, + { + "blob_sha": "c8ef498d7545d65465480739c52fe069a8c4a97a", + "commits": [], + "end_line": 49, + "id": "E4", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/opensearch/OpensearchProcessImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 49 + }, + { + "blob_sha": "108d39a2a5626f7f743f8a261de73b97d298fed8", + "commits": [], + "end_line": 37, + "id": "E5", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/opensearch/OpensearchProcessService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 37 + }, + { + "blob_sha": "381b78c0bc1b62394da91cc291202bcdf7952a68", + "commits": [], + "end_line": 26, + "id": "E6", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/opensearch/statemachine/tracer/ClusterNodeStateTracer.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "223549f869d376084c48f3a72fb86f57796cfd76", + "commits": [], + "end_line": 28, + "id": "E7", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/rest/ManagementController.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "223549f869d376084c48f3a72fb86f57796cfd76", + "commits": [], + "end_line": 29, + "id": "E8", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/rest/ManagementController.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 } ], "src": "M:data-node" @@ -1040,6 +1448,42 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 27 + }, + { + "blob_sha": "7ff863cad4c5da5f74550989fc80b5eebb402d25", + "commits": [], + "end_line": 27, + "id": "E4", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/opensearch/CertificateReloadVerifier.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "c8ef498d7545d65465480739c52fe069a8c4a97a", + "commits": [], + "end_line": 50, + "id": "E5", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/opensearch/OpensearchProcessImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 50 + }, + { + "blob_sha": "223549f869d376084c48f3a72fb86f57796cfd76", + "commits": [], + "end_line": 30, + "id": "E6", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/rest/ManagementController.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 } ], "src": "M:data-node" @@ -1108,6 +1552,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 36 + }, + { + "blob_sha": "ea326c6a06462464ae14da417c7639bcde7d3277", + "commits": [], + "end_line": 37, + "id": "E4", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/metrics/ConfigureMetricsIndexSettings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 37 + }, + { + "blob_sha": "ea326c6a06462464ae14da417c7639bcde7d3277", + "commits": [], + "end_line": 38, + "id": "E5", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/metrics/ConfigureMetricsIndexSettings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 38 + }, + { + "blob_sha": "ea326c6a06462464ae14da417c7639bcde7d3277", + "commits": [], + "end_line": 39, + "id": "E6", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/metrics/ConfigureMetricsIndexSettings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 39 + }, + { + "blob_sha": "ea326c6a06462464ae14da417c7639bcde7d3277", + "commits": [], + "end_line": 40, + "id": "E7", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/metrics/ConfigureMetricsIndexSettings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 40 + }, + { + "blob_sha": "ea326c6a06462464ae14da417c7639bcde7d3277", + "commits": [], + "end_line": 41, + "id": "E8", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/metrics/ConfigureMetricsIndexSettings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 41 + }, + { + "blob_sha": "ea326c6a06462464ae14da417c7639bcde7d3277", + "commits": [], + "end_line": 42, + "id": "E9", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/metrics/ConfigureMetricsIndexSettings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 42 + }, + { + "blob_sha": "ea326c6a06462464ae14da417c7639bcde7d3277", + "commits": [], + "end_line": 43, + "id": "E10", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/metrics/ConfigureMetricsIndexSettings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 43 } ], "src": "M:data-node" @@ -1278,89 +1806,185 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 39 - } - ], - "src": "M:data-node" - }, - { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", - "how": "import-path", - "id": "M:data-node->M:graylog2-server/src/main/java/org/graylog2/rest", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "84744899219e0b9f25707dc0c972e2d0b0244264", + "blob_sha": "58387dcb342667f75ecb9302677f717fe77390ae", "commits": [], - "end_line": 55, - "id": "E1", + "end_line": 26, + "id": "E4", "kind": "lines", - "path": "data-node/src/main/java/org/graylog/datanode/initializers/JerseyService.java", + "path": "data-node/src/main/java/org/graylog/datanode/bindings/DatanodeServerBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 55 + "start_line": 26 }, { - "blob_sha": "453d4374d9e8f3f1ed0016619cc8704158ca4627", + "blob_sha": "58387dcb342667f75ecb9302677f717fe77390ae", "commits": [], - "end_line": 34, - "id": "E2", + "end_line": 27, + "id": "E5", "kind": "lines", - "path": "data-node/src/main/java/org/graylog/datanode/rest/MetricsController.java", + "path": "data-node/src/main/java/org/graylog/datanode/bindings/DatanodeServerBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 34 + "start_line": 27 }, { - "blob_sha": "453d4374d9e8f3f1ed0016619cc8704158ca4627", + "blob_sha": "58387dcb342667f75ecb9302677f717fe77390ae", "commits": [], - "end_line": 35, - "id": "E3", + "end_line": 28, + "id": "E6", "kind": "lines", - "path": "data-node/src/main/java/org/graylog/datanode/rest/MetricsController.java", + "path": "data-node/src/main/java/org/graylog/datanode/bindings/DatanodeServerBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 35 - } - ], - "src": "M:data-node" - }, - { - "count": 22, - "dst": "M:graylog2-server/src/main/java/org/graylog2/security", - "how": "import-path", - "id": "M:data-node->M:graylog2-server/src/main/java/org/graylog2/security", - "kind": "uses", - "refs": [ + "start_line": 28 + }, { - "blob_sha": "9ae81a8992ae48a0b2d985b24753da2beadd5b2b", + "blob_sha": "58387dcb342667f75ecb9302677f717fe77390ae", "commits": [], - "end_line": 40, - "id": "E1", + "end_line": 29, + "id": "E7", "kind": "lines", - "path": "data-node/src/main/java/org/graylog/datanode/bindings/DatanodeConfigurationBindings.java", + "path": "data-node/src/main/java/org/graylog/datanode/bindings/DatanodeServerBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 40 + "start_line": 29 }, { - "blob_sha": "9ae81a8992ae48a0b2d985b24753da2beadd5b2b", + "blob_sha": "53aea0988a93cb975fd2c1dacdcee63cdef00aa7", "commits": [], - "end_line": 41, - "id": "E2", + "end_line": 24, + "id": "E8", "kind": "lines", - "path": "data-node/src/main/java/org/graylog/datanode/bindings/DatanodeConfigurationBindings.java", + "path": "data-node/src/main/java/org/graylog/datanode/bindings/GenericBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 41 + "start_line": 24 }, { - "blob_sha": "9ae81a8992ae48a0b2d985b24753da2beadd5b2b", + "blob_sha": "b482c5dc85657b83db64db9afb150eff6759191c", + "commits": [], + "end_line": 28, + "id": "E9", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/bindings/PeriodicalBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "02e1365570a0e3f206585eb6c6ac3c64c767faa7", + "commits": [], + "end_line": 23, + "id": "E10", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/bindings/SchedulerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + } + ], + "src": "M:data-node" + }, + { + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", + "how": "import-path", + "id": "M:data-node->M:graylog2-server/src/main/java/org/graylog2/rest", + "kind": "uses", + "refs": [ + { + "blob_sha": "84744899219e0b9f25707dc0c972e2d0b0244264", + "commits": [], + "end_line": 55, + "id": "E1", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/initializers/JerseyService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 55 + }, + { + "blob_sha": "453d4374d9e8f3f1ed0016619cc8704158ca4627", + "commits": [], + "end_line": 34, + "id": "E2", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/rest/MetricsController.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "453d4374d9e8f3f1ed0016619cc8704158ca4627", + "commits": [], + "end_line": 35, + "id": "E3", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/rest/MetricsController.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + }, + { + "blob_sha": "453d4374d9e8f3f1ed0016619cc8704158ca4627", + "commits": [], + "end_line": 36, + "id": "E4", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/rest/MetricsController.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + } + ], + "src": "M:data-node" + }, + { + "count": 22, + "dst": "M:graylog2-server/src/main/java/org/graylog2/security", + "how": "import-path", + "id": "M:data-node->M:graylog2-server/src/main/java/org/graylog2/security", + "kind": "uses", + "refs": [ + { + "blob_sha": "9ae81a8992ae48a0b2d985b24753da2beadd5b2b", + "commits": [], + "end_line": 40, + "id": "E1", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/bindings/DatanodeConfigurationBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 40 + }, + { + "blob_sha": "9ae81a8992ae48a0b2d985b24753da2beadd5b2b", + "commits": [], + "end_line": 41, + "id": "E2", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/bindings/DatanodeConfigurationBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 41 + }, + { + "blob_sha": "9ae81a8992ae48a0b2d985b24753da2beadd5b2b", "commits": [], "end_line": 42, "id": "E3", @@ -1370,6 +1994,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 42 + }, + { + "blob_sha": "53aea0988a93cb975fd2c1dacdcee63cdef00aa7", + "commits": [], + "end_line": 25, + "id": "E4", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/bindings/GenericBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "32a41b61ce36059e5b1a74eb38b4a21912304692", + "commits": [], + "end_line": 24, + "id": "E5", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/bindings/PreflightObjectMapperProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "a6b0e89b5cef418b3e6d3f29b6dad04befb9f1cc", + "commits": [], + "end_line": 32, + "id": "E6", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/bootstrap/preflight/LegacyDatanodeKeystoreProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "a6b0e89b5cef418b3e6d3f29b6dad04befb9f1cc", + "commits": [], + "end_line": 33, + "id": "E7", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/bootstrap/preflight/LegacyDatanodeKeystoreProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "0120256d8c4d7cf11087f1112b24b72f247029f3", + "commits": [], + "end_line": 20, + "id": "E8", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/configuration/DatanodeConfiguration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "f8c08a1e9f480550e4c35a3e0b124dd532d6fe20", + "commits": [], + "end_line": 25, + "id": "E9", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/configuration/DatanodeConfigurationProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "56e6d6f1726b9309b7c1a82140027d66ee0110a6", + "commits": [], + "end_line": 25, + "id": "E10", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/configuration/DatanodeTrustManagerProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 } ], "src": "M:data-node" @@ -1416,6 +2124,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 30 + }, + { + "blob_sha": "53aea0988a93cb975fd2c1dacdcee63cdef00aa7", + "commits": [], + "end_line": 26, + "id": "E4", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/bindings/GenericBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "420cd95c36f164343598468b76eac4a6156ac09e", + "commits": [], + "end_line": 38, + "id": "E5", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/bindings/PreflightChecksBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 38 + }, + { + "blob_sha": "32a41b61ce36059e5b1a74eb38b4a21912304692", + "commits": [], + "end_line": 25, + "id": "E6", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/bindings/PreflightObjectMapperProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "32a41b61ce36059e5b1a74eb38b4a21912304692", + "commits": [], + "end_line": 26, + "id": "E7", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/bindings/PreflightObjectMapperProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "9171e42c322a2c22ee82872f2ff42f155bed5650", + "commits": [], + "end_line": 41, + "id": "E8", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/bootstrap/DatanodeBootstrap.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 41 + }, + { + "blob_sha": "9171e42c322a2c22ee82872f2ff42f155bed5650", + "commits": [], + "end_line": 42, + "id": "E9", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/bootstrap/DatanodeBootstrap.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 42 + }, + { + "blob_sha": "9171e42c322a2c22ee82872f2ff42f155bed5650", + "commits": [], + "end_line": 43, + "id": "E10", + "kind": "lines", + "path": "data-node/src/main/java/org/graylog/datanode/bootstrap/DatanodeBootstrap.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 43 } ], "src": "M:data-node" @@ -1518,6 +2310,66 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 21 + }, + { + "blob_sha": "1569fba38dd81a2d756ededdd6efef882dc600d8", + "commits": [], + "end_line": 19, + "id": "E4", + "kind": "lines", + "path": "graylog-plugin-archetype/src/main/resources/archetype-resources/src/main/java/__pluginClassName__Module.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "1569fba38dd81a2d756ededdd6efef882dc600d8", + "commits": [], + "end_line": 20, + "id": "E5", + "kind": "lines", + "path": "graylog-plugin-archetype/src/main/resources/archetype-resources/src/main/java/__pluginClassName__Module.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "54fc5bdb6433fbd303b506fae29fc9e189c28ab2", + "commits": [], + "end_line": 19, + "id": "E6", + "kind": "lines", + "path": "graylog-plugin-archetype/src/main/resources/archetype-resources/src/main/java/__pluginClassName__Plugin.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "54fc5bdb6433fbd303b506fae29fc9e189c28ab2", + "commits": [], + "end_line": 20, + "id": "E7", + "kind": "lines", + "path": "graylog-plugin-archetype/src/main/resources/archetype-resources/src/main/java/__pluginClassName__Plugin.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "54fc5bdb6433fbd303b506fae29fc9e189c28ab2", + "commits": [], + "end_line": 21, + "id": "E8", + "kind": "lines", + "path": "graylog-plugin-archetype/src/main/resources/archetype-resources/src/main/java/__pluginClassName__Plugin.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 } ], "src": "M:graylog-plugin-archetype/src/main/resources/archetype-resources" @@ -1586,6 +2438,66 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 25 + }, + { + "blob_sha": "209dd4f735b5a8e1d252dd3cf7f8332f120dc7e5", + "commits": [], + "end_line": 26, + "id": "E4", + "kind": "lines", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/MoreSearchAdapterES7.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "209dd4f735b5a8e1d252dd3cf7f8332f120dc7e5", + "commits": [], + "end_line": 27, + "id": "E5", + "kind": "lines", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/MoreSearchAdapterES7.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "209dd4f735b5a8e1d252dd3cf7f8332f120dc7e5", + "commits": [], + "end_line": 28, + "id": "E6", + "kind": "lines", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/MoreSearchAdapterES7.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "209dd4f735b5a8e1d252dd3cf7f8332f120dc7e5", + "commits": [], + "end_line": 29, + "id": "E7", + "kind": "lines", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/MoreSearchAdapterES7.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "9bc3a2f00ab9d9a2b4f9e1333b076bfbc002a0e0", + "commits": [], + "end_line": 22, + "id": "E8", + "kind": "lines", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/views/searchtypes/ESEventList.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 } ], "src": "M:graylog-storage-elasticsearch7" @@ -1632,6 +2544,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 21 + }, + { + "blob_sha": "e74bb88afa658f041ab75abfb6d048c39a340896", + "commits": [], + "end_line": 22, + "id": "E4", + "kind": "lines", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/Elasticsearch7Module.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "e74bb88afa658f041ab75abfb6d048c39a340896", + "commits": [], + "end_line": 23, + "id": "E5", + "kind": "lines", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/Elasticsearch7Module.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "e74bb88afa658f041ab75abfb6d048c39a340896", + "commits": [], + "end_line": 24, + "id": "E6", + "kind": "lines", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/Elasticsearch7Module.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "c076d53e2f412e4545fa7133b74443dcb4f20e63", + "commits": [], + "end_line": 26, + "id": "E7", + "kind": "lines", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/ElasticsearchClient.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "209dd4f735b5a8e1d252dd3cf7f8332f120dc7e5", + "commits": [], + "end_line": 30, + "id": "E8", + "kind": "lines", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/MoreSearchAdapterES7.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "209dd4f735b5a8e1d252dd3cf7f8332f120dc7e5", + "commits": [], + "end_line": 31, + "id": "E9", + "kind": "lines", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/MoreSearchAdapterES7.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "209dd4f735b5a8e1d252dd3cf7f8332f120dc7e5", + "commits": [], + "end_line": 32, + "id": "E10", + "kind": "lines", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/MoreSearchAdapterES7.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 } ], "src": "M:graylog-storage-elasticsearch7" @@ -1678,6 +2674,30 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 43 + }, + { + "blob_sha": "0a9751301aef521aae27eb6b30d53b637218a7ca", + "commits": [], + "end_line": 31, + "id": "E4", + "kind": "lines", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/SearchRequestFactory.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "77aec303ae5201f9d42bc0d983b288c708872506", + "commits": [], + "end_line": 27, + "id": "E5", + "kind": "lines", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/views/export/ExportClient.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 } ], "src": "M:graylog-storage-elasticsearch7" @@ -1846,68 +2866,152 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 23 - } - ], - "src": "M:graylog-storage-elasticsearch7" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/migrations", - "how": "import-path", - "id": "M:graylog-storage-elasticsearch7->M:graylog2-server/src/main/java/org/graylog2/migrations", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "e74bb88afa658f041ab75abfb6d048c39a340896", + "blob_sha": "819f39eb52eaa2163272c458f4a24d11c5e9402f", "commits": [], - "end_line": 48, - "id": "E1", + "end_line": 42, + "id": "E4", "kind": "lines", - "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/Elasticsearch7Module.java", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/ClusterAdapterES7.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 48 + "start_line": 42 }, { - "blob_sha": "791bd4ec917c136cda8297ec3c724302137ec289", + "blob_sha": "819f39eb52eaa2163272c458f4a24d11c5e9402f", "commits": [], - "end_line": 22, - "id": "E2", + "end_line": 43, + "id": "E5", "kind": "lines", - "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/migrations/V20170607164210_MigrateReopenedIndicesToAliasesClusterStateES7.java", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/ClusterAdapterES7.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 - } - ], - "src": "M:graylog-storage-elasticsearch7" - }, - { - "count": 37, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", - "how": "import-path", - "id": "M:graylog-storage-elasticsearch7->M:graylog2-server/src/main/java/org/graylog2/plugin", - "kind": "uses", - "refs": [ + "start_line": 43 + }, { - "blob_sha": "ac0e23d4f2d15567b54f24977368213ba3301705", + "blob_sha": "819f39eb52eaa2163272c458f4a24d11c5e9402f", "commits": [], - "end_line": 26, - "id": "E1", + "end_line": 44, + "id": "E6", "kind": "lines", - "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/CountsAdapterES7.java", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/ClusterAdapterES7.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 44 }, { - "blob_sha": "6acd9347cde57810726873cf85fb9886d3285c35", + "blob_sha": "819f39eb52eaa2163272c458f4a24d11c5e9402f", "commits": [], - "end_line": 19, - "id": "E2", + "end_line": 45, + "id": "E7", + "kind": "lines", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/ClusterAdapterES7.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 45 + }, + { + "blob_sha": "819f39eb52eaa2163272c458f4a24d11c5e9402f", + "commits": [], + "end_line": 46, + "id": "E8", + "kind": "lines", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/ClusterAdapterES7.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 46 + }, + { + "blob_sha": "819f39eb52eaa2163272c458f4a24d11c5e9402f", + "commits": [], + "end_line": 47, + "id": "E9", + "kind": "lines", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/ClusterAdapterES7.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 47 + }, + { + "blob_sha": "819f39eb52eaa2163272c458f4a24d11c5e9402f", + "commits": [], + "end_line": 48, + "id": "E10", + "kind": "lines", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/ClusterAdapterES7.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 48 + } + ], + "src": "M:graylog-storage-elasticsearch7" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/migrations", + "how": "import-path", + "id": "M:graylog-storage-elasticsearch7->M:graylog2-server/src/main/java/org/graylog2/migrations", + "kind": "uses", + "refs": [ + { + "blob_sha": "e74bb88afa658f041ab75abfb6d048c39a340896", + "commits": [], + "end_line": 48, + "id": "E1", + "kind": "lines", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/Elasticsearch7Module.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 48 + }, + { + "blob_sha": "791bd4ec917c136cda8297ec3c724302137ec289", + "commits": [], + "end_line": 22, + "id": "E2", + "kind": "lines", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/migrations/V20170607164210_MigrateReopenedIndicesToAliasesClusterStateES7.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + } + ], + "src": "M:graylog-storage-elasticsearch7" + }, + { + "count": 37, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "how": "import-path", + "id": "M:graylog-storage-elasticsearch7->M:graylog2-server/src/main/java/org/graylog2/plugin", + "kind": "uses", + "refs": [ + { + "blob_sha": "ac0e23d4f2d15567b54f24977368213ba3301705", + "commits": [], + "end_line": 26, + "id": "E1", + "kind": "lines", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/CountsAdapterES7.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "6acd9347cde57810726873cf85fb9886d3285c35", + "commits": [], + "end_line": 19, + "id": "E2", "kind": "lines", "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/Elasticsearch7Metadata.java", "repo": "Graylog2/graylog2-server", @@ -1926,6 +3030,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 20 + }, + { + "blob_sha": "6acd9347cde57810726873cf85fb9886d3285c35", + "commits": [], + "end_line": 21, + "id": "E4", + "kind": "lines", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/Elasticsearch7Metadata.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "e74bb88afa658f041ab75abfb6d048c39a340896", + "commits": [], + "end_line": 49, + "id": "E5", + "kind": "lines", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/Elasticsearch7Module.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 49 + }, + { + "blob_sha": "4f295d194e8926d0e1235219d408f6c18aea0933", + "commits": [], + "end_line": 23, + "id": "E6", + "kind": "lines", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/Elasticsearch7Plugin.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "4f295d194e8926d0e1235219d408f6c18aea0933", + "commits": [], + "end_line": 24, + "id": "E7", + "kind": "lines", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/Elasticsearch7Plugin.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "4f295d194e8926d0e1235219d408f6c18aea0933", + "commits": [], + "end_line": 25, + "id": "E8", + "kind": "lines", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/Elasticsearch7Plugin.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "f39e59e77f27e97d579098162c5c491e41e355bc", + "commits": [], + "end_line": 36, + "id": "E9", + "kind": "lines", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/IndexToolsAdapterES7.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + }, + { + "blob_sha": "f39e59e77f27e97d579098162c5c491e41e355bc", + "commits": [], + "end_line": 37, + "id": "E10", + "kind": "lines", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/IndexToolsAdapterES7.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 37 } ], "src": "M:graylog-storage-elasticsearch7" @@ -1972,6 +3160,42 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 64 + }, + { + "blob_sha": "1bc0ed25aafafe4e3b24e969faae5b3040a1ecbc", + "commits": [], + "end_line": 24, + "id": "E4", + "kind": "lines", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/stats/ClusterStatsApi.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "904c10a9757fc0a3d1562df0086efb03c6c82c8d", + "commits": [], + "end_line": 42, + "id": "E5", + "kind": "lines", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/views/searchtypes/ESMessageList.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 42 + }, + { + "blob_sha": "904c10a9757fc0a3d1562df0086efb03c6c82c8d", + "commits": [], + "end_line": 43, + "id": "E6", + "kind": "lines", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/views/searchtypes/ESMessageList.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 43 } ], "src": "M:graylog-storage-elasticsearch7" @@ -2110,6 +3334,18 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 24 + }, + { + "blob_sha": "0c0bd18b556b30772f559cbbc20d99a20df844b9", + "commits": [], + "end_line": 76, + "id": "E4", + "kind": "lines", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/ViewsESBackendModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 76 } ], "src": "M:graylog-storage-elasticsearch7" @@ -2178,6 +3414,66 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 55 + }, + { + "blob_sha": "819f39eb52eaa2163272c458f4a24d11c5e9402f", + "commits": [], + "end_line": 56, + "id": "E4", + "kind": "lines", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/ClusterAdapterES7.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 56 + }, + { + "blob_sha": "819f39eb52eaa2163272c458f4a24d11c5e9402f", + "commits": [], + "end_line": 57, + "id": "E5", + "kind": "lines", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/ClusterAdapterES7.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 57 + }, + { + "blob_sha": "819f39eb52eaa2163272c458f4a24d11c5e9402f", + "commits": [], + "end_line": 58, + "id": "E6", + "kind": "lines", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/ClusterAdapterES7.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 58 + }, + { + "blob_sha": "819f39eb52eaa2163272c458f4a24d11c5e9402f", + "commits": [], + "end_line": 59, + "id": "E7", + "kind": "lines", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/ClusterAdapterES7.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 59 + }, + { + "blob_sha": "128f3cf9f90c886b77e7f722b2087c47d66c613f", + "commits": [], + "end_line": 30, + "id": "E8", + "kind": "lines", + "path": "graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/RestHighLevelClientProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 } ], "src": "M:graylog-storage-elasticsearch7" @@ -2224,6 +3520,66 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 26 + }, + { + "blob_sha": "c56ead346dd3219ead69f8df6572f5da40a87327", + "commits": [], + "end_line": 27, + "id": "E4", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/MoreSearchAdapterOS2.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "c56ead346dd3219ead69f8df6572f5da40a87327", + "commits": [], + "end_line": 28, + "id": "E5", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/MoreSearchAdapterOS2.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "c56ead346dd3219ead69f8df6572f5da40a87327", + "commits": [], + "end_line": 29, + "id": "E6", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/MoreSearchAdapterOS2.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "c02c54dc5b570ecc460551ab0d322dd954591102", + "commits": [], + "end_line": 22, + "id": "E7", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/OpenSearch2Module.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "978648766e3d1520ae37b74f279eae6e012a7793", + "commits": [], + "end_line": 22, + "id": "E8", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/views/searchtypes/OSEventList.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 } ], "src": "M:graylog-storage-opensearch2" @@ -2270,6 +3626,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 24 + }, + { + "blob_sha": "268c2edeae9184155a07f194386affc21507d7a0", + "commits": [], + "end_line": 25, + "id": "E4", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/DatanodeClusterAdminAdapterOS2.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "268c2edeae9184155a07f194386affc21507d7a0", + "commits": [], + "end_line": 26, + "id": "E5", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/DatanodeClusterAdminAdapterOS2.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "268c2edeae9184155a07f194386affc21507d7a0", + "commits": [], + "end_line": 27, + "id": "E6", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/DatanodeClusterAdminAdapterOS2.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "c56ead346dd3219ead69f8df6572f5da40a87327", + "commits": [], + "end_line": 30, + "id": "E7", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/MoreSearchAdapterOS2.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "c56ead346dd3219ead69f8df6572f5da40a87327", + "commits": [], + "end_line": 31, + "id": "E8", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/MoreSearchAdapterOS2.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "c56ead346dd3219ead69f8df6572f5da40a87327", + "commits": [], + "end_line": 32, + "id": "E9", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/MoreSearchAdapterOS2.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "c02c54dc5b570ecc460551ab0d322dd954591102", + "commits": [], + "end_line": 23, + "id": "E10", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/OpenSearch2Module.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 } ], "src": "M:graylog-storage-opensearch2" @@ -2316,6 +3756,66 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 46 + }, + { + "blob_sha": "434ef0c54ffb9fc74ab7f6d0de80f6e60daabaf4", + "commits": [], + "end_line": 47, + "id": "E4", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/OpenSearchClient.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 47 + }, + { + "blob_sha": "360173be52ac3b4030f81e909749b6866ff4db60", + "commits": [], + "end_line": 44, + "id": "E5", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/QuerySuggestionsOS2.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 44 + }, + { + "blob_sha": "360173be52ac3b4030f81e909749b6866ff4db60", + "commits": [], + "end_line": 45, + "id": "E6", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/QuerySuggestionsOS2.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 45 + }, + { + "blob_sha": "e840ca59429350f0467b5bce1c62f7b5cafaef70", + "commits": [], + "end_line": 31, + "id": "E7", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/SearchRequestFactory.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "13c68956540f2c93ae0cdeec491c18a9e2d99f13", + "commits": [], + "end_line": 26, + "id": "E8", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/views/export/ExportClient.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 } ], "src": "M:graylog-storage-opensearch2" @@ -2384,6 +3884,30 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 26 + }, + { + "blob_sha": "60943cb3d090a50fe6ec255acbca2e36031999cc", + "commits": [], + "end_line": 27, + "id": "E4", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/sniffer/impl/DatanodesSniffer.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "60943cb3d090a50fe6ec255acbca2e36031999cc", + "commits": [], + "end_line": 28, + "id": "E5", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/sniffer/impl/DatanodesSniffer.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 } ], "src": "M:graylog-storage-opensearch2" @@ -2430,6 +3954,54 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 25 + }, + { + "blob_sha": "60943cb3d090a50fe6ec255acbca2e36031999cc", + "commits": [], + "end_line": 29, + "id": "E4", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/sniffer/impl/DatanodesSniffer.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "ae902ae7a9a0266e1a9f19737fde8cfc911974b3", + "commits": [], + "end_line": 23, + "id": "E5", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/sniffer/impl/NodeAttributesFilter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "cf69afc53b2d61ad4655a33efe09ea83da453cfa", + "commits": [], + "end_line": 23, + "id": "E6", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/sniffer/impl/NodeLoggingFilter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "f945cd540c84db7886c28ddbef2a980510ad7f36", + "commits": [], + "end_line": 24, + "id": "E7", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/sniffer/impl/OpensearchClusterSniffer.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 } ], "src": "M:graylog-storage-opensearch2" @@ -2542,13 +4114,97 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 23 - } - ], - "src": "M:graylog-storage-opensearch2" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/migrations", + }, + { + "blob_sha": "6fb57da049ddf4f5f051c6b753230653d1c81ec6", + "commits": [], + "end_line": 43, + "id": "E4", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/ClusterAdapterOS2.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 43 + }, + { + "blob_sha": "6fb57da049ddf4f5f051c6b753230653d1c81ec6", + "commits": [], + "end_line": 44, + "id": "E5", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/ClusterAdapterOS2.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 44 + }, + { + "blob_sha": "6fb57da049ddf4f5f051c6b753230653d1c81ec6", + "commits": [], + "end_line": 45, + "id": "E6", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/ClusterAdapterOS2.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 45 + }, + { + "blob_sha": "6fb57da049ddf4f5f051c6b753230653d1c81ec6", + "commits": [], + "end_line": 46, + "id": "E7", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/ClusterAdapterOS2.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 46 + }, + { + "blob_sha": "6fb57da049ddf4f5f051c6b753230653d1c81ec6", + "commits": [], + "end_line": 47, + "id": "E8", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/ClusterAdapterOS2.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 47 + }, + { + "blob_sha": "6fb57da049ddf4f5f051c6b753230653d1c81ec6", + "commits": [], + "end_line": 48, + "id": "E9", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/ClusterAdapterOS2.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 48 + }, + { + "blob_sha": "6fb57da049ddf4f5f051c6b753230653d1c81ec6", + "commits": [], + "end_line": 49, + "id": "E10", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/ClusterAdapterOS2.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 49 + } + ], + "src": "M:graylog-storage-opensearch2" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/migrations", "how": "import-path", "id": "M:graylog-storage-opensearch2->M:graylog2-server/src/main/java/org/graylog2/migrations", "kind": "uses", @@ -2622,6 +4278,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 38 + }, + { + "blob_sha": "41a74bd484053b59ad8387b3b5a81c33099fe40b", + "commits": [], + "end_line": 89, + "id": "E4", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/IndicesAdapterOS2.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 89 + }, + { + "blob_sha": "c56ead346dd3219ead69f8df6572f5da40a87327", + "commits": [], + "end_line": 63, + "id": "E5", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/MoreSearchAdapterOS2.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 63 + }, + { + "blob_sha": "c56ead346dd3219ead69f8df6572f5da40a87327", + "commits": [], + "end_line": 64, + "id": "E6", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/MoreSearchAdapterOS2.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 64 + }, + { + "blob_sha": "c56ead346dd3219ead69f8df6572f5da40a87327", + "commits": [], + "end_line": 65, + "id": "E7", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/MoreSearchAdapterOS2.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 65 + }, + { + "blob_sha": "122f90cf9bd39d1383b12160e0c0b8959488be03", + "commits": [], + "end_line": 19, + "id": "E8", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/OpenSearch2Metadata.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "122f90cf9bd39d1383b12160e0c0b8959488be03", + "commits": [], + "end_line": 20, + "id": "E9", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/OpenSearch2Metadata.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "122f90cf9bd39d1383b12160e0c0b8959488be03", + "commits": [], + "end_line": 21, + "id": "E10", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/OpenSearch2Metadata.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 } ], "src": "M:graylog-storage-opensearch2" @@ -2668,6 +4408,54 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 66 + }, + { + "blob_sha": "6ba04751864ca43758b0d462205b882d2541eabc", + "commits": [], + "end_line": 31, + "id": "E4", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/ProxyRequestAdapterOS2.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "f7f93fabf570f8859cba4fd877c9bba9165218b1", + "commits": [], + "end_line": 24, + "id": "E5", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/stats/ClusterStatsApi.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "42bc47166a94b2b4a53ba25dd418526ca684ed60", + "commits": [], + "end_line": 42, + "id": "E6", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/views/searchtypes/OSMessageList.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 42 + }, + { + "blob_sha": "42bc47166a94b2b4a53ba25dd418526ca684ed60", + "commits": [], + "end_line": 43, + "id": "E7", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/views/searchtypes/OSMessageList.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 43 } ], "src": "M:graylog-storage-opensearch2" @@ -2794,6 +4582,18 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 23 + }, + { + "blob_sha": "9b286ac055819304f4088d5efc792e4198d89e01", + "commits": [], + "end_line": 34, + "id": "E4", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/ism/IsmApi.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 } ], "src": "M:graylog-storage-opensearch2" @@ -2840,6 +4640,18 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 26 + }, + { + "blob_sha": "e61d4cced0f39b292e246ca91d1cbb479e1b8642", + "commits": [], + "end_line": 79, + "id": "E4", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/ViewsOSBackendModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 79 } ], "src": "M:graylog-storage-opensearch2" @@ -2908,6 +4720,66 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 56 + }, + { + "blob_sha": "6fb57da049ddf4f5f051c6b753230653d1c81ec6", + "commits": [], + "end_line": 57, + "id": "E4", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/ClusterAdapterOS2.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 57 + }, + { + "blob_sha": "6fb57da049ddf4f5f051c6b753230653d1c81ec6", + "commits": [], + "end_line": 58, + "id": "E5", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/ClusterAdapterOS2.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 58 + }, + { + "blob_sha": "6fb57da049ddf4f5f051c6b753230653d1c81ec6", + "commits": [], + "end_line": 59, + "id": "E6", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/ClusterAdapterOS2.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 59 + }, + { + "blob_sha": "6fb57da049ddf4f5f051c6b753230653d1c81ec6", + "commits": [], + "end_line": 60, + "id": "E7", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/ClusterAdapterOS2.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 60 + }, + { + "blob_sha": "a7e3652a3161ebcd89ded4e8b2fb5c913cc8ce0b", + "commits": [], + "end_line": 38, + "id": "E8", + "kind": "lines", + "path": "graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2/RestClientProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 38 } ], "src": "M:graylog-storage-opensearch2" @@ -2954,6 +4826,66 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 25 + }, + { + "blob_sha": "32946fa54b8c817373371470202e5a3d2694c8b8", + "commits": [], + "end_line": 26, + "id": "E4", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/MoreSearchAdapterOS.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "32946fa54b8c817373371470202e5a3d2694c8b8", + "commits": [], + "end_line": 27, + "id": "E5", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/MoreSearchAdapterOS.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "32946fa54b8c817373371470202e5a3d2694c8b8", + "commits": [], + "end_line": 28, + "id": "E6", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/MoreSearchAdapterOS.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "a5186d2cc561242f44885f11ac9cec724a6e3ddf", + "commits": [], + "end_line": 23, + "id": "E7", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/OpenSearch3Module.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "0f35005dcce0f4abb6d0f5a340626dc852aacd22", + "commits": [], + "end_line": 22, + "id": "E8", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/views/searchtypes/OSEventList.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 } ], "src": "M:graylog-storage-opensearch3" @@ -3000,6 +4932,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 26 + }, + { + "blob_sha": "ba37568963fea2bcca2cd4bc9e1f27c56ff9800f", + "commits": [], + "end_line": 27, + "id": "E4", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/DatanodeClusterAdminAdapterOS.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "ba37568963fea2bcca2cd4bc9e1f27c56ff9800f", + "commits": [], + "end_line": 28, + "id": "E5", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/DatanodeClusterAdminAdapterOS.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "ba37568963fea2bcca2cd4bc9e1f27c56ff9800f", + "commits": [], + "end_line": 29, + "id": "E6", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/DatanodeClusterAdminAdapterOS.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "32946fa54b8c817373371470202e5a3d2694c8b8", + "commits": [], + "end_line": 29, + "id": "E7", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/MoreSearchAdapterOS.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "32946fa54b8c817373371470202e5a3d2694c8b8", + "commits": [], + "end_line": 30, + "id": "E8", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/MoreSearchAdapterOS.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "32946fa54b8c817373371470202e5a3d2694c8b8", + "commits": [], + "end_line": 31, + "id": "E9", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/MoreSearchAdapterOS.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "e6536f9cfc195556078898c8adb76f34f64f3e8b", + "commits": [], + "end_line": 25, + "id": "E10", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/OfficialOpensearchClient.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 } ], "src": "M:graylog-storage-opensearch3" @@ -3160,6 +5176,30 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 23 + }, + { + "blob_sha": "6980df53967b32c5e4ddf30f8c83c797c1150130", + "commits": [], + "end_line": 24, + "id": "E4", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/sniffer/impl/DatanodesSniffer.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "6980df53967b32c5e4ddf30f8c83c797c1150130", + "commits": [], + "end_line": 25, + "id": "E5", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/sniffer/impl/DatanodesSniffer.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 } ], "src": "M:graylog-storage-opensearch3" @@ -3206,6 +5246,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 40 + }, + { + "blob_sha": "6405ff0555c901fced67d2b10ebbbddbc230b485", + "commits": [], + "end_line": 22, + "id": "E4", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/client/IndexerHostsAdapterOS.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "ecb31a26ac41e0a45daaefe7ac9e789beb769bb4", + "commits": [], + "end_line": 28, + "id": "E5", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/client/OpensearchCredentialsProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "df4666740381d7c9e5c485cb1b51cfcf51dcf224", + "commits": [], + "end_line": 23, + "id": "E6", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/sniffer/NodeDiscoveryPeriodical.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "6980df53967b32c5e4ddf30f8c83c797c1150130", + "commits": [], + "end_line": 26, + "id": "E7", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/sniffer/impl/DatanodesSniffer.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "7a7ad165064bf0f5e87230211d109167c0a37102", + "commits": [], + "end_line": 23, + "id": "E8", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/sniffer/impl/NodeAttributesFilter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "cdf4a63888fae93f7d9afb7146336672fedc4ed7", + "commits": [], + "end_line": 23, + "id": "E9", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/sniffer/impl/NodeLoggingFilter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "dd7f1aaa77b3f0620bfce79bc2187b5e593f2960", + "commits": [], + "end_line": 24, + "id": "E10", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/sniffer/impl/OpensearchClusterSniffer.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 } ], "src": "M:graylog-storage-opensearch3" @@ -3318,46 +5442,130 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 27 - } - ], - "src": "M:graylog-storage-opensearch3" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/migrations", - "how": "import-path", - "id": "M:graylog-storage-opensearch3->M:graylog2-server/src/main/java/org/graylog2/migrations", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "a5186d2cc561242f44885f11ac9cec724a6e3ddf", + "blob_sha": "b3cdd7d21e56f87b1e5efca0afbb5c5d0e5a4b1f", "commits": [], - "end_line": 60, - "id": "E1", + "end_line": 19, + "id": "E4", "kind": "lines", - "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/OpenSearch3Module.java", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/ChunkedQueryResultOS.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 60 + "start_line": 19 }, { - "blob_sha": "1dee19a84265266f77d42b1cf25de68877130959", + "blob_sha": "b3cdd7d21e56f87b1e5efca0afbb5c5d0e5a4b1f", "commits": [], - "end_line": 22, - "id": "E2", + "end_line": 20, + "id": "E5", "kind": "lines", - "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/migrations/V20170607164210_MigrateReopenedIndicesToAliasesClusterStateOS.java", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/ChunkedQueryResultOS.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 - } - ], - "src": "M:graylog-storage-opensearch3" - }, - { - "count": 37, + "start_line": 20 + }, + { + "blob_sha": "b3cdd7d21e56f87b1e5efca0afbb5c5d0e5a4b1f", + "commits": [], + "end_line": 21, + "id": "E6", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/ChunkedQueryResultOS.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "21594211e7e3c98ada90b619d83043f60c5f232b", + "commits": [], + "end_line": 27, + "id": "E7", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/ClusterAdapterOS.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "21594211e7e3c98ada90b619d83043f60c5f232b", + "commits": [], + "end_line": 28, + "id": "E8", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/ClusterAdapterOS.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "21594211e7e3c98ada90b619d83043f60c5f232b", + "commits": [], + "end_line": 29, + "id": "E9", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/ClusterAdapterOS.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "21594211e7e3c98ada90b619d83043f60c5f232b", + "commits": [], + "end_line": 30, + "id": "E10", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/ClusterAdapterOS.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + } + ], + "src": "M:graylog-storage-opensearch3" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/migrations", + "how": "import-path", + "id": "M:graylog-storage-opensearch3->M:graylog2-server/src/main/java/org/graylog2/migrations", + "kind": "uses", + "refs": [ + { + "blob_sha": "a5186d2cc561242f44885f11ac9cec724a6e3ddf", + "commits": [], + "end_line": 60, + "id": "E1", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/OpenSearch3Module.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 60 + }, + { + "blob_sha": "1dee19a84265266f77d42b1cf25de68877130959", + "commits": [], + "end_line": 22, + "id": "E2", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/migrations/V20170607164210_MigrateReopenedIndicesToAliasesClusterStateOS.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + } + ], + "src": "M:graylog-storage-opensearch3" + }, + { + "count": 37, "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", "how": "import-path", "id": "M:graylog-storage-opensearch3->M:graylog2-server/src/main/java/org/graylog2/plugin", @@ -3398,6 +5606,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 24 + }, + { + "blob_sha": "337ae51960deab4dae1ed057762dd666f6304d85", + "commits": [], + "end_line": 49, + "id": "E4", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/IndicesAdapterOS.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 49 + }, + { + "blob_sha": "32946fa54b8c817373371470202e5a3d2694c8b8", + "commits": [], + "end_line": 39, + "id": "E5", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/MoreSearchAdapterOS.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 39 + }, + { + "blob_sha": "32946fa54b8c817373371470202e5a3d2694c8b8", + "commits": [], + "end_line": 40, + "id": "E6", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/MoreSearchAdapterOS.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 40 + }, + { + "blob_sha": "32946fa54b8c817373371470202e5a3d2694c8b8", + "commits": [], + "end_line": 41, + "id": "E7", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/MoreSearchAdapterOS.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 41 + }, + { + "blob_sha": "fc4695275349642db3f3c996dcb1f99cb419c056", + "commits": [], + "end_line": 19, + "id": "E8", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/OpenSearch3Metadata.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "fc4695275349642db3f3c996dcb1f99cb419c056", + "commits": [], + "end_line": 20, + "id": "E9", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/OpenSearch3Metadata.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "fc4695275349642db3f3c996dcb1f99cb419c056", + "commits": [], + "end_line": 21, + "id": "E10", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/OpenSearch3Metadata.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 } ], "src": "M:graylog-storage-opensearch3" @@ -3444,6 +5736,66 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 42 + }, + { + "blob_sha": "afd02953b337890840c8a25259bdc20970c44751", + "commits": [], + "end_line": 24, + "id": "E4", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/ProxyRequestAdapterOS.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "8a6ea2786b567ebdee7674109a36fe19e92895bb", + "commits": [], + "end_line": 22, + "id": "E5", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/stats/ClusterStatsApi.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "16398eb646dd992ddc108e8a8d9aa62489e31a13", + "commits": [], + "end_line": 21, + "id": "E6", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/stats/IndexStatisticsBuilder.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "3e79a0931cf27309eff1bec3cd8b46c6dc8347d9", + "commits": [], + "end_line": 34, + "id": "E7", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/views/searchtypes/OSMessageList.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "3e79a0931cf27309eff1bec3cd8b46c6dc8347d9", + "commits": [], + "end_line": 35, + "id": "E8", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/views/searchtypes/OSMessageList.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 } ], "src": "M:graylog-storage-opensearch3" @@ -3558,6 +5910,42 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 63 + }, + { + "blob_sha": "bb6b578f7234ab1304575bbfac3c4d2f04f886a2", + "commits": [], + "end_line": 22, + "id": "E4", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/NodeAdapterOS.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "6405ff0555c901fced67d2b10ebbbddbc230b485", + "commits": [], + "end_line": 33, + "id": "E5", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/client/IndexerHostsAdapterOS.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "5db8eaa726c111c267493cd6e8645f50f9ef3bb6", + "commits": [], + "end_line": 94, + "id": "E6", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/views/OpenSearchBackend.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 94 } ], "src": "M:graylog-storage-opensearch3" @@ -3604,6 +5992,18 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 26 + }, + { + "blob_sha": "30bc4b0371e2055cc7c0c6b3d5b28e14e8f7bb67", + "commits": [], + "end_line": 76, + "id": "E4", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/ViewsOSBackendModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 76 } ], "src": "M:graylog-storage-opensearch3" @@ -3672,6 +6072,42 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 42 + }, + { + "blob_sha": "21594211e7e3c98ada90b619d83043f60c5f232b", + "commits": [], + "end_line": 43, + "id": "E4", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/ClusterAdapterOS.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 43 + }, + { + "blob_sha": "21594211e7e3c98ada90b619d83043f60c5f232b", + "commits": [], + "end_line": 44, + "id": "E5", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/ClusterAdapterOS.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 44 + }, + { + "blob_sha": "21594211e7e3c98ada90b619d83043f60c5f232b", + "commits": [], + "end_line": 45, + "id": "E6", + "kind": "lines", + "path": "graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3/ClusterAdapterOS.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 45 } ], "src": "M:graylog-storage-opensearch3" @@ -3784,6 +6220,42 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 69 + }, + { + "blob_sha": "c1c6e57d7398c2692675448acd402c2c61090bef", + "commits": [], + "end_line": 51, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/api/GenerateOpenApiDescriptionCommand.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 51 + }, + { + "blob_sha": "c1c6e57d7398c2692675448acd402c2c61090bef", + "commits": [], + "end_line": 52, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/api/GenerateOpenApiDescriptionCommand.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 52 + }, + { + "blob_sha": "023c60d6991d068fe51b0ae832ed1b9e939affd6", + "commits": [], + "end_line": 23, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/api/PluginRestResourcePrefixes.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 } ], "src": "M:graylog2-server/src/main/java/org/graylog/api" @@ -3852,6 +6324,78 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 54 + }, + { + "blob_sha": "c1c6e57d7398c2692675448acd402c2c61090bef", + "commits": [], + "end_line": 55, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/api/GenerateOpenApiDescriptionCommand.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 55 + }, + { + "blob_sha": "c1c6e57d7398c2692675448acd402c2c61090bef", + "commits": [], + "end_line": 56, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/api/GenerateOpenApiDescriptionCommand.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 56 + }, + { + "blob_sha": "c1c6e57d7398c2692675448acd402c2c61090bef", + "commits": [], + "end_line": 57, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/api/GenerateOpenApiDescriptionCommand.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 57 + }, + { + "blob_sha": "c1c6e57d7398c2692675448acd402c2c61090bef", + "commits": [], + "end_line": 58, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/api/GenerateOpenApiDescriptionCommand.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 58 + }, + { + "blob_sha": "c1c6e57d7398c2692675448acd402c2c61090bef", + "commits": [], + "end_line": 70, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/api/GenerateOpenApiDescriptionCommand.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 70 + }, + { + "blob_sha": "023c60d6991d068fe51b0ae832ed1b9e939affd6", + "commits": [], + "end_line": 38, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/api/PluginRestResourcePrefixes.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 38 } ], "src": "M:graylog2-server/src/main/java/org/graylog/api" @@ -3898,6 +6442,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 34 + }, + { + "blob_sha": "9e5724382ec5c2e1623225a590d7d7f2f58ed3eb", + "commits": [], + "end_line": 27, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/aws/inputs/cloudtrail/api/CloudTrailDriver.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "9e5724382ec5c2e1623225a590d7d7f2f58ed3eb", + "commits": [], + "end_line": 28, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/aws/inputs/cloudtrail/api/CloudTrailDriver.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "9e5724382ec5c2e1623225a590d7d7f2f58ed3eb", + "commits": [], + "end_line": 29, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/aws/inputs/cloudtrail/api/CloudTrailDriver.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "9e5724382ec5c2e1623225a590d7d7f2f58ed3eb", + "commits": [], + "end_line": 30, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/aws/inputs/cloudtrail/api/CloudTrailDriver.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "834a66ef387030aab44afcf5a76fedc53e166de5", + "commits": [], + "end_line": 42, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/aws/inputs/cloudtrail/api/CloudTrailResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 42 + }, + { + "blob_sha": "834a66ef387030aab44afcf5a76fedc53e166de5", + "commits": [], + "end_line": 43, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/aws/inputs/cloudtrail/api/CloudTrailResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 43 + }, + { + "blob_sha": "fc32f6dda073bb22ab41bfff6caf8faf464bcaa2", + "commits": [], + "end_line": 24, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/aws/inputs/cloudtrail/external/CloudTrailClientFactory.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 } ], "src": "M:graylog2-server/src/main/java/org/graylog/aws" @@ -3944,6 +6572,54 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 32 + }, + { + "blob_sha": "a039110804de669f7b4adee1b1f57036ed46fbcf", + "commits": [], + "end_line": 23, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/aws/config/AWSConfigurationResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "9e5724382ec5c2e1623225a590d7d7f2f58ed3eb", + "commits": [], + "end_line": 31, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/aws/inputs/cloudtrail/api/CloudTrailDriver.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "ccf2d2b9d2bdae99dfef7f9375b72a69ed95cdc1", + "commits": [], + "end_line": 24, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/aws/migrations/V20200505121200_EncryptAWSSecretKey.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "061deec20d7bc5200a8c6d18d827bdcdc547311d", + "commits": [], + "end_line": 28, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/aws/processors/instancelookup/AWSInstanceNameLookupProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 } ], "src": "M:graylog2-server/src/main/java/org/graylog/aws" @@ -3990,6 +6666,18 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 44 + }, + { + "blob_sha": "834a66ef387030aab44afcf5a76fedc53e166de5", + "commits": [], + "end_line": 45, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/aws/inputs/cloudtrail/api/CloudTrailResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 45 } ], "src": "M:graylog2-server/src/main/java/org/graylog/aws" @@ -4126,8 +6814,92 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 21 - } - ], + }, + { + "blob_sha": "46b7ce9d718a90d81c418c4283684e08e5828d12", + "commits": [], + "end_line": 22, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/aws/AWSPlugin.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "d8cb7d94ad4db1ea073ccfee758a8bd6bdda3dc8", + "commits": [], + "end_line": 19, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/aws/AWSPluginMetadata.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "d8cb7d94ad4db1ea073ccfee758a8bd6bdda3dc8", + "commits": [], + "end_line": 20, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/aws/AWSPluginMetadata.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "d8cb7d94ad4db1ea073ccfee758a8bd6bdda3dc8", + "commits": [], + "end_line": 21, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/aws/AWSPluginMetadata.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "a039110804de669f7b4adee1b1f57036ed46fbcf", + "commits": [], + "end_line": 26, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/aws/config/AWSConfigurationResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "a039110804de669f7b4adee1b1f57036ed46fbcf", + "commits": [], + "end_line": 27, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/aws/config/AWSConfigurationResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "daaf417e3b35f74f288fa3080b4d657c97d17b9a", + "commits": [], + "end_line": 26, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/aws/inputs/cloudtrail/CloudTrailCodec.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + } + ], "src": "M:graylog2-server/src/main/java/org/graylog/aws" }, { @@ -4206,6 +6978,54 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 48 + }, + { + "blob_sha": "9e5724382ec5c2e1623225a590d7d7f2f58ed3eb", + "commits": [], + "end_line": 42, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/aws/inputs/cloudtrail/api/CloudTrailDriver.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 42 + }, + { + "blob_sha": "9e5724382ec5c2e1623225a590d7d7f2f58ed3eb", + "commits": [], + "end_line": 43, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/aws/inputs/cloudtrail/api/CloudTrailDriver.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 43 + }, + { + "blob_sha": "fbfd907b14b6b5d62970488ff49b80c36a2630fb", + "commits": [], + "end_line": 21, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/aws/inputs/cloudtrail/api/requests/CloudTrailRequest.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "ccf2d2b9d2bdae99dfef7f9375b72a69ed95cdc1", + "commits": [], + "end_line": 27, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/aws/migrations/V20200505121200_EncryptAWSSecretKey.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 } ], "src": "M:graylog2-server/src/main/java/org/graylog/aws" @@ -4252,6 +7072,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 28 + }, + { + "blob_sha": "a039110804de669f7b4adee1b1f57036ed46fbcf", + "commits": [], + "end_line": 29, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/aws/config/AWSConfigurationResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "74fbf7c83cccc2deac5897670e95096ce964771d", + "commits": [], + "end_line": 28, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/aws/inputs/cloudtrail/CloudTrailPollerTask.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "74fbf7c83cccc2deac5897670e95096ce964771d", + "commits": [], + "end_line": 38, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/aws/inputs/cloudtrail/CloudTrailPollerTask.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 38 + }, + { + "blob_sha": "9e5724382ec5c2e1623225a590d7d7f2f58ed3eb", + "commits": [], + "end_line": 44, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/aws/inputs/cloudtrail/api/CloudTrailDriver.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 44 + }, + { + "blob_sha": "9e5724382ec5c2e1623225a590d7d7f2f58ed3eb", + "commits": [], + "end_line": 45, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/aws/inputs/cloudtrail/api/CloudTrailDriver.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 45 + }, + { + "blob_sha": "9e5724382ec5c2e1623225a590d7d7f2f58ed3eb", + "commits": [], + "end_line": 46, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/aws/inputs/cloudtrail/api/CloudTrailDriver.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 46 + }, + { + "blob_sha": "834a66ef387030aab44afcf5a76fedc53e166de5", + "commits": [], + "end_line": 49, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/aws/inputs/cloudtrail/api/CloudTrailResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 49 } ], "src": "M:graylog2-server/src/main/java/org/graylog/aws" @@ -4344,6 +7248,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 25 + }, + { + "blob_sha": "74c9f6e221fbf84b63bfbdfc623413f1dbad5457", + "commits": [], + "end_line": 50, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/input/processor/JournaldRecordProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 50 + }, + { + "blob_sha": "810971254805186f842bf8fbdb9d1b3fc1a6dda2", + "commits": [], + "end_line": 32, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/input/processor/MacOSUnifiedLoggingRecordProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "810971254805186f842bf8fbdb9d1b3fc1a6dda2", + "commits": [], + "end_line": 33, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/input/processor/MacOSUnifiedLoggingRecordProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "dc974600dde8fbb6cc3cf66d47835149eac89809", + "commits": [], + "end_line": 43, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/input/processor/WindowsEventLogRecordProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 43 + }, + { + "blob_sha": "dc974600dde8fbb6cc3cf66d47835149eac89809", + "commits": [], + "end_line": 44, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/input/processor/WindowsEventLogRecordProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 44 + }, + { + "blob_sha": "dc974600dde8fbb6cc3cf66d47835149eac89809", + "commits": [], + "end_line": 23, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/input/processor/WindowsEventLogRecordProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "265433709302a038b55e64843f691ef04398122e", + "commits": [], + "end_line": 36, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/input/transport/CollectorIngestHttpHandler.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 } ], "src": "M:graylog2-server/src/main/java/org/graylog/collectors" @@ -4390,6 +7378,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 24 + }, + { + "blob_sha": "4fd008fc8bd1bc5f9df9540443d1015f21abfd55", + "commits": [], + "end_line": 29, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/input/CollectorIngestCodec.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "4fd008fc8bd1bc5f9df9540443d1015f21abfd55", + "commits": [], + "end_line": 30, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/input/CollectorIngestCodec.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "a398c1a3850c21753ba4e947521cbfd434cb0f12", + "commits": [], + "end_line": 24, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/input/processor/CollectorLogRecordProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "a398c1a3850c21753ba4e947521cbfd434cb0f12", + "commits": [], + "end_line": 25, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/input/processor/CollectorLogRecordProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "4fad521ed8868b44525a06b034a91972acecb071", + "commits": [], + "end_line": 20, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/input/processor/FilelogRecordProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "74c9f6e221fbf84b63bfbdfc623413f1dbad5457", + "commits": [], + "end_line": 21, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/input/processor/JournaldRecordProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "74c9f6e221fbf84b63bfbdfc623413f1dbad5457", + "commits": [], + "end_line": 22, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/input/processor/JournaldRecordProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 } ], "src": "M:graylog2-server/src/main/java/org/graylog/collectors" @@ -4436,6 +7508,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 31 + }, + { + "blob_sha": "f021411eee2ac1a241f54f16cf8c3c30de7ecc94", + "commits": [], + "end_line": 24, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorCaService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "f021411eee2ac1a241f54f16cf8c3c30de7ecc94", + "commits": [], + "end_line": 25, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorCaService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "f021411eee2ac1a241f54f16cf8c3c30de7ecc94", + "commits": [], + "end_line": 26, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorCaService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "f021411eee2ac1a241f54f16cf8c3c30de7ecc94", + "commits": [], + "end_line": 27, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorCaService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "3126ab5abf2a6530e3b3a194b0eb7cb1783eb0f5", + "commits": [], + "end_line": 23, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorCaTrustManager.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "a4c3d29172df2e9e7b7feb96c37172deea2a26d7", + "commits": [], + "end_line": 20, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorsPermissions.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "607adc1b27612b09f69daf228ddf5b95a35f7fe9", + "commits": [], + "end_line": 24, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/input/transport/AgentCertChannelHandler.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 } ], "src": "M:graylog2-server/src/main/java/org/graylog/collectors" @@ -4528,6 +7684,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 28 + }, + { + "blob_sha": "63fe70a2d70dc9a35c5e99e5d89459e116c86de2", + "commits": [], + "end_line": 53, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/opamp/rest/EnrollmentTokenResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 53 + }, + { + "blob_sha": "63fe70a2d70dc9a35c5e99e5d89459e116c86de2", + "commits": [], + "end_line": 54, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/opamp/rest/EnrollmentTokenResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 54 + }, + { + "blob_sha": "63fe70a2d70dc9a35c5e99e5d89459e116c86de2", + "commits": [], + "end_line": 55, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/opamp/rest/EnrollmentTokenResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 55 + }, + { + "blob_sha": "63fe70a2d70dc9a35c5e99e5d89459e116c86de2", + "commits": [], + "end_line": 56, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/opamp/rest/EnrollmentTokenResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 56 + }, + { + "blob_sha": "db8a40726b83f62903b3034b0ccc6f48773cad05", + "commits": [], + "end_line": 58, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/rest/CollectorInstancesResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 58 + }, + { + "blob_sha": "db8a40726b83f62903b3034b0ccc6f48773cad05", + "commits": [], + "end_line": 59, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/rest/CollectorInstancesResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 59 + }, + { + "blob_sha": "db8a40726b83f62903b3034b0ccc6f48773cad05", + "commits": [], + "end_line": 60, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/rest/CollectorInstancesResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 60 } ], "src": "M:graylog2-server/src/main/java/org/graylog/collectors" @@ -4596,6 +7836,18 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 30 + }, + { + "blob_sha": "8fc05ee06162d46ef219529e8493d3fa47efb632", + "commits": [], + "end_line": 51, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/rest/CollectorsConfigResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 51 } ], "src": "M:graylog2-server/src/main/java/org/graylog/collectors" @@ -4642,56 +7894,140 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 109 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/collectors" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/events", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/collectors->M:graylog2-server/src/main/java/org/graylog2/events", - "kind": "uses", - "refs": [ + }, { "blob_sha": "2fc54dfbcc3be57c0f5a76b3c669edb5feea5d11", "commits": [], - "end_line": 62, - "id": "E1", + "end_line": 58, + "id": "E4", "kind": "lines", "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorInstanceService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 62 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/collectors" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/featureflag", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/collectors->M:graylog2-server/src/main/java/org/graylog2/featureflag", - "kind": "uses", - "refs": [ + "start_line": 58 + }, { - "blob_sha": "227aa4ff2f0a1bb4a9ba9ce5ddea726e184762cc", + "blob_sha": "2fc54dfbcc3be57c0f5a76b3c669edb5feea5d11", "commits": [], - "end_line": 64, - "id": "E1", + "end_line": 59, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorsModule.java", + "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorInstanceService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 64 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/collectors" - }, - { - "count": 20, + "start_line": 59 + }, + { + "blob_sha": "2fc54dfbcc3be57c0f5a76b3c669edb5feea5d11", + "commits": [], + "end_line": 60, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorInstanceService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 60 + }, + { + "blob_sha": "2fc54dfbcc3be57c0f5a76b3c669edb5feea5d11", + "commits": [], + "end_line": 61, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorInstanceService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 61 + }, + { + "blob_sha": "2fc54dfbcc3be57c0f5a76b3c669edb5feea5d11", + "commits": [], + "end_line": 110, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorInstanceService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 110 + }, + { + "blob_sha": "576331b2c89eac943a640207d500d9edb0cb3451", + "commits": [], + "end_line": 29, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorLogsDestinationService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "576331b2c89eac943a640207d500d9edb0cb3451", + "commits": [], + "end_line": 30, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorLogsDestinationService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog/collectors" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/events", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog/collectors->M:graylog2-server/src/main/java/org/graylog2/events", + "kind": "uses", + "refs": [ + { + "blob_sha": "2fc54dfbcc3be57c0f5a76b3c669edb5feea5d11", + "commits": [], + "end_line": 62, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorInstanceService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 62 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog/collectors" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/featureflag", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog/collectors->M:graylog2-server/src/main/java/org/graylog2/featureflag", + "kind": "uses", + "refs": [ + { + "blob_sha": "227aa4ff2f0a1bb4a9ba9ce5ddea726e184762cc", + "commits": [], + "end_line": 64, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorsModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 64 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog/collectors" + }, + { + "count": 20, "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", "how": "import-path", "id": "M:graylog2-server/src/main/java/org/graylog/collectors->M:graylog2-server/src/main/java/org/graylog2/indexer", @@ -4732,6 +8068,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 33 + }, + { + "blob_sha": "576331b2c89eac943a640207d500d9edb0cb3451", + "commits": [], + "end_line": 57, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorLogsDestinationService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 57 + }, + { + "blob_sha": "576331b2c89eac943a640207d500d9edb0cb3451", + "commits": [], + "end_line": 58, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorLogsDestinationService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 58 + }, + { + "blob_sha": "576331b2c89eac943a640207d500d9edb0cb3451", + "commits": [], + "end_line": 34, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorLogsDestinationService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "576331b2c89eac943a640207d500d9edb0cb3451", + "commits": [], + "end_line": 35, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorLogsDestinationService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + }, + { + "blob_sha": "576331b2c89eac943a640207d500d9edb0cb3451", + "commits": [], + "end_line": 36, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorLogsDestinationService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + }, + { + "blob_sha": "576331b2c89eac943a640207d500d9edb0cb3451", + "commits": [], + "end_line": 37, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorLogsDestinationService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 37 + }, + { + "blob_sha": "576331b2c89eac943a640207d500d9edb0cb3451", + "commits": [], + "end_line": 38, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorLogsDestinationService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 38 } ], "src": "M:graylog2-server/src/main/java/org/graylog/collectors" @@ -4778,6 +8198,42 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 35 + }, + { + "blob_sha": "e4b83a39a8a89a2a7a33cf55c027551a40aaa8d1", + "commits": [], + "end_line": 31, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/input/transport/CollectorIngestHttpTransport.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "e4b83a39a8a89a2a7a33cf55c027551a40aaa8d1", + "commits": [], + "end_line": 32, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/input/transport/CollectorIngestHttpTransport.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "e4b83a39a8a89a2a7a33cf55c027551a40aaa8d1", + "commits": [], + "end_line": 33, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/input/transport/CollectorIngestHttpTransport.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 } ], "src": "M:graylog2-server/src/main/java/org/graylog/collectors" @@ -4824,6 +8280,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 24 + }, + { + "blob_sha": "0fda818f7aac7fdeac661e69b751564606da6752", + "commits": [], + "end_line": 25, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/db/CollectorHealthDTO.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "8adff0b26149e70e8239938f17fcf314de5febd0", + "commits": [], + "end_line": 27, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/db/CollectorInstanceDTO.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "8adff0b26149e70e8239938f17fcf314de5febd0", + "commits": [], + "end_line": 28, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/db/CollectorInstanceDTO.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "933c783fc3cc0396f8f9594ec9a4600fbfb72cbe", + "commits": [], + "end_line": 26, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/db/ComponentHealthDTO.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "933c783fc3cc0396f8f9594ec9a4600fbfb72cbe", + "commits": [], + "end_line": 27, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/db/ComponentHealthDTO.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "f1817e845a0b3e2383baf4e98a4ca80b335a3044", + "commits": [], + "end_line": 25, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/db/EnrollmentTokenDTO.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "f1817e845a0b3e2383baf4e98a4ca80b335a3044", + "commits": [], + "end_line": 26, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/db/EnrollmentTokenDTO.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 } ], "src": "M:graylog2-server/src/main/java/org/graylog/collectors" @@ -4926,6 +8466,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 32 + }, + { + "blob_sha": "83fae0f011e5bd2840fa44ef034eb502d7a0d495", + "commits": [], + "end_line": 33, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorIngestInputService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "83fae0f011e5bd2840fa44ef034eb502d7a0d495", + "commits": [], + "end_line": 34, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorIngestInputService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "2fc54dfbcc3be57c0f5a76b3c669edb5feea5d11", + "commits": [], + "end_line": 46, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorInstanceService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 46 + }, + { + "blob_sha": "576331b2c89eac943a640207d500d9edb0cb3451", + "commits": [], + "end_line": 39, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorLogsDestinationService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 39 + }, + { + "blob_sha": "576331b2c89eac943a640207d500d9edb0cb3451", + "commits": [], + "end_line": 40, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorLogsDestinationService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 40 + }, + { + "blob_sha": "576331b2c89eac943a640207d500d9edb0cb3451", + "commits": [], + "end_line": 41, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorLogsDestinationService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 41 + }, + { + "blob_sha": "09260e0702af7cd4898e1a0907dab6412dbeadb1", + "commits": [], + "end_line": 27, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorsConfigService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 } ], "src": "M:graylog2-server/src/main/java/org/graylog/collectors" @@ -4972,6 +8596,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 39 + }, + { + "blob_sha": "63fe70a2d70dc9a35c5e99e5d89459e116c86de2", + "commits": [], + "end_line": 60, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/opamp/rest/EnrollmentTokenResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 60 + }, + { + "blob_sha": "63fe70a2d70dc9a35c5e99e5d89459e116c86de2", + "commits": [], + "end_line": 61, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/opamp/rest/EnrollmentTokenResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 61 + }, + { + "blob_sha": "63fe70a2d70dc9a35c5e99e5d89459e116c86de2", + "commits": [], + "end_line": 62, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/opamp/rest/EnrollmentTokenResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 62 + }, + { + "blob_sha": "63fe70a2d70dc9a35c5e99e5d89459e116c86de2", + "commits": [], + "end_line": 63, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/opamp/rest/EnrollmentTokenResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 63 + }, + { + "blob_sha": "63fe70a2d70dc9a35c5e99e5d89459e116c86de2", + "commits": [], + "end_line": 64, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/opamp/rest/EnrollmentTokenResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 64 + }, + { + "blob_sha": "63fe70a2d70dc9a35c5e99e5d89459e116c86de2", + "commits": [], + "end_line": 65, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/opamp/rest/EnrollmentTokenResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 65 + }, + { + "blob_sha": "63fe70a2d70dc9a35c5e99e5d89459e116c86de2", + "commits": [], + "end_line": 66, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/opamp/rest/EnrollmentTokenResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 66 } ], "src": "M:graylog2-server/src/main/java/org/graylog/collectors" @@ -5018,6 +8726,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 34 + }, + { + "blob_sha": "7ba850df8dbbfbd4509c921e77691a5cc03fa0e0", + "commits": [], + "end_line": 40, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/SourceService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 40 + }, + { + "blob_sha": "7ba850df8dbbfbd4509c921e77691a5cc03fa0e0", + "commits": [], + "end_line": 41, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/SourceService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 41 + }, + { + "blob_sha": "7ba850df8dbbfbd4509c921e77691a5cc03fa0e0", + "commits": [], + "end_line": 42, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/SourceService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 42 + }, + { + "blob_sha": "63fe70a2d70dc9a35c5e99e5d89459e116c86de2", + "commits": [], + "end_line": 67, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/opamp/rest/EnrollmentTokenResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 67 + }, + { + "blob_sha": "db8a40726b83f62903b3034b0ccc6f48773cad05", + "commits": [], + "end_line": 72, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/rest/CollectorInstancesResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 72 + }, + { + "blob_sha": "db8a40726b83f62903b3034b0ccc6f48773cad05", + "commits": [], + "end_line": 73, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/rest/CollectorInstancesResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 73 + }, + { + "blob_sha": "db8a40726b83f62903b3034b0ccc6f48773cad05", + "commits": [], + "end_line": 74, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/rest/CollectorInstancesResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 74 } ], "src": "M:graylog2-server/src/main/java/org/graylog/collectors" @@ -5064,6 +8856,18 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 45 + }, + { + "blob_sha": "6d3851a749e82bbad626bb5ffc7bc874b44bf53d", + "commits": [], + "end_line": 52, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/opamp/auth/EnrollmentTokenService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 52 } ], "src": "M:graylog2-server/src/main/java/org/graylog/collectors" @@ -5110,22 +8914,106 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 36 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/collectors" - }, - { - "count": 5, - "dst": "M:graylog2-server/src/main/java/org/graylog2/streams", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/collectors->M:graylog2-server/src/main/java/org/graylog2/streams", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "576331b2c89eac943a640207d500d9edb0cb3451", + "blob_sha": "83fae0f011e5bd2840fa44ef034eb502d7a0d495", "commits": [], - "end_line": 42, - "id": "E1", + "end_line": 37, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorIngestInputService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 37 + }, + { + "blob_sha": "83fae0f011e5bd2840fa44ef034eb502d7a0d495", + "commits": [], + "end_line": 38, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorIngestInputService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 38 + }, + { + "blob_sha": "83fae0f011e5bd2840fa44ef034eb502d7a0d495", + "commits": [], + "end_line": 45, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorIngestInputService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 45 + }, + { + "blob_sha": "2fc54dfbcc3be57c0f5a76b3c669edb5feea5d11", + "commits": [], + "end_line": 111, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorInstanceService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 111 + }, + { + "blob_sha": "576331b2c89eac943a640207d500d9edb0cb3451", + "commits": [], + "end_line": 59, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorLogsDestinationService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 59 + }, + { + "blob_sha": "853a5c6d9cdb6569f81b301d9d14e4f516b8e6c8", + "commits": [], + "end_line": 21, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorOSType.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "c175b18ef44e61b523d192efa4ced619ec1a1538", + "commits": [], + "end_line": 29, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorsConfig.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog/collectors" + }, + { + "count": 5, + "dst": "M:graylog2-server/src/main/java/org/graylog2/streams", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog/collectors->M:graylog2-server/src/main/java/org/graylog2/streams", + "kind": "uses", + "refs": [ + { + "blob_sha": "576331b2c89eac943a640207d500d9edb0cb3451", + "commits": [], + "end_line": 42, + "id": "E1", "kind": "lines", "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorLogsDestinationService.java", "repo": "Graylog2/graylog2-server", @@ -5156,6 +9044,30 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 44 + }, + { + "blob_sha": "576331b2c89eac943a640207d500d9edb0cb3451", + "commits": [], + "end_line": 45, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/CollectorLogsDestinationService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 45 + }, + { + "blob_sha": "f5a673ce51edc06f7603c692c6b9d9ca5afb283d", + "commits": [], + "end_line": 24, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/collectors/migrations/V20260828120000_RenameCollectorStreamRuleField.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 } ], "src": "M:graylog2-server/src/main/java/org/graylog/collectors" @@ -5382,6 +9294,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 25 + }, + { + "blob_sha": "47d80428023bac146dd6026629c0931435bd192b", + "commits": [], + "end_line": 23, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/event/EventReplayInfo.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "32062d7c7dffc9de6d60602e4f034ec805307012", + "commits": [], + "end_line": 41, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/legacy/LegacyAlertConditionMigrator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 41 + }, + { + "blob_sha": "32062d7c7dffc9de6d60602e4f034ec805307012", + "commits": [], + "end_line": 42, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/legacy/LegacyAlertConditionMigrator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 42 + }, + { + "blob_sha": "32062d7c7dffc9de6d60602e4f034ec805307012", + "commits": [], + "end_line": 43, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/legacy/LegacyAlertConditionMigrator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 43 + }, + { + "blob_sha": "32062d7c7dffc9de6d60602e4f034ec805307012", + "commits": [], + "end_line": 44, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/legacy/LegacyAlertConditionMigrator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 44 + }, + { + "blob_sha": "32062d7c7dffc9de6d60602e4f034ec805307012", + "commits": [], + "end_line": 45, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/legacy/LegacyAlertConditionMigrator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 45 + }, + { + "blob_sha": "32062d7c7dffc9de6d60602e4f034ec805307012", + "commits": [], + "end_line": 46, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/legacy/LegacyAlertConditionMigrator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 46 } ], "src": "M:graylog2-server/src/main/java/org/graylog/events" @@ -5428,6 +9424,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 34 + }, + { + "blob_sha": "4f920f8d3e644d4617c87ac9a28906de4bd1fffa", + "commits": [], + "end_line": 35, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/contentpack/facade/EventDefinitionFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + }, + { + "blob_sha": "287dbdcbf1ae8aaa7322635a8a558ed2d5fb62d0", + "commits": [], + "end_line": 28, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/context/EventDefinitionContextService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "287dbdcbf1ae8aaa7322635a8a558ed2d5fb62d0", + "commits": [], + "end_line": 29, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/context/EventDefinitionContextService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "287dbdcbf1ae8aaa7322635a8a558ed2d5fb62d0", + "commits": [], + "end_line": 30, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/context/EventDefinitionContextService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "287dbdcbf1ae8aaa7322635a8a558ed2d5fb62d0", + "commits": [], + "end_line": 31, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/context/EventDefinitionContextService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "287dbdcbf1ae8aaa7322635a8a558ed2d5fb62d0", + "commits": [], + "end_line": 32, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/context/EventDefinitionContextService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "287dbdcbf1ae8aaa7322635a8a558ed2d5fb62d0", + "commits": [], + "end_line": 33, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/context/EventDefinitionContextService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 } ], "src": "M:graylog2-server/src/main/java/org/graylog/events" @@ -5474,6 +9554,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 37 + }, + { + "blob_sha": "f3f348b9263dd5745f48f06de964a5d7f477908c", + "commits": [], + "end_line": 40, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/processor/EventDefinitionDto.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 40 + }, + { + "blob_sha": "196f1ccf9f7f3edd1b732c606fed469ca0d27287", + "commits": [], + "end_line": 32, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/processor/EventDefinitionHandler.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "c804670b59f8456e65bb3e229797b5e10641fad0", + "commits": [], + "end_line": 26, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/processor/EventProcessorConfig.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "4f9d776e5ca8e6da36994ee48876ecee1fcbd251", + "commits": [], + "end_line": 44, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/processor/aggregation/AggregationEventProcessorConfig.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 44 + }, + { + "blob_sha": "7c8fddfcd81d41cd6e2b26f789d9602798d03dea", + "commits": [], + "end_line": 26, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/processor/systemnotification/SystemNotificationEventProcessorConfig.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "84fcf3c69112eb999a5b40283442ed125f5992f8", + "commits": [], + "end_line": 77, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/rest/EventDefinitionsResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 77 + }, + { + "blob_sha": "84fcf3c69112eb999a5b40283442ed125f5992f8", + "commits": [], + "end_line": 78, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/rest/EventDefinitionsResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 78 } ], "src": "M:graylog2-server/src/main/java/org/graylog/events" @@ -5632,6 +9796,66 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 80 + }, + { + "blob_sha": "84fcf3c69112eb999a5b40283442ed125f5992f8", + "commits": [], + "end_line": 81, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/rest/EventDefinitionsResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 81 + }, + { + "blob_sha": "84fcf3c69112eb999a5b40283442ed125f5992f8", + "commits": [], + "end_line": 82, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/rest/EventDefinitionsResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 82 + }, + { + "blob_sha": "189b66e818ba2e1e36b21836a6566e5c02bfaf01", + "commits": [], + "end_line": 57, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/rest/EventNotificationsResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 57 + }, + { + "blob_sha": "189b66e818ba2e1e36b21836a6566e5c02bfaf01", + "commits": [], + "end_line": 58, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/rest/EventNotificationsResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 58 + }, + { + "blob_sha": "cbfe87d93276a4a95a4d79b136e4e0e0c9ac578d", + "commits": [], + "end_line": 41, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/rest/EventsResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 41 } ], "src": "M:graylog2-server/src/main/java/org/graylog/events" @@ -5758,6 +9982,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 47 + }, + { + "blob_sha": "c22990d11cb1b771be5550e469f0c729f2c5aba7", + "commits": [], + "end_line": 48, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/contentpack/entities/AggregationEventProcessorConfigEntity.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 48 + }, + { + "blob_sha": "c22990d11cb1b771be5550e469f0c729f2c5aba7", + "commits": [], + "end_line": 32, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/contentpack/entities/AggregationEventProcessorConfigEntity.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "c22990d11cb1b771be5550e469f0c729f2c5aba7", + "commits": [], + "end_line": 33, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/contentpack/entities/AggregationEventProcessorConfigEntity.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "c22990d11cb1b771be5550e469f0c729f2c5aba7", + "commits": [], + "end_line": 34, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/contentpack/entities/AggregationEventProcessorConfigEntity.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "c22990d11cb1b771be5550e469f0c729f2c5aba7", + "commits": [], + "end_line": 35, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/contentpack/entities/AggregationEventProcessorConfigEntity.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + }, + { + "blob_sha": "65e88bd39e0a5a29d52df0fa82a0eee57ccd4251", + "commits": [], + "end_line": 26, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/contentpack/entities/EmailEventNotificationConfigEntity.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "65e88bd39e0a5a29d52df0fa82a0eee57ccd4251", + "commits": [], + "end_line": 27, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/contentpack/entities/EmailEventNotificationConfigEntity.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 } ], "src": "M:graylog2-server/src/main/java/org/graylog/events" @@ -5804,6 +10112,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 48 + }, + { + "blob_sha": "40c5de6b2db8b21c436ddd0bd4ea2f9c12042fe3", + "commits": [], + "end_line": 28, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/migrations/V20230629140000_RenameFieldTypeOfEventDefinitionSeries.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "4f2497ff875a368244a7aae17ccc13c23779cfea", + "commits": [], + "end_line": 19, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/notifications/DBNotificationGracePeriodService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "4f2497ff875a368244a7aae17ccc13c23779cfea", + "commits": [], + "end_line": 23, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/notifications/DBNotificationGracePeriodService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "4f2497ff875a368244a7aae17ccc13c23779cfea", + "commits": [], + "end_line": 24, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/notifications/DBNotificationGracePeriodService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "4f2497ff875a368244a7aae17ccc13c23779cfea", + "commits": [], + "end_line": 25, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/notifications/DBNotificationGracePeriodService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "851bd4e273dbbbada487cd822c815bbe429ba7b9", + "commits": [], + "end_line": 23, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/notifications/DBNotificationService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "851bd4e273dbbbada487cd822c815bbe429ba7b9", + "commits": [], + "end_line": 24, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/notifications/DBNotificationService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 } ], "src": "M:graylog2-server/src/main/java/org/graylog/events" @@ -5872,10 +10264,94 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 24 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/events" - }, + }, + { + "blob_sha": "41d25ccf4aa2155dad64934d045b0ec47a21f782", + "commits": [], + "end_line": 25, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/indices/EventIndexer.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "ce0b3517df9cddf348be81087c2319d8d65cde1a", + "commits": [], + "end_line": 44, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/processor/aggregation/AggregationEventProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 44 + }, + { + "blob_sha": "ce0b3517df9cddf348be81087c2319d8d65cde1a", + "commits": [], + "end_line": 45, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/processor/aggregation/AggregationEventProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 45 + }, + { + "blob_sha": "ce0b3517df9cddf348be81087c2319d8d65cde1a", + "commits": [], + "end_line": 46, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/processor/aggregation/AggregationEventProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 46 + }, + { + "blob_sha": "8eb06669175505f30675fd7993f9099073afde81", + "commits": [], + "end_line": 25, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/search/AbstractEventsSearchService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "c9949c0dcdf36f57f4a16f54dd45bc23504338af", + "commits": [], + "end_line": 31, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/search/MoreSearch.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "c9949c0dcdf36f57f4a16f54dd45bc23504338af", + "commits": [], + "end_line": 32, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/search/MoreSearch.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog/events" + }, { "count": 3, "dst": "M:graylog2-server/src/main/java/org/graylog2/jackson", @@ -6044,6 +10520,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 31 + }, + { + "blob_sha": "56130b3a1bd15716b2f7a3559cfb7fea8fa8feca", + "commits": [], + "end_line": 32, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/notifications/types/EmailEventNotification.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "56130b3a1bd15716b2f7a3559cfb7fea8fa8feca", + "commits": [], + "end_line": 33, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/notifications/types/EmailEventNotification.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "b3f2feb2b2937169e66048236ce47ace5985ccff", + "commits": [], + "end_line": 27, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/notifications/types/EmailSender.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "b3f2feb2b2937169e66048236ce47ace5985ccff", + "commits": [], + "end_line": 28, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/notifications/types/EmailSender.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "1618f7d67de86023043c669c2f914f330e138abb", + "commits": [], + "end_line": 36, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/notifications/types/HTTPEventNotification.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + }, + { + "blob_sha": "37cc7c7b466c9ef5cfc471e97780d1ca3514ed08", + "commits": [], + "end_line": 42, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/notifications/types/HTTPEventNotificationV2.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 42 + }, + { + "blob_sha": "c9976d303e076c2e7fb9beb18ac4dc10903336f0", + "commits": [], + "end_line": 26, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/notifications/types/HTTPNotification.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 } ], "src": "M:graylog2-server/src/main/java/org/graylog/events" @@ -6090,6 +10650,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 19 + }, + { + "blob_sha": "c22990d11cb1b771be5550e469f0c729f2c5aba7", + "commits": [], + "end_line": 36, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/contentpack/entities/AggregationEventProcessorConfigEntity.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + }, + { + "blob_sha": "4f920f8d3e644d4617c87ac9a28906de4bd1fffa", + "commits": [], + "end_line": 51, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/contentpack/facade/EventDefinitionFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 51 + }, + { + "blob_sha": "4f920f8d3e644d4617c87ac9a28906de4bd1fffa", + "commits": [], + "end_line": 52, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/contentpack/facade/EventDefinitionFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 52 + }, + { + "blob_sha": "a5a6ba97c3dece198f16c654a0a8c1adfcdbe252", + "commits": [], + "end_line": 42, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/contentpack/facade/NotificationFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 42 + }, + { + "blob_sha": "8cee71ca839bdd4fa86b10bb6b7a253c67de1778", + "commits": [], + "end_line": 26, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/event/ESMongoDateTimeDeserializer.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "5c4e7c18c56f86eeb64bd5641b5728245d4264c4", + "commits": [], + "end_line": 45, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/event/EventImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 45 + }, + { + "blob_sha": "4e2f99d1da2b596f8049bb0f7f5402617929e0c8", + "commits": [], + "end_line": 24, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/event/EventProcessorEventFactory.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 } ], "src": "M:graylog2-server/src/main/java/org/graylog/events" @@ -6136,6 +10780,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 90 + }, + { + "blob_sha": "84fcf3c69112eb999a5b40283442ed125f5992f8", + "commits": [], + "end_line": 91, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/rest/EventDefinitionsResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 91 + }, + { + "blob_sha": "84fcf3c69112eb999a5b40283442ed125f5992f8", + "commits": [], + "end_line": 92, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/rest/EventDefinitionsResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 92 + }, + { + "blob_sha": "84fcf3c69112eb999a5b40283442ed125f5992f8", + "commits": [], + "end_line": 93, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/rest/EventDefinitionsResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 93 + }, + { + "blob_sha": "84fcf3c69112eb999a5b40283442ed125f5992f8", + "commits": [], + "end_line": 94, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/rest/EventDefinitionsResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 94 + }, + { + "blob_sha": "84fcf3c69112eb999a5b40283442ed125f5992f8", + "commits": [], + "end_line": 95, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/rest/EventDefinitionsResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 95 + }, + { + "blob_sha": "84fcf3c69112eb999a5b40283442ed125f5992f8", + "commits": [], + "end_line": 96, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/rest/EventDefinitionsResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 96 + }, + { + "blob_sha": "84fcf3c69112eb999a5b40283442ed125f5992f8", + "commits": [], + "end_line": 97, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/rest/EventDefinitionsResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 97 } ], "src": "M:graylog2-server/src/main/java/org/graylog/events" @@ -6182,6 +10910,42 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 103 + }, + { + "blob_sha": "189b66e818ba2e1e36b21836a6566e5c02bfaf01", + "commits": [], + "end_line": 71, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/rest/EventNotificationsResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 71 + }, + { + "blob_sha": "189b66e818ba2e1e36b21836a6566e5c02bfaf01", + "commits": [], + "end_line": 72, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/rest/EventNotificationsResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 72 + }, + { + "blob_sha": "189b66e818ba2e1e36b21836a6566e5c02bfaf01", + "commits": [], + "end_line": 73, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/rest/EventNotificationsResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 73 } ], "src": "M:graylog2-server/src/main/java/org/graylog/events" @@ -6228,6 +10992,78 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 35 + }, + { + "blob_sha": "37cc7c7b466c9ef5cfc471e97780d1ca3514ed08", + "commits": [], + "end_line": 45, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/notifications/types/HTTPEventNotificationV2.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 45 + }, + { + "blob_sha": "c9976d303e076c2e7fb9beb18ac4dc10903336f0", + "commits": [], + "end_line": 29, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/notifications/types/HTTPNotification.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "c9976d303e076c2e7fb9beb18ac4dc10903336f0", + "commits": [], + "end_line": 30, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/notifications/types/HTTPNotification.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "292802158eb4f8d8ddaf766685957f33b0a417b1", + "commits": [], + "end_line": 27, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/procedures/EventProcedure.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "5b393b29fdb69d306e0c1c107ecf55dd0479df7d", + "commits": [], + "end_line": 29, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/procedures/EventProcedureStep.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "f3f348b9263dd5745f48f06de964a5d7f477908c", + "commits": [], + "end_line": 52, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/processor/EventDefinitionDto.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 52 } ], "src": "M:graylog2-server/src/main/java/org/graylog/events" @@ -6274,6 +11110,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 43 + }, + { + "blob_sha": "32062d7c7dffc9de6d60602e4f034ec805307012", + "commits": [], + "end_line": 49, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/legacy/LegacyAlertConditionMigrator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 49 + }, + { + "blob_sha": "40c5de6b2db8b21c436ddd0bd4ea2f9c12042fe3", + "commits": [], + "end_line": 33, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/migrations/V20230629140000_RenameFieldTypeOfEventDefinitionSeries.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "226064c973303bf310bcd4f21475aca7ed53ae79", + "commits": [], + "end_line": 21, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/notifications/EventNotificationExecutionMetrics.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "5ec9ae05447d447dc798c203bd43160566f8f06c", + "commits": [], + "end_line": 33, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/notifications/NotificationDto.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "7b4985dd24f6dfe8a8ed6b5417ad81fb41ef208c", + "commits": [], + "end_line": 24, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/notifications/TemplateModelProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "56130b3a1bd15716b2f7a3559cfb7fea8fa8feca", + "commits": [], + "end_line": 50, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/notifications/types/EmailEventNotification.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 50 + }, + { + "blob_sha": "b3f2feb2b2937169e66048236ce47ace5985ccff", + "commits": [], + "end_line": 31, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/notifications/types/EmailSender.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 } ], "src": "M:graylog2-server/src/main/java/org/graylog/events" @@ -6320,6 +11240,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 36 + }, + { + "blob_sha": "da12828cd3b7c29bad9707e780d2a93cb71afae5", + "commits": [], + "end_line": 21, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/processor/EventStreamService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "ebfb7f5897ec32526a69a90cb842149e11fe8498", + "commits": [], + "end_line": 61, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/processor/aggregation/PivotAggregationSearch.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 61 + }, + { + "blob_sha": "8eb06669175505f30675fd7993f9099073afde81", + "commits": [], + "end_line": 28, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/search/AbstractEventsSearchService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "b6732b66dde5406fdd4cd738dabbe4ed6153a27a", + "commits": [], + "end_line": 29, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/search/EventsSearchService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "2715c9b42a842679880b054b0529e78c31d94e2c", + "commits": [], + "end_line": 34, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/search/EventsSliceService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "c9949c0dcdf36f57f4a16f54dd45bc23504338af", + "commits": [], + "end_line": 39, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/search/MoreSearch.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 39 + }, + { + "blob_sha": "8104501e56b0163e5997850143be5ba51930f8ea", + "commits": [], + "end_line": 21, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/search/SourceStreamFilter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 } ], "src": "M:graylog2-server/src/main/java/org/graylog/events" @@ -6366,7 +11370,67 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 48 - } + }, + { + "blob_sha": "37cc7c7b466c9ef5cfc471e97780d1ca3514ed08", + "commits": [], + "end_line": 49, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/notifications/types/HTTPEventNotificationV2.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 49 + }, + { + "blob_sha": "c9976d303e076c2e7fb9beb18ac4dc10903336f0", + "commits": [], + "end_line": 31, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/notifications/types/HTTPNotification.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "c9976d303e076c2e7fb9beb18ac4dc10903336f0", + "commits": [], + "end_line": 32, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/notifications/types/HTTPNotification.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "065b89028a5d9df63dae38e14873dc27b61a5424", + "commits": [], + "end_line": 21, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/processor/EventProcessorDependencyCheck.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "065b89028a5d9df63dae38e14873dc27b61a5424", + "commits": [], + "end_line": 28, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/events/processor/EventProcessorDependencyCheck.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + } ], "src": "M:graylog2-server/src/main/java/org/graylog/events" }, @@ -6490,6 +11554,42 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 26 + }, + { + "blob_sha": "3231d11d2562da1ca004d3a7b118bb02d6b29897", + "commits": [], + "end_line": 27, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/failure/FailureSubmissionService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "3231d11d2562da1ca004d3a7b118bb02d6b29897", + "commits": [], + "end_line": 43, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/failure/FailureSubmissionService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 43 + }, + { + "blob_sha": "85e2415f58fda7613ad779eeb4e3bd4f3eb80ee2", + "commits": [], + "end_line": 25, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/failure/IndexingFailure.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 } ], "src": "M:graylog2-server/src/main/java/org/graylog/failure" @@ -6558,6 +11658,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 30 + }, + { + "blob_sha": "ff0d7b86543d593dc92fdcf343f7011b7ad7c8de", + "commits": [], + "end_line": 31, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/failure/FailureObjectBuilder.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "ff0d7b86543d593dc92fdcf343f7011b7ad7c8de", + "commits": [], + "end_line": 32, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/failure/FailureObjectBuilder.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "ff0d7b86543d593dc92fdcf343f7011b7ad7c8de", + "commits": [], + "end_line": 33, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/failure/FailureObjectBuilder.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "3231d11d2562da1ca004d3a7b118bb02d6b29897", + "commits": [], + "end_line": 29, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/failure/FailureSubmissionService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "3231d11d2562da1ca004d3a7b118bb02d6b29897", + "commits": [], + "end_line": 44, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/failure/FailureSubmissionService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 44 + }, + { + "blob_sha": "3231d11d2562da1ca004d3a7b118bb02d6b29897", + "commits": [], + "end_line": 30, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/failure/FailureSubmissionService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "3231d11d2562da1ca004d3a7b118bb02d6b29897", + "commits": [], + "end_line": 31, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/failure/FailureSubmissionService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 } ], "src": "M:graylog2-server/src/main/java/org/graylog/failure" @@ -6604,6 +11788,30 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 26 + }, + { + "blob_sha": "3231d11d2562da1ca004d3a7b118bb02d6b29897", + "commits": [], + "end_line": 33, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/failure/FailureSubmissionService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "85e2415f58fda7613ad779eeb4e3bd4f3eb80ee2", + "commits": [], + "end_line": 27, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/failure/IndexingFailure.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 } ], "src": "M:graylog2-server/src/main/java/org/graylog/failure" @@ -6650,6 +11858,30 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 20 + }, + { + "blob_sha": "b09199bd97fd16f4a8967fe02cf334ac3c9a89fb", + "commits": [], + "end_line": 19, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/grn/providers/EventNotificationGRNDescriptorProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "b09199bd97fd16f4a8967fe02cf334ac3c9a89fb", + "commits": [], + "end_line": 20, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/grn/providers/EventNotificationGRNDescriptorProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 } ], "src": "M:graylog2-server/src/main/java/org/graylog/grn" @@ -6740,6 +11972,18 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 25 + }, + { + "blob_sha": "5124c1419b3fda1113a3f2cf73d83445b133eee4", + "commits": [], + "end_line": 23, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/grn/providers/StreamGRNDescriptorProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 } ], "src": "M:graylog2-server/src/main/java/org/graylog/grn" @@ -6852,6 +12096,30 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 25 + }, + { + "blob_sha": "3d73a67ac2b07d00ddacd994d6fc972f7816169b", + "commits": [], + "end_line": 26, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/inputs/otel/transport/OTelHttpTransport.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "3d73a67ac2b07d00ddacd994d6fc972f7816169b", + "commits": [], + "end_line": 27, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/inputs/otel/transport/OTelHttpTransport.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 } ], "src": "M:graylog2-server/src/main/java/org/graylog/inputs" @@ -6898,6 +12166,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 32 + }, + { + "blob_sha": "9146c51975e2d0b243d9893040e8a1a91a4d603d", + "commits": [], + "end_line": 33, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/inputs/grpc/AbstractGrpcTransport.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "9146c51975e2d0b243d9893040e8a1a91a4d603d", + "commits": [], + "end_line": 34, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/inputs/grpc/AbstractGrpcTransport.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "9146c51975e2d0b243d9893040e8a1a91a4d603d", + "commits": [], + "end_line": 35, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/inputs/grpc/AbstractGrpcTransport.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + }, + { + "blob_sha": "9146c51975e2d0b243d9893040e8a1a91a4d603d", + "commits": [], + "end_line": 36, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/inputs/grpc/AbstractGrpcTransport.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + }, + { + "blob_sha": "9146c51975e2d0b243d9893040e8a1a91a4d603d", + "commits": [], + "end_line": 37, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/inputs/grpc/AbstractGrpcTransport.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 37 + }, + { + "blob_sha": "9146c51975e2d0b243d9893040e8a1a91a4d603d", + "commits": [], + "end_line": 38, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/inputs/grpc/AbstractGrpcTransport.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 38 + }, + { + "blob_sha": "9146c51975e2d0b243d9893040e8a1a91a4d603d", + "commits": [], + "end_line": 39, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/inputs/grpc/AbstractGrpcTransport.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 39 } ], "src": "M:graylog2-server/src/main/java/org/graylog/inputs" @@ -6990,6 +12342,30 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 34 + }, + { + "blob_sha": "f89d25c6a03afe975b038227379fe5cbf8752902", + "commits": [], + "end_line": 30, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/inputs/otel/transport/OTelHttpHandler.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "b8d2e925845be501e0d52d8f6db7a77f188c9f93", + "commits": [], + "end_line": 31, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/inputs/otel/transport/OTelLogsService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 } ], "src": "M:graylog2-server/src/main/java/org/graylog/inputs" @@ -7058,6 +12434,54 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 23 + }, + { + "blob_sha": "f83a33ad99652ae42e3f5a65099a73b68b2a0d9a", + "commits": [], + "end_line": 24, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/IntegrationsModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "f83a33ad99652ae42e3f5a65099a73b68b2a0d9a", + "commits": [], + "end_line": 25, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/IntegrationsModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "ebd8eb626f7f35f1f1931f123a2186944e63f555", + "commits": [], + "end_line": 24, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/aws/AWSClientBuilderUtil.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "ebd8eb626f7f35f1f1931f123a2186944e63f555", + "commits": [], + "end_line": 25, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/aws/AWSClientBuilderUtil.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 } ], "src": "M:graylog2-server/src/main/java/org/graylog/integrations" @@ -7104,6 +12528,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 23 + }, + { + "blob_sha": "2a8ae770fe4234ab0019f79ef65af1f139f93091", + "commits": [], + "end_line": 24, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/notifications/types/SlackEventNotification.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "2a8ae770fe4234ab0019f79ef65af1f139f93091", + "commits": [], + "end_line": 25, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/notifications/types/SlackEventNotification.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "2a8ae770fe4234ab0019f79ef65af1f139f93091", + "commits": [], + "end_line": 26, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/notifications/types/SlackEventNotification.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "2a8ae770fe4234ab0019f79ef65af1f139f93091", + "commits": [], + "end_line": 27, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/notifications/types/SlackEventNotification.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "2a8ae770fe4234ab0019f79ef65af1f139f93091", + "commits": [], + "end_line": 28, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/notifications/types/SlackEventNotification.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "2a8ae770fe4234ab0019f79ef65af1f139f93091", + "commits": [], + "end_line": 29, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/notifications/types/SlackEventNotification.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "2a8ae770fe4234ab0019f79ef65af1f139f93091", + "commits": [], + "end_line": 30, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/notifications/types/SlackEventNotification.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 } ], "src": "M:graylog2-server/src/main/java/org/graylog/integrations" @@ -7150,6 +12658,18 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 26 + }, + { + "blob_sha": "936a90bb826496efa5e772812a4415814c477214", + "commits": [], + "end_line": 21, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/ipfix/transports/IpfixUdpTransport.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 } ], "src": "M:graylog2-server/src/main/java/org/graylog/integrations" @@ -7196,6 +12716,18 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 30 + }, + { + "blob_sha": "6ff063c0518e4831415014f3d84064bb76e995e8", + "commits": [], + "end_line": 30, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/pagerduty/PagerDutyNotificationConfig.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 } ], "src": "M:graylog2-server/src/main/java/org/graylog/integrations" @@ -7242,6 +12774,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 23 + }, + { + "blob_sha": "47227c68fa81d191dbc26cad894e61f1103c46aa", + "commits": [], + "end_line": 22, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/inputs/paloalto9/PaloAlto9xTemplates.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "47227c68fa81d191dbc26cad894e61f1103c46aa", + "commits": [], + "end_line": 23, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/inputs/paloalto9/PaloAlto9xTemplates.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "47227c68fa81d191dbc26cad894e61f1103c46aa", + "commits": [], + "end_line": 24, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/inputs/paloalto9/PaloAlto9xTemplates.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "47227c68fa81d191dbc26cad894e61f1103c46aa", + "commits": [], + "end_line": 25, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/inputs/paloalto9/PaloAlto9xTemplates.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "47227c68fa81d191dbc26cad894e61f1103c46aa", + "commits": [], + "end_line": 26, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/inputs/paloalto9/PaloAlto9xTemplates.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "47227c68fa81d191dbc26cad894e61f1103c46aa", + "commits": [], + "end_line": 27, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/inputs/paloalto9/PaloAlto9xTemplates.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "47227c68fa81d191dbc26cad894e61f1103c46aa", + "commits": [], + "end_line": 28, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/inputs/paloalto9/PaloAlto9xTemplates.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 } ], "src": "M:graylog2-server/src/main/java/org/graylog/integrations" @@ -7310,6 +12926,18 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 58 + }, + { + "blob_sha": "33ad7c96ef310fc878dfc115dcf67d5d0e1e666d", + "commits": [], + "end_line": 44, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/aws/resources/KinesisSetupResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 44 } ], "src": "M:graylog2-server/src/main/java/org/graylog/integrations" @@ -7356,6 +12984,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 26 + }, + { + "blob_sha": "9d791b72eead1a797451119ad3508f248856bca4", + "commits": [], + "end_line": 27, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/notifications/types/SlackEventNotificationConfigEntity.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "0e263010e3e0c23a8eebbe20fe5b9f57dd49fb59", + "commits": [], + "end_line": 31, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/notifications/types/microsoftteams/TeamsEventNotificationConfig.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "0e263010e3e0c23a8eebbe20fe5b9f57dd49fb59", + "commits": [], + "end_line": 32, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/notifications/types/microsoftteams/TeamsEventNotificationConfig.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "823d74653ba3f9818e6a23e686ac4a534fc5b7de", + "commits": [], + "end_line": 26, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/notifications/types/microsoftteams/TeamsEventNotificationConfigEntity.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "823d74653ba3f9818e6a23e686ac4a534fc5b7de", + "commits": [], + "end_line": 27, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/notifications/types/microsoftteams/TeamsEventNotificationConfigEntity.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "3ffa5be1ad9892bfcba917bbb63dfd7f9041b1d7", + "commits": [], + "end_line": 31, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/notifications/types/microsoftteams/TeamsEventNotificationConfigV2.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "3ffa5be1ad9892bfcba917bbb63dfd7f9041b1d7", + "commits": [], + "end_line": 32, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/notifications/types/microsoftteams/TeamsEventNotificationConfigV2.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 } ], "src": "M:graylog2-server/src/main/java/org/graylog/integrations" @@ -7448,6 +13160,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 32 + }, + { + "blob_sha": "c028a5d43a1e1f6b792ed8c2ba84bf814507ca28", + "commits": [], + "end_line": 21, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/inputs/paloalto/PaloAltoTCPInput.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "a612436373823473694665ba6b325a3959e52ac0", + "commits": [], + "end_line": 22, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/inputs/paloalto11/PaloAlto11xInput.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "76e9f9dd93e8ed7a0076652971fb3e69268e8219", + "commits": [], + "end_line": 23, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/inputs/paloalto11/PaloAlto11xUdpInput.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "0cb23f366c5424789d9cb84e7c9261f7e24ab3ae", + "commits": [], + "end_line": 21, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/inputs/paloalto9/PaloAlto9xInput.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "938109f0bbebd9b33a89b6e64db08b1f969a6411", + "commits": [], + "end_line": 27, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/ipfix/transports/IpfixMessageAggregationHandler.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "936a90bb826496efa5e772812a4415814c477214", + "commits": [], + "end_line": 22, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/ipfix/transports/IpfixUdpTransport.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "936a90bb826496efa5e772812a4415814c477214", + "commits": [], + "end_line": 23, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/ipfix/transports/IpfixUdpTransport.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 } ], "src": "M:graylog2-server/src/main/java/org/graylog/integrations" @@ -7494,6 +13290,18 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 30 + }, + { + "blob_sha": "ae9bf8088c67313347769858d033c20f02d3ef50", + "commits": [], + "end_line": 25, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/migrations/V20260929120000_NotifyKinesisSingleTableMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 } ], "src": "M:graylog2-server/src/main/java/org/graylog/integrations" @@ -7540,2140 +13348,2002 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 32 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/integrations" - }, - { - "count": 229, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/integrations->M:graylog2-server/src/main/java/org/graylog2/plugin", - "kind": "uses", - "refs": [ - { - "blob_sha": "edc0e6c7c74b166b31369e27fc9cba31bc5ce16a", - "commits": [], - "end_line": 19, - "id": "E1", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/integrations/IntegrationsMetaData.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 }, { - "blob_sha": "edc0e6c7c74b166b31369e27fc9cba31bc5ce16a", + "blob_sha": "2a8ae770fe4234ab0019f79ef65af1f139f93091", "commits": [], - "end_line": 20, - "id": "E2", + "end_line": 33, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/integrations/IntegrationsMetaData.java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/notifications/types/SlackEventNotification.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 33 }, { - "blob_sha": "edc0e6c7c74b166b31369e27fc9cba31bc5ce16a", + "blob_sha": "366ccfd110989fe0b3ded43febc3ffaef8c3fbad", "commits": [], - "end_line": 21, - "id": "E3", + "end_line": 31, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/integrations/IntegrationsMetaData.java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/notifications/types/microsoftteams/TeamsEventNotification.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/integrations" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/integrations->M:graylog2-server/src/main/java/org/graylog2/rest", - "kind": "uses", - "refs": [ + "start_line": 31 + }, { - "blob_sha": "d9f94bc372ea6f88608b20a7eb033da3b8500231", + "blob_sha": "366ccfd110989fe0b3ded43febc3ffaef8c3fbad", "commits": [], - "end_line": 61, - "id": "E1", + "end_line": 32, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/integrations/aws/resources/AWSResource.java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/notifications/types/microsoftteams/TeamsEventNotification.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 61 + "start_line": 32 }, { - "blob_sha": "a66c6bd9571b92f442f060ee038fc9bfd6a131ae", + "blob_sha": "be51205a11aaaeb2018aa3856c62f954c6da91be", "commits": [], - "end_line": 38, - "id": "E2", + "end_line": 32, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/integrations/aws/service/AWSService.java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/notifications/types/microsoftteams/TeamsEventNotificationV2.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 38 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/integrations" - }, - { - "count": 6, - "dst": "M:graylog2-server/src/main/java/org/graylog2/security", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/integrations->M:graylog2-server/src/main/java/org/graylog2/security", - "kind": "uses", - "refs": [ + "start_line": 32 + }, { - "blob_sha": "ebd8eb626f7f35f1f1931f123a2186944e63f555", + "blob_sha": "be51205a11aaaeb2018aa3856c62f954c6da91be", "commits": [], - "end_line": 28, - "id": "E1", + "end_line": 33, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/integrations/aws/AWSClientBuilderUtil.java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/notifications/types/microsoftteams/TeamsEventNotificationV2.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 + "start_line": 33 }, { - "blob_sha": "ebd8eb626f7f35f1f1931f123a2186944e63f555", + "blob_sha": "fed3ac078e5961870bbf3c7627a5e63a30dd25f4", "commits": [], "end_line": 29, - "id": "E2", + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/integrations/aws/AWSClientBuilderUtil.java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/pagerduty/PagerDutyNotification.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 29 }, { - "blob_sha": "1204631b49df6bdd5f2e4778a0a28bbd44595b5b", + "blob_sha": "fed3ac078e5961870bbf3c7627a5e63a30dd25f4", "commits": [], - "end_line": 20, - "id": "E3", + "end_line": 30, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/integrations/aws/resources/requests/AWSRequest.java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/pagerduty/PagerDutyNotification.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 30 } ], "src": "M:graylog2-server/src/main/java/org/graylog/integrations" }, { - "count": 13, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "count": 229, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/integrations->M:graylog2-server/src/main/java/org/graylog2/shared", + "id": "M:graylog2-server/src/main/java/org/graylog/integrations->M:graylog2-server/src/main/java/org/graylog2/plugin", "kind": "uses", "refs": [ { - "blob_sha": "d9f94bc372ea6f88608b20a7eb033da3b8500231", + "blob_sha": "edc0e6c7c74b166b31369e27fc9cba31bc5ce16a", "commits": [], - "end_line": 62, + "end_line": 19, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/integrations/aws/resources/AWSResource.java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/IntegrationsMetaData.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 62 + "start_line": 19 }, { - "blob_sha": "d9f94bc372ea6f88608b20a7eb033da3b8500231", + "blob_sha": "edc0e6c7c74b166b31369e27fc9cba31bc5ce16a", "commits": [], - "end_line": 63, + "end_line": 20, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/integrations/aws/resources/AWSResource.java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/IntegrationsMetaData.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 63 + "start_line": 20 }, { - "blob_sha": "d9f94bc372ea6f88608b20a7eb033da3b8500231", + "blob_sha": "edc0e6c7c74b166b31369e27fc9cba31bc5ce16a", "commits": [], - "end_line": 64, + "end_line": 21, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/integrations/aws/resources/AWSResource.java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/IntegrationsMetaData.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 64 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/integrations" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/utilities", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/integrations->M:graylog2-server/src/main/java/org/graylog2/utilities", - "kind": "uses", - "refs": [ + "start_line": 21 + }, { - "blob_sha": "3776f99f7f9adb9b31a5470fcfd3ac2a665fdc6e", + "blob_sha": "f83a33ad99652ae42e3f5a65099a73b68b2a0d9a", "commits": [], - "end_line": 47, - "id": "E1", + "end_line": 63, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/integrations/dataadapters/GreyNoiseQuickIPDataAdapter.java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/IntegrationsModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 47 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/integrations" - }, - { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/web", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/integrations->M:graylog2-server/src/main/java/org/graylog2/web", - "kind": "uses", - "refs": [ + "start_line": 63 + }, { - "blob_sha": "3776f99f7f9adb9b31a5470fcfd3ac2a665fdc6e", + "blob_sha": "f83a33ad99652ae42e3f5a65099a73b68b2a0d9a", "commits": [], - "end_line": 48, - "id": "E1", + "end_line": 64, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/integrations/dataadapters/GreyNoiseQuickIPDataAdapter.java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/IntegrationsModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 48 + "start_line": 64 }, { - "blob_sha": "ae9bf8088c67313347769858d033c20f02d3ef50", + "blob_sha": "1c17ea3f09bb5fa717f31d7c86b66ed47fe42646", "commits": [], - "end_line": 29, - "id": "E2", + "end_line": 19, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/integrations/migrations/V20260929120000_NotifyKinesisSingleTableMigration.java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/IntegrationsPlugin.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 + "start_line": 19 }, { - "blob_sha": "366ccfd110989fe0b3ded43febc3ffaef8c3fbad", + "blob_sha": "1c17ea3f09bb5fa717f31d7c86b66ed47fe42646", "commits": [], - "end_line": 36, - "id": "E3", + "end_line": 20, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/integrations/notifications/types/microsoftteams/TeamsEventNotification.java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/IntegrationsPlugin.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 36 + "start_line": 20 + }, + { + "blob_sha": "1c17ea3f09bb5fa717f31d7c86b66ed47fe42646", + "commits": [], + "end_line": 21, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/IntegrationsPlugin.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "83141dc4e6376f3cdbe2638c0e234fed5649b274", + "commits": [], + "end_line": 22, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/aws/AWSMessageType.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "83141dc4e6376f3cdbe2638c0e234fed5649b274", + "commits": [], + "end_line": 23, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/aws/AWSMessageType.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 } ], "src": "M:graylog2-server/src/main/java/org/graylog/integrations" }, { "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog/events", + "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/mcp->M:graylog2-server/src/main/java/org/graylog/events", + "id": "M:graylog2-server/src/main/java/org/graylog/integrations->M:graylog2-server/src/main/java/org/graylog2/rest", "kind": "uses", "refs": [ { - "blob_sha": "bcbac8eb9446e7a80f6c2d878d931eb449047587", + "blob_sha": "d9f94bc372ea6f88608b20a7eb033da3b8500231", "commits": [], - "end_line": 24, + "end_line": 61, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/mcp/resources/EventDefinitionResourceProvider.java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/aws/resources/AWSResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 61 }, { - "blob_sha": "bcbac8eb9446e7a80f6c2d878d931eb449047587", + "blob_sha": "a66c6bd9571b92f442f060ee038fc9bfd6a131ae", "commits": [], - "end_line": 25, + "end_line": 38, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/mcp/resources/EventDefinitionResourceProvider.java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/aws/service/AWSService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 38 } ], - "src": "M:graylog2-server/src/main/java/org/graylog/mcp" + "src": "M:graylog2-server/src/main/java/org/graylog/integrations" }, { - "count": 17, - "dst": "M:graylog2-server/src/main/java/org/graylog/grn", + "count": 6, + "dst": "M:graylog2-server/src/main/java/org/graylog2/security", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/mcp->M:graylog2-server/src/main/java/org/graylog/grn", + "id": "M:graylog2-server/src/main/java/org/graylog/integrations->M:graylog2-server/src/main/java/org/graylog2/security", "kind": "uses", "refs": [ { - "blob_sha": "2e50a5582f942bb18f550407953b5151f87ef8c3", + "blob_sha": "ebd8eb626f7f35f1f1931f123a2186944e63f555", "commits": [], - "end_line": 24, + "end_line": 28, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/mcp/resources/DashboardResourceProvider.java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/aws/AWSClientBuilderUtil.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 28 }, { - "blob_sha": "2e50a5582f942bb18f550407953b5151f87ef8c3", + "blob_sha": "ebd8eb626f7f35f1f1931f123a2186944e63f555", "commits": [], - "end_line": 25, + "end_line": 29, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/mcp/resources/DashboardResourceProvider.java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/aws/AWSClientBuilderUtil.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 29 }, { - "blob_sha": "2e50a5582f942bb18f550407953b5151f87ef8c3", + "blob_sha": "1204631b49df6bdd5f2e4778a0a28bbd44595b5b", "commits": [], - "end_line": 26, + "end_line": 20, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/mcp/resources/DashboardResourceProvider.java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/aws/resources/requests/AWSRequest.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/mcp" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog/jsonschema", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/mcp->M:graylog2-server/src/main/java/org/graylog/jsonschema", - "kind": "uses", - "refs": [ + "start_line": 20 + }, { - "blob_sha": "2db410cf2c9e5190169134400d6226e323aece45", + "blob_sha": "d03188b5bb1e2c5ab11dd35a8770c73f98c212bc", "commits": [], - "end_line": 34, - "id": "E1", + "end_line": 50, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/mcp/server/SchemaGeneratorProvider.java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/aws/transports/KinesisTransport.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 34 + "start_line": 50 }, { - "blob_sha": "2db410cf2c9e5190169134400d6226e323aece45", + "blob_sha": "3776f99f7f9adb9b31a5470fcfd3ac2a665fdc6e", "commits": [], - "end_line": 35, - "id": "E2", + "end_line": 45, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/mcp/server/SchemaGeneratorProvider.java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/dataadapters/GreyNoiseQuickIPDataAdapter.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 35 + "start_line": 45 + }, + { + "blob_sha": "3776f99f7f9adb9b31a5470fcfd3ac2a665fdc6e", + "commits": [], + "end_line": 46, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/dataadapters/GreyNoiseQuickIPDataAdapter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 46 } ], - "src": "M:graylog2-server/src/main/java/org/graylog/mcp" + "src": "M:graylog2-server/src/main/java/org/graylog/integrations" }, { - "count": 17, - "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", + "count": 13, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/mcp->M:graylog2-server/src/main/java/org/graylog/plugins", + "id": "M:graylog2-server/src/main/java/org/graylog/integrations->M:graylog2-server/src/main/java/org/graylog2/shared", "kind": "uses", "refs": [ { - "blob_sha": "2e50a5582f942bb18f550407953b5151f87ef8c3", + "blob_sha": "d9f94bc372ea6f88608b20a7eb033da3b8500231", "commits": [], - "end_line": 30, + "end_line": 62, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/mcp/resources/DashboardResourceProvider.java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/aws/resources/AWSResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 + "start_line": 62 }, { - "blob_sha": "2e50a5582f942bb18f550407953b5151f87ef8c3", + "blob_sha": "d9f94bc372ea6f88608b20a7eb033da3b8500231", "commits": [], - "end_line": 31, + "end_line": 63, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/mcp/resources/DashboardResourceProvider.java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/aws/resources/AWSResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 31 + "start_line": 63 }, { - "blob_sha": "3b62f4af65bc0e3c839f7747d17281c51be2b271", + "blob_sha": "d9f94bc372ea6f88608b20a7eb033da3b8500231", "commits": [], - "end_line": 41, + "end_line": 64, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/mcp/server/McpRestResource.java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/aws/resources/AWSResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 41 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/mcp" - }, - { - "count": 12, - "dst": "M:graylog2-server/src/main/java/org/graylog2/audit", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/mcp->M:graylog2-server/src/main/java/org/graylog2/audit", - "kind": "uses", - "refs": [ + "start_line": 64 + }, { - "blob_sha": "3b62f4af65bc0e3c839f7747d17281c51be2b271", + "blob_sha": "33ad7c96ef310fc878dfc115dcf67d5d0e1e666d", "commits": [], - "end_line": 42, - "id": "E1", + "end_line": 47, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/mcp/server/McpRestResource.java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/aws/resources/KinesisSetupResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 42 + "start_line": 47 }, { - "blob_sha": "358618e15128e05f3e265e8f8091bc9e6cbcddde", + "blob_sha": "33ad7c96ef310fc878dfc115dcf67d5d0e1e666d", "commits": [], - "end_line": 37, - "id": "E2", + "end_line": 48, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/mcp/server/McpService.java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/aws/resources/KinesisSetupResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 + "start_line": 48 }, { - "blob_sha": "358618e15128e05f3e265e8f8091bc9e6cbcddde", + "blob_sha": "a66c6bd9571b92f442f060ee038fc9bfd6a131ae", "commits": [], - "end_line": 38, - "id": "E3", + "end_line": 39, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/mcp/server/McpService.java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/aws/service/AWSService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 38 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/mcp" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/mcp->M:graylog2-server/src/main/java/org/graylog2/cluster", - "kind": "uses", - "refs": [ + "start_line": 39 + }, { - "blob_sha": "6009b84788ccfe2401be295fc2c4deb06d3c9152", + "blob_sha": "a66c6bd9571b92f442f060ee038fc9bfd6a131ae", "commits": [], - "end_line": 25, - "id": "E1", + "end_line": 40, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/SystemInfoFormattedTool.java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/aws/service/AWSService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 40 }, { - "blob_sha": "e59489e69586a591a3869bdfd92a46df0316001d", + "blob_sha": "49c308d1dc6b994e19b54f0475fd748a9c1dfa20", "commits": [], - "end_line": 24, - "id": "E2", + "end_line": 31, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/SystemInfoTool.java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/aws/service/CloudWatchService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 31 + }, + { + "blob_sha": "c410ef29e03ccfc08e35a4025260f8f64eaf3697", + "commits": [], + "end_line": 49, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/aws/service/KinesisService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 49 + }, + { + "blob_sha": "38d99de4fe72da5e99a2653e44ab7568f23231f0", + "commits": [], + "end_line": 53, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/integrations/aws/transports/KinesisShardProcessorFactory.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 53 } ], - "src": "M:graylog2-server/src/main/java/org/graylog/mcp" + "src": "M:graylog2-server/src/main/java/org/graylog/integrations" }, { "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/database", + "dst": "M:graylog2-server/src/main/java/org/graylog2/utilities", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/mcp->M:graylog2-server/src/main/java/org/graylog2/database", + "id": "M:graylog2-server/src/main/java/org/graylog/integrations->M:graylog2-server/src/main/java/org/graylog2/utilities", "kind": "uses", "refs": [ { - "blob_sha": "e272499baedc183015f7526af05b81ab67447eb2", + "blob_sha": "3776f99f7f9adb9b31a5470fcfd3ac2a665fdc6e", "commits": [], - "end_line": 30, + "end_line": 47, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/mcp/resources/StreamResourceProvider.java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/dataadapters/GreyNoiseQuickIPDataAdapter.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 + "start_line": 47 } ], - "src": "M:graylog2-server/src/main/java/org/graylog/mcp" + "src": "M:graylog2-server/src/main/java/org/graylog/integrations" }, { - "count": 13, - "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog2/web", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/mcp->M:graylog2-server/src/main/java/org/graylog2/indexer", + "id": "M:graylog2-server/src/main/java/org/graylog/integrations->M:graylog2-server/src/main/java/org/graylog2/web", "kind": "uses", "refs": [ { - "blob_sha": "ec16d72495c27eb91eac68213831e6397a410623", + "blob_sha": "3776f99f7f9adb9b31a5470fcfd3ac2a665fdc6e", "commits": [], - "end_line": 31, + "end_line": 48, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/ListFieldsTool.java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/dataadapters/GreyNoiseQuickIPDataAdapter.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 31 + "start_line": 48 }, { - "blob_sha": "fc833311bb9bdcafe82ec1a5d4a731cee28589ca", + "blob_sha": "ae9bf8088c67313347769858d033c20f02d3ef50", "commits": [], - "end_line": 24, + "end_line": 29, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/ListIndexSetsTool.java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/migrations/V20260929120000_NotifyKinesisSingleTableMigration.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 29 }, { - "blob_sha": "fc833311bb9bdcafe82ec1a5d4a731cee28589ca", + "blob_sha": "366ccfd110989fe0b3ded43febc3ffaef8c3fbad", "commits": [], - "end_line": 25, + "end_line": 36, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/ListIndexSetsTool.java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/notifications/types/microsoftteams/TeamsEventNotification.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/mcp" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/inputs", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/mcp->M:graylog2-server/src/main/java/org/graylog2/inputs", - "kind": "uses", - "refs": [ + "start_line": 36 + }, { - "blob_sha": "757770900a3d8998b40c4f12e20f8c7b9287dc2b", + "blob_sha": "9790990428874b724dec2ca85e91aa3b800cc2d2", "commits": [], - "end_line": 25, - "id": "E1", + "end_line": 32, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/ListInputsTool.java", + "path": "graylog2-server/src/main/java/org/graylog/integrations/pagerduty/client/MessageFactory.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 32 } ], - "src": "M:graylog2-server/src/main/java/org/graylog/mcp" + "src": "M:graylog2-server/src/main/java/org/graylog/integrations" }, { - "count": 28, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog/events", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/mcp->M:graylog2-server/src/main/java/org/graylog2/plugin", + "id": "M:graylog2-server/src/main/java/org/graylog/mcp->M:graylog2-server/src/main/java/org/graylog/events", "kind": "uses", "refs": [ { - "blob_sha": "e272499baedc183015f7526af05b81ab67447eb2", + "blob_sha": "bcbac8eb9446e7a80f6c2d878d931eb449047587", "commits": [], - "end_line": 31, + "end_line": 24, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/mcp/resources/StreamResourceProvider.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/resources/EventDefinitionResourceProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 31 + "start_line": 24 }, { - "blob_sha": "3b62f4af65bc0e3c839f7747d17281c51be2b271", + "blob_sha": "bcbac8eb9446e7a80f6c2d878d931eb449047587", "commits": [], - "end_line": 43, + "end_line": 25, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/mcp/server/McpRestResource.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 43 - }, - { - "blob_sha": "c2f7392b1ab6c9c1d9413719f36a2ef11f5fc750", - "commits": [], - "end_line": 35, - "id": "E3", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/mcp/server/McpServerModule.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/resources/EventDefinitionResourceProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 35 + "start_line": 25 } ], "src": "M:graylog2-server/src/main/java/org/graylog/mcp" }, { - "count": 10, - "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", + "count": 17, + "dst": "M:graylog2-server/src/main/java/org/graylog/grn", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/mcp->M:graylog2-server/src/main/java/org/graylog2/rest", + "id": "M:graylog2-server/src/main/java/org/graylog/mcp->M:graylog2-server/src/main/java/org/graylog/grn", "kind": "uses", "refs": [ { "blob_sha": "2e50a5582f942bb18f550407953b5151f87ef8c3", "commits": [], - "end_line": 32, + "end_line": 24, "id": "E1", "kind": "lines", "path": "graylog2-server/src/main/java/org/graylog/mcp/resources/DashboardResourceProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 32 + "start_line": 24 }, { - "blob_sha": "fc833311bb9bdcafe82ec1a5d4a731cee28589ca", + "blob_sha": "2e50a5582f942bb18f550407953b5151f87ef8c3", "commits": [], - "end_line": 31, + "end_line": 25, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/ListIndexSetsTool.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/resources/DashboardResourceProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 31 + "start_line": 25 }, { - "blob_sha": "9f2ed171271739926361ccfd607e874de98126d3", + "blob_sha": "2e50a5582f942bb18f550407953b5151f87ef8c3", "commits": [], - "end_line": 32, + "end_line": 26, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/ListIndicesTool.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/resources/DashboardResourceProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 32 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/mcp" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/search", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/mcp->M:graylog2-server/src/main/java/org/graylog2/search", - "kind": "uses", - "refs": [ + "start_line": 26 + }, { "blob_sha": "2e50a5582f942bb18f550407953b5151f87ef8c3", "commits": [], - "end_line": 33, - "id": "E1", + "end_line": 27, + "id": "E4", "kind": "lines", "path": "graylog2-server/src/main/java/org/graylog/mcp/resources/DashboardResourceProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 33 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/mcp" - }, - { - "count": 33, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/mcp->M:graylog2-server/src/main/java/org/graylog2/shared", - "kind": "uses", - "refs": [ + "start_line": 27 + }, { - "blob_sha": "2e50a5582f942bb18f550407953b5151f87ef8c3", + "blob_sha": "bcbac8eb9446e7a80f6c2d878d931eb449047587", "commits": [], - "end_line": 41, - "id": "E1", + "end_line": 26, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/mcp/resources/DashboardResourceProvider.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/resources/EventDefinitionResourceProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 41 + "start_line": 26 }, { "blob_sha": "bcbac8eb9446e7a80f6c2d878d931eb449047587", "commits": [], - "end_line": 32, - "id": "E2", + "end_line": 27, + "id": "E6", "kind": "lines", "path": "graylog2-server/src/main/java/org/graylog/mcp/resources/EventDefinitionResourceProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 32 + "start_line": 27 }, { "blob_sha": "bcbac8eb9446e7a80f6c2d878d931eb449047587", "commits": [], - "end_line": 39, - "id": "E3", + "end_line": 28, + "id": "E7", "kind": "lines", "path": "graylog2-server/src/main/java/org/graylog/mcp/resources/EventDefinitionResourceProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 39 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/mcp" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/streams", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/mcp->M:graylog2-server/src/main/java/org/graylog2/streams", - "kind": "uses", - "refs": [ + "start_line": 28 + }, + { + "blob_sha": "bcbac8eb9446e7a80f6c2d878d931eb449047587", + "commits": [], + "end_line": 29, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/mcp/resources/EventDefinitionResourceProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, { "blob_sha": "e272499baedc183015f7526af05b81ab67447eb2", "commits": [], - "end_line": 33, - "id": "E1", + "end_line": 24, + "id": "E9", "kind": "lines", "path": "graylog2-server/src/main/java/org/graylog/mcp/resources/StreamResourceProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 33 + "start_line": 24 }, { - "blob_sha": "0ac828d8875d67dee41e9a1eb71a9225052f781b", + "blob_sha": "e272499baedc183015f7526af05b81ab67447eb2", "commits": [], - "end_line": 27, - "id": "E2", + "end_line": 25, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/ListStreamsTool.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/resources/StreamResourceProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 25 } ], "src": "M:graylog2-server/src/main/java/org/graylog/mcp" }, { - "count": 15, - "dst": "M:graylog2-server/src/main/java/org/graylog2/web", + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog/jsonschema", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/mcp->M:graylog2-server/src/main/java/org/graylog2/web", + "id": "M:graylog2-server/src/main/java/org/graylog/mcp->M:graylog2-server/src/main/java/org/graylog/jsonschema", "kind": "uses", "refs": [ { - "blob_sha": "2e50a5582f942bb18f550407953b5151f87ef8c3", + "blob_sha": "2db410cf2c9e5190169134400d6226e323aece45", "commits": [], "end_line": 34, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/mcp/resources/DashboardResourceProvider.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/server/SchemaGeneratorProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 34 }, { - "blob_sha": "bcbac8eb9446e7a80f6c2d878d931eb449047587", + "blob_sha": "2db410cf2c9e5190169134400d6226e323aece45", "commits": [], - "end_line": 33, + "end_line": 35, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/mcp/resources/EventDefinitionResourceProvider.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/server/SchemaGeneratorProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 33 - }, - { - "blob_sha": "e272499baedc183015f7526af05b81ab67447eb2", - "commits": [], - "end_line": 34, - "id": "E3", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/mcp/resources/StreamResourceProvider.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 34 + "start_line": 35 } ], "src": "M:graylog2-server/src/main/java/org/graylog/mcp" }, { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/jackson", + "count": 17, + "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/metrics->M:graylog2-server/src/main/java/org/graylog2/jackson", + "id": "M:graylog2-server/src/main/java/org/graylog/mcp->M:graylog2-server/src/main/java/org/graylog/plugins", "kind": "uses", "refs": [ { - "blob_sha": "5362dc4d564f5fb91155ea373546a3244fc8cada", + "blob_sha": "2e50a5582f942bb18f550407953b5151f87ef8c3", "commits": [], - "end_line": 23, + "end_line": 30, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/metrics/prometheus/mapping/MetricMapping.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/resources/DashboardResourceProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 30 }, { - "blob_sha": "eccd8864572498e7788eb9b2d7bb1c9bbb8bfa10", + "blob_sha": "2e50a5582f942bb18f550407953b5151f87ef8c3", "commits": [], - "end_line": 22, + "end_line": 31, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/metrics/prometheus/mapping/PrometheusMappingConfigLoader.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/resources/DashboardResourceProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/metrics" - }, - { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/metrics->M:graylog2-server/src/main/java/org/graylog2/plugin", - "kind": "uses", - "refs": [ + "start_line": 31 + }, { - "blob_sha": "49591ca6717738efb3f3b83e4f967b80282daf68", + "blob_sha": "3b62f4af65bc0e3c839f7747d17281c51be2b271", "commits": [], - "end_line": 25, - "id": "E1", + "end_line": 41, + "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/metrics/prometheus/PrometheusMetricsModule.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/server/McpRestResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 41 }, { - "blob_sha": "71096fff30015b423bd5c860986ec6f34ca6257b", + "blob_sha": "a6ee31cfe11bc0dddaa604dc65cb47854fc0fc0a", "commits": [], - "end_line": 26, - "id": "E2", + "end_line": 33, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/metrics/prometheus/mapping/InputMetricMapping.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/AggregateMessagesTool.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 33 }, { - "blob_sha": "2301d340044bf7e0032022ac2278fa0454836286", + "blob_sha": "a6ee31cfe11bc0dddaa604dc65cb47854fc0fc0a", "commits": [], - "end_line": 28, - "id": "E3", + "end_line": 34, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/metrics/prometheus/mapping/MetricMatchMapping.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/AggregateMessagesTool.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/metrics" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/metrics->M:graylog2-server/src/main/java/org/graylog2/shared", - "kind": "uses", - "refs": [ + "start_line": 34 + }, { - "blob_sha": "06a6d844e7b8833e40c2d684c902dbafdd78a7fd", + "blob_sha": "a6ee31cfe11bc0dddaa604dc65cb47854fc0fc0a", "commits": [], - "end_line": 27, - "id": "E1", + "end_line": 35, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/metrics/prometheus/PrometheusExporterHTTPServer.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/AggregateMessagesTool.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 35 }, { - "blob_sha": "71096fff30015b423bd5c860986ec6f34ca6257b", + "blob_sha": "a6ee31cfe11bc0dddaa604dc65cb47854fc0fc0a", "commits": [], - "end_line": 27, - "id": "E2", + "end_line": 36, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/metrics/prometheus/mapping/InputMetricMapping.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/AggregateMessagesTool.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/metrics" - }, - { - "count": 1, - "dst": "M:graylog2-web-interface/src/components", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/metrics->M:graylog2-web-interface/src/components", - "kind": "uses", - "refs": [ + "start_line": 36 + }, { - "blob_sha": "3bfbf11a2b506936ce00cbbe5daa0f97d410deef", + "blob_sha": "a6ee31cfe11bc0dddaa604dc65cb47854fc0fc0a", "commits": [], - "end_line": 19, - "id": "E1", + "end_line": 37, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/metrics/prometheus/PrometheusMetricFilter.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/AggregateMessagesTool.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 37 + }, + { + "blob_sha": "a6ee31cfe11bc0dddaa604dc65cb47854fc0fc0a", + "commits": [], + "end_line": 38, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/AggregateMessagesTool.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 38 + }, + { + "blob_sha": "3aa9757ed380785e5eb04006f043725e16dd7a72", + "commits": [], + "end_line": 31, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/GetVisualizationOptionsTool.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 } ], - "src": "M:graylog2-server/src/main/java/org/graylog/metrics" + "src": "M:graylog2-server/src/main/java/org/graylog/mcp" }, { - "count": 5, - "dst": "M:graylog2-server/src/main/java/org/graylog/events", + "count": 12, + "dst": "M:graylog2-server/src/main/java/org/graylog2/audit", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog/events", + "id": "M:graylog2-server/src/main/java/org/graylog/mcp->M:graylog2-server/src/main/java/org/graylog2/audit", "kind": "uses", "refs": [ { - "blob_sha": "e80f05e9572a7aab3e29944bbb4d1844275e0559", + "blob_sha": "3b62f4af65bc0e3c839f7747d17281c51be2b271", "commits": [], - "end_line": 21, + "end_line": 42, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/searchtypes/events/CommonEventSummary.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/server/McpRestResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 42 }, { - "blob_sha": "e80f05e9572a7aab3e29944bbb4d1844275e0559", + "blob_sha": "358618e15128e05f3e265e8f8091bc9e6cbcddde", "commits": [], - "end_line": 22, + "end_line": 37, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/searchtypes/events/CommonEventSummary.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/server/McpService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 37 }, { - "blob_sha": "1b8a2bb19c48b2efdbdfa875176631a6eaeaf2b0", + "blob_sha": "358618e15128e05f3e265e8f8091bc9e6cbcddde", "commits": [], - "end_line": 28, + "end_line": 38, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/searchtypes/events/EventList.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/server/McpService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/plugins" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog/failure", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog/failure", - "kind": "uses", - "refs": [ + "start_line": 38 + }, { - "blob_sha": "ced3032ba456c0bec031c52269cd99352fff6d28", + "blob_sha": "358618e15128e05f3e265e8f8091bc9e6cbcddde", "commits": [], - "end_line": 34, - "id": "E1", + "end_line": 39, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/processors/PipelineInterpreter.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/server/McpService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 34 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/plugins" - }, - { - "count": 23, - "dst": "M:graylog2-server/src/main/java/org/graylog/grn", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog/grn", - "kind": "uses", - "refs": [ + "start_line": 39 + }, { - "blob_sha": "3ace723294c5b2b5044d88e29ce2e634116cded9", + "blob_sha": "358618e15128e05f3e265e8f8091bc9e6cbcddde", "commits": [], - "end_line": 19, - "id": "E1", + "end_line": 52, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/views/favorites/Favorite.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/server/McpService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 52 }, { - "blob_sha": "415a0651683ddee6a8e189d41773f4ce6cc9d46e", + "blob_sha": "358618e15128e05f3e265e8f8091bc9e6cbcddde", "commits": [], - "end_line": 20, - "id": "E2", + "end_line": 53, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/views/favorites/FavoritesForUserDTO.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/server/McpService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 53 }, { - "blob_sha": "04d263e23306257e5db41b14c6920fd1f3041ea3", + "blob_sha": "358618e15128e05f3e265e8f8091bc9e6cbcddde", "commits": [], - "end_line": 27, - "id": "E3", + "end_line": 54, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/views/favorites/FavoritesService.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/server/McpService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/plugins" - }, - { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog/jsonschema", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog/jsonschema", - "kind": "uses", - "refs": [ + "start_line": 54 + }, { - "blob_sha": "7380e883e874840129d8cf6611f3ff083db91744", + "blob_sha": "358618e15128e05f3e265e8f8091bc9e6cbcddde", "commits": [], - "end_line": 26, - "id": "E1", + "end_line": 55, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/views/widgets/aggregation/HeatmapVisualizationConfigDTO.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/server/McpService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 55 }, { - "blob_sha": "8b2cd8f7e659e5e0dd84459c63da2e932baa6a64", + "blob_sha": "358618e15128e05f3e265e8f8091bc9e6cbcddde", "commits": [], - "end_line": 26, - "id": "E2", + "end_line": 56, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/views/widgets/aggregation/NetworkVisualizationConfigDTO.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/server/McpService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 56 }, { - "blob_sha": "2f7933ef6f50d72212bbec914f9fddafe796396e", + "blob_sha": "358618e15128e05f3e265e8f8091bc9e6cbcddde", "commits": [], - "end_line": 46, - "id": "E3", + "end_line": 57, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/views/visualizations/VisualizationConfigs.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/server/McpService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 46 + "start_line": 57 } ], - "src": "M:graylog2-server/src/main/java/org/graylog/plugins" + "src": "M:graylog2-server/src/main/java/org/graylog/mcp" }, { - "count": 7, - "dst": "M:graylog2-server/src/main/java/org/graylog/scheduler", + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog/scheduler", + "id": "M:graylog2-server/src/main/java/org/graylog/mcp->M:graylog2-server/src/main/java/org/graylog2/cluster", "kind": "uses", "refs": [ { - "blob_sha": "5443aa4b4308d9e70fcacdefb87b3018ff0dae8f", + "blob_sha": "6009b84788ccfe2401be295fc2c4deb06d3c9152", "commits": [], "end_line": 25, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/processors/PipelineMetadataClusterEventHandler.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/SystemInfoFormattedTool.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 25 }, { - "blob_sha": "287532ebd2b9f89fc6995e087733b725db473396", + "blob_sha": "e59489e69586a591a3869bdfd92a46df0316001d", "commits": [], - "end_line": 34, + "end_line": 24, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/processors/PipelineMetadataUpdateJob.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/SystemInfoTool.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 34 - }, + "start_line": 24 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog/mcp" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/database", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog/mcp->M:graylog2-server/src/main/java/org/graylog2/database", + "kind": "uses", + "refs": [ { - "blob_sha": "287532ebd2b9f89fc6995e087733b725db473396", + "blob_sha": "e272499baedc183015f7526af05b81ab67447eb2", "commits": [], - "end_line": 35, - "id": "E3", + "end_line": 30, + "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/processors/PipelineMetadataUpdateJob.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/resources/StreamResourceProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 35 + "start_line": 30 } ], - "src": "M:graylog2-server/src/main/java/org/graylog/plugins" + "src": "M:graylog2-server/src/main/java/org/graylog/mcp" }, { - "count": 6, - "dst": "M:graylog2-server/src/main/java/org/graylog/schema", + "count": 13, + "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog/schema", + "id": "M:graylog2-server/src/main/java/org/graylog/mcp->M:graylog2-server/src/main/java/org/graylog2/indexer", "kind": "uses", "refs": [ { - "blob_sha": "a78d04bc7283ea388ccd69ab451fc8a0dbd3d686", + "blob_sha": "ec16d72495c27eb91eac68213831e6397a410623", "commits": [], - "end_line": 26, + "end_line": 31, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/formatting/units/fields/HardcodedFieldUnitObtainingMethod.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/ListFieldsTool.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 31 }, { - "blob_sha": "a78d04bc7283ea388ccd69ab451fc8a0dbd3d686", + "blob_sha": "fc833311bb9bdcafe82ec1a5d4a731cee28589ca", "commits": [], - "end_line": 27, + "end_line": 24, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/formatting/units/fields/HardcodedFieldUnitObtainingMethod.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/ListIndexSetsTool.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 24 }, { - "blob_sha": "a78d04bc7283ea388ccd69ab451fc8a0dbd3d686", + "blob_sha": "fc833311bb9bdcafe82ec1a5d4a731cee28589ca", "commits": [], - "end_line": 28, + "end_line": 25, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/formatting/units/fields/HardcodedFieldUnitObtainingMethod.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/ListIndexSetsTool.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/plugins" - }, - { - "count": 18, - "dst": "M:graylog2-server/src/main/java/org/graylog/security", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog/security", - "kind": "uses", - "refs": [ + "start_line": 25 + }, { - "blob_sha": "23b8b021f02b37ba602648167ea7b3a80aea66da", + "blob_sha": "fc833311bb9bdcafe82ec1a5d4a731cee28589ca", "commits": [], - "end_line": 20, - "id": "E1", + "end_line": 26, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/rest/PipelineRestPermissions.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/ListIndexSetsTool.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 26 }, { - "blob_sha": "1094ae7ee414894afb9b491e30b132b2731151ce", + "blob_sha": "fc833311bb9bdcafe82ec1a5d4a731cee28589ca", "commits": [], "end_line": 27, - "id": "E2", + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/permissions/SearchUser.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/ListIndexSetsTool.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 27 }, { - "blob_sha": "1094ae7ee414894afb9b491e30b132b2731151ce", + "blob_sha": "fc833311bb9bdcafe82ec1a5d4a731cee28589ca", "commits": [], "end_line": 28, - "id": "E3", + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/permissions/SearchUser.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/ListIndexSetsTool.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 28 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/plugins" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/(root)", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "5c25b0395c4352b0c9d085e37eaadb6201254caf", + "blob_sha": "9f2ed171271739926361ccfd607e874de98126d3", "commits": [], - "end_line": 37, - "id": "E1", + "end_line": 24, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/engine/QueryEngine.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/ListIndicesTool.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 + "start_line": 24 }, { - "blob_sha": "628d216e3fc920df7c7e294eb836faa07905c061", + "blob_sha": "9f2ed171271739926361ccfd607e874de98126d3", "commits": [], - "end_line": 44, - "id": "E2", + "end_line": 25, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/rest/SuggestionsResource.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/ListIndicesTool.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 44 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/plugins" - }, - { - "count": 46, - "dst": "M:graylog2-server/src/main/java/org/graylog2/audit", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/audit", - "kind": "uses", - "refs": [ + "start_line": 25 + }, { - "blob_sha": "a80b643be1ccc75437ce1120d8e33c4ac8171d0e", + "blob_sha": "9f2ed171271739926361ccfd607e874de98126d3", "commits": [], - "end_line": 19, - "id": "E1", + "end_line": 26, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/onboarding/audit/OnboardingAuditEventTypes.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/ListIndicesTool.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 26 }, { - "blob_sha": "3892e77cb4ebcd3ed6b1b700fa32daec3ae413a4", + "blob_sha": "9f2ed171271739926361ccfd607e874de98126d3", "commits": [], - "end_line": 34, - "id": "E2", + "end_line": 27, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/onboarding/rest/OnboardingResource.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/ListIndicesTool.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 34 - }, + "start_line": 27 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog/mcp" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/inputs", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog/mcp->M:graylog2-server/src/main/java/org/graylog2/inputs", + "kind": "uses", + "refs": [ { - "blob_sha": "3892e77cb4ebcd3ed6b1b700fa32daec3ae413a4", + "blob_sha": "757770900a3d8998b40c4f12e20f8c7b9287dc2b", "commits": [], - "end_line": 35, - "id": "E3", + "end_line": 25, + "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/onboarding/rest/OnboardingResource.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/ListInputsTool.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 35 + "start_line": 25 } ], - "src": "M:graylog2-server/src/main/java/org/graylog/plugins" + "src": "M:graylog2-server/src/main/java/org/graylog/mcp" }, { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/bindings", + "count": 28, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/bindings", + "id": "M:graylog2-server/src/main/java/org/graylog/mcp->M:graylog2-server/src/main/java/org/graylog2/plugin", "kind": "uses", "refs": [ { - "blob_sha": "7baf66463117ebf9d2edf7e84d87b6adc05bdf76", + "blob_sha": "e272499baedc183015f7526af05b81ab67447eb2", "commits": [], - "end_line": 24, + "end_line": 31, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/map/config/GeoIpProcessorConfig.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/resources/StreamResourceProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 31 }, { - "blob_sha": "31d1e2b1058bd13265b54c37fd1b047a54d45ec7", + "blob_sha": "3b62f4af65bc0e3c839f7747d17281c51be2b271", "commits": [], - "end_line": 29, + "end_line": 43, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/rulebuilder/RuleBuilderRegistry.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/server/McpRestResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 + "start_line": 43 }, { - "blob_sha": "6d48781ac4ea9dff6abc7cf77aa950c2a135a041", + "blob_sha": "c2f7392b1ab6c9c1d9413719f36a2ef11f5fc750", "commits": [], - "end_line": 25, + "end_line": 35, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/rulebuilder/parser/RuleBuilderService.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/server/McpServerModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/plugins" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/bootstrap", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/bootstrap", - "kind": "uses", - "refs": [ + "start_line": 35 + }, { - "blob_sha": "b01b8c54579d0beae25254e8558353991a97c3d7", + "blob_sha": "67ebbaf29195f91462647222b5a7830a420e71c8", "commits": [], - "end_line": 25, - "id": "E1", + "end_line": 26, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/views/storage/migration/state/actions/MigrationActionsImpl.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/server/Tool.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 26 }, { - "blob_sha": "b01b8c54579d0beae25254e8558353991a97c3d7", + "blob_sha": "a6ee31cfe11bc0dddaa604dc65cb47854fc0fc0a", "commits": [], - "end_line": 26, - "id": "E2", + "end_line": 39, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/views/storage/migration/state/actions/MigrationActionsImpl.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/AggregateMessagesTool.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/plugins" - }, - { - "count": 17, - "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/cluster", - "kind": "uses", - "refs": [ + "start_line": 39 + }, { - "blob_sha": "26f09765ee50ce45b27b7902a5a5ccb3c17b88ba", + "blob_sha": "3963f37983ce8696eca41b760ea2834ee2ec843f", "commits": [], - "end_line": 19, - "id": "E1", + "end_line": 24, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/datanode/DataNodeModule.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/CurrentTimeTool.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 24 }, { - "blob_sha": "26f09765ee50ce45b27b7902a5a5ccb3c17b88ba", + "blob_sha": "3963f37983ce8696eca41b760ea2834ee2ec843f", "commits": [], - "end_line": 20, - "id": "E2", + "end_line": 25, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/datanode/DataNodeModule.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/CurrentTimeTool.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 25 }, { - "blob_sha": "93be4413f81a9542e61c6cf860f3e183a67308b8", + "blob_sha": "3aa9757ed380785e5eb04006f043725e16dd7a72", + "commits": [], + "end_line": 32, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/GetVisualizationOptionsTool.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "ec16d72495c27eb91eac68213831e6397a410623", + "commits": [], + "end_line": 32, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/ListFieldsTool.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "ec16d72495c27eb91eac68213831e6397a410623", "commits": [], "end_line": 33, - "id": "E3", + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/map/geoip/GeoIpDbFileChangeMonitorService.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/ListFieldsTool.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 33 } ], - "src": "M:graylog2-server/src/main/java/org/graylog/plugins" + "src": "M:graylog2-server/src/main/java/org/graylog/mcp" }, { - "count": 5, - "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", + "count": 10, + "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/configuration", + "id": "M:graylog2-server/src/main/java/org/graylog/mcp->M:graylog2-server/src/main/java/org/graylog2/rest", "kind": "uses", "refs": [ { - "blob_sha": "ff4efa894228777e7c056b1f2cafe988a3b82c4d", + "blob_sha": "2e50a5582f942bb18f550407953b5151f87ef8c3", "commits": [], - "end_line": 22, + "end_line": 32, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/beats/BeatsTransport.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/resources/DashboardResourceProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 32 }, { - "blob_sha": "7baf66463117ebf9d2edf7e84d87b6adc05bdf76", + "blob_sha": "fc833311bb9bdcafe82ec1a5d4a731cee28589ca", "commits": [], - "end_line": 25, + "end_line": 31, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/map/config/GeoIpProcessorConfig.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/ListIndexSetsTool.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 31 }, { - "blob_sha": "061271b3dbb936bd2aee57f0beda654d69285197", + "blob_sha": "9f2ed171271739926361ccfd607e874de98126d3", "commits": [], - "end_line": 37, + "end_line": 32, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/sidecar/migrations/V20180212165000_AddDefaultCollectors.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/ListIndicesTool.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/plugins" - }, - { - "count": 69, - "dst": "M:graylog2-server/src/main/java/org/graylog2/contentpacks", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/contentpacks", - "kind": "uses", - "refs": [ + "start_line": 32 + }, { - "blob_sha": "afbeb85a66217bb0ecf354b260e57f0c5c193835", + "blob_sha": "9f2ed171271739926361ccfd607e874de98126d3", "commits": [], - "end_line": 25, - "id": "E1", + "end_line": 33, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/threatintel/migrations/V20180906112716_RecreateThreatintelLookupTables.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/ListIndicesTool.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 33 }, { - "blob_sha": "afbeb85a66217bb0ecf354b260e57f0c5c193835", + "blob_sha": "9f2ed171271739926361ccfd607e874de98126d3", "commits": [], - "end_line": 26, - "id": "E2", + "end_line": 34, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/threatintel/migrations/V20180906112716_RecreateThreatintelLookupTables.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/ListIndicesTool.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 34 }, { - "blob_sha": "afbeb85a66217bb0ecf354b260e57f0c5c193835", + "blob_sha": "9f2ed171271739926361ccfd607e874de98126d3", "commits": [], - "end_line": 27, - "id": "E3", + "end_line": 35, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/threatintel/migrations/V20180906112716_RecreateThreatintelLookupTables.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/ListIndicesTool.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 35 + }, + { + "blob_sha": "9f2ed171271739926361ccfd607e874de98126d3", + "commits": [], + "end_line": 36, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/ListIndicesTool.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + }, + { + "blob_sha": "757770900a3d8998b40c4f12e20f8c7b9287dc2b", + "commits": [], + "end_line": 30, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/ListInputsTool.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "6009b84788ccfe2401be295fc2c4deb06d3c9152", + "commits": [], + "end_line": 28, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/SystemInfoFormattedTool.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "e59489e69586a591a3869bdfd92a46df0316001d", + "commits": [], + "end_line": 28, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/SystemInfoTool.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 } ], - "src": "M:graylog2-server/src/main/java/org/graylog/plugins" + "src": "M:graylog2-server/src/main/java/org/graylog/mcp" }, { "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/dashboards", + "dst": "M:graylog2-server/src/main/java/org/graylog2/search", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/dashboards", + "id": "M:graylog2-server/src/main/java/org/graylog/mcp->M:graylog2-server/src/main/java/org/graylog2/search", "kind": "uses", "refs": [ { - "blob_sha": "3758d0d3eeebd9b40e3f87622ef36c64a511559c", + "blob_sha": "2e50a5582f942bb18f550407953b5151f87ef8c3", "commits": [], - "end_line": 80, + "end_line": 33, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/rest/ViewsResource.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/resources/DashboardResourceProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 80 + "start_line": 33 } ], - "src": "M:graylog2-server/src/main/java/org/graylog/plugins" + "src": "M:graylog2-server/src/main/java/org/graylog/mcp" }, { - "count": 229, - "dst": "M:graylog2-server/src/main/java/org/graylog2/database", + "count": 33, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/database", + "id": "M:graylog2-server/src/main/java/org/graylog/mcp->M:graylog2-server/src/main/java/org/graylog2/shared", "kind": "uses", "refs": [ { - "blob_sha": "02dff4d1a75585c56b962ba155b9e1c7cf5ab47c", + "blob_sha": "2e50a5582f942bb18f550407953b5151f87ef8c3", "commits": [], - "end_line": 19, + "end_line": 41, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/PaginatedPipelineService.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/resources/DashboardResourceProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 41 }, { - "blob_sha": "bffbbd47d32b3e63c7a17f188a92ac2cb9c244c4", + "blob_sha": "bcbac8eb9446e7a80f6c2d878d931eb449047587", "commits": [], - "end_line": 19, + "end_line": 32, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/PaginatedRuleService.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/resources/EventDefinitionResourceProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 32 }, { - "blob_sha": "8b1d38c664adfc5379d3bd20331b97fdd264dbdf", + "blob_sha": "bcbac8eb9446e7a80f6c2d878d931eb449047587", "commits": [], - "end_line": 24, + "end_line": 39, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/PipelineDao.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/resources/EventDefinitionResourceProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/plugins" - }, - { - "count": 6, - "dst": "M:graylog2-server/src/main/java/org/graylog2/datanode", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/datanode", - "kind": "uses", - "refs": [ + "start_line": 39 + }, { - "blob_sha": "26f09765ee50ce45b27b7902a5a5ccb3c17b88ba", + "blob_sha": "e272499baedc183015f7526af05b81ab67447eb2", "commits": [], - "end_line": 21, - "id": "E1", + "end_line": 32, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/datanode/DataNodeModule.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/resources/StreamResourceProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 32 }, { - "blob_sha": "26f09765ee50ce45b27b7902a5a5ccb3c17b88ba", + "blob_sha": "e272499baedc183015f7526af05b81ab67447eb2", "commits": [], - "end_line": 22, - "id": "E2", + "end_line": 40, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/datanode/DataNodeModule.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/resources/StreamResourceProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 40 }, { - "blob_sha": "26f09765ee50ce45b27b7902a5a5ccb3c17b88ba", + "blob_sha": "3b62f4af65bc0e3c839f7747d17281c51be2b271", "commits": [], - "end_line": 23, - "id": "E3", + "end_line": 44, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/datanode/DataNodeModule.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/server/McpRestResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/plugins" - }, - { - "count": 9, - "dst": "M:graylog2-server/src/main/java/org/graylog2/decorators", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/decorators", - "kind": "uses", - "refs": [ + "start_line": 44 + }, { - "blob_sha": "cd0354a02c8105b1a71b554d1c5a835c471e5007", + "blob_sha": "3b62f4af65bc0e3c839f7747d17281c51be2b271", "commits": [], - "end_line": 30, - "id": "E1", + "end_line": 45, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/PipelineProcessorMessageDecorator.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/server/McpRestResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 + "start_line": 45 }, { - "blob_sha": "e5e80a7e09d931e91945456e0668479c13876c2b", + "blob_sha": "3b62f4af65bc0e3c839f7747d17281c51be2b271", "commits": [], - "end_line": 19, - "id": "E2", + "end_line": 46, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/LegacyDecoratorProcessor.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/server/McpRestResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 46 }, { - "blob_sha": "e5e80a7e09d931e91945456e0668479c13876c2b", + "blob_sha": "3b62f4af65bc0e3c839f7747d17281c51be2b271", "commits": [], - "end_line": 20, - "id": "E3", + "end_line": 47, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/LegacyDecoratorProcessor.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/server/McpRestResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 47 + }, + { + "blob_sha": "358618e15128e05f3e265e8f8091bc9e6cbcddde", + "commits": [], + "end_line": 40, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/mcp/server/McpService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 40 } ], - "src": "M:graylog2-server/src/main/java/org/graylog/plugins" + "src": "M:graylog2-server/src/main/java/org/graylog/mcp" }, { - "count": 13, - "dst": "M:graylog2-server/src/main/java/org/graylog2/events", + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/streams", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/events", + "id": "M:graylog2-server/src/main/java/org/graylog/mcp->M:graylog2-server/src/main/java/org/graylog2/streams", "kind": "uses", "refs": [ { - "blob_sha": "66da95aaa578ad5a07daf1c9dc484d260429bf2b", + "blob_sha": "e272499baedc183015f7526af05b81ab67447eb2", "commits": [], - "end_line": 20, + "end_line": 33, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/RuleMetricsConfigService.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/resources/StreamResourceProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 33 }, { - "blob_sha": "ef960071f4fcfc5897ab1fc132046ef45f5dfc05", + "blob_sha": "0ac828d8875d67dee41e9a1eb71a9225052f781b", "commits": [], - "end_line": 25, + "end_line": 27, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/memory/InMemoryPipelineService.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 - }, - { - "blob_sha": "9715c6d54140b1e0d22b3700b47fcfffd2c7bfe2", - "commits": [], - "end_line": 25, - "id": "E3", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/memory/InMemoryPipelineStreamConnectionsService.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/ListStreamsTool.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 27 } ], - "src": "M:graylog2-server/src/main/java/org/graylog/plugins" + "src": "M:graylog2-server/src/main/java/org/graylog/mcp" }, { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/grok", + "count": 15, + "dst": "M:graylog2-server/src/main/java/org/graylog2/web", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/grok", + "id": "M:graylog2-server/src/main/java/org/graylog/mcp->M:graylog2-server/src/main/java/org/graylog2/web", "kind": "uses", "refs": [ { - "blob_sha": "4ffe97595d9f5ed6fb0f475d34a09650348ed1f8", + "blob_sha": "2e50a5582f942bb18f550407953b5151f87ef8c3", "commits": [], - "end_line": 26, + "end_line": 34, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/functions/GrokExists.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/resources/DashboardResourceProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 34 }, { - "blob_sha": "3f1315e221e2ee93123822db89179d104f0ee85c", + "blob_sha": "bcbac8eb9446e7a80f6c2d878d931eb449047587", "commits": [], - "end_line": 28, + "end_line": 33, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/functions/strings/GrokMatch.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/resources/EventDefinitionResourceProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 + "start_line": 33 }, { - "blob_sha": "a1e5b85163764318fd1b529da8c03d283d91103d", + "blob_sha": "e272499baedc183015f7526af05b81ab67447eb2", "commits": [], - "end_line": 28, + "end_line": 34, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/functions/strings/MultiGrokMatch.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/resources/StreamResourceProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/plugins" - }, - { - "count": 36, - "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/indexer", - "kind": "uses", - "refs": [ + "start_line": 34 + }, { - "blob_sha": "95b63820fa3392658a8bb8101dfc710cad5d4774", + "blob_sha": "358618e15128e05f3e265e8f8091bc9e6cbcddde", "commits": [], - "end_line": 24, - "id": "E1", + "end_line": 41, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/datanode/dto/ClusterState.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/server/McpService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 41 }, { - "blob_sha": "8cfe30d9a33ae9ffe1987731770beb01b9fc76c9", + "blob_sha": "a6ee31cfe11bc0dddaa604dc65cb47854fc0fc0a", "commits": [], - "end_line": 137, - "id": "E2", + "end_line": 40, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/views/ViewsBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/AggregateMessagesTool.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 137 + "start_line": 40 }, { - "blob_sha": "8cfe30d9a33ae9ffe1987731770beb01b9fc76c9", + "blob_sha": "3963f37983ce8696eca41b760ea2834ee2ec843f", "commits": [], - "end_line": 138, - "id": "E3", + "end_line": 26, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/views/ViewsBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/CurrentTimeTool.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 138 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/plugins" - }, - { - "count": 12, - "dst": "M:graylog2-server/src/main/java/org/graylog2/inputs", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/inputs", - "kind": "uses", - "refs": [ + "start_line": 26 + }, { - "blob_sha": "ff4efa894228777e7c056b1f2cafe988a3b82c4d", + "blob_sha": "fc833311bb9bdcafe82ec1a5d4a731cee28589ca", "commits": [], - "end_line": 23, - "id": "E1", + "end_line": 33, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/beats/BeatsTransport.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/ListIndexSetsTool.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 33 }, { - "blob_sha": "ff4efa894228777e7c056b1f2cafe988a3b82c4d", + "blob_sha": "9f2ed171271739926361ccfd607e874de98126d3", "commits": [], - "end_line": 24, - "id": "E2", + "end_line": 38, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/beats/BeatsTransport.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/ListIndicesTool.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 38 }, { - "blob_sha": "f807b3427e0a04694ed18e955b6d41c37fbc8d0f", + "blob_sha": "757770900a3d8998b40c4f12e20f8c7b9287dc2b", "commits": [], - "end_line": 23, - "id": "E3", + "end_line": 34, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/cef/input/CEFAmqpInput.java", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/ListInputsTool.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 34 + }, + { + "blob_sha": "32dc97fe9e37bacd11a3319c4a2fae03c3b3693b", + "commits": [], + "end_line": 28, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/mcp/tools/ListResourceTool.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 } ], - "src": "M:graylog2-server/src/main/java/org/graylog/plugins" + "src": "M:graylog2-server/src/main/java/org/graylog/mcp" }, { "count": 2, "dst": "M:graylog2-server/src/main/java/org/graylog2/jackson", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/jackson", + "id": "M:graylog2-server/src/main/java/org/graylog/metrics->M:graylog2-server/src/main/java/org/graylog2/jackson", "kind": "uses", "refs": [ { - "blob_sha": "996010ee46c275af99aeda00f3f92a02fbcefb91", + "blob_sha": "5362dc4d564f5fb91155ea373546a3244fc8cada", "commits": [], - "end_line": 22, + "end_line": 23, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/beats/BeatsCodec.java", + "path": "graylog2-server/src/main/java/org/graylog/metrics/prometheus/mapping/MetricMapping.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 23 }, { - "blob_sha": "6ad96f1a632ed3cfa713935abf55af3cdc5bed28", + "blob_sha": "eccd8864572498e7788eb9b2d7bb1c9bbb8bfa10", "commits": [], - "end_line": 28, + "end_line": 22, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/functions/json/JsonUtils.java", + "path": "graylog2-server/src/main/java/org/graylog/metrics/prometheus/mapping/PrometheusMappingConfigLoader.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 + "start_line": 22 } ], - "src": "M:graylog2-server/src/main/java/org/graylog/plugins" + "src": "M:graylog2-server/src/main/java/org/graylog/metrics" }, { - "count": 28, - "dst": "M:graylog2-server/src/main/java/org/graylog2/lookup", + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/lookup", + "id": "M:graylog2-server/src/main/java/org/graylog/metrics->M:graylog2-server/src/main/java/org/graylog2/plugin", "kind": "uses", "refs": [ { - "blob_sha": "c96bd2323a11f563044e1536738af95ae28803cf", + "blob_sha": "49591ca6717738efb3f3b83e4f967b80282daf68", "commits": [], - "end_line": 26, + "end_line": 25, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/functions/lookup/Lookup.java", + "path": "graylog2-server/src/main/java/org/graylog/metrics/prometheus/PrometheusMetricsModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 25 }, { - "blob_sha": "7c04c1f8f4348e1eede03ebc82cdc6f8db9648bd", + "blob_sha": "71096fff30015b423bd5c860986ec6f34ca6257b", "commits": [], - "end_line": 25, + "end_line": 26, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/functions/lookup/LookupAddStringList.java", + "path": "graylog2-server/src/main/java/org/graylog/metrics/prometheus/mapping/InputMetricMapping.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 26 }, { - "blob_sha": "f12b74d8759e2bb87e02b2f3c23371cbc7135924", + "blob_sha": "2301d340044bf7e0032022ac2278fa0454836286", "commits": [], - "end_line": 27, + "end_line": 28, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/functions/lookup/LookupAll.java", + "path": "graylog2-server/src/main/java/org/graylog/metrics/prometheus/mapping/MetricMatchMapping.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 28 + }, + { + "blob_sha": "1b5617d488aaa6097b7f10a41f48ffc4db618446", + "commits": [], + "end_line": 24, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/metrics/prometheus/mapping/PrometheusMappingFilesHandler.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 } ], - "src": "M:graylog2-server/src/main/java/org/graylog/plugins" + "src": "M:graylog2-server/src/main/java/org/graylog/metrics" }, { "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/metrics", + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/metrics", + "id": "M:graylog2-server/src/main/java/org/graylog/metrics->M:graylog2-server/src/main/java/org/graylog2/shared", "kind": "uses", "refs": [ { - "blob_sha": "ced3032ba456c0bec031c52269cd99352fff6d28", + "blob_sha": "06a6d844e7b8833e40c2d684c902dbafdd78a7fd", "commits": [], - "end_line": 45, + "end_line": 27, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/processors/PipelineInterpreter.java", + "path": "graylog2-server/src/main/java/org/graylog/metrics/prometheus/PrometheusExporterHTTPServer.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 45 + "start_line": 27 }, { - "blob_sha": "4ae54e7fa98b66f4f81bb26ad2bc6ad8b425be20", + "blob_sha": "71096fff30015b423bd5c860986ec6f34ca6257b", "commits": [], - "end_line": 33, + "end_line": 27, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/sidecar/services/EtagService.java", + "path": "graylog2-server/src/main/java/org/graylog/metrics/prometheus/mapping/InputMetricMapping.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 33 + "start_line": 27 } ], - "src": "M:graylog2-server/src/main/java/org/graylog/plugins" + "src": "M:graylog2-server/src/main/java/org/graylog/metrics" }, { - "count": 33, - "dst": "M:graylog2-server/src/main/java/org/graylog2/migrations", + "count": 1, + "dst": "M:graylog2-web-interface/src/components", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/migrations", + "id": "M:graylog2-server/src/main/java/org/graylog/metrics->M:graylog2-web-interface/src/components", "kind": "uses", "refs": [ { - "blob_sha": "26f09765ee50ce45b27b7902a5a5ccb3c17b88ba", + "blob_sha": "3bfbf11a2b506936ce00cbbe5daa0f97d410deef", "commits": [], - "end_line": 25, + "end_line": 19, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/datanode/DataNodeModule.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 - }, - { - "blob_sha": "b140d5ddda37fcdc9f0df8a4aee424c6930fb52d", - "commits": [], - "end_line": 21, - "id": "E2", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/onboarding/OnboardingModule.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 - }, - { - "blob_sha": "1b5aa04c9a8c77e8fcdd0b35d04f3b5ef3955d8f", - "commits": [], - "end_line": 35, - "id": "E3", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/rulebuilder/RuleBuilderModule.java", + "path": "graylog2-server/src/main/java/org/graylog/metrics/prometheus/PrometheusMetricFilter.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 35 + "start_line": 19 } ], - "src": "M:graylog2-server/src/main/java/org/graylog/plugins" + "src": "M:graylog2-server/src/main/java/org/graylog/metrics" }, { "count": 5, - "dst": "M:graylog2-server/src/main/java/org/graylog2/notifications", + "dst": "M:graylog2-server/src/main/java/org/graylog/events", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/notifications", + "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog/events", "kind": "uses", "refs": [ { - "blob_sha": "93be4413f81a9542e61c6cf860f3e183a67308b8", + "blob_sha": "e80f05e9572a7aab3e29944bbb4d1844275e0559", "commits": [], - "end_line": 34, + "end_line": 21, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/map/geoip/GeoIpDbFileChangeMonitorService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/searchtypes/events/CommonEventSummary.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 34 + "start_line": 21 }, { - "blob_sha": "93be4413f81a9542e61c6cf860f3e183a67308b8", + "blob_sha": "e80f05e9572a7aab3e29944bbb4d1844275e0559", "commits": [], - "end_line": 35, + "end_line": 22, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/map/geoip/GeoIpDbFileChangeMonitorService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/searchtypes/events/CommonEventSummary.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 35 + "start_line": 22 }, { - "blob_sha": "52b5fdf7c763f1b406973ff83eb530140547ab2d", + "blob_sha": "1b8a2bb19c48b2efdbdfa875176631a6eaeaf2b0", "commits": [], - "end_line": 46, + "end_line": 28, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/sidecar/services/SidecarService.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 46 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/plugins" - }, - { - "count": 466, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/plugin", - "kind": "uses", - "refs": [ - { - "blob_sha": "cbf7e071a04db8c02409478421d8d0bbda6c406e", - "commits": [], - "end_line": 24, - "id": "E1", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/beats/Beats2Codec.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/searchtypes/events/EventList.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 28 }, { - "blob_sha": "cbf7e071a04db8c02409478421d8d0bbda6c406e", + "blob_sha": "de71269b22dcc031c4955b21d0bd628ada6412af", "commits": [], "end_line": 25, - "id": "E2", + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/beats/Beats2Codec.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/searchtypes/events/EventSummary.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 25 }, { - "blob_sha": "cbf7e071a04db8c02409478421d8d0bbda6c406e", + "blob_sha": "de71269b22dcc031c4955b21d0bd628ada6412af", "commits": [], "end_line": 26, - "id": "E3", + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/beats/Beats2Codec.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/searchtypes/events/EventSummary.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", @@ -9683,26361 +15353,49137 @@ "src": "M:graylog2-server/src/main/java/org/graylog/plugins" }, { - "count": 94, - "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog/failure", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/rest", + "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog/failure", "kind": "uses", "refs": [ { - "blob_sha": "93be4413f81a9542e61c6cf860f3e183a67308b8", + "blob_sha": "ced3032ba456c0bec031c52269cd99352fff6d28", "commits": [], - "end_line": 39, + "end_line": 34, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/map/geoip/GeoIpDbFileChangeMonitorService.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 39 - }, - { - "blob_sha": "cd0354a02c8105b1a71b554d1c5a835c471e5007", - "commits": [], - "end_line": 37, - "id": "E2", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/PipelineProcessorMessageDecorator.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 - }, - { - "blob_sha": "cd0354a02c8105b1a71b554d1c5a835c471e5007", - "commits": [], - "end_line": 38, - "id": "E3", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/PipelineProcessorMessageDecorator.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/processors/PipelineInterpreter.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 38 + "start_line": 34 } ], "src": "M:graylog2-server/src/main/java/org/graylog/plugins" }, { - "count": 31, - "dst": "M:graylog2-server/src/main/java/org/graylog2/search", + "count": 23, + "dst": "M:graylog2-server/src/main/java/org/graylog/grn", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/search", + "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog/grn", "kind": "uses", "refs": [ { - "blob_sha": "02dff4d1a75585c56b962ba155b9e1c7cf5ab47c", + "blob_sha": "3ace723294c5b2b5044d88e29ce2e634116cded9", "commits": [], - "end_line": 20, + "end_line": 19, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/PaginatedPipelineService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/favorites/Favorite.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 19 }, { - "blob_sha": "bffbbd47d32b3e63c7a17f188a92ac2cb9c244c4", + "blob_sha": "415a0651683ddee6a8e189d41773f4ce6cc9d46e", "commits": [], "end_line": 20, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/PaginatedRuleService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/favorites/FavoritesForUserDTO.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 20 }, { - "blob_sha": "d2f2df5a5a9ca8097a469c2aa3ad58d8856ee9e7", + "blob_sha": "04d263e23306257e5db41b14c6920fd1f3041ea3", "commits": [], - "end_line": 26, + "end_line": 27, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/mongodb/PaginatedMongoDbPipelineService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/favorites/FavoritesService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/plugins" - }, - { - "count": 5, - "dst": "M:graylog2-server/src/main/java/org/graylog2/security", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/security", - "kind": "uses", - "refs": [ + "start_line": 27 + }, { - "blob_sha": "ff4efa894228777e7c056b1f2cafe988a3b82c4d", + "blob_sha": "3758d0d3eeebd9b40e3f87622ef36c64a511559c", "commits": [], - "end_line": 35, - "id": "E1", + "end_line": 52, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/beats/BeatsTransport.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/rest/ViewsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 35 + "start_line": 52 }, { - "blob_sha": "1b430801b3cdc05c79e7035284fea04a661d3ed7", + "blob_sha": "3758d0d3eeebd9b40e3f87622ef36c64a511559c", "commits": [], - "end_line": 27, - "id": "E2", + "end_line": 53, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/map/config/AzureGeoIpFileService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/rest/ViewsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 53 }, { - "blob_sha": "48cbd6d53aa738c187aa2000ec307d4db82d5143", + "blob_sha": "0a4ebec65e2ff48bf224e13374e5746fa2d22d36", "commits": [], "end_line": 20, - "id": "E3", + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/map/config/GeoIpFileServiceFactory.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/rest/ViewsRestPermissions.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 20 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/plugins" - }, - { - "count": 116, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/shared", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "4fb79cc04b53ab317c00d283a01afcfd50d06099", + "blob_sha": "060c6e0fdaf657fcc14789d8065084535e3ebf49", "commits": [], - "end_line": 42, - "id": "E1", + "end_line": 21, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/cef/codec/CEFCodec.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/startpage/StartPageService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 42 + "start_line": 21 }, { - "blob_sha": "326f36ffe17d754460f095ddca1ec734ad6e90d6", + "blob_sha": "060c6e0fdaf657fcc14789d8065084535e3ebf49", "commits": [], - "end_line": 53, - "id": "E2", + "end_line": 22, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/netflow/codecs/NetFlowCodec.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/startpage/StartPageService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 53 + "start_line": 22 }, { - "blob_sha": "5aaaf6fc273550452f214ba2e55bdb81e1242a3e", + "blob_sha": "060c6e0fdaf657fcc14789d8065084535e3ebf49", "commits": [], - "end_line": 30, - "id": "E3", + "end_line": 23, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/netflow/codecs/NetflowV9CodecAggregator.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/startpage/StartPageService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 + "start_line": 23 + }, + { + "blob_sha": "8071d02607c8d75003a7f79a22759d59c0a5a128", + "commits": [], + "end_line": 19, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/startpage/lastOpened/LastOpened.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 } ], "src": "M:graylog2-server/src/main/java/org/graylog/plugins" }, { - "count": 11, - "dst": "M:graylog2-server/src/main/java/org/graylog2/storage", + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog/jsonschema", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/storage", + "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog/jsonschema", "kind": "uses", "refs": [ { - "blob_sha": "8a3fd518e6cc6c1b0dda92c092f8486bde468030", + "blob_sha": "7380e883e874840129d8cf6611f3ff083db91744", "commits": [], - "end_line": 39, + "end_line": 26, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/views/ViewsModule.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/views/widgets/aggregation/HeatmapVisualizationConfigDTO.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 39 + "start_line": 26 }, { - "blob_sha": "c35cbd0ab080703d3cc686bafb42e4ebbed7ade8", + "blob_sha": "8b2cd8f7e659e5e0dd84459c63da2e932baa6a64", "commits": [], - "end_line": 28, + "end_line": 26, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/views/migrations/V20200730000000_AddGl2MessageIdFieldAliasForEvents.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/views/widgets/aggregation/NetworkVisualizationConfigDTO.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 + "start_line": 26 }, { - "blob_sha": "c35cbd0ab080703d3cc686bafb42e4ebbed7ade8", + "blob_sha": "2f7933ef6f50d72212bbec914f9fddafe796396e", "commits": [], - "end_line": 29, + "end_line": 46, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/views/migrations/V20200730000000_AddGl2MessageIdFieldAliasForEvents.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/visualizations/VisualizationConfigs.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 + "start_line": 46 } ], "src": "M:graylog2-server/src/main/java/org/graylog/plugins" }, { - "count": 17, - "dst": "M:graylog2-server/src/main/java/org/graylog2/streams", + "count": 7, + "dst": "M:graylog2-server/src/main/java/org/graylog/scheduler", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/streams", + "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog/scheduler", "kind": "uses", "refs": [ { - "blob_sha": "ed707ca51dae636b3ab486094232a14970ffa294", + "blob_sha": "5443aa4b4308d9e70fcacdefb87b3018ff0dae8f", "commits": [], - "end_line": 26, + "end_line": 25, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/functions/messages/StreamCacheService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/processors/PipelineMetadataClusterEventHandler.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 25 }, { - "blob_sha": "ed707ca51dae636b3ab486094232a14970ffa294", + "blob_sha": "287532ebd2b9f89fc6995e087733b725db473396", "commits": [], - "end_line": 27, + "end_line": 34, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/functions/messages/StreamCacheService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/processors/PipelineMetadataUpdateJob.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 34 }, { - "blob_sha": "b1326fc010ad36eb5141586ea1a1d987d696a855", + "blob_sha": "287532ebd2b9f89fc6995e087733b725db473396", "commits": [], - "end_line": 44, + "end_line": 35, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/processors/PipelineAnalyzer.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/processors/PipelineMetadataUpdateJob.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 44 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/plugins" - }, - { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/system", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/system", - "kind": "uses", - "refs": [ + "start_line": 35 + }, { - "blob_sha": "b01b8c54579d0beae25254e8558353991a97c3d7", + "blob_sha": "287532ebd2b9f89fc6995e087733b725db473396", "commits": [], - "end_line": 39, - "id": "E1", + "end_line": 36, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/views/storage/migration/state/actions/MigrationActionsImpl.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/processors/PipelineMetadataUpdateJob.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 39 + "start_line": 36 }, { - "blob_sha": "b01b8c54579d0beae25254e8558353991a97c3d7", + "blob_sha": "287532ebd2b9f89fc6995e087733b725db473396", "commits": [], - "end_line": 40, - "id": "E2", + "end_line": 37, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/views/storage/migration/state/actions/MigrationActionsImpl.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/processors/PipelineMetadataUpdateJob.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 40 + "start_line": 37 }, { - "blob_sha": "b01b8c54579d0beae25254e8558353991a97c3d7", + "blob_sha": "287532ebd2b9f89fc6995e087733b725db473396", "commits": [], - "end_line": 41, - "id": "E3", + "end_line": 38, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/views/storage/migration/state/actions/MigrationActionsImpl.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/processors/PipelineMetadataUpdateJob.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 41 + "start_line": 38 + }, + { + "blob_sha": "287532ebd2b9f89fc6995e087733b725db473396", + "commits": [], + "end_line": 39, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/processors/PipelineMetadataUpdateJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 39 } ], "src": "M:graylog2-server/src/main/java/org/graylog/plugins" }, { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/users", + "count": 6, + "dst": "M:graylog2-server/src/main/java/org/graylog/schema", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/users", + "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog/schema", "kind": "uses", "refs": [ { - "blob_sha": "2c8b563685fde37244da253bf0bea76b53ae09a2", + "blob_sha": "a78d04bc7283ea388ccd69ab451fc8a0dbd3d686", "commits": [], "end_line": 26, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/sidecar/migrations/V20180323150000_AddSidecarUser.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/formatting/units/fields/HardcodedFieldUnitObtainingMethod.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 26 }, { - "blob_sha": "04d263e23306257e5db41b14c6920fd1f3041ea3", + "blob_sha": "a78d04bc7283ea388ccd69ab451fc8a0dbd3d686", "commits": [], - "end_line": 37, + "end_line": 27, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/views/favorites/FavoritesService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/formatting/units/fields/HardcodedFieldUnitObtainingMethod.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 + "start_line": 27 }, { - "blob_sha": "a8a1ccb724459bd061ce3294c3387a4e00cbf3e8", + "blob_sha": "a78d04bc7283ea388ccd69ab451fc8a0dbd3d686", "commits": [], - "end_line": 33, + "end_line": 28, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/querystrings/MongoLastUsedQueryStringsService.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 33 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/plugins" - }, - { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/utilities", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/utilities", - "kind": "uses", - "refs": [ - { - "blob_sha": "15635d1b19caebca829bf26a44df4b9301ed5e5c", - "commits": [], - "end_line": 27, - "id": "E1", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/map/geoip/GeoIpResolverEngine.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/formatting/units/fields/HardcodedFieldUnitObtainingMethod.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 28 }, { - "blob_sha": "00329b514b41a06abcd5f7f2c5be4df05457802d", + "blob_sha": "a78d04bc7283ea388ccd69ab451fc8a0dbd3d686", "commits": [], - "end_line": 24, - "id": "E2", + "end_line": 29, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/functions/ips/CidrMatch.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/formatting/units/fields/HardcodedFieldUnitObtainingMethod.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 29 }, { - "blob_sha": "f3ecb5e499bbafd42e6cc34f33514e452d3f9bae", + "blob_sha": "a78d04bc7283ea388ccd69ab451fc8a0dbd3d686", "commits": [], - "end_line": 20, - "id": "E3", + "end_line": 30, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/threatintel/tools/PrivateNet.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/formatting/units/fields/HardcodedFieldUnitObtainingMethod.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/plugins" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/web", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/web", - "kind": "uses", - "refs": [ + "start_line": 30 + }, { - "blob_sha": "1fbcf62a4a7f01135c77948eded4bcccc6a2069c", + "blob_sha": "a78d04bc7283ea388ccd69ab451fc8a0dbd3d686", "commits": [], - "end_line": 53, - "id": "E1", + "end_line": 31, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/plugins/threatintel/adapters/otx/OTXDataAdapter.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/formatting/units/fields/HardcodedFieldUnitObtainingMethod.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 53 + "start_line": 31 } ], "src": "M:graylog2-server/src/main/java/org/graylog/plugins" }, { - "count": 2, + "count": 18, "dst": "M:graylog2-server/src/main/java/org/graylog/security", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/scheduler->M:graylog2-server/src/main/java/org/graylog/security", + "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog/security", "kind": "uses", "refs": [ { - "blob_sha": "d2635fecd71cf5689d5a7602818bca46458c4723", + "blob_sha": "23b8b021f02b37ba602648167ea7b3a80aea66da", "commits": [], - "end_line": 21, + "end_line": 20, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/scheduler/rest/JobResourceHandler.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/rest/PipelineRestPermissions.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 20 }, { - "blob_sha": "fd5caf6d48ded844de5de39d49a78d14c46a08a1", + "blob_sha": "1094ae7ee414894afb9b491e30b132b2731151ce", "commits": [], - "end_line": 21, + "end_line": 27, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/scheduler/rest/JobResourceHandlerService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/permissions/SearchUser.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/scheduler" - }, - { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog/tracing", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/scheduler->M:graylog2-server/src/main/java/org/graylog/tracing", - "kind": "uses", - "refs": [ + "start_line": 27 + }, { - "blob_sha": "ef0289ceafd6c126a5cce711ed66c9d7d1243640", + "blob_sha": "1094ae7ee414894afb9b491e30b132b2731151ce", "commits": [], - "end_line": 53, - "id": "E1", + "end_line": 28, + "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/scheduler/JobExecutionEngine.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/permissions/SearchUser.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 53 + "start_line": 28 }, { - "blob_sha": "ef0289ceafd6c126a5cce711ed66c9d7d1243640", + "blob_sha": "3758d0d3eeebd9b40e3f87622ef36c64a511559c", "commits": [], - "end_line": 54, - "id": "E2", + "end_line": 73, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/scheduler/JobExecutionEngine.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/rest/ViewsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 54 + "start_line": 73 }, { - "blob_sha": "ef0289ceafd6c126a5cce711ed66c9d7d1243640", + "blob_sha": "3758d0d3eeebd9b40e3f87622ef36c64a511559c", "commits": [], - "end_line": 55, - "id": "E3", + "end_line": 74, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/scheduler/JobExecutionEngine.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/rest/ViewsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 55 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/scheduler" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/audit", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/scheduler->M:graylog2-server/src/main/java/org/graylog2/audit", - "kind": "uses", - "refs": [ + "start_line": 74 + }, { - "blob_sha": "b30a053429a95a81a923c0d615ef2aec06a46332", + "blob_sha": "3758d0d3eeebd9b40e3f87622ef36c64a511559c", "commits": [], - "end_line": 20, - "id": "E1", + "end_line": 75, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/scheduler/audit/JobSchedulerAuditEventTypes.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/rest/ViewsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 75 + }, + { + "blob_sha": "3758d0d3eeebd9b40e3f87622ef36c64a511559c", + "commits": [], + "end_line": 76, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/rest/ViewsResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 76 + }, + { + "blob_sha": "363b38598937155ca8b57e40f6f3f347df812cdf", + "commits": [], + "end_line": 25, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/rest/contexts/SearchUserFactory.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "7406c1db70dc79e3235bcad91564c4c62e4f24f8", + "commits": [], + "end_line": 31, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/views/ViewService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "21783ab5c9307d79d153889cb49b92fc1fd91a06", + "commits": [], + "end_line": 31, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/startpage/recentActivities/RecentActivityService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 } ], - "src": "M:graylog2-server/src/main/java/org/graylog/scheduler" + "src": "M:graylog2-server/src/main/java/org/graylog/plugins" }, { "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/bindings", + "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/scheduler->M:graylog2-server/src/main/java/org/graylog2/bindings", + "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/(root)", "kind": "uses", "refs": [ { - "blob_sha": "e96bbfe48e9f6ccefa8ba9787bf1d66aef218db2", + "blob_sha": "5c25b0395c4352b0c9d085e37eaadb6201254caf", "commits": [], - "end_line": 26, + "end_line": 37, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/scheduler/DBJobDefinitionService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/engine/QueryEngine.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 37 }, { - "blob_sha": "c11b0bde4c368fc0e9803454b8cec84c554018d0", + "blob_sha": "628d216e3fc920df7c7e294eb836faa07905c061", "commits": [], - "end_line": 38, + "end_line": 44, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/scheduler/DBJobTriggerService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/rest/SuggestionsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 38 + "start_line": 44 } ], - "src": "M:graylog2-server/src/main/java/org/graylog/scheduler" + "src": "M:graylog2-server/src/main/java/org/graylog/plugins" }, { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", + "count": 46, + "dst": "M:graylog2-server/src/main/java/org/graylog2/audit", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/scheduler->M:graylog2-server/src/main/java/org/graylog2/cluster", + "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/audit", "kind": "uses", "refs": [ { - "blob_sha": "0cec68d8859f04d00a2986389562de9f8e455c62", + "blob_sha": "a80b643be1ccc75437ce1120d8e33c4ac8171d0e", "commits": [], - "end_line": 22, + "end_line": 19, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/scheduler/DefaultJobSchedulerConfig.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/onboarding/audit/OnboardingAuditEventTypes.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 19 }, { - "blob_sha": "ef0289ceafd6c126a5cce711ed66c9d7d1243640", + "blob_sha": "3892e77cb4ebcd3ed6b1b700fa32daec3ae413a4", "commits": [], - "end_line": 38, + "end_line": 34, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/scheduler/JobExecutionEngine.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/onboarding/rest/OnboardingResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 38 + "start_line": 34 }, { - "blob_sha": "ef0289ceafd6c126a5cce711ed66c9d7d1243640", + "blob_sha": "3892e77cb4ebcd3ed6b1b700fa32daec3ae413a4", "commits": [], - "end_line": 39, + "end_line": 35, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/scheduler/JobExecutionEngine.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/onboarding/rest/OnboardingResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 39 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/scheduler" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/scheduler->M:graylog2-server/src/main/java/org/graylog2/configuration", - "kind": "uses", - "refs": [ + "start_line": 35 + }, { - "blob_sha": "bbc291291a505ca9ebf43fcc65b1172f18132212", + "blob_sha": "d7e392c2a37d5aff71e0f9f5d1d3de72d0e870f0", "commits": [], - "end_line": 27, - "id": "E1", + "end_line": 20, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/scheduler/JobSchedulerConfiguration.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/audit/PipelineProcessorAuditEventTypes.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/scheduler" - }, - { - "count": 14, - "dst": "M:graylog2-server/src/main/java/org/graylog2/database", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/scheduler->M:graylog2-server/src/main/java/org/graylog2/database", - "kind": "uses", - "refs": [ + "start_line": 20 + }, { - "blob_sha": "e96bbfe48e9f6ccefa8ba9787bf1d66aef218db2", + "blob_sha": "bbf28f650076c7fb1382ef3f3effbbef4b23814d", "commits": [], - "end_line": 27, - "id": "E1", + "end_line": 41, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/scheduler/DBJobDefinitionService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/rest/PipelineConnectionsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 41 }, { - "blob_sha": "e96bbfe48e9f6ccefa8ba9787bf1d66aef218db2", + "blob_sha": "fa1b6891a251f14a4e3227ede3d93e3d903b5d90", "commits": [], - "end_line": 28, - "id": "E2", + "end_line": 57, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/scheduler/DBJobDefinitionService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/rest/PipelineResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 + "start_line": 57 }, { - "blob_sha": "e96bbfe48e9f6ccefa8ba9787bf1d66aef218db2", + "blob_sha": "fa1b6891a251f14a4e3227ede3d93e3d903b5d90", "commits": [], - "end_line": 29, - "id": "E3", + "end_line": 58, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/scheduler/DBJobDefinitionService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/rest/PipelineResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/scheduler" - }, - { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/scheduler->M:graylog2-server/src/main/java/org/graylog2/indexer", - "kind": "uses", - "refs": [ + "start_line": 58 + }, { - "blob_sha": "f00723f2e080b496764c6b120e4ac859766fab93", + "blob_sha": "0743588167831a3fde5e1aa53c3e2e3ec1d33927", "commits": [], - "end_line": 29, - "id": "E1", + "end_line": 32, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/scheduler/JobSchedulerModule.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/rest/ProcessingLoadResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 + "start_line": 32 }, { - "blob_sha": "f00723f2e080b496764c6b120e4ac859766fab93", + "blob_sha": "84107b686aedea26d38b33f869f95ca295a62424", "commits": [], - "end_line": 30, - "id": "E2", + "end_line": 55, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/scheduler/JobSchedulerModule.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/rest/RuleResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 + "start_line": 55 }, { - "blob_sha": "f00723f2e080b496764c6b120e4ac859766fab93", + "blob_sha": "84107b686aedea26d38b33f869f95ca295a62424", "commits": [], - "end_line": 31, - "id": "E3", + "end_line": 56, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/scheduler/JobSchedulerModule.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/rest/RuleResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 31 + "start_line": 56 } ], - "src": "M:graylog2-server/src/main/java/org/graylog/scheduler" + "src": "M:graylog2-server/src/main/java/org/graylog/plugins" }, { - "count": 12, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog2/bindings", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/scheduler->M:graylog2-server/src/main/java/org/graylog2/plugin", + "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/bindings", "kind": "uses", "refs": [ { - "blob_sha": "c11b0bde4c368fc0e9803454b8cec84c554018d0", + "blob_sha": "7baf66463117ebf9d2edf7e84d87b6adc05bdf76", "commits": [], - "end_line": 43, + "end_line": 24, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/scheduler/DBJobTriggerService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/map/config/GeoIpProcessorConfig.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 43 + "start_line": 24 }, { - "blob_sha": "c4b3a1c9e69e71af33d995625c4ec4c0fdc0e3e3", + "blob_sha": "31d1e2b1058bd13265b54c37fd1b047a54d45ec7", "commits": [], - "end_line": 25, + "end_line": 29, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/scheduler/DBSystemJobTriggerService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/rulebuilder/RuleBuilderRegistry.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 29 }, { - "blob_sha": "bbc291291a505ca9ebf43fcc65b1172f18132212", + "blob_sha": "6d48781ac4ea9dff6abc7cf77aa950c2a135a041", "commits": [], - "end_line": 28, + "end_line": 25, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/scheduler/JobSchedulerConfiguration.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/scheduler" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/scheduler->M:graylog2-server/src/main/java/org/graylog2/rest", - "kind": "uses", - "refs": [ - { - "blob_sha": "fd5caf6d48ded844de5de39d49a78d14c46a08a1", - "commits": [], - "end_line": 22, - "id": "E1", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/scheduler/rest/JobResourceHandlerService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/rulebuilder/parser/RuleBuilderService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 25 }, { - "blob_sha": "deba888c5f3e28ec60844968d048863221ee497d", + "blob_sha": "a8a1ccb724459bd061ce3294c3387a4e00cbf3e8", "commits": [], "end_line": 30, - "id": "E2", + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/scheduler/system/SystemJobManager.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/querystrings/MongoLastUsedQueryStringsService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 30 } ], - "src": "M:graylog2-server/src/main/java/org/graylog/scheduler" + "src": "M:graylog2-server/src/main/java/org/graylog/plugins" }, { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/bootstrap", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/scheduler->M:graylog2-server/src/main/java/org/graylog2/shared", + "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/bootstrap", "kind": "uses", "refs": [ { - "blob_sha": "ef0289ceafd6c126a5cce711ed66c9d7d1243640", + "blob_sha": "b01b8c54579d0beae25254e8558353991a97c3d7", "commits": [], - "end_line": 40, + "end_line": 25, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/scheduler/JobExecutionEngine.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/storage/migration/state/actions/MigrationActionsImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 40 + "start_line": 25 }, { - "blob_sha": "deba888c5f3e28ec60844968d048863221ee497d", + "blob_sha": "b01b8c54579d0beae25254e8558353991a97c3d7", "commits": [], - "end_line": 43, + "end_line": 26, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/scheduler/system/SystemJobManager.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 43 - }, - { - "blob_sha": "35293278111da063fd98f7d988883ee15ce4f8ed", - "commits": [], - "end_line": 39, - "id": "E3", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/scheduler/system/SystemJobSchedulerService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/storage/migration/state/actions/MigrationActionsImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 39 + "start_line": 26 } ], - "src": "M:graylog2-server/src/main/java/org/graylog/scheduler" + "src": "M:graylog2-server/src/main/java/org/graylog/plugins" }, { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/system", + "count": 17, + "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/scheduler->M:graylog2-server/src/main/java/org/graylog2/system", + "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/cluster", "kind": "uses", "refs": [ { - "blob_sha": "3b4826d78d776d0e6ecc27f80b13b997a5958f63", + "blob_sha": "26f09765ee50ce45b27b7902a5a5ccb3c17b88ba", "commits": [], - "end_line": 30, + "end_line": 19, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/scheduler/JobSchedulerService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/datanode/DataNodeModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 + "start_line": 19 }, { - "blob_sha": "3b4826d78d776d0e6ecc27f80b13b997a5958f63", + "blob_sha": "26f09765ee50ce45b27b7902a5a5ccb3c17b88ba", "commits": [], - "end_line": 31, + "end_line": 20, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/scheduler/JobSchedulerService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/datanode/DataNodeModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 31 + "start_line": 20 }, { - "blob_sha": "44949f025a65844172ffb17f737d703182a69e18", + "blob_sha": "93be4413f81a9542e61c6cf860f3e183a67308b8", "commits": [], - "end_line": 27, + "end_line": 33, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/scheduler/UserJobSchedulerService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/map/geoip/GeoIpDbFileChangeMonitorService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/scheduler" - }, - { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog/collectors", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog/collectors", - "kind": "uses", - "refs": [ + "start_line": 33 + }, { - "blob_sha": "a63a03ad1ec9e533dff9bce7c8e204166428e387", + "blob_sha": "15a4ac17219c51fbf0f85d2b4a8fe0fb1b471f9c", "commits": [], - "end_line": 21, - "id": "E1", + "end_line": 29, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/pki/jwks/JwksService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/map/geoip/processor/GeoIpProcessor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 29 }, { - "blob_sha": "a63a03ad1ec9e533dff9bce7c8e204166428e387", + "blob_sha": "0743588167831a3fde5e1aa53c3e2e3ec1d33927", "commits": [], - "end_line": 22, - "id": "E2", + "end_line": 33, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/pki/jwks/JwksService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/rest/ProcessingLoadResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 33 }, { - "blob_sha": "a63a03ad1ec9e533dff9bce7c8e204166428e387", + "blob_sha": "d5f3a3fef9f0f0e731bd5f57a0130926b16d6cd2", "commits": [], - "end_line": 23, - "id": "E3", + "end_line": 24, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/pki/jwks/JwksService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/threatintel/PluginConfigService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/security" - }, - { - "count": 52, - "dst": "M:graylog2-server/src/main/java/org/graylog/grn", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog/grn", - "kind": "uses", - "refs": [ + "start_line": 24 + }, { - "blob_sha": "4326c19da4ba6147fd1feae449d534ff7339052a", + "blob_sha": "a0371a5fda4212fc5b76cdf0896291e3f15e2c99", "commits": [], - "end_line": 21, - "id": "E1", + "end_line": 28, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/CapabilityDescriptor.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/threatintel/functions/global/AbstractGlobalLookupFunction.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 28 }, { - "blob_sha": "e88bb285979868d7370a6aa3516c2d916ebef6b4", + "blob_sha": "628d216e3fc920df7c7e294eb836faa07905c061", "commits": [], - "end_line": 24, - "id": "E2", + "end_line": 46, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/CapabilityRegistry.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/rest/SuggestionsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 46 }, { - "blob_sha": "e88bb285979868d7370a6aa3516c2d916ebef6b4", + "blob_sha": "628d216e3fc920df7c7e294eb836faa07905c061", "commits": [], - "end_line": 25, - "id": "E3", + "end_line": 47, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/CapabilityRegistry.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/rest/SuggestionsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 47 + }, + { + "blob_sha": "fd0ef33eca6191e80cc0a14b30ebd47d7b162a81", + "commits": [], + "end_line": 42, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/rest/remote/SearchJobsStatusResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 42 } ], - "src": "M:graylog2-server/src/main/java/org/graylog/security" + "src": "M:graylog2-server/src/main/java/org/graylog/plugins" }, { - "count": 16, - "dst": "M:graylog2-server/src/main/java/org/graylog/scheduler", + "count": 5, + "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog/scheduler", + "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/configuration", "kind": "uses", "refs": [ { - "blob_sha": "ccba762fb5878934b1c1e894fc38056778f6d330", + "blob_sha": "ff4efa894228777e7c056b1f2cafe988a3b82c4d", "commits": [], - "end_line": 21, + "end_line": 22, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CertRenewalServiceImpl.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/beats/BeatsTransport.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 22 }, { - "blob_sha": "ccba762fb5878934b1c1e894fc38056778f6d330", + "blob_sha": "7baf66463117ebf9d2edf7e84d87b6adc05bdf76", "commits": [], - "end_line": 22, + "end_line": 25, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CertRenewalServiceImpl.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/map/config/GeoIpProcessorConfig.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 25 }, { - "blob_sha": "ccba762fb5878934b1c1e894fc38056778f6d330", + "blob_sha": "061271b3dbb936bd2aee57f0beda654d69285197", "commits": [], - "end_line": 23, + "end_line": 37, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CertRenewalServiceImpl.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/sidecar/migrations/V20180212165000_AddDefaultCollectors.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/security" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog/util", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog/util", - "kind": "uses", - "refs": [ + "start_line": 37 + }, { - "blob_sha": "f79e037a279272aee7a8f869863f2cfdc2ddc03e", + "blob_sha": "c35cbd0ab080703d3cc686bafb42e4ebbed7ade8", "commits": [], - "end_line": 26, - "id": "E1", + "end_line": 24, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/UserContext.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/migrations/V20200730000000_AddGl2MessageIdFieldAliasForEvents.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/security" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog2/(root)", - "kind": "uses", - "refs": [ + "start_line": 24 + }, { - "blob_sha": "632dc2a1153d5c25c4360d26f920c8d6af276ba3", + "blob_sha": "d0f502e473a3a1cfc35b3a8fb437fa08b2bbd7fe", "commits": [], - "end_line": 31, - "id": "E1", + "end_line": 20, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CaPersistenceService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/rest/MessageExportFormatFilter.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 31 + "start_line": 20 } ], - "src": "M:graylog2-server/src/main/java/org/graylog/security" + "src": "M:graylog2-server/src/main/java/org/graylog/plugins" }, { - "count": 17, - "dst": "M:graylog2-server/src/main/java/org/graylog2/audit", + "count": 69, + "dst": "M:graylog2-server/src/main/java/org/graylog2/contentpacks", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog2/audit", + "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/contentpacks", "kind": "uses", "refs": [ { - "blob_sha": "faf77729d04eef2a07ae7eac6f82073928699206", + "blob_sha": "afbeb85a66217bb0ecf354b260e57f0c5c193835", "commits": [], - "end_line": 20, + "end_line": 25, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/SecurityAuditEventTypes.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/threatintel/migrations/V20180906112716_RecreateThreatintelLookupTables.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 25 }, { - "blob_sha": "486f73ec1d2dbd8488fd56c9f9e4d24711deb7fc", + "blob_sha": "afbeb85a66217bb0ecf354b260e57f0c5c193835", "commits": [], - "end_line": 52, + "end_line": 26, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/authservice/rest/AuthServiceBackendsResource.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/threatintel/migrations/V20180906112716_RecreateThreatintelLookupTables.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 52 + "start_line": 26 }, { - "blob_sha": "037071e824cb020095c1b10bd734660c45d533aa", + "blob_sha": "afbeb85a66217bb0ecf354b260e57f0c5c193835", "commits": [], - "end_line": 35, + "end_line": 27, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/authservice/rest/AuthServiceTestResource.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/threatintel/migrations/V20180906112716_RecreateThreatintelLookupTables.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 35 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/security" - }, - { - "count": 12, - "dst": "M:graylog2-server/src/main/java/org/graylog2/bootstrap", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog2/bootstrap", - "kind": "uses", - "refs": [ + "start_line": 27 + }, { - "blob_sha": "6de8cdc03a8a90ee136cd1c87b3801ee508d8789", + "blob_sha": "1aca9baa19763dcd1ef7566200e83675cdb340bd", "commits": [], - "end_line": 26, - "id": "E1", + "end_line": 20, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CaKeystore.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/threatintel/migrations/V20240531101100_RemoveAbusechContentPack.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 20 }, { - "blob_sha": "632dc2a1153d5c25c4360d26f920c8d6af276ba3", + "blob_sha": "1aca9baa19763dcd1ef7566200e83675cdb340bd", "commits": [], - "end_line": 32, - "id": "E2", + "end_line": 21, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CaPersistenceService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/threatintel/migrations/V20240531101100_RemoveAbusechContentPack.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 32 + "start_line": 21 }, { - "blob_sha": "632dc2a1153d5c25c4360d26f920c8d6af276ba3", + "blob_sha": "1aca9baa19763dcd1ef7566200e83675cdb340bd", "commits": [], - "end_line": 33, - "id": "E3", + "end_line": 22, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CaPersistenceService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/threatintel/migrations/V20240531101100_RemoveAbusechContentPack.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 33 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/security" - }, - { - "count": 9, - "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog2/cluster", - "kind": "uses", - "refs": [ + "start_line": 22 + }, { - "blob_sha": "6de8cdc03a8a90ee136cd1c87b3801ee508d8789", + "blob_sha": "1aca9baa19763dcd1ef7566200e83675cdb340bd", "commits": [], - "end_line": 27, - "id": "E1", + "end_line": 23, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CaKeystore.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/threatintel/migrations/V20240531101100_RemoveAbusechContentPack.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 23 }, { - "blob_sha": "632dc2a1153d5c25c4360d26f920c8d6af276ba3", + "blob_sha": "1aca9baa19763dcd1ef7566200e83675cdb340bd", "commits": [], - "end_line": 34, - "id": "E2", + "end_line": 24, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CaPersistenceService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/threatintel/migrations/V20240531101100_RemoveAbusechContentPack.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 34 + "start_line": 24 }, { - "blob_sha": "0b0d282400a69f68d21f3e7f6eb63c87b20728d8", + "blob_sha": "8cfe30d9a33ae9ffe1987731770beb01b9fc76c9", "commits": [], - "end_line": 19, - "id": "E3", + "end_line": 135, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CertRenewalService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/ViewsBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 135 + }, + { + "blob_sha": "8cfe30d9a33ae9ffe1987731770beb01b9fc76c9", + "commits": [], + "end_line": 136, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/ViewsBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 136 } ], - "src": "M:graylog2-server/src/main/java/org/graylog/security" + "src": "M:graylog2-server/src/main/java/org/graylog/plugins" }, { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/dashboards", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog2/configuration", + "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/dashboards", "kind": "uses", "refs": [ { - "blob_sha": "f3d4449b4cefe82021f7859e64079e34147ae778", + "blob_sha": "3758d0d3eeebd9b40e3f87622ef36c64a511559c", "commits": [], - "end_line": 51, + "end_line": 80, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/authservice/ldap/UnboundLDAPConnector.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 51 - }, - { - "blob_sha": "7d04499a165107c56a1f47cac11e8dbd5f7fe62a", - "commits": [], - "end_line": 30, - "id": "E2", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/rest/CertificatesResource.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/rest/ViewsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 + "start_line": 80 } ], - "src": "M:graylog2-server/src/main/java/org/graylog/security" + "src": "M:graylog2-server/src/main/java/org/graylog/plugins" }, { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/contentpacks", + "count": 229, + "dst": "M:graylog2-server/src/main/java/org/graylog2/database", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog2/contentpacks", + "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/database", "kind": "uses", "refs": [ { - "blob_sha": "898d7eefc689acfc98d381847dbc60c52ee86410", + "blob_sha": "02dff4d1a75585c56b962ba155b9e1c7cf5ab47c", "commits": [], - "end_line": 28, + "end_line": 19, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/entities/DefaultEntityDependencyResolver.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/PaginatedPipelineService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 + "start_line": 19 }, { - "blob_sha": "898d7eefc689acfc98d381847dbc60c52ee86410", + "blob_sha": "bffbbd47d32b3e63c7a17f188a92ac2cb9c244c4", "commits": [], - "end_line": 29, + "end_line": 19, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/entities/DefaultEntityDependencyResolver.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/PaginatedRuleService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 + "start_line": 19 }, { - "blob_sha": "898d7eefc689acfc98d381847dbc60c52ee86410", + "blob_sha": "8b1d38c664adfc5379d3bd20331b97fdd264dbdf", "commits": [], - "end_line": 30, + "end_line": 24, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/entities/DefaultEntityDependencyResolver.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/PipelineDao.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/security" - }, - { - "count": 27, - "dst": "M:graylog2-server/src/main/java/org/graylog2/database", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog2/database", - "kind": "uses", - "refs": [ + "start_line": 24 + }, { - "blob_sha": "3a6ef88b8138f55fe88e76f60f3da4e1617b8ae9", + "blob_sha": "8b1d38c664adfc5379d3bd20331b97fdd264dbdf", "commits": [], - "end_line": 24, - "id": "E1", + "end_line": 25, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/DBGrantService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/PipelineDao.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 25 }, { - "blob_sha": "3a6ef88b8138f55fe88e76f60f3da4e1617b8ae9", + "blob_sha": "8b1d38c664adfc5379d3bd20331b97fdd264dbdf", "commits": [], - "end_line": 33, - "id": "E2", + "end_line": 26, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/DBGrantService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/PipelineDao.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 33 + "start_line": 26 }, { - "blob_sha": "3a6ef88b8138f55fe88e76f60f3da4e1617b8ae9", + "blob_sha": "8b1d38c664adfc5379d3bd20331b97fdd264dbdf", "commits": [], - "end_line": 34, - "id": "E3", + "end_line": 27, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/DBGrantService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/PipelineDao.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 34 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/security" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/datanode", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog2/datanode", - "kind": "uses", - "refs": [ + "start_line": 27 + }, { - "blob_sha": "04b8a95724f72d7c5784cee71e8dcdd67bd1d5b0", + "blob_sha": "042cd8ed2c6c55ee91bcd3d28986eeeb32c6cd85", "commits": [], - "end_line": 33, - "id": "E1", + "end_line": 22, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/rest/CertificateRenewalResource.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/PipelineInputsMetadataDao.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 33 + "start_line": 22 }, { - "blob_sha": "04b8a95724f72d7c5784cee71e8dcdd67bd1d5b0", + "blob_sha": "b91bb47e8be25228f86edb45278486ec9966f3b2", "commits": [], - "end_line": 34, - "id": "E2", + "end_line": 23, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/rest/CertificateRenewalResource.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/PipelineRulesMetadataDao.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 34 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/security" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/events", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog2/events", - "kind": "uses", - "refs": [ + "start_line": 23 + }, { - "blob_sha": "836943efe59b2fdfcdb27d7e764830d1d6f593c7", + "blob_sha": "0f6b2040844dfe7802bc2acce8ed6baecd4736f6", "commits": [], - "end_line": 33, - "id": "E1", + "end_line": 19, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/authservice/DBAuthServiceBackendService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/PipelineService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 33 + "start_line": 19 }, { - "blob_sha": "632dc2a1153d5c25c4360d26f920c8d6af276ba3", + "blob_sha": "84d7bb93c6e0223c02234e482cad74363763a7be", "commits": [], - "end_line": 35, - "id": "E2", + "end_line": 20, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CaPersistenceService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/PipelineStreamConnectionsService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 35 + "start_line": 20 } ], - "src": "M:graylog2-server/src/main/java/org/graylog/security" + "src": "M:graylog2-server/src/main/java/org/graylog/plugins" }, { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", + "count": 6, + "dst": "M:graylog2-server/src/main/java/org/graylog2/datanode", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog2/indexer", + "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/datanode", "kind": "uses", "refs": [ { - "blob_sha": "cf707c323a8b85216aaf239508b8a2ed62aa1329", + "blob_sha": "26f09765ee50ce45b27b7902a5a5ccb3c17b88ba", "commits": [], - "end_line": 37, + "end_line": 21, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/certutil/csr/ClientCertGenerator.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/datanode/DataNodeModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/security" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/notifications", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog2/notifications", - "kind": "uses", - "refs": [ + "start_line": 21 + }, { - "blob_sha": "ccba762fb5878934b1c1e894fc38056778f6d330", + "blob_sha": "26f09765ee50ce45b27b7902a5a5ccb3c17b88ba", "commits": [], - "end_line": 27, - "id": "E1", + "end_line": 22, + "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CertRenewalServiceImpl.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/datanode/DataNodeModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 22 }, { - "blob_sha": "ccba762fb5878934b1c1e894fc38056778f6d330", + "blob_sha": "26f09765ee50ce45b27b7902a5a5ccb3c17b88ba", "commits": [], - "end_line": 28, - "id": "E2", + "end_line": 23, + "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CertRenewalServiceImpl.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/datanode/DataNodeModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/security" - }, - { - "count": 53, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog2/plugin", - "kind": "uses", - "refs": [ + "start_line": 23 + }, { - "blob_sha": "4326c19da4ba6147fd1feae449d534ff7339052a", + "blob_sha": "26f09765ee50ce45b27b7902a5a5ccb3c17b88ba", "commits": [], - "end_line": 22, - "id": "E1", + "end_line": 24, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/CapabilityDescriptor.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/datanode/DataNodeModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 24 }, { - "blob_sha": "e88bb285979868d7370a6aa3516c2d916ebef6b4", + "blob_sha": "b01b8c54579d0beae25254e8558353991a97c3d7", "commits": [], - "end_line": 26, - "id": "E2", + "end_line": 31, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/CapabilityRegistry.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/storage/migration/state/actions/MigrationActionsImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 31 }, { - "blob_sha": "e88bb285979868d7370a6aa3516c2d916ebef6b4", + "blob_sha": "b01b8c54579d0beae25254e8558353991a97c3d7", "commits": [], - "end_line": 27, - "id": "E3", + "end_line": 32, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/CapabilityRegistry.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/storage/migration/state/actions/MigrationActionsImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 32 } ], - "src": "M:graylog2-server/src/main/java/org/graylog/security" + "src": "M:graylog2-server/src/main/java/org/graylog/plugins" }, { - "count": 11, - "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", + "count": 9, + "dst": "M:graylog2-server/src/main/java/org/graylog2/decorators", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog2/rest", + "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/decorators", "kind": "uses", "refs": [ { - "blob_sha": "836943efe59b2fdfcdb27d7e764830d1d6f593c7", + "blob_sha": "cd0354a02c8105b1a71b554d1c5a835c471e5007", "commits": [], - "end_line": 34, + "end_line": 30, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/authservice/DBAuthServiceBackendService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/PipelineProcessorMessageDecorator.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 34 + "start_line": 30 }, { - "blob_sha": "836943efe59b2fdfcdb27d7e764830d1d6f593c7", + "blob_sha": "e5e80a7e09d931e91945456e0668479c13876c2b", "commits": [], - "end_line": 35, + "end_line": 19, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/authservice/DBAuthServiceBackendService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/LegacyDecoratorProcessor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 35 + "start_line": 19 }, { - "blob_sha": "486f73ec1d2dbd8488fd56c9f9e4d24711deb7fc", + "blob_sha": "e5e80a7e09d931e91945456e0668479c13876c2b", "commits": [], - "end_line": 56, + "end_line": 20, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/authservice/rest/AuthServiceBackendsResource.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/LegacyDecoratorProcessor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 56 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/security" - }, - { - "count": 9, - "dst": "M:graylog2-server/src/main/java/org/graylog2/search", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog2/search", - "kind": "uses", - "refs": [ + "start_line": 20 + }, { - "blob_sha": "836943efe59b2fdfcdb27d7e764830d1d6f593c7", + "blob_sha": "0aa4eaabf826e6d20b74261c000278f0c89814ae", "commits": [], - "end_line": 36, - "id": "E1", + "end_line": 27, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/authservice/DBAuthServiceBackendService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/export/CommandFactory.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 36 + "start_line": 27 }, { - "blob_sha": "836943efe59b2fdfcdb27d7e764830d1d6f593c7", + "blob_sha": "140e50bc8aabbaa840f9beba2b66071c9c8257c1", "commits": [], - "end_line": 37, - "id": "E2", + "end_line": 24, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/authservice/DBAuthServiceBackendService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/export/ExportMessagesCommand.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 + "start_line": 24 }, { - "blob_sha": "486f73ec1d2dbd8488fd56c9f9e4d24711deb7fc", + "blob_sha": "de28fb9615aadba60ea5553989855c265545e0b4", "commits": [], - "end_line": 59, - "id": "E3", + "end_line": 37, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/authservice/rest/AuthServiceBackendsResource.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/searchtypes/MessageList.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 59 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/security" - }, - { - "count": 23, - "dst": "M:graylog2-server/src/main/java/org/graylog2/security", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog2/security", - "kind": "uses", - "refs": [ + "start_line": 37 + }, { - "blob_sha": "6689087e9d08af976d33e01c51edf7d6fa9e2402", + "blob_sha": "de28fb9615aadba60ea5553989855c265545e0b4", "commits": [], - "end_line": 20, - "id": "E1", + "end_line": 38, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/authservice/AuthServiceCredentials.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/searchtypes/MessageList.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 38 }, { - "blob_sha": "8eff06bb24fe65a61118aead7771ca598039c222", + "blob_sha": "72dbb2fdc411f906290b93d7a41c9688f17ea4e2", "commits": [], - "end_line": 20, - "id": "E2", + "end_line": 29, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/authservice/AuthServiceResult.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/views/widgets/messagelist/MessageListConfigDTO.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 29 }, { - "blob_sha": "f42f844fa422fc754de204a61ea142dc57615602", + "blob_sha": "72dbb2fdc411f906290b93d7a41c9688f17ea4e2", "commits": [], - "end_line": 21, - "id": "E3", + "end_line": 30, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/authservice/AuthenticationDetails.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/views/widgets/messagelist/MessageListConfigDTO.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 30 } ], - "src": "M:graylog2-server/src/main/java/org/graylog/security" + "src": "M:graylog2-server/src/main/java/org/graylog/plugins" }, { - "count": 52, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "count": 13, + "dst": "M:graylog2-server/src/main/java/org/graylog2/events", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog2/shared", + "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/events", "kind": "uses", "refs": [ { - "blob_sha": "f79e037a279272aee7a8f869863f2cfdc2ddc03e", + "blob_sha": "66da95aaa578ad5a07daf1c9dc484d260429bf2b", "commits": [], - "end_line": 29, + "end_line": 20, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/UserContext.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/RuleMetricsConfigService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 + "start_line": 20 }, { - "blob_sha": "f79e037a279272aee7a8f869863f2cfdc2ddc03e", + "blob_sha": "ef960071f4fcfc5897ab1fc132046ef45f5dfc05", "commits": [], - "end_line": 30, + "end_line": 25, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/UserContext.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/memory/InMemoryPipelineService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 + "start_line": 25 }, { - "blob_sha": "51f3a34f1ae014e3865e3b5c9b29c2483f823289", + "blob_sha": "9715c6d54140b1e0d22b3700b47fcfffd2c7bfe2", "commits": [], - "end_line": 22, + "end_line": 25, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/UserContextFactory.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/memory/InMemoryPipelineStreamConnectionsService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/security" - }, - { - "count": 10, - "dst": "M:graylog2-server/src/main/java/org/graylog2/users", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog2/users", - "kind": "uses", - "refs": [ + "start_line": 25 + }, { - "blob_sha": "568b74b0ef1aeceea932ade6981fbf20fc11aec5", + "blob_sha": "7a078afcd59807d956f01d93d1457f14f6ae6fdd", "commits": [], - "end_line": 23, - "id": "E1", + "end_line": 26, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/authservice/ProvisionerService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/memory/InMemoryRuleService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 26 }, { - "blob_sha": "568b74b0ef1aeceea932ade6981fbf20fc11aec5", + "blob_sha": "23c3e3050a20efc33af776010ff55208dd3ac974", "commits": [], - "end_line": 24, - "id": "E2", + "end_line": 37, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/authservice/ProvisionerService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/mongodb/MongoDbPipelineService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 37 }, { - "blob_sha": "486f73ec1d2dbd8488fd56c9f9e4d24711deb7fc", + "blob_sha": "fa60a1b542c7261f99ced3c034c009e2efc82b9c", "commits": [], - "end_line": 64, - "id": "E3", + "end_line": 32, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/authservice/rest/AuthServiceBackendsResource.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/mongodb/MongoDbPipelineStreamConnectionsService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 64 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/security" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/web", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog2/web", - "kind": "uses", - "refs": [ + "start_line": 32 + }, { - "blob_sha": "a9f3d477b91f3eb8b61850e1aca50b14fac51742", + "blob_sha": "d1f4fb1b6a96fdc52359226f0e1a84894ee9c9b5", "commits": [], - "end_line": 28, - "id": "E1", + "end_line": 36, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/security/pki/CertificateService.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/mongodb/MongoDbRuleService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/security" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/storage->M:graylog2-server/src/main/java/org/graylog/plugins", - "kind": "uses", - "refs": [ + "start_line": 36 + }, { - "blob_sha": "b8df4105e748b479a4ed63175ccb99885d9dde7e", + "blob_sha": "5443aa4b4308d9e70fcacdefb87b3018ff0dae8f", "commits": [], - "end_line": 20, - "id": "E1", + "end_line": 26, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/storage/search/SearchCommand.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/processors/PipelineMetadataClusterEventHandler.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 26 + }, + { + "blob_sha": "589a5962ba38dc15324e665aae8ce2c906de2d75", + "commits": [], + "end_line": 30, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/rulebuilder/db/MongoDBRuleFragmentService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "4ae54e7fa98b66f4f81bb26ad2bc6ad8b425be20", + "commits": [], + "end_line": 32, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/plugins/sidecar/services/EtagService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 } ], - "src": "M:graylog2-server/src/main/java/org/graylog/storage" + "src": "M:graylog2-server/src/main/java/org/graylog/plugins" }, { "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", + "dst": "M:graylog2-server/src/main/java/org/graylog2/grok", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/storage->M:graylog2-server/src/main/java/org/graylog2/indexer", + "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/grok", "kind": "uses", "refs": [ { - "blob_sha": "b8df4105e748b479a4ed63175ccb99885d9dde7e", + "blob_sha": "4ffe97595d9f5ed6fb0f475d34a09650348ed1f8", "commits": [], - "end_line": 21, + "end_line": 26, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/storage/search/SearchCommand.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/functions/GrokExists.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 26 }, { - "blob_sha": "b8df4105e748b479a4ed63175ccb99885d9dde7e", + "blob_sha": "3f1315e221e2ee93123822db89179d104f0ee85c", "commits": [], - "end_line": 22, + "end_line": 28, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/storage/search/SearchCommand.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/functions/strings/GrokMatch.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 28 }, { - "blob_sha": "b8df4105e748b479a4ed63175ccb99885d9dde7e", + "blob_sha": "a1e5b85163764318fd1b529da8c03d283d91103d", "commits": [], - "end_line": 23, + "end_line": 28, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/storage/search/SearchCommand.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/functions/strings/MultiGrokMatch.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 28 } ], - "src": "M:graylog2-server/src/main/java/org/graylog/storage" + "src": "M:graylog2-server/src/main/java/org/graylog/plugins" }, { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "count": 36, + "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/storage->M:graylog2-server/src/main/java/org/graylog2/plugin", + "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/indexer", "kind": "uses", "refs": [ { - "blob_sha": "b8df4105e748b479a4ed63175ccb99885d9dde7e", + "blob_sha": "95b63820fa3392658a8bb8101dfc710cad5d4774", "commits": [], "end_line": 24, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/storage/search/SearchCommand.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/datanode/dto/ClusterState.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 24 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/storage" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog/util->M:graylog2-server/src/main/java/org/graylog2/plugin", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "f9fbfc677b4c80e7e8eeaed56b9f04f207ee31b9", + "blob_sha": "8cfe30d9a33ae9ffe1987731770beb01b9fc76c9", "commits": [], - "end_line": 19, - "id": "E1", + "end_line": 137, + "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog/util/HostnameProvider.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/ViewsBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog/util" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/(root)->M:graylog2-server/src/main/java/org/graylog/plugins", - "kind": "uses", - "refs": [ + "start_line": 137 + }, { - "blob_sha": "fa74b2825d102896122b00b2cf0e7d34419616e5", + "blob_sha": "8cfe30d9a33ae9ffe1987731770beb01b9fc76c9", "commits": [], - "end_line": 36, - "id": "E1", + "end_line": 138, + "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/Configuration.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/ViewsBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 36 + "start_line": 138 }, { - "blob_sha": "fa74b2825d102896122b00b2cf0e7d34419616e5", + "blob_sha": "824e2e2226f362f62d086ef95559b1ff5818348c", "commits": [], - "end_line": 37, - "id": "E2", + "end_line": 21, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/Configuration.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/ExplainResults.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/(root)" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog/security", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/(root)->M:graylog2-server/src/main/java/org/graylog/security", - "kind": "uses", - "refs": [ + "start_line": 21 + }, { - "blob_sha": "fa74b2825d102896122b00b2cf0e7d34419616e5", + "blob_sha": "824e2e2226f362f62d086ef95559b1ff5818348c", "commits": [], - "end_line": 38, - "id": "E1", + "end_line": 22, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/Configuration.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/ExplainResults.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 38 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/(root)" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/bindings", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/(root)->M:graylog2-server/src/main/java/org/graylog2/bindings", - "kind": "uses", - "refs": [ + "start_line": 22 + }, { - "blob_sha": "fa74b2825d102896122b00b2cf0e7d34419616e5", + "blob_sha": "45e98db082db37f33f6472aa083c2f24ea404f6d", "commits": [], - "end_line": 39, - "id": "E1", + "end_line": 19, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/Configuration.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/IndexRangeContainsOneOfStreams.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 39 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/(root)" - }, - { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/(root)->M:graylog2-server/src/main/java/org/graylog2/cluster", - "kind": "uses", - "refs": [ + "start_line": 19 + }, { - "blob_sha": "fa74b2825d102896122b00b2cf0e7d34419616e5", + "blob_sha": "8bd5be67c8a7df86c140df69e64e45bdad818016", "commits": [], - "end_line": 40, - "id": "E1", + "end_line": 20, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/Configuration.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/elasticsearch/FieldTypesLookup.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 40 + "start_line": 20 }, { - "blob_sha": "fa74b2825d102896122b00b2cf0e7d34419616e5", + "blob_sha": "8bd5be67c8a7df86c140df69e64e45bdad818016", "commits": [], - "end_line": 41, - "id": "E2", + "end_line": 21, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/Configuration.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/elasticsearch/FieldTypesLookup.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 41 + "start_line": 21 }, { - "blob_sha": "fa74b2825d102896122b00b2cf0e7d34419616e5", + "blob_sha": "8bd5be67c8a7df86c140df69e64e45bdad818016", "commits": [], - "end_line": 42, - "id": "E3", + "end_line": 22, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/Configuration.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/elasticsearch/FieldTypesLookup.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 42 + "start_line": 22 + }, + { + "blob_sha": "8bd5be67c8a7df86c140df69e64e45bdad818016", + "commits": [], + "end_line": 23, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/elasticsearch/FieldTypesLookup.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/(root)" + "src": "M:graylog2-server/src/main/java/org/graylog/plugins" }, { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", + "count": 12, + "dst": "M:graylog2-server/src/main/java/org/graylog2/inputs", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/(root)->M:graylog2-server/src/main/java/org/graylog2/configuration", + "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/inputs", "kind": "uses", "refs": [ { - "blob_sha": "fa74b2825d102896122b00b2cf0e7d34419616e5", + "blob_sha": "ff4efa894228777e7c056b1f2cafe988a3b82c4d", "commits": [], - "end_line": 44, + "end_line": 23, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/Configuration.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/beats/BeatsTransport.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 44 + "start_line": 23 }, { - "blob_sha": "fa74b2825d102896122b00b2cf0e7d34419616e5", + "blob_sha": "ff4efa894228777e7c056b1f2cafe988a3b82c4d", "commits": [], - "end_line": 45, + "end_line": 24, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/Configuration.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/beats/BeatsTransport.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 45 + "start_line": 24 }, { - "blob_sha": "fa74b2825d102896122b00b2cf0e7d34419616e5", + "blob_sha": "f807b3427e0a04694ed18e955b6d41c37fbc8d0f", "commits": [], - "end_line": 46, + "end_line": 23, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/Configuration.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/cef/input/CEFAmqpInput.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 46 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/(root)" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/notifications", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/(root)->M:graylog2-server/src/main/java/org/graylog2/notifications", - "kind": "uses", - "refs": [ + "start_line": 23 + }, { - "blob_sha": "fa74b2825d102896122b00b2cf0e7d34419616e5", + "blob_sha": "8cc8bea748f3a823d4e5370771ca0d8a36c196d7", "commits": [], - "end_line": 47, - "id": "E1", + "end_line": 23, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/Configuration.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/cef/input/CEFKafkaInput.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 47 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/(root)" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/outputs", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/(root)->M:graylog2-server/src/main/java/org/graylog2/outputs", - "kind": "uses", - "refs": [ + "start_line": 23 + }, { - "blob_sha": "fa74b2825d102896122b00b2cf0e7d34419616e5", + "blob_sha": "3a52bd977d1f75d247b255bfa1539164f5662274", "commits": [], - "end_line": 48, - "id": "E1", + "end_line": 24, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/Configuration.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/cef/input/CEFTCPInput.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 48 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/(root)" - }, - { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/(root)->M:graylog2-server/src/main/java/org/graylog2/plugin", - "kind": "uses", - "refs": [ + "start_line": 24 + }, { - "blob_sha": "eb9a5798615c4a1ae35357493d21d71a2d9c09ad", + "blob_sha": "1a2558806be3647521cb8d6f09410c149ff647c0", "commits": [], - "end_line": 19, - "id": "E1", + "end_line": 24, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/CommonNodeConfiguration.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/cef/input/CEFUDPInput.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 24 }, { - "blob_sha": "fa74b2825d102896122b00b2cf0e7d34419616e5", + "blob_sha": "4a5a5da02a13e33339ba073cff115f90fb363515", "commits": [], - "end_line": 49, - "id": "E2", + "end_line": 22, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/Configuration.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/netflow/transport/NetFlowUdpTransport.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 49 + "start_line": 22 }, { - "blob_sha": "84474fce9fa5955aed627453a20eb757da37f883", + "blob_sha": "4a5a5da02a13e33339ba073cff115f90fb363515", "commits": [], - "end_line": 19, - "id": "E3", + "end_line": 23, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/GraylogNodeConfiguration.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/netflow/transport/NetFlowUdpTransport.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 23 + }, + { + "blob_sha": "4a5a5da02a13e33339ba073cff115f90fb363515", + "commits": [], + "end_line": 24, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/plugins/netflow/transport/NetFlowUdpTransport.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "58879616c9696519d67ab9ff231cec3a0e9d7a51", + "commits": [], + "end_line": 27, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/plugins/netflow/transport/NetflowMessageAggregationHandler.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/(root)" + "src": "M:graylog2-server/src/main/java/org/graylog/plugins" }, { "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/security", + "dst": "M:graylog2-server/src/main/java/org/graylog2/jackson", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/(root)->M:graylog2-server/src/main/java/org/graylog2/security", + "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/jackson", "kind": "uses", "refs": [ { - "blob_sha": "fa74b2825d102896122b00b2cf0e7d34419616e5", + "blob_sha": "996010ee46c275af99aeda00f3f92a02fbcefb91", "commits": [], - "end_line": 50, + "end_line": 22, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/Configuration.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/beats/BeatsCodec.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 50 + "start_line": 22 }, { - "blob_sha": "fa74b2825d102896122b00b2cf0e7d34419616e5", + "blob_sha": "6ad96f1a632ed3cfa713935abf55af3cdc5bed28", "commits": [], - "end_line": 51, + "end_line": 28, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/Configuration.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/functions/json/JsonUtils.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 51 + "start_line": 28 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/(root)" + "src": "M:graylog2-server/src/main/java/org/graylog/plugins" }, { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "count": 28, + "dst": "M:graylog2-server/src/main/java/org/graylog2/lookup", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/(root)->M:graylog2-server/src/main/java/org/graylog2/shared", + "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/lookup", "kind": "uses", "refs": [ { - "blob_sha": "fa74b2825d102896122b00b2cf0e7d34419616e5", + "blob_sha": "c96bd2323a11f563044e1536738af95ae28803cf", "commits": [], - "end_line": 64, + "end_line": 26, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/Configuration.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/functions/lookup/Lookup.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 64 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/(root)" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/utilities", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/(root)->M:graylog2-server/src/main/java/org/graylog2/utilities", - "kind": "uses", - "refs": [ + "start_line": 26 + }, { - "blob_sha": "fa74b2825d102896122b00b2cf0e7d34419616e5", + "blob_sha": "7c04c1f8f4348e1eede03ebc82cdc6f8db9648bd", "commits": [], - "end_line": 52, - "id": "E1", + "end_line": 25, + "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/Configuration.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/functions/lookup/LookupAddStringList.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 52 + "start_line": 25 }, { - "blob_sha": "fa74b2825d102896122b00b2cf0e7d34419616e5", + "blob_sha": "f12b74d8759e2bb87e02b2f3c23371cbc7135924", "commits": [], - "end_line": 53, - "id": "E2", + "end_line": 27, + "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/Configuration.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/functions/lookup/LookupAll.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 53 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/(root)" - }, - { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/alerts", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/alarmcallbacks->M:graylog2-server/src/main/java/org/graylog2/alerts", - "kind": "uses", - "refs": [ + "start_line": 27 + }, { - "blob_sha": "48292d5c761f30578cb66881d89a9a547b93ec3b", + "blob_sha": "2153411eeb88488f567ab3b66b2e4d925a1b5a3a", "commits": [], - "end_line": 22, - "id": "E1", + "end_line": 25, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/alarmcallbacks/EmailAlarmCallback.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/functions/lookup/LookupAssignTtl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 25 }, { - "blob_sha": "48292d5c761f30578cb66881d89a9a547b93ec3b", + "blob_sha": "38ff65a268efcda58b4882ae10a1b48d10b2d585", "commits": [], - "end_line": 23, - "id": "E2", + "end_line": 25, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/alarmcallbacks/EmailAlarmCallback.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/functions/lookup/LookupClearKey.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 25 }, { - "blob_sha": "48292d5c761f30578cb66881d89a9a547b93ec3b", + "blob_sha": "212200c6cd5389f967cbbb16552537abbb059891", "commits": [], - "end_line": 24, - "id": "E3", + "end_line": 25, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/alarmcallbacks/EmailAlarmCallback.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/functions/lookup/LookupHasValue.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/alarmcallbacks" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/alarmcallbacks->M:graylog2-server/src/main/java/org/graylog2/configuration", - "kind": "uses", - "refs": [ + "start_line": 25 + }, { - "blob_sha": "48292d5c761f30578cb66881d89a9a547b93ec3b", + "blob_sha": "2ce474cf85e2ea0483ba8937c9018c4488bbb5c7", "commits": [], "end_line": 25, - "id": "E1", + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/alarmcallbacks/EmailAlarmCallback.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/functions/lookup/LookupRemoveStringList.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "1b0a1a79004c879b222b77bcf912d761349697cf", + "commits": [], + "end_line": 25, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/functions/lookup/LookupSetStringList.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "e9f9393073864a31764c613d162b23b5e782bcb9", + "commits": [], + "end_line": 25, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/functions/lookup/LookupSetValue.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 25 + }, + { + "blob_sha": "3e676bbc7a14ff8314014f8503767a13264dc549", + "commits": [], + "end_line": 27, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/functions/lookup/LookupStringList.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/alarmcallbacks" + "src": "M:graylog2-server/src/main/java/org/graylog/plugins" }, { "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/notifications", + "dst": "M:graylog2-server/src/main/java/org/graylog2/metrics", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/alarmcallbacks->M:graylog2-server/src/main/java/org/graylog2/notifications", + "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/metrics", "kind": "uses", "refs": [ { - "blob_sha": "48292d5c761f30578cb66881d89a9a547b93ec3b", + "blob_sha": "ced3032ba456c0bec031c52269cd99352fff6d28", "commits": [], - "end_line": 26, + "end_line": 45, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/alarmcallbacks/EmailAlarmCallback.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/processors/PipelineInterpreter.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 45 }, { - "blob_sha": "48292d5c761f30578cb66881d89a9a547b93ec3b", + "blob_sha": "4ae54e7fa98b66f4f81bb26ad2bc6ad8b425be20", "commits": [], - "end_line": 27, + "end_line": 33, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/alarmcallbacks/EmailAlarmCallback.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/sidecar/services/EtagService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 33 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/alarmcallbacks" + "src": "M:graylog2-server/src/main/java/org/graylog/plugins" }, { - "count": 29, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "count": 33, + "dst": "M:graylog2-server/src/main/java/org/graylog2/migrations", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/alarmcallbacks->M:graylog2-server/src/main/java/org/graylog2/plugin", + "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/migrations", "kind": "uses", "refs": [ { - "blob_sha": "6e81b52bec5c0206e6ec5c3587bb7e461cbfe424", + "blob_sha": "26f09765ee50ce45b27b7902a5a5ccb3c17b88ba", "commits": [], - "end_line": 20, + "end_line": 25, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/alarmcallbacks/AlarmCallbackFactory.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/datanode/DataNodeModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 25 }, { - "blob_sha": "6e81b52bec5c0206e6ec5c3587bb7e461cbfe424", + "blob_sha": "b140d5ddda37fcdc9f0df8a4aee424c6930fb52d", "commits": [], "end_line": 21, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/alarmcallbacks/AlarmCallbackFactory.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/onboarding/OnboardingModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 21 }, { - "blob_sha": "6e81b52bec5c0206e6ec5c3587bb7e461cbfe424", + "blob_sha": "1b5aa04c9a8c77e8fcdd0b35d04f3b5ef3955d8f", "commits": [], - "end_line": 22, + "end_line": 35, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/alarmcallbacks/AlarmCallbackFactory.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/rulebuilder/RuleBuilderModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/alarmcallbacks" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/alarmcallbacks->M:graylog2-server/src/main/java/org/graylog2/shared", - "kind": "uses", - "refs": [ + "start_line": 35 + }, { - "blob_sha": "48292d5c761f30578cb66881d89a9a547b93ec3b", + "blob_sha": "e40be99fbb8abf3cd024ce8a3897b47c53e73f4a", "commits": [], - "end_line": 44, - "id": "E1", + "end_line": 24, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/alarmcallbacks/EmailAlarmCallback.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/rulebuilder/db/migrations/V20220512123200_AddSimpleConditionFragments.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 44 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/alarmcallbacks" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/system", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/alarmcallbacks->M:graylog2-server/src/main/java/org/graylog2/system", - "kind": "uses", - "refs": [ + "start_line": 24 + }, { - "blob_sha": "ef0fae20e4ffa0dc7ca441eb83e1678e054f0a94", + "blob_sha": "fc7b088287a49324862b3914e34f9fbd01fa5b32", "commits": [], - "end_line": 39, - "id": "E1", + "end_line": 24, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/alarmcallbacks/HTTPAlarmCallback.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/rulebuilder/db/migrations/V20220522125200_AddSetGrokToFieldsExtractorFragments.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 39 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/alarmcallbacks" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/web", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/alarmcallbacks->M:graylog2-server/src/main/java/org/graylog2/web", - "kind": "uses", - "refs": [ + "start_line": 24 + }, { - "blob_sha": "48292d5c761f30578cb66881d89a9a547b93ec3b", + "blob_sha": "19179957c1fed8c6f164e28f2fde4b5492e7a20e", "commits": [], - "end_line": 45, - "id": "E1", + "end_line": 24, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/alarmcallbacks/EmailAlarmCallback.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/rulebuilder/db/migrations/V20230613154400_AddImplicitToStringFragments.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 45 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/alarmcallbacks" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/alerts->M:graylog2-server/src/main/java/org/graylog2/(root)", - "kind": "uses", - "refs": [ + "start_line": 24 + }, { - "blob_sha": "133cc3732e59cbfdee40c3093163bd084b43b385", + "blob_sha": "816e608d76423b38d6c77699b23db8bbddb9e1df", "commits": [], - "end_line": 22, - "id": "E1", + "end_line": 25, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/alerts/types/FieldContentValueAlertCondition.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/rulebuilder/db/migrations/V20230720161500_AddExtractorFragments.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/alerts" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/alerts->M:graylog2-server/src/main/java/org/graylog2/configuration", - "kind": "uses", - "refs": [ + "start_line": 25 + }, { - "blob_sha": "fa3de4ee63ba6d89f2405af06016946502b52808", + "blob_sha": "324ecb3fd092f1b5706fe31aac7f52368347f476", "commits": [], - "end_line": 23, - "id": "E1", + "end_line": 24, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/alerts/FormattedEmailAlertSender.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/rulebuilder/db/migrations/V20230724092100_AddFieldConditions.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 24 + }, + { + "blob_sha": "f0a4c11650fc566db8e81e7b3cdaadc7f7311b8b", + "commits": [], + "end_line": 24, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/rulebuilder/db/migrations/V20230915095200_AddSimpleRegex.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "78363be5ed670445137d94591a162ba49d7f9adb", + "commits": [], + "end_line": 48, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/plugins/sidecar/SidecarModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 48 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/alerts" + "src": "M:graylog2-server/src/main/java/org/graylog/plugins" }, { - "count": 13, - "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", + "count": 5, + "dst": "M:graylog2-server/src/main/java/org/graylog2/notifications", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/alerts->M:graylog2-server/src/main/java/org/graylog2/indexer", + "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/notifications", "kind": "uses", "refs": [ { - "blob_sha": "133cc3732e59cbfdee40c3093163bd084b43b385", + "blob_sha": "93be4413f81a9542e61c6cf860f3e183a67308b8", "commits": [], - "end_line": 24, + "end_line": 34, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/alerts/types/FieldContentValueAlertCondition.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/map/geoip/GeoIpDbFileChangeMonitorService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 34 }, { - "blob_sha": "133cc3732e59cbfdee40c3093163bd084b43b385", + "blob_sha": "93be4413f81a9542e61c6cf860f3e183a67308b8", "commits": [], - "end_line": 25, + "end_line": 35, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/alerts/types/FieldContentValueAlertCondition.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/map/geoip/GeoIpDbFileChangeMonitorService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 35 }, { - "blob_sha": "133cc3732e59cbfdee40c3093163bd084b43b385", + "blob_sha": "52b5fdf7c763f1b406973ff83eb530140547ab2d", "commits": [], - "end_line": 26, + "end_line": 46, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/alerts/types/FieldContentValueAlertCondition.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/sidecar/services/SidecarService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 46 + }, + { + "blob_sha": "52b5fdf7c763f1b406973ff83eb530140547ab2d", + "commits": [], + "end_line": 47, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/plugins/sidecar/services/SidecarService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 47 + }, + { + "blob_sha": "52b5fdf7c763f1b406973ff83eb530140547ab2d", + "commits": [], + "end_line": 48, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/plugins/sidecar/services/SidecarService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 48 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/alerts" + "src": "M:graylog2-server/src/main/java/org/graylog/plugins" }, { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/notifications", + "count": 466, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/alerts->M:graylog2-server/src/main/java/org/graylog2/notifications", + "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/plugin", "kind": "uses", "refs": [ { - "blob_sha": "fa3de4ee63ba6d89f2405af06016946502b52808", + "blob_sha": "cbf7e071a04db8c02409478421d8d0bbda6c406e", "commits": [], "end_line": 24, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/alerts/FormattedEmailAlertSender.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/beats/Beats2Codec.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 24 }, { - "blob_sha": "fa3de4ee63ba6d89f2405af06016946502b52808", + "blob_sha": "cbf7e071a04db8c02409478421d8d0bbda6c406e", "commits": [], "end_line": 25, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/alerts/FormattedEmailAlertSender.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/beats/Beats2Codec.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 25 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/alerts" - }, - { - "count": 65, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/alerts->M:graylog2-server/src/main/java/org/graylog2/plugin", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "795ac983af5af9bc38cdd4b790e277c09b74bb9a", + "blob_sha": "cbf7e071a04db8c02409478421d8d0bbda6c406e", "commits": [], - "end_line": 23, - "id": "E1", + "end_line": 26, + "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/alerts/AbstractAlertCondition.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/beats/Beats2Codec.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 26 }, { - "blob_sha": "795ac983af5af9bc38cdd4b790e277c09b74bb9a", + "blob_sha": "cbf7e071a04db8c02409478421d8d0bbda6c406e", "commits": [], - "end_line": 24, - "id": "E2", + "end_line": 27, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/alerts/AbstractAlertCondition.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/beats/Beats2Codec.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 27 }, { - "blob_sha": "795ac983af5af9bc38cdd4b790e277c09b74bb9a", + "blob_sha": "cbf7e071a04db8c02409478421d8d0bbda6c406e", "commits": [], - "end_line": 25, - "id": "E3", + "end_line": 28, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/alerts/AbstractAlertCondition.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/beats/Beats2Codec.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/alerts" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/alerts->M:graylog2-server/src/main/java/org/graylog2/shared", - "kind": "uses", - "refs": [ + "start_line": 28 + }, { - "blob_sha": "e7c0fff2ae9093b3b6f087b47210fafe3c46459b", + "blob_sha": "cbf7e071a04db8c02409478421d8d0bbda6c406e", "commits": [], - "end_line": 23, - "id": "E1", + "end_line": 29, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/alerts/EmailRecipients.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/beats/Beats2Codec.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 29 }, { - "blob_sha": "fa3de4ee63ba6d89f2405af06016946502b52808", + "blob_sha": "cbf7e071a04db8c02409478421d8d0bbda6c406e", "commits": [], - "end_line": 33, - "id": "E2", + "end_line": 30, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/alerts/FormattedEmailAlertSender.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/beats/Beats2Codec.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 33 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/alerts" - }, - { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/audit->M:graylog2-server/src/main/java/org/graylog2/plugin", - "kind": "uses", - "refs": [ + "start_line": 30 + }, { - "blob_sha": "67ec22285f19cce12e63b89b4c3b1e19ab9efc4f", + "blob_sha": "cbf7e071a04db8c02409478421d8d0bbda6c406e", "commits": [], - "end_line": 20, - "id": "E1", + "end_line": 31, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/audit/AuditActor.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/beats/Beats2Codec.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 31 }, { - "blob_sha": "67ec22285f19cce12e63b89b4c3b1e19ab9efc4f", + "blob_sha": "cbf7e071a04db8c02409478421d8d0bbda6c406e", "commits": [], - "end_line": 21, - "id": "E2", + "end_line": 32, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/audit/AuditActor.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/beats/Beats2Codec.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 32 }, { - "blob_sha": "04e41d9df090e8e0b5e20cb2f748a0457dbcc317", + "blob_sha": "cbf7e071a04db8c02409478421d8d0bbda6c406e", "commits": [], - "end_line": 22, - "id": "E3", + "end_line": 33, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/audit/AuditBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/beats/Beats2Codec.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 33 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/audit" + "src": "M:graylog2-server/src/main/java/org/graylog/plugins" }, { - "count": 1, + "count": 94, "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/audit->M:graylog2-server/src/main/java/org/graylog2/rest", + "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/rest", "kind": "uses", "refs": [ { - "blob_sha": "e9a7f32d240caf2a3995c732f5c890bf8fabed37", + "blob_sha": "93be4413f81a9542e61c6cf860f3e183a67308b8", "commits": [], "end_line": 39, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/audit/jersey/AuditEventModelProcessor.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/map/geoip/GeoIpDbFileChangeMonitorService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 39 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/audit" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog/events", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog/events", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", + "blob_sha": "cd0354a02c8105b1a71b554d1c5a835c471e5007", "commits": [], - "end_line": 19, - "id": "E1", + "end_line": 37, + "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/PipelineProcessorMessageDecorator.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 37 }, { - "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", + "blob_sha": "cd0354a02c8105b1a71b554d1c5a835c471e5007", "commits": [], - "end_line": 20, - "id": "E2", + "end_line": 38, + "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/PipelineProcessorMessageDecorator.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog/plugins", - "kind": "uses", - "refs": [ + "start_line": 38 + }, { - "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", + "blob_sha": "b0a277525532aa1e3f36e43f5ab9d9558d3398f6", "commits": [], - "end_line": 21, - "id": "E1", + "end_line": 23, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/RoutingRuleDao.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 23 }, { - "blob_sha": "e45f4c994f45572a894862d970be4abeacd52fd1", + "blob_sha": "07656840d0af9634e3319640acc8d0916c1d94ca", + "commits": [], + "end_line": 33, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/mongodb/MongoDbPipelineMetadataService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "07656840d0af9634e3319640acc8d0916c1d94ca", "commits": [], "end_line": 34, - "id": "E2", + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/providers/MongoJackObjectMapperProvider.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/mongodb/MongoDbPipelineMetadataService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 34 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" - }, - { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog/scheduler", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog/scheduler", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "bcdb7f8e6d036c42e9a745668052f7dec322f69d", + "blob_sha": "07656840d0af9634e3319640acc8d0916c1d94ca", "commits": [], - "end_line": 21, - "id": "E1", + "end_line": 35, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/PeriodicalBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/mongodb/MongoDbPipelineMetadataService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 35 }, { - "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "blob_sha": "d2f2df5a5a9ca8097a469c2aa3ad58d8856ee9e7", "commits": [], - "end_line": 29, - "id": "E2", + "end_line": 25, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/mongodb/PaginatedMongoDbPipelineService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 + "start_line": 25 }, { - "blob_sha": "e3bd024de1f702fb5fbec4b06fa132415533cc8f", + "blob_sha": "a986a34e53d9faea7550b8f6d5a01b420b287e2b", "commits": [], - "end_line": 21, - "id": "E3", + "end_line": 25, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/providers/LegacySystemJobFactoryProvider.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/mongodb/PaginatedMongoDbRuleService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog/security", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog/security", - "kind": "uses", - "refs": [ + "start_line": 25 + }, { - "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "blob_sha": "b1326fc010ad36eb5141586ea1a1d987d696a855", "commits": [], - "end_line": 30, - "id": "E1", + "end_line": 43, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/processors/PipelineAnalyzer.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 + "start_line": 43 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + "src": "M:graylog2-server/src/main/java/org/graylog/plugins" }, { - "count": 5, - "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", + "count": 31, + "dst": "M:graylog2-server/src/main/java/org/graylog2/search", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/(root)", + "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/search", "kind": "uses", "refs": [ { - "blob_sha": "b46423a001d4684200c015723e0b5a6359c17631", + "blob_sha": "02dff4d1a75585c56b962ba155b9e1c7cf5ab47c", "commits": [], - "end_line": 21, + "end_line": 20, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/ConfigurationModule.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/PaginatedPipelineService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 20 }, { - "blob_sha": "b46423a001d4684200c015723e0b5a6359c17631", + "blob_sha": "bffbbd47d32b3e63c7a17f188a92ac2cb9c244c4", "commits": [], - "end_line": 22, + "end_line": 20, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/ConfigurationModule.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/PaginatedRuleService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 20 }, { - "blob_sha": "4e4928bcb911820bd4ce1dbfde75c694f6c6adc1", + "blob_sha": "d2f2df5a5a9ca8097a469c2aa3ad58d8856ee9e7", "commits": [], - "end_line": 22, + "end_line": 26, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/GraylogNodeModule.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/mongodb/PaginatedMongoDbPipelineService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/alarmcallbacks", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/alarmcallbacks", - "kind": "uses", - "refs": [ + "start_line": 26 + }, { - "blob_sha": "6f1f4b164fad279c51720d9f000c809d6708e06e", + "blob_sha": "a986a34e53d9faea7550b8f6d5a01b420b287e2b", "commits": [], - "end_line": 22, - "id": "E1", + "end_line": 26, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/AlarmCallbackBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/db/mongodb/PaginatedMongoDbRuleService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 26 }, { - "blob_sha": "6f1f4b164fad279c51720d9f000c809d6708e06e", + "blob_sha": "fa1b6891a251f14a4e3227ede3d93e3d903b5d90", "commits": [], - "end_line": 23, - "id": "E2", + "end_line": 67, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/AlarmCallbackBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/rest/PipelineResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" - }, - { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/alerts", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/alerts", - "kind": "uses", - "refs": [ + "start_line": 67 + }, { - "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "blob_sha": "fa1b6891a251f14a4e3227ede3d93e3d903b5d90", "commits": [], - "end_line": 32, - "id": "E1", + "end_line": 68, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/rest/PipelineResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 32 + "start_line": 68 }, { - "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "blob_sha": "fa1b6891a251f14a4e3227ede3d93e3d903b5d90", "commits": [], - "end_line": 33, - "id": "E2", + "end_line": 69, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/rest/PipelineResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 33 + "start_line": 69 }, { - "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "blob_sha": "84107b686aedea26d38b33f869f95ca295a62424", "commits": [], - "end_line": 34, - "id": "E3", + "end_line": 62, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/rest/RuleResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 34 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/audit", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/audit", - "kind": "uses", - "refs": [ + "start_line": 62 + }, { - "blob_sha": "4e4928bcb911820bd4ce1dbfde75c694f6c6adc1", + "blob_sha": "84107b686aedea26d38b33f869f95ca295a62424", "commits": [], - "end_line": 23, - "id": "E1", + "end_line": 63, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/GraylogNodeModule.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/rest/RuleResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 63 + }, + { + "blob_sha": "84107b686aedea26d38b33f869f95ca295a62424", + "commits": [], + "end_line": 64, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/rest/RuleResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 64 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + "src": "M:graylog2-server/src/main/java/org/graylog/plugins" }, { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/bootstrap", + "count": 5, + "dst": "M:graylog2-server/src/main/java/org/graylog2/security", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/bootstrap", + "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/security", "kind": "uses", "refs": [ { - "blob_sha": "bcdb7f8e6d036c42e9a745668052f7dec322f69d", + "blob_sha": "ff4efa894228777e7c056b1f2cafe988a3b82c4d", "commits": [], - "end_line": 22, + "end_line": 35, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/PeriodicalBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/beats/BeatsTransport.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 35 }, { - "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "blob_sha": "1b430801b3cdc05c79e7035284fea04a661d3ed7", "commits": [], - "end_line": 43, + "end_line": 27, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/map/config/AzureGeoIpFileService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 43 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/buffers", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/buffers", - "kind": "uses", - "refs": [ + "start_line": 27 + }, { - "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "blob_sha": "48cbd6d53aa738c187aa2000ec307d4db82d5143", "commits": [], - "end_line": 44, - "id": "E1", + "end_line": 20, + "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/map/config/GeoIpFileServiceFactory.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 44 + "start_line": 20 + }, + { + "blob_sha": "22c043c39cc68f41c9e3cd881ce5412f8079363b", + "commits": [], + "end_line": 25, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/plugins/map/config/GeoIpResolverConfig.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "22c043c39cc68f41c9e3cd881ce5412f8079363b", + "commits": [], + "end_line": 26, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/plugins/map/config/GeoIpResolverConfig.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + "src": "M:graylog2-server/src/main/java/org/graylog/plugins" }, { - "count": 21, - "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", + "count": 116, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/cluster", + "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/shared", "kind": "uses", "refs": [ { - "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", + "blob_sha": "4fb79cc04b53ab317c00d283a01afcfd50d06099", "commits": [], - "end_line": 22, + "end_line": 42, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/cef/codec/CEFCodec.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 42 }, { - "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", + "blob_sha": "326f36ffe17d754460f095ddca1ec734ad6e90d6", "commits": [], - "end_line": 23, + "end_line": 53, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/netflow/codecs/NetFlowCodec.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 53 }, { - "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "blob_sha": "5aaaf6fc273550452f214ba2e55bdb81e1242a3e", "commits": [], - "end_line": 23, + "end_line": 30, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/netflow/codecs/NetflowV9CodecAggregator.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" - }, - { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/configuration", - "kind": "uses", - "refs": [ + "start_line": 30 + }, { - "blob_sha": "4e4928bcb911820bd4ce1dbfde75c694f6c6adc1", + "blob_sha": "3892e77cb4ebcd3ed6b1b700fa32daec3ae413a4", "commits": [], - "end_line": 25, - "id": "E1", + "end_line": 37, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/GraylogNodeModule.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/onboarding/rest/OnboardingResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 37 }, { - "blob_sha": "4e4928bcb911820bd4ce1dbfde75c694f6c6adc1", + "blob_sha": "3892e77cb4ebcd3ed6b1b700fa32daec3ae413a4", "commits": [], - "end_line": 26, - "id": "E2", + "end_line": 38, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/GraylogNodeModule.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/onboarding/rest/OnboardingResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 38 }, { - "blob_sha": "f7beada37c2f47b75ed65903477b79c3bc043a26", + "blob_sha": "3000f94b9524cb8bad5d99a04d24159160aad30e", "commits": [], - "end_line": 21, - "id": "E3", + "end_line": 37, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/MongoDbConnectionModule.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/EvaluationContext.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" - }, - { - "count": 11, - "dst": "M:graylog2-server/src/main/java/org/graylog2/database", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/database", - "kind": "uses", - "refs": [ + "start_line": 37 + }, { - "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", + "blob_sha": "3000f94b9524cb8bad5d99a04d24159160aad30e", "commits": [], - "end_line": 24, - "id": "E1", + "end_line": 38, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/EvaluationContext.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 38 }, { - "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", + "blob_sha": "e64d4827cf8b66890fc64044554ee028c461224f", "commits": [], - "end_line": 25, - "id": "E2", + "end_line": 28, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/functions/FromInput.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 28 }, { - "blob_sha": "f7beada37c2f47b75ed65903477b79c3bc043a26", + "blob_sha": "ffefab00ad141e19c2c5831b6ae544a136cbd829", "commits": [], - "end_line": 22, - "id": "E3", + "end_line": 32, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/MongoDbConnectionModule.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/functions/messages/CloneMessage.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/decorators", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/decorators", - "kind": "uses", - "refs": [ + "start_line": 32 + }, { - "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", + "blob_sha": "ced3032ba456c0bec031c52269cd99352fff6d28", "commits": [], - "end_line": 26, - "id": "E1", + "end_line": 51, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/processors/PipelineInterpreter.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 51 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + "src": "M:graylog2-server/src/main/java/org/graylog/plugins" }, { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/events", + "count": 11, + "dst": "M:graylog2-server/src/main/java/org/graylog2/storage", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/events", + "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/storage", "kind": "uses", "refs": [ { - "blob_sha": "4e4928bcb911820bd4ce1dbfde75c694f6c6adc1", + "blob_sha": "8a3fd518e6cc6c1b0dda92c092f8486bde468030", "commits": [], - "end_line": 27, + "end_line": 39, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/GraylogNodeModule.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/ViewsModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 39 }, { - "blob_sha": "72474f5375f23512091f153e52a72c76f2a1a232", + "blob_sha": "c35cbd0ab080703d3cc686bafb42e4ebbed7ade8", "commits": [], - "end_line": 22, + "end_line": 28, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/providers/ClusterEventBusProvider.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/migrations/V20200730000000_AddGl2MessageIdFieldAliasForEvents.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/filters", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/filters", - "kind": "uses", - "refs": [ + "start_line": 28 + }, { - "blob_sha": "347443da4a959632f7c74f57f07d6ed0cd5deae1", + "blob_sha": "c35cbd0ab080703d3cc686bafb42e4ebbed7ade8", "commits": [], - "end_line": 21, - "id": "E1", + "end_line": 29, + "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/MessageFilterBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/migrations/V20200730000000_AddGl2MessageIdFieldAliasForEvents.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 29 }, { - "blob_sha": "347443da4a959632f7c74f57f07d6ed0cd5deae1", + "blob_sha": "f4fb00dc77f8853c6605d70b448a4855d3f2fb16", + "commits": [], + "end_line": 20, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/providers/ExportBackendProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "f4fb00dc77f8853c6605d70b448a4855d3f2fb16", "commits": [], "end_line": 22, - "id": "E2", + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/MessageFilterBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/providers/ExportBackendProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 22 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/grok", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/grok", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "blob_sha": "f4fb00dc77f8853c6605d70b448a4855d3f2fb16", "commits": [], - "end_line": 51, - "id": "E1", + "end_line": 21, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/providers/ExportBackendProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 51 + "start_line": 21 }, { - "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "blob_sha": "20c3002ee6604b2157e69aa1b3894c259d0b9bf1", "commits": [], - "end_line": 52, - "id": "E2", + "end_line": 20, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/providers/QuerySuggestionsProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 52 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" - }, - { - "count": 20, - "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/indexer", - "kind": "uses", - "refs": [ + "start_line": 20 + }, { - "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", + "blob_sha": "20c3002ee6604b2157e69aa1b3894c259d0b9bf1", "commits": [], - "end_line": 27, - "id": "E1", + "end_line": 21, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/providers/QuerySuggestionsProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 21 }, { - "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", + "blob_sha": "20c3002ee6604b2157e69aa1b3894c259d0b9bf1", "commits": [], - "end_line": 28, - "id": "E2", + "end_line": 22, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/providers/QuerySuggestionsProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 + "start_line": 22 }, { - "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", + "blob_sha": "5c25b0395c4352b0c9d085e37eaadb6201254caf", "commits": [], - "end_line": 29, - "id": "E3", + "end_line": 38, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/engine/QueryEngine.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 + "start_line": 38 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + "src": "M:graylog2-server/src/main/java/org/graylog/plugins" }, { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/initializers", + "count": 17, + "dst": "M:graylog2-server/src/main/java/org/graylog2/streams", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/initializers", + "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/streams", "kind": "uses", "refs": [ { - "blob_sha": "c76f18b2e386d3f2209e6fd30b1d310db4cd63bd", + "blob_sha": "ed707ca51dae636b3ab486094232a14970ffa294", "commits": [], - "end_line": 22, + "end_line": 26, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/InitializerBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/functions/messages/StreamCacheService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 26 }, { - "blob_sha": "c76f18b2e386d3f2209e6fd30b1d310db4cd63bd", + "blob_sha": "ed707ca51dae636b3ab486094232a14970ffa294", "commits": [], - "end_line": 23, + "end_line": 27, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/InitializerBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/functions/messages/StreamCacheService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" - }, - { - "count": 12, - "dst": "M:graylog2-server/src/main/java/org/graylog2/inputs", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/inputs", - "kind": "uses", - "refs": [ + "start_line": 27 + }, { - "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", + "blob_sha": "b1326fc010ad36eb5141586ea1a1d987d696a855", + "commits": [], + "end_line": 44, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/processors/PipelineAnalyzer.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 44 + }, + { + "blob_sha": "5443aa4b4308d9e70fcacdefb87b3018ff0dae8f", + "commits": [], + "end_line": 29, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/processors/PipelineMetadataClusterEventHandler.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "5443aa4b4308d9e70fcacdefb87b3018ff0dae8f", "commits": [], "end_line": 30, - "id": "E1", + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/processors/PipelineMetadataClusterEventHandler.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 30 }, { - "blob_sha": "bcdb7f8e6d036c42e9a745668052f7dec322f69d", + "blob_sha": "287532ebd2b9f89fc6995e087733b725db473396", "commits": [], - "end_line": 25, - "id": "E2", + "end_line": 42, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/PeriodicalBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/processors/PipelineMetadataUpdateJob.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 42 }, { - "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "blob_sha": "287532ebd2b9f89fc6995e087733b725db473396", "commits": [], - "end_line": 46, - "id": "E3", + "end_line": 43, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/processors/PipelineMetadataUpdateJob.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 46 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" - }, - { - "count": 5, - "dst": "M:graylog2-server/src/main/java/org/graylog2/jackson", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/jackson", - "kind": "uses", - "refs": [ + "start_line": 43 + }, { - "blob_sha": "4e4928bcb911820bd4ce1dbfde75c694f6c6adc1", + "blob_sha": "bbf28f650076c7fb1382ef3f3effbbef4b23814d", "commits": [], - "end_line": 28, - "id": "E1", + "end_line": 49, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/GraylogNodeModule.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/rest/PipelineConnectionsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 + "start_line": 49 }, { - "blob_sha": "e45f4c994f45572a894862d970be4abeacd52fd1", + "blob_sha": "b9bc2ddcf42c82938e9ac1ad30980916f8cbf0da", "commits": [], - "end_line": 36, - "id": "E2", + "end_line": 46, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/providers/MongoJackObjectMapperProvider.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/rest/SimulatorResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 36 + "start_line": 46 }, { - "blob_sha": "e45f4c994f45572a894862d970be4abeacd52fd1", + "blob_sha": "8bd5be67c8a7df86c140df69e64e45bdad818016", "commits": [], - "end_line": 37, - "id": "E3", + "end_line": 26, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/providers/MongoJackObjectMapperProvider.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/elasticsearch/FieldTypesLookup.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 + "start_line": 26 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + "src": "M:graylog2-server/src/main/java/org/graylog/plugins" }, { "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/jmte", + "dst": "M:graylog2-server/src/main/java/org/graylog2/system", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/jmte", + "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/system", "kind": "uses", "refs": [ { - "blob_sha": "b2c787d3fd34e732a570841f6aee27904617530e", + "blob_sha": "b01b8c54579d0beae25254e8558353991a97c3d7", "commits": [], - "end_line": 23, + "end_line": 39, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/providers/DefaultJmteEngineProvider.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/storage/migration/state/actions/MigrationActionsImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 39 }, { - "blob_sha": "a0e14264350106e2378cbaa6f7d9af148a329c22", + "blob_sha": "b01b8c54579d0beae25254e8558353991a97c3d7", "commits": [], - "end_line": 25, + "end_line": 40, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/providers/HtmlSafeJmteEngineProvider.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/storage/migration/state/actions/MigrationActionsImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 40 }, { - "blob_sha": "2eb5222c1df61f049ea9e4bd232cb13016352ddb", + "blob_sha": "b01b8c54579d0beae25254e8558353991a97c3d7", "commits": [], - "end_line": 25, + "end_line": 41, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/providers/JsonSafeEngineProvider.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/storage/migration/state/actions/MigrationActionsImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 41 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + "src": "M:graylog2-server/src/main/java/org/graylog/plugins" }, { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/lookup", + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog2/users", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/lookup", + "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/users", "kind": "uses", "refs": [ { - "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "blob_sha": "2c8b563685fde37244da253bf0bea76b53ae09a2", "commits": [], - "end_line": 61, + "end_line": 26, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/sidecar/migrations/V20180323150000_AddSidecarUser.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 61 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/metrics", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/metrics", - "kind": "uses", - "refs": [ + "start_line": 26 + }, { - "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "blob_sha": "04d263e23306257e5db41b14c6920fd1f3041ea3", "commits": [], - "end_line": 62, - "id": "E1", + "end_line": 37, + "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 62 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" - }, - { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/notifications", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/notifications", - "kind": "uses", - "refs": [ - { - "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", - "commits": [], - "end_line": 31, - "id": "E1", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/favorites/FavoritesService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 31 + "start_line": 37 }, { - "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "blob_sha": "a8a1ccb724459bd061ce3294c3387a4e00cbf3e8", "commits": [], - "end_line": 52, - "id": "E2", + "end_line": 33, + "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/search/querystrings/MongoLastUsedQueryStringsService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 52 + "start_line": 33 }, { - "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "blob_sha": "2dbab7deec4ade6e97155af63e14f919a78cd8f7", "commits": [], - "end_line": 53, - "id": "E3", + "end_line": 33, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/views/startpage/lastOpened/LastOpenedService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 53 + "start_line": 33 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + "src": "M:graylog2-server/src/main/java/org/graylog/plugins" }, { - "count": 6, - "dst": "M:graylog2-server/src/main/java/org/graylog2/outputs", + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog2/utilities", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/outputs", + "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/utilities", "kind": "uses", "refs": [ { - "blob_sha": "bd78cdbf21fa7b3d886c4d0fb57e1b060f66b098", + "blob_sha": "15635d1b19caebca829bf26a44df4b9301ed5e5c", "commits": [], - "end_line": 25, + "end_line": 27, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/MessageOutputBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/map/geoip/GeoIpResolverEngine.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 27 }, { - "blob_sha": "bd78cdbf21fa7b3d886c4d0fb57e1b060f66b098", + "blob_sha": "00329b514b41a06abcd5f7f2c5be4df05457802d", "commits": [], - "end_line": 26, + "end_line": 24, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/MessageOutputBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/functions/ips/CidrMatch.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 24 }, { - "blob_sha": "bd78cdbf21fa7b3d886c4d0fb57e1b060f66b098", + "blob_sha": "f3ecb5e499bbafd42e6cc34f33514e452d3f9bae", "commits": [], - "end_line": 27, + "end_line": 20, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/MessageOutputBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/threatintel/tools/PrivateNet.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 20 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + "src": "M:graylog2-server/src/main/java/org/graylog/plugins" }, { - "count": 19, - "dst": "M:graylog2-server/src/main/java/org/graylog2/periodical", + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/web", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/periodical", + "id": "M:graylog2-server/src/main/java/org/graylog/plugins->M:graylog2-server/src/main/java/org/graylog2/web", "kind": "uses", "refs": [ { - "blob_sha": "bcdb7f8e6d036c42e9a745668052f7dec322f69d", + "blob_sha": "1fbcf62a4a7f01135c77948eded4bcccc6a2069c", "commits": [], - "end_line": 26, + "end_line": 53, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/PeriodicalBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/plugins/threatintel/adapters/otx/OTXDataAdapter.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 - }, + "start_line": 53 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog/plugins" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog/security", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog/scheduler->M:graylog2-server/src/main/java/org/graylog/security", + "kind": "uses", + "refs": [ { - "blob_sha": "bcdb7f8e6d036c42e9a745668052f7dec322f69d", + "blob_sha": "d2635fecd71cf5689d5a7602818bca46458c4723", "commits": [], - "end_line": 27, - "id": "E2", + "end_line": 21, + "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/PeriodicalBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/rest/JobResourceHandler.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 21 }, { - "blob_sha": "bcdb7f8e6d036c42e9a745668052f7dec322f69d", + "blob_sha": "fd5caf6d48ded844de5de39d49a78d14c46a08a1", "commits": [], - "end_line": 28, - "id": "E3", + "end_line": 21, + "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/PeriodicalBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/rest/JobResourceHandlerService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 + "start_line": 21 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + "src": "M:graylog2-server/src/main/java/org/graylog/scheduler" }, { - "count": 26, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog/tracing", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/plugin", + "id": "M:graylog2-server/src/main/java/org/graylog/scheduler->M:graylog2-server/src/main/java/org/graylog/tracing", "kind": "uses", "refs": [ { - "blob_sha": "6f1f4b164fad279c51720d9f000c809d6708e06e", + "blob_sha": "ef0289ceafd6c126a5cce711ed66c9d7d1243640", "commits": [], - "end_line": 24, + "end_line": 53, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/AlarmCallbackBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/JobExecutionEngine.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 53 }, { - "blob_sha": "b46423a001d4684200c015723e0b5a6359c17631", + "blob_sha": "ef0289ceafd6c126a5cce711ed66c9d7d1243640", "commits": [], - "end_line": 23, + "end_line": 54, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/ConfigurationModule.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/JobExecutionEngine.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 54 }, { - "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", + "blob_sha": "ef0289ceafd6c126a5cce711ed66c9d7d1243640", "commits": [], - "end_line": 32, + "end_line": 55, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/JobExecutionEngine.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 32 + "start_line": 55 + }, + { + "blob_sha": "ef0289ceafd6c126a5cce711ed66c9d7d1243640", + "commits": [], + "end_line": 56, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/JobExecutionEngine.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 56 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + "src": "M:graylog2-server/src/main/java/org/graylog/scheduler" }, { - "count": 19, - "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/audit", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/rest", + "id": "M:graylog2-server/src/main/java/org/graylog/scheduler->M:graylog2-server/src/main/java/org/graylog2/audit", "kind": "uses", "refs": [ { - "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "blob_sha": "b30a053429a95a81a923c0d615ef2aec06a46332", "commits": [], - "end_line": 55, + "end_line": 20, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/audit/JobSchedulerAuditEventTypes.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 55 - }, + "start_line": 20 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog/scheduler" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/bindings", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog/scheduler->M:graylog2-server/src/main/java/org/graylog2/bindings", + "kind": "uses", + "refs": [ { - "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "blob_sha": "e96bbfe48e9f6ccefa8ba9787bf1d66aef218db2", "commits": [], - "end_line": 56, - "id": "E2", + "end_line": 26, + "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/DBJobDefinitionService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 56 + "start_line": 26 }, { - "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "blob_sha": "c11b0bde4c368fc0e9803454b8cec84c554018d0", "commits": [], - "end_line": 57, - "id": "E3", + "end_line": 38, + "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/DBJobTriggerService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 57 + "start_line": 38 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + "src": "M:graylog2-server/src/main/java/org/graylog/scheduler" }, { - "count": 17, - "dst": "M:graylog2-server/src/main/java/org/graylog2/security", + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/security", + "id": "M:graylog2-server/src/main/java/org/graylog/scheduler->M:graylog2-server/src/main/java/org/graylog2/cluster", "kind": "uses", "refs": [ { - "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", + "blob_sha": "0cec68d8859f04d00a2986389562de9f8e455c62", "commits": [], - "end_line": 33, + "end_line": 22, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/DefaultJobSchedulerConfig.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 33 + "start_line": 22 }, { - "blob_sha": "4e4928bcb911820bd4ce1dbfde75c694f6c6adc1", + "blob_sha": "ef0289ceafd6c126a5cce711ed66c9d7d1243640", "commits": [], - "end_line": 34, + "end_line": 38, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/GraylogNodeModule.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/JobExecutionEngine.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 34 + "start_line": 38 }, { - "blob_sha": "942cf043965c16a274d2b079a9dcf73612beb1eb", + "blob_sha": "ef0289ceafd6c126a5cce711ed66c9d7d1243640", "commits": [], - "end_line": 23, + "end_line": 39, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/PasswordAlgorithmBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/JobExecutionEngine.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 39 + }, + { + "blob_sha": "11d08c04ceeb180b5b6164b3e9e93cec84817e08", + "commits": [], + "end_line": 20, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/capabilities/ServerNodeSchedulerCapabilities.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + "src": "M:graylog2-server/src/main/java/org/graylog/scheduler" }, { - "count": 24, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/shared", + "id": "M:graylog2-server/src/main/java/org/graylog/scheduler->M:graylog2-server/src/main/java/org/graylog2/configuration", "kind": "uses", "refs": [ { - "blob_sha": "4e4928bcb911820bd4ce1dbfde75c694f6c6adc1", + "blob_sha": "bbc291291a505ca9ebf43fcc65b1172f18132212", "commits": [], - "end_line": 35, + "end_line": 27, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/GraylogNodeModule.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 35 - }, - { - "blob_sha": "4e4928bcb911820bd4ce1dbfde75c694f6c6adc1", - "commits": [], - "end_line": 36, - "id": "E2", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/GraylogNodeModule.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 36 - }, - { - "blob_sha": "4e4928bcb911820bd4ce1dbfde75c694f6c6adc1", - "commits": [], - "end_line": 37, - "id": "E3", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/GraylogNodeModule.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/JobSchedulerConfiguration.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 + "start_line": 27 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + "src": "M:graylog2-server/src/main/java/org/graylog/scheduler" }, { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/storage", + "count": 14, + "dst": "M:graylog2-server/src/main/java/org/graylog2/database", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/storage", + "id": "M:graylog2-server/src/main/java/org/graylog/scheduler->M:graylog2-server/src/main/java/org/graylog2/database", "kind": "uses", "refs": [ { - "blob_sha": "c2d3091b87080f17e3d0b3b2f191dde3f8063094", + "blob_sha": "e96bbfe48e9f6ccefa8ba9787bf1d66aef218db2", "commits": [], - "end_line": 23, + "end_line": 27, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/ElasticsearchModule.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/DBJobDefinitionService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 27 }, { - "blob_sha": "c2d3091b87080f17e3d0b3b2f191dde3f8063094", + "blob_sha": "e96bbfe48e9f6ccefa8ba9787bf1d66aef218db2", "commits": [], - "end_line": 24, + "end_line": 28, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/ElasticsearchModule.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/DBJobDefinitionService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 28 }, { - "blob_sha": "c2d3091b87080f17e3d0b3b2f191dde3f8063094", + "blob_sha": "e96bbfe48e9f6ccefa8ba9787bf1d66aef218db2", "commits": [], - "end_line": 25, + "end_line": 29, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/ElasticsearchModule.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/DBJobDefinitionService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" - }, - { - "count": 8, - "dst": "M:graylog2-server/src/main/java/org/graylog2/streams", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/streams", - "kind": "uses", - "refs": [ + "start_line": 29 + }, { - "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", + "blob_sha": "c11b0bde4c368fc0e9803454b8cec84c554018d0", "commits": [], - "end_line": 34, - "id": "E1", + "end_line": 39, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/DBJobTriggerService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 34 + "start_line": 39 }, { - "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", + "blob_sha": "c11b0bde4c368fc0e9803454b8cec84c554018d0", "commits": [], - "end_line": 35, - "id": "E2", + "end_line": 40, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/DBJobTriggerService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 35 + "start_line": 40 }, { - "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", + "blob_sha": "c11b0bde4c368fc0e9803454b8cec84c554018d0", "commits": [], - "end_line": 36, - "id": "E3", + "end_line": 41, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/DBJobTriggerService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 36 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" - }, - { - "count": 16, - "dst": "M:graylog2-server/src/main/java/org/graylog2/system", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/system", - "kind": "uses", - "refs": [ + "start_line": 41 + }, { - "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", + "blob_sha": "c11b0bde4c368fc0e9803454b8cec84c554018d0", "commits": [], - "end_line": 38, - "id": "E1", + "end_line": 42, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/DBJobTriggerService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 38 + "start_line": 42 }, { - "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "blob_sha": "c11b0bde4c368fc0e9803454b8cec84c554018d0", "commits": [], - "end_line": 66, - "id": "E2", + "end_line": 78, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/DBJobTriggerService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 66 + "start_line": 78 }, { - "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "blob_sha": "c11b0bde4c368fc0e9803454b8cec84c554018d0", "commits": [], - "end_line": 67, - "id": "E3", + "end_line": 79, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/DBJobTriggerService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 67 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/telemetry", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/telemetry", - "kind": "uses", - "refs": [ + "start_line": 79 + }, { - "blob_sha": "bcdb7f8e6d036c42e9a745668052f7dec322f69d", + "blob_sha": "c11b0bde4c368fc0e9803454b8cec84c554018d0", "commits": [], - "end_line": 46, - "id": "E1", + "end_line": 80, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/PeriodicalBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/DBJobTriggerService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 46 + "start_line": 80 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + "src": "M:graylog2-server/src/main/java/org/graylog/scheduler" }, { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/tokenusage", + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/tokenusage", + "id": "M:graylog2-server/src/main/java/org/graylog/scheduler->M:graylog2-server/src/main/java/org/graylog2/indexer", "kind": "uses", "refs": [ { - "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "blob_sha": "f00723f2e080b496764c6b120e4ac859766fab93", "commits": [], - "end_line": 68, + "end_line": 29, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/JobSchedulerModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 68 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" - }, - { - "count": 9, - "dst": "M:graylog2-server/src/main/java/org/graylog2/users", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/users", - "kind": "uses", - "refs": [ + "start_line": 29 + }, { - "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", + "blob_sha": "f00723f2e080b496764c6b120e4ac859766fab93", "commits": [], - "end_line": 39, - "id": "E1", + "end_line": 30, + "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/JobSchedulerModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 39 + "start_line": 30 }, { - "blob_sha": "942cf043965c16a274d2b079a9dcf73612beb1eb", + "blob_sha": "f00723f2e080b496764c6b120e4ac859766fab93", "commits": [], - "end_line": 26, - "id": "E2", + "end_line": 31, + "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/PasswordAlgorithmBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/JobSchedulerModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 31 }, { - "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "blob_sha": "f00723f2e080b496764c6b120e4ac859766fab93", "commits": [], - "end_line": 69, - "id": "E3", + "end_line": 32, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/JobSchedulerModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 69 + "start_line": 32 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + "src": "M:graylog2-server/src/main/java/org/graylog/scheduler" }, { "count": 12, - "dst": "M:graylog2-server/src/main/java/org/graylog/security", + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bootstrap->M:graylog2-server/src/main/java/org/graylog/security", + "id": "M:graylog2-server/src/main/java/org/graylog/scheduler->M:graylog2-server/src/main/java/org/graylog2/plugin", "kind": "uses", "refs": [ { - "blob_sha": "c2df60d7a6d45597acdf9021de4b99b3192c5015", + "blob_sha": "c11b0bde4c368fc0e9803454b8cec84c554018d0", "commits": [], - "end_line": 22, + "end_line": 43, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/Main.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/DBJobTriggerService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 43 }, { - "blob_sha": "c2df60d7a6d45597acdf9021de4b99b3192c5015", + "blob_sha": "c4b3a1c9e69e71af33d995625c4ec4c0fdc0e3e3", "commits": [], - "end_line": 23, + "end_line": 25, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/Main.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/DBSystemJobTriggerService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 25 }, { - "blob_sha": "c2df60d7a6d45597acdf9021de4b99b3192c5015", + "blob_sha": "bbc291291a505ca9ebf43fcc65b1172f18132212", "commits": [], - "end_line": 24, + "end_line": 28, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/Main.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/JobSchedulerConfiguration.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bootstrap" - }, - { - "count": 7, - "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bootstrap->M:graylog2-server/src/main/java/org/graylog2/(root)", - "kind": "uses", - "refs": [ + "start_line": 28 + }, { - "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "blob_sha": "f00723f2e080b496764c6b120e4ac859766fab93", "commits": [], - "end_line": 59, - "id": "E1", + "end_line": 33, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/JobSchedulerModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 59 + "start_line": 33 }, { - "blob_sha": "ff2e206d42abc3ce24d1dc5ffe1bdcfb457eeb07", + "blob_sha": "3b4826d78d776d0e6ecc27f80b13b997a5958f63", "commits": [], - "end_line": 36, - "id": "E2", + "end_line": 28, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/ServerBootstrap.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/JobSchedulerService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 36 + "start_line": 28 }, { - "blob_sha": "52c0b8367736f3c21ba549c44337d15654b39a3d", + "blob_sha": "3b4826d78d776d0e6ecc27f80b13b997a5958f63", "commits": [], - "end_line": 22, - "id": "E3", + "end_line": 29, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/DiskJournalPreflightCheck.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/JobSchedulerService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bootstrap" - }, - { - "count": 9, - "dst": "M:graylog2-server/src/main/java/org/graylog2/audit", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bootstrap->M:graylog2-server/src/main/java/org/graylog2/audit", - "kind": "uses", - "refs": [ + "start_line": 29 + }, { - "blob_sha": "ff2e206d42abc3ce24d1dc5ffe1bdcfb457eeb07", + "blob_sha": "44949f025a65844172ffb17f737d703182a69e18", "commits": [], - "end_line": 37, - "id": "E1", + "end_line": 26, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/ServerBootstrap.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/UserJobSchedulerService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 + "start_line": 26 }, { - "blob_sha": "ff2e206d42abc3ce24d1dc5ffe1bdcfb457eeb07", + "blob_sha": "b699ad8a0ac58958d3ba2277ad8dd6a47cc422c4", "commits": [], - "end_line": 38, - "id": "E2", + "end_line": 19, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/ServerBootstrap.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/capabilities/ServerNodeCapabilitiesModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 38 + "start_line": 19 }, { - "blob_sha": "ff2e206d42abc3ce24d1dc5ffe1bdcfb457eeb07", + "blob_sha": "d23c41fa0aa07d82612ce929ac44eaad4a4b997b", "commits": [], - "end_line": 99, - "id": "E3", + "end_line": 22, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/ServerBootstrap.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/periodicals/ScheduleTriggerCleanUp.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 99 + "start_line": 22 + }, + { + "blob_sha": "f290ae4716059920f35e75704781d86454203da8", + "commits": [], + "end_line": 20, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/system/SystemJobContext.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bootstrap" + "src": "M:graylog2-server/src/main/java/org/graylog/scheduler" }, { - "count": 5, - "dst": "M:graylog2-server/src/main/java/org/graylog2/bindings", + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bootstrap->M:graylog2-server/src/main/java/org/graylog2/bindings", + "id": "M:graylog2-server/src/main/java/org/graylog/scheduler->M:graylog2-server/src/main/java/org/graylog2/rest", "kind": "uses", "refs": [ { - "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "blob_sha": "fd5caf6d48ded844de5de39d49a78d14c46a08a1", "commits": [], - "end_line": 60, + "end_line": 22, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/rest/JobResourceHandlerService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 60 + "start_line": 22 }, { - "blob_sha": "ff2e206d42abc3ce24d1dc5ffe1bdcfb457eeb07", + "blob_sha": "deba888c5f3e28ec60844968d048863221ee497d", "commits": [], - "end_line": 39, + "end_line": 30, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/ServerBootstrap.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 39 - }, - { - "blob_sha": "ff2e206d42abc3ce24d1dc5ffe1bdcfb457eeb07", - "commits": [], - "end_line": 40, - "id": "E3", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/ServerBootstrap.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/system/SystemJobManager.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 40 + "start_line": 30 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bootstrap" + "src": "M:graylog2-server/src/main/java/org/graylog/scheduler" }, { - "count": 19, - "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bootstrap->M:graylog2-server/src/main/java/org/graylog2/cluster", + "id": "M:graylog2-server/src/main/java/org/graylog/scheduler->M:graylog2-server/src/main/java/org/graylog2/shared", "kind": "uses", "refs": [ { - "blob_sha": "ff2e206d42abc3ce24d1dc5ffe1bdcfb457eeb07", + "blob_sha": "ef0289ceafd6c126a5cce711ed66c9d7d1243640", "commits": [], - "end_line": 48, + "end_line": 40, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/ServerBootstrap.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/JobExecutionEngine.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 48 + "start_line": 40 }, { - "blob_sha": "ff2e206d42abc3ce24d1dc5ffe1bdcfb457eeb07", + "blob_sha": "deba888c5f3e28ec60844968d048863221ee497d", "commits": [], - "end_line": 49, + "end_line": 43, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/ServerBootstrap.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/system/SystemJobManager.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 49 + "start_line": 43 }, { - "blob_sha": "eea2521c8a943ed13e4f38c8d0e101fc33d168b5", + "blob_sha": "35293278111da063fd98f7d988883ee15ce4f8ed", "commits": [], - "end_line": 22, + "end_line": 39, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/GraylogCertificateProvisionerImpl.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/system/SystemJobSchedulerService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 39 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bootstrap" + "src": "M:graylog2-server/src/main/java/org/graylog/scheduler" }, { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/commands", + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog2/system", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bootstrap->M:graylog2-server/src/main/java/org/graylog2/commands", + "id": "M:graylog2-server/src/main/java/org/graylog/scheduler->M:graylog2-server/src/main/java/org/graylog2/system", "kind": "uses", "refs": [ { - "blob_sha": "ff2e206d42abc3ce24d1dc5ffe1bdcfb457eeb07", + "blob_sha": "3b4826d78d776d0e6ecc27f80b13b997a5958f63", "commits": [], - "end_line": 50, + "end_line": 30, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/ServerBootstrap.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/JobSchedulerService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 50 + "start_line": 30 }, { - "blob_sha": "8587c31e9cb199988ab38a40ac2aceef37a08482", + "blob_sha": "3b4826d78d776d0e6ecc27f80b13b997a5958f63", "commits": [], - "end_line": 20, + "end_line": 31, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/commands/MigrateCmd.java", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/JobSchedulerService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 31 + }, + { + "blob_sha": "44949f025a65844172ffb17f737d703182a69e18", + "commits": [], + "end_line": 27, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/UserJobSchedulerService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "35293278111da063fd98f7d988883ee15ce4f8ed", + "commits": [], + "end_line": 33, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/scheduler/system/SystemJobSchedulerService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bootstrap" + "src": "M:graylog2-server/src/main/java/org/graylog/scheduler" }, { - "count": 8, - "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog/collectors", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bootstrap->M:graylog2-server/src/main/java/org/graylog2/configuration", + "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog/collectors", "kind": "uses", "refs": [ { - "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "blob_sha": "a63a03ad1ec9e533dff9bce7c8e204166428e387", "commits": [], - "end_line": 62, + "end_line": 21, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "path": "graylog2-server/src/main/java/org/graylog/security/pki/jwks/JwksService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 62 + "start_line": 21 }, { - "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "blob_sha": "a63a03ad1ec9e533dff9bce7c8e204166428e387", "commits": [], - "end_line": 63, + "end_line": 22, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "path": "graylog2-server/src/main/java/org/graylog/security/pki/jwks/JwksService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 63 + "start_line": 22 }, { - "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "blob_sha": "a63a03ad1ec9e533dff9bce7c8e204166428e387", "commits": [], - "end_line": 64, + "end_line": 23, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "path": "graylog2-server/src/main/java/org/graylog/security/pki/jwks/JwksService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 64 + "start_line": 23 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bootstrap" + "src": "M:graylog2-server/src/main/java/org/graylog/security" }, { - "count": 5, - "dst": "M:graylog2-server/src/main/java/org/graylog2/database", + "count": 52, + "dst": "M:graylog2-server/src/main/java/org/graylog/grn", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bootstrap->M:graylog2-server/src/main/java/org/graylog2/database", + "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog/grn", "kind": "uses", "refs": [ { - "blob_sha": "6fe1bd559852868f54cbfbca28190db5bd5acf51", + "blob_sha": "4326c19da4ba6147fd1feae449d534ff7339052a", "commits": [], - "end_line": 30, + "end_line": 21, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/MongoDBPreflightCheck.java", + "path": "graylog2-server/src/main/java/org/graylog/security/CapabilityDescriptor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 + "start_line": 21 }, { - "blob_sha": "6fe1bd559852868f54cbfbca28190db5bd5acf51", + "blob_sha": "e88bb285979868d7370a6aa3516c2d916ebef6b4", "commits": [], - "end_line": 31, + "end_line": 24, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/MongoDBPreflightCheck.java", + "path": "graylog2-server/src/main/java/org/graylog/security/CapabilityRegistry.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 31 + "start_line": 24 }, { - "blob_sha": "6fe1bd559852868f54cbfbca28190db5bd5acf51", + "blob_sha": "e88bb285979868d7370a6aa3516c2d916ebef6b4", "commits": [], - "end_line": 32, + "end_line": 25, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/MongoDBPreflightCheck.java", + "path": "graylog2-server/src/main/java/org/graylog/security/CapabilityRegistry.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 32 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bootstrap" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/datanode", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bootstrap->M:graylog2-server/src/main/java/org/graylog2/datanode", - "kind": "uses", - "refs": [ + "start_line": 25 + }, { - "blob_sha": "4e9d014cba6692264466d7275387ed2c1e16346c", + "blob_sha": "3a6ef88b8138f55fe88e76f60f3da4e1617b8ae9", "commits": [], - "end_line": 54, - "id": "E1", + "end_line": 31, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/web/resources/PreflightResource.java", + "path": "graylog2-server/src/main/java/org/graylog/security/DBGrantService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 54 + "start_line": 31 }, { - "blob_sha": "4e9d014cba6692264466d7275387ed2c1e16346c", + "blob_sha": "3a6ef88b8138f55fe88e76f60f3da4e1617b8ae9", "commits": [], - "end_line": 55, - "id": "E2", + "end_line": 32, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/web/resources/PreflightResource.java", + "path": "graylog2-server/src/main/java/org/graylog/security/DBGrantService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 55 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bootstrap" - }, - { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/events", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bootstrap->M:graylog2-server/src/main/java/org/graylog2/events", - "kind": "uses", - "refs": [ + "start_line": 32 + }, { - "blob_sha": "5560dc8142c935c67b315483c6faa9e217272c9a", + "blob_sha": "094dece89a6b1c61737b57d46b78415f1546d777", "commits": [], - "end_line": 40, - "id": "E1", + "end_line": 22, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/PreflightWebModule.java", + "path": "graylog2-server/src/main/java/org/graylog/security/DefaultPermissionAndRoleResolver.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 40 + "start_line": 22 }, { - "blob_sha": "5560dc8142c935c67b315483c6faa9e217272c9a", + "blob_sha": "e21d98cea0c76af2a4a1eac2d1875561a3c17b2f", "commits": [], - "end_line": 41, - "id": "E2", + "end_line": 25, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/PreflightWebModule.java", + "path": "graylog2-server/src/main/java/org/graylog/security/GrantDTO.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 41 + "start_line": 25 }, { - "blob_sha": "5560dc8142c935c67b315483c6faa9e217272c9a", + "blob_sha": "913d53264e584ecbcbf6b1e3eb81ba7407fc407a", "commits": [], - "end_line": 42, - "id": "E3", + "end_line": 24, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/PreflightWebModule.java", + "path": "graylog2-server/src/main/java/org/graylog/security/GranteeAuthorizer.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 42 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bootstrap" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/featureflag", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bootstrap->M:graylog2-server/src/main/java/org/graylog2/featureflag", - "kind": "uses", - "refs": [ + "start_line": 24 + }, { - "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "blob_sha": "913d53264e584ecbcbf6b1e3eb81ba7407fc407a", "commits": [], - "end_line": 65, - "id": "E1", + "end_line": 25, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "path": "graylog2-server/src/main/java/org/graylog/security/GranteeAuthorizer.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 65 + "start_line": 25 }, { - "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "blob_sha": "ce580ad9024c785b42a0bc18812711e9d28bbada", "commits": [], - "end_line": 66, - "id": "E2", + "end_line": 20, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "path": "graylog2-server/src/main/java/org/graylog/security/PermissionAndRoleResolver.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 66 + "start_line": 20 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bootstrap" + "src": "M:graylog2-server/src/main/java/org/graylog/security" }, { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", + "count": 16, + "dst": "M:graylog2-server/src/main/java/org/graylog/scheduler", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bootstrap->M:graylog2-server/src/main/java/org/graylog2/indexer", + "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog/scheduler", "kind": "uses", "refs": [ { - "blob_sha": "ff2e206d42abc3ce24d1dc5ffe1bdcfb457eeb07", + "blob_sha": "ccba762fb5878934b1c1e894fc38056778f6d330", "commits": [], - "end_line": 52, + "end_line": 21, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/ServerBootstrap.java", + "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CertRenewalServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 52 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bootstrap" - }, - { - "count": 5, - "dst": "M:graylog2-server/src/main/java/org/graylog2/migrations", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bootstrap->M:graylog2-server/src/main/java/org/graylog2/migrations", - "kind": "uses", - "refs": [ + "start_line": 21 + }, { - "blob_sha": "ff2e206d42abc3ce24d1dc5ffe1bdcfb457eeb07", + "blob_sha": "ccba762fb5878934b1c1e894fc38056778f6d330", "commits": [], - "end_line": 53, - "id": "E1", + "end_line": 22, + "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/ServerBootstrap.java", + "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CertRenewalServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 53 + "start_line": 22 }, { - "blob_sha": "ff2e206d42abc3ce24d1dc5ffe1bdcfb457eeb07", + "blob_sha": "ccba762fb5878934b1c1e894fc38056778f6d330", "commits": [], - "end_line": 54, - "id": "E2", + "end_line": 23, + "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/ServerBootstrap.java", + "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CertRenewalServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 54 + "start_line": 23 }, { - "blob_sha": "8587c31e9cb199988ab38a40ac2aceef37a08482", + "blob_sha": "0707d2615545476a86b0ad5c99e36e6cd541a772", "commits": [], - "end_line": 21, - "id": "E3", + "end_line": 23, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/commands/MigrateCmd.java", + "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CheckForCertRenewalJob.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bootstrap" - }, - { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/notifications", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bootstrap->M:graylog2-server/src/main/java/org/graylog2/notifications", - "kind": "uses", - "refs": [ + "start_line": 23 + }, { - "blob_sha": "731f0a44b2c54dd49fb0b38fb6216abf71f29d9c", + "blob_sha": "0707d2615545476a86b0ad5c99e36e6cd541a772", "commits": [], - "end_line": 21, - "id": "E1", + "end_line": 24, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/NullNotificationService.java", + "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CheckForCertRenewalJob.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 24 }, { - "blob_sha": "731f0a44b2c54dd49fb0b38fb6216abf71f29d9c", + "blob_sha": "0707d2615545476a86b0ad5c99e36e6cd541a772", "commits": [], - "end_line": 22, - "id": "E2", + "end_line": 25, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/NullNotificationService.java", + "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CheckForCertRenewalJob.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 25 }, { - "blob_sha": "5560dc8142c935c67b315483c6faa9e217272c9a", + "blob_sha": "0707d2615545476a86b0ad5c99e36e6cd541a772", "commits": [], - "end_line": 46, - "id": "E3", + "end_line": 26, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/PreflightWebModule.java", + "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CheckForCertRenewalJob.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 46 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bootstrap" - }, - { - "count": 38, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bootstrap->M:graylog2-server/src/main/java/org/graylog2/plugin", - "kind": "uses", - "refs": [ + "start_line": 26 + }, { - "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "blob_sha": "0707d2615545476a86b0ad5c99e36e6cd541a772", "commits": [], - "end_line": 67, - "id": "E1", + "end_line": 27, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CheckForCertRenewalJob.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 67 + "start_line": 27 }, { - "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "blob_sha": "0707d2615545476a86b0ad5c99e36e6cd541a772", "commits": [], - "end_line": 68, - "id": "E2", + "end_line": 28, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CheckForCertRenewalJob.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 68 + "start_line": 28 }, { - "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "blob_sha": "0707d2615545476a86b0ad5c99e36e6cd541a772", "commits": [], - "end_line": 69, - "id": "E3", + "end_line": 29, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CheckForCertRenewalJob.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 69 + "start_line": 29 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bootstrap" + "src": "M:graylog2-server/src/main/java/org/graylog/security" }, { "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", + "dst": "M:graylog2-server/src/main/java/org/graylog/util", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bootstrap->M:graylog2-server/src/main/java/org/graylog2/rest", + "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog/util", "kind": "uses", "refs": [ { - "blob_sha": "1a032b52bde9388e6ee1373b51fe1724cdef0ba5", + "blob_sha": "f79e037a279272aee7a8f869863f2cfdc2ddc03e", "commits": [], - "end_line": 45, + "end_line": 26, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/PreflightJerseyService.java", + "path": "graylog2-server/src/main/java/org/graylog/security/UserContext.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 45 + "start_line": 26 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bootstrap" + "src": "M:graylog2-server/src/main/java/org/graylog/security" }, { - "count": 7, - "dst": "M:graylog2-server/src/main/java/org/graylog2/security", + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bootstrap->M:graylog2-server/src/main/java/org/graylog2/security", + "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog2/(root)", "kind": "uses", "refs": [ { - "blob_sha": "199c905c4313511f90efb0d0e035c4d951865d09", + "blob_sha": "632dc2a1153d5c25c4360d26f920c8d6af276ba3", "commits": [], - "end_line": 22, + "end_line": 31, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/PasswordSecretPreflightCheck.java", + "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CaPersistenceService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 - }, - { - "blob_sha": "199c905c4313511f90efb0d0e035c4d951865d09", - "commits": [], - "end_line": 23, - "id": "E2", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/PasswordSecretPreflightCheck.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 - }, - { - "blob_sha": "2ef5f91f4b3c81fa26481e44ce45b5ef3eb03d7a", - "commits": [], - "end_line": 19, - "id": "E3", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/PreflightEncryptedSecret.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 31 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bootstrap" + "src": "M:graylog2-server/src/main/java/org/graylog/security" }, { - "count": 37, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "count": 17, + "dst": "M:graylog2-server/src/main/java/org/graylog2/audit", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bootstrap->M:graylog2-server/src/main/java/org/graylog2/shared", + "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog2/audit", "kind": "uses", "refs": [ { - "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "blob_sha": "faf77729d04eef2a07ae7eac6f82073928699206", "commits": [], - "end_line": 75, + "end_line": 20, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "path": "graylog2-server/src/main/java/org/graylog/security/SecurityAuditEventTypes.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 75 + "start_line": 20 }, { - "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "blob_sha": "486f73ec1d2dbd8488fd56c9f9e4d24711deb7fc", "commits": [], - "end_line": 76, + "end_line": 52, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/rest/AuthServiceBackendsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 76 + "start_line": 52 }, { - "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "blob_sha": "037071e824cb020095c1b10bd734660c45d533aa", "commits": [], - "end_line": 77, + "end_line": 35, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/rest/AuthServiceTestResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 77 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bootstrap" - }, - { - "count": 14, - "dst": "M:graylog2-server/src/main/java/org/graylog2/storage", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bootstrap->M:graylog2-server/src/main/java/org/graylog2/storage", - "kind": "uses", - "refs": [ + "start_line": 35 + }, { - "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "blob_sha": "581090c45976e93168e1bbb66a6a5c926d0b9ac8", "commits": [], - "end_line": 84, - "id": "E1", + "end_line": 35, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/rest/GlobalAuthServiceConfigResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 84 + "start_line": 35 }, { - "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "blob_sha": "308ae9c171acc57e8709e09b1f1a58f71413cee0", "commits": [], - "end_line": 85, - "id": "E2", + "end_line": 23, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/rest/HTTPHeaderAuthenticationConfigResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 85 + "start_line": 23 }, { - "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "blob_sha": "308ae9c171acc57e8709e09b1f1a58f71413cee0", "commits": [], - "end_line": 86, - "id": "E3", + "end_line": 24, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/rest/HTTPHeaderAuthenticationConfigResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 86 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bootstrap" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/web", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/bootstrap->M:graylog2-server/src/main/java/org/graylog2/web", - "kind": "uses", - "refs": [ + "start_line": 24 + }, { - "blob_sha": "5560dc8142c935c67b315483c6faa9e217272c9a", + "blob_sha": "4996d9a4672e9e2fbbb77eab5d76b65dd0206d3a", "commits": [], - "end_line": 52, - "id": "E1", + "end_line": 44, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/PreflightWebModule.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authzroles/AuthzRolesResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 52 + "start_line": 44 }, { - "blob_sha": "f1587071b242b7758f126182f03bda0253a06cbf", + "blob_sha": "4996d9a4672e9e2fbbb77eab5d76b65dd0206d3a", "commits": [], - "end_line": 34, - "id": "E2", + "end_line": 45, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/web/resources/PreflightAssetsResource.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authzroles/AuthzRolesResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 34 + "start_line": 45 + }, + { + "blob_sha": "4996d9a4672e9e2fbbb77eab5d76b65dd0206d3a", + "commits": [], + "end_line": 46, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/security/authzroles/AuthzRolesResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 46 + }, + { + "blob_sha": "4996d9a4672e9e2fbbb77eab5d76b65dd0206d3a", + "commits": [], + "end_line": 47, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/security/authzroles/AuthzRolesResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 47 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/bootstrap" + "src": "M:graylog2-server/src/main/java/org/graylog/security" }, { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", + "count": 12, + "dst": "M:graylog2-server/src/main/java/org/graylog2/bootstrap", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/buffers->M:graylog2-server/src/main/java/org/graylog2/(root)", + "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog2/bootstrap", "kind": "uses", "refs": [ { - "blob_sha": "503a7047ffe70377819755f445c5f85f7b03fbe1", + "blob_sha": "6de8cdc03a8a90ee136cd1c87b3801ee508d8789", "commits": [], - "end_line": 31, + "end_line": 26, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/buffers/processors/OutputBufferProcessor.java", + "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CaKeystore.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 31 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/buffers" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/outputs", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/buffers->M:graylog2-server/src/main/java/org/graylog2/outputs", - "kind": "uses", - "refs": [ + "start_line": 26 + }, { - "blob_sha": "503a7047ffe70377819755f445c5f85f7b03fbe1", + "blob_sha": "632dc2a1153d5c25c4360d26f920c8d6af276ba3", "commits": [], "end_line": 32, - "id": "E1", + "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/buffers/processors/OutputBufferProcessor.java", + "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CaPersistenceService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 32 }, { - "blob_sha": "503a7047ffe70377819755f445c5f85f7b03fbe1", + "blob_sha": "632dc2a1153d5c25c4360d26f920c8d6af276ba3", "commits": [], "end_line": 33, - "id": "E2", + "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/buffers/processors/OutputBufferProcessor.java", + "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CaPersistenceService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 33 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/buffers" - }, - { - "count": 11, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/buffers->M:graylog2-server/src/main/java/org/graylog2/plugin", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "444af09a2625eca9bab50f09e358db40ba669d0a", + "blob_sha": "440c3ceef724d262c65f77540ffaf564e0265207", "commits": [], "end_line": 25, - "id": "E1", + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/buffers/Buffers.java", + "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CertutilCa.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 25 }, { - "blob_sha": "444af09a2625eca9bab50f09e358db40ba669d0a", + "blob_sha": "7882c3ed62b69beb99349d2da31ad720554f69fb", "commits": [], - "end_line": 26, - "id": "E2", + "end_line": 25, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/buffers/Buffers.java", + "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CertutilCert.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 25 }, { - "blob_sha": "e97b03ec23f0460b14da49e60a652933bb6da7c0", + "blob_sha": "b5ff3e326c64c2390cf17f54bd361d70d63dd6e8", "commits": [], - "end_line": 32, - "id": "E3", + "end_line": 29, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/buffers/OutputBuffer.java", + "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CertutilCsr.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 32 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/buffers" - }, - { - "count": 6, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/buffers->M:graylog2-server/src/main/java/org/graylog2/shared", - "kind": "uses", - "refs": [ + "start_line": 29 + }, { - "blob_sha": "444af09a2625eca9bab50f09e358db40ba669d0a", + "blob_sha": "4d25ec5c9724e51162af333bfee898c07ec1e11b", "commits": [], "end_line": 27, - "id": "E1", + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/buffers/Buffers.java", + "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CertutilCsrSign.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 27 }, { - "blob_sha": "e97b03ec23f0460b14da49e60a652933bb6da7c0", + "blob_sha": "c918706a34625a980e61f7af0ac82282245a37e8", "commits": [], - "end_line": 36, - "id": "E2", + "end_line": 31, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/buffers/OutputBuffer.java", + "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CertutilHttp.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 36 + "start_line": 31 }, { - "blob_sha": "e97b03ec23f0460b14da49e60a652933bb6da7c0", + "blob_sha": "429f7a27d440c9f0b5fe8487edc72c177555b902", "commits": [], - "end_line": 37, - "id": "E3", + "end_line": 23, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/buffers/OutputBuffer.java", + "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CertutilTruststore.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/buffers" - }, - { - "count": 1, - "dst": "M:graylog2-web-interface/src/components", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/buffers->M:graylog2-web-interface/src/components", - "kind": "uses", - "refs": [ + "start_line": 23 + }, { - "blob_sha": "503a7047ffe70377819755f445c5f85f7b03fbe1", + "blob_sha": "8fb390bc3e5eadb1c0f4ba33a2e03376276d4bed", "commits": [], - "end_line": 23, - "id": "E1", + "end_line": 43, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/buffers/processors/OutputBufferProcessor.java", + "path": "graylog2-server/src/main/java/org/graylog/security/rest/CAResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 43 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/buffers" + "src": "M:graylog2-server/src/main/java/org/graylog/security" }, { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog/security", + "count": 9, + "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/cluster->M:graylog2-server/src/main/java/org/graylog/security", + "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog2/cluster", "kind": "uses", "refs": [ { - "blob_sha": "108690843c429156279dcdcbd35fc2508fa6aa94", + "blob_sha": "6de8cdc03a8a90ee136cd1c87b3801ee508d8789", "commits": [], - "end_line": 19, + "end_line": 27, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/cluster/certificates/CertificateExchange.java", + "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CaKeystore.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 27 }, { - "blob_sha": "098a54abffedd5c620750b038ffbc65a2f8a7e35", + "blob_sha": "632dc2a1153d5c25c4360d26f920c8d6af276ba3", "commits": [], - "end_line": 37, + "end_line": 34, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/cluster/certificates/CertificateExchangeImpl.java", + "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CaPersistenceService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 + "start_line": 34 }, { - "blob_sha": "2755f214a047bc870ceddf05949651cf1a669128", + "blob_sha": "0b0d282400a69f68d21f3e7f6eb63c87b20728d8", "commits": [], - "end_line": 27, + "end_line": 19, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/cluster/nodes/DataNodeDto.java", + "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CertRenewalService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/cluster" - }, - { - "count": 6, - "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/cluster->M:graylog2-server/src/main/java/org/graylog2/(root)", - "kind": "uses", - "refs": [ + "start_line": 19 + }, { - "blob_sha": "c4b6edb3a19f052da9d76259de72ca9e54efda27", + "blob_sha": "ccba762fb5878934b1c1e894fc38056778f6d330", "commits": [], - "end_line": 21, - "id": "E1", + "end_line": 24, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/cluster/leader/AutomaticLeaderElectionService.java", + "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CertRenewalServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 24 }, { - "blob_sha": "e335cbedbad0ecc7e1c96ead070bfc44f5c84acc", + "blob_sha": "ccba762fb5878934b1c1e894fc38056778f6d330", "commits": [], - "end_line": 20, - "id": "E2", + "end_line": 25, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/cluster/leader/LeaderElectionModule.java", + "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CertRenewalServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 25 }, { - "blob_sha": "f74192c20fbc3c57bce1037b7c66b2e53a71883d", + "blob_sha": "ccba762fb5878934b1c1e894fc38056778f6d330", "commits": [], - "end_line": 20, - "id": "E3", + "end_line": 26, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/cluster/leader/StaticLeaderElectionService.java", + "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CertRenewalServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/cluster" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/bindings", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/cluster->M:graylog2-server/src/main/java/org/graylog2/bindings", - "kind": "uses", - "refs": [ + "start_line": 26 + }, { - "blob_sha": "6c82fc154a0ac42778d18a78d9cfd5ba120af66e", + "blob_sha": "f1194761ff73cc2d0415557dfa995123b77d1410", "commits": [], - "end_line": 30, - "id": "E1", + "end_line": 26, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/cluster/ClusterConfigServiceImpl.java", + "path": "graylog2-server/src/main/java/org/graylog/security/certutil/ClientCertSslContextFactoryImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/cluster" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/bootstrap", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/cluster->M:graylog2-server/src/main/java/org/graylog2/bootstrap", - "kind": "uses", - "refs": [ + "start_line": 26 + }, { - "blob_sha": "e257e95e5646ceab385e00364e68a95d7adfea60", + "blob_sha": "cf707c323a8b85216aaf239508b8a2ed62aa1329", "commits": [], - "end_line": 20, - "id": "E1", + "end_line": 36, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/cluster/preflight/GraylogServerProvisioningBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/security/certutil/csr/ClientCertGenerator.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 36 }, { - "blob_sha": "e257e95e5646ceab385e00364e68a95d7adfea60", + "blob_sha": "04b8a95724f72d7c5784cee71e8dcdd67bd1d5b0", "commits": [], - "end_line": 21, - "id": "E2", + "end_line": 32, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/cluster/preflight/GraylogServerProvisioningBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/security/rest/CertificateRenewalResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 32 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/cluster" + "src": "M:graylog2-server/src/main/java/org/graylog/security" }, { "count": 2, "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/cluster->M:graylog2-server/src/main/java/org/graylog2/configuration", + "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog2/configuration", "kind": "uses", "refs": [ { - "blob_sha": "f940a7c1ff1f00cd989eadb89d4a456b302bdd85", + "blob_sha": "f3d4449b4cefe82021f7859e64079e34147ae778", "commits": [], - "end_line": 26, + "end_line": 51, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/cluster/nodes/mongodb/DefaultMongodbConnectionResolver.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/ldap/UnboundLDAPConnector.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 51 }, { - "blob_sha": "e257e95e5646ceab385e00364e68a95d7adfea60", + "blob_sha": "7d04499a165107c56a1f47cac11e8dbd5f7fe62a", "commits": [], - "end_line": 24, + "end_line": 30, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/cluster/preflight/GraylogServerProvisioningBindings.java", + "path": "graylog2-server/src/main/java/org/graylog/security/rest/CertificatesResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 30 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/cluster" + "src": "M:graylog2-server/src/main/java/org/graylog/security" }, { - "count": 29, - "dst": "M:graylog2-server/src/main/java/org/graylog2/database", + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog2/contentpacks", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/cluster->M:graylog2-server/src/main/java/org/graylog2/database", + "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog2/contentpacks", "kind": "uses", "refs": [ { - "blob_sha": "e7b26a43741a54a1dc94917ad29928ecccb442cd", + "blob_sha": "898d7eefc689acfc98d381847dbc60c52ee86410", "commits": [], - "end_line": 23, + "end_line": 28, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/cluster/ClusterConfig.java", + "path": "graylog2-server/src/main/java/org/graylog/security/entities/DefaultEntityDependencyResolver.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 28 }, { - "blob_sha": "6c82fc154a0ac42778d18a78d9cfd5ba120af66e", + "blob_sha": "898d7eefc689acfc98d381847dbc60c52ee86410", "commits": [], - "end_line": 31, + "end_line": 29, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/cluster/ClusterConfigServiceImpl.java", + "path": "graylog2-server/src/main/java/org/graylog/security/entities/DefaultEntityDependencyResolver.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 31 + "start_line": 29 }, { - "blob_sha": "6c82fc154a0ac42778d18a78d9cfd5ba120af66e", + "blob_sha": "898d7eefc689acfc98d381847dbc60c52ee86410", "commits": [], - "end_line": 32, + "end_line": 30, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/cluster/ClusterConfigServiceImpl.java", + "path": "graylog2-server/src/main/java/org/graylog/security/entities/DefaultEntityDependencyResolver.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 32 + "start_line": 30 + }, + { + "blob_sha": "898d7eefc689acfc98d381847dbc60c52ee86410", + "commits": [], + "end_line": 31, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/security/entities/DefaultEntityDependencyResolver.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/cluster" + "src": "M:graylog2-server/src/main/java/org/graylog/security" }, { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/datanode", + "count": 27, + "dst": "M:graylog2-server/src/main/java/org/graylog2/database", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/cluster->M:graylog2-server/src/main/java/org/graylog2/datanode", + "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog2/database", "kind": "uses", "refs": [ { - "blob_sha": "2755f214a047bc870ceddf05949651cf1a669128", + "blob_sha": "3a6ef88b8138f55fe88e76f60f3da4e1617b8ae9", "commits": [], - "end_line": 30, + "end_line": 24, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/cluster/nodes/DataNodeDto.java", + "path": "graylog2-server/src/main/java/org/graylog/security/DBGrantService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 + "start_line": 24 }, { - "blob_sha": "653a90e36cc08729132aefe3a1a94a15ac0e4e9b", + "blob_sha": "3a6ef88b8138f55fe88e76f60f3da4e1617b8ae9", "commits": [], - "end_line": 22, + "end_line": 33, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/cluster/nodes/OpensearchVersionsOverview.java", + "path": "graylog2-server/src/main/java/org/graylog/security/DBGrantService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/cluster" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/events", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/cluster->M:graylog2-server/src/main/java/org/graylog2/events", - "kind": "uses", - "refs": [ + "start_line": 33 + }, { - "blob_sha": "6c82fc154a0ac42778d18a78d9cfd5ba120af66e", + "blob_sha": "3a6ef88b8138f55fe88e76f60f3da4e1617b8ae9", "commits": [], "end_line": 34, - "id": "E1", + "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/cluster/ClusterConfigServiceImpl.java", + "path": "graylog2-server/src/main/java/org/graylog/security/DBGrantService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 34 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/cluster" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/cluster->M:graylog2-server/src/main/java/org/graylog2/indexer", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "4eaf89ce5f5d798bf4e029b614f005789de3fe54", + "blob_sha": "e21d98cea0c76af2a4a1eac2d1875561a3c17b2f", "commits": [], - "end_line": 24, - "id": "E1", + "end_line": 26, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/cluster/nodes/opensearch/OpensearchNodesProvider.java", + "path": "graylog2-server/src/main/java/org/graylog/security/GrantDTO.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 26 }, { - "blob_sha": "4eaf89ce5f5d798bf4e029b614f005789de3fe54", + "blob_sha": "24c35c3556454bb40567676731d15bca30377093", "commits": [], - "end_line": 25, - "id": "E2", + "end_line": 26, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/cluster/nodes/opensearch/OpensearchNodesProvider.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/AuthServiceBackendDTO.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/cluster" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/periodical", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/cluster->M:graylog2-server/src/main/java/org/graylog2/periodical", - "kind": "uses", - "refs": [ + "start_line": 26 + }, { - "blob_sha": "c4b6edb3a19f052da9d76259de72ca9e54efda27", + "blob_sha": "836943efe59b2fdfcdb27d7e764830d1d6f593c7", "commits": [], - "end_line": 24, - "id": "E1", + "end_line": 28, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/cluster/leader/AutomaticLeaderElectionService.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/DBAuthServiceBackendService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/cluster" - }, - { - "count": 16, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/cluster->M:graylog2-server/src/main/java/org/graylog2/plugin", - "kind": "uses", - "refs": [ + "start_line": 28 + }, { - "blob_sha": "6c82fc154a0ac42778d18a78d9cfd5ba120af66e", + "blob_sha": "836943efe59b2fdfcdb27d7e764830d1d6f593c7", "commits": [], - "end_line": 35, - "id": "E1", + "end_line": 29, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/cluster/ClusterConfigServiceImpl.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/DBAuthServiceBackendService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 35 + "start_line": 29 }, { - "blob_sha": "6c82fc154a0ac42778d18a78d9cfd5ba120af66e", + "blob_sha": "836943efe59b2fdfcdb27d7e764830d1d6f593c7", "commits": [], - "end_line": 36, - "id": "E2", + "end_line": 30, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/cluster/ClusterConfigServiceImpl.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/DBAuthServiceBackendService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 36 + "start_line": 30 }, { - "blob_sha": "6ca421c83b2395caa88d2ad71dad11db8a0eaab0", + "blob_sha": "836943efe59b2fdfcdb27d7e764830d1d6f593c7", "commits": [], - "end_line": 20, - "id": "E3", + "end_line": 31, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/cluster/NodeService.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/DBAuthServiceBackendService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/cluster" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/search", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/cluster->M:graylog2-server/src/main/java/org/graylog2/search", - "kind": "uses", - "refs": [ + "start_line": 31 + }, { - "blob_sha": "a03f8d1a606edb664d3b650c3233f39147fa79ae", + "blob_sha": "836943efe59b2fdfcdb27d7e764830d1d6f593c7", "commits": [], - "end_line": 24, - "id": "E1", + "end_line": 32, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/cluster/nodes/AbstractPaginatedNodeService.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/DBAuthServiceBackendService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 32 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/cluster" + "src": "M:graylog2-server/src/main/java/org/graylog/security" }, { - "count": 6, - "dst": "M:graylog2-server/src/main/java/org/graylog2/security", + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/datanode", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/cluster->M:graylog2-server/src/main/java/org/graylog2/security", + "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog2/datanode", "kind": "uses", "refs": [ { - "blob_sha": "6c82fc154a0ac42778d18a78d9cfd5ba120af66e", + "blob_sha": "04b8a95724f72d7c5784cee71e8dcdd67bd1d5b0", "commits": [], - "end_line": 37, + "end_line": 33, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/cluster/ClusterConfigServiceImpl.java", + "path": "graylog2-server/src/main/java/org/graylog/security/rest/CertificateRenewalResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 + "start_line": 33 }, { - "blob_sha": "6c82fc154a0ac42778d18a78d9cfd5ba120af66e", + "blob_sha": "04b8a95724f72d7c5784cee71e8dcdd67bd1d5b0", "commits": [], - "end_line": 38, + "end_line": 34, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/cluster/ClusterConfigServiceImpl.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 38 - }, - { - "blob_sha": "098a54abffedd5c620750b038ffbc65a2f8a7e35", - "commits": [], - "end_line": 39, - "id": "E3", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/cluster/certificates/CertificateExchangeImpl.java", + "path": "graylog2-server/src/main/java/org/graylog/security/rest/CertificateRenewalResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 39 + "start_line": 34 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/cluster" + "src": "M:graylog2-server/src/main/java/org/graylog/security" }, { - "count": 7, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/events", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/cluster->M:graylog2-server/src/main/java/org/graylog2/shared", + "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog2/events", "kind": "uses", "refs": [ { - "blob_sha": "6c82fc154a0ac42778d18a78d9cfd5ba120af66e", + "blob_sha": "836943efe59b2fdfcdb27d7e764830d1d6f593c7", "commits": [], - "end_line": 39, + "end_line": 33, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/cluster/ClusterConfigServiceImpl.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/DBAuthServiceBackendService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 39 + "start_line": 33 }, { - "blob_sha": "f0e5ab9a865d567f58263e1a79b1ef285ee576f7", + "blob_sha": "632dc2a1153d5c25c4360d26f920c8d6af276ba3", "commits": [], - "end_line": 22, + "end_line": 35, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/cluster/Node.java", + "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CaPersistenceService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 - }, + "start_line": 35 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog/security" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog2/indexer", + "kind": "uses", + "refs": [ { - "blob_sha": "73dfcab74c5ebfe5ec9e24d3d3631caa787923a1", + "blob_sha": "cf707c323a8b85216aaf239508b8a2ed62aa1329", "commits": [], - "end_line": 23, - "id": "E3", + "end_line": 37, + "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/cluster/NodeServiceImpl.java", + "path": "graylog2-server/src/main/java/org/graylog/security/certutil/csr/ClientCertGenerator.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 37 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/cluster" + "src": "M:graylog2-server/src/main/java/org/graylog/security" }, { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/system", + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/notifications", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/cluster->M:graylog2-server/src/main/java/org/graylog2/system", + "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog2/notifications", "kind": "uses", "refs": [ { - "blob_sha": "f940a7c1ff1f00cd989eadb89d4a456b302bdd85", + "blob_sha": "ccba762fb5878934b1c1e894fc38056778f6d330", "commits": [], "end_line": 27, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/cluster/nodes/mongodb/DefaultMongodbConnectionResolver.java", + "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CertRenewalServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 27 }, { - "blob_sha": "f940a7c1ff1f00cd989eadb89d4a456b302bdd85", + "blob_sha": "ccba762fb5878934b1c1e894fc38056778f6d330", "commits": [], "end_line": 28, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/cluster/nodes/mongodb/DefaultMongodbConnectionResolver.java", + "path": "graylog2-server/src/main/java/org/graylog/security/certutil/CertRenewalServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 28 - }, - { - "blob_sha": "4eaf89ce5f5d798bf4e029b614f005789de3fe54", - "commits": [], - "end_line": 26, - "id": "E3", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/cluster/nodes/opensearch/OpensearchNodesProvider.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/cluster" + "src": "M:graylog2-server/src/main/java/org/graylog/security" }, { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/utilities", + "count": 53, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/cluster->M:graylog2-server/src/main/java/org/graylog2/utilities", + "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog2/plugin", "kind": "uses", "refs": [ { - "blob_sha": "d7f8c1020701fa7d3bfd8154b2a4f2d9ab6d599d", + "blob_sha": "4326c19da4ba6147fd1feae449d534ff7339052a", "commits": [], - "end_line": 21, + "end_line": 22, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/cluster/nodes/mongodb/MongodbNode.java", + "path": "graylog2-server/src/main/java/org/graylog/security/CapabilityDescriptor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 22 }, { - "blob_sha": "d7f8c1020701fa7d3bfd8154b2a4f2d9ab6d599d", + "blob_sha": "e88bb285979868d7370a6aa3516c2d916ebef6b4", "commits": [], - "end_line": 22, + "end_line": 26, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/cluster/nodes/mongodb/MongodbNode.java", + "path": "graylog2-server/src/main/java/org/graylog/security/CapabilityRegistry.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 26 }, { - "blob_sha": "83d2d1260c4299c8330e5d6876559a3f091fb5b9", + "blob_sha": "e88bb285979868d7370a6aa3516c2d916ebef6b4", "commits": [], - "end_line": 21, + "end_line": 27, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/cluster/nodes/opensearch/OpensearchNode.java", + "path": "graylog2-server/src/main/java/org/graylog/security/CapabilityRegistry.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/cluster" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog/api", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog/api", - "kind": "uses", - "refs": [ + "start_line": 27 + }, { - "blob_sha": "beddad0394b85ddfab65caa927ee89b8cdd58869", + "blob_sha": "3a6ef88b8138f55fe88e76f60f3da4e1617b8ae9", "commits": [], - "end_line": 21, - "id": "E1", + "end_line": 35, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/ServerCommandsProvider.java", + "path": "graylog2-server/src/main/java/org/graylog/security/DBGrantService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/commands" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog/collectors", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog/collectors", - "kind": "uses", - "refs": [ + "start_line": 35 + }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "913d53264e584ecbcbf6b1e3eb81ba7407fc407a", "commits": [], - "end_line": 32, - "id": "E1", + "end_line": 26, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/GranteeAuthorizer.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 32 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/commands" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog/enterprise", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog/enterprise", - "kind": "uses", - "refs": [ + "start_line": 26 + }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "e69ce9172463f6914845ad4d45a4dfccae61977e", "commits": [], - "end_line": 33, - "id": "E1", + "end_line": 19, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/HasUser.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 33 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/commands" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog/events", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog/events", - "kind": "uses", - "refs": [ + "start_line": 19 + }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "d8ecb91ce027816bb7c1b0a790963119b169f24d", "commits": [], - "end_line": 34, - "id": "E1", + "end_line": 49, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/SecurityModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 34 + "start_line": 49 }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "f79e037a279272aee7a8f869863f2cfdc2ddc03e", "commits": [], - "end_line": 35, - "id": "E2", + "end_line": 27, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/UserContext.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 35 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/commands" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog/grn", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog/grn", - "kind": "uses", - "refs": [ + "start_line": 27 + }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "f79e037a279272aee7a8f869863f2cfdc2ddc03e", "commits": [], - "end_line": 36, - "id": "E1", + "end_line": 28, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/UserContext.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 36 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/commands" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog/mcp", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog/mcp", - "kind": "uses", - "refs": [ + "start_line": 28 + }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "3970961b2a6ede3c29a15a3bf286826562dc1af6", "commits": [], - "end_line": 37, - "id": "E1", + "end_line": 22, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/AuthServiceBackendConfig.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 + "start_line": 22 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + "src": "M:graylog2-server/src/main/java/org/graylog/security" }, { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog/metrics", + "count": 11, + "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog/metrics", + "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog2/rest", "kind": "uses", "refs": [ { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "836943efe59b2fdfcdb27d7e764830d1d6f593c7", "commits": [], - "end_line": 38, + "end_line": 34, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/DBAuthServiceBackendService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 38 + "start_line": 34 }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "836943efe59b2fdfcdb27d7e764830d1d6f593c7", "commits": [], - "end_line": 39, + "end_line": 35, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/DBAuthServiceBackendService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 39 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/commands" - }, - { - "count": 15, - "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog/plugins", - "kind": "uses", - "refs": [ + "start_line": 35 + }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "486f73ec1d2dbd8488fd56c9f9e4d24711deb7fc", "commits": [], - "end_line": 40, - "id": "E1", + "end_line": 56, + "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/rest/AuthServiceBackendsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 40 + "start_line": 56 }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "486f73ec1d2dbd8488fd56c9f9e4d24711deb7fc", "commits": [], - "end_line": 41, - "id": "E2", + "end_line": 57, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/rest/AuthServiceBackendsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 41 + "start_line": 57 }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "486f73ec1d2dbd8488fd56c9f9e4d24711deb7fc", "commits": [], - "end_line": 42, - "id": "E3", + "end_line": 58, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/rest/AuthServiceBackendsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 42 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/commands" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog/scheduler", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog/scheduler", - "kind": "uses", - "refs": [ + "start_line": 58 + }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "4996d9a4672e9e2fbbb77eab5d76b65dd0206d3a", "commits": [], - "end_line": 55, - "id": "E1", + "end_line": 52, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authzroles/AuthzRolesResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 55 + "start_line": 52 }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "4996d9a4672e9e2fbbb77eab5d76b65dd0206d3a", "commits": [], - "end_line": 56, - "id": "E2", + "end_line": 53, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authzroles/AuthzRolesResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 56 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/commands" - }, - { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog/security", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog/security", - "kind": "uses", - "refs": [ + "start_line": 53 + }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "7a1e5c44c426a36bdb667d76aa8e02230580c8d6", "commits": [], - "end_line": 57, - "id": "E1", + "end_line": 32, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authzroles/PaginatedAuthzRolesService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 57 + "start_line": 32 }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "88b6766a49b82c6036465f93b9cfb887f4d49c80", "commits": [], - "end_line": 58, - "id": "E2", + "end_line": 53, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/rest/EntitySharesResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 58 + "start_line": 53 }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "88b6766a49b82c6036465f93b9cfb887f4d49c80", "commits": [], - "end_line": 59, - "id": "E3", + "end_line": 54, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/rest/EntitySharesResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 59 + "start_line": 54 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + "src": "M:graylog2-server/src/main/java/org/graylog/security" }, { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog/tracing", + "count": 9, + "dst": "M:graylog2-server/src/main/java/org/graylog2/search", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog/tracing", + "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog2/search", "kind": "uses", "refs": [ { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "836943efe59b2fdfcdb27d7e764830d1d6f593c7", "commits": [], - "end_line": 60, + "end_line": 36, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/DBAuthServiceBackendService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 60 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/commands" - }, - { - "count": 5, - "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/(root)", - "kind": "uses", - "refs": [ + "start_line": 36 + }, { - "blob_sha": "d85b2154b75a3ba241e6b9dc203511a4e37cfd06", + "blob_sha": "836943efe59b2fdfcdb27d7e764830d1d6f593c7", "commits": [], - "end_line": 22, - "id": "E1", + "end_line": 37, + "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/AbstractNodeCommand.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/DBAuthServiceBackendService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 37 }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "486f73ec1d2dbd8488fd56c9f9e4d24711deb7fc", "commits": [], - "end_line": 61, - "id": "E2", + "end_line": 59, + "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/rest/AuthServiceBackendsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 61 + "start_line": 59 }, { - "blob_sha": "334dc0bc7a98740e208a9ed186449b0c75fca835", + "blob_sha": "486f73ec1d2dbd8488fd56c9f9e4d24711deb7fc", "commits": [], - "end_line": 21, - "id": "E3", + "end_line": 60, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/journal/AbstractJournalCommand.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/rest/AuthServiceBackendsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/commands" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/alerts", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/alerts", - "kind": "uses", - "refs": [ + "start_line": 60 + }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "486f73ec1d2dbd8488fd56c9f9e4d24711deb7fc", "commits": [], - "end_line": 62, - "id": "E1", + "end_line": 61, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/rest/AuthServiceBackendsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 62 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/commands" - }, - { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/audit", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/audit", - "kind": "uses", - "refs": [ + "start_line": 61 + }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "4996d9a4672e9e2fbbb77eab5d76b65dd0206d3a", "commits": [], - "end_line": 63, - "id": "E1", + "end_line": 54, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authzroles/AuthzRolesResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 63 + "start_line": 54 }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "4996d9a4672e9e2fbbb77eab5d76b65dd0206d3a", "commits": [], - "end_line": 64, - "id": "E2", + "end_line": 55, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authzroles/AuthzRolesResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 64 + "start_line": 55 }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "4996d9a4672e9e2fbbb77eab5d76b65dd0206d3a", "commits": [], - "end_line": 137, - "id": "E3", + "end_line": 56, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authzroles/AuthzRolesResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 137 + "start_line": 56 + }, + { + "blob_sha": "7a1e5c44c426a36bdb667d76aa8e02230580c8d6", + "commits": [], + "end_line": 33, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/security/authzroles/PaginatedAuthzRolesService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + "src": "M:graylog2-server/src/main/java/org/graylog/security" }, { - "count": 13, - "dst": "M:graylog2-server/src/main/java/org/graylog2/bindings", + "count": 23, + "dst": "M:graylog2-server/src/main/java/org/graylog2/security", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/bindings", + "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog2/security", "kind": "uses", "refs": [ { - "blob_sha": "d85b2154b75a3ba241e6b9dc203511a4e37cfd06", + "blob_sha": "6689087e9d08af976d33e01c51edf7d6fa9e2402", "commits": [], - "end_line": 23, + "end_line": 20, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/AbstractNodeCommand.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/AuthServiceCredentials.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 20 }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "8eff06bb24fe65a61118aead7771ca598039c222", "commits": [], - "end_line": 65, + "end_line": 20, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/AuthServiceResult.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 65 + "start_line": 20 }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "f42f844fa422fc754de204a61ea142dc57615602", "commits": [], - "end_line": 66, + "end_line": 21, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/AuthenticationDetails.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 66 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/commands" - }, - { - "count": 6, - "dst": "M:graylog2-server/src/main/java/org/graylog2/bootstrap", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/bootstrap", - "kind": "uses", - "refs": [ + "start_line": 21 + }, { - "blob_sha": "d85b2154b75a3ba241e6b9dc203511a4e37cfd06", + "blob_sha": "18273aeb81c253272b90956dd6fb124b60a4045d", "commits": [], - "end_line": 24, - "id": "E1", + "end_line": 37, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/AbstractNodeCommand.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/backend/ADAuthServiceBackend.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 37 }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "af2b2c90be9197581306fd66609e41ccf7cb3ae3", "commits": [], - "end_line": 76, - "id": "E2", + "end_line": 33, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/backend/ADAuthServiceBackendConfig.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 76 + "start_line": 33 }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "a54ae712b9e865a7e6a48d9f388ecfa4a9482400", "commits": [], - "end_line": 77, - "id": "E3", + "end_line": 36, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/backend/LDAPAuthServiceBackend.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 77 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/commands" - }, - { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/cluster", - "kind": "uses", - "refs": [ + "start_line": 36 + }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "816d3c7f302319304e88f0f7b320927ebdd87903", "commits": [], - "end_line": 78, - "id": "E1", + "end_line": 33, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/backend/LDAPAuthServiceBackendConfig.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 78 + "start_line": 33 }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "962b7af8cee8dbb6ca031f3a197b44c100f6122d", "commits": [], - "end_line": 79, - "id": "E2", + "end_line": 29, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/backend/MongoDBAuthServiceBackend.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 79 + "start_line": 29 }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "962b7af8cee8dbb6ca031f3a197b44c100f6122d", "commits": [], - "end_line": 80, - "id": "E3", + "end_line": 30, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/backend/MongoDBAuthServiceBackend.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 80 + "start_line": 30 + }, + { + "blob_sha": "962b7af8cee8dbb6ca031f3a197b44c100f6122d", + "commits": [], + "end_line": 31, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/backend/MongoDBAuthServiceBackend.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + "src": "M:graylog2-server/src/main/java/org/graylog/security" }, { - "count": 8, - "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", + "count": 52, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/configuration", + "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog2/shared", "kind": "uses", "refs": [ { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "f79e037a279272aee7a8f869863f2cfdc2ddc03e", "commits": [], - "end_line": 81, + "end_line": 29, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/UserContext.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 81 + "start_line": 29 }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "f79e037a279272aee7a8f869863f2cfdc2ddc03e", "commits": [], - "end_line": 82, + "end_line": 30, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/UserContext.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 82 + "start_line": 30 }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "51f3a34f1ae014e3865e3b5c9b29c2483f823289", "commits": [], - "end_line": 83, + "end_line": 22, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/UserContextFactory.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 83 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/commands" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/contentpacks", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/contentpacks", - "kind": "uses", - "refs": [ + "start_line": 22 + }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "51f3a34f1ae014e3865e3b5c9b29c2483f823289", "commits": [], - "end_line": 89, - "id": "E1", + "end_line": 23, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/UserContextFactory.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 89 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/commands" - }, - { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/database", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/database", - "kind": "uses", - "refs": [ + "start_line": 23 + }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "45b70fe31419d4d88007f6f85c541a6142bb8ff9", "commits": [], - "end_line": 90, - "id": "E1", + "end_line": 20, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/AuthServiceAuthenticator.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 90 + "start_line": 20 }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "e9ee5307954b58fcbdb48cb3b9361ae1e3993279", "commits": [], - "end_line": 91, - "id": "E2", + "end_line": 19, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/AuthServiceBackendUsageCheck.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 91 + "start_line": 19 }, { - "blob_sha": "712f8e5acd0b4f6bec76a20cf8c7d6eb6e1c7c95", + "blob_sha": "568b74b0ef1aeceea932ade6981fbf20fc11aec5", "commits": [], - "end_line": 25, - "id": "E3", + "end_line": 22, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/token/AutomationTokenCommandExecution.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/ProvisionerService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/commands" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/datanode", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/datanode", - "kind": "uses", - "refs": [ + "start_line": 22 + }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "18273aeb81c253272b90956dd6fb124b60a4045d", "commits": [], - "end_line": 92, - "id": "E1", + "end_line": 38, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/backend/ADAuthServiceBackend.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 92 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/commands" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/datatiering", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/datatiering", - "kind": "uses", - "refs": [ + "start_line": 38 + }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "a54ae712b9e865a7e6a48d9f388ecfa4a9482400", "commits": [], - "end_line": 93, - "id": "E1", + "end_line": 37, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/backend/LDAPAuthServiceBackend.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 93 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/commands" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/decorators", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/decorators", - "kind": "uses", - "refs": [ + "start_line": 37 + }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "962b7af8cee8dbb6ca031f3a197b44c100f6122d", "commits": [], - "end_line": 94, - "id": "E1", + "end_line": 32, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/backend/MongoDBAuthServiceBackend.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 94 + "start_line": 32 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + "src": "M:graylog2-server/src/main/java/org/graylog/security" }, { - "count": 6, - "dst": "M:graylog2-server/src/main/java/org/graylog2/featureflag", + "count": 10, + "dst": "M:graylog2-server/src/main/java/org/graylog2/users", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/featureflag", + "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog2/users", "kind": "uses", "refs": [ { - "blob_sha": "d85b2154b75a3ba241e6b9dc203511a4e37cfd06", + "blob_sha": "568b74b0ef1aeceea932ade6981fbf20fc11aec5", "commits": [], - "end_line": 25, + "end_line": 23, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/AbstractNodeCommand.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/ProvisionerService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 23 }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "568b74b0ef1aeceea932ade6981fbf20fc11aec5", "commits": [], - "end_line": 95, + "end_line": 24, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/ProvisionerService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 95 + "start_line": 24 }, { - "blob_sha": "334dc0bc7a98740e208a9ed186449b0c75fca835", + "blob_sha": "486f73ec1d2dbd8488fd56c9f9e4d24711deb7fc", "commits": [], - "end_line": 23, + "end_line": 64, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/journal/AbstractJournalCommand.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/rest/AuthServiceBackendsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/commands" - }, - { - "count": 5, - "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/indexer", - "kind": "uses", - "refs": [ + "start_line": 64 + }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "486f73ec1d2dbd8488fd56c9f9e4d24711deb7fc", "commits": [], - "end_line": 96, - "id": "E1", + "end_line": 65, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/rest/AuthServiceBackendsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 96 + "start_line": 65 }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "486f73ec1d2dbd8488fd56c9f9e4d24711deb7fc", "commits": [], - "end_line": 97, - "id": "E2", + "end_line": 66, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authservice/rest/AuthServiceBackendsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 97 + "start_line": 66 }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "5139ee5ea0dcf0428d3666dbfa3468869f8503d6", "commits": [], - "end_line": 98, - "id": "E3", + "end_line": 26, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authzroles/AuthzRoleDTO.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 98 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/commands" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/inputs", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/inputs", - "kind": "uses", - "refs": [ + "start_line": 26 + }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "4996d9a4672e9e2fbbb77eab5d76b65dd0206d3a", "commits": [], - "end_line": 101, - "id": "E1", + "end_line": 61, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authzroles/AuthzRolesResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 101 + "start_line": 61 }, { - "blob_sha": "5992158e8cdaae8c3c1d21cf1df20e058ba1d0ec", + "blob_sha": "4996d9a4672e9e2fbbb77eab5d76b65dd0206d3a", "commits": [], - "end_line": 30, - "id": "E2", + "end_line": 62, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/journal/JournalDecode.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authzroles/AuthzRolesResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/commands" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/lookup", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/lookup", - "kind": "uses", - "refs": [ + "start_line": 62 + }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "4996d9a4672e9e2fbbb77eab5d76b65dd0206d3a", "commits": [], - "end_line": 102, - "id": "E1", + "end_line": 63, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/authzroles/AuthzRolesResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 102 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/commands" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/messageprocessors", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/messageprocessors", - "kind": "uses", - "refs": [ + "start_line": 63 + }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "4d0ed0c9862006976d18f8151a1fcbb847103485", "commits": [], - "end_line": 103, - "id": "E1", + "end_line": 28, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/shares/DefaultGranteeService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 103 + "start_line": 28 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + "src": "M:graylog2-server/src/main/java/org/graylog/security" }, { "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/metrics", + "dst": "M:graylog2-server/src/main/java/org/graylog2/web", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/metrics", + "id": "M:graylog2-server/src/main/java/org/graylog/security->M:graylog2-server/src/main/java/org/graylog2/web", "kind": "uses", "refs": [ { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "a9f3d477b91f3eb8b61850e1aca50b14fac51742", "commits": [], - "end_line": 104, + "end_line": 28, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/security/pki/CertificateService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 104 + "start_line": 28 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + "src": "M:graylog2-server/src/main/java/org/graylog/security" }, { "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/migrations", + "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/migrations", + "id": "M:graylog2-server/src/main/java/org/graylog/storage->M:graylog2-server/src/main/java/org/graylog/plugins", "kind": "uses", "refs": [ { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "b8df4105e748b479a4ed63175ccb99885d9dde7e", "commits": [], - "end_line": 105, + "end_line": 20, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/storage/search/SearchCommand.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 105 + "start_line": 20 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + "src": "M:graylog2-server/src/main/java/org/graylog/storage" }, { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/notifications", + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/notifications", + "id": "M:graylog2-server/src/main/java/org/graylog/storage->M:graylog2-server/src/main/java/org/graylog2/indexer", "kind": "uses", "refs": [ { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "b8df4105e748b479a4ed63175ccb99885d9dde7e", "commits": [], - "end_line": 106, + "end_line": 21, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/storage/search/SearchCommand.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 106 + "start_line": 21 }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "b8df4105e748b479a4ed63175ccb99885d9dde7e", "commits": [], - "end_line": 107, + "end_line": 22, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/storage/search/SearchCommand.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 107 + "start_line": 22 + }, + { + "blob_sha": "b8df4105e748b479a4ed63175ccb99885d9dde7e", + "commits": [], + "end_line": 23, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/storage/search/SearchCommand.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + "src": "M:graylog2-server/src/main/java/org/graylog/storage" }, { - "count": 19, + "count": 1, "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/plugin", + "id": "M:graylog2-server/src/main/java/org/graylog/storage->M:graylog2-server/src/main/java/org/graylog2/plugin", "kind": "uses", "refs": [ { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "b8df4105e748b479a4ed63175ccb99885d9dde7e", "commits": [], - "end_line": 108, + "end_line": 24, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog/storage/search/SearchCommand.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 108 + "start_line": 24 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog/storage" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog/util->M:graylog2-server/src/main/java/org/graylog2/plugin", + "kind": "uses", + "refs": [ + { + "blob_sha": "f9fbfc677b4c80e7e8eeaed56b9f04f207ee31b9", + "commits": [], + "end_line": 19, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog/util/HostnameProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog/util" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/(root)->M:graylog2-server/src/main/java/org/graylog/plugins", + "kind": "uses", + "refs": [ + { + "blob_sha": "fa74b2825d102896122b00b2cf0e7d34419616e5", + "commits": [], + "end_line": 36, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/Configuration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "fa74b2825d102896122b00b2cf0e7d34419616e5", "commits": [], - "end_line": 109, + "end_line": 37, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog2/Configuration.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 109 - }, + "start_line": 37 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/(root)" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog/security", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/(root)->M:graylog2-server/src/main/java/org/graylog/security", + "kind": "uses", + "refs": [ { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "fa74b2825d102896122b00b2cf0e7d34419616e5", "commits": [], - "end_line": 138, - "id": "E3", + "end_line": 38, + "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog2/Configuration.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 138 + "start_line": 38 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + "src": "M:graylog2-server/src/main/java/org/graylog2/(root)" }, { "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", + "dst": "M:graylog2-server/src/main/java/org/graylog2/bindings", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/rest", + "id": "M:graylog2-server/src/main/java/org/graylog2/(root)->M:graylog2-server/src/main/java/org/graylog2/bindings", "kind": "uses", "refs": [ { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "fa74b2825d102896122b00b2cf0e7d34419616e5", "commits": [], - "end_line": 113, + "end_line": 39, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog2/Configuration.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 113 + "start_line": 39 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + "src": "M:graylog2-server/src/main/java/org/graylog2/(root)" }, { - "count": 5, - "dst": "M:graylog2-server/src/main/java/org/graylog2/security", + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/security", + "id": "M:graylog2-server/src/main/java/org/graylog2/(root)->M:graylog2-server/src/main/java/org/graylog2/cluster", "kind": "uses", "refs": [ { - "blob_sha": "5ace194e23cabd396da495148a4699454a825258", + "blob_sha": "fa74b2825d102896122b00b2cf0e7d34419616e5", "commits": [], - "end_line": 27, + "end_line": 40, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/token/AutomationTokenCommand.java", + "path": "graylog2-server/src/main/java/org/graylog2/Configuration.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 40 }, { - "blob_sha": "5ace194e23cabd396da495148a4699454a825258", + "blob_sha": "fa74b2825d102896122b00b2cf0e7d34419616e5", "commits": [], - "end_line": 28, + "end_line": 41, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/token/AutomationTokenCommand.java", + "path": "graylog2-server/src/main/java/org/graylog2/Configuration.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 + "start_line": 41 }, { - "blob_sha": "712f8e5acd0b4f6bec76a20cf8c7d6eb6e1c7c95", + "blob_sha": "fa74b2825d102896122b00b2cf0e7d34419616e5", "commits": [], - "end_line": 28, + "end_line": 42, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/token/AutomationTokenCommandExecution.java", + "path": "graylog2-server/src/main/java/org/graylog2/Configuration.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 + "start_line": 42 + }, + { + "blob_sha": "fa74b2825d102896122b00b2cf0e7d34419616e5", + "commits": [], + "end_line": 43, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/Configuration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 43 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + "src": "M:graylog2-server/src/main/java/org/graylog2/(root)" }, { - "count": 11, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/shared", + "id": "M:graylog2-server/src/main/java/org/graylog2/(root)->M:graylog2-server/src/main/java/org/graylog2/configuration", "kind": "uses", "refs": [ { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "fa74b2825d102896122b00b2cf0e7d34419616e5", "commits": [], - "end_line": 114, + "end_line": 44, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog2/Configuration.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 114 + "start_line": 44 }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "fa74b2825d102896122b00b2cf0e7d34419616e5", "commits": [], - "end_line": 115, + "end_line": 45, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog2/Configuration.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 115 + "start_line": 45 }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "fa74b2825d102896122b00b2cf0e7d34419616e5", "commits": [], - "end_line": 116, + "end_line": 46, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog2/Configuration.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 116 + "start_line": 46 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + "src": "M:graylog2-server/src/main/java/org/graylog2/(root)" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/notifications", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/(root)->M:graylog2-server/src/main/java/org/graylog2/notifications", + "kind": "uses", + "refs": [ + { + "blob_sha": "fa74b2825d102896122b00b2cf0e7d34419616e5", + "commits": [], + "end_line": 47, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/Configuration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 47 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/(root)" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/outputs", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/(root)->M:graylog2-server/src/main/java/org/graylog2/outputs", + "kind": "uses", + "refs": [ + { + "blob_sha": "fa74b2825d102896122b00b2cf0e7d34419616e5", + "commits": [], + "end_line": 48, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/Configuration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 48 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/(root)" + }, + { + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/(root)->M:graylog2-server/src/main/java/org/graylog2/plugin", + "kind": "uses", + "refs": [ + { + "blob_sha": "eb9a5798615c4a1ae35357493d21d71a2d9c09ad", + "commits": [], + "end_line": 19, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/CommonNodeConfiguration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "fa74b2825d102896122b00b2cf0e7d34419616e5", + "commits": [], + "end_line": 49, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/Configuration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 49 + }, + { + "blob_sha": "84474fce9fa5955aed627453a20eb757da37f883", + "commits": [], + "end_line": 19, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/GraylogNodeConfiguration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/(root)" }, { "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/storage", + "dst": "M:graylog2-server/src/main/java/org/graylog2/security", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/storage", + "id": "M:graylog2-server/src/main/java/org/graylog2/(root)->M:graylog2-server/src/main/java/org/graylog2/security", "kind": "uses", "refs": [ { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "fa74b2825d102896122b00b2cf0e7d34419616e5", "commits": [], - "end_line": 121, + "end_line": 50, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog2/Configuration.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 121 + "start_line": 50 }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "fa74b2825d102896122b00b2cf0e7d34419616e5", "commits": [], - "end_line": 122, + "end_line": 51, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog2/Configuration.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 122 + "start_line": 51 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + "src": "M:graylog2-server/src/main/java/org/graylog2/(root)" }, { "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/streams", + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/streams", + "id": "M:graylog2-server/src/main/java/org/graylog2/(root)->M:graylog2-server/src/main/java/org/graylog2/shared", "kind": "uses", "refs": [ { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "fa74b2825d102896122b00b2cf0e7d34419616e5", "commits": [], - "end_line": 123, + "end_line": 64, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog2/Configuration.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 123 + "start_line": 64 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + "src": "M:graylog2-server/src/main/java/org/graylog2/(root)" }, { "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/system", + "dst": "M:graylog2-server/src/main/java/org/graylog2/utilities", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/system", + "id": "M:graylog2-server/src/main/java/org/graylog2/(root)->M:graylog2-server/src/main/java/org/graylog2/utilities", "kind": "uses", "refs": [ { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "fa74b2825d102896122b00b2cf0e7d34419616e5", "commits": [], - "end_line": 124, + "end_line": 52, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog2/Configuration.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 124 + "start_line": 52 }, { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "fa74b2825d102896122b00b2cf0e7d34419616e5", "commits": [], - "end_line": 125, + "end_line": 53, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog2/Configuration.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 125 + "start_line": 53 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + "src": "M:graylog2-server/src/main/java/org/graylog2/(root)" }, { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/telemetry", + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog2/alerts", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/telemetry", + "id": "M:graylog2-server/src/main/java/org/graylog2/alarmcallbacks->M:graylog2-server/src/main/java/org/graylog2/alerts", "kind": "uses", "refs": [ { - "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "blob_sha": "48292d5c761f30578cb66881d89a9a547b93ec3b", "commits": [], - "end_line": 126, + "end_line": 22, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "path": "graylog2-server/src/main/java/org/graylog2/alarmcallbacks/EmailAlarmCallback.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 126 + "start_line": 22 + }, + { + "blob_sha": "48292d5c761f30578cb66881d89a9a547b93ec3b", + "commits": [], + "end_line": 23, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alarmcallbacks/EmailAlarmCallback.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "48292d5c761f30578cb66881d89a9a547b93ec3b", + "commits": [], + "end_line": 24, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alarmcallbacks/EmailAlarmCallback.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + "src": "M:graylog2-server/src/main/java/org/graylog2/alarmcallbacks" }, { "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog/security", + "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/configuration->M:graylog2-server/src/main/java/org/graylog/security", + "id": "M:graylog2-server/src/main/java/org/graylog2/alarmcallbacks->M:graylog2-server/src/main/java/org/graylog2/configuration", + "kind": "uses", + "refs": [ + { + "blob_sha": "48292d5c761f30578cb66881d89a9a547b93ec3b", + "commits": [], + "end_line": 25, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alarmcallbacks/EmailAlarmCallback.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/alarmcallbacks" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/notifications", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/alarmcallbacks->M:graylog2-server/src/main/java/org/graylog2/notifications", + "kind": "uses", + "refs": [ + { + "blob_sha": "48292d5c761f30578cb66881d89a9a547b93ec3b", + "commits": [], + "end_line": 26, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alarmcallbacks/EmailAlarmCallback.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "48292d5c761f30578cb66881d89a9a547b93ec3b", + "commits": [], + "end_line": 27, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alarmcallbacks/EmailAlarmCallback.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/alarmcallbacks" + }, + { + "count": 29, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/alarmcallbacks->M:graylog2-server/src/main/java/org/graylog2/plugin", "kind": "uses", "refs": [ { - "blob_sha": "2b4f8f62b60c19c330588e772afb6814a5031d3c", + "blob_sha": "6e81b52bec5c0206e6ec5c3587bb7e461cbfe424", + "commits": [], + "end_line": 20, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alarmcallbacks/AlarmCallbackFactory.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "6e81b52bec5c0206e6ec5c3587bb7e461cbfe424", + "commits": [], + "end_line": 21, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alarmcallbacks/AlarmCallbackFactory.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "6e81b52bec5c0206e6ec5c3587bb7e461cbfe424", + "commits": [], + "end_line": 22, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alarmcallbacks/AlarmCallbackFactory.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "48292d5c761f30578cb66881d89a9a547b93ec3b", + "commits": [], + "end_line": 28, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alarmcallbacks/EmailAlarmCallback.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "48292d5c761f30578cb66881d89a9a547b93ec3b", + "commits": [], + "end_line": 29, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alarmcallbacks/EmailAlarmCallback.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "48292d5c761f30578cb66881d89a9a547b93ec3b", + "commits": [], + "end_line": 30, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alarmcallbacks/EmailAlarmCallback.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "48292d5c761f30578cb66881d89a9a547b93ec3b", + "commits": [], + "end_line": 31, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alarmcallbacks/EmailAlarmCallback.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "48292d5c761f30578cb66881d89a9a547b93ec3b", + "commits": [], + "end_line": 32, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alarmcallbacks/EmailAlarmCallback.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "48292d5c761f30578cb66881d89a9a547b93ec3b", + "commits": [], + "end_line": 33, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alarmcallbacks/EmailAlarmCallback.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "48292d5c761f30578cb66881d89a9a547b93ec3b", + "commits": [], + "end_line": 34, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alarmcallbacks/EmailAlarmCallback.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/alarmcallbacks" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/alarmcallbacks->M:graylog2-server/src/main/java/org/graylog2/shared", + "kind": "uses", + "refs": [ + { + "blob_sha": "48292d5c761f30578cb66881d89a9a547b93ec3b", + "commits": [], + "end_line": 44, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alarmcallbacks/EmailAlarmCallback.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 44 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/alarmcallbacks" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/system", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/alarmcallbacks->M:graylog2-server/src/main/java/org/graylog2/system", + "kind": "uses", + "refs": [ + { + "blob_sha": "ef0fae20e4ffa0dc7ca441eb83e1678e054f0a94", + "commits": [], + "end_line": 39, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alarmcallbacks/HTTPAlarmCallback.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 39 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/alarmcallbacks" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/web", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/alarmcallbacks->M:graylog2-server/src/main/java/org/graylog2/web", + "kind": "uses", + "refs": [ + { + "blob_sha": "48292d5c761f30578cb66881d89a9a547b93ec3b", + "commits": [], + "end_line": 45, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alarmcallbacks/EmailAlarmCallback.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 45 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/alarmcallbacks" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/alerts->M:graylog2-server/src/main/java/org/graylog2/(root)", + "kind": "uses", + "refs": [ + { + "blob_sha": "133cc3732e59cbfdee40c3093163bd084b43b385", + "commits": [], + "end_line": 22, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alerts/types/FieldContentValueAlertCondition.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/alerts" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/alerts->M:graylog2-server/src/main/java/org/graylog2/configuration", + "kind": "uses", + "refs": [ + { + "blob_sha": "fa3de4ee63ba6d89f2405af06016946502b52808", + "commits": [], + "end_line": 23, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alerts/FormattedEmailAlertSender.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/alerts" + }, + { + "count": 13, + "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/alerts->M:graylog2-server/src/main/java/org/graylog2/indexer", + "kind": "uses", + "refs": [ + { + "blob_sha": "133cc3732e59cbfdee40c3093163bd084b43b385", + "commits": [], + "end_line": 24, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alerts/types/FieldContentValueAlertCondition.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "133cc3732e59cbfdee40c3093163bd084b43b385", + "commits": [], + "end_line": 25, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alerts/types/FieldContentValueAlertCondition.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "133cc3732e59cbfdee40c3093163bd084b43b385", + "commits": [], + "end_line": 26, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alerts/types/FieldContentValueAlertCondition.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "133cc3732e59cbfdee40c3093163bd084b43b385", + "commits": [], + "end_line": 27, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alerts/types/FieldContentValueAlertCondition.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "8c94d6e5227ba1d4591310c3d605b9581dd296f2", + "commits": [], + "end_line": 23, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alerts/types/FieldValueAlertCondition.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "8c94d6e5227ba1d4591310c3d605b9581dd296f2", + "commits": [], + "end_line": 24, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alerts/types/FieldValueAlertCondition.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "8c94d6e5227ba1d4591310c3d605b9581dd296f2", + "commits": [], + "end_line": 25, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alerts/types/FieldValueAlertCondition.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "8c94d6e5227ba1d4591310c3d605b9581dd296f2", + "commits": [], + "end_line": 26, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alerts/types/FieldValueAlertCondition.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "2754eefd4ccb82ea9f023304864669f53b5490a9", + "commits": [], + "end_line": 23, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alerts/types/MessageCountAlertCondition.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "2754eefd4ccb82ea9f023304864669f53b5490a9", + "commits": [], + "end_line": 24, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alerts/types/MessageCountAlertCondition.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/alerts" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/notifications", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/alerts->M:graylog2-server/src/main/java/org/graylog2/notifications", + "kind": "uses", + "refs": [ + { + "blob_sha": "fa3de4ee63ba6d89f2405af06016946502b52808", + "commits": [], + "end_line": 24, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alerts/FormattedEmailAlertSender.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "fa3de4ee63ba6d89f2405af06016946502b52808", + "commits": [], + "end_line": 25, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alerts/FormattedEmailAlertSender.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/alerts" + }, + { + "count": 65, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/alerts->M:graylog2-server/src/main/java/org/graylog2/plugin", + "kind": "uses", + "refs": [ + { + "blob_sha": "795ac983af5af9bc38cdd4b790e277c09b74bb9a", + "commits": [], + "end_line": 23, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alerts/AbstractAlertCondition.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "795ac983af5af9bc38cdd4b790e277c09b74bb9a", + "commits": [], + "end_line": 24, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alerts/AbstractAlertCondition.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "795ac983af5af9bc38cdd4b790e277c09b74bb9a", + "commits": [], + "end_line": 25, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alerts/AbstractAlertCondition.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "795ac983af5af9bc38cdd4b790e277c09b74bb9a", + "commits": [], + "end_line": 26, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alerts/AbstractAlertCondition.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "795ac983af5af9bc38cdd4b790e277c09b74bb9a", + "commits": [], + "end_line": 27, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alerts/AbstractAlertCondition.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "795ac983af5af9bc38cdd4b790e277c09b74bb9a", + "commits": [], + "end_line": 28, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alerts/AbstractAlertCondition.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "795ac983af5af9bc38cdd4b790e277c09b74bb9a", + "commits": [], + "end_line": 29, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alerts/AbstractAlertCondition.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "795ac983af5af9bc38cdd4b790e277c09b74bb9a", + "commits": [], + "end_line": 30, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alerts/AbstractAlertCondition.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "795ac983af5af9bc38cdd4b790e277c09b74bb9a", + "commits": [], + "end_line": 31, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alerts/AbstractAlertCondition.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "1ff5e87fa90b6852c529d40ab0da6ff9998722ad", + "commits": [], + "end_line": 22, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alerts/AlertConditionBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/alerts" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/alerts->M:graylog2-server/src/main/java/org/graylog2/shared", + "kind": "uses", + "refs": [ + { + "blob_sha": "e7c0fff2ae9093b3b6f087b47210fafe3c46459b", + "commits": [], + "end_line": 23, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alerts/EmailRecipients.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "fa3de4ee63ba6d89f2405af06016946502b52808", + "commits": [], + "end_line": 33, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/alerts/FormattedEmailAlertSender.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/alerts" + }, + { + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/audit->M:graylog2-server/src/main/java/org/graylog2/plugin", + "kind": "uses", + "refs": [ + { + "blob_sha": "67ec22285f19cce12e63b89b4c3b1e19ab9efc4f", + "commits": [], + "end_line": 20, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/audit/AuditActor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "67ec22285f19cce12e63b89b4c3b1e19ab9efc4f", + "commits": [], + "end_line": 21, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/audit/AuditActor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "04e41d9df090e8e0b5e20cb2f748a0457dbcc317", + "commits": [], + "end_line": 22, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/audit/AuditBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/audit" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/audit->M:graylog2-server/src/main/java/org/graylog2/rest", + "kind": "uses", + "refs": [ + { + "blob_sha": "e9a7f32d240caf2a3995c732f5c890bf8fabed37", + "commits": [], + "end_line": 39, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/audit/jersey/AuditEventModelProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 39 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/audit" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog/events", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog/events", + "kind": "uses", + "refs": [ + { + "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", + "commits": [], + "end_line": 19, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", + "commits": [], + "end_line": 20, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog/plugins", + "kind": "uses", + "refs": [ + { + "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", + "commits": [], + "end_line": 21, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "e45f4c994f45572a894862d970be4abeacd52fd1", + "commits": [], + "end_line": 34, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/providers/MongoJackObjectMapperProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + }, + { + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog/scheduler", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog/scheduler", + "kind": "uses", + "refs": [ + { + "blob_sha": "bcdb7f8e6d036c42e9a745668052f7dec322f69d", + "commits": [], + "end_line": 21, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PeriodicalBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "commits": [], + "end_line": 29, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "e3bd024de1f702fb5fbec4b06fa132415533cc8f", + "commits": [], + "end_line": 21, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/providers/LegacySystemJobFactoryProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "31602cc998f4ccd14e35491135a2166765cdd3c0", + "commits": [], + "end_line": 22, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/providers/LegacySystemJobManagerProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog/security", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog/security", + "kind": "uses", + "refs": [ + { + "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "commits": [], + "end_line": 30, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + }, + { + "count": 5, + "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/(root)", + "kind": "uses", + "refs": [ + { + "blob_sha": "b46423a001d4684200c015723e0b5a6359c17631", + "commits": [], + "end_line": 21, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ConfigurationModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "b46423a001d4684200c015723e0b5a6359c17631", + "commits": [], + "end_line": 22, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ConfigurationModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "4e4928bcb911820bd4ce1dbfde75c694f6c6adc1", + "commits": [], + "end_line": 22, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/GraylogNodeModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "bd78cdbf21fa7b3d886c4d0fb57e1b060f66b098", + "commits": [], + "end_line": 24, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/MessageOutputBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "commits": [], + "end_line": 31, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/alarmcallbacks", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/alarmcallbacks", + "kind": "uses", + "refs": [ + { + "blob_sha": "6f1f4b164fad279c51720d9f000c809d6708e06e", + "commits": [], + "end_line": 22, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/AlarmCallbackBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "6f1f4b164fad279c51720d9f000c809d6708e06e", + "commits": [], + "end_line": 23, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/AlarmCallbackBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + }, + { + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog2/alerts", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/alerts", + "kind": "uses", + "refs": [ + { + "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "commits": [], + "end_line": 32, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "commits": [], + "end_line": 33, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "commits": [], + "end_line": 34, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/audit", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/audit", + "kind": "uses", + "refs": [ + { + "blob_sha": "4e4928bcb911820bd4ce1dbfde75c694f6c6adc1", + "commits": [], + "end_line": 23, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/GraylogNodeModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/bootstrap", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/bootstrap", + "kind": "uses", + "refs": [ + { + "blob_sha": "bcdb7f8e6d036c42e9a745668052f7dec322f69d", + "commits": [], + "end_line": 22, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PeriodicalBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "commits": [], + "end_line": 43, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 43 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/buffers", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/buffers", + "kind": "uses", + "refs": [ + { + "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "commits": [], + "end_line": 44, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 44 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + }, + { + "count": 21, + "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/cluster", + "kind": "uses", + "refs": [ + { + "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", + "commits": [], + "end_line": 22, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", + "commits": [], + "end_line": 23, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "commits": [], + "end_line": 23, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "commits": [], + "end_line": 24, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "commits": [], + "end_line": 25, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "commits": [], + "end_line": 26, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "commits": [], + "end_line": 27, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "commits": [], + "end_line": 28, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "commits": [], + "end_line": 29, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "commits": [], + "end_line": 30, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + }, + { + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/configuration", + "kind": "uses", + "refs": [ + { + "blob_sha": "4e4928bcb911820bd4ce1dbfde75c694f6c6adc1", + "commits": [], + "end_line": 25, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/GraylogNodeModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "4e4928bcb911820bd4ce1dbfde75c694f6c6adc1", + "commits": [], + "end_line": 26, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/GraylogNodeModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "f7beada37c2f47b75ed65903477b79c3bc043a26", + "commits": [], + "end_line": 21, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/MongoDbConnectionModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "0179651c700d78092545c67624bfae1879f5c35f", + "commits": [], + "end_line": 19, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/providers/MongoConnectionProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + }, + { + "count": 11, + "dst": "M:graylog2-server/src/main/java/org/graylog2/database", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/database", + "kind": "uses", + "refs": [ + { + "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", + "commits": [], + "end_line": 24, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", + "commits": [], + "end_line": 25, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "f7beada37c2f47b75ed65903477b79c3bc043a26", + "commits": [], + "end_line": 22, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/MongoDbConnectionModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "f7beada37c2f47b75ed65903477b79c3bc043a26", + "commits": [], + "end_line": 23, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/MongoDbConnectionModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "commits": [], + "end_line": 38, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 38 + }, + { + "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "commits": [], + "end_line": 39, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 39 + }, + { + "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "commits": [], + "end_line": 49, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 49 + }, + { + "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "commits": [], + "end_line": 50, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 50 + }, + { + "blob_sha": "ee579e5f166a05459d05223226035640b5c5e4ed", + "commits": [], + "end_line": 19, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/providers/DefaultStreamProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "0179651c700d78092545c67624bfae1879f5c35f", + "commits": [], + "end_line": 20, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/providers/MongoConnectionProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/decorators", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/decorators", + "kind": "uses", + "refs": [ + { + "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", + "commits": [], + "end_line": 26, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/events", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/events", + "kind": "uses", + "refs": [ + { + "blob_sha": "4e4928bcb911820bd4ce1dbfde75c694f6c6adc1", + "commits": [], + "end_line": 27, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/GraylogNodeModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "72474f5375f23512091f153e52a72c76f2a1a232", + "commits": [], + "end_line": 22, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/providers/ClusterEventBusProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/filters", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/filters", + "kind": "uses", + "refs": [ + { + "blob_sha": "347443da4a959632f7c74f57f07d6ed0cd5deae1", + "commits": [], + "end_line": 21, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/MessageFilterBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "347443da4a959632f7c74f57f07d6ed0cd5deae1", + "commits": [], + "end_line": 22, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/MessageFilterBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/grok", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/grok", + "kind": "uses", + "refs": [ + { + "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "commits": [], + "end_line": 51, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 51 + }, + { + "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "commits": [], + "end_line": 52, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 52 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + }, + { + "count": 20, + "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/indexer", + "kind": "uses", + "refs": [ + { + "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", + "commits": [], + "end_line": 27, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", + "commits": [], + "end_line": 28, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", + "commits": [], + "end_line": 29, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "c2d3091b87080f17e3d0b3b2f191dde3f8063094", + "commits": [], + "end_line": 21, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ElasticsearchModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "c2d3091b87080f17e3d0b3b2f191dde3f8063094", + "commits": [], + "end_line": 22, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ElasticsearchModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "bcdb7f8e6d036c42e9a745668052f7dec322f69d", + "commits": [], + "end_line": 23, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PeriodicalBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "bcdb7f8e6d036c42e9a745668052f7dec322f69d", + "commits": [], + "end_line": 24, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PeriodicalBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "commits": [], + "end_line": 40, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 40 + }, + { + "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "commits": [], + "end_line": 41, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 41 + }, + { + "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "commits": [], + "end_line": 42, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 42 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/initializers", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/initializers", + "kind": "uses", + "refs": [ + { + "blob_sha": "c76f18b2e386d3f2209e6fd30b1d310db4cd63bd", + "commits": [], + "end_line": 22, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/InitializerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "c76f18b2e386d3f2209e6fd30b1d310db4cd63bd", + "commits": [], + "end_line": 23, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/InitializerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + }, + { + "count": 12, + "dst": "M:graylog2-server/src/main/java/org/graylog2/inputs", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/inputs", + "kind": "uses", + "refs": [ + { + "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", + "commits": [], + "end_line": 30, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "bcdb7f8e6d036c42e9a745668052f7dec322f69d", + "commits": [], + "end_line": 25, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PeriodicalBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "commits": [], + "end_line": 46, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 46 + }, + { + "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "commits": [], + "end_line": 47, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 47 + }, + { + "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "commits": [], + "end_line": 48, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 48 + }, + { + "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "commits": [], + "end_line": 49, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 49 + }, + { + "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "commits": [], + "end_line": 50, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 50 + }, + { + "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "commits": [], + "end_line": 51, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 51 + }, + { + "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "commits": [], + "end_line": 57, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 57 + }, + { + "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "commits": [], + "end_line": 58, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 58 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + }, + { + "count": 5, + "dst": "M:graylog2-server/src/main/java/org/graylog2/jackson", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/jackson", + "kind": "uses", + "refs": [ + { + "blob_sha": "4e4928bcb911820bd4ce1dbfde75c694f6c6adc1", + "commits": [], + "end_line": 28, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/GraylogNodeModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "e45f4c994f45572a894862d970be4abeacd52fd1", + "commits": [], + "end_line": 36, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/providers/MongoJackObjectMapperProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + }, + { + "blob_sha": "e45f4c994f45572a894862d970be4abeacd52fd1", + "commits": [], + "end_line": 37, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/providers/MongoJackObjectMapperProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 37 + }, + { + "blob_sha": "e45f4c994f45572a894862d970be4abeacd52fd1", + "commits": [], + "end_line": 38, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/providers/MongoJackObjectMapperProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 38 + }, + { + "blob_sha": "e45f4c994f45572a894862d970be4abeacd52fd1", + "commits": [], + "end_line": 39, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/providers/MongoJackObjectMapperProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 39 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + }, + { + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog2/jmte", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/jmte", + "kind": "uses", + "refs": [ + { + "blob_sha": "b2c787d3fd34e732a570841f6aee27904617530e", + "commits": [], + "end_line": 23, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/providers/DefaultJmteEngineProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "a0e14264350106e2378cbaa6f7d9af148a329c22", + "commits": [], + "end_line": 25, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/providers/HtmlSafeJmteEngineProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "2eb5222c1df61f049ea9e4bd232cb13016352ddb", + "commits": [], + "end_line": 25, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/providers/JsonSafeEngineProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/lookup", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/lookup", + "kind": "uses", + "refs": [ + { + "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "commits": [], + "end_line": 61, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 61 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/metrics", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/metrics", + "kind": "uses", + "refs": [ + { + "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "commits": [], + "end_line": 62, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 62 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + }, + { + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog2/notifications", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/notifications", + "kind": "uses", + "refs": [ + { + "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", + "commits": [], + "end_line": 31, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "commits": [], + "end_line": 52, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 52 + }, + { + "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "commits": [], + "end_line": 53, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 53 + }, + { + "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "commits": [], + "end_line": 54, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 54 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + }, + { + "count": 6, + "dst": "M:graylog2-server/src/main/java/org/graylog2/outputs", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/outputs", + "kind": "uses", + "refs": [ + { + "blob_sha": "bd78cdbf21fa7b3d886c4d0fb57e1b060f66b098", + "commits": [], + "end_line": 25, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/MessageOutputBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "bd78cdbf21fa7b3d886c4d0fb57e1b060f66b098", + "commits": [], + "end_line": 26, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/MessageOutputBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "bd78cdbf21fa7b3d886c4d0fb57e1b060f66b098", + "commits": [], + "end_line": 27, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/MessageOutputBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "bd78cdbf21fa7b3d886c4d0fb57e1b060f66b098", + "commits": [], + "end_line": 28, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/MessageOutputBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "bd78cdbf21fa7b3d886c4d0fb57e1b060f66b098", + "commits": [], + "end_line": 29, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/MessageOutputBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "bd78cdbf21fa7b3d886c4d0fb57e1b060f66b098", + "commits": [], + "end_line": 30, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/MessageOutputBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + }, + { + "count": 19, + "dst": "M:graylog2-server/src/main/java/org/graylog2/periodical", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/periodical", + "kind": "uses", + "refs": [ + { + "blob_sha": "bcdb7f8e6d036c42e9a745668052f7dec322f69d", + "commits": [], + "end_line": 26, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PeriodicalBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "bcdb7f8e6d036c42e9a745668052f7dec322f69d", + "commits": [], + "end_line": 27, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PeriodicalBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "bcdb7f8e6d036c42e9a745668052f7dec322f69d", + "commits": [], + "end_line": 28, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PeriodicalBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "bcdb7f8e6d036c42e9a745668052f7dec322f69d", + "commits": [], + "end_line": 29, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PeriodicalBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "bcdb7f8e6d036c42e9a745668052f7dec322f69d", + "commits": [], + "end_line": 30, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PeriodicalBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "bcdb7f8e6d036c42e9a745668052f7dec322f69d", + "commits": [], + "end_line": 31, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PeriodicalBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "bcdb7f8e6d036c42e9a745668052f7dec322f69d", + "commits": [], + "end_line": 32, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PeriodicalBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "bcdb7f8e6d036c42e9a745668052f7dec322f69d", + "commits": [], + "end_line": 33, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PeriodicalBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "bcdb7f8e6d036c42e9a745668052f7dec322f69d", + "commits": [], + "end_line": 34, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PeriodicalBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "bcdb7f8e6d036c42e9a745668052f7dec322f69d", + "commits": [], + "end_line": 35, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PeriodicalBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + }, + { + "count": 26, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/plugin", + "kind": "uses", + "refs": [ + { + "blob_sha": "6f1f4b164fad279c51720d9f000c809d6708e06e", + "commits": [], + "end_line": 24, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/AlarmCallbackBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "b46423a001d4684200c015723e0b5a6359c17631", + "commits": [], + "end_line": 23, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ConfigurationModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", + "commits": [], + "end_line": 32, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "4e4928bcb911820bd4ce1dbfde75c694f6c6adc1", + "commits": [], + "end_line": 29, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/GraylogNodeModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "4e4928bcb911820bd4ce1dbfde75c694f6c6adc1", + "commits": [], + "end_line": 30, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/GraylogNodeModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "4e4928bcb911820bd4ce1dbfde75c694f6c6adc1", + "commits": [], + "end_line": 31, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/GraylogNodeModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "4e4928bcb911820bd4ce1dbfde75c694f6c6adc1", + "commits": [], + "end_line": 32, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/GraylogNodeModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "4e4928bcb911820bd4ce1dbfde75c694f6c6adc1", + "commits": [], + "end_line": 33, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/GraylogNodeModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "347443da4a959632f7c74f57f07d6ed0cd5deae1", + "commits": [], + "end_line": 23, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/MessageFilterBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "bd78cdbf21fa7b3d886c4d0fb57e1b060f66b098", + "commits": [], + "end_line": 31, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/MessageOutputBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + }, + { + "count": 19, + "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/rest", + "kind": "uses", + "refs": [ + { + "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "commits": [], + "end_line": 55, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 55 + }, + { + "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "commits": [], + "end_line": 56, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 56 + }, + { + "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "commits": [], + "end_line": 57, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 57 + }, + { + "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "commits": [], + "end_line": 58, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 58 + }, + { + "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "commits": [], + "end_line": 71, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 71 + }, + { + "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "commits": [], + "end_line": 72, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 72 + }, + { + "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "commits": [], + "end_line": 73, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 73 + }, + { + "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "commits": [], + "end_line": 74, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 74 + }, + { + "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "commits": [], + "end_line": 75, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 75 + }, + { + "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "commits": [], + "end_line": 76, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 76 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + }, + { + "count": 17, + "dst": "M:graylog2-server/src/main/java/org/graylog2/security", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/security", + "kind": "uses", + "refs": [ + { + "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", + "commits": [], + "end_line": 33, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "4e4928bcb911820bd4ce1dbfde75c694f6c6adc1", + "commits": [], + "end_line": 34, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/GraylogNodeModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "942cf043965c16a274d2b079a9dcf73612beb1eb", + "commits": [], + "end_line": 23, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PasswordAlgorithmBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "942cf043965c16a274d2b079a9dcf73612beb1eb", + "commits": [], + "end_line": 24, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PasswordAlgorithmBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "942cf043965c16a274d2b079a9dcf73612beb1eb", + "commits": [], + "end_line": 25, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PasswordAlgorithmBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "commits": [], + "end_line": 59, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 59 + }, + { + "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "commits": [], + "end_line": 60, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 60 + }, + { + "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "commits": [], + "end_line": 61, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 61 + }, + { + "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "commits": [], + "end_line": 62, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 62 + }, + { + "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "commits": [], + "end_line": 85, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 85 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + }, + { + "count": 24, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/shared", + "kind": "uses", + "refs": [ + { + "blob_sha": "4e4928bcb911820bd4ce1dbfde75c694f6c6adc1", + "commits": [], + "end_line": 35, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/GraylogNodeModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + }, + { + "blob_sha": "4e4928bcb911820bd4ce1dbfde75c694f6c6adc1", + "commits": [], + "end_line": 36, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/GraylogNodeModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + }, + { + "blob_sha": "4e4928bcb911820bd4ce1dbfde75c694f6c6adc1", + "commits": [], + "end_line": 37, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/GraylogNodeModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 37 + }, + { + "blob_sha": "4e4928bcb911820bd4ce1dbfde75c694f6c6adc1", + "commits": [], + "end_line": 38, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/GraylogNodeModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 38 + }, + { + "blob_sha": "4e4928bcb911820bd4ce1dbfde75c694f6c6adc1", + "commits": [], + "end_line": 39, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/GraylogNodeModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 39 + }, + { + "blob_sha": "bd78cdbf21fa7b3d886c4d0fb57e1b060f66b098", + "commits": [], + "end_line": 33, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/MessageOutputBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "6359c59f1c4bb37ac096fd17cd856f4a0b0dbbff", + "commits": [], + "end_line": 42, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/NamedConfigParametersOverrideModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 42 + }, + { + "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "commits": [], + "end_line": 63, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 63 + }, + { + "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "commits": [], + "end_line": 64, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 64 + }, + { + "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "commits": [], + "end_line": 65, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 65 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + }, + { + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog2/storage", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/storage", + "kind": "uses", + "refs": [ + { + "blob_sha": "c2d3091b87080f17e3d0b3b2f191dde3f8063094", + "commits": [], + "end_line": 23, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ElasticsearchModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "c2d3091b87080f17e3d0b3b2f191dde3f8063094", + "commits": [], + "end_line": 24, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ElasticsearchModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "c2d3091b87080f17e3d0b3b2f191dde3f8063094", + "commits": [], + "end_line": 25, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ElasticsearchModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "commits": [], + "end_line": 98, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 98 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + }, + { + "count": 8, + "dst": "M:graylog2-server/src/main/java/org/graylog2/streams", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/streams", + "kind": "uses", + "refs": [ + { + "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", + "commits": [], + "end_line": 34, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", + "commits": [], + "end_line": 35, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + }, + { + "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", + "commits": [], + "end_line": 36, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + }, + { + "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", + "commits": [], + "end_line": 37, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 37 + }, + { + "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "commits": [], + "end_line": 99, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 99 + }, + { + "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "commits": [], + "end_line": 100, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 100 + }, + { + "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "commits": [], + "end_line": 101, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 101 + }, + { + "blob_sha": "ee579e5f166a05459d05223226035640b5c5e4ed", + "commits": [], + "end_line": 22, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/providers/DefaultStreamProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + }, + { + "count": 16, + "dst": "M:graylog2-server/src/main/java/org/graylog2/system", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/system", + "kind": "uses", + "refs": [ + { + "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", + "commits": [], + "end_line": 38, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 38 + }, + { + "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "commits": [], + "end_line": 66, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 66 + }, + { + "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "commits": [], + "end_line": 67, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 67 + }, + { + "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "commits": [], + "end_line": 102, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 102 + }, + { + "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "commits": [], + "end_line": 103, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 103 + }, + { + "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "commits": [], + "end_line": 104, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 104 + }, + { + "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "commits": [], + "end_line": 105, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 105 + }, + { + "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "commits": [], + "end_line": 106, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 106 + }, + { + "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "commits": [], + "end_line": 107, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 107 + }, + { + "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "commits": [], + "end_line": 108, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 108 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/telemetry", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/telemetry", + "kind": "uses", + "refs": [ + { + "blob_sha": "bcdb7f8e6d036c42e9a745668052f7dec322f69d", + "commits": [], + "end_line": 46, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PeriodicalBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 46 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/tokenusage", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/tokenusage", + "kind": "uses", + "refs": [ + { + "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "commits": [], + "end_line": 68, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 68 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + }, + { + "count": 9, + "dst": "M:graylog2-server/src/main/java/org/graylog2/users", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bindings->M:graylog2-server/src/main/java/org/graylog2/users", + "kind": "uses", + "refs": [ + { + "blob_sha": "5b7e351eb5659240f0e6bafefb8eca278e47cbf3", + "commits": [], + "end_line": 39, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/DbEntitiesModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 39 + }, + { + "blob_sha": "942cf043965c16a274d2b079a9dcf73612beb1eb", + "commits": [], + "end_line": 26, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PasswordAlgorithmBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "commits": [], + "end_line": 69, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 69 + }, + { + "blob_sha": "03c1fb6c9f0c6eb10c686e5a82f123d1009bdffb", + "commits": [], + "end_line": 70, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/PersistenceServicesBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 70 + }, + { + "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "commits": [], + "end_line": 113, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 113 + }, + { + "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "commits": [], + "end_line": 114, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 114 + }, + { + "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "commits": [], + "end_line": 115, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 115 + }, + { + "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "commits": [], + "end_line": 116, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 116 + }, + { + "blob_sha": "0a32be8d03e2500e7235273778315390c32ee164", + "commits": [], + "end_line": 117, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bindings/ServerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 117 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bindings" + }, + { + "count": 12, + "dst": "M:graylog2-server/src/main/java/org/graylog/security", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bootstrap->M:graylog2-server/src/main/java/org/graylog/security", + "kind": "uses", + "refs": [ + { + "blob_sha": "c2df60d7a6d45597acdf9021de4b99b3192c5015", + "commits": [], + "end_line": 22, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/Main.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "c2df60d7a6d45597acdf9021de4b99b3192c5015", + "commits": [], + "end_line": 23, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/Main.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "c2df60d7a6d45597acdf9021de4b99b3192c5015", + "commits": [], + "end_line": 24, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/Main.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "c2df60d7a6d45597acdf9021de4b99b3192c5015", + "commits": [], + "end_line": 25, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/Main.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "c2df60d7a6d45597acdf9021de4b99b3192c5015", + "commits": [], + "end_line": 26, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/Main.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "c2df60d7a6d45597acdf9021de4b99b3192c5015", + "commits": [], + "end_line": 27, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/Main.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "ff2e206d42abc3ce24d1dc5ffe1bdcfb457eeb07", + "commits": [], + "end_line": 35, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/ServerBootstrap.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + }, + { + "blob_sha": "eea2521c8a943ed13e4f38c8d0e101fc33d168b5", + "commits": [], + "end_line": 21, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/GraylogCertificateProvisionerImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "4e9d014cba6692264466d7275387ed2c1e16346c", + "commits": [], + "end_line": 39, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/web/resources/PreflightResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 39 + }, + { + "blob_sha": "4e9d014cba6692264466d7275387ed2c1e16346c", + "commits": [], + "end_line": 40, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/web/resources/PreflightResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 40 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bootstrap" + }, + { + "count": 7, + "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bootstrap->M:graylog2-server/src/main/java/org/graylog2/(root)", + "kind": "uses", + "refs": [ + { + "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "commits": [], + "end_line": 59, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 59 + }, + { + "blob_sha": "ff2e206d42abc3ce24d1dc5ffe1bdcfb457eeb07", + "commits": [], + "end_line": 36, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/ServerBootstrap.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + }, + { + "blob_sha": "52c0b8367736f3c21ba549c44337d15654b39a3d", + "commits": [], + "end_line": 22, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/DiskJournalPreflightCheck.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "97883a4dcb72bbece8251b32a0451f0d31cdd985", + "commits": [], + "end_line": 24, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/PreflightConfigServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "1a032b52bde9388e6ee1373b51fe1724cdef0ba5", + "commits": [], + "end_line": 42, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/PreflightJerseyService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 42 + }, + { + "blob_sha": "5560dc8142c935c67b315483c6faa9e217272c9a", + "commits": [], + "end_line": 24, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/PreflightWebModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "ea28d5617df8cdd2e620d35a35b6566c4e69fa37", + "commits": [], + "end_line": 19, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/web/PreflightBoot.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bootstrap" + }, + { + "count": 9, + "dst": "M:graylog2-server/src/main/java/org/graylog2/audit", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bootstrap->M:graylog2-server/src/main/java/org/graylog2/audit", + "kind": "uses", + "refs": [ + { + "blob_sha": "ff2e206d42abc3ce24d1dc5ffe1bdcfb457eeb07", + "commits": [], + "end_line": 37, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/ServerBootstrap.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 37 + }, + { + "blob_sha": "ff2e206d42abc3ce24d1dc5ffe1bdcfb457eeb07", + "commits": [], + "end_line": 38, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/ServerBootstrap.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 38 + }, + { + "blob_sha": "ff2e206d42abc3ce24d1dc5ffe1bdcfb457eeb07", + "commits": [], + "end_line": 99, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/ServerBootstrap.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 99 + }, + { + "blob_sha": "ff2e206d42abc3ce24d1dc5ffe1bdcfb457eeb07", + "commits": [], + "end_line": 100, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/ServerBootstrap.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 100 + }, + { + "blob_sha": "9b4506e664f34e53512ce334d70ee7267beda65d", + "commits": [], + "end_line": 21, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/ServerPreflightChecksModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "9b4506e664f34e53512ce334d70ee7267beda65d", + "commits": [], + "end_line": 22, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/ServerPreflightChecksModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "aadb40939f30715ac8d704ce43bdeb5be4663471", + "commits": [], + "end_line": 28, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/web/resources/CertificateRenewalPolicyResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "4e9d014cba6692264466d7275387ed2c1e16346c", + "commits": [], + "end_line": 43, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/web/resources/PreflightResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 43 + }, + { + "blob_sha": "457721f6ae26d7623251803b01df4298f8b3201c", + "commits": [], + "end_line": 26, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/web/resources/PreflightStatusResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bootstrap" + }, + { + "count": 5, + "dst": "M:graylog2-server/src/main/java/org/graylog2/bindings", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bootstrap->M:graylog2-server/src/main/java/org/graylog2/bindings", + "kind": "uses", + "refs": [ + { + "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "commits": [], + "end_line": 60, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 60 + }, + { + "blob_sha": "ff2e206d42abc3ce24d1dc5ffe1bdcfb457eeb07", + "commits": [], + "end_line": 39, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/ServerBootstrap.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 39 + }, + { + "blob_sha": "ff2e206d42abc3ce24d1dc5ffe1bdcfb457eeb07", + "commits": [], + "end_line": 40, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/ServerBootstrap.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 40 + }, + { + "blob_sha": "5560dc8142c935c67b315483c6faa9e217272c9a", + "commits": [], + "end_line": 25, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/PreflightWebModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "5560dc8142c935c67b315483c6faa9e217272c9a", + "commits": [], + "end_line": 26, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/PreflightWebModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bootstrap" + }, + { + "count": 19, + "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bootstrap->M:graylog2-server/src/main/java/org/graylog2/cluster", + "kind": "uses", + "refs": [ + { + "blob_sha": "ff2e206d42abc3ce24d1dc5ffe1bdcfb457eeb07", + "commits": [], + "end_line": 48, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/ServerBootstrap.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 48 + }, + { + "blob_sha": "ff2e206d42abc3ce24d1dc5ffe1bdcfb457eeb07", + "commits": [], + "end_line": 49, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/ServerBootstrap.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 49 + }, + { + "blob_sha": "eea2521c8a943ed13e4f38c8d0e101fc33d168b5", + "commits": [], + "end_line": 22, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/GraylogCertificateProvisionerImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "731f0a44b2c54dd49fb0b38fb6216abf71f29d9c", + "commits": [], + "end_line": 20, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/NullNotificationService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "5560dc8142c935c67b315483c6faa9e217272c9a", + "commits": [], + "end_line": 32, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/PreflightWebModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "5560dc8142c935c67b315483c6faa9e217272c9a", + "commits": [], + "end_line": 33, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/PreflightWebModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "5560dc8142c935c67b315483c6faa9e217272c9a", + "commits": [], + "end_line": 34, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/PreflightWebModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "5560dc8142c935c67b315483c6faa9e217272c9a", + "commits": [], + "end_line": 35, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/PreflightWebModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + }, + { + "blob_sha": "5560dc8142c935c67b315483c6faa9e217272c9a", + "commits": [], + "end_line": 36, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/PreflightWebModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + }, + { + "blob_sha": "5560dc8142c935c67b315483c6faa9e217272c9a", + "commits": [], + "end_line": 37, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/PreflightWebModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 37 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bootstrap" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/commands", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bootstrap->M:graylog2-server/src/main/java/org/graylog2/commands", + "kind": "uses", + "refs": [ + { + "blob_sha": "ff2e206d42abc3ce24d1dc5ffe1bdcfb457eeb07", + "commits": [], + "end_line": 50, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/ServerBootstrap.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 50 + }, + { + "blob_sha": "8587c31e9cb199988ab38a40ac2aceef37a08482", + "commits": [], + "end_line": 20, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/commands/MigrateCmd.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bootstrap" + }, + { + "count": 8, + "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bootstrap->M:graylog2-server/src/main/java/org/graylog2/configuration", + "kind": "uses", + "refs": [ + { + "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "commits": [], + "end_line": 62, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 62 + }, + { + "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "commits": [], + "end_line": 63, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 63 + }, + { + "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "commits": [], + "end_line": 64, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 64 + }, + { + "blob_sha": "ff2e206d42abc3ce24d1dc5ffe1bdcfb457eeb07", + "commits": [], + "end_line": 51, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/ServerBootstrap.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 51 + }, + { + "blob_sha": "6fe1bd559852868f54cbfbca28190db5bd5acf51", + "commits": [], + "end_line": 29, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/MongoDBPreflightCheck.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "1a032b52bde9388e6ee1373b51fe1724cdef0ba5", + "commits": [], + "end_line": 44, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/PreflightJerseyService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 44 + }, + { + "blob_sha": "68fd06d7732cc1c2533c93b9f97970b530896ea6", + "commits": [], + "end_line": 20, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/SearchDbPreflightCheck.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "68fd06d7732cc1c2533c93b9f97970b530896ea6", + "commits": [], + "end_line": 32, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/SearchDbPreflightCheck.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bootstrap" + }, + { + "count": 5, + "dst": "M:graylog2-server/src/main/java/org/graylog2/database", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bootstrap->M:graylog2-server/src/main/java/org/graylog2/database", + "kind": "uses", + "refs": [ + { + "blob_sha": "6fe1bd559852868f54cbfbca28190db5bd5acf51", + "commits": [], + "end_line": 30, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/MongoDBPreflightCheck.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "6fe1bd559852868f54cbfbca28190db5bd5acf51", + "commits": [], + "end_line": 31, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/MongoDBPreflightCheck.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "6fe1bd559852868f54cbfbca28190db5bd5acf51", + "commits": [], + "end_line": 32, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/MongoDBPreflightCheck.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "97883a4dcb72bbece8251b32a0451f0d31cdd985", + "commits": [], + "end_line": 25, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/PreflightConfigServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "5560dc8142c935c67b315483c6faa9e217272c9a", + "commits": [], + "end_line": 39, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/PreflightWebModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 39 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bootstrap" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/datanode", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bootstrap->M:graylog2-server/src/main/java/org/graylog2/datanode", + "kind": "uses", + "refs": [ + { + "blob_sha": "4e9d014cba6692264466d7275387ed2c1e16346c", + "commits": [], + "end_line": 54, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/web/resources/PreflightResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 54 + }, + { + "blob_sha": "4e9d014cba6692264466d7275387ed2c1e16346c", + "commits": [], + "end_line": 55, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/web/resources/PreflightResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 55 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bootstrap" + }, + { + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog2/events", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bootstrap->M:graylog2-server/src/main/java/org/graylog2/events", + "kind": "uses", + "refs": [ + { + "blob_sha": "5560dc8142c935c67b315483c6faa9e217272c9a", + "commits": [], + "end_line": 40, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/PreflightWebModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 40 + }, + { + "blob_sha": "5560dc8142c935c67b315483c6faa9e217272c9a", + "commits": [], + "end_line": 41, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/PreflightWebModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 41 + }, + { + "blob_sha": "5560dc8142c935c67b315483c6faa9e217272c9a", + "commits": [], + "end_line": 42, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/PreflightWebModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 42 + }, + { + "blob_sha": "5560dc8142c935c67b315483c6faa9e217272c9a", + "commits": [], + "end_line": 43, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/PreflightWebModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 43 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bootstrap" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/featureflag", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bootstrap->M:graylog2-server/src/main/java/org/graylog2/featureflag", + "kind": "uses", + "refs": [ + { + "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "commits": [], + "end_line": 65, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 65 + }, + { + "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "commits": [], + "end_line": 66, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 66 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bootstrap" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bootstrap->M:graylog2-server/src/main/java/org/graylog2/indexer", + "kind": "uses", + "refs": [ + { + "blob_sha": "ff2e206d42abc3ce24d1dc5ffe1bdcfb457eeb07", + "commits": [], + "end_line": 52, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/ServerBootstrap.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 52 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bootstrap" + }, + { + "count": 5, + "dst": "M:graylog2-server/src/main/java/org/graylog2/migrations", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bootstrap->M:graylog2-server/src/main/java/org/graylog2/migrations", + "kind": "uses", + "refs": [ + { + "blob_sha": "ff2e206d42abc3ce24d1dc5ffe1bdcfb457eeb07", + "commits": [], + "end_line": 53, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/ServerBootstrap.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 53 + }, + { + "blob_sha": "ff2e206d42abc3ce24d1dc5ffe1bdcfb457eeb07", + "commits": [], + "end_line": 54, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/ServerBootstrap.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 54 + }, + { + "blob_sha": "8587c31e9cb199988ab38a40ac2aceef37a08482", + "commits": [], + "end_line": 21, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/commands/MigrateCmd.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "5560dc8142c935c67b315483c6faa9e217272c9a", + "commits": [], + "end_line": 44, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/PreflightWebModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 44 + }, + { + "blob_sha": "5560dc8142c935c67b315483c6faa9e217272c9a", + "commits": [], + "end_line": 45, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/PreflightWebModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 45 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bootstrap" + }, + { + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog2/notifications", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bootstrap->M:graylog2-server/src/main/java/org/graylog2/notifications", + "kind": "uses", + "refs": [ + { + "blob_sha": "731f0a44b2c54dd49fb0b38fb6216abf71f29d9c", + "commits": [], + "end_line": 21, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/NullNotificationService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "731f0a44b2c54dd49fb0b38fb6216abf71f29d9c", + "commits": [], + "end_line": 22, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/NullNotificationService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "5560dc8142c935c67b315483c6faa9e217272c9a", + "commits": [], + "end_line": 46, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/PreflightWebModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 46 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bootstrap" + }, + { + "count": 38, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bootstrap->M:graylog2-server/src/main/java/org/graylog2/plugin", + "kind": "uses", + "refs": [ + { + "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "commits": [], + "end_line": 67, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 67 + }, + { + "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "commits": [], + "end_line": 68, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 68 + }, + { + "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "commits": [], + "end_line": 69, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 69 + }, + { + "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "commits": [], + "end_line": 70, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 70 + }, + { + "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "commits": [], + "end_line": 71, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 71 + }, + { + "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "commits": [], + "end_line": 72, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 72 + }, + { + "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "commits": [], + "end_line": 73, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 73 + }, + { + "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "commits": [], + "end_line": 74, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 74 + }, + { + "blob_sha": "ff2e206d42abc3ce24d1dc5ffe1bdcfb457eeb07", + "commits": [], + "end_line": 55, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/ServerBootstrap.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 55 + }, + { + "blob_sha": "ff2e206d42abc3ce24d1dc5ffe1bdcfb457eeb07", + "commits": [], + "end_line": 56, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/ServerBootstrap.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 56 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bootstrap" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bootstrap->M:graylog2-server/src/main/java/org/graylog2/rest", + "kind": "uses", + "refs": [ + { + "blob_sha": "1a032b52bde9388e6ee1373b51fe1724cdef0ba5", + "commits": [], + "end_line": 45, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/PreflightJerseyService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 45 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bootstrap" + }, + { + "count": 7, + "dst": "M:graylog2-server/src/main/java/org/graylog2/security", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bootstrap->M:graylog2-server/src/main/java/org/graylog2/security", + "kind": "uses", + "refs": [ + { + "blob_sha": "199c905c4313511f90efb0d0e035c4d951865d09", + "commits": [], + "end_line": 22, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/PasswordSecretPreflightCheck.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "199c905c4313511f90efb0d0e035c4d951865d09", + "commits": [], + "end_line": 23, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/PasswordSecretPreflightCheck.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "2ef5f91f4b3c81fa26481e44ce45b5ef3eb03d7a", + "commits": [], + "end_line": 19, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/PreflightEncryptedSecret.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "9b4506e664f34e53512ce334d70ee7267beda65d", + "commits": [], + "end_line": 28, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/ServerPreflightChecksModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "9b4506e664f34e53512ce334d70ee7267beda65d", + "commits": [], + "end_line": 29, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/ServerPreflightChecksModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "53a2b62061fa9dbae79644401d72985f9cf9421b", + "commits": [], + "end_line": 23, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/web/resources/DatanodeConnectivityCheck.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "53a2b62061fa9dbae79644401d72985f9cf9421b", + "commits": [], + "end_line": 24, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/web/resources/DatanodeConnectivityCheck.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bootstrap" + }, + { + "count": 37, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bootstrap->M:graylog2-server/src/main/java/org/graylog2/shared", + "kind": "uses", + "refs": [ + { + "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "commits": [], + "end_line": 75, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 75 + }, + { + "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "commits": [], + "end_line": 76, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 76 + }, + { + "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "commits": [], + "end_line": 77, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 77 + }, + { + "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "commits": [], + "end_line": 78, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 78 + }, + { + "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "commits": [], + "end_line": 79, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 79 + }, + { + "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "commits": [], + "end_line": 80, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 80 + }, + { + "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "commits": [], + "end_line": 81, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 81 + }, + { + "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "commits": [], + "end_line": 82, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 82 + }, + { + "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "commits": [], + "end_line": 83, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 83 + }, + { + "blob_sha": "ff2e206d42abc3ce24d1dc5ffe1bdcfb457eeb07", + "commits": [], + "end_line": 61, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/ServerBootstrap.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 61 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bootstrap" + }, + { + "count": 14, + "dst": "M:graylog2-server/src/main/java/org/graylog2/storage", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bootstrap->M:graylog2-server/src/main/java/org/graylog2/storage", + "kind": "uses", + "refs": [ + { + "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "commits": [], + "end_line": 84, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 84 + }, + { + "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "commits": [], + "end_line": 85, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 85 + }, + { + "blob_sha": "e98859c8fc1ec127ea2a4143966a0d3a0cc55c94", + "commits": [], + "end_line": 86, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/CmdLineTool.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 86 + }, + { + "blob_sha": "ff2e206d42abc3ce24d1dc5ffe1bdcfb457eeb07", + "commits": [], + "end_line": 78, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/ServerBootstrap.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 78 + }, + { + "blob_sha": "68fd06d7732cc1c2533c93b9f97970b530896ea6", + "commits": [], + "end_line": 22, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/SearchDbPreflightCheck.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "68fd06d7732cc1c2533c93b9f97970b530896ea6", + "commits": [], + "end_line": 23, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/SearchDbPreflightCheck.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "68fd06d7732cc1c2533c93b9f97970b530896ea6", + "commits": [], + "end_line": 24, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/SearchDbPreflightCheck.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "68fd06d7732cc1c2533c93b9f97970b530896ea6", + "commits": [], + "end_line": 25, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/SearchDbPreflightCheck.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "9b4506e664f34e53512ce334d70ee7267beda65d", + "commits": [], + "end_line": 31, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/ServerPreflightChecksModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "434dc49d3a2a8109e509111b3c0fe0602b553e4b", + "commits": [], + "end_line": 20, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/web/resources/ConnectionCheckResult.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bootstrap" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/web", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/bootstrap->M:graylog2-server/src/main/java/org/graylog2/web", + "kind": "uses", + "refs": [ + { + "blob_sha": "5560dc8142c935c67b315483c6faa9e217272c9a", + "commits": [], + "end_line": 52, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/PreflightWebModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 52 + }, + { + "blob_sha": "f1587071b242b7758f126182f03bda0253a06cbf", + "commits": [], + "end_line": 34, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/bootstrap/preflight/web/resources/PreflightAssetsResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/bootstrap" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/buffers->M:graylog2-server/src/main/java/org/graylog2/(root)", + "kind": "uses", + "refs": [ + { + "blob_sha": "503a7047ffe70377819755f445c5f85f7b03fbe1", + "commits": [], + "end_line": 31, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/buffers/processors/OutputBufferProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/buffers" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/outputs", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/buffers->M:graylog2-server/src/main/java/org/graylog2/outputs", + "kind": "uses", + "refs": [ + { + "blob_sha": "503a7047ffe70377819755f445c5f85f7b03fbe1", + "commits": [], + "end_line": 32, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/buffers/processors/OutputBufferProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "503a7047ffe70377819755f445c5f85f7b03fbe1", + "commits": [], + "end_line": 33, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/buffers/processors/OutputBufferProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/buffers" + }, + { + "count": 11, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/buffers->M:graylog2-server/src/main/java/org/graylog2/plugin", + "kind": "uses", + "refs": [ + { + "blob_sha": "444af09a2625eca9bab50f09e358db40ba669d0a", + "commits": [], + "end_line": 25, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/buffers/Buffers.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "444af09a2625eca9bab50f09e358db40ba669d0a", + "commits": [], + "end_line": 26, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/buffers/Buffers.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "e97b03ec23f0460b14da49e60a652933bb6da7c0", + "commits": [], + "end_line": 32, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/buffers/OutputBuffer.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "e97b03ec23f0460b14da49e60a652933bb6da7c0", + "commits": [], + "end_line": 33, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/buffers/OutputBuffer.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "e97b03ec23f0460b14da49e60a652933bb6da7c0", + "commits": [], + "end_line": 34, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/buffers/OutputBuffer.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "e97b03ec23f0460b14da49e60a652933bb6da7c0", + "commits": [], + "end_line": 35, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/buffers/OutputBuffer.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + }, + { + "blob_sha": "503a7047ffe70377819755f445c5f85f7b03fbe1", + "commits": [], + "end_line": 34, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/buffers/processors/OutputBufferProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "503a7047ffe70377819755f445c5f85f7b03fbe1", + "commits": [], + "end_line": 35, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/buffers/processors/OutputBufferProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + }, + { + "blob_sha": "503a7047ffe70377819755f445c5f85f7b03fbe1", + "commits": [], + "end_line": 36, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/buffers/processors/OutputBufferProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + }, + { + "blob_sha": "503a7047ffe70377819755f445c5f85f7b03fbe1", + "commits": [], + "end_line": 37, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/buffers/processors/OutputBufferProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 37 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/buffers" + }, + { + "count": 6, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/buffers->M:graylog2-server/src/main/java/org/graylog2/shared", + "kind": "uses", + "refs": [ + { + "blob_sha": "444af09a2625eca9bab50f09e358db40ba669d0a", + "commits": [], + "end_line": 27, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/buffers/Buffers.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "e97b03ec23f0460b14da49e60a652933bb6da7c0", + "commits": [], + "end_line": 36, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/buffers/OutputBuffer.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + }, + { + "blob_sha": "e97b03ec23f0460b14da49e60a652933bb6da7c0", + "commits": [], + "end_line": 37, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/buffers/OutputBuffer.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 37 + }, + { + "blob_sha": "e97b03ec23f0460b14da49e60a652933bb6da7c0", + "commits": [], + "end_line": 44, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/buffers/OutputBuffer.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 44 + }, + { + "blob_sha": "e97b03ec23f0460b14da49e60a652933bb6da7c0", + "commits": [], + "end_line": 45, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/buffers/OutputBuffer.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 45 + }, + { + "blob_sha": "503a7047ffe70377819755f445c5f85f7b03fbe1", + "commits": [], + "end_line": 39, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/buffers/processors/OutputBufferProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 39 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/buffers" + }, + { + "count": 1, + "dst": "M:graylog2-web-interface/src/components", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/buffers->M:graylog2-web-interface/src/components", + "kind": "uses", + "refs": [ + { + "blob_sha": "503a7047ffe70377819755f445c5f85f7b03fbe1", + "commits": [], + "end_line": 23, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/buffers/processors/OutputBufferProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/buffers" + }, + { + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog/security", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/cluster->M:graylog2-server/src/main/java/org/graylog/security", + "kind": "uses", + "refs": [ + { + "blob_sha": "108690843c429156279dcdcbd35fc2508fa6aa94", + "commits": [], + "end_line": 19, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/certificates/CertificateExchange.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "098a54abffedd5c620750b038ffbc65a2f8a7e35", + "commits": [], + "end_line": 37, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/certificates/CertificateExchangeImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 37 + }, + { + "blob_sha": "2755f214a047bc870ceddf05949651cf1a669128", + "commits": [], + "end_line": 27, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/nodes/DataNodeDto.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/cluster" + }, + { + "count": 6, + "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/cluster->M:graylog2-server/src/main/java/org/graylog2/(root)", + "kind": "uses", + "refs": [ + { + "blob_sha": "c4b6edb3a19f052da9d76259de72ca9e54efda27", + "commits": [], + "end_line": 21, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/leader/AutomaticLeaderElectionService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "e335cbedbad0ecc7e1c96ead070bfc44f5c84acc", + "commits": [], + "end_line": 20, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/leader/LeaderElectionModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "f74192c20fbc3c57bce1037b7c66b2e53a71883d", + "commits": [], + "end_line": 20, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/leader/StaticLeaderElectionService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "3d0788ed105cee0a050373df46f4e3bac96efa24", + "commits": [], + "end_line": 26, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/nodes/AbstractNodeService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "9f8b67a7133c0d41cff789d3e044b3d64cd68d1e", + "commits": [], + "end_line": 20, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/nodes/DataNodeClusterService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "d0e8c14f0cb85fd60ca9756505f0ed5e14f5f9bf", + "commits": [], + "end_line": 20, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/nodes/ServerNodeClusterService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/cluster" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/bindings", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/cluster->M:graylog2-server/src/main/java/org/graylog2/bindings", + "kind": "uses", + "refs": [ + { + "blob_sha": "6c82fc154a0ac42778d18a78d9cfd5ba120af66e", + "commits": [], + "end_line": 30, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/ClusterConfigServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/cluster" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/bootstrap", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/cluster->M:graylog2-server/src/main/java/org/graylog2/bootstrap", + "kind": "uses", + "refs": [ + { + "blob_sha": "e257e95e5646ceab385e00364e68a95d7adfea60", + "commits": [], + "end_line": 20, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/preflight/GraylogServerProvisioningBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "e257e95e5646ceab385e00364e68a95d7adfea60", + "commits": [], + "end_line": 21, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/preflight/GraylogServerProvisioningBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/cluster" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/cluster->M:graylog2-server/src/main/java/org/graylog2/configuration", + "kind": "uses", + "refs": [ + { + "blob_sha": "f940a7c1ff1f00cd989eadb89d4a456b302bdd85", + "commits": [], + "end_line": 26, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/nodes/mongodb/DefaultMongodbConnectionResolver.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "e257e95e5646ceab385e00364e68a95d7adfea60", + "commits": [], + "end_line": 24, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/preflight/GraylogServerProvisioningBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/cluster" + }, + { + "count": 29, + "dst": "M:graylog2-server/src/main/java/org/graylog2/database", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/cluster->M:graylog2-server/src/main/java/org/graylog2/database", + "kind": "uses", + "refs": [ + { + "blob_sha": "e7b26a43741a54a1dc94917ad29928ecccb442cd", + "commits": [], + "end_line": 23, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/ClusterConfig.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "6c82fc154a0ac42778d18a78d9cfd5ba120af66e", + "commits": [], + "end_line": 31, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/ClusterConfigServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "6c82fc154a0ac42778d18a78d9cfd5ba120af66e", + "commits": [], + "end_line": 32, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/ClusterConfigServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "6c82fc154a0ac42778d18a78d9cfd5ba120af66e", + "commits": [], + "end_line": 33, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/ClusterConfigServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "6d37168296dd16b8bd7a68367993121f3feb9a66", + "commits": [], + "end_line": 19, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/NodeNotFoundException.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "098a54abffedd5c620750b038ffbc65a2f8a7e35", + "commits": [], + "end_line": 38, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/certificates/CertificateExchangeImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 38 + }, + { + "blob_sha": "d3d36c7c9fe47f03171910921d55969c484bd76e", + "commits": [], + "end_line": 32, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/lock/MongoLockService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "d3d36c7c9fe47f03171910921d55969c484bd76e", + "commits": [], + "end_line": 54, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/lock/MongoLockService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 54 + }, + { + "blob_sha": "3d0788ed105cee0a050373df46f4e3bac96efa24", + "commits": [], + "end_line": 29, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/nodes/AbstractNodeService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "3d0788ed105cee0a050373df46f4e3bac96efa24", + "commits": [], + "end_line": 30, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/nodes/AbstractNodeService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/cluster" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/datanode", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/cluster->M:graylog2-server/src/main/java/org/graylog2/datanode", + "kind": "uses", + "refs": [ + { + "blob_sha": "2755f214a047bc870ceddf05949651cf1a669128", + "commits": [], + "end_line": 30, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/nodes/DataNodeDto.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "653a90e36cc08729132aefe3a1a94a15ac0e4e9b", + "commits": [], + "end_line": 22, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/nodes/OpensearchVersionsOverview.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/cluster" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/events", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/cluster->M:graylog2-server/src/main/java/org/graylog2/events", + "kind": "uses", + "refs": [ + { + "blob_sha": "6c82fc154a0ac42778d18a78d9cfd5ba120af66e", + "commits": [], + "end_line": 34, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/ClusterConfigServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/cluster" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/cluster->M:graylog2-server/src/main/java/org/graylog2/indexer", + "kind": "uses", + "refs": [ + { + "blob_sha": "4eaf89ce5f5d798bf4e029b614f005789de3fe54", + "commits": [], + "end_line": 24, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/nodes/opensearch/OpensearchNodesProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "4eaf89ce5f5d798bf4e029b614f005789de3fe54", + "commits": [], + "end_line": 25, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/nodes/opensearch/OpensearchNodesProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/cluster" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/periodical", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/cluster->M:graylog2-server/src/main/java/org/graylog2/periodical", + "kind": "uses", + "refs": [ + { + "blob_sha": "c4b6edb3a19f052da9d76259de72ca9e54efda27", + "commits": [], + "end_line": 24, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/leader/AutomaticLeaderElectionService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/cluster" + }, + { + "count": 16, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/cluster->M:graylog2-server/src/main/java/org/graylog2/plugin", + "kind": "uses", + "refs": [ + { + "blob_sha": "6c82fc154a0ac42778d18a78d9cfd5ba120af66e", + "commits": [], + "end_line": 35, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/ClusterConfigServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + }, + { + "blob_sha": "6c82fc154a0ac42778d18a78d9cfd5ba120af66e", + "commits": [], + "end_line": 36, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/ClusterConfigServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + }, + { + "blob_sha": "6ca421c83b2395caa88d2ad71dad11db8a0eaab0", + "commits": [], + "end_line": 20, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/NodeService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "6ca421c83b2395caa88d2ad71dad11db8a0eaab0", + "commits": [], + "end_line": 21, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/NodeService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "73dfcab74c5ebfe5ec9e24d3d3631caa787923a1", + "commits": [], + "end_line": 21, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/NodeServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "73dfcab74c5ebfe5ec9e24d3d3631caa787923a1", + "commits": [], + "end_line": 22, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/NodeServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "919fe466fe5014bf5994a3ff3dba2fb6be63f34f", + "commits": [], + "end_line": 22, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/leader/FakeLeaderElectionModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "e335cbedbad0ecc7e1c96ead070bfc44f5c84acc", + "commits": [], + "end_line": 21, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/leader/LeaderElectionModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "cd5edcb2a80598314ccef7dace205785adc13393", + "commits": [], + "end_line": 21, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/lock/LockServiceModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "d3d36c7c9fe47f03171910921d55969c484bd76e", + "commits": [], + "end_line": 33, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/lock/MongoLockService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/cluster" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/search", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/cluster->M:graylog2-server/src/main/java/org/graylog2/search", + "kind": "uses", + "refs": [ + { + "blob_sha": "a03f8d1a606edb664d3b650c3233f39147fa79ae", + "commits": [], + "end_line": 24, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/nodes/AbstractPaginatedNodeService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/cluster" + }, + { + "count": 6, + "dst": "M:graylog2-server/src/main/java/org/graylog2/security", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/cluster->M:graylog2-server/src/main/java/org/graylog2/security", + "kind": "uses", + "refs": [ + { + "blob_sha": "6c82fc154a0ac42778d18a78d9cfd5ba120af66e", + "commits": [], + "end_line": 37, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/ClusterConfigServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 37 + }, + { + "blob_sha": "6c82fc154a0ac42778d18a78d9cfd5ba120af66e", + "commits": [], + "end_line": 38, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/ClusterConfigServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 38 + }, + { + "blob_sha": "098a54abffedd5c620750b038ffbc65a2f8a7e35", + "commits": [], + "end_line": 39, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/certificates/CertificateExchangeImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 39 + }, + { + "blob_sha": "098a54abffedd5c620750b038ffbc65a2f8a7e35", + "commits": [], + "end_line": 40, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/certificates/CertificateExchangeImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 40 + }, + { + "blob_sha": "d43f4e5f810ecb22ff370ccd54d7f5117ddf9a95", + "commits": [], + "end_line": 19, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/certificates/EncryptedCaKeystore.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "e68a2f11bc51d7d5c50a7eca9f0019fa7bfc6f4c", + "commits": [], + "end_line": 20, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/certificates/NodeCertificate.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/cluster" + }, + { + "count": 7, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/cluster->M:graylog2-server/src/main/java/org/graylog2/shared", + "kind": "uses", + "refs": [ + { + "blob_sha": "6c82fc154a0ac42778d18a78d9cfd5ba120af66e", + "commits": [], + "end_line": 39, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/ClusterConfigServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 39 + }, + { + "blob_sha": "f0e5ab9a865d567f58263e1a79b1ef285ee576f7", + "commits": [], + "end_line": 22, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/Node.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "73dfcab74c5ebfe5ec9e24d3d3631caa787923a1", + "commits": [], + "end_line": 23, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/NodeServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "d3d36c7c9fe47f03171910921d55969c484bd76e", + "commits": [], + "end_line": 55, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/lock/MongoLockService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 55 + }, + { + "blob_sha": "361daa0f9dd32d1cdd8b8c16455a5425fc426dae", + "commits": [], + "end_line": 31, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/lock/RefreshingLockService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "b0d82f67fc7966e740f5ec44eb08dd24cebf054b", + "commits": [], + "end_line": 34, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/nodes/ServerNodeDto.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "6aea7c9e410155ea0efcb3df382cee6032a4216c", + "commits": [], + "end_line": 30, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/nodes/mongodb/MongodbNodeUtils.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/cluster" + }, + { + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog2/system", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/cluster->M:graylog2-server/src/main/java/org/graylog2/system", + "kind": "uses", + "refs": [ + { + "blob_sha": "f940a7c1ff1f00cd989eadb89d4a456b302bdd85", + "commits": [], + "end_line": 27, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/nodes/mongodb/DefaultMongodbConnectionResolver.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "f940a7c1ff1f00cd989eadb89d4a456b302bdd85", + "commits": [], + "end_line": 28, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/nodes/mongodb/DefaultMongodbConnectionResolver.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "4eaf89ce5f5d798bf4e029b614f005789de3fe54", + "commits": [], + "end_line": 26, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/nodes/opensearch/OpensearchNodesProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "4eaf89ce5f5d798bf4e029b614f005789de3fe54", + "commits": [], + "end_line": 27, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/nodes/opensearch/OpensearchNodesProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/cluster" + }, + { + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog2/utilities", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/cluster->M:graylog2-server/src/main/java/org/graylog2/utilities", + "kind": "uses", + "refs": [ + { + "blob_sha": "d7f8c1020701fa7d3bfd8154b2a4f2d9ab6d599d", + "commits": [], + "end_line": 21, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/nodes/mongodb/MongodbNode.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "d7f8c1020701fa7d3bfd8154b2a4f2d9ab6d599d", + "commits": [], + "end_line": 22, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/nodes/mongodb/MongodbNode.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "83d2d1260c4299c8330e5d6876559a3f091fb5b9", + "commits": [], + "end_line": 21, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/nodes/opensearch/OpensearchNode.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "83d2d1260c4299c8330e5d6876559a3f091fb5b9", + "commits": [], + "end_line": 22, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/cluster/nodes/opensearch/OpensearchNode.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/cluster" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog/api", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog/api", + "kind": "uses", + "refs": [ + { + "blob_sha": "beddad0394b85ddfab65caa927ee89b8cdd58869", + "commits": [], + "end_line": 21, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/ServerCommandsProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog/collectors", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog/collectors", + "kind": "uses", + "refs": [ + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 32, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog/enterprise", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog/enterprise", + "kind": "uses", + "refs": [ + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 33, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog/events", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog/events", + "kind": "uses", + "refs": [ + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 34, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 35, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog/grn", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog/grn", + "kind": "uses", + "refs": [ + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 36, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog/mcp", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog/mcp", + "kind": "uses", + "refs": [ + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 37, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 37 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog/metrics", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog/metrics", + "kind": "uses", + "refs": [ + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 38, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 38 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 39, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 39 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + }, + { + "count": 15, + "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog/plugins", + "kind": "uses", + "refs": [ + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 40, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 40 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 41, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 41 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 42, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 42 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 43, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 43 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 44, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 44 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 45, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 45 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 46, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 46 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 47, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 47 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 48, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 48 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 49, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 49 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog/scheduler", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog/scheduler", + "kind": "uses", + "refs": [ + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 55, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 55 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 56, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 56 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + }, + { + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog/security", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog/security", + "kind": "uses", + "refs": [ + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 57, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 57 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 58, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 58 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 59, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 59 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog/tracing", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog/tracing", + "kind": "uses", + "refs": [ + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 60, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 60 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + }, + { + "count": 5, + "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/(root)", + "kind": "uses", + "refs": [ + { + "blob_sha": "d85b2154b75a3ba241e6b9dc203511a4e37cfd06", + "commits": [], + "end_line": 22, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/AbstractNodeCommand.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 61, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 61 + }, + { + "blob_sha": "334dc0bc7a98740e208a9ed186449b0c75fca835", + "commits": [], + "end_line": 21, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/journal/AbstractJournalCommand.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "e807555d8d99edeb2f0051c0fdd0c5a68e574ba1", + "commits": [], + "end_line": 24, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/token/AbstractAutomationTokenCommand.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "712f8e5acd0b4f6bec76a20cf8c7d6eb6e1c7c95", + "commits": [], + "end_line": 24, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/token/AutomationTokenCommandExecution.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/alerts", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/alerts", + "kind": "uses", + "refs": [ + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 62, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 62 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + }, + { + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog2/audit", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/audit", + "kind": "uses", + "refs": [ + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 63, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 63 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 64, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 64 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 137, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 137 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + }, + { + "count": 13, + "dst": "M:graylog2-server/src/main/java/org/graylog2/bindings", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/bindings", + "kind": "uses", + "refs": [ + { + "blob_sha": "d85b2154b75a3ba241e6b9dc203511a4e37cfd06", + "commits": [], + "end_line": 23, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/AbstractNodeCommand.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 65, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 65 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 66, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 66 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 67, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 67 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 68, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 68 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 69, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 69 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 70, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 70 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 71, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 71 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 72, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 72 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 73, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 73 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + }, + { + "count": 6, + "dst": "M:graylog2-server/src/main/java/org/graylog2/bootstrap", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/bootstrap", + "kind": "uses", + "refs": [ + { + "blob_sha": "d85b2154b75a3ba241e6b9dc203511a4e37cfd06", + "commits": [], + "end_line": 24, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/AbstractNodeCommand.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 76, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 76 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 77, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 77 + }, + { + "blob_sha": "beddad0394b85ddfab65caa927ee89b8cdd58869", + "commits": [], + "end_line": 22, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/ServerCommandsProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "beddad0394b85ddfab65caa927ee89b8cdd58869", + "commits": [], + "end_line": 23, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/ServerCommandsProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "beddad0394b85ddfab65caa927ee89b8cdd58869", + "commits": [], + "end_line": 24, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/ServerCommandsProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + }, + { + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/cluster", + "kind": "uses", + "refs": [ + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 78, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 78 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 79, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 79 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 80, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 80 + }, + { + "blob_sha": "e807555d8d99edeb2f0051c0fdd0c5a68e574ba1", + "commits": [], + "end_line": 26, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/token/AbstractAutomationTokenCommand.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + }, + { + "count": 8, + "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/configuration", + "kind": "uses", + "refs": [ + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 81, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 81 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 82, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 82 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 83, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 83 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 84, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 84 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 85, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 85 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 86, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 86 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 87, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 87 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 88, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 88 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/contentpacks", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/contentpacks", + "kind": "uses", + "refs": [ + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 89, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 89 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + }, + { + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog2/database", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/database", + "kind": "uses", + "refs": [ + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 90, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 90 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 91, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 91 + }, + { + "blob_sha": "712f8e5acd0b4f6bec76a20cf8c7d6eb6e1c7c95", + "commits": [], + "end_line": 25, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/token/AutomationTokenCommandExecution.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/datanode", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/datanode", + "kind": "uses", + "refs": [ + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 92, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 92 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/datatiering", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/datatiering", + "kind": "uses", + "refs": [ + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 93, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 93 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/decorators", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/decorators", + "kind": "uses", + "refs": [ + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 94, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 94 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + }, + { + "count": 6, + "dst": "M:graylog2-server/src/main/java/org/graylog2/featureflag", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/featureflag", + "kind": "uses", + "refs": [ + { + "blob_sha": "d85b2154b75a3ba241e6b9dc203511a4e37cfd06", + "commits": [], + "end_line": 25, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/AbstractNodeCommand.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 95, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 95 + }, + { + "blob_sha": "334dc0bc7a98740e208a9ed186449b0c75fca835", + "commits": [], + "end_line": 23, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/journal/AbstractJournalCommand.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "5992158e8cdaae8c3c1d21cf1df20e058ba1d0ec", + "commits": [], + "end_line": 29, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/journal/JournalDecode.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "e807555d8d99edeb2f0051c0fdd0c5a68e574ba1", + "commits": [], + "end_line": 28, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/token/AbstractAutomationTokenCommand.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "5ace194e23cabd396da495148a4699454a825258", + "commits": [], + "end_line": 26, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/token/AutomationTokenCommand.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + }, + { + "count": 5, + "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/indexer", + "kind": "uses", + "refs": [ + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 96, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 96 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 97, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 97 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 98, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 98 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 99, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 99 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 100, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 100 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/inputs", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/inputs", + "kind": "uses", + "refs": [ + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 101, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 101 + }, + { + "blob_sha": "5992158e8cdaae8c3c1d21cf1df20e058ba1d0ec", + "commits": [], + "end_line": 30, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/journal/JournalDecode.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/lookup", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/lookup", + "kind": "uses", + "refs": [ + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 102, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 102 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/messageprocessors", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/messageprocessors", + "kind": "uses", + "refs": [ + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 103, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 103 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/metrics", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/metrics", + "kind": "uses", + "refs": [ + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 104, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 104 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/migrations", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/migrations", + "kind": "uses", + "refs": [ + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 105, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 105 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/notifications", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/notifications", + "kind": "uses", + "refs": [ + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 106, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 106 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 107, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 107 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + }, + { + "count": 19, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/plugin", + "kind": "uses", + "refs": [ + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 108, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 108 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 109, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 109 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 138, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 138 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 139, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 139 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 140, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 140 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 110, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 110 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 111, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 111 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 112, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 112 + }, + { + "blob_sha": "334dc0bc7a98740e208a9ed186449b0c75fca835", + "commits": [], + "end_line": 24, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/journal/AbstractJournalCommand.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "334dc0bc7a98740e208a9ed186449b0c75fca835", + "commits": [], + "end_line": 25, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/journal/AbstractJournalCommand.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/rest", + "kind": "uses", + "refs": [ + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 113, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 113 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + }, + { + "count": 5, + "dst": "M:graylog2-server/src/main/java/org/graylog2/security", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/security", + "kind": "uses", + "refs": [ + { + "blob_sha": "5ace194e23cabd396da495148a4699454a825258", + "commits": [], + "end_line": 27, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/token/AutomationTokenCommand.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "5ace194e23cabd396da495148a4699454a825258", + "commits": [], + "end_line": 28, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/token/AutomationTokenCommand.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "712f8e5acd0b4f6bec76a20cf8c7d6eb6e1c7c95", + "commits": [], + "end_line": 28, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/token/AutomationTokenCommandExecution.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "712f8e5acd0b4f6bec76a20cf8c7d6eb6e1c7c95", + "commits": [], + "end_line": 29, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/token/AutomationTokenCommandExecution.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "712f8e5acd0b4f6bec76a20cf8c7d6eb6e1c7c95", + "commits": [], + "end_line": 30, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/token/AutomationTokenCommandExecution.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + }, + { + "count": 11, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/shared", + "kind": "uses", + "refs": [ + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 114, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 114 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 115, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 115 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 116, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 116 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 117, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 117 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 118, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 118 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 119, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 119 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 120, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 120 + }, + { + "blob_sha": "334dc0bc7a98740e208a9ed186449b0c75fca835", + "commits": [], + "end_line": 26, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/journal/AbstractJournalCommand.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "334dc0bc7a98740e208a9ed186449b0c75fca835", + "commits": [], + "end_line": 27, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/journal/AbstractJournalCommand.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "5992158e8cdaae8c3c1d21cf1df20e058ba1d0ec", + "commits": [], + "end_line": 37, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/journal/JournalDecode.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 37 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/storage", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/storage", + "kind": "uses", + "refs": [ + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 121, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 121 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 122, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 122 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/streams", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/streams", + "kind": "uses", + "refs": [ + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 123, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 123 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/system", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/system", + "kind": "uses", + "refs": [ + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 124, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 124 + }, + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 125, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 125 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/telemetry", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/commands->M:graylog2-server/src/main/java/org/graylog2/telemetry", + "kind": "uses", + "refs": [ + { + "blob_sha": "5ffb6ebd84f87320ddd4562b6467bc28dabd626f", + "commits": [], + "end_line": 126, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/commands/Server.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 126 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/commands" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog/security", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/configuration->M:graylog2-server/src/main/java/org/graylog/security", + "kind": "uses", + "refs": [ + { + "blob_sha": "2b4f8f62b60c19c330588e772afb6814a5031d3c", + "commits": [], + "end_line": 20, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexerDiscoverySecurityAutoconfig.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/configuration" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/configuration->M:graylog2-server/src/main/java/org/graylog2/(root)", + "kind": "uses", + "refs": [ + { + "blob_sha": "60784263652ca2755b18d0dc2cda9d1224b580eb", + "commits": [], + "end_line": 24, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/ExposedConfiguration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "2b4f8f62b60c19c330588e772afb6814a5031d3c", + "commits": [], + "end_line": 21, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexerDiscoverySecurityAutoconfig.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/configuration" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/bindings", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/configuration->M:graylog2-server/src/main/java/org/graylog2/bindings", + "kind": "uses", + "refs": [ + { + "blob_sha": "ab7ce4d1ecd0552cd8a193e769b7af18576f5f3f", + "commits": [], + "end_line": 22, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexerDiscoveryModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/configuration" + }, + { + "count": 9, + "dst": "M:graylog2-server/src/main/java/org/graylog2/bootstrap", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/configuration->M:graylog2-server/src/main/java/org/graylog2/bootstrap", + "kind": "uses", + "refs": [ + { + "blob_sha": "e4751296187b241abb2b3ae74312bab90e82ad41", + "commits": [], + "end_line": 20, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexerDiscoveryCertProvisioning.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "ab7ce4d1ecd0552cd8a193e769b7af18576f5f3f", + "commits": [], + "end_line": 23, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexerDiscoveryModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "ab7ce4d1ecd0552cd8a193e769b7af18576f5f3f", + "commits": [], + "end_line": 24, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexerDiscoveryModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "6f3f9840bb8a4cd3a47a8cff54b72869f150a5e4", + "commits": [], + "end_line": 30, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexerDiscoveryProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "6f3f9840bb8a4cd3a47a8cff54b72869f150a5e4", + "commits": [], + "end_line": 31, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexerDiscoveryProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "2b4f8f62b60c19c330588e772afb6814a5031d3c", + "commits": [], + "end_line": 22, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexerDiscoverySecurityAutoconfig.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "2b4f8f62b60c19c330588e772afb6814a5031d3c", + "commits": [], + "end_line": 23, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexerDiscoverySecurityAutoconfig.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "37ec82ee7fa360fd20c733015bc54c1e2dfecc32", + "commits": [], + "end_line": 20, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/RunsWithDataNodeDiscoveryProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "37ec82ee7fa360fd20c733015bc54c1e2dfecc32", + "commits": [], + "end_line": 21, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/RunsWithDataNodeDiscoveryProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/configuration" + }, + { + "count": 10, + "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/configuration->M:graylog2-server/src/main/java/org/graylog2/cluster", + "kind": "uses", + "refs": [ + { + "blob_sha": "ab7ce4d1ecd0552cd8a193e769b7af18576f5f3f", + "commits": [], + "end_line": 25, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexerDiscoveryModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "ab7ce4d1ecd0552cd8a193e769b7af18576f5f3f", + "commits": [], + "end_line": 26, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexerDiscoveryModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "ab7ce4d1ecd0552cd8a193e769b7af18576f5f3f", + "commits": [], + "end_line": 27, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexerDiscoveryModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "6f3f9840bb8a4cd3a47a8cff54b72869f150a5e4", + "commits": [], + "end_line": 32, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexerDiscoveryProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "6f3f9840bb8a4cd3a47a8cff54b72869f150a5e4", + "commits": [], + "end_line": 33, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexerDiscoveryProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "6f3f9840bb8a4cd3a47a8cff54b72869f150a5e4", + "commits": [], + "end_line": 34, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexerDiscoveryProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "6f3f9840bb8a4cd3a47a8cff54b72869f150a5e4", + "commits": [], + "end_line": 35, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexerDiscoveryProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + }, + { + "blob_sha": "37ec82ee7fa360fd20c733015bc54c1e2dfecc32", + "commits": [], + "end_line": 22, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/RunsWithDataNodeDiscoveryProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "37ec82ee7fa360fd20c733015bc54c1e2dfecc32", + "commits": [], + "end_line": 23, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/RunsWithDataNodeDiscoveryProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "37ec82ee7fa360fd20c733015bc54c1e2dfecc32", + "commits": [], + "end_line": 24, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/RunsWithDataNodeDiscoveryProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/configuration" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/database", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/configuration->M:graylog2-server/src/main/java/org/graylog2/database", + "kind": "uses", + "refs": [ + { + "blob_sha": "ab7ce4d1ecd0552cd8a193e769b7af18576f5f3f", + "commits": [], + "end_line": 28, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexerDiscoveryModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/configuration" + }, + { + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog2/datatiering", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/configuration->M:graylog2-server/src/main/java/org/graylog2/datatiering", + "kind": "uses", + "refs": [ + { + "blob_sha": "59fe36276ad07a9b2a4add6fe66c4b08b8b0595a", + "commits": [], + "end_line": 21, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexSetDefaultTemplateConfigFactory.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "59fe36276ad07a9b2a4add6fe66c4b08b8b0595a", + "commits": [], + "end_line": 22, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexSetDefaultTemplateConfigFactory.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "39320f8f5df86594ec992daac83480b16042c50a", + "commits": [], + "end_line": 27, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexSetsDefaultConfiguration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "39320f8f5df86594ec992daac83480b16042c50a", + "commits": [], + "end_line": 28, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexSetsDefaultConfiguration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/configuration" + }, + { + "count": 18, + "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/configuration->M:graylog2-server/src/main/java/org/graylog2/indexer", + "kind": "uses", + "refs": [ + { + "blob_sha": "dbfb590c65f4a61794f571353b06b9147c55761d", + "commits": [], + "end_line": 35, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/ElasticsearchConfiguration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + }, + { + "blob_sha": "dbfb590c65f4a61794f571353b06b9147c55761d", + "commits": [], + "end_line": 36, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/ElasticsearchConfiguration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + }, + { + "blob_sha": "dbfb590c65f4a61794f571353b06b9147c55761d", + "commits": [], + "end_line": 37, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/ElasticsearchConfiguration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 37 + }, + { + "blob_sha": "dbfb590c65f4a61794f571353b06b9147c55761d", + "commits": [], + "end_line": 38, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/ElasticsearchConfiguration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 38 + }, + { + "blob_sha": "dbfb590c65f4a61794f571353b06b9147c55761d", + "commits": [], + "end_line": 39, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/ElasticsearchConfiguration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 39 + }, + { + "blob_sha": "dbfb590c65f4a61794f571353b06b9147c55761d", + "commits": [], + "end_line": 40, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/ElasticsearchConfiguration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 40 + }, + { + "blob_sha": "59fe36276ad07a9b2a4add6fe66c4b08b8b0595a", + "commits": [], + "end_line": 23, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexSetDefaultTemplateConfigFactory.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "59fe36276ad07a9b2a4add6fe66c4b08b8b0595a", + "commits": [], + "end_line": 24, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexSetDefaultTemplateConfigFactory.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "39320f8f5df86594ec992daac83480b16042c50a", + "commits": [], + "end_line": 29, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexSetsDefaultConfiguration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "39320f8f5df86594ec992daac83480b16042c50a", + "commits": [], + "end_line": 36, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexSetsDefaultConfiguration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/configuration" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/migrations", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/configuration->M:graylog2-server/src/main/java/org/graylog2/migrations", + "kind": "uses", + "refs": [ + { + "blob_sha": "59fe36276ad07a9b2a4add6fe66c4b08b8b0595a", + "commits": [], + "end_line": 25, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexSetDefaultTemplateConfigFactory.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/configuration" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/outputs", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/configuration->M:graylog2-server/src/main/java/org/graylog2/outputs", + "kind": "uses", + "refs": [ + { + "blob_sha": "60784263652ca2755b18d0dc2cda9d1224b580eb", + "commits": [], + "end_line": 25, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/ExposedConfiguration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/configuration" + }, + { + "count": 9, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/configuration->M:graylog2-server/src/main/java/org/graylog2/plugin", + "kind": "uses", + "refs": [ + { + "blob_sha": "af7e12eee68e23f04749251fc240cf50ffa35827", + "commits": [], + "end_line": 30, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/HttpConfiguration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "59fe36276ad07a9b2a4add6fe66c4b08b8b0595a", + "commits": [], + "end_line": 26, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexSetDefaultTemplateConfigFactory.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "59fe36276ad07a9b2a4add6fe66c4b08b8b0595a", + "commits": [], + "end_line": 27, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexSetDefaultTemplateConfigFactory.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "39320f8f5df86594ec992daac83480b16042c50a", + "commits": [], + "end_line": 30, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexSetsDefaultConfiguration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "39320f8f5df86594ec992daac83480b16042c50a", + "commits": [], + "end_line": 31, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexSetsDefaultConfiguration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "39320f8f5df86594ec992daac83480b16042c50a", + "commits": [], + "end_line": 32, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexSetsDefaultConfiguration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "2b4f8f62b60c19c330588e772afb6814a5031d3c", + "commits": [], + "end_line": 24, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexerDiscoverySecurityAutoconfig.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "2b4f8f62b60c19c330588e772afb6814a5031d3c", + "commits": [], + "end_line": 25, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexerDiscoverySecurityAutoconfig.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "0a264cd8ca81c441d6e401db2ebd6684beb126b9", + "commits": [], + "end_line": 20, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/MarkdownCSPResourceProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/configuration" + }, + { + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog2/security", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/configuration->M:graylog2-server/src/main/java/org/graylog2/security", + "kind": "uses", + "refs": [ + { + "blob_sha": "ab7ce4d1ecd0552cd8a193e769b7af18576f5f3f", + "commits": [], + "end_line": 29, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexerDiscoveryModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "ab7ce4d1ecd0552cd8a193e769b7af18576f5f3f", + "commits": [], + "end_line": 30, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexerDiscoveryModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "ab7ce4d1ecd0552cd8a193e769b7af18576f5f3f", + "commits": [], + "end_line": 31, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexerDiscoveryModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "ab7ce4d1ecd0552cd8a193e769b7af18576f5f3f", + "commits": [], + "end_line": 32, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexerDiscoveryModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/configuration" + }, + { + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/configuration->M:graylog2-server/src/main/java/org/graylog2/shared", + "kind": "uses", + "refs": [ + { + "blob_sha": "dbfb590c65f4a61794f571353b06b9147c55761d", + "commits": [], + "end_line": 51, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/ElasticsearchConfiguration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 51 + }, + { + "blob_sha": "17679b508662a537ad3b220d2ac8852ab4750aa3", + "commits": [], + "end_line": 37, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/EmailConfiguration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 37 + }, + { + "blob_sha": "0a264cd8ca81c441d6e401db2ebd6684beb126b9", + "commits": [], + "end_line": 21, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/MarkdownCSPResourceProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "e83dfce7b387e269faf834771124b9a3f2c08fbf", + "commits": [], + "end_line": 22, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/TLSProtocolsConfiguration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/configuration" + }, + { + "count": 7, + "dst": "M:graylog2-server/src/main/java/org/graylog2/storage", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/configuration->M:graylog2-server/src/main/java/org/graylog2/storage", + "kind": "uses", + "refs": [ + { + "blob_sha": "e79029a905b087ff312fe66778e84cbaf6708e7f", + "commits": [], + "end_line": 30, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/ElasticsearchClientConfiguration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "4fdbd057c09adc131f9238329157ce247697d634", + "commits": [], + "end_line": 20, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/converters/MajorVersionConverter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "79d400dba26ed7e2476d9e89e35ce0d79db28c45", + "commits": [], + "end_line": 22, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/validators/ElasticsearchVersionValidator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "79d400dba26ed7e2476d9e89e35ce0d79db28c45", + "commits": [], + "end_line": 26, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/validators/ElasticsearchVersionValidator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "79d400dba26ed7e2476d9e89e35ce0d79db28c45", + "commits": [], + "end_line": 27, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/validators/ElasticsearchVersionValidator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "79d400dba26ed7e2476d9e89e35ce0d79db28c45", + "commits": [], + "end_line": 28, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/validators/ElasticsearchVersionValidator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "f01b670ec3f823ab151f0d9e8dfc8e7875dd62a7", + "commits": [], + "end_line": 20, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/configuration/validators/SearchVersionRange.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/configuration" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog/grn", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/contentpacks->M:graylog2-server/src/main/java/org/graylog/grn", + "kind": "uses", + "refs": [ + { + "blob_sha": "8a88952f10989ce4cb578fdb05561d312fa8ad9c", + "commits": [], + "end_line": 32, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/contentpacks" + }, + { + "count": 133, + "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/contentpacks->M:graylog2-server/src/main/java/org/graylog/plugins", + "kind": "uses", + "refs": [ + { + "blob_sha": "e4ac32cd6dd242b0802e9cb08ff6f848c21d00a5", + "commits": [], + "end_line": 19, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/DashboardEntityCreator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "9e41783af3042d7c89f208cc75a9dc14f5bbb2a8", + "commits": [], + "end_line": 21, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/DashboardFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "9e41783af3042d7c89f208cc75a9dc14f5bbb2a8", + "commits": [], + "end_line": 22, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/DashboardFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "9e41783af3042d7c89f208cc75a9dc14f5bbb2a8", + "commits": [], + "end_line": 23, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/DashboardFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "9e41783af3042d7c89f208cc75a9dc14f5bbb2a8", + "commits": [], + "end_line": 24, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/DashboardFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "61f03e40f083f3574d852c7b8bd22cecfc0a24a1", + "commits": [], + "end_line": 28, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/PipelineFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "61f03e40f083f3574d852c7b8bd22cecfc0a24a1", + "commits": [], + "end_line": 29, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/PipelineFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "61f03e40f083f3574d852c7b8bd22cecfc0a24a1", + "commits": [], + "end_line": 30, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/PipelineFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "61f03e40f083f3574d852c7b8bd22cecfc0a24a1", + "commits": [], + "end_line": 31, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/PipelineFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "61f03e40f083f3574d852c7b8bd22cecfc0a24a1", + "commits": [], + "end_line": 32, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/PipelineFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/contentpacks" + }, + { + "count": 5, + "dst": "M:graylog2-server/src/main/java/org/graylog/security", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/contentpacks->M:graylog2-server/src/main/java/org/graylog/security", + "kind": "uses", + "refs": [ + { + "blob_sha": "8a88952f10989ce4cb578fdb05561d312fa8ad9c", + "commits": [], + "end_line": 33, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "8a88952f10989ce4cb578fdb05561d312fa8ad9c", + "commits": [], + "end_line": 34, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "8a88952f10989ce4cb578fdb05561d312fa8ad9c", + "commits": [], + "end_line": 35, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + }, + { + "blob_sha": "8a88952f10989ce4cb578fdb05561d312fa8ad9c", + "commits": [], + "end_line": 36, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + }, + { + "blob_sha": "487bec7dd5522c932b62272892ced92275611e1b", + "commits": [], + "end_line": 21, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/model/EntityPermissions.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/contentpacks" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/contentpacks->M:graylog2-server/src/main/java/org/graylog2/(root)", + "kind": "uses", + "refs": [ + { + "blob_sha": "8a88952f10989ce4cb578fdb05561d312fa8ad9c", + "commits": [], + "end_line": 37, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 37 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/contentpacks" + }, + { + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog2/audit", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/contentpacks->M:graylog2-server/src/main/java/org/graylog2/audit", + "kind": "uses", + "refs": [ + { + "blob_sha": "f1b599815a162c3c361d098e4687cacb2b422bce", + "commits": [], + "end_line": 22, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackAuditLogger.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "f1b599815a162c3c361d098e4687cacb2b422bce", + "commits": [], + "end_line": 23, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackAuditLogger.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "f1b599815a162c3c361d098e4687cacb2b422bce", + "commits": [], + "end_line": 24, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackAuditLogger.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/contentpacks" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/bindings", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/contentpacks->M:graylog2-server/src/main/java/org/graylog2/bindings", + "kind": "uses", + "refs": [ + { + "blob_sha": "e858cb5bba3d6c131ee09f49d620055c13a56110", + "commits": [], + "end_line": 35, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackPersistenceService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/contentpacks" + }, + { + "count": 17, + "dst": "M:graylog2-server/src/main/java/org/graylog2/database", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/contentpacks->M:graylog2-server/src/main/java/org/graylog2/database", + "kind": "uses", + "refs": [ + { + "blob_sha": "c6f1a7f97124728603ee08a8821d1c2d05ab0239", + "commits": [], + "end_line": 29, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackInstallationPersistenceService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "c6f1a7f97124728603ee08a8821d1c2d05ab0239", + "commits": [], + "end_line": 30, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackInstallationPersistenceService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "c6f1a7f97124728603ee08a8821d1c2d05ab0239", + "commits": [], + "end_line": 44, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackInstallationPersistenceService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 44 + }, + { + "blob_sha": "e858cb5bba3d6c131ee09f49d620055c13a56110", + "commits": [], + "end_line": 43, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackPersistenceService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 43 + }, + { + "blob_sha": "e858cb5bba3d6c131ee09f49d620055c13a56110", + "commits": [], + "end_line": 44, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackPersistenceService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 44 + }, + { + "blob_sha": "e858cb5bba3d6c131ee09f49d620055c13a56110", + "commits": [], + "end_line": 45, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackPersistenceService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 45 + }, + { + "blob_sha": "46c3f8d47b54b1cc264a50b75a742236dde51ddc", + "commits": [], + "end_line": 41, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/GrokPatternFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 41 + }, + { + "blob_sha": "3dfa10bc230b8683deea8b928d6f2921282af0a2", + "commits": [], + "end_line": 52, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/InputFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 52 + }, + { + "blob_sha": "798ea49999870e105f7081b5869192216753fe3d", + "commits": [], + "end_line": 40, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/OutputFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 40 + }, + { + "blob_sha": "61f03e40f083f3574d852c7b8bd22cecfc0a24a1", + "commits": [], + "end_line": 52, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/PipelineFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 52 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/contentpacks" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/decorators", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/contentpacks->M:graylog2-server/src/main/java/org/graylog2/decorators", + "kind": "uses", + "refs": [ + { + "blob_sha": "ac0ac38e7c5bd89ee528b25c4862eb2762c863f5", + "commits": [], + "end_line": 33, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/model/entities/MessageListEntity.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "ac0ac38e7c5bd89ee528b25c4862eb2762c863f5", + "commits": [], + "end_line": 34, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/model/entities/MessageListEntity.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/contentpacks" + }, + { + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog2/grok", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/contentpacks->M:graylog2-server/src/main/java/org/graylog2/grok", + "kind": "uses", + "refs": [ + { + "blob_sha": "46c3f8d47b54b1cc264a50b75a742236dde51ddc", + "commits": [], + "end_line": 42, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/GrokPatternFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 42 + }, + { + "blob_sha": "46c3f8d47b54b1cc264a50b75a742236dde51ddc", + "commits": [], + "end_line": 43, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/GrokPatternFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 43 + }, + { + "blob_sha": "3dfa10bc230b8683deea8b928d6f2921282af0a2", + "commits": [], + "end_line": 53, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/InputFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 53 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/contentpacks" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/contentpacks->M:graylog2-server/src/main/java/org/graylog2/indexer", + "kind": "uses", + "refs": [ + { + "blob_sha": "e20af60e497af3164dc4363aad2bfab764c79cf7", + "commits": [], + "end_line": 47, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/StreamFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 47 + }, + { + "blob_sha": "e6c332b87ee02097bedbea3f77a1be62733b8401", + "commits": [], + "end_line": 41, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/StreamReferenceFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 41 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/contentpacks" + }, + { + "count": 8, + "dst": "M:graylog2-server/src/main/java/org/graylog2/inputs", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/contentpacks->M:graylog2-server/src/main/java/org/graylog2/inputs", + "kind": "uses", + "refs": [ + { + "blob_sha": "3dfa10bc230b8683deea8b928d6f2921282af0a2", + "commits": [], + "end_line": 54, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/InputFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 54 + }, + { + "blob_sha": "3dfa10bc230b8683deea8b928d6f2921282af0a2", + "commits": [], + "end_line": 55, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/InputFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 55 + }, + { + "blob_sha": "3dfa10bc230b8683deea8b928d6f2921282af0a2", + "commits": [], + "end_line": 56, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/InputFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 56 + }, + { + "blob_sha": "3dfa10bc230b8683deea8b928d6f2921282af0a2", + "commits": [], + "end_line": 57, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/InputFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 57 + }, + { + "blob_sha": "3dfa10bc230b8683deea8b928d6f2921282af0a2", + "commits": [], + "end_line": 58, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/InputFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 58 + }, + { + "blob_sha": "3dfa10bc230b8683deea8b928d6f2921282af0a2", + "commits": [], + "end_line": 59, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/InputFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 59 + }, + { + "blob_sha": "3dfa10bc230b8683deea8b928d6f2921282af0a2", + "commits": [], + "end_line": 60, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/InputFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 60 + }, + { + "blob_sha": "772f16e89253d1fad52aa5aa02cd6cea42f03638", + "commits": [], + "end_line": 21, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/InputWithExtractors.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/contentpacks" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/jackson", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/contentpacks->M:graylog2-server/src/main/java/org/graylog2/jackson", + "kind": "uses", + "refs": [ + { + "blob_sha": "ae8069a5f45f9da33c3cce73530fdc43f1906992", + "commits": [], + "end_line": 39, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/LookupCacheFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 39 + }, + { + "blob_sha": "4cf34d0a3171912e1f6def294bb5f307bc23e8c7", + "commits": [], + "end_line": 39, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/LookupDataAdapterFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 39 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/contentpacks" + }, + { + "count": 11, + "dst": "M:graylog2-server/src/main/java/org/graylog2/lookup", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/contentpacks->M:graylog2-server/src/main/java/org/graylog2/lookup", + "kind": "uses", + "refs": [ + { + "blob_sha": "3dfa10bc230b8683deea8b928d6f2921282af0a2", + "commits": [], + "end_line": 61, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/InputFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 61 + }, + { + "blob_sha": "ae8069a5f45f9da33c3cce73530fdc43f1906992", + "commits": [], + "end_line": 40, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/LookupCacheFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 40 + }, + { + "blob_sha": "ae8069a5f45f9da33c3cce73530fdc43f1906992", + "commits": [], + "end_line": 41, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/LookupCacheFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 41 + }, + { + "blob_sha": "4cf34d0a3171912e1f6def294bb5f307bc23e8c7", + "commits": [], + "end_line": 40, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/LookupDataAdapterFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 40 + }, + { + "blob_sha": "4cf34d0a3171912e1f6def294bb5f307bc23e8c7", + "commits": [], + "end_line": 41, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/LookupDataAdapterFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 41 + }, + { + "blob_sha": "27a68cac42f6e391f056c7c12282a8775af96fc9", + "commits": [], + "end_line": 43, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/LookupTableFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 43 + }, + { + "blob_sha": "27a68cac42f6e391f056c7c12282a8775af96fc9", + "commits": [], + "end_line": 44, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/LookupTableFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 44 + }, + { + "blob_sha": "27a68cac42f6e391f056c7c12282a8775af96fc9", + "commits": [], + "end_line": 45, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/LookupTableFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 45 + }, + { + "blob_sha": "27a68cac42f6e391f056c7c12282a8775af96fc9", + "commits": [], + "end_line": 46, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/LookupTableFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 46 + }, + { + "blob_sha": "27a68cac42f6e391f056c7c12282a8775af96fc9", + "commits": [], + "end_line": 47, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/LookupTableFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 47 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/contentpacks" + }, + { + "count": 68, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/contentpacks->M:graylog2-server/src/main/java/org/graylog2/plugin", + "kind": "uses", + "refs": [ + { + "blob_sha": "e858cb5bba3d6c131ee09f49d620055c13a56110", + "commits": [], + "end_line": 46, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackPersistenceService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 46 + }, + { + "blob_sha": "8a88952f10989ce4cb578fdb05561d312fa8ad9c", + "commits": [], + "end_line": 73, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 73 + }, + { + "blob_sha": "8a88952f10989ce4cb578fdb05561d312fa8ad9c", + "commits": [], + "end_line": 74, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 74 + }, + { + "blob_sha": "05c5bec5a9d1fbab8754728f78d41a3e096aaf53", + "commits": [], + "end_line": 43, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPacksModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 43 + }, + { + "blob_sha": "51e54528cd5dffed04f9020e0225a251a0d949b8", + "commits": [], + "end_line": 25, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/constraints/PluginVersionConstraintChecker.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "51e54528cd5dffed04f9020e0225a251a0d949b8", + "commits": [], + "end_line": 26, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/constraints/PluginVersionConstraintChecker.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "94d0430258f8ec453a9a295c29d31831331d3188", + "commits": [], + "end_line": 31, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/EntityWithExcerptFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "46c3f8d47b54b1cc264a50b75a742236dde51ddc", + "commits": [], + "end_line": 44, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/GrokPatternFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 44 + }, + { + "blob_sha": "3dfa10bc230b8683deea8b928d6f2921282af0a2", + "commits": [], + "end_line": 62, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/InputFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 62 + }, + { + "blob_sha": "3dfa10bc230b8683deea8b928d6f2921282af0a2", + "commits": [], + "end_line": 63, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/InputFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 63 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/contentpacks" + }, + { + "count": 6, + "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/contentpacks->M:graylog2-server/src/main/java/org/graylog2/rest", + "kind": "uses", + "refs": [ + { + "blob_sha": "c6f1a7f97124728603ee08a8821d1c2d05ab0239", + "commits": [], + "end_line": 31, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackInstallationPersistenceService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "798ea49999870e105f7081b5869192216753fe3d", + "commits": [], + "end_line": 45, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/OutputFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 45 + }, + { + "blob_sha": "e20af60e497af3164dc4363aad2bfab764c79cf7", + "commits": [], + "end_line": 54, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/StreamFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 54 + }, + { + "blob_sha": "e20af60e497af3164dc4363aad2bfab764c79cf7", + "commits": [], + "end_line": 55, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/StreamFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 55 + }, + { + "blob_sha": "e20af60e497af3164dc4363aad2bfab764c79cf7", + "commits": [], + "end_line": 56, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/StreamFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 56 + }, + { + "blob_sha": "e20af60e497af3164dc4363aad2bfab764c79cf7", + "commits": [], + "end_line": 57, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/StreamFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 57 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/contentpacks" + }, + { + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog2/security", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/contentpacks->M:graylog2-server/src/main/java/org/graylog2/security", + "kind": "uses", + "refs": [ + { + "blob_sha": "0f412fd7411a5ae1d520583daaeedcd10133eb5e", + "commits": [], + "end_line": 33, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/model/ContentPackV1.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "e7b00a836b624ff5fa91cc10a039284cbcca5654", + "commits": [], + "end_line": 33, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/model/LegacyContentPack.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "1f8dcfd73c01d0681c923d9aba0a0993a1d86b54", + "commits": [], + "end_line": 25, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/model/entities/references/ValueReference.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/contentpacks" + }, + { + "count": 26, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/contentpacks->M:graylog2-server/src/main/java/org/graylog2/shared", + "kind": "uses", + "refs": [ + { + "blob_sha": "8a88952f10989ce4cb578fdb05561d312fa8ad9c", + "commits": [], + "end_line": 75, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 75 + }, + { + "blob_sha": "9e41783af3042d7c89f208cc75a9dc14f5bbb2a8", + "commits": [], + "end_line": 29, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/DashboardFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "9e41783af3042d7c89f208cc75a9dc14f5bbb2a8", + "commits": [], + "end_line": 30, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/DashboardFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "46c3f8d47b54b1cc264a50b75a742236dde51ddc", + "commits": [], + "end_line": 45, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/GrokPatternFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 45 + }, + { + "blob_sha": "3dfa10bc230b8683deea8b928d6f2921282af0a2", + "commits": [], + "end_line": 72, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/InputFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 72 + }, + { + "blob_sha": "3dfa10bc230b8683deea8b928d6f2921282af0a2", + "commits": [], + "end_line": 73, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/InputFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 73 + }, + { + "blob_sha": "3dfa10bc230b8683deea8b928d6f2921282af0a2", + "commits": [], + "end_line": 74, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/InputFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 74 + }, + { + "blob_sha": "3dfa10bc230b8683deea8b928d6f2921282af0a2", + "commits": [], + "end_line": 75, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/InputFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 75 + }, + { + "blob_sha": "ae8069a5f45f9da33c3cce73530fdc43f1906992", + "commits": [], + "end_line": 44, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/LookupCacheFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 44 + }, + { + "blob_sha": "4cf34d0a3171912e1f6def294bb5f307bc23e8c7", + "commits": [], + "end_line": 44, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/LookupDataAdapterFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 44 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/contentpacks" + }, + { + "count": 12, + "dst": "M:graylog2-server/src/main/java/org/graylog2/streams", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/contentpacks->M:graylog2-server/src/main/java/org/graylog2/streams", + "kind": "uses", + "refs": [ + { + "blob_sha": "e169794cfed84519e7df7da698e2517b9b6fadb5", + "commits": [], + "end_line": 32, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackEntityResolver.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "e858cb5bba3d6c131ee09f49d620055c13a56110", + "commits": [], + "end_line": 47, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackPersistenceService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 47 + }, + { + "blob_sha": "8a88952f10989ce4cb578fdb05561d312fa8ad9c", + "commits": [], + "end_line": 76, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 76 + }, + { + "blob_sha": "798ea49999870e105f7081b5869192216753fe3d", + "commits": [], + "end_line": 47, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/OutputFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 47 + }, + { + "blob_sha": "61f03e40f083f3574d852c7b8bd22cecfc0a24a1", + "commits": [], + "end_line": 55, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/PipelineFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 55 + }, + { + "blob_sha": "e20af60e497af3164dc4363aad2bfab764c79cf7", + "commits": [], + "end_line": 60, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/StreamFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 60 + }, + { + "blob_sha": "e20af60e497af3164dc4363aad2bfab764c79cf7", + "commits": [], + "end_line": 61, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/StreamFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 61 + }, + { + "blob_sha": "e20af60e497af3164dc4363aad2bfab764c79cf7", + "commits": [], + "end_line": 62, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/StreamFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 62 + }, + { + "blob_sha": "e20af60e497af3164dc4363aad2bfab764c79cf7", + "commits": [], + "end_line": 63, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/StreamFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 63 + }, + { + "blob_sha": "e6c332b87ee02097bedbea3f77a1be62733b8401", + "commits": [], + "end_line": 45, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/StreamReferenceFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 45 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/contentpacks" + }, + { + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog2/system", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/contentpacks->M:graylog2-server/src/main/java/org/graylog2/system", + "kind": "uses", + "refs": [ + { + "blob_sha": "b6003b3933ea19c8e69620b8273e4cd3176ac423", + "commits": [], + "end_line": 37, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/UrlAllowlistFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 37 + }, + { + "blob_sha": "b6003b3933ea19c8e69620b8273e4cd3176ac423", + "commits": [], + "end_line": 38, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/UrlAllowlistFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 38 + }, + { + "blob_sha": "72415cce628a1184f66de7b8881c1a654f31dc79", + "commits": [], + "end_line": 22, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/UrlWhitelistFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/contentpacks" + }, + { + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog2/utilities", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/contentpacks->M:graylog2-server/src/main/java/org/graylog2/utilities", + "kind": "uses", + "refs": [ + { + "blob_sha": "e169794cfed84519e7df7da698e2517b9b6fadb5", + "commits": [], + "end_line": 33, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackEntityResolver.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "8a88952f10989ce4cb578fdb05561d312fa8ad9c", + "commits": [], + "end_line": 77, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 77 + }, + { + "blob_sha": "78a919c6fc931a6415b26c7c1cb6683681fc8fd2", + "commits": [], + "end_line": 29, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/RootEntityFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "cd5b06f574199491f88e42990d2983484edbf6a1", + "commits": [], + "end_line": 27, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/UnsupportedEntityFacade.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/contentpacks" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog/enterprise", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/contentstream->M:graylog2-server/src/main/java/org/graylog/enterprise", + "kind": "uses", + "refs": [ + { + "blob_sha": "26d319adee46edeac415b2a29e6f5eb082f4d108", + "commits": [], + "end_line": 19, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentstream/ContentStreamFeedTagsService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/contentstream" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/audit", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/contentstream->M:graylog2-server/src/main/java/org/graylog2/audit", + "kind": "uses", + "refs": [ + { + "blob_sha": "d841a822d8f640b494269adc721a7d5e9bb112bf", + "commits": [], + "end_line": 34, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentstream/rest/ContentStreamResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "d841a822d8f640b494269adc721a7d5e9bb112bf", + "commits": [], + "end_line": 35, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentstream/rest/ContentStreamResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/contentstream" + }, + { + "count": 5, + "dst": "M:graylog2-server/src/main/java/org/graylog2/database", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/contentstream->M:graylog2-server/src/main/java/org/graylog2/database", + "kind": "uses", + "refs": [ + { + "blob_sha": "373830ce23a30f3ea3ac5c94cb36a2687aa8f88b", + "commits": [], + "end_line": 22, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentstream/db/ContentStreamUserSettings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "304decf0c45336841f28b751144665bfdd500959", + "commits": [], + "end_line": 22, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentstream/db/DBContentStreamUserSettingsService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "304decf0c45336841f28b751144665bfdd500959", + "commits": [], + "end_line": 23, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentstream/db/DBContentStreamUserSettingsService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "304decf0c45336841f28b751144665bfdd500959", + "commits": [], + "end_line": 24, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentstream/db/DBContentStreamUserSettingsService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "d841a822d8f640b494269adc721a7d5e9bb112bf", + "commits": [], + "end_line": 36, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentstream/rest/ContentStreamResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/contentstream" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/contentstream->M:graylog2-server/src/main/java/org/graylog2/plugin", + "kind": "uses", + "refs": [ + { + "blob_sha": "d841a822d8f640b494269adc721a7d5e9bb112bf", + "commits": [], + "end_line": 37, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentstream/rest/ContentStreamResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 37 + }, + { + "blob_sha": "76a0ab5e69677648e92d5ffd6b4a876d7767ad46", + "commits": [], + "end_line": 24, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentstream/rest/ContentStreamService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/contentstream" + }, + { + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/contentstream->M:graylog2-server/src/main/java/org/graylog2/shared", + "kind": "uses", + "refs": [ + { + "blob_sha": "d841a822d8f640b494269adc721a7d5e9bb112bf", + "commits": [], + "end_line": 38, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentstream/rest/ContentStreamResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 38 + }, + { + "blob_sha": "d841a822d8f640b494269adc721a7d5e9bb112bf", + "commits": [], + "end_line": 39, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentstream/rest/ContentStreamResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 39 + }, + { + "blob_sha": "d841a822d8f640b494269adc721a7d5e9bb112bf", + "commits": [], + "end_line": 44, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentstream/rest/ContentStreamResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 44 + }, + { + "blob_sha": "d841a822d8f640b494269adc721a7d5e9bb112bf", + "commits": [], + "end_line": 40, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentstream/rest/ContentStreamResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 40 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/contentstream" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/users", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/contentstream->M:graylog2-server/src/main/java/org/graylog2/users", + "kind": "uses", + "refs": [ + { + "blob_sha": "76a0ab5e69677648e92d5ffd6b4a876d7767ad46", + "commits": [], + "end_line": 25, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/contentstream/rest/ContentStreamService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/contentstream" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog/grn", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/database->M:graylog2-server/src/main/java/org/graylog/grn", + "kind": "uses", + "refs": [ + { + "blob_sha": "f66958b2cca970d61b43de6630d4ca9a5fc046cf", + "commits": [], + "end_line": 20, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/pagination/EntityPaginationHelper.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "f66958b2cca970d61b43de6630d4ca9a5fc046cf", + "commits": [], + "end_line": 21, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/pagination/EntityPaginationHelper.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/database" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/database->M:graylog2-server/src/main/java/org/graylog/plugins", + "kind": "uses", + "refs": [ + { + "blob_sha": "f983b4f6ede709a10f205d8b6aa22a13076f31ac", + "commits": [], + "end_line": 29, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/export/MongoCollectionExportService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/database" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog/security", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/database->M:graylog2-server/src/main/java/org/graylog/security", + "kind": "uses", + "refs": [ + { + "blob_sha": "f66958b2cca970d61b43de6630d4ca9a5fc046cf", + "commits": [], + "end_line": 22, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/pagination/EntityPaginationHelper.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/database" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/bindings", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/database->M:graylog2-server/src/main/java/org/graylog2/bindings", + "kind": "uses", + "refs": [ + { + "blob_sha": "f31d609597ffe4d33e10e715b1a75acc9a5530ef", + "commits": [], + "end_line": 26, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/MongoCollections.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/database" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/bootstrap", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/database->M:graylog2-server/src/main/java/org/graylog2/bootstrap", + "kind": "uses", + "refs": [ + { + "blob_sha": "df53c82e63d3365f6b515aa988c7d20d61439a42", + "commits": [], + "end_line": 26, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/MongoDBVersionCheck.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/database" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/database->M:graylog2-server/src/main/java/org/graylog2/configuration", + "kind": "uses", + "refs": [ + { + "blob_sha": "8f42ab1a4bef7878018f9882e23b1e1f39ecd5a9", + "commits": [], + "end_line": 26, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/MongoConnectionImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/database" + }, + { + "count": 34, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/database->M:graylog2-server/src/main/java/org/graylog2/plugin", + "kind": "uses", + "refs": [ + { + "blob_sha": "f31d609597ffe4d33e10e715b1a75acc9a5530ef", + "commits": [], + "end_line": 25, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/MongoCollections.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "8433f3cd2a5eeba04c2690787ea1fe01f0aced64", + "commits": [], + "end_line": 29, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/MongoSequenceService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "03fba8efd61d7c43b6e8a589f8dc866eb5120647", + "commits": [], + "end_line": 21, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/PersistedImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "3433abacf3ec26aee34c461fc190494684a7114f", + "commits": [], + "end_line": 28, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/PersistedServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "3433abacf3ec26aee34c461fc190494684a7114f", + "commits": [], + "end_line": 29, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/PersistedServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "3433abacf3ec26aee34c461fc190494684a7114f", + "commits": [], + "end_line": 30, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/PersistedServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "3433abacf3ec26aee34c461fc190494684a7114f", + "commits": [], + "end_line": 31, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/PersistedServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "3433abacf3ec26aee34c461fc190494684a7114f", + "commits": [], + "end_line": 32, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/PersistedServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "3433abacf3ec26aee34c461fc190494684a7114f", + "commits": [], + "end_line": 33, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/PersistedServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "3433abacf3ec26aee34c461fc190494684a7114f", + "commits": [], + "end_line": 34, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/PersistedServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/database" + }, + { + "count": 7, + "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/database->M:graylog2-server/src/main/java/org/graylog2/rest", + "kind": "uses", + "refs": [ + { + "blob_sha": "8419b84ece331e665f32219ef7d3d88f2428113b", + "commits": [], + "end_line": 26, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/entities/source/DBEntitySourceService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "41261fcd771f8fdeca4c797b5b830e083b268c81", + "commits": [], + "end_line": 23, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/filtering/DbFilterExpressionParser.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "46d6c71d2e4fb4230aa1908856a63d3b052f2863", + "commits": [], + "end_line": 23, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/filtering/DbQueryCreator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "c8cd8d1fc6d0dbe11adb6b4db7c8e4a0cd318c64", + "commits": [], + "end_line": 20, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/filtering/DbSortResolver.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "c8cd8d1fc6d0dbe11adb6b4db7c8e4a0cd318c64", + "commits": [], + "end_line": 21, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/filtering/DbSortResolver.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "b6e52c86b546c400d2e52cf87774917fae2baca7", + "commits": [], + "end_line": 21, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/filtering/inmemory/InMemoryFilterExpressionParser.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "d81b226c4b7c54e4d0634d829672f66c715dd835", + "commits": [], + "end_line": 27, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/filtering/inmemory/SingleFilterParser.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/database" + }, + { + "count": 8, + "dst": "M:graylog2-server/src/main/java/org/graylog2/search", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/database->M:graylog2-server/src/main/java/org/graylog2/search", + "kind": "uses", + "refs": [ + { + "blob_sha": "f1ce50b73a9df7bbc2209066fd43f5f81897249d", + "commits": [], + "end_line": 21, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/filtering/BsonFilterCreatorFilter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "f1ce50b73a9df7bbc2209066fd43f5f81897249d", + "commits": [], + "end_line": 22, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/filtering/BsonFilterCreatorFilter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "f1ce50b73a9df7bbc2209066fd43f5f81897249d", + "commits": [], + "end_line": 23, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/filtering/BsonFilterCreatorFilter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "46d6c71d2e4fb4230aa1908856a63d3b052f2863", + "commits": [], + "end_line": 24, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/filtering/DbQueryCreator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "46d6c71d2e4fb4230aa1908856a63d3b052f2863", + "commits": [], + "end_line": 25, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/filtering/DbQueryCreator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "46d6c71d2e4fb4230aa1908856a63d3b052f2863", + "commits": [], + "end_line": 26, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/filtering/DbQueryCreator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "d81b226c4b7c54e4d0634d829672f66c715dd835", + "commits": [], + "end_line": 28, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/filtering/inmemory/SingleFilterParser.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "0bae6f4c00a91b72281b03c8d2df75c040efda32", + "commits": [], + "end_line": 22, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/utils/SourcedMongoEntityUtils.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/database" + }, + { + "count": 8, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/database->M:graylog2-server/src/main/java/org/graylog2/shared", + "kind": "uses", + "refs": [ + { + "blob_sha": "df53c82e63d3365f6b515aa988c7d20d61439a42", + "commits": [], + "end_line": 27, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/MongoDBVersionCheck.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "30f870e903be80beb864a9a24813400ecd540891", + "commits": [], + "end_line": 27, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/entities/EntityScopeResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "30f870e903be80beb864a9a24813400ecd540891", + "commits": [], + "end_line": 28, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/entities/EntityScopeResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "f983b4f6ede709a10f205d8b6aa22a13076f31ac", + "commits": [], + "end_line": 32, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/export/MongoCollectionExportService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "f983b4f6ede709a10f205d8b6aa22a13076f31ac", + "commits": [], + "end_line": 42, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/export/MongoCollectionExportService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 42 + }, + { + "blob_sha": "ea912acfec392531fc73e5f2efb9444af9003150", + "commits": [], + "end_line": 36, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/suggestions/MongoEntitySuggestionService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + }, + { + "blob_sha": "ea912acfec392531fc73e5f2efb9444af9003150", + "commits": [], + "end_line": 48, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/suggestions/MongoEntitySuggestionService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 48 + }, + { + "blob_sha": "ea912acfec392531fc73e5f2efb9444af9003150", + "commits": [], + "end_line": 49, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/suggestions/MongoEntitySuggestionService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 49 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/database" + }, + { + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog2/users", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/database->M:graylog2-server/src/main/java/org/graylog2/users", + "kind": "uses", + "refs": [ + { + "blob_sha": "ea912acfec392531fc73e5f2efb9444af9003150", + "commits": [], + "end_line": 50, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/suggestions/MongoEntitySuggestionService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 50 + }, + { + "blob_sha": "ea912acfec392531fc73e5f2efb9444af9003150", + "commits": [], + "end_line": 51, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/suggestions/MongoEntitySuggestionService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 51 + }, + { + "blob_sha": "ea912acfec392531fc73e5f2efb9444af9003150", + "commits": [], + "end_line": 52, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/database/suggestions/MongoEntitySuggestionService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 52 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/database" + }, + { + "count": 11, + "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/datanode->M:graylog2-server/src/main/java/org/graylog/plugins", + "kind": "uses", + "refs": [ + { + "blob_sha": "a63cb9a2bcb498492c88ae99cfd3e81bc34725f3", + "commits": [], + "end_line": 22, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/DatanodeUpgradeService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "a63cb9a2bcb498492c88ae99cfd3e81bc34725f3", + "commits": [], + "end_line": 23, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/DatanodeUpgradeService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "a63cb9a2bcb498492c88ae99cfd3e81bc34725f3", + "commits": [], + "end_line": 24, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/DatanodeUpgradeService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "a63cb9a2bcb498492c88ae99cfd3e81bc34725f3", + "commits": [], + "end_line": 25, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/DatanodeUpgradeService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "a63cb9a2bcb498492c88ae99cfd3e81bc34725f3", + "commits": [], + "end_line": 26, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/DatanodeUpgradeService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "1c3e391e8b2c157f2a60c857874ec05be2a75d4c", + "commits": [], + "end_line": 19, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/DatanodeUpgradeStatus.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "14b40aea6c61404454ef5319f211473a6577825f", + "commits": [], + "end_line": 21, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartActions.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "14b40aea6c61404454ef5319f211473a6577825f", + "commits": [], + "end_line": 22, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartActions.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "14b40aea6c61404454ef5319f211473a6577825f", + "commits": [], + "end_line": 23, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartActions.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "14b40aea6c61404454ef5319f211473a6577825f", + "commits": [], + "end_line": 24, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartActions.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/datanode" + }, + { + "count": 15, + "dst": "M:graylog2-server/src/main/java/org/graylog/scheduler", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/datanode->M:graylog2-server/src/main/java/org/graylog/scheduler", + "kind": "uses", + "refs": [ + { + "blob_sha": "a535a5f543d9c10620993e8c2b2913bab036ce16", + "commits": [], + "end_line": 28, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartExecutionJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "a535a5f543d9c10620993e8c2b2913bab036ce16", + "commits": [], + "end_line": 29, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartExecutionJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "a535a5f543d9c10620993e8c2b2913bab036ce16", + "commits": [], + "end_line": 30, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartExecutionJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "a535a5f543d9c10620993e8c2b2913bab036ce16", + "commits": [], + "end_line": 31, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartExecutionJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "a535a5f543d9c10620993e8c2b2913bab036ce16", + "commits": [], + "end_line": 32, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartExecutionJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "a535a5f543d9c10620993e8c2b2913bab036ce16", + "commits": [], + "end_line": 33, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartExecutionJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "a535a5f543d9c10620993e8c2b2913bab036ce16", + "commits": [], + "end_line": 34, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartExecutionJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "a535a5f543d9c10620993e8c2b2913bab036ce16", + "commits": [], + "end_line": 35, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartExecutionJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + }, + { + "blob_sha": "de92911a80705bfcfb930fce9e7b5343a7bf0ff2", + "commits": [], + "end_line": 24, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartJobHandler.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "de92911a80705bfcfb930fce9e7b5343a7bf0ff2", + "commits": [], + "end_line": 25, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartJobHandler.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/datanode" + }, + { + "count": 14, + "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/datanode->M:graylog2-server/src/main/java/org/graylog2/cluster", + "kind": "uses", + "refs": [ + { + "blob_sha": "6a1dbe60353991b46df9625c4269985d884ee5d2", + "commits": [], + "end_line": 20, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/DataNodeCommandService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "6a1dbe60353991b46df9625c4269985d884ee5d2", + "commits": [], + "end_line": 21, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/DataNodeCommandService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "ad78796a9b0ba2e80cbdb60de904288e9da68789", + "commits": [], + "end_line": 22, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/DataNodeCommandServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "ad78796a9b0ba2e80cbdb60de904288e9da68789", + "commits": [], + "end_line": 23, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/DataNodeCommandServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "ad78796a9b0ba2e80cbdb60de904288e9da68789", + "commits": [], + "end_line": 24, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/DataNodeCommandServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "ad78796a9b0ba2e80cbdb60de904288e9da68789", + "commits": [], + "end_line": 25, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/DataNodeCommandServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "a63cb9a2bcb498492c88ae99cfd3e81bc34725f3", + "commits": [], + "end_line": 27, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/DatanodeUpgradeService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "a63cb9a2bcb498492c88ae99cfd3e81bc34725f3", + "commits": [], + "end_line": 28, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/DatanodeUpgradeService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "14b40aea6c61404454ef5319f211473a6577825f", + "commits": [], + "end_line": 25, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartActions.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "14b40aea6c61404454ef5319f211473a6577825f", + "commits": [], + "end_line": 26, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartActions.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/datanode" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/events", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/datanode->M:graylog2-server/src/main/java/org/graylog2/events", + "kind": "uses", + "refs": [ + { + "blob_sha": "ad78796a9b0ba2e80cbdb60de904288e9da68789", + "commits": [], + "end_line": 26, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/DataNodeCommandServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/datanode" + }, + { + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/datanode->M:graylog2-server/src/main/java/org/graylog2/indexer", + "kind": "uses", + "refs": [ + { + "blob_sha": "a63cb9a2bcb498492c88ae99cfd3e81bc34725f3", + "commits": [], + "end_line": 29, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/DatanodeUpgradeService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "14b40aea6c61404454ef5319f211473a6577825f", + "commits": [], + "end_line": 27, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartActions.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "de92911a80705bfcfb930fce9e7b5343a7bf0ff2", + "commits": [], + "end_line": 35, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartJobHandler.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/datanode" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/jackson", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/datanode->M:graylog2-server/src/main/java/org/graylog2/jackson", + "kind": "uses", + "refs": [ + { + "blob_sha": "6e8d53c2506a89c92ac1aabb8449795c6eadfbf0", + "commits": [], + "end_line": 23, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartNodeEntry.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "6e8d53c2506a89c92ac1aabb8449795c6eadfbf0", + "commits": [], + "end_line": 24, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartNodeEntry.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/datanode" + }, + { + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog2/notifications", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/datanode->M:graylog2-server/src/main/java/org/graylog2/notifications", + "kind": "uses", + "refs": [ + { + "blob_sha": "6bcbc88ff5a24adefe5599e953f9651cc17be3ca", + "commits": [], + "end_line": 23, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/DataNodeEventService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "6bcbc88ff5a24adefe5599e953f9651cc17be3ca", + "commits": [], + "end_line": 24, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/DataNodeEventService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "922a9c96ccefe59a91256a69b6ee3991684d7eee", + "commits": [], + "end_line": 19, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/DataNodeNotficationEvent.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/datanode" + }, + { + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/datanode->M:graylog2-server/src/main/java/org/graylog2/plugin", + "kind": "uses", + "refs": [ + { + "blob_sha": "a63cb9a2bcb498492c88ae99cfd3e81bc34725f3", + "commits": [], + "end_line": 30, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/DatanodeUpgradeService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "1c3e391e8b2c157f2a60c857874ec05be2a75d4c", + "commits": [], + "end_line": 20, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/DatanodeUpgradeStatus.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "294ce29f618a53e02866db0d4f7b7bd8ae9452c4", + "commits": [], + "end_line": 20, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/ServerVersionProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "ee43983b548ff71137be4af46033665b634b87aa", + "commits": [], + "end_line": 19, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/datanode" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/datanode->M:graylog2-server/src/main/java/org/graylog2/rest", + "kind": "uses", + "refs": [ + { + "blob_sha": "14b40aea6c61404454ef5319f211473a6577825f", + "commits": [], + "end_line": 28, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartActions.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "ee43983b548ff71137be4af46033665b634b87aa", + "commits": [], + "end_line": 20, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/datanode" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/security", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/datanode->M:graylog2-server/src/main/java/org/graylog2/security", + "kind": "uses", + "refs": [ + { + "blob_sha": "14b40aea6c61404454ef5319f211473a6577825f", + "commits": [], + "end_line": 29, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartActions.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "14b40aea6c61404454ef5319f211473a6577825f", + "commits": [], + "end_line": 30, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartActions.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/datanode" + }, + { + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog2/system", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/datanode->M:graylog2-server/src/main/java/org/graylog2/system", + "kind": "uses", + "refs": [ + { + "blob_sha": "14b40aea6c61404454ef5319f211473a6577825f", + "commits": [], + "end_line": 31, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartActions.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "14b40aea6c61404454ef5319f211473a6577825f", + "commits": [], + "end_line": 32, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartActions.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "14b40aea6c61404454ef5319f211473a6577825f", + "commits": [], + "end_line": 33, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartActions.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/datanode" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/datatiering->M:graylog2-server/src/main/java/org/graylog2/(root)", + "kind": "uses", + "refs": [ + { + "blob_sha": "08ecca710e0d9c8aca544c3598d1421b8e1b6515", + "commits": [], + "end_line": 21, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datatiering/DataTieringChecker.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/datatiering" + }, + { + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog2/audit", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/datatiering->M:graylog2-server/src/main/java/org/graylog2/audit", + "kind": "uses", + "refs": [ + { + "blob_sha": "dd4d340d737d36b16095a5d15d166b0d13705fe1", + "commits": [], + "end_line": 22, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datatiering/retention/DataTierDeleteRetention.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "dd4d340d737d36b16095a5d15d166b0d13705fe1", + "commits": [], + "end_line": 23, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datatiering/retention/DataTierDeleteRetention.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "dd4d340d737d36b16095a5d15d166b0d13705fe1", + "commits": [], + "end_line": 35, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datatiering/retention/DataTierDeleteRetention.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/datatiering" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/datatiering->M:graylog2-server/src/main/java/org/graylog2/configuration", + "kind": "uses", + "refs": [ + { + "blob_sha": "a0aefaf17a8e802fcacb5289e7cf7b21f3148eec", + "commits": [], + "end_line": 22, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datatiering/hotonly/HotOnlyDataTieringOrchestrator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/datatiering" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/featureflag", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/datatiering->M:graylog2-server/src/main/java/org/graylog2/featureflag", + "kind": "uses", + "refs": [ + { + "blob_sha": "08ecca710e0d9c8aca544c3598d1421b8e1b6515", + "commits": [], + "end_line": 22, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datatiering/DataTieringChecker.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/datatiering" + }, + { + "count": 20, + "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/datatiering->M:graylog2-server/src/main/java/org/graylog2/indexer", + "kind": "uses", + "refs": [ + { + "blob_sha": "4ed3626fd7374a0aa660ca8e30086f9f08bba7d2", + "commits": [], + "end_line": 28, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datatiering/DataTieringConfig.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "4ed3626fd7374a0aa660ca8e30086f9f08bba7d2", + "commits": [], + "end_line": 29, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datatiering/DataTieringConfig.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "6e23bf20c0e2c8add6a7f78c29acd6c46626610a", + "commits": [], + "end_line": 20, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datatiering/DataTieringOrchestrator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "6e23bf20c0e2c8add6a7f78c29acd6c46626610a", + "commits": [], + "end_line": 21, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datatiering/DataTieringOrchestrator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "edb1f1ac70b08bd9dee6ff444e74d7f98e7dea1c", + "commits": [], + "end_line": 30, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datatiering/fallback/FallbackDataTieringConfig.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "edb1f1ac70b08bd9dee6ff444e74d7f98e7dea1c", + "commits": [], + "end_line": 31, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datatiering/fallback/FallbackDataTieringConfig.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "7c7ea25cb1d8761372c11b143ad77a4426f6b620", + "commits": [], + "end_line": 27, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datatiering/hotonly/HotOnlyDataTieringConfig.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "7c7ea25cb1d8761372c11b143ad77a4426f6b620", + "commits": [], + "end_line": 28, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datatiering/hotonly/HotOnlyDataTieringConfig.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "a0aefaf17a8e802fcacb5289e7cf7b21f3148eec", + "commits": [], + "end_line": 28, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datatiering/hotonly/HotOnlyDataTieringOrchestrator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "a0aefaf17a8e802fcacb5289e7cf7b21f3148eec", + "commits": [], + "end_line": 29, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datatiering/hotonly/HotOnlyDataTieringOrchestrator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/datatiering" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/datatiering->M:graylog2-server/src/main/java/org/graylog2/plugin", + "kind": "uses", + "refs": [ + { + "blob_sha": "08374ed0c7c940697cf84eeddbce4ef88d8e20e6", + "commits": [], + "end_line": 24, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datatiering/DataTieringModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "dd4d340d737d36b16095a5d15d166b0d13705fe1", + "commits": [], + "end_line": 28, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/datatiering/retention/DataTierDeleteRetention.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/datatiering" + }, + { + "count": 5, + "dst": "M:graylog2-server/src/main/java/org/graylog/tracing", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/decorators->M:graylog2-server/src/main/java/org/graylog/tracing", + "kind": "uses", + "refs": [ + { + "blob_sha": "a1909d2a0085b57855446af32fdd8f82ffaa763b", + "commits": [], + "end_line": 45, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/LookupTableDecorator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 45 + }, + { + "blob_sha": "a1909d2a0085b57855446af32fdd8f82ffaa763b", + "commits": [], + "end_line": 46, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/LookupTableDecorator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 46 + }, + { + "blob_sha": "a1909d2a0085b57855446af32fdd8f82ffaa763b", + "commits": [], + "end_line": 47, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/LookupTableDecorator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 47 + }, + { + "blob_sha": "a1909d2a0085b57855446af32fdd8f82ffaa763b", + "commits": [], + "end_line": 48, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/LookupTableDecorator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 48 + }, + { + "blob_sha": "a1909d2a0085b57855446af32fdd8f82ffaa763b", + "commits": [], + "end_line": 49, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/LookupTableDecorator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 49 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/decorators" + }, + { + "count": 9, + "dst": "M:graylog2-server/src/main/java/org/graylog2/database", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/decorators->M:graylog2-server/src/main/java/org/graylog2/database", + "kind": "uses", + "refs": [ + { + "blob_sha": "587f33b271496b5be0c61381becc7c2756f80ba1", + "commits": [], + "end_line": 24, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/DecoratorImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "587f33b271496b5be0c61381becc7c2756f80ba1", + "commits": [], + "end_line": 25, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/DecoratorImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "587f33b271496b5be0c61381becc7c2756f80ba1", + "commits": [], + "end_line": 33, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/DecoratorImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "5f75cd58a39569bde2883a28501f67900a6ebc57", + "commits": [], + "end_line": 20, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/DecoratorService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "9cc9b81d5877ba79221b8ffa91e229093495d713", + "commits": [], + "end_line": 23, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/DecoratorServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "9cc9b81d5877ba79221b8ffa91e229093495d713", + "commits": [], + "end_line": 20, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/DecoratorServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "9cc9b81d5877ba79221b8ffa91e229093495d713", + "commits": [], + "end_line": 24, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/DecoratorServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "9cc9b81d5877ba79221b8ffa91e229093495d713", + "commits": [], + "end_line": 25, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/DecoratorServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "9cc9b81d5877ba79221b8ffa91e229093495d713", + "commits": [], + "end_line": 26, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/DecoratorServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/decorators" + }, + { + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog2/lookup", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/decorators->M:graylog2-server/src/main/java/org/graylog2/lookup", + "kind": "uses", + "refs": [ + { + "blob_sha": "a1909d2a0085b57855446af32fdd8f82ffaa763b", + "commits": [], + "end_line": 24, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/LookupTableDecorator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "a1909d2a0085b57855446af32fdd8f82ffaa763b", + "commits": [], + "end_line": 25, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/LookupTableDecorator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "a1909d2a0085b57855446af32fdd8f82ffaa763b", + "commits": [], + "end_line": 26, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/LookupTableDecorator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "a1909d2a0085b57855446af32fdd8f82ffaa763b", + "commits": [], + "end_line": 27, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/LookupTableDecorator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/decorators" + }, + { + "count": 30, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/decorators->M:graylog2-server/src/main/java/org/graylog2/plugin", + "kind": "uses", + "refs": [ + { + "blob_sha": "d16f369f33cb5a597afd0603c50b07661458a24f", + "commits": [], + "end_line": 20, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/DecoratorBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "d16f369f33cb5a597afd0603c50b07661458a24f", + "commits": [], + "end_line": 21, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/DecoratorBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "544d1ab5a46675eb33bc7f98eab63fca19d356b3", + "commits": [], + "end_line": 20, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/DecoratorProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "670477f5b540c134d7a21e372e063135f06a6d6d", + "commits": [], + "end_line": 20, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/DecoratorProcessorImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "670477f5b540c134d7a21e372e063135f06a6d6d", + "commits": [], + "end_line": 21, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/DecoratorProcessorImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "e5e343153acb4fc4e9fc3b6bb8608371614c991e", + "commits": [], + "end_line": 19, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/DecoratorResolver.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "793dbd1ce24ec89bcf9a7246ea72215a18948a86", + "commits": [], + "end_line": 26, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/FormatStringDecorator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "793dbd1ce24ec89bcf9a7246ea72215a18948a86", + "commits": [], + "end_line": 27, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/FormatStringDecorator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "793dbd1ce24ec89bcf9a7246ea72215a18948a86", + "commits": [], + "end_line": 28, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/FormatStringDecorator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "793dbd1ce24ec89bcf9a7246ea72215a18948a86", + "commits": [], + "end_line": 29, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/FormatStringDecorator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/decorators" + }, + { + "count": 13, + "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/decorators->M:graylog2-server/src/main/java/org/graylog2/rest", + "kind": "uses", + "refs": [ + { + "blob_sha": "544d1ab5a46675eb33bc7f98eab63fca19d356b3", + "commits": [], + "end_line": 21, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/DecoratorProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "670477f5b540c134d7a21e372e063135f06a6d6d", + "commits": [], + "end_line": 22, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/DecoratorProcessorImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "670477f5b540c134d7a21e372e063135f06a6d6d", + "commits": [], + "end_line": 23, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/DecoratorProcessorImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "670477f5b540c134d7a21e372e063135f06a6d6d", + "commits": [], + "end_line": 24, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/DecoratorProcessorImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "670477f5b540c134d7a21e372e063135f06a6d6d", + "commits": [], + "end_line": 25, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/DecoratorProcessorImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "793dbd1ce24ec89bcf9a7246ea72215a18948a86", + "commits": [], + "end_line": 32, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/FormatStringDecorator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "793dbd1ce24ec89bcf9a7246ea72215a18948a86", + "commits": [], + "end_line": 33, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/FormatStringDecorator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "b40f6aea3b21ad7ca28a5afba6b40db351dcce58", + "commits": [], + "end_line": 28, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/LinkFieldDecorator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "b40f6aea3b21ad7ca28a5afba6b40db351dcce58", + "commits": [], + "end_line": 29, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/LinkFieldDecorator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "a1909d2a0085b57855446af32fdd8f82ffaa763b", + "commits": [], + "end_line": 36, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/LookupTableDecorator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/decorators" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/decorators->M:graylog2-server/src/main/java/org/graylog2/shared", + "kind": "uses", + "refs": [ + { + "blob_sha": "587f33b271496b5be0c61381becc7c2756f80ba1", + "commits": [], + "end_line": 38, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/DecoratorImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 38 + }, + { + "blob_sha": "587f33b271496b5be0c61381becc7c2756f80ba1", + "commits": [], + "end_line": 39, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/decorators/DecoratorImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 39 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/decorators" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/bindings", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/events->M:graylog2-server/src/main/java/org/graylog2/bindings", + "kind": "uses", + "refs": [ + { + "blob_sha": "7807452d5607dec5399f73c0d8195b7ee3bfa3b4", + "commits": [], + "end_line": 40, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/events/ClusterEventService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 40 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/events" + }, + { + "count": 5, + "dst": "M:graylog2-server/src/main/java/org/graylog2/database", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/events->M:graylog2-server/src/main/java/org/graylog2/database", + "kind": "uses", + "refs": [ + { + "blob_sha": "19355c83f11f1d10b3a4c97d66c2b9a7f8c932fc", + "commits": [], + "end_line": 27, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/events/ClusterEvent.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "7807452d5607dec5399f73c0d8195b7ee3bfa3b4", + "commits": [], + "end_line": 41, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/events/ClusterEventService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 41 + }, + { + "blob_sha": "7807452d5607dec5399f73c0d8195b7ee3bfa3b4", + "commits": [], + "end_line": 42, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/events/ClusterEventService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 42 + }, + { + "blob_sha": "7807452d5607dec5399f73c0d8195b7ee3bfa3b4", + "commits": [], + "end_line": 43, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/events/ClusterEventService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 43 + }, + { + "blob_sha": "3cb9df5771f88b4bc7fd1cbd0f9164d6d0dd14c7", + "commits": [], + "end_line": 23, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/events/OffsetFromCurrentMongoDBTimeProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/events" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/events->M:graylog2-server/src/main/java/org/graylog2/plugin", + "kind": "uses", + "refs": [ + { + "blob_sha": "7807452d5607dec5399f73c0d8195b7ee3bfa3b4", + "commits": [], + "end_line": 44, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/events/ClusterEventService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 44 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/events" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/security", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/events->M:graylog2-server/src/main/java/org/graylog2/security", + "kind": "uses", + "refs": [ + { + "blob_sha": "7807452d5607dec5399f73c0d8195b7ee3bfa3b4", + "commits": [], + "end_line": 45, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/events/ClusterEventService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 45 + }, + { + "blob_sha": "7807452d5607dec5399f73c0d8195b7ee3bfa3b4", + "commits": [], + "end_line": 46, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/events/ClusterEventService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 46 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/events" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/events->M:graylog2-server/src/main/java/org/graylog2/shared", + "kind": "uses", + "refs": [ + { + "blob_sha": "7807452d5607dec5399f73c0d8195b7ee3bfa3b4", + "commits": [], + "end_line": 47, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/events/ClusterEventService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 47 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/events" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/featureflag->M:graylog2-server/src/main/java/org/graylog2/(root)", + "kind": "uses", + "refs": [ + { + "blob_sha": "a8efd0f3255a7a5185a74dd1a6f52c939367f01c", + "commits": [], + "end_line": 20, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/featureflag/FeatureFlagsFactory.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "a21d4637e6ff66622bcf196d561c71a22c938e5d", + "commits": [], + "end_line": 21, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/featureflag/ImmutableFeatureFlagsCollector.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/featureflag" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/featureflag->M:graylog2-server/src/main/java/org/graylog2/shared", + "kind": "uses", + "refs": [ + { + "blob_sha": "b802ea51cfc77addd59a7ce6422731618c8fcfc8", + "commits": [], + "end_line": 22, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/featureflag/ImmutableFeatureFlags.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/featureflag" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog/failure", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/filters->M:graylog2-server/src/main/java/org/graylog/failure", + "kind": "uses", + "refs": [ + { + "blob_sha": "bb78ba21c21bdd556c9d89c9c4e2b727536a1024", + "commits": [], + "end_line": 22, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/filters/ExtractorFilter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/filters" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/database", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/filters->M:graylog2-server/src/main/java/org/graylog2/database", + "kind": "uses", + "refs": [ + { + "blob_sha": "bb78ba21c21bdd556c9d89c9c4e2b727536a1024", + "commits": [], + "end_line": 23, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/filters/ExtractorFilter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/filters" + }, + { + "count": 6, + "dst": "M:graylog2-server/src/main/java/org/graylog2/inputs", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/filters->M:graylog2-server/src/main/java/org/graylog2/inputs", + "kind": "uses", + "refs": [ + { + "blob_sha": "bb78ba21c21bdd556c9d89c9c4e2b727536a1024", + "commits": [], + "end_line": 24, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/filters/ExtractorFilter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "bb78ba21c21bdd556c9d89c9c4e2b727536a1024", + "commits": [], + "end_line": 25, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/filters/ExtractorFilter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "bb78ba21c21bdd556c9d89c9c4e2b727536a1024", + "commits": [], + "end_line": 26, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/filters/ExtractorFilter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "bb78ba21c21bdd556c9d89c9c4e2b727536a1024", + "commits": [], + "end_line": 27, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/filters/ExtractorFilter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "bb78ba21c21bdd556c9d89c9c4e2b727536a1024", + "commits": [], + "end_line": 28, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/filters/ExtractorFilter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "cdd13980c45faca7844aadde697e1e93ce34f49b", + "commits": [], + "end_line": 24, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/filters/StaticFieldFilter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/filters" + }, + { + "count": 7, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/filters->M:graylog2-server/src/main/java/org/graylog2/plugin", + "kind": "uses", + "refs": [ + { + "blob_sha": "bb78ba21c21bdd556c9d89c9c4e2b727536a1024", + "commits": [], + "end_line": 29, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/filters/ExtractorFilter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "bb78ba21c21bdd556c9d89c9c4e2b727536a1024", + "commits": [], + "end_line": 30, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/filters/ExtractorFilter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "bb78ba21c21bdd556c9d89c9c4e2b727536a1024", + "commits": [], + "end_line": 31, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/filters/ExtractorFilter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "bb78ba21c21bdd556c9d89c9c4e2b727536a1024", + "commits": [], + "end_line": 32, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/filters/ExtractorFilter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "cdd13980c45faca7844aadde697e1e93ce34f49b", + "commits": [], + "end_line": 25, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/filters/StaticFieldFilter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "cdd13980c45faca7844aadde697e1e93ce34f49b", + "commits": [], + "end_line": 26, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/filters/StaticFieldFilter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "cdd13980c45faca7844aadde697e1e93ce34f49b", + "commits": [], + "end_line": 27, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/filters/StaticFieldFilter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/filters" + }, + { + "count": 6, + "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/filters->M:graylog2-server/src/main/java/org/graylog2/rest", + "kind": "uses", + "refs": [ + { + "blob_sha": "bb78ba21c21bdd556c9d89c9c4e2b727536a1024", + "commits": [], + "end_line": 33, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/filters/ExtractorFilter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "bb78ba21c21bdd556c9d89c9c4e2b727536a1024", + "commits": [], + "end_line": 34, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/filters/ExtractorFilter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "bb78ba21c21bdd556c9d89c9c4e2b727536a1024", + "commits": [], + "end_line": 35, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/filters/ExtractorFilter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + }, + { + "blob_sha": "cdd13980c45faca7844aadde697e1e93ce34f49b", + "commits": [], + "end_line": 28, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/filters/StaticFieldFilter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "cdd13980c45faca7844aadde697e1e93ce34f49b", + "commits": [], + "end_line": 29, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/filters/StaticFieldFilter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "cdd13980c45faca7844aadde697e1e93ce34f49b", + "commits": [], + "end_line": 30, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/filters/StaticFieldFilter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/filters" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/filters->M:graylog2-server/src/main/java/org/graylog2/shared", + "kind": "uses", + "refs": [ + { + "blob_sha": "bb78ba21c21bdd556c9d89c9c4e2b727536a1024", + "commits": [], + "end_line": 36, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/filters/ExtractorFilter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/filters" + }, + { + "count": 12, + "dst": "M:graylog2-server/src/main/java/org/graylog2/database", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/grok->M:graylog2-server/src/main/java/org/graylog2/database", + "kind": "uses", + "refs": [ + { + "blob_sha": "b9f752963b03ee5ef8b16761ff698d2be692e032", + "commits": [], + "end_line": 23, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/grok/GrokPattern.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "b9f752963b03ee5ef8b16761ff698d2be692e032", + "commits": [], + "end_line": 24, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/grok/GrokPattern.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "8caf01978092df7156e819619a97c920a0c45d4b", + "commits": [], + "end_line": 21, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/grok/GrokPatternService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "5d131694165ea97d147470075a779bda27ae127b", + "commits": [], + "end_line": 22, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/grok/InMemoryGrokPatternService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "a88606593ed1d67bad38c15a11eaeabcaa776e6f", + "commits": [], + "end_line": 31, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/grok/MongoDbGrokPatternService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "a88606593ed1d67bad38c15a11eaeabcaa776e6f", + "commits": [], + "end_line": 32, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/grok/MongoDbGrokPatternService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "a88606593ed1d67bad38c15a11eaeabcaa776e6f", + "commits": [], + "end_line": 33, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/grok/MongoDbGrokPatternService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "a88606593ed1d67bad38c15a11eaeabcaa776e6f", + "commits": [], + "end_line": 34, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/grok/MongoDbGrokPatternService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "ffa7f432c306d16618e43780279585badc31b73c", + "commits": [], + "end_line": 19, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/grok/PaginatedGrokPatternService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "ffa7f432c306d16618e43780279585badc31b73c", + "commits": [], + "end_line": 21, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/grok/PaginatedGrokPatternService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/grok" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/events", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/grok->M:graylog2-server/src/main/java/org/graylog2/events", + "kind": "uses", + "refs": [ + { + "blob_sha": "5d131694165ea97d147470075a779bda27ae127b", + "commits": [], + "end_line": 23, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/grok/InMemoryGrokPatternService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "a88606593ed1d67bad38c15a11eaeabcaa776e6f", + "commits": [], + "end_line": 35, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/grok/MongoDbGrokPatternService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/grok" + }, + { + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/grok->M:graylog2-server/src/main/java/org/graylog2/plugin", + "kind": "uses", + "refs": [ + { + "blob_sha": "8caf01978092df7156e819619a97c920a0c45d4b", + "commits": [], + "end_line": 22, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/grok/GrokPatternService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "8b0553a2c5eee02895bc93fa17b88cdd6a8d821e", + "commits": [], + "end_line": 23, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/grok/GrokPatternServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "5d131694165ea97d147470075a779bda27ae127b", + "commits": [], + "end_line": 24, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/grok/InMemoryGrokPatternService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "a88606593ed1d67bad38c15a11eaeabcaa776e6f", + "commits": [], + "end_line": 36, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/grok/MongoDbGrokPatternService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/grok" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/grok->M:graylog2-server/src/main/java/org/graylog2/rest", + "kind": "uses", + "refs": [ + { + "blob_sha": "ffa7f432c306d16618e43780279585badc31b73c", + "commits": [], + "end_line": 24, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/grok/PaginatedGrokPatternService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/grok" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/search", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/grok->M:graylog2-server/src/main/java/org/graylog2/search", + "kind": "uses", + "refs": [ + { + "blob_sha": "ffa7f432c306d16618e43780279585badc31b73c", + "commits": [], + "end_line": 25, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/grok/PaginatedGrokPatternService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/grok" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog/collectors", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog/collectors", + "kind": "uses", + "refs": [ + { + "blob_sha": "c0de26a29f0cb5316339126cc2378cbce420ee63", + "commits": [], + "end_line": 29, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/IndexSetConfig.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog/events", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog/events", + "kind": "uses", + "refs": [ + { + "blob_sha": "458c4dd1b3f1a5d660ebcb57ef7756e6afc4e7ad", + "commits": [], + "end_line": 22, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/fieldtypes/FieldTypeMapper.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "6506440969930b01fe868d9db6c7689c9abf6e34", + "commits": [], + "end_line": 20, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/template/EventsIndexMapping.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog/failure", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog/failure", + "kind": "uses", + "refs": [ + { + "blob_sha": "75837dd5c19cf2af24f8d377ce9694878d6ba268", + "commits": [], + "end_line": 28, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/messages/Messages.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" + }, + { + "count": 8, + "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog/plugins", + "kind": "uses", + "refs": [ + { + "blob_sha": "458c4dd1b3f1a5d660ebcb57ef7756e6afc4e7ad", + "commits": [], + "end_line": 23, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/fieldtypes/FieldTypeMapper.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "8917961c1759aa0abb801e8dd510440fe4c1f63a", + "commits": [], + "end_line": 19, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/fieldtypes/MappedFieldTypesService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "0b0df4c8f6e04e882fd4928fdb8ff10b9f606e9f", + "commits": [], + "end_line": 22, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/fieldtypes/MappedFieldTypesServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "0b0df4c8f6e04e882fd4928fdb8ff10b9f606e9f", + "commits": [], + "end_line": 23, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/fieldtypes/MappedFieldTypesServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "0b0df4c8f6e04e882fd4928fdb8ff10b9f606e9f", + "commits": [], + "end_line": 24, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/fieldtypes/MappedFieldTypesServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "0b0df4c8f6e04e882fd4928fdb8ff10b9f606e9f", + "commits": [], + "end_line": 25, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/fieldtypes/MappedFieldTypesServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "b03f742bb0f7c5d83c15b64c5cb49fa617c9141f", + "commits": [], + "end_line": 21, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/metrics/IndexSetMetricDescriptor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "f7547d74a04e54fd49e7e3e2296712ac19392e4d", + "commits": [], + "end_line": 22, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/searches/ChunkCommand.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" + }, + { + "count": 33, + "dst": "M:graylog2-server/src/main/java/org/graylog/scheduler", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog/scheduler", + "kind": "uses", + "refs": [ + { + "blob_sha": "7ceea5580cd9bb2b222322a3a4b1b305325a91e4", + "commits": [], + "end_line": 25, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/MongoIndexSet.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "89cdadf806c5117dfa9c5024268ca53e3baee964", + "commits": [], + "end_line": 25, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indices/ReindexOutdatedIndexJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "89cdadf806c5117dfa9c5024268ca53e3baee964", + "commits": [], + "end_line": 26, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indices/ReindexOutdatedIndexJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "89cdadf806c5117dfa9c5024268ca53e3baee964", + "commits": [], + "end_line": 27, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indices/ReindexOutdatedIndexJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "89cdadf806c5117dfa9c5024268ca53e3baee964", + "commits": [], + "end_line": 28, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indices/ReindexOutdatedIndexJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "89cdadf806c5117dfa9c5024268ca53e3baee964", + "commits": [], + "end_line": 29, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indices/ReindexOutdatedIndexJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "89cdadf806c5117dfa9c5024268ca53e3baee964", + "commits": [], + "end_line": 30, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indices/ReindexOutdatedIndexJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "37fc3eb255c7a5d5bb4acd473e00075a0361fdb6", + "commits": [], + "end_line": 27, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indices/jobs/OptimizeIndexJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "37fc3eb255c7a5d5bb4acd473e00075a0361fdb6", + "commits": [], + "end_line": 28, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indices/jobs/OptimizeIndexJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "37fc3eb255c7a5d5bb4acd473e00075a0361fdb6", + "commits": [], + "end_line": 29, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indices/jobs/OptimizeIndexJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog/schema", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog/schema", + "kind": "uses", + "refs": [ + { + "blob_sha": "6506440969930b01fe868d9db6c7689c9abf6e34", + "commits": [], + "end_line": 26, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/template/EventsIndexMapping.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog2/(root)", + "kind": "uses", + "refs": [ + { + "blob_sha": "0b0df4c8f6e04e882fd4928fdb8ff10b9f606e9f", + "commits": [], + "end_line": 26, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/fieldtypes/MappedFieldTypesServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "59358d8c84b4809516dc4bdd63b8d173adfca936", + "commits": [], + "end_line": 23, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/template/IndexSetTemplateProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" + }, + { + "count": 22, + "dst": "M:graylog2-server/src/main/java/org/graylog2/audit", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog2/audit", + "kind": "uses", + "refs": [ + { + "blob_sha": "7ceea5580cd9bb2b222322a3a4b1b305325a91e4", + "commits": [], + "end_line": 26, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/MongoIndexSet.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "7ceea5580cd9bb2b222322a3a4b1b305325a91e4", + "commits": [], + "end_line": 27, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/MongoIndexSet.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "7ceea5580cd9bb2b222322a3a4b1b305325a91e4", + "commits": [], + "end_line": 60, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/MongoIndexSet.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 60 + }, + { + "blob_sha": "e9b27b205ec771207c4335056e3b4c612e69255a", + "commits": [], + "end_line": 23, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/template/IndexSetDefaultTemplateService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "e9b27b205ec771207c4335056e3b4c612e69255a", + "commits": [], + "end_line": 24, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/template/IndexSetDefaultTemplateService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "e9b27b205ec771207c4335056e3b4c612e69255a", + "commits": [], + "end_line": 33, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/template/IndexSetDefaultTemplateService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "7fcd3ba939c735319eb6095e9a8f26b8cc77a03c", + "commits": [], + "end_line": 28, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indices/Indices.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "7fcd3ba939c735319eb6095e9a8f26b8cc77a03c", + "commits": [], + "end_line": 29, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indices/Indices.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "7fcd3ba939c735319eb6095e9a8f26b8cc77a03c", + "commits": [], + "end_line": 73, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indices/Indices.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 73 + }, + { + "blob_sha": "f41479702bb20d573e4ee0449e7db9c9964c8c8f", + "commits": [], + "end_line": 32, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/ranges/MongoIndexRangeService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" + }, + { + "count": 6, + "dst": "M:graylog2-server/src/main/java/org/graylog2/buffers", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog2/buffers", + "kind": "uses", + "refs": [ + { + "blob_sha": "2d38e2b299320ee7df4016ccf064d6c99dbade9d", + "commits": [], + "end_line": 20, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/healing/FixDeflectorByDeleteJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "2d38e2b299320ee7df4016ccf064d6c99dbade9d", + "commits": [], + "end_line": 35, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/healing/FixDeflectorByDeleteJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + }, + { + "blob_sha": "2d38e2b299320ee7df4016ccf064d6c99dbade9d", + "commits": [], + "end_line": 36, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/healing/FixDeflectorByDeleteJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + }, + { + "blob_sha": "c5f3f11c79912d6cf92b0fa598feef3f01da5494", + "commits": [], + "end_line": 20, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/healing/FixDeflectorByMoveJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "c5f3f11c79912d6cf92b0fa598feef3f01da5494", + "commits": [], + "end_line": 35, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/healing/FixDeflectorByMoveJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + }, + { + "blob_sha": "c5f3f11c79912d6cf92b0fa598feef3f01da5494", + "commits": [], + "end_line": 36, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/healing/FixDeflectorByMoveJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" + }, + { + "count": 16, + "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog2/cluster", + "kind": "uses", + "refs": [ + { + "blob_sha": "89cdadf806c5117dfa9c5024268ca53e3baee964", + "commits": [], + "end_line": 31, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indices/ReindexOutdatedIndexJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "89cdadf806c5117dfa9c5024268ca53e3baee964", + "commits": [], + "end_line": 38, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indices/ReindexOutdatedIndexJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 38 + }, + { + "blob_sha": "89cdadf806c5117dfa9c5024268ca53e3baee964", + "commits": [], + "end_line": 32, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indices/ReindexOutdatedIndexJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "37fc3eb255c7a5d5bb4acd473e00075a0361fdb6", + "commits": [], + "end_line": 33, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indices/jobs/OptimizeIndexJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "37fc3eb255c7a5d5bb4acd473e00075a0361fdb6", + "commits": [], + "end_line": 43, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indices/jobs/OptimizeIndexJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 43 + }, + { + "blob_sha": "37fc3eb255c7a5d5bb4acd473e00075a0361fdb6", + "commits": [], + "end_line": 44, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indices/jobs/OptimizeIndexJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 44 + }, + { + "blob_sha": "37fc3eb255c7a5d5bb4acd473e00075a0361fdb6", + "commits": [], + "end_line": 34, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indices/jobs/OptimizeIndexJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "774d6fa671d3e1d890b3c81039ce4aaeb28d7940", + "commits": [], + "end_line": 31, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indices/jobs/SetIndexReadOnlyAndCalculateRangeJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "774d6fa671d3e1d890b3c81039ce4aaeb28d7940", + "commits": [], + "end_line": 48, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indices/jobs/SetIndexReadOnlyAndCalculateRangeJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 48 + }, + { + "blob_sha": "774d6fa671d3e1d890b3c81039ce4aaeb28d7940", + "commits": [], + "end_line": 32, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indices/jobs/SetIndexReadOnlyAndCalculateRangeJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" + }, + { + "count": 14, + "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog2/configuration", + "kind": "uses", + "refs": [ + { + "blob_sha": "e9b27b205ec771207c4335056e3b4c612e69255a", + "commits": [], + "end_line": 25, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/template/IndexSetDefaultTemplateService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "b4566f8a3f2cfb065a16f44700b9c24692151db2", + "commits": [], + "end_line": 22, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/validation/IndexSetValidator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "8f3d61c6545f7b9c41dd7bcab7ab750a0ce98850", + "commits": [], + "end_line": 19, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/retention/RetentionStrategyBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "319f6c31594568269701bd2f1699feeb0f653ec1", + "commits": [], + "end_line": 24, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/retention/strategies/ClosingRetentionStrategyConfig.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "b9c78a90aa15739d3a8847c5d53d50e613b5b799", + "commits": [], + "end_line": 24, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/retention/strategies/DeletionRetentionStrategyConfig.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "751add5fc45511886550a27c147c63438658b7f2", + "commits": [], + "end_line": 24, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/retention/strategies/NoopRetentionStrategyConfig.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "fe9b0c7d324c201af4268821a449a89b60380fc3", + "commits": [], + "end_line": 19, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/rotation/RotationStrategyBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "a05e585a26775413b2158074e9eb152cc18ae1c2", + "commits": [], + "end_line": 22, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/rotation/strategies/TimeBasedRotationStrategy.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "0717238409364cf20efa07fc0127fd9b9739ff13", + "commits": [], + "end_line": 20, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/rotation/strategies/TimeBasedSizeOptimizingStrategy.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "76e9b891f55ce184ce3b4d227e923f95f8e98ccf", + "commits": [], + "end_line": 24, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/rotation/tso/TimeSizeOptimizingCalculator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" + }, + { + "count": 54, + "dst": "M:graylog2-server/src/main/java/org/graylog2/database", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog2/database", + "kind": "uses", + "refs": [ + { + "blob_sha": "17ef7d51f07474a843bcb7bfe8c7150b3dc114f3", + "commits": [], + "end_line": 21, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/IndexFailureImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "17ef7d51f07474a843bcb7bfe8c7150b3dc114f3", + "commits": [], + "end_line": 22, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/IndexFailureImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "880b9fb953f87319e2846dce66bdcccec3a5e852", + "commits": [], + "end_line": 27, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/IndexFailureServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "880b9fb953f87319e2846dce66bdcccec3a5e852", + "commits": [], + "end_line": 28, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/IndexFailureServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "880b9fb953f87319e2846dce66bdcccec3a5e852", + "commits": [], + "end_line": 29, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/IndexFailureServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "7c29755adc69b991fd1eb160e6c8aa50472ab777", + "commits": [], + "end_line": 24, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/fieldtypes/IndexFieldTypesDTO.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "475eac6b77e81bdcc14af641a05f32fce4a139bd", + "commits": [], + "end_line": 24, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/fieldtypes/IndexFieldTypesListService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "475eac6b77e81bdcc14af641a05f32fce4a139bd", + "commits": [], + "end_line": 25, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/fieldtypes/IndexFieldTypesListService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "d2b56e041c4eae68188e69385abe772e4ab5cd36", + "commits": [], + "end_line": 31, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/fieldtypes/IndexFieldTypesService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "d2b56e041c4eae68188e69385abe772e4ab5cd36", + "commits": [], + "end_line": 32, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/fieldtypes/IndexFieldTypesService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" + }, + { + "count": 12, + "dst": "M:graylog2-server/src/main/java/org/graylog2/datatiering", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog2/datatiering", + "kind": "uses", + "refs": [ + { + "blob_sha": "c0de26a29f0cb5316339126cc2378cbce420ee63", + "commits": [], + "end_line": 34, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/IndexSetConfig.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "a62371ec5bcd131552381dc7d52b55a691218302", + "commits": [], + "end_line": 20, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/IndexSetConfigFactory.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "a62371ec5bcd131552381dc7d52b55a691218302", + "commits": [], + "end_line": 21, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/IndexSetConfigFactory.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "43aa27f0061d71a77ea5873a7b17f762e1434935", + "commits": [], + "end_line": 21, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/fields/RotationAndRetentionFields.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "0af306d830bc2572d222d15a94ea0a7a91821d52", + "commits": [], + "end_line": 31, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/template/IndexSetTemplateService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "61473c17c30dad0fda809cb7bfe1c939f6eeada5", + "commits": [], + "end_line": 19, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/template/requirement/EnterprisePluginRequirement.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "b4566f8a3f2cfb065a16f44700b9c24692151db2", + "commits": [], + "end_line": 23, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/validation/IndexSetValidator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "b4566f8a3f2cfb065a16f44700b9c24692151db2", + "commits": [], + "end_line": 24, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/validation/IndexSetValidator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "b4566f8a3f2cfb065a16f44700b9c24692151db2", + "commits": [], + "end_line": 25, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/validation/IndexSetValidator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "7fcd3ba939c735319eb6095e9a8f26b8cc77a03c", + "commits": [], + "end_line": 30, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indices/Indices.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/events", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog2/events", + "kind": "uses", + "refs": [ + { + "blob_sha": "5102a3bc4b272714923b53ea650f2499f81e3feb", + "commits": [], + "end_line": 37, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/MongoIndexSetService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 37 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" + }, + { + "count": 16, + "dst": "M:graylog2-server/src/main/java/org/graylog2/metrics", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog2/metrics", + "kind": "uses", + "refs": [ + { + "blob_sha": "7d8b3d791604cbb80bd7ca96eeedfb3251a225d2", + "commits": [], + "end_line": 27, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/metrics/IndexSetDeflectorHealthDescriptor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "7d8b3d791604cbb80bd7ca96eeedfb3251a225d2", + "commits": [], + "end_line": 34, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/metrics/IndexSetDeflectorHealthDescriptor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "912cd22a2b83867d1b4a02bec73aa3e535599e98", + "commits": [], + "end_line": 28, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/metrics/IndexSetFieldCountDescriptor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "912cd22a2b83867d1b4a02bec73aa3e535599e98", + "commits": [], + "end_line": 38, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/metrics/IndexSetFieldCountDescriptor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 38 + }, + { + "blob_sha": "83995215bd9ba37cdbabb11e2f9d209d85708c9c", + "commits": [], + "end_line": 26, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/metrics/IndexSetIndexingFailuresDescriptor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "83995215bd9ba37cdbabb11e2f9d209d85708c9c", + "commits": [], + "end_line": 34, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/metrics/IndexSetIndexingFailuresDescriptor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "b03f742bb0f7c5d83c15b64c5cb49fa617c9141f", + "commits": [], + "end_line": 25, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/metrics/IndexSetMetricDescriptor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "b03f742bb0f7c5d83c15b64c5cb49fa617c9141f", + "commits": [], + "end_line": 26, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/metrics/IndexSetMetricDescriptor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "79da23a985ed0da7e2ba4cd12173ad96c2e9e21c", + "commits": [], + "end_line": 24, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/metrics/IndexSetMetricsRefreshPeriodical.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "79da23a985ed0da7e2ba4cd12173ad96c2e9e21c", + "commits": [], + "end_line": 40, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/metrics/IndexSetMetricsRefreshPeriodical.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 40 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" + }, + { + "count": 6, + "dst": "M:graylog2-server/src/main/java/org/graylog2/notifications", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog2/notifications", + "kind": "uses", + "refs": [ + { + "blob_sha": "2d38e2b299320ee7df4016ccf064d6c99dbade9d", + "commits": [], + "end_line": 24, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/healing/FixDeflectorByDeleteJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "2d38e2b299320ee7df4016ccf064d6c99dbade9d", + "commits": [], + "end_line": 25, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/healing/FixDeflectorByDeleteJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "c5f3f11c79912d6cf92b0fa598feef3f01da5494", + "commits": [], + "end_line": 24, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/healing/FixDeflectorByMoveJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "c5f3f11c79912d6cf92b0fa598feef3f01da5494", + "commits": [], + "end_line": 25, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/healing/FixDeflectorByMoveJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "7ceea5580cd9bb2b222322a3a4b1b305325a91e4", + "commits": [], + "end_line": 38, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/MongoIndexSet.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 38 + }, + { + "blob_sha": "7ceea5580cd9bb2b222322a3a4b1b305325a91e4", + "commits": [], + "end_line": 39, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/MongoIndexSet.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 39 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/periodical", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog2/periodical", + "kind": "uses", + "refs": [ + { + "blob_sha": "f226185f6cab0a858126faf21ea5be3eaf20b284", + "commits": [], + "end_line": 22, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/retention/executors/RetentionExecutor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" + }, + { + "count": 95, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog2/plugin", + "kind": "uses", + "refs": [ + { + "blob_sha": "793d39ffe61389b36c43dccb16cf054d2881e77e", + "commits": [], + "end_line": 19, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/FieldTypeManagementModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "ce693f47699dc303e3314237a2d709829a387296", + "commits": [], + "end_line": 19, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/IndexFailure.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "17ef7d51f07474a843bcb7bfe8c7150b3dc114f3", + "commits": [], + "end_line": 23, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/IndexFailureImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "17ef7d51f07474a843bcb7bfe8c7150b3dc114f3", + "commits": [], + "end_line": 24, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/IndexFailureImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "f90ecdd4afc5c57dbe31f77fb3f673605efc7777", + "commits": [], + "end_line": 19, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/IndexFailureService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "47e072e5888efe89082a639280c99e60c7352038", + "commits": [], + "end_line": 34, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/IndexerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "da8b3919fd37b6edebd033accee801b24756f518", + "commits": [], + "end_line": 20, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/counts/CountsAdapter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "c02b3dcaf2b41f2ce4f718106d8544be105f7338", + "commits": [], + "end_line": 26, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/datastream/DataStreamServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "458c4dd1b3f1a5d660ebcb57ef7756e6afc4e7ad", + "commits": [], + "end_line": 24, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/fieldtypes/FieldTypeMapper.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "458c4dd1b3f1a5d660ebcb57ef7756e6afc4e7ad", + "commits": [], + "end_line": 25, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/fieldtypes/FieldTypeMapper.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" + }, + { + "count": 45, + "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog2/rest", + "kind": "uses", + "refs": [ + { + "blob_sha": "793d39ffe61389b36c43dccb16cf054d2881e77e", + "commits": [], + "end_line": 20, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/FieldTypeManagementModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "47e072e5888efe89082a639280c99e60c7352038", + "commits": [], + "end_line": 35, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/IndexerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + }, + { + "blob_sha": "47e072e5888efe89082a639280c99e60c7352038", + "commits": [], + "end_line": 36, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/IndexerBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + }, + { + "blob_sha": "2cdd977abe49a371016727c69a3b5e2f8e2434ab", + "commits": [], + "end_line": 29, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/cluster/Cluster.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "08333c770d5b92ef4c2dd9585accbd1ddfce8e2f", + "commits": [], + "end_line": 25, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/cluster/ClusterAdapter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "475eac6b77e81bdcc14af641a05f32fce4a139bd", + "commits": [], + "end_line": 34, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/fieldtypes/IndexFieldTypesListService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "475eac6b77e81bdcc14af641a05f32fce4a139bd", + "commits": [], + "end_line": 35, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/fieldtypes/IndexFieldTypesListService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + }, + { + "blob_sha": "475eac6b77e81bdcc14af641a05f32fce4a139bd", + "commits": [], + "end_line": 36, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/fieldtypes/IndexFieldTypesListService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + }, + { + "blob_sha": "04ab6f69c584ca895c414bed332b23d8b8e8f4ba", + "commits": [], + "end_line": 30, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/fieldtypes/mapping/FieldTypeMappingsService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "04ab6f69c584ca895c414bed332b23d8b8e8f4ba", + "commits": [], + "end_line": 31, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/fieldtypes/mapping/FieldTypeMappingsService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/search", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog2/search", + "kind": "uses", + "refs": [ + { + "blob_sha": "0af306d830bc2572d222d15a94ea0a7a91821d52", + "commits": [], + "end_line": 36, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/template/IndexSetTemplateService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" + }, + { + "count": 49, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog2/shared", + "kind": "uses", + "refs": [ + { + "blob_sha": "17ef7d51f07474a843bcb7bfe8c7150b3dc114f3", + "commits": [], + "end_line": 30, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/IndexFailureImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "17ef7d51f07474a843bcb7bfe8c7150b3dc114f3", + "commits": [], + "end_line": 31, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/IndexFailureImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "221cc02cd74eb519a13ab7567b73202f6c811136", + "commits": [], + "end_line": 19, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/datastream/policy/actions/BytesUnit.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "cb275e45cfb14dfcc36fe7128a032cc294b683be", + "commits": [], + "end_line": 19, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/datastream/policy/actions/TimesUnit.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "fadd2137c254d2eb5f5ea42f039bb25fa46fa0d3", + "commits": [], + "end_line": 46, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/fieldtypes/datefix/NumericDateFieldDetector.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 46 + }, + { + "blob_sha": "2d38e2b299320ee7df4016ccf064d6c99dbade9d", + "commits": [], + "end_line": 27, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/healing/FixDeflectorByDeleteJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "2d38e2b299320ee7df4016ccf064d6c99dbade9d", + "commits": [], + "end_line": 28, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/healing/FixDeflectorByDeleteJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "c5f3f11c79912d6cf92b0fa598feef3f01da5494", + "commits": [], + "end_line": 27, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/healing/FixDeflectorByMoveJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "c5f3f11c79912d6cf92b0fa598feef3f01da5494", + "commits": [], + "end_line": 28, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/healing/FixDeflectorByMoveJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "486a45020a61d15ee88cfc374bfd2fe0cf5730c7", + "commits": [], + "end_line": 31, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/IndexSetCategory.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" + }, + { + "count": 10, + "dst": "M:graylog2-server/src/main/java/org/graylog2/storage", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog2/storage", + "kind": "uses", + "refs": [ + { + "blob_sha": "756094b58705df9facb46553e9ea342910cafd46", + "commits": [], + "end_line": 19, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/cluster/Node.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "378102ba2dfec14e954590dc4b1b754ddc4fc2d6", + "commits": [], + "end_line": 21, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/cluster/NodeAdapter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "3994cbca99b12c40f832b5dcc859f2ef5574296b", + "commits": [], + "end_line": 21, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indices/IndexTemplateAdapterProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "3994cbca99b12c40f832b5dcc859f2ef5574296b", + "commits": [], + "end_line": 22, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indices/IndexTemplateAdapterProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "3994cbca99b12c40f832b5dcc859f2ef5574296b", + "commits": [], + "end_line": 23, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indices/IndexTemplateAdapterProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "0b1f4de5bb6d37a64f6f908249c977767194d5ff", + "commits": [], + "end_line": 21, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/template/BasicIndexTemplateProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "0b1f4de5bb6d37a64f6f908249c977767194d5ff", + "commits": [], + "end_line": 23, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/template/BasicIndexTemplateProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "0b1f4de5bb6d37a64f6f908249c977767194d5ff", + "commits": [], + "end_line": 24, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/template/BasicIndexTemplateProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "4662ceaf5c17eed438a05463084ef12e08f19373", + "commits": [], + "end_line": 24, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/template/IndexMappingFactory.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "299196b4f6ac82a365cea78e3d9cf9ae89062f81", + "commits": [], + "end_line": 19, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/template/IndexTemplateProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" + }, + { + "count": 5, + "dst": "M:graylog2-server/src/main/java/org/graylog2/streams", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog2/streams", + "kind": "uses", + "refs": [ + { + "blob_sha": "967bd006a471df67eeb6b3bef38d211ee442df8b", + "commits": [], + "end_line": 26, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/IndexSetAttributeSorts.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "967bd006a471df67eeb6b3bef38d211ee442df8b", + "commits": [], + "end_line": 27, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/IndexSetAttributeSorts.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "f26c0271b2f3253f2ceb85d28b78fbbb6e4662a8", + "commits": [], + "end_line": 28, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/IndexSetFieldTypeSummaryService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "5102a3bc4b272714923b53ea650f2499f81e3feb", + "commits": [], + "end_line": 41, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/MongoIndexSetService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 41 + }, + { + "blob_sha": "ba776417e0a6fcd39a1358e9d5a40ed3912d9c25", + "commits": [], + "end_line": 41, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/searches/Searches.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 41 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" + }, + { + "count": 14, + "dst": "M:graylog2-server/src/main/java/org/graylog2/system", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog2/system", + "kind": "uses", + "refs": [ + { + "blob_sha": "2cdd977abe49a371016727c69a3b5e2f8e2434ab", + "commits": [], + "end_line": 30, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/cluster/Cluster.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "2cdd977abe49a371016727c69a3b5e2f8e2434ab", + "commits": [], + "end_line": 31, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/cluster/Cluster.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "2cdd977abe49a371016727c69a3b5e2f8e2434ab", + "commits": [], + "end_line": 32, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/cluster/Cluster.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "2cdd977abe49a371016727c69a3b5e2f8e2434ab", + "commits": [], + "end_line": 33, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/cluster/Cluster.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "08333c770d5b92ef4c2dd9585accbd1ddfce8e2f", + "commits": [], + "end_line": 26, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/cluster/ClusterAdapter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "08333c770d5b92ef4c2dd9585accbd1ddfce8e2f", + "commits": [], + "end_line": 27, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/cluster/ClusterAdapter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "08333c770d5b92ef4c2dd9585accbd1ddfce8e2f", + "commits": [], + "end_line": 28, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/cluster/ClusterAdapter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "08333c770d5b92ef4c2dd9585accbd1ddfce8e2f", + "commits": [], + "end_line": 29, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/cluster/ClusterAdapter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "08333c770d5b92ef4c2dd9585accbd1ddfce8e2f", + "commits": [], + "end_line": 30, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/cluster/ClusterAdapter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "2d38e2b299320ee7df4016ccf064d6c99dbade9d", + "commits": [], + "end_line": 29, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/healing/FixDeflectorByDeleteJob.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/utilities", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog2/utilities", + "kind": "uses", + "refs": [ + { + "blob_sha": "38e92a0612245fb2d6e749409be4033b61f9bf13", + "commits": [], + "end_line": 24, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indices/OutdatedIndex.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "38e92a0612245fb2d6e749409be4033b61f9bf13", + "commits": [], + "end_line": 25, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indices/OutdatedIndex.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" + }, + { + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog2/validation", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog2/validation", + "kind": "uses", + "refs": [ + { + "blob_sha": "c0de26a29f0cb5316339126cc2378cbce420ee63", + "commits": [], + "end_line": 49, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/IndexSetConfig.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 49 + }, + { + "blob_sha": "1299fea38045488a041b77419399746420a42afe", + "commits": [], + "end_line": 20, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/fields/FieldTypeProfileField.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "ca804dc4e8bf3a22863d203c8028f2b2167cb53f", + "commits": [], + "end_line": 22, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/fields/IndexPrefixField.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/initializers->M:graylog2-server/src/main/java/org/graylog2/(root)", + "kind": "uses", + "refs": [ + { + "blob_sha": "4473f41c64c943e2a87a2373580822329db3708f", + "commits": [], + "end_line": 23, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/initializers/BufferSynchronizerService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/initializers" + }, + { + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog2/buffers", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/initializers->M:graylog2-server/src/main/java/org/graylog2/buffers", + "kind": "uses", + "refs": [ + { + "blob_sha": "4473f41c64c943e2a87a2373580822329db3708f", + "commits": [], + "end_line": 24, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/initializers/BufferSynchronizerService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "4473f41c64c943e2a87a2373580822329db3708f", + "commits": [], + "end_line": 39, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/initializers/BufferSynchronizerService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 39 + }, + { + "blob_sha": "4473f41c64c943e2a87a2373580822329db3708f", + "commits": [], + "end_line": 40, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/initializers/BufferSynchronizerService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 40 + }, + { + "blob_sha": "4473f41c64c943e2a87a2373580822329db3708f", + "commits": [], + "end_line": 41, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/initializers/BufferSynchronizerService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 41 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/initializers" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/initializers->M:graylog2-server/src/main/java/org/graylog2/indexer", + "kind": "uses", + "refs": [ + { + "blob_sha": "4473f41c64c943e2a87a2373580822329db3708f", + "commits": [], + "end_line": 25, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/initializers/BufferSynchronizerService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/initializers" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/outputs", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/initializers->M:graylog2-server/src/main/java/org/graylog2/outputs", + "kind": "uses", + "refs": [ + { + "blob_sha": "046fd576d8b8191a42b5437b02b4e73530751845", + "commits": [], + "end_line": 23, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/initializers/OutputSetupService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "046fd576d8b8191a42b5437b02b4e73530751845", + "commits": [], + "end_line": 24, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/initializers/OutputSetupService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/initializers" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/initializers->M:graylog2-server/src/main/java/org/graylog2/plugin", + "kind": "uses", + "refs": [ + { + "blob_sha": "046fd576d8b8191a42b5437b02b4e73530751845", + "commits": [], + "end_line": 25, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/initializers/OutputSetupService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/initializers" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/system", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/initializers->M:graylog2-server/src/main/java/org/graylog2/system", + "kind": "uses", + "refs": [ + { + "blob_sha": "046fd576d8b8191a42b5437b02b4e73530751845", + "commits": [], + "end_line": 26, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/initializers/OutputSetupService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/initializers" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog/events", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-server/src/main/java/org/graylog/events", + "kind": "uses", + "refs": [ + { + "blob_sha": "66caf918fca88bce6329745b3ff363a1e3808fb2", + "commits": [], + "end_line": 22, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/metrics/InputMessagesPerStreamDescriptor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" + }, + { + "count": 35, + "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-server/src/main/java/org/graylog/plugins", + "kind": "uses", + "refs": [ + { + "blob_sha": "97f090894b18e65b1da0a7f591773f901db66eb3", + "commits": [], + "end_line": 23, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputRoutingService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "97f090894b18e65b1da0a7f591773f901db66eb3", + "commits": [], + "end_line": 24, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputRoutingService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "97f090894b18e65b1da0a7f591773f901db66eb3", + "commits": [], + "end_line": 25, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputRoutingService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "97f090894b18e65b1da0a7f591773f901db66eb3", + "commits": [], + "end_line": 26, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputRoutingService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "97f090894b18e65b1da0a7f591773f901db66eb3", + "commits": [], + "end_line": 27, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputRoutingService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "97f090894b18e65b1da0a7f591773f901db66eb3", + "commits": [], + "end_line": 28, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputRoutingService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "97f090894b18e65b1da0a7f591773f901db66eb3", + "commits": [], + "end_line": 29, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputRoutingService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "97f090894b18e65b1da0a7f591773f901db66eb3", + "commits": [], + "end_line": 48, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputRoutingService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 48 + }, + { + "blob_sha": "97f090894b18e65b1da0a7f591773f901db66eb3", + "commits": [], + "end_line": 30, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputRoutingService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "97f090894b18e65b1da0a7f591773f901db66eb3", + "commits": [], + "end_line": 31, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputRoutingService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" + }, + { + "count": 13, + "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-server/src/main/java/org/graylog2/(root)", + "kind": "uses", + "refs": [ + { + "blob_sha": "c5bcb0d7f779ac0b2dc7bd35928246ac6779955f", + "commits": [], + "end_line": 19, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/converters/ConverterFactory.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "87395b2a50bc80b2257f70149cb434353f81696f", + "commits": [], + "end_line": 21, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/converters/CsvConverter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "8512d8027255e97a4b835476e89ea8d56afc1482", + "commits": [], + "end_line": 19, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/converters/DateConverter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "2d80e9334254c0c11b7f407dd84b6547453a037c", + "commits": [], + "end_line": 19, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/converters/LookupTableConverter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "76aaf9075a723a4676118919f7e46fda4857e3cb", + "commits": [], + "end_line": 19, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/converters/SplitAndCountConverter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "ab79574e0f0149c9e84089f33980d25810c32b8b", + "commits": [], + "end_line": 20, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/extractors/ExtractorFactory.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "a57ea190fa028927b277be70e6755e33209082b1", + "commits": [], + "end_line": 23, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/extractors/GrokExtractor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "547c0b6910af086edce8a8b26b5dda16b2ca88aa", + "commits": [], + "end_line": 25, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/extractors/JsonExtractor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "15c15bc73b5cd824fef5562f41a5a74c40f4c9b4", + "commits": [], + "end_line": 20, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/extractors/LookupTableExtractor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "a39143dec157ed75ababc98ab99a6b57cc11ac0d", + "commits": [], + "end_line": 20, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/extractors/RegexExtractor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-server/src/main/java/org/graylog2/cluster", + "kind": "uses", + "refs": [ + { + "blob_sha": "91f143bee27feda88dc4885e57599629c242e98d", + "commits": [], + "end_line": 23, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputEventListener.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "91f143bee27feda88dc4885e57599629c242e98d", + "commits": [], + "end_line": 24, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputEventListener.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" + }, + { + "count": 5, + "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-server/src/main/java/org/graylog2/configuration", + "kind": "uses", + "refs": [ + { + "blob_sha": "35efdf07cf096916519713d41cf1cac3966befa4", + "commits": [], + "end_line": 30, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/transports/AbstractHttpTransport.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "c78576216ebfc30ddf5029041e44bda82bd6ec22", + "commits": [], + "end_line": 23, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/transports/HttpTransport.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "3da2c5039f9953f3748b532ca5614d364e0e07e7", + "commits": [], + "end_line": 23, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/transports/RawHttpTransport.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "3424d846a0f088dc2e6d14e7052cc42eff768fdc", + "commits": [], + "end_line": 23, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/transports/SyslogTcpTransport.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "32a0d00f495f97d4b054559b25dfbe67bf83ba4f", + "commits": [], + "end_line": 24, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/transports/TcpTransport.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" + }, + { + "count": 25, + "dst": "M:graylog2-server/src/main/java/org/graylog2/database", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-server/src/main/java/org/graylog2/database", + "kind": "uses", + "refs": [ + { + "blob_sha": "91f143bee27feda88dc4885e57599629c242e98d", + "commits": [], + "end_line": 25, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputEventListener.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "de4be9ff5db87e0052d84509318701b36e0cddb0", + "commits": [], + "end_line": 27, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "de4be9ff5db87e0052d84509318701b36e0cddb0", + "commits": [], + "end_line": 28, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "97f090894b18e65b1da0a7f591773f901db66eb3", + "commits": [], + "end_line": 32, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputRoutingService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "97f090894b18e65b1da0a7f591773f901db66eb3", + "commits": [], + "end_line": 33, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputRoutingService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "6d7238fda23c421822d8b76af58e331ba3fa44fa", + "commits": [], + "end_line": 21, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputRuntimeStatusProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "16529d947ebd549ec84d7a00f326bb02e5725d9e", + "commits": [], + "end_line": 20, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "16529d947ebd549ec84d7a00f326bb02e5725d9e", + "commits": [], + "end_line": 21, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "621724a017eac2788b129e1a2b6fcc54abd9679d", + "commits": [], + "end_line": 34, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "621724a017eac2788b129e1a2b6fcc54abd9679d", + "commits": [], + "end_line": 35, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/events", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-server/src/main/java/org/graylog2/events", + "kind": "uses", + "refs": [ + { + "blob_sha": "97f090894b18e65b1da0a7f591773f901db66eb3", + "commits": [], + "end_line": 22, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputRoutingService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "621724a017eac2788b129e1a2b6fcc54abd9679d", + "commits": [], + "end_line": 40, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 40 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/grok", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-server/src/main/java/org/graylog2/grok", + "kind": "uses", + "refs": [ + { + "blob_sha": "ab79574e0f0149c9e84089f33980d25810c32b8b", + "commits": [], + "end_line": 21, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/extractors/ExtractorFactory.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "a57ea190fa028927b277be70e6755e33209082b1", + "commits": [], + "end_line": 24, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/extractors/GrokExtractor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/jackson", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-server/src/main/java/org/graylog2/jackson", + "kind": "uses", + "refs": [ + { + "blob_sha": "bff44a8c9e7a90ebed5334883849d271df16a7f5", + "commits": [], + "end_line": 25, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/encryption/EncryptedInputConfigMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "547c0b6910af086edce8a8b26b5dda16b2ca88aa", + "commits": [], + "end_line": 26, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/extractors/JsonExtractor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" + }, + { + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog2/lookup", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-server/src/main/java/org/graylog2/lookup", + "kind": "uses", + "refs": [ + { + "blob_sha": "c5bcb0d7f779ac0b2dc7bd35928246ac6779955f", + "commits": [], + "end_line": 20, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/converters/ConverterFactory.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "2d80e9334254c0c11b7f407dd84b6547453a037c", + "commits": [], + "end_line": 20, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/converters/LookupTableConverter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "ab79574e0f0149c9e84089f33980d25810c32b8b", + "commits": [], + "end_line": 22, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/extractors/ExtractorFactory.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "15c15bc73b5cd824fef5562f41a5a74c40f4c9b4", + "commits": [], + "end_line": 21, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/extractors/LookupTableExtractor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" + }, + { + "count": 5, + "dst": "M:graylog2-server/src/main/java/org/graylog2/metrics", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-server/src/main/java/org/graylog2/metrics", + "kind": "uses", + "refs": [ + { + "blob_sha": "631eb0e42fba0e5884cb9f484118daa8108fb995", + "commits": [], + "end_line": 22, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/metrics/InputExtractorCountDescriptor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "631eb0e42fba0e5884cb9f484118daa8108fb995", + "commits": [], + "end_line": 23, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/metrics/InputExtractorCountDescriptor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "66caf918fca88bce6329745b3ff363a1e3808fb2", + "commits": [], + "end_line": 24, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/metrics/InputMessagesPerStreamDescriptor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "66caf918fca88bce6329745b3ff363a1e3808fb2", + "commits": [], + "end_line": 25, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/metrics/InputMessagesPerStreamDescriptor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "66caf918fca88bce6329745b3ff363a1e3808fb2", + "commits": [], + "end_line": 26, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/metrics/InputMessagesPerStreamDescriptor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/migrations", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-server/src/main/java/org/graylog2/migrations", + "kind": "uses", + "refs": [ + { + "blob_sha": "bff44a8c9e7a90ebed5334883849d271df16a7f5", + "commits": [], + "end_line": 26, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/encryption/EncryptedInputConfigMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/notifications", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-server/src/main/java/org/graylog2/notifications", + "kind": "uses", + "refs": [ + { + "blob_sha": "faab6e5772c62f552347f1f61d0e3dd080b2b910", + "commits": [], + "end_line": 23, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputStateListener.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "faab6e5772c62f552347f1f61d0e3dd080b2b910", + "commits": [], + "end_line": 24, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputStateListener.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" + }, + { + "count": 386, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-server/src/main/java/org/graylog2/plugin", + "kind": "uses", + "refs": [ + { + "blob_sha": "fe2cbf5e9c8c78822806ef6e98cc0f3fb3ff647d", + "commits": [], + "end_line": 19, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/Input.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "91f143bee27feda88dc4885e57599629c242e98d", + "commits": [], + "end_line": 26, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputEventListener.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "91f143bee27feda88dc4885e57599629c242e98d", + "commits": [], + "end_line": 27, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputEventListener.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "91f143bee27feda88dc4885e57599629c242e98d", + "commits": [], + "end_line": 28, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputEventListener.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "91f143bee27feda88dc4885e57599629c242e98d", + "commits": [], + "end_line": 29, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputEventListener.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "91f143bee27feda88dc4885e57599629c242e98d", + "commits": [], + "end_line": 30, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputEventListener.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "de4be9ff5db87e0052d84509318701b36e0cddb0", + "commits": [], + "end_line": 29, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "97f090894b18e65b1da0a7f591773f901db66eb3", + "commits": [], + "end_line": 34, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputRoutingService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "6d7238fda23c421822d8b76af58e331ba3fa44fa", + "commits": [], + "end_line": 23, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputRuntimeStatusProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "16529d947ebd549ec84d7a00f326bb02e5725d9e", + "commits": [], + "end_line": 22, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" + }, + { + "count": 24, + "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-server/src/main/java/org/graylog2/rest", + "kind": "uses", + "refs": [ + { + "blob_sha": "91f143bee27feda88dc4885e57599629c242e98d", + "commits": [], + "end_line": 31, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputEventListener.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "91f143bee27feda88dc4885e57599629c242e98d", + "commits": [], + "end_line": 32, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputEventListener.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "91f143bee27feda88dc4885e57599629c242e98d", + "commits": [], + "end_line": 33, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputEventListener.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "91f143bee27feda88dc4885e57599629c242e98d", + "commits": [], + "end_line": 34, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputEventListener.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "91f143bee27feda88dc4885e57599629c242e98d", + "commits": [], + "end_line": 35, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputEventListener.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + }, + { + "blob_sha": "97f090894b18e65b1da0a7f591773f901db66eb3", + "commits": [], + "end_line": 35, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputRoutingService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + }, + { + "blob_sha": "97f090894b18e65b1da0a7f591773f901db66eb3", + "commits": [], + "end_line": 36, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputRoutingService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + }, + { + "blob_sha": "16529d947ebd549ec84d7a00f326bb02e5725d9e", + "commits": [], + "end_line": 26, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "621724a017eac2788b129e1a2b6fcc54abd9679d", + "commits": [], + "end_line": 54, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 54 + }, + { + "blob_sha": "621724a017eac2788b129e1a2b6fcc54abd9679d", + "commits": [], + "end_line": 55, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 55 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/search", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-server/src/main/java/org/graylog2/search", + "kind": "uses", + "refs": [ + { + "blob_sha": "f9ec447ce9107d9342df3d794c187cd6e49b17bc", + "commits": [], + "end_line": 37, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/diagnosis/InputRoutingRulesService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 37 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" + }, + { + "count": 16, + "dst": "M:graylog2-server/src/main/java/org/graylog2/security", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-server/src/main/java/org/graylog2/security", + "kind": "uses", + "refs": [ + { + "blob_sha": "621724a017eac2788b129e1a2b6fcc54abd9679d", + "commits": [], + "end_line": 58, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 58 + }, + { + "blob_sha": "621724a017eac2788b129e1a2b6fcc54abd9679d", + "commits": [], + "end_line": 59, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 59 + }, + { + "blob_sha": "bff44a8c9e7a90ebed5334883849d271df16a7f5", + "commits": [], + "end_line": 29, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/encryption/EncryptedInputConfigMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "bff44a8c9e7a90ebed5334883849d271df16a7f5", + "commits": [], + "end_line": 30, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/encryption/EncryptedInputConfigMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "71e50ebeab73cdb61ec8d8b6c596367388cd7484", + "commits": [], + "end_line": 22, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/encryption/EncryptedInputConfigs.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "3e2c16d29a1f05d9e722731138f8d5b294831d13", + "commits": [], + "end_line": 27, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/jackson/InputConfigurationDeserializer.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "35efdf07cf096916519713d41cf1cac3966befa4", + "commits": [], + "end_line": 46, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/transports/AbstractHttpTransport.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 46 + }, + { + "blob_sha": "39030c5c1075e04c52c907b323287780299dd233", + "commits": [], + "end_line": 42, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/transports/AmqpConsumer.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 42 + }, + { + "blob_sha": "39030c5c1075e04c52c907b323287780299dd233", + "commits": [], + "end_line": 43, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/transports/AmqpConsumer.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 43 + }, + { + "blob_sha": "bc3be62b99f970ffad27275eaf1b77eaf6395cf3", + "commits": [], + "end_line": 45, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/transports/AmqpTransport.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 45 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" + }, + { + "count": 24, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-server/src/main/java/org/graylog2/shared", + "kind": "uses", + "refs": [ + { + "blob_sha": "91f143bee27feda88dc4885e57599629c242e98d", + "commits": [], + "end_line": 36, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputEventListener.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + }, + { + "blob_sha": "91f143bee27feda88dc4885e57599629c242e98d", + "commits": [], + "end_line": 44, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputEventListener.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 44 + }, + { + "blob_sha": "91f143bee27feda88dc4885e57599629c242e98d", + "commits": [], + "end_line": 37, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputEventListener.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 37 + }, + { + "blob_sha": "91f143bee27feda88dc4885e57599629c242e98d", + "commits": [], + "end_line": 38, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputEventListener.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 38 + }, + { + "blob_sha": "91f143bee27feda88dc4885e57599629c242e98d", + "commits": [], + "end_line": 39, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputEventListener.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 39 + }, + { + "blob_sha": "de4be9ff5db87e0052d84509318701b36e0cddb0", + "commits": [], + "end_line": 49, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 49 + }, + { + "blob_sha": "de4be9ff5db87e0052d84509318701b36e0cddb0", + "commits": [], + "end_line": 30, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "97f090894b18e65b1da0a7f591773f901db66eb3", + "commits": [], + "end_line": 49, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputRoutingService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 49 + }, + { + "blob_sha": "16529d947ebd549ec84d7a00f326bb02e5725d9e", + "commits": [], + "end_line": 27, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "621724a017eac2788b129e1a2b6fcc54abd9679d", + "commits": [], + "end_line": 60, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 60 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" + }, + { + "count": 6, + "dst": "M:graylog2-server/src/main/java/org/graylog2/streams", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-server/src/main/java/org/graylog2/streams", + "kind": "uses", + "refs": [ + { + "blob_sha": "97f090894b18e65b1da0a7f591773f901db66eb3", + "commits": [], + "end_line": 37, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputRoutingService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 37 + }, + { + "blob_sha": "97f090894b18e65b1da0a7f591773f901db66eb3", + "commits": [], + "end_line": 38, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputRoutingService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 38 + }, + { + "blob_sha": "97f090894b18e65b1da0a7f591773f901db66eb3", + "commits": [], + "end_line": 39, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputRoutingService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 39 + }, + { + "blob_sha": "1488967aacfa9246e803a1e74c8c5e72c6b5ffcc", + "commits": [], + "end_line": 42, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/diagnosis/InputDiagnosticService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 42 + }, + { + "blob_sha": "f9ec447ce9107d9342df3d794c187cd6e49b17bc", + "commits": [], + "end_line": 38, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/diagnosis/InputRoutingRulesService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 38 + }, + { + "blob_sha": "f9ec447ce9107d9342df3d794c187cd6e49b17bc", + "commits": [], + "end_line": 39, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/diagnosis/InputRoutingRulesService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 39 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" + }, + { + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog2/utilities", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-server/src/main/java/org/graylog2/utilities", + "kind": "uses", + "refs": [ + { + "blob_sha": "35efdf07cf096916519713d41cf1cac3966befa4", + "commits": [], + "end_line": 50, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/transports/AbstractHttpTransport.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 50 + }, + { + "blob_sha": "c78576216ebfc30ddf5029041e44bda82bd6ec22", + "commits": [], + "end_line": 32, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/transports/HttpTransport.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "3da2c5039f9953f3748b532ca5614d364e0e07e7", + "commits": [], + "end_line": 32, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/transports/RawHttpTransport.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "903596de83eafe4847efe1f5acf1245ac82b4a5b", + "commits": [], + "end_line": 28, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/transports/netty/HttpForwardedForHandler.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" + }, + { + "count": 1, + "dst": "M:graylog2-web-interface/src/components", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-web-interface/src/components", + "kind": "uses", + "refs": [ + { + "blob_sha": "39030c5c1075e04c52c907b323287780299dd233", + "commits": [], + "end_line": 19, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/inputs/transports/AmqpConsumer.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" + }, + { + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog2/inputs", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/jackson->M:graylog2-server/src/main/java/org/graylog2/inputs", + "kind": "uses", + "refs": [ + { + "blob_sha": "dc4e57b25f413fdf98c5efbc900de4f707aebe94", + "commits": [], + "end_line": 24, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/jackson/InputConfigurationBeanDeserializerModifier.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "dc4e57b25f413fdf98c5efbc900de4f707aebe94", + "commits": [], + "end_line": 25, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/jackson/InputConfigurationBeanDeserializerModifier.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "dc4e57b25f413fdf98c5efbc900de4f707aebe94", + "commits": [], + "end_line": 26, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/jackson/InputConfigurationBeanDeserializerModifier.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/jackson" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/jackson->M:graylog2-server/src/main/java/org/graylog2/shared", + "kind": "uses", + "refs": [ + { + "blob_sha": "dc4e57b25f413fdf98c5efbc900de4f707aebe94", + "commits": [], + "end_line": 27, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/jackson/InputConfigurationBeanDeserializerModifier.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "328e8bb44ad8c5c991974703d8ab8de33c6d4419", + "commits": [], + "end_line": 40, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/jackson/JacksonModelValidator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 40 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/jackson" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/jersey->M:graylog2-server/src/main/java/org/graylog2/configuration", + "kind": "uses", + "refs": [ + { + "blob_sha": "bd1bcd3f1c182aae7dab9a95a3f60b8f1effb5b7", + "commits": [], + "end_line": 24, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/jersey/PrefixAddingModelProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/jersey" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/jersey->M:graylog2-server/src/main/java/org/graylog2/shared", + "kind": "uses", + "refs": [ + { + "blob_sha": "bd1bcd3f1c182aae7dab9a95a3f60b8f1effb5b7", + "commits": [], + "end_line": 25, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/jersey/PrefixAddingModelProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/jersey" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog/grn", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/lookup->M:graylog2-server/src/main/java/org/graylog/grn", + "kind": "uses", + "refs": [ + { + "blob_sha": "5339bf743d6aca48b0619c7d4db305300b85eda4", + "commits": [], + "end_line": 22, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/Catalog.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/lookup" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/lookup->M:graylog2-server/src/main/java/org/graylog2/(root)", + "kind": "uses", + "refs": [ + { + "blob_sha": "ba68942af01af82c3c332b3484b899e796b2e5b9", + "commits": [], + "end_line": 21, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/LookupModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/lookup" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/contentpacks", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/lookup->M:graylog2-server/src/main/java/org/graylog2/contentpacks", + "kind": "uses", + "refs": [ + { + "blob_sha": "5339bf743d6aca48b0619c7d4db305300b85eda4", + "commits": [], + "end_line": 23, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/Catalog.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "5339bf743d6aca48b0619c7d4db305300b85eda4", + "commits": [], + "end_line": 24, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/Catalog.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/lookup" + }, + { + "count": 33, + "dst": "M:graylog2-server/src/main/java/org/graylog2/database", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/lookup->M:graylog2-server/src/main/java/org/graylog2/database", + "kind": "uses", + "refs": [ + { + "blob_sha": "c722d608707291508c31d8621a6608f0b67f2b06", + "commits": [], + "end_line": 20, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/db/DBCacheService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "c722d608707291508c31d8621a6608f0b67f2b06", + "commits": [], + "end_line": 26, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/db/DBCacheService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "c722d608707291508c31d8621a6608f0b67f2b06", + "commits": [], + "end_line": 27, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/db/DBCacheService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "c722d608707291508c31d8621a6608f0b67f2b06", + "commits": [], + "end_line": 28, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/db/DBCacheService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "c722d608707291508c31d8621a6608f0b67f2b06", + "commits": [], + "end_line": 29, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/db/DBCacheService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "c722d608707291508c31d8621a6608f0b67f2b06", + "commits": [], + "end_line": 30, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/db/DBCacheService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "c722d608707291508c31d8621a6608f0b67f2b06", + "commits": [], + "end_line": 42, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/db/DBCacheService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 42 + }, + { + "blob_sha": "c722d608707291508c31d8621a6608f0b67f2b06", + "commits": [], + "end_line": 43, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/db/DBCacheService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 43 + }, + { + "blob_sha": "c722d608707291508c31d8621a6608f0b67f2b06", + "commits": [], + "end_line": 31, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/db/DBCacheService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "81d4c66650af7a39615b144807885b64cf026f58", + "commits": [], + "end_line": 25, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/db/DBDataAdapterService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/lookup" + }, + { + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog2/events", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/lookup->M:graylog2-server/src/main/java/org/graylog2/events", + "kind": "uses", + "refs": [ + { + "blob_sha": "c722d608707291508c31d8621a6608f0b67f2b06", + "commits": [], + "end_line": 32, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/db/DBCacheService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "81d4c66650af7a39615b144807885b64cf026f58", + "commits": [], + "end_line": 32, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/db/DBDataAdapterService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "44c824d3429c15a76c0b2f966b1a3e894a989ce9", + "commits": [], + "end_line": 32, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/db/DBLookupTableService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/lookup" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/jackson", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/lookup->M:graylog2-server/src/main/java/org/graylog2/jackson", + "kind": "uses", + "refs": [ + { + "blob_sha": "d852d06956aa9e4a4e46afe09c9dfedd845b4708", + "commits": [], + "end_line": 23, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/LookupDefaultMultiValue.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/lookup" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/notifications", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/lookup->M:graylog2-server/src/main/java/org/graylog2/notifications", + "kind": "uses", + "refs": [ + { + "blob_sha": "fde7d1e52f7322ee10a8f3075944cb7218940d1b", + "commits": [], + "end_line": 49, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/adapters/HTTPJSONPathDataAdapter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 49 + }, + { + "blob_sha": "fde7d1e52f7322ee10a8f3075944cb7218940d1b", + "commits": [], + "end_line": 50, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/adapters/HTTPJSONPathDataAdapter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 50 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/lookup" + }, + { + "count": 48, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/lookup->M:graylog2-server/src/main/java/org/graylog2/plugin", + "kind": "uses", + "refs": [ + { + "blob_sha": "97fc3eb196010c0044665c937ae3bc88cfbcef55", + "commits": [], + "end_line": 19, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/CachePurge.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "97fc3eb196010c0044665c937ae3bc88cfbcef55", + "commits": [], + "end_line": 20, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/CachePurge.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "97fc3eb196010c0044665c937ae3bc88cfbcef55", + "commits": [], + "end_line": 21, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/CachePurge.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "97fc3eb196010c0044665c937ae3bc88cfbcef55", + "commits": [], + "end_line": 22, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/CachePurge.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "9bea9211a1f49a1c3a25f37bd9d8144fb2776822", + "commits": [], + "end_line": 21, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/LookupDataAdapterRefreshService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "9bea9211a1f49a1c3a25f37bd9d8144fb2776822", + "commits": [], + "end_line": 22, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/LookupDataAdapterRefreshService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "ba68942af01af82c3c332b3484b899e796b2e5b9", + "commits": [], + "end_line": 29, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/LookupModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "ba68942af01af82c3c332b3484b899e796b2e5b9", + "commits": [], + "end_line": 30, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/LookupModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "ba68942af01af82c3c332b3484b899e796b2e5b9", + "commits": [], + "end_line": 31, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/LookupModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "96cde93176a4c9d23d7b239a0571cac40b18d3b9", + "commits": [], + "end_line": 21, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/LookupTable.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/lookup" + }, + { + "count": 5, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/lookup->M:graylog2-server/src/main/java/org/graylog2/shared", + "kind": "uses", + "refs": [ + { + "blob_sha": "28fca6ed6d8b02ae68e4cf5b49132e4a45fd43f4", + "commits": [], + "end_line": 69, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/LookupTableService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 69 + }, + { + "blob_sha": "435eff6db9497eae2effc46825ad3a004ae05131", + "commits": [], + "end_line": 74, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/adapters/CSVFileDataAdapter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 74 + }, + { + "blob_sha": "7fc93e6ebedf62488e8d0fc955ec476df6d243b0", + "commits": [], + "end_line": 48, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/adapters/DnsLookupDataAdapter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 48 + }, + { + "blob_sha": "fde7d1e52f7322ee10a8f3075944cb7218940d1b", + "commits": [], + "end_line": 75, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/adapters/HTTPJSONPathDataAdapter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 75 + }, + { + "blob_sha": "dd82357166226dbb75bb100316f90b56b2f6db85", + "commits": [], + "end_line": 38, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/adapters/dnslookup/DnsClient.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 38 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/lookup" + }, + { + "count": 11, + "dst": "M:graylog2-server/src/main/java/org/graylog2/system", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/lookup->M:graylog2-server/src/main/java/org/graylog2/system", + "kind": "uses", + "refs": [ + { + "blob_sha": "ba68942af01af82c3c332b3484b899e796b2e5b9", + "commits": [], + "end_line": 32, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/LookupModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "ba68942af01af82c3c332b3484b899e796b2e5b9", + "commits": [], + "end_line": 33, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/LookupModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "ba68942af01af82c3c332b3484b899e796b2e5b9", + "commits": [], + "end_line": 34, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/LookupModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "28fca6ed6d8b02ae68e4cf5b49132e4a45fd43f4", + "commits": [], + "end_line": 43, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/LookupTableService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 43 + }, + { + "blob_sha": "414ed7c9b3f0381131b15e7cb3e737b68efc8c3d", + "commits": [], + "end_line": 41, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/adapters/DSVHTTPDataAdapter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 41 + }, + { + "blob_sha": "414ed7c9b3f0381131b15e7cb3e737b68efc8c3d", + "commits": [], + "end_line": 42, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/adapters/DSVHTTPDataAdapter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 42 + }, + { + "blob_sha": "414ed7c9b3f0381131b15e7cb3e737b68efc8c3d", + "commits": [], + "end_line": 43, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/adapters/DSVHTTPDataAdapter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 43 + }, + { + "blob_sha": "fde7d1e52f7322ee10a8f3075944cb7218940d1b", + "commits": [], + "end_line": 55, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/adapters/HTTPJSONPathDataAdapter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 55 + }, + { + "blob_sha": "fde7d1e52f7322ee10a8f3075944cb7218940d1b", + "commits": [], + "end_line": 56, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/adapters/HTTPJSONPathDataAdapter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 56 + }, + { + "blob_sha": "fde7d1e52f7322ee10a8f3075944cb7218940d1b", + "commits": [], + "end_line": 57, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/adapters/HTTPJSONPathDataAdapter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 57 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/lookup" + }, + { + "count": 6, + "dst": "M:graylog2-server/src/main/java/org/graylog2/utilities", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/lookup->M:graylog2-server/src/main/java/org/graylog2/utilities", + "kind": "uses", + "refs": [ + { + "blob_sha": "9bea9211a1f49a1c3a25f37bd9d8144fb2776822", + "commits": [], + "end_line": 34, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/LookupDataAdapterRefreshService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "28fca6ed6d8b02ae68e4cf5b49132e4a45fd43f4", + "commits": [], + "end_line": 44, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/LookupTableService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 44 + }, + { + "blob_sha": "28fca6ed6d8b02ae68e4cf5b49132e4a45fd43f4", + "commits": [], + "end_line": 70, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/LookupTableService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 70 + }, + { + "blob_sha": "435eff6db9497eae2effc46825ad3a004ae05131", + "commits": [], + "end_line": 46, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/adapters/CSVFileDataAdapter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 46 + }, + { + "blob_sha": "435eff6db9497eae2effc46825ad3a004ae05131", + "commits": [], + "end_line": 47, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/adapters/CSVFileDataAdapter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 47 + }, + { + "blob_sha": "435eff6db9497eae2effc46825ad3a004ae05131", + "commits": [], + "end_line": 48, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/adapters/CSVFileDataAdapter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 48 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/lookup" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/web", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/lookup->M:graylog2-server/src/main/java/org/graylog2/web", + "kind": "uses", + "refs": [ + { + "blob_sha": "fde7d1e52f7322ee10a8f3075944cb7218940d1b", + "commits": [], + "end_line": 58, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/lookup/adapters/HTTPJSONPathDataAdapter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 58 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/lookup" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog/failure", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/messageprocessors->M:graylog2-server/src/main/java/org/graylog/failure", + "kind": "uses", + "refs": [ + { + "blob_sha": "ca1f6e9dbf3633744bde5a02388fc8f08441d635", + "commits": [], + "end_line": 25, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/messageprocessors/MessageFilterChainProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/messageprocessors" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/messageprocessors->M:graylog2-server/src/main/java/org/graylog/plugins", + "kind": "uses", + "refs": [ + { + "blob_sha": "0fca1ff87ce0663ce04fc9d8c06313dc700ff524", + "commits": [], + "end_line": 20, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/messageprocessors/MessageProcessorModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "0fca1ff87ce0663ce04fc9d8c06313dc700ff524", + "commits": [], + "end_line": 21, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/messageprocessors/MessageProcessorModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/messageprocessors" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/messageprocessors->M:graylog2-server/src/main/java/org/graylog2/cluster", + "kind": "uses", + "refs": [ + { + "blob_sha": "354b59dbc114f6d66d3fa92bb755ceb99e369265", + "commits": [], + "end_line": 24, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/messageprocessors/OrderedMessageProcessors.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/messageprocessors" + }, + { + "count": 15, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/messageprocessors->M:graylog2-server/src/main/java/org/graylog2/plugin", + "kind": "uses", + "refs": [ + { + "blob_sha": "ca1f6e9dbf3633744bde5a02388fc8f08441d635", + "commits": [], + "end_line": 26, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/messageprocessors/MessageFilterChainProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "ca1f6e9dbf3633744bde5a02388fc8f08441d635", + "commits": [], + "end_line": 27, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/messageprocessors/MessageFilterChainProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "ca1f6e9dbf3633744bde5a02388fc8f08441d635", + "commits": [], + "end_line": 28, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/messageprocessors/MessageFilterChainProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "ca1f6e9dbf3633744bde5a02388fc8f08441d635", + "commits": [], + "end_line": 29, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/messageprocessors/MessageFilterChainProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "ca1f6e9dbf3633744bde5a02388fc8f08441d635", + "commits": [], + "end_line": 30, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/messageprocessors/MessageFilterChainProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "249cba5755aefd371474f3fcdc8099ca537edc45", + "commits": [], + "end_line": 23, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/messageprocessors/MessageProcessorDescriptor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "0fca1ff87ce0663ce04fc9d8c06313dc700ff524", + "commits": [], + "end_line": 22, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/messageprocessors/MessageProcessorModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "da0e2f5180551b9c8d075a412b5d80817d7abe09", + "commits": [], + "end_line": 23, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/messageprocessors/MessageProcessorsConfigWithDescriptors.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "354b59dbc114f6d66d3fa92bb755ceb99e369265", + "commits": [], + "end_line": 25, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/messageprocessors/OrderedMessageProcessors.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "354b59dbc114f6d66d3fa92bb755ceb99e369265", + "commits": [], + "end_line": 26, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/messageprocessors/OrderedMessageProcessors.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/messageprocessors" + }, + { + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/messageprocessors->M:graylog2-server/src/main/java/org/graylog2/shared", + "kind": "uses", + "refs": [ + { + "blob_sha": "ca1f6e9dbf3633744bde5a02388fc8f08441d635", + "commits": [], + "end_line": 31, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/messageprocessors/MessageFilterChainProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "ca1f6e9dbf3633744bde5a02388fc8f08441d635", + "commits": [], + "end_line": 32, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/messageprocessors/MessageFilterChainProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "ca1f6e9dbf3633744bde5a02388fc8f08441d635", + "commits": [], + "end_line": 33, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/messageprocessors/MessageFilterChainProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/messageprocessors" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/streams", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/messageprocessors->M:graylog2-server/src/main/java/org/graylog2/streams", + "kind": "uses", + "refs": [ + { + "blob_sha": "63b1765260044d9c5d1bc08626570706a3163e28", + "commits": [], + "end_line": 26, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/messageprocessors/StreamMatcherFilterProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/messageprocessors" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/utilities", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/messageprocessors->M:graylog2-server/src/main/java/org/graylog2/utilities", + "kind": "uses", + "refs": [ + { + "blob_sha": "354b59dbc114f6d66d3fa92bb755ceb99e369265", + "commits": [], + "end_line": 27, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/messageprocessors/OrderedMessageProcessors.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/messageprocessors" + }, + { + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/metrics->M:graylog2-server/src/main/java/org/graylog/plugins", + "kind": "uses", + "refs": [ + { + "blob_sha": "d2ffbc61c50115c28e76e4065c769ffab06f67c1", + "commits": [], + "end_line": 21, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/metrics/entity/EntityMetricsService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "4ad2025d62bdc99a235ee60e32c82dc6006e80e1", + "commits": [], + "end_line": 19, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/metrics/entity/EntityUncachedMetricDescriptor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "1efdad53c4870be345f109647e9ea795c058406c", + "commits": [], + "end_line": 20, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/metrics/entity/cache/EntityCachedMetricDescriptor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/metrics" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/metrics->M:graylog2-server/src/main/java/org/graylog2/configuration", + "kind": "uses", + "refs": [ + { + "blob_sha": "94781e3f02a7323050618d847bebd3c930eb6929", + "commits": [], + "end_line": 22, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/metrics/entity/cache/MetricsCacheConfiguration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/metrics" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/database", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/metrics->M:graylog2-server/src/main/java/org/graylog2/database", + "kind": "uses", + "refs": [ + { + "blob_sha": "ff245ead44330263b5301081ea347a9750d95810", + "commits": [], + "end_line": 32, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/metrics/entity/cache/MetricsCacheService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "ff245ead44330263b5301081ea347a9750d95810", + "commits": [], + "end_line": 43, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/metrics/entity/cache/MetricsCacheService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 43 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/metrics" + }, + { + "count": 5, + "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/metrics->M:graylog2-server/src/main/java/org/graylog2/indexer", + "kind": "uses", + "refs": [ + { + "blob_sha": "c296de301d69c745e8250e2c89b0e0850c8d916d", + "commits": [], + "end_line": 26, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/metrics/entity/EntityMetricsModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "c296de301d69c745e8250e2c89b0e0850c8d916d", + "commits": [], + "end_line": 27, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/metrics/entity/EntityMetricsModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "c296de301d69c745e8250e2c89b0e0850c8d916d", + "commits": [], + "end_line": 28, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/metrics/entity/EntityMetricsModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "c296de301d69c745e8250e2c89b0e0850c8d916d", + "commits": [], + "end_line": 29, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/metrics/entity/EntityMetricsModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "c296de301d69c745e8250e2c89b0e0850c8d916d", + "commits": [], + "end_line": 30, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/metrics/entity/EntityMetricsModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/metrics" + }, + { + "count": 5, + "dst": "M:graylog2-server/src/main/java/org/graylog2/inputs", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/metrics->M:graylog2-server/src/main/java/org/graylog2/inputs", + "kind": "uses", + "refs": [ + { + "blob_sha": "c296de301d69c745e8250e2c89b0e0850c8d916d", + "commits": [], + "end_line": 31, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/metrics/entity/EntityMetricsModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "c296de301d69c745e8250e2c89b0e0850c8d916d", + "commits": [], + "end_line": 32, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/metrics/entity/EntityMetricsModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "c296de301d69c745e8250e2c89b0e0850c8d916d", + "commits": [], + "end_line": 33, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/metrics/entity/EntityMetricsModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "c296de301d69c745e8250e2c89b0e0850c8d916d", + "commits": [], + "end_line": 34, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/metrics/entity/EntityMetricsModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "c296de301d69c745e8250e2c89b0e0850c8d916d", + "commits": [], + "end_line": 35, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/metrics/entity/EntityMetricsModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/metrics" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/metrics->M:graylog2-server/src/main/java/org/graylog2/shared", + "kind": "uses", + "refs": [ + { + "blob_sha": "d2ffbc61c50115c28e76e4065c769ffab06f67c1", + "commits": [], + "end_line": 36, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/metrics/entity/EntityMetricsService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/metrics" + }, + { + "count": 7, + "dst": "M:graylog2-server/src/main/java/org/graylog2/streams", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/metrics->M:graylog2-server/src/main/java/org/graylog2/streams", + "kind": "uses", + "refs": [ + { + "blob_sha": "c296de301d69c745e8250e2c89b0e0850c8d916d", + "commits": [], + "end_line": 37, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/metrics/entity/EntityMetricsModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 37 + }, + { + "blob_sha": "c296de301d69c745e8250e2c89b0e0850c8d916d", + "commits": [], + "end_line": 38, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/metrics/entity/EntityMetricsModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 38 + }, + { + "blob_sha": "c296de301d69c745e8250e2c89b0e0850c8d916d", + "commits": [], + "end_line": 39, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/metrics/entity/EntityMetricsModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 39 + }, + { + "blob_sha": "c296de301d69c745e8250e2c89b0e0850c8d916d", + "commits": [], + "end_line": 40, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/metrics/entity/EntityMetricsModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 40 + }, + { + "blob_sha": "c296de301d69c745e8250e2c89b0e0850c8d916d", + "commits": [], + "end_line": 41, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/metrics/entity/EntityMetricsModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 41 + }, + { + "blob_sha": "c296de301d69c745e8250e2c89b0e0850c8d916d", + "commits": [], + "end_line": 42, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/metrics/entity/EntityMetricsModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 42 + }, + { + "blob_sha": "c296de301d69c745e8250e2c89b0e0850c8d916d", + "commits": [], + "end_line": 43, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/metrics/entity/EntityMetricsModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 43 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/metrics" + }, + { + "count": 1, + "dst": "M:graylog2-web-interface/src/components", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/metrics->M:graylog2-web-interface/src/components", + "kind": "uses", + "refs": [ + { + "blob_sha": "eeddf323f075261f4303e773aa6d16e26d16f5ca", + "commits": [], + "end_line": 20, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/metrics/CacheStatsSet.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/metrics" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog/aws", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog/aws", + "kind": "uses", + "refs": [ + { + "blob_sha": "30b0443ab58fb152926a0fa2f5323d1c8ae07773", + "commits": [], + "end_line": 20, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20251030000000_CloudTrailInputConfigMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + }, + { + "count": 23, + "dst": "M:graylog2-server/src/main/java/org/graylog/events", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog/events", + "kind": "uses", + "refs": [ + { + "blob_sha": "01963da66e4c24063935a38b186309aaddcd7878", + "commits": [], + "end_line": 24, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20190705071400_AddEventIndexSetsMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "01963da66e4c24063935a38b186309aaddcd7878", + "commits": [], + "end_line": 25, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20190705071400_AddEventIndexSetsMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "01963da66e4c24063935a38b186309aaddcd7878", + "commits": [], + "end_line": 53, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20190705071400_AddEventIndexSetsMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 53 + }, + { + "blob_sha": "01963da66e4c24063935a38b186309aaddcd7878", + "commits": [], + "end_line": 26, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20190705071400_AddEventIndexSetsMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "01963da66e4c24063935a38b186309aaddcd7878", + "commits": [], + "end_line": 27, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20190705071400_AddEventIndexSetsMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "01963da66e4c24063935a38b186309aaddcd7878", + "commits": [], + "end_line": 28, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20190705071400_AddEventIndexSetsMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "fb68604e1a0a77a3de8d0889b7e4cd28e5dcd21f", + "commits": [], + "end_line": 19, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20190730000000_CreateDefaultEventsConfiguration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "fb68604e1a0a77a3de8d0889b7e4cd28e5dcd21f", + "commits": [], + "end_line": 20, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20190730000000_CreateDefaultEventsConfiguration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "6a0de2f2a83b874fe97d8022c53e83adbddebef7", + "commits": [], + "end_line": 25, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20191129134600_CreateInitialUrlAllowlist.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "6a0de2f2a83b874fe97d8022c53e83adbddebef7", + "commits": [], + "end_line": 26, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20191129134600_CreateInitialUrlAllowlist.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + }, + { + "count": 19, + "dst": "M:graylog2-server/src/main/java/org/graylog/grn", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog/grn", + "kind": "uses", + "refs": [ + { + "blob_sha": "41fdcf1f5d5d7aae4259f79aa798a72f6ddd9ed0", + "commits": [], + "end_line": 25, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/GrantsMetaMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "41fdcf1f5d5d7aae4259f79aa798a72f6ddd9ed0", + "commits": [], + "end_line": 26, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/GrantsMetaMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "41fdcf1f5d5d7aae4259f79aa798a72f6ddd9ed0", + "commits": [], + "end_line": 47, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/GrantsMetaMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 47 + }, + { + "blob_sha": "41fdcf1f5d5d7aae4259f79aa798a72f6ddd9ed0", + "commits": [], + "end_line": 48, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/GrantsMetaMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 48 + }, + { + "blob_sha": "41fdcf1f5d5d7aae4259f79aa798a72f6ddd9ed0", + "commits": [], + "end_line": 49, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/GrantsMetaMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 49 + }, + { + "blob_sha": "2af8dbddfc28e632b5e0f8f8111bd53632995a42", + "commits": [], + "end_line": 20, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/RolesToGrantsMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "2af8dbddfc28e632b5e0f8f8111bd53632995a42", + "commits": [], + "end_line": 21, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/RolesToGrantsMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "82f57b3506f6d9ade36403c875a8c80d81f8985c", + "commits": [], + "end_line": 21, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/UserPermissionsToGrantsMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "82f57b3506f6d9ade36403c875a8c80d81f8985c", + "commits": [], + "end_line": 22, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/UserPermissionsToGrantsMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "82f57b3506f6d9ade36403c875a8c80d81f8985c", + "commits": [], + "end_line": 23, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/UserPermissionsToGrantsMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog/mcp", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog/mcp", + "kind": "uses", + "refs": [ + { + "blob_sha": "397301ca35befad3fcb7dfcdadf49078448733c9", + "commits": [], + "end_line": 20, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20251003000000_AddMcpConfigurationMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + }, + { + "count": 34, + "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog/plugins", + "kind": "uses", + "refs": [ + { + "blob_sha": "41fdcf1f5d5d7aae4259f79aa798a72f6ddd9ed0", + "commits": [], + "end_line": 50, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/GrantsMetaMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 50 + }, + { + "blob_sha": "41fdcf1f5d5d7aae4259f79aa798a72f6ddd9ed0", + "commits": [], + "end_line": 51, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/GrantsMetaMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 51 + }, + { + "blob_sha": "41fdcf1f5d5d7aae4259f79aa798a72f6ddd9ed0", + "commits": [], + "end_line": 27, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/GrantsMetaMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "82f57b3506f6d9ade36403c875a8c80d81f8985c", + "commits": [], + "end_line": 46, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/UserPermissionsToGrantsMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 46 + }, + { + "blob_sha": "82f57b3506f6d9ade36403c875a8c80d81f8985c", + "commits": [], + "end_line": 25, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/UserPermissionsToGrantsMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "ad5afd462ce0f24a22d6e6f4792b105fbfe361ce", + "commits": [], + "end_line": 24, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/ViewOwnerShipToGrantsMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "ad5afd462ce0f24a22d6e6f4792b105fbfe361ce", + "commits": [], + "end_line": 25, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/ViewOwnerShipToGrantsMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "3e14f2453e79d377f4dc82676939bca9a91df1da", + "commits": [], + "end_line": 27, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/ViewSharingToGrantsMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "3e14f2453e79d377f4dc82676939bca9a91df1da", + "commits": [], + "end_line": 28, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/ViewSharingToGrantsMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "0c1e56f8704dced6b33802ec2ae0451585b0a432", + "commits": [], + "end_line": 29, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20211221144300_GeoIpResolverConfigMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + }, + { + "count": 5, + "dst": "M:graylog2-server/src/main/java/org/graylog/scheduler", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog/scheduler", + "kind": "uses", + "refs": [ + { + "blob_sha": "acefa989c5b01dc1df50a14d6c2ad83c0397cd31", + "commits": [], + "end_line": 31, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20220623125450_AddJobTypeToJobTrigger.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "acefa989c5b01dc1df50a14d6c2ad83c0397cd31", + "commits": [], + "end_line": 32, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20220623125450_AddJobTypeToJobTrigger.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "acefa989c5b01dc1df50a14d6c2ad83c0397cd31", + "commits": [], + "end_line": 33, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20220623125450_AddJobTypeToJobTrigger.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "f3f8693513a430622d4942d27db617ea7dd6a918", + "commits": [], + "end_line": 23, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20230523160600_PopulateEventDefinitionState.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "f3f8693513a430622d4942d27db617ea7dd6a918", + "commits": [], + "end_line": 24, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20230523160600_PopulateEventDefinitionState.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + }, + { + "count": 21, + "dst": "M:graylog2-server/src/main/java/org/graylog/security", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog/security", + "kind": "uses", + "refs": [ + { + "blob_sha": "3b10ca3bf61a96541095dd3cdaf4c841ed7c1097", + "commits": [], + "end_line": 25, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20180924111644_AddDefaultGrokPatterns.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "41fdcf1f5d5d7aae4259f79aa798a72f6ddd9ed0", + "commits": [], + "end_line": 28, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/GrantsMetaMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "41fdcf1f5d5d7aae4259f79aa798a72f6ddd9ed0", + "commits": [], + "end_line": 29, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/GrantsMetaMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "41fdcf1f5d5d7aae4259f79aa798a72f6ddd9ed0", + "commits": [], + "end_line": 30, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/GrantsMetaMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "2af8dbddfc28e632b5e0f8f8111bd53632995a42", + "commits": [], + "end_line": 22, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/RolesToGrantsMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "2af8dbddfc28e632b5e0f8f8111bd53632995a42", + "commits": [], + "end_line": 23, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/RolesToGrantsMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "82f57b3506f6d9ade36403c875a8c80d81f8985c", + "commits": [], + "end_line": 26, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/UserPermissionsToGrantsMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "82f57b3506f6d9ade36403c875a8c80d81f8985c", + "commits": [], + "end_line": 27, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/UserPermissionsToGrantsMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "ad5afd462ce0f24a22d6e6f4792b105fbfe361ce", + "commits": [], + "end_line": 26, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/ViewOwnerShipToGrantsMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "ad5afd462ce0f24a22d6e6f4792b105fbfe361ce", + "commits": [], + "end_line": 27, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/ViewOwnerShipToGrantsMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + }, + { + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/(root)", + "kind": "uses", + "refs": [ + { + "blob_sha": "3b10ca3bf61a96541095dd3cdaf4c841ed7c1097", + "commits": [], + "end_line": 26, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20180924111644_AddDefaultGrokPatterns.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "b977ecea2c4d6ca236a871c3b4450486477c5692", + "commits": [], + "end_line": 35, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20201103145400_LegacyAuthServiceMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + }, + { + "blob_sha": "d805b36147c1ae3a0952c07db35e67f13a50feb8", + "commits": [], + "end_line": 31, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20230601104500_AddSourcesPageV2.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/bootstrap", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/bootstrap", + "kind": "uses", + "refs": [ + { + "blob_sha": "ae905a678424b11730b972fb0b9e98e6bd5c6b07", + "commits": [], + "end_line": 25, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20230929142900_CreateInitialPreflightPassword.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + }, + { + "count": 5, + "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/cluster", + "kind": "uses", + "refs": [ + { + "blob_sha": "aa3963cffeb97d51f5bd57683b885254b97354e8", + "commits": [], + "end_line": 27, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20170110150100_FixAlertConditionsMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "b11eb545c780e9fdc75f2460456b6fac0a399d19", + "commits": [], + "end_line": 23, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V202406260800_MigrateCertificateAuthority.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "94f542431c059266f15841c1eac802557d086488", + "commits": [], + "end_line": 20, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20261014120000_RotateIndexSetsWithNumericDateFields.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "94f542431c059266f15841c1eac802557d086488", + "commits": [], + "end_line": 21, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20261014120000_RotateIndexSetsWithNumericDateFields.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "94f542431c059266f15841c1eac802557d086488", + "commits": [], + "end_line": 22, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20261014120000_RotateIndexSetsWithNumericDateFields.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + }, + { + "count": 8, + "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/configuration", + "kind": "uses", + "refs": [ + { + "blob_sha": "32ea8ce18cacd38f4f56405d7fa28ad4c8d88a2c", + "commits": [], + "end_line": 21, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/MaintenanceStrategiesHelper.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "e96a169a882ef06743ff709c633b80488d109683", + "commits": [], + "end_line": 19, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20151210140600_AddSearchesClusterConfigMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "698421c9eb0a5f80dc7696b8d8c74920bb05ec6b", + "commits": [], + "end_line": 21, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20161116172100_DefaultIndexSetMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "2dcbaf5cbe27846e2bfe81341ceb60b772f622bf", + "commits": [], + "end_line": 19, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20161216123500_DefaultIndexSetMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "01963da66e4c24063935a38b186309aaddcd7878", + "commits": [], + "end_line": 29, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20190705071400_AddEventIndexSetsMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "cece8c456cd1cbe2e51cc82d0bc8ca9c76f1e6b0", + "commits": [], + "end_line": 20, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V202211021200_CreateDefaultIndexTemplate.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "cece8c456cd1cbe2e51cc82d0bc8ca9c76f1e6b0", + "commits": [], + "end_line": 21, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V202211021200_CreateDefaultIndexTemplate.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "cece8c456cd1cbe2e51cc82d0bc8ca9c76f1e6b0", + "commits": [], + "end_line": 22, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V202211021200_CreateDefaultIndexTemplate.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + }, + { + "count": 19, + "dst": "M:graylog2-server/src/main/java/org/graylog2/contentpacks", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/contentpacks", + "kind": "uses", + "refs": [ + { + "blob_sha": "f4466ab57030bebad22238eea2cc2a52d6ccc7a5", + "commits": [], + "end_line": 24, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20180718155800_AddContentPackIdAndRev.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "f4466ab57030bebad22238eea2cc2a52d6ccc7a5", + "commits": [], + "end_line": 25, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20180718155800_AddContentPackIdAndRev.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "3b10ca3bf61a96541095dd3cdaf4c841ed7c1097", + "commits": [], + "end_line": 27, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20180924111644_AddDefaultGrokPatterns.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "3b10ca3bf61a96541095dd3cdaf4c841ed7c1097", + "commits": [], + "end_line": 28, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20180924111644_AddDefaultGrokPatterns.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "3b10ca3bf61a96541095dd3cdaf4c841ed7c1097", + "commits": [], + "end_line": 29, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20180924111644_AddDefaultGrokPatterns.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "3b10ca3bf61a96541095dd3cdaf4c841ed7c1097", + "commits": [], + "end_line": 30, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20180924111644_AddDefaultGrokPatterns.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "d805b36147c1ae3a0952c07db35e67f13a50feb8", + "commits": [], + "end_line": 32, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20230601104500_AddSourcesPageV2.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "d805b36147c1ae3a0952c07db35e67f13a50feb8", + "commits": [], + "end_line": 33, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20230601104500_AddSourcesPageV2.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "d805b36147c1ae3a0952c07db35e67f13a50feb8", + "commits": [], + "end_line": 34, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20230601104500_AddSourcesPageV2.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "d805b36147c1ae3a0952c07db35e67f13a50feb8", + "commits": [], + "end_line": 35, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20230601104500_AddSourcesPageV2.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + }, + { + "count": 61, + "dst": "M:graylog2-server/src/main/java/org/graylog2/database", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/database", + "kind": "uses", + "refs": [ + { + "blob_sha": "087748c9f8b9da19fa4c6fd61d451007c848020a", + "commits": [], + "end_line": 21, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/MigrationHelpers.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "087748c9f8b9da19fa4c6fd61d451007c848020a", + "commits": [], + "end_line": 22, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/MigrationHelpers.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "ed4aaabe33b846880811fa9b0f1260229ef3b767", + "commits": [], + "end_line": 29, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/RoleRemover.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "a7d510d7310ec8ca1784af591d62a2f60c9b3cc4", + "commits": [], + "end_line": 20, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20161116172200_CreateDefaultStreamMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "413024669bd045ec1c6a7da76a649dfc65121d8d", + "commits": [], + "end_line": 27, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20161215163900_MoveIndexSetDefaultConfig.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "aa3963cffeb97d51f5bd57683b885254b97354e8", + "commits": [], + "end_line": 28, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20170110150100_FixAlertConditionsMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "266f87fb2296d3f9e95aef2405a920fc2ceb3063", + "commits": [], + "end_line": 26, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20180214093600_AdjustDashboardPositionToNewResolution/MigrationDashboardService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "aad210d70b16949993d742c0b0473ca4a8bab57c", + "commits": [], + "end_line": 26, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V2018070614390000_EnforceUniqueGrokPatterns.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "f4466ab57030bebad22238eea2cc2a52d6ccc7a5", + "commits": [], + "end_line": 26, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20180718155800_AddContentPackIdAndRev.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "01963da66e4c24063935a38b186309aaddcd7878", + "commits": [], + "end_line": 30, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20190705071400_AddEventIndexSetsMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + }, + { + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog2/datatiering", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/datatiering", + "kind": "uses", + "refs": [ + { + "blob_sha": "32ea8ce18cacd38f4f56405d7fa28ad4c8d88a2c", + "commits": [], + "end_line": 22, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/MaintenanceStrategiesHelper.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "cece8c456cd1cbe2e51cc82d0bc8ca9c76f1e6b0", + "commits": [], + "end_line": 23, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V202211021200_CreateDefaultIndexTemplate.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "cece8c456cd1cbe2e51cc82d0bc8ca9c76f1e6b0", + "commits": [], + "end_line": 24, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V202211021200_CreateDefaultIndexTemplate.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/events", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/events", + "kind": "uses", + "refs": [ + { + "blob_sha": "aad210d70b16949993d742c0b0473ca4a8bab57c", + "commits": [], + "end_line": 27, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V2018070614390000_EnforceUniqueGrokPatterns.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "0eff73a81d5dd04f42d850c1b67cf25b7fe33011", + "commits": [], + "end_line": 28, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20251002090400_RemoveLegacySessions.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/featureflag", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/featureflag", + "kind": "uses", + "refs": [ + { + "blob_sha": "09bb61dca0284cc5cde8134132083dfe05784ab3", + "commits": [], + "end_line": 23, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20260624153204_InitializeOnboardingState.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + }, + { + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog2/grok", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/grok", + "kind": "uses", + "refs": [ + { + "blob_sha": "aad210d70b16949993d742c0b0473ca4a8bab57c", + "commits": [], + "end_line": 28, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V2018070614390000_EnforceUniqueGrokPatterns.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "aad210d70b16949993d742c0b0473ca4a8bab57c", + "commits": [], + "end_line": 29, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V2018070614390000_EnforceUniqueGrokPatterns.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "35f2c3daca59ea6dbe2f45c58b1c4556546a6ba6", + "commits": [], + "end_line": 25, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20191121145100_FixDefaultGrokPatterns.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "35f2c3daca59ea6dbe2f45c58b1c4556546a6ba6", + "commits": [], + "end_line": 26, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20191121145100_FixDefaultGrokPatterns.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + }, + { + "count": 64, + "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/indexer", + "kind": "uses", + "refs": [ + { + "blob_sha": "32ea8ce18cacd38f4f56405d7fa28ad4c8d88a2c", + "commits": [], + "end_line": 23, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/MaintenanceStrategiesHelper.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "32ea8ce18cacd38f4f56405d7fa28ad4c8d88a2c", + "commits": [], + "end_line": 24, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/MaintenanceStrategiesHelper.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "32ea8ce18cacd38f4f56405d7fa28ad4c8d88a2c", + "commits": [], + "end_line": 25, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/MaintenanceStrategiesHelper.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "32ea8ce18cacd38f4f56405d7fa28ad4c8d88a2c", + "commits": [], + "end_line": 26, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/MaintenanceStrategiesHelper.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "32ea8ce18cacd38f4f56405d7fa28ad4c8d88a2c", + "commits": [], + "end_line": 27, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/MaintenanceStrategiesHelper.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "32ea8ce18cacd38f4f56405d7fa28ad4c8d88a2c", + "commits": [], + "end_line": 28, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/MaintenanceStrategiesHelper.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "32ea8ce18cacd38f4f56405d7fa28ad4c8d88a2c", + "commits": [], + "end_line": 29, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/MaintenanceStrategiesHelper.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "32ea8ce18cacd38f4f56405d7fa28ad4c8d88a2c", + "commits": [], + "end_line": 30, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/MaintenanceStrategiesHelper.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "32ea8ce18cacd38f4f56405d7fa28ad4c8d88a2c", + "commits": [], + "end_line": 31, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/MaintenanceStrategiesHelper.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "32ea8ce18cacd38f4f56405d7fa28ad4c8d88a2c", + "commits": [], + "end_line": 32, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/MaintenanceStrategiesHelper.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + }, + { + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog2/inputs", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/inputs", + "kind": "uses", + "refs": [ + { + "blob_sha": "3445b5b33c6bf3d6160af4ae21b66530c390f9b5", + "commits": [], + "end_line": 24, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20230213160000_EncryptedInputConfigMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "30b0443ab58fb152926a0fa2f5323d1c8ae07773", + "commits": [], + "end_line": 21, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20251030000000_CloudTrailInputConfigMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "30b0443ab58fb152926a0fa2f5323d1c8ae07773", + "commits": [], + "end_line": 22, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20251030000000_CloudTrailInputConfigMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + }, + { + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog2/lookup", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/lookup", + "kind": "uses", + "refs": [ + { + "blob_sha": "6a0de2f2a83b874fe97d8022c53e83adbddebef7", + "commits": [], + "end_line": 30, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20191129134600_CreateInitialUrlAllowlist.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "6a0de2f2a83b874fe97d8022c53e83adbddebef7", + "commits": [], + "end_line": 31, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20191129134600_CreateInitialUrlAllowlist.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "6a0de2f2a83b874fe97d8022c53e83adbddebef7", + "commits": [], + "end_line": 32, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20191129134600_CreateInitialUrlAllowlist.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "6a0de2f2a83b874fe97d8022c53e83adbddebef7", + "commits": [], + "end_line": 33, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20191129134600_CreateInitialUrlAllowlist.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + }, + { + "count": 5, + "dst": "M:graylog2-server/src/main/java/org/graylog2/messageprocessors", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/messageprocessors", + "kind": "uses", + "refs": [ + { + "blob_sha": "4b5f2755aa8c2dbe0b50476618423280bf5820b2", + "commits": [], + "end_line": 23, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20220719130704_ImprovedDefaultProcessingOrderMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "4b5f2755aa8c2dbe0b50476618423280bf5820b2", + "commits": [], + "end_line": 24, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20220719130704_ImprovedDefaultProcessingOrderMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "cb15b23a3d0e9f6adbe911fccfcd34ff0728ca20", + "commits": [], + "end_line": 22, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20220818112023_AddStreamMatcherToProcessingOrderMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "cb15b23a3d0e9f6adbe911fccfcd34ff0728ca20", + "commits": [], + "end_line": 23, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20220818112023_AddStreamMatcherToProcessingOrderMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "cb15b23a3d0e9f6adbe911fccfcd34ff0728ca20", + "commits": [], + "end_line": 24, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20220818112023_AddStreamMatcherToProcessingOrderMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + }, + { + "count": 6, + "dst": "M:graylog2-server/src/main/java/org/graylog2/notifications", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/notifications", + "kind": "uses", + "refs": [ + { + "blob_sha": "b977ecea2c4d6ca236a871c3b4450486477c5692", + "commits": [], + "end_line": 37, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20201103145400_LegacyAuthServiceMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 37 + }, + { + "blob_sha": "b977ecea2c4d6ca236a871c3b4450486477c5692", + "commits": [], + "end_line": 38, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20201103145400_LegacyAuthServiceMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 38 + }, + { + "blob_sha": "d805b36147c1ae3a0952c07db35e67f13a50feb8", + "commits": [], + "end_line": 41, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20230601104500_AddSourcesPageV2.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 41 + }, + { + "blob_sha": "d805b36147c1ae3a0952c07db35e67f13a50feb8", + "commits": [], + "end_line": 42, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20230601104500_AddSourcesPageV2.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 42 + }, + { + "blob_sha": "94f542431c059266f15841c1eac802557d086488", + "commits": [], + "end_line": 30, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20261014120000_RotateIndexSetsWithNumericDateFields.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "94f542431c059266f15841c1eac802557d086488", + "commits": [], + "end_line": 31, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20261014120000_RotateIndexSetsWithNumericDateFields.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + }, + { + "count": 94, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/plugin", + "kind": "uses", + "refs": [ + { + "blob_sha": "32ea8ce18cacd38f4f56405d7fa28ad4c8d88a2c", + "commits": [], + "end_line": 35, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/MaintenanceStrategiesHelper.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + }, + { + "blob_sha": "32ea8ce18cacd38f4f56405d7fa28ad4c8d88a2c", + "commits": [], + "end_line": 36, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/MaintenanceStrategiesHelper.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + }, + { + "blob_sha": "087748c9f8b9da19fa4c6fd61d451007c848020a", + "commits": [], + "end_line": 23, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/MigrationHelpers.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "087748c9f8b9da19fa4c6fd61d451007c848020a", + "commits": [], + "end_line": 24, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/MigrationHelpers.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "a2316ae0c0ef2af8900221873a3ac4a554f7d250", + "commits": [], + "end_line": 22, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/MigrationsModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "b4abc0eee472c64085c5bb4f928b3c7fa354595f", + "commits": [], + "end_line": 19, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V19700101000000_GenerateClusterId.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "b4abc0eee472c64085c5bb4f928b3c7fa354595f", + "commits": [], + "end_line": 20, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V19700101000000_GenerateClusterId.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "b4abc0eee472c64085c5bb4f928b3c7fa354595f", + "commits": [], + "end_line": 21, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V19700101000000_GenerateClusterId.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "e96a169a882ef06743ff709c633b80488d109683", + "commits": [], + "end_line": 21, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20151210140600_AddSearchesClusterConfigMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "698421c9eb0a5f80dc7696b8d8c74920bb05ec6b", + "commits": [], + "end_line": 27, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20161116172100_DefaultIndexSetMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/rest", + "kind": "uses", + "refs": [ + { + "blob_sha": "001d18abf2fec698215f3328429d1c4e2d28538e", + "commits": [], + "end_line": 33, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20260428120000_AddLayoutVariantToEntityListPreferencesId.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + }, + { + "count": 8, + "dst": "M:graylog2-server/src/main/java/org/graylog2/security", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/security", + "kind": "uses", + "refs": [ + { + "blob_sha": "b1c3bb31965827614f4243e870b6f95cb1ed0237", + "commits": [], + "end_line": 26, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200226181600_EncryptAccessTokensMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "b1c3bb31965827614f4243e870b6f95cb1ed0237", + "commits": [], + "end_line": 27, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200226181600_EncryptAccessTokensMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "b977ecea2c4d6ca236a871c3b4450486477c5692", + "commits": [], + "end_line": 40, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20201103145400_LegacyAuthServiceMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 40 + }, + { + "blob_sha": "b977ecea2c4d6ca236a871c3b4450486477c5692", + "commits": [], + "end_line": 41, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20201103145400_LegacyAuthServiceMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 41 + }, + { + "blob_sha": "b977ecea2c4d6ca236a871c3b4450486477c5692", + "commits": [], + "end_line": 42, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20201103145400_LegacyAuthServiceMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 42 + }, + { + "blob_sha": "b11eb545c780e9fdc75f2460456b6fac0a399d19", + "commits": [], + "end_line": 26, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V202406260800_MigrateCertificateAuthority.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "0eff73a81d5dd04f42d850c1b67cf25b7fe33011", + "commits": [], + "end_line": 29, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20251002090400_RemoveLegacySessions.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "0eff73a81d5dd04f42d850c1b67cf25b7fe33011", + "commits": [], + "end_line": 30, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20251002090400_RemoveLegacySessions.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + }, + { + "count": 25, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/shared", + "kind": "uses", + "refs": [ + { + "blob_sha": "087748c9f8b9da19fa4c6fd61d451007c848020a", + "commits": [], + "end_line": 25, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/MigrationHelpers.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "087748c9f8b9da19fa4c6fd61d451007c848020a", + "commits": [], + "end_line": 26, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/MigrationHelpers.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "ed4aaabe33b846880811fa9b0f1260229ef3b767", + "commits": [], + "end_line": 30, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/RoleRemover.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "355c96b824f61752de935ffe0dfd009627d2555a", + "commits": [], + "end_line": 20, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20190730100900_AddAlertsManagerRole.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "41fdcf1f5d5d7aae4259f79aa798a72f6ddd9ed0", + "commits": [], + "end_line": 52, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/GrantsMetaMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 52 + }, + { + "blob_sha": "41fdcf1f5d5d7aae4259f79aa798a72f6ddd9ed0", + "commits": [], + "end_line": 53, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/GrantsMetaMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 53 + }, + { + "blob_sha": "41fdcf1f5d5d7aae4259f79aa798a72f6ddd9ed0", + "commits": [], + "end_line": 54, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/GrantsMetaMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 54 + }, + { + "blob_sha": "41fdcf1f5d5d7aae4259f79aa798a72f6ddd9ed0", + "commits": [], + "end_line": 55, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/GrantsMetaMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 55 + }, + { + "blob_sha": "41fdcf1f5d5d7aae4259f79aa798a72f6ddd9ed0", + "commits": [], + "end_line": 56, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/GrantsMetaMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 56 + }, + { + "blob_sha": "41fdcf1f5d5d7aae4259f79aa798a72f6ddd9ed0", + "commits": [], + "end_line": 57, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/GrantsMetaMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 57 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + }, + { + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog2/storage", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/storage", + "kind": "uses", + "refs": [ + { + "blob_sha": "28ec85305d18ecd19b7b7681b8acf61caec4ffe6", + "commits": [], + "end_line": 28, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20170607164210_MigrateReopenedIndicesToAliases.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "28ec85305d18ecd19b7b7681b8acf61caec4ffe6", + "commits": [], + "end_line": 40, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20170607164210_MigrateReopenedIndicesToAliases.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 40 + }, + { + "blob_sha": "28ec85305d18ecd19b7b7681b8acf61caec4ffe6", + "commits": [], + "end_line": 41, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20170607164210_MigrateReopenedIndicesToAliases.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 41 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + }, + { + "count": 6, + "dst": "M:graylog2-server/src/main/java/org/graylog2/streams", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/streams", + "kind": "uses", + "refs": [ + { + "blob_sha": "a7d510d7310ec8ca1784af591d62a2f60c9b3cc4", + "commits": [], + "end_line": 25, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20161116172200_CreateDefaultStreamMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "a7d510d7310ec8ca1784af591d62a2f60c9b3cc4", + "commits": [], + "end_line": 26, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20161116172200_CreateDefaultStreamMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "65240a6f2ab6e4de40bf96e3fa6c75be37b980b6", + "commits": [], + "end_line": 30, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20161122174500_AssignIndexSetsToStreamsMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "65240a6f2ab6e4de40bf96e3fa6c75be37b980b6", + "commits": [], + "end_line": 31, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20161122174500_AssignIndexSetsToStreamsMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "01963da66e4c24063935a38b186309aaddcd7878", + "commits": [], + "end_line": 41, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20190705071400_AddEventIndexSetsMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 41 + }, + { + "blob_sha": "01963da66e4c24063935a38b186309aaddcd7878", + "commits": [], + "end_line": 42, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20190705071400_AddEventIndexSetsMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 42 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + }, + { + "count": 6, + "dst": "M:graylog2-server/src/main/java/org/graylog2/system", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/system", + "kind": "uses", + "refs": [ + { + "blob_sha": "6a0de2f2a83b874fe97d8022c53e83adbddebef7", + "commits": [], + "end_line": 36, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20191129134600_CreateInitialUrlAllowlist.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + }, + { + "blob_sha": "6a0de2f2a83b874fe97d8022c53e83adbddebef7", + "commits": [], + "end_line": 37, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20191129134600_CreateInitialUrlAllowlist.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 37 + }, + { + "blob_sha": "6a0de2f2a83b874fe97d8022c53e83adbddebef7", + "commits": [], + "end_line": 38, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20191129134600_CreateInitialUrlAllowlist.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 38 + }, + { + "blob_sha": "6a0de2f2a83b874fe97d8022c53e83adbddebef7", + "commits": [], + "end_line": 39, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20191129134600_CreateInitialUrlAllowlist.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 39 + }, + { + "blob_sha": "6a0de2f2a83b874fe97d8022c53e83adbddebef7", + "commits": [], + "end_line": 40, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20191129134600_CreateInitialUrlAllowlist.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 40 + }, + { + "blob_sha": "6a0de2f2a83b874fe97d8022c53e83adbddebef7", + "commits": [], + "end_line": 41, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20191129134600_CreateInitialUrlAllowlist.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 41 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + }, + { + "count": 15, + "dst": "M:graylog2-server/src/main/java/org/graylog2/users", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/users", + "kind": "uses", + "refs": [ + { + "blob_sha": "087748c9f8b9da19fa4c6fd61d451007c848020a", + "commits": [], + "end_line": 27, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/MigrationHelpers.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "087748c9f8b9da19fa4c6fd61d451007c848020a", + "commits": [], + "end_line": 28, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/MigrationHelpers.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "087748c9f8b9da19fa4c6fd61d451007c848020a", + "commits": [], + "end_line": 29, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/MigrationHelpers.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "ed4aaabe33b846880811fa9b0f1260229ef3b767", + "commits": [], + "end_line": 31, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/RoleRemover.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "ed4aaabe33b846880811fa9b0f1260229ef3b767", + "commits": [], + "end_line": 32, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/RoleRemover.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "41fdcf1f5d5d7aae4259f79aa798a72f6ddd9ed0", + "commits": [], + "end_line": 35, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/GrantsMetaMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + }, + { + "blob_sha": "2af8dbddfc28e632b5e0f8f8111bd53632995a42", + "commits": [], + "end_line": 28, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/RolesToGrantsMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "3e14f2453e79d377f4dc82676939bca9a91df1da", + "commits": [], + "end_line": 36, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/ViewSharingToGrantsMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + }, + { + "blob_sha": "b160fc56d9345fb477c08e7f76acd4ccb99d5141", + "commits": [], + "end_line": 25, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20230210102500_UniqueUserMigration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "bebe9aa5aba9ab1e7929bbec0552fff73969062c", + "commits": [], + "end_line": 22, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20250206105400_TokenManagementConfiguration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + }, + { + "count": 8, + "dst": "M:graylog2-server/src/main/java/org/graylog/events", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/notifications->M:graylog2-server/src/main/java/org/graylog/events", + "kind": "uses", + "refs": [ + { + "blob_sha": "3819ca2a821339126541b4b1bdae287b577a8258", + "commits": [], + "end_line": 25, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationPaginationService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "d4317780875f71516fc4d10f2ae395644bd7d76b", + "commits": [], + "end_line": 23, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationSystemEventPublisher.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "d4317780875f71516fc4d10f2ae395644bd7d76b", + "commits": [], + "end_line": 24, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationSystemEventPublisher.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "d4317780875f71516fc4d10f2ae395644bd7d76b", + "commits": [], + "end_line": 25, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationSystemEventPublisher.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "d4317780875f71516fc4d10f2ae395644bd7d76b", + "commits": [], + "end_line": 26, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationSystemEventPublisher.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "d4317780875f71516fc4d10f2ae395644bd7d76b", + "commits": [], + "end_line": 27, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationSystemEventPublisher.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "d4317780875f71516fc4d10f2ae395644bd7d76b", + "commits": [], + "end_line": 28, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationSystemEventPublisher.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "d4317780875f71516fc4d10f2ae395644bd7d76b", + "commits": [], + "end_line": 29, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationSystemEventPublisher.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/notifications" + }, + { + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog2/audit", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/notifications->M:graylog2-server/src/main/java/org/graylog2/audit", + "kind": "uses", + "refs": [ + { + "blob_sha": "39bf0a9b22ed82cdf8e5e18ffadc1b908b1ede1f", + "commits": [], + "end_line": 23, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "39bf0a9b22ed82cdf8e5e18ffadc1b908b1ede1f", + "commits": [], + "end_line": 24, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "39bf0a9b22ed82cdf8e5e18ffadc1b908b1ede1f", + "commits": [], + "end_line": 46, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 46 + }, + { + "blob_sha": "39bf0a9b22ed82cdf8e5e18ffadc1b908b1ede1f", + "commits": [], + "end_line": 47, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 47 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/notifications" + }, + { + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/notifications->M:graylog2-server/src/main/java/org/graylog2/cluster", + "kind": "uses", + "refs": [ + { + "blob_sha": "57eff22d23023a292e3ceba22cea72fb01f62351", + "commits": [], + "end_line": 20, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/notifications/Notification.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "e772638f1c6c5ef83ac7c0ae28913e42163b54d6", + "commits": [], + "end_line": 22, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "2091f208a69586e886e13f5398523f4d86d756c2", + "commits": [], + "end_line": 19, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "39bf0a9b22ed82cdf8e5e18ffadc1b908b1ede1f", + "commits": [], + "end_line": 25, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/notifications" + }, + { + "count": 6, + "dst": "M:graylog2-server/src/main/java/org/graylog2/database", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/notifications->M:graylog2-server/src/main/java/org/graylog2/database", + "kind": "uses", + "refs": [ + { + "blob_sha": "e772638f1c6c5ef83ac7c0ae28913e42163b54d6", + "commits": [], + "end_line": 23, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "e772638f1c6c5ef83ac7c0ae28913e42163b54d6", + "commits": [], + "end_line": 24, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "3819ca2a821339126541b4b1bdae287b577a8258", + "commits": [], + "end_line": 26, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationPaginationService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "3819ca2a821339126541b4b1bdae287b577a8258", + "commits": [], + "end_line": 27, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationPaginationService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "39bf0a9b22ed82cdf8e5e18ffadc1b908b1ede1f", + "commits": [], + "end_line": 26, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "39bf0a9b22ed82cdf8e5e18ffadc1b908b1ede1f", + "commits": [], + "end_line": 27, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/notifications" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/events", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/notifications->M:graylog2-server/src/main/java/org/graylog2/events", + "kind": "uses", + "refs": [ + { + "blob_sha": "d4a4c1b18a9fcdfd98f8b29086b2b851aaed8346", + "commits": [], + "end_line": 21, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/notifications/DeletedStreamNotificationListener.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/notifications" + }, + { + "count": 7, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/notifications->M:graylog2-server/src/main/java/org/graylog2/plugin", + "kind": "uses", + "refs": [ + { + "blob_sha": "57eff22d23023a292e3ceba22cea72fb01f62351", + "commits": [], + "end_line": 21, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/notifications/Notification.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "e772638f1c6c5ef83ac7c0ae28913e42163b54d6", + "commits": [], + "end_line": 25, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "e772638f1c6c5ef83ac7c0ae28913e42163b54d6", + "commits": [], + "end_line": 26, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "2091f208a69586e886e13f5398523f4d86d756c2", + "commits": [], + "end_line": 20, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "39bf0a9b22ed82cdf8e5e18ffadc1b908b1ede1f", + "commits": [], + "end_line": 28, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "39bf0a9b22ed82cdf8e5e18ffadc1b908b1ede1f", + "commits": [], + "end_line": 29, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "39bf0a9b22ed82cdf8e5e18ffadc1b908b1ede1f", + "commits": [], + "end_line": 30, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/notifications" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/notifications->M:graylog2-server/src/main/java/org/graylog2/rest", + "kind": "uses", + "refs": [ + { + "blob_sha": "3819ca2a821339126541b4b1bdae287b577a8258", + "commits": [], + "end_line": 28, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationPaginationService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/notifications" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/notifications->M:graylog2-server/src/main/java/org/graylog2/shared", + "kind": "uses", + "refs": [ + { + "blob_sha": "e772638f1c6c5ef83ac7c0ae28913e42163b54d6", + "commits": [], + "end_line": 41, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 41 + }, + { + "blob_sha": "e772638f1c6c5ef83ac7c0ae28913e42163b54d6", + "commits": [], + "end_line": 42, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 42 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/notifications" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/streams", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/notifications->M:graylog2-server/src/main/java/org/graylog2/streams", + "kind": "uses", + "refs": [ + { + "blob_sha": "d4a4c1b18a9fcdfd98f8b29086b2b851aaed8346", + "commits": [], + "end_line": 22, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/notifications/DeletedStreamNotificationListener.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/notifications" + }, + { + "count": 23, + "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/outputs->M:graylog2-server/src/main/java/org/graylog/plugins", + "kind": "uses", + "refs": [ + { + "blob_sha": "195d234ea2d8b8cd81d294460d9a026da987f58e", + "commits": [], + "end_line": 21, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/filter/OutputFilterModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "05bb73e0151271dc28f276efb2463dd6f2171fcd", + "commits": [], + "end_line": 28, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/filter/PipelineRuleOutputFilter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "05bb73e0151271dc28f276efb2463dd6f2171fcd", + "commits": [], + "end_line": 29, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/filter/PipelineRuleOutputFilter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "254c76e59697d870c36f2a1b7fe6f6795e084673", + "commits": [], + "end_line": 26, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/filter/PipelineRuleOutputFilterState.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "254c76e59697d870c36f2a1b7fe6f6795e084673", + "commits": [], + "end_line": 27, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/filter/PipelineRuleOutputFilterState.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "254c76e59697d870c36f2a1b7fe6f6795e084673", + "commits": [], + "end_line": 28, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/filter/PipelineRuleOutputFilterState.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "dd4f237c52cbf39d54c9eb6035f475ded8c30e7a", + "commits": [], + "end_line": 25, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/filter/PipelineRuleOutputFilterStateUpdater.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "dd4f237c52cbf39d54c9eb6035f475ded8c30e7a", + "commits": [], + "end_line": 26, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/filter/PipelineRuleOutputFilterStateUpdater.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "dd4f237c52cbf39d54c9eb6035f475ded8c30e7a", + "commits": [], + "end_line": 27, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/filter/PipelineRuleOutputFilterStateUpdater.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "dd4f237c52cbf39d54c9eb6035f475ded8c30e7a", + "commits": [], + "end_line": 28, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/filter/PipelineRuleOutputFilterStateUpdater.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/outputs" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/database", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/outputs->M:graylog2-server/src/main/java/org/graylog2/database", + "kind": "uses", + "refs": [ + { + "blob_sha": "2a93f98db2910e330c01759d6ca1d6242e19cf32", + "commits": [], + "end_line": 34, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/OutputRegistry.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/outputs" + }, + { + "count": 12, + "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/outputs->M:graylog2-server/src/main/java/org/graylog2/indexer", + "kind": "uses", + "refs": [ + { + "blob_sha": "bff29ff537917efb84f7cd4a38b7a006a35da7a1", + "commits": [], + "end_line": 28, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/BatchedMessageFilterOutput.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "dae25088561fd889f402c524bdc9ec9010749db3", + "commits": [], + "end_line": 24, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/ElasticSearchOutput.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "dae25088561fd889f402c524bdc9ec9010749db3", + "commits": [], + "end_line": 25, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/ElasticSearchOutput.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "dae25088561fd889f402c524bdc9ec9010749db3", + "commits": [], + "end_line": 26, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/ElasticSearchOutput.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "dae25088561fd889f402c524bdc9ec9010749db3", + "commits": [], + "end_line": 27, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/ElasticSearchOutput.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "dae25088561fd889f402c524bdc9ec9010749db3", + "commits": [], + "end_line": 28, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/ElasticSearchOutput.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "002af4e7c7f6a66c939961ed3b3cf6f93bb3a876", + "commits": [], + "end_line": 26, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/IndexSetAwareMessageOutputBuffer.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "002af4e7c7f6a66c939961ed3b3cf6f93bb3a876", + "commits": [], + "end_line": 27, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/IndexSetAwareMessageOutputBuffer.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "002af4e7c7f6a66c939961ed3b3cf6f93bb3a876", + "commits": [], + "end_line": 28, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/IndexSetAwareMessageOutputBuffer.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "218672a02c947e832dfa4319c0e7be894c7f05c2", + "commits": [], + "end_line": 21, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/filter/DefaultFilteredMessage.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/outputs" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/notifications", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/outputs->M:graylog2-server/src/main/java/org/graylog2/notifications", + "kind": "uses", + "refs": [ + { + "blob_sha": "2a93f98db2910e330c01759d6ca1d6242e19cf32", + "commits": [], + "end_line": 35, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/OutputRegistry.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + }, + { + "blob_sha": "2a93f98db2910e330c01759d6ca1d6242e19cf32", + "commits": [], + "end_line": 36, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/OutputRegistry.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/outputs" + }, + { + "count": 62, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/outputs->M:graylog2-server/src/main/java/org/graylog2/plugin", + "kind": "uses", + "refs": [ + { + "blob_sha": "bff29ff537917efb84f7cd4a38b7a006a35da7a1", + "commits": [], + "end_line": 31, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/BatchedMessageFilterOutput.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "bff29ff537917efb84f7cd4a38b7a006a35da7a1", + "commits": [], + "end_line": 32, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/BatchedMessageFilterOutput.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "bff29ff537917efb84f7cd4a38b7a006a35da7a1", + "commits": [], + "end_line": 33, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/BatchedMessageFilterOutput.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "3f11dcca394cd131c68fc10c4c7324141c1155fa", + "commits": [], + "end_line": 27, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/BenchmarkOutput.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "3f11dcca394cd131c68fc10c4c7324141c1155fa", + "commits": [], + "end_line": 28, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/BenchmarkOutput.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "3f11dcca394cd131c68fc10c4c7324141c1155fa", + "commits": [], + "end_line": 29, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/BenchmarkOutput.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "3f11dcca394cd131c68fc10c4c7324141c1155fa", + "commits": [], + "end_line": 30, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/BenchmarkOutput.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "5b23ee363c7b86acc312e83bb2b0820e06f391c2", + "commits": [], + "end_line": 23, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/DiscardMessageOutput.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "5b23ee363c7b86acc312e83bb2b0820e06f391c2", + "commits": [], + "end_line": 24, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/DiscardMessageOutput.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "5b23ee363c7b86acc312e83bb2b0820e06f391c2", + "commits": [], + "end_line": 25, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/DiscardMessageOutput.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/outputs" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/outputs->M:graylog2-server/src/main/java/org/graylog2/rest", + "kind": "uses", + "refs": [ + { + "blob_sha": "cad8fc068a09e0454e7fd5328a3cf67782259dc5", + "commits": [], + "end_line": 25, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/MessageOutputFactory.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/outputs" + }, + { + "count": 7, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/outputs->M:graylog2-server/src/main/java/org/graylog2/shared", + "kind": "uses", + "refs": [ + { + "blob_sha": "3cf254583dbe0368ff137660ebaa5d0c38b0f27d", + "commits": [], + "end_line": 29, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/BatchSizeConfig.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "bff29ff537917efb84f7cd4a38b7a006a35da7a1", + "commits": [], + "end_line": 34, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/BatchedMessageFilterOutput.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "3f11dcca394cd131c68fc10c4c7324141c1155fa", + "commits": [], + "end_line": 31, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/BenchmarkOutput.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "5b23ee363c7b86acc312e83bb2b0820e06f391c2", + "commits": [], + "end_line": 27, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/DiscardMessageOutput.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "05bb73e0151271dc28f276efb2463dd6f2171fcd", + "commits": [], + "end_line": 33, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/filter/PipelineRuleOutputFilter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "05bb73e0151271dc28f276efb2463dd6f2171fcd", + "commits": [], + "end_line": 44, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/filter/PipelineRuleOutputFilter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 44 + }, + { + "blob_sha": "dd4f237c52cbf39d54c9eb6035f475ded8c30e7a", + "commits": [], + "end_line": 51, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/filter/PipelineRuleOutputFilterStateUpdater.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 51 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/outputs" + }, + { + "count": 7, + "dst": "M:graylog2-server/src/main/java/org/graylog2/streams", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/outputs->M:graylog2-server/src/main/java/org/graylog2/streams", + "kind": "uses", + "refs": [ + { + "blob_sha": "2a93f98db2910e330c01759d6ca1d6242e19cf32", + "commits": [], + "end_line": 44, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/OutputRegistry.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 44 + }, + { + "blob_sha": "2a93f98db2910e330c01759d6ca1d6242e19cf32", + "commits": [], + "end_line": 45, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/OutputRegistry.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 45 + }, + { + "blob_sha": "2a93f98db2910e330c01759d6ca1d6242e19cf32", + "commits": [], + "end_line": 46, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/OutputRegistry.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 46 + }, + { + "blob_sha": "05bb73e0151271dc28f276efb2463dd6f2171fcd", + "commits": [], + "end_line": 34, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/filter/PipelineRuleOutputFilter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "05bb73e0151271dc28f276efb2463dd6f2171fcd", + "commits": [], + "end_line": 35, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/filter/PipelineRuleOutputFilter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + }, + { + "blob_sha": "dd4f237c52cbf39d54c9eb6035f475ded8c30e7a", + "commits": [], + "end_line": 36, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/filter/PipelineRuleOutputFilterStateUpdater.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + }, + { + "blob_sha": "dd4f237c52cbf39d54c9eb6035f475ded8c30e7a", + "commits": [], + "end_line": 37, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/filter/PipelineRuleOutputFilterStateUpdater.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 37 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/outputs" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/system", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/outputs->M:graylog2-server/src/main/java/org/graylog2/system", + "kind": "uses", + "refs": [ + { + "blob_sha": "bff29ff537917efb84f7cd4a38b7a006a35da7a1", + "commits": [], + "end_line": 35, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/BatchedMessageFilterOutput.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + }, + { + "blob_sha": "bff29ff537917efb84f7cd4a38b7a006a35da7a1", + "commits": [], + "end_line": 36, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/BatchedMessageFilterOutput.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/outputs" + }, + { + "count": 1, + "dst": "M:graylog2-web-interface/src/components", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/outputs->M:graylog2-web-interface/src/components", + "kind": "uses", + "refs": [ + { + "blob_sha": "3f11dcca394cd131c68fc10c4c7324141c1155fa", + "commits": [], + "end_line": 21, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/outputs/BenchmarkOutput.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/outputs" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog/security", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/periodical->M:graylog2-server/src/main/java/org/graylog/security", + "kind": "uses", + "refs": [ + { + "blob_sha": "8fd8af2f76f37323385e1b876d81d9c8dd7b65f1", + "commits": [], + "end_line": 24, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/ContentPackLoaderPeriodical.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/periodical" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/periodical->M:graylog2-server/src/main/java/org/graylog2/(root)", + "kind": "uses", + "refs": [ + { + "blob_sha": "8fd8af2f76f37323385e1b876d81d9c8dd7b65f1", + "commits": [], + "end_line": 25, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/ContentPackLoaderPeriodical.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "031bd01b054c57472fbe012467695fa9c475fd01", + "commits": [], + "end_line": 22, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/LeaderPresenceCheckPeriodical.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/periodical" + }, + { + "count": 6, + "dst": "M:graylog2-server/src/main/java/org/graylog2/audit", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/periodical->M:graylog2-server/src/main/java/org/graylog2/audit", + "kind": "uses", + "refs": [ + { + "blob_sha": "810f282035c19b05918cab4162a8d1aa85c27a4c", + "commits": [], + "end_line": 21, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/ExpiredTokenCleaner.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "810f282035c19b05918cab4162a8d1aa85c27a4c", + "commits": [], + "end_line": 22, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/ExpiredTokenCleaner.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "810f282035c19b05918cab4162a8d1aa85c27a4c", + "commits": [], + "end_line": 35, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/ExpiredTokenCleaner.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + }, + { + "blob_sha": "a57846d65cc0076ed122f9cd076a5a204badeb7d", + "commits": [], + "end_line": 21, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/OrphanedTokenCleaner.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "a57846d65cc0076ed122f9cd076a5a204badeb7d", + "commits": [], + "end_line": 22, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/OrphanedTokenCleaner.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "a57846d65cc0076ed122f9cd076a5a204badeb7d", + "commits": [], + "end_line": 33, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/OrphanedTokenCleaner.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/periodical" + }, + { + "count": 9, + "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/periodical->M:graylog2-server/src/main/java/org/graylog2/cluster", + "kind": "uses", + "refs": [ + { + "blob_sha": "c20f5566714c91cd62dc51425a69dd37786e7421", + "commits": [], + "end_line": 19, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/ClusterHealthCheckThread.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "d6a802368ead5a1781c6230e44888e3bf999d80d", + "commits": [], + "end_line": 21, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/DataNodeHousekeepingPeriodical.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "d6a802368ead5a1781c6230e44888e3bf999d80d", + "commits": [], + "end_line": 22, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/DataNodeHousekeepingPeriodical.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "031bd01b054c57472fbe012467695fa9c475fd01", + "commits": [], + "end_line": 23, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/LeaderPresenceCheckPeriodical.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "031bd01b054c57472fbe012467695fa9c475fd01", + "commits": [], + "end_line": 24, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/LeaderPresenceCheckPeriodical.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "535d8417aa035248fef5fb47120679b7df02d4ea", + "commits": [], + "end_line": 21, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/NodePingThread.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "535d8417aa035248fef5fb47120679b7df02d4ea", + "commits": [], + "end_line": 22, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/NodePingThread.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "535d8417aa035248fef5fb47120679b7df02d4ea", + "commits": [], + "end_line": 23, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/NodePingThread.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "d93ab422bd2d14f76fb93c9106c50fdab8db5542", + "commits": [], + "end_line": 20, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/StaleInputRuntimeStateCleanup.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/periodical" + }, + { + "count": 5, + "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/periodical->M:graylog2-server/src/main/java/org/graylog2/configuration", + "kind": "uses", + "refs": [ + { + "blob_sha": "fe205e0463d39ef3521a620e1aa1196967b6b795", + "commits": [], + "end_line": 21, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/IndexRetentionThread.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "535d8417aa035248fef5fb47120679b7df02d4ea", + "commits": [], + "end_line": 24, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/NodePingThread.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "ca6a034c2c0b05a7dbfdc7672903ae3e38d8e6e6", + "commits": [], + "end_line": 22, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/SearchVersionCheckPeriodical.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "ca6a034c2c0b05a7dbfdc7672903ae3e38d8e6e6", + "commits": [], + "end_line": 23, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/SearchVersionCheckPeriodical.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "752975bd5cd4c6b046b7edf08b0bab3469e920c0", + "commits": [], + "end_line": 27, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/VersionCheckThread.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/periodical" + }, + { + "count": 5, + "dst": "M:graylog2-server/src/main/java/org/graylog2/contentpacks", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/periodical->M:graylog2-server/src/main/java/org/graylog2/contentpacks", + "kind": "uses", + "refs": [ + { + "blob_sha": "8fd8af2f76f37323385e1b876d81d9c8dd7b65f1", + "commits": [], + "end_line": 26, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/ContentPackLoaderPeriodical.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "8fd8af2f76f37323385e1b876d81d9c8dd7b65f1", + "commits": [], + "end_line": 27, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/ContentPackLoaderPeriodical.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "8fd8af2f76f37323385e1b876d81d9c8dd7b65f1", + "commits": [], + "end_line": 28, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/ContentPackLoaderPeriodical.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "8fd8af2f76f37323385e1b876d81d9c8dd7b65f1", + "commits": [], + "end_line": 29, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/ContentPackLoaderPeriodical.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "8fd8af2f76f37323385e1b876d81d9c8dd7b65f1", + "commits": [], + "end_line": 30, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/ContentPackLoaderPeriodical.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/periodical" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/datatiering", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/periodical->M:graylog2-server/src/main/java/org/graylog2/datatiering", + "kind": "uses", + "refs": [ + { + "blob_sha": "fe205e0463d39ef3521a620e1aa1196967b6b795", + "commits": [], + "end_line": 22, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/IndexRetentionThread.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "f9065f79c7d7b83f5578bbbf55297db9923783cf", + "commits": [], + "end_line": 21, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/IndexRotationThread.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/periodical" + }, + { + "count": 31, + "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/periodical->M:graylog2-server/src/main/java/org/graylog2/indexer", + "kind": "uses", + "refs": [ + { + "blob_sha": "75a5a198a287ccccbd8ddd550e8409968aa3f5ef", + "commits": [], + "end_line": 20, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/IndexBlockCheck.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "75a5a198a287ccccbd8ddd550e8409968aa3f5ef", + "commits": [], + "end_line": 21, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/IndexBlockCheck.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "75a5a198a287ccccbd8ddd550e8409968aa3f5ef", + "commits": [], + "end_line": 22, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/IndexBlockCheck.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "75a5a198a287ccccbd8ddd550e8409968aa3f5ef", + "commits": [], + "end_line": 23, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/IndexBlockCheck.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "9cce891d7ff1f8e332f6cfb7c4e9ae66360b8464", + "commits": [], + "end_line": 24, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/IndexRangesCleanupPeriodical.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "9cce891d7ff1f8e332f6cfb7c4e9ae66360b8464", + "commits": [], + "end_line": 23, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/IndexRangesCleanupPeriodical.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "9cce891d7ff1f8e332f6cfb7c4e9ae66360b8464", + "commits": [], + "end_line": 25, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/IndexRangesCleanupPeriodical.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "9cce891d7ff1f8e332f6cfb7c4e9ae66360b8464", + "commits": [], + "end_line": 26, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/IndexRangesCleanupPeriodical.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "9cce891d7ff1f8e332f6cfb7c4e9ae66360b8464", + "commits": [], + "end_line": 27, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/IndexRangesCleanupPeriodical.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "fe205e0463d39ef3521a620e1aa1196967b6b795", + "commits": [], + "end_line": 23, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/IndexRetentionThread.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/periodical" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/inputs", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/periodical->M:graylog2-server/src/main/java/org/graylog2/inputs", + "kind": "uses", + "refs": [ + { + "blob_sha": "d93ab422bd2d14f76fb93c9106c50fdab8db5542", + "commits": [], + "end_line": 21, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/StaleInputRuntimeStateCleanup.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/periodical" + }, + { + "count": 21, + "dst": "M:graylog2-server/src/main/java/org/graylog2/notifications", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/periodical->M:graylog2-server/src/main/java/org/graylog2/notifications", + "kind": "uses", + "refs": [ + { + "blob_sha": "c20f5566714c91cd62dc51425a69dd37786e7421", + "commits": [], + "end_line": 20, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/ClusterHealthCheckThread.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "c20f5566714c91cd62dc51425a69dd37786e7421", + "commits": [], + "end_line": 21, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/ClusterHealthCheckThread.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "d6a802368ead5a1781c6230e44888e3bf999d80d", + "commits": [], + "end_line": 23, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/DataNodeHousekeepingPeriodical.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "d6a802368ead5a1781c6230e44888e3bf999d80d", + "commits": [], + "end_line": 24, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/DataNodeHousekeepingPeriodical.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "75a5a198a287ccccbd8ddd550e8409968aa3f5ef", + "commits": [], + "end_line": 24, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/IndexBlockCheck.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "75a5a198a287ccccbd8ddd550e8409968aa3f5ef", + "commits": [], + "end_line": 25, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/IndexBlockCheck.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "fe205e0463d39ef3521a620e1aa1196967b6b795", + "commits": [], + "end_line": 27, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/IndexRetentionThread.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "fe205e0463d39ef3521a620e1aa1196967b6b795", + "commits": [], + "end_line": 28, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/IndexRetentionThread.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "f9065f79c7d7b83f5578bbbf55297db9923783cf", + "commits": [], + "end_line": 31, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/IndexRotationThread.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "f9065f79c7d7b83f5578bbbf55297db9923783cf", + "commits": [], + "end_line": 32, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/IndexRotationThread.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/periodical" + }, + { + "count": 42, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/periodical->M:graylog2-server/src/main/java/org/graylog2/plugin", + "kind": "uses", + "refs": [ + { + "blob_sha": "c20f5566714c91cd62dc51425a69dd37786e7421", + "commits": [], + "end_line": 22, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/ClusterHealthCheckThread.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "c20f5566714c91cd62dc51425a69dd37786e7421", + "commits": [], + "end_line": 23, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/ClusterHealthCheckThread.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "8fd8af2f76f37323385e1b876d81d9c8dd7b65f1", + "commits": [], + "end_line": 31, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/ContentPackLoaderPeriodical.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "d6a802368ead5a1781c6230e44888e3bf999d80d", + "commits": [], + "end_line": 25, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/DataNodeHousekeepingPeriodical.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "810f282035c19b05918cab4162a8d1aa85c27a4c", + "commits": [], + "end_line": 23, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/ExpiredTokenCleaner.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "810f282035c19b05918cab4162a8d1aa85c27a4c", + "commits": [], + "end_line": 24, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/ExpiredTokenCleaner.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "810f282035c19b05918cab4162a8d1aa85c27a4c", + "commits": [], + "end_line": 25, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/ExpiredTokenCleaner.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "75a5a198a287ccccbd8ddd550e8409968aa3f5ef", + "commits": [], + "end_line": 26, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/IndexBlockCheck.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "75a5a198a287ccccbd8ddd550e8409968aa3f5ef", + "commits": [], + "end_line": 27, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/IndexBlockCheck.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "9cce891d7ff1f8e332f6cfb7c4e9ae66360b8464", + "commits": [], + "end_line": 28, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/IndexRangesCleanupPeriodical.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/periodical" + }, + { + "count": 6, + "dst": "M:graylog2-server/src/main/java/org/graylog2/security", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/periodical->M:graylog2-server/src/main/java/org/graylog2/security", + "kind": "uses", + "refs": [ + { + "blob_sha": "810f282035c19b05918cab4162a8d1aa85c27a4c", + "commits": [], + "end_line": 26, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/ExpiredTokenCleaner.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "810f282035c19b05918cab4162a8d1aa85c27a4c", + "commits": [], + "end_line": 27, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/ExpiredTokenCleaner.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "a57846d65cc0076ed122f9cd076a5a204badeb7d", + "commits": [], + "end_line": 25, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/OrphanedTokenCleaner.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "a57846d65cc0076ed122f9cd076a5a204badeb7d", + "commits": [], + "end_line": 26, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/OrphanedTokenCleaner.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "ca6a034c2c0b05a7dbfdc7672903ae3e38d8e6e6", + "commits": [], + "end_line": 27, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/SearchVersionCheckPeriodical.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "1278bc0c1fbd3648c0f851ea8cf4fd4449cd5356", + "commits": [], + "end_line": 20, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/UserSessionTerminationPeriodical.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/periodical" + }, + { + "count": 13, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/periodical->M:graylog2-server/src/main/java/org/graylog2/shared", + "kind": "uses", + "refs": [ + { + "blob_sha": "c20f5566714c91cd62dc51425a69dd37786e7421", + "commits": [], + "end_line": 24, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/ClusterHealthCheckThread.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "f9065f79c7d7b83f5578bbbf55297db9923783cf", + "commits": [], + "end_line": 36, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/IndexRotationThread.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + }, + { + "blob_sha": "f9065f79c7d7b83f5578bbbf55297db9923783cf", + "commits": [], + "end_line": 37, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/IndexRotationThread.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 37 + }, + { + "blob_sha": "12fcbb2fe1c30daeb26fa6bdf0ab4929c3c08baa", + "commits": [], + "end_line": 45, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/IndexerClusterCheckerThread.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 45 + }, + { + "blob_sha": "031bd01b054c57472fbe012467695fa9c475fd01", + "commits": [], + "end_line": 30, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/LeaderPresenceCheckPeriodical.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "031bd01b054c57472fbe012467695fa9c475fd01", + "commits": [], + "end_line": 31, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/LeaderPresenceCheckPeriodical.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "535d8417aa035248fef5fb47120679b7df02d4ea", + "commits": [], + "end_line": 29, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/NodePingThread.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "34548971516fcb40ef4548cd6afb330da6fb80fe", + "commits": [], + "end_line": 31, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/ThrottleStateUpdaterThread.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "34548971516fcb40ef4548cd6afb330da6fb80fe", + "commits": [], + "end_line": 32, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/ThrottleStateUpdaterThread.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "34548971516fcb40ef4548cd6afb330da6fb80fe", + "commits": [], + "end_line": 33, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/ThrottleStateUpdaterThread.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/periodical" + }, + { + "count": 5, + "dst": "M:graylog2-server/src/main/java/org/graylog2/storage", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/periodical->M:graylog2-server/src/main/java/org/graylog2/storage", + "kind": "uses", + "refs": [ + { + "blob_sha": "ca6a034c2c0b05a7dbfdc7672903ae3e38d8e6e6", + "commits": [], + "end_line": 28, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/SearchVersionCheckPeriodical.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "ca6a034c2c0b05a7dbfdc7672903ae3e38d8e6e6", + "commits": [], + "end_line": 29, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/SearchVersionCheckPeriodical.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "ca6a034c2c0b05a7dbfdc7672903ae3e38d8e6e6", + "commits": [], + "end_line": 30, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/SearchVersionCheckPeriodical.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "ca6a034c2c0b05a7dbfdc7672903ae3e38d8e6e6", + "commits": [], + "end_line": 31, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/SearchVersionCheckPeriodical.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "ca6a034c2c0b05a7dbfdc7672903ae3e38d8e6e6", + "commits": [], + "end_line": 32, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/SearchVersionCheckPeriodical.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/periodical" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/system", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/periodical->M:graylog2-server/src/main/java/org/graylog2/system", + "kind": "uses", + "refs": [ + { + "blob_sha": "e4f0d84c18c34323bb1f0644c9e4d3745f53a563", + "commits": [], + "end_line": 22, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/TrafficCounterPeriodical.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/periodical" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/versioncheck", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/periodical->M:graylog2-server/src/main/java/org/graylog2/versioncheck", + "kind": "uses", + "refs": [ + { + "blob_sha": "752975bd5cd4c6b046b7edf08b0bab3469e920c0", + "commits": [], + "end_line": 34, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/VersionCheckThread.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "752975bd5cd4c6b046b7edf08b0bab3469e920c0", + "commits": [], + "end_line": 35, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/VersionCheckThread.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/periodical" + }, + { + "count": 1, + "dst": "M:graylog2-web-interface/src/components", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/periodical->M:graylog2-web-interface/src/components", + "kind": "uses", + "refs": [ + { + "blob_sha": "970e450b6f03a12e73558bb4a0db883279ba721a", + "commits": [], + "end_line": 21, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/periodical/ThroughputCalculator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/periodical" + }, + { + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog/collectors", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog/collectors", + "kind": "uses", + "refs": [ + { + "blob_sha": "dc307287bc1dc92f1a4bc76378582c68b5b6be1a", + "commits": [], + "end_line": 78, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/Message.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 78 + }, + { + "blob_sha": "dc307287bc1dc92f1a4bc76378582c68b5b6be1a", + "commits": [], + "end_line": 79, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/Message.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 79 + }, + { + "blob_sha": "dc307287bc1dc92f1a4bc76378582c68b5b6be1a", + "commits": [], + "end_line": 80, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/Message.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 80 + }, + { + "blob_sha": "dc307287bc1dc92f1a4bc76378582c68b5b6be1a", + "commits": [], + "end_line": 81, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/Message.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 81 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" + }, + { + "count": 12, + "dst": "M:graylog2-server/src/main/java/org/graylog/events", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog/events", + "kind": "uses", + "refs": [ + { + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "commits": [], + "end_line": 26, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "commits": [], + "end_line": 27, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "commits": [], + "end_line": 28, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "commits": [], + "end_line": 29, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "commits": [], + "end_line": 30, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "commits": [], + "end_line": 31, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "commits": [], + "end_line": 32, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "commits": [], + "end_line": 33, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "commits": [], + "end_line": 34, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "commits": [], + "end_line": 35, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" + }, + { + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog/failure", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog/failure", + "kind": "uses", + "refs": [ + { + "blob_sha": "dc307287bc1dc92f1a4bc76378582c68b5b6be1a", + "commits": [], + "end_line": 40, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/Message.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 40 + }, + { + "blob_sha": "dc307287bc1dc92f1a4bc76378582c68b5b6be1a", + "commits": [], + "end_line": 41, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/Message.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 41 + }, + { + "blob_sha": "0af1fbcc6eb602fb188b866d7a9ae3f86ffba0e9", + "commits": [], + "end_line": 25, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/inputs/Extractor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" + }, + { + "count": 8, + "dst": "M:graylog2-server/src/main/java/org/graylog/grn", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog/grn", + "kind": "uses", + "refs": [ + { + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "commits": [], + "end_line": 36, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + }, + { + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "commits": [], + "end_line": 37, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 37 + }, + { + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "commits": [], + "end_line": 38, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 38 + }, + { + "blob_sha": "5314db6a51082d805e98d58a9eb12212e5e884fb", + "commits": [], + "end_line": 26, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/quickjump/QuickJumpService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "e739b50f11744ca34cba6840f11381a23e1c13b1", + "commits": [], + "end_line": 22, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/security/DomainActionPermission.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "e739b50f11744ca34cba6840f11381a23e1c13b1", + "commits": [], + "end_line": 23, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/security/DomainActionPermission.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "215675ab74515a454489fdc42f0ebf7dd698e88b", + "commits": [], + "end_line": 19, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/security/Permission.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "215675ab74515a454489fdc42f0ebf7dd698e88b", + "commits": [], + "end_line": 20, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/security/Permission.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog/mcp", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog/mcp", + "kind": "uses", + "refs": [ + { + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "commits": [], + "end_line": 39, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 39 + }, + { + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "commits": [], + "end_line": 40, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 40 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" + }, + { + "count": 13, + "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog/plugins", + "kind": "uses", + "refs": [ + { + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "commits": [], + "end_line": 41, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 41 + }, + { + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "commits": [], + "end_line": 42, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 42 + }, + { + "blob_sha": "5ebf0ecbea58bb2f045de554fddfccf3202fff51", + "commits": [], + "end_line": 23, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/indexer/searches/timeranges/TimeRange.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "6923adf6035d33a539413bb54b8ad088709cec13", + "commits": [], + "end_line": 34, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/inject/Graylog2Module.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "6923adf6035d33a539413bb54b8ad088709cec13", + "commits": [], + "end_line": 35, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/inject/Graylog2Module.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + }, + { + "blob_sha": "65d58617992b23e199842a7f7013da499d4b2833", + "commits": [], + "end_line": 22, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/quickjump/QuickJumpModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "65d58617992b23e199842a7f7013da499d4b2833", + "commits": [], + "end_line": 23, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/quickjump/QuickJumpModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "5314db6a51082d805e98d58a9eb12212e5e884fb", + "commits": [], + "end_line": 27, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/quickjump/QuickJumpService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "5314db6a51082d805e98d58a9eb12212e5e884fb", + "commits": [], + "end_line": 28, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/quickjump/QuickJumpService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "5314db6a51082d805e98d58a9eb12212e5e884fb", + "commits": [], + "end_line": 29, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/quickjump/QuickJumpService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" + }, + { + "count": 8, + "dst": "M:graylog2-server/src/main/java/org/graylog/scheduler", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog/scheduler", + "kind": "uses", + "refs": [ + { + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "commits": [], + "end_line": 43, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 43 + }, + { + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "commits": [], + "end_line": 44, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 44 + }, + { + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "commits": [], + "end_line": 45, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 45 + }, + { + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "commits": [], + "end_line": 46, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 46 + }, + { + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "commits": [], + "end_line": 47, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 47 + }, + { + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "commits": [], + "end_line": 48, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 48 + }, + { + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "commits": [], + "end_line": 49, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 49 + }, + { + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "commits": [], + "end_line": 50, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 50 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" + }, + { + "count": 12, + "dst": "M:graylog2-server/src/main/java/org/graylog/schema", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog/schema", + "kind": "uses", + "refs": [ + { + "blob_sha": "dc307287bc1dc92f1a4bc76378582c68b5b6be1a", + "commits": [], + "end_line": 82, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/Message.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 82 + }, + { + "blob_sha": "dc307287bc1dc92f1a4bc76378582c68b5b6be1a", + "commits": [], + "end_line": 83, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/Message.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 83 + }, + { + "blob_sha": "dc307287bc1dc92f1a4bc76378582c68b5b6be1a", + "commits": [], + "end_line": 84, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/Message.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 84 + }, + { + "blob_sha": "dc307287bc1dc92f1a4bc76378582c68b5b6be1a", + "commits": [], + "end_line": 85, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/Message.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 85 + }, + { + "blob_sha": "dc307287bc1dc92f1a4bc76378582c68b5b6be1a", + "commits": [], + "end_line": 86, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/Message.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 86 + }, + { + "blob_sha": "dc307287bc1dc92f1a4bc76378582c68b5b6be1a", + "commits": [], + "end_line": 87, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/Message.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 87 + }, + { + "blob_sha": "dc307287bc1dc92f1a4bc76378582c68b5b6be1a", + "commits": [], + "end_line": 88, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/Message.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 88 + }, + { + "blob_sha": "dc307287bc1dc92f1a4bc76378582c68b5b6be1a", + "commits": [], + "end_line": 89, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/Message.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 89 + }, + { + "blob_sha": "dc307287bc1dc92f1a4bc76378582c68b5b6be1a", + "commits": [], + "end_line": 90, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/Message.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 90 + }, + { + "blob_sha": "dc307287bc1dc92f1a4bc76378582c68b5b6be1a", + "commits": [], + "end_line": 91, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/Message.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 91 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" + }, + { + "count": 12, + "dst": "M:graylog2-server/src/main/java/org/graylog/security", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog/security", + "kind": "uses", + "refs": [ + { + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "commits": [], + "end_line": 51, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 51 + }, + { + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "commits": [], + "end_line": 52, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 52 + }, + { + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "commits": [], + "end_line": 53, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 53 + }, + { + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "commits": [], + "end_line": 54, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 54 + }, + { + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "commits": [], + "end_line": 55, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 55 + }, + { + "blob_sha": "bea752b2a126cb72e3f1eee4d7f65f84a5e9a146", + "commits": [], + "end_line": 21, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/quickjump/QuickJumpProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "5314db6a51082d805e98d58a9eb12212e5e884fb", + "commits": [], + "end_line": 32, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/quickjump/QuickJumpService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "e739b50f11744ca34cba6840f11381a23e1c13b1", + "commits": [], + "end_line": 24, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/security/DomainActionPermission.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "e739b50f11744ca34cba6840f11381a23e1c13b1", + "commits": [], + "end_line": 25, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/security/DomainActionPermission.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "215675ab74515a454489fdc42f0ebf7dd698e88b", + "commits": [], + "end_line": 21, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/security/Permission.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog/tracing", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog/tracing", + "kind": "uses", + "refs": [ + { + "blob_sha": "8c0daa543383ce3d03fe311c8362d4477968e900", + "commits": [], + "end_line": 21, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/periodical/Periodical.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/(root)", + "kind": "uses", + "refs": [ + { + "blob_sha": "68f03cbec69cef4fb4fd320e5fcdad857bebf305", + "commits": [], + "end_line": 34, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/BaseConfiguration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "5c54888cce86b0e5ef64714643c170b0fa6cbc91", + "commits": [], + "end_line": 25, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/ServerStatus.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" + }, + { + "count": 11, + "dst": "M:graylog2-server/src/main/java/org/graylog2/audit", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/audit", + "kind": "uses", + "refs": [ + { + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "commits": [], + "end_line": 56, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 56 + }, + { + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "commits": [], + "end_line": 57, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 57 + }, + { + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "commits": [], + "end_line": 58, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 58 + }, + { + "blob_sha": "5c54888cce86b0e5ef64714643c170b0fa6cbc91", + "commits": [], + "end_line": 26, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/ServerStatus.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "5c54888cce86b0e5ef64714643c170b0fa6cbc91", + "commits": [], + "end_line": 27, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/ServerStatus.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "5c54888cce86b0e5ef64714643c170b0fa6cbc91", + "commits": [], + "end_line": 42, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/ServerStatus.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 42 + }, + { + "blob_sha": "6923adf6035d33a539413bb54b8ad088709cec13", + "commits": [], + "end_line": 36, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/inject/Graylog2Module.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + }, + { + "blob_sha": "6923adf6035d33a539413bb54b8ad088709cec13", + "commits": [], + "end_line": 37, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/inject/Graylog2Module.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 37 + }, + { + "blob_sha": "6923adf6035d33a539413bb54b8ad088709cec13", + "commits": [], + "end_line": 38, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/inject/Graylog2Module.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 38 + }, + { + "blob_sha": "6923adf6035d33a539413bb54b8ad088709cec13", + "commits": [], + "end_line": 39, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/inject/Graylog2Module.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 39 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/bindings", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/bindings", + "kind": "uses", + "refs": [ + { + "blob_sha": "87030416402f24d23b43f721a590502d685354c7", + "commits": [], + "end_line": 23, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/KafkaJournalConfiguration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/bootstrap", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/bootstrap", + "kind": "uses", + "refs": [ + { + "blob_sha": "6923adf6035d33a539413bb54b8ad088709cec13", + "commits": [], + "end_line": 40, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/inject/Graylog2Module.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 40 + }, + { + "blob_sha": "af093383e7a4e3577b2a5050b6d39489ff28ee9a", + "commits": [], + "end_line": 23, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/inputs/transports/AbstractTcpTransport.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" + }, + { + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/cluster", + "kind": "uses", + "refs": [ + { + "blob_sha": "5c54888cce86b0e5ef64714643c170b0fa6cbc91", + "commits": [], + "end_line": 28, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/ServerStatus.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "5974fd50b3d0b0b0e311f923b8ad11b64bdf4bc4", + "commits": [], + "end_line": 19, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/cluster/ClusterConfigService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "65d58617992b23e199842a7f7013da499d4b2833", + "commits": [], + "end_line": 24, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/quickjump/QuickJumpModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "65d58617992b23e199842a7f7013da499d4b2833", + "commits": [], + "end_line": 25, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/quickjump/QuickJumpModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" + }, + { + "count": 5, + "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/configuration", + "kind": "uses", + "refs": [ + { + "blob_sha": "68f03cbec69cef4fb4fd320e5fcdad857bebf305", + "commits": [], + "end_line": 35, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/BaseConfiguration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + }, + { + "blob_sha": "87030416402f24d23b43f721a590502d685354c7", + "commits": [], + "end_line": 24, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/KafkaJournalConfiguration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "2b762ad877d3433d5514721a5ebb5db514986b13", + "commits": [], + "end_line": 19, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginLoaderConfig.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "d0a2f94dada43c51cda002b353e8f09943aa8acb", + "commits": [], + "end_line": 21, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/indexer/retention/RetentionStrategyConfig.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "af093383e7a4e3577b2a5050b6d39489ff28ee9a", + "commits": [], + "end_line": 45, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/inputs/transports/AbstractTcpTransport.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 45 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" + }, + { + "count": 8, + "dst": "M:graylog2-server/src/main/java/org/graylog2/contentpacks", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/contentpacks", + "kind": "uses", + "refs": [ + { + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "commits": [], + "end_line": 59, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 59 + }, + { + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "commits": [], + "end_line": 60, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 60 + }, + { + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "commits": [], + "end_line": 61, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 61 + }, + { + "blob_sha": "6923adf6035d33a539413bb54b8ad088709cec13", + "commits": [], + "end_line": 41, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/inject/Graylog2Module.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 41 + }, + { + "blob_sha": "6923adf6035d33a539413bb54b8ad088709cec13", + "commits": [], + "end_line": 42, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/inject/Graylog2Module.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 42 + }, + { + "blob_sha": "6923adf6035d33a539413bb54b8ad088709cec13", + "commits": [], + "end_line": 43, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/inject/Graylog2Module.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 43 + }, + { + "blob_sha": "65d58617992b23e199842a7f7013da499d4b2833", + "commits": [], + "end_line": 26, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/quickjump/QuickJumpModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "65d58617992b23e199842a7f7013da499d4b2833", + "commits": [], + "end_line": 27, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/quickjump/QuickJumpModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" + }, + { + "count": 7, + "dst": "M:graylog2-server/src/main/java/org/graylog2/database", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/database", + "kind": "uses", + "refs": [ + { + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "commits": [], + "end_line": 62, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 62 + }, + { + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "commits": [], + "end_line": 63, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 63 + }, + { + "blob_sha": "bea752b2a126cb72e3f1eee4d7f65f84a5e9a146", + "commits": [], + "end_line": 22, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/quickjump/QuickJumpProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "5314db6a51082d805e98d58a9eb12212e5e884fb", + "commits": [], + "end_line": 33, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/quickjump/QuickJumpService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "5314db6a51082d805e98d58a9eb12212e5e884fb", + "commits": [], + "end_line": 34, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/quickjump/QuickJumpService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 + }, + { + "blob_sha": "5314db6a51082d805e98d58a9eb12212e5e884fb", + "commits": [], + "end_line": 35, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/quickjump/QuickJumpService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + }, + { + "blob_sha": "5314db6a51082d805e98d58a9eb12212e5e884fb", + "commits": [], + "end_line": 36, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/quickjump/QuickJumpService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/decorators", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/decorators", + "kind": "uses", + "refs": [ + { + "blob_sha": "c18229cb01e34041d7b7955d47dc4daa89f02c3a", + "commits": [], + "end_line": 19, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/decorators/SearchResponseDecorator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/featureflag", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/featureflag", + "kind": "uses", + "refs": [ + { + "blob_sha": "65d58617992b23e199842a7f7013da499d4b2833", + "commits": [], + "end_line": 28, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/quickjump/QuickJumpModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" + }, + { + "count": 8, + "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/indexer", + "kind": "uses", + "refs": [ + { + "blob_sha": "dc307287bc1dc92f1a4bc76378582c68b5b6be1a", + "commits": [], + "end_line": 42, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/Message.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 42 + }, + { + "blob_sha": "dc307287bc1dc92f1a4bc76378582c68b5b6be1a", + "commits": [], + "end_line": 43, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/Message.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 43 + }, + { + "blob_sha": "b99bd88c9ae5222b4dd6bf7f3def55c7842a7fc1", + "commits": [], + "end_line": 20, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/MessageBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "b99bd88c9ae5222b4dd6bf7f3def55c7842a7fc1", + "commits": [], + "end_line": 21, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/MessageBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "6e6ba00fcb900d905d766267d6f2e3ee4253accc", + "commits": [], + "end_line": 19, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/indexer/retention/RetentionStrategy.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "4e1fe4070e1ef45a1bbe21e655b16cfb0360a40c", + "commits": [], + "end_line": 19, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/indexer/rotation/RotationStrategy.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "65d58617992b23e199842a7f7013da499d4b2833", + "commits": [], + "end_line": 29, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/quickjump/QuickJumpModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "031d5199e86472a511ea4d0392e75a62d634dd8d", + "commits": [], + "end_line": 22, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/streams/Stream.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" + }, + { + "count": 13, + "dst": "M:graylog2-server/src/main/java/org/graylog2/inputs", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/inputs", + "kind": "uses", + "refs": [ + { + "blob_sha": "0af1fbcc6eb602fb188b866d7a9ae3f86ffba0e9", + "commits": [], + "end_line": 26, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/inputs/Extractor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "af093383e7a4e3577b2a5050b6d39489ff28ee9a", + "commits": [], + "end_line": 46, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/inputs/transports/AbstractTcpTransport.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 46 + }, + { + "blob_sha": "af093383e7a4e3577b2a5050b6d39489ff28ee9a", + "commits": [], + "end_line": 47, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/inputs/transports/AbstractTcpTransport.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 47 + }, + { + "blob_sha": "af093383e7a4e3577b2a5050b6d39489ff28ee9a", + "commits": [], + "end_line": 48, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/inputs/transports/AbstractTcpTransport.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 48 + }, + { + "blob_sha": "af093383e7a4e3577b2a5050b6d39489ff28ee9a", + "commits": [], + "end_line": 49, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/inputs/transports/AbstractTcpTransport.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 49 + }, + { + "blob_sha": "af093383e7a4e3577b2a5050b6d39489ff28ee9a", + "commits": [], + "end_line": 50, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/inputs/transports/AbstractTcpTransport.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 50 + }, + { + "blob_sha": "af093383e7a4e3577b2a5050b6d39489ff28ee9a", + "commits": [], + "end_line": 51, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/inputs/transports/AbstractTcpTransport.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 51 + }, + { + "blob_sha": "af093383e7a4e3577b2a5050b6d39489ff28ee9a", + "commits": [], + "end_line": 52, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/inputs/transports/AbstractTcpTransport.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 52 + }, + { + "blob_sha": "81db1bf4918f100cafa3ce44bd4220e65865115d", "commits": [], - "end_line": 20, - "id": "E1", + "end_line": 26, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexerDiscoverySecurityAutoconfig.java", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/inputs/transports/NettyTransport.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 26 + }, + { + "blob_sha": "81db1bf4918f100cafa3ce44bd4220e65865115d", + "commits": [], + "end_line": 27, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/inputs/transports/NettyTransport.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/configuration" + "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" }, { "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", + "dst": "M:graylog2-server/src/main/java/org/graylog2/jersey", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/configuration->M:graylog2-server/src/main/java/org/graylog2/(root)", + "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/jersey", "kind": "uses", "refs": [ { - "blob_sha": "60784263652ca2755b18d0dc2cda9d1224b580eb", + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", "commits": [], - "end_line": 24, + "end_line": 64, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/configuration/ExposedConfiguration.java", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 64 }, { - "blob_sha": "2b4f8f62b60c19c330588e772afb6814a5031d3c", + "blob_sha": "6923adf6035d33a539413bb54b8ad088709cec13", "commits": [], - "end_line": 21, + "end_line": 44, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexerDiscoverySecurityAutoconfig.java", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/inject/Graylog2Module.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 44 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/configuration" + "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" }, { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/bindings", + "count": 7, + "dst": "M:graylog2-server/src/main/java/org/graylog2/lookup", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/configuration->M:graylog2-server/src/main/java/org/graylog2/bindings", + "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/lookup", "kind": "uses", "refs": [ { - "blob_sha": "ab7ce4d1ecd0552cd8a193e769b7af18576f5f3f", + "blob_sha": "b5966977e33e941e9208b1d5094c694cbee5d499", "commits": [], - "end_line": 22, + "end_line": 24, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexerDiscoveryModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/lookup/LookupDataAdapter.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/configuration" - }, - { - "count": 9, - "dst": "M:graylog2-server/src/main/java/org/graylog2/bootstrap", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/configuration->M:graylog2-server/src/main/java/org/graylog2/bootstrap", - "kind": "uses", - "refs": [ + "start_line": 24 + }, { - "blob_sha": "e4751296187b241abb2b3ae74312bab90e82ad41", + "blob_sha": "2cf2417db5f02e7e75f246af8bd8088869011116", "commits": [], - "end_line": 20, - "id": "E1", + "end_line": 23, + "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexerDiscoveryCertProvisioning.java", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/lookup/LookupDataAdapterConfiguration.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 23 }, { - "blob_sha": "ab7ce4d1ecd0552cd8a193e769b7af18576f5f3f", + "blob_sha": "34638a80085efe5dc89605e618808adb28755895", "commits": [], "end_line": 23, - "id": "E2", + "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexerDiscoveryModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/lookup/LookupResult.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 23 }, { - "blob_sha": "ab7ce4d1ecd0552cd8a193e769b7af18576f5f3f", + "blob_sha": "34638a80085efe5dc89605e618808adb28755895", "commits": [], "end_line": 24, - "id": "E3", + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexerDiscoveryModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/lookup/LookupResult.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 24 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/configuration" - }, - { - "count": 10, - "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/configuration->M:graylog2-server/src/main/java/org/graylog2/cluster", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "ab7ce4d1ecd0552cd8a193e769b7af18576f5f3f", + "blob_sha": "65d58617992b23e199842a7f7013da499d4b2833", "commits": [], - "end_line": 25, - "id": "E1", + "end_line": 31, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexerDiscoveryModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/quickjump/QuickJumpModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 31 }, { - "blob_sha": "ab7ce4d1ecd0552cd8a193e769b7af18576f5f3f", + "blob_sha": "65d58617992b23e199842a7f7013da499d4b2833", "commits": [], - "end_line": 26, - "id": "E2", + "end_line": 32, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexerDiscoveryModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/quickjump/QuickJumpModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 32 }, { - "blob_sha": "ab7ce4d1ecd0552cd8a193e769b7af18576f5f3f", + "blob_sha": "65d58617992b23e199842a7f7013da499d4b2833", "commits": [], - "end_line": 27, - "id": "E3", + "end_line": 33, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexerDiscoveryModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/quickjump/QuickJumpModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 33 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/configuration" + "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" }, { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/database", + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/migrations", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/configuration->M:graylog2-server/src/main/java/org/graylog2/database", + "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/migrations", "kind": "uses", "refs": [ { - "blob_sha": "ab7ce4d1ecd0552cd8a193e769b7af18576f5f3f", + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", "commits": [], - "end_line": 28, + "end_line": 65, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexerDiscoveryModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 + "start_line": 65 + }, + { + "blob_sha": "6923adf6035d33a539413bb54b8ad088709cec13", + "commits": [], + "end_line": 45, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/inject/Graylog2Module.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 45 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/configuration" + "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" }, { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/datatiering", + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/outputs", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/configuration->M:graylog2-server/src/main/java/org/graylog2/datatiering", + "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/outputs", "kind": "uses", "refs": [ { - "blob_sha": "59fe36276ad07a9b2a4add6fe66c4b08b8b0595a", + "blob_sha": "88eef1edfd2167d4c0d91c7b316005d3232c127e", "commits": [], - "end_line": 21, + "end_line": 19, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexSetDefaultTemplateConfigFactory.java", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/outputs/FilteredMessageOutput.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 - }, + "start_line": 19 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/rest", + "kind": "uses", + "refs": [ { - "blob_sha": "59fe36276ad07a9b2a4add6fe66c4b08b8b0595a", + "blob_sha": "13f8a31b8136361c3c2ca555717ba21f3fa3bf07", "commits": [], "end_line": 22, - "id": "E2", + "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexSetDefaultTemplateConfigFactory.java", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/database/users/User.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 22 }, { - "blob_sha": "39320f8f5df86594ec992daac83480b16042c50a", + "blob_sha": "c18229cb01e34041d7b7955d47dc4daa89f02c3a", "commits": [], - "end_line": 27, - "id": "E3", + "end_line": 22, + "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexSetsDefaultConfiguration.java", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/decorators/SearchResponseDecorator.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 22 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/configuration" + "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" }, { - "count": 18, - "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/security", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/configuration->M:graylog2-server/src/main/java/org/graylog2/indexer", + "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/security", "kind": "uses", "refs": [ { - "blob_sha": "dbfb590c65f4a61794f571353b06b9147c55761d", + "blob_sha": "8df2a633516174c3761bfa5644de3f196cef3288", "commits": [], - "end_line": 35, + "end_line": 27, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/configuration/ElasticsearchConfiguration.java", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/configuration/Configuration.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 35 + "start_line": 27 }, { - "blob_sha": "dbfb590c65f4a61794f571353b06b9147c55761d", + "blob_sha": "af093383e7a4e3577b2a5050b6d39489ff28ee9a", "commits": [], - "end_line": 36, + "end_line": 67, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/configuration/ElasticsearchConfiguration.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 36 - }, - { - "blob_sha": "dbfb590c65f4a61794f571353b06b9147c55761d", - "commits": [], - "end_line": 37, - "id": "E3", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/configuration/ElasticsearchConfiguration.java", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/inputs/transports/AbstractTcpTransport.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 + "start_line": 67 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/configuration" + "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" }, { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/migrations", + "count": 20, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/configuration->M:graylog2-server/src/main/java/org/graylog2/migrations", + "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/shared", "kind": "uses", "refs": [ { - "blob_sha": "59fe36276ad07a9b2a4add6fe66c4b08b8b0595a", + "blob_sha": "68f03cbec69cef4fb4fd320e5fcdad857bebf305", "commits": [], - "end_line": 25, + "end_line": 36, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexSetDefaultTemplateConfigFactory.java", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/BaseConfiguration.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/configuration" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/outputs", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/configuration->M:graylog2-server/src/main/java/org/graylog2/outputs", - "kind": "uses", - "refs": [ + "start_line": 36 + }, { - "blob_sha": "60784263652ca2755b18d0dc2cda9d1224b580eb", + "blob_sha": "68f03cbec69cef4fb4fd320e5fcdad857bebf305", "commits": [], - "end_line": 25, - "id": "E1", + "end_line": 46, + "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/configuration/ExposedConfiguration.java", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/BaseConfiguration.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/configuration" - }, - { - "count": 9, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/configuration->M:graylog2-server/src/main/java/org/graylog2/plugin", - "kind": "uses", - "refs": [ + "start_line": 46 + }, { - "blob_sha": "af7e12eee68e23f04749251fc240cf50ffa35827", + "blob_sha": "68f03cbec69cef4fb4fd320e5fcdad857bebf305", "commits": [], - "end_line": 30, - "id": "E1", + "end_line": 47, + "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/configuration/HttpConfiguration.java", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/BaseConfiguration.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 + "start_line": 47 }, { - "blob_sha": "59fe36276ad07a9b2a4add6fe66c4b08b8b0595a", + "blob_sha": "dc307287bc1dc92f1a4bc76378582c68b5b6be1a", "commits": [], - "end_line": 26, - "id": "E2", + "end_line": 47, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexSetDefaultTemplateConfigFactory.java", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/Message.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 47 }, { - "blob_sha": "59fe36276ad07a9b2a4add6fe66c4b08b8b0595a", + "blob_sha": "dc307287bc1dc92f1a4bc76378582c68b5b6be1a", "commits": [], - "end_line": 27, - "id": "E3", + "end_line": 48, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexSetDefaultTemplateConfigFactory.java", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/Message.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/configuration" - }, - { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/security", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/configuration->M:graylog2-server/src/main/java/org/graylog2/security", - "kind": "uses", - "refs": [ + "start_line": 48 + }, { - "blob_sha": "ab7ce4d1ecd0552cd8a193e769b7af18576f5f3f", + "blob_sha": "3dd1e81b5ea8a03cca2ceea83414ff6064c003b0", "commits": [], - "end_line": 29, - "id": "E1", + "end_line": 19, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexerDiscoveryModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginBootstrapConfig.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 + "start_line": 19 }, { - "blob_sha": "ab7ce4d1ecd0552cd8a193e769b7af18576f5f3f", + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", "commits": [], - "end_line": 30, - "id": "E2", + "end_line": 84, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexerDiscoveryModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 + "start_line": 84 }, { - "blob_sha": "ab7ce4d1ecd0552cd8a193e769b7af18576f5f3f", + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", "commits": [], - "end_line": 31, - "id": "E3", + "end_line": 85, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/configuration/IndexerDiscoveryModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 31 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/configuration" - }, - { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/configuration->M:graylog2-server/src/main/java/org/graylog2/shared", - "kind": "uses", - "refs": [ + "start_line": 85 + }, { - "blob_sha": "dbfb590c65f4a61794f571353b06b9147c55761d", + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", "commits": [], - "end_line": 51, - "id": "E1", + "end_line": 86, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/configuration/ElasticsearchConfiguration.java", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 51 + "start_line": 86 }, { - "blob_sha": "17679b508662a537ad3b220d2ac8852ab4750aa3", + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", "commits": [], - "end_line": 37, - "id": "E2", + "end_line": 95, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/configuration/EmailConfiguration.java", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 - }, + "start_line": 95 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/storage", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/storage", + "kind": "uses", + "refs": [ { - "blob_sha": "0a264cd8ca81c441d6e401db2ebd6684beb126b9", + "blob_sha": "e5485d652d12397e8f7c6ce21665320dbb34b1c4", "commits": [], - "end_line": 21, - "id": "E3", + "end_line": 22, + "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/configuration/MarkdownCSPResourceProvider.java", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/VersionAwareModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 22 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/configuration" + "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" }, { - "count": 7, - "dst": "M:graylog2-server/src/main/java/org/graylog2/storage", + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog2/streams", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/configuration->M:graylog2-server/src/main/java/org/graylog2/storage", + "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/streams", "kind": "uses", "refs": [ { - "blob_sha": "e79029a905b087ff312fe66778e84cbaf6708e7f", + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", "commits": [], - "end_line": 30, + "end_line": 87, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/configuration/ElasticsearchClientConfiguration.java", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 + "start_line": 87 }, { - "blob_sha": "4fdbd057c09adc131f9238329157ce247697d634", + "blob_sha": "6923adf6035d33a539413bb54b8ad088709cec13", "commits": [], - "end_line": 20, + "end_line": 65, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/configuration/converters/MajorVersionConverter.java", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/inject/Graylog2Module.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 65 }, { - "blob_sha": "79d400dba26ed7e2476d9e89e35ce0d79db28c45", + "blob_sha": "65d58617992b23e199842a7f7013da499d4b2833", "commits": [], - "end_line": 22, + "end_line": 37, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/configuration/validators/ElasticsearchVersionValidator.java", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/quickjump/QuickJumpModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 37 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/configuration" + "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" }, { "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog/grn", + "dst": "M:graylog2-server/src/main/java/org/graylog2/telemetry", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/contentpacks->M:graylog2-server/src/main/java/org/graylog/grn", + "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/telemetry", "kind": "uses", "refs": [ { - "blob_sha": "8a88952f10989ce4cb578fdb05561d312fa8ad9c", + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", "commits": [], - "end_line": 32, + "end_line": 88, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackService.java", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 32 + "start_line": 88 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/contentpacks" + "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" }, { - "count": 133, - "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/users", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/contentpacks->M:graylog2-server/src/main/java/org/graylog/plugins", + "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/users", "kind": "uses", "refs": [ { - "blob_sha": "e4ac32cd6dd242b0802e9cb08ff6f848c21d00a5", + "blob_sha": "65d58617992b23e199842a7f7013da499d4b2833", "commits": [], - "end_line": 19, + "end_line": 38, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/DashboardEntityCreator.java", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/quickjump/QuickJumpModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 38 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" + }, + { + "count": 6, + "dst": "M:graylog2-server/src/main/java/org/graylog2/utilities", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/utilities", + "kind": "uses", + "refs": [ + { + "blob_sha": "68f03cbec69cef4fb4fd320e5fcdad857bebf305", + "commits": [], + "end_line": 37, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/BaseConfiguration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 37 }, { - "blob_sha": "9e41783af3042d7c89f208cc75a9dc14f5bbb2a8", + "blob_sha": "68f03cbec69cef4fb4fd320e5fcdad857bebf305", "commits": [], - "end_line": 21, + "end_line": 38, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/DashboardFacade.java", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/BaseConfiguration.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 38 }, { - "blob_sha": "9e41783af3042d7c89f208cc75a9dc14f5bbb2a8", + "blob_sha": "68f03cbec69cef4fb4fd320e5fcdad857bebf305", "commits": [], - "end_line": 22, + "end_line": 39, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/DashboardFacade.java", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/BaseConfiguration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 39 + }, + { + "blob_sha": "68f03cbec69cef4fb4fd320e5fcdad857bebf305", + "commits": [], + "end_line": 40, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/BaseConfiguration.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/contentpacks" - }, - { - "count": 5, - "dst": "M:graylog2-server/src/main/java/org/graylog/security", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/contentpacks->M:graylog2-server/src/main/java/org/graylog/security", - "kind": "uses", - "refs": [ + "start_line": 40 + }, { - "blob_sha": "8a88952f10989ce4cb578fdb05561d312fa8ad9c", + "blob_sha": "eb19110f1eac92aea7d6a22e699c80855f0cd3f3", "commits": [], - "end_line": 33, - "id": "E1", + "end_line": 35, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackService.java", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/lookup/LookupCache.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 33 + "start_line": 35 }, { - "blob_sha": "8a88952f10989ce4cb578fdb05561d312fa8ad9c", + "blob_sha": "b5966977e33e941e9208b1d5094c694cbee5d499", "commits": [], "end_line": 34, - "id": "E2", + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackService.java", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/lookup/LookupDataAdapter.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 34 - }, + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/web", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/web", + "kind": "uses", + "refs": [ { - "blob_sha": "8a88952f10989ce4cb578fdb05561d312fa8ad9c", + "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", "commits": [], - "end_line": 35, - "id": "E3", + "end_line": 89, + "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackService.java", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 35 + "start_line": 89 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/contentpacks" + "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" }, { "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", + "dst": "M:graylog2-web-interface/src/components", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/contentpacks->M:graylog2-server/src/main/java/org/graylog2/(root)", + "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-web-interface/src/components", "kind": "uses", "refs": [ { - "blob_sha": "8a88952f10989ce4cb578fdb05561d312fa8ad9c", + "blob_sha": "436f2c61d38dfbd991a093665dd8911f69b47530", "commits": [], - "end_line": 37, + "end_line": 19, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackService.java", + "path": "graylog2-server/src/main/java/org/graylog2/plugin/MetricSets.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 + "start_line": 19 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/contentpacks" + "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" }, { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/audit", + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog2/database", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/contentpacks->M:graylog2-server/src/main/java/org/graylog2/audit", + "id": "M:graylog2-server/src/main/java/org/graylog2/presence->M:graylog2-server/src/main/java/org/graylog2/database", "kind": "uses", "refs": [ { - "blob_sha": "f1b599815a162c3c361d098e4687cacb2b422bce", + "blob_sha": "3761970bc7e4ee334dc44ad1e1afe4eea3de1a6d", "commits": [], - "end_line": 22, + "end_line": 21, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackAuditLogger.java", + "path": "graylog2-server/src/main/java/org/graylog2/presence/PresenceEntry.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 21 }, { - "blob_sha": "f1b599815a162c3c361d098e4687cacb2b422bce", + "blob_sha": "5269ecb0d2533f1f5421fd828ff2083e1254a511", "commits": [], - "end_line": 23, + "end_line": 29, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackAuditLogger.java", + "path": "graylog2-server/src/main/java/org/graylog2/presence/PresenceService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 29 }, { - "blob_sha": "f1b599815a162c3c361d098e4687cacb2b422bce", + "blob_sha": "5269ecb0d2533f1f5421fd828ff2083e1254a511", "commits": [], - "end_line": 24, + "end_line": 30, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackAuditLogger.java", + "path": "graylog2-server/src/main/java/org/graylog2/presence/PresenceService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 30 + }, + { + "blob_sha": "5269ecb0d2533f1f5421fd828ff2083e1254a511", + "commits": [], + "end_line": 31, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/presence/PresenceService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/contentpacks" + "src": "M:graylog2-server/src/main/java/org/graylog2/presence" }, { "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/bindings", + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/contentpacks->M:graylog2-server/src/main/java/org/graylog2/bindings", + "id": "M:graylog2-server/src/main/java/org/graylog2/presence->M:graylog2-server/src/main/java/org/graylog2/plugin", "kind": "uses", "refs": [ { - "blob_sha": "e858cb5bba3d6c131ee09f49d620055c13a56110", + "blob_sha": "5269ecb0d2533f1f5421fd828ff2083e1254a511", "commits": [], - "end_line": 35, + "end_line": 32, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackPersistenceService.java", + "path": "graylog2-server/src/main/java/org/graylog2/presence/PresenceService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 35 + "start_line": 32 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/contentpacks" + "src": "M:graylog2-server/src/main/java/org/graylog2/presence" }, { - "count": 17, - "dst": "M:graylog2-server/src/main/java/org/graylog2/database", + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/contentpacks->M:graylog2-server/src/main/java/org/graylog2/database", + "id": "M:graylog2-server/src/main/java/org/graylog2/presence->M:graylog2-server/src/main/java/org/graylog2/shared", "kind": "uses", "refs": [ { - "blob_sha": "c6f1a7f97124728603ee08a8821d1c2d05ab0239", + "blob_sha": "5269ecb0d2533f1f5421fd828ff2083e1254a511", "commits": [], - "end_line": 29, + "end_line": 33, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackInstallationPersistenceService.java", + "path": "graylog2-server/src/main/java/org/graylog2/presence/PresenceService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 + "start_line": 33 }, { - "blob_sha": "c6f1a7f97124728603ee08a8821d1c2d05ab0239", + "blob_sha": "5269ecb0d2533f1f5421fd828ff2083e1254a511", "commits": [], - "end_line": 30, + "end_line": 45, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackInstallationPersistenceService.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 - }, - { - "blob_sha": "c6f1a7f97124728603ee08a8821d1c2d05ab0239", - "commits": [], - "end_line": 44, - "id": "E3", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackInstallationPersistenceService.java", + "path": "graylog2-server/src/main/java/org/graylog2/presence/PresenceService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 44 + "start_line": 45 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/contentpacks" + "src": "M:graylog2-server/src/main/java/org/graylog2/presence" }, { "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/decorators", + "dst": "M:graylog2-server/src/main/java/org/graylog/events", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/contentpacks->M:graylog2-server/src/main/java/org/graylog2/decorators", + "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog/events", "kind": "uses", "refs": [ { - "blob_sha": "ac0ac38e7c5bd89ee528b25c4862eb2762c863f5", + "blob_sha": "f10f365d72fef899e826434504df57e51370106a", "commits": [], - "end_line": 33, + "end_line": 46, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/model/entities/MessageListEntity.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/NotificationsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 33 + "start_line": 46 }, { - "blob_sha": "ac0ac38e7c5bd89ee528b25c4862eb2762c863f5", + "blob_sha": "f10f365d72fef899e826434504df57e51370106a", "commits": [], - "end_line": 34, + "end_line": 47, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/model/entities/MessageListEntity.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/NotificationsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 34 + "start_line": 47 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/contentpacks" + "src": "M:graylog2-server/src/main/java/org/graylog2/rest" }, { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/grok", + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog/grn", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/contentpacks->M:graylog2-server/src/main/java/org/graylog2/grok", + "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog/grn", "kind": "uses", "refs": [ { - "blob_sha": "46c3f8d47b54b1cc264a50b75a742236dde51ddc", + "blob_sha": "5bb942220ad321dcda64eebad669f6ed4758c342", "commits": [], - "end_line": 42, + "end_line": 56, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/GrokPatternFacade.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 42 - }, - { - "blob_sha": "46c3f8d47b54b1cc264a50b75a742236dde51ddc", - "commits": [], - "end_line": 43, - "id": "E2", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/GrokPatternFacade.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 43 - }, - { - "blob_sha": "3dfa10bc230b8683deea8b928d6f2921282af0a2", - "commits": [], - "end_line": 53, - "id": "E3", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/InputFacade.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/streams/StreamResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 53 + "start_line": 56 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/contentpacks" + "src": "M:graylog2-server/src/main/java/org/graylog2/rest" }, { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", + "count": 80, + "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/contentpacks->M:graylog2-server/src/main/java/org/graylog2/indexer", + "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog/plugins", "kind": "uses", "refs": [ { - "blob_sha": "e20af60e497af3164dc4363aad2bfab764c79cf7", + "blob_sha": "128102eaef103ae865c7e845ba0ca44236f0a32e", "commits": [], - "end_line": 47, + "end_line": 19, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/StreamFacade.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/RestResourcesModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 47 + "start_line": 19 }, { - "blob_sha": "e6c332b87ee02097bedbea3f77a1be62733b8401", + "blob_sha": "21279d277b8c942498e60c2dc01efdab1be6c817", "commits": [], - "end_line": 41, + "end_line": 30, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/StreamReferenceFacade.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/datanodes/DatanodeUpgradeResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 41 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/contentpacks" - }, - { - "count": 8, - "dst": "M:graylog2-server/src/main/java/org/graylog2/inputs", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/contentpacks->M:graylog2-server/src/main/java/org/graylog2/inputs", - "kind": "uses", - "refs": [ + "start_line": 30 + }, { - "blob_sha": "3dfa10bc230b8683deea8b928d6f2921282af0a2", + "blob_sha": "683e2e2e16207ce13337e9ef1d7195ca413eaef4", "commits": [], - "end_line": 54, - "id": "E1", + "end_line": 43, + "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/InputFacade.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/messages/MessageResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 54 + "start_line": 43 }, { - "blob_sha": "3dfa10bc230b8683deea8b928d6f2921282af0a2", + "blob_sha": "ddd9a35ec8c71d2893db914d0a24e7ef88a8da76", "commits": [], - "end_line": 55, - "id": "E2", + "end_line": 40, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/InputFacade.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/search/AbsoluteSearchResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 55 + "start_line": 40 }, { - "blob_sha": "3dfa10bc230b8683deea8b928d6f2921282af0a2", + "blob_sha": "ddd9a35ec8c71d2893db914d0a24e7ef88a8da76", "commits": [], - "end_line": 56, - "id": "E3", + "end_line": 41, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/InputFacade.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/search/AbsoluteSearchResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 56 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/contentpacks" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/jackson", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/contentpacks->M:graylog2-server/src/main/java/org/graylog2/jackson", - "kind": "uses", - "refs": [ + "start_line": 41 + }, { - "blob_sha": "ae8069a5f45f9da33c3cce73530fdc43f1906992", + "blob_sha": "ddd9a35ec8c71d2893db914d0a24e7ef88a8da76", "commits": [], - "end_line": 39, - "id": "E1", + "end_line": 42, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/LookupCacheFacade.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/search/AbsoluteSearchResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 39 + "start_line": 42 }, { - "blob_sha": "4cf34d0a3171912e1f6def294bb5f307bc23e8c7", + "blob_sha": "592120347c578a637f5e49db08feb03207f9eea5", "commits": [], - "end_line": 39, - "id": "E2", + "end_line": 40, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/LookupDataAdapterFacade.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/search/KeywordSearchResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 39 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/contentpacks" - }, - { - "count": 11, - "dst": "M:graylog2-server/src/main/java/org/graylog2/lookup", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/contentpacks->M:graylog2-server/src/main/java/org/graylog2/lookup", - "kind": "uses", - "refs": [ + "start_line": 40 + }, { - "blob_sha": "3dfa10bc230b8683deea8b928d6f2921282af0a2", + "blob_sha": "592120347c578a637f5e49db08feb03207f9eea5", "commits": [], - "end_line": 61, - "id": "E1", + "end_line": 41, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/InputFacade.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/search/KeywordSearchResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 61 + "start_line": 41 }, { - "blob_sha": "ae8069a5f45f9da33c3cce73530fdc43f1906992", + "blob_sha": "592120347c578a637f5e49db08feb03207f9eea5", "commits": [], - "end_line": 40, - "id": "E2", + "end_line": 42, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/LookupCacheFacade.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/search/KeywordSearchResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 40 + "start_line": 42 }, { - "blob_sha": "ae8069a5f45f9da33c3cce73530fdc43f1906992", + "blob_sha": "47c32a7f221db4484b7b9062a7336352ee7da0a2", "commits": [], - "end_line": 41, - "id": "E3", + "end_line": 42, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/LookupCacheFacade.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/search/RelativeSearchResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 41 + "start_line": 42 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/contentpacks" + "src": "M:graylog2-server/src/main/java/org/graylog2/rest" }, { - "count": 68, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "count": 7, + "dst": "M:graylog2-server/src/main/java/org/graylog/scheduler", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/contentpacks->M:graylog2-server/src/main/java/org/graylog2/plugin", + "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog/scheduler", "kind": "uses", "refs": [ { - "blob_sha": "e858cb5bba3d6c131ee09f49d620055c13a56110", + "blob_sha": "069d0c769e369f24807ce60387533f4963655ee9", "commits": [], - "end_line": 46, + "end_line": 24, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackPersistenceService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/SystemJobSummary.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 46 + "start_line": 24 }, { - "blob_sha": "8a88952f10989ce4cb578fdb05561d312fa8ad9c", + "blob_sha": "8c0e272d750f4f89821acfe8ba306aeb49016351", "commits": [], - "end_line": 73, + "end_line": 26, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/cluster/ClusterSystemJobResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 73 + "start_line": 26 }, { - "blob_sha": "8a88952f10989ce4cb578fdb05561d312fa8ad9c", + "blob_sha": "3ce6c42079bd7dec5bddd458715fc067d690a40e", "commits": [], - "end_line": 74, + "end_line": 35, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/datanodes/RollingRestartResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 74 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/contentpacks" - }, - { - "count": 6, - "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/contentpacks->M:graylog2-server/src/main/java/org/graylog2/rest", - "kind": "uses", - "refs": [ + "start_line": 35 + }, { - "blob_sha": "c6f1a7f97124728603ee08a8821d1c2d05ab0239", + "blob_sha": "67a47d653607f226a3b5de7371571fe7ccf82996", "commits": [], - "end_line": 31, - "id": "E1", + "end_line": 39, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackInstallationPersistenceService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/IndexRangesResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 31 + "start_line": 39 }, { - "blob_sha": "798ea49999870e105f7081b5869192216753fe3d", + "blob_sha": "dc5003849c2aa8ecf41ea80490e8aa423896601e", "commits": [], "end_line": 45, - "id": "E2", + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/OutputFacade.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/indexer/OutdatedIndexResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 45 }, { - "blob_sha": "e20af60e497af3164dc4363aad2bfab764c79cf7", + "blob_sha": "b8fe5110ab6aede494aca0c388645c195e1afdfa", "commits": [], - "end_line": 54, - "id": "E3", + "end_line": 48, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/StreamFacade.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/jobs/SystemJobResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 54 + "start_line": 48 + }, + { + "blob_sha": "b8fe5110ab6aede494aca0c388645c195e1afdfa", + "commits": [], + "end_line": 49, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/jobs/SystemJobResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 49 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/contentpacks" + "src": "M:graylog2-server/src/main/java/org/graylog2/rest" }, { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/security", + "count": 30, + "dst": "M:graylog2-server/src/main/java/org/graylog/security", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/contentpacks->M:graylog2-server/src/main/java/org/graylog2/security", + "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog/security", "kind": "uses", "refs": [ { - "blob_sha": "0f412fd7411a5ae1d520583daaeedcd10133eb5e", + "blob_sha": "dbab7286cfb658896ca5d2e0de6fcbdadbc9e749", "commits": [], - "end_line": 33, + "end_line": 19, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/model/ContentPackV1.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/bulk/BulkExecutor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 33 + "start_line": 19 }, { - "blob_sha": "e7b00a836b624ff5fa91cc10a039284cbcca5654", + "blob_sha": "655213f01d4ab276bd7b796d341b3bc99ba4e7d6", "commits": [], - "end_line": 33, + "end_line": 20, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/model/LegacyContentPack.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/bulk/SequentialBulkExecutor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 33 + "start_line": 20 }, { - "blob_sha": "1f8dcfd73c01d0681c923d9aba0a0993a1d86b54", + "blob_sha": "f1603958bdfb969f4015cca1684c97e37109ad2d", "commits": [], - "end_line": 25, + "end_line": 19, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/model/entities/references/ValueReference.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/bulk/SingleEntityOperationExecutor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/contentpacks" - }, - { - "count": 26, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/contentpacks->M:graylog2-server/src/main/java/org/graylog2/shared", - "kind": "uses", - "refs": [ + "start_line": 19 + }, { - "blob_sha": "8a88952f10989ce4cb578fdb05561d312fa8ad9c", + "blob_sha": "4af0839b780aa36cba9c7832f2afd3b4f17cd451", "commits": [], - "end_line": 75, - "id": "E1", + "end_line": 27, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/users/responses/UserSummary.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 75 + "start_line": 27 }, { - "blob_sha": "9e41783af3042d7c89f208cc75a9dc14f5bbb2a8", + "blob_sha": "128102eaef103ae865c7e845ba0ca44236f0a32e", "commits": [], - "end_line": 29, - "id": "E2", + "end_line": 20, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/DashboardFacade.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/RestResourcesModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 + "start_line": 20 }, { - "blob_sha": "9e41783af3042d7c89f208cc75a9dc14f5bbb2a8", + "blob_sha": "128102eaef103ae865c7e845ba0ca44236f0a32e", "commits": [], - "end_line": 30, - "id": "E3", + "end_line": 21, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/DashboardFacade.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/RestResourcesModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/contentpacks" - }, - { - "count": 12, - "dst": "M:graylog2-server/src/main/java/org/graylog2/streams", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/contentpacks->M:graylog2-server/src/main/java/org/graylog2/streams", - "kind": "uses", - "refs": [ + "start_line": 21 + }, { - "blob_sha": "e169794cfed84519e7df7da698e2517b9b6fadb5", + "blob_sha": "128102eaef103ae865c7e845ba0ca44236f0a32e", "commits": [], - "end_line": 32, - "id": "E1", + "end_line": 22, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackEntityResolver.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/RestResourcesModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "128102eaef103ae865c7e845ba0ca44236f0a32e", + "commits": [], + "end_line": 23, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/RestResourcesModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 32 + "start_line": 23 }, { - "blob_sha": "e858cb5bba3d6c131ee09f49d620055c13a56110", + "blob_sha": "8c0e272d750f4f89821acfe8ba306aeb49016351", "commits": [], - "end_line": 47, - "id": "E2", + "end_line": 27, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackPersistenceService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/cluster/ClusterSystemJobResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 47 + "start_line": 27 }, { - "blob_sha": "8a88952f10989ce4cb578fdb05561d312fa8ad9c", + "blob_sha": "6eef67e413909a318a97616c262b127054cb0465", "commits": [], - "end_line": 76, - "id": "E3", + "end_line": 42, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/datanodes/DataNodeManagementResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 76 + "start_line": 42 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/contentpacks" + "src": "M:graylog2-server/src/main/java/org/graylog2/rest" }, { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/system", + "count": 8, + "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/contentpacks->M:graylog2-server/src/main/java/org/graylog2/system", + "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/(root)", "kind": "uses", "refs": [ { - "blob_sha": "b6003b3933ea19c8e69620b8273e4cd3176ac423", + "blob_sha": "128102eaef103ae865c7e845ba0ca44236f0a32e", "commits": [], - "end_line": 37, + "end_line": 24, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/UrlAllowlistFacade.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/RestResourcesModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 + "start_line": 24 }, { - "blob_sha": "b6003b3933ea19c8e69620b8273e4cd3176ac423", + "blob_sha": "dc365729a9cac49b1092916ebed7c64f79a374c3", "commits": [], - "end_line": 38, + "end_line": 25, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/UrlAllowlistFacade.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/ConfigurationResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 38 + "start_line": 25 }, { - "blob_sha": "72415cce628a1184f66de7b8881c1a654f31dc79", + "blob_sha": "45c313885901d92ce33b817de5a7fc434862f182", "commits": [], - "end_line": 22, + "end_line": 26, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/UrlWhitelistFacade.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/JournalResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/contentpacks" - }, - { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/utilities", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/contentpacks->M:graylog2-server/src/main/java/org/graylog2/utilities", - "kind": "uses", - "refs": [ + "start_line": 26 + }, { - "blob_sha": "e169794cfed84519e7df7da698e2517b9b6fadb5", + "blob_sha": "07281e56ead9782e7de7e15d1349f604f51dd723", "commits": [], - "end_line": 33, - "id": "E1", + "end_line": 45, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackEntityResolver.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/inputs/ExtractorsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 33 + "start_line": 45 }, { - "blob_sha": "8a88952f10989ce4cb578fdb05561d312fa8ad9c", + "blob_sha": "cea43c0365b45d35727da09f705e2ae08e5a65fc", "commits": [], - "end_line": 77, - "id": "E2", + "end_line": 57, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/ContentPackService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/inputs/InputsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 77 + "start_line": 57 }, { - "blob_sha": "78a919c6fc931a6415b26c7c1cb6683681fc8fd2", + "blob_sha": "b4fabd9044369ba49e83bced70692fef7776b21d", "commits": [], - "end_line": 29, - "id": "E3", + "end_line": 54, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentpacks/facades/RootEntityFacade.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/lookup/LookupTableResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 + "start_line": 54 + }, + { + "blob_sha": "61c5be8be62abd5f15a348a98b00bf2c198c669f", + "commits": [], + "end_line": 37, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/tools/JsonTesterResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 37 + }, + { + "blob_sha": "3faee6ffa2d33d949218671c151ba5c75fbaf9f6", + "commits": [], + "end_line": 38, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/tools/RegexReplaceTesterResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 38 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/contentpacks" + "src": "M:graylog2-server/src/main/java/org/graylog2/rest" }, { "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog/enterprise", + "dst": "M:graylog2-server/src/main/java/org/graylog2/alarmcallbacks", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/contentstream->M:graylog2-server/src/main/java/org/graylog/enterprise", + "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/alarmcallbacks", "kind": "uses", "refs": [ { - "blob_sha": "26d319adee46edeac415b2a29e6f5eb082f4d108", + "blob_sha": "77240fa1ffb7e065fa83fb703e4e2a4dd4d6c5e5", "commits": [], - "end_line": 19, + "end_line": 23, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentstream/ContentStreamFeedTagsService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/alarmcallbacks/requests/CreateAlarmCallbackRequest.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 23 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/contentstream" + "src": "M:graylog2-server/src/main/java/org/graylog2/rest" }, { - "count": 2, + "count": 158, "dst": "M:graylog2-server/src/main/java/org/graylog2/audit", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/contentstream->M:graylog2-server/src/main/java/org/graylog2/audit", + "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/audit", "kind": "uses", "refs": [ { - "blob_sha": "d841a822d8f640b494269adc721a7d5e9bb112bf", + "blob_sha": "dbab7286cfb658896ca5d2e0de6fcbdadbc9e749", "commits": [], - "end_line": 34, + "end_line": 20, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentstream/rest/ContentStreamResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/bulk/BulkExecutor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 34 + "start_line": 20 }, { - "blob_sha": "d841a822d8f640b494269adc721a7d5e9bb112bf", + "blob_sha": "655213f01d4ab276bd7b796d341b3bc99ba4e7d6", "commits": [], - "end_line": 35, + "end_line": 21, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentstream/rest/ContentStreamResource.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 35 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/contentstream" - }, - { - "count": 5, - "dst": "M:graylog2-server/src/main/java/org/graylog2/database", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/contentstream->M:graylog2-server/src/main/java/org/graylog2/database", - "kind": "uses", - "refs": [ - { - "blob_sha": "373830ce23a30f3ea3ac5c94cb36a2687aa8f88b", - "commits": [], - "end_line": 22, - "id": "E1", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentstream/db/ContentStreamUserSettings.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/bulk/SequentialBulkExecutor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 21 }, { - "blob_sha": "304decf0c45336841f28b751144665bfdd500959", + "blob_sha": "655213f01d4ab276bd7b796d341b3bc99ba4e7d6", "commits": [], "end_line": 22, - "id": "E2", + "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentstream/db/DBContentStreamUserSettingsService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/bulk/SequentialBulkExecutor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 22 }, { - "blob_sha": "304decf0c45336841f28b751144665bfdd500959", + "blob_sha": "655213f01d4ab276bd7b796d341b3bc99ba4e7d6", "commits": [], "end_line": 23, - "id": "E3", + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentstream/db/DBContentStreamUserSettingsService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/bulk/SequentialBulkExecutor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 23 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/contentstream" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/contentstream->M:graylog2-server/src/main/java/org/graylog2/plugin", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "d841a822d8f640b494269adc721a7d5e9bb112bf", + "blob_sha": "655213f01d4ab276bd7b796d341b3bc99ba4e7d6", "commits": [], - "end_line": 37, - "id": "E1", + "end_line": 24, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentstream/rest/ContentStreamResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/bulk/SequentialBulkExecutor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 + "start_line": 24 }, { - "blob_sha": "76a0ab5e69677648e92d5ffd6b4a876d7767ad46", + "blob_sha": "655213f01d4ab276bd7b796d341b3bc99ba4e7d6", "commits": [], - "end_line": 24, - "id": "E2", + "end_line": 25, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentstream/rest/ContentStreamService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/bulk/SequentialBulkExecutor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/contentstream" - }, - { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/contentstream->M:graylog2-server/src/main/java/org/graylog2/shared", - "kind": "uses", - "refs": [ + "start_line": 25 + }, { - "blob_sha": "d841a822d8f640b494269adc721a7d5e9bb112bf", + "blob_sha": "655213f01d4ab276bd7b796d341b3bc99ba4e7d6", "commits": [], - "end_line": 38, - "id": "E1", + "end_line": 26, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentstream/rest/ContentStreamResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/bulk/SequentialBulkExecutor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 38 + "start_line": 26 }, { - "blob_sha": "d841a822d8f640b494269adc721a7d5e9bb112bf", + "blob_sha": "457cbc5016003969ee2a440cb1db2c60feeb3518", "commits": [], - "end_line": 39, - "id": "E2", + "end_line": 33, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentstream/rest/ContentStreamResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/cluster/ClusterDeflectorResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 39 + "start_line": 33 }, { - "blob_sha": "d841a822d8f640b494269adc721a7d5e9bb112bf", + "blob_sha": "83cecf16777fa43bd903ae0fca9104e798d346d5", "commits": [], - "end_line": 44, - "id": "E3", + "end_line": 38, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentstream/rest/ContentStreamResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/cluster/ClusterInputStatesResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 44 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/contentstream" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/users", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/contentstream->M:graylog2-server/src/main/java/org/graylog2/users", - "kind": "uses", - "refs": [ + "start_line": 38 + }, { - "blob_sha": "76a0ab5e69677648e92d5ffd6b4a876d7767ad46", + "blob_sha": "83cecf16777fa43bd903ae0fca9104e798d346d5", "commits": [], - "end_line": 25, - "id": "E1", + "end_line": 39, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/contentstream/rest/ContentStreamService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/cluster/ClusterInputStatesResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 39 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/contentstream" + "src": "M:graylog2-server/src/main/java/org/graylog2/rest" }, { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog/grn", + "count": 67, + "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/database->M:graylog2-server/src/main/java/org/graylog/grn", + "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/cluster", "kind": "uses", "refs": [ { - "blob_sha": "f66958b2cca970d61b43de6630d4ca9a5fc046cf", + "blob_sha": "550bd79db02ea9bc1f491aad7485484181d3e971", "commits": [], - "end_line": 20, + "end_line": 25, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/database/pagination/EntityPaginationHelper.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/RemoteInterfaceProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 25 }, { - "blob_sha": "f66958b2cca970d61b43de6630d4ca9a5fc046cf", + "blob_sha": "457cbc5016003969ee2a440cb1db2c60feeb3518", "commits": [], - "end_line": 21, + "end_line": 34, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/database/pagination/EntityPaginationHelper.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/cluster/ClusterDeflectorResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/database" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/database->M:graylog2-server/src/main/java/org/graylog/plugins", - "kind": "uses", - "refs": [ + "start_line": 34 + }, { - "blob_sha": "f983b4f6ede709a10f205d8b6aa22a13076f31ac", + "blob_sha": "83cecf16777fa43bd903ae0fca9104e798d346d5", "commits": [], - "end_line": 29, - "id": "E1", + "end_line": 40, + "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/database/export/MongoCollectionExportService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/cluster/ClusterInputStatesResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/database" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog/security", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/database->M:graylog2-server/src/main/java/org/graylog/security", - "kind": "uses", - "refs": [ + "start_line": 40 + }, { - "blob_sha": "f66958b2cca970d61b43de6630d4ca9a5fc046cf", + "blob_sha": "02ec1f378cb7f9a1bafb01da629153a4cec46435", "commits": [], - "end_line": 22, - "id": "E1", + "end_line": 25, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/database/pagination/EntityPaginationHelper.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/cluster/ClusterJournalResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/database" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/bindings", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/database->M:graylog2-server/src/main/java/org/graylog2/bindings", - "kind": "uses", - "refs": [ + "start_line": 25 + }, { - "blob_sha": "f31d609597ffe4d33e10e715b1a75acc9a5530ef", + "blob_sha": "02ec1f378cb7f9a1bafb01da629153a4cec46435", "commits": [], "end_line": 26, - "id": "E1", + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/database/MongoCollections.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/cluster/ClusterJournalResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 26 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/database" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/bootstrap", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/database->M:graylog2-server/src/main/java/org/graylog2/bootstrap", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "df53c82e63d3365f6b515aa988c7d20d61439a42", + "blob_sha": "9fe3251bf8c3f33c79033c877dd597dcf76da0af", "commits": [], "end_line": 26, - "id": "E1", + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/database/MongoDBVersionCheck.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/cluster/ClusterLoadBalancerStatusResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 26 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/database" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/database->M:graylog2-server/src/main/java/org/graylog2/configuration", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "8f42ab1a4bef7878018f9882e23b1e1f39ecd5a9", + "blob_sha": "9fe3251bf8c3f33c79033c877dd597dcf76da0af", "commits": [], - "end_line": 26, - "id": "E1", + "end_line": 27, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/database/MongoConnectionImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/cluster/ClusterLoadBalancerStatusResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/database" - }, - { - "count": 34, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/database->M:graylog2-server/src/main/java/org/graylog2/plugin", - "kind": "uses", - "refs": [ + "start_line": 27 + }, { - "blob_sha": "f31d609597ffe4d33e10e715b1a75acc9a5530ef", + "blob_sha": "9fe3251bf8c3f33c79033c877dd597dcf76da0af", "commits": [], - "end_line": 25, - "id": "E1", + "end_line": 28, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/database/MongoCollections.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/cluster/ClusterLoadBalancerStatusResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 28 }, { - "blob_sha": "8433f3cd2a5eeba04c2690787ea1fe01f0aced64", + "blob_sha": "912bbb9935c884e4e5b54ec405aae15f5c8792d8", "commits": [], - "end_line": 29, - "id": "E2", + "end_line": 44, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/database/MongoSequenceService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/cluster/ClusterLoggersResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 + "start_line": 44 }, { - "blob_sha": "03fba8efd61d7c43b6e8a589f8dc866eb5120647", + "blob_sha": "912bbb9935c884e4e5b54ec405aae15f5c8792d8", "commits": [], - "end_line": 21, - "id": "E3", + "end_line": 45, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/database/PersistedImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/cluster/ClusterLoggersResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 45 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/database" + "src": "M:graylog2-server/src/main/java/org/graylog2/rest" }, { - "count": 7, - "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", + "count": 10, + "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/database->M:graylog2-server/src/main/java/org/graylog2/rest", + "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/configuration", "kind": "uses", "refs": [ { - "blob_sha": "8419b84ece331e665f32219ef7d3d88f2428113b", + "blob_sha": "22936b9af10b7fee3095761e6145fcdb8548fe1c", "commits": [], - "end_line": 26, + "end_line": 30, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/database/entities/source/DBEntitySourceService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/RestTools.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 30 }, { - "blob_sha": "41261fcd771f8fdeca4c797b5b830e083b268c81", + "blob_sha": "d8b19f4ef36b5067dc6f48e356c82928084f9d08", "commits": [], - "end_line": 23, + "end_line": 24, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/database/filtering/DbFilterExpressionParser.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/URIHelperFactory.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 24 }, { - "blob_sha": "46d6c71d2e4fb4230aa1908856a63d3b052f2863", + "blob_sha": "6eef67e413909a318a97616c262b127054cb0465", "commits": [], - "end_line": 23, + "end_line": 49, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/database/filtering/DbQueryCreator.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/database" - }, - { - "count": 8, - "dst": "M:graylog2-server/src/main/java/org/graylog2/search", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/database->M:graylog2-server/src/main/java/org/graylog2/search", - "kind": "uses", - "refs": [ - { - "blob_sha": "f1ce50b73a9df7bbc2209066fd43f5f81897249d", - "commits": [], - "end_line": 21, - "id": "E1", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/database/filtering/BsonFilterCreatorFilter.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/datanodes/DataNodeManagementResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 49 }, { - "blob_sha": "f1ce50b73a9df7bbc2209066fd43f5f81897249d", + "blob_sha": "dc365729a9cac49b1092916ebed7c64f79a374c3", "commits": [], - "end_line": 22, - "id": "E2", + "end_line": 26, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/database/filtering/BsonFilterCreatorFilter.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/ConfigurationResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 26 }, { - "blob_sha": "f1ce50b73a9df7bbc2209066fd43f5f81897249d", - "commits": [], - "end_line": 23, - "id": "E3", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/database/filtering/BsonFilterCreatorFilter.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/database" - }, - { - "count": 8, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/database->M:graylog2-server/src/main/java/org/graylog2/shared", - "kind": "uses", - "refs": [ - { - "blob_sha": "df53c82e63d3365f6b515aa988c7d20d61439a42", + "blob_sha": "dc365729a9cac49b1092916ebed7c64f79a374c3", "commits": [], "end_line": 27, - "id": "E1", + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/database/MongoDBVersionCheck.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/ConfigurationResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 27 }, { - "blob_sha": "30f870e903be80beb864a9a24813400ecd540891", + "blob_sha": "f7ca1b89b7dbd17d437ee9e560dbfa1dd89615d0", "commits": [], - "end_line": 27, - "id": "E2", + "end_line": 26, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/database/entities/EntityScopeResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/CookieFactory.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 26 }, { - "blob_sha": "30f870e903be80beb864a9a24813400ecd540891", + "blob_sha": "d1e97777ed09ccc973091a08c919c4989f67bca4", "commits": [], - "end_line": 28, - "id": "E3", + "end_line": 37, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/database/entities/EntityScopeResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/SearchVersionResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/database" - }, - { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/users", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/database->M:graylog2-server/src/main/java/org/graylog2/users", - "kind": "uses", - "refs": [ + "start_line": 37 + }, { - "blob_sha": "ea912acfec392531fc73e5f2efb9444af9003150", + "blob_sha": "e87255692d85edfd8073acaea88d295db424f32d", "commits": [], - "end_line": 50, - "id": "E1", + "end_line": 42, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/database/suggestions/MongoEntitySuggestionService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/debug/bundle/SupportBundleService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 50 + "start_line": 42 }, { - "blob_sha": "ea912acfec392531fc73e5f2efb9444af9003150", + "blob_sha": "02614a49271647d375000d1cd66183237206d4fc", "commits": [], - "end_line": 51, - "id": "E2", + "end_line": 40, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/database/suggestions/MongoEntitySuggestionService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/indices/RetentionStrategyResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 51 + "start_line": 40 }, { - "blob_sha": "ea912acfec392531fc73e5f2efb9444af9003150", + "blob_sha": "3b0387b7823ea89d15a5b2deb3db42aacd89b4dc", "commits": [], - "end_line": 52, - "id": "E3", + "end_line": 37, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/database/suggestions/MongoEntitySuggestionService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/indices/RotationStrategyResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 52 + "start_line": 37 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/database" + "src": "M:graylog2-server/src/main/java/org/graylog2/rest" }, { - "count": 11, - "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", + "count": 28, + "dst": "M:graylog2-server/src/main/java/org/graylog2/contentpacks", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/datanode->M:graylog2-server/src/main/java/org/graylog/plugins", + "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/contentpacks", "kind": "uses", "refs": [ { - "blob_sha": "a63cb9a2bcb498492c88ae99cfd3e81bc34725f3", + "blob_sha": "eaaa92b354593281b075d81b39f1f604f623f32a", "commits": [], - "end_line": 22, + "end_line": 23, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/datanode/DatanodeUpgradeService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/contentpacks/responses/CatalogIndexResponse.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 23 }, { - "blob_sha": "a63cb9a2bcb498492c88ae99cfd3e81bc34725f3", + "blob_sha": "627d07953319cf60a5f973f9d3e977dd9f84fbb0", "commits": [], - "end_line": 23, + "end_line": 24, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/datanode/DatanodeUpgradeService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/contentpacks/responses/CatalogResolveRequest.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 24 }, { - "blob_sha": "a63cb9a2bcb498492c88ae99cfd3e81bc34725f3", + "blob_sha": "033838b2ab59b6d86c7d239f7fb6e58404a43790", "commits": [], "end_line": 24, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/datanode/DatanodeUpgradeService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/contentpacks/responses/CatalogResolveResponse.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 24 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/datanode" - }, - { - "count": 15, - "dst": "M:graylog2-server/src/main/java/org/graylog/scheduler", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/datanode->M:graylog2-server/src/main/java/org/graylog/scheduler", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "a535a5f543d9c10620993e8c2b2913bab036ce16", + "blob_sha": "9aace5ed78af64b76eb37a0d6cdca8a9183d37fa", "commits": [], - "end_line": 28, - "id": "E1", + "end_line": 23, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartExecutionJob.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/contentpacks/responses/ContentPackInstallationRequest.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 + "start_line": 23 }, { - "blob_sha": "a535a5f543d9c10620993e8c2b2913bab036ce16", + "blob_sha": "dbf306937fbfd9b251c2200976724c125348c37a", "commits": [], - "end_line": 29, - "id": "E2", + "end_line": 23, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartExecutionJob.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/contentpacks/responses/ContentPackInstallationsResponse.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 + "start_line": 23 }, { - "blob_sha": "a535a5f543d9c10620993e8c2b2913bab036ce16", + "blob_sha": "ccd84056153908933450e76db2711b92a709262f", "commits": [], - "end_line": 30, - "id": "E3", + "end_line": 23, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartExecutionJob.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/contentpacks/responses/ContentPackList.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/datanode" - }, - { - "count": 14, - "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/datanode->M:graylog2-server/src/main/java/org/graylog2/cluster", - "kind": "uses", - "refs": [ + "start_line": 23 + }, { - "blob_sha": "6a1dbe60353991b46df9625c4269985d884ee5d2", + "blob_sha": "ccd84056153908933450e76db2711b92a709262f", "commits": [], - "end_line": 20, - "id": "E1", + "end_line": 24, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/datanode/DataNodeCommandService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/contentpacks/responses/ContentPackList.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 24 }, { - "blob_sha": "6a1dbe60353991b46df9625c4269985d884ee5d2", + "blob_sha": "e6141d1d5ee87c9f0e759b28125398ff59a7ca22", "commits": [], - "end_line": 21, - "id": "E2", + "end_line": 23, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/datanode/DataNodeCommandService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/contentpacks/responses/ContentPackResponse.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 23 }, { - "blob_sha": "ad78796a9b0ba2e80cbdb60de904288e9da68789", + "blob_sha": "e6141d1d5ee87c9f0e759b28125398ff59a7ca22", "commits": [], - "end_line": 22, - "id": "E3", + "end_line": 24, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/datanode/DataNodeCommandServiceImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/contentpacks/responses/ContentPackResponse.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 24 + }, + { + "blob_sha": "0863d566dcc2727dfae546f21e13db072e64c97c", + "commits": [], + "end_line": 23, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/contentpacks/responses/ContentPackRevisions.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/datanode" + "src": "M:graylog2-server/src/main/java/org/graylog2/rest" }, { "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/events", + "dst": "M:graylog2-server/src/main/java/org/graylog2/contentstream", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/datanode->M:graylog2-server/src/main/java/org/graylog2/events", + "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/contentstream", "kind": "uses", "refs": [ { - "blob_sha": "ad78796a9b0ba2e80cbdb60de904288e9da68789", + "blob_sha": "128102eaef103ae865c7e845ba0ca44236f0a32e", "commits": [], - "end_line": 26, + "end_line": 25, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/datanode/DataNodeCommandServiceImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/RestResourcesModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 25 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/datanode" + "src": "M:graylog2-server/src/main/java/org/graylog2/rest" }, { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", + "count": 52, + "dst": "M:graylog2-server/src/main/java/org/graylog2/database", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/datanode->M:graylog2-server/src/main/java/org/graylog2/indexer", + "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/database", "kind": "uses", "refs": [ { - "blob_sha": "a63cb9a2bcb498492c88ae99cfd3e81bc34725f3", + "blob_sha": "592191a53052a2b5a69be6722074f5ba755f0dc1", "commits": [], - "end_line": 29, + "end_line": 19, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/datanode/DatanodeUpgradeService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/NotFoundExceptionMapper.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 + "start_line": 19 }, { - "blob_sha": "14b40aea6c61404454ef5319f211473a6577825f", + "blob_sha": "d7b07f2068f458dc52ae6d23b078be984614df73", "commits": [], - "end_line": 27, + "end_line": 22, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartActions.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/PaginatedResponse.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 22 }, { - "blob_sha": "de92911a80705bfcfb930fce9e7b5343a7bf0ff2", + "blob_sha": "7e441f3f03ae43811830d50cdcee98be49b2b8aa", "commits": [], - "end_line": 35, + "end_line": 26, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartJobHandler.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/lookup/CacheApi.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 35 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/datanode" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/jackson", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/datanode->M:graylog2-server/src/main/java/org/graylog2/jackson", - "kind": "uses", - "refs": [ + "start_line": 26 + }, { - "blob_sha": "6e8d53c2506a89c92ac1aabb8449795c6eadfbf0", + "blob_sha": "063403be8eae86e7ad9904ec8a58802d694bfe52", "commits": [], "end_line": 23, - "id": "E1", + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartNodeEntry.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/lookup/DataAdapterApi.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 23 }, { - "blob_sha": "6e8d53c2506a89c92ac1aabb8449795c6eadfbf0", + "blob_sha": "a69675a1a11e639bec0c8b47810640d55312427d", "commits": [], - "end_line": 24, - "id": "E2", + "end_line": 23, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartNodeEntry.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/lookup/LookupTableApi.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/datanode" - }, - { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/notifications", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/datanode->M:graylog2-server/src/main/java/org/graylog2/notifications", - "kind": "uses", - "refs": [ + "start_line": 23 + }, { - "blob_sha": "6bcbc88ff5a24adefe5599e953f9651cc17be3ca", + "blob_sha": "4729c4e55e6d5656db7bdffa1cdd39534c61f01e", "commits": [], "end_line": 23, - "id": "E1", + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/datanode/DataNodeEventService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/responses/GrokPatternPageList.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 23 }, { - "blob_sha": "6bcbc88ff5a24adefe5599e953f9651cc17be3ca", + "blob_sha": "3659904ce19c4b573d564b84f4f0466b9fa85e64", "commits": [], - "end_line": 24, - "id": "E2", + "end_line": 23, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/datanode/DataNodeEventService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/tools/responses/PageListResponse.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 23 }, { - "blob_sha": "922a9c96ccefe59a91256a69b6ee3991684d7eee", + "blob_sha": "81864437a2142b9d961dc7f449f600041e72b4c0", "commits": [], - "end_line": 19, - "id": "E3", + "end_line": 36, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/datanode/DataNodeNotficationEvent.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/datanodes/DatanodeResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 36 + }, + { + "blob_sha": "fa45da57b5c68900cb21cc69b8629c1aca772b83", + "commits": [], + "end_line": 47, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/entities/preferences/EntityListPreferencesResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 47 + }, + { + "blob_sha": "56c5897e21d2cabfc6d3a68a3358f7b329e625e0", + "commits": [], + "end_line": 24, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/entities/preferences/service/EntityListPreferencesServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/datanode" + "src": "M:graylog2-server/src/main/java/org/graylog2/rest" }, { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "count": 6, + "dst": "M:graylog2-server/src/main/java/org/graylog2/datanode", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/datanode->M:graylog2-server/src/main/java/org/graylog2/plugin", + "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/datanode", "kind": "uses", "refs": [ { - "blob_sha": "a63cb9a2bcb498492c88ae99cfd3e81bc34725f3", + "blob_sha": "6eef67e413909a318a97616c262b127054cb0465", "commits": [], - "end_line": 30, + "end_line": 50, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/datanode/DatanodeUpgradeService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/datanodes/DataNodeManagementResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 + "start_line": 50 }, { - "blob_sha": "1c3e391e8b2c157f2a60c857874ec05be2a75d4c", + "blob_sha": "21279d277b8c942498e60c2dc01efdab1be6c817", "commits": [], - "end_line": 20, + "end_line": 36, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/datanode/DatanodeUpgradeStatus.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/datanodes/DatanodeUpgradeResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 36 }, { - "blob_sha": "294ce29f618a53e02866db0d4f7b7bd8ae9452c4", + "blob_sha": "21279d277b8c942498e60c2dc01efdab1be6c817", "commits": [], - "end_line": 20, + "end_line": 37, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/datanode/ServerVersionProvider.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/datanodes/DatanodeUpgradeResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/datanode" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/datanode->M:graylog2-server/src/main/java/org/graylog2/rest", - "kind": "uses", - "refs": [ + "start_line": 37 + }, { - "blob_sha": "14b40aea6c61404454ef5319f211473a6577825f", + "blob_sha": "21279d277b8c942498e60c2dc01efdab1be6c817", "commits": [], - "end_line": 28, - "id": "E1", + "end_line": 38, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartActions.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/datanodes/DatanodeUpgradeResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 + "start_line": 38 }, { - "blob_sha": "ee43983b548ff71137be4af46033665b634b87aa", + "blob_sha": "3ce6c42079bd7dec5bddd458715fc067d690a40e", "commits": [], - "end_line": 20, - "id": "E2", + "end_line": 37, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/datanodes/RollingRestartResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 37 + }, + { + "blob_sha": "3ce6c42079bd7dec5bddd458715fc067d690a40e", + "commits": [], + "end_line": 38, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/datanodes/RollingRestartResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 38 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/datanode" + "src": "M:graylog2-server/src/main/java/org/graylog2/rest" }, { "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/security", + "dst": "M:graylog2-server/src/main/java/org/graylog2/datatiering", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/datanode->M:graylog2-server/src/main/java/org/graylog2/security", + "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/datatiering", "kind": "uses", "refs": [ { - "blob_sha": "14b40aea6c61404454ef5319f211473a6577825f", + "blob_sha": "17290e20c637323a39e521045e68c0b199ffd5d7", "commits": [], - "end_line": 29, + "end_line": 48, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartActions.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/indexer/IndexSetTemplateResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 + "start_line": 48 }, { - "blob_sha": "14b40aea6c61404454ef5319f211473a6577825f", + "blob_sha": "4a3d1368f027a01d97c3302f13e1ffdef61b985c", "commits": [], - "end_line": 30, + "end_line": 58, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartActions.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/indexer/IndexSetsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 + "start_line": 58 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/datanode" + "src": "M:graylog2-server/src/main/java/org/graylog2/rest" }, { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/system", + "count": 7, + "dst": "M:graylog2-server/src/main/java/org/graylog2/decorators", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/datanode->M:graylog2-server/src/main/java/org/graylog2/system", + "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/decorators", "kind": "uses", "refs": [ { - "blob_sha": "14b40aea6c61404454ef5319f211473a6577825f", + "blob_sha": "ddd9a35ec8c71d2893db914d0a24e7ef88a8da76", "commits": [], - "end_line": 31, + "end_line": 43, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartActions.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/search/AbsoluteSearchResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 31 + "start_line": 43 }, { - "blob_sha": "14b40aea6c61404454ef5319f211473a6577825f", + "blob_sha": "62ffcd34110f32e14d9402debdb98b881806fb82", "commits": [], - "end_line": 32, + "end_line": 40, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartActions.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/search/DecoratorResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 32 + "start_line": 40 }, { - "blob_sha": "14b40aea6c61404454ef5319f211473a6577825f", + "blob_sha": "62ffcd34110f32e14d9402debdb98b881806fb82", "commits": [], - "end_line": 33, + "end_line": 41, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/datanode/restart/RollingRestartActions.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/search/DecoratorResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 33 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/datanode" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/datatiering->M:graylog2-server/src/main/java/org/graylog2/(root)", - "kind": "uses", - "refs": [ + "start_line": 41 + }, { - "blob_sha": "08ecca710e0d9c8aca544c3598d1421b8e1b6515", + "blob_sha": "62ffcd34110f32e14d9402debdb98b881806fb82", "commits": [], - "end_line": 21, - "id": "E1", + "end_line": 42, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/datatiering/DataTieringChecker.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/search/DecoratorResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/datatiering" - }, - { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/audit", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/datatiering->M:graylog2-server/src/main/java/org/graylog2/audit", - "kind": "uses", - "refs": [ + "start_line": 42 + }, { - "blob_sha": "dd4d340d737d36b16095a5d15d166b0d13705fe1", + "blob_sha": "592120347c578a637f5e49db08feb03207f9eea5", "commits": [], - "end_line": 22, - "id": "E1", + "end_line": 43, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/datatiering/retention/DataTierDeleteRetention.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/search/KeywordSearchResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 43 }, { - "blob_sha": "dd4d340d737d36b16095a5d15d166b0d13705fe1", + "blob_sha": "47c32a7f221db4484b7b9062a7336352ee7da0a2", "commits": [], - "end_line": 23, - "id": "E2", + "end_line": 45, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/datatiering/retention/DataTierDeleteRetention.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/search/RelativeSearchResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 45 }, { - "blob_sha": "dd4d340d737d36b16095a5d15d166b0d13705fe1", + "blob_sha": "3b5a816575c044abd852e1dce8445a70b8581d34", "commits": [], - "end_line": 35, - "id": "E3", + "end_line": 44, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/datatiering/retention/DataTierDeleteRetention.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/search/SearchResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 35 + "start_line": 44 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/datatiering" + "src": "M:graylog2-server/src/main/java/org/graylog2/rest" }, { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/events", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/datatiering->M:graylog2-server/src/main/java/org/graylog2/configuration", + "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/events", "kind": "uses", "refs": [ { - "blob_sha": "a0aefaf17a8e802fcacb5289e7cf7b21f3148eec", + "blob_sha": "eb8768b2e3ef22d74369e39f8491c067614665b8", "commits": [], - "end_line": 22, + "end_line": 30, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/datatiering/hotonly/HotOnlyDataTieringOrchestrator.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/debug/DebugEventsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 30 + }, + { + "blob_sha": "cea43c0365b45d35727da09f705e2ae08e5a65fc", + "commits": [], + "end_line": 64, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/inputs/InputsResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 64 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/datatiering" + "src": "M:graylog2-server/src/main/java/org/graylog2/rest" }, { "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/featureflag", + "dst": "M:graylog2-server/src/main/java/org/graylog2/gettingstarted", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/datatiering->M:graylog2-server/src/main/java/org/graylog2/featureflag", + "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/gettingstarted", "kind": "uses", "refs": [ { - "blob_sha": "08ecca710e0d9c8aca544c3598d1421b8e1b6515", + "blob_sha": "7859473a44ad22bd38e86a86621a6bb43cf5484c", "commits": [], - "end_line": 22, + "end_line": 31, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/datatiering/DataTieringChecker.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/GettingStartedResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 31 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/datatiering" + "src": "M:graylog2-server/src/main/java/org/graylog2/rest" }, { - "count": 20, - "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", + "count": 9, + "dst": "M:graylog2-server/src/main/java/org/graylog2/grok", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/datatiering->M:graylog2-server/src/main/java/org/graylog2/indexer", + "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/grok", "kind": "uses", "refs": [ { - "blob_sha": "4ed3626fd7374a0aa660ca8e30086f9f08bba7d2", + "blob_sha": "5e9fc5523c7467610807f960ac91a023b9c79e9c", + "commits": [], + "end_line": 23, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/grokpattern/requests/GrokPatternTestRequest.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "4df0a4b125b7b2a3dbb7bc315405c86290a1766f", "commits": [], - "end_line": 28, - "id": "E1", + "end_line": 23, + "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/datatiering/DataTieringConfig.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/responses/GrokPatternList.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 + "start_line": 23 }, { - "blob_sha": "4ed3626fd7374a0aa660ca8e30086f9f08bba7d2", + "blob_sha": "4729c4e55e6d5656db7bdffa1cdd39534c61f01e", "commits": [], - "end_line": 29, - "id": "E2", + "end_line": 24, + "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/datatiering/DataTieringConfig.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/responses/GrokPatternPageList.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 + "start_line": 24 }, { - "blob_sha": "6e23bf20c0e2c8add6a7f78c29acd6c46626610a", + "blob_sha": "2ec8eb3a4443e41952686a73a00a47886279a150", "commits": [], - "end_line": 20, - "id": "E3", + "end_line": 51, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/datatiering/DataTieringOrchestrator.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/GrokResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/datatiering" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/datatiering->M:graylog2-server/src/main/java/org/graylog2/plugin", - "kind": "uses", - "refs": [ + "start_line": 51 + }, { - "blob_sha": "08374ed0c7c940697cf84eeddbce4ef88d8e20e6", + "blob_sha": "2ec8eb3a4443e41952686a73a00a47886279a150", "commits": [], - "end_line": 24, - "id": "E1", + "end_line": 52, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/datatiering/DataTieringModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/GrokResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 52 }, { - "blob_sha": "dd4d340d737d36b16095a5d15d166b0d13705fe1", + "blob_sha": "2ec8eb3a4443e41952686a73a00a47886279a150", "commits": [], - "end_line": 28, - "id": "E2", + "end_line": 53, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/datatiering/retention/DataTierDeleteRetention.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/GrokResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/datatiering" - }, - { - "count": 5, - "dst": "M:graylog2-server/src/main/java/org/graylog/tracing", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/decorators->M:graylog2-server/src/main/java/org/graylog/tracing", - "kind": "uses", - "refs": [ + "start_line": 53 + }, { - "blob_sha": "a1909d2a0085b57855446af32fdd8f82ffaa763b", + "blob_sha": "2ec8eb3a4443e41952686a73a00a47886279a150", "commits": [], - "end_line": 45, - "id": "E1", + "end_line": 54, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/decorators/LookupTableDecorator.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/GrokResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 45 + "start_line": 54 }, { - "blob_sha": "a1909d2a0085b57855446af32fdd8f82ffaa763b", + "blob_sha": "15da2d4a664ee7cec7d9cba1f391d7bea9aee009", "commits": [], - "end_line": 46, - "id": "E2", + "end_line": 40, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/decorators/LookupTableDecorator.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/tools/GrokTesterResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 46 + "start_line": 40 }, { - "blob_sha": "a1909d2a0085b57855446af32fdd8f82ffaa763b", + "blob_sha": "15da2d4a664ee7cec7d9cba1f391d7bea9aee009", "commits": [], - "end_line": 47, - "id": "E3", + "end_line": 41, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/decorators/LookupTableDecorator.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/tools/GrokTesterResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 47 + "start_line": 41 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/decorators" + "src": "M:graylog2-server/src/main/java/org/graylog2/rest" }, { - "count": 9, - "dst": "M:graylog2-server/src/main/java/org/graylog2/database", + "count": 147, + "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/decorators->M:graylog2-server/src/main/java/org/graylog2/database", + "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/indexer", "kind": "uses", "refs": [ { - "blob_sha": "587f33b271496b5be0c61381becc7c2756f80ba1", + "blob_sha": "56574cafb7098e70b6c4133805c030eebd444006", "commits": [], - "end_line": 24, + "end_line": 19, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/decorators/DecoratorImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/ElasticsearchExceptionMapper.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 19 }, { - "blob_sha": "587f33b271496b5be0c61381becc7c2756f80ba1", + "blob_sha": "b98e5b221963de71e8b12e695febcb52b931880b", "commits": [], - "end_line": 25, + "end_line": 19, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/decorators/DecoratorImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/QueryParsingExceptionMapper.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 19 }, { - "blob_sha": "587f33b271496b5be0c61381becc7c2756f80ba1", + "blob_sha": "bba236c06523cb1e6a8d9d28d2c3f62af78db5f4", "commits": [], - "end_line": 33, + "end_line": 26, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/decorators/DecoratorImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/ScrollChunkWriter.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 33 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/decorators" - }, - { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/lookup", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/decorators->M:graylog2-server/src/main/java/org/graylog2/lookup", - "kind": "uses", - "refs": [ + "start_line": 26 + }, { - "blob_sha": "a1909d2a0085b57855446af32fdd8f82ffaa763b", + "blob_sha": "bba236c06523cb1e6a8d9d28d2c3f62af78db5f4", "commits": [], - "end_line": 24, - "id": "E1", + "end_line": 27, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/decorators/LookupTableDecorator.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/ScrollChunkWriter.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 27 }, { - "blob_sha": "a1909d2a0085b57855446af32fdd8f82ffaa763b", + "blob_sha": "7950f49214ef1f4f0b3944481eb3d94803fbce91", "commits": [], - "end_line": 25, - "id": "E2", + "end_line": 19, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/decorators/LookupTableDecorator.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/indices/DataTieringStatusService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 19 }, { - "blob_sha": "a1909d2a0085b57855446af32fdd8f82ffaa763b", + "blob_sha": "7950f49214ef1f4f0b3944481eb3d94803fbce91", "commits": [], - "end_line": 26, - "id": "E3", + "end_line": 20, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/decorators/LookupTableDecorator.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/indices/DataTieringStatusService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/decorators" - }, - { - "count": 30, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/decorators->M:graylog2-server/src/main/java/org/graylog2/plugin", - "kind": "uses", - "refs": [ + "start_line": 20 + }, { - "blob_sha": "d16f369f33cb5a597afd0603c50b07661458a24f", + "blob_sha": "df3984fce89a63eacdcb10a1cab4e56a0b706e0e", + "commits": [], + "end_line": 19, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/indices/DefaultDataTieringStatusService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "df3984fce89a63eacdcb10a1cab4e56a0b706e0e", "commits": [], "end_line": 20, - "id": "E1", + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/decorators/DecoratorBindings.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/indices/DefaultDataTieringStatusService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 20 }, { - "blob_sha": "d16f369f33cb5a597afd0603c50b07661458a24f", + "blob_sha": "2cc648af677441c76931ef32d2231f5131679891", "commits": [], - "end_line": 21, - "id": "E2", + "end_line": 26, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/decorators/DecoratorBindings.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/datanodes/DataNodeApiProxyResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 26 }, { - "blob_sha": "544d1ab5a46675eb33bc7f98eab63fca19d356b3", + "blob_sha": "0a8948367d0421734fb28ea871e8add7ce9dae36", "commits": [], "end_line": 20, - "id": "E3", + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/decorators/DecoratorProcessor.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/datanodes/DataNodeProxyAllowlist.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 20 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/decorators" + "src": "M:graylog2-server/src/main/java/org/graylog2/rest" }, { - "count": 13, - "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", + "count": 24, + "dst": "M:graylog2-server/src/main/java/org/graylog2/inputs", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/decorators->M:graylog2-server/src/main/java/org/graylog2/rest", + "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/inputs", "kind": "uses", "refs": [ { - "blob_sha": "544d1ab5a46675eb33bc7f98eab63fca19d356b3", + "blob_sha": "0317ce425de8df36449b8b4cd1a6df1b4e1708c9", "commits": [], - "end_line": 21, + "end_line": 23, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/decorators/DecoratorProcessor.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/inputs/requests/InputCreateRequest.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 23 }, { - "blob_sha": "670477f5b540c134d7a21e372e063135f06a6d6d", + "blob_sha": "683e2e2e16207ce13337e9ef1d7195ca413eaef4", "commits": [], - "end_line": 22, + "end_line": 51, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/decorators/DecoratorProcessorImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/messages/MessageResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 51 }, { - "blob_sha": "670477f5b540c134d7a21e372e063135f06a6d6d", + "blob_sha": "4e3e6cb86cddcd53626de80b05e85e0ec274641b", "commits": [], - "end_line": 23, + "end_line": 20, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/decorators/DecoratorProcessorImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/inputs/AbstractInputsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/decorators" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/decorators->M:graylog2-server/src/main/java/org/graylog2/shared", - "kind": "uses", - "refs": [ + "start_line": 20 + }, { - "blob_sha": "587f33b271496b5be0c61381becc7c2756f80ba1", + "blob_sha": "07281e56ead9782e7de7e15d1349f604f51dd723", "commits": [], - "end_line": 38, - "id": "E1", + "end_line": 49, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/decorators/DecoratorImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/inputs/ExtractorsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 38 + "start_line": 49 }, { - "blob_sha": "587f33b271496b5be0c61381becc7c2756f80ba1", + "blob_sha": "07281e56ead9782e7de7e15d1349f604f51dd723", "commits": [], - "end_line": 39, - "id": "E2", + "end_line": 50, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/decorators/DecoratorImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/inputs/ExtractorsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 39 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/decorators" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/bindings", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/events->M:graylog2-server/src/main/java/org/graylog2/bindings", - "kind": "uses", - "refs": [ + "start_line": 50 + }, { - "blob_sha": "7807452d5607dec5399f73c0d8195b7ee3bfa3b4", + "blob_sha": "07281e56ead9782e7de7e15d1349f604f51dd723", "commits": [], - "end_line": 40, - "id": "E1", + "end_line": 51, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/events/ClusterEventService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/inputs/ExtractorsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 40 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/events" - }, - { - "count": 5, - "dst": "M:graylog2-server/src/main/java/org/graylog2/database", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/events->M:graylog2-server/src/main/java/org/graylog2/database", - "kind": "uses", - "refs": [ + "start_line": 51 + }, { - "blob_sha": "19355c83f11f1d10b3a4c97d66c2b9a7f8c932fc", + "blob_sha": "07281e56ead9782e7de7e15d1349f604f51dd723", "commits": [], - "end_line": 27, - "id": "E1", + "end_line": 52, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/events/ClusterEvent.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/inputs/ExtractorsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 52 }, { - "blob_sha": "7807452d5607dec5399f73c0d8195b7ee3bfa3b4", + "blob_sha": "07281e56ead9782e7de7e15d1349f604f51dd723", "commits": [], - "end_line": 41, - "id": "E2", + "end_line": 53, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/events/ClusterEventService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/inputs/ExtractorsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 41 + "start_line": 53 }, { - "blob_sha": "7807452d5607dec5399f73c0d8195b7ee3bfa3b4", + "blob_sha": "b1523dfd84419de104163e808f95c7127377af5f", "commits": [], - "end_line": 42, - "id": "E3", + "end_line": 40, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/events/ClusterEventService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/inputs/InputStatesResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 42 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/events" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/events->M:graylog2-server/src/main/java/org/graylog2/plugin", - "kind": "uses", - "refs": [ + "start_line": 40 + }, { - "blob_sha": "7807452d5607dec5399f73c0d8195b7ee3bfa3b4", + "blob_sha": "b1523dfd84419de104163e808f95c7127377af5f", "commits": [], - "end_line": 44, - "id": "E1", + "end_line": 41, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/events/ClusterEventService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/inputs/InputStatesResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 44 + "start_line": 41 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/events" + "src": "M:graylog2-server/src/main/java/org/graylog2/rest" }, { "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/security", + "dst": "M:graylog2-server/src/main/java/org/graylog2/log4j", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/events->M:graylog2-server/src/main/java/org/graylog2/security", + "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/log4j", "kind": "uses", "refs": [ { - "blob_sha": "7807452d5607dec5399f73c0d8195b7ee3bfa3b4", + "blob_sha": "e87255692d85edfd8073acaea88d295db424f32d", "commits": [], - "end_line": 45, + "end_line": 44, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/events/ClusterEventService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/debug/bundle/SupportBundleService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 45 + "start_line": 44 }, { - "blob_sha": "7807452d5607dec5399f73c0d8195b7ee3bfa3b4", + "blob_sha": "bca6031275c2c43e2b5d5463ed459c37e6917f63", "commits": [], - "end_line": 46, + "end_line": 41, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/events/ClusterEventService.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 46 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/events" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/events->M:graylog2-server/src/main/java/org/graylog2/shared", - "kind": "uses", - "refs": [ - { - "blob_sha": "7807452d5607dec5399f73c0d8195b7ee3bfa3b4", - "commits": [], - "end_line": 47, - "id": "E1", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/events/ClusterEventService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/logs/LoggersResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 47 + "start_line": 41 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/events" + "src": "M:graylog2-server/src/main/java/org/graylog2/rest" }, { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", + "count": 21, + "dst": "M:graylog2-server/src/main/java/org/graylog2/lookup", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/featureflag->M:graylog2-server/src/main/java/org/graylog2/(root)", + "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/lookup", "kind": "uses", "refs": [ { - "blob_sha": "a8efd0f3255a7a5185a74dd1a6f52c939367f01c", + "blob_sha": "7e441f3f03ae43811830d50cdcee98be49b2b8aa", "commits": [], - "end_line": 20, + "end_line": 27, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/featureflag/FeatureFlagsFactory.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/lookup/CacheApi.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 27 }, { - "blob_sha": "a21d4637e6ff66622bcf196d561c71a22c938e5d", + "blob_sha": "063403be8eae86e7ad9904ec8a58802d694bfe52", "commits": [], - "end_line": 21, + "end_line": 24, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/featureflag/ImmutableFeatureFlagsCollector.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/lookup/DataAdapterApi.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/featureflag" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/featureflag->M:graylog2-server/src/main/java/org/graylog2/shared", - "kind": "uses", - "refs": [ + "start_line": 24 + }, { - "blob_sha": "b802ea51cfc77addd59a7ce6422731618c8fcfc8", + "blob_sha": "063403be8eae86e7ad9904ec8a58802d694bfe52", "commits": [], - "end_line": 22, - "id": "E1", + "end_line": 34, + "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/featureflag/ImmutableFeatureFlags.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/lookup/DataAdapterApi.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/featureflag" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog/failure", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/filters->M:graylog2-server/src/main/java/org/graylog/failure", - "kind": "uses", - "refs": [ + "start_line": 34 + }, { - "blob_sha": "bb78ba21c21bdd556c9d89c9c4e2b727536a1024", + "blob_sha": "063403be8eae86e7ad9904ec8a58802d694bfe52", "commits": [], - "end_line": 22, - "id": "E1", + "end_line": 35, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/filters/ExtractorFilter.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/lookup/DataAdapterApi.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/filters" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/database", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/filters->M:graylog2-server/src/main/java/org/graylog2/database", - "kind": "uses", - "refs": [ + "start_line": 35 + }, { - "blob_sha": "bb78ba21c21bdd556c9d89c9c4e2b727536a1024", + "blob_sha": "063403be8eae86e7ad9904ec8a58802d694bfe52", "commits": [], - "end_line": 23, - "id": "E1", + "end_line": 36, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/filters/ExtractorFilter.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/lookup/DataAdapterApi.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/filters" - }, - { - "count": 6, - "dst": "M:graylog2-server/src/main/java/org/graylog2/inputs", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/filters->M:graylog2-server/src/main/java/org/graylog2/inputs", - "kind": "uses", - "refs": [ + "start_line": 36 + }, { - "blob_sha": "bb78ba21c21bdd556c9d89c9c4e2b727536a1024", + "blob_sha": "a69675a1a11e639bec0c8b47810640d55312427d", "commits": [], "end_line": 24, - "id": "E1", + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/filters/ExtractorFilter.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/lookup/LookupTableApi.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 24 }, { - "blob_sha": "bb78ba21c21bdd556c9d89c9c4e2b727536a1024", + "blob_sha": "a69675a1a11e639bec0c8b47810640d55312427d", "commits": [], "end_line": 25, - "id": "E2", + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/filters/ExtractorFilter.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/lookup/LookupTableApi.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 25 }, { - "blob_sha": "bb78ba21c21bdd556c9d89c9c4e2b727536a1024", + "blob_sha": "07281e56ead9782e7de7e15d1349f604f51dd723", "commits": [], - "end_line": 26, - "id": "E3", + "end_line": 54, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/filters/ExtractorFilter.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/inputs/ExtractorsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/filters" - }, - { - "count": 7, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/filters->M:graylog2-server/src/main/java/org/graylog2/plugin", - "kind": "uses", - "refs": [ + "start_line": 54 + }, { - "blob_sha": "bb78ba21c21bdd556c9d89c9c4e2b727536a1024", + "blob_sha": "b4fabd9044369ba49e83bced70692fef7776b21d", "commits": [], - "end_line": 29, - "id": "E1", + "end_line": 60, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/filters/ExtractorFilter.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/lookup/LookupTableResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 + "start_line": 60 }, { - "blob_sha": "bb78ba21c21bdd556c9d89c9c4e2b727536a1024", + "blob_sha": "b4fabd9044369ba49e83bced70692fef7776b21d", "commits": [], - "end_line": 30, - "id": "E2", + "end_line": 61, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/lookup/LookupTableResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 61 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/rest" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/messageprocessors", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/messageprocessors", + "kind": "uses", + "refs": [ + { + "blob_sha": "a7e27a2ee26a22e3f421ec2fe4e905afc084293e", + "commits": [], + "end_line": 32, + "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/filters/ExtractorFilter.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/MessageProcessorsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 + "start_line": 32 }, { - "blob_sha": "bb78ba21c21bdd556c9d89c9c4e2b727536a1024", + "blob_sha": "a7e27a2ee26a22e3f421ec2fe4e905afc084293e", "commits": [], - "end_line": 31, - "id": "E3", + "end_line": 33, + "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/filters/ExtractorFilter.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/MessageProcessorsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 31 + "start_line": 33 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/filters" + "src": "M:graylog2-server/src/main/java/org/graylog2/rest" }, { - "count": 6, - "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", + "count": 9, + "dst": "M:graylog2-server/src/main/java/org/graylog2/metrics", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/filters->M:graylog2-server/src/main/java/org/graylog2/rest", + "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/metrics", "kind": "uses", "refs": [ { - "blob_sha": "bb78ba21c21bdd556c9d89c9c4e2b727536a1024", + "blob_sha": "5d107e254b5b48dc2290c28a38889c5eeaa13502", "commits": [], - "end_line": 33, + "end_line": 45, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/filters/ExtractorFilter.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/streams/StreamMetricsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 33 + "start_line": 45 }, { - "blob_sha": "bb78ba21c21bdd556c9d89c9c4e2b727536a1024", + "blob_sha": "5d107e254b5b48dc2290c28a38889c5eeaa13502", "commits": [], "end_line": 34, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/filters/ExtractorFilter.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/streams/StreamMetricsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 34 }, { - "blob_sha": "bb78ba21c21bdd556c9d89c9c4e2b727536a1024", + "blob_sha": "5d107e254b5b48dc2290c28a38889c5eeaa13502", "commits": [], "end_line": 35, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/filters/ExtractorFilter.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/streams/StreamMetricsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 35 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/filters" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/filters->M:graylog2-server/src/main/java/org/graylog2/shared", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "bb78ba21c21bdd556c9d89c9c4e2b727536a1024", + "blob_sha": "bcf3dfae17a754d5a4c552a85720f87b6eeda2b4", "commits": [], - "end_line": 36, - "id": "E1", + "end_line": 40, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/filters/ExtractorFilter.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/indexer/IndexSetMetricsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 36 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/filters" - }, - { - "count": 12, - "dst": "M:graylog2-server/src/main/java/org/graylog2/database", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/grok->M:graylog2-server/src/main/java/org/graylog2/database", - "kind": "uses", - "refs": [ + "start_line": 40 + }, { - "blob_sha": "b9f752963b03ee5ef8b16761ff698d2be692e032", + "blob_sha": "bcf3dfae17a754d5a4c552a85720f87b6eeda2b4", "commits": [], - "end_line": 23, - "id": "E1", + "end_line": 32, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/grok/GrokPattern.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/indexer/IndexSetMetricsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 32 }, { - "blob_sha": "b9f752963b03ee5ef8b16761ff698d2be692e032", + "blob_sha": "bcf3dfae17a754d5a4c552a85720f87b6eeda2b4", "commits": [], - "end_line": 24, - "id": "E2", + "end_line": 33, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/grok/GrokPattern.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/indexer/IndexSetMetricsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 33 }, { - "blob_sha": "8caf01978092df7156e819619a97c920a0c45d4b", + "blob_sha": "a6ea51f71fe4b76d1391d1eafc24c9be6bc29a5e", "commits": [], - "end_line": 21, - "id": "E3", + "end_line": 40, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/grok/GrokPatternService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/inputs/InputMetricsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/grok" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/events", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/grok->M:graylog2-server/src/main/java/org/graylog2/events", - "kind": "uses", - "refs": [ + "start_line": 40 + }, { - "blob_sha": "5d131694165ea97d147470075a779bda27ae127b", + "blob_sha": "a6ea51f71fe4b76d1391d1eafc24c9be6bc29a5e", "commits": [], - "end_line": 23, - "id": "E1", + "end_line": 32, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/grok/InMemoryGrokPatternService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/inputs/InputMetricsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 32 }, { - "blob_sha": "a88606593ed1d67bad38c15a11eaeabcaa776e6f", + "blob_sha": "a6ea51f71fe4b76d1391d1eafc24c9be6bc29a5e", "commits": [], - "end_line": 35, - "id": "E2", + "end_line": 33, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/grok/MongoDbGrokPatternService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/inputs/InputMetricsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 35 + "start_line": 33 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/grok" + "src": "M:graylog2-server/src/main/java/org/graylog2/rest" }, { "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "dst": "M:graylog2-server/src/main/java/org/graylog2/notifications", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/grok->M:graylog2-server/src/main/java/org/graylog2/plugin", + "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/notifications", "kind": "uses", "refs": [ { - "blob_sha": "8caf01978092df7156e819619a97c920a0c45d4b", + "blob_sha": "f10f365d72fef899e826434504df57e51370106a", "commits": [], - "end_line": 22, + "end_line": 52, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/grok/GrokPatternService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/NotificationsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 52 }, { - "blob_sha": "8b0553a2c5eee02895bc93fa17b88cdd6a8d821e", + "blob_sha": "f10f365d72fef899e826434504df57e51370106a", "commits": [], - "end_line": 23, + "end_line": 53, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/grok/GrokPatternServiceImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/NotificationsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 53 }, { - "blob_sha": "5d131694165ea97d147470075a779bda27ae127b", + "blob_sha": "f10f365d72fef899e826434504df57e51370106a", "commits": [], - "end_line": 24, + "end_line": 54, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/grok/InMemoryGrokPatternService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/NotificationsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/grok" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/grok->M:graylog2-server/src/main/java/org/graylog2/rest", - "kind": "uses", - "refs": [ + "start_line": 54 + }, { - "blob_sha": "ffa7f432c306d16618e43780279585badc31b73c", + "blob_sha": "f10f365d72fef899e826434504df57e51370106a", "commits": [], - "end_line": 24, - "id": "E1", + "end_line": 55, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/grok/PaginatedGrokPatternService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/NotificationsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 55 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/grok" + "src": "M:graylog2-server/src/main/java/org/graylog2/rest" }, { "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/search", + "dst": "M:graylog2-server/src/main/java/org/graylog2/outputs", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/grok->M:graylog2-server/src/main/java/org/graylog2/search", + "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/outputs", "kind": "uses", "refs": [ { - "blob_sha": "ffa7f432c306d16618e43780279585badc31b73c", + "blob_sha": "6e7ed5ca4997f74775a5109d8176fffec9d1df79", "commits": [], - "end_line": 25, + "end_line": 46, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/grok/PaginatedGrokPatternService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/outputs/OutputResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 46 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/grok" + "src": "M:graylog2-server/src/main/java/org/graylog2/rest" }, { "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog/collectors", + "dst": "M:graylog2-server/src/main/java/org/graylog2/periodical", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog/collectors", + "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/periodical", "kind": "uses", "refs": [ { - "blob_sha": "c0de26a29f0cb5316339126cc2378cbce420ee63", + "blob_sha": "67a47d653607f226a3b5de7371571fe7ccf82996", "commits": [], - "end_line": 29, + "end_line": 49, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/IndexSetConfig.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/IndexRangesResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 + "start_line": 49 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" + "src": "M:graylog2-server/src/main/java/org/graylog2/rest" }, { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog/events", + "count": 153, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog/events", + "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/plugin", "kind": "uses", "refs": [ { - "blob_sha": "458c4dd1b3f1a5d660ebcb57ef7756e6afc4e7ad", + "blob_sha": "cfc7d3b9350d9471beb60cdca9a8c52bcdebff4e", "commits": [], - "end_line": 22, + "end_line": 23, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/fieldtypes/FieldTypeMapper.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/GenericErrorCsvWriter.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 23 }, { - "blob_sha": "6506440969930b01fe868d9db6c7689c9abf6e34", + "blob_sha": "cfc7d3b9350d9471beb60cdca9a8c52bcdebff4e", "commits": [], - "end_line": 20, + "end_line": 24, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/template/EventsIndexMapping.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/GenericErrorCsvWriter.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog/failure", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog/failure", - "kind": "uses", - "refs": [ + "start_line": 24 + }, { - "blob_sha": "75837dd5c19cf2af24f8d377ce9694878d6ba268", + "blob_sha": "cfc7d3b9350d9471beb60cdca9a8c52bcdebff4e", "commits": [], - "end_line": 28, - "id": "E1", + "end_line": 25, + "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/messages/Messages.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/GenericErrorCsvWriter.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" - }, - { - "count": 8, - "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog/plugins", - "kind": "uses", - "refs": [ + "start_line": 25 + }, { - "blob_sha": "458c4dd1b3f1a5d660ebcb57ef7756e6afc4e7ad", + "blob_sha": "592191a53052a2b5a69be6722074f5ba755f0dc1", "commits": [], - "end_line": 23, - "id": "E1", + "end_line": 20, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/fieldtypes/FieldTypeMapper.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/NotFoundExceptionMapper.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 20 }, { - "blob_sha": "8917961c1759aa0abb801e8dd510440fe4c1f63a", + "blob_sha": "bba236c06523cb1e6a8d9d28d2c3f62af78db5f4", + "commits": [], + "end_line": 28, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/rest/ScrollChunkWriter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "3aee5e0b9f1278c7f582a143b7faad6fcf57785a", "commits": [], "end_line": 19, - "id": "E2", + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/fieldtypes/MappedFieldTypesService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/ValidationExceptionMapper.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 19 }, { - "blob_sha": "0b0df4c8f6e04e882fd4928fdb8ff10b9f606e9f", + "blob_sha": "3aee5e0b9f1278c7f582a143b7faad6fcf57785a", "commits": [], - "end_line": 22, - "id": "E3", + "end_line": 20, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/fieldtypes/MappedFieldTypesServiceImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/ValidationExceptionMapper.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" - }, - { - "count": 33, - "dst": "M:graylog2-server/src/main/java/org/graylog/scheduler", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog/scheduler", - "kind": "uses", - "refs": [ + "start_line": 20 + }, { - "blob_sha": "7ceea5580cd9bb2b222322a3a4b1b305325a91e4", + "blob_sha": "dbab7286cfb658896ca5d2e0de6fcbdadbc9e749", "commits": [], - "end_line": 25, - "id": "E1", + "end_line": 21, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/MongoIndexSet.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/bulk/BulkExecutor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 21 }, { - "blob_sha": "89cdadf806c5117dfa9c5024268ca53e3baee964", + "blob_sha": "dedc704e3606eceb1cacb12443ef6e6d5db5cba5", "commits": [], - "end_line": 25, - "id": "E2", + "end_line": 23, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/indices/ReindexOutdatedIndexJob.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/codecs/responses/CodecTypeInfo.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 23 }, { - "blob_sha": "89cdadf806c5117dfa9c5024268ca53e3baee964", + "blob_sha": "23f858be3411ad3f0f3311c53093224b095ce8ac", "commits": [], - "end_line": 26, - "id": "E3", + "end_line": 24, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/indices/ReindexOutdatedIndexJob.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/indices/RetentionStrategyDescription.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 24 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" + "src": "M:graylog2-server/src/main/java/org/graylog2/rest" }, { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog/schema", + "count": 37, + "dst": "M:graylog2-server/src/main/java/org/graylog2/search", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog/schema", + "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/search", "kind": "uses", "refs": [ { - "blob_sha": "6506440969930b01fe868d9db6c7689c9abf6e34", + "blob_sha": "81864437a2142b9d961dc7f449f600041e72b4c0", "commits": [], - "end_line": 26, + "end_line": 43, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/template/EventsIndexMapping.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/datanodes/DatanodeResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog2/(root)", - "kind": "uses", - "refs": [ + "start_line": 43 + }, { - "blob_sha": "0b0df4c8f6e04e882fd4928fdb8ff10b9f606e9f", + "blob_sha": "81864437a2142b9d961dc7f449f600041e72b4c0", "commits": [], - "end_line": 26, - "id": "E1", + "end_line": 44, + "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/fieldtypes/MappedFieldTypesServiceImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/datanodes/DatanodeResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 44 }, { - "blob_sha": "59358d8c84b4809516dc4bdd63b8d173adfca936", + "blob_sha": "81864437a2142b9d961dc7f449f600041e72b4c0", + "commits": [], + "end_line": 45, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/datanodes/DatanodeResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 45 + }, + { + "blob_sha": "ee579684ca0a63ebb2eb09a14f5ba2d0d843eaee", "commits": [], "end_line": 23, - "id": "E2", + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/template/IndexSetTemplateProvider.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/entities/EntityAttribute.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 23 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" - }, - { - "count": 22, - "dst": "M:graylog2-server/src/main/java/org/graylog2/audit", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog2/audit", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "7ceea5580cd9bb2b222322a3a4b1b305325a91e4", + "blob_sha": "7d60ddbc6541b922dd6f29d76323011497a8f91b", "commits": [], - "end_line": 26, - "id": "E1", + "end_line": 54, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/MongoIndexSet.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/mongodb/MongodbClusterResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 54 }, { - "blob_sha": "7ceea5580cd9bb2b222322a3a4b1b305325a91e4", + "blob_sha": "7d60ddbc6541b922dd6f29d76323011497a8f91b", "commits": [], - "end_line": 27, - "id": "E2", + "end_line": 55, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/MongoIndexSet.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/mongodb/MongodbClusterResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 55 }, { - "blob_sha": "7ceea5580cd9bb2b222322a3a4b1b305325a91e4", + "blob_sha": "7d60ddbc6541b922dd6f29d76323011497a8f91b", "commits": [], - "end_line": 60, - "id": "E3", + "end_line": 56, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/MongoIndexSet.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/mongodb/MongodbClusterResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 60 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" - }, - { - "count": 6, - "dst": "M:graylog2-server/src/main/java/org/graylog2/buffers", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog2/buffers", - "kind": "uses", - "refs": [ + "start_line": 56 + }, { - "blob_sha": "2d38e2b299320ee7df4016ccf064d6c99dbade9d", + "blob_sha": "9a6650731e8180415798d90c65532073cc41e2ac", "commits": [], - "end_line": 20, - "id": "E1", + "end_line": 42, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/healing/FixDeflectorByDeleteJob.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/opensearch/OpensearchClusterResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 42 }, { - "blob_sha": "2d38e2b299320ee7df4016ccf064d6c99dbade9d", + "blob_sha": "9a6650731e8180415798d90c65532073cc41e2ac", "commits": [], - "end_line": 35, - "id": "E2", + "end_line": 43, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/healing/FixDeflectorByDeleteJob.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/opensearch/OpensearchClusterResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 35 + "start_line": 43 }, { - "blob_sha": "2d38e2b299320ee7df4016ccf064d6c99dbade9d", + "blob_sha": "9a6650731e8180415798d90c65532073cc41e2ac", "commits": [], - "end_line": 36, - "id": "E3", + "end_line": 44, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/healing/FixDeflectorByDeleteJob.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/opensearch/OpensearchClusterResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 36 + "start_line": 44 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" + "src": "M:graylog2-server/src/main/java/org/graylog2/rest" }, { - "count": 16, - "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", + "count": 15, + "dst": "M:graylog2-server/src/main/java/org/graylog2/security", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog2/cluster", + "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/security", "kind": "uses", "refs": [ { - "blob_sha": "89cdadf806c5117dfa9c5024268ca53e3baee964", + "blob_sha": "550bd79db02ea9bc1f491aad7485484181d3e971", "commits": [], - "end_line": 31, + "end_line": 26, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/indices/ReindexOutdatedIndexJob.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/RemoteInterfaceProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 31 + "start_line": 26 }, { - "blob_sha": "89cdadf806c5117dfa9c5024268ca53e3baee964", + "blob_sha": "d5a4f74c2e9a270700ee1d935a6b816b07cc5739", "commits": [], - "end_line": 38, + "end_line": 22, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/indices/ReindexOutdatedIndexJob.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/sessions/responses/SessionResponseFactory.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 38 + "start_line": 22 }, { - "blob_sha": "89cdadf806c5117dfa9c5024268ca53e3baee964", + "blob_sha": "1513ae0f2d80779fb900cea86c5360980b2ca16c", "commits": [], - "end_line": 32, + "end_line": 42, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/indices/ReindexOutdatedIndexJob.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/datanodes/DatanodeRestApiProxy.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 32 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" - }, - { - "count": 14, - "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog2/configuration", - "kind": "uses", - "refs": [ + "start_line": 42 + }, { - "blob_sha": "e9b27b205ec771207c4335056e3b4c612e69255a", + "blob_sha": "1513ae0f2d80779fb900cea86c5360980b2ca16c", "commits": [], - "end_line": 25, - "id": "E1", + "end_line": 43, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/template/IndexSetDefaultTemplateService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/datanodes/DatanodeRestApiProxy.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 43 }, { - "blob_sha": "b4566f8a3f2cfb065a16f44700b9c24692151db2", + "blob_sha": "f11f0b6e3c60d7c26878d49e60d312b7971a22ca", "commits": [], - "end_line": 22, - "id": "E2", + "end_line": 51, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/ClusterConfigResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 51 + }, + { + "blob_sha": "f11f0b6e3c60d7c26878d49e60d312b7971a22ca", + "commits": [], + "end_line": 52, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/validation/IndexSetValidator.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/ClusterConfigResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 52 }, { - "blob_sha": "8f3d61c6545f7b9c41dd7bcab7ab750a0ce98850", + "blob_sha": "f11f0b6e3c60d7c26878d49e60d312b7971a22ca", "commits": [], - "end_line": 19, - "id": "E3", + "end_line": 53, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/retention/RetentionStrategyBindings.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/ClusterConfigResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" - }, - { - "count": 54, - "dst": "M:graylog2-server/src/main/java/org/graylog2/database", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog2/database", - "kind": "uses", - "refs": [ + "start_line": 53 + }, { - "blob_sha": "17ef7d51f07474a843bcb7bfe8c7150b3dc114f3", + "blob_sha": "de049bb9d48bcdef64cef18441d6c83e8bd4ab71", "commits": [], - "end_line": 21, - "id": "E1", + "end_line": 32, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/IndexFailureImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/SlidingExpirationCookieFilter.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 32 }, { - "blob_sha": "17ef7d51f07474a843bcb7bfe8c7150b3dc114f3", + "blob_sha": "6e7ed5ca4997f74775a5109d8176fffec9d1df79", "commits": [], - "end_line": 22, - "id": "E2", + "end_line": 54, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/IndexFailureImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/outputs/OutputResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 54 }, { - "blob_sha": "880b9fb953f87319e2846dce66bdcccec3a5e852", + "blob_sha": "8e472a0bbee17e732cd155b5c67c86f307b478ed", "commits": [], - "end_line": 27, - "id": "E3", + "end_line": 47, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/IndexFailureServiceImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/tokenusage/TokenUsageResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 47 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" + "src": "M:graylog2-server/src/main/java/org/graylog2/rest" }, { - "count": 12, - "dst": "M:graylog2-server/src/main/java/org/graylog2/datatiering", + "count": 301, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog2/datatiering", + "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/shared", "kind": "uses", "refs": [ { - "blob_sha": "c0de26a29f0cb5316339126cc2378cbce420ee63", + "blob_sha": "22936b9af10b7fee3095761e6145fcdb8548fe1c", "commits": [], - "end_line": 34, + "end_line": 31, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/IndexSetConfig.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/RestTools.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 34 + "start_line": 31 }, { - "blob_sha": "a62371ec5bcd131552381dc7d52b55a691218302", + "blob_sha": "22936b9af10b7fee3095761e6145fcdb8548fe1c", "commits": [], - "end_line": 20, + "end_line": 32, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/IndexSetConfigFactory.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/RestTools.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 32 }, { - "blob_sha": "a62371ec5bcd131552381dc7d52b55a691218302", + "blob_sha": "22936b9af10b7fee3095761e6145fcdb8548fe1c", "commits": [], - "end_line": 21, + "end_line": 33, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/IndexSetConfigFactory.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/RestTools.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/events", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog2/events", - "kind": "uses", - "refs": [ + "start_line": 33 + }, { - "blob_sha": "5102a3bc4b272714923b53ea650f2499f81e3feb", + "blob_sha": "a5cbafdb70fa29cdf51bfd74005a4e83488f0491", "commits": [], - "end_line": 37, - "id": "E1", + "end_line": 20, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/MongoIndexSetService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/users/responses/BasicUserFields.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" - }, - { - "count": 16, - "dst": "M:graylog2-server/src/main/java/org/graylog2/metrics", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog2/metrics", - "kind": "uses", - "refs": [ + "start_line": 20 + }, { - "blob_sha": "7d8b3d791604cbb80bd7ca96eeedfb3251a225d2", + "blob_sha": "c84a685952b0957f1d0f34a4ec91fe5749ffed15", "commits": [], "end_line": 27, - "id": "E1", + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/metrics/IndexSetDeflectorHealthDescriptor.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/HelloWorldResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 27 }, { - "blob_sha": "7d8b3d791604cbb80bd7ca96eeedfb3251a225d2", + "blob_sha": "457cbc5016003969ee2a440cb1db2c60feeb3518", "commits": [], - "end_line": 34, - "id": "E2", + "end_line": 38, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/metrics/IndexSetDeflectorHealthDescriptor.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/cluster/ClusterDeflectorResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 34 + "start_line": 38 }, { - "blob_sha": "912cd22a2b83867d1b4a02bec73aa3e535599e98", + "blob_sha": "457cbc5016003969ee2a440cb1db2c60feeb3518", "commits": [], - "end_line": 28, - "id": "E3", + "end_line": 39, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/metrics/IndexSetFieldCountDescriptor.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/cluster/ClusterDeflectorResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" - }, - { - "count": 6, - "dst": "M:graylog2-server/src/main/java/org/graylog2/notifications", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog2/notifications", - "kind": "uses", - "refs": [ + "start_line": 39 + }, { - "blob_sha": "2d38e2b299320ee7df4016ccf064d6c99dbade9d", + "blob_sha": "457cbc5016003969ee2a440cb1db2c60feeb3518", "commits": [], - "end_line": 24, - "id": "E1", + "end_line": 40, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/healing/FixDeflectorByDeleteJob.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/cluster/ClusterDeflectorResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 40 }, { - "blob_sha": "2d38e2b299320ee7df4016ccf064d6c99dbade9d", + "blob_sha": "83cecf16777fa43bd903ae0fca9104e798d346d5", "commits": [], - "end_line": 25, - "id": "E2", + "end_line": 48, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/healing/FixDeflectorByDeleteJob.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/cluster/ClusterInputStatesResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 48 }, { - "blob_sha": "c5f3f11c79912d6cf92b0fa598feef3f01da5494", + "blob_sha": "83cecf16777fa43bd903ae0fca9104e798d346d5", "commits": [], - "end_line": 24, - "id": "E3", + "end_line": 49, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/healing/FixDeflectorByMoveJob.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/cluster/ClusterInputStatesResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 49 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" + "src": "M:graylog2-server/src/main/java/org/graylog2/rest" }, { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/periodical", + "count": 5, + "dst": "M:graylog2-server/src/main/java/org/graylog2/storage", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog2/periodical", + "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/storage", "kind": "uses", "refs": [ { - "blob_sha": "f226185f6cab0a858126faf21ea5be3eaf20b284", + "blob_sha": "d1e97777ed09ccc973091a08c919c4989f67bca4", "commits": [], - "end_line": 22, + "end_line": 41, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/retention/executors/RetentionExecutor.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/SearchVersionResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" - }, - { - "count": 95, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog2/plugin", - "kind": "uses", - "refs": [ + "start_line": 41 + }, { - "blob_sha": "793d39ffe61389b36c43dccb16cf054d2881e77e", + "blob_sha": "d1e97777ed09ccc973091a08c919c4989f67bca4", "commits": [], - "end_line": 19, - "id": "E1", + "end_line": 42, + "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/FieldTypeManagementModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/SearchVersionResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 42 }, { - "blob_sha": "ce693f47699dc303e3314237a2d709829a387296", + "blob_sha": "e87255692d85edfd8073acaea88d295db424f32d", "commits": [], - "end_line": 19, - "id": "E2", + "end_line": 64, + "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/IndexFailure.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/debug/bundle/SupportBundleService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 64 }, { - "blob_sha": "17ef7d51f07474a843bcb7bfe8c7150b3dc114f3", + "blob_sha": "e87255692d85edfd8073acaea88d295db424f32d", "commits": [], - "end_line": 23, - "id": "E3", + "end_line": 65, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/IndexFailureImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/debug/bundle/SupportBundleService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 65 + }, + { + "blob_sha": "08f853d0648b0d82820dba0761ed84d152bbc911", + "commits": [], + "end_line": 36, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/indexer/IndexerClusterResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" + "src": "M:graylog2-server/src/main/java/org/graylog2/rest" }, { - "count": 45, - "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", + "count": 36, + "dst": "M:graylog2-server/src/main/java/org/graylog2/streams", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog2/rest", + "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/streams", "kind": "uses", "refs": [ { - "blob_sha": "793d39ffe61389b36c43dccb16cf054d2881e77e", + "blob_sha": "5bb942220ad321dcda64eebad669f6ed4758c342", "commits": [], - "end_line": 20, + "end_line": 112, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/FieldTypeManagementModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/streams/StreamResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 112 }, { - "blob_sha": "47e072e5888efe89082a639280c99e60c7352038", + "blob_sha": "5bb942220ad321dcda64eebad669f6ed4758c342", "commits": [], - "end_line": 35, + "end_line": 113, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/IndexerBindings.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/streams/StreamResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 35 + "start_line": 113 }, { - "blob_sha": "47e072e5888efe89082a639280c99e60c7352038", + "blob_sha": "5bb942220ad321dcda64eebad669f6ed4758c342", "commits": [], - "end_line": 36, + "end_line": 114, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/IndexerBindings.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/streams/StreamResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 36 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/search", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog2/search", - "kind": "uses", - "refs": [ + "start_line": 114 + }, { - "blob_sha": "0af306d830bc2572d222d15a94ea0a7a91821d52", + "blob_sha": "5bb942220ad321dcda64eebad669f6ed4758c342", "commits": [], - "end_line": 36, - "id": "E1", + "end_line": 115, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/template/IndexSetTemplateService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/streams/StreamResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 36 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" - }, - { - "count": 49, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog2/shared", - "kind": "uses", - "refs": [ + "start_line": 115 + }, { - "blob_sha": "17ef7d51f07474a843bcb7bfe8c7150b3dc114f3", + "blob_sha": "5bb942220ad321dcda64eebad669f6ed4758c342", "commits": [], - "end_line": 30, - "id": "E1", + "end_line": 116, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/IndexFailureImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/streams/StreamResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 + "start_line": 116 }, { - "blob_sha": "17ef7d51f07474a843bcb7bfe8c7150b3dc114f3", + "blob_sha": "5bb942220ad321dcda64eebad669f6ed4758c342", "commits": [], - "end_line": 31, - "id": "E2", + "end_line": 117, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/IndexFailureImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/streams/StreamResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 31 + "start_line": 117 }, { - "blob_sha": "221cc02cd74eb519a13ab7567b73202f6c811136", + "blob_sha": "5bb942220ad321dcda64eebad669f6ed4758c342", "commits": [], - "end_line": 19, - "id": "E3", + "end_line": 118, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/datastream/policy/actions/BytesUnit.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/streams/StreamResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" - }, - { - "count": 10, - "dst": "M:graylog2-server/src/main/java/org/graylog2/storage", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog2/storage", - "kind": "uses", - "refs": [ + "start_line": 118 + }, { - "blob_sha": "756094b58705df9facb46553e9ea342910cafd46", + "blob_sha": "f1e011bb1e93ae8810c8e279227534396fd2a8d9", "commits": [], - "end_line": 19, - "id": "E1", + "end_line": 50, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/cluster/Node.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/streams/destinations/filters/StreamDestinationFiltersResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 50 }, { - "blob_sha": "378102ba2dfec14e954590dc4b1b754ddc4fc2d6", + "blob_sha": "f1e011bb1e93ae8810c8e279227534396fd2a8d9", "commits": [], - "end_line": 21, - "id": "E2", + "end_line": 51, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/cluster/NodeAdapter.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/streams/destinations/filters/StreamDestinationFiltersResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 51 }, { - "blob_sha": "3994cbca99b12c40f832b5dcc859f2ef5574296b", + "blob_sha": "f1e011bb1e93ae8810c8e279227534396fd2a8d9", "commits": [], - "end_line": 21, - "id": "E3", + "end_line": 52, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/indices/IndexTemplateAdapterProvider.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/streams/destinations/filters/StreamDestinationFiltersResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 52 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" + "src": "M:graylog2-server/src/main/java/org/graylog2/rest" }, { - "count": 5, - "dst": "M:graylog2-server/src/main/java/org/graylog2/streams", + "count": 25, + "dst": "M:graylog2-server/src/main/java/org/graylog2/system", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog2/streams", + "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/system", "kind": "uses", "refs": [ { - "blob_sha": "967bd006a471df67eeb6b3bef38d211ee442df8b", + "blob_sha": "20cea04558431a41c861e2787369bb34367f8392", "commits": [], - "end_line": 26, + "end_line": 24, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/IndexSetAttributeSorts.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/processing/ProcessingStatusSummary.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 24 }, { - "blob_sha": "967bd006a471df67eeb6b3bef38d211ee442df8b", + "blob_sha": "20cea04558431a41c861e2787369bb34367f8392", "commits": [], - "end_line": 27, + "end_line": 25, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/IndexSetAttributeSorts.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/processing/ProcessingStatusSummary.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 25 }, { - "blob_sha": "f26c0271b2f3253f2ceb85d28b78fbbb6e4662a8", + "blob_sha": "eaccfee3d8cdb0740b601cc808ae7b679693bf1e", "commits": [], - "end_line": 28, + "end_line": 24, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/IndexSetFieldTypeSummaryService.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" - }, - { - "count": 14, - "dst": "M:graylog2-server/src/main/java/org/graylog2/system", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog2/system", - "kind": "uses", - "refs": [ - { - "blob_sha": "2cdd977abe49a371016727c69a3b5e2f8e2434ab", - "commits": [], - "end_line": 30, - "id": "E1", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/cluster/Cluster.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/ClusterStatsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 + "start_line": 24 }, { - "blob_sha": "2cdd977abe49a371016727c69a3b5e2f8e2434ab", + "blob_sha": "eaccfee3d8cdb0740b601cc808ae7b679693bf1e", "commits": [], - "end_line": 31, - "id": "E2", + "end_line": 25, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/cluster/Cluster.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/ClusterStatsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 31 + "start_line": 25 }, { - "blob_sha": "2cdd977abe49a371016727c69a3b5e2f8e2434ab", + "blob_sha": "eaccfee3d8cdb0740b601cc808ae7b679693bf1e", "commits": [], - "end_line": 32, - "id": "E3", + "end_line": 26, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/cluster/Cluster.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/ClusterStatsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 32 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/utilities", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog2/utilities", - "kind": "uses", - "refs": [ + "start_line": 26 + }, { - "blob_sha": "38e92a0612245fb2d6e749409be4033b61f9bf13", + "blob_sha": "eaccfee3d8cdb0740b601cc808ae7b679693bf1e", "commits": [], - "end_line": 24, - "id": "E1", + "end_line": 27, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/indices/OutdatedIndex.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/ClusterStatsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 27 }, { - "blob_sha": "38e92a0612245fb2d6e749409be4033b61f9bf13", + "blob_sha": "3115752a04675c3c304dce90cd19f101f50e34c3", "commits": [], - "end_line": 25, - "id": "E2", + "end_line": 38, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/indices/OutdatedIndex.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/MessagesResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" - }, - { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/validation", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/indexer->M:graylog2-server/src/main/java/org/graylog2/validation", - "kind": "uses", - "refs": [ + "start_line": 38 + }, { - "blob_sha": "c0de26a29f0cb5316339126cc2378cbce420ee63", + "blob_sha": "3115752a04675c3c304dce90cd19f101f50e34c3", "commits": [], - "end_line": 49, - "id": "E1", + "end_line": 39, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/IndexSetConfig.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/MessagesResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 49 + "start_line": 39 }, { - "blob_sha": "1299fea38045488a041b77419399746420a42afe", + "blob_sha": "a559c401fa4978a73538c52c1d5eb6a41426834b", "commits": [], - "end_line": 20, - "id": "E2", + "end_line": 27, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/fields/FieldTypeProfileField.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/SystemShutdownResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 27 }, { - "blob_sha": "ca804dc4e8bf3a22863d203c8028f2b2167cb53f", + "blob_sha": "af8210a4e492bf7703efc3072d35cde13cea311d", "commits": [], - "end_line": 22, - "id": "E3", + "end_line": 33, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/indexer/indexset/fields/IndexPrefixField.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/TrafficResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 33 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/indexer" + "src": "M:graylog2-server/src/main/java/org/graylog2/rest" }, { "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", + "dst": "M:graylog2-server/src/main/java/org/graylog2/telemetry", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/initializers->M:graylog2-server/src/main/java/org/graylog2/(root)", + "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/telemetry", "kind": "uses", "refs": [ { - "blob_sha": "4473f41c64c943e2a87a2373580822329db3708f", + "blob_sha": "128102eaef103ae865c7e845ba0ca44236f0a32e", "commits": [], - "end_line": 23, + "end_line": 130, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/initializers/BufferSynchronizerService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/RestResourcesModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 130 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/initializers" + "src": "M:graylog2-server/src/main/java/org/graylog2/rest" }, { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/buffers", + "count": 17, + "dst": "M:graylog2-server/src/main/java/org/graylog2/users", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/initializers->M:graylog2-server/src/main/java/org/graylog2/buffers", + "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/users", "kind": "uses", "refs": [ { - "blob_sha": "4473f41c64c943e2a87a2373580822329db3708f", + "blob_sha": "d54d0eeb8d292eb7bf1b36611124e4d975b055e0", "commits": [], - "end_line": 24, + "end_line": 22, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/initializers/BufferSynchronizerService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/entities/preferences/listeners/EntityListPreferencesCleanerOnUserDeletion.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 22 }, { - "blob_sha": "4473f41c64c943e2a87a2373580822329db3708f", + "blob_sha": "2ef2bc6b2113fd94a79b22e7482edd29a9d8e3ed", "commits": [], - "end_line": 39, + "end_line": 60, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/initializers/BufferSynchronizerService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/roles/RolesResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 39 + "start_line": 60 }, { - "blob_sha": "4473f41c64c943e2a87a2373580822329db3708f", + "blob_sha": "2ef2bc6b2113fd94a79b22e7482edd29a9d8e3ed", "commits": [], - "end_line": 40, + "end_line": 61, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/initializers/BufferSynchronizerService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/roles/RolesResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 40 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/initializers" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/initializers->M:graylog2-server/src/main/java/org/graylog2/indexer", - "kind": "uses", - "refs": [ + "start_line": 61 + }, { - "blob_sha": "4473f41c64c943e2a87a2373580822329db3708f", + "blob_sha": "2ef2bc6b2113fd94a79b22e7482edd29a9d8e3ed", "commits": [], - "end_line": 25, - "id": "E1", + "end_line": 62, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/initializers/BufferSynchronizerService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/roles/RolesResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/initializers" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/outputs", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/initializers->M:graylog2-server/src/main/java/org/graylog2/outputs", - "kind": "uses", - "refs": [ + "start_line": 62 + }, { - "blob_sha": "046fd576d8b8191a42b5437b02b4e73530751845", + "blob_sha": "46a8da84e3df722b3cb175c3ba02912a7d22c73a", "commits": [], - "end_line": 23, - "id": "E1", + "end_line": 39, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/initializers/OutputSetupService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/PermissionsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 39 }, { - "blob_sha": "046fd576d8b8191a42b5437b02b4e73530751845", + "blob_sha": "e1f44117eb9a877cea2de46ef1fffa9430d9fe10", "commits": [], - "end_line": 24, - "id": "E2", + "end_line": 50, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/initializers/OutputSetupService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/contentpacks/titles/EntityTitleServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/initializers" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/initializers->M:graylog2-server/src/main/java/org/graylog2/plugin", - "kind": "uses", - "refs": [ + "start_line": 50 + }, { - "blob_sha": "046fd576d8b8191a42b5437b02b4e73530751845", + "blob_sha": "e1f44117eb9a877cea2de46ef1fffa9430d9fe10", "commits": [], - "end_line": 25, - "id": "E1", + "end_line": 51, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/initializers/OutputSetupService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/contentpacks/titles/EntityTitleServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/initializers" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/system", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/initializers->M:graylog2-server/src/main/java/org/graylog2/system", - "kind": "uses", - "refs": [ + "start_line": 51 + }, { - "blob_sha": "046fd576d8b8191a42b5437b02b4e73530751845", + "blob_sha": "8e472a0bbee17e732cd155b5c67c86f307b478ed", "commits": [], - "end_line": 26, - "id": "E1", + "end_line": 52, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/initializers/OutputSetupService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/tokenusage/TokenUsageResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/initializers" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog/events", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-server/src/main/java/org/graylog/events", - "kind": "uses", - "refs": [ + "start_line": 52 + }, { - "blob_sha": "66caf918fca88bce6329745b3ff363a1e3808fb2", + "blob_sha": "a3561bd1599fec3d86cf5f8abc83871ec8ec7e9f", "commits": [], - "end_line": 22, - "id": "E1", + "end_line": 102, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/metrics/InputMessagesPerStreamDescriptor.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/users/UsersResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 102 + }, + { + "blob_sha": "a3561bd1599fec3d86cf5f8abc83871ec8ec7e9f", + "commits": [], + "end_line": 103, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/users/UsersResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 103 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" + "src": "M:graylog2-server/src/main/java/org/graylog2/rest" }, { - "count": 35, - "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", + "count": 9, + "dst": "M:graylog2-server/src/main/java/org/graylog2/utilities", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-server/src/main/java/org/graylog/plugins", + "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/utilities", "kind": "uses", "refs": [ { - "blob_sha": "97f090894b18e65b1da0a7f591773f901db66eb3", + "blob_sha": "22936b9af10b7fee3095761e6145fcdb8548fe1c", "commits": [], - "end_line": 23, + "end_line": 34, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputRoutingService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/RestTools.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 34 }, { - "blob_sha": "97f090894b18e65b1da0a7f591773f901db66eb3", + "blob_sha": "7d60ddbc6541b922dd6f29d76323011497a8f91b", "commits": [], - "end_line": 24, + "end_line": 59, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputRoutingService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/mongodb/MongodbClusterResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 59 }, { - "blob_sha": "97f090894b18e65b1da0a7f591773f901db66eb3", + "blob_sha": "7d60ddbc6541b922dd6f29d76323011497a8f91b", "commits": [], - "end_line": 25, + "end_line": 60, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputRoutingService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/mongodb/MongodbClusterResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" - }, - { - "count": 13, - "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-server/src/main/java/org/graylog2/(root)", - "kind": "uses", - "refs": [ + "start_line": 60 + }, { - "blob_sha": "c5bcb0d7f779ac0b2dc7bd35928246ac6779955f", + "blob_sha": "9a6650731e8180415798d90c65532073cc41e2ac", "commits": [], - "end_line": 19, - "id": "E1", + "end_line": 47, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/converters/ConverterFactory.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/opensearch/OpensearchClusterResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 47 }, { - "blob_sha": "87395b2a50bc80b2257f70149cb434353f81696f", + "blob_sha": "9a6650731e8180415798d90c65532073cc41e2ac", "commits": [], - "end_line": 21, - "id": "E2", + "end_line": 48, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/converters/CsvConverter.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/opensearch/OpensearchClusterResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 48 }, { - "blob_sha": "8512d8027255e97a4b835476e89ea8d56afc1482", + "blob_sha": "c873630a1dc6ca69ae07adf95ef97ff2bed14771", "commits": [], - "end_line": 19, - "id": "E3", + "end_line": 84, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/converters/DateConverter.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/SessionsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-server/src/main/java/org/graylog2/cluster", - "kind": "uses", - "refs": [ + "start_line": 84 + }, { - "blob_sha": "91f143bee27feda88dc4885e57599629c242e98d", + "blob_sha": "dc5003849c2aa8ecf41ea80490e8aa423896601e", "commits": [], - "end_line": 23, - "id": "E1", + "end_line": 69, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputEventListener.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/indexer/OutdatedIndexResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 69 }, { - "blob_sha": "91f143bee27feda88dc4885e57599629c242e98d", + "blob_sha": "dc5003849c2aa8ecf41ea80490e8aa423896601e", "commits": [], - "end_line": 24, - "id": "E2", + "end_line": 70, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputEventListener.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/indexer/OutdatedIndexResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 70 + }, + { + "blob_sha": "6e7ed5ca4997f74775a5109d8176fffec9d1df79", + "commits": [], + "end_line": 58, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/outputs/OutputResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 58 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" + "src": "M:graylog2-server/src/main/java/org/graylog2/rest" }, { - "count": 5, - "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog2/validation", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-server/src/main/java/org/graylog2/configuration", + "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/validation", "kind": "uses", "refs": [ { - "blob_sha": "35efdf07cf096916519713d41cf1cac3966befa4", + "blob_sha": "a26e8a2aa3d5cd1d2439417f1e860d36756929ed", "commits": [], - "end_line": 30, + "end_line": 22, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/transports/AbstractHttpTransport.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/field_types/FieldTypeProfileChangeRequest.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 + "start_line": 22 }, { - "blob_sha": "c78576216ebfc30ddf5029041e44bda82bd6ec22", + "blob_sha": "d29d25f103051aab3cca86e9d07abe28151177bc", "commits": [], - "end_line": 23, + "end_line": 22, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/transports/HttpTransport.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/field_types/FieldTypeProfileUnsetRequest.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 22 }, { - "blob_sha": "3da2c5039f9953f3748b532ca5614d364e0e07e7", + "blob_sha": "c9d0a492e4a2b0aaac62fb5b8e950c19f5380eb8", "commits": [], - "end_line": 23, + "end_line": 28, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/transports/RawHttpTransport.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/indexer/requests/IndexSetCreationRequest.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 28 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" + "src": "M:graylog2-server/src/main/java/org/graylog2/rest" }, { - "count": 25, - "dst": "M:graylog2-server/src/main/java/org/graylog2/database", + "count": 6, + "dst": "M:graylog2-web-interface/src/logic", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-server/src/main/java/org/graylog2/database", + "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-web-interface/src/logic", "kind": "uses", "refs": [ { - "blob_sha": "91f143bee27feda88dc4885e57599629c242e98d", + "blob_sha": "9ab47845864acc7f9e2ddfb31d33f15cfab13e12", "commits": [], - "end_line": 25, + "end_line": 19, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputEventListener.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/sessions/SessionUtils.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 19 }, { - "blob_sha": "de4be9ff5db87e0052d84509318701b36e0cddb0", + "blob_sha": "d5a4f74c2e9a270700ee1d935a6b816b07cc5739", "commits": [], - "end_line": 27, + "end_line": 19, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/sessions/responses/SessionResponseFactory.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 19 }, { - "blob_sha": "de4be9ff5db87e0052d84509318701b36e0cddb0", + "blob_sha": "f7ca1b89b7dbd17d437ee9e560dbfa1dd89615d0", "commits": [], - "end_line": 28, + "end_line": 25, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/CookieFactory.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/events", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-server/src/main/java/org/graylog2/events", - "kind": "uses", - "refs": [ + "start_line": 25 + }, { - "blob_sha": "97f090894b18e65b1da0a7f591773f901db66eb3", + "blob_sha": "c873630a1dc6ca69ae07adf95ef97ff2bed14771", "commits": [], - "end_line": 22, - "id": "E1", + "end_line": 64, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputRoutingService.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/SessionsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 64 }, { - "blob_sha": "621724a017eac2788b129e1a2b6fcc54abd9679d", + "blob_sha": "de049bb9d48bcdef64cef18441d6c83e8bd4ab71", "commits": [], - "end_line": 40, - "id": "E2", + "end_line": 25, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputServiceImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/SlidingExpirationCookieFilter.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 40 + "start_line": 25 + }, + { + "blob_sha": "a3561bd1599fec3d86cf5f8abc83871ec8ec7e9f", + "commits": [], + "end_line": 58, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/users/UsersResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 58 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" + "src": "M:graylog2-server/src/main/java/org/graylog2/rest" }, { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/grok", + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-server/src/main/java/org/graylog2/grok", + "id": "M:graylog2-server/src/main/java/org/graylog2/search->M:graylog2-server/src/main/java/org/graylog2/rest", "kind": "uses", "refs": [ { - "blob_sha": "ab79574e0f0149c9e84089f33980d25810c32b8b", + "blob_sha": "39c6a69f235b876ed9c22c90b5c6da3be62999f9", "commits": [], - "end_line": 21, + "end_line": 22, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/extractors/ExtractorFactory.java", + "path": "graylog2-server/src/main/java/org/graylog2/search/AttributeFieldSorts.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 22 }, { - "blob_sha": "a57ea190fa028927b277be70e6755e33209082b1", + "blob_sha": "adf2b7499741b047d24499dae83b424ca75b0f18", "commits": [], - "end_line": 24, + "end_line": 19, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/extractors/GrokExtractor.java", + "path": "graylog2-server/src/main/java/org/graylog2/search/DbFieldMappingCreator.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 19 + }, + { + "blob_sha": "832c9ecf18cdc9855f4e9e93ad8a767395a3f9b9", + "commits": [], + "end_line": 26, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/search/SearchQueryParser.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" + "src": "M:graylog2-server/src/main/java/org/graylog2/search" }, { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/jackson", + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/utilities", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-server/src/main/java/org/graylog2/jackson", + "id": "M:graylog2-server/src/main/java/org/graylog2/search->M:graylog2-server/src/main/java/org/graylog2/utilities", "kind": "uses", "refs": [ { - "blob_sha": "bff44a8c9e7a90ebed5334883849d271df16a7f5", + "blob_sha": "2bf8317f302ecb60b1b17a0e4122d43a27d85ce4", "commits": [], - "end_line": 25, + "end_line": 21, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/encryption/EncryptedInputConfigMigration.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 - }, - { - "blob_sha": "547c0b6910af086edce8a8b26b5dda16b2ca88aa", - "commits": [], - "end_line": 26, - "id": "E2", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/extractors/JsonExtractor.java", + "path": "graylog2-server/src/main/java/org/graylog2/search/SearchQueryField.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 21 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" + "src": "M:graylog2-server/src/main/java/org/graylog2/search" }, { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/lookup", + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog/grn", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-server/src/main/java/org/graylog2/lookup", + "id": "M:graylog2-server/src/main/java/org/graylog2/security->M:graylog2-server/src/main/java/org/graylog/grn", "kind": "uses", "refs": [ { - "blob_sha": "c5bcb0d7f779ac0b2dc7bd35928246ac6779955f", + "blob_sha": "f9b3ee3a3a7302cccefec07e8d5ec4d03e39fe87", "commits": [], - "end_line": 20, + "end_line": 32, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/converters/ConverterFactory.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/realm/MongoDbAuthorizationRealm.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 32 }, { - "blob_sha": "2d80e9334254c0c11b7f407dd84b6547453a037c", + "blob_sha": "f9b3ee3a3a7302cccefec07e8d5ec4d03e39fe87", "commits": [], - "end_line": 20, + "end_line": 33, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/converters/LookupTableConverter.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/realm/MongoDbAuthorizationRealm.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 33 }, { - "blob_sha": "ab79574e0f0149c9e84089f33980d25810c32b8b", + "blob_sha": "f9b3ee3a3a7302cccefec07e8d5ec4d03e39fe87", "commits": [], - "end_line": 22, + "end_line": 34, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/extractors/ExtractorFactory.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/realm/MongoDbAuthorizationRealm.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 34 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" + "src": "M:graylog2-server/src/main/java/org/graylog2/security" }, { - "count": 5, - "dst": "M:graylog2-server/src/main/java/org/graylog2/metrics", + "count": 20, + "dst": "M:graylog2-server/src/main/java/org/graylog/security", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-server/src/main/java/org/graylog2/metrics", + "id": "M:graylog2-server/src/main/java/org/graylog2/security->M:graylog2-server/src/main/java/org/graylog/security", "kind": "uses", "refs": [ { - "blob_sha": "631eb0e42fba0e5884cb9f484118daa8108fb995", + "blob_sha": "c87653df12e7ce7dcb0eebbb00eecfa254e0ff99", "commits": [], "end_line": 22, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/metrics/InputExtractorCountDescriptor.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/CustomCAX509TrustManager.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 22 }, { - "blob_sha": "631eb0e42fba0e5884cb9f484118daa8108fb995", + "blob_sha": "c87653df12e7ce7dcb0eebbb00eecfa254e0ff99", "commits": [], "end_line": 23, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/metrics/InputExtractorCountDescriptor.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/CustomCAX509TrustManager.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 23 }, { - "blob_sha": "66caf918fca88bce6329745b3ff363a1e3808fb2", + "blob_sha": "c87653df12e7ce7dcb0eebbb00eecfa254e0ff99", "commits": [], "end_line": 24, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/metrics/InputMessagesPerStreamDescriptor.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/CustomCAX509TrustManager.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 24 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/migrations", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-server/src/main/java/org/graylog2/migrations", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "bff44a8c9e7a90ebed5334883849d271df16a7f5", + "blob_sha": "280993daf2bd22fae13654329f019816aa4af100", "commits": [], - "end_line": 26, - "id": "E1", + "end_line": 27, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/encryption/EncryptedInputConfigMigration.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/InMemoryRolePermissionResolver.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/notifications", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-server/src/main/java/org/graylog2/notifications", - "kind": "uses", - "refs": [ + "start_line": 27 + }, { - "blob_sha": "faab6e5772c62f552347f1f61d0e3dd080b2b910", + "blob_sha": "b44e17aa25b9239bfebe03ff798332a94021644a", "commits": [], - "end_line": 23, - "id": "E1", + "end_line": 21, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputStateListener.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/TruststoreCreator.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 21 }, { - "blob_sha": "faab6e5772c62f552347f1f61d0e3dd080b2b910", + "blob_sha": "b44e17aa25b9239bfebe03ff798332a94021644a", "commits": [], - "end_line": 24, - "id": "E2", + "end_line": 22, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputStateListener.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/TruststoreCreator.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" - }, - { - "count": 386, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-server/src/main/java/org/graylog2/plugin", - "kind": "uses", - "refs": [ + "start_line": 22 + }, { - "blob_sha": "fe2cbf5e9c8c78822806ef6e98cc0f3fb3ff647d", + "blob_sha": "b44e17aa25b9239bfebe03ff798332a94021644a", "commits": [], - "end_line": 19, - "id": "E1", + "end_line": 23, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/Input.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/TruststoreCreator.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 23 }, { - "blob_sha": "91f143bee27feda88dc4885e57599629c242e98d", + "blob_sha": "e207cd6120d671f150e1c137ad6c0eb4203d6c96", "commits": [], "end_line": 26, - "id": "E2", + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputEventListener.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/realm/BearerTokenRealm.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 26 }, { - "blob_sha": "91f143bee27feda88dc4885e57599629c242e98d", + "blob_sha": "e207cd6120d671f150e1c137ad6c0eb4203d6c96", "commits": [], "end_line": 27, - "id": "E3", + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputEventListener.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/realm/BearerTokenRealm.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 27 + }, + { + "blob_sha": "e207cd6120d671f150e1c137ad6c0eb4203d6c96", + "commits": [], + "end_line": 28, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/security/realm/BearerTokenRealm.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" + "src": "M:graylog2-server/src/main/java/org/graylog2/security" }, { - "count": 24, - "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", + "count": 6, + "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-server/src/main/java/org/graylog2/rest", + "id": "M:graylog2-server/src/main/java/org/graylog2/security->M:graylog2-server/src/main/java/org/graylog2/(root)", "kind": "uses", "refs": [ { - "blob_sha": "91f143bee27feda88dc4885e57599629c242e98d", + "blob_sha": "a754c3e7faff03a7e24fd426e7f89cdf422d5ebe", "commits": [], - "end_line": 31, + "end_line": 20, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputEventListener.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/AccessTokenCipher.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 31 + "start_line": 20 }, { - "blob_sha": "91f143bee27feda88dc4885e57599629c242e98d", + "blob_sha": "86f330e28f502095cdc1d9aa62d71814d5feea8d", "commits": [], - "end_line": 32, + "end_line": 37, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputEventListener.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/AccessTokenServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 32 + "start_line": 37 }, { - "blob_sha": "91f143bee27feda88dc4885e57599629c242e98d", + "blob_sha": "752463ce4f086e5bf4b709132bae12c907e15660", "commits": [], - "end_line": 33, + "end_line": 20, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputEventListener.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/RestrictedChainingClassLoader.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 33 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/search", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-server/src/main/java/org/graylog2/search", - "kind": "uses", - "refs": [ + "start_line": 20 + }, { - "blob_sha": "f9ec447ce9107d9342df3d794c187cd6e49b17bc", + "blob_sha": "bc1fd3148f8b9c4c3044ffe3461a82a8d9369611", "commits": [], - "end_line": 37, - "id": "E1", + "end_line": 22, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/diagnosis/InputRoutingRulesService.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/SafeClasses.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 + "start_line": 22 + }, + { + "blob_sha": "0d73c707fd9a82bf92fabea1aed37a9ad28200b9", + "commits": [], + "end_line": 19, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/security/UnsafeClassLoadingAttemptException.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "e5572c6768f846484607812467e610c7aa865962", + "commits": [], + "end_line": 22, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/security/realm/AuthenticatingRealmModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" + "src": "M:graylog2-server/src/main/java/org/graylog2/security" }, { - "count": 16, - "dst": "M:graylog2-server/src/main/java/org/graylog2/security", + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-server/src/main/java/org/graylog2/security", + "id": "M:graylog2-server/src/main/java/org/graylog2/security->M:graylog2-server/src/main/java/org/graylog2/configuration", "kind": "uses", "refs": [ { - "blob_sha": "621724a017eac2788b129e1a2b6fcc54abd9679d", + "blob_sha": "a624ef46a290bf1a0b77f207c4a20fdc5151af05", "commits": [], - "end_line": 58, + "end_line": 26, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputServiceImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/jwt/IndexerJwtAuthTokenProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 58 + "start_line": 26 }, { - "blob_sha": "621724a017eac2788b129e1a2b6fcc54abd9679d", + "blob_sha": "a624ef46a290bf1a0b77f207c4a20fdc5151af05", "commits": [], - "end_line": 59, + "end_line": 27, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputServiceImpl.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 59 - }, - { - "blob_sha": "bff44a8c9e7a90ebed5334883849d271df16a7f5", - "commits": [], - "end_line": 29, - "id": "E3", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/encryption/EncryptedInputConfigMigration.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/jwt/IndexerJwtAuthTokenProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 + "start_line": 27 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" + "src": "M:graylog2-server/src/main/java/org/graylog2/security" }, { - "count": 24, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "count": 17, + "dst": "M:graylog2-server/src/main/java/org/graylog2/database", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-server/src/main/java/org/graylog2/shared", + "id": "M:graylog2-server/src/main/java/org/graylog2/security->M:graylog2-server/src/main/java/org/graylog2/database", "kind": "uses", "refs": [ { - "blob_sha": "91f143bee27feda88dc4885e57599629c242e98d", + "blob_sha": "a238713f8d137411897409bf210e763ddb431ee9", "commits": [], - "end_line": 36, + "end_line": 24, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputEventListener.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/AccessTokenEntity.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 36 + "start_line": 24 }, { - "blob_sha": "91f143bee27feda88dc4885e57599629c242e98d", + "blob_sha": "a90b4f3d3a3dfce75180c8814091c5274c5b01d5", "commits": [], - "end_line": 44, + "end_line": 21, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputEventListener.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/AccessTokenImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 44 + "start_line": 21 }, { - "blob_sha": "91f143bee27feda88dc4885e57599629c242e98d", + "blob_sha": "a90b4f3d3a3dfce75180c8814091c5274c5b01d5", "commits": [], - "end_line": 37, + "end_line": 22, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputEventListener.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/AccessTokenImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" - }, - { - "count": 6, - "dst": "M:graylog2-server/src/main/java/org/graylog2/streams", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-server/src/main/java/org/graylog2/streams", - "kind": "uses", - "refs": [ + "start_line": 22 + }, { - "blob_sha": "97f090894b18e65b1da0a7f591773f901db66eb3", + "blob_sha": "a90b4f3d3a3dfce75180c8814091c5274c5b01d5", "commits": [], - "end_line": 37, - "id": "E1", + "end_line": 23, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputRoutingService.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/AccessTokenImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 + "start_line": 23 }, { - "blob_sha": "97f090894b18e65b1da0a7f591773f901db66eb3", + "blob_sha": "9dd78172b85a7792eaaaa685409faaf517fcb0fa", + "commits": [], + "end_line": 19, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/security/AccessTokenService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "86f330e28f502095cdc1d9aa62d71814d5feea8d", "commits": [], "end_line": 38, - "id": "E2", + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputRoutingService.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/AccessTokenServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 38 }, { - "blob_sha": "97f090894b18e65b1da0a7f591773f901db66eb3", + "blob_sha": "86f330e28f502095cdc1d9aa62d71814d5feea8d", "commits": [], "end_line": 39, - "id": "E3", + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/InputRoutingService.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/AccessTokenServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 39 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" - }, - { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/utilities", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-server/src/main/java/org/graylog2/utilities", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "35efdf07cf096916519713d41cf1cac3966befa4", + "blob_sha": "86f330e28f502095cdc1d9aa62d71814d5feea8d", "commits": [], - "end_line": 50, - "id": "E1", + "end_line": 40, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/transports/AbstractHttpTransport.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/AccessTokenServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 50 + "start_line": 40 }, { - "blob_sha": "c78576216ebfc30ddf5029041e44bda82bd6ec22", + "blob_sha": "86f330e28f502095cdc1d9aa62d71814d5feea8d", "commits": [], - "end_line": 32, - "id": "E2", + "end_line": 41, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/transports/HttpTransport.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/AccessTokenServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 32 + "start_line": 41 }, { - "blob_sha": "3da2c5039f9953f3748b532ca5614d364e0e07e7", + "blob_sha": "50bc61d356690d9c7a84dc19a81c0f189af0fd3a", "commits": [], - "end_line": 32, - "id": "E3", + "end_line": 19, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/transports/RawHttpTransport.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/PaginatedAccessTokenEntityService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 32 + "start_line": 19 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" + "src": "M:graylog2-server/src/main/java/org/graylog2/security" }, { "count": 1, - "dst": "M:graylog2-web-interface/src/components", + "dst": "M:graylog2-server/src/main/java/org/graylog2/events", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/inputs->M:graylog2-web-interface/src/components", + "id": "M:graylog2-server/src/main/java/org/graylog2/security->M:graylog2-server/src/main/java/org/graylog2/events", "kind": "uses", "refs": [ { - "blob_sha": "39030c5c1075e04c52c907b323287780299dd233", + "blob_sha": "897729e81e533a9d3d0ff0b3ea4c19ae5054e718", "commits": [], - "end_line": 19, + "end_line": 27, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/inputs/transports/AmqpConsumer.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/sessions/MongoDbSessionService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 27 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/inputs" + "src": "M:graylog2-server/src/main/java/org/graylog2/security" }, { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/inputs", + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/metrics", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/jackson->M:graylog2-server/src/main/java/org/graylog2/inputs", + "id": "M:graylog2-server/src/main/java/org/graylog2/security->M:graylog2-server/src/main/java/org/graylog2/metrics", "kind": "uses", "refs": [ { - "blob_sha": "dc4e57b25f413fdf98c5efbc900de4f707aebe94", + "blob_sha": "0638ce880823acec0befa77882fc9047d6fd68a9", "commits": [], - "end_line": 24, + "end_line": 25, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/jackson/InputConfigurationBeanDeserializerModifier.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/MongoDbAuthorizationCacheManager.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 25 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/security" + }, + { + "count": 21, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/security->M:graylog2-server/src/main/java/org/graylog2/plugin", + "kind": "uses", + "refs": [ + { + "blob_sha": "93bbee62b4a55d633a896847d1a8148a13f270c8", + "commits": [], + "end_line": 19, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/security/AccessToken.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 }, { - "blob_sha": "dc4e57b25f413fdf98c5efbc900de4f707aebe94", + "blob_sha": "a90b4f3d3a3dfce75180c8814091c5274c5b01d5", "commits": [], - "end_line": 25, + "end_line": 24, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/jackson/InputConfigurationBeanDeserializerModifier.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/AccessTokenImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 24 }, { - "blob_sha": "dc4e57b25f413fdf98c5efbc900de4f707aebe94", + "blob_sha": "9dd78172b85a7792eaaaa685409faaf517fcb0fa", "commits": [], - "end_line": 26, + "end_line": 20, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/jackson/InputConfigurationBeanDeserializerModifier.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/AccessTokenService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/jackson" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/jackson->M:graylog2-server/src/main/java/org/graylog2/shared", - "kind": "uses", - "refs": [ + "start_line": 20 + }, { - "blob_sha": "dc4e57b25f413fdf98c5efbc900de4f707aebe94", + "blob_sha": "9dd78172b85a7792eaaaa685409faaf517fcb0fa", "commits": [], - "end_line": 27, - "id": "E1", + "end_line": 21, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/jackson/InputConfigurationBeanDeserializerModifier.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/AccessTokenService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 21 }, { - "blob_sha": "328e8bb44ad8c5c991974703d8ab8de33c6d4419", + "blob_sha": "86f330e28f502095cdc1d9aa62d71814d5feea8d", "commits": [], - "end_line": 40, - "id": "E2", + "end_line": 42, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/jackson/JacksonModelValidator.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/AccessTokenServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 40 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/jackson" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/jersey->M:graylog2-server/src/main/java/org/graylog2/configuration", - "kind": "uses", - "refs": [ + "start_line": 42 + }, { - "blob_sha": "bd1bcd3f1c182aae7dab9a95a3f60b8f1effb5b7", + "blob_sha": "86f330e28f502095cdc1d9aa62d71814d5feea8d", "commits": [], - "end_line": 24, - "id": "E1", + "end_line": 43, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/jersey/PrefixAddingModelProcessor.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/AccessTokenServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/jersey" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/jersey->M:graylog2-server/src/main/java/org/graylog2/shared", - "kind": "uses", - "refs": [ + "start_line": 43 + }, { - "blob_sha": "bd1bcd3f1c182aae7dab9a95a3f60b8f1effb5b7", + "blob_sha": "86f330e28f502095cdc1d9aa62d71814d5feea8d", "commits": [], - "end_line": 25, - "id": "E1", + "end_line": 44, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/jersey/PrefixAddingModelProcessor.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/AccessTokenServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/jersey" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog/grn", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/lookup->M:graylog2-server/src/main/java/org/graylog/grn", - "kind": "uses", - "refs": [ + "start_line": 44 + }, { - "blob_sha": "5339bf743d6aca48b0619c7d4db305300b85eda4", + "blob_sha": "e530e3fecc30ef49ccfa9031fe8732c704881edb", "commits": [], - "end_line": 22, - "id": "E1", + "end_line": 19, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/lookup/Catalog.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/PasswordAlgorithmFactory.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/lookup" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/lookup->M:graylog2-server/src/main/java/org/graylog2/(root)", - "kind": "uses", - "refs": [ + "start_line": 19 + }, { - "blob_sha": "ba68942af01af82c3c332b3484b899e796b2e5b9", + "blob_sha": "58db7dcf0087143651b7f6f8c3e84398d932de23", "commits": [], - "end_line": 21, - "id": "E1", + "end_line": 33, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/lookup/LookupModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/UserSessionTerminationService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 33 + }, + { + "blob_sha": "58db7dcf0087143651b7f6f8c3e84398d932de23", + "commits": [], + "end_line": 34, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/security/UserSessionTerminationService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/lookup" + "src": "M:graylog2-server/src/main/java/org/graylog2/security" }, { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/contentpacks", + "count": 7, + "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/lookup->M:graylog2-server/src/main/java/org/graylog2/contentpacks", + "id": "M:graylog2-server/src/main/java/org/graylog2/security->M:graylog2-server/src/main/java/org/graylog2/rest", "kind": "uses", "refs": [ { - "blob_sha": "5339bf743d6aca48b0619c7d4db305300b85eda4", + "blob_sha": "9dd78172b85a7792eaaaa685409faaf517fcb0fa", "commits": [], - "end_line": 23, + "end_line": 22, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/lookup/Catalog.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/AccessTokenService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 22 }, { - "blob_sha": "5339bf743d6aca48b0619c7d4db305300b85eda4", + "blob_sha": "86f330e28f502095cdc1d9aa62d71814d5feea8d", "commits": [], - "end_line": 24, + "end_line": 45, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/lookup/Catalog.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/AccessTokenServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 45 + }, + { + "blob_sha": "50bc61d356690d9c7a84dc19a81c0f189af0fd3a", + "commits": [], + "end_line": 24, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/security/PaginatedAccessTokenEntityService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 24 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/lookup" - }, - { - "count": 33, - "dst": "M:graylog2-server/src/main/java/org/graylog2/database", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/lookup->M:graylog2-server/src/main/java/org/graylog2/database", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "c722d608707291508c31d8621a6608f0b67f2b06", + "blob_sha": "bbd77e3c36f8ee050aa31c5a2958d69af9237ec9", "commits": [], - "end_line": 20, - "id": "E1", + "end_line": 32, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/lookup/db/DBCacheService.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/realm/HTTPHeaderAuthenticationRealm.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 32 }, { - "blob_sha": "c722d608707291508c31d8621a6608f0b67f2b06", + "blob_sha": "d4c98a862bf08ffa2f82104a4e8e37b764454ca2", "commits": [], - "end_line": 26, - "id": "E2", + "end_line": 30, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/lookup/db/DBCacheService.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/realm/SessionAuthenticator.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 30 }, { - "blob_sha": "c722d608707291508c31d8621a6608f0b67f2b06", + "blob_sha": "e80e6f24a5b081d76b615c95e61de8b1fd2840b8", "commits": [], - "end_line": 27, - "id": "E3", + "end_line": 21, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/lookup/db/DBCacheService.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/sessions/SessionAuthContext.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 21 + }, + { + "blob_sha": "a07a59ccd88431ec894c423d6449250d2a77311a", + "commits": [], + "end_line": 25, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/security/sessions/SessionConverter.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/lookup" + "src": "M:graylog2-server/src/main/java/org/graylog2/security" }, { "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/events", + "dst": "M:graylog2-server/src/main/java/org/graylog2/search", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/lookup->M:graylog2-server/src/main/java/org/graylog2/events", + "id": "M:graylog2-server/src/main/java/org/graylog2/security->M:graylog2-server/src/main/java/org/graylog2/search", "kind": "uses", "refs": [ { - "blob_sha": "c722d608707291508c31d8621a6608f0b67f2b06", + "blob_sha": "9dd78172b85a7792eaaaa685409faaf517fcb0fa", "commits": [], - "end_line": 32, + "end_line": 23, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/lookup/db/DBCacheService.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/AccessTokenService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 32 + "start_line": 23 }, { - "blob_sha": "81d4c66650af7a39615b144807885b64cf026f58", + "blob_sha": "86f330e28f502095cdc1d9aa62d71814d5feea8d", "commits": [], - "end_line": 32, + "end_line": 46, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/lookup/db/DBDataAdapterService.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/AccessTokenServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 32 + "start_line": 46 }, { - "blob_sha": "44c824d3429c15a76c0b2f966b1a3e894a989ce9", + "blob_sha": "50bc61d356690d9c7a84dc19a81c0f189af0fd3a", "commits": [], - "end_line": 32, + "end_line": 25, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/lookup/db/DBLookupTableService.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/PaginatedAccessTokenEntityService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 32 + "start_line": 25 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/lookup" + "src": "M:graylog2-server/src/main/java/org/graylog2/security" }, { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/jackson", + "count": 24, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/lookup->M:graylog2-server/src/main/java/org/graylog2/jackson", + "id": "M:graylog2-server/src/main/java/org/graylog2/security->M:graylog2-server/src/main/java/org/graylog2/shared", "kind": "uses", "refs": [ { - "blob_sha": "d852d06956aa9e4a4e46afe09c9dfedd845b4708", + "blob_sha": "280993daf2bd22fae13654329f019816aa4af100", "commits": [], - "end_line": 23, + "end_line": 28, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/lookup/LookupDefaultMultiValue.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/InMemoryRolePermissionResolver.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/lookup" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/notifications", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/lookup->M:graylog2-server/src/main/java/org/graylog2/notifications", - "kind": "uses", - "refs": [ + "start_line": 28 + }, { - "blob_sha": "fde7d1e52f7322ee10a8f3075944cb7218940d1b", + "blob_sha": "0638ce880823acec0befa77882fc9047d6fd68a9", "commits": [], - "end_line": 49, - "id": "E1", + "end_line": 26, + "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/lookup/adapters/HTTPJSONPathDataAdapter.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/MongoDbAuthorizationCacheManager.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 49 + "start_line": 26 }, { - "blob_sha": "fde7d1e52f7322ee10a8f3075944cb7218940d1b", + "blob_sha": "752463ce4f086e5bf4b709132bae12c907e15660", "commits": [], - "end_line": 50, - "id": "E2", + "end_line": 21, + "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/lookup/adapters/HTTPJSONPathDataAdapter.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/RestrictedChainingClassLoader.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 50 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/lookup" - }, - { - "count": 48, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/lookup->M:graylog2-server/src/main/java/org/graylog2/plugin", - "kind": "uses", - "refs": [ + "start_line": 21 + }, { - "blob_sha": "97fc3eb196010c0044665c937ae3bc88cfbcef55", + "blob_sha": "752463ce4f086e5bf4b709132bae12c907e15660", "commits": [], - "end_line": 19, - "id": "E1", + "end_line": 23, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/lookup/CachePurge.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/RestrictedChainingClassLoader.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 23 }, { - "blob_sha": "97fc3eb196010c0044665c937ae3bc88cfbcef55", + "blob_sha": "e8c65600ca96f97a83aeb39483683a21f15b56d9", "commits": [], "end_line": 20, - "id": "E2", + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/lookup/CachePurge.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/TrustManagerAggregator.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 20 }, { - "blob_sha": "97fc3eb196010c0044665c937ae3bc88cfbcef55", + "blob_sha": "b44e17aa25b9239bfebe03ff798332a94021644a", "commits": [], - "end_line": 21, - "id": "E3", + "end_line": 48, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/lookup/CachePurge.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/TruststoreCreator.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/lookup" - }, - { - "count": 5, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/lookup->M:graylog2-server/src/main/java/org/graylog2/shared", - "kind": "uses", - "refs": [ + "start_line": 48 + }, { - "blob_sha": "28fca6ed6d8b02ae68e4cf5b49132e4a45fd43f4", + "blob_sha": "58db7dcf0087143651b7f6f8c3e84398d932de23", "commits": [], - "end_line": 69, - "id": "E1", + "end_line": 38, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/lookup/LookupTableService.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/UserSessionTerminationService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 69 + "start_line": 38 }, { - "blob_sha": "435eff6db9497eae2effc46825ad3a004ae05131", + "blob_sha": "6ce8133c0eee41ce442ae4207f34b880a4c5c0c2", "commits": [], - "end_line": 74, - "id": "E2", + "end_line": 29, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/lookup/adapters/CSVFileDataAdapter.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/realm/AccessTokenAuthenticator.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 74 + "start_line": 29 }, { - "blob_sha": "7fc93e6ebedf62488e8d0fc955ec476df6d243b0", + "blob_sha": "6ce8133c0eee41ce442ae4207f34b880a4c5c0c2", "commits": [], - "end_line": 48, - "id": "E3", + "end_line": 30, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/lookup/adapters/DnsLookupDataAdapter.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/realm/AccessTokenAuthenticator.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 48 + "start_line": 30 + }, + { + "blob_sha": "6ce8133c0eee41ce442ae4207f34b880a4c5c0c2", + "commits": [], + "end_line": 31, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/security/realm/AccessTokenAuthenticator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/lookup" + "src": "M:graylog2-server/src/main/java/org/graylog2/security" }, { - "count": 11, - "dst": "M:graylog2-server/src/main/java/org/graylog2/system", + "count": 8, + "dst": "M:graylog2-server/src/main/java/org/graylog2/users", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/lookup->M:graylog2-server/src/main/java/org/graylog2/system", + "id": "M:graylog2-server/src/main/java/org/graylog2/security->M:graylog2-server/src/main/java/org/graylog2/users", "kind": "uses", "refs": [ { - "blob_sha": "ba68942af01af82c3c332b3484b899e796b2e5b9", + "blob_sha": "86f330e28f502095cdc1d9aa62d71814d5feea8d", "commits": [], - "end_line": 32, + "end_line": 47, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/lookup/LookupModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/AccessTokenServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 32 + "start_line": 47 }, { - "blob_sha": "ba68942af01af82c3c332b3484b899e796b2e5b9", + "blob_sha": "86f330e28f502095cdc1d9aa62d71814d5feea8d", "commits": [], - "end_line": 33, + "end_line": 48, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/lookup/LookupModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/AccessTokenServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 33 + "start_line": 48 }, { - "blob_sha": "ba68942af01af82c3c332b3484b899e796b2e5b9", + "blob_sha": "280993daf2bd22fae13654329f019816aa4af100", "commits": [], - "end_line": 34, + "end_line": 29, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/lookup/LookupModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/InMemoryRolePermissionResolver.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 34 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/lookup" - }, - { - "count": 6, - "dst": "M:graylog2-server/src/main/java/org/graylog2/utilities", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/lookup->M:graylog2-server/src/main/java/org/graylog2/utilities", - "kind": "uses", - "refs": [ + "start_line": 29 + }, { - "blob_sha": "9bea9211a1f49a1c3a25f37bd9d8144fb2776822", + "blob_sha": "280993daf2bd22fae13654329f019816aa4af100", "commits": [], - "end_line": 34, - "id": "E1", + "end_line": 30, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/lookup/LookupDataAdapterRefreshService.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/InMemoryRolePermissionResolver.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 34 + "start_line": 30 }, { - "blob_sha": "28fca6ed6d8b02ae68e4cf5b49132e4a45fd43f4", + "blob_sha": "e530e3fecc30ef49ccfa9031fe8732c704881edb", "commits": [], - "end_line": 44, - "id": "E2", + "end_line": 20, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/lookup/LookupTableService.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/PasswordAlgorithmFactory.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 44 + "start_line": 20 }, { - "blob_sha": "28fca6ed6d8b02ae68e4cf5b49132e4a45fd43f4", + "blob_sha": "58db7dcf0087143651b7f6f8c3e84398d932de23", "commits": [], - "end_line": 70, - "id": "E3", + "end_line": 39, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/lookup/LookupTableService.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/UserSessionTerminationService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 70 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/lookup" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/web", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/lookup->M:graylog2-server/src/main/java/org/graylog2/web", - "kind": "uses", - "refs": [ + "start_line": 39 + }, { - "blob_sha": "fde7d1e52f7322ee10a8f3075944cb7218940d1b", + "blob_sha": "f9b3ee3a3a7302cccefec07e8d5ec4d03e39fe87", "commits": [], - "end_line": 58, - "id": "E1", + "end_line": 40, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/lookup/adapters/HTTPJSONPathDataAdapter.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/realm/MongoDbAuthorizationRealm.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 58 + "start_line": 40 + }, + { + "blob_sha": "4c90c8189603c0f17785a467223e80acbb9ae247", + "commits": [], + "end_line": 32, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/security/realm/RootAccountRealm.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/lookup" + "src": "M:graylog2-server/src/main/java/org/graylog2/security" }, { "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog/failure", + "dst": "M:graylog2-server/src/main/java/org/graylog2/utilities", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/messageprocessors->M:graylog2-server/src/main/java/org/graylog/failure", + "id": "M:graylog2-server/src/main/java/org/graylog2/security->M:graylog2-server/src/main/java/org/graylog2/utilities", "kind": "uses", "refs": [ { - "blob_sha": "ca1f6e9dbf3633744bde5a02388fc8f08441d635", + "blob_sha": "bbd77e3c36f8ee050aa31c5a2958d69af9237ec9", "commits": [], - "end_line": 25, + "end_line": 37, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/messageprocessors/MessageFilterChainProcessor.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/realm/HTTPHeaderAuthenticationRealm.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 37 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/messageprocessors" + "src": "M:graylog2-server/src/main/java/org/graylog2/security" }, { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", + "count": 3, + "dst": "M:graylog2-web-interface/src/logic", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/messageprocessors->M:graylog2-server/src/main/java/org/graylog/plugins", + "id": "M:graylog2-server/src/main/java/org/graylog2/security->M:graylog2-web-interface/src/logic", "kind": "uses", "refs": [ { - "blob_sha": "0fca1ff87ce0663ce04fc9d8c06313dc700ff524", + "blob_sha": "58db7dcf0087143651b7f6f8c3e84398d932de23", "commits": [], - "end_line": 20, + "end_line": 30, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/messageprocessors/MessageProcessorModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/UserSessionTerminationService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 30 }, { - "blob_sha": "0fca1ff87ce0663ce04fc9d8c06313dc700ff524", + "blob_sha": "d4c98a862bf08ffa2f82104a4e8e37b764454ca2", "commits": [], - "end_line": 21, + "end_line": 25, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/messageprocessors/MessageProcessorModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/realm/SessionAuthenticator.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/messageprocessors" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/messageprocessors->M:graylog2-server/src/main/java/org/graylog2/cluster", - "kind": "uses", - "refs": [ + "start_line": 25 + }, { - "blob_sha": "354b59dbc114f6d66d3fa92bb755ceb99e369265", + "blob_sha": "0ab6da846275bd0bbe2ac8c4f1a30d3f0e629dad", "commits": [], - "end_line": 24, - "id": "E1", + "end_line": 23, + "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/messageprocessors/OrderedMessageProcessors.java", + "path": "graylog2-server/src/main/java/org/graylog2/security/sessions/SessionDAO.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 23 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/messageprocessors" + "src": "M:graylog2-server/src/main/java/org/graylog2/security" }, { - "count": 15, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "count": 7, + "dst": "M:graylog2-server/src/main/java/org/graylog/failure", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/messageprocessors->M:graylog2-server/src/main/java/org/graylog2/plugin", + "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog/failure", "kind": "uses", "refs": [ { - "blob_sha": "ca1f6e9dbf3633744bde5a02388fc8f08441d635", + "blob_sha": "d97e14c7d8d5e30b36fb99908e8fac9a9d6f7e36", "commits": [], - "end_line": 26, + "end_line": 28, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/messageprocessors/MessageFilterChainProcessor.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/GenericBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 28 }, { - "blob_sha": "ca1f6e9dbf3633744bde5a02388fc8f08441d635", + "blob_sha": "d97e14c7d8d5e30b36fb99908e8fac9a9d6f7e36", "commits": [], - "end_line": 27, + "end_line": 29, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/messageprocessors/MessageFilterChainProcessor.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/GenericBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 29 }, { - "blob_sha": "ca1f6e9dbf3633744bde5a02388fc8f08441d635", + "blob_sha": "d97e14c7d8d5e30b36fb99908e8fac9a9d6f7e36", "commits": [], - "end_line": 28, + "end_line": 30, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/messageprocessors/MessageFilterChainProcessor.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/GenericBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/messageprocessors" - }, - { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/messageprocessors->M:graylog2-server/src/main/java/org/graylog2/shared", - "kind": "uses", - "refs": [ + "start_line": 30 + }, { - "blob_sha": "ca1f6e9dbf3633744bde5a02388fc8f08441d635", + "blob_sha": "d97e14c7d8d5e30b36fb99908e8fac9a9d6f7e36", "commits": [], "end_line": 31, - "id": "E1", + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/messageprocessors/MessageFilterChainProcessor.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/GenericBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 31 }, { - "blob_sha": "ca1f6e9dbf3633744bde5a02388fc8f08441d635", + "blob_sha": "d97e14c7d8d5e30b36fb99908e8fac9a9d6f7e36", "commits": [], "end_line": 32, - "id": "E2", + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/messageprocessors/MessageFilterChainProcessor.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/GenericBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 32 }, { - "blob_sha": "ca1f6e9dbf3633744bde5a02388fc8f08441d635", + "blob_sha": "90eb2f9a8e3cd838d6892a4847a74e1642caaff5", "commits": [], - "end_line": 33, - "id": "E3", + "end_line": 28, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/messageprocessors/MessageFilterChainProcessor.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/buffers/processors/DecodingProcessor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 33 + "start_line": 28 + }, + { + "blob_sha": "00502edaa711704f5d0b293d84b5ee75bafe4df7", + "commits": [], + "end_line": 27, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/shared/buffers/processors/ProcessBufferProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/messageprocessors" + "src": "M:graylog2-server/src/main/java/org/graylog2/shared" }, { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/streams", + "count": 9, + "dst": "M:graylog2-server/src/main/java/org/graylog/grn", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/messageprocessors->M:graylog2-server/src/main/java/org/graylog2/streams", + "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog/grn", "kind": "uses", "refs": [ { - "blob_sha": "63b1765260044d9c5d1bc08626570706a3163e28", + "blob_sha": "84acc403afa89b1c6b584cb29ab80c9489cb2330", "commits": [], - "end_line": 26, + "end_line": 23, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/messageprocessors/StreamMatcherFilterProcessor.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/ObjectMapperModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/messageprocessors" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/utilities", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/messageprocessors->M:graylog2-server/src/main/java/org/graylog2/utilities", - "kind": "uses", - "refs": [ + "start_line": 23 + }, { - "blob_sha": "354b59dbc114f6d66d3fa92bb755ceb99e369265", + "blob_sha": "f9f979b94e54186e83b64fcf85cf0fa32704eb45", "commits": [], "end_line": 27, - "id": "E1", + "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/messageprocessors/OrderedMessageProcessors.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/ObjectMapperProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 27 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/messageprocessors" - }, - { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/metrics->M:graylog2-server/src/main/java/org/graylog/plugins", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "d2ffbc61c50115c28e76e4065c769ffab06f67c1", + "blob_sha": "debaa815f746d644f0d3e62861080b0e39e77058", "commits": [], - "end_line": 21, - "id": "E1", + "end_line": 23, + "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/metrics/entity/EntityMetricsService.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/XmlMapperProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 23 }, { - "blob_sha": "4ad2025d62bdc99a235ee60e32c82dc6006e80e1", + "blob_sha": "10d25ddefb533e30baf6e923377a60bb01a2fda6", "commits": [], - "end_line": 19, - "id": "E2", + "end_line": 23, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/metrics/entity/EntityUncachedMetricDescriptor.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/YamlMapperProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 23 }, { - "blob_sha": "1efdad53c4870be345f109647e9ea795c058406c", + "blob_sha": "db564e03c2e37404517c55ff42bfd7469b441cf9", + "commits": [], + "end_line": 37, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/config/ObjectMapperConfiguration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 37 + }, + { + "blob_sha": "db564e03c2e37404517c55ff42bfd7469b441cf9", + "commits": [], + "end_line": 38, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/config/ObjectMapperConfiguration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 38 + }, + { + "blob_sha": "db564e03c2e37404517c55ff42bfd7469b441cf9", + "commits": [], + "end_line": 39, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/config/ObjectMapperConfiguration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 39 + }, + { + "blob_sha": "db564e03c2e37404517c55ff42bfd7469b441cf9", + "commits": [], + "end_line": 40, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/config/ObjectMapperConfiguration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 40 + }, + { + "blob_sha": "e4874818df45c53567ee12a3769bd6832690e2f4", + "commits": [], + "end_line": 20, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/shared/security/RestPermissions.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/shared" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog/inputs", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog/inputs", + "kind": "uses", + "refs": [ + { + "blob_sha": "1aab5d708ed99f842080ef77965682694ca3ecb3", "commits": [], "end_line": 20, - "id": "E3", + "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/metrics/entity/cache/EntityCachedMetricDescriptor.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/MessageInputBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 20 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/metrics" + "src": "M:graylog2-server/src/main/java/org/graylog2/shared" }, { "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", + "dst": "M:graylog2-server/src/main/java/org/graylog/mcp", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/metrics->M:graylog2-server/src/main/java/org/graylog2/configuration", + "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog/mcp", "kind": "uses", "refs": [ { - "blob_sha": "94781e3f02a7323050618d847bebd3c930eb6929", + "blob_sha": "b11c7c99325ed18d5b3290638f0987d92e81327a", "commits": [], "end_line": 22, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/metrics/entity/cache/MetricsCacheConfiguration.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/RestApiBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 22 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/metrics" + "src": "M:graylog2-server/src/main/java/org/graylog2/shared" }, { "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/database", + "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/metrics->M:graylog2-server/src/main/java/org/graylog2/database", + "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog/plugins", "kind": "uses", "refs": [ { - "blob_sha": "ff245ead44330263b5301081ea347a9750d95810", + "blob_sha": "1aab5d708ed99f842080ef77965682694ca3ecb3", "commits": [], - "end_line": 32, + "end_line": 21, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/metrics/entity/cache/MetricsCacheService.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/MessageInputBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 32 + "start_line": 21 }, { - "blob_sha": "ff245ead44330263b5301081ea347a9750d95810", + "blob_sha": "824990df081e0e8bb2503860021bbd8638c8b9b9", "commits": [], - "end_line": 43, + "end_line": 22, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/metrics/entity/cache/MetricsCacheService.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/ValidatorModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 43 + "start_line": 22 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/metrics" + "src": "M:graylog2-server/src/main/java/org/graylog2/shared" }, { - "count": 5, - "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog/scheduler", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/metrics->M:graylog2-server/src/main/java/org/graylog2/indexer", + "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog/scheduler", "kind": "uses", "refs": [ { - "blob_sha": "c296de301d69c745e8250e2c89b0e0850c8d916d", + "blob_sha": "3c7933c474e7bf89523356aed710d992cbea5ec4", "commits": [], - "end_line": 26, + "end_line": 19, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/metrics/entity/EntityMetricsModule.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 - }, - { - "blob_sha": "c296de301d69c745e8250e2c89b0e0850c8d916d", - "commits": [], - "end_line": 27, - "id": "E2", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/metrics/entity/EntityMetricsModule.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 - }, - { - "blob_sha": "c296de301d69c745e8250e2c89b0e0850c8d916d", - "commits": [], - "end_line": 28, - "id": "E3", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/metrics/entity/EntityMetricsModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/security/CertificateRenewalBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 + "start_line": 19 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/metrics" + "src": "M:graylog2-server/src/main/java/org/graylog2/shared" }, { - "count": 5, - "dst": "M:graylog2-server/src/main/java/org/graylog2/inputs", + "count": 9, + "dst": "M:graylog2-server/src/main/java/org/graylog/security", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/metrics->M:graylog2-server/src/main/java/org/graylog2/inputs", + "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog/security", "kind": "uses", "refs": [ { - "blob_sha": "c296de301d69c745e8250e2c89b0e0850c8d916d", + "blob_sha": "b6fa8052cbb6de4441cf6280a9901094b7e1c45b", "commits": [], - "end_line": 31, + "end_line": 22, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/metrics/entity/EntityMetricsModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/GenericInitializerBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 31 + "start_line": 22 }, { - "blob_sha": "c296de301d69c745e8250e2c89b0e0850c8d916d", + "blob_sha": "99ffa34db1c1e59a72b7d259d8d1dd1da4145991", "commits": [], - "end_line": 32, + "end_line": 47, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/metrics/entity/EntityMetricsModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/initializers/JerseyService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 32 + "start_line": 47 }, { - "blob_sha": "c296de301d69c745e8250e2c89b0e0850c8d916d", + "blob_sha": "978364e7f2fb6c4af0d85f1f412d482a3f0ba34d", "commits": [], - "end_line": 33, + "end_line": 21, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/metrics/entity/EntityMetricsModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/rest/resources/csp/CSPEventListener.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 33 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/metrics" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/metrics->M:graylog2-server/src/main/java/org/graylog2/shared", - "kind": "uses", - "refs": [ + "start_line": 21 + }, { - "blob_sha": "d2ffbc61c50115c28e76e4065c769ffab06f67c1", + "blob_sha": "66596b32fbdb0fa7c5f23b303825f2c7e51aba43", "commits": [], - "end_line": 36, - "id": "E1", + "end_line": 20, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/metrics/entity/EntityMetricsService.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/rest/resources/csp/CSPServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 36 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/metrics" - }, - { - "count": 7, - "dst": "M:graylog2-server/src/main/java/org/graylog2/streams", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/metrics->M:graylog2-server/src/main/java/org/graylog2/streams", - "kind": "uses", - "refs": [ + "start_line": 20 + }, { - "blob_sha": "c296de301d69c745e8250e2c89b0e0850c8d916d", + "blob_sha": "3c7933c474e7bf89523356aed710d992cbea5ec4", "commits": [], - "end_line": 37, - "id": "E1", + "end_line": 20, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/metrics/entity/EntityMetricsModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/security/CertificateRenewalBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 + "start_line": 20 }, { - "blob_sha": "c296de301d69c745e8250e2c89b0e0850c8d916d", + "blob_sha": "3c7933c474e7bf89523356aed710d992cbea5ec4", "commits": [], - "end_line": 38, - "id": "E2", + "end_line": 21, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/metrics/entity/EntityMetricsModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/security/CertificateRenewalBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 38 + "start_line": 21 }, { - "blob_sha": "c296de301d69c745e8250e2c89b0e0850c8d916d", + "blob_sha": "3c7933c474e7bf89523356aed710d992cbea5ec4", "commits": [], - "end_line": 39, - "id": "E3", + "end_line": 22, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/metrics/entity/EntityMetricsModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/security/CertificateRenewalBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 39 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/metrics" - }, - { - "count": 1, - "dst": "M:graylog2-web-interface/src/components", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/metrics->M:graylog2-web-interface/src/components", - "kind": "uses", - "refs": [ + "start_line": 22 + }, { - "blob_sha": "eeddf323f075261f4303e773aa6d16e26d16f5ca", + "blob_sha": "e4874818df45c53567ee12a3769bd6832690e2f4", "commits": [], - "end_line": 20, - "id": "E1", + "end_line": 21, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/metrics/CacheStatsSet.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/security/RestPermissions.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 21 + }, + { + "blob_sha": "082cf8d04733ad1036e2771e91a7712ad34407b3", + "commits": [], + "end_line": 21, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/shared/users/UserService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/metrics" + "src": "M:graylog2-server/src/main/java/org/graylog2/shared" }, { "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog/aws", + "dst": "M:graylog2-server/src/main/java/org/graylog/util", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog/aws", + "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog/util", "kind": "uses", "refs": [ { - "blob_sha": "30b0443ab58fb152926a0fa2f5323d1c8ae07773", + "blob_sha": "9a9b955e36f614ca3e455f1536f7c576d965f139", "commits": [], - "end_line": 20, + "end_line": 24, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20251030000000_CloudTrailInputConfigMigration.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/rest/RequestIdFilter.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 24 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + "src": "M:graylog2-server/src/main/java/org/graylog2/shared" }, { - "count": 23, - "dst": "M:graylog2-server/src/main/java/org/graylog/events", + "count": 7, + "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog/events", + "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/(root)", "kind": "uses", "refs": [ { - "blob_sha": "01963da66e4c24063935a38b186309aaddcd7878", + "blob_sha": "b11c7c99325ed18d5b3290638f0987d92e81327a", "commits": [], - "end_line": 24, + "end_line": 23, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20190705071400_AddEventIndexSetsMigration.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/RestApiBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 23 }, { - "blob_sha": "01963da66e4c24063935a38b186309aaddcd7878", + "blob_sha": "9642ee06f51e2c5a1db0fbc497be125bfeee84a7", "commits": [], - "end_line": 25, + "end_line": 23, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20190705071400_AddEventIndexSetsMigration.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/inputs/InputLauncher.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 23 }, { - "blob_sha": "01963da66e4c24063935a38b186309aaddcd7878", + "blob_sha": "ea23dd234ebcc54577ec5861b0b462700eb820ba", "commits": [], - "end_line": 53, + "end_line": 20, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20190705071400_AddEventIndexSetsMigration.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/messageq/MessageQueueModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 53 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" - }, - { - "count": 19, - "dst": "M:graylog2-server/src/main/java/org/graylog/grn", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog/grn", - "kind": "uses", - "refs": [ + "start_line": 20 + }, { - "blob_sha": "41fdcf1f5d5d7aae4259f79aa798a72f6ddd9ed0", + "blob_sha": "b655ed252b9e35612326f6f3ee65a757e78269ed", "commits": [], - "end_line": 25, - "id": "E1", + "end_line": 35, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/GrantsMetaMigration.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/rest/resources/documentation/DocumentationResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 35 }, { - "blob_sha": "41fdcf1f5d5d7aae4259f79aa798a72f6ddd9ed0", + "blob_sha": "72df7fcef869fbf8cf5539e26b792ad946ce6925", "commits": [], - "end_line": 26, - "id": "E2", + "end_line": 33, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/GrantsMetaMigration.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/rest/resources/system/inputs/InputTypesResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 33 }, { - "blob_sha": "41fdcf1f5d5d7aae4259f79aa798a72f6ddd9ed0", + "blob_sha": "d6df970ae135122aae6cc0f00140ee086b1cf8dd", "commits": [], - "end_line": 47, - "id": "E3", + "end_line": 22, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/GrantsMetaMigration.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/system/stats/fs/JmxFsProbe.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 47 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog/mcp", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog/mcp", - "kind": "uses", - "refs": [ + "start_line": 22 + }, { - "blob_sha": "397301ca35befad3fcb7dfcdadf49078448733c9", + "blob_sha": "4613470404bfef2d9ceb06a50105dc9c02d14674", "commits": [], - "end_line": 20, - "id": "E1", + "end_line": 23, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20251003000000_AddMcpConfigurationMigration.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/system/stats/fs/OshiFsProbe.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 23 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + "src": "M:graylog2-server/src/main/java/org/graylog2/shared" }, { - "count": 34, - "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", + "count": 11, + "dst": "M:graylog2-server/src/main/java/org/graylog2/audit", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog/plugins", + "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/audit", "kind": "uses", "refs": [ { - "blob_sha": "41fdcf1f5d5d7aae4259f79aa798a72f6ddd9ed0", + "blob_sha": "99ffa34db1c1e59a72b7d259d8d1dd1da4145991", "commits": [], - "end_line": 50, + "end_line": 48, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/GrantsMetaMigration.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/initializers/JerseyService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 50 + "start_line": 48 }, { - "blob_sha": "41fdcf1f5d5d7aae4259f79aa798a72f6ddd9ed0", + "blob_sha": "99ffa34db1c1e59a72b7d259d8d1dd1da4145991", "commits": [], - "end_line": 51, + "end_line": 49, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/GrantsMetaMigration.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/initializers/JerseyService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 51 + "start_line": 49 }, { - "blob_sha": "41fdcf1f5d5d7aae4259f79aa798a72f6ddd9ed0", + "blob_sha": "fc80cbe7e0818219614559517f1add994d540344", "commits": [], - "end_line": 27, + "end_line": 29, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/GrantsMetaMigration.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/rest/resources/system/LoadBalancerStatusResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" - }, - { - "count": 5, - "dst": "M:graylog2-server/src/main/java/org/graylog/scheduler", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog/scheduler", - "kind": "uses", - "refs": [ + "start_line": 29 + }, { - "blob_sha": "acefa989c5b01dc1df50a14d6c2ad83c0397cd31", + "blob_sha": "fc80cbe7e0818219614559517f1add994d540344", "commits": [], - "end_line": 31, - "id": "E1", + "end_line": 30, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20220623125450_AddJobTypeToJobTrigger.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/rest/resources/system/LoadBalancerStatusResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 31 + "start_line": 30 }, { - "blob_sha": "acefa989c5b01dc1df50a14d6c2ad83c0397cd31", + "blob_sha": "272234a5338812994425d845ef16eb66457e33a9", "commits": [], - "end_line": 32, - "id": "E2", + "end_line": 30, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20220623125450_AddJobTypeToJobTrigger.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/rest/resources/system/MetricsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 32 + "start_line": 30 }, { - "blob_sha": "acefa989c5b01dc1df50a14d6c2ad83c0397cd31", + "blob_sha": "2635c7e636d2d6a77dc4a97b4091b0efd3b1b73d", "commits": [], - "end_line": 33, - "id": "E3", + "end_line": 20, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20220623125450_AddJobTypeToJobTrigger.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/security/ActorAwareAuthenticationToken.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 33 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" - }, - { - "count": 21, - "dst": "M:graylog2-server/src/main/java/org/graylog/security", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog/security", - "kind": "uses", - "refs": [ + "start_line": 20 + }, { - "blob_sha": "3b10ca3bf61a96541095dd3cdaf4c841ed7c1097", + "blob_sha": "46a67eb65cfbd86d042fcbe9be6d2a20a3c13d31", "commits": [], - "end_line": 25, - "id": "E1", + "end_line": 20, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20180924111644_AddDefaultGrokPatterns.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/security/ActorAwareUsernamePasswordToken.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 20 }, { - "blob_sha": "41fdcf1f5d5d7aae4259f79aa798a72f6ddd9ed0", + "blob_sha": "767e6f5b3d9b6fca1778b2fcc2fae41c1f86bc78", + "commits": [], + "end_line": 27, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/shared/security/SessionCreator.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "767e6f5b3d9b6fca1778b2fcc2fae41c1f86bc78", "commits": [], "end_line": 28, - "id": "E2", + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/GrantsMetaMigration.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/security/SessionCreator.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 28 }, { - "blob_sha": "41fdcf1f5d5d7aae4259f79aa798a72f6ddd9ed0", + "blob_sha": "767e6f5b3d9b6fca1778b2fcc2fae41c1f86bc78", "commits": [], - "end_line": 29, - "id": "E3", + "end_line": 38, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200803120800_GrantsMigrations/GrantsMetaMigration.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/security/SessionCreator.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 + "start_line": 38 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + "src": "M:graylog2-server/src/main/java/org/graylog2/shared" }, { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/buffers", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/(root)", + "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/buffers", "kind": "uses", "refs": [ { - "blob_sha": "3b10ca3bf61a96541095dd3cdaf4c841ed7c1097", + "blob_sha": "00502edaa711704f5d0b293d84b5ee75bafe4df7", "commits": [], - "end_line": 26, + "end_line": 28, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20180924111644_AddDefaultGrokPatterns.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/buffers/processors/ProcessBufferProcessor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 28 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/shared" + }, + { + "count": 9, + "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/cluster", + "kind": "uses", + "refs": [ + { + "blob_sha": "00502edaa711704f5d0b293d84b5ee75bafe4df7", + "commits": [], + "end_line": 29, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/shared/buffers/processors/ProcessBufferProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 }, { - "blob_sha": "b977ecea2c4d6ca236a871c3b4450486477c5692", + "blob_sha": "3dcb4584e12c8cd3e7a632abf555261f9ef2a1d8", "commits": [], - "end_line": 35, + "end_line": 24, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20201103145400_LegacyAuthServiceMigration.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/initializers/PeriodicalsService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 35 + "start_line": 24 }, { - "blob_sha": "d805b36147c1ae3a0952c07db35e67f13a50feb8", + "blob_sha": "3dcb4584e12c8cd3e7a632abf555261f9ef2a1d8", "commits": [], - "end_line": 31, + "end_line": 25, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20230601104500_AddSourcesPageV2.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/initializers/PeriodicalsService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 31 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/bootstrap", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/bootstrap", - "kind": "uses", - "refs": [ + "start_line": 25 + }, { - "blob_sha": "ae905a678424b11730b972fb0b9e98e6bd5c6b07", + "blob_sha": "9642ee06f51e2c5a1db0fbc497be125bfeee84a7", "commits": [], - "end_line": 25, - "id": "E1", + "end_line": 24, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20230929142900_CreateInitialPreflightPassword.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/inputs/InputLauncher.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" - }, - { - "count": 5, - "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/cluster", - "kind": "uses", - "refs": [ + "start_line": 24 + }, { - "blob_sha": "aa3963cffeb97d51f5bd57683b885254b97354e8", + "blob_sha": "bb2c942aa30e53e69e1064beedc3748b5244f7d7", "commits": [], - "end_line": 27, - "id": "E1", + "end_line": 30, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/shared/rest/resources/ProxiedResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "bb2c942aa30e53e69e1064beedc3748b5244f7d7", + "commits": [], + "end_line": 31, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/shared/rest/resources/ProxiedResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "bb2c942aa30e53e69e1064beedc3748b5244f7d7", + "commits": [], + "end_line": 32, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20170110150100_FixAlertConditionsMigration.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/rest/resources/ProxiedResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 32 }, { - "blob_sha": "b11eb545c780e9fdc75f2460456b6fac0a399d19", + "blob_sha": "5756e5a3fe6155dd4df252cbc4ddcf471bdf6ecd", "commits": [], - "end_line": 23, - "id": "E2", + "end_line": 27, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V202406260800_MigrateCertificateAuthority.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/rest/resources/system/SystemResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 27 }, { - "blob_sha": "94f542431c059266f15841c1eac802557d086488", + "blob_sha": "98d8d36dc9a3aa8f5777182ceb3eaf92309eec0b", "commits": [], - "end_line": 20, - "id": "E3", + "end_line": 24, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20261014120000_RotateIndexSetsWithNumericDateFields.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/security/RestrictToLeaderFilter.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 24 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + "src": "M:graylog2-server/src/main/java/org/graylog2/shared" }, { - "count": 8, + "count": 9, "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/configuration", + "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/configuration", "kind": "uses", "refs": [ { - "blob_sha": "32ea8ce18cacd38f4f56405d7fa28ad4c8d88a2c", + "blob_sha": "2b86b2bcaeec242699adca1877dba60cc454035e", "commits": [], - "end_line": 21, + "end_line": 31, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/MaintenanceStrategiesHelper.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/email/EmailFactory.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 31 }, { - "blob_sha": "e96a169a882ef06743ff709c633b80488d109683", + "blob_sha": "a983ccbf98ed980af8481f6903bc0466bcfe62c2", "commits": [], - "end_line": 19, + "end_line": 32, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20151210140600_AddSearchesClusterConfigMigration.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/email/SmtpOAuth2TokenProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 32 }, { - "blob_sha": "698421c9eb0a5f80dc7696b8d8c74920bb05ec6b", + "blob_sha": "99ffa34db1c1e59a72b7d259d8d1dd1da4145991", "commits": [], - "end_line": 21, + "end_line": 50, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20161116172100_DefaultIndexSetMigration.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/initializers/JerseyService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" - }, - { - "count": 19, - "dst": "M:graylog2-server/src/main/java/org/graylog2/contentpacks", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/contentpacks", - "kind": "uses", - "refs": [ + "start_line": 50 + }, { - "blob_sha": "f4466ab57030bebad22238eea2cc2a52d6ccc7a5", + "blob_sha": "99ffa34db1c1e59a72b7d259d8d1dd1da4145991", "commits": [], - "end_line": 24, - "id": "E1", + "end_line": 51, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20180718155800_AddContentPackIdAndRev.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/initializers/JerseyService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 51 }, { - "blob_sha": "f4466ab57030bebad22238eea2cc2a52d6ccc7a5", + "blob_sha": "9135bd0edd4f8182183b84031cc39b68e90b7dd9", "commits": [], - "end_line": 25, - "id": "E2", + "end_line": 34, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20180718155800_AddContentPackIdAndRev.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/rest/documentation/openapi/OpenApiResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 34 }, { - "blob_sha": "3b10ca3bf61a96541095dd3cdaf4c841ed7c1097", + "blob_sha": "e75c955cb53b68663019a52a63d82438e6e61688", "commits": [], - "end_line": 27, - "id": "E3", + "end_line": 33, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20180924111644_AddDefaultGrokPatterns.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/rest/resources/RestResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" - }, - { - "count": 61, - "dst": "M:graylog2-server/src/main/java/org/graylog2/database", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/database", - "kind": "uses", - "refs": [ + "start_line": 33 + }, { - "blob_sha": "087748c9f8b9da19fa4c6fd61d451007c848020a", + "blob_sha": "66596b32fbdb0fa7c5f23b303825f2c7e51aba43", "commits": [], "end_line": 21, - "id": "E1", + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/MigrationHelpers.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/rest/resources/csp/CSPServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 21 }, { - "blob_sha": "087748c9f8b9da19fa4c6fd61d451007c848020a", + "blob_sha": "66596b32fbdb0fa7c5f23b303825f2c7e51aba43", "commits": [], "end_line": 22, - "id": "E2", + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/MigrationHelpers.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/rest/resources/csp/CSPServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 22 }, { - "blob_sha": "ed4aaabe33b846880811fa9b0f1260229ef3b767", + "blob_sha": "b655ed252b9e35612326f6f3ee65a757e78269ed", "commits": [], - "end_line": 29, - "id": "E3", + "end_line": 36, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/RoleRemover.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/rest/resources/documentation/DocumentationResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 + "start_line": 36 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + "src": "M:graylog2-server/src/main/java/org/graylog2/shared" }, { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/datatiering", + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/contentpacks", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/datatiering", + "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/contentpacks", "kind": "uses", "refs": [ { - "blob_sha": "32ea8ce18cacd38f4f56405d7fa28ad4c8d88a2c", + "blob_sha": "cba4bc3ea3b73a95db1705e4f38d3dd124df62bb", "commits": [], - "end_line": 22, + "end_line": 30, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/MaintenanceStrategiesHelper.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/rest/documentation/openapi/CustomReader.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 30 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/shared" + }, + { + "count": 5, + "dst": "M:graylog2-server/src/main/java/org/graylog2/database", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/database", + "kind": "uses", + "refs": [ + { + "blob_sha": "db564e03c2e37404517c55ff42bfd7469b441cf9", + "commits": [], + "end_line": 41, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/config/ObjectMapperConfiguration.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 41 }, { - "blob_sha": "cece8c456cd1cbe2e51cc82d0bc8ca9c76f1e6b0", + "blob_sha": "8a9e75bc0e91c3918e2377e3cd95dacdbf4ea8ff", "commits": [], "end_line": 23, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V202211021200_CreateDefaultIndexTemplate.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/security/EntityPermissionsUtils.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 23 }, { - "blob_sha": "cece8c456cd1cbe2e51cc82d0bc8ca9c76f1e6b0", + "blob_sha": "8a9e75bc0e91c3918e2377e3cd95dacdbf4ea8ff", "commits": [], "end_line": 24, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V202211021200_CreateDefaultIndexTemplate.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/security/EntityPermissionsUtils.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 24 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/events", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/events", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "aad210d70b16949993d742c0b0473ca4a8bab57c", + "blob_sha": "8a9e75bc0e91c3918e2377e3cd95dacdbf4ea8ff", "commits": [], - "end_line": 27, - "id": "E1", + "end_line": 25, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V2018070614390000_EnforceUniqueGrokPatterns.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/security/EntityPermissionsUtils.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 25 }, { - "blob_sha": "0eff73a81d5dd04f42d850c1b67cf25b7fe33011", + "blob_sha": "d9f855c22a0ad4246fbb1b937921101bfe55b881", "commits": [], - "end_line": 28, - "id": "E2", + "end_line": 19, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20251002090400_RemoveLegacySessions.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/tokenusage/TokenUsageService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 + "start_line": 19 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + "src": "M:graylog2-server/src/main/java/org/graylog2/shared" }, { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/featureflag", + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog2/events", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/featureflag", + "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/events", "kind": "uses", "refs": [ { - "blob_sha": "09bb61dca0284cc5cde8134132083dfe05784ab3", + "blob_sha": "b6fa8052cbb6de4441cf6280a9901094b7e1c45b", "commits": [], "end_line": 23, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20260624153204_InitializeOnboardingState.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/GenericInitializerBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 23 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" - }, - { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/grok", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/grok", - "kind": "uses", - "refs": [ - { - "blob_sha": "aad210d70b16949993d742c0b0473ca4a8bab57c", - "commits": [], - "end_line": 28, - "id": "E1", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V2018070614390000_EnforceUniqueGrokPatterns.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 }, { - "blob_sha": "aad210d70b16949993d742c0b0473ca4a8bab57c", + "blob_sha": "b6fa8052cbb6de4441cf6280a9901094b7e1c45b", "commits": [], - "end_line": 29, + "end_line": 24, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V2018070614390000_EnforceUniqueGrokPatterns.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/GenericInitializerBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 + "start_line": 24 }, { - "blob_sha": "35f2c3daca59ea6dbe2f45c58b1c4556546a6ba6", + "blob_sha": "b6fa8052cbb6de4441cf6280a9901094b7e1c45b", "commits": [], "end_line": 25, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20191121145100_FixDefaultGrokPatterns.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/GenericInitializerBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 25 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + "src": "M:graylog2-server/src/main/java/org/graylog2/shared" }, { - "count": 64, - "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/featureflag", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/indexer", + "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/featureflag", "kind": "uses", "refs": [ { - "blob_sha": "32ea8ce18cacd38f4f56405d7fa28ad4c8d88a2c", + "blob_sha": "9642ee06f51e2c5a1db0fbc497be125bfeee84a7", "commits": [], - "end_line": 23, + "end_line": 25, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/MaintenanceStrategiesHelper.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/inputs/InputLauncher.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 25 }, { - "blob_sha": "32ea8ce18cacd38f4f56405d7fa28ad4c8d88a2c", + "blob_sha": "04f9ec675bf4207a0348e295c37fbd5d1a1ff842", "commits": [], - "end_line": 24, + "end_line": 21, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/MaintenanceStrategiesHelper.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 - }, - { - "blob_sha": "32ea8ce18cacd38f4f56405d7fa28ad4c8d88a2c", - "commits": [], - "end_line": 25, - "id": "E3", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/MaintenanceStrategiesHelper.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/inputs/MessageInputFactory.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 21 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + "src": "M:graylog2-server/src/main/java/org/graylog2/shared" }, { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/inputs", + "count": 7, + "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/inputs", + "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/indexer", "kind": "uses", "refs": [ { - "blob_sha": "3445b5b33c6bf3d6160af4ae21b66530c390f9b5", + "blob_sha": "d97e14c7d8d5e30b36fb99908e8fac9a9d6f7e36", "commits": [], - "end_line": 24, + "end_line": 33, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20230213160000_EncryptedInputConfigMigration.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/GenericBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 33 }, { - "blob_sha": "30b0443ab58fb152926a0fa2f5323d1c8ae07773", + "blob_sha": "d97e14c7d8d5e30b36fb99908e8fac9a9d6f7e36", "commits": [], - "end_line": 21, + "end_line": 34, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20251030000000_CloudTrailInputConfigMigration.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/GenericBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 34 }, { - "blob_sha": "30b0443ab58fb152926a0fa2f5323d1c8ae07773", + "blob_sha": "d97e14c7d8d5e30b36fb99908e8fac9a9d6f7e36", "commits": [], - "end_line": 22, + "end_line": 35, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20251030000000_CloudTrailInputConfigMigration.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/GenericBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" - }, - { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/lookup", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/lookup", - "kind": "uses", - "refs": [ + "start_line": 35 + }, { - "blob_sha": "6a0de2f2a83b874fe97d8022c53e83adbddebef7", + "blob_sha": "b6fa8052cbb6de4441cf6280a9901094b7e1c45b", "commits": [], - "end_line": 30, - "id": "E1", + "end_line": 26, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20191129134600_CreateInitialUrlAllowlist.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/GenericInitializerBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 + "start_line": 26 }, { - "blob_sha": "6a0de2f2a83b874fe97d8022c53e83adbddebef7", + "blob_sha": "eae82420f5ebe0e2fe2e001b668fe9df18f58a1d", "commits": [], - "end_line": 31, - "id": "E2", + "end_line": 22, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20191129134600_CreateInitialUrlAllowlist.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/rest/exceptionmappers/ResultWindowLimitExceededExceptionMapper.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 31 + "start_line": 22 }, { - "blob_sha": "6a0de2f2a83b874fe97d8022c53e83adbddebef7", + "blob_sha": "e75c955cb53b68663019a52a63d82438e6e61688", "commits": [], - "end_line": 32, - "id": "E3", + "end_line": 34, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20191129134600_CreateInitialUrlAllowlist.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/rest/resources/RestResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 32 + "start_line": 34 + }, + { + "blob_sha": "e75c955cb53b68663019a52a63d82438e6e61688", + "commits": [], + "end_line": 35, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/shared/rest/resources/RestResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + "src": "M:graylog2-server/src/main/java/org/graylog2/shared" }, { - "count": 5, - "dst": "M:graylog2-server/src/main/java/org/graylog2/messageprocessors", + "count": 22, + "dst": "M:graylog2-server/src/main/java/org/graylog2/inputs", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/messageprocessors", + "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/inputs", "kind": "uses", "refs": [ { - "blob_sha": "4b5f2755aa8c2dbe0b50476618423280bf5820b2", + "blob_sha": "1aab5d708ed99f842080ef77965682694ca3ecb3", "commits": [], - "end_line": 23, + "end_line": 22, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20220719130704_ImprovedDefaultProcessingOrderMigration.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/MessageInputBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 22 }, { - "blob_sha": "4b5f2755aa8c2dbe0b50476618423280bf5820b2", + "blob_sha": "1aab5d708ed99f842080ef77965682694ca3ecb3", "commits": [], - "end_line": 24, + "end_line": 23, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20220719130704_ImprovedDefaultProcessingOrderMigration.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/MessageInputBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 23 }, { - "blob_sha": "cb15b23a3d0e9f6adbe911fccfcd34ff0728ca20", + "blob_sha": "1aab5d708ed99f842080ef77965682694ca3ecb3", "commits": [], - "end_line": 22, + "end_line": 24, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20220818112023_AddStreamMatcherToProcessingOrderMigration.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/MessageInputBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" - }, - { - "count": 6, - "dst": "M:graylog2-server/src/main/java/org/graylog2/notifications", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/notifications", - "kind": "uses", - "refs": [ + "start_line": 24 + }, { - "blob_sha": "b977ecea2c4d6ca236a871c3b4450486477c5692", + "blob_sha": "1aab5d708ed99f842080ef77965682694ca3ecb3", "commits": [], - "end_line": 37, - "id": "E1", + "end_line": 25, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20201103145400_LegacyAuthServiceMigration.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/MessageInputBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 + "start_line": 25 }, { - "blob_sha": "b977ecea2c4d6ca236a871c3b4450486477c5692", + "blob_sha": "1aab5d708ed99f842080ef77965682694ca3ecb3", "commits": [], - "end_line": 38, - "id": "E2", + "end_line": 26, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20201103145400_LegacyAuthServiceMigration.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/MessageInputBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 38 + "start_line": 26 }, { - "blob_sha": "d805b36147c1ae3a0952c07db35e67f13a50feb8", + "blob_sha": "1aab5d708ed99f842080ef77965682694ca3ecb3", "commits": [], - "end_line": 41, - "id": "E3", + "end_line": 27, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20230601104500_AddSourcesPageV2.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/MessageInputBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 41 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" - }, - { - "count": 94, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/plugin", - "kind": "uses", - "refs": [ + "start_line": 27 + }, { - "blob_sha": "32ea8ce18cacd38f4f56405d7fa28ad4c8d88a2c", + "blob_sha": "1aab5d708ed99f842080ef77965682694ca3ecb3", "commits": [], - "end_line": 35, - "id": "E1", + "end_line": 28, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/MaintenanceStrategiesHelper.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/MessageInputBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 35 + "start_line": 28 }, { - "blob_sha": "32ea8ce18cacd38f4f56405d7fa28ad4c8d88a2c", + "blob_sha": "1aab5d708ed99f842080ef77965682694ca3ecb3", "commits": [], - "end_line": 36, - "id": "E2", + "end_line": 29, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/MaintenanceStrategiesHelper.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/MessageInputBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 36 + "start_line": 29 }, { - "blob_sha": "087748c9f8b9da19fa4c6fd61d451007c848020a", + "blob_sha": "1aab5d708ed99f842080ef77965682694ca3ecb3", "commits": [], - "end_line": 23, - "id": "E3", + "end_line": 30, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/MigrationHelpers.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/MessageInputBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/rest", - "kind": "uses", - "refs": [ + "start_line": 30 + }, { - "blob_sha": "001d18abf2fec698215f3328429d1c4e2d28538e", + "blob_sha": "1aab5d708ed99f842080ef77965682694ca3ecb3", "commits": [], - "end_line": 33, - "id": "E1", + "end_line": 31, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20260428120000_AddLayoutVariantToEntityListPreferencesId.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/MessageInputBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 33 + "start_line": 31 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + "src": "M:graylog2-server/src/main/java/org/graylog2/shared" }, { - "count": 8, - "dst": "M:graylog2-server/src/main/java/org/graylog2/security", + "count": 17, + "dst": "M:graylog2-server/src/main/java/org/graylog2/jackson", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/security", + "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/jackson", "kind": "uses", "refs": [ { - "blob_sha": "b1c3bb31965827614f4243e870b6f95cb1ed0237", + "blob_sha": "f9f979b94e54186e83b64fcf85cf0fa32704eb45", "commits": [], - "end_line": 26, + "end_line": 28, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200226181600_EncryptAccessTokensMigration.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/ObjectMapperProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 28 }, { - "blob_sha": "b1c3bb31965827614f4243e870b6f95cb1ed0237", + "blob_sha": "debaa815f746d644f0d3e62861080b0e39e77058", "commits": [], - "end_line": 27, + "end_line": 24, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20200226181600_EncryptAccessTokensMigration.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/XmlMapperProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 24 }, { - "blob_sha": "b977ecea2c4d6ca236a871c3b4450486477c5692", + "blob_sha": "10d25ddefb533e30baf6e923377a60bb01a2fda6", + "commits": [], + "end_line": 24, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/YamlMapperProvider.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "db564e03c2e37404517c55ff42bfd7469b441cf9", "commits": [], - "end_line": 40, - "id": "E3", + "end_line": 42, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20201103145400_LegacyAuthServiceMigration.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/config/ObjectMapperConfiguration.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 40 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" - }, - { - "count": 25, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/shared", - "kind": "uses", - "refs": [ + "start_line": 42 + }, { - "blob_sha": "087748c9f8b9da19fa4c6fd61d451007c848020a", + "blob_sha": "db564e03c2e37404517c55ff42bfd7469b441cf9", "commits": [], - "end_line": 25, - "id": "E1", + "end_line": 43, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/MigrationHelpers.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/config/ObjectMapperConfiguration.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 43 }, { - "blob_sha": "087748c9f8b9da19fa4c6fd61d451007c848020a", + "blob_sha": "db564e03c2e37404517c55ff42bfd7469b441cf9", "commits": [], - "end_line": 26, - "id": "E2", + "end_line": 44, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/MigrationHelpers.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/config/ObjectMapperConfiguration.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 44 }, { - "blob_sha": "ed4aaabe33b846880811fa9b0f1260229ef3b767", + "blob_sha": "db564e03c2e37404517c55ff42bfd7469b441cf9", "commits": [], - "end_line": 30, - "id": "E3", + "end_line": 45, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/RoleRemover.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/config/ObjectMapperConfiguration.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" - }, - { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/storage", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/storage", - "kind": "uses", - "refs": [ + "start_line": 45 + }, { - "blob_sha": "28ec85305d18ecd19b7b7681b8acf61caec4ffe6", + "blob_sha": "db564e03c2e37404517c55ff42bfd7469b441cf9", "commits": [], - "end_line": 28, - "id": "E1", + "end_line": 46, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20170607164210_MigrateReopenedIndicesToAliases.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/config/ObjectMapperConfiguration.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 + "start_line": 46 }, { - "blob_sha": "28ec85305d18ecd19b7b7681b8acf61caec4ffe6", + "blob_sha": "db564e03c2e37404517c55ff42bfd7469b441cf9", "commits": [], - "end_line": 40, - "id": "E2", + "end_line": 47, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20170607164210_MigrateReopenedIndicesToAliases.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/config/ObjectMapperConfiguration.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 40 + "start_line": 47 }, { - "blob_sha": "28ec85305d18ecd19b7b7681b8acf61caec4ffe6", + "blob_sha": "db564e03c2e37404517c55ff42bfd7469b441cf9", "commits": [], - "end_line": 41, - "id": "E3", + "end_line": 48, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20170607164210_MigrateReopenedIndicesToAliases.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/config/ObjectMapperConfiguration.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 41 + "start_line": 48 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + "src": "M:graylog2-server/src/main/java/org/graylog2/shared" }, { - "count": 6, - "dst": "M:graylog2-server/src/main/java/org/graylog2/streams", + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/jersey", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/streams", + "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/jersey", "kind": "uses", "refs": [ { - "blob_sha": "a7d510d7310ec8ca1784af591d62a2f60c9b3cc4", + "blob_sha": "99ffa34db1c1e59a72b7d259d8d1dd1da4145991", "commits": [], - "end_line": 25, + "end_line": 52, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20161116172200_CreateDefaultStreamMigration.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/initializers/JerseyService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 52 }, { - "blob_sha": "a7d510d7310ec8ca1784af591d62a2f60c9b3cc4", + "blob_sha": "99ffa34db1c1e59a72b7d259d8d1dd1da4145991", "commits": [], - "end_line": 26, + "end_line": 53, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20161116172200_CreateDefaultStreamMigration.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/initializers/JerseyService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 - }, + "start_line": 53 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/shared" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/messageprocessors", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/messageprocessors", + "kind": "uses", + "refs": [ { - "blob_sha": "65240a6f2ab6e4de40bf96e3fa6c75be37b980b6", + "blob_sha": "00502edaa711704f5d0b293d84b5ee75bafe4df7", "commits": [], "end_line": 30, - "id": "E3", + "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20161122174500_AssignIndexSetsToStreamsMigration.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/buffers/processors/ProcessBufferProcessor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 30 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + "src": "M:graylog2-server/src/main/java/org/graylog2/shared" }, { - "count": 6, - "dst": "M:graylog2-server/src/main/java/org/graylog2/system", + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog2/periodical", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/system", + "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/periodical", "kind": "uses", "refs": [ { - "blob_sha": "6a0de2f2a83b874fe97d8022c53e83adbddebef7", + "blob_sha": "7901b314f9debe7540563e10741f89df4ea07d84", "commits": [], - "end_line": 36, + "end_line": 26, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20191129134600_CreateInitialUrlAllowlist.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/SchedulerBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 36 + "start_line": 26 }, { - "blob_sha": "6a0de2f2a83b874fe97d8022c53e83adbddebef7", + "blob_sha": "3c19a62b9b0ec6ec24434435eb786e21b180468a", "commits": [], - "end_line": 37, + "end_line": 21, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20191129134600_CreateInitialUrlAllowlist.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/SharedPeriodicalBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 + "start_line": 21 }, { - "blob_sha": "6a0de2f2a83b874fe97d8022c53e83adbddebef7", + "blob_sha": "3dcb4584e12c8cd3e7a632abf555261f9ef2a1d8", "commits": [], - "end_line": 38, + "end_line": 26, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/V20191129134600_CreateInitialUrlAllowlist.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/initializers/PeriodicalsService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 38 + "start_line": 26 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" + "src": "M:graylog2-server/src/main/java/org/graylog2/shared" }, { - "count": 15, - "dst": "M:graylog2-server/src/main/java/org/graylog2/users", + "count": 136, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/migrations->M:graylog2-server/src/main/java/org/graylog2/users", + "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/plugin", "kind": "uses", "refs": [ { - "blob_sha": "087748c9f8b9da19fa4c6fd61d451007c848020a", + "blob_sha": "9a076b53276d853da5e0fbd32f69a95e86145255", "commits": [], - "end_line": 27, + "end_line": 19, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/MigrationHelpers.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/ServerVersion.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 19 }, { - "blob_sha": "087748c9f8b9da19fa4c6fd61d451007c848020a", + "blob_sha": "d97e14c7d8d5e30b36fb99908e8fac9a9d6f7e36", "commits": [], - "end_line": 28, + "end_line": 36, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/MigrationHelpers.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/GenericBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 + "start_line": 36 }, { - "blob_sha": "087748c9f8b9da19fa4c6fd61d451007c848020a", + "blob_sha": "d97e14c7d8d5e30b36fb99908e8fac9a9d6f7e36", "commits": [], - "end_line": 29, + "end_line": 37, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/migrations/MigrationHelpers.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/GenericBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/migrations" - }, - { - "count": 8, - "dst": "M:graylog2-server/src/main/java/org/graylog/events", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/notifications->M:graylog2-server/src/main/java/org/graylog/events", - "kind": "uses", - "refs": [ + "start_line": 37 + }, { - "blob_sha": "3819ca2a821339126541b4b1bdae287b577a8258", + "blob_sha": "d97e14c7d8d5e30b36fb99908e8fac9a9d6f7e36", "commits": [], - "end_line": 25, - "id": "E1", + "end_line": 38, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationPaginationService.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/GenericBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 38 }, { - "blob_sha": "d4317780875f71516fc4d10f2ae395644bd7d76b", + "blob_sha": "d97e14c7d8d5e30b36fb99908e8fac9a9d6f7e36", "commits": [], - "end_line": 23, - "id": "E2", + "end_line": 39, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationSystemEventPublisher.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/GenericBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 39 }, { - "blob_sha": "d4317780875f71516fc4d10f2ae395644bd7d76b", + "blob_sha": "d97e14c7d8d5e30b36fb99908e8fac9a9d6f7e36", "commits": [], - "end_line": 24, - "id": "E3", + "end_line": 40, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationSystemEventPublisher.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/GenericBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/notifications" - }, - { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/audit", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/notifications->M:graylog2-server/src/main/java/org/graylog2/audit", - "kind": "uses", - "refs": [ + "start_line": 40 + }, { - "blob_sha": "39bf0a9b22ed82cdf8e5e18ffadc1b908b1ede1f", + "blob_sha": "1aab5d708ed99f842080ef77965682694ca3ecb3", "commits": [], - "end_line": 23, - "id": "E1", + "end_line": 41, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationServiceImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/MessageInputBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 41 }, { - "blob_sha": "39bf0a9b22ed82cdf8e5e18ffadc1b908b1ede1f", + "blob_sha": "1aab5d708ed99f842080ef77965682694ca3ecb3", + "commits": [], + "end_line": 42, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/MessageInputBindings.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 42 + }, + { + "blob_sha": "84acc403afa89b1c6b584cb29ab80c9489cb2330", "commits": [], "end_line": 24, - "id": "E2", + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationServiceImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/ObjectMapperModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 24 }, { - "blob_sha": "39bf0a9b22ed82cdf8e5e18ffadc1b908b1ede1f", + "blob_sha": "50f9c5a46ae96bcb31955a97bd2252f174dede63", "commits": [], - "end_line": 46, - "id": "E3", + "end_line": 23, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationServiceImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/PluginBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 46 + "start_line": 23 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/notifications" + "src": "M:graylog2-server/src/main/java/org/graylog2/shared" }, { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", + "count": 49, + "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/notifications->M:graylog2-server/src/main/java/org/graylog2/cluster", + "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/rest", "kind": "uses", "refs": [ { - "blob_sha": "57eff22d23023a292e3ceba22cea72fb01f62351", + "blob_sha": "b11c7c99325ed18d5b3290638f0987d92e81327a", "commits": [], - "end_line": 20, + "end_line": 25, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/notifications/Notification.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/RestApiBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 25 }, { - "blob_sha": "e772638f1c6c5ef83ac7c0ae28913e42163b54d6", + "blob_sha": "b11c7c99325ed18d5b3290638f0987d92e81327a", "commits": [], - "end_line": 22, + "end_line": 26, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/RestApiBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 26 }, { - "blob_sha": "2091f208a69586e886e13f5398523f4d86d756c2", + "blob_sha": "99ffa34db1c1e59a72b7d259d8d1dd1da4145991", "commits": [], - "end_line": 19, + "end_line": 56, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationService.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/initializers/JerseyService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/notifications" - }, - { - "count": 6, - "dst": "M:graylog2-server/src/main/java/org/graylog2/database", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/notifications->M:graylog2-server/src/main/java/org/graylog2/database", - "kind": "uses", - "refs": [ + "start_line": 56 + }, { - "blob_sha": "e772638f1c6c5ef83ac7c0ae28913e42163b54d6", + "blob_sha": "99ffa34db1c1e59a72b7d259d8d1dd1da4145991", "commits": [], - "end_line": 23, - "id": "E1", + "end_line": 57, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/initializers/JerseyService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 57 }, { - "blob_sha": "e772638f1c6c5ef83ac7c0ae28913e42163b54d6", + "blob_sha": "99ffa34db1c1e59a72b7d259d8d1dd1da4145991", "commits": [], - "end_line": 24, - "id": "E2", + "end_line": 58, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/initializers/JerseyService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 58 }, { - "blob_sha": "3819ca2a821339126541b4b1bdae287b577a8258", + "blob_sha": "04f9ec675bf4207a0348e295c37fbd5d1a1ff842", "commits": [], "end_line": 26, - "id": "E3", + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationPaginationService.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/inputs/MessageInputFactory.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 26 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/notifications" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/events", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/notifications->M:graylog2-server/src/main/java/org/graylog2/events", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "d4a4c1b18a9fcdfd98f8b29086b2b851aaed8346", + "blob_sha": "d2b00fd684400fc32bb4e8db2dd239b3741cdc5d", "commits": [], - "end_line": 21, - "id": "E1", + "end_line": 29, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/notifications/DeletedStreamNotificationListener.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/metrics/MetricUtils.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/notifications" - }, - { - "count": 7, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/notifications->M:graylog2-server/src/main/java/org/graylog2/plugin", - "kind": "uses", - "refs": [ + "start_line": 29 + }, { - "blob_sha": "57eff22d23023a292e3ceba22cea72fb01f62351", + "blob_sha": "d2b00fd684400fc32bb4e8db2dd239b3741cdc5d", "commits": [], - "end_line": 21, - "id": "E1", + "end_line": 30, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/notifications/Notification.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/metrics/MetricUtils.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 30 }, { - "blob_sha": "e772638f1c6c5ef83ac7c0ae28913e42163b54d6", + "blob_sha": "d2b00fd684400fc32bb4e8db2dd239b3741cdc5d", "commits": [], - "end_line": 25, - "id": "E2", + "end_line": 31, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/metrics/MetricUtils.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 31 }, { - "blob_sha": "e772638f1c6c5ef83ac7c0ae28913e42163b54d6", + "blob_sha": "6501ba0aec86d118ecd9351dd446949c422f6fc3", "commits": [], - "end_line": 26, - "id": "E3", + "end_line": 24, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/rest/PrintModelProcessor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 24 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/notifications" + "src": "M:graylog2-server/src/main/java/org/graylog2/shared" }, { "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", + "dst": "M:graylog2-server/src/main/java/org/graylog2/search", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/notifications->M:graylog2-server/src/main/java/org/graylog2/rest", + "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/search", "kind": "uses", "refs": [ { - "blob_sha": "3819ca2a821339126541b4b1bdae287b577a8258", + "blob_sha": "d9f855c22a0ad4246fbb1b937921101bfe55b881", "commits": [], - "end_line": 28, + "end_line": 22, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationPaginationService.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/tokenusage/TokenUsageService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 + "start_line": 22 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/notifications" + "src": "M:graylog2-server/src/main/java/org/graylog2/shared" }, { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "count": 14, + "dst": "M:graylog2-server/src/main/java/org/graylog2/security", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/notifications->M:graylog2-server/src/main/java/org/graylog2/shared", + "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/security", "kind": "uses", "refs": [ { - "blob_sha": "e772638f1c6c5ef83ac7c0ae28913e42163b54d6", + "blob_sha": "f9f979b94e54186e83b64fcf85cf0fa32704eb45", "commits": [], - "end_line": 41, + "end_line": 30, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/ObjectMapperProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 41 + "start_line": 30 }, { - "blob_sha": "e772638f1c6c5ef83ac7c0ae28913e42163b54d6", + "blob_sha": "795c368bbce259e86ae83b787a489f7f6ad5d2e9", "commits": [], - "end_line": 42, + "end_line": 33, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/notifications/NotificationImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/OkHttpClientProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 42 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/notifications" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/streams", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/notifications->M:graylog2-server/src/main/java/org/graylog2/streams", - "kind": "uses", - "refs": [ + "start_line": 33 + }, { - "blob_sha": "d4a4c1b18a9fcdfd98f8b29086b2b851aaed8346", + "blob_sha": "37c9ac0d3ed142891e877a55f3df6b203f40adfb", "commits": [], - "end_line": 22, - "id": "E1", + "end_line": 25, + "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/notifications/DeletedStreamNotificationListener.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/ParameterizedHttpClientProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/notifications" - }, - { - "count": 23, - "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/outputs->M:graylog2-server/src/main/java/org/graylog/plugins", - "kind": "uses", - "refs": [ + "start_line": 25 + }, { - "blob_sha": "195d234ea2d8b8cd81d294460d9a026da987f58e", + "blob_sha": "37c9ac0d3ed142891e877a55f3df6b203f40adfb", "commits": [], - "end_line": 21, - "id": "E1", + "end_line": 26, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/outputs/filter/OutputFilterModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/ParameterizedHttpClientProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 26 }, { - "blob_sha": "05bb73e0151271dc28f276efb2463dd6f2171fcd", + "blob_sha": "debaa815f746d644f0d3e62861080b0e39e77058", "commits": [], - "end_line": 28, - "id": "E2", + "end_line": 26, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/outputs/filter/PipelineRuleOutputFilter.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/XmlMapperProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 + "start_line": 26 }, { - "blob_sha": "05bb73e0151271dc28f276efb2463dd6f2171fcd", + "blob_sha": "10d25ddefb533e30baf6e923377a60bb01a2fda6", "commits": [], - "end_line": 29, - "id": "E3", + "end_line": 26, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/outputs/filter/PipelineRuleOutputFilter.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/YamlMapperProvider.java", "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/outputs" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/database", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/outputs->M:graylog2-server/src/main/java/org/graylog2/database", - "kind": "uses", - "refs": [ + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, { - "blob_sha": "2a93f98db2910e330c01759d6ca1d6242e19cf32", + "blob_sha": "db564e03c2e37404517c55ff42bfd7469b441cf9", "commits": [], - "end_line": 34, - "id": "E1", + "end_line": 56, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/outputs/OutputRegistry.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/config/ObjectMapperConfiguration.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 34 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/outputs" - }, - { - "count": 12, - "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/outputs->M:graylog2-server/src/main/java/org/graylog2/indexer", - "kind": "uses", - "refs": [ + "start_line": 56 + }, { - "blob_sha": "bff29ff537917efb84f7cd4a38b7a006a35da7a1", + "blob_sha": "db564e03c2e37404517c55ff42bfd7469b441cf9", "commits": [], - "end_line": 28, - "id": "E1", + "end_line": 57, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/outputs/BatchedMessageFilterOutput.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/config/ObjectMapperConfiguration.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 + "start_line": 57 }, { - "blob_sha": "dae25088561fd889f402c524bdc9ec9010749db3", + "blob_sha": "db564e03c2e37404517c55ff42bfd7469b441cf9", "commits": [], - "end_line": 24, - "id": "E2", + "end_line": 58, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/outputs/ElasticSearchOutput.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/config/ObjectMapperConfiguration.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 58 }, { - "blob_sha": "dae25088561fd889f402c524bdc9ec9010749db3", + "blob_sha": "db564e03c2e37404517c55ff42bfd7469b441cf9", "commits": [], - "end_line": 25, - "id": "E3", + "end_line": 59, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/outputs/ElasticSearchOutput.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/config/ObjectMapperConfiguration.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 59 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/outputs" + "src": "M:graylog2-server/src/main/java/org/graylog2/shared" }, { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/notifications", + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/streams", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/outputs->M:graylog2-server/src/main/java/org/graylog2/notifications", + "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/streams", "kind": "uses", "refs": [ { - "blob_sha": "2a93f98db2910e330c01759d6ca1d6242e19cf32", + "blob_sha": "00502edaa711704f5d0b293d84b5ee75bafe4df7", "commits": [], - "end_line": 35, + "end_line": 40, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/outputs/OutputRegistry.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 35 - }, - { - "blob_sha": "2a93f98db2910e330c01759d6ca1d6242e19cf32", - "commits": [], - "end_line": 36, - "id": "E2", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/outputs/OutputRegistry.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/buffers/processors/ProcessBufferProcessor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 36 + "start_line": 40 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/outputs" + "src": "M:graylog2-server/src/main/java/org/graylog2/shared" }, { - "count": 62, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "count": 6, + "dst": "M:graylog2-server/src/main/java/org/graylog2/system", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/outputs->M:graylog2-server/src/main/java/org/graylog2/plugin", + "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/system", "kind": "uses", "refs": [ { - "blob_sha": "bff29ff537917efb84f7cd4a38b7a006a35da7a1", + "blob_sha": "b6fa8052cbb6de4441cf6280a9901094b7e1c45b", "commits": [], "end_line": 31, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/outputs/BatchedMessageFilterOutput.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/GenericInitializerBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 31 }, { - "blob_sha": "bff29ff537917efb84f7cd4a38b7a006a35da7a1", + "blob_sha": "b6fa8052cbb6de4441cf6280a9901094b7e1c45b", "commits": [], "end_line": 32, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/outputs/BatchedMessageFilterOutput.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/GenericInitializerBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 32 }, { - "blob_sha": "bff29ff537917efb84f7cd4a38b7a006a35da7a1", + "blob_sha": "b6fa8052cbb6de4441cf6280a9901094b7e1c45b", "commits": [], "end_line": 33, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/outputs/BatchedMessageFilterOutput.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/GenericInitializerBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 33 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/outputs" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/outputs->M:graylog2-server/src/main/java/org/graylog2/rest", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "cad8fc068a09e0454e7fd5328a3cf67782259dc5", + "blob_sha": "e9e3578ddb3c5b1e2d283743d05581bfbf8c21b4", + "commits": [], + "end_line": 20, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/shared/buffers/DirectMessageHandler.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "6afdae394c207bc0038a2a5473225fafa8e6e505", "commits": [], "end_line": 25, - "id": "E1", + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/outputs/MessageOutputFactory.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/buffers/JournallingMessageHandler.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 25 + }, + { + "blob_sha": "00502edaa711704f5d0b293d84b5ee75bafe4df7", + "commits": [], + "end_line": 41, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/shared/buffers/processors/ProcessBufferProcessor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 41 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/outputs" + "src": "M:graylog2-server/src/main/java/org/graylog2/shared" }, { - "count": 7, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/users", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/outputs->M:graylog2-server/src/main/java/org/graylog2/shared", + "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/users", "kind": "uses", "refs": [ { - "blob_sha": "3cf254583dbe0368ff137660ebaa5d0c38b0f27d", + "blob_sha": "2c34c719387e7bf4493aa5829339eecd008953fc", "commits": [], - "end_line": 29, + "end_line": 27, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/outputs/BatchSizeConfig.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 - }, - { - "blob_sha": "bff29ff537917efb84f7cd4a38b7a006a35da7a1", - "commits": [], - "end_line": 34, - "id": "E2", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/outputs/BatchedMessageFilterOutput.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/security/Permissions.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 34 + "start_line": 27 }, { - "blob_sha": "3f11dcca394cd131c68fc10c4c7324141c1155fa", + "blob_sha": "767e6f5b3d9b6fca1778b2fcc2fae41c1f86bc78", "commits": [], "end_line": 31, - "id": "E3", + "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/outputs/BenchmarkOutput.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/security/SessionCreator.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 31 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/outputs" + "src": "M:graylog2-server/src/main/java/org/graylog2/shared" }, { - "count": 7, - "dst": "M:graylog2-server/src/main/java/org/graylog2/streams", + "count": 6, + "dst": "M:graylog2-server/src/main/java/org/graylog2/utilities", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/outputs->M:graylog2-server/src/main/java/org/graylog2/streams", + "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/utilities", "kind": "uses", "refs": [ { - "blob_sha": "2a93f98db2910e330c01759d6ca1d6242e19cf32", + "blob_sha": "795c368bbce259e86ae83b787a489f7f6ad5d2e9", "commits": [], - "end_line": 44, + "end_line": 34, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/outputs/OutputRegistry.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/OkHttpClientProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 44 + "start_line": 34 }, { - "blob_sha": "2a93f98db2910e330c01759d6ca1d6242e19cf32", + "blob_sha": "e7e1c1e8b6a3174bc39e9bc835b7f526ac54d61e", "commits": [], - "end_line": 45, + "end_line": 23, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/outputs/OutputRegistry.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/ProxySelectorProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 45 + "start_line": 23 }, { - "blob_sha": "2a93f98db2910e330c01759d6ca1d6242e19cf32", + "blob_sha": "e7e1c1e8b6a3174bc39e9bc835b7f526ac54d61e", "commits": [], - "end_line": 46, + "end_line": 24, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/outputs/OutputRegistry.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/ProxySelectorProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 46 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/outputs" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/system", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/outputs->M:graylog2-server/src/main/java/org/graylog2/system", - "kind": "uses", - "refs": [ + "start_line": 24 + }, { - "blob_sha": "bff29ff537917efb84f7cd4a38b7a006a35da7a1", + "blob_sha": "5a301d0440fdb61f0b44fd73c1a722094c50dd4f", "commits": [], - "end_line": 35, - "id": "E1", + "end_line": 29, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/outputs/BatchedMessageFilterOutput.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/rest/RestAccessLogFilter.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 35 + "start_line": 29 }, { - "blob_sha": "bff29ff537917efb84f7cd4a38b7a006a35da7a1", + "blob_sha": "c45fd3aa483902245c289ab6fa525e250ea86d54", "commits": [], "end_line": 36, - "id": "E2", + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/outputs/BatchedMessageFilterOutput.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/security/ShiroSecurityContextFilter.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 36 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/outputs" - }, - { - "count": 1, - "dst": "M:graylog2-web-interface/src/components", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/outputs->M:graylog2-web-interface/src/components", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "3f11dcca394cd131c68fc10c4c7324141c1155fa", + "blob_sha": "d683a272073a1ea3b276740255ad18689de8a60f", "commits": [], "end_line": 21, - "id": "E1", + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/outputs/BenchmarkOutput.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/system/stats/network/OshiNetworkProbe.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 21 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/outputs" + "src": "M:graylog2-server/src/main/java/org/graylog2/shared" }, { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog/security", + "count": 6, + "dst": "M:graylog2-server/src/main/java/org/graylog2/web", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/periodical->M:graylog2-server/src/main/java/org/graylog/security", + "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/web", "kind": "uses", "refs": [ { - "blob_sha": "8fd8af2f76f37323385e1b876d81d9c8dd7b65f1", + "blob_sha": "50f9c5a46ae96bcb31955a97bd2252f174dede63", "commits": [], - "end_line": 24, + "end_line": 27, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/periodical/ContentPackLoaderPeriodical.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/PluginBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/periodical" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/periodical->M:graylog2-server/src/main/java/org/graylog2/(root)", - "kind": "uses", - "refs": [ + "start_line": 27 + }, { - "blob_sha": "8fd8af2f76f37323385e1b876d81d9c8dd7b65f1", + "blob_sha": "b11c7c99325ed18d5b3290638f0987d92e81327a", "commits": [], - "end_line": 25, - "id": "E1", + "end_line": 30, + "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/periodical/ContentPackLoaderPeriodical.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/RestApiBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 30 }, { - "blob_sha": "031bd01b054c57472fbe012467695fa9c475fd01", + "blob_sha": "b11c7c99325ed18d5b3290638f0987d92e81327a", "commits": [], - "end_line": 22, - "id": "E2", + "end_line": 31, + "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/periodical/LeaderPresenceCheckPeriodical.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/RestApiBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/periodical" - }, - { - "count": 6, - "dst": "M:graylog2-server/src/main/java/org/graylog2/audit", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/periodical->M:graylog2-server/src/main/java/org/graylog2/audit", - "kind": "uses", - "refs": [ + "start_line": 31 + }, { - "blob_sha": "810f282035c19b05918cab4162a8d1aa85c27a4c", + "blob_sha": "b11c7c99325ed18d5b3290638f0987d92e81327a", "commits": [], - "end_line": 21, - "id": "E1", + "end_line": 32, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/periodical/ExpiredTokenCleaner.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/RestApiBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 32 }, { - "blob_sha": "810f282035c19b05918cab4162a8d1aa85c27a4c", + "blob_sha": "b11c7c99325ed18d5b3290638f0987d92e81327a", "commits": [], - "end_line": 22, - "id": "E2", + "end_line": 33, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/periodical/ExpiredTokenCleaner.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/RestApiBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 33 }, { - "blob_sha": "810f282035c19b05918cab4162a8d1aa85c27a4c", + "blob_sha": "b11c7c99325ed18d5b3290638f0987d92e81327a", "commits": [], - "end_line": 35, - "id": "E3", + "end_line": 34, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/periodical/ExpiredTokenCleaner.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/RestApiBindings.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 35 + "start_line": 34 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/periodical" + "src": "M:graylog2-server/src/main/java/org/graylog2/shared" }, { - "count": 9, - "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", + "count": 3, + "dst": "M:graylog2-web-interface/src/components", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/periodical->M:graylog2-server/src/main/java/org/graylog2/cluster", + "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-web-interface/src/components", "kind": "uses", "refs": [ { - "blob_sha": "c20f5566714c91cd62dc51425a69dd37786e7421", + "blob_sha": "1619c4f4be3d22fbc2bfbd27ad1cf4c1404ec197", "commits": [], "end_line": 19, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/periodical/ClusterHealthCheckThread.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/metrics/CustomMemoryUsageGaugeSet.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 19 }, { - "blob_sha": "d6a802368ead5a1781c6230e44888e3bf999d80d", + "blob_sha": "d2b00fd684400fc32bb4e8db2dd239b3741cdc5d", "commits": [], - "end_line": 21, + "end_line": 23, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/periodical/DataNodeHousekeepingPeriodical.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/metrics/MetricUtils.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 23 }, { - "blob_sha": "d6a802368ead5a1781c6230e44888e3bf999d80d", + "blob_sha": "272234a5338812994425d845ef16eb66457e33a9", "commits": [], - "end_line": 22, + "end_line": 19, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/periodical/DataNodeHousekeepingPeriodical.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/rest/resources/system/MetricsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 19 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/periodical" + "src": "M:graylog2-server/src/main/java/org/graylog2/shared" }, { - "count": 5, - "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", + "count": 1, + "dst": "M:graylog2-web-interface/src/logic", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/periodical->M:graylog2-server/src/main/java/org/graylog2/configuration", + "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-web-interface/src/logic", "kind": "uses", "refs": [ { - "blob_sha": "fe205e0463d39ef3521a620e1aa1196967b6b795", + "blob_sha": "767e6f5b3d9b6fca1778b2fcc2fae41c1f86bc78", "commits": [], - "end_line": 21, + "end_line": 24, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/periodical/IndexRetentionThread.java", + "path": "graylog2-server/src/main/java/org/graylog2/shared/security/SessionCreator.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 - }, + "start_line": 24 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/shared" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog/events", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/storage->M:graylog2-server/src/main/java/org/graylog/events", + "kind": "uses", + "refs": [ { - "blob_sha": "535d8417aa035248fef5fb47120679b7df02d4ea", + "blob_sha": "0bcf6f4aa6a88772ead3f52e53ecd4c797bd29b4", "commits": [], - "end_line": 24, - "id": "E2", + "end_line": 21, + "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/periodical/NodePingThread.java", + "path": "graylog2-server/src/main/java/org/graylog2/storage/VersionAwareStorageModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 21 }, { - "blob_sha": "ca6a034c2c0b05a7dbfdc7672903ae3e38d8e6e6", + "blob_sha": "628de0d4047fe802813662d9457232377691dcb6", "commits": [], - "end_line": 22, - "id": "E3", + "end_line": 19, + "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/periodical/SearchVersionCheckPeriodical.java", + "path": "graylog2-server/src/main/java/org/graylog2/storage/providers/MoreSearchAdapterProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 19 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/periodical" + "src": "M:graylog2-server/src/main/java/org/graylog2/storage" }, { - "count": 5, - "dst": "M:graylog2-server/src/main/java/org/graylog2/contentpacks", + "count": 12, + "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/periodical->M:graylog2-server/src/main/java/org/graylog2/contentpacks", + "id": "M:graylog2-server/src/main/java/org/graylog2/storage->M:graylog2-server/src/main/java/org/graylog/plugins", "kind": "uses", "refs": [ { - "blob_sha": "8fd8af2f76f37323385e1b876d81d9c8dd7b65f1", + "blob_sha": "0bcf6f4aa6a88772ead3f52e53ecd4c797bd29b4", "commits": [], - "end_line": 26, + "end_line": 22, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/periodical/ContentPackLoaderPeriodical.java", + "path": "graylog2-server/src/main/java/org/graylog2/storage/VersionAwareStorageModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 22 }, { - "blob_sha": "8fd8af2f76f37323385e1b876d81d9c8dd7b65f1", + "blob_sha": "0bcf6f4aa6a88772ead3f52e53ecd4c797bd29b4", "commits": [], - "end_line": 27, + "end_line": 23, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/periodical/ContentPackLoaderPeriodical.java", + "path": "graylog2-server/src/main/java/org/graylog2/storage/VersionAwareStorageModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 23 }, { - "blob_sha": "8fd8af2f76f37323385e1b876d81d9c8dd7b65f1", + "blob_sha": "0bcf6f4aa6a88772ead3f52e53ecd4c797bd29b4", "commits": [], - "end_line": 28, + "end_line": 24, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/periodical/ContentPackLoaderPeriodical.java", + "path": "graylog2-server/src/main/java/org/graylog2/storage/VersionAwareStorageModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/periodical" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/datatiering", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/periodical->M:graylog2-server/src/main/java/org/graylog2/datatiering", - "kind": "uses", - "refs": [ + "start_line": 24 + }, { - "blob_sha": "fe205e0463d39ef3521a620e1aa1196967b6b795", + "blob_sha": "0bcf6f4aa6a88772ead3f52e53ecd4c797bd29b4", "commits": [], - "end_line": 22, - "id": "E1", + "end_line": 25, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/periodical/IndexRetentionThread.java", + "path": "graylog2-server/src/main/java/org/graylog2/storage/VersionAwareStorageModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 25 }, { - "blob_sha": "f9065f79c7d7b83f5578bbbf55297db9923783cf", + "blob_sha": "0bcf6f4aa6a88772ead3f52e53ecd4c797bd29b4", "commits": [], - "end_line": 21, - "id": "E2", + "end_line": 26, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/periodical/IndexRotationThread.java", + "path": "graylog2-server/src/main/java/org/graylog2/storage/VersionAwareStorageModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/periodical" - }, - { - "count": 31, - "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/periodical->M:graylog2-server/src/main/java/org/graylog2/indexer", - "kind": "uses", - "refs": [ + "start_line": 26 + }, { - "blob_sha": "75a5a198a287ccccbd8ddd550e8409968aa3f5ef", + "blob_sha": "0bcf6f4aa6a88772ead3f52e53ecd4c797bd29b4", "commits": [], - "end_line": 20, - "id": "E1", + "end_line": 27, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/periodical/IndexBlockCheck.java", + "path": "graylog2-server/src/main/java/org/graylog2/storage/VersionAwareStorageModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 27 }, { - "blob_sha": "75a5a198a287ccccbd8ddd550e8409968aa3f5ef", + "blob_sha": "0bcf6f4aa6a88772ead3f52e53ecd4c797bd29b4", + "commits": [], + "end_line": 28, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/storage/VersionAwareStorageModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "0bcf6f4aa6a88772ead3f52e53ecd4c797bd29b4", + "commits": [], + "end_line": 29, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/storage/VersionAwareStorageModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "97feabf2681a44a7860f19e0ce020c1c3c41d5c9", "commits": [], "end_line": 21, - "id": "E2", + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/periodical/IndexBlockCheck.java", + "path": "graylog2-server/src/main/java/org/graylog2/storage/providers/DatanodeClusterAdminAdapterProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 21 }, { - "blob_sha": "75a5a198a287ccccbd8ddd550e8409968aa3f5ef", + "blob_sha": "4042c390840e7f3e8f273a10ad57abceb32d5ecd", "commits": [], - "end_line": 22, - "id": "E3", + "end_line": 19, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/periodical/IndexBlockCheck.java", + "path": "graylog2-server/src/main/java/org/graylog2/storage/providers/ElasticsearchBackendProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 19 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/periodical" + "src": "M:graylog2-server/src/main/java/org/graylog2/storage" }, { "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/inputs", + "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/periodical->M:graylog2-server/src/main/java/org/graylog2/inputs", + "id": "M:graylog2-server/src/main/java/org/graylog2/storage->M:graylog2-server/src/main/java/org/graylog2/(root)", "kind": "uses", "refs": [ { - "blob_sha": "d93ab422bd2d14f76fb93c9106c50fdab8db5542", + "blob_sha": "0bcf6f4aa6a88772ead3f52e53ecd4c797bd29b4", "commits": [], - "end_line": 21, + "end_line": 30, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/periodical/StaleInputRuntimeStateCleanup.java", + "path": "graylog2-server/src/main/java/org/graylog2/storage/VersionAwareStorageModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 30 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/periodical" + "src": "M:graylog2-server/src/main/java/org/graylog2/storage" }, { - "count": 21, - "dst": "M:graylog2-server/src/main/java/org/graylog2/notifications", + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/periodical->M:graylog2-server/src/main/java/org/graylog2/notifications", + "id": "M:graylog2-server/src/main/java/org/graylog2/storage->M:graylog2-server/src/main/java/org/graylog2/configuration", "kind": "uses", "refs": [ { - "blob_sha": "c20f5566714c91cd62dc51425a69dd37786e7421", + "blob_sha": "6c7c7b6357b8e8374a5fd3bac22f28f5d0aaf694", "commits": [], - "end_line": 20, + "end_line": 21, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/periodical/ClusterHealthCheckThread.java", + "path": "graylog2-server/src/main/java/org/graylog2/storage/SearchVersion.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 21 }, { - "blob_sha": "c20f5566714c91cd62dc51425a69dd37786e7421", + "blob_sha": "e4f339e2cacf4d9228892c97c65985212dd565a4", "commits": [], - "end_line": 21, + "end_line": 19, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/periodical/ClusterHealthCheckThread.java", + "path": "graylog2-server/src/main/java/org/graylog2/storage/SupportedSearchVersionFilter.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 19 }, { - "blob_sha": "d6a802368ead5a1781c6230e44888e3bf999d80d", + "blob_sha": "071a672c8fa5fac1e2df16481081869199e204eb", "commits": [], "end_line": 23, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/periodical/DataNodeHousekeepingPeriodical.java", + "path": "graylog2-server/src/main/java/org/graylog2/storage/providers/ElasticsearchVersionProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 23 + }, + { + "blob_sha": "5051b7f34aa6fb0b23402d3711349b8d211f7d8d", + "commits": [], + "end_line": 37, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/storage/versionprobe/VersionProbeImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 37 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/periodical" + "src": "M:graylog2-server/src/main/java/org/graylog2/storage" }, { - "count": 42, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "count": 34, + "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/periodical->M:graylog2-server/src/main/java/org/graylog2/plugin", + "id": "M:graylog2-server/src/main/java/org/graylog2/storage->M:graylog2-server/src/main/java/org/graylog2/indexer", "kind": "uses", "refs": [ { - "blob_sha": "c20f5566714c91cd62dc51425a69dd37786e7421", + "blob_sha": "6c7c7b6357b8e8374a5fd3bac22f28f5d0aaf694", "commits": [], "end_line": 22, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/periodical/ClusterHealthCheckThread.java", + "path": "graylog2-server/src/main/java/org/graylog2/storage/SearchVersion.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 22 }, { - "blob_sha": "c20f5566714c91cd62dc51425a69dd37786e7421", + "blob_sha": "0bcf6f4aa6a88772ead3f52e53ecd4c797bd29b4", "commits": [], - "end_line": 23, + "end_line": 31, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/periodical/ClusterHealthCheckThread.java", + "path": "graylog2-server/src/main/java/org/graylog2/storage/VersionAwareStorageModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 31 }, { - "blob_sha": "8fd8af2f76f37323385e1b876d81d9c8dd7b65f1", + "blob_sha": "0bcf6f4aa6a88772ead3f52e53ecd4c797bd29b4", "commits": [], - "end_line": 31, + "end_line": 32, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/periodical/ContentPackLoaderPeriodical.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 31 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/periodical" - }, - { - "count": 6, - "dst": "M:graylog2-server/src/main/java/org/graylog2/security", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/periodical->M:graylog2-server/src/main/java/org/graylog2/security", - "kind": "uses", - "refs": [ - { - "blob_sha": "810f282035c19b05918cab4162a8d1aa85c27a4c", - "commits": [], - "end_line": 26, - "id": "E1", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/periodical/ExpiredTokenCleaner.java", + "path": "graylog2-server/src/main/java/org/graylog2/storage/VersionAwareStorageModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 32 }, { - "blob_sha": "810f282035c19b05918cab4162a8d1aa85c27a4c", + "blob_sha": "0bcf6f4aa6a88772ead3f52e53ecd4c797bd29b4", "commits": [], - "end_line": 27, - "id": "E2", + "end_line": 33, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/periodical/ExpiredTokenCleaner.java", + "path": "graylog2-server/src/main/java/org/graylog2/storage/VersionAwareStorageModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 33 }, { - "blob_sha": "a57846d65cc0076ed122f9cd076a5a204badeb7d", + "blob_sha": "0bcf6f4aa6a88772ead3f52e53ecd4c797bd29b4", "commits": [], - "end_line": 25, - "id": "E3", + "end_line": 34, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/periodical/OrphanedTokenCleaner.java", + "path": "graylog2-server/src/main/java/org/graylog2/storage/VersionAwareStorageModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/periodical" - }, - { - "count": 13, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/periodical->M:graylog2-server/src/main/java/org/graylog2/shared", - "kind": "uses", - "refs": [ + "start_line": 34 + }, { - "blob_sha": "c20f5566714c91cd62dc51425a69dd37786e7421", + "blob_sha": "0bcf6f4aa6a88772ead3f52e53ecd4c797bd29b4", "commits": [], - "end_line": 24, - "id": "E1", + "end_line": 35, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/periodical/ClusterHealthCheckThread.java", + "path": "graylog2-server/src/main/java/org/graylog2/storage/VersionAwareStorageModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 35 }, { - "blob_sha": "f9065f79c7d7b83f5578bbbf55297db9923783cf", + "blob_sha": "0bcf6f4aa6a88772ead3f52e53ecd4c797bd29b4", "commits": [], "end_line": 36, - "id": "E2", + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/periodical/IndexRotationThread.java", + "path": "graylog2-server/src/main/java/org/graylog2/storage/VersionAwareStorageModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 36 }, { - "blob_sha": "f9065f79c7d7b83f5578bbbf55297db9923783cf", + "blob_sha": "0bcf6f4aa6a88772ead3f52e53ecd4c797bd29b4", "commits": [], "end_line": 37, - "id": "E3", + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/periodical/IndexRotationThread.java", + "path": "graylog2-server/src/main/java/org/graylog2/storage/VersionAwareStorageModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 37 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/periodical" - }, - { - "count": 5, - "dst": "M:graylog2-server/src/main/java/org/graylog2/storage", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/periodical->M:graylog2-server/src/main/java/org/graylog2/storage", - "kind": "uses", - "refs": [ - { - "blob_sha": "ca6a034c2c0b05a7dbfdc7672903ae3e38d8e6e6", - "commits": [], - "end_line": 28, - "id": "E1", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/periodical/SearchVersionCheckPeriodical.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 }, { - "blob_sha": "ca6a034c2c0b05a7dbfdc7672903ae3e38d8e6e6", + "blob_sha": "0bcf6f4aa6a88772ead3f52e53ecd4c797bd29b4", "commits": [], - "end_line": 29, - "id": "E2", + "end_line": 38, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/periodical/SearchVersionCheckPeriodical.java", + "path": "graylog2-server/src/main/java/org/graylog2/storage/VersionAwareStorageModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 + "start_line": 38 }, { - "blob_sha": "ca6a034c2c0b05a7dbfdc7672903ae3e38d8e6e6", - "commits": [], - "end_line": 30, - "id": "E3", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/periodical/SearchVersionCheckPeriodical.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/periodical" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/system", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/periodical->M:graylog2-server/src/main/java/org/graylog2/system", - "kind": "uses", - "refs": [ - { - "blob_sha": "e4f0d84c18c34323bb1f0644c9e4d3745f53a563", + "blob_sha": "0bcf6f4aa6a88772ead3f52e53ecd4c797bd29b4", "commits": [], - "end_line": 22, - "id": "E1", + "end_line": 39, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/periodical/TrafficCounterPeriodical.java", + "path": "graylog2-server/src/main/java/org/graylog2/storage/VersionAwareStorageModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 39 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/periodical" + "src": "M:graylog2-server/src/main/java/org/graylog2/storage" }, { "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/versioncheck", + "dst": "M:graylog2-server/src/main/java/org/graylog2/migrations", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/periodical->M:graylog2-server/src/main/java/org/graylog2/versioncheck", + "id": "M:graylog2-server/src/main/java/org/graylog2/storage->M:graylog2-server/src/main/java/org/graylog2/migrations", "kind": "uses", "refs": [ { - "blob_sha": "752975bd5cd4c6b046b7edf08b0bab3469e920c0", + "blob_sha": "0bcf6f4aa6a88772ead3f52e53ecd4c797bd29b4", "commits": [], - "end_line": 34, + "end_line": 48, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/periodical/VersionCheckThread.java", + "path": "graylog2-server/src/main/java/org/graylog2/storage/VersionAwareStorageModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 34 + "start_line": 48 }, { - "blob_sha": "752975bd5cd4c6b046b7edf08b0bab3469e920c0", + "blob_sha": "f99b0233d51bdb2ecab3093503b07b8af8d1c104", "commits": [], - "end_line": 35, + "end_line": 19, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/periodical/VersionCheckThread.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 35 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/periodical" - }, - { - "count": 1, - "dst": "M:graylog2-web-interface/src/components", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/periodical->M:graylog2-web-interface/src/components", - "kind": "uses", - "refs": [ - { - "blob_sha": "970e450b6f03a12e73558bb4a0db883279ba721a", - "commits": [], - "end_line": 21, - "id": "E1", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/periodical/ThroughputCalculator.java", + "path": "graylog2-server/src/main/java/org/graylog2/storage/providers/V20170607164210_MigrateReopenedIndicesToAliasesClusterStateAdapterProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 19 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/periodical" + "src": "M:graylog2-server/src/main/java/org/graylog2/storage" }, { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog/collectors", + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog2/security", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog/collectors", + "id": "M:graylog2-server/src/main/java/org/graylog2/storage->M:graylog2-server/src/main/java/org/graylog2/security", "kind": "uses", "refs": [ { - "blob_sha": "dc307287bc1dc92f1a4bc76378582c68b5b6be1a", + "blob_sha": "9e46cf044a3a955e5edf0ba1ae7ac5927464306a", "commits": [], - "end_line": 78, + "end_line": 20, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/Message.java", + "path": "graylog2-server/src/main/java/org/graylog2/storage/versionprobe/VersionProbeFactory.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 78 + "start_line": 20 }, { - "blob_sha": "dc307287bc1dc92f1a4bc76378582c68b5b6be1a", + "blob_sha": "5051b7f34aa6fb0b23402d3711349b8d211f7d8d", "commits": [], - "end_line": 79, + "end_line": 38, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/Message.java", + "path": "graylog2-server/src/main/java/org/graylog2/storage/versionprobe/VersionProbeImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 79 + "start_line": 38 }, { - "blob_sha": "dc307287bc1dc92f1a4bc76378582c68b5b6be1a", + "blob_sha": "5051b7f34aa6fb0b23402d3711349b8d211f7d8d", "commits": [], - "end_line": 80, + "end_line": 39, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/Message.java", + "path": "graylog2-server/src/main/java/org/graylog2/storage/versionprobe/VersionProbeImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 80 + "start_line": 39 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" + "src": "M:graylog2-server/src/main/java/org/graylog2/storage" }, { - "count": 12, - "dst": "M:graylog2-server/src/main/java/org/graylog/events", + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog/events", + "id": "M:graylog2-server/src/main/java/org/graylog2/storage->M:graylog2-server/src/main/java/org/graylog2/shared", "kind": "uses", "refs": [ { - "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "blob_sha": "e4f339e2cacf4d9228892c97c65985212dd565a4", "commits": [], - "end_line": 26, + "end_line": 20, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/storage/SupportedSearchVersionFilter.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 20 }, { - "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "blob_sha": "5051b7f34aa6fb0b23402d3711349b8d211f7d8d", "commits": [], - "end_line": 27, + "end_line": 40, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 - }, - { - "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", - "commits": [], - "end_line": 28, - "id": "E3", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/storage/versionprobe/VersionProbeImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 + "start_line": 40 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" + "src": "M:graylog2-server/src/main/java/org/graylog2/storage" }, { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog/failure", + "count": 6, + "dst": "M:graylog2-server/src/main/java/org/graylog/events", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog/failure", + "id": "M:graylog2-server/src/main/java/org/graylog2/streams->M:graylog2-server/src/main/java/org/graylog/events", "kind": "uses", "refs": [ { - "blob_sha": "dc307287bc1dc92f1a4bc76378582c68b5b6be1a", + "blob_sha": "48f0ab54b005bfd7f2999cb7349a5d448d75e908", "commits": [], - "end_line": 40, + "end_line": 23, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/Message.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/metrics/StreamAssociatedInputsDescriptor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 40 + "start_line": 23 }, { - "blob_sha": "dc307287bc1dc92f1a4bc76378582c68b5b6be1a", + "blob_sha": "acb823083f918f22973af55f5ca3c82378c44c2e", "commits": [], - "end_line": 41, + "end_line": 22, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/Message.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/metrics/StreamAvgProcessingTimeDescriptor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 41 + "start_line": 22 }, { - "blob_sha": "0af1fbcc6eb602fb188b866d7a9ae3f86ffba0e9", + "blob_sha": "acb823083f918f22973af55f5ca3c82378c44c2e", "commits": [], - "end_line": 25, + "end_line": 23, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/inputs/Extractor.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/metrics/StreamAvgProcessingTimeDescriptor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" - }, - { - "count": 8, - "dst": "M:graylog2-server/src/main/java/org/graylog/grn", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog/grn", - "kind": "uses", - "refs": [ + "start_line": 23 + }, { - "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "blob_sha": "797c52e7e0c979901def49c1e580c045cedfa1aa", "commits": [], - "end_line": 36, - "id": "E1", + "end_line": 22, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/metrics/StreamMaxProcessingTimeDescriptor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 36 + "start_line": 22 }, { - "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "blob_sha": "797c52e7e0c979901def49c1e580c045cedfa1aa", "commits": [], - "end_line": 37, - "id": "E2", + "end_line": 23, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/metrics/StreamMaxProcessingTimeDescriptor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 + "start_line": 23 }, { - "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "blob_sha": "512a85eb92f628625fb27297ec55e5ec4970f1af", "commits": [], - "end_line": 38, - "id": "E3", + "end_line": 22, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/metrics/StreamMessageCountDescriptor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 38 + "start_line": 22 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" + "src": "M:graylog2-server/src/main/java/org/graylog2/streams" }, { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog/mcp", + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog/failure", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog/mcp", + "id": "M:graylog2-server/src/main/java/org/graylog2/streams->M:graylog2-server/src/main/java/org/graylog/failure", "kind": "uses", "refs": [ { - "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "blob_sha": "795a85a7d1ad6ab40eaaa7b02c712add793260ab", "commits": [], - "end_line": 39, + "end_line": 32, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 39 - }, - { - "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", - "commits": [], - "end_line": 40, - "id": "E2", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamRouterEngine.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 40 + "start_line": 32 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" + "src": "M:graylog2-server/src/main/java/org/graylog2/streams" }, { "count": 13, "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog/plugins", + "id": "M:graylog2-server/src/main/java/org/graylog2/streams->M:graylog2-server/src/main/java/org/graylog/plugins", "kind": "uses", "refs": [ { - "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "blob_sha": "76ed1650c2323a5fad0bfa600b288defc6c3045c", "commits": [], - "end_line": 41, + "end_line": 26, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/filters/StreamDestinationFilterRuleDTO.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 41 + "start_line": 26 }, { - "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "blob_sha": "48f0ab54b005bfd7f2999cb7349a5d448d75e908", "commits": [], - "end_line": 42, + "end_line": 24, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/metrics/StreamAssociatedInputsDescriptor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 42 + "start_line": 24 }, { - "blob_sha": "5ebf0ecbea58bb2f045de554fddfccf3202fff51", + "blob_sha": "acb823083f918f22973af55f5ca3c82378c44c2e", "commits": [], - "end_line": 23, + "end_line": 24, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/indexer/searches/timeranges/TimeRange.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" - }, - { - "count": 8, - "dst": "M:graylog2-server/src/main/java/org/graylog/scheduler", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog/scheduler", - "kind": "uses", - "refs": [ - { - "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", - "commits": [], - "end_line": 43, - "id": "E1", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/metrics/StreamAvgProcessingTimeDescriptor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 43 + "start_line": 24 }, { - "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "blob_sha": "797c52e7e0c979901def49c1e580c045cedfa1aa", "commits": [], - "end_line": 44, - "id": "E2", + "end_line": 24, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/metrics/StreamMaxProcessingTimeDescriptor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 44 + "start_line": 24 }, { - "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", - "commits": [], - "end_line": 45, - "id": "E3", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 45 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" - }, - { - "count": 12, - "dst": "M:graylog2-server/src/main/java/org/graylog/schema", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog/schema", - "kind": "uses", - "refs": [ - { - "blob_sha": "dc307287bc1dc92f1a4bc76378582c68b5b6be1a", + "blob_sha": "512a85eb92f628625fb27297ec55e5ec4970f1af", "commits": [], - "end_line": 82, - "id": "E1", + "end_line": 23, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/Message.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/metrics/StreamMessageCountDescriptor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 82 + "start_line": 23 }, { - "blob_sha": "dc307287bc1dc92f1a4bc76378582c68b5b6be1a", + "blob_sha": "e3df1de2c0d04afd07d8516842125a45ffc56c92", "commits": [], - "end_line": 83, - "id": "E2", + "end_line": 20, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/Message.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/metrics/StreamPipelinesDescriptor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 83 + "start_line": 20 }, { - "blob_sha": "dc307287bc1dc92f1a4bc76378582c68b5b6be1a", + "blob_sha": "e3df1de2c0d04afd07d8516842125a45ffc56c92", "commits": [], - "end_line": 84, - "id": "E3", + "end_line": 21, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/Message.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/metrics/StreamPipelinesDescriptor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 84 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" - }, - { - "count": 12, - "dst": "M:graylog2-server/src/main/java/org/graylog/security", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog/security", - "kind": "uses", - "refs": [ + "start_line": 21 + }, { - "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "blob_sha": "e3df1de2c0d04afd07d8516842125a45ffc56c92", "commits": [], - "end_line": 51, - "id": "E1", + "end_line": 22, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/metrics/StreamPipelinesDescriptor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 51 + "start_line": 22 }, { - "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "blob_sha": "e3df1de2c0d04afd07d8516842125a45ffc56c92", "commits": [], - "end_line": 52, - "id": "E2", + "end_line": 23, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/metrics/StreamPipelinesDescriptor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 52 + "start_line": 23 }, { - "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "blob_sha": "b6c6167b0659b9755edf5390033b2b2ce4e6cee8", "commits": [], - "end_line": 53, - "id": "E3", + "end_line": 20, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/metrics/StreamRoutingPipelinesDescriptor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 53 + "start_line": 20 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" + "src": "M:graylog2-server/src/main/java/org/graylog2/streams" }, { "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog/tracing", + "dst": "M:graylog2-server/src/main/java/org/graylog/security", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog/tracing", + "id": "M:graylog2-server/src/main/java/org/graylog2/streams->M:graylog2-server/src/main/java/org/graylog/security", "kind": "uses", "refs": [ { - "blob_sha": "8c0daa543383ce3d03fe311c8362d4477968e900", + "blob_sha": "7f15de412cbe4e9ec20fb2d2928844f0ffff298e", "commits": [], - "end_line": 21, + "end_line": 32, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/periodical/Periodical.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 32 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" + "src": "M:graylog2-server/src/main/java/org/graylog2/streams" }, { - "count": 2, + "count": 1, "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/(root)", + "id": "M:graylog2-server/src/main/java/org/graylog2/streams->M:graylog2-server/src/main/java/org/graylog2/(root)", "kind": "uses", "refs": [ { - "blob_sha": "68f03cbec69cef4fb4fd320e5fcdad857bebf305", + "blob_sha": "0794ae5342b0ff2917eb1e60f7407cdb15625084", "commits": [], - "end_line": 34, + "end_line": 20, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/BaseConfiguration.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamFaultManager.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 34 - }, + "start_line": 20 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/streams" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/bindings", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/streams->M:graylog2-server/src/main/java/org/graylog2/bindings", + "kind": "uses", + "refs": [ { - "blob_sha": "5c54888cce86b0e5ef64714643c170b0fa6cbc91", + "blob_sha": "5f0b6791f309b36857fb15aac71cede2e5e95df2", "commits": [], - "end_line": 25, - "id": "E2", + "end_line": 21, + "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/ServerStatus.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/DefaultStreamChangeHandler.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 21 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" + "src": "M:graylog2-server/src/main/java/org/graylog2/streams" }, { - "count": 11, - "dst": "M:graylog2-server/src/main/java/org/graylog2/audit", + "count": 65, + "dst": "M:graylog2-server/src/main/java/org/graylog2/database", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/audit", + "id": "M:graylog2-server/src/main/java/org/graylog2/streams->M:graylog2-server/src/main/java/org/graylog2/database", "kind": "uses", "refs": [ { - "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "blob_sha": "6ecd66d01bcdac39f25b199a4848e9573cd382ab", "commits": [], - "end_line": 56, + "end_line": 19, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/FavoriteFieldsService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 56 + "start_line": 19 }, { - "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "blob_sha": "7f57607536722c38445c9286f2d60d7114431fe3", "commits": [], - "end_line": 57, + "end_line": 21, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/FavoriteFieldsServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 57 + "start_line": 21 }, { - "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "blob_sha": "7f57607536722c38445c9286f2d60d7114431fe3", "commits": [], - "end_line": 58, + "end_line": 22, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/FavoriteFieldsServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 58 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/bindings", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/bindings", - "kind": "uses", - "refs": [ + "start_line": 22 + }, { - "blob_sha": "87030416402f24d23b43f721a590502d685354c7", + "blob_sha": "7f57607536722c38445c9286f2d60d7114431fe3", "commits": [], "end_line": 23, - "id": "E1", + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/KafkaJournalConfiguration.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/FavoriteFieldsServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 23 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/bootstrap", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/bootstrap", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "6923adf6035d33a539413bb54b8ad088709cec13", + "blob_sha": "7f57607536722c38445c9286f2d60d7114431fe3", "commits": [], - "end_line": 40, - "id": "E1", + "end_line": 28, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/inject/Graylog2Module.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/FavoriteFieldsServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 40 + "start_line": 28 }, { - "blob_sha": "af093383e7a4e3577b2a5050b6d39489ff28ee9a", + "blob_sha": "69e8405d318eda7b481a4c60f08366fade1f4a61", "commits": [], "end_line": 23, - "id": "E2", + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/inputs/transports/AbstractTcpTransport.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/OutputImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 23 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" - }, - { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/cluster", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "5c54888cce86b0e5ef64714643c170b0fa6cbc91", + "blob_sha": "c9423a489e4ddfe903c8e6703bcf688e2a9e0acc", "commits": [], - "end_line": 28, - "id": "E1", + "end_line": 20, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/ServerStatus.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/OutputService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 + "start_line": 20 }, { - "blob_sha": "5974fd50b3d0b0b0e311f923b8ad11b64bdf4bc4", + "blob_sha": "08ea667bbc2a05c1666e4ba96250e431bf8ec85a", "commits": [], - "end_line": 19, - "id": "E2", + "end_line": 31, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/cluster/ClusterConfigService.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/OutputServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 31 }, { - "blob_sha": "65d58617992b23e199842a7f7013da499d4b2833", + "blob_sha": "08ea667bbc2a05c1666e4ba96250e431bf8ec85a", "commits": [], - "end_line": 24, - "id": "E3", + "end_line": 32, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/quickjump/QuickJumpModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/OutputServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 32 + }, + { + "blob_sha": "08ea667bbc2a05c1666e4ba96250e431bf8ec85a", + "commits": [], + "end_line": 33, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/streams/OutputServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" + "src": "M:graylog2-server/src/main/java/org/graylog2/streams" }, { - "count": 5, - "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog2/events", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/configuration", + "id": "M:graylog2-server/src/main/java/org/graylog2/streams->M:graylog2-server/src/main/java/org/graylog2/events", "kind": "uses", "refs": [ { - "blob_sha": "68f03cbec69cef4fb4fd320e5fcdad857bebf305", + "blob_sha": "08ea667bbc2a05c1666e4ba96250e431bf8ec85a", "commits": [], "end_line": 35, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/BaseConfiguration.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/OutputServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 35 }, { - "blob_sha": "87030416402f24d23b43f721a590502d685354c7", + "blob_sha": "57944c40dc89e88ae33f10183d250e6daa9606d0", "commits": [], - "end_line": 24, + "end_line": 28, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/KafkaJournalConfiguration.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamRuleServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 28 }, { - "blob_sha": "2b762ad877d3433d5514721a5ebb5db514986b13", + "blob_sha": "7f15de412cbe4e9ec20fb2d2928844f0ffff298e", "commits": [], - "end_line": 19, + "end_line": 42, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginLoaderConfig.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 42 + }, + { + "blob_sha": "0a7f31f9465e184a1f081695da88baf09b3f30e3", + "commits": [], + "end_line": 34, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/streams/filters/StreamDestinationFilterService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 34 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" + "src": "M:graylog2-server/src/main/java/org/graylog2/streams" }, { "count": 8, - "dst": "M:graylog2-server/src/main/java/org/graylog2/contentpacks", + "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/contentpacks", + "id": "M:graylog2-server/src/main/java/org/graylog2/streams->M:graylog2-server/src/main/java/org/graylog2/indexer", "kind": "uses", "refs": [ { - "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "blob_sha": "46d7381b26c24c9d1f51738d53eed1d8d6182d5c", "commits": [], - "end_line": 59, + "end_line": 32, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/PaginatedStreamService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 59 + "start_line": 32 }, { - "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "blob_sha": "21a3b51b135e5aab18a292b9c5678a5a319d7f6e", "commits": [], - "end_line": 60, + "end_line": 28, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 60 + "start_line": 28 }, { - "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "blob_sha": "918a24fe5ee0449ac031053fb9f05f61efd0efd2", "commits": [], - "end_line": 61, + "end_line": 22, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamRouter.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 61 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" - }, - { - "count": 7, - "dst": "M:graylog2-server/src/main/java/org/graylog2/database", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/database", - "kind": "uses", - "refs": [ + "start_line": 22 + }, { - "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "blob_sha": "918a24fe5ee0449ac031053fb9f05f61efd0efd2", "commits": [], - "end_line": 62, - "id": "E1", + "end_line": 23, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamRouter.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 62 + "start_line": 23 }, { - "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "blob_sha": "7f15de412cbe4e9ec20fb2d2928844f0ffff298e", "commits": [], - "end_line": 63, - "id": "E2", + "end_line": 43, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 63 + "start_line": 43 }, { - "blob_sha": "bea752b2a126cb72e3f1eee4d7f65f84a5e9a146", + "blob_sha": "7f15de412cbe4e9ec20fb2d2928844f0ffff298e", "commits": [], - "end_line": 22, - "id": "E3", + "end_line": 44, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/quickjump/QuickJumpProvider.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/decorators", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/decorators", - "kind": "uses", - "refs": [ + "start_line": 44 + }, { - "blob_sha": "c18229cb01e34041d7b7955d47dc4daa89f02c3a", + "blob_sha": "7f15de412cbe4e9ec20fb2d2928844f0ffff298e", "commits": [], - "end_line": 19, - "id": "E1", + "end_line": 45, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/decorators/SearchResponseDecorator.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/featureflag", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/featureflag", - "kind": "uses", - "refs": [ + "start_line": 45 + }, { - "blob_sha": "65d58617992b23e199842a7f7013da499d4b2833", + "blob_sha": "7f15de412cbe4e9ec20fb2d2928844f0ffff298e", "commits": [], - "end_line": 28, - "id": "E1", + "end_line": 46, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/quickjump/QuickJumpModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 + "start_line": 46 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" + "src": "M:graylog2-server/src/main/java/org/graylog2/streams" }, { - "count": 8, - "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", + "count": 5, + "dst": "M:graylog2-server/src/main/java/org/graylog2/inputs", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/indexer", + "id": "M:graylog2-server/src/main/java/org/graylog2/streams->M:graylog2-server/src/main/java/org/graylog2/inputs", "kind": "uses", "refs": [ { - "blob_sha": "dc307287bc1dc92f1a4bc76378582c68b5b6be1a", + "blob_sha": "08ea667bbc2a05c1666e4ba96250e431bf8ec85a", "commits": [], - "end_line": 42, + "end_line": 36, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/Message.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/OutputServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 42 + "start_line": 36 }, { - "blob_sha": "dc307287bc1dc92f1a4bc76378582c68b5b6be1a", + "blob_sha": "98a720786d0fd604db4e9a47fbf90a6b7d92b08b", "commits": [], - "end_line": 43, + "end_line": 19, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/Message.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/input/StreamRuleServerInputsProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 43 + "start_line": 19 }, { - "blob_sha": "b99bd88c9ae5222b4dd6bf7f3def55c7842a7fc1", + "blob_sha": "98a720786d0fd604db4e9a47fbf90a6b7d92b08b", "commits": [], "end_line": 20, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/MessageBindings.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/input/StreamRuleServerInputsProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 20 + }, + { + "blob_sha": "48f0ab54b005bfd7f2999cb7349a5d448d75e908", + "commits": [], + "end_line": 25, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/streams/metrics/StreamAssociatedInputsDescriptor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "48f0ab54b005bfd7f2999cb7349a5d448d75e908", + "commits": [], + "end_line": 26, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/streams/metrics/StreamAssociatedInputsDescriptor.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" + "src": "M:graylog2-server/src/main/java/org/graylog2/streams" }, { - "count": 13, - "dst": "M:graylog2-server/src/main/java/org/graylog2/inputs", + "count": 16, + "dst": "M:graylog2-server/src/main/java/org/graylog2/metrics", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/inputs", + "id": "M:graylog2-server/src/main/java/org/graylog2/streams->M:graylog2-server/src/main/java/org/graylog2/metrics", "kind": "uses", "refs": [ { - "blob_sha": "0af1fbcc6eb602fb188b866d7a9ae3f86ffba0e9", + "blob_sha": "48f0ab54b005bfd7f2999cb7349a5d448d75e908", "commits": [], - "end_line": 26, + "end_line": 27, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/inputs/Extractor.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/metrics/StreamAssociatedInputsDescriptor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 27 }, { - "blob_sha": "af093383e7a4e3577b2a5050b6d39489ff28ee9a", + "blob_sha": "48f0ab54b005bfd7f2999cb7349a5d448d75e908", "commits": [], - "end_line": 46, + "end_line": 28, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/inputs/transports/AbstractTcpTransport.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/metrics/StreamAssociatedInputsDescriptor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 46 + "start_line": 28 }, { - "blob_sha": "af093383e7a4e3577b2a5050b6d39489ff28ee9a", + "blob_sha": "48f0ab54b005bfd7f2999cb7349a5d448d75e908", "commits": [], - "end_line": 47, + "end_line": 29, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/inputs/transports/AbstractTcpTransport.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 47 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/jersey", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/jersey", - "kind": "uses", - "refs": [ - { - "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", - "commits": [], - "end_line": 64, - "id": "E1", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/metrics/StreamAssociatedInputsDescriptor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 64 + "start_line": 29 }, { - "blob_sha": "6923adf6035d33a539413bb54b8ad088709cec13", + "blob_sha": "acb823083f918f22973af55f5ca3c82378c44c2e", "commits": [], - "end_line": 44, - "id": "E2", + "end_line": 25, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/inject/Graylog2Module.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/metrics/StreamAvgProcessingTimeDescriptor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 44 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" - }, - { - "count": 7, - "dst": "M:graylog2-server/src/main/java/org/graylog2/lookup", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/lookup", - "kind": "uses", - "refs": [ + "start_line": 25 + }, { - "blob_sha": "b5966977e33e941e9208b1d5094c694cbee5d499", + "blob_sha": "acb823083f918f22973af55f5ca3c82378c44c2e", "commits": [], - "end_line": 24, - "id": "E1", + "end_line": 26, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/lookup/LookupDataAdapter.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/metrics/StreamAvgProcessingTimeDescriptor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 26 }, { - "blob_sha": "2cf2417db5f02e7e75f246af8bd8088869011116", + "blob_sha": "acb823083f918f22973af55f5ca3c82378c44c2e", "commits": [], - "end_line": 23, - "id": "E2", + "end_line": 27, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/lookup/LookupDataAdapterConfiguration.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/metrics/StreamAvgProcessingTimeDescriptor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 27 }, { - "blob_sha": "34638a80085efe5dc89605e618808adb28755895", + "blob_sha": "797c52e7e0c979901def49c1e580c045cedfa1aa", "commits": [], - "end_line": 23, - "id": "E3", + "end_line": 25, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/lookup/LookupResult.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/metrics/StreamMaxProcessingTimeDescriptor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/migrations", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/migrations", - "kind": "uses", - "refs": [ + "start_line": 25 + }, { - "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "blob_sha": "797c52e7e0c979901def49c1e580c045cedfa1aa", "commits": [], - "end_line": 65, - "id": "E1", + "end_line": 26, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/metrics/StreamMaxProcessingTimeDescriptor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 65 + "start_line": 26 }, { - "blob_sha": "6923adf6035d33a539413bb54b8ad088709cec13", + "blob_sha": "797c52e7e0c979901def49c1e580c045cedfa1aa", "commits": [], - "end_line": 45, - "id": "E2", + "end_line": 27, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/inject/Graylog2Module.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/metrics/StreamMaxProcessingTimeDescriptor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 45 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/outputs", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/outputs", - "kind": "uses", - "refs": [ + "start_line": 27 + }, { - "blob_sha": "88eef1edfd2167d4c0d91c7b316005d3232c127e", + "blob_sha": "512a85eb92f628625fb27297ec55e5ec4970f1af", "commits": [], - "end_line": 19, - "id": "E1", + "end_line": 24, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/outputs/FilteredMessageOutput.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/metrics/StreamMessageCountDescriptor.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 24 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" + "src": "M:graylog2-server/src/main/java/org/graylog2/streams" }, { "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", + "dst": "M:graylog2-server/src/main/java/org/graylog2/notifications", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/rest", + "id": "M:graylog2-server/src/main/java/org/graylog2/streams->M:graylog2-server/src/main/java/org/graylog2/notifications", "kind": "uses", "refs": [ { - "blob_sha": "13f8a31b8136361c3c2ca555717ba21f3fa3bf07", + "blob_sha": "0794ae5342b0ff2917eb1e60f7407cdb15625084", "commits": [], - "end_line": 22, + "end_line": 21, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/database/users/User.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamFaultManager.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 21 }, { - "blob_sha": "c18229cb01e34041d7b7955d47dc4daa89f02c3a", + "blob_sha": "0794ae5342b0ff2917eb1e60f7407cdb15625084", "commits": [], "end_line": 22, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/decorators/SearchResponseDecorator.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamFaultManager.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 22 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" + "src": "M:graylog2-server/src/main/java/org/graylog2/streams" }, { "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/security", + "dst": "M:graylog2-server/src/main/java/org/graylog2/outputs", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/security", + "id": "M:graylog2-server/src/main/java/org/graylog2/streams->M:graylog2-server/src/main/java/org/graylog2/outputs", "kind": "uses", "refs": [ { - "blob_sha": "8df2a633516174c3761bfa5644de3f196cef3288", + "blob_sha": "08ea667bbc2a05c1666e4ba96250e431bf8ec85a", "commits": [], - "end_line": 27, + "end_line": 37, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/configuration/Configuration.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/OutputServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 37 }, { - "blob_sha": "af093383e7a4e3577b2a5050b6d39489ff28ee9a", + "blob_sha": "08ea667bbc2a05c1666e4ba96250e431bf8ec85a", "commits": [], - "end_line": 67, + "end_line": 38, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/inputs/transports/AbstractTcpTransport.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/OutputServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 67 + "start_line": 38 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" + "src": "M:graylog2-server/src/main/java/org/graylog2/streams" }, { - "count": 20, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "count": 81, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/shared", + "id": "M:graylog2-server/src/main/java/org/graylog2/streams->M:graylog2-server/src/main/java/org/graylog2/plugin", "kind": "uses", "refs": [ { - "blob_sha": "68f03cbec69cef4fb4fd320e5fcdad857bebf305", + "blob_sha": "5f0b6791f309b36857fb15aac71cede2e5e95df2", "commits": [], - "end_line": 36, + "end_line": 22, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/BaseConfiguration.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/DefaultStreamChangeHandler.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 36 + "start_line": 22 }, { - "blob_sha": "68f03cbec69cef4fb4fd320e5fcdad857bebf305", + "blob_sha": "69e8405d318eda7b481a4c60f08366fade1f4a61", "commits": [], - "end_line": 46, + "end_line": 24, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/BaseConfiguration.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/OutputImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 46 + "start_line": 24 }, { - "blob_sha": "68f03cbec69cef4fb4fd320e5fcdad857bebf305", + "blob_sha": "c9423a489e4ddfe903c8e6703bcf688e2a9e0acc", "commits": [], - "end_line": 47, + "end_line": 21, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/BaseConfiguration.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/OutputService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 47 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/storage", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/storage", - "kind": "uses", - "refs": [ + "start_line": 21 + }, { - "blob_sha": "e5485d652d12397e8f7c6ce21665320dbb34b1c4", + "blob_sha": "c9423a489e4ddfe903c8e6703bcf688e2a9e0acc", "commits": [], "end_line": 22, - "id": "E1", + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/VersionAwareModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/OutputService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 22 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" - }, - { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/streams", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/streams", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "blob_sha": "08ea667bbc2a05c1666e4ba96250e431bf8ec85a", "commits": [], - "end_line": 87, - "id": "E1", + "end_line": 39, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/OutputServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 87 + "start_line": 39 }, { - "blob_sha": "6923adf6035d33a539413bb54b8ad088709cec13", + "blob_sha": "08ea667bbc2a05c1666e4ba96250e431bf8ec85a", "commits": [], - "end_line": 65, - "id": "E2", + "end_line": 40, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/inject/Graylog2Module.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/OutputServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 65 + "start_line": 40 }, { - "blob_sha": "65d58617992b23e199842a7f7013da499d4b2833", + "blob_sha": "08ea667bbc2a05c1666e4ba96250e431bf8ec85a", "commits": [], - "end_line": 37, - "id": "E3", + "end_line": 41, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/quickjump/QuickJumpModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/OutputServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/telemetry", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/telemetry", - "kind": "uses", - "refs": [ + "start_line": 41 + }, { - "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "blob_sha": "58ed41062573d51272b607496a2f8cd3196921d5", "commits": [], - "end_line": 88, - "id": "E1", + "end_line": 43, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamCache.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 88 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/users", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/users", - "kind": "uses", - "refs": [ + "start_line": 43 + }, { - "blob_sha": "65d58617992b23e199842a7f7013da499d4b2833", + "blob_sha": "ded986e2121e73cd56bbdc39bf69cd8ebd34eb79", "commits": [], - "end_line": 38, - "id": "E1", + "end_line": 28, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/quickjump/QuickJumpModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamDTO.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 38 + "start_line": 28 + }, + { + "blob_sha": "0794ae5342b0ff2917eb1e60f7407cdb15625084", + "commits": [], + "end_line": 23, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamFaultManager.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" + "src": "M:graylog2-server/src/main/java/org/graylog2/streams" }, { - "count": 6, - "dst": "M:graylog2-server/src/main/java/org/graylog2/utilities", + "count": 14, + "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/utilities", + "id": "M:graylog2-server/src/main/java/org/graylog2/streams->M:graylog2-server/src/main/java/org/graylog2/rest", "kind": "uses", "refs": [ { - "blob_sha": "68f03cbec69cef4fb4fd320e5fcdad857bebf305", + "blob_sha": "c9423a489e4ddfe903c8e6703bcf688e2a9e0acc", "commits": [], - "end_line": 37, + "end_line": 23, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/BaseConfiguration.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/OutputService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 + "start_line": 23 }, { - "blob_sha": "68f03cbec69cef4fb4fd320e5fcdad857bebf305", + "blob_sha": "08ea667bbc2a05c1666e4ba96250e431bf8ec85a", "commits": [], - "end_line": 38, + "end_line": 42, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/BaseConfiguration.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/OutputServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 38 + "start_line": 42 }, { - "blob_sha": "68f03cbec69cef4fb4fd320e5fcdad857bebf305", + "blob_sha": "08ea667bbc2a05c1666e4ba96250e431bf8ec85a", "commits": [], - "end_line": 39, + "end_line": 43, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/BaseConfiguration.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/OutputServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 39 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/web", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-server/src/main/java/org/graylog2/web", - "kind": "uses", - "refs": [ + "start_line": 43 + }, { - "blob_sha": "941185103d3c38ac2fdba60886c9d19c2ad4f25e", + "blob_sha": "46d7381b26c24c9d1f51738d53eed1d8d6182d5c", "commits": [], - "end_line": 89, - "id": "E1", + "end_line": 33, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/PluginModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/PaginatedStreamService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 89 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" - }, - { - "count": 1, - "dst": "M:graylog2-web-interface/src/components", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/plugin->M:graylog2-web-interface/src/components", - "kind": "uses", - "refs": [ + "start_line": 33 + }, { - "blob_sha": "436f2c61d38dfbd991a093665dd8911f69b47530", + "blob_sha": "ded986e2121e73cd56bbdc39bf69cd8ebd34eb79", "commits": [], - "end_line": 19, - "id": "E1", + "end_line": 29, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/plugin/MetricSets.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamDTO.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/plugin" - }, - { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/database", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/presence->M:graylog2-server/src/main/java/org/graylog2/database", - "kind": "uses", - "refs": [ + "start_line": 29 + }, { - "blob_sha": "3761970bc7e4ee334dc44ad1e1afe4eea3de1a6d", + "blob_sha": "ded986e2121e73cd56bbdc39bf69cd8ebd34eb79", "commits": [], - "end_line": 21, - "id": "E1", + "end_line": 30, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/presence/PresenceEntry.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamDTO.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 30 }, { - "blob_sha": "5269ecb0d2533f1f5421fd828ff2083e1254a511", + "blob_sha": "21a3b51b135e5aab18a292b9c5678a5a319d7f6e", "commits": [], - "end_line": 29, - "id": "E2", + "end_line": 32, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/presence/PresenceService.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 + "start_line": 32 }, { - "blob_sha": "5269ecb0d2533f1f5421fd828ff2083e1254a511", + "blob_sha": "21a3b51b135e5aab18a292b9c5678a5a319d7f6e", "commits": [], - "end_line": 30, - "id": "E3", + "end_line": 33, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/presence/PresenceService.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/presence" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/presence->M:graylog2-server/src/main/java/org/graylog2/plugin", - "kind": "uses", - "refs": [ + "start_line": 33 + }, { - "blob_sha": "5269ecb0d2533f1f5421fd828ff2083e1254a511", + "blob_sha": "02ca058ca75d491c6615723b846e29d1c0113cf2", + "commits": [], + "end_line": 24, + "id": "E9", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamRuleService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "57944c40dc89e88ae33f10183d250e6daa9606d0", "commits": [], "end_line": 32, - "id": "E1", + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/presence/PresenceService.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamRuleServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 32 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/presence" + "src": "M:graylog2-server/src/main/java/org/graylog2/streams" }, { "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "dst": "M:graylog2-server/src/main/java/org/graylog2/search", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/presence->M:graylog2-server/src/main/java/org/graylog2/shared", + "id": "M:graylog2-server/src/main/java/org/graylog2/streams->M:graylog2-server/src/main/java/org/graylog2/search", "kind": "uses", "refs": [ { - "blob_sha": "5269ecb0d2533f1f5421fd828ff2083e1254a511", + "blob_sha": "0a7f31f9465e184a1f081695da88baf09b3f30e3", "commits": [], - "end_line": 33, + "end_line": 35, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/presence/PresenceService.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/filters/StreamDestinationFilterService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 33 + "start_line": 35 }, { - "blob_sha": "5269ecb0d2533f1f5421fd828ff2083e1254a511", + "blob_sha": "0a7f31f9465e184a1f081695da88baf09b3f30e3", "commits": [], - "end_line": 45, + "end_line": 36, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/presence/PresenceService.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/filters/StreamDestinationFilterService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 45 + "start_line": 36 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/presence" + "src": "M:graylog2-server/src/main/java/org/graylog2/streams" }, { "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog/events", + "dst": "M:graylog2-server/src/main/java/org/graylog2/security", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog/events", + "id": "M:graylog2-server/src/main/java/org/graylog2/streams->M:graylog2-server/src/main/java/org/graylog2/security", "kind": "uses", "refs": [ { - "blob_sha": "f10f365d72fef899e826434504df57e51370106a", + "blob_sha": "08ea667bbc2a05c1666e4ba96250e431bf8ec85a", "commits": [], - "end_line": 46, + "end_line": 44, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/NotificationsResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/OutputServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 46 + "start_line": 44 }, { - "blob_sha": "f10f365d72fef899e826434504df57e51370106a", + "blob_sha": "08ea667bbc2a05c1666e4ba96250e431bf8ec85a", "commits": [], - "end_line": 47, + "end_line": 45, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/NotificationsResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/OutputServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 47 + "start_line": 45 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/rest" + "src": "M:graylog2-server/src/main/java/org/graylog2/streams" }, { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog/grn", + "count": 18, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog/grn", + "id": "M:graylog2-server/src/main/java/org/graylog2/streams->M:graylog2-server/src/main/java/org/graylog2/shared", "kind": "uses", "refs": [ { - "blob_sha": "5bb942220ad321dcda64eebad669f6ed4758c342", + "blob_sha": "69e8405d318eda7b481a4c60f08366fade1f4a61", "commits": [], - "end_line": 56, + "end_line": 32, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/streams/StreamResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/OutputImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 56 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/rest" - }, - { - "count": 80, - "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog/plugins", - "kind": "uses", - "refs": [ + "start_line": 32 + }, { - "blob_sha": "128102eaef103ae865c7e845ba0ca44236f0a32e", + "blob_sha": "69e8405d318eda7b481a4c60f08366fade1f4a61", "commits": [], - "end_line": 19, - "id": "E1", + "end_line": 33, + "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/RestResourcesModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/OutputImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 33 }, { - "blob_sha": "21279d277b8c942498e60c2dc01efdab1be6c817", + "blob_sha": "58ed41062573d51272b607496a2f8cd3196921d5", + "commits": [], + "end_line": 44, + "id": "E3", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamCache.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 44 + }, + { + "blob_sha": "ded986e2121e73cd56bbdc39bf69cd8ebd34eb79", + "commits": [], + "end_line": 38, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamDTO.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 38 + }, + { + "blob_sha": "ded986e2121e73cd56bbdc39bf69cd8ebd34eb79", + "commits": [], + "end_line": 39, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamDTO.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 39 + }, + { + "blob_sha": "21a3b51b135e5aab18a292b9c5678a5a319d7f6e", + "commits": [], + "end_line": 46, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 46 + }, + { + "blob_sha": "21a3b51b135e5aab18a292b9c5678a5a319d7f6e", + "commits": [], + "end_line": 47, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 47 + }, + { + "blob_sha": "795a85a7d1ad6ab40eaaa7b02c712add793260ab", + "commits": [], + "end_line": 38, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamRouterEngine.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 38 + }, + { + "blob_sha": "795a85a7d1ad6ab40eaaa7b02c712add793260ab", "commits": [], - "end_line": 30, - "id": "E2", + "end_line": 53, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/datanodes/DatanodeUpgradeResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamRouterEngine.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 + "start_line": 53 }, { - "blob_sha": "683e2e2e16207ce13337e9ef1d7195ca413eaef4", + "blob_sha": "f1a5234797663addb3c1a773795a552e2968ad9b", "commits": [], - "end_line": 43, - "id": "E3", + "end_line": 38, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/messages/MessageResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamRuleImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 43 + "start_line": 38 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/rest" + "src": "M:graylog2-server/src/main/java/org/graylog2/streams" }, { - "count": 7, - "dst": "M:graylog2-server/src/main/java/org/graylog/scheduler", + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/utilities", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog/scheduler", + "id": "M:graylog2-server/src/main/java/org/graylog2/streams->M:graylog2-server/src/main/java/org/graylog2/utilities", "kind": "uses", "refs": [ { - "blob_sha": "069d0c769e369f24807ce60387533f4963655ee9", + "blob_sha": "1d9ee49ea418a38c9258276e0fffb35b79db45c6", "commits": [], "end_line": 24, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/SystemJobSummary.java", + "path": "graylog2-server/src/main/java/org/graylog2/streams/matchers/RegexMatcher.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 24 - }, - { - "blob_sha": "8c0e272d750f4f89821acfe8ba306aeb49016351", - "commits": [], - "end_line": 26, - "id": "E2", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/cluster/ClusterSystemJobResource.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 - }, + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/streams" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/system->M:graylog2-server/src/main/java/org/graylog/plugins", + "kind": "uses", + "refs": [ { - "blob_sha": "3ce6c42079bd7dec5bddd458715fc067d690a40e", + "blob_sha": "0614d93c532f7e5244bf315246a607ad4773debe", "commits": [], - "end_line": 35, - "id": "E3", + "end_line": 21, + "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/datanodes/RollingRestartResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/stats/ClusterStatsService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 35 + "start_line": 21 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/rest" + "src": "M:graylog2-server/src/main/java/org/graylog2/system" }, { - "count": 30, - "dst": "M:graylog2-server/src/main/java/org/graylog/security", + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog/scheduler", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog/security", + "id": "M:graylog2-server/src/main/java/org/graylog2/system->M:graylog2-server/src/main/java/org/graylog/scheduler", "kind": "uses", "refs": [ { - "blob_sha": "dbab7286cfb658896ca5d2e0de6fcbdadbc9e749", + "blob_sha": "025280f05d0a8790fd9a47b26567f5c18208ead5", "commits": [], "end_line": 19, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/bulk/BulkExecutor.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/jobs/LegacySystemJob.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 19 }, { - "blob_sha": "655213f01d4ab276bd7b796d341b3bc99ba4e7d6", + "blob_sha": "81fc808959e8a6d3a7ed43c88bfd264135969313", "commits": [], "end_line": 20, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/bulk/SequentialBulkExecutor.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/jobs/LegacySystemJobFactory.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 20 }, { - "blob_sha": "f1603958bdfb969f4015cca1684c97e37109ad2d", + "blob_sha": "7efb54faac10f15346fbc07b614ee610d32ac321", "commits": [], - "end_line": 19, + "end_line": 27, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/bulk/SingleEntityOperationExecutor.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/rest" - }, - { - "count": 8, - "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/(root)", - "kind": "uses", - "refs": [ - { - "blob_sha": "128102eaef103ae865c7e845ba0ca44236f0a32e", - "commits": [], - "end_line": 24, - "id": "E1", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/RestResourcesModule.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 - }, - { - "blob_sha": "dc365729a9cac49b1092916ebed7c64f79a374c3", - "commits": [], - "end_line": 25, - "id": "E2", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/ConfigurationResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/jobs/LegacySystemJobManager.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 27 }, { - "blob_sha": "45c313885901d92ce33b817de5a7fc434862f182", + "blob_sha": "49f65eb69d22a56d30b66ca60140448ec56de14b", "commits": [], - "end_line": 26, - "id": "E3", + "end_line": 32, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/JournalResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/processing/DBProcessingStatusService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 32 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/rest" + "src": "M:graylog2-server/src/main/java/org/graylog2/system" }, { "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/alarmcallbacks", + "dst": "M:graylog2-server/src/main/java/org/graylog/tracing", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/alarmcallbacks", + "id": "M:graylog2-server/src/main/java/org/graylog2/system->M:graylog2-server/src/main/java/org/graylog/tracing", "kind": "uses", "refs": [ { - "blob_sha": "77240fa1ffb7e065fa83fb703e4e2a4dd4d6c5e5", + "blob_sha": "7efb54faac10f15346fbc07b614ee610d32ac321", "commits": [], - "end_line": 23, + "end_line": 28, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/models/alarmcallbacks/requests/CreateAlarmCallbackRequest.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/jobs/LegacySystemJobManager.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 28 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/rest" + "src": "M:graylog2-server/src/main/java/org/graylog2/system" }, { - "count": 158, - "dst": "M:graylog2-server/src/main/java/org/graylog2/audit", + "count": 6, + "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/audit", + "id": "M:graylog2-server/src/main/java/org/graylog2/system->M:graylog2-server/src/main/java/org/graylog2/(root)", "kind": "uses", "refs": [ { - "blob_sha": "dbab7286cfb658896ca5d2e0de6fcbdadbc9e749", + "blob_sha": "a41f3c5bf4fef569ed52d1fdcd110051ebbae232", "commits": [], - "end_line": 20, + "end_line": 49, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/bulk/BulkExecutor.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/processing/control/ClusterProcessingControl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 49 }, { - "blob_sha": "655213f01d4ab276bd7b796d341b3bc99ba4e7d6", + "blob_sha": "a41f3c5bf4fef569ed52d1fdcd110051ebbae232", "commits": [], - "end_line": 21, + "end_line": 50, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/bulk/SequentialBulkExecutor.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/processing/control/ClusterProcessingControl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 50 }, { - "blob_sha": "655213f01d4ab276bd7b796d341b3bc99ba4e7d6", + "blob_sha": "266a17467885cd173b9dcd891f10c893ecef661e", "commits": [], - "end_line": 22, + "end_line": 26, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/bulk/SequentialBulkExecutor.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/processing/control/ClusterProcessingControlFactory.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/rest" - }, - { - "count": 67, - "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/cluster", - "kind": "uses", - "refs": [ + "start_line": 26 + }, { - "blob_sha": "550bd79db02ea9bc1f491aad7485484181d3e971", + "blob_sha": "266a17467885cd173b9dcd891f10c893ecef661e", "commits": [], - "end_line": 25, - "id": "E1", + "end_line": 27, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/RemoteInterfaceProvider.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/processing/control/ClusterProcessingControlFactory.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 27 }, { - "blob_sha": "457cbc5016003969ee2a440cb1db2c60feeb3518", + "blob_sha": "266a17467885cd173b9dcd891f10c893ecef661e", "commits": [], - "end_line": 34, - "id": "E2", + "end_line": 28, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/cluster/ClusterDeflectorResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/processing/control/ClusterProcessingControlFactory.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 34 + "start_line": 28 }, { - "blob_sha": "83cecf16777fa43bd903ae0fca9104e798d346d5", + "blob_sha": "533858c026c3974bddd846e78211adc6053a7d1a", "commits": [], - "end_line": 40, - "id": "E3", + "end_line": 20, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/cluster/ClusterInputStatesResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/shutdown/GracefulShutdown.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 40 + "start_line": 20 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/rest" + "src": "M:graylog2-server/src/main/java/org/graylog2/system" }, { - "count": 10, - "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog2/audit", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/configuration", + "id": "M:graylog2-server/src/main/java/org/graylog2/system->M:graylog2-server/src/main/java/org/graylog2/audit", "kind": "uses", "refs": [ { - "blob_sha": "22936b9af10b7fee3095761e6145fcdb8548fe1c", + "blob_sha": "533858c026c3974bddd846e78211adc6053a7d1a", "commits": [], - "end_line": 30, + "end_line": 21, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/RestTools.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/shutdown/GracefulShutdown.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 + "start_line": 21 }, { - "blob_sha": "d8b19f4ef36b5067dc6f48e356c82928084f9d08", + "blob_sha": "533858c026c3974bddd846e78211adc6053a7d1a", "commits": [], - "end_line": 24, + "end_line": 22, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/URIHelperFactory.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/shutdown/GracefulShutdown.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 22 }, { - "blob_sha": "6eef67e413909a318a97616c262b127054cb0465", + "blob_sha": "533858c026c3974bddd846e78211adc6053a7d1a", "commits": [], - "end_line": 49, + "end_line": 38, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/datanodes/DataNodeManagementResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/shutdown/GracefulShutdown.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 49 + "start_line": 38 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/rest" + "src": "M:graylog2-server/src/main/java/org/graylog2/system" }, { - "count": 28, - "dst": "M:graylog2-server/src/main/java/org/graylog2/contentpacks", + "count": 6, + "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/contentpacks", + "id": "M:graylog2-server/src/main/java/org/graylog2/system->M:graylog2-server/src/main/java/org/graylog2/cluster", "kind": "uses", "refs": [ { - "blob_sha": "eaaa92b354593281b075d81b39f1f604f623f32a", + "blob_sha": "a41f3c5bf4fef569ed52d1fdcd110051ebbae232", "commits": [], - "end_line": 23, + "end_line": 27, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/contentpacks/responses/CatalogIndexResponse.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/processing/control/ClusterProcessingControl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 27 }, { - "blob_sha": "627d07953319cf60a5f973f9d3e977dd9f84fbb0", + "blob_sha": "a41f3c5bf4fef569ed52d1fdcd110051ebbae232", "commits": [], - "end_line": 24, + "end_line": 28, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/contentpacks/responses/CatalogResolveRequest.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/processing/control/ClusterProcessingControl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 28 }, { - "blob_sha": "033838b2ab59b6d86c7d239f7fb6e58404a43790", + "blob_sha": "a41f3c5bf4fef569ed52d1fdcd110051ebbae232", "commits": [], - "end_line": 24, + "end_line": 29, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/contentpacks/responses/CatalogResolveResponse.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/rest" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/contentstream", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/contentstream", - "kind": "uses", - "refs": [ - { - "blob_sha": "128102eaef103ae865c7e845ba0ca44236f0a32e", - "commits": [], - "end_line": 25, - "id": "E1", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/RestResourcesModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/processing/control/ClusterProcessingControl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/rest" - }, - { - "count": 52, - "dst": "M:graylog2-server/src/main/java/org/graylog2/database", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/database", - "kind": "uses", - "refs": [ + "start_line": 29 + }, { - "blob_sha": "592191a53052a2b5a69be6722074f5ba755f0dc1", + "blob_sha": "266a17467885cd173b9dcd891f10c893ecef661e", "commits": [], - "end_line": 19, - "id": "E1", + "end_line": 22, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/NotFoundExceptionMapper.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/processing/control/ClusterProcessingControlFactory.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 22 }, { - "blob_sha": "d7b07f2068f458dc52ae6d23b078be984614df73", + "blob_sha": "266a17467885cd173b9dcd891f10c893ecef661e", "commits": [], - "end_line": 22, - "id": "E2", + "end_line": 23, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/models/PaginatedResponse.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/processing/control/ClusterProcessingControlFactory.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 23 }, { - "blob_sha": "7e441f3f03ae43811830d50cdcee98be49b2b8aa", + "blob_sha": "c1e44a6aed5738ef570d91798de469acc299486c", "commits": [], "end_line": 26, - "id": "E3", + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/lookup/CacheApi.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/urlallowlist/UrlAllowlistService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 26 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/rest" + "src": "M:graylog2-server/src/main/java/org/graylog2/system" }, { - "count": 6, - "dst": "M:graylog2-server/src/main/java/org/graylog2/datanode", + "count": 14, + "dst": "M:graylog2-server/src/main/java/org/graylog2/database", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/datanode", + "id": "M:graylog2-server/src/main/java/org/graylog2/system->M:graylog2-server/src/main/java/org/graylog2/database", "kind": "uses", "refs": [ { - "blob_sha": "6eef67e413909a318a97616c262b127054cb0465", + "blob_sha": "b4146e41cd16a1887d23845d3dd0790c7244ef6c", "commits": [], - "end_line": 50, + "end_line": 21, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/datanodes/DataNodeManagementResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/activities/SystemMessageImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 50 + "start_line": 21 }, { - "blob_sha": "21279d277b8c942498e60c2dc01efdab1be6c817", + "blob_sha": "b4146e41cd16a1887d23845d3dd0790c7244ef6c", "commits": [], - "end_line": 36, + "end_line": 22, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/datanodes/DatanodeUpgradeResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/activities/SystemMessageImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 36 + "start_line": 22 }, { - "blob_sha": "21279d277b8c942498e60c2dc01efdab1be6c817", + "blob_sha": "b4146e41cd16a1887d23845d3dd0790c7244ef6c", "commits": [], - "end_line": 37, + "end_line": 23, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/datanodes/DatanodeUpgradeResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/activities/SystemMessageImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/rest" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/datatiering", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/datatiering", - "kind": "uses", - "refs": [ + "start_line": 23 + }, { - "blob_sha": "17290e20c637323a39e521045e68c0b199ffd5d7", + "blob_sha": "b4146e41cd16a1887d23845d3dd0790c7244ef6c", "commits": [], - "end_line": 48, - "id": "E1", + "end_line": 24, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/indexer/IndexSetTemplateResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/activities/SystemMessageImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 48 + "start_line": 24 }, { - "blob_sha": "4a3d1368f027a01d97c3302f13e1ffdef61b985c", + "blob_sha": "6c9febb4725dfed08c29e6fd962269d19d732323", "commits": [], - "end_line": 58, - "id": "E2", + "end_line": 27, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/indexer/IndexSetsResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/activities/SystemMessageServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 58 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/rest" - }, - { - "count": 7, - "dst": "M:graylog2-server/src/main/java/org/graylog2/decorators", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/decorators", - "kind": "uses", - "refs": [ + "start_line": 27 + }, { - "blob_sha": "ddd9a35ec8c71d2893db914d0a24e7ef88a8da76", + "blob_sha": "6c9febb4725dfed08c29e6fd962269d19d732323", "commits": [], - "end_line": 43, - "id": "E1", + "end_line": 28, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/search/AbsoluteSearchResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/activities/SystemMessageServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 43 + "start_line": 28 }, { - "blob_sha": "62ffcd34110f32e14d9402debdb98b881806fb82", + "blob_sha": "6c9febb4725dfed08c29e6fd962269d19d732323", "commits": [], - "end_line": 40, - "id": "E2", + "end_line": 29, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/search/DecoratorResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/activities/SystemMessageServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 40 + "start_line": 29 }, { - "blob_sha": "62ffcd34110f32e14d9402debdb98b881806fb82", + "blob_sha": "49f65eb69d22a56d30b66ca60140448ec56de14b", "commits": [], - "end_line": 41, - "id": "E3", + "end_line": 33, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/search/DecoratorResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/processing/DBProcessingStatusService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 41 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/rest" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/events", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/events", - "kind": "uses", - "refs": [ + "start_line": 33 + }, { - "blob_sha": "eb8768b2e3ef22d74369e39f8491c067614665b8", + "blob_sha": "49f65eb69d22a56d30b66ca60140448ec56de14b", "commits": [], - "end_line": 30, - "id": "E1", + "end_line": 34, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/debug/DebugEventsResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/processing/DBProcessingStatusService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 + "start_line": 34 }, { - "blob_sha": "cea43c0365b45d35727da09f705e2ae08e5a65fc", + "blob_sha": "3fb1afeffe0f8c66190037f6a1ea31752780dd22", "commits": [], - "end_line": 64, - "id": "E2", + "end_line": 23, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/inputs/InputsResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/processing/ProcessingStatusDto.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 64 + "start_line": 23 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/rest" + "src": "M:graylog2-server/src/main/java/org/graylog2/system" }, { "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/gettingstarted", + "dst": "M:graylog2-server/src/main/java/org/graylog2/events", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/gettingstarted", + "id": "M:graylog2-server/src/main/java/org/graylog2/system->M:graylog2-server/src/main/java/org/graylog2/events", "kind": "uses", "refs": [ { - "blob_sha": "7859473a44ad22bd38e86a86621a6bb43cf5484c", + "blob_sha": "1d20539b48f17b3f71d94c5c868eb73f1dff20c3", "commits": [], - "end_line": 31, + "end_line": 20, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/GettingStartedResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/debug/ClusterDebugEventListener.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 31 + "start_line": 20 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/rest" + "src": "M:graylog2-server/src/main/java/org/graylog2/system" }, { - "count": 9, - "dst": "M:graylog2-server/src/main/java/org/graylog2/grok", + "count": 5, + "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/grok", + "id": "M:graylog2-server/src/main/java/org/graylog2/system->M:graylog2-server/src/main/java/org/graylog2/indexer", "kind": "uses", "refs": [ { - "blob_sha": "5e9fc5523c7467610807f960ac91a023b9c79e9c", + "blob_sha": "81fc808959e8a6d3a7ed43c88bfd264135969313", "commits": [], - "end_line": 23, + "end_line": 21, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/grokpattern/requests/GrokPatternTestRequest.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/jobs/LegacySystemJobFactory.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 21 }, { - "blob_sha": "4df0a4b125b7b2a3dbb7bc315405c86290a1766f", + "blob_sha": "81fc808959e8a6d3a7ed43c88bfd264135969313", "commits": [], - "end_line": 23, + "end_line": 22, "id": "E2", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/responses/GrokPatternList.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 - }, - { - "blob_sha": "4729c4e55e6d5656db7bdffa1cdd39534c61f01e", - "commits": [], - "end_line": 24, - "id": "E3", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/responses/GrokPatternPageList.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/rest" - }, - { - "count": 147, - "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/indexer", - "kind": "uses", - "refs": [ + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/system/jobs/LegacySystemJobFactory.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, { - "blob_sha": "56574cafb7098e70b6c4133805c030eebd444006", + "blob_sha": "0614d93c532f7e5244bf315246a607ad4773debe", "commits": [], - "end_line": 19, - "id": "E1", + "end_line": 22, + "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/ElasticsearchExceptionMapper.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/stats/ClusterStatsService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 22 }, { - "blob_sha": "b98e5b221963de71e8b12e695febcb52b931880b", + "blob_sha": "8b285746d62cd8cc791a488b025ef816aa26954f", "commits": [], - "end_line": 19, - "id": "E2", + "end_line": 22, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/QueryParsingExceptionMapper.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/stats/elasticsearch/ClusterHealth.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 22 }, { - "blob_sha": "bba236c06523cb1e6a8d9d28d2c3f62af78db5f4", + "blob_sha": "5ddfe084b4175ac2924f539d6601dd7ac93c2ddf", "commits": [], - "end_line": 26, - "id": "E3", + "end_line": 22, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/ScrollChunkWriter.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/stats/elasticsearch/ElasticsearchStats.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 22 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/rest" + "src": "M:graylog2-server/src/main/java/org/graylog2/system" }, { - "count": 24, - "dst": "M:graylog2-server/src/main/java/org/graylog2/inputs", + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/initializers", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/inputs", + "id": "M:graylog2-server/src/main/java/org/graylog2/system->M:graylog2-server/src/main/java/org/graylog2/initializers", "kind": "uses", "refs": [ { - "blob_sha": "0317ce425de8df36449b8b4cd1a6df1b4e1708c9", + "blob_sha": "533858c026c3974bddd846e78211adc6053a7d1a", "commits": [], "end_line": 23, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/inputs/requests/InputCreateRequest.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/shutdown/GracefulShutdown.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 23 - }, - { - "blob_sha": "683e2e2e16207ce13337e9ef1d7195ca413eaef4", - "commits": [], - "end_line": 51, - "id": "E2", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/messages/MessageResource.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 51 - }, + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/system" + }, + { + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/inputs", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/system->M:graylog2-server/src/main/java/org/graylog2/inputs", + "kind": "uses", + "refs": [ { - "blob_sha": "4e3e6cb86cddcd53626de80b05e85e0ec274641b", + "blob_sha": "0614d93c532f7e5244bf315246a607ad4773debe", "commits": [], - "end_line": 20, - "id": "E3", + "end_line": 23, + "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/inputs/AbstractInputsResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/stats/ClusterStatsService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 23 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/rest" + "src": "M:graylog2-server/src/main/java/org/graylog2/system" }, { "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/log4j", + "dst": "M:graylog2-server/src/main/java/org/graylog2/notifications", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/log4j", + "id": "M:graylog2-server/src/main/java/org/graylog2/system->M:graylog2-server/src/main/java/org/graylog2/notifications", "kind": "uses", "refs": [ { - "blob_sha": "e87255692d85edfd8073acaea88d295db424f32d", + "blob_sha": "307c2f01be057ccd1c73a4173555c0fad281047b", "commits": [], - "end_line": 44, + "end_line": 21, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/debug/bundle/SupportBundleService.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/urlallowlist/UrlAllowlistNotificationService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 44 + "start_line": 21 }, { - "blob_sha": "bca6031275c2c43e2b5d5463ed459c37e6917f63", + "blob_sha": "307c2f01be057ccd1c73a4173555c0fad281047b", "commits": [], - "end_line": 41, + "end_line": 22, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/logs/LoggersResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/urlallowlist/UrlAllowlistNotificationService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 41 + "start_line": 22 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/rest" + "src": "M:graylog2-server/src/main/java/org/graylog2/system" }, { - "count": 21, - "dst": "M:graylog2-server/src/main/java/org/graylog2/lookup", + "count": 24, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/lookup", + "id": "M:graylog2-server/src/main/java/org/graylog2/system->M:graylog2-server/src/main/java/org/graylog2/plugin", "kind": "uses", "refs": [ { - "blob_sha": "7e441f3f03ae43811830d50cdcee98be49b2b8aa", + "blob_sha": "c8ffa7365f8acf60412f676afb1f3889da22e35c", "commits": [], - "end_line": 27, + "end_line": 19, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/lookup/CacheApi.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/activities/SystemMessage.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 19 }, { - "blob_sha": "063403be8eae86e7ad9904ec8a58802d694bfe52", + "blob_sha": "e7350c5f42d8ee163636f189b5dd5bf24765cd1a", "commits": [], - "end_line": 24, + "end_line": 20, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/lookup/DataAdapterApi.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/activities/SystemMessageActivityWriter.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 20 }, { - "blob_sha": "063403be8eae86e7ad9904ec8a58802d694bfe52", + "blob_sha": "e7350c5f42d8ee163636f189b5dd5bf24765cd1a", "commits": [], - "end_line": 34, + "end_line": 21, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/lookup/DataAdapterApi.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/activities/SystemMessageActivityWriter.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 34 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/rest" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/messageprocessors", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/messageprocessors", - "kind": "uses", - "refs": [ + "start_line": 21 + }, { - "blob_sha": "a7e27a2ee26a22e3f421ec2fe4e905afc084293e", + "blob_sha": "e7350c5f42d8ee163636f189b5dd5bf24765cd1a", "commits": [], - "end_line": 32, - "id": "E1", + "end_line": 22, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/MessageProcessorsResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/activities/SystemMessageActivityWriter.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 32 + "start_line": 22 }, { - "blob_sha": "a7e27a2ee26a22e3f421ec2fe4e905afc084293e", + "blob_sha": "b4146e41cd16a1887d23845d3dd0790c7244ef6c", "commits": [], - "end_line": 33, - "id": "E2", + "end_line": 25, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/MessageProcessorsResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/activities/SystemMessageImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 33 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/rest" - }, - { - "count": 9, - "dst": "M:graylog2-server/src/main/java/org/graylog2/metrics", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/metrics", - "kind": "uses", - "refs": [ + "start_line": 25 + }, { - "blob_sha": "5d107e254b5b48dc2290c28a38889c5eeaa13502", + "blob_sha": "1dcdaca02a07b085118c51ce7a2c080922feec3a", "commits": [], - "end_line": 45, - "id": "E1", + "end_line": 19, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/streams/StreamMetricsResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/activities/SystemMessageService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 45 + "start_line": 19 }, { - "blob_sha": "5d107e254b5b48dc2290c28a38889c5eeaa13502", + "blob_sha": "025280f05d0a8790fd9a47b26567f5c18208ead5", "commits": [], - "end_line": 34, - "id": "E2", + "end_line": 20, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/streams/StreamMetricsResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/jobs/LegacySystemJob.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 34 + "start_line": 20 }, { - "blob_sha": "5d107e254b5b48dc2290c28a38889c5eeaa13502", + "blob_sha": "49f65eb69d22a56d30b66ca60140448ec56de14b", "commits": [], "end_line": 35, - "id": "E3", + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/streams/StreamMetricsResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/processing/DBProcessingStatusService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 35 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/rest" - }, - { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/notifications", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/notifications", - "kind": "uses", - "refs": [ - { - "blob_sha": "f10f365d72fef899e826434504df57e51370106a", - "commits": [], - "end_line": 52, - "id": "E1", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/NotificationsResource.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 52 }, { - "blob_sha": "f10f365d72fef899e826434504df57e51370106a", + "blob_sha": "49f65eb69d22a56d30b66ca60140448ec56de14b", "commits": [], - "end_line": 53, - "id": "E2", + "end_line": 36, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/NotificationsResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/processing/DBProcessingStatusService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 53 + "start_line": 36 }, { - "blob_sha": "f10f365d72fef899e826434504df57e51370106a", + "blob_sha": "49f65eb69d22a56d30b66ca60140448ec56de14b", "commits": [], - "end_line": 54, - "id": "E3", + "end_line": 37, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/NotificationsResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/processing/DBProcessingStatusService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 54 + "start_line": 37 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/rest" + "src": "M:graylog2-server/src/main/java/org/graylog2/system" }, { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/outputs", + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/outputs", + "id": "M:graylog2-server/src/main/java/org/graylog2/system->M:graylog2-server/src/main/java/org/graylog2/rest", "kind": "uses", "refs": [ { - "blob_sha": "6e7ed5ca4997f74775a5109d8176fffec9d1df79", + "blob_sha": "a41f3c5bf4fef569ed52d1fdcd110051ebbae232", "commits": [], - "end_line": 46, + "end_line": 30, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/outputs/OutputResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/processing/control/ClusterProcessingControl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 46 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/rest" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/periodical", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/periodical", - "kind": "uses", - "refs": [ + "start_line": 30 + }, { - "blob_sha": "67a47d653607f226a3b5de7371571fe7ccf82996", + "blob_sha": "266a17467885cd173b9dcd891f10c893ecef661e", "commits": [], - "end_line": 49, - "id": "E1", + "end_line": 24, + "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/IndexRangesResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/processing/control/ClusterProcessingControlFactory.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 49 + "start_line": 24 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/rest" + "src": "M:graylog2-server/src/main/java/org/graylog2/system" }, { - "count": 153, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "count": 15, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/plugin", + "id": "M:graylog2-server/src/main/java/org/graylog2/system->M:graylog2-server/src/main/java/org/graylog2/shared", "kind": "uses", "refs": [ { - "blob_sha": "cfc7d3b9350d9471beb60cdca9a8c52bcdebff4e", + "blob_sha": "e7350c5f42d8ee163636f189b5dd5bf24765cd1a", "commits": [], "end_line": 23, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/GenericErrorCsvWriter.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/activities/SystemMessageActivityWriter.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 23 }, { - "blob_sha": "cfc7d3b9350d9471beb60cdca9a8c52bcdebff4e", + "blob_sha": "e7350c5f42d8ee163636f189b5dd5bf24765cd1a", "commits": [], "end_line": 24, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/GenericErrorCsvWriter.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/activities/SystemMessageActivityWriter.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 24 }, { - "blob_sha": "cfc7d3b9350d9471beb60cdca9a8c52bcdebff4e", + "blob_sha": "b4146e41cd16a1887d23845d3dd0790c7244ef6c", "commits": [], - "end_line": 25, + "end_line": 32, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/GenericErrorCsvWriter.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/rest" - }, - { - "count": 37, - "dst": "M:graylog2-server/src/main/java/org/graylog2/search", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/search", - "kind": "uses", - "refs": [ - { - "blob_sha": "81864437a2142b9d961dc7f449f600041e72b4c0", - "commits": [], - "end_line": 43, - "id": "E1", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/datanodes/DatanodeResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/activities/SystemMessageImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 43 + "start_line": 32 }, { - "blob_sha": "81864437a2142b9d961dc7f449f600041e72b4c0", + "blob_sha": "b4146e41cd16a1887d23845d3dd0790c7244ef6c", "commits": [], - "end_line": 44, - "id": "E2", + "end_line": 33, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/datanodes/DatanodeResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/activities/SystemMessageImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 44 + "start_line": 33 }, { - "blob_sha": "81864437a2142b9d961dc7f449f600041e72b4c0", - "commits": [], - "end_line": 45, - "id": "E3", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/datanodes/DatanodeResource.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 45 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/rest" - }, - { - "count": 15, - "dst": "M:graylog2-server/src/main/java/org/graylog2/security", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/security", - "kind": "uses", - "refs": [ - { - "blob_sha": "550bd79db02ea9bc1f491aad7485484181d3e971", + "blob_sha": "7efb54faac10f15346fbc07b614ee610d32ac321", "commits": [], - "end_line": 26, - "id": "E1", + "end_line": 29, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/RemoteInterfaceProvider.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/jobs/LegacySystemJobManager.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 29 }, { - "blob_sha": "d5a4f74c2e9a270700ee1d935a6b816b07cc5739", + "blob_sha": "7efb54faac10f15346fbc07b614ee610d32ac321", "commits": [], - "end_line": 22, - "id": "E2", + "end_line": 30, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/sessions/responses/SessionResponseFactory.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/jobs/LegacySystemJobManager.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 30 }, { - "blob_sha": "1513ae0f2d80779fb900cea86c5360980b2ca16c", + "blob_sha": "dde4b8ae5d213648cd543420bdcfabbd4bdc92c4", "commits": [], - "end_line": 42, - "id": "E3", + "end_line": 28, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/datanodes/DatanodeRestApiProxy.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/processing/MongoDBProcessingStatusRecorderService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 42 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/rest" - }, - { - "count": 301, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/shared", - "kind": "uses", - "refs": [ + "start_line": 28 + }, { - "blob_sha": "22936b9af10b7fee3095761e6145fcdb8548fe1c", + "blob_sha": "a41f3c5bf4fef569ed52d1fdcd110051ebbae232", "commits": [], - "end_line": 31, - "id": "E1", + "end_line": 51, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/RestTools.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/processing/control/ClusterProcessingControl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 31 + "start_line": 51 }, { - "blob_sha": "22936b9af10b7fee3095761e6145fcdb8548fe1c", + "blob_sha": "1c236abfeab84012eb574b3e4638c462b0cdaf18", "commits": [], - "end_line": 32, - "id": "E2", + "end_line": 21, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/RestTools.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/processing/control/OutputBufferDrainFailureException.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 32 + "start_line": 21 }, { - "blob_sha": "22936b9af10b7fee3095761e6145fcdb8548fe1c", + "blob_sha": "533858c026c3974bddd846e78211adc6053a7d1a", "commits": [], - "end_line": 33, - "id": "E3", + "end_line": 25, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/RestTools.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/shutdown/GracefulShutdown.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 33 + "start_line": 25 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/rest" + "src": "M:graylog2-server/src/main/java/org/graylog2/system" }, { - "count": 5, - "dst": "M:graylog2-server/src/main/java/org/graylog2/storage", + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog2/streams", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/storage", + "id": "M:graylog2-server/src/main/java/org/graylog2/system->M:graylog2-server/src/main/java/org/graylog2/streams", "kind": "uses", "refs": [ { - "blob_sha": "d1e97777ed09ccc973091a08c919c4989f67bca4", + "blob_sha": "0614d93c532f7e5244bf315246a607ad4773debe", "commits": [], - "end_line": 41, + "end_line": 25, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/SearchVersionResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/stats/ClusterStatsService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 41 + "start_line": 25 }, { - "blob_sha": "d1e97777ed09ccc973091a08c919c4989f67bca4", + "blob_sha": "0614d93c532f7e5244bf315246a607ad4773debe", "commits": [], - "end_line": 42, + "end_line": 26, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/SearchVersionResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/stats/ClusterStatsService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 42 + "start_line": 26 }, { - "blob_sha": "e87255692d85edfd8073acaea88d295db424f32d", + "blob_sha": "0614d93c532f7e5244bf315246a607ad4773debe", "commits": [], - "end_line": 64, + "end_line": 27, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/debug/bundle/SupportBundleService.java", + "path": "graylog2-server/src/main/java/org/graylog2/system/stats/ClusterStatsService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 64 + "start_line": 27 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/rest" + "src": "M:graylog2-server/src/main/java/org/graylog2/system" }, { - "count": 36, - "dst": "M:graylog2-server/src/main/java/org/graylog2/streams", + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog/events", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/streams", + "id": "M:graylog2-server/src/main/java/org/graylog2/telemetry->M:graylog2-server/src/main/java/org/graylog/events", "kind": "uses", "refs": [ { - "blob_sha": "5bb942220ad321dcda64eebad669f6ed4758c342", + "blob_sha": "ae0b2a83faaa7383f7ecd06222ad7faea5ebcbe6", "commits": [], - "end_line": 112, + "end_line": 20, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/streams/StreamResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/suppliers/EventDefinitionsMetricsSupplier.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 112 + "start_line": 20 }, { - "blob_sha": "5bb942220ad321dcda64eebad669f6ed4758c342", + "blob_sha": "43a0baae9fa5a371cc0189cba1868a5c8eacf5a6", "commits": [], - "end_line": 113, + "end_line": 20, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/streams/StreamResource.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 113 - }, - { - "blob_sha": "5bb942220ad321dcda64eebad669f6ed4758c342", - "commits": [], - "end_line": 114, - "id": "E3", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/streams/StreamResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/suppliers/EventNotificationsMetricsSupplier.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 114 + "start_line": 20 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/rest" + "src": "M:graylog2-server/src/main/java/org/graylog2/telemetry" }, { - "count": 25, - "dst": "M:graylog2-server/src/main/java/org/graylog2/system", + "count": 7, + "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/system", + "id": "M:graylog2-server/src/main/java/org/graylog2/telemetry->M:graylog2-server/src/main/java/org/graylog/plugins", "kind": "uses", "refs": [ { - "blob_sha": "20cea04558431a41c861e2787369bb34367f8392", + "blob_sha": "2b0d20342828f0092410beca2dc477416929020b", "commits": [], - "end_line": 24, + "end_line": 21, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/processing/ProcessingStatusSummary.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/pipelines/PipelineActivityPeriodical.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 21 }, { - "blob_sha": "20cea04558431a41c861e2787369bb34367f8392", + "blob_sha": "b8ad702c3c7b68713dc0002501ce743cb8ee4c71", "commits": [], "end_line": 25, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/processing/ProcessingStatusSummary.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/pipelines/UserPipelines.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 25 }, { - "blob_sha": "eaccfee3d8cdb0740b601cc808ae7b679693bf1e", + "blob_sha": "b8ad702c3c7b68713dc0002501ce743cb8ee4c71", "commits": [], - "end_line": 24, + "end_line": 26, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/ClusterStatsResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/pipelines/UserPipelines.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/rest" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/telemetry", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/telemetry", - "kind": "uses", - "refs": [ + "start_line": 26 + }, { - "blob_sha": "128102eaef103ae865c7e845ba0ca44236f0a32e", + "blob_sha": "f1f42483300845ccf82a386497c2b96a1f3197bd", "commits": [], - "end_line": 130, - "id": "E1", + "end_line": 20, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/RestResourcesModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/suppliers/DashboardsMetricsSupplier.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 130 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/rest" - }, - { - "count": 17, - "dst": "M:graylog2-server/src/main/java/org/graylog2/users", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/users", - "kind": "uses", - "refs": [ + "start_line": 20 + }, { - "blob_sha": "d54d0eeb8d292eb7bf1b36611124e4d975b055e0", + "blob_sha": "a8c8dc4dfbdaff04f34adb366f8142d1b0016baa", "commits": [], - "end_line": 22, - "id": "E1", + "end_line": 20, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/entities/preferences/listeners/EntityListPreferencesCleanerOnUserDeletion.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/suppliers/PipelinesMetricsSupplier.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 20 }, { - "blob_sha": "2ef2bc6b2113fd94a79b22e7482edd29a9d8e3ed", + "blob_sha": "a8c8dc4dfbdaff04f34adb366f8142d1b0016baa", "commits": [], - "end_line": 60, - "id": "E2", + "end_line": 21, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/roles/RolesResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/suppliers/PipelinesMetricsSupplier.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 60 + "start_line": 21 }, { - "blob_sha": "2ef2bc6b2113fd94a79b22e7482edd29a9d8e3ed", + "blob_sha": "6fa03e4723d1d5961a8435d446a42999d09abb36", "commits": [], - "end_line": 61, - "id": "E3", + "end_line": 20, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/roles/RolesResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/suppliers/SidecarsVersionSupplier.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 61 + "start_line": 20 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/rest" + "src": "M:graylog2-server/src/main/java/org/graylog2/telemetry" }, { - "count": 9, - "dst": "M:graylog2-server/src/main/java/org/graylog2/utilities", + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog2/audit", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/utilities", + "id": "M:graylog2-server/src/main/java/org/graylog2/telemetry->M:graylog2-server/src/main/java/org/graylog2/audit", "kind": "uses", "refs": [ { - "blob_sha": "22936b9af10b7fee3095761e6145fcdb8548fe1c", + "blob_sha": "6b9a6bf587c4cd282f287d293f375cf636d49f4a", "commits": [], - "end_line": 34, + "end_line": 36, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/RestTools.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/rest/TelemetryResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 34 + "start_line": 36 }, { - "blob_sha": "7d60ddbc6541b922dd6f29d76323011497a8f91b", + "blob_sha": "6b9a6bf587c4cd282f287d293f375cf636d49f4a", "commits": [], - "end_line": 59, + "end_line": 37, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/mongodb/MongodbClusterResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/rest/TelemetryResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 59 + "start_line": 37 }, { - "blob_sha": "7d60ddbc6541b922dd6f29d76323011497a8f91b", + "blob_sha": "6b9a6bf587c4cd282f287d293f375cf636d49f4a", "commits": [], - "end_line": 60, + "end_line": 45, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/mongodb/MongodbClusterResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/rest/TelemetryResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 60 + "start_line": 45 + }, + { + "blob_sha": "6b9a6bf587c4cd282f287d293f375cf636d49f4a", + "commits": [], + "end_line": 38, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/rest/TelemetryResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 38 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/rest" + "src": "M:graylog2-server/src/main/java/org/graylog2/telemetry" }, { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/validation", + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-server/src/main/java/org/graylog2/validation", + "id": "M:graylog2-server/src/main/java/org/graylog2/telemetry->M:graylog2-server/src/main/java/org/graylog2/cluster", "kind": "uses", "refs": [ { - "blob_sha": "a26e8a2aa3d5cd1d2439417f1e860d36756929ed", + "blob_sha": "292c823f077923a6a3d1c624fe055ab0bbb73f93", "commits": [], - "end_line": 22, + "end_line": 20, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/field_types/FieldTypeProfileChangeRequest.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/cluster/TelemetryClusterService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 20 }, { - "blob_sha": "d29d25f103051aab3cca86e9d07abe28151177bc", + "blob_sha": "292c823f077923a6a3d1c624fe055ab0bbb73f93", "commits": [], - "end_line": 22, + "end_line": 21, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/field_types/FieldTypeProfileUnsetRequest.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/cluster/TelemetryClusterService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 21 }, { - "blob_sha": "c9d0a492e4a2b0aaac62fb5b8e950c19f5380eb8", + "blob_sha": "f28a936b9d7096256436847be9248f10a02ffa50", "commits": [], - "end_line": 28, + "end_line": 25, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/indexer/requests/IndexSetCreationRequest.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/rest/TelemetryService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 + "start_line": 25 + }, + { + "blob_sha": "f28a936b9d7096256436847be9248f10a02ffa50", + "commits": [], + "end_line": 26, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/rest/TelemetryService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/rest" + "src": "M:graylog2-server/src/main/java/org/graylog2/telemetry" }, { - "count": 6, - "dst": "M:graylog2-web-interface/src/logic", + "count": 8, + "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/rest->M:graylog2-web-interface/src/logic", + "id": "M:graylog2-server/src/main/java/org/graylog2/telemetry->M:graylog2-server/src/main/java/org/graylog2/configuration", "kind": "uses", "refs": [ { - "blob_sha": "9ab47845864acc7f9e2ddfb31d33f15cfab13e12", + "blob_sha": "0ac28b7dd1e9efc046fee289ce57f7b769a9e5c9", "commits": [], - "end_line": 19, + "end_line": 23, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/sessions/SessionUtils.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/client/TelemetryClient.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 23 }, { - "blob_sha": "d5a4f74c2e9a270700ee1d935a6b816b07cc5739", + "blob_sha": "33cafbb8398bbb06b8a2c05fc006f08cf0154007", "commits": [], - "end_line": 19, + "end_line": 32, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/models/system/sessions/responses/SessionResponseFactory.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/cluster/TelemetryClusterInfoPeriodical.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 32 }, { - "blob_sha": "f7ca1b89b7dbd17d437ee9e560dbfa1dd89615d0", + "blob_sha": "42038e5aa38da6a6d4ae4b3e02ddcad1c8bea13f", "commits": [], - "end_line": 25, + "end_line": 37, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/rest/resources/system/CookieFactory.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/cluster/db/DBTelemetryClusterInfo.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/rest" - }, - { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/search->M:graylog2-server/src/main/java/org/graylog2/rest", - "kind": "uses", - "refs": [ + "start_line": 37 + }, { - "blob_sha": "39c6a69f235b876ed9c22c90b5c6da3be62999f9", + "blob_sha": "2b0d20342828f0092410beca2dc477416929020b", "commits": [], "end_line": 22, - "id": "E1", + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/search/AttributeFieldSorts.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/pipelines/PipelineActivityPeriodical.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 22 }, { - "blob_sha": "adf2b7499741b047d24499dae83b424ca75b0f18", + "blob_sha": "f28a936b9d7096256436847be9248f10a02ffa50", "commits": [], - "end_line": 19, - "id": "E2", + "end_line": 27, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/search/DbFieldMappingCreator.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/rest/TelemetryService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 27 }, { - "blob_sha": "832c9ecf18cdc9855f4e9e93ad8a767395a3f9b9", + "blob_sha": "f28a936b9d7096256436847be9248f10a02ffa50", "commits": [], - "end_line": 26, - "id": "E3", + "end_line": 54, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/search/SearchQueryParser.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/rest/TelemetryService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/search" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/utilities", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/search->M:graylog2-server/src/main/java/org/graylog2/utilities", - "kind": "uses", - "refs": [ + "start_line": 54 + }, { - "blob_sha": "2bf8317f302ecb60b1b17a0e4122d43a27d85ce4", + "blob_sha": "b725d36ccdc3c423f133f039356f3c1312fa47c9", "commits": [], "end_line": 21, - "id": "E1", + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/search/SearchQueryField.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/scheduler/TelemetrySubmissionPeriodical.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "7d0debbe135eb9e74a6911c7a5b0812307337cc0", + "commits": [], + "end_line": 21, + "id": "E8", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/suppliers/ShardsMetricsSupplier.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 21 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/search" + "src": "M:graylog2-server/src/main/java/org/graylog2/telemetry" }, { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog/grn", + "count": 15, + "dst": "M:graylog2-server/src/main/java/org/graylog2/database", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/security->M:graylog2-server/src/main/java/org/graylog/grn", + "id": "M:graylog2-server/src/main/java/org/graylog2/telemetry->M:graylog2-server/src/main/java/org/graylog2/database", "kind": "uses", "refs": [ { - "blob_sha": "f9b3ee3a3a7302cccefec07e8d5ec4d03e39fe87", + "blob_sha": "42038e5aa38da6a6d4ae4b3e02ddcad1c8bea13f", "commits": [], - "end_line": 32, + "end_line": 25, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/security/realm/MongoDbAuthorizationRealm.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/cluster/db/DBTelemetryClusterInfo.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 32 + "start_line": 25 }, { - "blob_sha": "f9b3ee3a3a7302cccefec07e8d5ec4d03e39fe87", + "blob_sha": "42038e5aa38da6a6d4ae4b3e02ddcad1c8bea13f", "commits": [], - "end_line": 33, + "end_line": 26, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/security/realm/MongoDbAuthorizationRealm.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/cluster/db/DBTelemetryClusterInfo.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 33 + "start_line": 26 }, { - "blob_sha": "f9b3ee3a3a7302cccefec07e8d5ec4d03e39fe87", + "blob_sha": "42038e5aa38da6a6d4ae4b3e02ddcad1c8bea13f", "commits": [], - "end_line": 34, + "end_line": 38, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/security/realm/MongoDbAuthorizationRealm.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/cluster/db/DBTelemetryClusterInfo.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 34 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/security" - }, - { - "count": 20, - "dst": "M:graylog2-server/src/main/java/org/graylog/security", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/security->M:graylog2-server/src/main/java/org/graylog/security", - "kind": "uses", - "refs": [ + "start_line": 38 + }, { - "blob_sha": "c87653df12e7ce7dcb0eebbb00eecfa254e0ff99", + "blob_sha": "4b3cb0a1e98390ea82b58c7c2a434a810203df79", "commits": [], - "end_line": 22, - "id": "E1", + "end_line": 25, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/security/CustomCAX509TrustManager.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/cluster/db/TelemetryClusterInfoDto.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 25 }, { - "blob_sha": "c87653df12e7ce7dcb0eebbb00eecfa254e0ff99", + "blob_sha": "845c376699a2424a7719f6498de12290bc4204a9", "commits": [], - "end_line": 23, - "id": "E2", + "end_line": 30, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/security/CustomCAX509TrustManager.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/pipelines/PipelineActivityService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 30 }, { - "blob_sha": "c87653df12e7ce7dcb0eebbb00eecfa254e0ff99", + "blob_sha": "845c376699a2424a7719f6498de12290bc4204a9", "commits": [], - "end_line": 24, - "id": "E3", + "end_line": 42, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/security/CustomCAX509TrustManager.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/pipelines/PipelineActivityService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/security" - }, - { - "count": 6, - "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/security->M:graylog2-server/src/main/java/org/graylog2/(root)", - "kind": "uses", - "refs": [ + "start_line": 42 + }, { - "blob_sha": "a754c3e7faff03a7e24fd426e7f89cdf422d5ebe", + "blob_sha": "b8ad702c3c7b68713dc0002501ce743cb8ee4c71", "commits": [], - "end_line": 20, - "id": "E1", + "end_line": 27, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/security/AccessTokenCipher.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/pipelines/UserPipelines.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 27 }, { - "blob_sha": "86f330e28f502095cdc1d9aa62d71814d5feea8d", + "blob_sha": "b8ad702c3c7b68713dc0002501ce743cb8ee4c71", "commits": [], - "end_line": 37, - "id": "E2", + "end_line": 28, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/security/AccessTokenServiceImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/pipelines/UserPipelines.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 + "start_line": 28 }, { - "blob_sha": "752463ce4f086e5bf4b709132bae12c907e15660", + "blob_sha": "b8ad702c3c7b68713dc0002501ce743cb8ee4c71", "commits": [], - "end_line": 20, - "id": "E3", + "end_line": 34, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/security/RestrictedChainingClassLoader.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/pipelines/UserPipelines.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 34 + }, + { + "blob_sha": "a56388f413813ad93c1659260239c7fd1a3dc205", + "commits": [], + "end_line": 21, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/suppliers/MongoDBMetricsSupplier.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/security" + "src": "M:graylog2-server/src/main/java/org/graylog2/telemetry" }, { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", + "count": 5, + "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/security->M:graylog2-server/src/main/java/org/graylog2/configuration", + "id": "M:graylog2-server/src/main/java/org/graylog2/telemetry->M:graylog2-server/src/main/java/org/graylog2/indexer", "kind": "uses", "refs": [ { - "blob_sha": "a624ef46a290bf1a0b77f207c4a20fdc5151af05", + "blob_sha": "f28a936b9d7096256436847be9248f10a02ffa50", "commits": [], - "end_line": 26, + "end_line": 28, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/security/jwt/IndexerJwtAuthTokenProvider.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/rest/TelemetryService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 28 }, { - "blob_sha": "a624ef46a290bf1a0b77f207c4a20fdc5151af05", + "blob_sha": "fe76b1df148b999ba05c5577d08af0b89c204625", "commits": [], - "end_line": 27, + "end_line": 20, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/security/jwt/IndexerJwtAuthTokenProvider.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/suppliers/IndexingFailuresMetricsSupplier.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/security" - }, - { - "count": 17, - "dst": "M:graylog2-server/src/main/java/org/graylog2/database", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/security->M:graylog2-server/src/main/java/org/graylog2/database", - "kind": "uses", - "refs": [ + "start_line": 20 + }, { - "blob_sha": "a238713f8d137411897409bf210e763ddb431ee9", + "blob_sha": "ee19e8291910eb25f81c98ef610338ca796b0f94", "commits": [], - "end_line": 24, - "id": "E1", + "end_line": 21, + "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/security/AccessTokenEntity.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/suppliers/OutdatedIndicesMetricsSupplier.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 21 }, { - "blob_sha": "a90b4f3d3a3dfce75180c8814091c5274c5b01d5", + "blob_sha": "ee19e8291910eb25f81c98ef610338ca796b0f94", "commits": [], - "end_line": 21, - "id": "E2", + "end_line": 22, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/security/AccessTokenImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/suppliers/OutdatedIndicesMetricsSupplier.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 22 }, { - "blob_sha": "a90b4f3d3a3dfce75180c8814091c5274c5b01d5", + "blob_sha": "7d0debbe135eb9e74a6911c7a5b0812307337cc0", "commits": [], "end_line": 22, - "id": "E3", + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/security/AccessTokenImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/suppliers/ShardsMetricsSupplier.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 22 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/security" + "src": "M:graylog2-server/src/main/java/org/graylog2/telemetry" }, { "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/events", + "dst": "M:graylog2-server/src/main/java/org/graylog2/inputs", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/security->M:graylog2-server/src/main/java/org/graylog2/events", + "id": "M:graylog2-server/src/main/java/org/graylog2/telemetry->M:graylog2-server/src/main/java/org/graylog2/inputs", "kind": "uses", "refs": [ { - "blob_sha": "897729e81e533a9d3d0ff0b3ea4c19ae5054e718", + "blob_sha": "fa93af7d5703674a073bef14eda7612e61de2c72", "commits": [], - "end_line": 27, + "end_line": 20, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/security/sessions/MongoDbSessionService.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/suppliers/InputsMetricsSupplier.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 20 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/security" + "src": "M:graylog2-server/src/main/java/org/graylog2/telemetry" }, { "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/metrics", + "dst": "M:graylog2-server/src/main/java/org/graylog2/lookup", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/security->M:graylog2-server/src/main/java/org/graylog2/metrics", + "id": "M:graylog2-server/src/main/java/org/graylog2/telemetry->M:graylog2-server/src/main/java/org/graylog2/lookup", "kind": "uses", "refs": [ { - "blob_sha": "0638ce880823acec0befa77882fc9047d6fd68a9", + "blob_sha": "0118f2f39abf91589239c555df5e3bdc05b53d27", "commits": [], - "end_line": 25, + "end_line": 20, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/security/MongoDbAuthorizationCacheManager.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/suppliers/LookupTablesSupplier.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 20 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/security" + "src": "M:graylog2-server/src/main/java/org/graylog2/telemetry" }, { - "count": 21, + "count": 12, "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/security->M:graylog2-server/src/main/java/org/graylog2/plugin", + "id": "M:graylog2-server/src/main/java/org/graylog2/telemetry->M:graylog2-server/src/main/java/org/graylog2/plugin", "kind": "uses", "refs": [ { - "blob_sha": "93bbee62b4a55d633a896847d1a8148a13f270c8", + "blob_sha": "ba1c571380197bc14e0143bd3caf7a54622e86f8", "commits": [], - "end_line": 19, + "end_line": 20, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/security/AccessToken.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/TelemetryModule.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 20 }, { - "blob_sha": "a90b4f3d3a3dfce75180c8814091c5274c5b01d5", + "blob_sha": "33cafbb8398bbb06b8a2c05fc006f08cf0154007", "commits": [], - "end_line": 24, + "end_line": 20, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/security/AccessTokenImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/cluster/TelemetryClusterInfoPeriodical.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 20 }, { - "blob_sha": "9dd78172b85a7792eaaaa685409faaf517fcb0fa", + "blob_sha": "292c823f077923a6a3d1c624fe055ab0bbb73f93", "commits": [], - "end_line": 20, + "end_line": 22, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/security/AccessTokenService.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/cluster/TelemetryClusterService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/security" - }, - { - "count": 7, - "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/security->M:graylog2-server/src/main/java/org/graylog2/rest", - "kind": "uses", - "refs": [ + "start_line": 22 + }, { - "blob_sha": "9dd78172b85a7792eaaaa685409faaf517fcb0fa", + "blob_sha": "292c823f077923a6a3d1c624fe055ab0bbb73f93", "commits": [], - "end_line": 22, - "id": "E1", + "end_line": 23, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/cluster/TelemetryClusterService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "292c823f077923a6a3d1c624fe055ab0bbb73f93", + "commits": [], + "end_line": 24, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/cluster/TelemetryClusterService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "292c823f077923a6a3d1c624fe055ab0bbb73f93", + "commits": [], + "end_line": 25, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/cluster/TelemetryClusterService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "2b0d20342828f0092410beca2dc477416929020b", + "commits": [], + "end_line": 23, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/pipelines/PipelineActivityPeriodical.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "6b9a6bf587c4cd282f287d293f375cf636d49f4a", + "commits": [], + "end_line": 39, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/security/AccessTokenService.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/rest/TelemetryResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 39 }, { - "blob_sha": "86f330e28f502095cdc1d9aa62d71814d5feea8d", + "blob_sha": "f28a936b9d7096256436847be9248f10a02ffa50", "commits": [], - "end_line": 45, - "id": "E2", + "end_line": 29, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/security/AccessTokenServiceImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/rest/TelemetryService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 45 + "start_line": 29 }, { - "blob_sha": "50bc61d356690d9c7a84dc19a81c0f189af0fd3a", + "blob_sha": "f28a936b9d7096256436847be9248f10a02ffa50", "commits": [], - "end_line": 24, - "id": "E3", + "end_line": 30, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/security/PaginatedAccessTokenEntityService.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/rest/TelemetryService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 30 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/security" + "src": "M:graylog2-server/src/main/java/org/graylog2/telemetry" }, { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/search", + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/security->M:graylog2-server/src/main/java/org/graylog2/search", + "id": "M:graylog2-server/src/main/java/org/graylog2/telemetry->M:graylog2-server/src/main/java/org/graylog2/rest", "kind": "uses", "refs": [ { - "blob_sha": "9dd78172b85a7792eaaaa685409faaf517fcb0fa", + "blob_sha": "7d0debbe135eb9e74a6911c7a5b0812307337cc0", "commits": [], "end_line": 23, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/security/AccessTokenService.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/suppliers/ShardsMetricsSupplier.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 23 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/telemetry" + }, + { + "count": 10, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/telemetry->M:graylog2-server/src/main/java/org/graylog2/shared", + "kind": "uses", + "refs": [ + { + "blob_sha": "292c823f077923a6a3d1c624fe055ab0bbb73f93", + "commits": [], + "end_line": 26, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/cluster/TelemetryClusterService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 }, { - "blob_sha": "86f330e28f502095cdc1d9aa62d71814d5feea8d", + "blob_sha": "292c823f077923a6a3d1c624fe055ab0bbb73f93", "commits": [], - "end_line": 46, + "end_line": 27, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/security/AccessTokenServiceImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/cluster/TelemetryClusterService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 46 + "start_line": 27 }, { - "blob_sha": "50bc61d356690d9c7a84dc19a81c0f189af0fd3a", + "blob_sha": "292c823f077923a6a3d1c624fe055ab0bbb73f93", "commits": [], - "end_line": 25, + "end_line": 28, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/security/PaginatedAccessTokenEntityService.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/cluster/TelemetryClusterService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/security" - }, - { - "count": 24, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/security->M:graylog2-server/src/main/java/org/graylog2/shared", - "kind": "uses", - "refs": [ + "start_line": 28 + }, { - "blob_sha": "280993daf2bd22fae13654329f019816aa4af100", + "blob_sha": "292c823f077923a6a3d1c624fe055ab0bbb73f93", "commits": [], - "end_line": 28, - "id": "E1", + "end_line": 29, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/security/InMemoryRolePermissionResolver.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/cluster/TelemetryClusterService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 + "start_line": 29 }, { - "blob_sha": "0638ce880823acec0befa77882fc9047d6fd68a9", + "blob_sha": "6b9a6bf587c4cd282f287d293f375cf636d49f4a", "commits": [], - "end_line": 26, - "id": "E2", + "end_line": 40, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/security/MongoDbAuthorizationCacheManager.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/rest/TelemetryResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 40 }, { - "blob_sha": "752463ce4f086e5bf4b709132bae12c907e15660", + "blob_sha": "6b9a6bf587c4cd282f287d293f375cf636d49f4a", "commits": [], - "end_line": 21, - "id": "E3", + "end_line": 41, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/security/RestrictedChainingClassLoader.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/rest/TelemetryResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/security" - }, - { - "count": 8, - "dst": "M:graylog2-server/src/main/java/org/graylog2/users", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/security->M:graylog2-server/src/main/java/org/graylog2/users", - "kind": "uses", - "refs": [ + "start_line": 41 + }, { - "blob_sha": "86f330e28f502095cdc1d9aa62d71814d5feea8d", + "blob_sha": "9206283180a5db25bdf958cf958c00b26e0ad83b", "commits": [], - "end_line": 47, - "id": "E1", + "end_line": 32, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/security/AccessTokenServiceImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/rest/TelemetryResponseFactory.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 47 + "start_line": 32 }, { - "blob_sha": "86f330e28f502095cdc1d9aa62d71814d5feea8d", + "blob_sha": "f28a936b9d7096256436847be9248f10a02ffa50", "commits": [], - "end_line": 48, - "id": "E2", + "end_line": 31, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/security/AccessTokenServiceImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/rest/TelemetryService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 48 + "start_line": 31 }, { - "blob_sha": "280993daf2bd22fae13654329f019816aa4af100", + "blob_sha": "f28a936b9d7096256436847be9248f10a02ffa50", "commits": [], - "end_line": 29, - "id": "E3", + "end_line": 55, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/security/InMemoryRolePermissionResolver.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/rest/TelemetryService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 + "start_line": 55 + }, + { + "blob_sha": "5d10c790cf751a87fd05e6d357a4452aaebec9f6", + "commits": [], + "end_line": 20, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/suppliers/UsersMetricsSupplier.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/security" + "src": "M:graylog2-server/src/main/java/org/graylog2/telemetry" }, { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/utilities", + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/storage", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/security->M:graylog2-server/src/main/java/org/graylog2/utilities", + "id": "M:graylog2-server/src/main/java/org/graylog2/telemetry->M:graylog2-server/src/main/java/org/graylog2/storage", "kind": "uses", "refs": [ { - "blob_sha": "bbd77e3c36f8ee050aa31c5a2958d69af9237ec9", + "blob_sha": "f28a936b9d7096256436847be9248f10a02ffa50", "commits": [], - "end_line": 37, + "end_line": 32, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/security/realm/HTTPHeaderAuthenticationRealm.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/rest/TelemetryService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 + "start_line": 32 + }, + { + "blob_sha": "f28a936b9d7096256436847be9248f10a02ffa50", + "commits": [], + "end_line": 33, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/rest/TelemetryService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/security" + "src": "M:graylog2-server/src/main/java/org/graylog2/telemetry" }, { - "count": 3, - "dst": "M:graylog2-web-interface/src/logic", + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/streams", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/security->M:graylog2-web-interface/src/logic", + "id": "M:graylog2-server/src/main/java/org/graylog2/telemetry->M:graylog2-server/src/main/java/org/graylog2/streams", "kind": "uses", "refs": [ { - "blob_sha": "58db7dcf0087143651b7f6f8c3e84398d932de23", + "blob_sha": "8661ad57ae33a48431226ccd6f2b2ec61928da40", "commits": [], - "end_line": 30, + "end_line": 21, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/security/UserSessionTerminationService.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/suppliers/OutputsMetricsSupplier.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 + "start_line": 21 }, { - "blob_sha": "d4c98a862bf08ffa2f82104a4e8e37b764454ca2", + "blob_sha": "701e5e742b984c36eb90ec250f3005646fd9217d", "commits": [], - "end_line": 25, + "end_line": 20, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/security/realm/SessionAuthenticator.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 - }, - { - "blob_sha": "0ab6da846275bd0bbe2ac8c4f1a30d3f0e629dad", - "commits": [], - "end_line": 23, - "id": "E3", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/security/sessions/SessionDAO.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/suppliers/StreamsMetricsSupplier.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 20 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/security" + "src": "M:graylog2-server/src/main/java/org/graylog2/telemetry" }, { - "count": 7, - "dst": "M:graylog2-server/src/main/java/org/graylog/failure", + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog2/system", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog/failure", + "id": "M:graylog2-server/src/main/java/org/graylog2/telemetry->M:graylog2-server/src/main/java/org/graylog2/system", "kind": "uses", "refs": [ { - "blob_sha": "d97e14c7d8d5e30b36fb99908e8fac9a9d6f7e36", + "blob_sha": "9206283180a5db25bdf958cf958c00b26e0ad83b", "commits": [], - "end_line": 28, + "end_line": 24, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/GenericBindings.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/rest/TelemetryResponseFactory.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 + "start_line": 24 }, { - "blob_sha": "d97e14c7d8d5e30b36fb99908e8fac9a9d6f7e36", + "blob_sha": "9206283180a5db25bdf958cf958c00b26e0ad83b", "commits": [], - "end_line": 29, + "end_line": 25, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/GenericBindings.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/rest/TelemetryResponseFactory.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 + "start_line": 25 }, { - "blob_sha": "d97e14c7d8d5e30b36fb99908e8fac9a9d6f7e36", + "blob_sha": "f28a936b9d7096256436847be9248f10a02ffa50", "commits": [], - "end_line": 30, + "end_line": 34, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/GenericBindings.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/rest/TelemetryService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 + "start_line": 34 + }, + { + "blob_sha": "f28a936b9d7096256436847be9248f10a02ffa50", + "commits": [], + "end_line": 35, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/rest/TelemetryService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/shared" + "src": "M:graylog2-server/src/main/java/org/graylog2/telemetry" }, { - "count": 9, - "dst": "M:graylog2-server/src/main/java/org/graylog/grn", + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/users", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog/grn", + "id": "M:graylog2-server/src/main/java/org/graylog2/telemetry->M:graylog2-server/src/main/java/org/graylog2/users", "kind": "uses", "refs": [ { - "blob_sha": "84acc403afa89b1c6b584cb29ab80c9489cb2330", + "blob_sha": "f28a936b9d7096256436847be9248f10a02ffa50", "commits": [], - "end_line": 23, + "end_line": 40, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/ObjectMapperModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/telemetry/rest/TelemetryService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 - }, + "start_line": 40 + } + ], + "src": "M:graylog2-server/src/main/java/org/graylog2/telemetry" + }, + { + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog/security", + "how": "import-path", + "id": "M:graylog2-server/src/main/java/org/graylog2/tokenusage->M:graylog2-server/src/main/java/org/graylog/security", + "kind": "uses", + "refs": [ { - "blob_sha": "f9f979b94e54186e83b64fcf85cf0fa32704eb45", + "blob_sha": "34b7e649f973b8f5c0a38ca111294236349fb271", "commits": [], - "end_line": 27, - "id": "E2", + "end_line": 21, + "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/ObjectMapperProvider.java", + "path": "graylog2-server/src/main/java/org/graylog2/tokenusage/TokenUsageServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 21 }, { - "blob_sha": "debaa815f746d644f0d3e62861080b0e39e77058", + "blob_sha": "34b7e649f973b8f5c0a38ca111294236349fb271", "commits": [], - "end_line": 23, - "id": "E3", + "end_line": 22, + "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/XmlMapperProvider.java", + "path": "graylog2-server/src/main/java/org/graylog2/tokenusage/TokenUsageServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 22 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/shared" + "src": "M:graylog2-server/src/main/java/org/graylog2/tokenusage" }, { "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog/inputs", + "dst": "M:graylog2-server/src/main/java/org/graylog2/database", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog/inputs", + "id": "M:graylog2-server/src/main/java/org/graylog2/tokenusage->M:graylog2-server/src/main/java/org/graylog2/database", "kind": "uses", "refs": [ { - "blob_sha": "1aab5d708ed99f842080ef77965682694ca3ecb3", + "blob_sha": "34b7e649f973b8f5c0a38ca111294236349fb271", "commits": [], - "end_line": 20, + "end_line": 23, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/MessageInputBindings.java", + "path": "graylog2-server/src/main/java/org/graylog2/tokenusage/TokenUsageServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 23 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/shared" + "src": "M:graylog2-server/src/main/java/org/graylog2/tokenusage" }, { "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog/mcp", + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog/mcp", + "id": "M:graylog2-server/src/main/java/org/graylog2/tokenusage->M:graylog2-server/src/main/java/org/graylog2/plugin", "kind": "uses", "refs": [ { - "blob_sha": "b11c7c99325ed18d5b3290638f0987d92e81327a", + "blob_sha": "34b7e649f973b8f5c0a38ca111294236349fb271", "commits": [], - "end_line": 22, + "end_line": 24, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/RestApiBindings.java", + "path": "graylog2-server/src/main/java/org/graylog2/tokenusage/TokenUsageServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 24 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/shared" + "src": "M:graylog2-server/src/main/java/org/graylog2/tokenusage" }, { "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", + "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog/plugins", + "id": "M:graylog2-server/src/main/java/org/graylog2/tokenusage->M:graylog2-server/src/main/java/org/graylog2/rest", "kind": "uses", "refs": [ { - "blob_sha": "1aab5d708ed99f842080ef77965682694ca3ecb3", + "blob_sha": "34b7e649f973b8f5c0a38ca111294236349fb271", "commits": [], - "end_line": 21, + "end_line": 25, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/MessageInputBindings.java", + "path": "graylog2-server/src/main/java/org/graylog2/tokenusage/TokenUsageServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 25 }, { - "blob_sha": "824990df081e0e8bb2503860021bbd8638c8b9b9", + "blob_sha": "34b7e649f973b8f5c0a38ca111294236349fb271", "commits": [], - "end_line": 22, + "end_line": 26, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/ValidatorModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/tokenusage/TokenUsageServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 26 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/shared" + "src": "M:graylog2-server/src/main/java/org/graylog2/tokenusage" }, { "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog/scheduler", + "dst": "M:graylog2-server/src/main/java/org/graylog2/search", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog/scheduler", + "id": "M:graylog2-server/src/main/java/org/graylog2/tokenusage->M:graylog2-server/src/main/java/org/graylog2/search", "kind": "uses", "refs": [ { - "blob_sha": "3c7933c474e7bf89523356aed710d992cbea5ec4", + "blob_sha": "34b7e649f973b8f5c0a38ca111294236349fb271", "commits": [], - "end_line": 19, + "end_line": 27, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/security/CertificateRenewalBindings.java", + "path": "graylog2-server/src/main/java/org/graylog2/tokenusage/TokenUsageServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 27 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/shared" + "src": "M:graylog2-server/src/main/java/org/graylog2/tokenusage" }, { - "count": 9, - "dst": "M:graylog2-server/src/main/java/org/graylog/security", + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/security", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog/security", + "id": "M:graylog2-server/src/main/java/org/graylog2/tokenusage->M:graylog2-server/src/main/java/org/graylog2/security", "kind": "uses", "refs": [ { - "blob_sha": "b6fa8052cbb6de4441cf6280a9901094b7e1c45b", + "blob_sha": "34b7e649f973b8f5c0a38ca111294236349fb271", "commits": [], - "end_line": 22, + "end_line": 28, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/GenericInitializerBindings.java", + "path": "graylog2-server/src/main/java/org/graylog2/tokenusage/TokenUsageServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 28 }, { - "blob_sha": "99ffa34db1c1e59a72b7d259d8d1dd1da4145991", + "blob_sha": "34b7e649f973b8f5c0a38ca111294236349fb271", "commits": [], - "end_line": 47, + "end_line": 29, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/initializers/JerseyService.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 47 - }, - { - "blob_sha": "978364e7f2fb6c4af0d85f1f412d482a3f0ba34d", - "commits": [], - "end_line": 21, - "id": "E3", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/rest/resources/csp/CSPEventListener.java", + "path": "graylog2-server/src/main/java/org/graylog2/tokenusage/TokenUsageServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 29 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/shared" + "src": "M:graylog2-server/src/main/java/org/graylog2/tokenusage" }, { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog/util", + "count": 2, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog/util", + "id": "M:graylog2-server/src/main/java/org/graylog2/tokenusage->M:graylog2-server/src/main/java/org/graylog2/shared", "kind": "uses", "refs": [ { - "blob_sha": "9a9b955e36f614ca3e455f1536f7c576d965f139", + "blob_sha": "34b7e649f973b8f5c0a38ca111294236349fb271", "commits": [], - "end_line": 24, + "end_line": 30, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/rest/RequestIdFilter.java", + "path": "graylog2-server/src/main/java/org/graylog2/tokenusage/TokenUsageServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 30 + }, + { + "blob_sha": "34b7e649f973b8f5c0a38ca111294236349fb271", + "commits": [], + "end_line": 31, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/tokenusage/TokenUsageServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/shared" + "src": "M:graylog2-server/src/main/java/org/graylog2/tokenusage" }, { "count": 7, - "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", + "dst": "M:graylog2-server/src/main/java/org/graylog/grn", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/(root)", + "id": "M:graylog2-server/src/main/java/org/graylog2/users->M:graylog2-server/src/main/java/org/graylog/grn", "kind": "uses", "refs": [ { - "blob_sha": "b11c7c99325ed18d5b3290638f0987d92e81327a", + "blob_sha": "49106127f47365bd6b758993b08df3d2b69cb2c9", "commits": [], - "end_line": 23, + "end_line": 22, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/RestApiBindings.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/GrantsCleanupListener.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 22 }, { - "blob_sha": "9642ee06f51e2c5a1db0fbc497be125bfeee84a7", + "blob_sha": "49106127f47365bd6b758993b08df3d2b69cb2c9", "commits": [], "end_line": 23, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/inputs/InputLauncher.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/GrantsCleanupListener.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 23 }, { - "blob_sha": "ea23dd234ebcc54577ec5861b0b462700eb820ba", + "blob_sha": "49106127f47365bd6b758993b08df3d2b69cb2c9", "commits": [], - "end_line": 20, + "end_line": 24, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/messageq/MessageQueueModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/GrantsCleanupListener.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/shared" - }, - { - "count": 11, - "dst": "M:graylog2-server/src/main/java/org/graylog2/audit", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/audit", - "kind": "uses", - "refs": [ + "start_line": 24 + }, { - "blob_sha": "99ffa34db1c1e59a72b7d259d8d1dd1da4145991", + "blob_sha": "2acd872921f310e558075d86129724f1a0653c1b", "commits": [], - "end_line": 48, - "id": "E1", + "end_line": 21, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/initializers/JerseyService.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/UserManagementServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 48 + "start_line": 21 }, { - "blob_sha": "99ffa34db1c1e59a72b7d259d8d1dd1da4145991", + "blob_sha": "2acd872921f310e558075d86129724f1a0653c1b", "commits": [], - "end_line": 49, - "id": "E2", + "end_line": 22, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/initializers/JerseyService.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/UserManagementServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 49 + "start_line": 22 }, { - "blob_sha": "fc80cbe7e0818219614559517f1add994d540344", + "blob_sha": "c17203604ea2608859c684bd906bbdce24015385", "commits": [], - "end_line": 29, - "id": "E3", + "end_line": 35, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/users/UserServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + }, + { + "blob_sha": "c17203604ea2608859c684bd906bbdce24015385", + "commits": [], + "end_line": 36, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/rest/resources/system/LoadBalancerStatusResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/UserServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 + "start_line": 36 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/shared" + "src": "M:graylog2-server/src/main/java/org/graylog2/users" }, { "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/buffers", + "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/buffers", + "id": "M:graylog2-server/src/main/java/org/graylog2/users->M:graylog2-server/src/main/java/org/graylog/plugins", "kind": "uses", "refs": [ { - "blob_sha": "00502edaa711704f5d0b293d84b5ee75bafe4df7", + "blob_sha": "db51fbed834b1783cdc25d35bdf8529b2e3023b2", "commits": [], - "end_line": 28, + "end_line": 32, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/buffers/processors/ProcessBufferProcessor.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/RoleServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 + "start_line": 32 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/shared" + "src": "M:graylog2-server/src/main/java/org/graylog2/users" }, { "count": 9, - "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", + "dst": "M:graylog2-server/src/main/java/org/graylog/security", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/cluster", + "id": "M:graylog2-server/src/main/java/org/graylog2/users->M:graylog2-server/src/main/java/org/graylog/security", "kind": "uses", "refs": [ { - "blob_sha": "00502edaa711704f5d0b293d84b5ee75bafe4df7", + "blob_sha": "49106127f47365bd6b758993b08df3d2b69cb2c9", "commits": [], - "end_line": 29, + "end_line": 25, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/buffers/processors/ProcessBufferProcessor.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/GrantsCleanupListener.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 + "start_line": 25 }, { - "blob_sha": "3dcb4584e12c8cd3e7a632abf555261f9ef2a1d8", + "blob_sha": "49106127f47365bd6b758993b08df3d2b69cb2c9", "commits": [], - "end_line": 24, + "end_line": 26, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/initializers/PeriodicalsService.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/GrantsCleanupListener.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 26 }, { - "blob_sha": "3dcb4584e12c8cd3e7a632abf555261f9ef2a1d8", + "blob_sha": "3322372313d805ecc328df8a8a7158c5b814511d", "commits": [], - "end_line": 25, + "end_line": 23, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/initializers/PeriodicalsService.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/shared" - }, - { - "count": 9, - "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/configuration", - "kind": "uses", - "refs": [ - { - "blob_sha": "2b86b2bcaeec242699adca1877dba60cc454035e", - "commits": [], - "end_line": 31, - "id": "E1", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/email/EmailFactory.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/PrivilegeEscalationGuard.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 31 + "start_line": 23 }, { - "blob_sha": "a983ccbf98ed980af8481f6903bc0466bcfe62c2", + "blob_sha": "b0eecf690a9ec81f91170876eeee5620a55f48bd", "commits": [], "end_line": 32, - "id": "E2", + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/email/SmtpOAuth2TokenProvider.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/UserImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 32 }, { - "blob_sha": "99ffa34db1c1e59a72b7d259d8d1dd1da4145991", + "blob_sha": "2acd872921f310e558075d86129724f1a0653c1b", "commits": [], - "end_line": 50, - "id": "E3", + "end_line": 23, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/initializers/JerseyService.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/UserManagementServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 50 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/shared" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/contentpacks", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/contentpacks", - "kind": "uses", - "refs": [ + "start_line": 23 + }, { - "blob_sha": "cba4bc3ea3b73a95db1705e4f38d3dd124df62bb", + "blob_sha": "2acd872921f310e558075d86129724f1a0653c1b", "commits": [], - "end_line": 30, - "id": "E1", + "end_line": 24, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/rest/documentation/openapi/CustomReader.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/UserManagementServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/shared" - }, - { - "count": 5, - "dst": "M:graylog2-server/src/main/java/org/graylog2/database", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/database", - "kind": "uses", - "refs": [ + "start_line": 24 + }, { - "blob_sha": "db564e03c2e37404517c55ff42bfd7469b441cf9", + "blob_sha": "c17203604ea2608859c684bd906bbdce24015385", "commits": [], - "end_line": 41, - "id": "E1", + "end_line": 37, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/config/ObjectMapperConfiguration.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/UserServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 41 + "start_line": 37 }, { - "blob_sha": "8a9e75bc0e91c3918e2377e3cd95dacdbf4ea8ff", + "blob_sha": "c17203604ea2608859c684bd906bbdce24015385", "commits": [], - "end_line": 23, - "id": "E2", + "end_line": 38, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/security/EntityPermissionsUtils.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/UserServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 38 }, { - "blob_sha": "8a9e75bc0e91c3918e2377e3cd95dacdbf4ea8ff", + "blob_sha": "c17203604ea2608859c684bd906bbdce24015385", "commits": [], - "end_line": 24, - "id": "E3", + "end_line": 39, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/security/EntityPermissionsUtils.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/UserServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 39 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/shared" + "src": "M:graylog2-server/src/main/java/org/graylog2/users" }, { "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/events", + "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/events", + "id": "M:graylog2-server/src/main/java/org/graylog2/users->M:graylog2-server/src/main/java/org/graylog2/(root)", "kind": "uses", "refs": [ { - "blob_sha": "b6fa8052cbb6de4441cf6280a9901094b7e1c45b", + "blob_sha": "b0eecf690a9ec81f91170876eeee5620a55f48bd", "commits": [], - "end_line": 23, + "end_line": 33, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/GenericInitializerBindings.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/UserImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 33 }, { - "blob_sha": "b6fa8052cbb6de4441cf6280a9901094b7e1c45b", + "blob_sha": "2acd872921f310e558075d86129724f1a0653c1b", "commits": [], - "end_line": 24, + "end_line": 25, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/GenericInitializerBindings.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/UserManagementServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 25 }, { - "blob_sha": "b6fa8052cbb6de4441cf6280a9901094b7e1c45b", + "blob_sha": "c17203604ea2608859c684bd906bbdce24015385", "commits": [], - "end_line": 25, + "end_line": 40, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/GenericInitializerBindings.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/UserServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 40 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/shared" + "src": "M:graylog2-server/src/main/java/org/graylog2/users" }, { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/featureflag", + "count": 1, + "dst": "M:graylog2-server/src/main/java/org/graylog2/dashboards", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/featureflag", + "id": "M:graylog2-server/src/main/java/org/graylog2/users->M:graylog2-server/src/main/java/org/graylog2/dashboards", "kind": "uses", "refs": [ { - "blob_sha": "9642ee06f51e2c5a1db0fbc497be125bfeee84a7", + "blob_sha": "aba6cd61b504a63d676bef6b1013f5fbc860f3e8", "commits": [], - "end_line": 25, + "end_line": 22, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/inputs/InputLauncher.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 - }, - { - "blob_sha": "04f9ec675bf4207a0348e295c37fbd5d1a1ff842", - "commits": [], - "end_line": 21, - "id": "E2", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/inputs/MessageInputFactory.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/StartPageCleanupListener.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 22 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/shared" + "src": "M:graylog2-server/src/main/java/org/graylog2/users" }, { - "count": 7, - "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", + "count": 23, + "dst": "M:graylog2-server/src/main/java/org/graylog2/database", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/indexer", + "id": "M:graylog2-server/src/main/java/org/graylog2/users->M:graylog2-server/src/main/java/org/graylog2/database", "kind": "uses", "refs": [ { - "blob_sha": "d97e14c7d8d5e30b36fb99908e8fac9a9d6f7e36", + "blob_sha": "06882715cfe37fffa7cee44e6eaed871257f5b69", "commits": [], - "end_line": 33, + "end_line": 24, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/GenericBindings.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/PaginatedUserService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 33 + "start_line": 24 }, { - "blob_sha": "d97e14c7d8d5e30b36fb99908e8fac9a9d6f7e36", + "blob_sha": "06882715cfe37fffa7cee44e6eaed871257f5b69", "commits": [], - "end_line": 34, + "end_line": 25, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/GenericBindings.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/PaginatedUserService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 34 + "start_line": 25 }, { - "blob_sha": "d97e14c7d8d5e30b36fb99908e8fac9a9d6f7e36", + "blob_sha": "06882715cfe37fffa7cee44e6eaed871257f5b69", "commits": [], - "end_line": 35, + "end_line": 26, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/GenericBindings.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/PaginatedUserService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 35 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/shared" - }, - { - "count": 22, - "dst": "M:graylog2-server/src/main/java/org/graylog2/inputs", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/inputs", - "kind": "uses", - "refs": [ + "start_line": 26 + }, { - "blob_sha": "1aab5d708ed99f842080ef77965682694ca3ecb3", + "blob_sha": "06882715cfe37fffa7cee44e6eaed871257f5b69", "commits": [], - "end_line": 22, - "id": "E1", + "end_line": 27, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/MessageInputBindings.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/PaginatedUserService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 27 }, { - "blob_sha": "1aab5d708ed99f842080ef77965682694ca3ecb3", + "blob_sha": "06882715cfe37fffa7cee44e6eaed871257f5b69", "commits": [], - "end_line": 23, - "id": "E2", + "end_line": 28, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/MessageInputBindings.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/PaginatedUserService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 28 }, { - "blob_sha": "1aab5d708ed99f842080ef77965682694ca3ecb3", + "blob_sha": "06882715cfe37fffa7cee44e6eaed871257f5b69", "commits": [], - "end_line": 24, - "id": "E3", + "end_line": 40, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/MessageInputBindings.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/PaginatedUserService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/shared" - }, - { - "count": 17, - "dst": "M:graylog2-server/src/main/java/org/graylog2/jackson", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/jackson", - "kind": "uses", - "refs": [ + "start_line": 40 + }, { - "blob_sha": "f9f979b94e54186e83b64fcf85cf0fa32704eb45", + "blob_sha": "faa2b8d9d71914f271618ff72bd7bc72d6328385", "commits": [], - "end_line": 28, - "id": "E1", + "end_line": 19, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/ObjectMapperProvider.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/RoleService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 + "start_line": 19 }, { - "blob_sha": "debaa815f746d644f0d3e62861080b0e39e77058", + "blob_sha": "db51fbed834b1783cdc25d35bdf8529b2e3023b2", "commits": [], - "end_line": 24, - "id": "E2", + "end_line": 33, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/XmlMapperProvider.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/RoleServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 33 }, { - "blob_sha": "10d25ddefb533e30baf6e923377a60bb01a2fda6", + "blob_sha": "db51fbed834b1783cdc25d35bdf8529b2e3023b2", "commits": [], - "end_line": 24, - "id": "E3", + "end_line": 34, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/YamlMapperProvider.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/RoleServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 34 + }, + { + "blob_sha": "db51fbed834b1783cdc25d35bdf8529b2e3023b2", + "commits": [], + "end_line": 35, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/users/RoleServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/shared" + "src": "M:graylog2-server/src/main/java/org/graylog2/users" }, { "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/jersey", + "dst": "M:graylog2-server/src/main/java/org/graylog2/events", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/jersey", + "id": "M:graylog2-server/src/main/java/org/graylog2/users->M:graylog2-server/src/main/java/org/graylog2/events", "kind": "uses", "refs": [ { - "blob_sha": "99ffa34db1c1e59a72b7d259d8d1dd1da4145991", + "blob_sha": "db51fbed834b1783cdc25d35bdf8529b2e3023b2", "commits": [], - "end_line": 52, + "end_line": 36, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/initializers/JerseyService.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/RoleServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 52 + "start_line": 36 }, { - "blob_sha": "99ffa34db1c1e59a72b7d259d8d1dd1da4145991", + "blob_sha": "aba6cd61b504a63d676bef6b1013f5fbc860f3e8", "commits": [], - "end_line": 53, + "end_line": 21, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/initializers/JerseyService.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/StartPageCleanupListener.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 53 + "start_line": 21 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/shared" + "src": "M:graylog2-server/src/main/java/org/graylog2/users" }, { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/messageprocessors", + "count": 14, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/messageprocessors", + "id": "M:graylog2-server/src/main/java/org/graylog2/users->M:graylog2-server/src/main/java/org/graylog2/plugin", "kind": "uses", "refs": [ { - "blob_sha": "00502edaa711704f5d0b293d84b5ee75bafe4df7", + "blob_sha": "faa2b8d9d71914f271618ff72bd7bc72d6328385", "commits": [], - "end_line": 30, + "end_line": 20, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/buffers/processors/ProcessBufferProcessor.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/RoleService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/shared" - }, - { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/periodical", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/periodical", - "kind": "uses", - "refs": [ + "start_line": 20 + }, { - "blob_sha": "7901b314f9debe7540563e10741f89df4ea07d84", + "blob_sha": "db51fbed834b1783cdc25d35bdf8529b2e3023b2", "commits": [], - "end_line": 26, - "id": "E1", + "end_line": 37, + "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/SchedulerBindings.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/RoleServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 37 }, { - "blob_sha": "3c19a62b9b0ec6ec24434435eb786e21b180468a", + "blob_sha": "aba6cd61b504a63d676bef6b1013f5fbc860f3e8", "commits": [], - "end_line": 21, - "id": "E2", + "end_line": 23, + "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/SharedPeriodicalBindings.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/StartPageCleanupListener.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 23 }, { - "blob_sha": "3dcb4584e12c8cd3e7a632abf555261f9ef2a1d8", + "blob_sha": "b83c091b8f79d9f45dddd335092a4ddf59485aff", "commits": [], - "end_line": 26, - "id": "E3", + "end_line": 23, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/initializers/PeriodicalsService.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/UserConfiguration.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/shared" - }, - { - "count": 136, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/plugin", - "kind": "uses", - "refs": [ + "start_line": 23 + }, { - "blob_sha": "9a076b53276d853da5e0fbd32f69a95e86145255", + "blob_sha": "b0eecf690a9ec81f91170876eeee5620a55f48bd", "commits": [], - "end_line": 19, - "id": "E1", + "end_line": 42, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/ServerVersion.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/UserImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 42 }, { - "blob_sha": "d97e14c7d8d5e30b36fb99908e8fac9a9d6f7e36", + "blob_sha": "b0eecf690a9ec81f91170876eeee5620a55f48bd", "commits": [], - "end_line": 36, - "id": "E2", + "end_line": 43, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/GenericBindings.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/UserImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 36 + "start_line": 43 }, { - "blob_sha": "d97e14c7d8d5e30b36fb99908e8fac9a9d6f7e36", + "blob_sha": "b0eecf690a9ec81f91170876eeee5620a55f48bd", "commits": [], - "end_line": 37, - "id": "E3", + "end_line": 44, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/GenericBindings.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/UserImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/shared" - }, - { - "count": 49, - "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/rest", - "kind": "uses", - "refs": [ + "start_line": 44 + }, { - "blob_sha": "b11c7c99325ed18d5b3290638f0987d92e81327a", + "blob_sha": "b0eecf690a9ec81f91170876eeee5620a55f48bd", "commits": [], - "end_line": 25, - "id": "E1", + "end_line": 45, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/RestApiBindings.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/UserImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 45 }, { - "blob_sha": "b11c7c99325ed18d5b3290638f0987d92e81327a", + "blob_sha": "2acd872921f310e558075d86129724f1a0653c1b", "commits": [], - "end_line": 26, - "id": "E2", + "end_line": 27, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/RestApiBindings.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/UserManagementServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 27 }, { - "blob_sha": "99ffa34db1c1e59a72b7d259d8d1dd1da4145991", + "blob_sha": "2acd872921f310e558075d86129724f1a0653c1b", "commits": [], - "end_line": 56, - "id": "E3", + "end_line": 28, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/initializers/JerseyService.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/UserManagementServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 56 + "start_line": 28 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/shared" + "src": "M:graylog2-server/src/main/java/org/graylog2/users" }, { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/search", + "count": 6, + "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/search", + "id": "M:graylog2-server/src/main/java/org/graylog2/users->M:graylog2-server/src/main/java/org/graylog2/rest", "kind": "uses", "refs": [ { - "blob_sha": "d9f855c22a0ad4246fbb1b937921101bfe55b881", + "blob_sha": "06882715cfe37fffa7cee44e6eaed871257f5b69", + "commits": [], + "end_line": 29, + "id": "E1", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/users/PaginatedUserService.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "3322372313d805ecc328df8a8a7158c5b814511d", + "commits": [], + "end_line": 24, + "id": "E2", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/users/PrivilegeEscalationGuard.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "aba6cd61b504a63d676bef6b1013f5fbc860f3e8", "commits": [], - "end_line": 22, - "id": "E1", + "end_line": 24, + "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/tokenusage/TokenUsageService.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/StartPageCleanupListener.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/shared" - }, - { - "count": 14, - "dst": "M:graylog2-server/src/main/java/org/graylog2/security", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/security", - "kind": "uses", - "refs": [ + "start_line": 24 + }, { - "blob_sha": "f9f979b94e54186e83b64fcf85cf0fa32704eb45", + "blob_sha": "aba6cd61b504a63d676bef6b1013f5fbc860f3e8", "commits": [], - "end_line": 30, - "id": "E1", + "end_line": 25, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/ObjectMapperProvider.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/StartPageCleanupListener.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 + "start_line": 25 }, { - "blob_sha": "795c368bbce259e86ae83b787a489f7f6ad5d2e9", + "blob_sha": "aba6cd61b504a63d676bef6b1013f5fbc860f3e8", "commits": [], - "end_line": 33, - "id": "E2", + "end_line": 26, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/OkHttpClientProvider.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/StartPageCleanupListener.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 33 + "start_line": 26 }, { - "blob_sha": "37c9ac0d3ed142891e877a55f3df6b203f40adfb", + "blob_sha": "b0eecf690a9ec81f91170876eeee5620a55f48bd", "commits": [], - "end_line": 25, - "id": "E3", + "end_line": 46, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/ParameterizedHttpClientProvider.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/UserImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 46 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/shared" + "src": "M:graylog2-server/src/main/java/org/graylog2/users" }, { "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/streams", + "dst": "M:graylog2-server/src/main/java/org/graylog2/search", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/streams", + "id": "M:graylog2-server/src/main/java/org/graylog2/users->M:graylog2-server/src/main/java/org/graylog2/search", "kind": "uses", "refs": [ { - "blob_sha": "00502edaa711704f5d0b293d84b5ee75bafe4df7", + "blob_sha": "06882715cfe37fffa7cee44e6eaed871257f5b69", "commits": [], - "end_line": 40, + "end_line": 30, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/buffers/processors/ProcessBufferProcessor.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/PaginatedUserService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 40 + "start_line": 30 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/shared" + "src": "M:graylog2-server/src/main/java/org/graylog2/users" }, { "count": 6, - "dst": "M:graylog2-server/src/main/java/org/graylog2/system", + "dst": "M:graylog2-server/src/main/java/org/graylog2/security", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/system", + "id": "M:graylog2-server/src/main/java/org/graylog2/users->M:graylog2-server/src/main/java/org/graylog2/security", "kind": "uses", "refs": [ { - "blob_sha": "b6fa8052cbb6de4441cf6280a9901094b7e1c45b", + "blob_sha": "b0eecf690a9ec81f91170876eeee5620a55f48bd", "commits": [], - "end_line": 31, + "end_line": 47, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/GenericInitializerBindings.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/UserImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 31 + "start_line": 47 }, { - "blob_sha": "b6fa8052cbb6de4441cf6280a9901094b7e1c45b", + "blob_sha": "2acd872921f310e558075d86129724f1a0653c1b", "commits": [], - "end_line": 32, + "end_line": 29, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/GenericInitializerBindings.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/UserManagementServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 32 + "start_line": 29 }, { - "blob_sha": "b6fa8052cbb6de4441cf6280a9901094b7e1c45b", + "blob_sha": "2acd872921f310e558075d86129724f1a0653c1b", "commits": [], - "end_line": 33, + "end_line": 30, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/GenericInitializerBindings.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/UserManagementServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 33 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/shared" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/users", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/users", - "kind": "uses", - "refs": [ + "start_line": 30 + }, { - "blob_sha": "2c34c719387e7bf4493aa5829339eecd008953fc", + "blob_sha": "d052c9661e56edc94247b5a45ec1b3b893d17e48", "commits": [], "end_line": 27, - "id": "E1", + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/security/Permissions.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/UserOverviewDTO.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 27 }, { - "blob_sha": "767e6f5b3d9b6fca1778b2fcc2fae41c1f86bc78", + "blob_sha": "c17203604ea2608859c684bd906bbdce24015385", "commits": [], - "end_line": 31, - "id": "E2", + "end_line": 47, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/security/SessionCreator.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/UserServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 31 + "start_line": 47 + }, + { + "blob_sha": "c17203604ea2608859c684bd906bbdce24015385", + "commits": [], + "end_line": 48, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/users/UserServiceImpl.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 48 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/shared" + "src": "M:graylog2-server/src/main/java/org/graylog2/users" }, { - "count": 6, - "dst": "M:graylog2-server/src/main/java/org/graylog2/utilities", + "count": 18, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/utilities", + "id": "M:graylog2-server/src/main/java/org/graylog2/users->M:graylog2-server/src/main/java/org/graylog2/shared", "kind": "uses", "refs": [ { - "blob_sha": "795c368bbce259e86ae83b787a489f7f6ad5d2e9", + "blob_sha": "3322372313d805ecc328df8a8a7158c5b814511d", "commits": [], - "end_line": 34, + "end_line": 35, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/OkHttpClientProvider.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/PrivilegeEscalationGuard.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 34 + "start_line": 35 }, { - "blob_sha": "e7e1c1e8b6a3174bc39e9bc835b7f526ac54d61e", + "blob_sha": "3322372313d805ecc328df8a8a7158c5b814511d", "commits": [], - "end_line": 23, + "end_line": 36, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/ProxySelectorProvider.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/PrivilegeEscalationGuard.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 36 }, { - "blob_sha": "e7e1c1e8b6a3174bc39e9bc835b7f526ac54d61e", + "blob_sha": "868d08df9437ddba4a818946eca97b6f785c8887", "commits": [], - "end_line": 24, + "end_line": 19, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/providers/ProxySelectorProvider.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/RoleChangedEvent.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/shared" - }, - { - "count": 6, - "dst": "M:graylog2-server/src/main/java/org/graylog2/web", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-server/src/main/java/org/graylog2/web", - "kind": "uses", - "refs": [ + "start_line": 19 + }, { - "blob_sha": "50f9c5a46ae96bcb31955a97bd2252f174dede63", + "blob_sha": "36d816fe8a0227b3b8eb8251ddf3808596dbbb5b", "commits": [], - "end_line": 27, - "id": "E1", + "end_line": 21, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/PluginBindings.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/RoleImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 21 }, { - "blob_sha": "b11c7c99325ed18d5b3290638f0987d92e81327a", + "blob_sha": "faa2b8d9d71914f271618ff72bd7bc72d6328385", "commits": [], - "end_line": 30, - "id": "E2", + "end_line": 21, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/RestApiBindings.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/RoleService.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 + "start_line": 21 }, { - "blob_sha": "b11c7c99325ed18d5b3290638f0987d92e81327a", + "blob_sha": "db51fbed834b1783cdc25d35bdf8529b2e3023b2", "commits": [], - "end_line": 31, - "id": "E3", + "end_line": 38, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/bindings/RestApiBindings.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/RoleServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 31 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/shared" - }, - { - "count": 3, - "dst": "M:graylog2-web-interface/src/components", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-web-interface/src/components", - "kind": "uses", - "refs": [ + "start_line": 38 + }, { - "blob_sha": "1619c4f4be3d22fbc2bfbd27ad1cf4c1404ec197", + "blob_sha": "db51fbed834b1783cdc25d35bdf8529b2e3023b2", "commits": [], - "end_line": 19, - "id": "E1", + "end_line": 39, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/metrics/CustomMemoryUsageGaugeSet.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/RoleServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 39 }, { - "blob_sha": "d2b00fd684400fc32bb4e8db2dd239b3741cdc5d", + "blob_sha": "db51fbed834b1783cdc25d35bdf8529b2e3023b2", "commits": [], - "end_line": 23, - "id": "E2", + "end_line": 40, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/metrics/MetricUtils.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/RoleServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 40 }, { - "blob_sha": "272234a5338812994425d845ef16eb66457e33a9", + "blob_sha": "db51fbed834b1783cdc25d35bdf8529b2e3023b2", "commits": [], - "end_line": 19, - "id": "E3", + "end_line": 58, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/rest/resources/system/MetricsResource.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/RoleServiceImpl.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 58 + }, + { + "blob_sha": "aba6cd61b504a63d676bef6b1013f5fbc860f3e8", + "commits": [], + "end_line": 27, + "id": "E10", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/users/StartPageCleanupListener.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/shared" + "src": "M:graylog2-server/src/main/java/org/graylog2/users" }, { "count": 1, - "dst": "M:graylog2-web-interface/src/logic", + "dst": "M:graylog2-server/src/main/java/org/graylog2/streams", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/shared->M:graylog2-web-interface/src/logic", + "id": "M:graylog2-server/src/main/java/org/graylog2/users->M:graylog2-server/src/main/java/org/graylog2/streams", "kind": "uses", "refs": [ { - "blob_sha": "767e6f5b3d9b6fca1778b2fcc2fae41c1f86bc78", + "blob_sha": "aba6cd61b504a63d676bef6b1013f5fbc860f3e8", "commits": [], - "end_line": 24, + "end_line": 28, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/shared/security/SessionCreator.java", + "path": "graylog2-server/src/main/java/org/graylog2/users/StartPageCleanupListener.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 28 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/shared" + "src": "M:graylog2-server/src/main/java/org/graylog2/users" }, { "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog/events", + "dst": "M:graylog2-server/src/main/java/org/graylog2/database", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/storage->M:graylog2-server/src/main/java/org/graylog/events", + "id": "M:graylog2-server/src/main/java/org/graylog2/utilities->M:graylog2-server/src/main/java/org/graylog2/database", "kind": "uses", "refs": [ { - "blob_sha": "0bcf6f4aa6a88772ead3f52e53ecd4c797bd29b4", + "blob_sha": "644b8c00b8ee59d57058f0bfa1fcfe4c66119281", "commits": [], - "end_line": 21, + "end_line": 20, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/storage/VersionAwareStorageModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/utilities/lucene/InMemorySearchEngine.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 20 }, { - "blob_sha": "628de0d4047fe802813662d9457232377691dcb6", + "blob_sha": "56676b3666bffa29fa27ee9515c36dcba175aa3a", "commits": [], - "end_line": 19, + "end_line": 37, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/storage/providers/MoreSearchAdapterProvider.java", + "path": "graylog2-server/src/main/java/org/graylog2/utilities/lucene/LuceneInMemorySearchEngine.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 37 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/storage" + "src": "M:graylog2-server/src/main/java/org/graylog2/utilities" }, { - "count": 12, - "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", + "count": 5, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/storage->M:graylog2-server/src/main/java/org/graylog/plugins", + "id": "M:graylog2-server/src/main/java/org/graylog2/utilities->M:graylog2-server/src/main/java/org/graylog2/plugin", "kind": "uses", "refs": [ { - "blob_sha": "0bcf6f4aa6a88772ead3f52e53ecd4c797bd29b4", + "blob_sha": "19e03de9073ba2128de30c5a5cdc49de16f1a02b", "commits": [], - "end_line": 22, + "end_line": 21, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/storage/VersionAwareStorageModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/utilities/CIDRPatriciaTrie.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 21 }, { - "blob_sha": "0bcf6f4aa6a88772ead3f52e53ecd4c797bd29b4", + "blob_sha": "e6d09cc06673c9d7d7b0d0a44e989301ab8d0dfa", "commits": [], - "end_line": 23, + "end_line": 20, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/storage/VersionAwareStorageModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/utilities/ConfigurationMapConverter.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 20 }, { - "blob_sha": "0bcf6f4aa6a88772ead3f52e53ecd4c797bd29b4", + "blob_sha": "e6d09cc06673c9d7d7b0d0a44e989301ab8d0dfa", "commits": [], - "end_line": 24, + "end_line": 21, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/storage/VersionAwareStorageModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/utilities/ConfigurationMapConverter.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/storage" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/storage->M:graylog2-server/src/main/java/org/graylog2/(root)", - "kind": "uses", - "refs": [ + "start_line": 21 + }, { - "blob_sha": "0bcf6f4aa6a88772ead3f52e53ecd4c797bd29b4", + "blob_sha": "3afbef275744231acc358be133f1d3c8c2114b02", "commits": [], - "end_line": 30, - "id": "E1", + "end_line": 26, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/storage/VersionAwareStorageModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/utilities/date/MultiFormatDateParser.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 + "start_line": 26 + }, + { + "blob_sha": "3afbef275744231acc358be133f1d3c8c2114b02", + "commits": [], + "end_line": 27, + "id": "E5", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/utilities/date/MultiFormatDateParser.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/storage" + "src": "M:graylog2-server/src/main/java/org/graylog2/utilities" }, { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", + "count": 3, + "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/storage->M:graylog2-server/src/main/java/org/graylog2/configuration", + "id": "M:graylog2-server/src/main/java/org/graylog2/utilities->M:graylog2-server/src/main/java/org/graylog2/rest", "kind": "uses", "refs": [ { - "blob_sha": "6c7c7b6357b8e8374a5fd3bac22f28f5d0aaf694", + "blob_sha": "644b8c00b8ee59d57058f0bfa1fcfe4c66119281", "commits": [], "end_line": 21, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/storage/SearchVersion.java", + "path": "graylog2-server/src/main/java/org/graylog2/utilities/lucene/InMemorySearchEngine.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 21 }, { - "blob_sha": "e4f339e2cacf4d9228892c97c65985212dd565a4", + "blob_sha": "56676b3666bffa29fa27ee9515c36dcba175aa3a", "commits": [], - "end_line": 19, + "end_line": 38, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/storage/SupportedSearchVersionFilter.java", + "path": "graylog2-server/src/main/java/org/graylog2/utilities/lucene/LuceneInMemorySearchEngine.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 38 }, { - "blob_sha": "071a672c8fa5fac1e2df16481081869199e204eb", + "blob_sha": "56676b3666bffa29fa27ee9515c36dcba175aa3a", "commits": [], - "end_line": 23, + "end_line": 39, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/storage/providers/ElasticsearchVersionProvider.java", + "path": "graylog2-server/src/main/java/org/graylog2/utilities/lucene/LuceneInMemorySearchEngine.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 39 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/storage" + "src": "M:graylog2-server/src/main/java/org/graylog2/utilities" }, { - "count": 34, - "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", + "count": 8, + "dst": "M:graylog2-server/src/main/java/org/graylog2/search", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/storage->M:graylog2-server/src/main/java/org/graylog2/indexer", + "id": "M:graylog2-server/src/main/java/org/graylog2/utilities->M:graylog2-server/src/main/java/org/graylog2/search", "kind": "uses", "refs": [ { - "blob_sha": "6c7c7b6357b8e8374a5fd3bac22f28f5d0aaf694", + "blob_sha": "644b8c00b8ee59d57058f0bfa1fcfe4c66119281", "commits": [], "end_line": 22, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/storage/SearchVersion.java", + "path": "graylog2-server/src/main/java/org/graylog2/utilities/lucene/InMemorySearchEngine.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 22 }, { - "blob_sha": "0bcf6f4aa6a88772ead3f52e53ecd4c797bd29b4", + "blob_sha": "56676b3666bffa29fa27ee9515c36dcba175aa3a", "commits": [], - "end_line": 31, + "end_line": 40, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/storage/VersionAwareStorageModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/utilities/lucene/LuceneInMemorySearchEngine.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 31 + "start_line": 40 }, { - "blob_sha": "0bcf6f4aa6a88772ead3f52e53ecd4c797bd29b4", + "blob_sha": "56676b3666bffa29fa27ee9515c36dcba175aa3a", "commits": [], - "end_line": 32, + "end_line": 41, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/storage/VersionAwareStorageModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/utilities/lucene/LuceneInMemorySearchEngine.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 32 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/storage" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/migrations", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/storage->M:graylog2-server/src/main/java/org/graylog2/migrations", - "kind": "uses", - "refs": [ + "start_line": 41 + }, { - "blob_sha": "0bcf6f4aa6a88772ead3f52e53ecd4c797bd29b4", + "blob_sha": "8727327e124e7d3a8e8fbcd241c203e36a64157f", "commits": [], - "end_line": 48, - "id": "E1", + "end_line": 31, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/storage/VersionAwareStorageModule.java", + "path": "graylog2-server/src/main/java/org/graylog2/utilities/lucene/LuceneQueryBuilder.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 48 + "start_line": 31 }, { - "blob_sha": "f99b0233d51bdb2ecab3093503b07b8af8d1c104", + "blob_sha": "8727327e124e7d3a8e8fbcd241c203e36a64157f", "commits": [], - "end_line": 19, - "id": "E2", + "end_line": 32, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/storage/providers/V20170607164210_MigrateReopenedIndicesToAliasesClusterStateAdapterProvider.java", + "path": "graylog2-server/src/main/java/org/graylog2/utilities/lucene/LuceneQueryBuilder.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/storage" - }, - { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/security", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/storage->M:graylog2-server/src/main/java/org/graylog2/security", - "kind": "uses", - "refs": [ + "start_line": 32 + }, { - "blob_sha": "9e46cf044a3a955e5edf0ba1ae7ac5927464306a", + "blob_sha": "8727327e124e7d3a8e8fbcd241c203e36a64157f", "commits": [], - "end_line": 20, - "id": "E1", + "end_line": 33, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/storage/versionprobe/VersionProbeFactory.java", + "path": "graylog2-server/src/main/java/org/graylog2/utilities/lucene/LuceneQueryBuilder.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 33 }, { - "blob_sha": "5051b7f34aa6fb0b23402d3711349b8d211f7d8d", + "blob_sha": "8727327e124e7d3a8e8fbcd241c203e36a64157f", "commits": [], - "end_line": 38, - "id": "E2", + "end_line": 34, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/storage/versionprobe/VersionProbeImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/utilities/lucene/LuceneQueryBuilder.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 38 + "start_line": 34 }, { - "blob_sha": "5051b7f34aa6fb0b23402d3711349b8d211f7d8d", + "blob_sha": "8727327e124e7d3a8e8fbcd241c203e36a64157f", "commits": [], - "end_line": 39, - "id": "E3", + "end_line": 35, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/storage/versionprobe/VersionProbeImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/utilities/lucene/LuceneQueryBuilder.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 39 + "start_line": 35 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/storage" + "src": "M:graylog2-server/src/main/java/org/graylog2/utilities" }, { - "count": 2, + "count": 4, "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/storage->M:graylog2-server/src/main/java/org/graylog2/shared", + "id": "M:graylog2-server/src/main/java/org/graylog2/utilities->M:graylog2-server/src/main/java/org/graylog2/shared", "kind": "uses", "refs": [ { - "blob_sha": "e4f339e2cacf4d9228892c97c65985212dd565a4", + "blob_sha": "2bd01727efa28bf767577869859b8183b7482ddd", "commits": [], - "end_line": 20, + "end_line": 44, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/storage/SupportedSearchVersionFilter.java", + "path": "graylog2-server/src/main/java/org/graylog2/utilities/IpSubnet.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 44 }, { - "blob_sha": "5051b7f34aa6fb0b23402d3711349b8d211f7d8d", + "blob_sha": "14da74ab7ebb9d2b1d56179963965ffbbca39457", "commits": [], - "end_line": 40, + "end_line": 21, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/storage/versionprobe/VersionProbeImpl.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 40 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/storage" - }, - { - "count": 6, - "dst": "M:graylog2-server/src/main/java/org/graylog/events", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/streams->M:graylog2-server/src/main/java/org/graylog/events", - "kind": "uses", - "refs": [ - { - "blob_sha": "48f0ab54b005bfd7f2999cb7349a5d448d75e908", - "commits": [], - "end_line": 23, - "id": "E1", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/metrics/StreamAssociatedInputsDescriptor.java", + "path": "graylog2-server/src/main/java/org/graylog2/utilities/LoggingServiceListener.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 21 }, { - "blob_sha": "acb823083f918f22973af55f5ca3c82378c44c2e", + "blob_sha": "8c087e863b00e069ead0781be30a321189abc746", "commits": [], - "end_line": 22, - "id": "E2", + "end_line": 28, + "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/metrics/StreamAvgProcessingTimeDescriptor.java", + "path": "graylog2-server/src/main/java/org/graylog2/utilities/ProxyConfig.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 28 }, { - "blob_sha": "acb823083f918f22973af55f5ca3c82378c44c2e", + "blob_sha": "bac69c24d0606961c8ca8de9dd6ba5f6b7625435", "commits": [], - "end_line": 23, - "id": "E3", + "end_line": 26, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/metrics/StreamAvgProcessingTimeDescriptor.java", + "path": "graylog2-server/src/main/java/org/graylog2/utilities/ProxyConfigConverter.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 26 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/streams" + "src": "M:graylog2-server/src/main/java/org/graylog2/utilities" }, { "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog/failure", + "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/streams->M:graylog2-server/src/main/java/org/graylog/failure", + "id": "M:graylog2-server/src/main/java/org/graylog2/web->M:graylog2-server/src/main/java/org/graylog2/(root)", "kind": "uses", "refs": [ { - "blob_sha": "795a85a7d1ad6ab40eaaa7b02c712add793260ab", + "blob_sha": "29ea387d0d273dde23fa0bf918c5f8aa787868ed", "commits": [], - "end_line": 32, + "end_line": 30, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamRouterEngine.java", + "path": "graylog2-server/src/main/java/org/graylog2/web/resources/AppConfigResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 32 + "start_line": 30 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/streams" + "src": "M:graylog2-server/src/main/java/org/graylog2/web" }, { - "count": 13, - "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", + "count": 7, + "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/streams->M:graylog2-server/src/main/java/org/graylog/plugins", + "id": "M:graylog2-server/src/main/java/org/graylog2/web->M:graylog2-server/src/main/java/org/graylog2/configuration", "kind": "uses", "refs": [ { - "blob_sha": "76ed1650c2323a5fad0bfa600b288defc6c3045c", + "blob_sha": "571f95fde1ef5934fee6ab134469f5b62c89f663", "commits": [], - "end_line": 26, + "end_line": 22, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/filters/StreamDestinationFilterRuleDTO.java", + "path": "graylog2-server/src/main/java/org/graylog2/web/DevelopmentIndexHtmlGenerator.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 22 }, { - "blob_sha": "48f0ab54b005bfd7f2999cb7349a5d448d75e908", + "blob_sha": "3b1b2e39ab33a8f1977a2225a1bf2316e25c184d", "commits": [], "end_line": 24, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/metrics/StreamAssociatedInputsDescriptor.java", + "path": "graylog2-server/src/main/java/org/graylog2/web/ProductionIndexHtmlGenerator.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 24 }, { - "blob_sha": "acb823083f918f22973af55f5ca3c82378c44c2e", + "blob_sha": "29ea387d0d273dde23fa0bf918c5f8aa787868ed", "commits": [], - "end_line": 24, + "end_line": 31, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/metrics/StreamAvgProcessingTimeDescriptor.java", + "path": "graylog2-server/src/main/java/org/graylog2/web/resources/AppConfigResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/streams" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog/security", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/streams->M:graylog2-server/src/main/java/org/graylog/security", - "kind": "uses", - "refs": [ + "start_line": 31 + }, { - "blob_sha": "7f15de412cbe4e9ec20fb2d2928844f0ffff298e", + "blob_sha": "29ea387d0d273dde23fa0bf918c5f8aa787868ed", "commits": [], "end_line": 32, - "id": "E1", + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamServiceImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/web/resources/AppConfigResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 32 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/streams" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/streams->M:graylog2-server/src/main/java/org/graylog2/(root)", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "0794ae5342b0ff2917eb1e60f7407cdb15625084", + "blob_sha": "29ea387d0d273dde23fa0bf918c5f8aa787868ed", "commits": [], - "end_line": 20, - "id": "E1", + "end_line": 33, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamFaultManager.java", + "path": "graylog2-server/src/main/java/org/graylog2/web/resources/AppConfigResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 33 + }, + { + "blob_sha": "a1a3b7d9defc3b6ee52f2330c5a73b603f342a3a", + "commits": [], + "end_line": 32, + "id": "E6", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/web/resources/WebInterfaceAssetsResource.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "e327eab13c44717a53aa0ba1a3d541a3ac65c79b", + "commits": [], + "end_line": 19, + "id": "E7", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/web/resources/WebResourcesModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/streams" + "src": "M:graylog2-server/src/main/java/org/graylog2/web" }, { "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/bindings", + "dst": "M:graylog2-server/src/main/java/org/graylog2/featureflag", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/streams->M:graylog2-server/src/main/java/org/graylog2/bindings", + "id": "M:graylog2-server/src/main/java/org/graylog2/web->M:graylog2-server/src/main/java/org/graylog2/featureflag", "kind": "uses", "refs": [ { - "blob_sha": "5f0b6791f309b36857fb15aac71cede2e5e95df2", + "blob_sha": "29ea387d0d273dde23fa0bf918c5f8aa787868ed", "commits": [], - "end_line": 21, + "end_line": 34, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/DefaultStreamChangeHandler.java", + "path": "graylog2-server/src/main/java/org/graylog2/web/resources/AppConfigResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 34 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/streams" + "src": "M:graylog2-server/src/main/java/org/graylog2/web" }, { - "count": 65, - "dst": "M:graylog2-server/src/main/java/org/graylog2/database", + "count": 4, + "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/streams->M:graylog2-server/src/main/java/org/graylog2/database", + "id": "M:graylog2-server/src/main/java/org/graylog2/web->M:graylog2-server/src/main/java/org/graylog2/plugin", "kind": "uses", "refs": [ { - "blob_sha": "6ecd66d01bcdac39f25b199a4848e9573cd382ab", + "blob_sha": "c3c0b5d5a17932ff1cb26de158f9f6e06985e369", "commits": [], - "end_line": 19, + "end_line": 20, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/FavoriteFieldsService.java", + "path": "graylog2-server/src/main/java/org/graylog2/web/PluginAssets.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 20 }, { - "blob_sha": "7f57607536722c38445c9286f2d60d7114431fe3", + "blob_sha": "c92872ee2aec1988f056a862118c7dcb569125e6", "commits": [], - "end_line": 21, + "end_line": 22, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/FavoriteFieldsServiceImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/web/customization/ConfigProvider.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 22 }, { - "blob_sha": "7f57607536722c38445c9286f2d60d7114431fe3", + "blob_sha": "a1a3b7d9defc3b6ee52f2330c5a73b603f342a3a", "commits": [], - "end_line": 22, + "end_line": 33, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/FavoriteFieldsServiceImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/web/resources/WebInterfaceAssetsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 33 + }, + { + "blob_sha": "e327eab13c44717a53aa0ba1a3d541a3ac65c79b", + "commits": [], + "end_line": 20, + "id": "E4", + "kind": "lines", + "path": "graylog2-server/src/main/java/org/graylog2/web/resources/WebResourcesModule.java", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/streams" + "src": "M:graylog2-server/src/main/java/org/graylog2/web" }, { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/events", + "count": 5, + "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/streams->M:graylog2-server/src/main/java/org/graylog2/events", + "id": "M:graylog2-server/src/main/java/org/graylog2/web->M:graylog2-server/src/main/java/org/graylog2/rest", "kind": "uses", "refs": [ { - "blob_sha": "08ea667bbc2a05c1666e4ba96250e431bf8ec85a", + "blob_sha": "571f95fde1ef5934fee6ab134469f5b62c89f663", "commits": [], - "end_line": 35, + "end_line": 23, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/OutputServiceImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/web/DevelopmentIndexHtmlGenerator.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 35 + "start_line": 23 }, { - "blob_sha": "57944c40dc89e88ae33f10183d250e6daa9606d0", + "blob_sha": "3b1b2e39ab33a8f1977a2225a1bf2316e25c184d", "commits": [], - "end_line": 28, + "end_line": 25, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamRuleServiceImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/web/ProductionIndexHtmlGenerator.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 + "start_line": 25 }, { - "blob_sha": "7f15de412cbe4e9ec20fb2d2928844f0ffff298e", + "blob_sha": "29ea387d0d273dde23fa0bf918c5f8aa787868ed", "commits": [], - "end_line": 42, + "end_line": 35, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamServiceImpl.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 42 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/streams" - }, - { - "count": 8, - "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/streams->M:graylog2-server/src/main/java/org/graylog2/indexer", - "kind": "uses", - "refs": [ - { - "blob_sha": "46d7381b26c24c9d1f51738d53eed1d8d6182d5c", - "commits": [], - "end_line": 32, - "id": "E1", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/PaginatedStreamService.java", + "path": "graylog2-server/src/main/java/org/graylog2/web/resources/AppConfigResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 32 + "start_line": 35 }, { - "blob_sha": "21a3b51b135e5aab18a292b9c5678a5a319d7f6e", + "blob_sha": "29ea387d0d273dde23fa0bf918c5f8aa787868ed", "commits": [], - "end_line": 28, - "id": "E2", + "end_line": 36, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/web/resources/AppConfigResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 + "start_line": 36 }, { - "blob_sha": "918a24fe5ee0449ac031053fb9f05f61efd0efd2", + "blob_sha": "a1a3b7d9defc3b6ee52f2330c5a73b603f342a3a", "commits": [], - "end_line": 22, - "id": "E3", + "end_line": 34, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamRouter.java", + "path": "graylog2-server/src/main/java/org/graylog2/web/resources/WebInterfaceAssetsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 34 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/streams" + "src": "M:graylog2-server/src/main/java/org/graylog2/web" }, { - "count": 5, - "dst": "M:graylog2-server/src/main/java/org/graylog2/inputs", + "count": 6, + "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/streams->M:graylog2-server/src/main/java/org/graylog2/inputs", + "id": "M:graylog2-server/src/main/java/org/graylog2/web->M:graylog2-server/src/main/java/org/graylog2/shared", "kind": "uses", "refs": [ { - "blob_sha": "08ea667bbc2a05c1666e4ba96250e431bf8ec85a", + "blob_sha": "c3c0b5d5a17932ff1cb26de158f9f6e06985e369", "commits": [], - "end_line": 36, + "end_line": 21, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/OutputServiceImpl.java", + "path": "graylog2-server/src/main/java/org/graylog2/web/PluginAssets.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 36 + "start_line": 21 }, { - "blob_sha": "98a720786d0fd604db4e9a47fbf90a6b7d92b08b", + "blob_sha": "29ea387d0d273dde23fa0bf918c5f8aa787868ed", "commits": [], - "end_line": 19, + "end_line": 37, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/input/StreamRuleServerInputsProvider.java", + "path": "graylog2-server/src/main/java/org/graylog2/web/resources/AppConfigResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 37 }, { - "blob_sha": "98a720786d0fd604db4e9a47fbf90a6b7d92b08b", + "blob_sha": "29ea387d0d273dde23fa0bf918c5f8aa787868ed", "commits": [], - "end_line": 20, + "end_line": 38, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/input/StreamRuleServerInputsProvider.java", + "path": "graylog2-server/src/main/java/org/graylog2/web/resources/AppConfigResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/streams" - }, - { - "count": 16, - "dst": "M:graylog2-server/src/main/java/org/graylog2/metrics", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/streams->M:graylog2-server/src/main/java/org/graylog2/metrics", - "kind": "uses", - "refs": [ + "start_line": 38 + }, { - "blob_sha": "48f0ab54b005bfd7f2999cb7349a5d448d75e908", + "blob_sha": "a1a3b7d9defc3b6ee52f2330c5a73b603f342a3a", "commits": [], - "end_line": 27, - "id": "E1", + "end_line": 35, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/metrics/StreamAssociatedInputsDescriptor.java", + "path": "graylog2-server/src/main/java/org/graylog2/web/resources/WebInterfaceAssetsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 35 }, { - "blob_sha": "48f0ab54b005bfd7f2999cb7349a5d448d75e908", + "blob_sha": "a1a3b7d9defc3b6ee52f2330c5a73b603f342a3a", "commits": [], - "end_line": 28, - "id": "E2", + "end_line": 36, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/metrics/StreamAssociatedInputsDescriptor.java", + "path": "graylog2-server/src/main/java/org/graylog2/web/resources/WebInterfaceAssetsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 + "start_line": 36 }, { - "blob_sha": "48f0ab54b005bfd7f2999cb7349a5d448d75e908", + "blob_sha": "a1a3b7d9defc3b6ee52f2330c5a73b603f342a3a", "commits": [], - "end_line": 29, - "id": "E3", + "end_line": 37, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/metrics/StreamAssociatedInputsDescriptor.java", + "path": "graylog2-server/src/main/java/org/graylog2/web/resources/WebInterfaceAssetsResource.java", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 + "start_line": 37 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/streams" + "src": "M:graylog2-server/src/main/java/org/graylog2/web" }, { "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/notifications", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/streams->M:graylog2-server/src/main/java/org/graylog2/notifications", + "dst": "M:graylog2-web-interface/src/contexts", + "how": "relative", + "id": "M:graylog2-web-interface/docs->M:graylog2-web-interface/src/contexts", "kind": "uses", "refs": [ { - "blob_sha": "0794ae5342b0ff2917eb1e60f7407cdb15625084", + "blob_sha": "519010522ee3b3fb8b023955f69b0a5ea1a1e8f3", "commits": [], - "end_line": 21, + "end_line": 23, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamFaultManager.java", + "path": "graylog2-web-interface/docs/StyleGuideWrapper.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 23 }, { - "blob_sha": "0794ae5342b0ff2917eb1e60f7407cdb15625084", + "blob_sha": "519010522ee3b3fb8b023955f69b0a5ea1a1e8f3", "commits": [], - "end_line": 22, + "end_line": 25, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamFaultManager.java", + "path": "graylog2-web-interface/docs/StyleGuideWrapper.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 25 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/streams" + "src": "M:graylog2-web-interface/docs" + }, + { + "count": 1, + "dst": "M:graylog2-web-interface/src/logic", + "how": "relative", + "id": "M:graylog2-web-interface/docs->M:graylog2-web-interface/src/logic", + "kind": "uses", + "refs": [ + { + "blob_sha": "519010522ee3b3fb8b023955f69b0a5ea1a1e8f3", + "commits": [], + "end_line": 24, + "id": "E1", + "kind": "lines", + "path": "graylog2-web-interface/docs/StyleGuideWrapper.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + } + ], + "src": "M:graylog2-web-interface/docs" }, { "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/outputs", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/streams->M:graylog2-server/src/main/java/org/graylog2/outputs", + "dst": "M:graylog2-web-interface/src/theme", + "how": "relative", + "id": "M:graylog2-web-interface/docs->M:graylog2-web-interface/src/theme", "kind": "uses", "refs": [ { - "blob_sha": "08ea667bbc2a05c1666e4ba96250e431bf8ec85a", + "blob_sha": "519010522ee3b3fb8b023955f69b0a5ea1a1e8f3", "commits": [], - "end_line": 37, + "end_line": 22, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/OutputServiceImpl.java", + "path": "graylog2-web-interface/docs/StyleGuideWrapper.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 + "start_line": 22 }, { - "blob_sha": "08ea667bbc2a05c1666e4ba96250e431bf8ec85a", + "blob_sha": "519010522ee3b3fb8b023955f69b0a5ea1a1e8f3", "commits": [], - "end_line": 38, + "end_line": 26, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/OutputServiceImpl.java", + "path": "graylog2-web-interface/docs/StyleGuideWrapper.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 38 + "start_line": 26 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/streams" + "src": "M:graylog2-web-interface/docs" }, { - "count": 81, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "count": 10, + "dst": "M:graylog2-web-interface/src/components", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/streams->M:graylog2-server/src/main/java/org/graylog2/plugin", + "id": "M:graylog2-web-interface/docs/graylog-luma->M:graylog2-web-interface/src/components", "kind": "uses", "refs": [ { - "blob_sha": "5f0b6791f309b36857fb15aac71cede2e5e95df2", + "blob_sha": "733fd53c8cb85a9961e8d34f05c2161464dd3e78", "commits": [], "end_line": 22, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/DefaultStreamChangeHandler.java", + "path": "graylog2-web-interface/docs/graylog-luma/stories/Form/Badge/Badge.stories.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 22 }, { - "blob_sha": "69e8405d318eda7b481a4c60f08366fade1f4a61", + "blob_sha": "733fd53c8cb85a9961e8d34f05c2161464dd3e78", "commits": [], - "end_line": 24, + "end_line": 21, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/OutputImpl.java", + "path": "graylog2-web-interface/docs/graylog-luma/stories/Form/Badge/Badge.stories.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 21 }, { - "blob_sha": "c9423a489e4ddfe903c8e6703bcf688e2a9e0acc", + "blob_sha": "4cc19baa09219020b4b49477503b5c79c5680e71", "commits": [], - "end_line": 21, + "end_line": 20, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/OutputService.java", + "path": "graylog2-web-interface/docs/graylog-luma/stories/Form/Button/Button.stories.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "23a1f761f0d230a9e397d9711021d422b5b33069", + "commits": [], + "end_line": 21, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/docs/graylog-luma/stories/Patterns/CreatingAnEntity.stories.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 21 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/streams" - }, - { - "count": 14, - "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/streams->M:graylog2-server/src/main/java/org/graylog2/rest", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "c9423a489e4ddfe903c8e6703bcf688e2a9e0acc", + "blob_sha": "23a1f761f0d230a9e397d9711021d422b5b33069", "commits": [], - "end_line": 23, - "id": "E1", + "end_line": 22, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/OutputService.java", + "path": "graylog2-web-interface/docs/graylog-luma/stories/Patterns/CreatingAnEntity.stories.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 22 }, { - "blob_sha": "08ea667bbc2a05c1666e4ba96250e431bf8ec85a", + "blob_sha": "38fbb7c8426fabb8a9480ed2cd622140e21bf0d9", "commits": [], - "end_line": 42, - "id": "E2", + "end_line": 21, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/OutputServiceImpl.java", + "path": "graylog2-web-interface/docs/graylog-luma/stories/Patterns/Forms.stories.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 42 + "start_line": 21 }, { - "blob_sha": "08ea667bbc2a05c1666e4ba96250e431bf8ec85a", + "blob_sha": "38fbb7c8426fabb8a9480ed2cd622140e21bf0d9", "commits": [], - "end_line": 43, - "id": "E3", + "end_line": 22, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/OutputServiceImpl.java", + "path": "graylog2-web-interface/docs/graylog-luma/stories/Patterns/Forms.stories.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 43 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/streams" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/search", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/streams->M:graylog2-server/src/main/java/org/graylog2/search", - "kind": "uses", - "refs": [ + "start_line": 22 + }, { - "blob_sha": "0a7f31f9465e184a1f081695da88baf09b3f30e3", + "blob_sha": "38fbb7c8426fabb8a9480ed2cd622140e21bf0d9", "commits": [], - "end_line": 35, - "id": "E1", + "end_line": 24, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/filters/StreamDestinationFilterService.java", + "path": "graylog2-web-interface/docs/graylog-luma/stories/Patterns/Forms.stories.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 35 + "start_line": 24 }, { - "blob_sha": "0a7f31f9465e184a1f081695da88baf09b3f30e3", + "blob_sha": "38fbb7c8426fabb8a9480ed2cd622140e21bf0d9", "commits": [], - "end_line": 36, - "id": "E2", + "end_line": 23, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/filters/StreamDestinationFilterService.java", + "path": "graylog2-web-interface/docs/graylog-luma/stories/Patterns/Forms.stories.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 36 + "start_line": 23 + }, + { + "blob_sha": "38fbb7c8426fabb8a9480ed2cd622140e21bf0d9", + "commits": [], + "end_line": 25, + "id": "E10", + "kind": "lines", + "path": "graylog2-web-interface/docs/graylog-luma/stories/Patterns/Forms.stories.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/streams" + "src": "M:graylog2-web-interface/docs/graylog-luma" }, { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/security", + "count": 14, + "dst": "M:graylog2-web-interface/src/theme", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/streams->M:graylog2-server/src/main/java/org/graylog2/security", + "id": "M:graylog2-web-interface/docs/graylog-luma->M:graylog2-web-interface/src/theme", "kind": "uses", "refs": [ { - "blob_sha": "08ea667bbc2a05c1666e4ba96250e431bf8ec85a", + "blob_sha": "feb7b31792e6efc6525037fd9028ca39395327f9", "commits": [], - "end_line": 44, + "end_line": 25, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/OutputServiceImpl.java", + "path": "graylog2-web-interface/docs/graylog-luma/.storybook/DocsContainer.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 44 + "start_line": 25 }, { - "blob_sha": "08ea667bbc2a05c1666e4ba96250e431bf8ec85a", + "blob_sha": "feb7b31792e6efc6525037fd9028ca39395327f9", "commits": [], - "end_line": 45, + "end_line": 24, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/OutputServiceImpl.java", + "path": "graylog2-web-interface/docs/graylog-luma/.storybook/DocsContainer.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 45 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/streams" - }, - { - "count": 18, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/streams->M:graylog2-server/src/main/java/org/graylog2/shared", - "kind": "uses", - "refs": [ + "start_line": 24 + }, { - "blob_sha": "69e8405d318eda7b481a4c60f08366fade1f4a61", + "blob_sha": "feb7b31792e6efc6525037fd9028ca39395327f9", "commits": [], - "end_line": 32, - "id": "E1", + "end_line": 23, + "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/OutputImpl.java", + "path": "graylog2-web-interface/docs/graylog-luma/.storybook/DocsContainer.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 32 + "start_line": 23 }, { - "blob_sha": "69e8405d318eda7b481a4c60f08366fade1f4a61", + "blob_sha": "0323197b85d02af5ea0b9b4ea29b4ad4b42ac2a1", "commits": [], - "end_line": 33, - "id": "E2", + "end_line": 19, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/OutputImpl.java", + "path": "graylog2-web-interface/docs/graylog-luma/.storybook/storybook-theme.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 33 + "start_line": 19 }, { - "blob_sha": "58ed41062573d51272b607496a2f8cd3196921d5", + "blob_sha": "0323197b85d02af5ea0b9b4ea29b4ad4b42ac2a1", "commits": [], - "end_line": 44, - "id": "E3", + "end_line": 20, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/StreamCache.java", + "path": "graylog2-web-interface/docs/graylog-luma/.storybook/storybook-theme.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 44 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/streams" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/utilities", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/streams->M:graylog2-server/src/main/java/org/graylog2/utilities", - "kind": "uses", - "refs": [ + "start_line": 20 + }, { - "blob_sha": "1d9ee49ea418a38c9258276e0fffb35b79db45c6", + "blob_sha": "19fd9ffdafdb976d9b615c50f7862d63aa16a817", "commits": [], - "end_line": 24, - "id": "E1", + "end_line": 27, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/streams/matchers/RegexMatcher.java", + "path": "graylog2-web-interface/docs/graylog-luma/.storybook/withGraylogTheme.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/streams" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/system->M:graylog2-server/src/main/java/org/graylog/plugins", - "kind": "uses", - "refs": [ + "start_line": 27 + }, { - "blob_sha": "0614d93c532f7e5244bf315246a607ad4773debe", + "blob_sha": "19fd9ffdafdb976d9b615c50f7862d63aa16a817", "commits": [], - "end_line": 21, - "id": "E1", + "end_line": 26, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/system/stats/ClusterStatsService.java", + "path": "graylog2-web-interface/docs/graylog-luma/.storybook/withGraylogTheme.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/system" - }, - { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog/scheduler", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/system->M:graylog2-server/src/main/java/org/graylog/scheduler", - "kind": "uses", - "refs": [ + "start_line": 26 + }, { - "blob_sha": "025280f05d0a8790fd9a47b26567f5c18208ead5", + "blob_sha": "19fd9ffdafdb976d9b615c50f7862d63aa16a817", "commits": [], - "end_line": 19, - "id": "E1", + "end_line": 25, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/system/jobs/LegacySystemJob.java", + "path": "graylog2-web-interface/docs/graylog-luma/.storybook/withGraylogTheme.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 25 }, { - "blob_sha": "81fc808959e8a6d3a7ed43c88bfd264135969313", + "blob_sha": "19fd9ffdafdb976d9b615c50f7862d63aa16a817", "commits": [], - "end_line": 20, - "id": "E2", + "end_line": 19, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/system/jobs/LegacySystemJobFactory.java", + "path": "graylog2-web-interface/docs/graylog-luma/.storybook/withGraylogTheme.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 19 }, { - "blob_sha": "7efb54faac10f15346fbc07b614ee610d32ac321", + "blob_sha": "e3eff337fec289155a485942132928076fe50a78", "commits": [], - "end_line": 27, - "id": "E3", + "end_line": 20, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/system/jobs/LegacySystemJobManager.java", + "path": "graylog2-web-interface/docs/graylog-luma/stories/Foundation/Tokens.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 20 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/system" + "src": "M:graylog2-web-interface/docs/graylog-luma" }, { "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog/tracing", + "dst": "M:graylog2-web-interface/src/util", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/system->M:graylog2-server/src/main/java/org/graylog/tracing", + "id": "M:graylog2-web-interface/packages/jest-preset-graylog->M:graylog2-web-interface/src/util", "kind": "uses", "refs": [ { - "blob_sha": "7efb54faac10f15346fbc07b614ee610d32ac321", + "blob_sha": "54603e673bf7bcf21ccb11ab8e3b8e4becc23303", "commits": [], - "end_line": 28, + "end_line": 20, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/system/jobs/LegacySystemJobManager.java", + "path": "graylog2-web-interface/packages/jest-preset-graylog/lib/setup-files/console-warnings-fail-tests.js", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 + "start_line": 20 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/system" + "src": "M:graylog2-web-interface/packages/jest-preset-graylog" }, { - "count": 6, - "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", + "count": 1, + "dst": "M:graylog2-web-interface/packages/graylog-web-plugin", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/system->M:graylog2-server/src/main/java/org/graylog2/(root)", + "id": "M:graylog2-web-interface/src/(root)->M:graylog2-web-interface/packages/graylog-web-plugin", "kind": "uses", "refs": [ { - "blob_sha": "a41f3c5bf4fef569ed52d1fdcd110051ebbae232", + "blob_sha": "31dcb14a8821a667a7cc77b207a452e668e87893", "commits": [], - "end_line": 49, + "end_line": 23, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/system/processing/control/ClusterProcessingControl.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 49 - }, - { - "blob_sha": "a41f3c5bf4fef569ed52d1fdcd110051ebbae232", - "commits": [], - "end_line": 50, - "id": "E2", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/system/processing/control/ClusterProcessingControl.java", + "path": "graylog2-web-interface/src/index.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 50 - }, + "start_line": 23 + } + ], + "src": "M:graylog2-web-interface/src/(root)" + }, + { + "count": 1, + "dst": "M:graylog2-web-interface/src/aws", + "how": "import-path", + "id": "M:graylog2-web-interface/src/(root)->M:graylog2-web-interface/src/aws", + "kind": "uses", + "refs": [ { - "blob_sha": "266a17467885cd173b9dcd891f10c893ecef661e", + "blob_sha": "31dcb14a8821a667a7cc77b207a452e668e87893", "commits": [], - "end_line": 26, - "id": "E3", + "end_line": 30, + "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/system/processing/control/ClusterProcessingControlFactory.java", + "path": "graylog2-web-interface/src/index.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 30 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/system" + "src": "M:graylog2-web-interface/src/(root)" }, { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/audit", + "count": 19, + "dst": "M:graylog2-web-interface/src/components", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/system->M:graylog2-server/src/main/java/org/graylog2/audit", + "id": "M:graylog2-web-interface/src/(root)->M:graylog2-web-interface/src/components", "kind": "uses", "refs": [ { - "blob_sha": "533858c026c3974bddd846e78211adc6053a7d1a", + "blob_sha": "31dcb14a8821a667a7cc77b207a452e668e87893", "commits": [], - "end_line": 21, + "end_line": 50, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/system/shutdown/GracefulShutdown.java", + "path": "graylog2-web-interface/src/index.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 50 }, { - "blob_sha": "533858c026c3974bddd846e78211adc6053a7d1a", + "blob_sha": "31dcb14a8821a667a7cc77b207a452e668e87893", "commits": [], - "end_line": 22, + "end_line": 51, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/system/shutdown/GracefulShutdown.java", + "path": "graylog2-web-interface/src/index.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 51 }, { - "blob_sha": "533858c026c3974bddd846e78211adc6053a7d1a", + "blob_sha": "31dcb14a8821a667a7cc77b207a452e668e87893", "commits": [], - "end_line": 38, + "end_line": 45, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/system/shutdown/GracefulShutdown.java", + "path": "graylog2-web-interface/src/index.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 38 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/system" - }, - { - "count": 6, - "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/system->M:graylog2-server/src/main/java/org/graylog2/cluster", - "kind": "uses", - "refs": [ + "start_line": 45 + }, { - "blob_sha": "a41f3c5bf4fef569ed52d1fdcd110051ebbae232", + "blob_sha": "31dcb14a8821a667a7cc77b207a452e668e87893", "commits": [], - "end_line": 27, - "id": "E1", + "end_line": 41, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/system/processing/control/ClusterProcessingControl.java", + "path": "graylog2-web-interface/src/index.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 41 }, { - "blob_sha": "a41f3c5bf4fef569ed52d1fdcd110051ebbae232", + "blob_sha": "31dcb14a8821a667a7cc77b207a452e668e87893", "commits": [], - "end_line": 28, - "id": "E2", + "end_line": 52, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/system/processing/control/ClusterProcessingControl.java", + "path": "graylog2-web-interface/src/index.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 + "start_line": 52 }, { - "blob_sha": "a41f3c5bf4fef569ed52d1fdcd110051ebbae232", + "blob_sha": "31dcb14a8821a667a7cc77b207a452e668e87893", "commits": [], - "end_line": 29, - "id": "E3", + "end_line": 42, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/system/processing/control/ClusterProcessingControl.java", + "path": "graylog2-web-interface/src/index.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/system" - }, - { - "count": 14, - "dst": "M:graylog2-server/src/main/java/org/graylog2/database", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/system->M:graylog2-server/src/main/java/org/graylog2/database", - "kind": "uses", - "refs": [ + "start_line": 42 + }, { - "blob_sha": "b4146e41cd16a1887d23845d3dd0790c7244ef6c", + "blob_sha": "31dcb14a8821a667a7cc77b207a452e668e87893", "commits": [], - "end_line": 21, - "id": "E1", + "end_line": 34, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/system/activities/SystemMessageImpl.java", + "path": "graylog2-web-interface/src/index.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 34 }, { - "blob_sha": "b4146e41cd16a1887d23845d3dd0790c7244ef6c", + "blob_sha": "31dcb14a8821a667a7cc77b207a452e668e87893", "commits": [], - "end_line": 22, - "id": "E2", + "end_line": 32, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/system/activities/SystemMessageImpl.java", + "path": "graylog2-web-interface/src/index.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 32 }, { - "blob_sha": "b4146e41cd16a1887d23845d3dd0790c7244ef6c", + "blob_sha": "31dcb14a8821a667a7cc77b207a452e668e87893", "commits": [], - "end_line": 23, - "id": "E3", + "end_line": 33, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/system/activities/SystemMessageImpl.java", + "path": "graylog2-web-interface/src/index.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/system" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/events", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/system->M:graylog2-server/src/main/java/org/graylog2/events", - "kind": "uses", - "refs": [ + "start_line": 33 + }, { - "blob_sha": "1d20539b48f17b3f71d94c5c868eb73f1dff20c3", + "blob_sha": "31dcb14a8821a667a7cc77b207a452e668e87893", "commits": [], - "end_line": 20, - "id": "E1", + "end_line": 40, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/system/debug/ClusterDebugEventListener.java", + "path": "graylog2-web-interface/src/index.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 40 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/system" + "src": "M:graylog2-web-interface/src/(root)" }, { - "count": 5, - "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", + "count": 3, + "dst": "M:graylog2-web-interface/src/contexts", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/system->M:graylog2-server/src/main/java/org/graylog2/indexer", + "id": "M:graylog2-web-interface/src/(root)->M:graylog2-web-interface/src/contexts", "kind": "uses", "refs": [ { - "blob_sha": "81fc808959e8a6d3a7ed43c88bfd264135969313", + "blob_sha": "31dcb14a8821a667a7cc77b207a452e668e87893", "commits": [], - "end_line": 21, + "end_line": 27, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/system/jobs/LegacySystemJobFactory.java", + "path": "graylog2-web-interface/src/index.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 27 }, { - "blob_sha": "81fc808959e8a6d3a7ed43c88bfd264135969313", + "blob_sha": "31dcb14a8821a667a7cc77b207a452e668e87893", "commits": [], - "end_line": 22, + "end_line": 37, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/system/jobs/LegacySystemJobFactory.java", + "path": "graylog2-web-interface/src/index.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 37 }, { - "blob_sha": "0614d93c532f7e5244bf315246a607ad4773debe", + "blob_sha": "31dcb14a8821a667a7cc77b207a452e668e87893", "commits": [], - "end_line": 22, + "end_line": 26, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/system/stats/ClusterStatsService.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/system" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/initializers", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/system->M:graylog2-server/src/main/java/org/graylog2/initializers", - "kind": "uses", - "refs": [ - { - "blob_sha": "533858c026c3974bddd846e78211adc6053a7d1a", - "commits": [], - "end_line": 23, - "id": "E1", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/system/shutdown/GracefulShutdown.java", + "path": "graylog2-web-interface/src/index.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 26 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/system" + "src": "M:graylog2-web-interface/src/(root)" }, { "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/inputs", + "dst": "M:graylog2-web-interface/src/integrations", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/system->M:graylog2-server/src/main/java/org/graylog2/inputs", + "id": "M:graylog2-web-interface/src/(root)->M:graylog2-web-interface/src/integrations", "kind": "uses", "refs": [ { - "blob_sha": "0614d93c532f7e5244bf315246a607ad4773debe", + "blob_sha": "31dcb14a8821a667a7cc77b207a452e668e87893", "commits": [], - "end_line": 23, + "end_line": 31, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/system/stats/ClusterStatsService.java", + "path": "graylog2-web-interface/src/index.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 31 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/system" + "src": "M:graylog2-web-interface/src/(root)" }, { "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/notifications", + "dst": "M:graylog2-web-interface/src/logic", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/system->M:graylog2-server/src/main/java/org/graylog2/notifications", + "id": "M:graylog2-web-interface/src/(root)->M:graylog2-web-interface/src/logic", "kind": "uses", "refs": [ { - "blob_sha": "307c2f01be057ccd1c73a4173555c0fad281047b", + "blob_sha": "31dcb14a8821a667a7cc77b207a452e668e87893", "commits": [], - "end_line": 21, + "end_line": 35, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/system/urlallowlist/UrlAllowlistNotificationService.java", + "path": "graylog2-web-interface/src/index.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 35 }, { - "blob_sha": "307c2f01be057ccd1c73a4173555c0fad281047b", + "blob_sha": "31dcb14a8821a667a7cc77b207a452e668e87893", "commits": [], - "end_line": 22, + "end_line": 36, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/system/urlallowlist/UrlAllowlistNotificationService.java", + "path": "graylog2-web-interface/src/index.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 36 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/system" + "src": "M:graylog2-web-interface/src/(root)" }, { - "count": 24, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "count": 2, + "dst": "M:graylog2-web-interface/src/routing", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/system->M:graylog2-server/src/main/java/org/graylog2/plugin", + "id": "M:graylog2-web-interface/src/(root)->M:graylog2-web-interface/src/routing", "kind": "uses", "refs": [ { - "blob_sha": "c8ffa7365f8acf60412f676afb1f3889da22e35c", + "blob_sha": "31dcb14a8821a667a7cc77b207a452e668e87893", "commits": [], - "end_line": 19, + "end_line": 25, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/system/activities/SystemMessage.java", + "path": "graylog2-web-interface/src/index.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 25 }, { - "blob_sha": "e7350c5f42d8ee163636f189b5dd5bf24765cd1a", + "blob_sha": "8744f4a70ba4bbfd4caaf6f1b373b79faa1b5990", "commits": [], - "end_line": 20, + "end_line": 17, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/system/activities/SystemMessageActivityWriter.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 - }, - { - "blob_sha": "e7350c5f42d8ee163636f189b5dd5bf24765cd1a", - "commits": [], - "end_line": 21, - "id": "E3", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/system/activities/SystemMessageActivityWriter.java", + "path": "graylog2-web-interface/src/webpack-entry.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 17 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/system" + "src": "M:graylog2-web-interface/src/(root)" }, { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", + "count": 1, + "dst": "M:graylog2-web-interface/src/theme", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/system->M:graylog2-server/src/main/java/org/graylog2/rest", + "id": "M:graylog2-web-interface/src/(root)->M:graylog2-web-interface/src/theme", "kind": "uses", "refs": [ { - "blob_sha": "a41f3c5bf4fef569ed52d1fdcd110051ebbae232", + "blob_sha": "31dcb14a8821a667a7cc77b207a452e668e87893", "commits": [], - "end_line": 30, + "end_line": 55, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/system/processing/control/ClusterProcessingControl.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 - }, - { - "blob_sha": "266a17467885cd173b9dcd891f10c893ecef661e", - "commits": [], - "end_line": 24, - "id": "E2", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/system/processing/control/ClusterProcessingControlFactory.java", + "path": "graylog2-web-interface/src/index.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 55 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/system" + "src": "M:graylog2-web-interface/src/(root)" }, { - "count": 15, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "count": 1, + "dst": "M:graylog2-web-interface/src/threatintel", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/system->M:graylog2-server/src/main/java/org/graylog2/shared", + "id": "M:graylog2-web-interface/src/(root)->M:graylog2-web-interface/src/threatintel", "kind": "uses", "refs": [ { - "blob_sha": "e7350c5f42d8ee163636f189b5dd5bf24765cd1a", + "blob_sha": "31dcb14a8821a667a7cc77b207a452e668e87893", "commits": [], - "end_line": 23, + "end_line": 29, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/system/activities/SystemMessageActivityWriter.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 - }, - { - "blob_sha": "e7350c5f42d8ee163636f189b5dd5bf24765cd1a", - "commits": [], - "end_line": 24, - "id": "E2", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/system/activities/SystemMessageActivityWriter.java", + "path": "graylog2-web-interface/src/index.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 - }, + "start_line": 29 + } + ], + "src": "M:graylog2-web-interface/src/(root)" + }, + { + "count": 1, + "dst": "M:graylog2-web-interface/src/views", + "how": "import-path", + "id": "M:graylog2-web-interface/src/(root)->M:graylog2-web-interface/src/views", + "kind": "uses", + "refs": [ { - "blob_sha": "b4146e41cd16a1887d23845d3dd0790c7244ef6c", + "blob_sha": "31dcb14a8821a667a7cc77b207a452e668e87893", "commits": [], - "end_line": 32, - "id": "E3", + "end_line": 28, + "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/system/activities/SystemMessageImpl.java", + "path": "graylog2-web-interface/src/index.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 32 + "start_line": 28 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/system" + "src": "M:graylog2-web-interface/src/(root)" }, { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/streams", + "count": 8, + "dst": "M:graylog2-web-interface/src/components", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/system->M:graylog2-server/src/main/java/org/graylog2/streams", + "id": "M:graylog2-web-interface/src/@types->M:graylog2-web-interface/src/components", "kind": "uses", "refs": [ { - "blob_sha": "0614d93c532f7e5244bf315246a607ad4773debe", + "blob_sha": "d789b55a5abc3565d6588aff671dc56e162176d8", "commits": [], - "end_line": 25, + "end_line": 29, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/system/stats/ClusterStatsService.java", + "path": "graylog2-web-interface/src/@types/graylog-web-plugin/index.d.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 29 }, { - "blob_sha": "0614d93c532f7e5244bf315246a607ad4773debe", + "blob_sha": "d789b55a5abc3565d6588aff671dc56e162176d8", "commits": [], - "end_line": 26, + "end_line": 30, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/system/stats/ClusterStatsService.java", + "path": "graylog2-web-interface/src/@types/graylog-web-plugin/index.d.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 30 }, { - "blob_sha": "0614d93c532f7e5244bf315246a607ad4773debe", + "blob_sha": "d789b55a5abc3565d6588aff671dc56e162176d8", "commits": [], - "end_line": 27, + "end_line": 26, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/system/stats/ClusterStatsService.java", + "path": "graylog2-web-interface/src/@types/graylog-web-plugin/index.d.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/system" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog/events", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/telemetry->M:graylog2-server/src/main/java/org/graylog/events", - "kind": "uses", - "refs": [ + "start_line": 26 + }, { - "blob_sha": "ae0b2a83faaa7383f7ecd06222ad7faea5ebcbe6", + "blob_sha": "d789b55a5abc3565d6588aff671dc56e162176d8", "commits": [], - "end_line": 20, - "id": "E1", + "end_line": 28, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/telemetry/suppliers/EventDefinitionsMetricsSupplier.java", + "path": "graylog2-web-interface/src/@types/graylog-web-plugin/index.d.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 28 }, { - "blob_sha": "43a0baae9fa5a371cc0189cba1868a5c8eacf5a6", + "blob_sha": "d789b55a5abc3565d6588aff671dc56e162176d8", "commits": [], - "end_line": 20, - "id": "E2", + "end_line": 21, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/telemetry/suppliers/EventNotificationsMetricsSupplier.java", + "path": "graylog2-web-interface/src/@types/graylog-web-plugin/index.d.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/telemetry" - }, - { - "count": 7, - "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/telemetry->M:graylog2-server/src/main/java/org/graylog/plugins", - "kind": "uses", - "refs": [ + "start_line": 21 + }, { - "blob_sha": "2b0d20342828f0092410beca2dc477416929020b", + "blob_sha": "d789b55a5abc3565d6588aff671dc56e162176d8", "commits": [], - "end_line": 21, - "id": "E1", + "end_line": 20, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/telemetry/pipelines/PipelineActivityPeriodical.java", + "path": "graylog2-web-interface/src/@types/graylog-web-plugin/index.d.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 20 }, { - "blob_sha": "b8ad702c3c7b68713dc0002501ce743cb8ee4c71", + "blob_sha": "d789b55a5abc3565d6588aff671dc56e162176d8", "commits": [], - "end_line": 25, - "id": "E2", + "end_line": 31, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/telemetry/pipelines/UserPipelines.java", + "path": "graylog2-web-interface/src/@types/graylog-web-plugin/index.d.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 31 }, { - "blob_sha": "b8ad702c3c7b68713dc0002501ce743cb8ee4c71", + "blob_sha": "d789b55a5abc3565d6588aff671dc56e162176d8", "commits": [], - "end_line": 26, - "id": "E3", + "end_line": 24, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/telemetry/pipelines/UserPipelines.java", + "path": "graylog2-web-interface/src/@types/graylog-web-plugin/index.d.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 24 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/telemetry" + "src": "M:graylog2-web-interface/src/@types" }, { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/audit", + "count": 2, + "dst": "M:graylog2-web-interface/src/contexts", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/telemetry->M:graylog2-server/src/main/java/org/graylog2/audit", + "id": "M:graylog2-web-interface/src/@types->M:graylog2-web-interface/src/contexts", "kind": "uses", "refs": [ { - "blob_sha": "6b9a6bf587c4cd282f287d293f375cf636d49f4a", + "blob_sha": "d789b55a5abc3565d6588aff671dc56e162176d8", "commits": [], - "end_line": 36, + "end_line": 34, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/telemetry/rest/TelemetryResource.java", + "path": "graylog2-web-interface/src/@types/graylog-web-plugin/index.d.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 36 + "start_line": 34 }, { - "blob_sha": "6b9a6bf587c4cd282f287d293f375cf636d49f4a", + "blob_sha": "d789b55a5abc3565d6588aff671dc56e162176d8", "commits": [], - "end_line": 37, + "end_line": 33, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/telemetry/rest/TelemetryResource.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 - }, - { - "blob_sha": "6b9a6bf587c4cd282f287d293f375cf636d49f4a", - "commits": [], - "end_line": 45, - "id": "E3", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/telemetry/rest/TelemetryResource.java", + "path": "graylog2-web-interface/src/@types/graylog-web-plugin/index.d.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 45 + "start_line": 33 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/telemetry" + "src": "M:graylog2-web-interface/src/@types" }, { "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/cluster", + "dst": "M:graylog2-web-interface/src/logic", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/telemetry->M:graylog2-server/src/main/java/org/graylog2/cluster", + "id": "M:graylog2-web-interface/src/@types->M:graylog2-web-interface/src/logic", "kind": "uses", "refs": [ { - "blob_sha": "292c823f077923a6a3d1c624fe055ab0bbb73f93", + "blob_sha": "d789b55a5abc3565d6588aff671dc56e162176d8", "commits": [], - "end_line": 20, + "end_line": 19, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/telemetry/cluster/TelemetryClusterService.java", + "path": "graylog2-web-interface/src/@types/graylog-web-plugin/index.d.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 19 }, { - "blob_sha": "292c823f077923a6a3d1c624fe055ab0bbb73f93", + "blob_sha": "d789b55a5abc3565d6588aff671dc56e162176d8", "commits": [], - "end_line": 21, + "end_line": 27, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/telemetry/cluster/TelemetryClusterService.java", + "path": "graylog2-web-interface/src/@types/graylog-web-plugin/index.d.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 27 }, { - "blob_sha": "f28a936b9d7096256436847be9248f10a02ffa50", + "blob_sha": "d789b55a5abc3565d6588aff671dc56e162176d8", "commits": [], - "end_line": 25, + "end_line": 32, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/telemetry/rest/TelemetryService.java", + "path": "graylog2-web-interface/src/@types/graylog-web-plugin/index.d.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "d789b55a5abc3565d6588aff671dc56e162176d8", + "commits": [], + "end_line": 25, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/@types/graylog-web-plugin/index.d.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 25 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/telemetry" + "src": "M:graylog2-web-interface/src/@types" }, { - "count": 8, - "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", + "count": 1, + "dst": "M:graylog2-web-interface/src/routing", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/telemetry->M:graylog2-server/src/main/java/org/graylog2/configuration", + "id": "M:graylog2-web-interface/src/@types->M:graylog2-web-interface/src/routing", "kind": "uses", "refs": [ { - "blob_sha": "0ac28b7dd1e9efc046fee289ce57f7b769a9e5c9", + "blob_sha": "d789b55a5abc3565d6588aff671dc56e162176d8", "commits": [], "end_line": 23, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/telemetry/client/TelemetryClient.java", + "path": "graylog2-web-interface/src/@types/graylog-web-plugin/index.d.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 23 - }, + } + ], + "src": "M:graylog2-web-interface/src/@types" + }, + { + "count": 2, + "dst": "M:graylog2-web-interface/src/stores", + "how": "import-path", + "id": "M:graylog2-web-interface/src/@types->M:graylog2-web-interface/src/stores", + "kind": "uses", + "refs": [ { - "blob_sha": "33cafbb8398bbb06b8a2c05fc006f08cf0154007", + "blob_sha": "d789b55a5abc3565d6588aff671dc56e162176d8", "commits": [], - "end_line": 32, - "id": "E2", + "end_line": 22, + "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/telemetry/cluster/TelemetryClusterInfoPeriodical.java", + "path": "graylog2-web-interface/src/@types/graylog-web-plugin/index.d.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 32 + "start_line": 22 }, { - "blob_sha": "42038e5aa38da6a6d4ae4b3e02ddcad1c8bea13f", + "blob_sha": "f6f90f05c96fa777678fd6d595ac9995233da97a", "commits": [], - "end_line": 37, - "id": "E3", + "end_line": 18, + "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/telemetry/cluster/db/DBTelemetryClusterInfo.java", + "path": "graylog2-web-interface/src/@types/reflux/index.d.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 + "start_line": 18 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/telemetry" + "src": "M:graylog2-web-interface/src/@types" }, { - "count": 15, - "dst": "M:graylog2-server/src/main/java/org/graylog2/database", + "count": 3, + "dst": "M:graylog2-web-interface/src/theme", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/telemetry->M:graylog2-server/src/main/java/org/graylog2/database", + "id": "M:graylog2-web-interface/src/@types->M:graylog2-web-interface/src/theme", "kind": "uses", "refs": [ { - "blob_sha": "42038e5aa38da6a6d4ae4b3e02ddcad1c8bea13f", + "blob_sha": "64b8c63be0827da43134789998e63df4cc50addf", "commits": [], - "end_line": 25, + "end_line": 17, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/telemetry/cluster/db/DBTelemetryClusterInfo.java", + "path": "graylog2-web-interface/src/@types/mantine/index.d.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 17 }, { - "blob_sha": "42038e5aa38da6a6d4ae4b3e02ddcad1c8bea13f", + "blob_sha": "62481fa13309d329dbafccce4e41b4069686f4b3", "commits": [], - "end_line": 26, + "end_line": 18, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/telemetry/cluster/db/DBTelemetryClusterInfo.java", + "path": "graylog2-web-interface/src/@types/styled-components/index.d.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 18 }, { - "blob_sha": "42038e5aa38da6a6d4ae4b3e02ddcad1c8bea13f", + "blob_sha": "62481fa13309d329dbafccce4e41b4069686f4b3", "commits": [], - "end_line": 38, + "end_line": 19, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/telemetry/cluster/db/DBTelemetryClusterInfo.java", + "path": "graylog2-web-interface/src/@types/styled-components/index.d.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 38 + "start_line": 19 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/telemetry" + "src": "M:graylog2-web-interface/src/@types" }, { "count": 5, - "dst": "M:graylog2-server/src/main/java/org/graylog2/indexer", + "dst": "M:graylog2-web-interface/src/logic", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/telemetry->M:graylog2-server/src/main/java/org/graylog2/indexer", + "id": "M:graylog2-web-interface/src/actions->M:graylog2-web-interface/src/logic", "kind": "uses", "refs": [ { - "blob_sha": "f28a936b9d7096256436847be9248f10a02ffa50", + "blob_sha": "af86f12c9e475931d89bf6a5253e351ff54daa96", "commits": [], - "end_line": 28, + "end_line": 20, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/telemetry/rest/TelemetryService.java", + "path": "graylog2-web-interface/src/actions/errors/ErrorsActions.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 + "start_line": 20 }, { - "blob_sha": "fe76b1df148b999ba05c5577d08af0b89c204625", + "blob_sha": "af86f12c9e475931d89bf6a5253e351ff54daa96", "commits": [], - "end_line": 20, + "end_line": 19, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/telemetry/suppliers/IndexingFailuresMetricsSupplier.java", + "path": "graylog2-web-interface/src/actions/errors/ErrorsActions.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 19 }, { - "blob_sha": "ee19e8291910eb25f81c98ef610338ca796b0f94", + "blob_sha": "85c5943e4992b2ad52ffbd95bf70998833811d48", "commits": [], - "end_line": 21, + "end_line": 20, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/telemetry/suppliers/OutdatedIndicesMetricsSupplier.java", + "path": "graylog2-web-interface/src/actions/permissions/EntityShareActions.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/telemetry" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/inputs", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/telemetry->M:graylog2-server/src/main/java/org/graylog2/inputs", - "kind": "uses", - "refs": [ + "start_line": 20 + }, { - "blob_sha": "fa93af7d5703674a073bef14eda7612e61de2c72", + "blob_sha": "85c5943e4992b2ad52ffbd95bf70998833811d48", "commits": [], - "end_line": 20, - "id": "E1", + "end_line": 17, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/telemetry/suppliers/InputsMetricsSupplier.java", + "path": "graylog2-web-interface/src/actions/permissions/EntityShareActions.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 17 + }, + { + "blob_sha": "85c5943e4992b2ad52ffbd95bf70998833811d48", + "commits": [], + "end_line": 18, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/actions/permissions/EntityShareActions.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 18 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/telemetry" + "src": "M:graylog2-web-interface/src/actions" }, { "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/lookup", + "dst": "M:graylog2-web-interface/src/stores", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/telemetry->M:graylog2-server/src/main/java/org/graylog2/lookup", + "id": "M:graylog2-web-interface/src/actions->M:graylog2-web-interface/src/stores", "kind": "uses", "refs": [ { - "blob_sha": "0118f2f39abf91589239c555df5e3bdc05b53d27", + "blob_sha": "85c5943e4992b2ad52ffbd95bf70998833811d48", "commits": [], - "end_line": 20, + "end_line": 19, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/telemetry/suppliers/LookupTablesSupplier.java", + "path": "graylog2-web-interface/src/actions/permissions/EntityShareActions.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 19 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/telemetry" + "src": "M:graylog2-web-interface/src/actions" }, { - "count": 12, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "count": 2, + "dst": "M:graylog2-web-interface/src/actions", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/telemetry->M:graylog2-server/src/main/java/org/graylog2/plugin", + "id": "M:graylog2-web-interface/src/api->M:graylog2-web-interface/src/actions", "kind": "uses", "refs": [ { - "blob_sha": "ba1c571380197bc14e0143bd3caf7a54622e86f8", + "blob_sha": "325b23c8a93697f0f540fa65caaa869bd2bc3240", "commits": [], - "end_line": 20, + "end_line": 19, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/telemetry/TelemetryModule.java", + "path": "graylog2-web-interface/src/api/__mocks__/entity-share.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 19 }, { - "blob_sha": "33cafbb8398bbb06b8a2c05fc006f08cf0154007", + "blob_sha": "ef80313484ab21e9f56c3389c88a4947369bf2df", "commits": [], - "end_line": 20, + "end_line": 29, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/telemetry/cluster/TelemetryClusterInfoPeriodical.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 - }, - { - "blob_sha": "292c823f077923a6a3d1c624fe055ab0bbb73f93", - "commits": [], - "end_line": 22, - "id": "E3", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/telemetry/cluster/TelemetryClusterService.java", + "path": "graylog2-web-interface/src/api/entity-share.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 29 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/telemetry" + "src": "M:graylog2-web-interface/src/api" }, { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", + "count": 13, + "dst": "M:graylog2-web-interface/src/logic", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/telemetry->M:graylog2-server/src/main/java/org/graylog2/rest", + "id": "M:graylog2-web-interface/src/api->M:graylog2-web-interface/src/logic", "kind": "uses", "refs": [ { - "blob_sha": "7d0debbe135eb9e74a6911c7a5b0812307337cc0", + "blob_sha": "ef80313484ab21e9f56c3389c88a4947369bf2df", "commits": [], "end_line": 23, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/telemetry/suppliers/ShardsMetricsSupplier.java", + "path": "graylog2-web-interface/src/api/entity-share.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 23 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/telemetry" - }, - { - "count": 10, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/telemetry->M:graylog2-server/src/main/java/org/graylog2/shared", - "kind": "uses", - "refs": [ - { - "blob_sha": "292c823f077923a6a3d1c624fe055ab0bbb73f93", - "commits": [], - "end_line": 26, - "id": "E1", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/telemetry/cluster/TelemetryClusterService.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 }, { - "blob_sha": "292c823f077923a6a3d1c624fe055ab0bbb73f93", + "blob_sha": "ef80313484ab21e9f56c3389c88a4947369bf2df", "commits": [], - "end_line": 27, + "end_line": 24, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/telemetry/cluster/TelemetryClusterService.java", + "path": "graylog2-web-interface/src/api/entity-share.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 24 }, { - "blob_sha": "292c823f077923a6a3d1c624fe055ab0bbb73f93", + "blob_sha": "ef80313484ab21e9f56c3389c88a4947369bf2df", "commits": [], - "end_line": 28, + "end_line": 20, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/telemetry/cluster/TelemetryClusterService.java", + "path": "graylog2-web-interface/src/api/entity-share.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/telemetry" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/storage", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/telemetry->M:graylog2-server/src/main/java/org/graylog2/storage", - "kind": "uses", - "refs": [ + "start_line": 20 + }, { - "blob_sha": "f28a936b9d7096256436847be9248f10a02ffa50", + "blob_sha": "ef80313484ab21e9f56c3389c88a4947369bf2df", "commits": [], - "end_line": 32, - "id": "E1", + "end_line": 31, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/telemetry/rest/TelemetryService.java", + "path": "graylog2-web-interface/src/api/entity-share.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 32 + "start_line": 31 }, { - "blob_sha": "f28a936b9d7096256436847be9248f10a02ffa50", + "blob_sha": "ef80313484ab21e9f56c3389c88a4947369bf2df", "commits": [], - "end_line": 33, - "id": "E2", + "end_line": 22, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/telemetry/rest/TelemetryService.java", + "path": "graylog2-web-interface/src/api/entity-share.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 33 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/telemetry" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/streams", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/telemetry->M:graylog2-server/src/main/java/org/graylog2/streams", - "kind": "uses", - "refs": [ + "start_line": 22 + }, { - "blob_sha": "8661ad57ae33a48431226ccd6f2b2ec61928da40", + "blob_sha": "dfdf8154190e17f747d168f208815c4628636801", "commits": [], - "end_line": 21, - "id": "E1", + "end_line": 22, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/telemetry/suppliers/OutputsMetricsSupplier.java", + "path": "graylog2-web-interface/src/api/preferences.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 22 }, { - "blob_sha": "701e5e742b984c36eb90ec250f3005646fd9217d", + "blob_sha": "c47bcd287e03080c1c4c1c002f27ed09a82d5127", "commits": [], "end_line": 20, - "id": "E2", + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/telemetry/suppliers/StreamsMetricsSupplier.java", + "path": "graylog2-web-interface/src/api/startpage.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 20 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/telemetry" - }, - { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/system", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/telemetry->M:graylog2-server/src/main/java/org/graylog2/system", - "kind": "uses", - "refs": [ - { - "blob_sha": "9206283180a5db25bdf958cf958c00b26e0ad83b", - "commits": [], - "end_line": 24, - "id": "E1", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/telemetry/rest/TelemetryResponseFactory.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 }, { - "blob_sha": "9206283180a5db25bdf958cf958c00b26e0ad83b", + "blob_sha": "c47bcd287e03080c1c4c1c002f27ed09a82d5127", "commits": [], - "end_line": 25, - "id": "E2", + "end_line": 21, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/telemetry/rest/TelemetryResponseFactory.java", + "path": "graylog2-web-interface/src/api/startpage.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 21 }, { - "blob_sha": "f28a936b9d7096256436847be9248f10a02ffa50", + "blob_sha": "c47bcd287e03080c1c4c1c002f27ed09a82d5127", "commits": [], - "end_line": 34, - "id": "E3", + "end_line": 22, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/telemetry/rest/TelemetryService.java", + "path": "graylog2-web-interface/src/api/startpage.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 34 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/telemetry" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/users", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/telemetry->M:graylog2-server/src/main/java/org/graylog2/users", - "kind": "uses", - "refs": [ + "start_line": 22 + }, { - "blob_sha": "f28a936b9d7096256436847be9248f10a02ffa50", + "blob_sha": "1165836fbb70905ed354fdf478cd94b0867af939", "commits": [], - "end_line": 40, - "id": "E1", + "end_line": 19, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/telemetry/rest/TelemetryService.java", + "path": "graylog2-web-interface/src/api/streams.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 40 + "start_line": 19 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/telemetry" + "src": "M:graylog2-web-interface/src/api" }, { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog/security", + "count": 4, + "dst": "M:graylog2-web-interface/src/routing", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/tokenusage->M:graylog2-server/src/main/java/org/graylog/security", + "id": "M:graylog2-web-interface/src/api->M:graylog2-web-interface/src/routing", "kind": "uses", "refs": [ { - "blob_sha": "34b7e649f973b8f5c0a38ca111294236349fb271", + "blob_sha": "ef80313484ab21e9f56c3389c88a4947369bf2df", "commits": [], "end_line": 21, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/tokenusage/TokenUsageServiceImpl.java", + "path": "graylog2-web-interface/src/api/entity-share.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 21 }, { - "blob_sha": "34b7e649f973b8f5c0a38ca111294236349fb271", + "blob_sha": "c47bcd287e03080c1c4c1c002f27ed09a82d5127", "commits": [], - "end_line": 22, + "end_line": 17, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/tokenusage/TokenUsageServiceImpl.java", + "path": "graylog2-web-interface/src/api/startpage.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/tokenusage" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/database", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/tokenusage->M:graylog2-server/src/main/java/org/graylog2/database", - "kind": "uses", - "refs": [ + "start_line": 17 + }, { - "blob_sha": "34b7e649f973b8f5c0a38ca111294236349fb271", + "blob_sha": "1165836fbb70905ed354fdf478cd94b0867af939", "commits": [], - "end_line": 23, - "id": "E1", + "end_line": 20, + "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/tokenusage/TokenUsageServiceImpl.java", + "path": "graylog2-web-interface/src/api/streams.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/tokenusage" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/tokenusage->M:graylog2-server/src/main/java/org/graylog2/plugin", - "kind": "uses", - "refs": [ + "start_line": 20 + }, { - "blob_sha": "34b7e649f973b8f5c0a38ca111294236349fb271", + "blob_sha": "2f84a5fe5ce25f6d7796ea8e066bacd42561fdcc", "commits": [], - "end_line": 24, - "id": "E1", + "end_line": 30, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/tokenusage/TokenUsageServiceImpl.java", + "path": "graylog2-web-interface/src/api/tools.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 30 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/tokenusage" + "src": "M:graylog2-web-interface/src/api" }, { "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", + "dst": "M:graylog2-web-interface/src/stores", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/tokenusage->M:graylog2-server/src/main/java/org/graylog2/rest", + "id": "M:graylog2-web-interface/src/api->M:graylog2-web-interface/src/stores", "kind": "uses", "refs": [ { - "blob_sha": "34b7e649f973b8f5c0a38ca111294236349fb271", + "blob_sha": "ef80313484ab21e9f56c3389c88a4947369bf2df", "commits": [], - "end_line": 25, + "end_line": 33, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/tokenusage/TokenUsageServiceImpl.java", + "path": "graylog2-web-interface/src/api/entity-share.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 33 }, { - "blob_sha": "34b7e649f973b8f5c0a38ca111294236349fb271", + "blob_sha": "1165836fbb70905ed354fdf478cd94b0867af939", "commits": [], - "end_line": 26, + "end_line": 25, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/tokenusage/TokenUsageServiceImpl.java", + "path": "graylog2-web-interface/src/api/streams.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 25 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/tokenusage" + "src": "M:graylog2-web-interface/src/api" }, { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/search", + "count": 2, + "dst": "M:graylog2-web-interface/src/theme", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/tokenusage->M:graylog2-server/src/main/java/org/graylog2/search", + "id": "M:graylog2-web-interface/src/api->M:graylog2-web-interface/src/theme", "kind": "uses", "refs": [ { - "blob_sha": "34b7e649f973b8f5c0a38ca111294236349fb271", + "blob_sha": "dfdf8154190e17f747d168f208815c4628636801", "commits": [], - "end_line": 27, + "end_line": 20, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/tokenusage/TokenUsageServiceImpl.java", + "path": "graylog2-web-interface/src/api/preferences.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 20 + }, + { + "blob_sha": "dfdf8154190e17f747d168f208815c4628636801", + "commits": [], + "end_line": 19, + "id": "E2", + "kind": "lines", + "path": "graylog2-web-interface/src/api/preferences.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/tokenusage" + "src": "M:graylog2-web-interface/src/api" }, { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/security", + "count": 13, + "dst": "M:graylog2-web-interface/src/util", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/tokenusage->M:graylog2-server/src/main/java/org/graylog2/security", + "id": "M:graylog2-web-interface/src/api->M:graylog2-web-interface/src/util", "kind": "uses", "refs": [ { - "blob_sha": "34b7e649f973b8f5c0a38ca111294236349fb271", + "blob_sha": "c664a29db11706fb68c9637c1112187c7e169391", "commits": [], - "end_line": 28, + "end_line": 21, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/tokenusage/TokenUsageServiceImpl.java", + "path": "graylog2-web-interface/src/api/configuration-variables.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 + "start_line": 21 }, { - "blob_sha": "34b7e649f973b8f5c0a38ca111294236349fb271", + "blob_sha": "ef80313484ab21e9f56c3389c88a4947369bf2df", "commits": [], - "end_line": 29, + "end_line": 32, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/tokenusage/TokenUsageServiceImpl.java", + "path": "graylog2-web-interface/src/api/entity-share.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/tokenusage" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/tokenusage->M:graylog2-server/src/main/java/org/graylog2/shared", - "kind": "uses", - "refs": [ + "start_line": 32 + }, { - "blob_sha": "34b7e649f973b8f5c0a38ca111294236349fb271", + "blob_sha": "ef80313484ab21e9f56c3389c88a4947369bf2df", "commits": [], "end_line": 30, - "id": "E1", + "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/tokenusage/TokenUsageServiceImpl.java", + "path": "graylog2-web-interface/src/api/entity-share.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 30 }, { - "blob_sha": "34b7e649f973b8f5c0a38ca111294236349fb271", + "blob_sha": "dfdf8154190e17f747d168f208815c4628636801", "commits": [], - "end_line": 31, - "id": "E2", + "end_line": 21, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/tokenusage/TokenUsageServiceImpl.java", + "path": "graylog2-web-interface/src/api/preferences.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 31 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/tokenusage" - }, - { - "count": 7, - "dst": "M:graylog2-server/src/main/java/org/graylog/grn", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/users->M:graylog2-server/src/main/java/org/graylog/grn", - "kind": "uses", - "refs": [ + "start_line": 21 + }, { - "blob_sha": "49106127f47365bd6b758993b08df3d2b69cb2c9", + "blob_sha": "c47bcd287e03080c1c4c1c002f27ed09a82d5127", "commits": [], - "end_line": 22, - "id": "E1", + "end_line": 19, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/users/GrantsCleanupListener.java", + "path": "graylog2-web-interface/src/api/startpage.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 19 }, { - "blob_sha": "49106127f47365bd6b758993b08df3d2b69cb2c9", + "blob_sha": "c47bcd287e03080c1c4c1c002f27ed09a82d5127", + "commits": [], + "end_line": 18, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/api/startpage.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 18 + }, + { + "blob_sha": "1165836fbb70905ed354fdf478cd94b0867af939", "commits": [], "end_line": 23, - "id": "E2", + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/users/GrantsCleanupListener.java", + "path": "graylog2-web-interface/src/api/streams.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 23 }, { - "blob_sha": "49106127f47365bd6b758993b08df3d2b69cb2c9", + "blob_sha": "1165836fbb70905ed354fdf478cd94b0867af939", "commits": [], - "end_line": 24, - "id": "E3", + "end_line": 21, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/users/GrantsCleanupListener.java", + "path": "graylog2-web-interface/src/api/streams.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 21 + }, + { + "blob_sha": "1165836fbb70905ed354fdf478cd94b0867af939", + "commits": [], + "end_line": 22, + "id": "E9", + "kind": "lines", + "path": "graylog2-web-interface/src/api/streams.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "bdcf329fd7913810376ec87af2852b5af4a73d06", + "commits": [], + "end_line": 19, + "id": "E10", + "kind": "lines", + "path": "graylog2-web-interface/src/api/system-load-balancer.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/users" + "src": "M:graylog2-web-interface/src/api" }, { "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog/plugins", + "dst": "M:graylog2-web-interface/packages/graylog-web-plugin", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/users->M:graylog2-server/src/main/java/org/graylog/plugins", + "id": "M:graylog2-web-interface/src/aws->M:graylog2-web-interface/packages/graylog-web-plugin", "kind": "uses", "refs": [ { - "blob_sha": "db51fbed834b1783cdc25d35bdf8529b2e3023b2", + "blob_sha": "16d2ce2fa9ca37409da6feca3efe813fa56ce68f", "commits": [], - "end_line": 32, + "end_line": 18, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/users/RoleServiceImpl.java", + "path": "graylog2-web-interface/src/aws/bindings.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 32 + "start_line": 18 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/users" + "src": "M:graylog2-web-interface/src/aws" }, { - "count": 9, - "dst": "M:graylog2-server/src/main/java/org/graylog/security", + "count": 1, + "dst": "M:graylog2-web-interface/src/brand-customization", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/users->M:graylog2-server/src/main/java/org/graylog/security", + "id": "M:graylog2-web-interface/src/aws->M:graylog2-web-interface/src/brand-customization", "kind": "uses", "refs": [ { - "blob_sha": "49106127f47365bd6b758993b08df3d2b69cb2c9", + "blob_sha": "a72f651eea12df2d446c990b722df1002ea729c7", "commits": [], - "end_line": 25, + "end_line": 26, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/users/GrantsCleanupListener.java", + "path": "graylog2-web-interface/src/aws/components/AWSPluginConfiguration.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 - }, + "start_line": 26 + } + ], + "src": "M:graylog2-web-interface/src/aws" + }, + { + "count": 2, + "dst": "M:graylog2-web-interface/src/components", + "how": "import-path", + "id": "M:graylog2-web-interface/src/aws->M:graylog2-web-interface/src/components", + "kind": "uses", + "refs": [ { - "blob_sha": "49106127f47365bd6b758993b08df3d2b69cb2c9", + "blob_sha": "a72f651eea12df2d446c990b722df1002ea729c7", "commits": [], - "end_line": 26, - "id": "E2", + "end_line": 22, + "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/users/GrantsCleanupListener.java", + "path": "graylog2-web-interface/src/aws/components/AWSPluginConfiguration.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 22 }, { - "blob_sha": "3322372313d805ecc328df8a8a7158c5b814511d", + "blob_sha": "a72f651eea12df2d446c990b722df1002ea729c7", "commits": [], "end_line": 23, - "id": "E3", + "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/users/PrivilegeEscalationGuard.java", + "path": "graylog2-web-interface/src/aws/components/AWSPluginConfiguration.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 23 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/users" + "src": "M:graylog2-web-interface/src/aws" + }, + { + "count": 1, + "dst": "M:graylog2-web-interface/src/stores", + "how": "import-path", + "id": "M:graylog2-web-interface/src/aws->M:graylog2-web-interface/src/stores", + "kind": "uses", + "refs": [ + { + "blob_sha": "a72f651eea12df2d446c990b722df1002ea729c7", + "commits": [], + "end_line": 24, + "id": "E1", + "kind": "lines", + "path": "graylog2-web-interface/src/aws/components/AWSPluginConfiguration.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + } + ], + "src": "M:graylog2-web-interface/src/aws" }, { "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", + "dst": "M:graylog2-web-interface/src/util", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/users->M:graylog2-server/src/main/java/org/graylog2/(root)", + "id": "M:graylog2-web-interface/src/aws->M:graylog2-web-interface/src/util", "kind": "uses", "refs": [ { - "blob_sha": "b0eecf690a9ec81f91170876eeee5620a55f48bd", + "blob_sha": "16d2ce2fa9ca37409da6feca3efe813fa56ce68f", "commits": [], - "end_line": 33, + "end_line": 21, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/users/UserImpl.java", + "path": "graylog2-web-interface/src/aws/bindings.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 33 + "start_line": 21 }, { - "blob_sha": "2acd872921f310e558075d86129724f1a0653c1b", + "blob_sha": "a72f651eea12df2d446c990b722df1002ea729c7", "commits": [], "end_line": 25, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/users/UserManagementServiceImpl.java", + "path": "graylog2-web-interface/src/aws/components/AWSPluginConfiguration.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 25 }, { - "blob_sha": "c17203604ea2608859c684bd906bbdce24015385", + "blob_sha": "a72f651eea12df2d446c990b722df1002ea729c7", "commits": [], - "end_line": 40, + "end_line": 29, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/users/UserServiceImpl.java", + "path": "graylog2-web-interface/src/aws/components/AWSPluginConfiguration.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 40 + "start_line": 29 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/users" + "src": "M:graylog2-web-interface/src/aws" }, { "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/dashboards", + "dst": "M:graylog2-web-interface/src/views", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/users->M:graylog2-server/src/main/java/org/graylog2/dashboards", + "id": "M:graylog2-web-interface/src/aws->M:graylog2-web-interface/src/views", "kind": "uses", "refs": [ { - "blob_sha": "aba6cd61b504a63d676bef6b1013f5fbc860f3e8", + "blob_sha": "16d2ce2fa9ca37409da6feca3efe813fa56ce68f", "commits": [], - "end_line": 22, + "end_line": 20, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/users/StartPageCleanupListener.java", + "path": "graylog2-web-interface/src/aws/bindings.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 20 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/users" + "src": "M:graylog2-web-interface/src/aws" }, { - "count": 23, - "dst": "M:graylog2-server/src/main/java/org/graylog2/database", + "count": 10, + "dst": "M:graylog2-web-interface/src/util", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/users->M:graylog2-server/src/main/java/org/graylog2/database", + "id": "M:graylog2-web-interface/src/brand-customization->M:graylog2-web-interface/src/util", "kind": "uses", "refs": [ { - "blob_sha": "06882715cfe37fffa7cee44e6eaed871257f5b69", + "blob_sha": "50dad08eff600532021550c9cc48756ec823f9cd", "commits": [], - "end_line": 24, + "end_line": 19, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/users/PaginatedUserService.java", + "path": "graylog2-web-interface/src/brand-customization/useCustomLogo.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 19 }, { - "blob_sha": "06882715cfe37fffa7cee44e6eaed871257f5b69", + "blob_sha": "6d17a7fb2be9623f1eddae9d8b948e11c6c8d3f4", "commits": [], - "end_line": 25, + "end_line": 17, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/users/PaginatedUserService.java", + "path": "graylog2-web-interface/src/brand-customization/useFeaturesCustomization.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 17 }, { - "blob_sha": "06882715cfe37fffa7cee44e6eaed871257f5b69", + "blob_sha": "cd92efe1e668084d0f2221de7a52e5a789e335ae", "commits": [], - "end_line": 26, + "end_line": 17, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/users/PaginatedUserService.java", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/users" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/events", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/users->M:graylog2-server/src/main/java/org/graylog2/events", - "kind": "uses", - "refs": [ - { - "blob_sha": "db51fbed834b1783cdc25d35bdf8529b2e3023b2", - "commits": [], - "end_line": 36, - "id": "E1", - "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/users/RoleServiceImpl.java", + "path": "graylog2-web-interface/src/brand-customization/useFooterCustomization.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 36 + "start_line": 17 }, { - "blob_sha": "aba6cd61b504a63d676bef6b1013f5fbc860f3e8", + "blob_sha": "1e75c1ebb62b926c245582cee20fd45c9357afb5", "commits": [], - "end_line": 21, - "id": "E2", + "end_line": 18, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/users/StartPageCleanupListener.java", + "path": "graylog2-web-interface/src/brand-customization/useNavigationCustomization.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/users" - }, - { - "count": 14, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/users->M:graylog2-server/src/main/java/org/graylog2/plugin", - "kind": "uses", - "refs": [ + "start_line": 18 + }, { - "blob_sha": "faa2b8d9d71914f271618ff72bd7bc72d6328385", + "blob_sha": "365e0786ebefca922701a9dee05bbd31267b5de0", "commits": [], - "end_line": 20, - "id": "E1", + "end_line": 18, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/users/RoleService.java", + "path": "graylog2-web-interface/src/brand-customization/useOnboardingCustomization.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 18 }, { - "blob_sha": "db51fbed834b1783cdc25d35bdf8529b2e3023b2", + "blob_sha": "6faeab04571fbaef63ae599d9d4df29dc79ae184", "commits": [], - "end_line": 37, - "id": "E2", + "end_line": 18, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/users/RoleServiceImpl.java", + "path": "graylog2-web-interface/src/brand-customization/useProductName.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 + "start_line": 18 }, { - "blob_sha": "aba6cd61b504a63d676bef6b1013f5fbc860f3e8", + "blob_sha": "3f250b922b55f7fa1cccb558422c826b7452a79d", "commits": [], - "end_line": 23, - "id": "E3", + "end_line": 19, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/users/StartPageCleanupListener.java", + "path": "graylog2-web-interface/src/brand-customization/useResourceCustomization.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/users" - }, - { - "count": 6, - "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/users->M:graylog2-server/src/main/java/org/graylog2/rest", - "kind": "uses", - "refs": [ + "start_line": 19 + }, { - "blob_sha": "06882715cfe37fffa7cee44e6eaed871257f5b69", + "blob_sha": "3f250b922b55f7fa1cccb558422c826b7452a79d", "commits": [], - "end_line": 29, - "id": "E1", + "end_line": 20, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/users/PaginatedUserService.java", + "path": "graylog2-web-interface/src/brand-customization/useResourceCustomization.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 + "start_line": 20 }, { - "blob_sha": "3322372313d805ecc328df8a8a7158c5b814511d", + "blob_sha": "3f250b922b55f7fa1cccb558422c826b7452a79d", "commits": [], - "end_line": 24, - "id": "E2", + "end_line": 21, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/users/PrivilegeEscalationGuard.java", + "path": "graylog2-web-interface/src/brand-customization/useResourceCustomization.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 21 }, { - "blob_sha": "aba6cd61b504a63d676bef6b1013f5fbc860f3e8", + "blob_sha": "22236e69fb06aeeccd20b6385b4b795b19b0f206", "commits": [], - "end_line": 24, - "id": "E3", + "end_line": 18, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/users/StartPageCleanupListener.java", + "path": "graylog2-web-interface/src/brand-customization/useWelcomeCustomization.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 18 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/users" + "src": "M:graylog2-web-interface/src/brand-customization" }, { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/search", + "count": 83, + "dst": "M:graylog2-web-interface/packages/graylog-web-plugin", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/users->M:graylog2-server/src/main/java/org/graylog2/search", + "id": "M:graylog2-web-interface/src/components->M:graylog2-web-interface/packages/graylog-web-plugin", "kind": "uses", "refs": [ { - "blob_sha": "06882715cfe37fffa7cee44e6eaed871257f5b69", + "blob_sha": "61e73e3508aec1a4dd48aa9648f08da33b02d68c", "commits": [], - "end_line": 30, + "end_line": 20, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/users/PaginatedUserService.java", + "path": "graylog2-web-interface/src/components/authentication/BackendCreate/ServiceSelect.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/users" - }, - { - "count": 6, - "dst": "M:graylog2-server/src/main/java/org/graylog2/security", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/users->M:graylog2-server/src/main/java/org/graylog2/security", - "kind": "uses", - "refs": [ + "start_line": 20 + }, { - "blob_sha": "b0eecf690a9ec81f91170876eeee5620a55f48bd", + "blob_sha": "db0084e9881cedd68e6e8a1a9eb2f501ae31a91c", "commits": [], - "end_line": 47, - "id": "E1", + "end_line": 17, + "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/users/UserImpl.java", + "path": "graylog2-web-interface/src/components/authentication/bindings.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 47 + "start_line": 17 }, { - "blob_sha": "2acd872921f310e558075d86129724f1a0653c1b", + "blob_sha": "c88e918003bd29a6390fcb232c501286a25adcce", "commits": [], - "end_line": 29, - "id": "E2", + "end_line": 17, + "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/users/UserManagementServiceImpl.java", + "path": "graylog2-web-interface/src/components/cluster-configuration/bindings.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 + "start_line": 17 }, { - "blob_sha": "2acd872921f310e558075d86129724f1a0653c1b", + "blob_sha": "17bfa2eef47437bf52244d31cac6fb071cd4e15f", "commits": [], - "end_line": 30, - "id": "E3", + "end_line": 20, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/users/UserManagementServiceImpl.java", + "path": "graylog2-web-interface/src/components/cluster/GraylogClusterOverview.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/users" - }, - { - "count": 18, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/users->M:graylog2-server/src/main/java/org/graylog2/shared", - "kind": "uses", - "refs": [ + "start_line": 20 + }, { - "blob_sha": "3322372313d805ecc328df8a8a7158c5b814511d", + "blob_sha": "445a1d2d25d7ce2ebba5fda4801a31113b4cea1d", "commits": [], - "end_line": 35, - "id": "E1", + "end_line": 17, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/users/PrivilegeEscalationGuard.java", + "path": "graylog2-web-interface/src/components/collectors/Permissions.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 35 + "start_line": 17 }, { - "blob_sha": "3322372313d805ecc328df8a8a7158c5b814511d", + "blob_sha": "79680d0d5cf4688f8c57677448de03528a237777", "commits": [], - "end_line": 36, - "id": "E2", + "end_line": 17, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/users/PrivilegeEscalationGuard.java", + "path": "graylog2-web-interface/src/components/collectors/bindings.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 36 + "start_line": 17 }, { - "blob_sha": "868d08df9437ddba4a818946eca97b6f785c8887", + "blob_sha": "618699f3c2924cb26465cf91695f73b56d088d23", "commits": [], - "end_line": 19, - "id": "E3", + "end_line": 18, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/users/RoleChangedEvent.java", + "path": "graylog2-web-interface/src/components/common/CreateButton.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/users" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/streams", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/users->M:graylog2-server/src/main/java/org/graylog2/streams", - "kind": "uses", - "refs": [ + "start_line": 18 + }, { - "blob_sha": "aba6cd61b504a63d676bef6b1013f5fbc860f3e8", + "blob_sha": "bcb54f2bc0fa0027127e70c7641d579634192abe", "commits": [], - "end_line": 28, - "id": "E1", + "end_line": 18, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/users/StartPageCleanupListener.java", + "path": "graylog2-web-interface/src/components/common/IfPermitted.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/users" - }, - { - "count": 2, - "dst": "M:graylog2-server/src/main/java/org/graylog2/database", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/utilities->M:graylog2-server/src/main/java/org/graylog2/database", - "kind": "uses", - "refs": [ + "start_line": 18 + }, { - "blob_sha": "644b8c00b8ee59d57058f0bfa1fcfe4c66119281", + "blob_sha": "db9b6bef5bbea46a9f5d24cb4da2402f441ca0ed", "commits": [], - "end_line": 20, - "id": "E1", + "end_line": 18, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/utilities/lucene/InMemorySearchEngine.java", + "path": "graylog2-web-interface/src/components/common/bindings.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 18 }, { - "blob_sha": "56676b3666bffa29fa27ee9515c36dcba175aa3a", + "blob_sha": "d8f6453b6584f762857be517677ba8567094a960", "commits": [], - "end_line": 37, - "id": "E2", + "end_line": 17, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/utilities/lucene/LuceneInMemorySearchEngine.java", + "path": "graylog2-web-interface/src/components/common/markdown/entityLinkResolvers.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 + "start_line": 17 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/utilities" + "src": "M:graylog2-web-interface/src/components" }, { - "count": 5, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "count": 19, + "dst": "M:graylog2-web-interface/src/actions", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/utilities->M:graylog2-server/src/main/java/org/graylog2/plugin", + "id": "M:graylog2-web-interface/src/components->M:graylog2-web-interface/src/actions", "kind": "uses", "refs": [ { - "blob_sha": "19e03de9073ba2128de30c5a5cdc49de16f1a02b", + "blob_sha": "7a9039914a614045e4fa2f94e9d5c42d275f9cdb", "commits": [], - "end_line": 21, + "end_line": 25, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/utilities/CIDRPatriciaTrie.java", + "path": "graylog2-web-interface/src/components/content-packs/ContentPackInstall.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 25 }, { - "blob_sha": "e6d09cc06673c9d7d7b0d0a44e989301ab8d0dfa", + "blob_sha": "381c9eaa3eaa09e0aede7b67f2465c2c20bfd7bd", "commits": [], - "end_line": 20, + "end_line": 23, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/utilities/ConfigurationMapConverter.java", + "path": "graylog2-web-interface/src/components/content-packs/ContentPackVersions.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 23 }, { - "blob_sha": "e6d09cc06673c9d7d7b0d0a44e989301ab8d0dfa", + "blob_sha": "c5382197ac94774b2ee2191766f7dab1ff3e1d6d", "commits": [], - "end_line": 21, + "end_line": 27, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/utilities/ConfigurationMapConverter.java", + "path": "graylog2-web-interface/src/components/content-packs/ContentPacksList.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/utilities" - }, - { - "count": 3, - "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/utilities->M:graylog2-server/src/main/java/org/graylog2/rest", - "kind": "uses", - "refs": [ + "start_line": 27 + }, { - "blob_sha": "644b8c00b8ee59d57058f0bfa1fcfe4c66119281", + "blob_sha": "4dc010f18408de2ca1e707dec5ff4858bc603399", "commits": [], - "end_line": 21, - "id": "E1", + "end_line": 28, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/utilities/lucene/InMemorySearchEngine.java", + "path": "graylog2-web-interface/src/components/content-packs/components/ContentPackListItem.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 28 }, { - "blob_sha": "56676b3666bffa29fa27ee9515c36dcba175aa3a", + "blob_sha": "de9c2577b513cc3a8d0e1322242a28dc42da4830", "commits": [], - "end_line": 38, - "id": "E2", + "end_line": 36, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/utilities/lucene/LuceneInMemorySearchEngine.java", + "path": "graylog2-web-interface/src/components/content-packs/components/ContentPackVersionItem.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 38 + "start_line": 36 }, { - "blob_sha": "56676b3666bffa29fa27ee9515c36dcba175aa3a", + "blob_sha": "07c5e51559317eb723b6935bf35c53fb9a1096c0", "commits": [], - "end_line": 39, - "id": "E3", + "end_line": 22, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/utilities/lucene/LuceneInMemorySearchEngine.java", + "path": "graylog2-web-interface/src/components/errors/ReportedErrorBoundary.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 39 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/utilities" - }, - { - "count": 8, - "dst": "M:graylog2-server/src/main/java/org/graylog2/search", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/utilities->M:graylog2-server/src/main/java/org/graylog2/search", - "kind": "uses", - "refs": [ + "start_line": 22 + }, { - "blob_sha": "644b8c00b8ee59d57058f0bfa1fcfe4c66119281", + "blob_sha": "ba9d95ef8979868fcaeede5d3a2b8f56cbf85934", + "commits": [], + "end_line": 21, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/components/errors/RuntimeErrorBoundary.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "bd099b4108b2ec1f1021c7fbb7181b1521e0045b", "commits": [], "end_line": 22, - "id": "E1", + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/utilities/lucene/InMemorySearchEngine.java", + "path": "graylog2-web-interface/src/components/event-definitions/event-definition-form/ShareDetails.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 22 }, { - "blob_sha": "56676b3666bffa29fa27ee9515c36dcba175aa3a", + "blob_sha": "11cacf9d7eb55a835183f4745c7e85bf2194272a", "commits": [], - "end_line": 40, - "id": "E2", + "end_line": 21, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/utilities/lucene/LuceneInMemorySearchEngine.java", + "path": "graylog2-web-interface/src/components/event-definitions/event-definition-form/ShareForm.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 40 + "start_line": 21 }, { - "blob_sha": "56676b3666bffa29fa27ee9515c36dcba175aa3a", + "blob_sha": "3d308c95eefcac44cf382b638d7eb69eadf59d13", "commits": [], - "end_line": 41, - "id": "E3", + "end_line": 20, + "id": "E10", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/utilities/lucene/LuceneInMemorySearchEngine.java", + "path": "graylog2-web-interface/src/components/event-definitions/event-definitions-types.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 41 + "start_line": 20 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/utilities" + "src": "M:graylog2-web-interface/src/components" }, { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", + "count": 25, + "dst": "M:graylog2-web-interface/src/api", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/utilities->M:graylog2-server/src/main/java/org/graylog2/shared", + "id": "M:graylog2-web-interface/src/components->M:graylog2-web-interface/src/api", "kind": "uses", "refs": [ { - "blob_sha": "2bd01727efa28bf767577869859b8183b7482ddd", + "blob_sha": "3abab1029ec6639e44396356418e02c9fe1a7646", "commits": [], - "end_line": 44, + "end_line": 24, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/utilities/IpSubnet.java", + "path": "graylog2-web-interface/src/components/cluster-configuration/graylog-nodes/GraylogNodeActions.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 44 + "start_line": 24 }, { - "blob_sha": "14da74ab7ebb9d2b1d56179963965ffbbca39457", + "blob_sha": "3abab1029ec6639e44396356418e02c9fe1a7646", "commits": [], - "end_line": 21, + "end_line": 25, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/utilities/LoggingServiceListener.java", + "path": "graylog2-web-interface/src/components/cluster-configuration/graylog-nodes/GraylogNodeActions.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 25 }, { - "blob_sha": "8c087e863b00e069ead0781be30a321189abc746", + "blob_sha": "4734f5dcf4b1db0577cefa2bff776af064320e57", "commits": [], - "end_line": 28, + "end_line": 24, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/utilities/ProxyConfig.java", + "path": "graylog2-web-interface/src/components/common/URLAllowListInput.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/utilities" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/(root)", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/web->M:graylog2-server/src/main/java/org/graylog2/(root)", - "kind": "uses", - "refs": [ + "start_line": 24 + }, { - "blob_sha": "29ea387d0d273dde23fa0bf918c5f8aa787868ed", + "blob_sha": "e168f3c4380e975d041628a4db57f5e37e72a8c2", + "commits": [], + "end_line": 27, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/components/configurations/DecoratorsConfig.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "1e94a3368948d75e70e76c8398f97a507a4d00ee", "commits": [], "end_line": 30, - "id": "E1", + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/web/resources/AppConfigResource.java", + "path": "graylog2-web-interface/src/components/configurations/UrlAllowListForm.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 30 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/web" - }, - { - "count": 7, - "dst": "M:graylog2-server/src/main/java/org/graylog2/configuration", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/web->M:graylog2-server/src/main/java/org/graylog2/configuration", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "571f95fde1ef5934fee6ab134469f5b62c89f663", + "blob_sha": "29af0b2f6ec3fd45d4c6f251839a07e74c8d42be", "commits": [], "end_line": 22, - "id": "E1", + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/web/DevelopmentIndexHtmlGenerator.java", + "path": "graylog2-web-interface/src/components/extractors/EditExtractor.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 22 }, { - "blob_sha": "3b1b2e39ab33a8f1977a2225a1bf2316e25c184d", + "blob_sha": "a3c811e3aac19e5864e8ff1b85469ed06eec393b", "commits": [], "end_line": 24, - "id": "E2", + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/web/ProductionIndexHtmlGenerator.java", + "path": "graylog2-web-interface/src/components/extractors/extractors_configuration/GrokExtractorConfiguration.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 24 }, { - "blob_sha": "29ea387d0d273dde23fa0bf918c5f8aa787868ed", + "blob_sha": "306d5fcadb6944f6fa2852f3d24619c4b7e8abdf", "commits": [], - "end_line": 31, - "id": "E3", + "end_line": 23, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/web/resources/AppConfigResource.java", + "path": "graylog2-web-interface/src/components/extractors/extractors_configuration/JSONExtractorConfiguration.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 31 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/web" - }, - { - "count": 1, - "dst": "M:graylog2-server/src/main/java/org/graylog2/featureflag", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/web->M:graylog2-server/src/main/java/org/graylog2/featureflag", - "kind": "uses", - "refs": [ + "start_line": 23 + }, { - "blob_sha": "29ea387d0d273dde23fa0bf918c5f8aa787868ed", + "blob_sha": "b979a126bc1e610f7f2f9d9dda971bdd67e1a50b", "commits": [], - "end_line": 34, - "id": "E1", + "end_line": 23, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/web/resources/AppConfigResource.java", + "path": "graylog2-web-interface/src/components/extractors/extractors_configuration/LookupTableExtractorConfiguration.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 34 + "start_line": 23 + }, + { + "blob_sha": "1d9e5925c9ae5b0b30cd9bbd8e760b39c2a27f0a", + "commits": [], + "end_line": 25, + "id": "E10", + "kind": "lines", + "path": "graylog2-web-interface/src/components/extractors/extractors_configuration/RegexExtractorConfiguration.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/web" + "src": "M:graylog2-web-interface/src/components" }, { - "count": 4, - "dst": "M:graylog2-server/src/main/java/org/graylog2/plugin", + "count": 63, + "dst": "M:graylog2-web-interface/src/brand-customization", "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/web->M:graylog2-server/src/main/java/org/graylog2/plugin", + "id": "M:graylog2-web-interface/src/components->M:graylog2-web-interface/src/brand-customization", "kind": "uses", "refs": [ { - "blob_sha": "c3c0b5d5a17932ff1cb26de158f9f6e06985e369", + "blob_sha": "f310b0f3c47f29b3de6be65fca586fb260ee21bf", "commits": [], - "end_line": 20, + "end_line": 31, "id": "E1", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/web/PluginAssets.java", + "path": "graylog2-web-interface/src/components/authentication/AuthenticatorsEdit/HTTPHeaderAuthConfigSection.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 31 }, { - "blob_sha": "c92872ee2aec1988f056a862118c7dcb569125e6", + "blob_sha": "f53fbf69f0d5f1da73ceae011c5be7435dabf641", "commits": [], "end_line": 22, "id": "E2", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/web/customization/ConfigProvider.java", + "path": "graylog2-web-interface/src/components/cluster-configuration/ClusterConfigurationNodes.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 22 }, { - "blob_sha": "a1a3b7d9defc3b6ee52f2330c5a73b603f342a3a", + "blob_sha": "76df8c38953db1abb35d39c8a17257637e7ef67c", "commits": [], - "end_line": 33, + "end_line": 23, "id": "E3", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/web/resources/WebInterfaceAssetsResource.java", + "path": "graylog2-web-interface/src/components/cluster-configuration/data-nodes/DataNodesExpandable.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 33 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/web" - }, - { - "count": 5, - "dst": "M:graylog2-server/src/main/java/org/graylog2/rest", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/web->M:graylog2-server/src/main/java/org/graylog2/rest", - "kind": "uses", - "refs": [ + "start_line": 23 + }, { - "blob_sha": "571f95fde1ef5934fee6ab134469f5b62c89f663", + "blob_sha": "60547ffd6a7b76345fd2d2ba3bebb1974f302c46", "commits": [], - "end_line": 23, - "id": "E1", + "end_line": 22, + "id": "E4", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/web/DevelopmentIndexHtmlGenerator.java", + "path": "graylog2-web-interface/src/components/cluster-configuration/graylog-nodes/GraylogNodesExpandable.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 22 }, { - "blob_sha": "3b1b2e39ab33a8f1977a2225a1bf2316e25c184d", + "blob_sha": "4abff3fe2d9a719d378c97324b5ca436b9d5b2da", "commits": [], - "end_line": 25, - "id": "E2", + "end_line": 27, + "id": "E5", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/web/ProductionIndexHtmlGenerator.java", + "path": "graylog2-web-interface/src/components/cluster-configuration/graylog-nodes/fetchClusterGraylogNodes.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 27 }, { - "blob_sha": "29ea387d0d273dde23fa0bf918c5f8aa787868ed", + "blob_sha": "cee419e0ca60f5c2ccd63635560d66be1dc6164b", "commits": [], - "end_line": 35, - "id": "E3", + "end_line": 23, + "id": "E6", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/web/resources/AppConfigResource.java", + "path": "graylog2-web-interface/src/components/collectors/overview/FirstOnboarding.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 35 - } - ], - "src": "M:graylog2-server/src/main/java/org/graylog2/web" - }, - { - "count": 6, - "dst": "M:graylog2-server/src/main/java/org/graylog2/shared", - "how": "import-path", - "id": "M:graylog2-server/src/main/java/org/graylog2/web->M:graylog2-server/src/main/java/org/graylog2/shared", - "kind": "uses", - "refs": [ + "start_line": 23 + }, { - "blob_sha": "c3c0b5d5a17932ff1cb26de158f9f6e06985e369", + "blob_sha": "531dd68e894f4e8d7875a40d6fd8e83f9b3cf29c", "commits": [], - "end_line": 21, - "id": "E1", + "end_line": 20, + "id": "E7", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/web/PluginAssets.java", + "path": "graylog2-web-interface/src/components/collectors/overview/onboarding/NextSteps.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 20 }, { - "blob_sha": "29ea387d0d273dde23fa0bf918c5f8aa787868ed", + "blob_sha": "d10aa946dd247c6396d87db38ca8311cc442789f", "commits": [], - "end_line": 37, - "id": "E2", + "end_line": 20, + "id": "E8", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/web/resources/AppConfigResource.java", + "path": "graylog2-web-interface/src/components/collectors/overview/onboarding/PlatformPicker.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 + "start_line": 20 }, { - "blob_sha": "29ea387d0d273dde23fa0bf918c5f8aa787868ed", + "blob_sha": "8246680172971b036bd72b1c8262b8457e344470", "commits": [], - "end_line": 38, - "id": "E3", + "end_line": 20, + "id": "E9", "kind": "lines", - "path": "graylog2-server/src/main/java/org/graylog2/web/resources/AppConfigResource.java", + "path": "graylog2-web-interface/src/components/common/PageErrorOverview.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 38 + "start_line": 20 + }, + { + "blob_sha": "85fda6cd44e80e2254f6b05236660506eaec26e3", + "commits": [], + "end_line": 32, + "id": "E10", + "kind": "lines", + "path": "graylog2-web-interface/src/components/configurations/UrlAllowListConfig.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 } ], - "src": "M:graylog2-server/src/main/java/org/graylog2/web" + "src": "M:graylog2-web-interface/src/components" }, { - "count": 2, + "count": 24, "dst": "M:graylog2-web-interface/src/contexts", - "how": "relative", - "id": "M:graylog2-web-interface/docs->M:graylog2-web-interface/src/contexts", + "how": "import-path", + "id": "M:graylog2-web-interface/src/components->M:graylog2-web-interface/src/contexts", "kind": "uses", "refs": [ { - "blob_sha": "519010522ee3b3fb8b023955f69b0a5ea1a1e8f3", + "blob_sha": "67878c789316dd311de8f716a03b4267db3dbf0e", "commits": [], - "end_line": 23, + "end_line": 20, "id": "E1", "kind": "lines", - "path": "graylog2-web-interface/docs/StyleGuideWrapper.tsx", + "path": "graylog2-web-interface/src/components/common/markdown/StreamTitle.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 20 }, { - "blob_sha": "519010522ee3b3fb8b023955f69b0a5ea1a1e8f3", + "blob_sha": "39a6c56ddbe8a4e4f058ed1961fba85b41b328c2", "commits": [], - "end_line": 25, + "end_line": 24, "id": "E2", "kind": "lines", - "path": "graylog2-web-interface/docs/StyleGuideWrapper.tsx", + "path": "graylog2-web-interface/src/components/common/message/details/MessageAugmentations.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 - } - ], - "src": "M:graylog2-web-interface/docs" - }, - { - "count": 1, - "dst": "M:graylog2-web-interface/src/logic", - "how": "relative", - "id": "M:graylog2-web-interface/docs->M:graylog2-web-interface/src/logic", - "kind": "uses", - "refs": [ + "start_line": 24 + }, { - "blob_sha": "519010522ee3b3fb8b023955f69b0a5ea1a1e8f3", + "blob_sha": "eb42c9ffc62de62162198d819fe9736c5f0321b8", "commits": [], - "end_line": 24, - "id": "E1", + "end_line": 26, + "id": "E3", "kind": "lines", - "path": "graylog2-web-interface/docs/StyleGuideWrapper.tsx", + "path": "graylog2-web-interface/src/components/common/message/details/context/MessageFavoriteFieldsProvider.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 - } - ], - "src": "M:graylog2-web-interface/docs" - }, - { - "count": 2, - "dst": "M:graylog2-web-interface/src/theme", - "how": "relative", - "id": "M:graylog2-web-interface/docs->M:graylog2-web-interface/src/theme", - "kind": "uses", - "refs": [ + "start_line": 26 + }, { - "blob_sha": "519010522ee3b3fb8b023955f69b0a5ea1a1e8f3", + "blob_sha": "a17e0bcecdb69d5eae78cf432157b837ff752748", "commits": [], - "end_line": 22, - "id": "E1", + "end_line": 23, + "id": "E4", "kind": "lines", - "path": "graylog2-web-interface/docs/StyleGuideWrapper.tsx", + "path": "graylog2-web-interface/src/components/common/message/details/fields/MessageFieldsEditModal.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 23 }, { - "blob_sha": "519010522ee3b3fb8b023955f69b0a5ea1a1e8f3", + "blob_sha": "7adf21a05fb858613c73604aabbc5cc8f3deae03", "commits": [], - "end_line": 26, - "id": "E2", + "end_line": 24, + "id": "E5", "kind": "lines", - "path": "graylog2-web-interface/docs/StyleGuideWrapper.tsx", + "path": "graylog2-web-interface/src/components/common/message/messagetable/MessageTableEntry.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 - } - ], - "src": "M:graylog2-web-interface/docs" - }, - { - "count": 10, - "dst": "M:graylog2-web-interface/src/components", - "how": "import-path", - "id": "M:graylog2-web-interface/docs/graylog-luma->M:graylog2-web-interface/src/components", - "kind": "uses", - "refs": [ + "start_line": 24 + }, { - "blob_sha": "733fd53c8cb85a9961e8d34f05c2161464dd3e78", + "blob_sha": "5a14bbb58a330bad7dd4b1a4f3e77b09babd9874", + "commits": [], + "end_line": 19, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/components/content-stream/ContentStreamContainer.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "134a573914ff2d783b5e34272a2ebef19318b66e", "commits": [], - "end_line": 22, - "id": "E1", + "end_line": 20, + "id": "E7", "kind": "lines", - "path": "graylog2-web-interface/docs/graylog-luma/stories/Form/Badge/Badge.stories.tsx", + "path": "graylog2-web-interface/src/components/event-definitions/event-definition-types/FilterAggregationFormContainer.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 20 }, { - "blob_sha": "733fd53c8cb85a9961e8d34f05c2161464dd3e78", + "blob_sha": "134a573914ff2d783b5e34272a2ebef19318b66e", "commits": [], "end_line": 21, - "id": "E2", + "id": "E8", "kind": "lines", - "path": "graylog2-web-interface/docs/graylog-luma/stories/Form/Badge/Badge.stories.tsx", + "path": "graylog2-web-interface/src/components/event-definitions/event-definition-types/FilterAggregationFormContainer.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 21 }, { - "blob_sha": "4cc19baa09219020b4b49477503b5c79c5680e71", + "blob_sha": "0338576e3011ffa78ce684baeb2a9e49eed40390", "commits": [], - "end_line": 20, - "id": "E3", + "end_line": 37, + "id": "E9", "kind": "lines", - "path": "graylog2-web-interface/docs/graylog-luma/stories/Form/Button/Button.stories.tsx", + "path": "graylog2-web-interface/src/components/event-definitions/event-definition-types/FilterAggregationSummary.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 37 + }, + { + "blob_sha": "051343a858259bf71d1cbb10470274f63dbefa67", + "commits": [], + "end_line": 33, + "id": "E10", + "kind": "lines", + "path": "graylog2-web-interface/src/components/event-definitions/event-definition-types/FilterForm.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 } ], - "src": "M:graylog2-web-interface/docs/graylog-luma" + "src": "M:graylog2-web-interface/src/components" }, { - "count": 14, - "dst": "M:graylog2-web-interface/src/theme", + "count": 29, + "dst": "M:graylog2-web-interface/src/domainActions", "how": "import-path", - "id": "M:graylog2-web-interface/docs/graylog-luma->M:graylog2-web-interface/src/theme", + "id": "M:graylog2-web-interface/src/components->M:graylog2-web-interface/src/domainActions", "kind": "uses", "refs": [ { - "blob_sha": "feb7b31792e6efc6525037fd9028ca39395327f9", + "blob_sha": "8c021440613291e1e1d367b9bc5de0cbecf99b20", "commits": [], - "end_line": 25, + "end_line": 21, "id": "E1", "kind": "lines", - "path": "graylog2-web-interface/docs/graylog-luma/.storybook/DocsContainer.tsx", + "path": "graylog2-web-interface/src/components/authentication/AuthenticatorsDetails/HTTPHeaderAuthConfigSection.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 21 }, { - "blob_sha": "feb7b31792e6efc6525037fd9028ca39395327f9", + "blob_sha": "f310b0f3c47f29b3de6be65fca586fb260ee21bf", "commits": [], - "end_line": 24, + "end_line": 23, "id": "E2", "kind": "lines", - "path": "graylog2-web-interface/docs/graylog-luma/.storybook/DocsContainer.tsx", + "path": "graylog2-web-interface/src/components/authentication/AuthenticatorsEdit/HTTPHeaderAuthConfigSection.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 23 }, { - "blob_sha": "feb7b31792e6efc6525037fd9028ca39395327f9", + "blob_sha": "7a6c785b6d590392016a30db21d257bd46ffbfb8", "commits": [], - "end_line": 23, + "end_line": 22, "id": "E3", "kind": "lines", - "path": "graylog2-web-interface/docs/graylog-luma/.storybook/DocsContainer.tsx", + "path": "graylog2-web-interface/src/components/authentication/BackendDetails/BackendDetails.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 - } - ], - "src": "M:graylog2-web-interface/docs/graylog-luma" - }, - { - "count": 1, - "dst": "M:graylog2-web-interface/src/util", - "how": "import-path", - "id": "M:graylog2-web-interface/packages/jest-preset-graylog->M:graylog2-web-interface/src/util", - "kind": "uses", - "refs": [ + "start_line": 22 + }, { - "blob_sha": "54603e673bf7bcf21ccb11ab8e3b8e4becc23303", + "blob_sha": "18529ecd6111d5f0112f7c4bcbfa047d4aaa4d0f", "commits": [], - "end_line": 20, - "id": "E1", + "end_line": 23, + "id": "E4", "kind": "lines", - "path": "graylog2-web-interface/packages/jest-preset-graylog/lib/setup-files/console-warnings-fail-tests.js", + "path": "graylog2-web-interface/src/components/authentication/BackendDetails/SyncedUsersSection/SyncedUsersSection.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 - } - ], - "src": "M:graylog2-web-interface/packages/jest-preset-graylog" - }, - { - "count": 1, - "dst": "M:graylog2-web-interface/packages/graylog-web-plugin", - "how": "import-path", - "id": "M:graylog2-web-interface/src/(root)->M:graylog2-web-interface/packages/graylog-web-plugin", - "kind": "uses", - "refs": [ + "start_line": 23 + }, { - "blob_sha": "31dcb14a8821a667a7cc77b207a452e668e87893", + "blob_sha": "8da9e899b1ee7d39b7096977ab70a08e6be22811", "commits": [], "end_line": 23, - "id": "E1", + "id": "E5", "kind": "lines", - "path": "graylog2-web-interface/src/index.tsx", + "path": "graylog2-web-interface/src/components/authentication/BackendsOverview/BackendsOverview.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 23 - } - ], - "src": "M:graylog2-web-interface/src/(root)" - }, - { - "count": 1, - "dst": "M:graylog2-web-interface/src/aws", - "how": "import-path", - "id": "M:graylog2-web-interface/src/(root)->M:graylog2-web-interface/src/aws", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "31dcb14a8821a667a7cc77b207a452e668e87893", + "blob_sha": "8da9e899b1ee7d39b7096977ab70a08e6be22811", "commits": [], - "end_line": 30, - "id": "E1", + "end_line": 24, + "id": "E6", "kind": "lines", - "path": "graylog2-web-interface/src/index.tsx", + "path": "graylog2-web-interface/src/components/authentication/BackendsOverview/BackendsOverview.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 - } - ], - "src": "M:graylog2-web-interface/src/(root)" - }, - { - "count": 19, - "dst": "M:graylog2-web-interface/src/components", - "how": "import-path", - "id": "M:graylog2-web-interface/src/(root)->M:graylog2-web-interface/src/components", - "kind": "uses", - "refs": [ + "start_line": 24 + }, { - "blob_sha": "31dcb14a8821a667a7cc77b207a452e668e87893", + "blob_sha": "8c83894e90960856e89b11e0c996b0fca5288a1b", "commits": [], - "end_line": 50, - "id": "E1", + "end_line": 27, + "id": "E7", "kind": "lines", - "path": "graylog2-web-interface/src/index.tsx", + "path": "graylog2-web-interface/src/components/authentication/BackendsOverview/BackendsOverviewItem.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 50 + "start_line": 27 }, { - "blob_sha": "31dcb14a8821a667a7cc77b207a452e668e87893", + "blob_sha": "af7aaf4d4669149d408992cbc43cb2a0c3d2b847", "commits": [], - "end_line": 51, - "id": "E2", + "end_line": 29, + "id": "E8", "kind": "lines", - "path": "graylog2-web-interface/src/index.tsx", + "path": "graylog2-web-interface/src/components/authentication/directoryServices/BackendWizard/BackendWizard.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 51 + "start_line": 29 }, { - "blob_sha": "31dcb14a8821a667a7cc77b207a452e668e87893", + "blob_sha": "42cdcd87ea46867699c5583044c0cced1877809f", "commits": [], - "end_line": 45, - "id": "E3", + "end_line": 21, + "id": "E9", "kind": "lines", - "path": "graylog2-web-interface/src/index.tsx", + "path": "graylog2-web-interface/src/components/authentication/directoryServices/BackendWizard/ServerConnectionTest.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 45 + "start_line": 21 + }, + { + "blob_sha": "c11d17167068f03ac141cc39982a3abf92991cfd", + "commits": [], + "end_line": 22, + "id": "E10", + "kind": "lines", + "path": "graylog2-web-interface/src/components/authentication/directoryServices/BackendWizard/UserLoginTest.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 } ], - "src": "M:graylog2-web-interface/src/(root)" + "src": "M:graylog2-web-interface/src/components" }, { - "count": 3, - "dst": "M:graylog2-web-interface/src/contexts", + "count": 503, + "dst": "M:graylog2-web-interface/src/hooks", "how": "import-path", - "id": "M:graylog2-web-interface/src/(root)->M:graylog2-web-interface/src/contexts", + "id": "M:graylog2-web-interface/src/components->M:graylog2-web-interface/src/hooks", "kind": "uses", "refs": [ { - "blob_sha": "31dcb14a8821a667a7cc77b207a452e668e87893", + "blob_sha": "7a6c785b6d590392016a30db21d257bd46ffbfb8", "commits": [], - "end_line": 27, + "end_line": 21, "id": "E1", "kind": "lines", - "path": "graylog2-web-interface/src/index.tsx", + "path": "graylog2-web-interface/src/components/authentication/BackendDetails/BackendDetails.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 21 }, { - "blob_sha": "31dcb14a8821a667a7cc77b207a452e668e87893", + "blob_sha": "18529ecd6111d5f0112f7c4bcbfa047d4aaa4d0f", "commits": [], - "end_line": 37, + "end_line": 22, "id": "E2", "kind": "lines", - "path": "graylog2-web-interface/src/index.tsx", + "path": "graylog2-web-interface/src/components/authentication/BackendDetails/SyncedUsersSection/SyncedUsersSection.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 37 + "start_line": 22 }, { - "blob_sha": "31dcb14a8821a667a7cc77b207a452e668e87893", + "blob_sha": "8da9e899b1ee7d39b7096977ab70a08e6be22811", "commits": [], - "end_line": 26, + "end_line": 25, "id": "E3", "kind": "lines", - "path": "graylog2-web-interface/src/index.tsx", + "path": "graylog2-web-interface/src/components/authentication/BackendsOverview/BackendsOverview.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 - } - ], - "src": "M:graylog2-web-interface/src/(root)" - }, - { - "count": 1, - "dst": "M:graylog2-web-interface/src/integrations", - "how": "import-path", - "id": "M:graylog2-web-interface/src/(root)->M:graylog2-web-interface/src/integrations", - "kind": "uses", - "refs": [ + "start_line": 25 + }, { - "blob_sha": "31dcb14a8821a667a7cc77b207a452e668e87893", + "blob_sha": "8da9e899b1ee7d39b7096977ab70a08e6be22811", "commits": [], - "end_line": 31, - "id": "E1", + "end_line": 22, + "id": "E4", "kind": "lines", - "path": "graylog2-web-interface/src/index.tsx", + "path": "graylog2-web-interface/src/components/authentication/BackendsOverview/BackendsOverview.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 31 - } - ], - "src": "M:graylog2-web-interface/src/(root)" - }, - { - "count": 2, - "dst": "M:graylog2-web-interface/src/logic", - "how": "import-path", - "id": "M:graylog2-web-interface/src/(root)->M:graylog2-web-interface/src/logic", - "kind": "uses", - "refs": [ + "start_line": 22 + }, { - "blob_sha": "31dcb14a8821a667a7cc77b207a452e668e87893", + "blob_sha": "8da9e899b1ee7d39b7096977ab70a08e6be22811", "commits": [], - "end_line": 35, - "id": "E1", + "end_line": 28, + "id": "E5", "kind": "lines", - "path": "graylog2-web-interface/src/index.tsx", + "path": "graylog2-web-interface/src/components/authentication/BackendsOverview/BackendsOverview.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 35 + "start_line": 28 }, { - "blob_sha": "31dcb14a8821a667a7cc77b207a452e668e87893", + "blob_sha": "8c83894e90960856e89b11e0c996b0fca5288a1b", "commits": [], - "end_line": 36, - "id": "E2", + "end_line": 28, + "id": "E6", "kind": "lines", - "path": "graylog2-web-interface/src/index.tsx", + "path": "graylog2-web-interface/src/components/authentication/BackendsOverview/BackendsOverviewItem.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 36 - } - ], - "src": "M:graylog2-web-interface/src/(root)" - }, - { - "count": 2, - "dst": "M:graylog2-web-interface/src/routing", - "how": "import-path", - "id": "M:graylog2-web-interface/src/(root)->M:graylog2-web-interface/src/routing", - "kind": "uses", - "refs": [ + "start_line": 28 + }, { - "blob_sha": "31dcb14a8821a667a7cc77b207a452e668e87893", + "blob_sha": "af7aaf4d4669149d408992cbc43cb2a0c3d2b847", "commits": [], - "end_line": 25, - "id": "E1", + "end_line": 34, + "id": "E7", "kind": "lines", - "path": "graylog2-web-interface/src/index.tsx", + "path": "graylog2-web-interface/src/components/authentication/directoryServices/BackendWizard/BackendWizard.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 34 }, { - "blob_sha": "8744f4a70ba4bbfd4caaf6f1b373b79faa1b5990", + "blob_sha": "af7aaf4d4669149d408992cbc43cb2a0c3d2b847", "commits": [], - "end_line": 17, - "id": "E2", + "end_line": 35, + "id": "E8", "kind": "lines", - "path": "graylog2-web-interface/src/webpack-entry.ts", + "path": "graylog2-web-interface/src/components/authentication/directoryServices/BackendWizard/BackendWizard.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 17 - } - ], - "src": "M:graylog2-web-interface/src/(root)" - }, - { - "count": 1, - "dst": "M:graylog2-web-interface/src/theme", - "how": "import-path", - "id": "M:graylog2-web-interface/src/(root)->M:graylog2-web-interface/src/theme", - "kind": "uses", - "refs": [ + "start_line": 35 + }, { - "blob_sha": "31dcb14a8821a667a7cc77b207a452e668e87893", + "blob_sha": "c11d17167068f03ac141cc39982a3abf92991cfd", "commits": [], - "end_line": 55, - "id": "E1", + "end_line": 25, + "id": "E9", "kind": "lines", - "path": "graylog2-web-interface/src/index.tsx", + "path": "graylog2-web-interface/src/components/authentication/directoryServices/BackendWizard/UserLoginTest.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 55 - } - ], - "src": "M:graylog2-web-interface/src/(root)" - }, - { - "count": 1, - "dst": "M:graylog2-web-interface/src/threatintel", - "how": "import-path", - "id": "M:graylog2-web-interface/src/(root)->M:graylog2-web-interface/src/threatintel", - "kind": "uses", - "refs": [ + "start_line": 25 + }, { - "blob_sha": "31dcb14a8821a667a7cc77b207a452e668e87893", + "blob_sha": "7aca4bb5933bb611d171eec8f26c1c317d2bd2a1", "commits": [], - "end_line": 29, - "id": "E1", + "end_line": 20, + "id": "E10", "kind": "lines", - "path": "graylog2-web-interface/src/index.tsx", + "path": "graylog2-web-interface/src/components/authentication/directoryServices/HandleCreate.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 + "start_line": 20 } ], - "src": "M:graylog2-web-interface/src/(root)" + "src": "M:graylog2-web-interface/src/components" }, { "count": 1, - "dst": "M:graylog2-web-interface/src/views", + "dst": "M:graylog2-web-interface/src/integrations", "how": "import-path", - "id": "M:graylog2-web-interface/src/(root)->M:graylog2-web-interface/src/views", + "id": "M:graylog2-web-interface/src/components->M:graylog2-web-interface/src/integrations", "kind": "uses", "refs": [ { - "blob_sha": "31dcb14a8821a667a7cc77b207a452e668e87893", + "blob_sha": "73d78eab5a1305e79230bf78737dbc4ccda1530c", "commits": [], - "end_line": 28, + "end_line": 20, "id": "E1", "kind": "lines", - "path": "graylog2-web-interface/src/index.tsx", + "path": "graylog2-web-interface/src/components/event-notifications/types.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 + "start_line": 20 } ], - "src": "M:graylog2-web-interface/src/(root)" + "src": "M:graylog2-web-interface/src/components" }, { - "count": 8, - "dst": "M:graylog2-web-interface/src/components", + "count": 741, + "dst": "M:graylog2-web-interface/src/logic", "how": "import-path", - "id": "M:graylog2-web-interface/src/@types->M:graylog2-web-interface/src/components", + "id": "M:graylog2-web-interface/src/components->M:graylog2-web-interface/src/logic", "kind": "uses", "refs": [ { - "blob_sha": "d789b55a5abc3565d6588aff671dc56e162176d8", + "blob_sha": "11618f1439de3bebcb45ce313e6c858c2d88c28c", "commits": [], - "end_line": 29, + "end_line": 21, "id": "E1", "kind": "lines", - "path": "graylog2-web-interface/src/@types/graylog-web-plugin/index.d.ts", + "path": "graylog2-web-interface/src/components/assistant/AssistantPageContext.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 + "start_line": 21 }, { - "blob_sha": "d789b55a5abc3565d6588aff671dc56e162176d8", + "blob_sha": "8c021440613291e1e1d367b9bc5de0cbecf99b20", "commits": [], - "end_line": 30, + "end_line": 20, "id": "E2", "kind": "lines", - "path": "graylog2-web-interface/src/@types/graylog-web-plugin/index.d.ts", + "path": "graylog2-web-interface/src/components/authentication/AuthenticatorsDetails/HTTPHeaderAuthConfigSection.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 + "start_line": 20 }, { - "blob_sha": "d789b55a5abc3565d6588aff671dc56e162176d8", + "blob_sha": "f310b0f3c47f29b3de6be65fca586fb260ee21bf", "commits": [], - "end_line": 26, + "end_line": 22, "id": "E3", "kind": "lines", - "path": "graylog2-web-interface/src/@types/graylog-web-plugin/index.d.ts", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 - } - ], - "src": "M:graylog2-web-interface/src/@types" - }, - { - "count": 2, - "dst": "M:graylog2-web-interface/src/contexts", - "how": "import-path", - "id": "M:graylog2-web-interface/src/@types->M:graylog2-web-interface/src/contexts", - "kind": "uses", - "refs": [ - { - "blob_sha": "d789b55a5abc3565d6588aff671dc56e162176d8", - "commits": [], - "end_line": 34, - "id": "E1", - "kind": "lines", - "path": "graylog2-web-interface/src/@types/graylog-web-plugin/index.d.ts", + "path": "graylog2-web-interface/src/components/authentication/AuthenticatorsEdit/HTTPHeaderAuthConfigSection.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 34 + "start_line": 22 }, { - "blob_sha": "d789b55a5abc3565d6588aff671dc56e162176d8", + "blob_sha": "f310b0f3c47f29b3de6be65fca586fb260ee21bf", "commits": [], - "end_line": 33, - "id": "E2", + "end_line": 28, + "id": "E4", "kind": "lines", - "path": "graylog2-web-interface/src/@types/graylog-web-plugin/index.d.ts", + "path": "graylog2-web-interface/src/components/authentication/AuthenticatorsEdit/HTTPHeaderAuthConfigSection.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 33 - } - ], - "src": "M:graylog2-web-interface/src/@types" - }, - { - "count": 4, - "dst": "M:graylog2-web-interface/src/logic", - "how": "import-path", - "id": "M:graylog2-web-interface/src/@types->M:graylog2-web-interface/src/logic", - "kind": "uses", - "refs": [ + "start_line": 28 + }, { - "blob_sha": "d789b55a5abc3565d6588aff671dc56e162176d8", + "blob_sha": "f310b0f3c47f29b3de6be65fca586fb260ee21bf", "commits": [], - "end_line": 19, - "id": "E1", + "end_line": 30, + "id": "E5", "kind": "lines", - "path": "graylog2-web-interface/src/@types/graylog-web-plugin/index.d.ts", + "path": "graylog2-web-interface/src/components/authentication/AuthenticatorsEdit/HTTPHeaderAuthConfigSection.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 30 }, { - "blob_sha": "d789b55a5abc3565d6588aff671dc56e162176d8", + "blob_sha": "f310b0f3c47f29b3de6be65fca586fb260ee21bf", "commits": [], - "end_line": 27, - "id": "E2", + "end_line": 29, + "id": "E6", "kind": "lines", - "path": "graylog2-web-interface/src/@types/graylog-web-plugin/index.d.ts", + "path": "graylog2-web-interface/src/components/authentication/AuthenticatorsEdit/HTTPHeaderAuthConfigSection.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 29 }, { - "blob_sha": "d789b55a5abc3565d6588aff671dc56e162176d8", + "blob_sha": "f30206b0cdcef18d929f923397aba0b8e31fb6d1", "commits": [], - "end_line": 32, - "id": "E3", + "end_line": 20, + "id": "E7", "kind": "lines", - "path": "graylog2-web-interface/src/@types/graylog-web-plugin/index.d.ts", + "path": "graylog2-web-interface/src/components/authentication/BackendActionLinks.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 32 - } - ], - "src": "M:graylog2-web-interface/src/@types" - }, - { - "count": 1, - "dst": "M:graylog2-web-interface/src/routing", - "how": "import-path", - "id": "M:graylog2-web-interface/src/@types->M:graylog2-web-interface/src/routing", - "kind": "uses", - "refs": [ + "start_line": 20 + }, { - "blob_sha": "d789b55a5abc3565d6588aff671dc56e162176d8", + "blob_sha": "61e73e3508aec1a4dd48aa9648f08da33b02d68c", "commits": [], - "end_line": 23, - "id": "E1", + "end_line": 25, + "id": "E8", "kind": "lines", - "path": "graylog2-web-interface/src/@types/graylog-web-plugin/index.d.ts", + "path": "graylog2-web-interface/src/components/authentication/BackendCreate/ServiceSelect.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 - } - ], - "src": "M:graylog2-web-interface/src/@types" - }, - { - "count": 2, - "dst": "M:graylog2-web-interface/src/stores", - "how": "import-path", - "id": "M:graylog2-web-interface/src/@types->M:graylog2-web-interface/src/stores", - "kind": "uses", - "refs": [ + "start_line": 25 + }, { - "blob_sha": "d789b55a5abc3565d6588aff671dc56e162176d8", + "blob_sha": "61e73e3508aec1a4dd48aa9648f08da33b02d68c", "commits": [], - "end_line": 22, - "id": "E1", + "end_line": 31, + "id": "E9", "kind": "lines", - "path": "graylog2-web-interface/src/@types/graylog-web-plugin/index.d.ts", + "path": "graylog2-web-interface/src/components/authentication/BackendCreate/ServiceSelect.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 31 }, { - "blob_sha": "f6f90f05c96fa777678fd6d595ac9995233da97a", + "blob_sha": "61e73e3508aec1a4dd48aa9648f08da33b02d68c", "commits": [], - "end_line": 18, - "id": "E2", + "end_line": 30, + "id": "E10", "kind": "lines", - "path": "graylog2-web-interface/src/@types/reflux/index.d.ts", + "path": "graylog2-web-interface/src/components/authentication/BackendCreate/ServiceSelect.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 18 + "start_line": 30 } ], - "src": "M:graylog2-web-interface/src/@types" + "src": "M:graylog2-web-interface/src/components" }, { - "count": 3, - "dst": "M:graylog2-web-interface/src/theme", + "count": 7, + "dst": "M:graylog2-web-interface/src/pages", "how": "import-path", - "id": "M:graylog2-web-interface/src/@types->M:graylog2-web-interface/src/theme", + "id": "M:graylog2-web-interface/src/components->M:graylog2-web-interface/src/pages", "kind": "uses", "refs": [ { - "blob_sha": "64b8c63be0827da43134789998e63df4cc50addf", + "blob_sha": "d4cbc6c20f790336fd4707d2915f5c32a117bea4", "commits": [], - "end_line": 17, + "end_line": 22, "id": "E1", "kind": "lines", - "path": "graylog2-web-interface/src/@types/mantine/index.d.ts", + "path": "graylog2-web-interface/src/components/configurations/PluginsConfig.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 17 + "start_line": 22 }, { - "blob_sha": "62481fa13309d329dbafccce4e41b4069686f4b3", + "blob_sha": "77dceedff457bcdc2e8663bdb8f4afc48d84ff27", "commits": [], - "end_line": 18, + "end_line": 19, "id": "E2", "kind": "lines", - "path": "graylog2-web-interface/src/@types/styled-components/index.d.ts", + "path": "graylog2-web-interface/src/components/configurations/bindings.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 18 + "start_line": 19 }, { - "blob_sha": "62481fa13309d329dbafccce4e41b4069686f4b3", + "blob_sha": "07c5e51559317eb723b6935bf35c53fb9a1096c0", "commits": [], - "end_line": 19, + "end_line": 31, "id": "E3", "kind": "lines", - "path": "graylog2-web-interface/src/@types/styled-components/index.d.ts", + "path": "graylog2-web-interface/src/components/errors/ReportedErrorBoundary.tsx", "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 - } - ], - "src": "M:graylog2-web-interface/src/@types" - }, - { - "count": 5, - "dst": "M:graylog2-web-interface/src/logic", - "how": "import-path", - "id": "M:graylog2-web-interface/src/actions->M:graylog2-web-interface/src/logic", - "kind": "uses", - "refs": [ + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, { - "blob_sha": "af86f12c9e475931d89bf6a5253e351ff54daa96", + "blob_sha": "07c5e51559317eb723b6935bf35c53fb9a1096c0", "commits": [], - "end_line": 20, - "id": "E1", + "end_line": 30, + "id": "E4", "kind": "lines", - "path": "graylog2-web-interface/src/actions/errors/ErrorsActions.ts", + "path": "graylog2-web-interface/src/components/errors/ReportedErrorBoundary.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 30 }, { - "blob_sha": "af86f12c9e475931d89bf6a5253e351ff54daa96", + "blob_sha": "07c5e51559317eb723b6935bf35c53fb9a1096c0", "commits": [], - "end_line": 19, - "id": "E2", + "end_line": 33, + "id": "E5", "kind": "lines", - "path": "graylog2-web-interface/src/actions/errors/ErrorsActions.ts", + "path": "graylog2-web-interface/src/components/errors/ReportedErrorBoundary.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 33 }, { - "blob_sha": "85c5943e4992b2ad52ffbd95bf70998833811d48", + "blob_sha": "07c5e51559317eb723b6935bf35c53fb9a1096c0", "commits": [], - "end_line": 20, - "id": "E3", + "end_line": 32, + "id": "E6", "kind": "lines", - "path": "graylog2-web-interface/src/actions/permissions/EntityShareActions.ts", + "path": "graylog2-web-interface/src/components/errors/ReportedErrorBoundary.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 - } - ], - "src": "M:graylog2-web-interface/src/actions" - }, - { - "count": 1, - "dst": "M:graylog2-web-interface/src/stores", - "how": "import-path", - "id": "M:graylog2-web-interface/src/actions->M:graylog2-web-interface/src/stores", - "kind": "uses", - "refs": [ + "start_line": 32 + }, { - "blob_sha": "85c5943e4992b2ad52ffbd95bf70998833811d48", + "blob_sha": "b83100dc81f4a357a61872a4aac3a76cb7f8c176", "commits": [], "end_line": 19, - "id": "E1", + "id": "E7", "kind": "lines", - "path": "graylog2-web-interface/src/actions/permissions/EntityShareActions.ts", + "path": "graylog2-web-interface/src/components/errors/RouterErrorBoundary.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 19 } ], - "src": "M:graylog2-web-interface/src/actions" + "src": "M:graylog2-web-interface/src/components" }, { - "count": 2, - "dst": "M:graylog2-web-interface/src/actions", + "count": 9, + "dst": "M:graylog2-web-interface/src/preflight", "how": "import-path", - "id": "M:graylog2-web-interface/src/api->M:graylog2-web-interface/src/actions", + "id": "M:graylog2-web-interface/src/components->M:graylog2-web-interface/src/preflight", "kind": "uses", "refs": [ { - "blob_sha": "325b23c8a93697f0f540fa65caaa869bd2bc3240", + "blob_sha": "edf21018606e5249e017e7375bee79f8aca9f9d3", "commits": [], - "end_line": 19, + "end_line": 31, "id": "E1", "kind": "lines", - "path": "graylog2-web-interface/src/api/__mocks__/entity-share.ts", + "path": "graylog2-web-interface/src/components/configurations/MarkdownConfig.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 31 }, { - "blob_sha": "ef80313484ab21e9f56c3389c88a4947369bf2df", + "blob_sha": "774600c732ad1b52bf05622c0802d1e98ee0050f", "commits": [], "end_line": 29, "id": "E2", "kind": "lines", - "path": "graylog2-web-interface/src/api/entity-share.ts", + "path": "graylog2-web-interface/src/components/datanode/DataNodeConfiguration/CAUpload.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 29 - } - ], - "src": "M:graylog2-web-interface/src/api" - }, - { - "count": 13, - "dst": "M:graylog2-web-interface/src/logic", - "how": "import-path", - "id": "M:graylog2-web-interface/src/api->M:graylog2-web-interface/src/logic", - "kind": "uses", - "refs": [ - { - "blob_sha": "ef80313484ab21e9f56c3389c88a4947369bf2df", - "commits": [], - "end_line": 23, - "id": "E1", - "kind": "lines", - "path": "graylog2-web-interface/src/api/entity-share.ts", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 }, { - "blob_sha": "ef80313484ab21e9f56c3389c88a4947369bf2df", + "blob_sha": "92d7be2fe61c7aa0973e1cc953278ed4a454061f", "commits": [], - "end_line": 24, - "id": "E2", + "end_line": 21, + "id": "E3", "kind": "lines", - "path": "graylog2-web-interface/src/api/entity-share.ts", + "path": "graylog2-web-interface/src/components/datanode/DataNodeList/DataNodeBadge.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 21 }, { - "blob_sha": "ef80313484ab21e9f56c3389c88a4947369bf2df", + "blob_sha": "92d7be2fe61c7aa0973e1cc953278ed4a454061f", "commits": [], "end_line": 20, - "id": "E3", + "id": "E4", "kind": "lines", - "path": "graylog2-web-interface/src/api/entity-share.ts", + "path": "graylog2-web-interface/src/components/datanode/DataNodeList/DataNodeBadge.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 20 - } - ], - "src": "M:graylog2-web-interface/src/api" - }, - { - "count": 4, - "dst": "M:graylog2-web-interface/src/routing", - "how": "import-path", - "id": "M:graylog2-web-interface/src/api->M:graylog2-web-interface/src/routing", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "ef80313484ab21e9f56c3389c88a4947369bf2df", + "blob_sha": "83b39e204af37cd411fb1ff713c80b9c1a295803", "commits": [], - "end_line": 21, - "id": "E1", + "end_line": 17, + "id": "E5", "kind": "lines", - "path": "graylog2-web-interface/src/api/entity-share.ts", + "path": "graylog2-web-interface/src/components/datanode/Types.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 17 }, { - "blob_sha": "c47bcd287e03080c1c4c1c002f27ed09a82d5127", + "blob_sha": "3408eb49f589d267cc812cead325911481cb03bb", "commits": [], - "end_line": 17, - "id": "E2", + "end_line": 20, + "id": "E6", "kind": "lines", - "path": "graylog2-web-interface/src/api/startpage.ts", + "path": "graylog2-web-interface/src/components/datanode/migrations/CAStep.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 17 + "start_line": 20 }, { - "blob_sha": "1165836fbb70905ed354fdf478cd94b0867af939", + "blob_sha": "5c63c9c7c4f4818e758f7bf9314e379b5b819ca2", "commits": [], "end_line": 20, - "id": "E3", + "id": "E7", "kind": "lines", - "path": "graylog2-web-interface/src/api/streams.ts", + "path": "graylog2-web-interface/src/components/datanode/migrations/CertificateRenewalStep.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 20 - } - ], - "src": "M:graylog2-web-interface/src/api" - }, - { - "count": 2, - "dst": "M:graylog2-web-interface/src/stores", - "how": "import-path", - "id": "M:graylog2-web-interface/src/api->M:graylog2-web-interface/src/stores", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "ef80313484ab21e9f56c3389c88a4947369bf2df", + "blob_sha": "8ed1f007abed56321c8600fedfdab465831c1873", "commits": [], - "end_line": 33, - "id": "E1", + "end_line": 26, + "id": "E8", "kind": "lines", - "path": "graylog2-web-interface/src/api/entity-share.ts", + "path": "graylog2-web-interface/src/components/datanode/migrations/common/ResetMigrationButton.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 33 + "start_line": 26 }, { - "blob_sha": "1165836fbb70905ed354fdf478cd94b0867af939", + "blob_sha": "9f2a0a5d262a5a5c3b3e873b09627c965fc5833a", "commits": [], - "end_line": 25, - "id": "E2", + "end_line": 21, + "id": "E9", "kind": "lines", - "path": "graylog2-web-interface/src/api/streams.ts", + "path": "graylog2-web-interface/src/components/datanode/migrations/in-place/RestartGraylog.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 21 } ], - "src": "M:graylog2-web-interface/src/api" + "src": "M:graylog2-web-interface/src/components" }, { - "count": 2, - "dst": "M:graylog2-web-interface/src/theme", + "count": 291, + "dst": "M:graylog2-web-interface/src/routing", "how": "import-path", - "id": "M:graylog2-web-interface/src/api->M:graylog2-web-interface/src/theme", + "id": "M:graylog2-web-interface/src/components->M:graylog2-web-interface/src/routing", "kind": "uses", "refs": [ { - "blob_sha": "dfdf8154190e17f747d168f208815c4628636801", + "blob_sha": "11618f1439de3bebcb45ce313e6c858c2d88c28c", "commits": [], "end_line": 20, "id": "E1", "kind": "lines", - "path": "graylog2-web-interface/src/api/preferences.ts", + "path": "graylog2-web-interface/src/components/assistant/AssistantPageContext.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 20 }, { - "blob_sha": "dfdf8154190e17f747d168f208815c4628636801", + "blob_sha": "ba71bb8493935b7348d280e3e595357108edb0db", "commits": [], "end_line": 19, "id": "E2", "kind": "lines", - "path": "graylog2-web-interface/src/api/preferences.ts", + "path": "graylog2-web-interface/src/components/authentication/AuthenticatorActionLinks.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 19 - } - ], - "src": "M:graylog2-web-interface/src/api" - }, - { - "count": 13, - "dst": "M:graylog2-web-interface/src/util", - "how": "import-path", - "id": "M:graylog2-web-interface/src/api->M:graylog2-web-interface/src/util", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "c664a29db11706fb68c9637c1112187c7e169391", + "blob_sha": "f310b0f3c47f29b3de6be65fca586fb260ee21bf", "commits": [], "end_line": 21, - "id": "E1", + "id": "E3", "kind": "lines", - "path": "graylog2-web-interface/src/api/configuration-variables.ts", + "path": "graylog2-web-interface/src/components/authentication/AuthenticatorsEdit/HTTPHeaderAuthConfigSection.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 21 }, { - "blob_sha": "ef80313484ab21e9f56c3389c88a4947369bf2df", + "blob_sha": "f310b0f3c47f29b3de6be65fca586fb260ee21bf", "commits": [], - "end_line": 32, - "id": "E2", + "end_line": 27, + "id": "E4", "kind": "lines", - "path": "graylog2-web-interface/src/api/entity-share.ts", + "path": "graylog2-web-interface/src/components/authentication/AuthenticatorsEdit/HTTPHeaderAuthConfigSection.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 32 + "start_line": 27 }, { - "blob_sha": "ef80313484ab21e9f56c3389c88a4947369bf2df", + "blob_sha": "f30206b0cdcef18d929f923397aba0b8e31fb6d1", "commits": [], - "end_line": 30, - "id": "E3", + "end_line": 21, + "id": "E5", "kind": "lines", - "path": "graylog2-web-interface/src/api/entity-share.ts", + "path": "graylog2-web-interface/src/components/authentication/BackendActionLinks.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 - } - ], - "src": "M:graylog2-web-interface/src/api" - }, - { - "count": 1, - "dst": "M:graylog2-web-interface/packages/graylog-web-plugin", - "how": "import-path", - "id": "M:graylog2-web-interface/src/aws->M:graylog2-web-interface/packages/graylog-web-plugin", - "kind": "uses", - "refs": [ + "start_line": 21 + }, { - "blob_sha": "16d2ce2fa9ca37409da6feca3efe813fa56ce68f", + "blob_sha": "61e73e3508aec1a4dd48aa9648f08da33b02d68c", "commits": [], - "end_line": 18, - "id": "E1", + "end_line": 23, + "id": "E6", "kind": "lines", - "path": "graylog2-web-interface/src/aws/bindings.tsx", + "path": "graylog2-web-interface/src/components/authentication/BackendCreate/ServiceSelect.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 18 - } - ], - "src": "M:graylog2-web-interface/src/aws" - }, - { - "count": 1, - "dst": "M:graylog2-web-interface/src/brand-customization", - "how": "import-path", - "id": "M:graylog2-web-interface/src/aws->M:graylog2-web-interface/src/brand-customization", - "kind": "uses", - "refs": [ + "start_line": 23 + }, { - "blob_sha": "a72f651eea12df2d446c990b722df1002ea729c7", + "blob_sha": "61e73e3508aec1a4dd48aa9648f08da33b02d68c", "commits": [], - "end_line": 26, - "id": "E1", + "end_line": 28, + "id": "E7", "kind": "lines", - "path": "graylog2-web-interface/src/aws/components/AWSPluginConfiguration.tsx", + "path": "graylog2-web-interface/src/components/authentication/BackendCreate/ServiceSelect.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 - } - ], - "src": "M:graylog2-web-interface/src/aws" - }, - { - "count": 2, - "dst": "M:graylog2-web-interface/src/components", - "how": "import-path", - "id": "M:graylog2-web-interface/src/aws->M:graylog2-web-interface/src/components", - "kind": "uses", - "refs": [ + "start_line": 28 + }, { - "blob_sha": "a72f651eea12df2d446c990b722df1002ea729c7", + "blob_sha": "61e73e3508aec1a4dd48aa9648f08da33b02d68c", "commits": [], - "end_line": 22, - "id": "E1", + "end_line": 29, + "id": "E8", "kind": "lines", - "path": "graylog2-web-interface/src/aws/components/AWSPluginConfiguration.tsx", + "path": "graylog2-web-interface/src/components/authentication/BackendCreate/ServiceSelect.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 29 }, { - "blob_sha": "a72f651eea12df2d446c990b722df1002ea729c7", + "blob_sha": "01f436fec5f42e8615a7c3f6ce9344bb722304e5", "commits": [], "end_line": 23, - "id": "E2", + "id": "E9", "kind": "lines", - "path": "graylog2-web-interface/src/aws/components/AWSPluginConfiguration.tsx", + "path": "graylog2-web-interface/src/components/authentication/BackendDetails/SyncedUsersSection/SyncedUsersOverviewItem.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 23 - } - ], - "src": "M:graylog2-web-interface/src/aws" - }, - { - "count": 1, - "dst": "M:graylog2-web-interface/src/stores", - "how": "import-path", - "id": "M:graylog2-web-interface/src/aws->M:graylog2-web-interface/src/stores", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "a72f651eea12df2d446c990b722df1002ea729c7", + "blob_sha": "8c83894e90960856e89b11e0c996b0fca5288a1b", "commits": [], - "end_line": 24, - "id": "E1", + "end_line": 25, + "id": "E10", "kind": "lines", - "path": "graylog2-web-interface/src/aws/components/AWSPluginConfiguration.tsx", + "path": "graylog2-web-interface/src/components/authentication/BackendsOverview/BackendsOverviewItem.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 25 } ], - "src": "M:graylog2-web-interface/src/aws" + "src": "M:graylog2-web-interface/src/components" }, { - "count": 3, - "dst": "M:graylog2-web-interface/src/util", + "count": 195, + "dst": "M:graylog2-web-interface/src/stores", "how": "import-path", - "id": "M:graylog2-web-interface/src/aws->M:graylog2-web-interface/src/util", + "id": "M:graylog2-web-interface/src/components->M:graylog2-web-interface/src/stores", "kind": "uses", "refs": [ { - "blob_sha": "16d2ce2fa9ca37409da6feca3efe813fa56ce68f", + "blob_sha": "18529ecd6111d5f0112f7c4bcbfa047d4aaa4d0f", "commits": [], - "end_line": 21, + "end_line": 28, "id": "E1", "kind": "lines", - "path": "graylog2-web-interface/src/aws/bindings.tsx", + "path": "graylog2-web-interface/src/components/authentication/BackendDetails/SyncedUsersSection/SyncedUsersSection.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 28 }, { - "blob_sha": "a72f651eea12df2d446c990b722df1002ea729c7", + "blob_sha": "d58326ace9e43352d2d57f736cbaba68ad904773", "commits": [], - "end_line": 25, + "end_line": 22, "id": "E2", "kind": "lines", - "path": "graylog2-web-interface/src/aws/components/AWSPluginConfiguration.tsx", + "path": "graylog2-web-interface/src/components/cluster-configuration/data-nodes/fetchClusterDataNodes.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 22 }, { - "blob_sha": "a72f651eea12df2d446c990b722df1002ea729c7", + "blob_sha": "4abff3fe2d9a719d378c97324b5ca436b9d5b2da", "commits": [], - "end_line": 29, + "end_line": 24, "id": "E3", "kind": "lines", - "path": "graylog2-web-interface/src/aws/components/AWSPluginConfiguration.tsx", + "path": "graylog2-web-interface/src/components/cluster-configuration/graylog-nodes/fetchClusterGraylogNodes.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 - } - ], - "src": "M:graylog2-web-interface/src/aws" - }, - { - "count": 1, - "dst": "M:graylog2-web-interface/src/views", - "how": "import-path", - "id": "M:graylog2-web-interface/src/aws->M:graylog2-web-interface/src/views", - "kind": "uses", - "refs": [ + "start_line": 24 + }, { - "blob_sha": "16d2ce2fa9ca37409da6feca3efe813fa56ce68f", + "blob_sha": "334eaef86269f47712bcd97034a6ecc04ff6a142", + "commits": [], + "end_line": 19, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/components/cluster-configuration/mongodb-nodes/fetchClusterMongodbNodes.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "c9bf50777341d3c5671c9fef3a41895414270463", "commits": [], "end_line": 20, - "id": "E1", + "id": "E5", "kind": "lines", - "path": "graylog2-web-interface/src/aws/bindings.tsx", + "path": "graylog2-web-interface/src/components/cluster-configuration/opensearch-nodes/fetchClusterOpensearchNodes.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 20 - } - ], - "src": "M:graylog2-web-interface/src/aws" - }, - { - "count": 10, - "dst": "M:graylog2-web-interface/src/util", - "how": "import-path", - "id": "M:graylog2-web-interface/src/brand-customization->M:graylog2-web-interface/src/util", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "50dad08eff600532021550c9cc48756ec823f9cd", + "blob_sha": "17bfa2eef47437bf52244d31cac6fb071cd4e15f", "commits": [], - "end_line": 19, - "id": "E1", + "end_line": 22, + "id": "E6", "kind": "lines", - "path": "graylog2-web-interface/src/brand-customization/useCustomLogo.ts", + "path": "graylog2-web-interface/src/components/cluster/GraylogClusterOverview.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 22 }, { - "blob_sha": "6d17a7fb2be9623f1eddae9d8b948e11c6c8d3f4", + "blob_sha": "17bfa2eef47437bf52244d31cac6fb071cd4e15f", "commits": [], - "end_line": 17, - "id": "E2", + "end_line": 26, + "id": "E7", "kind": "lines", - "path": "graylog2-web-interface/src/brand-customization/useFeaturesCustomization.ts", + "path": "graylog2-web-interface/src/components/cluster/GraylogClusterOverview.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 17 + "start_line": 26 }, { - "blob_sha": "cd92efe1e668084d0f2221de7a52e5a789e335ae", + "blob_sha": "1fee11edee40fcac53e77c4e7398ddf5144fc9a2", + "commits": [], + "end_line": 27, + "id": "E8", + "kind": "lines", + "path": "graylog2-web-interface/src/components/collectors/deployment/EnrollmentTokenList.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "6766e52705236f9ddc8095a7baf2185b10a30f5f", + "commits": [], + "end_line": 22, + "id": "E9", + "kind": "lines", + "path": "graylog2-web-interface/src/components/collectors/fleets/CollectorsFleets.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "3dbf7757b2dac7243a2d9b3f3e90fa6197a0e338", "commits": [], "end_line": 17, - "id": "E3", + "id": "E10", "kind": "lines", - "path": "graylog2-web-interface/src/brand-customization/useFooterCustomization.ts", + "path": "graylog2-web-interface/src/components/collectors/fleets/Constants.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 17 } ], - "src": "M:graylog2-web-interface/src/brand-customization" + "src": "M:graylog2-web-interface/src/components" }, { - "count": 83, - "dst": "M:graylog2-web-interface/packages/graylog-web-plugin", + "count": 57, + "dst": "M:graylog2-web-interface/src/theme", "how": "import-path", - "id": "M:graylog2-web-interface/src/components->M:graylog2-web-interface/packages/graylog-web-plugin", + "id": "M:graylog2-web-interface/src/components->M:graylog2-web-interface/src/theme", "kind": "uses", "refs": [ { - "blob_sha": "61e73e3508aec1a4dd48aa9648f08da33b02d68c", + "blob_sha": "1f98a5c757c72c176ce0dcc13cba3c0c0df355f3", "commits": [], - "end_line": 20, + "end_line": 22, "id": "E1", "kind": "lines", - "path": "graylog2-web-interface/src/components/authentication/BackendCreate/ServiceSelect.tsx", + "path": "graylog2-web-interface/src/components/bootstrap/Alert.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 22 }, { - "blob_sha": "db0084e9881cedd68e6e8a1a9eb2f501ae31a91c", + "blob_sha": "9d22ab2915d6457b93df9e2e76f91c15fa969ca5", "commits": [], - "end_line": 17, + "end_line": 22, "id": "E2", "kind": "lines", - "path": "graylog2-web-interface/src/components/authentication/bindings.ts", + "path": "graylog2-web-interface/src/components/bootstrap/Badge.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 17 + "start_line": 22 }, { - "blob_sha": "c88e918003bd29a6390fcb232c501286a25adcce", + "blob_sha": "9d22ab2915d6457b93df9e2e76f91c15fa969ca5", "commits": [], - "end_line": 17, + "end_line": 27, "id": "E3", "kind": "lines", - "path": "graylog2-web-interface/src/components/cluster-configuration/bindings.ts", + "path": "graylog2-web-interface/src/components/bootstrap/Badge.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 17 - } - ], - "src": "M:graylog2-web-interface/src/components" - }, - { - "count": 19, - "dst": "M:graylog2-web-interface/src/actions", - "how": "import-path", - "id": "M:graylog2-web-interface/src/components->M:graylog2-web-interface/src/actions", - "kind": "uses", - "refs": [ + "start_line": 27 + }, { - "blob_sha": "7a9039914a614045e4fa2f94e9d5c42d275f9cdb", + "blob_sha": "9d22ab2915d6457b93df9e2e76f91c15fa969ca5", + "commits": [], + "end_line": 26, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/components/bootstrap/Badge.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "c095d873dda4ebf3b9a57cd713dfdd93e7af3de6", + "commits": [], + "end_line": 22, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/components/bootstrap/Button.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "c095d873dda4ebf3b9a57cd713dfdd93e7af3de6", "commits": [], "end_line": 25, - "id": "E1", + "id": "E6", "kind": "lines", - "path": "graylog2-web-interface/src/components/content-packs/ContentPackInstall.tsx", + "path": "graylog2-web-interface/src/components/bootstrap/Button.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 25 }, { - "blob_sha": "381c9eaa3eaa09e0aede7b67f2465c2c20bfd7bd", + "blob_sha": "3ead7b549adf63d600f344c19e201fa0c46980a3", "commits": [], - "end_line": 23, - "id": "E2", + "end_line": 21, + "id": "E7", "kind": "lines", - "path": "graylog2-web-interface/src/components/content-packs/ContentPackVersions.tsx", + "path": "graylog2-web-interface/src/components/bootstrap/FormControl.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 21 }, { - "blob_sha": "c5382197ac94774b2ee2191766f7dab1ff3e1d6d", + "blob_sha": "29a9b81b6e6491d5c6f81406ad3516878ac55b12", "commits": [], - "end_line": 27, - "id": "E3", + "end_line": 22, + "id": "E8", "kind": "lines", - "path": "graylog2-web-interface/src/components/content-packs/ContentPacksList.tsx", + "path": "graylog2-web-interface/src/components/bootstrap/Menu.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 22 + }, + { + "blob_sha": "b320d70d0afbd652581a6d7459d910c9f4c8562b", + "commits": [], + "end_line": 22, + "id": "E9", + "kind": "lines", + "path": "graylog2-web-interface/src/components/bootstrap/Modal.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "dc90693c4d7970121d15d3ceb6b0ce4872f2a293", + "commits": [], + "end_line": 21, + "id": "E10", + "kind": "lines", + "path": "graylog2-web-interface/src/components/bootstrap/NavDropdown.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 } ], "src": "M:graylog2-web-interface/src/components" }, { - "count": 25, - "dst": "M:graylog2-web-interface/src/api", + "count": 14, + "dst": "M:graylog2-web-interface/src/types", "how": "import-path", - "id": "M:graylog2-web-interface/src/components->M:graylog2-web-interface/src/api", + "id": "M:graylog2-web-interface/src/components->M:graylog2-web-interface/src/types", "kind": "uses", "refs": [ { - "blob_sha": "3abab1029ec6639e44396356418e02c9fe1a7646", + "blob_sha": "d58326ace9e43352d2d57f736cbaba68ad904773", "commits": [], - "end_line": 24, + "end_line": 21, "id": "E1", "kind": "lines", - "path": "graylog2-web-interface/src/components/cluster-configuration/graylog-nodes/GraylogNodeActions.tsx", + "path": "graylog2-web-interface/src/components/cluster-configuration/data-nodes/fetchClusterDataNodes.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 21 }, { - "blob_sha": "3abab1029ec6639e44396356418e02c9fe1a7646", + "blob_sha": "4abff3fe2d9a719d378c97324b5ca436b9d5b2da", "commits": [], "end_line": 25, "id": "E2", "kind": "lines", - "path": "graylog2-web-interface/src/components/cluster-configuration/graylog-nodes/GraylogNodeActions.tsx", + "path": "graylog2-web-interface/src/components/cluster-configuration/graylog-nodes/fetchClusterGraylogNodes.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 25 }, { - "blob_sha": "4734f5dcf4b1db0577cefa2bff776af064320e57", + "blob_sha": "54cec556a81a2d7da36397355e932ee3f6c7ec50", "commits": [], - "end_line": 24, + "end_line": 20, "id": "E3", "kind": "lines", - "path": "graylog2-web-interface/src/components/common/URLAllowListInput.tsx", + "path": "graylog2-web-interface/src/components/inputs/helpers/InputThroughputUtils.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 - } - ], - "src": "M:graylog2-web-interface/src/components" - }, - { - "count": 63, - "dst": "M:graylog2-web-interface/src/brand-customization", - "how": "import-path", - "id": "M:graylog2-web-interface/src/components->M:graylog2-web-interface/src/brand-customization", - "kind": "uses", - "refs": [ + "start_line": 20 + }, { - "blob_sha": "f310b0f3c47f29b3de6be65fca586fb260ee21bf", + "blob_sha": "02c80687ede09fbd84b3fe75e867beaf0a4a0779", "commits": [], - "end_line": 31, - "id": "E1", + "end_line": 20, + "id": "E4", "kind": "lines", - "path": "graylog2-web-interface/src/components/authentication/AuthenticatorsEdit/HTTPHeaderAuthConfigSection.tsx", + "path": "graylog2-web-interface/src/components/metrics/CounterDetails.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 31 + "start_line": 20 }, { - "blob_sha": "f53fbf69f0d5f1da73ceae011c5be7435dabf641", + "blob_sha": "3ef7af46bb95fec743b77736c3478497e6769f81", "commits": [], - "end_line": 22, - "id": "E2", + "end_line": 20, + "id": "E5", "kind": "lines", - "path": "graylog2-web-interface/src/components/cluster-configuration/ClusterConfigurationNodes.tsx", + "path": "graylog2-web-interface/src/components/metrics/GaugeDetails.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 20 }, { - "blob_sha": "76df8c38953db1abb35d39c8a17257637e7ef67c", + "blob_sha": "8a17733ab3cd82f965cd1e043c5368ca3ca3e1d4", "commits": [], - "end_line": 23, - "id": "E3", + "end_line": 20, + "id": "E6", "kind": "lines", - "path": "graylog2-web-interface/src/components/cluster-configuration/data-nodes/DataNodesExpandable.tsx", + "path": "graylog2-web-interface/src/components/metrics/HistogramDetails.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 - } - ], - "src": "M:graylog2-web-interface/src/components" - }, - { - "count": 24, - "dst": "M:graylog2-web-interface/src/contexts", - "how": "import-path", - "id": "M:graylog2-web-interface/src/components->M:graylog2-web-interface/src/contexts", - "kind": "uses", - "refs": [ + "start_line": 20 + }, { - "blob_sha": "67878c789316dd311de8f716a03b4267db3dbf0e", + "blob_sha": "73f781c6deb6a18de5ff05c0d24e89c611a992db", "commits": [], "end_line": 20, - "id": "E1", + "id": "E7", "kind": "lines", - "path": "graylog2-web-interface/src/components/common/markdown/StreamTitle.tsx", + "path": "graylog2-web-interface/src/components/metrics/MeterDetails.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 20 }, { - "blob_sha": "39a6c56ddbe8a4e4f058ed1961fba85b41b328c2", + "blob_sha": "b9aaf5474f0b25442f5fde364963950ea69bf329", "commits": [], - "end_line": 24, - "id": "E2", + "end_line": 21, + "id": "E8", "kind": "lines", - "path": "graylog2-web-interface/src/components/common/message/details/MessageAugmentations.tsx", + "path": "graylog2-web-interface/src/components/metrics/Metric.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 21 }, { - "blob_sha": "eb42c9ffc62de62162198d819fe9736c5f0321b8", + "blob_sha": "2b163f8df087b77adc9a3b986bc222c862b25c7d", "commits": [], "end_line": 26, - "id": "E3", + "id": "E9", "kind": "lines", - "path": "graylog2-web-interface/src/components/common/message/details/context/MessageFavoriteFieldsProvider.tsx", + "path": "graylog2-web-interface/src/components/metrics/MetricDetails.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 26 + }, + { + "blob_sha": "b9cfb490d84806ea748620450fd3fb13799275ae", + "commits": [], + "end_line": 24, + "id": "E10", + "kind": "lines", + "path": "graylog2-web-interface/src/components/metrics/MetricsComponent.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 } ], "src": "M:graylog2-web-interface/src/components" }, { - "count": 29, - "dst": "M:graylog2-web-interface/src/domainActions", + "count": 495, + "dst": "M:graylog2-web-interface/src/util", "how": "import-path", - "id": "M:graylog2-web-interface/src/components->M:graylog2-web-interface/src/domainActions", + "id": "M:graylog2-web-interface/src/components->M:graylog2-web-interface/src/util", "kind": "uses", "refs": [ { - "blob_sha": "8c021440613291e1e1d367b9bc5de0cbecf99b20", + "blob_sha": "11618f1439de3bebcb45ce313e6c858c2d88c28c", "commits": [], - "end_line": 21, + "end_line": 22, "id": "E1", "kind": "lines", - "path": "graylog2-web-interface/src/components/authentication/AuthenticatorsDetails/HTTPHeaderAuthConfigSection.tsx", + "path": "graylog2-web-interface/src/components/assistant/AssistantPageContext.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 22 }, { - "blob_sha": "f310b0f3c47f29b3de6be65fca586fb260ee21bf", + "blob_sha": "61e73e3508aec1a4dd48aa9648f08da33b02d68c", "commits": [], - "end_line": 23, + "end_line": 24, "id": "E2", "kind": "lines", - "path": "graylog2-web-interface/src/components/authentication/AuthenticatorsEdit/HTTPHeaderAuthConfigSection.tsx", + "path": "graylog2-web-interface/src/components/authentication/BackendCreate/ServiceSelect.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 + "start_line": 24 }, { "blob_sha": "7a6c785b6d590392016a30db21d257bd46ffbfb8", "commits": [], - "end_line": 22, + "end_line": 20, "id": "E3", "kind": "lines", "path": "graylog2-web-interface/src/components/authentication/BackendDetails/BackendDetails.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 - } - ], - "src": "M:graylog2-web-interface/src/components" - }, - { - "count": 503, - "dst": "M:graylog2-web-interface/src/hooks", - "how": "import-path", - "id": "M:graylog2-web-interface/src/components->M:graylog2-web-interface/src/hooks", - "kind": "uses", - "refs": [ + "start_line": 20 + }, { - "blob_sha": "7a6c785b6d590392016a30db21d257bd46ffbfb8", + "blob_sha": "fba10bfe2760f7afee7bf4f6681ea29b5af1bf48", "commits": [], - "end_line": 21, - "id": "E1", + "end_line": 20, + "id": "E4", "kind": "lines", - "path": "graylog2-web-interface/src/components/authentication/BackendDetails/BackendDetails.tsx", + "path": "graylog2-web-interface/src/components/authentication/BackendDetails/SyncedTeamsSection.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 20 }, { - "blob_sha": "18529ecd6111d5f0112f7c4bcbfa047d4aaa4d0f", + "blob_sha": "8c83894e90960856e89b11e0c996b0fca5288a1b", "commits": [], - "end_line": 22, - "id": "E2", + "end_line": 24, + "id": "E5", "kind": "lines", - "path": "graylog2-web-interface/src/components/authentication/BackendDetails/SyncedUsersSection/SyncedUsersSection.tsx", + "path": "graylog2-web-interface/src/components/authentication/BackendsOverview/BackendsOverviewItem.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 24 }, { - "blob_sha": "8da9e899b1ee7d39b7096977ab70a08e6be22811", + "blob_sha": "8f135803756911e66ddd5f6cb76e60223797876d", "commits": [], - "end_line": 25, - "id": "E3", + "end_line": 20, + "id": "E6", "kind": "lines", - "path": "graylog2-web-interface/src/components/authentication/BackendsOverview/BackendsOverview.tsx", + "path": "graylog2-web-interface/src/components/authentication/directoryServices/BackendConfigDetails/GroupSyncSection.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 - } - ], - "src": "M:graylog2-web-interface/src/components" - }, - { - "count": 1, - "dst": "M:graylog2-web-interface/src/integrations", - "how": "import-path", - "id": "M:graylog2-web-interface/src/components->M:graylog2-web-interface/src/integrations", - "kind": "uses", - "refs": [ + "start_line": 20 + }, { - "blob_sha": "73d78eab5a1305e79230bf78737dbc4ccda1530c", + "blob_sha": "af7aaf4d4669149d408992cbc43cb2a0c3d2b847", "commits": [], - "end_line": 20, - "id": "E1", + "end_line": 26, + "id": "E7", "kind": "lines", - "path": "graylog2-web-interface/src/components/event-notifications/types.ts", + "path": "graylog2-web-interface/src/components/authentication/directoryServices/BackendWizard/BackendWizard.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 - } - ], - "src": "M:graylog2-web-interface/src/components" - }, - { - "count": 741, - "dst": "M:graylog2-web-interface/src/logic", - "how": "import-path", - "id": "M:graylog2-web-interface/src/components->M:graylog2-web-interface/src/logic", - "kind": "uses", - "refs": [ + "start_line": 26 + }, { - "blob_sha": "11618f1439de3bebcb45ce313e6c858c2d88c28c", + "blob_sha": "af7aaf4d4669149d408992cbc43cb2a0c3d2b847", "commits": [], - "end_line": 21, - "id": "E1", + "end_line": 25, + "id": "E8", "kind": "lines", - "path": "graylog2-web-interface/src/components/assistant/AssistantPageContext.tsx", + "path": "graylog2-web-interface/src/components/authentication/directoryServices/BackendWizard/BackendWizard.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 25 }, { - "blob_sha": "8c021440613291e1e1d367b9bc5de0cbecf99b20", + "blob_sha": "15c906debd7d40676088963d32e28feee1a21006", "commits": [], - "end_line": 20, - "id": "E2", + "end_line": 24, + "id": "E9", "kind": "lines", - "path": "graylog2-web-interface/src/components/authentication/AuthenticatorsDetails/HTTPHeaderAuthConfigSection.tsx", + "path": "graylog2-web-interface/src/components/authentication/directoryServices/BackendWizard/GroupSyncStep.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 24 }, { - "blob_sha": "f310b0f3c47f29b3de6be65fca586fb260ee21bf", + "blob_sha": "34cc492c4755e3b268253b2016fbd8661824c2c8", "commits": [], - "end_line": 22, - "id": "E3", + "end_line": 23, + "id": "E10", "kind": "lines", - "path": "graylog2-web-interface/src/components/authentication/AuthenticatorsEdit/HTTPHeaderAuthConfigSection.tsx", + "path": "graylog2-web-interface/src/components/authentication/directoryServices/BackendWizard/ServerConfigStep.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 23 } ], "src": "M:graylog2-web-interface/src/components" }, { - "count": 7, - "dst": "M:graylog2-web-interface/src/pages", + "count": 278, + "dst": "M:graylog2-web-interface/src/views", "how": "import-path", - "id": "M:graylog2-web-interface/src/components->M:graylog2-web-interface/src/pages", + "id": "M:graylog2-web-interface/src/components->M:graylog2-web-interface/src/views", "kind": "uses", "refs": [ { - "blob_sha": "d4cbc6c20f790336fd4707d2915f5c32a117bea4", + "blob_sha": "da1f2d4b5b4b62f5e27ded72d7d8cde49bb9e1ab", "commits": [], - "end_line": 22, + "end_line": 34, "id": "E1", "kind": "lines", - "path": "graylog2-web-interface/src/components/configurations/PluginsConfig.tsx", + "path": "graylog2-web-interface/src/components/collectors/hooks/useCollectorLogPreview.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 34 }, { - "blob_sha": "77dceedff457bcdc2e8663bdb8f4afc48d84ff27", + "blob_sha": "da1f2d4b5b4b62f5e27ded72d7d8cde49bb9e1ab", "commits": [], - "end_line": 19, + "end_line": 27, "id": "E2", "kind": "lines", - "path": "graylog2-web-interface/src/components/configurations/bindings.ts", + "path": "graylog2-web-interface/src/components/collectors/hooks/useCollectorLogPreview.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 27 }, { - "blob_sha": "07c5e51559317eb723b6935bf35c53fb9a1096c0", + "blob_sha": "da1f2d4b5b4b62f5e27ded72d7d8cde49bb9e1ab", "commits": [], - "end_line": 31, + "end_line": 28, "id": "E3", "kind": "lines", - "path": "graylog2-web-interface/src/components/errors/ReportedErrorBoundary.tsx", + "path": "graylog2-web-interface/src/components/collectors/hooks/useCollectorLogPreview.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 31 - } - ], - "src": "M:graylog2-web-interface/src/components" - }, - { - "count": 9, - "dst": "M:graylog2-web-interface/src/preflight", - "how": "import-path", - "id": "M:graylog2-web-interface/src/components->M:graylog2-web-interface/src/preflight", - "kind": "uses", - "refs": [ + "start_line": 28 + }, { - "blob_sha": "edf21018606e5249e017e7375bee79f8aca9f9d3", + "blob_sha": "da1f2d4b5b4b62f5e27ded72d7d8cde49bb9e1ab", "commits": [], - "end_line": 31, - "id": "E1", + "end_line": 35, + "id": "E4", "kind": "lines", - "path": "graylog2-web-interface/src/components/configurations/MarkdownConfig.tsx", + "path": "graylog2-web-interface/src/components/collectors/hooks/useCollectorLogPreview.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 31 + "start_line": 35 }, { - "blob_sha": "774600c732ad1b52bf05622c0802d1e98ee0050f", + "blob_sha": "da1f2d4b5b4b62f5e27ded72d7d8cde49bb9e1ab", "commits": [], "end_line": 29, - "id": "E2", + "id": "E5", "kind": "lines", - "path": "graylog2-web-interface/src/components/datanode/DataNodeConfiguration/CAUpload.tsx", + "path": "graylog2-web-interface/src/components/collectors/hooks/useCollectorLogPreview.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 29 }, { - "blob_sha": "92d7be2fe61c7aa0973e1cc953278ed4a454061f", + "blob_sha": "da1f2d4b5b4b62f5e27ded72d7d8cde49bb9e1ab", "commits": [], - "end_line": 21, - "id": "E3", + "end_line": 30, + "id": "E6", "kind": "lines", - "path": "graylog2-web-interface/src/components/datanode/DataNodeList/DataNodeBadge.tsx", + "path": "graylog2-web-interface/src/components/collectors/hooks/useCollectorLogPreview.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 - } - ], - "src": "M:graylog2-web-interface/src/components" - }, - { - "count": 291, - "dst": "M:graylog2-web-interface/src/routing", - "how": "import-path", - "id": "M:graylog2-web-interface/src/components->M:graylog2-web-interface/src/routing", - "kind": "uses", - "refs": [ + "start_line": 30 + }, { - "blob_sha": "11618f1439de3bebcb45ce313e6c858c2d88c28c", + "blob_sha": "da1f2d4b5b4b62f5e27ded72d7d8cde49bb9e1ab", "commits": [], - "end_line": 20, - "id": "E1", + "end_line": 33, + "id": "E7", "kind": "lines", - "path": "graylog2-web-interface/src/components/assistant/AssistantPageContext.tsx", + "path": "graylog2-web-interface/src/components/collectors/hooks/useCollectorLogPreview.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 33 }, { - "blob_sha": "ba71bb8493935b7348d280e3e595357108edb0db", + "blob_sha": "da1f2d4b5b4b62f5e27ded72d7d8cde49bb9e1ab", "commits": [], - "end_line": 19, - "id": "E2", + "end_line": 31, + "id": "E8", "kind": "lines", - "path": "graylog2-web-interface/src/components/authentication/AuthenticatorActionLinks.tsx", + "path": "graylog2-web-interface/src/components/collectors/hooks/useCollectorLogPreview.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 31 }, { - "blob_sha": "f310b0f3c47f29b3de6be65fca586fb260ee21bf", + "blob_sha": "da1f2d4b5b4b62f5e27ded72d7d8cde49bb9e1ab", "commits": [], - "end_line": 21, - "id": "E3", + "end_line": 32, + "id": "E9", "kind": "lines", - "path": "graylog2-web-interface/src/components/authentication/AuthenticatorsEdit/HTTPHeaderAuthConfigSection.tsx", + "path": "graylog2-web-interface/src/components/collectors/hooks/useCollectorLogPreview.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 32 + }, + { + "blob_sha": "1aa7dd43a6d013ba6a6c5181bf16b3b5d5301f5b", + "commits": [], + "end_line": 26, + "id": "E10", + "kind": "lines", + "path": "graylog2-web-interface/src/components/collectors/hooks/useFleetReceivingCounts.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 } ], "src": "M:graylog2-web-interface/src/components" }, { - "count": 195, - "dst": "M:graylog2-web-interface/src/stores", + "count": 1, + "dst": "M:graylog2-web-interface/packages/graylog-web-plugin", "how": "import-path", - "id": "M:graylog2-web-interface/src/components->M:graylog2-web-interface/src/stores", + "id": "M:graylog2-web-interface/src/contexts->M:graylog2-web-interface/packages/graylog-web-plugin", "kind": "uses", "refs": [ { - "blob_sha": "18529ecd6111d5f0112f7c4bcbfa047d4aaa4d0f", + "blob_sha": "b84eb73c5219c39d94d3514cf930445daffdf9b0", "commits": [], - "end_line": 28, + "end_line": 25, "id": "E1", "kind": "lines", - "path": "graylog2-web-interface/src/components/authentication/BackendDetails/SyncedUsersSection/SyncedUsersSection.tsx", + "path": "graylog2-web-interface/src/contexts/HotkeysProvider.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 - }, + "start_line": 25 + } + ], + "src": "M:graylog2-web-interface/src/contexts" + }, + { + "count": 1, + "dst": "M:graylog2-web-interface/src/api", + "how": "import-path", + "id": "M:graylog2-web-interface/src/contexts->M:graylog2-web-interface/src/api", + "kind": "uses", + "refs": [ { - "blob_sha": "d58326ace9e43352d2d57f736cbaba68ad904773", + "blob_sha": "77aacdddd7f0f71e5145e8a983af899315ff1f41", "commits": [], "end_line": 22, - "id": "E2", + "id": "E1", "kind": "lines", - "path": "graylog2-web-interface/src/components/cluster-configuration/data-nodes/fetchClusterDataNodes.ts", + "path": "graylog2-web-interface/src/contexts/ServerAvailabilityProvider.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 22 - }, + } + ], + "src": "M:graylog2-web-interface/src/contexts" + }, + { + "count": 1, + "dst": "M:graylog2-web-interface/src/brand-customization", + "how": "import-path", + "id": "M:graylog2-web-interface/src/contexts->M:graylog2-web-interface/src/brand-customization", + "kind": "uses", + "refs": [ { - "blob_sha": "4abff3fe2d9a719d378c97324b5ca436b9d5b2da", + "blob_sha": "0aa94c2f18963ed4730cfb37803fb14bea50a088", "commits": [], - "end_line": 24, - "id": "E3", + "end_line": 20, + "id": "E1", "kind": "lines", - "path": "graylog2-web-interface/src/components/cluster-configuration/graylog-nodes/fetchClusterGraylogNodes.ts", + "path": "graylog2-web-interface/src/contexts/DocumentTitleContextProvider.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 20 } ], - "src": "M:graylog2-web-interface/src/components" + "src": "M:graylog2-web-interface/src/contexts" }, { - "count": 57, - "dst": "M:graylog2-web-interface/src/theme", + "count": 5, + "dst": "M:graylog2-web-interface/src/components", "how": "import-path", - "id": "M:graylog2-web-interface/src/components->M:graylog2-web-interface/src/theme", + "id": "M:graylog2-web-interface/src/contexts->M:graylog2-web-interface/src/components", "kind": "uses", "refs": [ { - "blob_sha": "1f98a5c757c72c176ce0dcc13cba3c0c0df355f3", + "blob_sha": "4dc2444fc546506dd0890d07e0f94773b34b9c5e", "commits": [], "end_line": 22, "id": "E1", "kind": "lines", - "path": "graylog2-web-interface/src/components/bootstrap/Alert.tsx", + "path": "graylog2-web-interface/src/contexts/CurrentUserProvider.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 22 }, { - "blob_sha": "9d22ab2915d6457b93df9e2e76f91c15fa969ca5", + "blob_sha": "41ab3b4ad0d959d94b2499c21b05b540e541c151", "commits": [], - "end_line": 22, + "end_line": 21, "id": "E2", "kind": "lines", - "path": "graylog2-web-interface/src/components/bootstrap/Badge.tsx", + "path": "graylog2-web-interface/src/contexts/EventReplaySelectedContext.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 21 }, { - "blob_sha": "9d22ab2915d6457b93df9e2e76f91c15fa969ca5", + "blob_sha": "b84eb73c5219c39d94d3514cf930445daffdf9b0", "commits": [], - "end_line": 27, + "end_line": 31, "id": "E3", "kind": "lines", - "path": "graylog2-web-interface/src/components/bootstrap/Badge.tsx", - "repo": "Graylog2/graylog2-server", - "role": "import", - "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 - } - ], - "src": "M:graylog2-web-interface/src/components" - }, - { - "count": 14, - "dst": "M:graylog2-web-interface/src/types", - "how": "import-path", - "id": "M:graylog2-web-interface/src/components->M:graylog2-web-interface/src/types", - "kind": "uses", - "refs": [ - { - "blob_sha": "d58326ace9e43352d2d57f736cbaba68ad904773", - "commits": [], - "end_line": 21, - "id": "E1", - "kind": "lines", - "path": "graylog2-web-interface/src/components/cluster-configuration/data-nodes/fetchClusterDataNodes.ts", + "path": "graylog2-web-interface/src/contexts/HotkeysProvider.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 31 }, { - "blob_sha": "4abff3fe2d9a719d378c97324b5ca436b9d5b2da", + "blob_sha": "0314bd1e86a4017aa6e82cd7f0d1f73e502c8a0a", "commits": [], - "end_line": 25, - "id": "E2", + "end_line": 20, + "id": "E4", "kind": "lines", - "path": "graylog2-web-interface/src/components/cluster-configuration/graylog-nodes/fetchClusterGraylogNodes.ts", + "path": "graylog2-web-interface/src/contexts/InputsContext.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 20 }, { - "blob_sha": "54cec556a81a2d7da36397355e932ee3f6c7ec50", + "blob_sha": "d9d591aa5c59deb796975e268e60f6a380253b4d", "commits": [], - "end_line": 20, - "id": "E3", + "end_line": 19, + "id": "E5", "kind": "lines", - "path": "graylog2-web-interface/src/components/inputs/helpers/InputThroughputUtils.ts", + "path": "graylog2-web-interface/src/contexts/StreamsProvider.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 19 } ], - "src": "M:graylog2-web-interface/src/components" + "src": "M:graylog2-web-interface/src/contexts" }, { - "count": 495, - "dst": "M:graylog2-web-interface/src/util", + "count": 8, + "dst": "M:graylog2-web-interface/src/hooks", "how": "import-path", - "id": "M:graylog2-web-interface/src/components->M:graylog2-web-interface/src/util", + "id": "M:graylog2-web-interface/src/contexts->M:graylog2-web-interface/src/hooks", "kind": "uses", "refs": [ { - "blob_sha": "11618f1439de3bebcb45ce313e6c858c2d88c28c", + "blob_sha": "0da170bec1ef2f768af92705a5f88a6fad5ca52d", "commits": [], - "end_line": 22, + "end_line": 19, "id": "E1", "kind": "lines", - "path": "graylog2-web-interface/src/components/assistant/AssistantPageContext.tsx", + "path": "graylog2-web-interface/src/contexts/CurrentUserPreferencesProvider.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 19 }, { - "blob_sha": "61e73e3508aec1a4dd48aa9648f08da33b02d68c", + "blob_sha": "4dc2444fc546506dd0890d07e0f94773b34b9c5e", "commits": [], - "end_line": 24, + "end_line": 20, "id": "E2", "kind": "lines", - "path": "graylog2-web-interface/src/components/authentication/BackendCreate/ServiceSelect.tsx", + "path": "graylog2-web-interface/src/contexts/CurrentUserProvider.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 20 }, { - "blob_sha": "7a6c785b6d590392016a30db21d257bd46ffbfb8", + "blob_sha": "e25f4371859cf7b69618b777b55771568bc087bd", "commits": [], "end_line": 20, "id": "E3", "kind": "lines", - "path": "graylog2-web-interface/src/components/authentication/BackendDetails/BackendDetails.tsx", + "path": "graylog2-web-interface/src/contexts/FormWarningsProvider.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 20 - } - ], - "src": "M:graylog2-web-interface/src/components" - }, - { - "count": 278, - "dst": "M:graylog2-web-interface/src/views", - "how": "import-path", - "id": "M:graylog2-web-interface/src/components->M:graylog2-web-interface/src/views", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "da1f2d4b5b4b62f5e27ded72d7d8cde49bb9e1ab", + "blob_sha": "93eaeb1fba8f560ca9aa35bdf1e4b8462931ed7a", "commits": [], - "end_line": 34, - "id": "E1", + "end_line": 20, + "id": "E4", "kind": "lines", - "path": "graylog2-web-interface/src/components/collectors/hooks/useCollectorLogPreview.ts", + "path": "graylog2-web-interface/src/contexts/GlobalContextProviders.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 34 + "start_line": 20 }, { - "blob_sha": "da1f2d4b5b4b62f5e27ded72d7d8cde49bb9e1ab", + "blob_sha": "b84eb73c5219c39d94d3514cf930445daffdf9b0", "commits": [], - "end_line": 27, - "id": "E2", + "end_line": 32, + "id": "E5", "kind": "lines", - "path": "graylog2-web-interface/src/components/collectors/hooks/useCollectorLogPreview.ts", + "path": "graylog2-web-interface/src/contexts/HotkeysProvider.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 32 }, { - "blob_sha": "da1f2d4b5b4b62f5e27ded72d7d8cde49bb9e1ab", + "blob_sha": "d1dd0ef9c9360d4120a2451ff3884fb41e415b86", "commits": [], - "end_line": 28, - "id": "E3", + "end_line": 20, + "id": "E6", "kind": "lines", - "path": "graylog2-web-interface/src/components/collectors/hooks/useCollectorLogPreview.ts", + "path": "graylog2-web-interface/src/contexts/InputsProvider.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 - } - ], - "src": "M:graylog2-web-interface/src/components" - }, - { - "count": 1, - "dst": "M:graylog2-web-interface/packages/graylog-web-plugin", - "how": "import-path", - "id": "M:graylog2-web-interface/src/contexts->M:graylog2-web-interface/packages/graylog-web-plugin", - "kind": "uses", - "refs": [ + "start_line": 20 + }, { - "blob_sha": "b84eb73c5219c39d94d3514cf930445daffdf9b0", + "blob_sha": "8b237a17435fe87c312be8af8a58cb76d6555b8a", "commits": [], - "end_line": 25, - "id": "E1", + "end_line": 21, + "id": "E7", "kind": "lines", - "path": "graylog2-web-interface/src/contexts/HotkeysProvider.tsx", + "path": "graylog2-web-interface/src/contexts/ScratchpadProvider.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 - } - ], - "src": "M:graylog2-web-interface/src/contexts" - }, - { - "count": 1, - "dst": "M:graylog2-web-interface/src/api", - "how": "import-path", - "id": "M:graylog2-web-interface/src/contexts->M:graylog2-web-interface/src/api", - "kind": "uses", - "refs": [ + "start_line": 21 + }, { - "blob_sha": "77aacdddd7f0f71e5145e8a983af899315ff1f41", + "blob_sha": "e8a7c6b89fc7a8801dc0d5aef04d498d9dacd4c0", "commits": [], "end_line": 22, - "id": "E1", + "id": "E8", "kind": "lines", - "path": "graylog2-web-interface/src/contexts/ServerAvailabilityProvider.tsx", + "path": "graylog2-web-interface/src/contexts/UserDateTimeProvider.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", @@ -36047,161 +64493,131 @@ "src": "M:graylog2-web-interface/src/contexts" }, { - "count": 1, - "dst": "M:graylog2-web-interface/src/brand-customization", + "count": 25, + "dst": "M:graylog2-web-interface/src/logic", "how": "import-path", - "id": "M:graylog2-web-interface/src/contexts->M:graylog2-web-interface/src/brand-customization", + "id": "M:graylog2-web-interface/src/contexts->M:graylog2-web-interface/src/logic", "kind": "uses", "refs": [ { - "blob_sha": "0aa94c2f18963ed4730cfb37803fb14bea50a088", + "blob_sha": "a98fbdb323c26c7aa37ab676341f22cfb8984f0a", "commits": [], "end_line": 20, "id": "E1", "kind": "lines", - "path": "graylog2-web-interface/src/contexts/DocumentTitleContextProvider.tsx", + "path": "graylog2-web-interface/src/contexts/CurrentUserContext.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 20 - } - ], - "src": "M:graylog2-web-interface/src/contexts" - }, - { - "count": 5, - "dst": "M:graylog2-web-interface/src/components", - "how": "import-path", - "id": "M:graylog2-web-interface/src/contexts->M:graylog2-web-interface/src/components", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "4dc2444fc546506dd0890d07e0f94773b34b9c5e", + "blob_sha": "a98fbdb323c26c7aa37ab676341f22cfb8984f0a", "commits": [], - "end_line": 22, - "id": "E1", + "end_line": 19, + "id": "E2", "kind": "lines", - "path": "graylog2-web-interface/src/contexts/CurrentUserProvider.tsx", + "path": "graylog2-web-interface/src/contexts/CurrentUserContext.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 19 }, { - "blob_sha": "41ab3b4ad0d959d94b2499c21b05b540e541c151", + "blob_sha": "4dc2444fc546506dd0890d07e0f94773b34b9c5e", "commits": [], "end_line": 21, - "id": "E2", + "id": "E3", "kind": "lines", - "path": "graylog2-web-interface/src/contexts/EventReplaySelectedContext.ts", + "path": "graylog2-web-interface/src/contexts/CurrentUserProvider.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 21 }, { - "blob_sha": "b84eb73c5219c39d94d3514cf930445daffdf9b0", + "blob_sha": "4dc2444fc546506dd0890d07e0f94773b34b9c5e", "commits": [], - "end_line": 31, - "id": "E3", + "end_line": 19, + "id": "E4", "kind": "lines", - "path": "graylog2-web-interface/src/contexts/HotkeysProvider.tsx", + "path": "graylog2-web-interface/src/contexts/CurrentUserProvider.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 31 - } - ], - "src": "M:graylog2-web-interface/src/contexts" - }, - { - "count": 8, - "dst": "M:graylog2-web-interface/src/hooks", - "how": "import-path", - "id": "M:graylog2-web-interface/src/contexts->M:graylog2-web-interface/src/hooks", - "kind": "uses", - "refs": [ + "start_line": 19 + }, { - "blob_sha": "0da170bec1ef2f768af92705a5f88a6fad5ca52d", + "blob_sha": "74682996e3decdc4a5413a3d67809a7ffac1719d", "commits": [], "end_line": 19, - "id": "E1", + "id": "E5", "kind": "lines", - "path": "graylog2-web-interface/src/contexts/CurrentUserPreferencesProvider.tsx", + "path": "graylog2-web-interface/src/contexts/DocumentTitleContext.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 19 }, { - "blob_sha": "4dc2444fc546506dd0890d07e0f94773b34b9c5e", + "blob_sha": "41ab3b4ad0d959d94b2499c21b05b540e541c151", "commits": [], - "end_line": 20, - "id": "E2", + "end_line": 19, + "id": "E6", "kind": "lines", - "path": "graylog2-web-interface/src/contexts/CurrentUserProvider.tsx", + "path": "graylog2-web-interface/src/contexts/EventReplaySelectedContext.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 19 }, { - "blob_sha": "e25f4371859cf7b69618b777b55771568bc087bd", + "blob_sha": "f5e8ff5f8b72b385fd14c861e92ddee3edb5944d", "commits": [], "end_line": 20, - "id": "E3", + "id": "E7", "kind": "lines", - "path": "graylog2-web-interface/src/contexts/FormWarningsProvider.tsx", + "path": "graylog2-web-interface/src/contexts/EventReplaySelectedProvider.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 20 - } - ], - "src": "M:graylog2-web-interface/src/contexts" - }, - { - "count": 25, - "dst": "M:graylog2-web-interface/src/logic", - "how": "import-path", - "id": "M:graylog2-web-interface/src/contexts->M:graylog2-web-interface/src/logic", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "a98fbdb323c26c7aa37ab676341f22cfb8984f0a", + "blob_sha": "4acea03e5a8ce1d76ed6801923c5408a3d35bf71", "commits": [], - "end_line": 20, - "id": "E1", + "end_line": 19, + "id": "E8", "kind": "lines", - "path": "graylog2-web-interface/src/contexts/CurrentUserContext.tsx", + "path": "graylog2-web-interface/src/contexts/FormWarningsContext.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 19 }, { - "blob_sha": "a98fbdb323c26c7aa37ab676341f22cfb8984f0a", + "blob_sha": "59a6a4780c23068b090ef7326b56cd185c4288bb", "commits": [], - "end_line": 19, - "id": "E2", + "end_line": 20, + "id": "E9", "kind": "lines", - "path": "graylog2-web-interface/src/contexts/CurrentUserContext.tsx", + "path": "graylog2-web-interface/src/contexts/HotkeysContext.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 20 }, { - "blob_sha": "4dc2444fc546506dd0890d07e0f94773b34b9c5e", + "blob_sha": "0314bd1e86a4017aa6e82cd7f0d1f73e502c8a0a", "commits": [], - "end_line": 21, - "id": "E3", + "end_line": 19, + "id": "E10", "kind": "lines", - "path": "graylog2-web-interface/src/contexts/CurrentUserProvider.tsx", + "path": "graylog2-web-interface/src/contexts/InputsContext.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 21 + "start_line": 19 } ], "src": "M:graylog2-web-interface/src/contexts" @@ -36316,6 +64732,18 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 20 + }, + { + "blob_sha": "cfb8596610fdc914403028781b9497dea0723a4b", + "commits": [], + "end_line": 19, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/contexts/UserPreferencesContext.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 } ], "src": "M:graylog2-web-interface/src/contexts" @@ -36396,6 +64824,78 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 22 + }, + { + "blob_sha": "77aacdddd7f0f71e5145e8a983af899315ff1f41", + "commits": [], + "end_line": 20, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/contexts/ServerAvailabilityProvider.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "7e882457e01f88fe346148ce31d6535231882cb1", + "commits": [], + "end_line": 21, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/contexts/UserDateTimeContext.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "e8a7c6b89fc7a8801dc0d5aef04d498d9dacd4c0", + "commits": [], + "end_line": 21, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/contexts/UserDateTimeProvider.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "e8a7c6b89fc7a8801dc0d5aef04d498d9dacd4c0", + "commits": [], + "end_line": 23, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/contexts/UserDateTimeProvider.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "e8a7c6b89fc7a8801dc0d5aef04d498d9dacd4c0", + "commits": [], + "end_line": 24, + "id": "E8", + "kind": "lines", + "path": "graylog2-web-interface/src/contexts/UserDateTimeProvider.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "6e8cc81318400b4d3353ae11a11297f0ec8e01a1", + "commits": [], + "end_line": 17, + "id": "E9", + "kind": "lines", + "path": "graylog2-web-interface/src/contexts/defaultQueryOptions.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 17 } ], "src": "M:graylog2-web-interface/src/contexts" @@ -36544,6 +65044,18 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 17 + }, + { + "blob_sha": "a588b070c44f1cc9b03b348ab161a5e4c0f054b7", + "commits": [], + "end_line": 31, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/domainActions/users/UsersDomain.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 } ], "src": "M:graylog2-web-interface/src/domainActions" @@ -36590,6 +65102,18 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 18 + }, + { + "blob_sha": "7ace51aed8c003a45532f5eaa8db87d03644800d", + "commits": [], + "end_line": 25, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/domainActions/permissions/EntityShareDomain.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 } ], "src": "M:graylog2-web-interface/src/domainActions" @@ -36682,6 +65206,18 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 18 + }, + { + "blob_sha": "bff5bc308fd28b6321183d727ecf2bbf7752ce04", + "commits": [], + "end_line": 19, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/usePluginEntities.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 } ], "src": "M:graylog2-web-interface/src/hooks" @@ -36800,152 +65336,488 @@ { "blob_sha": "1ae86de5eb72ea1b65722bb819199f98423a8fa6", "commits": [], - "end_line": 22, - "id": "E3", + "end_line": 22, + "id": "E3", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/useEventById.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "23f4be19b61eb442519336544af2781b951f7ee3", + "commits": [], + "end_line": 24, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/useEventDefinition.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "6d36c2d1e0af98b8f2895db99d2d3f6a79a14fd1", + "commits": [], + "end_line": 21, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/useIndicesConfiguration.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "c43db29a392f0ea4bd00bb275679a6973720e553", + "commits": [], + "end_line": 22, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/useInputType.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "bc09b36449deeaac7b316f929ad29758c1c4496c", + "commits": [], + "end_line": 25, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/useInputs.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "6db4998e4b14e0d5997ea16919fc648fc8a841e9", + "commits": [], + "end_line": 22, + "id": "E8", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/usePaginatedInputs.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "223dad36d5e15181a7accfe7eb5c92bd7476ab8c", + "commits": [], + "end_line": 21, + "id": "E9", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/usePipeline.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "73a62c286370dd5747f6b7e75fbce331fa017a35", + "commits": [], + "end_line": 22, + "id": "E10", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/usePipelineMutations.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + } + ], + "src": "M:graylog2-web-interface/src/hooks" + }, + { + "count": 13, + "dst": "M:graylog2-web-interface/src/contexts", + "how": "import-path", + "id": "M:graylog2-web-interface/src/hooks->M:graylog2-web-interface/src/contexts", + "kind": "uses", + "refs": [ + { + "blob_sha": "13bda3899cbf1534484bb0f0ffa5e2301fc2ae82", + "commits": [], + "end_line": 20, + "id": "E1", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/__mocks__/useUserDateTime.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "9cadc99474a049ffe4258533a4291182cf4a5329", + "commits": [], + "end_line": 19, + "id": "E2", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/useCurrentUser.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "d9114dd3d1c23e101ad56a1e2dc833c040febb5a", + "commits": [], + "end_line": 19, + "id": "E3", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/useDocumentTitle.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "45d8f175f10bf9100892369beac26ad8b5c93756", + "commits": [], + "end_line": 19, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/useHasAccessToAnyStream.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "1fc8cf5c9e59720b11ebc1316abad954c84fb721", + "commits": [], + "end_line": 22, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/useHotkey.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "46a8221d691c24e439051ce41ceb7c773ddd1d88", + "commits": [], + "end_line": 20, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/useHotkeysContext.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "bc09b36449deeaac7b316f929ad29758c1c4496c", + "commits": [], + "end_line": 26, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/useInputs.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "5427517cda6d5951cfdec3a7fd47bbee82587500", + "commits": [], + "end_line": 22, + "id": "E8", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/useMetrics.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "af22dece338f8551f4e5204bdc66ec70957a1722", + "commits": [], + "end_line": 19, + "id": "E9", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/useNodeSummaries.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "2882309eb70ff9c53a56f4717745d4c2eefe29b9", + "commits": [], + "end_line": 19, + "id": "E10", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/usePersistedSetting.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + } + ], + "src": "M:graylog2-web-interface/src/hooks" + }, + { + "count": 45, + "dst": "M:graylog2-web-interface/src/logic", + "how": "import-path", + "id": "M:graylog2-web-interface/src/hooks->M:graylog2-web-interface/src/logic", + "kind": "uses", + "refs": [ + { + "blob_sha": "50a69c32ead4eac88cac19910122e5a62a6ade31", + "commits": [], + "end_line": 17, + "id": "E1", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/__mocks__/useEntityShareState.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 17 + }, + { + "blob_sha": "8207d684503964f31e1d569b656e8cfab95d02a6", + "commits": [], + "end_line": 22, + "id": "E2", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/useAuthentication.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "8207d684503964f31e1d569b656e8cfab95d02a6", + "commits": [], + "end_line": 23, + "id": "E3", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/useAuthentication.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "8207d684503964f31e1d569b656e8cfab95d02a6", + "commits": [], + "end_line": 25, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/useAuthentication.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "8207d684503964f31e1d569b656e8cfab95d02a6", + "commits": [], + "end_line": 29, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/useAuthentication.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "8207d684503964f31e1d569b656e8cfab95d02a6", + "commits": [], + "end_line": 30, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/useAuthentication.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "5e96aafe31f26f08c176fb7ee6236b912b3c5807", + "commits": [], + "end_line": 24, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/useAuthzRoles.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "5e96aafe31f26f08c176fb7ee6236b912b3c5807", + "commits": [], + "end_line": 27, + "id": "E8", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/useAuthzRoles.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "5e96aafe31f26f08c176fb7ee6236b912b3c5807", + "commits": [], + "end_line": 28, + "id": "E9", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/useAuthzRoles.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "5e96aafe31f26f08c176fb7ee6236b912b3c5807", + "commits": [], + "end_line": 29, + "id": "E10", "kind": "lines", - "path": "graylog2-web-interface/src/hooks/useEventById.tsx", + "path": "graylog2-web-interface/src/hooks/useAuthzRoles.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 29 } ], "src": "M:graylog2-web-interface/src/hooks" }, { - "count": 13, - "dst": "M:graylog2-web-interface/src/contexts", + "count": 12, + "dst": "M:graylog2-web-interface/src/routing", "how": "import-path", - "id": "M:graylog2-web-interface/src/hooks->M:graylog2-web-interface/src/contexts", + "id": "M:graylog2-web-interface/src/hooks->M:graylog2-web-interface/src/routing", "kind": "uses", "refs": [ { - "blob_sha": "13bda3899cbf1534484bb0f0ffa5e2301fc2ae82", + "blob_sha": "8207d684503964f31e1d569b656e8cfab95d02a6", "commits": [], - "end_line": 20, + "end_line": 28, "id": "E1", "kind": "lines", - "path": "graylog2-web-interface/src/hooks/__mocks__/useUserDateTime.ts", + "path": "graylog2-web-interface/src/hooks/useAuthentication.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 20 + "start_line": 28 }, { - "blob_sha": "9cadc99474a049ffe4258533a4291182cf4a5329", + "blob_sha": "5e96aafe31f26f08c176fb7ee6236b912b3c5807", "commits": [], - "end_line": 19, + "end_line": 25, "id": "E2", "kind": "lines", - "path": "graylog2-web-interface/src/hooks/useCurrentUser.ts", + "path": "graylog2-web-interface/src/hooks/useAuthzRoles.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 25 }, { - "blob_sha": "d9114dd3d1c23e101ad56a1e2dc833c040febb5a", + "blob_sha": "6a3c1de9b7f061ccd8775109728f98788981d023", "commits": [], - "end_line": 19, + "end_line": 25, "id": "E3", "kind": "lines", - "path": "graylog2-web-interface/src/hooks/useDocumentTitle.ts", + "path": "graylog2-web-interface/src/hooks/useClusterSupportBundle.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 - } - ], - "src": "M:graylog2-web-interface/src/hooks" - }, - { - "count": 45, - "dst": "M:graylog2-web-interface/src/logic", - "how": "import-path", - "id": "M:graylog2-web-interface/src/hooks->M:graylog2-web-interface/src/logic", - "kind": "uses", - "refs": [ + "start_line": 25 + }, { - "blob_sha": "50a69c32ead4eac88cac19910122e5a62a6ade31", + "blob_sha": "d60b55993544fb32b7d0584a76607c35f2a8d44b", "commits": [], - "end_line": 17, - "id": "E1", + "end_line": 20, + "id": "E4", "kind": "lines", - "path": "graylog2-web-interface/src/hooks/__mocks__/useEntityShareState.ts", + "path": "graylog2-web-interface/src/hooks/useLocationSearchPagination.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 17 + "start_line": 20 }, { - "blob_sha": "8207d684503964f31e1d569b656e8cfab95d02a6", + "blob_sha": "d60b55993544fb32b7d0584a76607c35f2a8d44b", "commits": [], - "end_line": 22, - "id": "E2", + "end_line": 21, + "id": "E5", "kind": "lines", - "path": "graylog2-web-interface/src/hooks/useAuthentication.ts", + "path": "graylog2-web-interface/src/hooks/useLocationSearchPagination.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 21 }, { - "blob_sha": "8207d684503964f31e1d569b656e8cfab95d02a6", + "blob_sha": "8845605401966fdf0fe6f22ffd769c0c950175f7", "commits": [], - "end_line": 23, - "id": "E3", + "end_line": 21, + "id": "E6", "kind": "lines", - "path": "graylog2-web-interface/src/hooks/useAuthentication.ts", + "path": "graylog2-web-interface/src/hooks/useLogout.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 - } - ], - "src": "M:graylog2-web-interface/src/hooks" - }, - { - "count": 12, - "dst": "M:graylog2-web-interface/src/routing", - "how": "import-path", - "id": "M:graylog2-web-interface/src/hooks->M:graylog2-web-interface/src/routing", - "kind": "uses", - "refs": [ + "start_line": 21 + }, { - "blob_sha": "8207d684503964f31e1d569b656e8cfab95d02a6", + "blob_sha": "8845605401966fdf0fe6f22ffd769c0c950175f7", "commits": [], - "end_line": 28, - "id": "E1", + "end_line": 22, + "id": "E7", "kind": "lines", - "path": "graylog2-web-interface/src/hooks/useAuthentication.ts", + "path": "graylog2-web-interface/src/hooks/useLogout.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 28 + "start_line": 22 }, { - "blob_sha": "5e96aafe31f26f08c176fb7ee6236b912b3c5807", + "blob_sha": "2befcf02b65c84d0f78224d8a09df8998ca7fa27", "commits": [], - "end_line": 25, - "id": "E2", + "end_line": 19, + "id": "E8", "kind": "lines", - "path": "graylog2-web-interface/src/hooks/useAuthzRoles.ts", + "path": "graylog2-web-interface/src/hooks/usePaginationQueryParameter.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 19 }, { - "blob_sha": "6a3c1de9b7f061ccd8775109728f98788981d023", + "blob_sha": "c81f8fde3e221b35c8ef4090d54a2eac16094b89", "commits": [], - "end_line": 25, - "id": "E3", + "end_line": 24, + "id": "E9", "kind": "lines", - "path": "graylog2-web-interface/src/hooks/useClusterSupportBundle.ts", + "path": "graylog2-web-interface/src/hooks/useRuleBuilder.ts", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 24 + }, + { + "blob_sha": "c81f8fde3e221b35c8ef4090d54a2eac16094b89", + "commits": [], + "end_line": 26, + "id": "E10", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/useRuleBuilder.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 } ], "src": "M:graylog2-web-interface/src/hooks" @@ -36992,6 +65864,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 24 + }, + { + "blob_sha": "fe3e5048ee97f813764e9ccdea13deef27cc312e", + "commits": [], + "end_line": 21, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/useIndexSetStats.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "c2af831e5b3a92098677bbdea9342bdd8b36e437", + "commits": [], + "end_line": 19, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/useIsGlobalTimeoutEnabled.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "c2af831e5b3a92098677bbdea9342bdd8b36e437", + "commits": [], + "end_line": 20, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/useIsGlobalTimeoutEnabled.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "c2af831e5b3a92098677bbdea9342bdd8b36e437", + "commits": [], + "end_line": 21, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/useIsGlobalTimeoutEnabled.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "d60b55993544fb32b7d0584a76607c35f2a8d44b", + "commits": [], + "end_line": 22, + "id": "E8", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/useLocationSearchPagination.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "6db4998e4b14e0d5997ea16919fc648fc8a841e9", + "commits": [], + "end_line": 21, + "id": "E9", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/usePaginatedInputs.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "7970d5fc49c7183d8f041b52885dbc8b7de52e5c", + "commits": [], + "end_line": 30, + "id": "E10", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/useUsers.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 } ], "src": "M:graylog2-web-interface/src/hooks" @@ -37060,6 +66016,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 24 + }, + { + "blob_sha": "5e96aafe31f26f08c176fb7ee6236b912b3c5807", + "commits": [], + "end_line": 26, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/useAuthzRoles.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "a5561fbc13baa5552bc8815e99c2b047d6069d59", + "commits": [], + "end_line": 21, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/useBasicUser.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "c1aac532e011aa1a8a954607260faf9a018b339d", + "commits": [], + "end_line": 22, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/useClusterOverview.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "c1aac532e011aa1a8a954607260faf9a018b339d", + "commits": [], + "end_line": 23, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/useClusterOverview.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "6a3c1de9b7f061ccd8775109728f98788981d023", + "commits": [], + "end_line": 24, + "id": "E8", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/useClusterSupportBundle.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "6a3c1de9b7f061ccd8775109728f98788981d023", + "commits": [], + "end_line": 23, + "id": "E9", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/useClusterSupportBundle.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "6a3c1de9b7f061ccd8775109728f98788981d023", + "commits": [], + "end_line": 26, + "id": "E10", + "kind": "lines", + "path": "graylog2-web-interface/src/hooks/useClusterSupportBundle.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 } ], "src": "M:graylog2-web-interface/src/hooks" @@ -37162,6 +66202,18 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 20 + }, + { + "blob_sha": "f381d9b05283c8d99b7a05d75fbefa7f5a389582", + "commits": [], + "end_line": 22, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/integrations/pager-duty/PagerDutyNotificationForm.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 } ], "src": "M:graylog2-web-interface/src/integrations" @@ -37208,6 +66260,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 20 + }, + { + "blob_sha": "68b64545232d055b4c264f438f0da7948fb5baf7", + "commits": [], + "end_line": 20, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/integrations/aws/authentication/Automatic.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "68b64545232d055b4c264f438f0da7948fb5baf7", + "commits": [], + "end_line": 21, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/integrations/aws/authentication/Automatic.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "0055083621e402c26ee4820a5cc06b78b1c8579f", + "commits": [], + "end_line": 24, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/integrations/aws/cloudtrail/CloudTrail.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "f65a0db0ffb8c05593148229b18442e4561ef9bf", + "commits": [], + "end_line": 19, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/integrations/aws/cloudtrail/CloudTrailApp.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "f65a0db0ffb8c05593148229b18442e4561ef9bf", + "commits": [], + "end_line": 20, + "id": "E8", + "kind": "lines", + "path": "graylog2-web-interface/src/integrations/aws/cloudtrail/CloudTrailApp.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "8560a4868c3e2abc07a6d484b6730dfafc5efed1", + "commits": [], + "end_line": 20, + "id": "E9", + "kind": "lines", + "path": "graylog2-web-interface/src/integrations/aws/cloudtrail/FormAdvancedOptions.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "5b823544bb75edc6c9efae3fdea7533a1673668f", + "commits": [], + "end_line": 22, + "id": "E10", + "kind": "lines", + "path": "graylog2-web-interface/src/integrations/aws/cloudtrail/StepReview.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 } ], "src": "M:graylog2-web-interface/src/integrations" @@ -37300,6 +66436,18 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 19 + }, + { + "blob_sha": "15058664814bc472eeaed0345422d8fddeca3e99", + "commits": [], + "end_line": 20, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/integrations/hooks/useFetch.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 } ], "src": "M:graylog2-web-interface/src/integrations" @@ -37346,6 +66494,78 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 21 + }, + { + "blob_sha": "6d4ea84060cbd45616a3faf1d831887baf4bc9d2", + "commits": [], + "end_line": 19, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/integrations/aws/cloudtrail/CloudTrailInputConfiguration.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "299c3eeb771a155c508158ca06af18878f324fcf", + "commits": [], + "end_line": 17, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/integrations/aws/cloudtrail/common/Routes.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 17 + }, + { + "blob_sha": "b5c81626d4b4ecd21d86053c5eec5ccac8488708", + "commits": [], + "end_line": 22, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/integrations/aws/cloudwatch/CloudWatch.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "b5c81626d4b4ecd21d86053c5eec5ccac8488708", + "commits": [], + "end_line": 19, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/integrations/aws/cloudwatch/CloudWatch.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "10999e10b2a3552514794452132a718fb87d0516", + "commits": [], + "end_line": 21, + "id": "E8", + "kind": "lines", + "path": "graylog2-web-interface/src/integrations/aws/cloudwatch/StepReview.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "701e4cd32bfbad40f14c319e6307fd78f868473f", + "commits": [], + "end_line": 17, + "id": "E9", + "kind": "lines", + "path": "graylog2-web-interface/src/integrations/aws/common/Routes.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 17 } ], "src": "M:graylog2-web-interface/src/integrations" @@ -37392,6 +66612,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 23 + }, + { + "blob_sha": "b5c81626d4b4ecd21d86053c5eec5ccac8488708", + "commits": [], + "end_line": 21, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/integrations/aws/cloudwatch/CloudWatch.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "3c9550f666e7eb43acd04f5ca19028315ec29772", + "commits": [], + "end_line": 21, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/integrations/aws/cloudwatch/SidebarPermissions.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "26fec4bd861b391fc0ab138eae504aac5a4b1e7a", + "commits": [], + "end_line": 20, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/integrations/event-notifications/event-notification-types/SlackNotificationForm.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "6c2bab3f5052c569b50316707e9debb98598f487", + "commits": [], + "end_line": 24, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/integrations/event-notifications/event-notification-types/TeamsNotificationForm.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "6c2bab3f5052c569b50316707e9debb98598f487", + "commits": [], + "end_line": 20, + "id": "E8", + "kind": "lines", + "path": "graylog2-web-interface/src/integrations/event-notifications/event-notification-types/TeamsNotificationForm.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "f25c83a2d0f96dc366454e41a9eeb345ce0b9192", + "commits": [], + "end_line": 23, + "id": "E9", + "kind": "lines", + "path": "graylog2-web-interface/src/integrations/event-notifications/event-notification-types/TeamsNotificationV2Form.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "f25c83a2d0f96dc366454e41a9eeb345ce0b9192", + "commits": [], + "end_line": 20, + "id": "E10", + "kind": "lines", + "path": "graylog2-web-interface/src/integrations/event-notifications/event-notification-types/TeamsNotificationV2Form.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 } ], "src": "M:graylog2-web-interface/src/integrations" @@ -37516,40 +66820,124 @@ "kind": "uses", "refs": [ { - "blob_sha": "edbb55e984adc810a7d5fb49030156565d0069ca", + "blob_sha": "edbb55e984adc810a7d5fb49030156565d0069ca", + "commits": [], + "end_line": 19, + "id": "E1", + "kind": "lines", + "path": "graylog2-web-interface/src/logic/authentication/AuthenticationBackend.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "1270a4b6b48c3488fbe445369f91643f4251779e", + "commits": [], + "end_line": 22, + "id": "E2", + "kind": "lines", + "path": "graylog2-web-interface/src/logic/content-packs/ContentPack.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "ff7e85d18be2335ef689d9c67926935b953718ee", + "commits": [], + "end_line": 19, + "id": "E3", + "kind": "lines", + "path": "graylog2-web-interface/src/logic/telemetry/TelemetryInfoModal.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "4c22bce1c488ae9c9a925445a833d42531c072f6", + "commits": [], + "end_line": 20, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/logic/telemetry/TelemetryInfoText.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "4c22bce1c488ae9c9a925445a833d42531c072f6", + "commits": [], + "end_line": 19, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/logic/telemetry/TelemetryInfoText.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "4e399737cb52238c7b7b2135664e93cf64ca3753", "commits": [], - "end_line": 19, - "id": "E1", + "end_line": 23, + "id": "E6", "kind": "lines", - "path": "graylog2-web-interface/src/logic/authentication/AuthenticationBackend.ts", + "path": "graylog2-web-interface/src/logic/telemetry/TelemetrySettingsConfig.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 19 + "start_line": 23 }, { - "blob_sha": "1270a4b6b48c3488fbe445369f91643f4251779e", + "blob_sha": "4e399737cb52238c7b7b2135664e93cf64ca3753", + "commits": [], + "end_line": 21, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/logic/telemetry/TelemetrySettingsConfig.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "4e399737cb52238c7b7b2135664e93cf64ca3753", "commits": [], "end_line": 22, - "id": "E2", + "id": "E8", "kind": "lines", - "path": "graylog2-web-interface/src/logic/content-packs/ContentPack.ts", + "path": "graylog2-web-interface/src/logic/telemetry/TelemetrySettingsConfig.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 22 }, { - "blob_sha": "ff7e85d18be2335ef689d9c67926935b953718ee", + "blob_sha": "ce92a8b8f2062feba7bdb6a87d941dd51fd57ab5", "commits": [], "end_line": 19, - "id": "E3", + "id": "E9", "kind": "lines", - "path": "graylog2-web-interface/src/logic/telemetry/TelemetryInfoModal.tsx", + "path": "graylog2-web-interface/src/logic/telemetry/TelemetrySettingsDetails.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 19 + }, + { + "blob_sha": "ce92a8b8f2062feba7bdb6a87d941dd51fd57ab5", + "commits": [], + "end_line": 20, + "id": "E10", + "kind": "lines", + "path": "graylog2-web-interface/src/logic/telemetry/TelemetrySettingsDetails.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 } ], "src": "M:graylog2-web-interface/src/logic" @@ -37732,6 +67120,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 20 + }, + { + "blob_sha": "d36b736f8d31511fbbe2730f29149abdaa37b9d5", + "commits": [], + "end_line": 20, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/logic/permissions/mocked.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "542897047289275fd068d877c0d747805e2fe57e", + "commits": [], + "end_line": 17, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/logic/rest/FetchProvider.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 17 + }, + { + "blob_sha": "9475fe2eaea33c8d679bff9c0fe389d38cc0dfdc", + "commits": [], + "end_line": 19, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/logic/session/SessionApi.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "39492a6a73fc484c8396b0ee8944a9a4643ee437", + "commits": [], + "end_line": 17, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/logic/streams/streamCategoryName.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 17 + }, + { + "blob_sha": "45bcf61a41bd48e86f2b4cd7ef1ff57e85e61dfd", + "commits": [], + "end_line": 22, + "id": "E8", + "kind": "lines", + "path": "graylog2-web-interface/src/logic/telemetry/TelemetryInit.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "ba666958476ad65c99130ccc74b21f0d4f8e7a63", + "commits": [], + "end_line": 29, + "id": "E9", + "kind": "lines", + "path": "graylog2-web-interface/src/logic/telemetry/TelemetryProvider.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "ba666958476ad65c99130ccc74b21f0d4f8e7a63", + "commits": [], + "end_line": 21, + "id": "E10", + "kind": "lines", + "path": "graylog2-web-interface/src/logic/telemetry/TelemetryProvider.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 } ], "src": "M:graylog2-web-interface/src/logic" @@ -37822,6 +67294,18 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 21 + }, + { + "blob_sha": "7d75e9f6ae8da8b8b81b931f0cb54562bfd4d423", + "commits": [], + "end_line": 29, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/StreamsPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 } ], "src": "M:graylog2-web-interface/src/pages" @@ -37868,6 +67352,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 31 + }, + { + "blob_sha": "d8deff644c700102f67d9cca6f4589c59ee027bc", + "commits": [], + "end_line": 19, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/DataNodeUpgradePage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "d6465aef9f409a68f99df7e8e854027b1290c22e", + "commits": [], + "end_line": 20, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/DataNodesClusterManagementPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "d44604267df4a299f3131a44be79b1e4fb42f129", + "commits": [], + "end_line": 29, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/DataNodesMigrationPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "c7c4a469624acae4edc9c122d9c8d249c1ea9323", + "commits": [], + "end_line": 35, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/EditContentPackPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + }, + { + "blob_sha": "0004e4b166e5ad8e3eb15e246fd739717378620e", + "commits": [], + "end_line": 24, + "id": "E8", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/EnterprisePage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "ca858e1d771d93eda326ee528a149859b77752dc", + "commits": [], + "end_line": 26, + "id": "E9", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/ImportExtractorsPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "3be0e786c2d058f980f8e4ef21507fbdfeaf868d", + "commits": [], + "end_line": 23, + "id": "E10", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/IndexSetPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 } ], "src": "M:graylog2-web-interface/src/pages" @@ -37914,6 +67482,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 20 + }, + { + "blob_sha": "ee772a6c40325bb6aa8680e6aca341b1a46cff38", + "commits": [], + "end_line": 20, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/AuthenticationBackendDetailsPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "ee772a6c40325bb6aa8680e6aca341b1a46cff38", + "commits": [], + "end_line": 27, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/AuthenticationBackendDetailsPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "ee772a6c40325bb6aa8680e6aca341b1a46cff38", + "commits": [], + "end_line": 23, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/AuthenticationBackendDetailsPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "ee772a6c40325bb6aa8680e6aca341b1a46cff38", + "commits": [], + "end_line": 29, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/AuthenticationBackendDetailsPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "ee772a6c40325bb6aa8680e6aca341b1a46cff38", + "commits": [], + "end_line": 22, + "id": "E8", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/AuthenticationBackendDetailsPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "f0c3949f629dbe75c2ffeb8d8e85d1f644d69356", + "commits": [], + "end_line": 23, + "id": "E9", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/AuthenticationBackendEditPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "f0c3949f629dbe75c2ffeb8d8e85d1f644d69356", + "commits": [], + "end_line": 25, + "id": "E10", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/AuthenticationBackendEditPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 } ], "src": "M:graylog2-web-interface/src/pages" @@ -37960,6 +67612,78 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 25 + }, + { + "blob_sha": "76f78f87af7369c59ee7c293da3d89695c781b8b", + "commits": [], + "end_line": 24, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/LoggedInPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "76f78f87af7369c59ee7c293da3d89695c781b8b", + "commits": [], + "end_line": 21, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/LoggedInPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "76f78f87af7369c59ee7c293da3d89695c781b8b", + "commits": [], + "end_line": 20, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/LoggedInPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "c3f679bcef3e106ff7c00986d45c9f8d066465f2", + "commits": [], + "end_line": 28, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/ServerUnavailablePage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "8c8d1de23dacb3b8f9bc3d25f3c3028b202eb3e6", + "commits": [], + "end_line": 38, + "id": "E8", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/ShowMessagePage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 38 + }, + { + "blob_sha": "8c8d1de23dacb3b8f9bc3d25f3c3028b202eb3e6", + "commits": [], + "end_line": 29, + "id": "E9", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/ShowMessagePage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 } ], "src": "M:graylog2-web-interface/src/pages" @@ -38006,6 +67730,54 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 28 + }, + { + "blob_sha": "9ce6953e68f05c021b08c493766699002b443f25", + "commits": [], + "end_line": 22, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/RoleDetailsPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "5271c87c44e5fabee5aa93b43a5ba24711c99d0b", + "commits": [], + "end_line": 23, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/UserDetailsPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "5e7d73feed18d53573841d99e1b37e85ff2be934", + "commits": [], + "end_line": 22, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/UserEditPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "1035a50fde4361ad94da278a5509dc7099171a92", + "commits": [], + "end_line": 23, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/UserTokensEditPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 } ], "src": "M:graylog2-web-interface/src/pages" @@ -38027,77 +67799,245 @@ "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 25 + "start_line": 25 + }, + { + "blob_sha": "60becda709f46a4292e5d42cd39fb4cc31fa9792", + "commits": [], + "end_line": 31, + "id": "E2", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/ConfigurationsPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "60becda709f46a4292e5d42cd39fb4cc31fa9792", + "commits": [], + "end_line": 30, + "id": "E3", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/ConfigurationsPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "c1b38861faced61f1a4dd94f086af5da7cdc7497", + "commits": [], + "end_line": 27, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/ContentPacksPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "c65fc816a7b8c2ddace11d24825f0ce023490da8", + "commits": [], + "end_line": 29, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/CreateContentPackPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "b16c2bfac90ea75bec8999cd8b13024cad9ac9b3", + "commits": [], + "end_line": 27, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/CreateEventDefinitionPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "c4fbfbcf275c03979c7e0784d1d9f7c767528e20", + "commits": [], + "end_line": 25, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/CreateEventNotificationPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "2db5e2e363506ce2fda0bc05b491ba18bf8c9730", + "commits": [], + "end_line": 25, + "id": "E8", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/CreateExtractorsPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "2db5e2e363506ce2fda0bc05b491ba18bf8c9730", + "commits": [], + "end_line": 30, + "id": "E9", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/CreateExtractorsPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "c7c4a469624acae4edc9c122d9c8d249c1ea9323", + "commits": [], + "end_line": 32, + "id": "E10", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/EditContentPackPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + } + ], + "src": "M:graylog2-web-interface/src/pages" + }, + { + "count": 33, + "dst": "M:graylog2-web-interface/src/logic", + "how": "import-path", + "id": "M:graylog2-web-interface/src/pages->M:graylog2-web-interface/src/logic", + "kind": "uses", + "refs": [ + { + "blob_sha": "3c131689c076cfe5beda4443cffb4ef66dcbecd7", + "commits": [], + "end_line": 22, + "id": "E1", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/ApiBrowserPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "ee772a6c40325bb6aa8680e6aca341b1a46cff38", + "commits": [], + "end_line": 30, + "id": "E2", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/AuthenticationBackendDetailsPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "f0c3949f629dbe75c2ffeb8d8e85d1f644d69356", + "commits": [], + "end_line": 27, + "id": "E3", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/AuthenticationBackendEditPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "5686cd58b1101e8042a3428d24bd4acafe6c7e51", + "commits": [], + "end_line": 25, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/AuthenticationPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "b4baf9da441f7523c8b651c1f4ea6c963b2bbe76", + "commits": [], + "end_line": 29, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/CollectorsDeploymentPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 }, { - "blob_sha": "60becda709f46a4292e5d42cd39fb4cc31fa9792", + "blob_sha": "c65fc816a7b8c2ddace11d24825f0ce023490da8", "commits": [], - "end_line": 31, - "id": "E2", + "end_line": 26, + "id": "E6", "kind": "lines", - "path": "graylog2-web-interface/src/pages/ConfigurationsPage.tsx", + "path": "graylog2-web-interface/src/pages/CreateContentPackPage.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 31 + "start_line": 26 }, { - "blob_sha": "60becda709f46a4292e5d42cd39fb4cc31fa9792", + "blob_sha": "c65fc816a7b8c2ddace11d24825f0ce023490da8", "commits": [], - "end_line": 30, - "id": "E3", + "end_line": 27, + "id": "E7", "kind": "lines", - "path": "graylog2-web-interface/src/pages/ConfigurationsPage.tsx", + "path": "graylog2-web-interface/src/pages/CreateContentPackPage.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 30 - } - ], - "src": "M:graylog2-web-interface/src/pages" - }, - { - "count": 33, - "dst": "M:graylog2-web-interface/src/logic", - "how": "import-path", - "id": "M:graylog2-web-interface/src/pages->M:graylog2-web-interface/src/logic", - "kind": "uses", - "refs": [ + "start_line": 27 + }, { - "blob_sha": "3c131689c076cfe5beda4443cffb4ef66dcbecd7", + "blob_sha": "c65fc816a7b8c2ddace11d24825f0ce023490da8", "commits": [], - "end_line": 22, - "id": "E1", + "end_line": 28, + "id": "E8", "kind": "lines", - "path": "graylog2-web-interface/src/pages/ApiBrowserPage.tsx", + "path": "graylog2-web-interface/src/pages/CreateContentPackPage.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 28 }, { - "blob_sha": "ee772a6c40325bb6aa8680e6aca341b1a46cff38", + "blob_sha": "c7c4a469624acae4edc9c122d9c8d249c1ea9323", "commits": [], "end_line": 30, - "id": "E2", + "id": "E9", "kind": "lines", - "path": "graylog2-web-interface/src/pages/AuthenticationBackendDetailsPage.tsx", + "path": "graylog2-web-interface/src/pages/EditContentPackPage.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 30 }, { - "blob_sha": "f0c3949f629dbe75c2ffeb8d8e85d1f644d69356", + "blob_sha": "c7c4a469624acae4edc9c122d9c8d249c1ea9323", "commits": [], - "end_line": 27, - "id": "E3", + "end_line": 31, + "id": "E10", "kind": "lines", - "path": "graylog2-web-interface/src/pages/AuthenticationBackendEditPage.tsx", + "path": "graylog2-web-interface/src/pages/EditContentPackPage.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 27 + "start_line": 31 } ], "src": "M:graylog2-web-interface/src/pages" @@ -38144,6 +68084,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 21 + }, + { + "blob_sha": "f0c3949f629dbe75c2ffeb8d8e85d1f644d69356", + "commits": [], + "end_line": 21, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/AuthenticationBackendEditPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "f0c3949f629dbe75c2ffeb8d8e85d1f644d69356", + "commits": [], + "end_line": 22, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/AuthenticationBackendEditPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "f0c3949f629dbe75c2ffeb8d8e85d1f644d69356", + "commits": [], + "end_line": 20, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/AuthenticationBackendEditPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "5686cd58b1101e8042a3428d24bd4acafe6c7e51", + "commits": [], + "end_line": 26, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/AuthenticationPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "5686cd58b1101e8042a3428d24bd4acafe6c7e51", + "commits": [], + "end_line": 31, + "id": "E8", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/AuthenticationPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "5686cd58b1101e8042a3428d24bd4acafe6c7e51", + "commits": [], + "end_line": 23, + "id": "E9", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/AuthenticationPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "06d53dc7f33bd6d7609062857a8efa441f63cf79", + "commits": [], + "end_line": 26, + "id": "E10", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/ClusterConfigurationPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 } ], "src": "M:graylog2-web-interface/src/pages" @@ -38190,6 +68214,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 29 + }, + { + "blob_sha": "af65179345bf212fddd44063741344155f2e6e07", + "commits": [], + "end_line": 24, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/IndexSetConfigurationPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "af65179345bf212fddd44063741344155f2e6e07", + "commits": [], + "end_line": 25, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/IndexSetConfigurationPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "3be0e786c2d058f980f8e4ef21507fbdfeaf868d", + "commits": [], + "end_line": 35, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/IndexSetPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 35 + }, + { + "blob_sha": "3be0e786c2d058f980f8e4ef21507fbdfeaf868d", + "commits": [], + "end_line": 36, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/IndexSetPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + }, + { + "blob_sha": "fd92a435a8f131f36e0cebc1c4da0ff80b941234", + "commits": [], + "end_line": 25, + "id": "E8", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/NodeInputsPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "fd92a435a8f131f36e0cebc1c4da0ff80b941234", + "commits": [], + "end_line": 23, + "id": "E9", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/NodeInputsPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "044b60dd646ec90d0f12a8ed8b4c2cc85ecb3598", + "commits": [], + "end_line": 25, + "id": "E10", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/ProcessBufferDumpPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 } ], "src": "M:graylog2-web-interface/src/pages" @@ -38258,6 +68366,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 21 + }, + { + "blob_sha": "ee772a6c40325bb6aa8680e6aca341b1a46cff38", + "commits": [], + "end_line": 24, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/AuthenticationBackendDetailsPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "ee772a6c40325bb6aa8680e6aca341b1a46cff38", + "commits": [], + "end_line": 25, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/AuthenticationBackendDetailsPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "f0c3949f629dbe75c2ffeb8d8e85d1f644d69356", + "commits": [], + "end_line": 24, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/AuthenticationBackendEditPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "9650eb49df44a24102a20797b93c7d512bc57166", + "commits": [], + "end_line": 24, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/AuthenticationCreatePage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "bef9baa1b41f5dfe2f1657d68a6c411b321240a9", + "commits": [], + "end_line": 22, + "id": "E8", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/AuthenticationOverviewPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "5686cd58b1101e8042a3428d24bd4acafe6c7e51", + "commits": [], + "end_line": 22, + "id": "E9", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/AuthenticationPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "5686cd58b1101e8042a3428d24bd4acafe6c7e51", + "commits": [], + "end_line": 24, + "id": "E10", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/AuthenticationPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 } ], "src": "M:graylog2-web-interface/src/pages" @@ -38304,6 +68496,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 26 + }, + { + "blob_sha": "8c8d1de23dacb3b8f9bc3d25f3c3028b202eb3e6", + "commits": [], + "end_line": 39, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/ShowMessagePage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 39 + }, + { + "blob_sha": "8c8d1de23dacb3b8f9bc3d25f3c3028b202eb3e6", + "commits": [], + "end_line": 26, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/ShowMessagePage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "8c8d1de23dacb3b8f9bc3d25f3c3028b202eb3e6", + "commits": [], + "end_line": 37, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/ShowMessagePage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 37 + }, + { + "blob_sha": "8c8d1de23dacb3b8f9bc3d25f3c3028b202eb3e6", + "commits": [], + "end_line": 40, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/ShowMessagePage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 40 + }, + { + "blob_sha": "8c8d1de23dacb3b8f9bc3d25f3c3028b202eb3e6", + "commits": [], + "end_line": 33, + "id": "E8", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/ShowMessagePage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "8c8d1de23dacb3b8f9bc3d25f3c3028b202eb3e6", + "commits": [], + "end_line": 21, + "id": "E9", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/ShowMessagePage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "8c8d1de23dacb3b8f9bc3d25f3c3028b202eb3e6", + "commits": [], + "end_line": 36, + "id": "E10", + "kind": "lines", + "path": "graylog2-web-interface/src/pages/ShowMessagePage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 } ], "src": "M:graylog2-web-interface/src/pages" @@ -38350,6 +68626,78 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 23 + }, + { + "blob_sha": "888acf0cc11aab823123b2ce7ee3fa247d9223a0", + "commits": [], + "end_line": 21, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/preflight/components/ResumeStartupButton.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "3e9235ce7467af716f4099987bfb2e94c2c054cc", + "commits": [], + "end_line": 21, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/preflight/components/Setup/DataNodesOverview.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "b6097938676b9736d79a3d88076d6a3ad809ccb4", + "commits": [], + "end_line": 20, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/preflight/components/Setup/Setup.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "d4632d25460e2451f58a9b52747b61e4afb992e0", + "commits": [], + "end_line": 23, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/preflight/components/WaitingForStartup.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "3b77d118d3281b70221221c30898876ae7e2d5c3", + "commits": [], + "end_line": 25, + "id": "E8", + "kind": "lines", + "path": "graylog2-web-interface/src/preflight/navigation/HelpMenu.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "77a13a6023a0e6aef1504a64f9bcb8482d399cb0", + "commits": [], + "end_line": 21, + "id": "E9", + "kind": "lines", + "path": "graylog2-web-interface/src/preflight/navigation/Navigation.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 } ], "src": "M:graylog2-web-interface/src/preflight" @@ -38396,6 +68744,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 27 + }, + { + "blob_sha": "056dbb4156ce1a411f6102197c6a15209db43a3a", + "commits": [], + "end_line": 31, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/preflight/components/ConfigurationWizard/CAUpload.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "056dbb4156ce1a411f6102197c6a15209db43a3a", + "commits": [], + "end_line": 23, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/preflight/components/ConfigurationWizard/CAUpload.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "6e5cfd8d54e4c49bdfcd696453cc873d85e78c23", + "commits": [], + "end_line": 24, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/preflight/components/ConfigurationWizard/CertificateProvisioning.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "6e5cfd8d54e4c49bdfcd696453cc873d85e78c23", + "commits": [], + "end_line": 28, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/preflight/components/ConfigurationWizard/CertificateProvisioning.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "6b32215ec0be91755611b8459af51b97884fd1bc", + "commits": [], + "end_line": 20, + "id": "E8", + "kind": "lines", + "path": "graylog2-web-interface/src/preflight/components/ConfigurationWizard/ConfigurationFinished.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "8c6ceee6c3f82cf225fbbebefe6b67bda968b76e", + "commits": [], + "end_line": 28, + "id": "E9", + "kind": "lines", + "path": "graylog2-web-interface/src/preflight/components/ConfigurationWizard/ConfigurationWizard.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "8c6ceee6c3f82cf225fbbebefe6b67bda968b76e", + "commits": [], + "end_line": 24, + "id": "E10", + "kind": "lines", + "path": "graylog2-web-interface/src/preflight/components/ConfigurationWizard/ConfigurationWizard.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 } ], "src": "M:graylog2-web-interface/src/preflight" @@ -38451,19 +68883,103 @@ "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 24 + "start_line": 24 + }, + { + "blob_sha": "6e5cfd8d54e4c49bdfcd696453cc873d85e78c23", + "commits": [], + "end_line": 22, + "id": "E3", + "kind": "lines", + "path": "graylog2-web-interface/src/preflight/components/ConfigurationWizard/CertificateProvisioning.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "8c6ceee6c3f82cf225fbbebefe6b67bda968b76e", + "commits": [], + "end_line": 32, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/preflight/components/ConfigurationWizard/ConfigurationWizard.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "ec6f25e960e692c8525307e0a05568c6dbbe1cfe", + "commits": [], + "end_line": 26, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/preflight/components/ConfigurationWizard/RenewalPolicyConfiguration.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "3cd105ae9012057b52767f33eca47ef99b42afc2", + "commits": [], + "end_line": 20, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/preflight/components/ErrorBoundary.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "3cd105ae9012057b52767f33eca47ef99b42afc2", + "commits": [], + "end_line": 21, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/preflight/components/ErrorBoundary.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "3d80e1d90ec6ff0207945c632658d19d41328230", + "commits": [], + "end_line": 22, + "id": "E8", + "kind": "lines", + "path": "graylog2-web-interface/src/preflight/components/RestartConfigurationButton.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "888acf0cc11aab823123b2ce7ee3fa247d9223a0", + "commits": [], + "end_line": 22, + "id": "E9", + "kind": "lines", + "path": "graylog2-web-interface/src/preflight/components/ResumeStartupButton.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 }, { - "blob_sha": "6e5cfd8d54e4c49bdfcd696453cc873d85e78c23", + "blob_sha": "63d46016907f24a0fde076ac9d17c5fdbe7f07ae", "commits": [], - "end_line": 22, - "id": "E3", + "end_line": 24, + "id": "E10", "kind": "lines", - "path": "graylog2-web-interface/src/preflight/components/ConfigurationWizard/CertificateProvisioning.tsx", + "path": "graylog2-web-interface/src/preflight/hooks/useConfigurationStep.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 22 + "start_line": 24 } ], "src": "M:graylog2-web-interface/src/preflight" @@ -38510,6 +69026,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 23 + }, + { + "blob_sha": "4d18d4530e1c1061c286005f5383bb37e9664e82", + "commits": [], + "end_line": 21, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/preflight/theme/PreflightThemeProvider.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "4d18d4530e1c1061c286005f5383bb37e9664e82", + "commits": [], + "end_line": 23, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/preflight/theme/PreflightThemeProvider.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "4d18d4530e1c1061c286005f5383bb37e9664e82", + "commits": [], + "end_line": 24, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/preflight/theme/PreflightThemeProvider.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "4d18d4530e1c1061c286005f5383bb37e9664e82", + "commits": [], + "end_line": 22, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/preflight/theme/PreflightThemeProvider.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "84b35dceb404064f7428f4d71c562d9bc9bcbfcc", + "commits": [], + "end_line": 21, + "id": "E8", + "kind": "lines", + "path": "graylog2-web-interface/src/preflight/theme/ThemeWrapper.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "647e8aaf5a3ef4e4f27bd9055367f2462e201748", + "commits": [], + "end_line": 17, + "id": "E9", + "kind": "lines", + "path": "graylog2-web-interface/src/preflight/theme/constants.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 17 + }, + { + "blob_sha": "647e8aaf5a3ef4e4f27bd9055367f2462e201748", + "commits": [], + "end_line": 18, + "id": "E10", + "kind": "lines", + "path": "graylog2-web-interface/src/preflight/theme/constants.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 18 } ], "src": "M:graylog2-web-interface/src/preflight" @@ -38556,6 +69156,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 28 + }, + { + "blob_sha": "056dbb4156ce1a411f6102197c6a15209db43a3a", + "commits": [], + "end_line": 25, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/preflight/components/ConfigurationWizard/CAUpload.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "6e5cfd8d54e4c49bdfcd696453cc873d85e78c23", + "commits": [], + "end_line": 25, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/preflight/components/ConfigurationWizard/CertificateProvisioning.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "6e5cfd8d54e4c49bdfcd696453cc873d85e78c23", + "commits": [], + "end_line": 26, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/preflight/components/ConfigurationWizard/CertificateProvisioning.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "ec6f25e960e692c8525307e0a05568c6dbbe1cfe", + "commits": [], + "end_line": 27, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/preflight/components/ConfigurationWizard/RenewalPolicyConfiguration.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "ec6f25e960e692c8525307e0a05568c6dbbe1cfe", + "commits": [], + "end_line": 25, + "id": "E8", + "kind": "lines", + "path": "graylog2-web-interface/src/preflight/components/ConfigurationWizard/RenewalPolicyConfiguration.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "3d80e1d90ec6ff0207945c632658d19d41328230", + "commits": [], + "end_line": 23, + "id": "E9", + "kind": "lines", + "path": "graylog2-web-interface/src/preflight/components/RestartConfigurationButton.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "3d80e1d90ec6ff0207945c632658d19d41328230", + "commits": [], + "end_line": 24, + "id": "E10", + "kind": "lines", + "path": "graylog2-web-interface/src/preflight/components/RestartConfigurationButton.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 } ], "src": "M:graylog2-web-interface/src/preflight" @@ -38680,6 +69364,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 26 + }, + { + "blob_sha": "b272276ecd5ded0e01b1c304acaac24260a326b1", + "commits": [], + "end_line": 27, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/routing/App.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "b272276ecd5ded0e01b1c304acaac24260a326b1", + "commits": [], + "end_line": 31, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/routing/App.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "b272276ecd5ded0e01b1c304acaac24260a326b1", + "commits": [], + "end_line": 36, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/routing/App.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + }, + { + "blob_sha": "b272276ecd5ded0e01b1c304acaac24260a326b1", + "commits": [], + "end_line": 25, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/routing/App.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "b272276ecd5ded0e01b1c304acaac24260a326b1", + "commits": [], + "end_line": 32, + "id": "E8", + "kind": "lines", + "path": "graylog2-web-interface/src/routing/App.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "b272276ecd5ded0e01b1c304acaac24260a326b1", + "commits": [], + "end_line": 23, + "id": "E9", + "kind": "lines", + "path": "graylog2-web-interface/src/routing/App.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "b272276ecd5ded0e01b1c304acaac24260a326b1", + "commits": [], + "end_line": 29, + "id": "E10", + "kind": "lines", + "path": "graylog2-web-interface/src/routing/App.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 } ], "src": "M:graylog2-web-interface/src/routing" @@ -38726,6 +69494,54 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 35 + }, + { + "blob_sha": "b272276ecd5ded0e01b1c304acaac24260a326b1", + "commits": [], + "end_line": 21, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/routing/App.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "738b348636bacb8c176526903cc5f0f61a22a537", + "commits": [], + "end_line": 29, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/routing/AppFacade.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "a699f31d2c4651b21c3f54a07e631e336db27318", + "commits": [], + "end_line": 141, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/routing/AppRouter.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 141 + }, + { + "blob_sha": "730b351d829d08ec6125bf549444af920d2850d9", + "commits": [], + "end_line": 19, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/routing/useServerVersion.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 } ], "src": "M:graylog2-web-interface/src/routing" @@ -38772,6 +69588,18 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 20 + }, + { + "blob_sha": "225e852bfccf748b803b10575be698593eabf2ce", + "commits": [], + "end_line": 23, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/routing/hooks/useShowRouteForEntity.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 } ], "src": "M:graylog2-web-interface/src/routing" @@ -38818,6 +69646,78 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 26 + }, + { + "blob_sha": "738b348636bacb8c176526903cc5f0f61a22a537", + "commits": [], + "end_line": 27, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/routing/AppFacade.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "738b348636bacb8c176526903cc5f0f61a22a537", + "commits": [], + "end_line": 25, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/routing/AppFacade.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "225e852bfccf748b803b10575be698593eabf2ce", + "commits": [], + "end_line": 22, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/routing/hooks/useShowRouteForEntity.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "db243c90d0fc003ec10e809d1bd52bf5d2c0a3c4", + "commits": [], + "end_line": 17, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/routing/hooks/useShowRouteFromGRN.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 17 + }, + { + "blob_sha": "4cdd92492f6d4c66373e58273057d3f372417467", + "commits": [], + "end_line": 22, + "id": "E8", + "kind": "lines", + "path": "graylog2-web-interface/src/routing/loadAsync.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "7e5e5969b0b3c4189ff6dc77533bab8cf4a5544c", + "commits": [], + "end_line": 19, + "id": "E9", + "kind": "lines", + "path": "graylog2-web-interface/src/routing/request.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 } ], "src": "M:graylog2-web-interface/src/routing" @@ -38864,6 +69764,42 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 34 + }, + { + "blob_sha": "738b348636bacb8c176526903cc5f0f61a22a537", + "commits": [], + "end_line": 23, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/routing/AppFacade.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "a699f31d2c4651b21c3f54a07e631e336db27318", + "commits": [], + "end_line": 142, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/routing/AppRouter.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 142 + }, + { + "blob_sha": "f81e6480feeb505a0a4119894a92c766a06a4c69", + "commits": [], + "end_line": 21, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/routing/RoutePermissionGuard.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 } ], "src": "M:graylog2-web-interface/src/routing" @@ -38956,6 +69892,42 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 19 + }, + { + "blob_sha": "1843e3aca7484558e0737c1bbb95238c06b8947e", + "commits": [], + "end_line": 19, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/routing/Routes.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "6f78578e3caf14cfb10392e2be2fe28b3e1caa38", + "commits": [], + "end_line": 19, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/routing/SetAssetPrefix.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "7e5e5969b0b3c4189ff6dc77533bab8cf4a5544c", + "commits": [], + "end_line": 20, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/routing/request.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 } ], "src": "M:graylog2-web-interface/src/routing" @@ -39070,6 +70042,18 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 23 + }, + { + "blob_sha": "1a2fec8b92bcfbc7888a453a3d7dd559150c1861", + "commits": [], + "end_line": 24, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/stores/indices/IndexSetsStore.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 } ], "src": "M:graylog2-web-interface/src/stores" @@ -39116,6 +70100,66 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 20 + }, + { + "blob_sha": "b517764b5e219df0b683090d37de341e3d5a8a8d", + "commits": [], + "end_line": 20, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/stores/nodes/NodesStore.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "b517764b5e219df0b683090d37de341e3d5a8a8d", + "commits": [], + "end_line": 23, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/stores/nodes/NodesStore.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "b517764b5e219df0b683090d37de341e3d5a8a8d", + "commits": [], + "end_line": 22, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/stores/nodes/NodesStore.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "8e1eb495b010a1e95e5626b92c33deaa35417a5e", + "commits": [], + "end_line": 19, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/stores/search/UniversalSearch.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "8e1eb495b010a1e95e5626b92c33deaa35417a5e", + "commits": [], + "end_line": 22, + "id": "E8", + "kind": "lines", + "path": "graylog2-web-interface/src/stores/search/UniversalSearch.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 } ], "src": "M:graylog2-web-interface/src/stores" @@ -39162,6 +70206,18 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 21 + }, + { + "blob_sha": "8e1eb495b010a1e95e5626b92c33deaa35417a5e", + "commits": [], + "end_line": 21, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/stores/search/UniversalSearch.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 } ], "src": "M:graylog2-web-interface/src/stores" @@ -39208,6 +70264,54 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 24 + }, + { + "blob_sha": "1a2fec8b92bcfbc7888a453a3d7dd559150c1861", + "commits": [], + "end_line": 21, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/stores/indices/IndexSetsStore.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "1a2fec8b92bcfbc7888a453a3d7dd559150c1861", + "commits": [], + "end_line": 22, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/stores/indices/IndexSetsStore.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "b517764b5e219df0b683090d37de341e3d5a8a8d", + "commits": [], + "end_line": 19, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/stores/nodes/NodesStore.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "8e1eb495b010a1e95e5626b92c33deaa35417a5e", + "commits": [], + "end_line": 20, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/stores/search/UniversalSearch.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 } ], "src": "M:graylog2-web-interface/src/stores" @@ -39468,6 +70572,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 19 + }, + { + "blob_sha": "d36a01fdbe11b670a5b3b6942118eba33a9bcb62", + "commits": [], + "end_line": 20, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/threatintel/components/adapters/abusech/AbuseChRansomAdapterFieldSet.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "d36a01fdbe11b670a5b3b6942118eba33a9bcb62", + "commits": [], + "end_line": 21, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/threatintel/components/adapters/abusech/AbuseChRansomAdapterFieldSet.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "4bb50719840bb8d4f7e12f5ab00c01f3a78a8e8e", + "commits": [], + "end_line": 20, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/threatintel/components/adapters/abusech/AbuseChRansomAdapterSummary.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "4bb50719840bb8d4f7e12f5ab00c01f3a78a8e8e", + "commits": [], + "end_line": 19, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/threatintel/components/adapters/abusech/AbuseChRansomAdapterSummary.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "25ad470b11fc2664f74bdfadf872bfd52b2c4fd1", + "commits": [], + "end_line": 20, + "id": "E8", + "kind": "lines", + "path": "graylog2-web-interface/src/threatintel/components/adapters/otx/OTXAdapterDocumentation.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "ba3cd99fd7f5670e36a58db68d886974f6b142ae", + "commits": [], + "end_line": 20, + "id": "E9", + "kind": "lines", + "path": "graylog2-web-interface/src/threatintel/components/adapters/otx/OTXAdapterFieldSet.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "ba3cd99fd7f5670e36a58db68d886974f6b142ae", + "commits": [], + "end_line": 21, + "id": "E10", + "kind": "lines", + "path": "graylog2-web-interface/src/threatintel/components/adapters/otx/OTXAdapterFieldSet.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 } ], "src": "M:graylog2-web-interface/src/threatintel" @@ -39684,6 +70872,42 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 19 + }, + { + "blob_sha": "17af319589defa48c06dde5d372e04b9348657ac", + "commits": [], + "end_line": 21, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/util/UserNotification.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "1513904b5a3baaa86a45977bd211c0d218e988ad", + "commits": [], + "end_line": 17, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/util/extractErrorMessage.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 17 + }, + { + "blob_sha": "f14cc6ebbc1e910e2d18eb93591b49c73bb8b205", + "commits": [], + "end_line": 18, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/util/getPermissionPrefixByType.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 18 } ], "src": "M:graylog2-web-interface/src/util" @@ -39798,6 +71022,18 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 22 + }, + { + "blob_sha": "2088e1cebe17487db01214ed755e57c5bf9b271b", + "commits": [], + "end_line": 18, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/util/TimeRangeHelper.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 18 } ], "src": "M:graylog2-web-interface/src/util" @@ -39844,6 +71080,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 19 + }, + { + "blob_sha": "66ee58bbccabd94f9c67cd35b3eb815408e4a1d6", + "commits": [], + "end_line": 18, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/aggregationwizard/visualization/VisualizationElement.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 18 + }, + { + "blob_sha": "e74656b822f8d23eaf9b5cb28e4dc649b044a04a", + "commits": [], + "end_line": 18, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/dashboard/DashboardsOverview/DashboardActions.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 18 + }, + { + "blob_sha": "bbb8fde724d2acd451f4b649b22b43b1ee3cf5ea", + "commits": [], + "end_line": 18, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/export/ExportStrategy.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 18 + }, + { + "blob_sha": "c10ac2b5768f3da77157ade733c3116ca482a277", + "commits": [], + "end_line": 18, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/fieldtypes/FieldTypeValueRenderer.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 18 + }, + { + "blob_sha": "1465795a2743f25b2195f23e0bf9c9669d0b07f7", + "commits": [], + "end_line": 18, + "id": "E8", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/visualizations/keyMappers/CoreKeyMappers.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 18 + }, + { + "blob_sha": "927bdbffee3419d93edbbcc5bba8a26fbbf614d4", + "commits": [], + "end_line": 20, + "id": "E9", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/widgets/WidgetActionsMenu.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "a98052e82fd5ee6850dc13920970d2eba4e6ba41", + "commits": [], + "end_line": 18, + "id": "E10", + "kind": "lines", + "path": "graylog2-web-interface/src/views/hooks/RequirementsProvided.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 18 } ], "src": "M:graylog2-web-interface/src/views" @@ -39890,6 +71210,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 26 + }, + { + "blob_sha": "513ad96e94525b6b627b2ac45fc104851d1f2f04", + "commits": [], + "end_line": 26, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/searchbar/saved-search/SavedSearchForm.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "a95e0c7eb30b3f4f01b1fe9688a313186532803b", + "commits": [], + "end_line": 51, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/searchbar/saved-search/SearchActionsMenu.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 51 + }, + { + "blob_sha": "6dd68562ae44eaac3a0c323c6dbd9973a3efa4a4", + "commits": [], + "end_line": 19, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/views/hooks/useFetchView.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "bce91d096649b23a90a4bff37d9e319fc0ef30b4", + "commits": [], + "end_line": 24, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/views/logic/views/OnSaveNewDashboard.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "d13fe1281b334eae55070910e75bcd43791b121c", + "commits": [], + "end_line": 22, + "id": "E8", + "kind": "lines", + "path": "graylog2-web-interface/src/views/logic/views/OnSaveViewAction.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "fe19d809f6c491bd1f9b7b0f444c80902d560f05", + "commits": [], + "end_line": 25, + "id": "E9", + "kind": "lines", + "path": "graylog2-web-interface/src/views/pages/EventDefinitionReplaySearchPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "da07d703babfbcd07fc2535566de6b8b3f35ddf4", + "commits": [], + "end_line": 26, + "id": "E10", + "kind": "lines", + "path": "graylog2-web-interface/src/views/pages/EventReplaySearchPage.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 } ], "src": "M:graylog2-web-interface/src/views" @@ -39936,6 +71340,18 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 28 + }, + { + "blob_sha": "44c2513cdba82fe9e59fb6d48f0d1f34be2c053d", + "commits": [], + "end_line": 26, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/time-range-picker/TabKeywordTimeRange.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 } ], "src": "M:graylog2-web-interface/src/views" @@ -39965,69 +71381,165 @@ "end_line": 29, "id": "E2", "kind": "lines", - "path": "graylog2-web-interface/src/views/components/sidebar/highlighting/ViewsHighlightingRules.tsx", + "path": "graylog2-web-interface/src/views/components/sidebar/highlighting/ViewsHighlightingRules.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "cfa711a336528e2a943a239c6022bf597f1f0cc7", + "commits": [], + "end_line": 23, + "id": "E3", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/widgets/UnknownWidget.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "3f07d0ff635c026203e14ad43e5d69080d65e6f6", + "commits": [], + "end_line": 23, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/views/logic/views/UseProcessHooksForView.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + } + ], + "src": "M:graylog2-web-interface/src/views" + }, + { + "count": 424, + "dst": "M:graylog2-web-interface/src/components", + "how": "import-path", + "id": "M:graylog2-web-interface/src/views->M:graylog2-web-interface/src/components", + "kind": "uses", + "refs": [ + { + "blob_sha": "0893ccd6f0c4eb14e6b5343c02d742b105f8b8e1", + "commits": [], + "end_line": 102, + "id": "E1", + "kind": "lines", + "path": "graylog2-web-interface/src/views/bindings.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 102 + }, + { + "blob_sha": "0893ccd6f0c4eb14e6b5343c02d742b105f8b8e1", + "commits": [], + "end_line": 126, + "id": "E2", + "kind": "lines", + "path": "graylog2-web-interface/src/views/bindings.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 126 + }, + { + "blob_sha": "9f9c8429ad7c441e276c72fc06f0d8a3bc0b23ba", + "commits": [], + "end_line": 26, + "id": "E3", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/AdaptableQueryTabs.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "9f9c8429ad7c441e276c72fc06f0d8a3bc0b23ba", + "commits": [], + "end_line": 50, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/AdaptableQueryTabs.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 50 + }, + { + "blob_sha": "9f9c8429ad7c441e276c72fc06f0d8a3bc0b23ba", + "commits": [], + "end_line": 27, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/AdaptableQueryTabs.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "6e764c9a114d3b947b8a7c7b2889a62d5ec493a8", + "commits": [], + "end_line": 23, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/AdaptableQueryTabsConfiguration.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 29 + "start_line": 23 }, { - "blob_sha": "cfa711a336528e2a943a239c6022bf597f1f0cc7", + "blob_sha": "6e764c9a114d3b947b8a7c7b2889a62d5ec493a8", "commits": [], - "end_line": 23, - "id": "E3", + "end_line": 24, + "id": "E7", "kind": "lines", - "path": "graylog2-web-interface/src/views/components/widgets/UnknownWidget.tsx", + "path": "graylog2-web-interface/src/views/components/AdaptableQueryTabsConfiguration.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 23 - } - ], - "src": "M:graylog2-web-interface/src/views" - }, - { - "count": 424, - "dst": "M:graylog2-web-interface/src/components", - "how": "import-path", - "id": "M:graylog2-web-interface/src/views->M:graylog2-web-interface/src/components", - "kind": "uses", - "refs": [ + "start_line": 24 + }, { - "blob_sha": "0893ccd6f0c4eb14e6b5343c02d742b105f8b8e1", + "blob_sha": "196929f5e1d2452d62cc342e9e2a435b45910026", "commits": [], - "end_line": 102, - "id": "E1", + "end_line": 22, + "id": "E8", "kind": "lines", - "path": "graylog2-web-interface/src/views/bindings.tsx", + "path": "graylog2-web-interface/src/views/components/CreateNewWidgetModal.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 102 + "start_line": 22 }, { - "blob_sha": "0893ccd6f0c4eb14e6b5343c02d742b105f8b8e1", + "blob_sha": "5c2eee1ffef86c81d001fd586f47b69a7e3a64a9", "commits": [], - "end_line": 126, - "id": "E2", + "end_line": 22, + "id": "E9", "kind": "lines", - "path": "graylog2-web-interface/src/views/bindings.tsx", + "path": "graylog2-web-interface/src/views/components/DashboardActionsMenu.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 126 + "start_line": 22 }, { - "blob_sha": "9f9c8429ad7c441e276c72fc06f0d8a3bc0b23ba", + "blob_sha": "5c2eee1ffef86c81d001fd586f47b69a7e3a64a9", "commits": [], - "end_line": 26, - "id": "E3", + "end_line": 47, + "id": "E10", "kind": "lines", - "path": "graylog2-web-interface/src/views/components/AdaptableQueryTabs.tsx", + "path": "graylog2-web-interface/src/views/components/DashboardActionsMenu.tsx", "repo": "Graylog2/graylog2-server", "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", - "start_line": 26 + "start_line": 47 } ], "src": "M:graylog2-web-interface/src/views" @@ -40074,6 +71586,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 24 + }, + { + "blob_sha": "87f3ff09e548df68c0a71211798bafed7abea727", + "commits": [], + "end_line": 45, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/SearchBar.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 45 + }, + { + "blob_sha": "87f3ff09e548df68c0a71211798bafed7abea727", + "commits": [], + "end_line": 46, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/SearchBar.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 46 + }, + { + "blob_sha": "87f3ff09e548df68c0a71211798bafed7abea727", + "commits": [], + "end_line": 25, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/SearchBar.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "e1df3d981de41d7cd01574bc0920757f7b9f1ebf", + "commits": [], + "end_line": 36, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/WidgetQueryControls.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 36 + }, + { + "blob_sha": "e1df3d981de41d7cd01574bc0920757f7b9f1ebf", + "commits": [], + "end_line": 37, + "id": "E8", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/WidgetQueryControls.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 37 + }, + { + "blob_sha": "e1df3d981de41d7cd01574bc0920757f7b9f1ebf", + "commits": [], + "end_line": 27, + "id": "E9", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/WidgetQueryControls.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "81ec46890381dfe218b0a2c3a7e062f33173ac30", + "commits": [], + "end_line": 22, + "id": "E10", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/contexts/SearchPagePreferencesState.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 } ], "src": "M:graylog2-web-interface/src/views" @@ -40142,6 +71738,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 30 + }, + { + "blob_sha": "5c2eee1ffef86c81d001fd586f47b69a7e3a64a9", + "commits": [], + "end_line": 31, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/DashboardActionsMenu.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 31 + }, + { + "blob_sha": "5c2eee1ffef86c81d001fd586f47b69a7e3a64a9", + "commits": [], + "end_line": 40, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/DashboardActionsMenu.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 40 + }, + { + "blob_sha": "5c2eee1ffef86c81d001fd586f47b69a7e3a64a9", + "commits": [], + "end_line": 32, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/DashboardActionsMenu.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "5c2eee1ffef86c81d001fd586f47b69a7e3a64a9", + "commits": [], + "end_line": 28, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/DashboardActionsMenu.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "8e3908e2c2c126fb7aee909c62ab1fba02e60567", + "commits": [], + "end_line": 44, + "id": "E8", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/DashboardSearchBar.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 44 + }, + { + "blob_sha": "8e3908e2c2c126fb7aee909c62ab1fba02e60567", + "commits": [], + "end_line": 64, + "id": "E9", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/DashboardSearchBar.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 64 + }, + { + "blob_sha": "8e3908e2c2c126fb7aee909c62ab1fba02e60567", + "commits": [], + "end_line": 45, + "id": "E10", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/DashboardSearchBar.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 45 } ], "src": "M:graylog2-web-interface/src/views" @@ -40188,6 +71868,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 24 + }, + { + "blob_sha": "9f9c8429ad7c441e276c72fc06f0d8a3bc0b23ba", + "commits": [], + "end_line": 45, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/AdaptableQueryTabs.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 45 + }, + { + "blob_sha": "9f9c8429ad7c441e276c72fc06f0d8a3bc0b23ba", + "commits": [], + "end_line": 44, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/AdaptableQueryTabs.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 44 + }, + { + "blob_sha": "6e764c9a114d3b947b8a7c7b2889a62d5ec493a8", + "commits": [], + "end_line": 33, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/AdaptableQueryTabsConfiguration.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 33 + }, + { + "blob_sha": "6e764c9a114d3b947b8a7c7b2889a62d5ec493a8", + "commits": [], + "end_line": 32, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/AdaptableQueryTabsConfiguration.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 32 + }, + { + "blob_sha": "196929f5e1d2452d62cc342e9e2a435b45910026", + "commits": [], + "end_line": 25, + "id": "E8", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/CreateNewWidgetModal.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 25 + }, + { + "blob_sha": "196929f5e1d2452d62cc342e9e2a435b45910026", + "commits": [], + "end_line": 30, + "id": "E9", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/CreateNewWidgetModal.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 30 + }, + { + "blob_sha": "196929f5e1d2452d62cc342e9e2a435b45910026", + "commits": [], + "end_line": 29, + "id": "E10", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/CreateNewWidgetModal.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 } ], "src": "M:graylog2-web-interface/src/views" @@ -40256,6 +72020,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 42 + }, + { + "blob_sha": "9f9c8429ad7c441e276c72fc06f0d8a3bc0b23ba", + "commits": [], + "end_line": 43, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/AdaptableQueryTabs.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 43 + }, + { + "blob_sha": "5c2eee1ffef86c81d001fd586f47b69a7e3a64a9", + "commits": [], + "end_line": 19, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/DashboardActionsMenu.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "5c2eee1ffef86c81d001fd586f47b69a7e3a64a9", + "commits": [], + "end_line": 20, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/DashboardActionsMenu.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "68c8e02cde985a99ab6e7af35496477208fbe662", + "commits": [], + "end_line": 26, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/SynchronizeUrl.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 26 + }, + { + "blob_sha": "68c8e02cde985a99ab6e7af35496477208fbe662", + "commits": [], + "end_line": 27, + "id": "E8", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/SynchronizeUrl.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "c84316dfedc7146695390ffe1d65eb969543c31b", + "commits": [], + "end_line": 20, + "id": "E9", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/common/MessagePermalinkButton.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 20 + }, + { + "blob_sha": "eaf76e3bac9f50810c838cf6992ce8679e1b4034", + "commits": [], + "end_line": 21, + "id": "E10", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/contexts/DashboardPageContextProvider.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 } ], "src": "M:graylog2-web-interface/src/views" @@ -40302,6 +72150,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 31 + }, + { + "blob_sha": "7702bc03e5a1730b259ab505071b43c5216b72fe", + "commits": [], + "end_line": 18, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/dashboard/DashboardsOverview/Constants.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 18 + }, + { + "blob_sha": "f6005793e09f31dff79bab5bf15daba12aae861b", + "commits": [], + "end_line": 17, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/dashboard/SearchParamsForDashboards.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 17 + }, + { + "blob_sha": "d2b5dcb52151c2f400814a95739e086f1aa42702", + "commits": [], + "end_line": 21, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/dashboard/hooks/useDashboards.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "412f0644a558a293530c51c116aacb720abc2d50", + "commits": [], + "end_line": 22, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/messagelist/NodeName.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 + }, + { + "blob_sha": "412f0644a558a293530c51c116aacb720abc2d50", + "commits": [], + "end_line": 23, + "id": "E8", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/messagelist/NodeName.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "a100a68546595e520abead56ad8052fa6c148b38", + "commits": [], + "end_line": 18, + "id": "E9", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/searchbar/saved-search/Constants.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 18 + }, + { + "blob_sha": "6c90e331728f342f5bd698d0ccf30d9fad26f795", + "commits": [], + "end_line": 27, + "id": "E10", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/time-range-picker/SaveTimeRangeAsPresetButton.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 } ], "src": "M:graylog2-web-interface/src/views" @@ -40348,6 +72280,66 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 22 + }, + { + "blob_sha": "875ccacae638de87d2614c1790ef77e719e607be", + "commits": [], + "end_line": 27, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/sidebar/Sidebar.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "b83ae6948db4e1df1cb88449ddfedb1436cf57b4", + "commits": [], + "end_line": 24, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/sidebar/SidebarNavigation.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 24 + }, + { + "blob_sha": "0843d45386e82f99645ac1a365e5faa153a02c01", + "commits": [], + "end_line": 27, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/visualizations/GenericPlot.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 27 + }, + { + "blob_sha": "4340dac8aaacb805c975a89e533ddd3949a175c6", + "commits": [], + "end_line": 19, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/visualizations/utils/getDefaultPlotFontSettings.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "57eefaa788007e9d8e1b9dbe6c98c8ecf3417fa3", + "commits": [], + "end_line": 22, + "id": "E8", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/widgets/StickyBottomActions.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 22 } ], "src": "M:graylog2-web-interface/src/views" @@ -40394,6 +72386,90 @@ "role": "import", "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", "start_line": 97 + }, + { + "blob_sha": "9f9c8429ad7c441e276c72fc06f0d8a3bc0b23ba", + "commits": [], + "end_line": 23, + "id": "E4", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/AdaptableQueryTabs.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "5c2eee1ffef86c81d001fd586f47b69a7e3a64a9", + "commits": [], + "end_line": 21, + "id": "E5", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/DashboardActionsMenu.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 + }, + { + "blob_sha": "fde326426dc98bd945e4d416b92209a4b7bf8d97", + "commits": [], + "end_line": 23, + "id": "E6", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/FormattedValue.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 23 + }, + { + "blob_sha": "63f086d9126ed39844ca3a9857c435a6834f714f", + "commits": [], + "end_line": 19, + "id": "E7", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/Query.tsx", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 19 + }, + { + "blob_sha": "37013933a6bf2fad7c0cad6139a8c0775ad1d86c", + "commits": [], + "end_line": 28, + "id": "E8", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/TimeRangeValidation.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 28 + }, + { + "blob_sha": "37013933a6bf2fad7c0cad6139a8c0775ad1d86c", + "commits": [], + "end_line": 29, + "id": "E9", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/TimeRangeValidation.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 29 + }, + { + "blob_sha": "0cb46c372c8911d31ec3b4285d5b57fddade1060", + "commits": [], + "end_line": 21, + "id": "E10", + "kind": "lines", + "path": "graylog2-web-interface/src/views/components/TimerangeForForm.ts", + "repo": "Graylog2/graylog2-server", + "role": "import", + "snapshot_sha": "4912933127e13ba7e84d74daef36f5c182af1320", + "start_line": 21 } ], "src": "M:graylog2-web-interface/src/views" diff --git a/web/public/bundles/shopware/code/004eee7ec05effc8f4e72e58b9acac779897ac1a.json b/web/public/bundles/shopware/code/004eee7ec05effc8f4e72e58b9acac779897ac1a.json new file mode 100644 index 00000000..d9a128c6 --- /dev/null +++ b/web/public/bundles/shopware/code/004eee7ec05effc8f4e72e58b9acac779897ac1a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "004eee7ec05effc8f4e72e58b9acac779897ac1a", + "language": "php", + "path": "src/Storefront/Framework/Routing/MaintenanceModeResolver.php", + "schema": "codexray.code/1", + "text": "isSalesChannelRequest()\n && !$request->attributes->getBoolean(PlatformRequest::ATTRIBUTE_IS_ALLOWED_IN_MAINTENANCE)\n && !$this->isXmlHttpRequest($request)\n && !$this->isErrorControllerRequest($request)\n && $this->isMaintenanceRequest($request);\n }\n\n /**\n * shouldRedirectToShop returns true, when the given request to the maintenance page should be redirected to the shop.\n * This would be the case, for example, when the maintenance mode is not active or if it is active\n * the client's IP address is listed in the maintenance mode whitelist.\n */\n public function shouldRedirectToShop(Request $request): bool\n {\n return !$this->isXmlHttpRequest($request)\n && !$this->isErrorControllerRequest($request)\n && !$this->isMaintenanceRequest($request);\n }\n\n public function shouldBeCached(Request $request): bool\n {\n return !$this->isMaintenanceModeActive() || !$this->isClientAllowed($request);\n }\n\n /**\n * isMaintenanceRequest returns true, when the maintenance mode is active and the client's IP address\n * is not listed in the maintenance mode whitelist.\n */\n public function isMaintenanceRequest(Request $request): bool\n {\n return $this->isMaintenanceModeActive() && !$this->isClientAllowed($request);\n }\n\n private function isSalesChannelRequest(): bool\n {\n $main = $this->requestStack->getMainRequest();\n\n return (bool) $main?->attributes->get(SalesChannelRequest::ATTRIBUTE_IS_SALES_CHANNEL_REQUEST);\n }\n\n private function isXmlHttpRequest(Request $request): bool\n {\n return $request->isXmlHttpRequest();\n }\n\n private function isErrorControllerRequest(Request $request): bool\n {\n return $request->attributes->get('_route') === null\n && $request->attributes->get('_controller') === 'error_controller';\n }\n\n private function isMaintenanceModeActive(): bool\n {\n $main = $this->requestStack->getMainRequest();\n\n return (bool) $main?->attributes->get(SalesChannelRequest::ATTRIBUTE_SALES_CHANNEL_MAINTENANCE);\n }\n\n private function isClientAllowed(Request $request): bool\n {\n $main = $this->requestStack->getMainRequest();\n $allowlist = $main?->attributes->get(SalesChannelRequest::ATTRIBUTE_SALES_CHANNEL_MAINTENANCE_IP_ALLOWLIST)\n // @deprecated tag:v6.8.0 - remove the fallback to the deprecated attribute\n ?? $main?->attributes->get(SalesChannelRequest::ATTRIBUTE_SALES_CHANNEL_MAINTENANCE_IP_WHITLELIST)\n ?? '';\n\n /** @var list $allowedIps */\n $allowedIps = Json::decodeToList((string) $allowlist);\n\n return $this->maintenanceModeResolver->isClientAllowed($request, $allowedIps);\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/012d0a052446f98ba32efe1d3b636b3111957f98.json b/web/public/bundles/shopware/code/012d0a052446f98ba32efe1d3b636b3111957f98.json new file mode 100644 index 00000000..a4372534 --- /dev/null +++ b/web/public/bundles/shopware/code/012d0a052446f98ba32efe1d3b636b3111957f98.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "012d0a052446f98ba32efe1d3b636b3111957f98", + "language": "typescript", + "path": "src/Administration/Resources/app/administration/src/module/sw-cms/service/cms-block-favorites.service.ts", + "schema": "codexray.code/1", + "text": "/**\n * @sw-package discovery\n */\n\nimport { reactive } from 'vue';\nimport UserConfigClass from '../../../core/service/support/user-config.class';\n\nconst { Application } = Shopware;\n\nclass CmsBlockFavoritesService extends UserConfigClass {\n static USER_CONFIG_KEY = 'cms-block-favorites';\n\n private state: { favorites: string[] } = reactive({\n favorites: [],\n });\n\n public getFavoriteBlockNames(): string[] {\n return this.state.favorites;\n }\n\n public isFavorite(cmsBlockName: string): boolean {\n return this.state.favorites.includes(cmsBlockName);\n }\n\n public update(state: boolean, cmsBlockName: string): void {\n if (state && !this.isFavorite(cmsBlockName)) {\n this.state.favorites.push(cmsBlockName);\n } else if (!state && this.isFavorite(cmsBlockName)) {\n const index = this.state.favorites.indexOf(cmsBlockName);\n\n this.state.favorites.splice(index, 1);\n }\n\n void this.saveUserConfig();\n }\n\n protected getConfigurationKey(): string {\n return CmsBlockFavoritesService.USER_CONFIG_KEY;\n }\n\n protected async readUserConfig(): Promise {\n this.userConfig = await this.getUserConfig();\n if (Array.isArray(this.userConfig.value)) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n this.state.favorites = this.userConfig.value;\n }\n }\n\n protected setUserConfig(): void {\n this.userConfig.value = this.state.favorites;\n }\n}\n\nlet cmsBlockFavoritesService: CmsBlockFavoritesService;\n\nApplication.addServiceProvider('cmsBlockFavorites', () => {\n if (!cmsBlockFavoritesService) {\n cmsBlockFavoritesService = new CmsBlockFavoritesService();\n }\n\n return cmsBlockFavoritesService;\n});\n\n/**\n * @private\n */\nexport { CmsBlockFavoritesService as default };\n" +} diff --git a/web/public/bundles/shopware/code/02304c9d4e6afa2404f41cfa93e2e1b9c3347f2f.json b/web/public/bundles/shopware/code/02304c9d4e6afa2404f41cfa93e2e1b9c3347f2f.json new file mode 100644 index 00000000..899b7766 --- /dev/null +++ b/web/public/bundles/shopware/code/02304c9d4e6afa2404f41cfa93e2e1b9c3347f2f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "02304c9d4e6afa2404f41cfa93e2e1b9c3347f2f", + "language": "php", + "path": "src/Storefront/Theme/ThemeLifecycleHandler.php", + "schema": "codexray.code/1", + "text": " $themeRepository\n */\n public function __construct(\n private readonly ThemeLifecycleService $themeLifecycleService,\n private readonly ThemeService $themeService,\n private readonly EntityRepository $themeRepository,\n private readonly StorefrontPluginRegistry $storefrontPluginRegistry,\n private readonly Connection $connection\n ) {\n }\n\n public function handleThemeInstallOrUpdate(\n StorefrontPluginConfiguration $config,\n StorefrontPluginConfigurationCollection $configurationCollection,\n Context $context\n ): void {\n $themeId = null;\n if ($config->getIsTheme()) {\n $this->themeLifecycleService->refreshTheme($config, $context, $configurationCollection);\n $themeData = $this->getThemeDataByTechnicalName($config->getTechnicalName());\n $themeId = $themeData->getId();\n $this->changeThemeActive($themeData, true, $context);\n }\n\n $this->recompileThemesIfNecessary($config, $context, $configurationCollection, $themeId);\n }\n\n public function handleThemeUninstall(StorefrontPluginConfiguration $config, Context $context): void\n {\n $themeId = $this->deactivateTheme($config, $context);\n\n $configs = $this->storefrontPluginRegistry->getConfigurations();\n\n $configs = $configs->filter(static fn (StorefrontPluginConfiguration $registeredConfig): bool => $registeredConfig->getTechnicalName() !== $config->getTechnicalName());\n\n $this->recompileThemesIfNecessary($config, $context, $configs, $themeId);\n }\n\n public function recompileAllActiveThemes(Context $context, ?StorefrontPluginConfigurationCollection $configurationCollection = null): void\n {\n // Recompile all themes as the extension generally extends the storefront\n $mappings = $this->connection->fetchAllAssociative(\n 'SELECT LOWER(HEX(sales_channel_id)) as sales_channel_id, LOWER(HEX(theme_id)) as theme_id\n FROM theme_sales_channel'\n );\n\n $lastIndex = array_key_last($mappings);\n foreach ($mappings as $index => $mapping) {\n // like the start, the completion of an async compilation is notified only once\n $this->themeService->compileTheme(\n $mapping['sales_channel_id'],\n $mapping['theme_id'],\n $context,\n $configurationCollection,\n true,\n $index === $lastIndex\n );\n }\n }\n\n public function refreshAllActiveThemeImportMaps(Context $context, ?StorefrontPluginConfigurationCollection $configurationCollection = null): void\n {\n $mappings = $this->connection->fetchAllAssociative(\n 'SELECT LOWER(HEX(sales_channel_id)) as sales_channel_id, LOWER(HEX(theme_id)) as theme_id\n FROM theme_sales_channel'\n );\n\n $refreshedThemeIds = [];\n foreach ($mappings as $mapping) {\n // The import map is stored in the runtime config of the theme, which all its sales channels share\n if (isset($refreshedThemeIds[$mapping['theme_id']])) {\n continue;\n }\n $refreshedThemeIds[$mapping['theme_id']] = true;\n\n $this->themeService->refreshThemeImportMap(\n $mapping['sales_channel_id'],\n $mapping['theme_id'],\n $context,\n $configurationCollection\n );\n }\n }\n\n public function deactivateTheme(StorefrontPluginConfiguration $config, Context $context): ?string\n {\n $themeId = null;\n if ($config->getIsTheme()) {\n $themeData = $this->getThemeDataByTechnicalName($config->getTechnicalName());\n $themeId = $themeData->getId();\n\n // throw an exception if theme is still assigned to a sales channel\n $this->validateThemeAssignment($themeId);\n\n // set active = false in the database to theme and all children\n $this->changeThemeActive($themeData, false, $context);\n }\n\n return $themeId;\n }\n\n /**\n * @throws ThemeAssignmentException\n * @throws ThemeException\n * @throws InconsistentCriteriaIdsException\n */\n private function validateThemeAssignment(?string $themeId): void\n {\n if ($themeId === null || $themeId === '') {\n return;\n }\n\n $mappings = $this->themeService->getThemeDependencyMapping($themeId);\n if ($mappings->count() === 0) {\n return;\n }\n\n $this->throwAssignmentException($themeId, $mappings);\n }\n\n private function changeThemeActive(ThemeDependencies $themeData, bool $active, Context $context): void\n {\n if ($themeData->getId() === null) {\n return;\n }\n\n $data = [];\n $data[] = ['id' => $themeData->getId(), 'active' => $active];\n\n foreach ($themeData->getDependentThemes() as $id) {\n $data[] = ['id' => $id, 'active' => $active];\n }\n\n $this->themeRepository->upsert($data, $context);\n }\n\n private function recompileThemesIfNecessary(\n StorefrontPluginConfiguration $config,\n Context $context,\n StorefrontPluginConfigurationCollection $configurationCollection,\n ?string $themeId\n ): void {\n if ($context->hasState(AbstractAppLifecycle::STATE_SKIP_THEME_COMPILATION)) {\n return;\n }\n\n if (!$config->hasFilesToCompile() && !$config->hasAdditionalBundles()) {\n return;\n }\n\n if ($themeId !== null) {\n $this->themeService->compileThemeById(\n $themeId,\n $context,\n $configurationCollection\n );\n\n return;\n }\n\n $this->recompileAllActiveThemes($context, $configurationCollection);\n }\n\n private function getThemeDataByTechnicalName(string $technicalName): ThemeDependencies\n {\n $themeData = $this->connection->fetchAllAssociative(\n 'SELECT LOWER(HEX(theme.id)) as id, LOWER(HEX(childTheme.id)) as dependentId FROM theme\n LEFT JOIN theme as childTheme ON childTheme.parent_theme_id = theme.id\n WHERE theme.technical_name = :technicalName',\n ['technicalName' => $technicalName]\n );\n\n if ($themeData === []) {\n return new ThemeDependencies();\n }\n\n $themes = new ThemeDependencies(current($themeData)['id']);\n foreach ($themeData as $data) {\n if ($data['dependentId']) {\n $themes->addDependentTheme($data['dependentId']);\n }\n }\n\n return $themes;\n }\n\n private function throwAssignmentException(string $themeId, ThemeSalesChannelCollection $mappings): void\n {\n $salesChannels = [];\n $themeSalesChannel = [];\n\n try {\n $themeIds = [$themeId];\n $salesChannelIds = [];\n foreach ($mappings as $mapping) {\n $themeIds[] = $mapping->getThemeId();\n $salesChannelIds[] = $mapping->getSalesChannelId();\n }\n\n /** @var array $themeNames */\n $themeNames = $this->connection->fetchAllKeyValue(\n 'SELECT LOWER(HEX(id)), name FROM theme WHERE id IN (:themeIds)',\n ['themeIds' => Uuid::fromHexToBytesList(array_unique($themeIds))],\n ['themeIds' => ArrayParameterType::BINARY],\n );\n $salesChannels = $this->connection->fetchAllKeyValue(\n 'SELECT LOWER(HEX(sales_channel_id)), name FROM sales_channel_translation\n WHERE sales_channel_id IN (:salesChannelIds) AND language_id = :langId',\n [\n 'salesChannelIds' => Uuid::fromHexToBytesList(array_unique($salesChannelIds)),\n 'langId' => Uuid::fromHexToBytes(Defaults::LANGUAGE_SYSTEM),\n ],\n ['salesChannelIds' => ArrayParameterType::BINARY],\n );\n\n $themeName = $themeNames[$themeId] ?? $themeId;\n $childThemeSalesChannel = [];\n // Describe exactly the recursive assignments that blocked the lifecycle operation.\n foreach ($mappings as $mapping) {\n $mappedThemeName = $themeNames[$mapping->getThemeId()] ?? $mapping->getThemeId();\n $salesChannelId = $mapping->getSalesChannelId();\n $salesChannels[$salesChannelId] ??= '';\n if ($mapping->getThemeId() === $themeId) {\n $themeSalesChannel[$mappedThemeName][] = $salesChannelId;\n } else {\n $childThemeSalesChannel[$mappedThemeName][] = $salesChannelId;\n }\n }\n } catch (\\Throwable $e) {\n // on case an error occurs while fetching data for the exception we still want to have the correct exception\n throw ThemeException::themeAssignmentException(\n $themeId,\n [],\n [],\n $salesChannels,\n $e\n );\n }\n\n throw ThemeException::themeAssignmentException(\n $themeName,\n $themeSalesChannel,\n $childThemeSalesChannel,\n $salesChannels\n );\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/0233bb968dd53a9f7d732fefd680dcb0de1d4292.json b/web/public/bundles/shopware/code/0233bb968dd53a9f7d732fefd680dcb0de1d4292.json new file mode 100644 index 00000000..562fb71c --- /dev/null +++ b/web/public/bundles/shopware/code/0233bb968dd53a9f7d732fefd680dcb0de1d4292.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0233bb968dd53a9f7d732fefd680dcb0de1d4292", + "language": "javascript", + "path": "src/Administration/Resources/app/administration/src/app/adapter/view/vue.adapter.spec/vue-adapter-test-setup.js", + "schema": "codexray.code/1", + "text": "/**\n * @sw-package framework\n */\n\nimport { config } from '@vue/test-utils';\nimport Bottle from 'bottlejs';\nimport ApplicationBootstrapper from 'src/core/application';\nimport AsyncComponentFactory from 'src/core/factory/async-component.factory';\n\n// Mock performance api for vue devtools\nwindow.performance.mark = () => {};\nwindow.performance.measure = () => {};\nwindow.performance.clearMarks = () => {};\nwindow.performance.clearMeasures = () => {};\n\nwindow.removePageLoadingIndicator = jest.fn();\n\nShopware.Service().register('localeHelper', () => {\n return {\n setLocaleWithId: jest.fn(),\n };\n});\n\n/**\n * @private\n */\nexport function createApplication() {\n Bottle.config = { strict: false };\n const container = new Bottle();\n\n return new ApplicationBootstrapper(container);\n}\n\n/**\n * @private\n */\nexport function prepareVueAdapterEnvironment() {\n // delete global $router and $routes mocks\n delete config.global.mocks.$router;\n delete config.global.mocks.$route;\n\n if (!Shopware.Service('loginService')) {\n Shopware.Service().register('loginService', () => {\n return {\n isLoggedIn: () => true,\n };\n });\n }\n\n if (!Shopware.Service('localeToLanguageService')) {\n Shopware.Service().register('localeToLanguageService', () => {\n return {\n localeToLanguage: () => Promise.resolve(),\n };\n });\n }\n\n Shopware.Store.get('system').locales = ['en-GB', 'de-DE'];\n\n Shopware.Store.get('session').setAdminLocaleState({\n locales: ['en-GB', 'de-DE'],\n locale: 'en-GB',\n languageId: '12345678',\n });\n\n process.env.NODE_ENV = 'test';\n}\n\n/**\n * @private\n */\nexport function resetVueAdapterTestState() {\n AsyncComponentFactory.markComponentTemplatesAsNotResolved();\n window.removePageLoadingIndicator.mockClear();\n}\n" +} diff --git a/web/public/bundles/shopware/code/0329f9a52daa5045743f0dd039c29eb0f93b8180.json b/web/public/bundles/shopware/code/0329f9a52daa5045743f0dd039c29eb0f93b8180.json new file mode 100644 index 00000000..28dd83e4 --- /dev/null +++ b/web/public/bundles/shopware/code/0329f9a52daa5045743f0dd039c29eb0f93b8180.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0329f9a52daa5045743f0dd039c29eb0f93b8180", + "language": "php", + "path": "src/Core/Framework/Adapter/Cache/Http/CacheHeadersService.php", + "schema": "codexray.code/1", + "text": " $cookies\n *\n * @internal\n */\n public function __construct(\n private readonly ExtensionDispatcher $extensions,\n private readonly CacheRelevantRulesResolver $ruleResolver,\n private readonly array $cookies,\n private readonly EventDispatcherInterface $dispatcher,\n ) {\n }\n\n public function applyCacheHeaders(SalesChannelContext $context, Response $response): void\n {\n $response->headers->set(PlatformRequest::HEADER_LANGUAGE_ID, $context->getLanguageId());\n $response->headers->set(PlatformRequest::HEADER_CURRENCY_ID, $context->getCurrencyId());\n\n $newVaryArray = array_merge($response->getVary(), HttpCacheVariantHeaders::HEADERS);\n $newVaryArray = array_unique(array_map(static fn (string $v) => \\trim($v), $newVaryArray));\n\n $response->setVary($newVaryArray);\n }\n\n public function applyCacheHash(Request $request, SalesChannelContext $context, Cart $cart, Response $response): ?HttpCacheCookieEvent\n {\n $isCacheHashRequired = $this->extensions->publish(\n CacheHashRequiredExtension::NAME,\n new CacheHashRequiredExtension($request, $context, $cart),\n $this->isCacheHashRequired(...),\n );\n\n if (!$isCacheHashRequired) {\n if ($request->cookies->has(HttpCacheKeyGenerator::CONTEXT_CACHE_COOKIE)) {\n $response->headers->removeCookie(HttpCacheKeyGenerator::CONTEXT_CACHE_COOKIE);\n $response->headers->clearCookie(HttpCacheKeyGenerator::CONTEXT_CACHE_COOKIE);\n }\n\n return null;\n }\n\n $event = $this->buildCacheHash($request, $context);\n $newValue = $event->getHash();\n\n if ($request->cookies->get(HttpCacheKeyGenerator::CONTEXT_CACHE_COOKIE, '') !== $newValue) {\n $cookie = Cookie::create(HttpCacheKeyGenerator::CONTEXT_CACHE_COOKIE, $newValue);\n $cookie->setSecureDefault($request->isSecure());\n\n $response->headers->setCookie($cookie);\n }\n\n $response->headers->set(HttpCacheKeyGenerator::CONTEXT_CACHE_COOKIE, $newValue);\n\n return $event;\n }\n\n private function buildCacheHash(Request $request, SalesChannelContext $context): HttpCacheCookieEvent\n {\n $ruleAreas = $this->ruleResolver->resolveRuleAreas($request, $context);\n\n if (Feature::isActive('PERFORMANCE_TWEAKS') || Feature::isActive('CACHE_REWORK')) {\n $ruleIds = $context->getRuleIdsByAreas($ruleAreas);\n } else {\n $ruleIds = $context->getRuleIds();\n }\n\n $ruleIds = array_unique($ruleIds);\n sort($ruleIds);\n\n // Must not depend on the route scope: storefront and Store API share the sw-cache-hash cookie on a domain,\n // so a Store API client on a storefront page would otherwise overwrite the storefront's cookie on every call.\n $parts = [\n HttpCacheCookieEvent::RULE_IDS => $ruleIds,\n HttpCacheCookieEvent::VERSION_ID => $context->getVersionId(),\n HttpCacheCookieEvent::CURRENCY_ID => $context->getCurrencyId(),\n HttpCacheCookieEvent::TAX_STATE => $context->getTaxState(),\n HttpCacheCookieEvent::LOGGED_IN_STATE => $context->getCustomer() ? 'logged-in' : 'not-logged-in',\n HttpCacheCookieEvent::LANGUAGE_ID => $context->getLanguageId(),\n ];\n\n $taxRuleFingerprint = TaxRuleFingerprint::build($context);\n if ($taxRuleFingerprint !== null) {\n $parts[HttpCacheCookieEvent::TAX_RULES] = $taxRuleFingerprint;\n }\n\n foreach ($this->cookies as $cookie) {\n if ($request->cookies->has($cookie)) {\n $parts[$cookie] = $request->cookies->get($cookie);\n }\n }\n\n $event = new HttpCacheCookieEvent($request, $context, $parts);\n $this->dispatcher->dispatch($event);\n\n return $event;\n }\n\n private function isCacheHashRequired(Request $request, SalesChannelContext $salesChannelContext, Cart $cart): bool\n {\n if ($salesChannelContext->getCustomer() !== null) {\n // cache hash is required for logged in customers\n return true;\n }\n\n if ($salesChannelContext->getProspectiveCustomer() !== null) {\n // rules match the address of a visitor without a customer like the address of a logged in customer\n return true;\n }\n\n if ($cart->getLineItems()->count() > 0) {\n // cache hash is required for filled carts\n return true;\n }\n\n if ($salesChannelContext->getCurrencyId() !== $salesChannelContext->getSalesChannel()->getCurrencyId()) {\n // cache hash is required for non-default currency\n return true;\n }\n\n // Visitor can patch context with values that change the response for the cacheable routes\n // (tax state, country, payment method, shipping method conditioned rules)\n if ($salesChannelContext->getShippingLocation()->getCountry()->getId()\n !== $salesChannelContext->getSalesChannel()->getCountryId()\n ) {\n return true;\n }\n\n if ($salesChannelContext->getShippingLocation()->getState() !== null\n && TaxRuleFingerprint::derivesPricesFromTaxRates($salesChannelContext)\n ) {\n return true;\n }\n\n if ($salesChannelContext->getPaymentMethod()->getId()\n !== $salesChannelContext->getSalesChannel()->getPaymentMethodId()\n ) {\n return true;\n }\n\n if ($salesChannelContext->getShippingMethod()->getId()\n !== $salesChannelContext->getSalesChannel()->getShippingMethodId()\n ) {\n return true;\n }\n\n // sw-language-id is part of the cache key, so only a persisted context language needs the hash.\n // Storefront requests always carry the header, set from their domain.\n if ($salesChannelContext->getLanguageId() !== $salesChannelContext->getSalesChannel()->getLanguageId()\n && $salesChannelContext->getLanguageId() !== (string) $request->headers->get(PlatformRequest::HEADER_LANGUAGE_ID, '')\n ) {\n return true;\n }\n\n // check if cache relevant cookies are set\n foreach ($this->cookies as $cookie) {\n if ($request->cookies->has($cookie)) {\n return true;\n }\n }\n\n return false;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/0531e4ea30c5a83c890208230a7207c8657ea81a.json b/web/public/bundles/shopware/code/0531e4ea30c5a83c890208230a7207c8657ea81a.json new file mode 100644 index 00000000..88cdbdbb --- /dev/null +++ b/web/public/bundles/shopware/code/0531e4ea30c5a83c890208230a7207c8657ea81a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0531e4ea30c5a83c890208230a7207c8657ea81a", + "language": "php", + "path": "src/Storefront/Framework/Routing/NotFound/NotFoundPageCacheKeyEvent.php", + "schema": "codexray.code/1", + "text": "context->getContext();\n }\n\n public function getSalesChannelContext(): SalesChannelContext\n {\n return $this->context;\n }\n\n public function getRequest(): Request\n {\n return $this->request;\n }\n\n public function getKey(): string\n {\n return $this->key;\n }\n\n public function setKey(string $key): void\n {\n $this->key = $key;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/071816e3e105e2985e44112453f69a8147d94860.json b/web/public/bundles/shopware/code/071816e3e105e2985e44112453f69a8147d94860.json new file mode 100644 index 00000000..79974175 --- /dev/null +++ b/web/public/bundles/shopware/code/071816e3e105e2985e44112453f69a8147d94860.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "071816e3e105e2985e44112453f69a8147d94860", + "language": "php", + "path": "src/Storefront/Framework/Twig/TemplateConfigAccessor.php", + "schema": "codexray.code/1", + "text": "\n */\n private array $packages;\n\n /**\n * @internal\n *\n * @param iterable $packages\n */\n public function __construct(\n private readonly SystemConfigService $systemConfigService,\n private readonly ThemeConfigValueAccessor $themeConfigAccessor,\n private readonly ThemeScripts $themeScripts,\n private readonly string $kernelEnvironment = 'prod',\n iterable $packages = [],\n ) {\n $this->packages = \\is_array($packages) ? $packages : iterator_to_array($packages);\n }\n\n /**\n * @deprecated tag:v6.8.0 - Will be removed. Use SystemConfigService in PHP code instead. Twig code can continue using config().\n *\n * @return string|bool|array|float|int|null\n */\n public function config(string $key, ?string $salesChannelId)\n {\n Feature::triggerDeprecationOrThrow(\n 'v6.8.0.0',\n Feature::deprecatedMethodMessage(self::class, __METHOD__, 'v6.8.0.0', 'SystemConfigService')\n );\n\n $static = $this->getStatic();\n\n if (\\array_key_exists($key, $static)) {\n return $static[$key];\n }\n\n return $this->systemConfigService->get($key, $salesChannelId);\n }\n\n /**\n * @return string|bool|array|float|int|null\n */\n public function theme(string $key, SalesChannelContext $context, ?string $themeId)\n {\n return $this->themeConfigAccessor->get($key, $context, $themeId);\n }\n\n /**\n * @return list $items\n */\n public function scripts(): array\n {\n return array_values($this->themeScripts->getThemeScripts());\n }\n\n /**\n * Returns the full import map data: top-level imports, optional scoped imports for extensions,\n * and optional ordered lists of CSS and JS URLs.\n *\n * When the Vite component dev server is running it writes a flag file that\n * IS the complete map (all entries already contain full dev-server URLs).\n * That map is returned with `isDevServer: true` added so that the template\n * can treat dev-server component CSS as a replacement for the compiled theme\n * stylesheet (the dev server re-compiles component SCSS on the fly).\n *\n * In production the stored map contains relative bundle paths from theme compile.\n * They are resolved to request-aware URLs via the `asset` package at render time.\n * The `styles` key, if present, lists the component CSS files at\n * public/storefront/components/ that must be loaded alongside the regular\n * compiled theme stylesheet.\n *\n * @return array{imports: array, scopes?: array>, styles?: list, scripts?: list, themeId?: string, isDevServer?: bool}\n */\n public function importMap(): array\n {\n // Vite dev server running: the flag file already provides the complete map.\n // Only active in the dev environment — never in production or test.\n if ($this->kernelEnvironment === 'dev') {\n $devMap = $this->themeScripts->getDevImportMap();\n if ($devMap !== null) {\n return $devMap + ['isDevServer' => true];\n }\n }\n\n return $this->resolveImportMapUrls($this->themeScripts->getImportMap() ?? ['imports' => []]);\n }\n\n /**\n * Returns all theme config fields that have `\"scss\": true` (the default) as a key/value\n * map so Twig can render custom properties with context-appropriate escaping.\n *\n * Delegates to ThemeConfigValueAccessor::getCssVarValues() so values are resolved\n * the same way as theme_config() — media URLs substituted, cached per sales channel.\n *\n * @return array\n */\n public function themeCssVars(SalesChannelContext $context, ?string $themeId): array\n {\n return $this->themeConfigAccessor->getCssVarValues($context, $themeId);\n }\n\n /**\n * @return array\n */\n private function getStatic(): array\n {\n return [\n 'seo.descriptionMaxLength' => 255,\n 'cms.revocationNoticeCmsPageId' => '00B9A8636F954277AE424E6C1C36A1F5',\n 'cms.taxCmsPageId' => '00B9A8636F954277AE424E6C1C36A1F5',\n 'cms.tosCmsPageId' => '00B9A8636F954277AE424E6C1C36A1F5',\n 'confirm.revocationNotice' => true,\n ];\n }\n\n /**\n * @param array{imports: array, scopes?: array>, styles?: list, scripts?: list, themeId?: string, isDevServer?: bool} $importMap\n *\n * @return array{imports: array, scopes?: array>, styles?: list, scripts?: list, themeId?: string, isDevServer?: bool}\n */\n private function resolveImportMapUrls(array $importMap): array\n {\n $package = $this->packages['asset'] ?? null;\n if ($package === null) {\n return $importMap;\n }\n\n $resolvedImports = [];\n foreach ($importMap['imports'] as $specifier => $path) {\n $resolvedImports[$specifier] = $package->getUrl($path);\n }\n $importMap['imports'] = $resolvedImports;\n\n if (isset($importMap['scopes'])) {\n $resolvedScopes = [];\n foreach ($importMap['scopes'] as $scopeKey => $scopedImports) {\n $resolvedScopeKey = $this->stripQueryString($package->getUrl($scopeKey));\n foreach ($scopedImports as $specifier => $path) {\n $resolvedScopes[$resolvedScopeKey][$specifier] = $package->getUrl($path);\n }\n }\n $importMap['scopes'] = $resolvedScopes;\n }\n\n if (isset($importMap['styles'])) {\n $importMap['styles'] = array_map(\n fn (string $path): string => $package->getUrl($path),\n $importMap['styles'],\n );\n }\n\n return $importMap;\n }\n\n /**\n * Import-map scope keys are matched by URL prefix. Query strings on scope keys\n * break that prefix matching against module URLs and therefore must be removed.\n */\n private function stripQueryString(string $url): string\n {\n $queryPos = strpos($url, '?');\n\n if ($queryPos === false) {\n return $url;\n }\n\n return substr($url, 0, $queryPos);\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/07c6b4259830b61719af0abe448a3d1bd3ae3133.json b/web/public/bundles/shopware/code/07c6b4259830b61719af0abe448a3d1bd3ae3133.json new file mode 100644 index 00000000..a0db6775 --- /dev/null +++ b/web/public/bundles/shopware/code/07c6b4259830b61719af0abe448a3d1bd3ae3133.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "07c6b4259830b61719af0abe448a3d1bd3ae3133", + "language": "php", + "path": "src/Storefront/Theme/ThemeEntity.php", + "schema": "codexray.code/1", + "text": "|null\n *\n * @deprecated tag:v6.8.0 - Will be removed. Use helpText label keys from structured fields instead\n */\n protected ?array $labels = null;\n\n /**\n * @var array|null\n *\n * @deprecated tag:v6.8.0 - Will be removed. Use helpText snippet keys from structured fields instead\n */\n protected ?array $helpTexts = null;\n\n protected ?string $previewMediaId = null;\n\n protected ?string $parentThemeId = null;\n\n /**\n * @var array|null\n */\n protected ?array $themeJson = null;\n\n /**\n * @var array|null\n */\n protected ?array $baseConfig = null;\n\n /**\n * @var array|null\n */\n protected ?array $configValues = null;\n\n protected bool $active;\n\n protected ?ThemeCollection $dependentThemes = null;\n\n protected ?MediaEntity $previewMedia = null;\n\n protected ?MediaCollection $media = null;\n\n protected ?SalesChannelCollection $salesChannels = null;\n\n protected ?ThemeTranslationCollection $translations = null;\n\n public function getTechnicalName(): ?string\n {\n return $this->technicalName;\n }\n\n public function setTechnicalName(?string $technicalName): void\n {\n $this->technicalName = $technicalName;\n }\n\n public function getName(): string\n {\n return $this->name;\n }\n\n public function setName(string $name): void\n {\n $this->name = $name;\n }\n\n public function getAuthor(): string\n {\n return $this->author;\n }\n\n public function setAuthor(string $author): void\n {\n $this->author = $author;\n }\n\n public function getDescription(): ?string\n {\n return $this->description;\n }\n\n public function setDescription(?string $description): void\n {\n $this->description = $description;\n }\n\n /**\n * @return array|null\n *\n * @deprecated tag:v6.8.0 - Will be removed. Use label snippet keys from structured fields instead\n */\n public function getLabels(): ?array\n {\n Feature::triggerDeprecationOrThrow('v6.8.0.0', Feature::deprecatedMethodMessage(self::class, __METHOD__, 'v6.8.0.0', 'ThemeConfigField::getLabelSnippetKey'));\n\n return $this->labels;\n }\n\n /**\n * @param array|null $labels\n *\n * @deprecated tag:v6.8.0 - Will be removed. Use label snippet keys from structured fields instead\n */\n public function setLabels(?array $labels): void\n {\n Feature::triggerDeprecationOrThrow('v6.8.0.0', Feature::deprecatedMethodMessage(self::class, __METHOD__, 'v6.8.0.0'));\n\n $this->labels = $labels;\n }\n\n /**\n * @return array|null\n *\n * @deprecated tag:v6.8.0 - Will be removed. Use helpText snippet keys from structured fields instead\n */\n public function getHelpTexts(): ?array\n {\n Feature::triggerDeprecationOrThrow('v6.8.0.0', Feature::deprecatedMethodMessage(self::class, __METHOD__, 'v6.8.0.0', 'ThemeConfigField::getHelpTextSnippetKey'));\n\n return $this->helpTexts;\n }\n\n /**\n * @param array|null $helpTexts\n *\n * @deprecated tag:v6.8.0 - Will be removed. Use helpText snippet keys from structured fields instead\n */\n public function setHelpTexts(?array $helpTexts): void\n {\n Feature::triggerDeprecationOrThrow('v6.8.0.0', Feature::deprecatedMethodMessage(self::class, __METHOD__, 'v6.8.0.0'));\n\n $this->helpTexts = $helpTexts;\n }\n\n public function getPreviewMediaId(): ?string\n {\n return $this->previewMediaId;\n }\n\n public function setPreviewMediaId(?string $previewMediaId): void\n {\n $this->previewMediaId = $previewMediaId;\n }\n\n public function getParentThemeId(): ?string\n {\n return $this->parentThemeId;\n }\n\n public function setParentThemeId(?string $parentThemeId): void\n {\n $this->parentThemeId = $parentThemeId;\n }\n\n /**\n * @return array|null\n */\n public function getThemeJson(): ?array\n {\n return $this->themeJson;\n }\n\n /**\n * @param array|null $themeJson\n */\n public function setThemeJson(?array $themeJson): void\n {\n $this->themeJson = $themeJson;\n }\n\n /**\n * @return array|null\n */\n public function getBaseConfig(): ?array\n {\n return $this->baseConfig;\n }\n\n /**\n * @param array|null $baseConfig\n */\n public function setBaseConfig(?array $baseConfig): void\n {\n $this->baseConfig = $baseConfig;\n }\n\n /**\n * @return array|null\n */\n public function getConfigValues(): ?array\n {\n return $this->configValues;\n }\n\n /**\n * @param array|null $configValues\n */\n public function setConfigValues(?array $configValues): void\n {\n $this->configValues = $configValues;\n }\n\n public function isActive(): bool\n {\n return $this->active;\n }\n\n public function setActive(bool $active): void\n {\n $this->active = $active;\n }\n\n public function getSalesChannels(): ?SalesChannelCollection\n {\n return $this->salesChannels;\n }\n\n public function setSalesChannels(SalesChannelCollection $salesChannels): void\n {\n $this->salesChannels = $salesChannels;\n }\n\n public function getMedia(): ?MediaCollection\n {\n return $this->media;\n }\n\n public function setMedia(MediaCollection $media): void\n {\n $this->media = $media;\n }\n\n public function getPreviewMedia(): ?MediaEntity\n {\n return $this->previewMedia;\n }\n\n public function setPreviewMedia(?MediaEntity $previewMedia): void\n {\n $this->previewMedia = $previewMedia;\n }\n\n public function getTranslations(): ?ThemeTranslationCollection\n {\n return $this->translations;\n }\n\n public function setTranslations(ThemeTranslationCollection $translations): void\n {\n $this->translations = $translations;\n }\n\n public function getDependentThemes(): ?ThemeCollection\n {\n return $this->dependentThemes;\n }\n\n public function setDependentThemes(ThemeCollection $dependentThemes): void\n {\n $this->dependentThemes = $dependentThemes;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/07ec523a43bf8cb43ba8fca180f0a508014500f4.json b/web/public/bundles/shopware/code/07ec523a43bf8cb43ba8fca180f0a508014500f4.json new file mode 100644 index 00000000..7059fe30 --- /dev/null +++ b/web/public/bundles/shopware/code/07ec523a43bf8cb43ba8fca180f0a508014500f4.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "07ec523a43bf8cb43ba8fca180f0a508014500f4", + "language": "php", + "path": "src/Core/Checkout/Cart/CachedRuleLoader.php", + "schema": "codexray.code/1", + "text": "decorated;\n }\n\n public function load(Context $context): RuleCollection\n {\n return $this->cache->get(self::CACHE_KEY, fn (): RuleCollection => $this->decorated->load($context));\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/08b642c8ccebb12e74e1648538e7eec63e2550cc.json b/web/public/bundles/shopware/code/08b642c8ccebb12e74e1648538e7eec63e2550cc.json new file mode 100644 index 00000000..0fa9cd53 --- /dev/null +++ b/web/public/bundles/shopware/code/08b642c8ccebb12e74e1648538e7eec63e2550cc.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "08b642c8ccebb12e74e1648538e7eec63e2550cc", + "language": "typescript", + "path": "src/Administration/Resources/app/administration/scripts/generate-public-api/model/blocks.ts", + "schema": "codexray.code/1", + "text": "/**\n * @sw-package framework\n *\n * What the model holds about the blocks of a component: the entry of a block, what its place offers to an\n * override, and the elements and `v-if` chains that cross a block boundary.\n */\nimport type { Marker } from '../../../eslint-rules/deprecation-rules/utils/api-markers';\nimport type { FlagStates } from './flag-states';\nimport type { SourceLine } from './source-line';\n\n/** @private */\nexport const BLOCK_ORIGINS = [\n 'inherited',\n 'replaced',\n 'keepsParent',\n] as const;\n\n/**\n * @private\n *\n * How an extend child got a block: `inherited` unchanged from its parent, `replaced` by a redeclaration without\n * `{% parent %}`, or redeclared with it (`keepsParent`). `null` for a block the component declares itself.\n */\nexport type BlockOrigin = (typeof BLOCK_ORIGINS)[number];\n\n/**\n * @private\n *\n * A template variable that an element around a block introduces. `source` says where its value comes from:\n * the expression a `v-for` loops over, such as `products`, or the slot it is a prop of, such as\n * `sw-data-grid#actions`.\n */\nexport interface ScopeVariable {\n name: string;\n kind: 'v-for' | 'slot';\n source: string;\n}\n\n/**\n * @private\n *\n * What the place of a block offers to an override. `afterIf` holds the conditions of the open `v-if` chain the\n * block follows, in the order of the chain, and is `null` when it follows none. `continuesChain` says that the\n * content of the block starts with the `v-else-if` or `v-else` that continues that chain, so an override of\n * the block has to continue it too.\n */\nexport interface BlockContext {\n afterIf: string[] | null;\n continuesChain: boolean;\n scope: ScopeVariable[];\n}\n\n/**\n * @private\n *\n * A block under one parent block. A block that sits under another parent in the major state has two entries,\n * and so has a block that an extend child both inherits and declares under the same parent, or one that the\n * template declares in places with a different context. `at` and `markers` are those of the first of its places.\n */\nexport interface TemplateBlock {\n name: string;\n parent: string | null;\n origin: BlockOrigin | null;\n context: BlockContext;\n states: FlagStates;\n at: SourceLine;\n markers: Marker[];\n}\n\n/**\n * @private\n *\n * How the snapshot and the findings name the block of a crossing. `null` is the template outside of every block.\n */\nexport function blockLabel(block: string | null): string {\n return block ?? '(root)';\n}\n\n/**\n * @private\n *\n * What crosses a block boundary: an element with its tag, or a `v-if` chain.\n */\nexport type CrossingSubject = { kind: 'element'; tag: string } | { kind: 'chain' };\n\n/**\n * @private\n *\n * An element that opens in one block and closes in another, or a `v-if` chain that continues in another block.\n * A block of `null` is the template outside of every block. `at` is the line of the element, for a chain that\n * of the member that continues it.\n */\nexport type Crossing = CrossingSubject & {\n opens: string | null;\n closes: string | null;\n states: FlagStates;\n at: SourceLine;\n};\n\n/**\n * @private\n *\n * What stands for the subject in the element id of a crossing: the tag of the element, or `v-if` for a chain.\n */\nexport function crossingSubject(crossing: CrossingSubject): string {\n return crossing.kind === 'chain' ? 'v-if' : crossing.tag;\n}\n\n/**\n * @private\n *\n * The part of the element id that names a crossing, `div@sw_card>sw_card_title`. Crossings are sorted by it.\n */\nexport function crossingId(crossing: Crossing): string {\n return `${crossingSubject(crossing)}@${blockLabel(crossing.opens)}>${blockLabel(crossing.closes)}`;\n}\n" +} diff --git a/web/public/bundles/shopware/code/0a5de5be53458bc60cbe48a5931c3897526a9879.json b/web/public/bundles/shopware/code/0a5de5be53458bc60cbe48a5931c3897526a9879.json new file mode 100644 index 00000000..ff2585b4 --- /dev/null +++ b/web/public/bundles/shopware/code/0a5de5be53458bc60cbe48a5931c3897526a9879.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0a5de5be53458bc60cbe48a5931c3897526a9879", + "language": "php", + "path": "src/Storefront/Pagelet/Country/CountryStateDataPageletLoader.php", + "schema": "codexray.code/1", + "text": "eventDispatcher->dispatch(new CountryStateDataPageletCriteriaEvent($criteria, $context, $request));\n\n $countryRouteResponse = $this->countryStateRoute->load($countryId, $request, $criteria, $context);\n\n $page->setStates($countryRouteResponse->getStates());\n\n $this->eventDispatcher->dispatch(new CountryStateDataPageletLoadedEvent($page, $context, $request));\n\n return $page;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/0a98bb514a2e816b2ebbc23e88a79b2310ac9040.json b/web/public/bundles/shopware/code/0a98bb514a2e816b2ebbc23e88a79b2310ac9040.json new file mode 100644 index 00000000..ac1c153d --- /dev/null +++ b/web/public/bundles/shopware/code/0a98bb514a2e816b2ebbc23e88a79b2310ac9040.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0a98bb514a2e816b2ebbc23e88a79b2310ac9040", + "language": "php", + "path": "src/Core/Migration/V6_3/Migration1572193798TaxRule.php", + "schema": "codexray.code/1", + "text": "createTables($connection);\n $this->addTaxRuleTypes($connection);\n }\n\n public function updateDestructive(Connection $connection): void\n {\n // implement update destructive\n }\n\n public function createTables(Connection $connection): void\n {\n $connection->executeStatement('\n CREATE TABLE `tax_rule_type`\n (\n `id` BINARY(16) NOT NULL,\n `technical_name` VARCHAR(255) COLLATE utf8mb4_unicode_ci NOT NULL,\n `position` INT(11) NOT NULL,\n `created_at` DATETIME(3) NOT NULL,\n `updated_at` DATETIME(3) NULL,\n PRIMARY KEY (`id`),\n UNIQUE KEY `uniq.technical_name` (`technical_name`)\n ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;\n ');\n $connection->executeStatement('\n CREATE TABLE `tax_rule_type_translation`\n (\n `tax_rule_type_id` BINARY(16) NOT NULL,\n `language_id` BINARY(16) NOT NULL,\n `type_name` VARCHAR(255) NOT NULL,\n `created_at` DATETIME(3) NOT NULL,\n `updated_at` DATETIME(3) NULL,\n PRIMARY KEY (`tax_rule_type_id`, `language_id`),\n CONSTRAINT `fk.tax_rule_type_translation.tax_rule_type_id`\n FOREIGN KEY (`tax_rule_type_id`) REFERENCES `tax_rule_type` (`id`),\n CONSTRAINT `fk.tax_rule_type_translation.language_id`\n FOREIGN KEY (`language_id`) REFERENCES `language` (`id`)\n ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;\n ');\n $connection->executeStatement('\n CREATE TABLE `tax_rule`\n (\n `id` BINARY(16) NOT NULL,\n `tax_id` BINARY(16) NOT NULL,\n `tax_rule_type_id` BINARY(16) NOT NULL,\n `country_id` BINARY(16) NOT NULL,\n `tax_rate` DOUBLE(10,2) NOT NULL,\n `data` JSON NULL,\n `created_at` DATETIME(3) NOT NULL,\n `updated_at` DATETIME(3) NULL,\n PRIMARY KEY (`id`),\n CONSTRAINT `json.tax_rule.data` CHECK(JSON_VALID(`data`)),\n CONSTRAINT `fk.tax_rule.tax_id`\n FOREIGN KEY (`tax_id`) REFERENCES `tax` (`id`),\n CONSTRAINT `fk.tax_rule.tax_area_rule_type_id`\n FOREIGN KEY (`tax_rule_type_id`) REFERENCES `tax_rule_type` (`id`),\n CONSTRAINT `fk.tax_rule.country_id`\n FOREIGN KEY (`country_id`) REFERENCES `country` (`id`)\n ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;\n ');\n }\n\n private function addTaxRuleTypes(Connection $connection): void\n {\n $languageIdEn = $this->getLocaleId($connection, 'en-GB');\n $languageIdDe = $this->getLocaleId($connection, 'de-DE');\n $languageSystem = Uuid::fromHexToBytes(Defaults::LANGUAGE_SYSTEM);\n\n $dataDe = [\n ZipCodeRuleTypeFilter::TECHNICAL_NAME => [\n 'type_name' => 'Postleitzahl',\n ],\n ZipCodeRangeRuleTypeFilter::TECHNICAL_NAME => [\n 'type_name' => 'Postleitzahl Bereich',\n ],\n IndividualStatesRuleTypeFilter::TECHNICAL_NAME => [\n 'type_name' => 'Individuelle Bundesländer',\n ],\n EntireCountryRuleTypeFilter::TECHNICAL_NAME => [\n 'type_name' => 'Gesamte Land',\n ],\n ];\n\n $dataEn = [\n ZipCodeRuleTypeFilter::TECHNICAL_NAME => [\n 'type_name' => 'Zip Code',\n ],\n ZipCodeRangeRuleTypeFilter::TECHNICAL_NAME => [\n 'type_name' => 'Zip Code Range',\n ],\n IndividualStatesRuleTypeFilter::TECHNICAL_NAME => [\n 'type_name' => 'Individual States',\n ],\n EntireCountryRuleTypeFilter::TECHNICAL_NAME => [\n 'type_name' => 'Entire Country',\n ],\n ];\n\n foreach (\n [\n ZipCodeRuleTypeFilter::TECHNICAL_NAME,\n ZipCodeRangeRuleTypeFilter::TECHNICAL_NAME,\n IndividualStatesRuleTypeFilter::TECHNICAL_NAME,\n EntireCountryRuleTypeFilter::TECHNICAL_NAME,\n ] as $position => $technicalName\n ) {\n $typeId = Uuid::randomBytes();\n $typeData = [\n 'id' => $typeId,\n 'technical_name' => $technicalName,\n 'position' => $position,\n 'created_at' => (new \\DateTime())->format(Defaults::STORAGE_DATE_TIME_FORMAT),\n ];\n $connection->insert(TaxRuleTypeDefinition::ENTITY_NAME, $typeData);\n\n if (!\\in_array($languageSystem, [$languageIdDe, $languageIdEn], true)) {\n $this->insertTranslation($connection, $dataEn[$technicalName], $typeId, $languageSystem);\n }\n\n $this->insertTranslation($connection, $dataEn[$technicalName], $typeId, $languageIdEn);\n $this->insertTranslation($connection, $dataDe[$technicalName], $typeId, $languageIdDe);\n }\n }\n\n private function getLocaleId(Connection $connection, string $code): ?string\n {\n $result = $connection->fetchOne(\n '\n SELECT lang.id\n FROM language lang\n INNER JOIN locale loc ON lang.translation_code_id = loc.id\n AND loc.code = :code',\n [\n 'code' => $code,\n ]\n );\n\n if ($result === false) {\n return null;\n }\n\n return (string) $result;\n }\n\n /**\n * @param array $data\n */\n private function insertTranslation(Connection $connection, array $data, string $typeId, ?string $languageId): void\n {\n if ($languageId === null) {\n return;\n }\n\n $data = array_merge($data, [\n 'created_at' => (new \\DateTime())->format(Defaults::STORAGE_DATE_TIME_FORMAT),\n 'language_id' => $languageId,\n 'tax_rule_type_id' => $typeId,\n ]);\n\n $connection->insert('tax_rule_type_translation', $data);\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/0abb2e747c975037f8308bd079aa07dbfa407e0f.json b/web/public/bundles/shopware/code/0abb2e747c975037f8308bd079aa07dbfa407e0f.json new file mode 100644 index 00000000..87386b42 --- /dev/null +++ b/web/public/bundles/shopware/code/0abb2e747c975037f8308bd079aa07dbfa407e0f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0abb2e747c975037f8308bd079aa07dbfa407e0f", + "language": "typescript", + "path": "src/Administration/Resources/app/administration/src/app/component/structure/sw-ui-shell-update-2026-modal/index.ts", + "schema": "codexray.code/1", + "text": "/**\n * @sw-package framework\n */\nimport { MtBadge, MtModal, MtModalRoot } from '@shopware-ag/meteor-component-library';\nimport type { Theme } from '@shopware-ag/meteor-component-library';\nimport useTheme from 'src/app/composables/use-theme';\nimport template from './sw-ui-shell-update-2026-modal.html.twig';\nimport './sw-ui-shell-update-2026-modal.scss';\n\ntype UiShellUpdate2026Page = {\n id: string;\n headline: string;\n descriptionKey: string;\n hintKey: string;\n pinnedSplit?: number;\n hasThemeSelect?: boolean;\n badge?: string;\n};\n\nconst SPLIT_PROPERTY = '--sw-ui-shell-update-2026-modal-split';\nconst CENTER_SPLIT_POSITION = 50;\n// Mirrors the transition duration of __compare--eased in the stylesheet.\nconst SPLIT_EASE_DURATION = 300;\n\n// Captured once on the press: moves apply deltas, and the width cannot change mid-drag.\ntype DragState = {\n pointerId: number;\n originX: number;\n originOffset: number;\n width: number;\n position: number;\n};\n\n/**\n * The release that ships the new navigation: shops and users from before it ran the old one.\n *\n * @private\n * @deprecated tag:v6.9.0 - Will be removed together with the one-time ui-shell-update-2026 announcement modal\n */\nexport const NEW_NAVIGATION_RELEASE_DATE = '2026-10-05';\n\n/**\n * @private\n * @deprecated tag:v6.9.0 - Will be removed together with the one-time ui-shell-update-2026 announcement modal\n */\nexport const UI_SHELL_UPDATE_2026_SEEN_CONFIG_KEY = 'core.uiShellUpdate2026ModalSeen';\n\ntype ContextSettings = {\n firstMigrationDate?: string | null;\n};\n\n/**\n * @private\n * @deprecated tag:v6.9.0 - One-time announcement modal for the 2026 UI shell update; will be removed\n * together with its template, styles, specs, snippets, and the static images under\n * static/img/ui-shell-update-2026/\n */\nexport default Shopware.Component.wrapComponentConfig({\n name: 'sw-ui-shell-update-2026-modal',\n template,\n\n components: {\n MtBadge,\n MtModal,\n MtModalRoot,\n },\n\n mixins: [Shopware.Mixin.getByName('notification')],\n\n data(): {\n isOpen: boolean;\n currentPage: number;\n splitPosition: number | null;\n hintHandoffTimeout: number | null;\n isSplitEased: boolean;\n drag: DragState | null;\n hasRecordedSeen: boolean;\n } {\n return {\n isOpen: false,\n currentPage: 0,\n hintHandoffTimeout: null,\n isSplitEased: false,\n splitPosition: null,\n drag: null,\n hasRecordedSeen: false,\n };\n },\n\n computed: {\n pages(): UiShellUpdate2026Page[] {\n return [\n {\n id: 'admin-navigation',\n headline: this.$t('sw-ui-shell-update-2026-modal.pages.adminNavigation.headline'),\n descriptionKey: 'sw-ui-shell-update-2026-modal.pages.adminNavigation.description',\n hintKey: 'sw-ui-shell-update-2026-modal.pages.adminNavigation.moduleColorsHint',\n },\n {\n id: 'dark-mode',\n headline: this.$t('sw-ui-shell-update-2026-modal.pages.darkMode.headline'),\n descriptionKey: 'sw-ui-shell-update-2026-modal.pages.darkMode.description',\n hintKey: 'sw-ui-shell-update-2026-modal.pages.darkMode.themeSelectHint',\n pinnedSplit: 100,\n hasThemeSelect: true,\n badge: this.$t('sw-ui-shell-update-2026-modal.pages.darkMode.badge'),\n },\n ];\n },\n\n activePage(): UiShellUpdate2026Page {\n return this.pages[this.currentPage];\n },\n\n isFirstPage(): boolean {\n return this.currentPage === 0;\n },\n\n isLastPage(): boolean {\n return this.currentPage === this.pages.length - 1;\n },\n\n isSplitPinned(): boolean {\n return this.activePage.pinnedSplit !== undefined;\n },\n\n isDragging(): boolean {\n return this.drag !== null;\n },\n\n userTheme: {\n get(): Theme {\n return useTheme().theme.value;\n },\n set(theme: Theme) {\n this.onThemeChange(theme);\n },\n },\n\n // Only the resting position is bound; the drag writes straight to the element.\n compareStyle(): Record {\n if (this.splitPosition === null) {\n return {};\n }\n\n return { [SPLIT_PROPERTY]: `${this.splitPosition}%` };\n },\n },\n\n watch: {\n // Paging is the only thing that re-centers: a dragged position is deliberate.\n currentPage() {\n this.drag = null;\n this.clearHintHandoff();\n\n const pinnedSplit = this.activePage.pinnedSplit;\n\n this.isSplitEased = true;\n\n if (pinnedSplit !== undefined) {\n this.splitPosition = pinnedSplit;\n\n return;\n }\n\n // Hand the property to the idle hint only after the slide arrives: an animation cuts a transition short.\n this.splitPosition = CENTER_SPLIT_POSITION;\n\n this.hintHandoffTimeout = window.setTimeout(() => {\n this.hintHandoffTimeout = null;\n this.isSplitEased = false;\n this.splitPosition = null;\n }, SPLIT_EASE_DURATION);\n },\n },\n\n created() {\n this.createdComponent();\n },\n\n beforeUnmount() {\n this.beforeUnmountComponent();\n },\n\n methods: {\n createdComponent() {\n void this.resolveVisibility();\n },\n\n beforeUnmountComponent() {\n this.clearHintHandoff();\n },\n\n async resolveVisibility() {\n if (!this.isIntendedAudience()) {\n return;\n }\n\n if (await this.hasSeenModal()) {\n return;\n }\n\n this.isOpen = true;\n },\n\n isIntendedAudience(): boolean {\n if (new Date() < new Date(NEW_NAVIGATION_RELEASE_DATE)) {\n return false;\n }\n\n if (Shopware.Store.get('context').app.firstRunWizard === true) {\n return false;\n }\n\n if (!this.isExistingShop()) {\n return false;\n }\n\n return this.isExistingUser();\n },\n\n // The date of its very first migration identifies a shop that ran the old navigation.\n isExistingShop(): boolean {\n const settings = Shopware.Store.get('context').app.config.settings as ContextSettings | undefined;\n\n return this.isBeforeRelease(settings?.firstMigrationDate);\n },\n\n // An old shop can still have brand new admin users, and those never saw it either.\n isExistingUser(): boolean {\n const currentUser = Shopware.Store.get('session').currentUser as Record | null;\n\n return this.isBeforeRelease(currentUser?.createdAt);\n },\n\n isBeforeRelease(value: unknown): boolean {\n if (typeof value !== 'string' || value === '') {\n return false;\n }\n\n const date = new Date(value);\n\n if (Number.isNaN(date.getTime())) {\n return false;\n }\n\n return date < new Date(NEW_NAVIGATION_RELEASE_DATE);\n },\n\n async hasSeenModal(): Promise {\n const response = await Shopware.Service('userConfigService').search([UI_SHELL_UPDATE_2026_SEEN_CONFIG_KEY]);\n const value = response?.data?.[UI_SHELL_UPDATE_2026_SEEN_CONFIG_KEY] as { seen?: unknown } | undefined;\n\n return value?.seen === true;\n },\n\n async markModalSeen(): Promise {\n await Shopware.Service('userConfigService').upsert({\n [UI_SHELL_UPDATE_2026_SEEN_CONFIG_KEY]: { seen: true },\n });\n },\n\n onModalChange(isOpen: boolean) {\n this.isOpen = isOpen;\n\n if (!isOpen) {\n this.drag = null;\n this.recordSeen();\n }\n },\n\n // Closing reaches this twice: onFinish clears isOpen and MtModalRoot reports the same change back.\n recordSeen() {\n if (this.hasRecordedSeen) {\n return;\n }\n\n this.hasRecordedSeen = true;\n\n this.markModalSeen().catch(() => {\n this.createNotificationError({\n message: this.$t('sw-ui-shell-update-2026-modal.seenSaveError'),\n });\n });\n },\n\n onPreviousPage() {\n if (!this.isFirstPage) {\n this.currentPage -= 1;\n }\n },\n\n onNextPage() {\n if (!this.isLastPage) {\n this.currentPage += 1;\n }\n },\n\n onFinish() {\n this.isOpen = false;\n\n this.recordSeen();\n },\n\n onThemeChange(theme: Theme) {\n useTheme()\n .saveUserTheme(theme)\n .catch(() => {\n this.createNotificationError({\n message: this.$t('sw-ui-shell-update-2026-modal.pages.darkMode.themeSaveError'),\n });\n });\n },\n\n onDragStart(event: PointerEvent) {\n if (this.drag !== null || event.button !== 0 || this.isSplitPinned) {\n return;\n }\n\n const compare = this.$refs.compare as HTMLElement | undefined;\n const width = compare?.getBoundingClientRect().width ?? 0;\n\n if (!compare || width === 0) {\n return;\n }\n\n // Stops the browser from starting a text selection alongside the drag.\n event.preventDefault();\n\n // Follows the pointer anywhere until release and dies with the element mid-gesture.\n (event.currentTarget as HTMLElement).setPointerCapture(event.pointerId);\n\n const position = this.currentSplitOf(compare);\n\n this.drag = {\n pointerId: event.pointerId,\n originX: event.clientX,\n originOffset: (position / 100) * width,\n width,\n position,\n };\n\n // Committed through the render so all three land in one frame: an animation outranks an inline write.\n this.clearHintHandoff();\n this.isSplitEased = false;\n this.splitPosition = position;\n },\n\n // Written straight to the element, so dragging does not re-render on every move.\n onDragMove(event: PointerEvent) {\n if (this.drag === null || event.pointerId !== this.drag.pointerId) {\n return;\n }\n\n const compare = this.$refs.compare as HTMLElement | undefined;\n\n if (!compare) {\n return;\n }\n\n this.drag.position = this.dragPositionOf(event, this.drag);\n\n compare.style.setProperty(SPLIT_PROPERTY, `${this.drag.position}%`);\n },\n\n onDragEnd(event: PointerEvent) {\n if (this.drag === null || event.pointerId !== this.drag.pointerId) {\n return;\n }\n\n if (!this.isSplitPinned) {\n this.splitPosition = this.drag.position;\n }\n\n this.drag = null;\n },\n\n clearHintHandoff() {\n if (this.hintHandoffTimeout !== null) {\n window.clearTimeout(this.hintHandoffTimeout);\n this.hintHandoffTimeout = null;\n }\n },\n\n // Grabbing mid-animation must read the live computed value, not the bound state.\n currentSplitOf(element: HTMLElement): number {\n const computed = Number.parseFloat(window.getComputedStyle(element).getPropertyValue(SPLIT_PROPERTY));\n\n if (Number.isFinite(computed)) {\n return computed;\n }\n\n return this.splitPosition ?? CENTER_SPLIT_POSITION;\n },\n\n // Snapped to whole pixels so the underlying image cannot bleed through the seam.\n dragPositionOf(event: { clientX: number }, drag: DragState): number {\n const offset = Math.min(drag.width, Math.max(0, Math.round(drag.originOffset + event.clientX - drag.originX)));\n\n return (offset * 100) / drag.width;\n },\n\n imageSrc(fileName: string): string {\n return Shopware.Filter.getByName('asset')(\n `/administration/administration/static/img/ui-shell-update-2026/${fileName}`,\n );\n },\n },\n});\n" +} diff --git a/web/public/bundles/shopware/code/0c600f806afa542050a3f1a27b2f4b4c1baefaca.json b/web/public/bundles/shopware/code/0c600f806afa542050a3f1a27b2f4b4c1baefaca.json new file mode 100644 index 00000000..76324182 --- /dev/null +++ b/web/public/bundles/shopware/code/0c600f806afa542050a3f1a27b2f4b4c1baefaca.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0c600f806afa542050a3f1a27b2f4b4c1baefaca", + "language": "php", + "path": "src/Storefront/Migration/V6_3/Migration1564385960ThemeAddActiveFlag.php", + "schema": "codexray.code/1", + "text": "addColumn(\n connection: $connection,\n table: 'theme',\n column: 'active',\n type: 'TINYINT(1)',\n default: '1'\n );\n\n $connection->executeStatement('\n UPDATE `media_default_folder` SET `association_fields` = \\'[\\\"media\\\"]\\' WHERE `entity` = \\'theme\\';\n ');\n }\n\n public function updateDestructive(Connection $connection): void\n {\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/0ca401bc2cec600c7c40710fc24f82fd925d5521.json b/web/public/bundles/shopware/code/0ca401bc2cec600c7c40710fc24f82fd925d5521.json new file mode 100644 index 00000000..4b62e3a2 --- /dev/null +++ b/web/public/bundles/shopware/code/0ca401bc2cec600c7c40710fc24f82fd925d5521.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0ca401bc2cec600c7c40710fc24f82fd925d5521", + "language": "php", + "path": "src/Core/Content/Category/SalesChannel/NavigationRoute.php", + "schema": "codexray.code/1", + "text": " [StoreApiRouteScope::ID]])]\nclass NavigationRoute extends AbstractNavigationRoute\n{\n final public const ALL_TAG = 'navigation';\n\n /**\n * @internal\n *\n * @param SalesChannelRepository $categoryRepository\n */\n public function __construct(\n private readonly Connection $connection,\n private readonly SalesChannelRepository $categoryRepository,\n private readonly CacheTagCollector $cacheTagCollector,\n private readonly CategoryTreePathResolver $categoryTreePathResolver,\n private readonly DefaultCategoryLevelLoaderInterface $categoryLevelLoader,\n private readonly ExtensionDispatcher $extensions,\n ) {\n }\n\n /**\n * @deprecated - tag:v6.8.0 - will be removed, navigation route will only be tagged globally, use NavigationRoute::ALL_TAG instead\n */\n public static function buildName(string $id): string\n {\n Feature::triggerDeprecationOrThrow(\n 'v6.8.0.0',\n Feature::deprecatedMethodMessage(self::class, __METHOD__, 'v6.8.0.0', ' NavigationRoute::ALL_TAG')\n );\n\n return 'navigation-route-' . $id;\n }\n\n public function getDecorated(): AbstractNavigationRoute\n {\n throw new DecorationPatternException(self::class);\n }\n\n #[Route(\n path: '/store-api/navigation/{activeId}/{rootId}',\n name: 'store-api.navigation',\n methods: [Request::METHOD_GET, Request::METHOD_POST],\n defaults: [PlatformRequest::ATTRIBUTE_ENTITY => CategoryDefinition::ENTITY_NAME, PlatformRequest::ATTRIBUTE_HTTP_CACHE => true],\n )]\n public function load(\n string $activeId,\n string $rootId,\n Request $request,\n SalesChannelContext $context,\n Criteria $criteria\n ): NavigationRouteResponse {\n return $this->extensions->publish(\n name: NavigationRouteExtension::NAME,\n extension: new NavigationRouteExtension($activeId, $rootId, $request, $context, $criteria),\n function: $this->_load(...),\n );\n }\n\n private function _load(\n string $activeId,\n string $rootId,\n Request $request,\n SalesChannelContext $context,\n Criteria $criteria\n ): NavigationRouteResponse {\n $depth = $request->query->getInt('depth', $request->request->getInt('depth', NavigationLoaderInterface::DEFAULT_DEPTH));\n\n $metaInfo = $this->getCategoryMetaInfo($activeId, $rootId);\n\n $active = $this->getMetaInfoById($activeId, $metaInfo);\n\n $tags = [self::ALL_TAG];\n\n // Navigation route will be tagged & invalidated globally only in 6.8\n Feature::callSilentIfInactive(\n 'v6.8.0.0',\n static function () use ($context, $activeId, &$tags): void {\n $tags[] = self::buildName($context->getSalesChannelId());\n $tags[] = self::buildName($activeId);\n }\n );\n\n $this->cacheTagCollector->addTag(...$tags);\n\n $root = $this->getMetaInfoById($rootId, $metaInfo);\n\n // Validate the provided category is part of the sales channel\n $this->validate($activeId, $active['path'], $context);\n\n $isChild = $this->isChildCategory($activeId, $active['path'], $rootId);\n\n $activePath = $active['path'];\n // If the provided activeId is not part of the rootId, a fallback to the rootId must be made here.\n // The passed activeId is therefore part of another navigation and must therefore not be loaded.\n // The availability validation has already been done in the `validate` function.\n if (!$isChild) {\n $activeId = $rootId;\n $activePath = $root['path'];\n }\n\n $categories = $this->categoryLevelLoader->loadLevels(\n $rootId,\n (int) $root['level'],\n $context,\n clone $criteria,\n $depth\n );\n\n $additionalPathsToLoad = $this->categoryTreePathResolver->getAdditionalPathsToLoad($activeId, $activePath, $rootId, $root['path'], $depth);\n\n if ($additionalPathsToLoad !== []) {\n $categories->merge($this->loadAdditionalPaths($context, clone $criteria, $additionalPathsToLoad));\n }\n\n return new NavigationRouteResponse($categories);\n }\n\n /**\n * @param list $additionalPaths\n */\n private function loadAdditionalPaths(\n SalesChannelContext $context,\n Criteria $criteria,\n array $additionalPaths\n ): CategoryCollection {\n $criteria->addFilter(new EqualsAnyFilter('path', $additionalPaths));\n\n $criteria->addAssociation('media');\n\n $criteria->setLimit(null);\n $criteria->setTotalCountMode(Criteria::TOTAL_COUNT_MODE_NONE);\n\n $levels = $this->categoryRepository->search($criteria, $context)->getEntities();\n\n return $levels;\n }\n\n /**\n * @return array\n */\n private function getCategoryMetaInfo(string $activeId, string $rootId): array\n {\n $result = $this->connection->fetchAllAssociative('\n # navigation-route::meta-information\n SELECT LOWER(HEX(`id`)), `path`, `level`\n FROM `category`\n WHERE `id` = :activeId OR `id` = :rootId\n ', ['activeId' => Uuid::fromHexToBytes($activeId), 'rootId' => Uuid::fromHexToBytes($rootId)]);\n\n if (!$result) {\n throw CategoryException::categoryNotFound($activeId);\n }\n\n /** @var array $result */\n $result = FetchModeHelper::groupUnique($result);\n\n return $result;\n }\n\n /**\n * @param array $metaInfo\n *\n * @return CategoryMetaInformation\n */\n private function getMetaInfoById(string $id, array $metaInfo): array\n {\n if (!\\array_key_exists($id, $metaInfo)) {\n throw CategoryException::categoryNotFound($id);\n }\n\n return $metaInfo[$id];\n }\n\n private function validate(string $activeId, ?string $path, SalesChannelContext $context): void\n {\n $ids = array_filter([\n $context->getSalesChannel()->getFooterCategoryId(),\n $context->getSalesChannel()->getServiceCategoryId(),\n $context->getSalesChannel()->getNavigationCategoryId(),\n ]);\n\n foreach ($ids as $id) {\n if ($this->isChildCategory($activeId, $path, $id)) {\n return;\n }\n }\n\n throw CategoryException::categoryNotFound($activeId);\n }\n\n private function isChildCategory(string $activeId, ?string $path, string $rootId): bool\n {\n if ($rootId === $activeId) {\n return true;\n }\n\n if ($path === null) {\n return false;\n }\n\n return mb_strpos($path, '|' . $rootId . '|') !== false;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/0ce95c8fcea3c462692db8c093a85ad00fff4039.json b/web/public/bundles/shopware/code/0ce95c8fcea3c462692db8c093a85ad00fff4039.json new file mode 100644 index 00000000..faac08e1 --- /dev/null +++ b/web/public/bundles/shopware/code/0ce95c8fcea3c462692db8c093a85ad00fff4039.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0ce95c8fcea3c462692db8c093a85ad00fff4039", + "language": "php", + "path": "src/Core/Migration/V6_3/Migration1558505525Logging.php", + "schema": "codexray.code/1", + "text": "executeStatement('\n CREATE TABLE `log_entry` (\n `id` BINARY(16) NOT NULL,\n `message` VARCHAR(255) NOT NULL,\n `level` SMALLINT NOT NULL,\n `channel` VARCHAR(255) NOT NULL,\n `context` JSON NULL,\n `extra` JSON NULL,\n `created_at` DATETIME(3) NOT NULL,\n `updated_at` DATETIME(3) ,\n PRIMARY KEY (`id`),\n CONSTRAINT `json.log_entry.context` CHECK (JSON_VALID(`context`)),\n CONSTRAINT `json.log_entry.extra` CHECK (JSON_VALID(`extra`))\n ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;\n ');\n\n $connection->insert('system_config', [\n 'id' => Uuid::randomBytes(),\n 'configuration_key' => 'core.logging.cleanupInterval',\n 'configuration_value' => '{\"_value\": \"86400\"}',\n 'created_at' => (new \\DateTime())->format(Defaults::STORAGE_DATE_TIME_FORMAT),\n ]);\n\n $connection->insert('system_config', [\n 'id' => Uuid::randomBytes(),\n 'configuration_key' => 'core.logging.entryLimit',\n 'configuration_value' => '{\"_value\": \"10000000\"}',\n 'created_at' => (new \\DateTime())->format(Defaults::STORAGE_DATE_TIME_FORMAT),\n ]);\n\n $connection->insert('system_config', [\n 'id' => Uuid::randomBytes(),\n 'configuration_key' => 'core.logging.entryLifetimeSeconds',\n 'configuration_value' => '{\"_value\": \"2678400\"}', // one month\n 'created_at' => (new \\DateTime())->format(Defaults::STORAGE_DATE_TIME_FORMAT),\n ]);\n }\n\n public function updateDestructive(Connection $connection): void\n {\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/0cf59e8f0ec0a6fe92d00b4db3316f7422dccbaf.json b/web/public/bundles/shopware/code/0cf59e8f0ec0a6fe92d00b4db3316f7422dccbaf.json new file mode 100644 index 00000000..0eec51eb --- /dev/null +++ b/web/public/bundles/shopware/code/0cf59e8f0ec0a6fe92d00b4db3316f7422dccbaf.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0cf59e8f0ec0a6fe92d00b4db3316f7422dccbaf", + "language": "typescript", + "path": "src/Administration/Resources/app/administration/src/app/composables/use-user-settings.ts", + "schema": "codexray.code/1", + "text": "/* eslint-disable @typescript-eslint/prefer-promise-reject-errors */\n/**\n * @sw-package framework\n *\n * @experimental stableVersion:v6.9.0 feature:ADMIN_MIXIN_COMPOSABLES\n */\nimport Criteria from 'src/core/data/criteria.data';\n\ninterface UserSettingsEntity {\n id?: string;\n key?: string;\n userId?: string | null;\n value?: unknown;\n [key: string]: unknown;\n}\n\ninterface UserConfigRepository {\n search(criteria: unknown, context: unknown): Promise;\n create(context: unknown): UserSettingsEntity;\n save(entity: UserSettingsEntity, context: unknown): Promise;\n}\n\ninterface CurrentUser {\n id?: EntityKey<'user'> | null;\n}\n\n/**\n * Composable alternative to the `user-settings` mixin: reads and writes per-user config.\n *\n * The mixin injected `acl`, read the component's injected `repositoryFactory` and exposed\n * `currentUser` / `userConfigRepository` as computeds. This composable resolves all of them itself,\n * through `Shopware.Service` and the session store, so it needs nothing from the component. The mixin\n * stays in place for Options API components.\n *\n * Keep this and `src/app/mixin/user-settings.mixin.ts` in sync — change both together.\n *\n * @private\n */\nexport default function useUserSettings(): {\n getUserSettingsEntity: (identifier: string, userId?: string | null) => Promise;\n getUserSettings: (identifier: string, userId?: string | null) => Promise;\n saveUserSettings: (\n identifier: string,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n entityValue: { [key: string]: any },\n userId?: string | null,\n ) => Promise;\n userGridSettingsCriteria: (identifier: string, userId?: string | null) => Criteria;\n} {\n function acl(): { can: (privilege: string) => boolean } {\n return Shopware.Service('acl');\n }\n\n function userConfigRepository(): UserConfigRepository {\n return Shopware.Service('repositoryFactory').create('user_config') as unknown as UserConfigRepository;\n }\n\n function currentUser(): CurrentUser | null {\n return Shopware.Store.get('session').currentUser as CurrentUser | null;\n }\n\n /**\n * Receives the whole settings entity via identifier key.\n */\n function getUserSettingsEntity(identifier: string, userId: string | null = null): Promise {\n if (!acl().can('user_config:read')) {\n return Promise.reject();\n }\n\n return userConfigRepository()\n .search(userGridSettingsCriteria(identifier, userId), Shopware.Context.api)\n .then((response) => {\n if (!response.length) {\n return null;\n }\n\n return response[0];\n });\n }\n\n /**\n * Receives settings values via identifier key.\n */\n async function getUserSettings(identifier: string, userId: string | null = null): Promise {\n if (!acl().can('user_config:read')) {\n return Promise.reject();\n }\n\n if (!userId || userId === currentUser()?.id) {\n const response = await Shopware.Service('userConfigService').search([identifier]);\n\n return response?.data?.[identifier] ?? null;\n }\n\n const entity = await getUserSettingsEntity(identifier, userId);\n\n if (!entity) {\n return null;\n }\n\n return entity.value;\n }\n\n /**\n * Saves settings to the target user, defaulting to the currently logged in one.\n */\n async function saveUserSettings(\n identifier: string,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n entityValue: { [key: string]: any },\n userId: string | null = null,\n ): Promise {\n if (!acl().can('user_config:create') || !acl().can('user_config:update')) {\n return Promise.reject();\n }\n\n if (!identifier) {\n return Promise.reject();\n }\n\n if (!identifier.includes('.')) {\n identifier = `custom.${identifier}`;\n }\n\n if (!userId) {\n userId = currentUser()?.id ?? null;\n }\n\n if (!userId || userId === currentUser()?.id) {\n return Shopware.Service('userConfigService').upsert({\n [identifier]: entityValue,\n });\n }\n\n let userSettings: UserSettingsEntity | null = await getUserSettingsEntity(identifier, userId);\n\n if (!userSettings) {\n userSettings = userConfigRepository().create(Shopware.Context.api);\n }\n\n const entityData = Object.assign(userSettings, {\n userId,\n key: identifier,\n value: entityValue,\n });\n\n return userConfigRepository().save(entityData, Shopware.Context.api);\n }\n\n /**\n * Provides the userSettings criteria used for the queries.\n */\n function userGridSettingsCriteria(identifier: string, userId: string | null = null): Criteria {\n if (!userId) {\n userId = currentUser()?.id ?? '';\n }\n\n const criteria = new Criteria(1, 25);\n\n criteria.addFilter(Criteria.equals('key', identifier));\n criteria.addFilter(Criteria.equals('userId', userId));\n\n return criteria;\n }\n\n return {\n getUserSettingsEntity,\n getUserSettings,\n saveUserSettings,\n userGridSettingsCriteria,\n };\n}\n" +} diff --git a/web/public/bundles/shopware/code/0de9a6f4de84f78145aefcb315d5cf55f6ac0d21.json b/web/public/bundles/shopware/code/0de9a6f4de84f78145aefcb315d5cf55f6ac0d21.json new file mode 100644 index 00000000..dec6db1f --- /dev/null +++ b/web/public/bundles/shopware/code/0de9a6f4de84f78145aefcb315d5cf55f6ac0d21.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0de9a6f4de84f78145aefcb315d5cf55f6ac0d21", + "language": "typescript", + "path": "src/Administration/Resources/app/administration/src/app/store/whats-new.store.ts", + "schema": "codexray.code/1", + "text": "/**\n * @sw-package framework\n */\nimport type { ContextState } from 'src/app/composables/use-context';\n\nconst USER_CONFIG_KEY = 'core.whatsNew';\n\nconst SINCE_PATTERN = /^\\d+\\.\\d+\\.\\d+\\.\\d+$/;\n\nconst DAY_IN_MS = 24 * 60 * 60 * 1000;\n\nconst DURATIONS = {\n SHOP_DAYS: 30,\n USER_DAYS: 7,\n} as const;\n\ntype VersionHistory = NonNullable;\n\n/**\n * @private\n */\nexport interface WhatsNewItem {\n key: string;\n since: string;\n userDays?: number;\n}\n\ninterface WhatsNewEntry {\n since: string;\n seenAt: number;\n dismissed?: boolean;\n}\n\ninterface WhatsNewState {\n entries: Record;\n isLoaded: boolean;\n}\n\nfunction toVersionParts(version: string): number[] {\n return version.replace(/-.*$/, '').split('.').map(Number);\n}\n\nfunction compareVersions(version: string, otherVersion: string): number {\n const parts = toVersionParts(version);\n const otherParts = toVersionParts(otherVersion);\n\n for (let index = 0; index < 4; index += 1) {\n const difference = (parts[index] ?? 0) - (otherParts[index] ?? 0);\n\n if (difference !== 0) {\n return difference;\n }\n }\n\n return 0;\n}\n\nfunction hasSameParts(version: string, otherVersion: string, count: number): boolean {\n const parts = toVersionParts(version);\n const otherParts = toVersionParts(otherVersion);\n\n return parts.slice(0, count).every((part, index) => part === otherParts[index]);\n}\n\nfunction getArrivedAt(since: string, versionHistory: VersionHistory): number | null {\n const arrivalIndex = versionHistory.findIndex((entry) => compareVersions(entry.version, since) >= 0);\n\n if (arrivalIndex === -1) {\n return null;\n }\n\n const arrival = versionHistory[arrivalIndex];\n\n if (arrivalIndex === 0 && arrival.type === 'install') {\n return null;\n }\n\n return Date.parse(arrival.recordedAt);\n}\n\nfunction isNewInShop(since: string): boolean {\n const { versionHistory } = Shopware.Context.app.config;\n const currentVersion = Shopware.Context.app.config.version ?? '';\n\n if (!SINCE_PATTERN.test(since) || !versionHistory) {\n return false;\n }\n\n if (currentVersion.endsWith('-dev')) {\n return hasSameParts(currentVersion, since, 2);\n }\n\n const arrivedAt = getArrivedAt(since, versionHistory);\n\n return arrivedAt !== null && Date.now() - arrivedAt < DURATIONS.SHOP_DAYS * DAY_IN_MS;\n}\n\nfunction toEntries(stored: unknown): Record {\n if (!Shopware.Utils.types.isPlainObject(stored)) {\n return {};\n }\n\n return stored as Record;\n}\n\nconst whatsNewStore = Shopware.Store.register({\n id: 'whatsNew',\n\n state: (): WhatsNewState => ({\n entries: {},\n isLoaded: false,\n }),\n\n getters: {\n isNewInShop: () => {\n return (since: string): boolean => isNewInShop(since);\n },\n\n isVisible: (state) => {\n return (item: WhatsNewItem): boolean => {\n if (!state.isLoaded || !isNewInShop(item.since)) {\n return false;\n }\n\n const entry = state.entries[item.key];\n\n if (!entry) {\n return true;\n }\n\n if (entry.dismissed) {\n return false;\n }\n\n return Date.now() - entry.seenAt < (item.userDays ?? DURATIONS.USER_DAYS) * DAY_IN_MS;\n };\n },\n },\n\n actions: {\n async load(): Promise {\n if (this.isLoaded) {\n return;\n }\n\n const response = await Shopware.Service('userConfigService').search([USER_CONFIG_KEY]);\n\n if (!response || this.isLoaded) {\n return;\n }\n\n this.entries = toEntries(response.data?.[USER_CONFIG_KEY]);\n this.isLoaded = true;\n },\n\n async markSeen(items: WhatsNewItem[]): Promise {\n await this.load();\n\n const seenAt = Date.now();\n const seenEntries = items\n .filter((item) => this.isVisible(item) && !this.entries[item.key])\n .map((item): [string, WhatsNewEntry] => [\n item.key,\n {\n since: item.since,\n seenAt,\n },\n ]);\n\n await this.save(seenEntries);\n },\n\n async dismiss(item: WhatsNewItem): Promise {\n await this.load();\n\n if (!this.isVisible(item)) {\n return;\n }\n\n await this.save([\n [\n item.key,\n {\n since: item.since,\n seenAt: this.entries[item.key]?.seenAt ?? Date.now(),\n dismissed: true,\n },\n ],\n ]);\n },\n\n async save(changedEntries: [string, WhatsNewEntry][]): Promise {\n if (changedEntries.length === 0) {\n return;\n }\n\n const mergedEntries = {\n ...this.entries,\n ...Object.fromEntries(changedEntries),\n };\n\n const entriesInPeriod = Object.entries(mergedEntries).filter(([, entry]) => isNewInShop(entry.since));\n this.entries = Object.fromEntries(entriesInPeriod);\n\n try {\n await Shopware.Service('userConfigService').upsert({\n [USER_CONFIG_KEY]: this.entries,\n });\n } catch {\n // these items are decoration, a failed write must never reach the user.\n }\n },\n },\n});\n\n/**\n * @private\n */\nexport type WhatsNewStore = ReturnType;\n\n/**\n * @private\n */\nexport default whatsNewStore;\n" +} diff --git a/web/public/bundles/shopware/code/0e1fb44955029f6f7a801b602b62a5f6635a8299.json b/web/public/bundles/shopware/code/0e1fb44955029f6f7a801b602b62a5f6635a8299.json new file mode 100644 index 00000000..c0b67b48 --- /dev/null +++ b/web/public/bundles/shopware/code/0e1fb44955029f6f7a801b602b62a5f6635a8299.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0e1fb44955029f6f7a801b602b62a5f6635a8299", + "language": "php", + "path": "src/Storefront/DependencyInjection/ThemeCompilerAssetCompilerPass.php", + "schema": "codexray.code/1", + "text": "hasDefinition(ThemeCompiler::class)) {\n return;\n }\n\n $assets = [];\n foreach ($container->findTaggedServiceIds('shopware.asset') as $id => $config) {\n $assets[$config[0]['asset']] = new Reference($id);\n }\n\n $container->getDefinition(ThemeCompiler::class)->setArgument('$packages', $assets);\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/0e4fa9656a7c898a8d7d7636688dcd99e5da4b82.json b/web/public/bundles/shopware/code/0e4fa9656a7c898a8d7d7636688dcd99e5da4b82.json new file mode 100644 index 00000000..a2e6afe6 --- /dev/null +++ b/web/public/bundles/shopware/code/0e4fa9656a7c898a8d7d7636688dcd99e5da4b82.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0e4fa9656a7c898a8d7d7636688dcd99e5da4b82", + "language": "php", + "path": "src/Core/Maintenance/User/Command/UserListCommand.php", + "schema": "codexray.code/1", + "text": " $userRepository\n */\n public function __construct(private readonly EntityRepository $userRepository)\n {\n parent::__construct();\n }\n\n protected function configure(): void\n {\n $this->addFormatOption([self::FORMAT_TABLE, self::FORMAT_JSON]);\n /** @deprecated tag:v6.8.0 - Use `--format json` instead */\n $this->addOption('json', null, InputOption::VALUE_NONE, '[DEPRECATED] Use `--format json` instead.');\n }\n\n protected function execute(InputInterface $input, OutputInterface $output): int\n {\n $io = new SymfonyStyle($input, $output);\n $context = Context::createCLIContext();\n\n if ($input->getOption('json')) {\n Feature::triggerDeprecationOrThrow(\n 'v6.8.0.0',\n 'The \"--json\" option of the \"user:list\" command is deprecated and will be removed in v6.8.0. Use \"--format json\" instead.'\n );\n $input->setOption('format', self::FORMAT_JSON);\n }\n\n $format = $this->resolveFormat($input, $output, [self::FORMAT_TABLE, self::FORMAT_JSON]);\n if ($format === null) {\n return self::INVALID;\n }\n\n $criteria = new Criteria();\n $criteria->addAssociation('aclRoles');\n $criteria->addSorting(new FieldSorting('createdAt', FieldSorting::DESCENDING));\n\n $result = $this->userRepository->search($criteria, $context);\n\n if ($format === self::FORMAT_JSON) {\n $output->write(json_encode($this->mapUsersToJson($result->getEntities()), \\JSON_THROW_ON_ERROR));\n\n return self::SUCCESS;\n }\n\n if ($result->getTotal() === 0) {\n $io->warning('There are no users.');\n\n return self::SUCCESS;\n }\n\n $io->table(\n ['Id', 'E-mail', 'Username', 'Name', 'Active', 'Roles', 'Created At'],\n $this->mapUsersToConsole($result->getEntities())\n );\n\n return self::SUCCESS;\n }\n\n /**\n * @return list,\n * 'created': string\n * }>\n */\n private function mapUsersToJson(UserCollection $users): array\n {\n return array_values($users->map(function (UserEntity $user) {\n return [\n ...$this->mapUser($user),\n 'active' => $user->getActive(),\n 'roles' => $this->roles($user),\n 'created' => $user->getCreatedAt()?->format(Defaults::STORAGE_DATE_TIME_FORMAT) ?? '',\n ];\n }));\n }\n\n /**\n * @return list\n */\n private function mapUsersToConsole(UserCollection $users): array\n {\n return array_values($users->map(function (UserEntity $user) {\n return [\n ...$this->mapUser($user),\n 'active' => $user->getActive(),\n 'roles' => implode(', ', $this->roles($user)),\n 'created' => $user->getCreatedAt()?->format('M j, Y, H:i') ?? '',\n ];\n }));\n }\n\n /**\n * @return array{\n * id: string,\n * 'email': string,\n * 'username': string,\n * 'name': string,\n * }\n */\n private function mapUser(UserEntity $user): array\n {\n return [\n 'id' => $user->getId(),\n 'email' => $user->getEmail(),\n 'username' => $user->getUsername(),\n 'name' => $user->getFirstName() . ' ' . $user->getLastName(),\n ];\n }\n\n /**\n * @return list\n */\n private function roles(UserEntity $user): array\n {\n if ($user->isAdmin()) {\n return ['admin'];\n }\n $aclRoles = $user->getAclRoles();\n if ($aclRoles === null) {\n throw MaintenanceException::aclRolesNotLoaded($user->getId(), $user->getUsername());\n }\n\n return array_values($aclRoles->map(static fn (AclRoleEntity $role) => $role->getName()));\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/0fea8e9e2a1eeef24c24392233e31568ad1ddd26.json b/web/public/bundles/shopware/code/0fea8e9e2a1eeef24c24392233e31568ad1ddd26.json new file mode 100644 index 00000000..1ef8cb1e --- /dev/null +++ b/web/public/bundles/shopware/code/0fea8e9e2a1eeef24c24392233e31568ad1ddd26.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "0fea8e9e2a1eeef24c24392233e31568ad1ddd26", + "language": "php", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/ScheduledTaskTooLowIntervalRule.php", + "schema": "codexray.code/1", + "text": "\n *\n * @internal\n */\n#[Package('framework')]\nclass ScheduledTaskTooLowIntervalRule implements Rule\n{\n private const EXCEPTION_CLASSES = [\n ProductExportGenerateTask::class, // Ticket: NEXT-21167\n ];\n\n private const MIN_SCHEDULED_TASK_INTERVAL = 3600;\n\n public function getNodeType(): string\n {\n return ClassMethod::class;\n }\n\n /**\n * @param ClassMethod $node\n *\n * @return array\n */\n public function processNode(Node $node, Scope $scope): array\n {\n if ((string) $node->name !== 'getDefaultInterval') {\n return [];\n }\n\n $class = $scope->getClassReflection();\n\n if ($class === null || !$class->is(ScheduledTask::class) || $class->hasMethod('shouldRun')) {\n return [];\n }\n\n if (\\in_array($class->getName(), self::EXCEPTION_CLASSES, true)) {\n return [];\n }\n\n foreach ($node->stmts ?? [] as $stmt) {\n if ($stmt instanceof Return_ && $stmt->expr instanceof LNumber) {\n $interval = $stmt->expr->value;\n\n if ($interval < self::MIN_SCHEDULED_TASK_INTERVAL) {\n return [\n RuleErrorBuilder::message(\\sprintf(\n 'Scheduled task has an interval of %d seconds, it should have an minimum of %d seconds.',\n $interval,\n self::MIN_SCHEDULED_TASK_INTERVAL\n ))\n ->identifier('shopware.scheduledTaskLowInterval')\n ->build(),\n ];\n }\n }\n }\n\n return [];\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/1036a23a28c20ed6e0c00d465d9a5ee64614ce3b.json b/web/public/bundles/shopware/code/1036a23a28c20ed6e0c00d465d9a5ee64614ce3b.json new file mode 100644 index 00000000..e09575c6 --- /dev/null +++ b/web/public/bundles/shopware/code/1036a23a28c20ed6e0c00d465d9a5ee64614ce3b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "1036a23a28c20ed6e0c00d465d9a5ee64614ce3b", + "language": "php", + "path": "src/Storefront/Framework/Store/ThemeExtensionRemovalValidator.php", + "schema": "codexray.code/1", + "text": " $themeRepository\n * @param EntityRepository $salesChannelRepository\n */\n public function __construct(\n private readonly EntityRepository $themeRepository,\n private readonly EntityRepository $salesChannelRepository,\n ) {\n }\n\n public function validateCanBeRemoved(string $technicalName, string $extensionId, Context $context): void\n {\n $themeId = $this->themeRepository->searchIds(\n (new Criteria())->addFilter(new EqualsFilter('technicalName', $technicalName)),\n $context\n )->firstId();\n\n if ($themeId === null) {\n // extension is not a theme\n return;\n }\n\n $criteria = new Criteria();\n $criteria->addAggregation(\n new FilterAggregation(\n 'assigned_theme_filter',\n new TermsAggregation('assigned_theme', 'themes.id'),\n [new EqualsFilter('themes.id', $themeId)]\n )\n );\n $criteria->addAggregation(\n new FilterAggregation(\n 'assigned_children_filter',\n new TermsAggregation('assigned_children', 'themes.parentThemeId'),\n [new EqualsFilter('themes.parentThemeId', $themeId)]\n )\n );\n\n $aggregates = $this->salesChannelRepository->aggregate($criteria, $context);\n\n /** @var TermsResult $directlyAssigned */\n $directlyAssigned = $aggregates->get('assigned_theme');\n\n /** @var TermsResult $assignedChildren */\n $assignedChildren = $aggregates->get('assigned_children');\n\n if ($directlyAssigned->getKeys() !== [] || $assignedChildren->getKeys() !== []) {\n throw StoreException::extensionThemeStillInUse($extensionId);\n }\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/11a952fbf8427ea78502a81d6c1c0a4d3d611a68.json b/web/public/bundles/shopware/code/11a952fbf8427ea78502a81d6c1c0a4d3d611a68.json new file mode 100644 index 00000000..0e95cba2 --- /dev/null +++ b/web/public/bundles/shopware/code/11a952fbf8427ea78502a81d6c1c0a4d3d611a68.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "11a952fbf8427ea78502a81d6c1c0a4d3d611a68", + "language": "typescript", + "path": "src/Administration/Resources/app/administration/src/app/init/teaser-popover.init.ts", + "schema": "codexray.code/1", + "text": "/**\n * @sw-package innovation\n *\n * @private\n * @description Apply for upselling service only, no public usage\n */\n\nimport 'src/app/store/teaser-popover.store';\nimport type { TeaserSalesChannelConfig, TeaserPopoverConfig } from 'src/app/store/teaser-popover.store';\n// eslint-disable-next-line sw-deprecation-rules/private-feature-declarations\nexport default function initializeTeaserPopovers(): void {\n const store = Shopware.Store.get('teaserPopover');\n\n Shopware.ExtensionAPI.handle(\n // @ts-expect-error - There are no types for this as it is private API\n '__upsellingTeaserPopover',\n (configuration: TeaserSalesChannelConfig | TeaserPopoverConfig) => {\n if (configuration.positionId === 'sales-channel') {\n store.addSalesChannel(configuration as TeaserSalesChannelConfig);\n return;\n }\n\n store.addPopoverComponent(configuration as TeaserPopoverConfig);\n },\n );\n}\n" +} diff --git a/web/public/bundles/shopware/code/12e91401e84d51a6bf5be13b8637df7ffb1ff62a.json b/web/public/bundles/shopware/code/12e91401e84d51a6bf5be13b8637df7ffb1ff62a.json new file mode 100644 index 00000000..04179cef --- /dev/null +++ b/web/public/bundles/shopware/code/12e91401e84d51a6bf5be13b8637df7ffb1ff62a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "12e91401e84d51a6bf5be13b8637df7ffb1ff62a", + "language": "php", + "path": "src/Administration/Command/AbstractExtensionToolingCommand.php", + "schema": "codexray.code/1", + "text": "addArgument(\n 'tooling-args',\n InputArgument::IS_ARRAY | InputArgument::OPTIONAL,\n 'Options forwarded to the tooling, placed after \"--\", e.g. -- --only=MyPlugin --all.',\n );\n }\n\n protected function execute(InputInterface $input, OutputInterface $output): int\n {\n $io = new SymfonyStyle($input, $output);\n $administrationRoot = $this->administrationRoot();\n $tsNode = $administrationRoot . '/node_modules/.bin/ts-node';\n\n if (!is_file($tsNode)) {\n $io->error([\n \\sprintf('The Administration\\'s Node dependencies are not installed (%s is missing).', $tsNode),\n \\sprintf('Run \"npm ci\" in %s first, then re-run this command.', $administrationRoot),\n ]);\n\n return Command::FAILURE;\n }\n\n /** @var list $forwardedArguments */\n $forwardedArguments = $input->getArgument('tooling-args');\n\n $command = [\n $tsNode,\n '--transpileOnly',\n $administrationRoot . '/scripts/extensionTooling/' . $this->toolingEntryScript(),\n ...$forwardedArguments,\n ];\n\n return $this->runTooling($command, $administrationRoot, ['PROJECT_ROOT' => $this->kernel->getProjectDir()], $output);\n }\n\n /**\n * The ts-node entry script under scripts/extensionTooling, e.g. \"check.ts\".\n */\n abstract protected function toolingEntryScript(): string;\n\n /**\n * The Administration app root, resolved from the bundle class location so it\n * works in the platform monorepo and in a vendor/ install alike.\n */\n protected function administrationRoot(): string\n {\n return $this->administrationRootPath\n ?? \\dirname((string) (new \\ReflectionClass(Administration::class))->getFileName())\n . '/Resources/app/administration';\n }\n\n /**\n * Spawns the tooling, streaming its output, and returns its exit code so the\n * tooling's own exit semantics (0 ok, 1 findings/drift, 2 usage) reach the\n * shell. Overridable so tests can assert the invocation without spawning.\n *\n * @param list $command\n * @param array $env\n */\n protected function runTooling(array $command, string $cwd, array $env, OutputInterface $output): int\n {\n // No timeout: type-checking a large plugin legitimately runs for minutes.\n $process = new Process($command, $cwd, $env, null, null);\n\n if (Process::isTtySupported()) {\n $process->setTty(true);\n }\n\n return $process->run(static function (string $type, string $buffer) use ($output): void {\n $output->write($buffer);\n });\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/1343ce061ed1c359f71cf6b64cc4972854602eb1.json b/web/public/bundles/shopware/code/1343ce061ed1c359f71cf6b64cc4972854602eb1.json new file mode 100644 index 00000000..012ffef0 --- /dev/null +++ b/web/public/bundles/shopware/code/1343ce061ed1c359f71cf6b64cc4972854602eb1.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "1343ce061ed1c359f71cf6b64cc4972854602eb1", + "language": "php", + "path": "src/Core/System/Currency/CurrencyLoadSubscriber.php", + "schema": "codexray.code/1", + "text": " 'setDefault',\n 'currency.partial_loaded' => 'setDefault',\n ];\n }\n\n /**\n * @param EntityLoadedEvent $event\n */\n public function setDefault(EntityLoadedEvent $event): void\n {\n foreach ($event->getEntities() as $entity) {\n $entity->assign([\n 'isSystemDefault' => ($entity->get('id') === Defaults::CURRENCY),\n ]);\n }\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/1392a13aab786713940bf5be4806e229dee5d5b0.json b/web/public/bundles/shopware/code/1392a13aab786713940bf5be4806e229dee5d5b0.json new file mode 100644 index 00000000..3483fbaf --- /dev/null +++ b/web/public/bundles/shopware/code/1392a13aab786713940bf5be4806e229dee5d5b0.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "1392a13aab786713940bf5be4806e229dee5d5b0", + "language": "javascript", + "path": "src/Administration/Resources/app/administration/src/app/component/structure/sw-desktop/index.js", + "schema": "codexray.code/1", + "text": "import template from './sw-desktop.html.twig';\nimport useTheme, { THEMES, THEME_LABELS } from 'src/app/composables/use-theme';\nimport './sw-desktop.scss';\n\nconst { hasOwnProperty } = Shopware.Utils.object;\n\n/**\n * @sw-package framework\n *\n * @private\n */\nexport default {\n template,\n\n inject: [\n 'shopIdChangeService',\n 'userActivityApiService',\n 'snackbarService',\n 'acl',\n ],\n\n shortcuts: {\n CT: 'onCycleTheme',\n },\n\n data() {\n return {\n noNavigation: false,\n shopIdCheck: null,\n isShopIdCheckPending: true,\n };\n },\n\n computed: {\n desktopClasses() {\n return {\n 'sw-desktop--no-nav': this.noNavigation,\n 'sw-desktop--staging': this.isStaging,\n };\n },\n\n currentUser() {\n return Shopware.Store.get('session').currentUser;\n },\n\n isStaging() {\n return Shopware.Store.get('context').app.config.settings?.enableStagingMode === true;\n },\n\n showUsageDataConsentModalDataProvider() {\n return !this.isShopIdCheckPending && this.shopIdCheck === null;\n },\n\n showWrongAppUrlModal() {\n return !this.isShopIdCheckPending && this.shopIdCheck === null && this.acl.isAdmin();\n },\n },\n\n watch: {\n $route() {\n this.checkRouteSettings();\n },\n\n '$route.name': {\n handler(to, from) {\n if (from === undefined || to === from) {\n return;\n }\n\n this.onUpdateSearchFrequently();\n },\n immediate: true,\n },\n },\n\n created() {\n this.createdComponent();\n },\n\n methods: {\n createdComponent() {\n this.checkRouteSettings();\n this.updateShopIdChangeModal();\n },\n\n checkRouteSettings() {\n if (this.$route.meta && hasOwnProperty(this.$route.meta, 'noNav')) {\n this.noNavigation = this.$route.meta.noNav;\n } else {\n this.noNavigation = false;\n }\n },\n\n async updateShopIdChangeModal() {\n if (!Shopware.Store.get('context').app.config.settings?.appsRequireAppUrl) {\n this.shopIdCheck = null;\n this.isShopIdCheckPending = false;\n return;\n }\n\n this.isShopIdCheckPending = true;\n\n try {\n this.shopIdCheck = await this.shopIdChangeService.checkShopId();\n } finally {\n this.isShopIdCheckPending = false;\n }\n },\n\n closeModal() {\n this.shopIdCheck = null;\n },\n\n async onCycleTheme() {\n const currentTheme = useTheme().theme.value;\n const nextTheme = THEMES[(THEMES.indexOf(currentTheme) + 1) % THEMES.length];\n\n try {\n await useTheme().saveUserTheme(nextTheme);\n } catch {\n useTheme().setTheme(currentTheme);\n this.snackbarService.addSnackbar({\n message: this.$t('global.sw-desktop.theme.saveError'),\n variant: 'error',\n });\n\n return;\n }\n\n this.snackbarService.addSnackbar({\n message: this.$t('global.sw-desktop.theme.changed', {\n theme: this.$t(THEME_LABELS[nextTheme]),\n }),\n variant: 'success',\n });\n },\n\n onUpdateSearchFrequently() {\n const metadata = this.getModuleMetadata();\n\n if (!metadata || !metadata?.route?.name) {\n return false;\n }\n\n const data = {\n key: `${metadata.name}@${metadata.route.name}`,\n cluster: this.currentUser.id,\n };\n\n return this.userActivityApiService.increment(data);\n },\n\n getModuleMetadata() {\n const { $module } = this.$route.meta;\n const routeName = this.$route?.name;\n\n if (!$module) {\n return false;\n }\n\n const { name, icon, color, entity, routes, title } = $module;\n\n if (!this.$te(title) || !routes?.index) {\n return false;\n }\n\n // special cases with searchMatcher function at the current module\n const searchMatcher = this.getModuleMetadataWithSearchMatcher($module, routeName);\n if (searchMatcher) {\n const { components, children, meta, props, ...route } = searchMatcher.route;\n return {\n ...searchMatcher,\n route,\n };\n }\n\n if (routes?.index?.name === routeName || routes.index?.children?.some((child) => child.name === routeName)) {\n const { components, children, meta, props, ...route } = routes.index;\n return {\n name,\n icon,\n color,\n title,\n entity,\n privilege: meta?.privilege,\n route,\n };\n }\n\n if (routes?.create?.name === routeName || routes.create?.children?.some((child) => child.name === routeName)) {\n const { components, children, meta, props, ...route } = routes.create;\n return {\n name,\n icon,\n color,\n entity,\n privilege: meta?.privilege,\n route,\n action: true,\n };\n }\n\n return false;\n },\n\n getModuleMetadataWithSearchMatcher(module, routeName) {\n if (typeof module.searchMatcher !== 'function') {\n return false;\n }\n\n const { title } = module;\n\n // get metadata in searchMatcher\n const metadata = module.searchMatcher(\n new RegExp(`^${this.$t(title).toLowerCase()}(.*)`),\n this.$t(title, 2),\n module,\n );\n\n return metadata.find(\n (item) => item.route.name === routeName || item.route?.children?.some((child) => child.name === routeName),\n );\n },\n },\n};\n" +} diff --git a/web/public/bundles/shopware/code/13c35aff33f5f873c43be57aa70a37ecb7b87c34.json b/web/public/bundles/shopware/code/13c35aff33f5f873c43be57aa70a37ecb7b87c34.json new file mode 100644 index 00000000..e7c58ad7 --- /dev/null +++ b/web/public/bundles/shopware/code/13c35aff33f5f873c43be57aa70a37ecb7b87c34.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "13c35aff33f5f873c43be57aa70a37ecb7b87c34", + "language": "php", + "path": "src/Core/Checkout/Cart/Command/CartMigrateCommand.php", + "schema": "codexray.code/1", + "text": "addArgument('from', InputArgument::REQUIRED, 'Defines the source storage (redis or sql)')\n ->addArgument('url', InputArgument::OPTIONAL, 'Allows to define a redis connection url')\n ;\n }\n\n protected function execute(InputInterface $input, OutputInterface $output): int\n {\n $url = $input->getArgument('url');\n\n if ($url !== null) {\n $this->redis = $this->factory->create($url);\n }\n\n $from = $input->getArgument('from');\n if (!\\in_array($from, self::VALID_SOURCE_STORAGES, true)) {\n throw CartException::cartMigrationInvalidSource($from, self::VALID_SOURCE_STORAGES);\n }\n\n if ($from === 'redis') {\n return $this->redisToSql($input, $output);\n }\n\n return $this->sqlToRedis($input, $output);\n }\n\n protected function createIterator(): LastIdQuery\n {\n $query = new QueryBuilder($this->connection);\n $query->addSelect('cart.auto_increment', 'cart.token');\n $query->from('cart');\n $query->andWhere('cart.auto_increment > :lastId');\n $query->addOrderBy('cart.auto_increment');\n $query->setMaxResults(50);\n $query->setParameter('lastId', 0);\n\n return new LastIdQuery($query);\n }\n\n private function redisToSql(InputInterface $input, OutputInterface $output): int\n {\n if ($this->redis === null) {\n throw CartException::cartMigrationMissingRedisConnection();\n }\n\n $this->io = new SymfonyStyle($input, $output);\n\n $keys = $this->redis->keys(RedisCartPersister::PREFIX . '*');\n if (!\\is_array($keys) || $keys === []) {\n $this->io->success('No carts found in Redis');\n\n return self::SUCCESS;\n }\n\n $this->progress = $this->io->createProgressBar(\\count($keys));\n $this->progress->setFormat(\"[%message%]\\n%current%/%max% [%bar%] %percent:3s%% %elapsed:6s%/%estimated:-6s% %memory:6s%\");\n $this->progress->setMessage('Migrating carts from Redis to SQL');\n\n $queue = new MultiInsertQueryQueue($this->connection, 50, false, true);\n\n $created = $this->clock->now()->format(Defaults::STORAGE_DATE_TIME_FORMAT);\n\n foreach ($keys as $index => $key) {\n if (\\method_exists($this->redis, '_prefix')) {\n $key = \\substr((string) $key, \\strlen($this->redis->_prefix('')));\n }\n\n $value = $this->redis->get($key);\n if (!\\is_string($value)) {\n continue;\n }\n\n /** @phpstan-ignore shopware.unserializeUsage */\n $value = \\unserialize($value);\n\n $content = $this->cartCompressor->unserialize($value['content'], (int) $value['compressed']);\n\n [$newCompression, $newCart] = $this->cartCompressor->serialize($content['cart']);\n\n $migratedCart = [];\n $migratedCart['token'] = substr($key, \\strlen(RedisCartPersister::PREFIX));\n $migratedCart['payload'] = $newCart;\n $migratedCart['compressed'] = $newCompression;\n $migratedCart['rule_ids'] = \\json_encode($content['rule_ids'], \\JSON_THROW_ON_ERROR);\n $migratedCart['created_at'] = $created;\n\n $queue->addInsert('cart', $migratedCart);\n\n if ($index % 50 === 0) {\n $queue->execute();\n }\n\n $this->progress->advance();\n }\n\n $queue->execute();\n\n $this->finishProgress(new ProgressFinishedEvent('Migration from Redis to SQL was successful'));\n\n return self::SUCCESS;\n }\n\n private function sqlToRedis(InputInterface $input, OutputInterface $output): int\n {\n if ($this->redis === null) {\n throw CartException::cartMigrationMissingRedisConnection();\n }\n\n $this->io = new SymfonyStyle($input, $output);\n\n $count = (int) $this->connection->fetchOne('SELECT COUNT(token) FROM cart');\n\n if ($count === 0) {\n $this->io->success('No carts found in SQL database');\n\n return 0;\n }\n\n $this->progress = $this->io->createProgressBar($count);\n $this->progress->setFormat(\"[%message%]\\n%current%/%max% [%bar%] %percent:3s%% %elapsed:6s%/%estimated:-6s% %memory:6s%\");\n $this->progress->setMessage('Migrating carts from SQL to Redis');\n\n $iterator = $this->createIterator();\n\n while ($tokens = $iterator->fetch()) {\n $rows = $this->connection->fetchAllAssociative('SELECT * FROM cart WHERE token IN (:tokens)', ['tokens' => $tokens], ['tokens' => ArrayParameterType::STRING]);\n\n $values = [];\n foreach ($rows as $row) {\n $key = RedisCartPersister::PREFIX . $row['token'];\n\n $cart = $this->cartCompressor->unserialize($row['payload'], (int) $row['compressed']);\n\n $content = ['cart' => $cart, 'rule_ids' => \\json_decode((string) $row['rule_ids'], true, 512, \\JSON_THROW_ON_ERROR)];\n\n [$newCompression, $newCart] = $this->cartCompressor->serialize($content);\n\n $values[$key] = $row['token'];\n $value = \\serialize([\n 'compressed' => $newCompression,\n 'content' => $newCart,\n ]);\n\n $this->redis->set($key, $value, ['EX' => $this->expireDays * self::SECONDS_IN_A_DAY]);\n }\n\n $this->progress->advance(\\count($values));\n }\n\n $this->finishProgress(new ProgressFinishedEvent('Migration from SQL to Redis was successful'));\n\n return self::SUCCESS;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/178553d7bfefca03dcdafeb905ecb47fbd4039c5.json b/web/public/bundles/shopware/code/178553d7bfefca03dcdafeb905ecb47fbd4039c5.json new file mode 100644 index 00000000..bf2e01f7 --- /dev/null +++ b/web/public/bundles/shopware/code/178553d7bfefca03dcdafeb905ecb47fbd4039c5.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "178553d7bfefca03dcdafeb905ecb47fbd4039c5", + "language": "php", + "path": "src/Core/Content/Breadcrumb/SalesChannel/BreadcrumbRouteResponse.php", + "schema": "codexray.code/1", + "text": "\n */\n#[Package('inventory')]\nclass BreadcrumbRouteResponse extends StoreApiResponse\n{\n public function getBreadcrumbCollection(): BreadcrumbCollection\n {\n return $this->object;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/17d24d74448ec3f91cfac80d006233b0fffbed2f.json b/web/public/bundles/shopware/code/17d24d74448ec3f91cfac80d006233b0fffbed2f.json new file mode 100644 index 00000000..76394407 --- /dev/null +++ b/web/public/bundles/shopware/code/17d24d74448ec3f91cfac80d006233b0fffbed2f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "17d24d74448ec3f91cfac80d006233b0fffbed2f", + "language": "typescript", + "path": "src/Administration/Resources/app/administration/src/app/component/structure/sw-in-app-purchase-checkout/index.ts", + "schema": "codexray.code/1", + "text": "import type { InAppPurchaseRequest } from '../../../store/in-app-purchase-checkout.store';\nimport template from './sw-in-app-purchase-checkout.html.twig';\n\n/**\n * @sw-package checkout\n *\n * @private\n */\nexport default Shopware.Component.wrapComponentConfig({\n template,\n\n computed: {\n entry(): InAppPurchaseRequest | null {\n const store = Shopware.Store.get('inAppPurchaseCheckout');\n return store.entry;\n },\n },\n\n methods: {\n closeModal() {\n const store = Shopware.Store.get('inAppPurchaseCheckout');\n store.dismiss();\n },\n },\n});\n" +} diff --git a/web/public/bundles/shopware/code/19ed58b74f4f00e466727ea6e857449cca72d4cb.json b/web/public/bundles/shopware/code/19ed58b74f4f00e466727ea6e857449cca72d4cb.json new file mode 100644 index 00000000..37d08017 --- /dev/null +++ b/web/public/bundles/shopware/code/19ed58b74f4f00e466727ea6e857449cca72d4cb.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "19ed58b74f4f00e466727ea6e857449cca72d4cb", + "language": "javascript", + "path": "src/Administration/Resources/app/administration/src/app/component/structure/sw-admin-menu/index.js", + "schema": "codexray.code/1", + "text": "import { createFocusTrap } from 'focus-trap';\nimport useModuleIconColors from 'src/app/composables/use-module-icon-colors';\nimport template from './sw-admin-menu.html.twig';\nimport { getActiveRouteNames, isEntryOnActiveRoute } from '../sw-admin-menu-item/menu-item-active.helper';\nimport './sw-admin-menu.scss';\n\nconst { Mixin } = Shopware;\nconst { dom } = Shopware.Utils;\n\nconst SIDEBAR_TOGGLE_ANIMATION_DURATION = 500;\n\nconst VIEWPORT_RESIZE_SETTLE_DURATION = 200;\n\n/**\n * @sw-package framework\n *\n * @private\n */\nexport default {\n template,\n\n inject: [\n 'acl',\n 'menuService',\n 'loginService',\n 'userService',\n 'appModulesService',\n 'feature',\n 'customEntityDefinitionService',\n 'systemConfigApiService',\n ],\n\n mixins: [Mixin.getByName('notification')],\n\n shortcuts: {\n S: {\n active(event) {\n return !this.isMobileViewport && !(event?.ctrlKey || event?.altKey || event?.metaKey);\n },\n method: 'onToggleSidebar',\n },\n },\n\n data() {\n return {\n activeEntry: null,\n isOffCanvasShown: false,\n isUserActionsActive: false,\n flyoutEntries: [],\n flyoutTitle: '',\n flyoutCloseTimeoutId: null,\n isFlyoutClosing: false,\n isFlyoutPinned: false,\n scrollbarOffset: '',\n isUserLoading: true,\n flyoutReferenceElement: null,\n viewportWidth: null,\n shopName: '',\n isTogglingSidebar: false,\n toggleSidebarTimeout: null,\n isViewportResizing: false,\n viewportResizeTimeout: null,\n activeBranchKey: null,\n };\n },\n\n computed: {\n currentUser() {\n return Shopware.Store.get('session').currentUser;\n },\n\n isExpanded() {\n return this.adminMenuStore.isExpanded || this.isMobileViewport;\n },\n\n isMobileViewport() {\n return this.viewportWidth !== null && this.viewportWidth <= 1280;\n },\n\n userTitle() {\n if (this.currentUser && this.currentUser.admin) {\n return this.$t('global.sw-admin-menu.administrator');\n }\n\n if (this.currentUser && this.currentUser.title && this.currentUser.title.length > 0) {\n return this.currentUser.title;\n }\n\n if (this.currentUser && this.currentUser.aclRoles && this.currentUser.aclRoles.length > 0) {\n return this.currentUser.aclRoles[0].name;\n }\n\n return '';\n },\n\n currentLocale() {\n return Shopware.Store.get('session').currentLocale;\n },\n\n adminModuleNavigation() {\n const adminModuleNavigationEntries = this.adminMenuStore.adminModuleNavigation;\n\n // Nesting beyond level 3 is unsupported: report it and drop the entry.\n return adminModuleNavigationEntries.filter((entry) => {\n const levelOneParent = adminModuleNavigationEntries.find((e) => entry.parent && e.id === entry.parent);\n\n const levelTwoParent = adminModuleNavigationEntries.find(\n (e) => levelOneParent?.parent && e.id === levelOneParent?.parent,\n );\n\n const levelThreeParent = adminModuleNavigationEntries.find(\n (e) => levelTwoParent?.parent && e.id === levelTwoParent?.parent,\n );\n\n if (levelThreeParent) {\n Shopware.Utils.debug.error(\n new Error(\n `The navigation entry \"${entry.id}\" is nested on level 4 or higher.\\\nThe admin menu only supports up to three levels of nesting.`,\n ),\n );\n\n return false;\n }\n\n return true;\n });\n },\n\n appModuleNavigation() {\n return this.adminMenuStore.appModuleNavigation;\n },\n\n navigationEntries() {\n return [\n ...this.adminModuleNavigation,\n ...this.appModuleNavigation,\n ...this.extensionModuleNavigation,\n ...this.customEntityDefinitionService.getMenuEntries(),\n ];\n },\n\n mainMenuEntries() {\n const tree = new Shopware.Helper.FlatTreeHelper((first, second) => first.position - second.position);\n\n this.navigationEntries.forEach((module) => tree.add(module));\n\n return tree.convertToTree();\n },\n\n flyoutModuleColor() {\n // The flyout is teleported to the body, so it cannot inherit the color from the hovered row\n if (!useModuleIconColors().enabled.value) {\n return undefined;\n }\n\n return this.activeEntry?.entry?.color;\n },\n\n flyoutContentClass() {\n return {\n 'is--closing': this.isFlyoutClosing,\n 'is--module-colored': !!this.flyoutModuleColor,\n };\n },\n\n flyoutContentStyle() {\n return this.flyoutModuleColor ? { '--sw-admin-menu-module-color': this.flyoutModuleColor } : null;\n },\n\n scrollbarOffsetStyle() {\n return {\n right: this.scrollbarOffset,\n 'margin-left': this.scrollbarOffset,\n };\n },\n\n adminMenuClasses() {\n return {\n 'is--expanded': this.isExpanded,\n 'is--collapsed': !this.isExpanded,\n 'is--off-canvas-shown': this.isOffCanvasShown,\n 'is--toggling': this.isTogglingSidebar,\n 'is--viewport-resizing': this.isViewportResizing,\n };\n },\n\n userName() {\n if (!this.currentUser) {\n return '';\n }\n\n return `${this.currentUser.firstName} ${this.currentUser.lastName}`;\n },\n\n userActionsAriaLabel() {\n // The collapsed sidebar hides the visible user name, leaving the avatar button unnamed\n return [this.userName, this.userTitle].filter(Boolean).join(', ');\n },\n\n avatarUrl() {\n if (this.currentUser && this.currentUser.avatarMedia) {\n return this.currentUser.avatarMedia.url;\n }\n\n return null;\n },\n\n firstName() {\n return this.currentUser ? this.currentUser.firstName : '';\n },\n\n lastName() {\n return this.currentUser ? this.currentUser.lastName : '';\n },\n\n extensionMenuItems() {\n return Shopware.Store.get('menuItem').menuItems;\n },\n\n extensionModuleNavigation() {\n return this.extensionMenuItems.map((extensionMenuItem) => {\n return {\n id: Shopware.Utils.createId(),\n label: extensionMenuItem.label,\n position: extensionMenuItem.position ?? 110,\n parent: extensionMenuItem.parent ?? 'sw-extension',\n moduleType: 'plugin',\n path: 'sw.extension.sdk.index',\n params: {\n id: extensionMenuItem.moduleId,\n },\n };\n });\n },\n\n adminMenuStore() {\n return Shopware.Store.get('adminMenu');\n },\n },\n\n watch: {\n isExpanded() {\n this.toggleSidebar();\n this.startSidebarToggleWindow();\n },\n isOffCanvasShown(isShown) {\n if (isShown) {\n this.activateOffCanvasFocusTrap();\n } else {\n this.deactivateOffCanvasFocusTrap();\n }\n },\n isMobileViewport(isMobile) {\n if (!isMobile && this.isOffCanvasShown) {\n this.closeOffCanvas();\n }\n\n // The teleported user menu would float detached over the hidden off-canvas rail otherwise\n if (isMobile) {\n this.isUserActionsActive = false;\n }\n },\n // Query-insensitive on purpose: listing pagination/sorting must not re-expand a collapsed branch\n '$route.path': {\n handler() {\n this.closeNavigationOverlays();\n\n // The teleported user menu would survive the page change otherwise\n this.isUserActionsActive = false;\n\n // Ensure the branch owning the new page is open, once the route change has rendered\n this.$nextTick(() => this.expandAncestorBranchesForCurrentRoute());\n },\n immediate: true,\n },\n },\n\n created() {\n this.createdComponent();\n },\n\n mounted() {\n this.mountedComponent();\n },\n\n beforeUnmount() {\n this.cancelFlyoutClose();\n this.deactivateFlyoutFocusTrap(false);\n\n this.beforeUnmountedComponent();\n },\n\n methods: {\n createdComponent() {\n this.flyoutFocusTrap = null;\n this.offCanvasFocusTrap = null;\n this.menuDropdownObserver = null;\n this.openMenuDropdownTrigger = null;\n\n this.loginService.notifyOnLoginListener();\n\n this.viewportWidth = this.$device.getViewportWidth();\n this.getUser();\n this.loadShopName();\n\n Shopware.Utils.EventBus.on('sw-admin-menu/toggle-offcanvas', this.onToggleCanvas);\n\n window.addEventListener('resize', this.onViewportResize);\n\n this.initNavigation();\n },\n\n loadShopName() {\n this.systemConfigApiService\n .getValues('core.basicInformation')\n .then((values) => {\n this.shopName = values['core.basicInformation.shopName'] || 'Shopware';\n })\n .catch(() => {\n // Users without system config read permission still get the fallback.\n this.shopName = 'Shopware';\n });\n },\n\n beforeUnmountedComponent() {\n this.deactivateOffCanvasFocusTrap();\n Shopware.Utils.EventBus.off('sw-admin-menu/toggle-offcanvas', this.onToggleCanvas);\n window.removeEventListener('resize', this.onViewportResize);\n\n if (this.toggleSidebarTimeout) {\n clearTimeout(this.toggleSidebarTimeout);\n }\n\n if (this.viewportResizeTimeout) {\n clearTimeout(this.viewportResizeTimeout);\n }\n },\n\n onViewportResize() {\n this.viewportWidth = this.$device.getViewportWidth();\n this.isViewportResizing = true;\n\n if (this.viewportResizeTimeout) {\n clearTimeout(this.viewportResizeTimeout);\n }\n\n this.viewportResizeTimeout = setTimeout(() => {\n this.isViewportResizing = false;\n }, VIEWPORT_RESIZE_SETTLE_DURATION);\n },\n\n onToggleCanvas(state) {\n this.isOffCanvasShown = state;\n },\n\n closeOffCanvas() {\n this.isOffCanvasShown = false;\n Shopware.Utils.EventBus.emit('sw-admin-menu/toggle-offcanvas', false);\n },\n\n closeNavigationOverlays() {\n // Ensure an open flyout closes once the page changes\n if (!this.isExpanded && this.flyoutEntries.length && !this.isFlyoutPinned) {\n // Ensure the keyboard focus stays on the new page\n this.deactivateFlyoutFocusTrap(false);\n this.onFlyoutLeave();\n }\n\n // Make sure the mobile off-canvas panel closes so the new page is not left hidden behind it\n if (this.isMobileViewport && this.isOffCanvasShown) {\n this.closeOffCanvas();\n }\n },\n\n onNavigationLinkClicked() {\n // Tapping the current route's entry aborts as redundant navigation, so no route watcher fires\n this.closeNavigationOverlays();\n },\n\n dismissOffCanvas() {\n // Explicit dismissal restores focus to the opener\n if (this.offCanvasFocusTrap) {\n this.offCanvasFocusTrap.deactivate();\n return;\n }\n\n this.closeOffCanvas();\n },\n\n activateOffCanvasFocusTrap() {\n this.$nextTick(() => {\n const panelElement = this.$refs.swAdminMenu;\n\n if (!panelElement || !this.isOffCanvasShown || this.offCanvasFocusTrap) {\n return;\n }\n\n this.offCanvasFocusTrap = createFocusTrap(panelElement, {\n escapeDeactivates: true,\n clickOutsideDeactivates: false,\n allowOutsideClick: true,\n returnFocusOnDeactivate: true,\n delayInitialFocus: false,\n fallbackFocus: panelElement,\n onDeactivate: () => {\n this.stopMenuDropdownObserver();\n this.offCanvasFocusTrap = null;\n Shopware.Utils.EventBus.emit('sw-admin-menu/toggle-offcanvas', false);\n },\n });\n\n this.offCanvasFocusTrap.activate();\n this.startMenuDropdownObserver(panelElement);\n });\n },\n\n startMenuDropdownObserver(panelElement) {\n this.menuDropdownObserver = new MutationObserver(this.syncMenuDropdownFocusOwner);\n\n this.menuDropdownObserver.observe(panelElement, {\n subtree: true,\n childList: true,\n attributes: true,\n attributeFilter: ['data-state'],\n });\n },\n\n stopMenuDropdownObserver() {\n this.menuDropdownObserver?.disconnect();\n this.menuDropdownObserver = null;\n this.openMenuDropdownTrigger = null;\n },\n\n syncMenuDropdownFocusOwner() {\n if (!this.offCanvasFocusTrap) {\n return;\n }\n\n // aria-haspopup narrows this to dropdown triggers: open navigation collapsibles share the same data-state\n const openTrigger = this.$refs.swAdminMenu?.querySelector('[aria-haspopup=\"menu\"][data-state=\"open\"]');\n\n if (openTrigger && !this.openMenuDropdownTrigger) {\n this.openMenuDropdownTrigger = openTrigger;\n this.offCanvasFocusTrap.pause();\n\n return;\n }\n\n if (!openTrigger && this.openMenuDropdownTrigger) {\n const previousTrigger = this.openMenuDropdownTrigger;\n this.openMenuDropdownTrigger = null;\n\n if (previousTrigger.isConnected) {\n previousTrigger.focus();\n }\n\n this.offCanvasFocusTrap.unpause();\n }\n },\n\n deactivateOffCanvasFocusTrap() {\n if (!this.offCanvasFocusTrap) {\n return;\n }\n\n const trap = this.offCanvasFocusTrap;\n this.offCanvasFocusTrap = null;\n\n trap.deactivate({ returnFocus: false });\n },\n\n initNavigation() {\n this.adminMenuStore.adminModuleNavigation = this.menuService.getNavigationFromAdminModules();\n\n this.refreshApps();\n },\n\n refreshApps() {\n return this.appModulesService.fetchAppModules().then((modules) => {\n Shopware.Store.get('shopwareApps').apps = modules;\n Shopware.Store.get('shopwareApps').appsLoaded = true;\n\n this.$nextTick(() => this.expandAncestorBranchesForCurrentRoute());\n });\n },\n\n collapseAdminMenu() {\n this.adminMenuStore.collapseSidebar();\n },\n\n expandAdminMenu() {\n this.adminMenuStore.expandSidebar();\n },\n\n mountedComponent() {\n this.addScrollbarOffset();\n },\n\n getUser() {\n this.isUserLoading = true;\n\n this.userService.getUser().then((response) => {\n const userData = response.data;\n delete userData.password;\n\n Shopware.Store.get('session').setCurrentUser(userData);\n\n this.isUserLoading = false;\n });\n },\n\n onToggleSidebar() {\n if (this.isExpanded) {\n this.collapseAdminMenu();\n } else {\n this.expandAdminMenu();\n }\n\n this.toggleSidebar();\n },\n\n startSidebarToggleWindow() {\n // Marks the sidebar as mid-toggle so CSS can suppress unwanted animations while it slides\n this.isTogglingSidebar = true;\n\n if (this.toggleSidebarTimeout) {\n clearTimeout(this.toggleSidebarTimeout);\n }\n\n this.toggleSidebarTimeout = setTimeout(() => {\n this.isTogglingSidebar = false;\n this.toggleSidebarTimeout = null;\n }, SIDEBAR_TOGGLE_ANIMATION_DURATION);\n },\n\n toggleSidebar() {\n // Collapsing hides the expanded tree, so drop that state and close anything left floating\n if (!this.isExpanded) {\n this.adminMenuStore.clearExpandedMenuEntries();\n this.onFlyoutLeave();\n }\n\n this.isUserActionsActive = false;\n this.flyoutEntries = [];\n },\n\n async onLogoutUser() {\n await this.loginService.logoutSso();\n\n this.adminMenuStore.clearExpandedMenuEntries();\n Shopware.Store.get('session').removeCurrentUser();\n Shopware.Store.get('notification').clearGrowlNotificationsForCurrentUser();\n Shopware.Store.get('notification').clearNotificationsForCurrentUser();\n },\n\n addScrollbarOffset() {\n // A negative offset pulls the scrollbar outside the menu so it does not eat into the visible width\n const scrollbarWidthPx = dom.getScrollbarWidth(this.$refs.swAdminMenuBody);\n\n this.scrollbarOffset = `-${scrollbarWidthPx}px`;\n },\n\n onMenuBranchToggle({ entry, open }) {\n if (!this.isExpanded || !entry || entry.level !== 1) {\n return;\n }\n\n if (!open) {\n this.adminMenuStore.collapseMenuEntry(entry);\n return;\n }\n\n this.collapseInactiveBranches(entry);\n this.adminMenuStore.expandMenuEntry(entry);\n },\n\n collapseInactiveBranches(exceptEntry = null) {\n const exceptKey = exceptEntry ? (exceptEntry.id ?? exceptEntry.path) : null;\n const activeNames = getActiveRouteNames(this.$route, this.$router);\n\n this.adminMenuStore.expandedEntries\n .filter((expanded) => {\n const key = expanded.id ?? expanded.path;\n\n if (key === exceptKey) {\n return false;\n }\n\n const menuEntry = this.mainMenuEntries.find((entry) => (entry.id ?? entry.path) === key);\n\n return !menuEntry || !isEntryOnActiveRoute(menuEntry, this.$route, activeNames);\n })\n .forEach((expanded) => this.adminMenuStore.collapseMenuEntry(expanded));\n },\n\n onMenuItemHover(entry, eventTarget) {\n if (this.isExpanded) {\n return;\n }\n\n this.cancelFlyoutClose();\n\n const target = eventTarget.closest('.sw-admin-menu__navigation-list-item');\n\n if (!target) {\n return;\n }\n\n const hasChildrenClass = target.classList.contains('navigation-list-item__has-children');\n const children = hasChildrenClass ? this.getChildren(entry) : [];\n\n if (!hasChildrenClass || children.length === 0) {\n this.onFlyoutLeave();\n return;\n }\n\n const entryKey = entry.id || entry.path;\n const active = this.activeEntry?.entry;\n const activeKey = active ? active.id || active.path : null;\n\n if (activeKey === entryKey && this.flyoutEntries.length > 0) {\n return;\n }\n\n this.flyoutReferenceElement = target.querySelector('.sw-admin-menu__navigation-link') ?? target;\n this.isFlyoutPinned = false;\n this.flyoutEntries = children;\n this.flyoutTitle = this.getEntryLabel(entry);\n\n this.activeEntry = { entry, target };\n },\n\n onNavigationListMouseLeave(event) {\n if (this.isSuppressedFlyoutFocusOut(event)) {\n return;\n }\n\n if (event.relatedTarget?.closest('.sw-admin-menu__flyout-content')) {\n return;\n }\n\n this.scheduleFlyoutClose();\n },\n\n onFlyoutMouseLeave(event) {\n if (this.isSuppressedFlyoutFocusOut(event)) {\n return;\n }\n\n if (event.relatedTarget?.closest('.sw-admin-menu__navigation-list')) {\n return;\n }\n\n this.scheduleFlyoutClose();\n },\n\n isSuppressedFlyoutFocusOut(event) {\n return event.type === 'focusout' && this.isFlyoutPinned;\n },\n\n onFlyoutNavigate({ disclosesChildren }) {\n this.isFlyoutPinned = disclosesChildren;\n },\n\n scheduleFlyoutClose() {\n if (this.isExpanded || !this.flyoutEntries.length) {\n return;\n }\n\n this.cancelFlyoutClose();\n\n this.flyoutCloseTimeoutId = window.setTimeout(() => {\n this.startFlyoutCloseAnimation();\n }, 180);\n },\n\n startFlyoutCloseAnimation() {\n if (!this.flyoutEntries.length) {\n return;\n }\n\n this.isFlyoutClosing = true;\n\n this.flyoutCloseTimeoutId = window.setTimeout(() => {\n this.onFlyoutLeave();\n }, 200);\n },\n\n cancelFlyoutClose() {\n if (this.flyoutCloseTimeoutId) {\n clearTimeout(this.flyoutCloseTimeoutId);\n this.flyoutCloseTimeoutId = null;\n }\n\n this.isFlyoutClosing = false;\n },\n\n getChildren(entry) {\n return entry.children.filter((child) => {\n if (!child.privilege) {\n return true;\n }\n\n return this.acl.can(child.privilege);\n });\n },\n\n isFlyoutEntryActive(entry) {\n if (this.isExpanded || this.flyoutEntries.length === 0) {\n return false;\n }\n\n const active = this.activeEntry?.entry;\n\n return !!active && (active.id || active.path) === (entry.id || entry.path);\n },\n\n onFlyoutFocusRequest() {\n this.$nextTick(() => {\n const flyoutElement = this.$refs.swAdminMenuFlyout;\n\n if (!flyoutElement || this.flyoutEntries.length === 0) {\n return;\n }\n\n this.deactivateFlyoutFocusTrap(false);\n\n this.flyoutFocusTrap = createFocusTrap(flyoutElement, {\n escapeDeactivates: true,\n clickOutsideDeactivates: true,\n returnFocusOnDeactivate: true,\n delayInitialFocus: false,\n fallbackFocus: flyoutElement,\n onDeactivate: () => {\n this.flyoutFocusTrap = null;\n this.onFlyoutLeave();\n },\n });\n\n this.flyoutFocusTrap.activate();\n });\n },\n\n deactivateFlyoutFocusTrap(returnFocus = true) {\n if (!this.flyoutFocusTrap) {\n return;\n }\n\n const trap = this.flyoutFocusTrap;\n this.flyoutFocusTrap = null;\n\n // Override the configured onDeactivate: it closes the flyout via onFlyoutLeave\n trap.deactivate({ returnFocus, onDeactivate: () => {} });\n },\n\n getNavigationLinks(container) {\n return Array.from(container.querySelectorAll('.sw-admin-menu__navigation-link')).filter(\n (link) => !link.closest('[hidden]'),\n );\n },\n\n moveListFocus(links, event) {\n // arrow key support, per the APG disclosure navigation pattern.\n\n if (links.length === 0) {\n return;\n }\n\n const currentIndex = links.indexOf(document.activeElement);\n let nextIndex = null;\n\n switch (event.key) {\n case 'ArrowDown':\n nextIndex = currentIndex < 0 ? 0 : (currentIndex + 1) % links.length;\n break;\n case 'ArrowUp':\n nextIndex = currentIndex < 0 ? links.length - 1 : (currentIndex - 1 + links.length) % links.length;\n break;\n case 'Home':\n nextIndex = 0;\n break;\n case 'End':\n nextIndex = links.length - 1;\n break;\n default:\n return;\n }\n\n event.preventDefault();\n links[nextIndex]?.focus();\n },\n\n onNavigationKeydown(event) {\n const menuBody = this.$refs.swAdminMenuBody;\n\n if (!menuBody) {\n return;\n }\n\n this.moveListFocus(this.getNavigationLinks(menuBody), event);\n },\n\n onFlyoutKeydown(event) {\n if (event.key === 'ArrowLeft') {\n event.preventDefault();\n this.deactivateFlyoutFocusTrap(true);\n this.onFlyoutLeave();\n\n return;\n }\n\n const flyoutElement = this.$refs.swAdminMenuFlyout;\n\n if (!flyoutElement) {\n return;\n }\n\n this.moveListFocus(this.getNavigationLinks(flyoutElement), event);\n },\n\n onFlyoutLeave() {\n this.deactivateFlyoutFocusTrap();\n this.cancelFlyoutClose();\n this.isFlyoutPinned = false;\n this.activeEntry = null;\n this.flyoutReferenceElement = null;\n this.flyoutEntries = [];\n this.flyoutTitle = '';\n },\n\n getEntryLabel(entry) {\n if (entry.label instanceof Object) {\n return entry.label.translated ? entry.label.label : this.$t(entry.label.label);\n }\n\n return this.$t(entry.label);\n },\n\n expandAncestorBranchesForCurrentRoute() {\n // Only the expanded sidebar shows a tree to open — collapsed entries use the flyout instead\n if (!this.isExpanded) {\n return;\n }\n\n const activeNames = getActiveRouteNames(this.$route, this.$router);\n const activeEntries = this.mainMenuEntries.filter((entry) =>\n isEntryOnActiveRoute(entry, this.$route, activeNames),\n );\n\n // Pages the menu does not list at all own no branch — leave the tree as the user left it\n if (!activeEntries.length) {\n return;\n }\n\n const owner = activeEntries.find((entry) => (entry.children?.length ?? 0) > 0);\n const ownerKey = owner ? (owner.id ?? owner.path) : null;\n\n // The cached owner may have been collapsed manually\n if (ownerKey === this.activeBranchKey && (!owner || this.isNavigationEntryExpanded(owner))) {\n return;\n }\n\n // Branches only stay open while they own the active item, or while nothing in the menu does.\n this.collapseInactiveBranches(owner);\n this.activeBranchKey = ownerKey;\n\n if (owner && !this.isNavigationEntryExpanded(owner)) {\n this.adminMenuStore.expandMenuEntry(owner);\n }\n },\n\n isNavigationEntryExpanded(entry) {\n if (!entry) {\n return false;\n }\n\n const key = entry.id ?? entry.path;\n return this.adminMenuStore.expandedEntries.some((expanded) => (expanded.id ?? expanded.path) === key);\n },\n },\n};\n" +} diff --git a/web/public/bundles/shopware/code/1a867872712f2fbc7b143a84fa2b3fb69062b6bb.json b/web/public/bundles/shopware/code/1a867872712f2fbc7b143a84fa2b3fb69062b6bb.json new file mode 100644 index 00000000..d2561f4a --- /dev/null +++ b/web/public/bundles/shopware/code/1a867872712f2fbc7b143a84fa2b3fb69062b6bb.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "1a867872712f2fbc7b143a84fa2b3fb69062b6bb", + "language": "php", + "path": "src/Storefront/Controller/Api/CaptchaController.php", + "schema": "codexray.code/1", + "text": " [ApiRouteScope::ID]])]\nclass CaptchaController extends AbstractController\n{\n /**\n * @internal\n *\n * @param AbstractCaptcha[] $captchas\n */\n public function __construct(private readonly iterable $captchas)\n {\n }\n\n #[Route(path: '/api/_action/captcha_list', name: 'api.action.captcha.list', methods: ['GET'])]\n public function list(): JsonResponse\n {\n $ids = [];\n\n foreach ($this->captchas as $captcha) {\n $ids[] = $captcha->getName();\n }\n\n return new JsonResponse($ids);\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/1f71f2e84b38ca82ead7a253a4a122f48c47d816.json b/web/public/bundles/shopware/code/1f71f2e84b38ca82ead7a253a4a122f48c47d816.json new file mode 100644 index 00000000..6767b302 --- /dev/null +++ b/web/public/bundles/shopware/code/1f71f2e84b38ca82ead7a253a4a122f48c47d816.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "1f71f2e84b38ca82ead7a253a4a122f48c47d816", + "language": "php", + "path": "src/Core/Content/Category/Aggregate/CategoryTag/CategoryTagDefinition.php", + "schema": "codexray.code/1", + "text": "addFlags(new PrimaryKey(), new Required()),\n (new ReferenceVersionField(CategoryDefinition::class))->addFlags(new PrimaryKey(), new Required()),\n\n (new FkField('tag_id', 'tagId', TagDefinition::class))->addFlags(new PrimaryKey(), new Required()),\n new ManyToOneAssociationField('category', 'category_id', CategoryDefinition::class, 'id', false),\n new ManyToOneAssociationField('tag', 'tag_id', TagDefinition::class, 'id', false),\n ]);\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/1fbc4b3bb7e09cd5b5d0e16b589e3e9146f8c47a.json b/web/public/bundles/shopware/code/1fbc4b3bb7e09cd5b5d0e16b589e3e9146f8c47a.json new file mode 100644 index 00000000..4d8a8dcb --- /dev/null +++ b/web/public/bundles/shopware/code/1fbc4b3bb7e09cd5b5d0e16b589e3e9146f8c47a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "1fbc4b3bb7e09cd5b5d0e16b589e3e9146f8c47a", + "language": "php", + "path": "src/Elasticsearch/Event/ElasticsearchCustomFieldsMappingEvent.php", + "schema": "codexray.code/1", + "text": " $mapping\n */\n public function __construct(\n private readonly string $entity,\n private array $mapping,\n private readonly Context $context\n ) {\n }\n\n public function getContext(): Context\n {\n return $this->context;\n }\n\n /**\n * @param CustomFieldTypes::* $type\n */\n public function setMapping(string $field, string $type): void\n {\n $this->mapping[$field] = $type;\n }\n\n /**\n * @return CustomFieldTypes::*|null\n * @return string|null\n */\n public function getMapping(string $field)\n {\n return $this->mapping[$field] ?? null;\n }\n\n public function removeMapping(string $field): void\n {\n if (isset($this->mapping[$field])) {\n unset($this->mapping[$field]);\n }\n }\n\n /**\n * @return array\n */\n public function getMappings(): array\n {\n return $this->mapping;\n }\n\n public function getEntity(): string\n {\n return $this->entity;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/223949d75ccd653e5bf4d6f3306ed606286502fb.json b/web/public/bundles/shopware/code/223949d75ccd653e5bf4d6f3306ed606286502fb.json new file mode 100644 index 00000000..693fff1a --- /dev/null +++ b/web/public/bundles/shopware/code/223949d75ccd653e5bf4d6f3306ed606286502fb.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "223949d75ccd653e5bf4d6f3306ed606286502fb", + "language": "php", + "path": "src/Storefront/DependencyInjection/StorefrontMigrationReplacementCompilerPass.php", + "schema": "codexray.code/1", + "text": " this.entity),\n getParentEntity: computed(() => this.parentEntity),\n getCustomFieldSet: computed(() => this.set),\n getCustomFieldSetVariant: computed(() => this.variant),\n };\n },\n\n emits: ['process-finish', 'save', 'change-active-selection'],\n\n mixins: [Mixin.getByName('sw-inline-snippet'), Mixin.getByName('placeholder')],\n\n props: {\n sets: {\n type: Array,\n required: true,\n },\n entity: {\n type: Object,\n required: true,\n },\n parentEntity: {\n type: Object,\n required: false,\n default: null,\n },\n variant: {\n type: String,\n required: false,\n default: 'tabs',\n validValues: ['tabs', 'media-collapse'],\n validator(value) {\n if (!value.length) {\n return true;\n }\n return ['tabs', 'media-collapse'].includes(value);\n },\n },\n disabled: {\n type: Boolean,\n default: false,\n required: false,\n },\n isLoading: {\n type: Boolean,\n default: false,\n required: false,\n },\n isSaveSuccessful: {\n type: Boolean,\n default: false,\n required: false,\n },\n showCustomFieldSetSelection: {\n type: Boolean,\n default: false,\n require: false,\n },\n },\n\n data() {\n return {\n customFields: {},\n indirectInheritedCustomFields: null,\n loadingFields: [],\n tabWaitMaxAttempts: 10,\n tabWaitsAttempts: 0,\n refreshVisibleSets: false,\n translatedInheritanceLoadKey: null,\n activeCustomFieldSetTab: null,\n };\n },\n\n computed: {\n hasParent() {\n return this.hasExplicitParentEntity || this.usesTranslatedInheritance;\n },\n\n hasExplicitParentEntity() {\n return !!this.parentEntity?.id;\n },\n\n usesTranslatedInheritance() {\n return (\n !this.hasExplicitParentEntity &&\n !!this.entity?.id &&\n typeof this.entity?.getEntityName === 'function' &&\n !!this.translatedInheritanceSourceLanguageId\n );\n },\n\n visibleCustomFieldSets() {\n return this.sortSets(this.sets);\n },\n\n customFieldSetTabs() {\n return this.visibleCustomFieldSets.map((set) => {\n return {\n label: this.getTabLabel(set),\n name: set.id,\n };\n });\n },\n\n activeCustomFieldSetTabName() {\n return this.activeCustomFieldSetTab ?? this.visibleCustomFieldSets[0]?.id ?? '';\n },\n\n customFieldSetRepository() {\n return this.repositoryFactory.create('custom_field_set');\n },\n\n customFieldSetCriteria() {\n const criteria = new Criteria(1, null);\n\n criteria.addFilter(Criteria.equals('relations.entityName', this.entity.getEntityName()));\n criteria.addFilter(Criteria.equals('global', 0));\n criteria.addSorting(Criteria.sort('position', 'ASC'));\n\n return criteria;\n },\n\n globalCustomFieldSets() {\n return this.sets.filter((set) => set.global);\n },\n\n componentsWithMapInheritanceSupport() {\n return [\n 'sw-text-field',\n 'sw-textarea-field',\n 'sw-select-field',\n 'sw-checkbox-field',\n 'sw-switch-field',\n 'mt-switch',\n 'sw-number-field',\n 'sw-datepicker',\n 'sw-email-field',\n 'mt-email-field',\n 'sw-url-field',\n 'sw-password-field',\n 'sw-radio-field',\n 'sw-colorpicker',\n 'mt-colorpicker',\n 'sw-compact-colorpicker',\n 'sw-price-field',\n 'sw-tagged-field',\n // for backwards compatibility with old custom fields\n 'sw-field',\n ];\n },\n\n translatedInheritanceSourceLanguageId() {\n const language = Shopware.Store.get('context')?.api?.language;\n const parentLanguageId = language?.parentId;\n\n if (parentLanguageId) {\n return parentLanguageId;\n }\n\n if (Shopware.Context.api.languageId === Shopware.Context.api.systemLanguageId) {\n return null;\n }\n\n return Shopware.Context.api.systemLanguageId;\n },\n },\n\n watch: {\n translatedInheritanceSourceLanguageId() {\n this.loadInheritedCustomFields();\n },\n\n sets: {\n handler() {\n this.loadInheritedCustomFields();\n },\n deep: true,\n },\n\n 'entity.customFieldSetSelectionActive': {\n handler(value) {\n this.onChangeCustomFieldSetSelectionActive(value);\n },\n deep: true,\n },\n\n 'entity.customFieldsSets': {\n handler() {\n this.onChangeCustomFieldSets();\n },\n },\n\n entity: {\n handler() {\n this.initializeCustomFields();\n this.loadInheritedCustomFields();\n },\n deep: true,\n },\n\n customFields: {\n handler(customFields) {\n this.entity.customFields = customFields;\n },\n deep: true,\n },\n },\n\n created() {\n this.createdComponent();\n },\n\n methods: {\n createdComponent() {\n this.initializeCustomFields();\n this.loadInheritedCustomFields();\n this.onChangeCustomFieldSets();\n },\n\n initializeCustomFields() {\n if (!this.entity.customFields) {\n return;\n }\n\n this.customFields = this.entity.customFields;\n },\n\n hasOverriddenTranslatedCustomFields() {\n return Object.values(this.customFields ?? {}).some((value) => value !== null && value !== undefined);\n },\n\n hasInheritedTranslatedCustomFields() {\n return this.sets.some((set) => {\n return set.customFields?.some((customField) => this.isInheritedTranslatedCustomField(customField.name));\n });\n },\n\n hasInheritedTranslatedCustomFieldsWithoutFallback() {\n return this.sets.some((set) => {\n return set.customFields?.some((customField) => {\n if (!this.isInheritedTranslatedCustomField(customField.name)) {\n return false;\n }\n\n const translatedValue = this.entity?.translated?.customFields?.[customField.name];\n\n return translatedValue === null || translatedValue === undefined;\n });\n });\n },\n\n resetTranslatedInheritanceState() {\n this.indirectInheritedCustomFields = null;\n this.translatedInheritanceLoadKey = null;\n },\n\n getTranslatedInheritanceLoadKey() {\n return [this.entity.getEntityName(), this.entity.id, this.translatedInheritanceSourceLanguageId].join(':');\n },\n\n getTranslatedInheritanceContext() {\n return {\n ...Shopware.Context.api,\n languageId: this.translatedInheritanceSourceLanguageId,\n };\n },\n\n isInheritedTranslatedCustomField(customFieldName) {\n return this.customFields?.[customFieldName] === null || this.customFields?.[customFieldName] === undefined;\n },\n\n getInheritedCustomFields(customFieldName) {\n const parentCustomFields = this.parentEntity?.translated?.customFields;\n\n if (parentCustomFields) {\n return parentCustomFields?.[customFieldName];\n }\n\n if (!this.usesTranslatedInheritance || !this.isInheritedTranslatedCustomField(customFieldName)) {\n return this.indirectInheritedCustomFields?.[customFieldName];\n }\n\n if (Object.hasOwn(this.indirectInheritedCustomFields ?? {}, customFieldName)) {\n return this.indirectInheritedCustomFields?.[customFieldName];\n }\n\n return this.entity?.translated?.customFields?.[customFieldName];\n },\n\n getDefaultInheritedCustomFieldValue(customFieldName) {\n const customFieldInformation = this.getCustomFieldInformation(customFieldName);\n const customFieldType = customFieldInformation.type;\n\n switch (customFieldType) {\n case 'select': {\n return [];\n }\n\n case 'bool': {\n return false;\n }\n\n case 'html':\n case 'datetime':\n case 'text': {\n return '';\n }\n\n case 'float':\n case 'int': {\n return 0;\n }\n\n default: {\n return null;\n }\n }\n },\n\n async loadInheritedCustomFields() {\n if (!this.usesTranslatedInheritance) {\n this.resetTranslatedInheritanceState();\n\n return;\n }\n\n const loadKey = this.getTranslatedInheritanceLoadKey();\n\n if (!this.hasOverriddenTranslatedCustomFields() && !this.hasInheritedTranslatedCustomFields()) {\n if (this.translatedInheritanceLoadKey !== loadKey) {\n this.resetTranslatedInheritanceState();\n }\n\n return;\n }\n\n if (this.translatedInheritanceLoadKey === loadKey) {\n return;\n }\n\n this.translatedInheritanceLoadKey = loadKey;\n\n try {\n const inheritedEntity = await this.repositoryFactory\n .create(this.entity.getEntityName())\n .get(this.entity.id, this.getTranslatedInheritanceContext());\n\n if (this.translatedInheritanceLoadKey !== loadKey) {\n return;\n }\n\n this.indirectInheritedCustomFields = inheritedEntity?.customFields ?? null;\n } catch (error) {\n console.error(error);\n\n if (this.translatedInheritanceLoadKey === loadKey) {\n this.resetTranslatedInheritanceState();\n }\n }\n },\n\n getInheritedCustomField(customFieldName) {\n const value = this.getInheritedCustomFields(customFieldName);\n\n if (value !== null && value !== undefined) {\n return value;\n }\n\n return this.getDefaultInheritedCustomFieldValue(customFieldName);\n },\n\n getCustomFieldInformation(customFieldName) {\n let returnValue;\n\n this.sets.some((set) =>\n set.customFields.some((customField) => {\n const isMatching = customField.name === customFieldName;\n\n if (isMatching) {\n returnValue = customField;\n }\n\n return isMatching;\n }),\n );\n\n return returnValue;\n },\n\n getInheritValue(field) {\n // Search field in translated\n const value = this.parentEntity?.translated?.[field] ?? null;\n\n if (value) {\n return value;\n }\n\n // Search field on top level of entity\n return this.parentEntity?.[field] ?? null;\n },\n\n getParentCustomFieldSetSelectionSwitchState() {\n const parentEntity = this.parentEntity;\n\n if (parentEntity && parentEntity.hasOwnProperty('customFieldSets')) {\n return parentEntity.customFieldSets.length > 0;\n }\n\n return null;\n },\n\n supportsMapInheritance(customField) {\n const componentName = customField.config.componentName;\n\n return this.componentsWithMapInheritanceSupport.includes(componentName);\n },\n\n isMeteorComponent(customField) {\n return [\n 'bool',\n 'text',\n 'number',\n 'float',\n 'int',\n 'datetime',\n ].includes(customField.type);\n },\n\n getBind(customField, props) {\n const customFieldClone = Shopware.Utils.object.cloneDeep(customField);\n\n const isMeteorComponent = this.isMeteorComponent(customField);\n const inheritedCustomFieldValue = props.isInheritField ? this.getInheritedCustomField(customField.name) : null;\n\n if (customFieldClone.type === 'bool') {\n customFieldClone.config.bordered = true;\n }\n\n if (this.supportsMapInheritance(customFieldClone)) {\n customFieldClone.mapInheritance = props;\n\n // Special case for meteor components\n if (isMeteorComponent) {\n Object.assign(customFieldClone, mapInheritanceSlotPropsToMeteorProps(props, inheritedCustomFieldValue));\n customFieldClone.disabled = this.disabled || props.isInherited;\n }\n\n return customFieldClone;\n }\n\n if (customFieldClone.config.customFieldType === 'entity' && customFieldClone.config.entity === 'product') {\n const criteria = new Criteria(1, 25).setTotalCountMode(0);\n criteria.addAssociation('options.group');\n\n customFieldClone.config.criteria = criteria;\n customFieldClone.config.displayVariants = true;\n }\n\n delete customFieldClone.config.label;\n delete customFieldClone.config.helpText;\n\n return customFieldClone;\n },\n\n getElementEventListeners(customField, props) {\n const isMeteorComponent = this.isMeteorComponent(customField);\n const eventHandler = {};\n\n if (isMeteorComponent) {\n eventHandler['inheritance-remove'] = props.removeInheritance;\n eventHandler['inheritance-restore'] = props.restoreInheritance;\n }\n\n return eventHandler;\n },\n\n getInheritWrapperBind(customField) {\n if (this.supportsMapInheritance(customField)) {\n return {};\n }\n\n return {\n helpText: this.getInlineSnippet(customField.config.helpText) || '',\n label: this.getInlineSnippet(customField.config.label) || ' ',\n };\n },\n\n customFieldSetCriteriaById() {\n const criteria = new Criteria(1, 1);\n\n criteria.getAssociation('customFields').addSorting(Criteria.sort('config.customFieldPosition', 'ASC'));\n\n return criteria;\n },\n\n loadCustomFieldSet(setId) {\n if (this.loadingFields.includes(setId)) {\n // as we might triggered multiple times with the same item, we store the loading set in a heap cache\n return;\n }\n\n // failsave dealing with sets (should be an entityCollection, but in reality might be just an array)\n const set = this.sets.get ? this.sets.get(setId) : this.sets.find((s) => s.id === setId);\n\n if (set.customFields && set.customFields.length > 0) {\n // already loaded, so do nothing\n return;\n }\n\n // indicate the loading of this item\n this.loadingFields.push(setId);\n\n // fully load the set\n this.customFieldSetRepository\n .get(setId, Shopware.Context.api, this.customFieldSetCriteriaById())\n .then((newSet) => {\n // replace the fully fetched set\n this.sets.forEach((originalSet, index) => {\n if (originalSet.id === newSet.id) {\n this.sets[index] = newSet;\n }\n });\n\n // remove the set from the currently loading onces and refresh the visible sets\n this.loadingFields = this.loadingFields.filter((s) => s.id !== setId);\n })\n .catch((error) => {\n console.error(error);\n // in case of error make loading again possible\n this.loadingFields = this.loadingFields.filter((s) => s.id !== setId);\n });\n },\n\n resetTabs() {\n const firstVisibleCustomFieldSet = this.visibleCustomFieldSets[0];\n\n if (!firstVisibleCustomFieldSet) {\n return;\n }\n\n if (this.variant !== 'tabs') {\n return;\n }\n\n this.setActiveCustomFieldSetTab(firstVisibleCustomFieldSet.id);\n\n if (this.feature.isActive('v6.8.0.0')) {\n return;\n }\n\n if (this.visibleCustomFieldSets.length > 0 && this.$refs.tabComponent) {\n // Reset state of tab component if custom field selection changes\n this.$refs.tabComponent.mountedComponent();\n this.$refs.tabComponent.setActiveItem({\n name: firstVisibleCustomFieldSet.id,\n });\n }\n },\n\n waitForTabComponent() {\n if (this.$refs.tabComponent || this.tabWaitsAttempts > this.tabWaitMaxAttempts) {\n return this.resetTabs();\n }\n return this.$nextTick(() => {\n this.tabWaitsAttempts += 1;\n this.waitForTabComponent();\n });\n },\n\n getTabLabel(set) {\n if (set.config && this.getInlineSnippet(set.config.label)) {\n return this.getInlineSnippet(set.config.label);\n }\n\n return set.name;\n },\n\n setActiveCustomFieldSetTab(setId) {\n this.activeCustomFieldSetTab = setId;\n\n if (!this.visibleCustomFieldSets.some((set) => set.id === setId)) {\n return;\n }\n\n this.loadCustomFieldSet(setId);\n },\n\n onChangeCustomFieldSets(value, updateFn) {\n if (this.feature.isActive('v6.8.0.0') && this.variant === 'tabs') {\n this.resetTabs();\n } else if (!this.$refs.tabComponent && (this.visibleCustomFieldSets.length > 0 || value)) {\n // when rendered initially we wait for the tabcomponent to load so we can activate the first item\n this.waitForTabComponent();\n } else {\n this.resetTabs();\n }\n\n if (typeof updateFn === 'function') {\n updateFn(value);\n }\n },\n\n onChangeCustomFieldSetSelectionActive(newVal) {\n this.onChangeCustomFieldSets();\n if (!newVal) {\n if (!this.entity.customFieldSets) {\n this.initializeCustomFields();\n return;\n }\n this.entity.customFieldSets = this.entity.customFieldSets.filter(() => {\n return false;\n });\n }\n },\n\n /**\n * @param { Array } sets\n */\n sortSets(sets) {\n return sets.sort((a, b) => a.position - b.position);\n },\n\n onUpdateActiveSelection(value) {\n this.$emit('change-active-selection', value);\n },\n },\n};\n" +} diff --git a/web/public/bundles/shopware/code/24b387647f37e6aee9eb1e2e1e34e27728424c1c.json b/web/public/bundles/shopware/code/24b387647f37e6aee9eb1e2e1e34e27728424c1c.json new file mode 100644 index 00000000..9e899e7e --- /dev/null +++ b/web/public/bundles/shopware/code/24b387647f37e6aee9eb1e2e1e34e27728424c1c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "24b387647f37e6aee9eb1e2e1e34e27728424c1c", + "language": "php", + "path": "src/Storefront/Checkout/Payment/BlockedPaymentMethodSwitcher.php", + "schema": "codexray.code/1", + "text": "getPaymentMethod();\n if (!$this->paymentMethodBlocked($errors)) {\n return $originalPaymentMethod;\n }\n\n $paymentMethod = $this->getPaymentMethodToChangeTo(\n $errors,\n $salesChannelContext,\n $paymentMethods ?? $this->paymentMethodRoute->load(\n new Request(['onlyAvailable' => true]),\n $salesChannelContext,\n new Criteria(),\n )->getPaymentMethods(),\n );\n if ($paymentMethod === null) {\n return $originalPaymentMethod;\n }\n\n $this->addNoticeToCart($errors, $paymentMethod);\n\n return $paymentMethod;\n }\n\n private function paymentMethodBlocked(ErrorCollection $errors): bool\n {\n foreach ($errors as $error) {\n if ($error instanceof PaymentMethodBlockedError) {\n return true;\n }\n }\n\n return false;\n }\n\n private function getPaymentMethodToChangeTo(\n ErrorCollection $errors,\n SalesChannelContext $salesChannelContext,\n PaymentMethodCollection $paymentMethods\n ): ?PaymentMethodEntity {\n $blocked = $this->getBlockedPaymentMethodLookup($errors);\n\n $defaultPaymentMethod = $paymentMethods->get($salesChannelContext->getSalesChannel()->getPaymentMethodId());\n if ($defaultPaymentMethod !== null && !$this->isBlocked($defaultPaymentMethod, $blocked)) {\n return $defaultPaymentMethod;\n }\n\n foreach ($paymentMethods as $paymentMethod) {\n if (!$this->isBlocked($paymentMethod, $blocked)) {\n return $paymentMethod;\n }\n }\n\n return null;\n }\n\n /**\n * @return array\n */\n private function getBlockedPaymentMethodLookup(ErrorCollection $errors): array\n {\n // @deprecated tag:v6.8.0 - remove the name fallback, the error always carries the id\n return \\array_flip($errors->fmap(static fn (Error $error) => $error instanceof PaymentMethodBlockedError ? ($error->getPaymentMethodId() ?? $error->getName()) : null));\n }\n\n /**\n * @param array $blocked\n */\n private function isBlocked(PaymentMethodEntity $paymentMethod, array $blocked): bool\n {\n if (isset($blocked[$paymentMethod->getId()])) {\n return true;\n }\n\n // @deprecated tag:v6.8.0 - remove the name check together with the name fallback in the lookup\n $name = $paymentMethod->getName();\n\n return $name !== null && isset($blocked[$name]);\n }\n\n private function addNoticeToCart(ErrorCollection $cartErrors, PaymentMethodEntity $paymentMethod): void\n {\n $newPaymentMethodName = $paymentMethod->getTranslation('name');\n if ($newPaymentMethodName === null) {\n return;\n }\n\n foreach ($cartErrors as $error) {\n if (!$error instanceof PaymentMethodBlockedError) {\n continue;\n }\n\n // Exchange cart blocked warning with notice\n $cartErrors->remove($error->getId());\n $cartErrors->add(new PaymentMethodChangedError(\n oldPaymentMethodId: $error->getPaymentMethodId(),\n oldPaymentMethodName: $error->getName(),\n newPaymentMethodId: $paymentMethod->getId(),\n newPaymentMethodName: $newPaymentMethodName,\n reason: $error->getReason(),\n ));\n }\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/265f444c0bc3accd5a02b7953a7c82cb602d522a.json b/web/public/bundles/shopware/code/265f444c0bc3accd5a02b7953a7c82cb602d522a.json new file mode 100644 index 00000000..c6ef72cc --- /dev/null +++ b/web/public/bundles/shopware/code/265f444c0bc3accd5a02b7953a7c82cb602d522a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "265f444c0bc3accd5a02b7953a7c82cb602d522a", + "language": "php", + "path": "src/Storefront/Migration/V6_3/Migration1564385954ThemeMedia.php", + "schema": "codexray.code/1", + "text": "executeStatement('\n CREATE TABLE `theme_media` (\n `theme_id` BINARY(16) NOT NULL,\n `media_id` BINARY(16) NOT NULL,\n PRIMARY KEY (`theme_id`, `media_id`),\n CONSTRAINT `fk.theme_media.theme_id` FOREIGN KEY (`theme_id`)\n REFERENCES `theme` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `fk.theme_media.media_id` FOREIGN KEY (`media_id`)\n REFERENCES `media` (`id`) ON DELETE RESTRICT ON UPDATE CASCADE\n ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;\n ');\n }\n\n public function updateDestructive(Connection $connection): void\n {\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/27ded024e888f86f1061958d5e6a83db06f35e7c.json b/web/public/bundles/shopware/code/27ded024e888f86f1061958d5e6a83db06f35e7c.json new file mode 100644 index 00000000..75699091 --- /dev/null +++ b/web/public/bundles/shopware/code/27ded024e888f86f1061958d5e6a83db06f35e7c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "27ded024e888f86f1061958d5e6a83db06f35e7c", + "language": "php", + "path": "src/Storefront/Page/Account/Login/AccountLoginPage.php", + "schema": "codexray.code/1", + "text": "countries;\n }\n\n public function setCountries(CountryCollection $countries): void\n {\n $this->countries = $countries;\n }\n\n public function getSalutations(): SalutationCollection\n {\n return $this->salutations;\n }\n\n public function setSalutations(SalutationCollection $salutations): void\n {\n $this->salutations = $salutations;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/2d4705adbeb60351d827d70a0349a17b56b64cae.json b/web/public/bundles/shopware/code/2d4705adbeb60351d827d70a0349a17b56b64cae.json new file mode 100644 index 00000000..8a1444fd --- /dev/null +++ b/web/public/bundles/shopware/code/2d4705adbeb60351d827d70a0349a17b56b64cae.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "2d4705adbeb60351d827d70a0349a17b56b64cae", + "language": "php", + "path": "src/Core/Checkout/Cart/Delivery/Struct/DeliveryDate.php", + "schema": "codexray.code/1", + "text": "format(Defaults::STORAGE_DATE_TIME_FORMAT));\n $latest = new \\DateTimeImmutable($latest->format(Defaults::STORAGE_DATE_TIME_FORMAT));\n\n $this->earliest = $earliest->setTime(16, 0);\n $this->latest = $latest->setTime(16, 0);\n }\n\n public static function createFromDeliveryTime(DeliveryTime $deliveryTime): self\n {\n return self::createFromDeliveryTimeAt($deliveryTime, Clock::get()->now());\n }\n\n public static function createFromDeliveryTimeAt(DeliveryTime $deliveryTime, \\DateTimeInterface $base): self\n {\n return match ($deliveryTime->getUnit()) {\n DeliveryTimeEntity::DELIVERY_TIME_HOUR => new self(\n self::create('PT' . $deliveryTime->getMin() . 'H', $base),\n self::create('PT' . $deliveryTime->getMax() . 'H', $base)\n ),\n DeliveryTimeEntity::DELIVERY_TIME_DAY => new self(\n self::create('P' . $deliveryTime->getMin() . 'D', $base),\n self::create('P' . $deliveryTime->getMax() . 'D', $base)\n ),\n DeliveryTimeEntity::DELIVERY_TIME_WEEK => new self(\n self::create('P' . $deliveryTime->getMin() . 'W', $base),\n self::create('P' . $deliveryTime->getMax() . 'W', $base)\n ),\n DeliveryTimeEntity::DELIVERY_TIME_MONTH => new self(\n self::create('P' . $deliveryTime->getMin() . 'M', $base),\n self::create('P' . $deliveryTime->getMax() . 'M', $base)\n ),\n DeliveryTimeEntity::DELIVERY_TIME_YEAR => new self(\n self::create('P' . $deliveryTime->getMin() . 'Y', $base),\n self::create('P' . $deliveryTime->getMax() . 'Y', $base)\n ),\n default => throw CartException::deliveryDateNotSupportedUnit($deliveryTime->getUnit()),\n };\n }\n\n public function getEarliest(): \\DateTimeImmutable\n {\n return $this->earliest;\n }\n\n public function getLatest(): \\DateTimeImmutable\n {\n return $this->latest;\n }\n\n public function add(\\DateInterval $interval): self\n {\n return new DeliveryDate(\n $this->earliest->add($interval),\n $this->latest->add($interval)\n );\n }\n\n public function getApiAlias(): string\n {\n return 'cart_delivery_date';\n }\n\n private static function create(string $interval, \\DateTimeInterface $base): \\DateTimeImmutable\n {\n return DatePoint::createFromInterface($base)->add(new \\DateInterval($interval));\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/2f69ebdfa03ce6da964991f8ceba920f3574a117.json b/web/public/bundles/shopware/code/2f69ebdfa03ce6da964991f8ceba920f3574a117.json new file mode 100644 index 00000000..d194583c --- /dev/null +++ b/web/public/bundles/shopware/code/2f69ebdfa03ce6da964991f8ceba920f3574a117.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "2f69ebdfa03ce6da964991f8ceba920f3574a117", + "language": "php", + "path": "src/Storefront/Theme/ConfigLoader/DatabaseAvailableThemeProvider.php", + "schema": "codexray.code/1", + "text": "connection->createQueryBuilder()\n ->from('theme_sales_channel')\n ->select('LOWER(HEX(sales_channel_id))', 'LOWER(HEX(theme_id))')\n ->leftJoin('theme_sales_channel', 'sales_channel', 'sales_channel', 'sales_channel.id = theme_sales_channel.sales_channel_id')\n ->where('sales_channel.type_id = :typeId')\n ->setParameter('typeId', Uuid::fromHexToBytes(Defaults::SALES_CHANNEL_TYPE_STOREFRONT));\n\n if ($activeOnly) {\n $qb->andWhere('sales_channel.active = 1');\n }\n\n /** @var array $keyValue */\n $keyValue = $qb->executeQuery()->fetchAllKeyValue();\n\n return $keyValue;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/2ffacf1b7811f49777ccf80d0d681c443d102782.json b/web/public/bundles/shopware/code/2ffacf1b7811f49777ccf80d0d681c443d102782.json new file mode 100644 index 00000000..1749fa42 --- /dev/null +++ b/web/public/bundles/shopware/code/2ffacf1b7811f49777ccf80d0d681c443d102782.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "2ffacf1b7811f49777ccf80d0d681c443d102782", + "language": "typescript", + "path": "src/Administration/Resources/app/administration/src/app/component/structure/sw-media-modal-renderer/index.ts", + "schema": "codexray.code/1", + "text": "import type { MediaModalConfig, SaveMediaModalConfig } from 'src/app/store/media-modal.store';\nimport template from './sw-media-modal-renderer.html.twig';\n\n/**\n * @sw-package framework\n *\n * @private\n */\nexport default Shopware.Component.wrapComponentConfig({\n template,\n\n computed: {\n mediaModal(): MediaModalConfig | null {\n return Shopware.Store.get('mediaModal').mediaModal;\n },\n\n saveMediaModal(): SaveMediaModalConfig | null {\n return Shopware.Store.get('mediaModal').saveMediaModal;\n },\n\n /**\n * The app tabs of the open modal; only when the app that opened it is known.\n */\n extensionTabs(): NonNullable {\n if (!this.mediaModal?.baseUrl) {\n return [];\n }\n\n return this.mediaModal.tabs ?? [];\n },\n },\n\n methods: {\n closeModal(): void {\n Shopware.Store.get('mediaModal').closeModal();\n },\n\n closeSaveModal(): void {\n Shopware.Store.get('mediaModal').closeSaveModal();\n },\n\n onSelectionChange(selection: EntityCollection<'media'>): void {\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion\n const selectors: string[] = (this.mediaModal?.selectors as string[] | undefined) || ['id', 'fileName', 'url'];\n\n const mediaSelection = this.transformObjectsByPaths(selection, selectors);\n\n if (this.mediaModal && typeof this.mediaModal.callback === 'function') {\n const callbackFn = this.mediaModal.callback as (selection: Array>) => void;\n callbackFn(mediaSelection);\n }\n },\n\n getValueByPath(obj: unknown, path: string): unknown {\n if (typeof path !== 'string' || path.length === 0) {\n return undefined;\n }\n\n const parts = path.split('.');\n\n return parts.reduce((currentAccumulator: unknown, currentKey: string): unknown => {\n if (currentAccumulator && typeof currentAccumulator === 'object' && currentKey in currentAccumulator) {\n return (currentAccumulator as Record)[currentKey];\n }\n return undefined;\n }, obj);\n },\n\n transformObjectsByPaths(inputArray: Entity<'media'>[], keysToKeep: string[]): Array> {\n if (!Array.isArray(inputArray) || !Array.isArray(keysToKeep)) {\n return [];\n }\n\n return inputArray.map((item) => {\n const transformedObject = {};\n\n keysToKeep\n .filter((keyPath) => typeof keyPath === 'string' && keyPath.length > 0) // 1. Filter for valid keyPaths\n .forEach((keyPath: string) => {\n const value = this.getValueByPath(item, keyPath);\n this.setValueByPath(transformedObject, keyPath, value);\n });\n\n return transformedObject;\n });\n },\n\n setValueByPath(obj: unknown, path: string, value: unknown): void {\n if (typeof path !== 'string' || path.length === 0 || typeof obj !== 'object' || obj === null) {\n return;\n }\n\n const parts = path.split('.');\n let currentContext: Record = obj as Record;\n\n const intermediateParts = parts.slice(0, -1);\n\n intermediateParts.forEach((pathSegment: string) => {\n const segmentValue: unknown = currentContext[pathSegment];\n\n if (!(segmentValue && typeof segmentValue === 'object')) {\n currentContext[pathSegment] = {};\n }\n // Update currentContext to point to the (potentially newly created) nested object.\n currentContext = currentContext[pathSegment] as Record;\n });\n\n const finalSegment = parts[parts.length - 1];\n currentContext[finalSegment] = value;\n },\n\n onSaveMedia(params: { fileName: string; folderId: EntityKey<'media_folder'>; mediaId?: EntityKey<'media'> }): void {\n if (this.saveMediaModal && typeof this.saveMediaModal.callback === 'function') {\n const callbackFn = this.saveMediaModal.callback as (params: {\n fileName: string;\n folderId: EntityKey<'media_folder'>;\n mediaId?: EntityKey<'media'>;\n }) => void;\n callbackFn(params);\n }\n },\n },\n});\n" +} diff --git a/web/public/bundles/shopware/code/305651f13aadf9c27d7c4e39cf73a643edf93247.json b/web/public/bundles/shopware/code/305651f13aadf9c27d7c4e39cf73a643edf93247.json new file mode 100644 index 00000000..0ffd6cfd --- /dev/null +++ b/web/public/bundles/shopware/code/305651f13aadf9c27d7c4e39cf73a643edf93247.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "305651f13aadf9c27d7c4e39cf73a643edf93247", + "language": "php", + "path": "src/Core/Profiling/Doctrine/ProfilingMiddleware.php", + "schema": "codexray.code/1", + "text": "debugDataHolder,\n new Stopwatch(),\n self::CONNECTION\n );\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/31f1e7e13f1bdcfd47ef2fdd42cc144db5a6d79c.json b/web/public/bundles/shopware/code/31f1e7e13f1bdcfd47ef2fdd42cc144db5a6d79c.json new file mode 100644 index 00000000..8602996d --- /dev/null +++ b/web/public/bundles/shopware/code/31f1e7e13f1bdcfd47ef2fdd42cc144db5a6d79c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "31f1e7e13f1bdcfd47ef2fdd42cc144db5a6d79c", + "language": "php", + "path": "src/Core/Content/Category/Service/CachedDefaultCategoryLevelLoader.php", + "schema": "codexray.code/1", + "text": "\n */\n public static function getSubscribedEvents(): array\n {\n return [\n CategoryEvents::CATEGORY_WRITTEN_EVENT => 'onCategoryWritten',\n CategoryEvents::CATEGORY_TRANSLATION_WRITTEN_EVENT => 'onCategoryTranslationWritten',\n CategoryEvents::CATEGORY_TRANSLATION_DELETED_EVENT => 'onCategoryTranslationDeleted',\n CategoryEvents::CATEGORY_DELETED_EVENT => 'invalidateCache',\n ];\n }\n\n public function loadLevels(\n string $rootId,\n int $rootLevel,\n SalesChannelContext $context,\n Criteria $criteria,\n int $depth,\n ): CategoryCollection {\n if ($context->getSalesChannel()->getNavigationCategoryId() === $rootId) {\n return $this->cached(\n $rootId,\n $rootLevel,\n $context,\n $criteria,\n $depth,\n );\n }\n\n return $this->inner->loadLevels($rootId, $rootLevel, $context, $criteria, $depth);\n }\n\n public function invalidateCache(): void\n {\n $this->cache->invalidateTags([self::CACHE_TAG]);\n }\n\n public function onCategoryWritten(EntityWrittenEvent $event): void\n {\n $categoryIds = [];\n\n foreach ($event->getWriteResults() as $result) {\n $payload = $result->getPayload();\n\n // results without payload only mark the category as parent of another write, e.g. a product assignment\n if ($payload === []) {\n continue;\n }\n\n if ($result->getOperation() !== EntityWriteResult::OPERATION_INSERT && \\array_key_exists('parentId', $payload)) {\n // the category may have left another navigation tree, whose root is not known anymore\n $this->invalidateCache();\n\n return;\n }\n\n $categoryIds[] = $result->getPrimaryKey();\n\n if (\\is_string($payload['parentId'] ?? null)) {\n $categoryIds[] = $payload['parentId'];\n }\n }\n\n $this->invalidateTrees($categoryIds);\n }\n\n public function onCategoryTranslationWritten(EntityWrittenEvent $event): void\n {\n $categoryIds = [];\n\n foreach ($event->getWriteResults() as $result) {\n $primaryKey = $result->getPrimaryKey();\n\n if (\\is_array($primaryKey) && isset($primaryKey['categoryId'])) {\n $categoryIds[] = $primaryKey['categoryId'];\n }\n }\n\n $this->invalidateTrees($categoryIds);\n }\n\n public function onCategoryTranslationDeleted(EntityDeletedEvent $event): void\n {\n $this->onCategoryTranslationWritten($event);\n }\n\n private function cached(\n string $rootId,\n int $rootLevel,\n SalesChannelContext $context,\n Criteria $criteria,\n int $depth,\n ): CategoryCollection {\n $cacheKey = $this->getCacheKey($rootId, $context, $criteria, $depth);\n\n if ($cacheKey === null) {\n return $this->inner->loadLevels($rootId, $rootLevel, $context, $criteria, $depth);\n }\n\n $fresh = null;\n\n $compressed = $this->cache->get(\n $cacheKey,\n function (ItemInterface $item) use ($rootId, $rootLevel, $context, $criteria, $depth, &$fresh): string {\n $item->tag([self::CACHE_TAG, self::buildTreeTag($rootId)]);\n\n $fresh = $this->inner->loadLevels($rootId, $rootLevel, $context, $criteria, $depth);\n\n return CacheValueCompressor::compress($fresh);\n }\n );\n\n // the levels were built in this call, return them directly instead of\n // uncompressing the cache payload that was just compressed from them\n if ($fresh instanceof CategoryCollection) {\n return $fresh;\n }\n\n $categories = CacheValueCompressor::uncompress($compressed);\n \\assert($categories instanceof CategoryCollection);\n\n return $categories;\n }\n\n private function getCacheKey(string $rootId, SalesChannelContext $context, Criteria $criteria, int $depth): ?string\n {\n $parts = [\n 'rootId' => $rootId,\n 'depth' => $depth,\n 'salesChannelId' => $context->getSalesChannelId(),\n 'languageId' => $context->getContext()->getLanguageId(),\n 'criteria' => $this->cacheKeyGenerator->getCriteriaHash($criteria),\n ];\n\n $event = new CategoryLevelLoaderCacheKeyEvent(\n $parts,\n $rootId,\n $depth,\n $context,\n $criteria,\n );\n\n $this->eventDispatcher->dispatch($event);\n\n if (!$event->shouldCache()) {\n return null;\n }\n\n return Hasher::hash($event->getParts());\n }\n\n private static function buildTreeTag(string $rootId): string\n {\n return self::CACHE_TAG . '-' . $rootId;\n }\n\n /**\n * Invalidates every cached navigation tree that contains one of the categories:\n * the trees whose root is the category itself or one of its ancestors.\n *\n * @param array $categoryIds\n */\n private function invalidateTrees(array $categoryIds): void\n {\n $categoryIds = array_values(array_unique(array_filter($categoryIds, static fn (mixed $id): bool => \\is_string($id) && Uuid::isValid($id))));\n\n if ($categoryIds === []) {\n return;\n }\n\n $paths = $this->connection->fetchAllKeyValue(\n 'SELECT LOWER(HEX(id)), path FROM category WHERE id IN (:ids) AND version_id = :versionId',\n ['ids' => Uuid::fromHexToBytesList($categoryIds), 'versionId' => Uuid::fromHexToBytes(Defaults::LIVE_VERSION)],\n ['ids' => ArrayParameterType::BINARY]\n );\n\n $treeIds = $categoryIds;\n foreach ($paths as $path) {\n if (\\is_string($path)) {\n $treeIds = [...$treeIds, ...array_filter(explode('|', $path))];\n }\n }\n\n $this->cache->invalidateTags(array_map(self::buildTreeTag(...), array_values(array_unique($treeIds))));\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/31fdb2bb81780fe9605e35b6c5e0fd04d620b8a3.json b/web/public/bundles/shopware/code/31fdb2bb81780fe9605e35b6c5e0fd04d620b8a3.json new file mode 100644 index 00000000..a0a08109 --- /dev/null +++ b/web/public/bundles/shopware/code/31fdb2bb81780fe9605e35b6c5e0fd04d620b8a3.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "31fdb2bb81780fe9605e35b6c5e0fd04d620b8a3", + "language": "typescript", + "path": "src/Administration/Resources/app/administration/src/app/store/notification.store.ts", + "schema": "codexray.code/1", + "text": "import { POLL_BACKGROUND_INTERVAL } from 'src/core/worker/worker-notification-listener';\n\n/**\n * @sw-package framework\n */\n\n/**\n * @private\n */\nexport type NotificationVariant = 'neutral' | 'info' | 'attention' | 'critical' | 'positive';\n\n/**\n * @private\n */\nexport interface NotificationType {\n variant?: NotificationVariant;\n title?: string;\n message?: string;\n system?: boolean;\n growl?: boolean;\n isLoading?: boolean;\n metadata?: { size?: number };\n uuid?: string;\n duration?: number;\n autoClose?: boolean;\n visited?: boolean;\n timestamp?: Date;\n actions?: {\n label: string;\n disabled?: boolean;\n route?: string | { name: string };\n method?: () => void;\n }[];\n\n [key: string]: string | boolean | object | number | undefined;\n}\n\nconst { debug } = Shopware.Utils;\nconst utils = Shopware.Utils;\nconst NOTIFICATION_LOAD_LIMIT = 50;\nconst notificationDefaults: NotificationType = {\n visited: false,\n metadata: {},\n isLoading: false,\n};\n\nconst growlNotificationDefaults: NotificationType = {\n system: false,\n variant: 'info',\n autoClose: true,\n duration: 5000,\n};\n\n// eslint-disable-next-line sw-deprecation-rules/private-feature-declarations\nexport function initializeUserNotifications() {\n if (Shopware.Store) {\n Shopware.Store.get('notification').notifications = getNotificationsForUser();\n }\n}\n\nfunction _getOriginalNotification(notificationId: string, store: NotificationStore) {\n let originalNotification = store.notifications[notificationId];\n if (originalNotification === undefined) {\n originalNotification = {\n ...notificationDefaults,\n uuid: notificationId,\n timestamp: new Date(),\n };\n }\n return originalNotification;\n}\n\nfunction _mergeNotificationUpdate(originalNotification: NotificationType, notificationUpdate: NotificationType) {\n return {\n ...originalNotification,\n visited: notificationUpdate.metadata\n ? JSON.stringify(originalNotification.metadata) === JSON.stringify(notificationUpdate.metadata)\n : originalNotification.visited,\n ...notificationUpdate,\n };\n}\n\nfunction _getStorageKey() {\n const user = Shopware.Store.get('session').currentUser;\n\n if (!user) {\n return null;\n }\n\n const userId = user.id;\n if (!userId) {\n return null;\n }\n\n return `notifications#${userId}`;\n}\n\n/**\n * @public\n */\nexport function getNotificationsForUser() {\n const storageKey = _getStorageKey();\n if (!storageKey) {\n return {};\n }\n\n const notificationsRaw = localStorage.getItem(storageKey);\n if (!notificationsRaw) {\n localStorage.setItem(storageKey, JSON.stringify({}));\n return {};\n }\n\n const notificationsAll = JSON.parse(notificationsRaw) as Record;\n const reverseIds = Object.keys(notificationsAll).reverse();\n const notifications: Record = {};\n for (let i = Math.min(NOTIFICATION_LOAD_LIMIT, reverseIds.length) - 1; i >= 0; i -= 1) {\n const id = reverseIds[i];\n\n notifications[id] = {\n ...notificationsAll[id],\n timestamp: new Date(notificationsAll[id]?.timestamp ?? Date.now()),\n };\n }\n\n if (reverseIds.length > NOTIFICATION_LOAD_LIMIT) {\n _saveNotifications(notifications);\n }\n\n return notifications;\n}\n\nfunction _saveNotifications(notifications: Record) {\n const storageKey = _getStorageKey();\n if (!storageKey) {\n return;\n }\n\n const storageNotifications: Record = {};\n Object.keys(notifications).forEach((id) => {\n if (!notifications[id].isLoading) {\n storageNotifications[id] = {\n ...notifications[id],\n timestamp: notifications[id]?.timestamp?.toJSON(),\n } as unknown;\n }\n });\n\n localStorage.setItem(storageKey, JSON.stringify(storageNotifications));\n}\n\nconst notificationStore = Shopware.Store.register({\n id: 'notification',\n\n state: () => ({\n notifications: {} as Record,\n growlNotifications: {} as Record,\n threshold: 5,\n workerProcessPollInterval: POLL_BACKGROUND_INTERVAL,\n transformers: {} as Record NotificationType>,\n }),\n\n actions: {\n setThreshold(threshold = 5) {\n this.threshold = threshold;\n\n const growlKeys = Object.keys(this.growlNotifications).slice(0, this.threshold);\n const slicedGrowlNotifications: Record = {};\n\n growlKeys.forEach((key) => {\n slicedGrowlNotifications[key] = this.growlNotifications[key];\n });\n\n this.growlNotifications = slicedGrowlNotifications;\n },\n\n clearNotificationsForCurrentUser() {\n this.notifications = {};\n\n const storageKey = _getStorageKey();\n if (!storageKey) {\n return;\n }\n\n localStorage.removeItem(storageKey);\n },\n\n clearGrowlNotificationsForCurrentUser() {\n this.growlNotifications = {};\n },\n\n setNotifications(notifications: Record) {\n Object.keys(notifications).forEach((id) => {\n const uuid = notifications[id].uuid;\n // in case this is used from JS, we need to check if the uuid is set\n if (uuid) {\n this.notifications[uuid] = notifications[id];\n }\n });\n },\n\n upsertNotification(notificationUpdate: Partial) {\n if (!notificationUpdate.uuid) {\n debug.warn('NotificationStore', 'A notification must contain a uuid', notificationUpdate);\n return;\n }\n this.notifications[notificationUpdate.uuid] = {\n ...this.notifications[notificationUpdate.uuid],\n ...notificationUpdate,\n };\n _saveNotifications(this.notifications);\n },\n\n removeNotification(notification: NotificationType & { uuid: string }) {\n if (!notification.uuid) {\n debug.warn('NotificationStore', 'A notification must contain a uuid', notification);\n return;\n }\n delete this.notifications[notification.uuid];\n _saveNotifications(this.notifications);\n },\n\n setAllNotificationsVisited() {\n Object.keys(this.notifications).forEach((id) => {\n this.notifications[id].visited = true;\n });\n\n _saveNotifications(this.notifications);\n },\n\n upsertGrowlNotification(notificationUpdate: Partial) {\n if (!notificationUpdate.uuid) {\n debug.warn('NotificationStore', 'A notification must contain a uuid', notificationUpdate);\n return;\n }\n\n this.growlNotifications[notificationUpdate.uuid] = {\n ...this.growlNotifications[notificationUpdate.uuid],\n ...notificationUpdate,\n };\n\n const growlKeys = Object.keys(this.growlNotifications);\n if (growlKeys.length > this.threshold) {\n delete this.growlNotifications[growlKeys[0]];\n }\n },\n\n removeGrowlNotification(notification: NotificationType) {\n if (!notification.uuid) {\n debug.warn('NotificationStore', 'A notification must contain a uuid', notification);\n return;\n }\n delete this.growlNotifications[notification.uuid];\n },\n\n createNotification(notification: NotificationType) {\n if (!notification.message) {\n debug.warn('NotificationStore', 'A message must be specified', notification);\n return null;\n }\n\n // Apply transformer if registered\n if (this.transformers[notification.message]) {\n notification = this.transformers[notification.message](notification);\n }\n\n if (notification.growl === undefined || notification.growl) {\n this.createGrowlNotification(notification);\n }\n\n delete notification.growl;\n const mergedNotification = {\n ...notificationDefaults,\n uuid: utils.createId(),\n timestamp: new Date(),\n ...notification,\n };\n\n // @ts-expect-error - fallback for success variant\n if (mergedNotification.variant === 'success' || mergedNotification.variant === 'positive') {\n return null;\n }\n\n this.upsertNotification(mergedNotification);\n return mergedNotification.uuid;\n },\n\n createGrowlNotification(notification: NotificationType) {\n const mergedNotification = {\n actions: [],\n ...growlNotificationDefaults,\n ...notification,\n uuid: utils.createId(),\n timestamp: new Date(),\n };\n\n delete mergedNotification.growl;\n this.upsertGrowlNotification(mergedNotification);\n if (mergedNotification.autoClose) {\n setTimeout(() => {\n this.removeGrowlNotification(mergedNotification);\n }, mergedNotification.duration);\n }\n },\n\n updateNotification(notificationUpdate: NotificationType) {\n if (!notificationUpdate.uuid) {\n debug.warn('NotificationStore', 'Update to an notification must contain the uuid', notificationUpdate);\n return null;\n }\n\n const originalNotification = _getOriginalNotification(notificationUpdate.uuid, this);\n const mergedUpdate = _mergeNotificationUpdate(originalNotification, notificationUpdate);\n\n this.upsertNotification(mergedUpdate);\n\n if (notificationUpdate.growl) {\n this.createGrowlNotification(mergedUpdate);\n }\n\n return originalNotification.uuid;\n },\n\n registerTransformer(key: string, transformer: (notification: NotificationType) => NotificationType) {\n this.transformers[key] = transformer;\n },\n },\n});\n\n// eslint-disable-next-line sw-deprecation-rules/private-feature-declarations\nexport type NotificationStore = ReturnType;\n\n// eslint-disable-next-line sw-deprecation-rules/private-feature-declarations\nexport default notificationStore;\n" +} diff --git a/web/public/bundles/shopware/code/3205083958061cf5d2616cca9309e9366a4c0221.json b/web/public/bundles/shopware/code/3205083958061cf5d2616cca9309e9366a4c0221.json new file mode 100644 index 00000000..ea3b3b56 --- /dev/null +++ b/web/public/bundles/shopware/code/3205083958061cf5d2616cca9309e9366a4c0221.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "3205083958061cf5d2616cca9309e9366a4c0221", + "language": "php", + "path": "src/Core/Framework/Adapter/Console/ShopwareStyle.php", + "schema": "codexray.code/1", + "text": "setProgressCharacter($character);\n }\n\n $progressBar->setBarCharacter('=');\n\n return $progressBar;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/350896d09c684397a7cce4b4dacb29d9d42462c0.json b/web/public/bundles/shopware/code/350896d09c684397a7cce4b4dacb29d9d42462c0.json new file mode 100644 index 00000000..ea531a44 --- /dev/null +++ b/web/public/bundles/shopware/code/350896d09c684397a7cce4b4dacb29d9d42462c0.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "350896d09c684397a7cce4b4dacb29d9d42462c0", + "language": "php", + "path": "src/Core/System/DeliveryTime/DeliveryTimeDefinition.php", + "schema": "codexray.code/1", + "text": "addFlags(new ApiAware(), new PrimaryKey(), new Required())->setDescription('Unique identity of delivery time.'),\n (new TranslatedField('name'))->addFlags(new ApiAware(), new Required(), new SearchRanking(SearchRanking::HIGH_SEARCH_RANKING)),\n (new IntField('min', 'min', 0))->addFlags(new ApiAware(), new Required())->setDescription('Minimum delivery time taken.'),\n (new IntField('max', 'max', 0))->addFlags(new ApiAware(), new Required())->setDescription('Maximum delivery time taken.'),\n (new StringField('unit', 'unit'))->addFlags(new ApiAware(), new Required())->setDescription('Unit in which the delivery time is defined. For example, days or hours.'),\n (new TranslatedField('customFields'))->addFlags(new ApiAware()),\n new OneToManyAssociationField('shippingMethods', ShippingMethodDefinition::class, 'delivery_time_id'),\n new OneToManyAssociationField('products', ProductDefinition::class, 'delivery_time_id'),\n (new TranslationsAssociationField(DeliveryTimeTranslationDefinition::class, 'delivery_time_id'))->addFlags(new Required()),\n ]);\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/3544e3434373781f516a8483c13d2bb7bc878ff8.json b/web/public/bundles/shopware/code/3544e3434373781f516a8483c13d2bb7bc878ff8.json new file mode 100644 index 00000000..9cd75bbd --- /dev/null +++ b/web/public/bundles/shopware/code/3544e3434373781f516a8483c13d2bb7bc878ff8.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "3544e3434373781f516a8483c13d2bb7bc878ff8", + "language": "typescript", + "path": "src/Administration/Resources/app/administration/src/module/sw-cms/service/cms-element-favorites.service.ts", + "schema": "codexray.code/1", + "text": "/**\n * @sw-package discovery\n */\n\nimport { reactive } from 'vue';\nimport UserConfigClass from '../../../core/service/support/user-config.class';\n\nconst { Application } = Shopware;\n\nclass CmsElementFavoritesService extends UserConfigClass {\n static USER_CONFIG_KEY = 'cms-element-favorites';\n\n private state: { favorites: string[] } = reactive({\n favorites: [],\n });\n\n public getFavoriteElementNames(): string[] {\n return this.state.favorites;\n }\n\n public isFavorite(cmsElementName: string): boolean {\n return this.state.favorites.includes(cmsElementName);\n }\n\n public update(state: boolean, cmsElementName: string): void {\n if (state && !this.isFavorite(cmsElementName)) {\n this.state.favorites.push(cmsElementName);\n } else if (!state && this.isFavorite(cmsElementName)) {\n const index = this.state.favorites.indexOf(cmsElementName);\n\n this.state.favorites.splice(index, 1);\n }\n\n void this.saveUserConfig();\n }\n\n protected getConfigurationKey(): string {\n return CmsElementFavoritesService.USER_CONFIG_KEY;\n }\n\n protected async readUserConfig(): Promise {\n this.userConfig = await this.getUserConfig();\n if (Array.isArray(this.userConfig.value)) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n this.state.favorites = this.userConfig.value;\n }\n }\n\n protected setUserConfig(): void {\n this.userConfig.value = this.state.favorites;\n }\n}\n\nlet cmsElementFavoritesService: CmsElementFavoritesService;\n\nApplication.addServiceProvider('cmsElementFavorites', () => {\n if (!cmsElementFavoritesService) {\n cmsElementFavoritesService = new CmsElementFavoritesService();\n }\n\n return cmsElementFavoritesService;\n});\n\n/**\n * @private\n */\nexport { CmsElementFavoritesService as default };\n" +} diff --git a/web/public/bundles/shopware/code/355219d3710f25af84b45669b1606ef561b5b472.json b/web/public/bundles/shopware/code/355219d3710f25af84b45669b1606ef561b5b472.json new file mode 100644 index 00000000..e00c4350 --- /dev/null +++ b/web/public/bundles/shopware/code/355219d3710f25af84b45669b1606ef561b5b472.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "355219d3710f25af84b45669b1606ef561b5b472", + "language": "php", + "path": "src/Core/Checkout/Promotion/Cart/PromotionProcessor.php", + "schema": "codexray.code/1", + "text": "getData()->set(LineItemGroupBuilder::class, $this->groupBuilder);\n\n // if we are in recalculation,\n // we must not re-add any promotions. just leave it as it is.\n if ($behavior->hasPermission(self::SKIP_PROMOTION)) {\n $items = $original->getLineItems()->filterType(self::LINE_ITEM_TYPE);\n foreach ($items as $item) {\n $toCalculate->add($item);\n }\n\n return;\n }\n\n // if there is no collected promotion we may return - nothing to calculate!\n if (!$data->has(self::DATA_KEY)) {\n $lineItemPromotions = $original->getLineItems()->filterType(self::LINE_ITEM_TYPE);\n foreach ($lineItemPromotions as $lineItemPromotion) {\n $referencedId = $lineItemPromotion->getReferencedId();\n if ($referencedId === null || $referencedId === '') {\n $toCalculate->addErrors(\n new AutoPromotionNotFoundError($lineItemPromotion->getLabel() ?? $lineItemPromotion->getId())\n );\n }\n }\n\n return;\n }\n\n /** @var LineItemCollection $discountLineItems */\n $discountLineItems = $data->get(self::DATA_KEY);\n\n $this->preservePinnedSetPromotions($discountLineItems, $toCalculate, $behavior);\n\n if ($toCalculate->getPrice()->getTotalPrice() === 0.0) {\n // We'll only display the `PromotionsOnCartPriceZeroError` if a promotion code is input and the cart price is zero. Auto-promotions are not considered in this case.\n $discountPromotionsWithCode = $discountLineItems->filter(static fn (LineItem $lineItem) => !$lineItem->hasPayloadValue('promotionCodeType') || $lineItem->getPayloadValue('promotionCodeType') !== PromotionItemBuilder::PROMOTION_TYPE_GLOBAL);\n if ($discountPromotionsWithCode->count() === 0) {\n return;\n }\n\n $toCalculate->addErrors(\n new PromotionsOnCartPriceZeroError($discountPromotionsWithCode->fmap(static fn (LineItem $lineItem) => $lineItem->getLabel()))\n );\n\n return;\n }\n\n // calculate the whole cart with the\n // new list of created promotion discount line items\n $items = new LineItemCollection();\n foreach ($discountLineItems as $lineItem) {\n $lineItem->setShippingCostAware(true);\n $items->add($lineItem);\n }\n\n $this->promotionCalculator->calculate($items, $original, $toCalculate, $context, $behavior);\n }, 'cart');\n }\n\n private function preservePinnedSetPromotions(LineItemCollection $discountLineItems, Cart $calculated, CartBehavior $behavior): void\n {\n $pinManual = $behavior->hasPermission(CheckoutPermissions::PIN_MANUAL_PROMOTIONS);\n $pinAutomatic = $behavior->hasPermission(CheckoutPermissions::PIN_AUTOMATIC_PROMOTIONS);\n\n if (!$pinManual && !$pinAutomatic) {\n return;\n }\n\n foreach ($discountLineItems as $lineItem) {\n $isPinned = $lineItem->getReferencedId() ? $pinManual : $pinAutomatic;\n\n if (!$isPinned || !$this->hasSerializedSetGroupRules($lineItem)) {\n continue;\n }\n\n $calculated->add($lineItem);\n }\n }\n\n private function hasSerializedSetGroupRules(LineItem $lineItem): bool\n {\n if (!$lineItem->hasPayloadValue('discountScope') || !$lineItem->hasPayloadValue('setGroups')) {\n return false;\n }\n\n $scope = $lineItem->getPayloadValue('discountScope');\n if (!\\in_array($scope, [PromotionDiscountEntity::SCOPE_SET, PromotionDiscountEntity::SCOPE_SETGROUP], true)) {\n return false;\n }\n\n $groups = $lineItem->getPayloadValue('setGroups');\n if (!\\is_array($groups)) {\n return false;\n }\n\n foreach ($groups as $group) {\n if (!\\is_array($group)) {\n return true;\n }\n\n $rules = $group['rules'] ?? null;\n if ($rules !== null && $rules !== [] && !$rules instanceof RuleCollection) {\n return true;\n }\n }\n\n return false;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/3869b23b7a2a7bf567d18fe9037ab6ec8f252c54.json b/web/public/bundles/shopware/code/3869b23b7a2a7bf567d18fe9037ab6ec8f252c54.json new file mode 100644 index 00000000..66d24a19 --- /dev/null +++ b/web/public/bundles/shopware/code/3869b23b7a2a7bf567d18fe9037ab6ec8f252c54.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "3869b23b7a2a7bf567d18fe9037ab6ec8f252c54", + "language": "typescript", + "path": "src/Administration/Resources/app/administration/src/app/store/shopware-apps.store.ts", + "schema": "codexray.code/1", + "text": "/**\n * @sw-package framework\n */\nimport type { AppModuleDefinition } from 'src/core/service/api/app-modules.service';\n\n/**\n * @public\n */\nexport interface ShopwareAppsState {\n apps: AppModuleDefinition[];\n appsLoaded: boolean;\n selectedIds: string[];\n}\n\nconst shopwareApps = Shopware.Store.register({\n id: 'shopwareApps',\n\n state: (): {\n apps: AppModuleDefinition[];\n appsLoaded: boolean;\n selectedIds: string[];\n } => ({\n apps: [],\n /**\n * Whether `apps` reflects a finished fetch — an empty list is ambiguous otherwise\n */\n appsLoaded: false,\n selectedIds: [],\n }),\n});\n\n// eslint-disable-next-line sw-deprecation-rules/private-feature-declarations\nexport type ShopwareApps = ReturnType;\n\n// eslint-disable-next-line sw-deprecation-rules/private-feature-declarations\nexport default shopwareApps;\n" +} diff --git a/web/public/bundles/shopware/code/3aab9d2d8dbde246d0fef13d827706e9a765f378.json b/web/public/bundles/shopware/code/3aab9d2d8dbde246d0fef13d827706e9a765f378.json new file mode 100644 index 00000000..dc7f899e --- /dev/null +++ b/web/public/bundles/shopware/code/3aab9d2d8dbde246d0fef13d827706e9a765f378.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "3aab9d2d8dbde246d0fef13d827706e9a765f378", + "language": "php", + "path": "src/Core/System/CustomField/Aggregate/CustomFieldSet/CustomFieldSetEntity.php", + "schema": "codexray.code/1", + "text": "|null\n */\n protected ?array $config = null;\n\n protected bool $active;\n\n protected bool $global;\n\n protected int $position;\n\n protected ?CustomFieldCollection $customFields = null;\n\n protected ?CustomFieldSetRelationCollection $relations = null;\n\n protected ?ProductCollection $products = null;\n\n protected ?string $appId = null;\n\n protected ?string $extensionName = null;\n\n protected ?AppEntity $app = null;\n\n public function getName(): string\n {\n return $this->name;\n }\n\n public function setName(string $name): void\n {\n $this->name = $name;\n }\n\n /**\n * @return array|null\n */\n public function getConfig(): ?array\n {\n return $this->config;\n }\n\n /**\n * @param array|null $config\n */\n public function setConfig(?array $config): void\n {\n $this->config = $config;\n }\n\n public function isActive(): bool\n {\n return $this->active;\n }\n\n public function setActive(bool $active): void\n {\n $this->active = $active;\n }\n\n public function getPosition(): int\n {\n return $this->position;\n }\n\n public function setPosition(int $position): void\n {\n $this->position = $position;\n }\n\n public function getCustomFields(): ?CustomFieldCollection\n {\n return $this->customFields;\n }\n\n public function setCustomFields(CustomFieldCollection $customFields): void\n {\n $this->customFields = $customFields;\n }\n\n public function getRelations(): ?CustomFieldSetRelationCollection\n {\n return $this->relations;\n }\n\n public function setRelations(CustomFieldSetRelationCollection $relations): void\n {\n $this->relations = $relations;\n }\n\n public function getProducts(): ?ProductCollection\n {\n return $this->products;\n }\n\n public function setProducts(ProductCollection $products): void\n {\n $this->products = $products;\n }\n\n public function isGlobal(): bool\n {\n return $this->global;\n }\n\n public function setGlobal(bool $global): void\n {\n $this->global = $global;\n }\n\n public function getAppId(): ?string\n {\n return $this->appId;\n }\n\n public function setAppId(?string $appId): void\n {\n $this->appId = $appId;\n }\n\n public function getExtensionName(): ?string\n {\n return $this->extensionName;\n }\n\n public function setExtensionName(?string $extensionName): void\n {\n $this->extensionName = $extensionName;\n }\n\n public function getApp(): ?AppEntity\n {\n return $this->app;\n }\n\n public function setApp(?AppEntity $app): void\n {\n $this->app = $app;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/3bc6feb4d1d9c55f52ffac457fbf2540362daf37.json b/web/public/bundles/shopware/code/3bc6feb4d1d9c55f52ffac457fbf2540362daf37.json new file mode 100644 index 00000000..33e12a32 --- /dev/null +++ b/web/public/bundles/shopware/code/3bc6feb4d1d9c55f52ffac457fbf2540362daf37.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "3bc6feb4d1d9c55f52ffac457fbf2540362daf37", + "language": "typescript", + "path": "src/Administration/Resources/app/administration/src/app/component/structure/sw-request-consent-modal/index.ts", + "schema": "codexray.code/1", + "text": "/**\n * @sw-package framework\n */\nimport { MtModal, MtModalRoot, MtModalAction, MtModalClose } from '@shopware-ag/meteor-component-library';\nimport DOMPurify from 'dompurify';\nimport useConsentStore from 'src/core/consent/consent.store';\nimport useNotificationStore from 'src/app/store/notification.store';\nimport { sendConsentRequestResponse } from 'src/core/consent/sdk-handler';\nimport template from './sw-request-consent-modal.html.twig';\nimport './sw-request-consent-modal.scss';\n\n/**\n * @private\n */\nexport default Shopware.Component.wrapComponentConfig({\n name: 'sw-request-consent-modal',\n template,\n\n components: { MtModal, MtModalRoot, MtModalAction, MtModalClose },\n\n data() {\n return {\n isLoading: false,\n };\n },\n\n computed: {\n hasConsentRequest() {\n return useConsentStore().consentRequestInfo.length > 0;\n },\n state() {\n return useConsentStore().consentRequestInfo[0] ?? null;\n },\n\n sanitizedMessage() {\n if (!this.state || !this.state.consentRequest.requestMessage) {\n return null;\n }\n\n return DOMPurify.sanitize(this.state.consentRequest.requestMessage, {\n ALLOWED_TAGS: [\n 'a',\n 'b',\n 'strong',\n 'i',\n 'em',\n 'li',\n 'ul',\n ],\n });\n },\n },\n\n methods: {\n async accept() {\n if (!this.state) {\n return;\n }\n\n const consentStore = useConsentStore();\n this.isLoading = true;\n\n try {\n await consentStore.accept(this.state.consentRequest.consent);\n } catch (e: unknown) {\n const notificationStore = useNotificationStore();\n notificationStore.createNotification({\n variant: 'critical',\n title: this.$t('global.default.error'),\n message: this.$t('sw-request-consent-modal.updateFailed'),\n autoClose: false,\n });\n\n throw e;\n } finally {\n sendConsentRequestResponse(\n this.state.requester.window,\n this.state.consentRequest.requestId,\n consentStore.consents[this.state.consentRequest.consent],\n );\n consentStore.removeConsentRequest();\n this.isLoading = false;\n }\n },\n\n async decline() {\n if (!this.state) {\n return;\n }\n\n const consentStore = useConsentStore();\n this.isLoading = true;\n\n try {\n await consentStore.revoke(this.state.consentRequest.consent);\n } catch (e: unknown) {\n const notificationStore = useNotificationStore();\n notificationStore.createNotification({\n variant: 'critical',\n title: this.$t('global.default.error'),\n message: this.$t('sw-request-consent-modal.updateFailed'),\n autoClose: false,\n });\n\n throw e;\n } finally {\n sendConsentRequestResponse(\n this.state.requester.window,\n this.state.consentRequest.requestId,\n consentStore.consents[this.state.consentRequest.consent],\n );\n consentStore.removeConsentRequest();\n this.isLoading = false;\n }\n },\n },\n});\n" +} diff --git a/web/public/bundles/shopware/code/3c8d03a90067671f3eb771b25eba15d98f7d6de9.json b/web/public/bundles/shopware/code/3c8d03a90067671f3eb771b25eba15d98f7d6de9.json new file mode 100644 index 00000000..66bd3b5c --- /dev/null +++ b/web/public/bundles/shopware/code/3c8d03a90067671f3eb771b25eba15d98f7d6de9.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "3c8d03a90067671f3eb771b25eba15d98f7d6de9", + "language": "php", + "path": "src/Core/Migration/Traits/UpdateMailTrait.php", + "schema": "codexray.code/1", + "text": "updateEnMail($connection, $update);\n\n $this->updateDeMail($connection, $update);\n }\n\n final protected function updateMailSubject(MailSubjectUpdate $update, Connection $connection): void\n {\n $this->updateEnMailSubject($connection, $update);\n\n $this->updateDeMailSubject($connection, $update);\n }\n\n private function updateDeMail(Connection $connection, MailUpdate $update): void\n {\n $languages = $this->getLanguageIds($connection, 'de-DE');\n if (!$languages) {\n return;\n }\n\n $translations = $this->getTranslationIds($connection, $languages, $update->getType());\n if ($translations === []) {\n return;\n }\n\n foreach ($translations as $translation) {\n $connection->executeStatement(\n '\n UPDATE mail_template_translation\n SET content_html = :html, content_plain = :plain\n WHERE language_id = :language_id AND mail_template_id = :template',\n [\n 'language_id' => $translation['language_id'],\n 'template' => $translation['mail_template_id'],\n 'html' => $update->getDeHtml(),\n 'plain' => $update->getDePlain(),\n ]\n );\n }\n }\n\n private function updateEnMail(Connection $connection, MailUpdate $update): void\n {\n $languages = array_merge([Defaults::LANGUAGE_SYSTEM], $this->getLanguageIds($connection, 'en-GB'));\n $languages = array_unique(array_filter($languages));\n\n if ($languages === []) {\n return;\n }\n\n $translations = $this->getTranslationIds($connection, $languages, $update->getType());\n if ($translations === []) {\n return;\n }\n\n foreach ($translations as $translation) {\n $connection->executeStatement(\n 'UPDATE mail_template_translation\n SET content_html = :html, content_plain = :plain\n WHERE language_id = :language_id AND mail_template_id = :template',\n [\n 'language_id' => $translation['language_id'],\n 'template' => $translation['mail_template_id'],\n 'html' => $update->getEnHtml(),\n 'plain' => $update->getEnPlain(),\n ]\n );\n }\n }\n\n private function updateEnMailSubject(Connection $connection, MailSubjectUpdate $update): void\n {\n $languages = array_merge([Defaults::LANGUAGE_SYSTEM], $this->getLanguageIds($connection, 'en-GB'));\n $languages = array_unique(array_filter($languages));\n\n if ($languages === []) {\n return;\n }\n\n $translations = $this->getTranslationIds($connection, $languages, $update->getType());\n if ($translations === []) {\n return;\n }\n\n foreach ($translations as $translation) {\n $connection->executeStatement(\n 'UPDATE mail_template_translation\n SET subject = :subject\n WHERE language_id = :language_id AND mail_template_id = :template',\n [\n 'language_id' => $translation['language_id'],\n 'template' => $translation['mail_template_id'],\n 'subject' => $update->getEnSubject(),\n ]\n );\n }\n }\n\n private function updateDeMailSubject(Connection $connection, MailSubjectUpdate $update): void\n {\n $languages = $this->getLanguageIds($connection, 'de-DE');\n if (!$languages) {\n return;\n }\n\n $translations = $this->getTranslationIds($connection, $languages, $update->getType());\n if ($translations === []) {\n return;\n }\n\n foreach ($translations as $translation) {\n $connection->executeStatement(\n '\n UPDATE mail_template_translation\n SET subject = :subject\n WHERE language_id = :language_id AND mail_template_id = :template',\n [\n 'language_id' => $translation['language_id'],\n 'template' => $translation['mail_template_id'],\n 'subject' => $update->getDeSubject(),\n ]\n );\n }\n }\n\n /**\n * @param array $languageIds\n *\n * @return list\n */\n private function getTranslationIds(Connection $connection, array $languageIds, string $type): array\n {\n /** @phpstan-ignore return.type (PHPStan cannot determine the returned keys and values) */\n return $connection->fetchAllAssociative(\n '\n SELECT mail_template_translation.mail_template_id, mail_template_translation.language_id\n\n FROM mail_template\n\n INNER JOIN mail_template_translation\n ON mail_template.id = mail_template_translation.mail_template_id\n\n INNER JOIN mail_template_type\n ON mail_template.mail_template_type_id = mail_template_type.id\n\n WHERE mail_template_translation.language_id IN (:ids)\n AND mail_template_type.technical_name = :type\n AND mail_template.system_default = 1\n AND mail_template_translation.updated_at IS NULL\n AND mail_template.updated_at IS NULL',\n ['ids' => Uuid::fromHexToBytesList($languageIds), 'type' => $type],\n ['ids' => ArrayParameterType::BINARY]\n );\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/3cf9e0d6a0bce28cdf1f27bb89267166840b3f6f.json b/web/public/bundles/shopware/code/3cf9e0d6a0bce28cdf1f27bb89267166840b3f6f.json new file mode 100644 index 00000000..ee307cb7 --- /dev/null +++ b/web/public/bundles/shopware/code/3cf9e0d6a0bce28cdf1f27bb89267166840b3f6f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "3cf9e0d6a0bce28cdf1f27bb89267166840b3f6f", + "language": "php", + "path": "src/Core/Maintenance/System/Struct/DatabaseConnectionInformation.php", + "schema": "codexray.code/1", + "text": " $value) {\n if (!\\is_string($value)) {\n continue;\n }\n\n $params[$param] = rawurldecode($value);\n }\n\n $path = (string) ($params['path'] ?? '/');\n $dbName = substr($path, 1);\n if (!isset($params['scheme'], $params['host']) || trim($dbName) === '') {\n throw MaintenanceException::environmentVariableNotValid('DATABASE_URL', $dsn, 'Not a valid DSN');\n }\n\n return (new self())->assign([\n 'hostname' => $params['host'],\n 'port' => (int) ($params['port'] ?? '3306'),\n 'username' => $params['user'] ?? null,\n 'password' => $params['pass'] ?? null,\n 'databaseName' => $dbName,\n 'sslCaPath' => EnvironmentHelper::getVariable('DATABASE_SSL_CA'),\n 'sslCertPath' => EnvironmentHelper::getVariable('DATABASE_SSL_CERT'),\n 'sslCertKeyPath' => EnvironmentHelper::getVariable('DATABASE_SSL_KEY'),\n 'sslDontVerifyServerCert' => EnvironmentHelper::getVariable('DATABASE_SSL_DONT_VERIFY_SERVER_CERT'),\n ]);\n }\n\n /**\n * @return array{host: string, port: int, charset: string, driver: 'pdo_mysql', dbname?: string, user?: string, password?: string, driverOptions: array}\n */\n public function toDBALParameters(bool $withoutDatabaseName = false): array\n {\n $parameters = [\n 'host' => $this->hostname,\n 'port' => $this->port,\n 'charset' => 'utf8mb4',\n 'driver' => 'pdo_mysql',\n 'driverOptions' => [\n \\PDO::ATTR_STRINGIFY_FETCHES => true,\n Mysql::ATTR_MULTI_STATEMENTS => true,\n ],\n ];\n\n if (!$withoutDatabaseName) {\n $parameters['dbname'] = $this->databaseName;\n }\n\n if ($this->username !== null) {\n $parameters['user'] = $this->username;\n }\n\n if ($this->password !== null) {\n $parameters['password'] = $this->password;\n }\n\n if ($this->sslCaPath) {\n $parameters['driverOptions'][Mysql::ATTR_SSL_CA] = $this->sslCaPath;\n }\n\n if ($this->sslCertPath) {\n $parameters['driverOptions'][Mysql::ATTR_SSL_CERT] = $this->sslCertPath;\n }\n\n if ($this->sslCertKeyPath) {\n $parameters['driverOptions'][Mysql::ATTR_SSL_KEY] = $this->sslCertKeyPath;\n }\n\n if ($this->sslDontVerifyServerCert && \\defined('\\Pdo\\Mysql::ATTR_SSL_VERIFY_SERVER_CERT')) {\n $parameters['driverOptions'][Mysql::ATTR_SSL_VERIFY_SERVER_CERT] = false;\n }\n\n return $parameters;\n }\n\n public function asDsn(bool $withoutDatabaseName = false): string\n {\n $dsn = \\sprintf(\n 'mysql://%s%s:%d',\n $this->username ? ($this->username . ($this->password ? ':' . rawurlencode($this->password) : '') . '@') : '',\n $this->hostname,\n $this->port\n );\n\n if (!$withoutDatabaseName) {\n $dsn .= '/' . $this->databaseName;\n }\n\n return $dsn;\n }\n\n public function getDatabaseName(): string\n {\n return $this->databaseName;\n }\n\n public function setDatabaseName(string $databaseName): void\n {\n $this->databaseName = $databaseName;\n }\n\n public function getHostname(): string\n {\n return $this->hostname;\n }\n\n public function getPort(): int\n {\n return $this->port;\n }\n\n public function getUsername(): ?string\n {\n return $this->username;\n }\n\n public function getPassword(): ?string\n {\n return $this->password;\n }\n\n public function getSslCaPath(): ?string\n {\n return $this->sslCaPath;\n }\n\n public function getSslCertPath(): ?string\n {\n return $this->sslCertPath;\n }\n\n public function getSslCertKeyPath(): ?string\n {\n return $this->sslCertKeyPath;\n }\n\n public function getSslDontVerifyServerCert(): ?bool\n {\n return $this->sslDontVerifyServerCert;\n }\n\n public function hasAdvancedSetting(): bool\n {\n return $this->port !== 3306 || $this->sslCaPath || $this->sslCertPath || $this->sslCertKeyPath || $this->sslDontVerifyServerCert !== null;\n }\n\n public function validate(): void\n {\n if ($this->hostname === '') {\n throw MaintenanceException::dbConnectionParameterMissing('hostname');\n }\n\n if ($this->databaseName === '') {\n throw MaintenanceException::dbConnectionParameterMissing('databaseName');\n }\n\n if ($this->username === null || $this->username === '') {\n throw MaintenanceException::dbConnectionParameterMissing('username');\n }\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/3eb4ddae35f5c92aa3035c198daa77e5f63c7923.json b/web/public/bundles/shopware/code/3eb4ddae35f5c92aa3035c198daa77e5f63c7923.json new file mode 100644 index 00000000..8b857fc9 --- /dev/null +++ b/web/public/bundles/shopware/code/3eb4ddae35f5c92aa3035c198daa77e5f63c7923.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "3eb4ddae35f5c92aa3035c198daa77e5f63c7923", + "language": "php", + "path": "src/Core/System/Consent/ConsentScope.php", + "schema": "codexray.code/1", + "text": "genericPageLoader->load($request, $context);\n $page = CheckoutConfirmPage::createFrom($page);\n $this->setMetaInformation($page);\n\n $cartGatewayResult = $this->cartService->getWithCheckoutGateway($request, $context->getToken(), $context, false, true);\n $cart = $cartGatewayResult->cart;\n $response = $cartGatewayResult->gatewayResponse;\n\n $page->setPaymentMethods($response->getPaymentMethods());\n $page->setShippingMethods($response->getShippingMethods());\n\n $this->validateCustomerAddresses($cart, $context);\n $page->setCart($cart);\n\n $isDownloadLineItem = $cart->getLineItems()->hasLineItemWithProductType(ProductDefinition::TYPE_DIGITAL);\n $isPhysicalLineItem = $cart->getLineItems()->hasLineItemWithProductType(ProductDefinition::TYPE_PHYSICAL);\n\n if (!Feature::isActive('v6.8.0.0')) {\n Feature::callSilentIfInactive('v6.8.0.0', static function () use ($cart, &$isDownloadLineItem, &$isPhysicalLineItem): void {\n $isDownloadLineItem = $isDownloadLineItem || $cart->getLineItems()->hasLineItemWithState(State::IS_DOWNLOAD);\n $isPhysicalLineItem = $isPhysicalLineItem || $cart->getLineItems()->hasLineItemWithState(State::IS_PHYSICAL);\n });\n }\n\n $page->setShowRevocation($isDownloadLineItem);\n $page->setHideShippingAddress(!$isPhysicalLineItem);\n\n $this->eventDispatcher->dispatch(\n new CheckoutConfirmPageLoadedEvent($page, $context, $request)\n );\n\n return $page;\n }\n\n protected function setMetaInformation(CheckoutConfirmPage $page): void\n {\n $page->getMetaInformation()?->setRobots('noindex,follow');\n $page->getMetaInformation()?->setMetaTitle(\n $this->translator->trans('checkout.confirmMetaTitle') . ' | ' . $page->getMetaInformation()->getMetaTitle()\n );\n }\n\n /**\n * @throws CustomerNotLoggedInException\n */\n private function validateCustomerAddresses(Cart $cart, SalesChannelContext $context): void\n {\n $customer = $context->getCustomer();\n if ($customer === null) {\n throw CartException::customerNotLoggedIn();\n }\n\n $billingAddress = $customer->getActiveBillingAddress();\n $shippingAddress = $customer->getActiveShippingAddress();\n\n $this->validateBillingAddress($billingAddress, $shippingAddress, $cart, $context);\n $this->validateShippingAddress($shippingAddress, $billingAddress, $cart, $context);\n }\n\n private function validateBillingAddress(\n ?CustomerAddressEntity $billingAddress,\n ?CustomerAddressEntity $shippingAddress,\n Cart $cart,\n SalesChannelContext $context\n ): void {\n $validation = $this->addressValidationFactory->create($context);\n if ($billingAddress) {\n $validation->set('zipcode', new CustomerZipCode(countryId: $billingAddress->getCountryId()));\n }\n\n $validationEvent = new BuildValidationEvent($validation, new DataBag(), $context->getContext());\n $this->eventDispatcher->dispatch($validationEvent, $validationEvent->getName());\n\n if ($billingAddress === null) {\n return;\n }\n\n $addressData = $billingAddress->jsonSerialize();\n $this->dispatchAddressValidationEvent($validation, $addressData, 'billing', $context);\n\n if ($shippingAddress !== null && $shippingAddress->getId() === $billingAddress->getId()) {\n $this->dispatchAddressValidationEvent($validation, $addressData, 'shipping', $context);\n }\n\n $violations = $this->validator->getViolations($addressData, $validation);\n\n if ($violations->count() > 0) {\n $cart->getErrors()->add(new AddressValidationError(true, $violations, $billingAddress->getId()));\n }\n }\n\n private function validateShippingAddress(\n ?CustomerAddressEntity $shippingAddress,\n ?CustomerAddressEntity $billingAddress,\n Cart $cart,\n SalesChannelContext $context\n ): void {\n $validation = $this->addressValidationFactory->create($context);\n if ($shippingAddress) {\n $validation->set('zipcode', new CustomerZipCode(countryId: $shippingAddress->getCountryId()));\n }\n\n $validationEvent = new BuildValidationEvent($validation, new DataBag(), $context->getContext());\n $this->eventDispatcher->dispatch($validationEvent, $validationEvent->getName());\n\n if ($shippingAddress === null) {\n return;\n }\n\n if ($billingAddress !== null && $shippingAddress->getId() === $billingAddress->getId()) {\n return;\n }\n\n $addressData = $shippingAddress->jsonSerialize();\n $this->dispatchAddressValidationEvent($validation, $addressData, 'shipping', $context);\n\n $violations = $this->validator->getViolations($addressData, $validation);\n if ($violations->count() > 0) {\n $cart->getErrors()->add(new AddressValidationError(false, $violations, $shippingAddress->getId()));\n }\n }\n\n /**\n * @param array $address\n */\n private function dispatchAddressValidationEvent(\n DataValidationDefinition $validation,\n array $address,\n string $addressType,\n SalesChannelContext $context\n ): void {\n $validationEvent = new BuildValidationEvent($validation, new DataBag($address), $context->getContext());\n $this->eventDispatcher->dispatch($validationEvent, $validationEvent->getName() . '.' . $addressType);\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/41c5c52704df1d8d5a2ed82d8af037719e319579.json b/web/public/bundles/shopware/code/41c5c52704df1d8d5a2ed82d8af037719e319579.json new file mode 100644 index 00000000..ef6e8ed4 --- /dev/null +++ b/web/public/bundles/shopware/code/41c5c52704df1d8d5a2ed82d8af037719e319579.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "41c5c52704df1d8d5a2ed82d8af037719e319579", + "language": "php", + "path": "src/Core/Framework/Webhook/Service/WebhookManager.php", + "schema": "codexray.code/1", + "text": ">\n */\n private ?array $webhooks = null;\n\n public function __construct(\n private readonly WebhookLoader $webhookLoader,\n private readonly HookableEventFactory $eventFactory,\n private readonly AppLocaleProvider $appLocaleProvider,\n private readonly AppPayloadServiceHelper $appPayloadServiceHelper,\n private readonly WebhookClient $webhookClient,\n private readonly MessageBusInterface $bus,\n private readonly string $shopUrl,\n private readonly string $shopwareVersion,\n private readonly bool $isAdminWorkerEnabled,\n private readonly WebhookDeliveryService $webhookDeliveryService,\n private readonly WebhookOutboxStore $webhookOutboxStore,\n private readonly PolicyRegistry $policies,\n ) {\n }\n\n public function dispatch(object $event): void\n {\n $context = Context::createDefaultContext();\n\n foreach ($this->eventFactory->createHookablesFor($event) as $hookable) {\n $useEventContext = $event instanceof FlowEventAware || $event instanceof AppChangedEvent || $event instanceof EntityWrittenContainerEvent;\n\n $this->callWebhooks($hookable, $useEventContext ? $event->getContext() : $context);\n }\n }\n\n public function reset(): void\n {\n $this->webhooks = null;\n }\n\n public function clearInternalWebhookCache(): void\n {\n $this->webhooks = null;\n }\n\n private function callWebhooks(Hookable $event, Context $context): void\n {\n $webhooksForEvent = $this->filterWebhooksByLiveVersion($this->getWebhooks($event->getName()), $event);\n $webhooksForEvent = $this->filterWebhooksByPolicies($webhooksForEvent, $event);\n\n if ($webhooksForEvent === []) {\n return;\n }\n\n $languageId = $context->getLanguageId();\n $userLocale = $this->appLocaleProvider->getLocaleFromContext($context);\n\n if (Feature::isActive('WEBHOOKS_REWORK')) {\n $messages = $this->collectMessages($webhooksForEvent, $event, $languageId, $userLocale);\n\n if ($messages !== []) {\n Feature::silent('v6.8.0.0', fn () => $this->webhookDeliveryService->process($messages, forceSynchronous: $event instanceof AppLifecycleEvent));\n }\n\n return;\n }\n\n // Legacy paths — no feature flag\n if ($this->isAdminWorkerEnabled || $event instanceof AppLifecycleEvent) {\n Profiler::trace(\n 'webhook::dispatch-sync',\n fn () => $this->callWebhooksSynchronous($webhooksForEvent, $event, $languageId, $userLocale)\n );\n\n return;\n }\n\n Profiler::trace(\n 'webhook::dispatch-async',\n fn () => $this->dispatchWebhooksToQueue($webhooksForEvent, $event, $languageId, $userLocale)\n );\n }\n\n /**\n * @param array $webhooksForEvent\n *\n * @return list\n */\n private function collectMessages(array $webhooksForEvent, Hookable $event, string $languageId, string $userLocale): array\n {\n $messages = [];\n\n foreach ($webhooksForEvent as $webhook) {\n $message = $this->createWebhookMessage($webhook, $event, $languageId, $userLocale);\n if ($message === null) {\n continue;\n }\n\n $messages[] = $message;\n }\n\n return $messages;\n }\n\n /**\n * @deprecated tag:v6.8.0 — pre-WEBHOOKS_REWORK path; will be removed.\n *\n * @param array $webhooksForEvent\n */\n private function dispatchWebhooksToQueue(\n array $webhooksForEvent,\n Hookable $event,\n string $languageId,\n string $userLocale\n ): void {\n foreach ($webhooksForEvent as $webhook) {\n $message = $this->createWebhookMessage($webhook, $event, $languageId, $userLocale);\n if ($message === null) {\n continue;\n }\n\n $this->bus->dispatch($message);\n }\n }\n\n /**\n * @deprecated tag:v6.8.0 — pre-WEBHOOKS_REWORK path; will be removed.\n *\n * @param array $webhooksForEvent\n */\n private function callWebhooksSynchronous(\n array $webhooksForEvent,\n Hookable $event,\n string $languageId,\n string $userLocale\n ): void {\n $requests = [];\n /** @var array $entries */\n $entries = [];\n\n foreach ($webhooksForEvent as $webhook) {\n $message = $this->createWebhookMessage($webhook, $event, $languageId, $userLocale);\n if ($message === null) {\n continue;\n }\n\n $this->webhookOutboxStore->recordOutboxEntry(OutboxInsert::fromMessage($message));\n $entry = $this->webhookOutboxStore->markRunning($message->getWebhookEventId());\n if ($entry === null) {\n continue;\n }\n\n $request = $this->webhookDeliveryService->buildRequest($message, $entry);\n if ($request === null) {\n $this->webhookOutboxStore->markFailed($entry, null);\n\n continue;\n }\n\n $requests[$message->getWebhookEventId()] = $request;\n $entries[$message->getWebhookEventId()] = $entry;\n }\n\n $results = $this->webhookClient->sendBatch($requests);\n\n foreach ($results as $eventId => $result) {\n try {\n $request = $requests[$eventId];\n $entry = $entries[$eventId];\n\n $response = DeliveryResponse::from($request, $result);\n\n if ($result->successful()) {\n $this->webhookOutboxStore->markSuccess($entry, $response);\n } else {\n $this->webhookOutboxStore->markFailed($entry, $response);\n }\n } catch (\\Throwable) {\n // Don't let one entry block the rest — failed entries stay in 'running'\n }\n }\n }\n\n private function createWebhookMessage(\n Webhook $webhook,\n Hookable $event,\n string $languageId,\n string $userLocale\n ): ?WebhookEventMessage {\n try {\n $webhookData = $this->getPayloadForWebhook($webhook, $event);\n } catch (ShopIdChangeSuggestedException) {\n // don't dispatch webhooks for apps if url changed\n return null;\n }\n\n $webhookHeaders = $event instanceof AppFlowActionEvent\n ? $event->getWebhookHeaders()\n : [];\n\n // partition by app for now. Later, PartitionAwareHookable allows event-level partitioning.\n $partitionKey = $webhook->appId ?? WebhookEventMessage::DEFAULT_PARTITION_KEY;\n\n return new WebhookEventMessage(\n $webhookData['source']['eventId'],\n $webhookData,\n $webhook->appId,\n $webhook->id,\n $this->shopwareVersion,\n $webhook->url,\n $webhook->appSecret,\n $languageId,\n $userLocale,\n $webhookHeaders,\n $partitionKey,\n $webhook->appName,\n );\n }\n\n /**\n * @return array{\n * data: array{payload: array, event: string},\n * source: array{url: string, eventId: string, action?: string}\n * }|array\n */\n private function getPayloadForWebhook(Webhook $webhook, Hookable $event): array\n {\n $source = [\n 'url' => $this->shopUrl,\n 'eventId' => Uuid::randomHex(),\n ];\n\n if ($webhook->appId !== null && $webhook->appVersion !== null) {\n $source = \\array_merge(\n $source,\n $this->appPayloadServiceHelper->buildSource($webhook->appVersion, $webhook->appName ?? '')->jsonSerialize()\n );\n }\n\n if ($event instanceof AppFlowActionEvent) {\n $source['action'] = $event->getName();\n $payload = $event->getWebhookPayload();\n $payload['source'] = $source;\n\n return $payload;\n }\n\n $data = [\n 'payload' => $this->filterPayloadByLiveVersion($event->getWebhookPayload(), $webhook, $event),\n 'event' => $event->getName(),\n ];\n\n return [\n 'data' => $data,\n 'source' => $source,\n ];\n }\n\n /**\n * @param array $payload\n *\n * @return array\n */\n private function filterPayloadByLiveVersion(array $payload, Webhook $webhook, Hookable $event): array\n {\n if (!$event instanceof HookableEntityWrittenEvent || $webhook->onlyLiveVersion === false) {\n return $payload;\n }\n\n return array_filter($payload, static function ($writeResult) {\n return isset($writeResult['versionId']) && $writeResult['versionId'] === Defaults::LIVE_VERSION;\n });\n }\n\n /**\n * @return list\n */\n private function getWebhooks(string $eventName): array\n {\n $this->loadWebhooks();\n\n return $this->webhooks[$eventName] ?? [];\n }\n\n private function loadWebhooks(): void\n {\n if ($this->webhooks !== null) {\n return;\n }\n\n $webhooks = $this->webhookLoader->getWebhooks();\n foreach ($webhooks as $webhook) {\n $this->webhooks[$webhook->eventName][] = $webhook;\n }\n }\n\n /**\n * @param list $webhooks\n *\n * @return list\n */\n private function filterWebhooksByPolicies(array $webhooks, Hookable $event): array\n {\n return array_values(array_filter(\n $webhooks,\n fn (Webhook $webhook): bool => $this->policies->permitsDelivery($event, $webhook)\n ));\n }\n\n /**\n * @param list $webhooks\n *\n * @return list\n */\n private function filterWebhooksByLiveVersion(array $webhooks, Hookable $event): array\n {\n if (!$event instanceof HookableEntityWrittenEvent) {\n return $webhooks;\n }\n\n return array_values(array_filter($webhooks, static function (Webhook $webhook) use ($event): bool {\n if (!$webhook->onlyLiveVersion) {\n return true;\n }\n\n $isVersioned = false;\n\n foreach ($event->getWebhookPayload() as $writeResult) {\n if (isset($writeResult['versionId']) && $writeResult['versionId'] === Defaults::LIVE_VERSION) {\n return true;\n }\n\n if (isset($writeResult['versionId'])) {\n $isVersioned = true;\n }\n }\n\n // If the event is not versioned we should send the webhook,\n // only if it is versioned all results are not in the live version we skip it\n return !$isVersioned;\n }));\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/42785459579f6be2fa21eb3fb832fae933850b41.json b/web/public/bundles/shopware/code/42785459579f6be2fa21eb3fb832fae933850b41.json new file mode 100644 index 00000000..e7549ec4 --- /dev/null +++ b/web/public/bundles/shopware/code/42785459579f6be2fa21eb3fb832fae933850b41.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "42785459579f6be2fa21eb3fb832fae933850b41", + "language": "php", + "path": "src/Core/Profiling/DependencyInjection/CompilerPass/CartServiceCompilerPass.php", + "schema": "codexray.code/1", + "text": "hasDefinition(CartDataCollectorSubscriber::class)) {\n return;\n }\n\n $definition = $container->getDefinition(CartDataCollectorSubscriber::class);\n $definition->setArgument(1, $this->processTaggedServices($container, 'shopware.cart.collector'));\n $definition->setArgument(2, $this->processTaggedServices($container, 'shopware.cart.processor'));\n }\n\n /**\n * @return array}>\n */\n private function processTaggedServices(ContainerBuilder $container, string $tag): array\n {\n $services = [];\n foreach ($container->findTaggedServiceIds($tag) as $serviceId => $serviceTags) {\n foreach ($serviceTags as $serviceTag) {\n $priority = (int) ($serviceTag['priority'] ?? 0);\n $services[$serviceId] = [\n 'serviceId' => $serviceId,\n 'priority' => $priority,\n 'decoratedBy' => [],\n ];\n break;\n }\n }\n\n $this->extractDecorationInfo($container, $services);\n\n // Sort collectors by priority (higher number = higher priority)\n uasort($services, static function ($a, $b) {\n return $b['priority'] <=> $a['priority'];\n });\n\n return $services;\n }\n\n /**\n * @param array}> $services\n */\n private function extractDecorationInfo(ContainerBuilder $container, array &$services): void\n {\n $decoratedByIndex = [];\n foreach ($container->getDefinitions() as $id => $definition) {\n $decorated = $definition->getDecoratedService();\n if ($decorated === null) {\n continue;\n }\n\n // Format: [decorated service ID, decoration inner name, decoration priority]\n $decoratedServiceId = $decorated[0];\n $decorationPriority = (int) ($decorated[2] ?? 0);\n\n $decoratedByIndex[$decoratedServiceId][] = [\n 'serviceId' => $id,\n 'priority' => $decorationPriority,\n ];\n }\n\n foreach ($services as $serviceId => $info) {\n $decorators = $decoratedByIndex[$serviceId] ?? [];\n usort($decorators, static function ($a, $b) {\n return $b['priority'] <=> $a['priority'];\n });\n\n $services[$serviceId]['decoratedBy'] = $decorators;\n }\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/45640ed02c822f755ff7f2291acbc94508982dba.json b/web/public/bundles/shopware/code/45640ed02c822f755ff7f2291acbc94508982dba.json new file mode 100644 index 00000000..097f6688 --- /dev/null +++ b/web/public/bundles/shopware/code/45640ed02c822f755ff7f2291acbc94508982dba.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "45640ed02c822f755ff7f2291acbc94508982dba", + "language": "typescript", + "path": "src/Administration/Resources/app/administration/src/app/component/structure/sw-modals-renderer/index.ts", + "schema": "codexray.code/1", + "text": "import type { buttonProps } from '@shopware-ag/meteor-admin-sdk/es/ui/modal';\nimport type { ModalItemEntry } from 'src/app/store/modals.store';\nimport DOMPurify from 'dompurify';\nimport template from './sw-modals-renderer.html.twig';\nimport './sw-modals-renderer.scss';\n\n/**\n * @sw-package framework\n *\n * @private\n */\nexport default Shopware.Component.wrapComponentConfig({\n template,\n\n computed: {\n modals(): ModalItemEntry[] {\n return Shopware.Store.get('modals').modals;\n },\n },\n\n methods: {\n closeModal(locationId: string) {\n Shopware.Store.get('modals').closeModal(locationId);\n },\n\n buttonProps(button: buttonProps) {\n type buttonVariantsWithFallback =\n | 'ghost'\n | 'primary'\n | 'secondary'\n | 'critical'\n | 'action'\n | 'ghost-danger'\n | 'danger'\n | 'contrast'\n | 'context';\n\n // Convert deprecated button variants to new ones\n const variantMap: Record = {\n ghost: 'secondary',\n danger: 'critical',\n 'ghost-danger': 'critical',\n contrast: 'secondary',\n context: 'action',\n };\n\n const originalVariant = button.variant ?? 'primary';\n const mappedVariant = variantMap[originalVariant] ?? originalVariant;\n const isGhost = ['ghost', 'ghost-danger'].includes(originalVariant);\n\n return {\n method: button.method ?? ((): undefined => undefined),\n label: button.label ?? '',\n size: button.size ?? 'small',\n variant: mappedVariant,\n ghost: isGhost,\n square: button.square ?? false,\n };\n },\n\n sanitizeTextContent(textContent: string): string {\n return DOMPurify.sanitize(this.$t(textContent), {\n ALLOWED_TAGS: [\n 'a',\n 'b',\n 'strong',\n 'i',\n 'em',\n 'u',\n 's',\n 'li',\n 'ul',\n 'img',\n 'svg',\n ],\n });\n },\n },\n});\n" +} diff --git a/web/public/bundles/shopware/code/45fdcce0749761662473c1720cae76bc8dbeeef1.json b/web/public/bundles/shopware/code/45fdcce0749761662473c1720cae76bc8dbeeef1.json new file mode 100644 index 00000000..5fd51a69 --- /dev/null +++ b/web/public/bundles/shopware/code/45fdcce0749761662473c1720cae76bc8dbeeef1.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "45fdcce0749761662473c1720cae76bc8dbeeef1", + "language": "php", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/RuleAreasFlagNotAllowedRule.php", + "schema": "codexray.code/1", + "text": "\n *\n * @internal\n */\n#[Package('framework')]\nclass RuleAreasFlagNotAllowedRule implements Rule\n{\n use InTestClassTrait;\n\n public function __construct(private readonly ReflectionProvider $reflectionProvider)\n {\n }\n\n public function getNodeType(): string\n {\n return MethodCall::class;\n }\n\n /**\n * @param MethodCall $node\n *\n * @return array\n */\n public function processNode(Node $node, Scope $scope): array\n {\n if ($this->isInTestClass($scope)) {\n return [];\n }\n\n if (!$node->name instanceof Identifier) {\n return [];\n }\n\n if ((string) $node->name !== 'addFlags') {\n return [];\n }\n\n $class = $scope->getClassReflection();\n\n if ($class === null) {\n return [];\n }\n\n $fieldClassName = $this->resolveClassName($node->var);\n\n $mockedClass = null;\n\n if ($fieldClassName && $this->reflectionProvider->hasClass($fieldClassName)) {\n $mockedClass = $this->reflectionProvider->getClass($fieldClassName);\n }\n\n foreach ($node->getArgs() as $arg) {\n if ($this->resolveClassName($arg->value) !== RuleAreas::class) {\n continue;\n }\n\n if ($class->getName() !== RuleDefinition::class && !$class->is(RuleDefinition::class)) {\n return [\n RuleErrorBuilder::message('RuleAreas flag may only be added within the scope of RuleDefinition')\n ->identifier('shopware.ruleAreaFlag')\n ->build(),\n ];\n }\n\n if ($mockedClass && !$mockedClass->is(AssociationField::class)) {\n return [\n RuleErrorBuilder::message('RuleAreas flag may only be added on instances of AssociationField')\n ->identifier('shopware.ruleAreaFlag')\n ->build(),\n ];\n }\n }\n\n return [];\n }\n\n private function resolveClassName(Node $node): ?string\n {\n if ($node instanceof New_) {\n if ($node->class instanceof Name) {\n return (string) $node->class;\n }\n\n return null;\n }\n\n return null;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/4a1a7ea223394a30b5b57e71e1ef2e442aac8251.json b/web/public/bundles/shopware/code/4a1a7ea223394a30b5b57e71e1ef2e442aac8251.json new file mode 100644 index 00000000..f16517a1 --- /dev/null +++ b/web/public/bundles/shopware/code/4a1a7ea223394a30b5b57e71e1ef2e442aac8251.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "4a1a7ea223394a30b5b57e71e1ef2e442aac8251", + "language": "php", + "path": "src/Core/Framework/Adapter/Cache/Http/HttpCacheVariantHeaders.php", + "schema": "codexray.code/1", + "text": ", additionalInfo) => {\n const event = additionalInfo._event_;\n const sourceWindow = event.source != null ? (event.source as Window) : undefined;\n\n Shopware.Telemetry.track({\n eventName: payload.event,\n ...(payload.data as Record),\n source: Shopware.Utils.extension.getExtensionNameByOrigin(event.origin, sourceWindow) ?? 'unknown',\n });\n });\n}\n" +} diff --git a/web/public/bundles/shopware/code/4bc972d702886279d90180b4d9320c0498e4b351.json b/web/public/bundles/shopware/code/4bc972d702886279d90180b4d9320c0498e4b351.json new file mode 100644 index 00000000..ff8a09af --- /dev/null +++ b/web/public/bundles/shopware/code/4bc972d702886279d90180b4d9320c0498e4b351.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "4bc972d702886279d90180b4d9320c0498e4b351", + "language": "javascript", + "path": "src/Administration/Resources/app/administration/src/app/component/structure/sw-admin-menu-item/index.js", + "schema": "codexray.code/1", + "text": "import { MtCollapsible, MtCollapsibleContent, MtCollapsibleTrigger } from '@shopware-ag/meteor-component-library';\nimport useModuleIconColors from 'src/app/composables/use-module-icon-colors';\nimport template from './sw-admin-menu-item.html.twig';\nimport { getActiveRouteNames, isEntryOnActiveRoute, entryParamsMatchRoute } from './menu-item-active.helper';\nimport './sw-admin-menu-item.scss';\n\n/**\n *\n * @private\n */\nexport const TOOLTIP_OPEN_TRIGGER_PROPS = ['onMouseover', 'onFocus', 'aria-describedby'];\n\n/**\n * @sw-package framework\n *\n * @private\n */\nexport default {\n template,\n\n components: {\n MtCollapsible,\n MtCollapsibleTrigger,\n MtCollapsibleContent,\n },\n\n inject: ['acl', 'feature'],\n\n emits: [\n 'menu-item-hover',\n 'branch-toggle',\n 'flyout-focus-request',\n 'flyout-close-request',\n 'flyout-navigate',\n 'navigation-link-click',\n ],\n\n props: {\n entry: {\n type: Object,\n required: true,\n },\n\n menuDepth: {\n type: Number,\n required: false,\n default: 1,\n validator: (v) => [1, 2, 3].includes(v),\n },\n\n displayIcon: {\n type: Boolean,\n default: true,\n required: false,\n },\n iconSize: {\n type: String,\n default: '16px',\n required: false,\n },\n collapsibleText: {\n type: Boolean,\n default: true,\n required: false,\n },\n sidebarExpanded: {\n type: Boolean,\n default: true,\n required: false,\n },\n isExpanded: {\n type: Boolean,\n default: false,\n required: false,\n },\n showActiveState: {\n type: Boolean,\n default: true,\n required: false,\n },\n flyoutActive: {\n type: Boolean,\n default: false,\n required: false,\n },\n },\n\n data() {\n return {\n suppressRouteKeepsFolderOpen: false,\n manualNestedOpen: false,\n };\n },\n\n computed: {\n isLeafDepth() {\n // Admin menu supports at most three levels; level-3 rows are leaf items only\n return this.menuDepth >= 3;\n },\n\n activeRouteNames() {\n return getActiveRouteNames(this.$route, this.$router);\n },\n\n aclFilteredEntry() {\n // The entry with its children reduced to the ones the user may see.\n return { ...this.entry, children: this.children };\n },\n\n hasActiveChild() {\n return this.children.some((child) => isEntryOnActiveRoute(child, this.$route, this.activeRouteNames));\n },\n\n rowActive() {\n if (!this.showActiveState) {\n return false;\n }\n\n if (!isEntryOnActiveRoute(this.aclFilteredEntry, this.$route, this.activeRouteNames)) {\n return false;\n }\n\n const selfIsCurrent =\n !this.hasActiveChild &&\n !!this.entry.path &&\n this.activeRouteNames.has(this.entry.path) &&\n entryParamsMatchRoute(this.entry, this.$route);\n\n if (!selfIsCurrent && this.children.length > 0 && this.submenuVisuallyOpen) {\n return false;\n }\n\n return true;\n },\n\n getLinkToProp() {\n if (this.entry.params) {\n return { name: this.entry.path, params: this.entry.params };\n }\n\n return { name: this.entry.path };\n },\n\n getEntryLabel() {\n if (this.entry.label instanceof Object) {\n return this.entry.label.translated ? this.entry.label.label : this.$t(this.entry.label.label);\n }\n return this.$t(this.entry.label);\n },\n\n showMenuItem() {\n // special case for settings module, children are stored in a global state store\n if (this.entry.path === 'sw.settings.index') {\n return this.acl.hasActiveSettingModules();\n }\n\n if (this.children.length > 0) {\n return true;\n }\n\n if (this.getLinkToProp && this.getLinkToProp.name) {\n const { name } = this.getLinkToProp;\n\n return this.hasAccessToRoute(name);\n }\n\n return false;\n },\n\n entryPath() {\n if (this.entry.path && this.hasAccessToRoute(this.entry.path)) {\n return this.entry.path;\n }\n\n return undefined;\n },\n\n children() {\n return this.entry.children.filter((child) => {\n if (!child.privilege) {\n return true;\n }\n\n return this.acl.can(child.privilege);\n });\n },\n\n hasCollapsibleSubtree() {\n // Ignores the sidebar state on purpose — switching template branch on collapse makes the icons flash\n return this.children.length > 0 && !this.isLeafDepth;\n },\n\n routeKeepsFolderOpen() {\n if (!this.children.length || this.suppressRouteKeepsFolderOpen) {\n return false;\n }\n\n return this.hasActiveChild;\n },\n\n submenuVisuallyOpen() {\n if (this.menuDepth === 1) {\n if (!this.sidebarExpanded) {\n return false;\n }\n\n const hasExpandedBranches = Shopware.Store.get('adminMenu').expandedEntries.length > 0;\n\n return hasExpandedBranches ? this.isExpanded : this.isExpanded || this.routeKeepsFolderOpen;\n }\n\n return this.routeKeepsFolderOpen || this.manualNestedOpen;\n },\n\n collapsibleOpen() {\n return this.hasCollapsibleSubtree && this.submenuVisuallyOpen;\n },\n\n expandIcon() {\n return this.submenuVisuallyOpen ? 'regular-chevron-up-xs' : 'regular-chevron-down-xs';\n },\n\n collapsibleLiClass() {\n return [\n 'sw-admin-menu__navigation-list-item',\n this.getElementClasses(this.entry.id || this.entryPath),\n {\n 'is--entry-expanded': this.collapsibleOpen,\n 'is--child-active': this.childRouteActive,\n 'is--flyout-enabled': this.flyoutActive,\n 'is--module-colored': !!this.navigationIconColor,\n },\n ];\n },\n\n leafLiClass() {\n return [\n 'sw-admin-menu__navigation-list-item',\n this.getElementClasses(this.entry.id || this.entryPath),\n {\n 'is--entry-expanded': this.submenuVisuallyOpen,\n 'is--child-active': this.childRouteActive,\n 'is--module-colored': !!this.navigationIconColor,\n },\n ];\n },\n\n navigationIconName() {\n const isActive = this.rowActive || this.childRouteActive;\n\n return this.getIconName(this.entry.icon, isActive);\n },\n\n navigationIconColor() {\n // Undefined leaves the icon to the stylesheet, which also owns the active state color\n return useModuleIconColors().enabled.value ? this.entry.color : undefined;\n },\n\n moduleColorStyle() {\n // Inherited by the sub items, which mark their active state with the parent module color\n return this.navigationIconColor ? { '--sw-admin-menu-module-color': this.navigationIconColor } : null;\n },\n\n childRouteActive() {\n return this.children.length > 0 && this.submenuVisuallyOpen && this.hasActiveChild;\n },\n\n collapsedFlyoutAria() {\n if (this.sidebarExpanded || this.menuDepth !== 1 || this.children.length === 0) {\n return {};\n }\n\n // aria-controls only while open\n if (!this.flyoutActive) {\n return { 'aria-expanded': 'false' };\n }\n\n return {\n 'aria-expanded': 'true',\n 'aria-controls': 'sw-admin-menu-flyout',\n };\n },\n\n collapsedAriaLabel() {\n // Collapsed top-level rows hide their label, so the accessible name needs an aria-label.\n return !this.sidebarExpanded && this.menuDepth === 1 ? this.getEntryLabel : null;\n },\n\n routerLinkActiveClass() {\n return this.showActiveState ? 'router-link-active' : '';\n },\n\n routerLinkExactActiveClass() {\n return this.showActiveState ? 'router-link-exact-active' : '';\n },\n\n showsCollapsedTooltip() {\n // Top-level entries without children have no flyout, label is accessible via a tooltip\n return !this.sidebarExpanded && this.menuDepth === 1 && this.children.length === 0;\n },\n },\n\n watch: {\n // Query-insensitive on purpose: listing pagination/sorting must not undo a manual collapse\n '$route.path'() {\n this.suppressRouteKeepsFolderOpen = false;\n },\n },\n\n methods: {\n collapsedTooltipTriggerProps(tooltipProps) {\n if (this.showsCollapsedTooltip) {\n // Focus does not bubble to the non-focusable row, focusin/focusout do\n const { onFocus, onBlur, ...bubblingProps } = tooltipProps;\n\n return { ...bubblingProps, onFocusin: onFocus, onFocusout: onBlur };\n }\n\n return Object.fromEntries(\n Object.entries(tooltipProps).filter(([key]) => !TOOLTIP_OPEN_TRIGGER_PROPS.includes(key)),\n );\n },\n\n hasAccessToRoute(path) {\n const match = this.$router.getRoutes().find((route) => route.name === path);\n\n if (!match?.meta) {\n return true;\n }\n\n return this.acl.can(match.meta.privilege);\n },\n\n getIconName(name, isActive = false) {\n if (isActive && typeof name === 'string') {\n if (name.startsWith('regular-')) {\n return name.replace('regular-', 'solid-');\n }\n\n if (name.startsWith('icon/regular/')) {\n return name.replace('icon/regular/', 'icon/solid/');\n }\n }\n\n return `${name}`;\n },\n\n getElementClasses(menuItemName) {\n const name = menuItemName.replace(/\\./g, '-');\n const hasChildren = this.children.length > 0;\n const convertName = this.entry.id || this.entry.path;\n const convertedId = convertName.replace(/\\./g, '-');\n\n return [\n convertedId,\n `navigation-list-item__type-${this.entry.moduleType}`,\n `navigation-list-item__${name}`,\n `sw-admin-menu__item--${this.entry.id}`,\n `navigation-list-item__level-${this.entry.level}`,\n {\n 'navigation-list-item__has-children': hasChildren,\n 'navigation-list-item--nested': this.menuDepth > 1,\n },\n ];\n },\n\n toggleSubmenu() {\n if (!this.hasCollapsibleSubtree) {\n return;\n }\n\n this.onCollapsibleOpenUpdate(!this.collapsibleOpen);\n },\n\n onNavigationLinkClick() {\n if (!this.sidebarExpanded) {\n this.$emit('flyout-navigate', { disclosesChildren: this.hasCollapsibleSubtree });\n }\n\n // No-op unless this row has a collapsible subtree.\n this.toggleSubmenu();\n\n this.$emit('navigation-link-click');\n },\n\n forwardNavigationLinkClick() {\n this.$emit('navigation-link-click');\n },\n\n forwardFlyoutNavigate(payload) {\n this.$emit('flyout-navigate', payload);\n },\n\n onCollapsibleOpenUpdate(open) {\n this.suppressRouteKeepsFolderOpen = !open;\n\n if (this.menuDepth >= 2) {\n this.manualNestedOpen = open;\n }\n\n if (this.menuDepth === 1 && this.sidebarExpanded) {\n this.$emit('branch-toggle', {\n entry: this.entry,\n open,\n });\n }\n },\n\n onCollapsedParentKeydown(event) {\n // Keyboard access to the collapsed flyout - disclosure navigation pattern\n if (this.sidebarExpanded || this.menuDepth !== 1 || this.children.length === 0) {\n return;\n }\n\n if ((event.key === 'Escape' || event.key === 'ArrowLeft') && this.flyoutActive) {\n this.$emit('flyout-close-request');\n return;\n }\n\n const isActivationKey = event.key === 'Enter' || event.key === ' ';\n // Entries with an own route keep Enter/Space for navigation.\n const opensFlyout = event.key === 'ArrowRight' || (isActivationKey && !this.entryPath);\n\n if (!opensFlyout) {\n return;\n }\n\n event.preventDefault();\n this.$emit('menu-item-hover', this.entry, event.currentTarget);\n this.$emit('flyout-focus-request');\n },\n\n forwardMenuItemHover(entry, target) {\n this.$emit('menu-item-hover', entry, target);\n },\n },\n};\n" +} diff --git a/web/public/bundles/shopware/code/4bd2761df1efbaf912eddbdb372b21e4b034c3f0.json b/web/public/bundles/shopware/code/4bd2761df1efbaf912eddbdb372b21e4b034c3f0.json new file mode 100644 index 00000000..274eb0a4 --- /dev/null +++ b/web/public/bundles/shopware/code/4bd2761df1efbaf912eddbdb372b21e4b034c3f0.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "4bd2761df1efbaf912eddbdb372b21e4b034c3f0", + "language": "php", + "path": "src/Storefront/Framework/Cookie/CookieProvider.php", + "schema": "codexray.code/1", + "text": " true,\n 'snippet_name' => NewCookieProvider::SNIPPET_NAME_COOKIE_GROUP_REQUIRED,\n 'snippet_description' => 'cookie.groupRequiredDescription',\n 'entries' => [\n [\n 'snippet_name' => 'cookie.groupRequiredSession',\n ],\n [\n 'snippet_name' => 'cookie.groupRequiredTimezone',\n 'cookie' => 'timezone',\n ],\n [\n 'snippet_name' => 'cookie.groupRequiredAccepted',\n 'cookie' => 'cookie-preference',\n 'value' => '1',\n 'expiration' => '30',\n 'hidden' => true,\n ],\n [\n 'snippet_name' => 'cookie.groupRequiredCookieHash',\n 'cookie' => 'cookie-config-hash',\n 'hidden' => true,\n ],\n ],\n ];\n\n private const STATISTICAL_COOKIES = [\n 'snippet_name' => NewCookieProvider::SNIPPET_NAME_COOKIE_GROUP_STATISTICAL,\n 'snippet_description' => 'cookie.groupStatisticalDescription',\n 'entries' => [],\n ];\n\n private const COMFORT_FEATURES_COOKIES = [\n 'snippet_name' => NewCookieProvider::SNIPPET_NAME_COOKIE_GROUP_COMFORT_FEATURES,\n 'entries' => [\n [\n 'snippet_name' => 'cookie.groupComfortFeaturesYoutubeVideo',\n 'cookie' => 'youtube-video',\n 'expiration' => '30',\n 'value' => '1',\n ],\n [\n 'snippet_name' => 'cookie.groupComfortFeaturesVimeoVideo',\n 'cookie' => 'vimeo-video',\n 'expiration' => '30',\n 'value' => '1',\n ],\n ],\n ];\n\n private const MARKETING_COOKIES = [\n 'snippet_name' => NewCookieProvider::SNIPPET_NAME_COOKIE_GROUP_MARKETING,\n 'snippet_description' => 'cookie.groupMarketingDescription',\n 'entries' => [],\n ];\n\n private readonly string $sessionName;\n\n /**\n * @internal\n *\n * @param array $sessionOptions\n */\n public function __construct(\n array $sessionOptions = [],\n ) {\n $this->sessionName = $sessionOptions['name'] ?? PlatformRequest::FALLBACK_SESSION_NAME;\n }\n\n /**\n * @deprecated tag:v6.9.0 - Will be removed in 6.9.0. Use {@see CookieGroupCollectEvent} instead to introduce cookies.\n */\n public function getCookieGroups(): array\n {\n Feature::triggerDeprecationOrThrow(\n 'v6.9.0.0',\n Feature::deprecatedMethodMessage(self::class, __METHOD__, 'v6.9.0.0', 'Use CookieGroupCollectEvent instead to introduce cookies'),\n silentUntil: 'v6.8.0.0',\n );\n\n $requiredCookies = self::REQUIRED_COOKIES;\n $requiredCookies['entries'][0]['cookie'] = $this->sessionName;\n\n return [\n $requiredCookies,\n self::STATISTICAL_COOKIES,\n self::MARKETING_COOKIES,\n self::COMFORT_FEATURES_COOKIES,\n ];\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/4c29e67109aa9e233cd6088be2f9937b805300fd.json b/web/public/bundles/shopware/code/4c29e67109aa9e233cd6088be2f9937b805300fd.json new file mode 100644 index 00000000..6399f03a --- /dev/null +++ b/web/public/bundles/shopware/code/4c29e67109aa9e233cd6088be2f9937b805300fd.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "4c29e67109aa9e233cd6088be2f9937b805300fd", + "language": "javascript", + "path": "src/Administration/Resources/app/administration/src/module/sw-order/default-search-configuration.js", + "schema": "codexray.code/1", + "text": "import { searchRankingPoint } from 'src/app/service/search-ranking.service';\n\n/**\n * @sw-package checkout\n */\n\nconst defaultSearchConfiguration = {\n _searchable: true,\n orderNumber: {\n _searchable: true,\n _score: searchRankingPoint.HIGH_SEARCH_RANKING,\n },\n amountTotal: {\n _searchable: false,\n _score: searchRankingPoint.MIDDLE_SEARCH_RANKING,\n },\n orderCustomer: {\n email: {\n _searchable: true,\n _score: searchRankingPoint.HIGH_SEARCH_RANKING,\n },\n firstName: {\n _searchable: true,\n _score: searchRankingPoint.HIGH_SEARCH_RANKING,\n },\n lastName: {\n _searchable: true,\n _score: searchRankingPoint.HIGH_SEARCH_RANKING,\n },\n customerNumber: {\n _searchable: true,\n _score: searchRankingPoint.HIGH_SEARCH_RANKING,\n },\n company: {\n _searchable: true,\n _score: searchRankingPoint.MIDDLE_SEARCH_RANKING,\n },\n },\n addresses: {\n firstName: {\n _searchable: true,\n _score: searchRankingPoint.LOW_SEARCH_RANKING,\n },\n lastName: {\n _searchable: true,\n _score: searchRankingPoint.HIGH_SEARCH_RANKING,\n },\n street: {\n _searchable: true,\n _score: searchRankingPoint.MIDDLE_SEARCH_RANKING,\n },\n zipcode: {\n _searchable: false,\n _score: searchRankingPoint.HIGH_SEARCH_RANKING,\n },\n city: {\n _searchable: true,\n _score: searchRankingPoint.MIDDLE_SEARCH_RANKING,\n },\n company: {\n _searchable: true,\n _score: searchRankingPoint.HIGH_SEARCH_RANKING,\n },\n phoneNumber: {\n _searchable: false,\n _score: searchRankingPoint.MIDDLE_SEARCH_RANKING,\n },\n additionalAddressLine1: {\n _searchable: false,\n _score: searchRankingPoint.MIDDLE_SEARCH_RANKING,\n },\n additionalAddressLine2: {\n _searchable: false,\n _score: searchRankingPoint.MIDDLE_SEARCH_RANKING,\n },\n },\n deliveries: {\n trackingCodes: {\n _searchable: true,\n _score: searchRankingPoint.HIGH_SEARCH_RANKING,\n },\n },\n tags: {\n name: {\n _searchable: true,\n _score: searchRankingPoint.HIGH_SEARCH_RANKING,\n },\n },\n documents: {\n config: {\n documentNumber: {\n _searchable: false,\n _score: searchRankingPoint.LOW_SEARCH_RANKING,\n },\n },\n },\n};\n\n// eslint-disable-next-line sw-deprecation-rules/private-feature-declarations\nexport default defaultSearchConfiguration;\n" +} diff --git a/web/public/bundles/shopware/code/4e0768d867a5aed2d525136193ef9c9ccf1e30dd.json b/web/public/bundles/shopware/code/4e0768d867a5aed2d525136193ef9c9ccf1e30dd.json new file mode 100644 index 00000000..0f2d7ca3 --- /dev/null +++ b/web/public/bundles/shopware/code/4e0768d867a5aed2d525136193ef9c9ccf1e30dd.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "4e0768d867a5aed2d525136193ef9c9ccf1e30dd", + "language": "typescript", + "path": "src/Administration/Resources/app/administration/src/core/factory/transform-legacy-block-conditionals.ts", + "schema": "codexray.code/1", + "text": "/**\n * @sw-package framework\n */\n\nimport type { LegacyConditionRenderOrderSegment } from 'src/app/component/structure/sw-block-override/shim/legacy-condition-context';\n\nconst SELF_CLOSING_TAG_REG_EXP = /<([A-Za-z][\\w:-]*)(?:\\s+((?:[^\"'<>]|\"(?:\\\\.|[^\"\\\\])*\"|'(?:\\\\.|[^'\\\\])*')*?))?\\s*\\/>/g;\nconst CONDITIONAL_REG_EXP = /v-(?:if|else-if|else)\\b/;\n\n/**\n * Maps each Vue condition case to the global helper name that should evaluate it.\n * Use it when constructing rewrite expressions for `v-if`, `v-else-if`, and `v-else`.\n *\n * @example\n * const helpers: LegacyBlockHelperNames = GLOBAL_LEGACY_HELPERS;\n */\ntype LegacyBlockHelperNames = {\n if: string;\n elseIf: string;\n else: string;\n};\n\n/**\n * Carries the runtime metadata inserted into each generated legacy helper call.\n * Use it when serializing helper options for a condition case in a render-order segment.\n *\n * @example\n * const parameters: HelperParameters = {\n * segmentCaseIndex: 0,\n * renderOrderSegment: 'shimExtension',\n * };\n */\ntype HelperParameters = {\n segmentCaseIndex: number;\n isStartingCondition?: boolean;\n renderOrderSegment: LegacyConditionRenderOrderSegment;\n};\n\n/**\n * Describes a transformed condition chain range that a shim slot must reserve.\n * Use it when passing metadata from the template rewrite step to `createShimSlot`.\n *\n * @example\n * const reservation: LegacyConditionCaseReservation = {\n * chainKey: 'sw_product_detail:0',\n * caseStartIndex: 1,\n * caseCount: 2,\n * };\n *\n * @private\n */\nexport type LegacyConditionCaseReservation = {\n chainKey: string;\n caseCount: number;\n caseStartIndex: number;\n startsChain?: boolean;\n};\n\n/**\n * Stores a single top-level Twig block extracted from an override template.\n * Use it as the input shape before condition chains are analyzed and rewritten.\n *\n * @example\n * const entry: LegacyTwigBlockSequenceEntry = {\n * blockName: 'sw_product_detail_base',\n * innerTemplate: '
',\n * };\n *\n * @private\n */\nexport type LegacyTwigBlockSequenceEntry = {\n blockName: string;\n innerTemplate: string;\n};\n\n/**\n * Stores a Twig block after condition rewriting and reservation collection.\n * Use it between the transform step and the block index that powers shim slots.\n *\n * @example\n * const entry: LegacyTwigBlockSequenceTransformEntry = {\n * blockName: 'sw_product_detail_base',\n * innerTemplate,\n * legacyConditionCases: [],\n * };\n *\n * @private\n */\nexport type LegacyTwigBlockSequenceTransformEntry = LegacyTwigBlockSequenceEntry & {\n legacyConditionCases: LegacyConditionCaseReservation[];\n};\n\n/**\n * Describes one indexed legacy Twig override ready to become a shim slot.\n * Use it from `sw-block` when creating shim slots for a block name.\n *\n * @example\n * const blockEntry: BlockEntry = {\n * componentName: 'sw-product-detail',\n * innerTemplate,\n * legacyConditionCases: [],\n * };\n *\n * @private\n */\nexport type BlockEntry = {\n componentName: string;\n innerTemplate: string;\n legacyConditionCases: LegacyConditionCaseReservation[];\n};\n\n/**\n * Captures one contiguous Vue condition chain found among a block's top-level children.\n * Use it while deciding whether a chain starts locally or continues across neighboring blocks.\n *\n * @example\n * const firstChild = chain.children[0];\n */\ntype BlockConditionChainInfo = {\n children: Element[];\n blockName: string;\n starting: boolean; // Is this chain starting a chain in the block\n ending: boolean; // Is this chain ending a chain in the block\n firstChainInBlock: boolean;\n lastChainInBlock: boolean;\n index: number;\n fullChainKey?: string;\n // Assigned during rewrite construction.\n // This is the starting case index for this chain in its render-order segment.\n caseStartIndex?: number;\n followedBy?: BlockConditionChainInfo; // Chains in other blocks that are following this chain as continuation chains\n};\n\n/**\n * Groups all condition chains discovered for one block and its render-order segment.\n * Use it as the unit passed through chain-key assignment and rewrite construction.\n *\n * @example\n * const info: BlockConditionInfo = {\n * blockName: 'sw_product_detail_base',\n * renderOrderSegment: 'defaultSlot',\n * conditionalChains: [],\n * };\n */\ntype BlockConditionInfo = {\n blockName: string;\n renderOrderSegment: LegacyConditionRenderOrderSegment;\n conditionalChains: BlockConditionChainInfo[];\n searchStart?: number;\n};\n\n/**\n * Describes one string replacement that swaps a Vue condition attribute for a helper call.\n * Use it when applying ordered rewrites back to the original template source.\n *\n * @example\n * const rewrite: RewriteInfo = { codeBefore: ['v-else'], codeAfter: 'v-if=\"$swLegacyBlockElse(...)\"' };\n */\ntype RewriteInfo = {\n codeBefore: string[];\n codeAfter: string;\n searchStart?: number;\n};\n\nconst GLOBAL_LEGACY_HELPERS = {\n if: '$swLegacyBlockIf',\n elseIf: '$swLegacyBlockElseIf',\n else: '$swLegacyBlockElse',\n} satisfies LegacyBlockHelperNames;\n\n/**\n * Maps a local chain key to the full chain key discovered in a later rewrite pass.\n * Use it when native block rewrites must continue a chain that was first indexed by a Twig shim.\n *\n * @example\n * const context: LegacyConditionContinuationContext = { 'child:0': 'parent:0' };\n */\ntype LegacyConditionContinuationContext = Record;\n\nconst legacyConditionContinuationContexts = new Map();\nlet legacyConditionContinuationContextVersion = 0;\nconst legacyTwigBlockIndex = new Map();\nconst indexedLegacyTwigBlockEntries: Array<{\n componentName: string;\n entries: LegacyTwigBlockSequenceEntry[];\n}> = [];\n\nlet legacyTwigBlockIndexDirty = false;\nlet legacyTwigBlockIndexVersion = -1;\n\n/**\n * Clears cross-pass aliases between local and full condition chain keys.\n * Use it during test teardown or when rebuilding the legacy Twig block index from scratch.\n *\n * @example\n * resetLegacyConditionContinuationContexts();\n */\nfunction resetLegacyConditionContinuationContexts(): void {\n legacyConditionContinuationContexts.clear();\n legacyConditionContinuationContextVersion += 1;\n}\n\n/**\n * Stores an alias from a block-local chain key to the full key of the chain it continues.\n * Use it when native block rewrites discover that a local `v-else` continues a chain from another block.\n *\n * @example\n * storeLegacyConditionContinuationAlias('sw-product-detail', 'extension:0', 'base:0');\n */\nfunction storeLegacyConditionContinuationAlias(componentName: string, localChainKey: string, fullChainKey: string): void {\n const context = legacyConditionContinuationContexts.get(componentName) ?? {};\n\n if (context[localChainKey] === fullChainKey) {\n return;\n }\n\n context[localChainKey] = fullChainKey;\n legacyConditionContinuationContexts.set(componentName, context);\n legacyConditionContinuationContextVersion += 1;\n}\n\n/**\n * Resolves the chain key that should be written into generated helper calls.\n * Use it when shim rewrites may need aliases collected during native-block analysis.\n *\n * @example\n * const chainKey = getChainKeyForRewrite(chain, 'shimExtension', continuationContext);\n */\nfunction getChainKeyForRewrite(\n chain: BlockConditionChainInfo,\n renderOrderSegment: LegacyConditionRenderOrderSegment,\n continuationContext: LegacyConditionContinuationContext | undefined,\n): string {\n const localChainKey = createLegacyConditionChainKey(chain.blockName, chain.index);\n const chainKey = chain.fullChainKey ?? localChainKey;\n\n if (renderOrderSegment !== 'shimExtension' || !continuationContext) {\n return chainKey;\n }\n\n return continuationContext[localChainKey] ?? chainKey;\n}\n\n/**\n * Escapes values for helper calls embedded in single-quoted Vue expressions.\n * Use it for chain keys before serializing them into generated template code.\n *\n * @example\n * escapeSingleQuotedString(\"product's-tab\");\n */\nfunction escapeSingleQuotedString(value: string): string {\n return value.replace(/\\\\/g, '\\\\\\\\').replace(/'/g, \"\\\\'\");\n}\n\n/**\n * Serializes helper metadata into object-literal code that Vue can compile.\n * Use it when building the replacement `v-if` expression for a transformed condition.\n *\n * @example\n * createLegacyConditionOptionsCode({ segmentCaseIndex: 0, renderOrderSegment: 'defaultSlot' });\n */\nfunction createLegacyConditionOptionsCode(parameters: HelperParameters): string {\n return [\n `{ segmentCaseIndex: ${parameters.segmentCaseIndex},`,\n `isStartingCondition: ${Boolean(parameters.isStartingCondition)},`,\n `renderOrderSegment: '${parameters.renderOrderSegment}' }`,\n ].join(' ');\n}\n\n/**\n * Builds the replacement `v-if` expression that links a case to legacy condition state.\n * Use it for every rewritten `v-if`, `v-else-if`, or `v-else` attribute.\n *\n * @example\n * createLegacyHelperExpression('$swLegacyBlockIf', 'sw_card:0', 'isVisible', parameters);\n */\nfunction createLegacyHelperExpression(\n helperName: string,\n conditionKey: string,\n expression: string | null | undefined,\n parameters: HelperParameters,\n): string {\n const escapedConditionKey = escapeSingleQuotedString(conditionKey);\n\n if (expression !== undefined) {\n return `${helperName}('${escapedConditionKey}', ${expression}, ${createLegacyConditionOptionsCode(parameters)})`;\n }\n\n return `${helperName}('${escapedConditionKey}', ${createLegacyConditionOptionsCode(parameters)})`;\n}\n\n/**\n * Escapes double quotes for generated attribute values.\n * Use it before embedding helper expressions into a double-quoted `v-if` attribute.\n *\n * @example\n * escapeDoubleQuotedAttributeValue('title === \"active\"');\n */\nfunction escapeDoubleQuotedAttributeValue(value: string): string {\n return value.replace(/\"/g, '"');\n}\n\n/**\n * Expands self-closing custom components so the browser parser keeps the intended tree.\n * Use it before parsing templates with `template.innerHTML`.\n *\n * @example\n * normalizeSelfClosingTags('');\n */\nfunction normalizeSelfClosingTags(template: string): string {\n return template.replace(SELF_CLOSING_TAG_REG_EXP, (match, tagName: string, attributes: string = '') => {\n const trimmedAttributes = attributes.trim();\n const normalizedAttributes = trimmedAttributes.length > 0 ? ` ${trimmedAttributes}` : '';\n\n return `<${tagName}${normalizedAttributes}>`;\n });\n}\n\nfunction findSourceTagEnd(template: string, tagStart: number): number {\n let quote: string | null = null;\n\n for (let index = tagStart + 1; index < template.length; index += 1) {\n const char = template[index];\n\n if (quote) {\n if (char === quote) {\n quote = null;\n }\n continue;\n }\n\n if (char === '\"' || char === \"'\") {\n quote = char;\n continue;\n }\n\n if (char === '>') {\n return index;\n }\n }\n\n return -1;\n}\n\nfunction collectSwBlockSearchStarts(template: string): number[] {\n const searchStarts: number[] = [];\n let cursor = 0;\n\n while (cursor < template.length) {\n const start = template.indexOf('/]/.test(nextChar)) {\n cursor = start + ')/.test(sourceTag)) {\n searchStarts.push(tagEnd + 1);\n }\n cursor = tagEnd + 1;\n }\n\n return searchStarts;\n}\n\n/**\n * Creates the stable local key for one condition chain in a block.\n * Use it whenever transformed code and runtime helpers need to refer to the same chain.\n *\n * @example\n * createLegacyConditionChainKey('sw_product_detail_base', 0);\n */\nfunction createLegacyConditionChainKey(blockName: string, chainIndex: number): string {\n return `${blockName}:${chainIndex}`;\n}\n\n/**\n * Rewrites native sw-block conditional chains before Vue compiles them.\n * Use it in the template factory pipeline for native `` templates that contain conditional chains.\n *\n * @example\n * transformNativeLegacyBlockConditionals('
');\n *\n * @private\n */\nexport default function transformNativeLegacyBlockConditionals(template: string, componentName?: string): string {\n if (template.indexOf(' {\n const renderOrderSegment: LegacyConditionRenderOrderSegment = block.hasAttribute('extends')\n ? 'nativeExtension'\n : 'defaultSlot';\n\n return {\n blockName: block.getAttribute('name') ?? block.getAttribute('extends')!,\n innerTemplate: block.innerHTML,\n renderOrderSegment,\n searchStart: sourceSearchStarts[blockIndex],\n };\n });\n\n const blockConditionInfos: BlockConditionInfo[] = [];\n\n entries.forEach((entry) => {\n const conditionalChains = collectBlockConditionalChains(\n entry.blockName,\n parseBlockTemplateChildren(entry.innerTemplate),\n );\n blockConditionInfos.push({\n blockName: entry.blockName,\n renderOrderSegment: entry.renderOrderSegment,\n conditionalChains: conditionalChains,\n searchStart: entry.searchStart,\n });\n });\n\n fillChainIndices(blockConditionInfos, {}, componentName);\n\n const allRewrites: RewriteInfo[] = [];\n blockConditionInfos.forEach((blockInfo) => {\n blockInfo.conditionalChains\n .filter((chain) => shouldPerformChainRewrite(chain))\n .forEach((chain) => {\n const rewrites = constructChainAttributeRewrites(chain, blockInfo.renderOrderSegment, componentName);\n allRewrites.push(\n ...rewrites.map((rewrite) => ({\n ...rewrite,\n searchStart: blockInfo.searchStart,\n })),\n );\n });\n });\n template = applyOrderedRewrites(template, allRewrites);\n\n return template;\n}\n\n/**\n * Finds top-level `v-if` / `v-else-if` / `v-else` chains inside one block.\n * Use it before assigning chain keys so continuation chains across neighboring blocks can be detected.\n *\n * @example\n * const chains = collectBlockConditionalChains('sw_card', parseBlockTemplateChildren(template));\n */\nfunction collectBlockConditionalChains(blockName: string, children: Element[]): BlockConditionChainInfo[] {\n let chainIndex: number = 0;\n let buildingChain = false;\n const conditionalChains: BlockConditionChainInfo[] = [];\n\n children.forEach((child, childIndex) => {\n const isConditional = child.hasAttribute('v-if') || child.hasAttribute('v-else-if') || child.hasAttribute('v-else');\n\n if (buildingChain && (!isConditional || child.hasAttribute('v-if'))) {\n buildingChain = false;\n chainIndex += 1;\n }\n\n if (!isConditional) {\n return;\n }\n\n if (buildingChain) {\n conditionalChains[chainIndex].children.push(child);\n\n if (child.hasAttribute('v-else')) {\n conditionalChains[chainIndex].ending = true;\n conditionalChains[chainIndex].lastChainInBlock = childIndex === children.length - 1;\n buildingChain = false;\n chainIndex += 1;\n } else if (childIndex === children.length - 1) {\n conditionalChains[chainIndex].lastChainInBlock = true;\n }\n\n return;\n }\n\n if (!child.hasAttribute('v-if')) {\n buildingChain = true;\n conditionalChains.push({\n children: [child],\n starting: false,\n ending: child.hasAttribute('v-else'),\n firstChainInBlock: childIndex === 0,\n lastChainInBlock: false,\n index: chainIndex,\n fullChainKey: createLegacyConditionChainKey(blockName, chainIndex),\n blockName: blockName,\n });\n if (child.hasAttribute('v-else')) {\n buildingChain = false;\n chainIndex += 1;\n } else if (childIndex === children.length - 1) {\n conditionalChains[chainIndex].lastChainInBlock = true;\n }\n\n return;\n }\n\n buildingChain = true;\n conditionalChains.push({\n children: [child],\n starting: true,\n ending: false,\n lastChainInBlock: false,\n firstChainInBlock: childIndex === 0,\n index: chainIndex,\n fullChainKey: createLegacyConditionChainKey(blockName, chainIndex),\n blockName: blockName,\n });\n\n if (childIndex === children.length - 1 && buildingChain) {\n conditionalChains[chainIndex].lastChainInBlock = true;\n }\n });\n\n return conditionalChains;\n}\n\n/**\n * Parses a block's inner template and returns only its top-level element children.\n * Use it when analyzing condition chains without compiling the whole Vue template.\n *\n * @example\n * const children = parseBlockTemplateChildren('
');\n */\nfunction parseBlockTemplateChildren(template: string): Element[] {\n const parsedTemplate = document.createElement('template');\n parsedTemplate.innerHTML = normalizeSelfClosingTags(template);\n\n return Array.from(parsedTemplate.content.children);\n}\n\n/**\n * Assigns full chain keys and segment-local case indices to collected chains.\n * Use it after collecting all block chains in render order so cross-block continuations share state.\n *\n * @example\n * fillChainIndices(blockConditionInfos, {}, 'sw-product-detail');\n */\nfunction fillChainIndices(\n blockConditionInfos: BlockConditionInfo[],\n caseStartIndexByChainKey: Record = {},\n componentName?: string,\n): void {\n let lastChain: BlockConditionChainInfo | null = null;\n let startingChain: BlockConditionChainInfo | null = null;\n\n const nextCaseIndexByChainKey = new Map();\n\n // Iterate over blocks in order and assign chain keys, ensuring that continuation chains receive the same key as\n // their leading chain.\n blockConditionInfos.forEach((blockInfo) => {\n blockInfo.conditionalChains.forEach((chain) => {\n const localChainKey = createLegacyConditionChainKey(blockInfo.blockName, chain.index);\n\n if (chain.starting) {\n chain.fullChainKey = localChainKey;\n lastChain = chain;\n startingChain = chain;\n } else if (startingChain && lastChain) {\n chain.fullChainKey = startingChain.fullChainKey;\n lastChain.followedBy = chain;\n if (\n componentName &&\n blockInfo.renderOrderSegment !== 'shimExtension' &&\n chain.fullChainKey &&\n localChainKey !== chain.fullChainKey\n ) {\n storeLegacyConditionContinuationAlias(componentName, localChainKey, chain.fullChainKey);\n }\n }\n\n if (chain.fullChainKey) {\n const chainSegmentKey = `${chain.fullChainKey}:${blockInfo.renderOrderSegment}`;\n const caseStartIndex =\n nextCaseIndexByChainKey.get(chainSegmentKey) ?? caseStartIndexByChainKey[chain.fullChainKey] ?? 0;\n chain.caseStartIndex = caseStartIndex;\n nextCaseIndexByChainKey.set(chainSegmentKey, caseStartIndex + chain.children.length);\n }\n\n if (!chain.starting) {\n if (chain.ending) {\n lastChain = null;\n startingChain = null;\n } else {\n lastChain = chain;\n }\n }\n });\n });\n}\n\n/**\n * Normalizes browser-serialized empty attributes back to their Vue source form.\n * Use it before matching parsed element attributes against the original template text.\n *\n * @example\n * normalizeParsedVueTemplate('
');\n */\nfunction normalizeParsedVueTemplate(template: string): string {\n return template.replace(/(\\s)([^\\s\"'<>\\/=]+)\\s*=\\s*(?:\"\"|'')/g, '$1$2');\n}\n\n/**\n * Extracts the exact source code for one condition attribute from parsed outer HTML.\n * Use it to build replacement candidates that still match the original template string.\n *\n * @example\n * getAttributeCode('
', 'v-else');\n */\nfunction getAttributeCode(template: string, attributeName: string): string {\n const escapedAttributeName = attributeName.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&');\n const attributeRegExp = new RegExp(`\\\\b${escapedAttributeName}(?![\\\\w-])(?:\\\\s*=\\\\s*(?:\"[^\"]*\"|'[^']*'))?`);\n const match = template.match(attributeRegExp);\n\n if (!match) {\n console.warn(\n `Failed to extract code for attribute \"${attributeName}\" during rewrite. This should not happen.`,\n template,\n );\n return '';\n }\n\n return match[0] ?? '';\n}\n\n/**\n * Builds possible source snippets for an attribute after browser parsing has normalized it.\n * Use it so rewrites still match templates that used single quotes, double quotes, or bare `v-else`.\n *\n * @example\n * createAttributeCodeCandidates('v-if', 'active', 'v-if=\"active\"');\n */\nfunction createAttributeCodeCandidates(\n attributeName: string,\n expression: string | null,\n serializedAttribute: string,\n): string[] {\n const candidates = [serializedAttribute];\n\n if (expression !== null) {\n candidates.push(\n `${attributeName}=\"${escapeDoubleQuotedAttributeValue(expression)}\"`,\n `${attributeName}='${expression.replace(/'/g, ''')}'`,\n );\n }\n\n return Array.from(new Set(candidates.filter(Boolean)));\n}\n\n/**\n * Creates the final `v-if` attribute that delegates condition evaluation to a legacy helper.\n * Use it as the replacement value for every transformed condition case.\n *\n * @example\n * createLegacyHelperAttribute('$swLegacyBlockElse', 'sw_card:0', undefined, parameters);\n */\nfunction createLegacyHelperAttribute(\n helperName: string,\n chainKey: string,\n expression: string | null | undefined,\n parameters: HelperParameters,\n): string {\n const helperExpression = createLegacyHelperExpression(helperName, chainKey, expression, parameters);\n\n return `v-if=\"${escapeDoubleQuotedAttributeValue(helperExpression)}\"`;\n}\n\n/**\n * Adds one attribute replacement to a rewrite list.\n * Use it while walking a chain's children so replacements can be applied later in source order.\n *\n * @example\n * addAttributeRewrite(rewrites, child, 'v-if', '$swLegacyBlockIf', 'sw_card:0', 'active', parameters);\n */\nfunction addAttributeRewrite(\n rewrites: RewriteInfo[],\n child: Element,\n attributeName: string,\n helperName: string,\n chainKey: string,\n expression: string | null | undefined,\n parameters: HelperParameters,\n): void {\n const codeBefore = normalizeParsedVueTemplate(child.outerHTML);\n const oldExpression = getAttributeCode(codeBefore, attributeName);\n\n rewrites.push({\n codeBefore: createAttributeCodeCandidates(attributeName, expression ?? null, oldExpression),\n codeAfter: createLegacyHelperAttribute(helperName, chainKey, expression, parameters),\n });\n}\n\n/**\n * Builds all helper-attribute rewrites for a single condition chain.\n * Use it after `fillChainIndices` has assigned the chain key and segment case offsets.\n *\n * @example\n * const rewrites = constructChainAttributeRewrites(chain, 'shimExtension', 'sw-product-detail');\n */\nfunction constructChainAttributeRewrites(\n chain: BlockConditionChainInfo,\n renderOrderSegment: LegacyConditionRenderOrderSegment,\n componentName?: string,\n): RewriteInfo[] {\n const rewrites: RewriteInfo[] = [];\n const chainKey = getChainKeyForRewrite(\n chain,\n renderOrderSegment,\n componentName ? legacyConditionContinuationContexts.get(componentName) : undefined,\n );\n\n chain.children.forEach((child, localSegmentCaseIndex) => {\n const segmentCaseIndex = (chain.caseStartIndex ?? 0) + localSegmentCaseIndex;\n if (child.hasAttribute('v-if')) {\n addAttributeRewrite(rewrites, child, 'v-if', GLOBAL_LEGACY_HELPERS.if, chainKey, child.getAttribute('v-if'), {\n isStartingCondition: chain.starting && localSegmentCaseIndex === 0,\n segmentCaseIndex,\n renderOrderSegment,\n });\n } else if (child.hasAttribute('v-else-if')) {\n addAttributeRewrite(\n rewrites,\n child,\n 'v-else-if',\n GLOBAL_LEGACY_HELPERS.elseIf,\n chainKey,\n child.getAttribute('v-else-if'),\n {\n isStartingCondition: false,\n segmentCaseIndex,\n renderOrderSegment,\n },\n );\n } else if (child.hasAttribute('v-else')) {\n addAttributeRewrite(rewrites, child, 'v-else', GLOBAL_LEGACY_HELPERS.else, chainKey, undefined, {\n isStartingCondition: false,\n segmentCaseIndex,\n renderOrderSegment,\n });\n }\n });\n\n return rewrites;\n}\n\n/**\n * Decides whether a block contains chains that need compatibility rewrites.\n * Use it to skip simple standalone `v-if` chains that Vue can evaluate natively.\n *\n * @example\n * if (shouldPerformBlockRewrite(chains)) {\n * // rewrite the block\n * }\n */\nfunction shouldPerformBlockRewrite(chains: BlockConditionChainInfo[]): boolean {\n if (chains.length === 0) {\n return false;\n }\n if (chains.every((chain) => chain.starting && chain.followedBy === undefined)) {\n return false;\n }\n return true;\n}\n\n/**\n * Decides whether a specific chain must be rewritten.\n * Use it for leading, trailing, or continuation chains that can be affected by block stacking.\n *\n * @example\n * const rewritableChains = chains.filter((chain) => shouldPerformChainRewrite(chain));\n */\nfunction shouldPerformChainRewrite(chain: BlockConditionChainInfo): boolean {\n return !chain.starting || chain.followedBy !== undefined || chain.firstChainInBlock || chain.lastChainInBlock;\n}\n\n/**\n * Finds the earliest matching source snippet for a rewrite after the current cursor.\n * Use it when applying replacements to avoid rewriting a later duplicate attribute first.\n *\n * @example\n * const match = findRewriteMatch(template, ['v-else'], 0);\n */\nfunction findRewriteMatch(\n rewrittenTemplate: string,\n candidates: string[],\n cursor: number,\n): { foundIndex: number; codeBefore: string } | null {\n return candidates.reduce<{ foundIndex: number; codeBefore: string } | null>((bestMatch, codeBefore) => {\n let foundIndex = rewrittenTemplate.indexOf(codeBefore, cursor);\n\n while (\n foundIndex !== -1 &&\n codeBefore === 'v-else' &&\n /[\\w-]/.test(rewrittenTemplate.charAt(foundIndex + codeBefore.length))\n ) {\n foundIndex = rewrittenTemplate.indexOf(codeBefore, foundIndex + codeBefore.length);\n }\n\n if (foundIndex === -1) {\n return bestMatch;\n }\n\n if (bestMatch === null || foundIndex < bestMatch.foundIndex) {\n return { foundIndex, codeBefore };\n }\n\n return bestMatch;\n }, null);\n}\n\n/**\n * Applies attribute rewrites in source order while preserving unmatched template text.\n * Use it after constructing all replacements for one template or block fragment.\n *\n * @example\n * const rewrittenTemplate = applyOrderedRewrites(template, rewrites);\n */\nfunction applyOrderedRewrites(template: string, rewrites: RewriteInfo[]): string {\n let cursor = 0;\n let rewrittenTemplate = template;\n\n rewrites.forEach((rewrite) => {\n const match = findRewriteMatch(rewrittenTemplate, rewrite.codeBefore, Math.max(cursor, rewrite.searchStart ?? 0));\n\n if (match === null) {\n console.warn('Failed to apply rewrite because codeBefore was not found from cursor position.', {\n codeBefore: rewrite.codeBefore,\n codeAfter: rewrite.codeAfter,\n cursor,\n });\n return;\n }\n\n rewrittenTemplate =\n rewrittenTemplate.slice(0, match.foundIndex) +\n rewrite.codeAfter +\n rewrittenTemplate.slice(match.foundIndex + match.codeBefore.length);\n\n cursor = match.foundIndex + rewrite.codeAfter.length;\n });\n\n return rewrittenTemplate;\n}\n\n/**\n * Rewrites neighboring top-level legacy Twig blocks as one conditional sequence.\n * Use it when indexing Twig override templates so shims preserve `v-if` / `v-else` behavior across blocks.\n *\n * @example\n * transformLegacyTwigBlockSequenceConditionals(entries, 'sw-product-detail');\n *\n * @private\n */\nexport function transformLegacyTwigBlockSequenceConditionals(\n initialEntries: LegacyTwigBlockSequenceEntry[],\n componentName: string,\n caseStartIndexByChainKey: Record = {},\n): LegacyTwigBlockSequenceTransformEntry[] {\n const blockConditonalChains: BlockConditionInfo[] = [];\n\n const entries: LegacyTwigBlockSequenceTransformEntry[] = initialEntries.map((entry) => ({\n ...entry,\n legacyConditionCases: [],\n }));\n\n // Step 1: Analyze the blocks child elements to find v-if / v-else-if / v-else chains and collect information about\n // their structure, such as whether they are leading or trailing chains and which chains are continuing each other\n // across blocks.\n entries.forEach((entry) => {\n const children = parseBlockTemplateChildren(entry.innerTemplate);\n const conditionalChains = collectBlockConditionalChains(entry.blockName, children);\n blockConditonalChains.push({\n blockName: entry.blockName,\n renderOrderSegment: 'shimExtension',\n conditionalChains,\n });\n });\n // Step 2: Assign stable chain keys to the collected chains, ensuring that continuation chains across blocks receive\n // the same key as their leading chain.\n fillChainIndices(blockConditonalChains, caseStartIndexByChainKey, componentName);\n const continuationContext = legacyConditionContinuationContexts.get(componentName);\n\n // Step 3: Apply the helper function rewrites to each chain\n\n entries.forEach((entry, entryIndex) => {\n const chains = blockConditonalChains[entryIndex]?.conditionalChains ?? [];\n if (shouldPerformBlockRewrite(chains)) {\n entry.legacyConditionCases.push(\n ...chains\n .filter((chain) => shouldPerformChainRewrite(chain))\n .map((chain) => ({\n chainKey: getChainKeyForRewrite(chain, 'shimExtension', continuationContext),\n caseStartIndex: chain.caseStartIndex ?? 0,\n caseCount: chain.children.length,\n ...(chain.starting ? { startsChain: true } : {}),\n })),\n );\n chains.forEach((chain) => {\n const rewrites = constructChainAttributeRewrites(chain, 'shimExtension', componentName);\n entry.innerTemplate = applyOrderedRewrites(entry.innerTemplate, rewrites);\n });\n }\n });\n\n return entries;\n}\n\n/**\n * Collects the next free case index for every already indexed condition chain of one component.\n * Use it while rebuilding the block index so later overrides of the same component append cases without\n * reusing slots. Case ranges are scoped per component name: a block of the same name in a different\n * component keeps its own runtime chain, so it must not consume slots reserved for this component.\n *\n * @example\n * const offsets = collectExistingCaseStartIndices('sw-product-detail');\n */\nfunction collectExistingCaseStartIndices(componentName: string): Record {\n const caseStartIndexByChainKey: Record = {};\n\n legacyTwigBlockIndex.forEach((entries) => {\n entries.forEach((entry) => {\n if (entry.componentName !== componentName) {\n return;\n }\n\n entry.legacyConditionCases.forEach(({ chainKey, caseStartIndex, caseCount }) => {\n caseStartIndexByChainKey[chainKey] = Math.max(\n caseStartIndexByChainKey[chainKey] ?? 0,\n caseStartIndex + caseCount,\n );\n });\n });\n });\n\n return caseStartIndexByChainKey;\n}\n\n/**\n * Rebuilds the legacy Twig block index when stored entries or continuation aliases changed.\n * Use it lazily before reads so aliases discovered by native rewrites are reflected in shim entries.\n *\n * @example\n * ensureLegacyTwigBlockIndex();\n */\nfunction ensureLegacyTwigBlockIndex(): void {\n if (!legacyTwigBlockIndexDirty && legacyTwigBlockIndexVersion === legacyConditionContinuationContextVersion) {\n return;\n }\n\n legacyTwigBlockIndex.clear();\n\n for (let entryIndex = 0; entryIndex < indexedLegacyTwigBlockEntries.length; entryIndex += 1) {\n const { componentName } = indexedLegacyTwigBlockEntries[entryIndex];\n const groupedEntries: LegacyTwigBlockSequenceEntry[] = [];\n\n while (\n entryIndex < indexedLegacyTwigBlockEntries.length &&\n indexedLegacyTwigBlockEntries[entryIndex].componentName === componentName\n ) {\n groupedEntries.push(...indexedLegacyTwigBlockEntries[entryIndex].entries);\n entryIndex += 1;\n }\n\n entryIndex -= 1;\n\n const transformedEntries = transformLegacyTwigBlockSequenceConditionals(\n groupedEntries,\n componentName,\n collectExistingCaseStartIndices(componentName),\n );\n\n transformedEntries.forEach((entry) => {\n const existing = legacyTwigBlockIndex.get(entry.blockName) ?? [];\n\n existing.push({\n componentName,\n innerTemplate: entry.innerTemplate,\n legacyConditionCases: entry.legacyConditionCases,\n });\n\n legacyTwigBlockIndex.set(entry.blockName, existing);\n });\n }\n\n legacyTwigBlockIndexDirty = false;\n legacyTwigBlockIndexVersion = legacyConditionContinuationContextVersion;\n}\n\n/**\n * Stores extracted Twig block entries so they can be transformed and indexed lazily.\n * Use it from `twig-block-index.ts` after a component override template has been parsed.\n *\n * @example\n * indexLegacyTwigBlockConditionEntries('sw-product-detail', entries);\n *\n * @private\n */\nexport function indexLegacyTwigBlockConditionEntries(componentName: string, entries: LegacyTwigBlockSequenceEntry[]): void {\n indexedLegacyTwigBlockEntries.push({ componentName, entries });\n legacyTwigBlockIndexDirty = true;\n}\n\n/**\n * Returns indexed legacy Twig override entries for one component's block.\n * Use it from `` when creating shim slots for registered Twig overrides. The owning\n * component name is required: a Twig override of the same block name in a different component must not leak\n * in — mirroring how Twig scopes a `{% block %}` to `componentName + blockName`.\n *\n * @example\n * const entries = getLegacyTwigBlockEntries('sw-product-detail', 'sw_product_detail_base');\n *\n * @private\n */\nexport function getLegacyTwigBlockEntries(componentName: string, blockName: string): BlockEntry[] {\n ensureLegacyTwigBlockIndex();\n\n const entries = legacyTwigBlockIndex.get(blockName) ?? [];\n\n return entries.filter((entry) => entry.componentName === componentName);\n}\n\n/**\n * Checks whether one component's block has legacy Twig override entries.\n * Use it before creating shim slots so `sw-block` can skip work for untouched blocks. Overrides that target\n * the same block name in a different component are ignored.\n *\n * @example\n * if (hasLegacyTwigBlockEntries('sw-product-detail', 'sw_product_detail_base')) {\n * // create shim slots\n * }\n *\n * @private\n */\nexport function hasLegacyTwigBlockEntries(componentName: string, blockName: string): boolean {\n ensureLegacyTwigBlockIndex();\n\n return getLegacyTwigBlockEntries(componentName, blockName).length > 0;\n}\n\n/**\n * Clears all indexed Twig block condition state.\n * Use it from test teardown or component-factory reset paths that rebuild templates from scratch.\n *\n * @example\n * resetLegacyTwigBlockConditionIndex();\n *\n * @private\n */\nexport function resetLegacyTwigBlockConditionIndex(): void {\n legacyTwigBlockIndex.clear();\n indexedLegacyTwigBlockEntries.length = 0;\n legacyTwigBlockIndexDirty = false;\n legacyTwigBlockIndexVersion = -1;\n resetLegacyConditionContinuationContexts();\n}\n" +} diff --git a/web/public/bundles/shopware/code/50addd41ce3a1f0875dc28cc95bac25fb5d9c69b.json b/web/public/bundles/shopware/code/50addd41ce3a1f0875dc28cc95bac25fb5d9c69b.json new file mode 100644 index 00000000..1f9f8df9 --- /dev/null +++ b/web/public/bundles/shopware/code/50addd41ce3a1f0875dc28cc95bac25fb5d9c69b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "50addd41ce3a1f0875dc28cc95bac25fb5d9c69b", + "language": "typescript", + "path": "src/Administration/Resources/app/administration/src/app/init/topbar-button.init.ts", + "schema": "codexray.code/1", + "text": "/**\n * @sw-package innovation\n *\n * @private\n * @description Apply for upselling service only, no public usage\n */\n\nimport 'src/app/store/topbar-button.store';\n\n// eslint-disable-next-line sw-deprecation-rules/private-feature-declarations\nexport default function initializeTopBarButtons(): void {\n // @ts-expect-error - There are no types for this as it is private API\n Shopware.ExtensionAPI.handle('__upsellingMenuButton', (configuration) => {\n const store = Shopware.Store.get('topBarButton');\n store.buttons.push(configuration);\n });\n}\n" +} diff --git a/web/public/bundles/shopware/code/52889d59dd625981af531fca14361514d6e310f5.json b/web/public/bundles/shopware/code/52889d59dd625981af531fca14361514d6e310f5.json new file mode 100644 index 00000000..3b9342bb --- /dev/null +++ b/web/public/bundles/shopware/code/52889d59dd625981af531fca14361514d6e310f5.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "52889d59dd625981af531fca14361514d6e310f5", + "language": "php", + "path": "src/Storefront/Pagelet/Menu/Offcanvas/MenuOffcanvasPageletLoader.php", + "schema": "codexray.code/1", + "text": "query->get('navigationId', $context->getSalesChannel()->getNavigationCategoryId());\n if ($navigationId === '') {\n throw RoutingException::missingRequestParameter('navigationId');\n }\n\n $navigation = $this->navigationLoader->load($navigationId, $context, $navigationId, 1);\n\n $pagelet = new MenuOffcanvasPagelet($navigation);\n\n $this->eventDispatcher->dispatch(\n new MenuOffcanvasPageletLoadedEvent($pagelet, $context, $request)\n );\n\n return $pagelet;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/52cd98aa58f23a58f7457354b008e237edb86294.json b/web/public/bundles/shopware/code/52cd98aa58f23a58f7457354b008e237edb86294.json new file mode 100644 index 00000000..16f5f67b --- /dev/null +++ b/web/public/bundles/shopware/code/52cd98aa58f23a58f7457354b008e237edb86294.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "52cd98aa58f23a58f7457354b008e237edb86294", + "language": "typescript", + "path": "src/Administration/Resources/app/administration/src/module/sw-product/component/sw-product-document-form/sw-product-document-remove-modal/index.ts", + "schema": "codexray.code/1", + "text": "/**\n * @sw-package inventory\n */\nimport type { PropType } from 'vue';\nimport useNotification from 'src/app/composables/use-notification';\nimport type { DocumentVariantOperation } from 'src/module/sw-product/service/product-document-variant.service';\nimport { getSavedDocumentValues } from '../product-document.helper';\nimport template from './sw-product-document-remove-modal.html.twig';\nimport './sw-product-document-remove-modal.scss';\n\nconst { Store } = Shopware;\n\n/** @private */\nexport type DocumentRemoval = { operations: Record; message: string };\n\n/** @private */\nexport default Shopware.Component.wrapComponentConfig({\n template,\n\n inject: ['productDocumentVariantService'],\n\n props: {\n documents: {\n type: Array as PropType[]>,\n required: true,\n },\n languageName: {\n type: String,\n required: false,\n default: '',\n },\n canEdit: {\n type: Boolean,\n required: false,\n default: false,\n },\n },\n\n emits: [\n 'close',\n 'remove',\n ],\n\n data() {\n return {\n removeFromVariants: true,\n isRemoving: false,\n };\n },\n\n computed: {\n isSystemDefaultLanguage(): boolean {\n return Store.get('context').isSystemDefaultLanguage;\n },\n\n hasVariants(): boolean {\n const { product } = Store.get('swProductDetail');\n return !product.parentId && !!product.childCount;\n },\n\n isBulk(): boolean {\n return this.documents.length > 1;\n },\n\n documentName(): string {\n return this.documents[0]?.translated?.title ?? '';\n },\n\n modalTitle(): string {\n const values = { count: this.documents.length, language: this.languageName, name: this.documentName };\n if (this.isBulk) {\n return this.$t(\n this.isSystemDefaultLanguage\n ? 'sw-product.documentForm.bulkRemoveTitle'\n : 'sw-product.documentForm.bulkRemoveLanguageVersionTitle',\n values,\n );\n }\n\n return this.$t(\n this.isSystemDefaultLanguage\n ? 'sw-product.documentForm.removeTitle'\n : 'sw-product.documentForm.removeLanguageVersionTitle',\n values,\n );\n },\n\n modalDescription(): string {\n if (!this.isSystemDefaultLanguage) {\n return this.$t('sw-product.documentForm.removeLanguageVersionDescription', {\n language: this.languageName,\n });\n }\n\n return this.$t(\n this.isBulk ? 'sw-product.documentForm.bulkRemoveDescription' : 'sw-product.documentForm.removeDescription',\n );\n },\n\n operations(): Record {\n if (!this.removeFromVariants || !this.hasVariants) {\n return {};\n }\n\n const queuedOperations = Store.get('swProductDetail').documentVariantOperations;\n const removal = this.isSystemDefaultLanguage\n ? { type: 'remove' as const }\n : { type: 'update' as const, changes: { title: null, mediaId: null } };\n\n return Object.fromEntries(\n this.documents.flatMap((document) => {\n const { mediaId, title } = queuedOperations[document.id] ?? getSavedDocumentValues(document);\n return mediaId ? [[document.id, { ...removal, mediaId, title: title || null }]] : [];\n }),\n );\n },\n\n isDisabled(): boolean {\n return !this.canEdit || this.isRemoving;\n },\n },\n\n methods: {\n getSuccessMessage(variantCount: number): string {\n const values = { count: this.documents.length, language: this.languageName, name: this.documentName };\n if (this.isBulk) {\n return this.$t(\n this.isSystemDefaultLanguage\n ? 'sw-product.documentForm.bulkRemoveSuccess'\n : 'sw-product.documentForm.bulkRemoveLanguageVersionSuccess',\n values,\n );\n }\n\n return this.isSystemDefaultLanguage\n ? this.$t('sw-product.documentForm.removeSuccess', { ...values, count: variantCount })\n : this.$t('sw-product.documentForm.removeLanguageVersionSuccess', values);\n },\n\n async remove(): Promise {\n if (this.isDisabled) {\n return;\n }\n\n const { operations } = this;\n const { product } = Store.get('swProductDetail');\n const showsVariantCount = !this.isBulk && this.isSystemDefaultLanguage;\n let variantCount = 0;\n\n if (showsVariantCount && Object.keys(operations).length) {\n this.isRemoving = true;\n try {\n variantCount = (\n await this.productDocumentVariantService.sync(product.id, Object.values(operations), true)\n ).length;\n } catch {\n this.isRemoving = false;\n useNotification().createNotificationError({\n message: this.$t('sw-product.documentForm.errorLoadVariants'),\n });\n return;\n }\n }\n\n if (Store.get('swProductDetail').product !== product) {\n return;\n }\n\n this.$emit('remove', { operations, message: this.getSuccessMessage(variantCount) } satisfies DocumentRemoval);\n },\n },\n});\n" +} diff --git a/web/public/bundles/shopware/code/532e1e5f451d8fa5641bffcedd6305b2e72242a2.json b/web/public/bundles/shopware/code/532e1e5f451d8fa5641bffcedd6305b2e72242a2.json new file mode 100644 index 00000000..0022255b --- /dev/null +++ b/web/public/bundles/shopware/code/532e1e5f451d8fa5641bffcedd6305b2e72242a2.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "532e1e5f451d8fa5641bffcedd6305b2e72242a2", + "language": "php", + "path": "src/Storefront/Framework/Store/Subscriber/ExtensionThemeDetectionSubscriber.php", + "schema": "codexray.code/1", + "text": "|null\n */\n private ?array $installedThemeNames = null;\n\n /**\n * @param EntityRepository $themeRepository\n */\n public function __construct(private readonly EntityRepository $themeRepository)\n {\n }\n\n public static function getSubscribedEvents(): array\n {\n return [\n ExtensionLoadedEvent::class => 'detectTheme',\n ];\n }\n\n public function detectTheme(ExtensionLoadedEvent $event): void\n {\n $source = $event->source;\n\n if ($source instanceof PluginEntity) {\n if ($this->isPluginTheme($source)) {\n $event->extension->setIsTheme(true);\n }\n\n return;\n }\n\n if ($this->isAppTheme($source, $event->context)) {\n $event->extension->setIsTheme(true);\n }\n }\n\n public function reset(): void\n {\n $this->installedThemeNames = null;\n }\n\n private function isPluginTheme(PluginEntity $plugin): bool\n {\n $baseClass = $plugin->getBaseClass();\n\n return class_exists($baseClass) && is_subclass_of($baseClass, ThemeInterface::class);\n }\n\n private function isAppTheme(AppEntity $app, Context $context): bool\n {\n return \\in_array($app->getName(), $this->getInstalledThemeNames($context), true);\n }\n\n /**\n * @return array\n */\n private function getInstalledThemeNames(Context $context): array\n {\n if ($this->installedThemeNames !== null) {\n return $this->installedThemeNames;\n }\n\n $themeNameAggregationName = 'theme_names';\n $criteria = new Criteria();\n $criteria->addAggregation(new TermsAggregation($themeNameAggregationName, 'technicalName'));\n\n $themeNameAggregation = $this->themeRepository->aggregate($criteria, $context)->get($themeNameAggregationName);\n if (!$themeNameAggregation instanceof TermsResult) {\n return $this->installedThemeNames = [];\n }\n\n return $this->installedThemeNames = $themeNameAggregation->getKeys();\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/576e5f19cc2fc44cb46f72cb73d50673fda2b32d.json b/web/public/bundles/shopware/code/576e5f19cc2fc44cb46f72cb73d50673fda2b32d.json new file mode 100644 index 00000000..5f671074 --- /dev/null +++ b/web/public/bundles/shopware/code/576e5f19cc2fc44cb46f72cb73d50673fda2b32d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "576e5f19cc2fc44cb46f72cb73d50673fda2b32d", + "language": "typescript", + "path": "src/Administration/Resources/app/administration/src/app/init/in-app-purchase-checkout.init.ts", + "schema": "codexray.code/1", + "text": "/**\n * @sw-package checkout\n *\n * @private\n */\nimport 'src/app/store/in-app-purchase-checkout.store';\n\n// eslint-disable-next-line sw-deprecation-rules/private-feature-declarations\nexport default function initializeInAppPurchaseCheckout(): void {\n Shopware.ExtensionAPI.handle('iapCheckout', (entry, { _event_ }) => {\n const extension = Object.values(Shopware.Store.get('extensions').extensionsState).find((ext) =>\n ext.baseUrl.startsWith(_event_.origin),\n );\n\n if (!extension) {\n throw new Error(`Extension with the origin \"${_event_.origin}\" not found.`);\n }\n\n Shopware.Store.get('inAppPurchaseCheckout').request(entry, extension.name);\n });\n}\n" +} diff --git a/web/public/bundles/shopware/code/57a1e0b9f8787c699c9d3fa126f605382bdb7c55.json b/web/public/bundles/shopware/code/57a1e0b9f8787c699c9d3fa126f605382bdb7c55.json new file mode 100644 index 00000000..a2300680 --- /dev/null +++ b/web/public/bundles/shopware/code/57a1e0b9f8787c699c9d3fa126f605382bdb7c55.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "57a1e0b9f8787c699c9d3fa126f605382bdb7c55", + "language": "typescript", + "path": "src/Administration/Resources/app/administration/src/app/adapter/options-composition-shim.ts", + "schema": "codexray.code/1", + "text": "/**\n * @sw-package framework\n *\n * Options API to Composition API Override Shim\n *\n * This module provides a compatibility layer that allows Options API component overrides\n * to work transparently when the target component uses Composition API with createExtendableSetup().\n *\n * @experimental stableVersion:v6.9.0 feature:ADMIN_COMPOSITION_API_EXTENSION_SYSTEM\n */\n\nimport {\n ref,\n computed,\n watch,\n isRef,\n unref,\n inject as vueInject,\n getCurrentInstance,\n onBeforeMount,\n onMounted,\n onBeforeUpdate,\n onUpdated,\n onBeforeUnmount,\n onUnmounted,\n onActivated,\n onDeactivated,\n onErrorCaptured,\n} from 'vue';\nimport type { Ref, ComputedRef, WatchOptions } from 'vue';\nimport type { ComponentConfig } from 'src/core/factory/async-component.factory';\n\n// ─── Local types ────────────────────────────────────────────────────────────\n\ntype LifecycleHookFn = (...args: unknown[]) => void;\ntype AnyFn = (...args: unknown[]) => unknown;\ntype ComponentState =\n ComponentPublicApiMapping[COMPONENT_NAME];\n\ninterface ComputedObjectDefinition {\n get?: () => unknown;\n set?: (val: unknown) => void;\n}\ntype ComputedDefinition = (() => unknown) | ComputedObjectDefinition;\n\ninterface WatchObjectDefinition {\n handler: (newVal: unknown, oldVal: unknown) => void;\n immediate?: boolean;\n deep?: boolean;\n flush?: 'pre' | 'post' | 'sync';\n}\ntype SingleWatchDefinition = ((newVal: unknown, oldVal: unknown) => void) | WatchObjectDefinition | string;\ntype WatchDefinition = SingleWatchDefinition | SingleWatchDefinition[];\n\ntype InjectConfig = ComponentConfig['inject'];\n\ntype LifecycleHookName =\n | 'beforeCreate'\n | 'created'\n | 'beforeMount'\n | 'mounted'\n | 'beforeUpdate'\n | 'updated'\n | 'beforeUnmount'\n | 'unmounted'\n | 'activated'\n | 'deactivated'\n | 'errorCaptured';\n\n/** Extended config that types lifecycle hook properties directly to avoid explicit casts. */\ntype ExtendedComponentConfig = ComponentConfig & {\n [K in LifecycleHookName]?: LifecycleHookFn;\n};\n\n// eslint-disable-next-line sw-deprecation-rules/private-feature-declarations\nexport type OverrideFn = (\n previousState: ComponentState,\n props: ComponentState,\n context?: unknown,\n) => ComponentState;\n\n// ─── Lifecycle hook registry ─────────────────────────────────────────────────\n\n/**\n * Maps Options API lifecycle hook names to their Composition API equivalents.\n * `null` means the hook runs immediately (beforeCreate/created happen during setup).\n * `satisfies` validates value types while keeping the literal key names for LifecycleHookName.\n */\nconst LIFECYCLE_HOOK_MAP = {\n beforeCreate: null,\n created: null,\n beforeMount: onBeforeMount,\n mounted: onMounted,\n beforeUpdate: onBeforeUpdate,\n updated: onUpdated,\n beforeUnmount: onBeforeUnmount,\n unmounted: onUnmounted,\n activated: onActivated,\n deactivated: onDeactivated,\n errorCaptured: onErrorCaptured,\n} satisfies Record void) => void) | null>;\n\nconst LIFECYCLE_HOOKS = Object.keys(LIFECYCLE_HOOK_MAP) as LifecycleHookName[];\n\n/**\n * Options API property keys that indicate an override is using Options API patterns.\n * `extends` is included so checkUnsupportedFeatures() can emit its warning.\n */\nconst OPTION_KEYS = [\n 'data',\n 'methods',\n 'computed',\n 'watch',\n 'mixins',\n 'inject',\n 'extends',\n] as const;\n\ninterface MergedConfig extends Omit {\n data?: () => Record;\n computed?: Record;\n methods?: Record;\n watch?: Record;\n inject?: InjectConfig;\n _lifecycleHooks?: Partial>;\n}\n\n/**\n * @private\n * Detects if the shim should be activated for a component override.\n * Returns true when the override config contains Options API patterns.\n * The caller (createExtendableSetup) already knows it is inside a Composition API component.\n *\n * @param overrideConfig - The override configuration object\n * @returns true if shim should activate, false otherwise\n */\nexport function shouldActivateShim(overrideConfig: ComponentConfig): boolean {\n const extended = overrideConfig as ExtendedComponentConfig;\n const hasOptionKeys = OPTION_KEYS.some((key) => {\n const val: unknown = extended[key];\n return Array.isArray(val) ? val.length > 0 : !!val;\n });\n const hasLifecycleHooks = LIFECYCLE_HOOKS.some((hook) => !!extended[hook]);\n\n return hasOptionKeys || hasLifecycleHooks;\n}\n\n/**\n * @private\n * Main conversion function that transforms Options API override to Composition API\n *\n * @param componentName - Name of the component being overridden\n * @param optionsConfig - Options API configuration object\n * @returns Composition API override function\n */\nexport function convertOptionsApiOverrideToCompositionApi<\n COMPONENT_NAME extends keyof ComponentPublicApiMapping & string = string,\n>(componentName: COMPONENT_NAME, optionsConfig: ComponentConfig): OverrideFn {\n reportShimDeprecation(componentName);\n checkUnsupportedFeatures(componentName, optionsConfig);\n\n return (previousState: ComponentState, props: ComponentState): ComponentState => {\n const result: ComponentState = {} as ComponentState;\n\n const mergedConfig = mergeMixins(optionsConfig);\n\n if (mergedConfig.data) {\n Object.assign(result, convertData(mergedConfig.data));\n }\n\n // Resolve inject values from Vue's provide/inject system.\n // This must run while we are still inside the component's setup() context\n // (the immediate watch in createExtendableSetup guarantees this).\n const injectedValues = resolveInject(mergedConfig.inject);\n\n // Create the this proxy (needs to be created after data but before computed/methods)\n const thisProxy = createThisProxy(previousState, props, result, injectedValues);\n\n if (mergedConfig.computed) {\n Object.assign(result, convertComputed(mergedConfig.computed, thisProxy));\n }\n\n if (mergedConfig.methods) {\n Object.assign(result, convertMethods(mergedConfig.methods, thisProxy));\n }\n\n if (mergedConfig.watch) {\n setupWatchers(mergedConfig.watch, thisProxy);\n }\n\n if (mergedConfig._lifecycleHooks) {\n setupLifecycleHooks(mergedConfig._lifecycleHooks, thisProxy);\n }\n\n return result;\n };\n}\n\n/**\n * Recursively flattens a mixin and all of its nested mixins into a flat ordered array.\n * Nested mixins are resolved depth-first so that the deepest ancestor appears first,\n * matching Vue's own mixin merge strategy.\n */\nfunction flattenMixins(mixin: ComponentConfig): ComponentConfig[] {\n const nested = mixin.mixins ? mixin.mixins.flatMap((m) => flattenMixins(m as ComponentConfig)) : [];\n return [...nested, mixin];\n}\n\n/**\n * Resolves Options API inject config into a plain map of key → value.\n * Supports all three Vue inject forms: array, object-with-string, object-with-options.\n * Must be called during component setup() to have access to the provide/inject chain.\n */\nfunction resolveInject(injectConfig: InjectConfig): ComponentState {\n const resolved: ComponentState = {};\n\n if (!injectConfig) {\n return resolved;\n }\n\n if (Array.isArray(injectConfig)) {\n injectConfig.forEach((key: string) => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n resolved[key] = vueInject(key);\n });\n } else {\n const objectConfig = injectConfig;\n Object.entries(objectConfig).forEach(([localKey, spec]) => {\n if (typeof spec === 'string') {\n // { localKey: 'provideKey' }\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n resolved[localKey] = vueInject(spec);\n } else if (spec && typeof spec === 'object') {\n // { localKey: { from: 'provideKey', default: fallback } }\n const specOptions = spec as { from?: string; default?: unknown };\n const from = specOptions.from ?? localKey;\n const hasDefault = Object.hasOwn(specOptions, 'default');\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n resolved[localKey] = hasDefault ? vueInject(from, specOptions.default) : vueInject(from);\n } else {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n resolved[localKey] = vueInject(localKey);\n }\n });\n }\n\n return resolved;\n}\n\n/**\n * Merges two inject configurations (array or object form) into a single normalized object.\n * Existing (component-level) entries win on conflict, matching Vue's merge strategy.\n */\nfunction mergeInjectConfigs(existing: InjectConfig, incoming: InjectConfig): InjectConfig {\n const normalized: Record = {};\n\n if (Array.isArray(existing)) {\n existing.forEach((key: string) => {\n normalized[key] = key;\n });\n } else if (existing && typeof existing === 'object') {\n Object.assign(normalized, existing);\n }\n\n if (Array.isArray(incoming)) {\n incoming.forEach((key: string) => {\n if (!Object.hasOwn(normalized, key)) {\n normalized[key] = key;\n }\n });\n } else if (incoming && typeof incoming === 'object') {\n const incomingObj = incoming as Record;\n Object.entries(incomingObj).forEach(([key, val]) => {\n if (!Object.hasOwn(normalized, key)) {\n normalized[key] = val;\n }\n });\n }\n\n return normalized as InjectConfig;\n}\n\n/**\n * Merges mixins into the component configuration\n */\nfunction mergeMixins(config: ComponentConfig): MergedConfig {\n const lifecycleHooks: Partial> = {};\n // Collect data factories in merge order so each is called exactly once.\n // Mixin factories are pushed first (deepest ancestor first via flattenMixins),\n // then the component's own factory last — so component keys win on conflict.\n const allDataFns: Array<() => Record> = [];\n\n // Vue's ComponentOptions types methods/computed/watch as `any` internally,\n // so we cast once here at the boundary and let MergedConfig carry the correct types.\n const merged: MergedConfig = {\n methods: { ...(config.methods as Record) },\n computed: { ...(config.computed as Record) },\n watch: { ...(config.watch as Record) },\n inject: config.inject,\n };\n\n if (config.mixins && config.mixins.length > 0) {\n const allMixins = config.mixins.flatMap((m) => flattenMixins(m as ComponentConfig));\n allMixins.forEach((mixin: ComponentConfig) => {\n const extendedMixin = mixin as ExtendedComponentConfig;\n\n // Collect lifecycle hooks from mixin (mixin hooks fire before component hooks)\n LIFECYCLE_HOOKS.forEach((hook) => {\n const hookFn = extendedMixin[hook];\n if (hookFn) {\n if (!lifecycleHooks[hook]) {\n lifecycleHooks[hook] = [];\n }\n lifecycleHooks[hook].push(hookFn);\n }\n });\n\n // Collect the mixin's data factory without calling it yet\n if (mixin.data) {\n const mixinData = mixin.data;\n allDataFns.push(\n typeof mixinData === 'function'\n ? () => (mixinData as unknown as () => Record)()\n : () => mixinData as unknown as Record,\n );\n }\n\n if (mixin.methods) {\n merged.methods = { ...(mixin.methods as Record), ...merged.methods };\n }\n\n if (mixin.computed) {\n merged.computed = { ...(mixin.computed as Record), ...merged.computed };\n }\n\n if (mixin.watch) {\n merged.watch = { ...(mixin.watch as Record), ...merged.watch };\n }\n\n if (mixin.inject) {\n merged.inject = mergeInjectConfigs(merged.inject, mixin.inject);\n }\n });\n }\n\n // Add the component's own data factory last so its keys win over mixin keys\n if (config.data) {\n const configData = config.data;\n allDataFns.push(\n typeof configData === 'function'\n ? () => (configData as unknown as () => Record)()\n : () => configData as unknown as Record,\n );\n }\n\n // Produce a single merged factory that calls each original factory exactly once\n if (allDataFns.length > 0) {\n merged.data = () => allDataFns.reduce>((acc, fn) => ({ ...acc, ...fn() }), {});\n }\n\n // Component's own hooks go last (after mixin hooks), matching Vue's merge strategy\n const extendedConfig = config as ExtendedComponentConfig;\n LIFECYCLE_HOOKS.forEach((hook) => {\n const hookFn = extendedConfig[hook];\n if (hookFn) {\n if (!lifecycleHooks[hook]) {\n lifecycleHooks[hook] = [];\n }\n lifecycleHooks[hook].push(hookFn);\n }\n });\n\n if (Object.keys(lifecycleHooks).length > 0) {\n merged._lifecycleHooks = lifecycleHooks;\n }\n\n return merged;\n}\n\n/**\n * Converts Options API methods to Composition API functions\n */\nfunction convertMethods(methods: Record, thisProxy: object): ComponentState {\n const converted: ComponentState = {};\n\n Object.entries(methods).forEach(([name, method]) => {\n converted[name] = function (...args: unknown[]) {\n return method.apply(thisProxy, args);\n };\n });\n\n return converted;\n}\n\n/**\n * Creates a proxy that maps `this` access to previousState refs.\n * Captures the current component instance at creation time so that\n * Vue instance properties ($emit, $t, $route, etc.) remain available\n * even when accessed outside the setup() context (e.g. in event handlers).\n */\nfunction createThisProxy(\n previousState: ComponentState,\n props: ComponentState,\n localState: ComponentState,\n injectedValues: ComponentState = {} as ComponentState,\n): object {\n const componentInstance = getCurrentInstance();\n\n return new Proxy(\n {},\n {\n get(_target: object, prop: string | symbol): unknown {\n if (typeof prop !== 'string') {\n return undefined;\n }\n\n // Handle $super calls\n if (prop === '$super') {\n return (methodName: string, ...args: unknown[]): unknown => {\n if (previousState[methodName] && typeof previousState[methodName] === 'function') {\n return (previousState[methodName] as AnyFn)(...args);\n }\n\n // Support $super for computed properties (refs/computedRefs)\n if (previousState[methodName] !== undefined && isRef(previousState[methodName])) {\n return (previousState[methodName] as Ref).value;\n }\n\n throw new Error(\n `$super: \"${methodName}\" not found in previous state. It must be a method (function) or a ref.`,\n );\n };\n }\n\n // Forward Vue instance properties ($emit, $t, $tc, $route, $router, $refs, $nextTick, etc.)\n if (prop.startsWith('$')) {\n const proxy = componentInstance?.proxy as Record | null | undefined;\n if (proxy && prop in proxy) {\n return proxy[prop];\n }\n return undefined;\n }\n\n // Check local state first (data, computed, methods from override)\n if (prop in localState) {\n return unref(localState[prop]);\n }\n\n // Check injected values (from Options API inject config)\n if (Object.hasOwn(injectedValues, prop)) {\n return injectedValues[prop];\n }\n\n // Check props\n if (Object.hasOwn(props, prop)) {\n return props[prop];\n }\n\n // Check previousState (from Composition API)\n if (prop in previousState) {\n return unref(previousState[prop]);\n }\n\n console.warn(\n `[Options API Shim] Property \"${prop}\" not found in component state. ` +\n `This may indicate accessing private/unexposed state.`,\n );\n\n return undefined;\n },\n set(_target: object, prop: string | symbol, value: unknown): boolean {\n if (typeof prop !== 'string') {\n return false;\n }\n\n if (prop in localState) {\n if (isRef(localState[prop])) {\n (localState[prop] as Ref).value = value;\n return true;\n }\n (localState as Record)[prop] = value;\n return true;\n }\n\n if (prop in previousState) {\n if (isRef(previousState[prop])) {\n (previousState[prop] as Ref).value = value;\n return true;\n }\n console.error(`[Options API Shim] Cannot set property \"${prop}\" - property is not a ref or is readonly`);\n return false;\n }\n\n if (Object.hasOwn(props, prop)) {\n console.error(\n `[Options API Shim] Cannot set property \"${prop}\" - it is a component prop and is read-only.`,\n );\n return false;\n }\n\n console.error(`[Options API Shim] Cannot set property \"${prop}\" - property not found in component state`);\n return false;\n },\n },\n );\n}\n\n/**\n * Converts Options API computed properties to Composition API computed refs\n */\nfunction convertComputed(computedDefs: Record, thisProxy: object): Record {\n const converted: Record = {};\n\n Object.entries(computedDefs).forEach(([name, computedDef]) => {\n if (typeof computedDef === 'function') {\n // Simple getter\n converted[name] = computed(() => computedDef.call(thisProxy));\n } else if (computedDef && typeof computedDef === 'object' && (computedDef.get || computedDef.set)) {\n // Getter/setter\n const getter = computedDef.get ? () => computedDef.get!.call(thisProxy) : undefined;\n const setter = computedDef.set ? (val: unknown) => computedDef.set!.call(thisProxy, val) : undefined;\n\n if (getter && setter) {\n converted[name] = computed({\n get: getter,\n set: setter,\n });\n } else if (getter) {\n converted[name] = computed(getter);\n } else {\n console.error(\n `[Options-Composition-Shim] Computed property \"${name}\" has a setter but no getter. ` +\n 'A computed property must have at least a getter. The property will be skipped.',\n );\n }\n }\n });\n\n return converted;\n}\n\n/**\n * Converts Options API data() function to refs\n */\nfunction convertData(dataFn: (() => Record) | Record): Record {\n const data = typeof dataFn === 'function' ? dataFn() : dataFn;\n const converted: Record = {};\n\n if (!data || typeof data !== 'object') {\n return converted;\n }\n\n Object.entries(data).forEach(([key, value]) => {\n converted[key] = ref(value);\n });\n\n return converted;\n}\n\n/**\n * Registers a single watcher from an Options API watch handler definition.\n * Handles function, object-with-options, and string-method-name forms.\n */\nfunction registerSingleWatcher(source: () => unknown, handler: SingleWatchDefinition, thisProxy: object): void {\n if (typeof handler === 'function') {\n watch(source, (newVal: unknown, oldVal: unknown) => {\n handler.call(thisProxy, newVal, oldVal);\n });\n } else if (typeof handler === 'object' && handler.handler) {\n const options: WatchOptions = {};\n if (handler.immediate !== undefined) options.immediate = handler.immediate;\n if (handler.deep !== undefined) options.deep = handler.deep;\n if (handler.flush !== undefined) options.flush = handler.flush;\n\n watch(\n source,\n (newVal: unknown, oldVal: unknown) => {\n handler.handler.call(thisProxy, newVal, oldVal);\n },\n options,\n );\n } else if (typeof handler === 'string') {\n const methodName = handler;\n watch(source, (newVal: unknown, oldVal: unknown) => {\n const proxyAsState = thisProxy as ComponentState;\n if (proxyAsState[methodName] && typeof proxyAsState[methodName] === 'function') {\n (proxyAsState[methodName] as AnyFn)(newVal, oldVal);\n } else {\n console.error(\n `[Options API Shim] Watch handler \"${methodName}\" is not a function or does not exist on the component.`,\n );\n }\n });\n }\n}\n\n/**\n * Sets up watchers for Options API watch configuration\n */\nfunction setupWatchers(watchConfig: Record, thisProxy: object): void {\n Object.entries(watchConfig).forEach(([key, handler]) => {\n if (key.includes('.')) {\n console.warn(\n `[Options API Shim] Dot-notation watch path \"${key}\" is not supported by the compatibility shim. ` +\n `Please migrate your watcher to Composition API.`,\n );\n return;\n }\n\n const source = (): unknown => (thisProxy as ComponentState)[key];\n\n if (Array.isArray(handler)) {\n handler.forEach((h) => registerSingleWatcher(source, h, thisProxy));\n } else {\n registerSingleWatcher(source, handler, thisProxy);\n }\n });\n}\n\n/**\n * Hooks that have already executed by the time the component is mounted.\n * If the override is applied late (after setup), these are called immediately.\n */\nconst ALREADY_PASSED_WHEN_MOUNTED = new Set([\n 'beforeCreate',\n 'created',\n 'beforeMount',\n 'mounted',\n]);\n\n/**\n * Registers Options API lifecycle hooks using their Composition API equivalents.\n * Hooks mapped to `null` (beforeCreate, created) are called immediately since\n * setup() is the Composition API equivalent of both.\n *\n * When the override is applied late (after setup has returned, e.g. via the\n * async override registry processing), `getCurrentInstance()` returns null\n * and `on*` registration functions cannot be used. In that case:\n * - Hooks that have already passed (beforeCreate, created, beforeMount, mounted)\n * are invoked immediately.\n * - Future hooks (beforeUnmount, unmounted, etc.) cannot be registered and\n * a warning is logged.\n */\nfunction setupLifecycleHooks(hooks: Partial>, thisProxy: object): void {\n const instance = getCurrentInstance();\n\n (Object.entries(hooks) as Array<[LifecycleHookName, LifecycleHookFn[] | undefined]>).forEach(([hookName, handlers]) => {\n if (!handlers) {\n return;\n }\n\n const compositionHook = LIFECYCLE_HOOK_MAP[hookName];\n\n handlers.forEach((handler) => {\n if (compositionHook === null) {\n handler.call(thisProxy);\n return;\n }\n\n if (instance) {\n compositionHook(() => {\n handler.call(thisProxy);\n });\n } else if (ALREADY_PASSED_WHEN_MOUNTED.has(hookName)) {\n handler.call(thisProxy);\n } else {\n console.warn(\n `[Options API Shim] Lifecycle hook \"${hookName}\" could not be registered because ` +\n `the override was applied after setup(). Only beforeCreate, created, beforeMount, ` +\n `and mounted are supported for late-applied overrides.`,\n );\n }\n });\n });\n}\n\nconst UNSUPPORTED_OPTIONS = [\n 'components',\n 'directives',\n 'provide',\n 'template',\n 'extends',\n 'inheritAttrs',\n 'emits',\n] as const;\n\n/**\n * Checks for unsupported features and logs appropriate errors/warnings\n */\nfunction checkUnsupportedFeatures(componentName: string, config: ComponentConfig): void {\n if (config.render && typeof config.render === 'function') {\n console.error(\n `[Options API Shim] Custom render() functions are not supported by the compatibility shim. ` +\n `Component \"${componentName}\" will not work correctly. ` +\n `Please migrate to Composition API.`,\n );\n }\n\n const extended = config as ExtendedComponentConfig;\n UNSUPPORTED_OPTIONS.forEach((key) => {\n if (extended[key]) {\n console.warn(\n `[Options API Shim] \"${key}\" is not supported by the compatibility shim ` +\n `in component \"${componentName}\". This option will be ignored.`,\n );\n }\n });\n}\n\n/**\n * Reports the activated compatibility shim as deprecated: warns before 6.8, throws once V6_8_0_0 is active.\n */\nfunction reportShimDeprecation(componentName: string): void {\n // @deprecated tag:v6.8.0 - Override Composition API components with Shopware.Component.overrideComponentSetup().\n Shopware.Feature.triggerDeprecationOrThrow(\n 'V6_8_0_0',\n `Component \"${componentName}\" is being overridden with Options API patterns, ` +\n `but the target uses Composition API. A compatibility shim has been activated. ` +\n `This is a temporary solution and may have limitations. ` +\n `Please migrate your override to use Shopware.Component.overrideComponentSetup(). ` +\n `See: https://developer.shopware.com/docs/resources/references/core-reference/administration-reference/composition-api`,\n );\n}\n" +} diff --git a/web/public/bundles/shopware/code/586fdef4ace098a4013a434c0e524b9892a67dd7.json b/web/public/bundles/shopware/code/586fdef4ace098a4013a434c0e524b9892a67dd7.json new file mode 100644 index 00000000..6ab7017d --- /dev/null +++ b/web/public/bundles/shopware/code/586fdef4ace098a4013a434c0e524b9892a67dd7.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "586fdef4ace098a4013a434c0e524b9892a67dd7", + "language": "php", + "path": "src/Core/Content/Seo/SeoUrlPlaceholderHandler.php", + "schema": "codexray.code/1", + "text": " $parameters\n */\n public function generate($name, array $parameters = []): string\n {\n $path = $this->router->generate($name, $parameters);\n\n $request = $this->requestStack->getMainRequest();\n\n // getBaseUrl() includes the script name (e.g. /subdir/index.php), getBasePath() does not.\n // The domain never contains it, and placeholders are cached across requests.\n $stripped = $this->removePrefix($path, $request ? $request->getBaseUrl() : '');\n if ($stripped === $path) {\n $stripped = $this->removePrefix($path, $request ? $request->getBasePath() : '');\n }\n\n return self::DOMAIN_PLACEHOLDER . $stripped . '#';\n }\n\n public function replace(string $content, string $host, SalesChannelContext $context): string\n {\n return Profiler::trace('seo-url-replacer', function () use ($content, $host, $context) {\n // Cheap literal pre-check before running the regex engine over the whole response body.\n // The placeholder is a fixed marker with no regex meta-characters, so its literal presence\n // is a necessary condition for any match. Avoids two full-body regex passes on responses\n // without placeholders (e.g. JSON/AJAX responses routed through the same replacer).\n if (!str_contains($content, self::DOMAIN_PLACEHOLDER)) {\n return $content;\n }\n\n $matches = [];\n\n if (preg_match_all('/' . self::DOMAIN_PLACEHOLDER . '[^#]*#/', $content, $matches)) {\n $mapping = $this->createDefaultMapping($matches[0]);\n $seoMapping = $this->createSeoMapping($context, $mapping);\n foreach ($seoMapping as $key => $value) {\n if ($context->getSalesChannel()->getTypeId() !== Defaults::SALES_CHANNEL_TYPE_API) {\n $seoMapping[$key] = $host . '/' . ltrim($value, '/');\n\n continue;\n }\n\n $externalStorefrontDomain = $this->getExternalStorefrontDomain($context);\n if ($externalStorefrontDomain === null) {\n continue;\n }\n $seoMapping[$key] = rtrim($externalStorefrontDomain, '/') . '/' . ltrim($value, '/');\n }\n\n return (string) \\preg_replace_callback('/' . self::DOMAIN_PLACEHOLDER . '[^#]*#/', static fn (array $match) => $seoMapping[$match[0]], $content);\n }\n\n return $content;\n });\n }\n\n private function getExternalStorefrontDomain(SalesChannelContext $context): ?string\n {\n foreach ($context->getSalesChannel()->getDomains() ?? [] as $domain) {\n if (!$domain->getIsExternalStorefront() || $domain->getLanguageId() !== $context->getLanguageId()) {\n continue;\n }\n\n return $domain->getUrl();\n }\n\n return null;\n }\n\n /**\n * @param list $matches\n *\n * @return array\n */\n private function createDefaultMapping(array $matches): array\n {\n $mapping = [];\n $placeholder = \\strlen(self::DOMAIN_PLACEHOLDER);\n foreach ($matches as $match) {\n // remove self::DOMAIN_PLACEHOLDER from start\n // remove # from end\n $mapping[$match] = str_replace('\\/', '/', substr((string) $match, $placeholder, -1));\n }\n\n return $mapping;\n }\n\n /**\n * @param array $mapping\n *\n * @return array\n */\n private function createSeoMapping(SalesChannelContext $context, array $mapping): array\n {\n if ($mapping === []) {\n return [];\n }\n\n $query = new QueryBuilder($this->connection);\n $query->setTitle('seo_url::replacement');\n $query->addSelect('seo_path_info', 'path_info', 'sales_channel_id');\n\n $query->from('seo_url');\n $query->andWhere('seo_url.is_canonical = 1');\n $query->andWhere('seo_url.path_info IN (:pathInfo)');\n $query->andWhere('seo_url.language_id = :languageId');\n $query->andWhere('seo_url.sales_channel_id = :salesChannelId OR seo_url.sales_channel_id IS NULL');\n $query->andWhere('seo_url.is_deleted = 0');\n $query->setParameter('pathInfo', $mapping, ArrayParameterType::STRING);\n $query->setParameter('languageId', Uuid::fromHexToBytes($context->getLanguageId()));\n $query->setParameter('salesChannelId', Uuid::fromHexToBytes($context->getSalesChannelId()));\n\n $seoUrls = $query->executeQuery()->fetchAllAssociative();\n\n $mapped = [];\n\n foreach ($seoUrls as $seoUrl) {\n $key = self::DOMAIN_PLACEHOLDER . $seoUrl['path_info'] . '#';\n\n // prefer sales channel specific seo urls\n if ($seoUrl['sales_channel_id'] === null && isset($mapped[$key])) {\n continue;\n }\n\n $seoPathInfo = trim((string) $seoUrl['seo_path_info']);\n if ($seoPathInfo === '') {\n continue;\n }\n $mapping[$key] = $seoPathInfo;\n $mapped[$key] = true;\n }\n\n return $mapping;\n }\n\n private function removePrefix(string $subject, string $prefix): string\n {\n if (!$prefix || mb_strpos($subject, $prefix) !== 0) {\n return $subject;\n }\n\n return mb_substr($subject, mb_strlen($prefix));\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/587cf16c4edcf3899b1c3d29c6155e33514a45fd.json b/web/public/bundles/shopware/code/587cf16c4edcf3899b1c3d29c6155e33514a45fd.json new file mode 100644 index 00000000..0b08dc93 --- /dev/null +++ b/web/public/bundles/shopware/code/587cf16c4edcf3899b1c3d29c6155e33514a45fd.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "587cf16c4edcf3899b1c3d29c6155e33514a45fd", + "language": "php", + "path": "src/Core/System/CustomField/CustomFieldDefinition.php", + "schema": "codexray.code/1", + "text": " false,\n 'allowCartExpose' => false,\n 'storeApiAware' => true,\n 'includeInSearch' => false,\n ];\n }\n\n protected function defineFields(): FieldCollection\n {\n return new FieldCollection([\n (new IdField('id', 'id'))->addFlags(new PrimaryKey(), new Required())->setDescription('Unique identity of a custom field.'),\n (new StringField('name', 'name'))->addFlags(new Required(), new Immutable())->setDescription('Unique name of a custom field.'),\n (new StringField('type', 'type'))->addFlags(new Required(), new Immutable())->setDescription('Custom field type can be selection, media , etc'),\n (new JsonField('config', 'config', [\n new StringField('componentName', 'componentName'),\n new StringField('customFieldType', 'customFieldType'),\n new IntField('customFieldPosition', 'customFieldPosition'),\n new StringField('dateType', 'dateType'),\n new StringField('entity', 'entity'),\n new StringField('numberType', 'numberType'),\n new StringField('type', 'type'),\n new StringField('validation', 'validation'),\n ], [], allowAdditionalProperties: true))->setDescription('Specifies detailed information about the component.'),\n (new BoolField('active', 'active'))->setDescription('When boolean value is `true`, the custom field is enabled for use.'),\n (new FkField('set_id', 'customFieldSetId', CustomFieldSetDefinition::class))->setDescription('Unique identity of customFieldSet.'),\n (new BoolField('allow_customer_write', 'allowCustomerWrite'))->setDescription('When boolean value is `true`, then customers have permission to write data in the custom field.'),\n (new BoolField('allow_cart_expose', 'allowCartExpose'))->setDescription('When boolean value is `true`, then the custom field\\'s data can be exposed within the shopping cart or order process.'),\n new BoolField('store_api_aware', 'storeApiAware'),\n new BoolField('include_in_search', 'includeInSearch'),\n new ManyToOneAssociationField('customFieldSet', 'set_id', CustomFieldSetDefinition::class, 'id', false),\n (new OneToManyAssociationField('productSearchConfigFields', ProductSearchConfigFieldDefinition::class, 'custom_field_id', 'id'))->addFlags(new CascadeDelete()),\n ]);\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/5954df2be19c78533b23618f5c578a9740f9c8fb.json b/web/public/bundles/shopware/code/5954df2be19c78533b23618f5c578a9740f9c8fb.json new file mode 100644 index 00000000..3ee56dd5 --- /dev/null +++ b/web/public/bundles/shopware/code/5954df2be19c78533b23618f5c578a9740f9c8fb.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "5954df2be19c78533b23618f5c578a9740f9c8fb", + "language": "javascript", + "path": "src/Administration/Resources/app/administration/src/module/sw-bulk-edit/service/handler/bulk-edit-customer.handler.js", + "schema": "codexray.code/1", + "text": "import BulkEditBaseHandler from './bulk-edit-base.handler';\nimport RetryHelper from '../../../../core/helper/retry.helper';\n\nconst types = Shopware.Utils.types;\n\n/**\n * @class\n * @extends BulkEditBaseHandler\n * @sw-package checkout\n */\nclass BulkEditCustomerHandler extends BulkEditBaseHandler {\n constructor() {\n super();\n this.name = 'bulkEditCustomerHandler';\n this.entityName = 'customer';\n this.entityIds = [];\n this.customerGroupRegistrationService = Shopware.Service('customerGroupRegistrationService');\n this.customerRepository = Shopware.Service('repositoryFactory').create('customer');\n }\n\n async bulkEdit(entityIds, payload) {\n this.entityIds = entityIds;\n\n const syncPayload = await this.buildBulkSyncPayload(payload);\n\n if (types.isEmpty(syncPayload)) {\n return Promise.resolve({ success: true });\n }\n\n return RetryHelper.retry(() => {\n return this.syncService.sync(\n syncPayload,\n {},\n {\n 'single-operation': 1,\n 'sw-language-id': Shopware.Context.api.languageId,\n },\n );\n });\n }\n\n async bulkEditRequestedGroup(entityIds, payload) {\n const promises = [];\n const shouldTriggerFlows = Shopware.Store.get('swBulkEdit').isFlowTriggered;\n\n payload.forEach((change) => {\n if (!change.value) {\n return;\n }\n\n switch (change.value) {\n case 'decline':\n promises.push(\n RetryHelper.retry(() => {\n return this.customerGroupRegistrationService.decline(\n entityIds,\n {},\n {\n 'sw-skip-trigger-flow': !shouldTriggerFlows,\n },\n {\n silentError: true,\n },\n );\n }),\n );\n break;\n case 'accept':\n promises.push(\n RetryHelper.retry(() => {\n return this.customerGroupRegistrationService.accept(\n entityIds,\n {},\n {\n 'sw-skip-trigger-flow': !shouldTriggerFlows,\n },\n {\n silentError: true,\n },\n );\n }),\n );\n break;\n default:\n throw new Error();\n }\n });\n\n return Promise.all(promises);\n }\n}\n\n// eslint-disable-next-line sw-deprecation-rules/private-feature-declarations\nexport default BulkEditCustomerHandler;\n" +} diff --git a/web/public/bundles/shopware/code/596b267b596062176432f42cf94e06a62ef9e8f4.json b/web/public/bundles/shopware/code/596b267b596062176432f42cf94e06a62ef9e8f4.json new file mode 100644 index 00000000..8a53f4a1 --- /dev/null +++ b/web/public/bundles/shopware/code/596b267b596062176432f42cf94e06a62ef9e8f4.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "596b267b596062176432f42cf94e06a62ef9e8f4", + "language": "php", + "path": "src/Core/Framework/Adapter/Cache/Http/HttpCacheKeyGenerator.php", + "schema": "codexray.code/1", + "text": "add('uri', $this->getRequestUri($request));\n\n $event->add('hash', $this->cacheHash);\n\n $this->addVariantHeaders($request, $event);\n\n $this->addCookies($request, $response, $event);\n\n $this->dispatcher->dispatch($event);\n\n $parts = $event->getParts();\n\n return new CacheKey(\n 'http-cache-' . Hasher::hash(implode('|', $parts)),\n $event->isCacheable\n );\n }\n\n private function getRequestUri(Request $request): string\n {\n $params = $request->query->all();\n foreach (array_keys($params) as $key) {\n if (\\in_array($key, $this->ignoredParameters, true)) {\n unset($params[$key]);\n }\n }\n ksort($params);\n $params = http_build_query($params);\n\n $baseUrl = $request->attributes->get(self::SALES_CHANNEL_BASE_URL) ?? '';\n \\assert(\\is_string($baseUrl));\n\n return \\sprintf(\n '%s%s%s%s',\n $request->getSchemeAndHttpHost(),\n $baseUrl,\n $request->getPathInfo(),\n '?' . $params\n );\n }\n\n /**\n * Shopware response may be influenced by headers, not only by domain URL or cookies.\n * Such headers should be included in the cache key calculation.\n * Requests that do not carry these headers are not affected.\n */\n private function addVariantHeaders(Request $request, HttpCacheKeyEvent $event): void\n {\n foreach (HttpCacheVariantHeaders::HEADERS as $header) {\n // the cache hash needs cookie precedence and is handled in addCookies()\n if ($header === self::CONTEXT_CACHE_COOKIE) {\n continue;\n }\n\n // Values are matched case-sensitive: sw-access-key is a case-sensitive and language/currency ids\n // must be lowercase hex, so any other casing is a different (and invalid) request.\n // This behavior is similar to how headers mentioned in Vary are handled by reverse proxies.\n $value = (string) $request->headers->get($header, '');\n if ($value !== '') {\n $event->add($header, $value);\n }\n }\n }\n\n private function addCookies(Request $request, ?Response $response, HttpCacheKeyEvent $event): void\n {\n // The response cookie carries the server-computed hash on write and stays authoritative.\n // On the request side the header wins over the cookie, matching the poisoning guard in\n // CacheResponseSubscriber and priority in the Shopware reverse proxies configs.\n $cacheCookie = $this->getResponseCookieValue($response, self::CONTEXT_CACHE_COOKIE)\n ?? $request->headers->get(self::CONTEXT_CACHE_COOKIE)\n ?? $this->getRequestCookieValue($request, self::CONTEXT_CACHE_COOKIE);\n\n if ($cacheCookie) {\n $event->add(\n self::CONTEXT_CACHE_COOKIE,\n $cacheCookie\n );\n\n if ($cacheCookie === HttpCacheCookieEvent::NOT_CACHEABLE) {\n $event->isCacheable = false;\n }\n\n return;\n }\n\n /** @deprecated tag:v6.8.0 - Currency cookie will be removed */\n if (!Feature::isActive('PERFORMANCE_TWEAKS') && !Feature::isActive('CACHE_REWORK')) {\n if ($currencyCookie = $this->getCookieValue($request, $response, self::CURRENCY_COOKIE)) {\n $event->add(\n self::CURRENCY_COOKIE,\n $currencyCookie\n );\n\n return;\n }\n }\n\n if ($request->attributes->has(SalesChannelRequest::ATTRIBUTE_DOMAIN_CURRENCY_ID)) {\n $event->add(\n SalesChannelRequest::ATTRIBUTE_DOMAIN_CURRENCY_ID,\n $request->attributes->get(SalesChannelRequest::ATTRIBUTE_DOMAIN_CURRENCY_ID)\n );\n }\n }\n\n /**\n * get Cookie value, if exists use response cookie value instead of request cookie value as request cookies can be overwritten by the client\n */\n private function getCookieValue(Request $request, ?Response $response, string $cookieName): ?string\n {\n return $this->getResponseCookieValue($response, $cookieName)\n ?? $this->getRequestCookieValue($request, $cookieName);\n }\n\n private function getResponseCookieValue(?Response $response, string $cookieName): ?string\n {\n if (!$response) {\n return null;\n }\n\n $cookie = Cookie::create($cookieName);\n\n $responseCookies = $response->headers->getCookies(ResponseHeaderBag::COOKIES_ARRAY);\n\n $responseCookie = $responseCookies[$cookie->getDomain() ?? ''][$cookie->getPath()][$cookieName] ?? null;\n\n // if the response contains the cookie, we use it instead of the request value\n // as the request value can be overwritten by the client;\n // however the response cookie is only set if it differs from the request cookie,\n // so callers need to fall back to the request when the response cookie is not set\n // If the cookie was cleared during the request, return an explicit empty string and preserve it\n // instead of falling back to the outdated request value.\n return $responseCookie !== null ? ($responseCookie->getValue() ?? '') : null;\n }\n\n private function getRequestCookieValue(Request $request, string $cookieName): ?string\n {\n if ($request->cookies->has($cookieName)) {\n return (string) $request->cookies->get($cookieName);\n }\n\n return null;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/5b5e37fe63ef8242f8b8d94a85e27a497a5285f4.json b/web/public/bundles/shopware/code/5b5e37fe63ef8242f8b8d94a85e27a497a5285f4.json new file mode 100644 index 00000000..98faee5e --- /dev/null +++ b/web/public/bundles/shopware/code/5b5e37fe63ef8242f8b8d94a85e27a497a5285f4.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "5b5e37fe63ef8242f8b8d94a85e27a497a5285f4", + "language": "php", + "path": "src/Core/Installer/Controller/DatabaseConfigurationController.php", + "schema": "codexray.code/1", + "text": "getSession();\n $connectionInfo = $session->get(DatabaseConnectionInformation::class) ?? $this->getInitialConnectionInformation();\n\n if ($request->isMethod('GET')) {\n return $this->renderInstaller('@Installer/installer/database-configuration.html.twig', [\n 'connectionInfo' => $connectionInfo,\n 'error' => null,\n ]);\n }\n\n $connectionInfo = (new DatabaseConnectionInformation())->assign($request->request->all());\n\n try {\n try {\n // check connection\n $connection = $this->connectionFactory->getConnection($connectionInfo);\n } catch (DriverException $e) {\n // Unknown database https://dev.mysql.com/doc/mysql-errors/8.4/en/server-error-reference.html#error_er_bad_db_error\n if ($e->getCode() !== 1049) {\n throw $e;\n }\n\n $connection = $this->connectionFactory->getConnection($connectionInfo, true);\n\n $this->setupDatabaseAdapter->createDatabase($connection, $connectionInfo->getDatabaseName());\n\n $connection = $this->connectionFactory->getConnection($connectionInfo);\n }\n\n $session->set(DatabaseConnectionInformation::class, $connectionInfo);\n\n $this->blueGreenDeploymentService->setEnvironmentVariable($connection, $session);\n\n if ($this->setupDatabaseAdapter->getTableCount($connection, $connectionInfo->getDatabaseName())) {\n $connectionInfo->setDatabaseName('');\n\n return $this->renderInstaller('@Installer/installer/database-configuration.html.twig', [\n 'connectionInfo' => $connectionInfo,\n 'error' => $this->translator->trans('shopware.installer.database-configuration_non_empty_database'),\n ]);\n }\n } catch (DatabaseSetupException) {\n return $this->renderInstaller('@Installer/installer/database-configuration.html.twig', [\n 'connectionInfo' => $connectionInfo,\n 'error' => $this->translator->trans('shopware.installer.database-configuration_invalid_requirements'),\n ]);\n } catch (\\Throwable $e) {\n return $this->renderInstaller('@Installer/installer/database-configuration.html.twig', [\n 'connectionInfo' => $connectionInfo,\n 'error' => $e->getMessage(),\n ]);\n }\n\n return $this->redirectToRoute('installer.database-import');\n }\n\n #[Route(path: '/installer/database-information', name: 'installer.database-information', methods: ['POST'])]\n public function databaseInformation(Request $request): JsonResponse\n {\n $connectionInfo = (new DatabaseConnectionInformation())->assign($request->request->all());\n\n try {\n $connection = $this->connectionFactory->getConnection($connectionInfo, true);\n } catch (\\Throwable $e) {\n return new JsonResponse([\n 'error' => match (true) {\n $e instanceof DatabaseSetupException => $this->translator->trans('shopware.installer.database-configuration_invalid_requirements'),\n preg_match('/SQLSTATE\\[HY000] \\[1045]/', $e->getMessage()) === 1 => $this->translator->trans('shopware.installer.database-configuration_access_denied'),\n preg_match('/SQLSTATE\\[HY000] \\[2002]/', $e->getMessage()) === 1 => $this->translator->trans('shopware.installer.database-configuration_host_not_found'),\n default => $e->getMessage(),\n },\n ], Response::HTTP_BAD_REQUEST);\n }\n\n // No need for listing the following schemas\n $ignoredSchemas = ['information_schema', 'performance_schema', 'sys', 'mysql'];\n $databaseNames = $this->setupDatabaseAdapter->getExistingDatabases($connection, $ignoredSchemas);\n\n $result = [];\n foreach ($databaseNames as $databaseName) {\n $result[$databaseName] = $this->setupDatabaseAdapter->getTableCount($connection, $databaseName) > 0;\n }\n\n return new JsonResponse($result);\n }\n\n private function getInitialConnectionInformation(): DatabaseConnectionInformation\n {\n try {\n $connectionInfo = DatabaseConnectionInformation::fromEnv();\n $connectionInfo->assign(['password' => null]);\n\n return $connectionInfo;\n } catch (MaintenanceException) {\n return new DatabaseConnectionInformation();\n }\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/5fbe8fd98e89e77aa71549da5b6739e62d8a795d.json b/web/public/bundles/shopware/code/5fbe8fd98e89e77aa71549da5b6739e62d8a795d.json new file mode 100644 index 00000000..1b3a0ca9 --- /dev/null +++ b/web/public/bundles/shopware/code/5fbe8fd98e89e77aa71549da5b6739e62d8a795d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "5fbe8fd98e89e77aa71549da5b6739e62d8a795d", + "language": "php", + "path": "src/Storefront/Pagelet/Country/CountryStateDataPageletCriteriaEvent.php", + "schema": "codexray.code/1", + "text": "criteria;\n }\n\n public function getContext(): Context\n {\n return $this->salesChannelContext->getContext();\n }\n\n public function getSalesChannelContext(): SalesChannelContext\n {\n return $this->salesChannelContext;\n }\n\n public function getRequest(): Request\n {\n return $this->request;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/60101db07df2eb57a2d2998b46de45a38e3c0500.json b/web/public/bundles/shopware/code/60101db07df2eb57a2d2998b46de45a38e3c0500.json new file mode 100644 index 00000000..01ea20bc --- /dev/null +++ b/web/public/bundles/shopware/code/60101db07df2eb57a2d2998b46de45a38e3c0500.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "60101db07df2eb57a2d2998b46de45a38e3c0500", + "language": "php", + "path": "src/Core/Content/Category/SalesChannel/CategoryRoute.php", + "schema": "codexray.code/1", + "text": " [StoreApiRouteScope::ID]])]\nclass CategoryRoute extends AbstractCategoryRoute\n{\n final public const HOME = 'home';\n\n /**\n * @internal\n *\n * @param SalesChannelRepository $categoryRepository\n */\n public function __construct(\n private readonly SalesChannelRepository $categoryRepository,\n private readonly SalesChannelCmsPageLoaderInterface $cmsPageLoader,\n private readonly EntityCmsSlotConfigInheritanceBuilder $cmsSlotConfigInheritanceBuilder,\n private readonly CategoryDefinition $categoryDefinition,\n private readonly CacheTagCollector $cacheTagCollector,\n private readonly ExtensionDispatcher $extensions,\n ) {\n }\n\n public static function buildName(string $id): string\n {\n return 'category-route-' . $id;\n }\n\n public function getDecorated(): AbstractCategoryRoute\n {\n throw new DecorationPatternException(self::class);\n }\n\n #[Route(\n path: '/store-api/category/{navigationId}',\n name: 'store-api.category.detail',\n methods: [Request::METHOD_GET, Request::METHOD_POST],\n defaults: [PlatformRequest::ATTRIBUTE_HTTP_CACHE => true],\n )]\n public function load(string $navigationId, Request $request, SalesChannelContext $context): CategoryRouteResponse\n {\n return $this->extensions->publish(\n name: CategoryRouteExtension::NAME,\n extension: new CategoryRouteExtension($navigationId, $request, $context),\n function: $this->_load(...),\n );\n }\n\n private function _load(string $navigationId, Request $request, SalesChannelContext $context): CategoryRouteResponse\n {\n if ($navigationId === self::HOME) {\n $navigationId = $context->getSalesChannel()->getNavigationCategoryId();\n $request->attributes->set('navigationId', $navigationId);\n\n $routeParams = $request->attributes->get('_route_params', []);\n $routeParams['navigationId'] = $navigationId;\n $request->attributes->set('_route_params', $routeParams);\n }\n\n $this->cacheTagCollector->addTag(self::buildName($navigationId));\n\n $category = $this->loadCategory($navigationId, $context);\n\n $categoryHasContentlessPageType = \\in_array($category->getType(), [CategoryDefinition::TYPE_FOLDER, CategoryDefinition::TYPE_LINK], true);\n if ($categoryHasContentlessPageType && $context->getSalesChannel()->getNavigationCategoryId() !== $navigationId) {\n if ($category->getType() === CategoryDefinition::TYPE_LINK) {\n return new CategoryRouteResponse($category);\n }\n\n throw CategoryException::categoryNotFound($navigationId);\n }\n\n $pageId = $category->getCmsPageId();\n $salesChannel = $context->getSalesChannel();\n\n if ($category->getId() === $salesChannel->getNavigationCategoryId() && $salesChannel->getHomeCmsPageId()) {\n $pageId = $salesChannel->getHomeCmsPageId();\n $slotConfig = $salesChannel->getTranslation('homeSlotConfig');\n } else {\n $slotConfig = $this->buildMergedCmsSlotConfig($category, $context);\n }\n\n if (!$pageId) {\n return new CategoryRouteResponse($category);\n }\n\n $resolverContext = new EntityResolverContext($context, $request, $this->categoryDefinition, $category);\n\n $pages = $this->cmsPageLoader->load(\n $request,\n $this->createCriteria($pageId, $request),\n $context,\n $slotConfig,\n $resolverContext,\n );\n\n $cmsPage = $pages->getEntities()->first();\n if ($cmsPage === null) {\n throw CategoryException::pageNotFound($pageId);\n }\n\n $category->setCmsPage($cmsPage);\n $category->setCmsPageId($pageId);\n\n return new CategoryRouteResponse($category);\n }\n\n private function loadCategory(string $categoryId, SalesChannelContext $context): CategoryEntity\n {\n $criteria = new Criteria([$categoryId]);\n $criteria->setTitle('category::data');\n\n $criteria->addAssociation('media');\n $criteria->addAssociation('translations');\n\n $category = $this->categoryRepository->search($criteria, $context)->getEntities()->get($categoryId);\n if (!$category instanceof CategoryEntity) {\n throw CategoryException::categoryNotFound($categoryId);\n }\n\n return $category;\n }\n\n private function createCriteria(string $pageId, Request $request): Criteria\n {\n $criteria = new Criteria([$pageId]);\n $criteria->setTitle('category::cms-page');\n\n $slots = RequestParamHelper::get($request, 'slots');\n\n if (\\is_string($slots)) {\n $slots = explode('|', $slots);\n }\n\n if (\\is_array($slots) && $slots !== []) {\n $criteria\n ->getAssociation('sections.blocks')\n ->addFilter(new EqualsAnyFilter('slots.id', $slots));\n }\n\n return $criteria;\n }\n\n /**\n * @return array>|null\n */\n private function buildMergedCmsSlotConfig(CategoryEntity $category, SalesChannelContext $context): ?array\n {\n return $this->cmsSlotConfigInheritanceBuilder->build(\n $category->getTranslations(),\n $context,\n );\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/60eb37acf2ceec59ca852297fee422b1a1e34824.json b/web/public/bundles/shopware/code/60eb37acf2ceec59ca852297fee422b1a1e34824.json new file mode 100644 index 00000000..b1ff3575 --- /dev/null +++ b/web/public/bundles/shopware/code/60eb37acf2ceec59ca852297fee422b1a1e34824.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "60eb37acf2ceec59ca852297fee422b1a1e34824", + "language": "php", + "path": "src/Storefront/Framework/Routing/ClearSiteDataListener.php", + "schema": "codexray.code/1", + "text": " $directives\n */\n public function __construct(private readonly array $directives)\n {\n }\n\n /**\n * @return array\n */\n public static function getSubscribedEvents(): array\n {\n return [\n StorefrontRouteScope::ID . '.scope.response' => 'onResponse',\n ];\n }\n\n public function onResponse(ResponseEvent $event): void\n {\n if ($this->directives === [] || !$event->isMainRequest()) {\n return;\n }\n\n if (!$this->isEligible($event->getRequest())) {\n return;\n }\n\n $event->getResponse()->headers->set(\n 'Clear-Site-Data',\n implode(', ', array_map(static fn (string $directive): string => '\"' . $directive . '\"', $this->directives))\n );\n }\n\n private function isEligible(Request $request): bool\n {\n if (!$request->attributes->getBoolean(PlatformRequest::ATTRIBUTE_CLEAR_SITE_DATA)) {\n return false;\n }\n\n // cacheable responses must not carry the header; `_httpCache` is not always\n // a bool, so it must not be read via `getBoolean()`\n if ($request->attributes->get(PlatformRequest::ATTRIBUTE_HTTP_CACHE)) {\n return false;\n }\n\n return $this->isDeliberateNavigation($request);\n }\n\n /**\n * Only a top-level navigation the visitor triggered themselves may wipe the origin.\n * A subresource (``, `fetch()`, an iframe) or a speculative prefetch must not\n * be enough to clear the visitor's browser data.\n */\n private function isDeliberateNavigation(Request $request): bool\n {\n if (!\\in_array($request->headers->get('Sec-Fetch-Site'), self::ALLOWED_FETCH_SITES, true)) {\n return false;\n }\n\n if ($request->headers->get('Sec-Fetch-Mode') !== 'navigate') {\n return false;\n }\n\n if ($request->headers->get('Sec-Fetch-Dest') !== 'document') {\n return false;\n }\n\n return !$request->headers->has('Sec-Purpose');\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/60f1003c2b4db1ed17a61aa4a65de7bba9f32de5.json b/web/public/bundles/shopware/code/60f1003c2b4db1ed17a61aa4a65de7bba9f32de5.json new file mode 100644 index 00000000..ee9e1c21 --- /dev/null +++ b/web/public/bundles/shopware/code/60f1003c2b4db1ed17a61aa4a65de7bba9f32de5.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "60f1003c2b4db1ed17a61aa4a65de7bba9f32de5", + "language": "php", + "path": "src/Storefront/Controller/AppController.php", + "schema": "codexray.code/1", + "text": " [StorefrontRouteScope::ID]])]\nfinal readonly class AppController\n{\n public function __construct(private AppJWTGenerateRoute $appJWTGenerateRoute)\n {\n }\n\n #[Route(\n path: '/app-system/{name}/generate-token',\n name: 'frontend.app-system.generate-token',\n defaults: [PlatformRequest::ATTRIBUTE_NO_STORE => true],\n methods: [Request::METHOD_POST]\n )]\n public function generateToken(string $name, SalesChannelContext $context): Response\n {\n try {\n return $this->appJWTGenerateRoute->generate($name, $context);\n } catch (AppException $e) {\n return new JsonResponse(['message' => $e->getMessage()], $e->getStatusCode());\n }\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/61aabf2b4d4d8db322ba45a0e81b889623634d6b.json b/web/public/bundles/shopware/code/61aabf2b4d4d8db322ba45a0e81b889623634d6b.json new file mode 100644 index 00000000..75e61535 --- /dev/null +++ b/web/public/bundles/shopware/code/61aabf2b4d4d8db322ba45a0e81b889623634d6b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "61aabf2b4d4d8db322ba45a0e81b889623634d6b", + "language": "php", + "path": "src/Administration/Command/GenerateEntitySchemaTypesCommand.php", + "schema": "codexray.code/1", + "text": "administrationRoot();\n $schemaFile = $administrationRoot . '/test/_mocks_/entity-schema.json';\n\n $io->section('Dumping the entity schema');\n $dumpExit = $this->dumpEntitySchema($schemaFile, $output);\n\n if ($dumpExit !== Command::SUCCESS) {\n return $dumpExit;\n }\n\n $tsNode = $administrationRoot . '/node_modules/.bin/ts-node';\n\n if (!is_file($tsNode)) {\n $io->error([\n \\sprintf('The Administration\\'s Node dependencies are not installed (%s is missing).', $tsNode),\n \\sprintf('Run \"npm ci\" in %s first, then re-run this command.', $administrationRoot),\n ]);\n\n return Command::FAILURE;\n }\n\n $io->section('Converting to TypeScript definitions');\n\n return $this->convertEntitySchema($administrationRoot, $output);\n }\n\n /**\n * The Administration app root, resolved from the bundle class location so it\n * works in the platform monorepo and in a vendor/ install alike.\n */\n protected function administrationRoot(): string\n {\n return $this->administrationRootPath\n ?? \\dirname((string) (new \\ReflectionClass(Administration::class))->getFileName())\n . '/Resources/app/administration';\n }\n\n /**\n * Dumps the entity schema to the given file via the core framework:schema command. Overridable for tests.\n */\n protected function dumpEntitySchema(string $schemaFile, OutputInterface $output): int\n {\n $application = $this->getApplication();\n\n if ($application === null) {\n return Command::FAILURE;\n }\n\n return $application->find('framework:schema')->run(\n new ArrayInput([\n 'outfile' => $schemaFile,\n '--schema-format' => 'entity-schema',\n ]),\n $output,\n );\n }\n\n /**\n * Converts the dumped schema to entity-schema-definition.d.ts via the ts-node converter. Overridable for tests.\n */\n protected function convertEntitySchema(string $administrationRoot, OutputInterface $output): int\n {\n $process = new Process(\n [\n $administrationRoot . '/node_modules/.bin/ts-node',\n '--transpileOnly',\n $administrationRoot . '/scripts/entitySchemaConverter/convert-schema.ts',\n ],\n $administrationRoot,\n null,\n null,\n null,\n );\n\n return $process->run(static function (string $type, string $buffer) use ($output): void {\n $output->write($buffer);\n });\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/634d1b2da2970d0ef145c45444c2d79cde9268d5.json b/web/public/bundles/shopware/code/634d1b2da2970d0ef145c45444c2d79cde9268d5.json new file mode 100644 index 00000000..3ad861ad --- /dev/null +++ b/web/public/bundles/shopware/code/634d1b2da2970d0ef145c45444c2d79cde9268d5.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "634d1b2da2970d0ef145c45444c2d79cde9268d5", + "language": "php", + "path": "src/Core/System/Country/CountryEntity.php", + "schema": "codexray.code/1", + "text": ">\n */\n protected array $addressFormat;\n\n public function getName(): ?string\n {\n return $this->name;\n }\n\n public function setName(?string $name): void\n {\n $this->name = $name;\n }\n\n public function getIso(): ?string\n {\n return $this->iso;\n }\n\n public function setIso(?string $iso): void\n {\n $this->iso = $iso;\n }\n\n public function getPosition(): int\n {\n return $this->position;\n }\n\n public function setPosition(int $position): void\n {\n $this->position = $position;\n }\n\n public function getActive(): bool\n {\n return $this->active;\n }\n\n public function setActive(bool $active): void\n {\n $this->active = $active;\n }\n\n public function getShippingAvailable(): bool\n {\n return $this->shippingAvailable;\n }\n\n public function setShippingAvailable(bool $shippingAvailable): void\n {\n $this->shippingAvailable = $shippingAvailable;\n }\n\n public function getIso3(): ?string\n {\n return $this->iso3;\n }\n\n public function setIso3(?string $iso3): void\n {\n $this->iso3 = $iso3;\n }\n\n public function getDisplayStateInRegistration(): bool\n {\n return $this->displayStateInRegistration;\n }\n\n public function setDisplayStateInRegistration(bool $displayStateInRegistration): void\n {\n $this->displayStateInRegistration = $displayStateInRegistration;\n }\n\n public function getForceStateInRegistration(): bool\n {\n return $this->forceStateInRegistration;\n }\n\n public function setForceStateInRegistration(bool $forceStateInRegistration): void\n {\n $this->forceStateInRegistration = $forceStateInRegistration;\n }\n\n public function getCheckVatIdPattern(): bool\n {\n return $this->checkVatIdPattern;\n }\n\n public function setCheckVatIdPattern(bool $checkVatIdPattern): void\n {\n $this->checkVatIdPattern = $checkVatIdPattern;\n }\n\n public function getVatIdPattern(): ?string\n {\n return $this->vatIdPattern;\n }\n\n public function setVatIdPattern(?string $vatIdPattern): void\n {\n $this->vatIdPattern = $vatIdPattern;\n }\n\n public function getStates(): ?CountryStateCollection\n {\n return $this->states;\n }\n\n public function setStates(CountryStateCollection $states): void\n {\n $this->states = $states;\n }\n\n public function getTranslations(): ?CountryTranslationCollection\n {\n return $this->translations;\n }\n\n public function setTranslations(CountryTranslationCollection $translations): void\n {\n $this->translations = $translations;\n }\n\n public function getOrderAddresses(): ?OrderAddressCollection\n {\n return $this->orderAddresses;\n }\n\n public function setOrderAddresses(OrderAddressCollection $orderAddresses): void\n {\n $this->orderAddresses = $orderAddresses;\n }\n\n public function getCustomerAddresses(): ?CustomerAddressCollection\n {\n return $this->customerAddresses;\n }\n\n public function setCustomerAddresses(CustomerAddressCollection $customerAddresses): void\n {\n $this->customerAddresses = $customerAddresses;\n }\n\n public function getSalesChannelDefaultAssignments(): ?SalesChannelCollection\n {\n return $this->salesChannelDefaultAssignments;\n }\n\n public function setSalesChannelDefaultAssignments(SalesChannelCollection $salesChannelDefaultAssignments): void\n {\n $this->salesChannelDefaultAssignments = $salesChannelDefaultAssignments;\n }\n\n public function getSalesChannels(): ?SalesChannelCollection\n {\n return $this->salesChannels;\n }\n\n public function setSalesChannels(SalesChannelCollection $salesChannels): void\n {\n $this->salesChannels = $salesChannels;\n }\n\n public function getTaxRules(): ?TaxRuleCollection\n {\n return $this->taxRules;\n }\n\n public function setTaxRules(TaxRuleCollection $taxRules): void\n {\n $this->taxRules = $taxRules;\n }\n\n public function getCurrencyCountryRoundings(): ?CurrencyCountryRoundingCollection\n {\n return $this->currencyCountryRoundings;\n }\n\n public function setCurrencyCountryRoundings(CurrencyCountryRoundingCollection $currencyCountryRoundings): void\n {\n $this->currencyCountryRoundings = $currencyCountryRoundings;\n }\n\n public function getVatIdRequired(): bool\n {\n return (bool) $this->vatIdRequired;\n }\n\n public function setVatIdRequired(bool $vatIdRequired): void\n {\n $this->vatIdRequired = $vatIdRequired;\n }\n\n public function getCustomerTax(): TaxFreeConfig\n {\n return $this->customerTax;\n }\n\n public function setCustomerTax(TaxFreeConfig $customerTax): void\n {\n $this->customerTax = $customerTax;\n }\n\n public function getCompanyTax(): TaxFreeConfig\n {\n return $this->companyTax;\n }\n\n public function setCompanyTax(TaxFreeConfig $companyTax): void\n {\n $this->companyTax = $companyTax;\n }\n\n public function getPostalCodeRequired(): bool\n {\n return $this->postalCodeRequired;\n }\n\n public function setPostalCodeRequired(bool $postalCodeRequired): void\n {\n $this->postalCodeRequired = $postalCodeRequired;\n }\n\n public function getCheckPostalCodePattern(): bool\n {\n return $this->checkPostalCodePattern;\n }\n\n public function setCheckPostalCodePattern(bool $checkPostalCodePattern): void\n {\n $this->checkPostalCodePattern = $checkPostalCodePattern;\n }\n\n public function getCheckAdvancedPostalCodePattern(): bool\n {\n return $this->checkAdvancedPostalCodePattern;\n }\n\n public function setCheckAdvancedPostalCodePattern(bool $checkAdvancedPostalCodePattern): void\n {\n $this->checkAdvancedPostalCodePattern = $checkAdvancedPostalCodePattern;\n }\n\n public function getAdvancedPostalCodePattern(): ?string\n {\n return $this->advancedPostalCodePattern;\n }\n\n public function setAdvancedPostalCodePattern(?string $advancedPostalCodePattern): void\n {\n $this->advancedPostalCodePattern = $advancedPostalCodePattern;\n }\n\n /**\n * @return list>\n */\n public function getAddressFormat(): array\n {\n return $this->addressFormat;\n }\n\n /**\n * @param list> $addressFormat\n */\n public function setAddressFormat(array $addressFormat): void\n {\n $this->addressFormat = $addressFormat;\n }\n\n public function setDefaultPostalCodePattern(?string $pattern): void\n {\n $this->defaultPostalCodePattern = $pattern;\n }\n\n public function getDefaultPostalCodePattern(): ?string\n {\n return $this->defaultPostalCodePattern;\n }\n\n public function getIsEu(): bool\n {\n return $this->isEu;\n }\n\n public function setIsEu(bool $isEu): void\n {\n $this->isEu = $isEu;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/66357fce0ccaec09aa15d6200d6f0b9b6686ab7a.json b/web/public/bundles/shopware/code/66357fce0ccaec09aa15d6200d6f0b9b6686ab7a.json new file mode 100644 index 00000000..989df699 --- /dev/null +++ b/web/public/bundles/shopware/code/66357fce0ccaec09aa15d6200d6f0b9b6686ab7a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "66357fce0ccaec09aa15d6200d6f0b9b6686ab7a", + "language": "php", + "path": "src/Storefront/Page/Account/Login/AccountGuestLoginPageLoadedHook.php", + "schema": "codexray.code/1", + "text": "getContext());\n $this->salesChannelContext = $context;\n }\n\n public function getName(): string\n {\n return self::HOOK_NAME;\n }\n\n public function getPage(): AccountLoginPage\n {\n return $this->page;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/68b763d2a03ca13b61d3e14f2955efe832b9bc57.json b/web/public/bundles/shopware/code/68b763d2a03ca13b61d3e14f2955efe832b9bc57.json new file mode 100644 index 00000000..070edcfb --- /dev/null +++ b/web/public/bundles/shopware/code/68b763d2a03ca13b61d3e14f2955efe832b9bc57.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "68b763d2a03ca13b61d3e14f2955efe832b9bc57", + "language": "javascript", + "path": "src/Administration/Resources/app/administration/src/app/component/structure/sw-admin-menu/sw-admin-menu.spec/create-wrapper.js", + "schema": "codexray.code/1", + "text": "/**\n * @sw-package framework\n */\n\nimport { mount } from '@vue/test-utils';\nimport { createRouter, createWebHashHistory } from 'vue-router';\nimport createMenuService from 'src/app/service/menu.service';\n\n/** fixtures */\nimport adminModules from '../../../../service/_mocks/adminModules.json';\n\nconst menuService = createMenuService(Shopware.Module);\nShopware.Service().register('menuService', () => menuService);\n\n/**\n * @private\n */\nexport function registerAdminModules() {\n Shopware.Module.getModuleRegistry().clear();\n adminModules.forEach((adminModule) => {\n Shopware.Module.register(adminModule.name, adminModule);\n });\n}\n\n/**\n * @private\n */\nexport default async function createWrapper(options = {}) {\n const router = createRouter({\n routes: [\n ...Shopware.Module.getModuleRoutes(),\n {\n path: '/sw/custom/entity/index',\n name: 'sw.custom.entity.index',\n type: 'core',\n components: { default: 'sw-index' },\n isChildren: false,\n routeKey: 'index',\n },\n ],\n route: {\n meta: {\n $module: {\n name: '',\n },\n },\n },\n history: createWebHashHistory(),\n });\n\n router.resolve = jest.fn(() => {\n return {};\n });\n\n return mount(await wrapTestComponent('sw-admin-menu', { sync: true }), {\n global: {\n stubs: {\n 'sw-version': true,\n 'sw-admin-menu-item': await wrapTestComponent('sw-admin-menu-item'),\n 'mt-loader': true,\n 'sw-avatar': true,\n 'sw-shortcut-overview': true,\n 'router-link': {\n template: '',\n },\n 'mt-link': true,\n 'mt-icon': true,\n 'mt-floating-ui': {\n template: '
',\n props: ['isOpened'],\n },\n },\n provide: {\n menuService,\n loginService: {\n notifyOnLoginListener: () => {},\n },\n userService: {\n getUser: () => Promise.resolve({ data: { password: '' } }),\n },\n appModulesService: {\n fetchAppModules: () => Promise.resolve([]),\n },\n systemConfigApiService: {\n getValues: () => Promise.resolve({}),\n },\n acl: {\n can: (privilege) => {\n return privilege !== 'shouldReturnFalse';\n },\n },\n customEntityDefinitionService: {\n getMenuEntries: () => {\n const entityName = 'customEntityName';\n return [\n {\n id: `custom-entity/${entityName}`,\n label: `${entityName}.moduleTitle`,\n moduleType: 'plugin',\n path: 'sw.custom.entity.index',\n params: {\n entityName: entityName,\n },\n position: 100,\n parent: 'sw.second.top.level',\n },\n ];\n },\n },\n },\n mocks: {\n $route: { meta: { $module: { name: '' } } },\n $router: router,\n },\n },\n ...options,\n });\n}\n" +} diff --git a/web/public/bundles/shopware/code/694eabf1029c7bfb5cd6711964a37dece4ea56c9.json b/web/public/bundles/shopware/code/694eabf1029c7bfb5cd6711964a37dece4ea56c9.json new file mode 100644 index 00000000..94c7905c --- /dev/null +++ b/web/public/bundles/shopware/code/694eabf1029c7bfb5cd6711964a37dece4ea56c9.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "694eabf1029c7bfb5cd6711964a37dece4ea56c9", + "language": "php", + "path": "src/Storefront/Pagelet/Country/CountryStateDataPageletLoadedEvent.php", + "schema": "codexray.code/1", + "text": "pagelet;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/6ae22833fedf98439cdd36d31c54995716301b57.json b/web/public/bundles/shopware/code/6ae22833fedf98439cdd36d31c54995716301b57.json new file mode 100644 index 00000000..51d4727d --- /dev/null +++ b/web/public/bundles/shopware/code/6ae22833fedf98439cdd36d31c54995716301b57.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6ae22833fedf98439cdd36d31c54995716301b57", + "language": "php", + "path": "src/Core/Content/Cms/SalesChannel/CmsRoute.php", + "schema": "codexray.code/1", + "text": " [StoreApiRouteScope::ID]])]\nclass CmsRoute extends AbstractCmsRoute\n{\n /**\n * @internal\n */\n public function __construct(private readonly SalesChannelCmsPageLoaderInterface $cmsPageLoader, private readonly ExtensionDispatcher $extensions)\n {\n }\n\n public function getDecorated(): AbstractCmsRoute\n {\n throw new DecorationPatternException(self::class);\n }\n\n #[Route(\n path: '/store-api/cms/{id}',\n name: 'store-api.cms.detail',\n methods: [Request::METHOD_GET, Request::METHOD_POST],\n defaults: [PlatformRequest::ATTRIBUTE_HTTP_CACHE => true],\n )]\n public function load(string $id, Request $request, SalesChannelContext $context): CmsRouteResponse\n {\n return $this->extensions->publish(\n name: CmsRouteExtension::NAME,\n extension: new CmsRouteExtension($id, $request, $context),\n function: $this->_load(...),\n );\n }\n\n private function _load(string $id, Request $request, SalesChannelContext $context): CmsRouteResponse\n {\n $criteria = new Criteria([$id]);\n\n $slots = RequestParamHelper::get($request, 'slots');\n\n if (\\is_string($slots)) {\n $slots = explode('|', $slots);\n }\n\n if (\\is_array($slots) && $slots !== []) {\n $criteria\n ->getAssociation('sections.blocks')\n ->addFilter(new EqualsAnyFilter('slots.id', $slots));\n }\n\n $cmsPage = $this->cmsPageLoader->load($request, $criteria, $context)->getEntities()->first();\n if ($cmsPage === null) {\n if (!Feature::isActive('v6.8.0.0')) {\n /** @phpstan-ignore shopware.domainException (Will be fixed with next major) */\n throw new PageNotFoundException($id);\n }\n throw CmsException::pageNotFound($id);\n }\n\n return new CmsRouteResponse($cmsPage);\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/6c0c987353b3f86e9ef93cec2c2b9fd36f5d6e24.json b/web/public/bundles/shopware/code/6c0c987353b3f86e9ef93cec2c2b9fd36f5d6e24.json new file mode 100644 index 00000000..beab2255 --- /dev/null +++ b/web/public/bundles/shopware/code/6c0c987353b3f86e9ef93cec2c2b9fd36f5d6e24.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6c0c987353b3f86e9ef93cec2c2b9fd36f5d6e24", + "language": "php", + "path": "src/Elasticsearch/Framework/ElasticsearchFieldMapper.php", + "schema": "codexray.code/1", + "text": "> $items An array of items with language information.\n * @param array> $fallbackItems An array of fallback items to inherit values from if the child item has null values.\n * @param bool $stripText (Optional) Indicates whether to strip text values.\n *\n * @return array An array where language IDs are keys and translated values are values.\n *\n * @example\n *\n * ```php\n * $items = [['name' => 'foo', 'languageId' => 'de-DE'], ['name' => null, 'languageId' => 'en-GB']];\n * // $fallbackItems is used for inheritance of values from parent to child if child value is null\n * $fallbackItems = [['name' => 'foo-baz', 'languageId' => 'de-DE'], ['name' => 'bar', 'languageId' => 'en-GB'], ['name' => 'baz', 'languageId' => 'vi-VN'];\n *\n * $esValue = ElasticsearchIndexingHelper::mapTranslatedField('name', $items, $fallbackItems);\n * // ['de-DE' => 'foo', 'en-GB' => 'bar', 'vi-VN' => 'baz']\n * ```\n */\n public static function translated(string $field, array $items, array $fallbackItems = [], bool $stripText = true): array\n {\n $value = [];\n $fallbackValue = [];\n\n // make sure every language from parent also indexed\n $items = array_merge($fallbackItems, $items);\n\n foreach ($fallbackItems as $item) {\n $languageId = $item['languageId'] ?? '';\n if ($languageId === '') {\n continue;\n }\n\n $fallbackValue[$languageId] = $item[$field] ?? null;\n }\n\n foreach ($items as $item) {\n $languageId = $item['languageId'] ?? Defaults::LANGUAGE_SYSTEM;\n\n // if child value is null, it should be inherited from parent\n $newValue = $item[$field] ?? ($fallbackValue[$languageId] ?? null);\n\n if ($stripText && \\is_string($newValue) && $newValue !== '') {\n $newValue = ElasticsearchIndexingUtils::stripText($newValue);\n }\n\n $value[$languageId] = $newValue;\n }\n\n return $value;\n }\n\n /**\n * Maps an array of items to nested arrays of multilingual fields, each field is an array of multilingual values keyed by language ID.\n *\n * This method is commonly used to handle associations, such as product names and descriptions in different languages.\n *\n * @param array> $items An array of items with language information.\n * @param list $translatedFields An array of fields to be translated.\n *\n * @return list|null>> An array of items with nested arrays containing translated values.\n *\n * @example\n *\n * ```php\n * $items = [['id' => 'fooId', 'name' => 'foo in EN', 'languageId' => 'en-GB'], ['id' => 'fooId', 'name' => 'foo in De', 'languageId' => 'de-DE'], ['id' => 'barId', 'name' => 'bar', 'description' => 'bar description', 'languageId' => 'en-GB']];\n * $esValue = ElasticsearchIndexingHelper::mapToManyAssociations($items, ['name', 'description']);\n * // [\n * [\n * 'id' => 'fooId',\n * 'name' => [\n * 'en-GB' => 'foo in EN',\n * 'de-DE' => 'foo in De',\n * ],\n * 'description' => [\n * 'en-GB' => null,\n * ]\n * ],\n * [\n * 'id' => 'barId',\n * 'name' => ['en-GB' => 'bar'],\n * 'description' => [\n * 'en-GB' => 'bar description',\n * ],\n * ],\n * ]\n * ```\n */\n public static function toManyAssociations(array $items, array $translatedFields): array\n {\n // Group items by 'id'\n $groupedItems = [];\n\n foreach ($items as $item) {\n $languageId = $item['languageId'] ?? '';\n if ($languageId === '') {\n continue;\n }\n\n $itemId = $item['id'] ?? '';\n if (!isset($groupedItems[$itemId])) {\n $groupedItems[$itemId] = [\n 'id' => $itemId,\n '_count' => 1,\n ];\n }\n\n foreach ($translatedFields as $field) {\n if (($item[$field] ?? '') !== '') {\n /** @phpstan-ignore offsetAccess.nonOffsetAccessible (It is hard to tell PHPStan that not `id` and `_count` are accessed, but translated fields like `name` and `description`) */\n $groupedItems[$itemId][$field][$languageId] = $item[$field];\n } elseif (!isset($groupedItems[$itemId][$field])) {\n /** @phpstan-ignore offsetAccess.nonOffsetAccessible (It is hard to tell PHPStan that not `id` and `_count` are accessed, but translated fields like `name` and `description`) */\n $groupedItems[$itemId][$field][$languageId] = null;\n }\n }\n }\n\n return array_values($groupedItems);\n }\n\n /**\n * @description This method is used to format custom fields to the correct format\n *\n * @param array> $customFields array of raw custom fields from database keyed by language ID\n *\n * @throws \\JsonException\n *\n * @return array> array of formatted custom fields keyed by language ID\n */\n public function customFields(string $entity, array $customFields, Context $context): array\n {\n $mapped = [];\n\n foreach ($customFields as $languageId => $customField) {\n // MariaDB servers gives the result as string and not directly decoded\n if (\\is_string($customField)) {\n if ($customField === '') {\n continue;\n }\n\n $customField = json_decode($customField, true, 512, \\JSON_THROW_ON_ERROR);\n }\n\n if ($customField === []) {\n continue;\n }\n\n $mapped[$languageId] = $this->formatCustomField($entity, $customField, $context);\n }\n\n return $mapped;\n }\n\n /**\n * @param array $customFields\n *\n * @throws Exception\n *\n * @return array\n */\n private function formatCustomField(string $entity, array $customFields, Context $context): array\n {\n $types = $this->indexingUtils->getCustomFieldTypes($entity, $context);\n\n foreach ($customFields as $name => $customField) {\n $type = $types[$name] ?? null;\n\n if ($type === null) {\n unset($customFields[$name]);\n\n continue;\n }\n\n /**\n * Do not convert/cast fields defined as text.\n * See https://github.com/shopware/shopware/issues/4459\n */\n if ($type === CustomFieldTypes::TEXT) {\n continue;\n }\n\n if ($type === CustomFieldTypes::BOOL) {\n $customFields[$name] = (bool) $customField;\n } elseif ($this->isNumberType($type) && \\is_numeric($customField)) {\n $customFields[$name] = (float) $customField;\n }\n }\n\n return $customFields;\n }\n\n private function isNumberType(string $type): bool\n {\n return \\in_array($type, [CustomFieldTypes::NUMBER, CustomFieldTypes::INT, CustomFieldTypes::FLOAT], true);\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/6cced9e2713b9166bbe8a40030ebafd638508fd7.json b/web/public/bundles/shopware/code/6cced9e2713b9166bbe8a40030ebafd638508fd7.json new file mode 100644 index 00000000..62e79bcc --- /dev/null +++ b/web/public/bundles/shopware/code/6cced9e2713b9166bbe8a40030ebafd638508fd7.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6cced9e2713b9166bbe8a40030ebafd638508fd7", + "language": "php", + "path": "src/Core/Migration/V6_3/Migration1554199340AddImportExportProfile.php", + "schema": "codexray.code/1", + "text": "executeStatement('\n CREATE TABLE `import_export_profile` (\n `id` binary(16) NOT NULL,\n `name` varchar(255) NOT NULL,\n `system_default` tinyint(1) unsigned NOT NULL DEFAULT \\'0\\',\n `source_entity` varchar(255) NOT NULL,\n `file_type` varchar(255) NOT NULL,\n `delimiter` varchar(255),\n `enclosure` varchar(255),\n `mapping` LONGTEXT NULL,\n `created_at` datetime(3) NOT NULL,\n `updated_at` datetime(3),\n PRIMARY KEY (`id`)\n ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;\n ');\n\n $connection->insert('import_export_profile', $this->getDefaultCustomerProfile($connection));\n }\n\n public function updateDestructive(Connection $connection): void\n {\n }\n\n /**\n * @return array{id: string, name: string, system_default: int, source_entity: string, file_type: string, delimiter: string, enclosure: string, mapping: string, created_at: string}\n */\n private function getDefaultCustomerProfile(Connection $connection): array\n {\n $mapping = [];\n\n $fields = [\n 'firstName',\n 'lastName',\n 'email',\n 'customerNumber',\n 'salesChannelId',\n 'birthday',\n 'salutationId',\n 'salesChannelId',\n 'defaultPaymentMethodId',\n 'groupId',\n 'guest',\n ];\n $addressFields = [\n 'firstName',\n 'lastName',\n 'salutationId',\n 'street',\n 'zipcode',\n 'city',\n 'countryId',\n ];\n\n foreach (['defaultBillingAddress', 'defaultShippingAddress'] as $addressRef) {\n foreach ($addressFields as $addressField) {\n $fields[] = $addressRef . '.' . $addressField;\n }\n }\n\n foreach ($fields as $fieldName) {\n $mapping[] = [\n 'fileField' => $fieldName,\n 'entityField' => $fieldName,\n 'valueSubstitutions' => $this->getValueSubstitutions($connection, $fieldName),\n ];\n }\n\n return [\n 'id' => Uuid::randomBytes(),\n 'name' => 'Default customer',\n 'system_default' => 1,\n 'source_entity' => 'customer',\n 'file_type' => 'text/csv',\n 'delimiter' => ';',\n 'enclosure' => '\"',\n 'mapping' => json_encode($mapping, \\JSON_THROW_ON_ERROR),\n 'created_at' => (new \\DateTime())->format(Defaults::STORAGE_DATE_TIME_FORMAT),\n ];\n }\n\n /**\n * @return array\n */\n private function getSalutationMap(Connection $connection): array\n {\n $result = [];\n foreach ($connection->fetchAllAssociative('SELECT * FROM salutation') as $row) {\n $result[(string) $row['salutation_key']] = Uuid::fromBytesToHex($row['id']);\n }\n\n return $result;\n }\n\n /**\n * @return array\n */\n private function getCustomerGroupMap(): array\n {\n return ['default' => 'cfbd5018d38d41d8adca10d94fc8bdd6'];\n }\n\n /**\n * @return array\n */\n private function getCountryMap(Connection $connection): array\n {\n $result = [];\n foreach ($connection->fetchAllAssociative('SELECT * FROM country') as $row) {\n $result[(string) $row['iso']] = Uuid::fromBytesToHex($row['id']);\n }\n\n return $result;\n }\n\n /**\n * @return array\n */\n private function getSalesChannelMap(): array\n {\n return ['default' => '98432def39fc4624b33213a56b8c944d'];\n }\n\n /**\n * @return array\n */\n private function getPaymentMethodMap(Connection $connection): array\n {\n $result = [];\n foreach ($connection->fetchAllAssociative('SELECT * FROM payment_method') as $row) {\n $key = mb_substr((string) mb_strrchr((string) $row['handler_identifier'], '\\\\'), 1);\n $key = str_replace('payment', '', mb_strtolower($key));\n $result[$key] = Uuid::fromBytesToHex($row['id']);\n }\n\n return $result;\n }\n\n /**\n * @return array\n */\n private function getValueSubstitutions(Connection $connection, string $propertyName): array\n {\n return match ($propertyName) {\n 'groupId' => $this->getCustomerGroupMap(),\n 'defaultBillingAddress.salutationId', 'defaultShippingAddress.salutationId', 'salutationId' => $this->getSalutationMap($connection),\n 'defaultPaymentMethodId' => $this->getPaymentMethodMap($connection),\n 'salesChannelId' => $this->getSalesChannelMap(),\n 'defaultBillingAddress.countryId', 'defaultShippingAddress.countryId' => $this->getCountryMap($connection),\n 'guest' => $this->getBooleanMap(),\n default => [],\n };\n }\n\n /**\n * @return array\n */\n private function getBooleanMap(): array\n {\n return ['0' => false, '1' => true];\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/6ef46f066aef9c7310eb7233f40f7a40c92ed7af.json b/web/public/bundles/shopware/code/6ef46f066aef9c7310eb7233f40f7a40c92ed7af.json new file mode 100644 index 00000000..58829241 --- /dev/null +++ b/web/public/bundles/shopware/code/6ef46f066aef9c7310eb7233f40f7a40c92ed7af.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "6ef46f066aef9c7310eb7233f40f7a40c92ed7af", + "language": "php", + "path": "src/Core/Service/Subscriber/LicenseProviderSubscriber.php", + "schema": "codexray.code/1", + "text": " 'serviceActivated',\n BeforeSystemConfigChangedEvent::class => 'licenseChanged',\n ];\n }\n\n public function licenseChanged(BeforeSystemConfigChangedEvent $event): void\n {\n $key = $event->getKey();\n $value = $event->getValue();\n\n if (!\\in_array($key, [self::CONFIG_STORE_LICENSE_KEY, self::CONFIG_STORE_LICENSE_HOST], true) || !\\is_string($value)) {\n return;\n }\n\n // the event doesn't mean that the value is different from the current one.\n // it could be just a rewrite of the same value.\n $updatedConfig = $this->config->getString($key);\n if ($value === $updatedConfig) {\n return;\n }\n\n $licenseKey = $key === self::CONFIG_STORE_LICENSE_KEY ? $value : $this->config->getString(self::CONFIG_STORE_LICENSE_KEY);\n $licenseHost = $key === self::CONFIG_STORE_LICENSE_HOST ? $value : $this->config->getString(self::CONFIG_STORE_LICENSE_HOST);\n\n $this->eventDispatcher->dispatch(CommercialLicenseProvidedEvent::forAll($licenseKey, $licenseHost));\n }\n\n public function serviceActivated(AppActivatedEvent $event): void\n {\n $app = $event->getApp();\n\n if (!$app->isSelfManaged()) {\n return;\n }\n\n $this->eventDispatcher->dispatch(CommercialLicenseProvidedEvent::forService(\n $app->getId(),\n $this->config->getString(self::CONFIG_STORE_LICENSE_KEY),\n $this->config->getString(self::CONFIG_STORE_LICENSE_HOST),\n ));\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/744a50d099e1a2f6db5fadee05e50fbe37f4bb24.json b/web/public/bundles/shopware/code/744a50d099e1a2f6db5fadee05e50fbe37f4bb24.json new file mode 100644 index 00000000..ccc12e98 --- /dev/null +++ b/web/public/bundles/shopware/code/744a50d099e1a2f6db5fadee05e50fbe37f4bb24.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "744a50d099e1a2f6db5fadee05e50fbe37f4bb24", + "language": "typescript", + "path": "src/Administration/Resources/app/administration/src/app/init/filter-factory.init.ts", + "schema": "codexray.code/1", + "text": "import type FilterFactoryData from 'src/core/data/filter-factory.data';\n\n/**\n * @sw-package framework\n */\n\nconst FilterFactory = Shopware.Classes._private.FilterFactory;\n\n// eslint-disable-next-line sw-deprecation-rules/private-feature-declarations\nexport default function initializeFilterFactory() {\n const filterFactory = new FilterFactory();\n\n Shopware.Application.addServiceProvider('filterFactory', () => {\n return filterFactory as unknown as FilterFactoryData;\n });\n}\n" +} diff --git a/web/public/bundles/shopware/code/746bd5691c025ddf8178151ffd4b668d8aff4ac3.json b/web/public/bundles/shopware/code/746bd5691c025ddf8178151ffd4b668d8aff4ac3.json new file mode 100644 index 00000000..a4840b0e --- /dev/null +++ b/web/public/bundles/shopware/code/746bd5691c025ddf8178151ffd4b668d8aff4ac3.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "746bd5691c025ddf8178151ffd4b668d8aff4ac3", + "language": "typescript", + "path": "src/Administration/Resources/app/administration/scripts/generate-public-api/source/source-tree.ts", + "schema": "codexray.code/1", + "text": "/**\n * @sw-package framework\n */\nimport fs from 'node:fs';\nimport path from 'node:path';\nimport { isPublicApiSourceFile } from '../../public-api-source-files';\nimport { byCodePoint } from '../helpers/code-point-order';\n\n/**\n * @private\n *\n * The files of one Administration checkout that can declare public API. `files` holds paths below the\n * Administration root with forward slashes, for example `src/app/component/index.ts`.\n */\nexport interface SourceTree {\n files: readonly string[];\n has(file: string): boolean;\n read(file: string): string;\n}\n\n/**\n * @private\n *\n * The tree of `files`, whatever order they are listed in.\n */\nexport function sourceTreeOf(files: readonly string[], read: (file: string) => string): SourceTree {\n const known = new Set(files);\n const contents = new Map();\n\n return {\n files: [...known].sort(byCodePoint),\n has: (file) => known.has(file),\n read(file) {\n let content = contents.get(file);\n\n if (content === undefined) {\n content = read(file);\n contents.set(file, content);\n }\n\n return content;\n },\n };\n}\n\n/**\n * @private\n *\n * Reads the source files below `/src`, without specs, mocks and fixtures.\n */\nexport function readSourceTree(administrationRoot: string): SourceTree {\n const files = fs\n .readdirSync(path.join(administrationRoot, 'src'), { recursive: true, encoding: 'utf8' })\n .map((file) => `src/${file.split(path.sep).join('/')}`)\n .filter(isPublicApiSourceFile);\n\n return sourceTreeOf(files, (file) => fs.readFileSync(path.join(administrationRoot, file), 'utf8'));\n}\n" +} diff --git a/web/public/bundles/shopware/code/76c46e33aca0340e87f9c53360992278735794d3.json b/web/public/bundles/shopware/code/76c46e33aca0340e87f9c53360992278735794d3.json new file mode 100644 index 00000000..3302a4a7 --- /dev/null +++ b/web/public/bundles/shopware/code/76c46e33aca0340e87f9c53360992278735794d3.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "76c46e33aca0340e87f9c53360992278735794d3", + "language": "php", + "path": "src/Storefront/Migration/V6_3/Migration1555406153SalesChannelTheme.php", + "schema": "codexray.code/1", + "text": "executeStatement('\n CREATE TABLE `sales_channel_theme` (\n `sales_channel_id` BINARY(16) NOT NULL,\n `theme_name` VARCHAR(255) NOT NULL,\n `created_at` DATETIME(3) NOT NULL,\n `updated_at` DATETIME(3) NULL,\n PRIMARY KEY (`sales_channel_id`, `theme_name`),\n UNIQUE `uniq.sales_channel_theme.sales_channel_id` (`sales_channel_id`),\n CONSTRAINT `fk.sales_channel_theme.sales_channel_id` FOREIGN KEY (`sales_channel_id`)\n REFERENCES `sales_channel` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n )\n ');\n }\n\n public function updateDestructive(Connection $connection): void\n {\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/77a0f5274bc9eca1cd6b5344d9ce27d6ef22fd74.json b/web/public/bundles/shopware/code/77a0f5274bc9eca1cd6b5344d9ce27d6ef22fd74.json new file mode 100644 index 00000000..08fe8743 --- /dev/null +++ b/web/public/bundles/shopware/code/77a0f5274bc9eca1cd6b5344d9ce27d6ef22fd74.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "77a0f5274bc9eca1cd6b5344d9ce27d6ef22fd74", + "language": "typescript", + "path": "src/Administration/Resources/app/administration/src/app/init/notification.init.ts", + "schema": "codexray.code/1", + "text": "import type { NotificationVariant } from 'src/app/store/notification.store';\n\n/**\n * @sw-package framework\n *\n * @private\n */\nexport default function initializeNotifications(): void {\n // Handle incoming notifications from the ExtensionAPI\n Shopware.ExtensionAPI.handle('notificationDispatch', (notificationOptions) => {\n const message = notificationOptions.message ?? 'global.notification.noMessage';\n const title = notificationOptions.title ?? 'global.notification.noTitle';\n const actions = notificationOptions.actions ?? [];\n const appearance = notificationOptions.appearance ?? 'notification';\n const growl = notificationOptions.growl ?? true;\n\n let variant: NotificationVariant = 'info';\n\n if (notificationOptions.variant) {\n // @ts-expect-error - new variant types are not yet in the SDK\n if (notificationOptions.variant === 'success' || notificationOptions.variant === 'positive') {\n variant = 'positive';\n }\n\n // @ts-expect-error - new variant types are not yet in the SDK\n if (notificationOptions.variant === 'error' || notificationOptions.variant === 'critical') {\n variant = 'critical';\n }\n\n // @ts-expect-error - new variant types are not yet in the SDK\n if (notificationOptions.variant === 'warning' || notificationOptions.variant === 'attention') {\n variant = 'attention';\n }\n\n // @ts-expect-error - new variant types are not yet in the SDK\n if (notificationOptions.variant === 'info' || notificationOptions.variant === 'neutral') {\n variant = 'info';\n }\n }\n\n Shopware.Store.get('notification').createNotification({\n variant: variant,\n title: title,\n message: message,\n growl: growl,\n actions: actions,\n system: appearance === 'system',\n });\n });\n}\n" +} diff --git a/web/public/bundles/shopware/code/7b6d8b857bfc43f3e79ed1227480be59218e8aca.json b/web/public/bundles/shopware/code/7b6d8b857bfc43f3e79ed1227480be59218e8aca.json new file mode 100644 index 00000000..cf428774 --- /dev/null +++ b/web/public/bundles/shopware/code/7b6d8b857bfc43f3e79ed1227480be59218e8aca.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "7b6d8b857bfc43f3e79ed1227480be59218e8aca", + "language": "php", + "path": "src/Storefront/Framework/Guard/DoubleSubmitGuard.php", + "schema": "codexray.code/1", + "text": "getToken();\n $markerKey = $this->markerKey($scope, $token);\n\n if ($this->isConsumed($scope, $markerKey)) {\n return false;\n }\n\n try {\n $lock = $this->lockFactory->createLock(\n $scope . '-lock-' . $token,\n self::LOCK_TTL,\n autoRelease: false,\n );\n } catch (\\Throwable $e) {\n $this->logger->warning('Double submit lock could not be created, submitting unguarded.', ['scope' => $scope, 'exception' => $e]);\n\n $this->submitAndMark($submit, $context, $scope, $token, $markerKey);\n\n return true;\n }\n\n try {\n $acquired = $this->acquireWithDeadline($lock);\n } catch (\\Throwable $e) {\n $this->releaseSilently($lock, $scope);\n $this->logger->warning('Double submit lock could not be acquired, submitting unguarded.', ['scope' => $scope, 'exception' => $e]);\n\n $this->submitAndMark($submit, $context, $scope, $token, $markerKey);\n\n return true;\n }\n\n try {\n if ($this->isConsumed($scope, $markerKey)) {\n return false;\n }\n\n if (!$acquired) {\n $this->logger->warning('Double submit lock was not acquired within the wait deadline, submitting unguarded.', ['scope' => $scope]);\n }\n\n $this->submitAndMark($submit, $context, $scope, $token, $markerKey);\n\n return true;\n } finally {\n if ($acquired) {\n $this->releaseSilently($lock, $scope);\n }\n }\n }\n\n private function markerKey(string $scope, string $token): string\n {\n return $scope . '-' . $token;\n }\n\n /**\n * @param \\Closure(): void $submit\n */\n private function submitAndMark(\\Closure $submit, SalesChannelContext $context, string $scope, string $token, string $markerKey): void\n {\n $submitted = false;\n\n try {\n $submit();\n\n $submitted = true;\n } finally {\n if ($submitted || $context->getToken() !== $token) {\n $this->markConsumed($scope, $markerKey);\n }\n }\n }\n\n /**\n * @phpstan-impure a competing submission can write the marker between two calls\n */\n private function isConsumed(string $scope, string $markerKey): bool\n {\n try {\n return $this->cache->getItem($markerKey)->isHit();\n } catch (\\Throwable $e) {\n $this->logger->warning('Double submit marker could not be read.', ['scope' => $scope, 'exception' => $e]);\n\n return false;\n }\n }\n\n private function markConsumed(string $scope, string $markerKey): void\n {\n try {\n $item = $this->cache->getItem($markerKey);\n $item->set(true);\n $item->expiresAfter(self::MARKER_TTL);\n\n if (!$this->cache->save($item)) {\n $this->logger->warning('Double submit marker could not be saved.', ['scope' => $scope]);\n }\n } catch (\\Throwable $e) {\n $this->logger->warning('Double submit marker could not be saved.', ['scope' => $scope, 'exception' => $e]);\n }\n }\n\n private function acquireWithDeadline(SharedLockInterface $lock): bool\n {\n $retries = (int) ceil($this->lockWaitTimeout * 1000000 / self::LOCK_RETRY_DELAY_US);\n\n while (true) {\n if ($lock->acquire()) {\n return true;\n }\n\n if (--$retries < 0) {\n return false;\n }\n\n usleep(self::LOCK_RETRY_DELAY_US);\n }\n }\n\n private function releaseSilently(SharedLockInterface $lock, string $scope): void\n {\n try {\n $lock->release();\n } catch (\\Throwable $e) {\n $this->logger->warning('Double submit lock could not be released.', ['scope' => $scope, 'exception' => $e]);\n }\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/7c17725e644b0434396c352e2f3e0a702de4af33.json b/web/public/bundles/shopware/code/7c17725e644b0434396c352e2f3e0a702de4af33.json new file mode 100644 index 00000000..819ba474 --- /dev/null +++ b/web/public/bundles/shopware/code/7c17725e644b0434396c352e2f3e0a702de4af33.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "7c17725e644b0434396c352e2f3e0a702de4af33", + "language": "javascript", + "path": "src/Administration/Resources/app/administration/src/app/service/search-type.service.js", + "schema": "codexray.code/1", + "text": "/**\n * @module app/service/search-type\n * @sw-package inventory\n */\n\nimport Criteria from 'src/core/data/criteria.data';\n\n/**\n *\n * @memberOf module:core/service/search-type\n * @constructor\n * @method createSearchTypeService\n * @returns {Object}\n */\n// eslint-disable-next-line sw-deprecation-rules/private-feature-declarations\nexport default function createSearchTypeService() {\n const typeStore = {\n product: {\n entityName: 'product',\n placeholderSnippet: 'sw-product.general.placeholderSearchBar',\n listingRoute: 'sw.product.index',\n criteria: (limit) => new Criteria(1, limit).addAssociation('options.group'),\n },\n category: {\n entityName: 'category',\n placeholderSnippet: 'sw-category.general.placeholderSearchBar',\n listingRoute: 'sw.category.index',\n },\n landing_page: {\n entityName: 'landing_page',\n placeholderSnippet: 'sw-landing-page.general.placeholderSearchBar',\n listingRoute: 'sw.category.index',\n },\n customer: {\n entityName: 'customer',\n placeholderSnippet: 'sw-customer.general.placeholderSearchBar',\n listingRoute: 'sw.customer.index',\n },\n order: {\n entityName: 'order',\n placeholderSnippet: 'sw-order.general.placeholderSearchBar',\n listingRoute: 'sw.order.index',\n },\n media: {\n entityName: 'media',\n placeholderSnippet: 'sw-media.general.placeholderSearchBar',\n listingRoute: 'sw.media.index',\n },\n cms_page: {\n entityName: 'cms_page',\n placeholderSnippet: 'sw-cms.general.placeholderSearchBar',\n listingRoute: 'sw.cms.index',\n hideOnGlobalSearchBar: true,\n },\n customer_group: {\n entityName: 'customer_group',\n placeholderSnippet: 'sw-settings-customer-group.general.placeholderSearchBar',\n listingRoute: 'sw.settings.customer.group.index',\n hideOnGlobalSearchBar: true,\n },\n product_manufacturer: {\n entityName: 'product_manufacturer',\n placeholderSnippet: 'sw-manufacturer.general.placeholderSearchBar',\n listingRoute: 'sw.manufacturer.index',\n hideOnGlobalSearchBar: true,\n },\n newsletter_recipient: {\n entityName: 'newsletter_recipient',\n placeholderSnippet: 'sw-newsletter-recipient.general.placeholderSearchBar',\n listingRoute: 'sw.newsletter.recipient.index',\n hideOnGlobalSearchBar: true,\n },\n payment_method: {\n entityName: 'payment_method',\n placeholderSnippet: 'sw-settings-payment.general.placeholderSearchBar',\n listingRoute: 'sw.settings.payment.index',\n hideOnGlobalSearchBar: true,\n },\n shipping_method: {\n entityName: 'shipping_method',\n placeholderSnippet: 'sw-settings-shipping.general.placeholderSearchBar',\n listingRoute: 'sw.settings.shipping.index',\n hideOnGlobalSearchBar: true,\n },\n product_stream: {\n entityName: 'product_stream',\n placeholderSnippet: 'sw-product-stream.general.placeholderSearchBar',\n listingRoute: 'sw.product.stream.index',\n hideOnGlobalSearchBar: true,\n },\n promotion: {\n entityName: 'promotion',\n placeholderSnippet: 'sw-promotion-v2.list.placeholderSearchBar',\n listingRoute: 'sw.promotion.v2.index',\n hideOnGlobalSearchBar: true,\n },\n property_group: {\n entityName: 'property_group',\n placeholderSnippet: 'sw-property.general.placeholderSearchBar',\n listingRoute: 'sw.property.index',\n hideOnGlobalSearchBar: true,\n },\n sales_channel: {\n entityName: 'sales_channel',\n placeholderSnippet: 'sw-sales-channel.general.placeholderSearchBar',\n listingRoute: 'sw.sales.channel.index',\n hideOnGlobalSearchBar: true,\n },\n rule: {\n entityName: 'rule',\n placeholderSnippet: 'sw-settings-rule.general.placeholderSearchBar',\n listingRoute: 'sw.settings.rule.index',\n },\n flow: {\n entityName: 'flow',\n placeholderSnippet: 'sw-flow.general.placeholderSearchBar',\n listingRoute: 'sw.flow.index',\n },\n };\n\n let $typeStore = {};\n\n $typeStore = {\n all: {\n entityName: '',\n placeholderSnippet: '',\n listingRoute: '',\n },\n ...typeStore,\n };\n\n return {\n getTypeByName,\n upsertType,\n getTypes,\n removeType,\n };\n\n function getTypeByName(type) {\n return $typeStore[type];\n }\n\n function upsertType(name, configuration) {\n $typeStore[name] = { ...$typeStore[name], ...configuration };\n }\n\n function getTypes() {\n return $typeStore;\n }\n\n function removeType(name) {\n delete $typeStore[name];\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/7ce439697e3071b3224250bf9d7bea909f47a212.json b/web/public/bundles/shopware/code/7ce439697e3071b3224250bf9d7bea909f47a212.json new file mode 100644 index 00000000..2eee557a --- /dev/null +++ b/web/public/bundles/shopware/code/7ce439697e3071b3224250bf9d7bea909f47a212.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "7ce439697e3071b3224250bf9d7bea909f47a212", + "language": "typescript", + "path": "src/Administration/Resources/app/administration/src/module/sw-extension/store/extensions.store.ts", + "schema": "codexray.code/1", + "text": "/**\n * @sw-package checkout\n */\n\nimport type { UserInfo } from 'src/core/service/api/store.api.service';\nimport type { Extension } from '../service/extension-store-action.service';\nimport type { MappedError } from '../service/extension-error-handler.service';\n\n/**\n * @private\n */\ninterface ShopwareExtensionsState {\n search: {\n page: number;\n limit: number;\n rating: $TSFixMe;\n sorting: $TSFixMe;\n term: null | string;\n filter: $TSFixMe;\n };\n extensionListing: Extension[];\n categoriesLanguageId: EntityKey<'language'> | null;\n myExtensions: {\n loading: boolean;\n data: Extension[];\n };\n userInfo: UserInfo | null;\n}\n\ntype SearchValue = {\n key: K;\n value: T[K];\n};\n\nconst shopwareExtensionsStore = Shopware.Store.register({\n id: 'shopwareExtensions',\n\n state: () =>\n ({\n search: {\n page: 1,\n limit: 12,\n rating: null,\n sorting: null,\n term: null,\n filter: {},\n },\n extensionListing: [],\n categoriesLanguageId: null,\n myExtensions: {\n loading: true,\n data: [],\n },\n userInfo: null,\n shopwareId: null,\n loginStatus: false,\n licensedExtensions: {\n loading: false,\n data: [],\n },\n totalPlugins: 0,\n plugins: null,\n }) as ShopwareExtensionsState,\n\n actions: {\n setSearchValue({\n key,\n value,\n }: SearchValue) {\n this.search.page = 1;\n this.search[key] = value;\n },\n\n loadMyExtensions() {\n this.myExtensions.loading = true;\n },\n\n setLoading(value: boolean = true) {\n this.myExtensions.loading = value;\n },\n\n setMyExtensions(myExtensions: Extension[]) {\n this.myExtensions.data = myExtensions;\n this.myExtensions.loading = false;\n },\n\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n pluginErrorsMapped(_mappedError: MappedError[]) {\n /* nth */\n },\n },\n});\n\n/**\n * @private\n */\nexport type ShopwareExtensionsStore = ReturnType;\n\n/**\n * @sw-package checkout\n * @private\n */\nexport default shopwareExtensionsStore;\n" +} diff --git a/web/public/bundles/shopware/code/7e8a6ee418d082e367d284631b590f4ab8262cfe.json b/web/public/bundles/shopware/code/7e8a6ee418d082e367d284631b590f4ab8262cfe.json new file mode 100644 index 00000000..5ae7e902 --- /dev/null +++ b/web/public/bundles/shopware/code/7e8a6ee418d082e367d284631b590f4ab8262cfe.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "7e8a6ee418d082e367d284631b590f4ab8262cfe", + "language": "php", + "path": "src/Core/Maintenance/System/Service/ShopConfigurator.php", + "schema": "codexray.code/1", + "text": "setSystemConfig('core.basicInformation.shopName', $shopName);\n }\n\n if ($email) {\n $this->setSystemConfig('core.basicInformation.email', $email);\n }\n }\n\n public function setDefaultLanguage(string $locale): void\n {\n $locale = str_replace('_', '-', $locale);\n\n $currentLocale = $this->getCurrentSystemLocale();\n if (!$currentLocale) {\n throw MaintenanceException::shopConfigurationNotValid('Default language locale not found');\n }\n\n $currentLocaleId = $currentLocale['id'];\n $newDefaultLocaleId = $this->getLocaleId($locale);\n\n // locales match -> do nothing.\n if ($currentLocaleId === $newDefaultLocaleId) {\n return;\n }\n\n $newDefaultLanguageId = $this->getLanguageId($locale);\n\n if (!$newDefaultLanguageId) {\n $newDefaultLanguageId = $this->createNewLanguageEntry($locale);\n }\n\n if ($locale === 'de-DE' && $currentLocale['code'] === 'en-GB') {\n $defaultCountryStateTranslations = $this->connection->fetchAllKeyValue('\n SELECT short_code, name FROM country_state_translation\n INNER JOIN country_state ON country_state.id = country_state_translation.country_state_id\n WHERE country_state_translation.language_id = :languageId', [\n 'languageId' => Uuid::fromHexToBytes(Defaults::LANGUAGE_SYSTEM),\n ]);\n\n if ($defaultCountryStateTranslations !== []) {\n $correctDeTranslations = [\n 'DE-BW' => 'Baden-Württemberg',\n 'DE-BY' => 'Bayern',\n 'DE-BE' => 'Berlin',\n 'DE-BB' => 'Brandenburg',\n 'DE-HB' => 'Bremen',\n 'DE-HH' => 'Hamburg',\n 'DE-HE' => 'Hessen',\n 'DE-NI' => 'Niedersachsen',\n 'DE-MV' => 'Mecklenburg-Vorpommern',\n 'DE-NW' => 'Nordrhein-Westfalen',\n 'DE-RP' => 'Rheinland-Pfalz',\n 'DE-SL' => 'Saarland',\n 'DE-SN' => 'Sachsen',\n 'DE-ST' => 'Sachsen-Anhalt',\n 'DE-SH' => 'Schleswig-Holstein',\n 'DE-TH' => 'Thüringen',\n ];\n\n foreach ($defaultCountryStateTranslations as $shortCode => $deTranslation) {\n if (!\\array_key_exists($shortCode, $correctDeTranslations)) {\n continue;\n }\n\n $defaultCountryStateTranslations[$shortCode] = $correctDeTranslations[$shortCode];\n }\n }\n\n $this->swapDefaultLanguageId($newDefaultLanguageId);\n $this->addMissingCountryStates($defaultCountryStateTranslations);\n } else {\n $this->changeDefaultLanguageData($newDefaultLanguageId, $currentLocale, $locale);\n }\n\n $this->eventDispatcher->dispatch(new SystemLanguageChangeEvent(\n Uuid::fromBytesToHex($newDefaultLanguageId),\n $currentLocale['code'],\n $locale,\n ));\n }\n\n public function setDefaultCurrency(string $currencyCode): void\n {\n $currentCurrencyIso = $this->connection->fetchOne(\n 'SELECT iso_code FROM currency WHERE id = :currencyId',\n ['currencyId' => Uuid::fromHexToBytes(Defaults::CURRENCY)]\n );\n\n if (!$currentCurrencyIso) {\n throw MaintenanceException::shopConfigurationNotValid('Default currency not found');\n }\n\n if (\\mb_strtoupper($currentCurrencyIso) === \\mb_strtoupper($currencyCode)) {\n return;\n }\n\n $newDefaultCurrencyId = $this->getCurrencyId($currencyCode);\n if (!$newDefaultCurrencyId) {\n $newDefaultCurrencyId = $this->createNewCurrency($currencyCode);\n }\n\n RetryableTransaction::retryable($this->connection, static function (Connection $conn) use ($newDefaultCurrencyId, $currencyCode): void {\n $stmt = $conn->prepare('UPDATE currency SET id = :newId WHERE id = :oldId');\n\n // assign new uuid to old DEFAULT\n StatementHelper::executeStatement($stmt, [\n 'newId' => Uuid::randomBytes(),\n 'oldId' => Uuid::fromHexToBytes(Defaults::CURRENCY),\n ]);\n\n // change id to DEFAULT\n StatementHelper::executeStatement($stmt, [\n 'newId' => Uuid::fromHexToBytes(Defaults::CURRENCY),\n 'oldId' => $newDefaultCurrencyId,\n ]);\n\n $fixFactor = $conn->fetchOne(\n 'SELECT 1/factor FROM currency WHERE iso_code = :newDefault',\n ['newDefault' => $currencyCode]\n );\n\n $conn->executeStatement(\n 'UPDATE currency\n SET factor = IF(iso_code = :newDefault, 1, factor * :fixFactor);',\n ['newDefault' => $currencyCode, 'fixFactor' => $fixFactor]\n );\n });\n }\n\n /**\n * @param array $defaultTranslations\n */\n private function addMissingCountryStates(array $defaultTranslations): void\n {\n $missingTranslations = $this->connection->fetchAllKeyValue('\n SELECT id, short_code FROM `country_state`\n WHERE id NOT IN (\n SELECT country_state_id FROM country_state_translation WHERE language_id = :languageId GROUP BY country_state_id\n )', [\n 'languageId' => Uuid::fromHexToBytes(Defaults::LANGUAGE_SYSTEM),\n ]);\n\n if ($missingTranslations === []) {\n return;\n }\n\n $storageDate = $this->clock->now()->format(Defaults::STORAGE_DATE_TIME_FORMAT);\n\n foreach ($missingTranslations as $stateId => $shortCode) {\n if (!\\array_key_exists($shortCode, $defaultTranslations)) {\n continue;\n }\n\n $this->connection->insert('country_state_translation', [\n 'language_id' => Uuid::fromHexToBytes(Defaults::LANGUAGE_SYSTEM),\n 'country_state_id' => $stateId,\n 'name' => $defaultTranslations[$shortCode],\n 'created_at' => $storageDate,\n ]);\n }\n }\n\n private function setSystemConfig(string $key, string $value): void\n {\n $value = json_encode(['_value' => $value], \\JSON_THROW_ON_ERROR | \\JSON_UNESCAPED_UNICODE | \\JSON_PRESERVE_ZERO_FRACTION);\n\n // Fetch id for config key, as the unique key on config_key and salesChannelId will not work when salesChannelId is null\n $id = $this->connection->fetchOne('\n SELECT `id`\n FROM `system_config`\n WHERE `configuration_key` = :key AND `sales_channel_id` IS NULL\n ', ['key' => $key]);\n\n if (!$id) {\n $id = Uuid::randomBytes();\n }\n\n $this->connection->executeStatement('\n INSERT INTO `system_config` (`id`, `configuration_key`, `configuration_value`, `sales_channel_id`, `created_at`)\n VALUES (:id, :key, :value, NULL, NOW())\n ON DUPLICATE KEY UPDATE\n `configuration_value` = :value,\n `updated_at` = NOW()\n ', [\n 'id' => $id,\n 'key' => $key,\n 'value' => $value,\n ]);\n }\n\n /**\n * @param array $currentLocaleData\n */\n private function changeDefaultLanguageData(string $newDefaultLanguageId, array $currentLocaleData, string $locale): void\n {\n $enGbLanguageId = $this->getLanguageId('en-GB');\n $currentLocaleId = $currentLocaleData['id'];\n $name = $locale;\n\n $newDefaultLocaleId = $this->getLocaleId($locale);\n\n if (!$newDefaultLanguageId && $enGbLanguageId) {\n $name = $this->connection->fetchFirstColumn(\n 'SELECT name FROM locale_translation\n WHERE language_id = :languageId\n AND locale_id = :localeId',\n ['languageId' => $enGbLanguageId, 'localeId' => $newDefaultLocaleId]\n );\n }\n\n RetryableTransaction::retryable($this->connection, function (Connection $connection) use ($locale, $currentLocaleId, $newDefaultLocaleId, $currentLocaleData, $newDefaultLanguageId, $name): void {\n // swap locale.code\n $stmt = $connection->prepare(\n 'UPDATE locale SET code = :code WHERE id = :locale_id'\n );\n StatementHelper::executeStatement($stmt, ['code' => 'x-' . $locale . '_tmp', 'locale_id' => $currentLocaleId]);\n StatementHelper::executeStatement($stmt, ['code' => $currentLocaleData['code'], 'locale_id' => $newDefaultLocaleId]);\n StatementHelper::executeStatement($stmt, ['code' => $locale, 'locale_id' => $currentLocaleId]);\n\n // swap locale_translation.{name,territory}\n $setTrans = $connection->prepare(\n 'UPDATE locale_translation\n SET name = :name, territory = :territory\n WHERE locale_id = :locale_id AND language_id = :language_id'\n );\n\n $currentTrans = $this->getLocaleTranslations($currentLocaleId);\n $newDefTrans = $this->getLocaleTranslations($newDefaultLocaleId);\n\n foreach ($currentTrans as $trans) {\n $trans['locale_id'] = $newDefaultLocaleId;\n StatementHelper::executeStatement($setTrans, $trans);\n }\n foreach ($newDefTrans as $trans) {\n $trans['locale_id'] = $currentLocaleId;\n StatementHelper::executeStatement($setTrans, $trans);\n }\n\n $updLang = $connection->prepare('UPDATE language SET name = :name WHERE id = :languageId');\n\n // new default language does not exist -> just set to name\n if (!$newDefaultLanguageId) {\n StatementHelper::executeStatement($updLang, ['name' => $name, 'languageId' => Uuid::fromHexToBytes(Defaults::LANGUAGE_SYSTEM)]);\n\n return;\n }\n\n $langName = $connection->prepare('SELECT name FROM language WHERE id = :languageId');\n\n $current = StatementHelper::executeQuery($langName, ['languageId' => Uuid::fromHexToBytes(Defaults::LANGUAGE_SYSTEM)])->fetchOne();\n\n $new = StatementHelper::executeQuery($langName, ['languageId' => $newDefaultLanguageId])->fetchOne();\n\n // swap name\n StatementHelper::executeStatement($updLang, ['name' => $new, 'languageId' => Uuid::fromHexToBytes(Defaults::LANGUAGE_SYSTEM)]);\n StatementHelper::executeStatement($updLang, ['name' => $current, 'languageId' => $newDefaultLanguageId]);\n });\n }\n\n /**\n * @return list>\n */\n private function getLocaleTranslations(string $localeId): array\n {\n return $this->connection->fetchAllAssociative(\n 'SELECT locale_id, language_id, name, territory\n FROM locale_translation\n WHERE locale_id = :localeId',\n ['localeId' => $localeId]\n );\n }\n\n private function getLanguageId(string $iso): ?string\n {\n return $this->connection->fetchOne(\n 'SELECT language.id\n FROM `language`\n INNER JOIN locale ON locale.id = language.translation_code_id\n WHERE LOWER(locale.code) = LOWER(:iso)',\n ['iso' => $iso]\n ) ?: null;\n }\n\n private function getLocaleId(string $iso): string\n {\n $id = $this->connection->fetchOne(\n 'SELECT locale.id FROM locale WHERE LOWER(locale.code) = LOWER(:iso)',\n ['iso' => $iso]\n );\n\n if (!$id) {\n throw MaintenanceException::shopConfigurationNotValid(\\sprintf('Locale with iso-code \"%s\" not found', $iso));\n }\n\n return $id;\n }\n\n private function createNewLanguageEntry(string $iso): string\n {\n $id = Uuid::randomBytes();\n\n $localeId = $this->connection->fetchOne(\n '\n SELECT locale.id\n FROM `locale`\n WHERE LOWER(locale.code) = LOWER(:iso)',\n ['iso' => $iso]\n );\n\n $englishId = $this->connection->fetchOne(\n '\n SELECT language.id\n FROM `language`\n WHERE LOWER(language.name) = LOWER(\"english\")'\n );\n\n // Always use the English name since we don't have the name in the language itself\n $name = $this->connection->fetchOne(\n '\n SELECT locale_translation.name\n FROM `locale_translation`\n WHERE locale_id = :localeId\n AND language_id = :languageId',\n ['localeId' => $localeId, 'languageId' => $englishId]\n );\n\n if (!$name) {\n throw MaintenanceException::shopConfigurationNotValid(\\sprintf('locale_translation.name for iso \"%s\" and localeId \"%s\" not found', $iso, $localeId));\n }\n\n $this->connection->executeStatement(\n '\n INSERT INTO `language`\n (id, name, locale_id, translation_code_id, created_at)\n VALUES\n (:id, :name, :localeId, :localeId, NOW())',\n ['id' => $id, 'name' => $name, 'localeId' => $localeId]\n );\n\n return $id;\n }\n\n private function swapDefaultLanguageId(string $newLanguageId): void\n {\n RetryableTransaction::retryable($this->connection, static function (Connection $connection) use ($newLanguageId): void {\n $stmt = $connection->prepare(\n 'UPDATE language\n SET id = :newId\n WHERE id = :oldId'\n );\n\n // assign new uuid to old DEFAULT\n StatementHelper::executeStatement($stmt, [\n 'newId' => Uuid::randomBytes(),\n 'oldId' => Uuid::fromHexToBytes(Defaults::LANGUAGE_SYSTEM),\n ]);\n\n // change id to DEFAULT\n StatementHelper::executeStatement($stmt, [\n 'newId' => Uuid::fromHexToBytes(Defaults::LANGUAGE_SYSTEM),\n 'oldId' => $newLanguageId,\n ]);\n });\n }\n\n private function getCurrencyId(string $currencyName): ?string\n {\n return $this->connection->fetchOne(\n 'SELECT id FROM currency WHERE LOWER(iso_code) = LOWER(:currency)',\n ['currency' => $currencyName]\n ) ?: null;\n }\n\n private function createNewCurrency(string $currencyCode): string\n {\n $id = Uuid::randomBytes();\n $currencyCode = \\mb_strtoupper($currencyCode);\n\n if (!Currencies::exists($currencyCode)) {\n throw MaintenanceException::shopConfigurationNotValid(\\sprintf('Currency with iso code \"%s\" not found', $currencyCode));\n }\n\n $fractionDigits = Currencies::getFractionDigits($currencyCode);\n $roundingIncrement = Currencies::getRoundingIncrement($currencyCode) === 0 ? 1 : Currencies::getRoundingIncrement($currencyCode);\n $rounding = [\n 'decimals' => $fractionDigits,\n 'interval' => $roundingIncrement * (10 ** ($fractionDigits * -1)),\n 'roundForNet' => true,\n ];\n\n $this->connection->executeStatement('\n INSERT INTO `currency` (`id`, `iso_code`, `factor`, `symbol`, `position`, `item_rounding`, `total_rounding`, `created_at`)\n VALUES (:id, :currency, 1, :symbol, 1, :rounding, :rounding, NOW())\n ', ['id' => $id, 'currency' => $currencyCode, 'symbol' => Currencies::getSymbol($currencyCode), 'rounding' => json_encode($rounding, \\JSON_THROW_ON_ERROR)]);\n\n $locale = $this->getCurrentSystemLocale();\n if ($locale) {\n $locale = str_replace('-', '_', $locale['code']);\n } else {\n $locale = 'en_GB';\n }\n $this->connection->executeStatement('\n INSERT INTO `currency_translation` (`currency_id`, `language_id`, `short_name`, `name`, `created_at`)\n VALUES (:currencyId, :languageId, :currency, :name, NOW())\n ', [\n 'currencyId' => $id,\n 'languageId' => Uuid::fromHexToBytes(Defaults::LANGUAGE_SYSTEM),\n 'currency' => $currencyCode,\n 'name' => Currencies::getName($currencyCode, $locale),\n ]);\n\n return $id;\n }\n\n /**\n * @return array|null\n */\n private function getCurrentSystemLocale(): ?array\n {\n return $this->connection->fetchAssociative(\n 'SELECT locale.id, locale.code\n FROM language\n INNER JOIN locale ON translation_code_id = locale.id\n WHERE language.id = :languageId',\n ['languageId' => Uuid::fromHexToBytes(Defaults::LANGUAGE_SYSTEM)]\n ) ?: null;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/82c304b04dfb94fa8fd43c83a80f0a946e3cbc44.json b/web/public/bundles/shopware/code/82c304b04dfb94fa8fd43c83a80f0a946e3cbc44.json new file mode 100644 index 00000000..e9b5eeec --- /dev/null +++ b/web/public/bundles/shopware/code/82c304b04dfb94fa8fd43c83a80f0a946e3cbc44.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "82c304b04dfb94fa8fd43c83a80f0a946e3cbc44", + "language": "php", + "path": "src/Core/Framework/Api/ApiDefinition/Generator/OpenApi/OpenApiSchemaBuilder.php", + "schema": "codexray.code/1", + "text": " [\n 'name' => 'Admin API',\n 'url' => '/api',\n 'apiKey' => false,\n ],\n DefinitionService::STORE_API => [\n 'name' => 'Store API',\n 'url' => '/store-api',\n 'apiKey' => true,\n ],\n ];\n\n /**\n * @internal\n */\n public function __construct(private readonly string $version)\n {\n }\n\n public function enrich(OpenApi $openApi, string $api): void\n {\n $openApi->merge(array_values($this->createServers($api)));\n $openApi->info = $this->createInfo($api, $this->version);\n\n $security = $openApi->security;\n $openApi->security = [array_merge(\\is_array($security) ? $security : [], $this->createSecurity($api))];\n\n if (!$openApi->components instanceof Components) {\n $openApi->components = new Components([]);\n }\n\n $this->enrichComponents($openApi->components, $api);\n }\n\n /**\n * @return Server[]\n */\n private function createServers(string $api): array\n {\n $url = (string) EnvironmentHelper::getVariable('APP_URL', '');\n\n if ($this->shouldUseRelativeServerUrl($url)) {\n return [\n new Server(['url' => self::API[$api]['url']]),\n ];\n }\n\n return [\n new Server(['url' => rtrim($url, '/') . self::API[$api]['url']]),\n ];\n }\n\n private function shouldUseRelativeServerUrl(string $url): bool\n {\n if (EnvironmentHelper::getVariable('APP_ENV', 'prod') !== 'prod') {\n return false;\n }\n\n $host = parse_url($url, \\PHP_URL_HOST);\n\n return \\is_string($host) && \\in_array($host, ['localhost', '127.0.0.1', '::1'], true);\n }\n\n private function createInfo(string $api, string $version): Info\n {\n return new Info([\n 'title' => 'Shopware ' . self::API[$api]['name'],\n 'version' => $version,\n 'license' => [\n 'name' => 'MIT',\n 'url' => 'https://github.com/shopware/shopware/blob/trunk/LICENSE',\n ],\n 'description' => <<<'EOF'\nThis endpoint reference contains an overview of all endpoints comprising the Shopware Admin API.\n\nFor a better overview, all CRUD-endpoints are hidden by default. If you want to show also CRUD-endpoints\nadd the query parameter `type=jsonapi`.\nEOF,\n ]);\n }\n\n /**\n * @return array>\n */\n private function createSecurity(string $api): array\n {\n if (self::API[$api]['apiKey']) {\n return ['ApiKey' => []];\n }\n\n return ['oAuth' => ['write']];\n }\n\n private function enrichComponents(Components $components, string $api): void\n {\n if ($api !== DefinitionService::STORE_API) {\n $components->merge(array_values($this->getDefaultSchemas()));\n }\n\n $components->merge(array_values($this->createSecurityScheme($api)));\n $components->merge(array_values($this->createDefaultResponses($api)));\n }\n\n /**\n * @return Schema[]\n */\n private function getDefaultSchemas(): array\n {\n $defaults = [\n 'success' => new Schema([\n 'schema' => 'success',\n 'type' => 'object',\n 'required' => ['data'],\n 'additionalProperties' => false,\n 'properties' => [\n 'meta' => ['$ref' => '#/components/schemas/meta'],\n 'links' => [\n 'description' => 'Link members related to the primary data.',\n 'allOf' => [\n ['$ref' => '#/components/schemas/links'],\n ['$ref' => '#/components/schemas/pagination'],\n ],\n ],\n 'data' => ['$ref' => '#/components/schemas/data'],\n 'included' => [\n 'description' => 'To reduce the number of HTTP requests, servers **MAY** allow responses that include related resources along with the requested primary resources. Such responses are called \"compound documents\".',\n 'type' => 'array',\n 'items' => ['$ref' => '#/components/schemas/resource'],\n 'uniqueItems' => true,\n ],\n ],\n ]),\n 'failure' => new Schema([\n 'schema' => 'failure',\n 'type' => 'object',\n 'required' => ['errors'],\n 'additionalProperties' => false,\n 'properties' => [\n 'meta' => ['$ref' => '#/components/schemas/meta'],\n 'links' => ['$ref' => '#/components/schemas/links'],\n 'errors' => [\n 'type' => 'array',\n 'items' => ['$ref' => '#/components/schemas/error'],\n 'uniqueItems' => true,\n ],\n ],\n ]),\n 'info' => new Schema([\n 'schema' => 'info',\n 'type' => 'object',\n 'required' => ['meta'],\n 'properties' => [\n 'meta' => ['$ref' => '#/components/schemas/meta'],\n 'links' => ['$ref' => '#/components/schemas/links'],\n 'jsonapi' => ['$ref' => '#/components/schemas/jsonapi'],\n ],\n ]),\n 'meta' => new Schema([\n 'schema' => 'meta',\n 'description' => 'Non-standard meta-information that can not be represented as an attribute or relationship.',\n 'type' => 'object',\n 'additionalProperties' => true,\n ]),\n 'data' => new Schema([\n 'schema' => 'data',\n 'description' => 'The document\\'s \"primary data\" is a representation of the resource or collection of resources targeted by a request.',\n 'oneOf' => [\n ['$ref' => '#/components/schemas/resource'],\n [\n 'description' => 'An array of resource objects, an array of resource identifier objects, or an empty array ([]), for requests that target resource collections.',\n 'type' => 'array',\n 'items' => [\n '$ref' => '#/components/schemas/resource',\n ],\n 'uniqueItems' => true,\n ],\n ],\n ]),\n 'resource' => new Schema([\n 'schema' => 'resource',\n 'description' => '\"Resource objects\" appear in a JSON API document to represent resources.',\n 'type' => 'object',\n 'required' => ['type', 'id'],\n 'properties' => [\n 'type' => ['type' => 'string'],\n 'id' => ['type' => 'string'],\n 'attributes' => ['$ref' => '#/components/schemas/attributes'],\n 'relationships' => ['$ref' => '#/components/schemas/relationships'],\n 'links' => ['$ref' => '#/components/schemas/links'],\n 'meta' => ['$ref' => '#/components/schemas/meta'],\n ],\n ]),\n 'relationshipLinks' => new Schema([\n 'schema' => 'relationshipLinks',\n 'description' => 'A resource object **MAY** contain references to other resource objects (\"relationships\"). Relationships may be to-one or to-many. Relationships can be specified by including a member in a resource\\'s links object.',\n 'type' => 'object',\n 'additionalProperties' => true,\n 'properties' => [\n new Property([\n 'property' => 'self',\n 'allOf' => [\n new Schema([\n 'description' => 'A `self` member, whose value is a URL for the relationship itself (a \"relationship URL\"). This URL allows the client to directly manipulate the relationship. For example, it would allow a client to remove an `author` from an `article` without deleting the people resource itself.',\n 'type' => 'array',\n 'items' => [\n 'type' => 'object',\n ],\n ]),\n new Schema([\n 'ref' => '#/components/schemas/link',\n ]),\n ],\n ]),\n new Property([\n 'property' => 'related',\n 'ref' => '#/components/schemas/link',\n ]),\n ],\n ]),\n 'links' => new Schema([\n 'schema' => 'links',\n 'type' => 'object',\n 'additionalProperties' => [\n '$ref' => '#/components/schemas/link',\n ],\n ]),\n 'link' => new Schema([\n 'schema' => 'link',\n 'description' => 'A link **MUST** be represented as either: a string containing the link\\'s URL or a link object.',\n 'oneOf' => [\n [\n 'description' => 'A string containing the link\\'s URL.',\n 'type' => 'string',\n 'format' => 'uri-reference',\n ],\n [\n 'type' => 'object',\n 'required' => ['href'],\n 'properties' => [\n 'href' => [\n 'description' => 'A string containing the link\\'s URL.',\n 'type' => 'string',\n 'format' => 'uri-reference',\n ],\n 'meta' => ['$ref' => '#/components/schemas/meta'],\n ],\n ],\n ],\n ]),\n 'attributes' => new Schema([\n 'schema' => 'attributes',\n 'description' => 'Members of the attributes object (\"attributes\") represent information about the resource object in which it\\'s defined.',\n 'type' => 'object',\n 'additionalProperties' => true,\n ]),\n 'relationships' => new Schema([\n 'schema' => 'relationships',\n 'description' => 'Members of the relationships object (\"relationships\") represent references from the resource object in which it\\'s defined to other resource objects.',\n 'type' => 'object',\n 'additionalProperties' => [\n '$ref' => '#/components/schemas/relationship',\n ],\n ]),\n 'relationship' => new Schema([\n 'schema' => 'relationship',\n 'description' => 'A relationship object describes links, resource linkage, or meta-information for a related resource.',\n 'type' => 'object',\n 'minProperties' => 1,\n 'properties' => [\n 'links' => ['$ref' => '#/components/schemas/relationshipLinks'],\n 'data' => [\n 'description' => 'Member, whose value represents \"resource linkage\".',\n 'oneOf' => [\n ['$ref' => '#/components/schemas/relationshipToOne'],\n ['$ref' => '#/components/schemas/relationshipToMany'],\n ],\n ],\n 'meta' => ['$ref' => '#/components/schemas/meta'],\n ],\n 'additionalProperties' => false,\n ]),\n 'relationshipToOne' => new Schema([\n 'schema' => 'relationshipToOne',\n 'allOf' => [\n new Schema([\n 'description' => 'References to other resource objects in a to-one (\"relationship\"). Relationships can be specified by including a member in a resource\\'s links object.',\n ]),\n new Schema([\n 'ref' => '#/components/schemas/linkage',\n ]),\n ],\n ]),\n 'relationshipToMany' => new Schema([\n 'schema' => 'relationshipToMany',\n 'description' => 'An array of objects each containing \\\"type\\\" and \\\"id\\\" members for to-many relationships.',\n 'type' => 'array',\n 'items' => [\n '$ref' => '#/components/schemas/linkage',\n ],\n 'uniqueItems' => true,\n ]),\n 'linkage' => new Schema([\n 'schema' => 'linkage',\n 'description' => 'The \"type\" and \"id\" to non-empty members.',\n 'type' => 'object',\n 'required' => ['type', 'id'],\n 'properties' => [\n 'type' => ['type' => 'string'],\n 'id' => ['type' => 'string', 'pattern' => '^[0-9a-f]{32}$'],\n 'meta' => ['$ref' => '#/components/schemas/meta'],\n ],\n 'additionalProperties' => false,\n ]),\n 'pagination' => new Schema([\n 'schema' => 'pagination',\n 'type' => 'object',\n 'properties' => [\n 'first' => [\n 'description' => 'The first page of data',\n 'type' => 'string',\n 'format' => 'uri-reference',\n ],\n 'last' => [\n 'description' => 'The last page of data',\n 'type' => 'string',\n 'format' => 'uri-reference',\n ],\n 'prev' => [\n 'description' => 'The previous page of data',\n 'type' => 'string',\n 'format' => 'uri-reference',\n ],\n 'next' => [\n 'description' => 'The next page of data',\n 'type' => 'string',\n 'format' => 'uri-reference',\n ],\n ],\n ]),\n 'jsonapi' => new Schema([\n 'schema' => 'jsonapi',\n 'description' => 'An object describing the server\\'s implementation',\n 'type' => 'object',\n 'properties' => [\n 'version' => ['type' => 'string'],\n 'meta' => ['$ref' => '#/components/schemas/meta'],\n ],\n 'additionalProperties' => false,\n ]),\n 'error' => new Schema([\n 'schema' => 'error',\n 'type' => 'object',\n 'properties' => [\n 'id' => ['type' => 'string', 'description' => 'A unique identifier for this particular occurrence of the problem.'],\n 'links' => ['$ref' => '#/components/schemas/links'],\n 'status' => ['type' => 'string', 'description' => 'The HTTP status code applicable to this problem, expressed as a string value.'],\n 'code' => ['type' => 'string', 'description' => 'An application-specific error code, expressed as a string value.'],\n 'title' => ['type' => 'string', 'description' => 'A short, human-readable summary of the problem. It **SHOULD NOT** change from occurrence to occurrence of the problem, except for purposes of localization.'],\n 'detail' => ['type' => 'string', 'description' => 'A human-readable explanation specific to this occurrence of the problem.'],\n 'description' => ['type' => 'string', 'description' => 'A human-readable description of the problem.'],\n 'source' => [\n 'type' => 'object',\n 'properties' => [\n 'pointer' => ['type' => 'string', 'description' => 'A JSON Pointer [RFC6901] to the associated entity in the request document [e.g. \"/data\" for a primary data object, or \"/data/attributes/title\" for a specific attribute].'],\n 'parameter' => ['type' => 'string', 'description' => 'A string indicating which query parameter caused the error.'],\n ],\n ],\n 'meta' => ['$ref' => '#/components/schemas/meta'],\n ],\n 'additionalProperties' => false,\n ]),\n ];\n\n return $defaults;\n }\n\n /**\n * @return SecurityScheme[]\n */\n private function createSecurityScheme(string $api): array\n {\n if (self::API[$api]['apiKey']) {\n return [\n 'Sales Channel Access Key' => new SecurityScheme([\n 'securityScheme' => 'ApiKey',\n 'type' => 'apiKey',\n 'in' => 'header',\n 'name' => PlatformRequest::HEADER_ACCESS_KEY,\n 'description' => 'Identifies the sales channel you want to access the API through',\n ]),\n 'User Context Token' => new SecurityScheme([\n 'securityScheme' => 'ContextToken',\n 'type' => 'apiKey',\n 'in' => 'header',\n 'name' => PlatformRequest::HEADER_CONTEXT_TOKEN,\n 'description' => 'Identifies an anonymous or identified user session',\n ]),\n ];\n }\n\n $url = (string) EnvironmentHelper::getVariable('APP_URL', '');\n\n return [\n 'oAuth' => new SecurityScheme([\n 'securityScheme' => 'oAuth',\n 'type' => 'oauth2',\n 'description' => 'Authentication API',\n 'flows' => [\n 'password' => [\n 'tokenUrl' => $url . '/api/oauth/token',\n 'scopes' => [\n 'write' => 'Full write access',\n ],\n ],\n 'clientCredentials' => [\n 'tokenUrl' => $url . '/api/oauth/token',\n 'scopes' => [\n 'write' => 'Full write access',\n ],\n ],\n 'authorizationCode' => [\n 'authorizationUrl' => $url . '/api/oauth/authorize',\n 'tokenUrl' => $url . '/api/oauth/token',\n 'scopes' => [\n 'write' => 'Full write access',\n ],\n ],\n ],\n ]),\n ];\n }\n\n /**\n * @return OpenApiResponse[]\n */\n private function createDefaultResponses(string $api): array\n {\n $responses = [\n Response::HTTP_NOT_FOUND => $this->createErrorResponse(Response::HTTP_NOT_FOUND, 'Not Found', 'Resource with given parameter was not found.'),\n Response::HTTP_FORBIDDEN => $this->createErrorResponse(Response::HTTP_FORBIDDEN, 'Forbidden', 'This operation is restricted to logged in users.'),\n Response::HTTP_UNAUTHORIZED => $this->createErrorResponse(Response::HTTP_UNAUTHORIZED, 'Unauthorized', 'Authorization information is missing or invalid.'),\n Response::HTTP_BAD_REQUEST => $this->createErrorResponse(Response::HTTP_BAD_REQUEST, 'Bad Request', 'Bad parameters for this endpoint. See documentation for the correct ones.'),\n Response::HTTP_TOO_MANY_REQUESTS => $this->createErrorResponse(Response::HTTP_TOO_MANY_REQUESTS, 'Too Many Requests', 'Rate limit exceeded. Please wait before retrying.'),\n ];\n\n if ($api !== DefinitionService::STORE_API) {\n $responses[Response::HTTP_NO_CONTENT] = new OpenApiResponse(['description' => 'No Content', 'response' => Response::HTTP_NO_CONTENT]);\n }\n\n return $responses;\n }\n\n private function createErrorResponse(int $statusCode, string $title, string $description): OpenApiResponse\n {\n $schema = new Schema([\n 'ref' => '#/components/schemas/failure',\n ]);\n\n $example = [\n 'errors' => [\n [\n 'status' => (string) $statusCode,\n 'title' => $title,\n 'description' => $description,\n ],\n ],\n ];\n\n return new OpenApiResponse([\n 'response' => $statusCode,\n 'description' => $title,\n 'content' => [\n new MediaType([\n 'mediaType' => 'application/json',\n 'schema' => $schema,\n 'example' => $example,\n ]),\n new MediaType([\n 'mediaType' => 'application/vnd.api+json',\n 'schema' => $schema,\n 'example' => $example,\n ]),\n ],\n ]);\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/889d046f9fc04ae5fdded1a209431b3dac13d612.json b/web/public/bundles/shopware/code/889d046f9fc04ae5fdded1a209431b3dac13d612.json new file mode 100644 index 00000000..993541d0 --- /dev/null +++ b/web/public/bundles/shopware/code/889d046f9fc04ae5fdded1a209431b3dac13d612.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "889d046f9fc04ae5fdded1a209431b3dac13d612", + "language": "typescript", + "path": "src/Administration/Resources/app/administration/src/app/store/system.store.ts", + "schema": "codexray.code/1", + "text": "/**\n * @sw-package framework\n * @private\n */\nimport useSystem from '../composables/use-system';\n\nconst system = Shopware.Store.register('system', useSystem);\n\n/**\n * @private\n */\nexport type System = ReturnType;\n\n/**\n * @private\n */\nexport default system;\n" +} diff --git a/web/public/bundles/shopware/code/892a16dc5c62880f52f46847dbb04e38fd156321.json b/web/public/bundles/shopware/code/892a16dc5c62880f52f46847dbb04e38fd156321.json new file mode 100644 index 00000000..96e74161 --- /dev/null +++ b/web/public/bundles/shopware/code/892a16dc5c62880f52f46847dbb04e38fd156321.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "892a16dc5c62880f52f46847dbb04e38fd156321", + "language": "php", + "path": "src/Storefront/Pagelet/Footer/FooterPageletLoadedEvent.php", + "schema": "codexray.code/1", + "text": "pagelet;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/8a5d6998c1f78cc004c6584b67ef3f280ab9b426.json b/web/public/bundles/shopware/code/8a5d6998c1f78cc004c6584b67ef3f280ab9b426.json new file mode 100644 index 00000000..8dc0f803 --- /dev/null +++ b/web/public/bundles/shopware/code/8a5d6998c1f78cc004c6584b67ef3f280ab9b426.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "8a5d6998c1f78cc004c6584b67ef3f280ab9b426", + "language": "php", + "path": "src/Core/System/Currency/SalesChannel/CurrencyRoute.php", + "schema": "codexray.code/1", + "text": " [StoreApiRouteScope::ID]])]\nclass CurrencyRoute extends AbstractCurrencyRoute\n{\n final public const ALL_TAG = 'currency-route';\n\n /**\n * @internal\n *\n * @param SalesChannelRepository $currencyRepository\n */\n public function __construct(\n private readonly SalesChannelRepository $currencyRepository,\n private readonly CacheTagCollector $cacheTagCollector,\n private readonly ExtensionDispatcher $extensions,\n ) {\n }\n\n public function getDecorated(): AbstractCurrencyRoute\n {\n throw new DecorationPatternException(self::class);\n }\n\n public static function buildName(string $salesChannelId): string\n {\n return 'currency-route-' . $salesChannelId;\n }\n\n #[Route(\n path: '/store-api/currency',\n name: 'store-api.currency',\n defaults: [PlatformRequest::ATTRIBUTE_ENTITY => CurrencyDefinition::ENTITY_NAME, PlatformRequest::ATTRIBUTE_HTTP_CACHE => true],\n methods: [Request::METHOD_GET, Request::METHOD_POST],\n )]\n public function load(Request $request, SalesChannelContext $context, Criteria $criteria): CurrencyRouteResponse\n {\n return $this->extensions->publish(\n name: CurrencyRouteExtension::NAME,\n extension: new CurrencyRouteExtension($request, $context, $criteria),\n function: fn (Request $request, SalesChannelContext $context, Criteria $criteria): CurrencyRouteResponse => $this->_load($context, $criteria),\n );\n }\n\n private function _load(SalesChannelContext $context, Criteria $criteria): CurrencyRouteResponse\n {\n $this->cacheTagCollector->addTag(self::buildName($context->getSalesChannelId()), self::ALL_TAG);\n\n return new CurrencyRouteResponse($this->currencyRepository->search($criteria, $context)->getEntities());\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/8b94c1763033926c0d64db25221f1d0413078884.json b/web/public/bundles/shopware/code/8b94c1763033926c0d64db25221f1d0413078884.json new file mode 100644 index 00000000..45731461 --- /dev/null +++ b/web/public/bundles/shopware/code/8b94c1763033926c0d64db25221f1d0413078884.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "8b94c1763033926c0d64db25221f1d0413078884", + "language": "php", + "path": "src/Storefront/Framework/Routing/DomainLoader.php", + "schema": "codexray.code/1", + "text": "\n */\n public function load(): array\n {\n Feature::triggerDeprecationOrThrow(\n 'v6.8.0.0',\n Feature::deprecatedMethodMessage(self::class, __METHOD__, 'v6.8.0.0', 'loadDomains()')\n );\n\n return $this->fetch();\n }\n\n public function loadDomains(): DomainCollection\n {\n return DomainCollection::fromArray($this->fetch());\n }\n\n /**\n * @return array\n */\n private function fetch(): array\n {\n $query = $this->connection->createQueryBuilder();\n\n $query->select(\n 'CONCAT(TRIM(TRAILING \\'/\\' FROM domain.url), \\'/\\') `key`',\n 'CONCAT(TRIM(TRAILING \\'/\\' FROM domain.url), \\'/\\') url',\n 'LOWER(HEX(domain.id)) id',\n 'LOWER(HEX(sales_channel.id)) salesChannelId',\n 'LOWER(HEX(sales_channel.type_id)) typeId',\n 'LOWER(HEX(domain.snippet_set_id)) snippetSetId',\n 'LOWER(HEX(domain.currency_id)) currencyId',\n 'LOWER(HEX(domain.language_id)) languageId',\n 'LOWER(HEX(theme.id)) themeId',\n 'sales_channel.maintenance maintenance',\n // @deprecated tag:v6.8.0 - remove the COALESCE fallback to the deprecated `maintenance_ip_whitelist` column\n 'COALESCE(sales_channel.maintenance_ip_allowlist, sales_channel.maintenance_ip_whitelist) maintenanceIpAllowlist',\n 'snippet_set.iso as locale',\n 'theme.technical_name as themeName',\n 'parentTheme.technical_name as parentThemeName',\n );\n\n $query->from('sales_channel');\n $query->innerJoin('sales_channel', 'sales_channel_domain', 'domain', 'domain.sales_channel_id = sales_channel.id');\n $query->innerJoin('domain', 'snippet_set', 'snippet_set', 'snippet_set.id = domain.snippet_set_id');\n $query->leftJoin('sales_channel', 'theme_sales_channel', 'theme_sales_channel', 'sales_channel.id = theme_sales_channel.sales_channel_id');\n $query->leftJoin('theme_sales_channel', 'theme', 'theme', 'theme_sales_channel.theme_id = theme.id');\n $query->leftJoin('theme', 'theme', 'parentTheme', 'theme.parent_theme_id = parentTheme.id');\n $query->where('sales_channel.type_id = UNHEX(:typeId)');\n $query->andWhere('sales_channel.active');\n $query->setParameter('typeId', Defaults::SALES_CHANNEL_TYPE_STOREFRONT);\n\n /** @var array $domains */\n $domains = FetchModeHelper::groupUnique($query->executeQuery()->fetchAllAssociative());\n\n return $domains;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/8bb7c66ec26fe242fad697e35139869b5c4d3e2f.json b/web/public/bundles/shopware/code/8bb7c66ec26fe242fad697e35139869b5c4d3e2f.json new file mode 100644 index 00000000..7f821851 --- /dev/null +++ b/web/public/bundles/shopware/code/8bb7c66ec26fe242fad697e35139869b5c4d3e2f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "8bb7c66ec26fe242fad697e35139869b5c4d3e2f", + "language": "php", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/StoreApiRouteExtensionRule.php", + "schema": "codexray.code/1", + "text": "\n */\n#[Package('framework')]\nclass StoreApiRouteExtensionRule implements Rule\n{\n /**\n * @param list $legacyRouteMethods\n * @param list $abstractContractRouteMethods\n */\n public function __construct(\n private readonly array $legacyRouteMethods = [],\n private readonly array $abstractContractRouteMethods = [],\n ) {\n }\n\n public function getNodeType(): string\n {\n return InClassMethodNode::class;\n }\n\n public function processNode(Node $node, Scope $scope): array\n {\n $class = $node->getClassReflection();\n if (str_starts_with($class->getName(), 'Shopware\\\\Tests\\\\')) {\n return [];\n }\n\n $method = $node->getMethodReflection();\n\n $routes = array_filter($method->getAttributes(), static fn (AttributeReflection $attribute) => $attribute->getName() === Route::class);\n if ($routes === []) {\n return [];\n }\n\n $classScope = $this->getRouteScope($class->getAttributes());\n $storeApiRoutes = array_filter($routes, fn (AttributeReflection $route) => \\in_array(StoreApiRouteScope::ID, $this->getRouteScope([$route]) ?? $classScope ?? [], true));\n if ($storeApiRoutes === []) {\n return [];\n }\n\n $name = $class->getName() . '::' . $method->getName();\n if (\\in_array($name, $this->legacyRouteMethods, true)) {\n return [];\n }\n\n $parent = $class->getParentClass();\n if (!\\in_array($name, $this->abstractContractRouteMethods, true)\n && ($class->hasNativeMethod('getDecorated')\n || ($parent !== null && $parent->isAbstract() && $parent->hasNativeMethod($method->getName())))\n ) {\n return [RuleErrorBuilder::message(\\sprintf(\n 'Store API route %s must use extension events instead of an abstract route/decorator contract.',\n $name,\n ))->identifier('shopware.storeApiRouteDecorator')->build()];\n }\n\n $statements = $node->getOriginalNode()->stmts ?? [];\n if (\\count($statements) === 1\n && $statements[0] instanceof Return_\n && $statements[0]->expr instanceof MethodCall\n && $this->isExtensionDispatch($statements[0]->expr, $node, $scope)\n ) {\n return [];\n }\n\n return [RuleErrorBuilder::message(\\sprintf(\n 'Store API route %s must return ExtensionDispatcher::publish() with an Extension object and a private route-body method.',\n $name,\n ))->identifier('shopware.storeApiRouteExtension')->build()];\n }\n\n /**\n * @param list $attributes\n *\n * @return list|null\n */\n private function getRouteScope(array $attributes): ?array\n {\n foreach ($attributes as $attribute) {\n if ($attribute->getName() !== Route::class) {\n continue;\n }\n\n $defaults = $attribute->getArgumentTypes()['defaults'] ?? null;\n $key = new ConstantStringType(PlatformRequest::ATTRIBUTE_ROUTE_SCOPE);\n if ($defaults === null || !$defaults->hasOffsetValueType($key)->yes()) {\n continue;\n }\n\n return array_map(\n static fn (ConstantStringType $type) => $type->getValue(),\n $defaults->getOffsetValueType($key)->getIterableValueType()->getConstantStrings(),\n );\n }\n\n return null;\n }\n\n private function isExtensionDispatch(MethodCall $call, InClassMethodNode $node, Scope $scope): bool\n {\n if (!$call->name instanceof Identifier\n || $call->name->toString() !== 'publish'\n || $call->isFirstClassCallable()\n || !(new ObjectType(ExtensionDispatcher::class))->isSuperTypeOf($scope->getType($call->var))->yes()\n ) {\n return false;\n }\n\n $arguments = [];\n foreach ($call->getArgs() as $position => $argument) {\n if ($argument->unpack) {\n return false;\n }\n\n $arguments[$argument->name?->toString() ?? ['name', 'extension', 'function'][$position] ?? $position] = $argument->value;\n }\n\n $extension = $arguments['extension'] ?? null;\n $callback = $arguments['function'] ?? null;\n $isAdapter = $callback instanceof ArrowFunction;\n if ($isAdapter) {\n $callback = $callback->expr;\n }\n\n if ($extension === null\n || !(new ObjectType(Extension::class))->isSuperTypeOf($scope->getType($extension))->yes()\n || !$callback instanceof MethodCall\n || (!$isAdapter && !$callback->isFirstClassCallable())\n || !$callback->var instanceof Variable\n || $callback->var->name !== 'this'\n || !$callback->name instanceof Identifier\n ) {\n return false;\n }\n\n $class = $node->getClassReflection();\n $method = $callback->name->toString();\n\n return $class->hasNativeMethod($method) && $class->getNativeMethod($method)->isPrivate();\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/8ddce460f6ce44f038e6093bd284e8d4ef095d56.json b/web/public/bundles/shopware/code/8ddce460f6ce44f038e6093bd284e8d4ef095d56.json new file mode 100644 index 00000000..67b12a46 --- /dev/null +++ b/web/public/bundles/shopware/code/8ddce460f6ce44f038e6093bd284e8d4ef095d56.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "8ddce460f6ce44f038e6093bd284e8d4ef095d56", + "language": "php", + "path": "src/Storefront/Theme/ThemeDefinition.php", + "schema": "codexray.code/1", + "text": "addFlags(new ApiAware(), new PrimaryKey(), new Required()),\n (new StringField('technical_name', 'technicalName'))->addFlags(new ApiAware()),\n (new StringField('name', 'name'))->addFlags(new ApiAware(), new Required(), new SearchRanking(SearchRanking::HIGH_SEARCH_RANKING)),\n (new StringField('author', 'author'))->addFlags(new ApiAware(), new Required()),\n (new TranslatedField('description'))->addFlags(new ApiAware()),\n (new TranslatedField('labels'))->addFlags(new ApiAware(), new Deprecated('v6.7.16.0', 'v6.8.0.0')),\n (new TranslatedField('helpTexts'))->addFlags(new ApiAware(), new Deprecated('v6.7.16.0', 'v6.8.0.0')),\n (new TranslatedField('customFields'))->addFlags(new ApiAware()),\n (new FkField('preview_media_id', 'previewMediaId', MediaDefinition::class))->addFlags(new ApiAware()),\n (new FkField('parent_theme_id', 'parentThemeId', self::class))->addFlags(new ApiAware()),\n new JsonField('theme_json', 'themeJson'),\n (new JsonField('base_config', 'baseConfig'))->addFlags(new ApiAware()),\n (new JsonField('config_values', 'configValues'))->addFlags(new ApiAware()),\n (new BoolField('active', 'active'))->addFlags(new ApiAware(), new Required()),\n\n (new TranslationsAssociationField(ThemeTranslationDefinition::class, 'theme_id'))->addFlags(new Required()),\n new ManyToManyAssociationField('salesChannels', SalesChannelDefinition::class, ThemeSalesChannelDefinition::class, 'theme_id', 'sales_channel_id'),\n (new ManyToManyAssociationField('media', MediaDefinition::class, ThemeMediaDefinition::class, 'theme_id', 'media_id'))->addFlags(new ApiAware()),\n new ManyToOneAssociationField('previewMedia', 'preview_media_id', MediaDefinition::class),\n new ManyToManyAssociationField('dependentThemes', self::class, ThemeChildDefinition::class, 'parent_id', 'child_id'),\n ]);\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/8eb45ffdefe7c23435fee83985074068f0e1cf46.json b/web/public/bundles/shopware/code/8eb45ffdefe7c23435fee83985074068f0e1cf46.json new file mode 100644 index 00000000..51b63744 --- /dev/null +++ b/web/public/bundles/shopware/code/8eb45ffdefe7c23435fee83985074068f0e1cf46.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "8eb45ffdefe7c23435fee83985074068f0e1cf46", + "language": "typescript", + "path": "src/Administration/Resources/app/administration/scripts/generate-public-api/break-check/rules/member-rules.ts", + "schema": "codexray.code/1", + "text": "/**\n * @sw-package framework\n *\n * The rules of the break check for the members of a component. A member that is gone or new is one rule per\n * kind, built from the table of kinds. The rules below them are about what only one kind has, such as the\n * parameters of a method. Each rule says in its texts what a plugin notices of the change.\n */\nimport type { BcChangeKind, Marker } from '../../../../eslint-rules/deprecation-rules/utils/api-markers';\nimport type { FlagContext } from '../../model/flag-states';\nimport { isTemplateMember, KINDS, MEMBER_KINDS, memberId, namePath, parameterId, propType } from '../../model/members';\nimport type { DefaultValue, Member, MemberKind, Parameter } from '../../model/members';\nimport type { SourceLine } from '../../model/source-line';\nimport { coveringDeprecation } from '../facts/block-facts';\nimport type { BlockFacts } from '../facts/block-facts';\nimport type { ComponentFacts } from '../facts/component-facts';\nimport { sectionLine } from '../facts/member-facts';\nimport { isMajorOnly } from '../finding';\nimport { rule } from './rule';\nimport type { FindingTexts, Rule, RuleDefinition, TextContext } from './rule';\n\n/** The first place of every member of the kind. What a rule compares of all places, it reads from the facts. */\nfunction membersOf(facts: ComponentFacts, kind: Kind): Member[] {\n return [...facts.members[kind].values()].map(([member]) => member);\n}\n\n/** A member that both commits have. */\ninterface Kept {\n was: Member;\n now: Member;\n}\n\nfunction inBoth(base: ComponentFacts, head: ComponentFacts, kind: Kind): Kept[] {\n return membersOf(base, kind).flatMap((was) => {\n const [now] = head.members[kind].get(was.name) ?? [];\n\n return now === undefined ? [] : [{ was, now }];\n });\n}\n\n/** The object a nested data key stands in, `null` for every other member. */\nfunction parentName(member: Pick): string | null {\n const path = namePath(member);\n\n return path.length > 1 ? path.slice(0, -1).join('.') : null;\n}\n\n/** A nested data key goes with its object, when the change is about that object too. */\nfunction withoutNestedKeys(changed: Item[], memberOf: (item: Item) => { kind: MemberKind; name: string }): Item[] {\n const changedNames = new Set(changed.map((item) => memberOf(item).name));\n\n return changed.filter((item) => {\n const parent = parentName(memberOf(item));\n\n return parent === null || !changedNames.has(parent);\n });\n}\n\nfunction onlyIn(facts: ComponentFacts, other: ComponentFacts, kind: Kind): Member[] {\n return withoutNestedKeys(\n membersOf(facts, kind).filter(({ name }) => !other.members[kind].has(name)),\n ({ name }) => ({ kind, name }),\n );\n}\n\n/** The member as the element of a change, or something `below` it such as `/param:item`. */\nfunction memberElement({ kind, name, at, isPrivate }: Member, below = '') {\n return { element: `${memberId({ kind, name })}${below}`, at, isPrivate, kind, name };\n}\n\n/**\n * The element of a change to a member that both commits have. Its line is the one at the head. Whether it is\n * private is decided at the base: a member that becomes `@private` with the change was public API until then.\n */\nfunction keptElement({ was, now }: Kept, below = '') {\n return { ...memberElement(now, below), isPrivate: was.isPrivate };\n}\n\n/** The markers in the comment above the member, in all its places. */\nfunction ownMarkers({ kind, name }: Pick, facts: ComponentFacts): Marker[] {\n return facts.members[kind].get(name)?.flatMap(({ markers }) => markers) ?? [];\n}\n\n/** The markers that announce a change to a member: its own and, for a nested data key, those of its objects. */\nfunction announcingMarkers(member: Pick, facts: ComponentFacts): Marker[] {\n return namePath(member).flatMap((_key, index, path) =>\n ownMarkers({ kind: member.kind, name: path.slice(0, index + 1).join('.') }, facts),\n );\n}\n\nfunction serialized(marker: Marker): string {\n return JSON.stringify(marker);\n}\n\n/**\n * A slot or a ref carries no comment of its own. It goes away with a deprecated block around it, when it does so\n * in every place.\n */\nfunction enclosingDeprecations({ kind, name }: Pick, facts: ComponentFacts): Marker[] {\n return coveringDeprecation(\n (facts.members[kind].get(name) ?? [])\n .filter(isTemplateMember)\n .map(({ block }) => (block === null ? [] : (facts.blocks.get(block)?.deprecations ?? []))),\n );\n}\n\n/** A `@bc-change` of the kind whose keys hold the `expected` values. */\nfunction isBcChange(marker: Marker, kind: BcChangeKind, expected: Record = {}): boolean {\n return (\n marker.tag === 'bc-change' &&\n marker.kind === kind &&\n Object.entries(expected).every(([key, value]) => marker.parameters[key] === value)\n );\n}\n\nfunction label(kind: MemberKind): string {\n return MEMBER_KINDS[kind].label;\n}\n\nfunction deprecation(flags: FlagContext, text: string): string {\n return `/** @deprecated tag:${flags.majorVersion} - ${text} */`;\n}\n\n/** What a finding about a removed member says, besides what a plugin notices of it, and what announces it. */\ninterface RemovalPolicy {\n markers: (member: Pick, facts: ComponentFacts) => Marker[];\n /** How the finding says that the member is gone. */\n gone: (kind: MemberKind, name: string) => string;\n fix: (removed: { kind: MemberKind; name: string; rename: string | undefined }, flags: FlagContext) => string;\n /** What the author of a new member of the kind can do about it being public. */\n additionFix?: string;\n}\n\n/** A member of the options object can stay beside its replacement, with a marker that announces its removal. */\nconst DECLARED: RemovalPolicy = {\n markers: announcingMarkers,\n gone: (kind) => `The ${label(kind)} is gone`,\n fix: ({ kind, name, rename }, flags) =>\n rename === undefined\n ? `pattern \"Removal\". Keep the ${label(kind)} and mark it ${deprecation(flags, 'Will be removed.')}.`\n : `pattern \"Rename\". Keep ${name} and mark it ${deprecation(flags, `Use {@link ${rename}} instead.`)}.`,\n additionFix: 'mark it @private if it is not meant for plugins.',\n};\n\n/** The line of a finding about a member of the template is that of a block, so the finding names the member. */\nconst RENDERED: RemovalPolicy = {\n markers: enclosingDeprecations,\n gone: (kind, name) => `The ${label(kind)} ${name} is gone`,\n fix: ({ kind }, flags) =>\n `keep the ${label(kind)}, or remove it with the block around it once that block is marked {# @deprecated tag:${flags.majorVersion} - Will be removed. #}.`,\n};\n\n/**\n * How the break check treats a member that comes or goes, per kind. `effect` is what a plugin notices when the\n * member is gone. A new ref is no API a plugin can be told to rely on, so it is no addition.\n */\nconst COMING_AND_GOING: Record<\n MemberKind,\n { effect: (name: string) => string; removal: RemovalPolicy; isAddition: boolean }\n> = {\n mixin: {\n effect: (name) => `plugin overrides that use a member of ${name} through this fail`,\n removal: DECLARED,\n isAddition: true,\n },\n inject: {\n effect: (name) => `plugin overrides that read this.${name} get undefined`,\n removal: DECLARED,\n isAddition: true,\n },\n provide: {\n effect: (name) => `plugin components that inject ${name} get undefined`,\n removal: DECLARED,\n isAddition: true,\n },\n prop: {\n effect: (name) =>\n `a value that plugin templates pass as ${name} falls through as an HTML attribute, and plugin overrides that read this.${name} get undefined`,\n removal: DECLARED,\n isAddition: true,\n },\n emit: {\n effect: (name) => `listeners that plugin templates add with @${name} are no longer called by the component`,\n removal: DECLARED,\n isAddition: true,\n },\n slot: {\n effect: (name) => `content that plugin templates pass to the slot ${name} is no longer rendered`,\n removal: RENDERED,\n isAddition: true,\n },\n data: {\n effect: (name) => `plugin overrides that read or set this.${name} work on a value the component ignores`,\n removal: DECLARED,\n isAddition: true,\n },\n computed: {\n effect: (name) => `plugin overrides that call $super('${name}') throw at runtime`,\n removal: DECLARED,\n isAddition: true,\n },\n method: {\n effect: (name) => `plugin overrides that call $super('${name}') throw at runtime`,\n removal: DECLARED,\n isAddition: true,\n },\n ref: {\n effect: (name) => `plugin overrides that read this.$refs.${name} get undefined`,\n removal: RENDERED,\n isAddition: false,\n },\n};\n\n/** Everything of a member besides its name and where it stands. */\nfunction shapeOf(member: Member): string {\n return JSON.stringify({ ...member, name: null, at: null, markers: null, states: null });\n}\n\n/** A new member of the same kind that looks the same is probably the removed one under a new name. */\nfunction possibleRename(removed: Member, base: ComponentFacts, head: ComponentFacts): string | undefined {\n const candidates = onlyIn(head, base, removed.kind).filter((added) => shapeOf(added) === shapeOf(removed));\n\n return candidates.length === 1 ? candidates[0].name : undefined;\n}\n\n/** The block, or the closest block around it at the base, that the head still has. */\nfunction remainingBlock(block: string | null, base: ComponentFacts, head: ComponentFacts): BlockFacts | undefined {\n if (block === null) {\n return undefined;\n }\n\n const [parent = null] = base.blocks.get(block)?.parents ?? [];\n\n return head.blocks.get(block) ?? remainingBlock(parent, base, head);\n}\n\n/**\n * The line a finding about a removed member points to. The member has no line at the head, so it is the option\n * that held it, or for a member of the template the block around it.\n */\nfunction lineOfRemoved(removed: Member, base: ComponentFacts, head: ComponentFacts): SourceLine | undefined {\n return isTemplateMember(removed) ? remainingBlock(removed.block, base, head)?.at : sectionLine(removed, head);\n}\n\nfunction memberMissing(kind: MemberKind): Rule {\n const { effect, removal } = COMING_AND_GOING[kind];\n\n return rule({\n id: `${kind}_missing`,\n group: 'Break',\n changes: (base, head) =>\n onlyIn(base, head, kind).map((removed) => ({\n ...memberElement(removed),\n at: lineOfRemoved(removed, base, head),\n rename: possibleRename(removed, base, head),\n })),\n texts: ({ name, rename }, { flags, states }) => ({\n explanation: `${removal.gone(kind, name)}${isMajorOnly(states) ? ' in the major state' : ''}, so ${effect(name)}.`,\n fix: removal.fix({ kind, name, rename }, flags),\n ...(rename === undefined ? {} : { possibleRename: rename }),\n }),\n announcement: {\n rule: 'deprecated_removal',\n subject: `The ${label(kind)}`,\n // A lambda, so the type of the change is inferred from `changes` alone.\n markers: (change, facts) => removal.markers(change, facts),\n matches: (_change, marker) => marker.tag === 'deprecated',\n },\n });\n}\n\nfunction memberAdded(kind: MemberKind): Rule {\n const { additionFix } = COMING_AND_GOING[kind].removal;\n\n return rule({\n id: `${kind}_added`,\n group: 'Addition',\n changes: (base, head) => onlyIn(head, base, kind).map((added) => memberElement(added)),\n texts: () => ({\n explanation: `A new public ${label(kind)} that plugins can rely on from now on.`,\n ...(additionFix === undefined ? {} : { fix: additionFix }),\n }),\n });\n}\n\nfunction memberBecamePrivate(kind: MemberKind): Rule {\n return rule({\n id: 'visibility_became_private',\n group: 'Break',\n changes: (base, head) =>\n withoutNestedKeys(\n inBoth(base, head, kind).filter(({ was, now }) => !was.isPrivate && now.isPrivate),\n ({ now }) => now,\n ).map((member) => keptElement(member)),\n texts: ({ name }, { flags }) => ({\n explanation: `The ${label(kind)} became @private, which removes it from the public API, so plugin code that uses ${name} can break with any later change.`,\n fix: `pattern \"Becomes private\". Keep it public, mark it @bc-change BecomesPrivate version:${flags.majorVersion}, and make it @private in the major.`,\n }),\n announcement: {\n rule: 'announced_change',\n subject: `The ${label(kind)}`,\n markers: (change, facts) => announcingMarkers(change, facts),\n matches: (_change, marker) => isBcChange(marker, 'BecomesPrivate'),\n },\n });\n}\n\nconst propNowRequired = rule({\n id: 'prop_now_required',\n group: 'Break',\n changes: (base, head) =>\n inBoth(base, head, 'prop')\n .filter(({ was, now }) => !was.required && now.required)\n .map((prop) => keptElement(prop)),\n texts: ({ name }, { component, flags }) => ({\n explanation: `The prop is now required, so plugin templates that render ${component} without ${name} fail prop validation.`,\n fix: `pattern \"Prop becomes required\". Keep ${name} optional, call triggerDeprecationOrThrow when it is missing, and mark it @bc-change PropBecomesRequired version:${flags.majorVersion}.`,\n }),\n announcement: {\n rule: 'announced_change',\n subject: 'The prop',\n markers: (change, facts) => announcingMarkers(change, facts),\n matches: (_change, marker) => isBcChange(marker, 'PropBecomesRequired'),\n },\n});\n\n/** A prop that gets a `PropType` on the constructors it had. Vue checks a value against them as before. */\nfunction isAnnotated({ was, now }: Kept): boolean {\n return (\n was.kind === 'prop' &&\n now.kind === 'prop' &&\n was.constructors === now.constructors &&\n was.annotation === null &&\n now.annotation !== null\n );\n}\n\n/** How the declared type of a member changed. Only `retyped` can mean that a plugin gets another kind of value. */\ntype Transition = 'retyped' | 'gained' | 'lost' | 'annotated';\n\nfunction transitionOf(member: Kept, from: string | null, to: string | null): Transition {\n if (isAnnotated(member)) {\n return 'annotated';\n }\n\n if (from === null) {\n return 'gained';\n }\n\n return to === null ? 'lost' : 'retyped';\n}\n\n/** A default that callers no longer fall back to: gone, or another value. */\ninterface DefaultChange {\n from: string | null;\n to: string | null;\n}\n\nfunction valueOf(value: DefaultValue): string | null {\n return value.kind === 'value' ? value.text : null;\n}\n\n/** A factory has no value to compare, so only its removal counts. */\nfunction defaultChange(was: DefaultValue, now: DefaultValue): DefaultChange | null {\n const removed = was.kind !== 'none' && now.kind === 'none';\n const changed = was.kind === 'value' && now.kind === 'value' && was.text !== now.text;\n\n return removed || changed ? { from: valueOf(was), to: valueOf(now) } : null;\n}\n\n/** The default as a marker names it: without spaces, and `undefined` for a default that is gone. */\nfunction markerDefault(value: string | null): string {\n return markerType(value ?? 'undefined');\n}\n\nfunction markerKeysText(keys: Record): string {\n return Object.entries(keys)\n .map(([key, value]) => `${key}:${value}`)\n .join(' ');\n}\n\n/**\n * The rule for a changed default. `subject` names what holds the default, `callers` who falls back to it, and\n * `marker` the `@bc-change` on the member that announces the new default.\n */\nfunction defaultChanged>({\n id,\n changes,\n subject,\n callers,\n marker,\n}: {\n id: string;\n changes: RuleDefinition['changes'];\n subject: (change: Change) => string;\n callers: (change: Change, context: TextContext) => string;\n marker: { kind: BcChangeKind; holder: string; keys: (change: Change) => Record };\n}): Rule {\n const markerKeys = (change: Change) => ({ ...marker.keys(change), default: markerDefault(change.to) });\n\n return rule({\n id,\n group: 'Break',\n changes,\n texts: (change, context) => ({\n explanation:\n change.to === null\n ? `The ${subject(change)} no longer has a default, so ${callers(change, context)} leave it undefined.`\n : `The default of the ${subject(change)} changed from ${change.from} to ${change.to}, so ${callers(change, context)} get another value.`,\n fix: `keep the default, or mark the ${marker.holder} @bc-change ${marker.kind} version:${context.flags.majorVersion} ${markerKeysText(markerKeys(change))}.`,\n }),\n announcement: {\n rule: 'announced_change',\n subject: `The ${marker.holder}`,\n markers: (change, facts) => announcingMarkers(change, facts),\n matches: (change, found) => isBcChange(found, marker.kind, markerKeys(change)),\n },\n });\n}\n\n/** A prop that became required needs no default, which `prop_now_required` reports. */\nconst propDefaultChanged = defaultChanged({\n id: 'prop_default_changed',\n changes: (base, head) =>\n inBoth(base, head, 'prop').flatMap((prop) => {\n const change = prop.now.required ? null : defaultChange(prop.was.default, prop.now.default);\n\n return change === null ? [] : [{ ...keptElement(prop), ...change }];\n }),\n subject: () => 'prop',\n callers: ({ name }, { component }) => `plugin templates that render ${component} without ${name}`,\n marker: { kind: 'PropDefaultValueChange', holder: 'prop', keys: () => ({}) },\n});\n\nfunction declaredTypes(members: Kept[], typeOf: (member: Member) => string | null) {\n return members.flatMap((member) => {\n const from = typeOf(member.was);\n const to = typeOf(member.now);\n\n return from === to ? [] : [{ ...keptElement(member), from, to, transition: transitionOf(member, from, to) }];\n });\n}\n\ntype TypedKind = 'prop' | 'computed' | 'method';\n\n/** The kinds that declare a type, with where each one holds it. A method declares what it returns. */\nconst DECLARED_TYPE: { [Kind in TypedKind]: (member: Member) => string | null } = {\n prop: propType,\n computed: ({ type }) => type,\n method: ({ returns }) => returns,\n};\n\nconst TYPED_KINDS = Object.keys(DECLARED_TYPE) as TypedKind[];\n\nfunction typeChanges(base: ComponentFacts, head: ComponentFacts, kind: Kind) {\n return declaredTypes(inBoth(base, head, kind), DECLARED_TYPE[kind] as (member: Member) => string | null);\n}\n\nfunction isRetyped({ transition }: { transition: Transition }): boolean {\n return transition === 'retyped';\n}\n\n/** How a marker writes a type: a value of a marker ends at a space. */\nfunction markerType(type: string | null): string {\n return (type ?? '').replace(/\\s+/g, '');\n}\n\n/*\n * Whether another type still fits what plugins pass or read needs the type checker. The rules compare the text\n * of the declaration, so every other text is a break until a reviewer has checked it.\n */\nconst typeChanged = rule({\n id: 'type_changed',\n group: 'Break',\n changes: (base, head) => typeChanges(base, head, 'prop').filter(isRetyped),\n texts: ({ kind, name, from, to }) => ({\n explanation: `The declared type of the ${label(kind)} changed from ${from} to ${to}, so values that plugin templates pass as ${name} may no longer fit.`,\n fix: `pattern \"Rename\". Keep ${name} with the type ${from} and add a ${label(kind)} with the new type under a new name.`,\n }),\n});\n\nconst RETURN_TYPE_MARKERS: readonly BcChangeKind[] = ['ReturnTypeNarrowing', 'ReturnTypeWidening'];\n\nfunction returnTypeChanged(kind: 'computed' | 'method'): Rule {\n return rule({\n id: 'return_type_changed',\n group: 'Break',\n changes: (base, head) => typeChanges(base, head, kind).filter(isRetyped),\n texts: ({ name, from, to }, { flags }) => ({\n explanation: `The declared return type of the ${label(kind)} changed from ${from} to ${to}, so plugin code that uses the value of ${name} may no longer fit.`,\n fix: `keep the return type, or mark the ${label(kind)} @bc-change ReturnTypeNarrowing or ReturnTypeWidening version:${flags.majorVersion} type:${markerType(to)}.`,\n }),\n announcement: {\n rule: 'announced_change',\n subject: `The ${label(kind)}`,\n markers: (change, facts) => announcingMarkers(change, facts),\n matches: ({ to }, marker) =>\n RETURN_TYPE_MARKERS.some((markerKind) => isBcChange(marker, markerKind, { type: markerType(to) })),\n },\n });\n}\n\nconst WIDENED_TEXT: Record<\n Exclude,\n (subject: string, from: string | null, to: string | null) => string\n> = {\n annotated: (subject, from, to) =>\n `The ${subject} now declares the type ${to}. Vue still checks a value against ${from}, as before.`,\n gained: (subject, _from, to) => `The ${subject} now declares the type ${to}. It was untyped before.`,\n lost: (subject, from) => `The ${subject} no longer declares a type. It was ${from} before.`,\n};\n\nconst typeWidened = rule({\n id: 'type_widened',\n group: 'Info',\n changes: (base, head) =>\n TYPED_KINDS.flatMap((kind) => typeChanges(base, head, kind)).flatMap((change) =>\n change.transition === 'retyped' ? [] : [{ ...change, transition: change.transition }],\n ),\n texts: ({ kind, from, to, transition }) => ({ explanation: WIDENED_TEXT[transition](label(kind), from, to) }),\n});\n\n/** A parameter in both commits: under the same name, or under another name at the same position. */\ninterface Placed {\n was: Parameter;\n now: Parameter;\n}\n\n/**\n * How the parameters of a method changed. They are matched by `parameterId`, because a plugin passes its\n * values by position: a parameter that holds another position at the head receives what the plugin meant for\n * another one.\n *\n * - `removed`: gone, with the kept parameters behind it that move up because of it.\n * - `appended`: new behind every parameter both commits have.\n * - `inserted`: new in front of a parameter both commits have, which then receives the value meant for it.\n * - `renamed`: at the same position under another name, so calls still pass the same value.\n * - `reordered`: the kept parameters stand in another order.\n */\ninterface ParameterChanges {\n method: Kept<'method'>;\n removed: { parameter: Parameter; moved: string[] }[];\n appended: Parameter[];\n inserted: { parameter: Parameter; before: string }[];\n renamed: Placed[];\n placed: Placed[];\n reordered: boolean;\n before: Parameter[];\n after: Parameter[];\n}\n\nfunction names(parameters: Parameter[]): string[] {\n return parameters.map(parameterId);\n}\n\nfunction compareParameters(method: Kept<'method'>, before: Parameter[], after: Parameter[]): ParameterChanges {\n const find = (parameters: Parameter[], parameter: Parameter) =>\n parameters.find((candidate) => parameterId(candidate) === parameterId(parameter));\n const kept = before.flatMap((was) => {\n const now = find(after, was);\n\n return now === undefined ? [] : [{ was, now }];\n });\n const renamed = before.flatMap((was, position): Placed[] => {\n const now = after.at(position);\n const isRename = now !== undefined && !find(after, was) && !find(before, now);\n\n return isRename ? [{ was, now }] : [];\n });\n const placed = [...kept, ...renamed];\n const isPlaced = (parameter: Parameter) => placed.some(({ now }) => now === parameter);\n const added = after.filter((parameter) => !find(before, parameter) && !isPlaced(parameter));\n const followerOf = (parameter: Parameter) => after.slice(after.indexOf(parameter) + 1).find(isPlaced);\n const keptOrder = (parameters: Parameter[]) =>\n names(parameters.filter((parameter) => find(before, parameter) && find(after, parameter)));\n\n return {\n method,\n removed: before\n .filter((was) => !find(after, was) && !renamed.some((rename) => rename.was === was))\n .map((parameter) => ({\n parameter,\n moved: kept\n .filter(\n ({ was, now }) =>\n before.indexOf(was) > before.indexOf(parameter) && after.indexOf(now) < before.indexOf(was),\n )\n .map(({ now }) => parameterId(now)),\n })),\n appended: added.filter((parameter) => followerOf(parameter) === undefined),\n inserted: added.flatMap((parameter) => {\n const follower = followerOf(parameter);\n\n return follower === undefined ? [] : [{ parameter, before: parameterId(follower) }];\n }),\n renamed,\n placed,\n reordered: keptOrder(before).join() !== keptOrder(after).join(),\n before,\n after,\n };\n}\n\n/** The methods that both commits declare with parameters the source names. */\nfunction parameterChanges(base: ComponentFacts, head: ComponentFacts): ParameterChanges[] {\n return inBoth(base, head, 'method').flatMap((method) =>\n method.was.parameters === null || method.now.parameters === null\n ? []\n : [compareParameters(method, method.was.parameters, method.now.parameters)],\n );\n}\n\nfunction isRequired({ optional, rest }: Parameter): boolean {\n return !optional && !rest;\n}\n\nfunction parameterElement(method: Kept<'method'>, parameter: Parameter) {\n const id = parameterId(parameter);\n\n return { ...keptElement(method, `/param:${id}`), parameter: id };\n}\n\n/** A change to how a method is called or what it returns, which every call notices. */\ntype SignatureChange =\n | { change: 'promise'; nowReturnsPromise: boolean }\n | { change: 'order'; before: string; after: string }\n | { change: 'inserted'; parameter: string; before: string };\n\nfunction signatureTexts(change: SignatureChange, name: string): FindingTexts {\n switch (change.change) {\n case 'promise':\n return change.nowReturnsPromise\n ? {\n explanation: `The method now returns a Promise, so plugin overrides that use the return value of $super('${name}') get a Promise instead.`,\n fix: 'keep the method sync and add an async method under a new name.',\n }\n : {\n explanation: `The method no longer returns a Promise, so plugin overrides that chain a .then() on $super('${name}') fail.`,\n fix: 'keep returning a Promise and add a sync method under a new name.',\n };\n case 'order':\n return {\n explanation: `The parameters of the method changed their order from (${change.before}) to (${change.after}), so plugin calls and $super('${name}', ...) calls pass their values in the wrong place.`,\n fix: 'keep the order of the parameters and add a method under a new name.',\n };\n case 'inserted':\n return {\n explanation: `The new parameter ${change.parameter} stands in front of ${change.before}, so plugin calls and $super('${name}', ...) calls pass the value meant for ${change.before} as ${change.parameter}.`,\n fix: `add ${change.parameter} behind the existing parameters.`,\n };\n default:\n return change satisfies never;\n }\n}\n\nfunction withSignature(element: Element, signature: SignatureChange) {\n return { ...element, signature };\n}\n\nconst methodSignatureChanged = rule({\n id: 'method_signature_changed',\n group: 'Break',\n changes: (base, head) => [\n ...inBoth(base, head, 'method')\n // Two declared return types are compared by `return_type_changed`, which a marker can announce.\n .filter(\n ({ was, now }) =>\n (was.returns === null || now.returns === null) && was.returnsPromise !== now.returnsPromise,\n )\n .map((method) =>\n withSignature(keptElement(method), { change: 'promise', nowReturnsPromise: method.now.returnsPromise }),\n ),\n ...parameterChanges(base, head).flatMap(({ method, reordered, before, after, inserted }) => [\n ...(reordered\n ? [\n withSignature(keptElement(method), {\n change: 'order',\n before: names(before).join(', '),\n after: names(after).join(', '),\n }),\n ]\n : []),\n ...inserted.map(({ parameter, before: follower }) =>\n withSignature(parameterElement(method, parameter), {\n change: 'inserted',\n parameter: parameterId(parameter),\n before: follower,\n }),\n ),\n ]),\n ],\n texts: ({ name, signature }) => signatureTexts(signature, name),\n});\n\nconst paramMissing = rule({\n id: 'param_missing',\n group: 'Break',\n changes: (base, head) =>\n parameterChanges(base, head).flatMap(({ method, removed }) =>\n removed.map(({ parameter, moved }) => ({ ...parameterElement(method, parameter), moved })),\n ),\n texts: ({ name, parameter, moved }, { flags }) => ({\n explanation:\n moved.length === 0\n ? `The parameter ${parameter} is gone, so plugin overrides of ${name} that read it get undefined.`\n : `The parameter ${parameter} is gone and ${moved.join(', ')} moved up, so plugin calls and $super('${name}', ...) calls pass their values in the wrong place.`,\n fix: `pattern \"Parameter removal\". Keep ${parameter}, mark the method @bc-change ParameterRemoval version:${flags.majorVersion} parameter:${parameter}, and remove it in the major.`,\n }),\n announcement: {\n rule: 'announced_change',\n subject: 'The method',\n markers: (change, facts) => announcingMarkers(change, facts),\n matches: ({ parameter }, marker) => isBcChange(marker, 'ParameterRemoval', { parameter }),\n },\n});\n\nconst paramNowRequired = rule({\n id: 'param_now_required',\n group: 'Break',\n changes: (base, head) =>\n parameterChanges(base, head).flatMap(({ method, appended, placed }) => [\n ...appended.filter(isRequired).map((added) => ({ ...parameterElement(method, added), isNew: true })),\n ...placed\n .filter(({ was, now }) => !isRequired(was) && isRequired(now))\n .map(({ now }) => ({ ...parameterElement(method, now), isNew: false })),\n ]),\n texts: ({ name, parameter, isNew }, { flags }) => ({\n explanation: isNew\n ? `The method has a new required parameter ${parameter}, so plugin calls and $super('${name}', ...) calls that pass the old arguments leave it undefined.`\n : `The parameter ${parameter} lost its default, so plugin calls and $super('${name}', ...) calls that do not pass it leave it undefined.`,\n fix: `pattern \"New required parameter\". Keep ${parameter} optional, call triggerDeprecationOrThrow when it is missing, and mark the method @bc-change NewRequiredParameter version:${flags.majorVersion} parameter:${parameter}.`,\n }),\n announcement: {\n rule: 'announced_change',\n subject: 'The method',\n markers: (change, facts) => announcingMarkers(change, facts),\n matches: ({ parameter }, marker) => isBcChange(marker, 'NewRequiredParameter', { parameter }),\n },\n});\n\n/** A parameter that became required needs no default, which `param_now_required` reports. */\nconst paramDefaultChanged = defaultChanged({\n id: 'param_default_changed',\n changes: (base, head) =>\n parameterChanges(base, head).flatMap(({ method, placed }) =>\n placed.flatMap(({ was, now }) => {\n const change = isRequired(now) ? null : defaultChange(was.default, now.default);\n\n return change === null ? [] : [{ ...parameterElement(method, now), ...change }];\n }),\n ),\n subject: ({ parameter }) => `parameter ${parameter}`,\n callers: ({ name }) => `plugin calls and $super('${name}', ...) calls that do not pass it`,\n marker: { kind: 'ParameterDefaultValueChange', holder: 'method', keys: ({ parameter }) => ({ parameter }) },\n});\n\nconst paramAdded = rule({\n id: 'param_added',\n group: 'Addition',\n changes: (base, head) =>\n parameterChanges(base, head).flatMap(({ method, appended }) =>\n appended.filter((added) => !isRequired(added)).map((added) => parameterElement(method, added)),\n ),\n texts: ({ parameter }) => ({\n explanation: `A new optional parameter ${parameter}. Plugin overrides that call $super with explicit arguments do not pass it on.`,\n }),\n});\n\nconst methodParamRenamed = rule({\n id: 'method_param_renamed',\n group: 'Info',\n changes: (base, head) =>\n parameterChanges(base, head).flatMap(({ method, renamed }) =>\n renamed.map(({ was, now }) => ({ ...parameterElement(method, now), was: parameterId(was) })),\n ),\n texts: ({ parameter, was }) => ({\n explanation: `The parameter ${was} is now called ${parameter}. It kept its position, so calls pass the same value.`,\n }),\n});\n\n/** What a ref points to in all its places: a tag, and `[]` behind it for a ref inside a `v-for`. */\nfunction refTargets(facts: ComponentFacts, name: string): string {\n const targets = (facts.members.ref.get(name) ?? []).map(({ target, list }) => `${target}${list ? '[]' : ''}`);\n\n return [...new Set(targets)].sort().join(' or ');\n}\n\nconst refTargetChanged = rule({\n id: 'ref_target_changed',\n group: 'Break',\n changes: (base, head) =>\n inBoth(base, head, 'ref')\n .map((ref) => ({\n ...keptElement(ref),\n from: refTargets(base, ref.was.name),\n to: refTargets(head, ref.now.name),\n }))\n .filter(({ from, to }) => from !== to),\n texts: ({ name, from, to }) => ({\n explanation: `The template ref ${name} now points to ${to} instead of ${from}, so plugin code that calls methods on it fails.`,\n fix: `pattern \"Rename\". Keep the ref ${name} on ${from} and give the ref on ${to} another name.`,\n }),\n});\n\nfunction markerText(marker: Marker): string {\n return marker.tag === 'deprecated'\n ? `@deprecated tag:${marker.version}`\n : `@bc-change ${marker.kind} version:${marker.version}`;\n}\n\n/** `v6.8.0` gives `UPGRADE-6.8.md`. */\nfunction upgradeFile({ version }: Marker): string {\n return `UPGRADE-${version.slice(1).split('.').slice(0, 2).join('.')}.md`;\n}\n\n/** A marker that names a parameter is about that parameter, which is an element of its own. */\nfunction parameterOf(marker: Marker): string {\n const parameter = marker.tag === 'bc-change' ? marker.parameters.parameter : undefined;\n\n return parameter === undefined ? '' : `/param:${parameter}`;\n}\n\nfunction newMarkers(base: ComponentFacts, head: ComponentFacts, tag: Marker['tag']) {\n return KINDS.flatMap((kind): Kept[] => inBoth(base, head, kind)).flatMap((member) => {\n const known = new Set(ownMarkers(member.was, base).map(serialized));\n\n return ownMarkers(member.now, head)\n .filter((marker) => marker.tag === tag && !known.has(serialized(marker)))\n .map((marker) => ({ member, marker }));\n });\n}\n\nfunction markerAdded(id: string, tag: Marker['tag'], announces: string): Rule {\n return rule({\n id,\n group: 'Info',\n changes: (base, head) =>\n newMarkers(base, head, tag).map(({ member, marker }) => ({\n ...keptElement(member, parameterOf(marker)),\n marker: markerText(marker),\n version: marker.version,\n upgradeFile: upgradeFile(marker),\n })),\n texts: ({ kind, marker, version, upgradeFile: file }) => ({\n explanation: `The ${label(kind)} now carries ${marker}, so ${announces} in ${version} is announced.`,\n fix: `add an upgrade note for it to ${file}.`,\n }),\n });\n}\n\n/** @private */\nexport const MEMBER_RULES: readonly Rule[] = [\n ...KINDS.map(memberMissing),\n ...KINDS.filter((kind) => COMING_AND_GOING[kind].isAddition).map(memberAdded),\n // A member of the template carries no comment of its own, so it cannot become @private.\n ...KINDS.filter((kind) => !MEMBER_KINDS[kind].fromTemplate).map(memberBecamePrivate),\n propNowRequired,\n propDefaultChanged,\n typeChanged,\n returnTypeChanged('computed'),\n returnTypeChanged('method'),\n typeWidened,\n methodSignatureChanged,\n paramMissing,\n paramNowRequired,\n paramDefaultChanged,\n paramAdded,\n methodParamRenamed,\n refTargetChanged,\n markerAdded('deprecation_added', 'deprecated', 'its removal'),\n markerAdded('bc_change_added', 'bc-change', 'this change'),\n];\n" +} diff --git a/web/public/bundles/shopware/code/8f84775ed58a2727974a9cd7414a36d030af421e.json b/web/public/bundles/shopware/code/8f84775ed58a2727974a9cd7414a36d030af421e.json new file mode 100644 index 00000000..52f5f13d --- /dev/null +++ b/web/public/bundles/shopware/code/8f84775ed58a2727974a9cd7414a36d030af421e.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "8f84775ed58a2727974a9cd7414a36d030af421e", + "language": "php", + "path": "src/Core/Migration/V6_3/Migration1561370284AddImportExportProductProfile.php", + "schema": "codexray.code/1", + "text": " $fieldName,\n 'entityField' => $fieldName,\n 'valueSubstitutions' => [],\n ];\n }\n\n $connection->insert('import_export_profile', [\n 'id' => Uuid::randomBytes(),\n 'name' => 'Default product',\n 'system_default' => 1,\n 'source_entity' => 'product',\n 'file_type' => 'text/csv',\n 'delimiter' => ';',\n 'enclosure' => '\"',\n 'mapping' => json_encode($mapping, \\JSON_THROW_ON_ERROR),\n 'created_at' => (new \\DateTime())->format(Defaults::STORAGE_DATE_TIME_FORMAT),\n ]);\n }\n\n public function updateDestructive(Connection $connection): void\n {\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/8faa315fcab94aa0704119c4fe4a5e1b64a92adc.json b/web/public/bundles/shopware/code/8faa315fcab94aa0704119c4fe4a5e1b64a92adc.json new file mode 100644 index 00000000..798fe5fa --- /dev/null +++ b/web/public/bundles/shopware/code/8faa315fcab94aa0704119c4fe4a5e1b64a92adc.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "8faa315fcab94aa0704119c4fe4a5e1b64a92adc", + "language": "php", + "path": "src/Storefront/Framework/Cache/CacheCookieEventSubscriber.php", + "schema": "codexray.code/1", + "text": " 'passCacheForFlashMessages',\n CacheHashRequiredExtension::NAME . '.post' => 'onRequireCacheHash',\n ];\n }\n\n public function onRequireCacheHash(CacheHashRequiredExtension $extension): void\n {\n $flashBag = $this->getStateFullFlashBagIfExists();\n\n if (!$flashBag) {\n return;\n }\n\n if ($flashBag->hasAnyFlashes() || $flashBag->displayedAnyFlashes()) {\n $extension->result = true;\n }\n }\n\n public function passCacheForFlashMessages(HttpCacheCookieEvent $cookieEvent): void\n {\n $flashBag = $this->getStateFullFlashBagIfExists();\n\n if (!$flashBag) {\n return;\n }\n\n // if flashbag is filled still when the response is sent, we need to pass the cache also for further requests\n if ($flashBag->hasAnyFlashes()) {\n $cookieEvent->isCacheable = false;\n\n return;\n }\n\n // if flashbag was filled before, but is empty now that means that the response contains flash messages\n // therefore we cannot store the response in the cache\n // however in general the cache should be used for the next requests\n if ($flashBag->displayedAnyFlashes()) {\n $cookieEvent->doNotStore = true;\n }\n }\n\n private function getStateFullFlashBagIfExists(): ?StatefulFlashBag\n {\n if (!$this->sessionFactory instanceof SessionFactory) {\n return null;\n }\n\n return $this->sessionFactory->getFlashBag();\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/91634b15df3f22daba6d38cb2df57ce8a8fc1a54.json b/web/public/bundles/shopware/code/91634b15df3f22daba6d38cb2df57ce8a8fc1a54.json new file mode 100644 index 00000000..70ef2cf6 --- /dev/null +++ b/web/public/bundles/shopware/code/91634b15df3f22daba6d38cb2df57ce8a8fc1a54.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "91634b15df3f22daba6d38cb2df57ce8a8fc1a54", + "language": "php", + "path": "src/Core/Profiling/DependencyInjection/services.php", + "schema": "codexray.code/1", + "text": "services();\n\n $services->set(Stopwatch::class)\n ->args([\n service('debug.stopwatch')->nullOnInvalid(),\n ])\n ->tag('shopware.profiler', ['integration' => 'Symfony']);\n\n $services->set(Tideways::class)\n ->tag('shopware.profiler', ['integration' => 'Tideways']);\n\n $services->set(CacheWatchDelayedCommand::class)\n ->tag('console.command')\n ->args([\n service('service_container'),\n ]);\n\n $services->set(Datadog::class)\n ->tag('shopware.profiler', ['integration' => 'Datadog']);\n\n $services->set(ServerTiming::class)\n ->tag('shopware.profiler', ['integration' => 'ServerTiming'])\n ->tag('kernel.event_listener', ['event' => 'kernel.response', 'method' => 'onResponseEvent']);\n\n $services->set(Profiler::class)\n ->public()\n ->args([\n tagged_iterator('shopware.profiler', 'integration'),\n param('shopware.profiler.integrations'),\n ]);\n};\n" +} diff --git a/web/public/bundles/shopware/code/91d2ccb0c4dbb24cefb9282108005c326fb3876f.json b/web/public/bundles/shopware/code/91d2ccb0c4dbb24cefb9282108005c326fb3876f.json new file mode 100644 index 00000000..25296661 --- /dev/null +++ b/web/public/bundles/shopware/code/91d2ccb0c4dbb24cefb9282108005c326fb3876f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "91d2ccb0c4dbb24cefb9282108005c326fb3876f", + "language": "php", + "path": "src/Core/Profiling/FeatureFlag/FeatureFlagProfiler.php", + "schema": "codexray.code/1", + "text": "featureFlagService->register();\n\n $features = Feature::getRegisteredFeatures();\n\n foreach ($features as $featureKey => $feature) {\n $features[$featureKey]['name'] = Feature::normalizeName($featureKey);\n $features[$featureKey]['active'] = Feature::isActive($featureKey);\n }\n\n $this->data = [\n 'features' => $features,\n ];\n }\n\n public function getName(): string\n {\n return 'feature_flag';\n }\n\n public static function getTemplate(): ?string\n {\n return '@Profiling/Collector/flags.html.twig';\n }\n\n /**\n * @return array\n */\n public function getFeatures(): array\n {\n return $this->data['features'];\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/92ab62bae7caac4e33545c6a6742d952fdb3f716.json b/web/public/bundles/shopware/code/92ab62bae7caac4e33545c6a6742d952fdb3f716.json new file mode 100644 index 00000000..c407595a --- /dev/null +++ b/web/public/bundles/shopware/code/92ab62bae7caac4e33545c6a6742d952fdb3f716.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "92ab62bae7caac4e33545c6a6742d952fdb3f716", + "language": "php", + "path": "src/Core/Profiling/Doctrine/ConnectionProfiler.php", + "schema": "codexray.code/1", + "text": ", params: Data, runnable: bool, explainable: bool, backtrace?: Backtrace}\n * @phpstan-type SanitizedQueryInfoGroup array{sql: string, executionMS: float, types: array<(int | string), \\Doctrine\\DBAL\\ParameterType|int>, params: Data, runnable: bool, explainable: bool, backtrace?: Backtrace, count: int, index: int, executionPercent?: float}\n */\n#[Package('framework')]\nclass ConnectionProfiler extends DataCollector implements LateDataCollectorInterface\n{\n private ?BacktraceDebugDataHolder $dataHolder = null;\n\n /**\n * @var ?array>\n */\n private ?array $groupedQueries = null;\n\n /**\n * @var array\n */\n private array $connections = ['default'];\n\n /**\n * @internal\n */\n public function __construct(private readonly Connection $connection)\n {\n $profilingMiddleware = current(array_filter(\n $this->connection->getConfiguration()->getMiddlewares(),\n static fn (MiddlewareInterface $middleware) => $middleware instanceof ProfilingMiddleware\n ));\n\n if ($profilingMiddleware === false) {\n return;\n }\n\n $this->dataHolder = $profilingMiddleware->debugDataHolder;\n }\n\n public function getName(): string\n {\n return 'app.connection_collector';\n }\n\n public function reset(): void\n {\n $this->data = [\n 'queries' => [],\n 'connections' => $this->connections,\n ];\n if ($this->dataHolder === null) {\n return;\n }\n\n $this->dataHolder->reset();\n }\n\n /**\n * @return array\n */\n public function getConnections(): array\n {\n return $this->data['connections'];\n }\n\n public function getQueryCount(): int\n {\n return array_sum(array_map('count', $this->data['queries']));\n }\n\n /**\n * @return array>\n */\n public function getQueries(): array\n {\n return $this->data['queries'];\n }\n\n public function getTime(): float\n {\n $time = 0;\n foreach ($this->data['queries'] as $queries) {\n foreach ($queries as $query) {\n $time += $query['executionMS'];\n }\n }\n\n return $time;\n }\n\n public function collect(Request $request, Response $response, ?\\Throwable $exception = null): void\n {\n // noop\n }\n\n public function lateCollect(): void\n {\n if ($this->dataHolder === null) {\n $this->data['queries'] = [];\n $this->data['connections'] = $this->connections;\n\n return;\n }\n\n $this->data = ['queries' => $this->collectQueries(), 'connections' => $this->connections];\n $this->groupedQueries = null;\n }\n\n /**\n * @return array>\n */\n public function getGroupedQueries(): array\n {\n if ($this->groupedQueries !== null) {\n return $this->groupedQueries;\n }\n\n $this->groupedQueries = [];\n $totalExecutionMS = 0;\n foreach ($this->getQueries() as $connection => $queries) {\n $connectionGroupedQueries = [];\n foreach ($queries as $i => $query) {\n $key = $query['sql'];\n if (!isset($connectionGroupedQueries[$key])) {\n $connectionGroupedQueries[$key] = $query;\n $connectionGroupedQueries[$key]['executionMS'] = 0;\n $connectionGroupedQueries[$key]['count'] = 0;\n $connectionGroupedQueries[$key]['index'] = $i; // \"Explain query\" relies on query index in 'queries'.\n }\n\n $connectionGroupedQueries[$key]['executionMS'] += $query['executionMS'];\n ++$connectionGroupedQueries[$key]['count'];\n $totalExecutionMS += $query['executionMS'];\n }\n\n usort($connectionGroupedQueries, static fn (array $a, array $b): int => $b['executionMS'] <=> $a['executionMS']);\n $this->groupedQueries[$connection] = $connectionGroupedQueries;\n }\n\n foreach ($this->groupedQueries as &$groupedQueries) {\n foreach ($groupedQueries as &$groupedQuery) {\n $groupedQuery['executionPercent'] = $this->executionTimePercentage($groupedQuery['executionMS'], $totalExecutionMS);\n }\n unset($groupedQuery);\n }\n unset($groupedQueries);\n\n return $this->groupedQueries;\n }\n\n public function getGroupedQueryCount(): int\n {\n return array_sum(\n array_map(\n static fn (array $connectionGroupedQueries) => \\count($connectionGroupedQueries),\n $this->getGroupedQueries()\n )\n );\n }\n\n /**\n * @return array>\n */\n private function collectQueries(): array\n {\n if ($this->dataHolder === null) {\n return [];\n }\n\n $queries = [];\n\n foreach ($this->dataHolder->getData() as $connection => $connectionQueries) {\n $queries[$connection] = $this->sanitizeQueries($connectionQueries);\n }\n\n return $queries;\n }\n\n /**\n * @param array $queries\n *\n * @return array\n */\n private function sanitizeQueries(array $queries): array\n {\n return array_map(fn (array $query) => $this->sanitizeQuery($query), $queries);\n }\n\n /**\n * @param QueryInfo $query\n *\n * @return SanitizedQueryInfo\n */\n private function sanitizeQuery(array $query): array\n {\n $query['explainable'] = true;\n $query['runnable'] = true;\n $query['params'] ??= [];\n if (!\\is_array($query['params'])) {\n $query['params'] = [$query['params']];\n }\n if (!\\is_array($query['types'])) {\n $query['types'] = [];\n }\n foreach ($query['params'] as $j => $param) {\n $e = null;\n if (isset($query['types'][$j])) {\n // Transform the param according to the type\n $type = $query['types'][$j];\n if (\\is_string($type)) {\n $type = Type::getType($type);\n }\n if ($type instanceof Type) {\n $query['types'][$j] = $type->getBindingType();\n\n try {\n $param = $type->convertToDatabaseValue($param, $this->connection->getDatabasePlatform());\n } catch (\\TypeError|ConversionException) {\n }\n }\n }\n\n [$query['params'][$j], $explainable, $runnable] = $this->sanitizeParam($param, $e);\n if (!$explainable) {\n $query['explainable'] = false;\n }\n\n if (!$runnable) {\n $query['runnable'] = false;\n }\n }\n\n $query['params'] = $this->cloneVar($query['params']);\n\n return $query;\n }\n\n /**\n * Sanitizes a param.\n *\n * The return value is an array with the sanitized value and a boolean\n * indicating if the original value was kept (allowing to use the sanitized value to explain the query).\n *\n * @return array{0: mixed, 1: bool, 2: bool}\n */\n private function sanitizeParam(mixed $var, ?\\Throwable $error): array\n {\n if (\\is_object($var)) {\n return [$o = new ObjectParameter($var, $error), false, $o->isStringable() && !$error];\n }\n\n if ($error) {\n return ['⚠ ' . $error->getMessage(), false, false];\n }\n\n if (\\is_array($var)) {\n $a = [];\n $explainable = $runnable = true;\n foreach ($var as $k => $v) {\n [$value, $e, $r] = $this->sanitizeParam($v, null);\n $explainable = $explainable && $e;\n $runnable = $runnable && $r;\n $a[$k] = $value;\n }\n\n return [$a, $explainable, $runnable];\n }\n\n if (\\is_resource($var)) {\n return [\\sprintf('/* Resource(%s) */', get_resource_type($var)), false, false];\n }\n\n return [$var, true, true];\n }\n\n private function executionTimePercentage(float $executionTimeMS, float $totalExecutionTimeMS): float\n {\n if (!$totalExecutionTimeMS) {\n return 0;\n }\n\n return $executionTimeMS / $totalExecutionTimeMS * 100;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/93b61c61d5d22e50089f7845f061fa3de96ee6cd.json b/web/public/bundles/shopware/code/93b61c61d5d22e50089f7845f061fa3de96ee6cd.json new file mode 100644 index 00000000..d7a6dfff --- /dev/null +++ b/web/public/bundles/shopware/code/93b61c61d5d22e50089f7845f061fa3de96ee6cd.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "93b61c61d5d22e50089f7845f061fa3de96ee6cd", + "language": "php", + "path": "src/Storefront/DependencyInjection/StorefrontExtension.php", + "schema": "codexray.code/1", + "text": "processConfiguration($configuration, $configs);\n\n $this->addConfig($container, 'storefront', $config);\n $this->registerThemeServiceAliases($config['theme'], $container);\n }\n\n private function addConfig(ContainerBuilder $container, string $alias, array $options): void\n {\n foreach ($options as $key => $option) {\n $container->setParameter($alias . '.' . $key, $option);\n\n if (\\is_array($option)) {\n $this->addConfig($container, $alias . '.' . $key, $option);\n }\n }\n }\n\n private function registerThemeServiceAliases(array $theme, ContainerBuilder $container): void\n {\n $container->setAlias(AbstractThemePathBuilder::class, $theme['theme_path_builder_id']);\n $container->setAlias(AbstractConfigLoader::class, $theme['config_loader_id']);\n $container->setAlias(AbstractAvailableThemeProvider::class, $theme['available_theme_provider']);\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/946e30860ba2fb071b637d1378036f3c6e247ce6.json b/web/public/bundles/shopware/code/946e30860ba2fb071b637d1378036f3c6e247ce6.json new file mode 100644 index 00000000..c27f1171 --- /dev/null +++ b/web/public/bundles/shopware/code/946e30860ba2fb071b637d1378036f3c6e247ce6.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "946e30860ba2fb071b637d1378036f3c6e247ce6", + "language": "php", + "path": "src/Storefront/Framework/Script/Api/StorefrontScriptResponseFactoryFacadeHookFactory.php", + "schema": "codexray.code/1", + "text": "router,\n $this->scriptController,\n $hook->getSalesChannelContext()\n );\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/94f3b6e6bfda05e1bcc18f5eedce322721fd0f11.json b/web/public/bundles/shopware/code/94f3b6e6bfda05e1bcc18f5eedce322721fd0f11.json new file mode 100644 index 00000000..a7cc609c --- /dev/null +++ b/web/public/bundles/shopware/code/94f3b6e6bfda05e1bcc18f5eedce322721fd0f11.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "94f3b6e6bfda05e1bcc18f5eedce322721fd0f11", + "language": "javascript", + "path": "src/Administration/Resources/app/administration/src/app/component/structure/sw-search-bar-item/index.js", + "schema": "codexray.code/1", + "text": "import useModuleIconColors from 'src/app/composables/use-module-icon-colors';\nimport template from './sw-search-bar-item.html.twig';\nimport './sw-search-bar-item.scss';\n\nconst { Application } = Shopware;\n/**\n * @sw-package framework\n *\n * @private\n * @description\n * Renders the search result items based on the item type.\n * @status ready\n * @example-type code-only\n * @component-example\n * \n * \n */\nexport default {\n template,\n\n inject: {\n searchTypeService: 'searchTypeService',\n feature: 'feature',\n recentlySearchService: 'recentlySearchService',\n searchBarOnMouseOver: {\n from: 'searchBarOnMouseOver',\n default: null,\n },\n searchBarRegisterActiveItemIndexSelectHandler: {\n from: 'searchBarRegisterActiveItemIndexSelectHandler',\n default: null,\n },\n searchBarUnregisterActiveItemIndexSelectHandler: {\n from: 'searchBarUnregisterActiveItemIndexSelectHandler',\n default: null,\n },\n searchBarRegisterKeyupEnterHandler: {\n from: 'searchBarRegisterKeyupEnterHandler',\n default: null,\n },\n searchBarUnregisterKeyupEnterHandler: {\n from: 'searchBarUnregisterKeyupEnterHandler',\n default: null,\n },\n },\n\n emits: ['click-search-result'],\n\n props: {\n item: {\n type: Object,\n required: false,\n default: () => ({}),\n },\n type: {\n required: true,\n type: String,\n },\n index: {\n type: Number,\n required: true,\n },\n column: {\n type: Number,\n required: true,\n },\n searchTerm: {\n type: String,\n required: false,\n default: null,\n },\n entityIconColor: {\n type: String,\n required: true,\n },\n entityIconName: {\n type: String,\n required: true,\n },\n },\n\n data() {\n return {\n isActive: false,\n };\n },\n\n computed: {\n searchTypes() {\n return this.searchTypeService.getTypes();\n },\n\n moduleManifest() {\n const moduleFactory = Application.getContainer('factory').module;\n\n const module = moduleFactory.getModuleByEntityName(this.type) ?? {};\n\n return module.manifest;\n },\n\n customItemRoute() {\n const searchType = Object.values(this.searchTypes).find((type) => {\n return type.entityName === this.type && typeof type.itemRoute === 'function';\n });\n\n return searchType ? searchType.itemRoute(this.item) : null;\n },\n\n detailRoute() {\n return this.moduleManifest?.routes?.detail?.name;\n },\n\n displayValue() {\n if (!this.moduleManifest?.hasOwnProperty('entityDisplayProperty')) {\n return this.item.hasOwnProperty('name') ? this.item.name : this.item.id;\n }\n\n if (!this.item.hasOwnProperty(this.moduleManifest.entityDisplayProperty)) {\n return this.item.hasOwnProperty('name') ? this.item.name : this.item.id;\n }\n\n return this.item[this.moduleManifest.entityDisplayProperty];\n },\n\n componentClasses() {\n return [\n {\n 'is--active': this.isActive,\n },\n ];\n },\n\n moduleName() {\n const { action, label, entity, title } = this.item;\n\n if (title && !action) {\n return this.$t(`${title}`, 2);\n }\n\n return action\n ? this.$t(\n 'global.sw-search-bar-item.addNewEntity',\n {\n entity: label?.toLowerCase() ?? this.$t(`global.entities.${entity}`).toLowerCase(),\n },\n 0,\n )\n : label;\n },\n\n routeName() {\n return typeof this.item.route === 'object' ? this.item.route : { name: this.item.route };\n },\n\n iconName() {\n return ['module', 'frequently_used'].includes(this.type) && this.item?.icon\n ? this.item.icon\n : this.entityIconName;\n },\n\n iconColor() {\n if (!useModuleIconColors().enabled.value) {\n return 'var(--color-icon-primary-default)';\n }\n\n return ['module', 'frequently_used'].includes(this.type) && this.item?.color\n ? this.item.color\n : this.entityIconColor;\n },\n\n shortcut() {\n const { action, name } = this.item;\n\n if (!this.$te(`global.sw-search-bar-item.shortcuts.${name}`)) {\n return false;\n }\n\n const shortcut = this.$t(`global.sw-search-bar-item.shortcuts.${name}`, action ? 2 : 1);\n\n // ` ` is used as a placeholder in the snippets when a module has no\n // shortcut for the requested state (e.g. adding a landing page reuses the\n // category module which has no \"add\" shortcut). Don't render an empty box.\n if (shortcut.trim() === ' ') {\n return false;\n }\n\n return shortcut;\n },\n\n productDisplayName() {\n const name = this.item.translated?.name ?? this.item.name;\n const options = [];\n\n if (this.item?.variation?.length > 0) {\n this.item.variation.forEach((variation) => {\n options.push(`${variation.group}: ${variation.option}`);\n });\n\n return `${name} (${options.join(' | ')})`;\n }\n\n return name;\n },\n\n currentUser() {\n return Shopware.Store.get('session').currentUser;\n },\n\n mediaNameFilter() {\n return Shopware.Filter.getByName('mediaName');\n },\n },\n\n created() {\n this.createdComponent();\n },\n\n unmounted() {\n this.destroyedComponent();\n },\n\n methods: {\n createdComponent() {\n this.registerEvents();\n\n if (this.index === 0 && this.column === 0) {\n this.isActive = true;\n }\n },\n\n destroyedComponent() {\n this.removeEvents();\n },\n\n registerEvents() {\n this.searchBarRegisterActiveItemIndexSelectHandler(this.checkActiveState);\n this.searchBarRegisterKeyupEnterHandler(this.onEnter);\n },\n\n removeEvents() {\n this.searchBarUnregisterActiveItemIndexSelectHandler(this.checkActiveState);\n this.searchBarUnregisterKeyupEnterHandler(this.onEnter);\n },\n\n checkActiveState({ index, column }) {\n if (index === this.index && column === this.column) {\n this.isActive = true;\n return;\n }\n\n if (this.isActive) {\n this.isActive = false;\n }\n },\n\n onEnter(index, column) {\n if (index !== this.index || column !== this.column) {\n return;\n }\n\n const routerLink = this.$refs.routerLink;\n this.$router.push(routerLink.to);\n },\n\n onMouseEnter(originalDomEvent) {\n this.searchBarOnMouseOver({\n originalDomEvent,\n index: this.index,\n column: this.column,\n });\n\n this.isActive = true;\n },\n\n onClickSearchResult(entity, id, payload = {}) {\n this.recentlySearchService.add(this.currentUser.id, entity, id, payload);\n this.$emit('click-search-result', entity, id, payload);\n },\n },\n};\n" +} diff --git a/web/public/bundles/shopware/code/95b8f7fe82e0784a7eaf7439674a2ce5d721f5d1.json b/web/public/bundles/shopware/code/95b8f7fe82e0784a7eaf7439674a2ce5d721f5d1.json new file mode 100644 index 00000000..ff7d685d --- /dev/null +++ b/web/public/bundles/shopware/code/95b8f7fe82e0784a7eaf7439674a2ce5d721f5d1.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "95b8f7fe82e0784a7eaf7439674a2ce5d721f5d1", + "language": "php", + "path": "src/Storefront/Migration/V6_3/Migration1563785071AddThemeHelpText.php", + "schema": "codexray.code/1", + "text": "addColumn(\n connection: $connection,\n table: 'theme_translation',\n column: 'help_texts',\n type: 'JSON',\n );\n }\n\n public function updateDestructive(Connection $connection): void\n {\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/96a9e0b9e7fc4a9829d74246c73ee687003f55c4.json b/web/public/bundles/shopware/code/96a9e0b9e7fc4a9829d74246c73ee687003f55c4.json new file mode 100644 index 00000000..a29ade31 --- /dev/null +++ b/web/public/bundles/shopware/code/96a9e0b9e7fc4a9829d74246c73ee687003f55c4.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "96a9e0b9e7fc4a9829d74246c73ee687003f55c4", + "language": "javascript", + "path": "src/Administration/Resources/app/administration/src/app/component/form/sw-snippet-field-edit-modal/index.js", + "schema": "codexray.code/1", + "text": "import Sanitizer from 'src/core/helper/sanitizer.helper';\nimport template from './sw-snippet-field-edit-modal.html.twig';\n\n/**\n * @sw-package framework\n *\n * @private\n * @status ready\n * @description The modal component used to edit snippet values in ``.\n * @example-type code-only\n * @component-example\n * \n * \n */\nexport default {\n template,\n\n inject: ['acl', 'repositoryFactory'],\n\n emits: ['modal-close', 'save'],\n\n props: {\n snippets: {\n type: Array,\n required: true,\n },\n\n snippetSets: {\n type: Array,\n required: true,\n },\n\n translationKey: {\n type: String,\n required: true,\n },\n\n fieldType: {\n type: String,\n required: true,\n validValues: ['text', 'textarea'],\n validator(value) {\n return ['text', 'textarea'].includes(value);\n },\n },\n },\n\n data() {\n return {\n isLoading: false,\n editableSnippets: [],\n };\n },\n\n computed: {\n modalTitle() {\n const title = this.$t('global.sw-snippet-field-edit-modal.title');\n\n return `${title}: ${this.translationKey}`;\n },\n\n currentAuthor() {\n return `user/${Shopware.Store.get('session').currentUser.username}`;\n },\n\n snippetRepository() {\n return this.repositoryFactory.create('snippet');\n },\n\n textField() {\n return this.fieldType === 'text';\n },\n\n textArea() {\n return this.fieldType === 'textarea';\n },\n },\n\n created() {\n this.createdComponent();\n },\n\n methods: {\n createdComponent() {\n this.isLoading = true;\n\n this.snippetSets.forEach((snippetSet) => {\n const existingSnippet = this.snippets.find((item) => item.setId === snippetSet.id);\n const snippet = this.snippetRepository.create(Shopware.Context.api);\n\n if (existingSnippet) {\n snippet.author = existingSnippet.author;\n snippet.id = existingSnippet.id;\n snippet.value = existingSnippet.value;\n snippet.origin = existingSnippet.origin;\n snippet.translationKey = existingSnippet.translationKey;\n snippet.setId = existingSnippet.setId;\n\n if (existingSnippet.id) {\n snippet._isNew = false;\n }\n } else {\n snippet.author = this.currentAuthor;\n snippet.id = null;\n snippet.value = null;\n snippet.origin = null;\n snippet.translationKey = this.translationKey;\n snippet.setId = snippetSet.id;\n }\n\n this.editableSnippets.push(snippet);\n });\n\n this.isLoading = false;\n },\n\n closeModal() {\n this.$emit('modal-close');\n },\n\n getNoPermissionsTooltip(role) {\n return {\n showDelay: 300,\n appearance: 'dark',\n showOnDisabledElements: true,\n disabled: this.acl.can(role),\n message: this.$t('sw-privileges.tooltip.warning'),\n };\n },\n\n onSave() {\n const responses = [];\n this.isLoading = true;\n\n this.editableSnippets.forEach((snippet) => {\n snippet.value = Sanitizer.sanitize(snippet.value);\n snippet.author = this.currentAuthor;\n\n if (!snippet.hasOwnProperty('value') || snippet.value === '') {\n // If you clear the input-box, reset it to its origin value\n snippet.value = snippet.origin;\n }\n\n if (snippet.origin !== snippet.value) {\n // Only save if values differs from origin\n responses.push(this.snippetRepository.save(snippet, Shopware.Context.api));\n } else if (snippet.hasOwnProperty('id') && snippet.id !== null) {\n // There's no need to keep a snippet which is exactly like the file-snippet, so delete\n responses.push(this.snippetRepository.delete(snippet.id, Shopware.Context.api));\n }\n });\n\n Promise.all(responses).then(() => {\n this.isLoading = false;\n this.$emit('save');\n });\n },\n },\n};\n" +} diff --git a/web/public/bundles/shopware/code/98b6f985aeb93b9e3d56e7482c43bfec8af727c0.json b/web/public/bundles/shopware/code/98b6f985aeb93b9e3d56e7482c43bfec8af727c0.json new file mode 100644 index 00000000..90c94da6 --- /dev/null +++ b/web/public/bundles/shopware/code/98b6f985aeb93b9e3d56e7482c43bfec8af727c0.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "98b6f985aeb93b9e3d56e7482c43bfec8af727c0", + "language": "php", + "path": "src/Storefront/Framework/Script/Api/StorefrontScriptResponseFactoryFacade.php", + "schema": "codexray.code/1", + "text": " $parameters The parameters you want to pass to the template, ensure that you pass the `page` parameter from the hook to the templates.\n *\n * @return ScriptResponse The created response object with the rendered template as content, remember to assign it to the hook with `hook.setResponse()`.\n *\n * @example storefront-render/script.twig 3 Fetch a product, add it to the page and return a rendered response.\n */\n public function render(string $view, array $parameters = []): ScriptResponse\n {\n $inner = $this->scriptController->renderStorefrontForScript($view, $parameters);\n\n return new ScriptResponse($inner, $inner->getStatusCode());\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/9db9df338ceeb01f13fcb332101d18d4b92d9aaa.json b/web/public/bundles/shopware/code/9db9df338ceeb01f13fcb332101d18d4b92d9aaa.json new file mode 100644 index 00000000..ca642257 --- /dev/null +++ b/web/public/bundles/shopware/code/9db9df338ceeb01f13fcb332101d18d4b92d9aaa.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "9db9df338ceeb01f13fcb332101d18d4b92d9aaa", + "language": "php", + "path": "src/Storefront/Pagelet/Menu/Offcanvas/MenuOffcanvasPageletLoadedHook.php", + "schema": "codexray.code/1", + "text": "getContext());\n $this->salesChannelContext = $context;\n }\n\n public function getName(): string\n {\n return self::HOOK_NAME;\n }\n\n public function getPage(): MenuOffcanvasPagelet\n {\n return $this->page;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/9fd32d7bbb4050e6abcad34a2ed86fe22115d7e4.json b/web/public/bundles/shopware/code/9fd32d7bbb4050e6abcad34a2ed86fe22115d7e4.json new file mode 100644 index 00000000..53994f17 --- /dev/null +++ b/web/public/bundles/shopware/code/9fd32d7bbb4050e6abcad34a2ed86fe22115d7e4.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "9fd32d7bbb4050e6abcad34a2ed86fe22115d7e4", + "language": "php", + "path": "src/Core/Maintenance/User/Service/UserProvisioner.php", + "schema": "codexray.code/1", + "text": "userExists($username)) {\n throw MaintenanceException::userAlreadyExists($username);\n }\n\n $minPasswordLength = $this->getAdminPasswordMinLength();\n\n $password ??= Random::getAlphanumericString(max($minPasswordLength, 8));\n\n if (\\strlen($password) < $minPasswordLength) {\n throw MaintenanceException::passwordTooShort($minPasswordLength);\n }\n\n $userPayload = [\n 'id' => Uuid::randomBytes(),\n 'first_name' => $additionalData['firstName'] ?? '',\n 'last_name' => $additionalData['lastName'] ?? $username,\n 'email' => $additionalData['email'] ?? self::USER_EMAIL_FALLBACK,\n 'username' => $username,\n 'password' => password_hash($password, \\PASSWORD_BCRYPT),\n 'locale_id' => $additionalData['localeId'] ?? $this->getLocaleOfSystemLanguage(),\n 'active' => true,\n 'admin' => $additionalData['admin'] ?? true,\n 'created_at' => $this->clock->now()->format(Defaults::STORAGE_DATE_TIME_FORMAT),\n ];\n\n $this->connection->insert('user', $userPayload);\n\n return $password;\n }\n\n private function userExists(string $username): bool\n {\n $builder = $this->connection->createQueryBuilder();\n\n return $builder->select('1')\n ->from('user')\n ->where('username = :username')\n ->setParameter('username', $username)\n ->executeQuery()\n ->rowCount() > 0;\n }\n\n private function getLocaleOfSystemLanguage(): string\n {\n $builder = $this->connection->createQueryBuilder();\n\n return (string) $builder->select('locale.id')\n ->from('language', 'language')\n ->innerJoin('language', 'locale', 'locale', 'language.locale_id = locale.id')\n ->where('language.id = :id')\n ->setParameter('id', Uuid::fromHexToBytes(Defaults::LANGUAGE_SYSTEM))\n ->executeQuery()\n ->fetchOne();\n }\n\n private function getAdminPasswordMinLength(): int\n {\n $configKey = PasswordFieldSerializer::CONFIG_MIN_LENGTH_FOR[PasswordField::FOR_ADMIN];\n\n $result = $this->connection->fetchOne(\n 'SELECT configuration_value FROM system_config WHERE configuration_key = :configKey AND sales_channel_id is NULL;',\n [\n 'configKey' => $configKey,\n ]\n );\n\n if ($result === false) {\n return 0;\n }\n\n $config = json_decode($result, true, 512, \\JSON_THROW_ON_ERROR);\n\n return $config['_value'] ?? 0;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/9ffb829737b7518eaa35af0f464a1c30b1d8188c.json b/web/public/bundles/shopware/code/9ffb829737b7518eaa35af0f464a1c30b1d8188c.json new file mode 100644 index 00000000..95bffb7c --- /dev/null +++ b/web/public/bundles/shopware/code/9ffb829737b7518eaa35af0f464a1c30b1d8188c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "9ffb829737b7518eaa35af0f464a1c30b1d8188c", + "language": "php", + "path": "src/Elasticsearch/Profiler/DataCollector.php", + "schema": "codexray.code/1", + "text": "attributes->get(PlatformRequest::ATTRIBUTE_CONTEXT_OBJECT);\n $enabled = $this->enabled;\n $client = $this->client;\n\n if ($client->getCalledRequests() === [] && $context instanceof Context && $context->getSource() instanceof AdminApiSource) {\n $enabled = $this->adminEnabled;\n $client = $this->adminClient;\n }\n\n $clientRequests = array_merge($this->client->getCalledRequests(), $this->adminClient->getCalledRequests());\n $this->data = [\n 'enabled' => $enabled,\n 'requests' => $clientRequests,\n 'time' => 0,\n ];\n\n if (!$enabled) {\n return;\n }\n\n foreach ($clientRequests as $calledRequest) {\n $this->data['time'] += $calledRequest['time'];\n }\n\n $this->data['clusterInfo'] = $client->cluster()->health();\n $this->data['indices'] = $client->cat()->indices();\n }\n\n public function getName(): string\n {\n return 'elasticsearch';\n }\n\n public function reset(): void\n {\n $this->data = [];\n $this->client->resetRequests();\n $this->adminClient->resetRequests();\n }\n\n public function getTime(): float\n {\n $time = 0;\n\n foreach ($this->data['requests'] ?? [] as $calledRequest) {\n $time += $calledRequest['time'];\n }\n\n return (int) ($time * 1000);\n }\n\n public function getRequestAmount(): int\n {\n return is_countable($this->data['requests']) ? \\count($this->data['requests']) : 0;\n }\n\n /**\n * @return RequestInfo[]\n */\n public function getRequests(): array\n {\n return $this->data['requests'] ?? [];\n }\n\n /**\n * @return array{cluster_name: string, status: string, number_of_nodes: int}\n */\n public function getClusterInfo(): array\n {\n return $this->data['clusterInfo'];\n }\n\n /**\n * @return array{index: string, status: string, pri: int, rep: int, 'docs.count': int}[]\n */\n public function getIndices(): array\n {\n return $this->data['indices'];\n }\n\n public function isEnabled(): bool\n {\n return (bool) $this->data['enabled'];\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/a2ddb579884ba2040c888a147998c37009b640c0.json b/web/public/bundles/shopware/code/a2ddb579884ba2040c888a147998c37009b640c0.json new file mode 100644 index 00000000..5321b9be --- /dev/null +++ b/web/public/bundles/shopware/code/a2ddb579884ba2040c888a147998c37009b640c0.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a2ddb579884ba2040c888a147998c37009b640c0", + "language": "php", + "path": "src/Storefront/Checkout/Shipping/BlockedShippingMethodSwitcher.php", + "schema": "codexray.code/1", + "text": "getShippingMethod();\n if (!$this->isContextShippingMethodBlocked($errors, $salesChannelContext)) {\n return $originalShippingMethod;\n }\n\n $shippingMethod = $this->getShippingMethodToChangeTo(\n $errors,\n $salesChannelContext,\n $shippingMethods ?? $this->shippingMethodRoute->load(\n new Request(['onlyAvailable' => true]),\n $salesChannelContext,\n new Criteria(),\n )->getShippingMethods(),\n );\n if ($shippingMethod === null) {\n return $originalShippingMethod;\n }\n\n $this->addNoticeToCart($errors, $shippingMethod, $originalShippingMethod);\n\n return $shippingMethod;\n }\n\n public function isContextShippingMethodBlocked(ErrorCollection $errors, SalesChannelContext $salesChannelContext): bool\n {\n $contextShippingMethod = $salesChannelContext->getShippingMethod();\n foreach ($errors as $error) {\n if ($this->blocksContextShippingMethod($error, $contextShippingMethod)) {\n return true;\n }\n }\n\n return false;\n }\n\n /**\n * @phpstan-assert-if-true ShippingMethodBlockedError $error\n */\n private function blocksContextShippingMethod(Error $error, ShippingMethodEntity $contextShippingMethod): bool\n {\n if (!$error instanceof ShippingMethodBlockedError) {\n return false;\n }\n\n // @deprecated tag:v6.8.0 - remove together with the name fallback in the lookup, the error always carries the id\n if ($error->getShippingMethodId() === null) {\n return true;\n }\n\n return $error->getShippingMethodId() === $contextShippingMethod->getId();\n }\n\n private function getShippingMethodToChangeTo(\n ErrorCollection $errors,\n SalesChannelContext $salesChannelContext,\n ShippingMethodCollection $shippingMethods\n ): ?ShippingMethodEntity {\n $blocked = $this->getBlockedShippingMethodLookup($errors);\n\n $defaultShippingMethod = $shippingMethods->get($salesChannelContext->getSalesChannel()->getShippingMethodId());\n if ($defaultShippingMethod !== null && !$this->isBlocked($defaultShippingMethod, $blocked)) {\n return $defaultShippingMethod;\n }\n\n foreach ($shippingMethods as $shippingMethod) {\n if (!$this->isBlocked($shippingMethod, $blocked)) {\n return $shippingMethod;\n }\n }\n\n return null;\n }\n\n /**\n * @return array\n */\n private function getBlockedShippingMethodLookup(ErrorCollection $errors): array\n {\n // @deprecated tag:v6.8.0 - remove the name fallback, the error always carries the id\n return \\array_flip($errors->fmap(static fn (Error $error) => $error instanceof ShippingMethodBlockedError ? ($error->getShippingMethodId() ?? $error->getName()) : null));\n }\n\n /**\n * @param array $blocked\n */\n private function isBlocked(ShippingMethodEntity $shippingMethod, array $blocked): bool\n {\n if (isset($blocked[$shippingMethod->getId()])) {\n return true;\n }\n\n // @deprecated tag:v6.8.0 - remove the name check together with the name fallback in the lookup\n $name = $shippingMethod->getName();\n\n return $name !== null && isset($blocked[$name]);\n }\n\n private function addNoticeToCart(ErrorCollection $cartErrors, ShippingMethodEntity $shippingMethod, ShippingMethodEntity $contextShippingMethod): void\n {\n $newShippingMethodName = $shippingMethod->getTranslation('name');\n if ($newShippingMethodName === null) {\n return;\n }\n\n foreach ($cartErrors as $error) {\n if (!$this->blocksContextShippingMethod($error, $contextShippingMethod)) {\n continue;\n }\n\n // Exchange cart blocked warning with notice\n $cartErrors->remove($error->getId());\n $cartErrors->add(new ShippingMethodChangedError(\n oldShippingMethodId: $error->getShippingMethodId(),\n oldShippingMethodName: $error->getName(),\n newShippingMethodId: $shippingMethod->getId(),\n newShippingMethodName: $newShippingMethodName,\n reason: $error->getReason(),\n ));\n }\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/a2e2133f2e9dfc9c370b5cf06960cebf554f89bc.json b/web/public/bundles/shopware/code/a2e2133f2e9dfc9c370b5cf06960cebf554f89bc.json new file mode 100644 index 00000000..a9aa2b5d --- /dev/null +++ b/web/public/bundles/shopware/code/a2e2133f2e9dfc9c370b5cf06960cebf554f89bc.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a2e2133f2e9dfc9c370b5cf06960cebf554f89bc", + "language": "php", + "path": "src/Storefront/Event/RouteRequest/CancelOrderRouteRequestEvent.php", + "schema": "codexray.code/1", + "text": " $hookableEventDescribers\n */\n public function __construct(\n private readonly BusinessEventCollector $businessEventCollector,\n private readonly HookableEventCollector $hookableEventCollector,\n private readonly PolicyRegistry $policies,\n private readonly iterable $hookableEventDescribers,\n private readonly Environment $twig,\n private readonly Filesystem $filesystem\n ) {\n parent::__construct();\n }\n\n public function render(): string\n {\n $eventsDoc = [];\n\n $this->collectBusinessEvent($eventsDoc);\n\n $this->collectEntityWrittenEvent($eventsDoc);\n\n $this->collectHookables($eventsDoc);\n\n $originalLoader = $this->twig->getLoader();\n $this->twig->setLoader(new ArrayLoader([\n 'hookable-events-list.md.twig' => file_get_contents(self::EVENTS_TEMPLATE),\n ]));\n\n try {\n return $this->twig->render(\n 'hookable-events-list.md.twig',\n ['eventDocs' => $eventsDoc]\n );\n } finally {\n $this->twig->setLoader($originalLoader);\n }\n }\n\n public function renderJson(): string\n {\n $events = array_filter(\n $this->hookableEventCollector->getHookableEventNamesWithPrivileges(Context::createCLIContext(), null),\n fn (string $eventName) => $this->policies->permitsSubscription($eventName, Subscriber::none()),\n \\ARRAY_FILTER_USE_KEY\n );\n\n return json_encode($events, \\JSON_PRETTY_PRINT | \\JSON_UNESCAPED_SLASHES | \\JSON_THROW_ON_ERROR) . \\PHP_EOL;\n }\n\n public function getListEventPath(): string\n {\n return self::EVENT_DOCUMENT_PATH;\n }\n\n public function getJsonEventPath(): string\n {\n return self::EVENT_JSON_PATH;\n }\n\n protected function execute(InputInterface $input, OutputInterface $output): int\n {\n $io = new SymfonyStyle($input, $output);\n\n $io->section('Generates documentation for all events that can be registered as webhook');\n\n $this->filesystem->dumpFile($this->getListEventPath(), $this->render());\n\n $this->filesystem->dumpFile($this->getJsonEventPath(), $this->renderJson());\n\n $io->success('All events were generated successfully');\n\n $io->note([$this->getListEventPath(), $this->getJsonEventPath()]);\n\n return self::SUCCESS;\n }\n\n protected function configure(): void\n {\n }\n\n /**\n * @param list $eventsDoc\n */\n private function collectBusinessEvent(array &$eventsDoc): void\n {\n $context = Context::createCLIContext();\n $businessEvents = $this->businessEventCollector->collect($context);\n $eventDoc = new ArrayWriter(self::EVENT_DESCRIPTIONS);\n\n foreach ($businessEvents as $event) {\n // Events no policy permits for a generic subscriber never deliver; don't document them.\n if (!$this->policies->permitsSubscription($event->getName(), Subscriber::none())) {\n continue;\n }\n\n $eventDoc->ensure($event->getName());\n\n $eventsDoc[] = HookableEventDoc::fromBusinessEvent(\n $event,\n $this->hookableEventCollector->getPrivilegesFromBusinessEventDefinition($event),\n $eventDoc->get($event->getName())\n );\n }\n }\n\n /**\n * @param list $eventsDoc\n */\n private function collectEntityWrittenEvent(array &$eventsDoc): void\n {\n $entityWrittenEvents = $this->hookableEventCollector->getEntityWrittenEventNamesWithPrivileges();\n\n foreach ($entityWrittenEvents as $event => $permission) {\n $eventsDoc[]\n = HookableEventDoc::fromEntityWrittenEvent($event, $permission['privileges']);\n }\n }\n\n /**\n * @param list $eventsDoc\n */\n private function collectHookables(array &$eventsDoc): void\n {\n foreach ($this->hookableEventDescribers as $describer) {\n foreach ($describer->describe() as $eventDescription) {\n if (!$this->policies->permitsSubscription($eventDescription->eventName, Subscriber::none())) {\n continue;\n }\n\n $permissions = $eventDescription->privileges ? '`' . implode('` `', $eventDescription->privileges) . '`' : '-';\n\n $eventsDoc[] = new HookableEventDoc(\n $eventDescription->eventName,\n $eventDescription->description,\n $permissions,\n null,\n );\n }\n }\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/a3c2953a46bdb3d53ef397da2ace64651fe06b9b.json b/web/public/bundles/shopware/code/a3c2953a46bdb3d53ef397da2ace64651fe06b9b.json new file mode 100644 index 00000000..7c430ce4 --- /dev/null +++ b/web/public/bundles/shopware/code/a3c2953a46bdb3d53ef397da2ace64651fe06b9b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a3c2953a46bdb3d53ef397da2ace64651fe06b9b", + "language": "php", + "path": "src/Core/System/Currency/CurrencyValidator.php", + "schema": "codexray.code/1", + "text": " 'preValidate',\n ];\n }\n\n public function preValidate(PreWriteValidationEvent $event): void\n {\n $violations = new ConstraintViolationList();\n\n foreach ($event->getDeletedPrimaryKeys(CurrencyDefinition::ENTITY_NAME) as $pk) {\n $id = mb_strtolower(Uuid::fromBytesToHex($pk['id']));\n if ($id !== Defaults::CURRENCY) {\n continue;\n }\n\n $msgTpl = 'The default currency {{ id }} cannot be deleted.';\n $parameters = ['{{ id }}' => $id];\n $msg = \\sprintf('The default currency %s cannot be deleted.', $id);\n $violation = new ConstraintViolation(\n $msg,\n $msgTpl,\n $parameters,\n null,\n '/' . $id,\n $id,\n null,\n self::VIOLATION_DELETE_DEFAULT_CURRENCY\n );\n\n $violations->add($violation);\n }\n\n if ($violations->count() > 0) {\n $event->getExceptions()->add(new WriteConstraintViolationException($violations));\n }\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/a3df215417a0c02476e9c1dfd02b0ca7c8eb7dfa.json b/web/public/bundles/shopware/code/a3df215417a0c02476e9c1dfd02b0ca7c8eb7dfa.json new file mode 100644 index 00000000..b7acab9d --- /dev/null +++ b/web/public/bundles/shopware/code/a3df215417a0c02476e9c1dfd02b0ca7c8eb7dfa.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a3df215417a0c02476e9c1dfd02b0ca7c8eb7dfa", + "language": "php", + "path": "src/Core/System/Consent/ConsentDefinition.php", + "schema": "codexray.code/1", + "text": "\n */\n public function getRequiredPermissions(): array;\n\n /**\n * The current/latest revision of this consent.\n * Returns null if this consent does not use revisions.\n *\n * The revision is an opaque string — the format is up to each definition.\n *\n * This method is called on every consent state read. Implementations that\n * resolve revisions from a remote source must use some form of caching: do\n * not make a remote call on every invocation.\n */\n public function getLatestRevision(): ?string;\n}\n" +} diff --git a/web/public/bundles/shopware/code/a575e1c656b210245026cc1158d8f150bba7d1cb.json b/web/public/bundles/shopware/code/a575e1c656b210245026cc1158d8f150bba7d1cb.json new file mode 100644 index 00000000..7b5657fa --- /dev/null +++ b/web/public/bundles/shopware/code/a575e1c656b210245026cc1158d8f150bba7d1cb.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a575e1c656b210245026cc1158d8f150bba7d1cb", + "language": "php", + "path": "src/Elasticsearch/Admin/AdminElasticsearchEntitySearcher.php", + "schema": "codexray.code/1", + "text": "allowAdminEsSearch($definition, $context, $criteria)) {\n return $this->decorated->search($definition, $criteria, $context);\n }\n\n if ($criteria->getLimit() === 0) {\n return new IdSearchResult(0, [], $criteria, $context);\n }\n\n try {\n return $this->searcher->searchIds(\n $definition->getEntityName(),\n $criteria,\n $context\n );\n } catch (\\Throwable $e) {\n if ($e instanceof EmptyQueryException) {\n return new IdSearchResult(0, [], $criteria, $context);\n }\n\n $this->helper->logAndThrowException($e);\n\n return $this->decorated->search($definition, $criteria, $context);\n }\n }\n\n private function allowAdminEsSearch(EntityDefinition $definition, Context $context, Criteria $criteria): bool\n {\n if (!Feature::isActive('ENABLE_OPENSEARCH_FOR_ADMIN_API')) {\n return false;\n }\n\n if (!$context->getSource() instanceof AdminApiSource) {\n return false;\n }\n\n if ($criteria->getIds() !== []) {\n return false;\n }\n\n if (($criteria->getOffset() ?? 0) + ($criteria->getLimit() ?? 0) > $this->maxResultWindow) {\n return false;\n }\n\n if (!$this->helper->isEnabled()) {\n return false;\n }\n\n if (!$this->registry->hasIndexer($definition->getEntityName())) {\n return false;\n }\n\n $indexer = $this->registry->getIndexer($definition->getEntityName());\n\n // no field is marked for ES index, skip it\n if ($indexer->mapping([]) === []) {\n return false;\n }\n\n // if no filters, aggregations, queries etc, we can use es\n if ($criteria->getTerm() && $criteria->getAllFields() === []) {\n return true;\n }\n\n // if criteria contains unsupported fields, we cannot use es\n if (array_diff(\n $criteria->getAllFields(),\n $indexer->getSupportedSearchFields()\n ) !== []) {\n return false;\n }\n\n if ($this->criteriaHasUnsupportedFeatures($criteria)) {\n return false;\n }\n\n return true;\n }\n\n /**\n * @description Checks if the criteria contains filters or queries that are not supported by the our implementation. Goal is to prevent sending queries to ES that we know will fail and fallback to the default search implementation instead.\n * We currently do not support ContainsFilter, PrefixFilter and SuffixFilter in the admin ES search, as they would require a full reimplementation of the way we parse filters for the admin search but all index fields are keyword fields where these filters would not work anyway.\n * This is because we want to minimize offloading to ES as much as possible and only want to use it for very simple queries with term and filters on keyword fields.\n * For \"searching\" functionality in the admin we recommend using the criteria.setTerm() functionality which is supported by text field that are part of every admin ES indexes in current implementation.\n */\n private function criteriaHasUnsupportedFeatures(Criteria $criteria): bool\n {\n $filters = [...$criteria->getFilters(), ...$criteria->getPostFilters()];\n\n foreach ($criteria->getQueries() as $scoreQuery) {\n $filters[] = $scoreQuery->getQuery();\n }\n\n foreach ($filters as $filter) {\n if ($this->unsupportedFilter($filter)) {\n return true;\n }\n }\n\n return false;\n }\n\n private function unsupportedFilter(Filter $filter): bool\n {\n if ($filter instanceof ContainsFilter || $filter instanceof PrefixFilter || $filter instanceof SuffixFilter) {\n return true;\n }\n\n if ($filter instanceof MultiFilter) {\n foreach ($filter->getQueries() as $childFilter) {\n if ($this->unsupportedFilter($childFilter)) {\n return true;\n }\n }\n }\n\n return false;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/a66e2f954d91e3fcf598530e15c9339b4c958ceb.json b/web/public/bundles/shopware/code/a66e2f954d91e3fcf598530e15c9339b4c958ceb.json new file mode 100644 index 00000000..ca0e5cd2 --- /dev/null +++ b/web/public/bundles/shopware/code/a66e2f954d91e3fcf598530e15c9339b4c958ceb.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a66e2f954d91e3fcf598530e15c9339b4c958ceb", + "language": "php", + "path": "src/Administration/Command/SetupExtensionToolingCommand.php", + "schema": "codexray.code/1", + "text": "addFlags(new PrimaryKey(), new Required()),\n (new FkField('child_id', 'childId', ThemeDefinition::class))->addFlags(new PrimaryKey(), new Required()),\n new ManyToOneAssociationField('parentTheme', 'parent_id', ThemeDefinition::class),\n new ManyToOneAssociationField('childTheme', 'child_id', ThemeDefinition::class),\n ]);\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/a991645f6da7fd84f8406dbd23c831869801a6a8.json b/web/public/bundles/shopware/code/a991645f6da7fd84f8406dbd23c831869801a6a8.json new file mode 100644 index 00000000..f8e22075 --- /dev/null +++ b/web/public/bundles/shopware/code/a991645f6da7fd84f8406dbd23c831869801a6a8.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "a991645f6da7fd84f8406dbd23c831869801a6a8", + "language": "php", + "path": "src/Core/Profiling/Doctrine/BacktraceDebugDataHolder.php", + "schema": "codexray.code/1", + "text": "'|'::', args?: list, object?: object}>\n * @phpstan-type QueryInfo array{\n * sql: string,\n * executionMS: float,\n * types: array,\n * params: array,\n * backtrace?: Backtrace\n * }\n */\n#[Package('framework')]\nclass BacktraceDebugDataHolder extends DebugDataHolder\n{\n /**\n * @var array>\n */\n private array $backtraces = [];\n\n /**\n * @param array $connWithBacktraces\n */\n public function __construct(private readonly array $connWithBacktraces)\n {\n }\n\n public function reset(): void\n {\n parent::reset();\n\n $this->backtraces = [];\n }\n\n public function addQuery(string $connectionName, Query $query): void\n {\n parent::addQuery($connectionName, $query);\n\n if (!\\in_array($connectionName, $this->connWithBacktraces, true)) {\n return;\n }\n\n // array_slice to skip middleware calls in the trace\n /** @var Backtrace $withoutMiddleware */\n $withoutMiddleware = \\array_slice(\\debug_backtrace(\\DEBUG_BACKTRACE_IGNORE_ARGS), 2);\n $this->backtraces[$connectionName][] = $withoutMiddleware;\n }\n\n /**\n * @return array>\n */\n public function getData(): array\n {\n $dataWithBacktraces = [];\n\n foreach (parent::getData() as $connectionName => $dataForConn) {\n $dataWithBacktraces[$connectionName] = $this->getDataForConnection($connectionName, $dataForConn);\n }\n\n return $dataWithBacktraces;\n }\n\n /**\n * @param array $dataForConn\n *\n * @return list\n */\n private function getDataForConnection(string $connectionName, array $dataForConn): array\n {\n $data = [];\n foreach ($dataForConn as $idx => $record) {\n $data[] = $this->addBacktracesIfAvailable($connectionName, $record, $idx);\n }\n\n return $data;\n }\n\n /**\n * @param QueryInfo $record\n *\n * @return QueryInfo\n */\n private function addBacktracesIfAvailable(string $connectionName, array $record, int $idx): array\n {\n if (!isset($this->backtraces[$connectionName])) {\n return $record;\n }\n\n $record['backtrace'] = $this->backtraces[$connectionName][$idx];\n\n return $record;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/ad7dbba21121bac9e9d7b9753bd9236d541ac919.json b/web/public/bundles/shopware/code/ad7dbba21121bac9e9d7b9753bd9236d541ac919.json new file mode 100644 index 00000000..5f7b1381 --- /dev/null +++ b/web/public/bundles/shopware/code/ad7dbba21121bac9e9d7b9753bd9236d541ac919.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "ad7dbba21121bac9e9d7b9753bd9236d541ac919", + "language": "typescript", + "path": "src/Administration/Resources/app/administration/scripts/generate-public-api/break-check/rules/rule.ts", + "schema": "codexray.code/1", + "text": "/**\n * @sw-package framework\n *\n * What a rule of the break check is made of. A rule compares one component in one flag state at the base and\n * at the head commit. It knows nothing about flag states, markers or visibility, which `break-check.ts` and `announcements.ts` add.\n */\nimport type { Marker } from '../../../../eslint-rules/deprecation-rules/utils/api-markers';\nimport type { FlagContext, FlagState } from '../../model/flag-states';\nimport type { SourceLine } from '../../model/source-line';\nimport type { ComponentFacts } from '../facts/component-facts';\nimport type { Finding, FindingGroup } from '../finding';\n\n/**\n * @private\n *\n * What the text of a finding can refer to besides the change itself.\n */\nexport interface TextContext {\n component: string;\n states: FlagState[];\n flags: FlagContext;\n}\n\n/** @private */\nexport type FindingTexts = Pick;\n\n/**\n * @private\n *\n * How a marker can announce a change: `markers` reads the markers of the changed element out of the facts of\n * a commit, and `matches` says whether one of them names this change. `rule` is the rule the finding gets\n * then, and `subject` what its text says carries the marker, for example `The block`.\n */\nexport interface Announcement {\n rule: string;\n subject: string;\n markers: (facts: ComponentFacts) => Marker[];\n matches: (marker: Marker) => boolean;\n}\n\n/**\n * @private\n *\n * One change a rule found in one flag state. `element` is the element id below the component, for example\n * `block:sw_card_title/scope:item`. Two flag states with the same `element` and `variant` are one finding,\n * so `variant` holds everything the texts are made of. `isPrivate` says that the element itself is `@private`\n * inside a public component.\n */\nexport interface Detection {\n element: string;\n at?: SourceLine;\n isPrivate?: boolean;\n variant: string;\n texts: (context: TextContext) => FindingTexts;\n announcement?: Announcement;\n}\n\n/** @private */\nexport interface Rule {\n id: string;\n group: FindingGroup;\n detect: (base: ComponentFacts, head: ComponentFacts) => Detection[];\n}\n\n/** The element a change is about. */\ntype Element = Pick;\n\n/**\n * @private\n *\n * A rule as it is written down: `changes` finds the changes with the element each one is about, and `texts`\n * words one of them. `announcement` names the marker that allows the change.\n */\nexport interface RuleDefinition {\n id: string;\n group: FindingGroup;\n changes: (base: ComponentFacts, head: ComponentFacts) => (Change & Element)[];\n texts: (change: Change, context: TextContext) => FindingTexts;\n announcement?: Pick & {\n markers: (change: Change, facts: ComponentFacts) => Marker[];\n matches: (change: Change, marker: Marker) => boolean;\n };\n}\n\n/** @private */\nexport function rule({ id, group, changes, texts, announcement }: RuleDefinition): Rule {\n return {\n id,\n group,\n detect: (base, head) =>\n changes(base, head).map((change) => {\n const { element, at, isPrivate, ...detail } = change;\n\n return {\n element,\n at,\n isPrivate,\n variant: JSON.stringify(detail),\n texts: (context) => texts(change, context),\n announcement: announcement && {\n ...announcement,\n markers: (facts) => announcement.markers(change, facts),\n matches: (marker) => announcement.matches(change, marker),\n },\n };\n }),\n };\n}\n" +} diff --git a/web/public/bundles/shopware/code/af621427c3c4b64872b6cd6024f2888e90421880.json b/web/public/bundles/shopware/code/af621427c3c4b64872b6cd6024f2888e90421880.json new file mode 100644 index 00000000..79d19a42 --- /dev/null +++ b/web/public/bundles/shopware/code/af621427c3c4b64872b6cd6024f2888e90421880.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "af621427c3c4b64872b6cd6024f2888e90421880", + "language": "javascript", + "path": "src/Administration/Resources/app/administration/src/module/sw-bulk-edit/service/handler/bulk-edit-order.handler.js", + "schema": "codexray.code/1", + "text": "import BulkEditBaseHandler from './bulk-edit-base.handler';\nimport RetryHelper from '../../../../core/helper/retry.helper';\n\nconst { Criteria } = Shopware.Data;\nconst { types } = Shopware.Utils;\nconst { chunk } = Shopware.Utils.array;\n\nconst MAX_CONCURRENT_STATUS_TRANSITIONS = 5;\nconst MAX_ORDERS_PER_REQUEST = 100;\n\nclass BulkEditOrderStatusError extends Error {\n constructor(failures) {\n super('One or more order status transitions failed.');\n\n this.name = 'BulkEditOrderStatusError';\n this.failures = failures;\n // Callers that read the api error from the rejection keep getting the first failed request's response.\n this.response = failures.find((failure) => failure.error?.response)?.error?.response;\n }\n}\n\n/**\n * @class\n * @extends BulkEditBaseHandler\n * @sw-package checkout\n */\nclass BulkEditOrderHandler extends BulkEditBaseHandler {\n constructor() {\n super();\n this.name = 'BulkEditOrderHandler';\n this.entityIds = [];\n this.orderStateMachineService = Shopware.Service('orderStateMachineService');\n this.orderRepository = Shopware.Service('repositoryFactory').create('order');\n this.entityName = 'order';\n this.maxConcurrentStatusTransitions = MAX_CONCURRENT_STATUS_TRANSITIONS;\n }\n\n async bulkEditStatus(entityIds, payload) {\n this.entityIds = entityIds;\n\n const changes = payload.filter((change) => change.value);\n\n if (entityIds.length === 0 || changes.length === 0) {\n return [];\n }\n\n const shouldTriggerFlows = Shopware.Store.get('swBulkEdit').isFlowTriggered;\n const failures = [];\n const responses = [];\n\n // Searches by IDs ignore the criteria limit, so bound the IDs sent in each request instead.\n for (const orderIds of chunk(entityIds, MAX_ORDERS_PER_REQUEST)) {\n const criteria = this.getCriteria();\n criteria.setIds(orderIds);\n criteria.setLimit(orderIds.length);\n\n let orders;\n\n try {\n orders = await this.orderRepository.search(criteria);\n } catch (error) {\n orderIds.forEach((orderId) => {\n changes.forEach((change) => {\n failures.push({\n orderId,\n orderNumber: orderId,\n field: change.field,\n reason: 'load',\n code: this.getStatusTransitionErrorCode(error),\n error,\n });\n });\n });\n\n continue;\n }\n\n const foundOrderIds = new Set(orders.map((order) => order.id));\n\n orderIds.forEach((orderId) => {\n if (foundOrderIds.has(orderId)) {\n return;\n }\n\n changes.forEach((change) => {\n failures.push({\n orderId,\n orderNumber: orderId,\n field: change.field,\n reason: 'not-found',\n code: '',\n });\n });\n });\n\n responses.push(...(await this.transitionOrderStatuses(orders, changes, shouldTriggerFlows, failures)));\n }\n\n if (failures.length > 0) {\n throw new BulkEditOrderStatusError(failures);\n }\n\n return responses;\n }\n\n async transitionOrderStatuses(orders, changes, shouldTriggerFlows, failures) {\n const iterator = Array.from(orders).entries();\n const responses = [];\n\n const runWorker = async () => {\n let entry = iterator.next();\n\n while (!entry.done) {\n const [orderIndex, order] = entry.value;\n\n for (const [changeIndex, change] of changes.entries()) {\n try {\n // Preserve repository order within each ID batch, then the requested status-field order.\n responses[orderIndex * changes.length + changeIndex] = await this.transitionOrderStatus(\n order,\n change,\n shouldTriggerFlows,\n );\n } catch (error) {\n failures.push({\n orderId: order.id,\n orderNumber: order.orderNumber ?? order.id,\n field: change.field,\n reason: 'transition',\n code: this.getStatusTransitionErrorCode(error),\n error,\n });\n }\n }\n\n entry = iterator.next();\n }\n };\n\n const workerCount = Math.min(this.maxConcurrentStatusTransitions, orders.length);\n const workers = Array.from({ length: workerCount }, () => runWorker());\n\n await Promise.all(workers);\n\n // Remove failed slots without discarding successful undefined or falsy responses.\n return responses.filter(() => true);\n }\n\n transitionOrderStatus(order, change, shouldTriggerFlows) {\n const options = {\n documentTypes: change.documentTypes,\n skipSentDocuments: change.skipSentDocuments,\n sendMail: change.sendMail,\n internalComment: change.internalComment,\n };\n\n // Even lock errors can originate from a listener after the state committed. Surface failures without replaying.\n switch (change.field) {\n case 'orderTransactions':\n return this.orderStateMachineService.transitionOrderTransactionState(\n this.getTransactionId(order),\n change.value,\n options,\n {},\n {\n 'sw-skip-trigger-flow': !shouldTriggerFlows,\n },\n );\n case 'orderDeliveries':\n return this.orderStateMachineService.transitionOrderDeliveryState(\n order.primaryOrderDeliveryId ?? order.deliveries.first()?.id,\n change.value,\n options,\n {},\n {\n 'sw-skip-trigger-flow': !shouldTriggerFlows,\n },\n );\n default:\n return this.orderStateMachineService.transitionOrderState(\n order.id,\n change.value,\n options,\n {},\n {\n 'sw-skip-trigger-flow': !shouldTriggerFlows,\n },\n );\n }\n }\n\n getStatusTransitionErrorCode(error) {\n return String(error?.response?.data?.errors?.[0]?.code ?? '');\n }\n\n async bulkEdit(entityIds, payload) {\n this.entityIds = entityIds;\n\n const syncPayload = await this.buildBulkSyncPayload(payload);\n\n if (types.isEmpty(syncPayload)) {\n return Promise.resolve({ data: [] });\n }\n\n return RetryHelper.retry(() => {\n return this.syncService.sync(\n syncPayload,\n {},\n {\n 'single-operation': 1,\n 'sw-language-id': Shopware.Context.api.languageId,\n },\n );\n });\n }\n\n getCriteria() {\n const criteria = new Criteria(1, this.entityIds.length);\n criteria.setIds(this.entityIds);\n criteria\n .getAssociation('deliveries')\n .addSorting(Criteria.sort('shippingCosts.unitPrice', 'DESC'))\n .addSorting(Criteria.sort('id', 'ASC'));\n criteria\n .getAssociation('transactions')\n .addAssociation('stateMachineState')\n .addSorting(Criteria.sort('createdAt', 'ASC'));\n\n return criteria;\n }\n\n getTransactionId(order) {\n if (order.primaryOrderTransactionId) {\n return order.primaryOrderTransactionId;\n }\n\n const transaction = order.transactions.find(({ stateMachineState }) => {\n return !['cancelled', 'failed'].includes(stateMachineState?.technicalName);\n });\n\n return (transaction ?? order.transactions.last())?.id;\n }\n}\n\n// eslint-disable-next-line sw-deprecation-rules/private-feature-declarations\nexport default BulkEditOrderHandler;\n" +} diff --git a/web/public/bundles/shopware/code/b16d5e8ab535863d11610258a4afa0538e9b4a13.json b/web/public/bundles/shopware/code/b16d5e8ab535863d11610258a4afa0538e9b4a13.json new file mode 100644 index 00000000..35b612ce --- /dev/null +++ b/web/public/bundles/shopware/code/b16d5e8ab535863d11610258a4afa0538e9b4a13.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b16d5e8ab535863d11610258a4afa0538e9b4a13", + "language": "php", + "path": "src/Storefront/Event/RouteRequest/PaymentMethodRouteRequestEvent.php", + "schema": "codexray.code/1", + "text": " = {\n String: 'string',\n Number: 'number',\n Boolean: 'boolean',\n Object: 'object',\n Array: 'any[]',\n Function: '(...args: any[]) => any',\n Date: 'Date',\n Symbol: 'symbol',\n};\n\n/** The name, line and JSDoc every member has. */\ntype Common = Pick;\n\nclass Reading {\n public readonly notes: string[] = [];\n\n public constructor(public readonly source: ts.SourceFile) {}\n\n public common(name: string, node: ts.Node): Common {\n const doc = docOf(node, this.source);\n\n return {\n name,\n at: lineOf(node, this.source),\n markers: parseMarkers(doc).flatMap((match): Marker[] => ('marker' in match ? [match.marker] : [])),\n isPrivate: PRIVATE_TAG.test(doc),\n states: BOTH_STATES,\n };\n }\n\n /** Notes what `section` holds besides the members that were read, with the start of its source text. */\n public unresolved(section: string, node: ts.Node): void {\n const text = textOf(node, this.source);\n\n this.notes.push(`unresolved ${section} ${text.length > NOTE_LENGTH ? `${text.slice(0, NOTE_LENGTH)}...` : text}`);\n }\n\n public value(member: ts.ObjectLiteralElementLike): ts.Node {\n return memberValue(member, this.source);\n }\n\n public text(node: ts.Node): string {\n return textOf(node, this.source);\n }\n}\n\ninterface Entry {\n name: string;\n member: ts.ObjectLiteralElementLike;\n}\n\n/**\n * The members of an object literal with a literal name. `spread` turns a spread into entries, for the helpers\n * whose names are known. Every other spread and every computed key is noted.\n */\nfunction entriesOf(\n object: ts.ObjectLiteralExpression,\n section: string,\n reading: Reading,\n spread: (member: ts.SpreadAssignment) => Entry[] | null = () => null,\n): Entry[] {\n return object.properties.flatMap((member): Entry[] => {\n const name = memberName(member);\n\n if (name !== null) {\n return [{ name, member }];\n }\n\n const fromSpread = ts.isSpreadAssignment(member) ? spread(member) : null;\n\n if (fromSpread === null) {\n reading.unresolved(section, member);\n }\n\n return fromSpread ?? [];\n });\n}\n\nfunction helperEntries(member: ts.SpreadAssignment, reading: Reading): Entry[] | null {\n return spreadNames(member.expression, reading.source)?.map((name) => ({ name, member })) ?? null;\n}\n\nfunction literalNames(list: ts.ArrayLiteralExpression, section: string, reading: Reading): ts.StringLiteralLike[] {\n return list.elements.flatMap((element) => {\n if (ts.isStringLiteralLike(element)) {\n return [element];\n }\n\n reading.unresolved(section, element);\n\n return [];\n });\n}\n\n/** `Mixin.getByName('listing')`, the same with arguments for a mixin factory, or the plain name. */\nfunction mixinName(mixin: ts.Expression): string | undefined {\n if (ts.isStringLiteralLike(mixin)) {\n return mixin.text;\n }\n\n if (!ts.isCallExpression(mixin)) {\n return undefined;\n }\n\n const [name] = mixin.arguments;\n const isLookup = ts.isPropertyAccessExpression(mixin.expression) && mixin.expression.name.text === 'getByName';\n\n if (isLookup) {\n return mixin.arguments.length === 1 && ts.isStringLiteralLike(name) ? name.text : undefined;\n }\n\n return mixinName(mixin.expression);\n}\n\nfunction mixins(value: ts.Node, reading: Reading): Member<'mixin'>[] {\n if (!ts.isArrayLiteralExpression(value)) {\n reading.unresolved('mixins', value);\n\n return [];\n }\n\n return value.elements.flatMap((element): Member<'mixin'>[] => {\n const name = mixinName(withoutTypeSyntax(element));\n\n if (name === undefined) {\n reading.unresolved('mixins', element);\n\n return [];\n }\n\n return [{ kind: 'mixin', ...reading.common(name, element) }];\n });\n}\n\n/** The key of `{ from: 'repositoryFactory', default: null }`, or of the plain string. */\nfunction injectedKey(value: ts.Node, local: string): string | undefined {\n if (ts.isStringLiteralLike(value)) {\n return value.text;\n }\n\n if (!ts.isObjectLiteralExpression(value)) {\n return undefined;\n }\n\n const from = value.properties.find((property) => memberName(property) === 'from');\n\n if (from === undefined) {\n return local;\n }\n\n return ts.isPropertyAssignment(from) && ts.isStringLiteralLike(from.initializer) ? from.initializer.text : undefined;\n}\n\nfunction inject(value: ts.Node, reading: Reading): Member<'inject'>[] {\n if (ts.isArrayLiteralExpression(value)) {\n return literalNames(value, 'inject', reading).map((name) => ({\n kind: 'inject',\n ...reading.common(name.text, name),\n from: name.text,\n }));\n }\n\n if (!ts.isObjectLiteralExpression(value)) {\n reading.unresolved('inject', value);\n\n return [];\n }\n\n return entriesOf(value, 'inject', reading).flatMap(({ name, member }): Member<'inject'>[] => {\n const from = injectedKey(reading.value(member), name);\n\n if (from === undefined) {\n reading.unresolved('inject', member);\n\n return [];\n }\n\n return [{ kind: 'inject', ...reading.common(name, member), from }];\n });\n}\n\n/** The object literal a section holds directly or returns from a function, as `data()` and `provide()` do. */\nfunction declaredObject(value: ts.Node): ts.ObjectLiteralExpression | null {\n if (ts.isObjectLiteralExpression(value)) {\n return value;\n }\n\n return isFunctionNode(value) ? returnedObject(value) : null;\n}\n\nfunction provide(value: ts.Node, reading: Reading): Member<'provide'>[] {\n const object = declaredObject(value);\n\n if (object === null) {\n reading.unresolved('provide', value);\n\n return [];\n }\n\n return entriesOf(object, 'provide', reading).map(({ name, member }) => ({\n kind: 'provide',\n ...reading.common(name, member),\n }));\n}\n\n/**\n * The constructors Vue checks a value against: `String`, `[String, null]` or a class such as `Criteria`. A\n * single `null` checks nothing, so the prop is untyped.\n */\nfunction propConstructors(type: ts.Node, inList = false): string | null {\n const value = ts.isExpression(type) ? withoutTypeSyntax(type) : type;\n\n if (ts.isArrayLiteralExpression(value)) {\n const types = value.elements.map((element) => propConstructors(element, true));\n\n return types.length > 0 && types.every((name) => name !== null) ? types.sort(byCodePoint).join(' | ') : null;\n }\n\n if (value.kind === ts.SyntaxKind.NullKeyword) {\n return inList ? 'null' : null;\n }\n\n return ts.isIdentifier(value) ? (PROP_TYPES[value.text] ?? value.text) : null;\n}\n\n/** `Product` of `Object as PropType`. */\nfunction propAnnotation(type: ts.Node, reading: Reading): string | null {\n if (!ts.isAsExpression(type)) {\n return null;\n }\n\n const [annotated] = ts.isTypeReferenceNode(type.type) ? (type.type.typeArguments ?? []) : [];\n\n return annotated === undefined ? propAnnotation(type.expression, reading) : reading.text(annotated);\n}\n\nfunction propTypes(type: ts.Node, reading: Reading): Pick, 'constructors' | 'annotation'> {\n return { constructors: propConstructors(type), annotation: propAnnotation(type, reading) };\n}\n\nfunction optionOf(options: ts.ObjectLiteralExpression, name: string): ts.ObjectLiteralElementLike | undefined {\n return options.properties.find((property) => memberName(property) === name);\n}\n\nfunction propDefault(options: ts.ObjectLiteralExpression, reading: Reading): DefaultValue {\n const declared = optionOf(options, 'default');\n\n if (declared === undefined) {\n return { kind: 'none' };\n }\n\n const value = reading.value(declared);\n\n return isFunctionNode(value) ? { kind: 'factory' } : { kind: 'value', text: reading.text(value) };\n}\n\nfunction propDetails(\n value: ts.Node,\n reading: Reading,\n): Pick, 'constructors' | 'annotation' | 'required' | 'default'> {\n if (!ts.isObjectLiteralExpression(value)) {\n return { ...propTypes(value, reading), required: false, default: { kind: 'none' } };\n }\n\n const type = optionOf(value, 'type');\n const required = optionOf(value, 'required');\n\n return {\n ...(type !== undefined && ts.isPropertyAssignment(type)\n ? propTypes(type.initializer, reading)\n : { constructors: null, annotation: null }),\n required:\n required !== undefined &&\n ts.isPropertyAssignment(required) &&\n required.initializer.kind === ts.SyntaxKind.TrueKeyword,\n default: propDefault(value, reading),\n };\n}\n\nfunction props(value: ts.Node, reading: Reading): Member<'prop'>[] {\n if (ts.isArrayLiteralExpression(value)) {\n return literalNames(value, 'props', reading).map((name) => ({\n kind: 'prop',\n ...reading.common(name.text, name),\n constructors: null,\n annotation: null,\n required: false,\n default: { kind: 'none' },\n }));\n }\n\n if (!ts.isObjectLiteralExpression(value)) {\n reading.unresolved('props', value);\n\n return [];\n }\n\n return entriesOf(value, 'props', reading).map(({ name, member }) => ({\n kind: 'prop',\n ...reading.common(name, member),\n ...propDetails(reading.value(member), reading),\n }));\n}\n\nfunction parametersOf(fn: FunctionNode, reading: Reading): Parameter[] {\n return fn.parameters\n .filter(({ name }) => !ts.isIdentifier(name) || name.text !== 'this')\n .map(({ name, type, initializer, questionToken, dotDotDotToken }, position) => ({\n name: ts.isIdentifier(name) ? name.text : `arg${position}`,\n pattern: ts.isIdentifier(name) ? null : reading.text(name),\n type: type === undefined ? null : reading.text(type),\n default: initializer === undefined ? { kind: 'none' } : { kind: 'value', text: reading.text(initializer) },\n optional: initializer !== undefined || questionToken !== undefined,\n rest: dotDotDotToken !== undefined,\n }));\n}\n\nfunction emits(value: ts.Node, reading: Reading): Member<'emit'>[] {\n if (ts.isArrayLiteralExpression(value)) {\n return literalNames(value, 'emits', reading).map((name) => ({\n kind: 'emit',\n ...reading.common(name.text, name),\n payload: null,\n }));\n }\n\n if (!ts.isObjectLiteralExpression(value)) {\n reading.unresolved('emits', value);\n\n return [];\n }\n\n return entriesOf(value, 'emits', reading).map(({ name, member }) => {\n const validator = reading.value(member);\n\n return {\n kind: 'emit',\n ...reading.common(name, member),\n payload: isFunctionNode(validator) ? parametersOf(validator, reading) : null,\n };\n });\n}\n\n/** A key inside a `@private` object is private too. */\nfunction dataMembers(\n object: ts.ObjectLiteralExpression,\n path: string,\n reading: Reading,\n insidePrivate = false,\n): Member<'data'>[] {\n return entriesOf(object, 'data', reading).flatMap(({ name, member }) => {\n const value = ts.isPropertyAssignment(member) ? withoutTypeSyntax(member.initializer) : member;\n const nested = ts.isObjectLiteralExpression(value) && value.properties.length > 0 ? value : null;\n const common = reading.common(`${path}${name}`, member);\n const isPrivate = insidePrivate || common.isPrivate;\n\n return [\n { kind: 'data' as const, ...common, isPrivate, nested: nested !== null },\n ...(nested === null ? [] : dataMembers(nested, `${path}${name}.`, reading, isPrivate)),\n ];\n });\n}\n\nfunction data(value: ts.Node, reading: Reading): Member<'data'>[] {\n const object = isFunctionNode(value) ? returnedObject(value) : null;\n\n if (object === null) {\n reading.unresolved('data', value);\n\n return [];\n }\n\n return dataMembers(object, '', reading);\n}\n\n/** The getter of `{ get() {}, set() {} }`, or the function itself. */\nfunction getterOf(value: ts.Node, reading: Reading): FunctionNode | undefined {\n if (isFunctionNode(value)) {\n return value;\n }\n\n const getter = ts.isObjectLiteralExpression(value) ? optionOf(value, 'get') : undefined;\n const getterValue = getter && reading.value(getter);\n\n return getterValue !== undefined && isFunctionNode(getterValue) ? getterValue : undefined;\n}\n\nfunction computed(value: ts.Node, reading: Reading): Member<'computed'>[] {\n if (!ts.isObjectLiteralExpression(value)) {\n reading.unresolved('computed', value);\n\n return [];\n }\n\n return entriesOf(value, 'computed', reading, (spread) => helperEntries(spread, reading)).map(({ name, member }) => {\n const returns = ts.isSpreadAssignment(member) ? undefined : getterOf(reading.value(member), reading)?.type;\n\n return {\n kind: 'computed',\n ...reading.common(name, member),\n type: returns === undefined ? null : reading.text(returns),\n };\n });\n}\n\n/** The function behind a method, also when a helper such as `debounce(function () {}, 400)` wraps it. */\nfunction functionOf(value: ts.Node): FunctionNode | undefined {\n if (isFunctionNode(value)) {\n return value;\n }\n\n const [wrapped] = ts.isCallExpression(value) ? value.arguments : [];\n\n return wrapped !== undefined && isFunctionNode(wrapped) ? wrapped : undefined;\n}\n\n// The methods that chain on a promise and return a new one.\nconst PROMISE_CHAIN = ['then', 'catch', 'finally'];\n\n/** `load().then(...)`, `Promise.all(...)` or `new Promise(...)`: a promise the source visibly builds. */\nfunction isVisiblePromise(expression: ts.Expression): boolean {\n const value = withoutTypeSyntax(expression);\n\n if (ts.isNewExpression(value)) {\n return ts.isIdentifier(value.expression) && value.expression.text === 'Promise';\n }\n\n if (!ts.isCallExpression(value) || !ts.isPropertyAccessExpression(value.expression)) {\n return false;\n }\n\n const { expression: receiver, name } = value.expression;\n\n return PROMISE_CHAIN.includes(name.text) || (ts.isIdentifier(receiver) && receiver.text === 'Promise');\n}\n\nfunction isPromiseType(type: ts.TypeNode | undefined): boolean {\n return (\n type !== undefined &&\n ts.isTypeReferenceNode(type) &&\n ts.isIdentifier(type.typeName) &&\n type.typeName.text === 'Promise'\n );\n}\n\n/** `this.$super('onSave', ...)` inside the method `onSave`. */\nfunction isSuperCall(expression: ts.Expression, method: string): boolean {\n const value = withoutTypeSyntax(expression);\n\n if (!ts.isCallExpression(value) || !ts.isPropertyAccessExpression(value.expression)) {\n return false;\n }\n\n const [name] = value.arguments;\n\n return (\n value.expression.expression.kind === ts.SyntaxKind.ThisKeyword &&\n value.expression.name.text === '$super' &&\n name !== undefined &&\n ts.isStringLiteralLike(name) &&\n name.text === method\n );\n}\n\n/** The function has at least one `return`, and each of them hands back a value that `matches`. */\nfunction everyReturn(fn: FunctionNode, matches: (value: ts.Expression) => boolean): boolean {\n const values = returnedValues(fn);\n\n return values.length > 0 && values.every((value) => value !== undefined && matches(value));\n}\n\n/**\n * Whether callers get a promise. A plain call such as `this.repository.save()` may return one, but only the\n * type checker knows, so the reader does not count it.\n */\nfunction returnsPromise(fn: FunctionNode): boolean {\n const isAsync = fn.modifiers?.some(({ kind }) => kind === ts.SyntaxKind.AsyncKeyword) ?? false;\n\n return isAsync || isPromiseType(fn.type) || everyReturn(fn, isVisiblePromise);\n}\n\nfunction methods(value: ts.Node, reading: Reading): Member<'method'>[] {\n if (!ts.isObjectLiteralExpression(value)) {\n reading.unresolved('methods', value);\n\n return [];\n }\n\n return entriesOf(value, 'methods', reading, (spread) => helperEntries(spread, reading)).map(({ name, member }) => {\n const fn = ts.isSpreadAssignment(member) ? undefined : functionOf(reading.value(member));\n\n return {\n kind: 'method',\n ...reading.common(name, member),\n parameters: fn === undefined ? null : parametersOf(fn, reading),\n returns: fn?.type === undefined ? null : reading.text(fn.type),\n returnsPromise: fn !== undefined && returnsPromise(fn),\n returnsSuper: fn !== undefined && everyReturn(fn, (returned) => isSuperCall(returned, name)),\n };\n });\n}\n\n/** The option that declares the members of a kind, with its reader. A kind without an entry does not compile. */\nconst SECTIONS: { [Kind in OptionKind]: { option: string; read: (value: ts.Node, reading: Reading) => Member[] } } = {\n mixin: { option: 'mixins', read: mixins },\n inject: { option: 'inject', read: inject },\n provide: { option: 'provide', read: provide },\n prop: { option: 'props', read: props },\n emit: { option: 'emits', read: emits },\n data: { option: 'data', read: data },\n computed: { option: 'computed', read: computed },\n method: { option: 'methods', read: methods },\n};\n\nconst OPTION_KINDS = Object.keys(SECTIONS) as OptionKind[];\n\n// What these options add to `this` is decided at runtime.\nconst UNREADABLE_OPTIONS = ['setup', 'extends'];\n\n/**\n * @private\n *\n * The members the options object declares itself. The members of its mixins and of the component it extends\n * are in their own units.\n */\nexport function readOptionMembers({ object, source }: ComponentOptions): ComponentMembers {\n const reading = new Reading(source);\n const sections: ComponentMembers['sections'] = {};\n const members = object.properties.flatMap((option): Member[] => {\n const name = memberName(option);\n\n if (name === null || UNREADABLE_OPTIONS.includes(name)) {\n reading.unresolved('options', name === null ? option : (option.name ?? option));\n }\n\n const kind = OPTION_KINDS.find((candidate) => SECTIONS[candidate].option === name);\n\n if (kind === undefined) {\n return [];\n }\n\n sections[kind] = lineOf(option, source);\n\n return SECTIONS[kind].read(reading.value(option), reading);\n });\n\n return { members, notes: reading.notes, sections };\n}\n" +} diff --git a/web/public/bundles/shopware/code/b23f91d99107bf7af640f524e5bf742df00b832e.json b/web/public/bundles/shopware/code/b23f91d99107bf7af640f524e5bf742df00b832e.json new file mode 100644 index 00000000..515c6e1a --- /dev/null +++ b/web/public/bundles/shopware/code/b23f91d99107bf7af640f524e5bf742df00b832e.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b23f91d99107bf7af640f524e5bf742df00b832e", + "language": "php", + "path": "src/Core/Service/Requirement/ServicesEnabledRequirement.php", + "schema": "codexray.code/1", + "text": "systemConfigService->getBool(LifecycleManager::CONFIG_KEY_SERVICES_DISABLED);\n }\n\n public function permitsStateChange(): bool\n {\n return true;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/b2def24751630828f3ba6b2b5b4eceff0311332c.json b/web/public/bundles/shopware/code/b2def24751630828f3ba6b2b5b4eceff0311332c.json new file mode 100644 index 00000000..da835434 --- /dev/null +++ b/web/public/bundles/shopware/code/b2def24751630828f3ba6b2b5b4eceff0311332c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b2def24751630828f3ba6b2b5b4eceff0311332c", + "language": "php", + "path": "src/Core/System/Consent/ConsentDefinitionRegistry.php", + "schema": "codexray.code/1", + "text": "\n */\n private array $consentDefinitions;\n\n /**\n * @param iterable $consentDefinitions\n */\n public function __construct(iterable $consentDefinitions)\n {\n $definitions = [];\n foreach ($consentDefinitions as $definition) {\n $definitions[$definition->getName()] = $definition;\n }\n\n $this->consentDefinitions = $definitions;\n }\n\n /**\n * @return array\n */\n public function all(): array\n {\n return $this->consentDefinitions;\n }\n\n public function get(string $name): ConsentDefinition\n {\n if (!isset($this->consentDefinitions[$name])) {\n throw ConsentException::notFound($name);\n }\n\n return $this->consentDefinitions[$name];\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/b3da9b375f038af93144e72927af83eede46ebd2.json b/web/public/bundles/shopware/code/b3da9b375f038af93144e72927af83eede46ebd2.json new file mode 100644 index 00000000..05238558 --- /dev/null +++ b/web/public/bundles/shopware/code/b3da9b375f038af93144e72927af83eede46ebd2.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b3da9b375f038af93144e72927af83eede46ebd2", + "language": "php", + "path": "src/Core/Migration/Traits/MailSubjectUpdate.php", + "schema": "codexray.code/1", + "text": "type;\n }\n\n public function getDeSubject(): ?string\n {\n return $this->deSubject;\n }\n\n public function getEnSubject(): ?string\n {\n return $this->enSubject;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/b58e47ac7f935070eb5d2d265a1b891f4197c788.json b/web/public/bundles/shopware/code/b58e47ac7f935070eb5d2d265a1b891f4197c788.json new file mode 100644 index 00000000..b6938190 --- /dev/null +++ b/web/public/bundles/shopware/code/b58e47ac7f935070eb5d2d265a1b891f4197c788.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "b58e47ac7f935070eb5d2d265a1b891f4197c788", + "language": "php", + "path": "src/Storefront/Event/RouteRequest/LanguageRouteRequestEvent.php", + "schema": "codexray.code/1", + "text": "confirm('This will delete all files unnecessary to build the administration. Do you want to continue?', false)) {\n $io->text('Command aborted!');\n\n return Command::SUCCESS;\n }\n\n $adminDir = $this->administrationDir ?? \\dirname((string) (new \\ReflectionClass(Administration::class))->getFileName());\n $output->writeln('Deleting unnecessary files of the administration after the build process...');\n $progressBar = new ProgressBar($output, 100);\n\n // Delete all module files except for de-DE.json and en-GB.json\n $finder = new Finder();\n $finder->in($adminDir . '/Resources/app/administration/src/module')\n ->notName('de-DE.json')\n ->notName('en-GB.json')\n ->files();\n\n foreach ($finder as $file) {\n $this->filesystem->remove($file->getRealPath());\n }\n $progressBar->advance(25);\n\n $this->deleteEmptyDirectories($adminDir . '/Resources/app/administration/src/module');\n $progressBar->advance(25);\n\n // Find all the following directories and files and delete them\n $this->removeDirectory($adminDir . '/Resources/app/administration/src/app/adapter');\n $this->removeDirectory($adminDir . '/Resources/app/administration/src/app/assets');\n $this->removeDirectory($adminDir . '/Resources/app/administration/src/app/asyncComponent');\n $this->removeDirectory($adminDir . '/Resources/app/administration/src/app/component');\n $this->removeDirectory($adminDir . '/Resources/app/administration/src/app/decorator');\n $this->removeDirectory($adminDir . '/Resources/app/administration/src/app/directive');\n $this->removeDirectory($adminDir . '/Resources/app/administration/src/app/filter');\n $this->removeDirectory($adminDir . '/Resources/app/administration/src/app/init');\n $this->removeDirectory($adminDir . '/Resources/app/administration/src/app/init-post');\n $this->removeDirectory($adminDir . '/Resources/app/administration/src/app/init-pre');\n $this->removeDirectory($adminDir . '/Resources/app/administration/src/app/mixin');\n $this->removeDirectory($adminDir . '/Resources/app/administration/src/app/plugin');\n $this->removeDirectory($adminDir . '/Resources/app/administration/src/app/route');\n $this->removeDirectory($adminDir . '/Resources/app/administration/src/app/service');\n $this->removeDirectory($adminDir . '/Resources/app/administration/src/app/state');\n $this->removeDirectory($adminDir . '/Resources/app/administration/src/core');\n $this->removeDirectory($adminDir . '/Resources/app/administration/src/meta');\n $this->removeDirectory($adminDir . '/Resources/app/administration/src/scripts');\n $this->removeDirectory($adminDir . '/Resources/app/administration/patches');\n $this->filesystem->remove($adminDir . '/Resources/app/administration/package-lock.json');\n $progressBar->advance(25);\n\n $this->removeDirectory($adminDir . '/Resources/app/administration/static');\n $this->removeDirectory($adminDir . '/Resources/app/administration/build');\n $this->removeDirectory($adminDir . '/Resources/app/administration/scripts');\n $this->removeDirectory($adminDir . '/Resources/app/administration/eslint-rules');\n $this->removeDirectory($adminDir . '/Resources/app/administration/test');\n $progressBar->advance(25);\n $progressBar->finish();\n\n $io->newLine();\n $io->text('All unnecessary files of the administration after the build process have been deleted.');\n\n return Command::SUCCESS;\n }\n\n /**\n * Recursively deletes empty directories.\n */\n private function deleteEmptyDirectories(string $dir): void\n {\n if (!is_dir($dir)) {\n return;\n }\n\n try {\n $finder = new Finder();\n $finder->in($dir)->directories()->depth(0);\n\n foreach ($finder as $subDir) {\n $this->deleteEmptyDirectories($subDir->getRealPath());\n }\n\n // Check if directory is empty after processing subdirectories\n $checkFinder = new Finder();\n $checkFinder->in($dir)->depth(0);\n\n if ($checkFinder->count() === 0) {\n $this->filesystem->remove($dir);\n }\n } catch (\\UnexpectedValueException) {\n // Directory is not readable or accessible\n return;\n }\n }\n\n /**\n * Recursively deletes a directory and all its contents, except directories containing\n * '/snippet' in their path. A directory is only deleted itself when everything inside it was,\n * so a surviving snippet directory also keeps its ancestors.\n *\n * @return bool whether the directory is gone\n */\n private function removeDirectory(string $dir): bool\n {\n if (!is_dir($dir)) {\n return true;\n }\n\n if (str_contains($dir, '/snippet')) {\n return false;\n }\n\n try {\n $finder = new Finder();\n $finder->in($dir)->depth(0);\n\n $allRemoved = true;\n foreach ($finder as $item) {\n if ($item->isDir()) {\n $allRemoved = $this->removeDirectory($item->getRealPath()) && $allRemoved;\n } else {\n $this->filesystem->remove($item->getRealPath());\n }\n }\n\n if ($allRemoved) {\n $this->filesystem->remove($dir);\n }\n\n return $allRemoved;\n } catch (\\UnexpectedValueException) {\n // Directory is not readable or accessible\n return false;\n }\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/be154633694cc63323d04be3e9e77ef600183888.json b/web/public/bundles/shopware/code/be154633694cc63323d04be3e9e77ef600183888.json new file mode 100644 index 00000000..3a4b96e2 --- /dev/null +++ b/web/public/bundles/shopware/code/be154633694cc63323d04be3e9e77ef600183888.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "be154633694cc63323d04be3e9e77ef600183888", + "language": "typescript", + "path": "src/Administration/Resources/app/administration/scripts/generate-public-api/source/git-source-tree.ts", + "schema": "codexray.code/1", + "text": "/**\n * @sw-package framework\n *\n * Reads the Administration sources of a commit out of git, without a checkout. The break check compares two\n * commits with the generator of the checked-out one, so it needs the sources of both.\n */\nimport { execFileSync } from 'node:child_process';\nimport path from 'node:path';\nimport { isPublicApiSourceFile } from '../../public-api-source-files';\nimport { sourceTreeOf } from './source-tree';\nimport type { SourceTree } from './source-tree';\n\nconst MAX_OUTPUT = 1024 ** 3;\n\n/**\n * @private\n *\n * The repository around an Administration folder. `administration` is the path of that folder in it.\n */\nexport interface GitRepository {\n root: string;\n administration: string;\n}\n\nfunction git(root: string, args: string[], input?: string): Buffer {\n return execFileSync('git', ['-C', root, ...args], { input, maxBuffer: MAX_OUTPUT, stdio: ['pipe', 'pipe', 'pipe'] });\n}\n\nfunction gitLine(root: string, args: string[]): string {\n return git(root, args).toString().trim();\n}\n\n/** @private */\nexport function repositoryOf(administrationRoot: string): GitRepository {\n const root = gitLine(administrationRoot, ['rev-parse', '--show-toplevel']);\n\n return { root, administration: path.relative(root, administrationRoot).split(path.sep).join('/') };\n}\n\n/**\n * @private\n *\n * The hash of the commit that `revision` names. A revision comes from the command line, and git would read\n * one that starts with a dash as an option. A hash is safe to pass on.\n */\nexport function resolveCommit(repository: GitRepository, revision: string): string {\n return gitLine(repository.root, [\n 'rev-parse',\n '--verify',\n '--end-of-options',\n `${revision}^{commit}`,\n ]);\n}\n\n/**\n * `git cat-file --batch` answers each name with a header line, the content and a line break:\n * ` blob \\n\\n`.\n */\nfunction readBlobs(repository: GitRepository, names: string[]): string[] {\n const output = git(repository.root, ['cat-file', '--batch'], names.map((name) => `${name}\\n`).join(''));\n let offset = 0;\n\n return names.map((name) => {\n const headerEnd = output.indexOf('\\n', offset);\n const [, type, size] = output.subarray(offset, headerEnd).toString().split(' ');\n\n if (type !== 'blob') {\n throw new Error(`${name} is not a file in the repository.`);\n }\n\n const content = output.subarray(headerEnd + 1, headerEnd + 1 + Number(size)).toString();\n\n offset = headerEnd + 1 + Number(size) + 1;\n\n return content;\n });\n}\n\n/**\n * @private\n *\n * The files of the commit that can declare public API, as `readSourceTree` reads them from a checkout.\n */\nexport function readSourceTreeAt(repository: GitRepository, commit: string): SourceTree {\n const prefix = `${repository.administration}/`;\n const files = git(repository.root, [\n 'ls-tree',\n '-r',\n '-z',\n '--name-only',\n commit,\n '--',\n `${prefix}src`,\n ])\n .toString()\n .split('\\0')\n .filter((file) => file !== '')\n .map((file) => file.slice(prefix.length))\n .filter(isPublicApiSourceFile);\n const contents = new Map(\n readBlobs(\n repository,\n files.map((file) => `${commit}:${prefix}${file}`),\n ).map((content, index) => [files[index], content]),\n );\n\n return sourceTreeOf(files, (file) => contents.get(file) ?? '');\n}\n" +} diff --git a/web/public/bundles/shopware/code/bef0d50ae06bf0359b63ac17c3f15175991e7b59.json b/web/public/bundles/shopware/code/bef0d50ae06bf0359b63ac17c3f15175991e7b59.json new file mode 100644 index 00000000..4a947cd4 --- /dev/null +++ b/web/public/bundles/shopware/code/bef0d50ae06bf0359b63ac17c3f15175991e7b59.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "bef0d50ae06bf0359b63ac17c3f15175991e7b59", + "language": "php", + "path": "custom/scripts/boot/boot.php", + "schema": "codexray.code/1", + "text": "usePutenv()->bootEnv($projectRoot . '/.env');\n}\n\n$env = $env ?? 'dev';\n\n/** @var KernelInterface $kernel */\nKernelFactory::$kernelClass = ScriptKernel::class;\n\n$kernel = KernelFactory::create(\n environment: $env,\n debug: true,\n classLoader: $classLoader,\n pluginLoader: new DbalKernelPluginLoader(\n classLoader: $classLoader,\n pluginDir: $projectRoot . '/custom/plugins',\n connection: MySQLFactory::create([])\n )\n);\n\n$kernel->boot();\n\nreturn $kernel;\n" +} diff --git a/web/public/bundles/shopware/code/bfbb506d6fdc7cfa8ff1cc727602993b2f74fa51.json b/web/public/bundles/shopware/code/bfbb506d6fdc7cfa8ff1cc727602993b2f74fa51.json new file mode 100644 index 00000000..b448943c --- /dev/null +++ b/web/public/bundles/shopware/code/bfbb506d6fdc7cfa8ff1cc727602993b2f74fa51.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "bfbb506d6fdc7cfa8ff1cc727602993b2f74fa51", + "language": "php", + "path": "src/Core/Maintenance/System/Command/SystemUpdatePrepareCommand.php", + "schema": "codexray.code/1", + "text": "note('Environment variable \\'DATABASE_URL\\' not defined. Skipping ' . $this->getName() . '...');\n\n return self::SUCCESS;\n }\n\n $output->writeln('Run Update preparations');\n\n $context = Context::createCLIContext();\n\n // TODO: get new version (from composer.lock?)\n $newVersion = '';\n\n $eventDispatcher = $this->container->get('event_dispatcher');\n $eventDispatcher->dispatch(new UpdatePrePrepareEvent($context, $this->shopwareVersion, $newVersion));\n\n $eventDispatcher->dispatch(new UpdatePostPrepareEvent($context, $this->shopwareVersion, $newVersion));\n\n return self::SUCCESS;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/c1b6ea9963fc372988e9d633d18f6a271a329975.json b/web/public/bundles/shopware/code/c1b6ea9963fc372988e9d633d18f6a271a329975.json new file mode 100644 index 00000000..3b8c961d --- /dev/null +++ b/web/public/bundles/shopware/code/c1b6ea9963fc372988e9d633d18f6a271a329975.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c1b6ea9963fc372988e9d633d18f6a271a329975", + "language": "php", + "path": "src/Core/System/Country/SalesChannel/CountryStateRoute.php", + "schema": "codexray.code/1", + "text": " [StoreApiRouteScope::ID]])]\nclass CountryStateRoute extends AbstractCountryStateRoute\n{\n final public const ALL_TAG = 'country-state-route';\n\n /**\n * @internal\n *\n * @param EntityRepository $countryStateRepository\n */\n public function __construct(\n private readonly EntityRepository $countryStateRepository,\n private readonly EventDispatcherInterface $dispatcher,\n private readonly CacheTagCollector $cacheTagCollector,\n private readonly ExtensionDispatcher $extensions,\n ) {\n }\n\n public static function buildName(string $id): string\n {\n return 'country-state-route-' . $id;\n }\n\n #[Route(\n path: '/store-api/country-state/{countryId}',\n name: 'store-api.country.state',\n methods: [Request::METHOD_GET, Request::METHOD_POST],\n defaults: [PlatformRequest::ATTRIBUTE_ENTITY => CountryDefinition::ENTITY_NAME, PlatformRequest::ATTRIBUTE_HTTP_CACHE => true],\n )]\n public function load(string $countryId, Request $request, Criteria $criteria, SalesChannelContext $context): CountryStateRouteResponse\n {\n return $this->extensions->publish(\n name: CountryStateRouteExtension::NAME,\n extension: new CountryStateRouteExtension($countryId, $request, $criteria, $context),\n function: $this->_load(...),\n );\n }\n\n protected function getDecorated(): AbstractCountryStateRoute\n {\n throw new DecorationPatternException(self::class);\n }\n\n private function _load(string $countryId, Request $request, Criteria $criteria, SalesChannelContext $context): CountryStateRouteResponse\n {\n $this->cacheTagCollector->addTag(self::buildName($countryId), self::ALL_TAG);\n\n $criteria->addFilter(\n new EqualsFilter('countryId', $countryId),\n new EqualsFilter('active', true)\n );\n $criteria->addSorting(new FieldSorting('position', FieldSorting::ASCENDING, true));\n $criteria->addSorting(new FieldSorting('name', FieldSorting::ASCENDING));\n\n $this->dispatcher->dispatch(new CountryStateCriteriaEvent($countryId, $request, $criteria, $context));\n $countryStates = $this->countryStateRepository->search($criteria, $context->getContext());\n\n return new CountryStateRouteResponse($countryStates);\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/c2b58c1ac6d857d10cac0dbe5d50caddcbcc220d.json b/web/public/bundles/shopware/code/c2b58c1ac6d857d10cac0dbe5d50caddcbcc220d.json new file mode 100644 index 00000000..b077fffa --- /dev/null +++ b/web/public/bundles/shopware/code/c2b58c1ac6d857d10cac0dbe5d50caddcbcc220d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c2b58c1ac6d857d10cac0dbe5d50caddcbcc220d", + "language": "typescript", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-usage-data/component/sw-settings-usage-data-store-data-consent/index.ts", + "schema": "codexray.code/1", + "text": "/**\n * @sw-package framework\n */\nimport useConsentStore from 'src/core/consent/consent.store';\nimport { dispatchConsentEvent } from 'src/core/consent/events';\nimport template from './sw-settings-usage-data-store-data-consent.html.twig';\nimport './sw-settings-usage-data-store-data-consent.scss';\n\nimport SwSettingsUsageDataStoreDataConsentCard from '../sw-settings-usage-data-consent-modal/subcomponents/sw-settings-usage-data-store-data-consent-card';\nimport SwSettingsUsageDataConsentCheckList from '../sw-settings-usage-data-consent-modal/subcomponents/sw-settings-usage-data-consent-check-list';\n\n/**\n * @private\n */\nexport default Shopware.Component.wrapComponentConfig({\n template,\n name: 'sw-settings-usage-data-store-data-consent',\n\n components: {\n SwSettingsUsageDataStoreDataConsentCard,\n SwSettingsUsageDataConsentCheckList,\n },\n\n data() {\n return {\n isLoading: false,\n };\n },\n\n computed: {\n suspended() {\n const consentStore = useConsentStore();\n return !consentStore.consents.backend_data;\n },\n\n storeDataConsent() {\n const consentStore = useConsentStore();\n\n try {\n return consentStore.isAccepted('backend_data');\n } catch {\n return false;\n }\n },\n\n unionPath() {\n return Shopware.Filter.getByName('asset')('/administration/administration/static/img/data-sharing/union.svg');\n },\n },\n\n methods: {\n async updateConsent(newValue: boolean) {\n const consentStore = useConsentStore();\n this.isLoading = true;\n\n try {\n if (newValue) {\n await consentStore.accept('backend_data');\n } else {\n await consentStore.revoke('backend_data');\n }\n } catch {\n Shopware.Store.get('notification').createNotification({\n variant: 'critical',\n title: this.$t('global.default.error'),\n message: this.$t('sw-settings-usage-data.errors.consent-update-error', {\n consent: 'backend_data',\n }),\n });\n } finally {\n this.isLoading = false;\n }\n },\n\n onLegalLinkClick() {\n dispatchConsentEvent('consent_legal_link_clicked', { link_target: 'privacy_policy', source: 'setting' });\n },\n },\n});\n" +} diff --git a/web/public/bundles/shopware/code/c36e3019b7a74a80f1cac6a9674e3b8cb7f5bf88.json b/web/public/bundles/shopware/code/c36e3019b7a74a80f1cac6a9674e3b8cb7f5bf88.json new file mode 100644 index 00000000..03087d42 --- /dev/null +++ b/web/public/bundles/shopware/code/c36e3019b7a74a80f1cac6a9674e3b8cb7f5bf88.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c36e3019b7a74a80f1cac6a9674e3b8cb7f5bf88", + "language": "php", + "path": "src/Core/System/CustomField/CustomFieldEntity.php", + "schema": "codexray.code/1", + "text": "|null\n */\n protected ?array $config = null;\n\n protected bool $active;\n\n protected ?string $customFieldSetId = null;\n\n protected ?CustomFieldSetEntity $customFieldSet = null;\n\n protected ?ProductSearchConfigFieldCollection $productSearchConfigFields = null;\n\n protected bool $allowCustomerWrite = false;\n\n protected bool $allowCartExpose = false;\n\n protected bool $storeApiAware = true;\n\n protected bool $includeInSearch = false;\n\n public function getName(): string\n {\n return $this->name;\n }\n\n public function setName(string $name): void\n {\n $this->name = $name;\n }\n\n public function getType(): string\n {\n return $this->type;\n }\n\n public function setType(string $type): void\n {\n $this->type = $type;\n }\n\n /**\n * @return array|null\n */\n public function getConfig(): ?array\n {\n return $this->config;\n }\n\n /**\n * @param array|null $config\n */\n public function setConfig(?array $config): void\n {\n $this->config = $config;\n }\n\n public function isActive(): bool\n {\n return $this->active;\n }\n\n public function setActive(bool $active): void\n {\n $this->active = $active;\n }\n\n public function getCustomFieldSetId(): ?string\n {\n return $this->customFieldSetId;\n }\n\n public function setCustomFieldSetId(?string $attributeSetId): void\n {\n $this->customFieldSetId = $attributeSetId;\n }\n\n public function getCustomFieldSet(): ?CustomFieldSetEntity\n {\n return $this->customFieldSet;\n }\n\n public function setCustomFieldSet(?CustomFieldSetEntity $attributeSet): void\n {\n $this->customFieldSet = $attributeSet;\n }\n\n public function getProductSearchConfigFields(): ?ProductSearchConfigFieldCollection\n {\n return $this->productSearchConfigFields;\n }\n\n public function setProductSearchConfigFields(ProductSearchConfigFieldCollection $productSearchConfigFields): void\n {\n $this->productSearchConfigFields = $productSearchConfigFields;\n }\n\n public function isAllowCustomerWrite(): bool\n {\n return $this->allowCustomerWrite;\n }\n\n public function setAllowCustomerWrite(bool $allowCustomerWrite): void\n {\n $this->allowCustomerWrite = $allowCustomerWrite;\n }\n\n public function isAllowCartExpose(): bool\n {\n return $this->allowCartExpose;\n }\n\n public function setAllowCartExpose(bool $allowCartExpose): void\n {\n $this->allowCartExpose = $allowCartExpose;\n }\n\n public function isStoreApiAware(): bool\n {\n return $this->storeApiAware;\n }\n\n public function setStoreApiAware(bool $storeApiAware): void\n {\n $this->storeApiAware = $storeApiAware;\n }\n\n public function isIncludeInSearch(): bool\n {\n return $this->includeInSearch;\n }\n\n public function setIncludeInSearch(bool $includeInSearch): void\n {\n $this->includeInSearch = $includeInSearch;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/c3b5f3e3265408c064e0afbba727637a2374c80c.json b/web/public/bundles/shopware/code/c3b5f3e3265408c064e0afbba727637a2374c80c.json new file mode 100644 index 00000000..d20c9d6d --- /dev/null +++ b/web/public/bundles/shopware/code/c3b5f3e3265408c064e0afbba727637a2374c80c.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c3b5f3e3265408c064e0afbba727637a2374c80c", + "language": "php", + "path": "src/Core/Maintenance/MaintenanceException.php", + "schema": "codexray.code/1", + "text": " implode('\", \"', MigrationCollectionLoader::VALID_VERSION_SELECTION_VALUES),\n 'mode' => $mode,\n ]\n );\n }\n\n public static function environmentVariableNotDefined(string $variableName): self\n {\n return new self(\n Response::HTTP_INTERNAL_SERVER_ERROR,\n self::MAINTENANCE_ENVIRONMENT_VARIABLE_NOT_DEFINED,\n 'Environment variable \"{{ variableName }}\" is not defined.',\n ['variableName' => $variableName]\n );\n }\n\n public static function environmentVariableNotValid(string $variableName, string $actualValue, string $reason): self\n {\n return new self(\n Response::HTTP_INTERNAL_SERVER_ERROR,\n self::MAINTENANCE_ENVIRONMENT_VARIABLE_NOT_VALID,\n 'Environment variable \"{{ variableName }}\" with value \"{{ actualValue }}\" is not valid: {{ reason }}.',\n ['variableName' => $variableName, 'actualValue' => $actualValue, 'reason' => $reason]\n );\n }\n\n public static function dbConnectionParameterMissing(string $parameterName): self\n {\n return new self(\n Response::HTTP_INTERNAL_SERVER_ERROR,\n self::MAINTENANCE_DB_CONNECTION_PARAMETER_MISSING,\n 'Provided database connection information is not valid. Missing parameter \"{{ parameterName }}\"',\n ['parameterName' => $parameterName]\n );\n }\n\n public static function dbVersionSelectFailed(?\\Throwable $exception = null): DatabaseSetupException\n {\n return new DatabaseSetupException(\n Response::HTTP_INTERNAL_SERVER_ERROR,\n self::MAINTENANCE_DB_VERSION_SELECT_FAILED,\n 'Failed to select database version',\n previous: $exception\n );\n }\n\n public static function dbVersionMismatch(\n string $dbKind,\n string $actualVersion,\n string $mysqlRequiredVersion,\n string $mariaDBRequiredVersion\n ): DatabaseSetupException {\n return new DatabaseSetupException(\n Response::HTTP_INTERNAL_SERVER_ERROR,\n self::MAINTENANCE_DB_VERSION_SELECT_FAILED,\n 'Your database server is running {{ dbKind }} {{ actualVersion }}, but Shopware 6 requires at least MySQL {{ mysqlRequiredVersion }} OR MariaDB {{ mariaDBRequiredVersion }}',\n [\n 'dbKind' => $dbKind,\n 'actualVersion' => $actualVersion,\n 'mysqlRequiredVersion' => $mysqlRequiredVersion,\n 'mariaDBRequiredVersion' => $mariaDBRequiredVersion,\n ]\n );\n }\n\n public static function shopConfigurationNotValid(string $message): self\n {\n return new self(\n Response::HTTP_INTERNAL_SERVER_ERROR,\n self::MAINTENANCE_SHOP_CONFIGURATION_NOT_VALID,\n $message\n );\n }\n\n public static function couldNotGetId(string $entity): self\n {\n return new self(\n Response::HTTP_INTERNAL_SERVER_ERROR,\n self::MAINTENANCE_COULD_NOT_GET_ID,\n 'Could not get ID of {{ entity }}',\n ['entity' => $entity]\n );\n }\n\n public static function userAlreadyExists(string $username): self\n {\n return new self(\n Response::HTTP_BAD_REQUEST,\n self::MAINTENANCE_USER_ALREADY_EXISTS,\n 'User with username \"{{ username }}\" already exists.',\n ['username' => $username]\n );\n }\n\n public static function passwordTooShort(int $minPasswordLength): self\n {\n return new self(\n Response::HTTP_BAD_REQUEST,\n self::MAINTENANCE_USER_PASSWORD_TOO_SHORT,\n 'The password must have at least {{ minPasswordLength }} characters.',\n ['minPasswordLength' => $minPasswordLength]\n );\n }\n\n public static function couldNotReadFile(string $path): self\n {\n return new self(\n Response::HTTP_INTERNAL_SERVER_ERROR,\n self::MAINTENANCE_COULD_NOT_READ_FILE,\n 'Could not read file from path \"{{ path }}\"',\n ['path' => $path]\n );\n }\n\n public static function couldNotCreateDirectory(string $directoryName): self\n {\n return new self(\n Response::HTTP_INTERNAL_SERVER_ERROR,\n self::MAINTENANCE_COULD_NOT_CREATE_DIRECTORY,\n 'Could not create directory \"{{ directoryName }}\"',\n ['directoryName' => $directoryName]\n );\n }\n\n public static function aclRolesNotLoaded(string $userId, string $userName): self\n {\n return new self(\n Response::HTTP_INTERNAL_SERVER_ERROR,\n 'MAINTENANCE__ACL_ROLES_NOT_LOADED',\n 'Could not get ACL roles for user \"{{ userName }}\" (ID: {{ userId }})',\n ['userId' => $userId, 'userName' => $userName],\n );\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/c72af4cb469fef8d5f03cf24e71f23adc4a6a2aa.json b/web/public/bundles/shopware/code/c72af4cb469fef8d5f03cf24e71f23adc4a6a2aa.json new file mode 100644 index 00000000..8d30ed89 --- /dev/null +++ b/web/public/bundles/shopware/code/c72af4cb469fef8d5f03cf24e71f23adc4a6a2aa.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c72af4cb469fef8d5f03cf24e71f23adc4a6a2aa", + "language": "typescript", + "path": "src/Administration/Resources/app/administration/src/app/init/theme.init.ts", + "schema": "codexray.code/1", + "text": "/**\n * @sw-package framework\n */\nimport useTheme from '../composables/use-theme';\n\n/**\n * Part of the login boot path (see `loginInitializer` in `application.ts`),\n * so the login screen follows the persisted preference without a session.\n */\n// eslint-disable-next-line sw-deprecation-rules/private-feature-declarations\nexport default function initializeTheme(): void {\n useTheme();\n}\n" +} diff --git a/web/public/bundles/shopware/code/c76414f670374bcb89333dcbecccfcfdf726d39b.json b/web/public/bundles/shopware/code/c76414f670374bcb89333dcbecccfcfdf726d39b.json new file mode 100644 index 00000000..51f7ece0 --- /dev/null +++ b/web/public/bundles/shopware/code/c76414f670374bcb89333dcbecccfcfdf726d39b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c76414f670374bcb89333dcbecccfcfdf726d39b", + "language": "php", + "path": "src/Storefront/Theme/Subscriber/FirstRunWizardSubscriber.php", + "schema": "codexray.code/1", + "text": " $themeRepository\n * @param EntityRepository> $themeSalesChannelRepository\n * @param EntityRepository $salesChannelRepository\n */\n public function __construct(\n private readonly ThemeService $themeService,\n private readonly ThemeLifecycleService $themeLifecycleService,\n private readonly EntityRepository $themeRepository,\n private readonly EntityRepository $themeSalesChannelRepository,\n private readonly EntityRepository $salesChannelRepository\n ) {\n }\n\n /**\n * @return array>\n */\n public static function getSubscribedEvents(): array\n {\n return [\n FirstRunWizardFinishedEvent::class => 'frwFinished',\n ];\n }\n\n public function frwFinished(FirstRunWizardFinishedEvent $event): void\n {\n // only run on open -> completed|failed transition\n if (!$event->getPreviousState()->isOpen() || $event->getState()->isOpen()) {\n return;\n }\n\n $context = $event->getContext();\n\n $this->themeLifecycleService->refreshThemes($context);\n\n $themeCriteria = new Criteria();\n $themeCriteria->addAssociation('salesChannels');\n $themeCriteria->addFilter(new EqualsFilter('technicalName', 'Storefront'));\n\n $theme = $this->themeRepository->search($themeCriteria, $context)->getEntities()->first();\n if (!$theme) {\n throw ThemeException::couldNotFindThemeByName('Storefront');\n }\n\n $themeSalesChannels = $theme->getSalesChannels();\n // only run if the themes are not already initialised\n if ($themeSalesChannels && $themeSalesChannels->count() > 0) {\n return;\n }\n\n $salesChannelCriteria = (new Criteria())\n ->addFilter(new EqualsFilter('typeId', Defaults::SALES_CHANNEL_TYPE_STOREFRONT));\n\n $salesChannelIds = $this->salesChannelRepository->searchIds($salesChannelCriteria, $context)->getIds();\n\n foreach ($salesChannelIds as $id) {\n $this->themeService->compileTheme($id, $theme->getId(), $context);\n $this->themeSalesChannelRepository->upsert([[\n 'themeId' => $theme->getId(),\n 'salesChannelId' => $id,\n ]], $context);\n }\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/c96c078c91934e293859b8ba9d1ef1712b454fc1.json b/web/public/bundles/shopware/code/c96c078c91934e293859b8ba9d1ef1712b454fc1.json new file mode 100644 index 00000000..48d8ac31 --- /dev/null +++ b/web/public/bundles/shopware/code/c96c078c91934e293859b8ba9d1ef1712b454fc1.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "c96c078c91934e293859b8ba9d1ef1712b454fc1", + "language": "php", + "path": "src/Storefront/Pagelet/Wishlist/GuestWishlistPageletLoadedHook.php", + "schema": "codexray.code/1", + "text": "getContext());\n $this->salesChannelContext = $context;\n }\n\n public function getName(): string\n {\n return self::HOOK_NAME;\n }\n\n public function getPage(): GuestWishlistPagelet\n {\n return $this->page;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/ce67a16e2bd9de0268265a1256a7afd5b2385bea.json b/web/public/bundles/shopware/code/ce67a16e2bd9de0268265a1256a7afd5b2385bea.json new file mode 100644 index 00000000..96bc40e2 --- /dev/null +++ b/web/public/bundles/shopware/code/ce67a16e2bd9de0268265a1256a7afd5b2385bea.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "ce67a16e2bd9de0268265a1256a7afd5b2385bea", + "language": "php", + "path": "src/Storefront/Pagelet/Newsletter/Account/NewsletterAccountPagelet.php", + "schema": "codexray.code/1", + "text": ">|null\n */\n protected ?array $messages = null;\n\n protected ?bool $newsletterDoi = null;\n\n protected ?string $newsletterStatus = null;\n\n public function getCustomer(): CustomerEntity\n {\n return $this->customer;\n }\n\n public function setCustomer(CustomerEntity $customer): void\n {\n $this->customer = $customer;\n }\n\n public function isSuccess(): ?bool\n {\n return $this->success;\n }\n\n public function setSuccess(bool $success): void\n {\n $this->success = $success;\n }\n\n /**\n * @return array>|null\n */\n public function getMessages(): ?array\n {\n return $this->messages;\n }\n\n /**\n * @param array> $messages\n */\n public function setMessages(array $messages): void\n {\n $this->messages = $messages;\n }\n\n /**\n * @param array> $messages\n */\n public function addMessages(array $messages): void\n {\n if (!\\is_array($this->messages)) {\n $this->messages = $messages;\n } else {\n $this->messages = array_merge($this->messages, $messages);\n }\n }\n\n public function isNewsletterDoi(): ?bool\n {\n return $this->newsletterDoi;\n }\n\n public function setNewsletterDoi(bool $newsletterDoi): void\n {\n $this->newsletterDoi = $newsletterDoi;\n }\n\n public function getNewsletterStatus(): ?string\n {\n return $this->newsletterStatus;\n }\n\n public function setNewsletterStatus(?string $newsletterStatus): void\n {\n $this->newsletterStatus = $newsletterStatus;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/d07c62a2d31f68ee8531bae59362bed66a2f9a7a.json b/web/public/bundles/shopware/code/d07c62a2d31f68ee8531bae59362bed66a2f9a7a.json new file mode 100644 index 00000000..1820ce58 --- /dev/null +++ b/web/public/bundles/shopware/code/d07c62a2d31f68ee8531bae59362bed66a2f9a7a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d07c62a2d31f68ee8531bae59362bed66a2f9a7a", + "language": "php", + "path": "src/Storefront/Page/Account/Login/AccountLoginPageLoadedHook.php", + "schema": "codexray.code/1", + "text": "getContext());\n $this->salesChannelContext = $context;\n }\n\n public function getName(): string\n {\n return self::HOOK_NAME;\n }\n\n public function getPage(): AccountLoginPage\n {\n return $this->page;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/d47e875bda1242a3850e679f271b83b1e40d1695.json b/web/public/bundles/shopware/code/d47e875bda1242a3850e679f271b83b1e40d1695.json new file mode 100644 index 00000000..65efc91c --- /dev/null +++ b/web/public/bundles/shopware/code/d47e875bda1242a3850e679f271b83b1e40d1695.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d47e875bda1242a3850e679f271b83b1e40d1695", + "language": "php", + "path": "src/Storefront/Framework/Captcha/HoneypotCaptcha.php", + "schema": "codexray.code/1", + "text": "addPropertyConstraint('honeypotValue', new Blank());\n }\n\n public function validate(Request $request, array $captchaConfig): ConstraintViolationList\n {\n $violations = new ConstraintViolationList();\n\n if (!$this->isHoneypotEmpty($request)) {\n // A filled honeypot is bot-only, so there is no customer-facing recovery hint.\n $violations->add(new ConstraintViolation('', '', [], '', '', '', null, CaptchaException::INVALID_CAPTCHA_ERROR));\n }\n\n return $violations;\n }\n\n /**\n * {@inheritdoc}\n */\n public function getName(): string\n {\n return self::CAPTCHA_NAME;\n }\n\n private function isHoneypotEmpty(Request $request): bool\n {\n if (!Feature::isActive('v6.8.0.0')) {\n $this->honeypotValue = $request->request->getString(self::CAPTCHA_REQUEST_PARAMETER);\n\n return \\count($this->validator->validate($this)) < 1;\n }\n\n // A present-but-null parameter counts as empty, like a browser submitting the untouched field.\n return ($request->request->get(self::CAPTCHA_REQUEST_PARAMETER) ?? '') === '';\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/d507a7423f88b7927fd8e35d2fce5d726a57852b.json b/web/public/bundles/shopware/code/d507a7423f88b7927fd8e35d2fce5d726a57852b.json new file mode 100644 index 00000000..583965e3 --- /dev/null +++ b/web/public/bundles/shopware/code/d507a7423f88b7927fd8e35d2fce5d726a57852b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d507a7423f88b7927fd8e35d2fce5d726a57852b", + "language": "typescript", + "path": "src/Administration/Resources/app/administration/src/app/component/structure/sw-block-override/sw-block/index.ts", + "schema": "codexray.code/1", + "text": "/**\n * @sw-package framework\n *\n */\nimport {\n computed,\n getCurrentInstance,\n onBeforeUnmount,\n onBeforeUpdate,\n provide,\n ref,\n watch,\n type ComponentInternalInstance,\n type Slot,\n} from 'vue';\nimport { hasBlockEntries, getBlockEntries } from 'src/core/factory/twig-block-index';\nimport parentsInjectionKey from './parents-injection-key';\nimport useBlockContext from '../../../../composables/use-block-context';\nimport { createShimSlot } from '../shim/create-shim-slot';\nimport reduceToSingleRoot from '../reduce-to-single-root';\nimport useLegacyConditionContext from '../shim/legacy-condition-context';\n\n/**\n * Builds the key under which a block registers and resolves its slots.\n *\n * Native `` identifies a block by `componentName + blockName`, mirroring Twig, so that block\n * `foo` in one component never resolves overrides meant for block `foo` in another. The owning component\n * name reaches this component through the required `sw-internal-component-name` attribute that the Shopware\n * setup transform stamps onto every `` when it lowers the SFC.\n *\n * @example\n * componentBlockKey('sw-product-detail', 'sw_product_detail_base'); // 'sw-product-detail sw_product_detail_base'\n */\nfunction componentBlockKey(componentName: string, blockName: string): string {\n return `${componentName} ${blockName}`;\n}\n\n/**\n * @private\n *\n * @component sw-block\n * @description\n * The `sw-block` component is designed to create an extension point where its content can be overridden or\n * extended. It will render the provided content based on the provided block name, using a context-aware approach\n * to retrieve and apply the appropriate blocks.\n *\n * To make the `sw-block` component to override or extend content of a specific block it is necessary to provide the\n * block name to override and the `extends` attribute. The `sw-block-parent` component is used to render the parent\n * block default content.\n *\n * The prop `data` is used to pass data to the block content. The `$dataScope` is used to pass the entire component\n * scoped data to the block content.\n *\n * @example override\n * \n *
Default content
\n * \n *\n * \n *
Block content override
\n *
\n *\n * @example extend\n * \n *
Default content
\n *
\n *\n * \n * \n *
Block content extension
\n *
\n *\n * @example extend with multiple blocks\n * \n *
Default content
\n *
\n *\n * \n * \n *
Block content extension
\n *
\n *\n * \n * \n *
Another block content extension
\n *
\n */\nexport default Shopware.Component.wrapComponentConfig({\n props: {\n name: {\n type: String,\n },\n extends: {\n type: String,\n },\n swInternalComponentName: {\n type: String,\n required: true,\n },\n data: {\n type: Object as PropType,\n default: null,\n },\n /**\n * Internal, set by the template factory - never write it by hand.\n *\n * Twig components get their extension points generated, and their legacy Twig overrides are\n * already merged into the template at that point. Rendering the shim slots on top would apply\n * the same override a second time, so the generated wrapper turns them off.\n */\n swInternalLegacyShim: {\n type: Boolean,\n default: true,\n },\n },\n setup(props, { slots }) {\n const { addBlock, removeBlock, getBlocks, invalidateBlock } = useBlockContext();\n const { clearLegacyConditionChainsForBlock } = useLegacyConditionContext();\n const instance = getCurrentInstance();\n\n if (props.extends) {\n const extendsKey = componentBlockKey(props.swInternalComponentName, props.extends);\n\n if (slots.default) {\n // Vue reassigns `slots.default` whenever the surrounding slot scope changes.\n // Registering the function itself would pin the first scope forever and leave\n // `removeBlock` with a reference that no longer matches anything, so register a\n // stable wrapper that resolves the current slot function on every call instead.\n const overrideSlot: Slot = (data?: unknown) => slots.default?.(data) ?? [];\n addBlock(extendsKey, overrideSlot);\n\n // The block rendering this override has no reactive link to the scope this\n // override lives in. Vue has already swapped in the new slot function when this\n // hook runs, so this is the moment to make the rendering block pick it up.\n onBeforeUpdate(() => {\n invalidateBlock(extendsKey);\n });\n\n onBeforeUnmount(() => {\n removeBlock(extendsKey, overrideSlot);\n });\n }\n\n return { template: null };\n }\n\n onBeforeUnmount(() => {\n if (!props.name) {\n return;\n }\n\n const ownerUid = instance?.parent?.uid;\n clearLegacyConditionChainsForBlock(props.name, ownerUid);\n });\n\n // Shim slots are created once in setup() to guarantee a stable VNode type\n // reference across renders. A new object on every render call would cause\n // Vue to unmount + remount ShimContent on every reactive update, destroying\n // input focus. They are NOT registered in the global blockContext so that\n // multiple simultaneous instances of each maintain\n // their own isolated shim slots and cannot double-render each other's content.\n const shimSlots: Slot[] =\n props.swInternalLegacyShim && props.name && hasBlockEntries(props.swInternalComponentName, props.name)\n ? getBlockEntries(props.swInternalComponentName, props.name).map((entry) => {\n // The transformed Twig helper calls reveal how many conditional cases this shim must reserve.\n const shimSlot = createShimSlot(entry, props.name!);\n\n return shimSlot;\n })\n : [];\n\n if (process.env.NODE_ENV !== 'production') {\n // `name` is assumed to be static after mount. Dynamically changing it would\n // require re-creating shim slots and re-binding the block context, which is\n // not supported. This watch fires only in development to surface the mistake early.\n watch(\n () => props.name,\n (newVal, oldVal) => {\n if (oldVal !== undefined && newVal !== oldVal) {\n console.warn(\n `[sw-block] The \"name\" prop changed from \"${oldVal}\" to \"${newVal}\" after mount. ` +\n `This is not supported and will result in stale shim slots and incorrect rendering.`,\n );\n }\n },\n );\n }\n\n const providedParents = ref[]>([]);\n provide(parentsInjectionKey, providedParents);\n\n // Slot scope arrives as a function argument, not a reactive read, so a\n // scope-only change never invalidates the computed below — bump a counter\n // on every update so the cached nodes are rebuilt from the fresh slots.\n const slotGeneration = ref(0);\n onBeforeUpdate(() => {\n slotGeneration.value += 1;\n });\n\n const template = computed(() => {\n // Read so a new slot function from the parent invalidates the cached nodes below.\n void slotGeneration.value;\n\n if (!props.name) {\n throw new Error('[sw-block] The \"name\" prop is required when \"extends\" is not set.');\n }\n\n // shimSlots come before nativeBlocks so that Twig plugin overrides (registered\n // at boot time) are positioned below native overrides\n // (registered at mount time), matching the expected stacking order:\n // default → shim (legacy plugin) → native (newer plugin or core extension)\n const nativeBlocks = getBlocks(componentBlockKey(props.swInternalComponentName, props.name));\n const blocksAndParent = [slots.default ?? (() => []), ...shimSlots, ...nativeBlocks];\n const blocksNodes = blocksAndParent.map((block) => block?.(props.data));\n\n const lastNode = blocksNodes.pop();\n // Each calls .pop() exactly once in its own setup()\n // to claim its parent slot. The array must be reset to the current render's\n // ordered list so that each parent instance pops the correct slot — not a\n // stale or accumulated list from a previous render cycle.\n providedParents.value = blocksNodes;\n return lastNode;\n });\n\n return {\n template,\n };\n },\n render() {\n return reduceToSingleRoot(this.template);\n },\n});\n" +} diff --git a/web/public/bundles/shopware/code/d5633404b4081144f90273afa77f9a5897c74aa0.json b/web/public/bundles/shopware/code/d5633404b4081144f90273afa77f9a5897c74aa0.json new file mode 100644 index 00000000..7c742dbe --- /dev/null +++ b/web/public/bundles/shopware/code/d5633404b4081144f90273afa77f9a5897c74aa0.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d5633404b4081144f90273afa77f9a5897c74aa0", + "language": "php", + "path": "src/Core/System/Consent/ConsentException.php", + "schema": "codexray.code/1", + "text": " $name]\n );\n }\n\n /**\n * @param list $options\n */\n public static function invalidStorage(string $storage, array $options): self\n {\n return new self(\n Response::HTTP_BAD_REQUEST,\n self::STORAGE_NOT_FOUND,\n 'Consent storage \"{{ storage }}\" not found. Available stores: {{ options }}.',\n [\n 'storage' => $storage,\n 'options' => implode(', ', $options),\n ],\n );\n }\n\n public static function invalidConsent(): self\n {\n return new self(\n Response::HTTP_BAD_REQUEST,\n self::INVALID_CONSENT,\n 'Consent is invalid.',\n );\n }\n\n public static function invalidConsentStatus(): self\n {\n return new self(\n Response::HTTP_BAD_REQUEST,\n self::INVALID_CONSENT_STATUS,\n 'Consent status is invalid.',\n );\n }\n\n public static function invalidScope(string $scope): self\n {\n return new self(\n Response::HTTP_BAD_REQUEST,\n self::INVALID_SCOPE,\n 'No scope found with name \"{{ scope }}\".',\n ['scope' => $scope]\n );\n }\n\n public static function cannotResolveScope(string $scope): self\n {\n return new self(\n Response::HTTP_BAD_REQUEST,\n self::INVALID_SCOPE,\n 'Scope with name \"{{ scope }}\" cannot be resolved with current context.',\n ['scope' => $scope]\n );\n }\n\n public static function cannotResolveActor(string $id): self\n {\n return new self(\n Response::HTTP_INTERNAL_SERVER_ERROR,\n self::CANNOT_RESOLVE_ACTOR,\n 'Cannot resolve actor with user id \"{{ userId }}\".',\n ['userId' => $id],\n );\n }\n\n public static function invalidRevision(string $consent, ?string $providedRevision, ?string $latestRevision): self\n {\n return new self(\n Response::HTTP_BAD_REQUEST,\n self::INVALID_REVISION,\n 'Cannot accept consent \"{{ consent }}\" for revision \"{{ providedRevision }}\". The latest revision is \"{{ latestRevision }}\".',\n [\n 'consent' => $consent,\n 'providedRevision' => $providedRevision,\n 'latestRevision' => $latestRevision,\n ],\n );\n }\n\n /**\n * @param array $missingPermissions\n */\n public static function insufficientPermissions(string $consent, array $missingPermissions): self\n {\n return new self(\n Response::HTTP_FORBIDDEN,\n self::INSUFFICIENT_PERMISSIONS,\n \\sprintf('Missing required permission to update consent \"{{ consent }}\". Missing permissions: %s', implode(', ', $missingPermissions)),\n [\n 'consent' => $consent,\n 'permission' => $missingPermissions,\n ],\n );\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/d707c9c4836e51a2812d8a933a7e7014340d0b64.json b/web/public/bundles/shopware/code/d707c9c4836e51a2812d8a933a7e7014340d0b64.json new file mode 100644 index 00000000..9dbfc169 --- /dev/null +++ b/web/public/bundles/shopware/code/d707c9c4836e51a2812d8a933a7e7014340d0b64.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d707c9c4836e51a2812d8a933a7e7014340d0b64", + "language": "php", + "path": "src/Storefront/Pagelet/NavigationPagelet.php", + "schema": "codexray.code/1", + "text": "navigation;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/d768c9b514b37807a5eba5800832d2fbd58bd013.json b/web/public/bundles/shopware/code/d768c9b514b37807a5eba5800832d2fbd58bd013.json new file mode 100644 index 00000000..7859060f --- /dev/null +++ b/web/public/bundles/shopware/code/d768c9b514b37807a5eba5800832d2fbd58bd013.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d768c9b514b37807a5eba5800832d2fbd58bd013", + "language": "javascript", + "path": "src/Administration/Resources/app/administration/src/module/sw-product/page/sw-product-list/index.js", + "schema": "codexray.code/1", + "text": "/*\n * @sw-package inventory\n */\n\nimport { searchRankingPoint } from 'src/app/service/search-ranking.service';\nimport template from './sw-product-list.html.twig';\nimport './sw-product-list.scss';\n\nconst { Mixin, Context } = Shopware;\nconst { Criteria } = Shopware.Data;\nconst { cloneDeep } = Shopware.Utils.object;\n\n// eslint-disable-next-line sw-deprecation-rules/private-feature-declarations\nexport default {\n template,\n\n inject: [\n 'repositoryFactory',\n 'numberRangeService',\n 'acl',\n 'filterFactory',\n ],\n\n mixins: [Mixin.getByName('notification'), Mixin.getByName('listing'), Mixin.getByName('placeholder')],\n\n data() {\n const data = {\n products: null,\n currencies: [],\n sortBy: 'createdAt',\n sortDirection: 'DESC',\n naturalSorting: true,\n isLoading: false,\n isBulkLoading: false,\n total: 0,\n product: null,\n cloning: false,\n productEntityVariantModal: false,\n filterCriteria: [],\n // @deprecated tag:v6.8.0 - Will be removed\n productTypeOptions: [\n { label: this.$t('sw-product.type.physical'), value: 'physical' },\n { label: this.$t('sw-product.type.digital'), value: 'digital' },\n ],\n defaultFilters: [\n 'product-number-filter',\n 'active-filter',\n 'product-without-images-filter',\n 'product-documents-filter',\n 'release-date-filter',\n 'stock-filter',\n 'price-filter',\n 'manufacturer-filter',\n 'visibilities-filter',\n 'categories-filter',\n 'sales-filter',\n 'tags-filter',\n 'product-states-filter',\n 'product-type-filter',\n ],\n storeKey: 'grid.filter.product',\n activeFilterNumber: 0,\n showBulkEditModal: false,\n searchConfigEntity: 'product',\n };\n\n if (Shopware.Feature.isActive('v6.8.0.0')) {\n data.defaultFilters = data.defaultFilters.filter((filter) => filter !== 'product-states-filter');\n }\n\n return data;\n },\n\n metaInfo() {\n return {\n title: this.$createTitle(),\n };\n },\n\n computed: {\n productRepository() {\n return this.repositoryFactory.create('product');\n },\n\n productColumns() {\n return this.getProductColumns();\n },\n\n currenciesColumns() {\n return this.currencies\n .toSorted((a, b) => {\n return b.isSystemDefault ? 1 : -1;\n })\n .map((item) => {\n return {\n property: `price-${item.isoCode}`,\n dataIndex: `price.${item.id}`,\n label: `${item.name}`,\n routerLink: 'sw.product.detail',\n allowResize: true,\n currencyId: item.id,\n visible: item.isSystemDefault,\n align: 'right',\n useCustomSort: true,\n };\n });\n },\n\n productCriteria() {\n const productCriteria = new Criteria(this.page, this.limit);\n const sorting = Criteria.sort(this.sortBy, this.sortDirection, this.naturalSorting);\n\n productCriteria.setTerm(this.term);\n productCriteria.addSorting(sorting);\n\n if (!productCriteria.sortings.some((existing) => existing.field === 'id')) {\n productCriteria.addSorting(Criteria.sort('id'));\n }\n\n productCriteria.addAssociation('cover.media');\n productCriteria.addAssociation('manufacturer');\n productCriteria.addAssociation('tax');\n\n this.filterCriteria.forEach((filter) => {\n productCriteria.addFilter(filter);\n });\n\n return productCriteria;\n },\n\n salesChannelCriteria() {\n const criteria = new Criteria(1, 25);\n criteria.addSorting(Criteria.sort('name'));\n\n return criteria;\n },\n\n showVariantModal() {\n return !!this.productEntityVariantModal;\n },\n\n listFilterOptions() {\n const filters = {\n 'product-number-filter': {\n property: 'productNumber',\n type: 'string-filter',\n label: this.$t('sw-product.filters.productNumberFilter.label'),\n placeholder: this.$t('sw-product.filters.productNumberFilter.placeholder'),\n valueProperty: 'key',\n labelProperty: 'key',\n criteriaFilterType: this.adminEsEnable ? 'equals' : 'contains',\n },\n 'release-date-filter': {\n property: 'releaseDate',\n label: this.$t('sw-product.filters.releaseDateFilter.label'),\n dateType: 'datetime-local',\n fromFieldLabel: null,\n toFieldLabel: null,\n showTimeframe: true,\n },\n 'active-filter': {\n property: 'active',\n label: this.$t('sw-product.filters.activeFilter.label'),\n placeholder: this.$t('sw-product.filters.activeFilter.placeholder'),\n },\n 'stock-filter': {\n property: 'stock',\n label: this.$t('sw-product.filters.stockFilter.label'),\n numberType: 'int',\n step: 1,\n fromPlaceholder: this.$t('sw-product.filters.fromPlaceholder'),\n toPlaceholder: this.$t('sw-product.filters.toPlaceholder'),\n },\n 'product-without-images-filter': { property: 'media', ...this.getExistenceFilterTexts('imagesFilter') },\n 'product-documents-filter': { property: 'documents', ...this.getExistenceFilterTexts('documentsFilter') },\n 'manufacturer-filter': {\n property: 'manufacturer',\n label: this.$t('sw-product.filters.manufacturerFilter.label'),\n placeholder: this.$t('sw-product.filters.manufacturerFilter.placeholder'),\n },\n 'visibilities-filter': {\n property: 'visibilities.salesChannel',\n label: this.$t('sw-product.filters.salesChannelsFilter.label'),\n placeholder: this.$t('sw-product.filters.salesChannelsFilter.placeholder'),\n criteria: this.salesChannelCriteria,\n },\n 'categories-filter': {\n property: 'categories',\n label: this.$t('sw-product.filters.categoriesFilter.label'),\n placeholder: this.$t('sw-product.filters.categoriesFilter.placeholder'),\n displayPath: true,\n },\n 'sales-filter': {\n property: 'sales',\n label: this.$t('sw-product.filters.salesFilter.label'),\n digits: 20,\n min: 0,\n fromPlaceholder: this.$t('sw-product.filters.fromPlaceholder'),\n toPlaceholder: this.$t('sw-product.filters.toPlaceholder'),\n },\n 'price-filter': {\n property: 'price',\n label: this.$t('sw-product.filters.priceFilter.label'),\n digits: 20,\n min: 0,\n fromPlaceholder: this.$t('sw-product.filters.fromPlaceholder'),\n toPlaceholder: this.$t('sw-product.filters.toPlaceholder'),\n },\n 'tags-filter': {\n property: 'tags',\n label: this.$t('sw-product.filters.tagsFilter.label'),\n placeholder: this.$t('sw-product.filters.tagsFilter.placeholder'),\n },\n 'product-states-filter': {\n property: 'states',\n label: this.$t('sw-product.filters.productStatesFilter.label'),\n placeholder: this.$t('sw-product.filters.productStatesFilter.placeholder'),\n type: 'multi-select-filter',\n options: [\n {\n label: this.$t('sw-product.filters.productStatesFilter.options.physical'),\n value: 'is-physical',\n },\n {\n label: this.$t('sw-product.filters.productStatesFilter.options.digital'),\n value: 'is-download',\n },\n ],\n },\n 'product-type-filter': {\n property: 'type',\n label: this.$t('sw-product.filters.productTypeFilter.label'),\n placeholder: this.$t('sw-product.filters.productTypeFilter.placeholder'),\n type: 'multi-select-filter',\n options: this.productTypes.map((type) => ({\n label: this.$t(`sw-product.type.${type}`),\n value: type,\n })),\n },\n };\n\n if (Shopware.Feature.isActive('v6.8.0.0')) {\n delete filters['product-states-filter'];\n }\n\n return filters;\n },\n\n listFilters() {\n return this.filterFactory.create('product', this.listFilterOptions);\n },\n\n productBulkEditColumns() {\n return this.productColumns.map((item) => {\n const { inlineEdit, ...restParams } = item;\n return restParams;\n });\n },\n\n assetFilter() {\n return Shopware.Filter.getByName('asset');\n },\n\n currencyFilter() {\n return Shopware.Filter.getByName('currency');\n },\n\n /**\n * @deprecated tag:v6.8.0 - Will be removed, because the filter is unused\n */\n dateFilter() {\n Shopware.Feature.triggerDeprecationOrThrow(\n 'V6_8_0_0',\n 'sw-product-list.dateFilter is deprecated and will be removed, because the filter is unused.',\n );\n\n return Shopware.Filter.getByName('date');\n },\n\n stockColorVariantFilter() {\n return Shopware.Filter.getByName('stockColorVariant');\n },\n\n adminEsEnable() {\n if (!Shopware.Feature.isActive('ENABLE_OPENSEARCH_FOR_ADMIN_API')) {\n return false;\n }\n\n return Context.app.adminEsEnable ?? false;\n },\n\n productTypes() {\n return ['physical', 'digital'];\n },\n },\n\n beforeRouteLeave(to, from, next) {\n const goingToProductDetailPage = to.name === 'sw.product.detail.base';\n\n if (goingToProductDetailPage && this.showVariantModal) {\n this.closeVariantModal();\n }\n\n this.$nextTick(() => {\n next();\n });\n },\n\n methods: {\n getExistenceFilterTexts(snippetKey) {\n return {\n label: this.$t(`sw-product.filters.${snippetKey}.label`),\n placeholder: this.$t(`sw-product.filters.${snippetKey}.placeholder`),\n optionHasCriteria: this.$t(`sw-product.filters.${snippetKey}.textHasCriteria`),\n optionNoCriteria: this.$t(`sw-product.filters.${snippetKey}.textNoCriteria`),\n };\n },\n\n async getList() {\n this.isLoading = true;\n\n let criteria = await Shopware.Service('filterService').mergeWithStoredFilters(\n this.storeKey,\n this.productCriteria,\n );\n criteria.filters = this.normalizeCategoryFilters(criteria.filters);\n\n if (!criteria.filters.some((filter) => filter.field === 'type')) {\n criteria.addPostFilter(Criteria.equalsAny('type', this.productTypes));\n }\n\n if (this.adminEsEnable) {\n criteria.setTerm(this.term);\n } else {\n criteria = await this.addQueryScores(this.term, criteria);\n }\n\n // Clone product query to its variant\n const variantCriteria = cloneDeep(criteria);\n criteria.addFilter(Criteria.equals('product.parentId', null));\n variantCriteria.addFilter(Criteria.not('AND', [Criteria.equals('product.parentId', null)]));\n\n this.activeFilterNumber = criteria.filters.length - 1;\n\n if (!this.entitySearchable) {\n this.isLoading = false;\n this.total = 0;\n\n return;\n }\n\n if (this.freshSearchTerm) {\n criteria.resetSorting();\n }\n\n try {\n if (this.term) {\n const variants = await this.productRepository.search(variantCriteria, {\n ...Context.api,\n inheritance: true,\n });\n if (variants.length > 0) {\n const parentIds = [];\n\n variants.forEach((variant) => {\n parentIds.push(variant.parentId);\n });\n\n criteria.addQuery(Criteria.equalsAny('id', parentIds), searchRankingPoint.HIGH_SEARCH_RANKING);\n }\n }\n\n const currencyCriteria = new Criteria(1, 500);\n currencyCriteria.addSorting(Criteria.sort('name', 'ASC', false));\n\n const result = await Promise.all([\n this.productRepository.search(criteria),\n this.repositoryFactory.create('currency').search(currencyCriteria, Shopware.Context.api, {\n cacheKey: ['shared-data', 'currencies', Shopware.Context.api.languageId ?? 'default'],\n ttl: 5 * 60 * 1000,\n }),\n ]);\n\n const products = result[0];\n const currencies = result[1];\n\n this.total = products.total;\n this.products = products;\n\n this.currencies = currencies;\n this.isLoading = false;\n\n this.selection = {};\n } catch {\n this.isLoading = false;\n }\n },\n\n onInlineEditSave(promise, product) {\n const productName = product.name || this.placeholder(product, 'name');\n\n return promise\n .then(() => {\n this.createNotificationSuccess({\n message: this.$t('sw-product.list.messageSaveSuccess', { name: productName }, 0),\n });\n })\n .catch(() => {\n this.getList();\n this.createNotificationError({\n message: this.$t('global.notification.notificationSaveErrorMessageRequiredFieldsInvalid'),\n });\n });\n },\n\n onInlineEditCancel(product) {\n product.discardChanges();\n },\n\n updateTotal({ total }) {\n this.total = total;\n },\n\n onChangeLanguage(languageId) {\n Shopware.Store.get('context').setApiLanguageId(languageId);\n this.getList();\n },\n\n updateCriteria(criteria) {\n return Mixin.getByName('listing').methods.updateCriteria.call(this, this.normalizeCategoryFilters(criteria));\n },\n\n normalizeCategoryFilters(filters) {\n return filters.map((filter) => {\n if (filter.field !== 'categories.id') {\n return filter;\n }\n\n const categoryIds = Array.isArray(filter.value) ? filter.value : filter.value.split('|');\n if (categoryIds.length === 0) {\n return filter;\n }\n\n return Criteria.multi('OR', [filter, Criteria.equalsAny('product.streams.categories.id', categoryIds)]);\n });\n },\n\n getCurrencyPriceByCurrencyId(currencyId, prices) {\n const priceForProduct = prices.find((price) => price.currencyId === currencyId);\n\n if (priceForProduct) {\n return priceForProduct;\n }\n\n return {\n currencyId: null,\n gross: null,\n linked: true,\n net: null,\n };\n },\n\n getProductColumns() {\n return [\n {\n property: 'name',\n label: this.$t('sw-product.list.columnName'),\n routerLink: 'sw.product.detail',\n inlineEdit: 'string',\n allowResize: true,\n primary: true,\n },\n {\n property: 'productNumber',\n naturalSorting: this.naturalSorting,\n label: this.$t('sw-product.list.columnProductNumber'),\n align: 'right',\n allowResize: true,\n },\n {\n property: 'manufacturer.name',\n label: this.$t('sw-product.list.columnManufacturer'),\n allowResize: true,\n },\n {\n property: 'active',\n label: this.$t('sw-product.list.columnActive'),\n inlineEdit: 'boolean',\n allowResize: true,\n align: 'center',\n },\n {\n property: 'sales',\n label: this.$t('sw-product.list.columnSales'),\n allowResize: true,\n align: 'right',\n },\n ...this.currenciesColumns,\n {\n property: 'stock',\n label: this.$t('sw-product.list.columnInStock'),\n inlineEdit: 'number',\n allowResize: true,\n align: 'right',\n },\n {\n property: 'availableStock',\n label: this.$t('sw-product.list.columnAvailableStock'),\n allowResize: true,\n align: 'right',\n },\n {\n property: 'createdAt',\n label: this.$t('sw-product.list.columnCreatedAt'),\n allowResize: true,\n },\n {\n property: 'updatedAt',\n label: this.$t('sw-product.list.columnUpdatedAt'),\n allowResize: true,\n visible: false,\n },\n ];\n },\n\n onDuplicate(referenceProduct) {\n this.product = referenceProduct;\n this.cloning = true;\n },\n\n onDuplicateFinish(duplicate) {\n this.cloning = false;\n this.product = null;\n\n this.$nextTick(() => {\n this.$router.push({\n name: 'sw.product.detail',\n params: { id: duplicate.id },\n });\n });\n },\n\n onColumnSort(column) {\n this.onSortColumn(column);\n },\n\n productHasVariants(productEntity) {\n const childCount = productEntity.childCount;\n\n return childCount !== null && childCount > 0;\n },\n\n productIsDigital(productEntity) {\n return productEntity.type && productEntity.type === 'digital';\n },\n\n openVariantModal(item) {\n this.productEntityVariantModal = item;\n },\n\n closeVariantModal() {\n this.productEntityVariantModal = null;\n },\n\n onBulkEditItems() {\n let includesDigital = '0';\n const digital = Object.values(this.selection).filter((product) => product.type === 'digital');\n if (digital.length > 0) {\n includesDigital = digital.filter((product) => product.isCloseout).length !== digital.length ? '1' : '2';\n }\n\n this.$router.push({\n name: 'sw.bulk.edit.product',\n params: {\n parentId: 'null',\n includesDigital,\n },\n });\n },\n\n onBulkEditModalOpen() {\n this.showBulkEditModal = true;\n },\n\n onBulkEditModalClose() {\n this.showBulkEditModal = false;\n },\n },\n};\n" +} diff --git a/web/public/bundles/shopware/code/d95e6d68673dccc95e40a29dafbb63815bc8ef04.json b/web/public/bundles/shopware/code/d95e6d68673dccc95e40a29dafbb63815bc8ef04.json new file mode 100644 index 00000000..b1a2f4b2 --- /dev/null +++ b/web/public/bundles/shopware/code/d95e6d68673dccc95e40a29dafbb63815bc8ef04.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "d95e6d68673dccc95e40a29dafbb63815bc8ef04", + "language": "php", + "path": "src/Storefront/Pagelet/Country/CountryStateDataPagelet.php", + "schema": "codexray.code/1", + "text": "states = new CountryStateCollection();\n }\n\n public function getStates(): CountryStateCollection\n {\n return $this->states;\n }\n\n public function setStates(CountryStateCollection $states): void\n {\n $this->states = $states;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/db8ba5cabe21d8ab4daf26f23f45409e0336833b.json b/web/public/bundles/shopware/code/db8ba5cabe21d8ab4daf26f23f45409e0336833b.json new file mode 100644 index 00000000..3132fccc --- /dev/null +++ b/web/public/bundles/shopware/code/db8ba5cabe21d8ab4daf26f23f45409e0336833b.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "db8ba5cabe21d8ab4daf26f23f45409e0336833b", + "language": "typescript", + "path": "src/Administration/Resources/app/administration/scripts/generate-public-api/model/members.ts", + "schema": "codexray.code/1", + "text": "/**\n * @sw-package framework\n *\n * The members of a component besides its blocks: what the options object declares and what the template offers\n * to `this.$refs` and to slots. Every kind is a list of named members, so the printers and the\n * rules of the break check treat them alike and only differ in the details of a kind.\n */\nimport type { Marker } from '../../../eslint-rules/deprecation-rules/utils/api-markers';\nimport type { FlagStates } from './flag-states';\nimport type { SourceLine } from './source-line';\n\n/**\n * @private\n *\n * A parameter of a method or of an emit validator. `type` is the annotation as the source writes it, `null`\n * without one. A destructured parameter is named `arg`, and `pattern` holds its source text, which\n * identifies it at every position. It is `null` for a named parameter.\n */\nexport interface Parameter {\n name: string;\n pattern: string | null;\n type: string | null;\n default: DefaultValue;\n optional: boolean;\n rest: boolean;\n}\n\n/**\n * @private\n *\n * How the break check names a parameter: by its name, a destructured one by its pattern, which stays the same\n * at every position. The pattern is written without spaces, as a marker writes it: `parameter:{id,name}`.\n */\nexport function parameterId({ name, pattern }: Parameter): string {\n return pattern?.replace(/\\s+/g, '') ?? name;\n}\n\n/**\n * @private\n *\n * The default of a prop or a parameter: a value as the source writes it, or a factory, whose body is not\n * compared.\n */\nexport type DefaultValue = { kind: 'none' } | { kind: 'factory' } | { kind: 'value'; text: string };\n\n/**\n * What a kind of the options object knows besides the name. A type of `null` is untyped, which is what a JS\n * member is.\n *\n * - `inject.from`: the key the value is injected by.\n * - `prop.constructors`: the constructors Vue checks a value against, `prop.annotation` the type of a `PropType`\n * on them. `propType` is what the prop declares of the two.\n * - `emit.payload`: the parameters of the validator, `null` for the array form, which declares none.\n * - `data.nested`: the value is an object literal, whose keys are members of their own named `parent.key`.\n * - `method.parameters`: `null` when the method is no function in the source, for example an imported one.\n * - `method.returnsPromise`: the method is `async`, declares a `Promise` return type, or every `return` hands\n * back a promise it visibly builds, such as `.then()` or `Promise.all()`.\n * - `method.returnsSuper`: every `return` hands back `this.$super()` of the same method, so the method returns\n * whatever the method it overrides returns.\n */\ninterface OptionDetails {\n mixin: object;\n inject: { from: string };\n provide: object;\n prop: { constructors: string | null; annotation: string | null; required: boolean; default: DefaultValue };\n emit: { payload: Parameter[] | null };\n data: { nested: boolean };\n computed: { type: string | null };\n method: { parameters: Parameter[] | null; returns: string | null; returnsPromise: boolean; returnsSuper: boolean };\n}\n\n/**\n * @private\n *\n * Where the template holds a member: the block around it, `null` outside of every block.\n */\nexport interface TemplatePlace {\n block: string | null;\n}\n\n/**\n * What a kind of the template knows besides the name and its place. `ref.list` says that the ref sits inside a\n * `v-for`, so Vue fills it with an array.\n */\ninterface TemplateDetails {\n slot: TemplatePlace & { scope: string[] };\n ref: TemplatePlace & { target: string; list: boolean };\n}\n\ntype MemberDetails = OptionDetails & TemplateDetails;\n\n/** @private */\nexport type OptionKind = keyof OptionDetails;\n\n/** @private */\nexport type TemplateKind = keyof TemplateDetails;\n\n/** @private */\nexport type MemberKind = OptionKind | TemplateKind;\n\n/**\n * @private\n *\n * The kinds in the order of their sections in a report, which stand before or after the blocks. `fromTemplate`\n * kinds are read from the template a component renders, the others from its options object. `label` is how a\n * finding names a member of the kind.\n */\nexport const MEMBER_KINDS: {\n [Kind in MemberKind]: {\n heading: string;\n label: string;\n placement: 'beforeBlocks' | 'afterBlocks';\n fromTemplate: Kind extends TemplateKind ? true : false;\n };\n} = {\n mixin: { heading: 'mixins', label: 'mixin', placement: 'beforeBlocks', fromTemplate: false },\n inject: { heading: 'inject', label: 'injection', placement: 'beforeBlocks', fromTemplate: false },\n provide: { heading: 'provide', label: 'provided value', placement: 'beforeBlocks', fromTemplate: false },\n prop: { heading: 'props', label: 'prop', placement: 'beforeBlocks', fromTemplate: false },\n emit: { heading: 'emits', label: 'event', placement: 'beforeBlocks', fromTemplate: false },\n slot: { heading: 'slots', label: 'slot', placement: 'beforeBlocks', fromTemplate: true },\n data: { heading: 'data', label: 'data property', placement: 'beforeBlocks', fromTemplate: false },\n computed: { heading: 'computed', label: 'computed property', placement: 'beforeBlocks', fromTemplate: false },\n method: { heading: 'methods', label: 'method', placement: 'beforeBlocks', fromTemplate: false },\n ref: { heading: 'refs', label: 'template ref', placement: 'afterBlocks', fromTemplate: true },\n};\n\n/** @private */\nexport const KINDS = Object.keys(MEMBER_KINDS) as MemberKind[];\n\ninterface MemberBase {\n name: string;\n at: SourceLine;\n /** The `@deprecated` and `@bc-change` markers in the JSDoc of the member. */\n markers: Marker[];\n /** The JSDoc of the member says `@private`. */\n isPrivate: boolean;\n states: FlagStates;\n}\n\n/**\n * @private\n *\n * One member of a component. `Member<'prop'>` is a prop with its details.\n */\nexport type Member = {\n [K in Kind]: MemberBase & { kind: K } & MemberDetails[K];\n}[Kind];\n\n/**\n * @private\n *\n * The keys from the top of `data()` down to the member: `pagination.limit` gives `['pagination', 'limit']`. The\n * name of every other member is a path of one key, also when it holds a dot, as an inject key may.\n */\nexport function namePath({ kind, name }: Pick): string[] {\n return kind === 'data' ? name.split('.') : [name];\n}\n\n/**\n * @private\n *\n * The type a prop declares: its `PropType`, or the constructors without one.\n */\nexport function propType({ annotation, constructors }: Pick, 'annotation' | 'constructors'>): string | null {\n return annotation ?? constructors;\n}\n\n/**\n * @private\n *\n * Narrows a member to its kind. The predicate is spelled with `Extract`, which is `Member` for every kind.\n */\nexport function isKind(kind: Kind): (member: Member) => member is Extract {\n return (member): member is Extract => member.kind === kind;\n}\n\n/** @private */\nexport function isTemplateMember(member: Member): member is Member {\n return MEMBER_KINDS[member.kind].fromTemplate;\n}\n\n/**\n * @private\n *\n * The part of an element id that names the member below its component, `method:onSave`.\n */\nexport function memberId({ kind, name }: Pick): string {\n return `${kind}:${name}`;\n}\n\n/**\n * @private\n *\n * The members of a component with what the generator could not read. A note is a line of the `notes` section\n * of the report, so a member the snapshot misses is visible there. `sections` holds the line of each option\n * the source declares, where a finding about a removed member points to.\n */\nexport interface ComponentMembers {\n members: Member[];\n notes: string[];\n sections: Partial>;\n}\n" +} diff --git a/web/public/bundles/shopware/code/dd91f26421ba6803c0c6bf0df1e517581e6e34a3.json b/web/public/bundles/shopware/code/dd91f26421ba6803c0c6bf0df1e517581e6e34a3.json new file mode 100644 index 00000000..e3d97bba --- /dev/null +++ b/web/public/bundles/shopware/code/dd91f26421ba6803c0c6bf0df1e517581e6e34a3.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "dd91f26421ba6803c0c6bf0df1e517581e6e34a3", + "language": "php", + "path": "src/Storefront/Event/RouteRequest/OrderRouteRequestEvent.php", + "schema": "codexray.code/1", + "text": "name;\n }\n\n public function setName(string $name): void\n {\n $this->name = $name;\n }\n\n public function getMin(): int\n {\n return $this->min;\n }\n\n public function setMin(int $min): void\n {\n $this->min = $min;\n }\n\n public function getMax(): int\n {\n return $this->max;\n }\n\n public function setMax(int $max): void\n {\n $this->max = $max;\n }\n\n public function getUnit(): string\n {\n return $this->unit;\n }\n\n public function setUnit(string $unit): void\n {\n $this->unit = $unit;\n }\n\n public function getShippingMethods(): ?ShippingMethodCollection\n {\n return $this->shippingMethods;\n }\n\n public function setShippingMethods(ShippingMethodCollection $shippingMethods): void\n {\n $this->shippingMethods = $shippingMethods;\n }\n\n /**\n * @return DeliveryTimeTranslationCollection|null\n */\n public function getTranslations(): ?EntityCollection\n {\n return $this->translations;\n }\n\n /**\n * @param DeliveryTimeTranslationCollection $translations\n */\n public function setTranslations(EntityCollection $translations): void\n {\n $this->translations = $translations;\n }\n\n public function getProducts(): ?ProductCollection\n {\n return $this->products;\n }\n\n public function setProducts(ProductCollection $products): void\n {\n $this->products = $products;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/dfe939dca05733bdc9b4040b791b9e37eee3d370.json b/web/public/bundles/shopware/code/dfe939dca05733bdc9b4040b791b9e37eee3d370.json new file mode 100644 index 00000000..b7ff6791 --- /dev/null +++ b/web/public/bundles/shopware/code/dfe939dca05733bdc9b4040b791b9e37eee3d370.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "dfe939dca05733bdc9b4040b791b9e37eee3d370", + "language": "typescript", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-usage-data/component/sw-settings-usage-data-profile-consent/index.ts", + "schema": "codexray.code/1", + "text": "/**\n * @sw-package framework\n */\nimport useConsentStore from 'src/core/consent/consent.store';\nimport { dispatchConsentEvent } from 'src/core/consent/events';\nimport template from './sw-settings-usage-data-profile-consent.html.twig';\nimport './sw-settings-usage-data-profile-consent.scss';\n\nimport SwSettingsUsageDataUserDataConsentCard from '../sw-settings-usage-data-consent-modal/subcomponents/sw-settings-usage-data-user-data-consent-card';\nimport SwSettingsUsageDataConsentCheckList from '../sw-settings-usage-data-consent-modal/subcomponents/sw-settings-usage-data-consent-check-list';\n\n/**\n * @private\n */\nexport default Shopware.Component.wrapComponentConfig({\n template,\n\n components: {\n SwSettingsUsageDataUserDataConsentCard,\n SwSettingsUsageDataConsentCheckList,\n },\n\n data() {\n return {\n isLoading: false,\n };\n },\n\n computed: {\n suspended() {\n const consentStore = useConsentStore();\n return !consentStore.consents.product_analytics;\n },\n\n userDataConsent() {\n const consentStore = useConsentStore();\n\n try {\n return consentStore.isAccepted('product_analytics');\n } catch {\n return false;\n }\n },\n\n unionPath() {\n return Shopware.Filter.getByName('asset')('/administration/administration/static/img/data-sharing/union.svg');\n },\n },\n\n methods: {\n async updateConsent(newValue: boolean) {\n const consentStore = useConsentStore();\n this.isLoading = true;\n\n try {\n if (newValue) {\n await consentStore.accept('product_analytics');\n } else {\n await consentStore.revoke('product_analytics');\n }\n } catch {\n Shopware.Store.get('notification').createNotification({\n variant: 'critical',\n title: this.$t('global.default.error'),\n message: this.$t('sw-settings-usage-data.errors.consent-update-error', {\n consent: 'product_analytics',\n }),\n });\n } finally {\n this.isLoading = false;\n }\n },\n\n onLegalLinkClick() {\n dispatchConsentEvent('consent_legal_link_clicked', { link_target: 'privacy_policy', source: 'user' });\n },\n },\n});\n" +} diff --git a/web/public/bundles/shopware/code/e4a52c3cb6e55916486fe917452296e90e61412f.json b/web/public/bundles/shopware/code/e4a52c3cb6e55916486fe917452296e90e61412f.json new file mode 100644 index 00000000..e3023f72 --- /dev/null +++ b/web/public/bundles/shopware/code/e4a52c3cb6e55916486fe917452296e90e61412f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e4a52c3cb6e55916486fe917452296e90e61412f", + "language": "php", + "path": "src/Storefront/Framework/Routing/NotFound/NotFoundPageTagsEvent.php", + "schema": "codexray.code/1", + "text": " $tags\n */\n public function __construct(\n private array $tags,\n private readonly Request $request,\n private readonly SalesChannelContext $context\n ) {\n }\n\n public function getContext(): Context\n {\n return $this->context->getContext();\n }\n\n public function getSalesChannelContext(): SalesChannelContext\n {\n return $this->context;\n }\n\n public function getRequest(): Request\n {\n return $this->request;\n }\n\n /**\n * @return array\n */\n public function getTags(): array\n {\n return $this->tags;\n }\n\n /**\n * @param array $tags\n */\n public function addTags(array $tags): void\n {\n $this->tags = array_merge($this->tags, $tags);\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/e5689c09c4af5ef53448711ee21a6acee3d884a1.json b/web/public/bundles/shopware/code/e5689c09c4af5ef53448711ee21a6acee3d884a1.json new file mode 100644 index 00000000..272df014 --- /dev/null +++ b/web/public/bundles/shopware/code/e5689c09c4af5ef53448711ee21a6acee3d884a1.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "e5689c09c4af5ef53448711ee21a6acee3d884a1", + "language": "php", + "path": "src/Administration/Command/CheckExtensionsCommand.php", + "schema": "codexray.code/1", + "text": " {\n if (variant.options) {\n variant.options.forEach((option) => {\n newOptionIds.add(option.id);\n });\n }\n });\n\n const payload = configuratorSettings\n .filter((setting) => {\n if (!setting.isNew()) {\n return true;\n }\n\n return newOptionIds.has(setting.optionId);\n })\n .map((setting) => ({\n id: setting.id,\n productId: this.product.id,\n optionId: setting.optionId,\n mediaId: setting.mediaId,\n price: setting.price,\n position: setting.position ?? 0,\n customFields: setting.customFields,\n }));\n\n if (payload.length === 0) {\n return Promise.resolve();\n }\n\n return this.syncService.sync(\n [\n {\n entity: 'product_configurator_setting',\n action: 'upsert',\n payload,\n },\n ],\n {},\n SYNC_HEADERS,\n );\n }\n\n saveVariantRestrictions() {\n const variantRestrictions = this.product?.variantRestrictions;\n\n if (!this.product?.id || variantRestrictions === undefined || !this.hasVariantRestrictionsChanges()) {\n return Promise.resolve();\n }\n\n const payload = [\n {\n id: this.product.id,\n variantRestrictions: variantRestrictions === null ? null : deepCopyObject(variantRestrictions),\n },\n ];\n\n return this.syncService.sync(\n [\n {\n entity: 'product',\n action: 'upsert',\n payload,\n },\n ],\n {},\n // No indexer reads the variant restrictions, they only decide which variants get generated.\n // Indexing this write would re-index the parent and all its variants for nothing.\n RESTRICTIONS_SYNC_HEADERS,\n );\n }\n\n hasVariantRestrictionsChanges() {\n const { changes } = this.changesetGenerator.generate(this.product);\n\n return changes !== null && hasOwnProperty(changes, 'variantRestrictions');\n }\n\n /**\n * Saves the variant listing config of the parent product.\n * Required because `generateVariants` applies a default config for completely new variant products,\n * which would otherwise be dropped when the product detail page reloads after the generation.\n *\n * @returns {Promise}\n */\n saveVariantListingConfig() {\n const variantListingConfig = this.product?.variantListingConfig;\n\n if (!this.product?.id || !variantListingConfig || !this.hasVariantListingConfigChanges()) {\n return Promise.resolve();\n }\n\n const payload = [\n {\n id: this.product.id,\n variantListingConfig: deepCopyObject(variantListingConfig),\n },\n ];\n\n return this.syncService.sync(\n [\n {\n entity: 'product',\n action: 'upsert',\n payload,\n },\n ],\n {},\n SYNC_HEADERS,\n );\n }\n\n hasVariantListingConfigChanges() {\n const { changes } = this.changesetGenerator.generate(this.product);\n\n return changes !== null && hasOwnProperty(changes, 'variantListingConfig');\n }\n\n /**\n * Saves the variants to the database via sync api.\n */\n saveVariants(queues) {\n return new Promise((resolveDelete, rejectDelete) => {\n // notify view to refresh progress\n this.emit('progress-max', {\n type: 'delete',\n progress: queues.deleteQueue.length,\n });\n\n // create mapping for api call\n const mapped = queues.deleteQueue.map((id) => {\n return { id };\n });\n\n // send api calls for delete\n this.processQueue('delete', mapped, 0, CHUNK_SIZE, resolveDelete, rejectDelete);\n }).then(() => {\n // notify view to refresh progress\n this.emit('progress-max', {\n type: 'upsert',\n progress: queues.createQueue.length,\n });\n\n return new Promise((resolve, reject) => {\n // send api calls for create\n this.processQueue('upsert', queues.createQueue, 0, CHUNK_SIZE, resolve, reject);\n });\n });\n }\n\n generateVariants(currencies, product, isAddOnly = false) {\n this.product = product;\n const configuratorSettings = this.product.configuratorSettings;\n\n // This check is done to set a default value for completely new generated variants\n // without changing existing configuration\n if (\n !this.product.variantListingConfig ||\n (typeof this.product.variantListingConfig.displayParent !== 'boolean' &&\n !this.product.variantListingConfig.configuratorGroupConfig &&\n !this.product.variantListingConfig.mainVariantId)\n ) {\n this.product.variantListingConfig = {};\n this.product.variantListingConfig.displayParent = true;\n }\n\n return new Promise(() => {\n const grouped = this.groupTheOptions(configuratorSettings);\n\n // When nothing is selected\n if (grouped.length <= 0) {\n this.loadExisting(this.product.id).then((variantsOnServer) => {\n const deleteArray = Object.keys(variantsOnServer).map((id) => {\n return id;\n });\n this.emit('queues', {\n createQueue: [],\n deleteQueue: isAddOnly ? [] : deleteArray,\n });\n });\n return;\n }\n\n // create permutations of variants\n const permutations = this.buildCombinations(grouped);\n\n this.loadExisting(this.product.id)\n .then((variantsOnServer) => {\n // filter deletable and creatable variations\n return this.filterVariations(permutations, variantsOnServer, currencies, isAddOnly);\n })\n .then((queues) => {\n this.emit('queues', queues);\n });\n });\n }\n\n filterVariations(newVariations, variationOnServer, currencies, isAddOnly = false) {\n const configuratorSettings = this.product.configuratorSettings;\n\n return new Promise((resolve) => {\n const createQueue = [];\n\n /*\n * {\n * hash1: variantId\n * hash2: variantId2\n * hash3: variantId..\n * }\n *\n */\n const hashed = {};\n const numbers = {};\n const numberMap = {};\n\n for (const [key, variant] of Object.entries(variationOnServer)) {\n const hash = md5(JSON.stringify(variant.options.sort()));\n hashed[hash] = key;\n numberMap[hash] = variant.productNumber;\n numbers[variant.productNumber] = true;\n }\n\n let deleteQueue = [];\n if (!isAddOnly) {\n // Copy the hashed list with the sorted variations on the server.\n deleteQueue = deepCopyObject(hashed);\n }\n\n const newVariationsSorted = newVariations.map((variation) => variation.sort());\n\n // Get price changes for all option ids\n const priceChanges = configuratorSettings.reduce((result, element) => {\n result.push({\n id: element.option.id,\n price: element.price,\n });\n\n return result;\n }, []);\n\n // notify page that the generation starts now\n this.emit('progress-max', {\n type: 'calc',\n progress: newVariationsSorted.length,\n });\n\n let increment = 1;\n const validRestrictions = this.getValidRestrictions();\n\n // Check if the new variation exists on the server.\n newVariationsSorted.forEach((variation) => {\n if (this.isVariationRestricted(variation, validRestrictions)) {\n return;\n }\n\n const hash = md5(JSON.stringify(variation));\n const exist = hashed[hash];\n\n /*\n When the variation exists on the server and in the user selection,\n then remove it from the delete queue. Otherwise create a new variation\n */\n if (exist !== undefined) {\n delete deleteQueue[hash];\n }\n });\n\n Object.keys(deleteQueue).forEach((hash) => {\n delete numbers[numberMap[hash]];\n });\n\n // Check if the new variation exists on the server.\n newVariationsSorted.forEach((variation) => {\n if (this.isVariationRestricted(variation, validRestrictions)) {\n return;\n }\n\n const hash = md5(JSON.stringify(variation));\n const exist = hashed[hash];\n\n // handled in above loop\n if (exist !== undefined) {\n return;\n }\n\n const variations = variation.map((optionId) => {\n return { id: optionId };\n });\n\n // new variation price\n let variationPrice = {};\n\n // Go through each option and add price changes to main price of variation\n variations\n .map((variationObject) => variationObject.id)\n .forEach((variationId) => {\n priceChanges.forEach((option) => {\n if (!option.price) {\n return;\n }\n\n if (option.id !== variationId) {\n return;\n }\n\n // iterate through each currency\n option.price.forEach((price) => {\n const currencyId = price.currencyId;\n\n let refCurrencyPrice;\n\n if (variationPrice[currencyId]) {\n refCurrencyPrice = variationPrice[currencyId];\n } else {\n // get parent price for currency\n refCurrencyPrice = this.product.price.find((productPrice) => {\n return productPrice.currencyId === price.currencyId;\n });\n }\n\n let refPrice = refCurrencyPrice;\n\n // use the default price as fallback when no custom price for the currency exists\n if (!refCurrencyPrice) {\n const defaultCurrency = currencies.find((currency) => {\n return currency.isSystemDefault;\n });\n\n const defaultCurrencyPrice = this.product.price.find((productPrice) => {\n return productPrice.currencyId === defaultCurrency.id;\n });\n\n const actualCurrency = currencies.find((currency) => {\n return currency.id === price.currencyId;\n });\n\n // recalculate price for currency with conversion factor\n refPrice = {\n net: defaultCurrencyPrice.net * actualCurrency.factor,\n gross: defaultCurrencyPrice.gross * actualCurrency.factor,\n };\n }\n\n // calculate new price with surcharge\n const grossPrice = refPrice.gross + price.gross;\n const netPrice = refPrice.net + price.net;\n\n // push new currency price with surcharges to variation price\n variationPrice[currencyId] = {\n currencyId: price.currencyId,\n gross: grossPrice,\n linked: price.linked,\n net: netPrice,\n };\n });\n });\n });\n\n // get generated number and increment\n const generated = this.createNumber(this.product.productNumber, increment, numbers);\n increment = generated.increment;\n\n // create new variant product\n const variantObject = {\n parentId: this.product.id,\n options: variations,\n stock: 0,\n productNumber: generated.number,\n };\n\n variationPrice = Object.values(variationPrice);\n\n // when variant has custom price then add it to price\n if (variationPrice.length > 0) {\n variantObject.price = variationPrice;\n }\n\n // Add to create list\n createQueue.push(variantObject);\n });\n\n // create an array with only the values\n deleteQueue = Object.values(deleteQueue);\n\n // filter the create queue with the new restrictions\n const filteredCreateQueue = this.filterRestrictions(createQueue);\n\n // return the delete and create queue\n resolve({ deleteQueue, createQueue: filteredCreateQueue });\n });\n }\n\n createNumber(prefix, increment, numbers) {\n let exists = true;\n let number = null;\n\n // check for the first unused number\n while (exists) {\n number = `${prefix}.${increment}`;\n exists = numbers.hasOwnProperty(number);\n increment += 1;\n }\n\n return { number, increment };\n }\n\n getValidRestrictions() {\n if (!Array.isArray(this.product.variantRestrictions)) {\n return [];\n }\n\n return this.product.variantRestrictions.filter((restriction) => {\n return (\n restriction &&\n Array.isArray(restriction.values) &&\n restriction.values.length > 0 &&\n restriction.values.every((value) => Array.isArray(value.options) && value.options.length > 0)\n );\n });\n }\n\n isVariationRestricted(variations, validRestrictions = this.getValidRestrictions()) {\n if (validRestrictions.length === 0) {\n return false;\n }\n\n return validRestrictions.some((restriction) => {\n return restriction.values.reduce((exists, restrictionValue) => {\n const restrictionExist = restrictionValue.options.find((optionId) => {\n const idOfOption = optionId.optionId ? optionId.optionId : optionId;\n\n return variations.indexOf(idOfOption) >= 0;\n });\n\n return restrictionExist ? exists : false;\n }, true);\n });\n }\n\n filterRestrictions(createQueue) {\n const validRestrictions = this.getValidRestrictions();\n\n if (validRestrictions.length === 0) {\n return createQueue;\n }\n\n /**\n * Go through the whole createQueue and check for each variation,\n * if the option combination matches one of the restrictions\n */\n return createQueue.filter((newVariation) => {\n const variations = newVariation.options.map((variation) => variation.id);\n\n return !this.isVariationRestricted(variations, validRestrictions);\n });\n }\n\n loadExisting(id) {\n // Return all existing variations from the server\n return this.httpClient\n .get(`/_action/product/${id}/combinations`, {\n headers: this.syncService.getBasicHeaders(),\n })\n .then((response) => {\n return response.data;\n });\n }\n\n groupTheOptions(configurators) {\n // get all selected group id with the selected options\n //\n // {\n // groupId: [optionId, optionId, ...],\n // groupId: [optionId, optionId, ...],\n // ...\n // }\n\n const groupedData = configurators.reduce((accumulator, configurator) => {\n const groupId = configurator.option.groupId;\n const grouped = accumulator[groupId];\n\n if (grouped) {\n grouped.push(configurator.option.id);\n return accumulator;\n }\n\n accumulator[groupId] = [configurator.option.id];\n\n return accumulator;\n }, {});\n\n // Return only the grouped options\n return Object.values(groupedData);\n }\n\n buildCombinations(data, group = [], value = null, index = 0) {\n // Recursion which build the permutation of all options (sorted in groups)\n const all = [];\n\n if (value !== null) {\n group.push(value);\n }\n\n if (index >= data.length) {\n all.push(group);\n return all;\n }\n\n data[index].forEach((entryValue) => {\n const nested = this.buildCombinations(data, group.slice(), entryValue, index + 1);\n\n nested.forEach((nestedItem) => {\n all.push(nestedItem);\n });\n });\n\n return all;\n }\n\n processQueue(type, queue, offset, limit, resolve, reject) {\n // Create a chunk\n const chunk = queue.slice(offset, offset + limit);\n if (chunk.length <= 0) {\n resolve();\n return;\n }\n\n // Emit the progress to the view\n this.emit('progress-actual', { type: type, progress: offset });\n\n const payload = [\n {\n action: type,\n entity: 'product',\n payload: chunk,\n },\n ];\n\n RetryHelper.retry(() => {\n return this.syncService.sync(payload, {}, SYNC_HEADERS);\n })\n .then(() => {\n this.processQueue(type, queue, offset + limit, limit, resolve, reject);\n })\n .catch(reject);\n }\n\n /**\n * @deprecated tag:v6.8.0 - Will be removed without replacement, the sync requests of the generator already queue\n * the indexing of the products they write\n */\n indexProducts(productIds) {\n Shopware.Feature.triggerDeprecationOrThrow(\n 'V6_8_0_0',\n 'VariantsGenerator.indexProducts() is deprecated. Will be removed without replacement.',\n );\n\n if (productIds.length <= 0) {\n return;\n }\n\n this.cacheService.indexProducts(productIds);\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/ea8bc63403eca433a01c6d95c885641c85b64a76.json b/web/public/bundles/shopware/code/ea8bc63403eca433a01c6d95c885641c85b64a76.json new file mode 100644 index 00000000..e9fef621 --- /dev/null +++ b/web/public/bundles/shopware/code/ea8bc63403eca433a01c6d95c885641c85b64a76.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "ea8bc63403eca433a01c6d95c885641c85b64a76", + "language": "php", + "path": "src/Core/Framework/Adapter/Cache/Http/CacheStore.php", + "schema": "codexray.code/1", + "text": "\n */\n private array $locks = [];\n\n private readonly string $sessionName;\n\n /**\n * @internal\n *\n * @param array $sessionOptions\n */\n public function __construct(\n private readonly TagAwareAdapterInterface&CacheInterface $cache,\n /**\n * @deprecated tag:v6.8.0 - Parameter $stateValidator will be removed\n */\n private readonly ?CacheStateValidator $stateValidator,\n private readonly EventDispatcherInterface $eventDispatcher,\n private readonly HttpCacheKeyGenerator $cacheKeyGenerator,\n private readonly MaintenanceModeResolver $maintenanceResolver,\n array $sessionOptions,\n private readonly CacheTagCollector $collector,\n private bool $softPurge,\n private readonly MessageBusInterface $bus,\n private readonly ClockInterface $clock,\n ) {\n $this->sessionName = $sessionOptions['name'] ?? PlatformRequest::FALLBACK_SESSION_NAME;\n }\n\n public function lookup(Request $request): ?Response\n {\n // maintenance mode active and current ip is whitelisted > disable caching\n if (!$this->maintenanceResolver->shouldBeCached($request)) {\n return null;\n }\n\n $key = $this->cacheKeyGenerator->generate($request);\n // Caching is disabled for the request\n if (!$key->isCacheable) {\n return null;\n }\n\n $item = $this->cache->getItem($key->key);\n\n if (!$item->isHit() || !$item->get()) {\n return null;\n }\n\n /** @var Response|array{response: Response, tags: array} $hitData */\n $hitData = CacheCompressor::uncompress($item);\n $tags = [];\n\n $response = \\is_array($hitData) ? $hitData['response'] : $hitData;\n if (\\is_array($hitData)) {\n $tags = $hitData['tags'] ?? [];\n }\n\n if ($this->softPurge) {\n $minInvalidation = $this->getMinInvalidation($tags);\n $responseGeneratedAt = new \\DateTime((string) $response->headers->get('date'));\n $staleWhileRevalidate = $response->headers->getCacheControlDirective('stale-while-revalidate');\n\n if ($minInvalidation >= $responseGeneratedAt->getTimestamp()) {\n // The cache is too old, we need to revalidate it\n if ($staleWhileRevalidate && $responseGeneratedAt->diff($this->clock->now())->s >= (int) $staleWhileRevalidate) {\n return null;\n }\n\n $lockKey = $key->key . '.lock';\n\n /**\n * We use this cache item to lock that we dispatch only one RefreshHttpCacheMessage for the same request.\n * This is important, because we can have multiple requests for the same page in parallel,\n * e.g. when multiple users open the same page at the same time.\n */\n $this->cache->get($lockKey, function (ItemInterface $item) use ($lockKey, $request): void {\n // We keep the lock for a half hour, if not proceed in that time, the lock will be released, and we can re-dispatch the message\n $item->expiresAt($this->clock->now()->modify('+' . self::HALF_HOUR . ' seconds'));\n\n $this->bus->dispatch(RefreshHttpCacheMessage::fromRequest($lockKey, $request, $this->sessionName));\n });\n }\n }\n\n if (!Feature::isActive('v6.8.0.0') && !Feature::isActive('PERFORMANCE_TWEAKS') && !Feature::isActive('CACHE_REWORK')) {\n // The validator service is removed only in v6.8.0.0 mode, so it is available in this legacy branch.\n \\assert($this->stateValidator !== null);\n $isValid = Feature::silent('v6.8.0.0', function () use ($request, $response): bool {\n return $this->stateValidator->isValid($request, $response);\n });\n if (!$isValid) {\n return null;\n }\n }\n\n $event = new HttpCacheHitEvent($item, $request, $response);\n\n $this->eventDispatcher->dispatch($event);\n\n return $response;\n }\n\n public function write(Request $request, Response $response): string\n {\n $key = $this->cacheKeyGenerator->generate($request, $response);\n // Caching is disabled for the request\n if (!$key->isCacheable) {\n return $key->key;\n }\n\n // maintenance mode active and current ip is whitelisted > disable caching\n if ($this->maintenanceResolver->isMaintenanceRequest($request)) {\n return $key->key;\n }\n\n if (!Feature::isActive('v6.8.0.0') && !Feature::isActive('PERFORMANCE_TWEAKS') && !Feature::isActive('CACHE_REWORK')) {\n // The validator service is removed only in v6.8.0.0 mode, so it is available in this legacy branch.\n \\assert($this->stateValidator !== null);\n $isValid = Feature::silent('v6.8.0.0', function () use ($request, $response): bool {\n return $this->stateValidator->isValid($request, $response);\n });\n if (!$isValid) {\n return $key->key;\n }\n }\n\n $tags = $this->collector->get($request);\n\n if ($response->headers->has(self::TAG_HEADER)) {\n /** @var string $tagHeader */\n $tagHeader = $response->headers->get(self::TAG_HEADER);\n $responseTags = \\json_decode($tagHeader, true, 512, \\JSON_THROW_ON_ERROR);\n $tags = array_merge($responseTags, $tags);\n\n $response->headers->remove(self::TAG_HEADER);\n }\n\n $item = $this->cache->getItem($key->key);\n\n /**\n * Symfony pops out in AbstractSessionListener(https://github.com/symfony/symfony/blob/v5.4.5/src/Symfony/Component/HttpKernel/EventListener/AbstractSessionListener.php#L139-L186) the session and assigns it to the Response\n * We should never cache the cookie of the actual browser session, this part removes it again from the cloned response object. As they popped it out of the PHP stack, we need to from it only from the cached response\n */\n $cacheResponse = clone $response;\n $cacheResponse->headers = clone $response->headers;\n\n foreach ($cacheResponse->headers->getCookies() as $cookie) {\n if ($cookie->getName() === $this->sessionName) {\n $cacheResponse->headers->removeCookie($cookie->getName(), $cookie->getPath(), $cookie->getDomain());\n }\n }\n\n if ($this->softPurge) {\n $item = CacheCompressor::compress($item, [\n 'response' => $cacheResponse,\n 'tags' => $tags,\n ]);\n } else {\n $item = CacheCompressor::compress($item, $cacheResponse);\n $item->tag($tags);\n }\n\n $maxAge = $cacheResponse->getMaxAge();\n if ($maxAge === null) {\n $item->expiresAfter(null);\n } else {\n $item->expiresAt($this->clock->now()->modify('+' . $maxAge . ' seconds'));\n }\n\n $this->eventDispatcher->dispatch(\n new HttpCacheStoreEvent($item, $tags, $request, $response)\n );\n\n $this->cache->save($item);\n\n return $key->key;\n }\n\n public function invalidate(Request $request): void\n {\n // @see https://github.com/symfony/symfony/issues/48301\n }\n\n /**\n * Cleanups storage.\n */\n public function cleanup(): void\n {\n $keys = array_keys($this->locks);\n $this->cache->deleteItems($keys);\n $this->locks = [];\n }\n\n /**\n * Tries to lock the cache for a given Request, without blocking.\n */\n public function lock(Request $request): bool|string\n {\n $key = $this->getLockKey($request);\n if ($this->cache->hasItem($key)) {\n return $key;\n }\n\n $item = $this->cache->getItem($key);\n $item->set(true);\n $item->expiresAt($this->clock->now()->modify('+3 seconds'));\n\n $this->cache->save($item);\n $this->locks[$key] = true;\n\n return true;\n }\n\n /**\n * Releases the lock for the given Request.\n */\n public function unlock(Request $request): bool\n {\n $key = $this->getLockKey($request);\n\n $this->cache->deleteItem($key);\n\n unset($this->locks[$key]);\n\n return true;\n }\n\n /**\n * Returns whether a lock exists.\n */\n public function isLocked(Request $request): bool\n {\n return $this->cache->hasItem(\n $this->getLockKey($request)\n );\n }\n\n public function purge(string $url): bool\n {\n $http = preg_replace('#^https:#', 'http:', $url);\n if ($http === null) {\n return false;\n }\n\n $https = preg_replace('#^http:#', 'https:', $url);\n if ($https === null) {\n return false;\n }\n\n $httpPurged = $this->unlock(Request::create($http));\n $httpsPurged = $this->unlock(Request::create($https));\n\n return $httpPurged || $httpsPurged;\n }\n\n private function getLockKey(Request $request): string\n {\n $key = $this->cacheKeyGenerator->generate($request);\n\n return 'http_lock_' . $key->key;\n }\n\n /**\n * @param array $tags\n */\n private function getMinInvalidation(array $tags): int\n {\n $lastInvalidation = 0;\n\n $invalidations = $this->cache->getItems(\n array_map(\n static fn (string $tag): string => 'http_invalidation_' . $tag . '_timestamp',\n $tags\n )\n );\n\n foreach ($invalidations as $invalidation) {\n if ($invalidation->isHit()) {\n $timestamp = $invalidation->get();\n if ($timestamp > $lastInvalidation) {\n $lastInvalidation = $timestamp;\n }\n }\n }\n\n return $lastInvalidation;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/eac9dc3448bd2957d841f4fb12e1f09e25967f05.json b/web/public/bundles/shopware/code/eac9dc3448bd2957d841f4fb12e1f09e25967f05.json new file mode 100644 index 00000000..c1b73730 --- /dev/null +++ b/web/public/bundles/shopware/code/eac9dc3448bd2957d841f4fb12e1f09e25967f05.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "eac9dc3448bd2957d841f4fb12e1f09e25967f05", + "language": "typescript", + "path": "src/Administration/Resources/app/administration/scripts/generate-public-api/read/component-registry.ts", + "schema": "codexray.code/1", + "text": "/**\n * @sw-package framework\n *\n * Finds the `Component.register`, `Component.extend` and `Component.override` calls and the files behind them.\n */\nimport ts from 'typescript';\nimport { isEslintDirective } from '../../../eslint-rules/deprecation-rules/utils/eslint-directive';\nimport { BOTH_STATES, inBothStates } from '../model/flag-states';\nimport type { FlagContext, FlagStates } from '../model/flag-states';\nimport type { Registration } from '../model/model';\nimport type { SourceTree } from '../source/source-tree';\nimport { ConditionChain, conditionTruths } from './flag-conditions';\n\nconst CALL_KINDS = [\n 'register',\n 'extend',\n 'override',\n] as const satisfies readonly (Registration['kind'] | 'override')[];\n\ntype CallKind = (typeof CALL_KINDS)[number];\n\n/**\n * @private\n *\n * One `Component.override` call of core. The runtime applies the overrides of a component by `index`, and\n * those with the same index in the order they are registered. The generator takes those in file order.\n */\nexport interface Override {\n target: string;\n index: number;\n registeredIn: string;\n template: string | null;\n states: FlagStates;\n}\n\n/** @private */\nexport interface ComponentCalls {\n registrations: Registration[];\n overrides: Override[];\n}\n\ntype ComponentFiles = Pick & { privateExport: boolean };\n\n// Only saves parsing the files without a registration. The syntax tree decides what counts as one.\nconst COMPONENT_CALL = new RegExp(`\\\\bComponent\\\\s*\\\\.\\\\s*(?:${CALL_KINDS.join('|')})\\\\s*\\\\(`);\n\nconst COMPONENT_FACTORY = /(?:^|\\.)Component$/;\n\nconst SCRIPT_FILE = /\\.(?:js|ts)$/;\n\nconst PRIVATE_TAG = /^[\\s/*]*@private\\b/m;\n\nconst MODULE_SUFFIXES = [\n '',\n '.ts',\n '.js',\n '/index.ts',\n '/index.js',\n];\n\nfunction parseScript(file: string, tree: SourceTree): ts.SourceFile {\n return ts.createSourceFile(file, tree.read(file), ts.ScriptTarget.Latest, true);\n}\n\nfunction directory(file: string): string {\n return file.slice(0, file.lastIndexOf('/'));\n}\n\nfunction resolveModule(specifier: string, importer: string, tree: SourceTree): string {\n const base = specifier.startsWith('src/')\n ? specifier\n : new URL(specifier, `file:///${directory(importer)}/`).pathname.slice(1);\n const resolved = MODULE_SUFFIXES.map((suffix) => `${base}${suffix}`).find((file) => tree.has(file));\n\n if (resolved === undefined) {\n throw new Error(`${importer}: the import '${specifier}' matches no source file.`);\n }\n\n return resolved;\n}\n\nfunction commentBody({ pos, end, kind }: ts.CommentRange, source: ts.SourceFile): string {\n const closerLength = kind === ts.SyntaxKind.MultiLineCommentTrivia ? 2 : 0;\n\n return source.text.slice(pos + 2, end - closerLength);\n}\n\n/**\n * Only the comment directly above a statement counts, as in the ESLint rule `private-feature-declarations`.\n * The file header of a registration function says nothing about a single component.\n * ESLint directives between that comment and the statement are skipped, as the rule skips them.\n */\nfunction hasPrivateTag(statement: ts.Node, source: ts.SourceFile): boolean {\n const comment = (ts.getLeadingCommentRanges(source.text, statement.getFullStart()) ?? [])\n .filter((range) => !isEslintDirective(commentBody(range, source)))\n .at(-1);\n\n return comment !== undefined && PRIVATE_TAG.test(source.text.slice(comment.pos, comment.end));\n}\n\nfunction importedFile(source: ts.SourceFile, suffix: string, tree: SourceTree): string | null {\n const specifiers = source.statements\n .filter(ts.isImportDeclaration)\n .map((statement) => statement.moduleSpecifier)\n .filter(ts.isStringLiteral)\n .map(({ text }) => text)\n .filter((specifier) => specifier.endsWith(suffix));\n\n if (specifiers.length > 1) {\n throw new Error(`${source.fileName}: more than one ${suffix} import, so the template of the component is unclear.`);\n }\n\n return specifiers.length === 1 ? resolveModule(specifiers[0], source.fileName, tree) : null;\n}\n\n/** The `.vue` file of `export { default } from './sw-example.vue'`, the shim the SFC migration writes. */\nfunction reExportedSfc(source: ts.SourceFile): ts.ExportDeclaration | undefined {\n return source.statements\n .filter(ts.isExportDeclaration)\n .find(\n ({ moduleSpecifier }) =>\n moduleSpecifier && ts.isStringLiteral(moduleSpecifier) && moduleSpecifier.text.endsWith('.vue'),\n );\n}\n\nfunction componentFiles(file: string, tree: SourceTree): ComponentFiles {\n if (file.endsWith('.vue')) {\n return { source: file, sfc: null, template: null, language: 'vue', privateExport: false };\n }\n\n const source = parseScript(file, tree);\n const shim = reExportedSfc(source);\n\n if (shim) {\n return {\n source: file,\n sfc: resolveModule((shim.moduleSpecifier as ts.StringLiteral).text, file, tree),\n template: null,\n language: 'vue',\n privateExport: hasPrivateTag(shim, source),\n };\n }\n\n const defaultExport = source.statements.find(ts.isExportAssignment);\n\n return {\n source: file,\n sfc: null,\n template: importedFile(source, '.html.twig', tree),\n language: file.endsWith('.ts') ? 'ts' : 'js',\n privateExport: defaultExport !== undefined && hasPrivateTag(defaultExport, source),\n };\n}\n\n/**\n * @private\n *\n * The file that holds the blocks of a component, if any.\n */\nexport function markupOf({ language, source, sfc, template }: Registration): string | null {\n return sfc ?? template ?? (language === 'vue' ? source : null);\n}\n\nfunction literalText(node: ts.Node | undefined): string | undefined {\n return node && ts.isStringLiteralLike(node) ? node.text : undefined;\n}\n\n/** The module of `() => import('./sw-example')`, or of `import('./sw-example')` as older commits pass it. */\nfunction lazyImport(config: ts.Expression): string | undefined {\n const call = ts.isArrowFunction(config) ? config.body : config;\n\n return ts.isCallExpression(call) && call.expression.kind === ts.SyntaxKind.ImportKeyword\n ? literalText(call.arguments[0])\n : undefined;\n}\n\nfunction visibilityOf(\n privateExport: boolean,\n privateRegistration: boolean,\n): Pick {\n if (privateExport) {\n return { visibility: 'private', visibilitySource: 'export' };\n }\n\n return privateRegistration\n ? { visibility: 'private', visibilitySource: 'registration' }\n : { visibility: 'public', visibilitySource: 'default' };\n}\n\n/** The flag states in which the `if` statements around `node` let it run. */\nfunction guardStates(node: ts.Node, flags: FlagContext): FlagStates {\n let states = BOTH_STATES;\n\n for (let child = node; child.parent !== undefined; child = child.parent) {\n const { parent } = child;\n\n if (ts.isIfStatement(parent) && child !== parent.expression) {\n const chain = new ConditionChain();\n const thenStates = chain.branch(conditionTruths(parent.expression, flags));\n\n states = inBothStates(states, child === parent.thenStatement ? thenStates : chain.elseBranch());\n }\n }\n\n return states;\n}\n\nfunction statementOf(node: ts.Node): ts.Node {\n return ts.isStatement(node) || node.parent === undefined ? node : statementOf(node.parent);\n}\n\ninterface ComponentCall {\n kind: CallKind;\n call: ts.CallExpression;\n}\n\nconst CALL_ARGUMENTS = {\n register: ['name', 'config'],\n extend: ['name', 'parent', 'config'],\n override: ['name', 'config', 'index'],\n} as const;\n\ntype CallArguments = Partial>;\n\nfunction callArguments({ kind, call }: ComponentCall): CallArguments {\n return Object.fromEntries(CALL_ARGUMENTS[kind].map((role, position) => [role, call.arguments[position]]));\n}\n\ninterface NamedComponent {\n name: string;\n where: string;\n files: ComponentFiles;\n}\n\nfunction namedComponent(componentCall: ComponentCall, source: ts.SourceFile, tree: SourceTree): NamedComponent {\n const where = `${source.fileName}: Component.${componentCall.kind}`;\n const { name: nameArgument, config } = callArguments(componentCall);\n const name = literalText(nameArgument);\n\n if (name === undefined || !config) {\n throw new Error(`${where} needs a literal component name and a component, so the snapshot can name it.`);\n }\n\n const specifier = lazyImport(config);\n\n if (specifier === undefined && !ts.isObjectLiteralExpression(config)) {\n throw new Error(`${where}('${name}') has to pass an object literal or () => import('...').`);\n }\n\n return {\n name,\n where: `${where}('${name}')`,\n files: componentFiles(\n specifier === undefined ? source.fileName : resolveModule(specifier, source.fileName, tree),\n tree,\n ),\n };\n}\n\nfunction registrationOf(\n componentCall: ComponentCall & { kind: Registration['kind'] },\n source: ts.SourceFile,\n tree: SourceTree,\n flags: FlagContext,\n): Registration {\n const { kind, call } = componentCall;\n const { name, where, files } = namedComponent(componentCall, source, tree);\n const parent = kind === 'extend' ? literalText(callArguments(componentCall).parent) : null;\n\n if (parent === undefined) {\n throw new Error(`${where} needs the name of the extended component as a literal.`);\n }\n\n const { privateExport, ...componentSource } = files;\n\n return {\n ...componentSource,\n ...visibilityOf(privateExport, hasPrivateTag(statementOf(call), source)),\n kind,\n name,\n extends: parent,\n registeredIn: source.fileName,\n states: guardStates(call, flags),\n };\n}\n\nfunction overrideIndex(index: ts.Expression | undefined, where: string): number {\n if (index === undefined || index.kind === ts.SyntaxKind.NullKeyword) {\n return 0;\n }\n\n const value = Number(index.getText());\n\n if (Number.isNaN(value)) {\n throw new Error(`${where} needs its index as a number, so the snapshot knows the order of the overrides.`);\n }\n\n return value;\n}\n\nfunction overrideOf(componentCall: ComponentCall, source: ts.SourceFile, tree: SourceTree, flags: FlagContext): Override {\n const { name, where, files } = namedComponent(componentCall, source, tree);\n\n return {\n target: name,\n index: overrideIndex(callArguments(componentCall).index, where),\n registeredIn: source.fileName,\n template: files.template,\n states: guardStates(componentCall.call, flags),\n };\n}\n\nfunction callKind(node: ts.Node): CallKind | undefined {\n if (!ts.isCallExpression(node) || !ts.isPropertyAccessExpression(node.expression)) {\n return undefined;\n }\n\n const { name, expression } = node.expression;\n\n return COMPONENT_FACTORY.test(expression.getText()) ? CALL_KINDS.find((kind) => kind === name.text) : undefined;\n}\n\nfunction componentCallsIn(node: ts.Node): ComponentCall[] {\n const kind = callKind(node);\n const calls: ComponentCall[] = kind && ts.isCallExpression(node) ? [{ kind, call: node }] : [];\n\n ts.forEachChild(node, (child) => {\n calls.push(...componentCallsIn(child));\n });\n\n return calls;\n}\n\nfunction isRegistration(call: ComponentCall): call is ComponentCall & { kind: Registration['kind'] } {\n return call.kind !== 'override';\n}\n\n/**\n * @private\n *\n * Every component registration and core override of the tree, in the order of the files and of the calls in them.\n */\nexport function componentCalls(tree: SourceTree, flags: FlagContext): ComponentCalls {\n const registrations: Registration[] = [];\n const overrides: Override[] = [];\n\n tree.files\n .filter((file) => SCRIPT_FILE.test(file) && COMPONENT_CALL.test(tree.read(file)))\n .forEach((file) => {\n const source = parseScript(file, tree);\n\n componentCallsIn(source).forEach((call) => {\n if (isRegistration(call)) {\n registrations.push(registrationOf(call, source, tree, flags));\n } else {\n overrides.push(overrideOf(call, source, tree, flags));\n }\n });\n });\n\n return { registrations, overrides };\n}\n" +} diff --git a/web/public/bundles/shopware/code/ecde9703c821daa8d76a784ef4219f321400a7b1.json b/web/public/bundles/shopware/code/ecde9703c821daa8d76a784ef4219f321400a7b1.json new file mode 100644 index 00000000..89a0a24e --- /dev/null +++ b/web/public/bundles/shopware/code/ecde9703c821daa8d76a784ef4219f321400a7b1.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "ecde9703c821daa8d76a784ef4219f321400a7b1", + "language": "php", + "path": "src/Storefront/Theme/ThemeAssetPackage.php", + "schema": "codexray.code/1", + "text": " $baseUrls\n */\n public function __construct(\n string|array $baseUrls,\n VersionStrategyInterface $versionStrategy,\n private readonly RequestStack $requestStack,\n private readonly AbstractThemePathBuilder $themePathBuilder\n ) {\n parent::__construct($baseUrls, $versionStrategy);\n }\n\n public function getUrl(string $path): string\n {\n if ($this->isAbsoluteUrl($path)) {\n return $path;\n }\n\n $url = $path;\n if ($url && $url[0] !== '/') {\n $url = '/' . $url;\n }\n\n $url = $this->getVersionStrategy()->applyVersion($this->prependThemePath($url) . $url);\n\n if ($this->isAbsoluteUrl($url)) {\n return $url;\n }\n\n return $this->getBaseUrl($path) . $url;\n }\n\n private function prependThemePath(string $url): string\n {\n $currentRequest = $this->requestStack->getMainRequest();\n\n if ($currentRequest === null) {\n return '';\n }\n\n $salesChannelId = $currentRequest->attributes->get(PlatformRequest::ATTRIBUTE_SALES_CHANNEL_ID);\n $themeId = $currentRequest->attributes->get(SalesChannelRequest::ATTRIBUTE_THEME_ID);\n\n if ($themeId === null || $salesChannelId === null) {\n return '';\n }\n\n if (str_starts_with($url, '/assets')) {\n return '/theme/' . $themeId;\n }\n\n return '/theme/' . $this->themePathBuilder->assemblePath($salesChannelId, $themeId);\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/ed6a4e13aca3699ab169cddb3c2538cb0bc8f920.json b/web/public/bundles/shopware/code/ed6a4e13aca3699ab169cddb3c2538cb0bc8f920.json new file mode 100644 index 00000000..a9a610f0 --- /dev/null +++ b/web/public/bundles/shopware/code/ed6a4e13aca3699ab169cddb3c2538cb0bc8f920.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "ed6a4e13aca3699ab169cddb3c2538cb0bc8f920", + "language": "php", + "path": "src/Storefront/Framework/Routing/CanonicalLinkListener.php", + "schema": "codexray.code/1", + "text": "getResponse()->isSuccessful()) {\n return;\n }\n\n if ($canonical = $event->getRequest()->attributes->get(SalesChannelRequest::ATTRIBUTE_CANONICAL_LINK)) {\n \\assert(\\is_string($canonical));\n $canonical = \\sprintf('<%s>; rel=\"canonical\"', $canonical);\n $event->getResponse()->headers->set('Link', $canonical);\n }\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/f181eff20822360a9c42dab5b8b246b69c401abe.json b/web/public/bundles/shopware/code/f181eff20822360a9c42dab5b8b246b69c401abe.json new file mode 100644 index 00000000..15d56049 --- /dev/null +++ b/web/public/bundles/shopware/code/f181eff20822360a9c42dab5b8b246b69c401abe.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f181eff20822360a9c42dab5b8b246b69c401abe", + "language": "php", + "path": "src/Core/Framework/Adapter/Database/MySQLFactory.php", + "schema": "codexray.code/1", + "text": " $middlewares\n */\n public static function create(array $middlewares = []): Connection\n {\n $config = (new Configuration())\n ->setMiddlewares($middlewares);\n\n $parameters = self::getConnectionParameters();\n $disableMultiStatements = Feature::isActive('DISABLE_SQL_MULTI_STATEMENTS');\n\n // The first connection is created before the feature registry can resolve the parent major.\n if (Feature::getRegisteredFeatures() === []\n && !EnvironmentHelper::hasVariable('DISABLE_SQL_MULTI_STATEMENTS')\n && !EnvironmentHelper::hasVariable('disable_sql_multi_statements')\n ) {\n $disableMultiStatements = $disableMultiStatements || Feature::isActive('v6.8.0.0');\n }\n\n if ($disableMultiStatements) {\n $parameters['driverOptions'][Mysql::ATTR_MULTI_STATEMENTS] = false;\n }\n\n $parameters = self::addReplicaParameters($parameters);\n\n return DriverManager::getConnection($parameters, $config);\n }\n\n public static function createMigrationConnection(Connection $connection): Connection\n {\n $parameters = self::getConnectionParameters();\n unset($parameters['primary'], $parameters['replica'], $parameters['keepReplica']);\n\n if (is_a($parameters['wrapperClass'] ?? Connection::class, PrimaryReadReplicaConnection::class, true)) {\n unset($parameters['wrapperClass']);\n }\n\n $parameters['driverOptions'][Mysql::ATTR_MULTI_STATEMENTS] = true;\n // Persistent PDO handles can be reused across connections with different driver options.\n $parameters['driverOptions'][\\PDO::ATTR_PERSISTENT] = false;\n $parameters['persistent'] = false;\n\n return DriverManager::getConnection($parameters, $connection->getConfiguration());\n }\n\n /**\n * @return Params&array{charset: string, driverOptions: array, ...}\n */\n private static function getConnectionParameters(): array\n {\n $url = (string) EnvironmentHelper::getVariable('DATABASE_URL', getenv('DATABASE_URL'));\n if ($url === '') {\n $url = 'mysql://root:shopware@127.0.0.1:3306/shopware';\n }\n\n $dsnParser = new DsnParser(['mysql' => 'pdo_mysql']);\n $dsnParameters = self::parseDsn($dsnParser, $url);\n\n $parameters = array_merge([\n 'charset' => 'utf8mb4',\n 'driver' => 'pdo_mysql',\n ], $dsnParameters); // adding parameters that are not in the DSN\n\n // Merge driverOptions separately using + to preserve PDO constant keys\n $parameters['driverOptions'] = [\n \\PDO::ATTR_STRINGIFY_FETCHES => true,\n \\PDO::ATTR_TIMEOUT => 5,\n ] + ($dsnParameters['driverOptions'] ?? []);\n\n $parameters['driverOptions'][Mysql::ATTR_INIT_COMMAND] = 'SET\n @@session.time_zone = \\'+00:00\\',\n @@session.group_concat_max_len = CAST(IF(@@group_concat_max_len > 320000, @@group_concat_max_len, 320000) AS UNSIGNED),\n @@session.sql_mode = (SELECT REPLACE(@@sql_mode, \\'ONLY_FULL_GROUP_BY\\', \\'\\'))';\n\n if ($sslCa = EnvironmentHelper::getVariable('DATABASE_SSL_CA')) {\n $parameters['driverOptions'][Mysql::ATTR_SSL_CA] = $sslCa;\n }\n\n if ($sslCert = EnvironmentHelper::getVariable('DATABASE_SSL_CERT')) {\n $parameters['driverOptions'][Mysql::ATTR_SSL_CERT] = $sslCert;\n }\n\n if ($sslCertKey = EnvironmentHelper::getVariable('DATABASE_SSL_KEY')) {\n $parameters['driverOptions'][Mysql::ATTR_SSL_KEY] = $sslCertKey;\n }\n\n if (EnvironmentHelper::getVariable('DATABASE_SSL_DONT_VERIFY_SERVER_CERT') && \\defined('\\Pdo\\Mysql::ATTR_SSL_VERIFY_SERVER_CERT')) {\n $parameters['driverOptions'][Mysql::ATTR_SSL_VERIFY_SERVER_CERT] = false;\n }\n\n if (EnvironmentHelper::getVariable('DATABASE_PERSISTENT_CONNECTION')) {\n $parameters['driverOptions'][\\PDO::ATTR_PERSISTENT] = true;\n }\n\n if (EnvironmentHelper::getVariable('DATABASE_PROTOCOL_COMPRESSION')) {\n $parameters['driverOptions'][Mysql::ATTR_COMPRESS] = true;\n }\n\n return $parameters;\n }\n\n /**\n * Only application connections use replicas; migrations must immediately read their own writes and schema changes on the primary.\n *\n * @param Params&array{charset: string, driverOptions: array, ...} $parameters\n *\n * @return Params\n */\n private static function addReplicaParameters(array $parameters): array\n {\n $replicaUrl = (string) EnvironmentHelper::getVariable('DATABASE_REPLICA_0_URL');\n if ($replicaUrl !== '') {\n if (!isset($parameters['wrapperClass'])) {\n $parameters['wrapperClass'] = PrimaryReadReplicaConnection::class;\n }\n\n // Keep the replica connection distinct from the primary one, so\n // ReplicaConnectionResetter can switch back to the replica between\n // requests. Without this option DBAL aliases the replica to the\n // primary once the primary was used, which pins long running\n // workers to the primary for their whole lifetime.\n // See https://symfony.com/doc/current/doctrine/dbal.html#using-primary-replica-connections-read-replicas\n if (!\\array_key_exists('keepReplica', $parameters)) {\n $parameters['keepReplica'] = true;\n } else {\n $parameters['keepReplica'] = (bool) self::castValue($parameters['keepReplica']);\n }\n\n $parameters['primary'] = $parameters;\n unset($parameters['primary']['wrapperClass'], $parameters['primary']['primary'], $parameters['primary']['replica'], $parameters['primary']['keepReplica']);\n\n $parameters['replica'] = [];\n $dsnParser = new DsnParser(['mysql' => 'pdo_mysql']);\n\n for ($i = 0; $replicaUrl = (string) EnvironmentHelper::getVariable('DATABASE_REPLICA_' . $i . '_URL'); ++$i) {\n $replicaParams = self::parseDsn($dsnParser, $replicaUrl);\n unset($replicaParams['primary'], $replicaParams['replica'], $replicaParams['keepReplica']);\n\n $parameters['replica'][$i] = array_merge([\n 'charset' => $parameters['charset'],\n ], $replicaParams);\n $parameters['replica'][$i]['driverOptions'] = $parameters['driverOptions'] + ($replicaParams['driverOptions'] ?? []);\n }\n }\n\n return $parameters;\n }\n\n /**\n * @return Params\n */\n private static function parseDsn(DsnParser $dsnParser, string $url): array\n {\n $dsnParameters = $dsnParser->parse($url);\n\n $dsnParameters['driverOptions'] = array_map(static function (mixed $value): mixed {\n return self::castValue($value);\n }, $dsnParameters['driverOptions'] ?? []);\n\n return $dsnParameters;\n }\n\n private static function castValue(mixed $value): mixed\n {\n if (is_iterable($value)) {\n foreach ($value as &$item) {\n $item = self::castValue($item);\n }\n\n return $value;\n }\n\n if (!\\is_string($value)) {\n return $value;\n }\n\n return XmlUtils::phpize($value);\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/f2ef854f13a4b4055a7b06c23bb1c7c1d17202bb.json b/web/public/bundles/shopware/code/f2ef854f13a4b4055a7b06c23bb1c7c1d17202bb.json new file mode 100644 index 00000000..cb572057 --- /dev/null +++ b/web/public/bundles/shopware/code/f2ef854f13a4b4055a7b06c23bb1c7c1d17202bb.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f2ef854f13a4b4055a7b06c23bb1c7c1d17202bb", + "language": "typescript", + "path": "src/Administration/Resources/app/administration/src/app/init/http.init.ts", + "schema": "codexray.code/1", + "text": "/**\n * @sw-package framework\n */\nimport type { HttpClient } from 'src/core/factory/http-client.types';\n\nconst HttpClient = Shopware.Classes._private.HttpFactory;\n\n// eslint-disable-next-line sw-deprecation-rules/private-feature-declarations\nexport default function initializeHttpClient(): HttpClient {\n return HttpClient(Shopware.Context.api);\n}\n" +} diff --git a/web/public/bundles/shopware/code/f31ead56bbd23297dac302f672416eea897cd780.json b/web/public/bundles/shopware/code/f31ead56bbd23297dac302f672416eea897cd780.json new file mode 100644 index 00000000..72fc9865 --- /dev/null +++ b/web/public/bundles/shopware/code/f31ead56bbd23297dac302f672416eea897cd780.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f31ead56bbd23297dac302f672416eea897cd780", + "language": "javascript", + "path": "src/Administration/Resources/app/administration/src/module/sw-bulk-edit/service/handler/bulk-edit-product.handler.js", + "schema": "codexray.code/1", + "text": "import BulkEditBaseHandler from './bulk-edit-base.handler';\nimport RetryHelper from '../../../../core/helper/retry.helper';\n\nconst types = Shopware.Utils.types;\nconst { Service, Application } = Shopware;\nconst { Criteria } = Shopware.Data;\nconst { cloneDeep } = Shopware.Utils.object;\n\n/**\n * @class\n * @extends BulkEditBaseHandler\n * @sw-package inventory\n */\nclass BulkEditProductHandler extends BulkEditBaseHandler {\n constructor() {\n super();\n this.name = 'bulkEditProductHandler';\n this.calculatePriceService = Application.getContainer('factory').apiService.getByName('calculate-price');\n this.entityName = 'product';\n this.entityIds = [];\n this.products = {};\n }\n\n async bulkEdit(entityIds, payload, context) {\n this.entityIds = entityIds;\n const taxId = payload.find((change) => change.field === 'taxId')?.value;\n const price = payload.find((change) => change.field === 'price')?.value;\n const purchasePrices = payload.find((change) => change.field === 'purchasePrices')?.value;\n let updatedPricePayload = [];\n\n if (taxId || price || purchasePrices) {\n await this.getProducts();\n }\n\n if (this.shouldRecalculateTax(taxId, price, purchasePrices)) {\n updatedPricePayload = await this.recalculatePrices(taxId, price, purchasePrices);\n\n payload = payload.filter((change) => change.field !== 'taxId');\n }\n\n if (price || purchasePrices) {\n updatedPricePayload = this.updatePriceDirectly(price, purchasePrices, updatedPricePayload);\n\n payload = payload.filter((change) => change.field !== 'price' && change.field !== 'purchasePrices');\n }\n\n const syncPayload = await this.buildBulkSyncPayload(payload);\n\n if (updatedPricePayload.length) {\n if (!types.isEmpty(syncPayload) && 'upsert-product' in syncPayload) {\n syncPayload['upsert-product'].payload = this.mapProductPricesToSyncPayload(\n syncPayload['upsert-product'].payload,\n updatedPricePayload,\n );\n } else {\n syncPayload['upsert-product'] = {\n action: 'upsert',\n entity: 'product',\n payload: updatedPricePayload,\n };\n }\n }\n\n if (types.isEmpty(syncPayload)) {\n return Promise.resolve({ data: [] });\n }\n\n return RetryHelper.retry(() => {\n return this.syncService.sync(\n syncPayload,\n {},\n {\n 'single-operation': 1,\n 'sw-language-id': Shopware.Context.api.languageId,\n ...context,\n },\n );\n });\n }\n\n shouldRecalculateTax(taxId, price, purchasePrices) {\n return taxId && this.isNullPrice(price, purchasePrices);\n }\n\n isNullPrice(price, purchasePrices) {\n return !price || !price[0].listPrice || !price[0].regulationPrice || !purchasePrices;\n }\n\n mapProductPricesToSyncPayload(syncPayload, updatePricePayload) {\n const mappedPayload = [];\n syncPayload.forEach((payload) => {\n const pricePayload = updatePricePayload.find((productPrice) => productPrice.id === payload.id);\n\n if (pricePayload) {\n payload = { ...payload, ...pricePayload };\n updatePricePayload = updatePricePayload.filter((productPrice) => productPrice.id !== payload.id);\n }\n\n mappedPayload.push(payload);\n });\n\n return mappedPayload.concat(updatePricePayload);\n }\n\n getProducts() {\n const productRepository = Service('repositoryFactory').create('product');\n\n const criteria = new Criteria(1, 25);\n criteria.setIds(this.entityIds);\n\n return productRepository.search(criteria, Shopware.Context.api).then((products) => {\n this.products = products;\n });\n }\n\n async recalculatePrices(taxId, inputPrice, inputPurchasePrices) {\n const updatePriceTax = {};\n const updateListPriceTax = {};\n const updateRegulationPriceTax = {};\n const updatePurchasePriceTax = {};\n\n const products = this.products.filter((product) => product.taxId !== taxId);\n\n products.forEach((product) => {\n if (!inputPrice) {\n const productPrice = product.price\n ?.filter((price) => price.linked)\n ?.map((price) => this.getRecalculatePrice(price));\n\n if (!types.isEmpty(productPrice)) {\n updatePriceTax[product.id] = productPrice;\n }\n }\n\n if (!inputPrice || !inputPrice[0].listPrice) {\n const productListPrice = product.price\n ?.filter((price) => price.listPrice?.linked)\n ?.map((price) => this.getRecalculatePrice(price.listPrice));\n\n if (!types.isEmpty(productListPrice)) {\n updateListPriceTax[product.id] = productListPrice;\n }\n }\n\n if (!inputPrice || !inputPrice[0].regulationPrice) {\n const productRegulationPrice = product.price\n ?.filter((price) => price.regulationPrice?.linked)\n ?.map((price) => this.getRecalculatePrice(price.regulationPrice));\n\n if (!types.isEmpty(productRegulationPrice)) {\n updateRegulationPriceTax[product.id] = productRegulationPrice;\n }\n }\n\n if (!inputPurchasePrices) {\n const productPurchasePrice = product.purchasePrices\n ?.filter((price) => price.linked)\n ?.map((price) => this.getRecalculatePrice(price));\n\n if (!types.isEmpty(productPurchasePrice)) {\n updatePurchasePriceTax[product.id] = productPurchasePrice;\n }\n }\n });\n\n const results = await Promise.all([\n this.calculatePrices(taxId, updatePriceTax),\n this.calculatePrices(taxId, updateListPriceTax),\n this.calculatePrices(taxId, updateRegulationPriceTax),\n this.calculatePrices(taxId, updatePurchasePriceTax),\n ]);\n\n const calculatedPrices = results[0];\n const calculatedListPrices = results[1];\n const calculatedRegulationPrices = results[2];\n const calculatedPurchasePrices = results[3];\n const reformatted = [];\n\n products.forEach((product) => {\n const calculatedPrice = calculatedPrices[product.id] ?? [];\n const calculatedListPrice = calculatedListPrices[product.id] ?? [];\n const calculatedRegulationPrice = calculatedRegulationPrices[product.id] ?? [];\n const calculatedPurchasePrice = calculatedPurchasePrices[product.id] ?? [];\n const currentPrice = {\n id: product.id,\n taxId: taxId,\n };\n\n if (product.price) {\n currentPrice.price = this.getCalculatedPrices(\n product.price,\n calculatedPrice,\n calculatedListPrice,\n calculatedRegulationPrice,\n );\n }\n\n if (product.purchasePrices) {\n currentPrice.purchasePrices = this.getCalculatedPrices(product.purchasePrices, calculatedPurchasePrice);\n }\n\n reformatted.push(currentPrice);\n });\n\n return reformatted;\n }\n\n getRecalculatePrice(price) {\n return {\n price: price.gross,\n currencyId: price.currencyId,\n };\n }\n\n async calculatePrices(taxId, prices) {\n if (prices === null || Object.keys(prices).length === 0) {\n return {};\n }\n\n return this.calculatePriceService.calculatePrices(taxId, prices);\n }\n\n getCalculatedPrices(dbPrices, calculatedPrices, calculatedListPrices = [], calculatedRegulationPrices = []) {\n const price = [];\n dbPrices.forEach((dbPrice) => {\n const { currencyId, listPrice, regulationPrice } = dbPrice;\n if (dbPrice.linked && calculatedPrices[currencyId]) {\n dbPrice.net = dbPrice.gross - this.getTax(calculatedPrices[currencyId].calculatedTaxes);\n }\n\n if (listPrice?.linked && calculatedListPrices[currencyId]) {\n dbPrice.listPrice.net = listPrice.gross - this.getTax(calculatedListPrices[currencyId].calculatedTaxes);\n }\n\n if (regulationPrice?.linked && calculatedRegulationPrices[currencyId]) {\n const regulationPriceTaxes = calculatedRegulationPrices[currencyId].calculatedTaxes;\n dbPrice.regulationPrice.net = regulationPrice.gross - this.getTax(regulationPriceTaxes);\n }\n\n price.push(dbPrice);\n });\n\n return price;\n }\n\n getTax(calculatedTaxes) {\n let tax = 0;\n\n calculatedTaxes.forEach((item) => {\n tax += item.tax;\n });\n\n return tax;\n }\n\n updatePriceDirectly(inputPrice, inputPurchasePrices, calculatedProductPrices) {\n const payload = [];\n this.products.forEach((product) => {\n const calculatedPrice = calculatedProductPrices.find((productPrice) => productPrice.id === product.id);\n const currentData = calculatedPrice ?? { id: product.id };\n\n if (inputPrice) {\n const originalPrice = calculatedPrice?.price ?? product.price;\n currentData.price = this.updatePrice(inputPrice[0], originalPrice);\n }\n\n if (inputPurchasePrices) {\n currentData.purchasePrices = this.updatePrice(inputPurchasePrices[0], product.purchasePrices);\n }\n\n if (calculatedPrice) {\n calculatedProductPrices = calculatedProductPrices.filter((productPrice) => productPrice.id !== product.id);\n }\n\n payload.push(currentData);\n });\n\n return payload.concat(calculatedProductPrices);\n }\n\n updatePrice(inputPrice, dbPrices) {\n const currencyId = inputPrice.currencyId;\n let productPrices = [];\n const dbPrice = dbPrices?.find((productPrice) => productPrice.currencyId === currencyId) ?? null;\n const currentPrice = this.getPrice(inputPrice, dbPrice);\n\n if (dbPrices) {\n productPrices = dbPrices.filter((productPrice) => productPrice.currencyId !== currencyId);\n }\n\n productPrices.push(currentPrice);\n\n return productPrices;\n }\n\n getPrice(inputPrice, dbPrice) {\n const dbListPrice = dbPrice?.listPrice;\n const dbRegulationPrice = dbPrice?.regulationPrice;\n let currentPrice = cloneDeep(inputPrice);\n currentPrice = this.formatPrice(currentPrice, dbPrice);\n\n // Set listPrice as the input value if exist, otherwise, set listPrice as the old value in the DB\n if (currentPrice.listPrice) {\n currentPrice.listPrice = this.formatPrice(currentPrice.listPrice, dbListPrice);\n } else if (dbListPrice) {\n currentPrice.listPrice = dbListPrice;\n }\n\n // Set regulationPrice as the input value if exist, otherwise, set regulationPrice as the old value in the DB\n if (currentPrice.regulationPrice) {\n currentPrice.regulationPrice = this.formatPrice(currentPrice.regulationPrice, dbRegulationPrice);\n } else if (dbRegulationPrice) {\n currentPrice.regulationPrice = dbRegulationPrice;\n }\n\n return currentPrice;\n }\n\n formatPrice(price, dbPrice) {\n const preserveFromDb = price.gross === null && price.net === null;\n\n if (price.gross === null) {\n price.linked = false;\n price.gross = dbPrice?.gross ?? 0;\n }\n\n if (price.net === null) {\n price.linked = false;\n price.net = dbPrice?.net ?? 0;\n }\n\n // When both gross and net were null (e.g. listPrice/regulationPrice-only bulk edit),\n // preserve base price semantics (linked) from DB to avoid unintended changes\n if (preserveFromDb && dbPrice?.linked !== undefined) {\n price.linked = dbPrice.linked;\n }\n\n return price;\n }\n\n /**\n * @private\n *\n * Bulk-adding media must append each image after the product's own existing media, so the position is\n * computed per product as the highest existing position + 1, instead of sharing a single value across all\n * selected products. Using the highest existing position (not the count) keeps it collision-free even when\n * a product's positions are non-contiguous, e.g. images at positions 1 and 3 get the new image at 4.\n */\n _getOneToManyRecordDecorator(change, existAssociations) {\n if (change.referenceEntity !== 'product_media' || change.type !== 'add') {\n return null;\n }\n\n const nextPositionByEntity = {};\n this.entityIds.forEach((entityId) => {\n nextPositionByEntity[entityId] = this._maxMediaPosition(existAssociations, change.referenceKey, entityId) + 1;\n });\n\n return (record, entityId) => {\n record.position = nextPositionByEntity[entityId];\n nextPositionByEntity[entityId] += 1;\n };\n }\n\n /**\n * @private\n *\n * Highest media position currently stored for a product, derived from the prefetched associations.\n * Returns -1 when the product has no media yet, so the first appended image starts at position 0.\n */\n _maxMediaPosition(existAssociations, referenceKey, entityId) {\n let maxPosition = -1;\n\n Object.values(existAssociations).forEach((associations) => {\n associations.forEach((association) => {\n if (association[referenceKey] !== entityId) {\n return;\n }\n\n const position = Number.isFinite(association.position) ? association.position : 0;\n\n if (position > maxPosition) {\n maxPosition = position;\n }\n });\n });\n\n return maxPosition;\n }\n}\n\n// eslint-disable-next-line sw-deprecation-rules/private-feature-declarations\nexport default BulkEditProductHandler;\n" +} diff --git a/web/public/bundles/shopware/code/f4714d63926283be709a989caa0708700248833d.json b/web/public/bundles/shopware/code/f4714d63926283be709a989caa0708700248833d.json new file mode 100644 index 00000000..cd2572e1 --- /dev/null +++ b/web/public/bundles/shopware/code/f4714d63926283be709a989caa0708700248833d.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f4714d63926283be709a989caa0708700248833d", + "language": "php", + "path": "src/Core/System/Consent/Log/DatabaseLog.php", + "schema": "codexray.code/1", + "text": " $consentName,\n 'action' => $action->value,\n 'identifier' => $identifier,\n 'actor' => $actor,\n ];\n\n $this->connection->insert('consent_log', [\n 'consent_name' => $consentName,\n 'timestamp' => $this->clock->now()->format(Defaults::STORAGE_DATE_TIME_FORMAT),\n 'message' => \\json_encode($logEntry),\n ]);\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/f4a97c621108f7d2b8b361e899e421ad60dc39fa.json b/web/public/bundles/shopware/code/f4a97c621108f7d2b8b361e899e421ad60dc39fa.json new file mode 100644 index 00000000..9eccfbc1 --- /dev/null +++ b/web/public/bundles/shopware/code/f4a97c621108f7d2b8b361e899e421ad60dc39fa.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f4a97c621108f7d2b8b361e899e421ad60dc39fa", + "language": "typescript", + "path": "src/Administration/Resources/app/administration/src/app/component/meteor-wrapper/mt-tabs/index.ts", + "schema": "codexray.code/1", + "text": "import MtTabs from '@shopware-ag/meteor-component-library/dist/esm/MtTabs';\nimport type { TabItem } from '@shopware-ag/meteor-component-library/dist/esm/MtTabs';\nimport template from './mt-tabs.html.twig';\nimport type { TabItemEntry } from '../../../store/tabs.store';\nimport './mt-tabs.scss';\n\n/**\n * @sw-package framework\n *\n * @private\n * @status ready\n * @description Wrapper component for mt-tabs. Adds the component sections\n * to the slots. Need to be matched with the original mt-tabs component.\n */\nexport default Shopware.Component.wrapComponentConfig({\n template,\n\n components: {\n 'mt-tabs-original': MtTabs,\n },\n\n emits: ['new-item-active'],\n\n props: {\n positionIdentifier: {\n type: String,\n required: true,\n default: null,\n },\n\n defaultItem: {\n type: String,\n required: false,\n default: '',\n },\n\n /**\n * Controls whether extension-provided tabs navigate via the router or render their\n * component section inline. When omitted, the wrapper infers the mode from the\n * surface's own items: route-backed surfaces give their items an `onClick` (route\n * navigation), local-state surfaces do not. An explicit value always wins over the\n * inference. Note: a local surface whose items carry an `onClick` for non-routing\n * reasons (e.g. filtering) must set this to `false` explicitly.\n */\n useRoutesForExtensions: {\n type: Boolean,\n required: false,\n default: undefined,\n },\n\n small: {\n type: Boolean,\n required: false,\n default: false,\n },\n\n vertical: {\n type: Boolean,\n required: false,\n default: false,\n },\n\n items: {\n type: Array as PropType,\n required: true,\n },\n },\n\n data(): {\n activeItem: string;\n } {\n return {\n activeItem: this.defaultItem,\n };\n },\n\n computed: {\n meteorAttributes(): Record {\n const attributes = { ...this.$attrs };\n delete attributes['position-identifier'];\n\n return attributes;\n },\n\n tabExtensions(): TabItemEntry[] {\n return Shopware.Store.get('tabs').tabItems[this.positionIdentifier] ?? [];\n },\n\n activeItemName(): string {\n if (!this.extensionTabsUseRoutes) {\n return this.defaultItem;\n }\n\n const defaultItemExists = this.mergedItems.some((item) => {\n return item.name === this.defaultItem;\n });\n\n if (defaultItemExists) {\n return this.defaultItem;\n }\n\n return (\n this.tabExtensions.find((extension) => {\n return this.defaultItem.endsWith(`.${extension.componentSectionId}`);\n })?.componentSectionId ?? this.defaultItem\n );\n },\n\n extensionTabsUseRoutes(): boolean {\n if (this.$slots.content) {\n return false;\n }\n\n if (typeof this.useRoutesForExtensions === 'boolean') {\n return this.useRoutesForExtensions;\n }\n\n return this.items.some((item) => typeof item.onClick === 'function');\n },\n\n activeTabExtension(): TabItemEntry | undefined {\n return this.tabExtensions.find((extension) => {\n return extension.componentSectionId === this.activeItem;\n });\n },\n\n hasCustomContent(): boolean {\n return Boolean(this.$slots.content || (this.activeTabExtension && !this.extensionTabsUseRoutes));\n },\n\n mergedItems(): TabItem[] {\n const mergedItems: TabItem[] = [\n ...this.items,\n ...this.tabExtensions\n .filter((extension) => extension.visible !== false)\n .map((extension) => {\n const tabItem: TabItem = {\n label: this.$t(extension.label) ?? '',\n name: extension.componentSectionId,\n };\n\n if (this.extensionTabsUseRoutes) {\n tabItem.onClick = () => {\n // Push route to extension.componentSectionId path\n void this.$router.push({\n path: extension.componentSectionId,\n });\n };\n }\n\n return tabItem;\n }),\n ];\n\n return mergedItems;\n },\n },\n\n watch: {\n defaultItem() {\n this.activeItem = this.defaultItem;\n },\n },\n\n methods: {\n onNewItemActive(itemName: string): void {\n this.activeItem = itemName;\n this.$emit('new-item-active', itemName);\n },\n },\n});\n" +} diff --git a/web/public/bundles/shopware/code/f62930fc698231b7bde5eac79746a39aa01a0df2.json b/web/public/bundles/shopware/code/f62930fc698231b7bde5eac79746a39aa01a0df2.json new file mode 100644 index 00000000..178d0b7a --- /dev/null +++ b/web/public/bundles/shopware/code/f62930fc698231b7bde5eac79746a39aa01a0df2.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f62930fc698231b7bde5eac79746a39aa01a0df2", + "language": "php", + "path": "src/Storefront/Theme/Subscriber/UnusedMediaSubscriber.php", + "schema": "codexray.code/1", + "text": " $themeRepository\n */\n public function __construct(\n private readonly EntityRepository $themeRepository,\n private readonly ThemeService $themeService\n ) {\n }\n\n public static function getSubscribedEvents(): array\n {\n return [\n UnusedMediaSearchEvent::class => 'removeUsedMedia',\n ];\n }\n\n public function removeUsedMedia(UnusedMediaSearchEvent $event): void\n {\n if ($event->getUnusedIds() === []) {\n return;\n }\n\n $context = Context::createDefaultContext();\n $allThemeIds = $this->themeRepository->searchIds(new Criteria(), $context)->getIds();\n\n $mediaIds = [];\n foreach ($allThemeIds as $themeId) {\n if (!Feature::isActive('v6.8.0.0')) {\n $config = Feature::silent('v6.8.0.0', function () use ($themeId, $context) {\n return $this->themeService->getThemeConfiguration($themeId, false, $context);\n });\n } else {\n $config = $this->themeService->getPlainThemeConfiguration($themeId, $context);\n }\n\n foreach ($config['fields'] ?? [] as $data) {\n if ($data['type'] === 'media' && $data['value'] && Uuid::isValid($data['value'])) {\n $mediaIds[] = $data['value'];\n }\n }\n }\n\n $event->markAsUsed(array_unique($mediaIds));\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/f75f4d0945199d8775ec92790be25a640c85198f.json b/web/public/bundles/shopware/code/f75f4d0945199d8775ec92790be25a640c85198f.json new file mode 100644 index 00000000..3cc951f0 --- /dev/null +++ b/web/public/bundles/shopware/code/f75f4d0945199d8775ec92790be25a640c85198f.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f75f4d0945199d8775ec92790be25a640c85198f", + "language": "php", + "path": "src/Storefront/Event/RouteRequest/HandlePaymentMethodRouteRequestEvent.php", + "schema": "codexray.code/1", + "text": ";\n privileges?: string[];\n route?: {\n name?: string;\n params?: Record;\n matched?: { name?: string }[];\n meta?: Record;\n };\n routerRoutes?: { name?: string; meta?: { privilege?: string; parentPath?: string } }[] | null;\n};\n\nasync function createWrapper({ props = {}, privileges = [], route = {}, routerRoutes = null }: CreateWrapperOptions = {}) {\n const collectRoutes = (entry?: MenuEntry): MenuEntry[] => {\n if (!entry) {\n return [];\n }\n\n return [...(entry.children ?? []).flatMap((child) => collectRoutes(child)), entry];\n };\n\n const $router = {\n getRoutes: () =>\n routerRoutes ??\n collectRoutes(props.entry)\n .filter((entry) => entry.path)\n .map((entry) => ({\n name: entry.path,\n meta: {\n privilege: entry.privilege,\n },\n })),\n };\n\n const can = (privilege?: string): boolean => {\n if (!privilege) {\n return true;\n }\n\n return privileges.includes(privilege);\n };\n\n const aclService = new AclService();\n\n return mount(await wrapTestComponent('sw-admin-menu-item', { sync: true }), {\n props,\n global: {\n stubs: {\n 'sw-admin-menu-item': await Shopware.Component.build('sw-admin-menu-item'),\n 'router-link': {\n template: '',\n props: ['to'],\n },\n },\n mocks: {\n $route: {\n name: route.name,\n params: route.params ?? {},\n matched: route.matched ?? [],\n meta: { $module: { name: '' }, ...(route.meta ?? {}) },\n },\n $router,\n },\n provide: {\n acl: {\n can,\n // Deliberately unbound, mirroring the runtime provide shape\n // eslint-disable-next-line @typescript-eslint/unbound-method\n hasActiveSettingModules: aclService.hasActiveSettingModules,\n state: (aclService as unknown as { state?: unknown }).state,\n },\n feature: {},\n },\n },\n });\n}\n\n/**\n * @private\n */\nexport default createWrapper;\n" +} diff --git a/web/public/bundles/shopware/code/f91f96767c0bda484c6882d9e792efa122745fe7.json b/web/public/bundles/shopware/code/f91f96767c0bda484c6882d9e792efa122745fe7.json new file mode 100644 index 00000000..d9d6e560 --- /dev/null +++ b/web/public/bundles/shopware/code/f91f96767c0bda484c6882d9e792efa122745fe7.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "f91f96767c0bda484c6882d9e792efa122745fe7", + "language": "php", + "path": "src/Storefront/Theme/AbstractThemePathBuilder.php", + "schema": "codexray.code/1", + "text": "add(\n new ManyToManyAssociationField('themes', ThemeDefinition::class, ThemeSalesChannelDefinition::class, 'sales_channel_id', 'theme_id')\n );\n }\n\n public function getEntityName(): string\n {\n return SalesChannelDefinition::ENTITY_NAME;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/fbb60993de53ea2c0bfc068a3dc1d8305843a6cd.json b/web/public/bundles/shopware/code/fbb60993de53ea2c0bfc068a3dc1d8305843a6cd.json new file mode 100644 index 00000000..d6d981c7 --- /dev/null +++ b/web/public/bundles/shopware/code/fbb60993de53ea2c0bfc068a3dc1d8305843a6cd.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "fbb60993de53ea2c0bfc068a3dc1d8305843a6cd", + "language": "php", + "path": "src/Storefront/Theme/ResolvedConfigLoader.php", + "schema": "codexray.code/1", + "text": " $repository\n */\n public function __construct(\n private readonly EntityRepository $repository,\n private readonly ThemeRuntimeConfigService $runtimeConfigService,\n ) {\n }\n\n public function getDecorated(): AbstractResolvedConfigLoader\n {\n throw new DecorationPatternException(self::class);\n }\n\n public function load(string $themeId, SalesChannelContext $context): array\n {\n $runtimeConfig = $this->runtimeConfigService->getRuntimeConfig($themeId);\n if ($runtimeConfig === null) {\n throw ThemeException::errorLoadingRuntimeConfig($themeId);\n }\n $config = $runtimeConfig->resolvedConfig;\n $resolvedConfig = [];\n $mediaItems = [];\n if (!\\array_key_exists('fields', $config)) {\n return [];\n }\n\n foreach ($config['fields'] as $key => $data) {\n if (isset($data['type']) && $data['type'] === 'media' && $data['value'] && Uuid::isValid($data['value'])) {\n $mediaItems[$data['value']][] = $key;\n }\n $resolvedConfig[$key] = $data['value'];\n }\n\n $result = new MediaCollection();\n\n $mediaIds = array_keys($mediaItems);\n if ($mediaIds !== []) {\n $criteria = (new Criteria($mediaIds))\n ->setTitle('theme-service::resolve-media');\n\n $result = $this->repository->search($criteria, $context->getContext())->getEntities();\n }\n\n foreach ($result as $media) {\n if (!\\array_key_exists($media->getId(), $mediaItems)) {\n continue;\n }\n\n foreach ($mediaItems[$media->getId()] as $key) {\n $resolvedConfig[$key] = $media->getUrl();\n }\n }\n\n return $resolvedConfig;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/fc5dbac4128f85d9db83a90781cf82622ee5406a.json b/web/public/bundles/shopware/code/fc5dbac4128f85d9db83a90781cf82622ee5406a.json new file mode 100644 index 00000000..e9cf06e1 --- /dev/null +++ b/web/public/bundles/shopware/code/fc5dbac4128f85d9db83a90781cf82622ee5406a.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "fc5dbac4128f85d9db83a90781cf82622ee5406a", + "language": "php", + "path": "src/Core/System/Country/SalesChannel/CountryRoute.php", + "schema": "codexray.code/1", + "text": " [StoreApiRouteScope::ID]])]\nclass CountryRoute extends AbstractCountryRoute\n{\n final public const ALL_TAG = 'country-route';\n\n /**\n * @internal\n *\n * @param SalesChannelRepository $countryRepository\n */\n public function __construct(\n private readonly SalesChannelRepository $countryRepository,\n private readonly EventDispatcherInterface $dispatcher,\n private readonly CacheTagCollector $cacheTagCollector,\n private readonly ExtensionDispatcher $extensions,\n ) {\n }\n\n public static function buildName(string $id): string\n {\n return 'country-route-' . $id;\n }\n\n #[Route(\n path: '/store-api/country',\n name: 'store-api.country',\n methods: [Request::METHOD_GET, Request::METHOD_POST],\n defaults: [PlatformRequest::ATTRIBUTE_ENTITY => CountryDefinition::ENTITY_NAME, PlatformRequest::ATTRIBUTE_HTTP_CACHE => true],\n )]\n public function load(Request $request, Criteria $criteria, SalesChannelContext $context): CountryRouteResponse\n {\n return $this->extensions->publish(\n name: CountryRouteExtension::NAME,\n extension: new CountryRouteExtension($request, $criteria, $context),\n function: $this->_load(...),\n );\n }\n\n protected function getDecorated(): AbstractCountryRoute\n {\n throw new DecorationPatternException(self::class);\n }\n\n private function _load(Request $request, Criteria $criteria, SalesChannelContext $context): CountryRouteResponse\n {\n $this->cacheTagCollector->addTag(self::buildName($context->getSalesChannelId()), self::ALL_TAG);\n\n $criteria->setTitle('country-route');\n $criteria->addFilter(new EqualsFilter('active', true));\n\n $this->dispatcher->dispatch(new CountryCriteriaEvent($request, $criteria, $context));\n $result = $this->countryRepository->search($criteria, $context);\n\n return new CountryRouteResponse($result);\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/fd8a3b9f4c06c09ca8222a9b1ef3e1a233d07159.json b/web/public/bundles/shopware/code/fd8a3b9f4c06c09ca8222a9b1ef3e1a233d07159.json new file mode 100644 index 00000000..d0da4e16 --- /dev/null +++ b/web/public/bundles/shopware/code/fd8a3b9f4c06c09ca8222a9b1ef3e1a233d07159.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "fd8a3b9f4c06c09ca8222a9b1ef3e1a233d07159", + "language": "php", + "path": "src/Core/Content/Category/SalesChannel/CategoryListRoute.php", + "schema": "codexray.code/1", + "text": " [StoreApiRouteScope::ID]])]\nclass CategoryListRoute extends AbstractCategoryListRoute\n{\n /**\n * @internal\n *\n * @param SalesChannelRepository $categoryRepository\n */\n public function __construct(private readonly SalesChannelRepository $categoryRepository, private readonly ExtensionDispatcher $extensions)\n {\n }\n\n public function getDecorated(): AbstractCategoryListRoute\n {\n throw new DecorationPatternException(self::class);\n }\n\n #[Route(\n path: '/store-api/category',\n name: 'store-api.category.search',\n methods: [Request::METHOD_GET, Request::METHOD_POST],\n defaults: [PlatformRequest::ATTRIBUTE_ENTITY => CategoryDefinition::ENTITY_NAME, PlatformRequest::ATTRIBUTE_HTTP_CACHE => true],\n )]\n public function load(Criteria $criteria, SalesChannelContext $context): CategoryListRouteResponse\n {\n return $this->extensions->publish(\n name: CategoryListRouteExtension::NAME,\n extension: new CategoryListRouteExtension($criteria, $context),\n function: $this->_load(...),\n );\n }\n\n private function _load(Criteria $criteria, SalesChannelContext $context): CategoryListRouteResponse\n {\n $rootIds = array_filter([\n $context->getSalesChannel()->getNavigationCategoryId(),\n $context->getSalesChannel()->getFooterCategoryId(),\n $context->getSalesChannel()->getServiceCategoryId(),\n ]);\n\n if ($rootIds !== []) {\n $filter = new OrFilter();\n\n foreach ($rootIds as $rootId) {\n $filter->addQuery(new EqualsFilter('id', $rootId));\n $filter->addQuery(new ContainsFilter('path', '|' . $rootId . '|'));\n }\n\n $criteria->addFilter($filter);\n }\n\n return new CategoryListRouteResponse($this->categoryRepository->search($criteria, $context));\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/fe6569273d7cddfc248a64a52987ad5acd1f2b69.json b/web/public/bundles/shopware/code/fe6569273d7cddfc248a64a52987ad5acd1f2b69.json new file mode 100644 index 00000000..35da3ece --- /dev/null +++ b/web/public/bundles/shopware/code/fe6569273d7cddfc248a64a52987ad5acd1f2b69.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "fe6569273d7cddfc248a64a52987ad5acd1f2b69", + "language": "php", + "path": "src/Storefront/Page/Account/Login/AccountLoginPageLoadedEvent.php", + "schema": "codexray.code/1", + "text": "page;\n }\n}\n" +} diff --git a/web/public/bundles/shopware/code/ff5fce04013247c72facdc725bdaf51da4f21f42.json b/web/public/bundles/shopware/code/ff5fce04013247c72facdc725bdaf51da4f21f42.json new file mode 100644 index 00000000..b747a16e --- /dev/null +++ b/web/public/bundles/shopware/code/ff5fce04013247c72facdc725bdaf51da4f21f42.json @@ -0,0 +1,7 @@ +{ + "blob_sha": "ff5fce04013247c72facdc725bdaf51da4f21f42", + "language": "php", + "path": "src/Storefront/Theme/Controller/ThemeController.php", + "schema": "codexray.code/1", + "text": " [ApiRouteScope::ID]])]\nclass ThemeController extends AbstractController\n{\n /**\n * @internal\n *\n * @param array $customAllowedRegex\n */\n public function __construct(\n private readonly ThemeService $themeService,\n private readonly AbstractScssCompiler $scssCompiler,\n private readonly Connection $connection,\n private readonly ThemeRuntimeConfigService $themeRuntimeConfigService,\n private readonly array $customAllowedRegex = []\n ) {\n }\n\n /**\n * Retrieves the configuration for a specific theme.\n *\n * This endpoint returns the theme configuration including all configurable fields,\n * their current values, and metadata.\n *\n * @param string $themeId The unique identifier of the theme\n * @param Context $context The application context containing user and system information\n *\n * @return JsonResponse Returns a JSON response containing the theme configuration\n */\n #[Route(path: '/api/_action/theme/{themeId}/configuration', name: 'api.action.theme.configuration', methods: ['GET'])]\n public function configuration(string $themeId, Context $context): JsonResponse\n {\n if (!Feature::isActive('v6.8.0.0')) {\n $themeConfiguration = Feature::silent('v6.8.0.0', function () use ($themeId, $context) {\n return $this->themeService->getThemeConfiguration($themeId, true, $context);\n });\n\n return new JsonResponse($themeConfiguration);\n }\n\n $themeConfiguration = $this->themeService->getPlainThemeConfiguration($themeId, $context);\n\n return new JsonResponse($themeConfiguration);\n }\n\n /**\n * Updates the configuration of a specific theme.\n *\n * This endpoint allows updating theme configuration values.\n * If the reset parameter is provided, the theme will be reset\n * to its default configuration before applying any new values.\n * If the validate parameter is provided, the theme config will be validated before updating the theme.\n * If the sanitize parameter is provided, the theme config will be sanitized during validation.\n *\n * @param string $themeId The unique identifier of the theme to update\n * @param Request $request The HTTP request containing configuration data\n * @param Context $context The application context containing user and system information\n *\n * @return JsonResponse Returns an empty JSON response on successful update\n */\n #[Route(path: '/api/_action/theme/{themeId}', name: 'api.action.theme.update', methods: ['PATCH'])]\n public function updateTheme(string $themeId, Request $request, Context $context): JsonResponse\n {\n $config = $request->request->all('config');\n\n $validateConfig = $request->query->getBoolean('validate', false);\n\n // Validate the theme config before updating the theme.\n if ($validateConfig) {\n $config = $this->themeService->validateThemeConfig(\n $themeId,\n $config,\n $context,\n $this->customAllowedRegex,\n $request->query->getBoolean('sanitize', false)\n );\n }\n\n $parentThemeId = (string) $request->request->get('parentThemeId');\n\n if (!$request->query->getBoolean('reset')) {\n $this->themeService->updateTheme($themeId, $config, $parentThemeId, $context);\n\n return new JsonResponse([]);\n }\n\n // Reset and value write are committed together, so a failing save keeps the saved config.\n try {\n RetryableTransaction::transactional($this->connection, function () use ($themeId, $config, $parentThemeId, $context): void {\n $this->themeService->resetTheme($themeId, $context);\n $context->state(\n fn () => $this->themeService->updateTheme($themeId, $config, $parentThemeId, $context),\n ThemeService::STATE_SKIP_COMPILE\n );\n });\n } catch (\\Throwable $e) {\n // The rollback restores the stored runtime config, but not the copies the reset cached in memory.\n $this->themeRuntimeConfigService->resetCaches();\n\n throw $e;\n }\n\n // Compiling after the commit, so an async compile never reads the uncommitted config.\n $this->themeService->compileThemeById($themeId, $context, null, false);\n\n return new JsonResponse([]);\n }\n\n /**\n * Assigns a theme to a specific sales channel.\n *\n * This endpoint links a theme to a sales channel, making it the active theme\n * for that channel. This determines the visual appearance and styling of the\n * storefront for customers visiting that sales channel. Only one theme can be\n * active per sales channel at a time.\n *\n * @param string $themeId The unique identifier of the theme to assign\n * @param string $salesChannelId The unique identifier of the sales channel\n * @param Context $context The application context containing user and system information\n *\n * @return JsonResponse Returns an empty JSON response on successful assignment\n */\n #[Route(path: '/api/_action/theme/{themeId}/assign/{salesChannelId}', name: 'api.action.theme.assign', methods: ['POST'])]\n public function assignTheme(string $themeId, string $salesChannelId, Context $context): JsonResponse\n {\n // Defer the switch until compilation finished so the storefront is never left without CSS.\n $context->addState(ThemeService::STATE_DEFER_ASSIGNMENT);\n $this->themeService->assignTheme($themeId, $salesChannelId, $context);\n\n return new JsonResponse([]);\n }\n\n /**\n * Resets a theme to its default configuration.\n *\n * This endpoint reverts all custom theme configuration values back to their\n * default settings as defined in the theme's configuration files. This is useful\n * when you want to start fresh with theme customization or when troubleshooting\n * theme-related issues.\n *\n * @param string $themeId The unique identifier of the theme to reset\n * @param Context $context The application context containing user and system information\n *\n * @return JsonResponse Returns an empty JSON response on successful reset\n */\n #[Route(path: '/api/_action/theme/{themeId}/reset', name: 'api.action.theme.reset', methods: ['PATCH'])]\n public function resetTheme(string $themeId, Context $context): JsonResponse\n {\n $this->themeService->resetTheme($themeId, $context);\n\n return new JsonResponse([]);\n }\n\n /**\n * Retrieves the structured field configuration for a theme.\n *\n * This endpoint returns the theme configuration organized in a structured format\n * that includes field grouping, dependencies, and metadata. This is particularly\n * useful for building theme configuration interfaces in the administration panel.\n * The response format differs based on the Shopware version for backward compatibility.\n *\n * @param string $themeId The unique identifier of the theme\n * @param Context $context The application context containing user and system information\n *\n * @return JsonResponse Returns a JSON response containing the structured field configuration\n */\n #[Route(path: '/api/_action/theme/{themeId}/structured-fields', name: 'api.action.theme.structuredFields', methods: ['GET'])]\n public function structuredFields(string $themeId, Context $context): JsonResponse\n {\n if (!Feature::isActive('v6.8.0.0')) {\n $themeConfiguration = Feature::silent('v6.8.0.0', function () use ($themeId, $context) {\n return $this->themeService->getThemeConfigurationStructuredFields($themeId, true, $context);\n });\n\n return new JsonResponse($themeConfiguration);\n }\n\n $themeConfiguration = $this->themeService->getThemeConfigurationFieldStructure($themeId, $context);\n\n return new JsonResponse($themeConfiguration);\n }\n\n /**\n * Validates theme configuration field values.\n *\n * This endpoint validates theme configuration values against their defined types\n * and constraints. It performs SCSS validation for color values, typography settings,\n * and other theme-specific fields. This is typically used in the administration\n * panel to provide real-time validation feedback when users are configuring themes.\n *\n * @param Request $request The HTTP request containing the fields to validate\n *\n * @return JsonResponse Returns an empty JSON response if validation passes, or validation errors\n */\n #[Route(path: '/api/_action/theme/validate-fields', name: 'api.action.theme.validate', methods: ['POST'])]\n public function validateVariables(Request $request): JsonResponse\n {\n $fields = $request->request->all('fields');\n\n $themeConfigException = new ThemeConfigException();\n\n foreach ($fields as $data) {\n // if no type is set just use the value and continue\n if (!isset($data['type'])) {\n continue;\n }\n\n try {\n $data['value'] = SCSSValidator::validate($this->scssCompiler, $data, $this->customAllowedRegex);\n } catch (\\Throwable $exception) {\n $themeConfigException->add($exception);\n }\n }\n\n $themeConfigException->tryToThrow();\n\n return new JsonResponse([]);\n }\n}\n" +} diff --git a/web/public/bundles/shopware/findings.json b/web/public/bundles/shopware/findings.json index 523a4631..64b6ed2b 100644 --- a/web/public/bundles/shopware/findings.json +++ b/web/public/bundles/shopware/findings.json @@ -703,7 +703,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -1490,7 +1490,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -2268,7 +2268,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -2482,7 +2482,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -2704,7 +2704,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -2964,7 +2964,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -3181,7 +3181,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -3445,7 +3445,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -3667,7 +3667,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -3863,7 +3863,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -4645,7 +4645,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -5654,7 +5654,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -6442,7 +6442,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -7217,7 +7217,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -7992,7 +7992,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -8766,7 +8766,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -9544,7 +9544,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -10318,7 +10318,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -11093,7 +11093,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -11875,7 +11875,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -12650,7 +12650,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -13424,7 +13424,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -14202,7 +14202,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -14401,7 +14401,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -15175,7 +15175,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -15952,7 +15952,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -16731,7 +16731,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -17506,7 +17506,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -18280,7 +18280,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -18928,7 +18928,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -19703,7 +19703,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -19902,7 +19902,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -20541,7 +20541,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -21317,7 +21317,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -22093,7 +22093,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -22869,7 +22869,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -23336,7 +23336,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -23535,7 +23535,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -24310,7 +24310,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -24858,7 +24858,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -25575,7 +25575,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -26267,7 +26267,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -26466,7 +26466,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -27013,7 +27013,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -27554,7 +27554,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -28065,7 +28065,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -28590,7 +28590,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -29032,7 +29032,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -29231,7 +29231,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -29430,7 +29430,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -30099,7 +30099,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -30707,7 +30707,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -31277,7 +31277,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -31495,7 +31495,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -32023,7 +32023,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -32221,7 +32221,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -32424,7 +32424,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -32623,7 +32623,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -32822,7 +32822,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -33369,7 +33369,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -33906,7 +33906,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -34138,7 +34138,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -34341,7 +34341,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -34711,7 +34711,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -35210,7 +35210,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -35720,7 +35720,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -36254,7 +36254,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -36694,7 +36694,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -37085,7 +37085,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -37284,7 +37284,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -37483,7 +37483,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -37933,7 +37933,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -38196,7 +38196,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -38399,7 +38399,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -38598,7 +38598,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -38816,7 +38816,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -39034,7 +39034,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -39252,7 +39252,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -39451,7 +39451,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -39669,7 +39669,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -40109,7 +40109,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -40538,7 +40538,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -41036,7 +41036,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -41498,7 +41498,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -41929,7 +41929,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -42127,7 +42127,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -42349,7 +42349,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -42567,7 +42567,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -43031,7 +43031,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -43229,7 +43229,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -43683,7 +43683,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -44207,7 +44207,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -44429,7 +44429,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -44692,7 +44692,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -44914,7 +44914,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -45522,7 +45522,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -45855,7 +45855,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -46224,7 +46224,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -46555,7 +46555,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -46751,7 +46751,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -46953,7 +46953,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -47156,7 +47156,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -47374,7 +47374,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -47592,7 +47592,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -47949,7 +47949,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -48185,7 +48185,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -48382,7 +48382,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -48604,7 +48604,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -48822,7 +48822,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -49167,7 +49167,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -49526,7 +49526,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -49725,7 +49725,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -50075,7 +50075,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -50409,7 +50409,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -50885,7 +50885,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -51088,7 +51088,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -51287,7 +51287,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -51505,7 +51505,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -52072,7 +52072,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -52305,7 +52305,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -52569,7 +52569,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -52785,7 +52785,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -52988,7 +52988,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -53206,7 +53206,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -53424,7 +53424,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -53802,7 +53802,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -54135,7 +54135,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -54526,7 +54526,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -54755,7 +54755,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -54977,7 +54977,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -55307,7 +55307,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -55758,7 +55758,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -56088,7 +56088,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -56466,7 +56466,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -56684,7 +56684,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -56902,7 +56902,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -57120,7 +57120,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -57475,7 +57475,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -57830,7 +57830,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -58008,7 +58008,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -58341,7 +58341,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -58563,7 +58563,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -58989,7 +58989,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -59188,7 +59188,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -59406,7 +59406,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -59624,7 +59624,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -59841,7 +59841,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -60044,7 +60044,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -60243,7 +60243,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -60442,7 +60442,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -60660,7 +60660,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -60872,7 +60872,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -61094,7 +61094,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -61312,7 +61312,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -61530,7 +61530,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -61748,7 +61748,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -62078,7 +62078,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -62273,7 +62273,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -62476,7 +62476,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -62694,7 +62694,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -62912,7 +62912,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -63130,7 +63130,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -63348,7 +63348,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -63566,7 +63566,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -63784,7 +63784,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -64114,7 +64114,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -64292,7 +64292,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -64491,7 +64491,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -64713,7 +64713,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -64931,7 +64931,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -65107,7 +65107,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -65301,7 +65301,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -65493,7 +65493,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -65685,7 +65685,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -65877,7 +65877,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -66076,7 +66076,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -66258,7 +66258,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -66480,7 +66480,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, @@ -66698,7 +66698,7 @@ }, "run": { "end_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "snapshot_date": "2026-11-27", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d" }, diff --git a/web/public/bundles/shopware/index.json b/web/public/bundles/shopware/index.json index 8b9f17c1..f15d777f 100644 --- a/web/public/bundles/shopware/index.json +++ b/web/public/bundles/shopware/index.json @@ -9,7 +9,7 @@ "report": "report.json" }, "host_url": "https://github.com/shopware/shopware", - "params_hash": "80db6d3a01863978e1ff235f4d2f5bdd2a37fc93424cb17609af220fbaaf46e0", + "params_hash": "3efcc3126ee6ae4dabcfccdaf34b32aae6ffdbc60a30378667a18bc15552c2dc", "repo": "shopware/shopware", "repo_id": "shopware", "schema": "codexray.bundle/1", diff --git a/web/public/bundles/shopware/map.json b/web/public/bundles/shopware/map.json index b00611d0..a66ca7c2 100644 --- a/web/public/bundles/shopware/map.json +++ b/web/public/bundles/shopware/map.json @@ -876,6 +876,90 @@ "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 6 + }, + { + "blob_sha": "bedac6b16d04cef291f6fb06464ba4cd98d000e0", + "commits": [], + "end_line": 7, + "id": "E4", + "kind": "lines", + "path": ".danger.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "bedac6b16d04cef291f6fb06464ba4cd98d000e0", + "commits": [], + "end_line": 8, + "id": "E5", + "kind": "lines", + "path": ".danger.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "bedac6b16d04cef291f6fb06464ba4cd98d000e0", + "commits": [], + "end_line": 9, + "id": "E6", + "kind": "lines", + "path": ".danger.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "bedac6b16d04cef291f6fb06464ba4cd98d000e0", + "commits": [], + "end_line": 10, + "id": "E7", + "kind": "lines", + "path": ".danger.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 10 + }, + { + "blob_sha": "bedac6b16d04cef291f6fb06464ba4cd98d000e0", + "commits": [], + "end_line": 11, + "id": "E8", + "kind": "lines", + "path": ".danger.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 11 + }, + { + "blob_sha": "bedac6b16d04cef291f6fb06464ba4cd98d000e0", + "commits": [], + "end_line": 12, + "id": "E9", + "kind": "lines", + "path": ".danger.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 12 + }, + { + "blob_sha": "bedac6b16d04cef291f6fb06464ba4cd98d000e0", + "commits": [], + "end_line": 13, + "id": "E10", + "kind": "lines", + "path": ".danger.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 13 } ], "src": "M:(root)" @@ -922,6 +1006,90 @@ "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 8 + }, + { + "blob_sha": "0d641978cb78493253b80c064f0b1000334b5b8c", + "commits": [], + "end_line": 8, + "id": "E4", + "kind": "lines", + "path": "config/services_test.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "0d641978cb78493253b80c064f0b1000334b5b8c", + "commits": [], + "end_line": 9, + "id": "E5", + "kind": "lines", + "path": "config/services_test.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "0d641978cb78493253b80c064f0b1000334b5b8c", + "commits": [], + "end_line": 10, + "id": "E6", + "kind": "lines", + "path": "config/services_test.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 10 + }, + { + "blob_sha": "bef0d50ae06bf0359b63ac17c3f15175991e7b59", + "commits": [], + "end_line": 4, + "id": "E7", + "kind": "lines", + "path": "custom/scripts/boot/boot.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + }, + { + "blob_sha": "bef0d50ae06bf0359b63ac17c3f15175991e7b59", + "commits": [], + "end_line": 5, + "id": "E8", + "kind": "lines", + "path": "custom/scripts/boot/boot.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "bef0d50ae06bf0359b63ac17c3f15175991e7b59", + "commits": [], + "end_line": 6, + "id": "E9", + "kind": "lines", + "path": "custom/scripts/boot/boot.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "b5115baeb4b8e5d00bcf4733b79fe8c7a421238c", + "commits": [], + "end_line": 9, + "id": "E10", + "kind": "lines", + "path": "custom/scripts/examples/cart-usage.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 } ], "src": "M:(root)" @@ -1036,11867 +1204,21081 @@ "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 18 - } - ], - "src": "M:src/Administration" - }, - { - "count": 9, - "dst": "M:src/Core/Checkout", - "how": "import-path", - "id": "M:src/Administration->M:src/Core/Checkout", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "dacf7f73dee932a7d24712759158ecca526cafe7", + "blob_sha": "54d8f329581fe3ddf53d6e20bed507708d4b2dad", "commits": [], - "end_line": 13, - "id": "E1", + "end_line": 9, + "id": "E4", "kind": "lines", - "path": "src/Administration/Controller/AdministrationController.php", + "path": "src/Administration/Controller/AdminTagController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 13 + "start_line": 9 }, { "blob_sha": "dacf7f73dee932a7d24712759158ecca526cafe7", "commits": [], - "end_line": 14, - "id": "E2", + "end_line": 17, + "id": "E5", "kind": "lines", "path": "src/Administration/Controller/AdministrationController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 14 + "start_line": 17 }, { "blob_sha": "dacf7f73dee932a7d24712759158ecca526cafe7", "commits": [], - "end_line": 15, - "id": "E3", + "end_line": 34, + "id": "E6", "kind": "lines", "path": "src/Administration/Controller/AdministrationController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 15 - } - ], - "src": "M:src/Administration" - }, - { - "count": 7, - "dst": "M:src/Core/Content", - "how": "import-path", - "id": "M:src/Administration->M:src/Core/Content", - "kind": "uses", - "refs": [ + "start_line": 34 + }, { - "blob_sha": "fdb3e195468c88bf7c899205e531b46c201c0844", + "blob_sha": "587987e27ef3a0fa115933baa9c598a25a3079aa", "commits": [], - "end_line": 6, - "id": "E1", + "end_line": 9, + "id": "E7", "kind": "lines", - "path": "src/Administration/Controller/AdminProductStreamController.php", + "path": "src/Administration/Controller/DashboardController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 9 }, { - "blob_sha": "fdb3e195468c88bf7c899205e531b46c201c0844", + "blob_sha": "14254088c7e3fed88e3d2803bf8c51533b9171bc", "commits": [], - "end_line": 7, - "id": "E2", + "end_line": 8, + "id": "E8", "kind": "lines", - "path": "src/Administration/Controller/AdminProductStreamController.php", + "path": "src/Administration/Controller/UserConfigController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 8 }, { - "blob_sha": "fdb3e195468c88bf7c899205e531b46c201c0844", + "blob_sha": "14254088c7e3fed88e3d2803bf8c51533b9171bc", "commits": [], - "end_line": 8, - "id": "E3", + "end_line": 20, + "id": "E9", "kind": "lines", - "path": "src/Administration/Controller/AdminProductStreamController.php", + "path": "src/Administration/Controller/UserConfigController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 8 + "start_line": 20 + }, + { + "blob_sha": "6cf21c498aaaf50e1c20ef30baa2bcc06d49360d", + "commits": [], + "end_line": 9, + "id": "E10", + "kind": "lines", + "path": "src/Administration/Dashboard/OrderAmountService.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 } ], "src": "M:src/Administration" }, { - "count": 204, - "dst": "M:src/Core/Framework", + "count": 9, + "dst": "M:src/Core/Checkout", "how": "import-path", - "id": "M:src/Administration->M:src/Core/Framework", + "id": "M:src/Administration->M:src/Core/Checkout", "kind": "uses", "refs": [ { - "blob_sha": "9e3f76908bc00136d1d64cac0d7874f8eb58e16a", + "blob_sha": "dacf7f73dee932a7d24712759158ecca526cafe7", "commits": [], - "end_line": 7, + "end_line": 13, "id": "E1", "kind": "lines", - "path": "src/Administration/Administration.php", + "path": "src/Administration/Controller/AdministrationController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 13 }, { - "blob_sha": "9e3f76908bc00136d1d64cac0d7874f8eb58e16a", + "blob_sha": "dacf7f73dee932a7d24712759158ecca526cafe7", "commits": [], - "end_line": 8, + "end_line": 14, "id": "E2", "kind": "lines", - "path": "src/Administration/Administration.php", + "path": "src/Administration/Controller/AdministrationController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 8 + "start_line": 14 }, { - "blob_sha": "9e3f76908bc00136d1d64cac0d7874f8eb58e16a", + "blob_sha": "dacf7f73dee932a7d24712759158ecca526cafe7", "commits": [], - "end_line": 9, + "end_line": 15, "id": "E3", "kind": "lines", - "path": "src/Administration/Administration.php", + "path": "src/Administration/Controller/AdministrationController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 9 - } - ], - "src": "M:src/Administration" - }, - { - "count": 2, - "dst": "M:src/Core/Maintenance", - "how": "import-path", - "id": "M:src/Administration->M:src/Core/Maintenance", - "kind": "uses", - "refs": [ + "start_line": 15 + }, { - "blob_sha": "82a4832a1a0838032c185cda070911698b5d869a", + "blob_sha": "dacf7f73dee932a7d24712759158ecca526cafe7", "commits": [], - "end_line": 12, - "id": "E1", + "end_line": 16, + "id": "E4", "kind": "lines", - "path": "src/Administration/Framework/App/Subscriber/SystemLanguageChangedSubscriber.php", + "path": "src/Administration/Controller/AdministrationController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 12 + "start_line": 16 }, { - "blob_sha": "82a4832a1a0838032c185cda070911698b5d869a", + "blob_sha": "6cf21c498aaaf50e1c20ef30baa2bcc06d49360d", "commits": [], - "end_line": 13, - "id": "E2", + "end_line": 6, + "id": "E5", "kind": "lines", - "path": "src/Administration/Framework/App/Subscriber/SystemLanguageChangedSubscriber.php", + "path": "src/Administration/Dashboard/OrderAmountService.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 13 - } - ], - "src": "M:src/Administration" - }, - { - "count": 4, - "dst": "M:src/Core/Migration", - "how": "import-path", - "id": "M:src/Administration->M:src/Core/Migration", - "kind": "uses", - "refs": [ + "start_line": 6 + }, { - "blob_sha": "dacf7f73dee932a7d24712759158ecca526cafe7", + "blob_sha": "6cf21c498aaaf50e1c20ef30baa2bcc06d49360d", "commits": [], - "end_line": 278, - "id": "E1", + "end_line": 7, + "id": "E6", "kind": "lines", - "path": "src/Administration/Controller/AdministrationController.php", + "path": "src/Administration/Dashboard/OrderAmountService.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 278 + "start_line": 7 }, { - "blob_sha": "dacf7f73dee932a7d24712759158ecca526cafe7", + "blob_sha": "6cf21c498aaaf50e1c20ef30baa2bcc06d49360d", "commits": [], - "end_line": 282, - "id": "E2", + "end_line": 8, + "id": "E7", "kind": "lines", - "path": "src/Administration/Controller/AdministrationController.php", + "path": "src/Administration/Dashboard/OrderAmountService.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 282 + "start_line": 8 }, { - "blob_sha": "f50a6bb39043a6eeb34a10588521dd6b24de2e00", + "blob_sha": "6fd4fd8cc48d48f22dcec56afe9003cad92a5c7b", "commits": [], - "end_line": 8, - "id": "E3", + "end_line": 32, + "id": "E8", "kind": "lines", - "path": "src/Administration/Migration/V6_7/Migration1757057005MailTemplate.php", + "path": "src/Administration/DependencyInjection/services.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 8 + "start_line": 32 + }, + { + "blob_sha": "6fd4fd8cc48d48f22dcec56afe9003cad92a5c7b", + "commits": [], + "end_line": 33, + "id": "E9", + "kind": "lines", + "path": "src/Administration/DependencyInjection/services.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 33 } ], "src": "M:src/Administration" }, { - "count": 29, - "dst": "M:src/Core/System", + "count": 7, + "dst": "M:src/Core/Content", "how": "import-path", - "id": "M:src/Administration->M:src/Core/System", + "id": "M:src/Administration->M:src/Core/Content", "kind": "uses", "refs": [ { "blob_sha": "fdb3e195468c88bf7c899205e531b46c201c0844", "commits": [], - "end_line": 17, + "end_line": 6, "id": "E1", "kind": "lines", "path": "src/Administration/Controller/AdminProductStreamController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 17 + "start_line": 6 }, { "blob_sha": "fdb3e195468c88bf7c899205e531b46c201c0844", "commits": [], - "end_line": 18, + "end_line": 7, "id": "E2", "kind": "lines", "path": "src/Administration/Controller/AdminProductStreamController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 18 + "start_line": 7 }, { "blob_sha": "fdb3e195468c88bf7c899205e531b46c201c0844", "commits": [], - "end_line": 19, + "end_line": 8, "id": "E3", "kind": "lines", "path": "src/Administration/Controller/AdminProductStreamController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 19 - } - ], - "src": "M:src/Administration" - }, - { - "count": 3, - "dst": "M:src/Administration/Resources/app/administration/build", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/(root)->M:src/Administration/Resources/app/administration/build", - "kind": "uses", - "refs": [ + "start_line": 8 + }, { - "blob_sha": "6e438a08f61268885be1c56121e53802a2787dc2", + "blob_sha": "fdb3e195468c88bf7c899205e531b46c201c0844", "commits": [], - "end_line": 6, - "id": "E1", + "end_line": 9, + "id": "E4", "kind": "lines", - "path": "src/Administration/Resources/app/administration/build.ts", + "path": "src/Administration/Controller/AdminProductStreamController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 9 }, { - "blob_sha": "6e438a08f61268885be1c56121e53802a2787dc2", + "blob_sha": "fdb3e195468c88bf7c899205e531b46c201c0844", "commits": [], - "end_line": 8, - "id": "E2", + "end_line": 10, + "id": "E5", "kind": "lines", - "path": "src/Administration/Resources/app/administration/build.ts", + "path": "src/Administration/Controller/AdminProductStreamController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 8 + "start_line": 10 }, { - "blob_sha": "6e438a08f61268885be1c56121e53802a2787dc2", + "blob_sha": "6fd4fd8cc48d48f22dcec56afe9003cad92a5c7b", "commits": [], - "end_line": 7, - "id": "E3", + "end_line": 34, + "id": "E6", "kind": "lines", - "path": "src/Administration/Resources/app/administration/build.ts", + "path": "src/Administration/DependencyInjection/services.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 34 + }, + { + "blob_sha": "6fd4fd8cc48d48f22dcec56afe9003cad92a5c7b", + "commits": [], + "end_line": 35, + "id": "E7", + "kind": "lines", + "path": "src/Administration/DependencyInjection/services.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 35 } ], - "src": "M:src/Administration/Resources/app/administration/(root)" + "src": "M:src/Administration" }, { - "count": 2, - "dst": "M:src/Administration/Resources/app/administration/extension-tooling", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/(root)->M:src/Administration/Resources/app/administration/extension-tooling", + "count": 204, + "dst": "M:src/Core/Framework", + "how": "import-path", + "id": "M:src/Administration->M:src/Core/Framework", "kind": "uses", "refs": [ { - "blob_sha": "c58c22e1de430fa67c040549387124b4fcd2d3bb", + "blob_sha": "9e3f76908bc00136d1d64cac0d7874f8eb58e16a", "commits": [], - "end_line": 20, + "end_line": 7, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/_jest.config.ts", + "path": "src/Administration/Administration.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 20 + "start_line": 7 }, { - "blob_sha": "f13ca77246d17b907ebe3085648f0be67567334b", + "blob_sha": "9e3f76908bc00136d1d64cac0d7874f8eb58e16a", "commits": [], - "end_line": 35, + "end_line": 8, "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/eslint.config.ts", + "path": "src/Administration/Administration.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 35 - } - ], - "src": "M:src/Administration/Resources/app/administration/(root)" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/scripts/(root)", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/(root)->M:src/Administration/Resources/app/administration/scripts/(root)", - "kind": "uses", - "refs": [ + "start_line": 8 + }, { - "blob_sha": "c58c22e1de430fa67c040549387124b4fcd2d3bb", + "blob_sha": "9e3f76908bc00136d1d64cac0d7874f8eb58e16a", "commits": [], - "end_line": 21, - "id": "E1", + "end_line": 9, + "id": "E3", "kind": "lines", - "path": "src/Administration/Resources/app/administration/_jest.config.ts", + "path": "src/Administration/Administration.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 21 - } - ], - "src": "M:src/Administration/Resources/app/administration/(root)" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/eslint-rules/deprecation-rules", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/build->M:src/Administration/Resources/app/administration/eslint-rules/deprecation-rules", - "kind": "uses", - "refs": [ + "start_line": 9 + }, { - "blob_sha": "3f0922248de4d5402d572e8dd38aa96a36af4a8b", + "blob_sha": "12e91401e84d51a6bf5be13b8637df7ffb1ff62a", "commits": [], - "end_line": 7, - "id": "E1", + "end_line": 6, + "id": "E4", "kind": "lines", - "path": "src/Administration/Resources/app/administration/build/vite-plugins/extglob-compat/index.ts", + "path": "src/Administration/Command/AbstractExtensionToolingCommand.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 - } - ], - "src": "M:src/Administration/Resources/app/administration/build" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/core", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/build->M:src/Administration/Resources/app/administration/src/core", - "kind": "uses", - "refs": [ + "start_line": 6 + }, { - "blob_sha": "3439bc52350573bcd399ea971d01b5ea30d275ab", + "blob_sha": "e5689c09c4af5ef53448711ee21a6acee3d884a1", "commits": [], - "end_line": 8, - "id": "E1", + "end_line": 5, + "id": "E5", "kind": "lines", - "path": "src/Administration/Resources/app/administration/build/vite-plugins/virtual-shopware-modules/definitions.ts", + "path": "src/Administration/Command/CheckExtensionsCommand.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 8 - } - ], - "src": "M:src/Administration/Resources/app/administration/build" - }, - { - "count": 1, - "dst": "M:.github/bin/js", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/build/vite-8->M:.github/bin/js", - "kind": "uses", - "refs": [ + "start_line": 5 + }, { - "blob_sha": "3ba6c696ee6e14dad6dc5fa8f211d5ad9cd38345", + "blob_sha": "b845d9594ae7f819552f46cc759a9b5e8c52a03c", "commits": [], - "end_line": 2, - "id": "E1", + "end_line": 6, + "id": "E6", "kind": "lines", - "path": "src/Administration/Resources/app/administration/build/vite-8/scripts/runNpmAudit.ts", + "path": "src/Administration/Command/DeleteAdminFilesAfterBuildCommand.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 2 - } - ], - "src": "M:src/Administration/Resources/app/administration/build/vite-8" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/(root)", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/extension-tooling->M:src/Administration/Resources/app/administration/src/(root)", - "kind": "uses", - "refs": [ + "start_line": 6 + }, { - "blob_sha": "a9fc35f9671fe0c170d53691af6688262d6f16ae", + "blob_sha": "ad2be5a9cd569b0c0dff48e13d43695554dffe85", "commits": [], - "end_line": 19, - "id": "E1", + "end_line": 5, + "id": "E7", "kind": "lines", - "path": "src/Administration/Resources/app/administration/extension-tooling/admin-types.d.ts", + "path": "src/Administration/Command/DeleteExtensionLocalPublicFilesCommand.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 19 - } - ], - "src": "M:src/Administration/Resources/app/administration/extension-tooling" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/module/sw-extension", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/extension-tooling->M:src/Administration/Resources/app/administration/src/module/sw-extension", - "kind": "uses", - "refs": [ + "start_line": 5 + }, { - "blob_sha": "a9fc35f9671fe0c170d53691af6688262d6f16ae", + "blob_sha": "ad2be5a9cd569b0c0dff48e13d43695554dffe85", "commits": [], - "end_line": 35, - "id": "E1", + "end_line": 6, + "id": "E8", "kind": "lines", - "path": "src/Administration/Resources/app/administration/extension-tooling/admin-types.d.ts", + "path": "src/Administration/Command/DeleteExtensionLocalPublicFilesCommand.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 35 - } - ], - "src": "M:src/Administration/Resources/app/administration/extension-tooling" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/module/sw-flow", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/extension-tooling->M:src/Administration/Resources/app/administration/src/module/sw-flow", - "kind": "uses", - "refs": [ + "start_line": 6 + }, { - "blob_sha": "a9fc35f9671fe0c170d53691af6688262d6f16ae", + "blob_sha": "61aabf2b4d4d8db322ba45a0e81b889623634d6b", "commits": [], - "end_line": 34, - "id": "E1", + "end_line": 6, + "id": "E9", "kind": "lines", - "path": "src/Administration/Resources/app/administration/extension-tooling/admin-types.d.ts", + "path": "src/Administration/Command/GenerateEntitySchemaTypesCommand.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 34 - } - ], - "src": "M:src/Administration/Resources/app/administration/extension-tooling" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/module/sw-settings-services", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/extension-tooling->M:src/Administration/Resources/app/administration/src/module/sw-settings-services", - "kind": "uses", - "refs": [ + "start_line": 6 + }, { - "blob_sha": "a9fc35f9671fe0c170d53691af6688262d6f16ae", + "blob_sha": "a66e2f954d91e3fcf598530e15c9339b4c958ceb", "commits": [], - "end_line": 36, - "id": "E1", + "end_line": 5, + "id": "E10", "kind": "lines", - "path": "src/Administration/Resources/app/administration/extension-tooling/admin-types.d.ts", + "path": "src/Administration/Command/SetupExtensionToolingCommand.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 36 + "start_line": 5 } ], - "src": "M:src/Administration/Resources/app/administration/extension-tooling" + "src": "M:src/Administration" }, { - "count": 1, - "dst": "M:.github/bin/js", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/scripts/(root)->M:.github/bin/js", + "count": 2, + "dst": "M:src/Core/Maintenance", + "how": "import-path", + "id": "M:src/Administration->M:src/Core/Maintenance", "kind": "uses", "refs": [ { - "blob_sha": "28585c335d8f520b0690ab6be676b39abdb716c1", + "blob_sha": "82a4832a1a0838032c185cda070911698b5d869a", "commits": [], - "end_line": 2, + "end_line": 12, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/scripts/runNpmAudit.ts", + "path": "src/Administration/Framework/App/Subscriber/SystemLanguageChangedSubscriber.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 2 + "start_line": 12 + }, + { + "blob_sha": "82a4832a1a0838032c185cda070911698b5d869a", + "commits": [], + "end_line": 13, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Framework/App/Subscriber/SystemLanguageChangedSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 13 } ], - "src": "M:src/Administration/Resources/app/administration/scripts/(root)" + "src": "M:src/Administration" }, { - "count": 3, - "dst": "M:src/Administration/Resources/app/administration/build", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/scripts/codemods->M:src/Administration/Resources/app/administration/build", + "count": 4, + "dst": "M:src/Core/Migration", + "how": "import-path", + "id": "M:src/Administration->M:src/Core/Migration", "kind": "uses", "refs": [ { - "blob_sha": "7e27d730556073838b2a0eb599b43521788c54d4", + "blob_sha": "dacf7f73dee932a7d24712759158ecca526cafe7", "commits": [], - "end_line": 30, + "end_line": 278, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/scripts/codemods/sfc-migration/composables/index.ts", + "path": "src/Administration/Controller/AdministrationController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 30 + "start_line": 278 }, { - "blob_sha": "9dafaeba9f37695d08e1e99c3f6fc82f4f13d2b8", + "blob_sha": "dacf7f73dee932a7d24712759158ecca526cafe7", "commits": [], - "end_line": 22, + "end_line": 282, "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/scripts/codemods/sfc-migration/runtime-equivalence-harness.ts", + "path": "src/Administration/Controller/AdministrationController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 22 + "start_line": 282 }, { - "blob_sha": "83a68e037afac293074e9293459f3e42b139b4f6", + "blob_sha": "f50a6bb39043a6eeb34a10588521dd6b24de2e00", "commits": [], - "end_line": 15, + "end_line": 8, "id": "E3", "kind": "lines", - "path": "src/Administration/Resources/app/administration/scripts/codemods/sfc-migration/validate.ts", + "path": "src/Administration/Migration/V6_7/Migration1757057005MailTemplate.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 15 - } - ], - "src": "M:src/Administration/Resources/app/administration/scripts/codemods" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/app/adapter", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/scripts/codemods->M:src/Administration/Resources/app/administration/src/app/adapter", - "kind": "uses", - "refs": [ + "start_line": 8 + }, { - "blob_sha": "9dafaeba9f37695d08e1e99c3f6fc82f4f13d2b8", + "blob_sha": "f50a6bb39043a6eeb34a10588521dd6b24de2e00", "commits": [], - "end_line": 21, - "id": "E1", + "end_line": 9, + "id": "E4", "kind": "lines", - "path": "src/Administration/Resources/app/administration/scripts/codemods/sfc-migration/runtime-equivalence-harness.ts", + "path": "src/Administration/Migration/V6_7/Migration1757057005MailTemplate.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 21 + "start_line": 9 } ], - "src": "M:src/Administration/Resources/app/administration/scripts/codemods" + "src": "M:src/Administration" }, { - "count": 2, - "dst": "M:src/Administration/Resources/app/administration/src/core", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/scripts/codemods->M:src/Administration/Resources/app/administration/src/core", + "count": 29, + "dst": "M:src/Core/System", + "how": "import-path", + "id": "M:src/Administration->M:src/Core/System", "kind": "uses", "refs": [ { - "blob_sha": "2968a9fb6fad4a55865197b38a7e152c3671d765", + "blob_sha": "fdb3e195468c88bf7c899205e531b46c201c0844", "commits": [], - "end_line": 21, + "end_line": 17, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/scripts/codemods/sfc-migration/normalize-cross-block-conditionals.ts", + "path": "src/Administration/Controller/AdminProductStreamController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 21 + "start_line": 17 }, { - "blob_sha": "ed816a80c8c01cd74800438bd851675330e72ce3", + "blob_sha": "fdb3e195468c88bf7c899205e531b46c201c0844", "commits": [], - "end_line": 24, + "end_line": 18, "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/scripts/codemods/sfc-migration/template-ast.ts", + "path": "src/Administration/Controller/AdminProductStreamController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 24 - } - ], - "src": "M:src/Administration/Resources/app/administration/scripts/codemods" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/scripts/codemods", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/scripts/extensionTooling->M:src/Administration/Resources/app/administration/scripts/codemods", - "kind": "uses", - "refs": [ + "start_line": 18 + }, { - "blob_sha": "025e8283daf66cbe26f89d36c465982084522ce4", + "blob_sha": "fdb3e195468c88bf7c899205e531b46c201c0844", "commits": [], "end_line": 19, - "id": "E1", + "id": "E3", "kind": "lines", - "path": "src/Administration/Resources/app/administration/scripts/extensionTooling/upgrade.ts", + "path": "src/Administration/Controller/AdminProductStreamController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 19 - } - ], - "src": "M:src/Administration/Resources/app/administration/scripts/extensionTooling" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/scripts/entitySchemaConverter", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/scripts/extensionTooling->M:src/Administration/Resources/app/administration/scripts/entitySchemaConverter", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "4248d79977567c003d7876bafda110a93cfe4a4c", + "blob_sha": "54d8f329581fe3ddf53d6e20bed507708d4b2dad", "commits": [], - "end_line": 18, - "id": "E1", + "end_line": 10, + "id": "E4", "kind": "lines", - "path": "src/Administration/Resources/app/administration/scripts/extensionTooling/test-helpers.ts", + "path": "src/Administration/Controller/AdminTagController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 18 - } - ], - "src": "M:src/Administration/Resources/app/administration/scripts/extensionTooling" - }, - { - "count": 2, - "dst": "M:src/Administration/Resources/app/administration/scripts/(root)", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/scripts/generate-data-set-list->M:src/Administration/Resources/app/administration/scripts/(root)", - "kind": "uses", - "refs": [ + "start_line": 10 + }, { - "blob_sha": "8c7f6967b5dd39f2c4de892a5e20539fc6c7eccc", + "blob_sha": "54d8f329581fe3ddf53d6e20bed507708d4b2dad", "commits": [], - "end_line": 6, - "id": "E1", + "end_line": 11, + "id": "E5", "kind": "lines", - "path": "src/Administration/Resources/app/administration/scripts/generate-data-set-list/extract-data-set-ids.ts", + "path": "src/Administration/Controller/AdminTagController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 11 }, { - "blob_sha": "85a96a59a9efb2477e3b28f3b866b2500fff4be4", + "blob_sha": "dacf7f73dee932a7d24712759158ecca526cafe7", "commits": [], - "end_line": 12, - "id": "E2", + "end_line": 35, + "id": "E6", "kind": "lines", - "path": "src/Administration/Resources/app/administration/scripts/generate-data-set-list/index.ts", + "path": "src/Administration/Controller/AdministrationController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 12 - } - ], - "src": "M:src/Administration/Resources/app/administration/scripts/generate-data-set-list" - }, - { - "count": 2, - "dst": "M:src/Administration/Resources/app/administration/scripts/(root)", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/scripts/generate-position-identifier-list->M:src/Administration/Resources/app/administration/scripts/(root)", - "kind": "uses", - "refs": [ + "start_line": 35 + }, { - "blob_sha": "8b24f926b5de13146a160b1288927b42774d3f88", + "blob_sha": "dacf7f73dee932a7d24712759158ecca526cafe7", "commits": [], - "end_line": 6, - "id": "E1", + "end_line": 36, + "id": "E7", "kind": "lines", - "path": "src/Administration/Resources/app/administration/scripts/generate-position-identifier-list/extract-position-identifiers.ts", + "path": "src/Administration/Controller/AdministrationController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 36 }, { - "blob_sha": "c2831eb269eb13d58306041c1928ff7e6e61814a", + "blob_sha": "dacf7f73dee932a7d24712759158ecca526cafe7", "commits": [], - "end_line": 12, - "id": "E2", + "end_line": 37, + "id": "E8", "kind": "lines", - "path": "src/Administration/Resources/app/administration/scripts/generate-position-identifier-list/index.ts", + "path": "src/Administration/Controller/AdministrationController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 12 + "start_line": 37 + }, + { + "blob_sha": "14254088c7e3fed88e3d2803bf8c51533b9171bc", + "commits": [], + "end_line": 21, + "id": "E9", + "kind": "lines", + "path": "src/Administration/Controller/UserConfigController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 21 + }, + { + "blob_sha": "14254088c7e3fed88e3d2803bf8c51533b9171bc", + "commits": [], + "end_line": 22, + "id": "E10", + "kind": "lines", + "path": "src/Administration/Controller/UserConfigController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 22 } ], - "src": "M:src/Administration/Resources/app/administration/scripts/generate-position-identifier-list" + "src": "M:src/Administration" }, { - "count": 14, - "dst": "M:src/Administration/Resources/app/administration/eslint-rules/deprecation-rules", + "count": 3, + "dst": "M:src/Administration/Resources/app/administration/build", "how": "relative", - "id": "M:src/Administration/Resources/app/administration/scripts/generate-public-api->M:src/Administration/Resources/app/administration/eslint-rules/deprecation-rules", + "id": "M:src/Administration/Resources/app/administration/(root)->M:src/Administration/Resources/app/administration/build", "kind": "uses", "refs": [ { - "blob_sha": "207ba980c5097ac6fbb830c9f165493507031e7c", + "blob_sha": "6e438a08f61268885be1c56121e53802a2787dc2", "commits": [], "end_line": 6, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/scripts/generate-public-api/break-check/announcements.ts", + "path": "src/Administration/Resources/app/administration/build.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 6 }, { - "blob_sha": "1b588be929444452e7d44e9e52786dd83450cdfa", + "blob_sha": "6e438a08f61268885be1c56121e53802a2787dc2", "commits": [], - "end_line": 7, + "end_line": 8, "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/scripts/generate-public-api/break-check/facts/block-facts.ts", + "path": "src/Administration/Resources/app/administration/build.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 8 }, { - "blob_sha": "3af10f4f13dcaa59db0213ad76158ea23aee639b", + "blob_sha": "6e438a08f61268885be1c56121e53802a2787dc2", "commits": [], "end_line": 7, "id": "E3", "kind": "lines", - "path": "src/Administration/Resources/app/administration/scripts/generate-public-api/break-check/rules/block-rules.ts", + "path": "src/Administration/Resources/app/administration/build.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 7 } ], - "src": "M:src/Administration/Resources/app/administration/scripts/generate-public-api" + "src": "M:src/Administration/Resources/app/administration/(root)" }, { - "count": 5, - "dst": "M:src/Administration/Resources/app/administration/scripts/(root)", + "count": 2, + "dst": "M:src/Administration/Resources/app/administration/extension-tooling", "how": "relative", - "id": "M:src/Administration/Resources/app/administration/scripts/generate-public-api->M:src/Administration/Resources/app/administration/scripts/(root)", + "id": "M:src/Administration/Resources/app/administration/(root)->M:src/Administration/Resources/app/administration/extension-tooling", "kind": "uses", "refs": [ { - "blob_sha": "465442dab141e5798299888281a8cbc377aedc6a", + "blob_sha": "c58c22e1de430fa67c040549387124b4fcd2d3bb", "commits": [], - "end_line": 8, + "end_line": 20, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/scripts/generate-public-api/model/flag-states.ts", + "path": "src/Administration/Resources/app/administration/_jest.config.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 8 + "start_line": 20 }, { - "blob_sha": "ecb322baaa8fdd127ae26cb4ffbda498f2af1249", + "blob_sha": "f13ca77246d17b907ebe3085648f0be67567334b", "commits": [], - "end_line": 7, + "end_line": 35, "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/scripts/generate-public-api/read/build-model.ts", + "path": "src/Administration/Resources/app/administration/eslint.config.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 - }, + "start_line": 35 + } + ], + "src": "M:src/Administration/Resources/app/administration/(root)" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/scripts/(root)", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/(root)->M:src/Administration/Resources/app/administration/scripts/(root)", + "kind": "uses", + "refs": [ { - "blob_sha": "431ae3d90909a1e7c38c702a8a0113819c21b563", + "blob_sha": "c58c22e1de430fa67c040549387124b4fcd2d3bb", "commits": [], - "end_line": 7, - "id": "E3", + "end_line": 21, + "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/scripts/generate-public-api/source/checkout.ts", + "path": "src/Administration/Resources/app/administration/_jest.config.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 21 } ], - "src": "M:src/Administration/Resources/app/administration/scripts/generate-public-api" + "src": "M:src/Administration/Resources/app/administration/(root)" }, { - "count": 4, - "dst": "M:src/Administration/Resources/app/administration/src/core", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/scripts/generate-public-api->M:src/Administration/Resources/app/administration/src/core", + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/eslint-rules/deprecation-rules", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/build->M:src/Administration/Resources/app/administration/eslint-rules/deprecation-rules", "kind": "uses", "refs": [ { - "blob_sha": "a8ec8ff027ba7de3ce3781203710e285d89961f9", + "blob_sha": "3f0922248de4d5402d572e8dd38aa96a36af4a8b", "commits": [], "end_line": 7, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/scripts/generate-public-api/read/template/block-structure.spec/runtime-templates.ts", + "path": "src/Administration/Resources/app/administration/build/vite-plugins/extglob-compat/index.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 7 - }, + } + ], + "src": "M:src/Administration/Resources/app/administration/build" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/core", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/build->M:src/Administration/Resources/app/administration/src/core", + "kind": "uses", + "refs": [ { - "blob_sha": "a8ec8ff027ba7de3ce3781203710e285d89961f9", + "blob_sha": "3439bc52350573bcd399ea971d01b5ea30d275ab", "commits": [], "end_line": 8, - "id": "E2", + "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/scripts/generate-public-api/read/template/block-structure.spec/runtime-templates.ts", + "path": "src/Administration/Resources/app/administration/build/vite-plugins/virtual-shopware-modules/definitions.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 8 - }, + } + ], + "src": "M:src/Administration/Resources/app/administration/build" + }, + { + "count": 1, + "dst": "M:.github/bin/js", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/build/vite-8->M:.github/bin/js", + "kind": "uses", + "refs": [ { - "blob_sha": "967b650db48af99f0ce5b5b900f723b37ba0da9c", + "blob_sha": "3ba6c696ee6e14dad6dc5fa8f211d5ad9cd38345", "commits": [], - "end_line": 7, - "id": "E3", + "end_line": 2, + "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/scripts/generate-public-api/read/template/extend-chain.spec/runtime-blocks.ts", + "path": "src/Administration/Resources/app/administration/build/vite-8/scripts/runNpmAudit.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 2 } ], - "src": "M:src/Administration/Resources/app/administration/scripts/generate-public-api" + "src": "M:src/Administration/Resources/app/administration/build/vite-8" }, { - "count": 3, - "dst": "M:src/Administration/Resources/app/administration/build", + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/(root)", "how": "relative", - "id": "M:src/Administration/Resources/app/administration/scripts/generate-shopware-modules->M:src/Administration/Resources/app/administration/build", + "id": "M:src/Administration/Resources/app/administration/extension-tooling->M:src/Administration/Resources/app/administration/src/(root)", "kind": "uses", "refs": [ { - "blob_sha": "1bd6da73f37fbb2ff7ebf280271a4f9efcb0db00", + "blob_sha": "a9fc35f9671fe0c170d53691af6688262d6f16ae", "commits": [], - "end_line": 71, + "end_line": 19, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/scripts/generate-shopware-modules/extract-modules.ts", + "path": "src/Administration/Resources/app/administration/extension-tooling/admin-types.d.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 71 - }, + "start_line": 19 + } + ], + "src": "M:src/Administration/Resources/app/administration/extension-tooling" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/module/sw-extension", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/extension-tooling->M:src/Administration/Resources/app/administration/src/module/sw-extension", + "kind": "uses", + "refs": [ { - "blob_sha": "c4e92ec90f65ff88eda23368784eb162612b6a4b", + "blob_sha": "a9fc35f9671fe0c170d53691af6688262d6f16ae", "commits": [], - "end_line": 15, - "id": "E2", + "end_line": 35, + "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/scripts/generate-shopware-modules/index.ts", + "path": "src/Administration/Resources/app/administration/extension-tooling/admin-types.d.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 15 - }, + "start_line": 35 + } + ], + "src": "M:src/Administration/Resources/app/administration/extension-tooling" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/module/sw-flow", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/extension-tooling->M:src/Administration/Resources/app/administration/src/module/sw-flow", + "kind": "uses", + "refs": [ { - "blob_sha": "e0f1f8178d6e1cbc761db97db6b79f08510162e4", + "blob_sha": "a9fc35f9671fe0c170d53691af6688262d6f16ae", "commits": [], - "end_line": 13, - "id": "E3", + "end_line": 34, + "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/scripts/generate-shopware-modules/render-declarations.ts", + "path": "src/Administration/Resources/app/administration/extension-tooling/admin-types.d.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 13 + "start_line": 34 } ], - "src": "M:src/Administration/Resources/app/administration/scripts/generate-shopware-modules" + "src": "M:src/Administration/Resources/app/administration/extension-tooling" }, { "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/app/(root)", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/app/(root)", + "dst": "M:src/Administration/Resources/app/administration/src/module/sw-settings-services", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/extension-tooling->M:src/Administration/Resources/app/administration/src/module/sw-settings-services", "kind": "uses", "refs": [ { - "blob_sha": "980a9e8d4fbd6bd352de28b99439cd647d197918", + "blob_sha": "a9fc35f9671fe0c170d53691af6688262d6f16ae", "commits": [], - "end_line": 18, + "end_line": 36, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/index.ts", + "path": "src/Administration/Resources/app/administration/extension-tooling/admin-types.d.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 18 + "start_line": 36 } ], - "src": "M:src/Administration/Resources/app/administration/src/(root)" + "src": "M:src/Administration/Resources/app/administration/extension-tooling" }, { "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/app/adapter", + "dst": "M:.github/bin/js", "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/app/adapter", + "id": "M:src/Administration/Resources/app/administration/scripts/(root)->M:.github/bin/js", "kind": "uses", "refs": [ { - "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "blob_sha": "28585c335d8f520b0690ab6be676b39abdb716c1", "commits": [], - "end_line": 107, + "end_line": 2, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/global.types.ts", + "path": "src/Administration/Resources/app/administration/scripts/runNpmAudit.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 107 + "start_line": 2 } ], - "src": "M:src/Administration/Resources/app/administration/src/(root)" + "src": "M:src/Administration/Resources/app/administration/scripts/(root)" }, { - "count": 2, - "dst": "M:src/Administration/Resources/app/administration/src/app/component", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/app/component", + "count": 3, + "dst": "M:src/Administration/Resources/app/administration/build", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/scripts/codemods->M:src/Administration/Resources/app/administration/build", "kind": "uses", "refs": [ { - "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "blob_sha": "7e27d730556073838b2a0eb599b43521788c54d4", "commits": [], - "end_line": 151, + "end_line": 30, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/global.types.ts", + "path": "src/Administration/Resources/app/administration/scripts/codemods/sfc-migration/composables/index.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 151 + "start_line": 30 }, { - "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "blob_sha": "9dafaeba9f37695d08e1e99c3f6fc82f4f13d2b8", "commits": [], - "end_line": 39, + "end_line": 22, "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/global.types.ts", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 39 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/(root)" - }, - { - "count": 18, - "dst": "M:src/Administration/Resources/app/administration/src/app/composables", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/app/composables", - "kind": "uses", - "refs": [ - { - "blob_sha": "145281552e3a770376a44350a7df6e8d6159a94c", - "commits": [], - "end_line": 404, - "id": "E1", - "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/shopware-virtual-modules.d.ts", + "path": "src/Administration/Resources/app/administration/scripts/codemods/sfc-migration/runtime-equivalence-harness.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 404 + "start_line": 22 }, { - "blob_sha": "145281552e3a770376a44350a7df6e8d6159a94c", + "blob_sha": "83a68e037afac293074e9293459f3e42b139b4f6", "commits": [], - "end_line": 430, - "id": "E2", + "end_line": 15, + "id": "E3", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/shopware-virtual-modules.d.ts", + "path": "src/Administration/Resources/app/administration/scripts/codemods/sfc-migration/validate.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 430 - }, + "start_line": 15 + } + ], + "src": "M:src/Administration/Resources/app/administration/scripts/codemods" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/app/adapter", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/scripts/codemods->M:src/Administration/Resources/app/administration/src/app/adapter", + "kind": "uses", + "refs": [ { - "blob_sha": "145281552e3a770376a44350a7df6e8d6159a94c", + "blob_sha": "9dafaeba9f37695d08e1e99c3f6fc82f4f13d2b8", "commits": [], - "end_line": 439, - "id": "E3", + "end_line": 21, + "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/shopware-virtual-modules.d.ts", + "path": "src/Administration/Resources/app/administration/scripts/codemods/sfc-migration/runtime-equivalence-harness.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 439 + "start_line": 21 } ], - "src": "M:src/Administration/Resources/app/administration/src/(root)" + "src": "M:src/Administration/Resources/app/administration/scripts/codemods" }, { - "count": 16, - "dst": "M:src/Administration/Resources/app/administration/src/app/mixin", + "count": 2, + "dst": "M:src/Administration/Resources/app/administration/src/core", "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/app/mixin", + "id": "M:src/Administration/Resources/app/administration/scripts/codemods->M:src/Administration/Resources/app/administration/src/core", "kind": "uses", "refs": [ { - "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "blob_sha": "2968a9fb6fad4a55865197b38a7e152c3671d765", "commits": [], - "end_line": 102, + "end_line": 21, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/global.types.ts", + "path": "src/Administration/Resources/app/administration/scripts/codemods/sfc-migration/normalize-cross-block-conditionals.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 102 + "start_line": 21 }, { - "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "blob_sha": "ed816a80c8c01cd74800438bd851675330e72ce3", "commits": [], - "end_line": 101, + "end_line": 24, "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/global.types.ts", + "path": "src/Administration/Resources/app/administration/scripts/codemods/sfc-migration/template-ast.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 101 - }, + "start_line": 24 + } + ], + "src": "M:src/Administration/Resources/app/administration/scripts/codemods" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/scripts/codemods", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/scripts/extensionTooling->M:src/Administration/Resources/app/administration/scripts/codemods", + "kind": "uses", + "refs": [ { - "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "blob_sha": "025e8283daf66cbe26f89d36c465982084522ce4", "commits": [], - "end_line": 99, - "id": "E3", + "end_line": 19, + "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/global.types.ts", + "path": "src/Administration/Resources/app/administration/scripts/extensionTooling/upgrade.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 99 + "start_line": 19 } ], - "src": "M:src/Administration/Resources/app/administration/src/(root)" + "src": "M:src/Administration/Resources/app/administration/scripts/extensionTooling" }, { "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/app/plugin", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/app/plugin", + "dst": "M:src/Administration/Resources/app/administration/scripts/entitySchemaConverter", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/scripts/extensionTooling->M:src/Administration/Resources/app/administration/scripts/entitySchemaConverter", "kind": "uses", "refs": [ { - "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "blob_sha": "4248d79977567c003d7876bafda110a93cfe4a4c", "commits": [], - "end_line": 12, + "end_line": 18, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/global.types.ts", + "path": "src/Administration/Resources/app/administration/scripts/extensionTooling/test-helpers.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 12 + "start_line": 18 } ], - "src": "M:src/Administration/Resources/app/administration/src/(root)" + "src": "M:src/Administration/Resources/app/administration/scripts/extensionTooling" }, { - "count": 16, - "dst": "M:src/Administration/Resources/app/administration/src/app/service", + "count": 2, + "dst": "M:src/Administration/Resources/app/administration/scripts/(root)", "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/app/service", + "id": "M:src/Administration/Resources/app/administration/scripts/generate-data-set-list->M:src/Administration/Resources/app/administration/scripts/(root)", "kind": "uses", "refs": [ { - "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "blob_sha": "8c7f6967b5dd39f2c4de892a5e20539fc6c7eccc", "commits": [], - "end_line": 59, + "end_line": 6, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/global.types.ts", + "path": "src/Administration/Resources/app/administration/scripts/generate-data-set-list/extract-data-set-ids.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 59 + "start_line": 6 }, { - "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "blob_sha": "85a96a59a9efb2477e3b28f3b866b2500fff4be4", "commits": [], - "end_line": 13, + "end_line": 12, "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/global.types.ts", + "path": "src/Administration/Resources/app/administration/scripts/generate-data-set-list/index.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 13 + "start_line": 12 + } + ], + "src": "M:src/Administration/Resources/app/administration/scripts/generate-data-set-list" + }, + { + "count": 2, + "dst": "M:src/Administration/Resources/app/administration/scripts/(root)", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/scripts/generate-position-identifier-list->M:src/Administration/Resources/app/administration/scripts/(root)", + "kind": "uses", + "refs": [ + { + "blob_sha": "8b24f926b5de13146a160b1288927b42774d3f88", + "commits": [], + "end_line": 6, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/scripts/generate-position-identifier-list/extract-position-identifiers.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 }, { - "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "blob_sha": "c2831eb269eb13d58306041c1928ff7e6e61814a", "commits": [], - "end_line": 61, - "id": "E3", + "end_line": 12, + "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/global.types.ts", + "path": "src/Administration/Resources/app/administration/scripts/generate-position-identifier-list/index.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 61 + "start_line": 12 } ], - "src": "M:src/Administration/Resources/app/administration/src/(root)" + "src": "M:src/Administration/Resources/app/administration/scripts/generate-position-identifier-list" }, { - "count": 30, - "dst": "M:src/Administration/Resources/app/administration/src/app/store", + "count": 14, + "dst": "M:src/Administration/Resources/app/administration/eslint-rules/deprecation-rules", "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/app/store", + "id": "M:src/Administration/Resources/app/administration/scripts/generate-public-api->M:src/Administration/Resources/app/administration/eslint-rules/deprecation-rules", "kind": "uses", "refs": [ { - "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "blob_sha": "207ba980c5097ac6fbb830c9f165493507031e7c", "commits": [], - "end_line": 121, + "end_line": 6, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/global.types.ts", + "path": "src/Administration/Resources/app/administration/scripts/generate-public-api/break-check/announcements.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 121 + "start_line": 6 }, { - "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "blob_sha": "1b588be929444452e7d44e9e52786dd83450cdfa", "commits": [], - "end_line": 120, + "end_line": 7, "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/global.types.ts", + "path": "src/Administration/Resources/app/administration/scripts/generate-public-api/break-check/facts/block-facts.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 120 + "start_line": 7 }, { - "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "blob_sha": "3af10f4f13dcaa59db0213ad76158ea23aee639b", "commits": [], - "end_line": 111, + "end_line": 7, "id": "E3", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/global.types.ts", + "path": "src/Administration/Resources/app/administration/scripts/generate-public-api/break-check/rules/block-rules.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 111 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/(root)" - }, - { - "count": 75, - "dst": "M:src/Administration/Resources/app/administration/src/core", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/core", - "kind": "uses", - "refs": [ + "start_line": 7 + }, { - "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "blob_sha": "8eb45ffdefe7c23435fee83985074068f0e1cf46", "commits": [], - "end_line": 158, - "id": "E1", + "end_line": 8, + "id": "E4", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/global.types.ts", + "path": "src/Administration/Resources/app/administration/scripts/generate-public-api/break-check/rules/member-rules.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 158 + "start_line": 8 }, { - "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "blob_sha": "ad7dbba21121bac9e9d7b9753bd9236d541ac919", "commits": [], - "end_line": 29, - "id": "E2", + "end_line": 7, + "id": "E5", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/global.types.ts", + "path": "src/Administration/Resources/app/administration/scripts/generate-public-api/break-check/rules/rule.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 29 + "start_line": 7 }, { - "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "blob_sha": "08b642c8ccebb12e74e1648538e7eec63e2550cc", "commits": [], - "end_line": 17, - "id": "E3", + "end_line": 7, + "id": "E6", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/global.types.ts", + "path": "src/Administration/Resources/app/administration/scripts/generate-public-api/model/blocks.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 17 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/(root)" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/module/sw-category", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/module/sw-category", - "kind": "uses", - "refs": [ + "start_line": 7 + }, { - "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "blob_sha": "db8ba5cabe21d8ab4daf26f23f45409e0336833b", "commits": [], - "end_line": 139, - "id": "E1", + "end_line": 8, + "id": "E7", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/global.types.ts", + "path": "src/Administration/Resources/app/administration/scripts/generate-public-api/model/members.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 139 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/(root)" - }, - { - "count": 8, - "dst": "M:src/Administration/Resources/app/administration/src/module/sw-cms", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/module/sw-cms", - "kind": "uses", - "refs": [ + "start_line": 8 + }, { - "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "blob_sha": "eac9dc3448bd2957d841f4fb12e1f09e25967f05", "commits": [], - "end_line": 154, - "id": "E1", + "end_line": 7, + "id": "E8", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/global.types.ts", + "path": "src/Administration/Resources/app/administration/scripts/generate-public-api/read/component-registry.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 154 + "start_line": 7 }, { - "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "blob_sha": "b1c1aeb585959a9e50bf40621ec25a8bfa0c0e90", "commits": [], - "end_line": 97, - "id": "E2", + "end_line": 10, + "id": "E9", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/global.types.ts", + "path": "src/Administration/Resources/app/administration/scripts/generate-public-api/read/options/option-members.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 97 + "start_line": 10 }, { - "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "blob_sha": "b1c1aeb585959a9e50bf40621ec25a8bfa0c0e90", "commits": [], - "end_line": 98, - "id": "E3", + "end_line": 11, + "id": "E10", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/global.types.ts", + "path": "src/Administration/Resources/app/administration/scripts/generate-public-api/read/options/option-members.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 98 + "start_line": 11 } ], - "src": "M:src/Administration/Resources/app/administration/src/(root)" + "src": "M:src/Administration/Resources/app/administration/scripts/generate-public-api" }, { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/module/sw-customer", + "count": 5, + "dst": "M:src/Administration/Resources/app/administration/scripts/(root)", "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/module/sw-customer", + "id": "M:src/Administration/Resources/app/administration/scripts/generate-public-api->M:src/Administration/Resources/app/administration/scripts/(root)", "kind": "uses", "refs": [ { - "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "blob_sha": "465442dab141e5798299888281a8cbc377aedc6a", "commits": [], - "end_line": 155, + "end_line": 8, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/global.types.ts", + "path": "src/Administration/Resources/app/administration/scripts/generate-public-api/model/flag-states.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 155 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/(root)" - }, - { - "count": 2, - "dst": "M:src/Administration/Resources/app/administration/src/module/sw-extension", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/module/sw-extension", - "kind": "uses", - "refs": [ + "start_line": 8 + }, { - "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "blob_sha": "ecb322baaa8fdd127ae26cb4ffbda498f2af1249", "commits": [], - "end_line": 96, - "id": "E1", + "end_line": 7, + "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/global.types.ts", + "path": "src/Administration/Resources/app/administration/scripts/generate-public-api/read/build-model.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 96 + "start_line": 7 }, { - "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "blob_sha": "431ae3d90909a1e7c38c702a8a0113819c21b563", "commits": [], - "end_line": 141, - "id": "E2", + "end_line": 7, + "id": "E3", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/global.types.ts", + "path": "src/Administration/Resources/app/administration/scripts/generate-public-api/source/checkout.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 141 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/(root)" - }, - { - "count": 2, - "dst": "M:src/Administration/Resources/app/administration/src/module/sw-flow", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/module/sw-flow", - "kind": "uses", - "refs": [ + "start_line": 7 + }, { - "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "blob_sha": "be154633694cc63323d04be3e9e77ef600183888", "commits": [], - "end_line": 156, - "id": "E1", + "end_line": 9, + "id": "E4", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/global.types.ts", + "path": "src/Administration/Resources/app/administration/scripts/generate-public-api/source/git-source-tree.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 156 + "start_line": 9 }, { - "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "blob_sha": "746bd5691c025ddf8178151ffd4b668d8aff4ac3", "commits": [], - "end_line": 149, - "id": "E2", + "end_line": 6, + "id": "E5", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/global.types.ts", + "path": "src/Administration/Resources/app/administration/scripts/generate-public-api/source/source-tree.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 149 + "start_line": 6 } ], - "src": "M:src/Administration/Resources/app/administration/src/(root)" + "src": "M:src/Administration/Resources/app/administration/scripts/generate-public-api" }, { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/module/sw-import-export", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/module/sw-import-export", + "count": 4, + "dst": "M:src/Administration/Resources/app/administration/src/core", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/scripts/generate-public-api->M:src/Administration/Resources/app/administration/src/core", "kind": "uses", "refs": [ { - "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "blob_sha": "a8ec8ff027ba7de3ce3781203710e285d89961f9", "commits": [], - "end_line": 79, + "end_line": 7, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/global.types.ts", + "path": "src/Administration/Resources/app/administration/scripts/generate-public-api/read/template/block-structure.spec/runtime-templates.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 79 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/(root)" - }, - { - "count": 4, - "dst": "M:src/Administration/Resources/app/administration/src/module/sw-order", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/module/sw-order", - "kind": "uses", - "refs": [ + "start_line": 7 + }, { - "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "blob_sha": "a8ec8ff027ba7de3ce3781203710e285d89961f9", "commits": [], - "end_line": 95, - "id": "E1", + "end_line": 8, + "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/global.types.ts", + "path": "src/Administration/Resources/app/administration/scripts/generate-public-api/read/template/block-structure.spec/runtime-templates.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 95 + "start_line": 8 }, { - "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "blob_sha": "967b650db48af99f0ce5b5b900f723b37ba0da9c", "commits": [], - "end_line": 81, - "id": "E2", + "end_line": 7, + "id": "E3", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/global.types.ts", + "path": "src/Administration/Resources/app/administration/scripts/generate-public-api/read/template/extend-chain.spec/runtime-blocks.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 81 + "start_line": 7 }, { - "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "blob_sha": "967b650db48af99f0ce5b5b900f723b37ba0da9c", "commits": [], - "end_line": 142, - "id": "E3", + "end_line": 8, + "id": "E4", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/global.types.ts", + "path": "src/Administration/Resources/app/administration/scripts/generate-public-api/read/template/extend-chain.spec/runtime-blocks.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 142 + "start_line": 8 } ], - "src": "M:src/Administration/Resources/app/administration/src/(root)" + "src": "M:src/Administration/Resources/app/administration/scripts/generate-public-api" }, { "count": 3, - "dst": "M:src/Administration/Resources/app/administration/src/module/sw-product", + "dst": "M:src/Administration/Resources/app/administration/build", "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/module/sw-product", + "id": "M:src/Administration/Resources/app/administration/scripts/generate-shopware-modules->M:src/Administration/Resources/app/administration/build", "kind": "uses", "refs": [ { - "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "blob_sha": "1bd6da73f37fbb2ff7ebf280271a4f9efcb0db00", "commits": [], - "end_line": 146, + "end_line": 71, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/global.types.ts", + "path": "src/Administration/Resources/app/administration/scripts/generate-shopware-modules/extract-modules.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 146 + "start_line": 71 }, { - "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "blob_sha": "c4e92ec90f65ff88eda23368784eb162612b6a4b", "commits": [], - "end_line": 64, + "end_line": 15, "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/global.types.ts", + "path": "src/Administration/Resources/app/administration/scripts/generate-shopware-modules/index.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 64 + "start_line": 15 }, { - "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "blob_sha": "e0f1f8178d6e1cbc761db97db6b79f08510162e4", "commits": [], - "end_line": 63, + "end_line": 13, "id": "E3", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/global.types.ts", + "path": "src/Administration/Resources/app/administration/scripts/generate-shopware-modules/render-declarations.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 63 + "start_line": 13 } ], - "src": "M:src/Administration/Resources/app/administration/src/(root)" + "src": "M:src/Administration/Resources/app/administration/scripts/generate-shopware-modules" }, { "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/module/sw-profile", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/module/sw-profile", + "dst": "M:src/Administration/Resources/app/administration/src/app/(root)", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/app/(root)", "kind": "uses", "refs": [ { - "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "blob_sha": "980a9e8d4fbd6bd352de28b99439cd647d197918", "commits": [], - "end_line": 147, + "end_line": 18, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/global.types.ts", + "path": "src/Administration/Resources/app/administration/src/index.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 147 + "start_line": 18 } ], "src": "M:src/Administration/Resources/app/administration/src/(root)" }, { "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/module/sw-promotion-v2", + "dst": "M:src/Administration/Resources/app/administration/src/app/adapter", "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/module/sw-promotion-v2", + "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/app/adapter", "kind": "uses", "refs": [ { "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 148, + "end_line": 107, "id": "E1", "kind": "lines", "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 148 + "start_line": 107 } ], "src": "M:src/Administration/Resources/app/administration/src/(root)" }, { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/module/sw-settings-payment", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/module/sw-settings-payment", + "count": 2, + "dst": "M:src/Administration/Resources/app/administration/src/app/component", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/app/component", "kind": "uses", "refs": [ { "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 145, + "end_line": 151, "id": "E1", "kind": "lines", "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 145 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/(root)" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/module/sw-settings-seo", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/module/sw-settings-seo", - "kind": "uses", - "refs": [ + "start_line": 151 + }, { "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 140, - "id": "E1", + "end_line": 39, + "id": "E2", "kind": "lines", "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 140 + "start_line": 39 } ], "src": "M:src/Administration/Resources/app/administration/src/(root)" }, { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/module/sw-settings-shipping", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/module/sw-settings-shipping", + "count": 18, + "dst": "M:src/Administration/Resources/app/administration/src/app/composables", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/app/composables", "kind": "uses", "refs": [ { - "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "blob_sha": "145281552e3a770376a44350a7df6e8d6159a94c", "commits": [], - "end_line": 144, + "end_line": 404, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/global.types.ts", + "path": "src/Administration/Resources/app/administration/src/shopware-virtual-modules.d.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 144 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/(root)" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/app/adapter", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/app/(root)->M:src/Administration/Resources/app/administration/src/app/adapter", - "kind": "uses", - "refs": [ + "start_line": 404 + }, { - "blob_sha": "0ca15e9f5462b84a4c7ac015f61e40b60bcface2", + "blob_sha": "145281552e3a770376a44350a7df6e8d6159a94c", "commits": [], - "end_line": 11, - "id": "E1", + "end_line": 430, + "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/main.ts", + "path": "src/Administration/Resources/app/administration/src/shopware-virtual-modules.d.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 11 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/app/(root)" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/app/decorator", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/app/(root)->M:src/Administration/Resources/app/administration/src/app/decorator", - "kind": "uses", - "refs": [ + "start_line": 430 + }, { - "blob_sha": "0ca15e9f5462b84a4c7ac015f61e40b60bcface2", + "blob_sha": "145281552e3a770376a44350a7df6e8d6159a94c", "commits": [], - "end_line": 57, - "id": "E1", + "end_line": 439, + "id": "E3", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/main.ts", + "path": "src/Administration/Resources/app/administration/src/shopware-virtual-modules.d.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 57 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/app/(root)" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/app/init", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/app/(root)->M:src/Administration/Resources/app/administration/src/app/init", - "kind": "uses", - "refs": [ + "start_line": 439 + }, { - "blob_sha": "0ca15e9f5462b84a4c7ac015f61e40b60bcface2", + "blob_sha": "145281552e3a770376a44350a7df6e8d6159a94c", "commits": [], - "end_line": 6, - "id": "E1", + "end_line": 448, + "id": "E4", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/main.ts", + "path": "src/Administration/Resources/app/administration/src/shopware-virtual-modules.d.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/app/(root)" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/app/init-post", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/app/(root)->M:src/Administration/Resources/app/administration/src/app/init-post", - "kind": "uses", - "refs": [ + "start_line": 448 + }, { - "blob_sha": "0ca15e9f5462b84a4c7ac015f61e40b60bcface2", + "blob_sha": "145281552e3a770376a44350a7df6e8d6159a94c", "commits": [], - "end_line": 8, - "id": "E1", + "end_line": 457, + "id": "E5", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/main.ts", + "path": "src/Administration/Resources/app/administration/src/shopware-virtual-modules.d.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 8 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/app/(root)" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/app/init-pre", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/app/(root)->M:src/Administration/Resources/app/administration/src/app/init-pre", - "kind": "uses", - "refs": [ + "start_line": 457 + }, { - "blob_sha": "0ca15e9f5462b84a4c7ac015f61e40b60bcface2", + "blob_sha": "145281552e3a770376a44350a7df6e8d6159a94c", "commits": [], - "end_line": 7, - "id": "E1", + "end_line": 466, + "id": "E6", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/main.ts", + "path": "src/Administration/Resources/app/administration/src/shopware-virtual-modules.d.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/app/(root)" - }, - { - "count": 30, - "dst": "M:src/Administration/Resources/app/administration/src/app/service", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/app/(root)->M:src/Administration/Resources/app/administration/src/app/service", - "kind": "uses", - "refs": [ + "start_line": 466 + }, { - "blob_sha": "0ca15e9f5462b84a4c7ac015f61e40b60bcface2", + "blob_sha": "145281552e3a770376a44350a7df6e8d6159a94c", "commits": [], - "end_line": 17, - "id": "E1", + "end_line": 475, + "id": "E7", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/main.ts", + "path": "src/Administration/Resources/app/administration/src/shopware-virtual-modules.d.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 17 + "start_line": 475 }, { - "blob_sha": "0ca15e9f5462b84a4c7ac015f61e40b60bcface2", + "blob_sha": "145281552e3a770376a44350a7df6e8d6159a94c", "commits": [], - "end_line": 41, - "id": "E2", + "end_line": 484, + "id": "E8", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/main.ts", + "path": "src/Administration/Resources/app/administration/src/shopware-virtual-modules.d.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 41 + "start_line": 484 }, { - "blob_sha": "0ca15e9f5462b84a4c7ac015f61e40b60bcface2", + "blob_sha": "145281552e3a770376a44350a7df6e8d6159a94c", "commits": [], - "end_line": 39, - "id": "E3", + "end_line": 493, + "id": "E9", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/main.ts", + "path": "src/Administration/Resources/app/administration/src/shopware-virtual-modules.d.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 39 + "start_line": 493 + }, + { + "blob_sha": "145281552e3a770376a44350a7df6e8d6159a94c", + "commits": [], + "end_line": 502, + "id": "E10", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/shopware-virtual-modules.d.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 502 } ], - "src": "M:src/Administration/Resources/app/administration/src/app/(root)" + "src": "M:src/Administration/Resources/app/administration/src/(root)" }, { - "count": 11, - "dst": "M:src/Administration/Resources/app/administration/src/core", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/app/(root)->M:src/Administration/Resources/app/administration/src/core", + "count": 16, + "dst": "M:src/Administration/Resources/app/administration/src/app/mixin", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/app/mixin", "kind": "uses", "refs": [ { - "blob_sha": "0ca15e9f5462b84a4c7ac015f61e40b60bcface2", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 64, + "end_line": 102, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/main.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 64 + "start_line": 102 }, { - "blob_sha": "0ca15e9f5462b84a4c7ac015f61e40b60bcface2", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 65, + "end_line": 101, "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/main.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 65 + "start_line": 101 }, { - "blob_sha": "0ca15e9f5462b84a4c7ac015f61e40b60bcface2", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 54, + "end_line": 99, "id": "E3", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/main.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 54 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/app/(root)" - }, - { - "count": 3, - "dst": "M:src/Administration/Resources/app/administration/src/app/component", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/app/adapter->M:src/Administration/Resources/app/administration/src/app/component", - "kind": "uses", - "refs": [ + "start_line": 99 + }, { - "blob_sha": "517eb59ad22738c1f7e1f9c6713f617175d19589", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 80, - "id": "E1", + "end_line": 94, + "id": "E4", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/adapter/view/vue.adapter.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 80 + "start_line": 94 }, { - "blob_sha": "517eb59ad22738c1f7e1f9c6713f617175d19589", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 81, - "id": "E2", + "end_line": 88, + "id": "E5", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/adapter/view/vue.adapter.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 81 + "start_line": 88 }, { - "blob_sha": "517eb59ad22738c1f7e1f9c6713f617175d19589", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 79, - "id": "E3", + "end_line": 83, + "id": "E6", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/adapter/view/vue.adapter.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 79 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/app/adapter" - }, - { - "count": 2, - "dst": "M:src/Administration/Resources/app/administration/src/app/composables", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/app/adapter->M:src/Administration/Resources/app/administration/src/app/composables", - "kind": "uses", - "refs": [ + "start_line": 83 + }, { - "blob_sha": "517eb59ad22738c1f7e1f9c6713f617175d19589", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 83, - "id": "E1", + "end_line": 93, + "id": "E7", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/adapter/view/vue.adapter.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 83 + "start_line": 93 }, { - "blob_sha": "517eb59ad22738c1f7e1f9c6713f617175d19589", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 82, - "id": "E2", + "end_line": 92, + "id": "E8", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/adapter/view/vue.adapter.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 82 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/app/adapter" - }, + "start_line": 92 + }, + { + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "commits": [], + "end_line": 91, + "id": "E9", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 91 + }, + { + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "commits": [], + "end_line": 100, + "id": "E10", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 100 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/(root)" + }, { "count": 1, "dst": "M:src/Administration/Resources/app/administration/src/app/plugin", "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/app/adapter->M:src/Administration/Resources/app/administration/src/app/plugin", + "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/app/plugin", "kind": "uses", "refs": [ { - "blob_sha": "517eb59ad22738c1f7e1f9c6713f617175d19589", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 16, + "end_line": 12, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/adapter/view/vue.adapter.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 16 + "start_line": 12 } ], - "src": "M:src/Administration/Resources/app/administration/src/app/adapter" + "src": "M:src/Administration/Resources/app/administration/src/(root)" }, { - "count": 11, - "dst": "M:src/Administration/Resources/app/administration/src/core", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/app/adapter->M:src/Administration/Resources/app/administration/src/core", + "count": 16, + "dst": "M:src/Administration/Resources/app/administration/src/app/service", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/app/service", "kind": "uses", "refs": [ { - "blob_sha": "d65c3b8d05ea6aab9c6932655c3a422d3b5546c0", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 16, + "end_line": 59, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/adapter/composition-extension-system/index.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 16 + "start_line": 59 }, { - "blob_sha": "ad187d6b88082dc5870e8eff79a0e87a098b7739", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 16, + "end_line": 13, "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/adapter/composition-extension-system/options-api-setup-shim.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 16 + "start_line": 13 }, { - "blob_sha": "607ca744d5293af7cdec77176e4de56cd3e0b767", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 12, + "end_line": 61, "id": "E3", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/adapter/composition-extension-system/script-hmr.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 12 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/app/adapter" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/app/adapter", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/app/component->M:src/Administration/Resources/app/administration/src/app/adapter", - "kind": "uses", - "refs": [ + "start_line": 61 + }, { - "blob_sha": "ea375de8ff7a7e4b19c295a29e2a6fe691783529", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 2, - "id": "E1", + "end_line": 57, + "id": "E4", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/component/structure/sw-block-override/sw-block/get-block-data-scope.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 2 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/app/component" - }, - { - "count": 11, - "dst": "M:src/Administration/Resources/app/administration/src/app/composables", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/app/component->M:src/Administration/Resources/app/administration/src/app/composables", - "kind": "uses", - "refs": [ + "start_line": 57 + }, { - "blob_sha": "f979b886c64ccf6cde8a29a1d35821262d337a43", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 2, - "id": "E1", + "end_line": 60, + "id": "E5", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/component/extension-api/sw-iframe-renderer/index.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 2 + "start_line": 60 }, { - "blob_sha": "9f78a367d51bcfed632b77f786a5964051b27ad2", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 3, - "id": "E2", + "end_line": 70, + "id": "E6", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/component/media/sw-media-folder-item/index.js", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 3 + "start_line": 70 }, { - "blob_sha": "35629d72fed0cf92b7091ffdc0ca50d03a8cdff2", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 3, - "id": "E3", + "end_line": 11, + "id": "E7", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/component/rule/sw-condition-delivery-container/index.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 3 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/app/component" - }, - { - "count": 3, - "dst": "M:src/Administration/Resources/app/administration/src/app/mixin", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/app/component->M:src/Administration/Resources/app/administration/src/app/mixin", - "kind": "uses", - "refs": [ + "start_line": 11 + }, { - "blob_sha": "6c8d1b1c84b3cc466bd1a205dc888d86f3168d0a", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 3, - "id": "E1", + "end_line": 105, + "id": "E8", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/component/rule/condition-type/sw-condition-customer-custom-field/index.js", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 3 + "start_line": 105 }, { - "blob_sha": "bfbcfa033dd147a560af3a8f7493683b9b4f7482", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 3, - "id": "E2", + "end_line": 48, + "id": "E9", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/component/rule/condition-type/sw-condition-line-item-custom-field/index.js", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 3 + "start_line": 48 }, { - "blob_sha": "ff978363dfce21675992c0c112b9ff92b773040b", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 3, - "id": "E3", + "end_line": 22, + "id": "E10", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/component/rule/condition-type/sw-condition-order-custom-field/index.js", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 3 + "start_line": 22 } ], - "src": "M:src/Administration/Resources/app/administration/src/app/component" + "src": "M:src/Administration/Resources/app/administration/src/(root)" }, { - "count": 5, - "dst": "M:src/Administration/Resources/app/administration/src/app/service", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/app/component->M:src/Administration/Resources/app/administration/src/app/service", + "count": 30, + "dst": "M:src/Administration/Resources/app/administration/src/app/store", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/app/store", "kind": "uses", "refs": [ { - "blob_sha": "2eb6a4c7f77880d23fa3e799c9cfe5acbd0717c7", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 1, + "end_line": 121, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/component/media/sw-media-preview-v2/index.js", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 1 + "start_line": 121 }, { - "blob_sha": "6d850fde39aed82dc059a0568ba3f94aa37f0fa3", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 5, + "end_line": 120, "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/component/modal/sw-search-preferences-modal/index.js", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 120 }, { - "blob_sha": "35629d72fed0cf92b7091ffdc0ca50d03a8cdff2", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 2, + "end_line": 111, "id": "E3", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/component/rule/sw-condition-delivery-container/index.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 2 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/app/component" - }, - { - "count": 8, - "dst": "M:src/Administration/Resources/app/administration/src/app/store", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/app/component->M:src/Administration/Resources/app/administration/src/app/store", - "kind": "uses", - "refs": [ + "start_line": 111 + }, { - "blob_sha": "f2d448b67ec4cd778560acea035e44c843691c0d", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 1, - "id": "E1", + "end_line": 115, + "id": "E4", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/component/base/sw-alert-deprecated/index.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 1 + "start_line": 115 }, { - "blob_sha": "5248c8f67e7753647973ee117d73f22e70e8dd60", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 2, - "id": "E2", + "end_line": 122, + "id": "E5", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/component/extension-api/sw-extension-component-section/index.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 2 + "start_line": 122 }, { - "blob_sha": "f979b886c64ccf6cde8a29a1d35821262d337a43", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 1, - "id": "E3", + "end_line": 119, + "id": "E6", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/component/extension-api/sw-iframe-renderer/index.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 1 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/app/component" - }, - { - "count": 29, - "dst": "M:src/Administration/Resources/app/administration/src/core", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/app/component->M:src/Administration/Resources/app/administration/src/core", - "kind": "uses", - "refs": [ + "start_line": 119 + }, { - "blob_sha": "aed3bb560d3f0677e516e71a0a85b2a5212aaddc", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 5, - "id": "E1", + "end_line": 114, + "id": "E7", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/component/app/sw-app-shop-id-change-modal/index.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 114 }, { - "blob_sha": "b8e2375aa183da95d57daeab68e3decc9ebfbe76", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 2, - "id": "E2", + "end_line": 116, + "id": "E8", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/component/base/sw-address/index.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 2 + "start_line": 116 }, { - "blob_sha": "f3d23c84c44a2f0278fac9a92c7b7805d8d0efdb", - "commits": [], - "end_line": 5, - "id": "E3", - "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/component/filter/sw-string-filter/index.ts", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/app/component" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/module/sw-media", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/app/component->M:src/Administration/Resources/app/administration/src/module/sw-media", - "kind": "uses", - "refs": [ - { - "blob_sha": "dbf6ae9e8b6d2ddbde9c67250eca219a67f654e6", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 3, - "id": "E1", + "end_line": 117, + "id": "E9", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/component/media/sw-media-media-item/index.js", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 3 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/app/component" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/module/sw-settings-rule", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/app/component->M:src/Administration/Resources/app/administration/src/module/sw-settings-rule", - "kind": "uses", - "refs": [ + "start_line": 117 + }, { - "blob_sha": "ea25980ef7ce715e179a59cbc56b775431a285d5", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 7, - "id": "E1", + "end_line": 118, + "id": "E10", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/component/rule/sw-condition-unit-menu/index.js", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 118 } ], - "src": "M:src/Administration/Resources/app/administration/src/app/component" + "src": "M:src/Administration/Resources/app/administration/src/(root)" }, { - "count": 2, - "dst": "M:src/Administration/Resources/app/administration/src/app/store", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/app/composables->M:src/Administration/Resources/app/administration/src/app/store", + "count": 75, + "dst": "M:src/Administration/Resources/app/administration/src/core", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/core", "kind": "uses", "refs": [ { - "blob_sha": "86bc7c394fabdd0f0d5de80aa54c681b530230d5", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 8, + "end_line": 158, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/composables/use-notification-translation.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 8 + "start_line": 158 }, { - "blob_sha": "1b108385de9e11f39e8208e51836e4b9a326ba66", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 6, + "end_line": 29, "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/composables/use-notification.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/app/composables" - }, - { - "count": 5, - "dst": "M:src/Administration/Resources/app/administration/src/core", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/app/composables->M:src/Administration/Resources/app/administration/src/core", - "kind": "uses", - "refs": [ + "start_line": 29 + }, { - "blob_sha": "86bc7c394fabdd0f0d5de80aa54c681b530230d5", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 7, - "id": "E1", + "end_line": 17, + "id": "E3", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/composables/use-notification-translation.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 17 }, { - "blob_sha": "d5c5cdff3287f1aabae7949023e9b672ca84b724", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 7, - "id": "E2", + "end_line": 34, + "id": "E4", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/composables/use-position.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 34 }, { - "blob_sha": "d5c5cdff3287f1aabae7949023e9b672ca84b724", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 6, - "id": "E3", + "end_line": 55, + "id": "E5", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/composables/use-position.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/app/composables" - }, - { - "count": 5, - "dst": "M:src/Administration/Resources/app/administration/src/module/sw-cms", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/app/composables->M:src/Administration/Resources/app/administration/src/module/sw-cms", - "kind": "uses", - "refs": [ + "start_line": 55 + }, { - "blob_sha": "e3f42d302eb46e080e70edafc9f31cba04161e46", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 6, - "id": "E1", + "end_line": 71, + "id": "E6", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/composables/use-cms-element-deprecated.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 71 }, { - "blob_sha": "916e000485b59d006aa99d9606f7332ea341bfa4", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 9, - "id": "E2", + "end_line": 27, + "id": "E7", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/composables/use-cms-element.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 9 + "start_line": 27 }, { - "blob_sha": "916e000485b59d006aa99d9606f7332ea341bfa4", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 8, - "id": "E3", + "end_line": 28, + "id": "E8", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/composables/use-cms-element.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 8 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/app/composables" - }, - { - "count": 2, - "dst": "M:src/Administration/Resources/app/administration/src/app/service", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/app/decorator->M:src/Administration/Resources/app/administration/src/app/service", - "kind": "uses", - "refs": [ + "start_line": 28 + }, { - "blob_sha": "e2efb990d72036f339b052fa2ed7971237e54259", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 4, - "id": "E1", + "end_line": 72, + "id": "E9", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/decorator/condition-type-data-provider.decorator.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 4 + "start_line": 72 }, { - "blob_sha": "89fb203ad3b702f4f7c50af815a6fa6b1ffb4559", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 4, - "id": "E2", + "end_line": 15, + "id": "E10", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/decorator/state-styling-provider.decorator.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 4 + "start_line": 15 } ], - "src": "M:src/Administration/Resources/app/administration/src/app/decorator" + "src": "M:src/Administration/Resources/app/administration/src/(root)" }, { "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/core", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/app/filter->M:src/Administration/Resources/app/administration/src/core", + "dst": "M:src/Administration/Resources/app/administration/src/module/sw-category", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/module/sw-category", "kind": "uses", "refs": [ { - "blob_sha": "c95fa27c9751785ad08f54976405a860ed3dada7", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 4, + "end_line": 139, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/filter/currency.filter.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 4 + "start_line": 139 } ], - "src": "M:src/Administration/Resources/app/administration/src/app/filter" + "src": "M:src/Administration/Resources/app/administration/src/(root)" }, { - "count": 2, - "dst": "M:src/Administration/Resources/app/administration/src/app/component", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/app/init->M:src/Administration/Resources/app/administration/src/app/component", + "count": 8, + "dst": "M:src/Administration/Resources/app/administration/src/module/sw-cms", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/module/sw-cms", "kind": "uses", "refs": [ { - "blob_sha": "38fc474e1f6993408279f644c9f3f3fd4436c826", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 13, + "end_line": 154, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/init/component-helper.init.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 13 + "start_line": 154 }, { - "blob_sha": "788d2ee0942f33ec08a8fb962a5b58e3167396db", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 5, + "end_line": 97, "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/init/component.init.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/app/init" - }, - { - "count": 4, - "dst": "M:src/Administration/Resources/app/administration/src/app/composables", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/app/init->M:src/Administration/Resources/app/administration/src/app/composables", - "kind": "uses", - "refs": [ + "start_line": 97 + }, { - "blob_sha": "681ca131851f2a5b76213786050cf37a587dbfcc", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 8, - "id": "E1", + "end_line": 98, + "id": "E3", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/init/context.init.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 8 + "start_line": 98 }, { - "blob_sha": "681ca131851f2a5b76213786050cf37a587dbfcc", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 9, - "id": "E2", + "end_line": 68, + "id": "E4", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/init/context.init.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 9 + "start_line": 68 }, { - "blob_sha": "5a93eba96c192c3a13e1adbe97799fb7241d1831", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 7, - "id": "E3", + "end_line": 67, + "id": "E5", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/init/extension-data-handling.init.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/app/init" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/app/directive", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/app/init->M:src/Administration/Resources/app/administration/src/app/directive", - "kind": "uses", - "refs": [ + "start_line": 67 + }, { - "blob_sha": "cd2d447eb85a90267c83946288e9f62686591a56", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 7, - "id": "E1", + "end_line": 62, + "id": "E6", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/init/directive.init.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 62 + }, + { + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "commits": [], + "end_line": 113, + "id": "E7", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 113 + }, + { + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "commits": [], + "end_line": 108, + "id": "E8", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 108 } ], - "src": "M:src/Administration/Resources/app/administration/src/app/init" + "src": "M:src/Administration/Resources/app/administration/src/(root)" }, { "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/app/filter", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/app/init->M:src/Administration/Resources/app/administration/src/app/filter", + "dst": "M:src/Administration/Resources/app/administration/src/module/sw-customer", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/module/sw-customer", "kind": "uses", "refs": [ { - "blob_sha": "2a0838b5d0b8a0264dd86a29528ef705fcc6d6df", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 5, + "end_line": 155, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/init/filter.init.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 155 } ], - "src": "M:src/Administration/Resources/app/administration/src/app/init" + "src": "M:src/Administration/Resources/app/administration/src/(root)" }, { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/app/mixin", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/app/init->M:src/Administration/Resources/app/administration/src/app/mixin", + "count": 2, + "dst": "M:src/Administration/Resources/app/administration/src/module/sw-extension", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/module/sw-extension", "kind": "uses", "refs": [ { - "blob_sha": "22e88bfe1c95bc345ab2ba9d1bc615ac677302c1", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 5, + "end_line": 96, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/init/mixin.init.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 96 + }, + { + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "commits": [], + "end_line": 141, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 141 } ], - "src": "M:src/Administration/Resources/app/administration/src/app/init" + "src": "M:src/Administration/Resources/app/administration/src/(root)" }, { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/app/route", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/app/init->M:src/Administration/Resources/app/administration/src/app/route", + "count": 2, + "dst": "M:src/Administration/Resources/app/administration/src/module/sw-flow", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/module/sw-flow", "kind": "uses", "refs": [ { - "blob_sha": "7cae41a1e608e4f2c8cc72e982d8e98d262cbff3", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 8, + "end_line": 156, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/init/router.init.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 8 + "start_line": 156 + }, + { + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "commits": [], + "end_line": 149, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 149 } ], - "src": "M:src/Administration/Resources/app/administration/src/app/init" + "src": "M:src/Administration/Resources/app/administration/src/(root)" }, { "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/app/service", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/app/init->M:src/Administration/Resources/app/administration/src/app/service", + "dst": "M:src/Administration/Resources/app/administration/src/module/sw-import-export", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/module/sw-import-export", "kind": "uses", "refs": [ { - "blob_sha": "38fc474e1f6993408279f644c9f3f3fd4436c826", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 15, + "end_line": 79, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/init/component-helper.init.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 15 + "start_line": 79 } ], - "src": "M:src/Administration/Resources/app/administration/src/app/init" + "src": "M:src/Administration/Resources/app/administration/src/(root)" }, { - "count": 8, - "dst": "M:src/Administration/Resources/app/administration/src/app/store", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/app/init->M:src/Administration/Resources/app/administration/src/app/store", + "count": 4, + "dst": "M:src/Administration/Resources/app/administration/src/module/sw-order", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/module/sw-order", "kind": "uses", "refs": [ { - "blob_sha": "e3232889ac7e53419b62f9e261c9a986b5d11da9", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 6, + "end_line": 95, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/init/action-button.init.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 95 }, { - "blob_sha": "681ca131851f2a5b76213786050cf37a587dbfcc", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 7, + "end_line": 81, "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/init/context.init.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 81 }, { - "blob_sha": "58821e7febb73b8f2a6a7c844363ba4f01b08f71", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 1, + "end_line": 142, "id": "E3", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/init/extension-component-sections.init.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 1 + "start_line": 142 + }, + { + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", + "commits": [], + "end_line": 143, + "id": "E4", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 143 } ], - "src": "M:src/Administration/Resources/app/administration/src/app/init" + "src": "M:src/Administration/Resources/app/administration/src/(root)" }, { - "count": 8, - "dst": "M:src/Administration/Resources/app/administration/src/core", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/app/init->M:src/Administration/Resources/app/administration/src/core", + "count": 3, + "dst": "M:src/Administration/Resources/app/administration/src/module/sw-product", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/module/sw-product", "kind": "uses", "refs": [ { - "blob_sha": "088814fff989f3828c87b128d7b8173f60958cc2", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 6, + "end_line": 146, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/init/consent.init.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 146 }, { - "blob_sha": "088814fff989f3828c87b128d7b8173f60958cc2", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 5, + "end_line": 64, "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/init/consent.init.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 64 }, { - "blob_sha": "088814fff989f3828c87b128d7b8173f60958cc2", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 4, + "end_line": 63, "id": "E3", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/init/consent.init.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 4 + "start_line": 63 } ], - "src": "M:src/Administration/Resources/app/administration/src/app/init" + "src": "M:src/Administration/Resources/app/administration/src/(root)" }, { - "count": 2, - "dst": "M:src/Administration/Resources/app/administration/src/module/(root)", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/app/init->M:src/Administration/Resources/app/administration/src/module/(root)", + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/module/sw-profile", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/module/sw-profile", "kind": "uses", "refs": [ { - "blob_sha": "d1219038b6021aadd0fa0636d15219d72996aca6", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 5, + "end_line": 147, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/init/login.init.js", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 - }, + "start_line": 147 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/(root)" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/module/sw-promotion-v2", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/module/sw-promotion-v2", + "kind": "uses", + "refs": [ { - "blob_sha": "63dfd1c359f6747349f8a4f5dae179f56cfb2c34", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 5, - "id": "E2", + "end_line": 148, + "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/init/modules.init.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 148 } ], - "src": "M:src/Administration/Resources/app/administration/src/app/init" + "src": "M:src/Administration/Resources/app/administration/src/(root)" }, { - "count": 2, - "dst": "M:src/Administration/Resources/app/administration/src/app/composables", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/app/init-post->M:src/Administration/Resources/app/administration/src/app/composables", + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/module/sw-settings-payment", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/module/sw-settings-payment", "kind": "uses", "refs": [ { - "blob_sha": "42c2c4f4bcf428d8683dde9ffe2d9cee74d30c65", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 7, + "end_line": 145, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/init-post/user-information.init.ts", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 - }, - { - "blob_sha": "42c2c4f4bcf428d8683dde9ffe2d9cee74d30c65", - "commits": [], - "end_line": 6, - "id": "E2", - "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/init-post/user-information.init.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 145 } ], - "src": "M:src/Administration/Resources/app/administration/src/app/init-post" + "src": "M:src/Administration/Resources/app/administration/src/(root)" }, { "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/app/service", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/app/init-post->M:src/Administration/Resources/app/administration/src/app/service", + "dst": "M:src/Administration/Resources/app/administration/src/module/sw-settings-seo", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/module/sw-settings-seo", "kind": "uses", "refs": [ { - "blob_sha": "189cb189bbfb53866f0f73bcee901ebaf51e3b93", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 9, + "end_line": 140, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/init-post/product-analytics.init.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 9 + "start_line": 140 } ], - "src": "M:src/Administration/Resources/app/administration/src/app/init-post" + "src": "M:src/Administration/Resources/app/administration/src/(root)" }, { - "count": 3, - "dst": "M:src/Administration/Resources/app/administration/src/app/store", + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/module/sw-settings-shipping", "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/app/init-post->M:src/Administration/Resources/app/administration/src/app/store", + "id": "M:src/Administration/Resources/app/administration/src/(root)->M:src/Administration/Resources/app/administration/src/module/sw-settings-shipping", "kind": "uses", "refs": [ { - "blob_sha": "42c2c4f4bcf428d8683dde9ffe2d9cee74d30c65", + "blob_sha": "5e813abe89d2b4dcb22bc58ad38cbc53232e8b64", "commits": [], - "end_line": 5, + "end_line": 144, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/init-post/user-information.init.ts", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 - }, - { - "blob_sha": "c276cf4821f17bd460d6c005433e34499d969375", - "commits": [], - "end_line": 10, - "id": "E2", - "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/init-post/worker.init.ts", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 10 - }, - { - "blob_sha": "c276cf4821f17bd460d6c005433e34499d969375", - "commits": [], - "end_line": 13, - "id": "E3", - "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/init-post/worker.init.ts", + "path": "src/Administration/Resources/app/administration/src/global.types.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 13 + "start_line": 144 } ], - "src": "M:src/Administration/Resources/app/administration/src/app/init-post" + "src": "M:src/Administration/Resources/app/administration/src/(root)" }, { - "count": 11, - "dst": "M:src/Administration/Resources/app/administration/src/core", + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/app/adapter", "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/app/init-post->M:src/Administration/Resources/app/administration/src/core", + "id": "M:src/Administration/Resources/app/administration/src/app/(root)->M:src/Administration/Resources/app/administration/src/app/adapter", "kind": "uses", "refs": [ { - "blob_sha": "189cb189bbfb53866f0f73bcee901ebaf51e3b93", + "blob_sha": "0ca15e9f5462b84a4c7ac015f61e40b60bcface2", "commits": [], - "end_line": 5, + "end_line": 11, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/init-post/product-analytics.init.ts", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 - }, - { - "blob_sha": "189cb189bbfb53866f0f73bcee901ebaf51e3b93", - "commits": [], - "end_line": 7, - "id": "E2", - "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/init-post/product-analytics.init.ts", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 - }, - { - "blob_sha": "189cb189bbfb53866f0f73bcee901ebaf51e3b93", - "commits": [], - "end_line": 6, - "id": "E3", - "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/init-post/product-analytics.init.ts", + "path": "src/Administration/Resources/app/administration/src/app/main.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 11 } ], - "src": "M:src/Administration/Resources/app/administration/src/app/init-post" + "src": "M:src/Administration/Resources/app/administration/src/app/(root)" }, { "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/app/state", + "dst": "M:src/Administration/Resources/app/administration/src/app/decorator", "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/app/init-pre->M:src/Administration/Resources/app/administration/src/app/state", + "id": "M:src/Administration/Resources/app/administration/src/app/(root)->M:src/Administration/Resources/app/administration/src/app/decorator", "kind": "uses", "refs": [ { - "blob_sha": "614a6b0d42207142a112aaae707ff7b8684dde9c", + "blob_sha": "0ca15e9f5462b84a4c7ac015f61e40b60bcface2", "commits": [], - "end_line": 6, + "end_line": 57, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/init-pre/state.init.ts", + "path": "src/Administration/Resources/app/administration/src/app/main.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 57 } ], - "src": "M:src/Administration/Resources/app/administration/src/app/init-pre" + "src": "M:src/Administration/Resources/app/administration/src/app/(root)" }, { - "count": 24, - "dst": "M:src/Administration/Resources/app/administration/src/app/store", + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/app/init", "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/app/init-pre->M:src/Administration/Resources/app/administration/src/app/store", + "id": "M:src/Administration/Resources/app/administration/src/app/(root)->M:src/Administration/Resources/app/administration/src/app/init", "kind": "uses", "refs": [ { - "blob_sha": "a694e0db421f278755ddf84af74037fe2ddddbcf", + "blob_sha": "0ca15e9f5462b84a4c7ac015f61e40b60bcface2", "commits": [], - "end_line": 8, + "end_line": 6, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/init-pre/store.init.ts", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 8 - }, - { - "blob_sha": "a694e0db421f278755ddf84af74037fe2ddddbcf", - "commits": [], - "end_line": 2, - "id": "E2", - "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/init-pre/store.init.ts", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 2 - }, - { - "blob_sha": "a694e0db421f278755ddf84af74037fe2ddddbcf", - "commits": [], - "end_line": 3, - "id": "E3", - "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/init-pre/store.init.ts", + "path": "src/Administration/Resources/app/administration/src/app/main.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 3 + "start_line": 6 } ], - "src": "M:src/Administration/Resources/app/administration/src/app/init-pre" + "src": "M:src/Administration/Resources/app/administration/src/app/(root)" }, { "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/core", + "dst": "M:src/Administration/Resources/app/administration/src/app/init-post", "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/app/init-pre->M:src/Administration/Resources/app/administration/src/core", + "id": "M:src/Administration/Resources/app/administration/src/app/(root)->M:src/Administration/Resources/app/administration/src/app/init-post", "kind": "uses", "refs": [ { - "blob_sha": "614a6b0d42207142a112aaae707ff7b8684dde9c", + "blob_sha": "0ca15e9f5462b84a4c7ac015f61e40b60bcface2", "commits": [], - "end_line": 7, + "end_line": 8, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/init-pre/state.init.ts", + "path": "src/Administration/Resources/app/administration/src/app/main.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 8 } ], - "src": "M:src/Administration/Resources/app/administration/src/app/init-pre" + "src": "M:src/Administration/Resources/app/administration/src/app/(root)" }, { "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/app/composables", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/app/mixin->M:src/Administration/Resources/app/administration/src/app/composables", + "dst": "M:src/Administration/Resources/app/administration/src/app/init-pre", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/app/(root)->M:src/Administration/Resources/app/administration/src/app/init-pre", "kind": "uses", "refs": [ { - "blob_sha": "1c46c44bc30304ba00d794cc1693b55d38a8e3a1", + "blob_sha": "0ca15e9f5462b84a4c7ac015f61e40b60bcface2", "commits": [], - "end_line": 6, + "end_line": 7, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/mixin/salutation.mixin.ts", + "path": "src/Administration/Resources/app/administration/src/app/main.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 7 } ], - "src": "M:src/Administration/Resources/app/administration/src/app/mixin" + "src": "M:src/Administration/Resources/app/administration/src/app/(root)" }, { - "count": 2, + "count": 30, "dst": "M:src/Administration/Resources/app/administration/src/app/service", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/app/mixin->M:src/Administration/Resources/app/administration/src/app/service", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/app/(root)->M:src/Administration/Resources/app/administration/src/app/service", "kind": "uses", "refs": [ { - "blob_sha": "2ce0bb1aa30c3f476156064ea4769f78a1a730d9", + "blob_sha": "0ca15e9f5462b84a4c7ac015f61e40b60bcface2", "commits": [], - "end_line": 7, + "end_line": 17, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/mixin/generic-condition.mixin.ts", + "path": "src/Administration/Resources/app/administration/src/app/main.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 17 }, { - "blob_sha": "2ce0bb1aa30c3f476156064ea4769f78a1a730d9", + "blob_sha": "0ca15e9f5462b84a4c7ac015f61e40b60bcface2", "commits": [], - "end_line": 6, + "end_line": 41, "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/mixin/generic-condition.mixin.ts", + "path": "src/Administration/Resources/app/administration/src/app/main.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/app/mixin" - }, - { - "count": 2, - "dst": "M:src/Administration/Resources/app/administration/src/app/store", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/app/mixin->M:src/Administration/Resources/app/administration/src/app/store", - "kind": "uses", - "refs": [ + "start_line": 41 + }, { - "blob_sha": "c89d2f42b23d718ab95711a18b606fcd8388ee97", + "blob_sha": "0ca15e9f5462b84a4c7ac015f61e40b60bcface2", "commits": [], - "end_line": 6, - "id": "E1", + "end_line": 39, + "id": "E3", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/mixin/notification-translation.mixin.ts", + "path": "src/Administration/Resources/app/administration/src/app/main.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 39 }, { - "blob_sha": "4e6b26261cfaa6a688d7e10f2f5a01b7809be872", + "blob_sha": "0ca15e9f5462b84a4c7ac015f61e40b60bcface2", "commits": [], - "end_line": 5, - "id": "E2", + "end_line": 51, + "id": "E4", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/mixin/notification.mixin.ts", + "path": "src/Administration/Resources/app/administration/src/app/main.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/app/mixin" - }, - { - "count": 2, - "dst": "M:src/Administration/Resources/app/administration/src/core", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/app/mixin->M:src/Administration/Resources/app/administration/src/core", - "kind": "uses", - "refs": [ + "start_line": 51 + }, { - "blob_sha": "8f8130b188f9adde9afaf78b50b168d51b5d0053", + "blob_sha": "0ca15e9f5462b84a4c7ac015f61e40b60bcface2", "commits": [], - "end_line": 7, - "id": "E1", + "end_line": 48, + "id": "E5", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/mixin/position.mixin.ts", + "path": "src/Administration/Resources/app/administration/src/app/main.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 48 }, { - "blob_sha": "8f8130b188f9adde9afaf78b50b168d51b5d0053", + "blob_sha": "0ca15e9f5462b84a4c7ac015f61e40b60bcface2", "commits": [], - "end_line": 6, - "id": "E2", + "end_line": 27, + "id": "E6", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/mixin/position.mixin.ts", + "path": "src/Administration/Resources/app/administration/src/app/main.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/app/mixin" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/module/sw-settings-rule", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/app/mixin->M:src/Administration/Resources/app/administration/src/module/sw-settings-rule", - "kind": "uses", - "refs": [ + "start_line": 27 + }, { - "blob_sha": "2ce0bb1aa30c3f476156064ea4769f78a1a730d9", + "blob_sha": "0ca15e9f5462b84a4c7ac015f61e40b60bcface2", "commits": [], - "end_line": 8, - "id": "E1", + "end_line": 42, + "id": "E7", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/mixin/generic-condition.mixin.ts", + "path": "src/Administration/Resources/app/administration/src/app/main.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 8 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/app/mixin" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/core", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/app/plugin->M:src/Administration/Resources/app/administration/src/core", - "kind": "uses", - "refs": [ + "start_line": 42 + }, { - "blob_sha": "b131f9667f4cabed592b64a05b50b1bcfe0c67b8", + "blob_sha": "0ca15e9f5462b84a4c7ac015f61e40b60bcface2", "commits": [], - "end_line": 5, - "id": "E1", + "end_line": 47, + "id": "E8", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/plugin/shortcut.plugin.js", + "path": "src/Administration/Resources/app/administration/src/app/main.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 47 + }, + { + "blob_sha": "0ca15e9f5462b84a4c7ac015f61e40b60bcface2", + "commits": [], + "end_line": 28, + "id": "E9", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/app/main.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 28 + }, + { + "blob_sha": "0ca15e9f5462b84a4c7ac015f61e40b60bcface2", + "commits": [], + "end_line": 14, + "id": "E10", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/app/main.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 14 } ], - "src": "M:src/Administration/Resources/app/administration/src/app/plugin" + "src": "M:src/Administration/Resources/app/administration/src/app/(root)" }, { - "count": 3, - "dst": "M:src/Administration/Resources/app/administration/src/app/composables", + "count": 11, + "dst": "M:src/Administration/Resources/app/administration/src/core", "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/app/service->M:src/Administration/Resources/app/administration/src/app/composables", + "id": "M:src/Administration/Resources/app/administration/src/app/(root)->M:src/Administration/Resources/app/administration/src/core", "kind": "uses", "refs": [ { - "blob_sha": "905dcc01fd92ece4f8bc0c2ac2dacbee752cc927", + "blob_sha": "0ca15e9f5462b84a4c7ac015f61e40b60bcface2", "commits": [], - "end_line": 5, + "end_line": 64, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/service/product-analytics-session-snapshot.service.ts", + "path": "src/Administration/Resources/app/administration/src/app/main.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 64 }, { - "blob_sha": "905dcc01fd92ece4f8bc0c2ac2dacbee752cc927", + "blob_sha": "0ca15e9f5462b84a4c7ac015f61e40b60bcface2", "commits": [], - "end_line": 4, + "end_line": 65, "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/service/product-analytics-session-snapshot.service.ts", + "path": "src/Administration/Resources/app/administration/src/app/main.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 4 + "start_line": 65 }, { - "blob_sha": "6513ba8dc47b24da6416ca7b94b79448a0442111", + "blob_sha": "0ca15e9f5462b84a4c7ac015f61e40b60bcface2", "commits": [], - "end_line": 2, + "end_line": 54, "id": "E3", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/service/snackbar.service.ts", + "path": "src/Administration/Resources/app/administration/src/app/main.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 2 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/app/service" - }, - { - "count": 10, - "dst": "M:src/Administration/Resources/app/administration/src/core", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/app/service->M:src/Administration/Resources/app/administration/src/core", - "kind": "uses", - "refs": [ + "start_line": 54 + }, { - "blob_sha": "e2025a3a64f4bf31d4d32cd3d703a4f2bb7dacc1", + "blob_sha": "0ca15e9f5462b84a4c7ac015f61e40b60bcface2", "commits": [], - "end_line": 6, - "id": "E1", + "end_line": 36, + "id": "E4", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/service/entity-validation.service.ts", + "path": "src/Administration/Resources/app/administration/src/app/main.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 36 }, { - "blob_sha": "e2025a3a64f4bf31d4d32cd3d703a4f2bb7dacc1", + "blob_sha": "0ca15e9f5462b84a4c7ac015f61e40b60bcface2", "commits": [], - "end_line": 7, - "id": "E2", + "end_line": 19, + "id": "E5", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/service/entity-validation.service.ts", + "path": "src/Administration/Resources/app/administration/src/app/main.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 19 }, { - "blob_sha": "e2025a3a64f4bf31d4d32cd3d703a4f2bb7dacc1", + "blob_sha": "0ca15e9f5462b84a4c7ac015f61e40b60bcface2", "commits": [], - "end_line": 8, - "id": "E3", + "end_line": 20, + "id": "E6", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/service/entity-validation.service.ts", + "path": "src/Administration/Resources/app/administration/src/app/main.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 8 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/app/service" - }, - { - "count": 2, - "dst": "M:src/Administration/Resources/app/administration/src/module/sw-extension", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/app/service->M:src/Administration/Resources/app/administration/src/module/sw-extension", - "kind": "uses", - "refs": [ + "start_line": 20 + }, { - "blob_sha": "696009bcb78f85f6eb242d8c509385c604a28914", + "blob_sha": "0ca15e9f5462b84a4c7ac015f61e40b60bcface2", "commits": [], - "end_line": 1, - "id": "E1", + "end_line": 18, + "id": "E7", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/service/discount-campaign.service.ts", + "path": "src/Administration/Resources/app/administration/src/app/main.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 1 + "start_line": 18 }, { - "blob_sha": "874fb209831e733a74ce9eba19570a83f6512ced", + "blob_sha": "0ca15e9f5462b84a4c7ac015f61e40b60bcface2", "commits": [], - "end_line": 4, - "id": "E2", + "end_line": 34, + "id": "E8", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/service/extension-helper.service.ts", + "path": "src/Administration/Resources/app/administration/src/app/main.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 4 + "start_line": 34 + }, + { + "blob_sha": "0ca15e9f5462b84a4c7ac015f61e40b60bcface2", + "commits": [], + "end_line": 35, + "id": "E9", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/app/main.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 35 + }, + { + "blob_sha": "0ca15e9f5462b84a4c7ac015f61e40b60bcface2", + "commits": [], + "end_line": 22, + "id": "E10", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/app/main.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 22 } ], - "src": "M:src/Administration/Resources/app/administration/src/app/service" + "src": "M:src/Administration/Resources/app/administration/src/app/(root)" }, { - "count": 5, - "dst": "M:src/Administration/Resources/app/administration/src/app/composables", + "count": 3, + "dst": "M:src/Administration/Resources/app/administration/src/app/component", "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/app/store->M:src/Administration/Resources/app/administration/src/app/composables", + "id": "M:src/Administration/Resources/app/administration/src/app/adapter->M:src/Administration/Resources/app/administration/src/app/component", "kind": "uses", "refs": [ { - "blob_sha": "8567902113ab644f74bf6a2cbb727962a58ccbe7", + "blob_sha": "517eb59ad22738c1f7e1f9c6713f617175d19589", "commits": [], - "end_line": 5, + "end_line": 80, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/store/block-override.store.ts", + "path": "src/Administration/Resources/app/administration/src/app/adapter/view/vue.adapter.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 80 }, { - "blob_sha": "5015c82f0c76fe08a211131018f7f84804726257", + "blob_sha": "517eb59ad22738c1f7e1f9c6713f617175d19589", "commits": [], - "end_line": 4, + "end_line": 81, "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/store/context.store.ts", + "path": "src/Administration/Resources/app/administration/src/app/adapter/view/vue.adapter.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 4 + "start_line": 81 }, { - "blob_sha": "f3183dab5094baf938e386a55b96b04dade0dc80", + "blob_sha": "517eb59ad22738c1f7e1f9c6713f617175d19589", "commits": [], - "end_line": 4, + "end_line": 79, "id": "E3", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/store/session.store.ts", + "path": "src/Administration/Resources/app/administration/src/app/adapter/view/vue.adapter.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 4 + "start_line": 79 } ], - "src": "M:src/Administration/Resources/app/administration/src/app/store" + "src": "M:src/Administration/Resources/app/administration/src/app/adapter" }, { - "count": 5, - "dst": "M:src/Administration/Resources/app/administration/src/core", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/app/store->M:src/Administration/Resources/app/administration/src/core", + "count": 2, + "dst": "M:src/Administration/Resources/app/administration/src/app/composables", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/app/adapter->M:src/Administration/Resources/app/administration/src/app/composables", "kind": "uses", "refs": [ { - "blob_sha": "e9c8b4e994bfd188cd0301db98967cef61575e29", + "blob_sha": "517eb59ad22738c1f7e1f9c6713f617175d19589", "commits": [], - "end_line": 7, + "end_line": 83, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/store/admin-menu.store.ts", + "path": "src/Administration/Resources/app/administration/src/app/adapter/view/vue.adapter.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 83 }, { - "blob_sha": "e9c8b4e994bfd188cd0301db98967cef61575e29", + "blob_sha": "517eb59ad22738c1f7e1f9c6713f617175d19589", "commits": [], - "end_line": 6, + "end_line": 82, "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/store/admin-menu.store.ts", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 - }, - { - "blob_sha": "dffd46a26fd9bed6e0398d8c4281cc89cfb26b61", - "commits": [], - "end_line": 4, - "id": "E3", - "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/store/error.store.ts", + "path": "src/Administration/Resources/app/administration/src/app/adapter/view/vue.adapter.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 4 + "start_line": 82 } ], - "src": "M:src/Administration/Resources/app/administration/src/app/store" + "src": "M:src/Administration/Resources/app/administration/src/app/adapter" }, { "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/module/sw-extension", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/app/store->M:src/Administration/Resources/app/administration/src/module/sw-extension", + "dst": "M:src/Administration/Resources/app/administration/src/app/plugin", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/app/adapter->M:src/Administration/Resources/app/administration/src/app/plugin", "kind": "uses", "refs": [ { - "blob_sha": "e9633dd000ecc0bbe2e79460a067e81a3f874f8e", + "blob_sha": "517eb59ad22738c1f7e1f9c6713f617175d19589", "commits": [], - "end_line": 1, + "end_line": 16, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/app/store/marketing.store.ts", + "path": "src/Administration/Resources/app/administration/src/app/adapter/view/vue.adapter.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 1 + "start_line": 16 } ], - "src": "M:src/Administration/Resources/app/administration/src/app/store" + "src": "M:src/Administration/Resources/app/administration/src/app/adapter" }, { - "count": 3, - "dst": "M:src/Administration/Resources/app/administration/src/app/adapter", + "count": 11, + "dst": "M:src/Administration/Resources/app/administration/src/core", "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/core->M:src/Administration/Resources/app/administration/src/app/adapter", + "id": "M:src/Administration/Resources/app/administration/src/app/adapter->M:src/Administration/Resources/app/administration/src/core", "kind": "uses", "refs": [ { - "blob_sha": "7da8e5927eaf6b375c1526652c4804c6fe093dd3", + "blob_sha": "d65c3b8d05ea6aab9c6932655c3a422d3b5546c0", "commits": [], - "end_line": 6, + "end_line": 16, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/core/application.ts", + "path": "src/Administration/Resources/app/administration/src/app/adapter/composition-extension-system/index.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 16 }, { - "blob_sha": "7649d0ddf38714261c211ae8385f1a5f072632e6", + "blob_sha": "ad187d6b88082dc5870e8eff79a0e87a098b7739", "commits": [], - "end_line": 10, + "end_line": 16, "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/core/factory/async-component.factory.spec/native-block-condition.fixtures.js", + "path": "src/Administration/Resources/app/administration/src/app/adapter/composition-extension-system/options-api-setup-shim.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 10 + "start_line": 16 }, { - "blob_sha": "197151e2133f2b643ba1cbeeded8f89f4bd99146", + "blob_sha": "607ca744d5293af7cdec77176e4de56cd3e0b767", "commits": [], - "end_line": 52, + "end_line": 12, "id": "E3", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/core/shopware.ts", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 52 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/core" - }, - { - "count": 5, - "dst": "M:src/Administration/Resources/app/administration/src/app/component", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/core->M:src/Administration/Resources/app/administration/src/app/component", - "kind": "uses", - "refs": [ - { - "blob_sha": "7649d0ddf38714261c211ae8385f1a5f072632e6", - "commits": [], - "end_line": 51, - "id": "E1", - "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/core/factory/async-component.factory.spec/native-block-condition.fixtures.js", + "path": "src/Administration/Resources/app/administration/src/app/adapter/composition-extension-system/script-hmr.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 51 + "start_line": 12 }, { - "blob_sha": "7649d0ddf38714261c211ae8385f1a5f072632e6", + "blob_sha": "57a1e0b9f8787c699c9d3fa126f605382bdb7c55", "commits": [], - "end_line": 11, - "id": "E2", + "end_line": 31, + "id": "E4", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/core/factory/async-component.factory.spec/native-block-condition.fixtures.js", + "path": "src/Administration/Resources/app/administration/src/app/adapter/options-composition-shim.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 11 + "start_line": 31 }, { - "blob_sha": "7649d0ddf38714261c211ae8385f1a5f072632e6", - "commits": [], - "end_line": 49, - "id": "E3", - "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/core/factory/async-component.factory.spec/native-block-condition.fixtures.js", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 49 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/core" - }, - { - "count": 5, - "dst": "M:src/Administration/Resources/app/administration/src/app/composables", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/core->M:src/Administration/Resources/app/administration/src/app/composables", - "kind": "uses", - "refs": [ - { - "blob_sha": "e0cc8a1eae59288bea0bb872ca9000e2392f13c0", + "blob_sha": "0233bb968dd53a9f7d732fefd680dcb0de1d4292", "commits": [], - "end_line": 1, - "id": "E1", + "end_line": 7, + "id": "E5", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/core/factory/api-context.factory.js", + "path": "src/Administration/Resources/app/administration/src/app/adapter/view/vue.adapter.spec/vue-adapter-test-setup.js", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 1 + "start_line": 7 }, { - "blob_sha": "d96524360d5e46794036d99211a4bf40454fa012", + "blob_sha": "0233bb968dd53a9f7d732fefd680dcb0de1d4292", "commits": [], - "end_line": 1, - "id": "E2", + "end_line": 8, + "id": "E6", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/core/factory/app-context.factory.js", + "path": "src/Administration/Resources/app/administration/src/app/adapter/view/vue.adapter.spec/vue-adapter-test-setup.js", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 1 + "start_line": 8 }, { - "blob_sha": "1ce8016e31ce445d60f13544deeb0bcd723445eb", + "blob_sha": "517eb59ad22738c1f7e1f9c6713f617175d19589", "commits": [], - "end_line": 8, - "id": "E3", + "end_line": 4, + "id": "E7", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/core/service/plugin-updates-listener.service.ts", + "path": "src/Administration/Resources/app/administration/src/app/adapter/view/vue.adapter.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 8 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/core" - }, - { - "count": 6, - "dst": "M:src/Administration/Resources/app/administration/src/app/store", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/core->M:src/Administration/Resources/app/administration/src/app/store", - "kind": "uses", - "refs": [ + "start_line": 4 + }, { - "blob_sha": "7da8e5927eaf6b375c1526652c4804c6fe093dd3", + "blob_sha": "517eb59ad22738c1f7e1f9c6713f617175d19589", "commits": [], - "end_line": 5, - "id": "E1", + "end_line": 18, + "id": "E8", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/core/application.ts", + "path": "src/Administration/Resources/app/administration/src/app/adapter/view/vue.adapter.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 18 }, { - "blob_sha": "499750800d2f175ba2fa875e75836f4a3f7e6fd2", + "blob_sha": "517eb59ad22738c1f7e1f9c6713f617175d19589", "commits": [], - "end_line": 5, - "id": "E2", + "end_line": 19, + "id": "E9", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/core/consent/sdk-handler.ts", + "path": "src/Administration/Resources/app/administration/src/app/adapter/view/vue.adapter.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 19 }, { - "blob_sha": "b05de1da2336df620426d005fb6e82b8340188e1", + "blob_sha": "517eb59ad22738c1f7e1f9c6713f617175d19589", "commits": [], - "end_line": 12, - "id": "E3", + "end_line": 20, + "id": "E10", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/core/factory/worker-notification.factory.ts", + "path": "src/Administration/Resources/app/administration/src/app/adapter/view/vue.adapter.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 12 + "start_line": 20 } ], - "src": "M:src/Administration/Resources/app/administration/src/core" + "src": "M:src/Administration/Resources/app/administration/src/app/adapter" }, { "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/module/sw-cms", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/core->M:src/Administration/Resources/app/administration/src/module/sw-cms", + "dst": "M:src/Administration/Resources/app/administration/src/app/adapter", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/app/component->M:src/Administration/Resources/app/administration/src/app/adapter", "kind": "uses", "refs": [ { - "blob_sha": "197151e2133f2b643ba1cbeeded8f89f4bd99146", + "blob_sha": "ea375de8ff7a7e4b19c295a29e2a6fe691783529", "commits": [], - "end_line": 56, + "end_line": 2, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/core/shopware.ts", + "path": "src/Administration/Resources/app/administration/src/app/component/structure/sw-block-override/sw-block/get-block-data-scope.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 56 + "start_line": 2 } ], - "src": "M:src/Administration/Resources/app/administration/src/core" + "src": "M:src/Administration/Resources/app/administration/src/app/component" }, { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/module/sw-customer", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/core->M:src/Administration/Resources/app/administration/src/module/sw-customer", + "count": 11, + "dst": "M:src/Administration/Resources/app/administration/src/app/composables", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/app/component->M:src/Administration/Resources/app/administration/src/app/composables", "kind": "uses", "refs": [ { - "blob_sha": "197151e2133f2b643ba1cbeeded8f89f4bd99146", + "blob_sha": "f979b886c64ccf6cde8a29a1d35821262d337a43", "commits": [], - "end_line": 57, + "end_line": 2, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/core/shopware.ts", + "path": "src/Administration/Resources/app/administration/src/app/component/extension-api/sw-iframe-renderer/index.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 57 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/core" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/module/sw-flow", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/core->M:src/Administration/Resources/app/administration/src/module/sw-flow", - "kind": "uses", - "refs": [ + "start_line": 2 + }, { - "blob_sha": "197151e2133f2b643ba1cbeeded8f89f4bd99146", + "blob_sha": "9f78a367d51bcfed632b77f786a5964051b27ad2", "commits": [], - "end_line": 58, - "id": "E1", + "end_line": 3, + "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/core/shopware.ts", + "path": "src/Administration/Resources/app/administration/src/app/component/media/sw-media-folder-item/index.js", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 58 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/core" - }, - { - "count": 5, - "dst": "M:src/Administration/Resources/app/administration/src/module/sw-order", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/core->M:src/Administration/Resources/app/administration/src/module/sw-order", - "kind": "uses", - "refs": [ + "start_line": 3 + }, { - "blob_sha": "f952d8f247714715b0385899aedb8ab8c365a7ae", + "blob_sha": "35629d72fed0cf92b7091ffdc0ca50d03a8cdff2", "commits": [], - "end_line": 10, - "id": "E1", + "end_line": 3, + "id": "E3", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/core/service/api/cart-store-api.api.service.ts", + "path": "src/Administration/Resources/app/administration/src/app/component/rule/sw-condition-delivery-container/index.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 10 + "start_line": 3 }, { - "blob_sha": "f952d8f247714715b0385899aedb8ab8c365a7ae", + "blob_sha": "4bc972d702886279d90180b4d9320c0498e4b351", "commits": [], - "end_line": 11, - "id": "E2", + "end_line": 2, + "id": "E4", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/core/service/api/cart-store-api.api.service.ts", + "path": "src/Administration/Resources/app/administration/src/app/component/structure/sw-admin-menu-item/index.js", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 11 + "start_line": 2 }, { - "blob_sha": "aef4bc5bb90ace5a537b1a7cde1784fb74edd8db", + "blob_sha": "19ed58b74f4f00e466727ea6e857449cca72d4cb", "commits": [], - "end_line": 4, - "id": "E3", + "end_line": 2, + "id": "E5", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/core/service/api/documentV2.api.service.ts", + "path": "src/Administration/Resources/app/administration/src/app/component/structure/sw-admin-menu/index.js", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 4 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/core" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/module/sw-promotion-v2", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/core->M:src/Administration/Resources/app/administration/src/module/sw-promotion-v2", - "kind": "uses", - "refs": [ + "start_line": 2 + }, { - "blob_sha": "197151e2133f2b643ba1cbeeded8f89f4bd99146", + "blob_sha": "d507a7423f88b7927fd8e35d2fce5d726a57852b", "commits": [], - "end_line": 34, - "id": "E1", + "end_line": 18, + "id": "E6", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/core/shopware.ts", + "path": "src/Administration/Resources/app/administration/src/app/component/structure/sw-block-override/sw-block/index.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 34 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/core" - }, - { - "count": 6, - "dst": "M:src/Administration/Resources/app/administration/src/core", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-bulk-edit->M:src/Administration/Resources/app/administration/src/core", - "kind": "uses", - "refs": [ + "start_line": 18 + }, { - "blob_sha": "98f2dcda53e97a5c915046b7a82eb1abba88256d", + "blob_sha": "1392a13aab786713940bf5be4806e229dee5d5b0", "commits": [], - "end_line": 4, - "id": "E1", + "end_line": 2, + "id": "E7", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-bulk-edit/component/sw-bulk-edit-save-modal-process/index.js", + "path": "src/Administration/Resources/app/administration/src/app/component/structure/sw-desktop/index.js", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 4 + "start_line": 2 }, { - "blob_sha": "7c76ecd783e230fe9428842a27a087df0119de77", + "blob_sha": "94f3b6e6bfda05e1bcc18f5eedce322721fd0f11", "commits": [], - "end_line": 6, - "id": "E2", + "end_line": 1, + "id": "E8", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-bulk-edit/component/sw-bulk-edit-save-modal-success/index.js", + "path": "src/Administration/Resources/app/administration/src/app/component/structure/sw-search-bar-item/index.js", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 1 }, { - "blob_sha": "c48e892809258adc8933f97e8e0563839c108199", + "blob_sha": "f6655f76791d077f853e5556c90304d3461b04a8", "commits": [], - "end_line": 5, - "id": "E3", + "end_line": 1, + "id": "E9", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-bulk-edit/page/sw-bulk-edit-order/deprecated-members.ts", + "path": "src/Administration/Resources/app/administration/src/app/component/structure/sw-search-bar/index.js", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-bulk-edit" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/module/sw-order", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-bulk-edit->M:src/Administration/Resources/app/administration/src/module/sw-order", - "kind": "uses", - "refs": [ + "start_line": 1 + }, { - "blob_sha": "7c76ecd783e230fe9428842a27a087df0119de77", + "blob_sha": "0abb2e747c975037f8308bd079aa07dbfa407e0f", "commits": [], - "end_line": 7, - "id": "E1", + "end_line": 6, + "id": "E10", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-bulk-edit/component/sw-bulk-edit-save-modal-success/index.js", + "path": "src/Administration/Resources/app/administration/src/app/component/structure/sw-ui-shell-update-2026-modal/index.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 6 } ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-bulk-edit" + "src": "M:src/Administration/Resources/app/administration/src/app/component" }, { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/module/sw-product", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-bulk-edit->M:src/Administration/Resources/app/administration/src/module/sw-product", + "count": 3, + "dst": "M:src/Administration/Resources/app/administration/src/app/mixin", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/app/component->M:src/Administration/Resources/app/administration/src/app/mixin", "kind": "uses", "refs": [ { - "blob_sha": "d45e247041cca9bc5a6c7cf968a52f7cf28d86ca", + "blob_sha": "6c8d1b1c84b3cc466bd1a205dc888d86f3168d0a", "commits": [], "end_line": 3, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-bulk-edit/page/sw-bulk-edit-product/index.js", + "path": "src/Administration/Resources/app/administration/src/app/component/rule/condition-type/sw-condition-customer-custom-field/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 3 + }, + { + "blob_sha": "bfbcfa033dd147a560af3a8f7493683b9b4f7482", + "commits": [], + "end_line": 3, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/app/component/rule/condition-type/sw-condition-line-item-custom-field/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 3 + }, + { + "blob_sha": "ff978363dfce21675992c0c112b9ff92b773040b", + "commits": [], + "end_line": 3, + "id": "E3", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/app/component/rule/condition-type/sw-condition-order-custom-field/index.js", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 3 } ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-bulk-edit" + "src": "M:src/Administration/Resources/app/administration/src/app/component" }, { - "count": 1, + "count": 5, "dst": "M:src/Administration/Resources/app/administration/src/app/service", "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-category->M:src/Administration/Resources/app/administration/src/app/service", + "id": "M:src/Administration/Resources/app/administration/src/app/component->M:src/Administration/Resources/app/administration/src/app/service", "kind": "uses", "refs": [ { - "blob_sha": "de4b661e7b347b9398253f8f8ca93dc09691c5e2", + "blob_sha": "2eb6a4c7f77880d23fa3e799c9cfe5acbd0717c7", "commits": [], "end_line": 1, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-category/default-search-configuration.js", + "path": "src/Administration/Resources/app/administration/src/app/component/media/sw-media-preview-v2/index.js", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 1 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-category" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/app/store", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-category->M:src/Administration/Resources/app/administration/src/app/store", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "9943f8e1d0eb8df702264a47466e4ea9040118b1", + "blob_sha": "6d850fde39aed82dc059a0568ba3f94aa37f0fa3", "commits": [], - "end_line": 4, - "id": "E1", + "end_line": 5, + "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-category/page/sw-category-detail/store.ts", + "path": "src/Administration/Resources/app/administration/src/app/component/modal/sw-search-preferences-modal/index.js", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 4 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-category" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/core", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-category->M:src/Administration/Resources/app/administration/src/core", - "kind": "uses", - "refs": [ + "start_line": 5 + }, { - "blob_sha": "9943f8e1d0eb8df702264a47466e4ea9040118b1", + "blob_sha": "35629d72fed0cf92b7091ffdc0ca50d03a8cdff2", "commits": [], - "end_line": 3, - "id": "E1", + "end_line": 2, + "id": "E3", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-category/page/sw-category-detail/store.ts", + "path": "src/Administration/Resources/app/administration/src/app/component/rule/sw-condition-delivery-container/index.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 3 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-category" - }, - { - "count": 2, - "dst": "M:src/Administration/Resources/app/administration/src/app/component", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-cms->M:src/Administration/Resources/app/administration/src/app/component", - "kind": "uses", - "refs": [ + "start_line": 2 + }, { - "blob_sha": "79681a96923c9ad5ee2ef06a9bfc0af7a2e9831d", + "blob_sha": "f84606fa79ab16c1be706e97565a40637b59c30e", "commits": [], - "end_line": 3, - "id": "E1", + "end_line": 9, + "id": "E4", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-cms/elements/text/component/index.js", + "path": "src/Administration/Resources/app/administration/src/app/component/structure/sw-admin-menu-item/sw-admin-menu-item.spec/create-wrapper.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 3 + "start_line": 9 }, { - "blob_sha": "aad5367a8677e2a490e9e6b8df9a4a1ac5d3a590", + "blob_sha": "68b763d2a03ca13b61d3e14f2955efe832b9bc57", "commits": [], - "end_line": 1, - "id": "E2", + "end_line": 7, + "id": "E5", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-cms/elements/text/config/index.js", + "path": "src/Administration/Resources/app/administration/src/app/component/structure/sw-admin-menu/sw-admin-menu.spec/create-wrapper.js", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 1 + "start_line": 7 } ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-cms" + "src": "M:src/Administration/Resources/app/administration/src/app/component" }, { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/app/service", + "count": 8, + "dst": "M:src/Administration/Resources/app/administration/src/app/store", "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-cms->M:src/Administration/Resources/app/administration/src/app/service", + "id": "M:src/Administration/Resources/app/administration/src/app/component->M:src/Administration/Resources/app/administration/src/app/store", "kind": "uses", "refs": [ { - "blob_sha": "338c3b51a689dcf9ef36bd5d1613067c3ea6b8ae", + "blob_sha": "f2d448b67ec4cd778560acea035e44c843691c0d", "commits": [], "end_line": 1, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-cms/default-search-configuration.ts", + "path": "src/Administration/Resources/app/administration/src/app/component/base/sw-alert-deprecated/index.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 1 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-cms" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/app/store", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-cms->M:src/Administration/Resources/app/administration/src/app/store", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "87b034f7dafbde08539d094c5cee49af3b59535f", + "blob_sha": "5248c8f67e7753647973ee117d73f22e70e8dd60", "commits": [], - "end_line": 1, - "id": "E1", + "end_line": 2, + "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-cms/store/cms-page.store.ts", + "path": "src/Administration/Resources/app/administration/src/app/component/extension-api/sw-extension-component-section/index.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 1 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-cms" - }, - { - "count": 7, - "dst": "M:src/Administration/Resources/app/administration/src/core", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-cms->M:src/Administration/Resources/app/administration/src/core", - "kind": "uses", - "refs": [ + "start_line": 2 + }, { - "blob_sha": "044ea7305e0195d88a705fcbc39da6c2b180945b", + "blob_sha": "f979b886c64ccf6cde8a29a1d35821262d337a43", "commits": [], "end_line": 1, - "id": "E1", + "id": "E3", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-cms/elements/product-box/config/index.js", + "path": "src/Administration/Resources/app/administration/src/app/component/extension-api/sw-iframe-renderer/index.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 1 }, { - "blob_sha": "c667540b7551a14ea0a8f5ef85e519f8758a9eb9", + "blob_sha": "f4a97c621108f7d2b8b361e899e421ad60dc39fa", + "commits": [], + "end_line": 4, + "id": "E4", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/app/component/meteor-wrapper/mt-tabs/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + }, + { + "blob_sha": "17d24d74448ec3f91cfac80d006233b0fffbed2f", "commits": [], "end_line": 1, - "id": "E2", + "id": "E5", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-cms/elements/product-description-reviews/config/index.js", + "path": "src/Administration/Resources/app/administration/src/app/component/structure/sw-in-app-purchase-checkout/index.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 1 }, { - "blob_sha": "508eefbf389456945a7b23f0c8c9b770f11a3620", + "blob_sha": "2ffacf1b7811f49777ccf80d0d681c443d102782", "commits": [], - "end_line": 8, - "id": "E3", + "end_line": 1, + "id": "E6", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-cms/elements/product-listing/config/config.spec/fixtures.js", + "path": "src/Administration/Resources/app/administration/src/app/component/structure/sw-media-modal-renderer/index.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 8 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-cms" - }, - { - "count": 2, - "dst": "M:src/Administration/Resources/app/administration/src/app/service", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-custom-entity->M:src/Administration/Resources/app/administration/src/app/service", - "kind": "uses", - "refs": [ + "start_line": 1 + }, { - "blob_sha": "79419fae559170863ca6914f6da58ec9e6154660", + "blob_sha": "45640ed02c822f755ff7f2291acbc94508982dba", "commits": [], - "end_line": 7, - "id": "E1", + "end_line": 2, + "id": "E7", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-custom-entity/page/sw-generic-custom-entity-detail/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/component/structure/sw-modals-renderer/index.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 2 }, { - "blob_sha": "6b38568e69a9adc0b367c543cea7e3b71a03220b", + "blob_sha": "3bc6feb4d1d9c55f52ffac457fbf2540362daf37", "commits": [], - "end_line": 1, - "id": "E2", + "end_line": 7, + "id": "E8", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-custom-entity/page/sw-generic-custom-entity-list/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/component/structure/sw-request-consent-modal/index.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 1 + "start_line": 7 } ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-custom-entity" + "src": "M:src/Administration/Resources/app/administration/src/app/component" }, { - "count": 6, + "count": 29, "dst": "M:src/Administration/Resources/app/administration/src/core", "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-custom-entity->M:src/Administration/Resources/app/administration/src/core", + "id": "M:src/Administration/Resources/app/administration/src/app/component->M:src/Administration/Resources/app/administration/src/core", "kind": "uses", "refs": [ { - "blob_sha": "22ea0cbda7932a42eb8b63b0fb2c751db34f21ea", + "blob_sha": "aed3bb560d3f0677e516e71a0a85b2a5212aaddc", "commits": [], - "end_line": 1, + "end_line": 5, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-custom-entity/component/sw-generic-cms-page-assignment/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/component/app/sw-app-shop-id-change-modal/index.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 1 + "start_line": 5 }, { - "blob_sha": "22ea0cbda7932a42eb8b63b0fb2c751db34f21ea", + "blob_sha": "b8e2375aa183da95d57daeab68e3decc9ebfbe76", "commits": [], "end_line": 2, "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-custom-entity/component/sw-generic-cms-page-assignment/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/component/base/sw-address/index.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 2 }, { - "blob_sha": "6f06fa6f6c1ee2be78e64c40bcff86d4eade98b1", + "blob_sha": "f3d23c84c44a2f0278fac9a92c7b7805d8d0efdb", "commits": [], - "end_line": 6, + "end_line": 5, "id": "E3", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-custom-entity/component/sw-generic-social-media-card/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/component/filter/sw-string-filter/index.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-custom-entity" - }, - { - "count": 3, - "dst": "M:src/Administration/Resources/app/administration/src/app/service", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-customer->M:src/Administration/Resources/app/administration/src/app/service", - "kind": "uses", - "refs": [ + "start_line": 5 + }, { - "blob_sha": "ac5558c3bb15456f3f0cf2daaa451685365baf59", + "blob_sha": "2479cc60371cd9dbefcfbd38668ea55970132733", "commits": [], - "end_line": 1, - "id": "E1", + "end_line": 3, + "id": "E4", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-customer/component/sw-customer-address-form/index.js", + "path": "src/Administration/Resources/app/administration/src/app/component/form/sw-custom-field-set-renderer/index.js", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 1 + "start_line": 3 }, { - "blob_sha": "b4bc171928f2a950604a2193f74afad81a9936af", + "blob_sha": "1d89c6e4dbbab010acddd4cfed56827aa9412230", "commits": [], "end_line": 1, - "id": "E2", + "id": "E5", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-customer/default-search-configuration.js", + "path": "src/Administration/Resources/app/administration/src/app/component/form/sw-dynamic-url-field/index.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 1 }, { - "blob_sha": "0c6a037fc3db737a1c60a78e07db9020a40c748a", + "blob_sha": "1d89c6e4dbbab010acddd4cfed56827aa9412230", "commits": [], "end_line": 2, - "id": "E3", + "id": "E6", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-customer/view/sw-customer-detail-addresses/index.js", + "path": "src/Administration/Resources/app/administration/src/app/component/form/sw-dynamic-url-field/index.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 2 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-customer" - }, - { - "count": 3, - "dst": "M:src/Administration/Resources/app/administration/src/core", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-customer->M:src/Administration/Resources/app/administration/src/core", - "kind": "uses", - "refs": [ - { - "blob_sha": "e43635c5c87d16931b137fefa4d31ff69d8efe23", - "commits": [], - "end_line": 4, - "id": "E1", - "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-customer/component/sw-customer-card/index.js", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 4 - }, - { - "blob_sha": "f7b9be6be1ae6baddf99048202ac6804f9567a7d", - "commits": [], - "end_line": 5, - "id": "E2", - "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-customer/component/sw-customer-imitate-customer-modal/index.js", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 }, { - "blob_sha": "0c6a037fc3db737a1c60a78e07db9020a40c748a", + "blob_sha": "96a9e0b9e7fc4a9829d74246c73ee687003f55c4", "commits": [], "end_line": 1, - "id": "E3", + "id": "E7", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-customer/view/sw-customer-detail-addresses/index.js", + "path": "src/Administration/Resources/app/administration/src/app/component/form/sw-snippet-field-edit-modal/index.js", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 1 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-customer" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/(root)", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-extension->M:src/Administration/Resources/app/administration/src/(root)", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "c49e48fbd1ee0bf05a00175b98d320538c2d22f4", + "blob_sha": "c27b219b9a9f2538b62d87586413b459dd654035", "commits": [], "end_line": 1, - "id": "E1", + "id": "E8", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-extension/service/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/component/form/sw-text-editor/sw-text-editor-link-menu/index.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 1 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-extension" - }, - { - "count": 2, - "dst": "M:src/Administration/Resources/app/administration/src/app/composables", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-extension->M:src/Administration/Resources/app/administration/src/app/composables", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "1e10a67af4375b753ca290dfcf5f1a21449aabd6", + "blob_sha": "c27b219b9a9f2538b62d87586413b459dd654035", "commits": [], "end_line": 2, - "id": "E1", + "id": "E9", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-extension/page/sw-extension-app-module-page/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/component/form/sw-text-editor/sw-text-editor-link-menu/index.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 2 }, { - "blob_sha": "5de087d384d9e1d4a46130f8e45a7557b06aa991", + "blob_sha": "23e57316a201cb4063f2c7c333e4203470d66f73", "commits": [], "end_line": 2, - "id": "E2", + "id": "E10", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-extension/store/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/component/media/sw-model-editor/index.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 2 } ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-extension" + "src": "M:src/Administration/Resources/app/administration/src/app/component" }, { "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/app/service", + "dst": "M:src/Administration/Resources/app/administration/src/module/sw-media", "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-extension->M:src/Administration/Resources/app/administration/src/app/service", + "id": "M:src/Administration/Resources/app/administration/src/app/component->M:src/Administration/Resources/app/administration/src/module/sw-media", "kind": "uses", "refs": [ { - "blob_sha": "bc32db1b0d7255eae93477f23f825d046ad1346f", + "blob_sha": "dbf6ae9e8b6d2ddbde9c67250eca219a67f654e6", "commits": [], - "end_line": 4, + "end_line": 3, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-extension/service/shopware-extension.service.ts", + "path": "src/Administration/Resources/app/administration/src/app/component/media/sw-media-media-item/index.js", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 4 + "start_line": 3 } ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-extension" + "src": "M:src/Administration/Resources/app/administration/src/app/component" }, { "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/app/store", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-extension->M:src/Administration/Resources/app/administration/src/app/store", + "dst": "M:src/Administration/Resources/app/administration/src/module/sw-settings-rule", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/app/component->M:src/Administration/Resources/app/administration/src/module/sw-settings-rule", "kind": "uses", "refs": [ { - "blob_sha": "59dc99c620cda2e52949a526fcddfc7684bf0323", + "blob_sha": "ea25980ef7ce715e179a59cbc56b775431a285d5", "commits": [], - "end_line": 3, + "end_line": 7, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-extension/service/extension-store-action.service.ts", + "path": "src/Administration/Resources/app/administration/src/app/component/rule/sw-condition-unit-menu/index.js", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 3 + "start_line": 7 } ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-extension" + "src": "M:src/Administration/Resources/app/administration/src/app/component" }, { - "count": 11, - "dst": "M:src/Administration/Resources/app/administration/src/core", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-extension->M:src/Administration/Resources/app/administration/src/core", + "count": 2, + "dst": "M:src/Administration/Resources/app/administration/src/app/store", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/app/composables->M:src/Administration/Resources/app/administration/src/app/store", "kind": "uses", "refs": [ { - "blob_sha": "1e10a67af4375b753ca290dfcf5f1a21449aabd6", + "blob_sha": "86bc7c394fabdd0f0d5de80aa54c681b530230d5", "commits": [], - "end_line": 1, + "end_line": 8, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-extension/page/sw-extension-app-module-page/index.ts", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 1 - }, - { - "blob_sha": "bf0cb250ea2ae153f1248a4ae9df97acfd2dc315", - "commits": [], - "end_line": 1, - "id": "E2", - "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-extension/page/sw-extension-my-extensions-account/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/composables/use-notification-translation.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 1 + "start_line": 8 }, { - "blob_sha": "bf0cb250ea2ae153f1248a4ae9df97acfd2dc315", + "blob_sha": "1b108385de9e11f39e8208e51836e4b9a326ba66", "commits": [], "end_line": 6, - "id": "E3", + "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-extension/page/sw-extension-my-extensions-account/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/composables/use-notification.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 6 } ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-extension" + "src": "M:src/Administration/Resources/app/administration/src/app/composables" }, { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/module/sw-extension", + "count": 5, + "dst": "M:src/Administration/Resources/app/administration/src/core", "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-first-run-wizard->M:src/Administration/Resources/app/administration/src/module/sw-extension", + "id": "M:src/Administration/Resources/app/administration/src/app/composables->M:src/Administration/Resources/app/administration/src/core", "kind": "uses", "refs": [ { - "blob_sha": "081fce8691ff9ce593a8c6086835b6decaf8ebad", + "blob_sha": "86bc7c394fabdd0f0d5de80aa54c681b530230d5", "commits": [], - "end_line": 1, + "end_line": 7, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-first-run-wizard/component/sw-plugin-card/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/composables/use-notification-translation.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 1 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-first-run-wizard" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/(root)", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-flow->M:src/Administration/Resources/app/administration/src/(root)", - "kind": "uses", - "refs": [ + "start_line": 7 + }, { - "blob_sha": "92b69777d735009ca03be121cafdde43936a719c", + "blob_sha": "d5c5cdff3287f1aabae7949023e9b672ca84b724", "commits": [], - "end_line": 1, - "id": "E1", + "end_line": 7, + "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-flow/service/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/composables/use-position.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 1 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-flow" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/app/service", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-flow->M:src/Administration/Resources/app/administration/src/app/service", - "kind": "uses", - "refs": [ + "start_line": 7 + }, { - "blob_sha": "cf7b1196e23b6b4ad9767d8c480ea11f35b5aa61", + "blob_sha": "d5c5cdff3287f1aabae7949023e9b672ca84b724", "commits": [], - "end_line": 1, - "id": "E1", + "end_line": 6, + "id": "E3", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-flow/default-search-configuration.js", + "path": "src/Administration/Resources/app/administration/src/app/composables/use-position.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 1 + "start_line": 6 + }, + { + "blob_sha": "2de2adc2c2567b73b9ae42a9facb5e9d85d1480a", + "commits": [], + "end_line": 6, + "id": "E4", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/app/composables/use-shortcut.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "0cf59e8f0ec0a6fe92d00b4db3316f7422dccbaf", + "commits": [], + "end_line": 7, + "id": "E5", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/app/composables/use-user-settings.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 } ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-flow" + "src": "M:src/Administration/Resources/app/administration/src/app/composables" }, { - "count": 4, - "dst": "M:src/Administration/Resources/app/administration/src/core", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-flow->M:src/Administration/Resources/app/administration/src/core", + "count": 5, + "dst": "M:src/Administration/Resources/app/administration/src/module/sw-cms", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/app/composables->M:src/Administration/Resources/app/administration/src/module/sw-cms", "kind": "uses", "refs": [ { - "blob_sha": "e0cfa237a7612d59156cf35410bed98379a1edc9", + "blob_sha": "e3f42d302eb46e080e70edafc9f31cba04161e46", "commits": [], - "end_line": 2, + "end_line": 6, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-flow/page/sw-flow-index/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/composables/use-cms-element-deprecated.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 2 + "start_line": 6 }, { - "blob_sha": "e0cfa237a7612d59156cf35410bed98379a1edc9", + "blob_sha": "916e000485b59d006aa99d9606f7332ea341bfa4", "commits": [], - "end_line": 1, + "end_line": 9, "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-flow/page/sw-flow-index/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/composables/use-cms-element.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 1 + "start_line": 9 }, { - "blob_sha": "1e73c069f30f5ed95250bdfb2f560443c034a538", + "blob_sha": "916e000485b59d006aa99d9606f7332ea341bfa4", "commits": [], - "end_line": 2, + "end_line": 8, "id": "E3", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-flow/view/listing/sw-flow-list-flow-templates/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/composables/use-cms-element.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 2 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-flow" - }, - { - "count": 2, - "dst": "M:src/Administration/Resources/app/administration/src/app/service", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-import-export->M:src/Administration/Resources/app/administration/src/app/service", - "kind": "uses", - "refs": [ + "start_line": 8 + }, { - "blob_sha": "e03528f750bc3f9a910b5536167a37dea3f32fa3", + "blob_sha": "95e95aa645e843b644fcc68437868342281c4ab6", "commits": [], - "end_line": 4, - "id": "E1", + "end_line": 9, + "id": "E4", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-import-export/component/sw-import-export-edit-profile-field-indicators/index.js", + "path": "src/Administration/Resources/app/administration/src/app/composables/use-cms-state.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 4 + "start_line": 9 }, { - "blob_sha": "6f729d026a42e57e7aedfd7601f659b2ebf2147c", + "blob_sha": "95e95aa645e843b644fcc68437868342281c4ab6", "commits": [], - "end_line": 4, - "id": "E2", + "end_line": 8, + "id": "E5", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-import-export/component/sw-import-export-edit-profile-general/index.js", + "path": "src/Administration/Resources/app/administration/src/app/composables/use-cms-state.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 4 + "start_line": 8 } ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-import-export" + "src": "M:src/Administration/Resources/app/administration/src/app/composables" }, { - "count": 4, - "dst": "M:src/Administration/Resources/app/administration/src/core", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-import-export->M:src/Administration/Resources/app/administration/src/core", + "count": 2, + "dst": "M:src/Administration/Resources/app/administration/src/app/service", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/app/decorator->M:src/Administration/Resources/app/administration/src/app/service", "kind": "uses", "refs": [ { - "blob_sha": "dfaad805c7bcdbe22734363a1b7bec69c905555c", + "blob_sha": "e2efb990d72036f339b052fa2ed7971237e54259", "commits": [], "end_line": 4, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-import-export/component/profile-wizard/sw-import-export-new-profile-wizard-general-page/index.js", + "path": "src/Administration/Resources/app/administration/src/app/decorator/condition-type-data-provider.decorator.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 4 }, { - "blob_sha": "6ba5a461a131ccb863e86615ab765e25eecc77fd", - "commits": [], - "end_line": 5, - "id": "E2", - "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-import-export/service/importExport.service.ts", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 - }, - { - "blob_sha": "6ba5a461a131ccb863e86615ab765e25eecc77fd", + "blob_sha": "89fb203ad3b702f4f7c50af815a6fa6b1ffb4559", "commits": [], "end_line": 4, - "id": "E3", + "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-import-export/service/importExport.service.ts", + "path": "src/Administration/Resources/app/administration/src/app/decorator/state-styling-provider.decorator.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 4 } ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-import-export" + "src": "M:src/Administration/Resources/app/administration/src/app/decorator" }, { "count": 1, "dst": "M:src/Administration/Resources/app/administration/src/core", "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-integration->M:src/Administration/Resources/app/administration/src/core", + "id": "M:src/Administration/Resources/app/administration/src/app/filter->M:src/Administration/Resources/app/administration/src/core", "kind": "uses", "refs": [ { - "blob_sha": "323766550a72f365e0848f06416ef653ac617bbf", + "blob_sha": "c95fa27c9751785ad08f54976405a860ed3dada7", "commits": [], "end_line": 4, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-integration/component/sw-integration-mcp-allowlist/index.js", + "path": "src/Administration/Resources/app/administration/src/app/filter/currency.filter.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 4 } ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-integration" + "src": "M:src/Administration/Resources/app/administration/src/app/filter" }, { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/app/service", + "count": 2, + "dst": "M:src/Administration/Resources/app/administration/src/app/component", "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-landing-page->M:src/Administration/Resources/app/administration/src/app/service", + "id": "M:src/Administration/Resources/app/administration/src/app/init->M:src/Administration/Resources/app/administration/src/app/component", "kind": "uses", - "refs": [], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-landing-page" + "refs": [ + { + "blob_sha": "38fc474e1f6993408279f644c9f3f3fd4436c826", + "commits": [], + "end_line": 13, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/app/init/component-helper.init.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 13 + }, + { + "blob_sha": "788d2ee0942f33ec08a8fb962a5b58e3167396db", + "commits": [], + "end_line": 5, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/app/init/component.init.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/app/init" }, { - "count": 3, - "dst": "M:src/Administration/Resources/app/administration/src/core", + "count": 4, + "dst": "M:src/Administration/Resources/app/administration/src/app/composables", "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-login->M:src/Administration/Resources/app/administration/src/core", + "id": "M:src/Administration/Resources/app/administration/src/app/init->M:src/Administration/Resources/app/administration/src/app/composables", "kind": "uses", "refs": [ { - "blob_sha": "a2787135df2e303d83c55d8b80d6179d05f552b4", + "blob_sha": "681ca131851f2a5b76213786050cf37a587dbfcc", "commits": [], - "end_line": 6, + "end_line": 8, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-login/page/index/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/init/context.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 8 }, { - "blob_sha": "fbc9b8fc775960d30f2ae7605c34c4a4d35e1333", + "blob_sha": "681ca131851f2a5b76213786050cf37a587dbfcc", "commits": [], - "end_line": 5, + "end_line": 9, "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-login/view/sw-login-login/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/init/context.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 9 }, { - "blob_sha": "fbc9b8fc775960d30f2ae7605c34c4a4d35e1333", + "blob_sha": "5a93eba96c192c3a13e1adbe97799fb7241d1831", "commits": [], "end_line": 7, "id": "E3", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-login/view/sw-login-login/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/init/extension-data-handling.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 7 + }, + { + "blob_sha": "c72af4cb469fef8d5f03cf24e71f23adc4a6a2aa", + "commits": [], + "end_line": 4, + "id": "E4", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/app/init/theme.init.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 } ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-login" + "src": "M:src/Administration/Resources/app/administration/src/app/init" }, { "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/core", + "dst": "M:src/Administration/Resources/app/administration/src/app/directive", "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-mail-template->M:src/Administration/Resources/app/administration/src/core", + "id": "M:src/Administration/Resources/app/administration/src/app/init->M:src/Administration/Resources/app/administration/src/app/directive", "kind": "uses", "refs": [ { - "blob_sha": "d4a6241338e2fcf7cc4f8715633c311eb3be5aac", + "blob_sha": "cd2d447eb85a90267c83946288e9f62686591a56", "commits": [], - "end_line": 2, + "end_line": 7, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-mail-template/page/sw-mail-template-detail/index.js", + "path": "src/Administration/Resources/app/administration/src/app/init/directive.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 2 + "start_line": 7 } ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-mail-template" + "src": "M:src/Administration/Resources/app/administration/src/app/init" }, { "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/app/service", + "dst": "M:src/Administration/Resources/app/administration/src/app/filter", "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-manufacturer->M:src/Administration/Resources/app/administration/src/app/service", + "id": "M:src/Administration/Resources/app/administration/src/app/init->M:src/Administration/Resources/app/administration/src/app/filter", "kind": "uses", "refs": [ { - "blob_sha": "f540714ff0e98f8f191f68839fee62c780dd8a9c", + "blob_sha": "2a0838b5d0b8a0264dd86a29528ef705fcc6d6df", "commits": [], "end_line": 5, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-manufacturer/default-search-configuration.js", + "path": "src/Administration/Resources/app/administration/src/app/init/filter.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 5 } ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-manufacturer" + "src": "M:src/Administration/Resources/app/administration/src/app/init" }, { "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/app/component", + "dst": "M:src/Administration/Resources/app/administration/src/app/mixin", "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-media->M:src/Administration/Resources/app/administration/src/app/component", + "id": "M:src/Administration/Resources/app/administration/src/app/init->M:src/Administration/Resources/app/administration/src/app/mixin", "kind": "uses", "refs": [ { - "blob_sha": "4c16bd267a80a2d2da1692be76c7416c177f361e", + "blob_sha": "22e88bfe1c95bc345ab2ba9d1bc615ac677302c1", "commits": [], - "end_line": 1, + "end_line": 5, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-media/component/sw-media-collapse/index.js", + "path": "src/Administration/Resources/app/administration/src/app/init/mixin.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 1 + "start_line": 5 } ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-media" + "src": "M:src/Administration/Resources/app/administration/src/app/init" }, { - "count": 2, - "dst": "M:src/Administration/Resources/app/administration/src/app/service", + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/app/route", "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-media->M:src/Administration/Resources/app/administration/src/app/service", + "id": "M:src/Administration/Resources/app/administration/src/app/init->M:src/Administration/Resources/app/administration/src/app/route", "kind": "uses", "refs": [ { - "blob_sha": "e8e7c961e82f94664060baaeec2a561cdc5c2054", + "blob_sha": "7cae41a1e608e4f2c8cc72e982d8e98d262cbff3", "commits": [], - "end_line": 1, + "end_line": 8, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-media/component/sidebar/sw-media-quickinfo/index.js", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 1 - }, - { - "blob_sha": "c1fc9b8031d727bd2f21a5cc889e98b527dde5ee", - "commits": [], - "end_line": 1, - "id": "E2", - "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-media/default-search-configuration.js", + "path": "src/Administration/Resources/app/administration/src/app/init/router.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 1 + "start_line": 8 } ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-media" + "src": "M:src/Administration/Resources/app/administration/src/app/init" }, { "count": 1, "dst": "M:src/Administration/Resources/app/administration/src/app/service", "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-newsletter-recipient->M:src/Administration/Resources/app/administration/src/app/service", + "id": "M:src/Administration/Resources/app/administration/src/app/init->M:src/Administration/Resources/app/administration/src/app/service", "kind": "uses", "refs": [ { - "blob_sha": "a5a64bbfbc8a0ad3233c765f02de3fee88819574", + "blob_sha": "38fc474e1f6993408279f644c9f3f3fd4436c826", "commits": [], - "end_line": 4, + "end_line": 15, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-newsletter-recipient/default-search-configuration.js", + "path": "src/Administration/Resources/app/administration/src/app/init/component-helper.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 4 + "start_line": 15 } ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-newsletter-recipient" + "src": "M:src/Administration/Resources/app/administration/src/app/init" }, { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/core", + "count": 8, + "dst": "M:src/Administration/Resources/app/administration/src/app/store", "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-oauth-authorize->M:src/Administration/Resources/app/administration/src/core", + "id": "M:src/Administration/Resources/app/administration/src/app/init->M:src/Administration/Resources/app/administration/src/app/store", "kind": "uses", "refs": [ { - "blob_sha": "969292cab58db3b84c485798c425ff422d8ae83e", + "blob_sha": "e3232889ac7e53419b62f9e261c9a986b5d11da9", "commits": [], - "end_line": 1, + "end_line": 6, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-oauth-authorize/page/index/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/init/action-button.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 1 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-oauth-authorize" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/app/composables", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-order->M:src/Administration/Resources/app/administration/src/app/composables", - "kind": "uses", - "refs": [ + "start_line": 6 + }, { - "blob_sha": "c65694837d5a3ff07ed84b6fe3c8420aa0e9ef85", + "blob_sha": "681ca131851f2a5b76213786050cf37a587dbfcc", "commits": [], - "end_line": 4, - "id": "E1", + "end_line": 7, + "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-order/store/order-detail.store.ts", + "path": "src/Administration/Resources/app/administration/src/app/init/context.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 4 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-order" - }, - { - "count": 4, - "dst": "M:src/Administration/Resources/app/administration/src/app/service", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-order->M:src/Administration/Resources/app/administration/src/app/service", - "kind": "uses", - "refs": [ + "start_line": 7 + }, { - "blob_sha": "774d134e34d201ee1c946b6338f4178ed716a510", + "blob_sha": "58821e7febb73b8f2a6a7c844363ba4f01b08f71", "commits": [], - "end_line": 2, - "id": "E1", + "end_line": 1, + "id": "E3", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-order/component/sw-order-address-selection/index.js", + "path": "src/Administration/Resources/app/administration/src/app/init/extension-component-sections.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 2 + "start_line": 1 }, { - "blob_sha": "0ec2c1a813c457220ffbc94832ad5e8072694080", + "blob_sha": "576e5f19cc2fc44cb46f72cb73d50673fda2b32d", "commits": [], "end_line": 6, - "id": "E2", + "id": "E4", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-order/component/sw-order-document-card/index.js", + "path": "src/Administration/Resources/app/administration/src/app/init/in-app-purchase-checkout.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 6 }, { - "blob_sha": "2a08e65fab3ec5f442056aa977449c7f7250d0da", + "blob_sha": "77a0f5274bc9eca1cd6b5344d9ce27d6ef22fd74", "commits": [], "end_line": 1, - "id": "E3", + "id": "E5", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-order/component/sw-order-new-customer-modal/index.js", + "path": "src/Administration/Resources/app/administration/src/app/init/notification.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 1 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-order" - }, - { - "count": 22, - "dst": "M:src/Administration/Resources/app/administration/src/core", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-order->M:src/Administration/Resources/app/administration/src/core", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "774d134e34d201ee1c946b6338f4178ed716a510", + "blob_sha": "11a952fbf8427ea78502a81d6c1c0a4d3d611a68", "commits": [], - "end_line": 1, - "id": "E1", + "end_line": 8, + "id": "E6", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-order/component/sw-order-address-selection/index.js", + "path": "src/Administration/Resources/app/administration/src/app/init/teaser-popover.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 1 + "start_line": 8 }, { - "blob_sha": "e4dc2eb161af77f3fd365f2e3446e805a9b00635", + "blob_sha": "11a952fbf8427ea78502a81d6c1c0a4d3d611a68", "commits": [], - "end_line": 1, - "id": "E2", + "end_line": 9, + "id": "E7", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-order/component/sw-order-create-document-modal/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/init/teaser-popover.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 1 + "start_line": 9 }, { - "blob_sha": "a1045d0884da573d27701a29bea62a9623f7dcf6", + "blob_sha": "50addd41ce3a1f0875dc28cc95bac25fb5d9c69b", "commits": [], - "end_line": 1, - "id": "E3", + "end_line": 8, + "id": "E8", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-order/component/sw-order-create-options/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/init/topbar-button.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 1 + "start_line": 8 } ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-order" + "src": "M:src/Administration/Resources/app/administration/src/app/init" }, { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/module/sw-promotion-v2", + "count": 8, + "dst": "M:src/Administration/Resources/app/administration/src/core", "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-order->M:src/Administration/Resources/app/administration/src/module/sw-promotion-v2", + "id": "M:src/Administration/Resources/app/administration/src/app/init->M:src/Administration/Resources/app/administration/src/core", "kind": "uses", "refs": [ { - "blob_sha": "fc70b9428c45814d68e4d8926814ac901883bfa5", + "blob_sha": "088814fff989f3828c87b128d7b8173f60958cc2", "commits": [], - "end_line": 1, + "end_line": 6, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-order/component/sw-order-create-promotion-modal/index.js", + "path": "src/Administration/Resources/app/administration/src/app/init/consent.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 1 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-order" - }, - { - "count": 6, - "dst": "M:src/Administration/Resources/app/administration/src/app/composables", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-product->M:src/Administration/Resources/app/administration/src/app/composables", - "kind": "uses", - "refs": [ + "start_line": 6 + }, { - "blob_sha": "2d4cc0c6f50f4bcd02c78ef60cb9e182d80fec58", + "blob_sha": "088814fff989f3828c87b128d7b8173f60958cc2", "commits": [], - "end_line": 6, - "id": "E1", + "end_line": 5, + "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-product/component/sw-product-document-form/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/init/consent.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 5 }, { - "blob_sha": "2d4cc0c6f50f4bcd02c78ef60cb9e182d80fec58", + "blob_sha": "088814fff989f3828c87b128d7b8173f60958cc2", "commits": [], "end_line": 4, - "id": "E2", + "id": "E3", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-product/component/sw-product-document-form/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/init/consent.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 4 }, { - "blob_sha": "0574f9a0de86cd7dc6fc8f28c0d0f6e41cd8686d", + "blob_sha": "088814fff989f3828c87b128d7b8173f60958cc2", "commits": [], - "end_line": 5, - "id": "E3", + "end_line": 7, + "id": "E4", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-product/component/sw-product-document-form/sw-product-document-download/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/init/consent.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-product" - }, - { - "count": 4, - "dst": "M:src/Administration/Resources/app/administration/src/app/service", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-product->M:src/Administration/Resources/app/administration/src/app/service", - "kind": "uses", - "refs": [ + "start_line": 7 + }, { - "blob_sha": "c37efdf8aab655f79eb73f50534d96757ce32ac4", + "blob_sha": "5a93eba96c192c3a13e1adbe97799fb7241d1831", "commits": [], - "end_line": 9, - "id": "E1", + "end_line": 6, + "id": "E5", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-product/component/sw-product-document-form/sw-product-document-form.spec/helpers.ts", + "path": "src/Administration/Resources/app/administration/src/app/init/extension-data-handling.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 9 + "start_line": 6 }, { - "blob_sha": "4d1a9caca47e47947444e165e1070f1eeff4b2d0", + "blob_sha": "744a50d099e1a2f6db5fadee05e50fbe37f4bb24", "commits": [], - "end_line": 5, - "id": "E2", + "end_line": 1, + "id": "E6", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-product/default-search-configuration.js", + "path": "src/Administration/Resources/app/administration/src/app/init/filter-factory.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 1 }, { - "blob_sha": "647917d5eafd78f207a07369656ac75493c09222", + "blob_sha": "f2ef854f13a4b4055a7b06c23bb1c7c1d17202bb", "commits": [], - "end_line": 5, - "id": "E3", + "end_line": 4, + "id": "E7", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-product/page/sw-product-detail/index.js", + "path": "src/Administration/Resources/app/administration/src/app/init/http.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-product" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/app/store", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-product->M:src/Administration/Resources/app/administration/src/app/store", - "kind": "uses", - "refs": [ + "start_line": 4 + }, { - "blob_sha": "7e72734cd1474ad6aa17c4986897ae6ba1c25d0e", + "blob_sha": "4ae6f7511e4f7864bc7e6a25c7e814b3a710b87f", "commits": [], - "end_line": 6, - "id": "E1", + "end_line": 2, + "id": "E8", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-product/page/sw-product-detail/store.ts", + "path": "src/Administration/Resources/app/administration/src/app/init/telemetry.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 2 } ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-product" + "src": "M:src/Administration/Resources/app/administration/src/app/init" }, { - "count": 13, - "dst": "M:src/Administration/Resources/app/administration/src/core", + "count": 2, + "dst": "M:src/Administration/Resources/app/administration/src/module/(root)", "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-product->M:src/Administration/Resources/app/administration/src/core", + "id": "M:src/Administration/Resources/app/administration/src/app/init->M:src/Administration/Resources/app/administration/src/module/(root)", "kind": "uses", "refs": [ { - "blob_sha": "2d4cc0c6f50f4bcd02c78ef60cb9e182d80fec58", + "blob_sha": "d1219038b6021aadd0fa0636d15219d72996aca6", "commits": [], "end_line": 5, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-product/component/sw-product-document-form/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/init/login.init.js", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 5 }, { - "blob_sha": "bfda1d3bd25f9b5d13e620394c8bd5b10bd7db3c", + "blob_sha": "63dfd1c359f6747349f8a4f5dae179f56cfb2c34", "commits": [], - "end_line": 6, + "end_line": 5, "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-product/component/sw-product-document-form/sw-product-document-edit-modal/index.ts", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 - }, - { - "blob_sha": "c37efdf8aab655f79eb73f50534d96757ce32ac4", - "commits": [], - "end_line": 8, - "id": "E3", - "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-product/component/sw-product-document-form/sw-product-document-form.spec/helpers.ts", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 8 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-product" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/app/service", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-product-stream->M:src/Administration/Resources/app/administration/src/app/service", - "kind": "uses", - "refs": [ - { - "blob_sha": "7c64ba13ab2ecd442a3eb17ddf1b104af9cea88c", - "commits": [], - "end_line": 1, - "id": "E1", - "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-product-stream/default-search-configuration.js", + "path": "src/Administration/Resources/app/administration/src/app/init/modules.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 1 + "start_line": 5 } ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-product-stream" + "src": "M:src/Administration/Resources/app/administration/src/app/init" }, { "count": 2, "dst": "M:src/Administration/Resources/app/administration/src/app/composables", "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-profile->M:src/Administration/Resources/app/administration/src/app/composables", + "id": "M:src/Administration/Resources/app/administration/src/app/init-post->M:src/Administration/Resources/app/administration/src/app/composables", "kind": "uses", "refs": [ { - "blob_sha": "b6c774b06b09f59a2f72681d54d9f272fc418dca", + "blob_sha": "42c2c4f4bcf428d8683dde9ffe2d9cee74d30c65", "commits": [], "end_line": 7, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-profile/page/sw-profile-index/index.js", + "path": "src/Administration/Resources/app/administration/src/app/init-post/user-information.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 7 }, { - "blob_sha": "b6c774b06b09f59a2f72681d54d9f272fc418dca", + "blob_sha": "42c2c4f4bcf428d8683dde9ffe2d9cee74d30c65", "commits": [], "end_line": 6, "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-profile/page/sw-profile-index/index.js", + "path": "src/Administration/Resources/app/administration/src/app/init-post/user-information.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 6 } ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-profile" + "src": "M:src/Administration/Resources/app/administration/src/app/init-post" }, { "count": 1, "dst": "M:src/Administration/Resources/app/administration/src/app/service", "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-profile->M:src/Administration/Resources/app/administration/src/app/service", + "id": "M:src/Administration/Resources/app/administration/src/app/init-post->M:src/Administration/Resources/app/administration/src/app/service", "kind": "uses", "refs": [ { - "blob_sha": "b6c774b06b09f59a2f72681d54d9f272fc418dca", + "blob_sha": "189cb189bbfb53866f0f73bcee901ebaf51e3b93", "commits": [], - "end_line": 5, + "end_line": 9, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-profile/page/sw-profile-index/index.js", + "path": "src/Administration/Resources/app/administration/src/app/init-post/product-analytics.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 9 } ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-profile" + "src": "M:src/Administration/Resources/app/administration/src/app/init-post" }, { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/core", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-profile->M:src/Administration/Resources/app/administration/src/core", + "count": 3, + "dst": "M:src/Administration/Resources/app/administration/src/app/store", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/app/init-post->M:src/Administration/Resources/app/administration/src/app/store", "kind": "uses", "refs": [ { - "blob_sha": "b6c774b06b09f59a2f72681d54d9f272fc418dca", + "blob_sha": "42c2c4f4bcf428d8683dde9ffe2d9cee74d30c65", "commits": [], - "end_line": 4, + "end_line": 5, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-profile/page/sw-profile-index/index.js", + "path": "src/Administration/Resources/app/administration/src/app/init-post/user-information.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 4 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-profile" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/app/service", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-promotion-v2->M:src/Administration/Resources/app/administration/src/app/service", - "kind": "uses", - "refs": [ + "start_line": 5 + }, { - "blob_sha": "b6d83fa50d238d2eb6968f65d735a331f27c04e4", + "blob_sha": "c276cf4821f17bd460d6c005433e34499d969375", "commits": [], - "end_line": 4, - "id": "E1", + "end_line": 10, + "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-promotion-v2/default-search-configuration.js", + "path": "src/Administration/Resources/app/administration/src/app/init-post/worker.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 4 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-promotion-v2" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/core", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-promotion-v2->M:src/Administration/Resources/app/administration/src/core", - "kind": "uses", - "refs": [ + "start_line": 10 + }, { - "blob_sha": "0245ed2c902c9240dbab2ed7116a5ac9ebf61a92", + "blob_sha": "c276cf4821f17bd460d6c005433e34499d969375", "commits": [], - "end_line": 4, - "id": "E1", + "end_line": 13, + "id": "E3", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-promotion-v2/helper/promotion.helper.js", + "path": "src/Administration/Resources/app/administration/src/app/init-post/worker.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 4 + "start_line": 13 } ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-promotion-v2" + "src": "M:src/Administration/Resources/app/administration/src/app/init-post" }, { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/app/service", + "count": 11, + "dst": "M:src/Administration/Resources/app/administration/src/core", "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-property->M:src/Administration/Resources/app/administration/src/app/service", + "id": "M:src/Administration/Resources/app/administration/src/app/init-post->M:src/Administration/Resources/app/administration/src/core", "kind": "uses", "refs": [ { - "blob_sha": "f2bba4977913edb4b89f83603a2cbbfe25a88ffb", + "blob_sha": "189cb189bbfb53866f0f73bcee901ebaf51e3b93", "commits": [], "end_line": 5, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-property/default-search-configuration.js", + "path": "src/Administration/Resources/app/administration/src/app/init-post/product-analytics.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 5 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-property" - }, - { - "count": 2, - "dst": "M:src/Administration/Resources/app/administration/src/app/service", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-sales-channel->M:src/Administration/Resources/app/administration/src/app/service", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "70b3bd253d251126b5b58e5041f4026c423e635a", + "blob_sha": "189cb189bbfb53866f0f73bcee901ebaf51e3b93", "commits": [], - "end_line": 5, - "id": "E1", + "end_line": 7, + "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-sales-channel/default-search-configuration.js", + "path": "src/Administration/Resources/app/administration/src/app/init-post/product-analytics.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 7 }, { - "blob_sha": "d77097ac28599dfc525c4f9f9526e9e9f8e1a63c", + "blob_sha": "189cb189bbfb53866f0f73bcee901ebaf51e3b93", "commits": [], - "end_line": 5, - "id": "E2", + "end_line": 6, + "id": "E3", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-sales-channel/page/sw-sales-channel-detail/index.js", + "path": "src/Administration/Resources/app/administration/src/app/init-post/product-analytics.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-sales-channel" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/core", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-sales-channel->M:src/Administration/Resources/app/administration/src/core", - "kind": "uses", - "refs": [ + "start_line": 6 + }, { - "blob_sha": "99b56775390a0d6c5e9d51b8d6561ba65b00a2f9", + "blob_sha": "189cb189bbfb53866f0f73bcee901ebaf51e3b93", "commits": [], - "end_line": 6, - "id": "E1", + "end_line": 8, + "id": "E4", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-sales-channel/service/sales-channel-favorites.service.ts", + "path": "src/Administration/Resources/app/administration/src/app/init-post/product-analytics.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-sales-channel" - }, - { - "count": 2, - "dst": "M:src/Administration/Resources/app/administration/src/app/store", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings->M:src/Administration/Resources/app/administration/src/app/store", - "kind": "uses", - "refs": [ + "start_line": 8 + }, { - "blob_sha": "c110cf6ce5c1b6af97f944fffd820339c140bcfa", + "blob_sha": "c276cf4821f17bd460d6c005433e34499d969375", "commits": [], - "end_line": 5, - "id": "E1", + "end_line": 11, + "id": "E5", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings/page/sw-settings-index/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/init-post/worker.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 11 }, { - "blob_sha": "c110cf6ce5c1b6af97f944fffd820339c140bcfa", + "blob_sha": "c276cf4821f17bd460d6c005433e34499d969375", "commits": [], - "end_line": 4, - "id": "E2", + "end_line": 12, + "id": "E6", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings/page/sw-settings-index/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/init-post/worker.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 4 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings" - }, - { - "count": 3, - "dst": "M:src/Administration/Resources/app/administration/src/core", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings->M:src/Administration/Resources/app/administration/src/core", - "kind": "uses", - "refs": [ + "start_line": 12 + }, { - "blob_sha": "6bb2cfb908d9fb6d1cc66f218bce7edfbdc80ee8", + "blob_sha": "c276cf4821f17bd460d6c005433e34499d969375", "commits": [], - "end_line": 5, - "id": "E1", + "end_line": 9, + "id": "E7", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings/component/sw-system-config/index.js", + "path": "src/Administration/Resources/app/administration/src/app/init-post/worker.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 9 }, { - "blob_sha": "6bb2cfb908d9fb6d1cc66f218bce7edfbdc80ee8", + "blob_sha": "c276cf4821f17bd460d6c005433e34499d969375", "commits": [], "end_line": 6, - "id": "E2", + "id": "E8", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings/component/sw-system-config/index.js", + "path": "src/Administration/Resources/app/administration/src/app/init-post/worker.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 6 }, { - "blob_sha": "6bb2cfb908d9fb6d1cc66f218bce7edfbdc80ee8", + "blob_sha": "c276cf4821f17bd460d6c005433e34499d969375", "commits": [], - "end_line": 7, - "id": "E3", + "end_line": 2, + "id": "E9", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings/component/sw-system-config/index.js", + "path": "src/Administration/Resources/app/administration/src/app/init-post/worker.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 2 + }, + { + "blob_sha": "c276cf4821f17bd460d6c005433e34499d969375", + "commits": [], + "end_line": 3, + "id": "E10", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/app/init-post/worker.init.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 3 } ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings" + "src": "M:src/Administration/Resources/app/administration/src/app/init-post" }, { "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/core", + "dst": "M:src/Administration/Resources/app/administration/src/app/state", "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-cache->M:src/Administration/Resources/app/administration/src/core", + "id": "M:src/Administration/Resources/app/administration/src/app/init-pre->M:src/Administration/Resources/app/administration/src/app/state", "kind": "uses", "refs": [ { - "blob_sha": "b363dd5bf6bd2648f37a62b352b23e46b02aaed4", + "blob_sha": "614a6b0d42207142a112aaae707ff7b8684dde9c", "commits": [], - "end_line": 4, + "end_line": 6, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings-cache/page/sw-settings-cache-index/index.js", + "path": "src/Administration/Resources/app/administration/src/app/init-pre/state.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 4 + "start_line": 6 } ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-cache" + "src": "M:src/Administration/Resources/app/administration/src/app/init-pre" }, { - "count": 2, - "dst": "M:src/Administration/Resources/app/administration/src/app/directive", + "count": 24, + "dst": "M:src/Administration/Resources/app/administration/src/app/store", "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-country->M:src/Administration/Resources/app/administration/src/app/directive", + "id": "M:src/Administration/Resources/app/administration/src/app/init-pre->M:src/Administration/Resources/app/administration/src/app/store", "kind": "uses", "refs": [ { - "blob_sha": "1df2c6315bb08115477f4de7f122357de8702a5c", + "blob_sha": "a694e0db421f278755ddf84af74037fe2ddddbcf", "commits": [], - "end_line": 2, + "end_line": 8, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings-country/component/sw-multi-snippet-drag-and-drop/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/init-pre/store.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 2 + "start_line": 8 }, { - "blob_sha": "7fc9ca359aa868819a1cb52206ed84f3e0b82bd8", + "blob_sha": "a694e0db421f278755ddf84af74037fe2ddddbcf", "commits": [], - "end_line": 3, + "end_line": 2, "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings-country/component/sw-settings-country-address-handling/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/init-pre/store.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 3 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-country" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/core", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-country->M:src/Administration/Resources/app/administration/src/core", - "kind": "uses", - "refs": [ + "start_line": 2 + }, { - "blob_sha": "7fc9ca359aa868819a1cb52206ed84f3e0b82bd8", + "blob_sha": "a694e0db421f278755ddf84af74037fe2ddddbcf", "commits": [], - "end_line": 2, - "id": "E1", + "end_line": 3, + "id": "E3", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings-country/component/sw-settings-country-address-handling/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/init-pre/store.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 2 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-country" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/app/service", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-customer-group->M:src/Administration/Resources/app/administration/src/app/service", - "kind": "uses", - "refs": [ + "start_line": 3 + }, { - "blob_sha": "184b1392430033564bab8286e749768ddc36e3d5", + "blob_sha": "a694e0db421f278755ddf84af74037fe2ddddbcf", "commits": [], - "end_line": 1, - "id": "E1", + "end_line": 7, + "id": "E4", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings-customer-group/default-search-configuration.js", + "path": "src/Administration/Resources/app/administration/src/app/init-pre/store.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 1 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-customer-group" - }, - { - "count": 2, - "dst": "M:src/Administration/Resources/app/administration/src/core", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-message-stats->M:src/Administration/Resources/app/administration/src/core", - "kind": "uses", - "refs": [ + "start_line": 7 + }, { - "blob_sha": "f6ca4aa20e628b82b03f4b77ab6a2347f414fc5c", + "blob_sha": "a694e0db421f278755ddf84af74037fe2ddddbcf", "commits": [], - "end_line": 2, - "id": "E1", + "end_line": 4, + "id": "E5", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings-message-stats/page/sw-settings-message-stats/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/init-pre/store.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 2 + "start_line": 4 }, { - "blob_sha": "f6ca4aa20e628b82b03f4b77ab6a2347f414fc5c", + "blob_sha": "a694e0db421f278755ddf84af74037fe2ddddbcf", "commits": [], - "end_line": 3, - "id": "E2", + "end_line": 5, + "id": "E6", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings-message-stats/page/sw-settings-message-stats/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/init-pre/store.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 3 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-message-stats" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/app/service", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-payment->M:src/Administration/Resources/app/administration/src/app/service", - "kind": "uses", - "refs": [ + "start_line": 5 + }, { - "blob_sha": "e6a9d67adb14c7150b1024444b1db8be5daa902b", + "blob_sha": "a694e0db421f278755ddf84af74037fe2ddddbcf", "commits": [], - "end_line": 1, - "id": "E1", + "end_line": 6, + "id": "E7", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings-payment/default-search-configuration.js", + "path": "src/Administration/Resources/app/administration/src/app/init-pre/store.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 1 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-payment" - }, - { - "count": 2, - "dst": "M:src/Administration/Resources/app/administration/src/core", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-payment->M:src/Administration/Resources/app/administration/src/core", - "kind": "uses", - "refs": [ + "start_line": 6 + }, { - "blob_sha": "aabb1522aa83128bb7b71829fd2584935458987a", + "blob_sha": "a694e0db421f278755ddf84af74037fe2ddddbcf", "commits": [], "end_line": 1, - "id": "E1", + "id": "E8", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings-payment/page/sw-settings-payment-overview/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/init-pre/store.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 1 }, { - "blob_sha": "aabb1522aa83128bb7b71829fd2584935458987a", + "blob_sha": "a694e0db421f278755ddf84af74037fe2ddddbcf", "commits": [], - "end_line": 2, - "id": "E2", + "end_line": 9, + "id": "E9", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings-payment/page/sw-settings-payment-overview/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/init-pre/store.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 2 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-payment" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/app/service", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-rule->M:src/Administration/Resources/app/administration/src/app/service", - "kind": "uses", - "refs": [ + "start_line": 9 + }, { - "blob_sha": "23e839ae1328b5d8bb36e97877b976f722b0b468", + "blob_sha": "a694e0db421f278755ddf84af74037fe2ddddbcf", "commits": [], - "end_line": 1, - "id": "E1", + "end_line": 10, + "id": "E10", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings-rule/default-search-configuration.js", + "path": "src/Administration/Resources/app/administration/src/app/init-pre/store.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 1 + "start_line": 10 } ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-rule" + "src": "M:src/Administration/Resources/app/administration/src/app/init-pre" }, { "count": 1, "dst": "M:src/Administration/Resources/app/administration/src/core", "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-rule->M:src/Administration/Resources/app/administration/src/core", + "id": "M:src/Administration/Resources/app/administration/src/app/init-pre->M:src/Administration/Resources/app/administration/src/core", "kind": "uses", "refs": [ { - "blob_sha": "9387e80c3984cdbf80c81aee1236f066b3caa952", + "blob_sha": "614a6b0d42207142a112aaae707ff7b8684dde9c", "commits": [], - "end_line": 1, + "end_line": 7, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings-rule/component/sw-settings-rule-add-assignment-modal/index.js", + "path": "src/Administration/Resources/app/administration/src/app/init-pre/state.init.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 1 + "start_line": 7 } ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-rule" + "src": "M:src/Administration/Resources/app/administration/src/app/init-pre" }, { "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/core", + "dst": "M:src/Administration/Resources/app/administration/src/app/composables", "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-search->M:src/Administration/Resources/app/administration/src/core", + "id": "M:src/Administration/Resources/app/administration/src/app/mixin->M:src/Administration/Resources/app/administration/src/app/composables", "kind": "uses", "refs": [ { - "blob_sha": "43c58857299ddefcad9c8a420e76abaed59dd03d", + "blob_sha": "1c46c44bc30304ba00d794cc1693b55d38a8e3a1", "commits": [], "end_line": 6, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings-search/init/services.init.js", + "path": "src/Administration/Resources/app/administration/src/app/mixin/salutation.mixin.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 6 } ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-search" + "src": "M:src/Administration/Resources/app/administration/src/app/mixin" }, { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/(root)", + "count": 2, + "dst": "M:src/Administration/Resources/app/administration/src/app/service", "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-services->M:src/Administration/Resources/app/administration/src/(root)", + "id": "M:src/Administration/Resources/app/administration/src/app/mixin->M:src/Administration/Resources/app/administration/src/app/service", "kind": "uses", "refs": [ { - "blob_sha": "b5ebc683617f3facbcc17155ee2d851661a2a274", + "blob_sha": "2ce0bb1aa30c3f476156064ea4769f78a1a730d9", "commits": [], - "end_line": 4, + "end_line": 7, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings-services/service/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/mixin/generic-condition.mixin.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 4 + "start_line": 7 + }, + { + "blob_sha": "2ce0bb1aa30c3f476156064ea4769f78a1a730d9", + "commits": [], + "end_line": 6, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/app/mixin/generic-condition.mixin.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 } ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-services" + "src": "M:src/Administration/Resources/app/administration/src/app/mixin" }, { - "count": 3, - "dst": "M:src/Administration/Resources/app/administration/src/app/composables", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-services->M:src/Administration/Resources/app/administration/src/app/composables", + "count": 2, + "dst": "M:src/Administration/Resources/app/administration/src/app/store", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/app/mixin->M:src/Administration/Resources/app/administration/src/app/store", "kind": "uses", "refs": [ { - "blob_sha": "e8f3bbf8322e41f314b6a22115474da6e4948eb4", + "blob_sha": "c89d2f42b23d718ab95711a18b606fcd8388ee97", "commits": [], - "end_line": 4, + "end_line": 6, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings-services/component/sw-settings-services-grant-permissions-modal/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/mixin/notification-translation.mixin.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 4 + "start_line": 6 }, { - "blob_sha": "b912fed4cf3a60918fbad8849816ea0e950dedcb", + "blob_sha": "4e6b26261cfaa6a688d7e10f2f5a01b7809be872", "commits": [], "end_line": 5, "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings-services/composables/permissions.ts", + "path": "src/Administration/Resources/app/administration/src/app/mixin/notification.mixin.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 5 - }, - { - "blob_sha": "1562d6280f18f045f12ff20f6395ad222550ad4d", - "commits": [], - "end_line": 2, - "id": "E3", - "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings-services/page/sw-settings-services-index/index.ts", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 2 } ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-services" + "src": "M:src/Administration/Resources/app/administration/src/app/mixin" }, { - "count": 5, + "count": 2, "dst": "M:src/Administration/Resources/app/administration/src/core", "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-services->M:src/Administration/Resources/app/administration/src/core", + "id": "M:src/Administration/Resources/app/administration/src/app/mixin->M:src/Administration/Resources/app/administration/src/core", "kind": "uses", "refs": [ { - "blob_sha": "27867e29c565bd4b4cb70858cddd770cf00cfed7", + "blob_sha": "8f8130b188f9adde9afaf78b50b168d51b5d0053", "commits": [], - "end_line": 4, + "end_line": 7, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings-services/composables/extract-error.ts", + "path": "src/Administration/Resources/app/administration/src/app/mixin/position.mixin.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 4 + "start_line": 7 }, { - "blob_sha": "293b47abe3987246e5a718ab33def93e2fed11ad", + "blob_sha": "8f8130b188f9adde9afaf78b50b168d51b5d0053", "commits": [], - "end_line": 5, + "end_line": 6, "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings-services/service/shopware-services.service.ts", + "path": "src/Administration/Resources/app/administration/src/app/mixin/position.mixin.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 - }, + "start_line": 6 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/app/mixin" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/module/sw-settings-rule", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/app/mixin->M:src/Administration/Resources/app/administration/src/module/sw-settings-rule", + "kind": "uses", + "refs": [ { - "blob_sha": "293b47abe3987246e5a718ab33def93e2fed11ad", + "blob_sha": "2ce0bb1aa30c3f476156064ea4769f78a1a730d9", "commits": [], - "end_line": 7, - "id": "E3", + "end_line": 8, + "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings-services/service/shopware-services.service.ts", + "path": "src/Administration/Resources/app/administration/src/app/mixin/generic-condition.mixin.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 8 } ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-services" + "src": "M:src/Administration/Resources/app/administration/src/app/mixin" }, { - "count": 2, - "dst": "M:src/Administration/Resources/app/administration/src/app/service", + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/core", "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-shipping->M:src/Administration/Resources/app/administration/src/app/service", + "id": "M:src/Administration/Resources/app/administration/src/app/plugin->M:src/Administration/Resources/app/administration/src/core", "kind": "uses", "refs": [ { - "blob_sha": "763905be8120633b857bd70281d38538030d8fde", + "blob_sha": "b131f9667f4cabed592b64a05b50b1bcfe0c67b8", "commits": [], - "end_line": 1, + "end_line": 5, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings-shipping/page/sw-settings-shipping-detail/index.js", + "path": "src/Administration/Resources/app/administration/src/app/plugin/shortcut.plugin.js", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 1 + "start_line": 5 } ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-shipping" + "src": "M:src/Administration/Resources/app/administration/src/app/plugin" }, { - "count": 2, + "count": 3, "dst": "M:src/Administration/Resources/app/administration/src/app/composables", "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-shopware-updates->M:src/Administration/Resources/app/administration/src/app/composables", + "id": "M:src/Administration/Resources/app/administration/src/app/service->M:src/Administration/Resources/app/administration/src/app/composables", "kind": "uses", "refs": [ { - "blob_sha": "43ef101535921416914238dac6067ec3c5b7b0b6", + "blob_sha": "905dcc01fd92ece4f8bc0c2ac2dacbee752cc927", "commits": [], - "end_line": 3, + "end_line": 5, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings-shopware-updates/page/sw-settings-shopware-updates-wizard/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/service/product-analytics-session-snapshot.service.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 3 + "start_line": 5 }, { - "blob_sha": "43ef101535921416914238dac6067ec3c5b7b0b6", + "blob_sha": "905dcc01fd92ece4f8bc0c2ac2dacbee752cc927", "commits": [], "end_line": 4, "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings-shopware-updates/page/sw-settings-shopware-updates-wizard/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/service/product-analytics-session-snapshot.service.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 4 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-shopware-updates" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/core", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-snippet->M:src/Administration/Resources/app/administration/src/core", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "71e55d4d806d7ed7e0277709c9eec5a0b2b13dde", + "blob_sha": "6513ba8dc47b24da6416ca7b94b79448a0442111", "commits": [], - "end_line": 4, - "id": "E1", + "end_line": 2, + "id": "E3", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings-snippet/page/sw-settings-snippet-list/index.js", + "path": "src/Administration/Resources/app/administration/src/app/service/snackbar.service.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 4 + "start_line": 2 } ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-snippet" + "src": "M:src/Administration/Resources/app/administration/src/app/service" }, { - "count": 1, + "count": 10, "dst": "M:src/Administration/Resources/app/administration/src/core", "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-tag->M:src/Administration/Resources/app/administration/src/core", + "id": "M:src/Administration/Resources/app/administration/src/app/service->M:src/Administration/Resources/app/administration/src/core", "kind": "uses", "refs": [ { - "blob_sha": "049fe4872dd6a00e330e522b00462dd47781bae6", + "blob_sha": "e2025a3a64f4bf31d4d32cd3d703a4f2bb7dacc1", "commits": [], - "end_line": 4, + "end_line": 6, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings-tag/component/sw-settings-tag-detail-assignments/index.js", + "path": "src/Administration/Resources/app/administration/src/app/service/entity-validation.service.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 4 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-tag" - }, - { - "count": 3, - "dst": "M:src/Administration/Resources/app/administration/src/core", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-tax->M:src/Administration/Resources/app/administration/src/core", - "kind": "uses", - "refs": [ + "start_line": 6 + }, { - "blob_sha": "aecd54aef94323bf1c0dd3aebd9a4cf342dd7a18", + "blob_sha": "e2025a3a64f4bf31d4d32cd3d703a4f2bb7dacc1", "commits": [], - "end_line": 1, - "id": "E1", + "end_line": 7, + "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings-tax/component/sw-settings-tax-provider-sorting-modal/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/service/entity-validation.service.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 1 + "start_line": 7 }, { - "blob_sha": "95f2029cb1754ff908c6a04f7f17a1897a1effa0", + "blob_sha": "e2025a3a64f4bf31d4d32cd3d703a4f2bb7dacc1", "commits": [], - "end_line": 2, - "id": "E2", + "end_line": 8, + "id": "E3", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings-tax/page/sw-settings-tax-provider-detail/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/service/entity-validation.service.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 2 + "start_line": 8 }, { - "blob_sha": "95f2029cb1754ff908c6a04f7f17a1897a1effa0", + "blob_sha": "e2025a3a64f4bf31d4d32cd3d703a4f2bb7dacc1", + "commits": [], + "end_line": 9, + "id": "E4", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/app/service/entity-validation.service.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "e6a603739dfdd6938784a4a18cd3117bfc578ea4", "commits": [], "end_line": 1, - "id": "E3", + "id": "E5", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings-tax/page/sw-settings-tax-provider-detail/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/service/feature.service.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 1 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-tax" - }, - { - "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/app/service", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-units->M:src/Administration/Resources/app/administration/src/app/service", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "061c4050cbd5444378f6ce146bacb5259136749b", + "blob_sha": "ddf984860c23a8e1020d060b6c950d483374e201", + "commits": [], + "end_line": 5, + "id": "E6", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/app/service/product-type.api.service.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "ddf984860c23a8e1020d060b6c950d483374e201", "commits": [], "end_line": 7, - "id": "E1", + "id": "E7", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings-units/page/sw-settings-units-detail/index.ts", + "path": "src/Administration/Resources/app/administration/src/app/service/product-type.api.service.ts", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 7 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-units" - }, - { - "count": 2, - "dst": "M:src/Administration/Resources/app/administration/src/core", - "how": "relative", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-units->M:src/Administration/Resources/app/administration/src/core", - "kind": "uses", - "refs": [ + }, + { + "blob_sha": "ddf984860c23a8e1020d060b6c950d483374e201", + "commits": [], + "end_line": 8, + "id": "E8", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/app/service/product-type.api.service.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "ddf984860c23a8e1020d060b6c950d483374e201", + "commits": [], + "end_line": 9, + "id": "E9", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/app/service/product-type.api.service.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "7c17725e644b0434396c352e2f3e0a702de4af33", + "commits": [], + "end_line": 6, + "id": "E10", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/app/service/search-type.service.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/app/service" + }, + { + "count": 2, + "dst": "M:src/Administration/Resources/app/administration/src/module/sw-extension", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/app/service->M:src/Administration/Resources/app/administration/src/module/sw-extension", + "kind": "uses", + "refs": [ + { + "blob_sha": "696009bcb78f85f6eb242d8c509385c604a28914", + "commits": [], + "end_line": 1, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/app/service/discount-campaign.service.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + }, + { + "blob_sha": "874fb209831e733a74ce9eba19570a83f6512ced", + "commits": [], + "end_line": 4, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/app/service/extension-helper.service.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/app/service" + }, + { + "count": 5, + "dst": "M:src/Administration/Resources/app/administration/src/app/composables", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/app/store->M:src/Administration/Resources/app/administration/src/app/composables", + "kind": "uses", + "refs": [ + { + "blob_sha": "8567902113ab644f74bf6a2cbb727962a58ccbe7", + "commits": [], + "end_line": 5, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/app/store/block-override.store.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "5015c82f0c76fe08a211131018f7f84804726257", + "commits": [], + "end_line": 4, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/app/store/context.store.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + }, + { + "blob_sha": "f3183dab5094baf938e386a55b96b04dade0dc80", + "commits": [], + "end_line": 4, + "id": "E3", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/app/store/session.store.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + }, + { + "blob_sha": "889d046f9fc04ae5fdded1a209431b3dac13d612", + "commits": [], + "end_line": 5, + "id": "E4", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/app/store/system.store.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "0de9a6f4de84f78145aefcb315d5cf55f6ac0d21", + "commits": [], + "end_line": 4, + "id": "E5", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/app/store/whats-new.store.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/app/store" + }, + { + "count": 5, + "dst": "M:src/Administration/Resources/app/administration/src/core", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/app/store->M:src/Administration/Resources/app/administration/src/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "e9c8b4e994bfd188cd0301db98967cef61575e29", + "commits": [], + "end_line": 7, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/app/store/admin-menu.store.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "e9c8b4e994bfd188cd0301db98967cef61575e29", + "commits": [], + "end_line": 6, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/app/store/admin-menu.store.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "dffd46a26fd9bed6e0398d8c4281cc89cfb26b61", + "commits": [], + "end_line": 4, + "id": "E3", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/app/store/error.store.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + }, + { + "blob_sha": "31fdb2bb81780fe9605e35b6c5e0fd04d620b8a3", + "commits": [], + "end_line": 1, + "id": "E4", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/app/store/notification.store.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + }, + { + "blob_sha": "3869b23b7a2a7bf567d18fe9037ab6ec8f252c54", + "commits": [], + "end_line": 4, + "id": "E5", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/app/store/shopware-apps.store.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/app/store" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/module/sw-extension", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/app/store->M:src/Administration/Resources/app/administration/src/module/sw-extension", + "kind": "uses", + "refs": [ + { + "blob_sha": "e9633dd000ecc0bbe2e79460a067e81a3f874f8e", + "commits": [], + "end_line": 1, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/app/store/marketing.store.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/app/store" + }, + { + "count": 3, + "dst": "M:src/Administration/Resources/app/administration/src/app/adapter", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/core->M:src/Administration/Resources/app/administration/src/app/adapter", + "kind": "uses", + "refs": [ + { + "blob_sha": "7da8e5927eaf6b375c1526652c4804c6fe093dd3", + "commits": [], + "end_line": 6, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/core/application.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "7649d0ddf38714261c211ae8385f1a5f072632e6", + "commits": [], + "end_line": 10, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/core/factory/async-component.factory.spec/native-block-condition.fixtures.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 10 + }, + { + "blob_sha": "197151e2133f2b643ba1cbeeded8f89f4bd99146", + "commits": [], + "end_line": 52, + "id": "E3", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/core/shopware.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 52 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/core" + }, + { + "count": 5, + "dst": "M:src/Administration/Resources/app/administration/src/app/component", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/core->M:src/Administration/Resources/app/administration/src/app/component", + "kind": "uses", + "refs": [ + { + "blob_sha": "7649d0ddf38714261c211ae8385f1a5f072632e6", + "commits": [], + "end_line": 51, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/core/factory/async-component.factory.spec/native-block-condition.fixtures.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 51 + }, + { + "blob_sha": "7649d0ddf38714261c211ae8385f1a5f072632e6", + "commits": [], + "end_line": 11, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/core/factory/async-component.factory.spec/native-block-condition.fixtures.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 11 + }, + { + "blob_sha": "7649d0ddf38714261c211ae8385f1a5f072632e6", + "commits": [], + "end_line": 49, + "id": "E3", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/core/factory/async-component.factory.spec/native-block-condition.fixtures.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 49 + }, + { + "blob_sha": "7649d0ddf38714261c211ae8385f1a5f072632e6", + "commits": [], + "end_line": 48, + "id": "E4", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/core/factory/async-component.factory.spec/native-block-condition.fixtures.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 48 + }, + { + "blob_sha": "4e0768d867a5aed2d525136193ef9c9ccf1e30dd", + "commits": [], + "end_line": 5, + "id": "E5", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/core/factory/transform-legacy-block-conditionals.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/core" + }, + { + "count": 5, + "dst": "M:src/Administration/Resources/app/administration/src/app/composables", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/core->M:src/Administration/Resources/app/administration/src/app/composables", + "kind": "uses", + "refs": [ + { + "blob_sha": "e0cc8a1eae59288bea0bb872ca9000e2392f13c0", + "commits": [], + "end_line": 1, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/core/factory/api-context.factory.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + }, + { + "blob_sha": "d96524360d5e46794036d99211a4bf40454fa012", + "commits": [], + "end_line": 1, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/core/factory/app-context.factory.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + }, + { + "blob_sha": "1ce8016e31ce445d60f13544deeb0bcd723445eb", + "commits": [], + "end_line": 8, + "id": "E3", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/core/service/plugin-updates-listener.service.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "197151e2133f2b643ba1cbeeded8f89f4bd99146", + "commits": [], + "end_line": 64, + "id": "E4", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/core/shopware.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 64 + }, + { + "blob_sha": "197151e2133f2b643ba1cbeeded8f89f4bd99146", + "commits": [], + "end_line": 63, + "id": "E5", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/core/shopware.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 63 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/core" + }, + { + "count": 6, + "dst": "M:src/Administration/Resources/app/administration/src/app/store", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/core->M:src/Administration/Resources/app/administration/src/app/store", + "kind": "uses", + "refs": [ + { + "blob_sha": "7da8e5927eaf6b375c1526652c4804c6fe093dd3", + "commits": [], + "end_line": 5, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/core/application.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "499750800d2f175ba2fa875e75836f4a3f7e6fd2", + "commits": [], + "end_line": 5, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/core/consent/sdk-handler.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "b05de1da2336df620426d005fb6e82b8340188e1", + "commits": [], + "end_line": 12, + "id": "E3", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/core/factory/worker-notification.factory.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 12 + }, + { + "blob_sha": "e9018a7677157c6ddee4277f88c787335d4d9014", + "commits": [], + "end_line": 8, + "id": "E4", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/core/service/login.service.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "1ce8016e31ce445d60f13544deeb0bcd723445eb", + "commits": [], + "end_line": 7, + "id": "E5", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/core/service/plugin-updates-listener.service.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "197151e2133f2b643ba1cbeeded8f89f4bd99146", + "commits": [], + "end_line": 45, + "id": "E6", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/core/shopware.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 45 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/core" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/module/sw-cms", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/core->M:src/Administration/Resources/app/administration/src/module/sw-cms", + "kind": "uses", + "refs": [ + { + "blob_sha": "197151e2133f2b643ba1cbeeded8f89f4bd99146", + "commits": [], + "end_line": 56, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/core/shopware.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 56 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/core" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/module/sw-customer", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/core->M:src/Administration/Resources/app/administration/src/module/sw-customer", + "kind": "uses", + "refs": [ + { + "blob_sha": "197151e2133f2b643ba1cbeeded8f89f4bd99146", + "commits": [], + "end_line": 57, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/core/shopware.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 57 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/core" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/module/sw-flow", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/core->M:src/Administration/Resources/app/administration/src/module/sw-flow", + "kind": "uses", + "refs": [ + { + "blob_sha": "197151e2133f2b643ba1cbeeded8f89f4bd99146", + "commits": [], + "end_line": 58, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/core/shopware.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 58 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/core" + }, + { + "count": 5, + "dst": "M:src/Administration/Resources/app/administration/src/module/sw-order", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/core->M:src/Administration/Resources/app/administration/src/module/sw-order", + "kind": "uses", + "refs": [ + { + "blob_sha": "f952d8f247714715b0385899aedb8ab8c365a7ae", + "commits": [], + "end_line": 10, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/core/service/api/cart-store-api.api.service.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 10 + }, + { + "blob_sha": "f952d8f247714715b0385899aedb8ab8c365a7ae", + "commits": [], + "end_line": 11, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/core/service/api/cart-store-api.api.service.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 11 + }, + { + "blob_sha": "aef4bc5bb90ace5a537b1a7cde1784fb74edd8db", + "commits": [], + "end_line": 4, + "id": "E3", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/core/service/api/documentV2.api.service.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + }, + { + "blob_sha": "db2e6c5c0ff51a99402996546f4ac248c21c25c6", + "commits": [], + "end_line": 8, + "id": "E4", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/core/service/api/store-context.api.service.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "197151e2133f2b643ba1cbeeded8f89f4bd99146", + "commits": [], + "end_line": 62, + "id": "E5", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/core/shopware.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 62 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/core" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/module/sw-promotion-v2", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/core->M:src/Administration/Resources/app/administration/src/module/sw-promotion-v2", + "kind": "uses", + "refs": [ + { + "blob_sha": "197151e2133f2b643ba1cbeeded8f89f4bd99146", + "commits": [], + "end_line": 34, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/core/shopware.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 34 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/core" + }, + { + "count": 6, + "dst": "M:src/Administration/Resources/app/administration/src/core", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-bulk-edit->M:src/Administration/Resources/app/administration/src/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "98f2dcda53e97a5c915046b7a82eb1abba88256d", + "commits": [], + "end_line": 4, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-bulk-edit/component/sw-bulk-edit-save-modal-process/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + }, + { + "blob_sha": "7c76ecd783e230fe9428842a27a087df0119de77", + "commits": [], + "end_line": 6, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-bulk-edit/component/sw-bulk-edit-save-modal-success/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "c48e892809258adc8933f97e8e0563839c108199", + "commits": [], + "end_line": 5, + "id": "E3", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-bulk-edit/page/sw-bulk-edit-order/deprecated-members.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "5954df2be19c78533b23618f5c578a9740f9c8fb", + "commits": [], + "end_line": 2, + "id": "E4", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-bulk-edit/service/handler/bulk-edit-customer.handler.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 2 + }, + { + "blob_sha": "af621427c3c4b64872b6cd6024f2888e90421880", + "commits": [], + "end_line": 2, + "id": "E5", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-bulk-edit/service/handler/bulk-edit-order.handler.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 2 + }, + { + "blob_sha": "f31ead56bbd23297dac302f672416eea897cd780", + "commits": [], + "end_line": 2, + "id": "E6", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-bulk-edit/service/handler/bulk-edit-product.handler.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 2 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-bulk-edit" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/module/sw-order", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-bulk-edit->M:src/Administration/Resources/app/administration/src/module/sw-order", + "kind": "uses", + "refs": [ + { + "blob_sha": "7c76ecd783e230fe9428842a27a087df0119de77", + "commits": [], + "end_line": 7, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-bulk-edit/component/sw-bulk-edit-save-modal-success/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-bulk-edit" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/module/sw-product", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-bulk-edit->M:src/Administration/Resources/app/administration/src/module/sw-product", + "kind": "uses", + "refs": [ + { + "blob_sha": "d45e247041cca9bc5a6c7cf968a52f7cf28d86ca", + "commits": [], + "end_line": 3, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-bulk-edit/page/sw-bulk-edit-product/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 3 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-bulk-edit" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/app/service", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-category->M:src/Administration/Resources/app/administration/src/app/service", + "kind": "uses", + "refs": [ + { + "blob_sha": "de4b661e7b347b9398253f8f8ca93dc09691c5e2", + "commits": [], + "end_line": 1, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-category/default-search-configuration.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-category" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/app/store", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-category->M:src/Administration/Resources/app/administration/src/app/store", + "kind": "uses", + "refs": [ + { + "blob_sha": "9943f8e1d0eb8df702264a47466e4ea9040118b1", + "commits": [], + "end_line": 4, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-category/page/sw-category-detail/store.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-category" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/core", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-category->M:src/Administration/Resources/app/administration/src/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "9943f8e1d0eb8df702264a47466e4ea9040118b1", + "commits": [], + "end_line": 3, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-category/page/sw-category-detail/store.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 3 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-category" + }, + { + "count": 2, + "dst": "M:src/Administration/Resources/app/administration/src/app/component", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-cms->M:src/Administration/Resources/app/administration/src/app/component", + "kind": "uses", + "refs": [ + { + "blob_sha": "79681a96923c9ad5ee2ef06a9bfc0af7a2e9831d", + "commits": [], + "end_line": 3, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-cms/elements/text/component/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 3 + }, + { + "blob_sha": "aad5367a8677e2a490e9e6b8df9a4a1ac5d3a590", + "commits": [], + "end_line": 1, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-cms/elements/text/config/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-cms" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/app/service", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-cms->M:src/Administration/Resources/app/administration/src/app/service", + "kind": "uses", + "refs": [ + { + "blob_sha": "338c3b51a689dcf9ef36bd5d1613067c3ea6b8ae", + "commits": [], + "end_line": 1, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-cms/default-search-configuration.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-cms" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/app/store", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-cms->M:src/Administration/Resources/app/administration/src/app/store", + "kind": "uses", + "refs": [ + { + "blob_sha": "87b034f7dafbde08539d094c5cee49af3b59535f", + "commits": [], + "end_line": 1, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-cms/store/cms-page.store.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-cms" + }, + { + "count": 7, + "dst": "M:src/Administration/Resources/app/administration/src/core", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-cms->M:src/Administration/Resources/app/administration/src/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "044ea7305e0195d88a705fcbc39da6c2b180945b", + "commits": [], + "end_line": 1, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-cms/elements/product-box/config/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + }, + { + "blob_sha": "c667540b7551a14ea0a8f5ef85e519f8758a9eb9", + "commits": [], + "end_line": 1, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-cms/elements/product-description-reviews/config/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + }, + { + "blob_sha": "508eefbf389456945a7b23f0c8c9b770f11a3620", + "commits": [], + "end_line": 8, + "id": "E3", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-cms/elements/product-listing/config/config.spec/fixtures.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "06ab1f75317105920eb6f5c8ae6caec14e516f54", + "commits": [], + "end_line": 1, + "id": "E4", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-cms/elements/video/component/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + }, + { + "blob_sha": "b4c230be3fd615554aab7e4fc33d405cc27d7f69", + "commits": [], + "end_line": 1, + "id": "E5", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-cms/elements/video/config/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + }, + { + "blob_sha": "012d0a052446f98ba32efe1d3b636b3111957f98", + "commits": [], + "end_line": 6, + "id": "E6", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-cms/service/cms-block-favorites.service.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "3544e3434373781f516a8483c13d2bb7bc878ff8", + "commits": [], + "end_line": 6, + "id": "E7", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-cms/service/cms-element-favorites.service.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-cms" + }, + { + "count": 2, + "dst": "M:src/Administration/Resources/app/administration/src/app/service", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-custom-entity->M:src/Administration/Resources/app/administration/src/app/service", + "kind": "uses", + "refs": [ + { + "blob_sha": "79419fae559170863ca6914f6da58ec9e6154660", + "commits": [], + "end_line": 7, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-custom-entity/page/sw-generic-custom-entity-detail/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "6b38568e69a9adc0b367c543cea7e3b71a03220b", + "commits": [], + "end_line": 1, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-custom-entity/page/sw-generic-custom-entity-list/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-custom-entity" + }, + { + "count": 6, + "dst": "M:src/Administration/Resources/app/administration/src/core", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-custom-entity->M:src/Administration/Resources/app/administration/src/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "22ea0cbda7932a42eb8b63b0fb2c751db34f21ea", + "commits": [], + "end_line": 1, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-custom-entity/component/sw-generic-cms-page-assignment/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + }, + { + "blob_sha": "22ea0cbda7932a42eb8b63b0fb2c751db34f21ea", + "commits": [], + "end_line": 2, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-custom-entity/component/sw-generic-cms-page-assignment/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 2 + }, + { + "blob_sha": "6f06fa6f6c1ee2be78e64c40bcff86d4eade98b1", + "commits": [], + "end_line": 6, + "id": "E3", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-custom-entity/component/sw-generic-social-media-card/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "79419fae559170863ca6914f6da58ec9e6154660", + "commits": [], + "end_line": 8, + "id": "E4", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-custom-entity/page/sw-generic-custom-entity-detail/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "6b38568e69a9adc0b367c543cea7e3b71a03220b", + "commits": [], + "end_line": 2, + "id": "E5", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-custom-entity/page/sw-generic-custom-entity-list/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 2 + }, + { + "blob_sha": "6b38568e69a9adc0b367c543cea7e3b71a03220b", + "commits": [], + "end_line": 3, + "id": "E6", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-custom-entity/page/sw-generic-custom-entity-list/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 3 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-custom-entity" + }, + { + "count": 3, + "dst": "M:src/Administration/Resources/app/administration/src/app/service", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-customer->M:src/Administration/Resources/app/administration/src/app/service", + "kind": "uses", + "refs": [ + { + "blob_sha": "ac5558c3bb15456f3f0cf2daaa451685365baf59", + "commits": [], + "end_line": 1, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-customer/component/sw-customer-address-form/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + }, + { + "blob_sha": "b4bc171928f2a950604a2193f74afad81a9936af", + "commits": [], + "end_line": 1, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-customer/default-search-configuration.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + }, + { + "blob_sha": "0c6a037fc3db737a1c60a78e07db9020a40c748a", + "commits": [], + "end_line": 2, + "id": "E3", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-customer/view/sw-customer-detail-addresses/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 2 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-customer" + }, + { + "count": 3, + "dst": "M:src/Administration/Resources/app/administration/src/core", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-customer->M:src/Administration/Resources/app/administration/src/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "e43635c5c87d16931b137fefa4d31ff69d8efe23", + "commits": [], + "end_line": 4, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-customer/component/sw-customer-card/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + }, + { + "blob_sha": "f7b9be6be1ae6baddf99048202ac6804f9567a7d", + "commits": [], + "end_line": 5, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-customer/component/sw-customer-imitate-customer-modal/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "0c6a037fc3db737a1c60a78e07db9020a40c748a", + "commits": [], + "end_line": 1, + "id": "E3", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-customer/view/sw-customer-detail-addresses/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-customer" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/(root)", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-extension->M:src/Administration/Resources/app/administration/src/(root)", + "kind": "uses", + "refs": [ + { + "blob_sha": "c49e48fbd1ee0bf05a00175b98d320538c2d22f4", + "commits": [], + "end_line": 1, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-extension/service/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-extension" + }, + { + "count": 2, + "dst": "M:src/Administration/Resources/app/administration/src/app/composables", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-extension->M:src/Administration/Resources/app/administration/src/app/composables", + "kind": "uses", + "refs": [ + { + "blob_sha": "1e10a67af4375b753ca290dfcf5f1a21449aabd6", + "commits": [], + "end_line": 2, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-extension/page/sw-extension-app-module-page/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 2 + }, + { + "blob_sha": "5de087d384d9e1d4a46130f8e45a7557b06aa991", + "commits": [], + "end_line": 2, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-extension/store/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 2 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-extension" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/app/service", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-extension->M:src/Administration/Resources/app/administration/src/app/service", + "kind": "uses", + "refs": [ + { + "blob_sha": "bc32db1b0d7255eae93477f23f825d046ad1346f", + "commits": [], + "end_line": 4, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-extension/service/shopware-extension.service.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-extension" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/app/store", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-extension->M:src/Administration/Resources/app/administration/src/app/store", + "kind": "uses", + "refs": [ + { + "blob_sha": "59dc99c620cda2e52949a526fcddfc7684bf0323", + "commits": [], + "end_line": 3, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-extension/service/extension-store-action.service.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 3 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-extension" + }, + { + "count": 11, + "dst": "M:src/Administration/Resources/app/administration/src/core", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-extension->M:src/Administration/Resources/app/administration/src/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "1e10a67af4375b753ca290dfcf5f1a21449aabd6", + "commits": [], + "end_line": 1, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-extension/page/sw-extension-app-module-page/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + }, + { + "blob_sha": "bf0cb250ea2ae153f1248a4ae9df97acfd2dc315", + "commits": [], + "end_line": 1, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-extension/page/sw-extension-my-extensions-account/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + }, + { + "blob_sha": "bf0cb250ea2ae153f1248a4ae9df97acfd2dc315", + "commits": [], + "end_line": 6, + "id": "E3", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-extension/page/sw-extension-my-extensions-account/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "59dc99c620cda2e52949a526fcddfc7684bf0323", + "commits": [], + "end_line": 1, + "id": "E4", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-extension/service/extension-store-action.service.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + }, + { + "blob_sha": "59dc99c620cda2e52949a526fcddfc7684bf0323", + "commits": [], + "end_line": 4, + "id": "E5", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-extension/service/extension-store-action.service.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + }, + { + "blob_sha": "59dc99c620cda2e52949a526fcddfc7684bf0323", + "commits": [], + "end_line": 6, + "id": "E6", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-extension/service/extension-store-action.service.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "59dc99c620cda2e52949a526fcddfc7684bf0323", + "commits": [], + "end_line": 2, + "id": "E7", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-extension/service/extension-store-action.service.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 2 + }, + { + "blob_sha": "bc32db1b0d7255eae93477f23f825d046ad1346f", + "commits": [], + "end_line": 2, + "id": "E8", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-extension/service/shopware-extension.service.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 2 + }, + { + "blob_sha": "bc32db1b0d7255eae93477f23f825d046ad1346f", + "commits": [], + "end_line": 3, + "id": "E9", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-extension/service/shopware-extension.service.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 3 + }, + { + "blob_sha": "7ce439697e3071b3224250bf9d7bea909f47a212", + "commits": [], + "end_line": 5, + "id": "E10", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-extension/store/extensions.store.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-extension" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/module/sw-extension", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-first-run-wizard->M:src/Administration/Resources/app/administration/src/module/sw-extension", + "kind": "uses", + "refs": [ + { + "blob_sha": "081fce8691ff9ce593a8c6086835b6decaf8ebad", + "commits": [], + "end_line": 1, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-first-run-wizard/component/sw-plugin-card/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-first-run-wizard" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/(root)", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-flow->M:src/Administration/Resources/app/administration/src/(root)", + "kind": "uses", + "refs": [ + { + "blob_sha": "92b69777d735009ca03be121cafdde43936a719c", + "commits": [], + "end_line": 1, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-flow/service/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-flow" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/app/service", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-flow->M:src/Administration/Resources/app/administration/src/app/service", + "kind": "uses", + "refs": [ + { + "blob_sha": "cf7b1196e23b6b4ad9767d8c480ea11f35b5aa61", + "commits": [], + "end_line": 1, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-flow/default-search-configuration.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-flow" + }, + { + "count": 4, + "dst": "M:src/Administration/Resources/app/administration/src/core", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-flow->M:src/Administration/Resources/app/administration/src/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "e0cfa237a7612d59156cf35410bed98379a1edc9", + "commits": [], + "end_line": 2, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-flow/page/sw-flow-index/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 2 + }, + { + "blob_sha": "e0cfa237a7612d59156cf35410bed98379a1edc9", + "commits": [], + "end_line": 1, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-flow/page/sw-flow-index/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + }, + { + "blob_sha": "1e73c069f30f5ed95250bdfb2f560443c034a538", + "commits": [], + "end_line": 2, + "id": "E3", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-flow/view/listing/sw-flow-list-flow-templates/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 2 + }, + { + "blob_sha": "1e73c069f30f5ed95250bdfb2f560443c034a538", + "commits": [], + "end_line": 1, + "id": "E4", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-flow/view/listing/sw-flow-list-flow-templates/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-flow" + }, + { + "count": 2, + "dst": "M:src/Administration/Resources/app/administration/src/app/service", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-import-export->M:src/Administration/Resources/app/administration/src/app/service", + "kind": "uses", + "refs": [ + { + "blob_sha": "e03528f750bc3f9a910b5536167a37dea3f32fa3", + "commits": [], + "end_line": 4, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-import-export/component/sw-import-export-edit-profile-field-indicators/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + }, + { + "blob_sha": "6f729d026a42e57e7aedfd7601f659b2ebf2147c", + "commits": [], + "end_line": 4, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-import-export/component/sw-import-export-edit-profile-general/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-import-export" + }, + { + "count": 4, + "dst": "M:src/Administration/Resources/app/administration/src/core", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-import-export->M:src/Administration/Resources/app/administration/src/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "dfaad805c7bcdbe22734363a1b7bec69c905555c", + "commits": [], + "end_line": 4, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-import-export/component/profile-wizard/sw-import-export-new-profile-wizard-general-page/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + }, + { + "blob_sha": "6ba5a461a131ccb863e86615ab765e25eecc77fd", + "commits": [], + "end_line": 5, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-import-export/service/importExport.service.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "6ba5a461a131ccb863e86615ab765e25eecc77fd", + "commits": [], + "end_line": 4, + "id": "E3", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-import-export/service/importExport.service.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + }, + { + "blob_sha": "6ba5a461a131ccb863e86615ab765e25eecc77fd", + "commits": [], + "end_line": 6, + "id": "E4", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-import-export/service/importExport.service.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-import-export" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/core", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-integration->M:src/Administration/Resources/app/administration/src/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "323766550a72f365e0848f06416ef653ac617bbf", + "commits": [], + "end_line": 4, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-integration/component/sw-integration-mcp-allowlist/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-integration" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/app/service", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-landing-page->M:src/Administration/Resources/app/administration/src/app/service", + "kind": "uses", + "refs": [], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-landing-page" + }, + { + "count": 3, + "dst": "M:src/Administration/Resources/app/administration/src/core", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-login->M:src/Administration/Resources/app/administration/src/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "a2787135df2e303d83c55d8b80d6179d05f552b4", + "commits": [], + "end_line": 6, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-login/page/index/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "fbc9b8fc775960d30f2ae7605c34c4a4d35e1333", + "commits": [], + "end_line": 5, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-login/view/sw-login-login/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "fbc9b8fc775960d30f2ae7605c34c4a4d35e1333", + "commits": [], + "end_line": 7, + "id": "E3", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-login/view/sw-login-login/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-login" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/core", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-mail-template->M:src/Administration/Resources/app/administration/src/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "d4a6241338e2fcf7cc4f8715633c311eb3be5aac", + "commits": [], + "end_line": 2, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-mail-template/page/sw-mail-template-detail/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 2 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-mail-template" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/app/service", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-manufacturer->M:src/Administration/Resources/app/administration/src/app/service", + "kind": "uses", + "refs": [ + { + "blob_sha": "f540714ff0e98f8f191f68839fee62c780dd8a9c", + "commits": [], + "end_line": 5, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-manufacturer/default-search-configuration.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-manufacturer" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/app/component", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-media->M:src/Administration/Resources/app/administration/src/app/component", + "kind": "uses", + "refs": [ + { + "blob_sha": "4c16bd267a80a2d2da1692be76c7416c177f361e", + "commits": [], + "end_line": 1, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-media/component/sw-media-collapse/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-media" + }, + { + "count": 2, + "dst": "M:src/Administration/Resources/app/administration/src/app/service", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-media->M:src/Administration/Resources/app/administration/src/app/service", + "kind": "uses", + "refs": [ + { + "blob_sha": "e8e7c961e82f94664060baaeec2a561cdc5c2054", + "commits": [], + "end_line": 1, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-media/component/sidebar/sw-media-quickinfo/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + }, + { + "blob_sha": "c1fc9b8031d727bd2f21a5cc889e98b527dde5ee", + "commits": [], + "end_line": 1, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-media/default-search-configuration.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-media" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/app/service", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-newsletter-recipient->M:src/Administration/Resources/app/administration/src/app/service", + "kind": "uses", + "refs": [ + { + "blob_sha": "a5a64bbfbc8a0ad3233c765f02de3fee88819574", + "commits": [], + "end_line": 4, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-newsletter-recipient/default-search-configuration.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-newsletter-recipient" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/core", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-oauth-authorize->M:src/Administration/Resources/app/administration/src/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "969292cab58db3b84c485798c425ff422d8ae83e", + "commits": [], + "end_line": 1, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-oauth-authorize/page/index/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-oauth-authorize" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/app/composables", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-order->M:src/Administration/Resources/app/administration/src/app/composables", + "kind": "uses", + "refs": [ + { + "blob_sha": "c65694837d5a3ff07ed84b6fe3c8420aa0e9ef85", + "commits": [], + "end_line": 4, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-order/store/order-detail.store.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-order" + }, + { + "count": 4, + "dst": "M:src/Administration/Resources/app/administration/src/app/service", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-order->M:src/Administration/Resources/app/administration/src/app/service", + "kind": "uses", + "refs": [ + { + "blob_sha": "774d134e34d201ee1c946b6338f4178ed716a510", + "commits": [], + "end_line": 2, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-order/component/sw-order-address-selection/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 2 + }, + { + "blob_sha": "0ec2c1a813c457220ffbc94832ad5e8072694080", + "commits": [], + "end_line": 6, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-order/component/sw-order-document-card/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "2a08e65fab3ec5f442056aa977449c7f7250d0da", + "commits": [], + "end_line": 1, + "id": "E3", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-order/component/sw-order-new-customer-modal/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + }, + { + "blob_sha": "4c29e67109aa9e233cd6088be2f9937b805300fd", + "commits": [], + "end_line": 1, + "id": "E4", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-order/default-search-configuration.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-order" + }, + { + "count": 22, + "dst": "M:src/Administration/Resources/app/administration/src/core", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-order->M:src/Administration/Resources/app/administration/src/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "774d134e34d201ee1c946b6338f4178ed716a510", + "commits": [], + "end_line": 1, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-order/component/sw-order-address-selection/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + }, + { + "blob_sha": "e4dc2eb161af77f3fd365f2e3446e805a9b00635", + "commits": [], + "end_line": 1, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-order/component/sw-order-create-document-modal/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + }, + { + "blob_sha": "a1045d0884da573d27701a29bea62a9623f7dcf6", + "commits": [], + "end_line": 1, + "id": "E3", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-order/component/sw-order-create-options/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + }, + { + "blob_sha": "bca39c03f16c80012917c6ec76cde5b3f9e4bda5", + "commits": [], + "end_line": 3, + "id": "E4", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-order/component/sw-order-customer-address-select/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 3 + }, + { + "blob_sha": "bca39c03f16c80012917c6ec76cde5b3f9e4bda5", + "commits": [], + "end_line": 4, + "id": "E5", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-order/component/sw-order-customer-address-select/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + }, + { + "blob_sha": "06252c3026b2aba673158d27de5f77e76e4bf553", + "commits": [], + "end_line": 1, + "id": "E6", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-order/component/sw-order-customer-grid/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + }, + { + "blob_sha": "06252c3026b2aba673158d27de5f77e76e4bf553", + "commits": [], + "end_line": 2, + "id": "E7", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-order/component/sw-order-customer-grid/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 2 + }, + { + "blob_sha": "0ec2c1a813c457220ffbc94832ad5e8072694080", + "commits": [], + "end_line": 10, + "id": "E8", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-order/component/sw-order-document-card/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 10 + }, + { + "blob_sha": "0ec2c1a813c457220ffbc94832ad5e8072694080", + "commits": [], + "end_line": 5, + "id": "E9", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-order/component/sw-order-document-card/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "0ec2c1a813c457220ffbc94832ad5e8072694080", + "commits": [], + "end_line": 7, + "id": "E10", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-order/component/sw-order-document-card/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-order" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/module/sw-promotion-v2", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-order->M:src/Administration/Resources/app/administration/src/module/sw-promotion-v2", + "kind": "uses", + "refs": [ + { + "blob_sha": "fc70b9428c45814d68e4d8926814ac901883bfa5", + "commits": [], + "end_line": 1, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-order/component/sw-order-create-promotion-modal/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-order" + }, + { + "count": 6, + "dst": "M:src/Administration/Resources/app/administration/src/app/composables", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-product->M:src/Administration/Resources/app/administration/src/app/composables", + "kind": "uses", + "refs": [ + { + "blob_sha": "2d4cc0c6f50f4bcd02c78ef60cb9e182d80fec58", + "commits": [], + "end_line": 6, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-product/component/sw-product-document-form/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "2d4cc0c6f50f4bcd02c78ef60cb9e182d80fec58", + "commits": [], + "end_line": 4, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-product/component/sw-product-document-form/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + }, + { + "blob_sha": "0574f9a0de86cd7dc6fc8f28c0d0f6e41cd8686d", + "commits": [], + "end_line": 5, + "id": "E3", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-product/component/sw-product-document-form/sw-product-document-download/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "bfda1d3bd25f9b5d13e620394c8bd5b10bd7db3c", + "commits": [], + "end_line": 5, + "id": "E4", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-product/component/sw-product-document-form/sw-product-document-edit-modal/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "52cd98aa58f23a58f7457354b008e237edb86294", + "commits": [], + "end_line": 5, + "id": "E5", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-product/component/sw-product-document-form/sw-product-document-remove-modal/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "60e3fd420e71e551314b89889beff38008eba84c", + "commits": [], + "end_line": 3, + "id": "E6", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-product/component/sw-product-open-in-storefront-modal/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 3 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-product" + }, + { + "count": 4, + "dst": "M:src/Administration/Resources/app/administration/src/app/service", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-product->M:src/Administration/Resources/app/administration/src/app/service", + "kind": "uses", + "refs": [ + { + "blob_sha": "c37efdf8aab655f79eb73f50534d96757ce32ac4", + "commits": [], + "end_line": 9, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-product/component/sw-product-document-form/sw-product-document-form.spec/helpers.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "4d1a9caca47e47947444e165e1070f1eeff4b2d0", + "commits": [], + "end_line": 5, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-product/default-search-configuration.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "647917d5eafd78f207a07369656ac75493c09222", + "commits": [], + "end_line": 5, + "id": "E3", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-product/page/sw-product-detail/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "d768c9b514b37807a5eba5800832d2fbd58bd013", + "commits": [], + "end_line": 5, + "id": "E4", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-product/page/sw-product-list/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-product" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/app/store", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-product->M:src/Administration/Resources/app/administration/src/app/store", + "kind": "uses", + "refs": [ + { + "blob_sha": "7e72734cd1474ad6aa17c4986897ae6ba1c25d0e", + "commits": [], + "end_line": 6, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-product/page/sw-product-detail/store.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-product" + }, + { + "count": 13, + "dst": "M:src/Administration/Resources/app/administration/src/core", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-product->M:src/Administration/Resources/app/administration/src/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "2d4cc0c6f50f4bcd02c78ef60cb9e182d80fec58", + "commits": [], + "end_line": 5, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-product/component/sw-product-document-form/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "bfda1d3bd25f9b5d13e620394c8bd5b10bd7db3c", + "commits": [], + "end_line": 6, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-product/component/sw-product-document-form/sw-product-document-edit-modal/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "c37efdf8aab655f79eb73f50534d96757ce32ac4", + "commits": [], + "end_line": 8, + "id": "E3", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-product/component/sw-product-document-form/sw-product-document-form.spec/helpers.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "60e3fd420e71e551314b89889beff38008eba84c", + "commits": [], + "end_line": 2, + "id": "E4", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-product/component/sw-product-open-in-storefront-modal/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 2 + }, + { + "blob_sha": "e6fef743b320bec016912f286745e47631e2a639", + "commits": [], + "end_line": 6, + "id": "E5", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-product/helper/sw-products-variants-generator.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "e6fef743b320bec016912f286745e47631e2a639", + "commits": [], + "end_line": 7, + "id": "E6", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-product/helper/sw-products-variants-generator.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "360887d294f8cef1a113359a34b892c7c528ad8a", + "commits": [], + "end_line": 4, + "id": "E7", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-product/service/product-document-variant.service.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + }, + { + "blob_sha": "360887d294f8cef1a113359a34b892c7c528ad8a", + "commits": [], + "end_line": 5, + "id": "E8", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-product/service/product-document-variant.service.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "fca633a9c23215a4ac9734d08e90327105c3f1a2", + "commits": [], + "end_line": 9, + "id": "E9", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-product/service/product-storefront-url.api.service.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "fca633a9c23215a4ac9734d08e90327105c3f1a2", + "commits": [], + "end_line": 5, + "id": "E10", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-product/service/product-storefront-url.api.service.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-product" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/app/service", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-product-stream->M:src/Administration/Resources/app/administration/src/app/service", + "kind": "uses", + "refs": [ + { + "blob_sha": "7c64ba13ab2ecd442a3eb17ddf1b104af9cea88c", + "commits": [], + "end_line": 1, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-product-stream/default-search-configuration.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-product-stream" + }, + { + "count": 2, + "dst": "M:src/Administration/Resources/app/administration/src/app/composables", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-profile->M:src/Administration/Resources/app/administration/src/app/composables", + "kind": "uses", + "refs": [ + { + "blob_sha": "b6c774b06b09f59a2f72681d54d9f272fc418dca", + "commits": [], + "end_line": 7, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-profile/page/sw-profile-index/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "b6c774b06b09f59a2f72681d54d9f272fc418dca", + "commits": [], + "end_line": 6, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-profile/page/sw-profile-index/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-profile" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/app/service", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-profile->M:src/Administration/Resources/app/administration/src/app/service", + "kind": "uses", + "refs": [ + { + "blob_sha": "b6c774b06b09f59a2f72681d54d9f272fc418dca", + "commits": [], + "end_line": 5, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-profile/page/sw-profile-index/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-profile" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/core", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-profile->M:src/Administration/Resources/app/administration/src/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "b6c774b06b09f59a2f72681d54d9f272fc418dca", + "commits": [], + "end_line": 4, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-profile/page/sw-profile-index/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-profile" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/app/service", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-promotion-v2->M:src/Administration/Resources/app/administration/src/app/service", + "kind": "uses", + "refs": [ + { + "blob_sha": "b6d83fa50d238d2eb6968f65d735a331f27c04e4", + "commits": [], + "end_line": 4, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-promotion-v2/default-search-configuration.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-promotion-v2" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/core", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-promotion-v2->M:src/Administration/Resources/app/administration/src/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "0245ed2c902c9240dbab2ed7116a5ac9ebf61a92", + "commits": [], + "end_line": 4, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-promotion-v2/helper/promotion.helper.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-promotion-v2" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/app/service", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-property->M:src/Administration/Resources/app/administration/src/app/service", + "kind": "uses", + "refs": [ + { + "blob_sha": "f2bba4977913edb4b89f83603a2cbbfe25a88ffb", + "commits": [], + "end_line": 5, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-property/default-search-configuration.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-property" + }, + { + "count": 2, + "dst": "M:src/Administration/Resources/app/administration/src/app/service", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-sales-channel->M:src/Administration/Resources/app/administration/src/app/service", + "kind": "uses", + "refs": [ + { + "blob_sha": "70b3bd253d251126b5b58e5041f4026c423e635a", + "commits": [], + "end_line": 5, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-sales-channel/default-search-configuration.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "d77097ac28599dfc525c4f9f9526e9e9f8e1a63c", + "commits": [], + "end_line": 5, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-sales-channel/page/sw-sales-channel-detail/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-sales-channel" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/core", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-sales-channel->M:src/Administration/Resources/app/administration/src/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "99b56775390a0d6c5e9d51b8d6561ba65b00a2f9", + "commits": [], + "end_line": 6, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-sales-channel/service/sales-channel-favorites.service.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-sales-channel" + }, + { + "count": 2, + "dst": "M:src/Administration/Resources/app/administration/src/app/store", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings->M:src/Administration/Resources/app/administration/src/app/store", + "kind": "uses", + "refs": [ + { + "blob_sha": "c110cf6ce5c1b6af97f944fffd820339c140bcfa", + "commits": [], + "end_line": 5, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings/page/sw-settings-index/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "c110cf6ce5c1b6af97f944fffd820339c140bcfa", + "commits": [], + "end_line": 4, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings/page/sw-settings-index/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings" + }, + { + "count": 3, + "dst": "M:src/Administration/Resources/app/administration/src/core", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings->M:src/Administration/Resources/app/administration/src/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "6bb2cfb908d9fb6d1cc66f218bce7edfbdc80ee8", + "commits": [], + "end_line": 5, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings/component/sw-system-config/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "6bb2cfb908d9fb6d1cc66f218bce7edfbdc80ee8", + "commits": [], + "end_line": 6, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings/component/sw-system-config/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "6bb2cfb908d9fb6d1cc66f218bce7edfbdc80ee8", + "commits": [], + "end_line": 7, + "id": "E3", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings/component/sw-system-config/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/core", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-cache->M:src/Administration/Resources/app/administration/src/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "b363dd5bf6bd2648f37a62b352b23e46b02aaed4", + "commits": [], + "end_line": 4, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-cache/page/sw-settings-cache-index/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-cache" + }, + { + "count": 2, + "dst": "M:src/Administration/Resources/app/administration/src/app/directive", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-country->M:src/Administration/Resources/app/administration/src/app/directive", + "kind": "uses", + "refs": [ + { + "blob_sha": "1df2c6315bb08115477f4de7f122357de8702a5c", + "commits": [], + "end_line": 2, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-country/component/sw-multi-snippet-drag-and-drop/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 2 + }, + { + "blob_sha": "7fc9ca359aa868819a1cb52206ed84f3e0b82bd8", + "commits": [], + "end_line": 3, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-country/component/sw-settings-country-address-handling/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 3 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-country" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/core", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-country->M:src/Administration/Resources/app/administration/src/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "7fc9ca359aa868819a1cb52206ed84f3e0b82bd8", + "commits": [], + "end_line": 2, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-country/component/sw-settings-country-address-handling/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 2 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-country" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/app/service", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-customer-group->M:src/Administration/Resources/app/administration/src/app/service", + "kind": "uses", + "refs": [ + { + "blob_sha": "184b1392430033564bab8286e749768ddc36e3d5", + "commits": [], + "end_line": 1, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-customer-group/default-search-configuration.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-customer-group" + }, + { + "count": 2, + "dst": "M:src/Administration/Resources/app/administration/src/core", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-message-stats->M:src/Administration/Resources/app/administration/src/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "f6ca4aa20e628b82b03f4b77ab6a2347f414fc5c", + "commits": [], + "end_line": 2, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-message-stats/page/sw-settings-message-stats/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 2 + }, + { + "blob_sha": "f6ca4aa20e628b82b03f4b77ab6a2347f414fc5c", + "commits": [], + "end_line": 3, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-message-stats/page/sw-settings-message-stats/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 3 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-message-stats" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/app/service", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-payment->M:src/Administration/Resources/app/administration/src/app/service", + "kind": "uses", + "refs": [ + { + "blob_sha": "e6a9d67adb14c7150b1024444b1db8be5daa902b", + "commits": [], + "end_line": 1, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-payment/default-search-configuration.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-payment" + }, + { + "count": 2, + "dst": "M:src/Administration/Resources/app/administration/src/core", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-payment->M:src/Administration/Resources/app/administration/src/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "aabb1522aa83128bb7b71829fd2584935458987a", + "commits": [], + "end_line": 1, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-payment/page/sw-settings-payment-overview/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + }, + { + "blob_sha": "aabb1522aa83128bb7b71829fd2584935458987a", + "commits": [], + "end_line": 2, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-payment/page/sw-settings-payment-overview/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 2 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-payment" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/app/service", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-rule->M:src/Administration/Resources/app/administration/src/app/service", + "kind": "uses", + "refs": [ + { + "blob_sha": "23e839ae1328b5d8bb36e97877b976f722b0b468", + "commits": [], + "end_line": 1, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-rule/default-search-configuration.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-rule" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/core", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-rule->M:src/Administration/Resources/app/administration/src/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "9387e80c3984cdbf80c81aee1236f066b3caa952", + "commits": [], + "end_line": 1, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-rule/component/sw-settings-rule-add-assignment-modal/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-rule" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/core", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-search->M:src/Administration/Resources/app/administration/src/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "43c58857299ddefcad9c8a420e76abaed59dd03d", + "commits": [], + "end_line": 6, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-search/init/services.init.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-search" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/(root)", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-services->M:src/Administration/Resources/app/administration/src/(root)", + "kind": "uses", + "refs": [ + { + "blob_sha": "b5ebc683617f3facbcc17155ee2d851661a2a274", + "commits": [], + "end_line": 4, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-services/service/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-services" + }, + { + "count": 3, + "dst": "M:src/Administration/Resources/app/administration/src/app/composables", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-services->M:src/Administration/Resources/app/administration/src/app/composables", + "kind": "uses", + "refs": [ + { + "blob_sha": "e8f3bbf8322e41f314b6a22115474da6e4948eb4", + "commits": [], + "end_line": 4, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-services/component/sw-settings-services-grant-permissions-modal/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + }, + { + "blob_sha": "b912fed4cf3a60918fbad8849816ea0e950dedcb", + "commits": [], + "end_line": 5, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-services/composables/permissions.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "1562d6280f18f045f12ff20f6395ad222550ad4d", + "commits": [], + "end_line": 2, + "id": "E3", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-services/page/sw-settings-services-index/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 2 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-services" + }, + { + "count": 5, + "dst": "M:src/Administration/Resources/app/administration/src/core", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-services->M:src/Administration/Resources/app/administration/src/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "27867e29c565bd4b4cb70858cddd770cf00cfed7", + "commits": [], + "end_line": 4, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-services/composables/extract-error.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + }, + { + "blob_sha": "293b47abe3987246e5a718ab33def93e2fed11ad", + "commits": [], + "end_line": 5, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-services/service/shopware-services.service.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "293b47abe3987246e5a718ab33def93e2fed11ad", + "commits": [], + "end_line": 7, + "id": "E3", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-services/service/shopware-services.service.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "293b47abe3987246e5a718ab33def93e2fed11ad", + "commits": [], + "end_line": 8, + "id": "E4", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-services/service/shopware-services.service.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "293b47abe3987246e5a718ab33def93e2fed11ad", + "commits": [], + "end_line": 6, + "id": "E5", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-services/service/shopware-services.service.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-services" + }, + { + "count": 2, + "dst": "M:src/Administration/Resources/app/administration/src/app/service", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-shipping->M:src/Administration/Resources/app/administration/src/app/service", + "kind": "uses", + "refs": [ + { + "blob_sha": "763905be8120633b857bd70281d38538030d8fde", + "commits": [], + "end_line": 1, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-shipping/page/sw-settings-shipping-detail/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-shipping" + }, + { + "count": 2, + "dst": "M:src/Administration/Resources/app/administration/src/app/composables", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-shopware-updates->M:src/Administration/Resources/app/administration/src/app/composables", + "kind": "uses", + "refs": [ + { + "blob_sha": "43ef101535921416914238dac6067ec3c5b7b0b6", + "commits": [], + "end_line": 3, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-shopware-updates/page/sw-settings-shopware-updates-wizard/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 3 + }, + { + "blob_sha": "43ef101535921416914238dac6067ec3c5b7b0b6", + "commits": [], + "end_line": 4, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-shopware-updates/page/sw-settings-shopware-updates-wizard/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-shopware-updates" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/core", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-snippet->M:src/Administration/Resources/app/administration/src/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "71e55d4d806d7ed7e0277709c9eec5a0b2b13dde", + "commits": [], + "end_line": 4, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-snippet/page/sw-settings-snippet-list/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-snippet" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/core", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-tag->M:src/Administration/Resources/app/administration/src/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "049fe4872dd6a00e330e522b00462dd47781bae6", + "commits": [], + "end_line": 4, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-tag/component/sw-settings-tag-detail-assignments/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-tag" + }, + { + "count": 3, + "dst": "M:src/Administration/Resources/app/administration/src/core", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-tax->M:src/Administration/Resources/app/administration/src/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "aecd54aef94323bf1c0dd3aebd9a4cf342dd7a18", + "commits": [], + "end_line": 1, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-tax/component/sw-settings-tax-provider-sorting-modal/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + }, + { + "blob_sha": "95f2029cb1754ff908c6a04f7f17a1897a1effa0", + "commits": [], + "end_line": 2, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-tax/page/sw-settings-tax-provider-detail/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 2 + }, + { + "blob_sha": "95f2029cb1754ff908c6a04f7f17a1897a1effa0", + "commits": [], + "end_line": 1, + "id": "E3", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-tax/page/sw-settings-tax-provider-detail/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 1 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-tax" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/app/service", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-units->M:src/Administration/Resources/app/administration/src/app/service", + "kind": "uses", + "refs": [ + { + "blob_sha": "061c4050cbd5444378f6ce146bacb5259136749b", + "commits": [], + "end_line": 7, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-units/page/sw-settings-units-detail/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-units" + }, + { + "count": 2, + "dst": "M:src/Administration/Resources/app/administration/src/core", + "how": "relative", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-units->M:src/Administration/Resources/app/administration/src/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "061c4050cbd5444378f6ce146bacb5259136749b", + "commits": [], + "end_line": 6, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-units/page/sw-settings-units-detail/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "061c4050cbd5444378f6ce146bacb5259136749b", + "commits": [], + "end_line": 8, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-units/page/sw-settings-units-detail/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-units" + }, + { + "count": 7, + "dst": "M:src/Administration/Resources/app/administration/src/core", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-usage-data->M:src/Administration/Resources/app/administration/src/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "e603cf5a77aecf42fbde516413efd8ff8e59f2d7", + "commits": [], + "end_line": 4, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-usage-data/component/sw-settings-usage-data-consent-modal-data-provider/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + }, + { + "blob_sha": "4574ff1948e5ea31cf11a2a700d527520c4e5146", + "commits": [], + "end_line": 4, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-usage-data/component/sw-settings-usage-data-consent-modal/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + }, + { + "blob_sha": "4574ff1948e5ea31cf11a2a700d527520c4e5146", + "commits": [], + "end_line": 5, + "id": "E3", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-usage-data/component/sw-settings-usage-data-consent-modal/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "dfe939dca05733bdc9b4040b791b9e37eee3d370", + "commits": [], + "end_line": 4, + "id": "E4", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-usage-data/component/sw-settings-usage-data-profile-consent/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + }, + { + "blob_sha": "dfe939dca05733bdc9b4040b791b9e37eee3d370", + "commits": [], + "end_line": 5, + "id": "E5", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-usage-data/component/sw-settings-usage-data-profile-consent/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "c2b58c1ac6d857d10cac0dbe5d50caddcbcc220d", + "commits": [], + "end_line": 4, + "id": "E6", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-usage-data/component/sw-settings-usage-data-store-data-consent/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + }, + { + "blob_sha": "c2b58c1ac6d857d10cac0dbe5d50caddcbcc220d", + "commits": [], + "end_line": 5, + "id": "E7", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-usage-data/component/sw-settings-usage-data-store-data-consent/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-usage-data" + }, + { + "count": 7, + "dst": "M:src/Administration/Resources/app/administration/src/core", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-webhook->M:src/Administration/Resources/app/administration/src/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "db456f42d846f280817104a8e0dcfd5052e74ee1", + "commits": [], + "end_line": 6, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-webhook/component/sw-settings-webhook-deliveries-modal/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "db456f42d846f280817104a8e0dcfd5052e74ee1", + "commits": [], + "end_line": 5, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-webhook/component/sw-settings-webhook-deliveries-modal/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "45bb6038c6d54cd7811157a0c6728de031898625", + "commits": [], + "end_line": 5, + "id": "E3", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-webhook/component/sw-settings-webhook-roles-modal/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "45bb6038c6d54cd7811157a0c6728de031898625", + "commits": [], + "end_line": 6, + "id": "E4", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-webhook/component/sw-settings-webhook-roles-modal/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "6f8481af4cdf28749804304c15eb531f40887e4c", + "commits": [], + "end_line": 5, + "id": "E5", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-webhook/component/sw-settings-webhook-secret-modal/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "8cd40f5af76cf42ca27f2d5c966392615d925feb", + "commits": [], + "end_line": 6, + "id": "E6", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-webhook/page/sw-settings-webhook-list/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "8cd40f5af76cf42ca27f2d5c966392615d925feb", + "commits": [], + "end_line": 5, + "id": "E7", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-settings-webhook/page/sw-settings-webhook-list/index.ts", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-webhook" + }, + { + "count": 3, + "dst": "M:src/Administration/Resources/app/administration/src/app/composables", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-users-permissions->M:src/Administration/Resources/app/administration/src/app/composables", + "kind": "uses", + "refs": [ + { + "blob_sha": "ecde3cf52fc6e918237687cf5e7796987059827b", + "commits": [], + "end_line": 2, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-users-permissions/page/sw-sso-users-permission-user-detail/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 2 + }, + { + "blob_sha": "69b3de99bb31cd1605799370218fb6d7b66aad05", + "commits": [], + "end_line": 5, + "id": "E2", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-users-permissions/page/sw-users-permissions-user-detail/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "69b3de99bb31cd1605799370218fb6d7b66aad05", + "commits": [], + "end_line": 4, + "id": "E3", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-users-permissions/page/sw-users-permissions-user-detail/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-users-permissions" + }, + { + "count": 1, + "dst": "M:src/Administration/Resources/app/administration/src/core", + "how": "import-path", + "id": "M:src/Administration/Resources/app/administration/src/module/sw-users-permissions->M:src/Administration/Resources/app/administration/src/core", + "kind": "uses", + "refs": [ + { + "blob_sha": "ba4871f328cc8d20eaa0dba89bc60f53c3b054a2", + "commits": [], + "end_line": 4, + "id": "E1", + "kind": "lines", + "path": "src/Administration/Resources/app/administration/src/module/sw-users-permissions/component/sw-users-permissions-role-mcp-reference-modal/index.js", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 4 + } + ], + "src": "M:src/Administration/Resources/app/administration/src/module/sw-users-permissions" + }, + { + "count": 2, + "dst": "M:src/Core/DevOps", + "how": "import-path", + "id": "M:src/Core/(root)->M:src/Core/DevOps", + "kind": "uses", + "refs": [ + { + "blob_sha": "399126e072563d0f03b11ac3be1ab42e580b6994", + "commits": [], + "end_line": 8, + "id": "E1", + "kind": "lines", + "path": "src/Core/Kernel.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "afcca1b2fe92754fa37b1b021536d1810c6658fe", + "commits": [], + "end_line": 7, + "id": "E2", + "kind": "lines", + "path": "src/Core/TestBootstrapper.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + } + ], + "src": "M:src/Core/(root)" + }, + { + "count": 18, + "dst": "M:src/Core/Framework", + "how": "import-path", + "id": "M:src/Core/(root)->M:src/Core/Framework", + "kind": "uses", + "refs": [ + { + "blob_sha": "f9ec637d8135d6c53ff4c42672e2f727ba40f81f", + "commits": [], + "end_line": 5, + "id": "E1", + "kind": "lines", + "path": "src/Core/Defaults.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "399126e072563d0f03b11ac3be1ab42e580b6994", + "commits": [], + "end_line": 9, + "id": "E2", + "kind": "lines", + "path": "src/Core/Kernel.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "399126e072563d0f03b11ac3be1ab42e580b6994", + "commits": [], + "end_line": 10, + "id": "E3", + "kind": "lines", + "path": "src/Core/Kernel.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 10 + }, + { + "blob_sha": "399126e072563d0f03b11ac3be1ab42e580b6994", + "commits": [], + "end_line": 11, + "id": "E4", + "kind": "lines", + "path": "src/Core/Kernel.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 11 + }, + { + "blob_sha": "399126e072563d0f03b11ac3be1ab42e580b6994", + "commits": [], + "end_line": 12, + "id": "E5", + "kind": "lines", + "path": "src/Core/Kernel.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 12 + }, + { + "blob_sha": "399126e072563d0f03b11ac3be1ab42e580b6994", + "commits": [], + "end_line": 13, + "id": "E6", + "kind": "lines", + "path": "src/Core/Kernel.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 13 + }, + { + "blob_sha": "399126e072563d0f03b11ac3be1ab42e580b6994", + "commits": [], + "end_line": 14, + "id": "E7", + "kind": "lines", + "path": "src/Core/Kernel.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 14 + }, + { + "blob_sha": "399126e072563d0f03b11ac3be1ab42e580b6994", + "commits": [], + "end_line": 15, + "id": "E8", + "kind": "lines", + "path": "src/Core/Kernel.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 15 + }, + { + "blob_sha": "399126e072563d0f03b11ac3be1ab42e580b6994", + "commits": [], + "end_line": 16, + "id": "E9", + "kind": "lines", + "path": "src/Core/Kernel.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 16 + }, + { + "blob_sha": "399126e072563d0f03b11ac3be1ab42e580b6994", + "commits": [], + "end_line": 17, + "id": "E10", + "kind": "lines", + "path": "src/Core/Kernel.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 17 + } + ], + "src": "M:src/Core/(root)" + }, + { + "count": 104, + "dst": "M:src/Core/(root)", + "how": "import-path", + "id": "M:src/Core/Checkout->M:src/Core/(root)", + "kind": "uses", + "refs": [ + { + "blob_sha": "96c9b0e21e1c40c6d2cba5d009adf3698757e106", + "commits": [], + "end_line": 12, + "id": "E1", + "kind": "lines", + "path": "src/Core/Checkout/Cart/CartPersister.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 12 + }, + { + "blob_sha": "008d3d2a5f3e2ccd71b7fa40ba5ad6318a6f5924", + "commits": [], + "end_line": 17, + "id": "E2", + "kind": "lines", + "path": "src/Core/Checkout/Cart/CartRuleLoader.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 17 + }, + { + "blob_sha": "780df24e57b25474673909e75f8ddf5e2b7accc7", + "commits": [], + "end_line": 7, + "id": "E3", + "kind": "lines", + "path": "src/Core/Checkout/Cart/CartValueResolver.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "13c35aff33f5f873c43be57aa70a37ecb7b87c34", + "commits": [], + "end_line": 11, + "id": "E4", + "kind": "lines", + "path": "src/Core/Checkout/Cart/Command/CartMigrateCommand.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 11 + }, + { + "blob_sha": "85692249b2e5cd28111b73ccb112f9e571e75f6a", + "commits": [], + "end_line": 21, + "id": "E5", + "kind": "lines", + "path": "src/Core/Checkout/Cart/Delivery/DeliveryBuilder.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 21 + }, + { + "blob_sha": "4d688e8896ffc7ddfbb429475af05f815e6e2f40", + "commits": [], + "end_line": 23, + "id": "E6", + "kind": "lines", + "path": "src/Core/Checkout/Cart/Delivery/DeliveryCalculator.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 23 + }, + { + "blob_sha": "2d4705adbeb60351d827d70a0349a17b56b64cae", + "commits": [], + "end_line": 6, + "id": "E7", + "kind": "lines", + "path": "src/Core/Checkout/Cart/Delivery/Struct/DeliveryDate.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "48e0f0f8fa6ee0c8d108691c8d399e922e436cc5", + "commits": [], + "end_line": 15, + "id": "E8", + "kind": "lines", + "path": "src/Core/Checkout/Cart/Facade/ScriptPriceStubs.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 15 + }, + { + "blob_sha": "dd5148a480026f29c28a99ebe3a995188e2e0957", + "commits": [], + "end_line": 13, + "id": "E9", + "kind": "lines", + "path": "src/Core/Checkout/Cart/Facade/Traits/DiscountTrait.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 13 + }, + { + "blob_sha": "056fba3d8bc0f9dd58f0ae91b9c451587236add4", + "commits": [], + "end_line": 13, + "id": "E10", + "kind": "lines", + "path": "src/Core/Checkout/Cart/Facade/Traits/SurchargeTrait.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 13 + } + ], + "src": "M:src/Core/Checkout" + }, + { + "count": 185, + "dst": "M:src/Core/Content", + "how": "import-path", + "id": "M:src/Core/Checkout->M:src/Core/Content", + "kind": "uses", + "refs": [ + { + "blob_sha": "cfda2eee07e968c00de7b21fc3f9e4f762e93e57", + "commits": [], + "end_line": 5, + "id": "E1", + "kind": "lines", + "path": "src/Core/Checkout/Cart/AbstractRuleLoader.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "b698986070528d73efcf3df435f0115f2acdec60", + "commits": [], + "end_line": 16, + "id": "E2", + "kind": "lines", + "path": "src/Core/Checkout/Cart/Address/AddressValidator.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 16 + }, + { + "blob_sha": "b698986070528d73efcf3df435f0115f2acdec60", + "commits": [], + "end_line": 17, + "id": "E3", + "kind": "lines", + "path": "src/Core/Checkout/Cart/Address/AddressValidator.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 17 + }, + { + "blob_sha": "07ec523a43bf8cb43ba8fca180f0a508014500f4", + "commits": [], + "end_line": 5, + "id": "E4", + "kind": "lines", + "path": "src/Core/Checkout/Cart/CachedRuleLoader.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "8707e8f8164d1070266d74d79cbbb0ae601e49ec", + "commits": [], + "end_line": 12, + "id": "E5", + "kind": "lines", + "path": "src/Core/Checkout/Cart/CartException.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 12 + }, + { + "blob_sha": "008d3d2a5f3e2ccd71b7fa40ba5ad6318a6f5924", + "commits": [], + "end_line": 15, + "id": "E6", + "kind": "lines", + "path": "src/Core/Checkout/Cart/CartRuleLoader.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 15 + }, + { + "blob_sha": "008d3d2a5f3e2ccd71b7fa40ba5ad6318a6f5924", + "commits": [], + "end_line": 16, + "id": "E7", + "kind": "lines", + "path": "src/Core/Checkout/Cart/CartRuleLoader.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 16 + }, + { + "blob_sha": "4ebe9bca1f49eb7e422f3e07bd137b1966afbd8f", + "commits": [], + "end_line": 10, + "id": "E8", + "kind": "lines", + "path": "src/Core/Checkout/Cart/CustomCartProcessor.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 10 + }, + { + "blob_sha": "4ebe9bca1f49eb7e422f3e07bd137b1966afbd8f", + "commits": [], + "end_line": 11, + "id": "E9", + "kind": "lines", + "path": "src/Core/Checkout/Cart/CustomCartProcessor.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 11 + }, + { + "blob_sha": "ff121b965592af0531312eaa1f44e94b570454ea", + "commits": [], + "end_line": 13, + "id": "E10", + "kind": "lines", + "path": "src/Core/Checkout/Cart/Delivery/DeliveryRuleMatcher.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 13 + } + ], + "src": "M:src/Core/Checkout" + }, + { + "count": 4094, + "dst": "M:src/Core/Framework", + "how": "import-path", + "id": "M:src/Core/Checkout->M:src/Core/Framework", + "kind": "uses", + "refs": [ + { + "blob_sha": "d90a4a0c96abf75786f3b9a3c0963d601880b570", + "commits": [], + "end_line": 8, + "id": "E1", + "kind": "lines", + "path": "src/Core/Checkout/Cart/AbstractCartPersister.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "d90a4a0c96abf75786f3b9a3c0963d601880b570", + "commits": [], + "end_line": 9, + "id": "E2", + "kind": "lines", + "path": "src/Core/Checkout/Cart/AbstractCartPersister.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "d90a4a0c96abf75786f3b9a3c0963d601880b570", + "commits": [], + "end_line": 10, + "id": "E3", + "kind": "lines", + "path": "src/Core/Checkout/Cart/AbstractCartPersister.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 10 + }, + { + "blob_sha": "cfda2eee07e968c00de7b21fc3f9e4f762e93e57", + "commits": [], + "end_line": 6, + "id": "E4", + "kind": "lines", + "path": "src/Core/Checkout/Cart/AbstractRuleLoader.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "cfda2eee07e968c00de7b21fc3f9e4f762e93e57", + "commits": [], + "end_line": 7, + "id": "E5", + "kind": "lines", + "path": "src/Core/Checkout/Cart/AbstractRuleLoader.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "b698986070528d73efcf3df435f0115f2acdec60", + "commits": [], + "end_line": 18, + "id": "E6", + "kind": "lines", + "path": "src/Core/Checkout/Cart/Address/AddressValidator.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 18 + }, + { + "blob_sha": "b698986070528d73efcf3df435f0115f2acdec60", + "commits": [], + "end_line": 19, + "id": "E7", + "kind": "lines", + "path": "src/Core/Checkout/Cart/Address/AddressValidator.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 19 + }, + { + "blob_sha": "b698986070528d73efcf3df435f0115f2acdec60", + "commits": [], + "end_line": 20, + "id": "E8", + "kind": "lines", + "path": "src/Core/Checkout/Cart/Address/AddressValidator.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 20 + }, + { + "blob_sha": "b698986070528d73efcf3df435f0115f2acdec60", + "commits": [], + "end_line": 21, + "id": "E9", + "kind": "lines", + "path": "src/Core/Checkout/Cart/Address/AddressValidator.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 21 + }, + { + "blob_sha": "b698986070528d73efcf3df435f0115f2acdec60", + "commits": [], + "end_line": 22, + "id": "E10", + "kind": "lines", + "path": "src/Core/Checkout/Cart/Address/AddressValidator.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 22 + } + ], + "src": "M:src/Core/Checkout" + }, + { + "count": 1, + "dst": "M:src/Core/Migration", + "how": "import-path", + "id": "M:src/Core/Checkout->M:src/Core/Migration", + "kind": "uses", + "refs": [ + { + "blob_sha": "0256c68addf95dbad8833f9a5fd6f6d536bd8baa", + "commits": [], + "end_line": 6, + "id": "E1", + "kind": "lines", + "path": "src/Core/Checkout/DocumentV2/Config/DocumentDisplayOptions.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + } + ], + "src": "M:src/Core/Checkout" + }, + { + "count": 8, + "dst": "M:src/Core/Profiling", + "how": "import-path", + "id": "M:src/Core/Checkout->M:src/Core/Profiling", + "kind": "uses", + "refs": [ + { + "blob_sha": "008d3d2a5f3e2ccd71b7fa40ba5ad6318a6f5924", + "commits": [], + "end_line": 25, + "id": "E1", + "kind": "lines", + "path": "src/Core/Checkout/Cart/CartRuleLoader.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 25 + }, + { + "blob_sha": "d75ab7f7cde6b847b5c767e21b2e06a6d4937eb8", + "commits": [], + "end_line": 20, + "id": "E2", + "kind": "lines", + "path": "src/Core/Checkout/Cart/Delivery/DeliveryProcessor.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 20 + }, + { + "blob_sha": "0f796291238bc349a239e4e72985d9e6635161ba", + "commits": [], + "end_line": 11, + "id": "E3", + "kind": "lines", + "path": "src/Core/Checkout/Cart/Processor.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 11 + }, + { + "blob_sha": "e677692b83be9475e7edbc1966ec81f4d70e8016", + "commits": [], + "end_line": 34, + "id": "E4", + "kind": "lines", + "path": "src/Core/Checkout/Cart/SalesChannel/CartOrderRoute.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 34 + }, + { + "blob_sha": "88555427604ae78b9848d47f6b9c643a51156e6d", + "commits": [], + "end_line": 29, + "id": "E5", + "kind": "lines", + "path": "src/Core/Checkout/Cart/SalesChannel/ProductShippingCostRoute.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 29 + }, + { + "blob_sha": "2cf74642fbfc9572f0cb56e0e83de02198706e70", + "commits": [], + "end_line": 25, + "id": "E6", + "kind": "lines", + "path": "src/Core/Checkout/Cart/SalesChannel/ShippingCostRoute.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 25 + }, + { + "blob_sha": "875b58f410cafeaaac30db8870346aafc7620c1c", + "commits": [], + "end_line": 34, + "id": "E7", + "kind": "lines", + "path": "src/Core/Checkout/Promotion/Cart/PromotionCollector.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 34 + }, + { + "blob_sha": "355219d3710f25af84b45669b1606ef561b5b472", + "commits": [], + "end_line": 20, + "id": "E8", + "kind": "lines", + "path": "src/Core/Checkout/Promotion/Cart/PromotionProcessor.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 20 + } + ], + "src": "M:src/Core/Checkout" + }, + { + "count": 673, + "dst": "M:src/Core/System", + "how": "import-path", + "id": "M:src/Core/Checkout->M:src/Core/System", + "kind": "uses", + "refs": [ + { + "blob_sha": "d90a4a0c96abf75786f3b9a3c0963d601880b570", + "commits": [], + "end_line": 11, + "id": "E1", + "kind": "lines", + "path": "src/Core/Checkout/Cart/AbstractCartPersister.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 11 + }, + { + "blob_sha": "b698986070528d73efcf3df435f0115f2acdec60", + "commits": [], + "end_line": 25, + "id": "E2", + "kind": "lines", + "path": "src/Core/Checkout/Cart/Address/AddressValidator.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 25 + }, + { + "blob_sha": "93a769bc9b76aa8afb4429ae11f50ce097423329", + "commits": [], + "end_line": 11, + "id": "E3", + "kind": "lines", + "path": "src/Core/Checkout/Cart/Address/VatIdValidator.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 11 + }, + { + "blob_sha": "924eb1490058a77b73c19339c1ad50958d2e3abf", + "commits": [], + "end_line": 9, + "id": "E4", + "kind": "lines", + "path": "src/Core/Checkout/Cart/ApiOrderCartService.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "924eb1490058a77b73c19339c1ad50958d2e3abf", + "commits": [], + "end_line": 10, + "id": "E5", + "kind": "lines", + "path": "src/Core/Checkout/Cart/ApiOrderCartService.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 10 + }, + { + "blob_sha": "924eb1490058a77b73c19339c1ad50958d2e3abf", + "commits": [], + "end_line": 11, + "id": "E6", + "kind": "lines", + "path": "src/Core/Checkout/Cart/ApiOrderCartService.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 11 + }, + { + "blob_sha": "f21be474d1d12de1a9fc622a064eb216f175e251", + "commits": [], + "end_line": 17, + "id": "E7", + "kind": "lines", + "path": "src/Core/Checkout/Cart/Calculator.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 17 + }, + { + "blob_sha": "f420c85e983252e6c0f1f7ab1b04702b07c18b6c", + "commits": [], + "end_line": 7, + "id": "E8", + "kind": "lines", + "path": "src/Core/Checkout/Cart/CartCalculator.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "e43c6705cdc9f960b1a6079466a10b0a11e22482", + "commits": [], + "end_line": 8, + "id": "E9", + "kind": "lines", + "path": "src/Core/Checkout/Cart/CartContextHasher.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "247f5c161687a0b799cdc7175f62dfbac2a81859", + "commits": [], + "end_line": 7, + "id": "E10", + "kind": "lines", + "path": "src/Core/Checkout/Cart/CartDataCollectorInterface.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + } + ], + "src": "M:src/Core/Checkout" + }, + { + "count": 103, + "dst": "M:src/Core/(root)", + "how": "import-path", + "id": "M:src/Core/Content->M:src/Core/(root)", + "kind": "uses", + "refs": [ + { + "blob_sha": "8c5b8296ddfc3ebf32114eafd8beca1358bb6a89", + "commits": [], + "end_line": 16, + "id": "E1", + "kind": "lines", + "path": "src/Core/Content/Breadcrumb/SalesChannel/BreadcrumbRoute.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 16 + }, + { + "blob_sha": "6e2adb5fdd22716ca3c862032381080838e4abaf", + "commits": [], + "end_line": 7, + "id": "E2", + "kind": "lines", + "path": "src/Core/Content/Category/DataAbstractionLayer/CategoryBreadcrumbUpdater.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "6af0087866ab18aeb12d0978ea2ebdb84964e32c", + "commits": [], + "end_line": 13, + "id": "E3", + "kind": "lines", + "path": "src/Core/Content/Category/DataAbstractionLayer/CategoryIndexer.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 13 + }, + { + "blob_sha": "fd8a3b9f4c06c09ca8222a9b1ef3e1a233d07159", + "commits": [], + "end_line": 16, + "id": "E4", + "kind": "lines", + "path": "src/Core/Content/Category/SalesChannel/CategoryListRoute.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 16 + }, + { + "blob_sha": "60101db07df2eb57a2d2998b46de45a38e3c0500", + "commits": [], + "end_line": 21, + "id": "E5", + "kind": "lines", + "path": "src/Core/Content/Category/SalesChannel/CategoryRoute.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 21 + }, + { + "blob_sha": "0ca401bc2cec600c7c40710fc24f82fd925d5521", + "commits": [], + "end_line": 23, + "id": "E6", + "kind": "lines", + "path": "src/Core/Content/Category/SalesChannel/NavigationRoute.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 23 + }, + { + "blob_sha": "31f1e7e13f1bdcfd47ef2fdd42cc144db5a6d79c", + "commits": [], + "end_line": 10, + "id": "E7", + "kind": "lines", + "path": "src/Core/Content/Category/Service/CachedDefaultCategoryLevelLoader.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 10 + }, + { + "blob_sha": "d2d5183be9c66c0c3ee11f80dd04d0e10b3700fa", + "commits": [], + "end_line": 9, + "id": "E8", + "kind": "lines", + "path": "src/Core/Content/Category/Subscriber/CategorySubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "6ae22833fedf98439cdd36d31c54995716301b57", + "commits": [], + "end_line": 16, + "id": "E9", + "kind": "lines", + "path": "src/Core/Content/Cms/SalesChannel/CmsRoute.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 16 + }, + { + "blob_sha": "e46db4518fe805e15e6795bfd79c9df4b8657402", + "commits": [], + "end_line": 12, + "id": "E10", + "kind": "lines", + "path": "src/Core/Content/Cms/Subscriber/CmsPageDefaultChangeSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 12 + } + ], + "src": "M:src/Core/Content" + }, + { + "count": 253, + "dst": "M:src/Core/Checkout", + "how": "import-path", + "id": "M:src/Core/Content->M:src/Core/Checkout", + "kind": "uses", + "refs": [ + { + "blob_sha": "eade9fb9b0d0f6249d489678eb8ba4de8f1e3e22", + "commits": [], + "end_line": 5, + "id": "E1", + "kind": "lines", + "path": "src/Core/Content/ContactForm/SalesChannel/ContactFormRoute.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "370f6871835382f9fa3b9cb2e79278100c5a7cdf", + "commits": [], + "end_line": 6, + "id": "E2", + "kind": "lines", + "path": "src/Core/Content/DependencyInjection/flow.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "370f6871835382f9fa3b9cb2e79278100c5a7cdf", + "commits": [], + "end_line": 7, + "id": "E3", + "kind": "lines", + "path": "src/Core/Content/DependencyInjection/flow.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "370f6871835382f9fa3b9cb2e79278100c5a7cdf", + "commits": [], + "end_line": 8, + "id": "E4", + "kind": "lines", + "path": "src/Core/Content/DependencyInjection/flow.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "370f6871835382f9fa3b9cb2e79278100c5a7cdf", + "commits": [], + "end_line": 9, + "id": "E5", + "kind": "lines", + "path": "src/Core/Content/DependencyInjection/flow.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "370f6871835382f9fa3b9cb2e79278100c5a7cdf", + "commits": [], + "end_line": 10, + "id": "E6", + "kind": "lines", + "path": "src/Core/Content/DependencyInjection/flow.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 10 + }, + { + "blob_sha": "370f6871835382f9fa3b9cb2e79278100c5a7cdf", + "commits": [], + "end_line": 11, + "id": "E7", + "kind": "lines", + "path": "src/Core/Content/DependencyInjection/flow.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 11 + }, + { + "blob_sha": "370f6871835382f9fa3b9cb2e79278100c5a7cdf", + "commits": [], + "end_line": 12, + "id": "E8", + "kind": "lines", + "path": "src/Core/Content/DependencyInjection/flow.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 12 + }, + { + "blob_sha": "56beb8888f565b6530ac812aec54ab68042ccf82", + "commits": [], + "end_line": 7, + "id": "E9", + "kind": "lines", + "path": "src/Core/Content/DependencyInjection/mail.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "56beb8888f565b6530ac812aec54ab68042ccf82", + "commits": [], + "end_line": 8, + "id": "E10", + "kind": "lines", + "path": "src/Core/Content/DependencyInjection/mail.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + } + ], + "src": "M:src/Core/Content" + }, + { + "count": 5552, + "dst": "M:src/Core/Framework", + "how": "import-path", + "id": "M:src/Core/Content->M:src/Core/Framework", + "kind": "uses", + "refs": [ + { + "blob_sha": "d435f6eb4d971f8e2f1b7d606b324a281d79c46c", + "commits": [], + "end_line": 8, + "id": "E1", + "kind": "lines", + "path": "src/Core/Content/Breadcrumb/BreadcrumbException.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "d435f6eb4d971f8e2f1b7d606b324a281d79c46c", + "commits": [], + "end_line": 9, + "id": "E2", + "kind": "lines", + "path": "src/Core/Content/Breadcrumb/BreadcrumbException.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "3a6ee2df48bb216dc6633ffcd1e74875645594ac", + "commits": [], + "end_line": 6, + "id": "E3", + "kind": "lines", + "path": "src/Core/Content/Breadcrumb/Extension/BreadcrumbRouteExtension.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "3a6ee2df48bb216dc6633ffcd1e74875645594ac", + "commits": [], + "end_line": 7, + "id": "E4", + "kind": "lines", + "path": "src/Core/Content/Breadcrumb/Extension/BreadcrumbRouteExtension.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "80a4d95d6a58f1ec215ed97f5e8c7c6dd8b11dfc", + "commits": [], + "end_line": 5, + "id": "E5", + "kind": "lines", + "path": "src/Core/Content/Breadcrumb/SalesChannel/AbstractBreadcrumbRoute.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "8c5b8296ddfc3ebf32114eafd8beca1358bb6a89", + "commits": [], + "end_line": 10, + "id": "E6", + "kind": "lines", + "path": "src/Core/Content/Breadcrumb/SalesChannel/BreadcrumbRoute.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 10 + }, + { + "blob_sha": "8c5b8296ddfc3ebf32114eafd8beca1358bb6a89", + "commits": [], + "end_line": 11, + "id": "E7", + "kind": "lines", + "path": "src/Core/Content/Breadcrumb/SalesChannel/BreadcrumbRoute.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 11 + }, + { + "blob_sha": "8c5b8296ddfc3ebf32114eafd8beca1358bb6a89", + "commits": [], + "end_line": 12, + "id": "E8", + "kind": "lines", + "path": "src/Core/Content/Breadcrumb/SalesChannel/BreadcrumbRoute.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 12 + }, + { + "blob_sha": "8c5b8296ddfc3ebf32114eafd8beca1358bb6a89", + "commits": [], + "end_line": 13, + "id": "E9", + "kind": "lines", + "path": "src/Core/Content/Breadcrumb/SalesChannel/BreadcrumbRoute.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 13 + }, + { + "blob_sha": "8c5b8296ddfc3ebf32114eafd8beca1358bb6a89", + "commits": [], + "end_line": 14, + "id": "E10", + "kind": "lines", + "path": "src/Core/Content/Breadcrumb/SalesChannel/BreadcrumbRoute.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 14 + } + ], + "src": "M:src/Core/Content" + }, + { + "count": 2, + "dst": "M:src/Core/Maintenance", + "how": "import-path", + "id": "M:src/Core/Content->M:src/Core/Maintenance", + "kind": "uses", + "refs": [ + { + "blob_sha": "1eca600fd58391201938cdf86d3915efa92e4cdb", + "commits": [], + "end_line": 13, + "id": "E1", + "kind": "lines", + "path": "src/Core/Content/Mail/Service/MailSender.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 13 + }, + { + "blob_sha": "76bfdc174070ece17e7ac0757f9ac0a3c4436ba9", + "commits": [], + "end_line": 27, + "id": "E2", + "kind": "lines", + "path": "src/Core/Content/Mail/Service/MailService.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 27 + } + ], + "src": "M:src/Core/Content" + }, + { + "count": 5, + "dst": "M:src/Core/Profiling", + "how": "import-path", + "id": "M:src/Core/Content->M:src/Core/Profiling", + "kind": "uses", + "refs": [ + { + "blob_sha": "eda4c9e1868ddf709c3cb658a2616194fb344592", + "commits": [], + "end_line": 13, + "id": "E1", + "kind": "lines", + "path": "src/Core/Content/Media/MediaUrlPlaceholderHandler.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 13 + }, + { + "blob_sha": "9f28c47aa180b9c0bf05b0d6efbaae621b4757a2", + "commits": [], + "end_line": 37, + "id": "E2", + "kind": "lines", + "path": "src/Core/Content/Product/Cart/ProductCartProcessor.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 37 + }, + { + "blob_sha": "62b95cb365376a2b7c830d66082d4013ae63ca9e", + "commits": [], + "end_line": 29, + "id": "E3", + "kind": "lines", + "path": "src/Core/Content/Product/DataAbstractionLayer/ProductIndexer.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 29 + }, + { + "blob_sha": "54e29fe7515a9db3129a99b7306fb7f4a9e31790", + "commits": [], + "end_line": 39, + "id": "E4", + "kind": "lines", + "path": "src/Core/Content/Product/SalesChannel/Detail/ProductDetailRoute.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 39 + }, + { + "blob_sha": "586fdef4ace098a4013a434c0e524b9892a67dd7", + "commits": [], + "end_line": 11, + "id": "E5", + "kind": "lines", + "path": "src/Core/Content/Seo/SeoUrlPlaceholderHandler.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 11 + } + ], + "src": "M:src/Core/Content" + }, + { + "count": 598, + "dst": "M:src/Core/System", + "how": "import-path", + "id": "M:src/Core/Content->M:src/Core/System", + "kind": "uses", + "refs": [ + { + "blob_sha": "3a6ee2df48bb216dc6633ffcd1e74875645594ac", + "commits": [], + "end_line": 8, + "id": "E1", + "kind": "lines", + "path": "src/Core/Content/Breadcrumb/Extension/BreadcrumbRouteExtension.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "80a4d95d6a58f1ec215ed97f5e8c7c6dd8b11dfc", + "commits": [], + "end_line": 6, + "id": "E2", + "kind": "lines", + "path": "src/Core/Content/Breadcrumb/SalesChannel/AbstractBreadcrumbRoute.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "8c5b8296ddfc3ebf32114eafd8beca1358bb6a89", + "commits": [], + "end_line": 17, + "id": "E3", + "kind": "lines", + "path": "src/Core/Content/Breadcrumb/SalesChannel/BreadcrumbRoute.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 17 + }, + { + "blob_sha": "178553d7bfefca03dcdafeb905ecb47fbd4039c5", + "commits": [], + "end_line": 7, + "id": "E4", + "kind": "lines", + "path": "src/Core/Content/Breadcrumb/SalesChannel/BreadcrumbRouteResponse.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "1f71f2e84b38ca82ead7a253a4a122f48c47d816", + "commits": [], + "end_line": 14, + "id": "E5", + "kind": "lines", + "path": "src/Core/Content/Category/Aggregate/CategoryTag/CategoryTagDefinition.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 14 + }, + { + "blob_sha": "a6d60bb746ee3d8d28e6d278bc237d06911ab97b", + "commits": [], + "end_line": 9, + "id": "E6", + "kind": "lines", + "path": "src/Core/Content/Category/Aggregate/CategoryTranslation/CategoryTranslationEntity.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "65d9771975062cabe1cd24c47bd1dbca4871991e", + "commits": [], + "end_line": 48, + "id": "E7", + "kind": "lines", + "path": "src/Core/Content/Category/CategoryDefinition.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 48 + }, + { + "blob_sha": "65d9771975062cabe1cd24c47bd1dbca4871991e", + "commits": [], + "end_line": 49, + "id": "E8", + "kind": "lines", + "path": "src/Core/Content/Category/CategoryDefinition.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 49 + }, + { + "blob_sha": "65d9771975062cabe1cd24c47bd1dbca4871991e", + "commits": [], + "end_line": 50, + "id": "E9", + "kind": "lines", + "path": "src/Core/Content/Category/CategoryDefinition.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 50 + }, + { + "blob_sha": "079e33c32703718e2eae3ecf8947745f777b6a2a", + "commits": [], + "end_line": 17, + "id": "E10", + "kind": "lines", + "path": "src/Core/Content/Category/CategoryEntity.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 17 + } + ], + "src": "M:src/Core/Content" + }, + { + "count": 2, + "dst": "M:src/Storefront/Framework", + "how": "import-path", + "id": "M:src/Core/Content->M:src/Storefront/Framework", + "kind": "uses", + "refs": [ + { + "blob_sha": "ca0a14b0f495a9145d367ab035b025de5b688eb9", + "commits": [], + "end_line": 17, + "id": "E1", + "kind": "lines", + "path": "src/Core/Content/Cookie/Service/CookieProvider.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 17 + }, + { + "blob_sha": "bf279e4cf1a54c574e32f0f501bd5d69922357e0", + "commits": [], + "end_line": 9, + "id": "E2", + "kind": "lines", + "path": "src/Core/Content/DependencyInjection/cookie.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + } + ], + "src": "M:src/Core/Content" + }, + { + "count": 5, + "dst": "M:src/Core/(root)", + "how": "import-path", + "id": "M:src/Core/DevOps->M:src/Core/(root)", + "kind": "uses", + "refs": [ + { + "blob_sha": "c594af684adb21cf89b1a56f4f0e537691cbd958", + "commits": [], + "end_line": 17, + "id": "E1", + "kind": "lines", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/AclValidPermissionsInRouteAttributesRule.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 17 + }, + { + "blob_sha": "3b374e6b3860bfd75c13699e147f5c460c71fe6b", + "commits": [], + "end_line": 26, + "id": "E2", + "kind": "lines", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/DomainExceptionRule.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 26 + }, + { + "blob_sha": "c91f232b87cd5605f6e855fdf1040a6d9199ea35", + "commits": [], + "end_line": 19, + "id": "E3", + "kind": "lines", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/RouteScopeRule.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 19 + }, + { + "blob_sha": "8bb7c66ec26fe242fad697e35139869b5c4d3e2f", + "commits": [], + "end_line": 22, + "id": "E4", + "kind": "lines", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/StoreApiRouteExtensionRule.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 22 + }, + { + "blob_sha": "8704b5bd1f03a98054adff5c466a548b06fe3f22", + "commits": [], + "end_line": 6, + "id": "E5", + "kind": "lines", + "path": "src/Core/DevOps/StaticAnalyze/StaticAnalyzeKernel.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + } + ], + "src": "M:src/Core/DevOps" + }, + { + "count": 31, + "dst": "M:src/Core/Checkout", + "how": "import-path", + "id": "M:src/Core/DevOps->M:src/Core/Checkout", + "kind": "uses", + "refs": [ + { + "blob_sha": "3b374e6b3860bfd75c13699e147f5c460c71fe6b", + "commits": [], + "end_line": 15, + "id": "E1", + "kind": "lines", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/DomainExceptionRule.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 15 + }, + { + "blob_sha": "3b374e6b3860bfd75c13699e147f5c460c71fe6b", + "commits": [], + "end_line": 16, + "id": "E2", + "kind": "lines", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/DomainExceptionRule.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 16 + }, + { + "blob_sha": "a2ffe5b266005f60a4131df91e39b556b7e3dd9c", + "commits": [], + "end_line": 11, + "id": "E3", + "kind": "lines", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/RuleConditionHasRuleConfigRule.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 11 + }, + { + "blob_sha": "a2ffe5b266005f60a4131df91e39b556b7e3dd9c", + "commits": [], + "end_line": 12, + "id": "E4", + "kind": "lines", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/RuleConditionHasRuleConfigRule.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 12 + }, + { + "blob_sha": "a2ffe5b266005f60a4131df91e39b556b7e3dd9c", + "commits": [], + "end_line": 13, + "id": "E5", + "kind": "lines", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/RuleConditionHasRuleConfigRule.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 13 + }, + { + "blob_sha": "a2ffe5b266005f60a4131df91e39b556b7e3dd9c", + "commits": [], + "end_line": 14, + "id": "E6", + "kind": "lines", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/RuleConditionHasRuleConfigRule.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 14 + }, + { + "blob_sha": "a2ffe5b266005f60a4131df91e39b556b7e3dd9c", + "commits": [], + "end_line": 15, + "id": "E7", + "kind": "lines", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/RuleConditionHasRuleConfigRule.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 15 + }, + { + "blob_sha": "a2ffe5b266005f60a4131df91e39b556b7e3dd9c", + "commits": [], + "end_line": 16, + "id": "E8", + "kind": "lines", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/RuleConditionHasRuleConfigRule.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 16 + }, + { + "blob_sha": "a2ffe5b266005f60a4131df91e39b556b7e3dd9c", + "commits": [], + "end_line": 17, + "id": "E9", + "kind": "lines", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/RuleConditionHasRuleConfigRule.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 17 + }, + { + "blob_sha": "a2ffe5b266005f60a4131df91e39b556b7e3dd9c", + "commits": [], + "end_line": 18, + "id": "E10", + "kind": "lines", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/RuleConditionHasRuleConfigRule.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 18 + } + ], + "src": "M:src/Core/DevOps" + }, + { + "count": 29, + "dst": "M:src/Core/Content", + "how": "import-path", + "id": "M:src/Core/DevOps->M:src/Core/Content", + "kind": "uses", + "refs": [ + { + "blob_sha": "75269bca374728c74c5b119309bd75b1a8c25c60", + "commits": [], + "end_line": 10, + "id": "E1", + "kind": "lines", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/AbstractClassUsageRule.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 10 + }, + { + "blob_sha": "9197ea31dbba2dc591d9fc4a5a0314382ec629b0", + "commits": [], + "end_line": 12, + "id": "E2", + "kind": "lines", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/NoFlowStoreFunctionRule.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 12 + }, + { + "blob_sha": "9197ea31dbba2dc591d9fc4a5a0314382ec629b0", + "commits": [], + "end_line": 13, + "id": "E3", + "kind": "lines", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/NoFlowStoreFunctionRule.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 13 + }, + { + "blob_sha": "45fdcce0749761662473c1720cae76bc8dbeeef1", + "commits": [], + "end_line": 15, + "id": "E4", + "kind": "lines", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/RuleAreasFlagNotAllowedRule.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 15 + }, + { + "blob_sha": "0fea8e9e2a1eeef24c24392233e31568ad1ddd26", + "commits": [], + "end_line": 13, + "id": "E5", + "kind": "lines", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/ScheduledTaskTooLowIntervalRule.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 13 + }, + { + "blob_sha": "05fc4db2026a6e3f191dbcb84fdedcb3568f2928", + "commits": [], + "end_line": 20, + "id": "E6", + "kind": "lines", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/tagged-service-contracts.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 20 + }, + { + "blob_sha": "05fc4db2026a6e3f191dbcb84fdedcb3568f2928", + "commits": [], + "end_line": 21, + "id": "E7", + "kind": "lines", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/tagged-service-contracts.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 21 + }, + { + "blob_sha": "05fc4db2026a6e3f191dbcb84fdedcb3568f2928", + "commits": [], + "end_line": 22, + "id": "E8", + "kind": "lines", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/tagged-service-contracts.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 22 + }, + { + "blob_sha": "05fc4db2026a6e3f191dbcb84fdedcb3568f2928", + "commits": [], + "end_line": 23, + "id": "E9", + "kind": "lines", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/tagged-service-contracts.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 23 + }, + { + "blob_sha": "05fc4db2026a6e3f191dbcb84fdedcb3568f2928", + "commits": [], + "end_line": 24, + "id": "E10", + "kind": "lines", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/tagged-service-contracts.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 24 + } + ], + "src": "M:src/Core/DevOps" + }, + { + "count": 312, + "dst": "M:src/Core/Framework", + "how": "import-path", + "id": "M:src/Core/DevOps->M:src/Core/Framework", + "kind": "uses", + "refs": [ + { + "blob_sha": "13bd509d6217ee54250bf4725badf3ca762bceef", + "commits": [], + "end_line": 12, + "id": "E1", + "kind": "lines", + "path": "src/Core/DevOps/DependencyInjection/services.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 12 + }, + { + "blob_sha": "13bd509d6217ee54250bf4725badf3ca762bceef", + "commits": [], + "end_line": 13, + "id": "E2", + "kind": "lines", + "path": "src/Core/DevOps/DependencyInjection/services.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 13 + }, + { + "blob_sha": "13bd509d6217ee54250bf4725badf3ca762bceef", + "commits": [], + "end_line": 14, + "id": "E3", + "kind": "lines", + "path": "src/Core/DevOps/DependencyInjection/services.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 14 + }, + { + "blob_sha": "13bd509d6217ee54250bf4725badf3ca762bceef", + "commits": [], + "end_line": 15, + "id": "E4", + "kind": "lines", + "path": "src/Core/DevOps/DependencyInjection/services.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 15 + }, + { + "blob_sha": "72e5e6903b53d6fdf6b80816d1cba1f787855cf3", + "commits": [], + "end_line": 5, + "id": "E5", + "kind": "lines", + "path": "src/Core/DevOps/DevOps.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "72e5e6903b53d6fdf6b80816d1cba1f787855cf3", + "commits": [], + "end_line": 6, + "id": "E6", + "kind": "lines", + "path": "src/Core/DevOps/DevOps.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "a3bf416af19b6c58f366f5f192433405a55c73fd", + "commits": [], + "end_line": 6, + "id": "E7", + "kind": "lines", + "path": "src/Core/DevOps/Docs/App/DocsAppEventCommand.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "a3bf416af19b6c58f366f5f192433405a55c73fd", + "commits": [], + "end_line": 7, + "id": "E8", + "kind": "lines", + "path": "src/Core/DevOps/Docs/App/DocsAppEventCommand.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "a3bf416af19b6c58f366f5f192433405a55c73fd", + "commits": [], + "end_line": 8, + "id": "E9", + "kind": "lines", + "path": "src/Core/DevOps/Docs/App/DocsAppEventCommand.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "a3bf416af19b6c58f366f5f192433405a55c73fd", + "commits": [], + "end_line": 9, + "id": "E10", + "kind": "lines", + "path": "src/Core/DevOps/Docs/App/DocsAppEventCommand.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + } + ], + "src": "M:src/Core/DevOps" + }, + { + "count": 3, + "dst": "M:src/Core/Migration", + "how": "import-path", + "id": "M:src/Core/DevOps->M:src/Core/Migration", + "kind": "uses", + "refs": [ + { + "blob_sha": "3b374e6b3860bfd75c13699e147f5c460c71fe6b", + "commits": [], + "end_line": 27, + "id": "E1", + "kind": "lines", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/DomainExceptionRule.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 27 + }, + { + "blob_sha": "3b374e6b3860bfd75c13699e147f5c460c71fe6b", + "commits": [], + "end_line": 28, + "id": "E2", + "kind": "lines", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/DomainExceptionRule.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 28 + }, + { + "blob_sha": "3b374e6b3860bfd75c13699e147f5c460c71fe6b", + "commits": [], + "end_line": 29, + "id": "E3", + "kind": "lines", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/DomainExceptionRule.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 29 + } + ], + "src": "M:src/Core/DevOps" + }, + { + "count": 7, + "dst": "M:src/Core/System", + "how": "import-path", + "id": "M:src/Core/DevOps->M:src/Core/System", + "kind": "uses", + "refs": [ + { + "blob_sha": "fda3ed8536bcfd844416678dd686372ba57aa684", + "commits": [], + "end_line": 15, + "id": "E1", + "kind": "lines", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/NoManualSalesChannelContextCreationRule.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 15 + }, + { + "blob_sha": "fda3ed8536bcfd844416678dd686372ba57aa684", + "commits": [], + "end_line": 16, + "id": "E2", + "kind": "lines", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/NoManualSalesChannelContextCreationRule.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 16 + }, + { + "blob_sha": "05fc4db2026a6e3f191dbcb84fdedcb3568f2928", + "commits": [], + "end_line": 62, + "id": "E3", + "kind": "lines", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/tagged-service-contracts.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 62 + }, + { + "blob_sha": "05fc4db2026a6e3f191dbcb84fdedcb3568f2928", + "commits": [], + "end_line": 63, + "id": "E4", + "kind": "lines", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/tagged-service-contracts.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 63 + }, + { + "blob_sha": "05fc4db2026a6e3f191dbcb84fdedcb3568f2928", + "commits": [], + "end_line": 64, + "id": "E5", + "kind": "lines", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/tagged-service-contracts.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 64 + }, + { + "blob_sha": "05fc4db2026a6e3f191dbcb84fdedcb3568f2928", + "commits": [], + "end_line": 65, + "id": "E6", + "kind": "lines", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/tagged-service-contracts.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 65 + }, + { + "blob_sha": "05fc4db2026a6e3f191dbcb84fdedcb3568f2928", + "commits": [], + "end_line": 66, + "id": "E7", + "kind": "lines", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/tagged-service-contracts.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 66 + } + ], + "src": "M:src/Core/DevOps" + }, + { + "count": 2, + "dst": "M:src/Elasticsearch", + "how": "import-path", + "id": "M:src/Core/DevOps->M:src/Elasticsearch", + "kind": "uses", + "refs": [ + { + "blob_sha": "05fc4db2026a6e3f191dbcb84fdedcb3568f2928", + "commits": [], + "end_line": 67, + "id": "E1", + "kind": "lines", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/tagged-service-contracts.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 67 + }, + { + "blob_sha": "05fc4db2026a6e3f191dbcb84fdedcb3568f2928", + "commits": [], + "end_line": 68, + "id": "E2", + "kind": "lines", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/tagged-service-contracts.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 68 + } + ], + "src": "M:src/Core/DevOps" + }, + { + "count": 1, + "dst": "M:src/Storefront/Controller", + "how": "import-path", + "id": "M:src/Core/DevOps->M:src/Storefront/Controller", + "kind": "uses", + "refs": [ + { + "blob_sha": "5b4e122d84e21b9d83051fb108fc3ed03c4309ed", + "commits": [], + "end_line": 28, + "id": "E1", + "kind": "lines", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/Internal/InternalClassRule.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 28 + } + ], + "src": "M:src/Core/DevOps" + }, + { + "count": 2, + "dst": "M:src/Storefront/Framework", + "how": "import-path", + "id": "M:src/Core/DevOps->M:src/Storefront/Framework", + "kind": "uses", + "refs": [ + { + "blob_sha": "05fc4db2026a6e3f191dbcb84fdedcb3568f2928", + "commits": [], + "end_line": 69, + "id": "E1", + "kind": "lines", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/tagged-service-contracts.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 69 + }, + { + "blob_sha": "05fc4db2026a6e3f191dbcb84fdedcb3568f2928", + "commits": [], + "end_line": 70, + "id": "E2", + "kind": "lines", + "path": "src/Core/DevOps/StaticAnalyze/PHPStan/tagged-service-contracts.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 70 + } + ], + "src": "M:src/Core/DevOps" + }, + { + "count": 197, + "dst": "M:src/Core/(root)", + "how": "import-path", + "id": "M:src/Core/Framework->M:src/Core/(root)", + "kind": "uses", + "refs": [ + { + "blob_sha": "370eea4d0b4d1059401e38ea2320ba655531b230", + "commits": [], + "end_line": 38, + "id": "E1", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Cache/CacheInvalidationSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 38 + }, + { + "blob_sha": "14d017115e7b74bd980cae38517bb410de4f01be", + "commits": [], + "end_line": 15, + "id": "E2", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Cache/CacheInvalidator.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 15 + }, + { + "blob_sha": "c2c439b65ea0da4e6013405b09fed84d82e1bf60", + "commits": [], + "end_line": 11, + "id": "E3", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Cache/CacheStateSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 11 + }, + { + "blob_sha": "0329f9a52daa5045743f0dd039c29eb0f93b8180", + "commits": [], + "end_line": 12, + "id": "E4", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Cache/Http/CacheHeadersService.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 12 + }, + { + "blob_sha": "f3594575c012f30c05459a52396d67e6680fc6f1", + "commits": [], + "end_line": 14, + "id": "E5", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Cache/Http/CacheResponseSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 14 + }, + { + "blob_sha": "ea8bc63403eca433a01c6d95c885641c85b64a76", + "commits": [], + "end_line": 14, + "id": "E6", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Cache/Http/CacheStore.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 14 + }, + { + "blob_sha": "596b267b596062176432f42cf94e06a62ef9e8f4", + "commits": [], + "end_line": 10, + "id": "E7", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Cache/Http/HttpCacheKeyGenerator.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 10 + }, + { + "blob_sha": "4a1a7ea223394a30b5b57e71e1ef2e442aac8251", + "commits": [], + "end_line": 6, + "id": "E8", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Cache/Http/HttpCacheVariantHeaders.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "8e9fecf802f36bfc929c26d9fb2bc39d33204373", + "commits": [], + "end_line": 7, + "id": "E9", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Database/ReplicaConnection.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "7ee60f82b4f8a3ccadac3b28e0a85f4b6982cad2", + "commits": [], + "end_line": 14, + "id": "E10", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Kernel/KernelFactory.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 14 + } + ], + "src": "M:src/Core/Framework" + }, + { + "count": 267, + "dst": "M:src/Core/Checkout", + "how": "import-path", + "id": "M:src/Core/Framework->M:src/Core/Checkout", + "kind": "uses", + "refs": [ + { + "blob_sha": "370eea4d0b4d1059401e38ea2320ba655531b230", + "commits": [], + "end_line": 7, + "id": "E1", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Cache/CacheInvalidationSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "370eea4d0b4d1059401e38ea2320ba655531b230", + "commits": [], + "end_line": 8, + "id": "E2", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Cache/CacheInvalidationSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "370eea4d0b4d1059401e38ea2320ba655531b230", + "commits": [], + "end_line": 9, + "id": "E3", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Cache/CacheInvalidationSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "370eea4d0b4d1059401e38ea2320ba655531b230", + "commits": [], + "end_line": 10, + "id": "E4", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Cache/CacheInvalidationSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 10 + }, + { + "blob_sha": "370eea4d0b4d1059401e38ea2320ba655531b230", + "commits": [], + "end_line": 11, + "id": "E5", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Cache/CacheInvalidationSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 11 + }, + { + "blob_sha": "370eea4d0b4d1059401e38ea2320ba655531b230", + "commits": [], + "end_line": 12, + "id": "E6", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Cache/CacheInvalidationSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 12 + }, + { + "blob_sha": "c2c439b65ea0da4e6013405b09fed84d82e1bf60", + "commits": [], + "end_line": 5, + "id": "E7", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Cache/CacheStateSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "c2c439b65ea0da4e6013405b09fed84d82e1bf60", + "commits": [], + "end_line": 6, + "id": "E8", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Cache/CacheStateSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "c2c439b65ea0da4e6013405b09fed84d82e1bf60", + "commits": [], + "end_line": 7, + "id": "E9", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Cache/CacheStateSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "0329f9a52daa5045743f0dd039c29eb0f93b8180", + "commits": [], + "end_line": 5, + "id": "E10", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Cache/Http/CacheHeadersService.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + } + ], + "src": "M:src/Core/Framework" + }, + { + "count": 329, + "dst": "M:src/Core/Content", + "how": "import-path", + "id": "M:src/Core/Framework->M:src/Core/Content", + "kind": "uses", + "refs": [ + { + "blob_sha": "370eea4d0b4d1059401e38ea2320ba655531b230", + "commits": [], + "end_line": 13, + "id": "E1", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Cache/CacheInvalidationSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 13 + }, + { + "blob_sha": "370eea4d0b4d1059401e38ea2320ba655531b230", + "commits": [], + "end_line": 14, + "id": "E2", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Cache/CacheInvalidationSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 14 + }, + { + "blob_sha": "370eea4d0b4d1059401e38ea2320ba655531b230", + "commits": [], + "end_line": 15, + "id": "E3", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Cache/CacheInvalidationSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 15 + }, + { + "blob_sha": "370eea4d0b4d1059401e38ea2320ba655531b230", + "commits": [], + "end_line": 16, + "id": "E4", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Cache/CacheInvalidationSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 16 + }, + { + "blob_sha": "370eea4d0b4d1059401e38ea2320ba655531b230", + "commits": [], + "end_line": 17, + "id": "E5", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Cache/CacheInvalidationSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 17 + }, + { + "blob_sha": "370eea4d0b4d1059401e38ea2320ba655531b230", + "commits": [], + "end_line": 18, + "id": "E6", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Cache/CacheInvalidationSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 18 + }, + { + "blob_sha": "370eea4d0b4d1059401e38ea2320ba655531b230", + "commits": [], + "end_line": 19, + "id": "E7", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Cache/CacheInvalidationSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 19 + }, + { + "blob_sha": "370eea4d0b4d1059401e38ea2320ba655531b230", + "commits": [], + "end_line": 20, + "id": "E8", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Cache/CacheInvalidationSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 20 + }, + { + "blob_sha": "370eea4d0b4d1059401e38ea2320ba655531b230", + "commits": [], + "end_line": 21, + "id": "E9", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Cache/CacheInvalidationSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 21 + }, + { + "blob_sha": "370eea4d0b4d1059401e38ea2320ba655531b230", + "commits": [], + "end_line": 22, + "id": "E10", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Cache/CacheInvalidationSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 22 + } + ], + "src": "M:src/Core/Framework" + }, + { + "count": 25, + "dst": "M:src/Core/DevOps", + "how": "import-path", + "id": "M:src/Core/Framework->M:src/Core/DevOps", + "kind": "uses", + "refs": [ + { + "blob_sha": "2afe2c2368d550601496d03f4425916296d2a503", + "commits": [], + "end_line": 5, + "id": "E1", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Asset/AssetPackageService.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "e84ef5174ad355e93bc7e5cbd772d6a989bf8997", + "commits": [], + "end_line": 12, + "id": "E2", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Asset/AssetService.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 12 + }, + { + "blob_sha": "4686c7f12ac981a934b7db3c7dbf27da81d8b7d0", + "commits": [], + "end_line": 5, + "id": "E3", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Asset/FallbackUrlPackage.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "14d017115e7b74bd980cae38517bb410de4f01be", + "commits": [], + "end_line": 9, + "id": "E4", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Cache/CacheInvalidator.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "3205083958061cf5d2616cca9309e9366a4c0221", + "commits": [], + "end_line": 5, + "id": "E5", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Console/ShopwareStyle.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "f181eff20822360a9c42dab5b8b246b69c401abe", + "commits": [], + "end_line": 12, + "id": "E6", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Database/MySQLFactory.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 12 + }, + { + "blob_sha": "897ebdf7221e8678c4ed5f2f0d644428045c6465", + "commits": [], + "end_line": 9, + "id": "E7", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Filesystem/FilesystemFactory.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "7ee60f82b4f8a3ccadac3b28e0a85f4b6982cad2", + "commits": [], + "end_line": 8, + "id": "E8", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Kernel/KernelFactory.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "82c304b04dfb94fa8fd43c83a80f0a946e3cbc44", + "commits": [], + "end_line": 14, + "id": "E9", + "kind": "lines", + "path": "src/Core/Framework/Api/ApiDefinition/Generator/OpenApi/OpenApiSchemaBuilder.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 14 + }, + { + "blob_sha": "c57c084c2857cb5fd017e6e7f50182d0cce87b31", + "commits": [], + "end_line": 8, + "id": "E10", + "kind": "lines", + "path": "src/Core/Framework/Api/Controller/InfoController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + } + ], + "src": "M:src/Core/Framework" + }, + { + "count": 1, + "dst": "M:src/Core/Installer", + "how": "import-path", + "id": "M:src/Core/Framework->M:src/Core/Installer", + "kind": "uses", + "refs": [ + { + "blob_sha": "4ce4116e980905da4b80eac66f3ba76be30295af", + "commits": [], + "end_line": 11, + "id": "E1", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Asset/AssetInstallCommand.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 11 + } + ], + "src": "M:src/Core/Framework" + }, + { + "count": 1, + "dst": "M:src/Core/Maintenance", + "how": "import-path", + "id": "M:src/Core/Framework->M:src/Core/Maintenance", + "kind": "uses", + "refs": [ + { + "blob_sha": "c57c084c2857cb5fd017e6e7f50182d0cce87b31", + "commits": [], + "end_line": 32, + "id": "E1", + "kind": "lines", + "path": "src/Core/Framework/Api/Controller/InfoController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 32 + } + ], + "src": "M:src/Core/Framework" + }, + { + "count": 4, + "dst": "M:src/Core/Profiling", + "how": "import-path", + "id": "M:src/Core/Framework->M:src/Core/Profiling", + "kind": "uses", + "refs": [ + { + "blob_sha": "7ee60f82b4f8a3ccadac3b28e0a85f4b6982cad2", + "commits": [], + "end_line": 15, + "id": "E1", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Kernel/KernelFactory.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 15 + }, + { + "blob_sha": "314fad5ebcd836cb5771e8c75fe74971658dfb64", + "commits": [], + "end_line": 27, + "id": "E2", + "kind": "lines", + "path": "src/Core/Framework/DataAbstractionLayer/EntityRepository.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 27 + }, + { + "blob_sha": "402191c093bed0f710de9ebb0ec05d7a98f3be6a", + "commits": [], + "end_line": 11, + "id": "E3", + "kind": "lines", + "path": "src/Core/Framework/Telemetry/Telemetry.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 11 + }, + { + "blob_sha": "41c5c52704df1d8d5a2ed82d8af037719e319579", + "commits": [], + "end_line": 28, + "id": "E4", + "kind": "lines", + "path": "src/Core/Framework/Webhook/Service/WebhookManager.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 28 + } + ], + "src": "M:src/Core/Framework" + }, + { + "count": 454, + "dst": "M:src/Core/System", + "how": "import-path", + "id": "M:src/Core/Framework->M:src/Core/System", + "kind": "uses", + "refs": [ + { + "blob_sha": "370eea4d0b4d1059401e38ea2320ba655531b230", + "commits": [], + "end_line": 48, + "id": "E1", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Cache/CacheInvalidationSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 48 + }, + { + "blob_sha": "370eea4d0b4d1059401e38ea2320ba655531b230", + "commits": [], + "end_line": 49, + "id": "E2", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Cache/CacheInvalidationSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 49 + }, + { + "blob_sha": "370eea4d0b4d1059401e38ea2320ba655531b230", + "commits": [], + "end_line": 50, + "id": "E3", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Cache/CacheInvalidationSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 50 + }, + { + "blob_sha": "370eea4d0b4d1059401e38ea2320ba655531b230", + "commits": [], + "end_line": 51, + "id": "E4", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Cache/CacheInvalidationSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 51 + }, + { + "blob_sha": "370eea4d0b4d1059401e38ea2320ba655531b230", + "commits": [], + "end_line": 52, + "id": "E5", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Cache/CacheInvalidationSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 52 + }, + { + "blob_sha": "370eea4d0b4d1059401e38ea2320ba655531b230", + "commits": [], + "end_line": 53, + "id": "E6", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Cache/CacheInvalidationSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 53 + }, + { + "blob_sha": "370eea4d0b4d1059401e38ea2320ba655531b230", + "commits": [], + "end_line": 54, + "id": "E7", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Cache/CacheInvalidationSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 54 + }, + { + "blob_sha": "370eea4d0b4d1059401e38ea2320ba655531b230", + "commits": [], + "end_line": 55, + "id": "E8", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Cache/CacheInvalidationSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 55 + }, + { + "blob_sha": "370eea4d0b4d1059401e38ea2320ba655531b230", + "commits": [], + "end_line": 56, + "id": "E9", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Cache/CacheInvalidationSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 56 + }, + { + "blob_sha": "370eea4d0b4d1059401e38ea2320ba655531b230", + "commits": [], + "end_line": 57, + "id": "E10", + "kind": "lines", + "path": "src/Core/Framework/Adapter/Cache/CacheInvalidationSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 57 + } + ], + "src": "M:src/Core/Framework" + }, + { + "count": 1, + "dst": "M:src/Elasticsearch", + "how": "import-path", + "id": "M:src/Core/Framework->M:src/Elasticsearch", + "kind": "uses", + "refs": [ + { + "blob_sha": "ac3e17e19e1f92f4b629202f3f606bd738701ca5", + "commits": [], + "end_line": 41, + "id": "E1", + "kind": "lines", + "path": "src/Core/Framework/DataAbstractionLayer/DataAbstractionLayerException.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 41 + } + ], + "src": "M:src/Core/Framework" + }, + { + "count": 3, + "dst": "M:src/Storefront/Controller", + "how": "import-path", + "id": "M:src/Core/Framework->M:src/Storefront/Controller", + "kind": "uses", + "refs": [ + { + "blob_sha": "92c1ca31f70c7ec9aa641f3e4b7a7d6f598b10b9", + "commits": [], + "end_line": 20, + "id": "E1", + "kind": "lines", + "path": "src/Core/Framework/DependencyInjection/script.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 20 + }, + { + "blob_sha": "ed5563f8fc3b67c33ac8e288a0525cf3af48d62a", + "commits": [], + "end_line": 9, + "id": "E2", + "kind": "lines", + "path": "src/Core/Framework/Script/Api/ScriptResponseFactoryFacade.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "f0e88557fa8455344549263aa6cedfd70d5a97f0", + "commits": [], + "end_line": 10, + "id": "E3", + "kind": "lines", + "path": "src/Core/Framework/Script/Api/ScriptResponseFactoryFacadeHookFactory.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 10 + } + ], + "src": "M:src/Core/Framework" + }, + { + "count": 4, + "dst": "M:src/Storefront/Theme", + "how": "import-path", + "id": "M:src/Core/Framework->M:src/Storefront/Theme", + "kind": "uses", + "refs": [ + { + "blob_sha": "8b0d1085755fba31d191e9b0a9bfde78ca39b21e", + "commits": [], + "end_line": 152, + "id": "E1", + "kind": "lines", + "path": "src/Core/Framework/Store/Helper/PermissionCategorization.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 152 + }, + { + "blob_sha": "8b0d1085755fba31d191e9b0a9bfde78ca39b21e", + "commits": [], + "end_line": 153, + "id": "E2", + "kind": "lines", + "path": "src/Core/Framework/Store/Helper/PermissionCategorization.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 153 + }, + { + "blob_sha": "8b0d1085755fba31d191e9b0a9bfde78ca39b21e", + "commits": [], + "end_line": 154, + "id": "E3", + "kind": "lines", + "path": "src/Core/Framework/Store/Helper/PermissionCategorization.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 154 + }, + { + "blob_sha": "8b0d1085755fba31d191e9b0a9bfde78ca39b21e", + "commits": [], + "end_line": 155, + "id": "E4", + "kind": "lines", + "path": "src/Core/Framework/Store/Helper/PermissionCategorization.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 155 + } + ], + "src": "M:src/Core/Framework" + }, + { + "count": 2, + "dst": "M:src/Core/(root)", + "how": "import-path", + "id": "M:src/Core/Installer->M:src/Core/(root)", + "kind": "uses", + "refs": [ + { + "blob_sha": "90421d6131fe1ec698ed0f1384f3646bd182950b", + "commits": [], + "end_line": 9, + "id": "E1", + "kind": "lines", + "path": "src/Core/Installer/Configuration/ShopConfigurationService.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "548a9e2637d259e372c1298b02f208b7b5753a20", + "commits": [], + "end_line": 7, + "id": "E2", + "kind": "lines", + "path": "src/Core/Installer/Database/DatabaseMigrator.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + } + ], + "src": "M:src/Core/Installer" + }, + { + "count": 1, + "dst": "M:src/Core/DevOps", + "how": "import-path", + "id": "M:src/Core/Installer->M:src/Core/DevOps", + "kind": "uses", + "refs": [ + { + "blob_sha": "f3b24ac80cb5e44f93fb8889d9e10f0349bbf77f", + "commits": [], + "end_line": 6, + "id": "E1", + "kind": "lines", + "path": "src/Core/Installer/InstallerKernel.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + } + ], + "src": "M:src/Core/Installer" + }, + { + "count": 50, + "dst": "M:src/Core/Framework", + "how": "import-path", + "id": "M:src/Core/Installer->M:src/Core/Framework", + "kind": "uses", + "refs": [ + { + "blob_sha": "abf316be9e4b4c9c079f28da5d89a3534605f846", + "commits": [], + "end_line": 7, + "id": "E1", + "kind": "lines", + "path": "src/Core/Installer/Configuration/AdminConfigurationService.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "a65ee5cddc865e2f174a9b46cd76138e98ae29b8", + "commits": [], + "end_line": 5, + "id": "E2", + "kind": "lines", + "path": "src/Core/Installer/Configuration/EnvConfigWriter.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "a65ee5cddc865e2f174a9b46cd76138e98ae29b8", + "commits": [], + "end_line": 6, + "id": "E3", + "kind": "lines", + "path": "src/Core/Installer/Configuration/EnvConfigWriter.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "90421d6131fe1ec698ed0f1384f3646bd182950b", + "commits": [], + "end_line": 10, + "id": "E4", + "kind": "lines", + "path": "src/Core/Installer/Configuration/ShopConfigurationService.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 10 + }, + { + "blob_sha": "90421d6131fe1ec698ed0f1384f3646bd182950b", + "commits": [], + "end_line": 11, + "id": "E5", + "kind": "lines", + "path": "src/Core/Installer/Configuration/ShopConfigurationService.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 11 + }, + { + "blob_sha": "90421d6131fe1ec698ed0f1384f3646bd182950b", + "commits": [], + "end_line": 12, + "id": "E6", + "kind": "lines", + "path": "src/Core/Installer/Configuration/ShopConfigurationService.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 12 + }, + { + "blob_sha": "90421d6131fe1ec698ed0f1384f3646bd182950b", + "commits": [], + "end_line": 13, + "id": "E7", + "kind": "lines", + "path": "src/Core/Installer/Configuration/ShopConfigurationService.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 13 + }, + { + "blob_sha": "5b5e37fe63ef8242f8b8d94a85e27a497a5285f4", + "commits": [], + "end_line": 6, + "id": "E8", + "kind": "lines", + "path": "src/Core/Installer/Controller/DatabaseConfigurationController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "a3146ec37ef8fd0f280af78f0d7a4dc37a815766", + "commits": [], + "end_line": 5, + "id": "E9", + "kind": "lines", + "path": "src/Core/Installer/Controller/DatabaseImportController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "a3146ec37ef8fd0f280af78f0d7a4dc37a815766", + "commits": [], + "end_line": 6, + "id": "E10", + "kind": "lines", + "path": "src/Core/Installer/Controller/DatabaseImportController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + } + ], + "src": "M:src/Core/Installer" + }, + { + "count": 17, + "dst": "M:src/Core/Maintenance", + "how": "import-path", + "id": "M:src/Core/Installer->M:src/Core/Maintenance", + "kind": "uses", + "refs": [ + { + "blob_sha": "abf316be9e4b4c9c079f28da5d89a3534605f846", + "commits": [], + "end_line": 8, + "id": "E1", + "kind": "lines", + "path": "src/Core/Installer/Configuration/AdminConfigurationService.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "a65ee5cddc865e2f174a9b46cd76138e98ae29b8", + "commits": [], + "end_line": 7, + "id": "E2", + "kind": "lines", + "path": "src/Core/Installer/Configuration/EnvConfigWriter.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "a65ee5cddc865e2f174a9b46cd76138e98ae29b8", + "commits": [], + "end_line": 8, + "id": "E3", + "kind": "lines", + "path": "src/Core/Installer/Configuration/EnvConfigWriter.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "90421d6131fe1ec698ed0f1384f3646bd182950b", + "commits": [], + "end_line": 15, + "id": "E4", + "kind": "lines", + "path": "src/Core/Installer/Configuration/ShopConfigurationService.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 15 + }, + { + "blob_sha": "5b5e37fe63ef8242f8b8d94a85e27a497a5285f4", + "commits": [], + "end_line": 8, + "id": "E5", + "kind": "lines", + "path": "src/Core/Installer/Controller/DatabaseConfigurationController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "5b5e37fe63ef8242f8b8d94a85e27a497a5285f4", + "commits": [], + "end_line": 9, + "id": "E6", + "kind": "lines", + "path": "src/Core/Installer/Controller/DatabaseConfigurationController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "5b5e37fe63ef8242f8b8d94a85e27a497a5285f4", + "commits": [], + "end_line": 10, + "id": "E7", + "kind": "lines", + "path": "src/Core/Installer/Controller/DatabaseConfigurationController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 10 + }, + { + "blob_sha": "5b5e37fe63ef8242f8b8d94a85e27a497a5285f4", + "commits": [], + "end_line": 11, + "id": "E8", + "kind": "lines", + "path": "src/Core/Installer/Controller/DatabaseConfigurationController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 11 + }, + { + "blob_sha": "5b5e37fe63ef8242f8b8d94a85e27a497a5285f4", + "commits": [], + "end_line": 12, + "id": "E9", + "kind": "lines", + "path": "src/Core/Installer/Controller/DatabaseConfigurationController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 12 + }, + { + "blob_sha": "a3146ec37ef8fd0f280af78f0d7a4dc37a815766", + "commits": [], + "end_line": 9, + "id": "E10", + "kind": "lines", + "path": "src/Core/Installer/Controller/DatabaseImportController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + } + ], + "src": "M:src/Core/Installer" + }, + { + "count": 4, + "dst": "M:src/Core/System", + "how": "import-path", + "id": "M:src/Core/Installer->M:src/Core/System", + "kind": "uses", + "refs": [ + { + "blob_sha": "7c467c67b28ed3c6aa2b6e18b2ef96ac367ed852", + "commits": [], + "end_line": 13, + "id": "E1", + "kind": "lines", + "path": "src/Core/Installer/Controller/ShopConfigurationController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 13 + }, + { + "blob_sha": "25f17caa7845ac3b2f702fbec1e10182bde5c4f8", + "commits": [], + "end_line": 34, + "id": "E2", + "kind": "lines", + "path": "src/Core/Installer/DependencyInjection/services.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 34 + }, + { + "blob_sha": "25f17caa7845ac3b2f702fbec1e10182bde5c4f8", + "commits": [], + "end_line": 35, + "id": "E3", + "kind": "lines", + "path": "src/Core/Installer/DependencyInjection/services.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 35 + }, + { + "blob_sha": "25f17caa7845ac3b2f702fbec1e10182bde5c4f8", + "commits": [], + "end_line": 36, + "id": "E4", + "kind": "lines", + "path": "src/Core/Installer/DependencyInjection/services.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 36 + } + ], + "src": "M:src/Core/Installer" + }, + { + "count": 8, + "dst": "M:src/Core/(root)", + "how": "import-path", + "id": "M:src/Core/Maintenance->M:src/Core/(root)", + "kind": "uses", + "refs": [ + { + "blob_sha": "65f1c6f56b988c3a7926b55ae6d849ece73c2e79", + "commits": [], + "end_line": 5, + "id": "E1", + "kind": "lines", + "path": "src/Core/Maintenance/SalesChannel/Command/SalesChannelCreateCommand.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "d2c427bcecb0673642512768ffdf3a50f00f6417", + "commits": [], + "end_line": 5, + "id": "E2", + "kind": "lines", + "path": "src/Core/Maintenance/SalesChannel/Command/SalesChannelFileEnableCommand.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "249d798caef0ba26e9afffbe198aa3770da291b2", + "commits": [], + "end_line": 9, + "id": "E3", + "kind": "lines", + "path": "src/Core/Maintenance/SalesChannel/Service/SalesChannelCreator.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "8823c1f87072d5948620d05e9ad3481a540ae433", + "commits": [], + "end_line": 11, + "id": "E4", + "kind": "lines", + "path": "src/Core/Maintenance/Staging/Handler/StagingExtensionHandler.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 11 + }, + { + "blob_sha": "b82df2dc4b1fd89067dcd95fcee4521d9c9e3cf0", + "commits": [], + "end_line": 8, + "id": "E5", + "kind": "lines", + "path": "src/Core/Maintenance/System/Service/SetupDatabaseAdapter.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "7e8a6ee418d082e367d284631b590f4ab8262cfe", + "commits": [], + "end_line": 8, + "id": "E6", + "kind": "lines", + "path": "src/Core/Maintenance/System/Service/ShopConfigurator.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "0e4fa9656a7c898a8d7d7636688dcd99e5da4b82", + "commits": [], + "end_line": 5, + "id": "E7", + "kind": "lines", + "path": "src/Core/Maintenance/User/Command/UserListCommand.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "9fd32d7bbb4050e6abcad34a2ed86fe22115d7e4", + "commits": [], + "end_line": 7, + "id": "E8", + "kind": "lines", + "path": "src/Core/Maintenance/User/Service/UserProvisioner.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + } + ], + "src": "M:src/Core/Maintenance" + }, + { + "count": 3, + "dst": "M:src/Core/Checkout", + "how": "import-path", + "id": "M:src/Core/Maintenance->M:src/Core/Checkout", + "kind": "uses", + "refs": [ + { + "blob_sha": "249d798caef0ba26e9afffbe198aa3770da291b2", + "commits": [], + "end_line": 5, + "id": "E1", + "kind": "lines", + "path": "src/Core/Maintenance/SalesChannel/Service/SalesChannelCreator.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "249d798caef0ba26e9afffbe198aa3770da291b2", + "commits": [], + "end_line": 6, + "id": "E2", + "kind": "lines", + "path": "src/Core/Maintenance/SalesChannel/Service/SalesChannelCreator.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "249d798caef0ba26e9afffbe198aa3770da291b2", + "commits": [], + "end_line": 7, + "id": "E3", + "kind": "lines", + "path": "src/Core/Maintenance/SalesChannel/Service/SalesChannelCreator.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + } + ], + "src": "M:src/Core/Maintenance" + }, + { + "count": 2, + "dst": "M:src/Core/Content", + "how": "import-path", + "id": "M:src/Core/Maintenance->M:src/Core/Content", + "kind": "uses", + "refs": [ + { + "blob_sha": "249d798caef0ba26e9afffbe198aa3770da291b2", + "commits": [], + "end_line": 8, + "id": "E1", + "kind": "lines", + "path": "src/Core/Maintenance/SalesChannel/Service/SalesChannelCreator.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "aa1b3a0008178ad713d4d988275625418b097f86", + "commits": [], + "end_line": 5, + "id": "E2", + "kind": "lines", + "path": "src/Core/Maintenance/Staging/Handler/StagingMailHandler.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + } + ], + "src": "M:src/Core/Maintenance" + }, + { + "count": 5, + "dst": "M:src/Core/DevOps", + "how": "import-path", + "id": "M:src/Core/Maintenance->M:src/Core/DevOps", + "kind": "uses", + "refs": [ + { + "blob_sha": "5dbeaca3ff7a16145bac8619527e1990a5ba9528", + "commits": [], + "end_line": 6, + "id": "E1", + "kind": "lines", + "path": "src/Core/Maintenance/System/Command/SystemInstallCommand.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "5a1ad24a34271b04efbb486687ca6e02fdfd540b", + "commits": [], + "end_line": 9, + "id": "E2", + "kind": "lines", + "path": "src/Core/Maintenance/System/Command/SystemSetupCommand.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "6046eb3897b7a3e3269e4a589874d6ca196cf9f7", + "commits": [], + "end_line": 5, + "id": "E3", + "kind": "lines", + "path": "src/Core/Maintenance/System/Command/SystemUpdateFinishCommand.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "bfbb506d6fdc7cfa8ff1cc727602993b2f74fa51", + "commits": [], + "end_line": 5, + "id": "E4", + "kind": "lines", + "path": "src/Core/Maintenance/System/Command/SystemUpdatePrepareCommand.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "3cf9e0d6a0bce28cdf1f27bb89267166840b3f6f", + "commits": [], + "end_line": 6, + "id": "E5", + "kind": "lines", + "path": "src/Core/Maintenance/System/Struct/DatabaseConnectionInformation.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + } + ], + "src": "M:src/Core/Maintenance" + }, + { + "count": 123, + "dst": "M:src/Core/Framework", + "how": "import-path", + "id": "M:src/Core/Maintenance->M:src/Core/Framework", + "kind": "uses", + "refs": [ + { + "blob_sha": "6ddd18b6d7e9146fa4e3d0c6580963e392ae6fde", + "commits": [], + "end_line": 7, + "id": "E1", + "kind": "lines", + "path": "src/Core/Maintenance/DependencyInjection/services.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "6ddd18b6d7e9146fa4e3d0c6580963e392ae6fde", + "commits": [], + "end_line": 8, + "id": "E2", + "kind": "lines", + "path": "src/Core/Maintenance/DependencyInjection/services.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "6ddd18b6d7e9146fa4e3d0c6580963e392ae6fde", + "commits": [], + "end_line": 9, + "id": "E3", + "kind": "lines", + "path": "src/Core/Maintenance/DependencyInjection/services.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "6ddd18b6d7e9146fa4e3d0c6580963e392ae6fde", + "commits": [], + "end_line": 10, + "id": "E4", + "kind": "lines", + "path": "src/Core/Maintenance/DependencyInjection/services.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 10 + }, + { + "blob_sha": "6ddd18b6d7e9146fa4e3d0c6580963e392ae6fde", + "commits": [], + "end_line": 11, + "id": "E5", + "kind": "lines", + "path": "src/Core/Maintenance/DependencyInjection/services.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 11 + }, + { + "blob_sha": "f97b22d2550471d975c5627bbd7fedf11b747c84", + "commits": [], + "end_line": 5, + "id": "E6", + "kind": "lines", + "path": "src/Core/Maintenance/Maintenance.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "f97b22d2550471d975c5627bbd7fedf11b747c84", + "commits": [], + "end_line": 6, + "id": "E7", + "kind": "lines", + "path": "src/Core/Maintenance/Maintenance.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "c3b5f3e3265408c064e0afbba727637a2374c80c", + "commits": [], + "end_line": 7, + "id": "E8", + "kind": "lines", + "path": "src/Core/Maintenance/MaintenanceException.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "c3b5f3e3265408c064e0afbba727637a2374c80c", + "commits": [], + "end_line": 8, + "id": "E9", + "kind": "lines", + "path": "src/Core/Maintenance/MaintenanceException.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "c3b5f3e3265408c064e0afbba727637a2374c80c", + "commits": [], + "end_line": 9, + "id": "E10", + "kind": "lines", + "path": "src/Core/Maintenance/MaintenanceException.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + } + ], + "src": "M:src/Core/Maintenance" + }, + { + "count": 2, + "dst": "M:src/Core/Installer", + "how": "import-path", + "id": "M:src/Core/Maintenance->M:src/Core/Installer", + "kind": "uses", + "refs": [ + { + "blob_sha": "6ddd18b6d7e9146fa4e3d0c6580963e392ae6fde", + "commits": [], + "end_line": 12, + "id": "E1", + "kind": "lines", + "path": "src/Core/Maintenance/DependencyInjection/services.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 12 + }, + { + "blob_sha": "5dbeaca3ff7a16145bac8619527e1990a5ba9528", + "commits": [], + "end_line": 11, + "id": "E2", + "kind": "lines", + "path": "src/Core/Maintenance/System/Command/SystemInstallCommand.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 11 + } + ], + "src": "M:src/Core/Maintenance" + }, + { + "count": 23, + "dst": "M:src/Core/System", + "how": "import-path", + "id": "M:src/Core/Maintenance->M:src/Core/System", + "kind": "uses", + "refs": [ + { + "blob_sha": "6ddd18b6d7e9146fa4e3d0c6580963e392ae6fde", + "commits": [], + "end_line": 41, + "id": "E1", + "kind": "lines", + "path": "src/Core/Maintenance/DependencyInjection/services.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 41 + }, + { + "blob_sha": "d2c427bcecb0673642512768ffdf3a50f00f6417", + "commits": [], + "end_line": 13, + "id": "E2", + "kind": "lines", + "path": "src/Core/Maintenance/SalesChannel/Command/SalesChannelFileEnableCommand.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 13 + }, + { + "blob_sha": "d2c427bcecb0673642512768ffdf3a50f00f6417", + "commits": [], + "end_line": 14, + "id": "E3", + "kind": "lines", + "path": "src/Core/Maintenance/SalesChannel/Command/SalesChannelFileEnableCommand.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 14 + }, + { + "blob_sha": "d2c427bcecb0673642512768ffdf3a50f00f6417", + "commits": [], + "end_line": 15, + "id": "E4", + "kind": "lines", + "path": "src/Core/Maintenance/SalesChannel/Command/SalesChannelFileEnableCommand.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 15 + }, + { + "blob_sha": "c036a86180d0233b951399881b8323ad43de8f5c", + "commits": [], + "end_line": 11, + "id": "E5", + "kind": "lines", + "path": "src/Core/Maintenance/SalesChannel/Command/SalesChannelListCommand.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 11 + }, + { + "blob_sha": "c036a86180d0233b951399881b8323ad43de8f5c", + "commits": [], + "end_line": 12, + "id": "E6", + "kind": "lines", + "path": "src/Core/Maintenance/SalesChannel/Command/SalesChannelListCommand.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 12 + }, + { + "blob_sha": "c036a86180d0233b951399881b8323ad43de8f5c", + "commits": [], + "end_line": 13, + "id": "E7", + "kind": "lines", + "path": "src/Core/Maintenance/SalesChannel/Command/SalesChannelListCommand.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 13 + }, + { + "blob_sha": "c036a86180d0233b951399881b8323ad43de8f5c", + "commits": [], + "end_line": 14, + "id": "E8", + "kind": "lines", + "path": "src/Core/Maintenance/SalesChannel/Command/SalesChannelListCommand.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 14 + }, + { + "blob_sha": "c036a86180d0233b951399881b8323ad43de8f5c", + "commits": [], + "end_line": 15, + "id": "E9", + "kind": "lines", + "path": "src/Core/Maintenance/SalesChannel/Command/SalesChannelListCommand.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 15 + }, + { + "blob_sha": "c036a86180d0233b951399881b8323ad43de8f5c", + "commits": [], + "end_line": 16, + "id": "E10", + "kind": "lines", + "path": "src/Core/Maintenance/SalesChannel/Command/SalesChannelListCommand.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 16 + } + ], + "src": "M:src/Core/Maintenance" + }, + { + "count": 179, + "dst": "M:src/Core/(root)", + "how": "import-path", + "id": "M:src/Core/Migration->M:src/Core/(root)", + "kind": "uses", + "refs": [ + { + "blob_sha": "12d59a0896d10c436432a583e3382e0336d3cc99", + "commits": [], + "end_line": 6, + "id": "E1", + "kind": "lines", + "path": "src/Core/Migration/Traits/CreateMailTemplateTrait.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "c3e48abcf26f1f4b7c030d21c043c65b75ba8242", + "commits": [], + "end_line": 6, + "id": "E2", + "kind": "lines", + "path": "src/Core/Migration/Traits/EnsureThumbnailSizesTrait.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "4f5f2a9029eebcbbdf3ac6983752b884ff82f588", + "commits": [], + "end_line": 6, + "id": "E3", + "kind": "lines", + "path": "src/Core/Migration/Traits/ImportTranslationsTrait.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "89d1ed102fd0488b7b046d1e7d53e005eb2c7fe3", + "commits": [], + "end_line": 6, + "id": "E4", + "kind": "lines", + "path": "src/Core/Migration/Traits/StateMachineMigrationImporter.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "3c8d03a90067671f3eb771b25eba15d98f7d6de9", + "commits": [], + "end_line": 7, + "id": "E5", + "kind": "lines", + "path": "src/Core/Migration/Traits/UpdateMailTrait.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "76d2550cd96c1a0902b94cb01e2f36edbbfd59d5", + "commits": [], + "end_line": 24, + "id": "E6", + "kind": "lines", + "path": "src/Core/Migration/V6_3/Migration1536233560BasicData.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 24 + }, + { + "blob_sha": "76d2550cd96c1a0902b94cb01e2f36edbbfd59d5", + "commits": [], + "end_line": 163, + "id": "E7", + "kind": "lines", + "path": "src/Core/Migration/V6_3/Migration1536233560BasicData.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 163 + }, + { + "blob_sha": "6cced9e2713b9166bbe8a40030ebafd638508fd7", + "commits": [], + "end_line": 6, + "id": "E8", + "kind": "lines", + "path": "src/Core/Migration/V6_3/Migration1554199340AddImportExportProfile.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "0ce95c8fcea3c462692db8c093a85ad00fff4039", + "commits": [], + "end_line": 6, + "id": "E9", + "kind": "lines", + "path": "src/Core/Migration/V6_3/Migration1558505525Logging.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "8f84775ed58a2727974a9cd7414a36d030af421e", + "commits": [], + "end_line": 6, + "id": "E10", + "kind": "lines", + "path": "src/Core/Migration/V6_3/Migration1561370284AddImportExportProductProfile.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + } + ], + "src": "M:src/Core/Migration" + }, + { + "count": 64, + "dst": "M:src/Core/Checkout", + "how": "import-path", + "id": "M:src/Core/Migration->M:src/Core/Checkout", + "kind": "uses", + "refs": [ + { + "blob_sha": "53968e94b381877fa684474b859700010a4645dd", + "commits": [], + "end_line": 6, + "id": "E1", + "kind": "lines", + "path": "src/Core/Migration/V6_3/Migration1536232920PaymentMethod.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "76d2550cd96c1a0902b94cb01e2f36edbbfd59d5", + "commits": [], + "end_line": 6, + "id": "E2", + "kind": "lines", + "path": "src/Core/Migration/V6_3/Migration1536233560BasicData.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "76d2550cd96c1a0902b94cb01e2f36edbbfd59d5", + "commits": [], + "end_line": 7, + "id": "E3", + "kind": "lines", + "path": "src/Core/Migration/V6_3/Migration1536233560BasicData.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "76d2550cd96c1a0902b94cb01e2f36edbbfd59d5", + "commits": [], + "end_line": 8, + "id": "E4", + "kind": "lines", + "path": "src/Core/Migration/V6_3/Migration1536233560BasicData.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "76d2550cd96c1a0902b94cb01e2f36edbbfd59d5", + "commits": [], + "end_line": 9, + "id": "E5", + "kind": "lines", + "path": "src/Core/Migration/V6_3/Migration1536233560BasicData.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "76d2550cd96c1a0902b94cb01e2f36edbbfd59d5", + "commits": [], + "end_line": 10, + "id": "E6", + "kind": "lines", + "path": "src/Core/Migration/V6_3/Migration1536233560BasicData.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 10 + }, + { + "blob_sha": "76d2550cd96c1a0902b94cb01e2f36edbbfd59d5", + "commits": [], + "end_line": 11, + "id": "E7", + "kind": "lines", + "path": "src/Core/Migration/V6_3/Migration1536233560BasicData.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 11 + }, + { + "blob_sha": "76d2550cd96c1a0902b94cb01e2f36edbbfd59d5", + "commits": [], + "end_line": 12, + "id": "E8", + "kind": "lines", + "path": "src/Core/Migration/V6_3/Migration1536233560BasicData.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 12 + }, + { + "blob_sha": "76d2550cd96c1a0902b94cb01e2f36edbbfd59d5", + "commits": [], + "end_line": 13, + "id": "E9", + "kind": "lines", + "path": "src/Core/Migration/V6_3/Migration1536233560BasicData.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 13 + }, + { + "blob_sha": "76d2550cd96c1a0902b94cb01e2f36edbbfd59d5", + "commits": [], + "end_line": 14, + "id": "E10", + "kind": "lines", + "path": "src/Core/Migration/V6_3/Migration1536233560BasicData.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 14 + } + ], + "src": "M:src/Core/Migration" + }, + { + "count": 121, + "dst": "M:src/Core/Content", + "how": "import-path", + "id": "M:src/Core/Migration->M:src/Core/Content", + "kind": "uses", + "refs": [ + { + "blob_sha": "76d2550cd96c1a0902b94cb01e2f36edbbfd59d5", + "commits": [], + "end_line": 19, + "id": "E1", + "kind": "lines", + "path": "src/Core/Migration/V6_3/Migration1536233560BasicData.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 19 + }, + { + "blob_sha": "76d2550cd96c1a0902b94cb01e2f36edbbfd59d5", + "commits": [], + "end_line": 20, + "id": "E2", + "kind": "lines", + "path": "src/Core/Migration/V6_3/Migration1536233560BasicData.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 20 + }, + { + "blob_sha": "76d2550cd96c1a0902b94cb01e2f36edbbfd59d5", + "commits": [], + "end_line": 21, + "id": "E3", + "kind": "lines", + "path": "src/Core/Migration/V6_3/Migration1536233560BasicData.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 21 + }, + { + "blob_sha": "76d2550cd96c1a0902b94cb01e2f36edbbfd59d5", + "commits": [], + "end_line": 22, + "id": "E4", + "kind": "lines", + "path": "src/Core/Migration/V6_3/Migration1536233560BasicData.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 22 + }, + { + "blob_sha": "76d2550cd96c1a0902b94cb01e2f36edbbfd59d5", + "commits": [], + "end_line": 23, + "id": "E5", + "kind": "lines", + "path": "src/Core/Migration/V6_3/Migration1536233560BasicData.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 23 + }, + { + "blob_sha": "61ebb02ca4d0206d3412db181a847d367ece9a57", + "commits": [], + "end_line": 6, + "id": "E6", + "kind": "lines", + "path": "src/Core/Migration/V6_3/Migration1562240231UserPasswordRecovery.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "e2961a42f38df7290ff37a093d2222e8ea8da6c3", + "commits": [], + "end_line": 6, + "id": "E7", + "kind": "lines", + "path": "src/Core/Migration/V6_3/Migration1562933907ContactForm.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "e2961a42f38df7290ff37a093d2222e8ea8da6c3", + "commits": [], + "end_line": 7, + "id": "E8", + "kind": "lines", + "path": "src/Core/Migration/V6_3/Migration1562933907ContactForm.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "e2961a42f38df7290ff37a093d2222e8ea8da6c3", + "commits": [], + "end_line": 8, + "id": "E9", + "kind": "lines", + "path": "src/Core/Migration/V6_3/Migration1562933907ContactForm.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "bde2cef29cec606c95c51d10c623cba2b73a1a63", + "commits": [], + "end_line": 6, + "id": "E10", + "kind": "lines", + "path": "src/Core/Migration/V6_3/Migration1567431050ContactFormTemplate.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + } + ], + "src": "M:src/Core/Migration" + }, + { + "count": 2188, + "dst": "M:src/Core/Framework", + "how": "import-path", + "id": "M:src/Core/Migration->M:src/Core/Framework", + "kind": "uses", + "refs": [ + { + "blob_sha": "4d44cfb8072c93721e1aa21a1c8612a62607c3d1", + "commits": [], + "end_line": 5, + "id": "E1", + "kind": "lines", + "path": "src/Core/Migration/Structs/MailCreationState.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "ef380023aba5ded4d64a5954478a94c3d7d782bd", + "commits": [], + "end_line": 5, + "id": "E2", + "kind": "lines", + "path": "src/Core/Migration/Structs/MailTemplateCreateStruct.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "ad11fe98f1842ce3595e6144a0ac60cf6c5b81d3", + "commits": [], + "end_line": 5, + "id": "E3", + "kind": "lines", + "path": "src/Core/Migration/Structs/MailTemplateTypeCreateStruct.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "12d59a0896d10c436432a583e3382e0336d3cc99", + "commits": [], + "end_line": 7, + "id": "E4", + "kind": "lines", + "path": "src/Core/Migration/Traits/CreateMailTemplateTrait.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "c3e48abcf26f1f4b7c030d21c043c65b75ba8242", + "commits": [], + "end_line": 7, + "id": "E5", + "kind": "lines", + "path": "src/Core/Migration/Traits/EnsureThumbnailSizesTrait.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "c3e48abcf26f1f4b7c030d21c043c65b75ba8242", + "commits": [], + "end_line": 8, + "id": "E6", + "kind": "lines", + "path": "src/Core/Migration/Traits/EnsureThumbnailSizesTrait.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "c3e48abcf26f1f4b7c030d21c043c65b75ba8242", + "commits": [], + "end_line": 9, + "id": "E7", + "kind": "lines", + "path": "src/Core/Migration/Traits/EnsureThumbnailSizesTrait.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "4f5f2a9029eebcbbdf3ac6983752b884ff82f588", + "commits": [], + "end_line": 7, + "id": "E8", + "kind": "lines", + "path": "src/Core/Migration/Traits/ImportTranslationsTrait.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "4f5f2a9029eebcbbdf3ac6983752b884ff82f588", + "commits": [], + "end_line": 8, + "id": "E9", + "kind": "lines", + "path": "src/Core/Migration/Traits/ImportTranslationsTrait.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "b3da9b375f038af93144e72927af83eede46ebd2", + "commits": [], + "end_line": 5, + "id": "E10", + "kind": "lines", + "path": "src/Core/Migration/Traits/MailSubjectUpdate.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + } + ], + "src": "M:src/Core/Migration" + }, + { + "count": 21, + "dst": "M:src/Core/System", + "how": "import-path", + "id": "M:src/Core/Migration->M:src/Core/System", + "kind": "uses", + "refs": [ + { + "blob_sha": "89d1ed102fd0488b7b046d1e7d53e005eb2c7fe3", + "commits": [], + "end_line": 10, + "id": "E1", + "kind": "lines", + "path": "src/Core/Migration/Traits/StateMachineMigrationImporter.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 10 + }, + { + "blob_sha": "89d1ed102fd0488b7b046d1e7d53e005eb2c7fe3", + "commits": [], + "end_line": 11, + "id": "E2", + "kind": "lines", + "path": "src/Core/Migration/Traits/StateMachineMigrationImporter.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 11 + }, + { + "blob_sha": "89d1ed102fd0488b7b046d1e7d53e005eb2c7fe3", + "commits": [], + "end_line": 12, + "id": "E3", + "kind": "lines", + "path": "src/Core/Migration/Traits/StateMachineMigrationImporter.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 12 + }, + { + "blob_sha": "89d1ed102fd0488b7b046d1e7d53e005eb2c7fe3", + "commits": [], + "end_line": 13, + "id": "E4", + "kind": "lines", + "path": "src/Core/Migration/Traits/StateMachineMigrationImporter.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 13 + }, + { + "blob_sha": "89d1ed102fd0488b7b046d1e7d53e005eb2c7fe3", + "commits": [], + "end_line": 14, + "id": "E5", + "kind": "lines", + "path": "src/Core/Migration/Traits/StateMachineMigrationImporter.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 14 + }, + { + "blob_sha": "76d2550cd96c1a0902b94cb01e2f36edbbfd59d5", + "commits": [], + "end_line": 30, + "id": "E6", + "kind": "lines", + "path": "src/Core/Migration/V6_3/Migration1536233560BasicData.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 30 + }, + { + "blob_sha": "0a98bb514a2e816b2ebbc23e88a79b2310ac9040", + "commits": [], + "end_line": 10, + "id": "E7", + "kind": "lines", + "path": "src/Core/Migration/V6_3/Migration1572193798TaxRule.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 10 + }, + { + "blob_sha": "0a98bb514a2e816b2ebbc23e88a79b2310ac9040", + "commits": [], + "end_line": 11, + "id": "E8", + "kind": "lines", + "path": "src/Core/Migration/V6_3/Migration1572193798TaxRule.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 11 + }, + { + "blob_sha": "0a98bb514a2e816b2ebbc23e88a79b2310ac9040", + "commits": [], + "end_line": 12, + "id": "E9", + "kind": "lines", + "path": "src/Core/Migration/V6_3/Migration1572193798TaxRule.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 12 + }, + { + "blob_sha": "0a98bb514a2e816b2ebbc23e88a79b2310ac9040", + "commits": [], + "end_line": 13, + "id": "E10", + "kind": "lines", + "path": "src/Core/Migration/V6_3/Migration1572193798TaxRule.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 13 + } + ], + "src": "M:src/Core/Migration" + }, + { + "count": 3, + "dst": "M:src/Core/Checkout", + "how": "import-path", + "id": "M:src/Core/Profiling->M:src/Core/Checkout", + "kind": "uses", + "refs": [ + { + "blob_sha": "9d1a1db23b14592a3246e654d98e50ee6dd82512", + "commits": [], + "end_line": 6, + "id": "E1", + "kind": "lines", + "path": "src/Core/Profiling/DependencyInjection/services_dev.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "434cd7af0763137850ee36faf06133e0768e8fd9", + "commits": [], + "end_line": 5, + "id": "E2", + "kind": "lines", + "path": "src/Core/Profiling/Subscriber/CartDataCollectorSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "434cd7af0763137850ee36faf06133e0768e8fd9", + "commits": [], + "end_line": 6, + "id": "E3", + "kind": "lines", + "path": "src/Core/Profiling/Subscriber/CartDataCollectorSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + } + ], + "src": "M:src/Core/Profiling" + }, + { + "count": 2, + "dst": "M:src/Core/Content", + "how": "import-path", + "id": "M:src/Core/Profiling->M:src/Core/Content", + "kind": "uses", + "refs": [ + { + "blob_sha": "1326e8d3ef879d4266945916ea2f7a5b8baea5f4", + "commits": [], + "end_line": 5, + "id": "E1", + "kind": "lines", + "path": "src/Core/Profiling/Subscriber/ActiveRulesDataCollectorSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "1326e8d3ef879d4266945916ea2f7a5b8baea5f4", + "commits": [], + "end_line": 6, + "id": "E2", + "kind": "lines", + "path": "src/Core/Profiling/Subscriber/ActiveRulesDataCollectorSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + } + ], + "src": "M:src/Core/Profiling" + }, + { + "count": 33, + "dst": "M:src/Core/Framework", + "how": "import-path", + "id": "M:src/Core/Profiling->M:src/Core/Framework", + "kind": "uses", + "refs": [ + { + "blob_sha": "fc017230729be898965463ff2dc81ef79694823c", + "commits": [], + "end_line": 6, + "id": "E1", + "kind": "lines", + "path": "src/Core/Profiling/Compiler/RemoveDevServices.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "fc017230729be898965463ff2dc81ef79694823c", + "commits": [], + "end_line": 7, + "id": "E2", + "kind": "lines", + "path": "src/Core/Profiling/Compiler/RemoveDevServices.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "46bc148d7ae1e0e4a733dd486eff4ff96c8eb514", + "commits": [], + "end_line": 6, + "id": "E3", + "kind": "lines", + "path": "src/Core/Profiling/Controller/ProfilerController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "42785459579f6be2fa21eb3fb832fae933850b41", + "commits": [], + "end_line": 5, + "id": "E4", + "kind": "lines", + "path": "src/Core/Profiling/DependencyInjection/CompilerPass/CartServiceCompilerPass.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "91634b15df3f22daba6d38cb2df57ce8a8fc1a54", + "commits": [], + "end_line": 5, + "id": "E5", + "kind": "lines", + "path": "src/Core/Profiling/DependencyInjection/services.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "9d1a1db23b14592a3246e654d98e50ee6dd82512", + "commits": [], + "end_line": 7, + "id": "E6", + "kind": "lines", + "path": "src/Core/Profiling/DependencyInjection/services_dev.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "a991645f6da7fd84f8406dbd23c831869801a6a8", + "commits": [], + "end_line": 5, + "id": "E7", + "kind": "lines", + "path": "src/Core/Profiling/Doctrine/BacktraceDebugDataHolder.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "92ab62bae7caac4e33545c6a6742d952fdb3f716", + "commits": [], + "end_line": 9, + "id": "E8", + "kind": "lines", + "path": "src/Core/Profiling/Doctrine/ConnectionProfiler.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "305651f13aadf9c27d7c4e39cf73a643edf93247", + "commits": [], + "end_line": 7, + "id": "E9", + "kind": "lines", + "path": "src/Core/Profiling/Doctrine/ProfilingMiddleware.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "91d2ccb0c4dbb24cefb9282108005c326fb3876f", + "commits": [], + "end_line": 5, + "id": "E10", + "kind": "lines", + "path": "src/Core/Profiling/FeatureFlag/FeatureFlagProfiler.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + } + ], + "src": "M:src/Core/Profiling" + }, + { + "count": 1, + "dst": "M:src/Core/System", + "how": "import-path", + "id": "M:src/Core/Profiling->M:src/Core/System", + "kind": "uses", + "refs": [ + { + "blob_sha": "434cd7af0763137850ee36faf06133e0768e8fd9", + "commits": [], + "end_line": 9, + "id": "E1", + "kind": "lines", + "path": "src/Core/Profiling/Subscriber/CartDataCollectorSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + } + ], + "src": "M:src/Core/Profiling" + }, + { + "count": 3, + "dst": "M:src/Core/(root)", + "how": "import-path", + "id": "M:src/Core/Service->M:src/Core/(root)", + "kind": "uses", + "refs": [ + { + "blob_sha": "c37080eb0863b9176ed8f49c7f474d1a4d89bef9", + "commits": [], + "end_line": 8, + "id": "E1", + "kind": "lines", + "path": "src/Core/Service/Api/PermissionController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "25203917c6a51be077fe6336e13fb84f4a45827b", + "commits": [], + "end_line": 5, + "id": "E2", + "kind": "lines", + "path": "src/Core/Service/Api/ServiceController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "25203917c6a51be077fe6336e13fb84f4a45827b", + "commits": [], + "end_line": 12, + "id": "E3", + "kind": "lines", + "path": "src/Core/Service/Api/ServiceController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 12 + } + ], + "src": "M:src/Core/Service" + }, + { + "count": 181, + "dst": "M:src/Core/Framework", + "how": "import-path", + "id": "M:src/Core/Service->M:src/Core/Framework", + "kind": "uses", + "refs": [ + { + "blob_sha": "4a0f33f7d3b0199b5b0abfd4a082eca30f562623", + "commits": [], + "end_line": 6, + "id": "E1", + "kind": "lines", + "path": "src/Core/Service/AllServiceInstaller.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "4a0f33f7d3b0199b5b0abfd4a082eca30f562623", + "commits": [], + "end_line": 7, + "id": "E2", + "kind": "lines", + "path": "src/Core/Service/AllServiceInstaller.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "c37080eb0863b9176ed8f49c7f474d1a4d89bef9", + "commits": [], + "end_line": 5, + "id": "E3", + "kind": "lines", + "path": "src/Core/Service/Api/PermissionController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "c37080eb0863b9176ed8f49c7f474d1a4d89bef9", + "commits": [], + "end_line": 6, + "id": "E4", + "kind": "lines", + "path": "src/Core/Service/Api/PermissionController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "c37080eb0863b9176ed8f49c7f474d1a4d89bef9", + "commits": [], + "end_line": 7, + "id": "E5", + "kind": "lines", + "path": "src/Core/Service/Api/PermissionController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "25203917c6a51be077fe6336e13fb84f4a45827b", + "commits": [], + "end_line": 6, + "id": "E6", + "kind": "lines", + "path": "src/Core/Service/Api/ServiceController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "25203917c6a51be077fe6336e13fb84f4a45827b", + "commits": [], + "end_line": 7, + "id": "E7", + "kind": "lines", + "path": "src/Core/Service/Api/ServiceController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "25203917c6a51be077fe6336e13fb84f4a45827b", + "commits": [], + "end_line": 8, + "id": "E8", + "kind": "lines", + "path": "src/Core/Service/Api/ServiceController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "25203917c6a51be077fe6336e13fb84f4a45827b", + "commits": [], + "end_line": 9, + "id": "E9", + "kind": "lines", + "path": "src/Core/Service/Api/ServiceController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "25203917c6a51be077fe6336e13fb84f4a45827b", + "commits": [], + "end_line": 10, + "id": "E10", + "kind": "lines", + "path": "src/Core/Service/Api/ServiceController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 10 + } + ], + "src": "M:src/Core/Service" + }, + { + "count": 7, + "dst": "M:src/Core/System", + "how": "import-path", + "id": "M:src/Core/Service->M:src/Core/System", + "kind": "uses", + "refs": [ + { + "blob_sha": "40f59e95571267333cad6907442ac23ffd165df2", + "commits": [], + "end_line": 55, + "id": "E1", + "kind": "lines", + "path": "src/Core/Service/DependencyInjection/services.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 55 + }, + { + "blob_sha": "3a2fa0e949d2b2478dd52da2487bb73dc785c557", + "commits": [], + "end_line": 8, + "id": "E2", + "kind": "lines", + "path": "src/Core/Service/LifecycleManager.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "9ab3ca3f45679a49edde3d563076f7f4e7abe1d9", + "commits": [], + "end_line": 13, + "id": "E3", + "kind": "lines", + "path": "src/Core/Service/Permission/PermissionsService.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 13 + }, + { + "blob_sha": "b23f91d99107bf7af640f524e5bf742df00b832e", + "commits": [], + "end_line": 7, + "id": "E4", + "kind": "lines", + "path": "src/Core/Service/Requirement/ServicesEnabledRequirement.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "1d451ac216d4215c2c3b444bcba17d24ee5032ae", + "commits": [], + "end_line": 11, + "id": "E5", + "kind": "lines", + "path": "src/Core/Service/ServiceRegistry/PermissionLogger.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 11 + }, + { + "blob_sha": "6ef46f066aef9c7310eb7233f40f7a40c92ed7af", + "commits": [], + "end_line": 8, + "id": "E6", + "kind": "lines", + "path": "src/Core/Service/Subscriber/LicenseProviderSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "6ef46f066aef9c7310eb7233f40f7a40c92ed7af", + "commits": [], + "end_line": 9, + "id": "E7", + "kind": "lines", + "path": "src/Core/Service/Subscriber/LicenseProviderSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + } + ], + "src": "M:src/Core/Service" + }, + { + "count": 1, + "dst": "M:src/Administration", + "how": "import-path", + "id": "M:src/Core/System->M:src/Administration", + "kind": "uses", + "refs": [ + { + "blob_sha": "1537131c42903dd6028948cae4067196f27048a3", + "commits": [], + "end_line": 5, + "id": "E1", + "kind": "lines", + "path": "src/Core/System/Snippet/SnippetFileHandler.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + } + ], + "src": "M:src/Core/System" + }, + { + "count": 61, + "dst": "M:src/Core/(root)", + "how": "import-path", + "id": "M:src/Core/System->M:src/Core/(root)", + "kind": "uses", + "refs": [ + { + "blob_sha": "672009ec00b147b04ccb5f67d68e043f4b6dd852", + "commits": [], + "end_line": 8, + "id": "E1", + "kind": "lines", + "path": "src/Core/System/Consent/Api/ConsentController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "e9a3e7baa556c7322d8aa84f244282857197bc3f", + "commits": [], + "end_line": 7, + "id": "E2", + "kind": "lines", + "path": "src/Core/System/Consent/ConsentRepository.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "301526db1c7e13800c12706f1e1f39505593fa43", + "commits": [], + "end_line": 5, + "id": "E3", + "kind": "lines", + "path": "src/Core/System/Consent/DTO/ConsentState.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "f4714d63926283be709a989caa0708700248833d", + "commits": [], + "end_line": 7, + "id": "E4", + "kind": "lines", + "path": "src/Core/System/Consent/Log/DatabaseLog.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "3aac9d3ce1d20d4378380ff44ca03f3d899b68af", + "commits": [], + "end_line": 7, + "id": "E5", + "kind": "lines", + "path": "src/Core/System/Country/CountryDefinition.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "fc5dbac4128f85d9db83a90781cf82622ee5406a", + "commits": [], + "end_line": 12, + "id": "E6", + "kind": "lines", + "path": "src/Core/System/Country/SalesChannel/CountryRoute.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 12 + }, + { + "blob_sha": "c1b6ea9963fc372988e9d633d18f6a271a329975", + "commits": [], + "end_line": 14, + "id": "E7", + "kind": "lines", + "path": "src/Core/System/Country/SalesChannel/CountryStateRoute.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 14 + }, + { + "blob_sha": "1343ce061ed1c359f71cf6b64cc4972854602eb1", + "commits": [], + "end_line": 5, + "id": "E8", + "kind": "lines", + "path": "src/Core/System/Currency/CurrencyLoadSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "a3c2953a46bdb3d53ef397da2ace64651fe06b9b", + "commits": [], + "end_line": 5, + "id": "E9", + "kind": "lines", + "path": "src/Core/System/Currency/CurrencyValidator.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "8a5d6998c1f78cc004c6584b67ef3f280ab9b426", + "commits": [], + "end_line": 11, + "id": "E10", + "kind": "lines", + "path": "src/Core/System/Currency/SalesChannel/CurrencyRoute.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 11 + } + ], + "src": "M:src/Core/System" + }, + { + "count": 160, + "dst": "M:src/Core/Checkout", + "how": "import-path", + "id": "M:src/Core/System->M:src/Core/Checkout", + "kind": "uses", + "refs": [ + { + "blob_sha": "4c9f9689c1a2a5400aae8ace4c87117523548cec", + "commits": [], + "end_line": 5, + "id": "E1", + "kind": "lines", + "path": "src/Core/System/Country/Aggregate/CountryState/CountryStateDefinition.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "4c9f9689c1a2a5400aae8ace4c87117523548cec", + "commits": [], + "end_line": 6, + "id": "E2", + "kind": "lines", + "path": "src/Core/System/Country/Aggregate/CountryState/CountryStateDefinition.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "a205674921ffac96207b0559070d77c2d8ca1947", + "commits": [], + "end_line": 5, + "id": "E3", + "kind": "lines", + "path": "src/Core/System/Country/Aggregate/CountryState/CountryStateEntity.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "a205674921ffac96207b0559070d77c2d8ca1947", + "commits": [], + "end_line": 6, + "id": "E4", + "kind": "lines", + "path": "src/Core/System/Country/Aggregate/CountryState/CountryStateEntity.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "3aac9d3ce1d20d4378380ff44ca03f3d899b68af", + "commits": [], + "end_line": 5, + "id": "E5", + "kind": "lines", + "path": "src/Core/System/Country/CountryDefinition.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "3aac9d3ce1d20d4378380ff44ca03f3d899b68af", + "commits": [], + "end_line": 6, + "id": "E6", + "kind": "lines", + "path": "src/Core/System/Country/CountryDefinition.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "634d1b2da2970d0ef145c45444c2d79cde9268d5", + "commits": [], + "end_line": 5, + "id": "E7", + "kind": "lines", + "path": "src/Core/System/Country/CountryEntity.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "634d1b2da2970d0ef145c45444c2d79cde9268d5", + "commits": [], + "end_line": 6, + "id": "E8", + "kind": "lines", + "path": "src/Core/System/Country/CountryEntity.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "d5a1951d3e6a30e8f402a7a7b959762bfc1e988b", + "commits": [], + "end_line": 5, + "id": "E9", + "kind": "lines", + "path": "src/Core/System/Currency/CurrencyDefinition.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "d5a1951d3e6a30e8f402a7a7b959762bfc1e988b", + "commits": [], + "end_line": 6, + "id": "E10", + "kind": "lines", + "path": "src/Core/System/Currency/CurrencyDefinition.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + } + ], + "src": "M:src/Core/System" + }, + { + "count": 141, + "dst": "M:src/Core/Content", + "how": "import-path", + "id": "M:src/Core/System->M:src/Core/Content", + "kind": "uses", + "refs": [ + { + "blob_sha": "d5a1951d3e6a30e8f402a7a7b959762bfc1e988b", + "commits": [], + "end_line": 7, + "id": "E1", + "kind": "lines", + "path": "src/Core/System/Currency/CurrencyDefinition.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "a478445aeed208b1e37282ac110de97de9ee62ac", + "commits": [], + "end_line": 7, + "id": "E2", + "kind": "lines", + "path": "src/Core/System/Currency/CurrencyEntity.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "16bf5425ccc3a0512a0be4429326d5b71cf863b5", + "commits": [], + "end_line": 5, + "id": "E3", + "kind": "lines", + "path": "src/Core/System/CustomField/Aggregate/CustomFieldSet/CustomFieldSetDefinition.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "16bf5425ccc3a0512a0be4429326d5b71cf863b5", + "commits": [], + "end_line": 6, + "id": "E4", + "kind": "lines", + "path": "src/Core/System/CustomField/Aggregate/CustomFieldSet/CustomFieldSetDefinition.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "3aab9d2d8dbde246d0fef13d827706e9a765f378", + "commits": [], + "end_line": 5, + "id": "E5", + "kind": "lines", + "path": "src/Core/System/CustomField/Aggregate/CustomFieldSet/CustomFieldSetEntity.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "587cf16c4edcf3899b1c3d29c6155e33514a45fd", + "commits": [], + "end_line": 5, + "id": "E6", + "kind": "lines", + "path": "src/Core/System/CustomField/CustomFieldDefinition.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "c36e3019b7a74a80f1cac6a9674e3b8cb7f5bf88", + "commits": [], + "end_line": 5, + "id": "E7", + "kind": "lines", + "path": "src/Core/System/CustomField/CustomFieldEntity.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "350896d09c684397a7cce4b4dacb29d9d42462c0", + "commits": [], + "end_line": 6, + "id": "E8", + "kind": "lines", + "path": "src/Core/System/DeliveryTime/DeliveryTimeDefinition.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "dfc15ffab9e98833aa25d3a0e49a1278249b6043", + "commits": [], + "end_line": 6, + "id": "E9", + "kind": "lines", + "path": "src/Core/System/DeliveryTime/DeliveryTimeEntity.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "6bbff22daca6154e4eee0380f15a79333a21cc32", + "commits": [], + "end_line": 15, + "id": "E10", + "kind": "lines", + "path": "src/Core/System/DependencyInjection/sales_channel.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 15 + } + ], + "src": "M:src/Core/System" + }, + { + "count": 1, + "dst": "M:src/Core/DevOps", + "how": "import-path", + "id": "M:src/Core/System->M:src/Core/DevOps", + "kind": "uses", + "refs": [ + { + "blob_sha": "a97e57892e3ddf4edca484b8dc4f64f3084e538b", + "commits": [], + "end_line": 5, + "id": "E1", + "kind": "lines", + "path": "src/Core/System/Snippet/SnippetValidator.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + } + ], + "src": "M:src/Core/System" + }, + { + "count": 2539, + "dst": "M:src/Core/Framework", + "how": "import-path", + "id": "M:src/Core/System->M:src/Core/Framework", + "kind": "uses", + "refs": [ + { + "blob_sha": "672009ec00b147b04ccb5f67d68e043f4b6dd852", + "commits": [], + "end_line": 5, + "id": "E1", + "kind": "lines", + "path": "src/Core/System/Consent/Api/ConsentController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "672009ec00b147b04ccb5f67d68e043f4b6dd852", + "commits": [], + "end_line": 6, + "id": "E2", + "kind": "lines", + "path": "src/Core/System/Consent/Api/ConsentController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "672009ec00b147b04ccb5f67d68e043f4b6dd852", + "commits": [], + "end_line": 7, + "id": "E3", + "kind": "lines", + "path": "src/Core/System/Consent/Api/ConsentController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "a3df215417a0c02476e9c1dfd02b0ca7c8eb7dfa", + "commits": [], + "end_line": 5, + "id": "E4", + "kind": "lines", + "path": "src/Core/System/Consent/ConsentDefinition.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "b2def24751630828f3ba6b2b5b4eceff0311332c", + "commits": [], + "end_line": 5, + "id": "E5", + "kind": "lines", + "path": "src/Core/System/Consent/ConsentDefinitionRegistry.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "d5633404b4081144f90273afa77f9a5897c74aa0", + "commits": [], + "end_line": 5, + "id": "E6", + "kind": "lines", + "path": "src/Core/System/Consent/ConsentException.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "d5633404b4081144f90273afa77f9a5897c74aa0", + "commits": [], + "end_line": 6, + "id": "E7", + "kind": "lines", + "path": "src/Core/System/Consent/ConsentException.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "e9a3e7baa556c7322d8aa84f244282857197bc3f", + "commits": [], + "end_line": 8, + "id": "E8", + "kind": "lines", + "path": "src/Core/System/Consent/ConsentRepository.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "e9a3e7baa556c7322d8aa84f244282857197bc3f", + "commits": [], + "end_line": 9, + "id": "E9", + "kind": "lines", + "path": "src/Core/System/Consent/ConsentRepository.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "3eb4ddae35f5c92aa3035c198daa77e5f63c7923", + "commits": [], + "end_line": 5, + "id": "E10", + "kind": "lines", + "path": "src/Core/System/Consent/ConsentScope.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + } + ], + "src": "M:src/Core/System" + }, + { + "count": 1, + "dst": "M:src/Core/Maintenance", + "how": "import-path", + "id": "M:src/Core/System->M:src/Core/Maintenance", + "kind": "uses", + "refs": [ + { + "blob_sha": "236aced38b6a13c66f00e3f89006ff91800e3cdd", + "commits": [], + "end_line": 7, + "id": "E1", + "kind": "lines", + "path": "src/Core/System/Consent/Subscriber/SetupStagingEventSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + } + ], + "src": "M:src/Core/System" + }, + { + "count": 2, + "dst": "M:src/Core/Profiling", + "how": "import-path", + "id": "M:src/Core/System->M:src/Core/Profiling", + "kind": "uses", + "refs": [ + { + "blob_sha": "1bbae68f6282503d83740fb66e9879949c5a34e5", + "commits": [], + "end_line": 13, + "id": "E1", + "kind": "lines", + "path": "src/Core/System/SalesChannel/Context/SalesChannelContextService.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 13 + }, + { + "blob_sha": "b3c7626c01e82113f850ac083c23449872393883", + "commits": [], + "end_line": 24, + "id": "E2", + "kind": "lines", + "path": "src/Core/System/SalesChannel/Entity/SalesChannelRepository.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 24 + } + ], + "src": "M:src/Core/System" + }, + { + "count": 9, + "dst": "M:src/Core/(root)", + "how": "import-path", + "id": "M:src/Elasticsearch->M:src/Core/(root)", + "kind": "uses", + "refs": [ + { + "blob_sha": "2db78f16f18ef31e6c56f37d437057702035b4ae", + "commits": [], + "end_line": 13, + "id": "E1", + "kind": "lines", + "path": "src/Elasticsearch/Admin/AdminSearchController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 13 + }, + { + "blob_sha": "e4b309367269f9776708c358a57d9cbae740f421", + "commits": [], + "end_line": 13, + "id": "E2", + "kind": "lines", + "path": "src/Elasticsearch/Admin/AdminSearchRegistry.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 13 + }, + { + "blob_sha": "1f6efcaf2109b01a6a47d148912d699a1cbfea8a", + "commits": [], + "end_line": 6, + "id": "E3", + "kind": "lines", + "path": "src/Elasticsearch/Admin/Indexer/AbstractAdminIndexer.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "fe55001b34393b47932e636382067bd0cc80daea", + "commits": [], + "end_line": 14, + "id": "E4", + "kind": "lines", + "path": "src/Elasticsearch/Admin/Indexer/OrderAdminSearchIndexer.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 14 + }, + { + "blob_sha": "2666d49d0a0b88ff5ae777964a15161f3c4e8b87", + "commits": [], + "end_line": 20, + "id": "E5", + "kind": "lines", + "path": "src/Elasticsearch/Admin/Indexer/ProductAdminSearchIndexer.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 20 + }, + { + "blob_sha": "bd44e52b4e5579cca2eed7f307912be5f4568126", + "commits": [], + "end_line": 27, + "id": "E6", + "kind": "lines", + "path": "src/Elasticsearch/Framework/DataAbstractionLayer/CriteriaParser.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 27 + }, + { + "blob_sha": "6c0c987353b3f86e9ef93cec2c2b9fd36f5d6e24", + "commits": [], + "end_line": 6, + "id": "E7", + "kind": "lines", + "path": "src/Elasticsearch/Framework/ElasticsearchFieldMapper.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "02ac78967822531d59ad7a83fe14f42dc0d6d6ec", + "commits": [], + "end_line": 9, + "id": "E8", + "kind": "lines", + "path": "src/Elasticsearch/Product/ElasticsearchProductDefinition.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "9ffb829737b7518eaa35af0f464a1c30b1d8188c", + "commits": [], + "end_line": 8, + "id": "E9", + "kind": "lines", + "path": "src/Elasticsearch/Profiler/DataCollector.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + } + ], + "src": "M:src/Elasticsearch" + }, + { + "count": 30, + "dst": "M:src/Core/Checkout", + "how": "import-path", + "id": "M:src/Elasticsearch->M:src/Core/Checkout", + "kind": "uses", + "refs": [ + { + "blob_sha": "2acb36deff72e12663a9b64427c83960464ca52e", + "commits": [], + "end_line": 7, + "id": "E1", + "kind": "lines", + "path": "src/Elasticsearch/Admin/Indexer/CustomerAdminSearchIndexer.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "2acb36deff72e12663a9b64427c83960464ca52e", + "commits": [], + "end_line": 8, + "id": "E2", + "kind": "lines", + "path": "src/Elasticsearch/Admin/Indexer/CustomerAdminSearchIndexer.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "2acb36deff72e12663a9b64427c83960464ca52e", + "commits": [], + "end_line": 9, + "id": "E3", + "kind": "lines", + "path": "src/Elasticsearch/Admin/Indexer/CustomerAdminSearchIndexer.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "2acb36deff72e12663a9b64427c83960464ca52e", + "commits": [], + "end_line": 10, + "id": "E4", + "kind": "lines", + "path": "src/Elasticsearch/Admin/Indexer/CustomerAdminSearchIndexer.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 10 + }, + { + "blob_sha": "ed3978860f28cf7890510fd91dd804981d798fde", + "commits": [], + "end_line": 7, + "id": "E5", + "kind": "lines", + "path": "src/Elasticsearch/Admin/Indexer/CustomerGroupAdminSearchIndexer.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "ed3978860f28cf7890510fd91dd804981d798fde", + "commits": [], + "end_line": 8, + "id": "E6", + "kind": "lines", + "path": "src/Elasticsearch/Admin/Indexer/CustomerGroupAdminSearchIndexer.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "ed3978860f28cf7890510fd91dd804981d798fde", + "commits": [], + "end_line": 9, + "id": "E7", + "kind": "lines", + "path": "src/Elasticsearch/Admin/Indexer/CustomerGroupAdminSearchIndexer.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "fe55001b34393b47932e636382067bd0cc80daea", + "commits": [], + "end_line": 7, + "id": "E8", + "kind": "lines", + "path": "src/Elasticsearch/Admin/Indexer/OrderAdminSearchIndexer.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "fe55001b34393b47932e636382067bd0cc80daea", + "commits": [], + "end_line": 8, + "id": "E9", + "kind": "lines", + "path": "src/Elasticsearch/Admin/Indexer/OrderAdminSearchIndexer.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "fe55001b34393b47932e636382067bd0cc80daea", + "commits": [], + "end_line": 9, + "id": "E10", + "kind": "lines", + "path": "src/Elasticsearch/Admin/Indexer/OrderAdminSearchIndexer.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + } + ], + "src": "M:src/Elasticsearch" + }, + { + "count": 58, + "dst": "M:src/Core/Content", + "how": "import-path", + "id": "M:src/Elasticsearch->M:src/Core/Content", + "kind": "uses", + "refs": [ + { + "blob_sha": "93d6952f6a8511d3ec33957b43d4786cfd934839", + "commits": [], + "end_line": 7, + "id": "E1", + "kind": "lines", + "path": "src/Elasticsearch/Admin/Indexer/CategoryAdminSearchIndexer.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "93d6952f6a8511d3ec33957b43d4786cfd934839", + "commits": [], + "end_line": 8, + "id": "E2", + "kind": "lines", + "path": "src/Elasticsearch/Admin/Indexer/CategoryAdminSearchIndexer.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "93d6952f6a8511d3ec33957b43d4786cfd934839", + "commits": [], + "end_line": 9, + "id": "E3", + "kind": "lines", + "path": "src/Elasticsearch/Admin/Indexer/CategoryAdminSearchIndexer.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "93d6952f6a8511d3ec33957b43d4786cfd934839", + "commits": [], + "end_line": 10, + "id": "E4", + "kind": "lines", + "path": "src/Elasticsearch/Admin/Indexer/CategoryAdminSearchIndexer.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 10 + }, + { + "blob_sha": "10207a2de118be141d7f8b5c71aac706d9111d6a", + "commits": [], + "end_line": 7, + "id": "E5", + "kind": "lines", + "path": "src/Elasticsearch/Admin/Indexer/CmsPageAdminSearchIndexer.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "10207a2de118be141d7f8b5c71aac706d9111d6a", + "commits": [], + "end_line": 8, + "id": "E6", + "kind": "lines", + "path": "src/Elasticsearch/Admin/Indexer/CmsPageAdminSearchIndexer.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "10207a2de118be141d7f8b5c71aac706d9111d6a", + "commits": [], + "end_line": 9, + "id": "E7", + "kind": "lines", + "path": "src/Elasticsearch/Admin/Indexer/CmsPageAdminSearchIndexer.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "d325704ad88fda51a54078ae2e47b23607b96b05", + "commits": [], + "end_line": 7, + "id": "E8", + "kind": "lines", + "path": "src/Elasticsearch/Admin/Indexer/LandingPageAdminSearchIndexer.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "d325704ad88fda51a54078ae2e47b23607b96b05", + "commits": [], + "end_line": 8, + "id": "E9", + "kind": "lines", + "path": "src/Elasticsearch/Admin/Indexer/LandingPageAdminSearchIndexer.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "d325704ad88fda51a54078ae2e47b23607b96b05", + "commits": [], + "end_line": 9, + "id": "E10", + "kind": "lines", + "path": "src/Elasticsearch/Admin/Indexer/LandingPageAdminSearchIndexer.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + } + ], + "src": "M:src/Elasticsearch" + }, + { + "count": 1, + "dst": "M:src/Core/DevOps", + "how": "import-path", + "id": "M:src/Elasticsearch->M:src/Core/DevOps", + "kind": "uses", + "refs": [ + { + "blob_sha": "aa463cd94ecca25621bb4733fc31946f7ee58fc3", + "commits": [], + "end_line": 3, + "id": "E1", + "kind": "lines", + "path": "src/Elasticsearch/Resources/config/packages/shopware.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 3 + } + ], + "src": "M:src/Elasticsearch" + }, + { + "count": 592, + "dst": "M:src/Core/Framework", + "how": "import-path", + "id": "M:src/Elasticsearch->M:src/Core/Framework", + "kind": "uses", + "refs": [ + { + "blob_sha": "4a79cacf901c5c4da5750c84891e6e8991294e4b", + "commits": [], + "end_line": 6, + "id": "E1", + "kind": "lines", + "path": "src/Elasticsearch/AbstractFieldQueryBuilder.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "4a79cacf901c5c4da5750c84891e6e8991294e4b", + "commits": [], + "end_line": 7, + "id": "E2", + "kind": "lines", + "path": "src/Elasticsearch/AbstractFieldQueryBuilder.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "5b32c5ee9c86427528d86aae4bfc1915b8ca1ceb", + "commits": [], + "end_line": 6, + "id": "E3", + "kind": "lines", + "path": "src/Elasticsearch/AbstractTokenQueryBuilder.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "5b32c5ee9c86427528d86aae4bfc1915b8ca1ceb", + "commits": [], + "end_line": 7, + "id": "E4", + "kind": "lines", + "path": "src/Elasticsearch/AbstractTokenQueryBuilder.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "a575e1c656b210245026cc1158d8f150bba7d1cb", + "commits": [], + "end_line": 5, + "id": "E5", + "kind": "lines", + "path": "src/Elasticsearch/Admin/AdminElasticsearchEntitySearcher.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "a575e1c656b210245026cc1158d8f150bba7d1cb", + "commits": [], + "end_line": 6, + "id": "E6", + "kind": "lines", + "path": "src/Elasticsearch/Admin/AdminElasticsearchEntitySearcher.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "a575e1c656b210245026cc1158d8f150bba7d1cb", + "commits": [], + "end_line": 7, + "id": "E7", + "kind": "lines", + "path": "src/Elasticsearch/Admin/AdminElasticsearchEntitySearcher.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "a575e1c656b210245026cc1158d8f150bba7d1cb", + "commits": [], + "end_line": 8, + "id": "E8", + "kind": "lines", + "path": "src/Elasticsearch/Admin/AdminElasticsearchEntitySearcher.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "a575e1c656b210245026cc1158d8f150bba7d1cb", + "commits": [], + "end_line": 9, + "id": "E9", + "kind": "lines", + "path": "src/Elasticsearch/Admin/AdminElasticsearchEntitySearcher.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "a575e1c656b210245026cc1158d8f150bba7d1cb", + "commits": [], + "end_line": 10, + "id": "E10", + "kind": "lines", + "path": "src/Elasticsearch/Admin/AdminElasticsearchEntitySearcher.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 10 + } + ], + "src": "M:src/Elasticsearch" + }, + { + "count": 1, + "dst": "M:src/Core/Maintenance", + "how": "import-path", + "id": "M:src/Elasticsearch->M:src/Core/Maintenance", + "kind": "uses", + "refs": [ + { + "blob_sha": "b940e31500f4f3bc1dcda6d16e1e0a07b0f4c748", + "commits": [], + "end_line": 6, + "id": "E1", + "kind": "lines", + "path": "src/Elasticsearch/Framework/ElasticsearchStagingHandler.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + } + ], + "src": "M:src/Elasticsearch" + }, + { + "count": 22, + "dst": "M:src/Core/System", + "how": "import-path", + "id": "M:src/Elasticsearch->M:src/Core/System", + "kind": "uses", + "refs": [ + { + "blob_sha": "49d862af562582c356e86a4d73314e1ee02b5fa8", + "commits": [], + "end_line": 16, + "id": "E1", + "kind": "lines", + "path": "src/Elasticsearch/Admin/Indexer/SalesChannelAdminSearchIndexer.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 16 + }, + { + "blob_sha": "49d862af562582c356e86a4d73314e1ee02b5fa8", + "commits": [], + "end_line": 17, + "id": "E2", + "kind": "lines", + "path": "src/Elasticsearch/Admin/Indexer/SalesChannelAdminSearchIndexer.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 17 + }, + { + "blob_sha": "49d862af562582c356e86a4d73314e1ee02b5fa8", + "commits": [], + "end_line": 18, + "id": "E3", + "kind": "lines", + "path": "src/Elasticsearch/Admin/Indexer/SalesChannelAdminSearchIndexer.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 18 + }, + { + "blob_sha": "2ca7b954dcfdeff00de04928fbb5e43b6b82af61", + "commits": [], + "end_line": 19, + "id": "E4", + "kind": "lines", + "path": "src/Elasticsearch/DependencyInjection/services.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 19 + }, + { + "blob_sha": "2ca7b954dcfdeff00de04928fbb5e43b6b82af61", + "commits": [], + "end_line": 20, + "id": "E5", + "kind": "lines", + "path": "src/Elasticsearch/DependencyInjection/services.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 20 + }, + { + "blob_sha": "2ca7b954dcfdeff00de04928fbb5e43b6b82af61", + "commits": [], + "end_line": 21, + "id": "E6", + "kind": "lines", + "path": "src/Elasticsearch/DependencyInjection/services.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 21 + }, + { + "blob_sha": "2ca7b954dcfdeff00de04928fbb5e43b6b82af61", + "commits": [], + "end_line": 22, + "id": "E7", + "kind": "lines", + "path": "src/Elasticsearch/DependencyInjection/services.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 22 + }, + { + "blob_sha": "1fbc4b3bb7e09cd5b5d0e16b589e3e9146f8c47a", + "commits": [], + "end_line": 8, + "id": "E8", + "kind": "lines", + "path": "src/Elasticsearch/Event/ElasticsearchCustomFieldsMappingEvent.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "a164980f8bb2ab42c2ae36c6a6879ec00cd84e29", + "commits": [], + "end_line": 19, + "id": "E9", + "kind": "lines", + "path": "src/Elasticsearch/Framework/Command/ElasticsearchAdminTestCommand.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 19 + }, + { + "blob_sha": "bd44e52b4e5579cca2eed7f307912be5f4568126", + "commits": [], + "end_line": 72, + "id": "E10", + "kind": "lines", + "path": "src/Elasticsearch/Framework/DataAbstractionLayer/CriteriaParser.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 72 + } + ], + "src": "M:src/Elasticsearch" + }, + { + "count": 2, + "dst": "M:src/Core/Framework", + "how": "import-path", + "id": "M:src/Storefront/(root)->M:src/Core/Framework", + "kind": "uses", + "refs": [ + { + "blob_sha": "9df1570d20832a03ad3a4ed653faff7d8b9db97b", + "commits": [], + "end_line": 5, + "id": "E1", + "kind": "lines", + "path": "src/Storefront/Storefront.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "9df1570d20832a03ad3a4ed653faff7d8b9db97b", + "commits": [], + "end_line": 6, + "id": "E2", + "kind": "lines", + "path": "src/Storefront/Storefront.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + } + ], + "src": "M:src/Storefront/(root)" + }, + { + "count": 4, + "dst": "M:src/Storefront/DependencyInjection", + "how": "import-path", + "id": "M:src/Storefront/(root)->M:src/Storefront/DependencyInjection", + "kind": "uses", + "refs": [ + { + "blob_sha": "9df1570d20832a03ad3a4ed653faff7d8b9db97b", + "commits": [], + "end_line": 7, + "id": "E1", + "kind": "lines", + "path": "src/Storefront/Storefront.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "9df1570d20832a03ad3a4ed653faff7d8b9db97b", + "commits": [], + "end_line": 8, + "id": "E2", + "kind": "lines", + "path": "src/Storefront/Storefront.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "9df1570d20832a03ad3a4ed653faff7d8b9db97b", + "commits": [], + "end_line": 9, + "id": "E3", + "kind": "lines", + "path": "src/Storefront/Storefront.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "9df1570d20832a03ad3a4ed653faff7d8b9db97b", + "commits": [], + "end_line": 10, + "id": "E4", + "kind": "lines", + "path": "src/Storefront/Storefront.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 10 + } + ], + "src": "M:src/Storefront/(root)" + }, + { + "count": 1, + "dst": "M:src/Storefront/Framework", + "how": "import-path", + "id": "M:src/Storefront/(root)->M:src/Storefront/Framework", + "kind": "uses", + "refs": [ + { + "blob_sha": "9df1570d20832a03ad3a4ed653faff7d8b9db97b", + "commits": [], + "end_line": 11, + "id": "E1", + "kind": "lines", + "path": "src/Storefront/Storefront.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 11 + } + ], + "src": "M:src/Storefront/(root)" + }, + { + "count": 1, + "dst": "M:src/Core/(root)", + "how": "import-path", + "id": "M:src/Storefront/Checkout->M:src/Core/(root)", + "kind": "uses", + "refs": [ + { + "blob_sha": "a346ba6e5169b8aa0556e34811507348e9a14a0c", + "commits": [], + "end_line": 10, + "id": "E1", + "kind": "lines", + "path": "src/Storefront/Checkout/Customer/CustomerGroupSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 10 + } + ], + "src": "M:src/Storefront/Checkout" + }, + { + "count": 31, + "dst": "M:src/Core/Checkout", + "how": "import-path", + "id": "M:src/Storefront/Checkout->M:src/Core/Checkout", + "kind": "uses", + "refs": [ + { + "blob_sha": "a4382809213ca6dbdd54b0d8e80ac27ea0115a9f", + "commits": [], + "end_line": 5, + "id": "E1", + "kind": "lines", + "path": "src/Storefront/Checkout/Cart/Error/PaymentMethodChangedError.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "c0b2ceea580e88f5ea87af35e4fd501de02c13ac", + "commits": [], + "end_line": 5, + "id": "E2", + "kind": "lines", + "path": "src/Storefront/Checkout/Cart/Error/ShippingMethodChangedError.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "54594dd510f7bd2385151758d7614ac4f860a4d1", + "commits": [], + "end_line": 5, + "id": "E3", + "kind": "lines", + "path": "src/Storefront/Checkout/Cart/SalesChannel/StorefrontCartFacade.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "54594dd510f7bd2385151758d7614ac4f860a4d1", + "commits": [], + "end_line": 6, + "id": "E4", + "kind": "lines", + "path": "src/Storefront/Checkout/Cart/SalesChannel/StorefrontCartFacade.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "54594dd510f7bd2385151758d7614ac4f860a4d1", + "commits": [], + "end_line": 7, + "id": "E5", + "kind": "lines", + "path": "src/Storefront/Checkout/Cart/SalesChannel/StorefrontCartFacade.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "54594dd510f7bd2385151758d7614ac4f860a4d1", + "commits": [], + "end_line": 8, + "id": "E6", + "kind": "lines", + "path": "src/Storefront/Checkout/Cart/SalesChannel/StorefrontCartFacade.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "54594dd510f7bd2385151758d7614ac4f860a4d1", + "commits": [], + "end_line": 9, + "id": "E7", + "kind": "lines", + "path": "src/Storefront/Checkout/Cart/SalesChannel/StorefrontCartFacade.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "54594dd510f7bd2385151758d7614ac4f860a4d1", + "commits": [], + "end_line": 10, + "id": "E8", + "kind": "lines", + "path": "src/Storefront/Checkout/Cart/SalesChannel/StorefrontCartFacade.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 10 + }, + { + "blob_sha": "54594dd510f7bd2385151758d7614ac4f860a4d1", + "commits": [], + "end_line": 11, + "id": "E9", + "kind": "lines", + "path": "src/Storefront/Checkout/Cart/SalesChannel/StorefrontCartFacade.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 11 + }, + { + "blob_sha": "54594dd510f7bd2385151758d7614ac4f860a4d1", + "commits": [], + "end_line": 12, + "id": "E10", + "kind": "lines", + "path": "src/Storefront/Checkout/Cart/SalesChannel/StorefrontCartFacade.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 12 + } + ], + "src": "M:src/Storefront/Checkout" + }, + { + "count": 4, + "dst": "M:src/Core/Content", + "how": "import-path", + "id": "M:src/Storefront/Checkout->M:src/Core/Content", + "kind": "uses", + "refs": [ + { + "blob_sha": "a346ba6e5169b8aa0556e34811507348e9a14a0c", + "commits": [], + "end_line": 8, + "id": "E1", + "kind": "lines", + "path": "src/Storefront/Checkout/Customer/CustomerGroupSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "a346ba6e5169b8aa0556e34811507348e9a14a0c", + "commits": [], + "end_line": 9, + "id": "E2", + "kind": "lines", + "path": "src/Storefront/Checkout/Customer/CustomerGroupSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "21d23ca2b19a268a9a749a46dc0bdb0decdf8615", + "commits": [], + "end_line": 7, + "id": "E3", + "kind": "lines", + "path": "src/Storefront/Checkout/Order/OrderProductAvailabilityResolver.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "21d23ca2b19a268a9a749a46dc0bdb0decdf8615", + "commits": [], + "end_line": 8, + "id": "E4", + "kind": "lines", + "path": "src/Storefront/Checkout/Order/OrderProductAvailabilityResolver.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + } + ], + "src": "M:src/Storefront/Checkout" + }, + { + "count": 27, + "dst": "M:src/Core/Framework", + "how": "import-path", + "id": "M:src/Storefront/Checkout->M:src/Core/Framework", + "kind": "uses", + "refs": [ + { + "blob_sha": "a4382809213ca6dbdd54b0d8e80ac27ea0115a9f", + "commits": [], + "end_line": 6, + "id": "E1", + "kind": "lines", + "path": "src/Storefront/Checkout/Cart/Error/PaymentMethodChangedError.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "a4382809213ca6dbdd54b0d8e80ac27ea0115a9f", + "commits": [], + "end_line": 7, + "id": "E2", + "kind": "lines", + "path": "src/Storefront/Checkout/Cart/Error/PaymentMethodChangedError.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "a4382809213ca6dbdd54b0d8e80ac27ea0115a9f", + "commits": [], + "end_line": 8, + "id": "E3", + "kind": "lines", + "path": "src/Storefront/Checkout/Cart/Error/PaymentMethodChangedError.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "a4382809213ca6dbdd54b0d8e80ac27ea0115a9f", + "commits": [], + "end_line": 9, + "id": "E4", + "kind": "lines", + "path": "src/Storefront/Checkout/Cart/Error/PaymentMethodChangedError.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "c0b2ceea580e88f5ea87af35e4fd501de02c13ac", + "commits": [], + "end_line": 6, + "id": "E5", + "kind": "lines", + "path": "src/Storefront/Checkout/Cart/Error/ShippingMethodChangedError.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "c0b2ceea580e88f5ea87af35e4fd501de02c13ac", + "commits": [], + "end_line": 7, + "id": "E6", + "kind": "lines", + "path": "src/Storefront/Checkout/Cart/Error/ShippingMethodChangedError.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "c0b2ceea580e88f5ea87af35e4fd501de02c13ac", + "commits": [], + "end_line": 8, + "id": "E7", + "kind": "lines", + "path": "src/Storefront/Checkout/Cart/Error/ShippingMethodChangedError.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "c0b2ceea580e88f5ea87af35e4fd501de02c13ac", + "commits": [], + "end_line": 9, + "id": "E8", + "kind": "lines", + "path": "src/Storefront/Checkout/Cart/Error/ShippingMethodChangedError.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "54594dd510f7bd2385151758d7614ac4f860a4d1", + "commits": [], + "end_line": 16, + "id": "E9", + "kind": "lines", + "path": "src/Storefront/Checkout/Cart/SalesChannel/StorefrontCartFacade.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 16 + }, + { + "blob_sha": "54594dd510f7bd2385151758d7614ac4f860a4d1", + "commits": [], + "end_line": 17, + "id": "E10", + "kind": "lines", + "path": "src/Storefront/Checkout/Cart/SalesChannel/StorefrontCartFacade.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 17 + } + ], + "src": "M:src/Storefront/Checkout" + }, + { + "count": 9, + "dst": "M:src/Core/System", + "how": "import-path", + "id": "M:src/Storefront/Checkout->M:src/Core/System", + "kind": "uses", + "refs": [ + { + "blob_sha": "54594dd510f7bd2385151758d7614ac4f860a4d1", + "commits": [], + "end_line": 18, + "id": "E1", + "kind": "lines", + "path": "src/Storefront/Checkout/Cart/SalesChannel/StorefrontCartFacade.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 18 + }, + { + "blob_sha": "54594dd510f7bd2385151758d7614ac4f860a4d1", + "commits": [], + "end_line": 19, + "id": "E2", + "kind": "lines", + "path": "src/Storefront/Checkout/Cart/SalesChannel/StorefrontCartFacade.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 19 + }, + { + "blob_sha": "54594dd510f7bd2385151758d7614ac4f860a4d1", + "commits": [], + "end_line": 20, + "id": "E3", + "kind": "lines", + "path": "src/Storefront/Checkout/Cart/SalesChannel/StorefrontCartFacade.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 20 + }, + { + "blob_sha": "a346ba6e5169b8aa0556e34811507348e9a14a0c", + "commits": [], + "end_line": 20, + "id": "E4", + "kind": "lines", + "path": "src/Storefront/Checkout/Customer/CustomerGroupSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 20 + }, + { + "blob_sha": "21d23ca2b19a268a9a749a46dc0bdb0decdf8615", + "commits": [], + "end_line": 12, + "id": "E5", + "kind": "lines", + "path": "src/Storefront/Checkout/Order/OrderProductAvailabilityResolver.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 12 + }, + { + "blob_sha": "21d23ca2b19a268a9a749a46dc0bdb0decdf8615", + "commits": [], + "end_line": 13, + "id": "E6", + "kind": "lines", + "path": "src/Storefront/Checkout/Order/OrderProductAvailabilityResolver.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 13 + }, + { + "blob_sha": "21d23ca2b19a268a9a749a46dc0bdb0decdf8615", + "commits": [], + "end_line": 14, + "id": "E7", + "kind": "lines", + "path": "src/Storefront/Checkout/Order/OrderProductAvailabilityResolver.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 14 + }, + { + "blob_sha": "24b387647f37e6aee9eb1e2e1e34e27728424c1c", + "commits": [], + "end_line": 13, + "id": "E8", + "kind": "lines", + "path": "src/Storefront/Checkout/Payment/BlockedPaymentMethodSwitcher.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 13 + }, + { + "blob_sha": "a2ddb579884ba2040c888a147998c37009b640c0", + "commits": [], + "end_line": 13, + "id": "E9", + "kind": "lines", + "path": "src/Storefront/Checkout/Shipping/BlockedShippingMethodSwitcher.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 13 + } + ], + "src": "M:src/Storefront/Checkout" + }, + { + "count": 35, + "dst": "M:src/Core/(root)", + "how": "import-path", + "id": "M:src/Storefront/Controller->M:src/Core/(root)", + "kind": "uses", + "refs": [ + { + "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", + "commits": [], + "end_line": 21, + "id": "E1", + "kind": "lines", + "path": "src/Storefront/Controller/AccountOrderController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 21 + }, + { + "blob_sha": "0ed618f6604fe6514b98d4fb3c2e39e72c66deb6", + "commits": [], + "end_line": 16, + "id": "E2", + "kind": "lines", + "path": "src/Storefront/Controller/AccountProfileController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 16 + }, + { + "blob_sha": "d410f6f160f46958df79212ab880bcd68cb9a862", + "commits": [], + "end_line": 25, + "id": "E3", + "kind": "lines", + "path": "src/Storefront/Controller/AddressController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 25 + }, + { + "blob_sha": "969158bda19ca8d35c672bb8e1921438c9a0fce6", + "commits": [], + "end_line": 11, + "id": "E4", + "kind": "lines", + "path": "src/Storefront/Controller/AnalyticsController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 11 + }, + { + "blob_sha": "1a867872712f2fbc7b143a84fa2b3fb69062b6bb", + "commits": [], + "end_line": 7, + "id": "E5", + "kind": "lines", + "path": "src/Storefront/Controller/Api/CaptchaController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "60f1003c2b4db1ed17a61aa4a65de7bba9f32de5", + "commits": [], + "end_line": 8, + "id": "E6", + "kind": "lines", + "path": "src/Storefront/Controller/AppController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "59be4dd780c805a8973b63b74f42f3bf9f695638", + "commits": [], + "end_line": 30, + "id": "E7", + "kind": "lines", + "path": "src/Storefront/Controller/AuthController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 30 + }, + { + "blob_sha": "acae2d4a82acfc21de8f9ee496621d1f847d66dc", + "commits": [], + "end_line": 8, + "id": "E8", + "kind": "lines", + "path": "src/Storefront/Controller/CaptchaController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "9f96fdd60a43329d5aaf635aacc5cefbdf2b8a84", + "commits": [], + "end_line": 25, + "id": "E9", + "kind": "lines", + "path": "src/Storefront/Controller/CartLineItemController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 25 + }, + { + "blob_sha": "4a72011127166e3e57aec34c33ca8ee8bef9c30e", + "commits": [], + "end_line": 21, + "id": "E10", + "kind": "lines", + "path": "src/Storefront/Controller/CheckoutController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 21 + } + ], + "src": "M:src/Storefront/Controller" + }, + { + "count": 91, + "dst": "M:src/Core/Checkout", + "how": "import-path", + "id": "M:src/Storefront/Controller->M:src/Core/Checkout", + "kind": "uses", + "refs": [ + { + "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", + "commits": [], + "end_line": 5, + "id": "E1", + "kind": "lines", + "path": "src/Storefront/Controller/AccountOrderController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", + "commits": [], + "end_line": 6, + "id": "E2", + "kind": "lines", + "path": "src/Storefront/Controller/AccountOrderController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", + "commits": [], + "end_line": 7, + "id": "E3", + "kind": "lines", + "path": "src/Storefront/Controller/AccountOrderController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", + "commits": [], + "end_line": 8, + "id": "E4", + "kind": "lines", + "path": "src/Storefront/Controller/AccountOrderController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", + "commits": [], + "end_line": 9, + "id": "E5", + "kind": "lines", + "path": "src/Storefront/Controller/AccountOrderController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", + "commits": [], + "end_line": 10, + "id": "E6", + "kind": "lines", + "path": "src/Storefront/Controller/AccountOrderController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 10 + }, + { + "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", + "commits": [], + "end_line": 11, + "id": "E7", + "kind": "lines", + "path": "src/Storefront/Controller/AccountOrderController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 11 + }, { - "blob_sha": "061c4050cbd5444378f6ce146bacb5259136749b", + "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", "commits": [], - "end_line": 6, - "id": "E1", + "end_line": 12, + "id": "E8", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings-units/page/sw-settings-units-detail/index.ts", + "path": "src/Storefront/Controller/AccountOrderController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 12 }, { - "blob_sha": "061c4050cbd5444378f6ce146bacb5259136749b", + "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", "commits": [], - "end_line": 8, - "id": "E2", + "end_line": 13, + "id": "E9", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings-units/page/sw-settings-units-detail/index.ts", + "path": "src/Storefront/Controller/AccountOrderController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 8 + "start_line": 13 + }, + { + "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", + "commits": [], + "end_line": 14, + "id": "E10", + "kind": "lines", + "path": "src/Storefront/Controller/AccountOrderController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 14 } ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-units" + "src": "M:src/Storefront/Controller" }, { - "count": 7, - "dst": "M:src/Administration/Resources/app/administration/src/core", + "count": 42, + "dst": "M:src/Core/Content", "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-usage-data->M:src/Administration/Resources/app/administration/src/core", + "id": "M:src/Storefront/Controller->M:src/Core/Content", "kind": "uses", "refs": [ { - "blob_sha": "e603cf5a77aecf42fbde516413efd8ff8e59f2d7", + "blob_sha": "969158bda19ca8d35c672bb8e1921438c9a0fce6", "commits": [], - "end_line": 4, + "end_line": 5, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings-usage-data/component/sw-settings-usage-data-consent-modal-data-provider/index.ts", + "path": "src/Storefront/Controller/AnalyticsController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 4 + "start_line": 5 }, { - "blob_sha": "4574ff1948e5ea31cf11a2a700d527520c4e5146", + "blob_sha": "969158bda19ca8d35c672bb8e1921438c9a0fce6", "commits": [], - "end_line": 4, + "end_line": 6, "id": "E2", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings-usage-data/component/sw-settings-usage-data-consent-modal/index.ts", + "path": "src/Storefront/Controller/AnalyticsController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 4 + "start_line": 6 }, { - "blob_sha": "4574ff1948e5ea31cf11a2a700d527520c4e5146", + "blob_sha": "969158bda19ca8d35c672bb8e1921438c9a0fce6", "commits": [], - "end_line": 5, + "end_line": 7, "id": "E3", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings-usage-data/component/sw-settings-usage-data-consent-modal/index.ts", + "path": "src/Storefront/Controller/AnalyticsController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-usage-data" - }, - { - "count": 7, - "dst": "M:src/Administration/Resources/app/administration/src/core", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-settings-webhook->M:src/Administration/Resources/app/administration/src/core", - "kind": "uses", - "refs": [ + "start_line": 7 + }, { - "blob_sha": "db456f42d846f280817104a8e0dcfd5052e74ee1", + "blob_sha": "9f96fdd60a43329d5aaf635aacc5cefbdf2b8a84", "commits": [], - "end_line": 6, - "id": "E1", + "end_line": 14, + "id": "E4", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings-webhook/component/sw-settings-webhook-deliveries-modal/index.ts", + "path": "src/Storefront/Controller/CartLineItemController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 14 }, { - "blob_sha": "db456f42d846f280817104a8e0dcfd5052e74ee1", + "blob_sha": "9f96fdd60a43329d5aaf635aacc5cefbdf2b8a84", "commits": [], - "end_line": 5, - "id": "E2", + "end_line": 15, + "id": "E5", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings-webhook/component/sw-settings-webhook-deliveries-modal/index.ts", + "path": "src/Storefront/Controller/CartLineItemController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 15 }, { - "blob_sha": "45bb6038c6d54cd7811157a0c6728de031898625", + "blob_sha": "4a72011127166e3e57aec34c33ca8ee8bef9c30e", + "commits": [], + "end_line": 17, + "id": "E6", + "kind": "lines", + "path": "src/Storefront/Controller/CheckoutController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 17 + }, + { + "blob_sha": "355e99070ef6c478cfd7bdf5ef8669e30d0501c5", "commits": [], "end_line": 5, - "id": "E3", + "id": "E7", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-settings-webhook/component/sw-settings-webhook-roles-modal/index.ts", + "path": "src/Storefront/Controller/CmsController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 5 - } - ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-settings-webhook" - }, - { - "count": 3, - "dst": "M:src/Administration/Resources/app/administration/src/app/composables", - "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-users-permissions->M:src/Administration/Resources/app/administration/src/app/composables", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "ecde3cf52fc6e918237687cf5e7796987059827b", + "blob_sha": "355e99070ef6c478cfd7bdf5ef8669e30d0501c5", "commits": [], - "end_line": 2, - "id": "E1", + "end_line": 6, + "id": "E8", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-users-permissions/page/sw-sso-users-permission-user-detail/index.js", + "path": "src/Storefront/Controller/CmsController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 2 + "start_line": 6 }, { - "blob_sha": "69b3de99bb31cd1605799370218fb6d7b66aad05", + "blob_sha": "355e99070ef6c478cfd7bdf5ef8669e30d0501c5", "commits": [], - "end_line": 5, - "id": "E2", + "end_line": 7, + "id": "E9", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-users-permissions/page/sw-users-permissions-user-detail/index.js", + "path": "src/Storefront/Controller/CmsController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 7 }, { - "blob_sha": "69b3de99bb31cd1605799370218fb6d7b66aad05", + "blob_sha": "355e99070ef6c478cfd7bdf5ef8669e30d0501c5", "commits": [], - "end_line": 4, - "id": "E3", + "end_line": 8, + "id": "E10", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-users-permissions/page/sw-users-permissions-user-detail/index.js", + "path": "src/Storefront/Controller/CmsController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 4 + "start_line": 8 } ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-users-permissions" + "src": "M:src/Storefront/Controller" }, { "count": 1, - "dst": "M:src/Administration/Resources/app/administration/src/core", + "dst": "M:src/Core/DevOps", "how": "import-path", - "id": "M:src/Administration/Resources/app/administration/src/module/sw-users-permissions->M:src/Administration/Resources/app/administration/src/core", + "id": "M:src/Storefront/Controller->M:src/Core/DevOps", "kind": "uses", "refs": [ { - "blob_sha": "ba4871f328cc8d20eaa0dba89bc60f53c3b054a2", + "blob_sha": "72ca809643d3e4c080eb1a6cbebb58f5cac7f948", "commits": [], - "end_line": 4, + "end_line": 5, "id": "E1", "kind": "lines", - "path": "src/Administration/Resources/app/administration/src/module/sw-users-permissions/component/sw-users-permissions-role-mcp-reference-modal/index.js", + "path": "src/Storefront/Controller/StorybookController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 4 + "start_line": 5 } ], - "src": "M:src/Administration/Resources/app/administration/src/module/sw-users-permissions" + "src": "M:src/Storefront/Controller" }, { - "count": 2, - "dst": "M:src/Core/DevOps", + "count": 139, + "dst": "M:src/Core/Framework", "how": "import-path", - "id": "M:src/Core/(root)->M:src/Core/DevOps", + "id": "M:src/Storefront/Controller->M:src/Core/Framework", "kind": "uses", "refs": [ { - "blob_sha": "399126e072563d0f03b11ac3be1ab42e580b6994", + "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", "commits": [], - "end_line": 8, + "end_line": 15, "id": "E1", "kind": "lines", - "path": "src/Core/Kernel.php", + "path": "src/Storefront/Controller/AccountOrderController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 8 + "start_line": 15 }, { - "blob_sha": "afcca1b2fe92754fa37b1b021536d1810c6658fe", + "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", "commits": [], - "end_line": 7, + "end_line": 16, "id": "E2", "kind": "lines", - "path": "src/Core/TestBootstrapper.php", + "path": "src/Storefront/Controller/AccountOrderController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 - } - ], - "src": "M:src/Core/(root)" - }, - { - "count": 18, - "dst": "M:src/Core/Framework", - "how": "import-path", - "id": "M:src/Core/(root)->M:src/Core/Framework", - "kind": "uses", - "refs": [ + "start_line": 16 + }, { - "blob_sha": "f9ec637d8135d6c53ff4c42672e2f727ba40f81f", + "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", "commits": [], - "end_line": 5, - "id": "E1", + "end_line": 17, + "id": "E3", "kind": "lines", - "path": "src/Core/Defaults.php", + "path": "src/Storefront/Controller/AccountOrderController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 17 }, { - "blob_sha": "399126e072563d0f03b11ac3be1ab42e580b6994", + "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", "commits": [], - "end_line": 9, - "id": "E2", + "end_line": 18, + "id": "E4", "kind": "lines", - "path": "src/Core/Kernel.php", + "path": "src/Storefront/Controller/AccountOrderController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 9 + "start_line": 18 }, { - "blob_sha": "399126e072563d0f03b11ac3be1ab42e580b6994", + "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", "commits": [], - "end_line": 10, - "id": "E3", + "end_line": 19, + "id": "E5", "kind": "lines", - "path": "src/Core/Kernel.php", + "path": "src/Storefront/Controller/AccountOrderController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 10 - } - ], - "src": "M:src/Core/(root)" - }, - { - "count": 104, - "dst": "M:src/Core/(root)", - "how": "import-path", - "id": "M:src/Core/Checkout->M:src/Core/(root)", - "kind": "uses", - "refs": [ + "start_line": 19 + }, { - "blob_sha": "96c9b0e21e1c40c6d2cba5d009adf3698757e106", + "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", + "commits": [], + "end_line": 20, + "id": "E6", + "kind": "lines", + "path": "src/Storefront/Controller/AccountOrderController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 20 + }, + { + "blob_sha": "0ed618f6604fe6514b98d4fb3c2e39e72c66deb6", + "commits": [], + "end_line": 11, + "id": "E7", + "kind": "lines", + "path": "src/Storefront/Controller/AccountProfileController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 11 + }, + { + "blob_sha": "0ed618f6604fe6514b98d4fb3c2e39e72c66deb6", "commits": [], "end_line": 12, - "id": "E1", + "id": "E8", "kind": "lines", - "path": "src/Core/Checkout/Cart/CartPersister.php", + "path": "src/Storefront/Controller/AccountProfileController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 12 }, { - "blob_sha": "008d3d2a5f3e2ccd71b7fa40ba5ad6318a6f5924", + "blob_sha": "0ed618f6604fe6514b98d4fb3c2e39e72c66deb6", "commits": [], - "end_line": 17, - "id": "E2", + "end_line": 13, + "id": "E9", "kind": "lines", - "path": "src/Core/Checkout/Cart/CartRuleLoader.php", + "path": "src/Storefront/Controller/AccountProfileController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 17 + "start_line": 13 }, { - "blob_sha": "780df24e57b25474673909e75f8ddf5e2b7accc7", + "blob_sha": "0ed618f6604fe6514b98d4fb3c2e39e72c66deb6", "commits": [], - "end_line": 7, - "id": "E3", + "end_line": 14, + "id": "E10", "kind": "lines", - "path": "src/Core/Checkout/Cart/CartValueResolver.php", + "path": "src/Storefront/Controller/AccountProfileController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 14 } ], - "src": "M:src/Core/Checkout" + "src": "M:src/Storefront/Controller" }, { - "count": 185, - "dst": "M:src/Core/Content", + "count": 3, + "dst": "M:src/Core/Profiling", "how": "import-path", - "id": "M:src/Core/Checkout->M:src/Core/Content", + "id": "M:src/Storefront/Controller->M:src/Core/Profiling", "kind": "uses", "refs": [ { - "blob_sha": "cfda2eee07e968c00de7b21fc3f9e4f762e93e57", + "blob_sha": "9f96fdd60a43329d5aaf635aacc5cefbdf2b8a84", "commits": [], - "end_line": 5, + "end_line": 26, "id": "E1", "kind": "lines", - "path": "src/Core/Checkout/Cart/AbstractRuleLoader.php", + "path": "src/Storefront/Controller/CartLineItemController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 26 }, { - "blob_sha": "b698986070528d73efcf3df435f0115f2acdec60", + "blob_sha": "4a72011127166e3e57aec34c33ca8ee8bef9c30e", "commits": [], - "end_line": 16, + "end_line": 22, "id": "E2", "kind": "lines", - "path": "src/Core/Checkout/Cart/Address/AddressValidator.php", + "path": "src/Storefront/Controller/CheckoutController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 16 + "start_line": 22 }, { - "blob_sha": "b698986070528d73efcf3df435f0115f2acdec60", + "blob_sha": "937c5e4871d343966204239038e5e9068ebf2749", "commits": [], - "end_line": 17, + "end_line": 20, "id": "E3", "kind": "lines", - "path": "src/Core/Checkout/Cart/Address/AddressValidator.php", + "path": "src/Storefront/Controller/StorefrontController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 17 + "start_line": 20 } ], - "src": "M:src/Core/Checkout" + "src": "M:src/Storefront/Controller" }, { - "count": 4094, - "dst": "M:src/Core/Framework", + "count": 51, + "dst": "M:src/Core/System", "how": "import-path", - "id": "M:src/Core/Checkout->M:src/Core/Framework", + "id": "M:src/Storefront/Controller->M:src/Core/System", "kind": "uses", "refs": [ { - "blob_sha": "d90a4a0c96abf75786f3b9a3c0963d601880b570", + "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", "commits": [], - "end_line": 8, + "end_line": 22, "id": "E1", "kind": "lines", - "path": "src/Core/Checkout/Cart/AbstractCartPersister.php", + "path": "src/Storefront/Controller/AccountOrderController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 8 + "start_line": 22 }, { - "blob_sha": "d90a4a0c96abf75786f3b9a3c0963d601880b570", + "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", "commits": [], - "end_line": 9, + "end_line": 23, "id": "E2", "kind": "lines", - "path": "src/Core/Checkout/Cart/AbstractCartPersister.php", + "path": "src/Storefront/Controller/AccountOrderController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 9 + "start_line": 23 }, { - "blob_sha": "d90a4a0c96abf75786f3b9a3c0963d601880b570", + "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", "commits": [], - "end_line": 10, + "end_line": 24, "id": "E3", "kind": "lines", - "path": "src/Core/Checkout/Cart/AbstractCartPersister.php", + "path": "src/Storefront/Controller/AccountOrderController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 10 - } - ], - "src": "M:src/Core/Checkout" - }, - { - "count": 1, - "dst": "M:src/Core/Migration", - "how": "import-path", - "id": "M:src/Core/Checkout->M:src/Core/Migration", - "kind": "uses", - "refs": [ + "start_line": 24 + }, { - "blob_sha": "0256c68addf95dbad8833f9a5fd6f6d536bd8baa", + "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", "commits": [], - "end_line": 6, - "id": "E1", + "end_line": 25, + "id": "E4", "kind": "lines", - "path": "src/Core/Checkout/DocumentV2/Config/DocumentDisplayOptions.php", + "path": "src/Storefront/Controller/AccountOrderController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 - } - ], - "src": "M:src/Core/Checkout" - }, - { - "count": 8, - "dst": "M:src/Core/Profiling", - "how": "import-path", - "id": "M:src/Core/Checkout->M:src/Core/Profiling", - "kind": "uses", - "refs": [ + "start_line": 25 + }, { - "blob_sha": "008d3d2a5f3e2ccd71b7fa40ba5ad6318a6f5924", + "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", "commits": [], - "end_line": 25, - "id": "E1", + "end_line": 26, + "id": "E5", "kind": "lines", - "path": "src/Core/Checkout/Cart/CartRuleLoader.php", + "path": "src/Storefront/Controller/AccountOrderController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 25 + "start_line": 26 }, { - "blob_sha": "d75ab7f7cde6b847b5c767e21b2e06a6d4937eb8", + "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", "commits": [], - "end_line": 20, - "id": "E2", + "end_line": 27, + "id": "E6", "kind": "lines", - "path": "src/Core/Checkout/Cart/Delivery/DeliveryProcessor.php", + "path": "src/Storefront/Controller/AccountOrderController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 20 + "start_line": 27 }, { - "blob_sha": "0f796291238bc349a239e4e72985d9e6635161ba", + "blob_sha": "0ed618f6604fe6514b98d4fb3c2e39e72c66deb6", "commits": [], - "end_line": 11, - "id": "E3", + "end_line": 17, + "id": "E7", "kind": "lines", - "path": "src/Core/Checkout/Cart/Processor.php", + "path": "src/Storefront/Controller/AccountProfileController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 11 - } - ], - "src": "M:src/Core/Checkout" - }, - { - "count": 673, - "dst": "M:src/Core/System", - "how": "import-path", - "id": "M:src/Core/Checkout->M:src/Core/System", - "kind": "uses", - "refs": [ + "start_line": 17 + }, { - "blob_sha": "d90a4a0c96abf75786f3b9a3c0963d601880b570", + "blob_sha": "d410f6f160f46958df79212ab880bcd68cb9a862", "commits": [], - "end_line": 11, - "id": "E1", + "end_line": 26, + "id": "E8", "kind": "lines", - "path": "src/Core/Checkout/Cart/AbstractCartPersister.php", + "path": "src/Storefront/Controller/AddressController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 11 + "start_line": 26 }, { - "blob_sha": "b698986070528d73efcf3df435f0115f2acdec60", + "blob_sha": "d410f6f160f46958df79212ab880bcd68cb9a862", "commits": [], - "end_line": 25, - "id": "E2", + "end_line": 27, + "id": "E9", "kind": "lines", - "path": "src/Core/Checkout/Cart/Address/AddressValidator.php", + "path": "src/Storefront/Controller/AddressController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 25 + "start_line": 27 }, { - "blob_sha": "93a769bc9b76aa8afb4429ae11f50ce097423329", + "blob_sha": "d410f6f160f46958df79212ab880bcd68cb9a862", "commits": [], - "end_line": 11, - "id": "E3", + "end_line": 28, + "id": "E10", "kind": "lines", - "path": "src/Core/Checkout/Cart/Address/VatIdValidator.php", + "path": "src/Storefront/Controller/AddressController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 11 + "start_line": 28 } ], - "src": "M:src/Core/Checkout" + "src": "M:src/Storefront/Controller" }, { - "count": 103, - "dst": "M:src/Core/(root)", + "count": 3, + "dst": "M:src/Storefront/Checkout", "how": "import-path", - "id": "M:src/Core/Content->M:src/Core/(root)", + "id": "M:src/Storefront/Controller->M:src/Storefront/Checkout", "kind": "uses", "refs": [ { - "blob_sha": "8c5b8296ddfc3ebf32114eafd8beca1358bb6a89", + "blob_sha": "59be4dd780c805a8973b63b74f42f3bf9f695638", "commits": [], - "end_line": 16, + "end_line": 33, "id": "E1", "kind": "lines", - "path": "src/Core/Content/Breadcrumb/SalesChannel/BreadcrumbRoute.php", + "path": "src/Storefront/Controller/AuthController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 16 + "start_line": 33 }, { - "blob_sha": "6e2adb5fdd22716ca3c862032381080838e4abaf", + "blob_sha": "4a72011127166e3e57aec34c33ca8ee8bef9c30e", "commits": [], - "end_line": 7, + "end_line": 25, "id": "E2", "kind": "lines", - "path": "src/Core/Content/Category/DataAbstractionLayer/CategoryBreadcrumbUpdater.php", + "path": "src/Storefront/Controller/CheckoutController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 25 }, { - "blob_sha": "6af0087866ab18aeb12d0978ea2ebdb84964e32c", + "blob_sha": "4a72011127166e3e57aec34c33ca8ee8bef9c30e", "commits": [], - "end_line": 13, + "end_line": 26, "id": "E3", "kind": "lines", - "path": "src/Core/Content/Category/DataAbstractionLayer/CategoryIndexer.php", + "path": "src/Storefront/Controller/CheckoutController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 13 + "start_line": 26 } ], - "src": "M:src/Core/Content" + "src": "M:src/Storefront/Controller" }, { - "count": 253, - "dst": "M:src/Core/Checkout", + "count": 6, + "dst": "M:src/Storefront/Event", "how": "import-path", - "id": "M:src/Core/Content->M:src/Core/Checkout", + "id": "M:src/Storefront/Controller->M:src/Storefront/Event", "kind": "uses", "refs": [ { - "blob_sha": "eade9fb9b0d0f6249d489678eb8ba4de8f1e3e22", + "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", "commits": [], - "end_line": 5, + "end_line": 28, "id": "E1", "kind": "lines", - "path": "src/Core/Content/ContactForm/SalesChannel/ContactFormRoute.php", + "path": "src/Storefront/Controller/AccountOrderController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 28 }, { - "blob_sha": "370f6871835382f9fa3b9cb2e79278100c5a7cdf", + "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", "commits": [], - "end_line": 6, + "end_line": 29, "id": "E2", "kind": "lines", - "path": "src/Core/Content/DependencyInjection/flow.php", + "path": "src/Storefront/Controller/AccountOrderController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 29 }, { - "blob_sha": "370f6871835382f9fa3b9cb2e79278100c5a7cdf", + "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", "commits": [], - "end_line": 7, + "end_line": 30, "id": "E3", "kind": "lines", - "path": "src/Core/Content/DependencyInjection/flow.php", + "path": "src/Storefront/Controller/AccountOrderController.php", "repo": "shopware/shopware", "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 - } - ], - "src": "M:src/Core/Content" - }, - { - "count": 5552, - "dst": "M:src/Core/Framework", - "how": "import-path", - "id": "M:src/Core/Content->M:src/Core/Framework", - "kind": "uses", - "refs": [ + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 30 + }, { - "blob_sha": "d435f6eb4d971f8e2f1b7d606b324a281d79c46c", + "blob_sha": "355e99070ef6c478cfd7bdf5ef8669e30d0501c5", "commits": [], - "end_line": 8, - "id": "E1", + "end_line": 18, + "id": "E4", "kind": "lines", - "path": "src/Core/Content/Breadcrumb/BreadcrumbException.php", + "path": "src/Storefront/Controller/CmsController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 8 + "start_line": 18 }, { - "blob_sha": "d435f6eb4d971f8e2f1b7d606b324a281d79c46c", + "blob_sha": "937c5e4871d343966204239038e5e9068ebf2749", "commits": [], - "end_line": 9, - "id": "E2", + "end_line": 23, + "id": "E5", "kind": "lines", - "path": "src/Core/Content/Breadcrumb/BreadcrumbException.php", + "path": "src/Storefront/Controller/StorefrontController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 9 + "start_line": 23 }, { - "blob_sha": "3a6ee2df48bb216dc6633ffcd1e74875645594ac", + "blob_sha": "937c5e4871d343966204239038e5e9068ebf2749", "commits": [], - "end_line": 6, - "id": "E3", + "end_line": 24, + "id": "E6", "kind": "lines", - "path": "src/Core/Content/Breadcrumb/Extension/BreadcrumbRouteExtension.php", + "path": "src/Storefront/Controller/StorefrontController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 24 } ], - "src": "M:src/Core/Content" + "src": "M:src/Storefront/Controller" }, { - "count": 2, - "dst": "M:src/Core/Maintenance", + "count": 51, + "dst": "M:src/Storefront/Framework", "how": "import-path", - "id": "M:src/Core/Content->M:src/Core/Maintenance", + "id": "M:src/Storefront/Controller->M:src/Storefront/Framework", "kind": "uses", "refs": [ { - "blob_sha": "1eca600fd58391201938cdf86d3915efa92e4cdb", + "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", "commits": [], - "end_line": 13, + "end_line": 31, "id": "E1", "kind": "lines", - "path": "src/Core/Content/Mail/Service/MailSender.php", + "path": "src/Storefront/Controller/AccountOrderController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 13 + "start_line": 31 }, { - "blob_sha": "76bfdc174070ece17e7ac0757f9ac0a3c4436ba9", + "blob_sha": "0ed618f6604fe6514b98d4fb3c2e39e72c66deb6", "commits": [], - "end_line": 27, + "end_line": 18, "id": "E2", "kind": "lines", - "path": "src/Core/Content/Mail/Service/MailService.php", + "path": "src/Storefront/Controller/AccountProfileController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 27 - } - ], - "src": "M:src/Core/Content" - }, - { - "count": 5, - "dst": "M:src/Core/Profiling", - "how": "import-path", - "id": "M:src/Core/Content->M:src/Core/Profiling", - "kind": "uses", - "refs": [ + "start_line": 18 + }, { - "blob_sha": "eda4c9e1868ddf709c3cb658a2616194fb344592", + "blob_sha": "d410f6f160f46958df79212ab880bcd68cb9a862", "commits": [], - "end_line": 13, - "id": "E1", + "end_line": 32, + "id": "E3", "kind": "lines", - "path": "src/Core/Content/Media/MediaUrlPlaceholderHandler.php", + "path": "src/Storefront/Controller/AddressController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 13 + "start_line": 32 }, { - "blob_sha": "9f28c47aa180b9c0bf05b0d6efbaae621b4757a2", + "blob_sha": "969158bda19ca8d35c672bb8e1921438c9a0fce6", "commits": [], - "end_line": 37, - "id": "E2", + "end_line": 14, + "id": "E4", "kind": "lines", - "path": "src/Core/Content/Product/Cart/ProductCartProcessor.php", + "path": "src/Storefront/Controller/AnalyticsController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 37 + "start_line": 14 }, { - "blob_sha": "62b95cb365376a2b7c830d66082d4013ae63ca9e", + "blob_sha": "1a867872712f2fbc7b143a84fa2b3fb69062b6bb", "commits": [], - "end_line": 29, - "id": "E3", + "end_line": 8, + "id": "E5", "kind": "lines", - "path": "src/Core/Content/Product/DataAbstractionLayer/ProductIndexer.php", + "path": "src/Storefront/Controller/Api/CaptchaController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 29 - } - ], - "src": "M:src/Core/Content" - }, - { - "count": 598, - "dst": "M:src/Core/System", - "how": "import-path", - "id": "M:src/Core/Content->M:src/Core/System", - "kind": "uses", - "refs": [ + "start_line": 8 + }, { - "blob_sha": "3a6ee2df48bb216dc6633ffcd1e74875645594ac", + "blob_sha": "60f1003c2b4db1ed17a61aa4a65de7bba9f32de5", "commits": [], - "end_line": 8, - "id": "E1", + "end_line": 10, + "id": "E6", "kind": "lines", - "path": "src/Core/Content/Breadcrumb/Extension/BreadcrumbRouteExtension.php", + "path": "src/Storefront/Controller/AppController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 8 + "start_line": 10 }, { - "blob_sha": "80a4d95d6a58f1ec215ed97f5e8c7c6dd8b11dfc", + "blob_sha": "59be4dd780c805a8973b63b74f42f3bf9f695638", "commits": [], - "end_line": 6, - "id": "E2", + "end_line": 34, + "id": "E7", "kind": "lines", - "path": "src/Core/Content/Breadcrumb/SalesChannel/AbstractBreadcrumbRoute.php", + "path": "src/Storefront/Controller/AuthController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 34 }, { - "blob_sha": "8c5b8296ddfc3ebf32114eafd8beca1358bb6a89", + "blob_sha": "59be4dd780c805a8973b63b74f42f3bf9f695638", "commits": [], - "end_line": 17, - "id": "E3", + "end_line": 35, + "id": "E8", "kind": "lines", - "path": "src/Core/Content/Breadcrumb/SalesChannel/BreadcrumbRoute.php", + "path": "src/Storefront/Controller/AuthController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 17 - } - ], - "src": "M:src/Core/Content" - }, - { - "count": 2, - "dst": "M:src/Storefront/Framework", - "how": "import-path", - "id": "M:src/Core/Content->M:src/Storefront/Framework", - "kind": "uses", - "refs": [ + "start_line": 35 + }, { - "blob_sha": "ca0a14b0f495a9145d367ab035b025de5b688eb9", + "blob_sha": "acae2d4a82acfc21de8f9ee496621d1f847d66dc", "commits": [], - "end_line": 17, - "id": "E1", + "end_line": 10, + "id": "E9", "kind": "lines", - "path": "src/Core/Content/Cookie/Service/CookieProvider.php", + "path": "src/Storefront/Controller/CaptchaController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 17 + "start_line": 10 }, { - "blob_sha": "bf279e4cf1a54c574e32f0f501bd5d69922357e0", + "blob_sha": "acae2d4a82acfc21de8f9ee496621d1f847d66dc", "commits": [], - "end_line": 9, - "id": "E2", + "end_line": 11, + "id": "E10", "kind": "lines", - "path": "src/Core/Content/DependencyInjection/cookie.php", + "path": "src/Storefront/Controller/CaptchaController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 9 + "start_line": 11 } ], - "src": "M:src/Core/Content" + "src": "M:src/Storefront/Controller" }, { - "count": 5, - "dst": "M:src/Core/(root)", + "count": 65, + "dst": "M:src/Storefront/Page", "how": "import-path", - "id": "M:src/Core/DevOps->M:src/Core/(root)", + "id": "M:src/Storefront/Controller->M:src/Storefront/Page", "kind": "uses", "refs": [ { - "blob_sha": "c594af684adb21cf89b1a56f4f0e537691cbd958", + "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", "commits": [], - "end_line": 17, + "end_line": 32, "id": "E1", "kind": "lines", - "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/AclValidPermissionsInRouteAttributesRule.php", + "path": "src/Storefront/Controller/AccountOrderController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 17 + "start_line": 32 }, { - "blob_sha": "3b374e6b3860bfd75c13699e147f5c460c71fe6b", + "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", "commits": [], - "end_line": 26, + "end_line": 33, "id": "E2", "kind": "lines", - "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/DomainExceptionRule.php", + "path": "src/Storefront/Controller/AccountOrderController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 26 + "start_line": 33 }, { - "blob_sha": "c91f232b87cd5605f6e855fdf1040a6d9199ea35", + "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", "commits": [], - "end_line": 19, + "end_line": 34, "id": "E3", "kind": "lines", - "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/RouteScopeRule.php", + "path": "src/Storefront/Controller/AccountOrderController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 19 - } - ], - "src": "M:src/Core/DevOps" - }, - { - "count": 31, - "dst": "M:src/Core/Checkout", - "how": "import-path", - "id": "M:src/Core/DevOps->M:src/Core/Checkout", - "kind": "uses", - "refs": [ + "start_line": 34 + }, { - "blob_sha": "3b374e6b3860bfd75c13699e147f5c460c71fe6b", + "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", "commits": [], - "end_line": 15, - "id": "E1", + "end_line": 35, + "id": "E4", "kind": "lines", - "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/DomainExceptionRule.php", + "path": "src/Storefront/Controller/AccountOrderController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 15 + "start_line": 35 }, { - "blob_sha": "3b374e6b3860bfd75c13699e147f5c460c71fe6b", + "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", "commits": [], - "end_line": 16, - "id": "E2", + "end_line": 36, + "id": "E5", "kind": "lines", - "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/DomainExceptionRule.php", + "path": "src/Storefront/Controller/AccountOrderController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 16 + "start_line": 36 }, { - "blob_sha": "a2ffe5b266005f60a4131df91e39b556b7e3dd9c", + "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", "commits": [], - "end_line": 11, - "id": "E3", + "end_line": 37, + "id": "E6", "kind": "lines", - "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/RuleConditionHasRuleConfigRule.php", + "path": "src/Storefront/Controller/AccountOrderController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 11 - } - ], - "src": "M:src/Core/DevOps" - }, - { - "count": 29, - "dst": "M:src/Core/Content", - "how": "import-path", - "id": "M:src/Core/DevOps->M:src/Core/Content", - "kind": "uses", - "refs": [ + "start_line": 37 + }, { - "blob_sha": "75269bca374728c74c5b119309bd75b1a8c25c60", + "blob_sha": "0ed618f6604fe6514b98d4fb3c2e39e72c66deb6", "commits": [], - "end_line": 10, - "id": "E1", + "end_line": 19, + "id": "E7", + "kind": "lines", + "path": "src/Storefront/Controller/AccountProfileController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 19 + }, + { + "blob_sha": "0ed618f6604fe6514b98d4fb3c2e39e72c66deb6", + "commits": [], + "end_line": 20, + "id": "E8", "kind": "lines", - "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/AbstractClassUsageRule.php", + "path": "src/Storefront/Controller/AccountProfileController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 10 + "start_line": 20 }, { - "blob_sha": "9197ea31dbba2dc591d9fc4a5a0314382ec629b0", + "blob_sha": "0ed618f6604fe6514b98d4fb3c2e39e72c66deb6", "commits": [], - "end_line": 12, - "id": "E2", + "end_line": 21, + "id": "E9", "kind": "lines", - "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/NoFlowStoreFunctionRule.php", + "path": "src/Storefront/Controller/AccountProfileController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 12 + "start_line": 21 }, { - "blob_sha": "9197ea31dbba2dc591d9fc4a5a0314382ec629b0", + "blob_sha": "0ed618f6604fe6514b98d4fb3c2e39e72c66deb6", "commits": [], - "end_line": 13, - "id": "E3", + "end_line": 22, + "id": "E10", "kind": "lines", - "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/NoFlowStoreFunctionRule.php", + "path": "src/Storefront/Controller/AccountProfileController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 13 + "start_line": 22 } ], - "src": "M:src/Core/DevOps" + "src": "M:src/Storefront/Controller" }, { - "count": 312, - "dst": "M:src/Core/Framework", + "count": 18, + "dst": "M:src/Storefront/Pagelet", "how": "import-path", - "id": "M:src/Core/DevOps->M:src/Core/Framework", + "id": "M:src/Storefront/Controller->M:src/Storefront/Pagelet", "kind": "uses", "refs": [ { - "blob_sha": "13bd509d6217ee54250bf4725badf3ca762bceef", + "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", "commits": [], - "end_line": 12, + "end_line": 38, "id": "E1", "kind": "lines", - "path": "src/Core/DevOps/DependencyInjection/services.php", + "path": "src/Storefront/Controller/AccountOrderController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 12 + "start_line": 38 }, { - "blob_sha": "13bd509d6217ee54250bf4725badf3ca762bceef", + "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", "commits": [], - "end_line": 13, + "end_line": 39, "id": "E2", "kind": "lines", - "path": "src/Core/DevOps/DependencyInjection/services.php", + "path": "src/Storefront/Controller/AccountOrderController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 13 + "start_line": 39 }, { - "blob_sha": "13bd509d6217ee54250bf4725badf3ca762bceef", + "blob_sha": "acae2d4a82acfc21de8f9ee496621d1f847d66dc", "commits": [], - "end_line": 14, + "end_line": 13, "id": "E3", "kind": "lines", - "path": "src/Core/DevOps/DependencyInjection/services.php", + "path": "src/Storefront/Controller/CaptchaController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 14 - } - ], - "src": "M:src/Core/DevOps" - }, - { - "count": 3, - "dst": "M:src/Core/Migration", - "how": "import-path", - "id": "M:src/Core/DevOps->M:src/Core/Migration", - "kind": "uses", - "refs": [ + "start_line": 13 + }, { - "blob_sha": "3b374e6b3860bfd75c13699e147f5c460c71fe6b", + "blob_sha": "4a72011127166e3e57aec34c33ca8ee8bef9c30e", "commits": [], - "end_line": 27, - "id": "E1", + "end_line": 38, + "id": "E4", "kind": "lines", - "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/DomainExceptionRule.php", + "path": "src/Storefront/Controller/CheckoutController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 27 + "start_line": 38 }, { - "blob_sha": "3b374e6b3860bfd75c13699e147f5c460c71fe6b", + "blob_sha": "4a72011127166e3e57aec34c33ca8ee8bef9c30e", "commits": [], - "end_line": 28, - "id": "E2", + "end_line": 39, + "id": "E5", "kind": "lines", - "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/DomainExceptionRule.php", + "path": "src/Storefront/Controller/CheckoutController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 28 + "start_line": 39 }, { - "blob_sha": "3b374e6b3860bfd75c13699e147f5c460c71fe6b", + "blob_sha": "7c3e2e879115bd6acd304fe6663599c98b3925ba", "commits": [], - "end_line": 29, - "id": "E3", + "end_line": 11, + "id": "E6", "kind": "lines", - "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/DomainExceptionRule.php", + "path": "src/Storefront/Controller/CountryStateController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 29 - } - ], - "src": "M:src/Core/DevOps" - }, - { - "count": 7, - "dst": "M:src/Core/System", - "how": "import-path", - "id": "M:src/Core/DevOps->M:src/Core/System", - "kind": "uses", - "refs": [ + "start_line": 11 + }, { - "blob_sha": "fda3ed8536bcfd844416678dd686372ba57aa684", + "blob_sha": "7c3e2e879115bd6acd304fe6663599c98b3925ba", "commits": [], - "end_line": 15, - "id": "E1", + "end_line": 12, + "id": "E7", "kind": "lines", - "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/NoManualSalesChannelContextCreationRule.php", + "path": "src/Storefront/Controller/CountryStateController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 15 + "start_line": 12 }, { - "blob_sha": "fda3ed8536bcfd844416678dd686372ba57aa684", + "blob_sha": "51fb98d4d11aa0bb97298fb6cd2e3e9968d8b855", "commits": [], - "end_line": 16, - "id": "E2", + "end_line": 17, + "id": "E8", "kind": "lines", - "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/NoManualSalesChannelContextCreationRule.php", + "path": "src/Storefront/Controller/NavigationController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 16 + "start_line": 17 }, { - "blob_sha": "05fc4db2026a6e3f191dbcb84fdedcb3568f2928", + "blob_sha": "51fb98d4d11aa0bb97298fb6cd2e3e9968d8b855", "commits": [], - "end_line": 62, - "id": "E3", + "end_line": 18, + "id": "E9", "kind": "lines", - "path": "src/Core/DevOps/StaticAnalyze/PHPStan/tagged-service-contracts.php", + "path": "src/Storefront/Controller/NavigationController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 62 + "start_line": 18 + }, + { + "blob_sha": "51fb98d4d11aa0bb97298fb6cd2e3e9968d8b855", + "commits": [], + "end_line": 19, + "id": "E10", + "kind": "lines", + "path": "src/Storefront/Controller/NavigationController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 19 } ], - "src": "M:src/Core/DevOps" + "src": "M:src/Storefront/Controller" }, { - "count": 2, - "dst": "M:src/Elasticsearch", + "count": 1, + "dst": "M:src/Storefront/Storybook", "how": "import-path", - "id": "M:src/Core/DevOps->M:src/Elasticsearch", + "id": "M:src/Storefront/Controller->M:src/Storefront/Storybook", "kind": "uses", "refs": [ { - "blob_sha": "05fc4db2026a6e3f191dbcb84fdedcb3568f2928", + "blob_sha": "72ca809643d3e4c080eb1a6cbebb58f5cac7f948", "commits": [], - "end_line": 67, + "end_line": 10, "id": "E1", "kind": "lines", - "path": "src/Core/DevOps/StaticAnalyze/PHPStan/tagged-service-contracts.php", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 67 - }, - { - "blob_sha": "05fc4db2026a6e3f191dbcb84fdedcb3568f2928", - "commits": [], - "end_line": 68, - "id": "E2", - "kind": "lines", - "path": "src/Core/DevOps/StaticAnalyze/PHPStan/tagged-service-contracts.php", + "path": "src/Storefront/Controller/StorybookController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 68 + "start_line": 10 } ], - "src": "M:src/Core/DevOps" + "src": "M:src/Storefront/Controller" }, { "count": 1, - "dst": "M:src/Storefront/Controller", + "dst": "M:src/Storefront/System", "how": "import-path", - "id": "M:src/Core/DevOps->M:src/Storefront/Controller", + "id": "M:src/Storefront/Controller->M:src/Storefront/System", "kind": "uses", "refs": [ { - "blob_sha": "5b4e122d84e21b9d83051fb108fc3ed03c4309ed", + "blob_sha": "969158bda19ca8d35c672bb8e1921438c9a0fce6", "commits": [], - "end_line": 28, + "end_line": 15, "id": "E1", "kind": "lines", - "path": "src/Core/DevOps/StaticAnalyze/PHPStan/Rules/Internal/InternalClassRule.php", + "path": "src/Storefront/Controller/AnalyticsController.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 28 + "start_line": 15 } ], - "src": "M:src/Core/DevOps" + "src": "M:src/Storefront/Controller" }, { - "count": 2, - "dst": "M:src/Storefront/Framework", + "count": 51, + "dst": "M:src/Core/Checkout", "how": "import-path", - "id": "M:src/Core/DevOps->M:src/Storefront/Framework", + "id": "M:src/Storefront/DependencyInjection->M:src/Core/Checkout", "kind": "uses", "refs": [ { - "blob_sha": "05fc4db2026a6e3f191dbcb84fdedcb3568f2928", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 69, + "end_line": 5, "id": "E1", "kind": "lines", - "path": "src/Core/DevOps/StaticAnalyze/PHPStan/tagged-service-contracts.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 69 + "start_line": 5 }, { - "blob_sha": "05fc4db2026a6e3f191dbcb84fdedcb3568f2928", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 70, + "end_line": 6, "id": "E2", "kind": "lines", - "path": "src/Core/DevOps/StaticAnalyze/PHPStan/tagged-service-contracts.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 70 - } - ], - "src": "M:src/Core/DevOps" - }, - { - "count": 197, - "dst": "M:src/Core/(root)", - "how": "import-path", - "id": "M:src/Core/Framework->M:src/Core/(root)", - "kind": "uses", - "refs": [ + "start_line": 6 + }, { - "blob_sha": "370eea4d0b4d1059401e38ea2320ba655531b230", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 38, - "id": "E1", + "end_line": 7, + "id": "E3", "kind": "lines", - "path": "src/Core/Framework/Adapter/Cache/CacheInvalidationSubscriber.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 38 + "start_line": 7 }, { - "blob_sha": "14d017115e7b74bd980cae38517bb410de4f01be", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 15, - "id": "E2", + "end_line": 8, + "id": "E4", "kind": "lines", - "path": "src/Core/Framework/Adapter/Cache/CacheInvalidator.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 15 + "start_line": 8 }, { - "blob_sha": "c2c439b65ea0da4e6013405b09fed84d82e1bf60", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 11, - "id": "E3", + "end_line": 9, + "id": "E5", "kind": "lines", - "path": "src/Core/Framework/Adapter/Cache/CacheStateSubscriber.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 11 - } - ], - "src": "M:src/Core/Framework" - }, - { - "count": 267, - "dst": "M:src/Core/Checkout", - "how": "import-path", - "id": "M:src/Core/Framework->M:src/Core/Checkout", - "kind": "uses", - "refs": [ + "start_line": 9 + }, { - "blob_sha": "370eea4d0b4d1059401e38ea2320ba655531b230", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 7, - "id": "E1", + "end_line": 10, + "id": "E6", "kind": "lines", - "path": "src/Core/Framework/Adapter/Cache/CacheInvalidationSubscriber.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 10 }, { - "blob_sha": "370eea4d0b4d1059401e38ea2320ba655531b230", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 8, - "id": "E2", + "end_line": 11, + "id": "E7", "kind": "lines", - "path": "src/Core/Framework/Adapter/Cache/CacheInvalidationSubscriber.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 8 + "start_line": 11 }, { - "blob_sha": "370eea4d0b4d1059401e38ea2320ba655531b230", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 9, - "id": "E3", + "end_line": 12, + "id": "E8", "kind": "lines", - "path": "src/Core/Framework/Adapter/Cache/CacheInvalidationSubscriber.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 9 - } - ], - "src": "M:src/Core/Framework" - }, - { - "count": 329, - "dst": "M:src/Core/Content", - "how": "import-path", - "id": "M:src/Core/Framework->M:src/Core/Content", - "kind": "uses", - "refs": [ + "start_line": 12 + }, { - "blob_sha": "370eea4d0b4d1059401e38ea2320ba655531b230", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], "end_line": 13, - "id": "E1", + "id": "E9", "kind": "lines", - "path": "src/Core/Framework/Adapter/Cache/CacheInvalidationSubscriber.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 13 }, { - "blob_sha": "370eea4d0b4d1059401e38ea2320ba655531b230", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], "end_line": 14, - "id": "E2", + "id": "E10", "kind": "lines", - "path": "src/Core/Framework/Adapter/Cache/CacheInvalidationSubscriber.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 14 - }, - { - "blob_sha": "370eea4d0b4d1059401e38ea2320ba655531b230", - "commits": [], - "end_line": 15, - "id": "E3", - "kind": "lines", - "path": "src/Core/Framework/Adapter/Cache/CacheInvalidationSubscriber.php", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 15 } ], - "src": "M:src/Core/Framework" + "src": "M:src/Storefront/DependencyInjection" }, { - "count": 25, - "dst": "M:src/Core/DevOps", + "count": 53, + "dst": "M:src/Core/Content", "how": "import-path", - "id": "M:src/Core/Framework->M:src/Core/DevOps", + "id": "M:src/Storefront/DependencyInjection->M:src/Core/Content", "kind": "uses", "refs": [ { - "blob_sha": "2afe2c2368d550601496d03f4425916296d2a503", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 5, + "end_line": 38, "id": "E1", "kind": "lines", - "path": "src/Core/Framework/Adapter/Asset/AssetPackageService.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 38 }, { - "blob_sha": "e84ef5174ad355e93bc7e5cbd772d6a989bf8997", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 12, + "end_line": 39, "id": "E2", "kind": "lines", - "path": "src/Core/Framework/Adapter/Asset/AssetService.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 12 + "start_line": 39 }, { - "blob_sha": "4686c7f12ac981a934b7db3c7dbf27da81d8b7d0", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 5, + "end_line": 40, "id": "E3", "kind": "lines", - "path": "src/Core/Framework/Adapter/Asset/FallbackUrlPackage.php", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 - } - ], - "src": "M:src/Core/Framework" - }, - { - "count": 1, - "dst": "M:src/Core/Installer", - "how": "import-path", - "id": "M:src/Core/Framework->M:src/Core/Installer", - "kind": "uses", - "refs": [ - { - "blob_sha": "4ce4116e980905da4b80eac66f3ba76be30295af", - "commits": [], - "end_line": 11, - "id": "E1", - "kind": "lines", - "path": "src/Core/Framework/Adapter/Asset/AssetInstallCommand.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 11 - } - ], - "src": "M:src/Core/Framework" - }, - { - "count": 1, - "dst": "M:src/Core/Maintenance", - "how": "import-path", - "id": "M:src/Core/Framework->M:src/Core/Maintenance", - "kind": "uses", - "refs": [ + "start_line": 40 + }, { - "blob_sha": "c57c084c2857cb5fd017e6e7f50182d0cce87b31", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 32, - "id": "E1", + "end_line": 41, + "id": "E4", "kind": "lines", - "path": "src/Core/Framework/Api/Controller/InfoController.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 32 - } - ], - "src": "M:src/Core/Framework" - }, - { - "count": 4, - "dst": "M:src/Core/Profiling", - "how": "import-path", - "id": "M:src/Core/Framework->M:src/Core/Profiling", - "kind": "uses", - "refs": [ + "start_line": 41 + }, { - "blob_sha": "7ee60f82b4f8a3ccadac3b28e0a85f4b6982cad2", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 15, - "id": "E1", + "end_line": 42, + "id": "E5", "kind": "lines", - "path": "src/Core/Framework/Adapter/Kernel/KernelFactory.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 15 + "start_line": 42 }, { - "blob_sha": "314fad5ebcd836cb5771e8c75fe74971658dfb64", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 27, - "id": "E2", + "end_line": 43, + "id": "E6", "kind": "lines", - "path": "src/Core/Framework/DataAbstractionLayer/EntityRepository.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 27 + "start_line": 43 }, { - "blob_sha": "402191c093bed0f710de9ebb0ec05d7a98f3be6a", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 11, - "id": "E3", + "end_line": 44, + "id": "E7", "kind": "lines", - "path": "src/Core/Framework/Telemetry/Telemetry.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 11 - } - ], - "src": "M:src/Core/Framework" - }, - { - "count": 454, - "dst": "M:src/Core/System", - "how": "import-path", - "id": "M:src/Core/Framework->M:src/Core/System", - "kind": "uses", - "refs": [ + "start_line": 44 + }, { - "blob_sha": "370eea4d0b4d1059401e38ea2320ba655531b230", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 48, - "id": "E1", + "end_line": 45, + "id": "E8", "kind": "lines", - "path": "src/Core/Framework/Adapter/Cache/CacheInvalidationSubscriber.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 48 + "start_line": 45 }, { - "blob_sha": "370eea4d0b4d1059401e38ea2320ba655531b230", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 49, - "id": "E2", + "end_line": 46, + "id": "E9", "kind": "lines", - "path": "src/Core/Framework/Adapter/Cache/CacheInvalidationSubscriber.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 49 + "start_line": 46 }, { - "blob_sha": "370eea4d0b4d1059401e38ea2320ba655531b230", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 50, - "id": "E3", + "end_line": 47, + "id": "E10", "kind": "lines", - "path": "src/Core/Framework/Adapter/Cache/CacheInvalidationSubscriber.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 50 + "start_line": 47 } ], - "src": "M:src/Core/Framework" + "src": "M:src/Storefront/DependencyInjection" }, { - "count": 1, - "dst": "M:src/Elasticsearch", + "count": 40, + "dst": "M:src/Core/Framework", "how": "import-path", - "id": "M:src/Core/Framework->M:src/Elasticsearch", + "id": "M:src/Storefront/DependencyInjection->M:src/Core/Framework", "kind": "uses", "refs": [ { - "blob_sha": "ac3e17e19e1f92f4b629202f3f606bd738701ca5", + "blob_sha": "07759af4794ff79dda94c2c2d47782c8e126b451", "commits": [], - "end_line": 41, + "end_line": 5, "id": "E1", "kind": "lines", - "path": "src/Core/Framework/DataAbstractionLayer/DataAbstractionLayerException.php", + "path": "src/Storefront/DependencyInjection/Configuration.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 41 - } - ], - "src": "M:src/Core/Framework" - }, - { - "count": 3, - "dst": "M:src/Storefront/Controller", - "how": "import-path", - "id": "M:src/Core/Framework->M:src/Storefront/Controller", - "kind": "uses", - "refs": [ + "start_line": 5 + }, { - "blob_sha": "92c1ca31f70c7ec9aa641f3e4b7a7d6f598b10b9", + "blob_sha": "5b793b5c83861e718c239b5377ed354ad2679a04", "commits": [], - "end_line": 20, - "id": "E1", + "end_line": 5, + "id": "E2", "kind": "lines", - "path": "src/Core/Framework/DependencyInjection/script.php", + "path": "src/Storefront/DependencyInjection/DisableTemplateCachePass.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 20 + "start_line": 5 }, { - "blob_sha": "ed5563f8fc3b67c33ac8e288a0525cf3af48d62a", + "blob_sha": "5b793b5c83861e718c239b5377ed354ad2679a04", "commits": [], - "end_line": 9, - "id": "E2", + "end_line": 6, + "id": "E3", "kind": "lines", - "path": "src/Core/Framework/Script/Api/ScriptResponseFactoryFacade.php", + "path": "src/Storefront/DependencyInjection/DisableTemplateCachePass.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 9 + "start_line": 6 }, { - "blob_sha": "f0e88557fa8455344549263aa6cedfd70d5a97f0", + "blob_sha": "93b61c61d5d22e50089f7845f061fa3de96ee6cd", "commits": [], - "end_line": 10, - "id": "E3", + "end_line": 5, + "id": "E4", + "kind": "lines", + "path": "src/Storefront/DependencyInjection/StorefrontExtension.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "223949d75ccd653e5bf4d6f3306ed606286502fb", + "commits": [], + "end_line": 5, + "id": "E5", "kind": "lines", - "path": "src/Core/Framework/Script/Api/ScriptResponseFactoryFacadeHookFactory.php", + "path": "src/Storefront/DependencyInjection/StorefrontMigrationReplacementCompilerPass.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 10 - } - ], - "src": "M:src/Core/Framework" - }, - { - "count": 4, - "dst": "M:src/Storefront/Theme", - "how": "import-path", - "id": "M:src/Core/Framework->M:src/Storefront/Theme", - "kind": "uses", - "refs": [ + "start_line": 5 + }, { - "blob_sha": "8b0d1085755fba31d191e9b0a9bfde78ca39b21e", + "blob_sha": "223949d75ccd653e5bf4d6f3306ed606286502fb", "commits": [], - "end_line": 152, - "id": "E1", + "end_line": 6, + "id": "E6", "kind": "lines", - "path": "src/Core/Framework/Store/Helper/PermissionCategorization.php", + "path": "src/Storefront/DependencyInjection/StorefrontMigrationReplacementCompilerPass.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 152 + "start_line": 6 }, { - "blob_sha": "8b0d1085755fba31d191e9b0a9bfde78ca39b21e", + "blob_sha": "223949d75ccd653e5bf4d6f3306ed606286502fb", "commits": [], - "end_line": 153, - "id": "E2", + "end_line": 7, + "id": "E7", "kind": "lines", - "path": "src/Core/Framework/Store/Helper/PermissionCategorization.php", + "path": "src/Storefront/DependencyInjection/StorefrontMigrationReplacementCompilerPass.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 153 + "start_line": 7 }, { - "blob_sha": "8b0d1085755fba31d191e9b0a9bfde78ca39b21e", + "blob_sha": "0e1fb44955029f6f7a801b602b62a5f6635a8299", "commits": [], - "end_line": 154, - "id": "E3", + "end_line": 5, + "id": "E8", "kind": "lines", - "path": "src/Core/Framework/Store/Helper/PermissionCategorization.php", + "path": "src/Storefront/DependencyInjection/ThemeCompilerAssetCompilerPass.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 154 - } - ], - "src": "M:src/Core/Framework" - }, - { - "count": 2, - "dst": "M:src/Core/(root)", - "how": "import-path", - "id": "M:src/Core/Installer->M:src/Core/(root)", - "kind": "uses", - "refs": [ + "start_line": 5 + }, { - "blob_sha": "90421d6131fe1ec698ed0f1384f3646bd182950b", + "blob_sha": "c2cb91c7a18562e44d503baa10839733ea6a51ec", "commits": [], - "end_line": 9, - "id": "E1", + "end_line": 5, + "id": "E9", "kind": "lines", - "path": "src/Core/Installer/Configuration/ShopConfigurationService.php", + "path": "src/Storefront/DependencyInjection/TwigComponentBundlePass.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 9 + "start_line": 5 }, { - "blob_sha": "548a9e2637d259e372c1298b02f208b7b5753a20", + "blob_sha": "c2cb91c7a18562e44d503baa10839733ea6a51ec", "commits": [], - "end_line": 7, - "id": "E2", + "end_line": 6, + "id": "E10", "kind": "lines", - "path": "src/Core/Installer/Database/DatabaseMigrator.php", + "path": "src/Storefront/DependencyInjection/TwigComponentBundlePass.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 6 } ], - "src": "M:src/Core/Installer" + "src": "M:src/Storefront/DependencyInjection" }, { "count": 1, - "dst": "M:src/Core/DevOps", + "dst": "M:src/Core/Maintenance", "how": "import-path", - "id": "M:src/Core/Installer->M:src/Core/DevOps", + "id": "M:src/Storefront/DependencyInjection->M:src/Core/Maintenance", "kind": "uses", "refs": [ { - "blob_sha": "f3b24ac80cb5e44f93fb8889d9e10f0349bbf77f", + "blob_sha": "c1e28e5badc7f1bb1e6ca806deb27e816d863907", "commits": [], - "end_line": 6, + "end_line": 59, "id": "E1", "kind": "lines", - "path": "src/Core/Installer/InstallerKernel.php", + "path": "src/Storefront/DependencyInjection/services.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 59 } ], - "src": "M:src/Core/Installer" + "src": "M:src/Storefront/DependencyInjection" }, { - "count": 50, - "dst": "M:src/Core/Framework", + "count": 17, + "dst": "M:src/Core/System", "how": "import-path", - "id": "M:src/Core/Installer->M:src/Core/Framework", + "id": "M:src/Storefront/DependencyInjection->M:src/Core/System", "kind": "uses", "refs": [ { - "blob_sha": "abf316be9e4b4c9c079f28da5d89a3534605f846", + "blob_sha": "0cc2a47a1816f2c7fdb38ba428f9f37690fddc52", "commits": [], - "end_line": 7, + "end_line": 6, "id": "E1", "kind": "lines", - "path": "src/Core/Installer/Configuration/AdminConfigurationService.php", + "path": "src/Storefront/DependencyInjection/captcha.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 6 }, { - "blob_sha": "a65ee5cddc865e2f174a9b46cd76138e98ae29b8", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 5, + "end_line": 64, "id": "E2", "kind": "lines", - "path": "src/Core/Installer/Configuration/EnvConfigWriter.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 64 }, { - "blob_sha": "a65ee5cddc865e2f174a9b46cd76138e98ae29b8", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 6, + "end_line": 65, "id": "E3", "kind": "lines", - "path": "src/Core/Installer/Configuration/EnvConfigWriter.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 - } - ], - "src": "M:src/Core/Installer" - }, - { - "count": 17, - "dst": "M:src/Core/Maintenance", - "how": "import-path", - "id": "M:src/Core/Installer->M:src/Core/Maintenance", - "kind": "uses", - "refs": [ + "start_line": 65 + }, { - "blob_sha": "abf316be9e4b4c9c079f28da5d89a3534605f846", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 8, - "id": "E1", + "end_line": 66, + "id": "E4", "kind": "lines", - "path": "src/Core/Installer/Configuration/AdminConfigurationService.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 8 + "start_line": 66 }, { - "blob_sha": "a65ee5cddc865e2f174a9b46cd76138e98ae29b8", + "blob_sha": "1bc35caa1eb1a2090eb16b78a476a5378cf6a0fc", "commits": [], - "end_line": 7, - "id": "E2", + "end_line": 19, + "id": "E5", "kind": "lines", - "path": "src/Core/Installer/Configuration/EnvConfigWriter.php", + "path": "src/Storefront/DependencyInjection/seo.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 19 }, { - "blob_sha": "a65ee5cddc865e2f174a9b46cd76138e98ae29b8", + "blob_sha": "c1e28e5badc7f1bb1e6ca806deb27e816d863907", "commits": [], - "end_line": 8, - "id": "E3", + "end_line": 60, + "id": "E6", "kind": "lines", - "path": "src/Core/Installer/Configuration/EnvConfigWriter.php", + "path": "src/Storefront/DependencyInjection/services.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 8 - } - ], - "src": "M:src/Core/Installer" - }, - { - "count": 4, - "dst": "M:src/Core/System", - "how": "import-path", - "id": "M:src/Core/Installer->M:src/Core/System", - "kind": "uses", - "refs": [ + "start_line": 60 + }, { - "blob_sha": "7c467c67b28ed3c6aa2b6e18b2ef96ac367ed852", + "blob_sha": "c1e28e5badc7f1bb1e6ca806deb27e816d863907", "commits": [], - "end_line": 13, - "id": "E1", + "end_line": 61, + "id": "E7", "kind": "lines", - "path": "src/Core/Installer/Controller/ShopConfigurationController.php", + "path": "src/Storefront/DependencyInjection/services.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 13 + "start_line": 61 }, { - "blob_sha": "25f17caa7845ac3b2f702fbec1e10182bde5c4f8", + "blob_sha": "c1e28e5badc7f1bb1e6ca806deb27e816d863907", "commits": [], - "end_line": 34, - "id": "E2", + "end_line": 62, + "id": "E8", "kind": "lines", - "path": "src/Core/Installer/DependencyInjection/services.php", + "path": "src/Storefront/DependencyInjection/services.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 34 + "start_line": 62 }, { - "blob_sha": "25f17caa7845ac3b2f702fbec1e10182bde5c4f8", + "blob_sha": "c1e28e5badc7f1bb1e6ca806deb27e816d863907", "commits": [], - "end_line": 35, - "id": "E3", + "end_line": 63, + "id": "E9", "kind": "lines", - "path": "src/Core/Installer/DependencyInjection/services.php", + "path": "src/Storefront/DependencyInjection/services.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 35 + "start_line": 63 + }, + { + "blob_sha": "c1e28e5badc7f1bb1e6ca806deb27e816d863907", + "commits": [], + "end_line": 64, + "id": "E10", + "kind": "lines", + "path": "src/Storefront/DependencyInjection/services.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 64 } ], - "src": "M:src/Core/Installer" + "src": "M:src/Storefront/DependencyInjection" }, { - "count": 8, - "dst": "M:src/Core/(root)", + "count": 6, + "dst": "M:src/Storefront/Checkout", "how": "import-path", - "id": "M:src/Core/Maintenance->M:src/Core/(root)", + "id": "M:src/Storefront/DependencyInjection->M:src/Storefront/Checkout", "kind": "uses", "refs": [ { - "blob_sha": "65f1c6f56b988c3a7926b55ae6d849ece73c2e79", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 5, + "end_line": 67, "id": "E1", "kind": "lines", - "path": "src/Core/Maintenance/SalesChannel/Command/SalesChannelCreateCommand.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 67 }, { - "blob_sha": "d2c427bcecb0673642512768ffdf3a50f00f6417", + "blob_sha": "c1e28e5badc7f1bb1e6ca806deb27e816d863907", "commits": [], - "end_line": 5, + "end_line": 70, "id": "E2", "kind": "lines", - "path": "src/Core/Maintenance/SalesChannel/Command/SalesChannelFileEnableCommand.php", + "path": "src/Storefront/DependencyInjection/services.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 70 }, { - "blob_sha": "249d798caef0ba26e9afffbe198aa3770da291b2", + "blob_sha": "c1e28e5badc7f1bb1e6ca806deb27e816d863907", "commits": [], - "end_line": 9, + "end_line": 71, "id": "E3", "kind": "lines", - "path": "src/Core/Maintenance/SalesChannel/Service/SalesChannelCreator.php", + "path": "src/Storefront/DependencyInjection/services.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 9 - } - ], - "src": "M:src/Core/Maintenance" - }, - { - "count": 3, - "dst": "M:src/Core/Checkout", - "how": "import-path", - "id": "M:src/Core/Maintenance->M:src/Core/Checkout", - "kind": "uses", - "refs": [ + "start_line": 71 + }, { - "blob_sha": "249d798caef0ba26e9afffbe198aa3770da291b2", + "blob_sha": "c1e28e5badc7f1bb1e6ca806deb27e816d863907", "commits": [], - "end_line": 5, - "id": "E1", + "end_line": 72, + "id": "E4", "kind": "lines", - "path": "src/Core/Maintenance/SalesChannel/Service/SalesChannelCreator.php", + "path": "src/Storefront/DependencyInjection/services.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 72 }, { - "blob_sha": "249d798caef0ba26e9afffbe198aa3770da291b2", + "blob_sha": "c1e28e5badc7f1bb1e6ca806deb27e816d863907", "commits": [], - "end_line": 6, - "id": "E2", + "end_line": 73, + "id": "E5", "kind": "lines", - "path": "src/Core/Maintenance/SalesChannel/Service/SalesChannelCreator.php", + "path": "src/Storefront/DependencyInjection/services.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 73 }, { - "blob_sha": "249d798caef0ba26e9afffbe198aa3770da291b2", - "commits": [], - "end_line": 7, - "id": "E3", + "blob_sha": "c1e28e5badc7f1bb1e6ca806deb27e816d863907", + "commits": [], + "end_line": 74, + "id": "E6", "kind": "lines", - "path": "src/Core/Maintenance/SalesChannel/Service/SalesChannelCreator.php", + "path": "src/Storefront/DependencyInjection/services.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 74 } ], - "src": "M:src/Core/Maintenance" + "src": "M:src/Storefront/DependencyInjection" }, { - "count": 2, - "dst": "M:src/Core/Content", + "count": 34, + "dst": "M:src/Storefront/Controller", "how": "import-path", - "id": "M:src/Core/Maintenance->M:src/Core/Content", + "id": "M:src/Storefront/DependencyInjection->M:src/Storefront/Controller", "kind": "uses", "refs": [ { - "blob_sha": "249d798caef0ba26e9afffbe198aa3770da291b2", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 8, + "end_line": 68, "id": "E1", "kind": "lines", - "path": "src/Core/Maintenance/SalesChannel/Service/SalesChannelCreator.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 8 + "start_line": 68 }, { - "blob_sha": "aa1b3a0008178ad713d4d988275625418b097f86", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 5, + "end_line": 69, "id": "E2", "kind": "lines", - "path": "src/Core/Maintenance/Staging/Handler/StagingMailHandler.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 - } - ], - "src": "M:src/Core/Maintenance" - }, - { - "count": 5, - "dst": "M:src/Core/DevOps", - "how": "import-path", - "id": "M:src/Core/Maintenance->M:src/Core/DevOps", - "kind": "uses", - "refs": [ + "start_line": 69 + }, { - "blob_sha": "5dbeaca3ff7a16145bac8619527e1990a5ba9528", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 6, - "id": "E1", + "end_line": 70, + "id": "E3", "kind": "lines", - "path": "src/Core/Maintenance/System/Command/SystemInstallCommand.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 70 }, { - "blob_sha": "5a1ad24a34271b04efbb486687ca6e02fdfd540b", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 9, - "id": "E2", + "end_line": 71, + "id": "E4", "kind": "lines", - "path": "src/Core/Maintenance/System/Command/SystemSetupCommand.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 9 + "start_line": 71 }, { - "blob_sha": "6046eb3897b7a3e3269e4a589874d6ca196cf9f7", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 5, - "id": "E3", + "end_line": 72, + "id": "E5", "kind": "lines", - "path": "src/Core/Maintenance/System/Command/SystemUpdateFinishCommand.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 - } - ], - "src": "M:src/Core/Maintenance" - }, - { - "count": 123, - "dst": "M:src/Core/Framework", - "how": "import-path", - "id": "M:src/Core/Maintenance->M:src/Core/Framework", - "kind": "uses", - "refs": [ + "start_line": 72 + }, { - "blob_sha": "6ddd18b6d7e9146fa4e3d0c6580963e392ae6fde", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 7, - "id": "E1", + "end_line": 73, + "id": "E6", "kind": "lines", - "path": "src/Core/Maintenance/DependencyInjection/services.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 73 }, { - "blob_sha": "6ddd18b6d7e9146fa4e3d0c6580963e392ae6fde", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 8, - "id": "E2", + "end_line": 74, + "id": "E7", "kind": "lines", - "path": "src/Core/Maintenance/DependencyInjection/services.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 8 + "start_line": 74 }, { - "blob_sha": "6ddd18b6d7e9146fa4e3d0c6580963e392ae6fde", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 9, - "id": "E3", + "end_line": 75, + "id": "E8", "kind": "lines", - "path": "src/Core/Maintenance/DependencyInjection/services.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 9 - } - ], - "src": "M:src/Core/Maintenance" - }, - { - "count": 2, - "dst": "M:src/Core/Installer", - "how": "import-path", - "id": "M:src/Core/Maintenance->M:src/Core/Installer", - "kind": "uses", - "refs": [ + "start_line": 75 + }, { - "blob_sha": "6ddd18b6d7e9146fa4e3d0c6580963e392ae6fde", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 12, - "id": "E1", + "end_line": 76, + "id": "E9", "kind": "lines", - "path": "src/Core/Maintenance/DependencyInjection/services.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 12 + "start_line": 76 }, { - "blob_sha": "5dbeaca3ff7a16145bac8619527e1990a5ba9528", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 11, - "id": "E2", + "end_line": 77, + "id": "E10", "kind": "lines", - "path": "src/Core/Maintenance/System/Command/SystemInstallCommand.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 11 + "start_line": 77 } ], - "src": "M:src/Core/Maintenance" + "src": "M:src/Storefront/DependencyInjection" }, { - "count": 23, - "dst": "M:src/Core/System", + "count": 2, + "dst": "M:src/Storefront/Event", "how": "import-path", - "id": "M:src/Core/Maintenance->M:src/Core/System", + "id": "M:src/Storefront/DependencyInjection->M:src/Storefront/Event", "kind": "uses", "refs": [ { - "blob_sha": "6ddd18b6d7e9146fa4e3d0c6580963e392ae6fde", + "blob_sha": "c1e28e5badc7f1bb1e6ca806deb27e816d863907", "commits": [], - "end_line": 41, + "end_line": 76, "id": "E1", "kind": "lines", - "path": "src/Core/Maintenance/DependencyInjection/services.php", + "path": "src/Storefront/DependencyInjection/services.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 41 + "start_line": 76 }, { - "blob_sha": "d2c427bcecb0673642512768ffdf3a50f00f6417", + "blob_sha": "8d1bf0fc3e4393c19f75786c81000910e65983ce", "commits": [], - "end_line": 13, + "end_line": 5, "id": "E2", "kind": "lines", - "path": "src/Core/Maintenance/SalesChannel/Command/SalesChannelFileEnableCommand.php", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 13 - }, - { - "blob_sha": "d2c427bcecb0673642512768ffdf3a50f00f6417", - "commits": [], - "end_line": 14, - "id": "E3", - "kind": "lines", - "path": "src/Core/Maintenance/SalesChannel/Command/SalesChannelFileEnableCommand.php", + "path": "src/Storefront/DependencyInjection/system.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 14 + "start_line": 5 } ], - "src": "M:src/Core/Maintenance" + "src": "M:src/Storefront/DependencyInjection" }, { - "count": 179, - "dst": "M:src/Core/(root)", + "count": 77, + "dst": "M:src/Storefront/Framework", "how": "import-path", - "id": "M:src/Core/Migration->M:src/Core/(root)", + "id": "M:src/Storefront/DependencyInjection->M:src/Storefront/Framework", "kind": "uses", "refs": [ { - "blob_sha": "12d59a0896d10c436432a583e3382e0336d3cc99", + "blob_sha": "07759af4794ff79dda94c2c2d47782c8e126b451", "commits": [], "end_line": 6, "id": "E1", "kind": "lines", - "path": "src/Core/Migration/Traits/CreateMailTemplateTrait.php", + "path": "src/Storefront/DependencyInjection/Configuration.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 6 }, { - "blob_sha": "c3e48abcf26f1f4b7c030d21c043c65b75ba8242", + "blob_sha": "0cc2a47a1816f2c7fdb38ba428f9f37690fddc52", "commits": [], - "end_line": 6, + "end_line": 7, "id": "E2", "kind": "lines", - "path": "src/Core/Migration/Traits/EnsureThumbnailSizesTrait.php", + "path": "src/Storefront/DependencyInjection/captcha.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 7 }, { - "blob_sha": "4f5f2a9029eebcbbdf3ac6983752b884ff82f588", + "blob_sha": "0cc2a47a1816f2c7fdb38ba428f9f37690fddc52", "commits": [], - "end_line": 6, + "end_line": 8, "id": "E3", "kind": "lines", - "path": "src/Core/Migration/Traits/ImportTranslationsTrait.php", + "path": "src/Storefront/DependencyInjection/captcha.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 - } - ], - "src": "M:src/Core/Migration" - }, - { - "count": 64, - "dst": "M:src/Core/Checkout", - "how": "import-path", - "id": "M:src/Core/Migration->M:src/Core/Checkout", - "kind": "uses", - "refs": [ + "start_line": 8 + }, { - "blob_sha": "53968e94b381877fa684474b859700010a4645dd", + "blob_sha": "0cc2a47a1816f2c7fdb38ba428f9f37690fddc52", "commits": [], - "end_line": 6, - "id": "E1", + "end_line": 9, + "id": "E4", "kind": "lines", - "path": "src/Core/Migration/V6_3/Migration1536232920PaymentMethod.php", + "path": "src/Storefront/DependencyInjection/captcha.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 9 }, { - "blob_sha": "76d2550cd96c1a0902b94cb01e2f36edbbfd59d5", + "blob_sha": "0cc2a47a1816f2c7fdb38ba428f9f37690fddc52", "commits": [], - "end_line": 6, - "id": "E2", + "end_line": 10, + "id": "E5", "kind": "lines", - "path": "src/Core/Migration/V6_3/Migration1536233560BasicData.php", + "path": "src/Storefront/DependencyInjection/captcha.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 10 }, { - "blob_sha": "76d2550cd96c1a0902b94cb01e2f36edbbfd59d5", + "blob_sha": "0cc2a47a1816f2c7fdb38ba428f9f37690fddc52", "commits": [], - "end_line": 7, - "id": "E3", + "end_line": 11, + "id": "E6", "kind": "lines", - "path": "src/Core/Migration/V6_3/Migration1536233560BasicData.php", + "path": "src/Storefront/DependencyInjection/captcha.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 - } - ], - "src": "M:src/Core/Migration" - }, - { - "count": 121, - "dst": "M:src/Core/Content", - "how": "import-path", - "id": "M:src/Core/Migration->M:src/Core/Content", - "kind": "uses", - "refs": [ + "start_line": 11 + }, { - "blob_sha": "76d2550cd96c1a0902b94cb01e2f36edbbfd59d5", + "blob_sha": "0cc2a47a1816f2c7fdb38ba428f9f37690fddc52", "commits": [], - "end_line": 19, - "id": "E1", + "end_line": 12, + "id": "E7", + "kind": "lines", + "path": "src/Storefront/DependencyInjection/captcha.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 12 + }, + { + "blob_sha": "0cc2a47a1816f2c7fdb38ba428f9f37690fddc52", + "commits": [], + "end_line": 13, + "id": "E8", "kind": "lines", - "path": "src/Core/Migration/V6_3/Migration1536233560BasicData.php", + "path": "src/Storefront/DependencyInjection/captcha.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 19 + "start_line": 13 }, { - "blob_sha": "76d2550cd96c1a0902b94cb01e2f36edbbfd59d5", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 20, - "id": "E2", + "end_line": 101, + "id": "E9", "kind": "lines", - "path": "src/Core/Migration/V6_3/Migration1536233560BasicData.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 20 + "start_line": 101 }, { - "blob_sha": "76d2550cd96c1a0902b94cb01e2f36edbbfd59d5", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 21, - "id": "E3", + "end_line": 102, + "id": "E10", "kind": "lines", - "path": "src/Core/Migration/V6_3/Migration1536233560BasicData.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 21 + "start_line": 102 } ], - "src": "M:src/Core/Migration" + "src": "M:src/Storefront/DependencyInjection" }, { - "count": 2188, - "dst": "M:src/Core/Framework", + "count": 1, + "dst": "M:src/Storefront/Mcp", "how": "import-path", - "id": "M:src/Core/Migration->M:src/Core/Framework", + "id": "M:src/Storefront/DependencyInjection->M:src/Storefront/Mcp", "kind": "uses", "refs": [ { - "blob_sha": "4d44cfb8072c93721e1aa21a1c8612a62607c3d1", + "blob_sha": "a6b663c83ce4c4f3ae2a3f0059bdc27760bb828f", "commits": [], "end_line": 5, "id": "E1", "kind": "lines", - "path": "src/Core/Migration/Structs/MailCreationState.php", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 - }, - { - "blob_sha": "ef380023aba5ded4d64a5954478a94c3d7d782bd", - "commits": [], - "end_line": 5, - "id": "E2", - "kind": "lines", - "path": "src/Core/Migration/Structs/MailTemplateCreateStruct.php", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 - }, - { - "blob_sha": "ad11fe98f1842ce3595e6144a0ac60cf6c5b81d3", - "commits": [], - "end_line": 5, - "id": "E3", - "kind": "lines", - "path": "src/Core/Migration/Structs/MailTemplateTypeCreateStruct.php", + "path": "src/Storefront/DependencyInjection/mcp.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 5 } ], - "src": "M:src/Core/Migration" + "src": "M:src/Storefront/DependencyInjection" }, { - "count": 21, - "dst": "M:src/Core/System", + "count": 62, + "dst": "M:src/Storefront/Page", "how": "import-path", - "id": "M:src/Core/Migration->M:src/Core/System", + "id": "M:src/Storefront/DependencyInjection->M:src/Storefront/Page", "kind": "uses", "refs": [ { - "blob_sha": "89d1ed102fd0488b7b046d1e7d53e005eb2c7fe3", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 10, + "end_line": 105, "id": "E1", "kind": "lines", - "path": "src/Core/Migration/Traits/StateMachineMigrationImporter.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 10 + "start_line": 105 }, { - "blob_sha": "89d1ed102fd0488b7b046d1e7d53e005eb2c7fe3", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 11, + "end_line": 106, "id": "E2", "kind": "lines", - "path": "src/Core/Migration/Traits/StateMachineMigrationImporter.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 11 + "start_line": 106 }, { - "blob_sha": "89d1ed102fd0488b7b046d1e7d53e005eb2c7fe3", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 12, + "end_line": 107, "id": "E3", "kind": "lines", - "path": "src/Core/Migration/Traits/StateMachineMigrationImporter.php", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 12 - } - ], - "src": "M:src/Core/Migration" - }, - { - "count": 3, - "dst": "M:src/Core/Checkout", - "how": "import-path", - "id": "M:src/Core/Profiling->M:src/Core/Checkout", - "kind": "uses", - "refs": [ - { - "blob_sha": "9d1a1db23b14592a3246e654d98e50ee6dd82512", - "commits": [], - "end_line": 6, - "id": "E1", - "kind": "lines", - "path": "src/Core/Profiling/DependencyInjection/services_dev.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 107 }, { - "blob_sha": "434cd7af0763137850ee36faf06133e0768e8fd9", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 5, - "id": "E2", + "end_line": 108, + "id": "E4", "kind": "lines", - "path": "src/Core/Profiling/Subscriber/CartDataCollectorSubscriber.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 108 }, { - "blob_sha": "434cd7af0763137850ee36faf06133e0768e8fd9", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 6, - "id": "E3", + "end_line": 109, + "id": "E5", "kind": "lines", - "path": "src/Core/Profiling/Subscriber/CartDataCollectorSubscriber.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 - } - ], - "src": "M:src/Core/Profiling" - }, - { - "count": 2, - "dst": "M:src/Core/Content", - "how": "import-path", - "id": "M:src/Core/Profiling->M:src/Core/Content", - "kind": "uses", - "refs": [ + "start_line": 109 + }, { - "blob_sha": "1326e8d3ef879d4266945916ea2f7a5b8baea5f4", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 5, - "id": "E1", + "end_line": 110, + "id": "E6", "kind": "lines", - "path": "src/Core/Profiling/Subscriber/ActiveRulesDataCollectorSubscriber.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 110 }, { - "blob_sha": "1326e8d3ef879d4266945916ea2f7a5b8baea5f4", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 6, - "id": "E2", + "end_line": 111, + "id": "E7", "kind": "lines", - "path": "src/Core/Profiling/Subscriber/ActiveRulesDataCollectorSubscriber.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 - } - ], - "src": "M:src/Core/Profiling" - }, - { - "count": 33, - "dst": "M:src/Core/Framework", - "how": "import-path", - "id": "M:src/Core/Profiling->M:src/Core/Framework", - "kind": "uses", - "refs": [ + "start_line": 111 + }, { - "blob_sha": "fc017230729be898965463ff2dc81ef79694823c", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 6, - "id": "E1", + "end_line": 112, + "id": "E8", "kind": "lines", - "path": "src/Core/Profiling/Compiler/RemoveDevServices.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 112 }, { - "blob_sha": "fc017230729be898965463ff2dc81ef79694823c", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 7, - "id": "E2", + "end_line": 113, + "id": "E9", "kind": "lines", - "path": "src/Core/Profiling/Compiler/RemoveDevServices.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 113 }, { - "blob_sha": "46bc148d7ae1e0e4a733dd486eff4ff96c8eb514", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 6, - "id": "E3", + "end_line": 114, + "id": "E10", "kind": "lines", - "path": "src/Core/Profiling/Controller/ProfilerController.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 114 } ], - "src": "M:src/Core/Profiling" + "src": "M:src/Storefront/DependencyInjection" }, { - "count": 1, - "dst": "M:src/Core/System", + "count": 14, + "dst": "M:src/Storefront/Pagelet", "how": "import-path", - "id": "M:src/Core/Profiling->M:src/Core/System", + "id": "M:src/Storefront/DependencyInjection->M:src/Storefront/Pagelet", "kind": "uses", "refs": [ { - "blob_sha": "434cd7af0763137850ee36faf06133e0768e8fd9", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 9, + "end_line": 134, "id": "E1", "kind": "lines", - "path": "src/Core/Profiling/Subscriber/CartDataCollectorSubscriber.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 9 - } - ], - "src": "M:src/Core/Profiling" - }, - { - "count": 3, - "dst": "M:src/Core/(root)", - "how": "import-path", - "id": "M:src/Core/Service->M:src/Core/(root)", - "kind": "uses", - "refs": [ + "start_line": 134 + }, { - "blob_sha": "c37080eb0863b9176ed8f49c7f474d1a4d89bef9", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 8, - "id": "E1", + "end_line": 135, + "id": "E2", "kind": "lines", - "path": "src/Core/Service/Api/PermissionController.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 8 + "start_line": 135 }, { - "blob_sha": "25203917c6a51be077fe6336e13fb84f4a45827b", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 5, - "id": "E2", + "end_line": 136, + "id": "E3", "kind": "lines", - "path": "src/Core/Service/Api/ServiceController.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 136 }, { - "blob_sha": "25203917c6a51be077fe6336e13fb84f4a45827b", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 12, - "id": "E3", + "end_line": 137, + "id": "E4", "kind": "lines", - "path": "src/Core/Service/Api/ServiceController.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 12 - } - ], - "src": "M:src/Core/Service" - }, - { - "count": 181, - "dst": "M:src/Core/Framework", - "how": "import-path", - "id": "M:src/Core/Service->M:src/Core/Framework", - "kind": "uses", - "refs": [ + "start_line": 137 + }, { - "blob_sha": "4a0f33f7d3b0199b5b0abfd4a082eca30f562623", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 6, - "id": "E1", + "end_line": 138, + "id": "E5", "kind": "lines", - "path": "src/Core/Service/AllServiceInstaller.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 138 }, { - "blob_sha": "4a0f33f7d3b0199b5b0abfd4a082eca30f562623", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 7, - "id": "E2", + "end_line": 139, + "id": "E6", "kind": "lines", - "path": "src/Core/Service/AllServiceInstaller.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 139 }, { - "blob_sha": "c37080eb0863b9176ed8f49c7f474d1a4d89bef9", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 5, - "id": "E3", + "end_line": 140, + "id": "E7", "kind": "lines", - "path": "src/Core/Service/Api/PermissionController.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 - } - ], - "src": "M:src/Core/Service" - }, - { - "count": 7, - "dst": "M:src/Core/System", - "how": "import-path", - "id": "M:src/Core/Service->M:src/Core/System", - "kind": "uses", - "refs": [ + "start_line": 140 + }, { - "blob_sha": "40f59e95571267333cad6907442ac23ffd165df2", + "blob_sha": "c1e28e5badc7f1bb1e6ca806deb27e816d863907", "commits": [], - "end_line": 55, - "id": "E1", + "end_line": 160, + "id": "E8", "kind": "lines", - "path": "src/Core/Service/DependencyInjection/services.php", + "path": "src/Storefront/DependencyInjection/services.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 55 + "start_line": 160 }, { - "blob_sha": "3a2fa0e949d2b2478dd52da2487bb73dc785c557", + "blob_sha": "c1e28e5badc7f1bb1e6ca806deb27e816d863907", "commits": [], - "end_line": 8, - "id": "E2", + "end_line": 161, + "id": "E9", "kind": "lines", - "path": "src/Core/Service/LifecycleManager.php", + "path": "src/Storefront/DependencyInjection/services.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 8 + "start_line": 161 }, { - "blob_sha": "9ab3ca3f45679a49edde3d563076f7f4e7abe1d9", + "blob_sha": "c1e28e5badc7f1bb1e6ca806deb27e816d863907", "commits": [], - "end_line": 13, - "id": "E3", + "end_line": 162, + "id": "E10", "kind": "lines", - "path": "src/Core/Service/Permission/PermissionsService.php", + "path": "src/Storefront/DependencyInjection/services.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 13 + "start_line": 162 } ], - "src": "M:src/Core/Service" + "src": "M:src/Storefront/DependencyInjection" }, { - "count": 1, - "dst": "M:src/Administration", + "count": 2, + "dst": "M:src/Storefront/Storybook", "how": "import-path", - "id": "M:src/Core/System->M:src/Administration", + "id": "M:src/Storefront/DependencyInjection->M:src/Storefront/Storybook", "kind": "uses", "refs": [ { - "blob_sha": "1537131c42903dd6028948cae4067196f27048a3", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 5, + "end_line": 141, "id": "E1", "kind": "lines", - "path": "src/Core/System/Snippet/SnippetFileHandler.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 141 + }, + { + "blob_sha": "c1e28e5badc7f1bb1e6ca806deb27e816d863907", + "commits": [], + "end_line": 167, + "id": "E2", + "kind": "lines", + "path": "src/Storefront/DependencyInjection/services.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 167 } ], - "src": "M:src/Core/System" + "src": "M:src/Storefront/DependencyInjection" }, { - "count": 61, - "dst": "M:src/Core/(root)", + "count": 2, + "dst": "M:src/Storefront/System", "how": "import-path", - "id": "M:src/Core/System->M:src/Core/(root)", + "id": "M:src/Storefront/DependencyInjection->M:src/Storefront/System", "kind": "uses", "refs": [ { - "blob_sha": "672009ec00b147b04ccb5f67d68e043f4b6dd852", + "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", "commits": [], - "end_line": 8, + "end_line": 142, "id": "E1", "kind": "lines", - "path": "src/Core/System/Consent/Api/ConsentController.php", + "path": "src/Storefront/DependencyInjection/controller.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 8 + "start_line": 142 }, { - "blob_sha": "e9a3e7baa556c7322d8aa84f244282857197bc3f", + "blob_sha": "8d1bf0fc3e4393c19f75786c81000910e65983ce", "commits": [], - "end_line": 7, + "end_line": 6, "id": "E2", "kind": "lines", - "path": "src/Core/System/Consent/ConsentRepository.php", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 - }, - { - "blob_sha": "301526db1c7e13800c12706f1e1f39505593fa43", - "commits": [], - "end_line": 5, - "id": "E3", - "kind": "lines", - "path": "src/Core/System/Consent/DTO/ConsentState.php", + "path": "src/Storefront/DependencyInjection/system.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 6 } ], - "src": "M:src/Core/System" + "src": "M:src/Storefront/DependencyInjection" }, { - "count": 160, - "dst": "M:src/Core/Checkout", + "count": 82, + "dst": "M:src/Storefront/Theme", "how": "import-path", - "id": "M:src/Core/System->M:src/Core/Checkout", + "id": "M:src/Storefront/DependencyInjection->M:src/Storefront/Theme", "kind": "uses", "refs": [ { - "blob_sha": "4c9f9689c1a2a5400aae8ace4c87117523548cec", + "blob_sha": "07759af4794ff79dda94c2c2d47782c8e126b451", "commits": [], - "end_line": 5, + "end_line": 7, "id": "E1", "kind": "lines", - "path": "src/Core/System/Country/Aggregate/CountryState/CountryStateDefinition.php", + "path": "src/Storefront/DependencyInjection/Configuration.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 7 }, { - "blob_sha": "4c9f9689c1a2a5400aae8ace4c87117523548cec", + "blob_sha": "07759af4794ff79dda94c2c2d47782c8e126b451", "commits": [], - "end_line": 6, + "end_line": 8, "id": "E2", "kind": "lines", - "path": "src/Core/System/Country/Aggregate/CountryState/CountryStateDefinition.php", + "path": "src/Storefront/DependencyInjection/Configuration.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 8 }, { - "blob_sha": "a205674921ffac96207b0559070d77c2d8ca1947", + "blob_sha": "07759af4794ff79dda94c2c2d47782c8e126b451", "commits": [], - "end_line": 5, + "end_line": 9, "id": "E3", "kind": "lines", - "path": "src/Core/System/Country/Aggregate/CountryState/CountryStateEntity.php", + "path": "src/Storefront/DependencyInjection/Configuration.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 - } - ], - "src": "M:src/Core/System" - }, - { - "count": 141, - "dst": "M:src/Core/Content", - "how": "import-path", - "id": "M:src/Core/System->M:src/Core/Content", - "kind": "uses", - "refs": [ + "start_line": 9 + }, { - "blob_sha": "d5a1951d3e6a30e8f402a7a7b959762bfc1e988b", + "blob_sha": "93b61c61d5d22e50089f7845f061fa3de96ee6cd", "commits": [], - "end_line": 7, - "id": "E1", + "end_line": 6, + "id": "E4", "kind": "lines", - "path": "src/Core/System/Currency/CurrencyDefinition.php", + "path": "src/Storefront/DependencyInjection/StorefrontExtension.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 6 }, { - "blob_sha": "a478445aeed208b1e37282ac110de97de9ee62ac", + "blob_sha": "93b61c61d5d22e50089f7845f061fa3de96ee6cd", "commits": [], "end_line": 7, - "id": "E2", + "id": "E5", "kind": "lines", - "path": "src/Core/System/Currency/CurrencyEntity.php", + "path": "src/Storefront/DependencyInjection/StorefrontExtension.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 7 }, { - "blob_sha": "16bf5425ccc3a0512a0be4429326d5b71cf863b5", + "blob_sha": "93b61c61d5d22e50089f7845f061fa3de96ee6cd", "commits": [], - "end_line": 5, - "id": "E3", + "end_line": 8, + "id": "E6", "kind": "lines", - "path": "src/Core/System/CustomField/Aggregate/CustomFieldSet/CustomFieldSetDefinition.php", + "path": "src/Storefront/DependencyInjection/StorefrontExtension.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 - } - ], - "src": "M:src/Core/System" - }, - { - "count": 1, - "dst": "M:src/Core/DevOps", - "how": "import-path", - "id": "M:src/Core/System->M:src/Core/DevOps", - "kind": "uses", - "refs": [ + "start_line": 8 + }, { - "blob_sha": "a97e57892e3ddf4edca484b8dc4f64f3084e538b", + "blob_sha": "0e1fb44955029f6f7a801b602b62a5f6635a8299", "commits": [], - "end_line": 5, - "id": "E1", + "end_line": 6, + "id": "E7", "kind": "lines", - "path": "src/Core/System/Snippet/SnippetValidator.php", + "path": "src/Storefront/DependencyInjection/ThemeCompilerAssetCompilerPass.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 - } - ], - "src": "M:src/Core/System" - }, - { - "count": 2539, - "dst": "M:src/Core/Framework", - "how": "import-path", - "id": "M:src/Core/System->M:src/Core/Framework", - "kind": "uses", - "refs": [ + "start_line": 6 + }, { - "blob_sha": "672009ec00b147b04ccb5f67d68e043f4b6dd852", + "blob_sha": "a6b663c83ce4c4f3ae2a3f0059bdc27760bb828f", "commits": [], - "end_line": 5, - "id": "E1", + "end_line": 6, + "id": "E8", "kind": "lines", - "path": "src/Core/System/Consent/Api/ConsentController.php", + "path": "src/Storefront/DependencyInjection/mcp.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 6 }, { - "blob_sha": "672009ec00b147b04ccb5f67d68e043f4b6dd852", + "blob_sha": "c1e28e5badc7f1bb1e6ca806deb27e816d863907", "commits": [], - "end_line": 6, - "id": "E2", + "end_line": 168, + "id": "E9", "kind": "lines", - "path": "src/Core/System/Consent/Api/ConsentController.php", + "path": "src/Storefront/DependencyInjection/services.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 168 }, { - "blob_sha": "672009ec00b147b04ccb5f67d68e043f4b6dd852", + "blob_sha": "c1e28e5badc7f1bb1e6ca806deb27e816d863907", "commits": [], - "end_line": 7, - "id": "E3", + "end_line": 169, + "id": "E10", "kind": "lines", - "path": "src/Core/System/Consent/Api/ConsentController.php", + "path": "src/Storefront/DependencyInjection/services.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 169 } ], - "src": "M:src/Core/System" + "src": "M:src/Storefront/DependencyInjection" }, { "count": 1, - "dst": "M:src/Core/Maintenance", + "dst": "M:src/Core/Checkout", "how": "import-path", - "id": "M:src/Core/System->M:src/Core/Maintenance", + "id": "M:src/Storefront/Event->M:src/Core/Checkout", "kind": "uses", "refs": [ { - "blob_sha": "236aced38b6a13c66f00e3f89006ff91800e3cdd", + "blob_sha": "6c003454f2314061ccd1742408cf58cf2a5f16a4", "commits": [], - "end_line": 7, + "end_line": 5, "id": "E1", "kind": "lines", - "path": "src/Core/System/Consent/Subscriber/SetupStagingEventSubscriber.php", + "path": "src/Storefront/Event/CartMergedSubscriber.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 5 } ], - "src": "M:src/Core/System" + "src": "M:src/Storefront/Event" }, { "count": 2, - "dst": "M:src/Core/Profiling", + "dst": "M:src/Core/Content", "how": "import-path", - "id": "M:src/Core/System->M:src/Core/Profiling", + "id": "M:src/Storefront/Event->M:src/Core/Content", "kind": "uses", "refs": [ { - "blob_sha": "1bbae68f6282503d83740fb66e9879949c5a34e5", + "blob_sha": "af531cc5644afcf26f705b9ad00383bb264dce75", "commits": [], - "end_line": 13, + "end_line": 5, "id": "E1", "kind": "lines", - "path": "src/Core/System/SalesChannel/Context/SalesChannelContextService.php", + "path": "src/Storefront/Event/SwitchBuyBoxVariantEvent.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 13 + "start_line": 5 }, { - "blob_sha": "b3c7626c01e82113f850ac083c23449872393883", + "blob_sha": "af531cc5644afcf26f705b9ad00383bb264dce75", "commits": [], - "end_line": 24, + "end_line": 6, "id": "E2", "kind": "lines", - "path": "src/Core/System/SalesChannel/Entity/SalesChannelRepository.php", + "path": "src/Storefront/Event/SwitchBuyBoxVariantEvent.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 24 + "start_line": 6 } ], - "src": "M:src/Core/System" + "src": "M:src/Storefront/Event" }, { - "count": 9, - "dst": "M:src/Core/(root)", + "count": 26, + "dst": "M:src/Core/Framework", "how": "import-path", - "id": "M:src/Elasticsearch->M:src/Core/(root)", + "id": "M:src/Storefront/Event->M:src/Core/Framework", "kind": "uses", "refs": [ { - "blob_sha": "2db78f16f18ef31e6c56f37d437057702035b4ae", + "blob_sha": "6c003454f2314061ccd1742408cf58cf2a5f16a4", "commits": [], - "end_line": 13, + "end_line": 6, "id": "E1", "kind": "lines", - "path": "src/Elasticsearch/Admin/AdminSearchController.php", + "path": "src/Storefront/Event/CartMergedSubscriber.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 13 + "start_line": 6 }, { - "blob_sha": "e4b309367269f9776708c358a57d9cbae740f421", + "blob_sha": "661a4f4e0a42ebf1779ab9405d0432fed2f1967b", "commits": [], - "end_line": 13, + "end_line": 5, "id": "E2", "kind": "lines", - "path": "src/Elasticsearch/Admin/AdminSearchRegistry.php", + "path": "src/Storefront/Event/MaintenanceRedirectEvent.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 13 + "start_line": 5 }, { - "blob_sha": "1f6efcaf2109b01a6a47d148912d699a1cbfea8a", + "blob_sha": "93ee103305bc91bd8e903286728eaa390327a5b6", "commits": [], - "end_line": 6, + "end_line": 5, "id": "E3", "kind": "lines", - "path": "src/Elasticsearch/Admin/Indexer/AbstractAdminIndexer.php", + "path": "src/Storefront/Event/RouteRequest/AccountNewsletterRecipientRouteRequestEvent.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 - } - ], - "src": "M:src/Elasticsearch" - }, - { - "count": 30, - "dst": "M:src/Core/Checkout", - "how": "import-path", - "id": "M:src/Elasticsearch->M:src/Core/Checkout", - "kind": "uses", - "refs": [ + "start_line": 5 + }, { - "blob_sha": "2acb36deff72e12663a9b64427c83960464ca52e", + "blob_sha": "a2e2133f2e9dfc9c370b5cf06960cebf554f89bc", "commits": [], - "end_line": 7, - "id": "E1", + "end_line": 5, + "id": "E4", "kind": "lines", - "path": "src/Elasticsearch/Admin/Indexer/CustomerAdminSearchIndexer.php", + "path": "src/Storefront/Event/RouteRequest/CancelOrderRouteRequestEvent.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 5 }, { - "blob_sha": "2acb36deff72e12663a9b64427c83960464ca52e", + "blob_sha": "a3ac9f27b3dbc7146b8b05b44ef0a44c19d3d791", "commits": [], - "end_line": 8, - "id": "E2", + "end_line": 5, + "id": "E5", "kind": "lines", - "path": "src/Elasticsearch/Admin/Indexer/CustomerAdminSearchIndexer.php", + "path": "src/Storefront/Event/RouteRequest/CurrencyRouteRequestEvent.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 8 + "start_line": 5 }, { - "blob_sha": "2acb36deff72e12663a9b64427c83960464ca52e", + "blob_sha": "f75f4d0945199d8775ec92790be25a640c85198f", "commits": [], - "end_line": 9, - "id": "E3", + "end_line": 5, + "id": "E6", "kind": "lines", - "path": "src/Elasticsearch/Admin/Indexer/CustomerAdminSearchIndexer.php", + "path": "src/Storefront/Event/RouteRequest/HandlePaymentMethodRouteRequestEvent.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 9 - } - ], - "src": "M:src/Elasticsearch" - }, - { - "count": 58, - "dst": "M:src/Core/Content", - "how": "import-path", - "id": "M:src/Elasticsearch->M:src/Core/Content", - "kind": "uses", - "refs": [ + "start_line": 5 + }, { - "blob_sha": "93d6952f6a8511d3ec33957b43d4786cfd934839", + "blob_sha": "b58e47ac7f935070eb5d2d265a1b891f4197c788", "commits": [], - "end_line": 7, - "id": "E1", + "end_line": 5, + "id": "E7", "kind": "lines", - "path": "src/Elasticsearch/Admin/Indexer/CategoryAdminSearchIndexer.php", + "path": "src/Storefront/Event/RouteRequest/LanguageRouteRequestEvent.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 5 }, { - "blob_sha": "93d6952f6a8511d3ec33957b43d4786cfd934839", + "blob_sha": "dd91f26421ba6803c0c6bf0df1e517581e6e34a3", "commits": [], - "end_line": 8, - "id": "E2", + "end_line": 5, + "id": "E8", "kind": "lines", - "path": "src/Elasticsearch/Admin/Indexer/CategoryAdminSearchIndexer.php", + "path": "src/Storefront/Event/RouteRequest/OrderRouteRequestEvent.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 8 + "start_line": 5 }, { - "blob_sha": "93d6952f6a8511d3ec33957b43d4786cfd934839", + "blob_sha": "b16d5e8ab535863d11610258a4afa0538e9b4a13", "commits": [], - "end_line": 9, - "id": "E3", + "end_line": 5, + "id": "E9", "kind": "lines", - "path": "src/Elasticsearch/Admin/Indexer/CategoryAdminSearchIndexer.php", + "path": "src/Storefront/Event/RouteRequest/PaymentMethodRouteRequestEvent.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 9 - } - ], - "src": "M:src/Elasticsearch" - }, - { - "count": 1, - "dst": "M:src/Core/DevOps", - "how": "import-path", - "id": "M:src/Elasticsearch->M:src/Core/DevOps", - "kind": "uses", - "refs": [ + "start_line": 5 + }, { - "blob_sha": "aa463cd94ecca25621bb4733fc31946f7ee58fc3", + "blob_sha": "9a7faf18b09bd278cbccbfb6003b22a1f6d40147", "commits": [], - "end_line": 3, - "id": "E1", + "end_line": 5, + "id": "E10", "kind": "lines", - "path": "src/Elasticsearch/Resources/config/packages/shopware.php", + "path": "src/Storefront/Event/RouteRequest/RouteRequestEvent.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 3 + "start_line": 5 } ], - "src": "M:src/Elasticsearch" + "src": "M:src/Storefront/Event" }, { - "count": 592, - "dst": "M:src/Core/Framework", + "count": 3, + "dst": "M:src/Core/System", "how": "import-path", - "id": "M:src/Elasticsearch->M:src/Core/Framework", + "id": "M:src/Storefront/Event->M:src/Core/System", "kind": "uses", "refs": [ { - "blob_sha": "4a79cacf901c5c4da5750c84891e6e8991294e4b", + "blob_sha": "9a7faf18b09bd278cbccbfb6003b22a1f6d40147", "commits": [], - "end_line": 6, + "end_line": 10, "id": "E1", "kind": "lines", - "path": "src/Elasticsearch/AbstractFieldQueryBuilder.php", + "path": "src/Storefront/Event/RouteRequest/RouteRequestEvent.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 10 }, { - "blob_sha": "4a79cacf901c5c4da5750c84891e6e8991294e4b", + "blob_sha": "dd47d1d9548de8592aa1d2ef78aa0b1ff9b1e91d", "commits": [], - "end_line": 7, + "end_line": 9, "id": "E2", "kind": "lines", - "path": "src/Elasticsearch/AbstractFieldQueryBuilder.php", + "path": "src/Storefront/Event/StorefrontRenderEvent.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 9 }, { - "blob_sha": "5b32c5ee9c86427528d86aae4bfc1915b8ca1ceb", + "blob_sha": "af531cc5644afcf26f705b9ad00383bb264dce75", "commits": [], - "end_line": 6, + "end_line": 10, "id": "E3", "kind": "lines", - "path": "src/Elasticsearch/AbstractTokenQueryBuilder.php", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 - } - ], - "src": "M:src/Elasticsearch" - }, - { - "count": 1, - "dst": "M:src/Core/Maintenance", - "how": "import-path", - "id": "M:src/Elasticsearch->M:src/Core/Maintenance", - "kind": "uses", - "refs": [ - { - "blob_sha": "b940e31500f4f3bc1dcda6d16e1e0a07b0f4c748", - "commits": [], - "end_line": 6, - "id": "E1", - "kind": "lines", - "path": "src/Elasticsearch/Framework/ElasticsearchStagingHandler.php", + "path": "src/Storefront/Event/SwitchBuyBoxVariantEvent.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 10 } ], - "src": "M:src/Elasticsearch" + "src": "M:src/Storefront/Event" }, { - "count": 22, - "dst": "M:src/Core/System", + "count": 31, + "dst": "M:src/Core/(root)", "how": "import-path", - "id": "M:src/Elasticsearch->M:src/Core/System", + "id": "M:src/Storefront/Framework->M:src/Core/(root)", "kind": "uses", "refs": [ { - "blob_sha": "49d862af562582c356e86a4d73314e1ee02b5fa8", + "blob_sha": "c44eee1866566df06f10c02631d7d045e5faa9ad", "commits": [], - "end_line": 16, + "end_line": 9, "id": "E1", "kind": "lines", - "path": "src/Elasticsearch/Admin/Indexer/SalesChannelAdminSearchIndexer.php", + "path": "src/Storefront/Framework/AffiliateTracking/AffiliateTrackingListener.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 16 + "start_line": 9 }, { - "blob_sha": "49d862af562582c356e86a4d73314e1ee02b5fa8", + "blob_sha": "96a5113cc49f34d346fb4d76756aa8859a226586", "commits": [], - "end_line": 17, + "end_line": 7, "id": "E2", "kind": "lines", - "path": "src/Elasticsearch/Admin/Indexer/SalesChannelAdminSearchIndexer.php", + "path": "src/Storefront/Framework/Captcha/BasicCaptcha.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 17 + "start_line": 7 }, { - "blob_sha": "49d862af562582c356e86a4d73314e1ee02b5fa8", + "blob_sha": "dbde10d7ff7a5de1d76313e983a39b69e53a446d", "commits": [], - "end_line": 18, + "end_line": 7, "id": "E3", "kind": "lines", - "path": "src/Elasticsearch/Admin/Indexer/SalesChannelAdminSearchIndexer.php", + "path": "src/Storefront/Framework/Captcha/CaptchaRouteListener.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 18 - } - ], - "src": "M:src/Elasticsearch" - }, - { - "count": 2, - "dst": "M:src/Core/Framework", - "how": "import-path", - "id": "M:src/Storefront/(root)->M:src/Core/Framework", - "kind": "uses", - "refs": [ + "start_line": 7 + }, { - "blob_sha": "9df1570d20832a03ad3a4ed653faff7d8b9db97b", + "blob_sha": "b018ea459c7c66b27ccea951b6811395f1f25b11", "commits": [], "end_line": 5, - "id": "E1", + "id": "E4", "kind": "lines", - "path": "src/Storefront/Storefront.php", + "path": "src/Storefront/Framework/Command/SalesChannelCreateStorefrontCommand.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 5 }, { - "blob_sha": "9df1570d20832a03ad3a4ed653faff7d8b9db97b", + "blob_sha": "4bd2761df1efbaf912eddbdb372b21e4b034c3f0", "commits": [], - "end_line": 6, - "id": "E2", + "end_line": 9, + "id": "E5", "kind": "lines", - "path": "src/Storefront/Storefront.php", + "path": "src/Storefront/Framework/Cookie/CookieProvider.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 - } - ], - "src": "M:src/Storefront/(root)" - }, - { - "count": 4, - "dst": "M:src/Storefront/DependencyInjection", - "how": "import-path", - "id": "M:src/Storefront/(root)->M:src/Storefront/DependencyInjection", - "kind": "uses", - "refs": [ + "start_line": 9 + }, { - "blob_sha": "9df1570d20832a03ad3a4ed653faff7d8b9db97b", + "blob_sha": "ed6a4e13aca3699ab169cddb3c2538cb0bc8f920", "commits": [], "end_line": 7, - "id": "E1", + "id": "E6", "kind": "lines", - "path": "src/Storefront/Storefront.php", + "path": "src/Storefront/Framework/Routing/CanonicalLinkListener.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 7 }, { - "blob_sha": "9df1570d20832a03ad3a4ed653faff7d8b9db97b", + "blob_sha": "60eb37acf2ceec59ca852297fee422b1a1e34824", "commits": [], - "end_line": 8, - "id": "E2", + "end_line": 6, + "id": "E7", "kind": "lines", - "path": "src/Storefront/Storefront.php", + "path": "src/Storefront/Framework/Routing/ClearSiteDataListener.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 8 + "start_line": 6 }, { - "blob_sha": "9df1570d20832a03ad3a4ed653faff7d8b9db97b", + "blob_sha": "8b94c1763033926c0d64db25221f1d0413078884", "commits": [], - "end_line": 9, - "id": "E3", + "end_line": 6, + "id": "E8", "kind": "lines", - "path": "src/Storefront/Storefront.php", + "path": "src/Storefront/Framework/Routing/DomainLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 9 - } - ], - "src": "M:src/Storefront/(root)" - }, - { - "count": 1, - "dst": "M:src/Storefront/Framework", - "how": "import-path", - "id": "M:src/Storefront/(root)->M:src/Storefront/Framework", - "kind": "uses", - "refs": [ + "start_line": 6 + }, { - "blob_sha": "9df1570d20832a03ad3a4ed653faff7d8b9db97b", + "blob_sha": "004eee7ec05effc8f4e72e58b9acac779897ac1a", "commits": [], - "end_line": 11, - "id": "E1", + "end_line": 8, + "id": "E9", "kind": "lines", - "path": "src/Storefront/Storefront.php", + "path": "src/Storefront/Framework/Routing/MaintenanceModeResolver.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 11 - } - ], - "src": "M:src/Storefront/(root)" - }, - { - "count": 1, - "dst": "M:src/Core/(root)", - "how": "import-path", - "id": "M:src/Storefront/Checkout->M:src/Core/(root)", - "kind": "uses", - "refs": [ + "start_line": 8 + }, { - "blob_sha": "a346ba6e5169b8aa0556e34811507348e9a14a0c", + "blob_sha": "004eee7ec05effc8f4e72e58b9acac779897ac1a", "commits": [], - "end_line": 10, - "id": "E1", + "end_line": 9, + "id": "E10", "kind": "lines", - "path": "src/Storefront/Checkout/Customer/CustomerGroupSubscriber.php", + "path": "src/Storefront/Framework/Routing/MaintenanceModeResolver.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 10 + "start_line": 9 } ], - "src": "M:src/Storefront/Checkout" + "src": "M:src/Storefront/Framework" }, { - "count": 31, + "count": 6, "dst": "M:src/Core/Checkout", "how": "import-path", - "id": "M:src/Storefront/Checkout->M:src/Core/Checkout", + "id": "M:src/Storefront/Framework->M:src/Core/Checkout", "kind": "uses", "refs": [ { - "blob_sha": "a4382809213ca6dbdd54b0d8e80ac27ea0115a9f", + "blob_sha": "c44eee1866566df06f10c02631d7d045e5faa9ad", "commits": [], "end_line": 5, "id": "E1", "kind": "lines", - "path": "src/Storefront/Checkout/Cart/Error/PaymentMethodChangedError.php", + "path": "src/Storefront/Framework/AffiliateTracking/AffiliateTrackingListener.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 5 }, { - "blob_sha": "c0b2ceea580e88f5ea87af35e4fd501de02c13ac", + "blob_sha": "a2322734bdb6f8d8a5cb5ff6b86c380fa0aeac2f", "commits": [], "end_line": 5, "id": "E2", "kind": "lines", - "path": "src/Storefront/Checkout/Cart/Error/ShippingMethodChangedError.php", + "path": "src/Storefront/Framework/Routing/StorefrontSubscriber.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 5 }, { - "blob_sha": "54594dd510f7bd2385151758d7614ac4f860a4d1", + "blob_sha": "ee41ed0014ed5e8e60c0a4c899bed215383e68ec", "commits": [], "end_line": 5, "id": "E3", "kind": "lines", - "path": "src/Storefront/Checkout/Cart/SalesChannel/StorefrontCartFacade.php", + "path": "src/Storefront/Framework/SystemCheck/Util/SalesChannelDomainContextFactory.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 5 + }, + { + "blob_sha": "ee41ed0014ed5e8e60c0a4c899bed215383e68ec", + "commits": [], + "end_line": 6, + "id": "E4", + "kind": "lines", + "path": "src/Storefront/Framework/SystemCheck/Util/SalesChannelDomainContextFactory.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "ee41ed0014ed5e8e60c0a4c899bed215383e68ec", + "commits": [], + "end_line": 7, + "id": "E5", + "kind": "lines", + "path": "src/Storefront/Framework/SystemCheck/Util/SalesChannelDomainContextFactory.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "ee41ed0014ed5e8e60c0a4c899bed215383e68ec", + "commits": [], + "end_line": 8, + "id": "E6", + "kind": "lines", + "path": "src/Storefront/Framework/SystemCheck/Util/SalesChannelDomainContextFactory.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 } ], - "src": "M:src/Storefront/Checkout" + "src": "M:src/Storefront/Framework" }, { - "count": 4, + "count": 67, "dst": "M:src/Core/Content", "how": "import-path", - "id": "M:src/Storefront/Checkout->M:src/Core/Content", + "id": "M:src/Storefront/Framework->M:src/Core/Content", "kind": "uses", "refs": [ { - "blob_sha": "a346ba6e5169b8aa0556e34811507348e9a14a0c", + "blob_sha": "479bed1d4a4430519db907e717f2a1e290938f2c", "commits": [], - "end_line": 8, + "end_line": 7, "id": "E1", "kind": "lines", - "path": "src/Storefront/Checkout/Customer/CustomerGroupSubscriber.php", + "path": "src/Storefront/Framework/Captcha/CaptchaCookieCollectListener.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "479bed1d4a4430519db907e717f2a1e290938f2c", + "commits": [], + "end_line": 8, + "id": "E2", + "kind": "lines", + "path": "src/Storefront/Framework/Captcha/CaptchaCookieCollectListener.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 8 }, { - "blob_sha": "a346ba6e5169b8aa0556e34811507348e9a14a0c", + "blob_sha": "479bed1d4a4430519db907e717f2a1e290938f2c", "commits": [], "end_line": 9, - "id": "E2", + "id": "E3", "kind": "lines", - "path": "src/Storefront/Checkout/Customer/CustomerGroupSubscriber.php", + "path": "src/Storefront/Framework/Captcha/CaptchaCookieCollectListener.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 9 }, { - "blob_sha": "21d23ca2b19a268a9a749a46dc0bdb0decdf8615", + "blob_sha": "479bed1d4a4430519db907e717f2a1e290938f2c", "commits": [], - "end_line": 7, - "id": "E3", + "end_line": 10, + "id": "E4", "kind": "lines", - "path": "src/Storefront/Checkout/Order/OrderProductAvailabilityResolver.php", + "path": "src/Storefront/Framework/Captcha/CaptchaCookieCollectListener.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 - } - ], - "src": "M:src/Storefront/Checkout" - }, - { - "count": 27, - "dst": "M:src/Core/Framework", - "how": "import-path", - "id": "M:src/Storefront/Checkout->M:src/Core/Framework", - "kind": "uses", - "refs": [ + "start_line": 10 + }, { - "blob_sha": "a4382809213ca6dbdd54b0d8e80ac27ea0115a9f", + "blob_sha": "d47e875bda1242a3850e679f271b83b1e40d1695", "commits": [], - "end_line": 6, - "id": "E1", + "end_line": 12, + "id": "E5", "kind": "lines", - "path": "src/Storefront/Checkout/Cart/Error/PaymentMethodChangedError.php", + "path": "src/Storefront/Framework/Captcha/HoneypotCaptcha.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 12 }, { - "blob_sha": "a4382809213ca6dbdd54b0d8e80ac27ea0115a9f", + "blob_sha": "4bd2761df1efbaf912eddbdb372b21e4b034c3f0", "commits": [], - "end_line": 7, - "id": "E2", + "end_line": 5, + "id": "E6", "kind": "lines", - "path": "src/Storefront/Checkout/Cart/Error/PaymentMethodChangedError.php", + "path": "src/Storefront/Framework/Cookie/CookieProvider.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 5 }, { - "blob_sha": "a4382809213ca6dbdd54b0d8e80ac27ea0115a9f", + "blob_sha": "4bd2761df1efbaf912eddbdb372b21e4b034c3f0", "commits": [], - "end_line": 8, - "id": "E3", + "end_line": 6, + "id": "E7", "kind": "lines", - "path": "src/Storefront/Checkout/Cart/Error/PaymentMethodChangedError.php", + "path": "src/Storefront/Framework/Cookie/CookieProvider.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 8 - } - ], - "src": "M:src/Storefront/Checkout" - }, - { - "count": 9, - "dst": "M:src/Core/System", - "how": "import-path", - "id": "M:src/Storefront/Checkout->M:src/Core/System", - "kind": "uses", - "refs": [ + "start_line": 6 + }, { - "blob_sha": "54594dd510f7bd2385151758d7614ac4f860a4d1", + "blob_sha": "f5db3b009ea7c30cb9d179ffdc154e31d517e28f", "commits": [], - "end_line": 18, - "id": "E1", + "end_line": 5, + "id": "E8", "kind": "lines", - "path": "src/Storefront/Checkout/Cart/SalesChannel/StorefrontCartFacade.php", + "path": "src/Storefront/Framework/Cookie/CookieProviderInterface.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 18 + "start_line": 5 }, { - "blob_sha": "54594dd510f7bd2385151758d7614ac4f860a4d1", + "blob_sha": "e4b76bb41b3ac5f14be4573145bc418289d6fed8", "commits": [], - "end_line": 19, - "id": "E2", + "end_line": 5, + "id": "E9", "kind": "lines", - "path": "src/Storefront/Checkout/Cart/SalesChannel/StorefrontCartFacade.php", + "path": "src/Storefront/Framework/Media/StorefrontMediaUploader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 19 + "start_line": 5 }, { - "blob_sha": "54594dd510f7bd2385151758d7614ac4f860a4d1", + "blob_sha": "e4b76bb41b3ac5f14be4573145bc418289d6fed8", "commits": [], - "end_line": 20, - "id": "E3", + "end_line": 6, + "id": "E10", "kind": "lines", - "path": "src/Storefront/Checkout/Cart/SalesChannel/StorefrontCartFacade.php", + "path": "src/Storefront/Framework/Media/StorefrontMediaUploader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 20 + "start_line": 6 } ], - "src": "M:src/Storefront/Checkout" + "src": "M:src/Storefront/Framework" }, { - "count": 35, - "dst": "M:src/Core/(root)", + "count": 310, + "dst": "M:src/Core/Framework", "how": "import-path", - "id": "M:src/Storefront/Controller->M:src/Core/(root)", + "id": "M:src/Storefront/Framework->M:src/Core/Framework", "kind": "uses", "refs": [ { - "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", + "blob_sha": "c44eee1866566df06f10c02631d7d045e5faa9ad", "commits": [], - "end_line": 21, + "end_line": 6, "id": "E1", "kind": "lines", - "path": "src/Storefront/Controller/AccountOrderController.php", + "path": "src/Storefront/Framework/AffiliateTracking/AffiliateTrackingListener.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 21 + "start_line": 6 }, { - "blob_sha": "0ed618f6604fe6514b98d4fb3c2e39e72c66deb6", + "blob_sha": "c44eee1866566df06f10c02631d7d045e5faa9ad", "commits": [], - "end_line": 16, + "end_line": 7, "id": "E2", "kind": "lines", - "path": "src/Storefront/Controller/AccountProfileController.php", + "path": "src/Storefront/Framework/AffiliateTracking/AffiliateTrackingListener.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 16 + "start_line": 7 }, { - "blob_sha": "d410f6f160f46958df79212ab880bcd68cb9a862", + "blob_sha": "c44eee1866566df06f10c02631d7d045e5faa9ad", "commits": [], - "end_line": 25, + "end_line": 8, "id": "E3", "kind": "lines", - "path": "src/Storefront/Controller/AddressController.php", + "path": "src/Storefront/Framework/AffiliateTracking/AffiliateTrackingListener.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 25 - } - ], - "src": "M:src/Storefront/Controller" - }, - { - "count": 91, - "dst": "M:src/Core/Checkout", - "how": "import-path", - "id": "M:src/Storefront/Controller->M:src/Core/Checkout", - "kind": "uses", - "refs": [ + "start_line": 8 + }, { - "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", + "blob_sha": "6937eceb5c308ea4be539aab83d2c65024692145", "commits": [], "end_line": 5, - "id": "E1", + "id": "E4", "kind": "lines", - "path": "src/Storefront/Controller/AccountOrderController.php", + "path": "src/Storefront/Framework/App/Template/IconTemplateLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 5 }, { - "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", + "blob_sha": "6937eceb5c308ea4be539aab83d2c65024692145", "commits": [], "end_line": 6, - "id": "E2", + "id": "E5", "kind": "lines", - "path": "src/Storefront/Controller/AccountOrderController.php", + "path": "src/Storefront/Framework/App/Template/IconTemplateLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 6 }, { - "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", + "blob_sha": "6937eceb5c308ea4be539aab83d2c65024692145", "commits": [], "end_line": 7, - "id": "E3", + "id": "E6", "kind": "lines", - "path": "src/Storefront/Controller/AccountOrderController.php", + "path": "src/Storefront/Framework/App/Template/IconTemplateLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 7 - } - ], - "src": "M:src/Storefront/Controller" - }, - { - "count": 42, - "dst": "M:src/Core/Content", - "how": "import-path", - "id": "M:src/Storefront/Controller->M:src/Core/Content", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "969158bda19ca8d35c672bb8e1921438c9a0fce6", + "blob_sha": "6937eceb5c308ea4be539aab83d2c65024692145", + "commits": [], + "end_line": 8, + "id": "E7", + "kind": "lines", + "path": "src/Storefront/Framework/App/Template/IconTemplateLoader.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "8faa315fcab94aa0704119c4fe4a5e1b64a92adc", "commits": [], "end_line": 5, - "id": "E1", + "id": "E8", "kind": "lines", - "path": "src/Storefront/Controller/AnalyticsController.php", + "path": "src/Storefront/Framework/Cache/CacheCookieEventSubscriber.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 5 }, { - "blob_sha": "969158bda19ca8d35c672bb8e1921438c9a0fce6", + "blob_sha": "8faa315fcab94aa0704119c4fe4a5e1b64a92adc", "commits": [], "end_line": 6, - "id": "E2", + "id": "E9", "kind": "lines", - "path": "src/Storefront/Controller/AnalyticsController.php", + "path": "src/Storefront/Framework/Cache/CacheCookieEventSubscriber.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 6 }, { - "blob_sha": "969158bda19ca8d35c672bb8e1921438c9a0fce6", + "blob_sha": "8faa315fcab94aa0704119c4fe4a5e1b64a92adc", "commits": [], "end_line": 7, - "id": "E3", + "id": "E10", "kind": "lines", - "path": "src/Storefront/Controller/AnalyticsController.php", + "path": "src/Storefront/Framework/Cache/CacheCookieEventSubscriber.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 7 } ], - "src": "M:src/Storefront/Controller" + "src": "M:src/Storefront/Framework" }, { - "count": 1, - "dst": "M:src/Core/DevOps", + "count": 2, + "dst": "M:src/Core/Maintenance", "how": "import-path", - "id": "M:src/Storefront/Controller->M:src/Core/DevOps", + "id": "M:src/Storefront/Framework->M:src/Core/Maintenance", "kind": "uses", "refs": [ { - "blob_sha": "72ca809643d3e4c080eb1a6cbebb58f5cac7f948", + "blob_sha": "b018ea459c7c66b27ccea951b6811395f1f25b11", "commits": [], - "end_line": 5, + "end_line": 11, "id": "E1", "kind": "lines", - "path": "src/Storefront/Controller/StorybookController.php", + "path": "src/Storefront/Framework/Command/SalesChannelCreateStorefrontCommand.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 11 + }, + { + "blob_sha": "b018ea459c7c66b27ccea951b6811395f1f25b11", + "commits": [], + "end_line": 12, + "id": "E2", + "kind": "lines", + "path": "src/Storefront/Framework/Command/SalesChannelCreateStorefrontCommand.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 12 } ], - "src": "M:src/Storefront/Controller" + "src": "M:src/Storefront/Framework" }, { - "count": 139, - "dst": "M:src/Core/Framework", + "count": 37, + "dst": "M:src/Core/System", "how": "import-path", - "id": "M:src/Storefront/Controller->M:src/Core/Framework", + "id": "M:src/Storefront/Framework->M:src/Core/System", "kind": "uses", "refs": [ { - "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", + "blob_sha": "96a5113cc49f34d346fb4d76756aa8859a226586", "commits": [], - "end_line": 15, + "end_line": 8, "id": "E1", "kind": "lines", - "path": "src/Storefront/Controller/AccountOrderController.php", + "path": "src/Storefront/Framework/Captcha/BasicCaptcha.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 15 + "start_line": 8 }, { - "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", + "blob_sha": "96a5113cc49f34d346fb4d76756aa8859a226586", "commits": [], - "end_line": 16, + "end_line": 9, "id": "E2", "kind": "lines", - "path": "src/Storefront/Controller/AccountOrderController.php", + "path": "src/Storefront/Framework/Captcha/BasicCaptcha.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 16 + "start_line": 9 }, { - "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", + "blob_sha": "479bed1d4a4430519db907e717f2a1e290938f2c", "commits": [], - "end_line": 17, + "end_line": 12, "id": "E3", "kind": "lines", - "path": "src/Storefront/Controller/AccountOrderController.php", + "path": "src/Storefront/Framework/Captcha/CaptchaCookieCollectListener.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 17 - } - ], - "src": "M:src/Storefront/Controller" - }, - { - "count": 3, - "dst": "M:src/Core/Profiling", - "how": "import-path", - "id": "M:src/Storefront/Controller->M:src/Core/Profiling", - "kind": "uses", - "refs": [ + "start_line": 12 + }, { - "blob_sha": "9f96fdd60a43329d5aaf635aacc5cefbdf2b8a84", + "blob_sha": "dbde10d7ff7a5de1d76313e983a39b69e53a446d", "commits": [], - "end_line": 26, - "id": "E1", + "end_line": 8, + "id": "E4", "kind": "lines", - "path": "src/Storefront/Controller/CartLineItemController.php", + "path": "src/Storefront/Framework/Captcha/CaptchaRouteListener.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 26 + "start_line": 8 }, { - "blob_sha": "4a72011127166e3e57aec34c33ca8ee8bef9c30e", + "blob_sha": "dbde10d7ff7a5de1d76313e983a39b69e53a446d", "commits": [], - "end_line": 22, - "id": "E2", + "end_line": 9, + "id": "E5", "kind": "lines", - "path": "src/Storefront/Controller/CheckoutController.php", + "path": "src/Storefront/Framework/Captcha/CaptchaRouteListener.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 22 + "start_line": 9 }, { - "blob_sha": "937c5e4871d343966204239038e5e9068ebf2749", + "blob_sha": "b018ea459c7c66b27ccea951b6811395f1f25b11", "commits": [], - "end_line": 20, - "id": "E3", + "end_line": 13, + "id": "E6", "kind": "lines", - "path": "src/Storefront/Controller/StorefrontController.php", + "path": "src/Storefront/Framework/Command/SalesChannelCreateStorefrontCommand.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 20 - } - ], - "src": "M:src/Storefront/Controller" - }, - { - "count": 51, - "dst": "M:src/Core/System", - "how": "import-path", - "id": "M:src/Storefront/Controller->M:src/Core/System", - "kind": "uses", - "refs": [ + "start_line": 13 + }, { - "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", + "blob_sha": "7b6d8b857bfc43f3e79ed1227480be59218e8aca", "commits": [], - "end_line": 22, - "id": "E1", + "end_line": 8, + "id": "E7", "kind": "lines", - "path": "src/Storefront/Controller/AccountOrderController.php", + "path": "src/Storefront/Framework/Guard/DoubleSubmitGuard.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 22 + "start_line": 8 }, { - "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", + "blob_sha": "ac17a290c38c63da394d26befd7dc706a7b2a3f2", "commits": [], - "end_line": 23, - "id": "E2", + "end_line": 8, + "id": "E8", "kind": "lines", - "path": "src/Storefront/Controller/AccountOrderController.php", + "path": "src/Storefront/Framework/Routing/CachedDomainLoaderInvalidator.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 23 + "start_line": 8 }, { - "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", + "blob_sha": "0531e4ea30c5a83c890208230a7207c8657ea81a", "commits": [], - "end_line": 24, - "id": "E3", + "end_line": 8, + "id": "E9", "kind": "lines", - "path": "src/Storefront/Controller/AccountOrderController.php", + "path": "src/Storefront/Framework/Routing/NotFound/NotFoundPageCacheKeyEvent.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 24 + "start_line": 8 + }, + { + "blob_sha": "e4a52c3cb6e55916486fe917452296e90e61412f", + "commits": [], + "end_line": 8, + "id": "E10", + "kind": "lines", + "path": "src/Storefront/Framework/Routing/NotFound/NotFoundPageTagsEvent.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 } ], - "src": "M:src/Storefront/Controller" + "src": "M:src/Storefront/Framework" }, { - "count": 3, - "dst": "M:src/Storefront/Checkout", + "count": 5, + "dst": "M:src/Storefront/Controller", "how": "import-path", - "id": "M:src/Storefront/Controller->M:src/Storefront/Checkout", + "id": "M:src/Storefront/Framework->M:src/Storefront/Controller", "kind": "uses", "refs": [ { - "blob_sha": "59be4dd780c805a8973b63b74f42f3bf9f695638", + "blob_sha": "dbde10d7ff7a5de1d76313e983a39b69e53a446d", "commits": [], - "end_line": 33, + "end_line": 10, "id": "E1", "kind": "lines", - "path": "src/Storefront/Controller/AuthController.php", + "path": "src/Storefront/Framework/Captcha/CaptchaRouteListener.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 33 + "start_line": 10 }, { - "blob_sha": "4a72011127166e3e57aec34c33ca8ee8bef9c30e", + "blob_sha": "f44fd821fee396c95f2566c0a579314bac8eece9", "commits": [], - "end_line": 25, + "end_line": 7, "id": "E2", "kind": "lines", - "path": "src/Storefront/Controller/CheckoutController.php", + "path": "src/Storefront/Framework/Routing/RobotsRouteScopeWhitelist.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 25 + "start_line": 7 }, { - "blob_sha": "4a72011127166e3e57aec34c33ca8ee8bef9c30e", + "blob_sha": "3f83f8f1225333fd5e3c5bec7fbe34f1837f12f0", "commits": [], - "end_line": 26, + "end_line": 7, "id": "E3", "kind": "lines", - "path": "src/Storefront/Controller/CheckoutController.php", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 26 - } - ], - "src": "M:src/Storefront/Controller" - }, - { - "count": 6, - "dst": "M:src/Storefront/Event", - "how": "import-path", - "id": "M:src/Storefront/Controller->M:src/Storefront/Event", - "kind": "uses", - "refs": [ - { - "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", - "commits": [], - "end_line": 28, - "id": "E1", - "kind": "lines", - "path": "src/Storefront/Controller/AccountOrderController.php", + "path": "src/Storefront/Framework/Routing/StorybookRouteScopeAllowList.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 28 + "start_line": 7 }, { - "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", + "blob_sha": "98b6f985aeb93b9e3d56e7482c43bfec8af727c0", "commits": [], - "end_line": 29, - "id": "E2", + "end_line": 9, + "id": "E4", "kind": "lines", - "path": "src/Storefront/Controller/AccountOrderController.php", + "path": "src/Storefront/Framework/Script/Api/StorefrontScriptResponseFactoryFacade.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 29 + "start_line": 9 }, { - "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", + "blob_sha": "946e30860ba2fb071b637d1378036f3c6e247ce6", "commits": [], - "end_line": 30, - "id": "E3", + "end_line": 10, + "id": "E5", "kind": "lines", - "path": "src/Storefront/Controller/AccountOrderController.php", + "path": "src/Storefront/Framework/Script/Api/StorefrontScriptResponseFactoryFacadeHookFactory.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 30 + "start_line": 10 } ], - "src": "M:src/Storefront/Controller" + "src": "M:src/Storefront/Framework" }, { - "count": 51, - "dst": "M:src/Storefront/Framework", + "count": 3, + "dst": "M:src/Storefront/Event", "how": "import-path", - "id": "M:src/Storefront/Controller->M:src/Storefront/Framework", + "id": "M:src/Storefront/Framework->M:src/Storefront/Event", "kind": "uses", "refs": [ { - "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", + "blob_sha": "a996cc22cf85b6714808356969e0aca640a272f7", "commits": [], - "end_line": 31, + "end_line": 7, "id": "E1", "kind": "lines", - "path": "src/Storefront/Controller/AccountOrderController.php", + "path": "src/Storefront/Framework/Routing/StorefrontRouteEventSubscriber.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 31 + "start_line": 7 }, { - "blob_sha": "0ed618f6604fe6514b98d4fb3c2e39e72c66deb6", + "blob_sha": "a2322734bdb6f8d8a5cb5ff6b86c380fa0aeac2f", "commits": [], - "end_line": 18, + "end_line": 12, "id": "E2", "kind": "lines", - "path": "src/Storefront/Controller/AccountProfileController.php", + "path": "src/Storefront/Framework/Routing/StorefrontSubscriber.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 18 + "start_line": 12 }, { - "blob_sha": "d410f6f160f46958df79212ab880bcd68cb9a862", + "blob_sha": "4fe245313c39dc928d7c05ce351a996cd1f9c4ea", "commits": [], - "end_line": 32, + "end_line": 13, "id": "E3", "kind": "lines", - "path": "src/Storefront/Controller/AddressController.php", + "path": "src/Storefront/Framework/Routing/TemplateDataSubscriber.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 32 + "start_line": 13 } ], - "src": "M:src/Storefront/Controller" + "src": "M:src/Storefront/Framework" }, { - "count": 65, + "count": 2, "dst": "M:src/Storefront/Page", "how": "import-path", - "id": "M:src/Storefront/Controller->M:src/Storefront/Page", + "id": "M:src/Storefront/Framework->M:src/Storefront/Page", "kind": "uses", "refs": [ { - "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", + "blob_sha": "4fe245313c39dc928d7c05ce351a996cd1f9c4ea", "commits": [], - "end_line": 32, + "end_line": 15, "id": "E1", "kind": "lines", - "path": "src/Storefront/Controller/AccountOrderController.php", + "path": "src/Storefront/Framework/Routing/TemplateDataSubscriber.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 32 + "start_line": 15 }, { - "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", + "blob_sha": "92f028f5703bd3c177e1754a45eb09c8f55001f5", "commits": [], - "end_line": 33, + "end_line": 17, "id": "E2", "kind": "lines", - "path": "src/Storefront/Controller/AccountOrderController.php", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 33 - }, - { - "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", - "commits": [], - "end_line": 34, - "id": "E3", - "kind": "lines", - "path": "src/Storefront/Controller/AccountOrderController.php", + "path": "src/Storefront/Framework/Script/Api/StorefrontHook.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 34 + "start_line": 17 } ], - "src": "M:src/Storefront/Controller" + "src": "M:src/Storefront/Framework" }, { - "count": 18, - "dst": "M:src/Storefront/Pagelet", + "count": 7, + "dst": "M:src/Storefront/Theme", "how": "import-path", - "id": "M:src/Storefront/Controller->M:src/Storefront/Pagelet", + "id": "M:src/Storefront/Framework->M:src/Storefront/Theme", "kind": "uses", "refs": [ { - "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", + "blob_sha": "6937eceb5c308ea4be539aab83d2c65024692145", "commits": [], - "end_line": 38, + "end_line": 10, "id": "E1", "kind": "lines", - "path": "src/Storefront/Controller/AccountOrderController.php", + "path": "src/Storefront/Framework/App/Template/IconTemplateLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 38 + "start_line": 10 }, { - "blob_sha": "b9f42b256b5ad162019e5c317238aa01370576d9", + "blob_sha": "ac17a290c38c63da394d26befd7dc706a7b2a3f2", "commits": [], - "end_line": 39, + "end_line": 9, "id": "E2", "kind": "lines", - "path": "src/Storefront/Controller/AccountOrderController.php", + "path": "src/Storefront/Framework/Routing/CachedDomainLoaderInvalidator.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 39 + "start_line": 9 }, { - "blob_sha": "acae2d4a82acfc21de8f9ee496621d1f847d66dc", + "blob_sha": "4fe245313c39dc928d7c05ce351a996cd1f9c4ea", "commits": [], - "end_line": 13, + "end_line": 16, "id": "E3", "kind": "lines", - "path": "src/Storefront/Controller/CaptchaController.php", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 13 - } - ], - "src": "M:src/Storefront/Controller" - }, - { - "count": 1, - "dst": "M:src/Storefront/Storybook", - "how": "import-path", - "id": "M:src/Storefront/Controller->M:src/Storefront/Storybook", - "kind": "uses", - "refs": [ - { - "blob_sha": "72ca809643d3e4c080eb1a6cbebb58f5cac7f948", - "commits": [], - "end_line": 10, - "id": "E1", - "kind": "lines", - "path": "src/Storefront/Controller/StorybookController.php", + "path": "src/Storefront/Framework/Routing/TemplateDataSubscriber.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 10 - } - ], - "src": "M:src/Storefront/Controller" - }, - { - "count": 1, - "dst": "M:src/Storefront/System", - "how": "import-path", - "id": "M:src/Storefront/Controller->M:src/Storefront/System", - "kind": "uses", - "refs": [ + "start_line": 16 + }, { - "blob_sha": "969158bda19ca8d35c672bb8e1921438c9a0fce6", + "blob_sha": "532e1e5f451d8fa5641bffcedd6305b2e72242a2", "commits": [], "end_line": 15, - "id": "E1", + "id": "E4", "kind": "lines", - "path": "src/Storefront/Controller/AnalyticsController.php", + "path": "src/Storefront/Framework/Store/Subscriber/ExtensionThemeDetectionSubscriber.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 15 - } - ], - "src": "M:src/Storefront/Controller" - }, - { - "count": 51, - "dst": "M:src/Core/Checkout", - "how": "import-path", - "id": "M:src/Storefront/DependencyInjection->M:src/Core/Checkout", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", + "blob_sha": "1036a23a28c20ed6e0c00d465d9a5ee64614ce3b", "commits": [], - "end_line": 5, - "id": "E1", + "end_line": 16, + "id": "E5", "kind": "lines", - "path": "src/Storefront/DependencyInjection/controller.php", + "path": "src/Storefront/Framework/Store/ThemeExtensionRemovalValidator.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 16 }, { - "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", + "blob_sha": "071816e3e105e2985e44112453f69a8147d94860", "commits": [], - "end_line": 6, - "id": "E2", + "end_line": 9, + "id": "E6", "kind": "lines", - "path": "src/Storefront/DependencyInjection/controller.php", + "path": "src/Storefront/Framework/Twig/TemplateConfigAccessor.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 9 }, { - "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", + "blob_sha": "071816e3e105e2985e44112453f69a8147d94860", "commits": [], - "end_line": 7, - "id": "E3", + "end_line": 10, + "id": "E7", "kind": "lines", - "path": "src/Storefront/DependencyInjection/controller.php", + "path": "src/Storefront/Framework/Twig/TemplateConfigAccessor.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 10 } ], - "src": "M:src/Storefront/DependencyInjection" + "src": "M:src/Storefront/Framework" }, { - "count": 53, - "dst": "M:src/Core/Content", + "count": 8, + "dst": "M:src/Core/Framework", "how": "import-path", - "id": "M:src/Storefront/DependencyInjection->M:src/Core/Content", + "id": "M:src/Storefront/Mcp->M:src/Core/Framework", "kind": "uses", "refs": [ { - "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", + "blob_sha": "a21b4241ff530aafc28c0c9cfc098a20bb290835", "commits": [], - "end_line": 38, + "end_line": 9, "id": "E1", "kind": "lines", - "path": "src/Storefront/DependencyInjection/controller.php", + "path": "src/Storefront/Mcp/Tool/ThemeConfigTool.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 38 + "start_line": 9 }, { - "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", + "blob_sha": "a21b4241ff530aafc28c0c9cfc098a20bb290835", "commits": [], - "end_line": 39, + "end_line": 10, "id": "E2", "kind": "lines", - "path": "src/Storefront/DependencyInjection/controller.php", + "path": "src/Storefront/Mcp/Tool/ThemeConfigTool.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 39 + "start_line": 10 }, { - "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", + "blob_sha": "a21b4241ff530aafc28c0c9cfc098a20bb290835", "commits": [], - "end_line": 40, + "end_line": 11, "id": "E3", "kind": "lines", - "path": "src/Storefront/DependencyInjection/controller.php", + "path": "src/Storefront/Mcp/Tool/ThemeConfigTool.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 40 - } - ], - "src": "M:src/Storefront/DependencyInjection" - }, - { - "count": 40, - "dst": "M:src/Core/Framework", - "how": "import-path", - "id": "M:src/Storefront/DependencyInjection->M:src/Core/Framework", - "kind": "uses", - "refs": [ + "start_line": 11 + }, { - "blob_sha": "07759af4794ff79dda94c2c2d47782c8e126b451", + "blob_sha": "a21b4241ff530aafc28c0c9cfc098a20bb290835", "commits": [], - "end_line": 5, - "id": "E1", + "end_line": 12, + "id": "E4", "kind": "lines", - "path": "src/Storefront/DependencyInjection/Configuration.php", + "path": "src/Storefront/Mcp/Tool/ThemeConfigTool.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 12 }, { - "blob_sha": "5b793b5c83861e718c239b5377ed354ad2679a04", + "blob_sha": "a21b4241ff530aafc28c0c9cfc098a20bb290835", "commits": [], - "end_line": 5, - "id": "E2", + "end_line": 13, + "id": "E5", "kind": "lines", - "path": "src/Storefront/DependencyInjection/DisableTemplateCachePass.php", + "path": "src/Storefront/Mcp/Tool/ThemeConfigTool.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 13 }, { - "blob_sha": "5b793b5c83861e718c239b5377ed354ad2679a04", + "blob_sha": "a21b4241ff530aafc28c0c9cfc098a20bb290835", + "commits": [], + "end_line": 14, + "id": "E6", + "kind": "lines", + "path": "src/Storefront/Mcp/Tool/ThemeConfigTool.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 14 + }, + { + "blob_sha": "a21b4241ff530aafc28c0c9cfc098a20bb290835", + "commits": [], + "end_line": 15, + "id": "E7", + "kind": "lines", + "path": "src/Storefront/Mcp/Tool/ThemeConfigTool.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 15 + }, + { + "blob_sha": "a21b4241ff530aafc28c0c9cfc098a20bb290835", "commits": [], - "end_line": 6, - "id": "E3", + "end_line": 16, + "id": "E8", "kind": "lines", - "path": "src/Storefront/DependencyInjection/DisableTemplateCachePass.php", + "path": "src/Storefront/Mcp/Tool/ThemeConfigTool.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 16 } ], - "src": "M:src/Storefront/DependencyInjection" + "src": "M:src/Storefront/Mcp" }, { "count": 1, - "dst": "M:src/Core/Maintenance", + "dst": "M:src/Storefront/Theme", "how": "import-path", - "id": "M:src/Storefront/DependencyInjection->M:src/Core/Maintenance", + "id": "M:src/Storefront/Mcp->M:src/Storefront/Theme", "kind": "uses", "refs": [ { - "blob_sha": "c1e28e5badc7f1bb1e6ca806deb27e816d863907", + "blob_sha": "a21b4241ff530aafc28c0c9cfc098a20bb290835", "commits": [], - "end_line": 59, + "end_line": 17, "id": "E1", "kind": "lines", - "path": "src/Storefront/DependencyInjection/services.php", + "path": "src/Storefront/Mcp/Tool/ThemeConfigTool.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 59 + "start_line": 17 } ], - "src": "M:src/Storefront/DependencyInjection" + "src": "M:src/Storefront/Mcp" }, { - "count": 17, - "dst": "M:src/Core/System", + "count": 2, + "dst": "M:src/Core/(root)", "how": "import-path", - "id": "M:src/Storefront/DependencyInjection->M:src/Core/System", + "id": "M:src/Storefront/Migration->M:src/Core/(root)", "kind": "uses", "refs": [ { - "blob_sha": "0cc2a47a1816f2c7fdb38ba428f9f37690fddc52", + "blob_sha": "6aec5a80832cfac5ee1b4f538ec6b823a1ca5b12", "commits": [], "end_line": 6, "id": "E1", "kind": "lines", - "path": "src/Storefront/DependencyInjection/captcha.php", + "path": "src/Storefront/Migration/V6_3/Migration1552899789Theme.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 6 }, { - "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", + "blob_sha": "64ff3b1d37977422bc8f78092605dd257aeb858d", "commits": [], - "end_line": 64, + "end_line": 6, "id": "E2", "kind": "lines", - "path": "src/Storefront/DependencyInjection/controller.php", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 64 - }, - { - "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", - "commits": [], - "end_line": 65, - "id": "E3", - "kind": "lines", - "path": "src/Storefront/DependencyInjection/controller.php", + "path": "src/Storefront/Migration/V6_3/Migration1595492054SeoUrlTemplateData.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 65 + "start_line": 6 } ], - "src": "M:src/Storefront/DependencyInjection" + "src": "M:src/Storefront/Migration" }, { - "count": 6, - "dst": "M:src/Storefront/Checkout", + "count": 26, + "dst": "M:src/Core/Framework", "how": "import-path", - "id": "M:src/Storefront/DependencyInjection->M:src/Storefront/Checkout", + "id": "M:src/Storefront/Migration->M:src/Core/Framework", "kind": "uses", "refs": [ { - "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", + "blob_sha": "6aec5a80832cfac5ee1b4f538ec6b823a1ca5b12", "commits": [], - "end_line": 67, + "end_line": 7, "id": "E1", "kind": "lines", - "path": "src/Storefront/DependencyInjection/controller.php", + "path": "src/Storefront/Migration/V6_3/Migration1552899789Theme.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 67 + "start_line": 7 }, { - "blob_sha": "c1e28e5badc7f1bb1e6ca806deb27e816d863907", + "blob_sha": "6aec5a80832cfac5ee1b4f538ec6b823a1ca5b12", "commits": [], - "end_line": 70, + "end_line": 8, "id": "E2", "kind": "lines", - "path": "src/Storefront/DependencyInjection/services.php", + "path": "src/Storefront/Migration/V6_3/Migration1552899789Theme.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 70 + "start_line": 8 }, { - "blob_sha": "c1e28e5badc7f1bb1e6ca806deb27e816d863907", + "blob_sha": "6aec5a80832cfac5ee1b4f538ec6b823a1ca5b12", "commits": [], - "end_line": 71, + "end_line": 9, "id": "E3", "kind": "lines", - "path": "src/Storefront/DependencyInjection/services.php", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 71 - } - ], - "src": "M:src/Storefront/DependencyInjection" - }, - { - "count": 34, - "dst": "M:src/Storefront/Controller", - "how": "import-path", - "id": "M:src/Storefront/DependencyInjection->M:src/Storefront/Controller", - "kind": "uses", - "refs": [ - { - "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", - "commits": [], - "end_line": 68, - "id": "E1", - "kind": "lines", - "path": "src/Storefront/DependencyInjection/controller.php", + "path": "src/Storefront/Migration/V6_3/Migration1552899789Theme.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 68 + "start_line": 9 }, { - "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", + "blob_sha": "76c46e33aca0340e87f9c53360992278735794d3", "commits": [], - "end_line": 69, - "id": "E2", + "end_line": 6, + "id": "E4", "kind": "lines", - "path": "src/Storefront/DependencyInjection/controller.php", + "path": "src/Storefront/Migration/V6_3/Migration1555406153SalesChannelTheme.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 69 + "start_line": 6 }, { - "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", + "blob_sha": "76c46e33aca0340e87f9c53360992278735794d3", "commits": [], - "end_line": 70, - "id": "E3", + "end_line": 7, + "id": "E5", "kind": "lines", - "path": "src/Storefront/DependencyInjection/controller.php", + "path": "src/Storefront/Migration/V6_3/Migration1555406153SalesChannelTheme.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 70 - } - ], - "src": "M:src/Storefront/DependencyInjection" - }, - { - "count": 2, - "dst": "M:src/Storefront/Event", - "how": "import-path", - "id": "M:src/Storefront/DependencyInjection->M:src/Storefront/Event", - "kind": "uses", - "refs": [ + "start_line": 7 + }, { - "blob_sha": "c1e28e5badc7f1bb1e6ca806deb27e816d863907", + "blob_sha": "95b8f7fe82e0784a7eaf7439674a2ce5d721f5d1", "commits": [], - "end_line": 76, - "id": "E1", + "end_line": 6, + "id": "E6", "kind": "lines", - "path": "src/Storefront/DependencyInjection/services.php", + "path": "src/Storefront/Migration/V6_3/Migration1563785071AddThemeHelpText.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 76 + "start_line": 6 }, { - "blob_sha": "8d1bf0fc3e4393c19f75786c81000910e65983ce", + "blob_sha": "95b8f7fe82e0784a7eaf7439674a2ce5d721f5d1", "commits": [], - "end_line": 5, - "id": "E2", + "end_line": 7, + "id": "E7", "kind": "lines", - "path": "src/Storefront/DependencyInjection/system.php", + "path": "src/Storefront/Migration/V6_3/Migration1563785071AddThemeHelpText.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 - } - ], - "src": "M:src/Storefront/DependencyInjection" - }, - { - "count": 77, - "dst": "M:src/Storefront/Framework", - "how": "import-path", - "id": "M:src/Storefront/DependencyInjection->M:src/Storefront/Framework", - "kind": "uses", - "refs": [ + "start_line": 7 + }, { - "blob_sha": "07759af4794ff79dda94c2c2d47782c8e126b451", + "blob_sha": "265f444c0bc3accd5a02b7953a7c82cb602d522a", "commits": [], "end_line": 6, - "id": "E1", + "id": "E8", "kind": "lines", - "path": "src/Storefront/DependencyInjection/Configuration.php", + "path": "src/Storefront/Migration/V6_3/Migration1564385954ThemeMedia.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 6 }, { - "blob_sha": "0cc2a47a1816f2c7fdb38ba428f9f37690fddc52", + "blob_sha": "265f444c0bc3accd5a02b7953a7c82cb602d522a", "commits": [], "end_line": 7, - "id": "E2", + "id": "E9", "kind": "lines", - "path": "src/Storefront/DependencyInjection/captcha.php", + "path": "src/Storefront/Migration/V6_3/Migration1564385954ThemeMedia.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 7 }, { - "blob_sha": "0cc2a47a1816f2c7fdb38ba428f9f37690fddc52", - "commits": [], - "end_line": 8, - "id": "E3", - "kind": "lines", - "path": "src/Storefront/DependencyInjection/captcha.php", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 8 - } - ], - "src": "M:src/Storefront/DependencyInjection" - }, - { - "count": 1, - "dst": "M:src/Storefront/Mcp", - "how": "import-path", - "id": "M:src/Storefront/DependencyInjection->M:src/Storefront/Mcp", - "kind": "uses", - "refs": [ - { - "blob_sha": "a6b663c83ce4c4f3ae2a3f0059bdc27760bb828f", + "blob_sha": "0c600f806afa542050a3f1a27b2f4b4c1baefaca", "commits": [], - "end_line": 5, - "id": "E1", + "end_line": 6, + "id": "E10", "kind": "lines", - "path": "src/Storefront/DependencyInjection/mcp.php", + "path": "src/Storefront/Migration/V6_3/Migration1564385960ThemeAddActiveFlag.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 6 } ], - "src": "M:src/Storefront/DependencyInjection" + "src": "M:src/Storefront/Migration" }, { - "count": 62, - "dst": "M:src/Storefront/Page", + "count": 2, + "dst": "M:src/Storefront/Framework", "how": "import-path", - "id": "M:src/Storefront/DependencyInjection->M:src/Storefront/Page", + "id": "M:src/Storefront/Migration->M:src/Storefront/Framework", "kind": "uses", "refs": [ { - "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", + "blob_sha": "64ff3b1d37977422bc8f78092605dd257aeb858d", "commits": [], - "end_line": 105, + "end_line": 11, "id": "E1", "kind": "lines", - "path": "src/Storefront/DependencyInjection/controller.php", + "path": "src/Storefront/Migration/V6_3/Migration1595492054SeoUrlTemplateData.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 105 + "start_line": 11 }, { - "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", + "blob_sha": "64ff3b1d37977422bc8f78092605dd257aeb858d", "commits": [], - "end_line": 106, + "end_line": 12, "id": "E2", "kind": "lines", - "path": "src/Storefront/DependencyInjection/controller.php", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 106 - }, - { - "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", - "commits": [], - "end_line": 107, - "id": "E3", - "kind": "lines", - "path": "src/Storefront/DependencyInjection/controller.php", + "path": "src/Storefront/Migration/V6_3/Migration1595492054SeoUrlTemplateData.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 107 + "start_line": 12 } ], - "src": "M:src/Storefront/DependencyInjection" + "src": "M:src/Storefront/Migration" }, { - "count": 14, - "dst": "M:src/Storefront/Pagelet", + "count": 2, + "dst": "M:src/Core/(root)", "how": "import-path", - "id": "M:src/Storefront/DependencyInjection->M:src/Storefront/Pagelet", + "id": "M:src/Storefront/Page->M:src/Core/(root)", "kind": "uses", "refs": [ { - "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", - "commits": [], - "end_line": 134, - "id": "E1", - "kind": "lines", - "path": "src/Storefront/DependencyInjection/controller.php", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 134 - }, - { - "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", + "blob_sha": "e67496409a79345a9286ffdc10c4270199012543", "commits": [], - "end_line": 135, - "id": "E2", + "end_line": 7, + "id": "E1", "kind": "lines", - "path": "src/Storefront/DependencyInjection/controller.php", + "path": "src/Storefront/Page/GenericPageLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 135 + "start_line": 7 }, { - "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", + "blob_sha": "ef69ae65abdcecd819fa7cfd3e3a908fce58a1ca", "commits": [], - "end_line": 136, - "id": "E3", + "end_line": 5, + "id": "E2", "kind": "lines", - "path": "src/Storefront/DependencyInjection/controller.php", + "path": "src/Storefront/Page/Robots/RobotsPageLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 136 + "start_line": 5 } ], - "src": "M:src/Storefront/DependencyInjection" + "src": "M:src/Storefront/Page" }, { - "count": 2, - "dst": "M:src/Storefront/Storybook", + "count": 102, + "dst": "M:src/Core/Checkout", "how": "import-path", - "id": "M:src/Storefront/DependencyInjection->M:src/Storefront/Storybook", + "id": "M:src/Storefront/Page->M:src/Core/Checkout", "kind": "uses", "refs": [ { - "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", + "blob_sha": "14f404732c8271a6b6a93ffcf60c14e539dc7355", "commits": [], - "end_line": 141, + "end_line": 5, "id": "E1", "kind": "lines", - "path": "src/Storefront/DependencyInjection/controller.php", + "path": "src/Storefront/Page/Account/CustomerGroupRegistration/CustomerGroupRegistrationPage.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 141 + "start_line": 5 }, { - "blob_sha": "c1e28e5badc7f1bb1e6ca806deb27e816d863907", + "blob_sha": "100c9d2e560fb622bf408217e10f67a9baf2ca50", "commits": [], - "end_line": 167, + "end_line": 5, "id": "E2", "kind": "lines", - "path": "src/Storefront/DependencyInjection/services.php", + "path": "src/Storefront/Page/Account/CustomerGroupRegistration/CustomerGroupRegistrationPageLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 167 - } - ], - "src": "M:src/Storefront/DependencyInjection" - }, - { - "count": 2, - "dst": "M:src/Storefront/System", - "how": "import-path", - "id": "M:src/Storefront/DependencyInjection->M:src/Storefront/System", - "kind": "uses", - "refs": [ + "start_line": 5 + }, { - "blob_sha": "2e7f6a0d60b9a0ce698b9adc3c06c21bf50354e7", + "blob_sha": "bf6ca18cc27fdc85a330eae3067a0fbc9eb4eb22", "commits": [], - "end_line": 142, - "id": "E1", + "end_line": 5, + "id": "E3", "kind": "lines", - "path": "src/Storefront/DependencyInjection/controller.php", + "path": "src/Storefront/Page/Account/Order/AccountEditOrderPage.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 142 + "start_line": 5 }, { - "blob_sha": "8d1bf0fc3e4393c19f75786c81000910e65983ce", + "blob_sha": "bf6ca18cc27fdc85a330eae3067a0fbc9eb4eb22", "commits": [], "end_line": 6, - "id": "E2", + "id": "E4", "kind": "lines", - "path": "src/Storefront/DependencyInjection/system.php", + "path": "src/Storefront/Page/Account/Order/AccountEditOrderPage.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 6 - } - ], - "src": "M:src/Storefront/DependencyInjection" - }, - { - "count": 82, - "dst": "M:src/Storefront/Theme", - "how": "import-path", - "id": "M:src/Storefront/DependencyInjection->M:src/Storefront/Theme", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "07759af4794ff79dda94c2c2d47782c8e126b451", + "blob_sha": "bf6ca18cc27fdc85a330eae3067a0fbc9eb4eb22", "commits": [], "end_line": 7, - "id": "E1", + "id": "E5", "kind": "lines", - "path": "src/Storefront/DependencyInjection/Configuration.php", + "path": "src/Storefront/Page/Account/Order/AccountEditOrderPage.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 7 }, { - "blob_sha": "07759af4794ff79dda94c2c2d47782c8e126b451", + "blob_sha": "2b43de1e0f890e511e40a008cb6b2e0c48a040f8", "commits": [], - "end_line": 8, - "id": "E2", + "end_line": 5, + "id": "E6", "kind": "lines", - "path": "src/Storefront/DependencyInjection/Configuration.php", + "path": "src/Storefront/Page/Account/Order/AccountEditOrderPageLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 8 + "start_line": 5 }, { - "blob_sha": "07759af4794ff79dda94c2c2d47782c8e126b451", + "blob_sha": "2b43de1e0f890e511e40a008cb6b2e0c48a040f8", "commits": [], - "end_line": 9, - "id": "E3", + "end_line": 6, + "id": "E7", "kind": "lines", - "path": "src/Storefront/DependencyInjection/Configuration.php", + "path": "src/Storefront/Page/Account/Order/AccountEditOrderPageLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 9 - } - ], - "src": "M:src/Storefront/DependencyInjection" - }, - { - "count": 1, - "dst": "M:src/Core/Checkout", - "how": "import-path", - "id": "M:src/Storefront/Event->M:src/Core/Checkout", - "kind": "uses", - "refs": [ + "start_line": 6 + }, { - "blob_sha": "6c003454f2314061ccd1742408cf58cf2a5f16a4", + "blob_sha": "2b43de1e0f890e511e40a008cb6b2e0c48a040f8", "commits": [], - "end_line": 5, - "id": "E1", + "end_line": 7, + "id": "E8", "kind": "lines", - "path": "src/Storefront/Event/CartMergedSubscriber.php", + "path": "src/Storefront/Page/Account/Order/AccountEditOrderPageLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 - } - ], - "src": "M:src/Storefront/Event" - }, - { - "count": 2, - "dst": "M:src/Core/Content", - "how": "import-path", - "id": "M:src/Storefront/Event->M:src/Core/Content", - "kind": "uses", - "refs": [ + "start_line": 7 + }, { - "blob_sha": "af531cc5644afcf26f705b9ad00383bb264dce75", + "blob_sha": "2b43de1e0f890e511e40a008cb6b2e0c48a040f8", "commits": [], - "end_line": 5, - "id": "E1", + "end_line": 8, + "id": "E9", "kind": "lines", - "path": "src/Storefront/Event/SwitchBuyBoxVariantEvent.php", + "path": "src/Storefront/Page/Account/Order/AccountEditOrderPageLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 8 }, { - "blob_sha": "af531cc5644afcf26f705b9ad00383bb264dce75", + "blob_sha": "2b43de1e0f890e511e40a008cb6b2e0c48a040f8", "commits": [], - "end_line": 6, - "id": "E2", + "end_line": 9, + "id": "E10", "kind": "lines", - "path": "src/Storefront/Event/SwitchBuyBoxVariantEvent.php", + "path": "src/Storefront/Page/Account/Order/AccountEditOrderPageLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 9 } ], - "src": "M:src/Storefront/Event" + "src": "M:src/Storefront/Page" }, { - "count": 26, - "dst": "M:src/Core/Framework", + "count": 78, + "dst": "M:src/Core/Content", "how": "import-path", - "id": "M:src/Storefront/Event->M:src/Core/Framework", + "id": "M:src/Storefront/Page->M:src/Core/Content", "kind": "uses", "refs": [ { - "blob_sha": "6c003454f2314061ccd1742408cf58cf2a5f16a4", + "blob_sha": "18de243955e9489b59b60140b1b62019732c316e", "commits": [], - "end_line": 6, + "end_line": 5, "id": "E1", "kind": "lines", - "path": "src/Storefront/Event/CartMergedSubscriber.php", + "path": "src/Storefront/Page/Account/Login/AccountLoginPageLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 5 }, { - "blob_sha": "661a4f4e0a42ebf1779ab9405d0432fed2f1967b", + "blob_sha": "2b43de1e0f890e511e40a008cb6b2e0c48a040f8", "commits": [], - "end_line": 5, + "end_line": 17, "id": "E2", "kind": "lines", - "path": "src/Storefront/Event/MaintenanceRedirectEvent.php", + "path": "src/Storefront/Page/Account/Order/AccountEditOrderPageLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 17 }, { - "blob_sha": "93ee103305bc91bd8e903286728eaa390327a5b6", + "blob_sha": "db3af6b861e36f08a442b69ae27d98a3860be4b6", "commits": [], - "end_line": 5, + "end_line": 9, "id": "E3", "kind": "lines", - "path": "src/Storefront/Event/RouteRequest/AccountNewsletterRecipientRouteRequestEvent.php", + "path": "src/Storefront/Page/Account/Order/AccountOrderDetailPageLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 - } - ], - "src": "M:src/Storefront/Event" - }, - { - "count": 3, - "dst": "M:src/Core/System", - "how": "import-path", - "id": "M:src/Storefront/Event->M:src/Core/System", - "kind": "uses", - "refs": [ + "start_line": 9 + }, { - "blob_sha": "9a7faf18b09bd278cbccbfb6003b22a1f6d40147", + "blob_sha": "3f68d87b7bd6eecb60a5cbe6ba7f4a742205d5c8", "commits": [], "end_line": 10, - "id": "E1", + "id": "E4", "kind": "lines", - "path": "src/Storefront/Event/RouteRequest/RouteRequestEvent.php", + "path": "src/Storefront/Page/Account/Overview/AccountOverviewPageLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 10 }, { - "blob_sha": "dd47d1d9548de8592aa1d2ef78aa0b1ff9b1e91d", + "blob_sha": "776c2784f9d002750b27baf38bc5055866bd7bd9", "commits": [], - "end_line": 9, - "id": "E2", + "end_line": 7, + "id": "E5", "kind": "lines", - "path": "src/Storefront/Event/StorefrontRenderEvent.php", + "path": "src/Storefront/Page/Account/Profile/AccountProfilePageLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 9 + "start_line": 7 }, { - "blob_sha": "af531cc5644afcf26f705b9ad00383bb264dce75", + "blob_sha": "5a269ece7389d990eb280331aad9c50904c47f24", + "commits": [], + "end_line": 7, + "id": "E6", + "kind": "lines", + "path": "src/Storefront/Page/Account/RecoverPassword/AccountRecoverPasswordPageLoader.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "ca683da42a2d6e1d5668813347774a3c9b798486", "commits": [], "end_line": 10, - "id": "E3", + "id": "E7", "kind": "lines", - "path": "src/Storefront/Event/SwitchBuyBoxVariantEvent.php", + "path": "src/Storefront/Page/Address/Detail/AddressDetailPageLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 10 - } - ], - "src": "M:src/Storefront/Event" - }, - { - "count": 31, - "dst": "M:src/Core/(root)", - "how": "import-path", - "id": "M:src/Storefront/Framework->M:src/Core/(root)", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "c44eee1866566df06f10c02631d7d045e5faa9ad", + "blob_sha": "8472e3fcf4e0361e6d518e6b9520ca8472eeae79", "commits": [], "end_line": 9, - "id": "E1", + "id": "E8", "kind": "lines", - "path": "src/Storefront/Framework/AffiliateTracking/AffiliateTrackingListener.php", + "path": "src/Storefront/Page/Address/Listing/AddressListingPageLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 9 }, { - "blob_sha": "96a5113cc49f34d346fb4d76756aa8859a226586", + "blob_sha": "5e5e5600c5fc10ffd3b7b1c6d93123b50b6c3cc7", "commits": [], - "end_line": 7, - "id": "E2", + "end_line": 5, + "id": "E9", "kind": "lines", - "path": "src/Storefront/Framework/Captcha/BasicCaptcha.php", + "path": "src/Storefront/Page/Checkout/Cart/CheckoutCartPageLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 5 }, { - "blob_sha": "dbde10d7ff7a5de1d76313e983a39b69e53a446d", + "blob_sha": "3f7c3349d502a8ba304dc506e441a3d106329f97", "commits": [], - "end_line": 7, - "id": "E3", + "end_line": 11, + "id": "E10", "kind": "lines", - "path": "src/Storefront/Framework/Captcha/CaptchaRouteListener.php", + "path": "src/Storefront/Page/Checkout/Confirm/CheckoutConfirmPageLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 11 } ], - "src": "M:src/Storefront/Framework" + "src": "M:src/Storefront/Page" }, { - "count": 6, - "dst": "M:src/Core/Checkout", + "count": 358, + "dst": "M:src/Core/Framework", "how": "import-path", - "id": "M:src/Storefront/Framework->M:src/Core/Checkout", + "id": "M:src/Storefront/Page->M:src/Core/Framework", "kind": "uses", "refs": [ { - "blob_sha": "c44eee1866566df06f10c02631d7d045e5faa9ad", + "blob_sha": "65cc534ca1f541f1ad6232ef464a7346a1a8ed1d", "commits": [], "end_line": 5, "id": "E1", "kind": "lines", - "path": "src/Storefront/Framework/AffiliateTracking/AffiliateTrackingListener.php", + "path": "src/Storefront/Page/Account/CustomerGroupRegistration/AbstractCustomerGroupRegistrationPageLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 5 }, { - "blob_sha": "a2322734bdb6f8d8a5cb5ff6b86c380fa0aeac2f", + "blob_sha": "14f404732c8271a6b6a93ffcf60c14e539dc7355", "commits": [], - "end_line": 5, + "end_line": 6, "id": "E2", "kind": "lines", - "path": "src/Storefront/Framework/Routing/StorefrontSubscriber.php", + "path": "src/Storefront/Page/Account/CustomerGroupRegistration/CustomerGroupRegistrationPage.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 6 }, { - "blob_sha": "ee41ed0014ed5e8e60c0a4c899bed215383e68ec", + "blob_sha": "5c7de8fda1757d450c91fec396958a5e840d132d", "commits": [], "end_line": 5, "id": "E3", "kind": "lines", - "path": "src/Storefront/Framework/SystemCheck/Util/SalesChannelDomainContextFactory.php", + "path": "src/Storefront/Page/Account/CustomerGroupRegistration/CustomerGroupRegistrationPageLoadedEvent.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 5 - } - ], - "src": "M:src/Storefront/Framework" - }, - { - "count": 67, - "dst": "M:src/Core/Content", - "how": "import-path", - "id": "M:src/Storefront/Framework->M:src/Core/Content", - "kind": "uses", - "refs": [ - { - "blob_sha": "479bed1d4a4430519db907e717f2a1e290938f2c", - "commits": [], - "end_line": 7, - "id": "E1", - "kind": "lines", - "path": "src/Storefront/Framework/Captcha/CaptchaCookieCollectListener.php", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 }, { - "blob_sha": "479bed1d4a4430519db907e717f2a1e290938f2c", + "blob_sha": "a36dda827c39b1a989813b54c4f93cc954971a3b", "commits": [], - "end_line": 8, - "id": "E2", + "end_line": 5, + "id": "E4", "kind": "lines", - "path": "src/Storefront/Framework/Captcha/CaptchaCookieCollectListener.php", + "path": "src/Storefront/Page/Account/CustomerGroupRegistration/CustomerGroupRegistrationPageLoadedHook.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 8 + "start_line": 5 }, { - "blob_sha": "479bed1d4a4430519db907e717f2a1e290938f2c", + "blob_sha": "a36dda827c39b1a989813b54c4f93cc954971a3b", "commits": [], - "end_line": 9, - "id": "E3", + "end_line": 6, + "id": "E5", "kind": "lines", - "path": "src/Storefront/Framework/Captcha/CaptchaCookieCollectListener.php", + "path": "src/Storefront/Page/Account/CustomerGroupRegistration/CustomerGroupRegistrationPageLoadedHook.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 9 - } - ], - "src": "M:src/Storefront/Framework" - }, - { - "count": 310, - "dst": "M:src/Core/Framework", - "how": "import-path", - "id": "M:src/Storefront/Framework->M:src/Core/Framework", - "kind": "uses", - "refs": [ + "start_line": 6 + }, { - "blob_sha": "c44eee1866566df06f10c02631d7d045e5faa9ad", + "blob_sha": "100c9d2e560fb622bf408217e10f67a9baf2ca50", "commits": [], "end_line": 6, - "id": "E1", + "id": "E6", "kind": "lines", - "path": "src/Storefront/Framework/AffiliateTracking/AffiliateTrackingListener.php", + "path": "src/Storefront/Page/Account/CustomerGroupRegistration/CustomerGroupRegistrationPageLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 6 }, { - "blob_sha": "c44eee1866566df06f10c02631d7d045e5faa9ad", + "blob_sha": "100c9d2e560fb622bf408217e10f67a9baf2ca50", "commits": [], "end_line": 7, - "id": "E2", + "id": "E7", "kind": "lines", - "path": "src/Storefront/Framework/AffiliateTracking/AffiliateTrackingListener.php", + "path": "src/Storefront/Page/Account/CustomerGroupRegistration/CustomerGroupRegistrationPageLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 7 }, { - "blob_sha": "c44eee1866566df06f10c02631d7d045e5faa9ad", + "blob_sha": "66357fce0ccaec09aa15d6200d6f0b9b6686ab7a", "commits": [], - "end_line": 8, - "id": "E3", + "end_line": 5, + "id": "E8", "kind": "lines", - "path": "src/Storefront/Framework/AffiliateTracking/AffiliateTrackingListener.php", + "path": "src/Storefront/Page/Account/Login/AccountGuestLoginPageLoadedHook.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 8 - } - ], - "src": "M:src/Storefront/Framework" - }, - { - "count": 2, - "dst": "M:src/Core/Maintenance", - "how": "import-path", - "id": "M:src/Storefront/Framework->M:src/Core/Maintenance", - "kind": "uses", - "refs": [ + "start_line": 5 + }, { - "blob_sha": "b018ea459c7c66b27ccea951b6811395f1f25b11", + "blob_sha": "66357fce0ccaec09aa15d6200d6f0b9b6686ab7a", "commits": [], - "end_line": 11, - "id": "E1", + "end_line": 6, + "id": "E9", "kind": "lines", - "path": "src/Storefront/Framework/Command/SalesChannelCreateStorefrontCommand.php", + "path": "src/Storefront/Page/Account/Login/AccountGuestLoginPageLoadedHook.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 11 + "start_line": 6 }, { - "blob_sha": "b018ea459c7c66b27ccea951b6811395f1f25b11", + "blob_sha": "27ded024e888f86f1061958d5e6a83db06f35e7c", "commits": [], - "end_line": 12, - "id": "E2", + "end_line": 5, + "id": "E10", "kind": "lines", - "path": "src/Storefront/Framework/Command/SalesChannelCreateStorefrontCommand.php", + "path": "src/Storefront/Page/Account/Login/AccountLoginPage.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 12 + "start_line": 5 } ], - "src": "M:src/Storefront/Framework" + "src": "M:src/Storefront/Page" }, { - "count": 37, - "dst": "M:src/Core/System", + "count": 2, + "dst": "M:src/Core/Profiling", "how": "import-path", - "id": "M:src/Storefront/Framework->M:src/Core/System", + "id": "M:src/Storefront/Page->M:src/Core/Profiling", "kind": "uses", "refs": [ { - "blob_sha": "96a5113cc49f34d346fb4d76756aa8859a226586", + "blob_sha": "f7e53acb01f1bfae5dbf64a8406b10980c32ae08", "commits": [], - "end_line": 8, + "end_line": 20, "id": "E1", "kind": "lines", - "path": "src/Storefront/Framework/Captcha/BasicCaptcha.php", + "path": "src/Storefront/Page/Checkout/Finish/CheckoutFinishPageLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 8 + "start_line": 20 }, { - "blob_sha": "96a5113cc49f34d346fb4d76756aa8859a226586", + "blob_sha": "e67496409a79345a9286ffdc10c4270199012543", "commits": [], - "end_line": 9, + "end_line": 6, "id": "E2", "kind": "lines", - "path": "src/Storefront/Framework/Captcha/BasicCaptcha.php", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 9 - }, - { - "blob_sha": "479bed1d4a4430519db907e717f2a1e290938f2c", - "commits": [], - "end_line": 12, - "id": "E3", - "kind": "lines", - "path": "src/Storefront/Framework/Captcha/CaptchaCookieCollectListener.php", + "path": "src/Storefront/Page/GenericPageLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 12 + "start_line": 6 } ], - "src": "M:src/Storefront/Framework" + "src": "M:src/Storefront/Page" }, { - "count": 5, - "dst": "M:src/Storefront/Controller", + "count": 142, + "dst": "M:src/Core/System", "how": "import-path", - "id": "M:src/Storefront/Framework->M:src/Storefront/Controller", + "id": "M:src/Storefront/Page->M:src/Core/System", "kind": "uses", "refs": [ { - "blob_sha": "dbde10d7ff7a5de1d76313e983a39b69e53a446d", + "blob_sha": "65cc534ca1f541f1ad6232ef464a7346a1a8ed1d", "commits": [], - "end_line": 10, + "end_line": 6, "id": "E1", "kind": "lines", - "path": "src/Storefront/Framework/Captcha/CaptchaRouteListener.php", + "path": "src/Storefront/Page/Account/CustomerGroupRegistration/AbstractCustomerGroupRegistrationPageLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 10 + "start_line": 6 }, { - "blob_sha": "f44fd821fee396c95f2566c0a579314bac8eece9", + "blob_sha": "5c7de8fda1757d450c91fec396958a5e840d132d", "commits": [], - "end_line": 7, + "end_line": 6, "id": "E2", "kind": "lines", - "path": "src/Storefront/Framework/Routing/RobotsRouteScopeWhitelist.php", + "path": "src/Storefront/Page/Account/CustomerGroupRegistration/CustomerGroupRegistrationPageLoadedEvent.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 6 }, { - "blob_sha": "3f83f8f1225333fd5e3c5bec7fbe34f1837f12f0", + "blob_sha": "a36dda827c39b1a989813b54c4f93cc954971a3b", "commits": [], "end_line": 7, "id": "E3", "kind": "lines", - "path": "src/Storefront/Framework/Routing/StorybookRouteScopeAllowList.php", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 - } - ], - "src": "M:src/Storefront/Framework" - }, - { - "count": 3, - "dst": "M:src/Storefront/Event", - "how": "import-path", - "id": "M:src/Storefront/Framework->M:src/Storefront/Event", - "kind": "uses", - "refs": [ - { - "blob_sha": "a996cc22cf85b6714808356969e0aca640a272f7", - "commits": [], - "end_line": 7, - "id": "E1", - "kind": "lines", - "path": "src/Storefront/Framework/Routing/StorefrontRouteEventSubscriber.php", + "path": "src/Storefront/Page/Account/CustomerGroupRegistration/CustomerGroupRegistrationPageLoadedHook.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 7 }, { - "blob_sha": "a2322734bdb6f8d8a5cb5ff6b86c380fa0aeac2f", + "blob_sha": "100c9d2e560fb622bf408217e10f67a9baf2ca50", "commits": [], - "end_line": 12, - "id": "E2", + "end_line": 8, + "id": "E4", "kind": "lines", - "path": "src/Storefront/Framework/Routing/StorefrontSubscriber.php", + "path": "src/Storefront/Page/Account/CustomerGroupRegistration/CustomerGroupRegistrationPageLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 12 + "start_line": 8 }, { - "blob_sha": "4fe245313c39dc928d7c05ce351a996cd1f9c4ea", - "commits": [], - "end_line": 13, - "id": "E3", - "kind": "lines", - "path": "src/Storefront/Framework/Routing/TemplateDataSubscriber.php", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 13 - } - ], - "src": "M:src/Storefront/Framework" - }, - { - "count": 2, - "dst": "M:src/Storefront/Page", - "how": "import-path", - "id": "M:src/Storefront/Framework->M:src/Storefront/Page", - "kind": "uses", - "refs": [ - { - "blob_sha": "4fe245313c39dc928d7c05ce351a996cd1f9c4ea", + "blob_sha": "66357fce0ccaec09aa15d6200d6f0b9b6686ab7a", "commits": [], - "end_line": 15, - "id": "E1", + "end_line": 7, + "id": "E5", "kind": "lines", - "path": "src/Storefront/Framework/Routing/TemplateDataSubscriber.php", + "path": "src/Storefront/Page/Account/Login/AccountGuestLoginPageLoadedHook.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 15 + "start_line": 7 }, { - "blob_sha": "92f028f5703bd3c177e1754a45eb09c8f55001f5", + "blob_sha": "27ded024e888f86f1061958d5e6a83db06f35e7c", "commits": [], - "end_line": 17, - "id": "E2", + "end_line": 6, + "id": "E6", "kind": "lines", - "path": "src/Storefront/Framework/Script/Api/StorefrontHook.php", + "path": "src/Storefront/Page/Account/Login/AccountLoginPage.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 17 - } - ], - "src": "M:src/Storefront/Framework" - }, - { - "count": 7, - "dst": "M:src/Storefront/Theme", - "how": "import-path", - "id": "M:src/Storefront/Framework->M:src/Storefront/Theme", - "kind": "uses", - "refs": [ + "start_line": 6 + }, { - "blob_sha": "6937eceb5c308ea4be539aab83d2c65024692145", + "blob_sha": "27ded024e888f86f1061958d5e6a83db06f35e7c", "commits": [], - "end_line": 10, - "id": "E1", + "end_line": 7, + "id": "E7", "kind": "lines", - "path": "src/Storefront/Framework/App/Template/IconTemplateLoader.php", + "path": "src/Storefront/Page/Account/Login/AccountLoginPage.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 10 + "start_line": 7 }, { - "blob_sha": "ac17a290c38c63da394d26befd7dc706a7b2a3f2", + "blob_sha": "fe6569273d7cddfc248a64a52987ad5acd1f2b69", "commits": [], - "end_line": 9, - "id": "E2", + "end_line": 6, + "id": "E8", "kind": "lines", - "path": "src/Storefront/Framework/Routing/CachedDomainLoaderInvalidator.php", + "path": "src/Storefront/Page/Account/Login/AccountLoginPageLoadedEvent.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 9 + "start_line": 6 }, { - "blob_sha": "4fe245313c39dc928d7c05ce351a996cd1f9c4ea", + "blob_sha": "d07c62a2d31f68ee8531bae59362bed66a2f9a7a", "commits": [], - "end_line": 16, - "id": "E3", + "end_line": 7, + "id": "E9", "kind": "lines", - "path": "src/Storefront/Framework/Routing/TemplateDataSubscriber.php", + "path": "src/Storefront/Page/Account/Login/AccountLoginPageLoadedHook.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 16 + "start_line": 7 + }, + { + "blob_sha": "18de243955e9489b59b60140b1b62019732c316e", + "commits": [], + "end_line": 12, + "id": "E10", + "kind": "lines", + "path": "src/Storefront/Page/Account/Login/AccountLoginPageLoader.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 12 } ], - "src": "M:src/Storefront/Framework" + "src": "M:src/Storefront/Page" }, { - "count": 8, - "dst": "M:src/Core/Framework", + "count": 6, + "dst": "M:src/Storefront/Checkout", "how": "import-path", - "id": "M:src/Storefront/Mcp->M:src/Core/Framework", + "id": "M:src/Storefront/Page->M:src/Storefront/Checkout", "kind": "uses", "refs": [ { - "blob_sha": "a21b4241ff530aafc28c0c9cfc098a20bb290835", + "blob_sha": "9fe95053c0f9830c5ecbd31efe83f3c998ee89f4", "commits": [], - "end_line": 9, + "end_line": 20, "id": "E1", "kind": "lines", - "path": "src/Storefront/Mcp/Tool/ThemeConfigTool.php", + "path": "src/Storefront/Page/Account/Order/AccountOrderPageLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 9 + "start_line": 20 }, { - "blob_sha": "a21b4241ff530aafc28c0c9cfc098a20bb290835", + "blob_sha": "3f68d87b7bd6eecb60a5cbe6ba7f4a742205d5c8", "commits": [], - "end_line": 10, + "end_line": 19, "id": "E2", "kind": "lines", - "path": "src/Storefront/Mcp/Tool/ThemeConfigTool.php", + "path": "src/Storefront/Page/Account/Overview/AccountOverviewPageLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 10 + "start_line": 19 }, { - "blob_sha": "a21b4241ff530aafc28c0c9cfc098a20bb290835", + "blob_sha": "5e5e5600c5fc10ffd3b7b1c6d93123b50b6c3cc7", "commits": [], - "end_line": 11, + "end_line": 15, "id": "E3", "kind": "lines", - "path": "src/Storefront/Mcp/Tool/ThemeConfigTool.php", + "path": "src/Storefront/Page/Checkout/Cart/CheckoutCartPageLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 11 - } - ], - "src": "M:src/Storefront/Mcp" - }, - { - "count": 1, - "dst": "M:src/Storefront/Theme", - "how": "import-path", - "id": "M:src/Storefront/Mcp->M:src/Storefront/Theme", - "kind": "uses", - "refs": [ + "start_line": 15 + }, { - "blob_sha": "a21b4241ff530aafc28c0c9cfc098a20bb290835", + "blob_sha": "3f7c3349d502a8ba304dc506e441a3d106329f97", "commits": [], - "end_line": 17, - "id": "E1", + "end_line": 23, + "id": "E4", "kind": "lines", - "path": "src/Storefront/Mcp/Tool/ThemeConfigTool.php", + "path": "src/Storefront/Page/Checkout/Confirm/CheckoutConfirmPageLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 17 - } - ], - "src": "M:src/Storefront/Mcp" - }, - { - "count": 2, - "dst": "M:src/Core/(root)", - "how": "import-path", - "id": "M:src/Storefront/Migration->M:src/Core/(root)", - "kind": "uses", - "refs": [ + "start_line": 23 + }, { - "blob_sha": "6aec5a80832cfac5ee1b4f538ec6b823a1ca5b12", + "blob_sha": "f7e53acb01f1bfae5dbf64a8406b10980c32ae08", "commits": [], - "end_line": 6, - "id": "E1", + "end_line": 23, + "id": "E5", "kind": "lines", - "path": "src/Storefront/Migration/V6_3/Migration1552899789Theme.php", + "path": "src/Storefront/Page/Checkout/Finish/CheckoutFinishPageLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 23 }, { - "blob_sha": "64ff3b1d37977422bc8f78092605dd257aeb858d", + "blob_sha": "62a61b2831e7b34e31a44a06be557eda83f71a47", "commits": [], - "end_line": 6, - "id": "E2", + "end_line": 13, + "id": "E6", "kind": "lines", - "path": "src/Storefront/Migration/V6_3/Migration1595492054SeoUrlTemplateData.php", + "path": "src/Storefront/Page/Checkout/Offcanvas/OffcanvasCartPageLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 13 } ], - "src": "M:src/Storefront/Migration" + "src": "M:src/Storefront/Page" }, { - "count": 26, - "dst": "M:src/Core/Framework", + "count": 6, + "dst": "M:src/Storefront/Event", "how": "import-path", - "id": "M:src/Storefront/Migration->M:src/Core/Framework", + "id": "M:src/Storefront/Page->M:src/Storefront/Event", "kind": "uses", "refs": [ { - "blob_sha": "6aec5a80832cfac5ee1b4f538ec6b823a1ca5b12", + "blob_sha": "2b43de1e0f890e511e40a008cb6b2e0c48a040f8", "commits": [], - "end_line": 7, + "end_line": 26, "id": "E1", "kind": "lines", - "path": "src/Storefront/Migration/V6_3/Migration1552899789Theme.php", + "path": "src/Storefront/Page/Account/Order/AccountEditOrderPageLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 26 }, { - "blob_sha": "6aec5a80832cfac5ee1b4f538ec6b823a1ca5b12", + "blob_sha": "2b43de1e0f890e511e40a008cb6b2e0c48a040f8", "commits": [], - "end_line": 8, + "end_line": 27, "id": "E2", "kind": "lines", - "path": "src/Storefront/Migration/V6_3/Migration1552899789Theme.php", + "path": "src/Storefront/Page/Account/Order/AccountEditOrderPageLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 8 + "start_line": 27 }, { - "blob_sha": "6aec5a80832cfac5ee1b4f538ec6b823a1ca5b12", + "blob_sha": "db3af6b861e36f08a442b69ae27d98a3860be4b6", "commits": [], - "end_line": 9, + "end_line": 17, "id": "E3", "kind": "lines", - "path": "src/Storefront/Migration/V6_3/Migration1552899789Theme.php", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 9 - } - ], - "src": "M:src/Storefront/Migration" - }, - { - "count": 2, - "dst": "M:src/Storefront/Framework", - "how": "import-path", - "id": "M:src/Storefront/Migration->M:src/Storefront/Framework", - "kind": "uses", - "refs": [ - { - "blob_sha": "64ff3b1d37977422bc8f78092605dd257aeb858d", - "commits": [], - "end_line": 11, - "id": "E1", - "kind": "lines", - "path": "src/Storefront/Migration/V6_3/Migration1595492054SeoUrlTemplateData.php", + "path": "src/Storefront/Page/Account/Order/AccountOrderDetailPageLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 11 + "start_line": 17 }, { - "blob_sha": "64ff3b1d37977422bc8f78092605dd257aeb858d", + "blob_sha": "9fe95053c0f9830c5ecbd31efe83f3c998ee89f4", "commits": [], - "end_line": 12, - "id": "E2", + "end_line": 21, + "id": "E4", "kind": "lines", - "path": "src/Storefront/Migration/V6_3/Migration1595492054SeoUrlTemplateData.php", + "path": "src/Storefront/Page/Account/Order/AccountOrderPageLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 12 - } - ], - "src": "M:src/Storefront/Migration" - }, - { - "count": 2, - "dst": "M:src/Core/(root)", - "how": "import-path", - "id": "M:src/Storefront/Page->M:src/Core/(root)", - "kind": "uses", - "refs": [ + "start_line": 21 + }, { - "blob_sha": "e67496409a79345a9286ffdc10c4270199012543", + "blob_sha": "3f68d87b7bd6eecb60a5cbe6ba7f4a742205d5c8", "commits": [], - "end_line": 7, - "id": "E1", + "end_line": 20, + "id": "E5", "kind": "lines", - "path": "src/Storefront/Page/GenericPageLoader.php", + "path": "src/Storefront/Page/Account/Overview/AccountOverviewPageLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 20 }, { - "blob_sha": "ef69ae65abdcecd819fa7cfd3e3a908fce58a1ca", + "blob_sha": "776c2784f9d002750b27baf38bc5055866bd7bd9", "commits": [], - "end_line": 5, - "id": "E2", + "end_line": 17, + "id": "E6", "kind": "lines", - "path": "src/Storefront/Page/Robots/RobotsPageLoader.php", + "path": "src/Storefront/Page/Account/Profile/AccountProfilePageLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 17 } ], "src": "M:src/Storefront/Page" }, { - "count": 102, - "dst": "M:src/Core/Checkout", + "count": 3, + "dst": "M:src/Storefront/Framework", "how": "import-path", - "id": "M:src/Storefront/Page->M:src/Core/Checkout", + "id": "M:src/Storefront/Page->M:src/Storefront/Framework", "kind": "uses", "refs": [ { - "blob_sha": "14f404732c8271a6b6a93ffcf60c14e539dc7355", + "blob_sha": "b0ab842171bfaa2c2476f2aabd1ed5583a29c321", "commits": [], - "end_line": 5, + "end_line": 13, "id": "E1", "kind": "lines", - "path": "src/Storefront/Page/Account/CustomerGroupRegistration/CustomerGroupRegistrationPage.php", + "path": "src/Storefront/Page/LandingPage/LandingPageLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 13 }, { - "blob_sha": "100c9d2e560fb622bf408217e10f67a9baf2ca50", + "blob_sha": "86e2dbb9b49c632ce685d9153e5badadc667ba78", "commits": [], - "end_line": 5, + "end_line": 17, "id": "E2", "kind": "lines", - "path": "src/Storefront/Page/Account/CustomerGroupRegistration/CustomerGroupRegistrationPageLoader.php", + "path": "src/Storefront/Page/Navigation/NavigationPageLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 17 }, { - "blob_sha": "bf6ca18cc27fdc85a330eae3067a0fbc9eb4eb22", + "blob_sha": "fd3b6fc606577c2e4186d29a4b1d318934bbf864", "commits": [], - "end_line": 5, + "end_line": 30, "id": "E3", "kind": "lines", - "path": "src/Storefront/Page/Account/Order/AccountEditOrderPage.php", + "path": "src/Storefront/Page/Product/ProductPageLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 30 } ], "src": "M:src/Storefront/Page" }, { - "count": 78, - "dst": "M:src/Core/Content", + "count": 2, + "dst": "M:src/Storefront/Pagelet", "how": "import-path", - "id": "M:src/Storefront/Page->M:src/Core/Content", + "id": "M:src/Storefront/Page->M:src/Storefront/Pagelet", "kind": "uses", "refs": [ { - "blob_sha": "18de243955e9489b59b60140b1b62019732c316e", + "blob_sha": "c3ec3ba4482ff896cb27427c53b7acd6a86c97b2", "commits": [], - "end_line": 5, + "end_line": 9, "id": "E1", "kind": "lines", - "path": "src/Storefront/Page/Account/Login/AccountLoginPageLoader.php", - "repo": "shopware/shopware", - "role": "import", - "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 - }, - { - "blob_sha": "2b43de1e0f890e511e40a008cb6b2e0c48a040f8", - "commits": [], - "end_line": 17, - "id": "E2", - "kind": "lines", - "path": "src/Storefront/Page/Account/Order/AccountEditOrderPageLoader.php", + "path": "src/Storefront/Page/Account/Overview/AccountOverviewPage.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 17 + "start_line": 9 }, { - "blob_sha": "db3af6b861e36f08a442b69ae27d98a3860be4b6", + "blob_sha": "3f68d87b7bd6eecb60a5cbe6ba7f4a742205d5c8", "commits": [], - "end_line": 9, - "id": "E3", + "end_line": 23, + "id": "E2", "kind": "lines", - "path": "src/Storefront/Page/Account/Order/AccountOrderDetailPageLoader.php", + "path": "src/Storefront/Page/Account/Overview/AccountOverviewPageLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 9 + "start_line": 23 } ], "src": "M:src/Storefront/Page" }, { - "count": 358, - "dst": "M:src/Core/Framework", + "count": 9, + "dst": "M:src/Core/Checkout", "how": "import-path", - "id": "M:src/Storefront/Page->M:src/Core/Framework", + "id": "M:src/Storefront/Pagelet->M:src/Core/Checkout", "kind": "uses", "refs": [ { - "blob_sha": "65cc534ca1f541f1ad6232ef464a7346a1a8ed1d", + "blob_sha": "2a38ff3c44e917bf159a658046a8303d08ac4a27", "commits": [], "end_line": 5, "id": "E1", "kind": "lines", - "path": "src/Storefront/Page/Account/CustomerGroupRegistration/AbstractCustomerGroupRegistrationPageLoader.php", + "path": "src/Storefront/Pagelet/Footer/FooterPagelet.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 5 }, { - "blob_sha": "14f404732c8271a6b6a93ffcf60c14e539dc7355", + "blob_sha": "2a38ff3c44e917bf159a658046a8303d08ac4a27", "commits": [], "end_line": 6, "id": "E2", "kind": "lines", - "path": "src/Storefront/Page/Account/CustomerGroupRegistration/CustomerGroupRegistrationPage.php", + "path": "src/Storefront/Pagelet/Footer/FooterPagelet.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 6 }, { - "blob_sha": "5c7de8fda1757d450c91fec396958a5e840d132d", + "blob_sha": "a5d0cb219111c7ed1460c5214be9962e504b1eb3", "commits": [], "end_line": 5, "id": "E3", "kind": "lines", - "path": "src/Storefront/Page/Account/CustomerGroupRegistration/CustomerGroupRegistrationPageLoadedEvent.php", + "path": "src/Storefront/Pagelet/Footer/FooterPageletLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 5 - } - ], - "src": "M:src/Storefront/Page" - }, - { - "count": 2, - "dst": "M:src/Core/Profiling", - "how": "import-path", - "id": "M:src/Storefront/Page->M:src/Core/Profiling", - "kind": "uses", - "refs": [ + }, { - "blob_sha": "f7e53acb01f1bfae5dbf64a8406b10980c32ae08", + "blob_sha": "a5d0cb219111c7ed1460c5214be9962e504b1eb3", "commits": [], - "end_line": 20, - "id": "E1", + "end_line": 6, + "id": "E4", "kind": "lines", - "path": "src/Storefront/Page/Checkout/Finish/CheckoutFinishPageLoader.php", + "path": "src/Storefront/Pagelet/Footer/FooterPageletLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 20 + "start_line": 6 }, { - "blob_sha": "e67496409a79345a9286ffdc10c4270199012543", + "blob_sha": "a5d0cb219111c7ed1460c5214be9962e504b1eb3", "commits": [], - "end_line": 6, - "id": "E2", + "end_line": 7, + "id": "E5", "kind": "lines", - "path": "src/Storefront/Page/GenericPageLoader.php", + "path": "src/Storefront/Pagelet/Footer/FooterPageletLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 - } - ], - "src": "M:src/Storefront/Page" - }, - { - "count": 142, - "dst": "M:src/Core/System", - "how": "import-path", - "id": "M:src/Storefront/Page->M:src/Core/System", - "kind": "uses", - "refs": [ + "start_line": 7 + }, { - "blob_sha": "65cc534ca1f541f1ad6232ef464a7346a1a8ed1d", + "blob_sha": "a5d0cb219111c7ed1460c5214be9962e504b1eb3", "commits": [], - "end_line": 6, - "id": "E1", + "end_line": 8, + "id": "E6", "kind": "lines", - "path": "src/Storefront/Page/Account/CustomerGroupRegistration/AbstractCustomerGroupRegistrationPageLoader.php", + "path": "src/Storefront/Pagelet/Footer/FooterPageletLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 8 }, { - "blob_sha": "5c7de8fda1757d450c91fec396958a5e840d132d", + "blob_sha": "ce67a16e2bd9de0268265a1256a7afd5b2385bea", "commits": [], - "end_line": 6, - "id": "E2", + "end_line": 5, + "id": "E7", "kind": "lines", - "path": "src/Storefront/Page/Account/CustomerGroupRegistration/CustomerGroupRegistrationPageLoadedEvent.php", + "path": "src/Storefront/Pagelet/Newsletter/Account/NewsletterAccountPagelet.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 5 }, { - "blob_sha": "a36dda827c39b1a989813b54c4f93cc954971a3b", + "blob_sha": "f3cf4a1c67b8618c1e6e0e346902267dcd80c8bc", "commits": [], - "end_line": 7, - "id": "E3", + "end_line": 5, + "id": "E8", "kind": "lines", - "path": "src/Storefront/Page/Account/CustomerGroupRegistration/CustomerGroupRegistrationPageLoadedHook.php", + "path": "src/Storefront/Pagelet/Newsletter/Account/NewsletterAccountPageletLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 7 + "start_line": 5 + }, + { + "blob_sha": "f3cf4a1c67b8618c1e6e0e346902267dcd80c8bc", + "commits": [], + "end_line": 6, + "id": "E9", + "kind": "lines", + "path": "src/Storefront/Pagelet/Newsletter/Account/NewsletterAccountPageletLoader.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 } ], - "src": "M:src/Storefront/Page" + "src": "M:src/Storefront/Pagelet" }, { - "count": 6, - "dst": "M:src/Storefront/Checkout", + "count": 18, + "dst": "M:src/Core/Content", "how": "import-path", - "id": "M:src/Storefront/Page->M:src/Storefront/Checkout", + "id": "M:src/Storefront/Pagelet->M:src/Core/Content", "kind": "uses", "refs": [ { - "blob_sha": "9fe95053c0f9830c5ecbd31efe83f3c998ee89f4", + "blob_sha": "2a38ff3c44e917bf159a658046a8303d08ac4a27", "commits": [], - "end_line": 20, + "end_line": 7, "id": "E1", "kind": "lines", - "path": "src/Storefront/Page/Account/Order/AccountOrderPageLoader.php", + "path": "src/Storefront/Pagelet/Footer/FooterPagelet.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 20 + "start_line": 7 }, { - "blob_sha": "3f68d87b7bd6eecb60a5cbe6ba7f4a742205d5c8", + "blob_sha": "2a38ff3c44e917bf159a658046a8303d08ac4a27", "commits": [], - "end_line": 19, + "end_line": 8, "id": "E2", "kind": "lines", - "path": "src/Storefront/Page/Account/Overview/AccountOverviewPageLoader.php", + "path": "src/Storefront/Pagelet/Footer/FooterPagelet.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 19 + "start_line": 8 }, { - "blob_sha": "5e5e5600c5fc10ffd3b7b1c6d93123b50b6c3cc7", + "blob_sha": "a5d0cb219111c7ed1460c5214be9962e504b1eb3", "commits": [], - "end_line": 15, + "end_line": 9, "id": "E3", "kind": "lines", - "path": "src/Storefront/Page/Checkout/Cart/CheckoutCartPageLoader.php", + "path": "src/Storefront/Pagelet/Footer/FooterPageletLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 15 - } - ], - "src": "M:src/Storefront/Page" - }, - { - "count": 6, - "dst": "M:src/Storefront/Event", - "how": "import-path", - "id": "M:src/Storefront/Page->M:src/Storefront/Event", - "kind": "uses", - "refs": [ + "start_line": 9 + }, { - "blob_sha": "2b43de1e0f890e511e40a008cb6b2e0c48a040f8", + "blob_sha": "a5d0cb219111c7ed1460c5214be9962e504b1eb3", "commits": [], - "end_line": 26, - "id": "E1", + "end_line": 10, + "id": "E4", "kind": "lines", - "path": "src/Storefront/Page/Account/Order/AccountEditOrderPageLoader.php", + "path": "src/Storefront/Pagelet/Footer/FooterPageletLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 26 + "start_line": 10 }, { - "blob_sha": "2b43de1e0f890e511e40a008cb6b2e0c48a040f8", + "blob_sha": "a5d0cb219111c7ed1460c5214be9962e504b1eb3", "commits": [], - "end_line": 27, - "id": "E2", + "end_line": 11, + "id": "E5", "kind": "lines", - "path": "src/Storefront/Page/Account/Order/AccountEditOrderPageLoader.php", + "path": "src/Storefront/Pagelet/Footer/FooterPageletLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 27 + "start_line": 11 }, { - "blob_sha": "db3af6b861e36f08a442b69ae27d98a3860be4b6", + "blob_sha": "1d402e0c4ed47bb3d270061d407d7c43ddf96d15", "commits": [], - "end_line": 17, - "id": "E3", + "end_line": 5, + "id": "E6", "kind": "lines", - "path": "src/Storefront/Page/Account/Order/AccountOrderDetailPageLoader.php", + "path": "src/Storefront/Pagelet/Header/HeaderPagelet.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 17 - } - ], - "src": "M:src/Storefront/Page" - }, - { - "count": 3, - "dst": "M:src/Storefront/Framework", - "how": "import-path", - "id": "M:src/Storefront/Page->M:src/Storefront/Framework", - "kind": "uses", - "refs": [ + "start_line": 5 + }, { - "blob_sha": "b0ab842171bfaa2c2476f2aabd1ed5583a29c321", + "blob_sha": "5990d26f6331dfbeeb528be3b99ddf2f969829b5", "commits": [], - "end_line": 13, - "id": "E1", + "end_line": 5, + "id": "E7", "kind": "lines", - "path": "src/Storefront/Page/LandingPage/LandingPageLoader.php", + "path": "src/Storefront/Pagelet/Header/HeaderPageletLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 13 + "start_line": 5 }, { - "blob_sha": "86e2dbb9b49c632ce685d9153e5badadc667ba78", + "blob_sha": "52889d59dd625981af531fca14361514d6e310f5", "commits": [], - "end_line": 17, - "id": "E2", + "end_line": 5, + "id": "E8", "kind": "lines", - "path": "src/Storefront/Page/Navigation/NavigationPageLoader.php", + "path": "src/Storefront/Pagelet/Menu/Offcanvas/MenuOffcanvasPageletLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 17 + "start_line": 5 }, { - "blob_sha": "fd3b6fc606577c2e4186d29a4b1d318934bbf864", + "blob_sha": "52889d59dd625981af531fca14361514d6e310f5", "commits": [], - "end_line": 30, - "id": "E3", + "end_line": 6, + "id": "E9", "kind": "lines", - "path": "src/Storefront/Page/Product/ProductPageLoader.php", + "path": "src/Storefront/Pagelet/Menu/Offcanvas/MenuOffcanvasPageletLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 30 + "start_line": 6 + }, + { + "blob_sha": "d707c9c4836e51a2812d8a933a7e7014340d0b64", + "commits": [], + "end_line": 5, + "id": "E10", + "kind": "lines", + "path": "src/Storefront/Pagelet/NavigationPagelet.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 } ], - "src": "M:src/Storefront/Page" + "src": "M:src/Storefront/Pagelet" }, { - "count": 2, - "dst": "M:src/Storefront/Pagelet", + "count": 70, + "dst": "M:src/Core/Framework", "how": "import-path", - "id": "M:src/Storefront/Page->M:src/Storefront/Pagelet", + "id": "M:src/Storefront/Pagelet->M:src/Core/Framework", "kind": "uses", "refs": [ { - "blob_sha": "c3ec3ba4482ff896cb27427c53b7acd6a86c97b2", + "blob_sha": "4ce563065193feae96d22ebe02dd8b1662f264c7", "commits": [], - "end_line": 9, + "end_line": 5, "id": "E1", "kind": "lines", - "path": "src/Storefront/Page/Account/Overview/AccountOverviewPage.php", + "path": "src/Storefront/Pagelet/Captcha/AbstractBasicCaptchaPageletLoader.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "9be8cc4dda3664dfa32463469d5d4c3e7d23b440", + "commits": [], + "end_line": 5, + "id": "E2", + "kind": "lines", + "path": "src/Storefront/Pagelet/Captcha/BasicCaptchaPagelet.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "e626f728bb7cd0a0025ce964af755addb3cb0a7b", + "commits": [], + "end_line": 5, + "id": "E3", + "kind": "lines", + "path": "src/Storefront/Pagelet/Captcha/BasicCaptchaPageletLoadedEvent.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 9 + "start_line": 5 }, { - "blob_sha": "3f68d87b7bd6eecb60a5cbe6ba7f4a742205d5c8", + "blob_sha": "ac00680426234f75664a0d363fbe46ed43cd7d67", "commits": [], - "end_line": 23, - "id": "E2", + "end_line": 5, + "id": "E4", "kind": "lines", - "path": "src/Storefront/Page/Account/Overview/AccountOverviewPageLoader.php", + "path": "src/Storefront/Pagelet/Captcha/BasicCaptchaPageletLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 23 - } - ], - "src": "M:src/Storefront/Page" - }, - { - "count": 9, - "dst": "M:src/Core/Checkout", - "how": "import-path", - "id": "M:src/Storefront/Pagelet->M:src/Core/Checkout", - "kind": "uses", - "refs": [ + "start_line": 5 + }, { - "blob_sha": "2a38ff3c44e917bf159a658046a8303d08ac4a27", + "blob_sha": "d95e6d68673dccc95e40a29dafbb63815bc8ef04", "commits": [], "end_line": 5, - "id": "E1", + "id": "E5", "kind": "lines", - "path": "src/Storefront/Pagelet/Footer/FooterPagelet.php", + "path": "src/Storefront/Pagelet/Country/CountryStateDataPagelet.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 5 }, { - "blob_sha": "2a38ff3c44e917bf159a658046a8303d08ac4a27", + "blob_sha": "5fbe8fd98e89e77aa71549da5b6739e62d8a795d", "commits": [], - "end_line": 6, - "id": "E2", + "end_line": 5, + "id": "E6", "kind": "lines", - "path": "src/Storefront/Pagelet/Footer/FooterPagelet.php", + "path": "src/Storefront/Pagelet/Country/CountryStateDataPageletCriteriaEvent.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 6 + "start_line": 5 }, { - "blob_sha": "a5d0cb219111c7ed1460c5214be9962e504b1eb3", + "blob_sha": "5fbe8fd98e89e77aa71549da5b6739e62d8a795d", "commits": [], - "end_line": 5, - "id": "E3", + "end_line": 6, + "id": "E7", "kind": "lines", - "path": "src/Storefront/Pagelet/Footer/FooterPageletLoader.php", + "path": "src/Storefront/Pagelet/Country/CountryStateDataPageletCriteriaEvent.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 - } - ], - "src": "M:src/Storefront/Pagelet" - }, - { - "count": 18, - "dst": "M:src/Core/Content", - "how": "import-path", - "id": "M:src/Storefront/Pagelet->M:src/Core/Content", - "kind": "uses", - "refs": [ + "start_line": 6 + }, { - "blob_sha": "2a38ff3c44e917bf159a658046a8303d08ac4a27", + "blob_sha": "5fbe8fd98e89e77aa71549da5b6739e62d8a795d", "commits": [], "end_line": 7, - "id": "E1", + "id": "E8", "kind": "lines", - "path": "src/Storefront/Pagelet/Footer/FooterPagelet.php", + "path": "src/Storefront/Pagelet/Country/CountryStateDataPageletCriteriaEvent.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 7 }, { - "blob_sha": "2a38ff3c44e917bf159a658046a8303d08ac4a27", + "blob_sha": "5fbe8fd98e89e77aa71549da5b6739e62d8a795d", "commits": [], "end_line": 8, - "id": "E2", + "id": "E9", "kind": "lines", - "path": "src/Storefront/Pagelet/Footer/FooterPagelet.php", + "path": "src/Storefront/Pagelet/Country/CountryStateDataPageletCriteriaEvent.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 8 }, { - "blob_sha": "a5d0cb219111c7ed1460c5214be9962e504b1eb3", + "blob_sha": "5fbe8fd98e89e77aa71549da5b6739e62d8a795d", "commits": [], "end_line": 9, - "id": "E3", + "id": "E10", "kind": "lines", - "path": "src/Storefront/Pagelet/Footer/FooterPageletLoader.php", + "path": "src/Storefront/Pagelet/Country/CountryStateDataPageletCriteriaEvent.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", @@ -12906,89 +22288,127 @@ "src": "M:src/Storefront/Pagelet" }, { - "count": 70, - "dst": "M:src/Core/Framework", + "count": 39, + "dst": "M:src/Core/System", "how": "import-path", - "id": "M:src/Storefront/Pagelet->M:src/Core/Framework", + "id": "M:src/Storefront/Pagelet->M:src/Core/System", "kind": "uses", "refs": [ { "blob_sha": "4ce563065193feae96d22ebe02dd8b1662f264c7", "commits": [], - "end_line": 5, + "end_line": 6, "id": "E1", "kind": "lines", "path": "src/Storefront/Pagelet/Captcha/AbstractBasicCaptchaPageletLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 6 }, { - "blob_sha": "9be8cc4dda3664dfa32463469d5d4c3e7d23b440", + "blob_sha": "e626f728bb7cd0a0025ce964af755addb3cb0a7b", "commits": [], - "end_line": 5, + "end_line": 6, "id": "E2", "kind": "lines", - "path": "src/Storefront/Pagelet/Captcha/BasicCaptchaPagelet.php", + "path": "src/Storefront/Pagelet/Captcha/BasicCaptchaPageletLoadedEvent.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 + "start_line": 6 }, { - "blob_sha": "e626f728bb7cd0a0025ce964af755addb3cb0a7b", + "blob_sha": "ac00680426234f75664a0d363fbe46ed43cd7d67", "commits": [], - "end_line": 5, + "end_line": 6, "id": "E3", "kind": "lines", - "path": "src/Storefront/Pagelet/Captcha/BasicCaptchaPageletLoadedEvent.php", + "path": "src/Storefront/Pagelet/Captcha/BasicCaptchaPageletLoader.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", - "start_line": 5 - } - ], - "src": "M:src/Storefront/Pagelet" - }, - { - "count": 39, - "dst": "M:src/Core/System", - "how": "import-path", - "id": "M:src/Storefront/Pagelet->M:src/Core/System", - "kind": "uses", - "refs": [ + "start_line": 6 + }, { - "blob_sha": "4ce563065193feae96d22ebe02dd8b1662f264c7", + "blob_sha": "d95e6d68673dccc95e40a29dafbb63815bc8ef04", "commits": [], "end_line": 6, - "id": "E1", + "id": "E4", "kind": "lines", - "path": "src/Storefront/Pagelet/Captcha/AbstractBasicCaptchaPageletLoader.php", + "path": "src/Storefront/Pagelet/Country/CountryStateDataPagelet.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 6 }, { - "blob_sha": "e626f728bb7cd0a0025ce964af755addb3cb0a7b", + "blob_sha": "5fbe8fd98e89e77aa71549da5b6739e62d8a795d", + "commits": [], + "end_line": 10, + "id": "E5", + "kind": "lines", + "path": "src/Storefront/Pagelet/Country/CountryStateDataPageletCriteriaEvent.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 10 + }, + { + "blob_sha": "694eabf1029c7bfb5cd6711964a37dece4ea56c9", "commits": [], "end_line": 6, - "id": "E2", + "id": "E6", "kind": "lines", - "path": "src/Storefront/Pagelet/Captcha/BasicCaptchaPageletLoadedEvent.php", + "path": "src/Storefront/Pagelet/Country/CountryStateDataPageletLoadedEvent.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 6 }, { - "blob_sha": "ac00680426234f75664a0d363fbe46ed43cd7d67", + "blob_sha": "fbb469574bc4533acb30af7423803ba4d7b0311e", + "commits": [], + "end_line": 7, + "id": "E7", + "kind": "lines", + "path": "src/Storefront/Pagelet/Country/CountryStateDataPageletLoadedHook.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "0a5de5be53458bc60cbe48a5931c3897526a9879", + "commits": [], + "end_line": 7, + "id": "E8", + "kind": "lines", + "path": "src/Storefront/Pagelet/Country/CountryStateDataPageletLoader.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "0a5de5be53458bc60cbe48a5931c3897526a9879", + "commits": [], + "end_line": 8, + "id": "E9", + "kind": "lines", + "path": "src/Storefront/Pagelet/Country/CountryStateDataPageletLoader.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "892a16dc5c62880f52f46847dbb04e38fd156321", "commits": [], "end_line": 6, - "id": "E3", + "id": "E10", "kind": "lines", - "path": "src/Storefront/Pagelet/Captcha/BasicCaptchaPageletLoader.php", + "path": "src/Storefront/Pagelet/Footer/FooterPageletLoadedEvent.php", "repo": "shopware/shopware", "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", @@ -13039,6 +22459,30 @@ "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 18 + }, + { + "blob_sha": "5990d26f6331dfbeeb528be3b99ddf2f969829b5", + "commits": [], + "end_line": 19, + "id": "E4", + "kind": "lines", + "path": "src/Storefront/Pagelet/Header/HeaderPageletLoader.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 19 + }, + { + "blob_sha": "f3cf4a1c67b8618c1e6e0e346902267dcd80c8bc", + "commits": [], + "end_line": 17, + "id": "E5", + "kind": "lines", + "path": "src/Storefront/Pagelet/Newsletter/Account/NewsletterAccountPageletLoader.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 17 } ], "src": "M:src/Storefront/Pagelet" @@ -13131,6 +22575,30 @@ "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 8 + }, + { + "blob_sha": "9db9df338ceeb01f13fcb332101d18d4b92d9aaa", + "commits": [], + "end_line": 8, + "id": "E4", + "kind": "lines", + "path": "src/Storefront/Pagelet/Menu/Offcanvas/MenuOffcanvasPageletLoadedHook.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "c96c078c91934e293859b8ba9d1ef1712b454fc1", + "commits": [], + "end_line": 8, + "id": "E5", + "kind": "lines", + "path": "src/Storefront/Pagelet/Wishlist/GuestWishlistPageletLoadedHook.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 } ], "src": "M:src/Storefront/Pagelet" @@ -13243,6 +22711,18 @@ "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 7 + }, + { + "blob_sha": "09459855bb7469756d57296d3de8a2c1a538cab0", + "commits": [], + "end_line": 8, + "id": "E4", + "kind": "lines", + "path": "src/Storefront/Storybook/StorybookService.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 } ], "src": "M:src/Storefront/Storybook" @@ -13289,6 +22769,42 @@ "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 12 + }, + { + "blob_sha": "09459855bb7469756d57296d3de8a2c1a538cab0", + "commits": [], + "end_line": 13, + "id": "E4", + "kind": "lines", + "path": "src/Storefront/Storybook/StorybookService.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 13 + }, + { + "blob_sha": "09459855bb7469756d57296d3de8a2c1a538cab0", + "commits": [], + "end_line": 14, + "id": "E5", + "kind": "lines", + "path": "src/Storefront/Storybook/StorybookService.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 14 + }, + { + "blob_sha": "09459855bb7469756d57296d3de8a2c1a538cab0", + "commits": [], + "end_line": 15, + "id": "E6", + "kind": "lines", + "path": "src/Storefront/Storybook/StorybookService.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 15 } ], "src": "M:src/Storefront/Storybook" @@ -13335,6 +22851,30 @@ "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 18 + }, + { + "blob_sha": "09459855bb7469756d57296d3de8a2c1a538cab0", + "commits": [], + "end_line": 19, + "id": "E4", + "kind": "lines", + "path": "src/Storefront/Storybook/StorybookService.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 19 + }, + { + "blob_sha": "09459855bb7469756d57296d3de8a2c1a538cab0", + "commits": [], + "end_line": 20, + "id": "E5", + "kind": "lines", + "path": "src/Storefront/Storybook/StorybookService.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 20 } ], "src": "M:src/Storefront/Storybook" @@ -13529,6 +23069,90 @@ "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 5 + }, + { + "blob_sha": "2f69ebdfa03ce6da964991f8ceba920f3574a117", + "commits": [], + "end_line": 7, + "id": "E4", + "kind": "lines", + "path": "src/Storefront/Theme/ConfigLoader/DatabaseAvailableThemeProvider.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "ff5fce04013247c72facdc725bdaf51da4f21f42", + "commits": [], + "end_line": 11, + "id": "E5", + "kind": "lines", + "path": "src/Storefront/Theme/Controller/ThemeController.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 11 + }, + { + "blob_sha": "c76414f670374bcb89333dcbecccfcfdf726d39b", + "commits": [], + "end_line": 5, + "id": "E6", + "kind": "lines", + "path": "src/Storefront/Theme/Subscriber/FirstRunWizardSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "ecde9703c821daa8d76a784ef4219f321400a7b1", + "commits": [], + "end_line": 7, + "id": "E7", + "kind": "lines", + "path": "src/Storefront/Theme/ThemeAssetPackage.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "ecde9703c821daa8d76a784ef4219f321400a7b1", + "commits": [], + "end_line": 8, + "id": "E8", + "kind": "lines", + "path": "src/Storefront/Theme/ThemeAssetPackage.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "d687b5aad38f7ec2ba284903978342528f8117f5", + "commits": [], + "end_line": 9, + "id": "E9", + "kind": "lines", + "path": "src/Storefront/Theme/ThemeFilesystemResolver.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "02304c9d4e6afa2404f41cfa93e2e1b9c3347f2f", + "commits": [], + "end_line": 7, + "id": "E10", + "kind": "lines", + "path": "src/Storefront/Theme/ThemeLifecycleHandler.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 } ], "src": "M:src/Storefront/Theme" @@ -13597,6 +23221,90 @@ "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 5 + }, + { + "blob_sha": "e9340514cdb7dcb537b51896513bf1d155d957ee", + "commits": [], + "end_line": 5, + "id": "E4", + "kind": "lines", + "path": "src/Storefront/Theme/Mail/MailThemeConfigSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "fbb60993de53ea2c0bfc068a3dc1d8305843a6cd", + "commits": [], + "end_line": 5, + "id": "E5", + "kind": "lines", + "path": "src/Storefront/Theme/ResolvedConfigLoader.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "f62930fc698231b7bde5eac79746a39aa01a0df2", + "commits": [], + "end_line": 5, + "id": "E6", + "kind": "lines", + "path": "src/Storefront/Theme/Subscriber/UnusedMediaSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "8ddce460f6ce44f038e6093bd284e8d4ef095d56", + "commits": [], + "end_line": 5, + "id": "E7", + "kind": "lines", + "path": "src/Storefront/Theme/ThemeDefinition.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "07c6b4259830b61719af0abe448a3d1bd3ae3133", + "commits": [], + "end_line": 5, + "id": "E8", + "kind": "lines", + "path": "src/Storefront/Theme/ThemeEntity.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "07c6b4259830b61719af0abe448a3d1bd3ae3133", + "commits": [], + "end_line": 6, + "id": "E9", + "kind": "lines", + "path": "src/Storefront/Theme/ThemeEntity.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "edd1f85ccc6767df939b82ec2a9f914b1fb7e197", + "commits": [], + "end_line": 7, + "id": "E10", + "kind": "lines", + "path": "src/Storefront/Theme/ThemeLifecycleService.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 } ], "src": "M:src/Storefront/Theme" @@ -13665,6 +23373,90 @@ "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 5 + }, + { + "blob_sha": "f91f96767c0bda484c6882d9e792efa122745fe7", + "commits": [], + "end_line": 5, + "id": "E4", + "kind": "lines", + "path": "src/Storefront/Theme/AbstractThemePathBuilder.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "a8d8bfb4b31342373a60bb8105806e09fedeb1c4", + "commits": [], + "end_line": 5, + "id": "E5", + "kind": "lines", + "path": "src/Storefront/Theme/Aggregate/ThemeChildDefinition.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 5 + }, + { + "blob_sha": "a8d8bfb4b31342373a60bb8105806e09fedeb1c4", + "commits": [], + "end_line": 6, + "id": "E6", + "kind": "lines", + "path": "src/Storefront/Theme/Aggregate/ThemeChildDefinition.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 6 + }, + { + "blob_sha": "a8d8bfb4b31342373a60bb8105806e09fedeb1c4", + "commits": [], + "end_line": 7, + "id": "E7", + "kind": "lines", + "path": "src/Storefront/Theme/Aggregate/ThemeChildDefinition.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 7 + }, + { + "blob_sha": "a8d8bfb4b31342373a60bb8105806e09fedeb1c4", + "commits": [], + "end_line": 8, + "id": "E8", + "kind": "lines", + "path": "src/Storefront/Theme/Aggregate/ThemeChildDefinition.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "a8d8bfb4b31342373a60bb8105806e09fedeb1c4", + "commits": [], + "end_line": 9, + "id": "E9", + "kind": "lines", + "path": "src/Storefront/Theme/Aggregate/ThemeChildDefinition.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "a8d8bfb4b31342373a60bb8105806e09fedeb1c4", + "commits": [], + "end_line": 10, + "id": "E10", + "kind": "lines", + "path": "src/Storefront/Theme/Aggregate/ThemeChildDefinition.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 10 } ], "src": "M:src/Storefront/Theme" @@ -13711,6 +23503,90 @@ "role": "import", "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", "start_line": 7 + }, + { + "blob_sha": "3cde60a42a44da9342a77c1400e2829375180fae", + "commits": [], + "end_line": 12, + "id": "E4", + "kind": "lines", + "path": "src/Storefront/Theme/Command/ThemeChangeCommand.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 12 + }, + { + "blob_sha": "2f73b382ffbfd8b2c46aff7c986582b29709d630", + "commits": [], + "end_line": 11, + "id": "E5", + "kind": "lines", + "path": "src/Storefront/Theme/Command/ThemeDumpCommand.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 11 + }, + { + "blob_sha": "84cc4d6177c51c9437a4250ff7e4c0cbdefef9ad", + "commits": [], + "end_line": 10, + "id": "E6", + "kind": "lines", + "path": "src/Storefront/Theme/Extension/LanguageExtension.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 10 + }, + { + "blob_sha": "fb682eb30d5bc2cd1b967ddbee53abcc5115be5f", + "commits": [], + "end_line": 9, + "id": "E7", + "kind": "lines", + "path": "src/Storefront/Theme/Extension/SalesChannelExtension.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "e9340514cdb7dcb537b51896513bf1d155d957ee", + "commits": [], + "end_line": 8, + "id": "E8", + "kind": "lines", + "path": "src/Storefront/Theme/Mail/MailThemeConfigSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 8 + }, + { + "blob_sha": "e9340514cdb7dcb537b51896513bf1d155d957ee", + "commits": [], + "end_line": 9, + "id": "E9", + "kind": "lines", + "path": "src/Storefront/Theme/Mail/MailThemeConfigSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 9 + }, + { + "blob_sha": "e9340514cdb7dcb537b51896513bf1d155d957ee", + "commits": [], + "end_line": 10, + "id": "E10", + "kind": "lines", + "path": "src/Storefront/Theme/Mail/MailThemeConfigSubscriber.php", + "repo": "shopware/shopware", + "role": "import", + "snapshot_sha": "ec8b7141762457f03741e59f85cb1eeb852b062d", + "start_line": 10 } ], "src": "M:src/Storefront/Theme"